@kenlify/cesium 1.128.5 → 1.128.6

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 (103) hide show
  1. package/Build/Cesium/Cesium.js +20 -20
  2. package/Build/Cesium/Workers/{chunk-MYFMNJEB.js → chunk-2IDWVZAN.js} +2 -2
  3. package/Build/Cesium/Workers/{chunk-IPOEIFIG.js → chunk-2ISRDE64.js} +2 -2
  4. package/Build/Cesium/Workers/{chunk-45OBI3PN.js → chunk-3JEBZM2S.js} +2 -2
  5. package/Build/Cesium/Workers/{chunk-42CGEOZL.js → chunk-3KZ3Z3KD.js} +2 -2
  6. package/Build/Cesium/Workers/{chunk-3WLNGEE7.js → chunk-4DNCARGH.js} +1 -1
  7. package/Build/Cesium/Workers/{chunk-ZSVDNXKX.js → chunk-7O467KUQ.js} +2 -2
  8. package/Build/Cesium/Workers/{chunk-D6GEUIP6.js → chunk-7SO3RTQQ.js} +1 -1
  9. package/Build/Cesium/Workers/{chunk-MOSOVMLI.js → chunk-A7MQEE5F.js} +2 -2
  10. package/Build/Cesium/Workers/{chunk-I6LVW5JW.js → chunk-ABCKYWIG.js} +2 -2
  11. package/Build/Cesium/Workers/{chunk-JF6HWKLK.js → chunk-B234VQLM.js} +2 -2
  12. package/Build/Cesium/Workers/{chunk-2U6QFKRT.js → chunk-BE4T3LLT.js} +2 -2
  13. package/Build/Cesium/Workers/{chunk-W4AAIC6A.js → chunk-BEQCMQVP.js} +2 -2
  14. package/Build/Cesium/Workers/{chunk-FU6KG3EX.js → chunk-CGG2M4SI.js} +2 -2
  15. package/Build/Cesium/Workers/{chunk-FOTSCCEM.js → chunk-CXBGOSKD.js} +1 -1
  16. package/Build/Cesium/Workers/{chunk-VFV7Z2MK.js → chunk-D4TBWGYA.js} +2 -2
  17. package/Build/Cesium/Workers/{chunk-E2H7AWL7.js → chunk-DZYCAJ4F.js} +2 -2
  18. package/Build/Cesium/Workers/{chunk-ZKXEMLR6.js → chunk-EDRMRHSX.js} +2 -2
  19. package/Build/Cesium/Workers/{chunk-PVNSZRYB.js → chunk-EFLICM5U.js} +2 -2
  20. package/Build/Cesium/Workers/{chunk-MRPAWVPU.js → chunk-EPG24VSA.js} +2 -2
  21. package/Build/Cesium/Workers/{chunk-KZYLIZIS.js → chunk-EZQLVEV3.js} +2 -2
  22. package/Build/Cesium/Workers/{chunk-FEERQQYP.js → chunk-FPVYKTY4.js} +2 -2
  23. package/Build/Cesium/Workers/{chunk-VGNKZM7C.js → chunk-GSBFL2EJ.js} +2 -2
  24. package/Build/Cesium/Workers/{chunk-LV5DHJ4J.js → chunk-H7SZPZ5A.js} +2 -2
  25. package/Build/Cesium/Workers/{chunk-DWWTIWEC.js → chunk-HSR4BO2K.js} +2 -2
  26. package/Build/Cesium/Workers/{chunk-UW24VV77.js → chunk-J4JNHGC6.js} +2 -2
  27. package/Build/Cesium/Workers/{chunk-P2RZ3O44.js → chunk-KBDE7PSV.js} +2 -2
  28. package/Build/Cesium/Workers/{chunk-V2RTK3FP.js → chunk-LD2F5BI6.js} +2 -2
  29. package/Build/Cesium/Workers/{chunk-YLDM5GHA.js → chunk-LVR5EXY4.js} +1 -1
  30. package/Build/Cesium/Workers/{chunk-73G3KEAU.js → chunk-LYUAUOR5.js} +2 -2
  31. package/Build/Cesium/Workers/{chunk-3LJLGSMW.js → chunk-M6ITKSGW.js} +2 -2
  32. package/Build/Cesium/Workers/{chunk-N2AQ4UTL.js → chunk-MMPFL62L.js} +2 -2
  33. package/Build/Cesium/Workers/{chunk-V6E2RAXU.js → chunk-MO3LCCNM.js} +2 -2
  34. package/Build/Cesium/Workers/{chunk-N3J2QZNF.js → chunk-MUYHLIGS.js} +2 -2
  35. package/Build/Cesium/Workers/{chunk-5MCJUDK2.js → chunk-N72QKPJ4.js} +2 -2
  36. package/Build/Cesium/Workers/{chunk-3IP3CMKU.js → chunk-PPIIFYNP.js} +2 -2
  37. package/Build/Cesium/Workers/{chunk-NST63356.js → chunk-Q6R5ZI6D.js} +2 -2
  38. package/Build/Cesium/Workers/{chunk-D6XFEZS5.js → chunk-QCTJLZKL.js} +2 -2
  39. package/Build/Cesium/Workers/{chunk-73DHQJLW.js → chunk-R6RGLEMX.js} +2 -2
  40. package/Build/Cesium/Workers/{chunk-6OEROQN5.js → chunk-SPXON7EH.js} +2 -2
  41. package/Build/Cesium/Workers/{chunk-WJ32L7VO.js → chunk-SSIGH5RN.js} +2 -2
  42. package/Build/Cesium/Workers/{chunk-L2HXY2D3.js → chunk-T5NJ4W2P.js} +2 -2
  43. package/Build/Cesium/Workers/{chunk-EBX6EJ3K.js → chunk-TTCJRFON.js} +2 -2
  44. package/Build/Cesium/Workers/{chunk-JCVAFE6R.js → chunk-UYCYMDYX.js} +2 -2
  45. package/Build/Cesium/Workers/{chunk-S4RKTHER.js → chunk-V3VHQKS2.js} +2 -2
  46. package/Build/Cesium/Workers/{chunk-RLW2XUII.js → chunk-W2PIMWKB.js} +2 -2
  47. package/Build/Cesium/Workers/{chunk-PT4W47DX.js → chunk-WIQ7NTEU.js} +2 -2
  48. package/Build/Cesium/Workers/{chunk-AVRTVIVX.js → chunk-WYNBVN2O.js} +2 -2
  49. package/Build/Cesium/Workers/{chunk-JEEWYDKL.js → chunk-XHPH6YXL.js} +2 -2
  50. package/Build/Cesium/Workers/{chunk-GXUPLWQQ.js → chunk-XKFDK3CO.js} +2 -2
  51. package/Build/Cesium/Workers/{chunk-7WEXLSHQ.js → chunk-Y7AQOPU6.js} +2 -2
  52. package/Build/Cesium/Workers/{chunk-T2H3DQ5R.js → chunk-YRG43VY5.js} +2 -2
  53. package/Build/Cesium/Workers/combineGeometry.js +2 -2
  54. package/Build/Cesium/Workers/createBoxGeometry.js +2 -2
  55. package/Build/Cesium/Workers/createBoxOutlineGeometry.js +2 -2
  56. package/Build/Cesium/Workers/createCircleGeometry.js +2 -2
  57. package/Build/Cesium/Workers/createCircleOutlineGeometry.js +2 -2
  58. package/Build/Cesium/Workers/createCoplanarPolygonGeometry.js +2 -2
  59. package/Build/Cesium/Workers/createCoplanarPolygonOutlineGeometry.js +2 -2
  60. package/Build/Cesium/Workers/createCorridorGeometry.js +2 -2
  61. package/Build/Cesium/Workers/createCorridorOutlineGeometry.js +2 -2
  62. package/Build/Cesium/Workers/createCylinderGeometry.js +2 -2
  63. package/Build/Cesium/Workers/createCylinderOutlineGeometry.js +2 -2
  64. package/Build/Cesium/Workers/createEllipseGeometry.js +2 -2
  65. package/Build/Cesium/Workers/createEllipseOutlineGeometry.js +2 -2
  66. package/Build/Cesium/Workers/createEllipsoidGeometry.js +2 -2
  67. package/Build/Cesium/Workers/createEllipsoidOutlineGeometry.js +2 -2
  68. package/Build/Cesium/Workers/createFrustumGeometry.js +2 -2
  69. package/Build/Cesium/Workers/createFrustumOutlineGeometry.js +2 -2
  70. package/Build/Cesium/Workers/createGeometry.js +2 -2
  71. package/Build/Cesium/Workers/createGroundPolylineGeometry.js +2 -2
  72. package/Build/Cesium/Workers/createPlaneGeometry.js +2 -2
  73. package/Build/Cesium/Workers/createPlaneOutlineGeometry.js +2 -2
  74. package/Build/Cesium/Workers/createPolygonGeometry.js +2 -2
  75. package/Build/Cesium/Workers/createPolygonOutlineGeometry.js +2 -2
  76. package/Build/Cesium/Workers/createPolylineGeometry.js +2 -2
  77. package/Build/Cesium/Workers/createPolylineVolumeGeometry.js +2 -2
  78. package/Build/Cesium/Workers/createPolylineVolumeOutlineGeometry.js +2 -2
  79. package/Build/Cesium/Workers/createRectangleGeometry.js +2 -2
  80. package/Build/Cesium/Workers/createRectangleOutlineGeometry.js +2 -2
  81. package/Build/Cesium/Workers/createSimplePolylineGeometry.js +2 -2
  82. package/Build/Cesium/Workers/createSphereGeometry.js +2 -2
  83. package/Build/Cesium/Workers/createSphereOutlineGeometry.js +2 -2
  84. package/Build/Cesium/Workers/createTaskProcessorWorker.js +2 -2
  85. package/Build/Cesium/Workers/createVectorTileClampedPolylines.js +2 -2
  86. package/Build/Cesium/Workers/createVectorTileGeometries.js +2 -2
  87. package/Build/Cesium/Workers/createVectorTilePoints.js +2 -2
  88. package/Build/Cesium/Workers/createVectorTilePolygons.js +2 -2
  89. package/Build/Cesium/Workers/createVectorTilePolylines.js +2 -2
  90. package/Build/Cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -2
  91. package/Build/Cesium/Workers/createVerticesFromHeightmap.js +2 -2
  92. package/Build/Cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -2
  93. package/Build/Cesium/Workers/createWallGeometry.js +2 -2
  94. package/Build/Cesium/Workers/createWallOutlineGeometry.js +2 -2
  95. package/Build/Cesium/Workers/decodeDraco.js +2 -2
  96. package/Build/Cesium/Workers/decodeGoogleEarthEnterprisePacket.js +2 -2
  97. package/Build/Cesium/Workers/decodeI3S.js +2 -2
  98. package/Build/Cesium/Workers/transcodeKTX2.js +2 -2
  99. package/Build/Cesium/Workers/transferTypedArrayTest.js +1 -1
  100. package/Build/Cesium/Workers/upsampleQuantizedTerrainMesh.js +2 -2
  101. package/Build/Cesium/index.js +11 -11
  102. package/Source/Cesium.js +253 -253
  103. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.128.5
4
+ * Version 1.128.6
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -69,7 +69,7 @@ var Cesium=(()=>{var jLe=Object.create;var $N=Object.defineProperty;var qLe=Obje
69
69
  See https://github.com/richtr/NoSleep.js/issues/15 for more details.
70
70
  `),this.noSleepTimer=window.setInterval(()=>{document.hidden||(window.location.href=window.location.href.split("#")[0],window.setTimeout(window.stop,0))},15e3),this.enabled=!0,Promise.resolve()):this.noSleepVideo.play().then(n=>(this.enabled=!0,n)).catch(n=>{throw this.enabled=!1,n})}disable(){Y$()?(this._wakeLock&&this._wakeLock.release(),this._wakeLock=null):O$()?this.noSleepTimer&&(console.warn(`
71
71
  NoSleep now disabled for older iOS devices.
72
- `),window.clearInterval(this.noSleepTimer),this.noSleepTimer=null):this.noSleepVideo.pause(),this.enabled=!1}};kLe.exports=z$});var TGt={};nRe(TGt,{AlphaMode:()=>Af,AlphaPipelineStage:()=>$X,AnchorPointDirect:()=>iX,AnchorPointIndirect:()=>oX,Animation:()=>TN,AnimationViewModel:()=>SN,Appearance:()=>ji,ApproximateTerrainHeights:()=>si,ArcGISTiledElevationTerrainProvider:()=>N6,ArcGisBaseMapType:()=>zh,ArcGisMapServerImageryProvider:()=>C0,ArcGisMapService:()=>tu,ArcType:()=>Jt,ArticulationStageType:()=>yc,AssociativeArray:()=>_t,Atmosphere:()=>w_,AtmospherePipelineStage:()=>WX,AttributeCompression:()=>Zn,AttributeType:()=>qt,AutoExposure:()=>uM,AutomaticUniforms:()=>Xp,Axis:()=>Io,AxisAlignedBoundingBox:()=>lg,B3dmLoader:()=>gX,B3dmParser:()=>fX,BaseLayerPicker:()=>bN,BaseLayerPickerViewModel:()=>pN,BatchTable:()=>Ox,BatchTableHierarchy:()=>h_,BatchTexture:()=>nl,BatchTexturePipelineStage:()=>eW,Billboard:()=>io,BillboardCollection:()=>Pd,BillboardGraphics:()=>lc,BillboardLoadState:()=>ss,BillboardTexture:()=>Xb,BillboardVisualizer:()=>kG,BingMapsGeocoderService:()=>k6,BingMapsImageryProvider:()=>Aw,BingMapsStyle:()=>bL,BlendEquation:()=>Ua,BlendFunction:()=>_o,BlendOption:()=>So,BlendingState:()=>on,BoundingRectangle:()=>Oe,BoundingSphere:()=>de,BoundingSphereState:()=>ot,BoundingVolumeSemantics:()=>A_,BoxEmitter:()=>Xq,BoxGeometry:()=>Ma,BoxGeometryUpdater:()=>$I,BoxGraphics:()=>qx,BoxOutlineGeometry:()=>Dm,BrdfLutGenerator:()=>dF,Buffer:()=>mt,BufferLoader:()=>x_,BufferUsage:()=>we,CPUStylingPipelineStage:()=>oW,CallbackPositionProperty:()=>eA,CallbackProperty:()=>Km,Camera:()=>$i,CameraEventAggregator:()=>yM,CameraEventType:()=>Pi,CameraFlightPath:()=>mF,Cartesian2:()=>k,Cartesian3:()=>m,Cartesian4:()=>ae,Cartographic:()=>fe,CartographicGeocoderService:()=>B6,CatmullRomSpline:()=>O6,Cesium3DContentGroup:()=>m_,Cesium3DTile:()=>qu,Cesium3DTileBatchTable:()=>sb,Cesium3DTileColorBlendMode:()=>vl,Cesium3DTileContent:()=>Wq,Cesium3DTileContentFactory:()=>j_,Cesium3DTileContentState:()=>Uo,Cesium3DTileContentType:()=>vs,Cesium3DTileFeature:()=>js,Cesium3DTileFeatureTable:()=>lh,Cesium3DTileOptimizationHint:()=>Hu,Cesium3DTileOptimizations:()=>UP,Cesium3DTilePass:()=>Xo,Cesium3DTilePassState:()=>_m,Cesium3DTilePointFeature:()=>Wb,Cesium3DTileRefine:()=>Mo,Cesium3DTileStyle:()=>DS,Cesium3DTileStyleEngine:()=>zP,Cesium3DTilesInspector:()=>fN,Cesium3DTilesInspectorViewModel:()=>hN,Cesium3DTilesVoxelProvider:()=>Pq,Cesium3DTileset:()=>Ts,Cesium3DTilesetBaseTraversal:()=>qP,Cesium3DTilesetCache:()=>BP,Cesium3DTilesetGraphics:()=>r_,Cesium3DTilesetHeatmap:()=>OP,Cesium3DTilesetMetadata:()=>aT,Cesium3DTilesetMostDetailedTraversal:()=>JP,Cesium3DTilesetSkipTraversal:()=>t2,Cesium3DTilesetStatistics:()=>_h,Cesium3DTilesetTraversal:()=>ia,Cesium3DTilesetVisualizer:()=>n2,CesiumInspector:()=>LN,CesiumInspectorViewModel:()=>VN,CesiumTerrainProvider:()=>vS,CesiumWidget:()=>x9,Check:()=>bo,CheckerboardMaterialProperty:()=>B1,CircleEmitter:()=>M9,CircleGeometry:()=>Q6,CircleOutlineGeometry:()=>j6,ClassificationModelDrawCommand:()=>QW,ClassificationPipelineStage:()=>tW,ClassificationPrimitive:()=>IC,ClassificationType:()=>Wn,ClearCommand:()=>Qn,ClippingPlane:()=>X_,ClippingPlaneCollection:()=>xs,ClippingPolygon:()=>r1,ClippingPolygonCollection:()=>oh,Clock:()=>Lh,ClockRange:()=>Hr,ClockStep:()=>mo,ClockViewModel:()=>lN,CloudCollection:()=>Uq,CloudType:()=>dR,Color:()=>D,ColorBlendMode:()=>gc,ColorGeometryInstanceAttribute:()=>Nt,ColorMaterialProperty:()=>Ft,Command:()=>I$,ComponentDatatype:()=>Q,Composite3DTileContent:()=>lA,CompositeEntityCollection:()=>DJ,CompositeMaterialProperty:()=>Y1,CompositePositionProperty:()=>Ca,CompositeProperty:()=>Cc,CompressedTextureBuffer:()=>kR,ComputeCommand:()=>Nc,ComputeEngine:()=>UR,ConditionsExpression:()=>P9,ConeEmitter:()=>Dq,ConstantPositionProperty:()=>Hc,ConstantProperty:()=>On,ConstantSpline:()=>TX,ContentMetadata:()=>AP,Context:()=>WG,ContextLimits:()=>Pt,CoplanarPolygonGeometry:()=>U2,CoplanarPolygonGeometryLibrary:()=>Db,CoplanarPolygonOutlineGeometry:()=>ju,CornerType:()=>Gi,CorrelationGroup:()=>rX,CorridorGeometry:()=>hT,CorridorGeometryLibrary:()=>Ui,CorridorGeometryUpdater:()=>u2,CorridorGraphics:()=>e_,CorridorOutlineGeometry:()=>d2,Credit:()=>bt,CreditDisplay:()=>bF,CubeMap:()=>Sr,CubeMapFace:()=>jR,CubicRealPolynomial:()=>Gx,CullFace:()=>bi,CullingVolume:()=>ys,CumulusCloud:()=>hu,CustomDataSource:()=>g2,CustomHeightmapTerrainProvider:()=>q6,CustomShader:()=>CS,CustomShaderMode:()=>Gb,CustomShaderPipelineStage:()=>uW,CustomShaderTranslucencyMode:()=>Yg,CylinderGeometry:()=>y2,CylinderGeometryLibrary:()=>fT,CylinderGeometryUpdater:()=>_2,CylinderGraphics:()=>t_,CylinderOutlineGeometry:()=>x2,CzmlDataSource:()=>I2,DataSource:()=>zr,DataSourceClock:()=>Rh,DataSourceCollection:()=>A2,DataSourceDisplay:()=>pv,DebugAppearance:()=>Bq,DebugCameraPrimitive:()=>bp,DebugInspector:()=>RM,DebugModelMatrixPrimitive:()=>U9,DefaultProxy:()=>$6,DepthFunction:()=>dc,DepthPlane:()=>VF,DequantizationPipelineStage:()=>hW,DerivedCommand:()=>gp,DeveloperError:()=>pe,DeviceOrientationCameraController:()=>LF,DirectionalLight:()=>Oq,DiscardEmptyTileImagePolicy:()=>gL,DiscardMissingTileImagePolicy:()=>Gw,DistanceDisplayCondition:()=>Et,DistanceDisplayConditionGeometryInstanceAttribute:()=>Xn,DoubleEndedPriorityQueue:()=>ZS,DoublyLinkedList:()=>DP,DracoLoader:()=>hb,DrawCommand:()=>He,DynamicAtmosphereLightingType:()=>yb,DynamicEnvironmentMapManager:()=>xb,DynamicGeometryBatch:()=>TT,DynamicGeometryUpdater:()=>qn,EarthOrientationParameters:()=>XR,EarthOrientationParametersSample:()=>K0,EasingFunction:()=>Qr,EllipseGeometry:()=>hl,EllipseGeometryLibrary:()=>Kl,EllipseGeometryUpdater:()=>W2,EllipseGraphics:()=>n_,EllipseOutlineGeometry:()=>Yd,Ellipsoid:()=>ne,EllipsoidGeodesic:()=>Jp,EllipsoidGeometry:()=>ra,EllipsoidGeometryUpdater:()=>v2,EllipsoidGraphics:()=>i_,EllipsoidOutlineGeometry:()=>Fd,EllipsoidPrimitive:()=>oF,EllipsoidRhumbLine:()=>ka,EllipsoidSurfaceAppearance:()=>Yq,EllipsoidTangentPlane:()=>es,EllipsoidTerrainProvider:()=>mp,EllipsoidalOccluder:()=>$b,Empty3DTileContent:()=>I1,EncodedCartesian3:()=>wn,Entity:()=>Jo,EntityCluster:()=>Nd,EntityCollection:()=>oa,EntityView:()=>gv,Event:()=>be,EventHelper:()=>mr,Expression:()=>vu,ExpressionNodeType:()=>ct,ExtrapolationType:()=>kd,FeatureDetection:()=>Mt,FeatureIdPipelineStage:()=>Og,Fog:()=>RF,ForEach:()=>Ie,FrameRateMonitor:()=>B9,FrameState:()=>ZF,Framebuffer:()=>vr,FramebufferManager:()=>ui,Frozen:()=>Y,FrustumCommands:()=>XF,FrustumGeometry:()=>nS,FrustumOutlineGeometry:()=>xF,Fullscreen:()=>xr,FullscreenButton:()=>ZN,FullscreenButtonViewModel:()=>RN,GeoJsonDataSource:()=>Cy,GeoJsonLoader:()=>yX,GeocodeType:()=>ix,Geocoder:()=>GN,GeocoderService:()=>rR,GeocoderViewModel:()=>EN,GeographicProjection:()=>Li,GeographicTilingScheme:()=>Yi,Geometry:()=>it,Geometry3DTileContent:()=>mA,GeometryAttribute:()=>Re,GeometryAttributes:()=>rn,GeometryFactory:()=>eq,GeometryInstance:()=>Tt,GeometryInstanceAttribute:()=>uc,GeometryOffsetAttribute:()=>$t,GeometryPipeline:()=>En,GeometryPipelineStage:()=>gW,GeometryType:()=>Su,GeometryUpdater:()=>$n,GeometryUpdaterSet:()=>XT,GeometryVisualizer:()=>iv,GetFeatureInfoFormat:()=>qT,Globe:()=>eF,GlobeDepth:()=>WF,GlobeSurfaceShaderSet:()=>Ew,GlobeSurfaceTile:()=>gm,GlobeSurfaceTileProvider:()=>Ow,GlobeTranslucency:()=>Yw,GlobeTranslucencyFramebuffer:()=>PF,GlobeTranslucencyState:()=>EF,GltfBufferViewLoader:()=>BC,GltfDracoLoader:()=>OC,GltfGpmLoader:()=>aX,GltfGpmLocal:()=>a1,GltfImageLoader:()=>YC,GltfIndexBufferLoader:()=>zC,GltfJsonLoader:()=>KC,GltfLoader:()=>ch,GltfLoaderUtil:()=>Ml,GltfMeshPrimitiveGpmLoader:()=>uX,GltfStructuralMetadataLoader:()=>tX,GltfTextureLoader:()=>JC,GltfVertexBufferLoader:()=>QC,GoogleEarthEnterpriseImageryProvider:()=>Hq,GoogleEarthEnterpriseMapsProvider:()=>Pw,GoogleEarthEnterpriseMetadata:()=>k0,GoogleEarthEnterpriseTerrainData:()=>sR,GoogleEarthEnterpriseTerrainProvider:()=>cq,GoogleEarthEnterpriseTileInformation:()=>Z9,GoogleGeocoderService:()=>dq,GoogleMaps:()=>FS,GpxDataSource:()=>Cv,GregorianDate:()=>Pp,GridImageryProvider:()=>Kq,GridMaterialProperty:()=>tV,GroundGeometryUpdater:()=>Fn,GroundPolylineGeometry:()=>Kx,GroundPolylinePrimitive:()=>Bm,GroundPrimitive:()=>Yc,GroupMetadata:()=>U1,HeadingPitchRange:()=>lm,HeadingPitchRoll:()=>va,Heap:()=>ER,HeightReference:()=>Ye,HeightmapEncoding:()=>fm,HeightmapTerrainData:()=>Ka,HeightmapTessellator:()=>uL,HermitePolynomialApproximation:()=>T2,HermiteSpline:()=>kg,HilbertOrder:()=>NC,HomeButton:()=>AN,HomeButtonViewModel:()=>IN,HorizontalOrigin:()=>pi,I3SBuildingSceneLayerExplorer:()=>N$,I3SBuildingSceneLayerExplorerViewModel:()=>XN,I3SDataProvider:()=>sf,I3SDecoder:()=>O9,I3SFeature:()=>Y9,I3SField:()=>z9,I3SGeometry:()=>uR,I3SLayer:()=>HS,I3SNode:()=>mR,I3SStatistics:()=>J9,I3SSublayer:()=>j9,I3SSymbology:()=>K9,I3dmLoader:()=>_X,I3dmParser:()=>xX,ITwinData:()=>qq,ITwinPlatform:()=>Ys,Iau2000Orientation:()=>nF,Iau2006XysData:()=>WR,Iau2006XysSample:()=>Lx,IauOrientationAxes:()=>iF,IauOrientationParameters:()=>tF,ImageBasedLighting:()=>u_,ImageBasedLightingPipelineStage:()=>vX,ImageMaterialProperty:()=>hg,Imagery:()=>CL,ImageryLayer:()=>Qa,ImageryLayerCollection:()=>zw,ImageryLayerFeatureInfo:()=>Yh,ImageryProvider:()=>yl,ImageryState:()=>oi,Implicit3DTileContent:()=>$C,ImplicitAvailabilityBitstream:()=>kC,ImplicitMetadataView:()=>DC,ImplicitSubdivisionScheme:()=>is,ImplicitSubtree:()=>G_,ImplicitSubtreeCache:()=>w9,ImplicitSubtreeMetadata:()=>hA,ImplicitTileCoordinates:()=>dT,ImplicitTileset:()=>lT,IndexDatatype:()=>ve,InfoBox:()=>PN,InfoBoxViewModel:()=>WN,InspectorShared:()=>$a,InstanceAttributeSemantic:()=>rs,InstancingPipelineStage:()=>JX,InterpolationAlgorithm:()=>uq,InterpolationType:()=>sh,Intersect:()=>Ut,IntersectionTests:()=>Hn,Intersections2D:()=>N0,Interval:()=>Fa,InvertClassification:()=>wL,Ion:()=>jm,IonGeocodeProviderType:()=>D0,IonGeocoderService:()=>MS,IonImageryProvider:()=>V0,IonResource:()=>Ld,IonWorldImageryStyle:()=>L0,Iso8601:()=>Ue,JobScheduler:()=>GF,JobType:()=>Oa,JsonMetadataTable:()=>_b,JulianDate:()=>j,KTX2Transcoder:()=>DR,KeyboardEventModifier:()=>ua,KeyframeNode:()=>fo,KmlCamera:()=>Vv,KmlDataSource:()=>OT,KmlLookAt:()=>gw,KmlTour:()=>yw,KmlTourFlyTo:()=>_w,KmlTourWait:()=>Tw,Label:()=>Qg,LabelCollection:()=>Ff,LabelGraphics:()=>Ym,LabelStyle:()=>No,LabelVisualizer:()=>ov,LagrangePolynomialApproximation:()=>S2,LeapSecond:()=>Bi,Light:()=>$q,LightingModel:()=>Pf,LightingPipelineStage:()=>xW,LinearApproximation:()=>bT,LinearSpline:()=>Ug,ManagedArray:()=>tl,MapMode2D:()=>id,MapProjection:()=>fq,MapboxImageryProvider:()=>vw,MapboxStyleImageryProvider:()=>e$,Material:()=>Oi,MaterialAppearance:()=>to,MaterialPipelineStage:()=>TW,MaterialProperty:()=>Ko,Math:()=>A,Matrix2:()=>Ri,Matrix3:()=>q,Matrix4:()=>v,Megatexture:()=>YL,MeshPrimitiveGpmLocal:()=>dX,MetadataClass:()=>th,MetadataClassProperty:()=>Ef,MetadataComponentType:()=>Gt,MetadataEntity:()=>An,MetadataEnum:()=>WA,MetadataEnumValue:()=>XA,MetadataPicking:()=>IF,MetadataPickingPipelineStage:()=>Ad,MetadataPipelineStage:()=>Uu,MetadataSchema:()=>Gd,MetadataSchemaLoader:()=>jC,MetadataSemantic:()=>I_,MetadataTable:()=>wu,MetadataTableProperty:()=>pA,MetadataType:()=>nt,MipmapHint:()=>xf,Model:()=>mh,Model3DTileContent:()=>Wd,ModelAlphaOptions:()=>NW,ModelAnimation:()=>LX,ModelAnimationChannel:()=>VX,ModelAnimationCollection:()=>RX,ModelAnimationLoop:()=>Ul,ModelAnimationState:()=>dh,ModelArticulation:()=>FX,ModelArticulationStage:()=>wX,ModelClippingPlanesPipelineStage:()=>UX,ModelClippingPolygonsPipelineStage:()=>BX,ModelColorPipelineStage:()=>Bg,ModelComponents:()=>fn,ModelDrawCommand:()=>jW,ModelDrawCommands:()=>eP,ModelFeature:()=>ZX,ModelFeatureTable:()=>GX,ModelGraphics:()=>eb,ModelLightingOptions:()=>HW,ModelMatrixUpdateStage:()=>QX,ModelNode:()=>OX,ModelRenderResources:()=>UW,ModelRuntimeNode:()=>qX,ModelRuntimePrimitive:()=>FW,ModelSceneGraph:()=>tP,ModelSilhouettePipelineStage:()=>BW,ModelSkin:()=>MW,ModelSplitterPipelineStage:()=>YW,ModelStatistics:()=>nP,ModelType:()=>dr,ModelUtility:()=>Yt,ModelVisualizer:()=>rv,Moon:()=>sF,MorphTargetsPipelineStage:()=>CW,MorphWeightSpline:()=>pq,MortonOrder:()=>ny,Multiple3DTileContent:()=>PP,MultisampleFramebuffer:()=>PG,NavigationHelpButton:()=>wN,NavigationHelpButtonViewModel:()=>vN,NearFarScalar:()=>vt,NeverTileDiscardPolicy:()=>n$,NodeRenderResources:()=>zW,NodeStatisticsPipelineStage:()=>jX,NodeTransformationProperty:()=>o_,OIT:()=>wF,Occluder:()=>aF,OffsetGeometryInstanceAttribute:()=>Ki,OpenCageGeocoderService:()=>gq,OpenStreetMapImageryProvider:()=>O0,OrderedGroundPrimitiveCollection:()=>X2,OrientedBoundingBox:()=>Tn,OrthographicFrustum:()=>tn,OrthographicOffCenterFrustum:()=>wr,Packable:()=>yq,PackableForInterpolation:()=>xq,Particle:()=>pR,ParticleBurst:()=>o$,ParticleEmitter:()=>r$,ParticleSystem:()=>s$,Pass:()=>Ze,PassState:()=>cc,PathGraphics:()=>tb,PathVisualizer:()=>av,PeliasGeocoderService:()=>G9,PerInstanceColorAppearance:()=>nn,PerformanceDisplay:()=>G0,PerformanceWatchdog:()=>MN,PerformanceWatchdogViewModel:()=>FN,PerspectiveFrustum:()=>Ci,PerspectiveOffCenterFrustum:()=>xl,PickDepth:()=>AF,PickDepthFramebuffer:()=>MF,PickFramebuffer:()=>UF,PickedMetadataInfo:()=>e9,Picking:()=>YF,PickingPipelineStage:()=>VW,PinBuilder:()=>f0,PixelDatatype:()=>ze,PixelFormat:()=>je,Plane:()=>en,PlaneGeometry:()=>w2,PlaneGeometryUpdater:()=>M2,PlaneGraphics:()=>zI,PlaneOutlineGeometry:()=>F2,PntsLoader:()=>oP,PntsParser:()=>O_,PointCloud:()=>g9,PointCloudEyeDomeLighting:()=>Sb,PointCloudShading:()=>Wf,PointCloudStylingPipelineStage:()=>RW,PointGraphics:()=>s_,PointPrimitive:()=>Fs,PointPrimitiveCollection:()=>Q1,PointVisualizer:()=>lv,PolygonGeometry:()=>gb,PolygonGeometryLibrary:()=>vn,PolygonGeometryUpdater:()=>D2,PolygonGraphics:()=>zm,PolygonHierarchy:()=>Da,PolygonOutlineGeometry:()=>k2,PolygonPipeline:()=>ni,Polyline:()=>Ou,PolylineArrowMaterialProperty:()=>iV,PolylineCollection:()=>ph,PolylineColorAppearance:()=>ts,PolylineDashMaterialProperty:()=>rV,PolylineGeometry:()=>h0,PolylineGeometryUpdater:()=>mv,PolylineGlowMaterialProperty:()=>aV,PolylineGraphics:()=>mc,PolylineMaterialAppearance:()=>ya,PolylineOutlineMaterialProperty:()=>dy,PolylinePipeline:()=>Ei,PolylineVisualizer:()=>fv,PolylineVolumeGeometry:()=>Y2,PolylineVolumeGeometryLibrary:()=>Th,PolylineVolumeGeometryUpdater:()=>J2,PolylineVolumeGraphics:()=>a_,PolylineVolumeOutlineGeometry:()=>K2,PositionProperty:()=>Om,PositionPropertyArray:()=>i0,PostProcessStage:()=>ao,PostProcessStageCollection:()=>fM,PostProcessStageComposite:()=>rd,PostProcessStageLibrary:()=>ru,PostProcessStageSampleMode:()=>ou,PostProcessStageTextureCache:()=>fS,PpeMetadata:()=>lX,PpeSource:()=>R$,PpeTexture:()=>cX,Primitive:()=>Sn,PrimitiveCollection:()=>ml,PrimitiveLoadPlan:()=>N_,PrimitiveOutlineGenerator:()=>M_,PrimitiveOutlinePipelineStage:()=>GW,PrimitivePipeline:()=>Yx,PrimitiveRenderResources:()=>KW,PrimitiveState:()=>Lr,PrimitiveStatisticsPipelineStage:()=>IW,PrimitiveType:()=>Pe,ProjectionPicker:()=>UN,ProjectionPickerViewModel:()=>NN,Property:()=>K,PropertyArray:()=>lV,PropertyAttribute:()=>F_,PropertyAttributeProperty:()=>jA,PropertyBag:()=>Jc,PropertyTable:()=>ol,PropertyTexture:()=>Tb,PropertyTextureProperty:()=>QA,ProviderViewModel:()=>us,Proxy:()=>_q,QuadraticRealPolynomial:()=>Uc,QuadtreeOccluders:()=>Hw,QuadtreePrimitive:()=>$w,QuadtreeTile:()=>Kw,QuadtreeTileLoadState:()=>aa,QuadtreeTileProvider:()=>a$,QuantizedMeshTerrainData:()=>PS,QuarticRealPolynomial:()=>YR,Quaternion:()=>Xe,QuaternionSpline:()=>CX,Queue:()=>Wg,Ray:()=>ln,Rectangle:()=>le,RectangleCollisionChecker:()=>PT,RectangleGeometry:()=>RT,RectangleGeometryLibrary:()=>ws,RectangleGeometryUpdater:()=>Q2,RectangleGraphics:()=>Hm,RectangleOutlineGeometry:()=>eT,ReferenceFrame:()=>Fi,ReferenceProperty:()=>o0,RenderState:()=>Me,Renderbuffer:()=>xd,RenderbufferFormat:()=>Dc,Request:()=>Oo,RequestErrorEvent:()=>uf,RequestScheduler:()=>rc,RequestState:()=>zn,RequestType:()=>ps,Resource:()=>Le,ResourceCache:()=>Ti,ResourceCacheKey:()=>Nl,ResourceCacheStatistics:()=>wA,ResourceLoader:()=>zi,ResourceLoaderState:()=>lt,Rotation:()=>nm,RuntimeError:()=>ce,S2Cell:()=>lb,SDFSettings:()=>ta,SampledPositionProperty:()=>La,SampledProperty:()=>Bd,Sampler:()=>Ht,ScaledPositionProperty:()=>Hf,Scene:()=>n9,SceneFramebuffer:()=>aS,SceneMode:()=>re,SceneMode2DPipelineStage:()=>AW,SceneModePicker:()=>DN,SceneModePickerViewModel:()=>kN,SceneTransforms:()=>Mi,SceneTransitioner:()=>gM,ScreenSpaceCameraController:()=>TM,ScreenSpaceEventHandler:()=>au,ScreenSpaceEventType:()=>pn,SelectedFeatureIdPipelineStage:()=>zg,SelectionIndicator:()=>YN,SelectionIndicatorViewModel:()=>ON,SensorVolumePortionToDisplay:()=>hV,ShaderBuilder:()=>Mx,ShaderCache:()=>EG,ShaderDestination:()=>ye,ShaderFunction:()=>FG,ShaderProgram:()=>Kt,ShaderSource:()=>Ne,ShaderStruct:()=>wG,ShadowMap:()=>X0,ShadowMapShader:()=>_p,ShadowMode:()=>hn,ShadowVolumeAppearance:()=>Sd,ShowGeometryInstanceAttribute:()=>mn,Simon1994PlanetaryPositions:()=>rg,SimplePolylineGeometry:()=>Tq,SingleTileImageryProvider:()=>ww,SkinningPipelineStage:()=>WW,SkyAtmosphere:()=>r9,SkyBox:()=>c9,SpatialNode:()=>jM,Spdcf:()=>sX,SpecularEnvironmentCubeMap:()=>Qm,SphereEmitter:()=>l$,SphereGeometry:()=>Sq,SphereOutlineGeometry:()=>Ob,Spherical:()=>C2,Spline:()=>qi,SplitDirection:()=>Fr,Splitter:()=>QL,StaticGeometryColorBatch:()=>sm,StaticGeometryPerMaterialBatch:()=>am,StaticGroundGeometryColorBatch:()=>AV,StaticGroundGeometryPerMaterialBatch:()=>nv,StaticGroundPolylinePerMaterialBatch:()=>hv,StaticOutlineGeometryBatch:()=>PV,StencilConstants:()=>wt,StencilFunction:()=>Pn,StencilOperation:()=>st,SteppedSpline:()=>SX,Stereographic:()=>bc,StorageType:()=>wg,StripeMaterialProperty:()=>uV,StripeOrientation:()=>Zh,StructuralMetadata:()=>$s,StyleCommandsNeeded:()=>uh,StyleExpression:()=>d$,Sun:()=>f9,SunLight:()=>Bp,SunPostProcess:()=>VM,SupportedImageFormats:()=>nX,SvgPathBindingHandler:()=>aN,TaskProcessor:()=>fi,Terrain:()=>tN,TerrainData:()=>Oh,TerrainEncoding:()=>Gc,TerrainFillMesh:()=>ZL,TerrainMesh:()=>bm,TerrainOffsetProperty:()=>c_,TerrainProvider:()=>cs,TerrainQuantization:()=>sa,TerrainState:()=>so,Texture:()=>Zt,TextureAtlas:()=>Nx,TextureCache:()=>GG,TextureMagnificationFilter:()=>di,TextureManager:()=>zM,TextureMinificationFilter:()=>zt,TexturePacker:()=>SC,TextureUniform:()=>V$,TextureWrap:()=>bn,TileAvailability:()=>ef,TileBoundingRegion:()=>wd,TileBoundingS2Cell:()=>MP,TileBoundingSphere:()=>Yb,TileBoundingVolume:()=>u$,TileCoordinatesImageryProvider:()=>iN,TileDiscardPolicy:()=>h$,TileEdge:()=>un,TileImagery:()=>VL,TileMapServiceImageryProvider:()=>Uy,TileMetadata:()=>XP,TileOrientedBoundingBox:()=>Yl,TileProviderError:()=>Vo,TileReplacementQueue:()=>Jw,TileSelectionResult:()=>Dn,TileState:()=>f$,Tileset3DTileContent:()=>aP,TilesetMetadata:()=>NP,TilesetPipelineStage:()=>IX,TilingScheme:()=>Cq,TimeConstants:()=>kn,TimeDynamicImagery:()=>$T,TimeDynamicPointCloud:()=>qL,TimeInterval:()=>gn,TimeIntervalCollection:()=>Yr,TimeIntervalCollectionPositionProperty:()=>r0,TimeIntervalCollectionProperty:()=>s0,TimeStandard:()=>Nn,Timeline:()=>KN,TimelineHighlightRange:()=>zN,TimelineTrack:()=>HN,Tipsify:()=>zR,ToggleButtonViewModel:()=>lx,Tonemapper:()=>P0,TrackingReferenceFrame:()=>Kp,Transforms:()=>Rt,TranslationRotationScale:()=>fg,TranslucentTileClassification:()=>DF,TridiagonalSystemSolver:()=>f1,TrustedServers:()=>dC,TweenCollection:()=>yS,UniformState:()=>XG,UniformType:()=>BL,UrlTemplateImageryProvider:()=>Ja,VERSION:()=>_Gt,VRButton:()=>QN,VRButtonViewModel:()=>JN,VRTheWorldTerrainProvider:()=>Vq,VaryingType:()=>L$,Vector3DTileBatch:()=>Rf,Vector3DTileClampedPolylines:()=>EP,Vector3DTileContent:()=>IP,Vector3DTileGeometry:()=>cb,Vector3DTilePoints:()=>TP,Vector3DTilePolygons:()=>SP,Vector3DTilePolylines:()=>Q_,Vector3DTilePrimitive:()=>b_,VelocityOrientationProperty:()=>L2,VelocityVectorProperty:()=>a0,VertexArray:()=>jn,VertexArrayFacade:()=>Op,VertexAttributeSemantic:()=>at,VertexFormat:()=>Ge,VerticalExaggeration:()=>Vr,VerticalExaggerationPipelineStage:()=>vW,VerticalOrigin:()=>Gn,VideoSynchronizer:()=>Lq,View:()=>dS,Viewer:()=>K$,ViewportQuad:()=>p$,Visibility:()=>br,Visualizer:()=>_8,VoxelBoxShape:()=>Vp,VoxelCell:()=>ZM,VoxelContent:()=>VS,VoxelCylinderShape:()=>LS,VoxelEllipsoidShape:()=>RS,VoxelInspector:()=>qN,VoxelInspectorViewModel:()=>jN,VoxelMetadataOrder:()=>Vm,VoxelPrimitive:()=>qy,VoxelProvider:()=>g$,VoxelRenderResources:()=>DM,VoxelShape:()=>y$,VoxelShapeType:()=>vi,VoxelTraversal:()=>qM,VulkanConstants:()=>Rq,WallGeometry:()=>q2,WallGeometryLibrary:()=>ZT,WallGeometryUpdater:()=>tv,WallGraphics:()=>nb,WallOutlineGeometry:()=>ev,WebGLConstants:()=>ie,WebMapServiceImageryProvider:()=>Mw,WebMapTileServiceImageryProvider:()=>Uw,WebMercatorProjection:()=>Zi,WebMercatorTilingScheme:()=>ls,WindingOrder:()=>bs,WireframeIndexGenerator:()=>S1,WireframePipelineStage:()=>wW,_shadersAcesTonemappingStage:()=>zF,_shadersAdditiveBlend:()=>SM,_shadersAdjustTranslucentFS:()=>FL,_shadersAllMaterialAppearanceFS:()=>OG,_shadersAllMaterialAppearanceVS:()=>YG,_shadersAmbientOcclusionGenerate:()=>HF,_shadersAmbientOcclusionModulate:()=>KF,_shadersAspectRampMaterial:()=>QG,_shadersAtmosphereCommon:()=>rh,_shadersAtmosphereStageFS:()=>AX,_shadersAtmosphereStageVS:()=>XX,_shadersBasicMaterialAppearanceFS:()=>zG,_shadersBasicMaterialAppearanceVS:()=>HG,_shadersBillboardCollectionFS:()=>cP,_shadersBillboardCollectionVS:()=>lP,_shadersBlackAndWhite:()=>JF,_shadersBloomComposite:()=>QF,_shadersBrdfLutGeneratorFS:()=>cF,_shadersBrightPass:()=>CM,_shadersBrightness:()=>jF,_shadersBumpMapMaterial:()=>jG,_shadersCPUStylingStageFS:()=>iW,_shadersCPUStylingStageVS:()=>nW,_shadersCheckerboardMaterial:()=>qG,_shadersCloudCollectionFS:()=>_9,_shadersCloudCollectionVS:()=>T9,_shadersCloudNoiseFS:()=>S9,_shadersCloudNoiseVS:()=>C9,_shadersCompareAndPackTranslucentDepth:()=>kF,_shadersCompositeOITFS:()=>vF,_shadersCompositeTranslucentClassification:()=>lS,_shadersComputeIrradianceFS:()=>BA,_shadersComputeRadianceMapFS:()=>OA,_shadersContrastBias:()=>qF,_shadersConvolveSpecularMapFS:()=>YA,_shadersConvolveSpecularMapVS:()=>zA,_shadersCustomShaderStageFS:()=>sW,_shadersCustomShaderStageVS:()=>rW,_shadersCzmBuiltins:()=>vx,_shadersDepthOfField:()=>$F,_shadersDepthPlaneFS:()=>_F,_shadersDepthPlaneVS:()=>TF,_shadersDepthView:()=>eM,_shadersDepthViewPacked:()=>C$,_shadersDotMaterial:()=>$G,_shadersEdgeDetection:()=>tM,_shadersElevationBandMaterial:()=>eI,_shadersElevationContourMaterial:()=>tI,_shadersElevationRampMaterial:()=>nI,_shadersEllipsoidFS:()=>GL,_shadersEllipsoidSurfaceAppearanceFS:()=>k9,_shadersEllipsoidSurfaceAppearanceVS:()=>D9,_shadersEllipsoidVS:()=>IL,_shadersFXAA:()=>oM,_shadersFXAA3_11:()=>dM,_shadersFadeMaterial:()=>iI,_shadersFeatureIdStageFS:()=>aW,_shadersFeatureIdStageVS:()=>cW,_shadersFilmicTonemapping:()=>nM,_shadersGaussianBlur1D:()=>Ky,_shadersGeometryStageFS:()=>fW,_shadersGeometryStageVS:()=>pW,_shadersGlobeFS:()=>Rw,_shadersGlobeVS:()=>Zw,_shadersGridMaterial:()=>oI,_shadersGroundAtmosphere:()=>hL,_shadersHSBToRGB:()=>YZ,_shadersHSLToRGB:()=>zZ,_shadersImageBasedLightingStageFS:()=>PX,_shadersInstancingStageCommon:()=>YX,_shadersInstancingStageVS:()=>zX,_shadersIntersectBox:()=>PM,_shadersIntersectClippingPlanes:()=>WM,_shadersIntersectCylinder:()=>vM,_shadersIntersectDepth:()=>XM,_shadersIntersectEllipsoid:()=>wM,_shadersIntersectLongitude:()=>DL,_shadersIntersection:()=>TS,_shadersIntersectionUtils:()=>AM,_shadersLegacyInstancingStageVS:()=>HX,_shadersLensFlare:()=>rM,_shadersLightingStageFS:()=>yW,_shadersMaterialStageFS:()=>_W,_shadersMegatexture:()=>kM,_shadersMetadataStageFS:()=>lW,_shadersMetadataStageVS:()=>dW,_shadersModelClippingPlanesStageFS:()=>NX,_shadersModelClippingPolygonsStageFS:()=>DX,_shadersModelClippingPolygonsStageVS:()=>kX,_shadersModelColorStageFS:()=>MX,_shadersModelFS:()=>$W,_shadersModelSilhouetteStageFS:()=>kW,_shadersModelSilhouetteStageVS:()=>DW,_shadersModelSplitterStageFS:()=>OW,_shadersModelVS:()=>qW,_shadersModifiedReinhardTonemapping:()=>sM,_shadersMorphTargetsStageVS:()=>SW,_shadersNightVision:()=>aM,_shadersNormalMapMaterial:()=>rI,_shadersOctree:()=>UM,_shadersPassThrough:()=>od,_shadersPassThroughDepth:()=>Yy,_shadersPbrNeutralTonemapping:()=>iM,_shadersPerInstanceColorAppearanceFS:()=>bI,_shadersPerInstanceColorAppearanceVS:()=>gI,_shadersPerInstanceFlatColorAppearanceFS:()=>Bx,_shadersPerInstanceFlatColorAppearanceVS:()=>yI,_shadersPointCloudEyeDomeLighting:()=>mX,_shadersPointCloudStylingStageVS:()=>LW,_shadersPointPrimitiveCollectionFS:()=>ly,_shadersPointPrimitiveCollectionVS:()=>m2,_shadersPolygonSignedDistanceFS:()=>kA,_shadersPolylineArrowMaterial:()=>sI,_shadersPolylineColorAppearanceVS:()=>WI,_shadersPolylineCommon:()=>Cd,_shadersPolylineDashMaterial:()=>aI,_shadersPolylineFS:()=>Qx,_shadersPolylineGlowMaterial:()=>cI,_shadersPolylineMaterialAppearanceVS:()=>PI,_shadersPolylineOutlineMaterial:()=>lI,_shadersPolylineShadowVolumeFS:()=>GI,_shadersPolylineShadowVolumeMorphFS:()=>II,_shadersPolylineShadowVolumeMorphVS:()=>AI,_shadersPolylineShadowVolumeVS:()=>XI,_shadersPolylineVS:()=>pP,_shadersPrimitiveOutlineStageFS:()=>EW,_shadersPrimitiveOutlineStageVS:()=>ZW,_shadersRGBToHSB:()=>HZ,_shadersRGBToHSL:()=>KZ,_shadersRGBToXYZ:()=>JZ,_shadersReinhardTonemapping:()=>cM,_shadersReprojectWebMercatorFS:()=>kw,_shadersReprojectWebMercatorVS:()=>Dw,_shadersRimLightingMaterial:()=>dI,_shadersSelectedFeatureIdStageCommon:()=>T1,_shadersShadowVolumeAppearanceFS:()=>EC,_shadersShadowVolumeAppearanceVS:()=>TI,_shadersShadowVolumeFS:()=>dg,_shadersSilhouette:()=>lM,_shadersSkinningStageVS:()=>XW,_shadersSkyAtmosphereCommon:()=>zL,_shadersSkyAtmosphereFS:()=>i9,_shadersSkyAtmosphereVS:()=>o9,_shadersSkyBoxFS:()=>s9,_shadersSkyBoxVS:()=>a9,_shadersSlopeRampMaterial:()=>uI,_shadersStripeMaterial:()=>mI,_shadersSunFS:()=>l9,_shadersSunTextureFS:()=>d9,_shadersSunVS:()=>u9,_shadersTexturedMaterialAppearanceFS:()=>KG,_shadersTexturedMaterialAppearanceVS:()=>JG,_shadersVector3DTileClampedPolylinesFS:()=>RP,_shadersVector3DTileClampedPolylinesVS:()=>LP,_shadersVector3DTilePolylinesVS:()=>CP,_shadersVectorTileVS:()=>MC,_shadersVerticalExaggerationStageVS:()=>PW,_shadersViewportQuadFS:()=>V9,_shadersViewportQuadVS:()=>Rx,_shadersVoxelFS:()=>GM,_shadersVoxelUtils:()=>EM,_shadersVoxelVS:()=>IM,_shadersWater:()=>fI,_shadersWaterMaskMaterial:()=>hI,_shadersXYZToRGB:()=>QZ,_shadersacesTonemapping:()=>jZ,_shadersalphaWeight:()=>qZ,_shadersantialias:()=>$Z,_shadersapplyHSBShift:()=>eE,_shadersapproximateSphericalCoordinates:()=>tE,_shadersapproximateTanh:()=>nE,_shadersbackFacing:()=>iE,_shadersbranchFreeTernary:()=>oE,_shaderscascadeColor:()=>rE,_shaderscascadeDistance:()=>sE,_shaderscascadeMatrix:()=>aE,_shaderscascadeWeights:()=>cE,_shadersclipPolygons:()=>lE,_shaderscolumbusViewMorph:()=>dE,_shaderscomputeAtmosphereColor:()=>uE,_shaderscomputeGroundAtmosphereScattering:()=>mE,_shaderscomputePosition:()=>hE,_shaderscomputeScattering:()=>fE,_shadersconvertUvToBox:()=>FM,_shadersconvertUvToCylinder:()=>MM,_shadersconvertUvToEllipsoid:()=>NM,_shaderscosineAndSine:()=>pE,_shadersdecompressTextureCoordinates:()=>bE,_shadersdegreesPerRadian:()=>$R,_shadersdepthClamp:()=>gE,_shadersdepthRange:()=>eZ,_shadersdepthRangeStruct:()=>FZ,_shaderseastNorthUpToEyeCoordinates:()=>yE,_shadersellipsoidContainsPoint:()=>xE,_shadersellipsoidTextureCoordinates:()=>_E,_shadersepsilon1:()=>tZ,_shadersepsilon2:()=>nZ,_shadersepsilon3:()=>iZ,_shadersepsilon4:()=>oZ,_shadersepsilon5:()=>rZ,_shadersepsilon6:()=>sZ,_shadersepsilon7:()=>aZ,_shadersequalsEpsilon:()=>TE,_shaderseyeOffset:()=>SE,_shaderseyeToWindowCoordinates:()=>CE,_shadersfastApproximateAtan:()=>VE,_shadersfog:()=>LE,_shadersgammaCorrect:()=>RE,_shadersgeodeticSurfaceNormal:()=>ZE,_shadersgetDefaultMaterial:()=>EE,_shadersgetDynamicAtmosphereLightDirection:()=>GE,_shadersgetLambertDiffuse:()=>IE,_shadersgetSpecular:()=>AE,_shadersgetWaterNoise:()=>XE,_shadershue:()=>WE,_shadersinfinity:()=>cZ,_shadersinverseGamma:()=>PE,_shadersisEmpty:()=>vE,_shadersisFull:()=>wE,_shaderslatitudeToWebMercatorFraction:()=>FE,_shaderslineDistance:()=>ME,_shaderslinearToSrgb:()=>NE,_shadersluminance:()=>UE,_shadersmaterial:()=>MZ,_shadersmaterialInput:()=>NZ,_shadersmaximumComponent:()=>kE,_shadersmetersPerPixel:()=>DE,_shadersmodelMaterial:()=>UZ,_shadersmodelToWindowCoordinates:()=>BE,_shadersmodelVertexOutput:()=>kZ,_shadersmultiplyWithColorBalance:()=>OE,_shadersnearFarScalar:()=>YE,_shadersoctDecode:()=>zE,_shadersoneOverPi:()=>lZ,_shadersoneOverTwoPi:()=>dZ,_shaderspackDepth:()=>HE,_shaderspassCesium3DTile:()=>uZ,_shaderspassCesium3DTileClassification:()=>mZ,_shaderspassCesium3DTileClassificationIgnoreShow:()=>hZ,_shaderspassClassification:()=>fZ,_shaderspassCompute:()=>pZ,_shaderspassEnvironment:()=>bZ,_shaderspassGlobe:()=>gZ,_shaderspassOpaque:()=>yZ,_shaderspassOverlay:()=>xZ,_shaderspassTerrainClassification:()=>_Z,_shaderspassTranslucent:()=>TZ,_shaderspassVoxels:()=>SZ,_shaderspbrLighting:()=>KE,_shaderspbrNeutralTonemapping:()=>JE,_shadersphong:()=>QE,_shaderspi:()=>CZ,_shaderspiOverFour:()=>VZ,_shaderspiOverSix:()=>LZ,_shaderspiOverThree:()=>RZ,_shaderspiOverTwo:()=>ZZ,_shadersplaneDistance:()=>jE,_shaderspointAlongRay:()=>qE,_shadersradiansPerDegree:()=>EZ,_shadersray:()=>DZ,_shadersrayEllipsoidIntersectionInterval:()=>$E,_shadersraySegment:()=>BZ,_shadersraySphereIntersectionInterval:()=>eG,_shadersreadDepth:()=>tG,_shadersreadNonPerspective:()=>nG,_shadersreverseLogDepth:()=>iG,_shadersround:()=>oG,_shaderssaturation:()=>rG,_shaderssceneMode2D:()=>GZ,_shaderssceneMode3D:()=>IZ,_shaderssceneModeColumbusView:()=>AZ,_shaderssceneModeMorphing:()=>XZ,_shadersshadowDepthCompare:()=>sG,_shadersshadowParameters:()=>OZ,_shadersshadowVisibility:()=>aG,_shaderssignNotZero:()=>cG,_shaderssolarRadius:()=>WZ,_shaderssphericalHarmonics:()=>lG,_shaderssrgbToLinear:()=>dG,_shaderstangentToEyeSpaceMatrix:()=>uG,_shaderstextureCube:()=>mG,_shadersthreePiOver2:()=>PZ,_shaderstransformPlane:()=>hG,_shaderstranslateRelativeToEye:()=>fG,_shaderstranslucentPhong:()=>pG,_shaderstranspose:()=>bG,_shaderstwoPi:()=>vZ,_shadersunpackClippingExtents:()=>gG,_shadersunpackDepth:()=>yG,_shadersunpackFloat:()=>xG,_shadersunpackUint:()=>_G,_shadersvalueTransform:()=>TG,_shadersvertexLogDepth:()=>SG,_shaderswebMercatorMaxLatitude:()=>wZ,_shaderswindowToEyeCoordinates:()=>CG,_shaderswriteDepthClamp:()=>VG,_shaderswriteLogDepth:()=>LG,_shaderswriteNonPerspective:()=>RG,addBuffer:()=>VA,addDefaults:()=>bA,addExtensionsRequired:()=>TA,addExtensionsUsed:()=>Fu,addPipelineExtras:()=>Lg,addToArray:()=>Ws,appendForwardSlash:()=>VR,arrayRemoveDuplicates:()=>yo,barycentricCoordinates:()=>Ex,binarySearch:()=>Eo,buildModuleUrl:()=>jt,buildVoxelDrawCommands:()=>OM,clone:()=>ke,combine:()=>pt,computeFlyToLocationForRectangle:()=>JT,createBillboardPointCallback:()=>z_,createCommand:()=>yn,createDefaultImageryProviderViewModels:()=>gN,createDefaultTerrainProviderViewModels:()=>yN,createElevationBandMaterial:()=>x$,createGooglePhotorealistic3DTileset:()=>_$,createGuid:()=>Mn,createMaterialPropertyDescriptor:()=>Go,createOsmBuildingsAsync:()=>T$,createPropertyDescriptor:()=>me,createRawPropertyDescriptor:()=>Kc,createTangentSpaceDebugPrimitive:()=>S$,createTaskProcessorWorker:()=>Z$,createUniform:()=>FR,createUniformArray:()=>MR,createWorldBathymetryAsync:()=>A9,createWorldImageryAsync:()=>R0,createWorldTerrainAsync:()=>US,decodeGoogleEarthEnterpriseData:()=>X9,decodeVectorPolylinePositions:()=>GP,defaultValue:()=>Eq,defer:()=>Rl,defined:()=>l,demodernizeShader:()=>ZG,deprecationWarning:()=>Xs,destroyObject:()=>he,exportKml:()=>L8,findAccessorMinMax:()=>L_,findContentMetadata:()=>q_,findGroupMetadata:()=>$_,findTileMetadata:()=>WP,forEachTextureInMaterial:()=>HC,formatError:()=>dp,freezeRenderState:()=>k3,getAbsoluteUri:()=>lf,getAccessorByteStride:()=>Fl,getBaseUri:()=>LR,getBinaryAccessor:()=>Rd,getClipAndStyleCode:()=>p9,getClippingFunction:()=>S0,getComponentReader:()=>pb,getElement:()=>Cn,getExtensionFromUri:()=>gx,getFilenameFromUri:()=>t0,getImageFromTypedArray:()=>YM,getImagePixels:()=>Wm,getJsonFromTypedArray:()=>Qo,getMagic:()=>qm,getMetadataClassProperty:()=>$M,getMetadataProperty:()=>t9,getStringFromTypedArray:()=>Pl,getTimestamp:()=>gi,hasExtension:()=>ei,heightReferenceOnEntityPropertyChanged:()=>ib,isBitSet:()=>Pc,isBlobUri:()=>yx,isCrossOriginUrl:()=>Q0,isDataUri:()=>vp,isLeapYear:()=>Xm,knockout:()=>Se,knockout_3_5_1:()=>JS,knockout_es5:()=>sN,loadAndExecuteScript:()=>xx,loadCubeMap:()=>NG,loadImageFromTypedArray:()=>S_,loadKTX2:()=>El,mergeSort:()=>E0,moveTechniqueRenderStates:()=>_A,moveTechniquesToExtension:()=>SA,numberOfComponentsForType:()=>Ed,objectToQuery:()=>_x,oneTimeWarning:()=>ht,parseBatchTable:()=>Lb,parseFeatureMetadataLegacy:()=>eX,parseGlb:()=>yA,parseResponseHeaders:()=>RR,parseStructuralMetadata:()=>$A,pickModel:()=>L1,pointInsideTriangle:()=>Gq,preprocess3DTileContent:()=>kb,processVoxelProperties:()=>BM,queryToObject:()=>bd,readAccessorPacked:()=>LA,removeExtension:()=>R_,removeExtensionsRequired:()=>gA,removeExtensionsUsed:()=>V_,removePipelineExtras:()=>xA,removeUnusedElements:()=>CA,resizeImageToNextPowerOfTwo:()=>Eg,sampleTerrain:()=>Lw,sampleTerrainMostDetailed:()=>KT,scaleToGeodeticSurface:()=>bx,srgbToLinear:()=>kS,subdivideArray:()=>SI,subscribeAndEvaluate:()=>Aa,updateAccessorComponentTypes:()=>RA,updateVersion:()=>ZA,usesExtension:()=>lr,viewerCesium3DTilesInspectorMixin:()=>J$,viewerCesiumInspectorMixin:()=>Q$,viewerDragDropMixin:()=>q$,viewerPerformanceWatchdogMixin:()=>$$,viewerVoxelInspectorMixin:()=>eee,webGLConstantToGlslType:()=>Iq,wrapFunction:()=>W9,writeTextToCanvas:()=>K_});var U2o=x(_(),1);var ilo=x(_(),1);var gIt=x(_(),1);var kGt=x(_(),1);var WGt=x(_(),1);var RGt=x(_(),1);function oRe(e){return e!=null}var l=oRe;var GGt=x(_(),1);function fx(e){this.name="DeveloperError",this.message=e;let t;try{throw new Error}catch(n){t=n.stack}this.stack=t}l(Object.create)&&(fx.prototype=Object.create(Error.prototype),fx.prototype.constructor=fx);fx.prototype.toString=function(){let e=`${this.name}: ${this.message}`;return l(this.stack)&&(e+=`
72
+ `),window.clearInterval(this.noSleepTimer),this.noSleepTimer=null):this.noSleepVideo.pause(),this.enabled=!1}};kLe.exports=z$});var TGt={};nRe(TGt,{AlphaMode:()=>Af,AlphaPipelineStage:()=>$X,AnchorPointDirect:()=>iX,AnchorPointIndirect:()=>oX,Animation:()=>hN,AnimationViewModel:()=>fN,Appearance:()=>ji,ApproximateTerrainHeights:()=>si,ArcGISTiledElevationTerrainProvider:()=>N6,ArcGisBaseMapType:()=>zh,ArcGisMapServerImageryProvider:()=>C0,ArcGisMapService:()=>tu,ArcType:()=>Jt,ArticulationStageType:()=>yc,AssociativeArray:()=>_t,Atmosphere:()=>w_,AtmospherePipelineStage:()=>WX,AttributeCompression:()=>Zn,AttributeType:()=>qt,AutoExposure:()=>uM,AutomaticUniforms:()=>Xp,Axis:()=>Io,AxisAlignedBoundingBox:()=>lg,B3dmLoader:()=>gX,B3dmParser:()=>fX,BaseLayerPicker:()=>CN,BaseLayerPickerViewModel:()=>SN,BatchTable:()=>Ox,BatchTableHierarchy:()=>h_,BatchTexture:()=>nl,BatchTexturePipelineStage:()=>eW,Billboard:()=>io,BillboardCollection:()=>Pd,BillboardGraphics:()=>lc,BillboardLoadState:()=>ss,BillboardTexture:()=>Xb,BillboardVisualizer:()=>kG,BingMapsGeocoderService:()=>k6,BingMapsImageryProvider:()=>Aw,BingMapsStyle:()=>bL,BlendEquation:()=>Ua,BlendFunction:()=>_o,BlendOption:()=>So,BlendingState:()=>on,BoundingRectangle:()=>Oe,BoundingSphere:()=>de,BoundingSphereState:()=>ot,BoundingVolumeSemantics:()=>A_,BoxEmitter:()=>Xq,BoxGeometry:()=>Ma,BoxGeometryUpdater:()=>$I,BoxGraphics:()=>qx,BoxOutlineGeometry:()=>Dm,BrdfLutGenerator:()=>dF,Buffer:()=>mt,BufferLoader:()=>x_,BufferUsage:()=>we,CPUStylingPipelineStage:()=>oW,CallbackPositionProperty:()=>eA,CallbackProperty:()=>Km,Camera:()=>$i,CameraEventAggregator:()=>yM,CameraEventType:()=>Pi,CameraFlightPath:()=>mF,Cartesian2:()=>k,Cartesian3:()=>m,Cartesian4:()=>ae,Cartographic:()=>fe,CartographicGeocoderService:()=>B6,CatmullRomSpline:()=>O6,Cesium3DContentGroup:()=>m_,Cesium3DTile:()=>qu,Cesium3DTileBatchTable:()=>sb,Cesium3DTileColorBlendMode:()=>vl,Cesium3DTileContent:()=>Wq,Cesium3DTileContentFactory:()=>j_,Cesium3DTileContentState:()=>Uo,Cesium3DTileContentType:()=>vs,Cesium3DTileFeature:()=>js,Cesium3DTileFeatureTable:()=>lh,Cesium3DTileOptimizationHint:()=>Hu,Cesium3DTileOptimizations:()=>UP,Cesium3DTilePass:()=>Xo,Cesium3DTilePassState:()=>_m,Cesium3DTilePointFeature:()=>Wb,Cesium3DTileRefine:()=>Mo,Cesium3DTileStyle:()=>DS,Cesium3DTileStyleEngine:()=>zP,Cesium3DTilesInspector:()=>yN,Cesium3DTilesInspectorViewModel:()=>gN,Cesium3DTilesVoxelProvider:()=>Pq,Cesium3DTileset:()=>Ts,Cesium3DTilesetBaseTraversal:()=>qP,Cesium3DTilesetCache:()=>BP,Cesium3DTilesetGraphics:()=>r_,Cesium3DTilesetHeatmap:()=>OP,Cesium3DTilesetMetadata:()=>aT,Cesium3DTilesetMostDetailedTraversal:()=>JP,Cesium3DTilesetSkipTraversal:()=>t2,Cesium3DTilesetStatistics:()=>_h,Cesium3DTilesetTraversal:()=>ia,Cesium3DTilesetVisualizer:()=>n2,CesiumInspector:()=>TN,CesiumInspectorViewModel:()=>_N,CesiumTerrainProvider:()=>vS,CesiumWidget:()=>x9,Check:()=>bo,CheckerboardMaterialProperty:()=>B1,CircleEmitter:()=>M9,CircleGeometry:()=>Q6,CircleOutlineGeometry:()=>j6,ClassificationModelDrawCommand:()=>QW,ClassificationPipelineStage:()=>tW,ClassificationPrimitive:()=>IC,ClassificationType:()=>Wn,ClearCommand:()=>Qn,ClippingPlane:()=>X_,ClippingPlaneCollection:()=>xs,ClippingPolygon:()=>r1,ClippingPolygonCollection:()=>oh,Clock:()=>Lh,ClockRange:()=>Hr,ClockStep:()=>mo,ClockViewModel:()=>lN,CloudCollection:()=>Uq,CloudType:()=>dR,Color:()=>D,ColorBlendMode:()=>gc,ColorGeometryInstanceAttribute:()=>Nt,ColorMaterialProperty:()=>Ft,Command:()=>I$,ComponentDatatype:()=>Q,Composite3DTileContent:()=>lA,CompositeEntityCollection:()=>DJ,CompositeMaterialProperty:()=>Y1,CompositePositionProperty:()=>Ca,CompositeProperty:()=>Cc,CompressedTextureBuffer:()=>kR,ComputeCommand:()=>Nc,ComputeEngine:()=>UR,ConditionsExpression:()=>P9,ConeEmitter:()=>Dq,ConstantPositionProperty:()=>Hc,ConstantProperty:()=>On,ConstantSpline:()=>TX,ContentMetadata:()=>AP,Context:()=>WG,ContextLimits:()=>Pt,CoplanarPolygonGeometry:()=>U2,CoplanarPolygonGeometryLibrary:()=>Db,CoplanarPolygonOutlineGeometry:()=>ju,CornerType:()=>Gi,CorrelationGroup:()=>rX,CorridorGeometry:()=>hT,CorridorGeometryLibrary:()=>Ui,CorridorGeometryUpdater:()=>u2,CorridorGraphics:()=>e_,CorridorOutlineGeometry:()=>d2,Credit:()=>bt,CreditDisplay:()=>bF,CubeMap:()=>Sr,CubeMapFace:()=>jR,CubicRealPolynomial:()=>Gx,CullFace:()=>bi,CullingVolume:()=>ys,CumulusCloud:()=>hu,CustomDataSource:()=>g2,CustomHeightmapTerrainProvider:()=>q6,CustomShader:()=>CS,CustomShaderMode:()=>Gb,CustomShaderPipelineStage:()=>uW,CustomShaderTranslucencyMode:()=>Yg,CylinderGeometry:()=>y2,CylinderGeometryLibrary:()=>fT,CylinderGeometryUpdater:()=>_2,CylinderGraphics:()=>t_,CylinderOutlineGeometry:()=>x2,CzmlDataSource:()=>I2,DataSource:()=>zr,DataSourceClock:()=>Rh,DataSourceCollection:()=>A2,DataSourceDisplay:()=>pv,DebugAppearance:()=>Bq,DebugCameraPrimitive:()=>bp,DebugInspector:()=>RM,DebugModelMatrixPrimitive:()=>U9,DefaultProxy:()=>$6,DepthFunction:()=>dc,DepthPlane:()=>VF,DequantizationPipelineStage:()=>hW,DerivedCommand:()=>gp,DeveloperError:()=>pe,DeviceOrientationCameraController:()=>LF,DirectionalLight:()=>Oq,DiscardEmptyTileImagePolicy:()=>gL,DiscardMissingTileImagePolicy:()=>Gw,DistanceDisplayCondition:()=>Et,DistanceDisplayConditionGeometryInstanceAttribute:()=>Xn,DoubleEndedPriorityQueue:()=>ZS,DoublyLinkedList:()=>DP,DracoLoader:()=>hb,DrawCommand:()=>He,DynamicAtmosphereLightingType:()=>yb,DynamicEnvironmentMapManager:()=>xb,DynamicGeometryBatch:()=>TT,DynamicGeometryUpdater:()=>qn,EarthOrientationParameters:()=>XR,EarthOrientationParametersSample:()=>K0,EasingFunction:()=>Qr,EllipseGeometry:()=>hl,EllipseGeometryLibrary:()=>Kl,EllipseGeometryUpdater:()=>W2,EllipseGraphics:()=>n_,EllipseOutlineGeometry:()=>Yd,Ellipsoid:()=>ne,EllipsoidGeodesic:()=>Jp,EllipsoidGeometry:()=>ra,EllipsoidGeometryUpdater:()=>v2,EllipsoidGraphics:()=>i_,EllipsoidOutlineGeometry:()=>Fd,EllipsoidPrimitive:()=>oF,EllipsoidRhumbLine:()=>ka,EllipsoidSurfaceAppearance:()=>Yq,EllipsoidTangentPlane:()=>es,EllipsoidTerrainProvider:()=>mp,EllipsoidalOccluder:()=>$b,Empty3DTileContent:()=>I1,EncodedCartesian3:()=>wn,Entity:()=>Jo,EntityCluster:()=>Nd,EntityCollection:()=>oa,EntityView:()=>gv,Event:()=>be,EventHelper:()=>mr,Expression:()=>vu,ExpressionNodeType:()=>ct,ExtrapolationType:()=>kd,FeatureDetection:()=>Mt,FeatureIdPipelineStage:()=>Og,Fog:()=>RF,ForEach:()=>Ie,FrameRateMonitor:()=>B9,FrameState:()=>ZF,Framebuffer:()=>vr,FramebufferManager:()=>ui,Frozen:()=>Y,FrustumCommands:()=>XF,FrustumGeometry:()=>nS,FrustumOutlineGeometry:()=>xF,Fullscreen:()=>xr,FullscreenButton:()=>ZN,FullscreenButtonViewModel:()=>RN,GeoJsonDataSource:()=>Cy,GeoJsonLoader:()=>yX,GeocodeType:()=>ix,Geocoder:()=>AN,GeocoderService:()=>rR,GeocoderViewModel:()=>IN,GeographicProjection:()=>Li,GeographicTilingScheme:()=>Yi,Geometry:()=>it,Geometry3DTileContent:()=>mA,GeometryAttribute:()=>Re,GeometryAttributes:()=>rn,GeometryFactory:()=>eq,GeometryInstance:()=>Tt,GeometryInstanceAttribute:()=>uc,GeometryOffsetAttribute:()=>$t,GeometryPipeline:()=>En,GeometryPipelineStage:()=>gW,GeometryType:()=>Su,GeometryUpdater:()=>$n,GeometryUpdaterSet:()=>XT,GeometryVisualizer:()=>iv,GetFeatureInfoFormat:()=>qT,Globe:()=>eF,GlobeDepth:()=>WF,GlobeSurfaceShaderSet:()=>Ew,GlobeSurfaceTile:()=>gm,GlobeSurfaceTileProvider:()=>Ow,GlobeTranslucency:()=>Yw,GlobeTranslucencyFramebuffer:()=>PF,GlobeTranslucencyState:()=>EF,GltfBufferViewLoader:()=>BC,GltfDracoLoader:()=>OC,GltfGpmLoader:()=>aX,GltfGpmLocal:()=>a1,GltfImageLoader:()=>YC,GltfIndexBufferLoader:()=>zC,GltfJsonLoader:()=>KC,GltfLoader:()=>ch,GltfLoaderUtil:()=>Ml,GltfMeshPrimitiveGpmLoader:()=>uX,GltfStructuralMetadataLoader:()=>tX,GltfTextureLoader:()=>JC,GltfVertexBufferLoader:()=>QC,GoogleEarthEnterpriseImageryProvider:()=>Hq,GoogleEarthEnterpriseMapsProvider:()=>Pw,GoogleEarthEnterpriseMetadata:()=>k0,GoogleEarthEnterpriseTerrainData:()=>sR,GoogleEarthEnterpriseTerrainProvider:()=>cq,GoogleEarthEnterpriseTileInformation:()=>Z9,GoogleGeocoderService:()=>dq,GoogleMaps:()=>FS,GpxDataSource:()=>Cv,GregorianDate:()=>Pp,GridImageryProvider:()=>Kq,GridMaterialProperty:()=>tV,GroundGeometryUpdater:()=>Fn,GroundPolylineGeometry:()=>Kx,GroundPolylinePrimitive:()=>Bm,GroundPrimitive:()=>Yc,GroupMetadata:()=>U1,HeadingPitchRange:()=>lm,HeadingPitchRoll:()=>va,Heap:()=>ER,HeightReference:()=>Ye,HeightmapEncoding:()=>fm,HeightmapTerrainData:()=>Ka,HeightmapTessellator:()=>uL,HermitePolynomialApproximation:()=>T2,HermiteSpline:()=>kg,HilbertOrder:()=>NC,HomeButton:()=>GN,HomeButtonViewModel:()=>EN,HorizontalOrigin:()=>pi,I3SBuildingSceneLayerExplorer:()=>N$,I3SBuildingSceneLayerExplorerViewModel:()=>XN,I3SDataProvider:()=>sf,I3SDecoder:()=>O9,I3SFeature:()=>Y9,I3SField:()=>z9,I3SGeometry:()=>uR,I3SLayer:()=>HS,I3SNode:()=>mR,I3SStatistics:()=>J9,I3SSublayer:()=>j9,I3SSymbology:()=>K9,I3dmLoader:()=>_X,I3dmParser:()=>xX,ITwinData:()=>qq,ITwinPlatform:()=>Ys,Iau2000Orientation:()=>nF,Iau2006XysData:()=>WR,Iau2006XysSample:()=>Lx,IauOrientationAxes:()=>iF,IauOrientationParameters:()=>tF,ImageBasedLighting:()=>u_,ImageBasedLightingPipelineStage:()=>vX,ImageMaterialProperty:()=>hg,Imagery:()=>CL,ImageryLayer:()=>Qa,ImageryLayerCollection:()=>zw,ImageryLayerFeatureInfo:()=>Yh,ImageryProvider:()=>yl,ImageryState:()=>oi,Implicit3DTileContent:()=>$C,ImplicitAvailabilityBitstream:()=>kC,ImplicitMetadataView:()=>DC,ImplicitSubdivisionScheme:()=>is,ImplicitSubtree:()=>G_,ImplicitSubtreeCache:()=>w9,ImplicitSubtreeMetadata:()=>hA,ImplicitTileCoordinates:()=>dT,ImplicitTileset:()=>lT,IndexDatatype:()=>ve,InfoBox:()=>PN,InfoBoxViewModel:()=>WN,InspectorShared:()=>$a,InstanceAttributeSemantic:()=>rs,InstancingPipelineStage:()=>JX,InterpolationAlgorithm:()=>uq,InterpolationType:()=>sh,Intersect:()=>Ut,IntersectionTests:()=>Hn,Intersections2D:()=>N0,Interval:()=>Fa,InvertClassification:()=>wL,Ion:()=>jm,IonGeocodeProviderType:()=>D0,IonGeocoderService:()=>MS,IonImageryProvider:()=>V0,IonResource:()=>Ld,IonWorldImageryStyle:()=>L0,Iso8601:()=>Ue,JobScheduler:()=>GF,JobType:()=>Oa,JsonMetadataTable:()=>_b,JulianDate:()=>j,KTX2Transcoder:()=>DR,KeyboardEventModifier:()=>ua,KeyframeNode:()=>fo,KmlCamera:()=>Vv,KmlDataSource:()=>OT,KmlLookAt:()=>gw,KmlTour:()=>yw,KmlTourFlyTo:()=>_w,KmlTourWait:()=>Tw,Label:()=>Qg,LabelCollection:()=>Ff,LabelGraphics:()=>Ym,LabelStyle:()=>No,LabelVisualizer:()=>ov,LagrangePolynomialApproximation:()=>S2,LeapSecond:()=>Bi,Light:()=>$q,LightingModel:()=>Pf,LightingPipelineStage:()=>xW,LinearApproximation:()=>bT,LinearSpline:()=>Ug,ManagedArray:()=>tl,MapMode2D:()=>id,MapProjection:()=>fq,MapboxImageryProvider:()=>vw,MapboxStyleImageryProvider:()=>e$,Material:()=>Oi,MaterialAppearance:()=>to,MaterialPipelineStage:()=>TW,MaterialProperty:()=>Ko,Math:()=>A,Matrix2:()=>Ri,Matrix3:()=>q,Matrix4:()=>v,Megatexture:()=>YL,MeshPrimitiveGpmLocal:()=>dX,MetadataClass:()=>th,MetadataClassProperty:()=>Ef,MetadataComponentType:()=>Gt,MetadataEntity:()=>An,MetadataEnum:()=>WA,MetadataEnumValue:()=>XA,MetadataPicking:()=>IF,MetadataPickingPipelineStage:()=>Ad,MetadataPipelineStage:()=>Uu,MetadataSchema:()=>Gd,MetadataSchemaLoader:()=>jC,MetadataSemantic:()=>I_,MetadataTable:()=>wu,MetadataTableProperty:()=>pA,MetadataType:()=>nt,MipmapHint:()=>xf,Model:()=>mh,Model3DTileContent:()=>Wd,ModelAlphaOptions:()=>NW,ModelAnimation:()=>LX,ModelAnimationChannel:()=>VX,ModelAnimationCollection:()=>RX,ModelAnimationLoop:()=>Ul,ModelAnimationState:()=>dh,ModelArticulation:()=>FX,ModelArticulationStage:()=>wX,ModelClippingPlanesPipelineStage:()=>UX,ModelClippingPolygonsPipelineStage:()=>BX,ModelColorPipelineStage:()=>Bg,ModelComponents:()=>fn,ModelDrawCommand:()=>jW,ModelDrawCommands:()=>eP,ModelFeature:()=>ZX,ModelFeatureTable:()=>GX,ModelGraphics:()=>eb,ModelLightingOptions:()=>HW,ModelMatrixUpdateStage:()=>QX,ModelNode:()=>OX,ModelRenderResources:()=>UW,ModelRuntimeNode:()=>qX,ModelRuntimePrimitive:()=>FW,ModelSceneGraph:()=>tP,ModelSilhouettePipelineStage:()=>BW,ModelSkin:()=>MW,ModelSplitterPipelineStage:()=>YW,ModelStatistics:()=>nP,ModelType:()=>dr,ModelUtility:()=>Yt,ModelVisualizer:()=>rv,Moon:()=>sF,MorphTargetsPipelineStage:()=>CW,MorphWeightSpline:()=>pq,MortonOrder:()=>ny,Multiple3DTileContent:()=>PP,MultisampleFramebuffer:()=>PG,NavigationHelpButton:()=>wN,NavigationHelpButtonViewModel:()=>vN,NearFarScalar:()=>vt,NeverTileDiscardPolicy:()=>n$,NodeRenderResources:()=>zW,NodeStatisticsPipelineStage:()=>jX,NodeTransformationProperty:()=>o_,OIT:()=>wF,Occluder:()=>aF,OffsetGeometryInstanceAttribute:()=>Ki,OpenCageGeocoderService:()=>gq,OpenStreetMapImageryProvider:()=>O0,OrderedGroundPrimitiveCollection:()=>X2,OrientedBoundingBox:()=>Tn,OrthographicFrustum:()=>tn,OrthographicOffCenterFrustum:()=>wr,Packable:()=>yq,PackableForInterpolation:()=>xq,Particle:()=>pR,ParticleBurst:()=>o$,ParticleEmitter:()=>r$,ParticleSystem:()=>s$,Pass:()=>Ze,PassState:()=>cc,PathGraphics:()=>tb,PathVisualizer:()=>av,PeliasGeocoderService:()=>G9,PerInstanceColorAppearance:()=>nn,PerformanceDisplay:()=>G0,PerformanceWatchdog:()=>MN,PerformanceWatchdogViewModel:()=>FN,PerspectiveFrustum:()=>Ci,PerspectiveOffCenterFrustum:()=>xl,PickDepth:()=>AF,PickDepthFramebuffer:()=>MF,PickFramebuffer:()=>UF,PickedMetadataInfo:()=>e9,Picking:()=>YF,PickingPipelineStage:()=>VW,PinBuilder:()=>f0,PixelDatatype:()=>ze,PixelFormat:()=>je,Plane:()=>en,PlaneGeometry:()=>w2,PlaneGeometryUpdater:()=>M2,PlaneGraphics:()=>zI,PlaneOutlineGeometry:()=>F2,PntsLoader:()=>oP,PntsParser:()=>O_,PointCloud:()=>g9,PointCloudEyeDomeLighting:()=>Sb,PointCloudShading:()=>Wf,PointCloudStylingPipelineStage:()=>RW,PointGraphics:()=>s_,PointPrimitive:()=>Fs,PointPrimitiveCollection:()=>Q1,PointVisualizer:()=>lv,PolygonGeometry:()=>gb,PolygonGeometryLibrary:()=>vn,PolygonGeometryUpdater:()=>D2,PolygonGraphics:()=>zm,PolygonHierarchy:()=>Da,PolygonOutlineGeometry:()=>k2,PolygonPipeline:()=>ni,Polyline:()=>Ou,PolylineArrowMaterialProperty:()=>iV,PolylineCollection:()=>ph,PolylineColorAppearance:()=>ts,PolylineDashMaterialProperty:()=>rV,PolylineGeometry:()=>h0,PolylineGeometryUpdater:()=>mv,PolylineGlowMaterialProperty:()=>aV,PolylineGraphics:()=>mc,PolylineMaterialAppearance:()=>ya,PolylineOutlineMaterialProperty:()=>dy,PolylinePipeline:()=>Ei,PolylineVisualizer:()=>fv,PolylineVolumeGeometry:()=>Y2,PolylineVolumeGeometryLibrary:()=>Th,PolylineVolumeGeometryUpdater:()=>J2,PolylineVolumeGraphics:()=>a_,PolylineVolumeOutlineGeometry:()=>K2,PositionProperty:()=>Om,PositionPropertyArray:()=>i0,PostProcessStage:()=>ao,PostProcessStageCollection:()=>fM,PostProcessStageComposite:()=>rd,PostProcessStageLibrary:()=>ru,PostProcessStageSampleMode:()=>ou,PostProcessStageTextureCache:()=>fS,PpeMetadata:()=>lX,PpeSource:()=>R$,PpeTexture:()=>cX,Primitive:()=>Sn,PrimitiveCollection:()=>ml,PrimitiveLoadPlan:()=>N_,PrimitiveOutlineGenerator:()=>M_,PrimitiveOutlinePipelineStage:()=>GW,PrimitivePipeline:()=>Yx,PrimitiveRenderResources:()=>KW,PrimitiveState:()=>Lr,PrimitiveStatisticsPipelineStage:()=>IW,PrimitiveType:()=>Pe,ProjectionPicker:()=>UN,ProjectionPickerViewModel:()=>NN,Property:()=>K,PropertyArray:()=>lV,PropertyAttribute:()=>F_,PropertyAttributeProperty:()=>jA,PropertyBag:()=>Jc,PropertyTable:()=>ol,PropertyTexture:()=>Tb,PropertyTextureProperty:()=>QA,ProviderViewModel:()=>ms,Proxy:()=>_q,QuadraticRealPolynomial:()=>Uc,QuadtreeOccluders:()=>Hw,QuadtreePrimitive:()=>$w,QuadtreeTile:()=>Kw,QuadtreeTileLoadState:()=>aa,QuadtreeTileProvider:()=>a$,QuantizedMeshTerrainData:()=>PS,QuarticRealPolynomial:()=>YR,Quaternion:()=>Xe,QuaternionSpline:()=>CX,Queue:()=>Wg,Ray:()=>ln,Rectangle:()=>le,RectangleCollisionChecker:()=>PT,RectangleGeometry:()=>RT,RectangleGeometryLibrary:()=>ws,RectangleGeometryUpdater:()=>Q2,RectangleGraphics:()=>Hm,RectangleOutlineGeometry:()=>eT,ReferenceFrame:()=>Fi,ReferenceProperty:()=>o0,RenderState:()=>Me,Renderbuffer:()=>xd,RenderbufferFormat:()=>Dc,Request:()=>Oo,RequestErrorEvent:()=>uf,RequestScheduler:()=>rc,RequestState:()=>zn,RequestType:()=>ps,Resource:()=>Le,ResourceCache:()=>Ti,ResourceCacheKey:()=>Nl,ResourceCacheStatistics:()=>wA,ResourceLoader:()=>zi,ResourceLoaderState:()=>lt,Rotation:()=>nm,RuntimeError:()=>ce,S2Cell:()=>lb,SDFSettings:()=>ta,SampledPositionProperty:()=>La,SampledProperty:()=>Bd,Sampler:()=>Ht,ScaledPositionProperty:()=>Hf,Scene:()=>n9,SceneFramebuffer:()=>aS,SceneMode:()=>re,SceneMode2DPipelineStage:()=>AW,SceneModePicker:()=>DN,SceneModePickerViewModel:()=>kN,SceneTransforms:()=>Mi,SceneTransitioner:()=>gM,ScreenSpaceCameraController:()=>TM,ScreenSpaceEventHandler:()=>au,ScreenSpaceEventType:()=>pn,SelectedFeatureIdPipelineStage:()=>zg,SelectionIndicator:()=>YN,SelectionIndicatorViewModel:()=>ON,SensorVolumePortionToDisplay:()=>hV,ShaderBuilder:()=>Mx,ShaderCache:()=>EG,ShaderDestination:()=>ye,ShaderFunction:()=>FG,ShaderProgram:()=>Kt,ShaderSource:()=>Ne,ShaderStruct:()=>wG,ShadowMap:()=>X0,ShadowMapShader:()=>_p,ShadowMode:()=>hn,ShadowVolumeAppearance:()=>Sd,ShowGeometryInstanceAttribute:()=>mn,Simon1994PlanetaryPositions:()=>rg,SimplePolylineGeometry:()=>Tq,SingleTileImageryProvider:()=>ww,SkinningPipelineStage:()=>WW,SkyAtmosphere:()=>r9,SkyBox:()=>c9,SpatialNode:()=>jM,Spdcf:()=>sX,SpecularEnvironmentCubeMap:()=>Qm,SphereEmitter:()=>l$,SphereGeometry:()=>Sq,SphereOutlineGeometry:()=>Ob,Spherical:()=>C2,Spline:()=>qi,SplitDirection:()=>Fr,Splitter:()=>QL,StaticGeometryColorBatch:()=>sm,StaticGeometryPerMaterialBatch:()=>am,StaticGroundGeometryColorBatch:()=>AV,StaticGroundGeometryPerMaterialBatch:()=>nv,StaticGroundPolylinePerMaterialBatch:()=>hv,StaticOutlineGeometryBatch:()=>PV,StencilConstants:()=>wt,StencilFunction:()=>Pn,StencilOperation:()=>st,SteppedSpline:()=>SX,Stereographic:()=>bc,StorageType:()=>wg,StripeMaterialProperty:()=>uV,StripeOrientation:()=>Zh,StructuralMetadata:()=>$s,StyleCommandsNeeded:()=>uh,StyleExpression:()=>d$,Sun:()=>f9,SunLight:()=>Bp,SunPostProcess:()=>VM,SupportedImageFormats:()=>nX,SvgPathBindingHandler:()=>aN,TaskProcessor:()=>fi,Terrain:()=>tN,TerrainData:()=>Oh,TerrainEncoding:()=>Gc,TerrainFillMesh:()=>ZL,TerrainMesh:()=>bm,TerrainOffsetProperty:()=>c_,TerrainProvider:()=>cs,TerrainQuantization:()=>sa,TerrainState:()=>so,Texture:()=>Zt,TextureAtlas:()=>Nx,TextureCache:()=>GG,TextureMagnificationFilter:()=>di,TextureManager:()=>zM,TextureMinificationFilter:()=>zt,TexturePacker:()=>SC,TextureUniform:()=>V$,TextureWrap:()=>bn,TileAvailability:()=>ef,TileBoundingRegion:()=>wd,TileBoundingS2Cell:()=>MP,TileBoundingSphere:()=>Yb,TileBoundingVolume:()=>u$,TileCoordinatesImageryProvider:()=>iN,TileDiscardPolicy:()=>h$,TileEdge:()=>un,TileImagery:()=>VL,TileMapServiceImageryProvider:()=>Uy,TileMetadata:()=>XP,TileOrientedBoundingBox:()=>Yl,TileProviderError:()=>Vo,TileReplacementQueue:()=>Jw,TileSelectionResult:()=>Dn,TileState:()=>f$,Tileset3DTileContent:()=>aP,TilesetMetadata:()=>NP,TilesetPipelineStage:()=>IX,TilingScheme:()=>Cq,TimeConstants:()=>kn,TimeDynamicImagery:()=>$T,TimeDynamicPointCloud:()=>qL,TimeInterval:()=>gn,TimeIntervalCollection:()=>Yr,TimeIntervalCollectionPositionProperty:()=>r0,TimeIntervalCollectionProperty:()=>s0,TimeStandard:()=>Nn,Timeline:()=>KN,TimelineHighlightRange:()=>zN,TimelineTrack:()=>HN,Tipsify:()=>zR,ToggleButtonViewModel:()=>lx,Tonemapper:()=>P0,TrackingReferenceFrame:()=>Kp,Transforms:()=>Rt,TranslationRotationScale:()=>fg,TranslucentTileClassification:()=>DF,TridiagonalSystemSolver:()=>f1,TrustedServers:()=>dC,TweenCollection:()=>yS,UniformState:()=>XG,UniformType:()=>BL,UrlTemplateImageryProvider:()=>Ja,VERSION:()=>_Gt,VRButton:()=>QN,VRButtonViewModel:()=>JN,VRTheWorldTerrainProvider:()=>Vq,VaryingType:()=>L$,Vector3DTileBatch:()=>Rf,Vector3DTileClampedPolylines:()=>EP,Vector3DTileContent:()=>IP,Vector3DTileGeometry:()=>cb,Vector3DTilePoints:()=>TP,Vector3DTilePolygons:()=>SP,Vector3DTilePolylines:()=>Q_,Vector3DTilePrimitive:()=>b_,VelocityOrientationProperty:()=>L2,VelocityVectorProperty:()=>a0,VertexArray:()=>jn,VertexArrayFacade:()=>Op,VertexAttributeSemantic:()=>at,VertexFormat:()=>Ge,VerticalExaggeration:()=>Vr,VerticalExaggerationPipelineStage:()=>vW,VerticalOrigin:()=>Gn,VideoSynchronizer:()=>Lq,View:()=>dS,Viewer:()=>K$,ViewportQuad:()=>p$,Visibility:()=>br,Visualizer:()=>_8,VoxelBoxShape:()=>Vp,VoxelCell:()=>ZM,VoxelContent:()=>VS,VoxelCylinderShape:()=>LS,VoxelEllipsoidShape:()=>RS,VoxelInspector:()=>qN,VoxelInspectorViewModel:()=>jN,VoxelMetadataOrder:()=>Vm,VoxelPrimitive:()=>qy,VoxelProvider:()=>g$,VoxelRenderResources:()=>DM,VoxelShape:()=>y$,VoxelShapeType:()=>vi,VoxelTraversal:()=>qM,VulkanConstants:()=>Rq,WallGeometry:()=>q2,WallGeometryLibrary:()=>ZT,WallGeometryUpdater:()=>tv,WallGraphics:()=>nb,WallOutlineGeometry:()=>ev,WebGLConstants:()=>ie,WebMapServiceImageryProvider:()=>Mw,WebMapTileServiceImageryProvider:()=>Uw,WebMercatorProjection:()=>Zi,WebMercatorTilingScheme:()=>ls,WindingOrder:()=>bs,WireframeIndexGenerator:()=>S1,WireframePipelineStage:()=>wW,_shadersAcesTonemappingStage:()=>zF,_shadersAdditiveBlend:()=>SM,_shadersAdjustTranslucentFS:()=>FL,_shadersAllMaterialAppearanceFS:()=>OG,_shadersAllMaterialAppearanceVS:()=>YG,_shadersAmbientOcclusionGenerate:()=>HF,_shadersAmbientOcclusionModulate:()=>KF,_shadersAspectRampMaterial:()=>QG,_shadersAtmosphereCommon:()=>rh,_shadersAtmosphereStageFS:()=>AX,_shadersAtmosphereStageVS:()=>XX,_shadersBasicMaterialAppearanceFS:()=>zG,_shadersBasicMaterialAppearanceVS:()=>HG,_shadersBillboardCollectionFS:()=>cP,_shadersBillboardCollectionVS:()=>lP,_shadersBlackAndWhite:()=>JF,_shadersBloomComposite:()=>QF,_shadersBrdfLutGeneratorFS:()=>cF,_shadersBrightPass:()=>CM,_shadersBrightness:()=>jF,_shadersBumpMapMaterial:()=>jG,_shadersCPUStylingStageFS:()=>iW,_shadersCPUStylingStageVS:()=>nW,_shadersCheckerboardMaterial:()=>qG,_shadersCloudCollectionFS:()=>_9,_shadersCloudCollectionVS:()=>T9,_shadersCloudNoiseFS:()=>S9,_shadersCloudNoiseVS:()=>C9,_shadersCompareAndPackTranslucentDepth:()=>kF,_shadersCompositeOITFS:()=>vF,_shadersCompositeTranslucentClassification:()=>lS,_shadersComputeIrradianceFS:()=>BA,_shadersComputeRadianceMapFS:()=>OA,_shadersContrastBias:()=>qF,_shadersConvolveSpecularMapFS:()=>YA,_shadersConvolveSpecularMapVS:()=>zA,_shadersCustomShaderStageFS:()=>sW,_shadersCustomShaderStageVS:()=>rW,_shadersCzmBuiltins:()=>vx,_shadersDepthOfField:()=>$F,_shadersDepthPlaneFS:()=>_F,_shadersDepthPlaneVS:()=>TF,_shadersDepthView:()=>eM,_shadersDepthViewPacked:()=>C$,_shadersDotMaterial:()=>$G,_shadersEdgeDetection:()=>tM,_shadersElevationBandMaterial:()=>eI,_shadersElevationContourMaterial:()=>tI,_shadersElevationRampMaterial:()=>nI,_shadersEllipsoidFS:()=>GL,_shadersEllipsoidSurfaceAppearanceFS:()=>k9,_shadersEllipsoidSurfaceAppearanceVS:()=>D9,_shadersEllipsoidVS:()=>IL,_shadersFXAA:()=>oM,_shadersFXAA3_11:()=>dM,_shadersFadeMaterial:()=>iI,_shadersFeatureIdStageFS:()=>aW,_shadersFeatureIdStageVS:()=>cW,_shadersFilmicTonemapping:()=>nM,_shadersGaussianBlur1D:()=>Ky,_shadersGeometryStageFS:()=>fW,_shadersGeometryStageVS:()=>pW,_shadersGlobeFS:()=>Rw,_shadersGlobeVS:()=>Zw,_shadersGridMaterial:()=>oI,_shadersGroundAtmosphere:()=>hL,_shadersHSBToRGB:()=>YZ,_shadersHSLToRGB:()=>zZ,_shadersImageBasedLightingStageFS:()=>PX,_shadersInstancingStageCommon:()=>YX,_shadersInstancingStageVS:()=>zX,_shadersIntersectBox:()=>PM,_shadersIntersectClippingPlanes:()=>WM,_shadersIntersectCylinder:()=>vM,_shadersIntersectDepth:()=>XM,_shadersIntersectEllipsoid:()=>wM,_shadersIntersectLongitude:()=>DL,_shadersIntersection:()=>TS,_shadersIntersectionUtils:()=>AM,_shadersLegacyInstancingStageVS:()=>HX,_shadersLensFlare:()=>rM,_shadersLightingStageFS:()=>yW,_shadersMaterialStageFS:()=>_W,_shadersMegatexture:()=>kM,_shadersMetadataStageFS:()=>lW,_shadersMetadataStageVS:()=>dW,_shadersModelClippingPlanesStageFS:()=>NX,_shadersModelClippingPolygonsStageFS:()=>DX,_shadersModelClippingPolygonsStageVS:()=>kX,_shadersModelColorStageFS:()=>MX,_shadersModelFS:()=>$W,_shadersModelSilhouetteStageFS:()=>kW,_shadersModelSilhouetteStageVS:()=>DW,_shadersModelSplitterStageFS:()=>OW,_shadersModelVS:()=>qW,_shadersModifiedReinhardTonemapping:()=>sM,_shadersMorphTargetsStageVS:()=>SW,_shadersNightVision:()=>aM,_shadersNormalMapMaterial:()=>rI,_shadersOctree:()=>UM,_shadersPassThrough:()=>od,_shadersPassThroughDepth:()=>Yy,_shadersPbrNeutralTonemapping:()=>iM,_shadersPerInstanceColorAppearanceFS:()=>bI,_shadersPerInstanceColorAppearanceVS:()=>gI,_shadersPerInstanceFlatColorAppearanceFS:()=>Bx,_shadersPerInstanceFlatColorAppearanceVS:()=>yI,_shadersPointCloudEyeDomeLighting:()=>mX,_shadersPointCloudStylingStageVS:()=>LW,_shadersPointPrimitiveCollectionFS:()=>ly,_shadersPointPrimitiveCollectionVS:()=>m2,_shadersPolygonSignedDistanceFS:()=>kA,_shadersPolylineArrowMaterial:()=>sI,_shadersPolylineColorAppearanceVS:()=>WI,_shadersPolylineCommon:()=>Cd,_shadersPolylineDashMaterial:()=>aI,_shadersPolylineFS:()=>Qx,_shadersPolylineGlowMaterial:()=>cI,_shadersPolylineMaterialAppearanceVS:()=>PI,_shadersPolylineOutlineMaterial:()=>lI,_shadersPolylineShadowVolumeFS:()=>GI,_shadersPolylineShadowVolumeMorphFS:()=>II,_shadersPolylineShadowVolumeMorphVS:()=>AI,_shadersPolylineShadowVolumeVS:()=>XI,_shadersPolylineVS:()=>pP,_shadersPrimitiveOutlineStageFS:()=>EW,_shadersPrimitiveOutlineStageVS:()=>ZW,_shadersRGBToHSB:()=>HZ,_shadersRGBToHSL:()=>KZ,_shadersRGBToXYZ:()=>JZ,_shadersReinhardTonemapping:()=>cM,_shadersReprojectWebMercatorFS:()=>kw,_shadersReprojectWebMercatorVS:()=>Dw,_shadersRimLightingMaterial:()=>dI,_shadersSelectedFeatureIdStageCommon:()=>T1,_shadersShadowVolumeAppearanceFS:()=>EC,_shadersShadowVolumeAppearanceVS:()=>TI,_shadersShadowVolumeFS:()=>dg,_shadersSilhouette:()=>lM,_shadersSkinningStageVS:()=>XW,_shadersSkyAtmosphereCommon:()=>zL,_shadersSkyAtmosphereFS:()=>i9,_shadersSkyAtmosphereVS:()=>o9,_shadersSkyBoxFS:()=>s9,_shadersSkyBoxVS:()=>a9,_shadersSlopeRampMaterial:()=>uI,_shadersStripeMaterial:()=>mI,_shadersSunFS:()=>l9,_shadersSunTextureFS:()=>d9,_shadersSunVS:()=>u9,_shadersTexturedMaterialAppearanceFS:()=>KG,_shadersTexturedMaterialAppearanceVS:()=>JG,_shadersVector3DTileClampedPolylinesFS:()=>RP,_shadersVector3DTileClampedPolylinesVS:()=>LP,_shadersVector3DTilePolylinesVS:()=>CP,_shadersVectorTileVS:()=>MC,_shadersVerticalExaggerationStageVS:()=>PW,_shadersViewportQuadFS:()=>V9,_shadersViewportQuadVS:()=>Rx,_shadersVoxelFS:()=>GM,_shadersVoxelUtils:()=>EM,_shadersVoxelVS:()=>IM,_shadersWater:()=>fI,_shadersWaterMaskMaterial:()=>hI,_shadersXYZToRGB:()=>QZ,_shadersacesTonemapping:()=>jZ,_shadersalphaWeight:()=>qZ,_shadersantialias:()=>$Z,_shadersapplyHSBShift:()=>eE,_shadersapproximateSphericalCoordinates:()=>tE,_shadersapproximateTanh:()=>nE,_shadersbackFacing:()=>iE,_shadersbranchFreeTernary:()=>oE,_shaderscascadeColor:()=>rE,_shaderscascadeDistance:()=>sE,_shaderscascadeMatrix:()=>aE,_shaderscascadeWeights:()=>cE,_shadersclipPolygons:()=>lE,_shaderscolumbusViewMorph:()=>dE,_shaderscomputeAtmosphereColor:()=>uE,_shaderscomputeGroundAtmosphereScattering:()=>mE,_shaderscomputePosition:()=>hE,_shaderscomputeScattering:()=>fE,_shadersconvertUvToBox:()=>FM,_shadersconvertUvToCylinder:()=>MM,_shadersconvertUvToEllipsoid:()=>NM,_shaderscosineAndSine:()=>pE,_shadersdecompressTextureCoordinates:()=>bE,_shadersdegreesPerRadian:()=>$R,_shadersdepthClamp:()=>gE,_shadersdepthRange:()=>eZ,_shadersdepthRangeStruct:()=>FZ,_shaderseastNorthUpToEyeCoordinates:()=>yE,_shadersellipsoidContainsPoint:()=>xE,_shadersellipsoidTextureCoordinates:()=>_E,_shadersepsilon1:()=>tZ,_shadersepsilon2:()=>nZ,_shadersepsilon3:()=>iZ,_shadersepsilon4:()=>oZ,_shadersepsilon5:()=>rZ,_shadersepsilon6:()=>sZ,_shadersepsilon7:()=>aZ,_shadersequalsEpsilon:()=>TE,_shaderseyeOffset:()=>SE,_shaderseyeToWindowCoordinates:()=>CE,_shadersfastApproximateAtan:()=>VE,_shadersfog:()=>LE,_shadersgammaCorrect:()=>RE,_shadersgeodeticSurfaceNormal:()=>ZE,_shadersgetDefaultMaterial:()=>EE,_shadersgetDynamicAtmosphereLightDirection:()=>GE,_shadersgetLambertDiffuse:()=>IE,_shadersgetSpecular:()=>AE,_shadersgetWaterNoise:()=>XE,_shadershue:()=>WE,_shadersinfinity:()=>cZ,_shadersinverseGamma:()=>PE,_shadersisEmpty:()=>vE,_shadersisFull:()=>wE,_shaderslatitudeToWebMercatorFraction:()=>FE,_shaderslineDistance:()=>ME,_shaderslinearToSrgb:()=>NE,_shadersluminance:()=>UE,_shadersmaterial:()=>MZ,_shadersmaterialInput:()=>NZ,_shadersmaximumComponent:()=>kE,_shadersmetersPerPixel:()=>DE,_shadersmodelMaterial:()=>UZ,_shadersmodelToWindowCoordinates:()=>BE,_shadersmodelVertexOutput:()=>kZ,_shadersmultiplyWithColorBalance:()=>OE,_shadersnearFarScalar:()=>YE,_shadersoctDecode:()=>zE,_shadersoneOverPi:()=>lZ,_shadersoneOverTwoPi:()=>dZ,_shaderspackDepth:()=>HE,_shaderspassCesium3DTile:()=>uZ,_shaderspassCesium3DTileClassification:()=>mZ,_shaderspassCesium3DTileClassificationIgnoreShow:()=>hZ,_shaderspassClassification:()=>fZ,_shaderspassCompute:()=>pZ,_shaderspassEnvironment:()=>bZ,_shaderspassGlobe:()=>gZ,_shaderspassOpaque:()=>yZ,_shaderspassOverlay:()=>xZ,_shaderspassTerrainClassification:()=>_Z,_shaderspassTranslucent:()=>TZ,_shaderspassVoxels:()=>SZ,_shaderspbrLighting:()=>KE,_shaderspbrNeutralTonemapping:()=>JE,_shadersphong:()=>QE,_shaderspi:()=>CZ,_shaderspiOverFour:()=>VZ,_shaderspiOverSix:()=>LZ,_shaderspiOverThree:()=>RZ,_shaderspiOverTwo:()=>ZZ,_shadersplaneDistance:()=>jE,_shaderspointAlongRay:()=>qE,_shadersradiansPerDegree:()=>EZ,_shadersray:()=>DZ,_shadersrayEllipsoidIntersectionInterval:()=>$E,_shadersraySegment:()=>BZ,_shadersraySphereIntersectionInterval:()=>eG,_shadersreadDepth:()=>tG,_shadersreadNonPerspective:()=>nG,_shadersreverseLogDepth:()=>iG,_shadersround:()=>oG,_shaderssaturation:()=>rG,_shaderssceneMode2D:()=>GZ,_shaderssceneMode3D:()=>IZ,_shaderssceneModeColumbusView:()=>AZ,_shaderssceneModeMorphing:()=>XZ,_shadersshadowDepthCompare:()=>sG,_shadersshadowParameters:()=>OZ,_shadersshadowVisibility:()=>aG,_shaderssignNotZero:()=>cG,_shaderssolarRadius:()=>WZ,_shaderssphericalHarmonics:()=>lG,_shaderssrgbToLinear:()=>dG,_shaderstangentToEyeSpaceMatrix:()=>uG,_shaderstextureCube:()=>mG,_shadersthreePiOver2:()=>PZ,_shaderstransformPlane:()=>hG,_shaderstranslateRelativeToEye:()=>fG,_shaderstranslucentPhong:()=>pG,_shaderstranspose:()=>bG,_shaderstwoPi:()=>vZ,_shadersunpackClippingExtents:()=>gG,_shadersunpackDepth:()=>yG,_shadersunpackFloat:()=>xG,_shadersunpackUint:()=>_G,_shadersvalueTransform:()=>TG,_shadersvertexLogDepth:()=>SG,_shaderswebMercatorMaxLatitude:()=>wZ,_shaderswindowToEyeCoordinates:()=>CG,_shaderswriteDepthClamp:()=>VG,_shaderswriteLogDepth:()=>LG,_shaderswriteNonPerspective:()=>RG,addBuffer:()=>VA,addDefaults:()=>bA,addExtensionsRequired:()=>TA,addExtensionsUsed:()=>Fu,addPipelineExtras:()=>Lg,addToArray:()=>Ws,appendForwardSlash:()=>VR,arrayRemoveDuplicates:()=>yo,barycentricCoordinates:()=>Ex,binarySearch:()=>Eo,buildModuleUrl:()=>jt,buildVoxelDrawCommands:()=>OM,clone:()=>ke,combine:()=>pt,computeFlyToLocationForRectangle:()=>JT,createBillboardPointCallback:()=>z_,createCommand:()=>yn,createDefaultImageryProviderViewModels:()=>VN,createDefaultTerrainProviderViewModels:()=>LN,createElevationBandMaterial:()=>x$,createGooglePhotorealistic3DTileset:()=>_$,createGuid:()=>Mn,createMaterialPropertyDescriptor:()=>Go,createOsmBuildingsAsync:()=>T$,createPropertyDescriptor:()=>me,createRawPropertyDescriptor:()=>Kc,createTangentSpaceDebugPrimitive:()=>S$,createTaskProcessorWorker:()=>Z$,createUniform:()=>FR,createUniformArray:()=>MR,createWorldBathymetryAsync:()=>A9,createWorldImageryAsync:()=>R0,createWorldTerrainAsync:()=>US,decodeGoogleEarthEnterpriseData:()=>X9,decodeVectorPolylinePositions:()=>GP,defaultValue:()=>Eq,defer:()=>Rl,defined:()=>l,demodernizeShader:()=>ZG,deprecationWarning:()=>Xs,destroyObject:()=>he,exportKml:()=>L8,findAccessorMinMax:()=>L_,findContentMetadata:()=>q_,findGroupMetadata:()=>$_,findTileMetadata:()=>WP,forEachTextureInMaterial:()=>HC,formatError:()=>dp,freezeRenderState:()=>k3,getAbsoluteUri:()=>lf,getAccessorByteStride:()=>Fl,getBaseUri:()=>LR,getBinaryAccessor:()=>Rd,getClipAndStyleCode:()=>p9,getClippingFunction:()=>S0,getComponentReader:()=>pb,getElement:()=>Cn,getExtensionFromUri:()=>gx,getFilenameFromUri:()=>t0,getImageFromTypedArray:()=>YM,getImagePixels:()=>Wm,getJsonFromTypedArray:()=>Qo,getMagic:()=>qm,getMetadataClassProperty:()=>$M,getMetadataProperty:()=>t9,getStringFromTypedArray:()=>Pl,getTimestamp:()=>gi,hasExtension:()=>ei,heightReferenceOnEntityPropertyChanged:()=>ib,isBitSet:()=>Pc,isBlobUri:()=>yx,isCrossOriginUrl:()=>Q0,isDataUri:()=>vp,isLeapYear:()=>Xm,knockout:()=>Se,knockout_3_5_1:()=>JS,knockout_es5:()=>sN,loadAndExecuteScript:()=>xx,loadCubeMap:()=>NG,loadImageFromTypedArray:()=>S_,loadKTX2:()=>El,mergeSort:()=>E0,moveTechniqueRenderStates:()=>_A,moveTechniquesToExtension:()=>SA,numberOfComponentsForType:()=>Ed,objectToQuery:()=>_x,oneTimeWarning:()=>ht,parseBatchTable:()=>Lb,parseFeatureMetadataLegacy:()=>eX,parseGlb:()=>yA,parseResponseHeaders:()=>RR,parseStructuralMetadata:()=>$A,pickModel:()=>L1,pointInsideTriangle:()=>Gq,preprocess3DTileContent:()=>kb,processVoxelProperties:()=>BM,queryToObject:()=>bd,readAccessorPacked:()=>LA,removeExtension:()=>R_,removeExtensionsRequired:()=>gA,removeExtensionsUsed:()=>V_,removePipelineExtras:()=>xA,removeUnusedElements:()=>CA,resizeImageToNextPowerOfTwo:()=>Eg,sampleTerrain:()=>Lw,sampleTerrainMostDetailed:()=>KT,scaleToGeodeticSurface:()=>bx,srgbToLinear:()=>kS,subdivideArray:()=>SI,subscribeAndEvaluate:()=>Aa,updateAccessorComponentTypes:()=>RA,updateVersion:()=>ZA,usesExtension:()=>lr,viewerCesium3DTilesInspectorMixin:()=>J$,viewerCesiumInspectorMixin:()=>Q$,viewerDragDropMixin:()=>q$,viewerPerformanceWatchdogMixin:()=>$$,viewerVoxelInspectorMixin:()=>eee,webGLConstantToGlslType:()=>Iq,wrapFunction:()=>W9,writeTextToCanvas:()=>K_});var U2o=x(_(),1);var ilo=x(_(),1);var gIt=x(_(),1);var kGt=x(_(),1);var WGt=x(_(),1);var RGt=x(_(),1);function oRe(e){return e!=null}var l=oRe;var GGt=x(_(),1);function fx(e){this.name="DeveloperError",this.message=e;let t;try{throw new Error}catch(n){t=n.stack}this.stack=t}l(Object.create)&&(fx.prototype=Object.create(Error.prototype),fx.prototype.constructor=fx);fx.prototype.toString=function(){let e=`${this.name}: ${this.message}`;return l(this.stack)&&(e+=`
73
73
  ${this.stack.toString()}`),e};fx.throwInstantiationError=function(){throw new fx("This function defines an interface and should not be called directly.")};var pe=fx;var Is={};Is.typeOf={};function rRe(e){return`${e} is required, actual value was undefined`}function eC(e,t,n){return`Expected ${n} to be typeof ${t}, actual typeof was ${e}`}Is.defined=function(e,t){if(!l(t))throw new pe(rRe(e))};Is.typeOf.func=function(e,t){if(typeof t!="function")throw new pe(eC(typeof t,"function",e))};Is.typeOf.string=function(e,t){if(typeof t!="string")throw new pe(eC(typeof t,"string",e))};Is.typeOf.number=function(e,t){if(typeof t!="number")throw new pe(eC(typeof t,"number",e))};Is.typeOf.number.lessThan=function(e,t,n){if(Is.typeOf.number(e,t),t>=n)throw new pe(`Expected ${e} to be less than ${n}, actual value was ${t}`)};Is.typeOf.number.lessThanOrEquals=function(e,t,n){if(Is.typeOf.number(e,t),t>n)throw new pe(`Expected ${e} to be less than or equal to ${n}, actual value was ${t}`)};Is.typeOf.number.greaterThan=function(e,t,n){if(Is.typeOf.number(e,t),t<=n)throw new pe(`Expected ${e} to be greater than ${n}, actual value was ${t}`)};Is.typeOf.number.greaterThanOrEquals=function(e,t,n){if(Is.typeOf.number(e,t),t<n)throw new pe(`Expected ${e} to be greater than or equal to ${n}, actual value was ${t}`)};Is.typeOf.object=function(e,t){if(typeof t!="object")throw new pe(eC(typeof t,"object",e))};Is.typeOf.bool=function(e,t){if(typeof t!="boolean")throw new pe(eC(typeof t,"boolean",e))};Is.typeOf.bigint=function(e,t){if(typeof t!="bigint")throw new pe(eC(typeof t,"bigint",e))};Is.typeOf.number.equals=function(e,t,n,i){if(Is.typeOf.number(e,n),Is.typeOf.number(t,i),n!==i)throw new pe(`${e} must be equal to ${t}, the actual values are ${n} and ${i}`)};var bo=Is;var FGt=x(_(),1),jY=x(t5(),1);var tt={};tt.EPSILON1=.1;tt.EPSILON2=.01;tt.EPSILON3=.001;tt.EPSILON4=1e-4;tt.EPSILON5=1e-5;tt.EPSILON6=1e-6;tt.EPSILON7=1e-7;tt.EPSILON8=1e-8;tt.EPSILON9=1e-9;tt.EPSILON10=1e-10;tt.EPSILON11=1e-11;tt.EPSILON12=1e-12;tt.EPSILON13=1e-13;tt.EPSILON14=1e-14;tt.EPSILON15=1e-15;tt.EPSILON16=1e-16;tt.EPSILON17=1e-17;tt.EPSILON18=1e-18;tt.EPSILON19=1e-19;tt.EPSILON20=1e-20;tt.EPSILON21=1e-21;tt.GRAVITATIONALPARAMETER=3986004418e5;tt.SOLAR_RADIUS=6955e5;tt.LUNAR_RADIUS=1737400;tt.SIXTY_FOUR_KILOBYTES=64*1024;tt.FOUR_GIGABYTES=4*1024*1024*1024;tt.sign=Math.sign??function(t){return t=+t,t===0||t!==t?t:t>0?1:-1};tt.signNotZero=function(e){return e<0?-1:1};tt.toSNorm=function(e,t){return t=t??255,Math.round((tt.clamp(e,-1,1)*.5+.5)*t)};tt.fromSNorm=function(e,t){return t=t??255,tt.clamp(e,0,t)/t*2-1};tt.normalize=function(e,t,n){return n=Math.max(n-t,0),n===0?0:tt.clamp((e-t)/n,0,1)};tt.sinh=Math.sinh??function(t){return(Math.exp(t)-Math.exp(-t))/2};tt.cosh=Math.cosh??function(t){return(Math.exp(t)+Math.exp(-t))/2};tt.lerp=function(e,t,n){return(1-n)*e+n*t};tt.PI=Math.PI;tt.ONE_OVER_PI=1/Math.PI;tt.PI_OVER_TWO=Math.PI/2;tt.PI_OVER_THREE=Math.PI/3;tt.PI_OVER_FOUR=Math.PI/4;tt.PI_OVER_SIX=Math.PI/6;tt.THREE_PI_OVER_TWO=3*Math.PI/2;tt.TWO_PI=2*Math.PI;tt.ONE_OVER_TWO_PI=1/(2*Math.PI);tt.RADIANS_PER_DEGREE=Math.PI/180;tt.DEGREES_PER_RADIAN=180/Math.PI;tt.RADIANS_PER_ARCSECOND=tt.RADIANS_PER_DEGREE/3600;tt.toRadians=function(e){return e*tt.RADIANS_PER_DEGREE};tt.toDegrees=function(e){return e*tt.DEGREES_PER_RADIAN};tt.convertLongitudeRange=function(e){let t=tt.TWO_PI,n=e-Math.floor(e/t)*t;return n<-Math.PI?n+t:n>=Math.PI?n-t:n};tt.clampToLatitudeRange=function(e){return tt.clamp(e,-1*tt.PI_OVER_TWO,tt.PI_OVER_TWO)};tt.negativePiToPi=function(e){return e>=-tt.PI&&e<=tt.PI?e:tt.zeroToTwoPi(e+tt.PI)-tt.PI};tt.zeroToTwoPi=function(e){if(e>=0&&e<=tt.TWO_PI)return e;let t=tt.mod(e,tt.TWO_PI);return Math.abs(t)<tt.EPSILON14&&Math.abs(e)>tt.EPSILON14?tt.TWO_PI:t};tt.mod=function(e,t){return tt.sign(e)===tt.sign(t)&&Math.abs(e)<Math.abs(t)?e:(e%t+t)%t};tt.equalsEpsilon=function(e,t,n,i){n=n??0,i=i??n;let o=Math.abs(e-t);return o<=i||o<=n*Math.max(Math.abs(e),Math.abs(t))};tt.lessThan=function(e,t,n){return e-t<-n};tt.lessThanOrEquals=function(e,t,n){return e-t<n};tt.greaterThan=function(e,t,n){return e-t>n};tt.greaterThanOrEquals=function(e,t,n){return e-t>-n};var n5=[1];tt.factorial=function(e){let t=n5.length;if(e>=t){let n=n5[t-1];for(let i=t;i<=e;i++){let o=n*i;n5.push(o),n=o}}return n5[e]};tt.incrementWrap=function(e,t,n){return n=n??0,++e,e>t&&(e=n),e};tt.isPowerOfTwo=function(e){return e!==0&&(e&e-1)===0};tt.nextPowerOfTwo=function(e){return--e,e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,++e,e};tt.previousPowerOfTwo=function(e){return e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,e|=e>>32,e=(e>>>0)-(e>>>1),e};tt.clamp=function(e,t,n){return e<t?t:e>n?n:e};var ree=new jY.default;tt.setRandomNumberSeed=function(e){ree=new jY.default(e)};tt.nextRandomNumber=function(){return ree.random()};tt.randomBetween=function(e,t){return tt.nextRandomNumber()*(t-e)+e};tt.acosClamped=function(e){return Math.acos(tt.clamp(e,-1,1))};tt.asinClamped=function(e){return Math.asin(tt.clamp(e,-1,1))};tt.chordLength=function(e,t){return 2*t*Math.sin(e*.5)};tt.logBase=function(e,t){return Math.log(e)/Math.log(t)};tt.cbrt=Math.cbrt??function(t){let n=Math.pow(Math.abs(t),.3333333333333333);return t<0?-n:n};tt.log2=Math.log2??function(t){return Math.log(t)*Math.LOG2E};tt.fog=function(e,t){let n=e*t;return 1-Math.exp(-(n*n))};tt.fastApproximateAtan=function(e){return e*(-.1784*Math.abs(e)-.0663*e*e+1.0301)};tt.fastApproximateAtan2=function(e,t){let n,i=Math.abs(e);n=Math.abs(t);let o=Math.max(i,n);n=Math.min(i,n);let r=n/o;return i=tt.fastApproximateAtan(r),i=Math.abs(t)>Math.abs(e)?tt.PI_OVER_TWO-i:i,i=e<0?tt.PI-i:i,i=t<0?-i:i,i};var A=tt;function Ke(e,t,n){this.x=e??0,this.y=t??0,this.z=n??0}Ke.fromSpherical=function(e,t){l(t)||(t=new Ke);let n=e.clock,i=e.cone,o=e.magnitude??1,r=o*Math.sin(i);return t.x=r*Math.cos(n),t.y=r*Math.sin(n),t.z=o*Math.cos(i),t};Ke.fromElements=function(e,t,n,i){return l(i)?(i.x=e,i.y=t,i.z=n,i):new Ke(e,t,n)};Ke.clone=function(e,t){if(l(e))return l(t)?(t.x=e.x,t.y=e.y,t.z=e.z,t):new Ke(e.x,e.y,e.z)};Ke.fromCartesian4=Ke.clone;Ke.packedLength=3;Ke.pack=function(e,t,n){return n=n??0,t[n++]=e.x,t[n++]=e.y,t[n]=e.z,t};Ke.unpack=function(e,t,n){return t=t??0,l(n)||(n=new Ke),n.x=e[t++],n.y=e[t++],n.z=e[t],n};Ke.packArray=function(e,t){let n=e.length,i=n*3;l(t)?!Array.isArray(t)&&t.length!==i||t.length!==i&&(t.length=i):t=new Array(i);for(let o=0;o<n;++o)Ke.pack(e[o],t,o*3);return t};Ke.unpackArray=function(e,t){let n=e.length;l(t)?t.length=n/3:t=new Array(n/3);for(let i=0;i<n;i+=3){let o=i/3;t[o]=Ke.unpack(e,i,t[o])}return t};Ke.fromArray=Ke.unpack;Ke.maximumComponent=function(e){return Math.max(e.x,e.y,e.z)};Ke.minimumComponent=function(e){return Math.min(e.x,e.y,e.z)};Ke.minimumByComponent=function(e,t,n){return n.x=Math.min(e.x,t.x),n.y=Math.min(e.y,t.y),n.z=Math.min(e.z,t.z),n};Ke.maximumByComponent=function(e,t,n){return n.x=Math.max(e.x,t.x),n.y=Math.max(e.y,t.y),n.z=Math.max(e.z,t.z),n};Ke.clamp=function(e,t,n,i){let o=A.clamp(e.x,t.x,n.x),r=A.clamp(e.y,t.y,n.y),s=A.clamp(e.z,t.z,n.z);return i.x=o,i.y=r,i.z=s,i};Ke.magnitudeSquared=function(e){return e.x*e.x+e.y*e.y+e.z*e.z};Ke.magnitude=function(e){return Math.sqrt(Ke.magnitudeSquared(e))};var o5=new Ke;Ke.distance=function(e,t){return Ke.subtract(e,t,o5),Ke.magnitude(o5)};Ke.distanceSquared=function(e,t){return Ke.subtract(e,t,o5),Ke.magnitudeSquared(o5)};Ke.normalize=function(e,t){let n=Ke.magnitude(e);return t.x=e.x/n,t.y=e.y/n,t.z=e.z/n,t};Ke.dot=function(e,t){return e.x*t.x+e.y*t.y+e.z*t.z};Ke.multiplyComponents=function(e,t,n){return n.x=e.x*t.x,n.y=e.y*t.y,n.z=e.z*t.z,n};Ke.divideComponents=function(e,t,n){return n.x=e.x/t.x,n.y=e.y/t.y,n.z=e.z/t.z,n};Ke.add=function(e,t,n){return n.x=e.x+t.x,n.y=e.y+t.y,n.z=e.z+t.z,n};Ke.subtract=function(e,t,n){return n.x=e.x-t.x,n.y=e.y-t.y,n.z=e.z-t.z,n};Ke.multiplyByScalar=function(e,t,n){return n.x=e.x*t,n.y=e.y*t,n.z=e.z*t,n};Ke.divideByScalar=function(e,t,n){return n.x=e.x/t,n.y=e.y/t,n.z=e.z/t,n};Ke.negate=function(e,t){return t.x=-e.x,t.y=-e.y,t.z=-e.z,t};Ke.abs=function(e,t){return t.x=Math.abs(e.x),t.y=Math.abs(e.y),t.z=Math.abs(e.z),t};var see=new Ke;Ke.lerp=function(e,t,n,i){return Ke.multiplyByScalar(t,n,see),i=Ke.multiplyByScalar(e,1-n,i),Ke.add(see,i,i)};var i5=new Ke,qY=new Ke;Ke.angleBetween=function(e,t){Ke.normalize(e,i5),Ke.normalize(t,qY);let n=Ke.dot(i5,qY),i=Ke.magnitude(Ke.cross(i5,qY,i5));return Math.atan2(i,n)};var sRe=new Ke;Ke.mostOrthogonalAxis=function(e,t){let n=Ke.normalize(e,sRe);return Ke.abs(n,n),n.x<=n.y?n.x<=n.z?t=Ke.clone(Ke.UNIT_X,t):t=Ke.clone(Ke.UNIT_Z,t):n.y<=n.z?t=Ke.clone(Ke.UNIT_Y,t):t=Ke.clone(Ke.UNIT_Z,t),t};Ke.projectVector=function(e,t,n){let i=Ke.dot(e,t)/Ke.dot(t,t);return Ke.multiplyByScalar(t,i,n)};Ke.equals=function(e,t){return e===t||l(e)&&l(t)&&e.x===t.x&&e.y===t.y&&e.z===t.z};Ke.equalsArray=function(e,t,n){return e.x===t[n]&&e.y===t[n+1]&&e.z===t[n+2]};Ke.equalsEpsilon=function(e,t,n,i){return e===t||l(e)&&l(t)&&A.equalsEpsilon(e.x,t.x,n,i)&&A.equalsEpsilon(e.y,t.y,n,i)&&A.equalsEpsilon(e.z,t.z,n,i)};Ke.cross=function(e,t,n){let i=e.x,o=e.y,r=e.z,s=t.x,a=t.y,c=t.z,d=o*c-r*a,u=r*s-i*c,h=i*a-o*s;return n.x=d,n.y=u,n.z=h,n};Ke.midpoint=function(e,t,n){return n.x=(e.x+t.x)*.5,n.y=(e.y+t.y)*.5,n.z=(e.z+t.z)*.5,n};Ke.fromDegrees=function(e,t,n,i,o){return e=A.toRadians(e),t=A.toRadians(t),Ke.fromRadians(e,t,n,i,o)};var xu=new Ke,tC=new Ke;Ke._ellipsoidRadiiSquared=new Ke(6378137*6378137,6378137*6378137,6356752314245179e-9*6356752314245179e-9);Ke.fromRadians=function(e,t,n,i,o){n=n??0;let r=l(i)?i.radiiSquared:Ke._ellipsoidRadiiSquared,s=Math.cos(t);xu.x=s*Math.cos(e),xu.y=s*Math.sin(e),xu.z=Math.sin(t),xu=Ke.normalize(xu,xu),Ke.multiplyComponents(r,xu,tC);let a=Math.sqrt(Ke.dot(xu,tC));return tC=Ke.divideByScalar(tC,a,tC),xu=Ke.multiplyByScalar(xu,n,xu),l(o)||(o=new Ke),Ke.add(tC,xu,o)};Ke.fromDegreesArray=function(e,t,n){let i=e.length;l(n)?n.length=i/2:n=new Array(i/2);for(let o=0;o<i;o+=2){let r=e[o],s=e[o+1],a=o/2;n[a]=Ke.fromDegrees(r,s,0,t,n[a])}return n};Ke.fromRadiansArray=function(e,t,n){let i=e.length;l(n)?n.length=i/2:n=new Array(i/2);for(let o=0;o<i;o+=2){let r=e[o],s=e[o+1],a=o/2;n[a]=Ke.fromRadians(r,s,0,t,n[a])}return n};Ke.fromDegreesArrayHeights=function(e,t,n){let i=e.length;l(n)?n.length=i/3:n=new Array(i/3);for(let o=0;o<i;o+=3){let r=e[o],s=e[o+1],a=e[o+2],c=o/3;n[c]=Ke.fromDegrees(r,s,a,t,n[c])}return n};Ke.fromRadiansArrayHeights=function(e,t,n){let i=e.length;l(n)?n.length=i/3:n=new Array(i/3);for(let o=0;o<i;o+=3){let r=e[o],s=e[o+1],a=e[o+2],c=o/3;n[c]=Ke.fromRadians(r,s,a,t,n[c])}return n};Ke.ZERO=Object.freeze(new Ke(0,0,0));Ke.ONE=Object.freeze(new Ke(1,1,1));Ke.UNIT_X=Object.freeze(new Ke(1,0,0));Ke.UNIT_Y=Object.freeze(new Ke(0,1,0));Ke.UNIT_Z=Object.freeze(new Ke(0,0,1));Ke.prototype.clone=function(e){return Ke.clone(this,e)};Ke.prototype.equals=function(e){return Ke.equals(this,e)};Ke.prototype.equalsEpsilon=function(e,t,n){return Ke.equalsEpsilon(this,e,t,n)};Ke.prototype.toString=function(){return`(${this.x}, ${this.y}, ${this.z})`};var m=Ke;var dIt=x(_(),1);var YGt=x(_(),1);function ft(e,t,n,i){this.x=e??0,this.y=t??0,this.z=n??0,this.w=i??0}ft.fromElements=function(e,t,n,i,o){return l(o)?(o.x=e,o.y=t,o.z=n,o.w=i,o):new ft(e,t,n,i)};ft.fromColor=function(e,t){return l(t)?(t.x=e.red,t.y=e.green,t.z=e.blue,t.w=e.alpha,t):new ft(e.red,e.green,e.blue,e.alpha)};ft.clone=function(e,t){if(l(e))return l(t)?(t.x=e.x,t.y=e.y,t.z=e.z,t.w=e.w,t):new ft(e.x,e.y,e.z,e.w)};ft.packedLength=4;ft.pack=function(e,t,n){return n=n??0,t[n++]=e.x,t[n++]=e.y,t[n++]=e.z,t[n]=e.w,t};ft.unpack=function(e,t,n){return t=t??0,l(n)||(n=new ft),n.x=e[t++],n.y=e[t++],n.z=e[t++],n.w=e[t],n};ft.packArray=function(e,t){let n=e.length,i=n*4;l(t)?!Array.isArray(t)&&t.length!==i||t.length!==i&&(t.length=i):t=new Array(i);for(let o=0;o<n;++o)ft.pack(e[o],t,o*4);return t};ft.unpackArray=function(e,t){let n=e.length;l(t)?t.length=n/4:t=new Array(n/4);for(let i=0;i<n;i+=4){let o=i/4;t[o]=ft.unpack(e,i,t[o])}return t};ft.fromArray=ft.unpack;ft.maximumComponent=function(e){return Math.max(e.x,e.y,e.z,e.w)};ft.minimumComponent=function(e){return Math.min(e.x,e.y,e.z,e.w)};ft.minimumByComponent=function(e,t,n){return n.x=Math.min(e.x,t.x),n.y=Math.min(e.y,t.y),n.z=Math.min(e.z,t.z),n.w=Math.min(e.w,t.w),n};ft.maximumByComponent=function(e,t,n){return n.x=Math.max(e.x,t.x),n.y=Math.max(e.y,t.y),n.z=Math.max(e.z,t.z),n.w=Math.max(e.w,t.w),n};ft.clamp=function(e,t,n,i){let o=A.clamp(e.x,t.x,n.x),r=A.clamp(e.y,t.y,n.y),s=A.clamp(e.z,t.z,n.z),a=A.clamp(e.w,t.w,n.w);return i.x=o,i.y=r,i.z=s,i.w=a,i};ft.magnitudeSquared=function(e){return e.x*e.x+e.y*e.y+e.z*e.z+e.w*e.w};ft.magnitude=function(e){return Math.sqrt(ft.magnitudeSquared(e))};var r5=new ft;ft.distance=function(e,t){return ft.subtract(e,t,r5),ft.magnitude(r5)};ft.distanceSquared=function(e,t){return ft.subtract(e,t,r5),ft.magnitudeSquared(r5)};ft.normalize=function(e,t){let n=ft.magnitude(e);return t.x=e.x/n,t.y=e.y/n,t.z=e.z/n,t.w=e.w/n,t};ft.dot=function(e,t){return e.x*t.x+e.y*t.y+e.z*t.z+e.w*t.w};ft.multiplyComponents=function(e,t,n){return n.x=e.x*t.x,n.y=e.y*t.y,n.z=e.z*t.z,n.w=e.w*t.w,n};ft.divideComponents=function(e,t,n){return n.x=e.x/t.x,n.y=e.y/t.y,n.z=e.z/t.z,n.w=e.w/t.w,n};ft.add=function(e,t,n){return n.x=e.x+t.x,n.y=e.y+t.y,n.z=e.z+t.z,n.w=e.w+t.w,n};ft.subtract=function(e,t,n){return n.x=e.x-t.x,n.y=e.y-t.y,n.z=e.z-t.z,n.w=e.w-t.w,n};ft.multiplyByScalar=function(e,t,n){return n.x=e.x*t,n.y=e.y*t,n.z=e.z*t,n.w=e.w*t,n};ft.divideByScalar=function(e,t,n){return n.x=e.x/t,n.y=e.y/t,n.z=e.z/t,n.w=e.w/t,n};ft.negate=function(e,t){return t.x=-e.x,t.y=-e.y,t.z=-e.z,t.w=-e.w,t};ft.abs=function(e,t){return t.x=Math.abs(e.x),t.y=Math.abs(e.y),t.z=Math.abs(e.z),t.w=Math.abs(e.w),t};var aee=new ft;ft.lerp=function(e,t,n,i){return ft.multiplyByScalar(t,n,aee),i=ft.multiplyByScalar(e,1-n,i),ft.add(aee,i,i)};var aRe=new ft;ft.mostOrthogonalAxis=function(e,t){let n=ft.normalize(e,aRe);return ft.abs(n,n),n.x<=n.y?n.x<=n.z?n.x<=n.w?t=ft.clone(ft.UNIT_X,t):t=ft.clone(ft.UNIT_W,t):n.z<=n.w?t=ft.clone(ft.UNIT_Z,t):t=ft.clone(ft.UNIT_W,t):n.y<=n.z?n.y<=n.w?t=ft.clone(ft.UNIT_Y,t):t=ft.clone(ft.UNIT_W,t):n.z<=n.w?t=ft.clone(ft.UNIT_Z,t):t=ft.clone(ft.UNIT_W,t),t};ft.equals=function(e,t){return e===t||l(e)&&l(t)&&e.x===t.x&&e.y===t.y&&e.z===t.z&&e.w===t.w};ft.equalsArray=function(e,t,n){return e.x===t[n]&&e.y===t[n+1]&&e.z===t[n+2]&&e.w===t[n+3]};ft.equalsEpsilon=function(e,t,n,i){return e===t||l(e)&&l(t)&&A.equalsEpsilon(e.x,t.x,n,i)&&A.equalsEpsilon(e.y,t.y,n,i)&&A.equalsEpsilon(e.z,t.z,n,i)&&A.equalsEpsilon(e.w,t.w,n,i)};ft.ZERO=Object.freeze(new ft(0,0,0,0));ft.ONE=Object.freeze(new ft(1,1,1,1));ft.UNIT_X=Object.freeze(new ft(1,0,0,0));ft.UNIT_Y=Object.freeze(new ft(0,1,0,0));ft.UNIT_Z=Object.freeze(new ft(0,0,1,0));ft.UNIT_W=Object.freeze(new ft(0,0,0,1));ft.prototype.clone=function(e){return ft.clone(this,e)};ft.prototype.equals=function(e){return ft.equals(this,e)};ft.prototype.equalsEpsilon=function(e,t,n){return ft.equalsEpsilon(this,e,t,n)};ft.prototype.toString=function(){return`(${this.x}, ${this.y}, ${this.z}, ${this.w})`};var $Y=new Float32Array(1),nc=new Uint8Array($Y.buffer),cRe=new Uint32Array([287454020]),lRe=new Uint8Array(cRe.buffer),cee=lRe[0]===68;ft.packFloat=function(e,t){return l(t)||(t=new ft),$Y[0]=e,cee?(t.x=nc[0],t.y=nc[1],t.z=nc[2],t.w=nc[3]):(t.x=nc[3],t.y=nc[2],t.z=nc[1],t.w=nc[0]),t};ft.unpackFloat=function(e){return cee?(nc[0]=e.x,nc[1]=e.y,nc[2]=e.z,nc[3]=e.w):(nc[0]=e.w,nc[1]=e.z,nc[2]=e.y,nc[3]=e.x),$Y[0]};var ae=ft;var HGt=x(_(),1),e3={};e3.EMPTY_OBJECT=Object.freeze({});e3.EMPTY_ARRAY=Object.freeze([]);var Y=e3;var qGt=x(_(),1);function Qe(e,t,n,i,o,r,s,a,c){this[0]=e??0,this[1]=i??0,this[2]=s??0,this[3]=t??0,this[4]=o??0,this[5]=a??0,this[6]=n??0,this[7]=r??0,this[8]=c??0}Qe.packedLength=9;Qe.pack=function(e,t,n){return n=n??0,t[n++]=e[0],t[n++]=e[1],t[n++]=e[2],t[n++]=e[3],t[n++]=e[4],t[n++]=e[5],t[n++]=e[6],t[n++]=e[7],t[n++]=e[8],t};Qe.unpack=function(e,t,n){return t=t??0,l(n)||(n=new Qe),n[0]=e[t++],n[1]=e[t++],n[2]=e[t++],n[3]=e[t++],n[4]=e[t++],n[5]=e[t++],n[6]=e[t++],n[7]=e[t++],n[8]=e[t++],n};Qe.packArray=function(e,t){let n=e.length,i=n*9;l(t)?!Array.isArray(t)&&t.length!==i||t.length!==i&&(t.length=i):t=new Array(i);for(let o=0;o<n;++o)Qe.pack(e[o],t,o*9);return t};Qe.unpackArray=function(e,t){let n=e.length;l(t)?t.length=n/9:t=new Array(n/9);for(let i=0;i<n;i+=9){let o=i/9;t[o]=Qe.unpack(e,i,t[o])}return t};Qe.clone=function(e,t){if(l(e))return l(t)?(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t):new Qe(e[0],e[3],e[6],e[1],e[4],e[7],e[2],e[5],e[8])};Qe.fromArray=Qe.unpack;Qe.fromColumnMajorArray=function(e,t){return Qe.clone(e,t)};Qe.fromRowMajorArray=function(e,t){return l(t)?(t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8],t):new Qe(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])};Qe.fromQuaternion=function(e,t){let n=e.x*e.x,i=e.x*e.y,o=e.x*e.z,r=e.x*e.w,s=e.y*e.y,a=e.y*e.z,c=e.y*e.w,d=e.z*e.z,u=e.z*e.w,h=e.w*e.w,p=n-s-d+h,g=2*(i-u),f=2*(o+c),y=2*(i+u),T=-n+s-d+h,S=2*(a-r),C=2*(o-c),V=2*(a+r),R=-n-s+d+h;return l(t)?(t[0]=p,t[1]=y,t[2]=C,t[3]=g,t[4]=T,t[5]=V,t[6]=f,t[7]=S,t[8]=R,t):new Qe(p,g,f,y,T,S,C,V,R)};Qe.fromHeadingPitchRoll=function(e,t){let n=Math.cos(-e.pitch),i=Math.cos(-e.heading),o=Math.cos(e.roll),r=Math.sin(-e.pitch),s=Math.sin(-e.heading),a=Math.sin(e.roll),c=n*i,d=-o*s+a*r*i,u=a*s+o*r*i,h=n*s,p=o*i+a*r*s,g=-a*i+o*r*s,f=-r,y=a*n,T=o*n;return l(t)?(t[0]=c,t[1]=h,t[2]=f,t[3]=d,t[4]=p,t[5]=y,t[6]=u,t[7]=g,t[8]=T,t):new Qe(c,d,u,h,p,g,f,y,T)};Qe.fromScale=function(e,t){return l(t)?(t[0]=e.x,t[1]=0,t[2]=0,t[3]=0,t[4]=e.y,t[5]=0,t[6]=0,t[7]=0,t[8]=e.z,t):new Qe(e.x,0,0,0,e.y,0,0,0,e.z)};Qe.fromUniformScale=function(e,t){return l(t)?(t[0]=e,t[1]=0,t[2]=0,t[3]=0,t[4]=e,t[5]=0,t[6]=0,t[7]=0,t[8]=e,t):new Qe(e,0,0,0,e,0,0,0,e)};Qe.fromCrossProduct=function(e,t){return l(t)?(t[0]=0,t[1]=e.z,t[2]=-e.y,t[3]=-e.z,t[4]=0,t[5]=e.x,t[6]=e.y,t[7]=-e.x,t[8]=0,t):new Qe(0,-e.z,e.y,e.z,0,-e.x,-e.y,e.x,0)};Qe.fromRotationX=function(e,t){let n=Math.cos(e),i=Math.sin(e);return l(t)?(t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=n,t[5]=i,t[6]=0,t[7]=-i,t[8]=n,t):new Qe(1,0,0,0,n,-i,0,i,n)};Qe.fromRotationY=function(e,t){let n=Math.cos(e),i=Math.sin(e);return l(t)?(t[0]=n,t[1]=0,t[2]=-i,t[3]=0,t[4]=1,t[5]=0,t[6]=i,t[7]=0,t[8]=n,t):new Qe(n,0,i,0,1,0,-i,0,n)};Qe.fromRotationZ=function(e,t){let n=Math.cos(e),i=Math.sin(e);return l(t)?(t[0]=n,t[1]=i,t[2]=0,t[3]=-i,t[4]=n,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t):new Qe(n,-i,0,i,n,0,0,0,1)};Qe.toArray=function(e,t){return l(t)?(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t):[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]]};Qe.getElementIndex=function(e,t){return e*3+t};Qe.getColumn=function(e,t,n){let i=t*3,o=e[i],r=e[i+1],s=e[i+2];return n.x=o,n.y=r,n.z=s,n};Qe.setColumn=function(e,t,n,i){i=Qe.clone(e,i);let o=t*3;return i[o]=n.x,i[o+1]=n.y,i[o+2]=n.z,i};Qe.getRow=function(e,t,n){let i=e[t],o=e[t+3],r=e[t+6];return n.x=i,n.y=o,n.z=r,n};Qe.setRow=function(e,t,n,i){return i=Qe.clone(e,i),i[t]=n.x,i[t+3]=n.y,i[t+6]=n.z,i};var dRe=new m;Qe.setScale=function(e,t,n){let i=Qe.getScale(e,dRe),o=t.x/i.x,r=t.y/i.y,s=t.z/i.z;return n[0]=e[0]*o,n[1]=e[1]*o,n[2]=e[2]*o,n[3]=e[3]*r,n[4]=e[4]*r,n[5]=e[5]*r,n[6]=e[6]*s,n[7]=e[7]*s,n[8]=e[8]*s,n};var uRe=new m;Qe.setUniformScale=function(e,t,n){let i=Qe.getScale(e,uRe),o=t/i.x,r=t/i.y,s=t/i.z;return n[0]=e[0]*o,n[1]=e[1]*o,n[2]=e[2]*o,n[3]=e[3]*r,n[4]=e[4]*r,n[5]=e[5]*r,n[6]=e[6]*s,n[7]=e[7]*s,n[8]=e[8]*s,n};var t3=new m;Qe.getScale=function(e,t){return t.x=m.magnitude(m.fromElements(e[0],e[1],e[2],t3)),t.y=m.magnitude(m.fromElements(e[3],e[4],e[5],t3)),t.z=m.magnitude(m.fromElements(e[6],e[7],e[8],t3)),t};var lee=new m;Qe.getMaximumScale=function(e){return Qe.getScale(e,lee),m.maximumComponent(lee)};var mRe=new m;Qe.setRotation=function(e,t,n){let i=Qe.getScale(e,mRe);return n[0]=t[0]*i.x,n[1]=t[1]*i.x,n[2]=t[2]*i.x,n[3]=t[3]*i.y,n[4]=t[4]*i.y,n[5]=t[5]*i.y,n[6]=t[6]*i.z,n[7]=t[7]*i.z,n[8]=t[8]*i.z,n};var hRe=new m;Qe.getRotation=function(e,t){let n=Qe.getScale(e,hRe);return t[0]=e[0]/n.x,t[1]=e[1]/n.x,t[2]=e[2]/n.x,t[3]=e[3]/n.y,t[4]=e[4]/n.y,t[5]=e[5]/n.y,t[6]=e[6]/n.z,t[7]=e[7]/n.z,t[8]=e[8]/n.z,t};Qe.multiply=function(e,t,n){let i=e[0]*t[0]+e[3]*t[1]+e[6]*t[2],o=e[1]*t[0]+e[4]*t[1]+e[7]*t[2],r=e[2]*t[0]+e[5]*t[1]+e[8]*t[2],s=e[0]*t[3]+e[3]*t[4]+e[6]*t[5],a=e[1]*t[3]+e[4]*t[4]+e[7]*t[5],c=e[2]*t[3]+e[5]*t[4]+e[8]*t[5],d=e[0]*t[6]+e[3]*t[7]+e[6]*t[8],u=e[1]*t[6]+e[4]*t[7]+e[7]*t[8],h=e[2]*t[6]+e[5]*t[7]+e[8]*t[8];return n[0]=i,n[1]=o,n[2]=r,n[3]=s,n[4]=a,n[5]=c,n[6]=d,n[7]=u,n[8]=h,n};Qe.add=function(e,t,n){return n[0]=e[0]+t[0],n[1]=e[1]+t[1],n[2]=e[2]+t[2],n[3]=e[3]+t[3],n[4]=e[4]+t[4],n[5]=e[5]+t[5],n[6]=e[6]+t[6],n[7]=e[7]+t[7],n[8]=e[8]+t[8],n};Qe.subtract=function(e,t,n){return n[0]=e[0]-t[0],n[1]=e[1]-t[1],n[2]=e[2]-t[2],n[3]=e[3]-t[3],n[4]=e[4]-t[4],n[5]=e[5]-t[5],n[6]=e[6]-t[6],n[7]=e[7]-t[7],n[8]=e[8]-t[8],n};Qe.multiplyByVector=function(e,t,n){let i=t.x,o=t.y,r=t.z,s=e[0]*i+e[3]*o+e[6]*r,a=e[1]*i+e[4]*o+e[7]*r,c=e[2]*i+e[5]*o+e[8]*r;return n.x=s,n.y=a,n.z=c,n};Qe.multiplyByScalar=function(e,t,n){return n[0]=e[0]*t,n[1]=e[1]*t,n[2]=e[2]*t,n[3]=e[3]*t,n[4]=e[4]*t,n[5]=e[5]*t,n[6]=e[6]*t,n[7]=e[7]*t,n[8]=e[8]*t,n};Qe.multiplyByScale=function(e,t,n){return n[0]=e[0]*t.x,n[1]=e[1]*t.x,n[2]=e[2]*t.x,n[3]=e[3]*t.y,n[4]=e[4]*t.y,n[5]=e[5]*t.y,n[6]=e[6]*t.z,n[7]=e[7]*t.z,n[8]=e[8]*t.z,n};Qe.multiplyByUniformScale=function(e,t,n){return n[0]=e[0]*t,n[1]=e[1]*t,n[2]=e[2]*t,n[3]=e[3]*t,n[4]=e[4]*t,n[5]=e[5]*t,n[6]=e[6]*t,n[7]=e[7]*t,n[8]=e[8]*t,n};Qe.negate=function(e,t){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t[4]=-e[4],t[5]=-e[5],t[6]=-e[6],t[7]=-e[7],t[8]=-e[8],t};Qe.transpose=function(e,t){let n=e[0],i=e[3],o=e[6],r=e[1],s=e[4],a=e[7],c=e[2],d=e[5],u=e[8];return t[0]=n,t[1]=i,t[2]=o,t[3]=r,t[4]=s,t[5]=a,t[6]=c,t[7]=d,t[8]=u,t};function fRe(e){let t=0;for(let n=0;n<9;++n){let i=e[n];t+=i*i}return Math.sqrt(t)}var n3=[1,0,0],i3=[2,2,1];function pRe(e){let t=0;for(let n=0;n<3;++n){let i=e[Qe.getElementIndex(i3[n],n3[n])];t+=2*i*i}return Math.sqrt(t)}function bRe(e,t){let n=A.EPSILON15,i=0,o=1;for(let d=0;d<3;++d){let u=Math.abs(e[Qe.getElementIndex(i3[d],n3[d])]);u>i&&(o=d,i=u)}let r=1,s=0,a=n3[o],c=i3[o];if(Math.abs(e[Qe.getElementIndex(c,a)])>n){let d=e[Qe.getElementIndex(c,c)],u=e[Qe.getElementIndex(a,a)],h=e[Qe.getElementIndex(c,a)],p=(d-u)/2/h,g;p<0?g=-1/(-p+Math.sqrt(1+p*p)):g=1/(p+Math.sqrt(1+p*p)),r=1/Math.sqrt(1+g*g),s=g*r}return t=Qe.clone(Qe.IDENTITY,t),t[Qe.getElementIndex(a,a)]=t[Qe.getElementIndex(c,c)]=r,t[Qe.getElementIndex(c,a)]=s,t[Qe.getElementIndex(a,c)]=-s,t}var s5=new Qe,dee=new Qe;Qe.computeEigenDecomposition=function(e,t){let n=A.EPSILON20,i=10,o=0,r=0;l(t)||(t={});let s=t.unitary=Qe.clone(Qe.IDENTITY,t.unitary),a=t.diagonal=Qe.clone(e,t.diagonal),c=n*fRe(a);for(;r<i&&pRe(a)>c;)bRe(a,s5),Qe.transpose(s5,dee),Qe.multiply(a,s5,a),Qe.multiply(dee,a,a),Qe.multiply(s,s5,s),++o>2&&(++r,o=0);return t};Qe.abs=function(e,t){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t[3]=Math.abs(e[3]),t[4]=Math.abs(e[4]),t[5]=Math.abs(e[5]),t[6]=Math.abs(e[6]),t[7]=Math.abs(e[7]),t[8]=Math.abs(e[8]),t};Qe.determinant=function(e){let t=e[0],n=e[3],i=e[6],o=e[1],r=e[4],s=e[7],a=e[2],c=e[5],d=e[8];return t*(r*d-c*s)+o*(c*i-n*d)+a*(n*s-r*i)};Qe.inverse=function(e,t){let n=e[0],i=e[1],o=e[2],r=e[3],s=e[4],a=e[5],c=e[6],d=e[7],u=e[8],h=Qe.determinant(e);t[0]=s*u-d*a,t[1]=d*o-i*u,t[2]=i*a-s*o,t[3]=c*a-r*u,t[4]=n*u-c*o,t[5]=r*o-n*a,t[6]=r*d-c*s,t[7]=c*i-n*d,t[8]=n*s-r*i;let p=1/h;return Qe.multiplyByScalar(t,p,t)};var gRe=new Qe;Qe.inverseTranspose=function(e,t){return Qe.inverse(Qe.transpose(e,gRe),t)};Qe.equals=function(e,t){return e===t||l(e)&&l(t)&&e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]&&e[8]===t[8]};Qe.equalsEpsilon=function(e,t,n){return n=n??0,e===t||l(e)&&l(t)&&Math.abs(e[0]-t[0])<=n&&Math.abs(e[1]-t[1])<=n&&Math.abs(e[2]-t[2])<=n&&Math.abs(e[3]-t[3])<=n&&Math.abs(e[4]-t[4])<=n&&Math.abs(e[5]-t[5])<=n&&Math.abs(e[6]-t[6])<=n&&Math.abs(e[7]-t[7])<=n&&Math.abs(e[8]-t[8])<=n};Qe.IDENTITY=Object.freeze(new Qe(1,0,0,0,1,0,0,0,1));Qe.ZERO=Object.freeze(new Qe(0,0,0,0,0,0,0,0,0));Qe.COLUMN0ROW0=0;Qe.COLUMN0ROW1=1;Qe.COLUMN0ROW2=2;Qe.COLUMN1ROW0=3;Qe.COLUMN1ROW1=4;Qe.COLUMN1ROW2=5;Qe.COLUMN2ROW0=6;Qe.COLUMN2ROW1=7;Qe.COLUMN2ROW2=8;Object.defineProperties(Qe.prototype,{length:{get:function(){return Qe.packedLength}}});Qe.prototype.clone=function(e){return Qe.clone(this,e)};Qe.prototype.equals=function(e){return Qe.equals(this,e)};Qe.equalsArray=function(e,t,n){return e[0]===t[n]&&e[1]===t[n+1]&&e[2]===t[n+2]&&e[3]===t[n+3]&&e[4]===t[n+4]&&e[5]===t[n+5]&&e[6]===t[n+6]&&e[7]===t[n+7]&&e[8]===t[n+8]};Qe.prototype.equalsEpsilon=function(e,t){return Qe.equalsEpsilon(this,e,t)};Qe.prototype.toString=function(){return`(${this[0]}, ${this[3]}, ${this[6]})
74
74
  (${this[1]}, ${this[4]}, ${this[7]})
75
75
  (${this[2]}, ${this[5]}, ${this[8]})`};var q=Qe;var tIt=x(_(),1);function TR(e){this.name="RuntimeError",this.message=e;let t;try{throw new Error}catch(n){t=n.stack}this.stack=t}l(Object.create)&&(TR.prototype=Object.create(Error.prototype),TR.prototype.constructor=TR);TR.prototype.toString=function(){let e=`${this.name}: ${this.message}`;return l(this.stack)&&(e+=`
@@ -15988,7 +15988,7 @@ void main()
15988
15988
  out_FragColor = vec4(mix(vec3(0.0), vec3(1.0), scale), 1.0);
15989
15989
  }
15990
15990
  `;var Kco=x(_(),1);function NZt(e){e=e??Y.EMPTY_OBJECT,this.typedArray=e.typedArray,this.width=e.width,this.height=e.height,this.pixelFormat=e.pixelFormat??je.RGBA,this.pixelDatatype=e.pixelDatatype??ze.UNSIGNED_BYTE;let t=e.url;typeof t=="string"&&(t=Le.createIfNeeded(t)),this.resource=t;let i=e.repeat??!0?bn.REPEAT:bn.CLAMP_TO_EDGE;this.sampler=new Ht({wrapS:i,wrapT:i,minificationFilter:e.minificationFilter,magnificationFilter:e.magnificationFilter,maximumAnisotropy:e.maximumAnisotropy})}var V$=NZt;var Qco=x(_(),1),UZt={FLOAT:"float",VEC2:"vec2",VEC3:"vec3",VEC4:"vec4",MAT2:"mat2",MAT3:"mat3",MAT4:"mat4"},L$=Object.freeze(UZt);var qco=x(_(),1),kZt={SIGX:"SIGX",SIGY:"SIGY",SIGZ:"SIGZ",VARX:"VARX",VARY:"VARY",VARZ:"VARZ",SIGR:"VARZ"},R$=Object.freeze(kZt);var tlo=x(_(),1);function DZt(e){async function t({data:i}){let o=[],r={id:i.id,result:void 0,error:void 0};self.CESIUM_BASE_URL=i.baseUrl;try{let s=await e(i.parameters,o);r.result=s}catch(s){s instanceof Error?r.error={name:s.name,message:s.message,stack:s.stack}:r.error=s}i.canTransferArrayBuffer||(o.length=0);try{postMessage(r,o)}catch(s){r.result=void 0,r.error=`postMessage failed with error: ${dp(s)}
15991
- with responseMessage: ${JSON.stringify(r)}`,postMessage(r)}}function n(i){postMessage({id:i.data?.id,error:`postMessage failed with error: ${JSON.stringify(i)}`})}return self.onmessage=t,self.onmessageerror=n,self}var Z$=DZt;globalThis.CESIUM_VERSION="1.128.5";var NPo=x(_(),1);var bGo=x(_(),1);var mGo=x(_(),1);var iGo=x(_(),1),rN;typeof ko<"u"&&(rN=ko);(function(){/*!
15991
+ with responseMessage: ${JSON.stringify(r)}`,postMessage(r)}}function n(i){postMessage({id:i.data?.id,error:`postMessage failed with error: ${JSON.stringify(i)}`})}return self.onmessage=t,self.onmessageerror=n,self}var Z$=DZt;globalThis.CESIUM_VERSION="1.128.6";var NPo=x(_(),1);var bGo=x(_(),1);var mGo=x(_(),1);var iGo=x(_(),1),rN;typeof ko<"u"&&(rN=ko);(function(){/*!
15992
15992
  * Knockout JavaScript library v3.5.1
15993
15993
  * (c) The Knockout.js team - http://knockoutjs.com/
15994
15994
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
@@ -16002,34 +16002,34 @@ Message: `+St.message,St}})}return Ee=Fe===e,{shouldBindDescendants:Ee,bindingCo
16002
16002
  * Knockout ES5 plugin - https://github.com/SteveSanderson/knockout-es5
16003
16003
  * Copyright (c) Steve Sanderson
16004
16004
  * MIT license
16005
- */var E$="__knockoutObservables",G$="__knockoutSubscribable";function uLe(e,t){if(!e)throw new Error("When calling ko.track, you must pass an object as the first parameter.");var n=this,i=mLe(e,!0);return t=t||Object.getOwnPropertyNames(e),t.forEach(function(o){if(!(o===E$||o===G$)&&!(o in i)){var r=e[o],s=r instanceof Array,a=n.isObservable(r)?r:s?n.observableArray(r):n.observable(r);Object.defineProperty(e,o,{configurable:!0,enumerable:!0,get:a,set:n.isWriteableObservable(a)?a:void 0}),i[o]=a,s&&YZt(n,a)}}),e}function mLe(e,t){var n=e[E$];return!n&&t&&(n={},Object.defineProperty(e,E$,{value:n})),n}function OZt(e,t,n){var i=this,o={owner:e,deferEvaluation:!0};if(typeof n=="function")o.read=n;else{if("value"in n)throw new Error('For ko.defineProperty, you must not specify a "value" for the property. You must provide a "get" function.');if(typeof n.get!="function")throw new Error('For ko.defineProperty, the third parameter must be either an evaluator function, or an options object containing a function called "get".');o.read=n.get,o.write=n.set}return e[t]=i.computed(o),uLe.call(i,e,[t]),e}function YZt(e,t){var n=null;e.computed(function(){n&&(n.dispose(),n=null);var i=t();i instanceof Array&&(n=zZt(e,t,i))})}function zZt(e,t,n){var i=HZt(e,n);return i.subscribe(t)}function HZt(e,t){var n=t[G$];if(!n){n=new e.subscribable,Object.defineProperty(t,G$,{value:n});var i={};KZt(t,n,i),JZt(e,t,n,i)}return n}function KZt(e,t,n){["pop","push","reverse","shift","sort","splice","unshift"].forEach(function(i){var o=e[i];e[i]=function(){var r=o.apply(this,arguments);return n.pause!==!0&&t.notifySubscribers(this),r}})}function JZt(e,t,n,i){["remove","removeAll","destroy","destroyAll","replace"].forEach(function(o){Object.defineProperty(t,o,{enumerable:!1,value:function(){var r;i.pause=!0;try{r=e.observableArray.fn[o].apply(e.observableArray(t),arguments)}finally{i.pause=!1}return n.notifySubscribers(t),r}})})}function hLe(e,t){if(!e)return null;var n=mLe(e,!1);return n&&n[t]||null}function QZt(e,t){var n=hLe(e,t);n&&n.valueHasMutated()}function jZt(e){e.track=uLe,e.getObservable=hLe,e.valueHasMutated=QZt,e.defineProperty=OZt}var sN={attachToKo:jZt};var aGo=x(_(),1),fLe="http://www.w3.org/2000/svg",pLe="cesium-svgPath-svg",qZt={register:function(e){e.bindingHandlers.cesiumSvgPath={init:function(t,n){let i=document.createElementNS(fLe,"svg:svg");i.setAttribute("class",pLe);let o=document.createElementNS(fLe,"path");return i.appendChild(o),e.virtualElements.setDomNodeChildren(t,[i]),e.computed({read:function(){let r=e.unwrap(n());o.setAttribute("d",e.unwrap(r.path));let s=e.unwrap(r.width),a=e.unwrap(r.height);i.setAttribute("width",s),i.setAttribute("height",a),i.setAttribute("viewBox",`0 0 ${s} ${a}`),r.css&&i.setAttribute("class",`${pLe} ${e.unwrap(r.css)}`)},disposeWhenNodeIsRemoved:t}),{controlsDescendantBindings:!0}}},e.virtualElements.allowedBindings.cesiumSvgPath=!0}},aN=qZt;sN.attachToKo(JS);aN.register(JS);var Se=JS;function cN(e){l(e)||(e=new Lh),this._clock=e,this._eventHelper=new mr,this._eventHelper.add(e.onTick,this.synchronize,this),this.systemTime=Se.observable(j.now()),this.systemTime.equalityComparer=j.equals,this.startTime=Se.observable(e.startTime),this.startTime.equalityComparer=j.equals,this.startTime.subscribe(function(t){e.startTime=t,this.synchronize()},this),this.stopTime=Se.observable(e.stopTime),this.stopTime.equalityComparer=j.equals,this.stopTime.subscribe(function(t){e.stopTime=t,this.synchronize()},this),this.currentTime=Se.observable(e.currentTime),this.currentTime.equalityComparer=j.equals,this.currentTime.subscribe(function(t){e.currentTime=t,this.synchronize()},this),this.multiplier=Se.observable(e.multiplier),this.multiplier.subscribe(function(t){e.multiplier=t,this.synchronize()},this),this.clockStep=Se.observable(e.clockStep),this.clockStep.subscribe(function(t){e.clockStep=t,this.synchronize()},this),this.clockRange=Se.observable(e.clockRange),this.clockRange.subscribe(function(t){e.clockRange=t,this.synchronize()},this),this.canAnimate=Se.observable(e.canAnimate),this.canAnimate.subscribe(function(t){e.canAnimate=t,this.synchronize()},this),this.shouldAnimate=Se.observable(e.shouldAnimate),this.shouldAnimate.subscribe(function(t){e.shouldAnimate=t,this.synchronize()},this),Se.track(this,["systemTime","startTime","stopTime","currentTime","multiplier","clockStep","clockRange","canAnimate","shouldAnimate"])}Object.defineProperties(cN.prototype,{clock:{get:function(){return this._clock}}});cN.prototype.synchronize=function(){let e=this._clock;this.systemTime=j.now(),this.startTime=e.startTime,this.stopTime=e.stopTime,this.currentTime=e.currentTime,this.multiplier=e.multiplier,this.clockStep=e.clockStep,this.clockRange=e.clockRange,this.canAnimate=e.canAnimate,this.shouldAnimate=e.shouldAnimate};cN.prototype.isDestroyed=function(){return!1};cN.prototype.destroy=function(){this._eventHelper.removeAll(),he(this)};var lN=cN;var xGo=x(_(),1);function $Zt(){this.canExecute=void 0,this.beforeExecute=void 0,this.afterExecute=void 0,pe.throwInstantiationError()}var I$=$Zt;var CGo=x(_(),1);var dN={};dN.createCheckbox=function(e,t,n){let i=document.createElement("div"),o=document.createElement("label"),r=document.createElement("input");r.type="checkbox";let s=`checked: ${t}`;return l(n)&&(s+=`, enable: ${n}`),r.setAttribute("data-bind",s),o.appendChild(r),o.appendChild(document.createTextNode(e)),i.appendChild(o),i};dN.createSection=function(e,t,n,i){let o=document.createElement("div");o.className="cesium-cesiumInspector-section",o.setAttribute("data-bind",`css: { "cesium-cesiumInspector-section-collapsed": !${n} }`),e.appendChild(o);let r=document.createElement("h3");r.className="cesium-cesiumInspector-sectionHeader",r.appendChild(document.createTextNode(t)),r.setAttribute("data-bind",`click: ${i}`),o.appendChild(r);let s=document.createElement("div");return s.className="cesium-cesiumInspector-sectionContent",o.appendChild(s),s};dN.createRangeInput=function(e,t,n,i,o,r){r=r??t;let s=document.createElement("input");s.setAttribute("data-bind",`value: ${r}`),s.type="number";let a=document.createElement("input");a.type="range",a.min=n,a.max=i,a.step=o??"any",a.setAttribute("data-bind",`valueUpdate: "input", value: ${t}`);let c=document.createElement("div");c.appendChild(a);let d=document.createElement("div");return d.className="cesium-cesiumInspector-slider",d.appendChild(document.createTextNode(e)),d.appendChild(s),d.appendChild(c),d};dN.createButton=function(e,t,n){let i=document.createElement("button");i.type="button",i.textContent=e,i.className="cesium-cesiumInspector-pickButton";let o=`click: ${t}`;return l(n)&&(o+=`, css: {"cesium-cesiumInspector-pickButtonHighlight" : ${n}}`),i.setAttribute("data-bind",o),i};var $a=dN;var GGo=x(_(),1);function bLe(e,t){this._command=e,t=t??Y.EMPTY_OBJECT,this.toggled=t.toggled??!1,this.tooltip=t.tooltip??"",Se.track(this,["toggled","tooltip"])}Object.defineProperties(bLe.prototype,{command:{get:function(){return this._command}}});var lx=bLe;var vGo=x(_(),1);function eEt(e,t){t=t??!0;let n=new be,i=new be;function o(){let r={args:arguments,cancel:!1},s;return n.raiseEvent(r),r.cancel||(s=e.apply(null,arguments),i.raiseEvent(s)),s}return o.canExecute=t,Se.track(o,["canExecute"]),Object.defineProperties(o,{beforeExecute:{value:n},afterExecute:{value:i}}),o}var yn=eEt;var MGo=x(_(),1);function tEt(e,t,n,i,o){return n.call(i,e[t]),Se.getObservable(e,t).subscribe(n,i,o)}var Aa=tEt;var QGo=x(_(),1);var BGo=x(_(),1);function nEt(e){return function(t){let n=e._scene.pick(t.position);l(n)&&n.primitive instanceof Ts&&(e.tileset=n.primitive),e.pickActive=!1}}function yLe(e,t){t?e._eventHandler.setInputAction(function(n){let i=e._scene.pick(n.endPosition);l(i)&&i.primitive instanceof Ts&&(e.tileset=i.primitive)},pn.MOUSE_MOVE):(e._eventHandler.removeInputAction(pn.MOUSE_MOVE),e.picking=e.picking)}var iEt={maximumFractionDigits:3};function uN(e){let t=e/1048576;return t<1?t.toLocaleString(void 0,iEt):Math.round(t).toLocaleString()}function mN(e,t){if(!l(e))return"";let n=t?e._statisticsPerPass[Xo.PICK]:e._statisticsPerPass[Xo.RENDER],i='<ul class="cesium-cesiumInspector-statistics">';return i+=`<li><strong>Visited: </strong>${n.visited.toLocaleString()}</li><li><strong>Selected: </strong>${n.selected.toLocaleString()}</li><li><strong>Commands: </strong>${n.numberOfCommands.toLocaleString()}</li>`,i+="</ul>",t||(i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Requests: </strong>${n.numberOfPendingRequests.toLocaleString()}</li><li><strong>Attempted: </strong>${n.numberOfAttemptedRequests.toLocaleString()}</li><li><strong>Processing: </strong>${n.numberOfTilesProcessing.toLocaleString()}</li><li><strong>Content Ready: </strong>${n.numberOfTilesWithContentReady.toLocaleString()}</li><li><strong>Total: </strong>${n.numberOfTilesTotal.toLocaleString()}</li>`,i+="</ul>",i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Features Selected: </strong>${n.numberOfFeaturesSelected.toLocaleString()}</li><li><strong>Features Loaded: </strong>${n.numberOfFeaturesLoaded.toLocaleString()}</li><li><strong>Points Selected: </strong>${n.numberOfPointsSelected.toLocaleString()}</li><li><strong>Points Loaded: </strong>${n.numberOfPointsLoaded.toLocaleString()}</li><li><strong>Triangles Selected: </strong>${n.numberOfTrianglesSelected.toLocaleString()}</li>`,i+="</ul>",i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Tiles styled: </strong>${n.numberOfTilesStyled.toLocaleString()}</li><li><strong>Features styled: </strong>${n.numberOfFeaturesStyled.toLocaleString()}</li>`,i+="</ul>",i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Children Union Culled: </strong>${n.numberOfTilesCulledWithChildrenUnion.toLocaleString()}</li>`,i+="</ul>",i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Geometry Memory (MB): </strong>${uN(n.geometryByteLength)}</li><li><strong>Texture Memory (MB): </strong>${uN(n.texturesByteLength)}</li><li><strong>Batch Table Memory (MB): </strong>${uN(n.batchTableByteLength)}</li>`,i+="</ul>"),i}function xLe(){let e=Ti.statistics;return`
16005
+ */var E$="__knockoutObservables",G$="__knockoutSubscribable";function uLe(e,t){if(!e)throw new Error("When calling ko.track, you must pass an object as the first parameter.");var n=this,i=mLe(e,!0);return t=t||Object.getOwnPropertyNames(e),t.forEach(function(o){if(!(o===E$||o===G$)&&!(o in i)){var r=e[o],s=r instanceof Array,a=n.isObservable(r)?r:s?n.observableArray(r):n.observable(r);Object.defineProperty(e,o,{configurable:!0,enumerable:!0,get:a,set:n.isWriteableObservable(a)?a:void 0}),i[o]=a,s&&YZt(n,a)}}),e}function mLe(e,t){var n=e[E$];return!n&&t&&(n={},Object.defineProperty(e,E$,{value:n})),n}function OZt(e,t,n){var i=this,o={owner:e,deferEvaluation:!0};if(typeof n=="function")o.read=n;else{if("value"in n)throw new Error('For ko.defineProperty, you must not specify a "value" for the property. You must provide a "get" function.');if(typeof n.get!="function")throw new Error('For ko.defineProperty, the third parameter must be either an evaluator function, or an options object containing a function called "get".');o.read=n.get,o.write=n.set}return e[t]=i.computed(o),uLe.call(i,e,[t]),e}function YZt(e,t){var n=null;e.computed(function(){n&&(n.dispose(),n=null);var i=t();i instanceof Array&&(n=zZt(e,t,i))})}function zZt(e,t,n){var i=HZt(e,n);return i.subscribe(t)}function HZt(e,t){var n=t[G$];if(!n){n=new e.subscribable,Object.defineProperty(t,G$,{value:n});var i={};KZt(t,n,i),JZt(e,t,n,i)}return n}function KZt(e,t,n){["pop","push","reverse","shift","sort","splice","unshift"].forEach(function(i){var o=e[i];e[i]=function(){var r=o.apply(this,arguments);return n.pause!==!0&&t.notifySubscribers(this),r}})}function JZt(e,t,n,i){["remove","removeAll","destroy","destroyAll","replace"].forEach(function(o){Object.defineProperty(t,o,{enumerable:!1,value:function(){var r;i.pause=!0;try{r=e.observableArray.fn[o].apply(e.observableArray(t),arguments)}finally{i.pause=!1}return n.notifySubscribers(t),r}})})}function hLe(e,t){if(!e)return null;var n=mLe(e,!1);return n&&n[t]||null}function QZt(e,t){var n=hLe(e,t);n&&n.valueHasMutated()}function jZt(e){e.track=uLe,e.getObservable=hLe,e.valueHasMutated=QZt,e.defineProperty=OZt}var sN={attachToKo:jZt};var aGo=x(_(),1),fLe="http://www.w3.org/2000/svg",pLe="cesium-svgPath-svg",qZt={register:function(e){e.bindingHandlers.cesiumSvgPath={init:function(t,n){let i=document.createElementNS(fLe,"svg:svg");i.setAttribute("class",pLe);let o=document.createElementNS(fLe,"path");return i.appendChild(o),e.virtualElements.setDomNodeChildren(t,[i]),e.computed({read:function(){let r=e.unwrap(n());o.setAttribute("d",e.unwrap(r.path));let s=e.unwrap(r.width),a=e.unwrap(r.height);i.setAttribute("width",s),i.setAttribute("height",a),i.setAttribute("viewBox",`0 0 ${s} ${a}`),r.css&&i.setAttribute("class",`${pLe} ${e.unwrap(r.css)}`)},disposeWhenNodeIsRemoved:t}),{controlsDescendantBindings:!0}}},e.virtualElements.allowedBindings.cesiumSvgPath=!0}},aN=qZt;sN.attachToKo(JS);aN.register(JS);var Se=JS;function cN(e){l(e)||(e=new Lh),this._clock=e,this._eventHelper=new mr,this._eventHelper.add(e.onTick,this.synchronize,this),this.systemTime=Se.observable(j.now()),this.systemTime.equalityComparer=j.equals,this.startTime=Se.observable(e.startTime),this.startTime.equalityComparer=j.equals,this.startTime.subscribe(function(t){e.startTime=t,this.synchronize()},this),this.stopTime=Se.observable(e.stopTime),this.stopTime.equalityComparer=j.equals,this.stopTime.subscribe(function(t){e.stopTime=t,this.synchronize()},this),this.currentTime=Se.observable(e.currentTime),this.currentTime.equalityComparer=j.equals,this.currentTime.subscribe(function(t){e.currentTime=t,this.synchronize()},this),this.multiplier=Se.observable(e.multiplier),this.multiplier.subscribe(function(t){e.multiplier=t,this.synchronize()},this),this.clockStep=Se.observable(e.clockStep),this.clockStep.subscribe(function(t){e.clockStep=t,this.synchronize()},this),this.clockRange=Se.observable(e.clockRange),this.clockRange.subscribe(function(t){e.clockRange=t,this.synchronize()},this),this.canAnimate=Se.observable(e.canAnimate),this.canAnimate.subscribe(function(t){e.canAnimate=t,this.synchronize()},this),this.shouldAnimate=Se.observable(e.shouldAnimate),this.shouldAnimate.subscribe(function(t){e.shouldAnimate=t,this.synchronize()},this),Se.track(this,["systemTime","startTime","stopTime","currentTime","multiplier","clockStep","clockRange","canAnimate","shouldAnimate"])}Object.defineProperties(cN.prototype,{clock:{get:function(){return this._clock}}});cN.prototype.synchronize=function(){let e=this._clock;this.systemTime=j.now(),this.startTime=e.startTime,this.stopTime=e.stopTime,this.currentTime=e.currentTime,this.multiplier=e.multiplier,this.clockStep=e.clockStep,this.clockRange=e.clockRange,this.canAnimate=e.canAnimate,this.shouldAnimate=e.shouldAnimate};cN.prototype.isDestroyed=function(){return!1};cN.prototype.destroy=function(){this._eventHelper.removeAll(),he(this)};var lN=cN;var xGo=x(_(),1);function $Zt(){this.canExecute=void 0,this.beforeExecute=void 0,this.afterExecute=void 0,pe.throwInstantiationError()}var I$=$Zt;var CGo=x(_(),1);var dN={};dN.createCheckbox=function(e,t,n){let i=document.createElement("div"),o=document.createElement("label"),r=document.createElement("input");r.type="checkbox";let s=`checked: ${t}`;return l(n)&&(s+=`, enable: ${n}`),r.setAttribute("data-bind",s),o.appendChild(r),o.appendChild(document.createTextNode(e)),i.appendChild(o),i};dN.createSection=function(e,t,n,i){let o=document.createElement("div");o.className="cesium-cesiumInspector-section",o.setAttribute("data-bind",`css: { "cesium-cesiumInspector-section-collapsed": !${n} }`),e.appendChild(o);let r=document.createElement("h3");r.className="cesium-cesiumInspector-sectionHeader",r.appendChild(document.createTextNode(t)),r.setAttribute("data-bind",`click: ${i}`),o.appendChild(r);let s=document.createElement("div");return s.className="cesium-cesiumInspector-sectionContent",o.appendChild(s),s};dN.createRangeInput=function(e,t,n,i,o,r){r=r??t;let s=document.createElement("input");s.setAttribute("data-bind",`value: ${r}`),s.type="number";let a=document.createElement("input");a.type="range",a.min=n,a.max=i,a.step=o??"any",a.setAttribute("data-bind",`valueUpdate: "input", value: ${t}`);let c=document.createElement("div");c.appendChild(a);let d=document.createElement("div");return d.className="cesium-cesiumInspector-slider",d.appendChild(document.createTextNode(e)),d.appendChild(s),d.appendChild(c),d};dN.createButton=function(e,t,n){let i=document.createElement("button");i.type="button",i.textContent=e,i.className="cesium-cesiumInspector-pickButton";let o=`click: ${t}`;return l(n)&&(o+=`, css: {"cesium-cesiumInspector-pickButtonHighlight" : ${n}}`),i.setAttribute("data-bind",o),i};var $a=dN;var GGo=x(_(),1);function bLe(e,t){this._command=e,t=t??Y.EMPTY_OBJECT,this.toggled=t.toggled??!1,this.tooltip=t.tooltip??"",Se.track(this,["toggled","tooltip"])}Object.defineProperties(bLe.prototype,{command:{get:function(){return this._command}}});var lx=bLe;var vGo=x(_(),1);function eEt(e,t){t=t??!0;let n=new be,i=new be;function o(){let r={args:arguments,cancel:!1},s;return n.raiseEvent(r),r.cancel||(s=e.apply(null,arguments),i.raiseEvent(s)),s}return o.canExecute=t,Se.track(o,["canExecute"]),Object.defineProperties(o,{beforeExecute:{value:n},afterExecute:{value:i}}),o}var yn=eEt;var MGo=x(_(),1);function tEt(e,t,n,i,o){return n.call(i,e[t]),Se.getObservable(e,t).subscribe(n,i,o)}var Aa=tEt;var BGo=x(_(),1);var QS="http://www.w3.org/2000/svg",xLe="http://www.w3.org/1999/xlink",LY,uN=D.fromCssColorString("rgba(247,250,255,0.384)"),RY=D.fromCssColorString("rgba(143,191,255,0.216)"),A$=D.fromCssColorString("rgba(153,197,255,0.098)"),ZY=D.fromCssColorString("rgba(255,255,255,0.086)"),nEt=D.fromCssColorString("rgba(255,255,255,0.267)"),iEt=D.fromCssColorString("rgba(255,255,255,0)"),gLe=D.fromCssColorString("rgba(66,67,68,0.3)"),yLe=D.fromCssColorString("rgba(0,0,0,0.5)");function dx(e){return D.fromCssColorString(window.getComputedStyle(e).getPropertyValue("color"))}var mN={animation_pathReset:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M24.316,5.318,9.833,13.682,9.833,5.5,5.5,5.5,5.5,25.5,9.833,25.5,9.833,17.318,24.316,25.682z"},animation_pathPause:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M13,5.5,7.5,5.5,7.5,25.5,13,25.5zM24.5,5.5,19,5.5,19,25.5,24.5,25.5z"},animation_pathPlay:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M6.684,25.682L24.316,15.5L6.684,5.318V25.682z"},animation_pathPlayReverse:{tagName:"path",transform:"translate(16,16) scale(-0.85,0.85) translate(-16,-16)",d:"M6.684,25.682L24.316,15.5L6.684,5.318V25.682z"},animation_pathLoop:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M24.249,15.499c-0.009,4.832-3.918,8.741-8.75,8.75c-2.515,0-4.768-1.064-6.365-2.763l2.068-1.442l-7.901-3.703l0.744,8.694l2.193-1.529c2.244,2.594,5.562,4.242,9.26,4.242c6.767,0,12.249-5.482,12.249-12.249H24.249zM15.499,6.75c2.516,0,4.769,1.065,6.367,2.764l-2.068,1.443l7.901,3.701l-0.746-8.693l-2.192,1.529c-2.245-2.594-5.562-4.245-9.262-4.245C8.734,3.25,3.25,8.734,3.249,15.499H6.75C6.758,10.668,10.668,6.758,15.499,6.75z"},animation_pathClock:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-15.5)",d:"M15.5,2.374C8.251,2.375,2.376,8.251,2.374,15.5C2.376,22.748,8.251,28.623,15.5,28.627c7.249-0.004,13.124-5.879,13.125-13.127C28.624,8.251,22.749,2.375,15.5,2.374zM15.5,25.623C9.909,25.615,5.385,21.09,5.375,15.5C5.385,9.909,9.909,5.384,15.5,5.374c5.59,0.01,10.115,4.535,10.124,10.125C25.615,21.09,21.091,25.615,15.5,25.623zM8.625,15.5c-0.001-0.552-0.448-0.999-1.001-1c-0.553,0-1,0.448-1,1c0,0.553,0.449,1,1,1C8.176,16.5,8.624,16.053,8.625,15.5zM8.179,18.572c-0.478,0.277-0.642,0.889-0.365,1.367c0.275,0.479,0.889,0.641,1.365,0.365c0.479-0.275,0.643-0.887,0.367-1.367C9.27,18.461,8.658,18.297,8.179,18.572zM9.18,10.696c-0.479-0.276-1.09-0.112-1.366,0.366s-0.111,1.09,0.365,1.366c0.479,0.276,1.09,0.113,1.367-0.366C9.821,11.584,9.657,10.973,9.18,10.696zM22.822,12.428c0.478-0.275,0.643-0.888,0.366-1.366c-0.275-0.478-0.89-0.642-1.366-0.366c-0.479,0.278-0.642,0.89-0.366,1.367C21.732,12.54,22.344,12.705,22.822,12.428zM12.062,21.455c-0.478-0.275-1.089-0.111-1.366,0.367c-0.275,0.479-0.111,1.09,0.366,1.365c0.478,0.277,1.091,0.111,1.365-0.365C12.704,22.344,12.54,21.732,12.062,21.455zM12.062,9.545c0.479-0.276,0.642-0.888,0.366-1.366c-0.276-0.478-0.888-0.642-1.366-0.366s-0.642,0.888-0.366,1.366C10.973,9.658,11.584,9.822,12.062,9.545zM22.823,18.572c-0.48-0.275-1.092-0.111-1.367,0.365c-0.275,0.479-0.112,1.092,0.367,1.367c0.477,0.275,1.089,0.113,1.365-0.365C23.464,19.461,23.3,18.848,22.823,18.572zM19.938,7.813c-0.477-0.276-1.091-0.111-1.365,0.366c-0.275,0.48-0.111,1.091,0.366,1.367s1.089,0.112,1.366-0.366C20.581,8.702,20.418,8.089,19.938,7.813zM23.378,14.5c-0.554,0.002-1.001,0.45-1.001,1c0.001,0.552,0.448,1,1.001,1c0.551,0,1-0.447,1-1C24.378,14.949,23.929,14.5,23.378,14.5zM15.501,6.624c-0.552,0-1,0.448-1,1l-0.466,7.343l-3.004,1.96c-0.478,0.277-0.642,0.889-0.365,1.365c0.275,0.479,0.889,0.643,1.365,0.367l3.305-1.676C15.39,16.99,15.444,17,15.501,17c0.828,0,1.5-0.671,1.5-1.5l-0.5-7.876C16.501,7.072,16.053,6.624,15.501,6.624zM15.501,22.377c-0.552,0-1,0.447-1,1s0.448,1,1,1s1-0.447,1-1S16.053,22.377,15.501,22.377zM18.939,21.455c-0.479,0.277-0.643,0.889-0.366,1.367c0.275,0.477,0.888,0.643,1.366,0.365c0.478-0.275,0.642-0.889,0.366-1.365C20.028,21.344,19.417,21.18,18.939,21.455z"},animation_pathWingButton:{tagName:"path",d:"m 4.5,0.5 c -2.216,0 -4,1.784 -4,4 l 0,24 c 0,2.216 1.784,4 4,4 l 13.71875,0 C 22.478584,27.272785 27.273681,22.511272 32.5,18.25 l 0,-13.75 c 0,-2.216 -1.784,-4 -4,-4 l -24,0 z"},animation_pathPointer:{tagName:"path",d:"M-15,-65,-15,-55,15,-55,15,-65,0,-95z"},animation_pathSwooshFX:{tagName:"path",d:"m 85,0 c 0,16.617 -4.813944,35.356 -13.131081,48.4508 h 6.099803 c 8.317138,-13.0948 13.13322,-28.5955 13.13322,-45.2124 0,-46.94483 -38.402714,-85.00262 -85.7743869,-85.00262 -1.0218522,0 -2.0373001,0.0241 -3.0506131,0.0589 45.958443,1.59437 82.723058,35.77285 82.723058,81.70532 z"}};function af(e){let t=document.createElementNS(QS,e.tagName);for(let n in e)if(e.hasOwnProperty(n)&&n!=="tagName")if(n==="children"){let i=e.children.length;for(let o=0;o<i;++o)t.appendChild(af(e.children[o]))}else n.indexOf("xlink:")===0?t.setAttributeNS(xLe,n.substring(6),e[n]):n==="textContent"?t.textContent=e[n]:t.setAttribute(n,e[n]);return t}function X$(e,t,n){let i=document.createElementNS(QS,"text");i.setAttribute("x",e),i.setAttribute("y",t),i.setAttribute("class","cesium-animation-svgText");let o=document.createElementNS(QS,"tspan");return o.textContent=n,i.appendChild(o),i}function oEt(e,t,n){e.setAttribute("transform",`translate(100,100) rotate(${n})`),t.setAttribute("transform",`rotate(${n})`)}var EY=new D;function us(e,t){let n=t.alpha,i=1-n;return EY.red=e.red*i+t.red*n,EY.green=e.green*i+t.green*n,EY.blue=e.blue*i+t.blue*n,EY.toCssColorString()}function W$(e,t,n){let i=mN[n],o={tagName:"g",class:"cesium-animation-rectButton",transform:`translate(${e},${t})`,children:[{tagName:"rect",class:"cesium-animation-buttonGlow",width:32,height:32,rx:2,ry:2},{tagName:"rect",class:"cesium-animation-buttonMain",width:32,height:32,rx:4,ry:4},{class:"cesium-animation-buttonPath",id:n,tagName:i.tagName,transform:i.transform,d:i.d},{tagName:"title",textContent:""}]};return af(o)}function rEt(e,t,n){let i=mN[n],o=mN.animation_pathWingButton,r={tagName:"g",class:"cesium-animation-rectButton",transform:`translate(${e},${t})`,children:[{class:"cesium-animation-buttonGlow",id:"animation_pathWingButton",tagName:o.tagName,d:o.d},{class:"cesium-animation-buttonMain",id:"animation_pathWingButton",tagName:o.tagName,d:o.d},{class:"cesium-animation-buttonPath",id:n,tagName:i.tagName,transform:i.transform,d:i.d},{tagName:"title",textContent:""}]};return af(r)}function sEt(e,t){let n=e._viewModel,i=n.shuttleRingDragging;if(!(i&&LY!==e))if(t.type==="mousedown"||i&&t.type==="mousemove"||t.type==="touchstart"&&t.touches.length===1||i&&t.type==="touchmove"&&t.touches.length===1){let o=e._centerX,r=e._centerY,a=e._svgNode.getBoundingClientRect(),c,d;if(t.type==="touchstart"||t.type==="touchmove"?(c=t.touches[0].clientX,d=t.touches[0].clientY):(c=t.clientX,d=t.clientY),!i&&(c>a.right||c<a.left||d<a.top||d>a.bottom))return;let u=e._shuttleRingPointer.getBoundingClientRect(),h=c-o-a.left,p=d-r-a.top,g=Math.atan2(p,h)*180/Math.PI+90;g>180&&(g-=360);let f=n.shuttleRingAngle;i||c<u.right&&c>u.left&&d>u.top&&d<u.bottom?(LY=e,n.shuttleRingDragging=!0,n.shuttleRingAngle=g):g<f?n.slower():g>f&&n.faster(),t.preventDefault()}else e===LY&&(LY=void 0),n.shuttleRingDragging=!1}function Y0(e,t){this._viewModel=t,this.svgElement=e,this._enabled=void 0,this._toggled=void 0;let n=this;this._clickFunction=function(){let i=n._viewModel.command;i.canExecute&&i()},e.addEventListener("click",this._clickFunction,!0),this._subscriptions=[Aa(t,"toggled",this.setToggled,this),Aa(t,"tooltip",this.setTooltip,this),Aa(t.command,"canExecute",this.setEnabled,this)]}Y0.prototype.destroy=function(){this.svgElement.removeEventListener("click",this._clickFunction,!0);let e=this._subscriptions;for(let t=0,n=e.length;t<n;t++)e[t].dispose();he(this)};Y0.prototype.isDestroyed=function(){return!1};Y0.prototype.setEnabled=function(e){if(this._enabled!==e){if(this._enabled=e,!e){this.svgElement.setAttribute("class","cesium-animation-buttonDisabled");return}if(this._toggled){this.svgElement.setAttribute("class","cesium-animation-rectButton cesium-animation-buttonToggled");return}this.svgElement.setAttribute("class","cesium-animation-rectButton")}};Y0.prototype.setToggled=function(e){this._toggled!==e&&(this._toggled=e,this._enabled&&(e?this.svgElement.setAttribute("class","cesium-animation-rectButton cesium-animation-buttonToggled"):this.svgElement.setAttribute("class","cesium-animation-rectButton")))};Y0.prototype.setTooltip=function(e){this.svgElement.getElementsByTagName("title")[0].textContent=e};function yR(e,t){e=Cn(e),this._viewModel=t,this._container=e,this._centerX=0,this._centerY=0,this._defsElement=void 0,this._svgNode=void 0,this._topG=void 0,this._lastHeight=void 0,this._lastWidth=void 0;let n=e.ownerDocument,i=document.createElement("style");i.textContent=".cesium-animation-rectButton .cesium-animation-buttonGlow { filter: url(#animation_blurred); }.cesium-animation-rectButton .cesium-animation-buttonMain { fill: url(#animation_buttonNormal); }.cesium-animation-buttonToggled .cesium-animation-buttonMain { fill: url(#animation_buttonToggled); }.cesium-animation-rectButton:hover .cesium-animation-buttonMain { fill: url(#animation_buttonHovered); }.cesium-animation-buttonDisabled .cesium-animation-buttonMain { fill: url(#animation_buttonDisabled); }.cesium-animation-shuttleRingG .cesium-animation-shuttleRingSwoosh { fill: url(#animation_shuttleRingSwooshGradient); }.cesium-animation-shuttleRingG:hover .cesium-animation-shuttleRingSwoosh { fill: url(#animation_shuttleRingSwooshHovered); }.cesium-animation-shuttleRingPointer { fill: url(#animation_shuttleRingPointerGradient); }.cesium-animation-shuttleRingPausePointer { fill: url(#animation_shuttleRingPointerPaused); }.cesium-animation-knobOuter { fill: url(#animation_knobOuter); }.cesium-animation-knobInner { fill: url(#animation_knobInner); }",n.head.insertBefore(i,n.head.childNodes[0]);let o=document.createElement("div");o.className="cesium-animation-theme",o.innerHTML='<div class="cesium-animation-themeNormal"></div><div class="cesium-animation-themeHover"></div><div class="cesium-animation-themeSelect"></div><div class="cesium-animation-themeDisabled"></div><div class="cesium-animation-themeKnob"></div><div class="cesium-animation-themePointer"></div><div class="cesium-animation-themeSwoosh"></div><div class="cesium-animation-themeSwooshHover"></div>',this._theme=o,this._themeNormal=o.childNodes[0],this._themeHover=o.childNodes[1],this._themeSelect=o.childNodes[2],this._themeDisabled=o.childNodes[3],this._themeKnob=o.childNodes[4],this._themePointer=o.childNodes[5],this._themeSwoosh=o.childNodes[6],this._themeSwooshHover=o.childNodes[7];let r=document.createElementNS(QS,"svg:svg");this._svgNode=r,r.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink",xLe);let s=document.createElementNS(QS,"g");this._topG=s,this._realtimeSVG=new Y0(rEt(3,4,"animation_pathClock"),t.playRealtimeViewModel),this._playReverseSVG=new Y0(W$(44,99,"animation_pathPlayReverse"),t.playReverseViewModel),this._playForwardSVG=new Y0(W$(124,99,"animation_pathPlay"),t.playForwardViewModel),this._pauseSVG=new Y0(W$(84,99,"animation_pathPause"),t.pauseViewModel);let a=document.createElementNS(QS,"g");a.appendChild(this._realtimeSVG.svgElement),a.appendChild(this._playReverseSVG.svgElement),a.appendChild(this._playForwardSVG.svgElement),a.appendChild(this._pauseSVG.svgElement);let c=af({tagName:"circle",class:"cesium-animation-shuttleRingBack",cx:100,cy:100,r:99});this._shuttleRingBackPanel=c;let d=mN.animation_pathSwooshFX,u=mN.animation_pathPointer,h=af({tagName:"g",class:"cesium-animation-shuttleRingSwoosh",children:[{tagName:d.tagName,transform:"translate(100,97) scale(-1,1)",id:"animation_pathSwooshFX",d:d.d},{tagName:d.tagName,transform:"translate(100,97)",id:"animation_pathSwooshFX",d:d.d},{tagName:"line",x1:100,y1:8,x2:100,y2:22}]});this._shuttleRingSwooshG=h,this._shuttleRingPointer=af({class:"cesium-animation-shuttleRingPointer",id:"animation_pathPointer",tagName:u.tagName,d:u.d});let p=af({tagName:"g",transform:"translate(100,100)"});this._knobOuter=af({tagName:"circle",class:"cesium-animation-knobOuter",cx:0,cy:0,r:71});let g=61,f=af({tagName:"circle",class:"cesium-animation-knobInner",cx:0,cy:0,r:g});this._knobDate=X$(0,-24,""),this._knobTime=X$(0,-7,""),this._knobStatus=X$(0,-41,"");let y=af({tagName:"circle",class:"cesium-animation-blank",cx:0,cy:0,r:g}),T=document.createElementNS(QS,"g");T.setAttribute("class","cesium-animation-shuttleRingG"),e.appendChild(o),s.appendChild(T),s.appendChild(p),s.appendChild(a),T.appendChild(c),T.appendChild(h),T.appendChild(this._shuttleRingPointer),p.appendChild(this._knobOuter),p.appendChild(f),p.appendChild(this._knobDate),p.appendChild(this._knobTime),p.appendChild(this._knobStatus),p.appendChild(y),r.appendChild(s),e.appendChild(r);let S=this;function C(W){sEt(S,W)}this._mouseCallback=C,c.addEventListener("mousedown",C,!0),c.addEventListener("touchstart",C,!0),h.addEventListener("mousedown",C,!0),h.addEventListener("touchstart",C,!0),n.addEventListener("mousemove",C,!0),n.addEventListener("touchmove",C,!0),n.addEventListener("mouseup",C,!0),n.addEventListener("touchend",C,!0),n.addEventListener("touchcancel",C,!0),this._shuttleRingPointer.addEventListener("mousedown",C,!0),this._shuttleRingPointer.addEventListener("touchstart",C,!0),this._knobOuter.addEventListener("mousedown",C,!0),this._knobOuter.addEventListener("touchstart",C,!0);let V=this._knobTime.childNodes[0],R=this._knobDate.childNodes[0],E=this._knobStatus.childNodes[0],I;this._subscriptions=[Aa(t.pauseViewModel,"toggled",function(W){I!==W&&(I=W,I?S._shuttleRingPointer.setAttribute("class","cesium-animation-shuttleRingPausePointer"):S._shuttleRingPointer.setAttribute("class","cesium-animation-shuttleRingPointer"))}),Aa(t,"shuttleRingAngle",function(W){oEt(S._shuttleRingPointer,S._knobOuter,W)}),Aa(t,"dateLabel",function(W){R.textContent!==W&&(R.textContent=W)}),Aa(t,"timeLabel",function(W){V.textContent!==W&&(V.textContent=W)}),Aa(t,"multiplierLabel",function(W){E.textContent!==W&&(E.textContent=W)})],this.applyThemeChanges(),this.resize()}Object.defineProperties(yR.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});yR.prototype.isDestroyed=function(){return!1};yR.prototype.destroy=function(){l(this._observer)&&(this._observer.disconnect(),this._observer=void 0);let e=this._container.ownerDocument,t=this._mouseCallback;this._shuttleRingBackPanel.removeEventListener("mousedown",t,!0),this._shuttleRingBackPanel.removeEventListener("touchstart",t,!0),this._shuttleRingSwooshG.removeEventListener("mousedown",t,!0),this._shuttleRingSwooshG.removeEventListener("touchstart",t,!0),e.removeEventListener("mousemove",t,!0),e.removeEventListener("touchmove",t,!0),e.removeEventListener("mouseup",t,!0),e.removeEventListener("touchend",t,!0),e.removeEventListener("touchcancel",t,!0),this._shuttleRingPointer.removeEventListener("mousedown",t,!0),this._shuttleRingPointer.removeEventListener("touchstart",t,!0),this._knobOuter.removeEventListener("mousedown",t,!0),this._knobOuter.removeEventListener("touchstart",t,!0),this._container.removeChild(this._svgNode),this._container.removeChild(this._theme),this._realtimeSVG.destroy(),this._playReverseSVG.destroy(),this._playForwardSVG.destroy(),this._pauseSVG.destroy();let n=this._subscriptions;for(let i=0,o=n.length;i<o;i++)n[i].dispose();return he(this)};yR.prototype.resize=function(){let e=this._container.clientWidth,t=this._container.clientHeight;if(e===this._lastWidth&&t===this._lastHeight)return;let n=this._svgNode,i=200,o=132,r=e,s=t;e===0&&t===0?(r=i,s=o):e===0?(s=t,r=i*(t/o)):t===0&&(r=e,s=o*(e/i));let a=r/i,c=s/o;n.style.cssText=`width: ${r}px; height: ${s}px; position: absolute; bottom: 0; left: 0; overflow: hidden;`,n.setAttribute("width",r),n.setAttribute("height",s),n.setAttribute("viewBox",`0 0 ${r} ${s}`),this._topG.setAttribute("transform",`scale(${a},${c})`),this._centerX=Math.max(1,100*a),this._centerY=Math.max(1,100*c),this._lastHeight=e,this._lastWidth=t};yR.prototype.applyThemeChanges=function(){let e=this._container.ownerDocument;if(!e.body.contains(this._container)){if(l(this._observer))return;let u=this;u._observer=new MutationObserver(function(){e.body.contains(u._container)&&(u._observer.disconnect(),u._observer=void 0,u.applyThemeChanges())}),u._observer.observe(e,{childList:!0,subtree:!0});return}let t=dx(this._themeNormal),n=dx(this._themeHover),i=dx(this._themeSelect),o=dx(this._themeDisabled),r=dx(this._themeKnob),s=dx(this._themePointer),a=dx(this._themeSwoosh),c=dx(this._themeSwooshHover),d=af({tagName:"defs",children:[{id:"animation_buttonNormal",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":us(t,uN)},{tagName:"stop",offset:"12%","stop-color":us(t,RY)},{tagName:"stop",offset:"46%","stop-color":us(t,A$)},{tagName:"stop",offset:"81%","stop-color":us(t,ZY)}]},{id:"animation_buttonHovered",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":us(n,uN)},{tagName:"stop",offset:"12%","stop-color":us(n,RY)},{tagName:"stop",offset:"46%","stop-color":us(n,A$)},{tagName:"stop",offset:"81%","stop-color":us(n,ZY)}]},{id:"animation_buttonToggled",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":us(i,uN)},{tagName:"stop",offset:"12%","stop-color":us(i,RY)},{tagName:"stop",offset:"46%","stop-color":us(i,A$)},{tagName:"stop",offset:"81%","stop-color":us(i,ZY)}]},{id:"animation_buttonDisabled",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":us(o,nEt)},{tagName:"stop",offset:"75%","stop-color":us(o,iEt)}]},{id:"animation_blurred",tagName:"filter",width:"200%",height:"200%",x:"-50%",y:"-50%",children:[{tagName:"feGaussianBlur",stdDeviation:4,in:"SourceGraphic"}]},{id:"animation_shuttleRingSwooshGradient",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-opacity":.2,"stop-color":a.toCssColorString()},{tagName:"stop",offset:"85%","stop-opacity":.85,"stop-color":a.toCssColorString()},{tagName:"stop",offset:"95%","stop-opacity":.05,"stop-color":a.toCssColorString()}]},{id:"animation_shuttleRingSwooshHovered",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-opacity":.2,"stop-color":c.toCssColorString()},{tagName:"stop",offset:"85%","stop-opacity":.85,"stop-color":c.toCssColorString()},{tagName:"stop",offset:"95%","stop-opacity":.05,"stop-color":c.toCssColorString()}]},{id:"animation_shuttleRingPointerGradient",tagName:"linearGradient",x1:"0%",y1:"50%",x2:"100%",y2:"50%",children:[{tagName:"stop",offset:"0%","stop-color":s.toCssColorString()},{tagName:"stop",offset:"40%","stop-color":s.toCssColorString()},{tagName:"stop",offset:"60%","stop-color":us(s,yLe)},{tagName:"stop",offset:"100%","stop-color":us(s,yLe)}]},{id:"animation_shuttleRingPointerPaused",tagName:"linearGradient",x1:"0%",y1:"50%",x2:"100%",y2:"50%",children:[{tagName:"stop",offset:"0%","stop-color":"#CCC"},{tagName:"stop",offset:"40%","stop-color":"#CCC"},{tagName:"stop",offset:"60%","stop-color":"#555"},{tagName:"stop",offset:"100%","stop-color":"#555"}]},{id:"animation_knobOuter",tagName:"linearGradient",x1:"20%",y1:"0%",x2:"90%",y2:"100%",children:[{tagName:"stop",offset:"5%","stop-color":us(r,uN)},{tagName:"stop",offset:"60%","stop-color":us(r,gLe)},{tagName:"stop",offset:"85%","stop-color":us(r,RY)}]},{id:"animation_knobInner",tagName:"linearGradient",x1:"20%",y1:"0%",x2:"90%",y2:"100%",children:[{tagName:"stop",offset:"5%","stop-color":us(r,gLe)},{tagName:"stop",offset:"60%","stop-color":us(r,uN)},{tagName:"stop",offset:"85%","stop-color":us(r,ZY)}]}]});l(this._defsElement)?this._svgNode.replaceChild(d,this._defsElement):this._svgNode.appendChild(d),this._defsElement=d};var hN=yR;var jGo=x(_(),1);var aEt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ux=15,xR=105;function _Le(e,t){return e-t}function P$(e,t){let n=Eo(t,e,_Le);return n<0?~n:n}function cEt(e,t){if(Math.abs(e)<=ux)return e/ux;let n=ux,i=xR,o,r=0,s;return e>0?(o=Math.log(t[t.length-1]),s=(o-r)/(i-n),Math.exp(r+s*(e-n))):(o=Math.log(-t[0]),s=(o-r)/(i-n),-Math.exp(r+s*(Math.abs(e)-n)))}function lEt(e,t,n){if(n.clockStep===mo.SYSTEM_CLOCK)return ux;if(Math.abs(e)<=1)return e*ux;let i=t[t.length-1];e>i?e=i:e<-i&&(e=-i);let o=ux,r=xR,s,a=0,c;return e>0?(s=Math.log(i),c=(s-a)/(r-o),(Math.log(e)-a)/c+o):(s=Math.log(-t[0]),c=(s-a)/(r-o),-((Math.log(Math.abs(e))-a)/c+o))}function Zm(e){let t=this;this._clockViewModel=e,this._allShuttleRingTicks=[],this._dateFormatter=Zm.defaultDateFormatter,this._timeFormatter=Zm.defaultTimeFormatter,this.shuttleRingDragging=!1,this.snapToTicks=!1,Se.track(this,["_allShuttleRingTicks","_dateFormatter","_timeFormatter","shuttleRingDragging","snapToTicks"]),this._sortedFilteredPositiveTicks=[],this.setShuttleRingTicks(Zm.defaultTicks),this.timeLabel=void 0,Se.defineProperty(this,"timeLabel",function(){return t._timeFormatter(t._clockViewModel.currentTime,t)}),this.dateLabel=void 0,Se.defineProperty(this,"dateLabel",function(){return t._dateFormatter(t._clockViewModel.currentTime,t)}),this.multiplierLabel=void 0,Se.defineProperty(this,"multiplierLabel",function(){let s=t._clockViewModel;if(s.clockStep===mo.SYSTEM_CLOCK)return"Today";let a=s.multiplier;return a%1===0?`${a.toFixed(0)}x`:`${a.toFixed(3).replace(/0{0,3}$/,"")}x`}),this.shuttleRingAngle=void 0,Se.defineProperty(this,"shuttleRingAngle",{get:function(){return lEt(e.multiplier,t._allShuttleRingTicks,e)},set:function(s){s=Math.max(Math.min(s,xR),-xR);let a=t._allShuttleRingTicks,c=t._clockViewModel;if(c.clockStep=mo.SYSTEM_CLOCK_MULTIPLIER,Math.abs(s)===xR){c.multiplier=s>0?a[a.length-1]:a[0];return}let d=cEt(s,a);if(t.snapToTicks)d=a[P$(d,a)];else if(d!==0){let u=Math.abs(d);if(u>100){let h=u.toFixed(0).length-2,p=Math.pow(10,h);d=Math.round(d/p)*p|0}else u>ux?d=Math.round(d):u>1?d=+d.toFixed(1):u>0&&(d=+d.toFixed(2))}c.multiplier=d}}),this._canAnimate=void 0,Se.defineProperty(this,"_canAnimate",function(){let s=t._clockViewModel,a=s.clockRange;if(t.shuttleRingDragging||a===Hr.UNBOUNDED)return!0;let c=s.multiplier,d=s.currentTime,u=s.startTime,h=!1;if(a===Hr.LOOP_STOP)h=j.greaterThan(d,u)||d.equals(u)&&c>0;else{let p=s.stopTime;h=j.greaterThan(d,u)&&j.lessThan(d,p)||d.equals(u)&&c>0||d.equals(p)&&c<0}return h||(s.shouldAnimate=!1),h}),this._isSystemTimeAvailable=void 0,Se.defineProperty(this,"_isSystemTimeAvailable",function(){let s=t._clockViewModel;if(s.clockRange===Hr.UNBOUNDED)return!0;let c=s.systemTime;return j.greaterThanOrEquals(c,s.startTime)&&j.lessThanOrEquals(c,s.stopTime)}),this._isAnimating=void 0,Se.defineProperty(this,"_isAnimating",function(){return t._clockViewModel.shouldAnimate&&(t._canAnimate||t.shuttleRingDragging)});let n=yn(function(){let s=t._clockViewModel;s.shouldAnimate?s.shouldAnimate=!1:t._canAnimate&&(s.shouldAnimate=!0)});this._pauseViewModel=new lx(n,{toggled:Se.computed(function(){return!t._isAnimating}),tooltip:"Pause"});let i=yn(function(){let s=t._clockViewModel,a=s.multiplier;a>0&&(s.multiplier=-a),s.shouldAnimate=!0});this._playReverseViewModel=new lx(i,{toggled:Se.computed(function(){return t._isAnimating&&e.multiplier<0}),tooltip:"Play Reverse"});let o=yn(function(){let s=t._clockViewModel,a=s.multiplier;a<0&&(s.multiplier=-a),s.shouldAnimate=!0});this._playForwardViewModel=new lx(o,{toggled:Se.computed(function(){return t._isAnimating&&e.multiplier>0&&e.clockStep!==mo.SYSTEM_CLOCK}),tooltip:"Play Forward"});let r=yn(function(){t._clockViewModel.clockStep=mo.SYSTEM_CLOCK},Se.getObservable(this,"_isSystemTimeAvailable"));this._playRealtimeViewModel=new lx(r,{toggled:Se.computed(function(){return e.clockStep===mo.SYSTEM_CLOCK}),tooltip:Se.computed(function(){return t._isSystemTimeAvailable?"Today (real-time)":"Current time not in range"})}),this._slower=yn(function(){let s=t._clockViewModel,a=t._allShuttleRingTicks,c=s.multiplier,d=P$(c,a)-1;d>=0&&(s.multiplier=a[d])}),this._faster=yn(function(){let s=t._clockViewModel,a=t._allShuttleRingTicks,c=s.multiplier,d=P$(c,a)+1;d<a.length&&(s.multiplier=a[d])})}Zm.defaultDateFormatter=function(e,t){let n=j.toGregorianDate(e);return`${aEt[n.month-1]} ${n.day} ${n.year}`};Zm.defaultTicks=[.001,.002,.005,.01,.02,.05,.1,.25,.5,1,2,5,10,15,30,60,120,300,600,900,1800,3600,7200,14400,21600,43200,86400,172800,345600,604800];Zm.defaultTimeFormatter=function(e,t){let n=j.toGregorianDate(e),i=Math.round(n.millisecond);return Math.abs(t._clockViewModel.multiplier)<1?`${n.hour.toString().padStart(2,"0")}:${n.minute.toString().padStart(2,"0")}:${n.second.toString().padStart(2,"0")}.${i.toString().padStart(3,"0")}`:`${n.hour.toString().padStart(2,"0")}:${n.minute.toString().padStart(2,"0")}:${n.second.toString().padStart(2,"0")} UTC`};Zm.prototype.getShuttleRingTicks=function(){return this._sortedFilteredPositiveTicks.slice(0)};Zm.prototype.setShuttleRingTicks=function(e){let t,n,i,o={},r=this._sortedFilteredPositiveTicks;for(r.length=0,t=0,n=e.length;t<n;++t)i=e[t],o.hasOwnProperty(i)||(o[i]=!0,r.push(i));r.sort(_Le);let s=[];for(n=r.length,t=n-1;t>=0;--t)i=r[t],i!==0&&s.push(-i);Array.prototype.push.apply(s,r),this._allShuttleRingTicks=s};Object.defineProperties(Zm.prototype,{slower:{get:function(){return this._slower}},faster:{get:function(){return this._faster}},clockViewModel:{get:function(){return this._clockViewModel}},pauseViewModel:{get:function(){return this._pauseViewModel}},playReverseViewModel:{get:function(){return this._playReverseViewModel}},playForwardViewModel:{get:function(){return this._playForwardViewModel}},playRealtimeViewModel:{get:function(){return this._playRealtimeViewModel}},dateFormatter:{get:function(){return this._dateFormatter},set:function(e){this._dateFormatter=e}},timeFormatter:{get:function(){return this._timeFormatter},set:function(e){this._timeFormatter=e}}});Zm._maxShuttleRingAngle=xR;Zm._realtimeShuttleRingAngle=ux;var fN=Zm;var lIo=x(_(),1);var nIo=x(_(),1);function dEt(e){return function(t){let n=e._scene.pick(t.position);l(n)&&n.primitive instanceof Ts&&(e.tileset=n.primitive),e.pickActive=!1}}function SLe(e,t){t?e._eventHandler.setInputAction(function(n){let i=e._scene.pick(n.endPosition);l(i)&&i.primitive instanceof Ts&&(e.tileset=i.primitive)},pn.MOUSE_MOVE):(e._eventHandler.removeInputAction(pn.MOUSE_MOVE),e.picking=e.picking)}var uEt={maximumFractionDigits:3};function pN(e){let t=e/1048576;return t<1?t.toLocaleString(void 0,uEt):Math.round(t).toLocaleString()}function bN(e,t){if(!l(e))return"";let n=t?e._statisticsPerPass[Xo.PICK]:e._statisticsPerPass[Xo.RENDER],i='<ul class="cesium-cesiumInspector-statistics">';return i+=`<li><strong>Visited: </strong>${n.visited.toLocaleString()}</li><li><strong>Selected: </strong>${n.selected.toLocaleString()}</li><li><strong>Commands: </strong>${n.numberOfCommands.toLocaleString()}</li>`,i+="</ul>",t||(i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Requests: </strong>${n.numberOfPendingRequests.toLocaleString()}</li><li><strong>Attempted: </strong>${n.numberOfAttemptedRequests.toLocaleString()}</li><li><strong>Processing: </strong>${n.numberOfTilesProcessing.toLocaleString()}</li><li><strong>Content Ready: </strong>${n.numberOfTilesWithContentReady.toLocaleString()}</li><li><strong>Total: </strong>${n.numberOfTilesTotal.toLocaleString()}</li>`,i+="</ul>",i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Features Selected: </strong>${n.numberOfFeaturesSelected.toLocaleString()}</li><li><strong>Features Loaded: </strong>${n.numberOfFeaturesLoaded.toLocaleString()}</li><li><strong>Points Selected: </strong>${n.numberOfPointsSelected.toLocaleString()}</li><li><strong>Points Loaded: </strong>${n.numberOfPointsLoaded.toLocaleString()}</li><li><strong>Triangles Selected: </strong>${n.numberOfTrianglesSelected.toLocaleString()}</li>`,i+="</ul>",i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Tiles styled: </strong>${n.numberOfTilesStyled.toLocaleString()}</li><li><strong>Features styled: </strong>${n.numberOfFeaturesStyled.toLocaleString()}</li>`,i+="</ul>",i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Children Union Culled: </strong>${n.numberOfTilesCulledWithChildrenUnion.toLocaleString()}</li>`,i+="</ul>",i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Geometry Memory (MB): </strong>${pN(n.geometryByteLength)}</li><li><strong>Texture Memory (MB): </strong>${pN(n.texturesByteLength)}</li><li><strong>Batch Table Memory (MB): </strong>${pN(n.batchTableByteLength)}</li>`,i+="</ul>"),i}function CLe(){let e=Ti.statistics;return`
16006
16006
  <ul class="cesium-cesiumInspector-statistics">
16007
- <li><strong>Geometry Memory (MB): </strong>${uN(e.geometryByteLength)}</li>
16008
- <li><strong>Texture Memory (MB): </strong>${uN(e.texturesByteLength)}</li>
16007
+ <li><strong>Geometry Memory (MB): </strong>${pN(e.geometryByteLength)}</li>
16008
+ <li><strong>Texture Memory (MB): </strong>${pN(e.texturesByteLength)}</li>
16009
16009
  </ul>
16010
- `}var oEt=[{text:"Highlight",value:vl.HIGHLIGHT},{text:"Replace",value:vl.REPLACE},{text:"Mix",value:vl.MIX}],gLe=new D(1,1,0,.4),rEt=new D,LY=new D;function Xa(e,t){let n=this,i=e.canvas;this._eventHandler=new au(i),this._scene=e,this._performanceContainer=t,this._canvas=i,this._performanceDisplay=new G0({container:t}),this._statisticsText="",this._pickStatisticsText="",this._resourceCacheStatisticsText="",this._editorError="",this.performance=!1,this.showStatistics=!0,this.showPickStatistics=!0,this.showResourceCacheStatistics=!1,this.inspectorVisible=!0,this.tilesetVisible=!1,this.displayVisible=!1,this.updateVisible=!1,this.loggingVisible=!1,this.styleVisible=!1,this.tileDebugLabelsVisible=!1,this.optimizationVisible=!1,this.styleString="{}",this.hasEnabledWireframe=!1,this._tileset=void 0,this._feature=void 0,this._tile=void 0,Se.track(this,["performance","inspectorVisible","_statisticsText","_pickStatisticsText","_resourceCacheStatisticsText","_editorError","showPickStatistics","showStatistics","showResourceCacheStatistics","tilesetVisible","displayVisible","updateVisible","loggingVisible","styleVisible","optimizationVisible","tileDebugLabelsVisible","styleString","_feature","_tile","_tileset","hasEnabledWireframe"]),this._properties=Se.observable({}),this.properties=[],Se.defineProperty(this,"properties",function(){let N=[],z=n._properties();for(let J in z)z.hasOwnProperty(J)&&N.push(J);return N});let o=Se.observable();Se.defineProperty(this,"dynamicScreenSpaceError",{get:function(){return o()},set:function(N){o(N),l(n._tileset)&&(n._tileset.dynamicScreenSpaceError=N)}}),this.dynamicScreenSpaceError=!1;let r=Se.observable();Se.defineProperty(this,"colorBlendMode",{get:function(){return r()},set:function(N){r(N),l(n._tileset)&&(n._tileset.colorBlendMode=N,n._scene.requestRender())}}),this.colorBlendMode=vl.HIGHLIGHT;let s=Se.observable(),a=Se.observable();Se.defineProperty(this,"picking",{get:function(){return a()},set:function(N){a(N),N?n._eventHandler.setInputAction(function(z){let J=e.pick(z.endPosition);if(J instanceof js?(n.feature=J,n.tile=J.content.tile):l(J)&&l(J.content)?(n.feature=void 0,n.tile=J.content.tile):(n.feature=void 0,n.tile=void 0),!!l(n._tileset)){if(s&&l(J)&&l(J.content)){let ee;e.pickPositionSupported&&(ee=e.pickPosition(z.endPosition),l(ee)&&(n._tileset.debugPickPosition=ee)),n._tileset.debugPickedTile=J.content.tile}else n._tileset.debugPickedTile=void 0;n._scene.requestRender()}},pn.MOUSE_MOVE):(n.feature=void 0,n.tile=void 0,n._eventHandler.removeInputAction(pn.MOUSE_MOVE))}}),this.picking=!0;let c=Se.observable();Se.defineProperty(this,"colorize",{get:function(){return c()},set:function(N){c(N),l(n._tileset)&&(n._tileset.debugColorizeTiles=N,n._scene.requestRender())}}),this.colorize=!1;let d=Se.observable();Se.defineProperty(this,"wireframe",{get:function(){return d()},set:function(N){d(N),l(n._tileset)&&(n._tileset.debugWireframe=N,n._scene.requestRender())}}),this.wireframe=!1;let u=Se.observable();Se.defineProperty(this,"showBoundingVolumes",{get:function(){return u()},set:function(N){u(N),l(n._tileset)&&(n._tileset.debugShowBoundingVolume=N,n._scene.requestRender())}}),this.showBoundingVolumes=!1;let h=Se.observable();Se.defineProperty(this,"showContentBoundingVolumes",{get:function(){return h()},set:function(N){h(N),l(n._tileset)&&(n._tileset.debugShowContentBoundingVolume=N,n._scene.requestRender())}}),this.showContentBoundingVolumes=!1;let p=Se.observable();Se.defineProperty(this,"showRequestVolumes",{get:function(){return p()},set:function(N){p(N),l(n._tileset)&&(n._tileset.debugShowViewerRequestVolume=N,n._scene.requestRender())}}),this.showRequestVolumes=!1;let g=Se.observable();Se.defineProperty(this,"freezeFrame",{get:function(){return g()},set:function(N){g(N),l(n._tileset)&&(n._tileset.debugFreezeFrame=N,n._scene.debugShowFrustumPlanes=N,n._scene.requestRender())}}),this.freezeFrame=!1,Se.defineProperty(this,"showOnlyPickedTileDebugLabel",{get:function(){return s()},set:function(N){s(N),l(n._tileset)&&(n._tileset.debugPickedTileLabelOnly=N,n._scene.requestRender())}}),this.showOnlyPickedTileDebugLabel=!1;let f=Se.observable();Se.defineProperty(this,"showGeometricError",{get:function(){return f()},set:function(N){f(N),l(n._tileset)&&(n._tileset.debugShowGeometricError=N,n._scene.requestRender())}}),this.showGeometricError=!1;let y=Se.observable();Se.defineProperty(this,"showRenderingStatistics",{get:function(){return y()},set:function(N){y(N),l(n._tileset)&&(n._tileset.debugShowRenderingStatistics=N,n._scene.requestRender())}}),this.showRenderingStatistics=!1;let T=Se.observable();Se.defineProperty(this,"showMemoryUsage",{get:function(){return T()},set:function(N){T(N),l(n._tileset)&&(n._tileset.debugShowMemoryUsage=N,n._scene.requestRender())}}),this.showMemoryUsage=!1;let S=Se.observable();Se.defineProperty(this,"showUrl",{get:function(){return S()},set:function(N){S(N),l(n._tileset)&&(n._tileset.debugShowUrl=N,n._scene.requestRender())}}),this.showUrl=!1;let C=Se.observable();Se.defineProperty(this,"maximumScreenSpaceError",{get:function(){return C()},set:function(N){N=Number(N),isNaN(N)||(C(N),l(n._tileset)&&(n._tileset.maximumScreenSpaceError=N))}}),this.maximumScreenSpaceError=16;let V=Se.observable();Se.defineProperty(this,"dynamicScreenSpaceErrorDensity",{get:function(){return V()},set:function(N){N=Number(N),isNaN(N)||(V(N),l(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=N))}}),this.dynamicScreenSpaceErrorDensity=2e-4,this.dynamicScreenSpaceErrorDensitySliderValue=void 0,Se.defineProperty(this,"dynamicScreenSpaceErrorDensitySliderValue",{get:function(){return Math.pow(V(),1/6)},set:function(N){let z=Math.pow(N,6);V(z),l(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=z)}});let R=Se.observable();Se.defineProperty(this,"dynamicScreenSpaceErrorFactor",{get:function(){return R()},set:function(N){N=Number(N),isNaN(N)||(R(N),l(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorFactor=N))}}),this.dynamicScreenSpaceErrorFactor=24;let E=nEt(this),I=Se.observable();Se.defineProperty(this,"pickActive",{get:function(){return I()},set:function(N){I(N),N?n._eventHandler.setInputAction(E,pn.LEFT_CLICK):n._eventHandler.removeInputAction(pn.LEFT_CLICK)}});let W=Se.observable();Se.defineProperty(this,"pointCloudShading",{get:function(){return W()},set:function(N){W(N),l(n._tileset)&&(n._tileset.pointCloudShading.attenuation=N)}}),this.pointCloudShading=!1;let X=Se.observable();Se.defineProperty(this,"geometricErrorScale",{get:function(){return X()},set:function(N){N=Number(N),isNaN(N)||(X(N),l(n._tileset)&&(n._tileset.pointCloudShading.geometricErrorScale=N))}}),this.geometricErrorScale=1;let P=Se.observable();Se.defineProperty(this,"maximumAttenuation",{get:function(){return P()},set:function(N){N=Number(N),isNaN(N)||(P(N),l(n._tileset)&&(n._tileset.pointCloudShading.maximumAttenuation=N===0?void 0:N))}}),this.maximumAttenuation=0;let F=Se.observable();Se.defineProperty(this,"baseResolution",{get:function(){return F()},set:function(N){N=Number(N),isNaN(N)||(F(N),l(n._tileset)&&(n._tileset.pointCloudShading.baseResolution=N===0?void 0:N))}}),this.baseResolution=0;let b=Se.observable();Se.defineProperty(this,"eyeDomeLighting",{get:function(){return b()},set:function(N){b(N),l(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLighting=N)}}),this.eyeDomeLighting=!1;let L=Se.observable();Se.defineProperty(this,"eyeDomeLightingStrength",{get:function(){return L()},set:function(N){N=Number(N),isNaN(N)||(L(N),l(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingStrength=N))}}),this.eyeDomeLightingStrength=1;let Z=Se.observable();Se.defineProperty(this,"eyeDomeLightingRadius",{get:function(){return Z()},set:function(N){N=Number(N),isNaN(N)||(Z(N),l(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingRadius=N))}}),this.eyeDomeLightingRadius=1,this.pickActive=!1;let G=Se.observable();Se.defineProperty(this,"skipLevelOfDetail",{get:function(){return G()},set:function(N){G(N),l(n._tileset)&&(n._tileset.skipLevelOfDetail=N)}}),this.skipLevelOfDetail=!0;let w=Se.observable();Se.defineProperty(this,"skipScreenSpaceErrorFactor",{get:function(){return w()},set:function(N){N=Number(N),isNaN(N)||(w(N),l(n._tileset)&&(n._tileset.skipScreenSpaceErrorFactor=N))}}),this.skipScreenSpaceErrorFactor=16;let M=Se.observable();Se.defineProperty(this,"baseScreenSpaceError",{get:function(){return M()},set:function(N){N=Number(N),isNaN(N)||(M(N),l(n._tileset)&&(n._tileset.baseScreenSpaceError=N))}}),this.baseScreenSpaceError=1024;let B=Se.observable();Se.defineProperty(this,"skipLevels",{get:function(){return B()},set:function(N){N=Number(N),isNaN(N)||(B(N),l(n._tileset)&&(n._tileset.skipLevels=N))}}),this.skipLevels=1;let U=Se.observable();Se.defineProperty(this,"immediatelyLoadDesiredLevelOfDetail",{get:function(){return U()},set:function(N){U(N),l(n._tileset)&&(n._tileset.immediatelyLoadDesiredLevelOfDetail=N)}}),this.immediatelyLoadDesiredLevelOfDetail=!1;let O=Se.observable();Se.defineProperty(this,"loadSiblings",{get:function(){return O()},set:function(N){O(N),l(n._tileset)&&(n._tileset.loadSiblings=N)}}),this.loadSiblings=!1,this._style=void 0,this._shouldStyle=!1,this._definedProperties=["properties","dynamicScreenSpaceError","colorBlendMode","picking","colorize","wireframe","showBoundingVolumes","showContentBoundingVolumes","showRequestVolumes","freezeFrame","maximumScreenSpaceError","dynamicScreenSpaceErrorDensity","baseScreenSpaceError","skipScreenSpaceErrorFactor","skipLevelOfDetail","skipLevels","immediatelyLoadDesiredLevelOfDetail","loadSiblings","dynamicScreenSpaceErrorDensitySliderValue","dynamicScreenSpaceErrorFactor","pickActive","showOnlyPickedTileDebugLabel","showGeometricError","showRenderingStatistics","showMemoryUsage","showUrl","pointCloudShading","geometricErrorScale","maximumAttenuation","baseResolution","eyeDomeLighting","eyeDomeLightingStrength","eyeDomeLightingRadius"],this._removePostRenderEvent=e.postRender.addEventListener(function(){n._update()}),l(this._tileset)||yLe(this,!0)}Object.defineProperties(Xa.prototype,{scene:{get:function(){return this._scene}},performanceContainer:{get:function(){return this._performanceContainer}},statisticsText:{get:function(){return this._statisticsText}},pickStatisticsText:{get:function(){return this._pickStatisticsText}},resourceCacheStatisticsText:{get:function(){return this._resourceCacheStatisticsText}},colorBlendModes:{get:function(){return oEt}},editorError:{get:function(){return this._editorError}},tileset:{get:function(){return this._tileset},set:function(e){if(this._tileset=e,this._style=void 0,this.styleString="{}",this.feature=void 0,this.tile=void 0,l(e)){this._properties(e.properties);let t=["colorize","wireframe","showBoundingVolumes","showContentBoundingVolumes","showRequestVolumes","freezeFrame","showOnlyPickedTileDebugLabel","showGeometricError","showRenderingStatistics","showMemoryUsage","showUrl"],n=t.length;for(let o=0;o<n;++o){let r=t[o];this[r]=this[r]}this.maximumScreenSpaceError=e.maximumScreenSpaceError,this.dynamicScreenSpaceError=e.dynamicScreenSpaceError,this.dynamicScreenSpaceErrorDensity=e.dynamicScreenSpaceErrorDensity,this.dynamicScreenSpaceErrorFactor=e.dynamicScreenSpaceErrorFactor,this.colorBlendMode=e.colorBlendMode,this.skipLevelOfDetail=e.skipLevelOfDetail,this.skipScreenSpaceErrorFactor=e.skipScreenSpaceErrorFactor,this.baseScreenSpaceError=e.baseScreenSpaceError,this.skipLevels=e.skipLevels,this.immediatelyLoadDesiredLevelOfDetail=e.immediatelyLoadDesiredLevelOfDetail,this.loadSiblings=e.loadSiblings,this.hasEnabledWireframe=e._enableDebugWireframe;let i=e.pointCloudShading;this.pointCloudShading=i.attenuation,this.geometricErrorScale=i.geometricErrorScale,this.maximumAttenuation=i.maximumAttenuation?i.maximumAttenuation:0,this.baseResolution=i.baseResolution?i.baseResolution:0,this.eyeDomeLighting=i.eyeDomeLighting,this.eyeDomeLightingStrength=i.eyeDomeLightingStrength,this.eyeDomeLightingRadius=i.eyeDomeLightingRadius,this._scene.requestRender()}else this._properties({});this._statisticsText=mN(e,!1),this._pickStatisticsText=mN(e,!0),this._resourceCacheStatisticsText=xLe(),yLe(this,!1)}},feature:{get:function(){return this._feature},set:function(e){if(this._feature===e)return;let t=this._feature;l(t)&&!t.content.isDestroyed()&&(!this.colorize&&l(this._style)?t.color=l(this._style.color)?this._style.color.evaluateColor(t,rEt):D.WHITE:t.color=LY,this._scene.requestRender()),l(e)&&(D.clone(e.color,LY),e.color=gLe,this._scene.requestRender()),this._feature=e}},tile:{get:function(){return this._tile},set:function(e){if(this._tile===e)return;let t=this._tile;l(t)&&!t.isDestroyed()&&!A$(t.content)&&(t.color=LY,this._scene.requestRender()),l(e)&&!A$(e.content)&&(D.clone(e.color,LY),e.color=gLe,this._scene.requestRender()),this._tile=e}}});function A$(e){if(!l(e))return!1;if(e.featuresLength>0)return!0;let t=e.innerContents;if(l(t)){let n=t.length;for(let i=0;i<n;++i)if(!A$(t[i]))return!1;return!0}return!1}Xa.prototype.togglePickTileset=function(){this.pickActive=!this.pickActive};Xa.prototype.toggleInspector=function(){this.inspectorVisible=!this.inspectorVisible};Xa.prototype.toggleTileset=function(){this.tilesetVisible=!this.tilesetVisible};Xa.prototype.toggleDisplay=function(){this.displayVisible=!this.displayVisible};Xa.prototype.toggleUpdate=function(){this.updateVisible=!this.updateVisible};Xa.prototype.toggleLogging=function(){this.loggingVisible=!this.loggingVisible};Xa.prototype.toggleStyle=function(){this.styleVisible=!this.styleVisible};Xa.prototype.toggleTileDebugLabels=function(){this.tileDebugLabelsVisible=!this.tileDebugLabelsVisible};Xa.prototype.toggleOptimization=function(){this.optimizationVisible=!this.optimizationVisible};Xa.prototype.trimTilesCache=function(){l(this._tileset)&&this._tileset.trimLoadedTiles()};Xa.prototype.compileStyle=function(){let e=this._tileset;if(!(!l(e)||this.styleString===JSON.stringify(e.style))){this._editorError="";try{this.styleString.length===0&&(this.styleString="{}"),this._style=new DS(JSON.parse(this.styleString)),this._shouldStyle=!0,this._scene.requestRender()}catch(t){this._editorError=t.toString()}this.feature=this._feature,this.tile=this._tile}};Xa.prototype.styleEditorKeyPress=function(e,t){if(t.keyCode===9){t.preventDefault();let n=t.target,i=n.selectionStart,o=n.selectionEnd,r=o,a=n.value.slice(i,o).split(`
16010
+ `}var mEt=[{text:"Highlight",value:vl.HIGHLIGHT},{text:"Replace",value:vl.REPLACE},{text:"Mix",value:vl.MIX}],TLe=new D(1,1,0,.4),hEt=new D,GY=new D;function Xa(e,t){let n=this,i=e.canvas;this._eventHandler=new au(i),this._scene=e,this._performanceContainer=t,this._canvas=i,this._performanceDisplay=new G0({container:t}),this._statisticsText="",this._pickStatisticsText="",this._resourceCacheStatisticsText="",this._editorError="",this.performance=!1,this.showStatistics=!0,this.showPickStatistics=!0,this.showResourceCacheStatistics=!1,this.inspectorVisible=!0,this.tilesetVisible=!1,this.displayVisible=!1,this.updateVisible=!1,this.loggingVisible=!1,this.styleVisible=!1,this.tileDebugLabelsVisible=!1,this.optimizationVisible=!1,this.styleString="{}",this.hasEnabledWireframe=!1,this._tileset=void 0,this._feature=void 0,this._tile=void 0,Se.track(this,["performance","inspectorVisible","_statisticsText","_pickStatisticsText","_resourceCacheStatisticsText","_editorError","showPickStatistics","showStatistics","showResourceCacheStatistics","tilesetVisible","displayVisible","updateVisible","loggingVisible","styleVisible","optimizationVisible","tileDebugLabelsVisible","styleString","_feature","_tile","_tileset","hasEnabledWireframe"]),this._properties=Se.observable({}),this.properties=[],Se.defineProperty(this,"properties",function(){let N=[],z=n._properties();for(let J in z)z.hasOwnProperty(J)&&N.push(J);return N});let o=Se.observable();Se.defineProperty(this,"dynamicScreenSpaceError",{get:function(){return o()},set:function(N){o(N),l(n._tileset)&&(n._tileset.dynamicScreenSpaceError=N)}}),this.dynamicScreenSpaceError=!1;let r=Se.observable();Se.defineProperty(this,"colorBlendMode",{get:function(){return r()},set:function(N){r(N),l(n._tileset)&&(n._tileset.colorBlendMode=N,n._scene.requestRender())}}),this.colorBlendMode=vl.HIGHLIGHT;let s=Se.observable(),a=Se.observable();Se.defineProperty(this,"picking",{get:function(){return a()},set:function(N){a(N),N?n._eventHandler.setInputAction(function(z){let J=e.pick(z.endPosition);if(J instanceof js?(n.feature=J,n.tile=J.content.tile):l(J)&&l(J.content)?(n.feature=void 0,n.tile=J.content.tile):(n.feature=void 0,n.tile=void 0),!!l(n._tileset)){if(s&&l(J)&&l(J.content)){let ee;e.pickPositionSupported&&(ee=e.pickPosition(z.endPosition),l(ee)&&(n._tileset.debugPickPosition=ee)),n._tileset.debugPickedTile=J.content.tile}else n._tileset.debugPickedTile=void 0;n._scene.requestRender()}},pn.MOUSE_MOVE):(n.feature=void 0,n.tile=void 0,n._eventHandler.removeInputAction(pn.MOUSE_MOVE))}}),this.picking=!0;let c=Se.observable();Se.defineProperty(this,"colorize",{get:function(){return c()},set:function(N){c(N),l(n._tileset)&&(n._tileset.debugColorizeTiles=N,n._scene.requestRender())}}),this.colorize=!1;let d=Se.observable();Se.defineProperty(this,"wireframe",{get:function(){return d()},set:function(N){d(N),l(n._tileset)&&(n._tileset.debugWireframe=N,n._scene.requestRender())}}),this.wireframe=!1;let u=Se.observable();Se.defineProperty(this,"showBoundingVolumes",{get:function(){return u()},set:function(N){u(N),l(n._tileset)&&(n._tileset.debugShowBoundingVolume=N,n._scene.requestRender())}}),this.showBoundingVolumes=!1;let h=Se.observable();Se.defineProperty(this,"showContentBoundingVolumes",{get:function(){return h()},set:function(N){h(N),l(n._tileset)&&(n._tileset.debugShowContentBoundingVolume=N,n._scene.requestRender())}}),this.showContentBoundingVolumes=!1;let p=Se.observable();Se.defineProperty(this,"showRequestVolumes",{get:function(){return p()},set:function(N){p(N),l(n._tileset)&&(n._tileset.debugShowViewerRequestVolume=N,n._scene.requestRender())}}),this.showRequestVolumes=!1;let g=Se.observable();Se.defineProperty(this,"freezeFrame",{get:function(){return g()},set:function(N){g(N),l(n._tileset)&&(n._tileset.debugFreezeFrame=N,n._scene.debugShowFrustumPlanes=N,n._scene.requestRender())}}),this.freezeFrame=!1,Se.defineProperty(this,"showOnlyPickedTileDebugLabel",{get:function(){return s()},set:function(N){s(N),l(n._tileset)&&(n._tileset.debugPickedTileLabelOnly=N,n._scene.requestRender())}}),this.showOnlyPickedTileDebugLabel=!1;let f=Se.observable();Se.defineProperty(this,"showGeometricError",{get:function(){return f()},set:function(N){f(N),l(n._tileset)&&(n._tileset.debugShowGeometricError=N,n._scene.requestRender())}}),this.showGeometricError=!1;let y=Se.observable();Se.defineProperty(this,"showRenderingStatistics",{get:function(){return y()},set:function(N){y(N),l(n._tileset)&&(n._tileset.debugShowRenderingStatistics=N,n._scene.requestRender())}}),this.showRenderingStatistics=!1;let T=Se.observable();Se.defineProperty(this,"showMemoryUsage",{get:function(){return T()},set:function(N){T(N),l(n._tileset)&&(n._tileset.debugShowMemoryUsage=N,n._scene.requestRender())}}),this.showMemoryUsage=!1;let S=Se.observable();Se.defineProperty(this,"showUrl",{get:function(){return S()},set:function(N){S(N),l(n._tileset)&&(n._tileset.debugShowUrl=N,n._scene.requestRender())}}),this.showUrl=!1;let C=Se.observable();Se.defineProperty(this,"maximumScreenSpaceError",{get:function(){return C()},set:function(N){N=Number(N),isNaN(N)||(C(N),l(n._tileset)&&(n._tileset.maximumScreenSpaceError=N))}}),this.maximumScreenSpaceError=16;let V=Se.observable();Se.defineProperty(this,"dynamicScreenSpaceErrorDensity",{get:function(){return V()},set:function(N){N=Number(N),isNaN(N)||(V(N),l(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=N))}}),this.dynamicScreenSpaceErrorDensity=2e-4,this.dynamicScreenSpaceErrorDensitySliderValue=void 0,Se.defineProperty(this,"dynamicScreenSpaceErrorDensitySliderValue",{get:function(){return Math.pow(V(),1/6)},set:function(N){let z=Math.pow(N,6);V(z),l(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=z)}});let R=Se.observable();Se.defineProperty(this,"dynamicScreenSpaceErrorFactor",{get:function(){return R()},set:function(N){N=Number(N),isNaN(N)||(R(N),l(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorFactor=N))}}),this.dynamicScreenSpaceErrorFactor=24;let E=dEt(this),I=Se.observable();Se.defineProperty(this,"pickActive",{get:function(){return I()},set:function(N){I(N),N?n._eventHandler.setInputAction(E,pn.LEFT_CLICK):n._eventHandler.removeInputAction(pn.LEFT_CLICK)}});let W=Se.observable();Se.defineProperty(this,"pointCloudShading",{get:function(){return W()},set:function(N){W(N),l(n._tileset)&&(n._tileset.pointCloudShading.attenuation=N)}}),this.pointCloudShading=!1;let X=Se.observable();Se.defineProperty(this,"geometricErrorScale",{get:function(){return X()},set:function(N){N=Number(N),isNaN(N)||(X(N),l(n._tileset)&&(n._tileset.pointCloudShading.geometricErrorScale=N))}}),this.geometricErrorScale=1;let P=Se.observable();Se.defineProperty(this,"maximumAttenuation",{get:function(){return P()},set:function(N){N=Number(N),isNaN(N)||(P(N),l(n._tileset)&&(n._tileset.pointCloudShading.maximumAttenuation=N===0?void 0:N))}}),this.maximumAttenuation=0;let F=Se.observable();Se.defineProperty(this,"baseResolution",{get:function(){return F()},set:function(N){N=Number(N),isNaN(N)||(F(N),l(n._tileset)&&(n._tileset.pointCloudShading.baseResolution=N===0?void 0:N))}}),this.baseResolution=0;let b=Se.observable();Se.defineProperty(this,"eyeDomeLighting",{get:function(){return b()},set:function(N){b(N),l(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLighting=N)}}),this.eyeDomeLighting=!1;let L=Se.observable();Se.defineProperty(this,"eyeDomeLightingStrength",{get:function(){return L()},set:function(N){N=Number(N),isNaN(N)||(L(N),l(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingStrength=N))}}),this.eyeDomeLightingStrength=1;let Z=Se.observable();Se.defineProperty(this,"eyeDomeLightingRadius",{get:function(){return Z()},set:function(N){N=Number(N),isNaN(N)||(Z(N),l(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingRadius=N))}}),this.eyeDomeLightingRadius=1,this.pickActive=!1;let G=Se.observable();Se.defineProperty(this,"skipLevelOfDetail",{get:function(){return G()},set:function(N){G(N),l(n._tileset)&&(n._tileset.skipLevelOfDetail=N)}}),this.skipLevelOfDetail=!0;let w=Se.observable();Se.defineProperty(this,"skipScreenSpaceErrorFactor",{get:function(){return w()},set:function(N){N=Number(N),isNaN(N)||(w(N),l(n._tileset)&&(n._tileset.skipScreenSpaceErrorFactor=N))}}),this.skipScreenSpaceErrorFactor=16;let M=Se.observable();Se.defineProperty(this,"baseScreenSpaceError",{get:function(){return M()},set:function(N){N=Number(N),isNaN(N)||(M(N),l(n._tileset)&&(n._tileset.baseScreenSpaceError=N))}}),this.baseScreenSpaceError=1024;let B=Se.observable();Se.defineProperty(this,"skipLevels",{get:function(){return B()},set:function(N){N=Number(N),isNaN(N)||(B(N),l(n._tileset)&&(n._tileset.skipLevels=N))}}),this.skipLevels=1;let U=Se.observable();Se.defineProperty(this,"immediatelyLoadDesiredLevelOfDetail",{get:function(){return U()},set:function(N){U(N),l(n._tileset)&&(n._tileset.immediatelyLoadDesiredLevelOfDetail=N)}}),this.immediatelyLoadDesiredLevelOfDetail=!1;let O=Se.observable();Se.defineProperty(this,"loadSiblings",{get:function(){return O()},set:function(N){O(N),l(n._tileset)&&(n._tileset.loadSiblings=N)}}),this.loadSiblings=!1,this._style=void 0,this._shouldStyle=!1,this._definedProperties=["properties","dynamicScreenSpaceError","colorBlendMode","picking","colorize","wireframe","showBoundingVolumes","showContentBoundingVolumes","showRequestVolumes","freezeFrame","maximumScreenSpaceError","dynamicScreenSpaceErrorDensity","baseScreenSpaceError","skipScreenSpaceErrorFactor","skipLevelOfDetail","skipLevels","immediatelyLoadDesiredLevelOfDetail","loadSiblings","dynamicScreenSpaceErrorDensitySliderValue","dynamicScreenSpaceErrorFactor","pickActive","showOnlyPickedTileDebugLabel","showGeometricError","showRenderingStatistics","showMemoryUsage","showUrl","pointCloudShading","geometricErrorScale","maximumAttenuation","baseResolution","eyeDomeLighting","eyeDomeLightingStrength","eyeDomeLightingRadius"],this._removePostRenderEvent=e.postRender.addEventListener(function(){n._update()}),l(this._tileset)||SLe(this,!0)}Object.defineProperties(Xa.prototype,{scene:{get:function(){return this._scene}},performanceContainer:{get:function(){return this._performanceContainer}},statisticsText:{get:function(){return this._statisticsText}},pickStatisticsText:{get:function(){return this._pickStatisticsText}},resourceCacheStatisticsText:{get:function(){return this._resourceCacheStatisticsText}},colorBlendModes:{get:function(){return mEt}},editorError:{get:function(){return this._editorError}},tileset:{get:function(){return this._tileset},set:function(e){if(this._tileset=e,this._style=void 0,this.styleString="{}",this.feature=void 0,this.tile=void 0,l(e)){this._properties(e.properties);let t=["colorize","wireframe","showBoundingVolumes","showContentBoundingVolumes","showRequestVolumes","freezeFrame","showOnlyPickedTileDebugLabel","showGeometricError","showRenderingStatistics","showMemoryUsage","showUrl"],n=t.length;for(let o=0;o<n;++o){let r=t[o];this[r]=this[r]}this.maximumScreenSpaceError=e.maximumScreenSpaceError,this.dynamicScreenSpaceError=e.dynamicScreenSpaceError,this.dynamicScreenSpaceErrorDensity=e.dynamicScreenSpaceErrorDensity,this.dynamicScreenSpaceErrorFactor=e.dynamicScreenSpaceErrorFactor,this.colorBlendMode=e.colorBlendMode,this.skipLevelOfDetail=e.skipLevelOfDetail,this.skipScreenSpaceErrorFactor=e.skipScreenSpaceErrorFactor,this.baseScreenSpaceError=e.baseScreenSpaceError,this.skipLevels=e.skipLevels,this.immediatelyLoadDesiredLevelOfDetail=e.immediatelyLoadDesiredLevelOfDetail,this.loadSiblings=e.loadSiblings,this.hasEnabledWireframe=e._enableDebugWireframe;let i=e.pointCloudShading;this.pointCloudShading=i.attenuation,this.geometricErrorScale=i.geometricErrorScale,this.maximumAttenuation=i.maximumAttenuation?i.maximumAttenuation:0,this.baseResolution=i.baseResolution?i.baseResolution:0,this.eyeDomeLighting=i.eyeDomeLighting,this.eyeDomeLightingStrength=i.eyeDomeLightingStrength,this.eyeDomeLightingRadius=i.eyeDomeLightingRadius,this._scene.requestRender()}else this._properties({});this._statisticsText=bN(e,!1),this._pickStatisticsText=bN(e,!0),this._resourceCacheStatisticsText=CLe(),SLe(this,!1)}},feature:{get:function(){return this._feature},set:function(e){if(this._feature===e)return;let t=this._feature;l(t)&&!t.content.isDestroyed()&&(!this.colorize&&l(this._style)?t.color=l(this._style.color)?this._style.color.evaluateColor(t,hEt):D.WHITE:t.color=GY,this._scene.requestRender()),l(e)&&(D.clone(e.color,GY),e.color=TLe,this._scene.requestRender()),this._feature=e}},tile:{get:function(){return this._tile},set:function(e){if(this._tile===e)return;let t=this._tile;l(t)&&!t.isDestroyed()&&!v$(t.content)&&(t.color=GY,this._scene.requestRender()),l(e)&&!v$(e.content)&&(D.clone(e.color,GY),e.color=TLe,this._scene.requestRender()),this._tile=e}}});function v$(e){if(!l(e))return!1;if(e.featuresLength>0)return!0;let t=e.innerContents;if(l(t)){let n=t.length;for(let i=0;i<n;++i)if(!v$(t[i]))return!1;return!0}return!1}Xa.prototype.togglePickTileset=function(){this.pickActive=!this.pickActive};Xa.prototype.toggleInspector=function(){this.inspectorVisible=!this.inspectorVisible};Xa.prototype.toggleTileset=function(){this.tilesetVisible=!this.tilesetVisible};Xa.prototype.toggleDisplay=function(){this.displayVisible=!this.displayVisible};Xa.prototype.toggleUpdate=function(){this.updateVisible=!this.updateVisible};Xa.prototype.toggleLogging=function(){this.loggingVisible=!this.loggingVisible};Xa.prototype.toggleStyle=function(){this.styleVisible=!this.styleVisible};Xa.prototype.toggleTileDebugLabels=function(){this.tileDebugLabelsVisible=!this.tileDebugLabelsVisible};Xa.prototype.toggleOptimization=function(){this.optimizationVisible=!this.optimizationVisible};Xa.prototype.trimTilesCache=function(){l(this._tileset)&&this._tileset.trimLoadedTiles()};Xa.prototype.compileStyle=function(){let e=this._tileset;if(!(!l(e)||this.styleString===JSON.stringify(e.style))){this._editorError="";try{this.styleString.length===0&&(this.styleString="{}"),this._style=new DS(JSON.parse(this.styleString)),this._shouldStyle=!0,this._scene.requestRender()}catch(t){this._editorError=t.toString()}this.feature=this._feature,this.tile=this._tile}};Xa.prototype.styleEditorKeyPress=function(e,t){if(t.keyCode===9){t.preventDefault();let n=t.target,i=n.selectionStart,o=n.selectionEnd,r=o,a=n.value.slice(i,o).split(`
16011
16011
  `),c=a.length,d;if(t.shiftKey)for(d=0;d<c;++d)a[d][0]===" "&&(a[d][1]===" "?(a[d]=a[d].substr(2),r-=2):(a[d]=a[d].substr(1),r-=1));else for(d=0;d<c;++d)a[d]=` ${a[d]}`,r+=2;let u=a.join(`
16012
- `);n.value=n.value.slice(0,i)+u+n.value.slice(o),n.selectionStart=i!==o?i:r,n.selectionEnd=r}else t.ctrlKey&&(t.keyCode===10||t.keyCode===13)&&this.compileStyle();return!0};Xa.prototype._update=function(){let e=this._tileset;if(this.performance&&this._performanceDisplay.update(),l(e)){if(e.isDestroyed()){this.tile=void 0,this.feature=void 0,this.tileset=void 0;return}let t=e.style;this._style!==e.style&&(this._shouldStyle?(e.style=this._style,this._shouldStyle=!1):(this._style=t,this.styleString=JSON.stringify(t.style,null," ")))}this.showStatistics&&(this._statisticsText=mN(e,!1),this._pickStatisticsText=mN(e,!0),this._resourceCacheStatisticsText=xLe())};Xa.prototype.isDestroyed=function(){return!1};Xa.prototype.destroy=function(){this._eventHandler.destroy(),this._removePostRenderEvent();let e=this;return this._definedProperties.forEach(function(t){Se.getObservable(e,t).dispose()}),he(this)};Xa.getStatistics=mN;var hN=Xa;function RY(e,t){e=Cn(e);let n=document.createElement("div"),i=document.createElement("div");i.setAttribute("data-bind","visible: performance");let o=new hN(t,i);this._viewModel=o,this._container=e,this._element=n;let r=document.createElement("div");r.textContent="3D Tiles Inspector",r.className="cesium-cesiumInspector-button",r.setAttribute("data-bind","click: toggleInspector"),n.appendChild(r),n.className="cesium-cesiumInspector cesium-3DTilesInspector",n.setAttribute("data-bind",'css: { "cesium-cesiumInspector-visible" : inspectorVisible, "cesium-cesiumInspector-hidden" : !inspectorVisible}'),e.appendChild(n);let s=document.createElement("div");s.className="cesium-cesiumInspector-dropDown",n.appendChild(s);let a=$a.createSection,c=$a.createCheckbox,d=$a.createRangeInput,u=$a.createButton,h=a(s,"Tileset","tilesetVisible","toggleTileset"),p=a(s,"Display","displayVisible","toggleDisplay"),g=a(s,"Update","updateVisible","toggleUpdate"),f=a(s,"Logging","loggingVisible","toggleLogging"),y=a(s,"Tile Debug Labels","tileDebugLabelsVisible","toggleTileDebugLabels"),T=a(s,"Style","styleVisible","toggleStyle"),S=a(s,"Optimization","optimizationVisible","toggleOptimization"),C=document.createElement("div");C.className="field-group";let V=document.createElement("label");V.className="field-label",V.appendChild(document.createTextNode("Properties: "));let R=document.createElement("div");R.setAttribute("data-bind","text: properties"),C.appendChild(V),C.appendChild(R),h.appendChild(C),h.appendChild(u("Pick Tileset","togglePickTileset","pickActive")),h.appendChild(u("Trim Tiles Cache","trimTilesCache")),h.appendChild(c("Enable Picking","picking")),p.appendChild(c("Colorize","colorize"));let E=p.appendChild(c("Wireframe","wireframe","_tileset === undefined || hasEnabledWireframe")),I=document.createElement("p");I.setAttribute("data-bind","visible: _tileset !== undefined && !hasEnabledWireframe"),I.setAttribute("class","cesium-3DTilesInspector-disabledElementsInfo"),I.innerText="Set enableDebugWireframe to true in the tileset constructor to enable this option.",E.appendChild(I),p.appendChild(c("Bounding Volumes","showBoundingVolumes")),p.appendChild(c("Content Volumes","showContentBoundingVolumes")),p.appendChild(c("Request Volumes","showRequestVolumes")),p.appendChild(c("Point Cloud Shading","pointCloudShading"));let W=document.createElement("div");W.setAttribute("data-bind","visible: pointCloudShading"),W.appendChild(d("Geometric Error Scale","geometricErrorScale",0,2,.01)),W.appendChild(d("Maximum Attenuation","maximumAttenuation",0,32,1)),W.appendChild(d("Base Resolution","baseResolution",0,1,.01)),W.appendChild(c("Eye Dome Lighting (EDL)","eyeDomeLighting")),p.appendChild(W);let X=document.createElement("div");X.setAttribute("data-bind","visible: eyeDomeLighting"),X.appendChild(d("EDL Strength","eyeDomeLightingStrength",0,2,.1)),X.appendChild(d("EDL Radius","eyeDomeLightingRadius",0,4,.1)),W.appendChild(X),g.appendChild(c("Freeze Frame","freezeFrame")),g.appendChild(c("Dynamic Screen Space Error","dynamicScreenSpaceError"));let P=document.createElement("div");P.appendChild(d("Maximum Screen Space Error","maximumScreenSpaceError",0,128,1)),g.appendChild(P);let F=document.createElement("div");F.setAttribute("data-bind","visible: dynamicScreenSpaceError"),F.appendChild(d("Screen Space Error Density","dynamicScreenSpaceErrorDensitySliderValue",0,1,.005,"dynamicScreenSpaceErrorDensity")),F.appendChild(d("Screen Space Error Factor","dynamicScreenSpaceErrorFactor",1,32,.1)),g.appendChild(F),f.appendChild(c("Performance","performance")),f.appendChild(i),f.appendChild(c("Statistics","showStatistics"));let b=document.createElement("div");b.className="cesium-3dTilesInspector-statistics",b.setAttribute("data-bind","html: statisticsText, visible: showStatistics"),f.appendChild(b),f.appendChild(c("Pick Statistics","showPickStatistics"));let L=document.createElement("div");L.className="cesium-3dTilesInspector-statistics",L.setAttribute("data-bind","html: pickStatisticsText, visible: showPickStatistics"),f.appendChild(L),f.appendChild(c("Resource Cache Statistics","showResourceCacheStatistics"));let Z=document.createElement("div");Z.className="cesium-3dTilesInspector-statistics",Z.setAttribute("data-bind","html: resourceCacheStatisticsText, visible: showResourceCacheStatistics"),f.appendChild(Z);let G=document.createElement("div");T.appendChild(G),G.appendChild(document.createTextNode("Color Blend Mode: "));let w=document.createElement("select");w.setAttribute("data-bind",'options: colorBlendModes, optionsText: "text", optionsValue: "value", value: colorBlendMode'),G.appendChild(w);let M=document.createElement("textarea");M.setAttribute("data-bind","textInput: styleString, event: { keydown: styleEditorKeyPress }"),G.className="cesium-cesiumInspector-styleEditor",G.appendChild(M);let B=u("Compile (Ctrl+Enter)","compileStyle");G.appendChild(B);let U=document.createElement("div");U.className="cesium-cesiumInspector-error",U.setAttribute("data-bind","text: editorError"),G.appendChild(U),y.appendChild(c("Show Picked Only","showOnlyPickedTileDebugLabel")),y.appendChild(c("Geometric Error","showGeometricError")),y.appendChild(c("Rendering Statistics","showRenderingStatistics")),y.appendChild(c("Memory Usage (MB)","showMemoryUsage")),y.appendChild(c("Url","showUrl")),S.appendChild(c("Skip Tile LODs","skipLevelOfDetail"));let O=document.createElement("div");O.appendChild(d("Skip SSE Factor","skipScreenSpaceErrorFactor",1,50,1)),S.appendChild(O);let N=document.createElement("div");N.appendChild(d("SSE before skipping LOD","baseScreenSpaceError",0,4096,1)),S.appendChild(N);let z=document.createElement("div");z.appendChild(d("Min. levels to skip","skipLevels",0,10,1)),S.appendChild(z),S.appendChild(c("Load only tiles that meet the max SSE.","immediatelyLoadDesiredLevelOfDetail")),S.appendChild(c("Load siblings of visible tiles","loadSiblings")),Se.applyBindings(o,n)}Object.defineProperties(RY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});RY.prototype.isDestroyed=function(){return!1};RY.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),he(this)};var fN=RY;var lIo=x(_(),1);var nIo=x(_(),1);function _Le(e){e=e??Y.EMPTY_OBJECT;let t=e.globe,n=e.imageryProviderViewModels??Y.EMPTY_ARRAY,i=e.terrainProviderViewModels??Y.EMPTY_ARRAY;this._globe=t,this.imageryProviderViewModels=n.slice(0),this.terrainProviderViewModels=i.slice(0),this.dropDownVisible=!1,Se.track(this,["imageryProviderViewModels","terrainProviderViewModels","dropDownVisible"]);let o=Se.getObservable(this,"imageryProviderViewModels"),r=Se.pureComputed(function(){let h=o(),p={},g;for(g=0;g<h.length;g++){let T=h[g],S=T.category;l(p[S])?p[S].push(T):p[S]=[T]}let f=Object.keys(p),y=[];for(g=0;g<f.length;g++){let T=f[g];y.push({name:T,providers:p[T]})}return y});this._imageryProviders=r;let s=Se.getObservable(this,"terrainProviderViewModels"),a=Se.pureComputed(function(){let h=s(),p={},g;for(g=0;g<h.length;g++){let T=h[g],S=T.category;l(p[S])?p[S].push(T):p[S]=[T]}let f=Object.keys(p),y=[];for(g=0;g<f.length;g++){let T=f[g];y.push({name:T,providers:p[T]})}return y});this._terrainProviders=a,this.buttonTooltip=void 0,Se.defineProperty(this,"buttonTooltip",function(){let h=this.selectedImagery,p=this.selectedTerrain,g=l(h)?h.name:void 0,f=l(p)?p.name:void 0;return l(g)&&l(f)?`${g}
16013
- ${f}`:l(g)?g:f}),this.buttonImageUrl=void 0,Se.defineProperty(this,"buttonImageUrl",function(){let h=this.selectedImagery;if(l(h))return h.iconUrl}),this.selectedImagery=void 0;let c=Se.observable();this._currentImageryLayers=[],Se.defineProperty(this,"selectedImagery",{get:function(){return c()},set:function(h){if(c()===h){this.dropDownVisible=!1;return}let p,g=this._currentImageryLayers,f=g.length,y=this._globe.imageryLayers,T=!1;for(p=0;p<f;p++){let S=y.length;for(let C=0;C<S;C++){let V=y.get(C);if(V===g[p]){y.remove(V),T=!0;break}}}if(l(h)){let S=h.creationCommand();if(Array.isArray(S)){let C=S.length;for(this._currentImageryLayers=[],p=C-1;p>=0;p--){let V=Qa.fromProviderAsync(S[p]);y.add(V,0),this._currentImageryLayers.push(V)}}else{this._currentImageryLayers=[];let C=Qa.fromProviderAsync(S);if(C.name=h.name,T)y.add(C,0);else{let V=y.get(0);l(V)&&y.remove(V),y.add(C,0)}this._currentImageryLayers.push(C)}}c(h),this.dropDownVisible=!1}}),this.selectedTerrain=void 0;let d=Se.observable();Se.defineProperty(this,"selectedTerrain",{get:function(){return d()},set:function(h){if(d()===h){this.dropDownVisible=!1;return}let p;if(l(h)&&(p=h.creationCommand()),l(p)&&!l(p.then))this._globe.depthTestAgainstTerrain=!(p instanceof mp),this._globe.terrainProvider=p;else if(l(p)){let g=!1,f=this._globe.terrainProviderChanged.addEventListener(()=>{g=!0,f()}),T=new tN(p).readyEvent.addEventListener(S=>{g||(this._globe.depthTestAgainstTerrain=!(S instanceof mp),this._globe.terrainProvider=S,T())})}d(h),this.dropDownVisible=!1}});let u=this;this._toggleDropDown=yn(function(){u.dropDownVisible=!u.dropDownVisible}),this.selectedImagery=e.selectedImageryProviderViewModel??n[0],this.selectedTerrain=e.selectedTerrainProviderViewModel}Object.defineProperties(_Le.prototype,{toggleDropDown:{get:function(){return this._toggleDropDown}},globe:{get:function(){return this._globe}}});var pN=_Le;function ZY(e,t){e=Cn(e);let n=new pN(t),i=document.createElement("button");i.type="button",i.className="cesium-button cesium-toolbar-button",i.setAttribute("data-bind","attr: { title: buttonTooltip },click: toggleDropDown"),e.appendChild(i);let o=document.createElement("img");o.setAttribute("draggable","false"),o.className="cesium-baseLayerPicker-selected",o.setAttribute("data-bind","attr: { src: buttonImageUrl }, visible: !!buttonImageUrl"),i.appendChild(o);let r=document.createElement("div");r.className="cesium-baseLayerPicker-dropDown",r.setAttribute("data-bind",'css: { "cesium-baseLayerPicker-dropDown-visible" : dropDownVisible }'),e.appendChild(r);let s=document.createElement("div");s.className="cesium-baseLayerPicker-sectionTitle",s.setAttribute("data-bind","visible: imageryProviderViewModels.length > 0"),s.innerHTML="Imagery",r.appendChild(s);let a=document.createElement("div");a.className="cesium-baseLayerPicker-section",a.setAttribute("data-bind","foreach: _imageryProviders"),r.appendChild(a);let c=document.createElement("div");c.className="cesium-baseLayerPicker-category",a.appendChild(c);let d=document.createElement("div");d.className="cesium-baseLayerPicker-categoryTitle",d.setAttribute("data-bind","text: name"),c.appendChild(d);let u=document.createElement("div");u.className="cesium-baseLayerPicker-choices",u.setAttribute("data-bind","foreach: providers"),c.appendChild(u);let h=document.createElement("div");h.className="cesium-baseLayerPicker-item",h.setAttribute("data-bind",'css: { "cesium-baseLayerPicker-selectedItem" : $data === $parents[1].selectedImagery },attr: { title: tooltip },visible: creationCommand.canExecute,click: function($data) { $parents[1].selectedImagery = $data; }'),u.appendChild(h);let p=document.createElement("img");p.className="cesium-baseLayerPicker-itemIcon",p.setAttribute("data-bind","attr: { src: iconUrl }"),p.setAttribute("draggable","false"),h.appendChild(p);let g=document.createElement("div");g.className="cesium-baseLayerPicker-itemLabel",g.setAttribute("data-bind","text: name"),h.appendChild(g);let f=document.createElement("div");f.className="cesium-baseLayerPicker-sectionTitle",f.setAttribute("data-bind","visible: terrainProviderViewModels.length > 0"),f.innerHTML="Terrain",r.appendChild(f);let y=document.createElement("div");y.className="cesium-baseLayerPicker-section",y.setAttribute("data-bind","foreach: _terrainProviders"),r.appendChild(y);let T=document.createElement("div");T.className="cesium-baseLayerPicker-category",y.appendChild(T);let S=document.createElement("div");S.className="cesium-baseLayerPicker-categoryTitle",S.setAttribute("data-bind","text: name"),T.appendChild(S);let C=document.createElement("div");C.className="cesium-baseLayerPicker-choices",C.setAttribute("data-bind","foreach: providers"),T.appendChild(C);let V=document.createElement("div");V.className="cesium-baseLayerPicker-item",V.setAttribute("data-bind",'css: { "cesium-baseLayerPicker-selectedItem" : $data === $parents[1].selectedTerrain },attr: { title: tooltip },visible: creationCommand.canExecute,click: function($data) { $parents[1].selectedTerrain = $data; }'),C.appendChild(V);let R=document.createElement("img");R.className="cesium-baseLayerPicker-itemIcon",R.setAttribute("data-bind","attr: { src: iconUrl }"),R.setAttribute("draggable","false"),V.appendChild(R);let E=document.createElement("div");E.className="cesium-baseLayerPicker-itemLabel",E.setAttribute("data-bind","text: name"),V.appendChild(E),Se.applyBindings(n,i),Se.applyBindings(n,r),this._viewModel=n,this._container=e,this._element=i,this._dropPanel=r,this._closeDropDown=function(I){i.contains(I.target)||r.contains(I.target)||(n.dropDownVisible=!1)},Mt.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(ZY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});ZY.prototype.isDestroyed=function(){return!1};ZY.prototype.destroy=function(){return Mt.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Se.cleanNode(this._element),Se.cleanNode(this._dropPanel),this._container.removeChild(this._element),this._container.removeChild(this._dropPanel),he(this)};var bN=ZY;var pIo=x(_(),1);function TLe(e){let t=e.creationFunction;l(t.canExecute)||(t=yn(t)),this._creationCommand=t,this.name=e.name,this.tooltip=e.tooltip,this.iconUrl=e.iconUrl,this._category=e.category??"",Se.track(this,["name","tooltip","iconUrl"])}Object.defineProperties(TLe.prototype,{creationCommand:{get:function(){return this._creationCommand}},category:{get:function(){return this._category}}});var us=TLe;var xIo=x(_(),1);function sEt(){let e=[],t=devicePixelRatio>=2;return e.push(new us({name:"Bing Maps Aerial",iconUrl:jt("Widgets/Images/ImageryProviders/bingAerial.png"),tooltip:"Bing Maps aerial imagery, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return R0({style:L0.AERIAL})}})),e.push(new us({name:"Bing Maps Aerial with Labels",iconUrl:jt("Widgets/Images/ImageryProviders/bingAerialLabels.png"),tooltip:"Bing Maps aerial imagery with labels, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return R0({style:L0.AERIAL_WITH_LABELS})}})),e.push(new us({name:"Bing Maps Roads",iconUrl:jt("Widgets/Images/ImageryProviders/bingRoads.png"),tooltip:"Bing Maps standard road maps, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return R0({style:L0.ROAD})}})),e.push(new us({name:"ArcGIS World Imagery",iconUrl:jt("Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png"),tooltip:`ArcGIS World Imagery provides one meter or better satellite and aerial imagery in many parts of the world and lower resolution satellite imagery worldwide. The map includes 15m TerraColor imagery at small and mid-scales (~1:591M down to ~1:288k) for the world. The map features Maxar imagery at 0.3m resolution for select metropolitan areas around the world, 0.5m resolution across the United States and parts of Western Europe, and 1m resolution imagery across the rest of the world. In addition to commercial sources, the World Imagery map features high-resolution aerial photography contributed by the GIS User Community. This imagery ranges from 0.3m to 0.03m resolution (down to ~1:280 nin select communities). For more information on this map, including the terms of use, visit us online at
16014
- https://www.arcgis.com/home/item.html?id=10df2279f9684e4a9f6a7f08febac2a9`,category:"Other",creationFunction:function(){return C0.fromBasemapType(zh.SATELLITE,{enablePickFeatures:!1})}})),e.push(new us({name:"ArcGIS World Hillshade",iconUrl:jt("Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png"),tooltip:`ArcGIS World Hillshade map portrays elevation as an artistic hillshade. This map is designed to be used as a backdrop for topographical, soil, hydro, landcover or other outdoor recreational maps. The map was compiled from a variety of sources from several data providers. The basemap has global coverage down to a scale of ~1:72k. In select areas of the United States and Europe, coverage is available down to ~1:9k. For more information on this map, including the terms of use, visit us online at
16015
- https://www.arcgis.com/home/item.html?id=1b243539f4514b6ba35e7d995890db1d`,category:"Other",creationFunction:function(){return C0.fromBasemapType(zh.HILLSHADE,{enablePickFeatures:!1})}})),e.push(new us({name:"Esri World Ocean",iconUrl:jt("Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png"),tooltip:`ArcGIS World Ocean map is designed to be used as a base map by marine GIS professionals and as a reference map by anyone interested in ocean data. The base map features marine bathymetry. Land features include inland waters and roads overlaid on land cover and shaded relief imagery. The map was compiled from a variety of best available sources from several data providers, including General Bathymetric Chart of the Oceans GEBCO_08 Grid, National Oceanic and Atmospheric Administration (NOAA), and National Geographic, Garmin, HERE, Geonames.org, and Esri, and various other contributors. The base map currently provides coverage for the world down to a scale of ~1:577k, and coverage down to 1:72k in US coastal areas, and various other areas. Coverage down to ~ 1:9k is available limited areas based on regional hydrographic survey data. The base map was designed and developed by Esri. For more information on this map, including our terms of use, visit us online at
16016
- https://www.arcgis.com/home/item.html?id=1e126e7520f9466c9ca28b8f28b5e500`,category:"Other",creationFunction:function(){return C0.fromBasemapType(zh.OCEANS,{enablePickFeatures:!1})}})),e.push(new us({name:"Open\xADStreet\xADMap",iconUrl:jt("Widgets/Images/ImageryProviders/openStreetMap.png"),tooltip:`OpenStreetMap (OSM) is a collaborative project to create a free editable map of the world.
16017
- http://www.openstreetmap.org`,category:"Other",creationFunction:function(){return new O0({url:"https://tile.openstreetmap.org/"})}})),e.push(new us({name:"Stadia x Stamen Watercolor",iconUrl:jt("Widgets/Images/ImageryProviders/stamenWatercolor.png"),tooltip:`Based on the original basemaps created for the Knight Foundation and reminiscent of hand drawn maps, the watercolor maps from Stamen Design apply raster effect area washes and organic edges over a paper texture to add warm pop to any map.
16012
+ `);n.value=n.value.slice(0,i)+u+n.value.slice(o),n.selectionStart=i!==o?i:r,n.selectionEnd=r}else t.ctrlKey&&(t.keyCode===10||t.keyCode===13)&&this.compileStyle();return!0};Xa.prototype._update=function(){let e=this._tileset;if(this.performance&&this._performanceDisplay.update(),l(e)){if(e.isDestroyed()){this.tile=void 0,this.feature=void 0,this.tileset=void 0;return}let t=e.style;this._style!==e.style&&(this._shouldStyle?(e.style=this._style,this._shouldStyle=!1):(this._style=t,this.styleString=JSON.stringify(t.style,null," ")))}this.showStatistics&&(this._statisticsText=bN(e,!1),this._pickStatisticsText=bN(e,!0),this._resourceCacheStatisticsText=CLe())};Xa.prototype.isDestroyed=function(){return!1};Xa.prototype.destroy=function(){this._eventHandler.destroy(),this._removePostRenderEvent();let e=this;return this._definedProperties.forEach(function(t){Se.getObservable(e,t).dispose()}),he(this)};Xa.getStatistics=bN;var gN=Xa;function IY(e,t){e=Cn(e);let n=document.createElement("div"),i=document.createElement("div");i.setAttribute("data-bind","visible: performance");let o=new gN(t,i);this._viewModel=o,this._container=e,this._element=n;let r=document.createElement("div");r.textContent="3D Tiles Inspector",r.className="cesium-cesiumInspector-button",r.setAttribute("data-bind","click: toggleInspector"),n.appendChild(r),n.className="cesium-cesiumInspector cesium-3DTilesInspector",n.setAttribute("data-bind",'css: { "cesium-cesiumInspector-visible" : inspectorVisible, "cesium-cesiumInspector-hidden" : !inspectorVisible}'),e.appendChild(n);let s=document.createElement("div");s.className="cesium-cesiumInspector-dropDown",n.appendChild(s);let a=$a.createSection,c=$a.createCheckbox,d=$a.createRangeInput,u=$a.createButton,h=a(s,"Tileset","tilesetVisible","toggleTileset"),p=a(s,"Display","displayVisible","toggleDisplay"),g=a(s,"Update","updateVisible","toggleUpdate"),f=a(s,"Logging","loggingVisible","toggleLogging"),y=a(s,"Tile Debug Labels","tileDebugLabelsVisible","toggleTileDebugLabels"),T=a(s,"Style","styleVisible","toggleStyle"),S=a(s,"Optimization","optimizationVisible","toggleOptimization"),C=document.createElement("div");C.className="field-group";let V=document.createElement("label");V.className="field-label",V.appendChild(document.createTextNode("Properties: "));let R=document.createElement("div");R.setAttribute("data-bind","text: properties"),C.appendChild(V),C.appendChild(R),h.appendChild(C),h.appendChild(u("Pick Tileset","togglePickTileset","pickActive")),h.appendChild(u("Trim Tiles Cache","trimTilesCache")),h.appendChild(c("Enable Picking","picking")),p.appendChild(c("Colorize","colorize"));let E=p.appendChild(c("Wireframe","wireframe","_tileset === undefined || hasEnabledWireframe")),I=document.createElement("p");I.setAttribute("data-bind","visible: _tileset !== undefined && !hasEnabledWireframe"),I.setAttribute("class","cesium-3DTilesInspector-disabledElementsInfo"),I.innerText="Set enableDebugWireframe to true in the tileset constructor to enable this option.",E.appendChild(I),p.appendChild(c("Bounding Volumes","showBoundingVolumes")),p.appendChild(c("Content Volumes","showContentBoundingVolumes")),p.appendChild(c("Request Volumes","showRequestVolumes")),p.appendChild(c("Point Cloud Shading","pointCloudShading"));let W=document.createElement("div");W.setAttribute("data-bind","visible: pointCloudShading"),W.appendChild(d("Geometric Error Scale","geometricErrorScale",0,2,.01)),W.appendChild(d("Maximum Attenuation","maximumAttenuation",0,32,1)),W.appendChild(d("Base Resolution","baseResolution",0,1,.01)),W.appendChild(c("Eye Dome Lighting (EDL)","eyeDomeLighting")),p.appendChild(W);let X=document.createElement("div");X.setAttribute("data-bind","visible: eyeDomeLighting"),X.appendChild(d("EDL Strength","eyeDomeLightingStrength",0,2,.1)),X.appendChild(d("EDL Radius","eyeDomeLightingRadius",0,4,.1)),W.appendChild(X),g.appendChild(c("Freeze Frame","freezeFrame")),g.appendChild(c("Dynamic Screen Space Error","dynamicScreenSpaceError"));let P=document.createElement("div");P.appendChild(d("Maximum Screen Space Error","maximumScreenSpaceError",0,128,1)),g.appendChild(P);let F=document.createElement("div");F.setAttribute("data-bind","visible: dynamicScreenSpaceError"),F.appendChild(d("Screen Space Error Density","dynamicScreenSpaceErrorDensitySliderValue",0,1,.005,"dynamicScreenSpaceErrorDensity")),F.appendChild(d("Screen Space Error Factor","dynamicScreenSpaceErrorFactor",1,32,.1)),g.appendChild(F),f.appendChild(c("Performance","performance")),f.appendChild(i),f.appendChild(c("Statistics","showStatistics"));let b=document.createElement("div");b.className="cesium-3dTilesInspector-statistics",b.setAttribute("data-bind","html: statisticsText, visible: showStatistics"),f.appendChild(b),f.appendChild(c("Pick Statistics","showPickStatistics"));let L=document.createElement("div");L.className="cesium-3dTilesInspector-statistics",L.setAttribute("data-bind","html: pickStatisticsText, visible: showPickStatistics"),f.appendChild(L),f.appendChild(c("Resource Cache Statistics","showResourceCacheStatistics"));let Z=document.createElement("div");Z.className="cesium-3dTilesInspector-statistics",Z.setAttribute("data-bind","html: resourceCacheStatisticsText, visible: showResourceCacheStatistics"),f.appendChild(Z);let G=document.createElement("div");T.appendChild(G),G.appendChild(document.createTextNode("Color Blend Mode: "));let w=document.createElement("select");w.setAttribute("data-bind",'options: colorBlendModes, optionsText: "text", optionsValue: "value", value: colorBlendMode'),G.appendChild(w);let M=document.createElement("textarea");M.setAttribute("data-bind","textInput: styleString, event: { keydown: styleEditorKeyPress }"),G.className="cesium-cesiumInspector-styleEditor",G.appendChild(M);let B=u("Compile (Ctrl+Enter)","compileStyle");G.appendChild(B);let U=document.createElement("div");U.className="cesium-cesiumInspector-error",U.setAttribute("data-bind","text: editorError"),G.appendChild(U),y.appendChild(c("Show Picked Only","showOnlyPickedTileDebugLabel")),y.appendChild(c("Geometric Error","showGeometricError")),y.appendChild(c("Rendering Statistics","showRenderingStatistics")),y.appendChild(c("Memory Usage (MB)","showMemoryUsage")),y.appendChild(c("Url","showUrl")),S.appendChild(c("Skip Tile LODs","skipLevelOfDetail"));let O=document.createElement("div");O.appendChild(d("Skip SSE Factor","skipScreenSpaceErrorFactor",1,50,1)),S.appendChild(O);let N=document.createElement("div");N.appendChild(d("SSE before skipping LOD","baseScreenSpaceError",0,4096,1)),S.appendChild(N);let z=document.createElement("div");z.appendChild(d("Min. levels to skip","skipLevels",0,10,1)),S.appendChild(z),S.appendChild(c("Load only tiles that meet the max SSE.","immediatelyLoadDesiredLevelOfDetail")),S.appendChild(c("Load siblings of visible tiles","loadSiblings")),Se.applyBindings(o,n)}Object.defineProperties(IY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});IY.prototype.isDestroyed=function(){return!1};IY.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),he(this)};var yN=IY;var CIo=x(_(),1);var pIo=x(_(),1);function fEt(e){let t;if(l(e)){t="Command Statistics";let n=e.commandsInFrustums;for(let i in n)if(n.hasOwnProperty(i)){let o=parseInt(i,10),r;if(o===7)r="1, 2 and 3";else{let s=[];for(let a=2;a>=0;a--){let c=Math.pow(2,a);o>=c&&(s.push(a+1),o-=c)}r=s.reverse().join(" and ")}t+=`<br>&nbsp;&nbsp;&nbsp;&nbsp;${n[i]} in frustum ${r}`}t+=`<br>Total: ${e.totalCommands}`}return t}function w$(e,t,n){let i=Math.min(n,t);return i=Math.max(i,e),i}var pEt=new ln,bEt=new m;function xN(e,t){let n=this,i=e.canvas,o=new au(i);this._eventHandler=o,this._scene=e,this._canvas=i,this._primitive=void 0,this._tile=void 0,this._modelMatrixPrimitive=void 0,this._performanceDisplay=void 0,this._performanceContainer=t;let r=this._scene.globe;r.depthTestAgainstTerrain=!0,this.frustums=!1,this.frustumPlanes=!1,this.performance=!1,this.shaderCacheText="",this.primitiveBoundingSphere=!1,this.primitiveReferenceFrame=!1,this.filterPrimitive=!1,this.tileBoundingSphere=!1,this.filterTile=!1,this.wireframe=!1,this.depthFrustum=1,this._numberOfFrustums=1,this.suspendUpdates=!1,this.tileCoordinates=!1,this.frustumStatisticText=!1,this.tileText="",this.hasPickedPrimitive=!1,this.hasPickedTile=!1,this.pickPrimitiveActive=!1,this.pickTileActive=!1,this.dropDownVisible=!0,this.generalVisible=!0,this.primitivesVisible=!1,this.terrainVisible=!1,this.depthFrustumText="",Se.track(this,["frustums","frustumPlanes","performance","shaderCacheText","primitiveBoundingSphere","primitiveReferenceFrame","filterPrimitive","tileBoundingSphere","filterTile","wireframe","depthFrustum","suspendUpdates","tileCoordinates","frustumStatisticText","tileText","hasPickedPrimitive","hasPickedTile","pickPrimitiveActive","pickTileActive","dropDownVisible","generalVisible","primitivesVisible","terrainVisible","depthFrustumText"]),this._toggleDropDown=yn(function(){n.dropDownVisible=!n.dropDownVisible}),this._toggleGeneral=yn(function(){n.generalVisible=!n.generalVisible}),this._togglePrimitives=yn(function(){n.primitivesVisible=!n.primitivesVisible}),this._toggleTerrain=yn(function(){n.terrainVisible=!n.terrainVisible}),this._frustumsSubscription=Se.getObservable(this,"frustums").subscribe(function(d){n._scene.debugShowFrustums=d,n._scene.requestRender()}),this._frustumPlanesSubscription=Se.getObservable(this,"frustumPlanes").subscribe(function(d){n._scene.debugShowFrustumPlanes=d,n._scene.requestRender()}),this._performanceSubscription=Se.getObservable(this,"performance").subscribe(function(d){d?n._performanceDisplay=new G0({container:n._performanceContainer}):n._performanceContainer.innerHTML=""}),this._showPrimitiveBoundingSphere=yn(function(){return n._primitive.debugShowBoundingVolume=n.primitiveBoundingSphere,n._scene.requestRender(),!0}),this._primitiveBoundingSphereSubscription=Se.getObservable(this,"primitiveBoundingSphere").subscribe(function(){n._showPrimitiveBoundingSphere()}),this._showPrimitiveReferenceFrame=yn(function(){if(n.primitiveReferenceFrame){let d=n._primitive.modelMatrix;n._modelMatrixPrimitive=new U9({modelMatrix:d}),n._scene.primitives.add(n._modelMatrixPrimitive)}else l(n._modelMatrixPrimitive)&&(n._scene.primitives.remove(n._modelMatrixPrimitive),n._modelMatrixPrimitive=void 0);return n._scene.requestRender(),!0}),this._primitiveReferenceFrameSubscription=Se.getObservable(this,"primitiveReferenceFrame").subscribe(function(){n._showPrimitiveReferenceFrame()}),this._doFilterPrimitive=yn(function(){return n.filterPrimitive?n._scene.debugCommandFilter=function(d){return l(n._modelMatrixPrimitive)&&d.owner===n._modelMatrixPrimitive._primitive?!0:l(n._primitive)?d.owner===n._primitive||d.owner===n._primitive._billboardCollection||d.owner.primitive===n._primitive:!1}:n._scene.debugCommandFilter=void 0,!0}),this._filterPrimitiveSubscription=Se.getObservable(this,"filterPrimitive").subscribe(function(){n._doFilterPrimitive(),n._scene.requestRender()}),this._wireframeSubscription=Se.getObservable(this,"wireframe").subscribe(function(d){r._surface.tileProvider._debug.wireframe=d,n._scene.requestRender()}),this._depthFrustumSubscription=Se.getObservable(this,"depthFrustum").subscribe(function(d){n._scene.debugShowDepthFrustum=d,n._scene.requestRender()}),this._incrementDepthFrustum=yn(function(){let d=n.depthFrustum+1;return n.depthFrustum=w$(1,n._numberOfFrustums,d),n._scene.requestRender(),!0}),this._decrementDepthFrustum=yn(function(){let d=n.depthFrustum-1;return n.depthFrustum=w$(1,n._numberOfFrustums,d),n._scene.requestRender(),!0}),this._suspendUpdatesSubscription=Se.getObservable(this,"suspendUpdates").subscribe(function(d){r._surface._debug.suspendLodUpdate=d,d||(n.filterTile=!1)});let s;this._showTileCoordinates=yn(function(){return n.tileCoordinates&&!l(s)?s=e.imageryLayers.addImageryProvider(new iN({tilingScheme:e.terrainProvider.tilingScheme})):!n.tileCoordinates&&l(s)&&(e.imageryLayers.remove(s),s=void 0),!0}),this._tileCoordinatesSubscription=Se.getObservable(this,"tileCoordinates").subscribe(function(){n._showTileCoordinates(),n._scene.requestRender()}),this._tileBoundingSphereSubscription=Se.getObservable(this,"tileBoundingSphere").subscribe(function(){n._showTileBoundingSphere(),n._scene.requestRender()}),this._showTileBoundingSphere=yn(function(){return n.tileBoundingSphere?r._surface.tileProvider._debug.boundingSphereTile=n._tile:r._surface.tileProvider._debug.boundingSphereTile=void 0,n._scene.requestRender(),!0}),this._doFilterTile=yn(function(){return n.filterTile?(n.suspendUpdates=!0,r._surface._tilesToRender=[],l(n._tile)&&n._tile.renderable&&r._surface._tilesToRender.push(n._tile)):n.suspendUpdates=!1,!0}),this._filterTileSubscription=Se.getObservable(this,"filterTile").subscribe(function(){n.doFilterTile(),n._scene.requestRender()});function a(d){let u=n._scene.pick({x:d.position.x,y:d.position.y});l(u)&&(n.primitive=l(u.collection)?u.collection:u.primitive),n._scene.requestRender(),n.pickPrimitiveActive=!1}this._pickPrimitive=yn(function(){n.pickPrimitiveActive=!n.pickPrimitiveActive}),this._pickPrimitiveActiveSubscription=Se.getObservable(this,"pickPrimitiveActive").subscribe(function(d){d?o.setInputAction(a,pn.LEFT_CLICK):o.removeInputAction(pn.LEFT_CLICK)});function c(d){let u,h=r.ellipsoid,p=n._scene.camera.getPickRay(d.position,pEt),g=r.pick(p,n._scene,bEt);if(l(g)){let f=h.cartesianToCartographic(g),y=r._surface.tileProvider._tilesToRenderByTextureCount;for(let T=0;!u&&T<y.length;++T){let S=y[T];if(l(S))for(let C=0;!u&&C<S.length;++C){let V=S[C];le.contains(V.rectangle,f)&&(u=V)}}}n.tile=u,n.pickTileActive=!1}this._pickTile=yn(function(){n.pickTileActive=!n.pickTileActive}),this._pickTileActiveSubscription=Se.getObservable(this,"pickTileActive").subscribe(function(d){d?o.setInputAction(c,pn.LEFT_CLICK):o.removeInputAction(pn.LEFT_CLICK)}),this._removePostRenderEvent=e.postRender.addEventListener(function(){n._update()})}Object.defineProperties(xN.prototype,{scene:{get:function(){return this._scene}},performanceContainer:{get:function(){return this._performanceContainer}},toggleDropDown:{get:function(){return this._toggleDropDown}},showPrimitiveBoundingSphere:{get:function(){return this._showPrimitiveBoundingSphere}},showPrimitiveReferenceFrame:{get:function(){return this._showPrimitiveReferenceFrame}},doFilterPrimitive:{get:function(){return this._doFilterPrimitive}},incrementDepthFrustum:{get:function(){return this._incrementDepthFrustum}},decrementDepthFrustum:{get:function(){return this._decrementDepthFrustum}},showTileCoordinates:{get:function(){return this._showTileCoordinates}},showTileBoundingSphere:{get:function(){return this._showTileBoundingSphere}},doFilterTile:{get:function(){return this._doFilterTile}},toggleGeneral:{get:function(){return this._toggleGeneral}},togglePrimitives:{get:function(){return this._togglePrimitives}},toggleTerrain:{get:function(){return this._toggleTerrain}},pickPrimitive:{get:function(){return this._pickPrimitive}},pickTile:{get:function(){return this._pickTile}},selectParent:{get:function(){let e=this;return yn(function(){e.tile=e.tile.parent})}},selectNW:{get:function(){let e=this;return yn(function(){e.tile=e.tile.northwestChild})}},selectNE:{get:function(){let e=this;return yn(function(){e.tile=e.tile.northeastChild})}},selectSW:{get:function(){let e=this;return yn(function(){e.tile=e.tile.southwestChild})}},selectSE:{get:function(){let e=this;return yn(function(){e.tile=e.tile.southeastChild})}},primitive:{get:function(){return this._primitive},set:function(e){let t=this._primitive;e!==t&&(this.hasPickedPrimitive=!0,l(t)&&(t.debugShowBoundingVolume=!1),this._scene.debugCommandFilter=void 0,l(this._modelMatrixPrimitive)&&(this._scene.primitives.remove(this._modelMatrixPrimitive),this._modelMatrixPrimitive=void 0),this._primitive=e,e.show=!1,setTimeout(function(){e.show=!0},50),this.showPrimitiveBoundingSphere(),this.showPrimitiveReferenceFrame(),this.doFilterPrimitive())}},tile:{get:function(){return this._tile},set:function(e){if(l(e)){this.hasPickedTile=!0;let t=this._tile;if(e!==t){this.tileText=`L: ${e.level} X: ${e.x} Y: ${e.y}`,this.tileText+=`<br>SW corner: ${e.rectangle.west}, ${e.rectangle.south}`,this.tileText+=`<br>NE corner: ${e.rectangle.east}, ${e.rectangle.north}`;let n=e.data;l(n)&&l(n.tileBoundingRegion)?this.tileText+=`<br>Min: ${n.tileBoundingRegion.minimumHeight} Max: ${n.tileBoundingRegion.maximumHeight}`:this.tileText+="<br>(Tile is not loaded)"}this._tile=e,this.showTileBoundingSphere(),this.doFilterTile()}else this.hasPickedTile=!1,this._tile=void 0}}});xN.prototype._update=function(){this.frustums&&(this.frustumStatisticText=fEt(this._scene.debugFrustumStatistics));let e=this._scene.numberOfFrustums;this._numberOfFrustums=e,this.depthFrustum=w$(1,e,this.depthFrustum),this.depthFrustumText=`${this.depthFrustum} of ${e}`,this.performance&&this._performanceDisplay.update(),this.primitiveReferenceFrame&&(this._modelMatrixPrimitive.modelMatrix=this._primitive.modelMatrix),this.shaderCacheText=`Cached shaders: ${this._scene.context.shaderCache.numberOfShaders}`};xN.prototype.isDestroyed=function(){return!1};xN.prototype.destroy=function(){return this._eventHandler.destroy(),this._removePostRenderEvent(),this._frustumsSubscription.dispose(),this._frustumPlanesSubscription.dispose(),this._performanceSubscription.dispose(),this._primitiveBoundingSphereSubscription.dispose(),this._primitiveReferenceFrameSubscription.dispose(),this._filterPrimitiveSubscription.dispose(),this._wireframeSubscription.dispose(),this._depthFrustumSubscription.dispose(),this._suspendUpdatesSubscription.dispose(),this._tileCoordinatesSubscription.dispose(),this._tileBoundingSphereSubscription.dispose(),this._filterTileSubscription.dispose(),this._pickPrimitiveActiveSubscription.dispose(),this._pickTileActiveSubscription.dispose(),he(this)};var _N=xN;function AY(e,t){e=Cn(e);let n=document.createElement("div"),i=new _N(t,n);this._viewModel=i,this._container=e;let o=document.createElement("div");this._element=o;let r=document.createElement("div");r.textContent="Cesium Inspector",r.className="cesium-cesiumInspector-button",r.setAttribute("data-bind","click: toggleDropDown"),o.appendChild(r),o.className="cesium-cesiumInspector",o.setAttribute("data-bind",'css: { "cesium-cesiumInspector-visible" : dropDownVisible, "cesium-cesiumInspector-hidden" : !dropDownVisible }'),e.appendChild(this._element);let s=document.createElement("div");s.className="cesium-cesiumInspector-dropDown",o.appendChild(s);let a=$a.createSection,c=$a.createCheckbox,d=a(s,"General","generalVisible","toggleGeneral"),u=c("Show Frustums","frustums"),h=document.createElement("div");h.className="cesium-cesiumInspector-frustumStatistics",h.setAttribute("data-bind","visible: frustums, html: frustumStatisticText"),u.appendChild(h),d.appendChild(u),d.appendChild(c("Show Frustum Planes","frustumPlanes")),d.appendChild(c("Performance Display","performance")),n.className="cesium-cesiumInspector-performanceDisplay",d.appendChild(n);let p=document.createElement("div");p.className="cesium-cesiumInspector-shaderCache",p.setAttribute("data-bind","html: shaderCacheText"),d.appendChild(p);let g=document.createElement("div");d.appendChild(g);let f=document.createElement("span");f.setAttribute("data-bind",'html: "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Frustum:"'),g.appendChild(f);let y=document.createElement("span");y.setAttribute("data-bind","text: depthFrustumText"),g.appendChild(y);let T=document.createElement("input");T.type="button",T.value="-",T.className="cesium-cesiumInspector-pickButton",T.setAttribute("data-bind","click: decrementDepthFrustum"),g.appendChild(T);let S=document.createElement("input");S.type="button",S.value="+",S.className="cesium-cesiumInspector-pickButton",S.setAttribute("data-bind","click: incrementDepthFrustum"),g.appendChild(S);let C=a(s,"Primitives","primitivesVisible","togglePrimitives"),V=document.createElement("div");V.className="cesium-cesiumInspector-pickSection",C.appendChild(V);let R=document.createElement("input");R.type="button",R.value="Pick a primitive",R.className="cesium-cesiumInspector-pickButton",R.setAttribute("data-bind",'css: {"cesium-cesiumInspector-pickButtonHighlight" : pickPrimitiveActive}, click: pickPrimitive');let E=document.createElement("div");E.className="cesium-cesiumInspector-center",E.appendChild(R),V.appendChild(E),V.appendChild(c("Show bounding sphere","primitiveBoundingSphere","hasPickedPrimitive")),V.appendChild(c("Show reference frame","primitiveReferenceFrame","hasPickedPrimitive")),this._primitiveOnly=c("Show only selected","filterPrimitive","hasPickedPrimitive"),V.appendChild(this._primitiveOnly);let I=a(s,"Terrain","terrainVisible","toggleTerrain"),W=document.createElement("div");W.className="cesium-cesiumInspector-pickSection",I.appendChild(W);let X=document.createElement("input");X.type="button",X.value="Pick a tile",X.className="cesium-cesiumInspector-pickButton",X.setAttribute("data-bind",'css: {"cesium-cesiumInspector-pickButtonHighlight" : pickTileActive}, click: pickTile'),E=document.createElement("div"),E.appendChild(X),E.className="cesium-cesiumInspector-center",W.appendChild(E);let P=document.createElement("div");W.appendChild(P);let F=document.createElement("input");F.type="button",F.value="Parent",F.className="cesium-cesiumInspector-pickButton",F.setAttribute("data-bind","click: selectParent");let b=document.createElement("input");b.type="button",b.value="NW",b.className="cesium-cesiumInspector-pickButton",b.setAttribute("data-bind","click: selectNW");let L=document.createElement("input");L.type="button",L.value="NE",L.className="cesium-cesiumInspector-pickButton",L.setAttribute("data-bind","click: selectNE");let Z=document.createElement("input");Z.type="button",Z.value="SW",Z.className="cesium-cesiumInspector-pickButton",Z.setAttribute("data-bind","click: selectSW");let G=document.createElement("input");G.type="button",G.value="SE",G.className="cesium-cesiumInspector-pickButton",G.setAttribute("data-bind","click: selectSE");let w=document.createElement("div");w.className="cesium-cesiumInspector-tileText",P.className="cesium-cesiumInspector-frustumStatistics",P.appendChild(w),P.setAttribute("data-bind","visible: hasPickedTile"),w.setAttribute("data-bind","html: tileText");let M=document.createElement("div");M.className="cesium-cesiumInspector-relativeText",M.textContent="Select relative:",P.appendChild(M);let B=document.createElement("table"),U=document.createElement("tr"),O=document.createElement("tr"),N=document.createElement("td");N.appendChild(F);let z=document.createElement("td");z.appendChild(b);let J=document.createElement("td");J.appendChild(L),U.appendChild(N),U.appendChild(z),U.appendChild(J);let ee=document.createElement("td"),H=document.createElement("td");H.appendChild(Z);let te=document.createElement("td");te.appendChild(G),O.appendChild(ee),O.appendChild(H),O.appendChild(te),B.appendChild(U),B.appendChild(O),P.appendChild(B),W.appendChild(c("Show bounding volume","tileBoundingSphere","hasPickedTile")),W.appendChild(c("Show only selected","filterTile","hasPickedTile")),I.appendChild(c("Wireframe","wireframe")),I.appendChild(c("Suspend LOD update","suspendUpdates")),I.appendChild(c("Show tile coordinates","tileCoordinates")),Se.applyBindings(i,this._element)}Object.defineProperties(AY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});AY.prototype.isDestroyed=function(){return!1};AY.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),he(this)};var TN=AY;var wIo=x(_(),1);var GIo=x(_(),1);function VLe(e){e=e??Y.EMPTY_OBJECT;let t=e.globe,n=e.imageryProviderViewModels??Y.EMPTY_ARRAY,i=e.terrainProviderViewModels??Y.EMPTY_ARRAY;this._globe=t,this.imageryProviderViewModels=n.slice(0),this.terrainProviderViewModels=i.slice(0),this.dropDownVisible=!1,Se.track(this,["imageryProviderViewModels","terrainProviderViewModels","dropDownVisible"]);let o=Se.getObservable(this,"imageryProviderViewModels"),r=Se.pureComputed(function(){let h=o(),p={},g;for(g=0;g<h.length;g++){let T=h[g],S=T.category;l(p[S])?p[S].push(T):p[S]=[T]}let f=Object.keys(p),y=[];for(g=0;g<f.length;g++){let T=f[g];y.push({name:T,providers:p[T]})}return y});this._imageryProviders=r;let s=Se.getObservable(this,"terrainProviderViewModels"),a=Se.pureComputed(function(){let h=s(),p={},g;for(g=0;g<h.length;g++){let T=h[g],S=T.category;l(p[S])?p[S].push(T):p[S]=[T]}let f=Object.keys(p),y=[];for(g=0;g<f.length;g++){let T=f[g];y.push({name:T,providers:p[T]})}return y});this._terrainProviders=a,this.buttonTooltip=void 0,Se.defineProperty(this,"buttonTooltip",function(){let h=this.selectedImagery,p=this.selectedTerrain,g=l(h)?h.name:void 0,f=l(p)?p.name:void 0;return l(g)&&l(f)?`${g}
16013
+ ${f}`:l(g)?g:f}),this.buttonImageUrl=void 0,Se.defineProperty(this,"buttonImageUrl",function(){let h=this.selectedImagery;if(l(h))return h.iconUrl}),this.selectedImagery=void 0;let c=Se.observable();this._currentImageryLayers=[],Se.defineProperty(this,"selectedImagery",{get:function(){return c()},set:function(h){if(c()===h){this.dropDownVisible=!1;return}let p,g=this._currentImageryLayers,f=g.length,y=this._globe.imageryLayers,T=!1;for(p=0;p<f;p++){let S=y.length;for(let C=0;C<S;C++){let V=y.get(C);if(V===g[p]){y.remove(V),T=!0;break}}}if(l(h)){let S=h.creationCommand();if(Array.isArray(S)){let C=S.length;for(this._currentImageryLayers=[],p=C-1;p>=0;p--){let V=Qa.fromProviderAsync(S[p]);y.add(V,0),this._currentImageryLayers.push(V)}}else{this._currentImageryLayers=[];let C=Qa.fromProviderAsync(S);if(C.name=h.name,T)y.add(C,0);else{let V=y.get(0);l(V)&&y.remove(V),y.add(C,0)}this._currentImageryLayers.push(C)}}c(h),this.dropDownVisible=!1}}),this.selectedTerrain=void 0;let d=Se.observable();Se.defineProperty(this,"selectedTerrain",{get:function(){return d()},set:function(h){if(d()===h){this.dropDownVisible=!1;return}let p;if(l(h)&&(p=h.creationCommand()),l(p)&&!l(p.then))this._globe.depthTestAgainstTerrain=!(p instanceof mp),this._globe.terrainProvider=p;else if(l(p)){let g=!1,f=this._globe.terrainProviderChanged.addEventListener(()=>{g=!0,f()}),T=new tN(p).readyEvent.addEventListener(S=>{g||(this._globe.depthTestAgainstTerrain=!(S instanceof mp),this._globe.terrainProvider=S,T())})}d(h),this.dropDownVisible=!1}});let u=this;this._toggleDropDown=yn(function(){u.dropDownVisible=!u.dropDownVisible}),this.selectedImagery=e.selectedImageryProviderViewModel??n[0],this.selectedTerrain=e.selectedTerrainProviderViewModel}Object.defineProperties(VLe.prototype,{toggleDropDown:{get:function(){return this._toggleDropDown}},globe:{get:function(){return this._globe}}});var SN=VLe;function XY(e,t){e=Cn(e);let n=new SN(t),i=document.createElement("button");i.type="button",i.className="cesium-button cesium-toolbar-button",i.setAttribute("data-bind","attr: { title: buttonTooltip },click: toggleDropDown"),e.appendChild(i);let o=document.createElement("img");o.setAttribute("draggable","false"),o.className="cesium-baseLayerPicker-selected",o.setAttribute("data-bind","attr: { src: buttonImageUrl }, visible: !!buttonImageUrl"),i.appendChild(o);let r=document.createElement("div");r.className="cesium-baseLayerPicker-dropDown",r.setAttribute("data-bind",'css: { "cesium-baseLayerPicker-dropDown-visible" : dropDownVisible }'),e.appendChild(r);let s=document.createElement("div");s.className="cesium-baseLayerPicker-sectionTitle",s.setAttribute("data-bind","visible: imageryProviderViewModels.length > 0"),s.innerHTML="Imagery",r.appendChild(s);let a=document.createElement("div");a.className="cesium-baseLayerPicker-section",a.setAttribute("data-bind","foreach: _imageryProviders"),r.appendChild(a);let c=document.createElement("div");c.className="cesium-baseLayerPicker-category",a.appendChild(c);let d=document.createElement("div");d.className="cesium-baseLayerPicker-categoryTitle",d.setAttribute("data-bind","text: name"),c.appendChild(d);let u=document.createElement("div");u.className="cesium-baseLayerPicker-choices",u.setAttribute("data-bind","foreach: providers"),c.appendChild(u);let h=document.createElement("div");h.className="cesium-baseLayerPicker-item",h.setAttribute("data-bind",'css: { "cesium-baseLayerPicker-selectedItem" : $data === $parents[1].selectedImagery },attr: { title: tooltip },visible: creationCommand.canExecute,click: function($data) { $parents[1].selectedImagery = $data; }'),u.appendChild(h);let p=document.createElement("img");p.className="cesium-baseLayerPicker-itemIcon",p.setAttribute("data-bind","attr: { src: iconUrl }"),p.setAttribute("draggable","false"),h.appendChild(p);let g=document.createElement("div");g.className="cesium-baseLayerPicker-itemLabel",g.setAttribute("data-bind","text: name"),h.appendChild(g);let f=document.createElement("div");f.className="cesium-baseLayerPicker-sectionTitle",f.setAttribute("data-bind","visible: terrainProviderViewModels.length > 0"),f.innerHTML="Terrain",r.appendChild(f);let y=document.createElement("div");y.className="cesium-baseLayerPicker-section",y.setAttribute("data-bind","foreach: _terrainProviders"),r.appendChild(y);let T=document.createElement("div");T.className="cesium-baseLayerPicker-category",y.appendChild(T);let S=document.createElement("div");S.className="cesium-baseLayerPicker-categoryTitle",S.setAttribute("data-bind","text: name"),T.appendChild(S);let C=document.createElement("div");C.className="cesium-baseLayerPicker-choices",C.setAttribute("data-bind","foreach: providers"),T.appendChild(C);let V=document.createElement("div");V.className="cesium-baseLayerPicker-item",V.setAttribute("data-bind",'css: { "cesium-baseLayerPicker-selectedItem" : $data === $parents[1].selectedTerrain },attr: { title: tooltip },visible: creationCommand.canExecute,click: function($data) { $parents[1].selectedTerrain = $data; }'),C.appendChild(V);let R=document.createElement("img");R.className="cesium-baseLayerPicker-itemIcon",R.setAttribute("data-bind","attr: { src: iconUrl }"),R.setAttribute("draggable","false"),V.appendChild(R);let E=document.createElement("div");E.className="cesium-baseLayerPicker-itemLabel",E.setAttribute("data-bind","text: name"),V.appendChild(E),Se.applyBindings(n,i),Se.applyBindings(n,r),this._viewModel=n,this._container=e,this._element=i,this._dropPanel=r,this._closeDropDown=function(I){i.contains(I.target)||r.contains(I.target)||(n.dropDownVisible=!1)},Mt.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(XY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});XY.prototype.isDestroyed=function(){return!1};XY.prototype.destroy=function(){return Mt.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Se.cleanNode(this._element),Se.cleanNode(this._dropPanel),this._container.removeChild(this._element),this._container.removeChild(this._dropPanel),he(this)};var CN=XY;var DIo=x(_(),1);function LLe(e){let t=e.creationFunction;l(t.canExecute)||(t=yn(t)),this._creationCommand=t,this.name=e.name,this.tooltip=e.tooltip,this.iconUrl=e.iconUrl,this._category=e.category??"",Se.track(this,["name","tooltip","iconUrl"])}Object.defineProperties(LLe.prototype,{creationCommand:{get:function(){return this._creationCommand}},category:{get:function(){return this._category}}});var ms=LLe;var zIo=x(_(),1);function gEt(){let e=[],t=devicePixelRatio>=2;return e.push(new ms({name:"Bing Maps Aerial",iconUrl:jt("Widgets/Images/ImageryProviders/bingAerial.png"),tooltip:"Bing Maps aerial imagery, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return R0({style:L0.AERIAL})}})),e.push(new ms({name:"Bing Maps Aerial with Labels",iconUrl:jt("Widgets/Images/ImageryProviders/bingAerialLabels.png"),tooltip:"Bing Maps aerial imagery with labels, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return R0({style:L0.AERIAL_WITH_LABELS})}})),e.push(new ms({name:"Bing Maps Roads",iconUrl:jt("Widgets/Images/ImageryProviders/bingRoads.png"),tooltip:"Bing Maps standard road maps, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return R0({style:L0.ROAD})}})),e.push(new ms({name:"ArcGIS World Imagery",iconUrl:jt("Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png"),tooltip:`ArcGIS World Imagery provides one meter or better satellite and aerial imagery in many parts of the world and lower resolution satellite imagery worldwide. The map includes 15m TerraColor imagery at small and mid-scales (~1:591M down to ~1:288k) for the world. The map features Maxar imagery at 0.3m resolution for select metropolitan areas around the world, 0.5m resolution across the United States and parts of Western Europe, and 1m resolution imagery across the rest of the world. In addition to commercial sources, the World Imagery map features high-resolution aerial photography contributed by the GIS User Community. This imagery ranges from 0.3m to 0.03m resolution (down to ~1:280 nin select communities). For more information on this map, including the terms of use, visit us online at
16014
+ https://www.arcgis.com/home/item.html?id=10df2279f9684e4a9f6a7f08febac2a9`,category:"Other",creationFunction:function(){return C0.fromBasemapType(zh.SATELLITE,{enablePickFeatures:!1})}})),e.push(new ms({name:"ArcGIS World Hillshade",iconUrl:jt("Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png"),tooltip:`ArcGIS World Hillshade map portrays elevation as an artistic hillshade. This map is designed to be used as a backdrop for topographical, soil, hydro, landcover or other outdoor recreational maps. The map was compiled from a variety of sources from several data providers. The basemap has global coverage down to a scale of ~1:72k. In select areas of the United States and Europe, coverage is available down to ~1:9k. For more information on this map, including the terms of use, visit us online at
16015
+ https://www.arcgis.com/home/item.html?id=1b243539f4514b6ba35e7d995890db1d`,category:"Other",creationFunction:function(){return C0.fromBasemapType(zh.HILLSHADE,{enablePickFeatures:!1})}})),e.push(new ms({name:"Esri World Ocean",iconUrl:jt("Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png"),tooltip:`ArcGIS World Ocean map is designed to be used as a base map by marine GIS professionals and as a reference map by anyone interested in ocean data. The base map features marine bathymetry. Land features include inland waters and roads overlaid on land cover and shaded relief imagery. The map was compiled from a variety of best available sources from several data providers, including General Bathymetric Chart of the Oceans GEBCO_08 Grid, National Oceanic and Atmospheric Administration (NOAA), and National Geographic, Garmin, HERE, Geonames.org, and Esri, and various other contributors. The base map currently provides coverage for the world down to a scale of ~1:577k, and coverage down to 1:72k in US coastal areas, and various other areas. Coverage down to ~ 1:9k is available limited areas based on regional hydrographic survey data. The base map was designed and developed by Esri. For more information on this map, including our terms of use, visit us online at
16016
+ https://www.arcgis.com/home/item.html?id=1e126e7520f9466c9ca28b8f28b5e500`,category:"Other",creationFunction:function(){return C0.fromBasemapType(zh.OCEANS,{enablePickFeatures:!1})}})),e.push(new ms({name:"Open\xADStreet\xADMap",iconUrl:jt("Widgets/Images/ImageryProviders/openStreetMap.png"),tooltip:`OpenStreetMap (OSM) is a collaborative project to create a free editable map of the world.
16017
+ http://www.openstreetmap.org`,category:"Other",creationFunction:function(){return new O0({url:"https://tile.openstreetmap.org/"})}})),e.push(new ms({name:"Stadia x Stamen Watercolor",iconUrl:jt("Widgets/Images/ImageryProviders/stamenWatercolor.png"),tooltip:`Based on the original basemaps created for the Knight Foundation and reminiscent of hand drawn maps, the watercolor maps from Stamen Design apply raster effect area washes and organic edges over a paper texture to add warm pop to any map.
16018
16018
  https://docs.stadiamaps.com/map-styles/stamen-watercolor/`,category:"Other",creationFunction:function(){return new O0({url:"https://tiles.stadiamaps.com/tiles/stamen_watercolor/",fileExtension:"jpg",credit:`&copy; <a href="https://stamen.com/" target="_blank">Stamen Design</a>
16019
16019
  &copy; <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a>
16020
16020
  &copy; <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a>
16021
- &copy; <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>`})}})),e.push(new us({name:"Stadia x Stamen Toner",iconUrl:jt("Widgets/Images/ImageryProviders/stamenToner.png"),tooltip:`Based on the original basemaps created for the Knight Foundation and the most popular of the excellent styles from Stamen Design, these high-contrast B+W (black and white) maps are the perfect backdrop for your colorful and eye-catching overlays.
16021
+ &copy; <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>`})}})),e.push(new ms({name:"Stadia x Stamen Toner",iconUrl:jt("Widgets/Images/ImageryProviders/stamenToner.png"),tooltip:`Based on the original basemaps created for the Knight Foundation and the most popular of the excellent styles from Stamen Design, these high-contrast B+W (black and white) maps are the perfect backdrop for your colorful and eye-catching overlays.
16022
16022
  https://docs.stadiamaps.com/map-styles/stamen-toner/`,category:"Other",creationFunction:function(){return new O0({url:"https://tiles.stadiamaps.com/tiles/stamen_toner/",retinaTiles:t,credit:`&copy; <a href="https://stamen.com/" target="_blank">Stamen Design</a>
16023
16023
  &copy; <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a>
16024
16024
  &copy; <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a>
16025
- &copy; <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>`})}})),e.push(new us({name:"Stadia Alidade Smooth",iconUrl:jt("Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png"),tooltip:`Stadia's custom Alidade Smooth style is designed for maps that use a lot of markers or overlays. It features a muted color scheme and fewer points of interest to allow your added data to shine.
16025
+ &copy; <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>`})}})),e.push(new ms({name:"Stadia Alidade Smooth",iconUrl:jt("Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png"),tooltip:`Stadia's custom Alidade Smooth style is designed for maps that use a lot of markers or overlays. It features a muted color scheme and fewer points of interest to allow your added data to shine.
16026
16026
  https://docs.stadiamaps.com/map-styles/alidade-smooth/`,category:"Other",creationFunction:function(){return new O0({url:"https://tiles.stadiamaps.com/tiles/alidade_smooth/",retinaTiles:t,credit:`&copy; <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a>
16027
16027
  &copy; <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a>
16028
- &copy; <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>`})}})),e.push(new us({name:"Stadia Alidade Smooth Dark",iconUrl:jt("Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png"),tooltip:`Stadia Alidade Smooth Dark, like its lighter cousin, is also designed to stay out of the way. It just flips the dark mode switch on the color scheme. With the lights out, your data can now literally shine.
16028
+ &copy; <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>`})}})),e.push(new ms({name:"Stadia Alidade Smooth Dark",iconUrl:jt("Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png"),tooltip:`Stadia Alidade Smooth Dark, like its lighter cousin, is also designed to stay out of the way. It just flips the dark mode switch on the color scheme. With the lights out, your data can now literally shine.
16029
16029
  https://docs.stadiamaps.com/map-styles/alidade-smooth-dark/`,category:"Other",creationFunction:function(){return new O0({url:"https://tiles.stadiamaps.com/tiles/alidade_smooth_dark/",retinaTiles:t,credit:`&copy; <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a>
16030
16030
  &copy; <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a>
16031
- &copy; <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>`})}})),e.push(new us({name:"Sentinel-2",iconUrl:jt("Widgets/Images/ImageryProviders/sentinel-2.png"),tooltip:"Sentinel-2 cloudless by EOX IT Services GmbH (Contains modified Copernicus Sentinel data 2016 and 2017).",category:"Cesium ion",creationFunction:function(){return V0.fromAssetId(3954)}})),e.push(new us({name:"Blue Marble",iconUrl:jt("Widgets/Images/ImageryProviders/blueMarble.png"),tooltip:"Blue Marble Next Generation July, 2004 imagery from NASA.",category:"Cesium ion",creationFunction:function(){return V0.fromAssetId(3845)}})),e.push(new us({name:"Earth at night",iconUrl:jt("Widgets/Images/ImageryProviders/earthAtNight.png"),tooltip:"The Earth at night, also known as The Black Marble, is a 500 meter resolution global composite imagery layer released by NASA.",category:"Cesium ion",creationFunction:function(){return V0.fromAssetId(3812)}})),e.push(new us({name:"Natural Earth\xA0II",iconUrl:jt("Widgets/Images/ImageryProviders/naturalEarthII.png"),tooltip:`Natural Earth II, darkened for contrast.
16032
- http://www.naturalearthdata.com/`,category:"Cesium ion",creationFunction:function(){return Uy.fromUrl(jt("Assets/Textures/NaturalEarthII"))}})),e}var gN=sEt;var CIo=x(_(),1);function aEt(){let e=[];return e.push(new us({name:"WGS84 Ellipsoid",iconUrl:jt("Widgets/Images/TerrainProviders/Ellipsoid.png"),tooltip:"WGS84 standard ellipsoid, also known as EPSG:4326",category:"Cesium ion",creationFunction:function(){return new mp({ellipsoid:ne.WGS84})}})),e.push(new us({name:"Cesium World Terrain",iconUrl:jt("Widgets/Images/TerrainProviders/CesiumWorldTerrain.png"),tooltip:"High-resolution global terrain tileset curated from several datasources and hosted by Cesium ion",category:"Cesium ion",creationFunction:function(){return US({requestWaterMask:!0,requestVertexNormals:!0})}})),e}var yN=aEt;var EIo=x(_(),1);var QS="http://www.w3.org/2000/svg",VLe="http://www.w3.org/1999/xlink",EY,xN=D.fromCssColorString("rgba(247,250,255,0.384)"),GY=D.fromCssColorString("rgba(143,191,255,0.216)"),X$=D.fromCssColorString("rgba(153,197,255,0.098)"),IY=D.fromCssColorString("rgba(255,255,255,0.086)"),cEt=D.fromCssColorString("rgba(255,255,255,0.267)"),lEt=D.fromCssColorString("rgba(255,255,255,0)"),SLe=D.fromCssColorString("rgba(66,67,68,0.3)"),CLe=D.fromCssColorString("rgba(0,0,0,0.5)");function dx(e){return D.fromCssColorString(window.getComputedStyle(e).getPropertyValue("color"))}var _N={animation_pathReset:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M24.316,5.318,9.833,13.682,9.833,5.5,5.5,5.5,5.5,25.5,9.833,25.5,9.833,17.318,24.316,25.682z"},animation_pathPause:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M13,5.5,7.5,5.5,7.5,25.5,13,25.5zM24.5,5.5,19,5.5,19,25.5,24.5,25.5z"},animation_pathPlay:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M6.684,25.682L24.316,15.5L6.684,5.318V25.682z"},animation_pathPlayReverse:{tagName:"path",transform:"translate(16,16) scale(-0.85,0.85) translate(-16,-16)",d:"M6.684,25.682L24.316,15.5L6.684,5.318V25.682z"},animation_pathLoop:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M24.249,15.499c-0.009,4.832-3.918,8.741-8.75,8.75c-2.515,0-4.768-1.064-6.365-2.763l2.068-1.442l-7.901-3.703l0.744,8.694l2.193-1.529c2.244,2.594,5.562,4.242,9.26,4.242c6.767,0,12.249-5.482,12.249-12.249H24.249zM15.499,6.75c2.516,0,4.769,1.065,6.367,2.764l-2.068,1.443l7.901,3.701l-0.746-8.693l-2.192,1.529c-2.245-2.594-5.562-4.245-9.262-4.245C8.734,3.25,3.25,8.734,3.249,15.499H6.75C6.758,10.668,10.668,6.758,15.499,6.75z"},animation_pathClock:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-15.5)",d:"M15.5,2.374C8.251,2.375,2.376,8.251,2.374,15.5C2.376,22.748,8.251,28.623,15.5,28.627c7.249-0.004,13.124-5.879,13.125-13.127C28.624,8.251,22.749,2.375,15.5,2.374zM15.5,25.623C9.909,25.615,5.385,21.09,5.375,15.5C5.385,9.909,9.909,5.384,15.5,5.374c5.59,0.01,10.115,4.535,10.124,10.125C25.615,21.09,21.091,25.615,15.5,25.623zM8.625,15.5c-0.001-0.552-0.448-0.999-1.001-1c-0.553,0-1,0.448-1,1c0,0.553,0.449,1,1,1C8.176,16.5,8.624,16.053,8.625,15.5zM8.179,18.572c-0.478,0.277-0.642,0.889-0.365,1.367c0.275,0.479,0.889,0.641,1.365,0.365c0.479-0.275,0.643-0.887,0.367-1.367C9.27,18.461,8.658,18.297,8.179,18.572zM9.18,10.696c-0.479-0.276-1.09-0.112-1.366,0.366s-0.111,1.09,0.365,1.366c0.479,0.276,1.09,0.113,1.367-0.366C9.821,11.584,9.657,10.973,9.18,10.696zM22.822,12.428c0.478-0.275,0.643-0.888,0.366-1.366c-0.275-0.478-0.89-0.642-1.366-0.366c-0.479,0.278-0.642,0.89-0.366,1.367C21.732,12.54,22.344,12.705,22.822,12.428zM12.062,21.455c-0.478-0.275-1.089-0.111-1.366,0.367c-0.275,0.479-0.111,1.09,0.366,1.365c0.478,0.277,1.091,0.111,1.365-0.365C12.704,22.344,12.54,21.732,12.062,21.455zM12.062,9.545c0.479-0.276,0.642-0.888,0.366-1.366c-0.276-0.478-0.888-0.642-1.366-0.366s-0.642,0.888-0.366,1.366C10.973,9.658,11.584,9.822,12.062,9.545zM22.823,18.572c-0.48-0.275-1.092-0.111-1.367,0.365c-0.275,0.479-0.112,1.092,0.367,1.367c0.477,0.275,1.089,0.113,1.365-0.365C23.464,19.461,23.3,18.848,22.823,18.572zM19.938,7.813c-0.477-0.276-1.091-0.111-1.365,0.366c-0.275,0.48-0.111,1.091,0.366,1.367s1.089,0.112,1.366-0.366C20.581,8.702,20.418,8.089,19.938,7.813zM23.378,14.5c-0.554,0.002-1.001,0.45-1.001,1c0.001,0.552,0.448,1,1.001,1c0.551,0,1-0.447,1-1C24.378,14.949,23.929,14.5,23.378,14.5zM15.501,6.624c-0.552,0-1,0.448-1,1l-0.466,7.343l-3.004,1.96c-0.478,0.277-0.642,0.889-0.365,1.365c0.275,0.479,0.889,0.643,1.365,0.367l3.305-1.676C15.39,16.99,15.444,17,15.501,17c0.828,0,1.5-0.671,1.5-1.5l-0.5-7.876C16.501,7.072,16.053,6.624,15.501,6.624zM15.501,22.377c-0.552,0-1,0.447-1,1s0.448,1,1,1s1-0.447,1-1S16.053,22.377,15.501,22.377zM18.939,21.455c-0.479,0.277-0.643,0.889-0.366,1.367c0.275,0.477,0.888,0.643,1.366,0.365c0.478-0.275,0.642-0.889,0.366-1.365C20.028,21.344,19.417,21.18,18.939,21.455z"},animation_pathWingButton:{tagName:"path",d:"m 4.5,0.5 c -2.216,0 -4,1.784 -4,4 l 0,24 c 0,2.216 1.784,4 4,4 l 13.71875,0 C 22.478584,27.272785 27.273681,22.511272 32.5,18.25 l 0,-13.75 c 0,-2.216 -1.784,-4 -4,-4 l -24,0 z"},animation_pathPointer:{tagName:"path",d:"M-15,-65,-15,-55,15,-55,15,-65,0,-95z"},animation_pathSwooshFX:{tagName:"path",d:"m 85,0 c 0,16.617 -4.813944,35.356 -13.131081,48.4508 h 6.099803 c 8.317138,-13.0948 13.13322,-28.5955 13.13322,-45.2124 0,-46.94483 -38.402714,-85.00262 -85.7743869,-85.00262 -1.0218522,0 -2.0373001,0.0241 -3.0506131,0.0589 45.958443,1.59437 82.723058,35.77285 82.723058,81.70532 z"}};function af(e){let t=document.createElementNS(QS,e.tagName);for(let n in e)if(e.hasOwnProperty(n)&&n!=="tagName")if(n==="children"){let i=e.children.length;for(let o=0;o<i;++o)t.appendChild(af(e.children[o]))}else n.indexOf("xlink:")===0?t.setAttributeNS(VLe,n.substring(6),e[n]):n==="textContent"?t.textContent=e[n]:t.setAttribute(n,e[n]);return t}function W$(e,t,n){let i=document.createElementNS(QS,"text");i.setAttribute("x",e),i.setAttribute("y",t),i.setAttribute("class","cesium-animation-svgText");let o=document.createElementNS(QS,"tspan");return o.textContent=n,i.appendChild(o),i}function dEt(e,t,n){e.setAttribute("transform",`translate(100,100) rotate(${n})`),t.setAttribute("transform",`rotate(${n})`)}var AY=new D;function ms(e,t){let n=t.alpha,i=1-n;return AY.red=e.red*i+t.red*n,AY.green=e.green*i+t.green*n,AY.blue=e.blue*i+t.blue*n,AY.toCssColorString()}function P$(e,t,n){let i=_N[n],o={tagName:"g",class:"cesium-animation-rectButton",transform:`translate(${e},${t})`,children:[{tagName:"rect",class:"cesium-animation-buttonGlow",width:32,height:32,rx:2,ry:2},{tagName:"rect",class:"cesium-animation-buttonMain",width:32,height:32,rx:4,ry:4},{class:"cesium-animation-buttonPath",id:n,tagName:i.tagName,transform:i.transform,d:i.d},{tagName:"title",textContent:""}]};return af(o)}function uEt(e,t,n){let i=_N[n],o=_N.animation_pathWingButton,r={tagName:"g",class:"cesium-animation-rectButton",transform:`translate(${e},${t})`,children:[{class:"cesium-animation-buttonGlow",id:"animation_pathWingButton",tagName:o.tagName,d:o.d},{class:"cesium-animation-buttonMain",id:"animation_pathWingButton",tagName:o.tagName,d:o.d},{class:"cesium-animation-buttonPath",id:n,tagName:i.tagName,transform:i.transform,d:i.d},{tagName:"title",textContent:""}]};return af(r)}function mEt(e,t){let n=e._viewModel,i=n.shuttleRingDragging;if(!(i&&EY!==e))if(t.type==="mousedown"||i&&t.type==="mousemove"||t.type==="touchstart"&&t.touches.length===1||i&&t.type==="touchmove"&&t.touches.length===1){let o=e._centerX,r=e._centerY,a=e._svgNode.getBoundingClientRect(),c,d;if(t.type==="touchstart"||t.type==="touchmove"?(c=t.touches[0].clientX,d=t.touches[0].clientY):(c=t.clientX,d=t.clientY),!i&&(c>a.right||c<a.left||d<a.top||d>a.bottom))return;let u=e._shuttleRingPointer.getBoundingClientRect(),h=c-o-a.left,p=d-r-a.top,g=Math.atan2(p,h)*180/Math.PI+90;g>180&&(g-=360);let f=n.shuttleRingAngle;i||c<u.right&&c>u.left&&d>u.top&&d<u.bottom?(EY=e,n.shuttleRingDragging=!0,n.shuttleRingAngle=g):g<f?n.slower():g>f&&n.faster(),t.preventDefault()}else e===EY&&(EY=void 0),n.shuttleRingDragging=!1}function Y0(e,t){this._viewModel=t,this.svgElement=e,this._enabled=void 0,this._toggled=void 0;let n=this;this._clickFunction=function(){let i=n._viewModel.command;i.canExecute&&i()},e.addEventListener("click",this._clickFunction,!0),this._subscriptions=[Aa(t,"toggled",this.setToggled,this),Aa(t,"tooltip",this.setTooltip,this),Aa(t.command,"canExecute",this.setEnabled,this)]}Y0.prototype.destroy=function(){this.svgElement.removeEventListener("click",this._clickFunction,!0);let e=this._subscriptions;for(let t=0,n=e.length;t<n;t++)e[t].dispose();he(this)};Y0.prototype.isDestroyed=function(){return!1};Y0.prototype.setEnabled=function(e){if(this._enabled!==e){if(this._enabled=e,!e){this.svgElement.setAttribute("class","cesium-animation-buttonDisabled");return}if(this._toggled){this.svgElement.setAttribute("class","cesium-animation-rectButton cesium-animation-buttonToggled");return}this.svgElement.setAttribute("class","cesium-animation-rectButton")}};Y0.prototype.setToggled=function(e){this._toggled!==e&&(this._toggled=e,this._enabled&&(e?this.svgElement.setAttribute("class","cesium-animation-rectButton cesium-animation-buttonToggled"):this.svgElement.setAttribute("class","cesium-animation-rectButton")))};Y0.prototype.setTooltip=function(e){this.svgElement.getElementsByTagName("title")[0].textContent=e};function yR(e,t){e=Cn(e),this._viewModel=t,this._container=e,this._centerX=0,this._centerY=0,this._defsElement=void 0,this._svgNode=void 0,this._topG=void 0,this._lastHeight=void 0,this._lastWidth=void 0;let n=e.ownerDocument,i=document.createElement("style");i.textContent=".cesium-animation-rectButton .cesium-animation-buttonGlow { filter: url(#animation_blurred); }.cesium-animation-rectButton .cesium-animation-buttonMain { fill: url(#animation_buttonNormal); }.cesium-animation-buttonToggled .cesium-animation-buttonMain { fill: url(#animation_buttonToggled); }.cesium-animation-rectButton:hover .cesium-animation-buttonMain { fill: url(#animation_buttonHovered); }.cesium-animation-buttonDisabled .cesium-animation-buttonMain { fill: url(#animation_buttonDisabled); }.cesium-animation-shuttleRingG .cesium-animation-shuttleRingSwoosh { fill: url(#animation_shuttleRingSwooshGradient); }.cesium-animation-shuttleRingG:hover .cesium-animation-shuttleRingSwoosh { fill: url(#animation_shuttleRingSwooshHovered); }.cesium-animation-shuttleRingPointer { fill: url(#animation_shuttleRingPointerGradient); }.cesium-animation-shuttleRingPausePointer { fill: url(#animation_shuttleRingPointerPaused); }.cesium-animation-knobOuter { fill: url(#animation_knobOuter); }.cesium-animation-knobInner { fill: url(#animation_knobInner); }",n.head.insertBefore(i,n.head.childNodes[0]);let o=document.createElement("div");o.className="cesium-animation-theme",o.innerHTML='<div class="cesium-animation-themeNormal"></div><div class="cesium-animation-themeHover"></div><div class="cesium-animation-themeSelect"></div><div class="cesium-animation-themeDisabled"></div><div class="cesium-animation-themeKnob"></div><div class="cesium-animation-themePointer"></div><div class="cesium-animation-themeSwoosh"></div><div class="cesium-animation-themeSwooshHover"></div>',this._theme=o,this._themeNormal=o.childNodes[0],this._themeHover=o.childNodes[1],this._themeSelect=o.childNodes[2],this._themeDisabled=o.childNodes[3],this._themeKnob=o.childNodes[4],this._themePointer=o.childNodes[5],this._themeSwoosh=o.childNodes[6],this._themeSwooshHover=o.childNodes[7];let r=document.createElementNS(QS,"svg:svg");this._svgNode=r,r.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink",VLe);let s=document.createElementNS(QS,"g");this._topG=s,this._realtimeSVG=new Y0(uEt(3,4,"animation_pathClock"),t.playRealtimeViewModel),this._playReverseSVG=new Y0(P$(44,99,"animation_pathPlayReverse"),t.playReverseViewModel),this._playForwardSVG=new Y0(P$(124,99,"animation_pathPlay"),t.playForwardViewModel),this._pauseSVG=new Y0(P$(84,99,"animation_pathPause"),t.pauseViewModel);let a=document.createElementNS(QS,"g");a.appendChild(this._realtimeSVG.svgElement),a.appendChild(this._playReverseSVG.svgElement),a.appendChild(this._playForwardSVG.svgElement),a.appendChild(this._pauseSVG.svgElement);let c=af({tagName:"circle",class:"cesium-animation-shuttleRingBack",cx:100,cy:100,r:99});this._shuttleRingBackPanel=c;let d=_N.animation_pathSwooshFX,u=_N.animation_pathPointer,h=af({tagName:"g",class:"cesium-animation-shuttleRingSwoosh",children:[{tagName:d.tagName,transform:"translate(100,97) scale(-1,1)",id:"animation_pathSwooshFX",d:d.d},{tagName:d.tagName,transform:"translate(100,97)",id:"animation_pathSwooshFX",d:d.d},{tagName:"line",x1:100,y1:8,x2:100,y2:22}]});this._shuttleRingSwooshG=h,this._shuttleRingPointer=af({class:"cesium-animation-shuttleRingPointer",id:"animation_pathPointer",tagName:u.tagName,d:u.d});let p=af({tagName:"g",transform:"translate(100,100)"});this._knobOuter=af({tagName:"circle",class:"cesium-animation-knobOuter",cx:0,cy:0,r:71});let g=61,f=af({tagName:"circle",class:"cesium-animation-knobInner",cx:0,cy:0,r:g});this._knobDate=W$(0,-24,""),this._knobTime=W$(0,-7,""),this._knobStatus=W$(0,-41,"");let y=af({tagName:"circle",class:"cesium-animation-blank",cx:0,cy:0,r:g}),T=document.createElementNS(QS,"g");T.setAttribute("class","cesium-animation-shuttleRingG"),e.appendChild(o),s.appendChild(T),s.appendChild(p),s.appendChild(a),T.appendChild(c),T.appendChild(h),T.appendChild(this._shuttleRingPointer),p.appendChild(this._knobOuter),p.appendChild(f),p.appendChild(this._knobDate),p.appendChild(this._knobTime),p.appendChild(this._knobStatus),p.appendChild(y),r.appendChild(s),e.appendChild(r);let S=this;function C(W){mEt(S,W)}this._mouseCallback=C,c.addEventListener("mousedown",C,!0),c.addEventListener("touchstart",C,!0),h.addEventListener("mousedown",C,!0),h.addEventListener("touchstart",C,!0),n.addEventListener("mousemove",C,!0),n.addEventListener("touchmove",C,!0),n.addEventListener("mouseup",C,!0),n.addEventListener("touchend",C,!0),n.addEventListener("touchcancel",C,!0),this._shuttleRingPointer.addEventListener("mousedown",C,!0),this._shuttleRingPointer.addEventListener("touchstart",C,!0),this._knobOuter.addEventListener("mousedown",C,!0),this._knobOuter.addEventListener("touchstart",C,!0);let V=this._knobTime.childNodes[0],R=this._knobDate.childNodes[0],E=this._knobStatus.childNodes[0],I;this._subscriptions=[Aa(t.pauseViewModel,"toggled",function(W){I!==W&&(I=W,I?S._shuttleRingPointer.setAttribute("class","cesium-animation-shuttleRingPausePointer"):S._shuttleRingPointer.setAttribute("class","cesium-animation-shuttleRingPointer"))}),Aa(t,"shuttleRingAngle",function(W){dEt(S._shuttleRingPointer,S._knobOuter,W)}),Aa(t,"dateLabel",function(W){R.textContent!==W&&(R.textContent=W)}),Aa(t,"timeLabel",function(W){V.textContent!==W&&(V.textContent=W)}),Aa(t,"multiplierLabel",function(W){E.textContent!==W&&(E.textContent=W)})],this.applyThemeChanges(),this.resize()}Object.defineProperties(yR.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});yR.prototype.isDestroyed=function(){return!1};yR.prototype.destroy=function(){l(this._observer)&&(this._observer.disconnect(),this._observer=void 0);let e=this._container.ownerDocument,t=this._mouseCallback;this._shuttleRingBackPanel.removeEventListener("mousedown",t,!0),this._shuttleRingBackPanel.removeEventListener("touchstart",t,!0),this._shuttleRingSwooshG.removeEventListener("mousedown",t,!0),this._shuttleRingSwooshG.removeEventListener("touchstart",t,!0),e.removeEventListener("mousemove",t,!0),e.removeEventListener("touchmove",t,!0),e.removeEventListener("mouseup",t,!0),e.removeEventListener("touchend",t,!0),e.removeEventListener("touchcancel",t,!0),this._shuttleRingPointer.removeEventListener("mousedown",t,!0),this._shuttleRingPointer.removeEventListener("touchstart",t,!0),this._knobOuter.removeEventListener("mousedown",t,!0),this._knobOuter.removeEventListener("touchstart",t,!0),this._container.removeChild(this._svgNode),this._container.removeChild(this._theme),this._realtimeSVG.destroy(),this._playReverseSVG.destroy(),this._playForwardSVG.destroy(),this._pauseSVG.destroy();let n=this._subscriptions;for(let i=0,o=n.length;i<o;i++)n[i].dispose();return he(this)};yR.prototype.resize=function(){let e=this._container.clientWidth,t=this._container.clientHeight;if(e===this._lastWidth&&t===this._lastHeight)return;let n=this._svgNode,i=200,o=132,r=e,s=t;e===0&&t===0?(r=i,s=o):e===0?(s=t,r=i*(t/o)):t===0&&(r=e,s=o*(e/i));let a=r/i,c=s/o;n.style.cssText=`width: ${r}px; height: ${s}px; position: absolute; bottom: 0; left: 0; overflow: hidden;`,n.setAttribute("width",r),n.setAttribute("height",s),n.setAttribute("viewBox",`0 0 ${r} ${s}`),this._topG.setAttribute("transform",`scale(${a},${c})`),this._centerX=Math.max(1,100*a),this._centerY=Math.max(1,100*c),this._lastHeight=e,this._lastWidth=t};yR.prototype.applyThemeChanges=function(){let e=this._container.ownerDocument;if(!e.body.contains(this._container)){if(l(this._observer))return;let u=this;u._observer=new MutationObserver(function(){e.body.contains(u._container)&&(u._observer.disconnect(),u._observer=void 0,u.applyThemeChanges())}),u._observer.observe(e,{childList:!0,subtree:!0});return}let t=dx(this._themeNormal),n=dx(this._themeHover),i=dx(this._themeSelect),o=dx(this._themeDisabled),r=dx(this._themeKnob),s=dx(this._themePointer),a=dx(this._themeSwoosh),c=dx(this._themeSwooshHover),d=af({tagName:"defs",children:[{id:"animation_buttonNormal",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":ms(t,xN)},{tagName:"stop",offset:"12%","stop-color":ms(t,GY)},{tagName:"stop",offset:"46%","stop-color":ms(t,X$)},{tagName:"stop",offset:"81%","stop-color":ms(t,IY)}]},{id:"animation_buttonHovered",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":ms(n,xN)},{tagName:"stop",offset:"12%","stop-color":ms(n,GY)},{tagName:"stop",offset:"46%","stop-color":ms(n,X$)},{tagName:"stop",offset:"81%","stop-color":ms(n,IY)}]},{id:"animation_buttonToggled",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":ms(i,xN)},{tagName:"stop",offset:"12%","stop-color":ms(i,GY)},{tagName:"stop",offset:"46%","stop-color":ms(i,X$)},{tagName:"stop",offset:"81%","stop-color":ms(i,IY)}]},{id:"animation_buttonDisabled",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":ms(o,cEt)},{tagName:"stop",offset:"75%","stop-color":ms(o,lEt)}]},{id:"animation_blurred",tagName:"filter",width:"200%",height:"200%",x:"-50%",y:"-50%",children:[{tagName:"feGaussianBlur",stdDeviation:4,in:"SourceGraphic"}]},{id:"animation_shuttleRingSwooshGradient",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-opacity":.2,"stop-color":a.toCssColorString()},{tagName:"stop",offset:"85%","stop-opacity":.85,"stop-color":a.toCssColorString()},{tagName:"stop",offset:"95%","stop-opacity":.05,"stop-color":a.toCssColorString()}]},{id:"animation_shuttleRingSwooshHovered",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-opacity":.2,"stop-color":c.toCssColorString()},{tagName:"stop",offset:"85%","stop-opacity":.85,"stop-color":c.toCssColorString()},{tagName:"stop",offset:"95%","stop-opacity":.05,"stop-color":c.toCssColorString()}]},{id:"animation_shuttleRingPointerGradient",tagName:"linearGradient",x1:"0%",y1:"50%",x2:"100%",y2:"50%",children:[{tagName:"stop",offset:"0%","stop-color":s.toCssColorString()},{tagName:"stop",offset:"40%","stop-color":s.toCssColorString()},{tagName:"stop",offset:"60%","stop-color":ms(s,CLe)},{tagName:"stop",offset:"100%","stop-color":ms(s,CLe)}]},{id:"animation_shuttleRingPointerPaused",tagName:"linearGradient",x1:"0%",y1:"50%",x2:"100%",y2:"50%",children:[{tagName:"stop",offset:"0%","stop-color":"#CCC"},{tagName:"stop",offset:"40%","stop-color":"#CCC"},{tagName:"stop",offset:"60%","stop-color":"#555"},{tagName:"stop",offset:"100%","stop-color":"#555"}]},{id:"animation_knobOuter",tagName:"linearGradient",x1:"20%",y1:"0%",x2:"90%",y2:"100%",children:[{tagName:"stop",offset:"5%","stop-color":ms(r,xN)},{tagName:"stop",offset:"60%","stop-color":ms(r,SLe)},{tagName:"stop",offset:"85%","stop-color":ms(r,GY)}]},{id:"animation_knobInner",tagName:"linearGradient",x1:"20%",y1:"0%",x2:"90%",y2:"100%",children:[{tagName:"stop",offset:"5%","stop-color":ms(r,SLe)},{tagName:"stop",offset:"60%","stop-color":ms(r,xN)},{tagName:"stop",offset:"85%","stop-color":ms(r,IY)}]}]});l(this._defsElement)?this._svgNode.replaceChild(d,this._defsElement):this._svgNode.appendChild(d),this._defsElement=d};var TN=yR;var wIo=x(_(),1);var hEt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ux=15,xR=105;function LLe(e,t){return e-t}function v$(e,t){let n=Eo(t,e,LLe);return n<0?~n:n}function fEt(e,t){if(Math.abs(e)<=ux)return e/ux;let n=ux,i=xR,o,r=0,s;return e>0?(o=Math.log(t[t.length-1]),s=(o-r)/(i-n),Math.exp(r+s*(e-n))):(o=Math.log(-t[0]),s=(o-r)/(i-n),-Math.exp(r+s*(Math.abs(e)-n)))}function pEt(e,t,n){if(n.clockStep===mo.SYSTEM_CLOCK)return ux;if(Math.abs(e)<=1)return e*ux;let i=t[t.length-1];e>i?e=i:e<-i&&(e=-i);let o=ux,r=xR,s,a=0,c;return e>0?(s=Math.log(i),c=(s-a)/(r-o),(Math.log(e)-a)/c+o):(s=Math.log(-t[0]),c=(s-a)/(r-o),-((Math.log(Math.abs(e))-a)/c+o))}function Zm(e){let t=this;this._clockViewModel=e,this._allShuttleRingTicks=[],this._dateFormatter=Zm.defaultDateFormatter,this._timeFormatter=Zm.defaultTimeFormatter,this.shuttleRingDragging=!1,this.snapToTicks=!1,Se.track(this,["_allShuttleRingTicks","_dateFormatter","_timeFormatter","shuttleRingDragging","snapToTicks"]),this._sortedFilteredPositiveTicks=[],this.setShuttleRingTicks(Zm.defaultTicks),this.timeLabel=void 0,Se.defineProperty(this,"timeLabel",function(){return t._timeFormatter(t._clockViewModel.currentTime,t)}),this.dateLabel=void 0,Se.defineProperty(this,"dateLabel",function(){return t._dateFormatter(t._clockViewModel.currentTime,t)}),this.multiplierLabel=void 0,Se.defineProperty(this,"multiplierLabel",function(){let s=t._clockViewModel;if(s.clockStep===mo.SYSTEM_CLOCK)return"Today";let a=s.multiplier;return a%1===0?`${a.toFixed(0)}x`:`${a.toFixed(3).replace(/0{0,3}$/,"")}x`}),this.shuttleRingAngle=void 0,Se.defineProperty(this,"shuttleRingAngle",{get:function(){return pEt(e.multiplier,t._allShuttleRingTicks,e)},set:function(s){s=Math.max(Math.min(s,xR),-xR);let a=t._allShuttleRingTicks,c=t._clockViewModel;if(c.clockStep=mo.SYSTEM_CLOCK_MULTIPLIER,Math.abs(s)===xR){c.multiplier=s>0?a[a.length-1]:a[0];return}let d=fEt(s,a);if(t.snapToTicks)d=a[v$(d,a)];else if(d!==0){let u=Math.abs(d);if(u>100){let h=u.toFixed(0).length-2,p=Math.pow(10,h);d=Math.round(d/p)*p|0}else u>ux?d=Math.round(d):u>1?d=+d.toFixed(1):u>0&&(d=+d.toFixed(2))}c.multiplier=d}}),this._canAnimate=void 0,Se.defineProperty(this,"_canAnimate",function(){let s=t._clockViewModel,a=s.clockRange;if(t.shuttleRingDragging||a===Hr.UNBOUNDED)return!0;let c=s.multiplier,d=s.currentTime,u=s.startTime,h=!1;if(a===Hr.LOOP_STOP)h=j.greaterThan(d,u)||d.equals(u)&&c>0;else{let p=s.stopTime;h=j.greaterThan(d,u)&&j.lessThan(d,p)||d.equals(u)&&c>0||d.equals(p)&&c<0}return h||(s.shouldAnimate=!1),h}),this._isSystemTimeAvailable=void 0,Se.defineProperty(this,"_isSystemTimeAvailable",function(){let s=t._clockViewModel;if(s.clockRange===Hr.UNBOUNDED)return!0;let c=s.systemTime;return j.greaterThanOrEquals(c,s.startTime)&&j.lessThanOrEquals(c,s.stopTime)}),this._isAnimating=void 0,Se.defineProperty(this,"_isAnimating",function(){return t._clockViewModel.shouldAnimate&&(t._canAnimate||t.shuttleRingDragging)});let n=yn(function(){let s=t._clockViewModel;s.shouldAnimate?s.shouldAnimate=!1:t._canAnimate&&(s.shouldAnimate=!0)});this._pauseViewModel=new lx(n,{toggled:Se.computed(function(){return!t._isAnimating}),tooltip:"Pause"});let i=yn(function(){let s=t._clockViewModel,a=s.multiplier;a>0&&(s.multiplier=-a),s.shouldAnimate=!0});this._playReverseViewModel=new lx(i,{toggled:Se.computed(function(){return t._isAnimating&&e.multiplier<0}),tooltip:"Play Reverse"});let o=yn(function(){let s=t._clockViewModel,a=s.multiplier;a<0&&(s.multiplier=-a),s.shouldAnimate=!0});this._playForwardViewModel=new lx(o,{toggled:Se.computed(function(){return t._isAnimating&&e.multiplier>0&&e.clockStep!==mo.SYSTEM_CLOCK}),tooltip:"Play Forward"});let r=yn(function(){t._clockViewModel.clockStep=mo.SYSTEM_CLOCK},Se.getObservable(this,"_isSystemTimeAvailable"));this._playRealtimeViewModel=new lx(r,{toggled:Se.computed(function(){return e.clockStep===mo.SYSTEM_CLOCK}),tooltip:Se.computed(function(){return t._isSystemTimeAvailable?"Today (real-time)":"Current time not in range"})}),this._slower=yn(function(){let s=t._clockViewModel,a=t._allShuttleRingTicks,c=s.multiplier,d=v$(c,a)-1;d>=0&&(s.multiplier=a[d])}),this._faster=yn(function(){let s=t._clockViewModel,a=t._allShuttleRingTicks,c=s.multiplier,d=v$(c,a)+1;d<a.length&&(s.multiplier=a[d])})}Zm.defaultDateFormatter=function(e,t){let n=j.toGregorianDate(e);return`${hEt[n.month-1]} ${n.day} ${n.year}`};Zm.defaultTicks=[.001,.002,.005,.01,.02,.05,.1,.25,.5,1,2,5,10,15,30,60,120,300,600,900,1800,3600,7200,14400,21600,43200,86400,172800,345600,604800];Zm.defaultTimeFormatter=function(e,t){let n=j.toGregorianDate(e),i=Math.round(n.millisecond);return Math.abs(t._clockViewModel.multiplier)<1?`${n.hour.toString().padStart(2,"0")}:${n.minute.toString().padStart(2,"0")}:${n.second.toString().padStart(2,"0")}.${i.toString().padStart(3,"0")}`:`${n.hour.toString().padStart(2,"0")}:${n.minute.toString().padStart(2,"0")}:${n.second.toString().padStart(2,"0")} UTC`};Zm.prototype.getShuttleRingTicks=function(){return this._sortedFilteredPositiveTicks.slice(0)};Zm.prototype.setShuttleRingTicks=function(e){let t,n,i,o={},r=this._sortedFilteredPositiveTicks;for(r.length=0,t=0,n=e.length;t<n;++t)i=e[t],o.hasOwnProperty(i)||(o[i]=!0,r.push(i));r.sort(LLe);let s=[];for(n=r.length,t=n-1;t>=0;--t)i=r[t],i!==0&&s.push(-i);Array.prototype.push.apply(s,r),this._allShuttleRingTicks=s};Object.defineProperties(Zm.prototype,{slower:{get:function(){return this._slower}},faster:{get:function(){return this._faster}},clockViewModel:{get:function(){return this._clockViewModel}},pauseViewModel:{get:function(){return this._pauseViewModel}},playReverseViewModel:{get:function(){return this._playReverseViewModel}},playForwardViewModel:{get:function(){return this._playForwardViewModel}},playRealtimeViewModel:{get:function(){return this._playRealtimeViewModel}},dateFormatter:{get:function(){return this._dateFormatter},set:function(e){this._dateFormatter=e}},timeFormatter:{get:function(){return this._timeFormatter},set:function(e){this._timeFormatter=e}}});Zm._maxShuttleRingAngle=xR;Zm._realtimeShuttleRingAngle=ux;var SN=Zm;var QIo=x(_(),1);var DIo=x(_(),1);function bEt(e){let t;if(l(e)){t="Command Statistics";let n=e.commandsInFrustums;for(let i in n)if(n.hasOwnProperty(i)){let o=parseInt(i,10),r;if(o===7)r="1, 2 and 3";else{let s=[];for(let a=2;a>=0;a--){let c=Math.pow(2,a);o>=c&&(s.push(a+1),o-=c)}r=s.reverse().join(" and ")}t+=`<br>&nbsp;&nbsp;&nbsp;&nbsp;${n[i]} in frustum ${r}`}t+=`<br>Total: ${e.totalCommands}`}return t}function w$(e,t,n){let i=Math.min(n,t);return i=Math.max(i,e),i}var gEt=new ln,yEt=new m;function CN(e,t){let n=this,i=e.canvas,o=new au(i);this._eventHandler=o,this._scene=e,this._canvas=i,this._primitive=void 0,this._tile=void 0,this._modelMatrixPrimitive=void 0,this._performanceDisplay=void 0,this._performanceContainer=t;let r=this._scene.globe;r.depthTestAgainstTerrain=!0,this.frustums=!1,this.frustumPlanes=!1,this.performance=!1,this.shaderCacheText="",this.primitiveBoundingSphere=!1,this.primitiveReferenceFrame=!1,this.filterPrimitive=!1,this.tileBoundingSphere=!1,this.filterTile=!1,this.wireframe=!1,this.depthFrustum=1,this._numberOfFrustums=1,this.suspendUpdates=!1,this.tileCoordinates=!1,this.frustumStatisticText=!1,this.tileText="",this.hasPickedPrimitive=!1,this.hasPickedTile=!1,this.pickPrimitiveActive=!1,this.pickTileActive=!1,this.dropDownVisible=!0,this.generalVisible=!0,this.primitivesVisible=!1,this.terrainVisible=!1,this.depthFrustumText="",Se.track(this,["frustums","frustumPlanes","performance","shaderCacheText","primitiveBoundingSphere","primitiveReferenceFrame","filterPrimitive","tileBoundingSphere","filterTile","wireframe","depthFrustum","suspendUpdates","tileCoordinates","frustumStatisticText","tileText","hasPickedPrimitive","hasPickedTile","pickPrimitiveActive","pickTileActive","dropDownVisible","generalVisible","primitivesVisible","terrainVisible","depthFrustumText"]),this._toggleDropDown=yn(function(){n.dropDownVisible=!n.dropDownVisible}),this._toggleGeneral=yn(function(){n.generalVisible=!n.generalVisible}),this._togglePrimitives=yn(function(){n.primitivesVisible=!n.primitivesVisible}),this._toggleTerrain=yn(function(){n.terrainVisible=!n.terrainVisible}),this._frustumsSubscription=Se.getObservable(this,"frustums").subscribe(function(d){n._scene.debugShowFrustums=d,n._scene.requestRender()}),this._frustumPlanesSubscription=Se.getObservable(this,"frustumPlanes").subscribe(function(d){n._scene.debugShowFrustumPlanes=d,n._scene.requestRender()}),this._performanceSubscription=Se.getObservable(this,"performance").subscribe(function(d){d?n._performanceDisplay=new G0({container:n._performanceContainer}):n._performanceContainer.innerHTML=""}),this._showPrimitiveBoundingSphere=yn(function(){return n._primitive.debugShowBoundingVolume=n.primitiveBoundingSphere,n._scene.requestRender(),!0}),this._primitiveBoundingSphereSubscription=Se.getObservable(this,"primitiveBoundingSphere").subscribe(function(){n._showPrimitiveBoundingSphere()}),this._showPrimitiveReferenceFrame=yn(function(){if(n.primitiveReferenceFrame){let d=n._primitive.modelMatrix;n._modelMatrixPrimitive=new U9({modelMatrix:d}),n._scene.primitives.add(n._modelMatrixPrimitive)}else l(n._modelMatrixPrimitive)&&(n._scene.primitives.remove(n._modelMatrixPrimitive),n._modelMatrixPrimitive=void 0);return n._scene.requestRender(),!0}),this._primitiveReferenceFrameSubscription=Se.getObservable(this,"primitiveReferenceFrame").subscribe(function(){n._showPrimitiveReferenceFrame()}),this._doFilterPrimitive=yn(function(){return n.filterPrimitive?n._scene.debugCommandFilter=function(d){return l(n._modelMatrixPrimitive)&&d.owner===n._modelMatrixPrimitive._primitive?!0:l(n._primitive)?d.owner===n._primitive||d.owner===n._primitive._billboardCollection||d.owner.primitive===n._primitive:!1}:n._scene.debugCommandFilter=void 0,!0}),this._filterPrimitiveSubscription=Se.getObservable(this,"filterPrimitive").subscribe(function(){n._doFilterPrimitive(),n._scene.requestRender()}),this._wireframeSubscription=Se.getObservable(this,"wireframe").subscribe(function(d){r._surface.tileProvider._debug.wireframe=d,n._scene.requestRender()}),this._depthFrustumSubscription=Se.getObservable(this,"depthFrustum").subscribe(function(d){n._scene.debugShowDepthFrustum=d,n._scene.requestRender()}),this._incrementDepthFrustum=yn(function(){let d=n.depthFrustum+1;return n.depthFrustum=w$(1,n._numberOfFrustums,d),n._scene.requestRender(),!0}),this._decrementDepthFrustum=yn(function(){let d=n.depthFrustum-1;return n.depthFrustum=w$(1,n._numberOfFrustums,d),n._scene.requestRender(),!0}),this._suspendUpdatesSubscription=Se.getObservable(this,"suspendUpdates").subscribe(function(d){r._surface._debug.suspendLodUpdate=d,d||(n.filterTile=!1)});let s;this._showTileCoordinates=yn(function(){return n.tileCoordinates&&!l(s)?s=e.imageryLayers.addImageryProvider(new iN({tilingScheme:e.terrainProvider.tilingScheme})):!n.tileCoordinates&&l(s)&&(e.imageryLayers.remove(s),s=void 0),!0}),this._tileCoordinatesSubscription=Se.getObservable(this,"tileCoordinates").subscribe(function(){n._showTileCoordinates(),n._scene.requestRender()}),this._tileBoundingSphereSubscription=Se.getObservable(this,"tileBoundingSphere").subscribe(function(){n._showTileBoundingSphere(),n._scene.requestRender()}),this._showTileBoundingSphere=yn(function(){return n.tileBoundingSphere?r._surface.tileProvider._debug.boundingSphereTile=n._tile:r._surface.tileProvider._debug.boundingSphereTile=void 0,n._scene.requestRender(),!0}),this._doFilterTile=yn(function(){return n.filterTile?(n.suspendUpdates=!0,r._surface._tilesToRender=[],l(n._tile)&&n._tile.renderable&&r._surface._tilesToRender.push(n._tile)):n.suspendUpdates=!1,!0}),this._filterTileSubscription=Se.getObservable(this,"filterTile").subscribe(function(){n.doFilterTile(),n._scene.requestRender()});function a(d){let u=n._scene.pick({x:d.position.x,y:d.position.y});l(u)&&(n.primitive=l(u.collection)?u.collection:u.primitive),n._scene.requestRender(),n.pickPrimitiveActive=!1}this._pickPrimitive=yn(function(){n.pickPrimitiveActive=!n.pickPrimitiveActive}),this._pickPrimitiveActiveSubscription=Se.getObservable(this,"pickPrimitiveActive").subscribe(function(d){d?o.setInputAction(a,pn.LEFT_CLICK):o.removeInputAction(pn.LEFT_CLICK)});function c(d){let u,h=r.ellipsoid,p=n._scene.camera.getPickRay(d.position,gEt),g=r.pick(p,n._scene,yEt);if(l(g)){let f=h.cartesianToCartographic(g),y=r._surface.tileProvider._tilesToRenderByTextureCount;for(let T=0;!u&&T<y.length;++T){let S=y[T];if(l(S))for(let C=0;!u&&C<S.length;++C){let V=S[C];le.contains(V.rectangle,f)&&(u=V)}}}n.tile=u,n.pickTileActive=!1}this._pickTile=yn(function(){n.pickTileActive=!n.pickTileActive}),this._pickTileActiveSubscription=Se.getObservable(this,"pickTileActive").subscribe(function(d){d?o.setInputAction(c,pn.LEFT_CLICK):o.removeInputAction(pn.LEFT_CLICK)}),this._removePostRenderEvent=e.postRender.addEventListener(function(){n._update()})}Object.defineProperties(CN.prototype,{scene:{get:function(){return this._scene}},performanceContainer:{get:function(){return this._performanceContainer}},toggleDropDown:{get:function(){return this._toggleDropDown}},showPrimitiveBoundingSphere:{get:function(){return this._showPrimitiveBoundingSphere}},showPrimitiveReferenceFrame:{get:function(){return this._showPrimitiveReferenceFrame}},doFilterPrimitive:{get:function(){return this._doFilterPrimitive}},incrementDepthFrustum:{get:function(){return this._incrementDepthFrustum}},decrementDepthFrustum:{get:function(){return this._decrementDepthFrustum}},showTileCoordinates:{get:function(){return this._showTileCoordinates}},showTileBoundingSphere:{get:function(){return this._showTileBoundingSphere}},doFilterTile:{get:function(){return this._doFilterTile}},toggleGeneral:{get:function(){return this._toggleGeneral}},togglePrimitives:{get:function(){return this._togglePrimitives}},toggleTerrain:{get:function(){return this._toggleTerrain}},pickPrimitive:{get:function(){return this._pickPrimitive}},pickTile:{get:function(){return this._pickTile}},selectParent:{get:function(){let e=this;return yn(function(){e.tile=e.tile.parent})}},selectNW:{get:function(){let e=this;return yn(function(){e.tile=e.tile.northwestChild})}},selectNE:{get:function(){let e=this;return yn(function(){e.tile=e.tile.northeastChild})}},selectSW:{get:function(){let e=this;return yn(function(){e.tile=e.tile.southwestChild})}},selectSE:{get:function(){let e=this;return yn(function(){e.tile=e.tile.southeastChild})}},primitive:{get:function(){return this._primitive},set:function(e){let t=this._primitive;e!==t&&(this.hasPickedPrimitive=!0,l(t)&&(t.debugShowBoundingVolume=!1),this._scene.debugCommandFilter=void 0,l(this._modelMatrixPrimitive)&&(this._scene.primitives.remove(this._modelMatrixPrimitive),this._modelMatrixPrimitive=void 0),this._primitive=e,e.show=!1,setTimeout(function(){e.show=!0},50),this.showPrimitiveBoundingSphere(),this.showPrimitiveReferenceFrame(),this.doFilterPrimitive())}},tile:{get:function(){return this._tile},set:function(e){if(l(e)){this.hasPickedTile=!0;let t=this._tile;if(e!==t){this.tileText=`L: ${e.level} X: ${e.x} Y: ${e.y}`,this.tileText+=`<br>SW corner: ${e.rectangle.west}, ${e.rectangle.south}`,this.tileText+=`<br>NE corner: ${e.rectangle.east}, ${e.rectangle.north}`;let n=e.data;l(n)&&l(n.tileBoundingRegion)?this.tileText+=`<br>Min: ${n.tileBoundingRegion.minimumHeight} Max: ${n.tileBoundingRegion.maximumHeight}`:this.tileText+="<br>(Tile is not loaded)"}this._tile=e,this.showTileBoundingSphere(),this.doFilterTile()}else this.hasPickedTile=!1,this._tile=void 0}}});CN.prototype._update=function(){this.frustums&&(this.frustumStatisticText=bEt(this._scene.debugFrustumStatistics));let e=this._scene.numberOfFrustums;this._numberOfFrustums=e,this.depthFrustum=w$(1,e,this.depthFrustum),this.depthFrustumText=`${this.depthFrustum} of ${e}`,this.performance&&this._performanceDisplay.update(),this.primitiveReferenceFrame&&(this._modelMatrixPrimitive.modelMatrix=this._primitive.modelMatrix),this.shaderCacheText=`Cached shaders: ${this._scene.context.shaderCache.numberOfShaders}`};CN.prototype.isDestroyed=function(){return!1};CN.prototype.destroy=function(){return this._eventHandler.destroy(),this._removePostRenderEvent(),this._frustumsSubscription.dispose(),this._frustumPlanesSubscription.dispose(),this._performanceSubscription.dispose(),this._primitiveBoundingSphereSubscription.dispose(),this._primitiveReferenceFrameSubscription.dispose(),this._filterPrimitiveSubscription.dispose(),this._wireframeSubscription.dispose(),this._depthFrustumSubscription.dispose(),this._suspendUpdatesSubscription.dispose(),this._tileCoordinatesSubscription.dispose(),this._tileBoundingSphereSubscription.dispose(),this._filterTileSubscription.dispose(),this._pickPrimitiveActiveSubscription.dispose(),this._pickTileActiveSubscription.dispose(),he(this)};var VN=CN;function XY(e,t){e=Cn(e);let n=document.createElement("div"),i=new VN(t,n);this._viewModel=i,this._container=e;let o=document.createElement("div");this._element=o;let r=document.createElement("div");r.textContent="Cesium Inspector",r.className="cesium-cesiumInspector-button",r.setAttribute("data-bind","click: toggleDropDown"),o.appendChild(r),o.className="cesium-cesiumInspector",o.setAttribute("data-bind",'css: { "cesium-cesiumInspector-visible" : dropDownVisible, "cesium-cesiumInspector-hidden" : !dropDownVisible }'),e.appendChild(this._element);let s=document.createElement("div");s.className="cesium-cesiumInspector-dropDown",o.appendChild(s);let a=$a.createSection,c=$a.createCheckbox,d=a(s,"General","generalVisible","toggleGeneral"),u=c("Show Frustums","frustums"),h=document.createElement("div");h.className="cesium-cesiumInspector-frustumStatistics",h.setAttribute("data-bind","visible: frustums, html: frustumStatisticText"),u.appendChild(h),d.appendChild(u),d.appendChild(c("Show Frustum Planes","frustumPlanes")),d.appendChild(c("Performance Display","performance")),n.className="cesium-cesiumInspector-performanceDisplay",d.appendChild(n);let p=document.createElement("div");p.className="cesium-cesiumInspector-shaderCache",p.setAttribute("data-bind","html: shaderCacheText"),d.appendChild(p);let g=document.createElement("div");d.appendChild(g);let f=document.createElement("span");f.setAttribute("data-bind",'html: "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Frustum:"'),g.appendChild(f);let y=document.createElement("span");y.setAttribute("data-bind","text: depthFrustumText"),g.appendChild(y);let T=document.createElement("input");T.type="button",T.value="-",T.className="cesium-cesiumInspector-pickButton",T.setAttribute("data-bind","click: decrementDepthFrustum"),g.appendChild(T);let S=document.createElement("input");S.type="button",S.value="+",S.className="cesium-cesiumInspector-pickButton",S.setAttribute("data-bind","click: incrementDepthFrustum"),g.appendChild(S);let C=a(s,"Primitives","primitivesVisible","togglePrimitives"),V=document.createElement("div");V.className="cesium-cesiumInspector-pickSection",C.appendChild(V);let R=document.createElement("input");R.type="button",R.value="Pick a primitive",R.className="cesium-cesiumInspector-pickButton",R.setAttribute("data-bind",'css: {"cesium-cesiumInspector-pickButtonHighlight" : pickPrimitiveActive}, click: pickPrimitive');let E=document.createElement("div");E.className="cesium-cesiumInspector-center",E.appendChild(R),V.appendChild(E),V.appendChild(c("Show bounding sphere","primitiveBoundingSphere","hasPickedPrimitive")),V.appendChild(c("Show reference frame","primitiveReferenceFrame","hasPickedPrimitive")),this._primitiveOnly=c("Show only selected","filterPrimitive","hasPickedPrimitive"),V.appendChild(this._primitiveOnly);let I=a(s,"Terrain","terrainVisible","toggleTerrain"),W=document.createElement("div");W.className="cesium-cesiumInspector-pickSection",I.appendChild(W);let X=document.createElement("input");X.type="button",X.value="Pick a tile",X.className="cesium-cesiumInspector-pickButton",X.setAttribute("data-bind",'css: {"cesium-cesiumInspector-pickButtonHighlight" : pickTileActive}, click: pickTile'),E=document.createElement("div"),E.appendChild(X),E.className="cesium-cesiumInspector-center",W.appendChild(E);let P=document.createElement("div");W.appendChild(P);let F=document.createElement("input");F.type="button",F.value="Parent",F.className="cesium-cesiumInspector-pickButton",F.setAttribute("data-bind","click: selectParent");let b=document.createElement("input");b.type="button",b.value="NW",b.className="cesium-cesiumInspector-pickButton",b.setAttribute("data-bind","click: selectNW");let L=document.createElement("input");L.type="button",L.value="NE",L.className="cesium-cesiumInspector-pickButton",L.setAttribute("data-bind","click: selectNE");let Z=document.createElement("input");Z.type="button",Z.value="SW",Z.className="cesium-cesiumInspector-pickButton",Z.setAttribute("data-bind","click: selectSW");let G=document.createElement("input");G.type="button",G.value="SE",G.className="cesium-cesiumInspector-pickButton",G.setAttribute("data-bind","click: selectSE");let w=document.createElement("div");w.className="cesium-cesiumInspector-tileText",P.className="cesium-cesiumInspector-frustumStatistics",P.appendChild(w),P.setAttribute("data-bind","visible: hasPickedTile"),w.setAttribute("data-bind","html: tileText");let M=document.createElement("div");M.className="cesium-cesiumInspector-relativeText",M.textContent="Select relative:",P.appendChild(M);let B=document.createElement("table"),U=document.createElement("tr"),O=document.createElement("tr"),N=document.createElement("td");N.appendChild(F);let z=document.createElement("td");z.appendChild(b);let J=document.createElement("td");J.appendChild(L),U.appendChild(N),U.appendChild(z),U.appendChild(J);let ee=document.createElement("td"),H=document.createElement("td");H.appendChild(Z);let te=document.createElement("td");te.appendChild(G),O.appendChild(ee),O.appendChild(H),O.appendChild(te),B.appendChild(U),B.appendChild(O),P.appendChild(B),W.appendChild(c("Show bounding volume","tileBoundingSphere","hasPickedTile")),W.appendChild(c("Show only selected","filterTile","hasPickedTile")),I.appendChild(c("Wireframe","wireframe")),I.appendChild(c("Suspend LOD update","suspendUpdates")),I.appendChild(c("Show tile coordinates","tileCoordinates")),Se.applyBindings(i,this._element)}Object.defineProperties(XY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});XY.prototype.isDestroyed=function(){return!1};XY.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),he(this)};var LN=XY;var lAo=x(_(),1);var nAo=x(_(),1);function WY(e,t){l(t)||(t=document.body),t=Cn(t);let n=this,i=Se.observable(xr.fullscreen),o=Se.observable(xr.enabled),r=t.ownerDocument;this.isFullscreen=void 0,Se.defineProperty(this,"isFullscreen",{get:function(){return i()}}),this.isFullscreenEnabled=void 0,Se.defineProperty(this,"isFullscreenEnabled",{get:function(){return o()},set:function(s){o(s&&xr.enabled)}}),this.tooltip=void 0,Se.defineProperty(this,"tooltip",function(){return this.isFullscreenEnabled?i()?"Exit full screen":"Full screen":"Full screen unavailable"}),this._command=yn(function(){xr.fullscreen?xr.exitFullscreen():xr.requestFullscreen(n._fullscreenElement)},Se.getObservable(this,"isFullscreenEnabled")),this._fullscreenElement=Cn(e)??r.body,this._callback=function(){i(xr.fullscreen)},r.addEventListener(xr.changeEventName,this._callback)}Object.defineProperties(WY.prototype,{fullscreenElement:{get:function(){return this._fullscreenElement},set:function(e){this._fullscreenElement=e}},command:{get:function(){return this._command}}});WY.prototype.isDestroyed=function(){return!1};WY.prototype.destroy=function(){document.removeEventListener(xr.changeEventName,this._callback),he(this)};var RN=WY;var xEt="M 83.96875 17.5625 L 83.96875 17.59375 L 76.65625 24.875 L 97.09375 24.96875 L 76.09375 45.96875 L 81.9375 51.8125 L 102.78125 30.9375 L 102.875 51.15625 L 110.15625 43.875 L 110.1875 17.59375 L 83.96875 17.5625 z M 44.125 17.59375 L 17.90625 17.625 L 17.9375 43.90625 L 25.21875 51.1875 L 25.3125 30.96875 L 46.15625 51.8125 L 52 45.96875 L 31 25 L 51.4375 24.90625 L 44.125 17.59375 z M 46.0625 76.03125 L 25.1875 96.875 L 25.09375 76.65625 L 17.8125 83.9375 L 17.8125 110.21875 L 44 110.25 L 51.3125 102.9375 L 30.90625 102.84375 L 51.875 81.875 L 46.0625 76.03125 z M 82 76.15625 L 76.15625 82 L 97.15625 103 L 76.71875 103.0625 L 84.03125 110.375 L 110.25 110.34375 L 110.21875 84.0625 L 102.9375 76.8125 L 102.84375 97 L 82 76.15625 z",_Et="M 104.34375 17.5625 L 83.5 38.4375 L 83.40625 18.21875 L 76.125 25.5 L 76.09375 51.78125 L 102.3125 51.8125 L 102.3125 51.78125 L 109.625 44.5 L 89.1875 44.40625 L 110.1875 23.40625 L 104.34375 17.5625 z M 23.75 17.59375 L 17.90625 23.4375 L 38.90625 44.4375 L 18.5 44.53125 L 25.78125 51.8125 L 52 51.78125 L 51.96875 25.53125 L 44.6875 18.25 L 44.625 38.46875 L 23.75 17.59375 z M 25.6875 76.03125 L 18.375 83.3125 L 38.78125 83.40625 L 17.8125 104.40625 L 23.625 110.25 L 44.5 89.375 L 44.59375 109.59375 L 51.875 102.3125 L 51.875 76.0625 L 25.6875 76.03125 z M 102.375 76.15625 L 76.15625 76.1875 L 76.1875 102.4375 L 83.46875 109.71875 L 83.5625 89.53125 L 104.40625 110.375 L 110.25 104.53125 L 89.25 83.53125 L 109.6875 83.46875 L 102.375 76.15625 z";function PY(e,t){e=Cn(e);let n=new RN(t,e);n._exitFullScreenPath=_Et,n._enterFullScreenPath=xEt;let i=document.createElement("button");i.type="button",i.className="cesium-button cesium-fullscreenButton",i.setAttribute("data-bind","attr: { title: tooltip },click: command,enable: isFullscreenEnabled,cesiumSvgPath: { path: isFullscreen ? _exitFullScreenPath : _enterFullScreenPath, width: 128, height: 128 }"),e.appendChild(i),Se.applyBindings(n,i),this._container=e,this._viewModel=n,this._element=i}Object.defineProperties(PY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});PY.prototype.isDestroyed=function(){return!1};PY.prototype.destroy=function(){return this._viewModel.destroy(),Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var ZN=PY;var SAo=x(_(),1);var pAo=x(_(),1);var RLe=1e3;function Em(e){l(e.geocoderServices)?this._geocoderServices=e.geocoderServices:this._geocoderServices=[new MS({scene:e.scene})],this._viewContainer=e.container,this._scene=e.scene,this._flightDuration=e.flightDuration,this._searchText="",this._isSearchInProgress=!1,this._wasGeocodeCancelled=!1,this._previousCredits=[],this._complete=new be,this._suggestions=[],this._selectedSuggestion=void 0,this._showSuggestions=!0,this._handleArrowDown=ELe,this._handleArrowUp=ZLe;let t=this;this._suggestionsVisible=Se.pureComputed(function(){let o=Se.getObservable(t,"_suggestions")().length>0,r=Se.getObservable(t,"_showSuggestions")();return o&&r}),this._searchCommand=yn(function(i){if(i=i??ix.SEARCH,t._focusTextbox=!1,l(t._selectedSuggestion))return t.activateSuggestion(t._selectedSuggestion),!1;if(t.hideSuggestions(),t.isSearchInProgress)REt(t);else return VEt(t,t._geocoderServices,i)}),this.deselectSuggestion=function(){t._selectedSuggestion=void 0},this.handleKeyDown=function(i,o){let r=o.key==="ArrowDown"||o.key==="Down"||o.keyCode===40,s=o.key==="ArrowUp"||o.key==="Up"||o.keyCode===38;return(r||s)&&o.preventDefault(),!0},this.handleKeyUp=function(i,o){let r=o.key==="ArrowDown"||o.key==="Down"||o.keyCode===40,s=o.key==="ArrowUp"||o.key==="Up"||o.keyCode===38,a=o.key==="Enter"||o.keyCode===13;return s?ZLe(t):r?ELe(t):a&&t._searchCommand(),!0},this.activateSuggestion=function(i){t.hideSuggestions(),t._searchText=i.displayName;let o=i.destination;ALe(t),t.destinationFound(t,o)},this.hideSuggestions=function(){t._showSuggestions=!1,t._selectedSuggestion=void 0},this.showSuggestions=function(){t._showSuggestions=!0},this.handleMouseover=function(i,o){i!==t._selectedSuggestion&&(t._selectedSuggestion=i)},this.keepExpanded=!1,this.autoComplete=e.autocomplete??!0,this.destinationFound=e.destinationFound??Em.flyToDestination,this._focusTextbox=!1,Se.track(this,["_searchText","_isSearchInProgress","keepExpanded","_suggestions","_selectedSuggestion","_showSuggestions","_focusTextbox"]);let n=Se.getObservable(this,"_searchText");n.extend({rateLimit:{timeout:500}}),this._suggestionSubscription=n.subscribe(function(){Em._updateSearchSuggestions(t)}),this.isSearchInProgress=void 0,Se.defineProperty(this,"isSearchInProgress",{get:function(){return this._isSearchInProgress}}),this.searchText=void 0,Se.defineProperty(this,"searchText",{get:function(){return this.isSearchInProgress?"Searching...":this._searchText},set:function(i){this._searchText=i}}),this.flightDuration=void 0,Se.defineProperty(this,"flightDuration",{get:function(){return this._flightDuration},set:function(i){this._flightDuration=i}})}Object.defineProperties(Em.prototype,{complete:{get:function(){return this._complete}},scene:{get:function(){return this._scene}},search:{get:function(){return this._searchCommand}},selectedSuggestion:{get:function(){return this._selectedSuggestion}},suggestions:{get:function(){return this._suggestions}}});Em.prototype.destroy=function(){this._suggestionSubscription.dispose()};function ZLe(e){if(e._suggestions.length===0)return;let t=e._suggestions.indexOf(e._selectedSuggestion);if(t===-1||t===0){e._selectedSuggestion=void 0;return}let n=t-1;e._selectedSuggestion=e._suggestions[n],Em._adjustSuggestionsScroll(e,n)}function ELe(e){if(e._suggestions.length===0)return;let t=e._suggestions.length,i=(e._suggestions.indexOf(e._selectedSuggestion)+1)%t;e._selectedSuggestion=e._suggestions[i],Em._adjustSuggestionsScroll(e,i)}function TEt(e,t){let n=l(t)?t.availability:void 0;return l(n)?KT(t,[e]).then(function(i){return e=i[0],e.height+=RLe,e}):(e.height+=RLe,Promise.resolve(e))}function SEt(e,t){let n=e._scene,i=n.ellipsoid,o=n.camera,r=n.terrainProvider,s=t,a;return t instanceof le?A.equalsEpsilon(t.south,t.north,A.EPSILON7)&&A.equalsEpsilon(t.east,t.west,A.EPSILON7)?t=le.center(t):a=JT(t,n):t=i.cartesianToCartographic(t),l(a)||(a=TEt(t,r)),a.then(function(c){s=i.cartographicToCartesian(c)}).finally(function(){o.flyTo({destination:s,complete:function(){e._complete.raiseEvent()},duration:e._flightDuration,endTransform:v.IDENTITY})})}async function CEt(e,t,n){try{return{state:"fulfilled",value:await e.geocode(t,n),credits:e.credit}}catch(i){return{state:"rejected",reason:i}}}async function VEt(e,t,n){let i=e._searchText;if(ILe(i)){e.showSuggestions();return}e._isSearchInProgress=!0,e._wasGeocodeCancelled=!1;let o,r;for(o=0;o<t.length;o++){if(e._wasGeocodeCancelled)return;if(r=await CEt(t[o],i,n),l(r)&&r.state==="fulfilled"&&r.value.length>0)break}if(e._wasGeocodeCancelled)return;e._isSearchInProgress=!1,M$(e);let s=r.value;if(r.state==="fulfilled"&&l(s)&&s.length>0){e._searchText=s[0].displayName,e.destinationFound(e,s[0].destination);let a=GLe(e,rR.getCreditsFromResult(s[0]));l(a)||F$(e,t[o].credit);return}e._searchText=`${i} (not found)`}function F$(e,t){l(t)&&!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&(e._scene.frameState.creditDisplay.addStaticCredit(t),e._previousCredits.push(t))}function GLe(e,t){return l(t)&&t.forEach(n=>F$(e,n)),t}function M$(e){!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&e._previousCredits.forEach(t=>{e._scene.frameState.creditDisplay.removeStaticCredit(t)}),e._previousCredits.length=0}function LEt(e,t){let n=Cn(e._viewContainer),i=n.getElementsByClassName("search-results")[0],r=n.getElementsByTagName("li")[t];if(t===0){i.scrollTop=0;return}let s=r.offsetTop;s+r.clientHeight>i.clientHeight?i.scrollTop=s+r.clientHeight:s<i.scrollTop&&(i.scrollTop=s)}function REt(e){e._isSearchInProgress&&(e._isSearchInProgress=!1,e._wasGeocodeCancelled=!0)}function ILe(e){return/^\s*$/.test(e)}function ALe(e){Se.getObservable(e,"_suggestions").removeAll()}async function ZEt(e){if(!e.autoComplete)return;let t=e._searchText;if(ALe(e),M$(e),!ILe(t))for(let n of e._geocoderServices){let i=await n.geocode(t,ix.AUTOCOMPLETE);if(e._suggestions=e._suggestions.concat(i),i.length>0){let o=!0;i.forEach(r=>{let s=rR.getCreditsFromResult(r);o=o&&!l(s),GLe(e,s)}),o&&F$(e,n.credit)}if(e._suggestions.length>=5)return}}Em.flyToDestination=SEt;Em._updateSearchSuggestions=ZEt;Em._adjustSuggestionsScroll=LEt;Em.prototype.isDestroyed=function(){return!1};Em.prototype.destroy=function(){return M$(this),he(this)};var EN=Em;var EEt="M29.772,26.433l-7.126-7.126c0.96-1.583,1.523-3.435,1.524-5.421C24.169,8.093,19.478,3.401,13.688,3.399C7.897,3.401,3.204,8.093,3.204,13.885c0,5.789,4.693,10.481,10.484,10.481c1.987,0,3.839-0.563,5.422-1.523l7.128,7.127L29.772,26.433zM7.203,13.885c0.006-3.582,2.903-6.478,6.484-6.486c3.579,0.008,6.478,2.904,6.484,6.486c-0.007,3.58-2.905,6.476-6.484,6.484C10.106,20.361,7.209,17.465,7.203,13.885z",GEt="M24.778,21.419 19.276,15.917 24.777,10.415 21.949,7.585 16.447,13.087 10.945,7.585 8.117,10.415 13.618,15.917 8.116,21.419 10.946,24.248 16.447,18.746 21.948,24.248z";function vY(e){let t=Cn(e.container),n=new EN(e);n._startSearchPath=EEt,n._stopSearchPath=GEt;let i=document.createElement("form");i.setAttribute("data-bind","submit: search");let o=document.createElement("input");o.type="search",o.className="cesium-geocoder-input",o.setAttribute("placeholder","Enter an address or landmark..."),o.setAttribute("data-bind",'textInput: searchText,disable: isSearchInProgress,event: { keyup: handleKeyUp, keydown: handleKeyDown, mouseover: deselectSuggestion },css: { "cesium-geocoder-input-wide" : keepExpanded || searchText.length > 0 },hasFocus: _focusTextbox'),this._onTextBoxFocus=function(){setTimeout(function(){o.select()},0)},o.addEventListener("focus",this._onTextBoxFocus,!1),i.appendChild(o),this._textBox=o;let r=document.createElement("span");r.className="cesium-geocoder-searchButton",r.setAttribute("data-bind","click: search,cesiumSvgPath: { path: isSearchInProgress ? _stopSearchPath : _startSearchPath, width: 32, height: 32 }"),i.appendChild(r),t.appendChild(i);let s=document.createElement("div");s.className="search-results",s.setAttribute("data-bind","visible: _suggestionsVisible");let a=document.createElement("ul");a.setAttribute("data-bind","foreach: _suggestions");let c=document.createElement("li");a.appendChild(c),c.setAttribute("data-bind","text: $data.displayName, click: $parent.activateSuggestion, event: { mouseover: $parent.handleMouseover}, css: { active: $data === $parent._selectedSuggestion }"),s.appendChild(a),t.appendChild(s),Se.applyBindings(n,i),Se.applyBindings(n,s),this._container=t,this._searchSuggestionsContainer=s,this._viewModel=n,this._form=i,this._onInputBegin=function(d){let u=d.target;typeof d.composedPath=="function"&&(u=d.composedPath()[0]),t.contains(u)||(n._focusTextbox=!1,n.hideSuggestions())},this._onInputEnd=function(d){n._focusTextbox=!0,n.showSuggestions()},Mt.supportsPointerEvents()?(document.addEventListener("pointerdown",this._onInputBegin,!0),t.addEventListener("pointerup",this._onInputEnd,!0),t.addEventListener("pointercancel",this._onInputEnd,!0)):(document.addEventListener("mousedown",this._onInputBegin,!0),t.addEventListener("mouseup",this._onInputEnd,!0),document.addEventListener("touchstart",this._onInputBegin,!0),t.addEventListener("touchend",this._onInputEnd,!0),t.addEventListener("touchcancel",this._onInputEnd,!0))}Object.defineProperties(vY.prototype,{container:{get:function(){return this._container}},searchSuggestionsContainer:{get:function(){return this._searchSuggestionsContainer}},viewModel:{get:function(){return this._viewModel}}});vY.prototype.isDestroyed=function(){return!1};vY.prototype.destroy=function(){let e=this._container;return Mt.supportsPointerEvents()?(document.removeEventListener("pointerdown",this._onInputBegin,!0),e.removeEventListener("pointerup",this._onInputEnd,!0)):(document.removeEventListener("mousedown",this._onInputBegin,!0),e.removeEventListener("mouseup",this._onInputEnd,!0),document.removeEventListener("touchstart",this._onInputBegin,!0),e.removeEventListener("touchend",this._onInputEnd,!0)),this._viewModel.destroy(),Se.cleanNode(this._form),Se.cleanNode(this._searchSuggestionsContainer),e.removeChild(this._form),e.removeChild(this._searchSuggestionsContainer),this._textBox.removeEventListener("focus",this._onTextBoxFocus,!1),he(this)};var GN=vY;var WAo=x(_(),1);var RAo=x(_(),1);function XLe(e,t){this._scene=e,this._duration=t;let n=this;this._command=yn(function(){n._scene.camera.flyHome(n._duration)}),this.tooltip="View Home",Se.track(this,["tooltip"])}Object.defineProperties(XLe.prototype,{scene:{get:function(){return this._scene}},command:{get:function(){return this._command}},duration:{get:function(){return this._duration},set:function(e){this._duration=e}}});var IN=XLe;function wY(e,t,n){e=Cn(e);let i=new IN(t,n);i._svgPath="M14,4l-10,8.75h20l-4.25-3.7188v-4.6562h-2.812v2.1875l-2.938-2.5625zm-7.0938,9.906v10.094h14.094v-10.094h-14.094zm2.1876,2.313h3.3122v4.25h-3.3122v-4.25zm5.8442,1.281h3.406v6.438h-3.406v-6.438z";let o=document.createElement("button");o.type="button",o.className="cesium-button cesium-toolbar-button cesium-home-button",o.setAttribute("data-bind","attr: { title: tooltip },click: command,cesiumSvgPath: { path: _svgPath, width: 28, height: 28 }"),e.appendChild(o),Se.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties(wY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});wY.prototype.isDestroyed=function(){return!1};wY.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var AN=wY;var BAo=x(_(),1);var FAo=x(_(),1);function IEt(e,t){t.currentTarget.parentElement.parentElement.querySelector(`#${e.name}-expander`).classList.toggle("active"),t.currentTarget.textContent=t.currentTarget.textContent==="+"?"-":"+"}function PLe(e,t){Se.track(e);for(let n=0;n<e.sublayers.length;n++)PLe(e.sublayers[n],t)}function FY(e){return e.modelName==="FullModel"}function vLe(e){return e.modelName==="Overview"}function wLe(e){return vLe(e)||FY(e)}function WLe(e,t){if(wLe(e)){e.visibility=!1;for(let i=0;i<e.sublayers.length;i++)e.sublayers[i].visibility=!0;let n={name:e.name,modelName:e.modelName,disable:Se.observable(!1),index:t.sublayers.length};return t.topLayers.push(n),t.sublayers.push(e),n}}function AEt(e,t){if(wLe(e)){t.sublayers.forEach(i=>i.visibility=!1),t.sublayers[e.index].visibility=!0;let n=document.getElementById("bsl-wrapper");FY(e)?(t.currentLevel=t.selectedLevel,n.style.display="block"):(t.selectedLevel=t.currentLevel,t.currentLevel="All",n.style.display="none")}}async function XEt(e,t){try{let n=e.getAttributeNames();for(let i=0;i<n.length;i++)if(n[i]==="BldgLevel"){let o=e.getAttributeValues(n[i]);for(let r=0;r<o.length;r++)t.push(o[r])}t.sort((i,o)=>i-o),t.unshift("All")}catch(n){console.log(`There was an error getting attributes: ${n}`)}}function WEt(e){let t=this;this.levels=[],this.viewModel={sublayers:[],levels:this.levels,currentLevel:Se.observable(),selectedLevel:"All",topLayers:[{name:"Select a layer to explore...",disable:Se.observable(!0),index:-1}],currentLayer:Se.observable(),expandClickHandler:IEt,setOptionDisable:function(i,o){Se.applyBindingsToNode(i,{disable:o.disable},o)},defaultLayer:void 0},this.viewModel.currentLayer.subscribe(function(i){AEt(i,t.viewModel)});let n=e.sublayers;for(let i=0;i<n.length;i++){PLe(n[i],this.viewModel);let o=WLe(n[i],this.viewModel);l(o)&&(vLe(o)||!l(this.viewModel.defaultLayer)&&FY(o))&&(this.viewModel.defaultLayer=o)}if(this.viewModel.topLayers.length===1&&n.length>0){e.show=!1;let i={name:"Full Model",modelName:"FullModel",visibility:e.show,sublayers:e.sublayers};this.viewModel.defaultLayer=WLe(i,this.viewModel),this.viewModel.currentLayer.subscribe(function(o){e.show=FY(o)})}else this.viewModel.topLayers.length===1&&(this.viewModel.topLayers[0].name="Building layers not found");return XEt(e,this.levels),this.viewModel.currentLevel.subscribe(function(i){i!=="All"?e.filterByAttributes([{name:"BldgLevel",values:[i]}]):e.filterByAttributes()}),this.viewModel}var XN=WEt;function PEt(e,t){let n=document.getElementById(e),i=document.createElement("div");i.classList.add("cesium-viewer-i3s-explorer"),i.innerHTML=`
16031
+ &copy; <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>`})}})),e.push(new ms({name:"Sentinel-2",iconUrl:jt("Widgets/Images/ImageryProviders/sentinel-2.png"),tooltip:"Sentinel-2 cloudless by EOX IT Services GmbH (Contains modified Copernicus Sentinel data 2016 and 2017).",category:"Cesium ion",creationFunction:function(){return V0.fromAssetId(3954)}})),e.push(new ms({name:"Blue Marble",iconUrl:jt("Widgets/Images/ImageryProviders/blueMarble.png"),tooltip:"Blue Marble Next Generation July, 2004 imagery from NASA.",category:"Cesium ion",creationFunction:function(){return V0.fromAssetId(3845)}})),e.push(new ms({name:"Earth at night",iconUrl:jt("Widgets/Images/ImageryProviders/earthAtNight.png"),tooltip:"The Earth at night, also known as The Black Marble, is a 500 meter resolution global composite imagery layer released by NASA.",category:"Cesium ion",creationFunction:function(){return V0.fromAssetId(3812)}})),e.push(new ms({name:"Natural Earth\xA0II",iconUrl:jt("Widgets/Images/ImageryProviders/naturalEarthII.png"),tooltip:`Natural Earth II, darkened for contrast.
16032
+ http://www.naturalearthdata.com/`,category:"Cesium ion",creationFunction:function(){return Uy.fromUrl(jt("Assets/Textures/NaturalEarthII"))}})),e}var VN=gEt;var QIo=x(_(),1);function yEt(){let e=[];return e.push(new ms({name:"WGS84 Ellipsoid",iconUrl:jt("Widgets/Images/TerrainProviders/Ellipsoid.png"),tooltip:"WGS84 standard ellipsoid, also known as EPSG:4326",category:"Cesium ion",creationFunction:function(){return new mp({ellipsoid:ne.WGS84})}})),e.push(new ms({name:"Cesium World Terrain",iconUrl:jt("Widgets/Images/TerrainProviders/CesiumWorldTerrain.png"),tooltip:"High-resolution global terrain tileset curated from several datasources and hosted by Cesium ion",category:"Cesium ion",creationFunction:function(){return US({requestWaterMask:!0,requestVertexNormals:!0})}})),e}var LN=yEt;var lAo=x(_(),1);var nAo=x(_(),1);function WY(e,t){l(t)||(t=document.body),t=Cn(t);let n=this,i=Se.observable(xr.fullscreen),o=Se.observable(xr.enabled),r=t.ownerDocument;this.isFullscreen=void 0,Se.defineProperty(this,"isFullscreen",{get:function(){return i()}}),this.isFullscreenEnabled=void 0,Se.defineProperty(this,"isFullscreenEnabled",{get:function(){return o()},set:function(s){o(s&&xr.enabled)}}),this.tooltip=void 0,Se.defineProperty(this,"tooltip",function(){return this.isFullscreenEnabled?i()?"Exit full screen":"Full screen":"Full screen unavailable"}),this._command=yn(function(){xr.fullscreen?xr.exitFullscreen():xr.requestFullscreen(n._fullscreenElement)},Se.getObservable(this,"isFullscreenEnabled")),this._fullscreenElement=Cn(e)??r.body,this._callback=function(){i(xr.fullscreen)},r.addEventListener(xr.changeEventName,this._callback)}Object.defineProperties(WY.prototype,{fullscreenElement:{get:function(){return this._fullscreenElement},set:function(e){this._fullscreenElement=e}},command:{get:function(){return this._command}}});WY.prototype.isDestroyed=function(){return!1};WY.prototype.destroy=function(){document.removeEventListener(xr.changeEventName,this._callback),he(this)};var RN=WY;var xEt="M 83.96875 17.5625 L 83.96875 17.59375 L 76.65625 24.875 L 97.09375 24.96875 L 76.09375 45.96875 L 81.9375 51.8125 L 102.78125 30.9375 L 102.875 51.15625 L 110.15625 43.875 L 110.1875 17.59375 L 83.96875 17.5625 z M 44.125 17.59375 L 17.90625 17.625 L 17.9375 43.90625 L 25.21875 51.1875 L 25.3125 30.96875 L 46.15625 51.8125 L 52 45.96875 L 31 25 L 51.4375 24.90625 L 44.125 17.59375 z M 46.0625 76.03125 L 25.1875 96.875 L 25.09375 76.65625 L 17.8125 83.9375 L 17.8125 110.21875 L 44 110.25 L 51.3125 102.9375 L 30.90625 102.84375 L 51.875 81.875 L 46.0625 76.03125 z M 82 76.15625 L 76.15625 82 L 97.15625 103 L 76.71875 103.0625 L 84.03125 110.375 L 110.25 110.34375 L 110.21875 84.0625 L 102.9375 76.8125 L 102.84375 97 L 82 76.15625 z",_Et="M 104.34375 17.5625 L 83.5 38.4375 L 83.40625 18.21875 L 76.125 25.5 L 76.09375 51.78125 L 102.3125 51.8125 L 102.3125 51.78125 L 109.625 44.5 L 89.1875 44.40625 L 110.1875 23.40625 L 104.34375 17.5625 z M 23.75 17.59375 L 17.90625 23.4375 L 38.90625 44.4375 L 18.5 44.53125 L 25.78125 51.8125 L 52 51.78125 L 51.96875 25.53125 L 44.6875 18.25 L 44.625 38.46875 L 23.75 17.59375 z M 25.6875 76.03125 L 18.375 83.3125 L 38.78125 83.40625 L 17.8125 104.40625 L 23.625 110.25 L 44.5 89.375 L 44.59375 109.59375 L 51.875 102.3125 L 51.875 76.0625 L 25.6875 76.03125 z M 102.375 76.15625 L 76.15625 76.1875 L 76.1875 102.4375 L 83.46875 109.71875 L 83.5625 89.53125 L 104.40625 110.375 L 110.25 104.53125 L 89.25 83.53125 L 109.6875 83.46875 L 102.375 76.15625 z";function PY(e,t){e=Cn(e);let n=new RN(t,e);n._exitFullScreenPath=_Et,n._enterFullScreenPath=xEt;let i=document.createElement("button");i.type="button",i.className="cesium-button cesium-fullscreenButton",i.setAttribute("data-bind","attr: { title: tooltip },click: command,enable: isFullscreenEnabled,cesiumSvgPath: { path: isFullscreen ? _exitFullScreenPath : _enterFullScreenPath, width: 128, height: 128 }"),e.appendChild(i),Se.applyBindings(n,i),this._container=e,this._viewModel=n,this._element=i}Object.defineProperties(PY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});PY.prototype.isDestroyed=function(){return!1};PY.prototype.destroy=function(){return this._viewModel.destroy(),Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var ZN=PY;var _Ao=x(_(),1);var hAo=x(_(),1);function RLe(e,t){this._scene=e,this._duration=t;let n=this;this._command=yn(function(){n._scene.camera.flyHome(n._duration)}),this.tooltip="View Home",Se.track(this,["tooltip"])}Object.defineProperties(RLe.prototype,{scene:{get:function(){return this._scene}},command:{get:function(){return this._command}},duration:{get:function(){return this._duration},set:function(e){this._duration=e}}});var EN=RLe;function vY(e,t,n){e=Cn(e);let i=new EN(t,n);i._svgPath="M14,4l-10,8.75h20l-4.25-3.7188v-4.6562h-2.812v2.1875l-2.938-2.5625zm-7.0938,9.906v10.094h14.094v-10.094h-14.094zm2.1876,2.313h3.3122v4.25h-3.3122v-4.25zm5.8442,1.281h3.406v6.438h-3.406v-6.438z";let o=document.createElement("button");o.type="button",o.className="cesium-button cesium-toolbar-button cesium-home-button",o.setAttribute("data-bind","attr: { title: tooltip },click: command,cesiumSvgPath: { path: _svgPath, width: 28, height: 28 }"),e.appendChild(o),Se.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties(vY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});vY.prototype.isDestroyed=function(){return!1};vY.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var GN=vY;var WAo=x(_(),1);var RAo=x(_(),1);var ZLe=1e3;function Em(e){l(e.geocoderServices)?this._geocoderServices=e.geocoderServices:this._geocoderServices=[new MS({scene:e.scene})],this._viewContainer=e.container,this._scene=e.scene,this._flightDuration=e.flightDuration,this._searchText="",this._isSearchInProgress=!1,this._wasGeocodeCancelled=!1,this._previousCredits=[],this._complete=new be,this._suggestions=[],this._selectedSuggestion=void 0,this._showSuggestions=!0,this._handleArrowDown=GLe,this._handleArrowUp=ELe;let t=this;this._suggestionsVisible=Se.pureComputed(function(){let o=Se.getObservable(t,"_suggestions")().length>0,r=Se.getObservable(t,"_showSuggestions")();return o&&r}),this._searchCommand=yn(function(i){if(i=i??ix.SEARCH,t._focusTextbox=!1,l(t._selectedSuggestion))return t.activateSuggestion(t._selectedSuggestion),!1;if(t.hideSuggestions(),t.isSearchInProgress)REt(t);else return VEt(t,t._geocoderServices,i)}),this.deselectSuggestion=function(){t._selectedSuggestion=void 0},this.handleKeyDown=function(i,o){let r=o.key==="ArrowDown"||o.key==="Down"||o.keyCode===40,s=o.key==="ArrowUp"||o.key==="Up"||o.keyCode===38;return(r||s)&&o.preventDefault(),!0},this.handleKeyUp=function(i,o){let r=o.key==="ArrowDown"||o.key==="Down"||o.keyCode===40,s=o.key==="ArrowUp"||o.key==="Up"||o.keyCode===38,a=o.key==="Enter"||o.keyCode===13;return s?ELe(t):r?GLe(t):a&&t._searchCommand(),!0},this.activateSuggestion=function(i){t.hideSuggestions(),t._searchText=i.displayName;let o=i.destination;XLe(t),t.destinationFound(t,o)},this.hideSuggestions=function(){t._showSuggestions=!1,t._selectedSuggestion=void 0},this.showSuggestions=function(){t._showSuggestions=!0},this.handleMouseover=function(i,o){i!==t._selectedSuggestion&&(t._selectedSuggestion=i)},this.keepExpanded=!1,this.autoComplete=e.autocomplete??!0,this.destinationFound=e.destinationFound??Em.flyToDestination,this._focusTextbox=!1,Se.track(this,["_searchText","_isSearchInProgress","keepExpanded","_suggestions","_selectedSuggestion","_showSuggestions","_focusTextbox"]);let n=Se.getObservable(this,"_searchText");n.extend({rateLimit:{timeout:500}}),this._suggestionSubscription=n.subscribe(function(){Em._updateSearchSuggestions(t)}),this.isSearchInProgress=void 0,Se.defineProperty(this,"isSearchInProgress",{get:function(){return this._isSearchInProgress}}),this.searchText=void 0,Se.defineProperty(this,"searchText",{get:function(){return this.isSearchInProgress?"Searching...":this._searchText},set:function(i){this._searchText=i}}),this.flightDuration=void 0,Se.defineProperty(this,"flightDuration",{get:function(){return this._flightDuration},set:function(i){this._flightDuration=i}})}Object.defineProperties(Em.prototype,{complete:{get:function(){return this._complete}},scene:{get:function(){return this._scene}},search:{get:function(){return this._searchCommand}},selectedSuggestion:{get:function(){return this._selectedSuggestion}},suggestions:{get:function(){return this._suggestions}}});Em.prototype.destroy=function(){this._suggestionSubscription.dispose()};function ELe(e){if(e._suggestions.length===0)return;let t=e._suggestions.indexOf(e._selectedSuggestion);if(t===-1||t===0){e._selectedSuggestion=void 0;return}let n=t-1;e._selectedSuggestion=e._suggestions[n],Em._adjustSuggestionsScroll(e,n)}function GLe(e){if(e._suggestions.length===0)return;let t=e._suggestions.length,i=(e._suggestions.indexOf(e._selectedSuggestion)+1)%t;e._selectedSuggestion=e._suggestions[i],Em._adjustSuggestionsScroll(e,i)}function TEt(e,t){let n=l(t)?t.availability:void 0;return l(n)?KT(t,[e]).then(function(i){return e=i[0],e.height+=ZLe,e}):(e.height+=ZLe,Promise.resolve(e))}function SEt(e,t){let n=e._scene,i=n.ellipsoid,o=n.camera,r=n.terrainProvider,s=t,a;return t instanceof le?A.equalsEpsilon(t.south,t.north,A.EPSILON7)&&A.equalsEpsilon(t.east,t.west,A.EPSILON7)?t=le.center(t):a=JT(t,n):t=i.cartesianToCartographic(t),l(a)||(a=TEt(t,r)),a.then(function(c){s=i.cartographicToCartesian(c)}).finally(function(){o.flyTo({destination:s,complete:function(){e._complete.raiseEvent()},duration:e._flightDuration,endTransform:v.IDENTITY})})}async function CEt(e,t,n){try{return{state:"fulfilled",value:await e.geocode(t,n),credits:e.credit}}catch(i){return{state:"rejected",reason:i}}}async function VEt(e,t,n){let i=e._searchText;if(ALe(i)){e.showSuggestions();return}e._isSearchInProgress=!0,e._wasGeocodeCancelled=!1;let o,r;for(o=0;o<t.length;o++){if(e._wasGeocodeCancelled)return;if(r=await CEt(t[o],i,n),l(r)&&r.state==="fulfilled"&&r.value.length>0)break}if(e._wasGeocodeCancelled)return;e._isSearchInProgress=!1,M$(e);let s=r.value;if(r.state==="fulfilled"&&l(s)&&s.length>0){e._searchText=s[0].displayName,e.destinationFound(e,s[0].destination);let a=ILe(e,rR.getCreditsFromResult(s[0]));l(a)||F$(e,t[o].credit);return}e._searchText=`${i} (not found)`}function F$(e,t){l(t)&&!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&(e._scene.frameState.creditDisplay.addStaticCredit(t),e._previousCredits.push(t))}function ILe(e,t){return l(t)&&t.forEach(n=>F$(e,n)),t}function M$(e){!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&e._previousCredits.forEach(t=>{e._scene.frameState.creditDisplay.removeStaticCredit(t)}),e._previousCredits.length=0}function LEt(e,t){let n=Cn(e._viewContainer),i=n.getElementsByClassName("search-results")[0],r=n.getElementsByTagName("li")[t];if(t===0){i.scrollTop=0;return}let s=r.offsetTop;s+r.clientHeight>i.clientHeight?i.scrollTop=s+r.clientHeight:s<i.scrollTop&&(i.scrollTop=s)}function REt(e){e._isSearchInProgress&&(e._isSearchInProgress=!1,e._wasGeocodeCancelled=!0)}function ALe(e){return/^\s*$/.test(e)}function XLe(e){Se.getObservable(e,"_suggestions").removeAll()}async function ZEt(e){if(!e.autoComplete)return;let t=e._searchText;if(XLe(e),M$(e),!ALe(t))for(let n of e._geocoderServices){let i=await n.geocode(t,ix.AUTOCOMPLETE);if(e._suggestions=e._suggestions.concat(i),i.length>0){let o=!0;i.forEach(r=>{let s=rR.getCreditsFromResult(r);o=o&&!l(s),ILe(e,s)}),o&&F$(e,n.credit)}if(e._suggestions.length>=5)return}}Em.flyToDestination=SEt;Em._updateSearchSuggestions=ZEt;Em._adjustSuggestionsScroll=LEt;Em.prototype.isDestroyed=function(){return!1};Em.prototype.destroy=function(){return M$(this),he(this)};var IN=Em;var EEt="M29.772,26.433l-7.126-7.126c0.96-1.583,1.523-3.435,1.524-5.421C24.169,8.093,19.478,3.401,13.688,3.399C7.897,3.401,3.204,8.093,3.204,13.885c0,5.789,4.693,10.481,10.484,10.481c1.987,0,3.839-0.563,5.422-1.523l7.128,7.127L29.772,26.433zM7.203,13.885c0.006-3.582,2.903-6.478,6.484-6.486c3.579,0.008,6.478,2.904,6.484,6.486c-0.007,3.58-2.905,6.476-6.484,6.484C10.106,20.361,7.209,17.465,7.203,13.885z",GEt="M24.778,21.419 19.276,15.917 24.777,10.415 21.949,7.585 16.447,13.087 10.945,7.585 8.117,10.415 13.618,15.917 8.116,21.419 10.946,24.248 16.447,18.746 21.948,24.248z";function wY(e){let t=Cn(e.container),n=new IN(e);n._startSearchPath=EEt,n._stopSearchPath=GEt;let i=document.createElement("form");i.setAttribute("data-bind","submit: search");let o=document.createElement("input");o.type="search",o.className="cesium-geocoder-input",o.setAttribute("placeholder","Enter an address or landmark..."),o.setAttribute("data-bind",'textInput: searchText,disable: isSearchInProgress,event: { keyup: handleKeyUp, keydown: handleKeyDown, mouseover: deselectSuggestion },css: { "cesium-geocoder-input-wide" : keepExpanded || searchText.length > 0 },hasFocus: _focusTextbox'),this._onTextBoxFocus=function(){setTimeout(function(){o.select()},0)},o.addEventListener("focus",this._onTextBoxFocus,!1),i.appendChild(o),this._textBox=o;let r=document.createElement("span");r.className="cesium-geocoder-searchButton",r.setAttribute("data-bind","click: search,cesiumSvgPath: { path: isSearchInProgress ? _stopSearchPath : _startSearchPath, width: 32, height: 32 }"),i.appendChild(r),t.appendChild(i);let s=document.createElement("div");s.className="search-results",s.setAttribute("data-bind","visible: _suggestionsVisible");let a=document.createElement("ul");a.setAttribute("data-bind","foreach: _suggestions");let c=document.createElement("li");a.appendChild(c),c.setAttribute("data-bind","text: $data.displayName, click: $parent.activateSuggestion, event: { mouseover: $parent.handleMouseover}, css: { active: $data === $parent._selectedSuggestion }"),s.appendChild(a),t.appendChild(s),Se.applyBindings(n,i),Se.applyBindings(n,s),this._container=t,this._searchSuggestionsContainer=s,this._viewModel=n,this._form=i,this._onInputBegin=function(d){let u=d.target;typeof d.composedPath=="function"&&(u=d.composedPath()[0]),t.contains(u)||(n._focusTextbox=!1,n.hideSuggestions())},this._onInputEnd=function(d){n._focusTextbox=!0,n.showSuggestions()},Mt.supportsPointerEvents()?(document.addEventListener("pointerdown",this._onInputBegin,!0),t.addEventListener("pointerup",this._onInputEnd,!0),t.addEventListener("pointercancel",this._onInputEnd,!0)):(document.addEventListener("mousedown",this._onInputBegin,!0),t.addEventListener("mouseup",this._onInputEnd,!0),document.addEventListener("touchstart",this._onInputBegin,!0),t.addEventListener("touchend",this._onInputEnd,!0),t.addEventListener("touchcancel",this._onInputEnd,!0))}Object.defineProperties(wY.prototype,{container:{get:function(){return this._container}},searchSuggestionsContainer:{get:function(){return this._searchSuggestionsContainer}},viewModel:{get:function(){return this._viewModel}}});wY.prototype.isDestroyed=function(){return!1};wY.prototype.destroy=function(){let e=this._container;return Mt.supportsPointerEvents()?(document.removeEventListener("pointerdown",this._onInputBegin,!0),e.removeEventListener("pointerup",this._onInputEnd,!0)):(document.removeEventListener("mousedown",this._onInputBegin,!0),e.removeEventListener("mouseup",this._onInputEnd,!0),document.removeEventListener("touchstart",this._onInputBegin,!0),e.removeEventListener("touchend",this._onInputEnd,!0)),this._viewModel.destroy(),Se.cleanNode(this._form),Se.cleanNode(this._searchSuggestionsContainer),e.removeChild(this._form),e.removeChild(this._searchSuggestionsContainer),this._textBox.removeEventListener("focus",this._onTextBoxFocus,!1),he(this)};var AN=wY;var BAo=x(_(),1);var FAo=x(_(),1);function IEt(e,t){t.currentTarget.parentElement.parentElement.querySelector(`#${e.name}-expander`).classList.toggle("active"),t.currentTarget.textContent=t.currentTarget.textContent==="+"?"-":"+"}function PLe(e,t){Se.track(e);for(let n=0;n<e.sublayers.length;n++)PLe(e.sublayers[n],t)}function FY(e){return e.modelName==="FullModel"}function vLe(e){return e.modelName==="Overview"}function wLe(e){return vLe(e)||FY(e)}function WLe(e,t){if(wLe(e)){e.visibility=!1;for(let i=0;i<e.sublayers.length;i++)e.sublayers[i].visibility=!0;let n={name:e.name,modelName:e.modelName,disable:Se.observable(!1),index:t.sublayers.length};return t.topLayers.push(n),t.sublayers.push(e),n}}function AEt(e,t){if(wLe(e)){t.sublayers.forEach(i=>i.visibility=!1),t.sublayers[e.index].visibility=!0;let n=document.getElementById("bsl-wrapper");FY(e)?(t.currentLevel=t.selectedLevel,n.style.display="block"):(t.selectedLevel=t.currentLevel,t.currentLevel="All",n.style.display="none")}}async function XEt(e,t){try{let n=e.getAttributeNames();for(let i=0;i<n.length;i++)if(n[i]==="BldgLevel"){let o=e.getAttributeValues(n[i]);for(let r=0;r<o.length;r++)t.push(o[r])}t.sort((i,o)=>i-o),t.unshift("All")}catch(n){console.log(`There was an error getting attributes: ${n}`)}}function WEt(e){let t=this;this.levels=[],this.viewModel={sublayers:[],levels:this.levels,currentLevel:Se.observable(),selectedLevel:"All",topLayers:[{name:"Select a layer to explore...",disable:Se.observable(!0),index:-1}],currentLayer:Se.observable(),expandClickHandler:IEt,setOptionDisable:function(i,o){Se.applyBindingsToNode(i,{disable:o.disable},o)},defaultLayer:void 0},this.viewModel.currentLayer.subscribe(function(i){AEt(i,t.viewModel)});let n=e.sublayers;for(let i=0;i<n.length;i++){PLe(n[i],this.viewModel);let o=WLe(n[i],this.viewModel);l(o)&&(vLe(o)||!l(this.viewModel.defaultLayer)&&FY(o))&&(this.viewModel.defaultLayer=o)}if(this.viewModel.topLayers.length===1&&n.length>0){e.show=!1;let i={name:"Full Model",modelName:"FullModel",visibility:e.show,sublayers:e.sublayers};this.viewModel.defaultLayer=WLe(i,this.viewModel),this.viewModel.currentLayer.subscribe(function(o){e.show=FY(o)})}else this.viewModel.topLayers.length===1&&(this.viewModel.topLayers[0].name="Building layers not found");return XEt(e,this.levels),this.viewModel.currentLevel.subscribe(function(i){i!=="All"?e.filterByAttributes([{name:"BldgLevel",values:[i]}]):e.filterByAttributes()}),this.viewModel}var XN=WEt;function PEt(e,t){let n=document.getElementById(e),i=document.createElement("div");i.classList.add("cesium-viewer-i3s-explorer"),i.innerHTML=`
16033
16033
  <h3>Building explorer</h3>
16034
16034
  <select
16035
16035
  data-bind="options: topLayers, optionsText: 'name', optionsAfterRender: setOptionDisable, value: currentLayer"
@@ -16071,8 +16071,8 @@ http://www.naturalearthdata.com/`,category:"Cesium ion",creationFunction:functio
16071
16071
  </li>
16072
16072
  </ul>
16073
16073
  </ul>
16074
- </div>`,n.appendChild(i);let o=new XN(t);Se.track(o),Se.applyBindings(o,n),l(o.defaultLayer)&&(o.currentLayer=o.defaultLayer)}var N$=PEt;var eXo=x(_(),1);var HAo=x(_(),1);var vEt="M 13.84375 7.03125 C 11.412798 7.03125 9.46875 8.975298 9.46875 11.40625 L 9.46875 11.59375 L 2.53125 7.21875 L 2.53125 24.0625 L 9.46875 19.6875 C 9.4853444 22.104033 11.423165 24.0625 13.84375 24.0625 L 25.875 24.0625 C 28.305952 24.0625 30.28125 22.087202 30.28125 19.65625 L 30.28125 11.40625 C 30.28125 8.975298 28.305952 7.03125 25.875 7.03125 L 13.84375 7.03125 z",wEt="M 27.34375 1.65625 L 5.28125 27.9375 L 8.09375 30.3125 L 30.15625 4.03125 L 27.34375 1.65625 z M 13.84375 7.03125 C 11.412798 7.03125 9.46875 8.975298 9.46875 11.40625 L 9.46875 11.59375 L 2.53125 7.21875 L 2.53125 24.0625 L 9.46875 19.6875 C 9.4724893 20.232036 9.5676108 20.7379 9.75 21.21875 L 21.65625 7.03125 L 13.84375 7.03125 z M 28.21875 7.71875 L 14.53125 24.0625 L 25.875 24.0625 C 28.305952 24.0625 30.28125 22.087202 30.28125 19.65625 L 30.28125 11.40625 C 30.28125 9.8371439 29.456025 8.4902779 28.21875 7.71875 z";function U$(){this._cameraClicked=new be,this._closeClicked=new be,this.maxHeight=500,this.enableCamera=!1,this.isCameraTracking=!1,this.showInfo=!1,this.titleText="",this.description="",Se.track(this,["showInfo","titleText","description","maxHeight","enableCamera","isCameraTracking"]),this._loadingIndicatorHtml='<div class="cesium-infoBox-loadingContainer"><span class="cesium-infoBox-loading"></span></div>',this.cameraIconPath=void 0,Se.defineProperty(this,"cameraIconPath",{get:function(){return!this.enableCamera||this.isCameraTracking?wEt:vEt}}),Se.defineProperty(this,"_bodyless",{get:function(){return!l(this.description)||this.description.length===0}})}U$.prototype.maxHeightOffset=function(e){return`${this.maxHeight-e}px`};Object.defineProperties(U$.prototype,{cameraClicked:{get:function(){return this._cameraClicked}},closeClicked:{get:function(){return this._closeClicked}}});var WN=U$;function MY(e){e=Cn(e);let t=document.createElement("div");t.className="cesium-infoBox",t.setAttribute("data-bind",'css: { "cesium-infoBox-visible" : showInfo, "cesium-infoBox-bodyless" : _bodyless }'),e.appendChild(t);let n=document.createElement("div");n.className="cesium-infoBox-title",n.setAttribute("data-bind","text: titleText"),t.appendChild(n);let i=document.createElement("button");i.type="button",i.className="cesium-button cesium-infoBox-camera",i.setAttribute("data-bind",'attr: { title: "Focus camera on object" },click: function () { cameraClicked.raiseEvent(this); },enable: enableCamera,cesiumSvgPath: { path: cameraIconPath, width: 32, height: 32 }'),t.appendChild(i);let o=document.createElement("button");o.type="button",o.className="cesium-infoBox-close",o.setAttribute("data-bind","click: function () { closeClicked.raiseEvent(this); }"),o.innerHTML="&times;",t.appendChild(o);let r=document.createElement("iframe");r.className="cesium-infoBox-iframe",r.setAttribute("sandbox","allow-same-origin allow-popups allow-forms"),r.setAttribute("data-bind","style : { maxHeight : maxHeightOffset(40) }"),r.setAttribute("allowfullscreen",!0),t.appendChild(r);let s=new WN;Se.applyBindings(s,t),this._container=e,this._element=t,this._frame=r,this._viewModel=s,this._descriptionSubscription=void 0;let a=this;r.addEventListener("load",function(){let c=r.contentDocument,d=c.createElement("link");d.href=jt("Widgets/InfoBox/InfoBoxDescription.css"),d.rel="stylesheet",d.type="text/css";let u=c.createElement("div");u.className="cesium-infoBox-description",c.head.appendChild(d),c.body.appendChild(u),a._descriptionSubscription=Aa(s,"description",function(h){r.style.height="5px",u.innerHTML=h;let p=null,g=u.firstElementChild;if(g!==null&&u.childNodes.length===1){let y=window.getComputedStyle(g);if(y!==null){let T=y["background-color"],S=D.fromCssColorString(T);l(S)&&S.alpha!==0&&(p=y["background-color"])}}t.style["background-color"]=p;let f=u.getBoundingClientRect().height;r.style.height=`${f}px`})}),r.setAttribute("src","about:blank")}Object.defineProperties(MY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}},frame:{get:function(){return this._frame}}});MY.prototype.isDestroyed=function(){return!1};MY.prototype.destroy=function(){let e=this._container;return Se.cleanNode(this._element),e.removeChild(this._element),l(this._descriptionSubscription)&&this._descriptionSubscription.dispose(),he(this)};var PN=MY;var uXo=x(_(),1);var oXo=x(_(),1);function FLe(){this.showInstructions=!1;let e=this;this._command=yn(function(){e.showInstructions=!e.showInstructions}),this._showClick=yn(function(){e._touch=!1}),this._showTouch=yn(function(){e._touch=!0}),this._touch=!1,this.tooltip="Navigation Instructions",Se.track(this,["tooltip","showInstructions","_touch"])}Object.defineProperties(FLe.prototype,{command:{get:function(){return this._command}},showClick:{get:function(){return this._showClick}},showTouch:{get:function(){return this._showTouch}}});var vN=FLe;function NY(e){let t=Cn(e.container),n=new vN,i=e.instructionsInitiallyVisible??!1;n.showInstructions=i,n._svgPath="M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466z M17.328,24.371h-2.707v-2.596h2.707V24.371zM17.328,19.003v0.858h-2.707v-1.057c0-3.19,3.63-3.696,3.63-5.963c0-1.034-0.924-1.826-2.134-1.826c-1.254,0-2.354,0.924-2.354,0.924l-1.541-1.915c0,0,1.519-1.584,4.137-1.584c2.487,0,4.796,1.54,4.796,4.136C21.156,16.208,17.328,16.627,17.328,19.003z";let o=document.createElement("span");o.className="cesium-navigationHelpButton-wrapper",t.appendChild(o);let r=document.createElement("button");r.type="button",r.className="cesium-button cesium-toolbar-button cesium-navigation-help-button",r.setAttribute("data-bind","attr: { title: tooltip },click: command,cesiumSvgPath: { path: _svgPath, width: 32, height: 32 }"),o.appendChild(r);let s=document.createElement("div");s.className="cesium-navigation-help",s.setAttribute("data-bind",'css: { "cesium-navigation-help-visible" : showInstructions}'),o.appendChild(s);let a=document.createElement("button");a.type="button",a.className="cesium-navigation-button cesium-navigation-button-left",a.setAttribute("data-bind",'click: showClick, css: {"cesium-navigation-button-selected": !_touch, "cesium-navigation-button-unselected": _touch}');let c=document.createElement("img");c.src=jt("Widgets/Images/NavigationHelp/Mouse.svg"),c.className="cesium-navigation-button-icon",c.style.width="25px",c.style.height="25px",a.appendChild(c),a.appendChild(document.createTextNode("Mouse"));let d=document.createElement("button");d.type="button",d.className="cesium-navigation-button cesium-navigation-button-right",d.setAttribute("data-bind",'click: showTouch, css: {"cesium-navigation-button-selected": _touch, "cesium-navigation-button-unselected": !_touch}');let u=document.createElement("img");u.src=jt("Widgets/Images/NavigationHelp/Touch.svg"),u.className="cesium-navigation-button-icon",u.style.width="25px",u.style.height="25px",d.appendChild(u),d.appendChild(document.createTextNode("Touch")),s.appendChild(a),s.appendChild(d);let h=document.createElement("div");h.className="cesium-click-navigation-help cesium-navigation-help-instructions",h.setAttribute("data-bind",'css: { "cesium-click-navigation-help-visible" : !_touch}'),h.innerHTML=` <table> <tr> <td><img src="${jt("Widgets/Images/NavigationHelp/MouseLeft.svg")}" width="48" height="48" /></td> <td> <div class="cesium-navigation-help-pan">Pan view</div> <div class="cesium-navigation-help-details">Left click + drag</div> </td> </tr> <tr> <td><img src="${jt("Widgets/Images/NavigationHelp/MouseRight.svg")}" width="48" height="48" /></td> <td> <div class="cesium-navigation-help-zoom">Zoom view</div> <div class="cesium-navigation-help-details">Right click + drag, or</div> <div class="cesium-navigation-help-details">Mouse wheel scroll</div> </td> </tr> <tr> <td><img src="${jt("Widgets/Images/NavigationHelp/MouseMiddle.svg")}" width="48" height="48" /></td> <td> <div class="cesium-navigation-help-rotate">Rotate view</div> <div class="cesium-navigation-help-details">Middle click + drag, or</div> <div class="cesium-navigation-help-details">CTRL + Left/Right click + drag</div> </td> </tr> </table>`,s.appendChild(h);let p=document.createElement("div");p.className="cesium-touch-navigation-help cesium-navigation-help-instructions",p.setAttribute("data-bind",'css: { "cesium-touch-navigation-help-visible" : _touch}'),p.innerHTML=` <table> <tr> <td><img src="${jt("Widgets/Images/NavigationHelp/TouchDrag.svg")}" width="70" height="48" /></td> <td> <div class="cesium-navigation-help-pan">Pan view</div> <div class="cesium-navigation-help-details">One finger drag</div> </td> </tr> <tr> <td><img src="${jt("Widgets/Images/NavigationHelp/TouchZoom.svg")}" width="70" height="48" /></td> <td> <div class="cesium-navigation-help-zoom">Zoom view</div> <div class="cesium-navigation-help-details">Two finger pinch</div> </td> </tr> <tr> <td><img src="${jt("Widgets/Images/NavigationHelp/TouchTilt.svg")}" width="70" height="48" /></td> <td> <div class="cesium-navigation-help-rotate">Tilt view</div> <div class="cesium-navigation-help-details">Two finger drag, same direction</div> </td> </tr> <tr> <td><img src="${jt("Widgets/Images/NavigationHelp/TouchRotate.svg")}" width="70" height="48" /></td> <td> <div class="cesium-navigation-help-tilt">Rotate view</div> <div class="cesium-navigation-help-details">Two finger drag, opposite direction</div> </td> </tr> </table>`,s.appendChild(p),Se.applyBindings(n,o),this._container=t,this._viewModel=n,this._wrapper=o,this._closeInstructions=function(g){o.contains(g.target)||(n.showInstructions=!1)},Mt.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeInstructions,!0):(document.addEventListener("mousedown",this._closeInstructions,!0),document.addEventListener("touchstart",this._closeInstructions,!0))}Object.defineProperties(NY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});NY.prototype.isDestroyed=function(){return!1};NY.prototype.destroy=function(){return Mt.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeInstructions,!0):(document.removeEventListener("mousedown",this._closeInstructions,!0),document.removeEventListener("touchstart",this._closeInstructions,!0)),Se.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),he(this)};var wN=NY;var LXo=x(_(),1);var yXo=x(_(),1);function k$(e){this._scene=e.scene,this.lowFrameRateMessage=e.lowFrameRateMessage??"This application appears to be performing poorly on your system. Please try using a different web browser or updating your video drivers.",this.lowFrameRateMessageDismissed=!1,this.showingLowFrameRateMessage=!1,Se.track(this,["lowFrameRateMessage","lowFrameRateMessageDismissed","showingLowFrameRateMessage"]);let t=this;this._dismissMessage=yn(function(){t.showingLowFrameRateMessage=!1,t.lowFrameRateMessageDismissed=!0});let n=B9.fromScene(e.scene);this._unsubscribeLowFrameRate=n.lowFrameRate.addEventListener(function(){t.lowFrameRateMessageDismissed||(t.showingLowFrameRateMessage=!0)}),this._unsubscribeNominalFrameRate=n.nominalFrameRate.addEventListener(function(){t.showingLowFrameRateMessage=!1})}Object.defineProperties(k$.prototype,{scene:{get:function(){return this._scene}},dismissMessage:{get:function(){return this._dismissMessage}}});k$.prototype.destroy=function(){return this._unsubscribeLowFrameRate(),this._unsubscribeNominalFrameRate(),he(this)};var FN=k$;function UY(e){let t=Cn(e.container),n=new FN(e),i=document.createElement("div");i.className="cesium-performance-watchdog-message-area",i.setAttribute("data-bind","visible: showingLowFrameRateMessage");let o=document.createElement("button");o.setAttribute("type","button"),o.className="cesium-performance-watchdog-message-dismiss",o.innerHTML="&times;",o.setAttribute("data-bind","click: dismissMessage"),i.appendChild(o);let r=document.createElement("div");r.className="cesium-performance-watchdog-message",r.setAttribute("data-bind","html: lowFrameRateMessage"),i.appendChild(r),t.appendChild(i),Se.applyBindings(n,i),this._container=t,this._viewModel=n,this._element=i}Object.defineProperties(UY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});UY.prototype.isDestroyed=function(){return!1};UY.prototype.destroy=function(){return this._viewModel.destroy(),Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var MN=UY;var MXo=x(_(),1);var AXo=x(_(),1);function kY(e){this._scene=e,this._orthographic=e.camera.frustum instanceof tn,this._flightInProgress=!1,this.dropDownVisible=!1,this.tooltipPerspective="Perspective Projection",this.tooltipOrthographic="Orthographic Projection",this.selectedTooltip=void 0,this.sceneMode=e.mode,Se.track(this,["_orthographic","_flightInProgress","sceneMode","dropDownVisible","tooltipPerspective","tooltipOrthographic"]);let t=this;Se.defineProperty(this,"selectedTooltip",function(){return t._orthographic?t.tooltipOrthographic:t.tooltipPerspective}),this._toggleDropDown=yn(function(){t.sceneMode===re.SCENE2D||t._flightInProgress||(t.dropDownVisible=!t.dropDownVisible)}),this._eventHelper=new mr,this._eventHelper.add(e.morphComplete,function(n,i,o,r){t.sceneMode=o,t._orthographic=o===re.SCENE2D||t._scene.camera.frustum instanceof tn}),this._eventHelper.add(e.preRender,function(){t._flightInProgress=l(e.camera._currentFlight)}),this._switchToPerspective=yn(function(){t.sceneMode!==re.SCENE2D&&(t._scene.camera.switchToPerspectiveFrustum(),t._orthographic=!1,t.dropDownVisible=!1)}),this._switchToOrthographic=yn(function(){t.sceneMode!==re.SCENE2D&&(t._scene.camera.switchToOrthographicFrustum(),t._orthographic=!0,t.dropDownVisible=!1)}),this._sceneMode=re}Object.defineProperties(kY.prototype,{scene:{get:function(){return this._scene}},toggleDropDown:{get:function(){return this._toggleDropDown}},switchToPerspective:{get:function(){return this._switchToPerspective}},switchToOrthographic:{get:function(){return this._switchToOrthographic}},isOrthographicProjection:{get:function(){return this._orthographic}}});kY.prototype.isDestroyed=function(){return!1};kY.prototype.destroy=function(){this._eventHelper.removeAll(),he(this)};var NN=kY;var FEt="M 28.15625,10.4375 9.125,13.21875 13.75,43.25 41.75,55.09375 50.8125,37 54.5,11.9375 z m 0.125,3 19.976451,0.394265 L 43.03125,16.875 22.6875,14.28125 z M 50.971746,15.705477 47.90625,36.03125 42.53125,46 44.84375,19.3125 z M 12.625,16.03125 l 29.15625,3.6875 -2.65625,31 L 16.4375,41.125 z",MEt="m 31.560594,6.5254438 -20.75,12.4687502 0.1875,24.5625 22.28125,11.8125 19.5,-12 0.65625,-0.375 0,-0.75 0.0312,-23.21875 z m 0.0625,3.125 16.65625,9.5000002 -16.125,10.28125 -17.34375,-9.71875 z m 18.96875,11.1875002 0.15625,20.65625 -17.46875,10.59375 0.15625,-20.28125 z m -37.0625,1.25 17.21875,9.625 -0.15625,19.21875 -16.9375,-9 z";function DY(e,t){e=Cn(e);let n=new NN(t);n._perspectivePath=FEt,n._orthographicPath=MEt;let i=document.createElement("span");i.className="cesium-projectionPicker-wrapper cesium-toolbar-button",e.appendChild(i);let o=document.createElement("button");o.type="button",o.className="cesium-button cesium-toolbar-button",o.setAttribute("data-bind",'css: { "cesium-projectionPicker-buttonPerspective": !_orthographic, "cesium-projectionPicker-buttonOrthographic": _orthographic, "cesium-button-disabled" : sceneMode === _sceneMode.SCENE2D || _flightInProgress, "cesium-projectionPicker-selected": dropDownVisible },attr: { title: selectedTooltip },click: toggleDropDown'),o.innerHTML='<!-- ko cesiumSvgPath: { path: _perspectivePath, width: 64, height: 64, css: "cesium-projectionPicker-iconPerspective" } --><!-- /ko --><!-- ko cesiumSvgPath: { path: _orthographicPath, width: 64, height: 64, css: "cesium-projectionPicker-iconOrthographic" } --><!-- /ko -->',i.appendChild(o);let r=document.createElement("button");r.type="button",r.className="cesium-button cesium-toolbar-button cesium-projectionPicker-dropDown-icon",r.setAttribute("data-bind",'css: { "cesium-projectionPicker-visible" : (dropDownVisible && _orthographic), "cesium-projectionPicker-none" : !_orthographic, "cesium-projectionPicker-hidden" : !dropDownVisible },attr: { title: tooltipPerspective },click: switchToPerspective,cesiumSvgPath: { path: _perspectivePath, width: 64, height: 64 }'),i.appendChild(r);let s=document.createElement("button");s.type="button",s.className="cesium-button cesium-toolbar-button cesium-projectionPicker-dropDown-icon",s.setAttribute("data-bind",'css: { "cesium-projectionPicker-visible" : (dropDownVisible && !_orthographic), "cesium-projectionPicker-none" : _orthographic, "cesium-projectionPicker-hidden" : !dropDownVisible},attr: { title: tooltipOrthographic },click: switchToOrthographic,cesiumSvgPath: { path: _orthographicPath, width: 64, height: 64 }'),i.appendChild(s),Se.applyBindings(n,i),this._viewModel=n,this._container=e,this._wrapper=i,this._closeDropDown=function(a){i.contains(a.target)||(n.dropDownVisible=!1)},Mt.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(DY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});DY.prototype.isDestroyed=function(){return!1};DY.prototype.destroy=function(){return this._viewModel.destroy(),Mt.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Se.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),he(this)};var UN=DY;var qXo=x(_(),1);var YXo=x(_(),1);function BY(e,t){this._scene=e;let n=this,i=function(o,r,s,a){n.sceneMode=s,n.dropDownVisible=!1};this._eventHelper=new mr,this._eventHelper.add(e.morphStart,i),this._duration=t??2,this.sceneMode=e.mode,this.dropDownVisible=!1,this.tooltip2D="2D",this.tooltip3D="3D",this.tooltipColumbusView="Columbus View",Se.track(this,["sceneMode","dropDownVisible","tooltip2D","tooltip3D","tooltipColumbusView"]),this.selectedTooltip=void 0,Se.defineProperty(this,"selectedTooltip",function(){let o=n.sceneMode;return o===re.SCENE2D?n.tooltip2D:o===re.SCENE3D?n.tooltip3D:n.tooltipColumbusView}),this._toggleDropDown=yn(function(){n.dropDownVisible=!n.dropDownVisible}),this._morphTo2D=yn(function(){e.morphTo2D(n._duration)}),this._morphTo3D=yn(function(){e.morphTo3D(n._duration)}),this._morphToColumbusView=yn(function(){e.morphToColumbusView(n._duration)}),this._sceneMode=re}Object.defineProperties(BY.prototype,{scene:{get:function(){return this._scene}},duration:{get:function(){return this._duration},set:function(e){this._duration=e}},toggleDropDown:{get:function(){return this._toggleDropDown}},morphTo2D:{get:function(){return this._morphTo2D}},morphTo3D:{get:function(){return this._morphTo3D}},morphToColumbusView:{get:function(){return this._morphToColumbusView}}});BY.prototype.isDestroyed=function(){return!1};BY.prototype.destroy=function(){this._eventHelper.removeAll(),he(this)};var kN=BY;var NEt="m 32.401392,4.9330437 c -7.087603,0 -14.096095,2.884602 -19.10793,7.8946843 -5.0118352,5.010083 -7.9296167,11.987468 -7.9296167,19.072999 0,7.085531 2.9177815,14.097848 7.9296167,19.107931 4.837653,4.835961 11.541408,7.631372 18.374354,7.82482 0.05712,0.01231 0.454119,0.139729 0.454119,0.139729 l 0.03493,-0.104797 c 0.08246,7.84e-4 0.162033,0.03493 0.244525,0.03493 0.08304,0 0.161515,-0.03414 0.244526,-0.03493 l 0.03493,0.104797 c 0,0 0.309474,-0.129487 0.349323,-0.139729 6.867765,-0.168094 13.582903,-2.965206 18.444218,-7.82482 2.558195,-2.5573 4.551081,-5.638134 5.903547,-8.977584 1.297191,-3.202966 2.02607,-6.661489 2.02607,-10.130347 0,-6.237309 -2.366261,-12.31219 -6.322734,-17.116794 -0.0034,-0.02316 0.0049,-0.04488 0,-0.06986 -0.01733,-0.08745 -0.104529,-0.278855 -0.104797,-0.279458 -5.31e-4,-0.0012 -0.522988,-0.628147 -0.523984,-0.62878 -3.47e-4,-2.2e-4 -0.133444,-0.03532 -0.244525,-0.06987 C 51.944299,13.447603 51.751076,13.104317 51.474391,12.827728 46.462556,7.8176457 39.488996,4.9330437 32.401392,4.9330437 z m -2.130866,3.5281554 0.104797,9.6762289 c -4.111695,-0.08361 -7.109829,-0.423664 -9.257041,-0.943171 1.198093,-2.269271 2.524531,-4.124404 3.91241,-5.414496 2.167498,-2.0147811 3.950145,-2.8540169 5.239834,-3.3185619 z m 2.794579,0 c 1.280302,0.4754953 3.022186,1.3285948 5.065173,3.2486979 1.424667,1.338973 2.788862,3.303645 3.982275,5.728886 -2.29082,0.403367 -5.381258,0.621049 -8.942651,0.698645 L 33.065105,8.4611991 z m 5.728886,0.2445256 c 4.004072,1.1230822 7.793098,3.1481363 10.724195,6.0782083 0.03468,0.03466 0.07033,0.06991 0.104797,0.104797 -0.45375,0.313891 -0.923054,0.663002 -1.956205,1.082899 -0.647388,0.263114 -1.906242,0.477396 -2.829511,0.733577 -1.382296,-2.988132 -3.027146,-5.368585 -4.785716,-7.0213781 -0.422866,-0.397432 -0.835818,-0.6453247 -1.25756,-0.9781032 z m -15.33525,0.7685092 c -0.106753,0.09503 -0.207753,0.145402 -0.31439,0.244526 -1.684973,1.5662541 -3.298068,3.8232211 -4.680919,6.5672591 -0.343797,-0.14942 -1.035052,-0.273198 -1.292493,-0.419186 -0.956528,-0.542427 -1.362964,-1.022024 -1.537018,-1.292493 -0.0241,-0.03745 -0.01868,-0.0401 -0.03493,-0.06986 2.250095,-2.163342 4.948824,-3.869984 7.859752,-5.0302421 z m -9.641296,7.0912431 c 0.464973,0.571618 0.937729,1.169056 1.956205,1.746612 0.349907,0.198425 1.107143,0.335404 1.537018,0.523983 -1.20166,3.172984 -1.998037,7.051901 -2.165798,11.772162 C 14.256557,30.361384 12.934823,30.161483 12.280427,29.90959 10.644437,29.279855 9.6888882,28.674891 9.1714586,28.267775 8.6540289,27.860658 8.6474751,27.778724 8.6474751,27.778724 l -0.069864,0.03493 C 9.3100294,23.691285 11.163248,19.798527 13.817445,16.565477 z m 37.552149,0.523984 c 2.548924,3.289983 4.265057,7.202594 4.890513,11.318043 -0.650428,0.410896 -1.756876,1.001936 -3.563088,1.606882 -1.171552,0.392383 -3.163859,0.759153 -4.960377,1.117832 -0.04367,-4.752703 -0.784809,-8.591423 -1.88634,-11.807094 0.917574,-0.263678 2.170552,-0.486495 2.864443,-0.76851 1.274693,-0.518066 2.003942,-1.001558 2.654849,-1.467153 z m -31.439008,2.619917 c 2.487341,0.672766 5.775813,1.137775 10.479669,1.222628 l 0.104797,10.689263 0,0.03493 0,0.733577 c -5.435005,-0.09059 -9.512219,-0.519044 -12.610536,-1.117831 0.106127,-4.776683 0.879334,-8.55791 2.02607,-11.562569 z m 23.264866,0.31439 c 1.073459,3.067541 1.833795,6.821314 1.816476,11.702298 -3.054474,0.423245 -7.062018,0.648559 -11.702298,0.698644 l 0,-0.838373 -0.104796,-10.654331 c 4.082416,-0.0864 7.404468,-0.403886 9.990618,-0.908238 z M 8.2632205,30.922625 c 0.7558676,0.510548 1.5529563,1.013339 3.0041715,1.57195 0.937518,0.360875 2.612202,0.647642 3.91241,0.978102 0.112814,3.85566 0.703989,7.107756 1.606883,9.920754 -1.147172,-0.324262 -2.644553,-0.640648 -3.423359,-0.978102 -1.516688,-0.657177 -2.386627,-1.287332 -2.864443,-1.71168 -0.477816,-0.424347 -0.489051,-0.489051 -0.489051,-0.489051 L 9.8002387,40.319395 C 8.791691,37.621767 8.1584238,34.769583 8.1584238,31.900727 c 0,-0.330153 0.090589,-0.648169 0.1047967,-0.978102 z m 48.2763445,0.419186 c 0.0047,0.188973 0.06986,0.36991 0.06986,0.558916 0,2.938869 -0.620228,5.873558 -1.676747,8.628261 -0.07435,0.07583 -0.06552,0.07411 -0.454119,0.349323 -0.606965,0.429857 -1.631665,1.042044 -3.318562,1.676747 -1.208528,0.454713 -3.204964,0.850894 -5.135038,1.25756 0.84593,-2.765726 1.41808,-6.005357 1.606883,-9.815957 2.232369,-0.413371 4.483758,-0.840201 5.938479,-1.327425 1.410632,-0.472457 2.153108,-0.89469 2.96924,-1.327425 z m -38.530252,2.864443 c 3.208141,0.56697 7.372279,0.898588 12.575603,0.978103 l 0.174662,9.885821 c -4.392517,-0.06139 -8.106722,-0.320566 -10.863925,-0.803441 -1.051954,-2.664695 -1.692909,-6.043794 -1.88634,-10.060483 z m 26.793022,0.31439 c -0.246298,3.923551 -0.877762,7.263679 -1.816476,9.885822 -2.561957,0.361954 -5.766249,0.560708 -9.431703,0.62878 l -0.174661,-9.815957 c 4.491734,-0.04969 8.334769,-0.293032 11.42284,-0.698645 z M 12.035901,44.860585 c 0.09977,0.04523 0.105535,0.09465 0.209594,0.139729 1.337656,0.579602 3.441099,1.058072 5.589157,1.537018 1.545042,3.399208 3.548524,5.969402 5.589157,7.789888 -3.034411,-1.215537 -5.871615,-3.007978 -8.174142,-5.309699 -1.245911,-1.245475 -2.271794,-2.662961 -3.213766,-4.156936 z m 40.69605,0 c -0.941972,1.493975 -1.967855,2.911461 -3.213765,4.156936 -2.74253,2.741571 -6.244106,4.696717 -9.955686,5.868615 0.261347,-0.241079 0.507495,-0.394491 0.768509,-0.663713 1.674841,-1.727516 3.320792,-4.181056 4.645987,-7.265904 2.962447,-0.503021 5.408965,-1.122293 7.161107,-1.781544 0.284034,-0.106865 0.337297,-0.207323 0.593848,-0.31439 z m -31.404076,2.305527 c 2.645807,0.376448 5.701178,0.649995 9.466635,0.698645 l 0.139729,7.789888 c -1.38739,-0.480844 -3.316218,-1.29837 -5.659022,-3.388427 -1.388822,-1.238993 -2.743668,-3.0113 -3.947342,-5.100106 z m 20.365491,0.104797 c -1.04872,2.041937 -2.174337,3.779068 -3.353494,4.995309 -1.853177,1.911459 -3.425515,2.82679 -4.611055,3.353494 l -0.139729,-7.789887 c 3.13091,-0.05714 5.728238,-0.278725 8.104278,-0.558916 z",UEt="m 2.9825053,17.550598 0,1.368113 0,26.267766 0,1.368113 1.36811,0 54.9981397,0 1.36811,0 0,-1.368113 0,-26.267766 0,-1.368113 -1.36811,0 -54.9981397,0 -1.36811,0 z m 2.73623,2.736226 10.3292497,0 0,10.466063 -10.3292497,0 0,-10.466063 z m 13.0654697,0 11.69737,0 0,10.466063 -11.69737,0 0,-10.466063 z m 14.43359,0 11.69737,0 0,10.466063 -11.69737,0 0,-10.466063 z m 14.43359,0 10.32926,0 0,10.466063 -10.32926,0 0,-10.466063 z m -41.9326497,13.202288 10.3292497,0 0,10.329252 -10.3292497,0 0,-10.329252 z m 13.0654697,0 11.69737,0 0,10.329252 -11.69737,0 0,-10.329252 z m 14.43359,0 11.69737,0 0,10.329252 -11.69737,0 0,-10.329252 z m 14.43359,0 10.32926,0 0,10.329252 -10.32926,0 0,-10.329252 z",kEt="m 14.723969,17.675598 -0.340489,0.817175 -11.1680536,26.183638 -0.817175,1.872692 2.076986,0 54.7506996,0 2.07698,0 -0.81717,-1.872692 -11.16805,-26.183638 -0.34049,-0.817175 -0.91933,0 -32.414586,0 -0.919322,0 z m 1.838643,2.723916 6.196908,0 -2.928209,10.418977 -7.729111,0 4.460412,-10.418977 z m 9.02297,0 4.903049,0 0,10.418977 -7.831258,0 2.928209,-10.418977 z m 7.626964,0 5.584031,0 2.62176,10.418977 -8.205791,0 0,-10.418977 z m 8.410081,0 5.51593,0 4.46042,10.418977 -7.38863,0 -2.58772,-10.418977 z m -30.678091,13.142892 8.103649,0 -2.89416,10.282782 -9.6018026,0 4.3923136,-10.282782 z m 10.929711,0 8.614384,0 0,10.282782 -11.508544,0 2.89416,-10.282782 z m 11.338299,0 8.852721,0 2.58772,10.282782 -11.440441,0 0,-10.282782 z m 11.678781,0 7.86531,0 4.39231,10.282782 -9.6699,0 -2.58772,-10.282782 z";function OY(e,t,n){e=Cn(e);let i=new kN(t,n);i._globePath=NEt,i._flatMapPath=UEt,i._columbusViewPath=kEt;let o=document.createElement("span");o.className="cesium-sceneModePicker-wrapper cesium-toolbar-button",e.appendChild(o);let r=document.createElement("button");r.type="button",r.className="cesium-button cesium-toolbar-button",r.setAttribute("data-bind",'css: { "cesium-sceneModePicker-button2D": sceneMode === _sceneMode.SCENE2D, "cesium-sceneModePicker-button3D": sceneMode === _sceneMode.SCENE3D, "cesium-sceneModePicker-buttonColumbusView": sceneMode === _sceneMode.COLUMBUS_VIEW, "cesium-sceneModePicker-selected": dropDownVisible },attr: { title: selectedTooltip },click: toggleDropDown'),r.innerHTML='<!-- ko cesiumSvgPath: { path: _globePath, width: 64, height: 64, css: "cesium-sceneModePicker-slide-svg cesium-sceneModePicker-icon3D" } --><!-- /ko --><!-- ko cesiumSvgPath: { path: _flatMapPath, width: 64, height: 64, css: "cesium-sceneModePicker-slide-svg cesium-sceneModePicker-icon2D" } --><!-- /ko --><!-- ko cesiumSvgPath: { path: _columbusViewPath, width: 64, height: 64, css: "cesium-sceneModePicker-slide-svg cesium-sceneModePicker-iconColumbusView" } --><!-- /ko -->',o.appendChild(r);let s=document.createElement("button");s.type="button",s.className="cesium-button cesium-toolbar-button cesium-sceneModePicker-dropDown-icon",s.setAttribute("data-bind",'css: { "cesium-sceneModePicker-visible" : (dropDownVisible && (sceneMode !== _sceneMode.SCENE3D)) || (!dropDownVisible && (sceneMode === _sceneMode.SCENE3D)), "cesium-sceneModePicker-none" : sceneMode === _sceneMode.SCENE3D, "cesium-sceneModePicker-hidden" : !dropDownVisible },attr: { title: tooltip3D },click: morphTo3D,cesiumSvgPath: { path: _globePath, width: 64, height: 64 }'),o.appendChild(s);let a=document.createElement("button");a.type="button",a.className="cesium-button cesium-toolbar-button cesium-sceneModePicker-dropDown-icon",a.setAttribute("data-bind",'css: { "cesium-sceneModePicker-visible" : (dropDownVisible && (sceneMode !== _sceneMode.SCENE2D)), "cesium-sceneModePicker-none" : sceneMode === _sceneMode.SCENE2D, "cesium-sceneModePicker-hidden" : !dropDownVisible },attr: { title: tooltip2D },click: morphTo2D,cesiumSvgPath: { path: _flatMapPath, width: 64, height: 64 }'),o.appendChild(a);let c=document.createElement("button");c.type="button",c.className="cesium-button cesium-toolbar-button cesium-sceneModePicker-dropDown-icon",c.setAttribute("data-bind",'css: { "cesium-sceneModePicker-visible" : (dropDownVisible && (sceneMode !== _sceneMode.COLUMBUS_VIEW)) || (!dropDownVisible && (sceneMode === _sceneMode.COLUMBUS_VIEW)), "cesium-sceneModePicker-none" : sceneMode === _sceneMode.COLUMBUS_VIEW, "cesium-sceneModePicker-hidden" : !dropDownVisible},attr: { title: tooltipColumbusView },click: morphToColumbusView,cesiumSvgPath: { path: _columbusViewPath, width: 64, height: 64 }'),o.appendChild(c),Se.applyBindings(i,o),this._viewModel=i,this._container=e,this._wrapper=o,this._closeDropDown=function(d){o.contains(d.target)||(i.dropDownVisible=!1)},Mt.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(OY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});OY.prototype.isDestroyed=function(){return!1};OY.prototype.destroy=function(){return this._viewModel.destroy(),Mt.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Se.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),he(this)};var DN=OY;var dWo=x(_(),1);var iWo=x(_(),1);var DEt=new k,YY="-1000px";function BN(e,t,n){this._scene=e,this._screenPositionX=YY,this._screenPositionY=YY,this._tweens=e.tweens,this._container=n??document.body,this._selectionIndicatorElement=t,this._scale=1,this.position=void 0,this.showSelection=!1,Se.track(this,["position","_screenPositionX","_screenPositionY","_scale","showSelection"]),this.isVisible=void 0,Se.defineProperty(this,"isVisible",{get:function(){return this.showSelection&&l(this.position)}}),Se.defineProperty(this,"_transform",{get:function(){return`scale(${this._scale})`}}),this.computeScreenSpacePosition=function(i,o){return Mi.worldToWindowCoordinates(e,i,o)}}BN.prototype.update=function(){if(this.showSelection&&l(this.position)){let e=this.computeScreenSpacePosition(this.position,DEt);if(!l(e))this._screenPositionX=YY,this._screenPositionY=YY;else{let t=this._container,n=t.parentNode.clientWidth,i=t.parentNode.clientHeight,o=this._selectionIndicatorElement.clientWidth,r=o*.5;e.x=Math.min(Math.max(e.x,-o),n+o)-r,e.y=Math.min(Math.max(e.y,-o),i+o)-r,this._screenPositionX=`${Math.floor(e.x+.25)}px`,this._screenPositionY=`${Math.floor(e.y+.25)}px`}}};BN.prototype.animateAppear=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:2,stopValue:1,duration:.8,easingFunction:Qr.EXPONENTIAL_OUT})};BN.prototype.animateDepart=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:this._scale,stopValue:1.5,duration:.8,easingFunction:Qr.EXPONENTIAL_OUT})};Object.defineProperties(BN.prototype,{container:{get:function(){return this._container}},selectionIndicatorElement:{get:function(){return this._selectionIndicatorElement}},scene:{get:function(){return this._scene}}});var ON=BN;function zY(e,t){e=Cn(e),this._container=e;let n=document.createElement("div");n.className="cesium-selection-wrapper",n.setAttribute("data-bind",'style: { "top" : _screenPositionY, "left" : _screenPositionX },css: { "cesium-selection-wrapper-visible" : isVisible }'),e.appendChild(n),this._element=n;let i="http://www.w3.org/2000/svg",o="M -34 -34 L -34 -11.25 L -30 -15.25 L -30 -30 L -15.25 -30 L -11.25 -34 L -34 -34 z M 11.25 -34 L 15.25 -30 L 30 -30 L 30 -15.25 L 34 -11.25 L 34 -34 L 11.25 -34 z M -34 11.25 L -34 34 L -11.25 34 L -15.25 30 L -30 30 L -30 15.25 L -34 11.25 z M 34 11.25 L 30 15.25 L 30 30 L 15.25 30 L 11.25 34 L 34 34 L 34 11.25 z",r=document.createElementNS(i,"svg:svg");r.setAttribute("width",160),r.setAttribute("height",160),r.setAttribute("viewBox","0 0 160 160");let s=document.createElementNS(i,"g");s.setAttribute("transform","translate(80,80)"),r.appendChild(s);let a=document.createElementNS(i,"path");a.setAttribute("data-bind","attr: { transform: _transform }"),a.setAttribute("d",o),s.appendChild(a),n.appendChild(r);let c=new ON(t,this._element,this._container);this._viewModel=c,Se.applyBindings(this._viewModel,this._element)}Object.defineProperties(zY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});zY.prototype.isDestroyed=function(){return!1};zY.prototype.destroy=function(){let e=this._container;return Se.cleanNode(this._element),e.removeChild(this._element),he(this)};var YN=zY;var SWo=x(_(),1);var hWo=x(_(),1);function jS(e,t,n){this._color=e,this._height=t,this._base=n??0}jS.prototype.getHeight=function(){return this._height};jS.prototype.getBase=function(){return this._base};jS.prototype.getStartTime=function(){return this._start};jS.prototype.getStopTime=function(){return this._stop};jS.prototype.setRange=function(e,t){this._start=e,this._stop=t};jS.prototype.render=function(e){let t="";if(this._start&&this._stop&&this._color){let n=j.secondsDifference(this._start,e.epochJulian),i=Math.round(e.timeBarWidth*e.getAlpha(n)),o=j.secondsDifference(this._stop,e.epochJulian),r=Math.round(e.timeBarWidth*e.getAlpha(o))-i;i<0&&(r+=i,i=0),i+r>e.timeBarWidth&&(r=e.timeBarWidth-i),r>0&&(t=`<span class="cesium-timeline-highlight" style="left: ${i.toString()}px; width: ${r.toString()}px; bottom: ${this._base.toString()}px; height: ${this._height}px; background-color: ${this._color};"></span>`)}return t};var zN=jS;var bWo=x(_(),1);function MLe(e,t,n,i){this.interval=e,this.height=t,this.color=n||new D(.5,.5,.5,1),this.backgroundColor=i||new D(0,0,0,0)}MLe.prototype.render=function(e,t){let n=this.interval.start,i=this.interval.stop,o=t.startJulian,r=j.addSeconds(t.startJulian,t.duration,new j);if(j.lessThan(n,o)&&j.greaterThan(i,r))e.fillStyle=this.color.toCssColorString(),e.fillRect(0,t.y,t.timeBarWidth,this.height);else if(j.lessThanOrEquals(n,r)&&j.greaterThanOrEquals(i,o)){let s,a,c;for(s=0;s<t.timeBarWidth;++s){let d=j.addSeconds(t.startJulian,s/t.timeBarWidth*t.duration,new j);!l(a)&&j.greaterThanOrEquals(d,n)?a=s:!l(c)&&j.greaterThanOrEquals(d,i)&&(c=s)}e.fillStyle=this.backgroundColor.toCssColorString(),e.fillRect(0,t.y,t.timeBarWidth,this.height),l(a)&&(l(c)||(c=t.timeBarWidth),e.fillStyle=this.color.toCssColorString(),e.fillRect(a,t.y,Math.max(c-a,1),this.height))}};var HN=MLe;var D$=1e12,Gm={none:0,scrub:1,slide:2,zoom:3,touchOnly:4},Sl={none:0,scrub:1,slideZoom:2,singleTap:3,ignore:4},mx=[.001,.002,.005,.01,.02,.05,.1,.25,.5,1,2,5,10,15,30,60,120,300,600,900,1800,3600,7200,14400,21600,43200,86400,172800,345600,604800,1296e3,2592e3,5184e3,7776e3,15552e3,31536e3,63072e3,126144e3,15768e4,31536e4,63072e4,126144e4,15768e5,31536e5,63072e5,126144e5,15768e6,31536e6],BEt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Cl(e,t){e=Cn(e);let n=e.ownerDocument;this.container=e;let i=n.createElement("div");i.className="cesium-timeline-main",e.appendChild(i),this._topDiv=i,this._endJulian=void 0,this._epochJulian=void 0,this._lastXPos=void 0,this._scrubElement=void 0,this._startJulian=void 0,this._timeBarSecondsSpan=void 0,this._clock=t,this._scrubJulian=t.currentTime,this._mainTicSpan=-1,this._mouseMode=Gm.none,this._touchMode=Sl.none,this._touchState={centerX:0,spanX:0},this._mouseX=0,this._timelineDrag=0,this._timelineDragLocation=void 0,this._lastHeight=void 0,this._lastWidth=void 0,this._topDiv.innerHTML='<div class="cesium-timeline-bar"></div><div class="cesium-timeline-trackContainer"><canvas class="cesium-timeline-tracks" width="10" height="1"></canvas></div><div class="cesium-timeline-needle"></div><span class="cesium-timeline-ruler"></span>',this._timeBarEle=this._topDiv.childNodes[0],this._trackContainer=this._topDiv.childNodes[1],this._trackListEle=this._topDiv.childNodes[1].childNodes[0],this._needleEle=this._topDiv.childNodes[2],this._rulerEle=this._topDiv.childNodes[3],this._context=this._trackListEle.getContext("2d"),this._trackList=[],this._highlightRanges=[],this.zoomTo(t.startTime,t.stopTime),this._onMouseDown=OEt(this),this._onMouseUp=YEt(this),this._onMouseMove=zEt(this),this._onMouseWheel=HEt(this),this._onTouchStart=KEt(this),this._onTouchMove=QEt(this),this._onTouchEnd=JEt(this);let o=this._timeBarEle;n.addEventListener("mouseup",this._onMouseUp,!1),n.addEventListener("mousemove",this._onMouseMove,!1),o.addEventListener("mousedown",this._onMouseDown,!1),o.addEventListener("DOMMouseScroll",this._onMouseWheel,!1),o.addEventListener("mousewheel",this._onMouseWheel,!1),o.addEventListener("touchstart",this._onTouchStart,!1),o.addEventListener("touchmove",this._onTouchMove,!1),o.addEventListener("touchend",this._onTouchEnd,!1),o.addEventListener("touchcancel",this._onTouchEnd,!1),this._topDiv.oncontextmenu=function(){return!1},t.onTick.addEventListener(this.updateFromClock,this),this.updateFromClock()}Cl.prototype.addEventListener=function(e,t,n){this._topDiv.addEventListener(e,t,n)};Cl.prototype.removeEventListener=function(e,t,n){this._topDiv.removeEventListener(e,t,n)};Cl.prototype.isDestroyed=function(){return!1};Cl.prototype.destroy=function(){this._clock.onTick.removeEventListener(this.updateFromClock,this);let e=this.container.ownerDocument;e.removeEventListener("mouseup",this._onMouseUp,!1),e.removeEventListener("mousemove",this._onMouseMove,!1);let t=this._timeBarEle;t.removeEventListener("mousedown",this._onMouseDown,!1),t.removeEventListener("DOMMouseScroll",this._onMouseWheel,!1),t.removeEventListener("mousewheel",this._onMouseWheel,!1),t.removeEventListener("touchstart",this._onTouchStart,!1),t.removeEventListener("touchmove",this._onTouchMove,!1),t.removeEventListener("touchend",this._onTouchEnd,!1),t.removeEventListener("touchcancel",this._onTouchEnd,!1),this.container.removeChild(this._topDiv),he(this)};Cl.prototype.addHighlightRange=function(e,t,n){let i=new zN(e,t,n);return this._highlightRanges.push(i),this.resize(),i};Cl.prototype.addTrack=function(e,t,n,i){let o=new HN(e,t,n,i);return this._trackList.push(o),this._lastHeight=void 0,this.resize(),o};Cl.prototype.zoomTo=function(e,t){if(this._startJulian=e,this._endJulian=t,this._timeBarSecondsSpan=j.secondsDifference(t,e),this._clock&&this._clock.clockRange!==Hr.UNBOUNDED){let i=this._clock.startTime,o=this._clock.stopTime,r=j.secondsDifference(o,i),s=j.secondsDifference(i,this._startJulian),a=j.secondsDifference(o,this._endJulian);this._timeBarSecondsSpan>=r?(this._timeBarSecondsSpan=r,this._startJulian=this._clock.startTime,this._endJulian=this._clock.stopTime):s>0?(this._endJulian=j.addSeconds(this._endJulian,s,new j),this._startJulian=i,this._timeBarSecondsSpan=j.secondsDifference(this._endJulian,this._startJulian)):a<0&&(this._startJulian=j.addSeconds(this._startJulian,a,new j),this._endJulian=o,this._timeBarSecondsSpan=j.secondsDifference(this._endJulian,this._startJulian))}this._makeTics();let n=document.createEvent("Event");n.initEvent("setzoom",!0,!0),n.startJulian=this._startJulian,n.endJulian=this._endJulian,n.epochJulian=this._epochJulian,n.totalSpan=this._timeBarSecondsSpan,n.mainTicSpan=this._mainTicSpan,this._topDiv.dispatchEvent(n)};Cl.prototype.zoomFrom=function(e){let t=j.secondsDifference(this._scrubJulian,this._startJulian);e>1||t<0||t>this._timeBarSecondsSpan?t=this._timeBarSecondsSpan*.5:t+=t-this._timeBarSecondsSpan*.5;let n=this._timeBarSecondsSpan-t;this.zoomTo(j.addSeconds(this._startJulian,t-t*e,new j),j.addSeconds(this._endJulian,n*e-n,new j))};function B$(e){return e<10?`0${e.toString()}`:e.toString()}Cl.prototype.makeLabel=function(e){let t=j.toGregorianDate(e),n=t.millisecond,i=" UTC";if(n>0&&this._timeBarSecondsSpan<3600){for(i=Math.floor(n).toString();i.length<3;)i=`0${i}`;i=`.${i}`}return`${BEt[t.month-1]} ${t.day} ${t.year} ${B$(t.hour)}:${B$(t.minute)}:${B$(t.second)}${i}`};Cl.prototype.smallestTicInPixels=7;Cl.prototype._makeTics=function(){let e=this._timeBarEle,t=j.secondsDifference(this._scrubJulian,this._startJulian),n=Math.round(t*this._topDiv.clientWidth/this._timeBarSecondsSpan),i=n-8,o,r=this;this._needleEle.style.left=`${n.toString()}px`;let s="",a=.01,c=31536e6,d=1e-10,u=0,h=this._timeBarSecondsSpan;h<a?(h=a,this._timeBarSecondsSpan=a,this._endJulian=j.addSeconds(this._startJulian,a,new j)):h>c&&(h=c,this._timeBarSecondsSpan=c,this._endJulian=j.addSeconds(this._startJulian,c,new j));let p=this._timeBarEle.clientWidth;p<10&&(p=10);let g=this._startJulian,f=Math.min(h/p*1e-5,.4),y,T=j.toGregorianDate(g);h>31536e4?y=j.fromDate(new Date(Date.UTC(Math.floor(T.year/100)*100,0))):h>31536e3?y=j.fromDate(new Date(Date.UTC(Math.floor(T.year/10)*10,0))):h>86400?y=j.fromDate(new Date(Date.UTC(T.year,0))):y=j.fromDate(new Date(Date.UTC(T.year,T.month,T.day)));let S=j.secondsDifference(this._startJulian,j.addSeconds(y,f,new j)),C=S+h;this._epochJulian=y;function V(N){return Math.floor(S/N)*N}function R(N,z){return Math.ceil(N/z+.5)*z}function E(N){return(N-S)/h}function I(N,z){return N-z*Math.round(N/z)}this._rulerEle.innerHTML=this.makeLabel(j.addSeconds(this._endJulian,-a,new j));let W=this._rulerEle.offsetWidth+20;W<30&&(W=180);let X=u;u-=d;let P={startTime:S,startJulian:g,epochJulian:y,duration:h,timeBarWidth:p,getAlpha:E};this._highlightRanges.forEach(function(N){s+=N.render(P)});let F=0,b=0,L=0,Z=W/p;Z>1&&(Z=1),Z*=this._timeBarSecondsSpan;let G=-1,w=-1,M=mx.length,B;for(B=0;B<M;++B){let N=mx[B];if(++G,F=N,N>Z&&N>u)break;w<0&&p*(N/this._timeBarSecondsSpan)>=this.smallestTicInPixels&&(w=G)}if(G>0){for(;G>0;)if(--G,Math.abs(I(F,mx[G]))<1e-5){mx[G]>=u&&(b=mx[G]);break}if(w>=0)for(;w<G;){if(Math.abs(I(b,mx[w]))<1e-5&&mx[w]>=u){L=mx[w];break}++w}}u=X,u>d&&L<1e-5&&Math.abs(u-F)>d&&(L=u,u<=F+d&&(b=0));let U=-999999,O;if(p*(L/this._timeBarSecondsSpan)>=3)for(o=V(L);o<=C;o=R(o,L))s+=`<span class="cesium-timeline-ticTiny" style="left: ${Math.round(p*E(o)).toString()}px;"></span>`;if(p*(b/this._timeBarSecondsSpan)>=3)for(o=V(b);o<=C;o=R(o,b))s+=`<span class="cesium-timeline-ticSub" style="left: ${Math.round(p*E(o)).toString()}px;"></span>`;if(p*(F/this._timeBarSecondsSpan)>=2){this._mainTicSpan=F,C+=F,o=V(F);let N=j.computeTaiMinusUtc(y);for(;o<=C;){let z=j.addSeconds(g,o-S,new j);if(F>2.1){let te=j.computeTaiMinusUtc(z);Math.abs(te-N)>.1&&(o+=te-N,z=j.addSeconds(g,o-S,new j))}let J=Math.round(p*E(o)),ee=this.makeLabel(z);this._rulerEle.innerHTML=ee,O=this._rulerEle.offsetWidth,O<10&&(O=W);let H=J-(O/2-1);H>U?(U=H+O+5,s+=`<span class="cesium-timeline-ticMain" style="left: ${J.toString()}px;"></span><span class="cesium-timeline-ticLabel" style="left: ${H.toString()}px;">${ee}</span>`):s+=`<span class="cesium-timeline-ticSub" style="left: ${J.toString()}px;"></span>`,o=R(o,F)}}else this._mainTicSpan=-1;s+=`<span class="cesium-timeline-icon16" style="left:${i}px;bottom:0;background-position: 0 0;"></span>`,e.innerHTML=s,this._scrubElement=e.lastChild,this._context.clearRect(0,0,this._trackListEle.width,this._trackListEle.height),P.y=0,this._trackList.forEach(function(N){N.render(r._context,P),P.y+=N.height})};Cl.prototype.updateFromClock=function(){this._scrubJulian=this._clock.currentTime;let e=this._scrubElement;if(l(this._scrubElement)){let t=j.secondsDifference(this._scrubJulian,this._startJulian),n=Math.round(t*this._topDiv.clientWidth/this._timeBarSecondsSpan);this._lastXPos!==n&&(this._lastXPos=n,e.style.left=`${n-8}px`,this._needleEle.style.left=`${n}px`)}l(this._timelineDragLocation)&&(this._setTimeBarTime(this._timelineDragLocation,this._timelineDragLocation*this._timeBarSecondsSpan/this._topDiv.clientWidth),this.zoomTo(j.addSeconds(this._startJulian,this._timelineDrag,new j),j.addSeconds(this._endJulian,this._timelineDrag,new j)))};Cl.prototype._setTimeBarTime=function(e,t){if(e=Math.round(e),this._scrubJulian=j.addSeconds(this._startJulian,t,new j),this._scrubElement){let i=e-8;this._scrubElement.style.left=`${i.toString()}px`,this._needleEle.style.left=`${e.toString()}px`}let n=document.createEvent("Event");n.initEvent("settime",!0,!0),n.clientX=e,n.timeSeconds=t,n.timeJulian=this._scrubJulian,n.clock=this._clock,this._topDiv.dispatchEvent(n)};function OEt(e){return function(t){e._mouseMode!==Gm.touchOnly&&(t.button===0?(e._mouseMode=Gm.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition="-16px 0"),e._onMouseMove(t)):(e._mouseX=t.clientX,t.button===2?e._mouseMode=Gm.zoom:e._mouseMode=Gm.slide)),t.preventDefault()}}function YEt(e){return function(t){e._mouseMode=Gm.none,e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0"),e._timelineDrag=0,e._timelineDragLocation=void 0}}function zEt(e){return function(t){let n;if(e._mouseMode===Gm.scrub){t.preventDefault();let i=t.clientX-e._topDiv.getBoundingClientRect().left;i<0?(e._timelineDragLocation=0,e._timelineDrag=-.01*e._timeBarSecondsSpan):i>e._topDiv.clientWidth?(e._timelineDragLocation=e._topDiv.clientWidth,e._timelineDrag=.01*e._timeBarSecondsSpan):(e._timelineDragLocation=void 0,e._setTimeBarTime(i,i*e._timeBarSecondsSpan/e._topDiv.clientWidth))}else if(e._mouseMode===Gm.slide){if(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0){let i=n*e._timeBarSecondsSpan/e._topDiv.clientWidth;e.zoomTo(j.addSeconds(e._startJulian,i,new j),j.addSeconds(e._endJulian,i,new j))}}else e._mouseMode===Gm.zoom&&(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0&&e.zoomFrom(Math.pow(1.01,n)))}}function HEt(e){return function(t){let n=t.wheelDeltaY||t.wheelDelta||-t.detail;D$=Math.max(Math.min(Math.abs(n),D$),1),n/=D$,e.zoomFrom(Math.pow(1.05,-n))}}function KEt(e){return function(t){let n=t.touches.length,i,o,r=e._topDiv.getBoundingClientRect().left;t.preventDefault(),e._mouseMode=Gm.touchOnly,n===1?(i=j.secondsDifference(e._scrubJulian,e._startJulian),o=Math.round(i*e._topDiv.clientWidth/e._timeBarSecondsSpan+r),Math.abs(t.touches[0].clientX-o)<50?(e._touchMode=Sl.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition=n===1?"-16px 0":"0 0")):(e._touchMode=Sl.singleTap,e._touchState.centerX=t.touches[0].clientX-r)):n===2?(e._touchMode=Sl.slideZoom,e._touchState.centerX=(t.touches[0].clientX+t.touches[1].clientX)*.5-r,e._touchState.spanX=Math.abs(t.touches[0].clientX-t.touches[1].clientX)):e._touchMode=Sl.ignore}}function JEt(e){return function(t){let n=t.touches.length,i=e._topDiv.getBoundingClientRect().left;e._touchMode===Sl.singleTap?(e._touchMode=Sl.scrub,e._onTouchMove(t)):e._touchMode===Sl.scrub&&e._onTouchMove(t),e._mouseMode=Gm.touchOnly,n!==1?e._touchMode=n>0?Sl.ignore:Sl.none:e._touchMode===Sl.slideZoom&&(e._touchState.centerX=t.touches[0].clientX-i),e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0")}}function QEt(e){return function(t){let n,i,o,r,s,a,c=1,d=e._topDiv.getBoundingClientRect().left;e._touchMode===Sl.singleTap&&(e._touchMode=Sl.slideZoom),e._mouseMode=Gm.touchOnly,e._touchMode===Sl.scrub?(t.preventDefault(),t.changedTouches.length===1&&(i=t.changedTouches[0].clientX-d,i>=0&&i<=e._topDiv.clientWidth&&e._setTimeBarTime(i,i*e._timeBarSecondsSpan/e._topDiv.clientWidth))):e._touchMode===Sl.slideZoom&&(o=t.touches.length,o===2?(r=(t.touches[0].clientX+t.touches[1].clientX)*.5-d,s=Math.abs(t.touches[0].clientX-t.touches[1].clientX)):o===1&&(r=t.touches[0].clientX-d,s=0),l(r)&&(s>0&&e._touchState.spanX>0?(c=e._touchState.spanX/s,a=j.addSeconds(e._startJulian,(e._touchState.centerX*e._timeBarSecondsSpan-r*e._timeBarSecondsSpan*c)/e._topDiv.clientWidth,new j)):(n=e._touchState.centerX-r,a=j.addSeconds(e._startJulian,n*e._timeBarSecondsSpan/e._topDiv.clientWidth,new j)),e.zoomTo(a,j.addSeconds(a,e._timeBarSecondsSpan*c,new j)),e._touchState.centerX=r,e._touchState.spanX=s))}}Cl.prototype.resize=function(){let e=this.container.clientWidth,t=this.container.clientHeight;if(e===this._lastWidth&&t===this._lastHeight)return;this._trackContainer.style.height=`${t}px`;let n=1;this._trackList.forEach(function(i){n+=i.height}),this._trackListEle.style.height=`${n.toString()}px`,this._trackListEle.width=this._trackListEle.clientWidth,this._trackListEle.height=n,this._makeTics(),this._lastXPos=void 0,this._lastWidth=e,this._lastHeight=t};var KN=Cl;var NWo=x(_(),1);var XWo=x(_(),1);var BLe=x(DLe(),1);function $Et(e){let t=!1,n=window.screen;return l(n)&&(l(n.lockOrientation)?t=n.lockOrientation(e):l(n.mozLockOrientation)?t=n.mozLockOrientation(e):l(n.msLockOrientation)?t=n.msLockOrientation(e):l(n.orientation&&n.orientation.lock)&&(t=n.orientation.lock(e))),t}function OLe(){let e=window.screen;l(e)&&(l(e.unlockOrientation)?e.unlockOrientation():l(e.mozUnlockOrientation)?e.mozUnlockOrientation():l(e.msUnlockOrientation)?e.msUnlockOrientation():l(e.orientation&&e.orientation.unlock)&&e.orientation.unlock())}function eGt(e,t,n,i){i()||(n()?(t.useWebVR=!1,e._locked&&(OLe(),e._locked=!1),e._noSleep.disable(),xr.exitFullscreen(),n(!1)):(xr.fullscreen||xr.requestFullscreen(e._vrElement),e._noSleep.enable(),e._locked||(e._locked=$Et("landscape")),t.useWebVR=!0,n(!0)))}function HY(e,t){let n=this,i=Se.observable(xr.enabled),o=Se.observable(!1);this.isVRMode=void 0,Se.defineProperty(this,"isVRMode",{get:function(){return o()}}),this.isVREnabled=void 0,Se.defineProperty(this,"isVREnabled",{get:function(){return i()},set:function(s){i(s&&xr.enabled)}}),this.tooltip=void 0,Se.defineProperty(this,"tooltip",function(){return i()?o()?"Exit VR mode":"Enter VR mode":"VR mode is unavailable"});let r=Se.observable(!1);this._isOrthographic=void 0,Se.defineProperty(this,"_isOrthographic",{get:function(){return r()}}),this._eventHelper=new mr,this._eventHelper.add(e.preRender,function(){r(e.camera.frustum instanceof tn)}),this._locked=!1,this._noSleep=new BLe.default,this._command=yn(function(){eGt(n,e,o,r)},Se.getObservable(this,"isVREnabled")),this._vrElement=Cn(t)??document.body,this._callback=function(){!xr.fullscreen&&o()&&(e.useWebVR=!1,n._locked&&(OLe(),n._locked=!1),n._noSleep.disable(),o(!1))},document.addEventListener(xr.changeEventName,this._callback)}Object.defineProperties(HY.prototype,{vrElement:{get:function(){return this._vrElement},set:function(e){this._vrElement=e}},command:{get:function(){return this._command}}});HY.prototype.isDestroyed=function(){return!1};HY.prototype.destroy=function(){this._eventHelper.removeAll(),document.removeEventListener(xr.changeEventName,this._callback),he(this)};var JN=HY;var tGt="M 5.3125 6.375 C 4.008126 6.375 2.96875 7.4141499 2.96875 8.71875 L 2.96875 19.5 C 2.96875 20.8043 4.008126 21.875 5.3125 21.875 L 13.65625 21.875 C 13.71832 20.0547 14.845166 18.59375 16.21875 18.59375 C 17.592088 18.59375 18.71881 20.0552 18.78125 21.875 L 27.09375 21.875 C 28.398125 21.875 29.4375 20.8043 29.4375 19.5 L 29.4375 8.71875 C 29.4375 7.4141499 28.398125 6.375 27.09375 6.375 L 5.3125 6.375 z M 9.625 10.4375 C 11.55989 10.4375 13.125 12.03385 13.125 13.96875 C 13.125 15.90365 11.55989 17.46875 9.625 17.46875 C 7.69011 17.46875 6.125 15.90365 6.125 13.96875 C 6.125 12.03385 7.69011 10.4375 9.625 10.4375 z M 22.46875 10.4375 C 24.40364 10.4375 25.96875 12.03385 25.96875 13.96875 C 25.96875 15.90365 24.40364 17.46875 22.46875 17.46875 C 20.53386 17.46875 18.96875 15.90365 18.96875 13.96875 C 18.96875 12.03385 20.53386 10.4375 22.46875 10.4375 z",nGt="M 25.770585,2.4552065 C 15.72282,13.962707 10.699956,19.704407 8.1768352,22.580207 c -1.261561,1.4379 -1.902282,2.1427 -2.21875,2.5 -0.141624,0.1599 -0.208984,0.2355 -0.25,0.2813 l 0.6875,0.75 c 10e-5,-10e-5 0.679191,0.727 0.6875,0.7187 0.01662,-0.016 0.02451,-0.024 0.03125,-0.031 0.01348,-0.014 0.04013,-0.038 0.0625,-0.062 0.04474,-0.05 0.120921,-0.1315 0.28125,-0.3126 0.320657,-0.3619 0.956139,-1.0921 2.2187499,-2.5312 2.5252219,-2.8781 7.5454589,-8.6169 17.5937499,-20.1250005 l -1.5,-1.3125 z m -20.5624998,3.9063 c -1.304375,0 -2.34375,1.0391 -2.34375,2.3437 l 0,10.8125005 c 0,1.3043 1.039375,2.375 2.34375,2.375 l 2.25,0 c 1.9518039,-2.2246 7.4710958,-8.5584 13.5624998,-15.5312005 l -15.8124998,0 z m 21.1249998,0 c -1.855467,2.1245 -2.114296,2.4005 -3.59375,4.0936995 1.767282,0.1815 3.15625,1.685301 3.15625,3.500001 0,1.9349 -1.56511,3.5 -3.5,3.5 -1.658043,0 -3.043426,-1.1411 -3.40625,-2.6875 -1.089617,1.2461 -2.647139,2.9988 -3.46875,3.9375 0.191501,-0.062 0.388502,-0.094 0.59375,-0.094 1.373338,0 2.50006,1.4614 2.5625,3.2812 l 8.3125,0 c 1.304375,0 2.34375,-1.0707 2.34375,-2.375 l 0,-10.8125005 c 0,-1.3046 -1.039375,-2.3437 -2.34375,-2.3437 l -0.65625,0 z M 9.5518351,10.423906 c 1.9348899,0 3.4999999,1.596401 3.4999999,3.531301 0,1.9349 -1.56511,3.5 -3.4999999,3.5 -1.9348899,0 -3.4999999,-1.5651 -3.4999999,-3.5 0,-1.9349 1.56511,-3.531301 3.4999999,-3.531301 z m 4.2187499,10.312601 c -0.206517,0.2356 -0.844218,0.9428 -1.03125,1.1562 l 0.8125,0 c 0.01392,-0.4081 0.107026,-0.7968 0.21875,-1.1562 z";function KY(e,t,n){e=Cn(e);let i=new JN(t,n);i._exitVRPath=nGt,i._enterVRPath=tGt;let o=document.createElement("button");o.type="button",o.className="cesium-button cesium-vrButton",o.setAttribute("data-bind",'css: { "cesium-button-disabled" : _isOrthographic }, attr: { title: tooltip },click: command,enable: isVREnabled,cesiumSvgPath: { path: isVRMode ? _exitVRPath : _enterVRPath, width: 32, height: 32 }'),e.appendChild(o),Se.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties(KY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});KY.prototype.isDestroyed=function(){return!1};KY.prototype.destroy=function(){return this._viewModel.destroy(),Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var QN=KY;var sPo=x(_(),1);var YLe=new de;function KLe(e){let t=e.clock;t.currentTime=e.timeJulian,t.shouldAnimate=!1}function iGt(e){let t=e.getPropertyIds(),n="";return t.forEach(function(i){let o=e.getProperty(i);l(o)&&(n+=`<tr><th>${i}</th><td>${o}</td></tr>`)}),n.length>0&&(n=`<table class="cesium-infoBox-defaultTable"><tbody>${n}</tbody></table>`),n}function oGt(e){let t,n=[],i=e.getPropertyIds();for(t=0;t<i.length;t++){let r=i[t];/^name$/i.test(r)?n[0]=e.getProperty(r):/name/i.test(r)?n[1]=e.getProperty(r):/^title$/i.test(r)?n[2]=e.getProperty(r):/^(id|identifier)$/i.test(r)?n[3]=e.getProperty(r):/element/i.test(r)?n[4]=e.getProperty(r):/(id|identifier)$/i.test(r)&&(n[5]=e.getProperty(r))}let o=n.length;for(t=0;t<o;t++){let r=n[t];if(l(r)&&r!=="")return r}return"Unnamed Feature"}function zLe(e,t){let n=e.scene.pick(t.position);if(l(n)){let i=n.id??n.primitive.id;if(i instanceof Jo)return i;if(n instanceof js)return new Jo({name:oGt(n),description:iGt(n),feature:n})}if(l(e.scene.globe))return aGt(e,t.position)}var rGt=new j;function H$(e,t){if(l(t)){let n=t.clock;if(l(n)&&l(e)){let i=n.startTime,o=n.stopTime;j.equals(i,o)&&(o=j.addSeconds(i,A.EPSILON2,rGt)),e.updateFromClock(),e.zoomTo(i,o)}}}var sGt=new m;function aGt(e,t){let n=e.scene,i=n.camera.getPickRay(t),o=n.imageryLayers.pickImageryLayerFeatures(i,n);if(!l(o))return;let r=new Jo({id:"Loading...",description:"Loading feature information..."});return o.then(function(s){if(e.selectedEntity!==r)return;if(!l(s)||s.length===0){e.selectedEntity=HLe();return}let a=s[0],c=new Jo({id:a.name,description:a.description});if(l(a.position)){let d=e.scene.ellipsoid.cartographicToCartesian(a.position,sGt);c.position=new Hc(d)}e.selectedEntity=c},function(){e.selectedEntity===r&&(e.selectedEntity=HLe())}),r}function HLe(){return new Jo({id:"None",description:"No features found."})}function cGt(e,t){let n=e._geocoder,i=e._homeButton,o=e._sceneModePicker,r=e._projectionPicker,s=e._baseLayerPicker,a=e._animation,c=e._timeline,d=e._fullscreenButton,u=e._infoBox,h=e._selectionIndicator,p=t?"hidden":"visible";if(l(n)&&(n.container.style.visibility=p),l(i)&&(i.container.style.visibility=p),l(o)&&(o.container.style.visibility=p),l(r)&&(r.container.style.visibility=p),l(s)&&(s.container.style.visibility=p),l(a)&&(a.container.style.visibility=p),l(c)&&(c.container.style.visibility=p),l(d)&&d.viewModel.isFullscreenEnabled&&(d.container.style.visibility=p),l(u)&&(u.container.style.visibility=p),l(h)&&(h.container.style.visibility=p),e._container){let g=t||!l(d)?0:d.container.clientWidth;e._vrButton.container.style.right=`${g}px`,e.forceResize()}}function Hi(e,t){e=Cn(e),t=t??Y.EMPTY_OBJECT;let n=(!l(t.globe)||t.globe!==!1)&&(!l(t.baseLayerPicker)||t.baseLayerPicker!==!1),i=this,o=document.createElement("div");o.className="cesium-viewer",e.appendChild(o);let r=document.createElement("div");r.className="cesium-viewer-cesiumWidgetContainer",o.appendChild(r);let s=document.createElement("div");s.className="cesium-viewer-bottom",o.appendChild(s);let a=t.scene3DOnly??!1,c,d,u=!1;l(t.clockViewModel)?(d=t.clockViewModel,c=d.clock):(c=new Lh,d=new lN(c),u=!0);let h=new x9(r,{baseLayer:n&&l(t.selectedImageryProviderViewModel)||l(t.baseLayer)||l(t.imageryProvider)?!1:void 0,clock:c,shouldAnimate:t.shouldAnimate,skyBox:t.skyBox,skyAtmosphere:t.skyAtmosphere,sceneMode:t.sceneMode,ellipsoid:t.ellipsoid,mapProjection:t.mapProjection,globe:t.globe,orderIndependentTranslucency:t.orderIndependentTranslucency,automaticallyTrackDataSourceClocks:t.automaticallyTrackDataSourceClocks,contextOptions:t.contextOptions,useDefaultRenderLoop:t.useDefaultRenderLoop,targetFrameRate:t.targetFrameRate,showRenderLoopErrors:t.showRenderLoopErrors,useBrowserRecommendedResolution:t.useBrowserRecommendedResolution,creditContainer:l(t.creditContainer)?t.creditContainer:s,creditViewport:t.creditViewport,dataSources:t.dataSources,scene3DOnly:a,shadows:t.shadows,terrainShadows:t.terrainShadows,mapMode2D:t.mapMode2D,blurActiveElementOnCanvasFocus:t.blurActiveElementOnCanvasFocus,requestRenderMode:t.requestRenderMode,maximumRenderTimeChange:t.maximumRenderTimeChange,depthPlaneEllipsoidOffset:t.depthPlaneEllipsoidOffset,msaaSamples:t.msaaSamples}),p=h.scene,g=new mr;g.add(c.onTick,Hi.prototype._onTick,this);let f;if(!l(t.selectionIndicator)||t.selectionIndicator!==!1){let z=document.createElement("div");z.className="cesium-viewer-selectionIndicatorContainer",o.appendChild(z),f=new YN(z,p)}let y;if(!l(t.infoBox)||t.infoBox!==!1){let z=document.createElement("div");z.className="cesium-viewer-infoBoxContainer",o.appendChild(z),y=new PN(z);let J=y.viewModel;g.add(J.cameraClicked,Hi.prototype._onInfoBoxCameraClicked,this),g.add(J.closeClicked,Hi.prototype._onInfoBoxClockClicked,this)}let T=document.createElement("div");T.className="cesium-viewer-toolbar",o.appendChild(T);let S;if(!l(t.geocoder)||t.geocoder!==!1){let z=document.createElement("div");z.className="cesium-viewer-geocoderContainer",T.appendChild(z);let J;typeof t.geocoder=="string"?J=[new MS({scene:p,geocodeProviderType:t.geocoder})]:l(t.geocoder)&&typeof t.geocoder!="boolean"&&(J=Array.isArray(t.geocoder)?t.geocoder:[t.geocoder]),S=new GN({container:z,geocoderServices:J,scene:p}),g.add(S.viewModel.search.beforeExecute,Hi.prototype._clearObjects,this)}let C;(!l(t.homeButton)||t.homeButton!==!1)&&(C=new AN(T,p),l(S)&&g.add(C.viewModel.command.afterExecute,function(){let z=S.viewModel;z.searchText="",z.isSearchInProgress&&z.search()}),g.add(C.viewModel.command.beforeExecute,Hi.prototype._clearTrackedObject,this));let V;!a&&(!l(t.sceneModePicker)||t.sceneModePicker!==!1)&&(V=new DN(T,p));let R;t.projectionPicker&&(R=new UN(T,p));let E,I;if(n){let z=t.imageryProviderViewModels??gN(),J=t.terrainProviderViewModels??yN();E=new bN(T,{globe:p.globe,imageryProviderViewModels:z,selectedImageryProviderViewModel:t.selectedImageryProviderViewModel,terrainProviderViewModels:J,selectedTerrainProviderViewModel:t.selectedTerrainProviderViewModel}),I=T.getElementsByClassName("cesium-baseLayerPicker-dropDown")[0]}l(t.baseLayer)&&t.baseLayer!==!1&&(n&&(E.viewModel.selectedImagery=void 0),p.imageryLayers.removeAll(),p.imageryLayers.add(t.baseLayer)),l(t.terrainProvider)&&(n&&(E.viewModel.selectedTerrain=void 0),p.terrainProvider=t.terrainProvider),l(t.terrain)&&(n&&(p.globe.depthTestAgainstTerrain=!0),p.setTerrain(t.terrain));let W;if(!l(t.navigationHelpButton)||t.navigationHelpButton!==!1){let z=!0;try{if(l(window.localStorage)){let J=window.localStorage.getItem("cesium-hasSeenNavHelp");l(J)&&J?z=!1:window.localStorage.setItem("cesium-hasSeenNavHelp","true")}}catch{}W=new wN({container:T,instructionsInitiallyVisible:t.navigationInstructionsInitiallyVisible??z})}let X;if(!l(t.animation)||t.animation!==!1){let z=document.createElement("div");z.className="cesium-viewer-animationContainer",o.appendChild(z),X=new TN(z,new SN(d))}let P;if(!l(t.timeline)||t.timeline!==!1){let z=document.createElement("div");z.className="cesium-viewer-timelineContainer",o.appendChild(z),P=new KN(z,c),P.addEventListener("settime",KLe,!1),P.zoomTo(c.startTime,c.stopTime)}let F,b,L;(!l(t.fullscreenButton)||t.fullscreenButton!==!1)&&(L=document.createElement("div"),L.className="cesium-viewer-fullscreenContainer",o.appendChild(L),F=new ZN(L,t.fullscreenElement),b=Aa(F.viewModel,"isFullscreenEnabled",function(z){L.style.display=z?"block":"none",l(P)&&(P.container.style.right=`${L.clientWidth}px`,P.resize())}));let Z,G,w;if(t.vrButton){let z=document.createElement("div");z.className="cesium-viewer-vrContainer",o.appendChild(z),Z=new QN(z,p,t.fullScreenElement),G=Aa(Z.viewModel,"isVREnabled",function(J){z.style.display=J?"block":"none",l(F)&&(z.style.right=`${L.clientWidth}px`),l(P)&&(P.container.style.right=`${z.clientWidth}px`,P.resize())}),w=Aa(Z.viewModel,"isVRMode",function(J){cGt(i,J)})}this._baseLayerPickerDropDown=I,this._fullscreenSubscription=b,this._vrSubscription=G,this._vrModeSubscription=w,this._dataSourceChangedListeners={},this._container=e,this._bottomContainer=s,this._element=o,this._cesiumWidget=h,this._selectionIndicator=f,this._infoBox=y,this._clockViewModel=d,this._destroyClockViewModel=u,this._toolbar=T,this._homeButton=C,this._sceneModePicker=V,this._projectionPicker=R,this._baseLayerPicker=E,this._navigationHelpButton=W,this._animation=X,this._timeline=P,this._fullscreenButton=F,this._vrButton=Z,this._geocoder=S,this._eventHelper=g,this._lastWidth=0,this._lastHeight=0,this._enableInfoOrSelection=l(y)||l(f),this._selectedEntity=void 0,this._selectedEntityChanged=new be;let M=this._cesiumWidget.dataSources,B=this._cesiumWidget.dataSourceDisplay;g.add(M.dataSourceAdded,Hi.prototype._onDataSourceAdded,this),g.add(M.dataSourceRemoved,Hi.prototype._onDataSourceRemoved,this),g.add(p.postUpdate,Hi.prototype.resize,this);let U=M.length;for(let z=0;z<U;z++)this._dataSourceAdded(M,M.get(z));this._dataSourceAdded(void 0,B.defaultDataSource),g.add(M.dataSourceAdded,Hi.prototype._dataSourceAdded,this),g.add(M.dataSourceRemoved,Hi.prototype._dataSourceRemoved,this);function O(z){let J=zLe(i,z);l(J)?K.getValueOrUndefined(J.position,i.clock.currentTime)?i.trackedEntity=J:i.zoomTo(J):l(i.trackedEntity)&&(i.trackedEntity=void 0)}function N(z){i.selectedEntity=zLe(i,z)}h.screenSpaceEventHandler.setInputAction(N,pn.LEFT_CLICK),h.screenSpaceEventHandler.setInputAction(O,pn.LEFT_DOUBLE_CLICK),h._canAnimateUpdateCallback=this._updateCanAnimate(this)}Object.defineProperties(Hi.prototype,{container:{get:function(){return this._container}},creditDisplay:{get:function(){return this._cesiumWidget.creditDisplay}},bottomContainer:{get:function(){return this._bottomContainer}},cesiumWidget:{get:function(){return this._cesiumWidget}},selectionIndicator:{get:function(){return this._selectionIndicator}},infoBox:{get:function(){return this._infoBox}},geocoder:{get:function(){return this._geocoder}},homeButton:{get:function(){return this._homeButton}},sceneModePicker:{get:function(){return this._sceneModePicker}},projectionPicker:{get:function(){return this._projectionPicker}},baseLayerPicker:{get:function(){return this._baseLayerPicker}},navigationHelpButton:{get:function(){return this._navigationHelpButton}},animation:{get:function(){return this._animation}},timeline:{get:function(){return this._timeline}},fullscreenButton:{get:function(){return this._fullscreenButton}},vrButton:{get:function(){return this._vrButton}},dataSourceDisplay:{get:function(){return this._cesiumWidget.dataSourceDisplay}},entities:{get:function(){return this._cesiumWidget.entities}},dataSources:{get:function(){return this._cesiumWidget.dataSources}},canvas:{get:function(){return this._cesiumWidget.canvas}},scene:{get:function(){return this._cesiumWidget.scene}},shadows:{get:function(){return this.scene.shadowMap.enabled},set:function(e){this.scene.shadowMap.enabled=e}},terrainShadows:{get:function(){return this.scene.globe.shadows},set:function(e){this.scene.globe.shadows=e}},shadowMap:{get:function(){return this.scene.shadowMap}},imageryLayers:{get:function(){return this.scene.imageryLayers}},terrainProvider:{get:function(){return this.scene.terrainProvider},set:function(e){this.scene.terrainProvider=e}},camera:{get:function(){return this.scene.camera}},ellipsoid:{get:function(){return this._scene.ellipsoid}},postProcessStages:{get:function(){return this.scene.postProcessStages}},clock:{get:function(){return this._clockViewModel.clock}},clockViewModel:{get:function(){return this._clockViewModel}},screenSpaceEventHandler:{get:function(){return this._cesiumWidget.screenSpaceEventHandler}},targetFrameRate:{get:function(){return this._cesiumWidget.targetFrameRate},set:function(e){this._cesiumWidget.targetFrameRate=e}},useDefaultRenderLoop:{get:function(){return this._cesiumWidget.useDefaultRenderLoop},set:function(e){this._cesiumWidget.useDefaultRenderLoop=e}},resolutionScale:{get:function(){return this._cesiumWidget.resolutionScale},set:function(e){this._cesiumWidget.resolutionScale=e}},useBrowserRecommendedResolution:{get:function(){return this._cesiumWidget.useBrowserRecommendedResolution},set:function(e){this._cesiumWidget.useBrowserRecommendedResolution=e}},allowDataSourcesToSuspendAnimation:{get:function(){return this._cesiumWidget.allowDataSourcesToSuspendAnimation},set:function(e){this._cesiumWidget.allowDataSourcesToSuspendAnimation=e}},trackedEntity:{get:function(){return this._cesiumWidget.trackedEntity},set:function(e){this._cesiumWidget.trackedEntity=e}},selectedEntity:{get:function(){return this._selectedEntity},set:function(e){if(this._selectedEntity!==e){this._selectedEntity=e;let t=l(this._selectionIndicator)?this._selectionIndicator.viewModel:void 0;l(e)?l(t)&&t.animateAppear():l(t)&&t.animateDepart(),this._selectedEntityChanged.raiseEvent(e)}}},selectedEntityChanged:{get:function(){return this._selectedEntityChanged}},trackedEntityChanged:{get:function(){return this._cesiumWidget.trackedEntityChanged}},clockTrackedDataSource:{get:function(){return this._cesiumWidget.clockTrackedDataSource},set:function(e){this._cesiumWidget.clockTrackedDataSource!==e&&(this._cesiumWidget.clockTrackedDataSource=e,H$(this._timeline,e))}}});Hi.prototype.extend=function(e,t){e(this,t)};Hi.prototype.resize=function(){let e=this._cesiumWidget,t=this._container,n=t.clientWidth,i=t.clientHeight,o=l(this._animation),r=l(this._timeline);if(e.resize(),n===this._lastWidth&&i===this._lastHeight)return;let s=i-125,a=this._baseLayerPickerDropDown;if(l(a)&&(a.style.maxHeight=`${s}px`),l(this._geocoder)){let f=this._geocoder.searchSuggestionsContainer;f.style.maxHeight=`${s}px`}l(this._infoBox)&&(this._infoBox.viewModel.maxHeight=s);let c=this._timeline,d,u=0,h=5,p=3,g=0;if(o&&window.getComputedStyle(this._animation.container).visibility!=="hidden"){let f=this._lastWidth;d=this._animation.container,n>900?(u=169,f<=900&&(d.style.width="169px",d.style.height="112px",this._animation.resize())):n>=600?(u=136,(f<600||f>900)&&(d.style.width="136px",d.style.height="90px",this._animation.resize())):(u=106,(f>600||f===0)&&(d.style.width="106px",d.style.height="70px",this._animation.resize())),h=u+5}if(r&&window.getComputedStyle(this._timeline.container).visibility!=="hidden"){let f=this._fullscreenButton,y=this._vrButton,T=c.container,S=T.style;p=T.clientHeight+3,S.left=`${u}px`;let C=0;l(f)&&(C+=f.container.clientWidth),l(y)&&(C+=y.container.clientWidth),S.right=`${C}px`,c.resize()}!r&&l(this._fullscreenButton)&&(g=this._fullscreenButton.container.clientWidth),this._bottomContainer.style.left=`${h}px`,this._bottomContainer.style.bottom=`${p}px`,this._bottomContainer.style.right=`${g}px`,this._lastWidth=n,this._lastHeight=i};Hi.prototype.forceResize=function(){this._lastWidth=0,this.resize()};Hi.prototype.render=function(){this._cesiumWidget.render()};Hi.prototype.isDestroyed=function(){return!1};Hi.prototype.destroy=function(){return l(this.screenSpaceEventHandler)&&!this.screenSpaceEventHandler.isDestroyed()&&(this.screenSpaceEventHandler.removeInputAction(pn.LEFT_CLICK),this.screenSpaceEventHandler.removeInputAction(pn.LEFT_DOUBLE_CLICK)),this._container.removeChild(this._element),this._element.removeChild(this._toolbar),this._eventHelper.removeAll(),l(this._geocoder)&&(this._geocoder=this._geocoder.destroy()),l(this._homeButton)&&(this._homeButton=this._homeButton.destroy()),l(this._sceneModePicker)&&(this._sceneModePicker=this._sceneModePicker.destroy()),l(this._projectionPicker)&&(this._projectionPicker=this._projectionPicker.destroy()),l(this._baseLayerPicker)&&(this._baseLayerPicker=this._baseLayerPicker.destroy()),l(this._animation)&&(this._element.removeChild(this._animation.container),this._animation=this._animation.destroy()),l(this._timeline)&&(this._timeline.removeEventListener("settime",KLe,!1),this._element.removeChild(this._timeline.container),this._timeline=this._timeline.destroy()),l(this._fullscreenButton)&&(this._fullscreenSubscription.dispose(),this._element.removeChild(this._fullscreenButton.container),this._fullscreenButton=this._fullscreenButton.destroy()),l(this._vrButton)&&(this._vrSubscription.dispose(),this._vrModeSubscription.dispose(),this._element.removeChild(this._vrButton.container),this._vrButton=this._vrButton.destroy()),l(this._infoBox)&&(this._element.removeChild(this._infoBox.container),this._infoBox=this._infoBox.destroy()),l(this._selectionIndicator)&&(this._element.removeChild(this._selectionIndicator.container),this._selectionIndicator=this._selectionIndicator.destroy()),this._destroyClockViewModel&&(this._clockViewModel=this._clockViewModel.destroy()),this._cesiumWidget=this._cesiumWidget.destroy(),he(this)};Hi.prototype._dataSourceAdded=function(e,t){t.entities.collectionChanged.addEventListener(Hi.prototype._onEntityCollectionChanged,this)};Hi.prototype._dataSourceRemoved=function(e,t){let n=t.entities;n.collectionChanged.removeEventListener(Hi.prototype._onEntityCollectionChanged,this),l(this.selectedEntity)&&n.getById(this.selectedEntity.id)===this.selectedEntity&&(this.selectedEntity=void 0)};Hi.prototype._updateCanAnimate=function(e){return function(t){e._clockViewModel.canAnimate=t}};Hi.prototype._onTick=function(e){let t=e.currentTime,n,i=!1,o=this.selectedEntity,r=l(o)&&this._enableInfoOrSelection;r&&o.isShowing&&o.isAvailable(t)&&(this._cesiumWidget.dataSourceDisplay.getBoundingSphere(o,!0,YLe)!==ot.FAILED?n=YLe.center:l(o.position)&&(n=o.position.getValue(t,n)),i=l(n));let s=l(this._selectionIndicator)?this._selectionIndicator.viewModel:void 0;l(s)&&(s.position=m.clone(n,s.position),s.showSelection=r&&i,s.update());let a=l(this._infoBox)?this._infoBox.viewModel:void 0;l(a)&&(a.showInfo=r,a.enableCamera=i,a.isCameraTracking=this.trackedEntity===this.selectedEntity,r?(a.titleText=o.name??o.id,a.description=K.getValueOrDefault(o.description,t,"")):(a.titleText="",a.description=""))};Hi.prototype._onEntityCollectionChanged=function(e,t,n){let i=n.length;for(let o=0;o<i;o++){let r=n[o];this.selectedEntity===r&&(this.selectedEntity=void 0)}};Hi.prototype._onInfoBoxCameraClicked=function(e){if(e.isCameraTracking&&this.trackedEntity===this.selectedEntity)this.trackedEntity=void 0;else{let n=this.selectedEntity.position;l(n)?this.trackedEntity=this.selectedEntity:this.zoomTo(this.selectedEntity)}};Hi.prototype._clearTrackedObject=function(){this.trackedEntity=void 0};Hi.prototype._onInfoBoxClockClicked=function(e){this.selectedEntity=void 0};Hi.prototype._clearObjects=function(){this.trackedEntity=void 0,this.selectedEntity=void 0};Hi.prototype._onDataSourceChanged=function(e){this.clockTrackedDataSource===e&&H$(this.timeline,e)};Hi.prototype._onDataSourceAdded=function(e,t){this._cesiumWidget._automaticallyTrackDataSourceClocks&&t===this.clockTrackedDataSource&&H$(this._timeline,t);let n=t.entities.id,i=this._eventHelper.add(t.changedEvent,Hi.prototype._onDataSourceChanged,this);this._dataSourceChangedListeners[n]=i};Hi.prototype._onDataSourceRemoved=function(e,t){let n=t.entities.id;this._dataSourceChangedListeners[n](),this._dataSourceChangedListeners[n]=void 0};Hi.prototype.zoomTo=function(e,t){return this._cesiumWidget.zoomTo(e,t)};Hi.prototype.flyTo=function(e,t){return this._cesiumWidget.flyTo(e,t)};var K$=Hi;var lPo=x(_(),1);function lGt(e){let t=document.createElement("div");t.className="cesium-viewer-cesium3DTilesInspectorContainer",e.container.appendChild(t);let n=new fN(t,e.scene);Object.defineProperties(e,{cesium3DTilesInspector:{get:function(){return n}}})}var J$=lGt;var mPo=x(_(),1);function dGt(e){let t=document.createElement("div");t.className="cesium-viewer-cesiumInspectorContainer",e.container.appendChild(t);let n=new LN(t,e.scene);Object.defineProperties(e,{cesiumInspector:{get:function(){return n}}})}var Q$=dGt;var bPo=x(_(),1);function uGt(e,t){t=t??Y.EMPTY_OBJECT;let n=!0,i=t.flyToOnDrop??!0,o=new be,r=t.clearOnDrop??!0,s=t.dropTarget??e.container,a=t.clampToGround??!0,c=t.proxy;s=Cn(s),Object.defineProperties(e,{dropTarget:{get:function(){return s},set:function(u){JLe(s,d),s=u,j$(s,d)}},dropEnabled:{get:function(){return n},set:function(u){u!==n&&(u?j$(s,d):JLe(s,d),n=u)}},dropError:{get:function(){return o}},clearOnDrop:{get:function(){return r},set:function(u){r=u}},flyToOnDrop:{get:function(){return i},set:function(u){i=u}},proxy:{get:function(){return c},set:function(u){c=u}},clampToGround:{get:function(){return a},set:function(u){a=u}}});function d(u){qS(u),r&&(e.entities.removeAll(),e.dataSources.removeAll());let h=u.dataTransfer.files,p=h.length;for(let g=0;g<p;g++){let f=h[g],y=new FileReader;y.onload=mGt(e,f,c,a),y.onerror=hGt(e,f),y.readAsText(f)}}j$(s,d),e.destroy=W9(e,e.destroy,function(){e.dropEnabled=!1}),e._handleDrop=d}function qS(e){e.stopPropagation(),e.preventDefault()}function JLe(e,t){let n=e;l(n)&&(n.removeEventListener("drop",t,!1),n.removeEventListener("dragenter",qS,!1),n.removeEventListener("dragover",qS,!1),n.removeEventListener("dragexit",qS,!1))}function j$(e,t){e.addEventListener("drop",t,!1),e.addEventListener("dragenter",qS,!1),e.addEventListener("dragover",qS,!1),e.addEventListener("dragexit",qS,!1)}function mGt(e,t,n,i){let o=e.scene;return function(r){let s=t.name;try{let a;if(/\.czml$/i.test(s))a=I2.load(JSON.parse(r.target.result),{sourceUri:s});else if(/\.geojson$/i.test(s)||/\.json$/i.test(s)||/\.topojson$/i.test(s))a=Cy.load(JSON.parse(r.target.result),{sourceUri:s,clampToGround:i});else if(/\.(kml|kmz)$/i.test(s))a=OT.load(t,{sourceUri:s,proxy:n,camera:o.camera,canvas:o.canvas,clampToGround:i,screenOverlayContainer:e.container});else if(/\.gpx$/i.test(s))a=Cv.load(t,{sourceUri:s,proxy:n});else{e.dropError.raiseEvent(e,s,`Unrecognized file: ${s}`);return}l(a)&&e.dataSources.add(a).then(function(c){e.flyToOnDrop&&e.flyTo(c)}).catch(function(c){e.dropError.raiseEvent(e,s,c)})}catch(a){e.dropError.raiseEvent(e,s,a)}}}function hGt(e,t){return function(n){e.dropError.raiseEvent(e,t.name,n.target.error)}}var q$=uGt;var SPo=x(_(),1);function fGt(e,t){t=t??Y.EMPTY_OBJECT;let n=new MN({scene:e.scene,container:e.bottomContainer,lowFrameRateMessage:t.lowFrameRateMessage});Object.defineProperties(e,{performanceWatchdog:{get:function(){return n}}})}var $$=fGt;var FPo=x(_(),1);var PPo=x(_(),1);var ZPo=x(_(),1);function QLe(e){let t=e.split(`
16074
+ </div>`,n.appendChild(i);let o=new XN(t);Se.track(o),Se.applyBindings(o,n),l(o.defaultLayer)&&(o.currentLayer=o.defaultLayer)}var N$=PEt;var eXo=x(_(),1);var HAo=x(_(),1);var vEt="M 13.84375 7.03125 C 11.412798 7.03125 9.46875 8.975298 9.46875 11.40625 L 9.46875 11.59375 L 2.53125 7.21875 L 2.53125 24.0625 L 9.46875 19.6875 C 9.4853444 22.104033 11.423165 24.0625 13.84375 24.0625 L 25.875 24.0625 C 28.305952 24.0625 30.28125 22.087202 30.28125 19.65625 L 30.28125 11.40625 C 30.28125 8.975298 28.305952 7.03125 25.875 7.03125 L 13.84375 7.03125 z",wEt="M 27.34375 1.65625 L 5.28125 27.9375 L 8.09375 30.3125 L 30.15625 4.03125 L 27.34375 1.65625 z M 13.84375 7.03125 C 11.412798 7.03125 9.46875 8.975298 9.46875 11.40625 L 9.46875 11.59375 L 2.53125 7.21875 L 2.53125 24.0625 L 9.46875 19.6875 C 9.4724893 20.232036 9.5676108 20.7379 9.75 21.21875 L 21.65625 7.03125 L 13.84375 7.03125 z M 28.21875 7.71875 L 14.53125 24.0625 L 25.875 24.0625 C 28.305952 24.0625 30.28125 22.087202 30.28125 19.65625 L 30.28125 11.40625 C 30.28125 9.8371439 29.456025 8.4902779 28.21875 7.71875 z";function U$(){this._cameraClicked=new be,this._closeClicked=new be,this.maxHeight=500,this.enableCamera=!1,this.isCameraTracking=!1,this.showInfo=!1,this.titleText="",this.description="",Se.track(this,["showInfo","titleText","description","maxHeight","enableCamera","isCameraTracking"]),this._loadingIndicatorHtml='<div class="cesium-infoBox-loadingContainer"><span class="cesium-infoBox-loading"></span></div>',this.cameraIconPath=void 0,Se.defineProperty(this,"cameraIconPath",{get:function(){return!this.enableCamera||this.isCameraTracking?wEt:vEt}}),Se.defineProperty(this,"_bodyless",{get:function(){return!l(this.description)||this.description.length===0}})}U$.prototype.maxHeightOffset=function(e){return`${this.maxHeight-e}px`};Object.defineProperties(U$.prototype,{cameraClicked:{get:function(){return this._cameraClicked}},closeClicked:{get:function(){return this._closeClicked}}});var WN=U$;function MY(e){e=Cn(e);let t=document.createElement("div");t.className="cesium-infoBox",t.setAttribute("data-bind",'css: { "cesium-infoBox-visible" : showInfo, "cesium-infoBox-bodyless" : _bodyless }'),e.appendChild(t);let n=document.createElement("div");n.className="cesium-infoBox-title",n.setAttribute("data-bind","text: titleText"),t.appendChild(n);let i=document.createElement("button");i.type="button",i.className="cesium-button cesium-infoBox-camera",i.setAttribute("data-bind",'attr: { title: "Focus camera on object" },click: function () { cameraClicked.raiseEvent(this); },enable: enableCamera,cesiumSvgPath: { path: cameraIconPath, width: 32, height: 32 }'),t.appendChild(i);let o=document.createElement("button");o.type="button",o.className="cesium-infoBox-close",o.setAttribute("data-bind","click: function () { closeClicked.raiseEvent(this); }"),o.innerHTML="&times;",t.appendChild(o);let r=document.createElement("iframe");r.className="cesium-infoBox-iframe",r.setAttribute("sandbox","allow-same-origin allow-popups allow-forms"),r.setAttribute("data-bind","style : { maxHeight : maxHeightOffset(40) }"),r.setAttribute("allowfullscreen",!0),t.appendChild(r);let s=new WN;Se.applyBindings(s,t),this._container=e,this._element=t,this._frame=r,this._viewModel=s,this._descriptionSubscription=void 0;let a=this;r.addEventListener("load",function(){let c=r.contentDocument,d=c.createElement("link");d.href=jt("Widgets/InfoBox/InfoBoxDescription.css"),d.rel="stylesheet",d.type="text/css";let u=c.createElement("div");u.className="cesium-infoBox-description",c.head.appendChild(d),c.body.appendChild(u),a._descriptionSubscription=Aa(s,"description",function(h){r.style.height="5px",u.innerHTML=h;let p=null,g=u.firstElementChild;if(g!==null&&u.childNodes.length===1){let y=window.getComputedStyle(g);if(y!==null){let T=y["background-color"],S=D.fromCssColorString(T);l(S)&&S.alpha!==0&&(p=y["background-color"])}}t.style["background-color"]=p;let f=u.getBoundingClientRect().height;r.style.height=`${f}px`})}),r.setAttribute("src","about:blank")}Object.defineProperties(MY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}},frame:{get:function(){return this._frame}}});MY.prototype.isDestroyed=function(){return!1};MY.prototype.destroy=function(){let e=this._container;return Se.cleanNode(this._element),e.removeChild(this._element),l(this._descriptionSubscription)&&this._descriptionSubscription.dispose(),he(this)};var PN=MY;var uXo=x(_(),1);var oXo=x(_(),1);function FLe(){this.showInstructions=!1;let e=this;this._command=yn(function(){e.showInstructions=!e.showInstructions}),this._showClick=yn(function(){e._touch=!1}),this._showTouch=yn(function(){e._touch=!0}),this._touch=!1,this.tooltip="Navigation Instructions",Se.track(this,["tooltip","showInstructions","_touch"])}Object.defineProperties(FLe.prototype,{command:{get:function(){return this._command}},showClick:{get:function(){return this._showClick}},showTouch:{get:function(){return this._showTouch}}});var vN=FLe;function NY(e){let t=Cn(e.container),n=new vN,i=e.instructionsInitiallyVisible??!1;n.showInstructions=i,n._svgPath="M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466z M17.328,24.371h-2.707v-2.596h2.707V24.371zM17.328,19.003v0.858h-2.707v-1.057c0-3.19,3.63-3.696,3.63-5.963c0-1.034-0.924-1.826-2.134-1.826c-1.254,0-2.354,0.924-2.354,0.924l-1.541-1.915c0,0,1.519-1.584,4.137-1.584c2.487,0,4.796,1.54,4.796,4.136C21.156,16.208,17.328,16.627,17.328,19.003z";let o=document.createElement("span");o.className="cesium-navigationHelpButton-wrapper",t.appendChild(o);let r=document.createElement("button");r.type="button",r.className="cesium-button cesium-toolbar-button cesium-navigation-help-button",r.setAttribute("data-bind","attr: { title: tooltip },click: command,cesiumSvgPath: { path: _svgPath, width: 32, height: 32 }"),o.appendChild(r);let s=document.createElement("div");s.className="cesium-navigation-help",s.setAttribute("data-bind",'css: { "cesium-navigation-help-visible" : showInstructions}'),o.appendChild(s);let a=document.createElement("button");a.type="button",a.className="cesium-navigation-button cesium-navigation-button-left",a.setAttribute("data-bind",'click: showClick, css: {"cesium-navigation-button-selected": !_touch, "cesium-navigation-button-unselected": _touch}');let c=document.createElement("img");c.src=jt("Widgets/Images/NavigationHelp/Mouse.svg"),c.className="cesium-navigation-button-icon",c.style.width="25px",c.style.height="25px",a.appendChild(c),a.appendChild(document.createTextNode("Mouse"));let d=document.createElement("button");d.type="button",d.className="cesium-navigation-button cesium-navigation-button-right",d.setAttribute("data-bind",'click: showTouch, css: {"cesium-navigation-button-selected": _touch, "cesium-navigation-button-unselected": !_touch}');let u=document.createElement("img");u.src=jt("Widgets/Images/NavigationHelp/Touch.svg"),u.className="cesium-navigation-button-icon",u.style.width="25px",u.style.height="25px",d.appendChild(u),d.appendChild(document.createTextNode("Touch")),s.appendChild(a),s.appendChild(d);let h=document.createElement("div");h.className="cesium-click-navigation-help cesium-navigation-help-instructions",h.setAttribute("data-bind",'css: { "cesium-click-navigation-help-visible" : !_touch}'),h.innerHTML=` <table> <tr> <td><img src="${jt("Widgets/Images/NavigationHelp/MouseLeft.svg")}" width="48" height="48" /></td> <td> <div class="cesium-navigation-help-pan">Pan view</div> <div class="cesium-navigation-help-details">Left click + drag</div> </td> </tr> <tr> <td><img src="${jt("Widgets/Images/NavigationHelp/MouseRight.svg")}" width="48" height="48" /></td> <td> <div class="cesium-navigation-help-zoom">Zoom view</div> <div class="cesium-navigation-help-details">Right click + drag, or</div> <div class="cesium-navigation-help-details">Mouse wheel scroll</div> </td> </tr> <tr> <td><img src="${jt("Widgets/Images/NavigationHelp/MouseMiddle.svg")}" width="48" height="48" /></td> <td> <div class="cesium-navigation-help-rotate">Rotate view</div> <div class="cesium-navigation-help-details">Middle click + drag, or</div> <div class="cesium-navigation-help-details">CTRL + Left/Right click + drag</div> </td> </tr> </table>`,s.appendChild(h);let p=document.createElement("div");p.className="cesium-touch-navigation-help cesium-navigation-help-instructions",p.setAttribute("data-bind",'css: { "cesium-touch-navigation-help-visible" : _touch}'),p.innerHTML=` <table> <tr> <td><img src="${jt("Widgets/Images/NavigationHelp/TouchDrag.svg")}" width="70" height="48" /></td> <td> <div class="cesium-navigation-help-pan">Pan view</div> <div class="cesium-navigation-help-details">One finger drag</div> </td> </tr> <tr> <td><img src="${jt("Widgets/Images/NavigationHelp/TouchZoom.svg")}" width="70" height="48" /></td> <td> <div class="cesium-navigation-help-zoom">Zoom view</div> <div class="cesium-navigation-help-details">Two finger pinch</div> </td> </tr> <tr> <td><img src="${jt("Widgets/Images/NavigationHelp/TouchTilt.svg")}" width="70" height="48" /></td> <td> <div class="cesium-navigation-help-rotate">Tilt view</div> <div class="cesium-navigation-help-details">Two finger drag, same direction</div> </td> </tr> <tr> <td><img src="${jt("Widgets/Images/NavigationHelp/TouchRotate.svg")}" width="70" height="48" /></td> <td> <div class="cesium-navigation-help-tilt">Rotate view</div> <div class="cesium-navigation-help-details">Two finger drag, opposite direction</div> </td> </tr> </table>`,s.appendChild(p),Se.applyBindings(n,o),this._container=t,this._viewModel=n,this._wrapper=o,this._closeInstructions=function(g){o.contains(g.target)||(n.showInstructions=!1)},Mt.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeInstructions,!0):(document.addEventListener("mousedown",this._closeInstructions,!0),document.addEventListener("touchstart",this._closeInstructions,!0))}Object.defineProperties(NY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});NY.prototype.isDestroyed=function(){return!1};NY.prototype.destroy=function(){return Mt.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeInstructions,!0):(document.removeEventListener("mousedown",this._closeInstructions,!0),document.removeEventListener("touchstart",this._closeInstructions,!0)),Se.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),he(this)};var wN=NY;var LXo=x(_(),1);var yXo=x(_(),1);function k$(e){this._scene=e.scene,this.lowFrameRateMessage=e.lowFrameRateMessage??"This application appears to be performing poorly on your system. Please try using a different web browser or updating your video drivers.",this.lowFrameRateMessageDismissed=!1,this.showingLowFrameRateMessage=!1,Se.track(this,["lowFrameRateMessage","lowFrameRateMessageDismissed","showingLowFrameRateMessage"]);let t=this;this._dismissMessage=yn(function(){t.showingLowFrameRateMessage=!1,t.lowFrameRateMessageDismissed=!0});let n=B9.fromScene(e.scene);this._unsubscribeLowFrameRate=n.lowFrameRate.addEventListener(function(){t.lowFrameRateMessageDismissed||(t.showingLowFrameRateMessage=!0)}),this._unsubscribeNominalFrameRate=n.nominalFrameRate.addEventListener(function(){t.showingLowFrameRateMessage=!1})}Object.defineProperties(k$.prototype,{scene:{get:function(){return this._scene}},dismissMessage:{get:function(){return this._dismissMessage}}});k$.prototype.destroy=function(){return this._unsubscribeLowFrameRate(),this._unsubscribeNominalFrameRate(),he(this)};var FN=k$;function UY(e){let t=Cn(e.container),n=new FN(e),i=document.createElement("div");i.className="cesium-performance-watchdog-message-area",i.setAttribute("data-bind","visible: showingLowFrameRateMessage");let o=document.createElement("button");o.setAttribute("type","button"),o.className="cesium-performance-watchdog-message-dismiss",o.innerHTML="&times;",o.setAttribute("data-bind","click: dismissMessage"),i.appendChild(o);let r=document.createElement("div");r.className="cesium-performance-watchdog-message",r.setAttribute("data-bind","html: lowFrameRateMessage"),i.appendChild(r),t.appendChild(i),Se.applyBindings(n,i),this._container=t,this._viewModel=n,this._element=i}Object.defineProperties(UY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});UY.prototype.isDestroyed=function(){return!1};UY.prototype.destroy=function(){return this._viewModel.destroy(),Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var MN=UY;var MXo=x(_(),1);var AXo=x(_(),1);function kY(e){this._scene=e,this._orthographic=e.camera.frustum instanceof tn,this._flightInProgress=!1,this.dropDownVisible=!1,this.tooltipPerspective="Perspective Projection",this.tooltipOrthographic="Orthographic Projection",this.selectedTooltip=void 0,this.sceneMode=e.mode,Se.track(this,["_orthographic","_flightInProgress","sceneMode","dropDownVisible","tooltipPerspective","tooltipOrthographic"]);let t=this;Se.defineProperty(this,"selectedTooltip",function(){return t._orthographic?t.tooltipOrthographic:t.tooltipPerspective}),this._toggleDropDown=yn(function(){t.sceneMode===re.SCENE2D||t._flightInProgress||(t.dropDownVisible=!t.dropDownVisible)}),this._eventHelper=new mr,this._eventHelper.add(e.morphComplete,function(n,i,o,r){t.sceneMode=o,t._orthographic=o===re.SCENE2D||t._scene.camera.frustum instanceof tn}),this._eventHelper.add(e.preRender,function(){t._flightInProgress=l(e.camera._currentFlight)}),this._switchToPerspective=yn(function(){t.sceneMode!==re.SCENE2D&&(t._scene.camera.switchToPerspectiveFrustum(),t._orthographic=!1,t.dropDownVisible=!1)}),this._switchToOrthographic=yn(function(){t.sceneMode!==re.SCENE2D&&(t._scene.camera.switchToOrthographicFrustum(),t._orthographic=!0,t.dropDownVisible=!1)}),this._sceneMode=re}Object.defineProperties(kY.prototype,{scene:{get:function(){return this._scene}},toggleDropDown:{get:function(){return this._toggleDropDown}},switchToPerspective:{get:function(){return this._switchToPerspective}},switchToOrthographic:{get:function(){return this._switchToOrthographic}},isOrthographicProjection:{get:function(){return this._orthographic}}});kY.prototype.isDestroyed=function(){return!1};kY.prototype.destroy=function(){this._eventHelper.removeAll(),he(this)};var NN=kY;var FEt="M 28.15625,10.4375 9.125,13.21875 13.75,43.25 41.75,55.09375 50.8125,37 54.5,11.9375 z m 0.125,3 19.976451,0.394265 L 43.03125,16.875 22.6875,14.28125 z M 50.971746,15.705477 47.90625,36.03125 42.53125,46 44.84375,19.3125 z M 12.625,16.03125 l 29.15625,3.6875 -2.65625,31 L 16.4375,41.125 z",MEt="m 31.560594,6.5254438 -20.75,12.4687502 0.1875,24.5625 22.28125,11.8125 19.5,-12 0.65625,-0.375 0,-0.75 0.0312,-23.21875 z m 0.0625,3.125 16.65625,9.5000002 -16.125,10.28125 -17.34375,-9.71875 z m 18.96875,11.1875002 0.15625,20.65625 -17.46875,10.59375 0.15625,-20.28125 z m -37.0625,1.25 17.21875,9.625 -0.15625,19.21875 -16.9375,-9 z";function DY(e,t){e=Cn(e);let n=new NN(t);n._perspectivePath=FEt,n._orthographicPath=MEt;let i=document.createElement("span");i.className="cesium-projectionPicker-wrapper cesium-toolbar-button",e.appendChild(i);let o=document.createElement("button");o.type="button",o.className="cesium-button cesium-toolbar-button",o.setAttribute("data-bind",'css: { "cesium-projectionPicker-buttonPerspective": !_orthographic, "cesium-projectionPicker-buttonOrthographic": _orthographic, "cesium-button-disabled" : sceneMode === _sceneMode.SCENE2D || _flightInProgress, "cesium-projectionPicker-selected": dropDownVisible },attr: { title: selectedTooltip },click: toggleDropDown'),o.innerHTML='<!-- ko cesiumSvgPath: { path: _perspectivePath, width: 64, height: 64, css: "cesium-projectionPicker-iconPerspective" } --><!-- /ko --><!-- ko cesiumSvgPath: { path: _orthographicPath, width: 64, height: 64, css: "cesium-projectionPicker-iconOrthographic" } --><!-- /ko -->',i.appendChild(o);let r=document.createElement("button");r.type="button",r.className="cesium-button cesium-toolbar-button cesium-projectionPicker-dropDown-icon",r.setAttribute("data-bind",'css: { "cesium-projectionPicker-visible" : (dropDownVisible && _orthographic), "cesium-projectionPicker-none" : !_orthographic, "cesium-projectionPicker-hidden" : !dropDownVisible },attr: { title: tooltipPerspective },click: switchToPerspective,cesiumSvgPath: { path: _perspectivePath, width: 64, height: 64 }'),i.appendChild(r);let s=document.createElement("button");s.type="button",s.className="cesium-button cesium-toolbar-button cesium-projectionPicker-dropDown-icon",s.setAttribute("data-bind",'css: { "cesium-projectionPicker-visible" : (dropDownVisible && !_orthographic), "cesium-projectionPicker-none" : _orthographic, "cesium-projectionPicker-hidden" : !dropDownVisible},attr: { title: tooltipOrthographic },click: switchToOrthographic,cesiumSvgPath: { path: _orthographicPath, width: 64, height: 64 }'),i.appendChild(s),Se.applyBindings(n,i),this._viewModel=n,this._container=e,this._wrapper=i,this._closeDropDown=function(a){i.contains(a.target)||(n.dropDownVisible=!1)},Mt.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(DY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});DY.prototype.isDestroyed=function(){return!1};DY.prototype.destroy=function(){return this._viewModel.destroy(),Mt.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Se.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),he(this)};var UN=DY;var qXo=x(_(),1);var YXo=x(_(),1);function BY(e,t){this._scene=e;let n=this,i=function(o,r,s,a){n.sceneMode=s,n.dropDownVisible=!1};this._eventHelper=new mr,this._eventHelper.add(e.morphStart,i),this._duration=t??2,this.sceneMode=e.mode,this.dropDownVisible=!1,this.tooltip2D="2D",this.tooltip3D="3D",this.tooltipColumbusView="Columbus View",Se.track(this,["sceneMode","dropDownVisible","tooltip2D","tooltip3D","tooltipColumbusView"]),this.selectedTooltip=void 0,Se.defineProperty(this,"selectedTooltip",function(){let o=n.sceneMode;return o===re.SCENE2D?n.tooltip2D:o===re.SCENE3D?n.tooltip3D:n.tooltipColumbusView}),this._toggleDropDown=yn(function(){n.dropDownVisible=!n.dropDownVisible}),this._morphTo2D=yn(function(){e.morphTo2D(n._duration)}),this._morphTo3D=yn(function(){e.morphTo3D(n._duration)}),this._morphToColumbusView=yn(function(){e.morphToColumbusView(n._duration)}),this._sceneMode=re}Object.defineProperties(BY.prototype,{scene:{get:function(){return this._scene}},duration:{get:function(){return this._duration},set:function(e){this._duration=e}},toggleDropDown:{get:function(){return this._toggleDropDown}},morphTo2D:{get:function(){return this._morphTo2D}},morphTo3D:{get:function(){return this._morphTo3D}},morphToColumbusView:{get:function(){return this._morphToColumbusView}}});BY.prototype.isDestroyed=function(){return!1};BY.prototype.destroy=function(){this._eventHelper.removeAll(),he(this)};var kN=BY;var NEt="m 32.401392,4.9330437 c -7.087603,0 -14.096095,2.884602 -19.10793,7.8946843 -5.0118352,5.010083 -7.9296167,11.987468 -7.9296167,19.072999 0,7.085531 2.9177815,14.097848 7.9296167,19.107931 4.837653,4.835961 11.541408,7.631372 18.374354,7.82482 0.05712,0.01231 0.454119,0.139729 0.454119,0.139729 l 0.03493,-0.104797 c 0.08246,7.84e-4 0.162033,0.03493 0.244525,0.03493 0.08304,0 0.161515,-0.03414 0.244526,-0.03493 l 0.03493,0.104797 c 0,0 0.309474,-0.129487 0.349323,-0.139729 6.867765,-0.168094 13.582903,-2.965206 18.444218,-7.82482 2.558195,-2.5573 4.551081,-5.638134 5.903547,-8.977584 1.297191,-3.202966 2.02607,-6.661489 2.02607,-10.130347 0,-6.237309 -2.366261,-12.31219 -6.322734,-17.116794 -0.0034,-0.02316 0.0049,-0.04488 0,-0.06986 -0.01733,-0.08745 -0.104529,-0.278855 -0.104797,-0.279458 -5.31e-4,-0.0012 -0.522988,-0.628147 -0.523984,-0.62878 -3.47e-4,-2.2e-4 -0.133444,-0.03532 -0.244525,-0.06987 C 51.944299,13.447603 51.751076,13.104317 51.474391,12.827728 46.462556,7.8176457 39.488996,4.9330437 32.401392,4.9330437 z m -2.130866,3.5281554 0.104797,9.6762289 c -4.111695,-0.08361 -7.109829,-0.423664 -9.257041,-0.943171 1.198093,-2.269271 2.524531,-4.124404 3.91241,-5.414496 2.167498,-2.0147811 3.950145,-2.8540169 5.239834,-3.3185619 z m 2.794579,0 c 1.280302,0.4754953 3.022186,1.3285948 5.065173,3.2486979 1.424667,1.338973 2.788862,3.303645 3.982275,5.728886 -2.29082,0.403367 -5.381258,0.621049 -8.942651,0.698645 L 33.065105,8.4611991 z m 5.728886,0.2445256 c 4.004072,1.1230822 7.793098,3.1481363 10.724195,6.0782083 0.03468,0.03466 0.07033,0.06991 0.104797,0.104797 -0.45375,0.313891 -0.923054,0.663002 -1.956205,1.082899 -0.647388,0.263114 -1.906242,0.477396 -2.829511,0.733577 -1.382296,-2.988132 -3.027146,-5.368585 -4.785716,-7.0213781 -0.422866,-0.397432 -0.835818,-0.6453247 -1.25756,-0.9781032 z m -15.33525,0.7685092 c -0.106753,0.09503 -0.207753,0.145402 -0.31439,0.244526 -1.684973,1.5662541 -3.298068,3.8232211 -4.680919,6.5672591 -0.343797,-0.14942 -1.035052,-0.273198 -1.292493,-0.419186 -0.956528,-0.542427 -1.362964,-1.022024 -1.537018,-1.292493 -0.0241,-0.03745 -0.01868,-0.0401 -0.03493,-0.06986 2.250095,-2.163342 4.948824,-3.869984 7.859752,-5.0302421 z m -9.641296,7.0912431 c 0.464973,0.571618 0.937729,1.169056 1.956205,1.746612 0.349907,0.198425 1.107143,0.335404 1.537018,0.523983 -1.20166,3.172984 -1.998037,7.051901 -2.165798,11.772162 C 14.256557,30.361384 12.934823,30.161483 12.280427,29.90959 10.644437,29.279855 9.6888882,28.674891 9.1714586,28.267775 8.6540289,27.860658 8.6474751,27.778724 8.6474751,27.778724 l -0.069864,0.03493 C 9.3100294,23.691285 11.163248,19.798527 13.817445,16.565477 z m 37.552149,0.523984 c 2.548924,3.289983 4.265057,7.202594 4.890513,11.318043 -0.650428,0.410896 -1.756876,1.001936 -3.563088,1.606882 -1.171552,0.392383 -3.163859,0.759153 -4.960377,1.117832 -0.04367,-4.752703 -0.784809,-8.591423 -1.88634,-11.807094 0.917574,-0.263678 2.170552,-0.486495 2.864443,-0.76851 1.274693,-0.518066 2.003942,-1.001558 2.654849,-1.467153 z m -31.439008,2.619917 c 2.487341,0.672766 5.775813,1.137775 10.479669,1.222628 l 0.104797,10.689263 0,0.03493 0,0.733577 c -5.435005,-0.09059 -9.512219,-0.519044 -12.610536,-1.117831 0.106127,-4.776683 0.879334,-8.55791 2.02607,-11.562569 z m 23.264866,0.31439 c 1.073459,3.067541 1.833795,6.821314 1.816476,11.702298 -3.054474,0.423245 -7.062018,0.648559 -11.702298,0.698644 l 0,-0.838373 -0.104796,-10.654331 c 4.082416,-0.0864 7.404468,-0.403886 9.990618,-0.908238 z M 8.2632205,30.922625 c 0.7558676,0.510548 1.5529563,1.013339 3.0041715,1.57195 0.937518,0.360875 2.612202,0.647642 3.91241,0.978102 0.112814,3.85566 0.703989,7.107756 1.606883,9.920754 -1.147172,-0.324262 -2.644553,-0.640648 -3.423359,-0.978102 -1.516688,-0.657177 -2.386627,-1.287332 -2.864443,-1.71168 -0.477816,-0.424347 -0.489051,-0.489051 -0.489051,-0.489051 L 9.8002387,40.319395 C 8.791691,37.621767 8.1584238,34.769583 8.1584238,31.900727 c 0,-0.330153 0.090589,-0.648169 0.1047967,-0.978102 z m 48.2763445,0.419186 c 0.0047,0.188973 0.06986,0.36991 0.06986,0.558916 0,2.938869 -0.620228,5.873558 -1.676747,8.628261 -0.07435,0.07583 -0.06552,0.07411 -0.454119,0.349323 -0.606965,0.429857 -1.631665,1.042044 -3.318562,1.676747 -1.208528,0.454713 -3.204964,0.850894 -5.135038,1.25756 0.84593,-2.765726 1.41808,-6.005357 1.606883,-9.815957 2.232369,-0.413371 4.483758,-0.840201 5.938479,-1.327425 1.410632,-0.472457 2.153108,-0.89469 2.96924,-1.327425 z m -38.530252,2.864443 c 3.208141,0.56697 7.372279,0.898588 12.575603,0.978103 l 0.174662,9.885821 c -4.392517,-0.06139 -8.106722,-0.320566 -10.863925,-0.803441 -1.051954,-2.664695 -1.692909,-6.043794 -1.88634,-10.060483 z m 26.793022,0.31439 c -0.246298,3.923551 -0.877762,7.263679 -1.816476,9.885822 -2.561957,0.361954 -5.766249,0.560708 -9.431703,0.62878 l -0.174661,-9.815957 c 4.491734,-0.04969 8.334769,-0.293032 11.42284,-0.698645 z M 12.035901,44.860585 c 0.09977,0.04523 0.105535,0.09465 0.209594,0.139729 1.337656,0.579602 3.441099,1.058072 5.589157,1.537018 1.545042,3.399208 3.548524,5.969402 5.589157,7.789888 -3.034411,-1.215537 -5.871615,-3.007978 -8.174142,-5.309699 -1.245911,-1.245475 -2.271794,-2.662961 -3.213766,-4.156936 z m 40.69605,0 c -0.941972,1.493975 -1.967855,2.911461 -3.213765,4.156936 -2.74253,2.741571 -6.244106,4.696717 -9.955686,5.868615 0.261347,-0.241079 0.507495,-0.394491 0.768509,-0.663713 1.674841,-1.727516 3.320792,-4.181056 4.645987,-7.265904 2.962447,-0.503021 5.408965,-1.122293 7.161107,-1.781544 0.284034,-0.106865 0.337297,-0.207323 0.593848,-0.31439 z m -31.404076,2.305527 c 2.645807,0.376448 5.701178,0.649995 9.466635,0.698645 l 0.139729,7.789888 c -1.38739,-0.480844 -3.316218,-1.29837 -5.659022,-3.388427 -1.388822,-1.238993 -2.743668,-3.0113 -3.947342,-5.100106 z m 20.365491,0.104797 c -1.04872,2.041937 -2.174337,3.779068 -3.353494,4.995309 -1.853177,1.911459 -3.425515,2.82679 -4.611055,3.353494 l -0.139729,-7.789887 c 3.13091,-0.05714 5.728238,-0.278725 8.104278,-0.558916 z",UEt="m 2.9825053,17.550598 0,1.368113 0,26.267766 0,1.368113 1.36811,0 54.9981397,0 1.36811,0 0,-1.368113 0,-26.267766 0,-1.368113 -1.36811,0 -54.9981397,0 -1.36811,0 z m 2.73623,2.736226 10.3292497,0 0,10.466063 -10.3292497,0 0,-10.466063 z m 13.0654697,0 11.69737,0 0,10.466063 -11.69737,0 0,-10.466063 z m 14.43359,0 11.69737,0 0,10.466063 -11.69737,0 0,-10.466063 z m 14.43359,0 10.32926,0 0,10.466063 -10.32926,0 0,-10.466063 z m -41.9326497,13.202288 10.3292497,0 0,10.329252 -10.3292497,0 0,-10.329252 z m 13.0654697,0 11.69737,0 0,10.329252 -11.69737,0 0,-10.329252 z m 14.43359,0 11.69737,0 0,10.329252 -11.69737,0 0,-10.329252 z m 14.43359,0 10.32926,0 0,10.329252 -10.32926,0 0,-10.329252 z",kEt="m 14.723969,17.675598 -0.340489,0.817175 -11.1680536,26.183638 -0.817175,1.872692 2.076986,0 54.7506996,0 2.07698,0 -0.81717,-1.872692 -11.16805,-26.183638 -0.34049,-0.817175 -0.91933,0 -32.414586,0 -0.919322,0 z m 1.838643,2.723916 6.196908,0 -2.928209,10.418977 -7.729111,0 4.460412,-10.418977 z m 9.02297,0 4.903049,0 0,10.418977 -7.831258,0 2.928209,-10.418977 z m 7.626964,0 5.584031,0 2.62176,10.418977 -8.205791,0 0,-10.418977 z m 8.410081,0 5.51593,0 4.46042,10.418977 -7.38863,0 -2.58772,-10.418977 z m -30.678091,13.142892 8.103649,0 -2.89416,10.282782 -9.6018026,0 4.3923136,-10.282782 z m 10.929711,0 8.614384,0 0,10.282782 -11.508544,0 2.89416,-10.282782 z m 11.338299,0 8.852721,0 2.58772,10.282782 -11.440441,0 0,-10.282782 z m 11.678781,0 7.86531,0 4.39231,10.282782 -9.6699,0 -2.58772,-10.282782 z";function OY(e,t,n){e=Cn(e);let i=new kN(t,n);i._globePath=NEt,i._flatMapPath=UEt,i._columbusViewPath=kEt;let o=document.createElement("span");o.className="cesium-sceneModePicker-wrapper cesium-toolbar-button",e.appendChild(o);let r=document.createElement("button");r.type="button",r.className="cesium-button cesium-toolbar-button",r.setAttribute("data-bind",'css: { "cesium-sceneModePicker-button2D": sceneMode === _sceneMode.SCENE2D, "cesium-sceneModePicker-button3D": sceneMode === _sceneMode.SCENE3D, "cesium-sceneModePicker-buttonColumbusView": sceneMode === _sceneMode.COLUMBUS_VIEW, "cesium-sceneModePicker-selected": dropDownVisible },attr: { title: selectedTooltip },click: toggleDropDown'),r.innerHTML='<!-- ko cesiumSvgPath: { path: _globePath, width: 64, height: 64, css: "cesium-sceneModePicker-slide-svg cesium-sceneModePicker-icon3D" } --><!-- /ko --><!-- ko cesiumSvgPath: { path: _flatMapPath, width: 64, height: 64, css: "cesium-sceneModePicker-slide-svg cesium-sceneModePicker-icon2D" } --><!-- /ko --><!-- ko cesiumSvgPath: { path: _columbusViewPath, width: 64, height: 64, css: "cesium-sceneModePicker-slide-svg cesium-sceneModePicker-iconColumbusView" } --><!-- /ko -->',o.appendChild(r);let s=document.createElement("button");s.type="button",s.className="cesium-button cesium-toolbar-button cesium-sceneModePicker-dropDown-icon",s.setAttribute("data-bind",'css: { "cesium-sceneModePicker-visible" : (dropDownVisible && (sceneMode !== _sceneMode.SCENE3D)) || (!dropDownVisible && (sceneMode === _sceneMode.SCENE3D)), "cesium-sceneModePicker-none" : sceneMode === _sceneMode.SCENE3D, "cesium-sceneModePicker-hidden" : !dropDownVisible },attr: { title: tooltip3D },click: morphTo3D,cesiumSvgPath: { path: _globePath, width: 64, height: 64 }'),o.appendChild(s);let a=document.createElement("button");a.type="button",a.className="cesium-button cesium-toolbar-button cesium-sceneModePicker-dropDown-icon",a.setAttribute("data-bind",'css: { "cesium-sceneModePicker-visible" : (dropDownVisible && (sceneMode !== _sceneMode.SCENE2D)), "cesium-sceneModePicker-none" : sceneMode === _sceneMode.SCENE2D, "cesium-sceneModePicker-hidden" : !dropDownVisible },attr: { title: tooltip2D },click: morphTo2D,cesiumSvgPath: { path: _flatMapPath, width: 64, height: 64 }'),o.appendChild(a);let c=document.createElement("button");c.type="button",c.className="cesium-button cesium-toolbar-button cesium-sceneModePicker-dropDown-icon",c.setAttribute("data-bind",'css: { "cesium-sceneModePicker-visible" : (dropDownVisible && (sceneMode !== _sceneMode.COLUMBUS_VIEW)) || (!dropDownVisible && (sceneMode === _sceneMode.COLUMBUS_VIEW)), "cesium-sceneModePicker-none" : sceneMode === _sceneMode.COLUMBUS_VIEW, "cesium-sceneModePicker-hidden" : !dropDownVisible},attr: { title: tooltipColumbusView },click: morphToColumbusView,cesiumSvgPath: { path: _columbusViewPath, width: 64, height: 64 }'),o.appendChild(c),Se.applyBindings(i,o),this._viewModel=i,this._container=e,this._wrapper=o,this._closeDropDown=function(d){o.contains(d.target)||(i.dropDownVisible=!1)},Mt.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(OY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});OY.prototype.isDestroyed=function(){return!1};OY.prototype.destroy=function(){return this._viewModel.destroy(),Mt.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Se.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),he(this)};var DN=OY;var dWo=x(_(),1);var iWo=x(_(),1);var DEt=new k,YY="-1000px";function BN(e,t,n){this._scene=e,this._screenPositionX=YY,this._screenPositionY=YY,this._tweens=e.tweens,this._container=n??document.body,this._selectionIndicatorElement=t,this._scale=1,this.position=void 0,this.showSelection=!1,Se.track(this,["position","_screenPositionX","_screenPositionY","_scale","showSelection"]),this.isVisible=void 0,Se.defineProperty(this,"isVisible",{get:function(){return this.showSelection&&l(this.position)}}),Se.defineProperty(this,"_transform",{get:function(){return`scale(${this._scale})`}}),this.computeScreenSpacePosition=function(i,o){return Mi.worldToWindowCoordinates(e,i,o)}}BN.prototype.update=function(){if(this.showSelection&&l(this.position)){let e=this.computeScreenSpacePosition(this.position,DEt);if(!l(e))this._screenPositionX=YY,this._screenPositionY=YY;else{let t=this._container,n=t.parentNode.clientWidth,i=t.parentNode.clientHeight,o=this._selectionIndicatorElement.clientWidth,r=o*.5;e.x=Math.min(Math.max(e.x,-o),n+o)-r,e.y=Math.min(Math.max(e.y,-o),i+o)-r,this._screenPositionX=`${Math.floor(e.x+.25)}px`,this._screenPositionY=`${Math.floor(e.y+.25)}px`}}};BN.prototype.animateAppear=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:2,stopValue:1,duration:.8,easingFunction:Qr.EXPONENTIAL_OUT})};BN.prototype.animateDepart=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:this._scale,stopValue:1.5,duration:.8,easingFunction:Qr.EXPONENTIAL_OUT})};Object.defineProperties(BN.prototype,{container:{get:function(){return this._container}},selectionIndicatorElement:{get:function(){return this._selectionIndicatorElement}},scene:{get:function(){return this._scene}}});var ON=BN;function zY(e,t){e=Cn(e),this._container=e;let n=document.createElement("div");n.className="cesium-selection-wrapper",n.setAttribute("data-bind",'style: { "top" : _screenPositionY, "left" : _screenPositionX },css: { "cesium-selection-wrapper-visible" : isVisible }'),e.appendChild(n),this._element=n;let i="http://www.w3.org/2000/svg",o="M -34 -34 L -34 -11.25 L -30 -15.25 L -30 -30 L -15.25 -30 L -11.25 -34 L -34 -34 z M 11.25 -34 L 15.25 -30 L 30 -30 L 30 -15.25 L 34 -11.25 L 34 -34 L 11.25 -34 z M -34 11.25 L -34 34 L -11.25 34 L -15.25 30 L -30 30 L -30 15.25 L -34 11.25 z M 34 11.25 L 30 15.25 L 30 30 L 15.25 30 L 11.25 34 L 34 34 L 34 11.25 z",r=document.createElementNS(i,"svg:svg");r.setAttribute("width",160),r.setAttribute("height",160),r.setAttribute("viewBox","0 0 160 160");let s=document.createElementNS(i,"g");s.setAttribute("transform","translate(80,80)"),r.appendChild(s);let a=document.createElementNS(i,"path");a.setAttribute("data-bind","attr: { transform: _transform }"),a.setAttribute("d",o),s.appendChild(a),n.appendChild(r);let c=new ON(t,this._element,this._container);this._viewModel=c,Se.applyBindings(this._viewModel,this._element)}Object.defineProperties(zY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});zY.prototype.isDestroyed=function(){return!1};zY.prototype.destroy=function(){let e=this._container;return Se.cleanNode(this._element),e.removeChild(this._element),he(this)};var YN=zY;var SWo=x(_(),1);var hWo=x(_(),1);function jS(e,t,n){this._color=e,this._height=t,this._base=n??0}jS.prototype.getHeight=function(){return this._height};jS.prototype.getBase=function(){return this._base};jS.prototype.getStartTime=function(){return this._start};jS.prototype.getStopTime=function(){return this._stop};jS.prototype.setRange=function(e,t){this._start=e,this._stop=t};jS.prototype.render=function(e){let t="";if(this._start&&this._stop&&this._color){let n=j.secondsDifference(this._start,e.epochJulian),i=Math.round(e.timeBarWidth*e.getAlpha(n)),o=j.secondsDifference(this._stop,e.epochJulian),r=Math.round(e.timeBarWidth*e.getAlpha(o))-i;i<0&&(r+=i,i=0),i+r>e.timeBarWidth&&(r=e.timeBarWidth-i),r>0&&(t=`<span class="cesium-timeline-highlight" style="left: ${i.toString()}px; width: ${r.toString()}px; bottom: ${this._base.toString()}px; height: ${this._height}px; background-color: ${this._color};"></span>`)}return t};var zN=jS;var bWo=x(_(),1);function MLe(e,t,n,i){this.interval=e,this.height=t,this.color=n||new D(.5,.5,.5,1),this.backgroundColor=i||new D(0,0,0,0)}MLe.prototype.render=function(e,t){let n=this.interval.start,i=this.interval.stop,o=t.startJulian,r=j.addSeconds(t.startJulian,t.duration,new j);if(j.lessThan(n,o)&&j.greaterThan(i,r))e.fillStyle=this.color.toCssColorString(),e.fillRect(0,t.y,t.timeBarWidth,this.height);else if(j.lessThanOrEquals(n,r)&&j.greaterThanOrEquals(i,o)){let s,a,c;for(s=0;s<t.timeBarWidth;++s){let d=j.addSeconds(t.startJulian,s/t.timeBarWidth*t.duration,new j);!l(a)&&j.greaterThanOrEquals(d,n)?a=s:!l(c)&&j.greaterThanOrEquals(d,i)&&(c=s)}e.fillStyle=this.backgroundColor.toCssColorString(),e.fillRect(0,t.y,t.timeBarWidth,this.height),l(a)&&(l(c)||(c=t.timeBarWidth),e.fillStyle=this.color.toCssColorString(),e.fillRect(a,t.y,Math.max(c-a,1),this.height))}};var HN=MLe;var D$=1e12,Gm={none:0,scrub:1,slide:2,zoom:3,touchOnly:4},Sl={none:0,scrub:1,slideZoom:2,singleTap:3,ignore:4},mx=[.001,.002,.005,.01,.02,.05,.1,.25,.5,1,2,5,10,15,30,60,120,300,600,900,1800,3600,7200,14400,21600,43200,86400,172800,345600,604800,1296e3,2592e3,5184e3,7776e3,15552e3,31536e3,63072e3,126144e3,15768e4,31536e4,63072e4,126144e4,15768e5,31536e5,63072e5,126144e5,15768e6,31536e6],BEt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Cl(e,t){e=Cn(e);let n=e.ownerDocument;this.container=e;let i=n.createElement("div");i.className="cesium-timeline-main",e.appendChild(i),this._topDiv=i,this._endJulian=void 0,this._epochJulian=void 0,this._lastXPos=void 0,this._scrubElement=void 0,this._startJulian=void 0,this._timeBarSecondsSpan=void 0,this._clock=t,this._scrubJulian=t.currentTime,this._mainTicSpan=-1,this._mouseMode=Gm.none,this._touchMode=Sl.none,this._touchState={centerX:0,spanX:0},this._mouseX=0,this._timelineDrag=0,this._timelineDragLocation=void 0,this._lastHeight=void 0,this._lastWidth=void 0,this._topDiv.innerHTML='<div class="cesium-timeline-bar"></div><div class="cesium-timeline-trackContainer"><canvas class="cesium-timeline-tracks" width="10" height="1"></canvas></div><div class="cesium-timeline-needle"></div><span class="cesium-timeline-ruler"></span>',this._timeBarEle=this._topDiv.childNodes[0],this._trackContainer=this._topDiv.childNodes[1],this._trackListEle=this._topDiv.childNodes[1].childNodes[0],this._needleEle=this._topDiv.childNodes[2],this._rulerEle=this._topDiv.childNodes[3],this._context=this._trackListEle.getContext("2d"),this._trackList=[],this._highlightRanges=[],this.zoomTo(t.startTime,t.stopTime),this._onMouseDown=OEt(this),this._onMouseUp=YEt(this),this._onMouseMove=zEt(this),this._onMouseWheel=HEt(this),this._onTouchStart=KEt(this),this._onTouchMove=QEt(this),this._onTouchEnd=JEt(this);let o=this._timeBarEle;n.addEventListener("mouseup",this._onMouseUp,!1),n.addEventListener("mousemove",this._onMouseMove,!1),o.addEventListener("mousedown",this._onMouseDown,!1),o.addEventListener("DOMMouseScroll",this._onMouseWheel,!1),o.addEventListener("mousewheel",this._onMouseWheel,!1),o.addEventListener("touchstart",this._onTouchStart,!1),o.addEventListener("touchmove",this._onTouchMove,!1),o.addEventListener("touchend",this._onTouchEnd,!1),o.addEventListener("touchcancel",this._onTouchEnd,!1),this._topDiv.oncontextmenu=function(){return!1},t.onTick.addEventListener(this.updateFromClock,this),this.updateFromClock()}Cl.prototype.addEventListener=function(e,t,n){this._topDiv.addEventListener(e,t,n)};Cl.prototype.removeEventListener=function(e,t,n){this._topDiv.removeEventListener(e,t,n)};Cl.prototype.isDestroyed=function(){return!1};Cl.prototype.destroy=function(){this._clock.onTick.removeEventListener(this.updateFromClock,this);let e=this.container.ownerDocument;e.removeEventListener("mouseup",this._onMouseUp,!1),e.removeEventListener("mousemove",this._onMouseMove,!1);let t=this._timeBarEle;t.removeEventListener("mousedown",this._onMouseDown,!1),t.removeEventListener("DOMMouseScroll",this._onMouseWheel,!1),t.removeEventListener("mousewheel",this._onMouseWheel,!1),t.removeEventListener("touchstart",this._onTouchStart,!1),t.removeEventListener("touchmove",this._onTouchMove,!1),t.removeEventListener("touchend",this._onTouchEnd,!1),t.removeEventListener("touchcancel",this._onTouchEnd,!1),this.container.removeChild(this._topDiv),he(this)};Cl.prototype.addHighlightRange=function(e,t,n){let i=new zN(e,t,n);return this._highlightRanges.push(i),this.resize(),i};Cl.prototype.addTrack=function(e,t,n,i){let o=new HN(e,t,n,i);return this._trackList.push(o),this._lastHeight=void 0,this.resize(),o};Cl.prototype.zoomTo=function(e,t){if(this._startJulian=e,this._endJulian=t,this._timeBarSecondsSpan=j.secondsDifference(t,e),this._clock&&this._clock.clockRange!==Hr.UNBOUNDED){let i=this._clock.startTime,o=this._clock.stopTime,r=j.secondsDifference(o,i),s=j.secondsDifference(i,this._startJulian),a=j.secondsDifference(o,this._endJulian);this._timeBarSecondsSpan>=r?(this._timeBarSecondsSpan=r,this._startJulian=this._clock.startTime,this._endJulian=this._clock.stopTime):s>0?(this._endJulian=j.addSeconds(this._endJulian,s,new j),this._startJulian=i,this._timeBarSecondsSpan=j.secondsDifference(this._endJulian,this._startJulian)):a<0&&(this._startJulian=j.addSeconds(this._startJulian,a,new j),this._endJulian=o,this._timeBarSecondsSpan=j.secondsDifference(this._endJulian,this._startJulian))}this._makeTics();let n=document.createEvent("Event");n.initEvent("setzoom",!0,!0),n.startJulian=this._startJulian,n.endJulian=this._endJulian,n.epochJulian=this._epochJulian,n.totalSpan=this._timeBarSecondsSpan,n.mainTicSpan=this._mainTicSpan,this._topDiv.dispatchEvent(n)};Cl.prototype.zoomFrom=function(e){let t=j.secondsDifference(this._scrubJulian,this._startJulian);e>1||t<0||t>this._timeBarSecondsSpan?t=this._timeBarSecondsSpan*.5:t+=t-this._timeBarSecondsSpan*.5;let n=this._timeBarSecondsSpan-t;this.zoomTo(j.addSeconds(this._startJulian,t-t*e,new j),j.addSeconds(this._endJulian,n*e-n,new j))};function B$(e){return e<10?`0${e.toString()}`:e.toString()}Cl.prototype.makeLabel=function(e){let t=j.toGregorianDate(e),n=t.millisecond,i=" UTC";if(n>0&&this._timeBarSecondsSpan<3600){for(i=Math.floor(n).toString();i.length<3;)i=`0${i}`;i=`.${i}`}return`${BEt[t.month-1]} ${t.day} ${t.year} ${B$(t.hour)}:${B$(t.minute)}:${B$(t.second)}${i}`};Cl.prototype.smallestTicInPixels=7;Cl.prototype._makeTics=function(){let e=this._timeBarEle,t=j.secondsDifference(this._scrubJulian,this._startJulian),n=Math.round(t*this._topDiv.clientWidth/this._timeBarSecondsSpan),i=n-8,o,r=this;this._needleEle.style.left=`${n.toString()}px`;let s="",a=.01,c=31536e6,d=1e-10,u=0,h=this._timeBarSecondsSpan;h<a?(h=a,this._timeBarSecondsSpan=a,this._endJulian=j.addSeconds(this._startJulian,a,new j)):h>c&&(h=c,this._timeBarSecondsSpan=c,this._endJulian=j.addSeconds(this._startJulian,c,new j));let p=this._timeBarEle.clientWidth;p<10&&(p=10);let g=this._startJulian,f=Math.min(h/p*1e-5,.4),y,T=j.toGregorianDate(g);h>31536e4?y=j.fromDate(new Date(Date.UTC(Math.floor(T.year/100)*100,0))):h>31536e3?y=j.fromDate(new Date(Date.UTC(Math.floor(T.year/10)*10,0))):h>86400?y=j.fromDate(new Date(Date.UTC(T.year,0))):y=j.fromDate(new Date(Date.UTC(T.year,T.month,T.day)));let S=j.secondsDifference(this._startJulian,j.addSeconds(y,f,new j)),C=S+h;this._epochJulian=y;function V(N){return Math.floor(S/N)*N}function R(N,z){return Math.ceil(N/z+.5)*z}function E(N){return(N-S)/h}function I(N,z){return N-z*Math.round(N/z)}this._rulerEle.innerHTML=this.makeLabel(j.addSeconds(this._endJulian,-a,new j));let W=this._rulerEle.offsetWidth+20;W<30&&(W=180);let X=u;u-=d;let P={startTime:S,startJulian:g,epochJulian:y,duration:h,timeBarWidth:p,getAlpha:E};this._highlightRanges.forEach(function(N){s+=N.render(P)});let F=0,b=0,L=0,Z=W/p;Z>1&&(Z=1),Z*=this._timeBarSecondsSpan;let G=-1,w=-1,M=mx.length,B;for(B=0;B<M;++B){let N=mx[B];if(++G,F=N,N>Z&&N>u)break;w<0&&p*(N/this._timeBarSecondsSpan)>=this.smallestTicInPixels&&(w=G)}if(G>0){for(;G>0;)if(--G,Math.abs(I(F,mx[G]))<1e-5){mx[G]>=u&&(b=mx[G]);break}if(w>=0)for(;w<G;){if(Math.abs(I(b,mx[w]))<1e-5&&mx[w]>=u){L=mx[w];break}++w}}u=X,u>d&&L<1e-5&&Math.abs(u-F)>d&&(L=u,u<=F+d&&(b=0));let U=-999999,O;if(p*(L/this._timeBarSecondsSpan)>=3)for(o=V(L);o<=C;o=R(o,L))s+=`<span class="cesium-timeline-ticTiny" style="left: ${Math.round(p*E(o)).toString()}px;"></span>`;if(p*(b/this._timeBarSecondsSpan)>=3)for(o=V(b);o<=C;o=R(o,b))s+=`<span class="cesium-timeline-ticSub" style="left: ${Math.round(p*E(o)).toString()}px;"></span>`;if(p*(F/this._timeBarSecondsSpan)>=2){this._mainTicSpan=F,C+=F,o=V(F);let N=j.computeTaiMinusUtc(y);for(;o<=C;){let z=j.addSeconds(g,o-S,new j);if(F>2.1){let te=j.computeTaiMinusUtc(z);Math.abs(te-N)>.1&&(o+=te-N,z=j.addSeconds(g,o-S,new j))}let J=Math.round(p*E(o)),ee=this.makeLabel(z);this._rulerEle.innerHTML=ee,O=this._rulerEle.offsetWidth,O<10&&(O=W);let H=J-(O/2-1);H>U?(U=H+O+5,s+=`<span class="cesium-timeline-ticMain" style="left: ${J.toString()}px;"></span><span class="cesium-timeline-ticLabel" style="left: ${H.toString()}px;">${ee}</span>`):s+=`<span class="cesium-timeline-ticSub" style="left: ${J.toString()}px;"></span>`,o=R(o,F)}}else this._mainTicSpan=-1;s+=`<span class="cesium-timeline-icon16" style="left:${i}px;bottom:0;background-position: 0 0;"></span>`,e.innerHTML=s,this._scrubElement=e.lastChild,this._context.clearRect(0,0,this._trackListEle.width,this._trackListEle.height),P.y=0,this._trackList.forEach(function(N){N.render(r._context,P),P.y+=N.height})};Cl.prototype.updateFromClock=function(){this._scrubJulian=this._clock.currentTime;let e=this._scrubElement;if(l(this._scrubElement)){let t=j.secondsDifference(this._scrubJulian,this._startJulian),n=Math.round(t*this._topDiv.clientWidth/this._timeBarSecondsSpan);this._lastXPos!==n&&(this._lastXPos=n,e.style.left=`${n-8}px`,this._needleEle.style.left=`${n}px`)}l(this._timelineDragLocation)&&(this._setTimeBarTime(this._timelineDragLocation,this._timelineDragLocation*this._timeBarSecondsSpan/this._topDiv.clientWidth),this.zoomTo(j.addSeconds(this._startJulian,this._timelineDrag,new j),j.addSeconds(this._endJulian,this._timelineDrag,new j)))};Cl.prototype._setTimeBarTime=function(e,t){if(e=Math.round(e),this._scrubJulian=j.addSeconds(this._startJulian,t,new j),this._scrubElement){let i=e-8;this._scrubElement.style.left=`${i.toString()}px`,this._needleEle.style.left=`${e.toString()}px`}let n=document.createEvent("Event");n.initEvent("settime",!0,!0),n.clientX=e,n.timeSeconds=t,n.timeJulian=this._scrubJulian,n.clock=this._clock,this._topDiv.dispatchEvent(n)};function OEt(e){return function(t){e._mouseMode!==Gm.touchOnly&&(t.button===0?(e._mouseMode=Gm.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition="-16px 0"),e._onMouseMove(t)):(e._mouseX=t.clientX,t.button===2?e._mouseMode=Gm.zoom:e._mouseMode=Gm.slide)),t.preventDefault()}}function YEt(e){return function(t){e._mouseMode=Gm.none,e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0"),e._timelineDrag=0,e._timelineDragLocation=void 0}}function zEt(e){return function(t){let n;if(e._mouseMode===Gm.scrub){t.preventDefault();let i=t.clientX-e._topDiv.getBoundingClientRect().left;i<0?(e._timelineDragLocation=0,e._timelineDrag=-.01*e._timeBarSecondsSpan):i>e._topDiv.clientWidth?(e._timelineDragLocation=e._topDiv.clientWidth,e._timelineDrag=.01*e._timeBarSecondsSpan):(e._timelineDragLocation=void 0,e._setTimeBarTime(i,i*e._timeBarSecondsSpan/e._topDiv.clientWidth))}else if(e._mouseMode===Gm.slide){if(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0){let i=n*e._timeBarSecondsSpan/e._topDiv.clientWidth;e.zoomTo(j.addSeconds(e._startJulian,i,new j),j.addSeconds(e._endJulian,i,new j))}}else e._mouseMode===Gm.zoom&&(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0&&e.zoomFrom(Math.pow(1.01,n)))}}function HEt(e){return function(t){let n=t.wheelDeltaY||t.wheelDelta||-t.detail;D$=Math.max(Math.min(Math.abs(n),D$),1),n/=D$,e.zoomFrom(Math.pow(1.05,-n))}}function KEt(e){return function(t){let n=t.touches.length,i,o,r=e._topDiv.getBoundingClientRect().left;t.preventDefault(),e._mouseMode=Gm.touchOnly,n===1?(i=j.secondsDifference(e._scrubJulian,e._startJulian),o=Math.round(i*e._topDiv.clientWidth/e._timeBarSecondsSpan+r),Math.abs(t.touches[0].clientX-o)<50?(e._touchMode=Sl.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition=n===1?"-16px 0":"0 0")):(e._touchMode=Sl.singleTap,e._touchState.centerX=t.touches[0].clientX-r)):n===2?(e._touchMode=Sl.slideZoom,e._touchState.centerX=(t.touches[0].clientX+t.touches[1].clientX)*.5-r,e._touchState.spanX=Math.abs(t.touches[0].clientX-t.touches[1].clientX)):e._touchMode=Sl.ignore}}function JEt(e){return function(t){let n=t.touches.length,i=e._topDiv.getBoundingClientRect().left;e._touchMode===Sl.singleTap?(e._touchMode=Sl.scrub,e._onTouchMove(t)):e._touchMode===Sl.scrub&&e._onTouchMove(t),e._mouseMode=Gm.touchOnly,n!==1?e._touchMode=n>0?Sl.ignore:Sl.none:e._touchMode===Sl.slideZoom&&(e._touchState.centerX=t.touches[0].clientX-i),e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0")}}function QEt(e){return function(t){let n,i,o,r,s,a,c=1,d=e._topDiv.getBoundingClientRect().left;e._touchMode===Sl.singleTap&&(e._touchMode=Sl.slideZoom),e._mouseMode=Gm.touchOnly,e._touchMode===Sl.scrub?(t.preventDefault(),t.changedTouches.length===1&&(i=t.changedTouches[0].clientX-d,i>=0&&i<=e._topDiv.clientWidth&&e._setTimeBarTime(i,i*e._timeBarSecondsSpan/e._topDiv.clientWidth))):e._touchMode===Sl.slideZoom&&(o=t.touches.length,o===2?(r=(t.touches[0].clientX+t.touches[1].clientX)*.5-d,s=Math.abs(t.touches[0].clientX-t.touches[1].clientX)):o===1&&(r=t.touches[0].clientX-d,s=0),l(r)&&(s>0&&e._touchState.spanX>0?(c=e._touchState.spanX/s,a=j.addSeconds(e._startJulian,(e._touchState.centerX*e._timeBarSecondsSpan-r*e._timeBarSecondsSpan*c)/e._topDiv.clientWidth,new j)):(n=e._touchState.centerX-r,a=j.addSeconds(e._startJulian,n*e._timeBarSecondsSpan/e._topDiv.clientWidth,new j)),e.zoomTo(a,j.addSeconds(a,e._timeBarSecondsSpan*c,new j)),e._touchState.centerX=r,e._touchState.spanX=s))}}Cl.prototype.resize=function(){let e=this.container.clientWidth,t=this.container.clientHeight;if(e===this._lastWidth&&t===this._lastHeight)return;this._trackContainer.style.height=`${t}px`;let n=1;this._trackList.forEach(function(i){n+=i.height}),this._trackListEle.style.height=`${n.toString()}px`,this._trackListEle.width=this._trackListEle.clientWidth,this._trackListEle.height=n,this._makeTics(),this._lastXPos=void 0,this._lastWidth=e,this._lastHeight=t};var KN=Cl;var NWo=x(_(),1);var XWo=x(_(),1);var BLe=x(DLe(),1);function $Et(e){let t=!1,n=window.screen;return l(n)&&(l(n.lockOrientation)?t=n.lockOrientation(e):l(n.mozLockOrientation)?t=n.mozLockOrientation(e):l(n.msLockOrientation)?t=n.msLockOrientation(e):l(n.orientation&&n.orientation.lock)&&(t=n.orientation.lock(e))),t}function OLe(){let e=window.screen;l(e)&&(l(e.unlockOrientation)?e.unlockOrientation():l(e.mozUnlockOrientation)?e.mozUnlockOrientation():l(e.msUnlockOrientation)?e.msUnlockOrientation():l(e.orientation&&e.orientation.unlock)&&e.orientation.unlock())}function eGt(e,t,n,i){i()||(n()?(t.useWebVR=!1,e._locked&&(OLe(),e._locked=!1),e._noSleep.disable(),xr.exitFullscreen(),n(!1)):(xr.fullscreen||xr.requestFullscreen(e._vrElement),e._noSleep.enable(),e._locked||(e._locked=$Et("landscape")),t.useWebVR=!0,n(!0)))}function HY(e,t){let n=this,i=Se.observable(xr.enabled),o=Se.observable(!1);this.isVRMode=void 0,Se.defineProperty(this,"isVRMode",{get:function(){return o()}}),this.isVREnabled=void 0,Se.defineProperty(this,"isVREnabled",{get:function(){return i()},set:function(s){i(s&&xr.enabled)}}),this.tooltip=void 0,Se.defineProperty(this,"tooltip",function(){return i()?o()?"Exit VR mode":"Enter VR mode":"VR mode is unavailable"});let r=Se.observable(!1);this._isOrthographic=void 0,Se.defineProperty(this,"_isOrthographic",{get:function(){return r()}}),this._eventHelper=new mr,this._eventHelper.add(e.preRender,function(){r(e.camera.frustum instanceof tn)}),this._locked=!1,this._noSleep=new BLe.default,this._command=yn(function(){eGt(n,e,o,r)},Se.getObservable(this,"isVREnabled")),this._vrElement=Cn(t)??document.body,this._callback=function(){!xr.fullscreen&&o()&&(e.useWebVR=!1,n._locked&&(OLe(),n._locked=!1),n._noSleep.disable(),o(!1))},document.addEventListener(xr.changeEventName,this._callback)}Object.defineProperties(HY.prototype,{vrElement:{get:function(){return this._vrElement},set:function(e){this._vrElement=e}},command:{get:function(){return this._command}}});HY.prototype.isDestroyed=function(){return!1};HY.prototype.destroy=function(){this._eventHelper.removeAll(),document.removeEventListener(xr.changeEventName,this._callback),he(this)};var JN=HY;var tGt="M 5.3125 6.375 C 4.008126 6.375 2.96875 7.4141499 2.96875 8.71875 L 2.96875 19.5 C 2.96875 20.8043 4.008126 21.875 5.3125 21.875 L 13.65625 21.875 C 13.71832 20.0547 14.845166 18.59375 16.21875 18.59375 C 17.592088 18.59375 18.71881 20.0552 18.78125 21.875 L 27.09375 21.875 C 28.398125 21.875 29.4375 20.8043 29.4375 19.5 L 29.4375 8.71875 C 29.4375 7.4141499 28.398125 6.375 27.09375 6.375 L 5.3125 6.375 z M 9.625 10.4375 C 11.55989 10.4375 13.125 12.03385 13.125 13.96875 C 13.125 15.90365 11.55989 17.46875 9.625 17.46875 C 7.69011 17.46875 6.125 15.90365 6.125 13.96875 C 6.125 12.03385 7.69011 10.4375 9.625 10.4375 z M 22.46875 10.4375 C 24.40364 10.4375 25.96875 12.03385 25.96875 13.96875 C 25.96875 15.90365 24.40364 17.46875 22.46875 17.46875 C 20.53386 17.46875 18.96875 15.90365 18.96875 13.96875 C 18.96875 12.03385 20.53386 10.4375 22.46875 10.4375 z",nGt="M 25.770585,2.4552065 C 15.72282,13.962707 10.699956,19.704407 8.1768352,22.580207 c -1.261561,1.4379 -1.902282,2.1427 -2.21875,2.5 -0.141624,0.1599 -0.208984,0.2355 -0.25,0.2813 l 0.6875,0.75 c 10e-5,-10e-5 0.679191,0.727 0.6875,0.7187 0.01662,-0.016 0.02451,-0.024 0.03125,-0.031 0.01348,-0.014 0.04013,-0.038 0.0625,-0.062 0.04474,-0.05 0.120921,-0.1315 0.28125,-0.3126 0.320657,-0.3619 0.956139,-1.0921 2.2187499,-2.5312 2.5252219,-2.8781 7.5454589,-8.6169 17.5937499,-20.1250005 l -1.5,-1.3125 z m -20.5624998,3.9063 c -1.304375,0 -2.34375,1.0391 -2.34375,2.3437 l 0,10.8125005 c 0,1.3043 1.039375,2.375 2.34375,2.375 l 2.25,0 c 1.9518039,-2.2246 7.4710958,-8.5584 13.5624998,-15.5312005 l -15.8124998,0 z m 21.1249998,0 c -1.855467,2.1245 -2.114296,2.4005 -3.59375,4.0936995 1.767282,0.1815 3.15625,1.685301 3.15625,3.500001 0,1.9349 -1.56511,3.5 -3.5,3.5 -1.658043,0 -3.043426,-1.1411 -3.40625,-2.6875 -1.089617,1.2461 -2.647139,2.9988 -3.46875,3.9375 0.191501,-0.062 0.388502,-0.094 0.59375,-0.094 1.373338,0 2.50006,1.4614 2.5625,3.2812 l 8.3125,0 c 1.304375,0 2.34375,-1.0707 2.34375,-2.375 l 0,-10.8125005 c 0,-1.3046 -1.039375,-2.3437 -2.34375,-2.3437 l -0.65625,0 z M 9.5518351,10.423906 c 1.9348899,0 3.4999999,1.596401 3.4999999,3.531301 0,1.9349 -1.56511,3.5 -3.4999999,3.5 -1.9348899,0 -3.4999999,-1.5651 -3.4999999,-3.5 0,-1.9349 1.56511,-3.531301 3.4999999,-3.531301 z m 4.2187499,10.312601 c -0.206517,0.2356 -0.844218,0.9428 -1.03125,1.1562 l 0.8125,0 c 0.01392,-0.4081 0.107026,-0.7968 0.21875,-1.1562 z";function KY(e,t,n){e=Cn(e);let i=new JN(t,n);i._exitVRPath=nGt,i._enterVRPath=tGt;let o=document.createElement("button");o.type="button",o.className="cesium-button cesium-vrButton",o.setAttribute("data-bind",'css: { "cesium-button-disabled" : _isOrthographic }, attr: { title: tooltip },click: command,enable: isVREnabled,cesiumSvgPath: { path: isVRMode ? _exitVRPath : _enterVRPath, width: 32, height: 32 }'),e.appendChild(o),Se.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties(KY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});KY.prototype.isDestroyed=function(){return!1};KY.prototype.destroy=function(){return this._viewModel.destroy(),Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var QN=KY;var sPo=x(_(),1);var YLe=new de;function KLe(e){let t=e.clock;t.currentTime=e.timeJulian,t.shouldAnimate=!1}function iGt(e){let t=e.getPropertyIds(),n="";return t.forEach(function(i){let o=e.getProperty(i);l(o)&&(n+=`<tr><th>${i}</th><td>${o}</td></tr>`)}),n.length>0&&(n=`<table class="cesium-infoBox-defaultTable"><tbody>${n}</tbody></table>`),n}function oGt(e){let t,n=[],i=e.getPropertyIds();for(t=0;t<i.length;t++){let r=i[t];/^name$/i.test(r)?n[0]=e.getProperty(r):/name/i.test(r)?n[1]=e.getProperty(r):/^title$/i.test(r)?n[2]=e.getProperty(r):/^(id|identifier)$/i.test(r)?n[3]=e.getProperty(r):/element/i.test(r)?n[4]=e.getProperty(r):/(id|identifier)$/i.test(r)&&(n[5]=e.getProperty(r))}let o=n.length;for(t=0;t<o;t++){let r=n[t];if(l(r)&&r!=="")return r}return"Unnamed Feature"}function zLe(e,t){let n=e.scene.pick(t.position);if(l(n)){let i=n.id??n.primitive.id;if(i instanceof Jo)return i;if(n instanceof js)return new Jo({name:oGt(n),description:iGt(n),feature:n})}if(l(e.scene.globe))return aGt(e,t.position)}var rGt=new j;function H$(e,t){if(l(t)){let n=t.clock;if(l(n)&&l(e)){let i=n.startTime,o=n.stopTime;j.equals(i,o)&&(o=j.addSeconds(i,A.EPSILON2,rGt)),e.updateFromClock(),e.zoomTo(i,o)}}}var sGt=new m;function aGt(e,t){let n=e.scene,i=n.camera.getPickRay(t),o=n.imageryLayers.pickImageryLayerFeatures(i,n);if(!l(o))return;let r=new Jo({id:"Loading...",description:"Loading feature information..."});return o.then(function(s){if(e.selectedEntity!==r)return;if(!l(s)||s.length===0){e.selectedEntity=HLe();return}let a=s[0],c=new Jo({id:a.name,description:a.description});if(l(a.position)){let d=e.scene.ellipsoid.cartographicToCartesian(a.position,sGt);c.position=new Hc(d)}e.selectedEntity=c},function(){e.selectedEntity===r&&(e.selectedEntity=HLe())}),r}function HLe(){return new Jo({id:"None",description:"No features found."})}function cGt(e,t){let n=e._geocoder,i=e._homeButton,o=e._sceneModePicker,r=e._projectionPicker,s=e._baseLayerPicker,a=e._animation,c=e._timeline,d=e._fullscreenButton,u=e._infoBox,h=e._selectionIndicator,p=t?"hidden":"visible";if(l(n)&&(n.container.style.visibility=p),l(i)&&(i.container.style.visibility=p),l(o)&&(o.container.style.visibility=p),l(r)&&(r.container.style.visibility=p),l(s)&&(s.container.style.visibility=p),l(a)&&(a.container.style.visibility=p),l(c)&&(c.container.style.visibility=p),l(d)&&d.viewModel.isFullscreenEnabled&&(d.container.style.visibility=p),l(u)&&(u.container.style.visibility=p),l(h)&&(h.container.style.visibility=p),e._container){let g=t||!l(d)?0:d.container.clientWidth;e._vrButton.container.style.right=`${g}px`,e.forceResize()}}function Hi(e,t){e=Cn(e),t=t??Y.EMPTY_OBJECT;let n=(!l(t.globe)||t.globe!==!1)&&(!l(t.baseLayerPicker)||t.baseLayerPicker!==!1),i=this,o=document.createElement("div");o.className="cesium-viewer",e.appendChild(o);let r=document.createElement("div");r.className="cesium-viewer-cesiumWidgetContainer",o.appendChild(r);let s=document.createElement("div");s.className="cesium-viewer-bottom",o.appendChild(s);let a=t.scene3DOnly??!1,c,d,u=!1;l(t.clockViewModel)?(d=t.clockViewModel,c=d.clock):(c=new Lh,d=new lN(c),u=!0);let h=new x9(r,{baseLayer:n&&l(t.selectedImageryProviderViewModel)||l(t.baseLayer)||l(t.imageryProvider)?!1:void 0,clock:c,shouldAnimate:t.shouldAnimate,skyBox:t.skyBox,skyAtmosphere:t.skyAtmosphere,sceneMode:t.sceneMode,ellipsoid:t.ellipsoid,mapProjection:t.mapProjection,globe:t.globe,orderIndependentTranslucency:t.orderIndependentTranslucency,automaticallyTrackDataSourceClocks:t.automaticallyTrackDataSourceClocks,contextOptions:t.contextOptions,useDefaultRenderLoop:t.useDefaultRenderLoop,targetFrameRate:t.targetFrameRate,showRenderLoopErrors:t.showRenderLoopErrors,useBrowserRecommendedResolution:t.useBrowserRecommendedResolution,creditContainer:l(t.creditContainer)?t.creditContainer:s,creditViewport:t.creditViewport,dataSources:t.dataSources,scene3DOnly:a,shadows:t.shadows,terrainShadows:t.terrainShadows,mapMode2D:t.mapMode2D,blurActiveElementOnCanvasFocus:t.blurActiveElementOnCanvasFocus,requestRenderMode:t.requestRenderMode,maximumRenderTimeChange:t.maximumRenderTimeChange,depthPlaneEllipsoidOffset:t.depthPlaneEllipsoidOffset,msaaSamples:t.msaaSamples}),p=h.scene,g=new mr;g.add(c.onTick,Hi.prototype._onTick,this);let f;if(!l(t.selectionIndicator)||t.selectionIndicator!==!1){let z=document.createElement("div");z.className="cesium-viewer-selectionIndicatorContainer",o.appendChild(z),f=new YN(z,p)}let y;if(!l(t.infoBox)||t.infoBox!==!1){let z=document.createElement("div");z.className="cesium-viewer-infoBoxContainer",o.appendChild(z),y=new PN(z);let J=y.viewModel;g.add(J.cameraClicked,Hi.prototype._onInfoBoxCameraClicked,this),g.add(J.closeClicked,Hi.prototype._onInfoBoxClockClicked,this)}let T=document.createElement("div");T.className="cesium-viewer-toolbar",o.appendChild(T);let S;if(!l(t.geocoder)||t.geocoder!==!1){let z=document.createElement("div");z.className="cesium-viewer-geocoderContainer",T.appendChild(z);let J;typeof t.geocoder=="string"?J=[new MS({scene:p,geocodeProviderType:t.geocoder})]:l(t.geocoder)&&typeof t.geocoder!="boolean"&&(J=Array.isArray(t.geocoder)?t.geocoder:[t.geocoder]),S=new AN({container:z,geocoderServices:J,scene:p}),g.add(S.viewModel.search.beforeExecute,Hi.prototype._clearObjects,this)}let C;(!l(t.homeButton)||t.homeButton!==!1)&&(C=new GN(T,p),l(S)&&g.add(C.viewModel.command.afterExecute,function(){let z=S.viewModel;z.searchText="",z.isSearchInProgress&&z.search()}),g.add(C.viewModel.command.beforeExecute,Hi.prototype._clearTrackedObject,this));let V;!a&&(!l(t.sceneModePicker)||t.sceneModePicker!==!1)&&(V=new DN(T,p));let R;t.projectionPicker&&(R=new UN(T,p));let E,I;if(n){let z=t.imageryProviderViewModels??VN(),J=t.terrainProviderViewModels??LN();E=new CN(T,{globe:p.globe,imageryProviderViewModels:z,selectedImageryProviderViewModel:t.selectedImageryProviderViewModel,terrainProviderViewModels:J,selectedTerrainProviderViewModel:t.selectedTerrainProviderViewModel}),I=T.getElementsByClassName("cesium-baseLayerPicker-dropDown")[0]}l(t.baseLayer)&&t.baseLayer!==!1&&(n&&(E.viewModel.selectedImagery=void 0),p.imageryLayers.removeAll(),p.imageryLayers.add(t.baseLayer)),l(t.terrainProvider)&&(n&&(E.viewModel.selectedTerrain=void 0),p.terrainProvider=t.terrainProvider),l(t.terrain)&&(n&&(p.globe.depthTestAgainstTerrain=!0),p.setTerrain(t.terrain));let W;if(!l(t.navigationHelpButton)||t.navigationHelpButton!==!1){let z=!0;try{if(l(window.localStorage)){let J=window.localStorage.getItem("cesium-hasSeenNavHelp");l(J)&&J?z=!1:window.localStorage.setItem("cesium-hasSeenNavHelp","true")}}catch{}W=new wN({container:T,instructionsInitiallyVisible:t.navigationInstructionsInitiallyVisible??z})}let X;if(!l(t.animation)||t.animation!==!1){let z=document.createElement("div");z.className="cesium-viewer-animationContainer",o.appendChild(z),X=new hN(z,new fN(d))}let P;if(!l(t.timeline)||t.timeline!==!1){let z=document.createElement("div");z.className="cesium-viewer-timelineContainer",o.appendChild(z),P=new KN(z,c),P.addEventListener("settime",KLe,!1),P.zoomTo(c.startTime,c.stopTime)}let F,b,L;(!l(t.fullscreenButton)||t.fullscreenButton!==!1)&&(L=document.createElement("div"),L.className="cesium-viewer-fullscreenContainer",o.appendChild(L),F=new ZN(L,t.fullscreenElement),b=Aa(F.viewModel,"isFullscreenEnabled",function(z){L.style.display=z?"block":"none",l(P)&&(P.container.style.right=`${L.clientWidth}px`,P.resize())}));let Z,G,w;if(t.vrButton){let z=document.createElement("div");z.className="cesium-viewer-vrContainer",o.appendChild(z),Z=new QN(z,p,t.fullScreenElement),G=Aa(Z.viewModel,"isVREnabled",function(J){z.style.display=J?"block":"none",l(F)&&(z.style.right=`${L.clientWidth}px`),l(P)&&(P.container.style.right=`${z.clientWidth}px`,P.resize())}),w=Aa(Z.viewModel,"isVRMode",function(J){cGt(i,J)})}this._baseLayerPickerDropDown=I,this._fullscreenSubscription=b,this._vrSubscription=G,this._vrModeSubscription=w,this._dataSourceChangedListeners={},this._container=e,this._bottomContainer=s,this._element=o,this._cesiumWidget=h,this._selectionIndicator=f,this._infoBox=y,this._clockViewModel=d,this._destroyClockViewModel=u,this._toolbar=T,this._homeButton=C,this._sceneModePicker=V,this._projectionPicker=R,this._baseLayerPicker=E,this._navigationHelpButton=W,this._animation=X,this._timeline=P,this._fullscreenButton=F,this._vrButton=Z,this._geocoder=S,this._eventHelper=g,this._lastWidth=0,this._lastHeight=0,this._enableInfoOrSelection=l(y)||l(f),this._selectedEntity=void 0,this._selectedEntityChanged=new be;let M=this._cesiumWidget.dataSources,B=this._cesiumWidget.dataSourceDisplay;g.add(M.dataSourceAdded,Hi.prototype._onDataSourceAdded,this),g.add(M.dataSourceRemoved,Hi.prototype._onDataSourceRemoved,this),g.add(p.postUpdate,Hi.prototype.resize,this);let U=M.length;for(let z=0;z<U;z++)this._dataSourceAdded(M,M.get(z));this._dataSourceAdded(void 0,B.defaultDataSource),g.add(M.dataSourceAdded,Hi.prototype._dataSourceAdded,this),g.add(M.dataSourceRemoved,Hi.prototype._dataSourceRemoved,this);function O(z){let J=zLe(i,z);l(J)?K.getValueOrUndefined(J.position,i.clock.currentTime)?i.trackedEntity=J:i.zoomTo(J):l(i.trackedEntity)&&(i.trackedEntity=void 0)}function N(z){i.selectedEntity=zLe(i,z)}h.screenSpaceEventHandler.setInputAction(N,pn.LEFT_CLICK),h.screenSpaceEventHandler.setInputAction(O,pn.LEFT_DOUBLE_CLICK),h._canAnimateUpdateCallback=this._updateCanAnimate(this)}Object.defineProperties(Hi.prototype,{container:{get:function(){return this._container}},creditDisplay:{get:function(){return this._cesiumWidget.creditDisplay}},bottomContainer:{get:function(){return this._bottomContainer}},cesiumWidget:{get:function(){return this._cesiumWidget}},selectionIndicator:{get:function(){return this._selectionIndicator}},infoBox:{get:function(){return this._infoBox}},geocoder:{get:function(){return this._geocoder}},homeButton:{get:function(){return this._homeButton}},sceneModePicker:{get:function(){return this._sceneModePicker}},projectionPicker:{get:function(){return this._projectionPicker}},baseLayerPicker:{get:function(){return this._baseLayerPicker}},navigationHelpButton:{get:function(){return this._navigationHelpButton}},animation:{get:function(){return this._animation}},timeline:{get:function(){return this._timeline}},fullscreenButton:{get:function(){return this._fullscreenButton}},vrButton:{get:function(){return this._vrButton}},dataSourceDisplay:{get:function(){return this._cesiumWidget.dataSourceDisplay}},entities:{get:function(){return this._cesiumWidget.entities}},dataSources:{get:function(){return this._cesiumWidget.dataSources}},canvas:{get:function(){return this._cesiumWidget.canvas}},scene:{get:function(){return this._cesiumWidget.scene}},shadows:{get:function(){return this.scene.shadowMap.enabled},set:function(e){this.scene.shadowMap.enabled=e}},terrainShadows:{get:function(){return this.scene.globe.shadows},set:function(e){this.scene.globe.shadows=e}},shadowMap:{get:function(){return this.scene.shadowMap}},imageryLayers:{get:function(){return this.scene.imageryLayers}},terrainProvider:{get:function(){return this.scene.terrainProvider},set:function(e){this.scene.terrainProvider=e}},camera:{get:function(){return this.scene.camera}},ellipsoid:{get:function(){return this._scene.ellipsoid}},postProcessStages:{get:function(){return this.scene.postProcessStages}},clock:{get:function(){return this._clockViewModel.clock}},clockViewModel:{get:function(){return this._clockViewModel}},screenSpaceEventHandler:{get:function(){return this._cesiumWidget.screenSpaceEventHandler}},targetFrameRate:{get:function(){return this._cesiumWidget.targetFrameRate},set:function(e){this._cesiumWidget.targetFrameRate=e}},useDefaultRenderLoop:{get:function(){return this._cesiumWidget.useDefaultRenderLoop},set:function(e){this._cesiumWidget.useDefaultRenderLoop=e}},resolutionScale:{get:function(){return this._cesiumWidget.resolutionScale},set:function(e){this._cesiumWidget.resolutionScale=e}},useBrowserRecommendedResolution:{get:function(){return this._cesiumWidget.useBrowserRecommendedResolution},set:function(e){this._cesiumWidget.useBrowserRecommendedResolution=e}},allowDataSourcesToSuspendAnimation:{get:function(){return this._cesiumWidget.allowDataSourcesToSuspendAnimation},set:function(e){this._cesiumWidget.allowDataSourcesToSuspendAnimation=e}},trackedEntity:{get:function(){return this._cesiumWidget.trackedEntity},set:function(e){this._cesiumWidget.trackedEntity=e}},selectedEntity:{get:function(){return this._selectedEntity},set:function(e){if(this._selectedEntity!==e){this._selectedEntity=e;let t=l(this._selectionIndicator)?this._selectionIndicator.viewModel:void 0;l(e)?l(t)&&t.animateAppear():l(t)&&t.animateDepart(),this._selectedEntityChanged.raiseEvent(e)}}},selectedEntityChanged:{get:function(){return this._selectedEntityChanged}},trackedEntityChanged:{get:function(){return this._cesiumWidget.trackedEntityChanged}},clockTrackedDataSource:{get:function(){return this._cesiumWidget.clockTrackedDataSource},set:function(e){this._cesiumWidget.clockTrackedDataSource!==e&&(this._cesiumWidget.clockTrackedDataSource=e,H$(this._timeline,e))}}});Hi.prototype.extend=function(e,t){e(this,t)};Hi.prototype.resize=function(){let e=this._cesiumWidget,t=this._container,n=t.clientWidth,i=t.clientHeight,o=l(this._animation),r=l(this._timeline);if(e.resize(),n===this._lastWidth&&i===this._lastHeight)return;let s=i-125,a=this._baseLayerPickerDropDown;if(l(a)&&(a.style.maxHeight=`${s}px`),l(this._geocoder)){let f=this._geocoder.searchSuggestionsContainer;f.style.maxHeight=`${s}px`}l(this._infoBox)&&(this._infoBox.viewModel.maxHeight=s);let c=this._timeline,d,u=0,h=5,p=3,g=0;if(o&&window.getComputedStyle(this._animation.container).visibility!=="hidden"){let f=this._lastWidth;d=this._animation.container,n>900?(u=169,f<=900&&(d.style.width="169px",d.style.height="112px",this._animation.resize())):n>=600?(u=136,(f<600||f>900)&&(d.style.width="136px",d.style.height="90px",this._animation.resize())):(u=106,(f>600||f===0)&&(d.style.width="106px",d.style.height="70px",this._animation.resize())),h=u+5}if(r&&window.getComputedStyle(this._timeline.container).visibility!=="hidden"){let f=this._fullscreenButton,y=this._vrButton,T=c.container,S=T.style;p=T.clientHeight+3,S.left=`${u}px`;let C=0;l(f)&&(C+=f.container.clientWidth),l(y)&&(C+=y.container.clientWidth),S.right=`${C}px`,c.resize()}!r&&l(this._fullscreenButton)&&(g=this._fullscreenButton.container.clientWidth),this._bottomContainer.style.left=`${h}px`,this._bottomContainer.style.bottom=`${p}px`,this._bottomContainer.style.right=`${g}px`,this._lastWidth=n,this._lastHeight=i};Hi.prototype.forceResize=function(){this._lastWidth=0,this.resize()};Hi.prototype.render=function(){this._cesiumWidget.render()};Hi.prototype.isDestroyed=function(){return!1};Hi.prototype.destroy=function(){return l(this.screenSpaceEventHandler)&&!this.screenSpaceEventHandler.isDestroyed()&&(this.screenSpaceEventHandler.removeInputAction(pn.LEFT_CLICK),this.screenSpaceEventHandler.removeInputAction(pn.LEFT_DOUBLE_CLICK)),this._container.removeChild(this._element),this._element.removeChild(this._toolbar),this._eventHelper.removeAll(),l(this._geocoder)&&(this._geocoder=this._geocoder.destroy()),l(this._homeButton)&&(this._homeButton=this._homeButton.destroy()),l(this._sceneModePicker)&&(this._sceneModePicker=this._sceneModePicker.destroy()),l(this._projectionPicker)&&(this._projectionPicker=this._projectionPicker.destroy()),l(this._baseLayerPicker)&&(this._baseLayerPicker=this._baseLayerPicker.destroy()),l(this._animation)&&(this._element.removeChild(this._animation.container),this._animation=this._animation.destroy()),l(this._timeline)&&(this._timeline.removeEventListener("settime",KLe,!1),this._element.removeChild(this._timeline.container),this._timeline=this._timeline.destroy()),l(this._fullscreenButton)&&(this._fullscreenSubscription.dispose(),this._element.removeChild(this._fullscreenButton.container),this._fullscreenButton=this._fullscreenButton.destroy()),l(this._vrButton)&&(this._vrSubscription.dispose(),this._vrModeSubscription.dispose(),this._element.removeChild(this._vrButton.container),this._vrButton=this._vrButton.destroy()),l(this._infoBox)&&(this._element.removeChild(this._infoBox.container),this._infoBox=this._infoBox.destroy()),l(this._selectionIndicator)&&(this._element.removeChild(this._selectionIndicator.container),this._selectionIndicator=this._selectionIndicator.destroy()),this._destroyClockViewModel&&(this._clockViewModel=this._clockViewModel.destroy()),this._cesiumWidget=this._cesiumWidget.destroy(),he(this)};Hi.prototype._dataSourceAdded=function(e,t){t.entities.collectionChanged.addEventListener(Hi.prototype._onEntityCollectionChanged,this)};Hi.prototype._dataSourceRemoved=function(e,t){let n=t.entities;n.collectionChanged.removeEventListener(Hi.prototype._onEntityCollectionChanged,this),l(this.selectedEntity)&&n.getById(this.selectedEntity.id)===this.selectedEntity&&(this.selectedEntity=void 0)};Hi.prototype._updateCanAnimate=function(e){return function(t){e._clockViewModel.canAnimate=t}};Hi.prototype._onTick=function(e){let t=e.currentTime,n,i=!1,o=this.selectedEntity,r=l(o)&&this._enableInfoOrSelection;r&&o.isShowing&&o.isAvailable(t)&&(this._cesiumWidget.dataSourceDisplay.getBoundingSphere(o,!0,YLe)!==ot.FAILED?n=YLe.center:l(o.position)&&(n=o.position.getValue(t,n)),i=l(n));let s=l(this._selectionIndicator)?this._selectionIndicator.viewModel:void 0;l(s)&&(s.position=m.clone(n,s.position),s.showSelection=r&&i,s.update());let a=l(this._infoBox)?this._infoBox.viewModel:void 0;l(a)&&(a.showInfo=r,a.enableCamera=i,a.isCameraTracking=this.trackedEntity===this.selectedEntity,r?(a.titleText=o.name??o.id,a.description=K.getValueOrDefault(o.description,t,"")):(a.titleText="",a.description=""))};Hi.prototype._onEntityCollectionChanged=function(e,t,n){let i=n.length;for(let o=0;o<i;o++){let r=n[o];this.selectedEntity===r&&(this.selectedEntity=void 0)}};Hi.prototype._onInfoBoxCameraClicked=function(e){if(e.isCameraTracking&&this.trackedEntity===this.selectedEntity)this.trackedEntity=void 0;else{let n=this.selectedEntity.position;l(n)?this.trackedEntity=this.selectedEntity:this.zoomTo(this.selectedEntity)}};Hi.prototype._clearTrackedObject=function(){this.trackedEntity=void 0};Hi.prototype._onInfoBoxClockClicked=function(e){this.selectedEntity=void 0};Hi.prototype._clearObjects=function(){this.trackedEntity=void 0,this.selectedEntity=void 0};Hi.prototype._onDataSourceChanged=function(e){this.clockTrackedDataSource===e&&H$(this.timeline,e)};Hi.prototype._onDataSourceAdded=function(e,t){this._cesiumWidget._automaticallyTrackDataSourceClocks&&t===this.clockTrackedDataSource&&H$(this._timeline,t);let n=t.entities.id,i=this._eventHelper.add(t.changedEvent,Hi.prototype._onDataSourceChanged,this);this._dataSourceChangedListeners[n]=i};Hi.prototype._onDataSourceRemoved=function(e,t){let n=t.entities.id;this._dataSourceChangedListeners[n](),this._dataSourceChangedListeners[n]=void 0};Hi.prototype.zoomTo=function(e,t){return this._cesiumWidget.zoomTo(e,t)};Hi.prototype.flyTo=function(e,t){return this._cesiumWidget.flyTo(e,t)};var K$=Hi;var lPo=x(_(),1);function lGt(e){let t=document.createElement("div");t.className="cesium-viewer-cesium3DTilesInspectorContainer",e.container.appendChild(t);let n=new yN(t,e.scene);Object.defineProperties(e,{cesium3DTilesInspector:{get:function(){return n}}})}var J$=lGt;var mPo=x(_(),1);function dGt(e){let t=document.createElement("div");t.className="cesium-viewer-cesiumInspectorContainer",e.container.appendChild(t);let n=new TN(t,e.scene);Object.defineProperties(e,{cesiumInspector:{get:function(){return n}}})}var Q$=dGt;var bPo=x(_(),1);function uGt(e,t){t=t??Y.EMPTY_OBJECT;let n=!0,i=t.flyToOnDrop??!0,o=new be,r=t.clearOnDrop??!0,s=t.dropTarget??e.container,a=t.clampToGround??!0,c=t.proxy;s=Cn(s),Object.defineProperties(e,{dropTarget:{get:function(){return s},set:function(u){JLe(s,d),s=u,j$(s,d)}},dropEnabled:{get:function(){return n},set:function(u){u!==n&&(u?j$(s,d):JLe(s,d),n=u)}},dropError:{get:function(){return o}},clearOnDrop:{get:function(){return r},set:function(u){r=u}},flyToOnDrop:{get:function(){return i},set:function(u){i=u}},proxy:{get:function(){return c},set:function(u){c=u}},clampToGround:{get:function(){return a},set:function(u){a=u}}});function d(u){qS(u),r&&(e.entities.removeAll(),e.dataSources.removeAll());let h=u.dataTransfer.files,p=h.length;for(let g=0;g<p;g++){let f=h[g],y=new FileReader;y.onload=mGt(e,f,c,a),y.onerror=hGt(e,f),y.readAsText(f)}}j$(s,d),e.destroy=W9(e,e.destroy,function(){e.dropEnabled=!1}),e._handleDrop=d}function qS(e){e.stopPropagation(),e.preventDefault()}function JLe(e,t){let n=e;l(n)&&(n.removeEventListener("drop",t,!1),n.removeEventListener("dragenter",qS,!1),n.removeEventListener("dragover",qS,!1),n.removeEventListener("dragexit",qS,!1))}function j$(e,t){e.addEventListener("drop",t,!1),e.addEventListener("dragenter",qS,!1),e.addEventListener("dragover",qS,!1),e.addEventListener("dragexit",qS,!1)}function mGt(e,t,n,i){let o=e.scene;return function(r){let s=t.name;try{let a;if(/\.czml$/i.test(s))a=I2.load(JSON.parse(r.target.result),{sourceUri:s});else if(/\.geojson$/i.test(s)||/\.json$/i.test(s)||/\.topojson$/i.test(s))a=Cy.load(JSON.parse(r.target.result),{sourceUri:s,clampToGround:i});else if(/\.(kml|kmz)$/i.test(s))a=OT.load(t,{sourceUri:s,proxy:n,camera:o.camera,canvas:o.canvas,clampToGround:i,screenOverlayContainer:e.container});else if(/\.gpx$/i.test(s))a=Cv.load(t,{sourceUri:s,proxy:n});else{e.dropError.raiseEvent(e,s,`Unrecognized file: ${s}`);return}l(a)&&e.dataSources.add(a).then(function(c){e.flyToOnDrop&&e.flyTo(c)}).catch(function(c){e.dropError.raiseEvent(e,s,c)})}catch(a){e.dropError.raiseEvent(e,s,a)}}}function hGt(e,t){return function(n){e.dropError.raiseEvent(e,t.name,n.target.error)}}var q$=uGt;var SPo=x(_(),1);function fGt(e,t){t=t??Y.EMPTY_OBJECT;let n=new MN({scene:e.scene,container:e.bottomContainer,lowFrameRateMessage:t.lowFrameRateMessage});Object.defineProperties(e,{performanceWatchdog:{get:function(){return n}}})}var $$=fGt;var FPo=x(_(),1);var PPo=x(_(),1);var ZPo=x(_(),1);function QLe(e){let t=e.split(`
16075
16075
  `),n;for(n=0;n<t.length&&!t[n].match(/\S/);n++);if(n===t.length)return"";let i="",o=/^\s*/,s=t[n].match(o)[0].length;for(let a=n;a<t.length;a++){let c=t[a];c.match(o)[0].length>=s&&(c=c.slice(s)),i+=`${c}
16076
16076
  `}return i}function Im(e){this._scene=e,this._voxelPrimitive=void 0,this._customShaderCompilationRemoveCallback=void 0,this._definedProperties=[],this._getPrimitiveFunctions=[],this._modelMatrixReady=!1;let t=this;function n(o){let{name:r,initialValue:s}=o;t._definedProperties.push(r);let a=o.setPrimitiveFunction;a===!0&&(a=function(u){t._voxelPrimitive[r]=u});let c=o.getPrimitiveFunction;c===!0&&(c=function(){t[r]=t._voxelPrimitive[r]}),l(c)&&t._getPrimitiveFunctions.push(c);let d=Se.observable();return Se.defineProperty(t,r,{get:function(){return d()},set:function(u){typeof s=="number"&&typeof u=="string"&&(u=Number(u),isNaN(u)&&(u=s)),typeof s=="boolean"&&typeof u=="number"&&(u=u===1),d(u),l(a)&&l(t._voxelPrimitive)&&(a(u),e.requestRender())}}),t[r]=s,d}function i(o,r){return function(s){let a=t._voxelPrimitive[o].clone();a[r]=s,t._voxelPrimitive[o]=a}}n({name:"inspectorVisible",initialValue:!0}),n({name:"displayVisible",initialValue:!1}),n({name:"transformVisible",initialValue:!1}),n({name:"boundsVisible",initialValue:!1}),n({name:"clippingVisible",initialValue:!1}),n({name:"shaderVisible",initialValue:!1}),n({name:"shaderString",initialValue:"",getPrimitiveFunction:function(){let o=t._voxelPrimitive.customShader.fragmentShaderText;t.shaderString=QLe(o)}}),n({name:"shaderCompilationMessage",initialValue:""}),n({name:"shaderCompilationSuccess",initialValue:!0}),n({name:"depthTest",initialValue:!1,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"show",initialValue:!0,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"disableUpdate",initialValue:!1,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"debugDraw",initialValue:!1,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"jitter",initialValue:!0,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"nearestSampling",initialValue:!0,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"screenSpaceError",initialValue:4,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"stepSize",initialValue:1,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"shapeIsBox",getPrimitiveFunction:function(){let o=t._voxelPrimitive.shape;t.shapeIsBox=o===vi.BOX}}),n({name:"shapeIsEllipsoid",getPrimitiveFunction:function(){let o=t._voxelPrimitive.shape;t.shapeIsEllipsoid=o===vi.ELLIPSOID}}),n({name:"shapeIsCylinder",getPrimitiveFunction:function(){let o=t._voxelPrimitive.shape;t.shapeIsCylinder=o===vi.CYLINDER}}),n({name:"boundsBoxMaxX",initialValue:0,setPrimitiveFunction:i("maxBounds","x"),getPrimitiveFunction:function(){t.boundsBoxMaxX=t._voxelPrimitive.maxBounds.x}}),n({name:"boundsBoxMinX",initialValue:0,setPrimitiveFunction:i("minBounds","x"),getPrimitiveFunction:function(){t.boundsBoxMinX=t._voxelPrimitive.minBounds.x}}),n({name:"boundsBoxMaxY",initialValue:0,setPrimitiveFunction:i("maxBounds","y"),getPrimitiveFunction:function(){t.boundsBoxMaxY=t._voxelPrimitive.maxBounds.y}}),n({name:"boundsBoxMinY",initialValue:0,setPrimitiveFunction:i("minBounds","y"),getPrimitiveFunction:function(){t.boundsBoxMinY=t._voxelPrimitive.minBounds.y}}),n({name:"boundsBoxMaxZ",initialValue:0,setPrimitiveFunction:i("maxBounds","z"),getPrimitiveFunction:function(){t.boundsBoxMaxZ=t._voxelPrimitive.maxBounds.z}}),n({name:"boundsBoxMinZ",initialValue:0,setPrimitiveFunction:i("minBounds","z"),getPrimitiveFunction:function(){t.boundsBoxMinZ=t._voxelPrimitive.minBounds.z}}),n({name:"boundsEllipsoidMaxLongitude",initialValue:0,setPrimitiveFunction:i("maxBounds","x"),getPrimitiveFunction:function(){t.boundsEllipsoidMaxLongitude=t._voxelPrimitive.maxBounds.x}}),n({name:"boundsEllipsoidMinLongitude",initialValue:0,setPrimitiveFunction:i("minBounds","x"),getPrimitiveFunction:function(){t.boundsEllipsoidMinLongitude=t._voxelPrimitive.minBounds.x}}),n({name:"boundsEllipsoidMaxLatitude",initialValue:0,setPrimitiveFunction:i("maxBounds","y"),getPrimitiveFunction:function(){t.boundsEllipsoidMaxLatitude=t._voxelPrimitive.maxBounds.y}}),n({name:"boundsEllipsoidMinLatitude",initialValue:0,setPrimitiveFunction:i("minBounds","y"),getPrimitiveFunction:function(){t.boundsEllipsoidMinLatitude=t._voxelPrimitive.minBounds.y}}),n({name:"boundsEllipsoidMaxHeight",initialValue:0,setPrimitiveFunction:i("maxBounds","z"),getPrimitiveFunction:function(){t.boundsEllipsoidMaxHeight=t._voxelPrimitive.maxBounds.z}}),n({name:"boundsEllipsoidMinHeight",initialValue:0,setPrimitiveFunction:i("minBounds","z"),getPrimitiveFunction:function(){t.boundsEllipsoidMinHeight=t._voxelPrimitive.minBounds.z}}),n({name:"boundsCylinderMaxRadius",initialValue:0,setPrimitiveFunction:i("maxBounds","x"),getPrimitiveFunction:function(){t.boundsCylinderMaxRadius=t._voxelPrimitive.maxBounds.x}}),n({name:"boundsCylinderMinRadius",initialValue:0,setPrimitiveFunction:i("minBounds","x"),getPrimitiveFunction:function(){t.boundsCylinderMinRadius=t._voxelPrimitive.minBounds.x}}),n({name:"boundsCylinderMaxAngle",initialValue:0,setPrimitiveFunction:i("maxBounds","y"),getPrimitiveFunction:function(){t.boundsCylinderMaxAngle=t._voxelPrimitive.maxBounds.y}}),n({name:"boundsCylinderMinAngle",initialValue:0,setPrimitiveFunction:i("minBounds","y"),getPrimitiveFunction:function(){t.boundsCylinderMinAngle=t._voxelPrimitive.minBounds.y}}),n({name:"boundsCylinderMaxHeight",initialValue:0,setPrimitiveFunction:i("maxBounds","z"),getPrimitiveFunction:function(){t.boundsCylinderMaxHeight=t._voxelPrimitive.maxBounds.z}}),n({name:"boundsCylinderMinHeight",initialValue:0,setPrimitiveFunction:i("minBounds","z"),getPrimitiveFunction:function(){t.boundsCylinderMinHeight=t._voxelPrimitive.minBounds.z}}),n({name:"clippingBoxMaxX",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","x"),getPrimitiveFunction:function(){t.clippingBoxMaxX=t._voxelPrimitive.maxClippingBounds.x}}),n({name:"clippingBoxMinX",initialValue:0,setPrimitiveFunction:i("minClippingBounds","x"),getPrimitiveFunction:function(){t.clippingBoxMinX=t._voxelPrimitive.minClippingBounds.x}}),n({name:"clippingBoxMaxY",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","y"),getPrimitiveFunction:function(){t.clippingBoxMaxY=t._voxelPrimitive.maxClippingBounds.y}}),n({name:"clippingBoxMinY",initialValue:0,setPrimitiveFunction:i("minClippingBounds","y"),getPrimitiveFunction:function(){t.clippingBoxMinY=t._voxelPrimitive.minClippingBounds.y}}),n({name:"clippingBoxMaxZ",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","z"),getPrimitiveFunction:function(){t.clippingBoxMaxZ=t._voxelPrimitive.maxClippingBounds.z}}),n({name:"clippingBoxMinZ",initialValue:0,setPrimitiveFunction:i("minClippingBounds","z"),getPrimitiveFunction:function(){t.clippingBoxMinZ=t._voxelPrimitive.minClippingBounds.z}}),n({name:"clippingEllipsoidMaxLongitude",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","x"),getPrimitiveFunction:function(){t.clippingEllipsoidMaxLongitude=t._voxelPrimitive.maxClippingBounds.x}}),n({name:"clippingEllipsoidMinLongitude",initialValue:0,setPrimitiveFunction:i("minClippingBounds","x"),getPrimitiveFunction:function(){t.clippingEllipsoidMinLongitude=t._voxelPrimitive.minClippingBounds.x}}),n({name:"clippingEllipsoidMaxLatitude",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","y"),getPrimitiveFunction:function(){t.clippingEllipsoidMaxLatitude=t._voxelPrimitive.maxClippingBounds.y}}),n({name:"clippingEllipsoidMinLatitude",initialValue:0,setPrimitiveFunction:i("minClippingBounds","y"),getPrimitiveFunction:function(){t.clippingEllipsoidMinLatitude=t._voxelPrimitive.minClippingBounds.y}}),n({name:"clippingEllipsoidMaxHeight",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","z"),getPrimitiveFunction:function(){t.clippingEllipsoidMaxHeight=t._voxelPrimitive.maxClippingBounds.z}}),n({name:"clippingEllipsoidMinHeight",initialValue:0,setPrimitiveFunction:i("minClippingBounds","z"),getPrimitiveFunction:function(){t.clippingEllipsoidMinHeight=t._voxelPrimitive.minClippingBounds.z}}),n({name:"clippingCylinderMaxRadius",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","x"),getPrimitiveFunction:function(){t.clippingCylinderMaxRadius=t._voxelPrimitive.maxClippingBounds.x}}),n({name:"clippingCylinderMinRadius",initialValue:0,setPrimitiveFunction:i("minClippingBounds","x"),getPrimitiveFunction:function(){t.clippingCylinderMinRadius=t._voxelPrimitive.minClippingBounds.x}}),n({name:"clippingCylinderMaxAngle",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","y"),getPrimitiveFunction:function(){t.clippingCylinderMaxAngle=t._voxelPrimitive.maxClippingBounds.y}}),n({name:"clippingCylinderMinAngle",initialValue:0,setPrimitiveFunction:i("minClippingBounds","y"),getPrimitiveFunction:function(){t.clippingCylinderMinAngle=t._voxelPrimitive.minClippingBounds.y}}),n({name:"clippingCylinderMaxHeight",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","z"),getPrimitiveFunction:function(){t.clippingCylinderMaxHeight=t._voxelPrimitive.maxClippingBounds.z}}),n({name:"clippingCylinderMinHeight",initialValue:0,setPrimitiveFunction:i("minClippingBounds","z"),getPrimitiveFunction:function(){t.clippingCylinderMinHeight=t._voxelPrimitive.minClippingBounds.z}}),n({name:"translationX",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&Gp(t)},getPrimitiveFunction:function(){t.translationX=v.getTranslation(t._voxelPrimitive.modelMatrix,new m).x}}),n({name:"translationY",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&Gp(t)},getPrimitiveFunction:function(){t.translationY=v.getTranslation(t._voxelPrimitive.modelMatrix,new m).y}}),n({name:"translationZ",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&Gp(t)},getPrimitiveFunction:function(){t.translationZ=v.getTranslation(t._voxelPrimitive.modelMatrix,new m).z}}),n({name:"scaleX",initialValue:1,setPrimitiveFunction:function(){t._modelMatrixReady&&Gp(t)},getPrimitiveFunction:function(){t.scaleX=v.getScale(t._voxelPrimitive.modelMatrix,new m).x}}),n({name:"scaleY",initialValue:1,setPrimitiveFunction:function(){t._modelMatrixReady&&Gp(t)},getPrimitiveFunction:function(){t.scaleY=v.getScale(t._voxelPrimitive.modelMatrix,new m).y}}),n({name:"scaleZ",initialValue:1,setPrimitiveFunction:function(){t._modelMatrixReady&&Gp(t)},getPrimitiveFunction:function(){t.scaleZ=v.getScale(t._voxelPrimitive.modelMatrix,new m).z}}),n({name:"angleX",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&Gp(t)}}),n({name:"angleY",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&Gp(t)}}),n({name:"angleZ",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&Gp(t)}})}var pGt=new m,bGt=new m,gGt=new va,yGt=new q;function Gp(e){let t=m.fromElements(e.translationX,e.translationY,e.translationZ,pGt),n=m.fromElements(e.scaleX,e.scaleY,e.scaleZ,bGt),i=gGt;i.heading=e.angleX,i.pitch=e.angleY,i.roll=e.angleZ;let o=q.fromHeadingPitchRoll(i,yGt),r=q.multiplyByScale(o,n,o);e._voxelPrimitive.modelMatrix=v.fromRotationTranslation(r,t,e._voxelPrimitive.modelMatrix)}Object.defineProperties(Im.prototype,{scene:{get:function(){return this._scene}},voxelPrimitive:{get:function(){return this._voxelPrimitive},set:function(e){if(l(this._customShaderCompilationRemoveCallback)&&this._customShaderCompilationRemoveCallback(),l(e)){this._voxelPrimitive=e;let t=this;t._customShaderCompilationRemoveCallback=t._voxelPrimitive.customShaderCompilationEvent.addEventListener(function(n){let i=t._voxelPrimitive.customShader.fragmentShaderText;t.shaderString=QLe(i),l(n)?(t.shaderCompilationMessage=n.message,t.shaderCompilationSuccess=!1):(t.shaderCompilationMessage="Shader compiled successfully!",t.shaderCompilationSuccess=!0)}),t._modelMatrixReady=!1;for(let n=0;n<t._getPrimitiveFunctions.length;n++)t._getPrimitiveFunctions[n]();t._modelMatrixReady=!0,Gp(t)}}}});Im.prototype.toggleInspector=function(){this.inspectorVisible=!this.inspectorVisible};Im.prototype.toggleDisplay=function(){this.displayVisible=!this.displayVisible};Im.prototype.toggleTransform=function(){this.transformVisible=!this.transformVisible};Im.prototype.toggleBounds=function(){this.boundsVisible=!this.boundsVisible};Im.prototype.toggleClipping=function(){this.clippingVisible=!this.clippingVisible};Im.prototype.toggleShader=function(){this.shaderVisible=!this.shaderVisible};Im.prototype.compileShader=function(){l(this._voxelPrimitive)&&(this._voxelPrimitive.customShader=new CS({fragmentShaderText:this.shaderString,uniforms:this._voxelPrimitive.customShader.uniforms}))};Im.prototype.shaderEditorKeyPress=function(e,t){if(t.keyCode===9){t.preventDefault();let n=t.target,i=n.selectionStart,o=n.selectionEnd,r=o,a=n.value.slice(i,o).split(`
16077
16077
  `),c=a.length,d;if(t.shiftKey)for(d=0;d<c;++d)a[d][0]===" "&&(a[d][1]===" "?(a[d]=a[d].substr(2),r-=2):(a[d]=a[d].substr(1),r-=1));else for(d=0;d<c;++d)a[d]=` ${a[d]}`,r+=2;let u=a.join(`
16078
- `);n.value=n.value.slice(0,i)+u+n.value.slice(o),n.selectionStart=i!==o?i:r,n.selectionEnd=r}else t.ctrlKey&&(t.keyCode===10||t.keyCode===13)&&this.compileShader();return!0};Im.prototype.isDestroyed=function(){return!1};Im.prototype.destroy=function(){let e=this;return this._definedProperties.forEach(function(t){Se.getObservable(e,t).dispose()}),he(this)};var jN=Im;function JY(e,t){e=Cn(e);let n=document.createElement("div"),i=new jN(t);this._viewModel=i,this._container=e,this._element=n;let o=document.createElement("div");o.textContent="Voxel Inspector",o.className="cesium-cesiumInspector-button",o.setAttribute("data-bind","click: toggleInspector"),n.appendChild(o),n.className="cesium-cesiumInspector cesium-VoxelInspector",n.setAttribute("data-bind",'css: { "cesium-cesiumInspector-visible" : inspectorVisible, "cesium-cesiumInspector-hidden" : !inspectorVisible}'),e.appendChild(n);let r=document.createElement("div");r.className="cesium-cesiumInspector-dropDown",n.appendChild(r);let s=$a.createSection,a=$a.createCheckbox,c=$a.createRangeInput,d=$a.createButton,u=s(r,"Display","displayVisible","toggleDisplay"),h=s(r,"Transform","transformVisible","toggleTransform"),p=s(r,"Bounds","boundsVisible","toggleBounds"),g=s(r,"Clipping","clippingVisible","toggleClipping"),f=s(r,"Shader","shaderVisible","toggleShader");u.appendChild(a("Depth Test","depthTest")),u.appendChild(a("Show","show")),u.appendChild(a("Disable Update","disableUpdate")),u.appendChild(a("Debug Draw","debugDraw")),u.appendChild(a("Jitter","jitter")),u.appendChild(a("Nearest Sampling","nearestSampling")),u.appendChild(c("Screen Space Error","screenSpaceError",0,128)),u.appendChild(c("Step Size","stepSize",0,2));let y=10,T=10,S=A.PI;h.appendChild(c("Translation X","translationX",-y,+y)),h.appendChild(c("Translation Y","translationY",-y,+y)),h.appendChild(c("Translation Z","translationZ",-y,+y)),h.appendChild(c("Scale X","scaleX",0,+T)),h.appendChild(c("Scale Y","scaleY",0,+T)),h.appendChild(c("Scale Z","scaleZ",0,+T)),h.appendChild(c("Heading","angleX",-S,+S)),h.appendChild(c("Pitch","angleY",-S,+S)),h.appendChild(c("Roll","angleZ",-S,+S));let C=vi.getMinBounds(vi.BOX),V=vi.getMaxBounds(vi.BOX),R=m.fromElements(vi.getMinBounds(vi.ELLIPSOID).x,vi.getMinBounds(vi.ELLIPSOID).y,-ne.WGS84.maximumRadius,new m),E=m.fromElements(vi.getMaxBounds(vi.ELLIPSOID).x,vi.getMaxBounds(vi.ELLIPSOID).y,1e7,new m),I=vi.getMinBounds(vi.CYLINDER),W=vi.getMaxBounds(vi.CYLINDER);_R("Max X","Min X","Max Y","Min Y","Max Z","Min Z","boundsBoxMaxX","boundsBoxMinX","boundsBoxMaxY","boundsBoxMinY","boundsBoxMaxZ","boundsBoxMinZ",C,V,"shapeIsBox",p),_R("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","boundsEllipsoidMaxLongitude","boundsEllipsoidMinLongitude","boundsEllipsoidMaxLatitude","boundsEllipsoidMinLatitude","boundsEllipsoidMaxHeight","boundsEllipsoidMinHeight",R,E,"shapeIsEllipsoid",p),_R("Max Radius","Min Radius","Max Angle","Min Angle","Max Height","Min Height","boundsCylinderMaxRadius","boundsCylinderMinRadius","boundsCylinderMaxAngle","boundsCylinderMinAngle","boundsCylinderMaxHeight","boundsCylinderMinHeight",I,W,"shapeIsCylinder",p),_R("Max X","Min X","Max Y","Min Y","Max Z","Min Z","clippingBoxMaxX","clippingBoxMinX","clippingBoxMaxY","clippingBoxMinY","clippingBoxMaxZ","clippingBoxMinZ",C,V,"shapeIsBox",g),_R("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","clippingEllipsoidMaxLongitude","clippingEllipsoidMinLongitude","clippingEllipsoidMaxLatitude","clippingEllipsoidMinLatitude","clippingEllipsoidMaxHeight","clippingEllipsoidMinHeight",R,E,"shapeIsEllipsoid",g),_R("Max Radius","Min Radius","Max Angle","Min Angle","Max Height","Min Height","clippingCylinderMaxRadius","clippingCylinderMinRadius","clippingCylinderMaxAngle","clippingCylinderMinAngle","clippingCylinderMaxHeight","clippingCylinderMinHeight",I,W,"shapeIsCylinder",g);let X=document.createElement("div");f.appendChild(X);let P=document.createElement("textarea");P.setAttribute("data-bind","textInput: shaderString, event: { keydown: shaderEditorKeyPress }"),X.className="cesium-cesiumInspector-styleEditor",X.appendChild(P);let F=d("Compile (Ctrl+Enter)","compileShader");X.appendChild(F);let b=document.createElement("label");b.style.display="block",b.setAttribute("data-bind","text: shaderCompilationMessage, style: {color: shaderCompilationSuccess ? 'green' : 'red'}"),X.appendChild(b),Se.applyBindings(i,n)}Object.defineProperties(JY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});JY.prototype.isDestroyed=function(){return!1};JY.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),he(this)};function _R(e,t,n,i,o,r,s,a,c,d,u,h,p,g,f,y){let T=$a.createRangeInput,S=p,C=g,V=y.appendChild(document.createElement("div"));V.setAttribute("data-bind",`if: ${f}`),V.appendChild(T(e,s,S.x,C.x)),V.appendChild(T(t,a,S.x,C.x)),V.appendChild(T(n,c,S.y,C.y)),V.appendChild(T(i,d,S.y,C.y)),V.appendChild(T(o,u,S.z,C.z)),V.appendChild(T(r,h,S.z,C.z))}var qN=JY;function xGt(e){let t=document.createElement("div");t.className="cesium-viewer-voxelInspectorContainer",e.container.appendChild(t);let n=new qN(t,e.scene);Object.defineProperties(e,{voxelInspector:{get:function(){return n}}})}var eee=xGt;globalThis.CESIUM_VERSION="1.128.5";var _Gt="1.128.5";return iRe(TGt);})();
16078
+ `);n.value=n.value.slice(0,i)+u+n.value.slice(o),n.selectionStart=i!==o?i:r,n.selectionEnd=r}else t.ctrlKey&&(t.keyCode===10||t.keyCode===13)&&this.compileShader();return!0};Im.prototype.isDestroyed=function(){return!1};Im.prototype.destroy=function(){let e=this;return this._definedProperties.forEach(function(t){Se.getObservable(e,t).dispose()}),he(this)};var jN=Im;function JY(e,t){e=Cn(e);let n=document.createElement("div"),i=new jN(t);this._viewModel=i,this._container=e,this._element=n;let o=document.createElement("div");o.textContent="Voxel Inspector",o.className="cesium-cesiumInspector-button",o.setAttribute("data-bind","click: toggleInspector"),n.appendChild(o),n.className="cesium-cesiumInspector cesium-VoxelInspector",n.setAttribute("data-bind",'css: { "cesium-cesiumInspector-visible" : inspectorVisible, "cesium-cesiumInspector-hidden" : !inspectorVisible}'),e.appendChild(n);let r=document.createElement("div");r.className="cesium-cesiumInspector-dropDown",n.appendChild(r);let s=$a.createSection,a=$a.createCheckbox,c=$a.createRangeInput,d=$a.createButton,u=s(r,"Display","displayVisible","toggleDisplay"),h=s(r,"Transform","transformVisible","toggleTransform"),p=s(r,"Bounds","boundsVisible","toggleBounds"),g=s(r,"Clipping","clippingVisible","toggleClipping"),f=s(r,"Shader","shaderVisible","toggleShader");u.appendChild(a("Depth Test","depthTest")),u.appendChild(a("Show","show")),u.appendChild(a("Disable Update","disableUpdate")),u.appendChild(a("Debug Draw","debugDraw")),u.appendChild(a("Jitter","jitter")),u.appendChild(a("Nearest Sampling","nearestSampling")),u.appendChild(c("Screen Space Error","screenSpaceError",0,128)),u.appendChild(c("Step Size","stepSize",0,2));let y=10,T=10,S=A.PI;h.appendChild(c("Translation X","translationX",-y,+y)),h.appendChild(c("Translation Y","translationY",-y,+y)),h.appendChild(c("Translation Z","translationZ",-y,+y)),h.appendChild(c("Scale X","scaleX",0,+T)),h.appendChild(c("Scale Y","scaleY",0,+T)),h.appendChild(c("Scale Z","scaleZ",0,+T)),h.appendChild(c("Heading","angleX",-S,+S)),h.appendChild(c("Pitch","angleY",-S,+S)),h.appendChild(c("Roll","angleZ",-S,+S));let C=vi.getMinBounds(vi.BOX),V=vi.getMaxBounds(vi.BOX),R=m.fromElements(vi.getMinBounds(vi.ELLIPSOID).x,vi.getMinBounds(vi.ELLIPSOID).y,-ne.WGS84.maximumRadius,new m),E=m.fromElements(vi.getMaxBounds(vi.ELLIPSOID).x,vi.getMaxBounds(vi.ELLIPSOID).y,1e7,new m),I=vi.getMinBounds(vi.CYLINDER),W=vi.getMaxBounds(vi.CYLINDER);_R("Max X","Min X","Max Y","Min Y","Max Z","Min Z","boundsBoxMaxX","boundsBoxMinX","boundsBoxMaxY","boundsBoxMinY","boundsBoxMaxZ","boundsBoxMinZ",C,V,"shapeIsBox",p),_R("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","boundsEllipsoidMaxLongitude","boundsEllipsoidMinLongitude","boundsEllipsoidMaxLatitude","boundsEllipsoidMinLatitude","boundsEllipsoidMaxHeight","boundsEllipsoidMinHeight",R,E,"shapeIsEllipsoid",p),_R("Max Radius","Min Radius","Max Angle","Min Angle","Max Height","Min Height","boundsCylinderMaxRadius","boundsCylinderMinRadius","boundsCylinderMaxAngle","boundsCylinderMinAngle","boundsCylinderMaxHeight","boundsCylinderMinHeight",I,W,"shapeIsCylinder",p),_R("Max X","Min X","Max Y","Min Y","Max Z","Min Z","clippingBoxMaxX","clippingBoxMinX","clippingBoxMaxY","clippingBoxMinY","clippingBoxMaxZ","clippingBoxMinZ",C,V,"shapeIsBox",g),_R("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","clippingEllipsoidMaxLongitude","clippingEllipsoidMinLongitude","clippingEllipsoidMaxLatitude","clippingEllipsoidMinLatitude","clippingEllipsoidMaxHeight","clippingEllipsoidMinHeight",R,E,"shapeIsEllipsoid",g),_R("Max Radius","Min Radius","Max Angle","Min Angle","Max Height","Min Height","clippingCylinderMaxRadius","clippingCylinderMinRadius","clippingCylinderMaxAngle","clippingCylinderMinAngle","clippingCylinderMaxHeight","clippingCylinderMinHeight",I,W,"shapeIsCylinder",g);let X=document.createElement("div");f.appendChild(X);let P=document.createElement("textarea");P.setAttribute("data-bind","textInput: shaderString, event: { keydown: shaderEditorKeyPress }"),X.className="cesium-cesiumInspector-styleEditor",X.appendChild(P);let F=d("Compile (Ctrl+Enter)","compileShader");X.appendChild(F);let b=document.createElement("label");b.style.display="block",b.setAttribute("data-bind","text: shaderCompilationMessage, style: {color: shaderCompilationSuccess ? 'green' : 'red'}"),X.appendChild(b),Se.applyBindings(i,n)}Object.defineProperties(JY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});JY.prototype.isDestroyed=function(){return!1};JY.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),he(this)};function _R(e,t,n,i,o,r,s,a,c,d,u,h,p,g,f,y){let T=$a.createRangeInput,S=p,C=g,V=y.appendChild(document.createElement("div"));V.setAttribute("data-bind",`if: ${f}`),V.appendChild(T(e,s,S.x,C.x)),V.appendChild(T(t,a,S.x,C.x)),V.appendChild(T(n,c,S.y,C.y)),V.appendChild(T(i,d,S.y,C.y)),V.appendChild(T(o,u,S.z,C.z)),V.appendChild(T(r,h,S.z,C.z))}var qN=JY;function xGt(e){let t=document.createElement("div");t.className="cesium-viewer-voxelInspectorContainer",e.container.appendChild(t);let n=new qN(t,e.scene);Object.defineProperties(e,{voxelInspector:{get:function(){return n}}})}var eee=xGt;globalThis.CESIUM_VERSION="1.128.6";var _Gt="1.128.6";return iRe(TGt);})();