@mapgis/cesium 17.6.0 → 17.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Build/Cesium/Cesium.js +19 -19
- package/Build/Cesium/index.cjs +19 -19
- package/Build/Cesium/index.js +10 -10
- package/README.md +9 -0
- package/package.json +1 -1
package/Build/Cesium/Cesium.js
CHANGED
|
@@ -92,7 +92,7 @@ var Cesium=(()=>{var AMe=Object.create;var F3=Object.defineProperty;var DMe=Obje
|
|
|
92
92
|
See https://github.com/richtr/NoSleep.js/issues/15 for more details.
|
|
93
93
|
`),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(){Ioe()?(this._wakeLock&&this._wakeLock.release(),this._wakeLock=null):Eoe()?this.noSleepTimer&&(console.warn(`
|
|
94
94
|
NoSleep now disabled for older iOS devices.
|
|
95
|
-
`),window.clearInterval(this.noSleepTimer),this.noSleepTimer=null):this.noSleepVideo.pause(),this.enabled=!1}};TMe.exports=Moe});var N5t={};YMe(N5t,{AlphaMode:()=>jm,AlphaPipelineStage:()=>_P,AnchorPointDirect:()=>ZW,AnchorPointIndirect:()=>RW,Animation:()=>t3,AnimationViewModel:()=>n3,Appearance:()=>lo,ApproximateTerrainHeights:()=>ki,ArcGISTiledElevationTerrainProvider:()=>tQ,ArcGisBaseMapType:()=>cf,ArcGisMapServerImageryProvider:()=>rg,ArcGisMapService:()=>mm,ArcType:()=>Mn,ArticulationStageType:()=>sl,AssociativeArray:()=>zt,Atmosphere:()=>x5,AtmospherePipelineStage:()=>$W,AttributeCompression:()=>Tn,AttributeSurfacePrimitive:()=>Kie,AttributeType:()=>kt,AutoExposure:()=>T5,AutomaticUniforms:()=>Ab,Axis:()=>In,AxisAlignedBoundingBox:()=>Fg,B3dmLoader:()=>UW,B3dmParser:()=>pS,BaseLayerPicker:()=>OD,BaseLayerPickerViewModel:()=>BD,BatchTable:()=>Z1,BatchTableHierarchy:()=>ey,BatchTexture:()=>ad,BatchTexturePipelineStage:()=>SP,Billboard:()=>cr,BillboardCollection:()=>Ku,BillboardGraphics:()=>bl,BillboardVisualizer:()=>OE,BingMapsGeocoderService:()=>iQ,BingMapsImageryProvider:()=>S5,BingMapsStyle:()=>UR,BlendEquation:()=>Nc,BlendFunction:()=>Cr,BlendOption:()=>Zr,BlendingState:()=>Gn,BoundingRectangle:()=>qe,BoundingSphere:()=>de,BoundingSphereState:()=>vt,BoundingVolumeSemantics:()=>ay,BoxEmitter:()=>fte,BoxGeometry:()=>al,BoxGeometryUpdater:()=>vw,BoxGraphics:()=>w1,BoxOutlineGeometry:()=>ep,BrdfLutGenerator:()=>V5,Buffer:()=>nt,BufferLoader:()=>rS,BufferUsage:()=>we,CPUStylingPipelineStage:()=>ZP,CallbackPositionProperty:()=>Nw,CallbackProperty:()=>xp,Camera:()=>Di,CameraEventAggregator:()=>K5,CameraEventType:()=>Mo,CameraFlightPath:()=>Y5,Cartesian2:()=>Y,Cartesian3:()=>h,Cartesian4:()=>re,Cartographic:()=>me,CartographicGeocoderService:()=>aQ,CatmullRomSpline:()=>cQ,Cesium3DContentGroup:()=>qb,Cesium3DTile:()=>fh,Cesium3DTileBatchTable:()=>ty,Cesium3DTileColorBlendMode:()=>Sl,Cesium3DTileContent:()=>Rte,Cesium3DTileContentFactory:()=>c0,Cesium3DTileContentState:()=>xi,Cesium3DTileContentType:()=>Eo,Cesium3DTileCustomContent:()=>Vq,Cesium3DTileFeature:()=>Ya,Cesium3DTileFeatureTable:()=>da,Cesium3DTileOptimizationHint:()=>Qd,Cesium3DTileOptimizations:()=>cT,Cesium3DTilePass:()=>oo,Cesium3DTilePassState:()=>Eh,Cesium3DTilePointFeature:()=>Uy,Cesium3DTileRefine:()=>Yo,Cesium3DTileStyle:()=>_C,Cesium3DTileStyleEngine:()=>MS,Cesium3DTilesInspector:()=>qD,Cesium3DTilesInspectorViewModel:()=>jD,Cesium3DTilesVoxelProvider:()=>Wte,Cesium3DTileset:()=>ea,Cesium3DTilesetBaseTraversal:()=>WS,Cesium3DTilesetCache:()=>ES,Cesium3DTilesetGraphics:()=>D1,Cesium3DTilesetHeatmap:()=>IS,Cesium3DTilesetMetadata:()=>Gy,Cesium3DTilesetMostDetailedTraversal:()=>wS,Cesium3DTilesetSkipTraversal:()=>PS,Cesium3DTilesetStatistics:()=>md,Cesium3DTilesetTraversal:()=>Ja,Cesium3DTilesetVisualizer:()=>HN,CesiumInspector:()=>r3,CesiumInspectorViewModel:()=>o3,CesiumTerrainProvider:()=>P_,CesiumWidget:()=>GD,Check:()=>so,CheckerboardMaterialProperty:()=>YZ,CircleEmitter:()=>q5,CircleGeometry:()=>wQ,CircleOutlineGeometry:()=>WQ,ClassificationModelDrawCommand:()=>Iv,ClassificationPipelineStage:()=>CP,ClassificationPrimitive:()=>UV,ClassificationType:()=>ti,ClearCommand:()=>ci,ClipFillUtil:()=>Nv,ClippingGeometry:()=>Hie,ClippingGeometryFS:()=>ID,ClippingGeometryType:()=>Tf,ClippingGeometryVS:()=>MD,ClippingGltfFS:()=>XD,ClippingGltfVS:()=>wD,ClippingPlane:()=>ly,ClippingPlaneCollection:()=>Lr,ClippingPolygon:()=>nZ,ClippingPolygonCollection:()=>qd,ClippingType:()=>SN,Clock:()=>rp,ClockRange:()=>Is,ClockStep:()=>hr,ClockViewModel:()=>zD,CloudCollection:()=>Dte,CloudType:()=>KR,Color:()=>z,ColorBlendMode:()=>Ll,ColorCorrection:()=>dD,ColorCurrection:()=>NA,ColorGeometryInstanceAttribute:()=>cn,ColorMaterialProperty:()=>hn,Command:()=>foe,ComponentDatatype:()=>H,Composite3DTileContent:()=>_p,CompositeEntityCollection:()=>Iq,CompositeMaterialProperty:()=>OZ,CompositePositionProperty:()=>xc,CompositeProperty:()=>wl,CompressedTextureBuffer:()=>G2,ComputeCommand:()=>Cp,ComputeEngine:()=>f5,ConditionsExpression:()=>H5,ConeEmitter:()=>zte,Config:()=>e2,ConstantPositionProperty:()=>rd,ConstantProperty:()=>Ai,ConstantSpline:()=>E2,ContentMetadata:()=>kw,Context:()=>RN,ContextLimits:()=>en,CoplanarPolygonGeometry:()=>N2,CoplanarPolygonGeometryLibrary:()=>xb,CoplanarPolygonOutlineGeometry:()=>Pm,CornerType:()=>Zo,CorrelationGroup:()=>GW,CorridorGeometry:()=>zf,CorridorGeometryLibrary:()=>No,CorridorGeometryUpdater:()=>QN,CorridorGraphics:()=>P1,CorridorOutlineGeometry:()=>Y2,Credit:()=>Kt,CreditDisplay:()=>hF,CubeMap:()=>Fc,CubeMapFace:()=>$E,CubicRealPolynomial:()=>G_,CullFace:()=>Ci,CullingVolume:()=>Or,CumulusCloud:()=>pm,CustomDataSource:()=>n9,CustomHeightmapTerrainProvider:()=>nj,CustomShader:()=>tL,CustomShaderMode:()=>_y,CustomShaderPipelineStage:()=>wP,CustomShaderTranslucencyMode:()=>Qx,CuttingFilterUtil:()=>IN,CylinderGeometry:()=>Yf,CylinderGeometryLibrary:()=>H_,CylinderGeometryUpdater:()=>i9,CylinderGraphics:()=>v1,CylinderOutlineGeometry:()=>K2,CzmlDataSource:()=>d9,DataSource:()=>Ds,DataSourceClock:()=>Yp,DataSourceCollection:()=>u9,DataSourceDisplay:()=>X9,DebugAppearance:()=>ene,DebugCameraPrimitive:()=>z0,DebugInspector:()=>bF,DebugModelMatrixPrimitive:()=>yF,DefaultProxy:()=>cj,DepthFunction:()=>xl,DepthPlane:()=>SF,DequantizationPipelineStage:()=>PP,DerivedCommand:()=>bu,DeveloperError:()=>be,DeviceOrientationCameraController:()=>CF,DirectionalLight:()=>ine,DiscardEmptyTileImagePolicy:()=>kR,DiscardMissingTileImagePolicy:()=>y5,DistanceDisplayCondition:()=>nn,DistanceDisplayConditionGeometryInstanceAttribute:()=>Vi,DoubleEndedPriorityQueue:()=>Q_,DoublyLinkedList:()=>$2,DracoLoader:()=>Vp,DrawCommand:()=>Je,DynamicAtmosphereLightingType:()=>gC,DynamicGeometryBatch:()=>tC,DynamicGeometryUpdater:()=>Ji,EarthOrientationParameters:()=>r2,EarthOrientationParametersSample:()=>Zg,EasingFunction:()=>Xs,EllipseGeometry:()=>$l,EllipseGeometryLibrary:()=>Dd,EllipseGeometryUpdater:()=>h9,EllipseGraphics:()=>N1,EllipseOutlineGeometry:()=>Zu,Ellipsoid:()=>oe,EllipsoidGeodesic:()=>Sb,EllipsoidGeometry:()=>ps,EllipsoidGeometryUpdater:()=>f9,EllipsoidGraphics:()=>F1,EllipsoidOutlineGeometry:()=>cl,EllipsoidPrimitive:()=>LF,EllipsoidRhumbLine:()=>Xc,EllipsoidSurfaceAppearance:()=>Mh,EllipsoidSurfaceVoxelAppearance:()=>IZ,EllipsoidSurfaceVoxelAppearanceFS:()=>oN,EllipsoidSurfaceVoxelAppearanceVS:()=>iN,EllipsoidTangentPlane:()=>hs,EllipsoidTerrainProvider:()=>Of,EllipsoidalOccluder:()=>hb,Empty3DTileContent:()=>Du,EncodedCartesian3:()=>Si,Entity:()=>Jr,EntityCluster:()=>qu,EntityCollection:()=>qa,EntityView:()=>W9,Event:()=>Se,EventHelper:()=>ws,Expression:()=>dh,ExpressionNodeType:()=>Ut,ExtrapolationType:()=>Eu,FeatureDetection:()=>yn,FeatureIdPipelineStage:()=>Jx,FlattenTool:()=>eoe,Fog:()=>RF,ForEach:()=>Ae,FrameBufferType:()=>g0,FrameRateMonitor:()=>GF,FrameState:()=>EF,Framebuffer:()=>qo,FramebufferManager:()=>Yi,FrustumCommands:()=>IF,FrustumGeometry:()=>q_,FrustumOutlineGeometry:()=>iE,Fullscreen:()=>ms,FullscreenButton:()=>a3,FullscreenButtonViewModel:()=>s3,GeoJsonDataSource:()=>$9,GeoJsonLoader:()=>kW,GeocodeType:()=>rx,Geocoder:()=>l3,GeocoderService:()=>bV,GeocoderViewModel:()=>c3,GeographicProjection:()=>Co,GeographicTilingScheme:()=>zo,Geometry:()=>Mt,Geometry3DTileContent:()=>MN,GeometryAttribute:()=>Me,GeometryAttributes:()=>Dn,GeometryFactory:()=>yj,GeometryInstance:()=>Pt,GeometryInstanceAttribute:()=>ll,GeometryOffsetAttribute:()=>Nn,GeometryPipeline:()=>gi,GeometryPipelineStage:()=>UP,GeometryType:()=>Xm,GeometryUpdater:()=>Qi,GeometryUpdaterSet:()=>oC,GeometryVisualizer:()=>S9,GetFeatureInfoFormat:()=>RC,Globe:()=>JF,GlobeDepth:()=>QF,GlobeEffect:()=>Qie,GlobeSurfaceShaderSet:()=>PF,GlobeSurfaceTile:()=>Xh,GlobeSurfaceTileProvider:()=>AF,GlobeTranslucency:()=>DF,GlobeTranslucencyFramebuffer:()=>jF,GlobeTranslucencyState:()=>qF,GltfBufferViewLoader:()=>iZ,GltfDracoLoader:()=>oZ,GltfGpmLoader:()=>IW,GltfGpmLocal:()=>pZ,GltfImageLoader:()=>rZ,GltfIndexBufferLoader:()=>sZ,GltfJsonLoader:()=>cZ,GltfLoader:()=>Yc,GltfLoaderUtil:()=>eu,GltfMeshPrimitiveGpmLoader:()=>WW,GltfStructuralMetadataLoader:()=>LW,GltfTextureLoader:()=>lZ,GltfVertexBufferLoader:()=>dZ,GoogleEarthEnterpriseImageryProvider:()=>Lne,GoogleEarthEnterpriseMapsProvider:()=>sF,GoogleEarthEnterpriseMetadata:()=>Ib,GoogleEarthEnterpriseTerrainData:()=>yV,GoogleEarthEnterpriseTerrainProvider:()=>Vj,GoogleEarthEnterpriseTileInformation:()=>rE,GoogleMaps:()=>e1,GpxDataSource:()=>i5,GregorianDate:()=>ob,GridImageryProvider:()=>Vne,GridMaterialProperty:()=>jZ,GroundGeometryUpdater:()=>Ei,GroundPolylineGeometry:()=>t1,GroundPolylinePrimitive:()=>pp,GroundPrimitive:()=>Ua,GroundPrimitiveRectangleGenerater:()=>qie,GroupMetadata:()=>wZ,HashMap:()=>nh,HeadingPitchRange:()=>ul,HeadingPitchRoll:()=>Rs,Heap:()=>qG,HeightReference:()=>rt,HeightmapEncoding:()=>Gm,HeightmapTerrainData:()=>Ec,HeightmapTessellator:()=>NL,HermitePolynomialApproximation:()=>aE,HermiteSpline:()=>zg,HilbertOrder:()=>gV,HomeButton:()=>u3,HomeButtonViewModel:()=>d3,HorizontalOrigin:()=>po,I3SBuildingSceneLayerExplorer:()=>Loe,I3SBuildingSceneLayerExplorerViewModel:()=>m3,I3SDataProvider:()=>bf,I3SDecoder:()=>$F,I3SFeature:()=>eA,I3SField:()=>tA,I3SGeometry:()=>dG,I3SLayer:()=>NC,I3SNode:()=>uG,I3SStatistics:()=>oA,I3SSublayer:()=>sA,I3SSymbology:()=>iA,I3dmLoader:()=>zW,I3dmParser:()=>bS,Iau2000Orientation:()=>lE,Iau2006XysData:()=>s2,Iau2006XysSample:()=>Z_,IauOrientationAxes:()=>dE,IauOrientationParameters:()=>cE,ImageBasedLighting:()=>Qb,ImageBasedLightingPipelineStage:()=>tP,ImageMaterialProperty:()=>Rx,Imagery:()=>iG,ImageryLayer:()=>zs,ImageryLayerCollection:()=>UF,ImageryLayerFeatureInfo:()=>lf,ImageryProvider:()=>Sd,ImageryState:()=>$i,Implicit3DTileContent:()=>AZ,ImplicitAvailabilityBitstream:()=>NZ,ImplicitMetadataView:()=>FZ,ImplicitSubdivisionScheme:()=>$s,ImplicitSubtree:()=>BS,ImplicitSubtreeCache:()=>Q5,ImplicitSubtreeMetadata:()=>XN,ImplicitTileCoordinates:()=>Iy,ImplicitTileset:()=>Ey,IndexDatatype:()=>je,InfoBox:()=>p3,InfoBoxViewModel:()=>h3,InspectorShared:()=>qc,InstanceAttributeSemantic:()=>Dr,InstancingPipelineStage:()=>yP,InterceptorsUtil:()=>VL,InterpolationAlgorithm:()=>Fj,InterpolationType:()=>dp,Intersect:()=>qt,IntersectionTests:()=>Pi,Intersections2D:()=>pb,Interval:()=>wa,InvertClassification:()=>hG,Ion:()=>tp,IonGeocoderService:()=>hE,IonImageryProvider:()=>cg,IonResource:()=>jl,IonWorldImageryStyle:()=>lg,Iso8601:()=>tt,JobScheduler:()=>aA,JobType:()=>zc,JsonMetadataTable:()=>uy,JulianDate:()=>ee,KTX2Transcoder:()=>pE,KeyboardEventModifier:()=>Aa,KeyframeNode:()=>$o,KmlCamera:()=>o5,KmlDataSource:()=>u5,KmlLookAt:()=>r5,KmlTour:()=>s5,KmlTourFlyTo:()=>a5,KmlTourWait:()=>c5,Label:()=>uT,LabelCollection:()=>ah,LabelGraphics:()=>bp,LabelStyle:()=>kr,LabelVisualizer:()=>C9,LagrangePolynomialApproximation:()=>fE,LeapSecond:()=>Uo,Light:()=>Ene,LightManager:()=>q0,LightingMode:()=>Cd,LightingModel:()=>m0,LightingPipelineStage:()=>zP,LinearApproximation:()=>n1,LinearSpline:()=>kg,M3D10MetadataTable:()=>Kv,M3D20MetadataTable:()=>Bv,M3D21MetadataTable:()=>Ix,M3DAttContentFactory:()=>Dw,M3DAttParser:()=>r0,M3DB3dmLoader:()=>Jv,M3DContentFactory:()=>rT,M3DContentType:()=>Vy,M3DDataLoader:()=>tN,M3DDataParser:()=>eN,M3DGltfLoader:()=>Hv,M3DGltfParser:()=>zv,M3DI3dmLoader:()=>Qv,M3DPntsLoader:()=>$v,M3DPntsParser:()=>jv,M3DTidParser:()=>Bw,M3DTree:()=>aoe,MAPGIS_VERSION:()=>v5t,ManagedArray:()=>Wc,MapGISM3D:()=>RS,MapGISM3DSet:()=>Ml,MapGISM3DTileContent:()=>Xx,MapGISM3DVoxelContent:()=>aN,MapGISVoxelPrimitive:()=>ZS,MapMode2D:()=>mu,MapProjection:()=>zj,MapboxImageryProvider:()=>aF,MapboxStyleImageryProvider:()=>Ine,Material:()=>vi,MaterialAppearance:()=>ar,MaterialPipelineStage:()=>BP,MaterialProperty:()=>Hr,Math:()=>X,Matrix2:()=>vo,Matrix3:()=>$,Matrix4:()=>P,Megatexture:()=>fG,MeshPrimitiveGpmLocal:()=>wW,MetadataClass:()=>la,MetadataClassProperty:()=>Wx,MetadataComponentType:()=>fn,MetadataEntity:()=>di,MetadataEnum:()=>TW,MetadataEnumValue:()=>xW,MetadataPicking:()=>cA,MetadataPickingPipelineStage:()=>Yu,MetadataPipelineStage:()=>eh,MetadataSchema:()=>Gl,MetadataSchemaLoader:()=>uZ,MetadataSemantic:()=>OS,MetadataTable:()=>Zl,MetadataTableProperty:()=>iW,MetadataType:()=>Qt,MipmapHint:()=>$f,Model:()=>Oa,Model3DTileContent:()=>Il,ModelAlphaOptions:()=>yv,ModelAnimation:()=>BW,ModelAnimationChannel:()=>YW,ModelAnimationCollection:()=>OW,ModelAnimationLoop:()=>jd,ModelAnimationState:()=>Mp,ModelArticulation:()=>iP,ModelArticulationStage:()=>nP,ModelClippingGeometryPipelineStage:()=>cP,ModelClippingPlanesPipelineStage:()=>sP,ModelClippingPolygonsPipelineStage:()=>uP,ModelColorPipelineStage:()=>Hx,ModelComponents:()=>pn,ModelDrawCommand:()=>Mv,ModelDrawCommands:()=>Wv,ModelExplosion:()=>doe,ModelExplosionPipelineStage:()=>uv,ModelFeature:()=>KW,ModelFeatureTable:()=>JW,ModelFlattenPipelineStage:()=>pv,ModelGraphics:()=>Ob,ModelLightingOptions:()=>Rv,ModelMatrixUpdateStage:()=>gP,ModelNode:()=>mP,ModelPMPipelineStage:()=>mv,ModelRenderResources:()=>Tv,ModelRuntimeNode:()=>TP,ModelRuntimePrimitive:()=>fv,ModelSceneGraph:()=>Av,ModelSilhouettePipelineStage:()=>Cv,ModelSkin:()=>bv,ModelSplitterPipelineStage:()=>Vv,ModelStatistics:()=>Dv,ModelStretchPipelineStage:()=>lv,ModelSwipePipelineStage:()=>vv,ModelType:()=>_r,ModelUtility:()=>bn,ModelVisualizer:()=>L9,Moon:()=>dA,MorphTargetsPipelineStage:()=>KP,MorphWeightSpline:()=>Kj,MortonOrder:()=>lx,Multiple3DTileContent:()=>J1,MultisampleFramebuffer:()=>PW,NavigationHelpButton:()=>b3,NavigationHelpButtonViewModel:()=>f3,NearFarScalar:()=>sn,NetCDFLoader:()=>rN,NeverTileDiscardPolicy:()=>Xne,NodeRenderResources:()=>Zv,NodeStatisticsPipelineStage:()=>xP,NodeTransformationProperty:()=>A1,OIDTexturePipelineStage:()=>av,OIT:()=>mA,Occluder:()=>yE,OffsetGeometryInstanceAttribute:()=>jo,OpenCageGeocoderService:()=>qj,OpenStreetMapImageryProvider:()=>fg,OrderedGroundPrimitiveCollection:()=>m9,OrientedBoundingBox:()=>Jn,OrthographicFrustum:()=>En,OrthographicOffCenterFrustum:()=>Ws,OutlineForOid:()=>YA,OutlineForPrimitives:()=>BA,OutlineRenderMode:()=>Wp,Packable:()=>$j,PackableForInterpolation:()=>e8,ParallelLight:()=>RG,Particle:()=>yG,ParticleBurst:()=>Nne,ParticleEmitter:()=>Fne,ParticleSystem:()=>Ane,Pass:()=>Ze,PassState:()=>Rr,PathGraphics:()=>Kb,PathVisualizer:()=>V9,PeliasGeocoderService:()=>mE,PerInstanceColorAppearance:()=>Wn,PerformanceDisplay:()=>bg,PerformanceWatchdog:()=>g3,PerformanceWatchdogViewModel:()=>y3,PerspectiveFrustum:()=>zi,PerspectiveOffCenterFrustum:()=>nd,PickDepth:()=>pA,PickDepthFramebuffer:()=>bA,PickFramebuffer:()=>gA,PickedMetadataInfo:()=>yA,Picking:()=>_A,PickingPipelineStage:()=>HP,PinBuilder:()=>Wb,PixelDatatype:()=>ke,PixelFormat:()=>Ye,Plane:()=>Ln,PlaneGeometry:()=>s1,PlaneGeometryUpdater:()=>b9,PlaneGraphics:()=>Ew,PlaneOutlineGeometry:()=>_E,PntsLoader:()=>kv,PntsParser:()=>SS,PointCloud:()=>CA,PointCloudEyeDomeLighting:()=>Ep,PointCloudShading:()=>$m,PointCloudStylingPipelineStage:()=>QP,PointGraphics:()=>U1,PointLight:()=>ZG,PointPrimitive:()=>Za,PointPrimitiveCollection:()=>HZ,PointVisualizer:()=>R9,PolygonGeometry:()=>Pc,PolygonGeometryLibrary:()=>Li,PolygonGeometryUpdater:()=>y9,PolygonGraphics:()=>yp,PolygonHierarchy:()=>aa,PolygonOutlineGeometry:()=>SE,PolygonPipeline:()=>Hi,PolygonSwiperCullingCommand:()=>aD,Polyline:()=>mh,PolylineArrowMaterialProperty:()=>$Z,PolylineCollection:()=>Fp,PolylineColorAppearance:()=>js,PolylineDashMaterialProperty:()=>tR,PolylineGeometry:()=>Pb,PolylineGeometryUpdater:()=>E9,PolylineGlowMaterialProperty:()=>iR,PolylineGraphics:()=>Tl,PolylineMaterialAppearance:()=>hc,PolylineOutlineMaterialProperty:()=>CT,PolylinePipeline:()=>Ro,PolylineVisualizer:()=>M9,PolylineVolumeAnimationGeometry:()=>AG,PolylineVolumeGeometry:()=>od,PolylineVolumeGeometryLibrary:()=>sp,PolylineVolumeGeometryUpdater:()=>g9,PolylineVolumeGraphics:()=>k1,PolylineVolumeOutlineGeometry:()=>GE,PositionProperty:()=>fp,PositionPropertyArray:()=>Oy,PostProcessStage:()=>Jo,PostProcessStageCollection:()=>HA,PostProcessStageComposite:()=>Zd,PostProcessStageLibrary:()=>Tu,PostProcessStageSampleMode:()=>gm,PostProcessStageTextureCache:()=>JC,PpeMetadata:()=>XW,PpeSource:()=>uoe,PpeTexture:()=>MW,Primitive:()=>kn,PrimitiveCollection:()=>yd,PrimitiveLoadPlan:()=>hS,PrimitiveOutlineGenerator:()=>mS,PrimitiveOutlinePipelineStage:()=>$P,PrimitivePipeline:()=>R1,PrimitiveRenderResources:()=>Gv,PrimitiveState:()=>ys,PrimitiveStatisticsPipelineStage:()=>ev,PrimitiveType:()=>Fe,ProjectionPicker:()=>T3,ProjectionPickerViewModel:()=>x3,Property:()=>Q,PropertyArray:()=>rR,PropertyAttribute:()=>hy,PropertyAttributeProperty:()=>eW,PropertyBag:()=>Hd,PropertyTable:()=>rs,PropertyTexture:()=>my,PropertyTextureProperty:()=>$w,ProviderViewModel:()=>ia,Proxy:()=>i8,QuadraticRealPolynomial:()=>Hl,QuadtreeOccluders:()=>kF,QuadtreePrimitive:()=>HF,QuadtreeTile:()=>zF,QuadtreeTileLoadState:()=>tc,QuadtreeTileProvider:()=>nie,QuantizedMeshTerrainData:()=>W_,QuarticRealPolynomial:()=>x2,Quaternion:()=>Be,QuaternionSpline:()=>EE,Queue:()=>Qg,Ray:()=>Un,Rectangle:()=>he,RectangleCollisionChecker:()=>d1,RectangleGeometry:()=>Mu,RectangleGeometryLibrary:()=>_a,RectangleGeometryUpdater:()=>x9,RectangleGraphics:()=>gp,RectangleOutlineGeometry:()=>u1,ReferenceFrame:()=>Fo,ReferenceProperty:()=>Ky,RenderDebug:()=>toe,RenderState:()=>Ne,Renderbuffer:()=>zu,RenderbufferFormat:()=>ld,Request:()=>Mr,RequestErrorEvent:()=>Vf,RequestScheduler:()=>rc,RequestState:()=>Mi,RequestType:()=>Zs,Resource:()=>Xe,ResourceCache:()=>qi,ResourceCacheKey:()=>tu,ResourceCacheStatistics:()=>CW,ResourceLoader:()=>Ni,ResourceLoaderState:()=>wt,Rotation:()=>yh,RuntimeError:()=>le,S2Cell:()=>vb,SDFSettings:()=>Ha,SampledPositionProperty:()=>Tc,SampledProperty:()=>tm,Sampler:()=>mn,ScaledPositionProperty:()=>V0,Scene:()=>mD,SceneFramebuffer:()=>DC,SceneMode:()=>ae,SceneMode2DPipelineStage:()=>tv,SceneModePicker:()=>S3,SceneModePickerViewModel:()=>_3,SceneProjectorEx:()=>Bie,SceneProjectorExFS:()=>ED,SceneProjectorSourceType:()=>Ys,SceneTransforms:()=>go,SceneTransitioner:()=>QA,ScreenSpaceCameraController:()=>$A,ScreenSpaceEventHandler:()=>wu,ScreenSpaceEventType:()=>qn,SectionCylinderGeometry:()=>DS,SectionFrameBuffer:()=>CN,SectionPlaneGeometry:()=>Qa,SectionPolygonGeometry:()=>Sg,SectionRender:()=>EN,SectionRenderUtil:()=>Fv,SelectedFeatureIdPipelineStage:()=>jx,SelectionIndicator:()=>V3,SelectionIndicatorViewModel:()=>L3,SensorVolumePortionToDisplay:()=>lR,ShaderBuilder:()=>TS,ShaderCache:()=>LN,ShaderDestination:()=>xe,ShaderFunction:()=>xv,ShaderProgram:()=>Yt,ShaderSource:()=>Oe,ShaderStruct:()=>gv,ShadowMap:()=>yf,ShadowMapShader:()=>H0,ShadowMode:()=>Kn,ShadowVolumeAppearance:()=>vu,ShowGeometryInstanceAttribute:()=>$n,Simon1994PlanetaryPositions:()=>yx,SimplePolylineGeometry:()=>V8,SingleTileImageryProvider:()=>ZC,SkinningPipelineStage:()=>iv,SkyAtmosphere:()=>fD,SkyBox:()=>oL,SpatialNode:()=>oD,Spdcf:()=>EW,SpecularEnvironmentCubeMap:()=>Tp,SphereEmitter:()=>Wie,SphereGeometry:()=>Z8,SphereOutlineGeometry:()=>Nb,Spherical:()=>PE,Spline:()=>or,SplitDirection:()=>os,Splitter:()=>xG,SpotLight:()=>GG,StaticGeometryColorBatch:()=>_h,StaticGeometryPerMaterialBatch:()=>Ch,StaticGroundGeometryColorBatch:()=>gR,StaticGroundGeometryPerMaterialBatch:()=>_9,StaticGroundPolylinePerMaterialBatch:()=>I9,StaticOutlineGeometryBatch:()=>TR,StencilConstants:()=>an,StencilFunction:()=>Zi,StencilOperation:()=>Ft,SteppedSpline:()=>vE,Stereographic:()=>hl,StorageType:()=>zx,StripeMaterialProperty:()=>aR,StripeOrientation:()=>Op,StructuralMetadata:()=>fr,StyleCommandsNeeded:()=>Xp,StyleExpression:()=>Pie,Sun:()=>LD,SunLight:()=>vy,SunPostProcess:()=>nD,SupportedImageFormats:()=>VW,SvgPathBindingHandler:()=>UD,SwipeModeType:()=>Hn,SwiperCullingFramebuffer:()=>cD,TaskProcessor:()=>io,Terrain:()=>VD,TerrainData:()=>qh,TerrainEncoding:()=>rl,TerrainFillMesh:()=>aG,TerrainMesh:()=>Im,TerrainOffsetProperty:()=>z1,TerrainProvider:()=>Hs,TerrainQuantization:()=>va,TerrainState:()=>dr,Texture:()=>it,Texture3D:()=>sN,TextureAtlas:()=>dT,TextureCache:()=>VN,TextureMagnificationFilter:()=>Gi,TextureManager:()=>rD,TextureMinificationFilter:()=>xn,TextureUniform:()=>noe,TextureWrap:()=>Fn,TileAvailability:()=>$h,TileBoundingRegion:()=>fc,TileBoundingS2Cell:()=>$1,TileBoundingSphere:()=>Dc,TileBoundingVolume:()=>vie,TileCoordinatesImageryProvider:()=>RD,TileDiscardPolicy:()=>Fie,TileEdge:()=>Qn,TileImagery:()=>oG,TileMapServiceImageryProvider:()=>HT,TileMetadata:()=>zw,TileOrientedBoundingBox:()=>Uc,TileProviderError:()=>Sr,TileReplacementQueue:()=>YF,TileSelectionResult:()=>Fi,TileState:()=>Aie,Tileset3DTileContent:()=>wN,TilesetMetadata:()=>cN,TilesetPipelineStage:()=>QW,TilingScheme:()=>R8,TimeConstants:()=>Wi,TimeDynamicImagery:()=>GC,TimeDynamicPointCloud:()=>vG,TimeInterval:()=>ei,TimeIntervalCollection:()=>Ns,TimeIntervalCollectionPositionProperty:()=>Hy,TimeIntervalCollectionProperty:()=>Jy,TimeStandard:()=>Ii,Timeline:()=>G3,TimelineHighlightRange:()=>Z3,TimelineTrack:()=>R3,Tipsify:()=>L2,ToggleButtonViewModel:()=>s_,Tonemapper:()=>gg,Transforms:()=>Rt,TranslationRotationScale:()=>Tx,TranslucentTileClassification:()=>TA,TridiagonalSystemSolver:()=>zL,TrustedServers:()=>LL,TweenCollection:()=>jC,UniformState:()=>ZN,UniformType:()=>CG,UrlTemplateImageryProvider:()=>Qc,UrlUtil:()=>x4,Util:()=>mT,VERSION:()=>P5t,VRButton:()=>I3,VRButtonViewModel:()=>E3,VRTheWorldTerrainProvider:()=>X8,VaryingType:()=>ioe,Vector3DTileBatch:()=>o0,Vector3DTileClampedPolylines:()=>ON,Vector3DTileContent:()=>KN,Vector3DTileGeometry:()=>Fy,Vector3DTilePoints:()=>AN,Vector3DTilePolygons:()=>DN,Vector3DTilePolylines:()=>HS,Vector3DTilePrimitive:()=>zS,VelocityOrientationProperty:()=>r9,VelocityVectorProperty:()=>$S,VertexArray:()=>Bn,VertexArrayFacade:()=>My,VertexAttributeSemantic:()=>mt,VertexFormat:()=>ve,VerticalExaggeration:()=>sr,VerticalExaggerationPipelineStage:()=>rv,VerticalOrigin:()=>hi,VideoSynchronizer:()=>M8,View:()=>zC,Viewer:()=>woe,ViewportQuad:()=>VG,ViewshedAnalysis:()=>Oie,Visibility:()=>is,VisualAnalysisManager:()=>h5,Visualizer:()=>dte,VoxelBoxShape:()=>D0,VoxelCell:()=>_G,VoxelContent:()=>j5,VoxelCylinderShape:()=>U0,VoxelEllipsoidShape:()=>SC,VoxelInspector:()=>w3,VoxelInspectorViewModel:()=>X3,VoxelPrimitive:()=>i_,VoxelProvider:()=>zie,VoxelRenderResources:()=>D5,VoxelShape:()=>Yie,VoxelShapeType:()=>Xo,VoxelTraversal:()=>SG,VulkanConstants:()=>w8,WallGeometry:()=>UE,WallGeometryLibrary:()=>g1,WallGeometryUpdater:()=>T9,WallGraphics:()=>Hb,WallOutlineGeometry:()=>zE,WebGLConstants:()=>te,WebMapServiceImageryProvider:()=>lF,WebMapTileServiceImageryProvider:()=>uF,WebMercatorProjection:()=>Vo,WebMercatorTilingScheme:()=>Js,WindingOrder:()=>ca,WireframeIndexGenerator:()=>PV,WireframePipelineStage:()=>sv,_shadersAcesTonemappingStage:()=>LA,_shadersAdditiveBlend:()=>eD,_shadersAdjustTranslucentFS:()=>bG,_shadersAllMaterialAppearanceFS:()=>KE,_shadersAllMaterialAppearanceVS:()=>HE,_shadersAmbientOcclusionGenerate:()=>VA,_shadersAmbientOcclusionModulate:()=>ZA,_shadersAspectRampMaterial:()=>tI,_shadersAtmosphereCommon:()=>ug,_shadersAtmosphereStageFS:()=>jW,_shadersAtmosphereStageVS:()=>qW,_shadersBasicMaterialAppearanceFS:()=>JE,_shadersBasicMaterialAppearanceVS:()=>QE,_shadersBillboardCollectionFS:()=>uN,_shadersBillboardCollectionVS:()=>mN,_shadersBlackAndWhite:()=>RA,_shadersBloomComposite:()=>GA,_shadersBrdfLutGeneratorFS:()=>C5,_shadersBrightPass:()=>tD,_shadersBrightness:()=>EA,_shadersBumpMapMaterial:()=>nI,_shadersCPUStylingStageFS:()=>VP,_shadersCPUStylingStageVS:()=>LP,_shadersCheckerboardMaterial:()=>iI,_shadersCloudCollectionFS:()=>$5,_shadersCloudCollectionVS:()=>eF,_shadersCloudNoiseFS:()=>tF,_shadersCloudNoiseVS:()=>nF,_shadersCompareAndPackTranslucentDepth:()=>xA,_shadersCompositeOITFS:()=>uA,_shadersCompositeTranslucentClassification:()=>kC,_shadersContrastBias:()=>IA,_shadersCustomShaderStageFS:()=>GP,_shadersCustomShaderStageVS:()=>RP,_shadersCzmBuiltins:()=>V1,_shadersDepthOfField:()=>MA,_shadersDepthPlaneFS:()=>gF,_shadersDepthPlaneVS:()=>xF,_shadersDepthView:()=>XA,_shadersDepthViewPacked:()=>roe,_shadersDotMaterial:()=>oI,_shadersEdgeDetection:()=>wA,_shadersElevationBandMaterial:()=>rI,_shadersElevationContourMaterial:()=>sI,_shadersElevationRampMaterial:()=>aI,_shadersEllipsoidFS:()=>$R,_shadersEllipsoidSurfaceAppearanceFS:()=>VF,_shadersEllipsoidSurfaceAppearanceVS:()=>ZF,_shadersEllipsoidVS:()=>eG,_shadersFXAA:()=>vA,_shadersFXAA3_11:()=>zA,_shadersFadeMaterial:()=>cI,_shadersFeatureIdStageFS:()=>EP,_shadersFeatureIdStageVS:()=>IP,_shadersFilmicTonemapping:()=>WA,_shadersGaussianBlur1D:()=>t_,_shadersGeometryStageFS:()=>vP,_shadersGeometryStageVS:()=>NP,_shadersGlobeFS:()=>wF,_shadersGlobeVS:()=>WF,_shadersGridMaterial:()=>lI,_shadersGroundAtmosphere:()=>tG,_shadersHSBToRGB:()=>oX,_shadersHSLToRGB:()=>rX,_shadersImageBasedLightingStageFS:()=>eP,_shadersInstancingStageCommon:()=>hP,_shadersInstancingStageVS:()=>pP,_shadersIntersectBox:()=>X5,_shadersIntersectClippingPlanes:()=>M5,_shadersIntersectCylinder:()=>w5,_shadersIntersectDepth:()=>I5,_shadersIntersectEllipsoid:()=>W5,_shadersIntersectLongitude:()=>zR,_shadersIntersection:()=>TC,_shadersIntersectionUtils:()=>E5,_shadersLegacyInstancingStageVS:()=>fP,_shadersLensFlare:()=>FA,_shadersLightingStageFS:()=>kP,_shadersMaterialStageFS:()=>YP,_shadersMegatexture:()=>A5,_shadersMetadataStageFS:()=>MP,_shadersMetadataStageVS:()=>XP,_shadersModelClippingGeometryStageFS:()=>aP,_shadersModelClippingPlanesStageFS:()=>rP,_shadersModelClippingPolygonsStageFS:()=>dP,_shadersModelClippingPolygonsStageVS:()=>lP,_shadersModelColorStageFS:()=>oP,_shadersModelExplosionStageVS:()=>dv,_shadersModelFS:()=>wv,_shadersModelFlattenStageVS:()=>hv,_shadersModelSilhouetteStageFS:()=>_v,_shadersModelSilhouetteStageVS:()=>Sv,_shadersModelSplitterStageFS:()=>Lv,_shadersModelStretchStageVS:()=>cv,_shadersModelSwipePipelineStageFS:()=>Pv,_shadersModelVS:()=>Xv,_shadersModifiedReinhardTonemapping:()=>AA,_shadersMorphTargetsStageVS:()=>OP,_shadersNightVision:()=>DA,_shadersNormalMapMaterial:()=>dI,_shadersOctree:()=>F5,_shadersPassThrough:()=>gu,_shadersPassThroughDepth:()=>QT,_shadersPbrNeutralTonemapping:()=>PA,_shadersPerInstanceColorAppearanceFS:()=>_I,_shadersPerInstanceColorAppearanceVS:()=>SI,_shadersPerInstanceFlatColorAppearanceFS:()=>C1,_shadersPerInstanceFlatColorAppearanceVS:()=>CI,_shadersPointCloudEyeDomeLighting:()=>NW,_shadersPointCloudStylingStageVS:()=>JP,_shadersPointPrimitiveCollectionFS:()=>ST,_shadersPointPrimitiveCollectionVS:()=>jN,_shadersPolygonSignedDistanceFS:()=>Ow,_shadersPolylineArrowMaterial:()=>uI,_shadersPolylineColorAppearanceVS:()=>bw,_shadersPolylineCommon:()=>Nu,_shadersPolylineDashMaterial:()=>mI,_shadersPolylineFS:()=>M1,_shadersPolylineGlowMaterial:()=>hI,_shadersPolylineMaterialAppearanceVS:()=>yw,_shadersPolylineOutlineMaterial:()=>pI,_shadersPolylineShadowVolumeFS:()=>mw,_shadersPolylineShadowVolumeMorphFS:()=>hw,_shadersPolylineShadowVolumeMorphVS:()=>pw,_shadersPolylineShadowVolumeVS:()=>fw,_shadersPolylineVS:()=>WN,_shadersPrimitiveOutlineStageFS:()=>qP,_shadersPrimitiveOutlineStageVS:()=>jP,_shadersRGBToHSB:()=>MX,_shadersRGBToHSL:()=>XX,_shadersRGBToXYZ:()=>wX,_shadersReinhardTonemapping:()=>UA,_shadersReprojectWebMercatorFS:()=>vF,_shadersReprojectWebMercatorVS:()=>NF,_shadersRimLightingMaterial:()=>fI,_shadersSelectedFeatureIdStageCommon:()=>ooe,_shadersSelectedFeatureIdStageFS:()=>FP,_shadersSelectedFeatureIdStageVS:()=>AP,_shadersShadowVolumeAppearanceFS:()=>AV,_shadersShadowVolumeAppearanceVS:()=>cw,_shadersShadowVolumeFS:()=>Zx,_shadersSilhouette:()=>kA,_shadersSkinningStageVS:()=>nv,_shadersSkyAtmosphereCommon:()=>EG,_shadersSkyAtmosphereFS:()=>hD,_shadersSkyAtmosphereVS:()=>pD,_shadersSkyBoxFS:()=>bD,_shadersSkyBoxVS:()=>yD,_shadersSlopeRampMaterial:()=>bI,_shadersStripeMaterial:()=>yI,_shadersSunFS:()=>xD,_shadersSunTextureFS:()=>TD,_shadersSunVS:()=>_D,_shadersTexturedMaterialAppearanceFS:()=>jE,_shadersTexturedMaterialAppearanceVS:()=>qE,_shadersVector3DTileClampedPolylinesFS:()=>YN,_shadersVector3DTileClampedPolylinesVS:()=>zN,_shadersVector3DTilePolylinesVS:()=>UN,_shadersVectorTileVS:()=>HV,_shadersVerticalExaggerationStageVS:()=>ov,_shadersViewportQuadFS:()=>lD,_shadersViewportQuadVS:()=>NS,_shadersVoxelFS:()=>R5,_shadersVoxelUtils:()=>Z5,_shadersVoxelVS:()=>G5,_shadersWater:()=>xI,_shadersWaterMaskMaterial:()=>gI,_shadersXYZToRGB:()=>sw,_shadersacesTonemapping:()=>TM,_shadersalphaWeight:()=>_M,_shadersantialias:()=>SM,_shadersapplyColorCorrection:()=>CM,_shadersapplyHSBShift:()=>LM,_shadersapproximateSphericalCoordinates:()=>VM,_shadersapproximateTanh:()=>ZM,_shadersbackFacing:()=>RM,_shadersbranchFreeTernary:()=>GM,_shaderscascadeColor:()=>EM,_shaderscascadeDistance:()=>IM,_shaderscascadeMatrix:()=>MM,_shaderscascadeWeights:()=>XM,_shadersclipPolygons:()=>wM,_shaderscolumbusViewMorph:()=>WM,_shaderscomputeAtmosphereColor:()=>PM,_shaderscomputeGroundAtmosphereScattering:()=>vM,_shaderscomputePosition:()=>NM,_shaderscomputeScattering:()=>FM,_shadersconvertUvToBox:()=>P5,_shadersconvertUvToCylinder:()=>v5,_shadersconvertUvToEllipsoid:()=>N5,_shaderscosineAndSine:()=>AM,_shaderscreateTranslationMatrix:()=>uM,_shadersdecompressTextureCoordinates:()=>DM,_shadersdegreesPerRadian:()=>RI,_shadersdepthClamp:()=>UM,_shadersdepthRange:()=>GI,_shadersdepthRangeStruct:()=>mM,_shaderseastNorthUpToEyeCoordinates:()=>kM,_shadersellipsoidContainsPoint:()=>zM,_shadersellipsoidTextureCoordinates:()=>YM,_shadersepsilon1:()=>EI,_shadersepsilon2:()=>II,_shadersepsilon3:()=>MI,_shadersepsilon4:()=>XI,_shadersepsilon5:()=>wI,_shadersepsilon6:()=>WI,_shadersepsilon7:()=>PI,_shadersequalsEpsilon:()=>BM,_shaderseyeOffset:()=>OM,_shaderseyeToWindowCoordinates:()=>KM,_shadersfastApproximateAtan:()=>HM,_shadersfog:()=>JM,_shadersgammaCorrect:()=>QM,_shadersgeodeticSurfaceNormal:()=>jM,_shadersgeometryClip:()=>qM,_shadersgetDefaultMaterial:()=>$M,_shadersgetDynamicAtmosphereLightDirection:()=>eX,_shadersgetLambertDiffuse:()=>tX,_shadersgetSpecular:()=>nX,_shadersgetWaterNoise:()=>iX,_shadershue:()=>sX,_shadersinfinity:()=>vI,_shadersinverseGamma:()=>aX,_shadersisEmpty:()=>cX,_shadersisFull:()=>lX,_shaderslatitudeToWebMercatorFraction:()=>dX,_shaderslineDistance:()=>mX,_shaderslinearToSrgb:()=>uX,_shadersluminance:()=>hX,_shadersmaterial:()=>hM,_shadersmaterialInput:()=>pM,_shadersmaximumComponent:()=>pX,_shadersmetersPerPixel:()=>fX,_shadersmodelMaterial:()=>fM,_shadersmodelToWindowCoordinates:()=>bX,_shadersmodelVertexOutput:()=>bM,_shadersmultiplyWithColorBalance:()=>yX,_shadersnearFarScalar:()=>gX,_shadersoctDecode:()=>xX,_shadersoneOverPi:()=>NI,_shadersoneOverTwoPi:()=>FI,_shaderspackDepth:()=>TX,_shaderspassCesium3DTile:()=>AI,_shaderspassCesium3DTileClassification:()=>DI,_shaderspassCesium3DTileClassificationIgnoreShow:()=>UI,_shaderspassClassification:()=>kI,_shaderspassCompute:()=>zI,_shaderspassEnvironment:()=>YI,_shaderspassGlobe:()=>BI,_shaderspassOpaque:()=>OI,_shaderspassOverlay:()=>KI,_shaderspassTerrainClassification:()=>HI,_shaderspassTranslucent:()=>JI,_shaderspassVoxels:()=>QI,_shaderspbrLighting:()=>_X,_shaderspbrNeutralTonemapping:()=>SX,_shadersphong:()=>CX,_shaderspi:()=>jI,_shaderspiOverFour:()=>qI,_shaderspiOverSix:()=>$I,_shaderspiOverThree:()=>eM,_shaderspiOverTwo:()=>tM,_shadersplaneDistance:()=>LX,_shaderspointAlongRay:()=>VX,_shadersradiansPerDegree:()=>nM,_shadersray:()=>yM,_shadersrayEllipsoidIntersectionInterval:()=>ZX,_shadersraySegment:()=>gM,_shadersraySphereIntersectionInterval:()=>RX,_shadersreadDepth:()=>GX,_shadersreadNonPerspective:()=>EX,_shadersreverseLogDepth:()=>IX,_shadersrollerShutter:()=>WX,_shadersrollerShutterPolygon:()=>PX,_shadersrollerShutterSpyglass:()=>vX,_shadersround:()=>NX,_shaderssaturation:()=>FX,_shaderssceneMode2D:()=>iM,_shaderssceneMode3D:()=>oM,_shaderssceneModeColumbusView:()=>rM,_shaderssceneModeMorphing:()=>sM,_shadersshadowDepthCompare:()=>AX,_shadersshadowParameters:()=>xM,_shadersshadowVisibility:()=>DX,_shaderssignNotZero:()=>UX,_shaderssolarRadius:()=>aM,_shaderssphericalHarmonics:()=>kX,_shaderssrgbToLinear:()=>zX,_shaderstangentToEyeSpaceMatrix:()=>YX,_shaderstextureCube:()=>BX,_shadersthreePiOver2:()=>cM,_shaderstransformPlane:()=>OX,_shaderstranslateRelativeToEye:()=>KX,_shaderstranslucentPhong:()=>HX,_shaderstranspose:()=>JX,_shaderstwoPi:()=>lM,_shadersunpackClippingExtents:()=>QX,_shadersunpackDepth:()=>jX,_shadersunpackFloat:()=>qX,_shadersunpackUint:()=>$X,_shadersvalueTransform:()=>ew,_shadersvertexLogDepth:()=>tw,_shaderswebMercatorMaxLatitude:()=>dM,_shaderswindowToEyeCoordinates:()=>nw,_shaderswriteDepthClamp:()=>iw,_shaderswriteLogDepth:()=>ow,_shaderswriteNonPerspective:()=>rw,addBuffer:()=>pW,addDefaults:()=>sW,addExtensionsRequired:()=>uW,addExtensionsUsed:()=>qm,addPipelineExtras:()=>Fx,addToArray:()=>Ca,appendForwardSlash:()=>BG,arrayRemoveDuplicates:()=>Tr,barycentricCoordinates:()=>w_,binarySearch:()=>Ir,buildModuleUrl:()=>Sn,buildVoxelDrawCommands:()=>k5,clone:()=>Ue,combine:()=>Tt,computeFlyToLocationForRectangle:()=>LC,createBillboardPointCallback:()=>KS,createCommand:()=>ni,createDefaultImageryProviderViewModels:()=>KD,createDefaultTerrainProviderViewModels:()=>HD,createElevationBandMaterial:()=>Yte,createGooglePhotorealistic3DTileset:()=>Bte,createGuid:()=>jn,createMaterialPropertyDescriptor:()=>wr,createOsmBuildingsAsync:()=>Ote,createPropertyDescriptor:()=>ge,createRawPropertyDescriptor:()=>Kd,createTangentSpaceDebugPrimitive:()=>Kte,createTaskProcessorWorker:()=>moe,createUniform:()=>VI,createUniformArray:()=>ZI,createWorldBathymetryAsync:()=>B2,createWorldImageryAsync:()=>dg,createWorldTerrainAsync:()=>K_,decodeGoogleEarthEnterpriseData:()=>H2,decodeVectorPolylinePositions:()=>J2,defaultValue:()=>g,defer:()=>Xd,defined:()=>d,demodernizeShader:()=>aw,deprecationWarning:()=>mr,destroyObject:()=>fe,exportKml:()=>bee,findAccessorMinMax:()=>lS,findContentMetadata:()=>oy,findGroupMetadata:()=>ry,findTileMetadata:()=>H1,forEachTextureInMaterial:()=>aZ,formatError:()=>Nf,freezeRenderState:()=>A8,getAbsoluteUri:()=>Cf,getAccessorByteStride:()=>$d,getBaseUri:()=>JG,getBinaryAccessor:()=>_l,getClipAndStyleCode:()=>MF,getClippingFunction:()=>sg,getComponentReader:()=>dy,getElement:()=>ui,getExtensionFromUri:()=>p_,getFilenameFromUri:()=>Eb,getImageFromTypedArray:()=>oE,getImagePixels:()=>Hh,getJsonFromTypedArray:()=>mo,getMagic:()=>wc,getMetadataClassProperty:()=>XF,getStringFromTypedArray:()=>Xr,getTimestamp:()=>ho,hasExtension:()=>Ri,heightReferenceOnEntityPropertyChanged:()=>Jb,isBitSet:()=>dl,isBlobUri:()=>f_,isCrossOriginUrl:()=>Gg,isDataUri:()=>rb,isLeapYear:()=>Kh,knockout:()=>Re,knockout_3_5_1:()=>uL,knockout_es5:()=>DD,loadAndExecuteScript:()=>b_,loadCubeMap:()=>b5,loadImageFromTypedArray:()=>i1,loadKTX2:()=>Bd,mergeSort:()=>wb,moveTechniqueRenderStates:()=>dW,moveTechniquesToExtension:()=>mW,numberOfComponentsForType:()=>Uu,objectToQuery:()=>y_,oneTimeWarning:()=>Dt,pako_inflate:()=>O1,parseAttBatchTable:()=>Ou,parseBatchTable:()=>Ip,parseFeatureMetadataLegacy:()=>rW,parseGlb:()=>cW,parseResponseHeaders:()=>QG,parseStructuralMetadata:()=>oW,parseVoxelStyles:()=>sT,pickModel:()=>ZZ,pointInsideTriangle:()=>t8,preprocess3DTileContent:()=>a0,preprocessM3DContent:()=>nN,processVoxelProperties:()=>U5,queryToObject:()=>Lu,readAccessorPacked:()=>fW,removeExtension:()=>dS,removeExtensionsRequired:()=>aW,removeExtensionsUsed:()=>cS,removePipelineExtras:()=>lW,removeUnusedElements:()=>hW,resizeImageToNextPowerOfTwo:()=>mx,sampleTerrain:()=>ME,sampleTerrainMostDetailed:()=>h1,scaleToGeodeticSurface:()=>h_,srgbToLinear:()=>b1,subdivideArray:()=>NE,subscribeAndEvaluate:()=>Zc,updateAccessorComponentTypes:()=>bW,updateVersion:()=>yW,usesExtension:()=>ss,viewerCesium3DTilesInspectorMixin:()=>Woe,viewerCesiumInspectorMixin:()=>Poe,viewerDragDropMixin:()=>Noe,viewerPerformanceWatchdogMixin:()=>Foe,viewerVoxelInspectorMixin:()=>Aoe,webGLConstantToGlslType:()=>P8,wrapFunction:()=>YE,writeTextToCanvas:()=>r1,zlib_min:()=>$ie});var nar=S(C(),1);var kNo=S(C(),1);var k5t=S(C(),1);function OMe(e){return(e.length===0||e[e.length-1]!=="/")&&(e=`${e}/`),e}var BG=OMe;var SYt=S(C(),1);var eYt=S(C(),1);var lFt=S(C(),1);var j5t=S(C(),1);var Y5t=S(C(),1);function KMe(e){return e!=null}var d=KMe;var K5t=S(C(),1);function m_(e){this.name="DeveloperError",this.message=e;let t;try{throw new Error}catch(n){t=n.stack}this.stack=t}d(Object.create)&&(m_.prototype=Object.create(Error.prototype),m_.prototype.constructor=m_);m_.prototype.toString=function(){let e=`${this.name}: ${this.message}`;return d(this.stack)&&(e+=`
|
|
95
|
+
`),window.clearInterval(this.noSleepTimer),this.noSleepTimer=null):this.noSleepVideo.pause(),this.enabled=!1}};TMe.exports=Moe});var N5t={};YMe(N5t,{AlphaMode:()=>jm,AlphaPipelineStage:()=>_P,AnchorPointDirect:()=>ZW,AnchorPointIndirect:()=>RW,Animation:()=>KD,AnimationViewModel:()=>HD,Appearance:()=>lo,ApproximateTerrainHeights:()=>ki,ArcGISTiledElevationTerrainProvider:()=>tQ,ArcGisBaseMapType:()=>cf,ArcGisMapServerImageryProvider:()=>rg,ArcGisMapService:()=>mm,ArcType:()=>Mn,ArticulationStageType:()=>sl,AssociativeArray:()=>zt,Atmosphere:()=>x5,AtmospherePipelineStage:()=>$W,AttributeCompression:()=>Tn,AttributeSurfacePrimitive:()=>Kie,AttributeType:()=>kt,AutoExposure:()=>T5,AutomaticUniforms:()=>Ab,Axis:()=>In,AxisAlignedBoundingBox:()=>Fg,B3dmLoader:()=>UW,B3dmParser:()=>pS,BaseLayerPicker:()=>QD,BaseLayerPickerViewModel:()=>JD,BatchTable:()=>Z1,BatchTableHierarchy:()=>ey,BatchTexture:()=>ad,BatchTexturePipelineStage:()=>SP,Billboard:()=>cr,BillboardCollection:()=>Ku,BillboardGraphics:()=>bl,BillboardVisualizer:()=>OE,BingMapsGeocoderService:()=>iQ,BingMapsImageryProvider:()=>S5,BingMapsStyle:()=>UR,BlendEquation:()=>Nc,BlendFunction:()=>Cr,BlendOption:()=>Zr,BlendingState:()=>Gn,BoundingRectangle:()=>qe,BoundingSphere:()=>de,BoundingSphereState:()=>vt,BoundingVolumeSemantics:()=>ay,BoxEmitter:()=>fte,BoxGeometry:()=>al,BoxGeometryUpdater:()=>vw,BoxGraphics:()=>w1,BoxOutlineGeometry:()=>ep,BrdfLutGenerator:()=>V5,Buffer:()=>nt,BufferLoader:()=>rS,BufferUsage:()=>we,CPUStylingPipelineStage:()=>ZP,CallbackPositionProperty:()=>Nw,CallbackProperty:()=>xp,Camera:()=>Di,CameraEventAggregator:()=>K5,CameraEventType:()=>Mo,CameraFlightPath:()=>Y5,Cartesian2:()=>Y,Cartesian3:()=>h,Cartesian4:()=>re,Cartographic:()=>me,CartographicGeocoderService:()=>aQ,CatmullRomSpline:()=>cQ,Cesium3DContentGroup:()=>qb,Cesium3DTile:()=>fh,Cesium3DTileBatchTable:()=>ty,Cesium3DTileColorBlendMode:()=>Sl,Cesium3DTileContent:()=>Rte,Cesium3DTileContentFactory:()=>c0,Cesium3DTileContentState:()=>xi,Cesium3DTileContentType:()=>Eo,Cesium3DTileCustomContent:()=>Vq,Cesium3DTileFeature:()=>Ya,Cesium3DTileFeatureTable:()=>da,Cesium3DTileOptimizationHint:()=>Qd,Cesium3DTileOptimizations:()=>cT,Cesium3DTilePass:()=>oo,Cesium3DTilePassState:()=>Eh,Cesium3DTilePointFeature:()=>Uy,Cesium3DTileRefine:()=>Yo,Cesium3DTileStyle:()=>_C,Cesium3DTileStyleEngine:()=>MS,Cesium3DTilesInspector:()=>n3,Cesium3DTilesInspectorViewModel:()=>t3,Cesium3DTilesVoxelProvider:()=>Wte,Cesium3DTileset:()=>ea,Cesium3DTilesetBaseTraversal:()=>WS,Cesium3DTilesetCache:()=>ES,Cesium3DTilesetGraphics:()=>D1,Cesium3DTilesetHeatmap:()=>IS,Cesium3DTilesetMetadata:()=>Gy,Cesium3DTilesetMostDetailedTraversal:()=>wS,Cesium3DTilesetSkipTraversal:()=>PS,Cesium3DTilesetStatistics:()=>md,Cesium3DTilesetTraversal:()=>Ja,Cesium3DTilesetVisualizer:()=>HN,CesiumInspector:()=>r3,CesiumInspectorViewModel:()=>o3,CesiumTerrainProvider:()=>P_,CesiumWidget:()=>GD,Check:()=>so,CheckerboardMaterialProperty:()=>YZ,CircleEmitter:()=>q5,CircleGeometry:()=>wQ,CircleOutlineGeometry:()=>WQ,ClassificationModelDrawCommand:()=>Iv,ClassificationPipelineStage:()=>CP,ClassificationPrimitive:()=>UV,ClassificationType:()=>ti,ClearCommand:()=>ci,ClipFillUtil:()=>Nv,ClippingGeometry:()=>Hie,ClippingGeometryFS:()=>ID,ClippingGeometryType:()=>Tf,ClippingGeometryVS:()=>MD,ClippingGltfFS:()=>XD,ClippingGltfVS:()=>wD,ClippingPlane:()=>ly,ClippingPlaneCollection:()=>Lr,ClippingPolygon:()=>nZ,ClippingPolygonCollection:()=>qd,ClippingType:()=>SN,Clock:()=>rp,ClockRange:()=>Is,ClockStep:()=>hr,ClockViewModel:()=>zD,CloudCollection:()=>Dte,CloudType:()=>KR,Color:()=>z,ColorBlendMode:()=>Ll,ColorCorrection:()=>dD,ColorCurrection:()=>NA,ColorGeometryInstanceAttribute:()=>cn,ColorMaterialProperty:()=>hn,Command:()=>foe,ComponentDatatype:()=>H,Composite3DTileContent:()=>_p,CompositeEntityCollection:()=>Iq,CompositeMaterialProperty:()=>OZ,CompositePositionProperty:()=>xc,CompositeProperty:()=>wl,CompressedTextureBuffer:()=>G2,ComputeCommand:()=>Cp,ComputeEngine:()=>f5,ConditionsExpression:()=>H5,ConeEmitter:()=>zte,Config:()=>e2,ConstantPositionProperty:()=>rd,ConstantProperty:()=>Ai,ConstantSpline:()=>E2,ContentMetadata:()=>kw,Context:()=>RN,ContextLimits:()=>en,CoplanarPolygonGeometry:()=>N2,CoplanarPolygonGeometryLibrary:()=>xb,CoplanarPolygonOutlineGeometry:()=>Pm,CornerType:()=>Zo,CorrelationGroup:()=>GW,CorridorGeometry:()=>zf,CorridorGeometryLibrary:()=>No,CorridorGeometryUpdater:()=>QN,CorridorGraphics:()=>P1,CorridorOutlineGeometry:()=>Y2,Credit:()=>Kt,CreditDisplay:()=>hF,CubeMap:()=>Fc,CubeMapFace:()=>$E,CubicRealPolynomial:()=>G_,CullFace:()=>Ci,CullingVolume:()=>Or,CumulusCloud:()=>pm,CustomDataSource:()=>n9,CustomHeightmapTerrainProvider:()=>nj,CustomShader:()=>tL,CustomShaderMode:()=>_y,CustomShaderPipelineStage:()=>wP,CustomShaderTranslucencyMode:()=>Qx,CuttingFilterUtil:()=>IN,CylinderGeometry:()=>Yf,CylinderGeometryLibrary:()=>H_,CylinderGeometryUpdater:()=>i9,CylinderGraphics:()=>v1,CylinderOutlineGeometry:()=>K2,CzmlDataSource:()=>d9,DataSource:()=>Ds,DataSourceClock:()=>Yp,DataSourceCollection:()=>u9,DataSourceDisplay:()=>X9,DebugAppearance:()=>ene,DebugCameraPrimitive:()=>z0,DebugInspector:()=>bF,DebugModelMatrixPrimitive:()=>yF,DefaultProxy:()=>cj,DepthFunction:()=>xl,DepthPlane:()=>SF,DequantizationPipelineStage:()=>PP,DerivedCommand:()=>bu,DeveloperError:()=>be,DeviceOrientationCameraController:()=>CF,DirectionalLight:()=>ine,DiscardEmptyTileImagePolicy:()=>kR,DiscardMissingTileImagePolicy:()=>y5,DistanceDisplayCondition:()=>nn,DistanceDisplayConditionGeometryInstanceAttribute:()=>Vi,DoubleEndedPriorityQueue:()=>Q_,DoublyLinkedList:()=>$2,DracoLoader:()=>Vp,DrawCommand:()=>Je,DynamicAtmosphereLightingType:()=>gC,DynamicGeometryBatch:()=>tC,DynamicGeometryUpdater:()=>Ji,EarthOrientationParameters:()=>r2,EarthOrientationParametersSample:()=>Zg,EasingFunction:()=>Xs,EllipseGeometry:()=>$l,EllipseGeometryLibrary:()=>Dd,EllipseGeometryUpdater:()=>h9,EllipseGraphics:()=>N1,EllipseOutlineGeometry:()=>Zu,Ellipsoid:()=>oe,EllipsoidGeodesic:()=>Sb,EllipsoidGeometry:()=>ps,EllipsoidGeometryUpdater:()=>f9,EllipsoidGraphics:()=>F1,EllipsoidOutlineGeometry:()=>cl,EllipsoidPrimitive:()=>LF,EllipsoidRhumbLine:()=>Xc,EllipsoidSurfaceAppearance:()=>Mh,EllipsoidSurfaceVoxelAppearance:()=>IZ,EllipsoidSurfaceVoxelAppearanceFS:()=>oN,EllipsoidSurfaceVoxelAppearanceVS:()=>iN,EllipsoidTangentPlane:()=>hs,EllipsoidTerrainProvider:()=>Of,EllipsoidalOccluder:()=>hb,Empty3DTileContent:()=>Du,EncodedCartesian3:()=>Si,Entity:()=>Jr,EntityCluster:()=>qu,EntityCollection:()=>qa,EntityView:()=>W9,Event:()=>Se,EventHelper:()=>ws,Expression:()=>dh,ExpressionNodeType:()=>Ut,ExtrapolationType:()=>Eu,FeatureDetection:()=>yn,FeatureIdPipelineStage:()=>Jx,FlattenTool:()=>eoe,Fog:()=>RF,ForEach:()=>Ae,FrameBufferType:()=>g0,FrameRateMonitor:()=>GF,FrameState:()=>EF,Framebuffer:()=>qo,FramebufferManager:()=>Yi,FrustumCommands:()=>IF,FrustumGeometry:()=>q_,FrustumOutlineGeometry:()=>iE,Fullscreen:()=>ms,FullscreenButton:()=>a3,FullscreenButtonViewModel:()=>s3,GeoJsonDataSource:()=>$9,GeoJsonLoader:()=>kW,GeocodeType:()=>rx,Geocoder:()=>l3,GeocoderService:()=>bV,GeocoderViewModel:()=>c3,GeographicProjection:()=>Co,GeographicTilingScheme:()=>zo,Geometry:()=>Mt,Geometry3DTileContent:()=>MN,GeometryAttribute:()=>Me,GeometryAttributes:()=>Dn,GeometryFactory:()=>yj,GeometryInstance:()=>Pt,GeometryInstanceAttribute:()=>ll,GeometryOffsetAttribute:()=>Nn,GeometryPipeline:()=>gi,GeometryPipelineStage:()=>UP,GeometryType:()=>Xm,GeometryUpdater:()=>Qi,GeometryUpdaterSet:()=>oC,GeometryVisualizer:()=>S9,GetFeatureInfoFormat:()=>RC,Globe:()=>JF,GlobeDepth:()=>QF,GlobeEffect:()=>Qie,GlobeSurfaceShaderSet:()=>PF,GlobeSurfaceTile:()=>Xh,GlobeSurfaceTileProvider:()=>AF,GlobeTranslucency:()=>DF,GlobeTranslucencyFramebuffer:()=>jF,GlobeTranslucencyState:()=>qF,GltfBufferViewLoader:()=>iZ,GltfDracoLoader:()=>oZ,GltfGpmLoader:()=>IW,GltfGpmLocal:()=>pZ,GltfImageLoader:()=>rZ,GltfIndexBufferLoader:()=>sZ,GltfJsonLoader:()=>cZ,GltfLoader:()=>Yc,GltfLoaderUtil:()=>eu,GltfMeshPrimitiveGpmLoader:()=>WW,GltfStructuralMetadataLoader:()=>LW,GltfTextureLoader:()=>lZ,GltfVertexBufferLoader:()=>dZ,GoogleEarthEnterpriseImageryProvider:()=>Lne,GoogleEarthEnterpriseMapsProvider:()=>sF,GoogleEarthEnterpriseMetadata:()=>Ib,GoogleEarthEnterpriseTerrainData:()=>yV,GoogleEarthEnterpriseTerrainProvider:()=>Vj,GoogleEarthEnterpriseTileInformation:()=>rE,GoogleMaps:()=>e1,GpxDataSource:()=>i5,GregorianDate:()=>ob,GridImageryProvider:()=>Vne,GridMaterialProperty:()=>jZ,GroundGeometryUpdater:()=>Ei,GroundPolylineGeometry:()=>t1,GroundPolylinePrimitive:()=>pp,GroundPrimitive:()=>Ua,GroundPrimitiveRectangleGenerater:()=>qie,GroupMetadata:()=>wZ,HashMap:()=>nh,HeadingPitchRange:()=>ul,HeadingPitchRoll:()=>Rs,Heap:()=>qG,HeightReference:()=>rt,HeightmapEncoding:()=>Gm,HeightmapTerrainData:()=>Ec,HeightmapTessellator:()=>NL,HermitePolynomialApproximation:()=>aE,HermiteSpline:()=>zg,HilbertOrder:()=>gV,HomeButton:()=>u3,HomeButtonViewModel:()=>d3,HorizontalOrigin:()=>po,I3SBuildingSceneLayerExplorer:()=>Loe,I3SBuildingSceneLayerExplorerViewModel:()=>m3,I3SDataProvider:()=>bf,I3SDecoder:()=>$F,I3SFeature:()=>eA,I3SField:()=>tA,I3SGeometry:()=>dG,I3SLayer:()=>NC,I3SNode:()=>uG,I3SStatistics:()=>oA,I3SSublayer:()=>sA,I3SSymbology:()=>iA,I3dmLoader:()=>zW,I3dmParser:()=>bS,Iau2000Orientation:()=>lE,Iau2006XysData:()=>s2,Iau2006XysSample:()=>Z_,IauOrientationAxes:()=>dE,IauOrientationParameters:()=>cE,ImageBasedLighting:()=>Qb,ImageBasedLightingPipelineStage:()=>tP,ImageMaterialProperty:()=>Rx,Imagery:()=>iG,ImageryLayer:()=>zs,ImageryLayerCollection:()=>UF,ImageryLayerFeatureInfo:()=>lf,ImageryProvider:()=>Sd,ImageryState:()=>$i,Implicit3DTileContent:()=>AZ,ImplicitAvailabilityBitstream:()=>NZ,ImplicitMetadataView:()=>FZ,ImplicitSubdivisionScheme:()=>$s,ImplicitSubtree:()=>BS,ImplicitSubtreeCache:()=>Q5,ImplicitSubtreeMetadata:()=>XN,ImplicitTileCoordinates:()=>Iy,ImplicitTileset:()=>Ey,IndexDatatype:()=>je,InfoBox:()=>p3,InfoBoxViewModel:()=>h3,InspectorShared:()=>qc,InstanceAttributeSemantic:()=>Dr,InstancingPipelineStage:()=>yP,InterceptorsUtil:()=>VL,InterpolationAlgorithm:()=>Fj,InterpolationType:()=>dp,Intersect:()=>qt,IntersectionTests:()=>Pi,Intersections2D:()=>pb,Interval:()=>wa,InvertClassification:()=>hG,Ion:()=>tp,IonGeocoderService:()=>hE,IonImageryProvider:()=>cg,IonResource:()=>jl,IonWorldImageryStyle:()=>lg,Iso8601:()=>tt,JobScheduler:()=>aA,JobType:()=>zc,JsonMetadataTable:()=>uy,JulianDate:()=>ee,KTX2Transcoder:()=>pE,KeyboardEventModifier:()=>Aa,KeyframeNode:()=>$o,KmlCamera:()=>o5,KmlDataSource:()=>u5,KmlLookAt:()=>r5,KmlTour:()=>s5,KmlTourFlyTo:()=>a5,KmlTourWait:()=>c5,Label:()=>uT,LabelCollection:()=>ah,LabelGraphics:()=>bp,LabelStyle:()=>kr,LabelVisualizer:()=>C9,LagrangePolynomialApproximation:()=>fE,LeapSecond:()=>Uo,Light:()=>Ene,LightManager:()=>q0,LightingMode:()=>Cd,LightingModel:()=>m0,LightingPipelineStage:()=>zP,LinearApproximation:()=>n1,LinearSpline:()=>kg,M3D10MetadataTable:()=>Kv,M3D20MetadataTable:()=>Bv,M3D21MetadataTable:()=>Ix,M3DAttContentFactory:()=>Dw,M3DAttParser:()=>r0,M3DB3dmLoader:()=>Jv,M3DContentFactory:()=>rT,M3DContentType:()=>Vy,M3DDataLoader:()=>tN,M3DDataParser:()=>eN,M3DGltfLoader:()=>Hv,M3DGltfParser:()=>zv,M3DI3dmLoader:()=>Qv,M3DPntsLoader:()=>$v,M3DPntsParser:()=>jv,M3DTidParser:()=>Bw,M3DTree:()=>aoe,MAPGIS_VERSION:()=>v5t,ManagedArray:()=>Wc,MapGISM3D:()=>RS,MapGISM3DSet:()=>Ml,MapGISM3DTileContent:()=>Xx,MapGISM3DVoxelContent:()=>aN,MapGISVoxelPrimitive:()=>ZS,MapMode2D:()=>mu,MapProjection:()=>zj,MapboxImageryProvider:()=>aF,MapboxStyleImageryProvider:()=>Ine,Material:()=>vi,MaterialAppearance:()=>ar,MaterialPipelineStage:()=>BP,MaterialProperty:()=>Hr,Math:()=>X,Matrix2:()=>vo,Matrix3:()=>$,Matrix4:()=>P,Megatexture:()=>fG,MeshPrimitiveGpmLocal:()=>wW,MetadataClass:()=>la,MetadataClassProperty:()=>Wx,MetadataComponentType:()=>fn,MetadataEntity:()=>di,MetadataEnum:()=>TW,MetadataEnumValue:()=>xW,MetadataPicking:()=>cA,MetadataPickingPipelineStage:()=>Yu,MetadataPipelineStage:()=>eh,MetadataSchema:()=>Gl,MetadataSchemaLoader:()=>uZ,MetadataSemantic:()=>OS,MetadataTable:()=>Zl,MetadataTableProperty:()=>iW,MetadataType:()=>Qt,MipmapHint:()=>$f,Model:()=>Oa,Model3DTileContent:()=>Il,ModelAlphaOptions:()=>yv,ModelAnimation:()=>BW,ModelAnimationChannel:()=>YW,ModelAnimationCollection:()=>OW,ModelAnimationLoop:()=>jd,ModelAnimationState:()=>Mp,ModelArticulation:()=>iP,ModelArticulationStage:()=>nP,ModelClippingGeometryPipelineStage:()=>cP,ModelClippingPlanesPipelineStage:()=>sP,ModelClippingPolygonsPipelineStage:()=>uP,ModelColorPipelineStage:()=>Hx,ModelComponents:()=>pn,ModelDrawCommand:()=>Mv,ModelDrawCommands:()=>Wv,ModelExplosion:()=>doe,ModelExplosionPipelineStage:()=>uv,ModelFeature:()=>KW,ModelFeatureTable:()=>JW,ModelFlattenPipelineStage:()=>pv,ModelGraphics:()=>Ob,ModelLightingOptions:()=>Rv,ModelMatrixUpdateStage:()=>gP,ModelNode:()=>mP,ModelPMPipelineStage:()=>mv,ModelRenderResources:()=>Tv,ModelRuntimeNode:()=>TP,ModelRuntimePrimitive:()=>fv,ModelSceneGraph:()=>Av,ModelSilhouettePipelineStage:()=>Cv,ModelSkin:()=>bv,ModelSplitterPipelineStage:()=>Vv,ModelStatistics:()=>Dv,ModelStretchPipelineStage:()=>lv,ModelSwipePipelineStage:()=>vv,ModelType:()=>_r,ModelUtility:()=>bn,ModelVisualizer:()=>L9,Moon:()=>dA,MorphTargetsPipelineStage:()=>KP,MorphWeightSpline:()=>Kj,MortonOrder:()=>lx,Multiple3DTileContent:()=>J1,MultisampleFramebuffer:()=>PW,NavigationHelpButton:()=>b3,NavigationHelpButtonViewModel:()=>f3,NearFarScalar:()=>sn,NetCDFLoader:()=>rN,NeverTileDiscardPolicy:()=>Xne,NodeRenderResources:()=>Zv,NodeStatisticsPipelineStage:()=>xP,NodeTransformationProperty:()=>A1,OIDTexturePipelineStage:()=>av,OIT:()=>mA,Occluder:()=>yE,OffsetGeometryInstanceAttribute:()=>jo,OpenCageGeocoderService:()=>qj,OpenStreetMapImageryProvider:()=>fg,OrderedGroundPrimitiveCollection:()=>m9,OrientedBoundingBox:()=>Jn,OrthographicFrustum:()=>En,OrthographicOffCenterFrustum:()=>Ws,OutlineForOid:()=>YA,OutlineForPrimitives:()=>BA,OutlineRenderMode:()=>Wp,Packable:()=>$j,PackableForInterpolation:()=>e8,ParallelLight:()=>RG,Particle:()=>yG,ParticleBurst:()=>Nne,ParticleEmitter:()=>Fne,ParticleSystem:()=>Ane,Pass:()=>Ze,PassState:()=>Rr,PathGraphics:()=>Kb,PathVisualizer:()=>V9,PeliasGeocoderService:()=>mE,PerInstanceColorAppearance:()=>Wn,PerformanceDisplay:()=>bg,PerformanceWatchdog:()=>g3,PerformanceWatchdogViewModel:()=>y3,PerspectiveFrustum:()=>zi,PerspectiveOffCenterFrustum:()=>nd,PickDepth:()=>pA,PickDepthFramebuffer:()=>bA,PickFramebuffer:()=>gA,PickedMetadataInfo:()=>yA,Picking:()=>_A,PickingPipelineStage:()=>HP,PinBuilder:()=>Wb,PixelDatatype:()=>ke,PixelFormat:()=>Ye,Plane:()=>Ln,PlaneGeometry:()=>s1,PlaneGeometryUpdater:()=>b9,PlaneGraphics:()=>Ew,PlaneOutlineGeometry:()=>_E,PntsLoader:()=>kv,PntsParser:()=>SS,PointCloud:()=>CA,PointCloudEyeDomeLighting:()=>Ep,PointCloudShading:()=>$m,PointCloudStylingPipelineStage:()=>QP,PointGraphics:()=>U1,PointLight:()=>ZG,PointPrimitive:()=>Za,PointPrimitiveCollection:()=>HZ,PointVisualizer:()=>R9,PolygonGeometry:()=>Pc,PolygonGeometryLibrary:()=>Li,PolygonGeometryUpdater:()=>y9,PolygonGraphics:()=>yp,PolygonHierarchy:()=>aa,PolygonOutlineGeometry:()=>SE,PolygonPipeline:()=>Hi,PolygonSwiperCullingCommand:()=>aD,Polyline:()=>mh,PolylineArrowMaterialProperty:()=>$Z,PolylineCollection:()=>Fp,PolylineColorAppearance:()=>js,PolylineDashMaterialProperty:()=>tR,PolylineGeometry:()=>Pb,PolylineGeometryUpdater:()=>E9,PolylineGlowMaterialProperty:()=>iR,PolylineGraphics:()=>Tl,PolylineMaterialAppearance:()=>hc,PolylineOutlineMaterialProperty:()=>CT,PolylinePipeline:()=>Ro,PolylineVisualizer:()=>M9,PolylineVolumeAnimationGeometry:()=>AG,PolylineVolumeGeometry:()=>od,PolylineVolumeGeometryLibrary:()=>sp,PolylineVolumeGeometryUpdater:()=>g9,PolylineVolumeGraphics:()=>k1,PolylineVolumeOutlineGeometry:()=>GE,PositionProperty:()=>fp,PositionPropertyArray:()=>Oy,PostProcessStage:()=>Jo,PostProcessStageCollection:()=>HA,PostProcessStageComposite:()=>Zd,PostProcessStageLibrary:()=>Tu,PostProcessStageSampleMode:()=>gm,PostProcessStageTextureCache:()=>JC,PpeMetadata:()=>XW,PpeSource:()=>uoe,PpeTexture:()=>MW,Primitive:()=>kn,PrimitiveCollection:()=>yd,PrimitiveLoadPlan:()=>hS,PrimitiveOutlineGenerator:()=>mS,PrimitiveOutlinePipelineStage:()=>$P,PrimitivePipeline:()=>R1,PrimitiveRenderResources:()=>Gv,PrimitiveState:()=>ys,PrimitiveStatisticsPipelineStage:()=>ev,PrimitiveType:()=>Fe,ProjectionPicker:()=>T3,ProjectionPickerViewModel:()=>x3,Property:()=>Q,PropertyArray:()=>rR,PropertyAttribute:()=>hy,PropertyAttributeProperty:()=>eW,PropertyBag:()=>Hd,PropertyTable:()=>rs,PropertyTexture:()=>my,PropertyTextureProperty:()=>$w,ProviderViewModel:()=>oa,Proxy:()=>i8,QuadraticRealPolynomial:()=>Hl,QuadtreeOccluders:()=>kF,QuadtreePrimitive:()=>HF,QuadtreeTile:()=>zF,QuadtreeTileLoadState:()=>tc,QuadtreeTileProvider:()=>nie,QuantizedMeshTerrainData:()=>W_,QuarticRealPolynomial:()=>x2,Quaternion:()=>Be,QuaternionSpline:()=>EE,Queue:()=>Qg,Ray:()=>Un,Rectangle:()=>he,RectangleCollisionChecker:()=>d1,RectangleGeometry:()=>Mu,RectangleGeometryLibrary:()=>_a,RectangleGeometryUpdater:()=>x9,RectangleGraphics:()=>gp,RectangleOutlineGeometry:()=>u1,ReferenceFrame:()=>Fo,ReferenceProperty:()=>Ky,RenderDebug:()=>toe,RenderState:()=>Ne,Renderbuffer:()=>zu,RenderbufferFormat:()=>ld,Request:()=>Mr,RequestErrorEvent:()=>Vf,RequestScheduler:()=>rc,RequestState:()=>Mi,RequestType:()=>Zs,Resource:()=>Xe,ResourceCache:()=>qi,ResourceCacheKey:()=>tu,ResourceCacheStatistics:()=>CW,ResourceLoader:()=>Ni,ResourceLoaderState:()=>wt,Rotation:()=>yh,RuntimeError:()=>le,S2Cell:()=>vb,SDFSettings:()=>Ha,SampledPositionProperty:()=>Tc,SampledProperty:()=>tm,Sampler:()=>mn,ScaledPositionProperty:()=>V0,Scene:()=>mD,SceneFramebuffer:()=>DC,SceneMode:()=>ae,SceneMode2DPipelineStage:()=>tv,SceneModePicker:()=>S3,SceneModePickerViewModel:()=>_3,SceneProjectorEx:()=>Bie,SceneProjectorExFS:()=>ED,SceneProjectorSourceType:()=>Ys,SceneTransforms:()=>go,SceneTransitioner:()=>QA,ScreenSpaceCameraController:()=>$A,ScreenSpaceEventHandler:()=>wu,ScreenSpaceEventType:()=>qn,SectionCylinderGeometry:()=>DS,SectionFrameBuffer:()=>CN,SectionPlaneGeometry:()=>Qa,SectionPolygonGeometry:()=>Sg,SectionRender:()=>EN,SectionRenderUtil:()=>Fv,SelectedFeatureIdPipelineStage:()=>jx,SelectionIndicator:()=>V3,SelectionIndicatorViewModel:()=>L3,SensorVolumePortionToDisplay:()=>lR,ShaderBuilder:()=>TS,ShaderCache:()=>LN,ShaderDestination:()=>xe,ShaderFunction:()=>xv,ShaderProgram:()=>Yt,ShaderSource:()=>Oe,ShaderStruct:()=>gv,ShadowMap:()=>yf,ShadowMapShader:()=>H0,ShadowMode:()=>Kn,ShadowVolumeAppearance:()=>vu,ShowGeometryInstanceAttribute:()=>$n,Simon1994PlanetaryPositions:()=>yx,SimplePolylineGeometry:()=>V8,SingleTileImageryProvider:()=>ZC,SkinningPipelineStage:()=>iv,SkyAtmosphere:()=>fD,SkyBox:()=>oL,SpatialNode:()=>oD,Spdcf:()=>EW,SpecularEnvironmentCubeMap:()=>Tp,SphereEmitter:()=>Wie,SphereGeometry:()=>Z8,SphereOutlineGeometry:()=>Nb,Spherical:()=>PE,Spline:()=>or,SplitDirection:()=>os,Splitter:()=>xG,SpotLight:()=>GG,StaticGeometryColorBatch:()=>_h,StaticGeometryPerMaterialBatch:()=>Ch,StaticGroundGeometryColorBatch:()=>gR,StaticGroundGeometryPerMaterialBatch:()=>_9,StaticGroundPolylinePerMaterialBatch:()=>I9,StaticOutlineGeometryBatch:()=>TR,StencilConstants:()=>an,StencilFunction:()=>Zi,StencilOperation:()=>Ft,SteppedSpline:()=>vE,Stereographic:()=>hl,StorageType:()=>zx,StripeMaterialProperty:()=>aR,StripeOrientation:()=>Op,StructuralMetadata:()=>fr,StyleCommandsNeeded:()=>Xp,StyleExpression:()=>Pie,Sun:()=>LD,SunLight:()=>vy,SunPostProcess:()=>nD,SupportedImageFormats:()=>VW,SvgPathBindingHandler:()=>UD,SwipeModeType:()=>Hn,SwiperCullingFramebuffer:()=>cD,TaskProcessor:()=>io,Terrain:()=>VD,TerrainData:()=>qh,TerrainEncoding:()=>rl,TerrainFillMesh:()=>aG,TerrainMesh:()=>Im,TerrainOffsetProperty:()=>z1,TerrainProvider:()=>Hs,TerrainQuantization:()=>va,TerrainState:()=>dr,Texture:()=>it,Texture3D:()=>sN,TextureAtlas:()=>dT,TextureCache:()=>VN,TextureMagnificationFilter:()=>Gi,TextureManager:()=>rD,TextureMinificationFilter:()=>xn,TextureUniform:()=>noe,TextureWrap:()=>Fn,TileAvailability:()=>$h,TileBoundingRegion:()=>fc,TileBoundingS2Cell:()=>$1,TileBoundingSphere:()=>Dc,TileBoundingVolume:()=>vie,TileCoordinatesImageryProvider:()=>RD,TileDiscardPolicy:()=>Fie,TileEdge:()=>Qn,TileImagery:()=>oG,TileMapServiceImageryProvider:()=>HT,TileMetadata:()=>zw,TileOrientedBoundingBox:()=>Uc,TileProviderError:()=>Sr,TileReplacementQueue:()=>YF,TileSelectionResult:()=>Fi,TileState:()=>Aie,Tileset3DTileContent:()=>wN,TilesetMetadata:()=>cN,TilesetPipelineStage:()=>QW,TilingScheme:()=>R8,TimeConstants:()=>Wi,TimeDynamicImagery:()=>GC,TimeDynamicPointCloud:()=>vG,TimeInterval:()=>ei,TimeIntervalCollection:()=>Ns,TimeIntervalCollectionPositionProperty:()=>Hy,TimeIntervalCollectionProperty:()=>Jy,TimeStandard:()=>Ii,Timeline:()=>G3,TimelineHighlightRange:()=>Z3,TimelineTrack:()=>R3,Tipsify:()=>L2,ToggleButtonViewModel:()=>s_,Tonemapper:()=>gg,Transforms:()=>Rt,TranslationRotationScale:()=>Tx,TranslucentTileClassification:()=>TA,TridiagonalSystemSolver:()=>zL,TrustedServers:()=>LL,TweenCollection:()=>jC,UniformState:()=>ZN,UniformType:()=>CG,UrlTemplateImageryProvider:()=>Qc,UrlUtil:()=>x4,Util:()=>mT,VERSION:()=>P5t,VRButton:()=>I3,VRButtonViewModel:()=>E3,VRTheWorldTerrainProvider:()=>X8,VaryingType:()=>ioe,Vector3DTileBatch:()=>o0,Vector3DTileClampedPolylines:()=>ON,Vector3DTileContent:()=>KN,Vector3DTileGeometry:()=>Fy,Vector3DTilePoints:()=>AN,Vector3DTilePolygons:()=>DN,Vector3DTilePolylines:()=>HS,Vector3DTilePrimitive:()=>zS,VelocityOrientationProperty:()=>r9,VelocityVectorProperty:()=>$S,VertexArray:()=>Bn,VertexArrayFacade:()=>My,VertexAttributeSemantic:()=>mt,VertexFormat:()=>ve,VerticalExaggeration:()=>sr,VerticalExaggerationPipelineStage:()=>rv,VerticalOrigin:()=>hi,VideoSynchronizer:()=>M8,View:()=>zC,Viewer:()=>woe,ViewportQuad:()=>VG,ViewshedAnalysis:()=>Oie,Visibility:()=>is,VisualAnalysisManager:()=>h5,Visualizer:()=>dte,VoxelBoxShape:()=>D0,VoxelCell:()=>_G,VoxelContent:()=>j5,VoxelCylinderShape:()=>U0,VoxelEllipsoidShape:()=>SC,VoxelInspector:()=>w3,VoxelInspectorViewModel:()=>X3,VoxelPrimitive:()=>i_,VoxelProvider:()=>zie,VoxelRenderResources:()=>D5,VoxelShape:()=>Yie,VoxelShapeType:()=>Xo,VoxelTraversal:()=>SG,VulkanConstants:()=>w8,WallGeometry:()=>UE,WallGeometryLibrary:()=>g1,WallGeometryUpdater:()=>T9,WallGraphics:()=>Hb,WallOutlineGeometry:()=>zE,WebGLConstants:()=>te,WebMapServiceImageryProvider:()=>lF,WebMapTileServiceImageryProvider:()=>uF,WebMercatorProjection:()=>Vo,WebMercatorTilingScheme:()=>Js,WindingOrder:()=>ca,WireframeIndexGenerator:()=>PV,WireframePipelineStage:()=>sv,_shadersAcesTonemappingStage:()=>LA,_shadersAdditiveBlend:()=>eD,_shadersAdjustTranslucentFS:()=>bG,_shadersAllMaterialAppearanceFS:()=>KE,_shadersAllMaterialAppearanceVS:()=>HE,_shadersAmbientOcclusionGenerate:()=>VA,_shadersAmbientOcclusionModulate:()=>ZA,_shadersAspectRampMaterial:()=>tI,_shadersAtmosphereCommon:()=>ug,_shadersAtmosphereStageFS:()=>jW,_shadersAtmosphereStageVS:()=>qW,_shadersBasicMaterialAppearanceFS:()=>JE,_shadersBasicMaterialAppearanceVS:()=>QE,_shadersBillboardCollectionFS:()=>uN,_shadersBillboardCollectionVS:()=>mN,_shadersBlackAndWhite:()=>RA,_shadersBloomComposite:()=>GA,_shadersBrdfLutGeneratorFS:()=>C5,_shadersBrightPass:()=>tD,_shadersBrightness:()=>EA,_shadersBumpMapMaterial:()=>nI,_shadersCPUStylingStageFS:()=>VP,_shadersCPUStylingStageVS:()=>LP,_shadersCheckerboardMaterial:()=>iI,_shadersCloudCollectionFS:()=>$5,_shadersCloudCollectionVS:()=>eF,_shadersCloudNoiseFS:()=>tF,_shadersCloudNoiseVS:()=>nF,_shadersCompareAndPackTranslucentDepth:()=>xA,_shadersCompositeOITFS:()=>uA,_shadersCompositeTranslucentClassification:()=>kC,_shadersContrastBias:()=>IA,_shadersCustomShaderStageFS:()=>GP,_shadersCustomShaderStageVS:()=>RP,_shadersCzmBuiltins:()=>V1,_shadersDepthOfField:()=>MA,_shadersDepthPlaneFS:()=>gF,_shadersDepthPlaneVS:()=>xF,_shadersDepthView:()=>XA,_shadersDepthViewPacked:()=>roe,_shadersDotMaterial:()=>oI,_shadersEdgeDetection:()=>wA,_shadersElevationBandMaterial:()=>rI,_shadersElevationContourMaterial:()=>sI,_shadersElevationRampMaterial:()=>aI,_shadersEllipsoidFS:()=>$R,_shadersEllipsoidSurfaceAppearanceFS:()=>VF,_shadersEllipsoidSurfaceAppearanceVS:()=>ZF,_shadersEllipsoidVS:()=>eG,_shadersFXAA:()=>vA,_shadersFXAA3_11:()=>zA,_shadersFadeMaterial:()=>cI,_shadersFeatureIdStageFS:()=>EP,_shadersFeatureIdStageVS:()=>IP,_shadersFilmicTonemapping:()=>WA,_shadersGaussianBlur1D:()=>t_,_shadersGeometryStageFS:()=>vP,_shadersGeometryStageVS:()=>NP,_shadersGlobeFS:()=>wF,_shadersGlobeVS:()=>WF,_shadersGridMaterial:()=>lI,_shadersGroundAtmosphere:()=>tG,_shadersHSBToRGB:()=>oX,_shadersHSLToRGB:()=>rX,_shadersImageBasedLightingStageFS:()=>eP,_shadersInstancingStageCommon:()=>hP,_shadersInstancingStageVS:()=>pP,_shadersIntersectBox:()=>X5,_shadersIntersectClippingPlanes:()=>M5,_shadersIntersectCylinder:()=>w5,_shadersIntersectDepth:()=>I5,_shadersIntersectEllipsoid:()=>W5,_shadersIntersectLongitude:()=>zR,_shadersIntersection:()=>TC,_shadersIntersectionUtils:()=>E5,_shadersLegacyInstancingStageVS:()=>fP,_shadersLensFlare:()=>FA,_shadersLightingStageFS:()=>kP,_shadersMaterialStageFS:()=>YP,_shadersMegatexture:()=>A5,_shadersMetadataStageFS:()=>MP,_shadersMetadataStageVS:()=>XP,_shadersModelClippingGeometryStageFS:()=>aP,_shadersModelClippingPlanesStageFS:()=>rP,_shadersModelClippingPolygonsStageFS:()=>dP,_shadersModelClippingPolygonsStageVS:()=>lP,_shadersModelColorStageFS:()=>oP,_shadersModelExplosionStageVS:()=>dv,_shadersModelFS:()=>wv,_shadersModelFlattenStageVS:()=>hv,_shadersModelSilhouetteStageFS:()=>_v,_shadersModelSilhouetteStageVS:()=>Sv,_shadersModelSplitterStageFS:()=>Lv,_shadersModelStretchStageVS:()=>cv,_shadersModelSwipePipelineStageFS:()=>Pv,_shadersModelVS:()=>Xv,_shadersModifiedReinhardTonemapping:()=>AA,_shadersMorphTargetsStageVS:()=>OP,_shadersNightVision:()=>DA,_shadersNormalMapMaterial:()=>dI,_shadersOctree:()=>F5,_shadersPassThrough:()=>gu,_shadersPassThroughDepth:()=>QT,_shadersPbrNeutralTonemapping:()=>PA,_shadersPerInstanceColorAppearanceFS:()=>_I,_shadersPerInstanceColorAppearanceVS:()=>SI,_shadersPerInstanceFlatColorAppearanceFS:()=>C1,_shadersPerInstanceFlatColorAppearanceVS:()=>CI,_shadersPointCloudEyeDomeLighting:()=>NW,_shadersPointCloudStylingStageVS:()=>JP,_shadersPointPrimitiveCollectionFS:()=>ST,_shadersPointPrimitiveCollectionVS:()=>jN,_shadersPolygonSignedDistanceFS:()=>Ow,_shadersPolylineArrowMaterial:()=>uI,_shadersPolylineColorAppearanceVS:()=>bw,_shadersPolylineCommon:()=>Nu,_shadersPolylineDashMaterial:()=>mI,_shadersPolylineFS:()=>M1,_shadersPolylineGlowMaterial:()=>hI,_shadersPolylineMaterialAppearanceVS:()=>yw,_shadersPolylineOutlineMaterial:()=>pI,_shadersPolylineShadowVolumeFS:()=>mw,_shadersPolylineShadowVolumeMorphFS:()=>hw,_shadersPolylineShadowVolumeMorphVS:()=>pw,_shadersPolylineShadowVolumeVS:()=>fw,_shadersPolylineVS:()=>WN,_shadersPrimitiveOutlineStageFS:()=>qP,_shadersPrimitiveOutlineStageVS:()=>jP,_shadersRGBToHSB:()=>MX,_shadersRGBToHSL:()=>XX,_shadersRGBToXYZ:()=>wX,_shadersReinhardTonemapping:()=>UA,_shadersReprojectWebMercatorFS:()=>vF,_shadersReprojectWebMercatorVS:()=>NF,_shadersRimLightingMaterial:()=>fI,_shadersSelectedFeatureIdStageCommon:()=>ooe,_shadersSelectedFeatureIdStageFS:()=>FP,_shadersSelectedFeatureIdStageVS:()=>AP,_shadersShadowVolumeAppearanceFS:()=>AV,_shadersShadowVolumeAppearanceVS:()=>cw,_shadersShadowVolumeFS:()=>Zx,_shadersSilhouette:()=>kA,_shadersSkinningStageVS:()=>nv,_shadersSkyAtmosphereCommon:()=>EG,_shadersSkyAtmosphereFS:()=>hD,_shadersSkyAtmosphereVS:()=>pD,_shadersSkyBoxFS:()=>bD,_shadersSkyBoxVS:()=>yD,_shadersSlopeRampMaterial:()=>bI,_shadersStripeMaterial:()=>yI,_shadersSunFS:()=>xD,_shadersSunTextureFS:()=>TD,_shadersSunVS:()=>_D,_shadersTexturedMaterialAppearanceFS:()=>jE,_shadersTexturedMaterialAppearanceVS:()=>qE,_shadersVector3DTileClampedPolylinesFS:()=>YN,_shadersVector3DTileClampedPolylinesVS:()=>zN,_shadersVector3DTilePolylinesVS:()=>UN,_shadersVectorTileVS:()=>HV,_shadersVerticalExaggerationStageVS:()=>ov,_shadersViewportQuadFS:()=>lD,_shadersViewportQuadVS:()=>NS,_shadersVoxelFS:()=>R5,_shadersVoxelUtils:()=>Z5,_shadersVoxelVS:()=>G5,_shadersWater:()=>xI,_shadersWaterMaskMaterial:()=>gI,_shadersXYZToRGB:()=>sw,_shadersacesTonemapping:()=>TM,_shadersalphaWeight:()=>_M,_shadersantialias:()=>SM,_shadersapplyColorCorrection:()=>CM,_shadersapplyHSBShift:()=>LM,_shadersapproximateSphericalCoordinates:()=>VM,_shadersapproximateTanh:()=>ZM,_shadersbackFacing:()=>RM,_shadersbranchFreeTernary:()=>GM,_shaderscascadeColor:()=>EM,_shaderscascadeDistance:()=>IM,_shaderscascadeMatrix:()=>MM,_shaderscascadeWeights:()=>XM,_shadersclipPolygons:()=>wM,_shaderscolumbusViewMorph:()=>WM,_shaderscomputeAtmosphereColor:()=>PM,_shaderscomputeGroundAtmosphereScattering:()=>vM,_shaderscomputePosition:()=>NM,_shaderscomputeScattering:()=>FM,_shadersconvertUvToBox:()=>P5,_shadersconvertUvToCylinder:()=>v5,_shadersconvertUvToEllipsoid:()=>N5,_shaderscosineAndSine:()=>AM,_shaderscreateTranslationMatrix:()=>uM,_shadersdecompressTextureCoordinates:()=>DM,_shadersdegreesPerRadian:()=>RI,_shadersdepthClamp:()=>UM,_shadersdepthRange:()=>GI,_shadersdepthRangeStruct:()=>mM,_shaderseastNorthUpToEyeCoordinates:()=>kM,_shadersellipsoidContainsPoint:()=>zM,_shadersellipsoidTextureCoordinates:()=>YM,_shadersepsilon1:()=>EI,_shadersepsilon2:()=>II,_shadersepsilon3:()=>MI,_shadersepsilon4:()=>XI,_shadersepsilon5:()=>wI,_shadersepsilon6:()=>WI,_shadersepsilon7:()=>PI,_shadersequalsEpsilon:()=>BM,_shaderseyeOffset:()=>OM,_shaderseyeToWindowCoordinates:()=>KM,_shadersfastApproximateAtan:()=>HM,_shadersfog:()=>JM,_shadersgammaCorrect:()=>QM,_shadersgeodeticSurfaceNormal:()=>jM,_shadersgeometryClip:()=>qM,_shadersgetDefaultMaterial:()=>$M,_shadersgetDynamicAtmosphereLightDirection:()=>eX,_shadersgetLambertDiffuse:()=>tX,_shadersgetSpecular:()=>nX,_shadersgetWaterNoise:()=>iX,_shadershue:()=>sX,_shadersinfinity:()=>vI,_shadersinverseGamma:()=>aX,_shadersisEmpty:()=>cX,_shadersisFull:()=>lX,_shaderslatitudeToWebMercatorFraction:()=>dX,_shaderslineDistance:()=>mX,_shaderslinearToSrgb:()=>uX,_shadersluminance:()=>hX,_shadersmaterial:()=>hM,_shadersmaterialInput:()=>pM,_shadersmaximumComponent:()=>pX,_shadersmetersPerPixel:()=>fX,_shadersmodelMaterial:()=>fM,_shadersmodelToWindowCoordinates:()=>bX,_shadersmodelVertexOutput:()=>bM,_shadersmultiplyWithColorBalance:()=>yX,_shadersnearFarScalar:()=>gX,_shadersoctDecode:()=>xX,_shadersoneOverPi:()=>NI,_shadersoneOverTwoPi:()=>FI,_shaderspackDepth:()=>TX,_shaderspassCesium3DTile:()=>AI,_shaderspassCesium3DTileClassification:()=>DI,_shaderspassCesium3DTileClassificationIgnoreShow:()=>UI,_shaderspassClassification:()=>kI,_shaderspassCompute:()=>zI,_shaderspassEnvironment:()=>YI,_shaderspassGlobe:()=>BI,_shaderspassOpaque:()=>OI,_shaderspassOverlay:()=>KI,_shaderspassTerrainClassification:()=>HI,_shaderspassTranslucent:()=>JI,_shaderspassVoxels:()=>QI,_shaderspbrLighting:()=>_X,_shaderspbrNeutralTonemapping:()=>SX,_shadersphong:()=>CX,_shaderspi:()=>jI,_shaderspiOverFour:()=>qI,_shaderspiOverSix:()=>$I,_shaderspiOverThree:()=>eM,_shaderspiOverTwo:()=>tM,_shadersplaneDistance:()=>LX,_shaderspointAlongRay:()=>VX,_shadersradiansPerDegree:()=>nM,_shadersray:()=>yM,_shadersrayEllipsoidIntersectionInterval:()=>ZX,_shadersraySegment:()=>gM,_shadersraySphereIntersectionInterval:()=>RX,_shadersreadDepth:()=>GX,_shadersreadNonPerspective:()=>EX,_shadersreverseLogDepth:()=>IX,_shadersrollerShutter:()=>WX,_shadersrollerShutterPolygon:()=>PX,_shadersrollerShutterSpyglass:()=>vX,_shadersround:()=>NX,_shaderssaturation:()=>FX,_shaderssceneMode2D:()=>iM,_shaderssceneMode3D:()=>oM,_shaderssceneModeColumbusView:()=>rM,_shaderssceneModeMorphing:()=>sM,_shadersshadowDepthCompare:()=>AX,_shadersshadowParameters:()=>xM,_shadersshadowVisibility:()=>DX,_shaderssignNotZero:()=>UX,_shaderssolarRadius:()=>aM,_shaderssphericalHarmonics:()=>kX,_shaderssrgbToLinear:()=>zX,_shaderstangentToEyeSpaceMatrix:()=>YX,_shaderstextureCube:()=>BX,_shadersthreePiOver2:()=>cM,_shaderstransformPlane:()=>OX,_shaderstranslateRelativeToEye:()=>KX,_shaderstranslucentPhong:()=>HX,_shaderstranspose:()=>JX,_shaderstwoPi:()=>lM,_shadersunpackClippingExtents:()=>QX,_shadersunpackDepth:()=>jX,_shadersunpackFloat:()=>qX,_shadersunpackUint:()=>$X,_shadersvalueTransform:()=>ew,_shadersvertexLogDepth:()=>tw,_shaderswebMercatorMaxLatitude:()=>dM,_shaderswindowToEyeCoordinates:()=>nw,_shaderswriteDepthClamp:()=>iw,_shaderswriteLogDepth:()=>ow,_shaderswriteNonPerspective:()=>rw,addBuffer:()=>pW,addDefaults:()=>sW,addExtensionsRequired:()=>uW,addExtensionsUsed:()=>qm,addPipelineExtras:()=>Fx,addToArray:()=>Ca,appendForwardSlash:()=>BG,arrayRemoveDuplicates:()=>Tr,barycentricCoordinates:()=>w_,binarySearch:()=>Ir,buildModuleUrl:()=>Sn,buildVoxelDrawCommands:()=>k5,clone:()=>Ue,combine:()=>Tt,computeFlyToLocationForRectangle:()=>LC,createBillboardPointCallback:()=>KS,createCommand:()=>ni,createDefaultImageryProviderViewModels:()=>jD,createDefaultTerrainProviderViewModels:()=>qD,createElevationBandMaterial:()=>Yte,createGooglePhotorealistic3DTileset:()=>Bte,createGuid:()=>jn,createMaterialPropertyDescriptor:()=>wr,createOsmBuildingsAsync:()=>Ote,createPropertyDescriptor:()=>ge,createRawPropertyDescriptor:()=>Kd,createTangentSpaceDebugPrimitive:()=>Kte,createTaskProcessorWorker:()=>moe,createUniform:()=>VI,createUniformArray:()=>ZI,createWorldBathymetryAsync:()=>B2,createWorldImageryAsync:()=>dg,createWorldTerrainAsync:()=>K_,decodeGoogleEarthEnterpriseData:()=>H2,decodeVectorPolylinePositions:()=>J2,defaultValue:()=>g,defer:()=>Xd,defined:()=>d,demodernizeShader:()=>aw,deprecationWarning:()=>mr,destroyObject:()=>fe,exportKml:()=>bee,findAccessorMinMax:()=>lS,findContentMetadata:()=>oy,findGroupMetadata:()=>ry,findTileMetadata:()=>H1,forEachTextureInMaterial:()=>aZ,formatError:()=>Nf,freezeRenderState:()=>A8,getAbsoluteUri:()=>Cf,getAccessorByteStride:()=>$d,getBaseUri:()=>JG,getBinaryAccessor:()=>_l,getClipAndStyleCode:()=>MF,getClippingFunction:()=>sg,getComponentReader:()=>dy,getElement:()=>ui,getExtensionFromUri:()=>p_,getFilenameFromUri:()=>Eb,getImageFromTypedArray:()=>oE,getImagePixels:()=>Hh,getJsonFromTypedArray:()=>mo,getMagic:()=>wc,getMetadataClassProperty:()=>XF,getStringFromTypedArray:()=>Xr,getTimestamp:()=>ho,hasExtension:()=>Ri,heightReferenceOnEntityPropertyChanged:()=>Jb,isBitSet:()=>dl,isBlobUri:()=>f_,isCrossOriginUrl:()=>Gg,isDataUri:()=>rb,isLeapYear:()=>Kh,knockout:()=>Re,knockout_3_5_1:()=>uL,knockout_es5:()=>DD,loadAndExecuteScript:()=>b_,loadCubeMap:()=>b5,loadImageFromTypedArray:()=>i1,loadKTX2:()=>Bd,mergeSort:()=>wb,moveTechniqueRenderStates:()=>dW,moveTechniquesToExtension:()=>mW,numberOfComponentsForType:()=>Uu,objectToQuery:()=>y_,oneTimeWarning:()=>Dt,pako_inflate:()=>O1,parseAttBatchTable:()=>Ou,parseBatchTable:()=>Ip,parseFeatureMetadataLegacy:()=>rW,parseGlb:()=>cW,parseResponseHeaders:()=>QG,parseStructuralMetadata:()=>oW,parseVoxelStyles:()=>sT,pickModel:()=>ZZ,pointInsideTriangle:()=>t8,preprocess3DTileContent:()=>a0,preprocessM3DContent:()=>nN,processVoxelProperties:()=>U5,queryToObject:()=>Lu,readAccessorPacked:()=>fW,removeExtension:()=>dS,removeExtensionsRequired:()=>aW,removeExtensionsUsed:()=>cS,removePipelineExtras:()=>lW,removeUnusedElements:()=>hW,resizeImageToNextPowerOfTwo:()=>mx,sampleTerrain:()=>ME,sampleTerrainMostDetailed:()=>h1,scaleToGeodeticSurface:()=>h_,srgbToLinear:()=>b1,subdivideArray:()=>NE,subscribeAndEvaluate:()=>Zc,updateAccessorComponentTypes:()=>bW,updateVersion:()=>yW,usesExtension:()=>ss,viewerCesium3DTilesInspectorMixin:()=>Woe,viewerCesiumInspectorMixin:()=>Poe,viewerDragDropMixin:()=>Noe,viewerPerformanceWatchdogMixin:()=>Foe,viewerVoxelInspectorMixin:()=>Aoe,webGLConstantToGlslType:()=>P8,wrapFunction:()=>YE,writeTextToCanvas:()=>r1,zlib_min:()=>$ie});var nar=S(C(),1);var kNo=S(C(),1);var k5t=S(C(),1);function OMe(e){return(e.length===0||e[e.length-1]!=="/")&&(e=`${e}/`),e}var BG=OMe;var SYt=S(C(),1);var eYt=S(C(),1);var lFt=S(C(),1);var j5t=S(C(),1);var Y5t=S(C(),1);function KMe(e){return e!=null}var d=KMe;var K5t=S(C(),1);function m_(e){this.name="DeveloperError",this.message=e;let t;try{throw new Error}catch(n){t=n.stack}this.stack=t}d(Object.create)&&(m_.prototype=Object.create(Error.prototype),m_.prototype.constructor=m_);m_.prototype.toString=function(){let e=`${this.name}: ${this.message}`;return d(this.stack)&&(e+=`
|
|
96
96
|
${this.stack.toString()}`),e};m_.throwInstantiationError=function(){throw new m_("This function defines an interface and should not be called directly.")};var be=m_;var xa={};xa.typeOf={};function HMe(e){return`${e} is required, actual value was undefined`}function fL(e,t,n){return`Expected ${n} to be typeof ${t}, actual typeof was ${e}`}xa.defined=function(e,t){if(!d(t))throw new be(HMe(e))};xa.typeOf.func=function(e,t){if(typeof t!="function")throw new be(fL(typeof t,"function",e))};xa.typeOf.string=function(e,t){if(typeof t!="string")throw new be(fL(typeof t,"string",e))};xa.typeOf.number=function(e,t){if(typeof t!="number")throw new be(fL(typeof t,"number",e))};xa.typeOf.number.lessThan=function(e,t,n){if(xa.typeOf.number(e,t),t>=n)throw new be(`Expected ${e} to be less than ${n}, actual value was ${t}`)};xa.typeOf.number.lessThanOrEquals=function(e,t,n){if(xa.typeOf.number(e,t),t>n)throw new be(`Expected ${e} to be less than or equal to ${n}, actual value was ${t}`)};xa.typeOf.number.greaterThan=function(e,t,n){if(xa.typeOf.number(e,t),t<=n)throw new be(`Expected ${e} to be greater than ${n}, actual value was ${t}`)};xa.typeOf.number.greaterThanOrEquals=function(e,t,n){if(xa.typeOf.number(e,t),t<n)throw new be(`Expected ${e} to be greater than or equal to ${n}, actual value was ${t}`)};xa.typeOf.object=function(e,t){if(typeof t!="object")throw new be(fL(typeof t,"object",e))};xa.typeOf.bool=function(e,t){if(typeof t!="boolean")throw new be(fL(typeof t,"boolean",e))};xa.typeOf.bigint=function(e,t){if(typeof t!="bigint")throw new be(fL(typeof t,"bigint",e))};xa.typeOf.number.equals=function(e,t,n,i){if(xa.typeOf.number(e,n),xa.typeOf.number(t,i),n!==i)throw new be(`${e} must be equal to ${t}, the actual values are ${n} and ${i}`)};var so=xa;var $5t=S(C(),1);function Yoe(e,t){return e??t}Yoe.EMPTY_OBJECT=Object.freeze({});var g=Yoe;var oFt=S(C(),1),r4=S(OG(),1);var Et={};Et.EPSILON1=.1;Et.EPSILON2=.01;Et.EPSILON3=.001;Et.EPSILON4=1e-4;Et.EPSILON5=1e-5;Et.EPSILON6=1e-6;Et.EPSILON7=1e-7;Et.EPSILON8=1e-8;Et.EPSILON9=1e-9;Et.EPSILON10=1e-10;Et.EPSILON11=1e-11;Et.EPSILON12=1e-12;Et.EPSILON13=1e-13;Et.EPSILON14=1e-14;Et.EPSILON15=1e-15;Et.EPSILON16=1e-16;Et.EPSILON17=1e-17;Et.EPSILON18=1e-18;Et.EPSILON19=1e-19;Et.EPSILON20=1e-20;Et.EPSILON21=1e-21;Et.GRAVITATIONALPARAMETER=3986004418e5;Et.SOLAR_RADIUS=6955e5;Et.LUNAR_RADIUS=1737400;Et.SIXTY_FOUR_KILOBYTES=64*1024;Et.FOUR_GIGABYTES=4*1024*1024*1024;Et.sign=g(Math.sign,function(t){return t=+t,t===0||t!==t?t:t>0?1:-1});Et.signNotZero=function(e){return e<0?-1:1};Et.toSNorm=function(e,t){return t=g(t,255),Math.round((Et.clamp(e,-1,1)*.5+.5)*t)};Et.fromSNorm=function(e,t){return t=g(t,255),Et.clamp(e,0,t)/t*2-1};Et.normalize=function(e,t,n){return n=Math.max(n-t,0),n===0?0:Et.clamp((e-t)/n,0,1)};Et.sinh=g(Math.sinh,function(t){return(Math.exp(t)-Math.exp(-t))/2});Et.cosh=g(Math.cosh,function(t){return(Math.exp(t)+Math.exp(-t))/2});Et.lerp=function(e,t,n){return(1-n)*e+n*t};Et.PI=Math.PI;Et.ONE_OVER_PI=1/Math.PI;Et.PI_OVER_TWO=Math.PI/2;Et.PI_OVER_THREE=Math.PI/3;Et.PI_OVER_FOUR=Math.PI/4;Et.PI_OVER_SIX=Math.PI/6;Et.THREE_PI_OVER_TWO=3*Math.PI/2;Et.TWO_PI=2*Math.PI;Et.ONE_OVER_TWO_PI=1/(2*Math.PI);Et.RADIANS_PER_DEGREE=Math.PI/180;Et.DEGREES_PER_RADIAN=180/Math.PI;Et.RADIANS_PER_ARCSECOND=Et.RADIANS_PER_DEGREE/3600;Et.toRadians=function(e){return e*Et.RADIANS_PER_DEGREE};Et.toDegrees=function(e){return e*Et.DEGREES_PER_RADIAN};Et.convertLongitudeRange=function(e){let t=Et.TWO_PI,n=e-Math.floor(e/t)*t;return n<-Math.PI?n+t:n>=Math.PI?n-t:n};Et.clampToLatitudeRange=function(e){return Et.clamp(e,-1*Et.PI_OVER_TWO,Et.PI_OVER_TWO)};Et.negativePiToPi=function(e){return e>=-Et.PI&&e<=Et.PI?e:Et.zeroToTwoPi(e+Et.PI)-Et.PI};Et.zeroToTwoPi=function(e){if(e>=0&&e<=Et.TWO_PI)return e;let t=Et.mod(e,Et.TWO_PI);return Math.abs(t)<Et.EPSILON14&&Math.abs(e)>Et.EPSILON14?Et.TWO_PI:t};Et.mod=function(e,t){return Et.sign(e)===Et.sign(t)&&Math.abs(e)<Math.abs(t)?e:(e%t+t)%t};Et.equalsEpsilon=function(e,t,n,i){n=g(n,0),i=g(i,n);let o=Math.abs(e-t);return o<=i||o<=n*Math.max(Math.abs(e),Math.abs(t))};Et.lessThan=function(e,t,n){return e-t<-n};Et.lessThanOrEquals=function(e,t,n){return e-t<n};Et.greaterThan=function(e,t,n){return e-t>n};Et.greaterThanOrEquals=function(e,t,n){return e-t>-n};var A3=[1];Et.factorial=function(e){let t=A3.length;if(e>=t){let n=A3[t-1];for(let i=t;i<=e;i++){let o=n*i;A3.push(o),n=o}}return A3[e]};Et.incrementWrap=function(e,t,n){return n=g(n,0),++e,e>t&&(e=n),e};Et.isPowerOfTwo=function(e){return e!==0&&(e&e-1)===0};Et.nextPowerOfTwo=function(e){return--e,e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,++e,e};Et.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};Et.clamp=function(e,t,n){return e<t?t:e>n?n:e};var Ooe=new r4.default;Et.setRandomNumberSeed=function(e){Ooe=new r4.default(e)};Et.nextRandomNumber=function(){return Ooe.random()};Et.randomBetween=function(e,t){return Et.nextRandomNumber()*(t-e)+e};Et.acosClamped=function(e){return Math.acos(Et.clamp(e,-1,1))};Et.asinClamped=function(e){return Math.asin(Et.clamp(e,-1,1))};Et.chordLength=function(e,t){return 2*t*Math.sin(e*.5)};Et.logBase=function(e,t){return Math.log(e)/Math.log(t)};Et.cbrt=g(Math.cbrt,function(t){let n=Math.pow(Math.abs(t),.3333333333333333);return t<0?-n:n});Et.log2=g(Math.log2,function(t){return Math.log(t)*Math.LOG2E});Et.fog=function(e,t){let n=e*t;return 1-Math.exp(-(n*n))};Et.fastApproximateAtan=function(e){return e*(-.1784*Math.abs(e)-.0663*e*e+1.0301)};Et.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=Et.fastApproximateAtan(r),i=Math.abs(t)>Math.abs(e)?Et.PI_OVER_TWO-i:i,i=e<0?Et.PI-i:i,i=t<0?-i:i,i};var X=Et;function ft(e,t,n){this.x=g(e,0),this.y=g(t,0),this.z=g(n,0)}ft.fromSpherical=function(e,t){d(t)||(t=new ft);let n=e.clock,i=e.cone,o=g(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};ft.fromElements=function(e,t,n,i){return d(i)?(i.x=e,i.y=t,i.z=n,i):new ft(e,t,n)};ft.clone=function(e,t){if(d(e))return d(t)?(t.x=e.x,t.y=e.y,t.z=e.z,t):new ft(e.x,e.y,e.z)};ft.fromCartesian4=ft.clone;ft.packedLength=3;ft.pack=function(e,t,n){return n=g(n,0),t[n++]=e.x,t[n++]=e.y,t[n]=e.z,t};ft.unpack=function(e,t,n){return t=g(t,0),d(n)||(n=new ft),n.x=e[t++],n.y=e[t++],n.z=e[t],n};ft.packArray=function(e,t){let n=e.length,i=n*3;d(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*3);return t};ft.unpackArray=function(e,t){let n=e.length;d(t)?t.length=n/3:t=new Array(n/3);for(let i=0;i<n;i+=3){let o=i/3;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)};ft.minimumComponent=function(e){return Math.min(e.x,e.y,e.z)};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};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};ft.clamp=function(e,t,n,i){let o=X.clamp(e.x,t.x,n.x),r=X.clamp(e.y,t.y,n.y),s=X.clamp(e.z,t.z,n.z);return i.x=o,i.y=r,i.z=s,i};ft.magnitudeSquared=function(e){return e.x*e.x+e.y*e.y+e.z*e.z};ft.magnitude=function(e){return Math.sqrt(ft.magnitudeSquared(e))};var U3=new ft;ft.distance=function(e,t){return ft.subtract(e,t,U3),ft.magnitude(U3)};ft.distanceSquared=function(e,t){return ft.subtract(e,t,U3),ft.magnitudeSquared(U3)};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};ft.dot=function(e,t){return e.x*t.x+e.y*t.y+e.z*t.z};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};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};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};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};ft.multiplyByScalar=function(e,t,n){return n.x=e.x*t,n.y=e.y*t,n.z=e.z*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};ft.negate=function(e,t){return t.x=-e.x,t.y=-e.y,t.z=-e.z,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};var Koe=new ft;ft.lerp=function(e,t,n,i){return ft.multiplyByScalar(t,n,Koe),i=ft.multiplyByScalar(e,1-n,i),ft.add(Koe,i,i)};var D3=new ft,s4=new ft;ft.angleBetween=function(e,t){ft.normalize(e,D3),ft.normalize(t,s4);let n=ft.dot(D3,s4),i=ft.magnitude(ft.cross(D3,s4,D3));return Math.atan2(i,n)};var JMe=new ft;ft.mostOrthogonalAxis=function(e,t){let n=ft.normalize(e,JMe);return ft.abs(n,n),n.x<=n.y?n.x<=n.z?t=ft.clone(ft.UNIT_X,t):t=ft.clone(ft.UNIT_Z,t):n.y<=n.z?t=ft.clone(ft.UNIT_Y,t):t=ft.clone(ft.UNIT_Z,t),t};ft.projectVector=function(e,t,n){let i=ft.dot(e,t)/ft.dot(t,t);return ft.multiplyByScalar(t,i,n)};ft.equals=function(e,t){return e===t||d(e)&&d(t)&&e.x===t.x&&e.y===t.y&&e.z===t.z};ft.equalsArray=function(e,t,n){return e.x===t[n]&&e.y===t[n+1]&&e.z===t[n+2]};ft.equalsEpsilon=function(e,t,n,i){return e===t||d(e)&&d(t)&&X.equalsEpsilon(e.x,t.x,n,i)&&X.equalsEpsilon(e.y,t.y,n,i)&&X.equalsEpsilon(e.z,t.z,n,i)};ft.cross=function(e,t,n){let i=e.x,o=e.y,r=e.z,s=t.x,a=t.y,c=t.z,l=o*c-r*a,u=r*s-i*c,m=i*a-o*s;return n.x=l,n.y=u,n.z=m,n};ft.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};ft.fromDegrees=function(e,t,n,i,o){return e=X.toRadians(e),t=X.toRadians(t),ft.fromRadians(e,t,n,i,o)};var Lm=new ft,bL=new ft;ft._ellipsoidRadiiSquared=new ft(6378137*6378137,6378137*6378137,6356752314245179e-9*6356752314245179e-9);ft.fromRadians=function(e,t,n,i,o){n=g(n,0);let r=d(i)?i.radiiSquared:ft._ellipsoidRadiiSquared,s=Math.cos(t);Lm.x=s*Math.cos(e),Lm.y=s*Math.sin(e),Lm.z=Math.sin(t),Lm=ft.normalize(Lm,Lm),ft.multiplyComponents(r,Lm,bL);let a=Math.sqrt(ft.dot(Lm,bL));return bL=ft.divideByScalar(bL,a,bL),Lm=ft.multiplyByScalar(Lm,n,Lm),d(o)||(o=new ft),ft.add(bL,Lm,o)};ft.fromDegreesArray=function(e,t,n){let i=e.length;d(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]=ft.fromDegrees(r,s,0,t,n[a])}return n};ft.fromRadiansArray=function(e,t,n){let i=e.length;d(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]=ft.fromRadians(r,s,0,t,n[a])}return n};ft.fromDegreesArrayHeights=function(e,t,n){let i=e.length;d(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]=ft.fromDegrees(r,s,a,t,n[c])}return n};ft.fromRadiansArrayHeights=function(e,t,n){let i=e.length;d(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]=ft.fromRadians(r,s,a,t,n[c])}return n};ft.ZERO=Object.freeze(new ft(0,0,0));ft.ONE=Object.freeze(new ft(1,1,1));ft.UNIT_X=Object.freeze(new ft(1,0,0));ft.UNIT_Y=Object.freeze(new ft(0,1,0));ft.UNIT_Z=Object.freeze(new ft(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})`};var h=ft;var _Ft=S(C(),1);var pFt=S(C(),1);var QMe=new h,jMe=new h;function qMe(e,t,n,i,o){let r=e.x,s=e.y,a=e.z,c=t.x,l=t.y,u=t.z,m=r*r*c*c,f=s*s*l*l,b=a*a*u*u,p=m+f+b,x=Math.sqrt(1/p),T=h.multiplyByScalar(e,x,QMe);if(p<i)return isFinite(x)?h.clone(T,o):void 0;let _=n.x,L=n.y,V=n.z,Z=jMe;Z.x=T.x*_*2,Z.y=T.y*L*2,Z.z=T.z*V*2;let G=(1-x)*h.magnitude(e)/(.5*h.magnitude(Z)),I=0,w,W,v,N,y,R,E,M,F,A,B;do{G-=I,v=1/(1+G*_),N=1/(1+G*L),y=1/(1+G*V),R=v*v,E=N*N,M=y*y,F=R*v,A=E*N,B=M*y,w=m*R+f*E+b*M-1,W=m*F*_+f*A*L+b*B*V;let U=-2*W;I=w/U}while(Math.abs(w)>X.EPSILON12);return d(o)?(o.x=r*v,o.y=s*N,o.z=a*y,o):new h(r*v,s*N,a*y)}var h_=qMe;function Nr(e,t,n){this.longitude=g(e,0),this.latitude=g(t,0),this.height=g(n,0)}Nr.fromRadians=function(e,t,n,i){return n=g(n,0),d(i)?(i.longitude=e,i.latitude=t,i.height=n,i):new Nr(e,t,n)};Nr.fromDegrees=function(e,t,n,i){return e=X.toRadians(e),t=X.toRadians(t),Nr.fromRadians(e,t,n,i)};var $Me=new h,eXe=new h,tXe=new h;Nr._ellipsoidOneOverRadii=new h(1/6378137,1/6378137,1/6356752314245179e-9);Nr._ellipsoidOneOverRadiiSquared=new h(1/(6378137*6378137),1/(6378137*6378137),1/(6356752314245179e-9*6356752314245179e-9));Nr._ellipsoidCenterToleranceSquared=X.EPSILON1;Nr.fromCartesian=function(e,t,n){let i=d(t)?t.oneOverRadii:Nr._ellipsoidOneOverRadii,o=d(t)?t.oneOverRadiiSquared:Nr._ellipsoidOneOverRadiiSquared,r=d(t)?t._centerToleranceSquared:Nr._ellipsoidCenterToleranceSquared,s=h_(e,i,o,r,eXe);if(!d(s))return;let a=h.multiplyComponents(s,o,$Me);a=h.normalize(a,a);let c=h.subtract(e,s,tXe),l=Math.atan2(a.y,a.x),u=Math.asin(a.z),m=X.sign(h.dot(c,e))*h.magnitude(c);return d(n)?(n.longitude=l,n.latitude=u,n.height=m,n):new Nr(l,u,m)};Nr.toCartesian=function(e,t,n){return h.fromRadians(e.longitude,e.latitude,e.height,t,n)};Nr.clone=function(e,t){if(d(e))return d(t)?(t.longitude=e.longitude,t.latitude=e.latitude,t.height=e.height,t):new Nr(e.longitude,e.latitude,e.height)};Nr.equals=function(e,t){return e===t||d(e)&&d(t)&&e.longitude===t.longitude&&e.latitude===t.latitude&&e.height===t.height};Nr.equalsEpsilon=function(e,t,n){return n=g(n,0),e===t||d(e)&&d(t)&&Math.abs(e.longitude-t.longitude)<=n&&Math.abs(e.latitude-t.latitude)<=n&&Math.abs(e.height-t.height)<=n};Nr.ZERO=Object.freeze(new Nr(0,0,0));Nr.prototype.clone=function(e){return Nr.clone(this,e)};Nr.prototype.equals=function(e){return Nr.equals(this,e)};Nr.prototype.equalsEpsilon=function(e,t){return Nr.equalsEpsilon(this,e,t)};Nr.prototype.toString=function(){return`(${this.longitude}, ${this.latitude}, ${this.height})`};var me=Nr;var PFt=S(C(),1);var ZFt=S(C(),1);function rn(e,t){this.x=g(e,0),this.y=g(t,0)}rn.fromElements=function(e,t,n){return d(n)?(n.x=e,n.y=t,n):new rn(e,t)};rn.clone=function(e,t){if(d(e))return d(t)?(t.x=e.x,t.y=e.y,t):new rn(e.x,e.y)};rn.fromCartesian3=rn.clone;rn.fromCartesian4=rn.clone;rn.packedLength=2;rn.pack=function(e,t,n){return n=g(n,0),t[n++]=e.x,t[n]=e.y,t};rn.unpack=function(e,t,n){return t=g(t,0),d(n)||(n=new rn),n.x=e[t++],n.y=e[t],n};rn.packArray=function(e,t){let n=e.length,i=n*2;d(t)?!Array.isArray(t)&&t.length!==i||t.length!==i&&(t.length=i):t=new Array(i);for(let o=0;o<n;++o)rn.pack(e[o],t,o*2);return t};rn.unpackArray=function(e,t){let n=e.length;d(t)?t.length=n/2:t=new Array(n/2);for(let i=0;i<n;i+=2){let o=i/2;t[o]=rn.unpack(e,i,t[o])}return t};rn.fromArray=rn.unpack;rn.maximumComponent=function(e){return Math.max(e.x,e.y)};rn.minimumComponent=function(e){return Math.min(e.x,e.y)};rn.minimumByComponent=function(e,t,n){return n.x=Math.min(e.x,t.x),n.y=Math.min(e.y,t.y),n};rn.maximumByComponent=function(e,t,n){return n.x=Math.max(e.x,t.x),n.y=Math.max(e.y,t.y),n};rn.clamp=function(e,t,n,i){let o=X.clamp(e.x,t.x,n.x),r=X.clamp(e.y,t.y,n.y);return i.x=o,i.y=r,i};rn.magnitudeSquared=function(e){return e.x*e.x+e.y*e.y};rn.magnitude=function(e){return Math.sqrt(rn.magnitudeSquared(e))};var k3=new rn;rn.distance=function(e,t){return rn.subtract(e,t,k3),rn.magnitude(k3)};rn.distanceSquared=function(e,t){return rn.subtract(e,t,k3),rn.magnitudeSquared(k3)};rn.normalize=function(e,t){let n=rn.magnitude(e);return t.x=e.x/n,t.y=e.y/n,t};rn.dot=function(e,t){return e.x*t.x+e.y*t.y};rn.cross=function(e,t){return e.x*t.y-e.y*t.x};rn.multiplyComponents=function(e,t,n){return n.x=e.x*t.x,n.y=e.y*t.y,n};rn.divideComponents=function(e,t,n){return n.x=e.x/t.x,n.y=e.y/t.y,n};rn.add=function(e,t,n){return n.x=e.x+t.x,n.y=e.y+t.y,n};rn.subtract=function(e,t,n){return n.x=e.x-t.x,n.y=e.y-t.y,n};rn.multiplyByScalar=function(e,t,n){return n.x=e.x*t,n.y=e.y*t,n};rn.divideByScalar=function(e,t,n){return n.x=e.x/t,n.y=e.y/t,n};rn.negate=function(e,t){return t.x=-e.x,t.y=-e.y,t};rn.abs=function(e,t){return t.x=Math.abs(e.x),t.y=Math.abs(e.y),t};var Hoe=new rn;rn.lerp=function(e,t,n,i){return rn.multiplyByScalar(t,n,Hoe),i=rn.multiplyByScalar(e,1-n,i),rn.add(Hoe,i,i)};var Joe=new rn,Qoe=new rn;rn.angleBetween=function(e,t){return rn.normalize(e,Joe),rn.normalize(t,Qoe),X.acosClamped(rn.dot(Joe,Qoe))};var nXe=new rn;rn.mostOrthogonalAxis=function(e,t){let n=rn.normalize(e,nXe);return rn.abs(n,n),n.x<=n.y?t=rn.clone(rn.UNIT_X,t):t=rn.clone(rn.UNIT_Y,t),t};rn.equals=function(e,t){return e===t||d(e)&&d(t)&&e.x===t.x&&e.y===t.y};rn.equalsArray=function(e,t,n){return e.x===t[n]&&e.y===t[n+1]};rn.equalsEpsilon=function(e,t,n,i){return e===t||d(e)&&d(t)&&X.equalsEpsilon(e.x,t.x,n,i)&&X.equalsEpsilon(e.y,t.y,n,i)};rn.ZERO=Object.freeze(new rn(0,0));rn.ONE=Object.freeze(new rn(1,1));rn.UNIT_X=Object.freeze(new rn(1,0));rn.UNIT_Y=Object.freeze(new rn(0,1));rn.prototype.clone=function(e){return rn.clone(this,e)};rn.prototype.equals=function(e){return rn.equals(this,e)};rn.prototype.equalsEpsilon=function(e,t,n){return rn.equalsEpsilon(this,e,t,n)};rn.prototype.toString=function(){return`(${this.x}, ${this.y})`};var Y=rn;function qoe(e,t,n,i){t=g(t,0),n=g(n,0),i=g(i,0),e._radii=new h(t,n,i),e._radiiSquared=new h(t*t,n*n,i*i),e._radiiToTheFourth=new h(t*t*t*t,n*n*n*n,i*i*i*i),e._oneOverRadii=new h(t===0?0:1/t,n===0?0:1/n,i===0?0:1/i),e._oneOverRadiiSquared=new h(t===0?0:1/(t*t),n===0?0:1/(n*n),i===0?0:1/(i*i)),e._minimumRadius=Math.min(t,n,i),e._maximumRadius=Math.max(t,n,i),e._centerToleranceSquared=X.EPSILON1,e._radiiSquared.z!==0&&(e._squaredXOverSquaredZ=e._radiiSquared.x/e._radiiSquared.z)}function no(e,t,n){this._radii=void 0,this._radiiSquared=void 0,this._radiiToTheFourth=void 0,this._oneOverRadii=void 0,this._oneOverRadiiSquared=void 0,this._minimumRadius=void 0,this._maximumRadius=void 0,this._centerToleranceSquared=void 0,this._squaredXOverSquaredZ=void 0,qoe(this,e,t,n)}Object.defineProperties(no.prototype,{radii:{get:function(){return this._radii}},radiiSquared:{get:function(){return this._radiiSquared}},radiiToTheFourth:{get:function(){return this._radiiToTheFourth}},oneOverRadii:{get:function(){return this._oneOverRadii}},oneOverRadiiSquared:{get:function(){return this._oneOverRadiiSquared}},minimumRadius:{get:function(){return this._minimumRadius}},maximumRadius:{get:function(){return this._maximumRadius}}});no.clone=function(e,t){if(!d(e))return;let n=e._radii;return d(t)?(h.clone(n,t._radii),h.clone(e._radiiSquared,t._radiiSquared),h.clone(e._radiiToTheFourth,t._radiiToTheFourth),h.clone(e._oneOverRadii,t._oneOverRadii),h.clone(e._oneOverRadiiSquared,t._oneOverRadiiSquared),t._minimumRadius=e._minimumRadius,t._maximumRadius=e._maximumRadius,t._centerToleranceSquared=e._centerToleranceSquared,t):new no(n.x,n.y,n.z)};no.fromCartesian3=function(e,t){return d(t)||(t=new no),d(e)&&qoe(t,e.x,e.y,e.z),t};no.WGS84=Object.freeze(new no(6378137,6378137,6356752314245179e-9));no.CGCS2000=Object.freeze(new no(6378137,6378137,6356752314140356e-9));no.UNIT_SPHERE=Object.freeze(new no(1,1,1));no.MOON=Object.freeze(new no(X.LUNAR_RADIUS,X.LUNAR_RADIUS,X.LUNAR_RADIUS));no._default=no.WGS84;Object.defineProperties(no,{default:{get:function(){return no._default},set:function(e){no._default=e,h._ellipsoidRadiiSquared=e.radiiSquared,me._ellipsoidOneOverRadii=e.oneOverRadii,me._ellipsoidOneOverRadiiSquared=e.oneOverRadiiSquared,me._ellipsoidCenterToleranceSquared=e._centerToleranceSquared}}});no.prototype.clone=function(e){return no.clone(this,e)};no.packedLength=h.packedLength;no.pack=function(e,t,n){return n=g(n,0),h.pack(e._radii,t,n),t};no.unpack=function(e,t,n){t=g(t,0);let i=h.unpack(e,t);return no.fromCartesian3(i,n)};no.prototype.geocentricSurfaceNormal=h.normalize;no.prototype.geodeticSurfaceNormalCartographic=function(e,t){let n=e.longitude,i=e.latitude,o=Math.cos(i),r=o*Math.cos(n),s=o*Math.sin(n),a=Math.sin(i);return d(t)||(t=new h),t.x=r,t.y=s,t.z=a,h.normalize(t,t)};no.prototype.geodeticSurfaceNormal=function(e,t){if(!h.equalsEpsilon(e,h.ZERO,X.EPSILON14))return d(t)||(t=new h),t=h.multiplyComponents(e,this._oneOverRadiiSquared,t),h.normalize(t,t)};var iXe=new h,oXe=new h;no.prototype.cartographicToCartesian=function(e,t){let n=iXe,i=oXe;this.geodeticSurfaceNormalCartographic(e,n),h.multiplyComponents(this._radiiSquared,n,i);let o=Math.sqrt(h.dot(n,i));return h.divideByScalar(i,o,i),h.multiplyByScalar(n,e.height,n),d(t)||(t=new h),h.add(i,n,t)};no.prototype.cartographicArrayToCartesianArray=function(e,t){let n=e.length;d(t)?t.length=n:t=new Array(n);for(let i=0;i<n;i++)t[i]=this.cartographicToCartesian(e[i],t[i]);return t};var rXe=new h,sXe=new h,aXe=new h;no.prototype.cartesianToCartographic=function(e,t){let n=this.scaleToGeodeticSurface(e,sXe);if(!d(n))return;let i=this.geodeticSurfaceNormal(n,rXe),o=h.subtract(e,n,aXe),r=Math.atan2(i.y,i.x),s=Math.asin(i.z),a=X.sign(h.dot(o,e))*h.magnitude(o);return d(t)?(t.longitude=r,t.latitude=s,t.height=a,t):new me(r,s,a)};no.prototype.cartesianArrayToCartographicArray=function(e,t){let n=e.length;d(t)?t.length=n:t=new Array(n);for(let i=0;i<n;++i)t[i]=this.cartesianToCartographic(e[i],t[i]);return t};no.prototype.scaleToGeodeticSurface=function(e,t){return h_(e,this._oneOverRadii,this._oneOverRadiiSquared,this._centerToleranceSquared,t)};no.prototype.scaleToGeocentricSurface=function(e,t){d(t)||(t=new h);let n=e.x,i=e.y,o=e.z,r=this._oneOverRadiiSquared,s=1/Math.sqrt(n*n*r.x+i*i*r.y+o*o*r.z);return h.multiplyByScalar(e,s,t)};no.prototype.transformPositionToScaledSpace=function(e,t){return d(t)||(t=new h),h.multiplyComponents(e,this._oneOverRadii,t)};no.prototype.transformPositionFromScaledSpace=function(e,t){return d(t)||(t=new h),h.multiplyComponents(e,this._radii,t)};no.prototype.equals=function(e){return this===e||d(e)&&h.equals(this._radii,e._radii)};no.prototype.toString=function(){return this._radii.toString()};no.prototype.getSurfaceNormalIntersectionWithZAxis=function(e,t,n){t=g(t,0);let i=this._squaredXOverSquaredZ;if(d(n)||(n=new h),n.x=0,n.y=0,n.z=e.z*(1-i),!(Math.abs(n.z)>=this._radii.z-t))return n};var cXe=new h;no.prototype.getLocalCurvature=function(e,t){d(t)||(t=new Y);let n=this.getSurfaceNormalIntersectionWithZAxis(e,0,cXe),i=h.distance(e,n),o=this.minimumRadius*i/this.maximumRadius**2,r=i*o**2;return Y.fromElements(1/i,1/r,t)};var lXe=[.14887433898163,.43339539412925,.67940956829902,.86506336668898,.97390652851717,0],dXe=[.29552422471475,.26926671930999,.21908636251598,.14945134915058,.066671344308684,0];function joe(e,t,n){let i=.5*(t+e),o=.5*(t-e),r=0;for(let s=0;s<5;s++){let a=o*lXe[s];r+=dXe[s]*(n(i+a)+n(i-a))}return r*=o,r}no.prototype.surfaceArea=function(e){let t=e.west,n=e.east,i=e.south,o=e.north;for(;n<t;)n+=X.TWO_PI;let r=this._radiiSquared,s=r.x,a=r.y,c=r.z,l=s*a;return joe(i,o,function(u){let m=Math.cos(u),f=Math.sin(u);return Math.cos(u)*joe(t,n,function(b){let p=Math.cos(b),x=Math.sin(b);return Math.sqrt(l*f*f+c*(a*p*p+s*x*x)*m*m)})})};var oe=no;var kFt=S(C(),1);function z3(e){this._ellipsoid=g(e,oe.default),this._semimajorAxis=this._ellipsoid.maximumRadius,this._oneOverSemimajorAxis=1/this._semimajorAxis}Object.defineProperties(z3.prototype,{ellipsoid:{get:function(){return this._ellipsoid}}});z3.prototype.project=function(e,t){let n=this._semimajorAxis,i=e.longitude*n,o=e.latitude*n,r=e.height;return d(t)?(t.x=i,t.y=o,t.z=r,t):new h(i,o,r)};z3.prototype.unproject=function(e,t){let n=this._oneOverSemimajorAxis,i=e.x*n,o=e.y*n,r=e.z;return d(t)?(t.longitude=i,t.latitude=o,t.height=r,t):new me(i,o,r)};var Co=z3;var YFt=S(C(),1),uXe={OUTSIDE:-1,INTERSECTING:0,INSIDE:1},qt=Object.freeze(uXe);var KFt=S(C(),1);function mXe(e,t){this.start=g(e,0),this.stop=g(t,0)}var wa=mXe;var $Ft=S(C(),1);function xt(e,t,n,i,o,r,s,a,c){this[0]=g(e,0),this[1]=g(i,0),this[2]=g(s,0),this[3]=g(t,0),this[4]=g(o,0),this[5]=g(a,0),this[6]=g(n,0),this[7]=g(r,0),this[8]=g(c,0)}xt.packedLength=9;xt.pack=function(e,t,n){return n=g(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};xt.unpack=function(e,t,n){return t=g(t,0),d(n)||(n=new xt),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};xt.packArray=function(e,t){let n=e.length,i=n*9;d(t)?!Array.isArray(t)&&t.length!==i||t.length!==i&&(t.length=i):t=new Array(i);for(let o=0;o<n;++o)xt.pack(e[o],t,o*9);return t};xt.unpackArray=function(e,t){let n=e.length;d(t)?t.length=n/9:t=new Array(n/9);for(let i=0;i<n;i+=9){let o=i/9;t[o]=xt.unpack(e,i,t[o])}return t};xt.clone=function(e,t){if(d(e))return d(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 xt(e[0],e[3],e[6],e[1],e[4],e[7],e[2],e[5],e[8])};xt.fromArray=xt.unpack;xt.fromColumnMajorArray=function(e,t){return xt.clone(e,t)};xt.fromRowMajorArray=function(e,t){return d(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 xt(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])};xt.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,l=e.z*e.z,u=e.z*e.w,m=e.w*e.w,f=n-s-l+m,b=2*(i-u),p=2*(o+c),x=2*(i+u),T=-n+s-l+m,_=2*(a-r),L=2*(o-c),V=2*(a+r),Z=-n-s+l+m;return d(t)?(t[0]=f,t[1]=x,t[2]=L,t[3]=b,t[4]=T,t[5]=V,t[6]=p,t[7]=_,t[8]=Z,t):new xt(f,b,p,x,T,_,L,V,Z)};xt.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,l=-o*s+a*r*i,u=a*s+o*r*i,m=n*s,f=o*i+a*r*s,b=-a*i+o*r*s,p=-r,x=a*n,T=o*n;return d(t)?(t[0]=c,t[1]=m,t[2]=p,t[3]=l,t[4]=f,t[5]=x,t[6]=u,t[7]=b,t[8]=T,t):new xt(c,l,u,m,f,b,p,x,T)};xt.fromScale=function(e,t){return d(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 xt(e.x,0,0,0,e.y,0,0,0,e.z)};xt.fromUniformScale=function(e,t){return d(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 xt(e,0,0,0,e,0,0,0,e)};xt.fromCrossProduct=function(e,t){return d(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 xt(0,-e.z,e.y,e.z,0,-e.x,-e.y,e.x,0)};xt.fromRotationX=function(e,t){let n=Math.cos(e),i=Math.sin(e);return d(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 xt(1,0,0,0,n,-i,0,i,n)};xt.fromRotationY=function(e,t){let n=Math.cos(e),i=Math.sin(e);return d(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 xt(n,0,i,0,1,0,-i,0,n)};xt.fromRotationZ=function(e,t){let n=Math.cos(e),i=Math.sin(e);return d(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 xt(n,-i,0,i,n,0,0,0,1)};xt.toArray=function(e,t){return d(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]]};xt.getElementIndex=function(e,t){return e*3+t};xt.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};xt.setColumn=function(e,t,n,i){i=xt.clone(e,i);let o=t*3;return i[o]=n.x,i[o+1]=n.y,i[o+2]=n.z,i};xt.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};xt.setRow=function(e,t,n,i){return i=xt.clone(e,i),i[t]=n.x,i[t+3]=n.y,i[t+6]=n.z,i};var hXe=new h;xt.setScale=function(e,t,n){let i=xt.getScale(e,hXe),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 pXe=new h;xt.setUniformScale=function(e,t,n){let i=xt.getScale(e,pXe),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 a4=new h;xt.getScale=function(e,t){return t.x=h.magnitude(h.fromElements(e[0],e[1],e[2],a4)),t.y=h.magnitude(h.fromElements(e[3],e[4],e[5],a4)),t.z=h.magnitude(h.fromElements(e[6],e[7],e[8],a4)),t};var $oe=new h;xt.getMaximumScale=function(e){return xt.getScale(e,$oe),h.maximumComponent($oe)};var fXe=new h;xt.setRotation=function(e,t,n){let i=xt.getScale(e,fXe);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 bXe=new h;xt.getRotation=function(e,t){let n=xt.getScale(e,bXe);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};xt.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],l=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],m=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]=l,n[7]=u,n[8]=m,n};xt.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};xt.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};xt.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};xt.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};xt.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};xt.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};xt.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};xt.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],l=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]=l,t[8]=u,t};function yXe(e){let t=0;for(let n=0;n<9;++n){let i=e[n];t+=i*i}return Math.sqrt(t)}var c4=[1,0,0],l4=[2,2,1];function gXe(e){let t=0;for(let n=0;n<3;++n){let i=e[xt.getElementIndex(l4[n],c4[n])];t+=2*i*i}return Math.sqrt(t)}function xXe(e,t){let n=X.EPSILON15,i=0,o=1;for(let l=0;l<3;++l){let u=Math.abs(e[xt.getElementIndex(l4[l],c4[l])]);u>i&&(o=l,i=u)}let r=1,s=0,a=c4[o],c=l4[o];if(Math.abs(e[xt.getElementIndex(c,a)])>n){let l=e[xt.getElementIndex(c,c)],u=e[xt.getElementIndex(a,a)],m=e[xt.getElementIndex(c,a)],f=(l-u)/2/m,b;f<0?b=-1/(-f+Math.sqrt(1+f*f)):b=1/(f+Math.sqrt(1+f*f)),r=1/Math.sqrt(1+b*b),s=b*r}return t=xt.clone(xt.IDENTITY,t),t[xt.getElementIndex(a,a)]=t[xt.getElementIndex(c,c)]=r,t[xt.getElementIndex(c,a)]=s,t[xt.getElementIndex(a,c)]=-s,t}var Y3=new xt,ere=new xt;xt.computeEigenDecomposition=function(e,t){let n=X.EPSILON20,i=10,o=0,r=0;d(t)||(t={});let s=t.unitary=xt.clone(xt.IDENTITY,t.unitary),a=t.diagonal=xt.clone(e,t.diagonal),c=n*yXe(a);for(;r<i&&gXe(a)>c;)xXe(a,Y3),xt.transpose(Y3,ere),xt.multiply(a,Y3,a),xt.multiply(ere,a,a),xt.multiply(s,Y3,s),++o>2&&(++r,o=0);return t};xt.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};xt.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],l=e[8];return t*(r*l-c*s)+o*(c*i-n*l)+a*(n*s-r*i)};xt.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],l=e[7],u=e[8],m=xt.determinant(e);t[0]=s*u-l*a,t[1]=l*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*l-c*s,t[7]=c*i-n*l,t[8]=n*s-r*i;let f=1/m;return xt.multiplyByScalar(t,f,t)};var TXe=new xt;xt.inverseTranspose=function(e,t){return xt.inverse(xt.transpose(e,TXe),t)};xt.equals=function(e,t){return e===t||d(e)&&d(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]};xt.equalsEpsilon=function(e,t,n){return n=g(n,0),e===t||d(e)&&d(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};xt.IDENTITY=Object.freeze(new xt(1,0,0,0,1,0,0,0,1));xt.ZERO=Object.freeze(new xt(0,0,0,0,0,0,0,0,0));xt.COLUMN0ROW0=0;xt.COLUMN0ROW1=1;xt.COLUMN0ROW2=2;xt.COLUMN1ROW0=3;xt.COLUMN1ROW1=4;xt.COLUMN1ROW2=5;xt.COLUMN2ROW0=6;xt.COLUMN2ROW1=7;xt.COLUMN2ROW2=8;Object.defineProperties(xt.prototype,{length:{get:function(){return xt.packedLength}}});xt.prototype.clone=function(e){return xt.clone(this,e)};xt.prototype.equals=function(e){return xt.equals(this,e)};xt.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]};xt.prototype.equalsEpsilon=function(e,t){return xt.equalsEpsilon(this,e,t)};xt.prototype.toString=function(){return`(${this[0]}, ${this[3]}, ${this[6]})
|
|
97
97
|
(${this[1]}, ${this[4]}, ${this[7]})
|
|
98
98
|
(${this[2]}, ${this[5]}, ${this[8]})`};var $=xt;var bAt=S(C(),1);var oAt=S(C(),1);function Ot(e,t,n,i){this.x=g(e,0),this.y=g(t,0),this.z=g(n,0),this.w=g(i,0)}Ot.fromElements=function(e,t,n,i,o){return d(o)?(o.x=e,o.y=t,o.z=n,o.w=i,o):new Ot(e,t,n,i)};Ot.fromColor=function(e,t){return d(t)?(t.x=e.red,t.y=e.green,t.z=e.blue,t.w=e.alpha,t):new Ot(e.red,e.green,e.blue,e.alpha)};Ot.clone=function(e,t){if(d(e))return d(t)?(t.x=e.x,t.y=e.y,t.z=e.z,t.w=e.w,t):new Ot(e.x,e.y,e.z,e.w)};Ot.packedLength=4;Ot.pack=function(e,t,n){return n=g(n,0),t[n++]=e.x,t[n++]=e.y,t[n++]=e.z,t[n]=e.w,t};Ot.unpack=function(e,t,n){return t=g(t,0),d(n)||(n=new Ot),n.x=e[t++],n.y=e[t++],n.z=e[t++],n.w=e[t],n};Ot.packArray=function(e,t){let n=e.length,i=n*4;d(t)?!Array.isArray(t)&&t.length!==i||t.length!==i&&(t.length=i):t=new Array(i);for(let o=0;o<n;++o)Ot.pack(e[o],t,o*4);return t};Ot.unpackArray=function(e,t){let n=e.length;d(t)?t.length=n/4:t=new Array(n/4);for(let i=0;i<n;i+=4){let o=i/4;t[o]=Ot.unpack(e,i,t[o])}return t};Ot.fromArray=Ot.unpack;Ot.maximumComponent=function(e){return Math.max(e.x,e.y,e.z,e.w)};Ot.minimumComponent=function(e){return Math.min(e.x,e.y,e.z,e.w)};Ot.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};Ot.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};Ot.clamp=function(e,t,n,i){let o=X.clamp(e.x,t.x,n.x),r=X.clamp(e.y,t.y,n.y),s=X.clamp(e.z,t.z,n.z),a=X.clamp(e.w,t.w,n.w);return i.x=o,i.y=r,i.z=s,i.w=a,i};Ot.magnitudeSquared=function(e){return e.x*e.x+e.y*e.y+e.z*e.z+e.w*e.w};Ot.magnitude=function(e){return Math.sqrt(Ot.magnitudeSquared(e))};var B3=new Ot;Ot.distance=function(e,t){return Ot.subtract(e,t,B3),Ot.magnitude(B3)};Ot.distanceSquared=function(e,t){return Ot.subtract(e,t,B3),Ot.magnitudeSquared(B3)};Ot.normalize=function(e,t){let n=Ot.magnitude(e);return t.x=e.x/n,t.y=e.y/n,t.z=e.z/n,t.w=e.w/n,t};Ot.dot=function(e,t){return e.x*t.x+e.y*t.y+e.z*t.z+e.w*t.w};Ot.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};Ot.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};Ot.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};Ot.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};Ot.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};Ot.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};Ot.negate=function(e,t){return t.x=-e.x,t.y=-e.y,t.z=-e.z,t.w=-e.w,t};Ot.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 tre=new Ot;Ot.lerp=function(e,t,n,i){return Ot.multiplyByScalar(t,n,tre),i=Ot.multiplyByScalar(e,1-n,i),Ot.add(tre,i,i)};var _Xe=new Ot;Ot.mostOrthogonalAxis=function(e,t){let n=Ot.normalize(e,_Xe);return Ot.abs(n,n),n.x<=n.y?n.x<=n.z?n.x<=n.w?t=Ot.clone(Ot.UNIT_X,t):t=Ot.clone(Ot.UNIT_W,t):n.z<=n.w?t=Ot.clone(Ot.UNIT_Z,t):t=Ot.clone(Ot.UNIT_W,t):n.y<=n.z?n.y<=n.w?t=Ot.clone(Ot.UNIT_Y,t):t=Ot.clone(Ot.UNIT_W,t):n.z<=n.w?t=Ot.clone(Ot.UNIT_Z,t):t=Ot.clone(Ot.UNIT_W,t),t};Ot.equals=function(e,t){return e===t||d(e)&&d(t)&&e.x===t.x&&e.y===t.y&&e.z===t.z&&e.w===t.w};Ot.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]};Ot.equalsEpsilon=function(e,t,n,i){return e===t||d(e)&&d(t)&&X.equalsEpsilon(e.x,t.x,n,i)&&X.equalsEpsilon(e.y,t.y,n,i)&&X.equalsEpsilon(e.z,t.z,n,i)&&X.equalsEpsilon(e.w,t.w,n,i)};Ot.ZERO=Object.freeze(new Ot(0,0,0,0));Ot.ONE=Object.freeze(new Ot(1,1,1,1));Ot.UNIT_X=Object.freeze(new Ot(1,0,0,0));Ot.UNIT_Y=Object.freeze(new Ot(0,1,0,0));Ot.UNIT_Z=Object.freeze(new Ot(0,0,1,0));Ot.UNIT_W=Object.freeze(new Ot(0,0,0,1));Ot.prototype.clone=function(e){return Ot.clone(this,e)};Ot.prototype.equals=function(e){return Ot.equals(this,e)};Ot.prototype.equalsEpsilon=function(e,t,n){return Ot.equalsEpsilon(this,e,t,n)};Ot.prototype.toString=function(){return`(${this.x}, ${this.y}, ${this.z}, ${this.w})`};var d4=new Float32Array(1),$c=new Uint8Array(d4.buffer),SXe=new Uint32Array([287454020]),CXe=new Uint8Array(SXe.buffer),nre=CXe[0]===68;Ot.packFloat=function(e,t){return d(t)||(t=new Ot),d4[0]=e,nre?(t.x=$c[0],t.y=$c[1],t.z=$c[2],t.w=$c[3]):(t.x=$c[3],t.y=$c[2],t.z=$c[1],t.w=$c[0]),t};Ot.unpackFloat=function(e){return nre?($c[0]=e.x,$c[1]=e.y,$c[2]=e.z,$c[3]=e.w):($c[0]=e.w,$c[1]=e.z,$c[2]=e.y,$c[3]=e.x),d4[0]};var re=Ot;var aAt=S(C(),1);function KG(e){this.name="RuntimeError",this.message=e;let t;try{throw new Error}catch(n){t=n.stack}this.stack=t}d(Object.create)&&(KG.prototype=Object.create(Error.prototype),KG.prototype.constructor=KG);KG.prototype.toString=function(){let e=`${this.name}: ${this.message}`;return d(this.stack)&&(e+=`
|
|
@@ -18999,7 +18999,7 @@ void main()
|
|
|
18999
18999
|
out_FragColor = vec4(mix(vec3(0.0), vec3(1.0), scale), 1.0);
|
|
19000
19000
|
}
|
|
19001
19001
|
`;var ZNo=S(C(),1);function _f(e,t){e=g(e,{}),this._options=g(t,{}),this._url=g(e.url,void 0),this._depth=0,this._index=void 0,this._indexHashMap=new nh,this._resourse=Xe.createIfNeeded(this._url),this._m3dtreeChildren=[],this._m3dtreeParent=g(e.m3dtreeParent,void 0),this._queryResult=void 0,this._attMap=void 0,this._nodeName=void 0,this._init=!1}Object.defineProperties(_f.prototype,{depth:{get:function(){return this._depth},set:function(e){this._depth=e}},index:{get:function(){return this._index},set:function(e){this._index=e}},indexHashMap:{get:function(){return this._indexHashMap},set:function(e){this._indexHashMap=e}},m3dtreeParent:{get:function(){return this._m3dtreeParent},set:function(e){this._m3dtreeParent=e}},m3dtreeChildren:{get:function(){return this._m3dtreeChildren},set:function(e){this._m3dtreeChildren=e}},attMap:{get:function(){return this._attMap},set:function(e){this._attMap=e}},nodeName:{get:function(){return this._nodeName},set:function(e){this._nodeName=e}}});function UIe(e,t,n){let i=[];if(i=t.children,d(i))for(let o=0;o<i.length;o++){let r=i[o];if(d(r._header.name)){let s=new _f;if(d(r._content)&&d(r._content._attMap)&&(s.attMap=r._content._attMap),d(n)){if(r._depth<n){let c=r._header.name;s.indexHashMap.containsKey(c)||s.indexHashMap.put(c,r)}}else{let a=r._header.name,c=e.index+"-",l=a.replace(c,"");s.indexHashMap.containsKey(a)||s.indexHashMap.put(a,r),s.depth=r._depth,s.index=a,s.nodeName=l,s.m3dtreeParent=e,e.m3dtreeChildren.push(s),e=s}}UIe(e,r,n)}}_f.prototype.createM3DTreeByTileset=function(e,t){if(!this._init){if(!d(e))return!1;let n=e.root,i=n._header,o="";return d(i)&&(d(i.dataName)?o=i.dataName:d(i.name)&&(o=i.name)),this.depth=n._depth,this.index=o,this.indexHashMap.containsKey(o)||this.indexHashMap.put(o,n),UIe(this,n,t),this._init=!0,!0}};var GH=!1,kIe;function zIe(e,t){let n=e.indexHashMap;if(n.containsKey(t)){let i=n.get(t);GH=!0,kIe=i}else if(!n.containsKey(t)){let i=e.m3dtreeChildren;if(d(i))for(let o=0;o<i.length;o++)if(GH){if(GH)break}else{let r=i[o];zIe(r,t)}}}_f.prototype.getM3DByName=function(e){return zIe(this,e),GH=!1,kIe};_f.prototype.createChildByParentNode=function(e){};_f.prototype.createM3DTreeByRequest=function(e){soe(this,e)};_f.createM3DTree=function(e,t){let n=new _f(e,t);if(d(n._options.createType)){let i=n._options.createType;i==="ModelLoaded"?n.createM3DTreeByTileset(e):(i==="ModelUrl"||i==="")&&d(n._options.url)&&n.createM3DTreeByRequest(n._options.url)}return n};function soe(e,t,n,i){let o="";if(d(n)){n=n.replace("./","");let s=t.split("/");for(let a=0;a<s.length-1;a++)o+=s[a]+"/";o+=n}else o=t;new Xe({url:o}).fetchJson().then(function(s){let a;if(d(s.dataName)?a=s.dataName:d(s.name)&&(a=s.name),e.index=a,d(i)){let l=i.index+"-",u=e.index.replace(l,"");e.nodeName=u,e.depth=i.depth+1}else e.nodeName=a;let c="";if(d(s.rootNode)){let l=new _f;c=s.rootNode.uri,d(i)?l._m3dtreeParent=i:l._m3dtreeParent=e,e._m3dtreeChildren.push(l),soe(l,o,c,e)}else if(d(s.childrenNode))for(let l=0;l<s.childrenNode.length;l++){let u=new _f,m=s.childrenNode[l];d(i)&&(e._m3dtreeParent=i),e._m3dtreeChildren.push(u),c=m.uri,soe(u,o,c,e)}else!d(s.rootNode)&&!d(s.childrenNode)&&d(i)&&(e._m3dtreeParent=i)})}var aoe=_f;var PNo=S(C(),1);function EH(e){this._viewer=e,this._scene=this._viewer.scene,this._intervalId=void 0,this._preRenderHandler=void 0}Object.defineProperties(EH.prototype,{models:{get:function(){return this._models},set:function(e){this._models=e}}});EH.prototype.resetExplosionByField=function(e){if(!Array.isArray(e))throw new le("tilesets\u5FC5\u987B\u662F\u4E00\u4E2A\u6570\u7EC4");for(let t=0;t<e.length;t++)e[t].enableExplosion=!1};function coe(e,t){if(!Array.isArray(e))throw new le("tilesets\u5FC5\u987B\u662F\u4E00\u4E2A\u6570\u7EC4");for(let n=0;n<e.length;n++){let i=e[n],o;i._version==="2.1"||i._version==="2.2"?o="tid":i._version==="2.0"&&(o="OID"),i.enableExplosion=!0;let r=[],s=g(t.valueGroups,[]),a=g(t.moveDirection,new h(0,0,0)),c=g(t.field,Number.NaN),l=g(t.type,"unique");for(let u=0;u<s.length;u++){let m=s[u];if(m.moveDirection=a,l==="unique")if(c===o)r=FD(m.value,m.value,m,r);else{let f=loe(m.value,m.value,i,c,l);for(let b=0;b<f.length;b++)r=FD(f[b],f[b],m,r)}else if(l==="range")if(c===o)r=FD(m.start,m.end,m,r);else{let f=loe(m.start,m.end,i,c,l);for(let b=0;b<f.length;b++)r=FD(f[b],f[b],m,r)}else if(l==="contain"){let f=loe(m.value,m.value,i,c,l);for(let b=0;b<f.length;b++)r=FD(f[b],f[b],m,r)}}i.explosionTextureData=r}}function qNt(e,t,n){if(t<0||t>n)return;let i=e.x*t/n,o=e.y*t/n,r=e.z*t/n;return new h(i,o,r)}function $Nt(e,t,n){if(!(t<0||t>n))return e/n*t}EH.prototype.explosionByField=function(e,t){if(t=g(t,g.EMPTY_OBJECT),t.duration>0){let n=0,i=t.valueGroups,o=t.duration;d(this._preRenderHandler)&&this._scene.preRender.removeEventListener(this._preRenderHandler),this._preRenderTime=new Date().getTime(),this._preRenderHandler=()=>{if(n<=o){let r=[];if(d(t.moveDirection)){for(let a=0;a<i.length;a++)r.push({value:i[a].value,distance:$Nt(i[a].distance,n,o)});coe(e,{valueGroups:r,moveDirection:t.moveDirection,type:t.type,field:t.field})}else{for(let a=0;a<i.length;a++)r.push({value:i[a].value,direction:qNt(i[a].direction,n,o)});coe(e,{valueGroups:r,type:t.type,field:t.field})}let s=new Date().getTime();n+=s-this._preRenderTime,this._preRenderTime=s}else{this._scene.preRender.removeEventListener(this._preRenderHandler),this._preRenderHandler=void 0;return}},this._scene.preRender.addEventListener(this._preRenderHandler)}else coe(e,t)};function FD(e,t,n,i){if(i.push(e,t),d(n.distance)){let o=n.moveDirection.x*n.distance,r=n.moveDirection.y*n.distance,s=n.moveDirection.z*n.distance;i.push(o,r,s)}else if(d(n.direction)){let o=n.direction,r=o.x,s=o.y,a=o.z;i.push(r,s,a)}return i}function loe(e,t,n,i,o){let s=[n.root],a=[],c=[],l;for(n._version==="2.1"||n._version==="2.2"?l="tid":n._version==="2.0"&&(l="OID");s.length>0;){let u=s.pop();if(u.children.length>0)for(let m=0;m<u.children.length;m++)s.push(u.children[m]);if(!(u.content instanceof Du||u.content instanceof Xx)){u.content instanceof _p?a=u.content._contents:a=[u.content];for(let m=0;m<a.length;m++){let f=a[m]?.batchTable?._features;if(d(f))for(let b=0;b<f.length;b++){let p=f[b].getProperty(i),x=f[b].getProperty(l);if(o==="unique")p===e&&c.push(x);else if(o==="range")p>=e&&p<=t&&c.push(x);else if(o==="contain"){if(typeof p!="string"){console.warn(`\u5F53\u524D\u83B7\u53D6\u5230\u7684\u5C5E\u6027\u503C\u7C7B\u578B\u4E3A${typeof p}, \u5305\u542B\u5173\u7CFB\u4EC5\u652F\u6301\u5B57\u7B26\u4E32\u7C7B\u578B\u503C\u7684\u6BD4\u8F83`);continue}p.includes(e)&&c.push(x)}}}}}return c}var doe=EH;var NNo=S(C(),1),e9t={SIGX:"SIGX",SIGY:"SIGY",SIGZ:"SIGZ",VARX:"VARX",VARY:"VARY",VARZ:"VARZ",SIGR:"VARZ"},uoe=Object.freeze(e9t);var DNo=S(C(),1);function t9t(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: ${Nf(s)}
|
|
19002
|
-
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 moe=t9t;globalThis.CESIUM_VERSION="1.122.0";globalThis.MAPGIS_VERSION="17.6.
|
|
19002
|
+
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 moe=t9t;globalThis.CESIUM_VERSION="1.122.0";globalThis.MAPGIS_VERSION="17.6.1";var tsr=S(C(),1);var Ier=S(C(),1);var Zer=S(C(),1);var yer=S(C(),1),AD;typeof ko<"u"&&(AD=ko);(function(){/*!
|
|
19003
19003
|
* Knockout JavaScript library v3.5.1
|
|
19004
19004
|
* (c) The Knockout.js team - http://knockoutjs.com/
|
|
19005
19005
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
@@ -19013,34 +19013,34 @@ Message: `+ht.message,ht}})}return Ie=$e===e,{shouldBindDescendants:Ie,bindingCo
|
|
|
19013
19013
|
* Knockout ES5 plugin - https://github.com/SteveSanderson/knockout-es5
|
|
19014
19014
|
* Copyright (c) Steve Sanderson
|
|
19015
19015
|
* MIT license
|
|
19016
|
-
*/var hoe="__knockoutObservables",poe="__knockoutSubscribable";function YIe(e,t){if(!e)throw new Error("When calling ko.track, you must pass an object as the first parameter.");var n=this,i=BIe(e,!0);return t=t||Object.getOwnPropertyNames(e),t.forEach(function(o){if(!(o===hoe||o===poe)&&!(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&&o9t(n,a)}}),e}function BIe(e,t){var n=e[hoe];return!n&&t&&(n={},Object.defineProperty(e,hoe,{value:n})),n}function i9t(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),YIe.call(i,e,[t]),e}function o9t(e,t){var n=null;e.computed(function(){n&&(n.dispose(),n=null);var i=t();i instanceof Array&&(n=r9t(e,t,i))})}function r9t(e,t,n){var i=s9t(e,n);return i.subscribe(t)}function s9t(e,t){var n=t[poe];if(!n){n=new e.subscribable,Object.defineProperty(t,poe,{value:n});var i={};a9t(t,n,i),c9t(e,t,n,i)}return n}function a9t(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 c9t(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 OIe(e,t){if(!e)return null;var n=BIe(e,!1);return n&&n[t]||null}function l9t(e,t){var n=OIe(e,t);n&&n.valueHasMutated()}function d9t(e){e.track=YIe,e.getObservable=OIe,e.valueHasMutated=l9t,e.defineProperty=i9t}var DD={attachToKo:d9t};var _er=S(C(),1),KIe="http://www.w3.org/2000/svg",HIe="cesium-svgPath-svg",u9t={register:function(e){e.bindingHandlers.cesiumSvgPath={init:function(t,n){let i=document.createElementNS(KIe,"svg:svg");i.setAttribute("class",HIe);let o=document.createElementNS(KIe,"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",`${HIe} ${e.unwrap(r.css)}`)},disposeWhenNodeIsRemoved:t}),{controlsDescendantBindings:!0}}},e.virtualElements.allowedBindings.cesiumSvgPath=!0}},UD=u9t;DD.attachToKo(uL);UD.register(uL);var Re=uL;function kD(e){d(e)||(e=new rp),this._clock=e,this._eventHelper=new ws,this._eventHelper.add(e.onTick,this.synchronize,this),this.systemTime=Re.observable(ee.now()),this.systemTime.equalityComparer=ee.equals,this.startTime=Re.observable(e.startTime),this.startTime.equalityComparer=ee.equals,this.startTime.subscribe(function(t){e.startTime=t,this.synchronize()},this),this.stopTime=Re.observable(e.stopTime),this.stopTime.equalityComparer=ee.equals,this.stopTime.subscribe(function(t){e.stopTime=t,this.synchronize()},this),this.currentTime=Re.observable(e.currentTime),this.currentTime.equalityComparer=ee.equals,this.currentTime.subscribe(function(t){e.currentTime=t,this.synchronize()},this),this.multiplier=Re.observable(e.multiplier),this.multiplier.subscribe(function(t){e.multiplier=t,this.synchronize()},this),this.clockStep=Re.observable(e.clockStep),this.clockStep.subscribe(function(t){e.clockStep=t,this.synchronize()},this),this.clockRange=Re.observable(e.clockRange),this.clockRange.subscribe(function(t){e.clockRange=t,this.synchronize()},this),this.canAnimate=Re.observable(e.canAnimate),this.canAnimate.subscribe(function(t){e.canAnimate=t,this.synchronize()},this),this.shouldAnimate=Re.observable(e.shouldAnimate),this.shouldAnimate.subscribe(function(t){e.shouldAnimate=t,this.synchronize()},this),Re.track(this,["systemTime","startTime","stopTime","currentTime","multiplier","clockStep","clockRange","canAnimate","shouldAnimate"])}Object.defineProperties(kD.prototype,{clock:{get:function(){return this._clock}}});kD.prototype.synchronize=function(){let e=this._clock;this.systemTime=ee.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};kD.prototype.isDestroyed=function(){return!1};kD.prototype.destroy=function(){this._eventHelper.removeAll(),fe(this)};var zD=kD;var wer=S(C(),1);function m9t(){this.canExecute=void 0,this.beforeExecute=void 0,this.afterExecute=void 0,be.throwInstantiationError()}var foe=m9t;var Aer=S(C(),1);function h9t(e,t){t=g(t,!0);let n=new Se,i=new Se;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,Re.track(o,["canExecute"]),Object.defineProperties(o,{beforeExecute:{value:n},afterExecute:{value:i}}),o}var ni=h9t;var zer=S(C(),1);var YD={};YD.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 d(n)&&(s+=`, enable: ${n}`),r.setAttribute("data-bind",s),o.appendChild(r),o.appendChild(document.createTextNode(e)),i.appendChild(o),i};YD.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};YD.createRangeInput=function(e,t,n,i,o,r){r=g(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=g(o,"any"),a.setAttribute("data-bind",`valueUpdate: "input", value: ${t}`);let c=document.createElement("div");c.appendChild(a);let l=document.createElement("div");return l.className="cesium-cesiumInspector-slider",l.appendChild(document.createTextNode(e)),l.appendChild(s),l.appendChild(c),l};YD.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 d(n)&&(o+=`, css: {"cesium-cesiumInspector-pickButtonHighlight" : ${n}}`),i.setAttribute("data-bind",o),i};var qc=YD;var Oer=S(C(),1);function p9t(e,t,n,i,o){return n.call(i,e[t]),Re.getObservable(e,t).subscribe(n,i,o)}var Zc=p9t;var qer=S(C(),1);function JIe(e,t){this._command=e,t=g(t,g.EMPTY_OBJECT),this.toggled=g(t.toggled,!1),this.tooltip=g(t.tooltip,""),Re.track(this,["toggled","tooltip"])}Object.defineProperties(JIe.prototype,{command:{get:function(){return this._command}}});var s_=JIe;var utr=S(C(),1);var otr=S(C(),1);function QIe(e){e=g(e,g.EMPTY_OBJECT);let t=e.globe,n=g(e.imageryProviderViewModels,[]),i=g(e.terrainProviderViewModels,[]);this._globe=t,this.imageryProviderViewModels=n.slice(0),this.terrainProviderViewModels=i.slice(0),this.dropDownVisible=!1,Re.track(this,["imageryProviderViewModels","terrainProviderViewModels","dropDownVisible"]);let o=Re.getObservable(this,"imageryProviderViewModels"),r=Re.pureComputed(function(){let m=o(),f={},b;for(b=0;b<m.length;b++){let T=m[b],_=T.category;d(f[_])?f[_].push(T):f[_]=[T]}let p=Object.keys(f),x=[];for(b=0;b<p.length;b++){let T=p[b];x.push({name:T,providers:f[T]})}return x});this._imageryProviders=r;let s=Re.getObservable(this,"terrainProviderViewModels"),a=Re.pureComputed(function(){let m=s(),f={},b;for(b=0;b<m.length;b++){let T=m[b],_=T.category;d(f[_])?f[_].push(T):f[_]=[T]}let p=Object.keys(f),x=[];for(b=0;b<p.length;b++){let T=p[b];x.push({name:T,providers:f[T]})}return x});this._terrainProviders=a,this.buttonTooltip=void 0,Re.defineProperty(this,"buttonTooltip",function(){let m=this.selectedImagery,f=this.selectedTerrain,b=d(m)?m.name:void 0,p=d(f)?f.name:void 0;return d(b)&&d(p)?`${b}
|
|
19017
|
-
${p}`:d(b)?b:p}),this.buttonImageUrl=void 0,Re.defineProperty(this,"buttonImageUrl",function(){let m=this.selectedImagery;if(d(m))return m.iconUrl}),this.selectedImagery=void 0;let c=Re.observable();this._currentImageryLayers=[],Re.defineProperty(this,"selectedImagery",{get:function(){return c()},set:function(m){if(c()===m){this.dropDownVisible=!1;return}let f,b=this._currentImageryLayers,p=b.length,x=this._globe.imageryLayers,T=!1;for(f=0;f<p;f++){let _=x.length;for(let L=0;L<_;L++){let V=x.get(L);if(V===b[f]){x.remove(V),T=!0;break}}}if(d(m)){let _=m.creationCommand();if(Array.isArray(_)){let L=_.length;for(this._currentImageryLayers=[],f=L-1;f>=0;f--){let V=zs.fromProviderAsync(_[f]);x.add(V,0),this._currentImageryLayers.push(V)}}else{this._currentImageryLayers=[];let L=zs.fromProviderAsync(_);if(L.name=m.name,T)x.add(L,0);else{let V=x.get(0);d(V)&&x.remove(V),x.add(L,0)}this._currentImageryLayers.push(L)}}c(m),this.dropDownVisible=!1}}),this.selectedTerrain=void 0;let l=Re.observable();Re.defineProperty(this,"selectedTerrain",{get:function(){return l()},set:function(m){if(l()===m){this.dropDownVisible=!1;return}let f;if(d(m)&&(f=m.creationCommand()),d(f)&&!d(f.then))this._globe.depthTestAgainstTerrain=!(f instanceof Of),this._globe.terrainProvider=f;else if(d(f)){let b=!1,p=this._globe.terrainProviderChanged.addEventListener(()=>{b=!0,p()}),T=new VD(f).readyEvent.addEventListener(_=>{b||(this._globe.depthTestAgainstTerrain=!(_ instanceof Of),this._globe.terrainProvider=_,T())})}l(m),this.dropDownVisible=!1}});let u=this;this._toggleDropDown=ni(function(){u.dropDownVisible=!u.dropDownVisible}),this.selectedImagery=g(e.selectedImageryProviderViewModel,n[0]),this.selectedTerrain=e.selectedTerrainProviderViewModel}Object.defineProperties(
|
|
19018
|
-
https://www.arcgis.com/home/item.html?id=10df2279f9684e4a9f6a7f08febac2a9`,category:"Other",creationFunction:function(){return rg.fromBasemapType(cf.SATELLITE,{enablePickFeatures:!1})}})),e.push(new
|
|
19019
|
-
https://www.arcgis.com/home/item.html?id=1b243539f4514b6ba35e7d995890db1d`,category:"Other",creationFunction:function(){return rg.fromBasemapType(cf.HILLSHADE,{enablePickFeatures:!1})}})),e.push(new
|
|
19020
|
-
https://www.arcgis.com/home/item.html?id=1e126e7520f9466c9ca28b8f28b5e500`,category:"Other",creationFunction:function(){return rg.fromBasemapType(cf.OCEANS,{enablePickFeatures:!1})}})),e.push(new
|
|
19021
|
-
http://www.openstreetmap.org`,category:"Other",creationFunction:function(){return new fg({url:"https://tile.openstreetmap.org/"})}})),e.push(new
|
|
19016
|
+
*/var hoe="__knockoutObservables",poe="__knockoutSubscribable";function YIe(e,t){if(!e)throw new Error("When calling ko.track, you must pass an object as the first parameter.");var n=this,i=BIe(e,!0);return t=t||Object.getOwnPropertyNames(e),t.forEach(function(o){if(!(o===hoe||o===poe)&&!(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&&o9t(n,a)}}),e}function BIe(e,t){var n=e[hoe];return!n&&t&&(n={},Object.defineProperty(e,hoe,{value:n})),n}function i9t(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),YIe.call(i,e,[t]),e}function o9t(e,t){var n=null;e.computed(function(){n&&(n.dispose(),n=null);var i=t();i instanceof Array&&(n=r9t(e,t,i))})}function r9t(e,t,n){var i=s9t(e,n);return i.subscribe(t)}function s9t(e,t){var n=t[poe];if(!n){n=new e.subscribable,Object.defineProperty(t,poe,{value:n});var i={};a9t(t,n,i),c9t(e,t,n,i)}return n}function a9t(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 c9t(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 OIe(e,t){if(!e)return null;var n=BIe(e,!1);return n&&n[t]||null}function l9t(e,t){var n=OIe(e,t);n&&n.valueHasMutated()}function d9t(e){e.track=YIe,e.getObservable=OIe,e.valueHasMutated=l9t,e.defineProperty=i9t}var DD={attachToKo:d9t};var _er=S(C(),1),KIe="http://www.w3.org/2000/svg",HIe="cesium-svgPath-svg",u9t={register:function(e){e.bindingHandlers.cesiumSvgPath={init:function(t,n){let i=document.createElementNS(KIe,"svg:svg");i.setAttribute("class",HIe);let o=document.createElementNS(KIe,"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",`${HIe} ${e.unwrap(r.css)}`)},disposeWhenNodeIsRemoved:t}),{controlsDescendantBindings:!0}}},e.virtualElements.allowedBindings.cesiumSvgPath=!0}},UD=u9t;DD.attachToKo(uL);UD.register(uL);var Re=uL;function kD(e){d(e)||(e=new rp),this._clock=e,this._eventHelper=new ws,this._eventHelper.add(e.onTick,this.synchronize,this),this.systemTime=Re.observable(ee.now()),this.systemTime.equalityComparer=ee.equals,this.startTime=Re.observable(e.startTime),this.startTime.equalityComparer=ee.equals,this.startTime.subscribe(function(t){e.startTime=t,this.synchronize()},this),this.stopTime=Re.observable(e.stopTime),this.stopTime.equalityComparer=ee.equals,this.stopTime.subscribe(function(t){e.stopTime=t,this.synchronize()},this),this.currentTime=Re.observable(e.currentTime),this.currentTime.equalityComparer=ee.equals,this.currentTime.subscribe(function(t){e.currentTime=t,this.synchronize()},this),this.multiplier=Re.observable(e.multiplier),this.multiplier.subscribe(function(t){e.multiplier=t,this.synchronize()},this),this.clockStep=Re.observable(e.clockStep),this.clockStep.subscribe(function(t){e.clockStep=t,this.synchronize()},this),this.clockRange=Re.observable(e.clockRange),this.clockRange.subscribe(function(t){e.clockRange=t,this.synchronize()},this),this.canAnimate=Re.observable(e.canAnimate),this.canAnimate.subscribe(function(t){e.canAnimate=t,this.synchronize()},this),this.shouldAnimate=Re.observable(e.shouldAnimate),this.shouldAnimate.subscribe(function(t){e.shouldAnimate=t,this.synchronize()},this),Re.track(this,["systemTime","startTime","stopTime","currentTime","multiplier","clockStep","clockRange","canAnimate","shouldAnimate"])}Object.defineProperties(kD.prototype,{clock:{get:function(){return this._clock}}});kD.prototype.synchronize=function(){let e=this._clock;this.systemTime=ee.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};kD.prototype.isDestroyed=function(){return!1};kD.prototype.destroy=function(){this._eventHelper.removeAll(),fe(this)};var zD=kD;var wer=S(C(),1);function m9t(){this.canExecute=void 0,this.beforeExecute=void 0,this.afterExecute=void 0,be.throwInstantiationError()}var foe=m9t;var Aer=S(C(),1);function h9t(e,t){t=g(t,!0);let n=new Se,i=new Se;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,Re.track(o,["canExecute"]),Object.defineProperties(o,{beforeExecute:{value:n},afterExecute:{value:i}}),o}var ni=h9t;var zer=S(C(),1);var YD={};YD.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 d(n)&&(s+=`, enable: ${n}`),r.setAttribute("data-bind",s),o.appendChild(r),o.appendChild(document.createTextNode(e)),i.appendChild(o),i};YD.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};YD.createRangeInput=function(e,t,n,i,o,r){r=g(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=g(o,"any"),a.setAttribute("data-bind",`valueUpdate: "input", value: ${t}`);let c=document.createElement("div");c.appendChild(a);let l=document.createElement("div");return l.className="cesium-cesiumInspector-slider",l.appendChild(document.createTextNode(e)),l.appendChild(s),l.appendChild(c),l};YD.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 d(n)&&(o+=`, css: {"cesium-cesiumInspector-pickButtonHighlight" : ${n}}`),i.setAttribute("data-bind",o),i};var qc=YD;var Oer=S(C(),1);function p9t(e,t,n,i,o){return n.call(i,e[t]),Re.getObservable(e,t).subscribe(n,i,o)}var Zc=p9t;var qer=S(C(),1);function JIe(e,t){this._command=e,t=g(t,g.EMPTY_OBJECT),this.toggled=g(t.toggled,!1),this.tooltip=g(t.tooltip,""),Re.track(this,["toggled","tooltip"])}Object.defineProperties(JIe.prototype,{command:{get:function(){return this._command}}});var s_=JIe;var itr=S(C(),1);var mL="http://www.w3.org/2000/svg",qIe="http://www.w3.org/1999/xlink",IH,BD=z.fromCssColorString("rgba(247,250,255,0.384)"),MH=z.fromCssColorString("rgba(143,191,255,0.216)"),boe=z.fromCssColorString("rgba(153,197,255,0.098)"),XH=z.fromCssColorString("rgba(255,255,255,0.086)"),f9t=z.fromCssColorString("rgba(255,255,255,0.267)"),b9t=z.fromCssColorString("rgba(255,255,255,0)"),QIe=z.fromCssColorString("rgba(66,67,68,0.3)"),jIe=z.fromCssColorString("rgba(0,0,0,0.5)");function a_(e){return z.fromCssColorString(window.getComputedStyle(e).getPropertyValue("color"))}var OD={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 Sf(e){let t=document.createElementNS(mL,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(Sf(e.children[o]))}else n.indexOf("xlink:")===0?t.setAttributeNS(qIe,n.substring(6),e[n]):n==="textContent"?t.textContent=e[n]:t.setAttribute(n,e[n]);return t}function yoe(e,t,n){let i=document.createElementNS(mL,"text");i.setAttribute("x",e),i.setAttribute("y",t),i.setAttribute("class","cesium-animation-svgText");let o=document.createElementNS(mL,"tspan");return o.textContent=n,i.appendChild(o),i}function y9t(e,t,n){e.setAttribute("transform",`translate(100,100) rotate(${n})`),t.setAttribute("transform",`rotate(${n})`)}var wH=new z;function ia(e,t){let n=t.alpha,i=1-n;return wH.red=e.red*i+t.red*n,wH.green=e.green*i+t.green*n,wH.blue=e.blue*i+t.blue*n,wH.toCssColorString()}function goe(e,t,n){let i=OD[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 Sf(o)}function g9t(e,t,n){let i=OD[n],o=OD.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 Sf(r)}function x9t(e,t){let n=e._viewModel,i=n.shuttleRingDragging;if(!(i&&IH!==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,l;if(t.type==="touchstart"||t.type==="touchmove"?(c=t.touches[0].clientX,l=t.touches[0].clientY):(c=t.clientX,l=t.clientY),!i&&(c>a.right||c<a.left||l<a.top||l>a.bottom))return;let u=e._shuttleRingPointer.getBoundingClientRect(),m=c-o-a.left,f=l-r-a.top,b=Math.atan2(f,m)*180/Math.PI+90;b>180&&(b-=360);let p=n.shuttleRingAngle;i||c<u.right&&c>u.left&&l>u.top&&l<u.bottom?(IH=e,n.shuttleRingDragging=!0,n.shuttleRingAngle=b):b<p?n.slower():b>p&&n.faster(),t.preventDefault()}else e===IH&&(IH=void 0),n.shuttleRingDragging=!1}function Lg(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=[Zc(t,"toggled",this.setToggled,this),Zc(t,"tooltip",this.setTooltip,this),Zc(t.command,"canExecute",this.setEnabled,this)]}Lg.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();fe(this)};Lg.prototype.isDestroyed=function(){return!1};Lg.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")}};Lg.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")))};Lg.prototype.setTooltip=function(e){this.svgElement.getElementsByTagName("title")[0].textContent=e};function kG(e,t){e=ui(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(mL,"svg:svg");this._svgNode=r,r.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink",qIe);let s=document.createElementNS(mL,"g");this._topG=s,this._realtimeSVG=new Lg(g9t(3,4,"animation_pathClock"),t.playRealtimeViewModel),this._playReverseSVG=new Lg(goe(44,99,"animation_pathPlayReverse"),t.playReverseViewModel),this._playForwardSVG=new Lg(goe(124,99,"animation_pathPlay"),t.playForwardViewModel),this._pauseSVG=new Lg(goe(84,99,"animation_pathPause"),t.pauseViewModel);let a=document.createElementNS(mL,"g");a.appendChild(this._realtimeSVG.svgElement),a.appendChild(this._playReverseSVG.svgElement),a.appendChild(this._playForwardSVG.svgElement),a.appendChild(this._pauseSVG.svgElement);let c=Sf({tagName:"circle",class:"cesium-animation-shuttleRingBack",cx:100,cy:100,r:99});this._shuttleRingBackPanel=c;let l=OD.animation_pathSwooshFX,u=OD.animation_pathPointer,m=Sf({tagName:"g",class:"cesium-animation-shuttleRingSwoosh",children:[{tagName:l.tagName,transform:"translate(100,97) scale(-1,1)",id:"animation_pathSwooshFX",d:l.d},{tagName:l.tagName,transform:"translate(100,97)",id:"animation_pathSwooshFX",d:l.d},{tagName:"line",x1:100,y1:8,x2:100,y2:22}]});this._shuttleRingSwooshG=m,this._shuttleRingPointer=Sf({class:"cesium-animation-shuttleRingPointer",id:"animation_pathPointer",tagName:u.tagName,d:u.d});let f=Sf({tagName:"g",transform:"translate(100,100)"});this._knobOuter=Sf({tagName:"circle",class:"cesium-animation-knobOuter",cx:0,cy:0,r:71});let b=61,p=Sf({tagName:"circle",class:"cesium-animation-knobInner",cx:0,cy:0,r:b});this._knobDate=yoe(0,-24,""),this._knobTime=yoe(0,-7,""),this._knobStatus=yoe(0,-41,"");let x=Sf({tagName:"circle",class:"cesium-animation-blank",cx:0,cy:0,r:b}),T=document.createElementNS(mL,"g");T.setAttribute("class","cesium-animation-shuttleRingG"),e.appendChild(o),s.appendChild(T),s.appendChild(f),s.appendChild(a),T.appendChild(c),T.appendChild(m),T.appendChild(this._shuttleRingPointer),f.appendChild(this._knobOuter),f.appendChild(p),f.appendChild(this._knobDate),f.appendChild(this._knobTime),f.appendChild(this._knobStatus),f.appendChild(x),r.appendChild(s),e.appendChild(r);let _=this;function L(w){x9t(_,w)}this._mouseCallback=L,c.addEventListener("mousedown",L,!0),c.addEventListener("touchstart",L,!0),m.addEventListener("mousedown",L,!0),m.addEventListener("touchstart",L,!0),n.addEventListener("mousemove",L,!0),n.addEventListener("touchmove",L,!0),n.addEventListener("mouseup",L,!0),n.addEventListener("touchend",L,!0),n.addEventListener("touchcancel",L,!0),this._shuttleRingPointer.addEventListener("mousedown",L,!0),this._shuttleRingPointer.addEventListener("touchstart",L,!0),this._knobOuter.addEventListener("mousedown",L,!0),this._knobOuter.addEventListener("touchstart",L,!0);let V=this._knobTime.childNodes[0],Z=this._knobDate.childNodes[0],G=this._knobStatus.childNodes[0],I;this._subscriptions=[Zc(t.pauseViewModel,"toggled",function(w){I!==w&&(I=w,I?_._shuttleRingPointer.setAttribute("class","cesium-animation-shuttleRingPausePointer"):_._shuttleRingPointer.setAttribute("class","cesium-animation-shuttleRingPointer"))}),Zc(t,"shuttleRingAngle",function(w){y9t(_._shuttleRingPointer,_._knobOuter,w)}),Zc(t,"dateLabel",function(w){Z.textContent!==w&&(Z.textContent=w)}),Zc(t,"timeLabel",function(w){V.textContent!==w&&(V.textContent=w)}),Zc(t,"multiplierLabel",function(w){G.textContent!==w&&(G.textContent=w)})],this.applyThemeChanges(),this.resize()}Object.defineProperties(kG.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});kG.prototype.isDestroyed=function(){return!1};kG.prototype.destroy=function(){d(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 fe(this)};kG.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};kG.prototype.applyThemeChanges=function(){let e=this._container.ownerDocument;if(!e.body.contains(this._container)){if(d(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=a_(this._themeNormal),n=a_(this._themeHover),i=a_(this._themeSelect),o=a_(this._themeDisabled),r=a_(this._themeKnob),s=a_(this._themePointer),a=a_(this._themeSwoosh),c=a_(this._themeSwooshHover),l=Sf({tagName:"defs",children:[{id:"animation_buttonNormal",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":ia(t,BD)},{tagName:"stop",offset:"12%","stop-color":ia(t,MH)},{tagName:"stop",offset:"46%","stop-color":ia(t,boe)},{tagName:"stop",offset:"81%","stop-color":ia(t,XH)}]},{id:"animation_buttonHovered",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":ia(n,BD)},{tagName:"stop",offset:"12%","stop-color":ia(n,MH)},{tagName:"stop",offset:"46%","stop-color":ia(n,boe)},{tagName:"stop",offset:"81%","stop-color":ia(n,XH)}]},{id:"animation_buttonToggled",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":ia(i,BD)},{tagName:"stop",offset:"12%","stop-color":ia(i,MH)},{tagName:"stop",offset:"46%","stop-color":ia(i,boe)},{tagName:"stop",offset:"81%","stop-color":ia(i,XH)}]},{id:"animation_buttonDisabled",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":ia(o,f9t)},{tagName:"stop",offset:"75%","stop-color":ia(o,b9t)}]},{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":ia(s,jIe)},{tagName:"stop",offset:"100%","stop-color":ia(s,jIe)}]},{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":ia(r,BD)},{tagName:"stop",offset:"60%","stop-color":ia(r,QIe)},{tagName:"stop",offset:"85%","stop-color":ia(r,MH)}]},{id:"animation_knobInner",tagName:"linearGradient",x1:"20%",y1:"0%",x2:"90%",y2:"100%",children:[{tagName:"stop",offset:"5%","stop-color":ia(r,QIe)},{tagName:"stop",offset:"60%","stop-color":ia(r,BD)},{tagName:"stop",offset:"85%","stop-color":ia(r,XH)}]}]});d(this._defsElement)?this._svgNode.replaceChild(l,this._defsElement):this._svgNode.appendChild(l),this._defsElement=l};var KD=kG;var utr=S(C(),1);var T9t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],c_=15,zG=105;function $Ie(e,t){return e-t}function xoe(e,t){let n=Ir(t,e,$Ie);return n<0?~n:n}function _9t(e,t){if(Math.abs(e)<=c_)return e/c_;let n=c_,i=zG,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 S9t(e,t,n){if(n.clockStep===hr.SYSTEM_CLOCK)return c_;if(Math.abs(e)<=1)return e*c_;let i=t[t.length-1];e>i?e=i:e<-i&&(e=-i);let o=c_,r=zG,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 Fh(e){let t=this;this._clockViewModel=e,this._allShuttleRingTicks=[],this._dateFormatter=Fh.defaultDateFormatter,this._timeFormatter=Fh.defaultTimeFormatter,this.shuttleRingDragging=!1,this.snapToTicks=!1,Re.track(this,["_allShuttleRingTicks","_dateFormatter","_timeFormatter","shuttleRingDragging","snapToTicks"]),this._sortedFilteredPositiveTicks=[],this.setShuttleRingTicks(Fh.defaultTicks),this.timeLabel=void 0,Re.defineProperty(this,"timeLabel",function(){return t._timeFormatter(t._clockViewModel.currentTime,t)}),this.dateLabel=void 0,Re.defineProperty(this,"dateLabel",function(){return t._dateFormatter(t._clockViewModel.currentTime,t)}),this.multiplierLabel=void 0,Re.defineProperty(this,"multiplierLabel",function(){let s=t._clockViewModel;if(s.clockStep===hr.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,Re.defineProperty(this,"shuttleRingAngle",{get:function(){return S9t(e.multiplier,t._allShuttleRingTicks,e)},set:function(s){s=Math.max(Math.min(s,zG),-zG);let a=t._allShuttleRingTicks,c=t._clockViewModel;if(c.clockStep=hr.SYSTEM_CLOCK_MULTIPLIER,Math.abs(s)===zG){c.multiplier=s>0?a[a.length-1]:a[0];return}let l=_9t(s,a);if(t.snapToTicks)l=a[xoe(l,a)];else if(l!==0){let u=Math.abs(l);if(u>100){let m=u.toFixed(0).length-2,f=Math.pow(10,m);l=Math.round(l/f)*f|0}else u>c_?l=Math.round(l):u>1?l=+l.toFixed(1):u>0&&(l=+l.toFixed(2))}c.multiplier=l}}),this._canAnimate=void 0,Re.defineProperty(this,"_canAnimate",function(){let s=t._clockViewModel,a=s.clockRange;if(t.shuttleRingDragging||a===Is.UNBOUNDED)return!0;let c=s.multiplier,l=s.currentTime,u=s.startTime,m=!1;if(a===Is.LOOP_STOP)m=ee.greaterThan(l,u)||l.equals(u)&&c>0;else{let f=s.stopTime;m=ee.greaterThan(l,u)&&ee.lessThan(l,f)||l.equals(u)&&c>0||l.equals(f)&&c<0}return m||(s.shouldAnimate=!1),m}),this._isSystemTimeAvailable=void 0,Re.defineProperty(this,"_isSystemTimeAvailable",function(){let s=t._clockViewModel;if(s.clockRange===Is.UNBOUNDED)return!0;let c=s.systemTime;return ee.greaterThanOrEquals(c,s.startTime)&&ee.lessThanOrEquals(c,s.stopTime)}),this._isAnimating=void 0,Re.defineProperty(this,"_isAnimating",function(){return t._clockViewModel.shouldAnimate&&(t._canAnimate||t.shuttleRingDragging)});let n=ni(function(){let s=t._clockViewModel;s.shouldAnimate?s.shouldAnimate=!1:t._canAnimate&&(s.shouldAnimate=!0)});this._pauseViewModel=new s_(n,{toggled:Re.computed(function(){return!t._isAnimating}),tooltip:"Pause"});let i=ni(function(){let s=t._clockViewModel,a=s.multiplier;a>0&&(s.multiplier=-a),s.shouldAnimate=!0});this._playReverseViewModel=new s_(i,{toggled:Re.computed(function(){return t._isAnimating&&e.multiplier<0}),tooltip:"Play Reverse"});let o=ni(function(){let s=t._clockViewModel,a=s.multiplier;a<0&&(s.multiplier=-a),s.shouldAnimate=!0});this._playForwardViewModel=new s_(o,{toggled:Re.computed(function(){return t._isAnimating&&e.multiplier>0&&e.clockStep!==hr.SYSTEM_CLOCK}),tooltip:"Play Forward"});let r=ni(function(){t._clockViewModel.clockStep=hr.SYSTEM_CLOCK},Re.getObservable(this,"_isSystemTimeAvailable"));this._playRealtimeViewModel=new s_(r,{toggled:Re.computed(function(){return e.clockStep===hr.SYSTEM_CLOCK}),tooltip:Re.computed(function(){return t._isSystemTimeAvailable?"Today (real-time)":"Current time not in range"})}),this._slower=ni(function(){let s=t._clockViewModel,a=t._allShuttleRingTicks,c=s.multiplier,l=xoe(c,a)-1;l>=0&&(s.multiplier=a[l])}),this._faster=ni(function(){let s=t._clockViewModel,a=t._allShuttleRingTicks,c=s.multiplier,l=xoe(c,a)+1;l<a.length&&(s.multiplier=a[l])})}Fh.defaultDateFormatter=function(e,t){let n=ee.toGregorianDate(e);return`${T9t[n.month-1]} ${n.day} ${n.year}`};Fh.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];Fh.defaultTimeFormatter=function(e,t){let n=ee.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`};Fh.prototype.getShuttleRingTicks=function(){return this._sortedFilteredPositiveTicks.slice(0)};Fh.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($Ie);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(Fh.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}}});Fh._maxShuttleRingAngle=zG;Fh._realtimeShuttleRingAngle=c_;var HD=Fh;var Ltr=S(C(),1);var ytr=S(C(),1);function eMe(e){e=g(e,g.EMPTY_OBJECT);let t=e.globe,n=g(e.imageryProviderViewModels,[]),i=g(e.terrainProviderViewModels,[]);this._globe=t,this.imageryProviderViewModels=n.slice(0),this.terrainProviderViewModels=i.slice(0),this.dropDownVisible=!1,Re.track(this,["imageryProviderViewModels","terrainProviderViewModels","dropDownVisible"]);let o=Re.getObservable(this,"imageryProviderViewModels"),r=Re.pureComputed(function(){let m=o(),f={},b;for(b=0;b<m.length;b++){let T=m[b],_=T.category;d(f[_])?f[_].push(T):f[_]=[T]}let p=Object.keys(f),x=[];for(b=0;b<p.length;b++){let T=p[b];x.push({name:T,providers:f[T]})}return x});this._imageryProviders=r;let s=Re.getObservable(this,"terrainProviderViewModels"),a=Re.pureComputed(function(){let m=s(),f={},b;for(b=0;b<m.length;b++){let T=m[b],_=T.category;d(f[_])?f[_].push(T):f[_]=[T]}let p=Object.keys(f),x=[];for(b=0;b<p.length;b++){let T=p[b];x.push({name:T,providers:f[T]})}return x});this._terrainProviders=a,this.buttonTooltip=void 0,Re.defineProperty(this,"buttonTooltip",function(){let m=this.selectedImagery,f=this.selectedTerrain,b=d(m)?m.name:void 0,p=d(f)?f.name:void 0;return d(b)&&d(p)?`${b}
|
|
19017
|
+
${p}`:d(b)?b:p}),this.buttonImageUrl=void 0,Re.defineProperty(this,"buttonImageUrl",function(){let m=this.selectedImagery;if(d(m))return m.iconUrl}),this.selectedImagery=void 0;let c=Re.observable();this._currentImageryLayers=[],Re.defineProperty(this,"selectedImagery",{get:function(){return c()},set:function(m){if(c()===m){this.dropDownVisible=!1;return}let f,b=this._currentImageryLayers,p=b.length,x=this._globe.imageryLayers,T=!1;for(f=0;f<p;f++){let _=x.length;for(let L=0;L<_;L++){let V=x.get(L);if(V===b[f]){x.remove(V),T=!0;break}}}if(d(m)){let _=m.creationCommand();if(Array.isArray(_)){let L=_.length;for(this._currentImageryLayers=[],f=L-1;f>=0;f--){let V=zs.fromProviderAsync(_[f]);x.add(V,0),this._currentImageryLayers.push(V)}}else{this._currentImageryLayers=[];let L=zs.fromProviderAsync(_);if(L.name=m.name,T)x.add(L,0);else{let V=x.get(0);d(V)&&x.remove(V),x.add(L,0)}this._currentImageryLayers.push(L)}}c(m),this.dropDownVisible=!1}}),this.selectedTerrain=void 0;let l=Re.observable();Re.defineProperty(this,"selectedTerrain",{get:function(){return l()},set:function(m){if(l()===m){this.dropDownVisible=!1;return}let f;if(d(m)&&(f=m.creationCommand()),d(f)&&!d(f.then))this._globe.depthTestAgainstTerrain=!(f instanceof Of),this._globe.terrainProvider=f;else if(d(f)){let b=!1,p=this._globe.terrainProviderChanged.addEventListener(()=>{b=!0,p()}),T=new VD(f).readyEvent.addEventListener(_=>{b||(this._globe.depthTestAgainstTerrain=!(_ instanceof Of),this._globe.terrainProvider=_,T())})}l(m),this.dropDownVisible=!1}});let u=this;this._toggleDropDown=ni(function(){u.dropDownVisible=!u.dropDownVisible}),this.selectedImagery=g(e.selectedImageryProviderViewModel,n[0]),this.selectedTerrain=e.selectedTerrainProviderViewModel}Object.defineProperties(eMe.prototype,{toggleDropDown:{get:function(){return this._toggleDropDown}},globe:{get:function(){return this._globe}}});var JD=eMe;function WH(e,t){e=ui(e);let n=new JD(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 l=document.createElement("div");l.className="cesium-baseLayerPicker-categoryTitle",l.setAttribute("data-bind","text: name"),c.appendChild(l);let u=document.createElement("div");u.className="cesium-baseLayerPicker-choices",u.setAttribute("data-bind","foreach: providers"),c.appendChild(u);let m=document.createElement("div");m.className="cesium-baseLayerPicker-item",m.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(m);let f=document.createElement("img");f.className="cesium-baseLayerPicker-itemIcon",f.setAttribute("data-bind","attr: { src: iconUrl }"),f.setAttribute("draggable","false"),m.appendChild(f);let b=document.createElement("div");b.className="cesium-baseLayerPicker-itemLabel",b.setAttribute("data-bind","text: name"),m.appendChild(b);let p=document.createElement("div");p.className="cesium-baseLayerPicker-sectionTitle",p.setAttribute("data-bind","visible: terrainProviderViewModels.length > 0"),p.innerHTML="Terrain",r.appendChild(p);let x=document.createElement("div");x.className="cesium-baseLayerPicker-section",x.setAttribute("data-bind","foreach: _terrainProviders"),r.appendChild(x);let T=document.createElement("div");T.className="cesium-baseLayerPicker-category",x.appendChild(T);let _=document.createElement("div");_.className="cesium-baseLayerPicker-categoryTitle",_.setAttribute("data-bind","text: name"),T.appendChild(_);let L=document.createElement("div");L.className="cesium-baseLayerPicker-choices",L.setAttribute("data-bind","foreach: providers"),T.appendChild(L);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; }'),L.appendChild(V);let Z=document.createElement("img");Z.className="cesium-baseLayerPicker-itemIcon",Z.setAttribute("data-bind","attr: { src: iconUrl }"),Z.setAttribute("draggable","false"),V.appendChild(Z);let G=document.createElement("div");G.className="cesium-baseLayerPicker-itemLabel",G.setAttribute("data-bind","text: name"),V.appendChild(G),Re.applyBindings(n,i),Re.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)},yn.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(WH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});WH.prototype.isDestroyed=function(){return!1};WH.prototype.destroy=function(){return yn.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Re.cleanNode(this._element),Re.cleanNode(this._dropPanel),this._container.removeChild(this._element),this._container.removeChild(this._dropPanel),fe(this)};var QD=WH;var Wtr=S(C(),1);var Itr=S(C(),1);function tMe(e){let t=e.creationFunction;d(t.canExecute)||(t=ni(t)),this._creationCommand=t,this.name=e.name,this.tooltip=e.tooltip,this.iconUrl=e.iconUrl,this._category=g(e.category,""),Re.track(this,["name","tooltip","iconUrl"])}Object.defineProperties(tMe.prototype,{creationCommand:{get:function(){return this._creationCommand}},category:{get:function(){return this._category}}});var oa=tMe;function C9t(){let e=[],t=devicePixelRatio>=2;return e.push(new oa({name:"Bing Maps Aerial",iconUrl:Sn("Widgets/Images/ImageryProviders/bingAerial.png"),tooltip:"Bing Maps aerial imagery, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return dg({style:lg.AERIAL})}})),e.push(new oa({name:"Bing Maps Aerial with Labels",iconUrl:Sn("Widgets/Images/ImageryProviders/bingAerialLabels.png"),tooltip:"Bing Maps aerial imagery with labels, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return dg({style:lg.AERIAL_WITH_LABELS})}})),e.push(new oa({name:"Bing Maps Roads",iconUrl:Sn("Widgets/Images/ImageryProviders/bingRoads.png"),tooltip:"Bing Maps standard road maps, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return dg({style:lg.ROAD})}})),e.push(new oa({name:"ArcGIS World Imagery",iconUrl:Sn("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
|
|
19018
|
+
https://www.arcgis.com/home/item.html?id=10df2279f9684e4a9f6a7f08febac2a9`,category:"Other",creationFunction:function(){return rg.fromBasemapType(cf.SATELLITE,{enablePickFeatures:!1})}})),e.push(new oa({name:"ArcGIS World Hillshade",iconUrl:Sn("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
|
|
19019
|
+
https://www.arcgis.com/home/item.html?id=1b243539f4514b6ba35e7d995890db1d`,category:"Other",creationFunction:function(){return rg.fromBasemapType(cf.HILLSHADE,{enablePickFeatures:!1})}})),e.push(new oa({name:"Esri World Ocean",iconUrl:Sn("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
|
|
19020
|
+
https://www.arcgis.com/home/item.html?id=1e126e7520f9466c9ca28b8f28b5e500`,category:"Other",creationFunction:function(){return rg.fromBasemapType(cf.OCEANS,{enablePickFeatures:!1})}})),e.push(new oa({name:"Open\xADStreet\xADMap",iconUrl:Sn("Widgets/Images/ImageryProviders/openStreetMap.png"),tooltip:`OpenStreetMap (OSM) is a collaborative project to create a free editable map of the world.
|
|
19021
|
+
http://www.openstreetmap.org`,category:"Other",creationFunction:function(){return new fg({url:"https://tile.openstreetmap.org/"})}})),e.push(new oa({name:"Stadia x Stamen Watercolor",iconUrl:Sn("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.
|
|
19022
19022
|
https://docs.stadiamaps.com/map-styles/stamen-watercolor/`,category:"Other",creationFunction:function(){return new fg({url:"https://tiles.stadiamaps.com/tiles/stamen_watercolor/",fileExtension:"jpg",credit:`© <a href="https://stamen.com/" target="_blank">Stamen Design</a>
|
|
19023
19023
|
© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a>
|
|
19024
19024
|
© <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a>
|
|
19025
|
-
© <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>`})}})),e.push(new
|
|
19025
|
+
© <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>`})}})),e.push(new oa({name:"Stadia x Stamen Toner",iconUrl:Sn("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.
|
|
19026
19026
|
https://docs.stadiamaps.com/map-styles/stamen-toner/`,category:"Other",creationFunction:function(){return new fg({url:"https://tiles.stadiamaps.com/tiles/stamen_toner/",retinaTiles:t,credit:`© <a href="https://stamen.com/" target="_blank">Stamen Design</a>
|
|
19027
19027
|
© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a>
|
|
19028
19028
|
© <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a>
|
|
19029
|
-
© <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>`})}})),e.push(new
|
|
19029
|
+
© <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>`})}})),e.push(new oa({name:"Stadia Alidade Smooth",iconUrl:Sn("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.
|
|
19030
19030
|
https://docs.stadiamaps.com/map-styles/alidade-smooth/`,category:"Other",creationFunction:function(){return new fg({url:"https://tiles.stadiamaps.com/tiles/alidade_smooth/",retinaTiles:t,credit:`© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a>
|
|
19031
19031
|
© <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a>
|
|
19032
|
-
© <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>`})}})),e.push(new
|
|
19032
|
+
© <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>`})}})),e.push(new oa({name:"Stadia Alidade Smooth Dark",iconUrl:Sn("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.
|
|
19033
19033
|
https://docs.stadiamaps.com/map-styles/alidade-smooth-dark/`,category:"Other",creationFunction:function(){return new fg({url:"https://tiles.stadiamaps.com/tiles/alidade_smooth_dark/",retinaTiles:t,credit:`© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a>
|
|
19034
19034
|
© <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a>
|
|
19035
|
-
© <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>`})}})),e.push(new
|
|
19036
|
-
http://www.naturalearthdata.com/`,category:"Cesium ion",creationFunction:function(){return HT.fromUrl(Sn("Assets/Textures/NaturalEarthII"))}})),e}var
|
|
19035
|
+
© <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>`})}})),e.push(new oa({name:"Sentinel-2",iconUrl:Sn("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 cg.fromAssetId(3954)}})),e.push(new oa({name:"Blue Marble",iconUrl:Sn("Widgets/Images/ImageryProviders/blueMarble.png"),tooltip:"Blue Marble Next Generation July, 2004 imagery from NASA.",category:"Cesium ion",creationFunction:function(){return cg.fromAssetId(3845)}})),e.push(new oa({name:"Earth at night",iconUrl:Sn("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 cg.fromAssetId(3812)}})),e.push(new oa({name:"Natural Earth\xA0II",iconUrl:Sn("Widgets/Images/ImageryProviders/naturalEarthII.png"),tooltip:`Natural Earth II, darkened for contrast.
|
|
19036
|
+
http://www.naturalearthdata.com/`,category:"Cesium ion",creationFunction:function(){return HT.fromUrl(Sn("Assets/Textures/NaturalEarthII"))}})),e}var jD=C9t;var Ftr=S(C(),1);function L9t(){let e=[];return e.push(new oa({name:"WGS84 Ellipsoid",iconUrl:Sn("Widgets/Images/TerrainProviders/Ellipsoid.png"),tooltip:"WGS84 standard ellipsoid, also known as EPSG:4326",category:"Cesium ion",creationFunction:function(){return new Of({ellipsoid:oe.WGS84})}})),e.push(new oa({name:"Cesium World Terrain",iconUrl:Sn("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 K_({requestWaterMask:!0,requestVertexNormals:!0})}})),e}var qD=L9t;var Qtr=S(C(),1);var ztr=S(C(),1);function V9t(e){return function(t){let n=e._scene.pick(t.position);d(n)&&(n.primitive instanceof ea||n.primitive instanceof Ml)&&(e.tileset=n.primitive),e.pickActive=!1}}function iMe(e,t){t?e._eventHandler.setInputAction(function(n){let i=e._scene.pick(n.endPosition);d(i)&&(i.primitive instanceof ea||i.primitive instanceof Ml)&&(e.tileset=i.primitive)},qn.MOUSE_MOVE):(e._eventHandler.removeInputAction(qn.MOUSE_MOVE),e.picking=e.picking)}var Z9t={maximumFractionDigits:3};function $D(e){let t=e/1048576;return t<1?t.toLocaleString(void 0,Z9t):Math.round(t).toLocaleString()}function e3(e,t){if(!d(e))return"";let n=t?e._statisticsPerPass[oo.PICK]:e._statisticsPerPass[oo.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>${$D(n.geometryByteLength)}</li><li><strong>Texture Memory (MB): </strong>${$D(n.texturesByteLength)}</li><li><strong>Batch Table Memory (MB): </strong>${$D(n.batchTableByteLength)}</li>`,i+="</ul>"),i}function oMe(){let e=qi.statistics;return`
|
|
19037
19037
|
<ul class="cesium-cesiumInspector-statistics">
|
|
19038
|
-
<li><strong>Geometry Memory (MB): </strong>${
|
|
19039
|
-
<li><strong>Texture Memory (MB): </strong>${
|
|
19038
|
+
<li><strong>Geometry Memory (MB): </strong>${$D(e.geometryByteLength)}</li>
|
|
19039
|
+
<li><strong>Texture Memory (MB): </strong>${$D(e.texturesByteLength)}</li>
|
|
19040
19040
|
</ul>
|
|
19041
|
-
`}var x9t=[{text:"Highlight",value:Sl.HIGHLIGHT},{text:"Replace",value:Sl.REPLACE},{text:"Mix",value:Sl.MIX}],qIe=new z(1,1,0,.4),T9t=new z,MH=new z;function Rc(e,t){let n=this,i=e.canvas;this._eventHandler=new wu(i),this._scene=e,this._performanceContainer=t,this._canvas=i,this._performanceDisplay=new bg({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,Re.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=Re.observable({}),this.properties=[],Re.defineProperty(this,"properties",function(){let D=[],O=n._properties();for(let K in O)O.hasOwnProperty(K)&&D.push(K);return D});let o=Re.observable();Re.defineProperty(this,"dynamicScreenSpaceError",{get:function(){return o()},set:function(D){o(D),d(n._tileset)&&(n._tileset.dynamicScreenSpaceError=D)}}),this.dynamicScreenSpaceError=!1;let r=Re.observable();Re.defineProperty(this,"colorBlendMode",{get:function(){return r()},set:function(D){r(D),d(n._tileset)&&(n._tileset.colorBlendMode=D,n._scene.requestRender())}}),this.colorBlendMode=Sl.HIGHLIGHT;let s=Re.observable(),a=Re.observable();Re.defineProperty(this,"picking",{get:function(){return a()},set:function(D){a(D),D?n._eventHandler.setInputAction(function(O){let K=e.pick(O.endPosition);if(K instanceof Ya?(n.feature=K,n.tile=K.content.tile):d(K)&&d(K.content)?(n.feature=void 0,n.tile=K.content.tile):(n.feature=void 0,n.tile=void 0),!!d(n._tileset)){if(s&&d(K)&&d(K.content)){let j;e.pickPositionSupported&&(j=e.pickPosition(O.endPosition),d(j)&&(n._tileset.debugPickPosition=j)),n._tileset.debugPickedTile=K.content.tile}else n._tileset.debugPickedTile=void 0;n._scene.requestRender()}},qn.MOUSE_MOVE):(n.feature=void 0,n.tile=void 0,n._eventHandler.removeInputAction(qn.MOUSE_MOVE))}}),this.picking=!0;let c=Re.observable();Re.defineProperty(this,"colorize",{get:function(){return c()},set:function(D){c(D),d(n._tileset)&&(n._tileset.debugColorizeTiles=D,n._scene.requestRender())}}),this.colorize=!1;let l=Re.observable();Re.defineProperty(this,"wireframe",{get:function(){return l()},set:function(D){l(D),d(n._tileset)&&(n._tileset.debugWireframe=D,n._scene.requestRender())}}),this.wireframe=!1;let u=Re.observable();Re.defineProperty(this,"showBoundingVolumes",{get:function(){return u()},set:function(D){u(D),d(n._tileset)&&(n._tileset.debugShowBoundingVolume=D,n._scene.requestRender())}}),this.showBoundingVolumes=!1;let m=Re.observable();Re.defineProperty(this,"showContentBoundingVolumes",{get:function(){return m()},set:function(D){m(D),d(n._tileset)&&(n._tileset.debugShowContentBoundingVolume=D,n._scene.requestRender())}}),this.showContentBoundingVolumes=!1;let f=Re.observable();Re.defineProperty(this,"showRequestVolumes",{get:function(){return f()},set:function(D){f(D),d(n._tileset)&&(n._tileset.debugShowViewerRequestVolume=D,n._scene.requestRender())}}),this.showRequestVolumes=!1;let b=Re.observable();Re.defineProperty(this,"freezeFrame",{get:function(){return b()},set:function(D){b(D),d(n._tileset)&&(n._tileset.debugFreezeFrame=D,n._scene.debugShowFrustumPlanes=D,n._scene.requestRender())}}),this.freezeFrame=!1,Re.defineProperty(this,"showOnlyPickedTileDebugLabel",{get:function(){return s()},set:function(D){s(D),d(n._tileset)&&(n._tileset.debugPickedTileLabelOnly=D,n._scene.requestRender())}}),this.showOnlyPickedTileDebugLabel=!1;let p=Re.observable();Re.defineProperty(this,"showGeometricError",{get:function(){return p()},set:function(D){p(D),d(n._tileset)&&(n._tileset.debugShowGeometricError=D,n._scene.requestRender())}}),this.showGeometricError=!1;let x=Re.observable();Re.defineProperty(this,"showRenderingStatistics",{get:function(){return x()},set:function(D){x(D),d(n._tileset)&&(n._tileset.debugShowRenderingStatistics=D,n._scene.requestRender())}}),this.showRenderingStatistics=!1;let T=Re.observable();Re.defineProperty(this,"showMemoryUsage",{get:function(){return T()},set:function(D){T(D),d(n._tileset)&&(n._tileset.debugShowMemoryUsage=D,n._scene.requestRender())}}),this.showMemoryUsage=!1;let _=Re.observable();Re.defineProperty(this,"showUrl",{get:function(){return _()},set:function(D){_(D),d(n._tileset)&&(n._tileset.debugShowUrl=D,n._scene.requestRender())}}),this.showUrl=!1;let L=Re.observable();Re.defineProperty(this,"maximumScreenSpaceError",{get:function(){return L()},set:function(D){D=Number(D),isNaN(D)||(L(D),d(n._tileset)&&(n._tileset.maximumScreenSpaceError=D))}}),this.maximumScreenSpaceError=16;let V=Re.observable();Re.defineProperty(this,"dynamicScreenSpaceErrorDensity",{get:function(){return V()},set:function(D){D=Number(D),isNaN(D)||(V(D),d(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=D))}}),this.dynamicScreenSpaceErrorDensity=2e-4,this.dynamicScreenSpaceErrorDensitySliderValue=void 0,Re.defineProperty(this,"dynamicScreenSpaceErrorDensitySliderValue",{get:function(){return Math.pow(V(),1/6)},set:function(D){let O=Math.pow(D,6);V(O),d(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=O)}});let Z=Re.observable();Re.defineProperty(this,"dynamicScreenSpaceErrorFactor",{get:function(){return Z()},set:function(D){D=Number(D),isNaN(D)||(Z(D),d(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorFactor=D))}}),this.dynamicScreenSpaceErrorFactor=24;let G=y9t(this),I=Re.observable();Re.defineProperty(this,"pickActive",{get:function(){return I()},set:function(D){I(D),D?n._eventHandler.setInputAction(G,qn.LEFT_CLICK):n._eventHandler.removeInputAction(qn.LEFT_CLICK)}});let w=Re.observable();Re.defineProperty(this,"pointCloudShading",{get:function(){return w()},set:function(D){w(D),d(n._tileset)&&(n._tileset.pointCloudShading.attenuation=D)}}),this.pointCloudShading=!1;let W=Re.observable();Re.defineProperty(this,"geometricErrorScale",{get:function(){return W()},set:function(D){D=Number(D),isNaN(D)||(W(D),d(n._tileset)&&(n._tileset.pointCloudShading.geometricErrorScale=D))}}),this.geometricErrorScale=1;let v=Re.observable();Re.defineProperty(this,"maximumAttenuation",{get:function(){return v()},set:function(D){D=Number(D),isNaN(D)||(v(D),d(n._tileset)&&(n._tileset.pointCloudShading.maximumAttenuation=D===0?void 0:D))}}),this.maximumAttenuation=0;let N=Re.observable();Re.defineProperty(this,"baseResolution",{get:function(){return N()},set:function(D){D=Number(D),isNaN(D)||(N(D),d(n._tileset)&&(n._tileset.pointCloudShading.baseResolution=D===0?void 0:D))}}),this.baseResolution=0;let y=Re.observable();Re.defineProperty(this,"eyeDomeLighting",{get:function(){return y()},set:function(D){y(D),d(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLighting=D)}}),this.eyeDomeLighting=!1;let R=Re.observable();Re.defineProperty(this,"eyeDomeLightingStrength",{get:function(){return R()},set:function(D){D=Number(D),isNaN(D)||(R(D),d(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingStrength=D))}}),this.eyeDomeLightingStrength=1;let E=Re.observable();Re.defineProperty(this,"eyeDomeLightingRadius",{get:function(){return E()},set:function(D){D=Number(D),isNaN(D)||(E(D),d(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingRadius=D))}}),this.eyeDomeLightingRadius=1,this.pickActive=!1;let M=Re.observable();Re.defineProperty(this,"skipLevelOfDetail",{get:function(){return M()},set:function(D){M(D),d(n._tileset)&&(n._tileset.skipLevelOfDetail=D)}}),this.skipLevelOfDetail=!0;let F=Re.observable();Re.defineProperty(this,"skipScreenSpaceErrorFactor",{get:function(){return F()},set:function(D){D=Number(D),isNaN(D)||(F(D),d(n._tileset)&&(n._tileset.skipScreenSpaceErrorFactor=D))}}),this.skipScreenSpaceErrorFactor=16;let A=Re.observable();Re.defineProperty(this,"baseScreenSpaceError",{get:function(){return A()},set:function(D){D=Number(D),isNaN(D)||(A(D),d(n._tileset)&&(n._tileset.baseScreenSpaceError=D))}}),this.baseScreenSpaceError=1024;let B=Re.observable();Re.defineProperty(this,"skipLevels",{get:function(){return B()},set:function(D){D=Number(D),isNaN(D)||(B(D),d(n._tileset)&&(n._tileset.skipLevels=D))}}),this.skipLevels=1;let U=Re.observable();Re.defineProperty(this,"immediatelyLoadDesiredLevelOfDetail",{get:function(){return U()},set:function(D){U(D),d(n._tileset)&&(n._tileset.immediatelyLoadDesiredLevelOfDetail=D)}}),this.immediatelyLoadDesiredLevelOfDetail=!1;let k=Re.observable();Re.defineProperty(this,"loadSiblings",{get:function(){return k()},set:function(D){k(D),d(n._tileset)&&(n._tileset.loadSiblings=D)}}),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()}),d(this._tileset)||$Ie(this,!0)}Object.defineProperties(Rc.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 x9t}},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,d(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=QD(e,!1),this._pickStatisticsText=QD(e,!0),this._resourceCacheStatisticsText=eMe(),$Ie(this,!1)}},feature:{get:function(){return this._feature},set:function(e){if(this._feature===e)return;let t=this._feature;d(t)&&!t.content.isDestroyed()&&(!this.colorize&&d(this._style)?t.color=d(this._style.color)?this._style.color.evaluateColor(t,T9t):z.WHITE:t.color=MH,this._scene.requestRender()),d(e)&&(z.clone(e.color,MH),e.color=qIe,this._scene.requestRender()),this._feature=e}},tile:{get:function(){return this._tile},set:function(e){if(this._tile===e)return;let t=this._tile;d(t)&&!t.isDestroyed()&&!boe(t.content)&&(t.color=MH,this._scene.requestRender()),d(e)&&!boe(e.content)&&(z.clone(e.color,MH),e.color=qIe,this._scene.requestRender()),this._tile=e}}});function boe(e){if(!d(e))return!1;if(e.featuresLength>0)return!0;let t=e.innerContents;if(d(t)){let n=t.length;for(let i=0;i<n;++i)if(!boe(t[i]))return!1;return!0}return!1}Rc.prototype.togglePickTileset=function(){this.pickActive=!this.pickActive};Rc.prototype.toggleInspector=function(){this.inspectorVisible=!this.inspectorVisible};Rc.prototype.toggleTileset=function(){this.tilesetVisible=!this.tilesetVisible};Rc.prototype.toggleDisplay=function(){this.displayVisible=!this.displayVisible};Rc.prototype.toggleUpdate=function(){this.updateVisible=!this.updateVisible};Rc.prototype.toggleLogging=function(){this.loggingVisible=!this.loggingVisible};Rc.prototype.toggleStyle=function(){this.styleVisible=!this.styleVisible};Rc.prototype.toggleTileDebugLabels=function(){this.tileDebugLabelsVisible=!this.tileDebugLabelsVisible};Rc.prototype.toggleOptimization=function(){this.optimizationVisible=!this.optimizationVisible};Rc.prototype.trimTilesCache=function(){d(this._tileset)&&this._tileset.trimLoadedTiles()};Rc.prototype.compileStyle=function(){let e=this._tileset;if(!(!d(e)||this.styleString===JSON.stringify(e.style))){this._editorError="";try{this.styleString.length===0&&(this.styleString="{}"),this._style=new _C(JSON.parse(this.styleString)),this._shouldStyle=!0,this._scene.requestRender()}catch(t){this._editorError=t.toString()}this.feature=this._feature,this.tile=this._tile}};Rc.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(`
|
|
19041
|
+
`}var R9t=[{text:"Highlight",value:Sl.HIGHLIGHT},{text:"Replace",value:Sl.REPLACE},{text:"Mix",value:Sl.MIX}],nMe=new z(1,1,0,.4),G9t=new z,PH=new z;function Rc(e,t){let n=this,i=e.canvas;this._eventHandler=new wu(i),this._scene=e,this._performanceContainer=t,this._canvas=i,this._performanceDisplay=new bg({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,Re.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=Re.observable({}),this.properties=[],Re.defineProperty(this,"properties",function(){let D=[],O=n._properties();for(let K in O)O.hasOwnProperty(K)&&D.push(K);return D});let o=Re.observable();Re.defineProperty(this,"dynamicScreenSpaceError",{get:function(){return o()},set:function(D){o(D),d(n._tileset)&&(n._tileset.dynamicScreenSpaceError=D)}}),this.dynamicScreenSpaceError=!1;let r=Re.observable();Re.defineProperty(this,"colorBlendMode",{get:function(){return r()},set:function(D){r(D),d(n._tileset)&&(n._tileset.colorBlendMode=D,n._scene.requestRender())}}),this.colorBlendMode=Sl.HIGHLIGHT;let s=Re.observable(),a=Re.observable();Re.defineProperty(this,"picking",{get:function(){return a()},set:function(D){a(D),D?n._eventHandler.setInputAction(function(O){let K=e.pick(O.endPosition);if(K instanceof Ya?(n.feature=K,n.tile=K.content.tile):d(K)&&d(K.content)?(n.feature=void 0,n.tile=K.content.tile):(n.feature=void 0,n.tile=void 0),!!d(n._tileset)){if(s&&d(K)&&d(K.content)){let j;e.pickPositionSupported&&(j=e.pickPosition(O.endPosition),d(j)&&(n._tileset.debugPickPosition=j)),n._tileset.debugPickedTile=K.content.tile}else n._tileset.debugPickedTile=void 0;n._scene.requestRender()}},qn.MOUSE_MOVE):(n.feature=void 0,n.tile=void 0,n._eventHandler.removeInputAction(qn.MOUSE_MOVE))}}),this.picking=!0;let c=Re.observable();Re.defineProperty(this,"colorize",{get:function(){return c()},set:function(D){c(D),d(n._tileset)&&(n._tileset.debugColorizeTiles=D,n._scene.requestRender())}}),this.colorize=!1;let l=Re.observable();Re.defineProperty(this,"wireframe",{get:function(){return l()},set:function(D){l(D),d(n._tileset)&&(n._tileset.debugWireframe=D,n._scene.requestRender())}}),this.wireframe=!1;let u=Re.observable();Re.defineProperty(this,"showBoundingVolumes",{get:function(){return u()},set:function(D){u(D),d(n._tileset)&&(n._tileset.debugShowBoundingVolume=D,n._scene.requestRender())}}),this.showBoundingVolumes=!1;let m=Re.observable();Re.defineProperty(this,"showContentBoundingVolumes",{get:function(){return m()},set:function(D){m(D),d(n._tileset)&&(n._tileset.debugShowContentBoundingVolume=D,n._scene.requestRender())}}),this.showContentBoundingVolumes=!1;let f=Re.observable();Re.defineProperty(this,"showRequestVolumes",{get:function(){return f()},set:function(D){f(D),d(n._tileset)&&(n._tileset.debugShowViewerRequestVolume=D,n._scene.requestRender())}}),this.showRequestVolumes=!1;let b=Re.observable();Re.defineProperty(this,"freezeFrame",{get:function(){return b()},set:function(D){b(D),d(n._tileset)&&(n._tileset.debugFreezeFrame=D,n._scene.debugShowFrustumPlanes=D,n._scene.requestRender())}}),this.freezeFrame=!1,Re.defineProperty(this,"showOnlyPickedTileDebugLabel",{get:function(){return s()},set:function(D){s(D),d(n._tileset)&&(n._tileset.debugPickedTileLabelOnly=D,n._scene.requestRender())}}),this.showOnlyPickedTileDebugLabel=!1;let p=Re.observable();Re.defineProperty(this,"showGeometricError",{get:function(){return p()},set:function(D){p(D),d(n._tileset)&&(n._tileset.debugShowGeometricError=D,n._scene.requestRender())}}),this.showGeometricError=!1;let x=Re.observable();Re.defineProperty(this,"showRenderingStatistics",{get:function(){return x()},set:function(D){x(D),d(n._tileset)&&(n._tileset.debugShowRenderingStatistics=D,n._scene.requestRender())}}),this.showRenderingStatistics=!1;let T=Re.observable();Re.defineProperty(this,"showMemoryUsage",{get:function(){return T()},set:function(D){T(D),d(n._tileset)&&(n._tileset.debugShowMemoryUsage=D,n._scene.requestRender())}}),this.showMemoryUsage=!1;let _=Re.observable();Re.defineProperty(this,"showUrl",{get:function(){return _()},set:function(D){_(D),d(n._tileset)&&(n._tileset.debugShowUrl=D,n._scene.requestRender())}}),this.showUrl=!1;let L=Re.observable();Re.defineProperty(this,"maximumScreenSpaceError",{get:function(){return L()},set:function(D){D=Number(D),isNaN(D)||(L(D),d(n._tileset)&&(n._tileset.maximumScreenSpaceError=D))}}),this.maximumScreenSpaceError=16;let V=Re.observable();Re.defineProperty(this,"dynamicScreenSpaceErrorDensity",{get:function(){return V()},set:function(D){D=Number(D),isNaN(D)||(V(D),d(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=D))}}),this.dynamicScreenSpaceErrorDensity=2e-4,this.dynamicScreenSpaceErrorDensitySliderValue=void 0,Re.defineProperty(this,"dynamicScreenSpaceErrorDensitySliderValue",{get:function(){return Math.pow(V(),1/6)},set:function(D){let O=Math.pow(D,6);V(O),d(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=O)}});let Z=Re.observable();Re.defineProperty(this,"dynamicScreenSpaceErrorFactor",{get:function(){return Z()},set:function(D){D=Number(D),isNaN(D)||(Z(D),d(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorFactor=D))}}),this.dynamicScreenSpaceErrorFactor=24;let G=V9t(this),I=Re.observable();Re.defineProperty(this,"pickActive",{get:function(){return I()},set:function(D){I(D),D?n._eventHandler.setInputAction(G,qn.LEFT_CLICK):n._eventHandler.removeInputAction(qn.LEFT_CLICK)}});let w=Re.observable();Re.defineProperty(this,"pointCloudShading",{get:function(){return w()},set:function(D){w(D),d(n._tileset)&&(n._tileset.pointCloudShading.attenuation=D)}}),this.pointCloudShading=!1;let W=Re.observable();Re.defineProperty(this,"geometricErrorScale",{get:function(){return W()},set:function(D){D=Number(D),isNaN(D)||(W(D),d(n._tileset)&&(n._tileset.pointCloudShading.geometricErrorScale=D))}}),this.geometricErrorScale=1;let v=Re.observable();Re.defineProperty(this,"maximumAttenuation",{get:function(){return v()},set:function(D){D=Number(D),isNaN(D)||(v(D),d(n._tileset)&&(n._tileset.pointCloudShading.maximumAttenuation=D===0?void 0:D))}}),this.maximumAttenuation=0;let N=Re.observable();Re.defineProperty(this,"baseResolution",{get:function(){return N()},set:function(D){D=Number(D),isNaN(D)||(N(D),d(n._tileset)&&(n._tileset.pointCloudShading.baseResolution=D===0?void 0:D))}}),this.baseResolution=0;let y=Re.observable();Re.defineProperty(this,"eyeDomeLighting",{get:function(){return y()},set:function(D){y(D),d(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLighting=D)}}),this.eyeDomeLighting=!1;let R=Re.observable();Re.defineProperty(this,"eyeDomeLightingStrength",{get:function(){return R()},set:function(D){D=Number(D),isNaN(D)||(R(D),d(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingStrength=D))}}),this.eyeDomeLightingStrength=1;let E=Re.observable();Re.defineProperty(this,"eyeDomeLightingRadius",{get:function(){return E()},set:function(D){D=Number(D),isNaN(D)||(E(D),d(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingRadius=D))}}),this.eyeDomeLightingRadius=1,this.pickActive=!1;let M=Re.observable();Re.defineProperty(this,"skipLevelOfDetail",{get:function(){return M()},set:function(D){M(D),d(n._tileset)&&(n._tileset.skipLevelOfDetail=D)}}),this.skipLevelOfDetail=!0;let F=Re.observable();Re.defineProperty(this,"skipScreenSpaceErrorFactor",{get:function(){return F()},set:function(D){D=Number(D),isNaN(D)||(F(D),d(n._tileset)&&(n._tileset.skipScreenSpaceErrorFactor=D))}}),this.skipScreenSpaceErrorFactor=16;let A=Re.observable();Re.defineProperty(this,"baseScreenSpaceError",{get:function(){return A()},set:function(D){D=Number(D),isNaN(D)||(A(D),d(n._tileset)&&(n._tileset.baseScreenSpaceError=D))}}),this.baseScreenSpaceError=1024;let B=Re.observable();Re.defineProperty(this,"skipLevels",{get:function(){return B()},set:function(D){D=Number(D),isNaN(D)||(B(D),d(n._tileset)&&(n._tileset.skipLevels=D))}}),this.skipLevels=1;let U=Re.observable();Re.defineProperty(this,"immediatelyLoadDesiredLevelOfDetail",{get:function(){return U()},set:function(D){U(D),d(n._tileset)&&(n._tileset.immediatelyLoadDesiredLevelOfDetail=D)}}),this.immediatelyLoadDesiredLevelOfDetail=!1;let k=Re.observable();Re.defineProperty(this,"loadSiblings",{get:function(){return k()},set:function(D){k(D),d(n._tileset)&&(n._tileset.loadSiblings=D)}}),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()}),d(this._tileset)||iMe(this,!0)}Object.defineProperties(Rc.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 R9t}},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,d(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=e3(e,!1),this._pickStatisticsText=e3(e,!0),this._resourceCacheStatisticsText=oMe(),iMe(this,!1)}},feature:{get:function(){return this._feature},set:function(e){if(this._feature===e)return;let t=this._feature;d(t)&&!t.content.isDestroyed()&&(!this.colorize&&d(this._style)?t.color=d(this._style.color)?this._style.color.evaluateColor(t,G9t):z.WHITE:t.color=PH,this._scene.requestRender()),d(e)&&(z.clone(e.color,PH),e.color=nMe,this._scene.requestRender()),this._feature=e}},tile:{get:function(){return this._tile},set:function(e){if(this._tile===e)return;let t=this._tile;d(t)&&!t.isDestroyed()&&!Toe(t.content)&&(t.color=PH,this._scene.requestRender()),d(e)&&!Toe(e.content)&&(z.clone(e.color,PH),e.color=nMe,this._scene.requestRender()),this._tile=e}}});function Toe(e){if(!d(e))return!1;if(e.featuresLength>0)return!0;let t=e.innerContents;if(d(t)){let n=t.length;for(let i=0;i<n;++i)if(!Toe(t[i]))return!1;return!0}return!1}Rc.prototype.togglePickTileset=function(){this.pickActive=!this.pickActive};Rc.prototype.toggleInspector=function(){this.inspectorVisible=!this.inspectorVisible};Rc.prototype.toggleTileset=function(){this.tilesetVisible=!this.tilesetVisible};Rc.prototype.toggleDisplay=function(){this.displayVisible=!this.displayVisible};Rc.prototype.toggleUpdate=function(){this.updateVisible=!this.updateVisible};Rc.prototype.toggleLogging=function(){this.loggingVisible=!this.loggingVisible};Rc.prototype.toggleStyle=function(){this.styleVisible=!this.styleVisible};Rc.prototype.toggleTileDebugLabels=function(){this.tileDebugLabelsVisible=!this.tileDebugLabelsVisible};Rc.prototype.toggleOptimization=function(){this.optimizationVisible=!this.optimizationVisible};Rc.prototype.trimTilesCache=function(){d(this._tileset)&&this._tileset.trimLoadedTiles()};Rc.prototype.compileStyle=function(){let e=this._tileset;if(!(!d(e)||this.styleString===JSON.stringify(e.style))){this._editorError="";try{this.styleString.length===0&&(this.styleString="{}"),this._style=new _C(JSON.parse(this.styleString)),this._shouldStyle=!0,this._scene.requestRender()}catch(t){this._editorError=t.toString()}this.feature=this._feature,this.tile=this._tile}};Rc.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(`
|
|
19042
19042
|
`),c=a.length,l;if(t.shiftKey)for(l=0;l<c;++l)a[l][0]===" "&&(a[l][1]===" "?(a[l]=a[l].substr(2),r-=2):(a[l]=a[l].substr(1),r-=1));else for(l=0;l<c;++l)a[l]=` ${a[l]}`,r+=2;let u=a.join(`
|
|
19043
|
-
`);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};Rc.prototype._update=function(){let e=this._tileset;if(this.performance&&this._performanceDisplay.update(),d(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=QD(e,!1),this._pickStatisticsText=QD(e,!0),this._resourceCacheStatisticsText=eMe())};Rc.prototype.isDestroyed=function(){return!1};Rc.prototype.destroy=function(){this._eventHandler.destroy(),this._removePostRenderEvent();let e=this;return this._definedProperties.forEach(function(t){Re.getObservable(e,t).dispose()}),fe(this)};Rc.getStatistics=QD;var jD=Rc;function XH(e,t){e=ui(e);let n=document.createElement("div"),i=document.createElement("div");i.setAttribute("data-bind","visible: performance");let o=new jD(t,i);this._viewModel=o,this._container=e,this._element=n;let r=document.createElement("div");r.textContent="3D Tiles / M3D 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=qc.createSection,c=qc.createCheckbox,l=qc.createRangeInput,u=qc.createButton,m=a(s,"Tileset","tilesetVisible","toggleTileset"),f=a(s,"Display","displayVisible","toggleDisplay"),b=a(s,"Update","updateVisible","toggleUpdate"),p=a(s,"Logging","loggingVisible","toggleLogging"),x=a(s,"Tile Debug Labels","tileDebugLabelsVisible","toggleTileDebugLabels"),T=a(s,"Style","styleVisible","toggleStyle"),_=a(s,"Optimization","optimizationVisible","toggleOptimization"),L=document.createElement("div");L.className="field-group";let V=document.createElement("label");V.className="field-label",V.appendChild(document.createTextNode("Properties: "));let Z=document.createElement("div");Z.setAttribute("data-bind","text: properties"),L.appendChild(V),L.appendChild(Z),m.appendChild(L),m.appendChild(u("Pick Tileset","togglePickTileset","pickActive")),m.appendChild(u("Trim Tiles Cache","trimTilesCache")),m.appendChild(c("Enable Picking","picking")),f.appendChild(c("Colorize","colorize"));let G=f.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.",G.appendChild(I),f.appendChild(c("Bounding Volumes","showBoundingVolumes")),f.appendChild(c("Content Volumes","showContentBoundingVolumes")),f.appendChild(c("Request Volumes","showRequestVolumes")),f.appendChild(c("Point Cloud Shading","pointCloudShading"));let w=document.createElement("div");w.setAttribute("data-bind","visible: pointCloudShading"),w.appendChild(l("Geometric Error Scale","geometricErrorScale",0,2,.01)),w.appendChild(l("Maximum Attenuation","maximumAttenuation",0,32,1)),w.appendChild(l("Base Resolution","baseResolution",0,1,.01)),w.appendChild(c("Eye Dome Lighting (EDL)","eyeDomeLighting")),f.appendChild(w);let W=document.createElement("div");W.setAttribute("data-bind","visible: eyeDomeLighting"),W.appendChild(l("EDL Strength","eyeDomeLightingStrength",0,2,.1)),W.appendChild(l("EDL Radius","eyeDomeLightingRadius",0,4,.1)),w.appendChild(W),b.appendChild(c("Freeze Frame","freezeFrame")),b.appendChild(c("Dynamic Screen Space Error","dynamicScreenSpaceError"));let v=document.createElement("div");v.appendChild(l("Maximum Screen Space Error","maximumScreenSpaceError",0,128,1)),b.appendChild(v);let N=document.createElement("div");N.setAttribute("data-bind","visible: dynamicScreenSpaceError"),N.appendChild(l("Screen Space Error Density","dynamicScreenSpaceErrorDensitySliderValue",0,1,.005,"dynamicScreenSpaceErrorDensity")),N.appendChild(l("Screen Space Error Factor","dynamicScreenSpaceErrorFactor",1,32,.1)),b.appendChild(N),p.appendChild(c("Performance","performance")),p.appendChild(i),p.appendChild(c("Statistics","showStatistics"));let y=document.createElement("div");y.className="cesium-3dTilesInspector-statistics",y.setAttribute("data-bind","html: statisticsText, visible: showStatistics"),p.appendChild(y),p.appendChild(c("Pick Statistics","showPickStatistics"));let R=document.createElement("div");R.className="cesium-3dTilesInspector-statistics",R.setAttribute("data-bind","html: pickStatisticsText, visible: showPickStatistics"),p.appendChild(R),p.appendChild(c("Resource Cache Statistics","showResourceCacheStatistics"));let E=document.createElement("div");E.className="cesium-3dTilesInspector-statistics",E.setAttribute("data-bind","html: resourceCacheStatisticsText, visible: showResourceCacheStatistics"),p.appendChild(E);let M=document.createElement("div");T.appendChild(M),M.appendChild(document.createTextNode("Color Blend Mode: "));let F=document.createElement("select");F.setAttribute("data-bind",'options: colorBlendModes, optionsText: "text", optionsValue: "value", value: colorBlendMode'),M.appendChild(F);let A=document.createElement("textarea");A.setAttribute("data-bind","textInput: styleString, event: { keydown: styleEditorKeyPress }"),M.className="cesium-cesiumInspector-styleEditor",M.appendChild(A);let B=u("Compile (Ctrl+Enter)","compileStyle");M.appendChild(B);let U=document.createElement("div");U.className="cesium-cesiumInspector-error",U.setAttribute("data-bind","text: editorError"),M.appendChild(U),x.appendChild(c("Show Picked Only","showOnlyPickedTileDebugLabel")),x.appendChild(c("Geometric Error","showGeometricError")),x.appendChild(c("Rendering Statistics","showRenderingStatistics")),x.appendChild(c("Memory Usage (MB)","showMemoryUsage")),x.appendChild(c("Url","showUrl")),_.appendChild(c("Skip Tile LODs","skipLevelOfDetail"));let k=document.createElement("div");k.appendChild(l("Skip SSE Factor","skipScreenSpaceErrorFactor",1,50,1)),_.appendChild(k);let D=document.createElement("div");D.appendChild(l("SSE before skipping LOD","baseScreenSpaceError",0,4096,1)),_.appendChild(D);let O=document.createElement("div");O.appendChild(l("Min. levels to skip","skipLevels",0,10,1)),_.appendChild(O),_.appendChild(c("Load only tiles that meet the max SSE.","immediatelyLoadDesiredLevelOfDetail")),_.appendChild(c("Load siblings of visible tiles","loadSiblings")),Re.applyBindings(o,n)}Object.defineProperties(XH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});XH.prototype.isDestroyed=function(){return!1};XH.prototype.destroy=function(){return Re.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),fe(this)};var qD=XH;var ktr=S(C(),1);var mL="http://www.w3.org/2000/svg",iMe="http://www.w3.org/1999/xlink",wH,$D=z.fromCssColorString("rgba(247,250,255,0.384)"),WH=z.fromCssColorString("rgba(143,191,255,0.216)"),yoe=z.fromCssColorString("rgba(153,197,255,0.098)"),PH=z.fromCssColorString("rgba(255,255,255,0.086)"),_9t=z.fromCssColorString("rgba(255,255,255,0.267)"),S9t=z.fromCssColorString("rgba(255,255,255,0)"),tMe=z.fromCssColorString("rgba(66,67,68,0.3)"),nMe=z.fromCssColorString("rgba(0,0,0,0.5)");function a_(e){return z.fromCssColorString(window.getComputedStyle(e).getPropertyValue("color"))}var e3={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 Sf(e){let t=document.createElementNS(mL,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(Sf(e.children[o]))}else n.indexOf("xlink:")===0?t.setAttributeNS(iMe,n.substring(6),e[n]):n==="textContent"?t.textContent=e[n]:t.setAttribute(n,e[n]);return t}function goe(e,t,n){let i=document.createElementNS(mL,"text");i.setAttribute("x",e),i.setAttribute("y",t),i.setAttribute("class","cesium-animation-svgText");let o=document.createElementNS(mL,"tspan");return o.textContent=n,i.appendChild(o),i}function C9t(e,t,n){e.setAttribute("transform",`translate(100,100) rotate(${n})`),t.setAttribute("transform",`rotate(${n})`)}var vH=new z;function oa(e,t){let n=t.alpha,i=1-n;return vH.red=e.red*i+t.red*n,vH.green=e.green*i+t.green*n,vH.blue=e.blue*i+t.blue*n,vH.toCssColorString()}function xoe(e,t,n){let i=e3[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 Sf(o)}function L9t(e,t,n){let i=e3[n],o=e3.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 Sf(r)}function V9t(e,t){let n=e._viewModel,i=n.shuttleRingDragging;if(!(i&&wH!==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,l;if(t.type==="touchstart"||t.type==="touchmove"?(c=t.touches[0].clientX,l=t.touches[0].clientY):(c=t.clientX,l=t.clientY),!i&&(c>a.right||c<a.left||l<a.top||l>a.bottom))return;let u=e._shuttleRingPointer.getBoundingClientRect(),m=c-o-a.left,f=l-r-a.top,b=Math.atan2(f,m)*180/Math.PI+90;b>180&&(b-=360);let p=n.shuttleRingAngle;i||c<u.right&&c>u.left&&l>u.top&&l<u.bottom?(wH=e,n.shuttleRingDragging=!0,n.shuttleRingAngle=b):b<p?n.slower():b>p&&n.faster(),t.preventDefault()}else e===wH&&(wH=void 0),n.shuttleRingDragging=!1}function Lg(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=[Zc(t,"toggled",this.setToggled,this),Zc(t,"tooltip",this.setTooltip,this),Zc(t.command,"canExecute",this.setEnabled,this)]}Lg.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();fe(this)};Lg.prototype.isDestroyed=function(){return!1};Lg.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")}};Lg.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")))};Lg.prototype.setTooltip=function(e){this.svgElement.getElementsByTagName("title")[0].textContent=e};function kG(e,t){e=ui(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(mL,"svg:svg");this._svgNode=r,r.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink",iMe);let s=document.createElementNS(mL,"g");this._topG=s,this._realtimeSVG=new Lg(L9t(3,4,"animation_pathClock"),t.playRealtimeViewModel),this._playReverseSVG=new Lg(xoe(44,99,"animation_pathPlayReverse"),t.playReverseViewModel),this._playForwardSVG=new Lg(xoe(124,99,"animation_pathPlay"),t.playForwardViewModel),this._pauseSVG=new Lg(xoe(84,99,"animation_pathPause"),t.pauseViewModel);let a=document.createElementNS(mL,"g");a.appendChild(this._realtimeSVG.svgElement),a.appendChild(this._playReverseSVG.svgElement),a.appendChild(this._playForwardSVG.svgElement),a.appendChild(this._pauseSVG.svgElement);let c=Sf({tagName:"circle",class:"cesium-animation-shuttleRingBack",cx:100,cy:100,r:99});this._shuttleRingBackPanel=c;let l=e3.animation_pathSwooshFX,u=e3.animation_pathPointer,m=Sf({tagName:"g",class:"cesium-animation-shuttleRingSwoosh",children:[{tagName:l.tagName,transform:"translate(100,97) scale(-1,1)",id:"animation_pathSwooshFX",d:l.d},{tagName:l.tagName,transform:"translate(100,97)",id:"animation_pathSwooshFX",d:l.d},{tagName:"line",x1:100,y1:8,x2:100,y2:22}]});this._shuttleRingSwooshG=m,this._shuttleRingPointer=Sf({class:"cesium-animation-shuttleRingPointer",id:"animation_pathPointer",tagName:u.tagName,d:u.d});let f=Sf({tagName:"g",transform:"translate(100,100)"});this._knobOuter=Sf({tagName:"circle",class:"cesium-animation-knobOuter",cx:0,cy:0,r:71});let b=61,p=Sf({tagName:"circle",class:"cesium-animation-knobInner",cx:0,cy:0,r:b});this._knobDate=goe(0,-24,""),this._knobTime=goe(0,-7,""),this._knobStatus=goe(0,-41,"");let x=Sf({tagName:"circle",class:"cesium-animation-blank",cx:0,cy:0,r:b}),T=document.createElementNS(mL,"g");T.setAttribute("class","cesium-animation-shuttleRingG"),e.appendChild(o),s.appendChild(T),s.appendChild(f),s.appendChild(a),T.appendChild(c),T.appendChild(m),T.appendChild(this._shuttleRingPointer),f.appendChild(this._knobOuter),f.appendChild(p),f.appendChild(this._knobDate),f.appendChild(this._knobTime),f.appendChild(this._knobStatus),f.appendChild(x),r.appendChild(s),e.appendChild(r);let _=this;function L(w){V9t(_,w)}this._mouseCallback=L,c.addEventListener("mousedown",L,!0),c.addEventListener("touchstart",L,!0),m.addEventListener("mousedown",L,!0),m.addEventListener("touchstart",L,!0),n.addEventListener("mousemove",L,!0),n.addEventListener("touchmove",L,!0),n.addEventListener("mouseup",L,!0),n.addEventListener("touchend",L,!0),n.addEventListener("touchcancel",L,!0),this._shuttleRingPointer.addEventListener("mousedown",L,!0),this._shuttleRingPointer.addEventListener("touchstart",L,!0),this._knobOuter.addEventListener("mousedown",L,!0),this._knobOuter.addEventListener("touchstart",L,!0);let V=this._knobTime.childNodes[0],Z=this._knobDate.childNodes[0],G=this._knobStatus.childNodes[0],I;this._subscriptions=[Zc(t.pauseViewModel,"toggled",function(w){I!==w&&(I=w,I?_._shuttleRingPointer.setAttribute("class","cesium-animation-shuttleRingPausePointer"):_._shuttleRingPointer.setAttribute("class","cesium-animation-shuttleRingPointer"))}),Zc(t,"shuttleRingAngle",function(w){C9t(_._shuttleRingPointer,_._knobOuter,w)}),Zc(t,"dateLabel",function(w){Z.textContent!==w&&(Z.textContent=w)}),Zc(t,"timeLabel",function(w){V.textContent!==w&&(V.textContent=w)}),Zc(t,"multiplierLabel",function(w){G.textContent!==w&&(G.textContent=w)})],this.applyThemeChanges(),this.resize()}Object.defineProperties(kG.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});kG.prototype.isDestroyed=function(){return!1};kG.prototype.destroy=function(){d(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 fe(this)};kG.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};kG.prototype.applyThemeChanges=function(){let e=this._container.ownerDocument;if(!e.body.contains(this._container)){if(d(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=a_(this._themeNormal),n=a_(this._themeHover),i=a_(this._themeSelect),o=a_(this._themeDisabled),r=a_(this._themeKnob),s=a_(this._themePointer),a=a_(this._themeSwoosh),c=a_(this._themeSwooshHover),l=Sf({tagName:"defs",children:[{id:"animation_buttonNormal",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":oa(t,$D)},{tagName:"stop",offset:"12%","stop-color":oa(t,WH)},{tagName:"stop",offset:"46%","stop-color":oa(t,yoe)},{tagName:"stop",offset:"81%","stop-color":oa(t,PH)}]},{id:"animation_buttonHovered",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":oa(n,$D)},{tagName:"stop",offset:"12%","stop-color":oa(n,WH)},{tagName:"stop",offset:"46%","stop-color":oa(n,yoe)},{tagName:"stop",offset:"81%","stop-color":oa(n,PH)}]},{id:"animation_buttonToggled",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":oa(i,$D)},{tagName:"stop",offset:"12%","stop-color":oa(i,WH)},{tagName:"stop",offset:"46%","stop-color":oa(i,yoe)},{tagName:"stop",offset:"81%","stop-color":oa(i,PH)}]},{id:"animation_buttonDisabled",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":oa(o,_9t)},{tagName:"stop",offset:"75%","stop-color":oa(o,S9t)}]},{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":oa(s,nMe)},{tagName:"stop",offset:"100%","stop-color":oa(s,nMe)}]},{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":oa(r,$D)},{tagName:"stop",offset:"60%","stop-color":oa(r,tMe)},{tagName:"stop",offset:"85%","stop-color":oa(r,WH)}]},{id:"animation_knobInner",tagName:"linearGradient",x1:"20%",y1:"0%",x2:"90%",y2:"100%",children:[{tagName:"stop",offset:"5%","stop-color":oa(r,tMe)},{tagName:"stop",offset:"60%","stop-color":oa(r,$D)},{tagName:"stop",offset:"85%","stop-color":oa(r,PH)}]}]});d(this._defsElement)?this._svgNode.replaceChild(l,this._defsElement):this._svgNode.appendChild(l),this._defsElement=l};var t3=kG;var Qtr=S(C(),1);var Z9t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],c_=15,zG=105;function oMe(e,t){return e-t}function Toe(e,t){let n=Ir(t,e,oMe);return n<0?~n:n}function R9t(e,t){if(Math.abs(e)<=c_)return e/c_;let n=c_,i=zG,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 G9t(e,t,n){if(n.clockStep===hr.SYSTEM_CLOCK)return c_;if(Math.abs(e)<=1)return e*c_;let i=t[t.length-1];e>i?e=i:e<-i&&(e=-i);let o=c_,r=zG,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 Fh(e){let t=this;this._clockViewModel=e,this._allShuttleRingTicks=[],this._dateFormatter=Fh.defaultDateFormatter,this._timeFormatter=Fh.defaultTimeFormatter,this.shuttleRingDragging=!1,this.snapToTicks=!1,Re.track(this,["_allShuttleRingTicks","_dateFormatter","_timeFormatter","shuttleRingDragging","snapToTicks"]),this._sortedFilteredPositiveTicks=[],this.setShuttleRingTicks(Fh.defaultTicks),this.timeLabel=void 0,Re.defineProperty(this,"timeLabel",function(){return t._timeFormatter(t._clockViewModel.currentTime,t)}),this.dateLabel=void 0,Re.defineProperty(this,"dateLabel",function(){return t._dateFormatter(t._clockViewModel.currentTime,t)}),this.multiplierLabel=void 0,Re.defineProperty(this,"multiplierLabel",function(){let s=t._clockViewModel;if(s.clockStep===hr.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,Re.defineProperty(this,"shuttleRingAngle",{get:function(){return G9t(e.multiplier,t._allShuttleRingTicks,e)},set:function(s){s=Math.max(Math.min(s,zG),-zG);let a=t._allShuttleRingTicks,c=t._clockViewModel;if(c.clockStep=hr.SYSTEM_CLOCK_MULTIPLIER,Math.abs(s)===zG){c.multiplier=s>0?a[a.length-1]:a[0];return}let l=R9t(s,a);if(t.snapToTicks)l=a[Toe(l,a)];else if(l!==0){let u=Math.abs(l);if(u>100){let m=u.toFixed(0).length-2,f=Math.pow(10,m);l=Math.round(l/f)*f|0}else u>c_?l=Math.round(l):u>1?l=+l.toFixed(1):u>0&&(l=+l.toFixed(2))}c.multiplier=l}}),this._canAnimate=void 0,Re.defineProperty(this,"_canAnimate",function(){let s=t._clockViewModel,a=s.clockRange;if(t.shuttleRingDragging||a===Is.UNBOUNDED)return!0;let c=s.multiplier,l=s.currentTime,u=s.startTime,m=!1;if(a===Is.LOOP_STOP)m=ee.greaterThan(l,u)||l.equals(u)&&c>0;else{let f=s.stopTime;m=ee.greaterThan(l,u)&&ee.lessThan(l,f)||l.equals(u)&&c>0||l.equals(f)&&c<0}return m||(s.shouldAnimate=!1),m}),this._isSystemTimeAvailable=void 0,Re.defineProperty(this,"_isSystemTimeAvailable",function(){let s=t._clockViewModel;if(s.clockRange===Is.UNBOUNDED)return!0;let c=s.systemTime;return ee.greaterThanOrEquals(c,s.startTime)&&ee.lessThanOrEquals(c,s.stopTime)}),this._isAnimating=void 0,Re.defineProperty(this,"_isAnimating",function(){return t._clockViewModel.shouldAnimate&&(t._canAnimate||t.shuttleRingDragging)});let n=ni(function(){let s=t._clockViewModel;s.shouldAnimate?s.shouldAnimate=!1:t._canAnimate&&(s.shouldAnimate=!0)});this._pauseViewModel=new s_(n,{toggled:Re.computed(function(){return!t._isAnimating}),tooltip:"Pause"});let i=ni(function(){let s=t._clockViewModel,a=s.multiplier;a>0&&(s.multiplier=-a),s.shouldAnimate=!0});this._playReverseViewModel=new s_(i,{toggled:Re.computed(function(){return t._isAnimating&&e.multiplier<0}),tooltip:"Play Reverse"});let o=ni(function(){let s=t._clockViewModel,a=s.multiplier;a<0&&(s.multiplier=-a),s.shouldAnimate=!0});this._playForwardViewModel=new s_(o,{toggled:Re.computed(function(){return t._isAnimating&&e.multiplier>0&&e.clockStep!==hr.SYSTEM_CLOCK}),tooltip:"Play Forward"});let r=ni(function(){t._clockViewModel.clockStep=hr.SYSTEM_CLOCK},Re.getObservable(this,"_isSystemTimeAvailable"));this._playRealtimeViewModel=new s_(r,{toggled:Re.computed(function(){return e.clockStep===hr.SYSTEM_CLOCK}),tooltip:Re.computed(function(){return t._isSystemTimeAvailable?"Today (real-time)":"Current time not in range"})}),this._slower=ni(function(){let s=t._clockViewModel,a=t._allShuttleRingTicks,c=s.multiplier,l=Toe(c,a)-1;l>=0&&(s.multiplier=a[l])}),this._faster=ni(function(){let s=t._clockViewModel,a=t._allShuttleRingTicks,c=s.multiplier,l=Toe(c,a)+1;l<a.length&&(s.multiplier=a[l])})}Fh.defaultDateFormatter=function(e,t){let n=ee.toGregorianDate(e);return`${Z9t[n.month-1]} ${n.day} ${n.year}`};Fh.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];Fh.defaultTimeFormatter=function(e,t){let n=ee.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`};Fh.prototype.getShuttleRingTicks=function(){return this._sortedFilteredPositiveTicks.slice(0)};Fh.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(oMe);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(Fh.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}}});Fh._maxShuttleRingAngle=zG;Fh._realtimeShuttleRingAngle=c_;var n3=Fh;var dnr=S(C(),1);var nnr=S(C(),1);function E9t(e){let t;if(d(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> ${n[i]} in frustum ${r}`}t+=`<br>Total: ${e.totalCommands}`}return t}function _oe(e,t,n){let i=Math.min(n,t);return i=Math.max(i,e),i}var I9t=new Un,M9t=new h;function i3(e,t){let n=this,i=e.canvas,o=new wu(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="",Re.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=ni(function(){n.dropDownVisible=!n.dropDownVisible}),this._toggleGeneral=ni(function(){n.generalVisible=!n.generalVisible}),this._togglePrimitives=ni(function(){n.primitivesVisible=!n.primitivesVisible}),this._toggleTerrain=ni(function(){n.terrainVisible=!n.terrainVisible}),this._frustumsSubscription=Re.getObservable(this,"frustums").subscribe(function(l){n._scene.debugShowFrustums=l,n._scene.requestRender()}),this._frustumPlanesSubscription=Re.getObservable(this,"frustumPlanes").subscribe(function(l){n._scene.debugShowFrustumPlanes=l,n._scene.requestRender()}),this._performanceSubscription=Re.getObservable(this,"performance").subscribe(function(l){l?n._performanceDisplay=new bg({container:n._performanceContainer}):n._performanceContainer.innerHTML=""}),this._showPrimitiveBoundingSphere=ni(function(){return n._primitive.debugShowBoundingVolume=n.primitiveBoundingSphere,n._scene.requestRender(),!0}),this._primitiveBoundingSphereSubscription=Re.getObservable(this,"primitiveBoundingSphere").subscribe(function(){n._showPrimitiveBoundingSphere()}),this._showPrimitiveReferenceFrame=ni(function(){if(n.primitiveReferenceFrame){let l=n._primitive.modelMatrix;n._modelMatrixPrimitive=new yF({modelMatrix:l}),n._scene.primitives.add(n._modelMatrixPrimitive)}else d(n._modelMatrixPrimitive)&&(n._scene.primitives.remove(n._modelMatrixPrimitive),n._modelMatrixPrimitive=void 0);return n._scene.requestRender(),!0}),this._primitiveReferenceFrameSubscription=Re.getObservable(this,"primitiveReferenceFrame").subscribe(function(){n._showPrimitiveReferenceFrame()}),this._doFilterPrimitive=ni(function(){return n.filterPrimitive?n._scene.debugCommandFilter=function(l){return d(n._modelMatrixPrimitive)&&l.owner===n._modelMatrixPrimitive._primitive?!0:d(n._primitive)?l.owner===n._primitive||l.owner===n._primitive._billboardCollection||l.owner.primitive===n._primitive:!1}:n._scene.debugCommandFilter=void 0,!0}),this._filterPrimitiveSubscription=Re.getObservable(this,"filterPrimitive").subscribe(function(){n._doFilterPrimitive(),n._scene.requestRender()}),this._wireframeSubscription=Re.getObservable(this,"wireframe").subscribe(function(l){r._surface.tileProvider._debug.wireframe=l,n._scene.requestRender()}),this._depthFrustumSubscription=Re.getObservable(this,"depthFrustum").subscribe(function(l){n._scene.debugShowDepthFrustum=l,n._scene.requestRender()}),this._incrementDepthFrustum=ni(function(){let l=n.depthFrustum+1;return n.depthFrustum=_oe(1,n._numberOfFrustums,l),n._scene.requestRender(),!0}),this._decrementDepthFrustum=ni(function(){let l=n.depthFrustum-1;return n.depthFrustum=_oe(1,n._numberOfFrustums,l),n._scene.requestRender(),!0}),this._suspendUpdatesSubscription=Re.getObservable(this,"suspendUpdates").subscribe(function(l){r._surface._debug.suspendLodUpdate=l,l||(n.filterTile=!1)});let s;this._showTileCoordinates=ni(function(){return n.tileCoordinates&&!d(s)?s=e.imageryLayers.addImageryProvider(new RD({tilingScheme:e.terrainProvider.tilingScheme})):!n.tileCoordinates&&d(s)&&(e.imageryLayers.remove(s),s=void 0),!0}),this._tileCoordinatesSubscription=Re.getObservable(this,"tileCoordinates").subscribe(function(){n._showTileCoordinates(),n._scene.requestRender()}),this._tileBoundingSphereSubscription=Re.getObservable(this,"tileBoundingSphere").subscribe(function(){n._showTileBoundingSphere(),n._scene.requestRender()}),this._showTileBoundingSphere=ni(function(){return n.tileBoundingSphere?r._surface.tileProvider._debug.boundingSphereTile=n._tile:r._surface.tileProvider._debug.boundingSphereTile=void 0,n._scene.requestRender(),!0}),this._doFilterTile=ni(function(){return n.filterTile?(n.suspendUpdates=!0,r._surface._tilesToRender=[],d(n._tile)&&n._tile.renderable&&r._surface._tilesToRender.push(n._tile)):n.suspendUpdates=!1,!0}),this._filterTileSubscription=Re.getObservable(this,"filterTile").subscribe(function(){n.doFilterTile(),n._scene.requestRender()});function a(l){let u=n._scene.pick({x:l.position.x,y:l.position.y});d(u)&&(n.primitive=d(u.collection)?u.collection:u.primitive),n._scene.requestRender(),n.pickPrimitiveActive=!1}this._pickPrimitive=ni(function(){n.pickPrimitiveActive=!n.pickPrimitiveActive}),this._pickPrimitiveActiveSubscription=Re.getObservable(this,"pickPrimitiveActive").subscribe(function(l){l?o.setInputAction(a,qn.LEFT_CLICK):o.removeInputAction(qn.LEFT_CLICK)});function c(l){let u,m=r.ellipsoid,f=n._scene.camera.getPickRay(l.position,I9t),b=r.pick(f,n._scene,M9t);if(d(b)){let p=m.cartesianToCartographic(b),x=r._surface.tileProvider._tilesToRenderByTextureCount;for(let T=0;!u&&T<x.length;++T){let _=x[T];if(d(_))for(let L=0;!u&&L<_.length;++L){let V=_[L];he.contains(V.rectangle,p)&&(u=V)}}}n.tile=u,n.pickTileActive=!1}this._pickTile=ni(function(){n.pickTileActive=!n.pickTileActive}),this._pickTileActiveSubscription=Re.getObservable(this,"pickTileActive").subscribe(function(l){l?o.setInputAction(c,qn.LEFT_CLICK):o.removeInputAction(qn.LEFT_CLICK)}),this._removePostRenderEvent=e.postRender.addEventListener(function(){n._update()})}Object.defineProperties(i3.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 ni(function(){e.tile=e.tile.parent})}},selectNW:{get:function(){let e=this;return ni(function(){e.tile=e.tile.northwestChild})}},selectNE:{get:function(){let e=this;return ni(function(){e.tile=e.tile.northeastChild})}},selectSW:{get:function(){let e=this;return ni(function(){e.tile=e.tile.southwestChild})}},selectSE:{get:function(){let e=this;return ni(function(){e.tile=e.tile.southeastChild})}},primitive:{get:function(){return this._primitive},set:function(e){let t=this._primitive;e!==t&&(this.hasPickedPrimitive=!0,d(t)&&(t.debugShowBoundingVolume=!1),this._scene.debugCommandFilter=void 0,d(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(d(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;d(n)&&d(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}}});i3.prototype._update=function(){this.frustums&&(this.frustumStatisticText=E9t(this._scene.debugFrustumStatistics));let e=this._scene.numberOfFrustums;this._numberOfFrustums=e,this.depthFrustum=_oe(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}`};i3.prototype.isDestroyed=function(){return!1};i3.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(),fe(this)};var o3=i3;function NH(e,t){e=ui(e);let n=document.createElement("div"),i=new o3(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=qc.createSection,c=qc.createCheckbox,l=a(s,"General","generalVisible","toggleGeneral"),u=c("Show Frustums","frustums"),m=document.createElement("div");m.className="cesium-cesiumInspector-frustumStatistics",m.setAttribute("data-bind","visible: frustums, html: frustumStatisticText"),u.appendChild(m),l.appendChild(u),l.appendChild(c("Show Frustum Planes","frustumPlanes")),l.appendChild(c("Performance Display","performance")),n.className="cesium-cesiumInspector-performanceDisplay",l.appendChild(n);let f=document.createElement("div");f.className="cesium-cesiumInspector-shaderCache",f.setAttribute("data-bind","html: shaderCacheText"),l.appendChild(f);let b=document.createElement("div");l.appendChild(b);let p=document.createElement("span");p.setAttribute("data-bind",'html: " Frustum:"'),b.appendChild(p);let x=document.createElement("span");x.setAttribute("data-bind","text: depthFrustumText"),b.appendChild(x);let T=document.createElement("input");T.type="button",T.value="-",T.className="cesium-cesiumInspector-pickButton",T.setAttribute("data-bind","click: decrementDepthFrustum"),b.appendChild(T);let _=document.createElement("input");_.type="button",_.value="+",_.className="cesium-cesiumInspector-pickButton",_.setAttribute("data-bind","click: incrementDepthFrustum"),b.appendChild(_);let L=a(s,"Primitives","primitivesVisible","togglePrimitives"),V=document.createElement("div");V.className="cesium-cesiumInspector-pickSection",L.appendChild(V);let Z=document.createElement("input");Z.type="button",Z.value="Pick a primitive",Z.className="cesium-cesiumInspector-pickButton",Z.setAttribute("data-bind",'css: {"cesium-cesiumInspector-pickButtonHighlight" : pickPrimitiveActive}, click: pickPrimitive');let G=document.createElement("div");G.className="cesium-cesiumInspector-center",G.appendChild(Z),V.appendChild(G),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 W=document.createElement("input");W.type="button",W.value="Pick a tile",W.className="cesium-cesiumInspector-pickButton",W.setAttribute("data-bind",'css: {"cesium-cesiumInspector-pickButtonHighlight" : pickTileActive}, click: pickTile'),G=document.createElement("div"),G.appendChild(W),G.className="cesium-cesiumInspector-center",w.appendChild(G);let v=document.createElement("div");w.appendChild(v);let N=document.createElement("input");N.type="button",N.value="Parent",N.className="cesium-cesiumInspector-pickButton",N.setAttribute("data-bind","click: selectParent");let y=document.createElement("input");y.type="button",y.value="NW",y.className="cesium-cesiumInspector-pickButton",y.setAttribute("data-bind","click: selectNW");let R=document.createElement("input");R.type="button",R.value="NE",R.className="cesium-cesiumInspector-pickButton",R.setAttribute("data-bind","click: selectNE");let E=document.createElement("input");E.type="button",E.value="SW",E.className="cesium-cesiumInspector-pickButton",E.setAttribute("data-bind","click: selectSW");let M=document.createElement("input");M.type="button",M.value="SE",M.className="cesium-cesiumInspector-pickButton",M.setAttribute("data-bind","click: selectSE");let F=document.createElement("div");F.className="cesium-cesiumInspector-tileText",v.className="cesium-cesiumInspector-frustumStatistics",v.appendChild(F),v.setAttribute("data-bind","visible: hasPickedTile"),F.setAttribute("data-bind","html: tileText");let A=document.createElement("div");A.className="cesium-cesiumInspector-relativeText",A.textContent="Select relative:",v.appendChild(A);let B=document.createElement("table"),U=document.createElement("tr"),k=document.createElement("tr"),D=document.createElement("td");D.appendChild(N);let O=document.createElement("td");O.appendChild(y);let K=document.createElement("td");K.appendChild(R),U.appendChild(D),U.appendChild(O),U.appendChild(K);let j=document.createElement("td"),J=document.createElement("td");J.appendChild(E);let ne=document.createElement("td");ne.appendChild(M),k.appendChild(j),k.appendChild(J),k.appendChild(ne),B.appendChild(U),B.appendChild(k),v.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")),Re.applyBindings(i,this._element)}Object.defineProperties(NH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});NH.prototype.isDestroyed=function(){return!1};NH.prototype.destroy=function(){return Re.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),fe(this)};var r3=NH;var Cnr=S(C(),1);var bnr=S(C(),1);function FH(e,t){d(t)||(t=document.body),t=ui(t);let n=this,i=Re.observable(ms.fullscreen),o=Re.observable(ms.enabled),r=t.ownerDocument;this.isFullscreen=void 0,Re.defineProperty(this,"isFullscreen",{get:function(){return i()}}),this.isFullscreenEnabled=void 0,Re.defineProperty(this,"isFullscreenEnabled",{get:function(){return o()},set:function(s){o(s&&ms.enabled)}}),this.tooltip=void 0,Re.defineProperty(this,"tooltip",function(){return this.isFullscreenEnabled?i()?"Exit full screen":"Full screen":"Full screen unavailable"}),this._command=ni(function(){ms.fullscreen?ms.exitFullscreen():ms.requestFullscreen(n._fullscreenElement)},Re.getObservable(this,"isFullscreenEnabled")),this._fullscreenElement=g(ui(e),r.body),this._callback=function(){i(ms.fullscreen)},r.addEventListener(ms.changeEventName,this._callback)}Object.defineProperties(FH.prototype,{fullscreenElement:{get:function(){return this._fullscreenElement},set:function(e){this._fullscreenElement=e}},command:{get:function(){return this._command}}});FH.prototype.isDestroyed=function(){return!1};FH.prototype.destroy=function(){document.removeEventListener(ms.changeEventName,this._callback),fe(this)};var s3=FH;var X9t="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",w9t="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 AH(e,t){e=ui(e);let n=new s3(t,e);n._exitFullScreenPath=w9t,n._enterFullScreenPath=X9t;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),Re.applyBindings(n,i),this._container=e,this._viewModel=n,this._element=i}Object.defineProperties(AH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});AH.prototype.isDestroyed=function(){return!1};AH.prototype.destroy=function(){return this._viewModel.destroy(),Re.cleanNode(this._element),this._container.removeChild(this._element),fe(this)};var a3=AH;var vnr=S(C(),1);var Enr=S(C(),1);var rMe=1e3;function Ah(e){d(e.geocoderServices)?this._geocoderServices=e.geocoderServices:this._geocoderServices=[new hE({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 Se,this._suggestions=[],this._selectedSuggestion=void 0,this._showSuggestions=!0,this._handleArrowDown=aMe,this._handleArrowUp=sMe;let t=this;this._suggestionsVisible=Re.pureComputed(function(){let o=Re.getObservable(t,"_suggestions")().length>0,r=Re.getObservable(t,"_showSuggestions")();return o&&r}),this._searchCommand=ni(function(i){if(i=g(i,rx.SEARCH),t._focusTextbox=!1,d(t._selectedSuggestion))return t.activateSuggestion(t._selectedSuggestion),!1;if(t.hideSuggestions(),t.isSearchInProgress)A9t(t);else return N9t(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?sMe(t):r?aMe(t):a&&t._searchCommand(),!0},this.activateSuggestion=function(i){t.hideSuggestions(),t._searchText=i.displayName;let o=i.destination;dMe(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=g(e.autocomplete,!0),this.destinationFound=g(e.destinationFound,Ah.flyToDestination),this._focusTextbox=!1,Re.track(this,["_searchText","_isSearchInProgress","keepExpanded","_suggestions","_selectedSuggestion","_showSuggestions","_focusTextbox"]);let n=Re.getObservable(this,"_searchText");n.extend({rateLimit:{timeout:500}}),this._suggestionSubscription=n.subscribe(function(){Ah._updateSearchSuggestions(t)}),this.isSearchInProgress=void 0,Re.defineProperty(this,"isSearchInProgress",{get:function(){return this._isSearchInProgress}}),this.searchText=void 0,Re.defineProperty(this,"searchText",{get:function(){return this.isSearchInProgress?"Searching...":this._searchText},set:function(i){this._searchText=i}}),this.flightDuration=void 0,Re.defineProperty(this,"flightDuration",{get:function(){return this._flightDuration},set:function(i){this._flightDuration=i}})}Object.defineProperties(Ah.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}}});Ah.prototype.destroy=function(){this._suggestionSubscription.dispose()};function sMe(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],Ah._adjustSuggestionsScroll(e,n)}function aMe(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],Ah._adjustSuggestionsScroll(e,i)}function W9t(e,t){let n=d(t)?t.availability:void 0;return d(n)?h1(t,[e]).then(function(i){return e=i[0],e.height+=rMe,e}):(e.height+=rMe,Promise.resolve(e))}function P9t(e,t){let n=e._scene,i=n.ellipsoid,o=n.camera,r=n.terrainProvider,s=t,a;return t instanceof he?X.equalsEpsilon(t.south,t.north,X.EPSILON7)&&X.equalsEpsilon(t.east,t.west,X.EPSILON7)?t=he.center(t):a=LC(t,n):t=i.cartesianToCartographic(t),d(a)||(a=W9t(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:P.IDENTITY})})}async function v9t(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 N9t(e,t,n){let i=e._searchText;if(lMe(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 v9t(t[o],i,n),d(r)&&r.state==="fulfilled"&&r.value.length>0)break}if(e._wasGeocodeCancelled)return;e._isSearchInProgress=!1,Coe(e);let s=r.value;if(r.state==="fulfilled"&&d(s)&&s.length>0){e._searchText=s[0].displayName,e.destinationFound(e,s[0].destination);let a=cMe(e,bV.getCreditsFromResult(s[0]));d(a)||Soe(e,t[o].credit);return}e._searchText=`${i} (not found)`}function Soe(e,t){d(t)&&!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&(e._scene.frameState.creditDisplay.addStaticCredit(t),e._previousCredits.push(t))}function cMe(e,t){return d(t)&&t.forEach(n=>Soe(e,n)),t}function Coe(e){!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&e._previousCredits.forEach(t=>{e._scene.frameState.creditDisplay.removeStaticCredit(t)}),e._previousCredits.length=0}function F9t(e,t){let n=ui(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 A9t(e){e._isSearchInProgress&&(e._isSearchInProgress=!1,e._wasGeocodeCancelled=!0)}function lMe(e){return/^\s*$/.test(e)}function dMe(e){Re.getObservable(e,"_suggestions").removeAll()}async function D9t(e){if(!e.autoComplete)return;let t=e._searchText;if(dMe(e),Coe(e),!lMe(t))for(let n of e._geocoderServices){let i=await n.geocode(t,rx.AUTOCOMPLETE);if(e._suggestions=e._suggestions.concat(i),i.length>0){let o=!0;i.forEach(r=>{let s=bV.getCreditsFromResult(r);o=o&&!d(s),cMe(e,s)}),o&&Soe(e,n.credit)}if(e._suggestions.length>=5)return}}Ah.flyToDestination=P9t;Ah._updateSearchSuggestions=D9t;Ah._adjustSuggestionsScroll=F9t;Ah.prototype.isDestroyed=function(){return!1};Ah.prototype.destroy=function(){return Coe(this),fe(this)};var c3=Ah;var U9t="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",k9t="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 DH(e){let t=ui(e.container),n=new c3(e);n._startSearchPath=U9t,n._stopSearchPath=k9t;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),Re.applyBindings(n,i),Re.applyBindings(n,s),this._container=t,this._searchSuggestionsContainer=s,this._viewModel=n,this._form=i,this._onInputBegin=function(l){let u=l.target;typeof l.composedPath=="function"&&(u=l.composedPath()[0]),t.contains(u)||(n._focusTextbox=!1,n.hideSuggestions())},this._onInputEnd=function(l){n._focusTextbox=!0,n.showSuggestions()},yn.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(DH.prototype,{container:{get:function(){return this._container}},searchSuggestionsContainer:{get:function(){return this._searchSuggestionsContainer}},viewModel:{get:function(){return this._viewModel}}});DH.prototype.isDestroyed=function(){return!1};DH.prototype.destroy=function(){let e=this._container;return yn.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(),Re.cleanNode(this._form),Re.cleanNode(this._searchSuggestionsContainer),e.removeChild(this._form),e.removeChild(this._searchSuggestionsContainer),this._textBox.removeEventListener("focus",this._onTextBoxFocus,!1),fe(this)};var l3=DH;var Knr=S(C(),1);var Dnr=S(C(),1);function uMe(e,t){this._scene=e,this._duration=t;let n=this;this._command=ni(function(){n._scene.camera.flyHome(n._duration)}),this.tooltip="View Home",Re.track(this,["tooltip"])}Object.defineProperties(uMe.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 d3=uMe;function UH(e,t,n){e=ui(e);let i=new d3(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),Re.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties(UH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});UH.prototype.isDestroyed=function(){return!1};UH.prototype.destroy=function(){return Re.cleanNode(this._element),this._container.removeChild(this._element),fe(this)};var u3=UH;var iir=S(C(),1);var jnr=S(C(),1);function z9t(e,t){t.currentTarget.parentElement.parentElement.querySelector(`#${e.name}-expander`).classList.toggle("active"),t.currentTarget.textContent=t.currentTarget.textContent==="+"?"-":"+"}function hMe(e,t){Re.track(e);for(let n=0;n<e.sublayers.length;n++)hMe(e.sublayers[n],t)}function kH(e){return e.modelName==="FullModel"}function pMe(e){return e.modelName==="Overview"}function fMe(e){return pMe(e)||kH(e)}function mMe(e,t){if(fMe(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:Re.observable(!1),index:t.sublayers.length};return t.topLayers.push(n),t.sublayers.push(e),n}}function Y9t(e,t){if(fMe(e)){t.sublayers.forEach(i=>i.visibility=!1),t.sublayers[e.index].visibility=!0;let n=document.getElementById("bsl-wrapper");kH(e)?(t.currentLevel=t.selectedLevel,n.style.display="block"):(t.selectedLevel=t.currentLevel,t.currentLevel="All",n.style.display="none")}}async function B9t(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 O9t(e){let t=this;this.levels=[],this.viewModel={sublayers:[],levels:this.levels,currentLevel:Re.observable(),selectedLevel:"All",topLayers:[{name:"Select a layer to explore...",disable:Re.observable(!0),index:-1}],currentLayer:Re.observable(),expandClickHandler:z9t,setOptionDisable:function(i,o){Re.applyBindingsToNode(i,{disable:o.disable},o)},defaultLayer:void 0},this.viewModel.currentLayer.subscribe(function(i){Y9t(i,t.viewModel)});let n=e.sublayers;for(let i=0;i<n.length;i++){hMe(n[i],this.viewModel);let o=mMe(n[i],this.viewModel);d(o)&&(pMe(o)||!d(this.viewModel.defaultLayer)&&kH(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=mMe(i,this.viewModel),this.viewModel.currentLayer.subscribe(function(o){e.show=kH(o)})}else this.viewModel.topLayers.length===1&&(this.viewModel.topLayers[0].name="Building layers not found");return B9t(e,this.levels),this.viewModel.currentLevel.subscribe(function(i){i!=="All"?e.filterByAttributes([{name:"BldgLevel",values:[i]}]):e.filterByAttributes()}),this.viewModel}var m3=O9t;function K9t(e,t){let n=document.getElementById(e),i=document.createElement("div");i.classList.add("cesium-viewer-i3s-explorer"),i.innerHTML=`
|
|
19043
|
+
`);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};Rc.prototype._update=function(){let e=this._tileset;if(this.performance&&this._performanceDisplay.update(),d(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=e3(e,!1),this._pickStatisticsText=e3(e,!0),this._resourceCacheStatisticsText=oMe())};Rc.prototype.isDestroyed=function(){return!1};Rc.prototype.destroy=function(){this._eventHandler.destroy(),this._removePostRenderEvent();let e=this;return this._definedProperties.forEach(function(t){Re.getObservable(e,t).dispose()}),fe(this)};Rc.getStatistics=e3;var t3=Rc;function vH(e,t){e=ui(e);let n=document.createElement("div"),i=document.createElement("div");i.setAttribute("data-bind","visible: performance");let o=new t3(t,i);this._viewModel=o,this._container=e,this._element=n;let r=document.createElement("div");r.textContent="3D Tiles / M3D 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=qc.createSection,c=qc.createCheckbox,l=qc.createRangeInput,u=qc.createButton,m=a(s,"Tileset","tilesetVisible","toggleTileset"),f=a(s,"Display","displayVisible","toggleDisplay"),b=a(s,"Update","updateVisible","toggleUpdate"),p=a(s,"Logging","loggingVisible","toggleLogging"),x=a(s,"Tile Debug Labels","tileDebugLabelsVisible","toggleTileDebugLabels"),T=a(s,"Style","styleVisible","toggleStyle"),_=a(s,"Optimization","optimizationVisible","toggleOptimization"),L=document.createElement("div");L.className="field-group";let V=document.createElement("label");V.className="field-label",V.appendChild(document.createTextNode("Properties: "));let Z=document.createElement("div");Z.setAttribute("data-bind","text: properties"),L.appendChild(V),L.appendChild(Z),m.appendChild(L),m.appendChild(u("Pick Tileset","togglePickTileset","pickActive")),m.appendChild(u("Trim Tiles Cache","trimTilesCache")),m.appendChild(c("Enable Picking","picking")),f.appendChild(c("Colorize","colorize"));let G=f.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.",G.appendChild(I),f.appendChild(c("Bounding Volumes","showBoundingVolumes")),f.appendChild(c("Content Volumes","showContentBoundingVolumes")),f.appendChild(c("Request Volumes","showRequestVolumes")),f.appendChild(c("Point Cloud Shading","pointCloudShading"));let w=document.createElement("div");w.setAttribute("data-bind","visible: pointCloudShading"),w.appendChild(l("Geometric Error Scale","geometricErrorScale",0,2,.01)),w.appendChild(l("Maximum Attenuation","maximumAttenuation",0,32,1)),w.appendChild(l("Base Resolution","baseResolution",0,1,.01)),w.appendChild(c("Eye Dome Lighting (EDL)","eyeDomeLighting")),f.appendChild(w);let W=document.createElement("div");W.setAttribute("data-bind","visible: eyeDomeLighting"),W.appendChild(l("EDL Strength","eyeDomeLightingStrength",0,2,.1)),W.appendChild(l("EDL Radius","eyeDomeLightingRadius",0,4,.1)),w.appendChild(W),b.appendChild(c("Freeze Frame","freezeFrame")),b.appendChild(c("Dynamic Screen Space Error","dynamicScreenSpaceError"));let v=document.createElement("div");v.appendChild(l("Maximum Screen Space Error","maximumScreenSpaceError",0,128,1)),b.appendChild(v);let N=document.createElement("div");N.setAttribute("data-bind","visible: dynamicScreenSpaceError"),N.appendChild(l("Screen Space Error Density","dynamicScreenSpaceErrorDensitySliderValue",0,1,.005,"dynamicScreenSpaceErrorDensity")),N.appendChild(l("Screen Space Error Factor","dynamicScreenSpaceErrorFactor",1,32,.1)),b.appendChild(N),p.appendChild(c("Performance","performance")),p.appendChild(i),p.appendChild(c("Statistics","showStatistics"));let y=document.createElement("div");y.className="cesium-3dTilesInspector-statistics",y.setAttribute("data-bind","html: statisticsText, visible: showStatistics"),p.appendChild(y),p.appendChild(c("Pick Statistics","showPickStatistics"));let R=document.createElement("div");R.className="cesium-3dTilesInspector-statistics",R.setAttribute("data-bind","html: pickStatisticsText, visible: showPickStatistics"),p.appendChild(R),p.appendChild(c("Resource Cache Statistics","showResourceCacheStatistics"));let E=document.createElement("div");E.className="cesium-3dTilesInspector-statistics",E.setAttribute("data-bind","html: resourceCacheStatisticsText, visible: showResourceCacheStatistics"),p.appendChild(E);let M=document.createElement("div");T.appendChild(M),M.appendChild(document.createTextNode("Color Blend Mode: "));let F=document.createElement("select");F.setAttribute("data-bind",'options: colorBlendModes, optionsText: "text", optionsValue: "value", value: colorBlendMode'),M.appendChild(F);let A=document.createElement("textarea");A.setAttribute("data-bind","textInput: styleString, event: { keydown: styleEditorKeyPress }"),M.className="cesium-cesiumInspector-styleEditor",M.appendChild(A);let B=u("Compile (Ctrl+Enter)","compileStyle");M.appendChild(B);let U=document.createElement("div");U.className="cesium-cesiumInspector-error",U.setAttribute("data-bind","text: editorError"),M.appendChild(U),x.appendChild(c("Show Picked Only","showOnlyPickedTileDebugLabel")),x.appendChild(c("Geometric Error","showGeometricError")),x.appendChild(c("Rendering Statistics","showRenderingStatistics")),x.appendChild(c("Memory Usage (MB)","showMemoryUsage")),x.appendChild(c("Url","showUrl")),_.appendChild(c("Skip Tile LODs","skipLevelOfDetail"));let k=document.createElement("div");k.appendChild(l("Skip SSE Factor","skipScreenSpaceErrorFactor",1,50,1)),_.appendChild(k);let D=document.createElement("div");D.appendChild(l("SSE before skipping LOD","baseScreenSpaceError",0,4096,1)),_.appendChild(D);let O=document.createElement("div");O.appendChild(l("Min. levels to skip","skipLevels",0,10,1)),_.appendChild(O),_.appendChild(c("Load only tiles that meet the max SSE.","immediatelyLoadDesiredLevelOfDetail")),_.appendChild(c("Load siblings of visible tiles","loadSiblings")),Re.applyBindings(o,n)}Object.defineProperties(vH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});vH.prototype.isDestroyed=function(){return!1};vH.prototype.destroy=function(){return Re.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),fe(this)};var n3=vH;var dnr=S(C(),1);var nnr=S(C(),1);function E9t(e){let t;if(d(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> ${n[i]} in frustum ${r}`}t+=`<br>Total: ${e.totalCommands}`}return t}function _oe(e,t,n){let i=Math.min(n,t);return i=Math.max(i,e),i}var I9t=new Un,M9t=new h;function i3(e,t){let n=this,i=e.canvas,o=new wu(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="",Re.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=ni(function(){n.dropDownVisible=!n.dropDownVisible}),this._toggleGeneral=ni(function(){n.generalVisible=!n.generalVisible}),this._togglePrimitives=ni(function(){n.primitivesVisible=!n.primitivesVisible}),this._toggleTerrain=ni(function(){n.terrainVisible=!n.terrainVisible}),this._frustumsSubscription=Re.getObservable(this,"frustums").subscribe(function(l){n._scene.debugShowFrustums=l,n._scene.requestRender()}),this._frustumPlanesSubscription=Re.getObservable(this,"frustumPlanes").subscribe(function(l){n._scene.debugShowFrustumPlanes=l,n._scene.requestRender()}),this._performanceSubscription=Re.getObservable(this,"performance").subscribe(function(l){l?n._performanceDisplay=new bg({container:n._performanceContainer}):n._performanceContainer.innerHTML=""}),this._showPrimitiveBoundingSphere=ni(function(){return n._primitive.debugShowBoundingVolume=n.primitiveBoundingSphere,n._scene.requestRender(),!0}),this._primitiveBoundingSphereSubscription=Re.getObservable(this,"primitiveBoundingSphere").subscribe(function(){n._showPrimitiveBoundingSphere()}),this._showPrimitiveReferenceFrame=ni(function(){if(n.primitiveReferenceFrame){let l=n._primitive.modelMatrix;n._modelMatrixPrimitive=new yF({modelMatrix:l}),n._scene.primitives.add(n._modelMatrixPrimitive)}else d(n._modelMatrixPrimitive)&&(n._scene.primitives.remove(n._modelMatrixPrimitive),n._modelMatrixPrimitive=void 0);return n._scene.requestRender(),!0}),this._primitiveReferenceFrameSubscription=Re.getObservable(this,"primitiveReferenceFrame").subscribe(function(){n._showPrimitiveReferenceFrame()}),this._doFilterPrimitive=ni(function(){return n.filterPrimitive?n._scene.debugCommandFilter=function(l){return d(n._modelMatrixPrimitive)&&l.owner===n._modelMatrixPrimitive._primitive?!0:d(n._primitive)?l.owner===n._primitive||l.owner===n._primitive._billboardCollection||l.owner.primitive===n._primitive:!1}:n._scene.debugCommandFilter=void 0,!0}),this._filterPrimitiveSubscription=Re.getObservable(this,"filterPrimitive").subscribe(function(){n._doFilterPrimitive(),n._scene.requestRender()}),this._wireframeSubscription=Re.getObservable(this,"wireframe").subscribe(function(l){r._surface.tileProvider._debug.wireframe=l,n._scene.requestRender()}),this._depthFrustumSubscription=Re.getObservable(this,"depthFrustum").subscribe(function(l){n._scene.debugShowDepthFrustum=l,n._scene.requestRender()}),this._incrementDepthFrustum=ni(function(){let l=n.depthFrustum+1;return n.depthFrustum=_oe(1,n._numberOfFrustums,l),n._scene.requestRender(),!0}),this._decrementDepthFrustum=ni(function(){let l=n.depthFrustum-1;return n.depthFrustum=_oe(1,n._numberOfFrustums,l),n._scene.requestRender(),!0}),this._suspendUpdatesSubscription=Re.getObservable(this,"suspendUpdates").subscribe(function(l){r._surface._debug.suspendLodUpdate=l,l||(n.filterTile=!1)});let s;this._showTileCoordinates=ni(function(){return n.tileCoordinates&&!d(s)?s=e.imageryLayers.addImageryProvider(new RD({tilingScheme:e.terrainProvider.tilingScheme})):!n.tileCoordinates&&d(s)&&(e.imageryLayers.remove(s),s=void 0),!0}),this._tileCoordinatesSubscription=Re.getObservable(this,"tileCoordinates").subscribe(function(){n._showTileCoordinates(),n._scene.requestRender()}),this._tileBoundingSphereSubscription=Re.getObservable(this,"tileBoundingSphere").subscribe(function(){n._showTileBoundingSphere(),n._scene.requestRender()}),this._showTileBoundingSphere=ni(function(){return n.tileBoundingSphere?r._surface.tileProvider._debug.boundingSphereTile=n._tile:r._surface.tileProvider._debug.boundingSphereTile=void 0,n._scene.requestRender(),!0}),this._doFilterTile=ni(function(){return n.filterTile?(n.suspendUpdates=!0,r._surface._tilesToRender=[],d(n._tile)&&n._tile.renderable&&r._surface._tilesToRender.push(n._tile)):n.suspendUpdates=!1,!0}),this._filterTileSubscription=Re.getObservable(this,"filterTile").subscribe(function(){n.doFilterTile(),n._scene.requestRender()});function a(l){let u=n._scene.pick({x:l.position.x,y:l.position.y});d(u)&&(n.primitive=d(u.collection)?u.collection:u.primitive),n._scene.requestRender(),n.pickPrimitiveActive=!1}this._pickPrimitive=ni(function(){n.pickPrimitiveActive=!n.pickPrimitiveActive}),this._pickPrimitiveActiveSubscription=Re.getObservable(this,"pickPrimitiveActive").subscribe(function(l){l?o.setInputAction(a,qn.LEFT_CLICK):o.removeInputAction(qn.LEFT_CLICK)});function c(l){let u,m=r.ellipsoid,f=n._scene.camera.getPickRay(l.position,I9t),b=r.pick(f,n._scene,M9t);if(d(b)){let p=m.cartesianToCartographic(b),x=r._surface.tileProvider._tilesToRenderByTextureCount;for(let T=0;!u&&T<x.length;++T){let _=x[T];if(d(_))for(let L=0;!u&&L<_.length;++L){let V=_[L];he.contains(V.rectangle,p)&&(u=V)}}}n.tile=u,n.pickTileActive=!1}this._pickTile=ni(function(){n.pickTileActive=!n.pickTileActive}),this._pickTileActiveSubscription=Re.getObservable(this,"pickTileActive").subscribe(function(l){l?o.setInputAction(c,qn.LEFT_CLICK):o.removeInputAction(qn.LEFT_CLICK)}),this._removePostRenderEvent=e.postRender.addEventListener(function(){n._update()})}Object.defineProperties(i3.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 ni(function(){e.tile=e.tile.parent})}},selectNW:{get:function(){let e=this;return ni(function(){e.tile=e.tile.northwestChild})}},selectNE:{get:function(){let e=this;return ni(function(){e.tile=e.tile.northeastChild})}},selectSW:{get:function(){let e=this;return ni(function(){e.tile=e.tile.southwestChild})}},selectSE:{get:function(){let e=this;return ni(function(){e.tile=e.tile.southeastChild})}},primitive:{get:function(){return this._primitive},set:function(e){let t=this._primitive;e!==t&&(this.hasPickedPrimitive=!0,d(t)&&(t.debugShowBoundingVolume=!1),this._scene.debugCommandFilter=void 0,d(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(d(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;d(n)&&d(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}}});i3.prototype._update=function(){this.frustums&&(this.frustumStatisticText=E9t(this._scene.debugFrustumStatistics));let e=this._scene.numberOfFrustums;this._numberOfFrustums=e,this.depthFrustum=_oe(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}`};i3.prototype.isDestroyed=function(){return!1};i3.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(),fe(this)};var o3=i3;function NH(e,t){e=ui(e);let n=document.createElement("div"),i=new o3(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=qc.createSection,c=qc.createCheckbox,l=a(s,"General","generalVisible","toggleGeneral"),u=c("Show Frustums","frustums"),m=document.createElement("div");m.className="cesium-cesiumInspector-frustumStatistics",m.setAttribute("data-bind","visible: frustums, html: frustumStatisticText"),u.appendChild(m),l.appendChild(u),l.appendChild(c("Show Frustum Planes","frustumPlanes")),l.appendChild(c("Performance Display","performance")),n.className="cesium-cesiumInspector-performanceDisplay",l.appendChild(n);let f=document.createElement("div");f.className="cesium-cesiumInspector-shaderCache",f.setAttribute("data-bind","html: shaderCacheText"),l.appendChild(f);let b=document.createElement("div");l.appendChild(b);let p=document.createElement("span");p.setAttribute("data-bind",'html: " Frustum:"'),b.appendChild(p);let x=document.createElement("span");x.setAttribute("data-bind","text: depthFrustumText"),b.appendChild(x);let T=document.createElement("input");T.type="button",T.value="-",T.className="cesium-cesiumInspector-pickButton",T.setAttribute("data-bind","click: decrementDepthFrustum"),b.appendChild(T);let _=document.createElement("input");_.type="button",_.value="+",_.className="cesium-cesiumInspector-pickButton",_.setAttribute("data-bind","click: incrementDepthFrustum"),b.appendChild(_);let L=a(s,"Primitives","primitivesVisible","togglePrimitives"),V=document.createElement("div");V.className="cesium-cesiumInspector-pickSection",L.appendChild(V);let Z=document.createElement("input");Z.type="button",Z.value="Pick a primitive",Z.className="cesium-cesiumInspector-pickButton",Z.setAttribute("data-bind",'css: {"cesium-cesiumInspector-pickButtonHighlight" : pickPrimitiveActive}, click: pickPrimitive');let G=document.createElement("div");G.className="cesium-cesiumInspector-center",G.appendChild(Z),V.appendChild(G),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 W=document.createElement("input");W.type="button",W.value="Pick a tile",W.className="cesium-cesiumInspector-pickButton",W.setAttribute("data-bind",'css: {"cesium-cesiumInspector-pickButtonHighlight" : pickTileActive}, click: pickTile'),G=document.createElement("div"),G.appendChild(W),G.className="cesium-cesiumInspector-center",w.appendChild(G);let v=document.createElement("div");w.appendChild(v);let N=document.createElement("input");N.type="button",N.value="Parent",N.className="cesium-cesiumInspector-pickButton",N.setAttribute("data-bind","click: selectParent");let y=document.createElement("input");y.type="button",y.value="NW",y.className="cesium-cesiumInspector-pickButton",y.setAttribute("data-bind","click: selectNW");let R=document.createElement("input");R.type="button",R.value="NE",R.className="cesium-cesiumInspector-pickButton",R.setAttribute("data-bind","click: selectNE");let E=document.createElement("input");E.type="button",E.value="SW",E.className="cesium-cesiumInspector-pickButton",E.setAttribute("data-bind","click: selectSW");let M=document.createElement("input");M.type="button",M.value="SE",M.className="cesium-cesiumInspector-pickButton",M.setAttribute("data-bind","click: selectSE");let F=document.createElement("div");F.className="cesium-cesiumInspector-tileText",v.className="cesium-cesiumInspector-frustumStatistics",v.appendChild(F),v.setAttribute("data-bind","visible: hasPickedTile"),F.setAttribute("data-bind","html: tileText");let A=document.createElement("div");A.className="cesium-cesiumInspector-relativeText",A.textContent="Select relative:",v.appendChild(A);let B=document.createElement("table"),U=document.createElement("tr"),k=document.createElement("tr"),D=document.createElement("td");D.appendChild(N);let O=document.createElement("td");O.appendChild(y);let K=document.createElement("td");K.appendChild(R),U.appendChild(D),U.appendChild(O),U.appendChild(K);let j=document.createElement("td"),J=document.createElement("td");J.appendChild(E);let ne=document.createElement("td");ne.appendChild(M),k.appendChild(j),k.appendChild(J),k.appendChild(ne),B.appendChild(U),B.appendChild(k),v.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")),Re.applyBindings(i,this._element)}Object.defineProperties(NH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});NH.prototype.isDestroyed=function(){return!1};NH.prototype.destroy=function(){return Re.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),fe(this)};var r3=NH;var Cnr=S(C(),1);var bnr=S(C(),1);function FH(e,t){d(t)||(t=document.body),t=ui(t);let n=this,i=Re.observable(ms.fullscreen),o=Re.observable(ms.enabled),r=t.ownerDocument;this.isFullscreen=void 0,Re.defineProperty(this,"isFullscreen",{get:function(){return i()}}),this.isFullscreenEnabled=void 0,Re.defineProperty(this,"isFullscreenEnabled",{get:function(){return o()},set:function(s){o(s&&ms.enabled)}}),this.tooltip=void 0,Re.defineProperty(this,"tooltip",function(){return this.isFullscreenEnabled?i()?"Exit full screen":"Full screen":"Full screen unavailable"}),this._command=ni(function(){ms.fullscreen?ms.exitFullscreen():ms.requestFullscreen(n._fullscreenElement)},Re.getObservable(this,"isFullscreenEnabled")),this._fullscreenElement=g(ui(e),r.body),this._callback=function(){i(ms.fullscreen)},r.addEventListener(ms.changeEventName,this._callback)}Object.defineProperties(FH.prototype,{fullscreenElement:{get:function(){return this._fullscreenElement},set:function(e){this._fullscreenElement=e}},command:{get:function(){return this._command}}});FH.prototype.isDestroyed=function(){return!1};FH.prototype.destroy=function(){document.removeEventListener(ms.changeEventName,this._callback),fe(this)};var s3=FH;var X9t="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",w9t="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 AH(e,t){e=ui(e);let n=new s3(t,e);n._exitFullScreenPath=w9t,n._enterFullScreenPath=X9t;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),Re.applyBindings(n,i),this._container=e,this._viewModel=n,this._element=i}Object.defineProperties(AH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});AH.prototype.isDestroyed=function(){return!1};AH.prototype.destroy=function(){return this._viewModel.destroy(),Re.cleanNode(this._element),this._container.removeChild(this._element),fe(this)};var a3=AH;var vnr=S(C(),1);var Enr=S(C(),1);var rMe=1e3;function Ah(e){d(e.geocoderServices)?this._geocoderServices=e.geocoderServices:this._geocoderServices=[new hE({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 Se,this._suggestions=[],this._selectedSuggestion=void 0,this._showSuggestions=!0,this._handleArrowDown=aMe,this._handleArrowUp=sMe;let t=this;this._suggestionsVisible=Re.pureComputed(function(){let o=Re.getObservable(t,"_suggestions")().length>0,r=Re.getObservable(t,"_showSuggestions")();return o&&r}),this._searchCommand=ni(function(i){if(i=g(i,rx.SEARCH),t._focusTextbox=!1,d(t._selectedSuggestion))return t.activateSuggestion(t._selectedSuggestion),!1;if(t.hideSuggestions(),t.isSearchInProgress)A9t(t);else return N9t(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?sMe(t):r?aMe(t):a&&t._searchCommand(),!0},this.activateSuggestion=function(i){t.hideSuggestions(),t._searchText=i.displayName;let o=i.destination;dMe(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=g(e.autocomplete,!0),this.destinationFound=g(e.destinationFound,Ah.flyToDestination),this._focusTextbox=!1,Re.track(this,["_searchText","_isSearchInProgress","keepExpanded","_suggestions","_selectedSuggestion","_showSuggestions","_focusTextbox"]);let n=Re.getObservable(this,"_searchText");n.extend({rateLimit:{timeout:500}}),this._suggestionSubscription=n.subscribe(function(){Ah._updateSearchSuggestions(t)}),this.isSearchInProgress=void 0,Re.defineProperty(this,"isSearchInProgress",{get:function(){return this._isSearchInProgress}}),this.searchText=void 0,Re.defineProperty(this,"searchText",{get:function(){return this.isSearchInProgress?"Searching...":this._searchText},set:function(i){this._searchText=i}}),this.flightDuration=void 0,Re.defineProperty(this,"flightDuration",{get:function(){return this._flightDuration},set:function(i){this._flightDuration=i}})}Object.defineProperties(Ah.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}}});Ah.prototype.destroy=function(){this._suggestionSubscription.dispose()};function sMe(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],Ah._adjustSuggestionsScroll(e,n)}function aMe(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],Ah._adjustSuggestionsScroll(e,i)}function W9t(e,t){let n=d(t)?t.availability:void 0;return d(n)?h1(t,[e]).then(function(i){return e=i[0],e.height+=rMe,e}):(e.height+=rMe,Promise.resolve(e))}function P9t(e,t){let n=e._scene,i=n.ellipsoid,o=n.camera,r=n.terrainProvider,s=t,a;return t instanceof he?X.equalsEpsilon(t.south,t.north,X.EPSILON7)&&X.equalsEpsilon(t.east,t.west,X.EPSILON7)?t=he.center(t):a=LC(t,n):t=i.cartesianToCartographic(t),d(a)||(a=W9t(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:P.IDENTITY})})}async function v9t(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 N9t(e,t,n){let i=e._searchText;if(lMe(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 v9t(t[o],i,n),d(r)&&r.state==="fulfilled"&&r.value.length>0)break}if(e._wasGeocodeCancelled)return;e._isSearchInProgress=!1,Coe(e);let s=r.value;if(r.state==="fulfilled"&&d(s)&&s.length>0){e._searchText=s[0].displayName,e.destinationFound(e,s[0].destination);let a=cMe(e,bV.getCreditsFromResult(s[0]));d(a)||Soe(e,t[o].credit);return}e._searchText=`${i} (not found)`}function Soe(e,t){d(t)&&!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&(e._scene.frameState.creditDisplay.addStaticCredit(t),e._previousCredits.push(t))}function cMe(e,t){return d(t)&&t.forEach(n=>Soe(e,n)),t}function Coe(e){!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&e._previousCredits.forEach(t=>{e._scene.frameState.creditDisplay.removeStaticCredit(t)}),e._previousCredits.length=0}function F9t(e,t){let n=ui(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 A9t(e){e._isSearchInProgress&&(e._isSearchInProgress=!1,e._wasGeocodeCancelled=!0)}function lMe(e){return/^\s*$/.test(e)}function dMe(e){Re.getObservable(e,"_suggestions").removeAll()}async function D9t(e){if(!e.autoComplete)return;let t=e._searchText;if(dMe(e),Coe(e),!lMe(t))for(let n of e._geocoderServices){let i=await n.geocode(t,rx.AUTOCOMPLETE);if(e._suggestions=e._suggestions.concat(i),i.length>0){let o=!0;i.forEach(r=>{let s=bV.getCreditsFromResult(r);o=o&&!d(s),cMe(e,s)}),o&&Soe(e,n.credit)}if(e._suggestions.length>=5)return}}Ah.flyToDestination=P9t;Ah._updateSearchSuggestions=D9t;Ah._adjustSuggestionsScroll=F9t;Ah.prototype.isDestroyed=function(){return!1};Ah.prototype.destroy=function(){return Coe(this),fe(this)};var c3=Ah;var U9t="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",k9t="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 DH(e){let t=ui(e.container),n=new c3(e);n._startSearchPath=U9t,n._stopSearchPath=k9t;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),Re.applyBindings(n,i),Re.applyBindings(n,s),this._container=t,this._searchSuggestionsContainer=s,this._viewModel=n,this._form=i,this._onInputBegin=function(l){let u=l.target;typeof l.composedPath=="function"&&(u=l.composedPath()[0]),t.contains(u)||(n._focusTextbox=!1,n.hideSuggestions())},this._onInputEnd=function(l){n._focusTextbox=!0,n.showSuggestions()},yn.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(DH.prototype,{container:{get:function(){return this._container}},searchSuggestionsContainer:{get:function(){return this._searchSuggestionsContainer}},viewModel:{get:function(){return this._viewModel}}});DH.prototype.isDestroyed=function(){return!1};DH.prototype.destroy=function(){let e=this._container;return yn.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(),Re.cleanNode(this._form),Re.cleanNode(this._searchSuggestionsContainer),e.removeChild(this._form),e.removeChild(this._searchSuggestionsContainer),this._textBox.removeEventListener("focus",this._onTextBoxFocus,!1),fe(this)};var l3=DH;var Knr=S(C(),1);var Dnr=S(C(),1);function uMe(e,t){this._scene=e,this._duration=t;let n=this;this._command=ni(function(){n._scene.camera.flyHome(n._duration)}),this.tooltip="View Home",Re.track(this,["tooltip"])}Object.defineProperties(uMe.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 d3=uMe;function UH(e,t,n){e=ui(e);let i=new d3(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),Re.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties(UH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});UH.prototype.isDestroyed=function(){return!1};UH.prototype.destroy=function(){return Re.cleanNode(this._element),this._container.removeChild(this._element),fe(this)};var u3=UH;var iir=S(C(),1);var jnr=S(C(),1);function z9t(e,t){t.currentTarget.parentElement.parentElement.querySelector(`#${e.name}-expander`).classList.toggle("active"),t.currentTarget.textContent=t.currentTarget.textContent==="+"?"-":"+"}function hMe(e,t){Re.track(e);for(let n=0;n<e.sublayers.length;n++)hMe(e.sublayers[n],t)}function kH(e){return e.modelName==="FullModel"}function pMe(e){return e.modelName==="Overview"}function fMe(e){return pMe(e)||kH(e)}function mMe(e,t){if(fMe(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:Re.observable(!1),index:t.sublayers.length};return t.topLayers.push(n),t.sublayers.push(e),n}}function Y9t(e,t){if(fMe(e)){t.sublayers.forEach(i=>i.visibility=!1),t.sublayers[e.index].visibility=!0;let n=document.getElementById("bsl-wrapper");kH(e)?(t.currentLevel=t.selectedLevel,n.style.display="block"):(t.selectedLevel=t.currentLevel,t.currentLevel="All",n.style.display="none")}}async function B9t(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 O9t(e){let t=this;this.levels=[],this.viewModel={sublayers:[],levels:this.levels,currentLevel:Re.observable(),selectedLevel:"All",topLayers:[{name:"Select a layer to explore...",disable:Re.observable(!0),index:-1}],currentLayer:Re.observable(),expandClickHandler:z9t,setOptionDisable:function(i,o){Re.applyBindingsToNode(i,{disable:o.disable},o)},defaultLayer:void 0},this.viewModel.currentLayer.subscribe(function(i){Y9t(i,t.viewModel)});let n=e.sublayers;for(let i=0;i<n.length;i++){hMe(n[i],this.viewModel);let o=mMe(n[i],this.viewModel);d(o)&&(pMe(o)||!d(this.viewModel.defaultLayer)&&kH(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=mMe(i,this.viewModel),this.viewModel.currentLayer.subscribe(function(o){e.show=kH(o)})}else this.viewModel.topLayers.length===1&&(this.viewModel.topLayers[0].name="Building layers not found");return B9t(e,this.levels),this.viewModel.currentLevel.subscribe(function(i){i!=="All"?e.filterByAttributes([{name:"BldgLevel",values:[i]}]):e.filterByAttributes()}),this.viewModel}var m3=O9t;function K9t(e,t){let n=document.getElementById(e),i=document.createElement("div");i.classList.add("cesium-viewer-i3s-explorer"),i.innerHTML=`
|
|
19044
19044
|
<h3>Building explorer</h3>
|
|
19045
19045
|
<select
|
|
19046
19046
|
data-bind="options: topLayers, optionsText: 'name', optionsAfterRender: setOptionDisable, value: currentLayer"
|
|
@@ -19082,8 +19082,8 @@ http://www.naturalearthdata.com/`,category:"Cesium ion",creationFunction:functio
|
|
|
19082
19082
|
</li>
|
|
19083
19083
|
</ul>
|
|
19084
19084
|
</ul>
|
|
19085
|
-
</div>`,n.appendChild(i);let o=new m3(t);Re.track(o),Re.applyBindings(o,n),d(o.defaultLayer)&&(o.currentLayer=o.defaultLayer)}var Loe=K9t;var pir=S(C(),1);var air=S(C(),1);var H9t="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",J9t="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 Voe(){this._cameraClicked=new Se,this._closeClicked=new Se,this.maxHeight=500,this.enableCamera=!1,this.isCameraTracking=!1,this.showInfo=!1,this.titleText="",this.description="",Re.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,Re.defineProperty(this,"cameraIconPath",{get:function(){return!this.enableCamera||this.isCameraTracking?J9t:H9t}}),Re.defineProperty(this,"_bodyless",{get:function(){return!d(this.description)||this.description.length===0}})}Voe.prototype.maxHeightOffset=function(e){return`${this.maxHeight-e}px`};Object.defineProperties(Voe.prototype,{cameraClicked:{get:function(){return this._cameraClicked}},closeClicked:{get:function(){return this._closeClicked}}});var h3=Voe;function zH(e){e=ui(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="×",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 h3;Re.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,l=c.createElement("link");l.href=Sn("Widgets/InfoBox/InfoBoxDescription.css"),l.rel="stylesheet",l.type="text/css";let u=c.createElement("div");u.className="cesium-infoBox-description",c.head.appendChild(l),c.body.appendChild(u),a._descriptionSubscription=Zc(s,"description",function(m){r.style.height="5px",u.innerHTML=m;let f=null,b=u.firstElementChild;if(b!==null&&u.childNodes.length===1){let x=window.getComputedStyle(b);if(x!==null){let T=x["background-color"],_=z.fromCssColorString(T);d(_)&&_.alpha!==0&&(f=x["background-color"])}}t.style["background-color"]=f;let p=u.getBoundingClientRect().height;r.style.height=`${p}px`})}),r.setAttribute("src","about:blank")}Object.defineProperties(zH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}},frame:{get:function(){return this._frame}}});zH.prototype.isDestroyed=function(){return!1};zH.prototype.destroy=function(){let e=this._container;return Re.cleanNode(this._element),e.removeChild(this._element),d(this._descriptionSubscription)&&this._descriptionSubscription.dispose(),fe(this)};var p3=zH;var Vir=S(C(),1);var gir=S(C(),1);function bMe(){this.showInstructions=!1;let e=this;this._command=ni(function(){e.showInstructions=!e.showInstructions}),this._showClick=ni(function(){e._touch=!1}),this._showTouch=ni(function(){e._touch=!0}),this._touch=!1,this.tooltip="Navigation Instructions",Re.track(this,["tooltip","showInstructions","_touch"])}Object.defineProperties(bMe.prototype,{command:{get:function(){return this._command}},showClick:{get:function(){return this._showClick}},showTouch:{get:function(){return this._showTouch}}});var f3=bMe;function YH(e){let t=ui(e.container),n=new f3,i=g(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=Sn("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 l=document.createElement("button");l.type="button",l.className="cesium-navigation-button cesium-navigation-button-right",l.setAttribute("data-bind",'click: showTouch, css: {"cesium-navigation-button-selected": _touch, "cesium-navigation-button-unselected": !_touch}');let u=document.createElement("img");u.src=Sn("Widgets/Images/NavigationHelp/Touch.svg"),u.className="cesium-navigation-button-icon",u.style.width="25px",u.style.height="25px",l.appendChild(u),l.appendChild(document.createTextNode("Touch")),s.appendChild(a),s.appendChild(l);let m=document.createElement("div");m.className="cesium-click-navigation-help cesium-navigation-help-instructions",m.setAttribute("data-bind",'css: { "cesium-click-navigation-help-visible" : !_touch}'),m.innerHTML=` <table> <tr> <td><img src="${Sn("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="${Sn("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="${Sn("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(m);let f=document.createElement("div");f.className="cesium-touch-navigation-help cesium-navigation-help-instructions",f.setAttribute("data-bind",'css: { "cesium-touch-navigation-help-visible" : _touch}'),f.innerHTML=` <table> <tr> <td><img src="${Sn("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="${Sn("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="${Sn("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="${Sn("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(f),Re.applyBindings(n,o),this._container=t,this._viewModel=n,this._wrapper=o,this._closeInstructions=function(b){o.contains(b.target)||(n.showInstructions=!1)},yn.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeInstructions,!0):(document.addEventListener("mousedown",this._closeInstructions,!0),document.addEventListener("touchstart",this._closeInstructions,!0))}Object.defineProperties(YH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});YH.prototype.isDestroyed=function(){return!1};YH.prototype.destroy=function(){return yn.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeInstructions,!0):(document.removeEventListener("mousedown",this._closeInstructions,!0),document.removeEventListener("touchstart",this._closeInstructions,!0)),Re.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),fe(this)};var b3=YH;var Air=S(C(),1);var Xir=S(C(),1);function Zoe(e){this._scene=e.scene,this.lowFrameRateMessage=g(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,Re.track(this,["lowFrameRateMessage","lowFrameRateMessageDismissed","showingLowFrameRateMessage"]);let t=this;this._dismissMessage=ni(function(){t.showingLowFrameRateMessage=!1,t.lowFrameRateMessageDismissed=!0});let n=GF.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(Zoe.prototype,{scene:{get:function(){return this._scene}},dismissMessage:{get:function(){return this._dismissMessage}}});Zoe.prototype.destroy=function(){return this._unsubscribeLowFrameRate(),this._unsubscribeNominalFrameRate(),fe(this)};var y3=Zoe;function BH(e){let t=ui(e.container),n=new y3(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="×",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),Re.applyBindings(n,i),this._container=t,this._viewModel=n,this._element=i}Object.defineProperties(BH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});BH.prototype.isDestroyed=function(){return!1};BH.prototype.destroy=function(){return this._viewModel.destroy(),Re.cleanNode(this._element),this._container.removeChild(this._element),fe(this)};var g3=BH;var qir=S(C(),1);var Bir=S(C(),1);function OH(e){this._scene=e,this._orthographic=e.camera.frustum instanceof En,this._flightInProgress=!1,this.dropDownVisible=!1,this.tooltipPerspective="Perspective Projection",this.tooltipOrthographic="Orthographic Projection",this.selectedTooltip=void 0,this.sceneMode=e.mode,Re.track(this,["_orthographic","_flightInProgress","sceneMode","dropDownVisible","tooltipPerspective","tooltipOrthographic"]);let t=this;Re.defineProperty(this,"selectedTooltip",function(){return t._orthographic?t.tooltipOrthographic:t.tooltipPerspective}),this._toggleDropDown=ni(function(){t.sceneMode===ae.SCENE2D||t._flightInProgress||(t.dropDownVisible=!t.dropDownVisible)}),this._eventHelper=new ws,this._eventHelper.add(e.morphComplete,function(n,i,o,r){t.sceneMode=o,t._orthographic=o===ae.SCENE2D||t._scene.camera.frustum instanceof En}),this._eventHelper.add(e.preRender,function(){t._flightInProgress=d(e.camera._currentFlight)}),this._switchToPerspective=ni(function(){t.sceneMode!==ae.SCENE2D&&(t._scene.camera.switchToPerspectiveFrustum(),t._orthographic=!1,t.dropDownVisible=!1)}),this._switchToOrthographic=ni(function(){t.sceneMode!==ae.SCENE2D&&(t._scene.camera.switchToOrthographicFrustum(),t._orthographic=!0,t.dropDownVisible=!1)}),this._sceneMode=ae}Object.defineProperties(OH.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}}});OH.prototype.isDestroyed=function(){return!1};OH.prototype.destroy=function(){this._eventHelper.removeAll(),fe(this)};var x3=OH;var Q9t="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",j9t="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 KH(e,t){e=ui(e);let n=new x3(t);n._perspectivePath=Q9t,n._orthographicPath=j9t;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),Re.applyBindings(n,i),this._viewModel=n,this._container=e,this._wrapper=i,this._closeDropDown=function(a){i.contains(a.target)||(n.dropDownVisible=!1)},yn.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(KH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});KH.prototype.isDestroyed=function(){return!1};KH.prototype.destroy=function(){return this._viewModel.destroy(),yn.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Re.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),fe(this)};var T3=KH;var mor=S(C(),1);var ror=S(C(),1);function HH(e,t){this._scene=e;let n=this,i=function(o,r,s,a){n.sceneMode=s,n.dropDownVisible=!1};this._eventHelper=new ws,this._eventHelper.add(e.morphStart,i),this._duration=g(t,2),this.sceneMode=e.mode,this.dropDownVisible=!1,this.tooltip2D="2D",this.tooltip3D="3D",this.tooltipColumbusView="Columbus View",Re.track(this,["sceneMode","dropDownVisible","tooltip2D","tooltip3D","tooltipColumbusView"]),this.selectedTooltip=void 0,Re.defineProperty(this,"selectedTooltip",function(){let o=n.sceneMode;return o===ae.SCENE2D?n.tooltip2D:o===ae.SCENE3D?n.tooltip3D:n.tooltipColumbusView}),this._toggleDropDown=ni(function(){n.dropDownVisible=!n.dropDownVisible}),this._morphTo2D=ni(function(){e.morphTo2D(n._duration)}),this._morphTo3D=ni(function(){e.morphTo3D(n._duration)}),this._morphToColumbusView=ni(function(){e.morphToColumbusView(n._duration)}),this._sceneMode=ae}Object.defineProperties(HH.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}}});HH.prototype.isDestroyed=function(){return!1};HH.prototype.destroy=function(){this._eventHelper.removeAll(),fe(this)};var _3=HH;var q9t="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",$9t="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",e5t="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 JH(e,t,n){e=ui(e);let i=new _3(t,n);i._globePath=q9t,i._flatMapPath=$9t,i._columbusViewPath=e5t;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),Re.applyBindings(i,o),this._viewModel=i,this._container=e,this._wrapper=o,this._closeDropDown=function(l){o.contains(l.target)||(i.dropDownVisible=!1)},yn.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(JH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});JH.prototype.isDestroyed=function(){return!1};JH.prototype.destroy=function(){return this._viewModel.destroy(),yn.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Re.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),fe(this)};var S3=JH;var Vor=S(C(),1);var gor=S(C(),1);var t5t=new Y,QH="-1000px";function C3(e,t,n){this._scene=e,this._screenPositionX=QH,this._screenPositionY=QH,this._tweens=e.tweens,this._container=g(n,document.body),this._selectionIndicatorElement=t,this._scale=1,this.position=void 0,this.showSelection=!1,Re.track(this,["position","_screenPositionX","_screenPositionY","_scale","showSelection"]),this.isVisible=void 0,Re.defineProperty(this,"isVisible",{get:function(){return this.showSelection&&d(this.position)}}),Re.defineProperty(this,"_transform",{get:function(){return`scale(${this._scale})`}}),this.computeScreenSpacePosition=function(i,o){return go.worldToWindowCoordinates(e,i,o)}}C3.prototype.update=function(){if(this.showSelection&&d(this.position)){let e=this.computeScreenSpacePosition(this.position,t5t);if(!d(e))this._screenPositionX=QH,this._screenPositionY=QH;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`}}};C3.prototype.animateAppear=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:2,stopValue:1,duration:.8,easingFunction:Xs.EXPONENTIAL_OUT})};C3.prototype.animateDepart=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:this._scale,stopValue:1.5,duration:.8,easingFunction:Xs.EXPONENTIAL_OUT})};Object.defineProperties(C3.prototype,{container:{get:function(){return this._container}},selectionIndicatorElement:{get:function(){return this._selectionIndicatorElement}},scene:{get:function(){return this._scene}}});var L3=C3;function jH(e,t){e=ui(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 L3(t,this._element,this._container);this._viewModel=c,Re.applyBindings(this._viewModel,this._element)}Object.defineProperties(jH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});jH.prototype.isDestroyed=function(){return!1};jH.prototype.destroy=function(){let e=this._container;return Re.cleanNode(this._element),e.removeChild(this._element),fe(this)};var V3=jH;var Nor=S(C(),1);var Gor=S(C(),1);function hL(e,t,n){this._color=e,this._height=t,this._base=g(n,0)}hL.prototype.getHeight=function(){return this._height};hL.prototype.getBase=function(){return this._base};hL.prototype.getStartTime=function(){return this._start};hL.prototype.getStopTime=function(){return this._stop};hL.prototype.setRange=function(e,t){this._start=e,this._stop=t};hL.prototype.render=function(e){let t="";if(this._start&&this._stop&&this._color){let n=ee.secondsDifference(this._start,e.epochJulian),i=Math.round(e.timeBarWidth*e.getAlpha(n)),o=ee.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 Z3=hL;var Mor=S(C(),1);function yMe(e,t,n,i){this.interval=e,this.height=t,this.color=n||new z(.5,.5,.5,1),this.backgroundColor=i||new z(0,0,0,0)}yMe.prototype.render=function(e,t){let n=this.interval.start,i=this.interval.stop,o=t.startJulian,r=ee.addSeconds(t.startJulian,t.duration,new ee);if(ee.lessThan(n,o)&&ee.greaterThan(i,r))e.fillStyle=this.color.toCssColorString(),e.fillRect(0,t.y,t.timeBarWidth,this.height);else if(ee.lessThanOrEquals(n,r)&&ee.greaterThanOrEquals(i,o)){let s,a,c;for(s=0;s<t.timeBarWidth;++s){let l=ee.addSeconds(t.startJulian,s/t.timeBarWidth*t.duration,new ee);!d(a)&&ee.greaterThanOrEquals(l,n)?a=s:!d(c)&&ee.greaterThanOrEquals(l,i)&&(c=s)}e.fillStyle=this.backgroundColor.toCssColorString(),e.fillRect(0,t.y,t.timeBarWidth,this.height),d(a)&&(d(c)||(c=t.timeBarWidth),e.fillStyle=this.color.toCssColorString(),e.fillRect(a,t.y,Math.max(c-a,1),this.height))}};var R3=yMe;var Roe=1e12,Dh={none:0,scrub:1,slide:2,zoom:3,touchOnly:4},Id={none:0,scrub:1,slideZoom:2,singleTap:3,ignore:4},l_=[.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],n5t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Md(e,t){e=ui(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=Dh.none,this._touchMode=Id.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=i5t(this),this._onMouseUp=o5t(this),this._onMouseMove=r5t(this),this._onMouseWheel=s5t(this),this._onTouchStart=a5t(this),this._onTouchMove=l5t(this),this._onTouchEnd=c5t(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()}Md.prototype.addEventListener=function(e,t,n){this._topDiv.addEventListener(e,t,n)};Md.prototype.removeEventListener=function(e,t,n){this._topDiv.removeEventListener(e,t,n)};Md.prototype.isDestroyed=function(){return!1};Md.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),fe(this)};Md.prototype.addHighlightRange=function(e,t,n){let i=new Z3(e,t,n);return this._highlightRanges.push(i),this.resize(),i};Md.prototype.addTrack=function(e,t,n,i){let o=new R3(e,t,n,i);return this._trackList.push(o),this._lastHeight=void 0,this.resize(),o};Md.prototype.zoomTo=function(e,t){if(this._startJulian=e,this._endJulian=t,this._timeBarSecondsSpan=ee.secondsDifference(t,e),this._clock&&this._clock.clockRange!==Is.UNBOUNDED){let i=this._clock.startTime,o=this._clock.stopTime,r=ee.secondsDifference(o,i),s=ee.secondsDifference(i,this._startJulian),a=ee.secondsDifference(o,this._endJulian);this._timeBarSecondsSpan>=r?(this._timeBarSecondsSpan=r,this._startJulian=this._clock.startTime,this._endJulian=this._clock.stopTime):s>0?(this._endJulian=ee.addSeconds(this._endJulian,s,new ee),this._startJulian=i,this._timeBarSecondsSpan=ee.secondsDifference(this._endJulian,this._startJulian)):a<0&&(this._startJulian=ee.addSeconds(this._startJulian,a,new ee),this._endJulian=o,this._timeBarSecondsSpan=ee.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)};Md.prototype.zoomFrom=function(e){let t=ee.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(ee.addSeconds(this._startJulian,t-t*e,new ee),ee.addSeconds(this._endJulian,n*e-n,new ee))};function Goe(e){return e<10?`0${e.toString()}`:e.toString()}Md.prototype.makeLabel=function(e){let t=ee.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`${n5t[t.month-1]} ${t.day} ${t.year} ${Goe(t.hour)}:${Goe(t.minute)}:${Goe(t.second)}${i}`};Md.prototype.smallestTicInPixels=7;Md.prototype._makeTics=function(){let e=this._timeBarEle,t=ee.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,l=1e-10,u=0,m=this._timeBarSecondsSpan;m<a?(m=a,this._timeBarSecondsSpan=a,this._endJulian=ee.addSeconds(this._startJulian,a,new ee)):m>c&&(m=c,this._timeBarSecondsSpan=c,this._endJulian=ee.addSeconds(this._startJulian,c,new ee));let f=this._timeBarEle.clientWidth;f<10&&(f=10);let b=this._startJulian,p=Math.min(m/f*1e-5,.4),x,T=ee.toGregorianDate(b);m>31536e4?x=ee.fromDate(new Date(Date.UTC(Math.floor(T.year/100)*100,0))):m>31536e3?x=ee.fromDate(new Date(Date.UTC(Math.floor(T.year/10)*10,0))):m>86400?x=ee.fromDate(new Date(Date.UTC(T.year,0))):x=ee.fromDate(new Date(Date.UTC(T.year,T.month,T.day)));let _=ee.secondsDifference(this._startJulian,ee.addSeconds(x,p,new ee)),L=_+m;this._epochJulian=x;function V(D){return Math.floor(_/D)*D}function Z(D,O){return Math.ceil(D/O+.5)*O}function G(D){return(D-_)/m}function I(D,O){return D-O*Math.round(D/O)}this._rulerEle.innerHTML=this.makeLabel(ee.addSeconds(this._endJulian,-a,new ee));let w=this._rulerEle.offsetWidth+20;w<30&&(w=180);let W=u;u-=l;let v={startTime:_,startJulian:b,epochJulian:x,duration:m,timeBarWidth:f,getAlpha:G};this._highlightRanges.forEach(function(D){s+=D.render(v)});let N=0,y=0,R=0,E=w/f;E>1&&(E=1),E*=this._timeBarSecondsSpan;let M=-1,F=-1,A=l_.length,B;for(B=0;B<A;++B){let D=l_[B];if(++M,N=D,D>E&&D>u)break;F<0&&f*(D/this._timeBarSecondsSpan)>=this.smallestTicInPixels&&(F=M)}if(M>0){for(;M>0;)if(--M,Math.abs(I(N,l_[M]))<1e-5){l_[M]>=u&&(y=l_[M]);break}if(F>=0)for(;F<M;){if(Math.abs(I(y,l_[F]))<1e-5&&l_[F]>=u){R=l_[F];break}++F}}u=W,u>l&&R<1e-5&&Math.abs(u-N)>l&&(R=u,u<=N+l&&(y=0));let U=-999999,k;if(f*(R/this._timeBarSecondsSpan)>=3)for(o=V(R);o<=L;o=Z(o,R))s+=`<span class="cesium-timeline-ticTiny" style="left: ${Math.round(f*G(o)).toString()}px;"></span>`;if(f*(y/this._timeBarSecondsSpan)>=3)for(o=V(y);o<=L;o=Z(o,y))s+=`<span class="cesium-timeline-ticSub" style="left: ${Math.round(f*G(o)).toString()}px;"></span>`;if(f*(N/this._timeBarSecondsSpan)>=2){this._mainTicSpan=N,L+=N,o=V(N);let D=ee.computeTaiMinusUtc(x);for(;o<=L;){let O=ee.addSeconds(b,o-_,new ee);if(N>2.1){let ne=ee.computeTaiMinusUtc(O);Math.abs(ne-D)>.1&&(o+=ne-D,O=ee.addSeconds(b,o-_,new ee))}let K=Math.round(f*G(o)),j=this.makeLabel(O);this._rulerEle.innerHTML=j,k=this._rulerEle.offsetWidth,k<10&&(k=w);let J=K-(k/2-1);J>U?(U=J+k+5,s+=`<span class="cesium-timeline-ticMain" style="left: ${K.toString()}px;"></span><span class="cesium-timeline-ticLabel" style="left: ${J.toString()}px;">${j}</span>`):s+=`<span class="cesium-timeline-ticSub" style="left: ${K.toString()}px;"></span>`,o=Z(o,N)}}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),v.y=0,this._trackList.forEach(function(D){D.render(r._context,v),v.y+=D.height})};Md.prototype.updateFromClock=function(){this._scrubJulian=this._clock.currentTime;let e=this._scrubElement;if(d(this._scrubElement)){let t=ee.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`)}d(this._timelineDragLocation)&&(this._setTimeBarTime(this._timelineDragLocation,this._timelineDragLocation*this._timeBarSecondsSpan/this._topDiv.clientWidth),this.zoomTo(ee.addSeconds(this._startJulian,this._timelineDrag,new ee),ee.addSeconds(this._endJulian,this._timelineDrag,new ee)))};Md.prototype._setTimeBarTime=function(e,t){if(e=Math.round(e),this._scrubJulian=ee.addSeconds(this._startJulian,t,new ee),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 i5t(e){return function(t){e._mouseMode!==Dh.touchOnly&&(t.button===0?(e._mouseMode=Dh.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition="-16px 0"),e._onMouseMove(t)):(e._mouseX=t.clientX,t.button===2?e._mouseMode=Dh.zoom:e._mouseMode=Dh.slide)),t.preventDefault()}}function o5t(e){return function(t){e._mouseMode=Dh.none,e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0"),e._timelineDrag=0,e._timelineDragLocation=void 0}}function r5t(e){return function(t){let n;if(e._mouseMode===Dh.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===Dh.slide){if(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0){let i=n*e._timeBarSecondsSpan/e._topDiv.clientWidth;e.zoomTo(ee.addSeconds(e._startJulian,i,new ee),ee.addSeconds(e._endJulian,i,new ee))}}else e._mouseMode===Dh.zoom&&(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0&&e.zoomFrom(Math.pow(1.01,n)))}}function s5t(e){return function(t){let n=t.wheelDeltaY||t.wheelDelta||-t.detail;Roe=Math.max(Math.min(Math.abs(n),Roe),1),n/=Roe,e.zoomFrom(Math.pow(1.05,-n))}}function a5t(e){return function(t){let n=t.touches.length,i,o,r=e._topDiv.getBoundingClientRect().left;t.preventDefault(),e._mouseMode=Dh.touchOnly,n===1?(i=ee.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=Id.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition=n===1?"-16px 0":"0 0")):(e._touchMode=Id.singleTap,e._touchState.centerX=t.touches[0].clientX-r)):n===2?(e._touchMode=Id.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=Id.ignore}}function c5t(e){return function(t){let n=t.touches.length,i=e._topDiv.getBoundingClientRect().left;e._touchMode===Id.singleTap?(e._touchMode=Id.scrub,e._onTouchMove(t)):e._touchMode===Id.scrub&&e._onTouchMove(t),e._mouseMode=Dh.touchOnly,n!==1?e._touchMode=n>0?Id.ignore:Id.none:e._touchMode===Id.slideZoom&&(e._touchState.centerX=t.touches[0].clientX-i),e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0")}}function l5t(e){return function(t){let n,i,o,r,s,a,c=1,l=e._topDiv.getBoundingClientRect().left;e._touchMode===Id.singleTap&&(e._touchMode=Id.slideZoom),e._mouseMode=Dh.touchOnly,e._touchMode===Id.scrub?(t.preventDefault(),t.changedTouches.length===1&&(i=t.changedTouches[0].clientX-l,i>=0&&i<=e._topDiv.clientWidth&&e._setTimeBarTime(i,i*e._timeBarSecondsSpan/e._topDiv.clientWidth))):e._touchMode===Id.slideZoom&&(o=t.touches.length,o===2?(r=(t.touches[0].clientX+t.touches[1].clientX)*.5-l,s=Math.abs(t.touches[0].clientX-t.touches[1].clientX)):o===1&&(r=t.touches[0].clientX-l,s=0),d(r)&&(s>0&&e._touchState.spanX>0?(c=e._touchState.spanX/s,a=ee.addSeconds(e._startJulian,(e._touchState.centerX*e._timeBarSecondsSpan-r*e._timeBarSecondsSpan*c)/e._topDiv.clientWidth,new ee)):(n=e._touchState.centerX-r,a=ee.addSeconds(e._startJulian,n*e._timeBarSecondsSpan/e._topDiv.clientWidth,new ee)),e.zoomTo(a,ee.addSeconds(a,e._timeBarSecondsSpan*c,new ee)),e._touchState.centerX=r,e._touchState.spanX=s))}}Md.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 G3=Md;var Srr=S(C(),1);var err=S(C(),1);var Kor=S(C(),1);var SMe=S(_Me(),1);function m5t(e){let t=!1,n=window.screen;return d(n)&&(d(n.lockOrientation)?t=n.lockOrientation(e):d(n.mozLockOrientation)?t=n.mozLockOrientation(e):d(n.msLockOrientation)?t=n.msLockOrientation(e):d(n.orientation&&n.orientation.lock)&&(t=n.orientation.lock(e))),t}function CMe(){let e=window.screen;d(e)&&(d(e.unlockOrientation)?e.unlockOrientation():d(e.mozUnlockOrientation)?e.mozUnlockOrientation():d(e.msUnlockOrientation)?e.msUnlockOrientation():d(e.orientation&&e.orientation.unlock)&&e.orientation.unlock())}function h5t(e,t,n,i){i()||(n()?(t.useWebVR=!1,e._locked&&(CMe(),e._locked=!1),e._noSleep.disable(),ms.exitFullscreen(),n(!1)):(ms.fullscreen||ms.requestFullscreen(e._vrElement),e._noSleep.enable(),e._locked||(e._locked=m5t("landscape")),t.useWebVR=!0,n(!0)))}function qH(e,t){let n=this,i=Re.observable(ms.enabled),o=Re.observable(!1);this.isVRMode=void 0,Re.defineProperty(this,"isVRMode",{get:function(){return o()}}),this.isVREnabled=void 0,Re.defineProperty(this,"isVREnabled",{get:function(){return i()},set:function(s){i(s&&ms.enabled)}}),this.tooltip=void 0,Re.defineProperty(this,"tooltip",function(){return i()?o()?"Exit VR mode":"Enter VR mode":"VR mode is unavailable"});let r=Re.observable(!1);this._isOrthographic=void 0,Re.defineProperty(this,"_isOrthographic",{get:function(){return r()}}),this._eventHelper=new ws,this._eventHelper.add(e.preRender,function(){r(e.camera.frustum instanceof En)}),this._locked=!1,this._noSleep=new SMe.default,this._command=ni(function(){h5t(n,e,o,r)},Re.getObservable(this,"isVREnabled")),this._vrElement=g(ui(t),document.body),this._callback=function(){!ms.fullscreen&&o()&&(e.useWebVR=!1,n._locked&&(CMe(),n._locked=!1),n._noSleep.disable(),o(!1))},document.addEventListener(ms.changeEventName,this._callback)}Object.defineProperties(qH.prototype,{vrElement:{get:function(){return this._vrElement},set:function(e){this._vrElement=e}},command:{get:function(){return this._command}}});qH.prototype.isDestroyed=function(){return!1};qH.prototype.destroy=function(){this._eventHelper.removeAll(),document.removeEventListener(ms.changeEventName,this._callback),fe(this)};var E3=qH;var p5t="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",f5t="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 $H(e,t,n){e=ui(e);let i=new E3(t,n);i._exitVRPath=f5t,i._enterVRPath=p5t;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),Re.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties($H.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});$H.prototype.isDestroyed=function(){return!1};$H.prototype.destroy=function(){return this._viewModel.destroy(),Re.cleanNode(this._element),this._container.removeChild(this._element),fe(this)};var I3=$H;var d_=new de;function ZMe(e){let t=e.clock;t.currentTime=e.timeJulian,t.shouldAnimate=!1}function b5t(e){let t=e.getPropertyIds(),n="";return Array.isArray(t)&&(t.forEach(function(i){let o=e.getProperty(i);d(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 y5t(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(d(r)&&r!=="")return r}return"Unnamed Feature"}function LMe(e,t){let n=e.scene.pick(t.position);if(d(n)){let i=g(n.id,n.primitive.id);if(i instanceof Jr)return i;if(n instanceof Ya)return new Jr({name:y5t(n),description:b5t(n),feature:n})}if(d(e.scene.globe))return T5t(e,t.position)}var g5t=new ee;function RMe(e,t,n){if(d(n)){let i=n.clock;if(d(i)&&(i.getValue(t),d(e))){let o=i.startTime,r=i.stopTime;ee.equals(o,r)&&(r=ee.addSeconds(o,X.EPSILON2,g5t)),e.updateFromClock(),e.zoomTo(o,r)}}}var x5t=new h;function T5t(e,t){let n=e.scene,i=n.camera.getPickRay(t),o=n.imageryLayers.pickImageryLayerFeatures(i,n);if(!d(o))return;let r=new Jr({id:"Loading...",description:"Loading feature information..."});return o.then(function(s){if(e.selectedEntity!==r)return;if(!d(s)||s.length===0){e.selectedEntity=VMe();return}let a=s[0],c=new Jr({id:a.name,description:a.description});if(d(a.position)){let l=e.scene.ellipsoid.cartographicToCartesian(a.position,x5t);c.position=new rd(l)}e.selectedEntity=c},function(){e.selectedEntity===r&&(e.selectedEntity=VMe())}),r}function VMe(){return new Jr({id:"None",description:"No features found."})}function _5t(e,t){let n=e._geocoder,i=e._homeButton,o=e._sceneModePicker,r=e._projectionPicker,s=e._baseLayerPicker,a=e._animation,c=e._timeline,l=e._fullscreenButton,u=e._infoBox,m=e._selectionIndicator,f=t?"hidden":"visible";if(d(n)&&(n.container.style.visibility=f),d(i)&&(i.container.style.visibility=f),d(o)&&(o.container.style.visibility=f),d(r)&&(r.container.style.visibility=f),d(s)&&(s.container.style.visibility=f),d(a)&&(a.container.style.visibility=f),d(c)&&(c.container.style.visibility=f),d(l)&&l.viewModel.isFullscreenEnabled&&(l.container.style.visibility=f),d(u)&&(u.container.style.visibility=f),d(m)&&(m.container.style.visibility=f),e._container){let b=t||!d(l)?0:l.container.clientWidth;e._vrButton.container.style.right=`${b}px`,e.forceResize()}}function _o(e,t){e=ui(e),t=g(t,{}),t.selectionIndicator=g(t.selectionIndicator,!1),t.infoBox=g(t.selectionIndicator,!1),t.geocoder=g(t.geocoder,!1),t.homeButton=g(t.homeButton,!1),t.sceneModePicker=g(t.sceneModePicker,!1),t.baseLayerPicker=g(t.baseLayerPicker,!1),t.navigationHelpButton=g(t.navigationHelpButton,!1),t.timeline=g(t.timeline,!1),t.animation=g(t.animation,!1),t.fullscreenButton=g(t.fullscreenButton,!1);let n=(!d(t.globe)||t.globe!==!1)&&(!d(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";let a=g(t.scene3DOnly,!1),c,l,u=!1;d(t.clockViewModel)?(l=t.clockViewModel,c=l.clock):(c=new rp,l=new zD(c),u=!0),d(t.shouldAnimate)&&(c.shouldAnimate=t.shouldAnimate);let m=1;if(d(t.logoScale)){let j=parseFloat(t.logoScale);d(j)&&j>=.2&&(m=j)}let f=new GD(r,{baseLayer:n&&d(t.selectedImageryProviderViewModel)||d(t.baseLayer)||d(t.imageryProvider)?!1:void 0,clock:c,skyBox:t.skyBox,skyAtmosphere:t.skyAtmosphere,sceneMode:t.sceneMode,ellipsoid:t.ellipsoid,mapProjection:t.mapProjection,globe:t.globe,orderIndependentTranslucency:t.orderIndependentTranslucency,contextOptions:t.contextOptions,useDefaultRenderLoop:t.useDefaultRenderLoop,targetFrameRate:t.targetFrameRate,showRenderLoopErrors:t.showRenderLoopErrors,useBrowserRecommendedResolution:t.useBrowserRecommendedResolution,creditContainer:d(t.creditContainer)?t.creditContainer:s,creditViewport:t.creditViewport,scene3DOnly:a,logoScale:m,shadows:t.shadows,terrainShadows:t.terrainShadows,mapMode2D:t.mapMode2D,blurActiveElementOnCanvasFocus:t.blurActiveElementOnCanvasFocus,requestRenderMode:t.requestRenderMode,maximumRenderTimeChange:t.maximumRenderTimeChange,depthPlaneEllipsoidOffset:t.depthPlaneEllipsoidOffset,msaaSamples:t.msaaSamples}),b=t.dataSources,p=!1;d(b)||(b=new u9,p=!0);let x=f.scene,T=new X9({scene:x,dataSourceCollection:b}),_=new ws;_.add(c.onTick,_o.prototype._onTick,this),_.add(x.morphStart,_o.prototype._clearTrackedObject,this);let L;if(!d(t.selectionIndicator)||t.selectionIndicator!==!1){let j=document.createElement("div");j.className="cesium-viewer-selectionIndicatorContainer",o.appendChild(j),L=new V3(j,x)}let V;if(!d(t.infoBox)||t.infoBox!==!1){let j=document.createElement("div");j.className="cesium-viewer-infoBoxContainer",o.appendChild(j),V=new p3(j);let J=V.viewModel;_.add(J.cameraClicked,_o.prototype._onInfoBoxCameraClicked,this),_.add(J.closeClicked,_o.prototype._onInfoBoxClockClicked,this)}let Z=document.createElement("div");Z.className="cesium-viewer-toolbar",o.appendChild(Z);let G;if(!d(t.geocoder)||t.geocoder!==!1){let j=document.createElement("div");j.className="cesium-viewer-geocoderContainer",Z.appendChild(j);let J;d(t.geocoder)&&typeof t.geocoder!="boolean"&&(J=Array.isArray(t.geocoder)?t.geocoder:[t.geocoder]),G=new l3({container:j,geocoderServices:J,scene:x}),_.add(G.viewModel.search.beforeExecute,_o.prototype._clearObjects,this)}let I;(!d(t.homeButton)||t.homeButton!==!1)&&(I=new u3(Z,x),d(G)&&_.add(I.viewModel.command.afterExecute,function(){let j=G.viewModel;j.searchText="",j.isSearchInProgress&&j.search()}),_.add(I.viewModel.command.beforeExecute,_o.prototype._clearTrackedObject,this));let w;!a&&(!d(t.sceneModePicker)||t.sceneModePicker!==!1)&&(w=new S3(Z,x));let W;t.projectionPicker&&(W=new T3(Z,x));let v,N;if(n){let j=g(t.imageryProviderViewModels,KD()),J=g(t.terrainProviderViewModels,HD());v=new OD(Z,{globe:x.globe,imageryProviderViewModels:j,selectedImageryProviderViewModel:t.selectedImageryProviderViewModel,terrainProviderViewModels:J,selectedTerrainProviderViewModel:t.selectedTerrainProviderViewModel}),N=Z.getElementsByClassName("cesium-baseLayerPicker-dropDown")[0]}d(t.baseLayer)&&t.baseLayer!==!1&&(n&&(v.viewModel.selectedImagery=void 0),x.imageryLayers.removeAll(),x.imageryLayers.add(t.baseLayer)),d(t.terrainProvider)&&(n&&(v.viewModel.selectedTerrain=void 0),x.terrainProvider=t.terrainProvider),d(t.terrain)&&(n&&(x.globe.depthTestAgainstTerrain=!0),x.setTerrain(t.terrain));let y;if(!d(t.navigationHelpButton)||t.navigationHelpButton!==!1){let j=!0;try{if(d(window.localStorage)){let J=window.localStorage.getItem("cesium-hasSeenNavHelp");d(J)&&J?j=!1:window.localStorage.setItem("cesium-hasSeenNavHelp","true")}}catch{}y=new b3({container:Z,instructionsInitiallyVisible:g(t.navigationInstructionsInitiallyVisible,j)})}let R;if(!d(t.animation)||t.animation!==!1){let j=document.createElement("div");j.className="cesium-viewer-animationContainer",o.appendChild(j),R=new t3(j,new n3(l))}let E;if(!d(t.timeline)||t.timeline!==!1){let j=document.createElement("div");j.className="cesium-viewer-timelineContainer",o.appendChild(j),E=new G3(j,c),E.addEventListener("settime",ZMe,!1),E.zoomTo(c.startTime,c.stopTime)}let M,F,A;(!d(t.fullscreenButton)||t.fullscreenButton!==!1)&&(A=document.createElement("div"),A.className="cesium-viewer-fullscreenContainer",o.appendChild(A),M=new a3(A,t.fullscreenElement),F=Zc(M.viewModel,"isFullscreenEnabled",function(j){A.style.display=j?"block":"none",d(E)&&(E.container.style.right=`${A.clientWidth}px`,E.resize())}));let B,U,k;if(t.vrButton){let j=document.createElement("div");j.className="cesium-viewer-vrContainer",o.appendChild(j),B=new I3(j,x,t.fullScreenElement),U=Zc(B.viewModel,"isVREnabled",function(J){j.style.display=J?"block":"none",d(M)&&(j.style.right=`${A.clientWidth}px`),d(E)&&(E.container.style.right=`${j.clientWidth}px`,E.resize())}),k=Zc(B.viewModel,"isVRMode",function(J){_5t(i,J)})}this._baseLayerPickerDropDown=N,this._fullscreenSubscription=F,this._vrSubscription=U,this._vrModeSubscription=k,this._dataSourceChangedListeners={},this._automaticallyTrackDataSourceClocks=g(t.automaticallyTrackDataSourceClocks,!0),this._container=e,this._bottomContainer=s,this._element=o,this._cesiumWidget=f,this._selectionIndicator=L,this._infoBox=V,this._dataSourceCollection=b,this._destroyDataSourceCollection=p,this._dataSourceDisplay=T,this._clockViewModel=l,this._destroyClockViewModel=u,this._toolbar=Z,this._homeButton=I,this._sceneModePicker=w,this._projectionPicker=W,this._baseLayerPicker=v,this._navigationHelpButton=y,this._animation=R,this._timeline=E,this._fullscreenButton=M,this._vrButton=B,this._geocoder=G,this._eventHelper=_,this._lastWidth=0,this._lastHeight=0,this._allowDataSourcesToSuspendAnimation=!0,this._entityView=void 0,this._enableInfoOrSelection=d(V)||d(L),this._clockTrackedDataSource=void 0,this._trackedEntity=void 0,this._needTrackedEntityUpdate=!1,this._selectedEntity=void 0,this._zoomIsFlight=!1,this._zoomTarget=void 0,this._zoomPromise=void 0,this._zoomOptions=void 0,this._selectedEntityChanged=new Se,this._trackedEntityChanged=new Se,Re.track(this,["_trackedEntity","_selectedEntity","_clockTrackedDataSource"]),_.add(b.dataSourceAdded,_o.prototype._onDataSourceAdded,this),_.add(b.dataSourceRemoved,_o.prototype._onDataSourceRemoved,this),_.add(x.postUpdate,_o.prototype.resize,this),_.add(x.postRender,_o.prototype._postRender,this);let D=b.length;for(let j=0;j<D;j++)this._dataSourceAdded(b,b.get(j));this._dataSourceAdded(void 0,T.defaultDataSource),_.add(b.dataSourceAdded,_o.prototype._dataSourceAdded,this),_.add(b.dataSourceRemoved,_o.prototype._dataSourceRemoved,this);function O(j){let J=LMe(i,j);d(J)?Q.getValueOrUndefined(J.position,i.clock.currentTime)?i.trackedEntity=J:i.zoomTo(J):d(i.trackedEntity)&&(i.trackedEntity=void 0)}function K(j){i.selectedEntity=LMe(i,j)}f.screenSpaceEventHandler.setInputAction(K,qn.LEFT_CLICK),f.screenSpaceEventHandler.setInputAction(O,qn.LEFT_DOUBLE_CLICK)}Object.defineProperties(_o.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._dataSourceDisplay}},entities:{get:function(){return this._dataSourceDisplay.defaultDataSource.entities}},dataSources:{get:function(){return this._dataSourceCollection}},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._allowDataSourcesToSuspendAnimation},set:function(e){this._allowDataSourcesToSuspendAnimation=e}},trackedEntity:{get:function(){return this._trackedEntity},set:function(e){if(this._trackedEntity!==e){this._trackedEntity=e,Xoe(this);let t=this.scene,n=t.mode;!d(e)||!d(e.position)?(this._needTrackedEntityUpdate=!1,(n===ae.COLUMBUS_VIEW||n===ae.SCENE2D)&&(t.screenSpaceCameraController.enableTranslate=!0),(n===ae.COLUMBUS_VIEW||n===ae.SCENE3D)&&(t.screenSpaceCameraController.enableTilt=!0),this._entityView=void 0,this.camera.lookAtTransform(P.IDENTITY)):this._needTrackedEntityUpdate=!0,this._trackedEntityChanged.raiseEvent(e),this.scene.requestRender()}}},selectedEntity:{get:function(){return this._selectedEntity},set:function(e){if(this._selectedEntity!==e){this._selectedEntity=e;let t=d(this._selectionIndicator)?this._selectionIndicator.viewModel:void 0;d(e)?d(t)&&t.animateAppear():d(t)&&t.animateDepart(),this._selectedEntityChanged.raiseEvent(e)}}},selectedEntityChanged:{get:function(){return this._selectedEntityChanged}},trackedEntityChanged:{get:function(){return this._trackedEntityChanged}},clockTrackedDataSource:{get:function(){return this._clockTrackedDataSource},set:function(e){this._clockTrackedDataSource!==e&&(this._clockTrackedDataSource=e,RMe(this._timeline,this.clock,e))}}});_o.prototype.getCurrentTilesLevels=function(){this.scene._globe.depthTestAgainstTerrain=!0;let e=this.scene._globe._surface._tilesToRender,t=this.camera.positionWC,n=this.camera.directionWC,i=new Ray(t,n),o=this.scene.pickFromRay(i,[]);if(o===void 0||o.position===void 0)return;let r=o.position,s=h.distance(r,t),a={};a.centerTileLevel=0,a.maxTileLevel=0,a.minTileLevel=Number.POSITIVE_INFINITY;let c=Number.POSITIVE_INFINITY;for(let l=0,u=e.length;l<u;l++){e[l].level>a.maxTileLevel&&(a.maxTileLevel=e[l].level),e[l].level<a.minTileLevel&&(a.minTileLevel=e[l].level);let m=Math.abs(e[l]._distance-s)<c;m<c&&(c=m,a.centerTileLevel=e[l].level)}return a};_o.prototype.extend=function(e,t){e(this,t)};_o.prototype.resize=function(){let e=this._cesiumWidget,t=this._container,n=t.clientWidth,i=t.clientHeight,o=d(this._animation),r=d(this._timeline);if(e.resize(),n===this._lastWidth&&i===this._lastHeight)return;let s=i-125,a=this._baseLayerPickerDropDown;if(d(a)&&(a.style.maxHeight=`${s}px`),d(this._geocoder)){let p=this._geocoder.searchSuggestionsContainer;p.style.maxHeight=`${s}px`}d(this._infoBox)&&(this._infoBox.viewModel.maxHeight=s);let c=this._timeline,l,u=0,m=5,f=3,b=0;if(o&&window.getComputedStyle(this._animation.container).visibility!=="hidden"){let p=this._lastWidth;l=this._animation.container,n>900?(u=169,p<=900&&(l.style.width="169px",l.style.height="112px",this._animation.resize())):n>=600?(u=136,(p<600||p>900)&&(l.style.width="136px",l.style.height="90px",this._animation.resize())):(u=106,(p>600||p===0)&&(l.style.width="106px",l.style.height="70px",this._animation.resize())),m=u+5}if(r&&window.getComputedStyle(this._timeline.container).visibility!=="hidden"){let p=this._fullscreenButton,x=this._vrButton,T=c.container,_=T.style;f=T.clientHeight+3,_.left=`${u}px`;let L=0;d(p)&&(L+=p.container.clientWidth),d(x)&&(L+=x.container.clientWidth),_.right=`${L}px`,c.resize()}!r&&d(this._fullscreenButton)&&(b=this._fullscreenButton.container.clientWidth),this._bottomContainer.style.left=`${m}px`,this._bottomContainer.style.bottom=`${f}px`,this._bottomContainer.style.right=`${b}px`,this._lastWidth=n,this._lastHeight=i};_o.prototype.forceResize=function(){this._lastWidth=0,this.resize()};_o.prototype.render=function(){this._cesiumWidget.render()};_o.prototype.isDestroyed=function(){return!1};_o.prototype.destroy=function(){let e;d(this.screenSpaceEventHandler)&&!this.screenSpaceEventHandler.isDestroyed()&&(this.screenSpaceEventHandler.removeInputAction(qn.LEFT_CLICK),this.screenSpaceEventHandler.removeInputAction(qn.LEFT_DOUBLE_CLICK));let t=this.dataSources,n=t.length;for(e=0;e<n;e++)this._dataSourceRemoved(t,t.get(e));return this._dataSourceRemoved(void 0,this._dataSourceDisplay.defaultDataSource),this._container.removeChild(this._element),this._element.removeChild(this._toolbar),this._eventHelper.removeAll(),d(this._geocoder)&&(this._geocoder=this._geocoder.destroy()),d(this._homeButton)&&(this._homeButton=this._homeButton.destroy()),d(this._sceneModePicker)&&(this._sceneModePicker=this._sceneModePicker.destroy()),d(this._projectionPicker)&&(this._projectionPicker=this._projectionPicker.destroy()),d(this._baseLayerPicker)&&(this._baseLayerPicker=this._baseLayerPicker.destroy()),d(this._animation)&&(this._element.removeChild(this._animation.container),this._animation=this._animation.destroy()),d(this._timeline)&&(this._timeline.removeEventListener("settime",ZMe,!1),this._element.removeChild(this._timeline.container),this._timeline=this._timeline.destroy()),d(this._fullscreenButton)&&(this._fullscreenSubscription.dispose(),this._element.removeChild(this._fullscreenButton.container),this._fullscreenButton=this._fullscreenButton.destroy()),d(this._vrButton)&&(this._vrSubscription.dispose(),this._vrModeSubscription.dispose(),this._element.removeChild(this._vrButton.container),this._vrButton=this._vrButton.destroy()),d(this._infoBox)&&(this._element.removeChild(this._infoBox.container),this._infoBox=this._infoBox.destroy()),d(this._selectionIndicator)&&(this._element.removeChild(this._selectionIndicator.container),this._selectionIndicator=this._selectionIndicator.destroy()),this._destroyClockViewModel&&(this._clockViewModel=this._clockViewModel.destroy()),this._dataSourceDisplay=this._dataSourceDisplay.destroy(),this._cesiumWidget=this._cesiumWidget.destroy(),this._destroyDataSourceCollection&&(this._dataSourceCollection=this._dataSourceCollection.destroy()),fe(this)};_o.prototype._dataSourceAdded=function(e,t){t.entities.collectionChanged.addEventListener(_o.prototype._onEntityCollectionChanged,this)};_o.prototype._dataSourceRemoved=function(e,t){let n=t.entities;n.collectionChanged.removeEventListener(_o.prototype._onEntityCollectionChanged,this),d(this.trackedEntity)&&n.getById(this.trackedEntity.id)===this.trackedEntity&&(this.trackedEntity=void 0),d(this.selectedEntity)&&n.getById(this.selectedEntity.id)===this.selectedEntity&&(this.selectedEntity=void 0)};_o.prototype._onTick=function(e){let t=e.currentTime,n=this._dataSourceDisplay.update(t);this._allowDataSourcesToSuspendAnimation&&(this._clockViewModel.canAnimate=n);let i=this._entityView;if(d(i)){let u=this._trackedEntity;this._dataSourceDisplay.getBoundingSphere(u,!0,d_)===vt.DONE&&i.update(t,d_)}let o,r=!1,s=this.selectedEntity,a=d(s)&&this._enableInfoOrSelection;a&&s.isShowing&&s.isAvailable(t)&&(this._dataSourceDisplay.getBoundingSphere(s,!0,d_)!==vt.FAILED?o=d_.center:d(s.position)&&(o=s.position.getValue(t,o)),r=d(o));let c=d(this._selectionIndicator)?this._selectionIndicator.viewModel:void 0;d(c)&&(c.position=h.clone(o,c.position),c.showSelection=a&&r,c.update());let l=d(this._infoBox)?this._infoBox.viewModel:void 0;d(l)&&(l.showInfo=a,l.enableCamera=r,l.isCameraTracking=this.trackedEntity===this.selectedEntity,a?(l.titleText=g(s.name,s.id),l.description=Q.getValueOrDefault(s.description,t,"")):(l.titleText="",l.description=""))};_o.prototype._onEntityCollectionChanged=function(e,t,n){let i=n.length;for(let o=0;o<i;o++){let r=n[o];this.trackedEntity===r&&(this.trackedEntity=void 0),this.selectedEntity===r&&(this.selectedEntity=void 0)}};_o.prototype._onInfoBoxCameraClicked=function(e){if(e.isCameraTracking&&this.trackedEntity===this.selectedEntity)this.trackedEntity=void 0;else{let n=this.selectedEntity.position;d(n)?this.trackedEntity=this.selectedEntity:this.zoomTo(this.selectedEntity)}};_o.prototype._clearTrackedObject=function(){this.trackedEntity=void 0};_o.prototype._onInfoBoxClockClicked=function(e){this.selectedEntity=void 0};_o.prototype._clearObjects=function(){this.trackedEntity=void 0,this.selectedEntity=void 0};_o.prototype._onDataSourceChanged=function(e){this.clockTrackedDataSource===e&&RMe(this.timeline,this.clock,e)};_o.prototype._onDataSourceAdded=function(e,t){this._automaticallyTrackDataSourceClocks&&(this.clockTrackedDataSource=t);let n=t.entities.id,i=this._eventHelper.add(t.changedEvent,_o.prototype._onDataSourceChanged,this);this._dataSourceChangedListeners[n]=i};_o.prototype._onDataSourceRemoved=function(e,t){let n=this.clockTrackedDataSource===t,i=t.entities.id;if(this._dataSourceChangedListeners[i](),this._dataSourceChangedListeners[i]=void 0,n){let o=e.length;this._automaticallyTrackDataSourceClocks&&o>0?this.clockTrackedDataSource=e.get(o-1):this.clockTrackedDataSource=void 0}};_o.prototype.zoomTo=function(e,t){return GMe(this,e,{offset:t},!1)};_o.prototype.flyTo=function(e,t){return GMe(this,e,t,!0)};function GMe(e,t,n,i){Xoe(e);let o=new Promise(r=>{e._completeZoom=function(s){r(s)}});return e._zoomPromise=o,e._zoomIsFlight=i,e._zoomOptions=n,Promise.resolve(t).then(function(r){if(e._zoomPromise===o){if(r instanceof zs){let s;d(r.imageryProvider)?s=Promise.resolve(r.getImageryRectangle()):s=new Promise(a=>{let c=r.readyEvent.addEventListener(()=>{c(),a(r.getImageryRectangle())})}),s.then(function(a){return LC(a,e.scene)}).then(function(a){e._zoomPromise===o&&(e._zoomTarget=a)});return}if(r instanceof ea||r instanceof vG||r instanceof i_||r instanceof Ml){e._zoomTarget=r;return}if(r.isLoading&&d(r.loadingEvent)){let s=r.loadingEvent.addEventListener(function(){s(),e._zoomPromise===o&&(e._zoomTarget=r.entities.values.slice(0))});return}if(Array.isArray(r)){e._zoomTarget=r.slice(0);return}r=g(r.values,r),d(r.entities)&&(r=r.entities.values),Array.isArray(r)?e._zoomTarget=r.slice(0):e._zoomTarget=[r]}}),e.scene.requestRender(),o}function M3(e){e._zoomPromise=void 0,e._zoomTarget=void 0,e._zoomOptions=void 0}function Xoe(e){let t=e._zoomPromise;d(t)&&(M3(e),e._completeZoom(!1))}_o.prototype._postRender=function(){S5t(this),C5t(this)};function S5t(e){let t=e._zoomTarget;if(!d(t)||e.scene.mode===ae.MORPHING)return;let n=e.scene,i=n.camera,o=g(e._zoomOptions,{}),r;function s(u){d(o.offset)||(o.offset=new ul(0,-.5,u.radius)),r={offset:o.offset,duration:o.duration,maximumHeight:o.maximumHeight,complete:function(){e._completeZoom(!0)},cancel:function(){e._completeZoom(!1)}},e._zoomIsFlight?i.flyToBoundingSphere(t.boundingSphere,r):(i.viewBoundingSphere(u,o.offset),i.lookAtTransform(P.IDENTITY),e._completeZoom(!0)),M3(e)}if(t instanceof vG){if(d(t.boundingSphere)){s(t.boundingSphere);return}let u=t.frameChanged.addEventListener(function(m){s(m.boundingSphere),u()});return}if(t instanceof ea||t instanceof i_||t instanceof Ml){s(t.boundingSphere);return}if(t instanceof me){r={destination:n.ellipsoid.cartographicToCartesian(t),duration:o.duration,maximumHeight:o.maximumHeight,complete:function(){e._completeZoom(!0)},cancel:function(){e._completeZoom(!1)}},e._zoomIsFlight?i.flyTo(r):(i.setView(r),e._completeZoom(!0)),M3(e);return}let a=t,c=[];for(let u=0,m=a.length;u<m;u++){let f=e._dataSourceDisplay.getBoundingSphere(a[u],!1,d_);if(f===vt.PENDING)return;f!==vt.FAILED&&c.push(de.clone(d_))}if(c.length===0){Xoe(e);return}e.trackedEntity=void 0;let l=de.fromBoundingSpheres(c);e._zoomIsFlight?(M3(e),i.flyToBoundingSphere(l,{duration:o.duration,maximumHeight:o.maximumHeight,complete:function(){e._completeZoom(!0)},cancel:function(){e._completeZoom(!1)},offset:o.offset})):(i.viewBoundingSphere(l,o.offset),i.lookAtTransform(P.IDENTITY),M3(e),e._completeZoom(!0))}function C5t(e){if(!e._needTrackedEntityUpdate)return;let t=e._trackedEntity,n=e.clock.currentTime,i=Q.getValueOrUndefined(t.position,n);if(!d(i))return;let o=e.scene,r=e._dataSourceDisplay.getBoundingSphere(t,!1,d_);if(r===vt.PENDING)return;let s=o.mode;(s===ae.COLUMBUS_VIEW||s===ae.SCENE2D)&&(o.screenSpaceCameraController.enableTranslate=!1),(s===ae.COLUMBUS_VIEW||s===ae.SCENE3D)&&(o.screenSpaceCameraController.enableTilt=!1);let a=r!==vt.FAILED?d_:void 0;e._entityView=new W9(t,o,o.ellipsoid),e._entityView.update(n,a),e._needTrackedEntityUpdate=!1}var woe=_o;var Vrr=S(C(),1);function L5t(e){let t=document.createElement("div");t.className="cesium-viewer-cesium3DTilesInspectorContainer",e.container.appendChild(t);let n=new qD(t,e.scene);Object.defineProperties(e,{cesium3DTilesInspector:{get:function(){return n}}})}var Woe=L5t;var Grr=S(C(),1);function V5t(e){let t=document.createElement("div");t.className="cesium-viewer-cesiumInspectorContainer",e.container.appendChild(t);let n=new r3(t,e.scene);Object.defineProperties(e,{cesiumInspector:{get:function(){return n}}})}var Poe=V5t;var Xrr=S(C(),1);function Z5t(e,t){t=g(t,g.EMPTY_OBJECT);let n=!0,i=g(t.flyToOnDrop,!0),o=new Se,r=g(t.clearOnDrop,!0),s=g(t.dropTarget,e.container),a=g(t.clampToGround,!0),c=t.proxy;s=ui(s),Object.defineProperties(e,{dropTarget:{get:function(){return s},set:function(u){EMe(s,l),s=u,voe(s,l)}},dropEnabled:{get:function(){return n},set:function(u){u!==n&&(u?voe(s,l):EMe(s,l),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 l(u){pL(u),r&&(e.entities.removeAll(),e.dataSources.removeAll());let m=u.dataTransfer.files,f=m.length;for(let b=0;b<f;b++){let p=m[b],x=new FileReader;x.onload=R5t(e,p,c,a),x.onerror=G5t(e,p),x.readAsText(p)}}voe(s,l),e.destroy=YE(e,e.destroy,function(){e.dropEnabled=!1}),e._handleDrop=l}function pL(e){e.stopPropagation(),e.preventDefault()}function EMe(e,t){let n=e;d(n)&&(n.removeEventListener("drop",t,!1),n.removeEventListener("dragenter",pL,!1),n.removeEventListener("dragover",pL,!1),n.removeEventListener("dragexit",pL,!1))}function voe(e,t){e.addEventListener("drop",t,!1),e.addEventListener("dragenter",pL,!1),e.addEventListener("dragover",pL,!1),e.addEventListener("dragexit",pL,!1)}function R5t(e,t,n,i){let o=e.scene;return function(r){let s=t.name;try{let a;if(/\.czml$/i.test(s))a=d9.load(JSON.parse(r.target.result),{sourceUri:s});else if(/\.geojson$/i.test(s)||/\.json$/i.test(s)||/\.topojson$/i.test(s))a=$9.load(JSON.parse(r.target.result),{sourceUri:s,clampToGround:i});else if(/\.(kml|kmz)$/i.test(s))a=u5.load(t,{sourceUri:s,proxy:n,camera:o.camera,canvas:o.canvas,clampToGround:i,screenOverlayContainer:e.container});else if(/\.gpx$/i.test(s))a=i5.load(t,{sourceUri:s,proxy:n});else{e.dropError.raiseEvent(e,s,`Unrecognized file: ${s}`);return}d(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 G5t(e,t){return function(n){e.dropError.raiseEvent(e,t.name,n.target.error)}}var Noe=Z5t;var Frr=S(C(),1);function E5t(e,t){t=g(t,g.EMPTY_OBJECT);let n=new g3({scene:e.scene,container:e.bottomContainer,lowFrameRateMessage:t.lowFrameRateMessage});Object.defineProperties(e,{performanceWatchdog:{get:function(){return n}}})}var Foe=E5t;var $rr=S(C(),1);var Qrr=S(C(),1);var zrr=S(C(),1);function IMe(e){let t=e.split(`
|
|
19085
|
+
</div>`,n.appendChild(i);let o=new m3(t);Re.track(o),Re.applyBindings(o,n),d(o.defaultLayer)&&(o.currentLayer=o.defaultLayer)}var Loe=K9t;var pir=S(C(),1);var air=S(C(),1);var H9t="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",J9t="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 Voe(){this._cameraClicked=new Se,this._closeClicked=new Se,this.maxHeight=500,this.enableCamera=!1,this.isCameraTracking=!1,this.showInfo=!1,this.titleText="",this.description="",Re.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,Re.defineProperty(this,"cameraIconPath",{get:function(){return!this.enableCamera||this.isCameraTracking?J9t:H9t}}),Re.defineProperty(this,"_bodyless",{get:function(){return!d(this.description)||this.description.length===0}})}Voe.prototype.maxHeightOffset=function(e){return`${this.maxHeight-e}px`};Object.defineProperties(Voe.prototype,{cameraClicked:{get:function(){return this._cameraClicked}},closeClicked:{get:function(){return this._closeClicked}}});var h3=Voe;function zH(e){e=ui(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="×",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 h3;Re.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,l=c.createElement("link");l.href=Sn("Widgets/InfoBox/InfoBoxDescription.css"),l.rel="stylesheet",l.type="text/css";let u=c.createElement("div");u.className="cesium-infoBox-description",c.head.appendChild(l),c.body.appendChild(u),a._descriptionSubscription=Zc(s,"description",function(m){r.style.height="5px",u.innerHTML=m;let f=null,b=u.firstElementChild;if(b!==null&&u.childNodes.length===1){let x=window.getComputedStyle(b);if(x!==null){let T=x["background-color"],_=z.fromCssColorString(T);d(_)&&_.alpha!==0&&(f=x["background-color"])}}t.style["background-color"]=f;let p=u.getBoundingClientRect().height;r.style.height=`${p}px`})}),r.setAttribute("src","about:blank")}Object.defineProperties(zH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}},frame:{get:function(){return this._frame}}});zH.prototype.isDestroyed=function(){return!1};zH.prototype.destroy=function(){let e=this._container;return Re.cleanNode(this._element),e.removeChild(this._element),d(this._descriptionSubscription)&&this._descriptionSubscription.dispose(),fe(this)};var p3=zH;var Vir=S(C(),1);var gir=S(C(),1);function bMe(){this.showInstructions=!1;let e=this;this._command=ni(function(){e.showInstructions=!e.showInstructions}),this._showClick=ni(function(){e._touch=!1}),this._showTouch=ni(function(){e._touch=!0}),this._touch=!1,this.tooltip="Navigation Instructions",Re.track(this,["tooltip","showInstructions","_touch"])}Object.defineProperties(bMe.prototype,{command:{get:function(){return this._command}},showClick:{get:function(){return this._showClick}},showTouch:{get:function(){return this._showTouch}}});var f3=bMe;function YH(e){let t=ui(e.container),n=new f3,i=g(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=Sn("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 l=document.createElement("button");l.type="button",l.className="cesium-navigation-button cesium-navigation-button-right",l.setAttribute("data-bind",'click: showTouch, css: {"cesium-navigation-button-selected": _touch, "cesium-navigation-button-unselected": !_touch}');let u=document.createElement("img");u.src=Sn("Widgets/Images/NavigationHelp/Touch.svg"),u.className="cesium-navigation-button-icon",u.style.width="25px",u.style.height="25px",l.appendChild(u),l.appendChild(document.createTextNode("Touch")),s.appendChild(a),s.appendChild(l);let m=document.createElement("div");m.className="cesium-click-navigation-help cesium-navigation-help-instructions",m.setAttribute("data-bind",'css: { "cesium-click-navigation-help-visible" : !_touch}'),m.innerHTML=` <table> <tr> <td><img src="${Sn("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="${Sn("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="${Sn("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(m);let f=document.createElement("div");f.className="cesium-touch-navigation-help cesium-navigation-help-instructions",f.setAttribute("data-bind",'css: { "cesium-touch-navigation-help-visible" : _touch}'),f.innerHTML=` <table> <tr> <td><img src="${Sn("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="${Sn("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="${Sn("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="${Sn("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(f),Re.applyBindings(n,o),this._container=t,this._viewModel=n,this._wrapper=o,this._closeInstructions=function(b){o.contains(b.target)||(n.showInstructions=!1)},yn.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeInstructions,!0):(document.addEventListener("mousedown",this._closeInstructions,!0),document.addEventListener("touchstart",this._closeInstructions,!0))}Object.defineProperties(YH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});YH.prototype.isDestroyed=function(){return!1};YH.prototype.destroy=function(){return yn.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeInstructions,!0):(document.removeEventListener("mousedown",this._closeInstructions,!0),document.removeEventListener("touchstart",this._closeInstructions,!0)),Re.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),fe(this)};var b3=YH;var Air=S(C(),1);var Xir=S(C(),1);function Zoe(e){this._scene=e.scene,this.lowFrameRateMessage=g(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,Re.track(this,["lowFrameRateMessage","lowFrameRateMessageDismissed","showingLowFrameRateMessage"]);let t=this;this._dismissMessage=ni(function(){t.showingLowFrameRateMessage=!1,t.lowFrameRateMessageDismissed=!0});let n=GF.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(Zoe.prototype,{scene:{get:function(){return this._scene}},dismissMessage:{get:function(){return this._dismissMessage}}});Zoe.prototype.destroy=function(){return this._unsubscribeLowFrameRate(),this._unsubscribeNominalFrameRate(),fe(this)};var y3=Zoe;function BH(e){let t=ui(e.container),n=new y3(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="×",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),Re.applyBindings(n,i),this._container=t,this._viewModel=n,this._element=i}Object.defineProperties(BH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});BH.prototype.isDestroyed=function(){return!1};BH.prototype.destroy=function(){return this._viewModel.destroy(),Re.cleanNode(this._element),this._container.removeChild(this._element),fe(this)};var g3=BH;var qir=S(C(),1);var Bir=S(C(),1);function OH(e){this._scene=e,this._orthographic=e.camera.frustum instanceof En,this._flightInProgress=!1,this.dropDownVisible=!1,this.tooltipPerspective="Perspective Projection",this.tooltipOrthographic="Orthographic Projection",this.selectedTooltip=void 0,this.sceneMode=e.mode,Re.track(this,["_orthographic","_flightInProgress","sceneMode","dropDownVisible","tooltipPerspective","tooltipOrthographic"]);let t=this;Re.defineProperty(this,"selectedTooltip",function(){return t._orthographic?t.tooltipOrthographic:t.tooltipPerspective}),this._toggleDropDown=ni(function(){t.sceneMode===ae.SCENE2D||t._flightInProgress||(t.dropDownVisible=!t.dropDownVisible)}),this._eventHelper=new ws,this._eventHelper.add(e.morphComplete,function(n,i,o,r){t.sceneMode=o,t._orthographic=o===ae.SCENE2D||t._scene.camera.frustum instanceof En}),this._eventHelper.add(e.preRender,function(){t._flightInProgress=d(e.camera._currentFlight)}),this._switchToPerspective=ni(function(){t.sceneMode!==ae.SCENE2D&&(t._scene.camera.switchToPerspectiveFrustum(),t._orthographic=!1,t.dropDownVisible=!1)}),this._switchToOrthographic=ni(function(){t.sceneMode!==ae.SCENE2D&&(t._scene.camera.switchToOrthographicFrustum(),t._orthographic=!0,t.dropDownVisible=!1)}),this._sceneMode=ae}Object.defineProperties(OH.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}}});OH.prototype.isDestroyed=function(){return!1};OH.prototype.destroy=function(){this._eventHelper.removeAll(),fe(this)};var x3=OH;var Q9t="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",j9t="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 KH(e,t){e=ui(e);let n=new x3(t);n._perspectivePath=Q9t,n._orthographicPath=j9t;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),Re.applyBindings(n,i),this._viewModel=n,this._container=e,this._wrapper=i,this._closeDropDown=function(a){i.contains(a.target)||(n.dropDownVisible=!1)},yn.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(KH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});KH.prototype.isDestroyed=function(){return!1};KH.prototype.destroy=function(){return this._viewModel.destroy(),yn.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Re.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),fe(this)};var T3=KH;var mor=S(C(),1);var ror=S(C(),1);function HH(e,t){this._scene=e;let n=this,i=function(o,r,s,a){n.sceneMode=s,n.dropDownVisible=!1};this._eventHelper=new ws,this._eventHelper.add(e.morphStart,i),this._duration=g(t,2),this.sceneMode=e.mode,this.dropDownVisible=!1,this.tooltip2D="2D",this.tooltip3D="3D",this.tooltipColumbusView="Columbus View",Re.track(this,["sceneMode","dropDownVisible","tooltip2D","tooltip3D","tooltipColumbusView"]),this.selectedTooltip=void 0,Re.defineProperty(this,"selectedTooltip",function(){let o=n.sceneMode;return o===ae.SCENE2D?n.tooltip2D:o===ae.SCENE3D?n.tooltip3D:n.tooltipColumbusView}),this._toggleDropDown=ni(function(){n.dropDownVisible=!n.dropDownVisible}),this._morphTo2D=ni(function(){e.morphTo2D(n._duration)}),this._morphTo3D=ni(function(){e.morphTo3D(n._duration)}),this._morphToColumbusView=ni(function(){e.morphToColumbusView(n._duration)}),this._sceneMode=ae}Object.defineProperties(HH.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}}});HH.prototype.isDestroyed=function(){return!1};HH.prototype.destroy=function(){this._eventHelper.removeAll(),fe(this)};var _3=HH;var q9t="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",$9t="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",e5t="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 JH(e,t,n){e=ui(e);let i=new _3(t,n);i._globePath=q9t,i._flatMapPath=$9t,i._columbusViewPath=e5t;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),Re.applyBindings(i,o),this._viewModel=i,this._container=e,this._wrapper=o,this._closeDropDown=function(l){o.contains(l.target)||(i.dropDownVisible=!1)},yn.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(JH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});JH.prototype.isDestroyed=function(){return!1};JH.prototype.destroy=function(){return this._viewModel.destroy(),yn.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Re.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),fe(this)};var S3=JH;var Vor=S(C(),1);var gor=S(C(),1);var t5t=new Y,QH="-1000px";function C3(e,t,n){this._scene=e,this._screenPositionX=QH,this._screenPositionY=QH,this._tweens=e.tweens,this._container=g(n,document.body),this._selectionIndicatorElement=t,this._scale=1,this.position=void 0,this.showSelection=!1,Re.track(this,["position","_screenPositionX","_screenPositionY","_scale","showSelection"]),this.isVisible=void 0,Re.defineProperty(this,"isVisible",{get:function(){return this.showSelection&&d(this.position)}}),Re.defineProperty(this,"_transform",{get:function(){return`scale(${this._scale})`}}),this.computeScreenSpacePosition=function(i,o){return go.worldToWindowCoordinates(e,i,o)}}C3.prototype.update=function(){if(this.showSelection&&d(this.position)){let e=this.computeScreenSpacePosition(this.position,t5t);if(!d(e))this._screenPositionX=QH,this._screenPositionY=QH;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`}}};C3.prototype.animateAppear=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:2,stopValue:1,duration:.8,easingFunction:Xs.EXPONENTIAL_OUT})};C3.prototype.animateDepart=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:this._scale,stopValue:1.5,duration:.8,easingFunction:Xs.EXPONENTIAL_OUT})};Object.defineProperties(C3.prototype,{container:{get:function(){return this._container}},selectionIndicatorElement:{get:function(){return this._selectionIndicatorElement}},scene:{get:function(){return this._scene}}});var L3=C3;function jH(e,t){e=ui(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 L3(t,this._element,this._container);this._viewModel=c,Re.applyBindings(this._viewModel,this._element)}Object.defineProperties(jH.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});jH.prototype.isDestroyed=function(){return!1};jH.prototype.destroy=function(){let e=this._container;return Re.cleanNode(this._element),e.removeChild(this._element),fe(this)};var V3=jH;var Nor=S(C(),1);var Gor=S(C(),1);function hL(e,t,n){this._color=e,this._height=t,this._base=g(n,0)}hL.prototype.getHeight=function(){return this._height};hL.prototype.getBase=function(){return this._base};hL.prototype.getStartTime=function(){return this._start};hL.prototype.getStopTime=function(){return this._stop};hL.prototype.setRange=function(e,t){this._start=e,this._stop=t};hL.prototype.render=function(e){let t="";if(this._start&&this._stop&&this._color){let n=ee.secondsDifference(this._start,e.epochJulian),i=Math.round(e.timeBarWidth*e.getAlpha(n)),o=ee.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 Z3=hL;var Mor=S(C(),1);function yMe(e,t,n,i){this.interval=e,this.height=t,this.color=n||new z(.5,.5,.5,1),this.backgroundColor=i||new z(0,0,0,0)}yMe.prototype.render=function(e,t){let n=this.interval.start,i=this.interval.stop,o=t.startJulian,r=ee.addSeconds(t.startJulian,t.duration,new ee);if(ee.lessThan(n,o)&&ee.greaterThan(i,r))e.fillStyle=this.color.toCssColorString(),e.fillRect(0,t.y,t.timeBarWidth,this.height);else if(ee.lessThanOrEquals(n,r)&&ee.greaterThanOrEquals(i,o)){let s,a,c;for(s=0;s<t.timeBarWidth;++s){let l=ee.addSeconds(t.startJulian,s/t.timeBarWidth*t.duration,new ee);!d(a)&&ee.greaterThanOrEquals(l,n)?a=s:!d(c)&&ee.greaterThanOrEquals(l,i)&&(c=s)}e.fillStyle=this.backgroundColor.toCssColorString(),e.fillRect(0,t.y,t.timeBarWidth,this.height),d(a)&&(d(c)||(c=t.timeBarWidth),e.fillStyle=this.color.toCssColorString(),e.fillRect(a,t.y,Math.max(c-a,1),this.height))}};var R3=yMe;var Roe=1e12,Dh={none:0,scrub:1,slide:2,zoom:3,touchOnly:4},Id={none:0,scrub:1,slideZoom:2,singleTap:3,ignore:4},l_=[.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],n5t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Md(e,t){e=ui(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=Dh.none,this._touchMode=Id.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=i5t(this),this._onMouseUp=o5t(this),this._onMouseMove=r5t(this),this._onMouseWheel=s5t(this),this._onTouchStart=a5t(this),this._onTouchMove=l5t(this),this._onTouchEnd=c5t(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()}Md.prototype.addEventListener=function(e,t,n){this._topDiv.addEventListener(e,t,n)};Md.prototype.removeEventListener=function(e,t,n){this._topDiv.removeEventListener(e,t,n)};Md.prototype.isDestroyed=function(){return!1};Md.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),fe(this)};Md.prototype.addHighlightRange=function(e,t,n){let i=new Z3(e,t,n);return this._highlightRanges.push(i),this.resize(),i};Md.prototype.addTrack=function(e,t,n,i){let o=new R3(e,t,n,i);return this._trackList.push(o),this._lastHeight=void 0,this.resize(),o};Md.prototype.zoomTo=function(e,t){if(this._startJulian=e,this._endJulian=t,this._timeBarSecondsSpan=ee.secondsDifference(t,e),this._clock&&this._clock.clockRange!==Is.UNBOUNDED){let i=this._clock.startTime,o=this._clock.stopTime,r=ee.secondsDifference(o,i),s=ee.secondsDifference(i,this._startJulian),a=ee.secondsDifference(o,this._endJulian);this._timeBarSecondsSpan>=r?(this._timeBarSecondsSpan=r,this._startJulian=this._clock.startTime,this._endJulian=this._clock.stopTime):s>0?(this._endJulian=ee.addSeconds(this._endJulian,s,new ee),this._startJulian=i,this._timeBarSecondsSpan=ee.secondsDifference(this._endJulian,this._startJulian)):a<0&&(this._startJulian=ee.addSeconds(this._startJulian,a,new ee),this._endJulian=o,this._timeBarSecondsSpan=ee.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)};Md.prototype.zoomFrom=function(e){let t=ee.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(ee.addSeconds(this._startJulian,t-t*e,new ee),ee.addSeconds(this._endJulian,n*e-n,new ee))};function Goe(e){return e<10?`0${e.toString()}`:e.toString()}Md.prototype.makeLabel=function(e){let t=ee.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`${n5t[t.month-1]} ${t.day} ${t.year} ${Goe(t.hour)}:${Goe(t.minute)}:${Goe(t.second)}${i}`};Md.prototype.smallestTicInPixels=7;Md.prototype._makeTics=function(){let e=this._timeBarEle,t=ee.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,l=1e-10,u=0,m=this._timeBarSecondsSpan;m<a?(m=a,this._timeBarSecondsSpan=a,this._endJulian=ee.addSeconds(this._startJulian,a,new ee)):m>c&&(m=c,this._timeBarSecondsSpan=c,this._endJulian=ee.addSeconds(this._startJulian,c,new ee));let f=this._timeBarEle.clientWidth;f<10&&(f=10);let b=this._startJulian,p=Math.min(m/f*1e-5,.4),x,T=ee.toGregorianDate(b);m>31536e4?x=ee.fromDate(new Date(Date.UTC(Math.floor(T.year/100)*100,0))):m>31536e3?x=ee.fromDate(new Date(Date.UTC(Math.floor(T.year/10)*10,0))):m>86400?x=ee.fromDate(new Date(Date.UTC(T.year,0))):x=ee.fromDate(new Date(Date.UTC(T.year,T.month,T.day)));let _=ee.secondsDifference(this._startJulian,ee.addSeconds(x,p,new ee)),L=_+m;this._epochJulian=x;function V(D){return Math.floor(_/D)*D}function Z(D,O){return Math.ceil(D/O+.5)*O}function G(D){return(D-_)/m}function I(D,O){return D-O*Math.round(D/O)}this._rulerEle.innerHTML=this.makeLabel(ee.addSeconds(this._endJulian,-a,new ee));let w=this._rulerEle.offsetWidth+20;w<30&&(w=180);let W=u;u-=l;let v={startTime:_,startJulian:b,epochJulian:x,duration:m,timeBarWidth:f,getAlpha:G};this._highlightRanges.forEach(function(D){s+=D.render(v)});let N=0,y=0,R=0,E=w/f;E>1&&(E=1),E*=this._timeBarSecondsSpan;let M=-1,F=-1,A=l_.length,B;for(B=0;B<A;++B){let D=l_[B];if(++M,N=D,D>E&&D>u)break;F<0&&f*(D/this._timeBarSecondsSpan)>=this.smallestTicInPixels&&(F=M)}if(M>0){for(;M>0;)if(--M,Math.abs(I(N,l_[M]))<1e-5){l_[M]>=u&&(y=l_[M]);break}if(F>=0)for(;F<M;){if(Math.abs(I(y,l_[F]))<1e-5&&l_[F]>=u){R=l_[F];break}++F}}u=W,u>l&&R<1e-5&&Math.abs(u-N)>l&&(R=u,u<=N+l&&(y=0));let U=-999999,k;if(f*(R/this._timeBarSecondsSpan)>=3)for(o=V(R);o<=L;o=Z(o,R))s+=`<span class="cesium-timeline-ticTiny" style="left: ${Math.round(f*G(o)).toString()}px;"></span>`;if(f*(y/this._timeBarSecondsSpan)>=3)for(o=V(y);o<=L;o=Z(o,y))s+=`<span class="cesium-timeline-ticSub" style="left: ${Math.round(f*G(o)).toString()}px;"></span>`;if(f*(N/this._timeBarSecondsSpan)>=2){this._mainTicSpan=N,L+=N,o=V(N);let D=ee.computeTaiMinusUtc(x);for(;o<=L;){let O=ee.addSeconds(b,o-_,new ee);if(N>2.1){let ne=ee.computeTaiMinusUtc(O);Math.abs(ne-D)>.1&&(o+=ne-D,O=ee.addSeconds(b,o-_,new ee))}let K=Math.round(f*G(o)),j=this.makeLabel(O);this._rulerEle.innerHTML=j,k=this._rulerEle.offsetWidth,k<10&&(k=w);let J=K-(k/2-1);J>U?(U=J+k+5,s+=`<span class="cesium-timeline-ticMain" style="left: ${K.toString()}px;"></span><span class="cesium-timeline-ticLabel" style="left: ${J.toString()}px;">${j}</span>`):s+=`<span class="cesium-timeline-ticSub" style="left: ${K.toString()}px;"></span>`,o=Z(o,N)}}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),v.y=0,this._trackList.forEach(function(D){D.render(r._context,v),v.y+=D.height})};Md.prototype.updateFromClock=function(){this._scrubJulian=this._clock.currentTime;let e=this._scrubElement;if(d(this._scrubElement)){let t=ee.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`)}d(this._timelineDragLocation)&&(this._setTimeBarTime(this._timelineDragLocation,this._timelineDragLocation*this._timeBarSecondsSpan/this._topDiv.clientWidth),this.zoomTo(ee.addSeconds(this._startJulian,this._timelineDrag,new ee),ee.addSeconds(this._endJulian,this._timelineDrag,new ee)))};Md.prototype._setTimeBarTime=function(e,t){if(e=Math.round(e),this._scrubJulian=ee.addSeconds(this._startJulian,t,new ee),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 i5t(e){return function(t){e._mouseMode!==Dh.touchOnly&&(t.button===0?(e._mouseMode=Dh.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition="-16px 0"),e._onMouseMove(t)):(e._mouseX=t.clientX,t.button===2?e._mouseMode=Dh.zoom:e._mouseMode=Dh.slide)),t.preventDefault()}}function o5t(e){return function(t){e._mouseMode=Dh.none,e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0"),e._timelineDrag=0,e._timelineDragLocation=void 0}}function r5t(e){return function(t){let n;if(e._mouseMode===Dh.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===Dh.slide){if(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0){let i=n*e._timeBarSecondsSpan/e._topDiv.clientWidth;e.zoomTo(ee.addSeconds(e._startJulian,i,new ee),ee.addSeconds(e._endJulian,i,new ee))}}else e._mouseMode===Dh.zoom&&(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0&&e.zoomFrom(Math.pow(1.01,n)))}}function s5t(e){return function(t){let n=t.wheelDeltaY||t.wheelDelta||-t.detail;Roe=Math.max(Math.min(Math.abs(n),Roe),1),n/=Roe,e.zoomFrom(Math.pow(1.05,-n))}}function a5t(e){return function(t){let n=t.touches.length,i,o,r=e._topDiv.getBoundingClientRect().left;t.preventDefault(),e._mouseMode=Dh.touchOnly,n===1?(i=ee.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=Id.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition=n===1?"-16px 0":"0 0")):(e._touchMode=Id.singleTap,e._touchState.centerX=t.touches[0].clientX-r)):n===2?(e._touchMode=Id.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=Id.ignore}}function c5t(e){return function(t){let n=t.touches.length,i=e._topDiv.getBoundingClientRect().left;e._touchMode===Id.singleTap?(e._touchMode=Id.scrub,e._onTouchMove(t)):e._touchMode===Id.scrub&&e._onTouchMove(t),e._mouseMode=Dh.touchOnly,n!==1?e._touchMode=n>0?Id.ignore:Id.none:e._touchMode===Id.slideZoom&&(e._touchState.centerX=t.touches[0].clientX-i),e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0")}}function l5t(e){return function(t){let n,i,o,r,s,a,c=1,l=e._topDiv.getBoundingClientRect().left;e._touchMode===Id.singleTap&&(e._touchMode=Id.slideZoom),e._mouseMode=Dh.touchOnly,e._touchMode===Id.scrub?(t.preventDefault(),t.changedTouches.length===1&&(i=t.changedTouches[0].clientX-l,i>=0&&i<=e._topDiv.clientWidth&&e._setTimeBarTime(i,i*e._timeBarSecondsSpan/e._topDiv.clientWidth))):e._touchMode===Id.slideZoom&&(o=t.touches.length,o===2?(r=(t.touches[0].clientX+t.touches[1].clientX)*.5-l,s=Math.abs(t.touches[0].clientX-t.touches[1].clientX)):o===1&&(r=t.touches[0].clientX-l,s=0),d(r)&&(s>0&&e._touchState.spanX>0?(c=e._touchState.spanX/s,a=ee.addSeconds(e._startJulian,(e._touchState.centerX*e._timeBarSecondsSpan-r*e._timeBarSecondsSpan*c)/e._topDiv.clientWidth,new ee)):(n=e._touchState.centerX-r,a=ee.addSeconds(e._startJulian,n*e._timeBarSecondsSpan/e._topDiv.clientWidth,new ee)),e.zoomTo(a,ee.addSeconds(a,e._timeBarSecondsSpan*c,new ee)),e._touchState.centerX=r,e._touchState.spanX=s))}}Md.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 G3=Md;var Srr=S(C(),1);var err=S(C(),1);var Kor=S(C(),1);var SMe=S(_Me(),1);function m5t(e){let t=!1,n=window.screen;return d(n)&&(d(n.lockOrientation)?t=n.lockOrientation(e):d(n.mozLockOrientation)?t=n.mozLockOrientation(e):d(n.msLockOrientation)?t=n.msLockOrientation(e):d(n.orientation&&n.orientation.lock)&&(t=n.orientation.lock(e))),t}function CMe(){let e=window.screen;d(e)&&(d(e.unlockOrientation)?e.unlockOrientation():d(e.mozUnlockOrientation)?e.mozUnlockOrientation():d(e.msUnlockOrientation)?e.msUnlockOrientation():d(e.orientation&&e.orientation.unlock)&&e.orientation.unlock())}function h5t(e,t,n,i){i()||(n()?(t.useWebVR=!1,e._locked&&(CMe(),e._locked=!1),e._noSleep.disable(),ms.exitFullscreen(),n(!1)):(ms.fullscreen||ms.requestFullscreen(e._vrElement),e._noSleep.enable(),e._locked||(e._locked=m5t("landscape")),t.useWebVR=!0,n(!0)))}function qH(e,t){let n=this,i=Re.observable(ms.enabled),o=Re.observable(!1);this.isVRMode=void 0,Re.defineProperty(this,"isVRMode",{get:function(){return o()}}),this.isVREnabled=void 0,Re.defineProperty(this,"isVREnabled",{get:function(){return i()},set:function(s){i(s&&ms.enabled)}}),this.tooltip=void 0,Re.defineProperty(this,"tooltip",function(){return i()?o()?"Exit VR mode":"Enter VR mode":"VR mode is unavailable"});let r=Re.observable(!1);this._isOrthographic=void 0,Re.defineProperty(this,"_isOrthographic",{get:function(){return r()}}),this._eventHelper=new ws,this._eventHelper.add(e.preRender,function(){r(e.camera.frustum instanceof En)}),this._locked=!1,this._noSleep=new SMe.default,this._command=ni(function(){h5t(n,e,o,r)},Re.getObservable(this,"isVREnabled")),this._vrElement=g(ui(t),document.body),this._callback=function(){!ms.fullscreen&&o()&&(e.useWebVR=!1,n._locked&&(CMe(),n._locked=!1),n._noSleep.disable(),o(!1))},document.addEventListener(ms.changeEventName,this._callback)}Object.defineProperties(qH.prototype,{vrElement:{get:function(){return this._vrElement},set:function(e){this._vrElement=e}},command:{get:function(){return this._command}}});qH.prototype.isDestroyed=function(){return!1};qH.prototype.destroy=function(){this._eventHelper.removeAll(),document.removeEventListener(ms.changeEventName,this._callback),fe(this)};var E3=qH;var p5t="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",f5t="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 $H(e,t,n){e=ui(e);let i=new E3(t,n);i._exitVRPath=f5t,i._enterVRPath=p5t;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),Re.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties($H.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});$H.prototype.isDestroyed=function(){return!1};$H.prototype.destroy=function(){return this._viewModel.destroy(),Re.cleanNode(this._element),this._container.removeChild(this._element),fe(this)};var I3=$H;var d_=new de;function ZMe(e){let t=e.clock;t.currentTime=e.timeJulian,t.shouldAnimate=!1}function b5t(e){let t=e.getPropertyIds(),n="";return Array.isArray(t)&&(t.forEach(function(i){let o=e.getProperty(i);d(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 y5t(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(d(r)&&r!=="")return r}return"Unnamed Feature"}function LMe(e,t){let n=e.scene.pick(t.position);if(d(n)){let i=g(n.id,n.primitive.id);if(i instanceof Jr)return i;if(n instanceof Ya)return new Jr({name:y5t(n),description:b5t(n),feature:n})}if(d(e.scene.globe))return T5t(e,t.position)}var g5t=new ee;function RMe(e,t,n){if(d(n)){let i=n.clock;if(d(i)&&(i.getValue(t),d(e))){let o=i.startTime,r=i.stopTime;ee.equals(o,r)&&(r=ee.addSeconds(o,X.EPSILON2,g5t)),e.updateFromClock(),e.zoomTo(o,r)}}}var x5t=new h;function T5t(e,t){let n=e.scene,i=n.camera.getPickRay(t),o=n.imageryLayers.pickImageryLayerFeatures(i,n);if(!d(o))return;let r=new Jr({id:"Loading...",description:"Loading feature information..."});return o.then(function(s){if(e.selectedEntity!==r)return;if(!d(s)||s.length===0){e.selectedEntity=VMe();return}let a=s[0],c=new Jr({id:a.name,description:a.description});if(d(a.position)){let l=e.scene.ellipsoid.cartographicToCartesian(a.position,x5t);c.position=new rd(l)}e.selectedEntity=c},function(){e.selectedEntity===r&&(e.selectedEntity=VMe())}),r}function VMe(){return new Jr({id:"None",description:"No features found."})}function _5t(e,t){let n=e._geocoder,i=e._homeButton,o=e._sceneModePicker,r=e._projectionPicker,s=e._baseLayerPicker,a=e._animation,c=e._timeline,l=e._fullscreenButton,u=e._infoBox,m=e._selectionIndicator,f=t?"hidden":"visible";if(d(n)&&(n.container.style.visibility=f),d(i)&&(i.container.style.visibility=f),d(o)&&(o.container.style.visibility=f),d(r)&&(r.container.style.visibility=f),d(s)&&(s.container.style.visibility=f),d(a)&&(a.container.style.visibility=f),d(c)&&(c.container.style.visibility=f),d(l)&&l.viewModel.isFullscreenEnabled&&(l.container.style.visibility=f),d(u)&&(u.container.style.visibility=f),d(m)&&(m.container.style.visibility=f),e._container){let b=t||!d(l)?0:l.container.clientWidth;e._vrButton.container.style.right=`${b}px`,e.forceResize()}}function _o(e,t){e=ui(e),t=g(t,{}),t.selectionIndicator=g(t.selectionIndicator,!1),t.infoBox=g(t.selectionIndicator,!1),t.geocoder=g(t.geocoder,!1),t.homeButton=g(t.homeButton,!1),t.sceneModePicker=g(t.sceneModePicker,!1),t.baseLayerPicker=g(t.baseLayerPicker,!1),t.navigationHelpButton=g(t.navigationHelpButton,!1),t.timeline=g(t.timeline,!1),t.animation=g(t.animation,!1),t.fullscreenButton=g(t.fullscreenButton,!1);let n=(!d(t.globe)||t.globe!==!1)&&(!d(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";let a=g(t.scene3DOnly,!1),c,l,u=!1;d(t.clockViewModel)?(l=t.clockViewModel,c=l.clock):(c=new rp,l=new zD(c),u=!0),d(t.shouldAnimate)&&(c.shouldAnimate=t.shouldAnimate);let m=1;if(d(t.logoScale)){let j=parseFloat(t.logoScale);d(j)&&j>=.2&&(m=j)}let f=new GD(r,{baseLayer:n&&d(t.selectedImageryProviderViewModel)||d(t.baseLayer)||d(t.imageryProvider)?!1:void 0,clock:c,skyBox:t.skyBox,skyAtmosphere:t.skyAtmosphere,sceneMode:t.sceneMode,ellipsoid:t.ellipsoid,mapProjection:t.mapProjection,globe:t.globe,orderIndependentTranslucency:t.orderIndependentTranslucency,contextOptions:t.contextOptions,useDefaultRenderLoop:t.useDefaultRenderLoop,targetFrameRate:t.targetFrameRate,showRenderLoopErrors:t.showRenderLoopErrors,useBrowserRecommendedResolution:t.useBrowserRecommendedResolution,creditContainer:d(t.creditContainer)?t.creditContainer:s,creditViewport:t.creditViewport,scene3DOnly:a,logoScale:m,shadows:t.shadows,terrainShadows:t.terrainShadows,mapMode2D:t.mapMode2D,blurActiveElementOnCanvasFocus:t.blurActiveElementOnCanvasFocus,requestRenderMode:t.requestRenderMode,maximumRenderTimeChange:t.maximumRenderTimeChange,depthPlaneEllipsoidOffset:t.depthPlaneEllipsoidOffset,msaaSamples:t.msaaSamples}),b=t.dataSources,p=!1;d(b)||(b=new u9,p=!0);let x=f.scene,T=new X9({scene:x,dataSourceCollection:b}),_=new ws;_.add(c.onTick,_o.prototype._onTick,this),_.add(x.morphStart,_o.prototype._clearTrackedObject,this);let L;if(!d(t.selectionIndicator)||t.selectionIndicator!==!1){let j=document.createElement("div");j.className="cesium-viewer-selectionIndicatorContainer",o.appendChild(j),L=new V3(j,x)}let V;if(!d(t.infoBox)||t.infoBox!==!1){let j=document.createElement("div");j.className="cesium-viewer-infoBoxContainer",o.appendChild(j),V=new p3(j);let J=V.viewModel;_.add(J.cameraClicked,_o.prototype._onInfoBoxCameraClicked,this),_.add(J.closeClicked,_o.prototype._onInfoBoxClockClicked,this)}let Z=document.createElement("div");Z.className="cesium-viewer-toolbar",o.appendChild(Z);let G;if(!d(t.geocoder)||t.geocoder!==!1){let j=document.createElement("div");j.className="cesium-viewer-geocoderContainer",Z.appendChild(j);let J;d(t.geocoder)&&typeof t.geocoder!="boolean"&&(J=Array.isArray(t.geocoder)?t.geocoder:[t.geocoder]),G=new l3({container:j,geocoderServices:J,scene:x}),_.add(G.viewModel.search.beforeExecute,_o.prototype._clearObjects,this)}let I;(!d(t.homeButton)||t.homeButton!==!1)&&(I=new u3(Z,x),d(G)&&_.add(I.viewModel.command.afterExecute,function(){let j=G.viewModel;j.searchText="",j.isSearchInProgress&&j.search()}),_.add(I.viewModel.command.beforeExecute,_o.prototype._clearTrackedObject,this));let w;!a&&(!d(t.sceneModePicker)||t.sceneModePicker!==!1)&&(w=new S3(Z,x));let W;t.projectionPicker&&(W=new T3(Z,x));let v,N;if(n){let j=g(t.imageryProviderViewModels,jD()),J=g(t.terrainProviderViewModels,qD());v=new QD(Z,{globe:x.globe,imageryProviderViewModels:j,selectedImageryProviderViewModel:t.selectedImageryProviderViewModel,terrainProviderViewModels:J,selectedTerrainProviderViewModel:t.selectedTerrainProviderViewModel}),N=Z.getElementsByClassName("cesium-baseLayerPicker-dropDown")[0]}d(t.baseLayer)&&t.baseLayer!==!1&&(n&&(v.viewModel.selectedImagery=void 0),x.imageryLayers.removeAll(),x.imageryLayers.add(t.baseLayer)),d(t.terrainProvider)&&(n&&(v.viewModel.selectedTerrain=void 0),x.terrainProvider=t.terrainProvider),d(t.terrain)&&(n&&(x.globe.depthTestAgainstTerrain=!0),x.setTerrain(t.terrain));let y;if(!d(t.navigationHelpButton)||t.navigationHelpButton!==!1){let j=!0;try{if(d(window.localStorage)){let J=window.localStorage.getItem("cesium-hasSeenNavHelp");d(J)&&J?j=!1:window.localStorage.setItem("cesium-hasSeenNavHelp","true")}}catch{}y=new b3({container:Z,instructionsInitiallyVisible:g(t.navigationInstructionsInitiallyVisible,j)})}let R;if(!d(t.animation)||t.animation!==!1){let j=document.createElement("div");j.className="cesium-viewer-animationContainer",o.appendChild(j),R=new KD(j,new HD(l))}let E;if(!d(t.timeline)||t.timeline!==!1){let j=document.createElement("div");j.className="cesium-viewer-timelineContainer",o.appendChild(j),E=new G3(j,c),E.addEventListener("settime",ZMe,!1),E.zoomTo(c.startTime,c.stopTime)}let M,F,A;(!d(t.fullscreenButton)||t.fullscreenButton!==!1)&&(A=document.createElement("div"),A.className="cesium-viewer-fullscreenContainer",o.appendChild(A),M=new a3(A,t.fullscreenElement),F=Zc(M.viewModel,"isFullscreenEnabled",function(j){A.style.display=j?"block":"none",d(E)&&(E.container.style.right=`${A.clientWidth}px`,E.resize())}));let B,U,k;if(t.vrButton){let j=document.createElement("div");j.className="cesium-viewer-vrContainer",o.appendChild(j),B=new I3(j,x,t.fullScreenElement),U=Zc(B.viewModel,"isVREnabled",function(J){j.style.display=J?"block":"none",d(M)&&(j.style.right=`${A.clientWidth}px`),d(E)&&(E.container.style.right=`${j.clientWidth}px`,E.resize())}),k=Zc(B.viewModel,"isVRMode",function(J){_5t(i,J)})}this._baseLayerPickerDropDown=N,this._fullscreenSubscription=F,this._vrSubscription=U,this._vrModeSubscription=k,this._dataSourceChangedListeners={},this._automaticallyTrackDataSourceClocks=g(t.automaticallyTrackDataSourceClocks,!0),this._container=e,this._bottomContainer=s,this._element=o,this._cesiumWidget=f,this._selectionIndicator=L,this._infoBox=V,this._dataSourceCollection=b,this._destroyDataSourceCollection=p,this._dataSourceDisplay=T,this._clockViewModel=l,this._destroyClockViewModel=u,this._toolbar=Z,this._homeButton=I,this._sceneModePicker=w,this._projectionPicker=W,this._baseLayerPicker=v,this._navigationHelpButton=y,this._animation=R,this._timeline=E,this._fullscreenButton=M,this._vrButton=B,this._geocoder=G,this._eventHelper=_,this._lastWidth=0,this._lastHeight=0,this._allowDataSourcesToSuspendAnimation=!0,this._entityView=void 0,this._enableInfoOrSelection=d(V)||d(L),this._clockTrackedDataSource=void 0,this._trackedEntity=void 0,this._needTrackedEntityUpdate=!1,this._selectedEntity=void 0,this._zoomIsFlight=!1,this._zoomTarget=void 0,this._zoomPromise=void 0,this._zoomOptions=void 0,this._selectedEntityChanged=new Se,this._trackedEntityChanged=new Se,Re.track(this,["_trackedEntity","_selectedEntity","_clockTrackedDataSource"]),_.add(b.dataSourceAdded,_o.prototype._onDataSourceAdded,this),_.add(b.dataSourceRemoved,_o.prototype._onDataSourceRemoved,this),_.add(x.postUpdate,_o.prototype.resize,this),_.add(x.postRender,_o.prototype._postRender,this);let D=b.length;for(let j=0;j<D;j++)this._dataSourceAdded(b,b.get(j));this._dataSourceAdded(void 0,T.defaultDataSource),_.add(b.dataSourceAdded,_o.prototype._dataSourceAdded,this),_.add(b.dataSourceRemoved,_o.prototype._dataSourceRemoved,this);function O(j){let J=LMe(i,j);d(J)?Q.getValueOrUndefined(J.position,i.clock.currentTime)?i.trackedEntity=J:i.zoomTo(J):d(i.trackedEntity)&&(i.trackedEntity=void 0)}function K(j){i.selectedEntity=LMe(i,j)}f.screenSpaceEventHandler.setInputAction(K,qn.LEFT_CLICK),f.screenSpaceEventHandler.setInputAction(O,qn.LEFT_DOUBLE_CLICK)}Object.defineProperties(_o.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._dataSourceDisplay}},entities:{get:function(){return this._dataSourceDisplay.defaultDataSource.entities}},dataSources:{get:function(){return this._dataSourceCollection}},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._allowDataSourcesToSuspendAnimation},set:function(e){this._allowDataSourcesToSuspendAnimation=e}},trackedEntity:{get:function(){return this._trackedEntity},set:function(e){if(this._trackedEntity!==e){this._trackedEntity=e,Xoe(this);let t=this.scene,n=t.mode;!d(e)||!d(e.position)?(this._needTrackedEntityUpdate=!1,(n===ae.COLUMBUS_VIEW||n===ae.SCENE2D)&&(t.screenSpaceCameraController.enableTranslate=!0),(n===ae.COLUMBUS_VIEW||n===ae.SCENE3D)&&(t.screenSpaceCameraController.enableTilt=!0),this._entityView=void 0,this.camera.lookAtTransform(P.IDENTITY)):this._needTrackedEntityUpdate=!0,this._trackedEntityChanged.raiseEvent(e),this.scene.requestRender()}}},selectedEntity:{get:function(){return this._selectedEntity},set:function(e){if(this._selectedEntity!==e){this._selectedEntity=e;let t=d(this._selectionIndicator)?this._selectionIndicator.viewModel:void 0;d(e)?d(t)&&t.animateAppear():d(t)&&t.animateDepart(),this._selectedEntityChanged.raiseEvent(e)}}},selectedEntityChanged:{get:function(){return this._selectedEntityChanged}},trackedEntityChanged:{get:function(){return this._trackedEntityChanged}},clockTrackedDataSource:{get:function(){return this._clockTrackedDataSource},set:function(e){this._clockTrackedDataSource!==e&&(this._clockTrackedDataSource=e,RMe(this._timeline,this.clock,e))}}});_o.prototype.getCurrentTilesLevels=function(){this.scene._globe.depthTestAgainstTerrain=!0;let e=this.scene._globe._surface._tilesToRender,t=this.camera.positionWC,n=this.camera.directionWC,i=new Ray(t,n),o=this.scene.pickFromRay(i,[]);if(o===void 0||o.position===void 0)return;let r=o.position,s=h.distance(r,t),a={};a.centerTileLevel=0,a.maxTileLevel=0,a.minTileLevel=Number.POSITIVE_INFINITY;let c=Number.POSITIVE_INFINITY;for(let l=0,u=e.length;l<u;l++){e[l].level>a.maxTileLevel&&(a.maxTileLevel=e[l].level),e[l].level<a.minTileLevel&&(a.minTileLevel=e[l].level);let m=Math.abs(e[l]._distance-s)<c;m<c&&(c=m,a.centerTileLevel=e[l].level)}return a};_o.prototype.extend=function(e,t){e(this,t)};_o.prototype.resize=function(){let e=this._cesiumWidget,t=this._container,n=t.clientWidth,i=t.clientHeight,o=d(this._animation),r=d(this._timeline);if(e.resize(),n===this._lastWidth&&i===this._lastHeight)return;let s=i-125,a=this._baseLayerPickerDropDown;if(d(a)&&(a.style.maxHeight=`${s}px`),d(this._geocoder)){let p=this._geocoder.searchSuggestionsContainer;p.style.maxHeight=`${s}px`}d(this._infoBox)&&(this._infoBox.viewModel.maxHeight=s);let c=this._timeline,l,u=0,m=5,f=3,b=0;if(o&&window.getComputedStyle(this._animation.container).visibility!=="hidden"){let p=this._lastWidth;l=this._animation.container,n>900?(u=169,p<=900&&(l.style.width="169px",l.style.height="112px",this._animation.resize())):n>=600?(u=136,(p<600||p>900)&&(l.style.width="136px",l.style.height="90px",this._animation.resize())):(u=106,(p>600||p===0)&&(l.style.width="106px",l.style.height="70px",this._animation.resize())),m=u+5}if(r&&window.getComputedStyle(this._timeline.container).visibility!=="hidden"){let p=this._fullscreenButton,x=this._vrButton,T=c.container,_=T.style;f=T.clientHeight+3,_.left=`${u}px`;let L=0;d(p)&&(L+=p.container.clientWidth),d(x)&&(L+=x.container.clientWidth),_.right=`${L}px`,c.resize()}!r&&d(this._fullscreenButton)&&(b=this._fullscreenButton.container.clientWidth),this._bottomContainer.style.left=`${m}px`,this._bottomContainer.style.bottom=`${f}px`,this._bottomContainer.style.right=`${b}px`,this._lastWidth=n,this._lastHeight=i};_o.prototype.forceResize=function(){this._lastWidth=0,this.resize()};_o.prototype.render=function(){this._cesiumWidget.render()};_o.prototype.isDestroyed=function(){return!1};_o.prototype.destroy=function(){let e;d(this.screenSpaceEventHandler)&&!this.screenSpaceEventHandler.isDestroyed()&&(this.screenSpaceEventHandler.removeInputAction(qn.LEFT_CLICK),this.screenSpaceEventHandler.removeInputAction(qn.LEFT_DOUBLE_CLICK));let t=this.dataSources,n=t.length;for(e=0;e<n;e++)this._dataSourceRemoved(t,t.get(e));return this._dataSourceRemoved(void 0,this._dataSourceDisplay.defaultDataSource),this._container.removeChild(this._element),this._element.removeChild(this._toolbar),this._eventHelper.removeAll(),d(this._geocoder)&&(this._geocoder=this._geocoder.destroy()),d(this._homeButton)&&(this._homeButton=this._homeButton.destroy()),d(this._sceneModePicker)&&(this._sceneModePicker=this._sceneModePicker.destroy()),d(this._projectionPicker)&&(this._projectionPicker=this._projectionPicker.destroy()),d(this._baseLayerPicker)&&(this._baseLayerPicker=this._baseLayerPicker.destroy()),d(this._animation)&&(this._element.removeChild(this._animation.container),this._animation=this._animation.destroy()),d(this._timeline)&&(this._timeline.removeEventListener("settime",ZMe,!1),this._element.removeChild(this._timeline.container),this._timeline=this._timeline.destroy()),d(this._fullscreenButton)&&(this._fullscreenSubscription.dispose(),this._element.removeChild(this._fullscreenButton.container),this._fullscreenButton=this._fullscreenButton.destroy()),d(this._vrButton)&&(this._vrSubscription.dispose(),this._vrModeSubscription.dispose(),this._element.removeChild(this._vrButton.container),this._vrButton=this._vrButton.destroy()),d(this._infoBox)&&(this._element.removeChild(this._infoBox.container),this._infoBox=this._infoBox.destroy()),d(this._selectionIndicator)&&(this._element.removeChild(this._selectionIndicator.container),this._selectionIndicator=this._selectionIndicator.destroy()),this._destroyClockViewModel&&(this._clockViewModel=this._clockViewModel.destroy()),this._dataSourceDisplay=this._dataSourceDisplay.destroy(),this._cesiumWidget=this._cesiumWidget.destroy(),this._destroyDataSourceCollection&&(this._dataSourceCollection=this._dataSourceCollection.destroy()),fe(this)};_o.prototype._dataSourceAdded=function(e,t){t.entities.collectionChanged.addEventListener(_o.prototype._onEntityCollectionChanged,this)};_o.prototype._dataSourceRemoved=function(e,t){let n=t.entities;n.collectionChanged.removeEventListener(_o.prototype._onEntityCollectionChanged,this),d(this.trackedEntity)&&n.getById(this.trackedEntity.id)===this.trackedEntity&&(this.trackedEntity=void 0),d(this.selectedEntity)&&n.getById(this.selectedEntity.id)===this.selectedEntity&&(this.selectedEntity=void 0)};_o.prototype._onTick=function(e){let t=e.currentTime,n=this._dataSourceDisplay.update(t);this._allowDataSourcesToSuspendAnimation&&(this._clockViewModel.canAnimate=n);let i=this._entityView;if(d(i)){let u=this._trackedEntity;this._dataSourceDisplay.getBoundingSphere(u,!0,d_)===vt.DONE&&i.update(t,d_)}let o,r=!1,s=this.selectedEntity,a=d(s)&&this._enableInfoOrSelection;a&&s.isShowing&&s.isAvailable(t)&&(this._dataSourceDisplay.getBoundingSphere(s,!0,d_)!==vt.FAILED?o=d_.center:d(s.position)&&(o=s.position.getValue(t,o)),r=d(o));let c=d(this._selectionIndicator)?this._selectionIndicator.viewModel:void 0;d(c)&&(c.position=h.clone(o,c.position),c.showSelection=a&&r,c.update());let l=d(this._infoBox)?this._infoBox.viewModel:void 0;d(l)&&(l.showInfo=a,l.enableCamera=r,l.isCameraTracking=this.trackedEntity===this.selectedEntity,a?(l.titleText=g(s.name,s.id),l.description=Q.getValueOrDefault(s.description,t,"")):(l.titleText="",l.description=""))};_o.prototype._onEntityCollectionChanged=function(e,t,n){let i=n.length;for(let o=0;o<i;o++){let r=n[o];this.trackedEntity===r&&(this.trackedEntity=void 0),this.selectedEntity===r&&(this.selectedEntity=void 0)}};_o.prototype._onInfoBoxCameraClicked=function(e){if(e.isCameraTracking&&this.trackedEntity===this.selectedEntity)this.trackedEntity=void 0;else{let n=this.selectedEntity.position;d(n)?this.trackedEntity=this.selectedEntity:this.zoomTo(this.selectedEntity)}};_o.prototype._clearTrackedObject=function(){this.trackedEntity=void 0};_o.prototype._onInfoBoxClockClicked=function(e){this.selectedEntity=void 0};_o.prototype._clearObjects=function(){this.trackedEntity=void 0,this.selectedEntity=void 0};_o.prototype._onDataSourceChanged=function(e){this.clockTrackedDataSource===e&&RMe(this.timeline,this.clock,e)};_o.prototype._onDataSourceAdded=function(e,t){this._automaticallyTrackDataSourceClocks&&(this.clockTrackedDataSource=t);let n=t.entities.id,i=this._eventHelper.add(t.changedEvent,_o.prototype._onDataSourceChanged,this);this._dataSourceChangedListeners[n]=i};_o.prototype._onDataSourceRemoved=function(e,t){let n=this.clockTrackedDataSource===t,i=t.entities.id;if(this._dataSourceChangedListeners[i](),this._dataSourceChangedListeners[i]=void 0,n){let o=e.length;this._automaticallyTrackDataSourceClocks&&o>0?this.clockTrackedDataSource=e.get(o-1):this.clockTrackedDataSource=void 0}};_o.prototype.zoomTo=function(e,t){return GMe(this,e,{offset:t},!1)};_o.prototype.flyTo=function(e,t){return GMe(this,e,t,!0)};function GMe(e,t,n,i){Xoe(e);let o=new Promise(r=>{e._completeZoom=function(s){r(s)}});return e._zoomPromise=o,e._zoomIsFlight=i,e._zoomOptions=n,Promise.resolve(t).then(function(r){if(e._zoomPromise===o){if(r instanceof zs){let s;d(r.imageryProvider)?s=Promise.resolve(r.getImageryRectangle()):s=new Promise(a=>{let c=r.readyEvent.addEventListener(()=>{c(),a(r.getImageryRectangle())})}),s.then(function(a){return LC(a,e.scene)}).then(function(a){e._zoomPromise===o&&(e._zoomTarget=a)});return}if(r instanceof ea||r instanceof vG||r instanceof i_||r instanceof Ml){e._zoomTarget=r;return}if(r.isLoading&&d(r.loadingEvent)){let s=r.loadingEvent.addEventListener(function(){s(),e._zoomPromise===o&&(e._zoomTarget=r.entities.values.slice(0))});return}if(Array.isArray(r)){e._zoomTarget=r.slice(0);return}r=g(r.values,r),d(r.entities)&&(r=r.entities.values),Array.isArray(r)?e._zoomTarget=r.slice(0):e._zoomTarget=[r]}}),e.scene.requestRender(),o}function M3(e){e._zoomPromise=void 0,e._zoomTarget=void 0,e._zoomOptions=void 0}function Xoe(e){let t=e._zoomPromise;d(t)&&(M3(e),e._completeZoom(!1))}_o.prototype._postRender=function(){S5t(this),C5t(this)};function S5t(e){let t=e._zoomTarget;if(!d(t)||e.scene.mode===ae.MORPHING)return;let n=e.scene,i=n.camera,o=g(e._zoomOptions,{}),r;function s(u){d(o.offset)||(o.offset=new ul(0,-.5,u.radius)),r={offset:o.offset,duration:o.duration,maximumHeight:o.maximumHeight,complete:function(){e._completeZoom(!0)},cancel:function(){e._completeZoom(!1)}},e._zoomIsFlight?i.flyToBoundingSphere(t.boundingSphere,r):(i.viewBoundingSphere(u,o.offset),i.lookAtTransform(P.IDENTITY),e._completeZoom(!0)),M3(e)}if(t instanceof vG){if(d(t.boundingSphere)){s(t.boundingSphere);return}let u=t.frameChanged.addEventListener(function(m){s(m.boundingSphere),u()});return}if(t instanceof ea||t instanceof i_||t instanceof Ml){s(t.boundingSphere);return}if(t instanceof me){r={destination:n.ellipsoid.cartographicToCartesian(t),duration:o.duration,maximumHeight:o.maximumHeight,complete:function(){e._completeZoom(!0)},cancel:function(){e._completeZoom(!1)}},e._zoomIsFlight?i.flyTo(r):(i.setView(r),e._completeZoom(!0)),M3(e);return}let a=t,c=[];for(let u=0,m=a.length;u<m;u++){let f=e._dataSourceDisplay.getBoundingSphere(a[u],!1,d_);if(f===vt.PENDING)return;f!==vt.FAILED&&c.push(de.clone(d_))}if(c.length===0){Xoe(e);return}e.trackedEntity=void 0;let l=de.fromBoundingSpheres(c);e._zoomIsFlight?(M3(e),i.flyToBoundingSphere(l,{duration:o.duration,maximumHeight:o.maximumHeight,complete:function(){e._completeZoom(!0)},cancel:function(){e._completeZoom(!1)},offset:o.offset})):(i.viewBoundingSphere(l,o.offset),i.lookAtTransform(P.IDENTITY),M3(e),e._completeZoom(!0))}function C5t(e){if(!e._needTrackedEntityUpdate)return;let t=e._trackedEntity,n=e.clock.currentTime,i=Q.getValueOrUndefined(t.position,n);if(!d(i))return;let o=e.scene,r=e._dataSourceDisplay.getBoundingSphere(t,!1,d_);if(r===vt.PENDING)return;let s=o.mode;(s===ae.COLUMBUS_VIEW||s===ae.SCENE2D)&&(o.screenSpaceCameraController.enableTranslate=!1),(s===ae.COLUMBUS_VIEW||s===ae.SCENE3D)&&(o.screenSpaceCameraController.enableTilt=!1);let a=r!==vt.FAILED?d_:void 0;e._entityView=new W9(t,o,o.ellipsoid),e._entityView.update(n,a),e._needTrackedEntityUpdate=!1}var woe=_o;var Vrr=S(C(),1);function L5t(e){let t=document.createElement("div");t.className="cesium-viewer-cesium3DTilesInspectorContainer",e.container.appendChild(t);let n=new n3(t,e.scene);Object.defineProperties(e,{cesium3DTilesInspector:{get:function(){return n}}})}var Woe=L5t;var Grr=S(C(),1);function V5t(e){let t=document.createElement("div");t.className="cesium-viewer-cesiumInspectorContainer",e.container.appendChild(t);let n=new r3(t,e.scene);Object.defineProperties(e,{cesiumInspector:{get:function(){return n}}})}var Poe=V5t;var Xrr=S(C(),1);function Z5t(e,t){t=g(t,g.EMPTY_OBJECT);let n=!0,i=g(t.flyToOnDrop,!0),o=new Se,r=g(t.clearOnDrop,!0),s=g(t.dropTarget,e.container),a=g(t.clampToGround,!0),c=t.proxy;s=ui(s),Object.defineProperties(e,{dropTarget:{get:function(){return s},set:function(u){EMe(s,l),s=u,voe(s,l)}},dropEnabled:{get:function(){return n},set:function(u){u!==n&&(u?voe(s,l):EMe(s,l),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 l(u){pL(u),r&&(e.entities.removeAll(),e.dataSources.removeAll());let m=u.dataTransfer.files,f=m.length;for(let b=0;b<f;b++){let p=m[b],x=new FileReader;x.onload=R5t(e,p,c,a),x.onerror=G5t(e,p),x.readAsText(p)}}voe(s,l),e.destroy=YE(e,e.destroy,function(){e.dropEnabled=!1}),e._handleDrop=l}function pL(e){e.stopPropagation(),e.preventDefault()}function EMe(e,t){let n=e;d(n)&&(n.removeEventListener("drop",t,!1),n.removeEventListener("dragenter",pL,!1),n.removeEventListener("dragover",pL,!1),n.removeEventListener("dragexit",pL,!1))}function voe(e,t){e.addEventListener("drop",t,!1),e.addEventListener("dragenter",pL,!1),e.addEventListener("dragover",pL,!1),e.addEventListener("dragexit",pL,!1)}function R5t(e,t,n,i){let o=e.scene;return function(r){let s=t.name;try{let a;if(/\.czml$/i.test(s))a=d9.load(JSON.parse(r.target.result),{sourceUri:s});else if(/\.geojson$/i.test(s)||/\.json$/i.test(s)||/\.topojson$/i.test(s))a=$9.load(JSON.parse(r.target.result),{sourceUri:s,clampToGround:i});else if(/\.(kml|kmz)$/i.test(s))a=u5.load(t,{sourceUri:s,proxy:n,camera:o.camera,canvas:o.canvas,clampToGround:i,screenOverlayContainer:e.container});else if(/\.gpx$/i.test(s))a=i5.load(t,{sourceUri:s,proxy:n});else{e.dropError.raiseEvent(e,s,`Unrecognized file: ${s}`);return}d(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 G5t(e,t){return function(n){e.dropError.raiseEvent(e,t.name,n.target.error)}}var Noe=Z5t;var Frr=S(C(),1);function E5t(e,t){t=g(t,g.EMPTY_OBJECT);let n=new g3({scene:e.scene,container:e.bottomContainer,lowFrameRateMessage:t.lowFrameRateMessage});Object.defineProperties(e,{performanceWatchdog:{get:function(){return n}}})}var Foe=E5t;var $rr=S(C(),1);var Qrr=S(C(),1);var zrr=S(C(),1);function IMe(e){let t=e.split(`
|
|
19086
19086
|
`),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}
|
|
19087
19087
|
`}return i}function Uh(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]}),d(c)&&t._getPrimitiveFunctions.push(c);let l=Re.observable();return Re.defineProperty(t,r,{get:function(){return l()},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),l(u),d(a)&&d(t._voxelPrimitive)&&(a(u),e.requestRender())}}),t[r]=s,l}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=IMe(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===Xo.BOX}}),n({name:"shapeIsEllipsoid",getPrimitiveFunction:function(){let o=t._voxelPrimitive.shape;t.shapeIsEllipsoid=o===Xo.ELLIPSOID}}),n({name:"shapeIsCylinder",getPrimitiveFunction:function(){let o=t._voxelPrimitive.shape;t.shapeIsCylinder=o===Xo.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:"boundsCylinderMaxHeight",initialValue:0,setPrimitiveFunction:i("maxBounds","y"),getPrimitiveFunction:function(){t.boundsCylinderMaxHeight=t._voxelPrimitive.maxBounds.y}}),n({name:"boundsCylinderMinHeight",initialValue:0,setPrimitiveFunction:i("minBounds","y"),getPrimitiveFunction:function(){t.boundsCylinderMinHeight=t._voxelPrimitive.minBounds.y}}),n({name:"boundsCylinderMaxAngle",initialValue:0,setPrimitiveFunction:i("maxBounds","z"),getPrimitiveFunction:function(){t.boundsCylinderMaxAngle=t._voxelPrimitive.maxBounds.z}}),n({name:"boundsCylinderMinAngle",initialValue:0,setPrimitiveFunction:i("minBounds","z"),getPrimitiveFunction:function(){t.boundsCylinderMinAngle=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:"clippingCylinderMaxHeight",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","y"),getPrimitiveFunction:function(){t.clippingCylinderMaxHeight=t._voxelPrimitive.maxClippingBounds.y}}),n({name:"clippingCylinderMinHeight",initialValue:0,setPrimitiveFunction:i("minClippingBounds","y"),getPrimitiveFunction:function(){t.clippingCylinderMinHeight=t._voxelPrimitive.minClippingBounds.y}}),n({name:"clippingCylinderMaxAngle",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","z"),getPrimitiveFunction:function(){t.clippingCylinderMaxAngle=t._voxelPrimitive.maxClippingBounds.z}}),n({name:"clippingCylinderMinAngle",initialValue:0,setPrimitiveFunction:i("minClippingBounds","z"),getPrimitiveFunction:function(){t.clippingCylinderMinAngle=t._voxelPrimitive.minClippingBounds.z}}),n({name:"translationX",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&tb(t)},getPrimitiveFunction:function(){t.translationX=P.getTranslation(t._voxelPrimitive.modelMatrix,new h).x}}),n({name:"translationY",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&tb(t)},getPrimitiveFunction:function(){t.translationY=P.getTranslation(t._voxelPrimitive.modelMatrix,new h).y}}),n({name:"translationZ",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&tb(t)},getPrimitiveFunction:function(){t.translationZ=P.getTranslation(t._voxelPrimitive.modelMatrix,new h).z}}),n({name:"scaleX",initialValue:1,setPrimitiveFunction:function(){t._modelMatrixReady&&tb(t)},getPrimitiveFunction:function(){t.scaleX=P.getScale(t._voxelPrimitive.modelMatrix,new h).x}}),n({name:"scaleY",initialValue:1,setPrimitiveFunction:function(){t._modelMatrixReady&&tb(t)},getPrimitiveFunction:function(){t.scaleY=P.getScale(t._voxelPrimitive.modelMatrix,new h).y}}),n({name:"scaleZ",initialValue:1,setPrimitiveFunction:function(){t._modelMatrixReady&&tb(t)},getPrimitiveFunction:function(){t.scaleZ=P.getScale(t._voxelPrimitive.modelMatrix,new h).z}}),n({name:"angleX",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&tb(t)}}),n({name:"angleY",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&tb(t)}}),n({name:"angleZ",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&tb(t)}})}var I5t=new h,M5t=new h,X5t=new Rs,w5t=new $;function tb(e){let t=h.fromElements(e.translationX,e.translationY,e.translationZ,I5t),n=h.fromElements(e.scaleX,e.scaleY,e.scaleZ,M5t),i=X5t;i.heading=e.angleX,i.pitch=e.angleY,i.roll=e.angleZ;let o=$.fromHeadingPitchRoll(i,w5t),r=$.multiplyByScale(o,n,o);e._voxelPrimitive.modelMatrix=P.fromRotationTranslation(r,t,e._voxelPrimitive.modelMatrix)}Object.defineProperties(Uh.prototype,{scene:{get:function(){return this._scene}},voxelPrimitive:{get:function(){return this._voxelPrimitive},set:function(e){if(d(this._customShaderCompilationRemoveCallback)&&this._customShaderCompilationRemoveCallback(),d(e)){this._voxelPrimitive=e;let t=this;t._customShaderCompilationRemoveCallback=t._voxelPrimitive.customShaderCompilationEvent.addEventListener(function(n){let i=t._voxelPrimitive.customShader.fragmentShaderText;t.shaderString=IMe(i),d(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,tb(t)}}}});Uh.prototype.toggleInspector=function(){this.inspectorVisible=!this.inspectorVisible};Uh.prototype.toggleDisplay=function(){this.displayVisible=!this.displayVisible};Uh.prototype.toggleTransform=function(){this.transformVisible=!this.transformVisible};Uh.prototype.toggleBounds=function(){this.boundsVisible=!this.boundsVisible};Uh.prototype.toggleClipping=function(){this.clippingVisible=!this.clippingVisible};Uh.prototype.toggleShader=function(){this.shaderVisible=!this.shaderVisible};Uh.prototype.compileShader=function(){d(this._voxelPrimitive)&&(this._voxelPrimitive.customShader=new tL({fragmentShaderText:this.shaderString,uniforms:this._voxelPrimitive.customShader.uniforms}))};Uh.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(`
|
|
19088
19088
|
`),c=a.length,l;if(t.shiftKey)for(l=0;l<c;++l)a[l][0]===" "&&(a[l][1]===" "?(a[l]=a[l].substr(2),r-=2):(a[l]=a[l].substr(1),r-=1));else for(l=0;l<c;++l)a[l]=` ${a[l]}`,r+=2;let u=a.join(`
|
|
19089
|
-
`);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};Uh.prototype.isDestroyed=function(){return!1};Uh.prototype.destroy=function(){let e=this;return this._definedProperties.forEach(function(t){Re.getObservable(e,t).dispose()}),fe(this)};var X3=Uh;function e4(e,t){e=ui(e);let n=document.createElement("div"),i=new X3(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=qc.createSection,a=qc.createCheckbox,c=qc.createRangeInput,l=qc.createButton,u=s(r,"Display","displayVisible","toggleDisplay"),m=s(r,"Transform","transformVisible","toggleTransform"),f=s(r,"Bounds","boundsVisible","toggleBounds"),b=s(r,"Clipping","clippingVisible","toggleClipping"),p=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 x=10,T=10,_=X.PI;m.appendChild(c("Translation X","translationX",-x,+x)),m.appendChild(c("Translation Y","translationY",-x,+x)),m.appendChild(c("Translation Z","translationZ",-x,+x)),m.appendChild(c("Scale X","scaleX",0,+T)),m.appendChild(c("Scale Y","scaleY",0,+T)),m.appendChild(c("Scale Z","scaleZ",0,+T)),m.appendChild(c("Heading","angleX",-_,+_)),m.appendChild(c("Pitch","angleY",-_,+_)),m.appendChild(c("Roll","angleZ",-_,+_));let L=Xo.getMinBounds(Xo.BOX),V=Xo.getMaxBounds(Xo.BOX),Z=h.fromElements(Xo.getMinBounds(Xo.ELLIPSOID).x,Xo.getMinBounds(Xo.ELLIPSOID).y,-oe.WGS84.maximumRadius,new h),G=h.fromElements(Xo.getMaxBounds(Xo.ELLIPSOID).x,Xo.getMaxBounds(Xo.ELLIPSOID).y,1e7,new h),I=Xo.getMinBounds(Xo.CYLINDER),w=Xo.getMaxBounds(Xo.CYLINDER);YG("Max X","Min X","Max Y","Min Y","Max Z","Min Z","boundsBoxMaxX","boundsBoxMinX","boundsBoxMaxY","boundsBoxMinY","boundsBoxMaxZ","boundsBoxMinZ",L,V,"shapeIsBox",f),YG("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","boundsEllipsoidMaxLongitude","boundsEllipsoidMinLongitude","boundsEllipsoidMaxLatitude","boundsEllipsoidMinLatitude","boundsEllipsoidMaxHeight","boundsEllipsoidMinHeight",Z,G,"shapeIsEllipsoid",f),YG("Max Radius","Min Radius","Max Height","Min Height","Max Angle","Min Angle","boundsCylinderMaxRadius","boundsCylinderMinRadius","boundsCylinderMaxHeight","boundsCylinderMinHeight","boundsCylinderMaxAngle","boundsCylinderMinAngle",I,w,"shapeIsCylinder",f),YG("Max X","Min X","Max Y","Min Y","Max Z","Min Z","clippingBoxMaxX","clippingBoxMinX","clippingBoxMaxY","clippingBoxMinY","clippingBoxMaxZ","clippingBoxMinZ",L,V,"shapeIsBox",b),YG("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","clippingEllipsoidMaxLongitude","clippingEllipsoidMinLongitude","clippingEllipsoidMaxLatitude","clippingEllipsoidMinLatitude","clippingEllipsoidMaxHeight","clippingEllipsoidMinHeight",Z,G,"shapeIsEllipsoid",b),YG("Max Radius","Min Radius","Max Height","Min Height","Max Angle","Min Angle","clippingCylinderMaxRadius","clippingCylinderMinRadius","clippingCylinderMaxHeight","clippingCylinderMinHeight","clippingCylinderMaxAngle","clippingCylinderMinAngle",I,w,"shapeIsCylinder",b);let W=document.createElement("div");p.appendChild(W);let v=document.createElement("textarea");v.setAttribute("data-bind","textInput: shaderString, event: { keydown: shaderEditorKeyPress }"),W.className="cesium-cesiumInspector-styleEditor",W.appendChild(v);let N=l("Compile (Ctrl+Enter)","compileShader");W.appendChild(N);let y=document.createElement("label");y.style.display="block",y.setAttribute("data-bind","text: shaderCompilationMessage, style: {color: shaderCompilationSuccess ? 'green' : 'red'}"),W.appendChild(y),Re.applyBindings(i,n)}Object.defineProperties(e4.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});e4.prototype.isDestroyed=function(){return!1};e4.prototype.destroy=function(){return Re.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),fe(this)};function YG(e,t,n,i,o,r,s,a,c,l,u,m,f,b,p,x){let T=qc.createRangeInput,_=f,L=b,V=x.appendChild(document.createElement("div"));V.setAttribute("data-bind",`if: ${p}`),V.appendChild(T(e,s,_.x,L.x)),V.appendChild(T(t,a,_.x,L.x)),V.appendChild(T(n,c,_.y,L.y)),V.appendChild(T(i,l,_.y,L.y)),V.appendChild(T(o,u,_.z,L.z)),V.appendChild(T(r,m,_.z,L.z))}var w3=e4;function W5t(e){let t=document.createElement("div");t.className="cesium-viewer-voxelInspectorContainer",e.container.appendChild(t);let n=new w3(t,e.scene);Object.defineProperties(e,{voxelInspector:{get:function(){return n}}})}var Aoe=W5t;globalThis.CESIUM_VERSION="1.122.0";globalThis.MAPGIS_VERSION="17.6.
|
|
19089
|
+
`);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};Uh.prototype.isDestroyed=function(){return!1};Uh.prototype.destroy=function(){let e=this;return this._definedProperties.forEach(function(t){Re.getObservable(e,t).dispose()}),fe(this)};var X3=Uh;function e4(e,t){e=ui(e);let n=document.createElement("div"),i=new X3(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=qc.createSection,a=qc.createCheckbox,c=qc.createRangeInput,l=qc.createButton,u=s(r,"Display","displayVisible","toggleDisplay"),m=s(r,"Transform","transformVisible","toggleTransform"),f=s(r,"Bounds","boundsVisible","toggleBounds"),b=s(r,"Clipping","clippingVisible","toggleClipping"),p=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 x=10,T=10,_=X.PI;m.appendChild(c("Translation X","translationX",-x,+x)),m.appendChild(c("Translation Y","translationY",-x,+x)),m.appendChild(c("Translation Z","translationZ",-x,+x)),m.appendChild(c("Scale X","scaleX",0,+T)),m.appendChild(c("Scale Y","scaleY",0,+T)),m.appendChild(c("Scale Z","scaleZ",0,+T)),m.appendChild(c("Heading","angleX",-_,+_)),m.appendChild(c("Pitch","angleY",-_,+_)),m.appendChild(c("Roll","angleZ",-_,+_));let L=Xo.getMinBounds(Xo.BOX),V=Xo.getMaxBounds(Xo.BOX),Z=h.fromElements(Xo.getMinBounds(Xo.ELLIPSOID).x,Xo.getMinBounds(Xo.ELLIPSOID).y,-oe.WGS84.maximumRadius,new h),G=h.fromElements(Xo.getMaxBounds(Xo.ELLIPSOID).x,Xo.getMaxBounds(Xo.ELLIPSOID).y,1e7,new h),I=Xo.getMinBounds(Xo.CYLINDER),w=Xo.getMaxBounds(Xo.CYLINDER);YG("Max X","Min X","Max Y","Min Y","Max Z","Min Z","boundsBoxMaxX","boundsBoxMinX","boundsBoxMaxY","boundsBoxMinY","boundsBoxMaxZ","boundsBoxMinZ",L,V,"shapeIsBox",f),YG("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","boundsEllipsoidMaxLongitude","boundsEllipsoidMinLongitude","boundsEllipsoidMaxLatitude","boundsEllipsoidMinLatitude","boundsEllipsoidMaxHeight","boundsEllipsoidMinHeight",Z,G,"shapeIsEllipsoid",f),YG("Max Radius","Min Radius","Max Height","Min Height","Max Angle","Min Angle","boundsCylinderMaxRadius","boundsCylinderMinRadius","boundsCylinderMaxHeight","boundsCylinderMinHeight","boundsCylinderMaxAngle","boundsCylinderMinAngle",I,w,"shapeIsCylinder",f),YG("Max X","Min X","Max Y","Min Y","Max Z","Min Z","clippingBoxMaxX","clippingBoxMinX","clippingBoxMaxY","clippingBoxMinY","clippingBoxMaxZ","clippingBoxMinZ",L,V,"shapeIsBox",b),YG("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","clippingEllipsoidMaxLongitude","clippingEllipsoidMinLongitude","clippingEllipsoidMaxLatitude","clippingEllipsoidMinLatitude","clippingEllipsoidMaxHeight","clippingEllipsoidMinHeight",Z,G,"shapeIsEllipsoid",b),YG("Max Radius","Min Radius","Max Height","Min Height","Max Angle","Min Angle","clippingCylinderMaxRadius","clippingCylinderMinRadius","clippingCylinderMaxHeight","clippingCylinderMinHeight","clippingCylinderMaxAngle","clippingCylinderMinAngle",I,w,"shapeIsCylinder",b);let W=document.createElement("div");p.appendChild(W);let v=document.createElement("textarea");v.setAttribute("data-bind","textInput: shaderString, event: { keydown: shaderEditorKeyPress }"),W.className="cesium-cesiumInspector-styleEditor",W.appendChild(v);let N=l("Compile (Ctrl+Enter)","compileShader");W.appendChild(N);let y=document.createElement("label");y.style.display="block",y.setAttribute("data-bind","text: shaderCompilationMessage, style: {color: shaderCompilationSuccess ? 'green' : 'red'}"),W.appendChild(y),Re.applyBindings(i,n)}Object.defineProperties(e4.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});e4.prototype.isDestroyed=function(){return!1};e4.prototype.destroy=function(){return Re.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),fe(this)};function YG(e,t,n,i,o,r,s,a,c,l,u,m,f,b,p,x){let T=qc.createRangeInput,_=f,L=b,V=x.appendChild(document.createElement("div"));V.setAttribute("data-bind",`if: ${p}`),V.appendChild(T(e,s,_.x,L.x)),V.appendChild(T(t,a,_.x,L.x)),V.appendChild(T(n,c,_.y,L.y)),V.appendChild(T(i,l,_.y,L.y)),V.appendChild(T(o,u,_.z,L.z)),V.appendChild(T(r,m,_.z,L.z))}var w3=e4;function W5t(e){let t=document.createElement("div");t.className="cesium-viewer-voxelInspectorContainer",e.container.appendChild(t);let n=new w3(t,e.scene);Object.defineProperties(e,{voxelInspector:{get:function(){return n}}})}var Aoe=W5t;globalThis.CESIUM_VERSION="1.122.0";globalThis.MAPGIS_VERSION="17.6.1";var P5t="1.122.0",v5t="17.6.1";return BMe(N5t);})();
|