(self["webpackChunkavphmi_demo"]=self["webpackChunkavphmi_demo"]||[]).push([[875],{7982:function(e,t,n){"use strict";var i=n(2225);e.exports=function(){var e=i(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},741:function(e,t,n){var i=n(2049),r=n(119),o=n(3417),s=n(7982),a=n(4435),c=i.RegExp,l=c.prototype,u=r&&a((function(){var e=!0;try{c(".","d")}catch(u){e=!1}var t={},n="",i=e?"dgimsy":"gimsy",r=function(e,i){Object.defineProperty(t,e,{get:function(){return n+=i,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var s in e&&(o.hasIndices="d"),o)r(s,o[s]);var a=Object.getOwnPropertyDescriptor(l,"flags").get.call(t);return a!==i||n!==i}));u&&o(l,"flags",{configurable:!0,get:s})},3875:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return HEt}});var i={};n.r(i),n.d(i,{AlphaMode:function(){return Jse},AlphaPipelineStage:function(){return kAe},Animation:function(){return XAt},AnimationViewModel:function(){return ibt},Appearance:function(){return HW},ApproximateTerrainHeights:function(){return Su},ArcGISTiledElevationTerrainProvider:function(){return Ev},ArcGisMapServerImageryProvider:function(){return v1e},ArcType:function(){return Sv},ArticulationStageType:function(){return Iv},AssociativeArray:function(){return Dv},AttributeCompression:function(){return k_},AttributeType:function(){return I_},AutoExposure:function(){return S1e},Autolinker:function(){return zGe},AutomaticUniforms:function(){return GX},Axis:function(){return E4},AxisAlignedBoundingBox:function(){return Vh},B3dmLoader:function(){return fEe},B3dmParser:function(){return I4},BaseLayerPicker:function(){return abt},BaseLayerPickerViewModel:function(){return obt},BatchTable:function(){return s$},BatchTableHierarchy:function(){return G4},BatchTexture:function(){return O4},BatchTexturePipelineStage:function(){return UAe},Batched3DModel3DTileContent:function(){return Hre},Billboard:function(){return Cde},BillboardCollection:function(){return jpe},BillboardGraphics:function(){return Yq},BillboardVisualizer:function(){return xW},BingMapsGeocoderService:function(){return Lv},BingMapsImageryProvider:function(){return k1e},BingMapsStyle:function(){return I1e},BlendEquation:function(){return LW},BlendFunction:function(){return BW},BlendOption:function(){return Ede},BlendingState:function(){return kW},BoundingRectangle:function(){return zv},BoundingSphere:function(){return dc},BoundingSphereState:function(){return tW},BoxEmitter:function(){return H1e},BoxGeometry:function(){return _A},BoxGeometryUpdater:function(){return J2},BoxGraphics:function(){return A3},BoxOutlineGeometry:function(){return CA},BrdfLutGenerator:function(){return W1e},Buffer:function(){return NZ},BufferLoader:function(){return mse},BufferUsage:function(){return DZ},CPUStylingPipelineStage:function(){return Mbe},CallbackProperty:function(){return F2},Camera:function(){return k4e},CameraEventAggregator:function(){return K4e},CameraEventType:function(){return U4e},CameraFlightPath:function(){return d3e},Cartesian2:function(){return pu},Cartesian3:function(){return rs},Cartesian4:function(){return oa},Cartographic:function(){return gs},CartographicGeocoderService:function(){return EA},CatmullRomSpline:function(){return KA},Cesium3DContentGroup:function(){return x4},Cesium3DTile:function(){return _Oe},Cesium3DTileBatchTable:function(){return N6},Cesium3DTileColorBlendMode:function(){return o6},Cesium3DTileContent:function(){return J4e},Cesium3DTileContentFactory:function(){return eSe},Cesium3DTileContentState:function(){return nSe},Cesium3DTileContentType:function(){return rSe},Cesium3DTileFeature:function(){return M6},Cesium3DTileFeatureTable:function(){return z6},Cesium3DTileOptimizationHint:function(){return sSe},Cesium3DTileOptimizations:function(){return xOe},Cesium3DTilePass:function(){return rPe},Cesium3DTilePassState:function(){return $4e},Cesium3DTilePointFeature:function(){return Qpe},Cesium3DTileRefine:function(){return $le},Cesium3DTileStyle:function(){return c6e},Cesium3DTileStyleEngine:function(){return kOe},Cesium3DTilesInspector:function(){return Obt},Cesium3DTilesInspectorViewModel:function(){return xbt},Cesium3DTileset:function(){return EDe},Cesium3DTilesetCache:function(){return POe},Cesium3DTilesetGraphics:function(){return Z3},Cesium3DTilesetHeatmap:function(){return NOe},Cesium3DTilesetMetadata:function(){return COe},Cesium3DTilesetMostDetailedTraversal:function(){return ySe},Cesium3DTilesetStatistics:function(){return BOe},Cesium3DTilesetTraversal:function(){return tPe},Cesium3DTilesetVisualizer:function(){return ODe},CesiumInspector:function(){return kbt},CesiumInspectorViewModel:function(){return Bbt},CesiumTerrainProvider:function(){return Ib},CesiumWidget:function(){return qbt},Check:function(){return Uo},CheckerboardMaterialProperty:function(){return MDe},CircleEmitter:function(){return u6e},CircleGeometry:function(){return pT},CircleOutlineGeometry:function(){return PT},ClassificationModel:function(){return Cee},ClassificationPrimitive:function(){return A1},ClassificationType:function(){return SZ},ClearCommand:function(){return C4},ClippingPlane:function(){return xee},ClippingPlaneCollection:function(){return Uee},Clock:function(){return BT},ClockRange:function(){return OT},ClockStep:function(){return RT},ClockViewModel:function(){return Wvt},CloudCollection:function(){return l5e},CloudType:function(){return d6e},Color:function(){return WT},ColorBlendMode:function(){return Hee},ColorGeometryInstanceAttribute:function(){return XT},ColorMaterialProperty:function(){return tX},Command:function(){return Xvt},ComponentDatatype:function(){return v_},Composite3DTileContent:function(){return Wre},CompositeEntityCollection:function(){return KDe},CompositeMaterialProperty:function(){return eRe},CompositePositionProperty:function(){return nRe},CompositeProperty:function(){return ZDe},CompressedTextureBuffer:function(){return QT},ComputeCommand:function(){return $2},ComputeEngine:function(){return Y$e},ConditionsExpression:function(){return i6e},ConeEmitter:function(){return d5e},ConstantPositionProperty:function(){return E3},ConstantProperty:function(){return Vq},ConstantSpline:function(){return ZT},ContentMetadata:function(){return aPe},Context:function(){return a1e},ContextLimits:function(){return jW},CoplanarPolygonGeometry:function(){return dS},CoplanarPolygonGeometryLibrary:function(){return lE},CoplanarPolygonOutlineGeometry:function(){return gS},CornerType:function(){return yS},CorridorGeometry:function(){return kI},CorridorGeometryLibrary:function(){return uI},CorridorGeometryUpdater:function(){return pRe},CorridorGraphics:function(){return S3},CorridorOutlineGeometry:function(){return XI},Credit:function(){return Bh},CreditDisplay:function(){return D5e},CubeMap:function(){return rY},CubeMapFace:function(){return WW},CubicRealPolynomial:function(){return hd},CullFace:function(){return UW},CullingVolume:function(){return eO},CumulusCloud:function(){return x6e},CustomDataSource:function(){return zNe},CustomHeightmapTerrainProvider:function(){return nO},CustomShader:function(){return dAt},CustomShaderMode:function(){return HAe},CustomShaderPipelineStage:function(){return Dbe},CylinderGeometry:function(){return fO},CylinderGeometryLibrary:function(){return rO},CylinderGeometryUpdater:function(){return YNe},CylinderGraphics:function(){return R3},CylinderOutlineGeometry:function(){return yO},CzmlDataSource:function(){return GBe},DataSource:function(){return mRe},DataSourceClock:function(){return KNe},DataSourceCollection:function(){return YBe},DataSourceDisplay:function(){return uVe},DebugAppearance:function(){return N5e},DebugCameraPrimitive:function(){return j5e},DebugInspector:function(){return J5e},DebugModelMatrixPrimitive:function(){return $5e},DefaultProxy:function(){return AO},DepthFunction:function(){return IZ},DepthPlane:function(){return u8e},DequantizationPipelineStage:function(){return Hbe},DerivedCommand:function(){return C8e},DeveloperError:function(){return Mo},DeviceOrientationCameraController:function(){return I8e},DirectionalLight:function(){return D8e},DiscardEmptyTileImagePolicy:function(){return R1e},DiscardMissingTileImagePolicy:function(){return h1e},DistanceDisplayCondition:function(){return wO},DistanceDisplayConditionGeometryInstanceAttribute:function(){return TO},DoubleEndedPriorityQueue:function(){return DO},DoublyLinkedList:function(){return MO},DracoLoader:function(){return Xee},DrawCommand:function(){return sX},DynamicGeometryBatch:function(){return eFe},DynamicGeometryUpdater:function(){return V1},EarthOrientationParameters:function(){return qp},EarthOrientationParametersSample:function(){return sp},EasingFunction:function(){return kO},EllipseGeometry:function(){return lT},EllipseGeometryLibrary:function(){return Gb},EllipseGeometryUpdater:function(){return cFe},EllipseGraphics:function(){return L3},EllipseOutlineGeometry:function(){return TT},Ellipsoid:function(){return Ss},EllipsoidGeodesic:function(){return SS},EllipsoidGeometry:function(){return $O},EllipsoidGeometryUpdater:function(){return vFe},EllipsoidGraphics:function(){return B3},EllipsoidOutlineGeometry:function(){return aD},EllipsoidPrimitive:function(){return k8e},EllipsoidRhumbLine:function(){return AE},EllipsoidSurfaceAppearance:function(){return H8e},EllipsoidTangentPlane:function(){return _g},EllipsoidTerrainProvider:function(){return lD},EllipsoidalOccluder:function(){return od},Empty3DTileContent:function(){return sPe},EncodedCartesian3:function(){return ew},Entity:function(){return E2},EntityCluster:function(){return FNe},EntityCollection:function(){return zDe},EntityView:function(){return SVe},Event:function(){return cl},EventHelper:function(){return hD},ExperimentalFeatures:function(){return pD},Expression:function(){return T9},ExpressionNodeType:function(){return T7},ExtrapolationType:function(){return mD},FeatureDetection:function(){return qf},FeatureIdPipelineStage:function(){return rbe},Fog:function(){return J8e},ForEach:function(){return q6},FrameRateMonitor:function(){return t7e},FrameState:function(){return i7e},Framebuffer:function(){return Wue},FramebufferManager:function(){return ehe},FrustumCommands:function(){return o7e},FrustumGeometry:function(){return iR},FrustumOutlineGeometry:function(){return hR},Fullscreen:function(){return of},FullscreenButton:function(){return Jbt},FullscreenButtonViewModel:function(){return Ybt},GeoJsonDataSource:function(){return IHe},GeoJsonLoader:function(){return mEe},GeocodeType:function(){return pR},Geocoder:function(){return mwt},GeocoderService:function(){return mR},GeocoderViewModel:function(){return hwt},GeographicProjection:function(){return Is},GeographicTilingScheme:function(){return mu},Geometry:function(){return tA},Geometry3DTileContent:function(){return coe},GeometryAttribute:function(){return iA},GeometryAttributes:function(){return oA},GeometryFactory:function(){return _R},GeometryInstance:function(){return qb},GeometryInstanceAttribute:function(){return vR},GeometryOffsetAttribute:function(){return aA},GeometryPipeline:function(){return DC},GeometryPipelineStage:function(){return hwe},GeometryType:function(){return Vv},GeometryUpdater:function(){return M2},GeometryVisualizer:function(){return rze},GetFeatureInfoFormat:function(){return T7e},Globe:function(){return int},GlobeDepth:function(){return lnt},GlobeSurfaceShaderSet:function(){return N7e},GlobeSurfaceTile:function(){return n9e},GlobeSurfaceTileProvider:function(){return Zet},GlobeTranslucency:function(){return ett},GlobeTranslucencyFramebuffer:function(){return fnt},GlobeTranslucencyState:function(){return sit},GltfBufferViewLoader:function(){return yse},GltfDracoLoader:function(){return Ase},GltfImageLoader:function(){return wse},GltfIndexBufferLoader:function(){return Dse},GltfJsonLoader:function(){return Hse},GltfLoader:function(){return Eye},GltfLoaderUtil:function(){return Sae},GltfStructuralMetadataLoader:function(){return k_e},GltfTextureLoader:function(){return Pae},GltfVertexBufferLoader:function(){return Rae},GoogleEarthEnterpriseImageryProvider:function(){return dit},GoogleEarthEnterpriseMapsProvider:function(){return fit},GoogleEarthEnterpriseMetadata:function(){return zR},GoogleEarthEnterpriseTerrainData:function(){return rN},GoogleEarthEnterpriseTerrainProvider:function(){return dN},GoogleEarthEnterpriseTileInformation:function(){return IR},GpxDataSource:function(){return xje},GregorianDate:function(){return cp},GridImageryProvider:function(){return vit},GridMaterialProperty:function(){return nLe},GroundGeometryUpdater:function(){return oRe},GroundPolylineGeometry:function(){return jL},GroundPolylinePrimitive:function(){return u3},GroundPrimitive:function(){return F1},GroupMetadata:function(){return vOe},HeadingPitchRange:function(){return WL},HeadingPitchRoll:function(){return Yp},Heap:function(){return hl},HeightReference:function(){return Kq},HeightmapEncoding:function(){return kh},HeightmapTerrainData:function(){return Yy},HeightmapTessellator:function(){return ly},HermitePolynomialApproximation:function(){return ZL},HermiteSpline:function(){return VA},HilbertOrder:function(){return tM},HomeButton:function(){return vwt},HomeButtonViewModel:function(){return _wt},HorizontalOrigin:function(){return Jq},I3dmLoader:function(){return GEe},I3dmParser:function(){return ale},Iau2000Orientation:function(){return bM},Iau2006XysData:function(){return ef},Iau2006XysSample:function(){return Kp},IauOrientationAxes:function(){return IM},IauOrientationParameters:function(){return iM},ImageBasedLighting:function(){return A4},ImageBasedLightingPipelineStage:function(){return bAe},ImageMaterialProperty:function(){return m3},Imagery:function(){return s9e},ImageryLayer:function(){return A9e},ImageryLayerCollection:function(){return stt},ImageryLayerFeatureInfo:function(){return p1e},ImageryProvider:function(){return g1e},ImageryState:function(){return M7e},Implicit3DTileContent:function(){return Mce},ImplicitAvailabilityBitstream:function(){return uoe},ImplicitMetadataView:function(){return doe},ImplicitSubdivisionScheme:function(){return foe},ImplicitSubtree:function(){return uce},ImplicitSubtreeMetadata:function(){return yoe},ImplicitTileCoordinates:function(){return HOe},ImplicitTileset:function(){return zOe},IndexDatatype:function(){return Iy},InfoBox:function(){return Ewt},InfoBoxViewModel:function(){return Cwt},InspectorShared:function(){return Qvt},InstanceAttributeSemantic:function(){return $_e},Instanced3DModel3DTileContent:function(){return Jle},InstancingPipelineStage:function(){return sTe},InterpolationAlgorithm:function(){return DM},InterpolationType:function(){return NM},Intersect:function(){return Ds},IntersectionTests:function(){return Kd},Intersections2D:function(){return ib},Interval:function(){return Ns},InvertClassification:function(){return xit},Ion:function(){return FM},IonGeocoderService:function(){return VM},IonImageryProvider:function(){return Jrt},IonResource:function(){return jM},IonWorldImageryStyle:function(){return $rt},Iso8601:function(){return ZM},JobScheduler:function(){return not},JobType:function(){return ote},JsonMetadataTable:function(){return tEe},JulianDate:function(){return kp},KTX2Transcoder:function(){return tB},KeyboardEventModifier:function(){return iB},KmlCamera:function(){return Pje},KmlDataSource:function(){return t$e},KmlLookAt:function(){return tJe},KmlTour:function(){return sJe},KmlTourFlyTo:function(){return cJe},KmlTourWait:function(){return uJe},Label:function(){return Cfe},LabelCollection:function(){return jfe},LabelGraphics:function(){return k3},LabelStyle:function(){return ife},LabelVisualizer:function(){return Nze},LagrangePolynomialApproximation:function(){return oB},LeapSecond:function(){return dp},Light:function(){return rot},LightingModel:function(){return fwe},LightingPipelineStage:function(){return gwe},LinearApproximation:function(){return aB},LinearSpline:function(){return IA},ManagedArray:function(){return lB},MapMode2D:function(){return f3e},MapProjection:function(){return hB},MapboxImageryProvider:function(){return Prt},MapboxStyleImageryProvider:function(){return cot},Material:function(){return qY},MaterialAppearance:function(){return YY},MaterialPipelineStage:function(){return Swe},MaterialProperty:function(){return z1},Math:function(){return Xo},Matrix2:function(){return S_},Matrix3:function(){return Ks},Matrix4:function(){return Ca},MetadataClass:function(){return Uae},MetadataClassProperty:function(){return Uoe},MetadataComponentType:function(){return Aoe},MetadataEntity:function(){return goe},MetadataEnum:function(){return jae},MetadataEnumValue:function(){return Hae},MetadataPipelineStage:function(){return gbe},MetadataSchema:function(){return Wae},MetadataSchemaLoader:function(){return Yae},MetadataSemantic:function(){return Oce},MetadataTable:function(){return hse},MetadataTableProperty:function(){return cse},MetadataType:function(){return woe},MipmapHint:function(){return XW},Model:function(){return Rre},ModelAlphaOptions:function(){return ATe},ModelAnimation:function(){return vte},ModelAnimationCache:function(){return fte},ModelAnimationCollection:function(){return Ete},ModelAnimationLoop:function(){return gte},ModelAnimationState:function(){return _te},ModelClippingPlanesPipelineStage:function(){return BAe},ModelColorPipelineStage:function(){return RAe},ModelComponents:function(){return Tae},ModelExperimental:function(){return fxe},ModelExperimental3DTileContent:function(){return Jxe},ModelExperimentalAnimation:function(){return kve},ModelExperimentalAnimationChannel:function(){return Mve},ModelExperimentalAnimationCollection:function(){return Gve},ModelExperimentalArticulation:function(){return xAe},ModelExperimentalArticulationStage:function(){return CAe},ModelExperimentalDrawCommand:function(){return cAe},ModelExperimentalNode:function(){return fTe},ModelExperimentalPrimitive:function(){return ECe},ModelExperimentalSceneGraph:function(){return kTe},ModelExperimentalSkin:function(){return _Te},ModelExperimentalStatistics:function(){return KTe},ModelExperimentalType:function(){return Wbe},ModelExperimentalUtility:function(){return hAe},ModelFeature:function(){return QTe},ModelFeatureTable:function(){return JTe},ModelGraphics:function(){return Q3},ModelInstance:function(){return lle},ModelInstanceCollection:function(){return jle},ModelLightingOptions:function(){return BTe},ModelLoadResources:function(){return P8},ModelMaterial:function(){return Ste},ModelMatrixUpdateStage:function(){return lTe},ModelMesh:function(){return Ite},ModelNode:function(){return Dte},ModelOutlineLoader:function(){return jte},ModelRenderResources:function(){return STe},ModelSilhouettePipelineStage:function(){return DTe},ModelSplitterPipelineStage:function(){return LTe},ModelUtility:function(){return t7},ModelVisualizer:function(){return Zze},Moon:function(){return fot},MorphTargetsPipelineStage:function(){return Fwe},MorphWeightSpline:function(){return pB},MortonOrder:function(){return vB},Multiple3DTileContent:function(){return gPe},MultisampleFramebuffer:function(){return Xue},NavigationHelpButton:function(){return Iwt},NavigationHelpButtonViewModel:function(){return Swt},NearFarScalar:function(){return bB},NeverTileDiscardPolicy:function(){return got},NodeRenderResources:function(){return MTe},NodeStatisticsPipelineStage:function(){return pTe},NodeTransformationProperty:function(){return V3},OIT:function(){return Vot},Occluder:function(){return FB},OctahedralProjectedCubeMap:function(){return v4},OffsetGeometryInstanceAttribute:function(){return zB},OpenCageGeocoderService:function(){return VB},OpenStreetMapImageryProvider:function(){return jot},OrderedGroundPrimitiveCollection:function(){return ZBe},OrientedBoundingBox:function(){return m_},OrthographicFrustum:function(){return ED},OrthographicOffCenterFrustum:function(){return wD},Packable:function(){return GB},PackableForInterpolation:function(){return qB},Particle:function(){return Xot},ParticleBurst:function(){return Qot},ParticleEmitter:function(){return Zot},ParticleSystem:function(){return ust},Pass:function(){return cX},PassState:function(){return K$e},PathGraphics:function(){return e2},PathVisualizer:function(){return _Ue},PeliasGeocoderService:function(){return zM},PerInstanceColorAppearance:function(){return $Y},PerformanceDisplay:function(){return dst},PerformanceWatchdog:function(){return Nwt},PerformanceWatchdogViewModel:function(){return Dwt},PerspectiveFrustum:function(){return MD},PerspectiveOffCenterFrustum:function(){return RD},PickDepth:function(){return yst},PickDepthFramebuffer:function(){return wst},PickFramebuffer:function(){return Est},Picking:function(){return qct},PickingPipelineStage:function(){return Hwe},PinBuilder:function(){return nF},PixelDatatype:function(){return rF},PixelFormat:function(){return sF},Plane:function(){return np},PlaneGeometry:function(){return dF},PlaneGeometryUpdater:function(){return NFe},PlaneGraphics:function(){return n2},PlaneOutlineGeometry:function(){return gF},PntsLoader:function(){return $Ee},PntsParser:function(){return uue},PointCloud:function(){return Hue},PointCloud3DTileContent:function(){return bhe},PointCloudAttenuationPipelineStage:function(){return Xwe},PointCloudEyeDomeLighting:function(){return lhe},PointCloudShading:function(){return hhe},PointGraphics:function(){return r2},PointPrimitive:function(){return ORe},PointPrimitiveCollection:function(){return cNe},PointVisualizer:function(){return RUe},PolygonGeometry:function(){return JF},PolygonGeometryLibrary:function(){return Wx},PolygonGeometryUpdater:function(){return qFe},PolygonGraphics:function(){return a2},PolygonHierarchy:function(){return $F},PolygonOutlineGeometry:function(){return ak},PolygonPipeline:function(){return bx},Polyline:function(){return tme},PolylineArrowMaterialProperty:function(){return rLe},PolylineCollection:function(){return Kme},PolylineColorAppearance:function(){return J1},PolylineDashMaterialProperty:function(){return uLe},PolylineGeometry:function(){return yk},PolylineGeometryUpdater:function(){return YUe},PolylineGlowMaterialProperty:function(){return mLe},PolylineGraphics:function(){return l2},PolylineMaterialAppearance:function(){return i3},PolylineOutlineMaterialProperty:function(){return ALe},PolylinePipeline:function(){return JS},PolylineVisualizer:function(){return sVe},PolylineVolumeGeometry:function(){return Ek},PolylineVolumeGeometryLibrary:function(){return zP},PolylineVolumeGeometryUpdater:function(){return QFe},PolylineVolumeGraphics:function(){return h2},PolylineVolumeOutlineGeometry:function(){return Dk},PositionProperty:function(){return C3},PositionPropertyArray:function(){return wLe},PostProcessStage:function(){return clt},PostProcessStageCollection:function(){return $lt},PostProcessStageComposite:function(){return Olt},PostProcessStageLibrary:function(){return Mlt},PostProcessStageSampleMode:function(){return Yct},PostProcessStageTextureCache:function(){return qlt},Primitive:function(){return C0},PrimitiveCollection:function(){return QBe},PrimitivePipeline:function(){return b$},PrimitiveRenderResources:function(){return FTe},PrimitiveState:function(){return C$},PrimitiveStatisticsPipelineStage:function(){return oCe},PrimitiveType:function(){return Gv},ProjectionPicker:function(){return zwt},ProjectionPickerViewModel:function(){return Mwt},Property:function(){return iW},PropertyArray:function(){return TLe},PropertyAttribute:function(){return D_e},PropertyAttributeProperty:function(){return O_e},PropertyBag:function(){return q3},PropertyTable:function(){return w_e},PropertyTexture:function(){return I_e},PropertyTextureProperty:function(){return S_e},ProviderViewModel:function(){return lbt},Proxy:function(){return Nk},QuadraticRealPolynomial:function(){return cd},QuadtreeOccluders:function(){return ctt},QuadtreePrimitive:function(){return qtt},QuadtreeTile:function(){return htt},QuadtreeTileLoadState:function(){return F7e},QuadtreeTileProvider:function(){return tut},QuantizedMeshTerrainData:function(){return vb},QuarticRealPolynomial:function(){return md},Quaternion:function(){return vm},QuaternionSpline:function(){return Bk},Queue:function(){return Cx},Ray:function(){return _d},Rectangle:function(){return xa},RectangleCollisionChecker:function(){return az},RectangleGeometry:function(){return $z},RectangleGeometryLibrary:function(){return yz},RectangleGeometryUpdater:function(){return ske},RectangleGraphics:function(){return p2},RectangleOutlineGeometry:function(){return hU},ReferenceFrame:function(){return pU},ReferenceProperty:function(){return SLe},RenderState:function(){return kX},Renderbuffer:function(){return Zue},RenderbufferFormat:function(){return Que},Request:function(){return tl},RequestErrorEvent:function(){return ol},RequestScheduler:function(){return Pl},RequestState:function(){return Jc},RequestType:function(){return $c},Resource:function(){return Ql},ResourceCache:function(){return lce},ResourceCacheKey:function(){return oce},ResourceCacheStatistics:function(){return sce},ResourceLoader:function(){return dse},ResourceLoaderState:function(){return fse},Rotation:function(){return ILe},RuntimeError:function(){return aa},S2Cell:function(){return GU},SDFSettings:function(){return Sde},SampledPositionProperty:function(){return ULe},SampledProperty:function(){return kLe},Sampler:function(){return nY},ScaledPositionProperty:function(){return eUe},Scene:function(){return umt},SceneFramebuffer:function(){return Pst},SceneMode:function(){return E$},SceneMode2DPipelineStage:function(){return gCe},SceneModePicker:function(){return Wwt},SceneModePickerViewModel:function(){return Vwt},SceneTransforms:function(){return Zhe},SceneTransitioner:function(){return dht},ScreenSpaceCameraController:function(){return Kpt},ScreenSpaceEventHandler:function(){return IV},ScreenSpaceEventType:function(){return qU},SelectedFeatureIdPipelineStage:function(){return $be},SelectionIndicator:function(){return Zwt},SelectionIndicatorViewModel:function(){return Qwt},ShaderBuilder:function(){return CTe},ShaderCache:function(){return Z$e},ShaderDestination:function(){return vAe},ShaderFunction:function(){return wTe},ShaderProgram:function(){return NK},ShaderSource:function(){return CZ},ShaderStruct:function(){return bTe},ShadowMap:function(){return Sat},ShadowMapShader:function(){return Ost},ShadowMode:function(){return S$},ShadowVolumeAppearance:function(){return $0},ShowGeometryInstanceAttribute:function(){return DV},Simon1994PlanetaryPositions:function(){return nG},SimplePolylineGeometry:function(){return cG},SingleTileImageryProvider:function(){return Ort},SkinningPipelineStage:function(){return bCe},SkyAtmosphere:function(){return _mt},SkyBox:function(){return bmt},SphereEmitter:function(){return Cmt},SphereGeometry:function(){return dG},SphereOutlineGeometry:function(){return gG},Spherical:function(){return yG},Spline:function(){return SA},SplitDirection:function(){return Wte},Splitter:function(){return Xte},StaticGeometryColorBatch:function(){return vke},StaticGeometryPerMaterialBatch:function(){return Ske},StaticGroundGeometryColorBatch:function(){return Nke},StaticGroundGeometryPerMaterialBatch:function(){return kke},StaticGroundPolylinePerMaterialBatch:function(){return $Ue},StaticOutlineGeometryBatch:function(){return Wke},StencilConstants:function(){return o1},StencilFunction:function(){return t1},StencilOperation:function(){return i1},SteppedSpline:function(){return AG},StripeMaterialProperty:function(){return KLe},StripeOrientation:function(){return HLe},StructuralMetadata:function(){return N_e},StyleCommandsNeeded:function(){return qve},StyleExpression:function(){return Emt},Sun:function(){return Lmt},SunLight:function(){return n0e},SunPostProcess:function(){return rft},SupportedImageFormats:function(){return eye},SvgPathBindingHandler:function(){return a_t},TaskProcessor:function(){return Cy},TerrainData:function(){return Ey},TerrainEncoding:function(){return ty},TerrainExaggeration:function(){return V_},TerrainFillMesh:function(){return het},TerrainMesh:function(){return Sy},TerrainOffsetProperty:function(){return V2},TerrainProvider:function(){return Fy},TerrainQuantization:function(){return G_},TerrainState:function(){return z7e},Texture:function(){return sY},TextureAtlas:function(){return Mde},TextureCache:function(){return e0e},TextureMagnificationFilter:function(){return QW},TextureManager:function(){return oAt},TextureMinificationFilter:function(){return ZW},TextureUniform:function(){return bAt},TextureWrap:function(){return eY},TileAvailability:function(){return dv},TileBoundingRegion:function(){return HPe},TileBoundingS2Cell:function(){return EIe},TileBoundingSphere:function(){return SIe},TileBoundingVolume:function(){return Bmt},TileCoordinatesImageryProvider:function(){return kmt},TileDiscardPolicy:function(){return Umt},TileEdge:function(){return wG},TileImagery:function(){return c9e},TileMapServiceImageryProvider:function(){return Trt},TileMetadata:function(){return hPe},TileOrientedBoundingBox:function(){return BIe},TileProviderError:function(){return gv},TileReplacementQueue:function(){return ftt},TileSelectionResult:function(){return w9e},TileState:function(){return Hmt},Tileset3DTileContent:function(){return The},TilesetMetadata:function(){return bOe},TilingScheme:function(){return TG},TimeConstants:function(){return fp},TimeDynamicImagery:function(){return Brt},TimeDynamicPointCloud:function(){return ggt},TimeInterval:function(){return YM},TimeIntervalCollection:function(){return MG},TimeIntervalCollectionPositionProperty:function(){return JLe},TimeIntervalCollectionProperty:function(){return $Le},TimeStandard:function(){return gp},Timeline:function(){return _Ct},TimelineHighlightRange:function(){return eCt},TimelineTrack:function(){return nCt},Tipsify:function(){return nw},ToggleButtonViewModel:function(){return Zvt},Tonemapper:function(){return Ylt},Transforms:function(){return ug},TranslationRotationScale:function(){return UG},TranslucentTileClassification:function(){return kat},TridiagonalSystemSolver:function(){return DA},TrustedServers:function(){return Rl},Tween:function(){return BO},TweenCollection:function(){return mht},UniformState:function(){return G0e},UniformType:function(){return rAt},Uri:function(){return _c},UrlTemplateImageryProvider:function(){return Art},VERSION:function(){return aTt},VRButton:function(){return xCt},VRButtonViewModel:function(){return wCt},VRTheWorldTerrainProvider:function(){return WG},VaryingType:function(){return CAt},Vector3DTileBatch:function(){return A7},Vector3DTileClampedPolylines:function(){return l_e},Vector3DTileContent:function(){return v_e},Vector3DTileGeometry:function(){return toe},Vector3DTilePoints:function(){return dge},Vector3DTilePolygons:function(){return bge},Vector3DTilePolylines:function(){return Vge},Vector3DTilePrimitive:function(){return $9},VelocityOrientationProperty:function(){return uMe},VelocityVectorProperty:function(){return oMe},VertexArray:function(){return HZ},VertexArrayFacade:function(){return Ohe},VertexAttributeSemantic:function(){return nue},VertexFormat:function(){return lA},VerticalOrigin:function(){return $q},VideoSynchronizer:function(){return KG},View:function(){return Kat},Viewer:function(){return jCt},ViewportQuad:function(){return vgt},Visibility:function(){return CB},Visualizer:function(){return i$e},VulkanConstants:function(){return JG},WallGeometry:function(){return yj},WallGeometryLibrary:function(){return sj},WallGeometryUpdater:function(){return Jke},WallGraphics:function(){return m2},WallOutlineGeometry:function(){return Tj},WebGLConstants:function(){return __},WebMapServiceImageryProvider:function(){return Grt},WebMapTileServiceImageryProvider:function(){return Yrt},WebMercatorProjection:function(){return iy},WebMercatorTilingScheme:function(){return yv},WindingOrder:function(){return nx},WireframeIndexGenerator:function(){return Rj},WireframePipelineStage:function(){return TCe},_shadersAcesTonemappingStage:function(){return llt},_shadersAdditiveBlend:function(){return Qpt},_shadersAdjustTranslucentFS:function(){return _ot},_shadersAllMaterialAppearanceFS:function(){return SW},_shadersAllMaterialAppearanceVS:function(){return PW},_shadersAmbientOcclusionGenerate:function(){return ult},_shadersAmbientOcclusionModulate:function(){return hlt},_shadersAspectRampMaterial:function(){return aY},_shadersAtmosphereCommon:function(){return S7e},_shadersBasicMaterialAppearanceFS:function(){return IW},_shadersBasicMaterialAppearanceVS:function(){return OW},_shadersBillboardCollectionFS:function(){return Dhe},_shadersBillboardCollectionVS:function(){return Rhe},_shadersBlackAndWhite:function(){return dlt},_shadersBloomComposite:function(){return plt},_shadersBrdfLutGeneratorFS:function(){return G1e},_shadersBrightPass:function(){return Jpt},_shadersBrightness:function(){return flt},_shadersBumpMapMaterial:function(){return cY},_shadersCPUStylingStageFS:function(){return Nbe},_shadersCPUStylingStageVS:function(){return Rbe},_shadersCheckerboardMaterial:function(){return lY},_shadersCloudCollectionFS:function(){return p6e},_shadersCloudCollectionVS:function(){return f6e},_shadersCloudNoiseFS:function(){return m6e},_shadersCloudNoiseVS:function(){return g6e},_shadersCompareAndPackTranslucentDepth:function(){return Pat},_shadersCompositeOITFS:function(){return yot},_shadersCompositeTranslucentClassification:function(){return Iat},_shadersContrastBias:function(){return mlt},_shadersCustomShaderStageFS:function(){return jAe},_shadersCustomShaderStageVS:function(){return GAe},_shadersCzmBuiltins:function(){return uZ},_shadersDepthOfField:function(){return glt},_shadersDepthPlaneFS:function(){return e8e},_shadersDepthPlaneVS:function(){return t8e},_shadersDepthView:function(){return _lt},_shadersDepthViewPacked:function(){return TAt},_shadersDotMaterial:function(){return uY},_shadersEdgeDetection:function(){return ylt},_shadersElevationBandMaterial:function(){return hY},_shadersElevationContourMaterial:function(){return dY},_shadersElevationRampMaterial:function(){return pY},_shadersEllipsoidFS:function(){return R8e},_shadersEllipsoidSurfaceAppearanceFS:function(){return z8e},_shadersEllipsoidSurfaceAppearanceVS:function(){return U8e},_shadersEllipsoidVS:function(){return N8e},_shadersFXAA:function(){return Alt},_shadersFXAA3_11:function(){return Slt},_shadersFadeMaterial:function(){return fY},_shadersFeatureIdStageFS:function(){return qAe},_shadersFeatureIdStageVS:function(){return WAe},_shadersFilmicTonemapping:function(){return vlt},_shadersGaussianBlur1D:function(){return blt},_shadersGeometryStageFS:function(){return Gbe},_shadersGeometryStageVS:function(){return jbe},_shadersGlobeFS:function(){return E7e},_shadersGlobeVS:function(){return x7e},_shadersGridMaterial:function(){return mY},_shadersGroundAtmosphere:function(){return P7e},_shadersHSBToRGB:function(){return MQ},_shadersHSLToRGB:function(){return BQ},_shadersImageBasedLightingStageFS:function(){return _Ae},_shadersInstancingStageCommon:function(){return SCe},_shadersInstancingStageVS:function(){return PCe},_shadersLegacyInstancingStageVS:function(){return ICe},_shadersLensFlare:function(){return wlt},_shadersLightingStageFS:function(){return dwe},_shadersMaterialStageFS:function(){return _we},_shadersMetadataStageFS:function(){return obe},_shadersMetadataStageVS:function(){return sbe},_shadersModelClippingPlanesStageFS:function(){return NAe},_shadersModelColorStageFS:function(){return OAe},_shadersModelExperimentalFS:function(){return lAe},_shadersModelExperimentalVS:function(){return uAe},_shadersModelSilhouetteStageFS:function(){return PTe},_shadersModelSilhouetteStageVS:function(){return ITe},_shadersModelSplitterStageFS:function(){return RTe},_shadersModifiedReinhardTonemapping:function(){return Clt},_shadersMorphTargetsStageVS:function(){return Pwe},_shadersNightVision:function(){return Tlt},_shadersNormalMapMaterial:function(){return gY},_shadersOctahedralProjectionAtlasFS:function(){return e4},_shadersOctahedralProjectionFS:function(){return t4},_shadersOctahedralProjectionVS:function(){return n4},_shadersPassThrough:function(){return rnt},_shadersPassThroughDepth:function(){return ont},_shadersPerInstanceColorAppearanceFS:function(){return XY},_shadersPerInstanceColorAppearanceVS:function(){return KY},_shadersPerInstanceFlatColorAppearanceFS:function(){return QY},_shadersPerInstanceFlatColorAppearanceVS:function(){return JY},_shadersPointCloudAttenuationStageVS:function(){return Gwe},_shadersPointCloudEyeDomeLighting:function(){return the},_shadersPointPrimitiveCollectionFS:function(){return DRe},_shadersPointPrimitiveCollectionVS:function(){return RRe},_shadersPolylineArrowMaterial:function(){return _Y},_shadersPolylineColorAppearanceVS:function(){return W1},_shadersPolylineCommon:function(){return Y1},_shadersPolylineDashMaterial:function(){return yY},_shadersPolylineFS:function(){return $1},_shadersPolylineGlowMaterial:function(){return vY},_shadersPolylineMaterialAppearanceVS:function(){return Z1},_shadersPolylineOutlineMaterial:function(){return AY},_shadersPolylineShadowVolumeFS:function(){return H1},_shadersPolylineShadowVolumeMorphFS:function(){return G1},_shadersPolylineShadowVolumeMorphVS:function(){return j1},_shadersPolylineShadowVolumeVS:function(){return q1},_shadersPolylineVS:function(){return qfe},_shadersRGBToHSB:function(){return FQ},_shadersRGBToHSL:function(){return kQ},_shadersRGBToXYZ:function(){return zQ},_shadersReinhardTonemapping:function(){return Elt},_shadersReprojectWebMercatorFS:function(){return i9e},_shadersReprojectWebMercatorVS:function(){return r9e},_shadersRimLightingMaterial:function(){return bY},_shadersSelectedFeatureIdStageCommon:function(){return Ybe},_shadersShadowVolumeAppearanceFS:function(){return T0},_shadersShadowVolumeAppearanceVS:function(){return TZ},_shadersShadowVolumeFS:function(){return EZ},_shadersSilhouette:function(){return xlt},_shadersSkinningStageVS:function(){return _Ce},_shadersSkyAtmosphereCommon:function(){return hmt},_shadersSkyAtmosphereFS:function(){return dmt},_shadersSkyAtmosphereVS:function(){return pmt},_shadersSkyBoxFS:function(){return ymt},_shadersSkyBoxVS:function(){return vmt},_shadersSlopeRampMaterial:function(){return wY},_shadersStripeMaterial:function(){return CY},_shadersSunFS:function(){return xmt},_shadersSunTextureFS:function(){return Smt},_shadersSunVS:function(){return Pmt},_shadersTexturedMaterialAppearanceFS:function(){return DW},_shadersTexturedMaterialAppearanceVS:function(){return RW},_shadersVector3DTileClampedPolylinesFS:function(){return Gge},_shadersVector3DTileClampedPolylinesVS:function(){return Hge},_shadersVector3DTilePolylinesVS:function(){return wge},_shadersVectorTileVS:function(){return b7},_shadersViewportQuadFS:function(){return _gt},_shadersViewportQuadVS:function(){return z$e},_shadersWater:function(){return TY},_shadersXYZToRGB:function(){return UQ},_shadersacesTonemapping:function(){return VQ},_shadersalphaWeight:function(){return HQ},_shadersantialias:function(){return GQ},_shadersapproximateSphericalCoordinates:function(){return jQ},_shadersbackFacing:function(){return qQ},_shadersbranchFreeTernary:function(){return WQ},_shaderscascadeColor:function(){return YQ},_shaderscascadeDistance:function(){return XQ},_shaderscascadeMatrix:function(){return KQ},_shaderscascadeWeights:function(){return QQ},_shaderscolumbusViewMorph:function(){return JQ},_shaderscomputePosition:function(){return ZQ},_shaderscosineAndSine:function(){return $Q},_shadersdecompressTextureCoordinates:function(){return eJ},_shadersdefaultPbrMaterial:function(){return tJ},_shadersdegreesPerRadian:function(){return GK},_shadersdepthClamp:function(){return nJ},_shadersdepthRange:function(){return jK},_shadersdepthRangeStruct:function(){return xQ},_shaderseastNorthUpToEyeCoordinates:function(){return iJ},_shadersellipsoidContainsPoint:function(){return rJ},_shadersellipsoidWgs84TextureCoordinates:function(){return oJ},_shadersepsilon1:function(){return qK},_shadersepsilon2:function(){return WK},_shadersepsilon3:function(){return YK},_shadersepsilon4:function(){return XK},_shadersepsilon5:function(){return KK},_shadersepsilon6:function(){return QK},_shadersepsilon7:function(){return JK},_shadersequalsEpsilon:function(){return sJ},_shaderseyeOffset:function(){return aJ},_shaderseyeToWindowCoordinates:function(){return cJ},_shadersfastApproximateAtan:function(){return lJ},_shadersfog:function(){return uJ},_shadersgammaCorrect:function(){return hJ},_shadersgeodeticSurfaceNormal:function(){return dJ},_shadersgetDefaultMaterial:function(){return pJ},_shadersgetLambertDiffuse:function(){return fJ},_shadersgetSpecular:function(){return mJ},_shadersgetWaterNoise:function(){return gJ},_shadershue:function(){return _J},_shadersinfinity:function(){return ZK},_shadersinverseGamma:function(){return yJ},_shadersisEmpty:function(){return vJ},_shadersisFull:function(){return AJ},_shaderslatitudeToWebMercatorFraction:function(){return bJ},_shaderslineDistance:function(){return wJ},_shaderslinearToSrgb:function(){return CJ},_shadersluminance:function(){return TJ},_shadersmaterial:function(){return SQ},_shadersmaterialInput:function(){return PQ},_shadersmetersPerPixel:function(){return EJ},_shadersmodelMaterial:function(){return IQ},_shadersmodelToWindowCoordinates:function(){return xJ},_shadersmodelVertexOutput:function(){return OQ},_shadersmultiplyWithColorBalance:function(){return SJ},_shadersnearFarScalar:function(){return PJ},_shadersoctDecode:function(){return IJ},_shadersoneOverPi:function(){return $K},_shadersoneOverTwoPi:function(){return eQ},_shaderspackDepth:function(){return OJ},_shaderspassCesium3DTile:function(){return tQ},_shaderspassCesium3DTileClassification:function(){return nQ},_shaderspassCesium3DTileClassificationIgnoreShow:function(){return iQ},_shaderspassClassification:function(){return rQ},_shaderspassCompute:function(){return oQ},_shaderspassEnvironment:function(){return sQ},_shaderspassGlobe:function(){return aQ},_shaderspassOpaque:function(){return cQ},_shaderspassOverlay:function(){return lQ},_shaderspassTerrainClassification:function(){return uQ},_shaderspassTranslucent:function(){return hQ},_shaderspbrLighting:function(){return DJ},_shaderspbrMetallicRoughnessMaterial:function(){return RJ},_shaderspbrParameters:function(){return DQ},_shaderspbrSpecularGlossinessMaterial:function(){return NJ},_shadersphong:function(){return LJ},_shaderspi:function(){return dQ},_shaderspiOverFour:function(){return pQ},_shaderspiOverSix:function(){return fQ},_shaderspiOverThree:function(){return mQ},_shaderspiOverTwo:function(){return gQ},_shadersplaneDistance:function(){return MJ},_shaderspointAlongRay:function(){return BJ},_shadersradiansPerDegree:function(){return _Q},_shadersray:function(){return RQ},_shadersrayEllipsoidIntersectionInterval:function(){return FJ},_shadersraySegment:function(){return NQ},_shadersraySphereIntersectionInterval:function(){return kJ},_shadersreadDepth:function(){return zJ},_shadersreadNonPerspective:function(){return UJ},_shadersreverseLogDepth:function(){return VJ},_shadersround:function(){return HJ},_shaderssampleOctahedralProjection:function(){return GJ},_shaderssaturation:function(){return jJ},_shaderssceneMode2D:function(){return yQ},_shaderssceneMode3D:function(){return vQ},_shaderssceneModeColumbusView:function(){return AQ},_shaderssceneModeMorphing:function(){return bQ},_shadersshadowDepthCompare:function(){return qJ},_shadersshadowParameters:function(){return LQ},_shadersshadowVisibility:function(){return WJ},_shaderssignNotZero:function(){return YJ},_shaderssolarRadius:function(){return wQ},_shaderssphericalHarmonics:function(){return XJ},_shaderssrgbToLinear:function(){return KJ},_shaderstangentToEyeSpaceMatrix:function(){return QJ},_shadersthreePiOver2:function(){return CQ},_shaderstransformPlane:function(){return JJ},_shaderstranslateRelativeToEye:function(){return ZJ},_shaderstranslucentPhong:function(){return $J},_shaderstranspose:function(){return eZ},_shaderstwoPi:function(){return TQ},_shadersunpackDepth:function(){return tZ},_shadersunpackFloat:function(){return nZ},_shadersunpackUint:function(){return iZ},_shadersvalueTransform:function(){return rZ},_shadersvertexLogDepth:function(){return oZ},_shaderswebMercatorMaxLatitude:function(){return EQ},_shaderswindowToEyeCoordinates:function(){return sZ},_shaderswriteDepthClamp:function(){return aZ},_shaderswriteLogDepth:function(){return cZ},_shaderswriteNonPerspective:function(){return lZ},addBuffer:function(){return V5},addDefaults:function(){return $6},addExtensionsRequired:function(){return S5},addExtensionsUsed:function(){return f5},addPipelineExtras:function(){return n5},addToArray:function(){return V6},appendForwardSlash:function(){return bc},arrayRemoveDuplicates:function(){return tE},barycentricCoordinates:function(){return Qb},binarySearch:function(){return rp},bitmap_sdf:function(){return Jpe},buildDrawCommand:function(){return mAe},buildModuleUrl:function(){return su},cancelAnimationFrame:function(){return Mj},clone:function(){return Cc},combine:function(){return Ec},computeFlyToLocationForRectangle:function(){return bgt},createBillboardPointCallback:function(){return Wpe},createCommand:function(){return eAt},createDefaultImageryProviderViewModels:function(){return hbt},createDefaultTerrainProviderViewModels:function(){return pbt},createElevationBandMaterial:function(){return Lgt},createGuid:function(){return Fj},createMaterialPropertyDescriptor:function(){return y3},createOsmBuildings:function(){return Bgt},createPropertyDescriptor:function(){return qq},createRawPropertyDescriptor:function(){return O3},createTangentSpaceDebugPrimitive:function(){return kgt},createTaskProcessorWorker:function(){return sTt},createUniform:function(){return sK},createUniformArray:function(){return AK},createWorldImagery:function(){return Vgt},createWorldTerrain:function(){return zj},decodeGoogleEarthEnterpriseData:function(){return Gj},decodeVectorPolylinePositions:function(){return Xj},defaultValue:function(){return Ho},defer:function(){return Sc},defined:function(){return No},deprecationWarning:function(){return Qj},destroyObject:function(){return dy},dompurify:function(){return Rh},earcut:function(){return bE},exportKml:function(){return k$e},findAccessorMinMax:function(){return y5},findContentMetadata:function(){return lPe},findGroupMetadata:function(){return uPe},findTileMetadata:function(){return pPe},forEachTextureInMaterial:function(){return D5},formatError:function(){return fv},freezeRenderState:function(){return uX},getAbsoluteUri:function(){return vc},getAccessorByteStride:function(){return K6},getBaseUri:function(){return Ic},getBinaryAccessor:function(){return H4},getClipAndStyleCode:function(){return Qee},getClippingFunction:function(){return ite},getComponentReader:function(){return g5},getElement:function(){return $Qe},getExtensionFromUri:function(){return Dc},getFilenameFromUri:function(){return Zj},getImageFromTypedArray:function(){return eq},getImagePixels:function(){return Lc},getJsonFromTypedArray:function(){return tb},getMagic:function(){return nq},getStringFromTypedArray:function(){return $A},getTimestamp:function(){return LT},grapheme_splitter:function(){return Tfe},hasExtension:function(){return loe},heightReferenceOnEntityPropertyChanged:function(){return G2},isBitSet:function(){return wR},isBlobUri:function(){return Fc},isCrossOriginUrl:function(){return Uc},isDataUri:function(){return Gc},isLeapYear:function(){return up},jsep:function(){return w7},kdbush:function(){return yNe},knockout:function(){return c_t},knockout_3_5_1:function(){return Ggt},knockout_es5:function(){return i_t},ktx_parse:function(){return b_t},lerc:function(){return w_t},loadAndExecuteScript:function(){return qc},loadCubeMap:function(){return l1e},loadImageFromTypedArray:function(){return rq},loadKTX2:function(){return aq},mergeSort:function(){return pq},mersenne_twister:function(){return jo},meshoptimizer:function(){return _se},modernizeShader:function(){return HK},moveTechniqueRenderStates:function(){return E5},moveTechniquesToExtension:function(){return I5},nosleep:function(){return P_t},numberOfComponentsForType:function(){return Y6},objectToQuery:function(){return Yc},oneTimeWarning:function(){return eP},pako:function(){return jvt},parseBatchTable:function(){return nEe},parseBoundingVolumeSemantics:function(){return Dce},parseFeatureMetadataLegacy:function(){return M_e},parseGlb:function(){return d5},parseResponseHeaders:function(){return il},parseStructuralMetadata:function(){return L_e},pointInsideTriangle:function(){return gq},preprocess3DTileContent:function(){return fPe},processModelMaterialsCommon:function(){return c7},processPbrMaterials:function(){return y7},protobufjs:function(){return AR.Z},queryToObject:function(){return Kc},rbush:function(){return Vk},readAccessorPacked:function(){return G5},removeExtensionsRequired:function(){return r5},removeExtensionsUsed:function(){return s5},removePipelineExtras:function(){return Vse},removeUnusedElements:function(){return z5},requestAnimationFrame:function(){return vq},resizeImageToNextPowerOfTwo:function(){return bq},sampleTerrain:function(){return Oq},sampleTerrainMostDetailed:function(){return Nq},scaleToGeodeticSurface:function(){return cs},subdivideArray:function(){return Mq},subscribeAndEvaluate:function(){return nAt},topojson:function(){return WVe},updateAccessorComponentTypes:function(){return W5},updateVersion:function(){return E8},usesExtension:function(){return G6},viewerCesium3DTilesInspectorMixin:function(){return WCt},viewerCesiumInspectorMixin:function(){return XCt},viewerDragDropMixin:function(){return tTt},viewerPerformanceWatchdogMixin:function(){return iTt},webGLConstantToGlslType:function(){return Fq},wrapFunction:function(){return zq},writeTextToCanvas:function(){return KB},zip:function(){return JQe}});var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"cesium-page-css"},[t("basis-cesium",{ref:"basisCesium",attrs:{"access-token":this.$setting.cesiumSetting.defaultAccessToken}}),t("div",{staticClass:"cesiumContainer2d"},[t("div",{ref:"cesiumRef2D",attrs:{id:"cesium2d"}})]),t("main-view",{ref:"mainView",attrs:{speed:e.speed,heading:e.heading2,v2xname:e.v2xname,driveMode:e.driveMode,endTime:e.endTime,rsiChange:e.rsiChange,infowindowChange:e.infowindowChange}}),t("div",{staticClass:"showBuildingBtn"},[t("el-switch",{attrs:{"active-text":"建筑物","active-color":"rgb(99, 122, 190)"},on:{change:e.setBuildingVisibility},model:{value:e.showBuilding,callback:function(t){e.showBuilding=t},expression:"showBuilding"}})],1),e._m(0)],1)},o=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"videoBox"},[t("video",{attrs:{controls:""}},[t("source",{attrs:{src:"",type:"video/mp4"}})])])}];n(1112);function s(){return new Worker(n.p+"js/bessel.worker.b7239979.worker.js")}var a=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"addam-cesium"}})},c=[],l=JSON.parse('[{"coordinates":[[125.14380083,43.83788194],[125.14378348,43.83790236],[125.14380475,43.83791183],[125.14382227,43.8378912],[125.14380083,43.83788194]],"type":"car","center":[125.14380285,43.83789684],"heading":310},{"coordinates":[[125.14377938,43.83787268],[125.14376204,43.8378931],[125.1437833,43.83790257],[125.14380083,43.83788194],[125.14377938,43.83787268]],"type":"car","center":[125.14378141,43.83788758],"heading":310},{"coordinates":[[125.14375794,43.83786343],[125.14374059,43.83788384],[125.14376186,43.83789331],[125.14377938,43.83787268],[125.14375794,43.83786343]],"type":"car","center":[125.14375996,43.83787832],"heading":310},{"coordinates":[[125.14373649,43.83785417],[125.14371915,43.83787458],[125.14374041,43.83788405],[125.14375794,43.83786343],[125.14373649,43.83785417]],"type":"car","center":[125.14373852,43.83786907],"heading":310},{"coordinates":[[125.14371505,43.83784491],[125.1436977,43.83786533],[125.14371897,43.8378748],[125.14373649,43.83785417],[125.14371505,43.83784491]],"type":"car","center":[125.14371707,43.83785981],"heading":310},{"coordinates":[[125.14418415,43.83823494],[125.14416796,43.83825454],[125.14422487,43.83827916],[125.14424116,43.83825966],[125.14418415,43.83823494]],"type":"car","center":[125.14420453,43.83825707],"spaceCode":"1A-041","heading":203},{"coordinates":[[125.14416796,43.83825454],[125.14415178,43.83827413],[125.14420869,43.83829876],[125.14422498,43.83827926],[125.14416796,43.83825454]],"type":"car","center":[125.14418835,43.83827666],"spaceCode":"1A-042","heading":203},{"coordinates":[[125.14414601,43.83828089],[125.1441303,43.83829976],[125.1441864,43.8383242],[125.1442024,43.83830509],[125.14414601,43.83828089]],"type":"car","center":[125.14416634,43.83830251],"spaceCode":"1A-043","heading":203},{"coordinates":[[125.1441303,43.83829976],[125.14411464,43.83831873],[125.14417105,43.83834278],[125.1441864,43.8383242],[125.1441303,43.83829976]],"type":"car","center":[125.1441505,43.83832133],"spaceCode":"1A-044","heading":23},{"coordinates":[[125.14389549,43.8380814],[125.14392272,43.83809327],[125.14395665,43.83805245],[125.14392942,43.83804059],[125.14389549,43.8380814]],"type":"car","center":[125.14392607,43.83806693],"spaceCode":"1A-033","heading":310},{"coordinates":[[125.14392272,43.83809327],[125.14394964,43.83810499],[125.14398356,43.83806418],[125.14395665,43.83805245],[125.14392272,43.83809327]],"type":"car","center":[125.14395314,43.83807872],"spaceCode":"1A-034","heading":310},{"coordinates":[[125.1437779,43.83803028],[125.14380513,43.83804214],[125.14383906,43.83800133],[125.14381183,43.83798946],[125.1437779,43.83803028]],"type":"car","center":[125.14380848,43.8380158],"spaceCode":"1B-058","heading":310},{"coordinates":[[125.14380513,43.83804214],[125.14383205,43.83805387],[125.14386598,43.83801306],[125.14383906,43.83800133],[125.14380513,43.83804214]],"type":"car","center":[125.14383555,43.8380276],"spaceCode":"1B-059","heading":310},{"coordinates":[[125.14383205,43.83805387],[125.1438594,43.83806578],[125.14389333,43.83802498],[125.14386598,43.83801306],[125.14383205,43.83805387]],"type":"car","center":[125.14386269,43.83803942],"spaceCode":"1B-060","heading":310},{"coordinates":[[125.1436874,43.83799098],[125.14371463,43.83800284],[125.14374856,43.83796203],[125.14372133,43.83795017],[125.1436874,43.83799098]],"type":"car","center":[125.14371798,43.83797651],"spaceCode":"1B-055","heading":310},{"coordinates":[[125.14371463,43.83800284],[125.14374155,43.83801457],[125.14377548,43.83797376],[125.14374856,43.83796203],[125.14371463,43.83800284]],"type":"car","center":[125.14374505,43.8379883],"spaceCode":"1B-056","heading":310},{"coordinates":[[125.14374155,43.83801457],[125.1437689,43.83802649],[125.14380283,43.83798568],[125.14377548,43.83797376],[125.14374155,43.83801457]],"type":"car","center":[125.14377219,43.83800013],"spaceCode":"1B-057","heading":310},{"coordinates":[[125.14397561,43.83823653],[125.14400284,43.83824839],[125.14403804,43.83820577],[125.14401099,43.83819398],[125.14397561,43.83823653]],"type":"car","center":[125.14400685,43.83822119],"spaceCode":"1A-030","heading":130},{"coordinates":[[125.14400284,43.83824839],[125.14402976,43.83826012],[125.14406514,43.83821757],[125.14403804,43.83820577],[125.14400284,43.83824839]],"type":"car","center":[125.14403397,43.83823294],"spaceCode":"1A-031","heading":130},{"coordinates":[[125.14402976,43.83826012],[125.14405711,43.83827204],[125.14409249,43.83822949],[125.14406514,43.83821757],[125.14402976,43.83826012]],"type":"car","center":[125.14406113,43.8382448],"spaceCode":"1A-032","heading":130},{"coordinates":[[125.1439402,43.83827912],[125.14396743,43.83829099],[125.14400284,43.83824839],[125.14397561,43.83823653],[125.1439402,43.83827912]],"type":"car","center":[125.14397152,43.83826376],"spaceCode":"1A-022","heading":310},{"coordinates":[[125.14396743,43.83829099],[125.14399435,43.83830272],[125.14402976,43.83826012],[125.14400284,43.83824839],[125.14396743,43.83829099]],"type":"car","center":[125.1439986,43.83827555],"spaceCode":"1A-023","heading":310},{"coordinates":[[125.14399435,43.83830272],[125.1440217,43.83831463],[125.14405711,43.83827204],[125.14402976,43.83826012],[125.14399435,43.83830272]],"type":"car","center":[125.14402573,43.83828738],"spaceCode":"1A-024","heading":310},{"coordinates":[[125.14388503,43.83819743],[125.14391226,43.8382093],[125.14394746,43.83816667],[125.1439204,43.83815488],[125.14388503,43.83819743]],"type":"car","center":[125.14391627,43.83818209],"spaceCode":"1A-027","heading":130},{"coordinates":[[125.14391226,43.8382093],[125.14393918,43.83822103],[125.14397455,43.83817848],[125.14394746,43.83816667],[125.14391226,43.8382093]],"type":"car","center":[125.14394338,43.83819384],"spaceCode":"1A-028","heading":130},{"coordinates":[[125.14393918,43.83822103],[125.14396653,43.83823294],[125.1440019,43.83819039],[125.14397455,43.83817848],[125.14393918,43.83822103]],"type":"car","center":[125.14397054,43.83820571],"spaceCode":"1A-029","heading":130},{"coordinates":[[125.14384961,43.83824003],[125.14387684,43.83825189],[125.14391226,43.8382093],[125.14388503,43.83819743],[125.14384961,43.83824003]],"type":"car","center":[125.14388094,43.83822466],"spaceCode":"1A-019","heading":310},{"coordinates":[[125.14387684,43.83825189],[125.14390376,43.83826362],[125.14393918,43.83822103],[125.14391226,43.8382093],[125.14387684,43.83825189]],"type":"car","center":[125.14390801,43.83823646],"spaceCode":"1A-020","heading":310},{"coordinates":[[125.14390376,43.83826362],[125.14393111,43.83827554],[125.14396653,43.83823294],[125.14393918,43.83822103],[125.14390376,43.83826362]],"type":"car","center":[125.14393515,43.83824828],"spaceCode":"1A-021","heading":310},{"coordinates":[[125.14382179,43.83816977],[125.14384902,43.83818164],[125.14388422,43.83813901],[125.14385717,43.83812722],[125.14382179,43.83816977]],"type":"car","center":[125.14385303,43.83815443],"spaceCode":"1A-025","heading":130},{"coordinates":[[125.14384902,43.83818164],[125.14387594,43.83819336],[125.14391132,43.83815082],[125.14388422,43.83813901],[125.14384902,43.83818164]],"type":"car","center":[125.14388015,43.83816618],"spaceCode":"1A-026","heading":130},{"coordinates":[[125.14378638,43.83821237],[125.14381361,43.83822423],[125.14384902,43.83818164],[125.14382179,43.83816977],[125.14378638,43.83821237]],"type":"car","center":[125.1438177,43.838197],"spaceCode":"1A-017","heading":310},{"coordinates":[[125.14381361,43.83822423],[125.14384053,43.83823596],[125.14387594,43.83819336],[125.14384902,43.83818164],[125.14381361,43.83822423]],"type":"car","center":[125.14384478,43.8382088],"spaceCode":"1A-018","heading":310},{"coordinates":[[125.14404892,43.83814827],[125.14407615,43.83816013],[125.14411135,43.83811751],[125.1440843,43.83810572],[125.14404892,43.83814827]],"type":"car","center":[125.14408016,43.83813293],"spaceCode":"1A-038","heading":310},{"coordinates":[[125.14407615,43.83816013],[125.14410307,43.83817186],[125.14413844,43.83812931],[125.14411135,43.83811751],[125.14407615,43.83816013]],"type":"car","center":[125.14410727,43.83814468],"spaceCode":"1A-039","heading":310},{"coordinates":[[125.14410307,43.83817186],[125.14413042,43.83818378],[125.1441658,43.83814123],[125.14413844,43.83812931],[125.14410307,43.83817186]],"type":"car","center":[125.14413443,43.83815655],"spaceCode":"1A-040","heading":310},{"coordinates":[[125.1435066,43.83791253],[125.14353383,43.83792439],[125.14356925,43.8378818],[125.14354201,43.83786993],[125.1435066,43.83791253]],"type":"car","center":[125.14353792,43.83789716],"spaceCode":"1B-049","heading":310},{"coordinates":[[125.14353383,43.83792439],[125.14356075,43.83793612],[125.14359616,43.83789352],[125.14356925,43.8378818],[125.14353383,43.83792439]],"type":"car","center":[125.143565,43.83790896],"spaceCode":"1B-050","heading":310},{"coordinates":[[125.14356075,43.83793612],[125.1435881,43.83794804],[125.14362352,43.83790544],[125.14359616,43.83789352],[125.14356075,43.83793612]],"type":"car","center":[125.14359213,43.83792078],"spaceCode":"1B-051","heading":310},{"coordinates":[[125.14395851,43.83810894],[125.14398574,43.8381208],[125.14402094,43.83807818],[125.14399389,43.83806639],[125.14395851,43.83810894]],"type":"car","center":[125.14398975,43.8380936],"spaceCode":"1A-035","heading":310},{"coordinates":[[125.14398574,43.8381208],[125.14401266,43.83813253],[125.14404803,43.83808998],[125.14402094,43.83807818],[125.14398574,43.8381208]],"type":"car","center":[125.14401686,43.83810535],"spaceCode":"1A-036","heading":310},{"coordinates":[[125.14401266,43.83813253],[125.14404001,43.83814444],[125.14407539,43.8381019],[125.14404803,43.83808998],[125.14401266,43.83813253]],"type":"car","center":[125.14404402,43.83811721],"spaceCode":"1A-037","heading":310},{"coordinates":[[125.14359723,43.83795191],[125.14362446,43.83796377],[125.1436584,43.83792296],[125.14363117,43.8379111],[125.14359723,43.83795191]],"type":"car","center":[125.14362781,43.83793744],"spaceCode":"1B-052","heading":310},{"coordinates":[[125.14362446,43.83796377],[125.14365138,43.8379755],[125.14368531,43.83793469],[125.1436584,43.83792296],[125.14362446,43.83796377]],"type":"car","center":[125.14365489,43.83794923],"spaceCode":"1B-053","heading":310},{"coordinates":[[125.14365138,43.8379755],[125.14367873,43.83798742],[125.14371266,43.83794661],[125.14368531,43.83793469],[125.14365138,43.8379755]],"type":"car","center":[125.14368202,43.83796106],"spaceCode":"1B-054","heading":310},{"coordinates":[[125.14332429,43.83813205],[125.14335152,43.83814391],[125.14338672,43.83810129],[125.14335967,43.8380895],[125.14332429,43.83813205]],"type":"car","center":[125.14335553,43.83811671],"spaceCode":"1B-013","heading":130},{"coordinates":[[125.14335152,43.83814391],[125.14337844,43.83815564],[125.14341382,43.83811309],[125.14338672,43.83810129],[125.14335152,43.83814391]],"type":"car","center":[125.14338264,43.83812846],"spaceCode":"1B-014","heading":130},{"coordinates":[[125.14337844,43.83815564],[125.14340579,43.83816756],[125.14344117,43.83812501],[125.14341382,43.83811309],[125.14337844,43.83815564]],"type":"car","center":[125.1434098,43.83814032],"spaceCode":"1B-015","heading":130},{"coordinates":[[125.14328887,43.83817464],[125.14331611,43.83818651],[125.14335152,43.83814391],[125.14332429,43.83813205],[125.14328887,43.83817464]],"type":"car","center":[125.1433202,43.83815928],"spaceCode":"1B-001","heading":310},{"coordinates":[[125.14331611,43.83818651],[125.14334302,43.83819824],[125.14337844,43.83815564],[125.14335152,43.83814391],[125.14331611,43.83818651]],"type":"car","center":[125.14334727,43.83817107],"spaceCode":"1B-002","heading":310},{"coordinates":[[125.14334302,43.83819824],[125.14337038,43.83821015],[125.14340579,43.83816756],[125.14337844,43.83815564],[125.14334302,43.83819824]],"type":"car","center":[125.14337441,43.8381829],"spaceCode":"1B-003","heading":310},{"coordinates":[[125.14350488,43.83821061],[125.14353212,43.83822248],[125.14356731,43.83817985],[125.14354026,43.83816806],[125.14350488,43.83821061]],"type":"car","center":[125.14353612,43.83819527],"spaceCode":"1B-019","heading":130},{"coordinates":[[125.14353212,43.83822248],[125.14355903,43.8382342],[125.14359441,43.83819165],[125.14356731,43.83817985],[125.14353212,43.83822248]],"type":"car","center":[125.14356324,43.83820702],"spaceCode":"1B-020","heading":130},{"coordinates":[[125.14355903,43.8382342],[125.14358639,43.83824612],[125.14362176,43.83820357],[125.14359441,43.83819165],[125.14355903,43.8382342]],"type":"car","center":[125.1435904,43.83821889],"spaceCode":"1B-021","heading":130},{"coordinates":[[125.14346947,43.83825321],[125.1434967,43.83826507],[125.14353212,43.83822248],[125.14350488,43.83821061],[125.14346947,43.83825321]],"type":"car","center":[125.14350079,43.83823784],"spaceCode":"1B-007","heading":310},{"coordinates":[[125.1434967,43.83826507],[125.14352362,43.8382768],[125.14355903,43.8382342],[125.14353212,43.83822248],[125.1434967,43.83826507]],"type":"car","center":[125.14352787,43.83824964],"spaceCode":"1B-008","heading":310},{"coordinates":[[125.14352362,43.8382768],[125.14355097,43.83828872],[125.14358639,43.83824612],[125.14355903,43.8382342],[125.14352362,43.8382768]],"type":"car","center":[125.143555,43.83826146],"spaceCode":"1B-009","heading":310},{"coordinates":[[125.14359536,43.83824985],[125.14362259,43.83826171],[125.14365779,43.83821909],[125.14363074,43.8382073],[125.14359536,43.83824985]],"type":"car","center":[125.1436266,43.83823451],"spaceCode":"1B-022","heading":130},{"coordinates":[[125.14362259,43.83826171],[125.14364951,43.83827344],[125.14368488,43.83823089],[125.14365779,43.83821909],[125.14362259,43.83826171]],"type":"car","center":[125.14365371,43.83824626],"spaceCode":"1B-023","heading":130},{"coordinates":[[125.14364951,43.83827344],[125.14367686,43.83828536],[125.14371224,43.83824281],[125.14368488,43.83823089],[125.14364951,43.83827344]],"type":"car","center":[125.14368087,43.83825812],"spaceCode":"1B-024","heading":130},{"coordinates":[[125.14355994,43.83829244],[125.14358718,43.83830431],[125.14362259,43.83826171],[125.14359536,43.83824985],[125.14355994,43.83829244]],"type":"car","center":[125.14359127,43.83827708],"spaceCode":"1B-010","heading":310},{"coordinates":[[125.14358718,43.83830431],[125.14361409,43.83831604],[125.14364951,43.83827344],[125.14362259,43.83826171],[125.14358718,43.83830431]],"type":"car","center":[125.14361834,43.83828887],"spaceCode":"1B-011","heading":310},{"coordinates":[[125.14361409,43.83831604],[125.14364145,43.83832795],[125.14367686,43.83828536],[125.14364951,43.83827344],[125.14361409,43.83831604]],"type":"car","center":[125.14364548,43.8383007],"spaceCode":"1B-012","heading":310},{"coordinates":[[125.14377612,43.83832862],[125.14380335,43.83834048],[125.14383855,43.83829785],[125.1438115,43.83828607],[125.14377612,43.83832862]],"type":"car","center":[125.14380736,43.83831328],"spaceCode":"1A-011","heading":130},{"coordinates":[[125.14380335,43.83834048],[125.14383027,43.83835221],[125.14386565,43.83830966],[125.14383855,43.83829785],[125.14380335,43.83834048]],"type":"car","center":[125.14383448,43.83832503],"spaceCode":"1A-012","heading":130},{"coordinates":[[125.14383027,43.83835221],[125.14385762,43.83836412],[125.143893,43.83832158],[125.14386565,43.83830966],[125.14383027,43.83835221]],"type":"car","center":[125.14386163,43.83833689],"spaceCode":"1A-013","heading":130},{"coordinates":[[125.14374071,43.83837121],[125.14376794,43.83838308],[125.14380335,43.83834048],[125.14377612,43.83832862],[125.14374071,43.83837121]],"type":"car","center":[125.14377203,43.83835585],"spaceCode":"1A-003","heading":310},{"coordinates":[[125.14376794,43.83838308],[125.14379486,43.8383948],[125.14383027,43.83835221],[125.14380335,43.83834048],[125.14376794,43.83838308]],"type":"car","center":[125.14379911,43.83836764],"spaceCode":"1A-004","heading":310},{"coordinates":[[125.14379486,43.8383948],[125.14382221,43.83840672],[125.14385762,43.83836412],[125.14383027,43.83835221],[125.14379486,43.8383948]],"type":"car","center":[125.14382624,43.83837946],"spaceCode":"1A-005","heading":310},{"coordinates":[[125.14371314,43.83830104],[125.14374037,43.8383129],[125.14377557,43.83827027],[125.14374852,43.83825849],[125.14371314,43.83830104]],"type":"car","center":[125.14374438,43.8382857],"spaceCode":"1A-009","heading":130},{"coordinates":[[125.14374037,43.8383129],[125.14376729,43.83832463],[125.14380267,43.83828208],[125.14377557,43.83827027],[125.14374037,43.8383129]],"type":"car","center":[125.14377149,43.83829745],"spaceCode":"1A-010","heading":130},{"coordinates":[[125.14367773,43.83834363],[125.14370496,43.8383555],[125.14374037,43.8383129],[125.14371314,43.83830104],[125.14367773,43.83834363]],"type":"car","center":[125.14370905,43.83832827],"spaceCode":"1A-001","heading":310},{"coordinates":[[125.14370496,43.8383555],[125.14373187,43.83836722],[125.14376729,43.83832463],[125.14374037,43.8383129],[125.14370496,43.8383555]],"type":"car","center":[125.14373612,43.83834006],"spaceCode":"1A-002","heading":310},{"coordinates":[[125.14341487,43.83817146],[125.1434421,43.83818333],[125.1434773,43.8381407],[125.14345025,43.83812891],[125.14341487,43.83817146]],"type":"car","center":[125.14344611,43.83815612],"spaceCode":"1B-016","heading":130},{"coordinates":[[125.1434421,43.83818333],[125.14346902,43.83819506],[125.1435044,43.83815251],[125.1434773,43.8381407],[125.1434421,43.83818333]],"type":"car","center":[125.14347322,43.83816787],"spaceCode":"1B-017","heading":130},{"coordinates":[[125.14346902,43.83819506],[125.14349637,43.83820697],[125.14353175,43.83816442],[125.1435044,43.83815251],[125.14346902,43.83819506]],"type":"car","center":[125.14350038,43.83817974],"spaceCode":"1B-018","heading":130},{"coordinates":[[125.14337945,43.83821406],[125.14340669,43.83822592],[125.1434421,43.83818333],[125.14341487,43.83817146],[125.14337945,43.83821406]],"type":"car","center":[125.14341078,43.83819869],"spaceCode":"1B-004","heading":310},{"coordinates":[[125.14340669,43.83822592],[125.14343361,43.83823765],[125.14346902,43.83819506],[125.1434421,43.83818333],[125.14340669,43.83822592]],"type":"car","center":[125.14343785,43.83821049],"spaceCode":"1B-005","heading":310},{"coordinates":[[125.14343361,43.83823765],[125.14346096,43.83824957],[125.14349637,43.83820697],[125.14346902,43.83819506],[125.14343361,43.83823765]],"type":"car","center":[125.14346499,43.83822231],"spaceCode":"1B-006","heading":310},{"coordinates":[[125.14370426,43.83811868],[125.14373149,43.83813054],[125.14376669,43.83808792],[125.14373964,43.83807613],[125.14370426,43.83811868]],"type":"car","center":[125.1437355,43.83810334],"spaceCode":"1B-046","heading":130},{"coordinates":[[125.14373149,43.83813054],[125.14375841,43.83814227],[125.14379379,43.83809972],[125.14376669,43.83808792],[125.14373149,43.83813054]],"type":"car","center":[125.14376261,43.83811509],"spaceCode":"1B-047","heading":130},{"coordinates":[[125.14375841,43.83814227],[125.14378576,43.83815419],[125.14382114,43.83811164],[125.14379379,43.83809972],[125.14375841,43.83814227]],"type":"car","center":[125.14378977,43.83812695],"spaceCode":"1B-048","heading":130},{"coordinates":[[125.14366885,43.83816127],[125.14369608,43.83817314],[125.14373149,43.83813054],[125.14370426,43.83811868],[125.14366885,43.83816127]],"type":"car","center":[125.14370017,43.83814591],"spaceCode":"1B-034","heading":310},{"coordinates":[[125.14369608,43.83817314],[125.14372299,43.83818486],[125.14375841,43.83814227],[125.14373149,43.83813054],[125.14369608,43.83817314]],"type":"car","center":[125.14372724,43.8381577],"spaceCode":"1B-035","heading":310},{"coordinates":[[125.14372299,43.83818486],[125.14375035,43.83819678],[125.14378576,43.83815419],[125.14375841,43.83814227],[125.14372299,43.83818486]],"type":"car","center":[125.14375438,43.83816953],"spaceCode":"1B-036","heading":310},{"coordinates":[[125.14343296,43.83800097],[125.1434602,43.83801283],[125.14349539,43.83797021],[125.14346834,43.83795842],[125.14343296,43.83800097]],"type":"car","center":[125.1434642,43.83798563],"spaceCode":"1B-037","heading":130},{"coordinates":[[125.1434602,43.83801283],[125.14348711,43.83802456],[125.14352249,43.83798201],[125.14349539,43.83797021],[125.1434602,43.83801283]],"type":"car","center":[125.14349132,43.83799738],"spaceCode":"1B-038","heading":130},{"coordinates":[[125.14348711,43.83802456],[125.14351447,43.83803648],[125.14354984,43.83799393],[125.14352249,43.83798201],[125.14348711,43.83802456]],"type":"car","center":[125.14351848,43.83800925],"spaceCode":"1B-039","heading":130},{"coordinates":[[125.14339755,43.83804356],[125.14342478,43.83805543],[125.1434602,43.83801283],[125.14343296,43.83800097],[125.14339755,43.83804356]],"type":"car","center":[125.14342887,43.8380282],"spaceCode":"1B-025","heading":310},{"coordinates":[[125.14342478,43.83805543],[125.1434517,43.83806716],[125.14348711,43.83802456],[125.1434602,43.83801283],[125.14342478,43.83805543]],"type":"car","center":[125.14345595,43.83804],"spaceCode":"1B-026","heading":310},{"coordinates":[[125.1434517,43.83806716],[125.14347905,43.83807907],[125.14351447,43.83803648],[125.14348711,43.83802456],[125.1434517,43.83806716]],"type":"car","center":[125.14348308,43.83805182],"spaceCode":"1B-027","heading":310},{"coordinates":[[125.14361385,43.83807947],[125.14364108,43.83809134],[125.14367628,43.83804872],[125.14364922,43.83803693],[125.14361385,43.83807947]],"type":"car","center":[125.14364509,43.83806414],"spaceCode":"1B-043","heading":130},{"coordinates":[[125.14364108,43.83809134],[125.143668,43.83810307],[125.14370337,43.83806052],[125.14367628,43.83804872],[125.14364108,43.83809134]],"type":"car","center":[125.1436722,43.83807589],"spaceCode":"1B-044","heading":130},{"coordinates":[[125.143668,43.83810307],[125.14369535,43.83811499],[125.14373073,43.83807244],[125.14370337,43.83806052],[125.143668,43.83810307]],"type":"car","center":[125.14369936,43.83808775],"spaceCode":"1B-045","heading":130},{"coordinates":[[125.14357843,43.83812207],[125.14360566,43.83813394],[125.14364108,43.83809134],[125.14361385,43.83807947],[125.14357843,43.83812207]],"type":"car","center":[125.14360976,43.83810671],"spaceCode":"1B-031","heading":310},{"coordinates":[[125.14360566,43.83813394],[125.14363258,43.83814566],[125.143668,43.83810307],[125.14364108,43.83809134],[125.14360566,43.83813394]],"type":"car","center":[125.14363683,43.8381185],"spaceCode":"1B-032","heading":310},{"coordinates":[[125.14363258,43.83814566],[125.14365993,43.83815758],[125.14369535,43.83811499],[125.143668,43.83810307],[125.14363258,43.83814566]],"type":"car","center":[125.14366397,43.83813032],"spaceCode":"1B-033","heading":310},{"coordinates":[[125.1438667,43.83836801],[125.14389393,43.83837987],[125.14392913,43.83833725],[125.14390208,43.83832546],[125.1438667,43.83836801]],"type":"car","center":[125.14389794,43.83835267],"spaceCode":"1A-014","heading":130},{"coordinates":[[125.14389393,43.83837987],[125.14392085,43.8383916],[125.14395623,43.83834905],[125.14392913,43.83833725],[125.14389393,43.83837987]],"type":"car","center":[125.14392505,43.83836442],"spaceCode":"1A-015","heading":130},{"coordinates":[[125.14392085,43.8383916],[125.1439482,43.83840352],[125.14398358,43.83836097],[125.14395623,43.83834905],[125.14392085,43.8383916]],"type":"car","center":[125.14395221,43.83837628],"spaceCode":"1A-016","heading":130},{"coordinates":[[125.14383129,43.8384106],[125.14385852,43.83842247],[125.14389393,43.83837987],[125.1438667,43.83836801],[125.14383129,43.8384106]],"type":"car","center":[125.14386261,43.83839524],"spaceCode":"1A-006","heading":310},{"coordinates":[[125.14385852,43.83842247],[125.14388544,43.8384342],[125.14392085,43.8383916],[125.14389393,43.83837987],[125.14385852,43.83842247]],"type":"car","center":[125.14388968,43.83840703],"spaceCode":"1A-007","heading":310},{"coordinates":[[125.14388544,43.8384342],[125.14391279,43.83844611],[125.1439482,43.83840352],[125.14392085,43.8383916],[125.14388544,43.8384342]],"type":"car","center":[125.14391682,43.83841886],"spaceCode":"1A-008","heading":310},{"coordinates":[[125.14352323,43.83804008],[125.14355046,43.83805194],[125.14358566,43.83800932],[125.1435586,43.83799753],[125.14352323,43.83804008]],"type":"car","center":[125.14355447,43.83802474],"spaceCode":"1B-040","heading":130},{"coordinates":[[125.14355046,43.83805194],[125.14357738,43.83806367],[125.14361275,43.83802112],[125.14358566,43.83800932],[125.14355046,43.83805194]],"type":"car","center":[125.14358158,43.83803649],"spaceCode":"1B-041","heading":130},{"coordinates":[[125.14357738,43.83806367],[125.14360473,43.83807559],[125.1436401,43.83803304],[125.14361275,43.83802112],[125.14357738,43.83806367]],"type":"car","center":[125.14360874,43.83804835],"spaceCode":"1B-042","heading":130},{"coordinates":[[125.14348781,43.83808267],[125.14351504,43.83809454],[125.14355046,43.83805194],[125.14352323,43.83804008],[125.14348781,43.83808267]],"type":"car","center":[125.14351913,43.83806731],"spaceCode":"1B-028","heading":310},{"coordinates":[[125.14351504,43.83809454],[125.14354196,43.83810627],[125.14357738,43.83806367],[125.14355046,43.83805194],[125.14351504,43.83809454]],"type":"car","center":[125.14354621,43.8380791],"spaceCode":"1B-029","heading":310},{"coordinates":[[125.14354196,43.83810627],[125.14356931,43.83811818],[125.14360473,43.83807559],[125.14357738,43.83806367],[125.14354196,43.83810627]],"type":"car","center":[125.14357334,43.83809093],"spaceCode":"1B-030","heading":310},{"coordinates":[[125.14392326,43.83854943],[125.14390708,43.83856903],[125.14396194,43.83859277],[125.14397809,43.83857321],[125.14392326,43.83854943]],"type":"car","center":[125.14394258,43.8385711],"spaceCode":"1A-051","heading":23},{"coordinates":[[125.14390708,43.83856903],[125.14389089,43.83858863],[125.14394576,43.83861237],[125.14396194,43.83859277],[125.14390708,43.83856903]],"type":"car","center":[125.14392642,43.8385907],"spaceCode":"1A-052","heading":23},{"coordinates":[[125.14403683,43.83841207],[125.14402065,43.83843166],[125.14407537,43.83845539],[125.14409155,43.83843579],[125.14403683,43.83841207]],"type":"car","center":[125.1440561,43.83843373],"spaceCode":"1A-045","heading":23},{"coordinates":[[125.14402065,43.83843166],[125.14400446,43.83845126],[125.14405919,43.83847499],[125.14407537,43.83845539],[125.14402065,43.83843166]],"type":"car","center":[125.14403992,43.83845332],"spaceCode":"1A-046","heading":23},{"coordinates":[[125.14400447,43.83845126],[125.14398828,43.83847085],[125.14404303,43.83849455],[125.14405919,43.83847499],[125.14400447,43.83845126]],"type":"car","center":[125.14402373,43.83847291],"spaceCode":"1A-047","heading":23},{"coordinates":[[125.14398266,43.83847774],[125.14396648,43.83849734],[125.14402116,43.83852105],[125.14403734,43.83850145],[125.14398266,43.83847774]],"type":"car","center":[125.14400191,43.83849939],"spaceCode":"1A-048","heading":23},{"coordinates":[[125.14396648,43.83849734],[125.14395029,43.83851693],[125.14400498,43.83854064],[125.14402116,43.83852105],[125.14396648,43.83849734]],"type":"car","center":[125.14398572,43.83851899],"spaceCode":"1A-049","heading":23},{"coordinates":[[125.14395029,43.83851693],[125.14393411,43.83853653],[125.14398882,43.8385602],[125.14400498,43.83854064],[125.14395029,43.83851693]],"type":"car","center":[125.14396954,43.83853857],"spaceCode":"1A-050","heading":23},{"coordinates":[[125.14387228,43.8386107],[125.1438561,43.8386303],[125.14391124,43.83865417],[125.1439274,43.8386346],[125.14387228,43.8386107]],"type":"car","center":[125.14389175,43.83863244],"spaceCode":"1A-053","heading":23},{"coordinates":[[125.1438561,43.8386303],[125.14383991,43.8386499],[125.14389506,43.83867376],[125.14391124,43.83865417],[125.1438561,43.8386303]],"type":"car","center":[125.14387558,43.83865203],"spaceCode":"1A-054","heading":23},{"coordinates":[[125.14360418,43.83843212],[125.14363141,43.83844399],[125.14366679,43.83840144],[125.14363955,43.83838957],[125.14360418,43.83843212]],"type":"car","center":[125.14363548,43.83841678],"spaceCode":"1D-038","heading":130},{"coordinates":[[125.14363141,43.83844399],[125.14365833,43.83845571],[125.1436937,43.83841317],[125.14366679,43.83840144],[125.14363141,43.83844399]],"type":"car","center":[125.14366256,43.83842858],"spaceCode":"1D-039","heading":130},{"coordinates":[[125.14356876,43.83847472],[125.14359599,43.83848658],[125.14363141,43.83844399],[125.14360418,43.83843212],[125.14356876,43.83847472]],"type":"car","center":[125.14360009,43.83845935],"spaceCode":"1D-030","heading":310},{"coordinates":[[125.14359599,43.83848658],[125.14362291,43.83849831],[125.14365833,43.83845571],[125.14363141,43.83844399],[125.14359599,43.83848658]],"type":"car","center":[125.14362716,43.83847115],"spaceCode":"1D-031","heading":310},{"coordinates":[[125.14378497,43.83851089],[125.14381188,43.83852262],[125.14384726,43.83848007],[125.14382034,43.83846834],[125.14378497,43.83851089]],"type":"car","center":[125.14381611,43.83849548],"spaceCode":"1D-044","heading":130},{"coordinates":[[125.14375773,43.83849903],[125.14378497,43.83851089],[125.14382034,43.83846834],[125.14379311,43.83845648],[125.14375773,43.83849903]],"type":"car","center":[125.14378904,43.83848368],"spaceCode":"1D-043","heading":130},{"coordinates":[[125.14381188,43.83852262],[125.14383923,43.83853454],[125.14387461,43.83849199],[125.14384726,43.83848007],[125.14381188,43.83852262]],"type":"car","center":[125.14384325,43.8385073],"spaceCode":"1D-045","heading":130},{"coordinates":[[125.14372232,43.83854162],[125.14374955,43.83855349],[125.14378497,43.83851089],[125.14375773,43.83849903],[125.14372232,43.83854162]],"type":"car","center":[125.14375364,43.83852626],"spaceCode":"1D-035","heading":310},{"coordinates":[[125.14374955,43.83855349],[125.14377647,43.83856521],[125.14381188,43.83852262],[125.14378497,43.83851089],[125.14374955,43.83855349]],"type":"car","center":[125.14378072,43.83853805],"spaceCode":"1D-036","heading":310},{"coordinates":[[125.14377647,43.83856521],[125.14380382,43.83857713],[125.14383923,43.83853454],[125.14381188,43.83852262],[125.14377647,43.83856521]],"type":"car","center":[125.14380785,43.83854988],"spaceCode":"1D-037","heading":310},{"coordinates":[[125.14366748,43.8384597],[125.14369471,43.83847157],[125.14373009,43.83842902],[125.14370286,43.83841715],[125.14366748,43.8384597]],"type":"car","center":[125.14369879,43.83844436],"spaceCode":"1D-040","heading":130},{"coordinates":[[125.14369471,43.83847157],[125.14372163,43.8384833],[125.14375701,43.83844075],[125.14373009,43.83842902],[125.14369471,43.83847157]],"type":"car","center":[125.14372586,43.83845616],"spaceCode":"1D-041","heading":130},{"coordinates":[[125.14372163,43.8384833],[125.14374898,43.83849521],[125.14378436,43.83845266],[125.14375701,43.83844075],[125.14372163,43.8384833]],"type":"car","center":[125.143753,43.83846798],"spaceCode":"1D-042","heading":130},{"coordinates":[[125.14363207,43.8385023],[125.1436593,43.83851416],[125.14369471,43.83847157],[125.14366748,43.8384597],[125.14363207,43.8385023]],"type":"car","center":[125.14366339,43.83848693],"spaceCode":"1D-032","heading":310},{"coordinates":[[125.1436593,43.83851416],[125.14368622,43.83852589],[125.14372163,43.8384833],[125.14369471,43.83847157],[125.1436593,43.83851416]],"type":"car","center":[125.14369047,43.83849873],"spaceCode":"1D-033","heading":310},{"coordinates":[[125.14368622,43.83852589],[125.14371357,43.83853781],[125.14374898,43.83849521],[125.14372163,43.8384833],[125.14368622,43.83852589]],"type":"car","center":[125.1437176,43.83851055],"spaceCode":"1D-034","heading":310},{"coordinates":[[125.14348636,43.83838123],[125.14351359,43.83839309],[125.14354897,43.83835054],[125.14352174,43.83833868],[125.14348636,43.83838123]],"type":"car","center":[125.14351766,43.83836588],"spaceCode":"1C-044","heading":130},{"coordinates":[[125.14351359,43.83839309],[125.14354051,43.83840482],[125.14357589,43.83836227],[125.14354897,43.83835054],[125.14351359,43.83839309]],"type":"car","center":[125.14354474,43.83837768],"spaceCode":"1C-045","heading":130},{"coordinates":[[125.14354051,43.83840482],[125.14356786,43.83841674],[125.14360324,43.83837419],[125.14357589,43.83836227],[125.14354051,43.83840482]],"type":"car","center":[125.14357187,43.8383895],"spaceCode":"1C-046","heading":130},{"coordinates":[[125.14345094,43.83842382],[125.14347818,43.83843569],[125.14351359,43.83839309],[125.14348636,43.83838123],[125.14345094,43.83842382]],"type":"car","center":[125.14348227,43.83840846],"spaceCode":"1C-032","heading":310},{"coordinates":[[125.14347818,43.83843569],[125.14350509,43.83844742],[125.14354051,43.83840482],[125.14351359,43.83839309],[125.14347818,43.83843569]],"type":"car","center":[125.14350934,43.83842025],"spaceCode":"1C-033","heading":310},{"coordinates":[[125.14350509,43.83844742],[125.14353245,43.83845933],[125.14356786,43.83841674],[125.14354051,43.83840482],[125.14350509,43.83844742]],"type":"car","center":[125.14353648,43.83843208],"spaceCode":"1C-034","heading":310},{"coordinates":[[125.14339603,43.83834187],[125.14342326,43.83835374],[125.14345864,43.83831119],[125.14343141,43.83829932],[125.14339603,43.83834187]],"type":"car","center":[125.14342734,43.83832653],"spaceCode":"1C-041","heading":130},{"coordinates":[[125.14342326,43.83835374],[125.14345018,43.83836547],[125.14348556,43.83832292],[125.14345864,43.83831119],[125.14342326,43.83835374]],"type":"car","center":[125.14345441,43.83833833],"spaceCode":"1C-042","heading":130},{"coordinates":[[125.14345018,43.83836547],[125.14347754,43.83837738],[125.14351291,43.83833483],[125.14348556,43.83832292],[125.14345018,43.83836547]],"type":"car","center":[125.14348155,43.83835015],"spaceCode":"1C-043","heading":130},{"coordinates":[[125.14336062,43.83838447],[125.14338785,43.83839633],[125.14342326,43.83835374],[125.14339603,43.83834187],[125.14336062,43.83838447]],"type":"car","center":[125.14339194,43.8383691],"spaceCode":"1C-029","heading":310},{"coordinates":[[125.14338785,43.83839633],[125.14341477,43.83840806],[125.14345018,43.83836547],[125.14342326,43.83835374],[125.14338785,43.83839633]],"type":"car","center":[125.14341902,43.8383809],"spaceCode":"1C-030","heading":310},{"coordinates":[[125.14341477,43.83840806],[125.14344212,43.83841998],[125.14347754,43.83837738],[125.14345018,43.83836547],[125.14341477,43.83840806]],"type":"car","center":[125.14344615,43.83839272],"spaceCode":"1C-031","heading":310},{"coordinates":[[125.14330577,43.83830255],[125.14333301,43.83831441],[125.14336838,43.83827186],[125.14334115,43.83826],[125.14330577,43.83830255]],"type":"car","center":[125.14333708,43.8382872],"spaceCode":"1C-038","heading":130},{"coordinates":[[125.14333301,43.83831441],[125.14335993,43.83832614],[125.1433953,43.83828359],[125.14336838,43.83827186],[125.14333301,43.83831441]],"type":"car","center":[125.14336415,43.838299],"spaceCode":"1C-039","heading":130},{"coordinates":[[125.14335993,43.83832614],[125.14338728,43.83833806],[125.14342265,43.83829551],[125.1433953,43.83828359],[125.14335993,43.83832614]],"type":"car","center":[125.14339129,43.83831082],"spaceCode":"1C-040","heading":130},{"coordinates":[[125.14327036,43.83834514],[125.14329759,43.83835701],[125.14333301,43.83831441],[125.14330577,43.83830255],[125.14327036,43.83834514]],"type":"car","center":[125.14330168,43.83832978],"spaceCode":"1C-026","heading":310},{"coordinates":[[125.14329759,43.83835701],[125.14332451,43.83836874],[125.14335993,43.83832614],[125.14333301,43.83831441],[125.14329759,43.83835701]],"type":"car","center":[125.14332876,43.83834157],"spaceCode":"1C-027","heading":310},{"coordinates":[[125.14332451,43.83836874],[125.14335186,43.83838065],[125.14338728,43.83833806],[125.14335993,43.83832614],[125.14332451,43.83836874]],"type":"car","center":[125.14335589,43.8383534],"spaceCode":"1C-028","heading":310},{"coordinates":[[125.14370394,43.83865333],[125.14373122,43.83866519],[125.14376603,43.83862312],[125.14373893,43.83861134],[125.14370394,43.83865333]],"type":"car","center":[125.14373501,43.83863827],"spaceCode":"1D-029","heading":130},{"coordinates":[[125.14367702,43.83864162],[125.14370394,43.83865333],[125.14373893,43.83861134],[125.14371191,43.83859959],[125.14367702,43.83864162]],"type":"car","center":[125.14370796,43.83862646],"spaceCode":"1D-028","heading":130},{"coordinates":[[125.14364971,43.83862974],[125.14367702,43.83864162],[125.14371191,43.83859959],[125.1436846,43.83858771],[125.14364971,43.83862974]],"type":"car","center":[125.14368081,43.83861467],"spaceCode":"1D-027","heading":130},{"coordinates":[[125.1435508,43.83858539],[125.14358479,43.8385443],[125.1435577,43.83853252],[125.14352351,43.83857355],[125.1435508,43.83858539]],"type":"car","center":[125.14355418,43.83855896],"spaceCode":"1D-023","heading":130},{"coordinates":[[125.14352351,43.83857355],[125.1435577,43.83853252],[125.14353068,43.83852076],[125.14349656,43.83856187],[125.14352351,43.83857355]],"type":"car","center":[125.14352712,43.83854716],"spaceCode":"1D-022","heading":130},{"coordinates":[[125.1436414,43.83862487],[125.14367544,43.83858373],[125.14364835,43.83857195],[125.14361415,43.83861299],[125.1436414,43.83862487]],"type":"car","center":[125.14364482,43.83859841],"spaceCode":"1D-026","heading":130},{"coordinates":[[125.14361415,43.83861299],[125.14364835,43.83857195],[125.14362133,43.83856019],[125.14358724,43.83860126],[125.14361415,43.83861299]],"type":"car","center":[125.14361778,43.83858658],"spaceCode":"1D-025","heading":130},{"coordinates":[[125.14358724,43.83860126],[125.14362133,43.83856019],[125.14359401,43.83854831],[125.14355995,43.83858936],[125.14358724,43.83860126]],"type":"car","center":[125.14359063,43.83857478],"spaceCode":"1D-024","heading":130},{"coordinates":[[125.14346069,43.83854619],[125.14349468,43.83850511],[125.14346759,43.83849332],[125.14343339,43.83853436],[125.14346069,43.83854619]],"type":"car","center":[125.14346407,43.83851977],"spaceCode":"1C-022","heading":130},{"coordinates":[[125.14343339,43.83853436],[125.14346759,43.83849332],[125.14344057,43.83848157],[125.14340645,43.83852268],[125.14343339,43.83853436]],"type":"car","center":[125.14343701,43.83850797],"spaceCode":"1C-021","heading":130},{"coordinates":[[125.14340645,43.83852268],[125.14344057,43.83848157],[125.14341325,43.83846969],[125.14337911,43.83851082],[125.14340645,43.83852268]],"type":"car","center":[125.14340985,43.83849619],"spaceCode":"1C-020","heading":130},{"coordinates":[[125.14337026,43.8385069],[125.14340428,43.83846579],[125.14337719,43.83845401],[125.14334295,43.83849509],[125.14337026,43.8385069]],"type":"car","center":[125.14337365,43.83848047],"spaceCode":"1C-019","heading":130},{"coordinates":[[125.14334295,43.83849509],[125.14337719,43.83845401],[125.14335017,43.83844225],[125.14331599,43.83848342],[125.14334295,43.83849509]],"type":"car","center":[125.14334658,43.83846868],"spaceCode":"1C-018","heading":130},{"coordinates":[[125.14331599,43.83848342],[125.14335017,43.83844225],[125.14332285,43.83843037],[125.14328864,43.83847159],[125.14331599,43.83848342]],"type":"car","center":[125.14331941,43.83845691],"spaceCode":"1C-017","heading":130},{"coordinates":[[125.14325191,43.83845672],[125.14327919,43.83846859],[125.14331399,43.83842652],[125.1432869,43.83841474],[125.14325191,43.83845672]],"type":"car","center":[125.14328298,43.83844166],"spaceCode":"1C-016","heading":130},{"coordinates":[[125.14322499,43.83844502],[125.14325191,43.83845672],[125.1432869,43.83841474],[125.14325988,43.83840298],[125.14322499,43.83844502]],"type":"car","center":[125.14325593,43.83842985],"spaceCode":"1C-015","heading":130},{"coordinates":[[125.14319768,43.83843313],[125.14322499,43.83844502],[125.14325988,43.83840298],[125.14323257,43.8383911],[125.14319768,43.83843313]],"type":"car","center":[125.14322878,43.83841806],"spaceCode":"1C-014","heading":130},{"coordinates":[[125.14316153,43.83841741],[125.14318881,43.83842928],[125.14322362,43.83838721],[125.14319653,43.83837543],[125.14316153,43.83841741]],"type":"car","center":[125.1431926,43.83840236],"spaceCode":"1C-013","heading":130},{"coordinates":[[125.14313461,43.83840571],[125.14316153,43.83841741],[125.14319653,43.83837543],[125.1431695,43.83836367],[125.14313461,43.83840571]],"type":"car","center":[125.14316555,43.83839054],"spaceCode":"1C-012","heading":130},{"coordinates":[[125.14352243,43.8387679],[125.14349542,43.83875615],[125.14346121,43.83879796],[125.14348784,43.83880941],[125.14352243,43.8387679]],"type":"car","center":[125.14349177,43.8387828],"spaceCode":"1D-005","controlPoint":[125.14350892,43.83876203],"heading":130},{"coordinates":[[125.14349542,43.83875615],[125.14346818,43.83874432],[125.14343296,43.83878719],[125.14346121,43.83879796],[125.14349542,43.83875615]],"type":"car","center":[125.14346437,43.83877139],"spaceCode":"1D-004","controlPoint":[125.1434818,43.83875024],"heading":129},{"coordinates":[[125.14346818,43.83874432],[125.14344109,43.83873251],[125.14340656,43.83877446],[125.14343296,43.83878719],[125.14346818,43.83874432]],"type":"car","center":[125.14343724,43.83875965],"spaceCode":"1D-003","controlPoint":[125.14345464,43.83873842],"heading":129},{"coordinates":[[125.14361307,43.83880734],[125.14358595,43.83879554],[125.14355213,43.83883705],[125.14357898,43.83884859],[125.14361307,43.83880734]],"type":"car","center":[125.14358256,43.83882208],"spaceCode":"1D-008","controlPoint":[125.14359951,43.83880144],"heading":129},{"coordinates":[[125.14358595,43.83879554],[125.14355874,43.8387837],[125.14352448,43.83882516],[125.14355213,43.83883705],[125.14358595,43.83879554]],"type":"car","center":[125.14355528,43.83881041],"spaceCode":"1D-007","controlPoint":[125.14357234,43.83878962],"heading":130},{"coordinates":[[125.14355874,43.8387837],[125.14353174,43.83877196],[125.14349699,43.83881334],[125.14352448,43.83882516],[125.14355874,43.8387837]],"type":"car","center":[125.14352794,43.83879859],"spaceCode":"1D-006","controlPoint":[125.14354524,43.83877783],"heading":130},{"coordinates":[[125.1436762,43.83883481],[125.14364918,43.83882305],[125.1436147,43.83886396],[125.14364304,43.83887614],[125.1436762,43.83883481]],"type":"car","center":[125.14364565,43.83884964],"spaceCode":"1D-010","controlPoint":[125.14366269,43.83882893],"heading":130},{"coordinates":[[125.14364918,43.83882305],[125.14362188,43.83881118],[125.14358792,43.83885244],[125.1436147,43.83886396],[125.14364918,43.83882305]],"type":"car","center":[125.14361848,43.83883758],"spaceCode":"1D-009","controlPoint":[125.14363553,43.83881711],"heading":130},{"coordinates":[[125.14343214,43.83872862],[125.14340503,43.83871683],[125.14337047,43.83875894],[125.14339769,43.83877065],[125.14343214,43.83872862]],"type":"car","center":[125.14340133,43.83874376],"spaceCode":"1D-002","controlPoint":[125.14341859,43.83872272],"heading":129},{"coordinates":[[125.14340503,43.83871683],[125.14337774,43.83870495],[125.14334276,43.83874702],[125.14337047,43.83875894],[125.14340503,43.83871683]],"type":"car","center":[125.14337396,43.83873198],"spaceCode":"1D-001","controlPoint":[125.14339139,43.83871089],"heading":130},{"coordinates":[[125.14321557,43.83826324],[125.1432428,43.83827511],[125.143278,43.83823249],[125.14325095,43.8382207],[125.14321557,43.83826324]],"type":"car","center":[125.14324681,43.83824791],"spaceCode":"1C-035","heading":130},{"coordinates":[[125.1432428,43.83827511],[125.14326972,43.83828684],[125.1433051,43.83824429],[125.143278,43.83823249],[125.1432428,43.83827511]],"type":"car","center":[125.14327393,43.83825966],"spaceCode":"1C-036","heading":130},{"coordinates":[[125.14326972,43.83828684],[125.14329707,43.83829876],[125.14333245,43.83825621],[125.1433051,43.83824429],[125.14326972,43.83828684]],"type":"car","center":[125.14330109,43.83827152],"spaceCode":"1C-037","heading":130},{"coordinates":[[125.14318016,43.83830584],[125.14320739,43.83831771],[125.1432428,43.83827511],[125.14321557,43.83826324],[125.14318016,43.83830584]],"type":"car","center":[125.14321148,43.83829047],"spaceCode":"1C-023","heading":310},{"coordinates":[[125.14320739,43.83831771],[125.14323431,43.83832943],[125.14326972,43.83828684],[125.1432428,43.83827511],[125.14320739,43.83831771]],"type":"car","center":[125.14323856,43.83830227],"spaceCode":"1C-024","heading":310},{"coordinates":[[125.14323431,43.83832943],[125.14326166,43.83834135],[125.14329707,43.83829876],[125.14326972,43.83828684],[125.14323431,43.83832943]],"type":"car","center":[125.14326569,43.83831409],"spaceCode":"1C-025","heading":310},{"coordinates":[[125.14383992,43.83864989],[125.14382373,43.83866949],[125.14387888,43.83869336],[125.14389506,43.83867376],[125.14383992,43.83864989]],"type":"car","center":[125.1438594,43.83867163],"spaceCode":"1A-055","heading":23},{"coordinates":[[125.14341815,43.83865617],[125.14344527,43.83866797],[125.14347851,43.83862813],[125.14345085,43.83861626],[125.14341815,43.83865617]],"type":"car","center":[125.14344825,43.83864208],"spaceCode":"1D-011","heading":310},{"coordinates":[[125.14344527,43.83866797],[125.14347268,43.83867991],[125.14350583,43.83864003],[125.14347851,43.83862813],[125.14344527,43.83866797]],"type":"car","center":[125.14347556,43.83865402],"spaceCode":"1D-012","heading":310},{"coordinates":[[125.1431073,43.83839382],[125.14313461,43.83840571],[125.1431695,43.83836367],[125.14314219,43.83835179],[125.1431073,43.83839382]],"type":"car","center":[125.1431384,43.83837875],"spaceCode":"1C-011","heading":130},{"coordinates":[[125.14368955,43.83877419],[125.14371672,43.83878583],[125.14375191,43.83874395],[125.14372445,43.83873213],[125.14368955,43.83877419]],"type":"car","center":[125.14372069,43.83875898],"spaceCode":"1D-020","heading":310},{"coordinates":[[125.14366232,43.83876254],[125.14368955,43.83877419],[125.14372445,43.83873213],[125.1436973,43.83872045],[125.14366232,43.83876254]],"type":"car","center":[125.1436934,43.83874733],"spaceCode":"1D-019","heading":310},{"coordinates":[[125.14371672,43.83878583],[125.14374393,43.83879748],[125.14377898,43.83875559],[125.14375191,43.83874395],[125.14371672,43.83878583]],"type":"car","center":[125.14374787,43.83877072],"spaceCode":"1D-021","heading":310},{"coordinates":[[125.143599,43.83873495],[125.14362622,43.83874681],[125.14366191,43.83870458],[125.14363476,43.83869275],[125.143599,43.83873495]],"type":"car","center":[125.14363047,43.83871978],"spaceCode":"1D-017","heading":310},{"coordinates":[[125.14357196,43.83872317],[125.143599,43.83873495],[125.14363476,43.83869275],[125.14360722,43.83868075],[125.14357196,43.83872317]],"type":"car","center":[125.14360329,43.83870784],"spaceCode":"1D-016","heading":310},{"coordinates":[[125.14362622,43.83874681],[125.14365316,43.83875855],[125.1436891,43.83871643],[125.14366191,43.83870458],[125.14362622,43.83874681]],"type":"car","center":[125.14365762,43.83873156],"spaceCode":"1D-018","heading":310},{"coordinates":[[125.14350898,43.83869573],[125.14353576,43.8387074],[125.1435683,43.83866842],[125.14354123,43.8386566],[125.14350898,43.83869573]],"type":"car","center":[125.1435386,43.838682],"spaceCode":"1D-014","heading":310},{"coordinates":[[125.14348159,43.8386838],[125.14350898,43.83869573],[125.14354123,43.8386566],[125.14351407,43.83864473],[125.14348159,43.8386838]],"type":"car","center":[125.14351145,43.83867024],"spaceCode":"1D-013","heading":310},{"coordinates":[[125.14353576,43.8387074],[125.14356284,43.83871919],[125.14359487,43.83868003],[125.1435683,43.83866842],[125.14353576,43.8387074]],"type":"car","center":[125.14356539,43.83869382],"spaceCode":"1D-015","heading":310},{"coordinates":[[125.14332805,43.8386169],[125.14335521,43.83862873],[125.14338887,43.83858908],[125.14336161,43.8385772],[125.14332805,43.8386169]],"type":"car","center":[125.14335845,43.83860296],"spaceCode":"1C-009","heading":310},{"coordinates":[[125.14330087,43.83860505],[125.14332805,43.8386169],[125.14336161,43.8385772],[125.14333403,43.83856518],[125.14330087,43.83860505]],"type":"car","center":[125.14333118,43.83859103],"spaceCode":"1C-008","heading":310},{"coordinates":[[125.14335521,43.83862873],[125.14338247,43.83864061],[125.14341543,43.83860065],[125.14338887,43.83858908],[125.14335521,43.83862873]],"type":"car","center":[125.14338542,43.83861485],"spaceCode":"1C-010","heading":310},{"coordinates":[[125.14323768,43.83857752],[125.14326486,43.83858937],[125.14329776,43.83854938],[125.14327125,43.83853783],[125.14323768,43.83857752]],"type":"car","center":[125.14326782,43.83856361],"spaceCode":"1C-006","heading":310},{"coordinates":[[125.14321051,43.83856568],[125.14323768,43.83857752],[125.14327125,43.83853783],[125.14324363,43.83852579],[125.14321051,43.83856568]],"type":"car","center":[125.14324081,43.83855165],"spaceCode":"1C-005","heading":310},{"coordinates":[[125.14326486,43.83858937],[125.14329187,43.83860113],[125.14332482,43.83856117],[125.14329776,43.83854938],[125.14326486,43.83858937]],"type":"car","center":[125.14329484,43.83857526],"spaceCode":"1C-007","heading":310},{"coordinates":[[125.14317446,43.83854998],[125.14320169,43.83856184],[125.14323654,43.83851991],[125.14320962,43.83850818],[125.14317446,43.83854998]],"type":"car","center":[125.14320555,43.83853502],"spaceCode":"1C-004","heading":310},{"coordinates":[[125.14314741,43.83853819],[125.14317446,43.83854998],[125.14320962,43.83850818],[125.14318222,43.83849624],[125.14314741,43.83853819]],"type":"car","center":[125.14317847,43.8385231],"spaceCode":"1C-003","heading":310},{"coordinates":[[125.14312028,43.83852637],[125.14314741,43.83853819],[125.14318222,43.83849624],[125.14315499,43.8384844],[125.14312028,43.83852637]],"type":"car","center":[125.14315123,43.83851129],"spaceCode":"1C-002","heading":310},{"coordinates":[[125.1430857,43.8385113],[125.14311128,43.83852245],[125.14314622,43.83848055],[125.14312056,43.83846937],[125.1430857,43.8385113]],"type":"car","center":[125.14311595,43.83849591],"spaceCode":"1C-001","heading":310}]'),u=(n(741),6371008.8),h={centimeters:100*u,centimetres:100*u,degrees:u/111325,feet:3.28084*u,inches:39.37*u,kilometers:u/1e3,kilometres:u/1e3,meters:u,metres:u,miles:u/1609.344,millimeters:1e3*u,millimetres:1e3*u,nauticalmiles:u/1852,radians:1,yards:1.0936*u};function d(e,t,n){void 0===n&&(n={});var i={type:"Feature"};return(0===n.id||n.id)&&(i.id=n.id),n.bbox&&(i.bbox=n.bbox),i.properties=t||{},i.geometry=e,i}function p(e,t,n){if(void 0===n&&(n={}),!e)throw new Error("coordinates is required");if(!Array.isArray(e))throw new Error("coordinates must be an Array");if(e.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!E(e[0])||!E(e[1]))throw new Error("coordinates must contain numbers");var i={type:"Point",coordinates:e};return d(i,t,n)}function f(e,t,n){void 0===n&&(n={});for(var i=0,r=e;i=0))throw new Error("length must be a positive number");return v(A(e,t),n)}function E(e){return!isNaN(e)&&null!==e&&!Array.isArray(e)}function x(e){return!!e&&e.constructor===Object}function S(e,t,n){if(null!==e)for(var i,r,o,s,a,c,l,u,h=0,d=0,p=e.type,f="FeatureCollection"===p,m="Feature"===p,g=f?e.features.length:1,_=0;_a||d>c||p>l)return s=o,a=n,c=d,l=p,void(r=0);var f=m([s,o],e.properties);if(!1===t(f,n,i,p,r))return!1;r++,s=o}))&&void 0}}}))}function N(e,t,n){var i=n,r=!1;return R(e,(function(e,o,s,a,c){i=!1===r&&void 0===n?e:t(i,e,o,s,a,c),r=!0})),i}function L(e){var t=[1/0,1/0,-1/0,-1/0];return S(e,(function(e){t[0]>e[0]&&(t[0]=e[0]),t[1]>e[1]&&(t[1]=e[1]),t[2]=2&&!Array.isArray(e[0])&&!Array.isArray(e[1]))return e;throw new Error("coord must be GeoJSON Point or an Array of numbers")}function F(e){if(Array.isArray(e))return e;if("Feature"===e.type){if(null!==e.geometry)return e.geometry.coordinates}else if(e.coordinates)return e.coordinates;throw new Error("coords must be GeoJSON Feature, Geometry Object or an Array")}function k(e,t,n){if(!e)throw new Error("No feature passed");if(!n)throw new Error(".featureOf() requires a name");if(!e||"Feature"!==e.type||!e.geometry)throw new Error("Invalid input to "+n+", Feature with geometry required");if(!e.geometry||e.geometry.type!==t)throw new Error("Invalid input to "+n+": must be a "+t+", given "+e.geometry.type)}function z(e){return"Feature"===e.type?e.geometry:e}function U(e,t){return"FeatureCollection"===e.type?"FeatureCollection":"GeometryCollection"===e.type?"GeometryCollection":"Feature"===e.type&&null!==e.geometry?e.geometry.type:e.type}n(6519);n(3665);function V(e,t,n){if(void 0===n&&(n={}),!e)throw new Error("point is required");if(!t)throw new Error("polygon is required");var i=B(e),r=z(t),o=r.type,s=t.bbox,a=r.coordinates;if(s&&!1===G(i,s))return!1;"Polygon"===o&&(a=[a]);for(var c=!1,l=0;le[1]!==l>e[1]&&e[0]<(c-s)*(e[1]-a)/(l-a)+s;h&&(i=!i)}return i}function G(e,t){return t[0]<=e[0]&&t[1]<=e[1]&&t[2]>=e[0]&&t[3]>=e[1]}function j(e,t,n){void 0===n&&(n={});var i=B(e),r=B(t),o=C(r[1]-i[1]),s=C(r[0]-i[0]),a=C(i[1]),c=C(r[1]),l=Math.pow(Math.sin(o/2),2)+Math.pow(Math.sin(s/2),2)*Math.cos(a)*Math.cos(c);return v(2*Math.atan2(Math.sqrt(l),Math.sqrt(1-l)),n.units)}var q=j;(function(){function e(e,t,n){this.a=e,this.b=t,this.c=n;var i,r,o=t.x-e.x,s=t.y-e.y,a=n.x-e.x,c=n.y-e.y,l=o*(e.x+t.x)+s*(e.y+t.y),u=a*(e.x+n.x)+c*(e.y+n.y),h=2*(o*(n.y-t.y)-s*(n.x-t.x));this.x=(c*l-s*u)/h,this.y=(o*u-a*l)/h,i=this.x-e.x,r=this.y-e.y,this.r=i*i+r*r}})();Object.prototype.hasOwnProperty;n(5622),n(9500),n(2263);var W=new ArrayBuffer(16);new Float64Array(W),new Uint32Array(W);n(7533);(function(){function e(e){this.points=e.points||[],this.duration=e.duration||1e4,this.sharpness=e.sharpness||.85,this.centers=[],this.controls=[],this.stepLength=e.stepLength||60,this.length=this.points.length,this.delay=0;for(var t=0;te&&(t.push(i),n=r)}return t},e.prototype.vector=function(e){var t=this.pos(e+10),n=this.pos(e-10);return{angle:180*Math.atan2(t.y-n.y,t.x-n.x)/3.14,speed:Math.sqrt((n.x-t.x)*(n.x-t.x)+(n.y-t.y)*(n.y-t.y)+(n.z-t.z)*(n.z-t.z))}},e.prototype.pos=function(e){var t=e-this.delay;t<0&&(t=0),t>this.duration&&(t=this.duration-1);var n=t/this.duration;if(n>=1)return this.points[this.length-1];var i=Math.floor((this.points.length-1)*n),r=(this.length-1)*n-i;return Y(r,this.points[i],this.controls[i][1],this.controls[i+1][0],this.points[i+1])}})();function Y(e,t,n,i,r){var o=X(e),s={x:r.x*o[0]+i.x*o[1]+n.x*o[2]+t.x*o[3],y:r.y*o[0]+i.y*o[1]+n.y*o[2]+t.y*o[3],z:r.z*o[0]+i.z*o[1]+n.z*o[2]+t.z*o[3]};return s}function X(e){var t=e*e,n=t*e;return[n,3*t*(1-e),3*e*(1-e)*(1-e),(1-e)*(1-e)*(1-e)]}function K(e,t){void 0===t&&(t={});var n=Number(e[0]),i=Number(e[1]),r=Number(e[2]),o=Number(e[3]);if(6===e.length)throw new Error("@turf/bbox-polygon does not support BBox with 6 positions");var s=[n,i],a=[n,o],c=[r,o],l=[r,i];return f([[s,l,c,a,s]],t.properties,{bbox:e,id:t.id})}function Q(e){return K(M(e))}var J=Q;function Z(e,t,n,i){void 0===i&&(i={});var r=B(e),o=C(r[0]),s=C(r[1]),a=C(n),c=A(t,i.units),l=Math.asin(Math.sin(s)*Math.cos(c)+Math.cos(s)*Math.sin(c)*Math.cos(a)),u=o+Math.atan2(Math.sin(a)*Math.sin(c)*Math.cos(s),Math.cos(c)-Math.sin(s)*Math.sin(l)),h=w(u),d=w(l);return p([h,d],i.properties)}function $(e,t,n){if(void 0===n&&(n={}),!0===n.final)return ee(e,t);var i=B(e),r=B(t),o=C(i[0]),s=C(r[0]),a=C(i[1]),c=C(r[1]),l=Math.sin(s-o)*Math.cos(c),u=Math.cos(a)*Math.sin(c)-Math.sin(a)*Math.cos(c)*Math.cos(s-o);return w(Math.atan2(l,u))}function ee(e,t){var n=$(t,e);return n=(n+180)%360,n}function te(e,t){void 0===t&&(t={});var n=M(e),i=(n[0]+n[2])/2,r=(n[1]+n[3])/2;return p([i,r],t.properties,t)}var ne=te;function ie(e,t){void 0===t&&(t={});var n=0,i=0,r=0;return S(e,(function(e){n+=e[0],i+=e[1],r++}),!0),p([n/r,i/r],t.properties)}var re=ie;n(9264);function oe(e){if(!e)throw new Error("geojson is required");var t=[];return D(e,(function(e){se(e,t)})),g(t)}function se(e,t){var n=[],i=e.geometry;if(null!==i){switch(i.type){case"Polygon":n=F(i);break;case"LineString":n=[F(i)]}n.forEach((function(n){var i=ae(n,e.properties);i.forEach((function(e){e.id=t.length,t.push(e)}))}))}}function ae(e,t){var n=[];return e.reduce((function(e,i){var r=m([e,i],t);return r.bbox=ce(e,i),n.push(r),i})),n}function ce(e,t){var n=e[0],i=e[1],r=t[0],o=t[1],s=nr?n:r,l=i>o?i:o;return[s,a,c,l]}var le=oe,ue=n(2579);function he(e,t){var n={},i=[];if("LineString"===e.type&&(e=d(e)),"LineString"===t.type&&(t=d(t)),"Feature"===e.type&&"Feature"===t.type&&null!==e.geometry&&null!==t.geometry&&"LineString"===e.geometry.type&&"LineString"===t.geometry.type&&2===e.geometry.coordinates.length&&2===t.geometry.coordinates.length){var r=de(e,t);return r&&i.push(r),g(i)}var o=ue();return o.load(le(t)),I(le(e),(function(e){I(o.search(e),(function(t){var r=de(e,t);if(r){var o=F(r).join(",");n[o]||(n[o]=!0,i.push(r))}}))})),g(i)}function de(e,t){var n=F(e),i=F(t);if(2!==n.length)throw new Error(" line1 must only contain 2 coordinates");if(2!==i.length)throw new Error(" line2 must only contain 2 coordinates");var r=n[0][0],o=n[0][1],s=n[1][0],a=n[1][1],c=i[0][0],l=i[0][1],u=i[1][0],h=i[1][1],d=(h-l)*(s-r)-(u-c)*(a-o),f=(u-c)*(o-l)-(h-l)*(r-c),m=(s-r)*(o-l)-(a-o)*(r-c);if(0===d)return null;var g=f/d,_=m/d;if(g>=0&&g<=1&&_>=0&&_<=1){var y=r+g*(s-r),v=o+g*(a-o);return p([y,v])}return null}var pe=he;function fe(e,t,n){void 0===n&&(n={});var i=p([1/0,1/0],{dist:1/0}),r=0;return D(e,(function(e){for(var o=F(e),s=0;s0&&(_=g.features[0],_.properties.dist=q(t,_,n),_.properties.location=r+q(a,_,n)),a.properties.dist180?-360:i[0]-r[0]>180?360:0;var o=_e(i,r),s=T(o,"meters",n.units);return s}function _e(e,t,n){n=void 0===n?u:Number(n);var i=n,r=e[1]*Math.PI/180,o=t[1]*Math.PI/180,s=o-r,a=Math.abs(t[0]-e[0])*Math.PI/180;a>Math.PI&&(a-=2*Math.PI);var c=Math.log(Math.tan(o/2+Math.PI/4)/Math.tan(r/2+Math.PI/4)),l=Math.abs(c)>1e-11?s/c:Math.cos(r),h=Math.sqrt(s*s+l*l*a*a),d=h*i;return d}var ye=ge;function ve(e,t){return void 0===t&&(t={}),N(e,(function(e,n){var i=n.geometry.coordinates;return e+q(i[0],i[1],t)}),0)}var Ae=Math.PI/180,be=180/Math.PI,we=function(e,t){this.lon=e,this.lat=t,this.x=Ae*e,this.y=Ae*t};we.prototype.view=function(){return String(this.lon).slice(0,4)+","+String(this.lat).slice(0,4)},we.prototype.antipode=function(){var e=-1*this.lat,t=this.lon<0?180+this.lon:-1*(180-this.lon);return new we(t,e)};var Ce=function(){this.coords=[],this.length=0};Ce.prototype.move_to=function(e){this.length++,this.coords.push(e)};var Te=function(e){this.properties=e||{},this.geometries=[]};Te.prototype.json=function(){if(this.geometries.length<=0)return{geometry:{type:"LineString",coordinates:null},type:"Feature",properties:this.properties};if(1===this.geometries.length)return{geometry:{type:"LineString",coordinates:this.geometries[0].coords},type:"Feature",properties:this.properties};for(var e=[],t=0;td&&(m>u&&fu&&mc&&(c=g)}var _=[];if(a&&c0&&Math.abs(A-n[v-1][0])>d){var b=parseFloat(n[v-1][0]),w=parseFloat(n[v-1][1]),C=parseFloat(n[v][0]),T=parseFloat(n[v][1]);if(b>-180&&b-180&&n[v-1][0]u&&b<180&&-180===C&&v+1u&&n[v-1][0]<180){y.push([180,n[v][1]]),v++,y.push([n[v][0],n[v][1]]);continue}if(bu){var E=b;b=C,C=E;var x=w;w=T,T=x}if(b>u&&C=180&&bu?180:-180,P]),y=[],y.push([n[v-1][0]>u?-180:180,P]),_.push(y)}else y=[],_.push(y);y.push([A,n[v][1]])}else y.push([n[v][0],n[v][1]])}}else{var I=[];_.push(I);for(var O=0;O180?-(360-i):i;return r}function Se(e,t){var n=C(e[1]),i=C(t[1]),r=C(t[0]-e[0]);r>Math.PI&&(r-=2*Math.PI),r<-Math.PI&&(r+=2*Math.PI);var o=Math.log(Math.tan(i/2+Math.PI/4)/Math.tan(n/2+Math.PI/4)),s=Math.atan2(r,o);return(w(s)+360)%360}var Pe=xe;function Ie(e,t,n,i){void 0===i&&(i={});var r=t<0,o=T(Math.abs(t),i.units,"meters");r&&(o=-Math.abs(o));var s=B(e),a=Oe(s,o,n);return a[0]+=a[0]-s[0]>180?-360:s[0]-a[0]>180?360:0,p(a,i.properties)}function Oe(e,t,n,i){i=void 0===i?u:Number(i);var r=t/i,o=e[0]*Math.PI/180,s=C(e[1]),a=C(n),c=r*Math.cos(a),l=s+c;Math.abs(l)>Math.PI/2&&(l=l>0?Math.PI-l:-Math.PI-l);var h=Math.log(Math.tan(l/2+Math.PI/4)/Math.tan(s/2+Math.PI/4)),d=Math.abs(h)>1e-11?c/h:Math.cos(s),p=r*Math.sin(a)/d,f=o+p;return[(180*f/Math.PI+540)%360-180,180*l/Math.PI]}var De=Ie;var Re=[],Ne=[],Le=[],Me=[],Be=[],Fe=[],ke=[],ze=[],Ue=[],Ve=[],He=[],Ge=[],je=[],qe=[],We=[],Ye=[],Xe=[],Ke=[],Qe=[],Je=[],Ze=[],$e=[],et=[],tt=[];ke[85]=Ve[85]=-1,ze[85]=He[85]=0,Ue[85]=Ge[85]=1,Qe[85]=$e[85]=1,Je[85]=et[85]=0,Ze[85]=tt[85]=1,Re[85]=Me[85]=0,Ne[85]=Be[85]=-1,Le[85]=We[85]=0,Ye[85]=je[85]=0,Xe[85]=qe[85]=1,Fe[85]=Ke[85]=1,$e[1]=$e[169]=0,et[1]=et[169]=-1,tt[1]=tt[169]=0,je[1]=je[169]=-1,qe[1]=qe[169]=0,We[1]=We[169]=0,Ve[4]=Ve[166]=0,He[4]=He[166]=-1,Ge[4]=Ge[166]=1,Ye[4]=Ye[166]=1,Xe[4]=Xe[166]=0,Ke[4]=Ke[166]=0,ke[16]=ke[154]=0,ze[16]=ze[154]=1,Ue[16]=Ue[154]=1,Me[16]=Me[154]=1,Be[16]=Be[154]=0,Fe[16]=Fe[154]=1,Qe[64]=Qe[106]=0,Je[64]=Je[106]=1,Ze[64]=Ze[106]=0,Re[64]=Re[106]=-1,Ne[64]=Ne[106]=0,Le[64]=Le[106]=1,Qe[2]=Qe[168]=0,Je[2]=Je[168]=-1,Ze[2]=Ze[168]=1,$e[2]=$e[168]=0,et[2]=et[168]=-1,tt[2]=tt[168]=0,je[2]=je[168]=-1,qe[2]=qe[168]=0,We[2]=We[168]=0,Ye[2]=Ye[168]=-1,Xe[2]=Xe[168]=0,Ke[2]=Ke[168]=1,ke[8]=ke[162]=0,ze[8]=ze[162]=-1,Ue[8]=Ue[162]=0,Ve[8]=Ve[162]=0,He[8]=He[162]=-1,Ge[8]=Ge[162]=1,je[8]=je[162]=1,qe[8]=qe[162]=0,We[8]=We[162]=1,Ye[8]=Ye[162]=1,Xe[8]=Xe[162]=0,Ke[8]=Ke[162]=0,ke[32]=ke[138]=0,ze[32]=ze[138]=1,Ue[32]=Ue[138]=1,Ve[32]=Ve[138]=0,He[32]=He[138]=1,Ge[32]=Ge[138]=0,Re[32]=Re[138]=1,Ne[32]=Ne[138]=0,Le[32]=Le[138]=0,Me[32]=Me[138]=1,Be[32]=Be[138]=0,Fe[32]=Fe[138]=1,$e[128]=$e[42]=0,et[128]=et[42]=1,tt[128]=tt[42]=1,Qe[128]=Qe[42]=0,Je[128]=Je[42]=1,Ze[128]=Ze[42]=0,Re[128]=Re[42]=-1,Ne[128]=Ne[42]=0,Le[128]=Le[42]=1,Me[128]=Me[42]=-1,Be[128]=Be[42]=0,Fe[128]=Fe[42]=0,Ve[5]=Ve[165]=-1,He[5]=He[165]=0,Ge[5]=Ge[165]=0,$e[5]=$e[165]=1,et[5]=et[165]=0,tt[5]=tt[165]=0,Ye[20]=Ye[150]=0,Xe[20]=Xe[150]=1,Ke[20]=Ke[150]=1,Me[20]=Me[150]=0,Be[20]=Be[150]=-1,Fe[20]=Fe[150]=1,ke[80]=ke[90]=-1,ze[80]=ze[90]=0,Ue[80]=Ue[90]=1,Qe[80]=Qe[90]=1,Je[80]=Je[90]=0,Ze[80]=Ze[90]=1,je[65]=je[105]=0,qe[65]=qe[105]=1,We[65]=We[105]=0,Re[65]=Re[105]=0,Ne[65]=Ne[105]=-1,Le[65]=Le[105]=0,ke[160]=ke[10]=-1,ze[160]=ze[10]=0,Ue[160]=Ue[10]=1,Ve[160]=Ve[10]=-1,He[160]=He[10]=0,Ge[160]=Ge[10]=0,$e[160]=$e[10]=1,et[160]=et[10]=0,tt[160]=tt[10]=0,Qe[160]=Qe[10]=1,Je[160]=Je[10]=0,Ze[160]=Ze[10]=1,Ye[130]=Ye[40]=0,Xe[130]=Xe[40]=1,Ke[130]=Ke[40]=1,je[130]=je[40]=0,qe[130]=qe[40]=1,We[130]=We[40]=0,Re[130]=Re[40]=0,Ne[130]=Ne[40]=-1,Le[130]=Le[40]=0,Me[130]=Me[40]=0,Be[130]=Be[40]=-1,Fe[130]=Fe[40]=1,Ve[37]=Ve[133]=0,He[37]=He[133]=1,Ge[37]=Ge[133]=1,$e[37]=$e[133]=0,et[37]=et[133]=1,tt[37]=tt[133]=0,Re[37]=Re[133]=-1,Ne[37]=Ne[133]=0,Le[37]=Le[133]=0,Me[37]=Me[133]=1,Be[37]=Be[133]=0,Fe[37]=Fe[133]=0,Ye[148]=Ye[22]=-1,Xe[148]=Xe[22]=0,Ke[148]=Ke[22]=0,$e[148]=$e[22]=0,et[148]=et[22]=-1,tt[148]=tt[22]=1,Qe[148]=Qe[22]=0,Je[148]=Je[22]=1,Ze[148]=Ze[22]=1,Me[148]=Me[22]=-1,Be[148]=Be[22]=0,Fe[148]=Fe[22]=1,ke[82]=ke[88]=0,ze[82]=ze[88]=-1,Ue[82]=Ue[88]=1,Ye[82]=Ye[88]=1,Xe[82]=Xe[88]=0,Ke[82]=Ke[88]=1,je[82]=je[88]=-1,qe[82]=qe[88]=0,We[82]=We[88]=1,Qe[82]=Qe[88]=0,Je[82]=Je[88]=-1,Ze[82]=Ze[88]=0,ke[73]=ke[97]=0,ze[73]=ze[97]=1,Ue[73]=Ue[97]=0,Ve[73]=Ve[97]=0,He[73]=He[97]=-1,Ge[73]=Ge[97]=0,je[73]=je[97]=1,qe[73]=qe[97]=0,We[73]=We[97]=0,Re[73]=Re[97]=1,Ne[73]=Ne[97]=0,Le[73]=Le[97]=1,ke[145]=ke[25]=0,ze[145]=ze[25]=-1,Ue[145]=Ue[25]=0,je[145]=je[25]=1,qe[145]=qe[25]=0,We[145]=We[25]=1,$e[145]=$e[25]=0,et[145]=et[25]=1,tt[145]=tt[25]=1,Me[145]=Me[25]=-1,Be[145]=Be[25]=0,Fe[145]=Fe[25]=0,Ve[70]=Ve[100]=0,He[70]=He[100]=1,Ge[70]=Ge[100]=0,Ye[70]=Ye[100]=-1,Xe[70]=Xe[100]=0,Ke[70]=Ke[100]=1,Qe[70]=Qe[100]=0,Je[70]=Je[100]=-1,Ze[70]=Ze[100]=1,Re[70]=Re[100]=1,Ne[70]=Ne[100]=0,Le[70]=Le[100]=0,Ve[101]=Ve[69]=0,He[101]=He[69]=1,Ge[101]=Ge[69]=0,Re[101]=Re[69]=1,Ne[101]=Ne[69]=0,Le[101]=Le[69]=0,$e[149]=$e[21]=0,et[149]=et[21]=1,tt[149]=tt[21]=1,Me[149]=Me[21]=-1,Be[149]=Be[21]=0,Fe[149]=Fe[21]=0,Ye[86]=Ye[84]=-1,Xe[86]=Xe[84]=0,Ke[86]=Ke[84]=1,Qe[86]=Qe[84]=0,Je[86]=Je[84]=-1,Ze[86]=Ze[84]=1,ke[89]=ke[81]=0,ze[89]=ze[81]=-1,Ue[89]=Ue[81]=0,je[89]=je[81]=1,qe[89]=qe[81]=0,We[89]=We[81]=1,ke[96]=ke[74]=0,ze[96]=ze[74]=1,Ue[96]=Ue[74]=0,Ve[96]=Ve[74]=-1,He[96]=He[74]=0,Ge[96]=Ge[74]=1,Qe[96]=Qe[74]=1,Je[96]=Je[74]=0,Ze[96]=Ze[74]=0,Re[96]=Re[74]=1,Ne[96]=Ne[74]=0,Le[96]=Le[74]=1,ke[24]=ke[146]=0,ze[24]=ze[146]=-1,Ue[24]=Ue[146]=1,Ye[24]=Ye[146]=1,Xe[24]=Xe[146]=0,Ke[24]=Ke[146]=1,je[24]=je[146]=0,qe[24]=qe[146]=1,We[24]=We[146]=1,Me[24]=Me[146]=0,Be[24]=Be[146]=-1,Fe[24]=Fe[146]=0,Ve[6]=Ve[164]=-1,He[6]=He[164]=0,Ge[6]=Ge[164]=1,Ye[6]=Ye[164]=-1,Xe[6]=Xe[164]=0,Ke[6]=Ke[164]=0,$e[6]=$e[164]=0,et[6]=et[164]=-1,tt[6]=tt[164]=1,Qe[6]=Qe[164]=1,Je[6]=Je[164]=0,Ze[6]=Ze[164]=0,je[129]=je[41]=0,qe[129]=qe[41]=1,We[129]=We[41]=1,$e[129]=$e[41]=0,et[129]=et[41]=1,tt[129]=tt[41]=0,Re[129]=Re[41]=-1,Ne[129]=Ne[41]=0,Le[129]=Le[41]=0,Me[129]=Me[41]=0,Be[129]=Be[41]=-1,Fe[129]=Fe[41]=0,Ye[66]=Ye[104]=0,Xe[66]=Xe[104]=1,Ke[66]=Ke[104]=0,je[66]=je[104]=-1,qe[66]=qe[104]=0,We[66]=We[104]=1,Qe[66]=Qe[104]=0,Je[66]=Je[104]=-1,Ze[66]=Ze[104]=0,Re[66]=Re[104]=0,Ne[66]=Ne[104]=-1,Le[66]=Le[104]=1,ke[144]=ke[26]=-1,ze[144]=ze[26]=0,Ue[144]=Ue[26]=0,$e[144]=$e[26]=1,et[144]=et[26]=0,tt[144]=tt[26]=1,Qe[144]=Qe[26]=0,Je[144]=Je[26]=1,Ze[144]=Ze[26]=1,Me[144]=Me[26]=-1,Be[144]=Be[26]=0,Fe[144]=Fe[26]=1,Ve[36]=Ve[134]=0,He[36]=He[134]=1,Ge[36]=Ge[134]=1,Ye[36]=Ye[134]=0,Xe[36]=Xe[134]=1,Ke[36]=Ke[134]=0,Re[36]=Re[134]=0,Ne[36]=Ne[134]=-1,Le[36]=Le[134]=1,Me[36]=Me[134]=1,Be[36]=Be[134]=0,Fe[36]=Fe[134]=0,ke[9]=ke[161]=-1,ze[9]=ze[161]=0,Ue[9]=Ue[161]=0,Ve[9]=Ve[161]=0,He[9]=He[161]=-1,Ge[9]=Ge[161]=0,je[9]=je[161]=1,qe[9]=qe[161]=0,We[9]=We[161]=0,$e[9]=$e[161]=1,et[9]=et[161]=0,tt[9]=tt[161]=1,ke[136]=0,ze[136]=1,Ue[136]=1,Ve[136]=0,He[136]=1,Ge[136]=0,Ye[136]=-1,Xe[136]=0,Ke[136]=1,je[136]=-1,qe[136]=0,We[136]=0,$e[136]=0,et[136]=-1,tt[136]=0,Qe[136]=0,Je[136]=-1,Ze[136]=1,Re[136]=1,Ne[136]=0,Le[136]=0,Me[136]=1,Be[136]=0,Fe[136]=1,ke[34]=0,ze[34]=-1,Ue[34]=0,Ve[34]=0,He[34]=-1,Ge[34]=1,Ye[34]=1,Xe[34]=0,Ke[34]=0,je[34]=1,qe[34]=0,We[34]=1,$e[34]=0,et[34]=1,tt[34]=1,Qe[34]=0,Je[34]=1,Ze[34]=0,Re[34]=-1,Ne[34]=0,Le[34]=1,Me[34]=-1,Be[34]=0,Fe[34]=0,ke[35]=0,ze[35]=1,Ue[35]=1,Ve[35]=0,He[35]=-1,Ge[35]=1,Ye[35]=1,Xe[35]=0,Ke[35]=0,je[35]=-1,qe[35]=0,We[35]=0,$e[35]=0,et[35]=-1,tt[35]=0,Qe[35]=0,Je[35]=1,Ze[35]=0,Re[35]=-1,Ne[35]=0,Le[35]=1,Me[35]=1,Be[35]=0,Fe[35]=1,ke[153]=0,ze[153]=1,Ue[153]=1,je[153]=-1,qe[153]=0,We[153]=0,$e[153]=0,et[153]=-1,tt[153]=0,Me[153]=1,Be[153]=0,Fe[153]=1,Ve[102]=0,He[102]=-1,Ge[102]=1,Ye[102]=1,Xe[102]=0,Ke[102]=0,Qe[102]=0,Je[102]=1,Ze[102]=0,Re[102]=-1,Ne[102]=0,Le[102]=1,ke[155]=0,ze[155]=-1,Ue[155]=0,je[155]=1,qe[155]=0,We[155]=1,$e[155]=0,et[155]=1,tt[155]=1,Me[155]=-1,Be[155]=0,Fe[155]=0,Ve[103]=0,He[103]=1,Ge[103]=0,Ye[103]=-1,Xe[103]=0,Ke[103]=1,Qe[103]=0,Je[103]=-1,Ze[103]=1,Re[103]=1,Ne[103]=0,Le[103]=0,ke[152]=0,ze[152]=1,Ue[152]=1,Ye[152]=-1,Xe[152]=0,Ke[152]=1,je[152]=-1,qe[152]=0,We[152]=0,$e[152]=0,et[152]=-1,tt[152]=0,Qe[152]=0,Je[152]=-1,Ze[152]=1,Me[152]=1,Be[152]=0,Fe[152]=1,ke[156]=0,ze[156]=-1,Ue[156]=1,Ye[156]=1,Xe[156]=0,Ke[156]=1,je[156]=-1,qe[156]=0,We[156]=0,$e[156]=0,et[156]=-1,tt[156]=0,Qe[156]=0,Je[156]=1,Ze[156]=1,Me[156]=-1,Be[156]=0,Fe[156]=1,ke[137]=0,ze[137]=1,Ue[137]=1,Ve[137]=0,He[137]=1,Ge[137]=0,je[137]=-1,qe[137]=0,We[137]=0,$e[137]=0,et[137]=-1,tt[137]=0,Re[137]=1,Ne[137]=0,Le[137]=0,Me[137]=1,Be[137]=0,Fe[137]=1,ke[139]=0,ze[139]=1,Ue[139]=1,Ve[139]=0,He[139]=-1,Ge[139]=0,je[139]=1,qe[139]=0,We[139]=0,$e[139]=0,et[139]=1,tt[139]=0,Re[139]=-1,Ne[139]=0,Le[139]=0,Me[139]=1,Be[139]=0,Fe[139]=1,ke[98]=0,ze[98]=-1,Ue[98]=0,Ve[98]=0,He[98]=-1,Ge[98]=1,Ye[98]=1,Xe[98]=0,Ke[98]=0,je[98]=1,qe[98]=0,We[98]=1,Qe[98]=0,Je[98]=1,Ze[98]=0,Re[98]=-1,Ne[98]=0,Le[98]=1,ke[99]=0,ze[99]=1,Ue[99]=0,Ve[99]=0,He[99]=-1,Ge[99]=1,Ye[99]=1,Xe[99]=0,Ke[99]=0,je[99]=-1,qe[99]=0,We[99]=1,Qe[99]=0,Je[99]=-1,Ze[99]=0,Re[99]=1,Ne[99]=0,Le[99]=1,Ve[38]=0,He[38]=-1,Ge[38]=1,Ye[38]=1,Xe[38]=0,Ke[38]=0,$e[38]=0,et[38]=1,tt[38]=1,Qe[38]=0,Je[38]=1,Ze[38]=0,Re[38]=-1,Ne[38]=0,Le[38]=1,Me[38]=-1,Be[38]=0,Fe[38]=0,Ve[39]=0,He[39]=1,Ge[39]=1,Ye[39]=-1,Xe[39]=0,Ke[39]=0,$e[39]=0,et[39]=-1,tt[39]=1,Qe[39]=0,Je[39]=1,Ze[39]=0,Re[39]=-1,Ne[39]=0,Le[39]=1,Me[39]=1,Be[39]=0,Fe[39]=0;var nt=function(e){return[[e.bottomleft,0],[0,0],[0,e.leftbottom]]},it=function(e){return[[1,e.rightbottom],[1,0],[e.bottomright,0]]},rt=function(e){return[[e.topright,1],[1,1],[1,e.righttop]]},ot=function(e){return[[0,e.lefttop],[0,1],[e.topleft,1]]},st=function(e){return[[e.bottomright,0],[e.bottomleft,0],[0,e.leftbottom],[0,e.lefttop]]},at=function(e){return[[e.bottomright,0],[e.bottomleft,0],[1,e.righttop],[1,e.rightbottom]]},ct=function(e){return[[1,e.righttop],[1,e.rightbottom],[e.topleft,1],[e.topright,1]]},lt=function(e){return[[0,e.leftbottom],[0,e.lefttop],[e.topleft,1],[e.topright,1]]},ut=function(e){return[[0,0],[0,e.leftbottom],[1,e.rightbottom],[1,0]]},ht=function(e){return[[1,0],[e.bottomright,0],[e.topright,1],[1,1]]},dt=function(e){return[[1,1],[1,e.righttop],[0,e.lefttop],[0,1]]},pt=function(e){return[[e.bottomleft,0],[0,0],[0,1],[e.topleft,1]]},ft=function(e){return[[1,e.righttop],[1,e.rightbottom],[0,e.leftbottom],[0,e.lefttop]]},mt=function(e){return[[e.topleft,1],[e.topright,1],[e.bottomright,0],[e.bottomleft,0]]},gt=function(){return[[0,0],[0,1],[1,1],[1,0]]},_t=function(e){return[[1,e.rightbottom],[1,0],[0,0],[0,1],[e.topleft,1]]},yt=function(e){return[[e.topright,1],[1,1],[1,0],[0,0],[0,e.leftbottom]]},vt=function(e){return[[1,0],[e.bottomright,0],[0,e.lefttop],[0,1],[1,1]]},At=function(e){return[[1,1],[1,e.righttop],[e.bottomleft,0],[0,0],[0,1]]},bt=function(e){return[[1,e.righttop],[1,e.rightbottom],[0,e.lefttop],[0,1],[e.topleft,1]]},wt=function(e){return[[1,1],[1,e.righttop],[e.bottomright,0],[e.bottomleft,0],[e.topright,1]]},Ct=function(e){return[[1,e.rightbottom],[1,0],[e.bottomright,0],[0,e.leftbottom],[0,e.lefttop]]},Tt=function(e){return[[e.topright,1],[e.bottomleft,0],[0,0],[0,e.leftbottom],[e.topleft,1]]},Et=function(e){return[[e.bottomright,0],[e.bottomleft,0],[0,e.lefttop],[0,1],[e.topleft,1]]},xt=function(e){return[[1,1],[1,e.righttop],[0,e.leftbottom],[0,e.lefttop],[e.topright,1]]},St=function(e){return[[1,e.rightbottom],[1,0],[e.bottomright,0],[e.topleft,1],[e.topright,1]]},Pt=function(e){return[[1,e.righttop],[1,e.rightbottom],[e.bottomleft,0],[0,0],[0,e.leftbottom]]},It=function(e){return[[1,e.rightbottom],[1,0],[0,0],[0,e.leftbottom],[e.topleft,1],[e.topright,1]]},Ot=function(e){return[[1,1],[1,0],[e.bottomright,0],[0,e.leftbottom],[0,e.lefttop],[e.topright,1]]},Dt=function(e){return[[1,1],[1,e.righttop],[e.bottomright,0],[e.bottomleft,0],[0,e.lefttop],[0,1]]},Rt=function(e){return[[1,e.righttop],[1,e.rightbottom],[e.bottomleft,0],[0,0],[0,1],[e.topleft,1]]},Nt=function(e){return[[1,1],[1,e.righttop],[e.bottomleft,0],[0,0],[0,e.leftbottom],[e.topright,1]]},Lt=function(e){return[[1,e.rightbottom],[1,0],[e.bottomright,0],[0,e.lefttop],[0,1],[e.topleft,1]]},Mt=function(e){return[[1,e.righttop],[1,e.rightbottom],[e.bottomright,0],[e.bottomleft,0],[0,e.leftbottom],[0,e.lefttop],[e.topleft,1],[e.topright,1]]},Bt=function(e){return[[1,1],[1,e.righttop],[e.bottomleft,0],[0,0],[0,e.leftbottom],[e.topright,1]]},Ft=function(e){return[[1,e.rightbottom],[1,0],[e.bottomright,0],[0,e.lefttop],[0,1],[e.topleft,1]]},kt=function(e){return[[1,1],[1,e.righttop],[e.bottomright,0],[e.bottomleft,0],[0,e.leftbottom],[0,e.lefttop],[e.topright,1]]},zt=function(e){return[[1,e.righttop],[1,e.rightbottom],[e.bottomleft,0],[0,0],[0,e.leftbottom],[e.topleft,1],[e.topright,1]]},Ut=function(e){return[[1,e.righttop],[1,e.rightbottom],[e.bottomright,0],[e.bottomleft,0],[0,e.lefttop],[0,1],[e.topleft,1]]},Vt=function(e){return[[1,e.rightbottom],[1,0],[e.bottomright,0],[0,e.leftbottom],[0,e.lefttop],[e.topleft,1],[e.topright,1]]},Ht=[],Gt=[],jt=[],qt=[],Wt=[],Yt=[],Xt=[],Kt=[];qt[1]=Wt[1]=18,qt[169]=Wt[169]=18,jt[4]=Gt[4]=12,jt[166]=Gt[166]=12,Ht[16]=Kt[16]=4,Ht[154]=Kt[154]=4,Yt[64]=Xt[64]=22,Yt[106]=Xt[106]=22,jt[2]=Yt[2]=17,qt[2]=Wt[2]=18,jt[168]=Yt[168]=17,qt[168]=Wt[168]=18,Ht[8]=qt[8]=9,Gt[8]=jt[8]=12,Ht[162]=qt[162]=9,Gt[162]=jt[162]=12,Ht[32]=Kt[32]=4,Gt[32]=Xt[32]=1,Ht[138]=Kt[138]=4,Gt[138]=Xt[138]=1,Wt[128]=Kt[128]=21,Yt[128]=Xt[128]=22,Wt[42]=Kt[42]=21,Yt[42]=Xt[42]=22,Gt[5]=Wt[5]=14,Gt[165]=Wt[165]=14,jt[20]=Kt[20]=6,jt[150]=Kt[150]=6,Ht[80]=Yt[80]=11,Ht[90]=Yt[90]=11,qt[65]=Xt[65]=3,qt[105]=Xt[105]=3,Ht[160]=Yt[160]=11,Gt[160]=Wt[160]=14,Ht[10]=Yt[10]=11,Gt[10]=Wt[10]=14,jt[130]=Kt[130]=6,qt[130]=Xt[130]=3,jt[40]=Kt[40]=6,qt[40]=Xt[40]=3,Gt[101]=Xt[101]=1,Gt[69]=Xt[69]=1,Wt[149]=Kt[149]=21,Wt[21]=Kt[21]=21,jt[86]=Yt[86]=17,jt[84]=Yt[84]=17,Ht[89]=qt[89]=9,Ht[81]=qt[81]=9,Ht[96]=Xt[96]=0,Gt[96]=Yt[96]=15,Ht[74]=Xt[74]=0,Gt[74]=Yt[74]=15,Ht[24]=jt[24]=8,qt[24]=Kt[24]=7,Ht[146]=jt[146]=8,qt[146]=Kt[146]=7,Gt[6]=Yt[6]=15,jt[6]=Wt[6]=16,Gt[164]=Yt[164]=15,jt[164]=Wt[164]=16,qt[129]=Kt[129]=7,Wt[129]=Xt[129]=20,qt[41]=Kt[41]=7,Wt[41]=Xt[41]=20,jt[66]=Xt[66]=2,qt[66]=Yt[66]=19,jt[104]=Xt[104]=2,qt[104]=Yt[104]=19,Ht[144]=Wt[144]=10,Yt[144]=Kt[144]=23,Ht[26]=Wt[26]=10,Yt[26]=Kt[26]=23,Gt[36]=Kt[36]=5,jt[36]=Xt[36]=2,Gt[134]=Kt[134]=5,jt[134]=Xt[134]=2,Ht[9]=Wt[9]=10,Gt[9]=qt[9]=13,Ht[161]=Wt[161]=10,Gt[161]=qt[161]=13,Gt[37]=Kt[37]=5,Wt[37]=Xt[37]=20,Gt[133]=Kt[133]=5,Wt[133]=Xt[133]=20,jt[148]=Wt[148]=16,Yt[148]=Kt[148]=23,jt[22]=Wt[22]=16,Yt[22]=Kt[22]=23,Ht[82]=jt[82]=8,qt[82]=Yt[82]=19,Ht[88]=jt[88]=8,qt[88]=Yt[88]=19,Ht[73]=Xt[73]=0,Gt[73]=qt[73]=13,Ht[97]=Xt[97]=0,Gt[97]=qt[97]=13,Ht[145]=qt[145]=9,Wt[145]=Kt[145]=21,Ht[25]=qt[25]=9,Wt[25]=Kt[25]=21,Gt[70]=Xt[70]=1,jt[70]=Yt[70]=17,Gt[100]=Xt[100]=1,jt[100]=Yt[100]=17,Ht[34]=qt[34]=9,Gt[34]=jt[34]=12,Wt[34]=Kt[34]=21,Yt[34]=Xt[34]=22,Ht[136]=Kt[136]=4,Gt[136]=Xt[136]=1,jt[136]=Yt[136]=17,qt[136]=Wt[136]=18,Ht[35]=Kt[35]=4,Gt[35]=jt[35]=12,qt[35]=Wt[35]=18,Yt[35]=Xt[35]=22,Ht[153]=Kt[153]=4,qt[153]=Wt[153]=18,Gt[102]=jt[102]=12,Yt[102]=Xt[102]=22,Ht[155]=qt[155]=9,Wt[155]=Kt[155]=23,Gt[103]=Xt[103]=1,jt[103]=Yt[103]=17,Ht[152]=Kt[152]=4,jt[152]=Yt[152]=17,qt[152]=Wt[152]=18,Ht[156]=jt[156]=8,qt[156]=Wt[156]=18,Yt[156]=Kt[156]=23,Ht[137]=Kt[137]=4,Gt[137]=Xt[137]=1,qt[137]=Wt[137]=18,Ht[139]=Kt[139]=4,Gt[139]=qt[139]=13,Wt[139]=Xt[139]=20,Ht[98]=qt[98]=9,Gt[98]=jt[98]=12,Yt[98]=Xt[98]=22,Ht[99]=Xt[99]=0,Gt[99]=jt[99]=12,qt[99]=Yt[99]=19,Gt[38]=jt[38]=12,Wt[38]=Kt[38]=21,Yt[38]=Xt[38]=22,Gt[39]=Kt[39]=5,jt[39]=Wt[39]=16,Yt[39]=Xt[39]=22;var Qt=[];Qt[1]=Qt[169]=nt,Qt[4]=Qt[166]=it,Qt[16]=Qt[154]=rt,Qt[64]=Qt[106]=ot,Qt[168]=Qt[2]=st,Qt[162]=Qt[8]=at,Qt[138]=Qt[32]=ct,Qt[42]=Qt[128]=lt,Qt[5]=Qt[165]=ut,Qt[20]=Qt[150]=ht,Qt[80]=Qt[90]=dt,Qt[65]=Qt[105]=pt,Qt[160]=Qt[10]=ft,Qt[130]=Qt[40]=mt,Qt[85]=gt,Qt[101]=Qt[69]=_t,Qt[149]=Qt[21]=yt,Qt[86]=Qt[84]=vt,Qt[89]=Qt[81]=At,Qt[96]=Qt[74]=bt,Qt[24]=Qt[146]=wt,Qt[6]=Qt[164]=Ct,Qt[129]=Qt[41]=Tt,Qt[66]=Qt[104]=Et,Qt[144]=Qt[26]=xt,Qt[36]=Qt[134]=St,Qt[9]=Qt[161]=Pt,Qt[37]=Qt[133]=It,Qt[148]=Qt[22]=Ot,Qt[82]=Qt[88]=Dt,Qt[73]=Qt[97]=Rt,Qt[145]=Qt[25]=Nt,Qt[70]=Qt[100]=Lt,Qt[34]=function(e){return[lt(e),at(e)]},Qt[35]=Mt,Qt[136]=function(e){return[ct(e),st(e)]},Qt[153]=function(e){return[rt(e),nt(e)]},Qt[102]=function(e){return[it(e),ot(e)]},Qt[155]=Bt,Qt[103]=Ft,Qt[152]=function(e){return[rt(e),st(e)]},Qt[156]=kt,Qt[137]=function(e){return[ct(e),nt(e)]},Qt[139]=zt,Qt[98]=function(e){return[at(e),ot(e)]},Qt[99]=Ut,Qt[38]=function(e){return[it(e),lt(e)]},Qt[39]=Vt;function Jt(e){if(!e)throw new Error("geojson is required");switch(e.type){case"Feature":return Zt(e);case"FeatureCollection":return en(e);case"Point":case"LineString":case"Polygon":case"MultiPoint":case"MultiLineString":case"MultiPolygon":case"GeometryCollection":return tn(e);default:throw new Error("unknown GeoJSON type")}}function Zt(e){var t={type:"Feature"};return Object.keys(e).forEach((function(n){switch(n){case"type":case"properties":case"geometry":return;default:t[n]=e[n]}})),t.properties=$t(e.properties),t.geometry=tn(e.geometry),t}function $t(e){var t={};return e?(Object.keys(e).forEach((function(n){var i=e[n];"object"===typeof i?null===i?t[n]=null:Array.isArray(i)?t[n]=i.map((function(e){return e})):t[n]=$t(i):t[n]=i})),t):t}function en(e){var t={type:"FeatureCollection"};return Object.keys(e).forEach((function(n){switch(n){case"type":case"features":return;default:t[n]=e[n]}})),t.features=e.features.map((function(e){return Zt(e)})),t}function tn(e){var t={type:e.type};return e.bbox&&(t.bbox=e.bbox),"GeometryCollection"===e.type?(t.geometries=e.geometries.map((function(e){return tn(e)})),t):(t.coordinates=nn(e.coordinates),t)}function nn(e){var t=e;return"object"!==typeof t[0]?t.slice():t.map((function(e){return nn(e)}))}var rn=Jt;function on(e,t,n){if(n=n||{},!x(n))throw new Error("options is invalid");var i=n.origin,r=n.mutate;if(!e)throw new Error("geojson required");if("number"!==typeof t||0===t)throw new Error("invalid factor");var o=Array.isArray(i)||"object"===typeof i;return!0!==r&&(e=rn(e)),"FeatureCollection"!==e.type||o?sn(e,t,i):(I(e,(function(n,r){e.features[r]=sn(n,t,i)})),e)}function sn(e,t,n){var i="Point"===U(e);return n=an(e,n),1===t||i||S(e,(function(e){var i=ye(n,e),r=Pe(n,e),o=i*t,s=F(De(n,o,r));e[0]=s[0],e[1]=s[1],3===e.length&&(e[2]*=t)})),e}function an(e,t){if(void 0!==t&&null!==t||(t="centroid"),Array.isArray(t)||"object"===typeof t)return B(t);var n=e.bbox?e.bbox:M(e),i=n[0],r=n[1],o=n[2],s=n[3];switch(t){case"sw":case"southwest":case"westsouth":case"bottomleft":return p([i,r]);case"se":case"southeast":case"eastsouth":case"bottomright":return p([o,r]);case"nw":case"northwest":case"westnorth":case"topleft":return p([i,s]);case"ne":case"northeast":case"eastnorth":case"topright":return p([o,s]);case"center":return ne(e);case void 0:case null:case"centroid":return re(e);default:throw new Error("invalid origin")}}var cn=on;function ln(e,t,n,i){if(i=i||{},!x(i))throw new Error("options is invalid");var r=i.units,o=i.zTranslation,s=i.mutate;if(!e)throw new Error("geojson is required");if(void 0===t||null===t||isNaN(t))throw new Error("distance is required");if(o&&"number"!==typeof o&&isNaN(o))throw new Error("zTranslation is not a number");if(o=void 0!==o?o:0,0===t&&0===o)return e;if(void 0===n||null===n||isNaN(n))throw new Error("direction is required");return t<0&&(t=-t,n+=180),!1!==s&&void 0!==s||(e=rn(e)),S(e,(function(e){var i=F(De(e,t,n,{units:r}));e[0]=i[0],e[1]=i[1],o&&3===e.length&&(e[2]+=o)})),e}var un=ln;function hn(e){var t=e[0],n=e[1];return[n[0]-t[0],n[1]-t[1]]}function dn(e,t){return e[0]*t[1]-t[0]*e[1]}function pn(e,t){return[e[0]+t[0],e[1]+t[1]]}function fn(e,t){return[e[0]-t[0],e[1]-t[1]]}function mn(e,t){return[e*t[0],e*t[1]]}function gn(e,t){var n=e[0],i=hn(e),r=t[0],o=hn(t),s=dn(i,o),a=fn(r,n),c=dn(a,o),l=c/s,u=pn(n,mn(l,i));return u}function _n(e,t){var n=hn(e),i=hn(t);return 0===dn(n,i)}function yn(e,t){return!_n(e,t)&&gn(e,t)}function vn(e,t,n){if(n=n||{},!x(n))throw new Error("options is invalid");var i=n.units;if(!e)throw new Error("geojson is required");if(void 0===t||null===t||isNaN(t))throw new Error("distance is required");var r=U(e),o=e.properties;switch(r){case"LineString":return An(e,t,i);case"MultiLineString":var s=[];return D(e,(function(e){s.push(An(e,t,i).geometry.coordinates)})),_(s,o);default:throw new Error("geometry "+r+" is not supported")}}function An(e,t,n){var i=[],r=b(t,n),o=F(e),s=[];return o.forEach((function(e,t){if(t!==o.length-1){var n=bn(e,o[t+1],r);if(i.push(n),t>0){var a=i[t-1],c=yn(n,a);!1!==c&&(a[1]=c,n[0]=c),s.push(a[0]),t===o.length-2&&(s.push(n[0]),s.push(n[1]))}2===o.length&&(s.push(n[0]),s.push(n[1]))}})),m(s,e.properties)}function bn(e,t,n){var i=Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])),r=e[0]+n*(t[1]-e[1])/i,o=t[0]+n*(t[1]-e[1])/i,s=e[1]+n*(e[0]-t[0])/i,a=t[1]+n*(e[0]-t[0])/i;return[[r,s],[o,a]]}var wn=vn;function Cn(e){return(e>0)-(e<0)||+e}function Tn(e,t,n){var i=t[0]-e[0],r=t[1]-e[1],o=n[0]-t[0],s=n[1]-t[1];return Cn(i*s-o*r)}function En(e,t){var n=e.geometry.coordinates[0].map((function(e){return e[0]})),i=e.geometry.coordinates[0].map((function(e){return e[1]})),r=t.geometry.coordinates[0].map((function(e){return e[0]})),o=t.geometry.coordinates[0].map((function(e){return e[1]}));return Math.max.apply(null,n)===Math.max.apply(null,r)&&Math.max.apply(null,i)===Math.max.apply(null,o)&&Math.min.apply(null,n)===Math.min.apply(null,r)&&Math.min.apply(null,i)===Math.min.apply(null,o)}function xn(e,t){return t.geometry.coordinates[0].every((function(t){return V(p(t),e)}))}function Sn(e,t){return e[0]===t[0]&&e[1]===t[1]}var Pn=function(){function e(t){this.id=e.buildId(t),this.coordinates=t,this.innerEdges=[],this.outerEdges=[],this.outerEdgesSorted=!1}return e.buildId=function(e){return e.join(",")},e.prototype.removeInnerEdge=function(e){this.innerEdges=this.innerEdges.filter((function(t){return t.from.id!==e.from.id}))},e.prototype.removeOuterEdge=function(e){this.outerEdges=this.outerEdges.filter((function(t){return t.to.id!==e.to.id}))},e.prototype.addOuterEdge=function(e){this.outerEdges.push(e),this.outerEdgesSorted=!1},e.prototype.sortOuterEdges=function(){var e=this;this.outerEdgesSorted||(this.outerEdges.sort((function(t,n){var i=t.to,r=n.to;if(i.coordinates[0]-e.coordinates[0]>=0&&r.coordinates[0]-e.coordinates[0]<0)return 1;if(i.coordinates[0]-e.coordinates[0]<0&&r.coordinates[0]-e.coordinates[0]>=0)return-1;if(i.coordinates[0]-e.coordinates[0]===0&&r.coordinates[0]-e.coordinates[0]===0)return i.coordinates[1]-e.coordinates[1]>=0||r.coordinates[1]-e.coordinates[1]>=0?i.coordinates[1]-r.coordinates[1]:r.coordinates[1]-i.coordinates[1];var o=Tn(e.coordinates,i.coordinates,r.coordinates);if(o<0)return 1;if(o>0)return-1;var s=Math.pow(i.coordinates[0]-e.coordinates[0],2)+Math.pow(i.coordinates[1]-e.coordinates[1],2),a=Math.pow(r.coordinates[0]-e.coordinates[0],2)+Math.pow(r.coordinates[1]-e.coordinates[1],2);return s-a})),this.outerEdgesSorted=!0)},e.prototype.getOuterEdges=function(){return this.sortOuterEdges(),this.outerEdges},e.prototype.getOuterEdge=function(e){return this.sortOuterEdges(),this.outerEdges[e]},e.prototype.addInnerEdge=function(e){this.innerEdges.push(e)},e}(),In=Pn,On=function(){function e(e,t){this.from=e,this.to=t,this.next=void 0,this.label=void 0,this.symetric=void 0,this.ring=void 0,this.from.addOuterEdge(this),this.to.addInnerEdge(this)}return e.prototype.getSymetric=function(){return this.symetric||(this.symetric=new e(this.to,this.from),this.symetric.symetric=this),this.symetric},e.prototype.deleteEdge=function(){this.from.removeOuterEdge(this),this.to.removeInnerEdge(this)},e.prototype.isEqual=function(e){return this.from.id===e.from.id&&this.to.id===e.to.id},e.prototype.toString=function(){return"Edge { "+this.from.id+" -> "+this.to.id+" }"},e.prototype.toLineString=function(){return m([this.from.coordinates,this.to.coordinates])},e.prototype.compareTo=function(e){return Tn(e.from.coordinates,e.to.coordinates,this.to.coordinates)},e}(),Dn=On,Rn=function(){function e(){this.edges=[],this.polygon=void 0,this.envelope=void 0}return e.prototype.push=function(e){this.edges.push(e),this.polygon=this.envelope=void 0},e.prototype.get=function(e){return this.edges[e]},Object.defineProperty(e.prototype,"length",{get:function(){return this.edges.length},enumerable:!0,configurable:!0}),e.prototype.forEach=function(e){this.edges.forEach(e)},e.prototype.map=function(e){return this.edges.map(e)},e.prototype.some=function(e){return this.edges.some(e)},e.prototype.isValid=function(){return!0},e.prototype.isHole=function(){var e=this,t=this.edges.reduce((function(t,n,i){return n.from.coordinates[1]>e.edges[t].from.coordinates[1]&&(t=i),t}),0),n=(0===t?this.length:t)-1,i=(t+1)%this.length,r=Tn(this.edges[n].from.coordinates,this.edges[t].from.coordinates,this.edges[i].from.coordinates);return 0===r?this.edges[n].from.coordinates[0]>this.edges[i].from.coordinates[0]:r>0},e.prototype.toMultiPoint=function(){return y(this.edges.map((function(e){return e.from.coordinates})))},e.prototype.toPolygon=function(){if(this.polygon)return this.polygon;var e=this.edges.map((function(e){return e.from.coordinates}));return e.push(this.edges[0].from.coordinates),this.polygon=f([e])},e.prototype.getEnvelope=function(){return this.envelope?this.envelope:this.envelope=J(this.toPolygon())},e.findEdgeRingContaining=function(e,t){var n,i,r=e.getEnvelope();return t.forEach((function(t){var o=t.getEnvelope();if(i&&(n=i.getEnvelope()),!En(o,r)&&xn(o,r)){for(var s=e.map((function(e){return e.from.coordinates})),a=void 0,c=function(e){t.some((function(t){return Sn(e,t.from.coordinates)}))||(a=e)},l=0,u=s;l=0;--o){var s=r[o],a=s.symetric,c=void 0,l=void 0;s.label===t&&(c=s),a.label===t&&(l=a),c&&l&&(l&&(i=l),c&&(i&&(i.next=c,i=void 0),n||(n=c)))}i&&(i.next=n)},e.prototype._findLabeledEdgeRings=function(){var e=[],t=0;return this.edges.forEach((function(n){if(!(n.label>=0)){e.push(n);var i=n;do{i.label=t,i=i.next}while(!n.isEqual(i));t++}})),e},e.prototype.getEdgeRings=function(){var e=this;this._computeNextCWEdges(),this.edges.forEach((function(e){e.label=void 0})),this._findLabeledEdgeRings().forEach((function(t){e._findIntersectionNodes(t).forEach((function(n){e._computeNextCCWEdges(n,t.label)}))}));var t=[];return this.edges.forEach((function(n){n.ring||t.push(e._findEdgeRing(n))})),t},e.prototype._findIntersectionNodes=function(e){var t=[],n=e,i=function(){var i=0;n.from.getOuterEdges().forEach((function(t){t.label===e.label&&++i})),i>1&&t.push(n.from),n=n.next};do{i()}while(!e.isEqual(n));return t},e.prototype._findEdgeRing=function(e){var t=e,n=new Nn;do{n.push(t),t.ring=n,t=t.next}while(!e.isEqual(t));return n},e.prototype.removeNode=function(e){var t=this;e.getOuterEdges().forEach((function(e){return t.removeEdge(e)})),e.innerEdges.forEach((function(e){return t.removeEdge(e)})),delete this.nodes[e.id]},e.prototype.removeEdge=function(e){this.edges=this.edges.filter((function(t){return!t.isEqual(e)})),e.deleteEdge()}})();n(1430);n(4591);n(1934);function Mn(e){var t=e,n=[];while(t.parent)n.unshift(t),t=t.parent;return n}function Bn(){return new Un((function(e){return e.f}))}var Fn={search:function(e,t,n,i){e.cleanDirty(),i=i||{};var r=i.heuristic||Fn.heuristics.manhattan,o=i.closest||!1,s=Bn(),a=t;t.h=r(t,n),s.push(t);while(s.size()>0){var c=s.pop();if(c===n)return Mn(c);c.closed=!0;for(var l=e.neighbors(c),u=0,h=l.length;u0&&(this.content[0]=t,this.bubbleUp(0)),e},remove:function(e){var t=this.content.indexOf(e),n=this.content.pop();t!==this.content.length-1&&(this.content[t]=n,this.scoreFunction(n)0){var n=(e+1>>1)-1,i=this.content[n];if(!(this.scoreFunction(t)0)){if(o/=f,f<0){if(o0){if(o>p)return;o>d&&(d=o)}if(o=i-c,f||!(o<0)){if(o/=f,f<0){if(o>p)return;o>d&&(d=o)}else if(f>0){if(o0)){if(o/=m,m<0){if(o0){if(o>p)return;o>d&&(d=o)}if(o=r-l,m||!(o<0)){if(o/=m,m<0){if(o>p)return;o>d&&(d=o)}else if(m>0){if(o0||p<1)||(d>0&&(e[0]=[c+d*f,l+d*m]),p<1&&(e[1]=[c+p*f,l+p*m]),!0)}}}}}function Jn(e,t,n,i,r){var o=e[1];if(o)return!0;var s,a,c=e[0],l=e.left,u=e.right,h=l[0],d=l[1],p=u[0],f=u[1],m=(h+p)/2,g=(d+f)/2;if(f===d){if(m=i)return;if(h>p){if(c){if(c[1]>=r)return}else c=[m,n];o=[m,r]}else{if(c){if(c[1]1)if(h>p){if(c){if(c[1]>=r)return}else c=[(n-a)/s,n];o=[(r-a)/s,r]}else{if(c){if(c[1]=i)return}else c=[t,s*t+a];o=[i,s*i+a]}else{if(c){if(c[0]wi||Math.abs(r[0][1]-r[1][1])>wi)||delete bi[o]}function $n(e){return vi[e.index]={site:e,halfedges:[]}}function ei(e,t){var n=e.site,i=t.left,r=t.right;return n===r&&(r=i,i=n),r?Math.atan2(r[1]-i[1],r[0]-i[0]):(n===i?(i=t[1],r=t[0]):(i=t[0],r=t[1]),Math.atan2(i[0]-r[0],r[1]-i[1]))}function ti(e,t){return t[+(t.left!==e.site)]}function ni(e,t){return t[+(t.left===e.site)]}function ii(){for(var e,t,n,i,r=0,o=vi.length;rwi||Math.abs(m-d)>wi)&&(c.splice(a,0,bi.push(Xn(s,p,Math.abs(f-e)wi?[e,Math.abs(h-e)wi?[Math.abs(d-i)wi?[n,Math.abs(h-n)wi?[Math.abs(d-t)=-Ci)){var p=c*c+l*l,f=u*u+h*h,m=(h*p-l*f)/d,g=(c*f-u*p)/d,_=si.pop()||new ai;_.arc=e,_.site=r,_.x=m+s,_.y=(_.cy=g+a)+Math.sqrt(m*m+g*g),e.circle=_;var y=null,v=Ai._;while(v)if(_.ywi)a=a.L;else{if(r=o-_i(a,s),!(r>wi)){i>-wi?(t=a.P,n=a):r>-wi?(t=a,n=a.N):t=n=a;break}if(!a.R){t=a;break}a=a.R}$n(e);var c=di(e);if(yi.insert(t,c),t||n){if(t===n)return li(t),n=di(t.site),yi.insert(c,n),c.edge=n.edge=Yn(t.site,c.site),ci(t),void ci(n);if(n){li(t),li(n);var l=t.site,u=l[0],h=l[1],d=e[0]-u,p=e[1]-h,f=n.site,m=f[0]-u,g=f[1]-h,_=2*(d*g-p*m),y=d*d+p*p,v=m*m+g*g,A=[(g*y-p*v)/_+u,(d*v-m*y)/_+h];Kn(n.edge,l,f,A),c.edge=Yn(l,e,null,A),n.edge=Yn(e,f,null,A),ci(t),ci(n)}else c.edge=Yn(t.site,c.site)}}function gi(e,t){var n=e.site,i=n[0],r=n[1],o=r-t;if(!o)return i;var s=e.P;if(!s)return-1/0;n=s.site;var a=n[0],c=n[1],l=c-t;if(!l)return a;var u=a-i,h=1/o-1/l,d=u/l;return h?(-d+Math.sqrt(d*d-2*h*(u*u/(-2*l)-c+l/2+r-o/2)))/h+i:(i+a)/2}function _i(e,t){var n=e.N;if(n)return gi(n,t);var i=e.site;return i[1]===t?i[0]:1/0}var yi,vi,Ai,bi,wi=1e-6,Ci=1e-12;function Ti(e,t,n){return(e[0]-n[0])*(t[1]-e[1])-(e[0]-t[0])*(n[1]-e[1])}function Ei(e,t){return t[1]-e[1]||t[0]-e[0]}function xi(e,t){var n,i,r,o=e.sort(Ei).pop();bi=[],vi=new Array(e.length),yi=new Wn,Ai=new Wn;while(1)if(r=oi,o&&(!r||o[1]=a)return null;var c=e-r.site[0],l=t-r.site[1],u=c*c+l*l;do{r=o.cells[i=s],s=null,r.halfedges.forEach((function(n){var i=o.edges[n],a=i.left;if(a!==r.site&&a||(a=i.right)){var c=e-a[0],l=t-a[1],h=c*c+l*l;h1?0:e<-1?Ni:Math.acos(e)}function Ki(e){return e>1?Li:e<-1?-Li:Math.asin(e)}function Qi(){}function Ji(e,t){e&&$i.hasOwnProperty(e.type)&&$i[e.type](e,t)}var Zi={Feature:function(e,t){Ji(e.geometry,t)},FeatureCollection:function(e,t){var n=e.features,i=-1,r=n.length;while(++iNi?e-Bi:e<-Ni?e+Bi:e,t]}function dr(e,t,n){return(e%=Bi)?t||n?ur(fr(e),mr(t,n)):fr(e):t||n?mr(t,n):hr}function pr(e){return function(t,n){return t+=e,[t>Ni?t-Bi:t<-Ni?t+Bi:t,n]}}function fr(e){var t=pr(e);return t.invert=pr(-e),t}function mr(e,t){var n=Hi(e),i=qi(e),r=Hi(t),o=qi(t);function s(e,t){var s=Hi(t),a=Hi(e)*s,c=qi(e)*s,l=qi(t),u=l*n+a*i;return[Vi(c*r-u*o,a*n-l*i),Ki(u*r+c*o)]}return s.invert=function(e,t){var s=Hi(t),a=Hi(e)*s,c=qi(e)*s,l=qi(t),u=l*r-c*o;return[Vi(c*r+l*o,a*n+u*i),Ki(u*n-a*i)]},s}function gr(e,t,n,i,r,o){if(n){var s=Hi(t),a=qi(t),c=i*n;null==r?(r=t+i*Bi,o=t-c/2):(r=_r(s,r),o=_r(s,o),(i>0?ro)&&(r+=i*Bi));for(var l,u=r;i>0?u>o:u1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}}function vr(e,t,n,i,r,o){var s,a=e[0],c=e[1],l=t[0],u=t[1],h=0,d=1,p=l-a,f=u-c;if(s=n-a,p||!(s>0)){if(s/=p,p<0){if(s0){if(s>d)return;s>h&&(h=s)}if(s=r-a,p||!(s<0)){if(s/=p,p<0){if(s>d)return;s>h&&(h=s)}else if(p>0){if(s0)){if(s/=f,f<0){if(s0){if(s>d)return;s>h&&(h=s)}if(s=o-c,f||!(s<0)){if(s/=f,f<0){if(s>d)return;s>h&&(h=s)}else if(f>0){if(s0&&(e[0]=a+h*p,e[1]=c+h*f),d<1&&(t[0]=a+d*p,t[1]=c+d*f),!0}}}}}function Ar(e,t){return zi(e[0]-t[0])=0;--o)r.point((u=l[o])[0],u[1]);else i(d.x,d.p.x,-1,r);d=d.p}d=d.o,l=d.z,p=!p}while(!d.v);r.lineEnd()}}}function Cr(e){if(t=e.length){var t,n,i=0,r=e[0];while(++it?1:e>=t?0:NaN}function Er(e){return 1===e.length&&(e=xr(e)),{left:function(t,n,i,r){null==i&&(i=0),null==r&&(r=t.length);while(i>>1;e(t[o],n)<0?i=o+1:r=o}return i},right:function(t,n,i,r){null==i&&(i=0),null==r&&(r=t.length);while(i>>1;e(t[o],n)>0?r=o:i=o+1}return i}}}function xr(e){return function(t,n){return Tr(e(t),n)}}hr.invert=hr;var Sr=Er(Tr),Pr=(Sr.right,Sr.left,Array.prototype);Pr.slice,Pr.map,Math.sqrt(50),Math.sqrt(10),Math.sqrt(2);function Ir(e){var t,n,i,r=e.length,o=-1,s=0;while(++o=0){i=e[r],t=i.length;while(--t>=0)n[--s]=i[t]}return n}var Or=1e9,Dr=-Or;function Rr(e,t,n,i){function r(r,o){return e<=r&&r<=n&&t<=o&&o<=i}function o(r,o,a,l){var u=0,h=0;if(null==r||(u=s(r,a))!==(h=s(o,a))||c(r,o)<0^a>0)do{l.point(0===u||3===u?e:n,u>1?i:t)}while((u=(u+a+4)%4)!==h);else l.point(o[0],o[1])}function s(i,r){return zi(i[0]-e)0?0:3:zi(i[0]-n)0?2:1:zi(i[1]-t)0?1:0:r>0?3:2}function a(e,t){return c(e.x,t.x)}function c(e,t){var n=s(e,1),i=s(t,1);return n!==i?n-i:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(s){var c,l,u,h,d,p,f,m,g,_,y,v=s,A=yr(),b={point:w,lineStart:x,lineEnd:S,polygonStart:T,polygonEnd:E};function w(e,t){r(e,t)&&v.point(e,t)}function C(){for(var t=0,n=0,r=l.length;ni&&(d-o)*(i-s)>(p-s)*(e-o)&&++t:p<=i&&(d-o)*(i-s)<(p-s)*(e-o)&&--t;return t}function T(){v=A,c=[],l=[],y=!0}function E(){var e=C(),t=y&&e,n=(c=Ir(c)).length;(t||n)&&(s.polygonStart(),t&&(s.lineStart(),o(null,null,1,s),s.lineEnd()),n&&wr(c,a,e,o,s),s.polygonEnd()),v=s,c=l=u=null}function x(){b.point=P,l&&l.push(u=[]),_=!0,g=!1,f=m=NaN}function S(){c&&(P(h,d),p&&g&&A.rejoin(),c.push(A.result())),b.point=w,g&&v.lineEnd()}function P(o,s){var a=r(o,s);if(l&&u.push([o,s]),_)h=o,d=s,p=a,_=!1,a&&(v.lineStart(),v.point(o,s));else if(a&&g)v.point(o,s);else{var c=[f=Math.max(Dr,Math.min(Or,f)),m=Math.max(Dr,Math.min(Or,m))],A=[o=Math.max(Dr,Math.min(Or,o)),s=Math.max(Dr,Math.min(Or,s))];vr(c,A,e,t,n,i)?(g||(v.lineStart(),v.point(c[0],c[1])),v.point(A[0],A[1]),a||v.lineEnd(),y=!1):a&&(v.lineStart(),v.point(o,s),y=!1)}f=o,m=s,g=a}return b}}var Nr=Pi();function Lr(e,t){var n=t[0],i=t[1],r=[qi(n),-Hi(n),0],o=0,s=0;Nr.reset();for(var a=0,c=e.length;a=0?1:-1,T=C*w,E=T>Ni,x=f*A;if(Nr.add(Vi(x*C*qi(T),m*b+x*Hi(T))),o+=E?w+C*Bi:w,E^d>=n^y>=n){var S=sr(rr(h),rr(_));lr(S);var P=sr(r,S);lr(P);var I=(E^w>=0?-1:1)*Ki(P[2]);(i>I||i===I&&(S[0]||S[1]))&&(s+=E^w>=0?1:-1)}}return(o<-Ri||oFr&&(Fr=e),tkr&&(kr=t)}var Vr=zr;function Hr(e){this._context=e}Hr.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,Bi);break}},result:Qi};Pi();function Gr(){this._string=[]}function jr(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}function qr(e,t,n,i){return function(r,o){var s,a,c,l=t(o),u=r.invert(i[0],i[1]),h=yr(),d=t(h),p=!1,f={point:m,lineStart:_,lineEnd:y,polygonStart:function(){f.point=v,f.lineStart=A,f.lineEnd=b,a=[],s=[]},polygonEnd:function(){f.point=m,f.lineStart=_,f.lineEnd=y,a=Ir(a);var e=Lr(s,u);a.length?(p||(o.polygonStart(),p=!0),wr(a,Yr,e,n,o)):e&&(p||(o.polygonStart(),p=!0),o.lineStart(),n(null,null,1,o),o.lineEnd()),p&&(o.polygonEnd(),p=!1),a=s=null},sphere:function(){o.polygonStart(),o.lineStart(),n(null,null,1,o),o.lineEnd(),o.polygonEnd()}};function m(t,n){var i=r(t,n);e(t=i[0],n=i[1])&&o.point(t,n)}function g(e,t){var n=r(e,t);l.point(n[0],n[1])}function _(){f.point=g,l.lineStart()}function y(){f.point=m,l.lineEnd()}function v(e,t){c.push([e,t]);var n=r(e,t);d.point(n[0],n[1])}function A(){d.lineStart(),c=[]}function b(){v(c[0][0],c[0][1]),d.lineEnd();var e,t,n,i,r=d.clean(),l=h.result(),u=l.length;if(c.pop(),s.push(c),c=null,u)if(1&r){if(n=l[0],(t=n.length-1)>0){for(p||(o.polygonStart(),p=!0),o.lineStart(),e=0;e1&&2&r&&l.push(l.pop().concat(l.shift())),a.push(l.filter(Wr))}return f}}function Wr(e){return e.length>1}function Yr(e,t){return((e=e.x)[0]<0?e[1]-Li-Ri:Li-e[1])-((t=t.x)[0]<0?t[1]-Li-Ri:Li-t[1])}Gr.prototype={_radius:4.5,_circle:jr(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=jr(this._radius)),this._string.push("M",e,",",t,this._circle);break}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}return null}};var Xr=qr((function(){return!0}),Kr,Jr,[-Ni,-Li]);function Kr(e){var t,n=NaN,i=NaN,r=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(o,s){var a=o>0?Ni:-Ni,c=zi(o-n);zi(c-Ni)0?Li:-Li),e.point(r,i),e.lineEnd(),e.lineStart(),e.point(a,i),e.point(o,i),t=0):r!==a&&c>=Ni&&(zi(n-r)Ri?Ui((qi(t)*(o=Hi(i))*qi(n)-qi(i)*(r=Hi(t))*qi(e))/(r*o*s)):(t+i)/2}function Jr(e,t,n,i){var r;if(null==e)r=n*Li,i.point(-Ni,r),i.point(0,r),i.point(Ni,r),i.point(Ni,0),i.point(Ni,-r),i.point(0,-r),i.point(-Ni,-r),i.point(-Ni,0),i.point(-Ni,r);else if(zi(e[0]-t[0])>Ri){var o=e[0]0,r=zi(n)>Ri;function o(n,i,r,o){gr(o,e,t,r,n,i)}function s(e,t){return Hi(e)*Hi(t)>n}function a(e){var t,n,o,a,u;return{lineStart:function(){a=o=!1,u=1},point:function(h,d){var p,f=[h,d],m=s(h,d),g=i?m?0:l(h,d):m?l(h+(h<0?Ni:-Ni),d):0;if(!t&&(a=o=m)&&e.lineStart(),m!==o&&(p=c(t,f),(!p||Ar(t,p)||Ar(f,p))&&(f[0]+=Ri,f[1]+=Ri,m=s(f[0],f[1]))),m!==o)u=0,m?(e.lineStart(),p=c(f,t),e.point(p[0],p[1])):(p=c(t,f),e.point(p[0],p[1]),e.lineEnd()),t=p;else if(r&&t&&i^m){var _;g&n||!(_=c(f,t,!0))||(u=0,i?(e.lineStart(),e.point(_[0][0],_[0][1]),e.point(_[1][0],_[1][1]),e.lineEnd()):(e.point(_[1][0],_[1][1]),e.lineEnd(),e.lineStart(),e.point(_[0][0],_[0][1])))}!m||t&&Ar(t,f)||e.point(f[0],f[1]),t=f,o=m,n=g},lineEnd:function(){o&&e.lineEnd(),t=null},clean:function(){return u|(a&&o)<<1}}}function c(e,t,i){var r=rr(e),o=rr(t),s=[1,0,0],a=sr(r,o),c=or(a,a),l=a[0],u=c-l*l;if(!u)return!i&&e;var h=n*c/u,d=-n*l/u,p=sr(s,a),f=cr(s,h),m=cr(a,d);ar(f,m);var g=p,_=or(f,g),y=or(g,g),v=_*_-y*(or(f,f)-1);if(!(v<0)){var A=Wi(v),b=cr(g,(-_-A)/y);if(ar(b,f),b=ir(b),!i)return b;var w,C=e[0],T=t[0],E=e[1],x=t[1];T0^b[1]<(zi(b[0]-C)Ni^(C<=b[0]&&b[0]<=T)){var O=cr(g,(-_+A)/y);return ar(O,f),[b,ir(O)]}}}function l(t,n){var r=i?e:Ni-e,o=0;return t<-r?o|=1:t>r&&(o|=2),n<-r?o|=4:n>r&&(o|=8),o}return qr(s,a,o,i?[0,-e]:[-Ni,e-Ni])}function $r(e){return e}function eo(e){return function(t){var n=new to;for(var i in e)n[i]=e[i];return n.stream=t,n}}function to(){}function no(e,t,n){var i=t[1][0]-t[0][0],r=t[1][1]-t[0][1],o=e.clipExtent&&e.clipExtent();e.scale(150).translate([0,0]),null!=o&&e.clipExtent(null),nr(n,e.stream(Vr));var s=Vr.result(),a=Math.min(i/(s[1][0]-s[0][0]),r/(s[1][1]-s[0][1])),c=+t[0][0]+(i-a*(s[1][0]+s[0][0]))/2,l=+t[0][1]+(r-a*(s[1][1]+s[0][1]))/2;return null!=o&&e.clipExtent(o),e.scale(150*a).translate([c,l])}function io(e,t,n){return no(e,[[0,0],t],n)}to.prototype={constructor:to,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var ro=16,oo=Hi(30*ki);function so(e,t){return+t?co(e,t):ao(e)}function ao(e){return eo({point:function(t,n){t=e(t,n),this.stream.point(t[0],t[1])}})}function co(e,t){function n(i,r,o,s,a,c,l,u,h,d,p,f,m,g){var _=l-i,y=u-r,v=_*_+y*y;if(v>4*t&&m--){var A=s+d,b=a+p,w=c+f,C=Wi(A*A+b*b+w*w),T=Ki(w/=C),E=zi(zi(w)-1)t||zi((_*I+y*O)/v-.5)>.3||s*d+a*p+c*f2?e[2]%360*ki:0,P()):[g*Fi,_*Fi,y*Fi]},E.precision=function(e){return arguments.length?(T=so(S,C=e*e),I()):Wi(C)},E.fitExtent=function(e,t){return no(E,e,t)},E.fitSize=function(e,t){return io(E,e,t)},function(){return t=e.apply(this,arguments),E.invert=t.invert&&x,P()}}function po(e){return function(t,n){var i=Hi(t),r=Hi(n),o=e(i*r);return[o*r*qi(t),o*qi(n)]}}function fo(e){return function(t,n){var i=Wi(t*t+n*n),r=e(i),o=qi(r),s=Hi(r);return[Vi(t*o,i*s),Ki(i&&n*o/i)]}}var mo=po((function(e){return Wi(2/(1+e))}));mo.invert=fo((function(e){return 2*Ki(e/2)}));var go=po((function(e){return(e=Xi(e))&&e/qi(e)}));function _o(){return uo(go).scale(79.4188).clipAngle(179.999)}function yo(e,t){return[e,ji(Yi((Li+t)/2))]}function vo(e,t){return[e,t]}function Ao(e,t){var n=Hi(t),i=Hi(e)*n;return[n*qi(e)/i,qi(t)/i]}function bo(e,t){var n=t*t,i=n*n;return[e*(.8707-.131979*n+i*(i*(.003971*n-.001529*i)-.013791)),t*(1.007226+n*(.015085+i*(.028874*n-.044475-.005916*i)))]}function wo(e,t){return[Hi(t)*qi(e),qi(t)]}function Co(e,t){var n=Hi(t),i=1+Hi(e)*n;return[n*qi(e)/i,qi(t)/i]}function To(e,t){return[ji(Yi((Li+t)/2)),-e]}function Eo(e,t,n){n=n||{};var i=n.units||"kilometers",r=n.steps||8;if(!e)throw new Error("geojson is required");if("object"!==typeof n)throw new Error("options must be an object");if("number"!==typeof r)throw new Error("steps must be an number");if(void 0===t)throw new Error("radius is required");if(r<=0)throw new Error("steps must be greater than 0");var o=[];switch(e.type){case"GeometryCollection":return O(e,(function(e){var n=xo(e,t,i,r);n&&o.push(n)})),g(o);case"FeatureCollection":return I(e,(function(e){var n=xo(e,t,i,r);n&&I(n,(function(e){e&&o.push(e)}))})),g(o)}return xo(e,t,i,r)}function xo(e,t,n,i){var r=e.properties||{},o="Feature"===e.type?e.geometry:e;if("GeometryCollection"===o.type){var s=[];return O(e,(function(e){var r=xo(e,t,n,i);r&&s.push(r)})),g(s)}var a=Oo(o),c={type:o.type,coordinates:Po(o.coordinates,a)},l=new Si.GeoJSONReader,u=l.read(c),h=v(A(t,n),"meters"),p=Si.BufferOp.bufferOp(u,h,i),f=new Si.GeoJSONWriter;if(p=f.write(p),!So(p.coordinates)){var m={type:p.type,coordinates:Io(p.coordinates,a)};return d(m,r)}}function So(e){return Array.isArray(e[0])?So(e[0]):isNaN(e[0])}function Po(e,t){return"object"!==typeof e[0]?t(e):e.map((function(e){return Po(e,t)}))}function Io(e,t){return"object"!==typeof e[0]?t.invert(e):e.map((function(e){return Io(e,t)}))}function Oo(e){var t=ne(e).geometry.coordinates,n=[-t[0],-t[1]];return _o().rotate(n).scale(u)}go.invert=fo((function(e){return e})),yo.invert=function(e,t){return[e,2*Ui(Gi(t))-Li]},vo.invert=vo,Ao.invert=fo(Ui),bo.invert=function(e,t){var n,i=t,r=25;do{var o=i*i,s=o*o;i-=n=(i*(1.007226+o*(.015085+s*(.028874*o-.044475-.005916*s)))-t)/(1.007226+o*(.045255+s*(.259866*o-.311325-.005916*11*s)))}while(zi(n)>Ri&&--r>0);return[e/(.8707+(o=i*i)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),i]},wo.invert=fo(Ki),Co.invert=fo((function(e){return 2*Ui(e)})),To.invert=function(e,t){return[-t,2*Ui(Gi(e))-Li]};var Do=Eo;function Ro(e){return void 0!==e&&null!==e}var No=Ro;function Lo(e){let t;this.name="DeveloperError",this.message=e;try{throw new Error}catch(l_t){t=l_t.stack}this.stack=t}No(Object.create)&&(Lo.prototype=Object.create(Error.prototype),Lo.prototype.constructor=Lo),Lo.prototype.toString=function(){let e=`${this.name}: ${this.message}`;return No(this.stack)&&(e+=`\n${this.stack.toString()}`),e},Lo.throwInstantiationError=function(){throw new Lo("This function defines an interface and should not be called directly.")};var Mo=Lo;const Bo={};function Fo(e){return`${e} is required, actual value was undefined`}function zo(e,t,n){return`Expected ${n} to be typeof ${t}, actual typeof was ${e}`}Bo.typeOf={},Bo.defined=function(e,t){if(!No(t))throw new Mo(Fo(e))},Bo.typeOf.func=function(e,t){if("function"!==typeof t)throw new Mo(zo(typeof t,"function",e))},Bo.typeOf.string=function(e,t){if("string"!==typeof t)throw new Mo(zo(typeof t,"string",e))},Bo.typeOf.number=function(e,t){if("number"!==typeof t)throw new Mo(zo(typeof t,"number",e))},Bo.typeOf.number.lessThan=function(e,t,n){if(Bo.typeOf.number(e,t),t>=n)throw new Mo(`Expected ${e} to be less than ${n}, actual value was ${t}`)},Bo.typeOf.number.lessThanOrEquals=function(e,t,n){if(Bo.typeOf.number(e,t),t>n)throw new Mo(`Expected ${e} to be less than or equal to ${n}, actual value was ${t}`)},Bo.typeOf.number.greaterThan=function(e,t,n){if(Bo.typeOf.number(e,t),t<=n)throw new Mo(`Expected ${e} to be greater than ${n}, actual value was ${t}`)},Bo.typeOf.number.greaterThanOrEquals=function(e,t,n){if(Bo.typeOf.number(e,t),t>>0,this.mti=1;this.mti>>30;this.mt[this.mti]=(1812433253*((4294901760&e)>>>16)<<16)+1812433253*(65535&e)+this.mti,this.mt[this.mti]>>>=0}},Go.prototype.init_by_array=function(e,t){var n,i,r;for(this.init_seed(19650218),n=1,i=0,r=this.N>t?this.N:t;r;r--){var o=this.mt[n-1]^this.mt[n-1]>>>30;this.mt[n]=(this.mt[n]^(1664525*((4294901760&o)>>>16)<<16)+1664525*(65535&o))+e[i]+i,this.mt[n]>>>=0,n++,i++,n>=this.N&&(this.mt[0]=this.mt[this.N-1],n=1),i>=t&&(i=0)}for(r=this.N-1;r;r--){o=this.mt[n-1]^this.mt[n-1]>>>30;this.mt[n]=(this.mt[n]^(1566083941*((4294901760&o)>>>16)<<16)+1566083941*(65535&o))-n,this.mt[n]>>>=0,n++,n>=this.N&&(this.mt[0]=this.mt[this.N-1],n=1)}this.mt[0]=2147483648},Go.prototype.random_int=function(){var e,t=new Array(0,this.MATRIX_A);if(this.mti>=this.N){var n;for(this.mti==this.N+1&&this.init_seed(5489),n=0;n>>1^t[1&e];for(;n>>1^t[1&e];e=this.mt[this.N-1]&this.UPPER_MASK|this.mt[0]&this.LOWER_MASK,this.mt[this.N-1]=this.mt[this.M-1]^e>>>1^t[1&e],this.mti=0}return e=this.mt[this.mti++],e^=e>>>11,e^=e<<7&2636928640,e^=e<<15&4022730752,e^=e>>>18,e>>>0},Go.prototype.random_int31=function(){return this.random_int()>>>1},Go.prototype.random_incl=function(){return this.random_int()*(1/4294967295)},Go.prototype.random=function(){return this.random_int()*(1/4294967296)},Go.prototype.random_excl=function(){return(this.random_int()+.5)*(1/4294967296)},Go.prototype.random_long=function(){var e=this.random_int()>>>5,t=this.random_int()>>>6;return(67108864*e+t)*(1/9007199254740992)};var jo=Go;const qo={EPSILON1:.1,EPSILON2:.01,EPSILON3:.001,EPSILON4:1e-4,EPSILON5:1e-5,EPSILON6:1e-6,EPSILON7:1e-7,EPSILON8:1e-8,EPSILON9:1e-9,EPSILON10:1e-10,EPSILON11:1e-11,EPSILON12:1e-12,EPSILON13:1e-13,EPSILON14:1e-14,EPSILON15:1e-15,EPSILON16:1e-16,EPSILON17:1e-17,EPSILON18:1e-18,EPSILON19:1e-19,EPSILON20:1e-20,EPSILON21:1e-21,GRAVITATIONALPARAMETER:3986004418e5,SOLAR_RADIUS:6955e5,LUNAR_RADIUS:1737400,SIXTY_FOUR_KILOBYTES:65536,FOUR_GIGABYTES:4294967296};qo.sign=Ho(Math.sign,(function(e){return e=+e,0===e||e!==e?e:e>0?1:-1})),qo.signNotZero=function(e){return e<0?-1:1},qo.toSNorm=function(e,t){return t=Ho(t,255),Math.round((.5*qo.clamp(e,-1,1)+.5)*t)},qo.fromSNorm=function(e,t){return t=Ho(t,255),qo.clamp(e,0,t)/t*2-1},qo.normalize=function(e,t,n){return n=Math.max(n-t,0),0===n?0:qo.clamp((e-t)/n,0,1)},qo.sinh=Ho(Math.sinh,(function(e){return(Math.exp(e)-Math.exp(-e))/2})),qo.cosh=Ho(Math.cosh,(function(e){return(Math.exp(e)+Math.exp(-e))/2})),qo.lerp=function(e,t,n){return(1-n)*e+n*t},qo.PI=Math.PI,qo.ONE_OVER_PI=1/Math.PI,qo.PI_OVER_TWO=Math.PI/2,qo.PI_OVER_THREE=Math.PI/3,qo.PI_OVER_FOUR=Math.PI/4,qo.PI_OVER_SIX=Math.PI/6,qo.THREE_PI_OVER_TWO=3*Math.PI/2,qo.TWO_PI=2*Math.PI,qo.ONE_OVER_TWO_PI=1/(2*Math.PI),qo.RADIANS_PER_DEGREE=Math.PI/180,qo.DEGREES_PER_RADIAN=180/Math.PI,qo.RADIANS_PER_ARCSECOND=qo.RADIANS_PER_DEGREE/3600,qo.toRadians=function(e){if(!No(e))throw new Mo("degrees is required.");return e*qo.RADIANS_PER_DEGREE},qo.toDegrees=function(e){if(!No(e))throw new Mo("radians is required.");return e*qo.DEGREES_PER_RADIAN},qo.convertLongitudeRange=function(e){if(!No(e))throw new Mo("angle is required.");const t=qo.TWO_PI,n=e-Math.floor(e/t)*t;return n<-Math.PI?n+t:n>=Math.PI?n-t:n},qo.clampToLatitudeRange=function(e){if(!No(e))throw new Mo("angle is required.");return qo.clamp(e,-1*qo.PI_OVER_TWO,qo.PI_OVER_TWO)},qo.negativePiToPi=function(e){if(!No(e))throw new Mo("angle is required.");return e>=-qo.PI&&e<=qo.PI?e:qo.zeroToTwoPi(e+qo.PI)-qo.PI},qo.zeroToTwoPi=function(e){if(!No(e))throw new Mo("angle is required.");if(e>=0&&e<=qo.TWO_PI)return e;const t=qo.mod(e,qo.TWO_PI);return Math.abs(t)qo.EPSILON14?qo.TWO_PI:t},qo.mod=function(e,t){if(!No(e))throw new Mo("m is required.");if(!No(t))throw new Mo("n is required.");if(0===t)throw new Mo("divisor cannot be 0.");return qo.sign(e)===qo.sign(t)&&Math.abs(e)n},qo.greaterThanOrEquals=function(e,t,n){if(!No(e))throw new Mo("first is required.");if(!No(t))throw new Mo("second is required.");if(!No(n))throw new Mo("absoluteEpsilon is required.");return e-t>-n};const Wo=[1];qo.factorial=function(e){if("number"!==typeof e||e<0)throw new Mo("A number greater than or equal to 0 is required.");const t=Wo.length;if(e>=t){let n=Wo[t-1];for(let i=t;i<=e;i++){const e=n*i;Wo.push(e),n=e}}return Wo[e]},qo.incrementWrap=function(e,t,n){if(n=Ho(n,0),!No(e))throw new Mo("n is required.");if(t<=n)throw new Mo("maximumValue must be greater than minimumValue.");return++e,e>t&&(e=n),e},qo.isPowerOfTwo=function(e){if("number"!==typeof e||e<0||e>4294967295)throw new Mo("A number between 0 and (2^32)-1 is required.");return 0!==e&&0===(e&e-1)},qo.nextPowerOfTwo=function(e){if("number"!==typeof e||e<0||e>2147483648)throw new Mo("A number between 0 and 2^31 is required.");return--e,e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,++e,e},qo.previousPowerOfTwo=function(e){if("number"!==typeof e||e<0||e>4294967295)throw new Mo("A number between 0 and (2^32)-1 is required.");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},qo.clamp=function(e,t,n){return Uo.typeOf.number("value",e),Uo.typeOf.number("min",t),Uo.typeOf.number("max",n),en?n:e};let Yo=new jo;qo.setRandomNumberSeed=function(e){if(!No(e))throw new Mo("seed is required.");Yo=new jo(e)},qo.nextRandomNumber=function(){return Yo.random()},qo.randomBetween=function(e,t){return qo.nextRandomNumber()*(t-e)+e},qo.acosClamped=function(e){if(!No(e))throw new Mo("value is required.");return Math.acos(qo.clamp(e,-1,1))},qo.asinClamped=function(e){if(!No(e))throw new Mo("value is required.");return Math.asin(qo.clamp(e,-1,1))},qo.chordLength=function(e,t){if(!No(e))throw new Mo("angle is required.");if(!No(t))throw new Mo("radius is required.");return 2*t*Math.sin(.5*e)},qo.logBase=function(e,t){if(!No(e))throw new Mo("number is required.");if(!No(t))throw new Mo("base is required.");return Math.log(e)/Math.log(t)},qo.cbrt=Ho(Math.cbrt,(function(e){const t=Math.pow(Math.abs(e),1/3);return e<0?-t:t})),qo.log2=Ho(Math.log2,(function(e){return Math.log(e)*Math.LOG2E})),qo.fog=function(e,t){const n=e*t;return 1-Math.exp(-n*n)},qo.fastApproximateAtan=function(e){return Uo.typeOf.number("x",e),e*(-.1784*Math.abs(e)-.0663*e*e+1.0301)},qo.fastApproximateAtan2=function(e,t){let n;Uo.typeOf.number("x",e),Uo.typeOf.number("y",t);let i=Math.abs(e);n=Math.abs(t);const r=Math.max(i,n);n=Math.min(i,n);const o=n/r;if(isNaN(o))throw new Mo("either x or y must be nonzero");return i=qo.fastApproximateAtan(o),i=Math.abs(t)>Math.abs(e)?qo.PI_OVER_TWO-i:i,i=e<0?qo.PI-i:i,i=t<0?-i:i,i};var Xo=qo;function Ko(e,t,n){this.x=Ho(e,0),this.y=Ho(t,0),this.z=Ho(n,0)}Ko.fromSpherical=function(e,t){Uo.typeOf.object("spherical",e),No(t)||(t=new Ko);const n=e.clock,i=e.cone,r=Ho(e.magnitude,1),o=r*Math.sin(i);return t.x=o*Math.cos(n),t.y=o*Math.sin(n),t.z=r*Math.cos(i),t},Ko.fromElements=function(e,t,n,i){return No(i)?(i.x=e,i.y=t,i.z=n,i):new Ko(e,t,n)},Ko.clone=function(e,t){if(No(e))return No(t)?(t.x=e.x,t.y=e.y,t.z=e.z,t):new Ko(e.x,e.y,e.z)},Ko.fromCartesian4=Ko.clone,Ko.packedLength=3,Ko.pack=function(e,t,n){return Uo.typeOf.object("value",e),Uo.defined("array",t),n=Ho(n,0),t[n++]=e.x,t[n++]=e.y,t[n]=e.z,t},Ko.unpack=function(e,t,n){return Uo.defined("array",e),t=Ho(t,0),No(n)||(n=new Ko),n.x=e[t++],n.y=e[t++],n.z=e[t],n},Ko.packArray=function(e,t){Uo.defined("array",e);const n=e.length,i=3*n;if(No(t)){if(!Array.isArray(t)&&t.length!==i)throw new Mo("If result is a typed array, it must have exactly array.length * 3 elements");t.length!==i&&(t.length=i)}else t=new Array(i);for(let r=0;rXo.EPSILON12);return No(r)?(r.x=o*C,r.y=s*T,r.z=a*E,r):new rs(o*C,s*T,a*E)}var cs=as;function ls(e,t,n){this.longitude=Ho(e,0),this.latitude=Ho(t,0),this.height=Ho(n,0)}ls.fromRadians=function(e,t,n,i){return Uo.typeOf.number("longitude",e),Uo.typeOf.number("latitude",t),n=Ho(n,0),No(i)?(i.longitude=e,i.latitude=t,i.height=n,i):new ls(e,t,n)},ls.fromDegrees=function(e,t,n,i){return Uo.typeOf.number("longitude",e),Uo.typeOf.number("latitude",t),e=Xo.toRadians(e),t=Xo.toRadians(t),ls.fromRadians(e,t,n,i)};const us=new rs,hs=new rs,ds=new rs,ps=new rs(1/6378137,1/6378137,1/6356752.314245179),fs=new rs(1/40680631590769,1/40680631590769,1/40408299984661.445),ms=Xo.EPSILON1;ls.fromCartesian=function(e,t,n){const i=No(t)?t.oneOverRadii:ps,r=No(t)?t.oneOverRadiiSquared:fs,o=No(t)?t._centerToleranceSquared:ms,s=cs(e,i,r,o,hs);if(!No(s))return;let a=rs.multiplyComponents(s,r,us);a=rs.normalize(a,a);const c=rs.subtract(e,s,ds),l=Math.atan2(a.y,a.x),u=Math.asin(a.z),h=Xo.sign(rs.dot(c,e))*rs.magnitude(c);return No(n)?(n.longitude=l,n.latitude=u,n.height=h,n):new ls(l,u,h)},ls.toCartesian=function(e,t,n){return Uo.defined("cartographic",e),rs.fromRadians(e.longitude,e.latitude,e.height,t,n)},ls.clone=function(e,t){if(No(e))return No(t)?(t.longitude=e.longitude,t.latitude=e.latitude,t.height=e.height,t):new ls(e.longitude,e.latitude,e.height)},ls.equals=function(e,t){return e===t||No(e)&&No(t)&&e.longitude===t.longitude&&e.latitude===t.latitude&&e.height===t.height},ls.equalsEpsilon=function(e,t,n){return n=Ho(n,0),e===t||No(e)&&No(t)&&Math.abs(e.longitude-t.longitude)<=n&&Math.abs(e.latitude-t.latitude)<=n&&Math.abs(e.height-t.height)<=n},ls.ZERO=Object.freeze(new ls(0,0,0)),ls.prototype.clone=function(e){return ls.clone(this,e)},ls.prototype.equals=function(e){return ls.equals(this,e)},ls.prototype.equalsEpsilon=function(e,t){return ls.equalsEpsilon(this,e,t)},ls.prototype.toString=function(){return`(${this.longitude}, ${this.latitude}, ${this.height})`};var gs=ls;function _s(e,t,n,i){t=Ho(t,0),n=Ho(n,0),i=Ho(i,0),Uo.typeOf.number.greaterThanOrEquals("x",t,0),Uo.typeOf.number.greaterThanOrEquals("y",n,0),Uo.typeOf.number.greaterThanOrEquals("z",i,0),e._radii=new rs(t,n,i),e._radiiSquared=new rs(t*t,n*n,i*i),e._radiiToTheFourth=new rs(t*t*t*t,n*n*n*n,i*i*i*i),e._oneOverRadii=new rs(0===t?0:1/t,0===n?0:1/n,0===i?0:1/i),e._oneOverRadiiSquared=new rs(0===t?0:1/(t*t),0===n?0:1/(n*n),0===i?0:1/(i*i)),e._minimumRadius=Math.min(t,n,i),e._maximumRadius=Math.max(t,n,i),e._centerToleranceSquared=Xo.EPSILON1,0!==e._radiiSquared.z&&(e._squaredXOverSquaredZ=e._radiiSquared.x/e._radiiSquared.z)}function ys(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,_s(this,e,t,n)}Object.defineProperties(ys.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}}}),ys.clone=function(e,t){if(!No(e))return;const n=e._radii;return No(t)?(rs.clone(n,t._radii),rs.clone(e._radiiSquared,t._radiiSquared),rs.clone(e._radiiToTheFourth,t._radiiToTheFourth),rs.clone(e._oneOverRadii,t._oneOverRadii),rs.clone(e._oneOverRadiiSquared,t._oneOverRadiiSquared),t._minimumRadius=e._minimumRadius,t._maximumRadius=e._maximumRadius,t._centerToleranceSquared=e._centerToleranceSquared,t):new ys(n.x,n.y,n.z)},ys.fromCartesian3=function(e,t){return No(t)||(t=new ys),No(e)?(_s(t,e.x,e.y,e.z),t):t},ys.WGS84=Object.freeze(new ys(6378137,6378137,6356752.314245179)),ys.UNIT_SPHERE=Object.freeze(new ys(1,1,1)),ys.MOON=Object.freeze(new ys(Xo.LUNAR_RADIUS,Xo.LUNAR_RADIUS,Xo.LUNAR_RADIUS)),ys.prototype.clone=function(e){return ys.clone(this,e)},ys.packedLength=rs.packedLength,ys.pack=function(e,t,n){return Uo.typeOf.object("value",e),Uo.defined("array",t),n=Ho(n,0),rs.pack(e._radii,t,n),t},ys.unpack=function(e,t,n){Uo.defined("array",e),t=Ho(t,0);const i=rs.unpack(e,t);return ys.fromCartesian3(i,n)},ys.prototype.geocentricSurfaceNormal=rs.normalize,ys.prototype.geodeticSurfaceNormalCartographic=function(e,t){Uo.typeOf.object("cartographic",e);const n=e.longitude,i=e.latitude,r=Math.cos(i),o=r*Math.cos(n),s=r*Math.sin(n),a=Math.sin(i);return No(t)||(t=new rs),t.x=o,t.y=s,t.z=a,rs.normalize(t,t)},ys.prototype.geodeticSurfaceNormal=function(e,t){if(!rs.equalsEpsilon(e,rs.ZERO,Xo.EPSILON14))return No(t)||(t=new rs),t=rs.multiplyComponents(e,this._oneOverRadiiSquared,t),rs.normalize(t,t)};const vs=new rs,As=new rs;ys.prototype.cartographicToCartesian=function(e,t){const n=vs,i=As;this.geodeticSurfaceNormalCartographic(e,n),rs.multiplyComponents(this._radiiSquared,n,i);const r=Math.sqrt(rs.dot(n,i));return rs.divideByScalar(i,r,i),rs.multiplyByScalar(n,e.height,n),No(t)||(t=new rs),rs.add(i,n,t)},ys.prototype.cartographicArrayToCartesianArray=function(e,t){Uo.defined("cartographics",e);const n=e.length;No(t)?t.length=n:t=new Array(n);for(let i=0;i=this._radii.z-t))return n};const Ts=[.14887433898163,.43339539412925,.67940956829902,.86506336668898,.97390652851717,0],Es=[.29552422471475,.26926671930999,.21908636251598,.14945134915058,.066671344308684,0];function xs(e,t,n){Uo.typeOf.number("a",e),Uo.typeOf.number("b",t),Uo.typeOf.func("func",n);const i=.5*(t+e),r=.5*(t-e);let o=0;for(let s=0;s<5;s++){const e=r*Ts[s];o+=Es[s]*(n(i+e)+n(i-e))}return o*=r,o}ys.prototype.surfaceArea=function(e){Uo.typeOf.object("rectangle",e);const t=e.west;let n=e.east;const i=e.south,r=e.north;while(ni&&(r=l,i=t)}let o=1,s=0;const a=Hs[r],c=Gs[r];if(Math.abs(e[Ls.getElementIndex(c,a)])>n){const t=e[Ls.getElementIndex(c,c)],n=e[Ls.getElementIndex(a,a)],i=e[Ls.getElementIndex(c,a)],r=(t-n)/2/i;let l;l=r<0?-1/(-r+Math.sqrt(1+r*r)):1/(r+Math.sqrt(1+r*r)),o=1/Math.sqrt(1+l*l),s=l*o}return t=Ls.clone(Ls.IDENTITY,t),t[Ls.getElementIndex(a,a)]=t[Ls.getElementIndex(c,c)]=o,t[Ls.getElementIndex(c,a)]=s,t[Ls.getElementIndex(a,c)]=-s,t}const Ws=new Ls,Ys=new Ls;Ls.computeEigenDecomposition=function(e,t){Uo.typeOf.object("matrix",e);const n=Xo.EPSILON20,i=10;let r=0,o=0;No(t)||(t={});const s=t.unitary=Ls.clone(Ls.IDENTITY,t.unitary),a=t.diagonal=Ls.clone(e,t.diagonal),c=n*Vs(a);while(oc)qs(a,Ws),Ls.transpose(Ws,Ys),Ls.multiply(a,Ws,a),Ls.multiply(Ys,a,a),Ls.multiply(s,Ws,s),++r>2&&(++o,r=0);return t},Ls.abs=function(e,t){return Uo.typeOf.object("matrix",e),Uo.typeOf.object("result",t),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},Ls.determinant=function(e){Uo.typeOf.object("matrix",e);const t=e[0],n=e[3],i=e[6],r=e[1],o=e[4],s=e[7],a=e[2],c=e[5],l=e[8];return t*(o*l-c*s)+r*(c*i-n*l)+a*(n*s-o*i)},Ls.inverse=function(e,t){Uo.typeOf.object("matrix",e),Uo.typeOf.object("result",t);const n=e[0],i=e[1],r=e[2],o=e[3],s=e[4],a=e[5],c=e[6],l=e[7],u=e[8],h=Ls.determinant(e);if(Math.abs(h)<=Xo.EPSILON15)throw new Mo("matrix is not invertible");t[0]=s*u-l*a,t[1]=l*r-i*u,t[2]=i*a-s*r,t[3]=c*a-o*u,t[4]=n*u-c*r,t[5]=o*r-n*a,t[6]=o*l-c*s,t[7]=c*i-n*l,t[8]=n*s-o*i;const d=1/h;return Ls.multiplyByScalar(t,d,t)};const Xs=new Ls;Ls.inverseTranspose=function(e,t){return Uo.typeOf.object("matrix",e),Uo.typeOf.object("result",t),Ls.inverse(Ls.transpose(e,Xs),t)},Ls.equals=function(e,t){return e===t||No(e)&&No(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]},Ls.equalsEpsilon=function(e,t,n){return n=Ho(n,0),e===t||No(e)&&No(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},Ls.IDENTITY=Object.freeze(new Ls(1,0,0,0,1,0,0,0,1)),Ls.ZERO=Object.freeze(new Ls(0,0,0,0,0,0,0,0,0)),Ls.COLUMN0ROW0=0,Ls.COLUMN0ROW1=1,Ls.COLUMN0ROW2=2,Ls.COLUMN1ROW0=3,Ls.COLUMN1ROW1=4,Ls.COLUMN1ROW2=5,Ls.COLUMN2ROW0=6,Ls.COLUMN2ROW1=7,Ls.COLUMN2ROW2=8,Object.defineProperties(Ls.prototype,{length:{get:function(){return Ls.packedLength}}}),Ls.prototype.clone=function(e){return Ls.clone(this,e)},Ls.prototype.equals=function(e){return Ls.equals(this,e)},Ls.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]},Ls.prototype.equalsEpsilon=function(e,t){return Ls.equalsEpsilon(this,e,t)},Ls.prototype.toString=function(){return`(${this[0]}, ${this[3]}, ${this[6]})\n(${this[1]}, ${this[4]}, ${this[7]})\n(${this[2]}, ${this[5]}, ${this[8]})`};var Ks=Ls;function Qs(e,t,n,i){this.x=Ho(e,0),this.y=Ho(t,0),this.z=Ho(n,0),this.w=Ho(i,0)}Qs.fromElements=function(e,t,n,i,r){return No(r)?(r.x=e,r.y=t,r.z=n,r.w=i,r):new Qs(e,t,n,i)},Qs.fromColor=function(e,t){return Uo.typeOf.object("color",e),No(t)?(t.x=e.red,t.y=e.green,t.z=e.blue,t.w=e.alpha,t):new Qs(e.red,e.green,e.blue,e.alpha)},Qs.clone=function(e,t){if(No(e))return No(t)?(t.x=e.x,t.y=e.y,t.z=e.z,t.w=e.w,t):new Qs(e.x,e.y,e.z,e.w)},Qs.packedLength=4,Qs.pack=function(e,t,n){return Uo.typeOf.object("value",e),Uo.defined("array",t),n=Ho(n,0),t[n++]=e.x,t[n++]=e.y,t[n++]=e.z,t[n]=e.w,t},Qs.unpack=function(e,t,n){return Uo.defined("array",e),t=Ho(t,0),No(n)||(n=new Qs),n.x=e[t++],n.y=e[t++],n.z=e[t++],n.w=e[t],n},Qs.packArray=function(e,t){Uo.defined("array",e);const n=e.length,i=4*n;if(No(t)){if(!Array.isArray(t)&&t.length!==i)throw new Mo("If result is a typed array, it must have exactly array.length * 4 elements");t.length!==i&&(t.length=i)}else t=new Array(i);for(let r=0;r=0?t.longitude:t.longitude+Xo.TWO_PI;r=Math.min(r,l),o=Math.max(o,l)}return i-n>o-r&&(n=r,i=o,i>Xo.PI&&(i-=Xo.TWO_PI),n>Xo.PI&&(n-=Xo.TWO_PI)),No(t)?(t.west=n,t.south=s,t.east=i,t.north=a,t):new Ta(n,s,i,a)},Ta.fromCartesianArray=function(e,t,n){Uo.defined("cartesians",e),t=Ho(t,Ss.WGS84);let i=Number.MAX_VALUE,r=-Number.MAX_VALUE,o=Number.MAX_VALUE,s=-Number.MAX_VALUE,a=Number.MAX_VALUE,c=-Number.MAX_VALUE;for(let l=0,u=e.length;l=0?n.longitude:n.longitude+Xo.TWO_PI;o=Math.min(o,u),s=Math.max(s,u)}return r-i>s-o&&(i=o,r=s,r>Xo.PI&&(r-=Xo.TWO_PI),i>Xo.PI&&(i-=Xo.TWO_PI)),No(n)?(n.west=i,n.south=a,n.east=r,n.north=c,n):new Ta(i,a,r,c)},Ta.clone=function(e,t){if(No(e))return No(t)?(t.west=e.west,t.south=e.south,t.east=e.east,t.north=e.north,t):new Ta(e.west,e.south,e.east,e.north)},Ta.equalsEpsilon=function(e,t,n){return n=Ho(n,0),e===t||No(e)&&No(t)&&Math.abs(e.west-t.west)<=n&&Math.abs(e.south-t.south)<=n&&Math.abs(e.east-t.east)<=n&&Math.abs(e.north-t.north)<=n},Ta.prototype.clone=function(e){return Ta.clone(this,e)},Ta.prototype.equals=function(e){return Ta.equals(this,e)},Ta.equals=function(e,t){return e===t||No(e)&&No(t)&&e.west===t.west&&e.south===t.south&&e.east===t.east&&e.north===t.north},Ta.prototype.equalsEpsilon=function(e,t){return Ta.equalsEpsilon(this,e,t)},Ta.validate=function(e){Uo.typeOf.object("rectangle",e);const t=e.north;Uo.typeOf.number.greaterThanOrEquals("north",t,-Xo.PI_OVER_TWO),Uo.typeOf.number.lessThanOrEquals("north",t,Xo.PI_OVER_TWO);const n=e.south;Uo.typeOf.number.greaterThanOrEquals("south",n,-Xo.PI_OVER_TWO),Uo.typeOf.number.lessThanOrEquals("south",n,Xo.PI_OVER_TWO);const i=e.west;Uo.typeOf.number.greaterThanOrEquals("west",i,-Math.PI),Uo.typeOf.number.lessThanOrEquals("west",i,Math.PI);const r=e.east;Uo.typeOf.number.greaterThanOrEquals("east",r,-Math.PI),Uo.typeOf.number.lessThanOrEquals("east",r,Math.PI)},Ta.southwest=function(e,t){return Uo.typeOf.object("rectangle",e),No(t)?(t.longitude=e.west,t.latitude=e.south,t.height=0,t):new gs(e.west,e.south)},Ta.northwest=function(e,t){return Uo.typeOf.object("rectangle",e),No(t)?(t.longitude=e.west,t.latitude=e.north,t.height=0,t):new gs(e.west,e.north)},Ta.northeast=function(e,t){return Uo.typeOf.object("rectangle",e),No(t)?(t.longitude=e.east,t.latitude=e.north,t.height=0,t):new gs(e.east,e.north)},Ta.southeast=function(e,t){return Uo.typeOf.object("rectangle",e),No(t)?(t.longitude=e.east,t.latitude=e.south,t.height=0,t):new gs(e.east,e.south)},Ta.center=function(e,t){Uo.typeOf.object("rectangle",e);let n=e.east;const i=e.west;n0?i+=Xo.TWO_PI:o0&&(o+=Xo.TWO_PI),i=u?void 0:No(n)?(n.west=a,n.south=l,n.east=c,n.north=u,n):new Ta(a,l,c,u)},Ta.simpleIntersection=function(e,t,n){Uo.typeOf.object("rectangle",e),Uo.typeOf.object("otherRectangle",t);const i=Math.max(e.west,t.west),r=Math.max(e.south,t.south),o=Math.min(e.east,t.east),s=Math.min(e.north,t.north);if(!(r>=s||i>=o))return No(n)?(n.west=i,n.south=r,n.east=o,n.north=s,n):new Ta(i,r,o,s)},Ta.union=function(e,t,n){Uo.typeOf.object("rectangle",e),Uo.typeOf.object("otherRectangle",t),No(n)||(n=new Ta);let i=e.east,r=e.west,o=t.east,s=t.west;i0?i+=Xo.TWO_PI:o0&&(o+=Xo.TWO_PI),ir||Xo.equalsEpsilon(n,r,Xo.EPSILON14))&&(n=e.south&&i<=e.north};const Ea=new gs;Ta.subsample=function(e,t,n,i){Uo.typeOf.object("rectangle",e),t=Ho(t,Ss.WGS84),n=Ho(n,0),No(i)||(i=[]);let r=0;const o=e.north,s=e.south,a=e.east,c=e.west,l=Ea;l.height=n,l.longitude=c,l.latitude=o,i[r]=t.cartographicToCartesian(l,i[r]),r++,l.longitude=a,i[r]=t.cartographicToCartesian(l,i[r]),r++,l.latitude=s,i[r]=t.cartographicToCartesian(l,i[r]),r++,l.longitude=c,i[r]=t.cartographicToCartesian(l,i[r]),r++,l.latitude=o<0?o:s>0?s:0;for(let u=1;u<8;++u)l.longitude=-Math.PI+u*Xo.PI_OVER_TWO,Ta.contains(e,l)&&(i[r]=t.cartographicToCartesian(l,i[r]),r++);return 0===l.latitude&&(l.longitude=c,i[r]=t.cartographicToCartesian(l,i[r]),r++,l.longitude=a,i[r]=t.cartographicToCartesian(l,i[r]),r++),i.length=r,i},Ta.subsection=function(e,t,n,i,r,o){if(Uo.typeOf.object("rectangle",e),Uo.typeOf.number.greaterThanOrEquals("westLerp",t,0),Uo.typeOf.number.lessThanOrEquals("westLerp",t,1),Uo.typeOf.number.greaterThanOrEquals("southLerp",n,0),Uo.typeOf.number.lessThanOrEquals("southLerp",n,1),Uo.typeOf.number.greaterThanOrEquals("eastLerp",i,0),Uo.typeOf.number.lessThanOrEquals("eastLerp",i,1),Uo.typeOf.number.greaterThanOrEquals("northLerp",r,0),Uo.typeOf.number.lessThanOrEquals("northLerp",r,1),Uo.typeOf.number.lessThanOrEquals("westLerp",t,i),Uo.typeOf.number.lessThanOrEquals("southLerp",n,r),No(o)||(o=new Ta),e.west<=e.east){const n=e.east-e.west;o.west=e.west+t*n,o.east=e.west+i*n}else{const n=Xo.TWO_PI+e.east-e.west;o.west=Xo.negativePiToPi(e.west+t*n),o.east=Xo.negativePiToPi(e.west+i*n)}const s=e.north-e.south;return o.south=e.south+n*s,o.north=e.south+r*s,1===t&&(o.west=e.east),1===i&&(o.east=e.east),1===n&&(o.south=e.north),1===r&&(o.north=e.north),o},Ta.MAX_VALUE=Object.freeze(new Ta(-Math.PI,-Xo.PI_OVER_TWO,Math.PI,Xo.PI_OVER_TWO));var xa=Ta;function Sa(e,t){this.center=rs.clone(Ho(e,rs.ZERO)),this.radius=Ho(t,0)}const Pa=new rs,Ia=new rs,Oa=new rs,Da=new rs,Ra=new rs,Na=new rs,La=new rs,Ma=new rs,Ba=new rs,Fa=new rs,ka=new rs,za=new rs,Ua=4/3*Xo.PI;Sa.fromPoints=function(e,t){if(No(t)||(t=new Sa),!No(e)||0===e.length)return t.center=rs.clone(rs.ZERO,t.center),t.radius=0,t;const n=rs.clone(e[0],La),i=rs.clone(n,Pa),r=rs.clone(n,Ia),o=rs.clone(n,Oa),s=rs.clone(n,Da),a=rs.clone(n,Ra),c=rs.clone(n,Na),l=e.length;let u;for(u=1;us.x&&rs.clone(n,s),la.y&&rs.clone(n,a),hc.z&&rs.clone(n,c)}const h=rs.magnitudeSquared(rs.subtract(s,i,Ma)),d=rs.magnitudeSquared(rs.subtract(a,r,Ma)),p=rs.magnitudeSquared(rs.subtract(c,o,Ma));let f=i,m=s,g=h;d>g&&(g=d,f=r,m=a),p>g&&(g=p,f=o,m=c);const _=Ba;_.x=.5*(f.x+m.x),_.y=.5*(f.y+m.y),_.z=.5*(f.z+m.z);let y=rs.magnitudeSquared(rs.subtract(m,_,Ma)),v=Math.sqrt(y);const A=Fa;A.x=i.x,A.y=r.y,A.z=o.z;const b=ka;b.x=s.x,b.y=a.y,b.z=c.z;const w=rs.midpoint(A,b,za);let C=0;for(u=0;uC&&(C=t);const i=rs.magnitudeSquared(rs.subtract(n,_,Ma));if(i>y){const e=Math.sqrt(i);v=.5*(v+e),y=v*v;const t=e-v;_.x=(v*_.x+t*n.x)/e,_.y=(v*_.y+t*n.y)/e,_.z=(v*_.z+t*n.z)/e}}return vc.x&&rs.clone(r,c),il.y&&rs.clone(r,l),hu.z&&rs.clone(r,u)}const p=rs.magnitudeSquared(rs.subtract(c,o,Ma)),f=rs.magnitudeSquared(rs.subtract(l,s,Ma)),m=rs.magnitudeSquared(rs.subtract(u,a,Ma));let g=o,_=c,y=p;f>y&&(y=f,g=s,_=l),m>y&&(y=m,g=a,_=u);const v=Ba;v.x=.5*(g.x+_.x),v.y=.5*(g.y+_.y),v.z=.5*(g.z+_.z);let A=rs.magnitudeSquared(rs.subtract(_,v,Ma)),b=Math.sqrt(A);const w=Fa;w.x=o.x,w.y=s.y,w.z=a.z;const C=ka;C.x=c.x,C.y=l.y,C.z=u.z;const T=rs.midpoint(w,C,za);let E=0;for(d=0;dE&&(E=n);const i=rs.magnitudeSquared(rs.subtract(r,v,Ma));if(i>A){const e=Math.sqrt(i);b=.5*(b+e),A=b*b;const t=e-b;v.x=(b*v.x+t*r.x)/e,v.y=(b*v.y+t*r.y)/e,v.z=(b*v.z+t*r.z)/e}}return ba.x&&rs.clone(i,a),uc.y&&rs.clone(i,c),dl.z&&rs.clone(i,l)}const d=rs.magnitudeSquared(rs.subtract(a,r,Ma)),p=rs.magnitudeSquared(rs.subtract(c,o,Ma)),f=rs.magnitudeSquared(rs.subtract(l,s,Ma));let m=r,g=a,_=d;p>_&&(_=p,m=o,g=c),f>_&&(_=f,m=s,g=l);const y=Ba;y.x=.5*(m.x+g.x),y.y=.5*(m.y+g.y),y.z=.5*(m.z+g.z);let v=rs.magnitudeSquared(rs.subtract(g,y,Ma)),A=Math.sqrt(v);const b=Fa;b.x=r.x,b.y=o.y,b.z=s.z;const w=ka;w.x=a.x,w.y=c.y,w.z=l.z;const C=rs.midpoint(b,w,za);let T=0;for(h=0;hT&&(T=n);const r=rs.magnitudeSquared(rs.subtract(i,y,Ma));if(r>v){const e=Math.sqrt(r);A=.5*(A+e),v=A*A;const t=e-A;y.x=(A*y.x+t*i.x)/e,y.y=(A*y.y+t*i.y)/e,y.z=(A*y.z+t*i.z)/e}}return A=c+s)return e.clone(n),n;if(s>=c+r)return t.clone(n),n;const l=.5*(r+c+s),u=rs.multiplyByScalar(a,(-r+l)/c,ec);return rs.add(u,i,u),rs.clone(u,n.center),n.radius=l,n};const tc=new rs;Sa.expand=function(e,t,n){Uo.typeOf.object("sphere",e),Uo.typeOf.object("point",t),n=Sa.clone(e,n);const i=rs.magnitude(rs.subtract(t,n.center,tc));return i>n.radius&&(n.radius=i),n},Sa.intersectPlane=function(e,t){Uo.typeOf.object("sphere",e),Uo.typeOf.object("plane",t);const n=e.center,i=e.radius,r=t.normal,o=rs.dot(r,n)+t.distance;return o<-i?Ds.OUTSIDE:o= 0x80 (not a basic code point)","invalid-input":"Invalid input"},b=l-u,w=Math.floor,C=String.fromCharCode;function T(e){throw new RangeError(A[e])}function E(e,t){var n=e.length,i=[];while(n--)i[n]=t(e[n]);return i}function x(e,t){var n=e.split("@"),i="";n.length>1&&(i=n[0]+"@",e=n[1]),e=e.replace(v,".");var r=e.split("."),o=E(r,t).join(".");return i+o}function S(e){var t,n,i=[],r=0,o=e.length;while(r=55296&&t<=56319&&r65535&&(e-=65536,t+=C(e>>>10&1023|55296),e=56320|1023&e),t+=C(e),t})).join("")}function I(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:l}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function D(e,t,n){var i=0;for(e=n?w(e/p):e>>1,e+=w(e/t);e>b*h>>1;i+=l)e=w(e/b);return w(i+(b+1)*e/(e+d))}function R(e){var t,n,i,r,o,s,a,d,p,_,y=[],v=e.length,A=0,b=m,C=f;for(n=e.lastIndexOf(g),n<0&&(n=0),i=0;i=128&&T("not-basic"),y.push(e.charCodeAt(i));for(r=n>0?n+1:0;r=v&&T("invalid-input"),d=I(e.charCodeAt(r++)),(d>=l||d>w((c-A)/s))&&T("overflow"),A+=d*s,p=a<=C?u:a>=C+h?h:a-C,dw(c/_)&&T("overflow"),s*=_}t=y.length+1,C=D(A-o,t,0==o),w(A/t)>c-b&&T("overflow"),b+=w(A/t),A%=t,y.splice(A++,0,b)}return P(y)}function N(e){var t,n,i,r,o,s,a,d,p,_,y,v,A,b,E,x=[];for(e=S(e),v=e.length,t=m,n=0,o=f,s=0;s=t&&yw((c-n)/A)&&T("overflow"),n+=(a-t)*A,t=a,s=0;sc&&T("overflow"),y==t){for(d=n,p=l;;p+=l){if(_=p<=o?u:p>=o+h?h:p-o,d<_)break;E=d-_,b=l-_,x.push(C(O(_+E%b,0))),d=w(E/b)}x.push(C(O(d,0))),o=D(n,A,i==r),n=0,++i}++n,++t}return x.join("")}function L(e){return x(e,(function(e){return _.test(e)?R(e.slice(4).toLowerCase()):e}))}function M(e){return x(e,(function(e){return y.test(e)?"xn--"+N(e):e}))}if(s={version:"1.3.2",ucs2:{decode:S,encode:P},decode:R,encode:N,toASCII:M,toUnicode:L},i&&r)if(e.exports==i)r.exports=s;else for(a in s)s.hasOwnProperty(a)&&(i[a]=s[a]);else n.punycode=s})(pc.a)})),mc=(0,pc.c)((function(e){ /*! * URI.js - Mutating URLs * IPv6 Support * * Version: 1.19.11 * * Author: Rodney Rehm * Web: http://medialize.github.io/URI.js/ * * Licensed under * MIT License http://www.opensource.org/licenses/mit-license * */ (function(t,n){e.exports?e.exports=n():t.IPv6=n(t)})(pc.a,(function(e){var t=e&&e.IPv6;function n(e){var t,n,i=e.toLowerCase(),r=i.split(":"),o=r.length,s=8;for(""===r[0]&&""===r[1]&&""===r[2]?(r.shift(),r.shift()):""===r[0]&&""===r[1]?r.shift():""===r[o-1]&&""===r[o-2]&&r.pop(),o=r.length,-1!==r[o-1].indexOf(".")&&(s=7),t=0;t1))break;n.splice(0,1)}r[a]=n.join("")}var l=-1,u=0,h=0,d=-1,p=!1;for(a=0;au&&(l=d,u=h)):"0"===r[a]&&(p=!0,d=a,h=1);h>u&&(l=d,u=h),u>1&&r.splice(l,u,""),o=r.length;var f="";for(""===r[0]&&(f=":"),a=0;a=e.length-1)return!1;var i=e.lastIndexOf(".",t-1);if(i<=0||i>=t-1)return!1;var r=n.list[e.slice(t+1)];return!!r&&r.indexOf(" "+e.slice(i+1,t)+" ")>=0},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;var i=e.lastIndexOf(".",t-1);if(i>=0)return!1;var r=n.list[e.slice(t+1)];return!!r&&r.indexOf(" "+e.slice(0,t)+" ")>=0},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var i=e.lastIndexOf(".",t-1);if(i<=0||i>=t-1)return null;var r=n.list[e.slice(t+1)];return r?r.indexOf(" "+e.slice(i+1,t)+" ")<0?null:e.slice(i+1):null},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return n}))})),_c=(0,pc.c)((function(e){ /*! * URI.js - Mutating URLs * * Version: 1.19.11 * * Author: Rodney Rehm * Web: http://medialize.github.io/URI.js/ * * Licensed under * MIT License http://www.opensource.org/licenses/mit-license * */ (function(t,n){e.exports?e.exports=n(fc,mc,gc):t.URI=n(t.punycode,t.IPv6,t.SecondLevelDomains,t)})(pc.a,(function(e,t,n,i){var r=i&&i.URI;function o(e,t){var n=arguments.length>=1,i=arguments.length>=2;if(!(this instanceof o))return n?i?new o(e,t):new o(e):new o;if(void 0===e){if(n)throw new TypeError("undefined is not a valid argument for URI");e="undefined"!==typeof location?location.href+"":""}if(null===e&&n)throw new TypeError("null is not a valid argument for URI");return this.href(e),void 0!==t?this.absoluteTo(t):this}function s(e){return/^[0-9]+$/.test(e)}o.version="1.19.11";var a=o.prototype,c=Object.prototype.hasOwnProperty;function l(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function u(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function h(e){return"Array"===u(e)}function d(e,t){var n,i,r={};if("RegExp"===u(t))r=null;else if(h(t))for(n=0,i=t.length;n]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/gi,o.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},o.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,o.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,o.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},o.hostProtocols=["http","https"],o.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,o.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},o.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return o.domAttributes[t]}},o.encode=_,o.decode=decodeURIComponent,o.iso8859=function(){o.encode=escape,o.decode=unescape},o.unicode=function(){o.encode=_,o.decode=decodeURIComponent},o.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},o.encodeQuery=function(e,t){var n=o.encode(e+"");return void 0===t&&(t=o.escapeQuerySpace),t?n.replace(/%20/g,"+"):n},o.decodeQuery=function(e,t){e+="",void 0===t&&(t=o.escapeQuerySpace);try{return o.decode(t?e.replace(/\+/g,"%20"):e)}catch(l_t){return e}};var y,v={encode:"encode",decode:"decode"},A=function(e,t){return function(n){try{return o[t](n+"").replace(o.characters[e][t].expression,(function(n){return o.characters[e][t].map[n]}))}catch(l_t){return n}}};for(y in v)o[y+"PathSegment"]=A("pathname",v[y]),o[y+"UrnPathSegment"]=A("urnpath",v[y]);var b=function(e,t,n){return function(i){var r;r=n?function(e){return o[t](o[n](e))}:o[t];for(var s=(i+"").split(e),a=0,c=s.length;a-1&&(t.fragment=e.substring(n+1)||null,e=e.substring(0,n)),n=e.indexOf("?"),n>-1&&(t.query=e.substring(n+1)||null,e=e.substring(0,n)),e=e.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://"),e=e.replace(/^[/\\]{2,}/i,"//"),"//"===e.substring(0,2)?(t.protocol=null,e=e.substring(2),e=o.parseAuthority(e,t)):(n=e.indexOf(":"),n>-1&&(t.protocol=e.substring(0,n)||null,t.protocol&&!t.protocol.match(o.protocol_expression)?t.protocol=void 0:"//"===e.substring(n+1,n+3).replace(/\\/g,"/")?(e=e.substring(n+3),e=o.parseAuthority(e,t)):(e=e.substring(n+1),t.urn=!0))),t.path=e,t},o.parseHost=function(e,t){e||(e=""),e=e.replace(/\\/g,"/");var n,i,r=e.indexOf("/");if(-1===r&&(r=e.length),"["===e.charAt(0))n=e.indexOf("]"),t.hostname=e.substring(1,n)||null,t.port=e.substring(n+2,r)||null,"/"===t.port&&(t.port=null);else{var s=e.indexOf(":"),a=e.indexOf("/"),c=e.indexOf(":",s+1);-1!==c&&(-1===a||c-1?s:e.length-1);return a>-1&&(-1===s||a-1?p.slice(0,f)+p.slice(f).replace(s,""):p.replace(s,""),!(p.length<=l[0].length)&&(!n.ignore||!n.ignore.test(p))){d=u+p.length;var _=t(p,u,d,e);void 0!==_?(_=String(_),e=e.slice(0,u)+_+e.slice(d),i.lastIndex=u+_.length):i.lastIndex=d}}return i.lastIndex=0,e},o.ensureValidHostname=function(t,n){var i=!!t,r=!!n,s=!1;if(r&&(s=p(o.hostProtocols,n)),s&&!i)throw new TypeError("Hostname cannot be empty, if protocol is "+n);if(t&&t.match(o.invalid_hostname_characters)){if(!e)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(e.toASCII(t).match(o.invalid_hostname_characters))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_]')}},o.ensureValidPort=function(e){if(e){var t=Number(e);if(!(s(t)&&t>0&&t<65536))throw new TypeError('Port "'+e+'" is not a valid port')}},o.noConflict=function(e){if(e){var t={URI:this.noConflict()};return i.URITemplate&&"function"===typeof i.URITemplate.noConflict&&(t.URITemplate=i.URITemplate.noConflict()),i.IPv6&&"function"===typeof i.IPv6.noConflict&&(t.IPv6=i.IPv6.noConflict()),i.SecondLevelDomains&&"function"===typeof i.SecondLevelDomains.noConflict&&(t.SecondLevelDomains=i.SecondLevelDomains.noConflict()),t}return i.URI===this&&(i.URI=r),this},a.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=o.build(this._parts),this._deferred_build=!1),this},a.clone=function(){return new o(this)},a.valueOf=a.toString=function(){return this.build(!1)._string},a.protocol=w("protocol"),a.username=w("username"),a.password=w("password"),a.hostname=w("hostname"),a.port=w("port"),a.query=C("query","?"),a.fragment=C("fragment","#"),a.search=function(e,t){var n=this.query(e,t);return"string"===typeof n&&n.length?"?"+n:n},a.hash=function(e,t){var n=this.fragment(e,t);return"string"===typeof n&&n.length?"#"+n:n},a.pathname=function(e,t){if(void 0===e||!0===e){var n=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?o.decodeUrnPath:o.decodePath)(n):n}return this._parts.urn?this._parts.path=e?o.recodeUrnPath(e):"":this._parts.path=e?o.recodePath(e):"/",this.build(!t),this},a.path=a.pathname,a.href=function(e,t){var n;if(void 0===e)return this.toString();this._string="",this._parts=o._parts();var i=e instanceof o,r="object"===typeof e&&(e.hostname||e.path||e.pathname);if(e.nodeName){var s=o.getDomAttribute(e);e=e[s]||"",r=!1}if(!i&&r&&void 0!==e.pathname&&(e=e.toString()),"string"===typeof e||e instanceof String)this._parts=o.parse(String(e),this._parts);else{if(!i&&!r)throw new TypeError("invalid input");var a=i?e._parts:e;for(n in a)"query"!==n&&c.call(this._parts,n)&&(this._parts[n]=a[n]);a.query&&this.query(a.query,!1)}return this.build(!t),this},a.is=function(e){var t=!1,i=!1,r=!1,s=!1,a=!1,c=!1,l=!1,u=!this._parts.urn;switch(this._parts.hostname&&(u=!1,i=o.ip4_expression.test(this._parts.hostname),r=o.ip6_expression.test(this._parts.hostname),t=i||r,s=!t,a=s&&n&&n.has(this._parts.hostname),c=s&&o.idn_expression.test(this._parts.hostname),l=s&&o.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return u;case"absolute":return!u;case"domain":case"name":return s;case"sld":return a;case"ip":return t;case"ip4":case"ipv4":case"inet4":return i;case"ip6":case"ipv6":case"inet6":return r;case"idn":return c;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return l}return null};var T=a.protocol,E=a.port,x=a.hostname;a.protocol=function(e,t){if(e&&(e=e.replace(/:(\/\/)?$/,""),!e.match(o.protocol_expression)))throw new TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return T.call(this,e,t)},a.scheme=a.protocol,a.port=function(e,t){return this._parts.urn?void 0===e?"":this:(void 0!==e&&(0===e&&(e=null),e&&(e+="",":"===e.charAt(0)&&(e=e.substring(1)),o.ensureValidPort(e))),E.call(this,e,t))},a.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var n={preventInvalidHostname:this._parts.preventInvalidHostname},i=o.parseHost(e,n);if("/"!==i)throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=n.hostname,this._parts.preventInvalidHostname&&o.ensureValidHostname(e,this._parts.protocol)}return x.call(this,e,t)},a.origin=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var n=this.protocol(),i=this.authority();return i?(n?n+"://":"")+this.authority():""}var r=o(e);return this.protocol(r.protocol()).authority(r.authority()).build(!t),this},a.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?o.buildHost(this._parts):"";var n=o.parseHost(e,this._parts);if("/"!==n)throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},a.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?o.buildAuthority(this._parts):"";var n=o.parseAuthority(e,this._parts);if("/"!==n)throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},a.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var n=o.buildUserinfo(this._parts);return n?n.substring(0,n.length-1):n}return"@"!==e[e.length-1]&&(e+="@"),o.parseUserinfo(e,this._parts),this.build(!t),this},a.resource=function(e,t){var n;return void 0===e?this.path()+this.search()+this.hash():(n=o.parse(e),this._parts.path=n.path,this._parts.query=n.query,this._parts.fragment=n.fragment,this.build(!t),this)},a.subdomain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,n)||""}var i=this._parts.hostname.length-this.domain().length,r=this._parts.hostname.substring(0,i),s=new RegExp("^"+l(r));if(e&&"."!==e.charAt(e.length-1)&&(e+="."),-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");return e&&o.ensureValidHostname(e,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(s,e),this.build(!t),this},a.domain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"===typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.match(/\./g);if(n&&n.length<2)return this._parts.hostname;var i=this._parts.hostname.length-this.tld(t).length-1;return i=this._parts.hostname.lastIndexOf(".",i-1)+1,this._parts.hostname.substring(i)||""}if(!e)throw new TypeError("cannot set domain empty");if(-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");if(o.ensureValidHostname(e,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=e;else{var r=new RegExp(l(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(r,e)}return this.build(!t),this},a.tld=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"===typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var i=this._parts.hostname.lastIndexOf("."),r=this._parts.hostname.substring(i+1);return!0!==t&&n&&n.list[r.toLowerCase()]&&n.get(this._parts.hostname)||r}var o;if(!e)throw new TypeError("cannot set TLD empty");if(e.match(/[^a-zA-Z0-9-]/)){if(!n||!n.is(e))throw new TypeError('TLD "'+e+'" contains characters other than [A-Z0-9]');o=new RegExp(l(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(o,e)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");o=new RegExp(l(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(o,e)}return this.build(!t),this},a.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var n=this._parts.path.length-this.filename().length-1,i=this._parts.path.substring(0,n)||(this._parts.hostname?"/":"");return e?o.decodePath(i):i}var r=this._parts.path.length-this.filename().length,s=this._parts.path.substring(0,r),a=new RegExp("^"+l(s));return this.is("relative")||(e||(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=o.recodePath(e),this._parts.path=this._parts.path.replace(a,e),this.build(!t),this},a.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("string"!==typeof e){if(!this._parts.path||"/"===this._parts.path)return"";var n=this._parts.path.lastIndexOf("/"),i=this._parts.path.substring(n+1);return e?o.decodePathSegment(i):i}var r=!1;"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(r=!0);var s=new RegExp(l(this.filename())+"$");return e=o.recodePath(e),this._parts.path=this._parts.path.replace(s,e),r?this.normalizePath(t):this.build(!t),this},a.suffix=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var n,i,r=this.filename(),s=r.lastIndexOf(".");return-1===s?"":(n=r.substring(s+1),i=/^[a-z0-9%]+$/i.test(n)?n:"",e?o.decodePathSegment(i):i)}"."===e.charAt(0)&&(e=e.substring(1));var a,c=this.suffix();if(c)a=e?new RegExp(l(c)+"$"):new RegExp(l("."+c)+"$");else{if(!e)return this;this._parts.path+="."+o.recodePath(e)}return a&&(e=o.recodePath(e),this._parts.path=this._parts.path.replace(a,e)),this.build(!t),this},a.segment=function(e,t,n){var i=this._parts.urn?":":"/",r=this.path(),o="/"===r.substring(0,1),s=r.split(i);if(void 0!==e&&"number"!==typeof e&&(n=t,t=e,e=void 0),void 0!==e&&"number"!==typeof e)throw new Error('Bad segment "'+e+'", must be 0-based integer');if(o&&s.shift(),e<0&&(e=Math.max(s.length+e,0)),void 0===t)return void 0===e?s:s[e];if(null===e||void 0===s[e])if(h(t)){s=[];for(var a=0,c=t.length;a0){const n=e.substring(0,r),i=e.substring(r+2);t[n]=i}}return t}var il=nl;function rl(e,t,n){this.statusCode=e,this.response=t,this.responseHeaders=n,"string"===typeof this.responseHeaders&&(this.responseHeaders=il(this.responseHeaders))}rl.prototype.toString=function(){let e="Request has failed.";return No(this.statusCode)&&(e+=` Status Code: ${this.statusCode}`),e};var ol=rl;function sl(){this._listeners=[],this._scopes=[],this._toRemove=[],this._insideRaiseEvent=!1}function al(e,t){return t-e}Object.defineProperties(sl.prototype,{numberOfListeners:{get:function(){return this._listeners.length-this._toRemove.length}}}),sl.prototype.addEventListener=function(e,t){Uo.typeOf.func("listener",e),this._listeners.push(e),this._scopes.push(t);const n=this;return function(){n.removeEventListener(e,t)}},sl.prototype.removeEventListener=function(e,t){Uo.typeOf.func("listener",e);const n=this._listeners,i=this._scopes;let r=-1;for(let o=0;o0){for(r.sort(al),e=0;e=0;--t)this.heapify(t)},ll.prototype.insert=function(e){Uo.defined("element",e);const t=this._array,n=this._comparator,i=this._maximumLength;let r,o=this._length++;oi&&(r=t[i],this._length=i),r},ll.prototype.pop=function(e){if(e=Ho(e,0),0===this._length)return;Uo.typeOf.number.lessThan("index",e,this._length);const t=this._array,n=t[e];return ul(t,e,--this._length),this.heapify(e),t[this._length]=void 0,n};var hl=ll;function dl(e,t){return e.priority-t.priority}const pl={numberOfAttemptedRequests:0,numberOfActiveRequests:0,numberOfCancelledRequests:0,numberOfCancelledActiveRequests:0,numberOfFailedRequests:0,numberOfActiveRequestsEver:0,lastNumberOfActiveRequests:0};let fl=20;const ml=new hl({comparator:dl});ml.maximumLength=fl,ml.reserve(fl);const gl=[];let _l={};const yl="undefined"!==typeof document?new _c(document.location.href):new _c,vl=new cl;function Al(){}function bl(e){No(e.priorityFunction)&&(e.priority=e.priorityFunction())}function wl(e){return e.state===Jc.UNISSUED&&(e.state=Jc.ISSUED,e.deferred=Sc()),e.deferred.promise}function Cl(e){return function(t){if(e.state===Jc.CANCELLED)return;const n=e.deferred;--pl.numberOfActiveRequests,--_l[e.serverKey],vl.raiseEvent(),e.state=Jc.RECEIVED,e.deferred=void 0,n.resolve(t)}}function Tl(e){return function(t){e.state!==Jc.CANCELLED&&(++pl.numberOfFailedRequests,--pl.numberOfActiveRequests,--_l[e.serverKey],vl.raiseEvent(t),e.state=Jc.FAILED,e.deferred.reject(t))}}function El(e){const t=wl(e);return e.state=Jc.ACTIVE,gl.push(e),++pl.numberOfActiveRequests,++pl.numberOfActiveRequestsEver,++_l[e.serverKey],e.requestFunction().then(Cl(e)).catch(Tl(e)),t}function xl(e){const t=e.state===Jc.ACTIVE;if(e.state=Jc.CANCELLED,++pl.numberOfCancelledRequests,No(e.deferred)){const t=e.deferred;e.deferred=void 0,t.reject()}t&&(--pl.numberOfActiveRequests,--_l[e.serverKey],++pl.numberOfCancelledActiveRequests),No(e.cancelFunction)&&e.cancelFunction()}function Sl(){Al.debugShowStatistics&&(0===pl.numberOfActiveRequests&&pl.lastNumberOfActiveRequests>0&&(pl.numberOfAttemptedRequests>0&&(console.log(`Number of attempted requests: ${pl.numberOfAttemptedRequests}`),pl.numberOfAttemptedRequests=0),pl.numberOfCancelledRequests>0&&(console.log(`Number of cancelled requests: ${pl.numberOfCancelledRequests}`),pl.numberOfCancelledRequests=0),pl.numberOfCancelledActiveRequests>0&&(console.log(`Number of cancelled active requests: ${pl.numberOfCancelledActiveRequests}`),pl.numberOfCancelledActiveRequests=0),pl.numberOfFailedRequests>0&&(console.log(`Number of failed requests: ${pl.numberOfFailedRequests}`),pl.numberOfFailedRequests=0)),pl.lastNumberOfActiveRequests=pl.numberOfActiveRequests)}Al.maximumRequests=50,Al.maximumRequestsPerServer=6,Al.requestsByServer={"api.cesium.com:443":18,"assets.cesium.com:443":18},Al.throttleRequests=!0,Al.debugShowStatistics=!1,Al.requestCompletedEvent=vl,Object.defineProperties(Al,{statistics:{get:function(){return pl}},priorityHeapLength:{get:function(){return fl},set:function(e){if(ee){const e=ml.pop();xl(e)}fl=e,ml.maximumLength=e,ml.reserve(e)}}}),Al.serverHasOpenSlots=function(e,t){t=Ho(t,1);const n=Ho(Al.requestsByServer[e],Al.maximumRequestsPerServer),i=_l[e]+t<=n;return i},Al.heapHasOpenSlots=function(e){const t=ml.length+e<=fl;return t},Al.update=function(){let e,t,n=0;const i=gl.length;for(e=0;e0&&(gl[e-n]=t):++n;gl.length-=n;const r=ml.internalArray,o=ml.length;for(e=0;e0)t=ml.pop(),t.cancelled?xl(t):!t.throttleByServer||Al.serverHasOpenSlots(t.serverKey)?(El(t),++a):xl(t);Sl()},Al.getServerKey=function(e){Uo.typeOf.string("url",e);let t=new _c(e);""===t.scheme()&&(t=new _c(e).absoluteTo(yl),t.normalize());let n=t.authority();/:/.test(n)||(n=`${n}:${"https"===t.scheme()?"443":"80"}`);const i=_l[n];return No(i)||(_l[n]=0),n},Al.request=function(e){if(Uo.typeOf.object("request",e),Uo.typeOf.string("request.url",e.url),Uo.typeOf.func("request.requestFunction",e.requestFunction),Gc(e.url)||Fc(e.url))return vl.raiseEvent(),e.state=Jc.RECEIVED,e.requestFunction();if(++pl.numberOfAttemptedRequests,No(e.serverKey)||(e.serverKey=Al.getServerKey(e.url)),Al.throttleRequests&&e.throttleByServer&&!Al.serverHasOpenSlots(e.serverKey))return;if(!Al.throttleRequests||!e.throttle)return El(e);if(gl.length>=Al.maximumRequests)return;bl(e);const t=ml.insert(e);if(No(t)){if(t===e)return;xl(t)}return wl(e)},Al.clearForSpecs=function(){while(ml.length>0){const e=ml.pop();xl(e)}const e=gl.length;for(let t=0;t0}}}),zl.prototype.toString=function(){return this.getUrlComponent(!0,!0)},zl.prototype.getUrlComponent=function(e,t){if(this.isDataUri)return this._url;const n=new _c(this._url);e&&Ml(n,this);let i=n.toString().replace(/%7B/g,"{").replace(/%7D/g,"}");const r=this._templateValues;return i=i.replace(/{(.*?)}/g,(function(e,t){const n=r[t];return No(n)?encodeURIComponent(n):e})),t&&No(this.proxy)&&(i=this.proxy.getURL(i)),i},zl.prototype.setQueryParameters=function(e,t){this._queryParameters=t?kl(this._queryParameters,e,!1):kl(e,this._queryParameters,!1)},zl.prototype.appendQueryParameters=function(e){this._queryParameters=kl(e,this._queryParameters,!0)},zl.prototype.setTemplateValues=function(e,t){this._templateValues=t?Ec(this._templateValues,e):Ec(e,this._templateValues)},zl.prototype.getDerivedResource=function(e){const t=this.clone();if(t._retryCount=0,No(e.url)){const n=new _c(e.url),i=Ho(e.preserveQueryParameters,!1);Ll(n,t,!0,i),n.fragment(""),""!==n.scheme()?t._url=n.toString():t._url=n.absoluteTo(new _c(vc(this._url))).toString()}return No(e.queryParameters)&&(t._queryParameters=Ec(e.queryParameters,t._queryParameters)),No(e.templateValues)&&(t._templateValues=Ec(e.templateValues,t.templateValues)),No(e.headers)&&(t.headers=Ec(e.headers,t.headers)),No(e.proxy)&&(t.proxy=e.proxy),No(e.request)&&(t.request=e.request),No(e.retryCallback)&&(t.retryCallback=e.retryCallback),No(e.retryAttempts)&&(t.retryAttempts=e.retryAttempts),t},zl.prototype.retryOnError=function(e){const t=this.retryCallback;if("function"!==typeof t||this._retryCount>=this.retryAttempts)return Promise.resolve(!1);const n=this;return Promise.resolve(t(this,e)).then((function(e){return++n._retryCount,e}))},zl.prototype.clone=function(e){return No(e)||(e=new zl({url:this._url})),e._url=this._url,e._queryParameters=Cc(this._queryParameters),e._templateValues=Cc(this._templateValues),e.headers=Cc(this.headers),e.proxy=this.proxy,e.retryCallback=this.retryCallback,e.retryAttempts=this.retryAttempts,e._retryCount=0,e.request=this.request.clone(),e},zl.prototype.getBaseUri=function(e){return Ic(this.getUrlComponent(e),e)},zl.prototype.appendForwardSlash=function(){this._url=bc(this._url)},zl.prototype.fetchArrayBuffer=function(){return this.fetch({responseType:"arraybuffer"})},zl.fetchArrayBuffer=function(e){const t=new zl(e);return t.fetchArrayBuffer()},zl.prototype.fetchBlob=function(){return this.fetch({responseType:"blob"})},zl.fetchBlob=function(e){const t=new zl(e);return t.fetchBlob()},zl.prototype.fetchImage=function(e){e=Ho(e,Ho.EMPTY_OBJECT);const t=Ho(e.preferImageBitmap,!1),n=Ho(e.preferBlob,!1),i=Ho(e.flipY,!1),r=Ho(e.skipColorSpaceConversion,!1);if(Fl(this.request),!Nl||this.isDataUri||this.isBlobUri||!this.hasHeaders&&!n)return Vl({resource:this,flipY:i,skipColorSpaceConversion:r,preferImageBitmap:t});const o=this.fetchBlob();if(!No(o))return;let s,a,c,l;return zl.supportsImageBitmapOptions().then((function(e){return s=e,a=s&&t,o})).then((function(e){if(!No(e))return;if(l=e,a)return zl.createImageBitmapFromBlob(e,{flipY:i,premultiplyAlpha:!1,skipColorSpaceConversion:r});const t=window.URL.createObjectURL(e);return c=new zl({url:t}),Vl({resource:c,flipY:i,skipColorSpaceConversion:r,preferImageBitmap:!1})})).then((function(e){if(No(e))return e.blob=l,a||window.URL.revokeObjectURL(c.url),e})).catch((function(e){return No(c)&&window.URL.revokeObjectURL(c.url),e.blob=l,Promise.reject(e)}))},zl.fetchImage=function(e){const t=new zl(e);return t.fetchImage({flipY:e.flipY,skipColorSpaceConversion:e.skipColorSpaceConversion,preferBlob:e.preferBlob,preferImageBitmap:e.preferImageBitmap})},zl.prototype.fetchText=function(){return this.fetch({responseType:"text"})},zl.fetchText=function(e){const t=new zl(e);return t.fetchText()},zl.prototype.fetchJson=function(){const e=this.fetch({responseType:"text",headers:{Accept:"application/json,*/*;q=0.01"}});if(No(e))return e.then((function(e){if(No(e))return JSON.parse(e)}))},zl.fetchJson=function(e){const t=new zl(e);return t.fetchJson()},zl.prototype.fetchXML=function(){return this.fetch({responseType:"document",overrideMimeType:"text/xml"})},zl.fetchXML=function(e){const t=new zl(e);return t.fetchXML()},zl.prototype.fetchJsonp=function(e){let t;e=Ho(e,"callback"),Fl(this.request);do{t=`loadJsonp${Xo.nextRandomNumber().toString().substring(2,8)}`}while(No(window[t]));return Hl(this,e,t)},zl.fetchJsonp=function(e){const t=new zl(e);return t.fetchJsonp(e.callbackParameterName)},zl.prototype._makeRequest=function(e){const t=this;Fl(t.request);const n=t.request;n.url=t.url,n.requestFunction=function(){const i=e.responseType,r=Ec(e.headers,t.headers),o=e.overrideMimeType,s=e.method,a=e.data,c=Sc(),l=zl._Implementations.loadWithXhr(t.url,i,s,a,r,c,o);return No(l)&&No(l.abort)&&(n.cancelFunction=function(){l.abort()}),c.promise};const i=Pl.request(n);if(No(i))return i.then((function(e){return n.cancelFunction=void 0,e})).catch((function(i){return n.cancelFunction=void 0,n.state!==Jc.FAILED?Promise.reject(i):t.retryOnError(i).then((function(r){return r?(n.state=Jc.UNISSUED,n.deferred=void 0,t.fetch(e)):Promise.reject(i)}))}))};const Gl=/^data:(.*?)(;base64)?,(.*)$/;function jl(e,t){const n=decodeURIComponent(t);return e?atob(n):n}function ql(e,t){const n=jl(e,t),i=new ArrayBuffer(n.length),r=new Uint8Array(i);for(let o=0;o=300)return void o.reject(new ol(e.statusCode,e,e.headers));const n=[];e.on("data",(function(e){n.push(e)})),e.on("end",(function(){const i=Buffer.concat(n);"gzip"===e.headers["content-encoding"]?l.gunzip(i,(function(e,n){e?o.reject(new aa("Error decompressing response.")):o.resolve(Yl(n,t))})):o.resolve(Yl(i,t))}))})).on("error",(function(e){o.reject(new ol)})).end()}zl.prototype.fetch=function(e){return e=Bl(e,{}),e.method="GET",this._makeRequest(e)},zl.fetch=function(e){const t=new zl(e);return t.fetch({responseType:e.responseType,overrideMimeType:e.overrideMimeType})},zl.prototype.delete=function(e){return e=Bl(e,{}),e.method="DELETE",this._makeRequest(e)},zl.delete=function(e){const t=new zl(e);return t.delete({responseType:e.responseType,overrideMimeType:e.overrideMimeType,data:e.data})},zl.prototype.head=function(e){return e=Bl(e,{}),e.method="HEAD",this._makeRequest(e)},zl.head=function(e){const t=new zl(e);return t.head({responseType:e.responseType,overrideMimeType:e.overrideMimeType})},zl.prototype.options=function(e){return e=Bl(e,{}),e.method="OPTIONS",this._makeRequest(e)},zl.options=function(e){const t=new zl(e);return t.options({responseType:e.responseType,overrideMimeType:e.overrideMimeType})},zl.prototype.post=function(e,t){return Uo.defined("data",e),t=Bl(t,{}),t.method="POST",t.data=e,this._makeRequest(t)},zl.post=function(e){const t=new zl(e);return t.post(e.data,{responseType:e.responseType,overrideMimeType:e.overrideMimeType})},zl.prototype.put=function(e,t){return Uo.defined("data",e),t=Bl(t,{}),t.method="PUT",t.data=e,this._makeRequest(t)},zl.put=function(e){const t=new zl(e);return t.put(e.data,{responseType:e.responseType,overrideMimeType:e.overrideMimeType})},zl.prototype.patch=function(e,t){return Uo.defined("data",e),t=Bl(t,{}),t.method="PATCH",t.data=e,this._makeRequest(t)},zl.patch=function(e){const t=new zl(e);return t.patch(e.data,{responseType:e.responseType,overrideMimeType:e.overrideMimeType})},zl._Implementations={},zl._Implementations.loadImageElement=function(e,t,n){const i=new Image;i.onload=function(){0===i.naturalWidth&&0===i.naturalHeight&&0===i.width&&0===i.height&&(i.width=300,i.height=150),n.resolve(i)},i.onerror=function(e){n.reject(e)},t&&(Rl.contains(e)?i.crossOrigin="use-credentials":i.crossOrigin=""),i.src=e},zl._Implementations.createImage=function(e,t,n,i,r,o){const s=e.url;zl.supportsImageBitmapOptions().then((function(a){if(!a||!o)return void zl._Implementations.loadImageElement(s,t,n);const c="blob",l="GET",u=Sc(),h=zl._Implementations.loadWithXhr(s,c,l,void 0,void 0,u,void 0,void 0,void 0);return No(h)&&No(h.abort)&&(e.cancelFunction=function(){h.abort()}),u.promise.then((function(e){if(No(e))return zl.createImageBitmapFromBlob(e,{flipY:i,premultiplyAlpha:!1,skipColorSpaceConversion:r});n.reject(new aa(`Successfully retrieved ${s} but it contained no content.`))})).then((function(e){n.resolve(e)}))})).catch((function(e){n.reject(e)}))},zl.createImageBitmapFromBlob=function(e,t){return Uo.defined("options",t),Uo.typeOf.bool("options.flipY",t.flipY),Uo.typeOf.bool("options.premultiplyAlpha",t.premultiplyAlpha),Uo.typeOf.bool("options.skipColorSpaceConversion",t.skipColorSpaceConversion),createImageBitmap(e,{imageOrientation:t.flipY?"flipY":"none",premultiplyAlpha:t.premultiplyAlpha?"premultiply":"none",colorSpaceConversion:t.skipColorSpaceConversion?"none":"default"})};const Kl="undefined"===typeof XMLHttpRequest;zl._Implementations.loadWithXhr=function(e,t,n,i,r,o,s){const a=Gl.exec(e);if(null!==a)return void o.resolve(Wl(a,t));if(Kl)return void Xl(e,t,n,i,r,o,s);const c=new XMLHttpRequest;if(Rl.contains(e)&&(c.withCredentials=!0),c.open(n,e,!0),No(s)&&No(c.overrideMimeType)&&c.overrideMimeType(s),No(r))for(const u in r)r.hasOwnProperty(u)&&c.setRequestHeader(u,r[u]);No(t)&&(c.responseType=t);let l=!1;return"string"===typeof e&&(l=0===e.indexOf("file://")||"undefined"!==typeof window&&"file://"===window.location.origin),c.onload=function(){if((c.status<200||c.status>=300)&&(!l||0!==c.status))return void o.reject(new ol(c.status,c.response,c.getAllResponseHeaders()));const e=c.response,i=c.responseType;if("HEAD"===n||"OPTIONS"===n){const e=c.getAllResponseHeaders(),t=e.trim().split(/[\r\n]+/),n={};return t.forEach((function(e){const t=e.split(": "),i=t.shift();n[i]=t.join(": ")})),void o.resolve(n)}if(204===c.status)o.resolve();else if(!No(e)||No(t)&&i!==t)if("json"===t&&"string"===typeof e)try{o.resolve(JSON.parse(e))}catch(l_t){o.reject(l_t)}else(""===i||"document"===i)&&No(c.responseXML)&&c.responseXML.hasChildNodes()?o.resolve(c.responseXML):""!==i&&"text"!==i||!No(c.responseText)?o.reject(new aa("Invalid XMLHttpRequest response type.")):o.resolve(c.responseText);else o.resolve(e)},c.onerror=function(e){o.reject(new ol)},c.send(i),c},zl._Implementations.loadAndExecuteScript=function(e,t,n){return qc(e,t).catch((function(e){n.reject(e)}))},zl._DefaultImplementations={},zl._DefaultImplementations.createImage=zl._Implementations.createImage,zl._DefaultImplementations.loadWithXhr=zl._Implementations.loadWithXhr,zl._DefaultImplementations.loadAndExecuteScript=zl._Implementations.loadAndExecuteScript,zl.DEFAULT=Object.freeze(new zl({url:"undefined"===typeof document?"":document.location.href.split("?")[0]}));var Ql=zl;const Jl=/((?:.*\/)|^)Cesium\.js(?:\?|\#|$)/;let Zl,$l,eu;function tu(e){return"undefined"===typeof document?e:(No(Zl)||(Zl=document.createElement("a")),Zl.href=e,Zl.href=Zl.href,Zl.href)}function nu(){if(No($l))return $l;let e;if(e="./",!No(e))throw new Mo("Unable to determine Cesium base URL automatically, try defining a global variable called CESIUM_BASE_URL.");return $l=new Ql({url:tu(e)}),$l.appendForwardSlash(),$l}function iu(e){return tu(require.toUrl(`../${e}`))}function ru(e){const t=nu().getDerivedResource({url:e});return t.url}function ou(e){No(eu)||(eu="object"===typeof define&&No(define.amd)&&!define.amd.toUrlUndefined&&No(require.toUrl)?iu:ru);const t=eu(e);return t}ou._cesiumScriptRegex=Jl,ou._buildModuleUrlFromBaseUrl=ru,ou._clearBaseResource=function(){$l=void 0},ou.setBaseUrl=function(e){$l=Ql.DEFAULT.getDerivedResource({url:e})},ou.getCesiumBaseUrl=nu;var su=ou;function au(e,t){this.x=Ho(e,0),this.y=Ho(t,0)}au.fromElements=function(e,t,n){return No(n)?(n.x=e,n.y=t,n):new au(e,t)},au.clone=function(e,t){if(No(e))return No(t)?(t.x=e.x,t.y=e.y,t):new au(e.x,e.y)},au.fromCartesian3=au.clone,au.fromCartesian4=au.clone,au.packedLength=2,au.pack=function(e,t,n){return Uo.typeOf.object("value",e),Uo.defined("array",t),n=Ho(n,0),t[n++]=e.x,t[n]=e.y,t},au.unpack=function(e,t,n){return Uo.defined("array",e),t=Ho(t,0),No(n)||(n=new au),n.x=e[t++],n.y=e[t],n},au.packArray=function(e,t){Uo.defined("array",e);const n=e.length,i=2*n;if(No(t)){if(!Array.isArray(t)&&t.length!==i)throw new Mo("If result is a typed array, it must have exactly array.length * 2 elements");t.length!==i&&(t.length=i)}else t=new Array(i);for(let r=0;r=r&&(l=r-1);let u=(i.north-e.latitude)/a|0;return u>=o&&(u=o-1),No(n)?(n.x=l,n.y=u,n):new pu(l,u)};var mu=fu;const gu=new rs,_u=new rs,yu=new gs,vu=new rs,Au=new rs,bu=new dc,wu=new mu,Cu=[new gs,new gs,new gs,new gs],Tu=new pu,Eu={};function xu(e){gs.fromRadians(e.east,e.north,0,Cu[0]),gs.fromRadians(e.west,e.north,0,Cu[1]),gs.fromRadians(e.east,e.south,0,Cu[2]),gs.fromRadians(e.west,e.south,0,Cu[3]);let t=0,n=0,i=0,r=0;const o=Eu._terrainHeightsMaxLevel;let s;for(s=0;s<=o;++s){let e=!1;for(let t=0;t<4;++t){const n=Cu[t];if(wu.positionToTileXY(n,s,Tu),0===t)i=Tu.x,r=Tu.y;else if(i!==Tu.x||r!==Tu.y){e=!0;break}}if(e)break;t=i,n=r}if(0!==s)return{x:t,y:n,level:s>o?o:s-1}}Eu.initialize=function(){let e=Eu._initPromise;return No(e)||(e=Ql.fetchJson(su("Assets/approximateTerrainHeights.json")).then((function(e){Eu._terrainHeights=e})),Eu._initPromise=e),e},Eu.getMinimumMaximumHeights=function(e,t){if(Uo.defined("rectangle",e),!No(Eu._terrainHeights))throw new Mo("You must call ApproximateTerrainHeights.initialize and wait for the promise to resolve before using this function");t=Ho(t,Ss.WGS84);const n=xu(e);let i=Eu._defaultMinTerrainHeight,r=Eu._defaultMaxTerrainHeight;if(No(n)){const o=`${n.level}-${n.x}-${n.y}`,s=Eu._terrainHeights[o];No(s)&&(i=s[0],r=s[1]),t.cartographicToCartesian(xa.northeast(e,yu),gu),t.cartographicToCartesian(xa.southwest(e,yu),_u),rs.midpoint(_u,gu,vu);const a=t.scaleToGeodeticSurface(vu,Au);if(No(a)){const e=rs.distance(vu,a);i=Math.min(i,-e)}else i=Eu._defaultMinTerrainHeight}return i=Math.max(Eu._defaultMinTerrainHeight,i),{minimumTerrainHeight:i,maximumTerrainHeight:r}},Eu.getBoundingSphere=function(e,t){if(Uo.defined("rectangle",e),!No(Eu._terrainHeights))throw new Mo("You must call ApproximateTerrainHeights.initialize and wait for the promise to resolve before using this function");t=Ho(t,Ss.WGS84);const n=xu(e);let i=Eu._defaultMaxTerrainHeight;if(No(n)){const e=`${n.level}-${n.x}-${n.y}`,t=Eu._terrainHeights[e];No(t)&&(i=t[1])}const r=dc.fromRectangle3D(e,t,0);return dc.fromRectangle3D(e,t,i,bu),dc.union(r,bu,r)},Eu._terrainHeightsMaxLevel=6,Eu._defaultMaxTerrainHeight=9e3,Eu._defaultMinTerrainHeight=-1e5,Eu._terrainHeights=void 0,Eu._initPromise=void 0,Object.defineProperties(Eu,{initialized:{get:function(){return No(Eu._terrainHeights)}}});var Su=Eu; /*! @license DOMPurify 2.3.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.8/LICENSE */ function Pu(e){return Pu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pu(e)}function Iu(e,t){return Iu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Iu(e,t)}function Ou(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(l_t){return!1}}function Du(e,t,n){return Du=Ou()?Reflect.construct:function(e,t,n){var i=[null];i.push.apply(i,t);var r=Function.bind.apply(e,i),o=new r;return n&&Iu(o,n.prototype),o},Du.apply(null,arguments)}function Ru(e){return Nu(e)||Lu(e)||Mu(e)||Fu()}function Nu(e){if(Array.isArray(e))return Bu(e)}function Lu(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Mu(e,t){if(e){if("string"===typeof e)return Bu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bu(e,t):void 0}}function Bu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n1?n-1:0),r=1;r/gm),Ch=ju(/^data-[\-\w.\u00B7-\uFFFF]/),Th=ju(/^aria-[\-\w]+$/),Eh=ju(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),xh=ju(/^(?:\w+script|data):/i),Sh=ju(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ph=ju(/^html$/i),Ih=function(){return"undefined"===typeof window?null:window},Oh=function(e,t){if("object"!==Pu(e)||"function"!==typeof e.createPolicy)return null;var n=null,i="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(i)&&(n=t.currentScript.getAttribute(i));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(A_t){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};function Dh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ih(),t=function(e){return Dh(e)};if(t.version="2.3.8",t.removed=[],!e||!e.document||9!==e.document.nodeType)return t.isSupported=!1,t;var n=e.document,i=e.document,r=e.DocumentFragment,o=e.HTMLTemplateElement,s=e.Node,a=e.Element,c=e.NodeFilter,l=e.NamedNodeMap,u=void 0===l?e.NamedNodeMap||e.MozNamedAttrMap:l,h=e.HTMLFormElement,d=e.DOMParser,p=e.trustedTypes,f=a.prototype,m=lh(f,"cloneNode"),g=lh(f,"nextSibling"),_=lh(f,"childNodes"),y=lh(f,"parentNode");if("function"===typeof o){var v=i.createElement("template");v.content&&v.content.ownerDocument&&(i=v.content.ownerDocument)}var A=Oh(p,n),b=A?A.createHTML(""):"",w=i,C=w.implementation,T=w.createNodeIterator,E=w.createDocumentFragment,x=w.getElementsByTagName,S=n.importNode,P={};try{P=ch(i).documentMode?i.documentMode:{}}catch(A_t){}var I={};t.isSupported="function"===typeof y&&C&&"undefined"!==typeof C.createHTMLDocument&&9!==P;var O,D,R=bh,N=wh,L=Ch,M=Th,B=xh,F=Sh,k=Eh,z=null,U=ah({},[].concat(Ru(uh),Ru(hh),Ru(dh),Ru(fh),Ru(gh))),V=null,H=ah({},[].concat(Ru(_h),Ru(yh),Ru(vh),Ru(Ah))),G=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),j=null,q=null,W=!0,Y=!0,X=!1,K=!1,Q=!1,J=!1,Z=!1,$=!1,ee=!1,te=!1,ne=!0,ie=!0,re=!1,oe={},se=null,ae=ah({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),ce=null,le=ah({},["audio","video","img","source","image","track"]),ue=null,he=ah({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),de="http://www.w3.org/1998/Math/MathML",pe="http://www.w3.org/2000/svg",fe="http://www.w3.org/1999/xhtml",me=fe,ge=!1,_e=["application/xhtml+xml","text/html"],ye="text/html",ve=null,Ae=i.createElement("form"),be=function(e){return e instanceof RegExp||e instanceof Function},we=function(e){ve&&ve===e||(e&&"object"===Pu(e)||(e={}),e=ch(e),z="ALLOWED_TAGS"in e?ah({},e.ALLOWED_TAGS):U,V="ALLOWED_ATTR"in e?ah({},e.ALLOWED_ATTR):H,ue="ADD_URI_SAFE_ATTR"in e?ah(ch(he),e.ADD_URI_SAFE_ATTR):he,ce="ADD_DATA_URI_TAGS"in e?ah(ch(le),e.ADD_DATA_URI_TAGS):le,se="FORBID_CONTENTS"in e?ah({},e.FORBID_CONTENTS):ae,j="FORBID_TAGS"in e?ah({},e.FORBID_TAGS):{},q="FORBID_ATTR"in e?ah({},e.FORBID_ATTR):{},oe="USE_PROFILES"in e&&e.USE_PROFILES,W=!1!==e.ALLOW_ARIA_ATTR,Y=!1!==e.ALLOW_DATA_ATTR,X=e.ALLOW_UNKNOWN_PROTOCOLS||!1,K=e.SAFE_FOR_TEMPLATES||!1,Q=e.WHOLE_DOCUMENT||!1,$=e.RETURN_DOM||!1,ee=e.RETURN_DOM_FRAGMENT||!1,te=e.RETURN_TRUSTED_TYPE||!1,Z=e.FORCE_BODY||!1,ne=!1!==e.SANITIZE_DOM,ie=!1!==e.KEEP_CONTENT,re=e.IN_PLACE||!1,k=e.ALLOWED_URI_REGEXP||k,me=e.NAMESPACE||fe,e.CUSTOM_ELEMENT_HANDLING&&be(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(G.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&be(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(G.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"===typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(G.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),O=O=-1===_e.indexOf(e.PARSER_MEDIA_TYPE)?ye:e.PARSER_MEDIA_TYPE,D="application/xhtml+xml"===O?function(e){return e}:Zu,K&&(Y=!1),ee&&($=!0),oe&&(z=ah({},Ru(gh)),V=[],!0===oe.html&&(ah(z,uh),ah(V,_h)),!0===oe.svg&&(ah(z,hh),ah(V,yh),ah(V,Ah)),!0===oe.svgFilters&&(ah(z,dh),ah(V,yh),ah(V,Ah)),!0===oe.mathMl&&(ah(z,fh),ah(V,vh),ah(V,Ah))),e.ADD_TAGS&&(z===U&&(z=ch(z)),ah(z,e.ADD_TAGS)),e.ADD_ATTR&&(V===H&&(V=ch(V)),ah(V,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&ah(ue,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(se===ae&&(se=ch(se)),ah(se,e.FORBID_CONTENTS)),ie&&(z["#text"]=!0),Q&&ah(z,["html","head","body"]),z.table&&(ah(z,["tbody"]),delete j.tbody),Gu&&Gu(e),ve=e)},Ce=ah({},["mi","mo","mn","ms","mtext"]),Te=ah({},["foreignobject","desc","title","annotation-xml"]),Ee=ah({},["title","style","font","a","script"]),xe=ah({},hh);ah(xe,dh),ah(xe,ph);var Se=ah({},fh);ah(Se,mh);var Pe=function(e){var t=y(e);t&&t.tagName||(t={namespaceURI:fe,tagName:"template"});var n=Zu(e.tagName),i=Zu(t.tagName);return e.namespaceURI===pe?t.namespaceURI===fe?"svg"===n:t.namespaceURI===de?"svg"===n&&("annotation-xml"===i||Ce[i]):Boolean(xe[n]):e.namespaceURI===de?t.namespaceURI===fe?"math"===n:t.namespaceURI===pe?"math"===n&&Te[i]:Boolean(Se[n]):e.namespaceURI===fe&&(!(t.namespaceURI===pe&&!Te[i])&&(!(t.namespaceURI===de&&!Ce[i])&&(!Se[n]&&(Ee[n]||!xe[n]))))},Ie=function(e){Ju(t.removed,{element:e});try{e.parentNode.removeChild(e)}catch(A_t){try{e.outerHTML=b}catch(A_t){e.remove()}}},Oe=function(e,n){try{Ju(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch(A_t){Ju(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),"is"===e&&!V[e])if($||ee)try{Ie(n)}catch(A_t){}else try{n.setAttribute(e,"")}catch(A_t){}},De=function(e){var t,n;if(Z)e=""+e;else{var r=$u(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===O&&(e=''+e+"");var o=A?A.createHTML(e):e;if(me===fe)try{t=(new d).parseFromString(o,O)}catch(A_t){}if(!t||!t.documentElement){t=C.createDocument(me,"template",null);try{t.documentElement.innerHTML=ge?"":o}catch(A_t){}}var s=t.body||t.documentElement;return e&&n&&s.insertBefore(i.createTextNode(n),s.childNodes[0]||null),me===fe?x.call(t,Q?"html":"body")[0]:Q?t.documentElement:s},Re=function(e){return T.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},Ne=function(e){return e instanceof h&&("string"!==typeof e.nodeName||"string"!==typeof e.textContent||"function"!==typeof e.removeChild||!(e.attributes instanceof u)||"function"!==typeof e.removeAttribute||"function"!==typeof e.setAttribute||"string"!==typeof e.namespaceURI||"function"!==typeof e.insertBefore)},Le=function(e){return"object"===Pu(s)?e instanceof s:e&&"object"===Pu(e)&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName},Me=function(e,n,i){I[e]&&Ku(I[e],(function(e){e.call(t,n,i,ve)}))},Be=function(e){var n;if(Me("beforeSanitizeElements",e,null),Ne(e))return Ie(e),!0;if(ih(/[\u0080-\uFFFF]/,e.nodeName))return Ie(e),!0;var i=D(e.nodeName);if(Me("uponSanitizeElement",e,{tagName:i,allowedTags:z}),e.hasChildNodes()&&!Le(e.firstElementChild)&&(!Le(e.content)||!Le(e.content.firstElementChild))&&ih(/<[/\w]/g,e.innerHTML)&&ih(/<[/\w]/g,e.textContent))return Ie(e),!0;if("select"===i&&ih(/