@mapgis/cesium 17.2.3 → 17.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (703) hide show
  1. package/Documentation/AlgorithmLib.html +29 -29
  2. package/Documentation/AngulationTool.html +5 -5
  3. package/Documentation/Animation.html +7 -7
  4. package/Documentation/AnimationTool.html +41 -41
  5. package/Documentation/AnimationViewModel.html +23 -23
  6. package/Documentation/Appearance.html +10 -10
  7. package/Documentation/ArcGISTiledElevationTerrainProvider.html +13 -13
  8. package/Documentation/ArcGisMapServerImageryProvider.html +33 -33
  9. package/Documentation/AssociativeArray.html +8 -8
  10. package/Documentation/AttributeSurfacePrimitive.html +7 -7
  11. package/Documentation/AxisAlignedBoundingBox.html +11 -11
  12. package/Documentation/BaiduImageryProvider.html +29 -29
  13. package/Documentation/BaiduMapImagerProvider.html +1 -1
  14. package/Documentation/BaiduProjection.html +7 -7
  15. package/Documentation/BaseLayerPicker.html +5 -5
  16. package/Documentation/BaseLayerPickerViewModel.html +10 -10
  17. package/Documentation/Billboard.html +31 -31
  18. package/Documentation/BillboardCollection.html +17 -17
  19. package/Documentation/BillboardGraphics.html +25 -25
  20. package/Documentation/BillboardVisualizer.html +4 -4
  21. package/Documentation/BingMapsGeocoderService.html +4 -4
  22. package/Documentation/BingMapsImageryProvider.html +35 -35
  23. package/Documentation/BlendingState.html +5 -5
  24. package/Documentation/BloomEffect.html +12 -12
  25. package/Documentation/BoundingRectangle.html +18 -18
  26. package/Documentation/BoundingSphere.html +34 -34
  27. package/Documentation/BoxEmitter.html +2 -2
  28. package/Documentation/BoxGeometry.html +7 -7
  29. package/Documentation/BoxGeometryUpdater.html +3 -3
  30. package/Documentation/BoxGraphics.html +15 -15
  31. package/Documentation/BoxOutlineGeometry.html +7 -7
  32. package/Documentation/CallbackProperty.html +7 -7
  33. package/Documentation/Camera.html +80 -80
  34. package/Documentation/CameraEventAggregator.html +13 -13
  35. package/Documentation/Cartesian2.html +44 -44
  36. package/Documentation/Cartesian3.html +54 -54
  37. package/Documentation/Cartesian4.html +46 -46
  38. package/Documentation/Cartographic.html +16 -16
  39. package/Documentation/CartographicGeocoderService.html +2 -2
  40. package/Documentation/CatmullRomSpline.html +9 -9
  41. package/Documentation/Cesium3DTile.html +12 -12
  42. package/Documentation/Cesium3DTileContent.html +14 -14
  43. package/Documentation/Cesium3DTileCustomContent.html +1 -1
  44. package/Documentation/Cesium3DTileFeature.html +10 -10
  45. package/Documentation/Cesium3DTilePointFeature.html +33 -33
  46. package/Documentation/Cesium3DTileStyle.html +31 -31
  47. package/Documentation/Cesium3DTilesInspector.html +5 -5
  48. package/Documentation/Cesium3DTilesInspectorViewModel.html +70 -70
  49. package/Documentation/Cesium3DTileset.html +91 -91
  50. package/Documentation/Cesium3DTilesetGraphics.html +8 -8
  51. package/Documentation/Cesium3DTilesetVisualizer.html +4 -4
  52. package/Documentation/CesiumHeatmap.html +3 -3
  53. package/Documentation/CesiumInspector.html +5 -5
  54. package/Documentation/CesiumInspectorViewModel.html +52 -52
  55. package/Documentation/CesiumNavigation.html +1 -1
  56. package/Documentation/CesiumTerrainProvider.html +18 -18
  57. package/Documentation/CesiumWidget.html +20 -20
  58. package/Documentation/CheckerboardMaterialProperty.html +9 -9
  59. package/Documentation/CircleEmitter.html +3 -3
  60. package/Documentation/CircleGeometry.html +5 -5
  61. package/Documentation/CircleOutlineGeometry.html +5 -5
  62. package/Documentation/CircleScanEffect.html +1 -1
  63. package/Documentation/CircleWaveMaterialProperty.html +1 -1
  64. package/Documentation/ClassificationPrimitive.html +21 -21
  65. package/Documentation/ClippingGeometry.html +4 -4
  66. package/Documentation/ClippingPlane.html +5 -5
  67. package/Documentation/ClippingPlaneCollection.html +17 -17
  68. package/Documentation/Clock.html +12 -12
  69. package/Documentation/ClockViewModel.html +14 -14
  70. package/Documentation/CollisionDetectionByRender.html +10 -10
  71. package/Documentation/Color.html +185 -185
  72. package/Documentation/ColorGeometryInstanceAttribute.html +8 -8
  73. package/Documentation/ColorMaterialProperty.html +7 -7
  74. package/Documentation/Command.html +4 -4
  75. package/Documentation/CompositeEntityCollection.html +21 -21
  76. package/Documentation/CompositeMaterialProperty.html +7 -7
  77. package/Documentation/CompositePositionProperty.html +8 -8
  78. package/Documentation/CompositeProperty.html +6 -6
  79. package/Documentation/CompressedTextureBuffer.html +8 -8
  80. package/Documentation/ConditionsExpression.html +4 -4
  81. package/Documentation/ConeEmitter.html +1 -1
  82. package/Documentation/ConstantPositionProperty.html +8 -8
  83. package/Documentation/ConstantProperty.html +8 -8
  84. package/Documentation/CoplanarPolygonGeometry.html +6 -6
  85. package/Documentation/CoplanarPolygonOutlineGeometry.html +6 -6
  86. package/Documentation/CorridorGeometry.html +6 -6
  87. package/Documentation/CorridorGeometryUpdater.html +3 -3
  88. package/Documentation/CorridorGraphics.html +23 -23
  89. package/Documentation/CorridorOutlineGeometry.html +5 -5
  90. package/Documentation/Credit.html +7 -7
  91. package/Documentation/CreditDisplay.html +11 -11
  92. package/Documentation/CubicRealPolynomial.html +3 -3
  93. package/Documentation/CullingVolume.html +4 -4
  94. package/Documentation/CustomDataSource.html +11 -11
  95. package/Documentation/CustomHeightmapTerrainProvider.html +15 -15
  96. package/Documentation/CustomProjection.html +5 -5
  97. package/Documentation/CustomShader.html +1 -1
  98. package/Documentation/CustomTilingScheme.html +12 -12
  99. package/Documentation/CutFillAnalysis.html +17 -17
  100. package/Documentation/CuttingTool.html +152 -11
  101. package/Documentation/CylinderGeometry.html +5 -5
  102. package/Documentation/CylinderGeometryUpdater.html +3 -3
  103. package/Documentation/CylinderGraphics.html +19 -19
  104. package/Documentation/CylinderOutlineGeometry.html +5 -5
  105. package/Documentation/CzmlDataSource.html +22 -22
  106. package/Documentation/DataSource.html +11 -11
  107. package/Documentation/DataSourceClock.html +12 -12
  108. package/Documentation/DataSourceCollection.html +18 -18
  109. package/Documentation/DataSourceDisplay.html +10 -10
  110. package/Documentation/DebugAppearance.html +12 -12
  111. package/Documentation/DebugCameraPrimitive.html +5 -5
  112. package/Documentation/DebugModelMatrixPrimitive.html +8 -8
  113. package/Documentation/DefaultProxy.html +2 -2
  114. package/Documentation/DeveloperError.html +4 -4
  115. package/Documentation/DirectionalLight.html +4 -4
  116. package/Documentation/DiscardEmptyTileImagePolicy.html +4 -4
  117. package/Documentation/DiscardMissingTileImagePolicy.html +3 -3
  118. package/Documentation/DistanceDisplayCondition.html +10 -10
  119. package/Documentation/DistanceDisplayConditionGeometryInstanceAttribute.html +7 -7
  120. package/Documentation/DrawElement.html +9 -9
  121. package/Documentation/DrawTool.html +4 -4
  122. package/Documentation/DynamicEntityVisualizer.html +1 -1
  123. package/Documentation/DynamicLightLineEffect.html +13 -13
  124. package/Documentation/EasingFunction.html +33 -33
  125. package/Documentation/EditTool.html +15 -15
  126. package/Documentation/EllipseGeometry.html +6 -6
  127. package/Documentation/EllipseGeometryUpdater.html +4 -4
  128. package/Documentation/EllipseGraphics.html +25 -25
  129. package/Documentation/EllipseOutlineGeometry.html +5 -5
  130. package/Documentation/Ellipsoid.html +34 -34
  131. package/Documentation/EllipsoidGeodesic.html +10 -10
  132. package/Documentation/EllipsoidGeometry.html +5 -5
  133. package/Documentation/EllipsoidGeometryUpdater.html +3 -3
  134. package/Documentation/EllipsoidGraphics.html +23 -23
  135. package/Documentation/EllipsoidOutlineGeometry.html +5 -5
  136. package/Documentation/EllipsoidRhumbLine.html +12 -12
  137. package/Documentation/EllipsoidSurfaceAppearance.html +15 -15
  138. package/Documentation/EllipsoidTangentPlane.html +14 -14
  139. package/Documentation/EllipsoidTerrainProvider.html +13 -13
  140. package/Documentation/Entity.html +40 -40
  141. package/Documentation/EntityCluster.html +11 -11
  142. package/Documentation/EntityCollection.html +17 -17
  143. package/Documentation/EntityView.html +7 -7
  144. package/Documentation/Event.html +6 -6
  145. package/Documentation/EventHelper.html +4 -4
  146. package/Documentation/Expression.html +4 -4
  147. package/Documentation/FeatureDetection.html +9 -9
  148. package/Documentation/FlattenTool.html +3 -3
  149. package/Documentation/FloodAnalysis.html +16 -16
  150. package/Documentation/FloodAnalysisReflection.html +9 -9
  151. package/Documentation/Fog.html +5 -5
  152. package/Documentation/FrameRateMonitor.html +16 -16
  153. package/Documentation/FrustumGeometry.html +5 -5
  154. package/Documentation/FrustumOutlineGeometry.html +5 -5
  155. package/Documentation/Fullscreen.html +9 -9
  156. package/Documentation/FullscreenButton.html +5 -5
  157. package/Documentation/FullscreenButtonViewModel.html +8 -8
  158. package/Documentation/GaodeImageryProvider.html +29 -29
  159. package/Documentation/GaodeProjection.html +7 -7
  160. package/Documentation/GeoJsonDataSource.html +27 -27
  161. package/Documentation/Geocoder.html +7 -7
  162. package/Documentation/GeocoderService.html +3 -3
  163. package/Documentation/GeocoderViewModel.html +14 -14
  164. package/Documentation/GeographicProjection.html +5 -5
  165. package/Documentation/GeographicTilingScheme.html +10 -10
  166. package/Documentation/Geometry.html +6 -6
  167. package/Documentation/GeometryAttribute.html +5 -5
  168. package/Documentation/GeometryAttributes.html +7 -7
  169. package/Documentation/GeometryFactory.html +2 -2
  170. package/Documentation/GeometryInstance.html +5 -5
  171. package/Documentation/GeometryInstanceAttribute.html +5 -5
  172. package/Documentation/GeometryPipeline.html +13 -13
  173. package/Documentation/GeometryUpdater.html +22 -22
  174. package/Documentation/GeometryVisualizer.html +4 -4
  175. package/Documentation/GetFeatureInfoFormat.html +1 -1
  176. package/Documentation/Globe.html +47 -47
  177. package/Documentation/GlobeEffect.html +8 -8
  178. package/Documentation/GlobeIndependentTranslucency.html +10 -10
  179. package/Documentation/GlobeTranslucency.html +7 -7
  180. package/Documentation/GoogleEarthEnterpriseImageryProvider.html +29 -29
  181. package/Documentation/GoogleEarthEnterpriseMapsProvider.html +34 -34
  182. package/Documentation/GoogleEarthEnterpriseMetadata.html +14 -14
  183. package/Documentation/GoogleEarthEnterpriseTerrainData.html +7 -7
  184. package/Documentation/GoogleEarthEnterpriseTerrainProvider.html +15 -15
  185. package/Documentation/GoogleMapImageryProvider.html +1 -1
  186. package/Documentation/Graphic.html +31 -31
  187. package/Documentation/GraphicTransformTool.html +7 -7
  188. package/Documentation/GraphicsLayer.html +27 -27
  189. package/Documentation/GregorianDate.html +9 -9
  190. package/Documentation/GridImageryProvider.html +30 -30
  191. package/Documentation/GridMaterialProperty.html +11 -11
  192. package/Documentation/GroundGeometryUpdater.html +3 -3
  193. package/Documentation/GroundPolylineGeometry.html +7 -7
  194. package/Documentation/GroundPolylinePrimitive.html +19 -19
  195. package/Documentation/GroundPrimitive.html +24 -24
  196. package/Documentation/GroundPrimitiveRectangleGenerater.html +3 -3
  197. package/Documentation/HashMap.html +12 -12
  198. package/Documentation/HeadingPitchRange.html +5 -5
  199. package/Documentation/HeadingPitchRoll.html +13 -13
  200. package/Documentation/HeightLimited.html +4 -4
  201. package/Documentation/HeightModelEffect.html +8 -8
  202. package/Documentation/HeightmapTerrainData.html +7 -7
  203. package/Documentation/HermitePolynomialApproximation.html +4 -4
  204. package/Documentation/HermiteSpline.html +12 -12
  205. package/Documentation/HilbertOrder.html +1 -1
  206. package/Documentation/HomeButton.html +5 -5
  207. package/Documentation/HomeButtonViewModel.html +5 -5
  208. package/Documentation/ImageMaterialProperty.html +10 -10
  209. package/Documentation/ImageryLayer.html +34 -34
  210. package/Documentation/ImageryLayerCollection.html +25 -25
  211. package/Documentation/ImageryLayerFeatureInfo.html +8 -8
  212. package/Documentation/ImageryProvider.html +29 -29
  213. package/Documentation/ImprovedNoise.html +1 -1
  214. package/Documentation/InfoBox.html +6 -6
  215. package/Documentation/InfoBoxViewModel.html +11 -11
  216. package/Documentation/IntersectionTests.html +11 -11
  217. package/Documentation/Intersections2D.html +4 -4
  218. package/Documentation/Interval.html +3 -3
  219. package/Documentation/Ion.html +3 -3
  220. package/Documentation/IonGeocoderService.html +2 -2
  221. package/Documentation/IonImageryProvider.html +28 -28
  222. package/Documentation/IonResource.html +39 -39
  223. package/Documentation/Iso8601.html +4 -4
  224. package/Documentation/JulianDate.html +31 -31
  225. package/Documentation/KeyboardCameraController.html +10 -10
  226. package/Documentation/KmlCamera.html +1 -1
  227. package/Documentation/KmlDataSource.html +20 -20
  228. package/Documentation/KmlFeatureData.html +9 -9
  229. package/Documentation/KmlLookAt.html +1 -1
  230. package/Documentation/KmlTour.html +12 -12
  231. package/Documentation/KmlTourFlyTo.html +5 -5
  232. package/Documentation/KmlTourWait.html +4 -4
  233. package/Documentation/Label.html +30 -30
  234. package/Documentation/LabelCollection.html +15 -15
  235. package/Documentation/LabelGraphics.html +26 -26
  236. package/Documentation/LabelVisualizer.html +4 -4
  237. package/Documentation/LagrangePolynomialApproximation.html +3 -3
  238. package/Documentation/Layers.html +56 -56
  239. package/Documentation/LeapSecond.html +3 -3
  240. package/Documentation/Light.html +3 -3
  241. package/Documentation/LineScanEffect.html +6 -6
  242. package/Documentation/LinearApproximation.html +3 -3
  243. package/Documentation/LinearSpline.html +7 -7
  244. package/Documentation/LonlatProjection.html +4 -4
  245. package/Documentation/M3DTree.html +11 -11
  246. package/Documentation/MapGIS3DTile.html +12 -12
  247. package/Documentation/MapGIS3DTileFeature.html +10 -10
  248. package/Documentation/MapGIS3DTileset.html +86 -86
  249. package/Documentation/MapGISCustomImageryProvider.html +29 -29
  250. package/Documentation/MapGISFeatureGeojsonProvider.html +9 -9
  251. package/Documentation/MapGISFeatureLayer.html +52 -52
  252. package/Documentation/MapGISFeatureProvider.html +9 -9
  253. package/Documentation/MapGISFeatureTilePrimitiveCollection.html +16 -16
  254. package/Documentation/MapGISGeojsonLayer.html +38 -38
  255. package/Documentation/MapGISGeojsonProvider.html +8 -8
  256. package/Documentation/MapGISGeojsonTilePrimitiveCollection.html +16 -16
  257. package/Documentation/MapGISLabelLayer.html +18 -18
  258. package/Documentation/MapGISM3D.html +13 -13
  259. package/Documentation/MapGISM3DSet.html +250 -124
  260. package/Documentation/MapGISM3DTileContent.html +3 -3
  261. package/Documentation/MapGISMapServerImageryProvider.html +4 -4
  262. package/Documentation/MapGISTerrainProvider.html +22 -22
  263. package/Documentation/MapGISTileAvailability.html +6 -6
  264. package/Documentation/MapGISTileServerImageProvider.html +5 -5
  265. package/Documentation/MapGISVectorGeojsonProvider.html +9 -9
  266. package/Documentation/MapGISVectorLayer.html +50 -50
  267. package/Documentation/MapGISVectorProvider.html +9 -9
  268. package/Documentation/MapGISVectorTilePrimitiveCollection.html +16 -16
  269. package/Documentation/MapProjection.html +4 -4
  270. package/Documentation/MapboxImageryProvider.html +29 -29
  271. package/Documentation/MapboxStyleImageryProvider.html +29 -29
  272. package/Documentation/Material.html +44 -44
  273. package/Documentation/MaterialAppearance.MaterialSupport.html +4 -4
  274. package/Documentation/MaterialAppearance.html +15 -15
  275. package/Documentation/MaterialProperty.html +6 -6
  276. package/Documentation/Math.html +76 -76
  277. package/Documentation/Matrix2.html +41 -41
  278. package/Documentation/Matrix3.html +56 -56
  279. package/Documentation/Matrix4.html +76 -76
  280. package/Documentation/MeasureAreaTool.html +1 -1
  281. package/Documentation/MeasureLengthTool.html +7 -7
  282. package/Documentation/MeasureSlopeTool.html +5 -5
  283. package/Documentation/Model.html +51 -51
  284. package/Documentation/ModelAnimation.html +12 -12
  285. package/Documentation/ModelAnimationCollection.html +10 -10
  286. package/Documentation/ModelEditor.html +1 -1
  287. package/Documentation/ModelExplosion.html +15 -15
  288. package/Documentation/ModelFilterTool.html +5 -5
  289. package/Documentation/ModelGraphics.html +26 -26
  290. package/Documentation/ModelMaterial.html +5 -5
  291. package/Documentation/ModelMesh.html +4 -4
  292. package/Documentation/ModelNode.html +6 -6
  293. package/Documentation/ModelTransformTool.html +16 -16
  294. package/Documentation/ModelVisualizer.html +4 -4
  295. package/Documentation/Moon.html +7 -7
  296. package/Documentation/NavigationControl.html +1 -1
  297. package/Documentation/NavigationHelpButton.html +5 -5
  298. package/Documentation/NavigationHelpButtonViewModel.html +6 -6
  299. package/Documentation/NavigationTool.html +2 -2
  300. package/Documentation/NearFarScalar.html +12 -12
  301. package/Documentation/NeverTileDiscardPolicy.html +3 -3
  302. package/Documentation/NodeTransformationProperty.html +8 -8
  303. package/Documentation/Occluder.html +10 -10
  304. package/Documentation/OpenCageGeocoderService.html +4 -4
  305. package/Documentation/OpenStreetMapImageryProvider.html +34 -34
  306. package/Documentation/OpenWeatherImageryProvider.html +2 -2
  307. package/Documentation/OrientedBoundingBox.html +20 -20
  308. package/Documentation/OrthographicFrustum.html +14 -14
  309. package/Documentation/OrthographicOffCenterFrustum.html +13 -13
  310. package/Documentation/PackableForInterpolation.html +4 -4
  311. package/Documentation/Particle.html +13 -13
  312. package/Documentation/ParticleBurst.html +5 -5
  313. package/Documentation/ParticleEmitter.html +1 -1
  314. package/Documentation/ParticleSystem.html +29 -29
  315. package/Documentation/PathGraphics.html +12 -12
  316. package/Documentation/PathVisualizer.html +4 -4
  317. package/Documentation/PeliasGeocoderService.html +3 -3
  318. package/Documentation/PerInstanceColorAppearance.html +15 -15
  319. package/Documentation/PerformanceWatchdog.html +5 -5
  320. package/Documentation/PerformanceWatchdogViewModel.html +6 -6
  321. package/Documentation/PerspectiveFrustum.html +18 -18
  322. package/Documentation/PerspectiveOffCenterFrustum.html +14 -14
  323. package/Documentation/PinBuilder.html +5 -5
  324. package/Documentation/Plane.html +13 -13
  325. package/Documentation/PlaneGeometry.html +5 -5
  326. package/Documentation/PlaneGeometryUpdater.html +3 -3
  327. package/Documentation/PlaneGraphics.html +15 -15
  328. package/Documentation/PlaneOutlineGeometry.html +5 -5
  329. package/Documentation/PointCloudShading.html +11 -11
  330. package/Documentation/PointGraphics.html +15 -15
  331. package/Documentation/PointPrimitive.html +14 -14
  332. package/Documentation/PointPrimitiveCollection.html +15 -15
  333. package/Documentation/PointVisualizer.html +4 -4
  334. package/Documentation/PolygonGeometry.html +8 -8
  335. package/Documentation/PolygonGeometryUpdater.html +3 -3
  336. package/Documentation/PolygonGraphics.html +26 -26
  337. package/Documentation/PolygonHierarchy.html +3 -3
  338. package/Documentation/PolygonOutlineGeometry.html +6 -6
  339. package/Documentation/Polyline.html +8 -8
  340. package/Documentation/PolylineArrowMaterialProperty.html +7 -7
  341. package/Documentation/PolylineCollection.html +15 -15
  342. package/Documentation/PolylineColorAppearance.html +12 -12
  343. package/Documentation/PolylineDashMaterialProperty.html +10 -10
  344. package/Documentation/PolylineGeometry.html +5 -5
  345. package/Documentation/PolylineGeometryUpdater.html +25 -25
  346. package/Documentation/PolylineGlowMaterialProperty.html +9 -9
  347. package/Documentation/PolylineGraphics.html +17 -17
  348. package/Documentation/PolylineMaterialAppearance.html +12 -12
  349. package/Documentation/PolylineOutlineMaterialProperty.html +9 -9
  350. package/Documentation/PolylineTrailLinkMaterialProperty.html +1 -1
  351. package/Documentation/PolylineVisualizer.html +4 -4
  352. package/Documentation/PolylineVolumeAnimationGeometry.html +14 -14
  353. package/Documentation/PolylineVolumeGeometry.html +5 -5
  354. package/Documentation/PolylineVolumeGeometryUpdater.html +3 -3
  355. package/Documentation/PolylineVolumeGraphics.html +17 -17
  356. package/Documentation/PolylineVolumeOutlineGeometry.html +5 -5
  357. package/Documentation/PositionProperty.html +7 -7
  358. package/Documentation/PositionPropertyArray.html +8 -8
  359. package/Documentation/PostProcessStage.html +16 -16
  360. package/Documentation/PostProcessStageCollection.html +13 -13
  361. package/Documentation/PostProcessStageComposite.html +11 -11
  362. package/Documentation/PostProcessStageLibrary.html +15 -15
  363. package/Documentation/Primitive.html +22 -22
  364. package/Documentation/PrimitiveCollection.html +15 -15
  365. package/Documentation/ProjectionPicker.html +5 -5
  366. package/Documentation/ProjectionPickerViewModel.html +13 -13
  367. package/Documentation/Property.html +5 -5
  368. package/Documentation/PropertyArray.html +6 -6
  369. package/Documentation/PropertyBag.html +10 -10
  370. package/Documentation/ProviderViewModel.html +7 -7
  371. package/Documentation/Proxy.html +2 -2
  372. package/Documentation/QuadraticRealPolynomial.html +3 -3
  373. package/Documentation/QuantizedMeshTerrainData.html +7 -7
  374. package/Documentation/QuarticRealPolynomial.html +3 -3
  375. package/Documentation/Quaternion.html +45 -45
  376. package/Documentation/QuaternionSpline.html +7 -7
  377. package/Documentation/Queue.html +9 -9
  378. package/Documentation/RadarMaterialProperty.html +1 -1
  379. package/Documentation/RadarScanEffect.html +3 -3
  380. package/Documentation/Ray.html +5 -5
  381. package/Documentation/ReImg.html +2 -2
  382. package/Documentation/Rectangle.html +35 -35
  383. package/Documentation/RectangleGeometry.html +6 -6
  384. package/Documentation/RectangleGeometryUpdater.html +3 -3
  385. package/Documentation/RectangleGraphics.html +23 -23
  386. package/Documentation/RectangleOutlineGeometry.html +5 -5
  387. package/Documentation/ReferenceProperty.html +13 -13
  388. package/Documentation/Request.html +14 -14
  389. package/Documentation/RequestErrorEvent.html +5 -5
  390. package/Documentation/RequestScheduler.html +5 -5
  391. package/Documentation/ResetViewNavigationControl.html +7 -7
  392. package/Documentation/Resource.html +54 -54
  393. package/Documentation/RoamParticle.html +25 -25
  394. package/Documentation/RuntimeError.html +4 -4
  395. package/Documentation/SampleElevationTool.html +2 -2
  396. package/Documentation/SampledPositionProperty.html +20 -20
  397. package/Documentation/SampledProperty.html +19 -19
  398. package/Documentation/Scene.html +115 -115
  399. package/Documentation/SceneLayer.html +31 -31
  400. package/Documentation/SceneModePicker.html +5 -5
  401. package/Documentation/SceneModePickerViewModel.html +15 -15
  402. package/Documentation/SceneProjector.html +30 -30
  403. package/Documentation/SceneProjectorEx.html +19 -19
  404. package/Documentation/SceneTransforms.html +3 -3
  405. package/Documentation/ScreenSpaceCameraController.html +25 -25
  406. package/Documentation/ScreenSpaceEventHandler.html +8 -8
  407. package/Documentation/SearchlightEffect.html +4 -4
  408. package/Documentation/SelectTool.html +4 -4
  409. package/Documentation/SelectionIndicator.html +5 -5
  410. package/Documentation/SelectionIndicatorViewModel.html +12 -12
  411. package/Documentation/ShadowAnalysis.html +12 -12
  412. package/Documentation/ShadowMap.html +8 -8
  413. package/Documentation/ShadowRateAnalysis.html +14 -14
  414. package/Documentation/ShowGeometryInstanceAttribute.html +6 -6
  415. package/Documentation/Simon1994PlanetaryPositions.html +3 -3
  416. package/Documentation/SimplePolylineGeometry.html +5 -5
  417. package/Documentation/SingleTileImageryProvider.html +29 -29
  418. package/Documentation/SkyAtmosphere.html +9 -9
  419. package/Documentation/SkyBox.html +6 -6
  420. package/Documentation/SkyLineAnalysis.html +3 -3
  421. package/Documentation/SphereEmitter.html +2 -2
  422. package/Documentation/SphereGeometry.html +5 -5
  423. package/Documentation/SphereOutlineGeometry.html +5 -5
  424. package/Documentation/Spherical.html +13 -13
  425. package/Documentation/Spline.html +7 -7
  426. package/Documentation/StableParticle.html +28 -28
  427. package/Documentation/StripeMaterialProperty.html +11 -11
  428. package/Documentation/Style.html +26 -26
  429. package/Documentation/StyleExpression.html +3 -3
  430. package/Documentation/Sun.html +5 -5
  431. package/Documentation/SunLight.html +3 -3
  432. package/Documentation/SvgPathBindingHandler.html +2 -2
  433. package/Documentation/TaskProcessor.html +5 -5
  434. package/Documentation/TerrainAnalyse.html +14 -14
  435. package/Documentation/TerrainData.html +7 -7
  436. package/Documentation/TerrainProfile.html +4 -4
  437. package/Documentation/TerrainProvider.html +16 -16
  438. package/Documentation/Texture3D.html +1 -1
  439. package/Documentation/ThemeManager.html +14 -14
  440. package/Documentation/TiandituImageryProvider.html +4 -4
  441. package/Documentation/TileAvailability.html +6 -6
  442. package/Documentation/TileCoordinatesImageryProvider.html +28 -28
  443. package/Documentation/TileDiscardPolicy.html +3 -3
  444. package/Documentation/TileMapServiceImageryProvider.html +34 -34
  445. package/Documentation/TileProviderError.html +12 -12
  446. package/Documentation/TilingScheme.html +10 -10
  447. package/Documentation/TimeDynamicImagery.html +6 -6
  448. package/Documentation/TimeDynamicPointCloud.html +16 -16
  449. package/Documentation/TimeInterval.html +21 -21
  450. package/Documentation/TimeIntervalCollection.html +23 -23
  451. package/Documentation/TimeIntervalCollectionPositionProperty.html +8 -8
  452. package/Documentation/TimeIntervalCollectionProperty.html +6 -6
  453. package/Documentation/Timeline.html +6 -6
  454. package/Documentation/ToggleButtonViewModel.html +4 -4
  455. package/Documentation/Tooltip.html +5 -5
  456. package/Documentation/TransactionImplement.html +5 -5
  457. package/Documentation/Transforms.html +16 -16
  458. package/Documentation/TranslationRotationScale.html +5 -5
  459. package/Documentation/TriangulationTool.html +8 -8
  460. package/Documentation/TridiagonalSystemSolver.html +2 -2
  461. package/Documentation/TrustedServers.html +5 -5
  462. package/Documentation/UrlTemplateImageryProvider.html +34 -34
  463. package/Documentation/UserInterfaceControl.html +10 -10
  464. package/Documentation/VRButton.html +5 -5
  465. package/Documentation/VRButtonViewModel.html +8 -8
  466. package/Documentation/VRTheWorldTerrainProvider.html +13 -13
  467. package/Documentation/VelocityOrientationProperty.html +7 -7
  468. package/Documentation/VelocityVectorProperty.html +7 -7
  469. package/Documentation/VertexFormat.html +18 -18
  470. package/Documentation/VideoSynchronizer.html +7 -7
  471. package/Documentation/Viewer.html +56 -56
  472. package/Documentation/ViewportQuad.html +7 -7
  473. package/Documentation/ViewshedAnalysis.html +13 -13
  474. package/Documentation/VisiblityAnalysis.html +13 -13
  475. package/Documentation/VisualAnalysisManager.html +9 -9
  476. package/Documentation/Visualizer.html +4 -4
  477. package/Documentation/VoxelCell.html +566 -0
  478. package/Documentation/VoxelPrimitive.html +9 -9
  479. package/Documentation/WallGeometry.html +6 -6
  480. package/Documentation/WallGeometryUpdater.html +3 -3
  481. package/Documentation/WallGraphics.html +17 -17
  482. package/Documentation/WallOutlineGeometry.html +6 -6
  483. package/Documentation/WaterReflection.html +9 -9
  484. package/Documentation/WeatherEffect.html +8 -8
  485. package/Documentation/WebMapServiceImageryProvider.html +36 -36
  486. package/Documentation/WebMapTileServiceImageryProvider.html +33 -33
  487. package/Documentation/WebMercatorProjection.html +8 -8
  488. package/Documentation/WebMercatorTilingScheme.html +10 -10
  489. package/Documentation/WeightSpline.html +7 -7
  490. package/Documentation/WfsProvider.html +9 -9
  491. package/Documentation/Wind3D.html +13 -13
  492. package/Documentation/WindowLightEffect.html +4 -4
  493. package/Documentation/ZoomNavigationControl.html +5 -5
  494. package/Documentation/global.html +140 -140
  495. package/Documentation/global.html#ArcType +4 -4
  496. package/Documentation/global.html#Axis +11 -11
  497. package/Documentation/global.html#BaiduProject +19 -19
  498. package/Documentation/global.html#BingMapsStyle +11 -11
  499. package/Documentation/global.html#BlendEquation +6 -6
  500. package/Documentation/global.html#BlendFunction +16 -16
  501. package/Documentation/global.html#BlendOption +4 -4
  502. package/Documentation/global.html#CameraEventType +6 -6
  503. package/Documentation/global.html#Cesium3DTileColorBlendMode +4 -4
  504. package/Documentation/global.html#ClassificationType +4 -4
  505. package/Documentation/global.html#ClippingGeometryType +8 -8
  506. package/Documentation/global.html#ClockRange +4 -4
  507. package/Documentation/global.html#ClockStep +4 -4
  508. package/Documentation/global.html#ColorBlendMode +4 -4
  509. package/Documentation/global.html#ComponentDatatype +15 -15
  510. package/Documentation/global.html#CoordnateTransform +6 -6
  511. package/Documentation/global.html#CornerType +4 -4
  512. package/Documentation/global.html#CullFace +4 -4
  513. package/Documentation/global.html#DepthFunction +9 -9
  514. package/Documentation/global.html#ExtrapolationType +4 -4
  515. package/Documentation/global.html#GeocodeType +3 -3
  516. package/Documentation/global.html#HeightReference +4 -4
  517. package/Documentation/global.html#HeightmapEncoding +3 -3
  518. package/Documentation/global.html#HorizontalOrigin +4 -4
  519. package/Documentation/global.html#ImagerySplitDirection +4 -4
  520. package/Documentation/global.html#IndexDatatype +9 -9
  521. package/Documentation/global.html#InterceptorsUtil +1 -1
  522. package/Documentation/global.html#Intersect +4 -4
  523. package/Documentation/global.html#IonWorldImageryStyle +4 -4
  524. package/Documentation/global.html#KeyboardEventModifier +4 -4
  525. package/Documentation/global.html#LabelStyle +4 -4
  526. package/Documentation/global.html#LightingMode +3 -3
  527. package/Documentation/global.html#MapGISCustomTilingScheme +16 -16
  528. package/Documentation/global.html#MapMode2D +3 -3
  529. package/Documentation/global.html#ModelAnimationLoop +4 -4
  530. package/Documentation/global.html#ModelExplosionType +5 -5
  531. package/Documentation/global.html#OutlineRenderMode +4 -4
  532. package/Documentation/global.html#Pass +17 -17
  533. package/Documentation/global.html#PixelDatatype +10 -10
  534. package/Documentation/global.html#PixelFormat +21 -21
  535. package/Documentation/global.html#PointLight +1 -1
  536. package/Documentation/global.html#PostProcessStageSampleMode +3 -3
  537. package/Documentation/global.html#PrimitiveType +8 -8
  538. package/Documentation/global.html#ReferenceFrame +3 -3
  539. package/Documentation/global.html#RequestState +7 -7
  540. package/Documentation/global.html#RequestType +5 -5
  541. package/Documentation/global.html#SceneMode +6 -6
  542. package/Documentation/global.html#ScreenSpaceEventType +16 -16
  543. package/Documentation/global.html#SectionRender +1 -1
  544. package/Documentation/global.html#ShadowMode +5 -5
  545. package/Documentation/global.html#ShadowRateDrawCommand +3 -3
  546. package/Documentation/global.html#SpotLight +1 -1
  547. package/Documentation/global.html#Spyglass +1 -1
  548. package/Documentation/global.html#StencilFunction +9 -9
  549. package/Documentation/global.html#StencilOperation +9 -9
  550. package/Documentation/global.html#StripeOrientation +3 -3
  551. package/Documentation/global.html#SwipeModeType +7 -7
  552. package/Documentation/global.html#SwiperController +1 -1
  553. package/Documentation/global.html#TextureMagnificationFilter +3 -3
  554. package/Documentation/global.html#TextureMinificationFilter +7 -7
  555. package/Documentation/global.html#TimeStandard +3 -3
  556. package/Documentation/global.html#TopoJSONUtil +1 -1
  557. package/Documentation/global.html#UrlUtil +1 -1
  558. package/Documentation/global.html#VerticalOrigin +5 -5
  559. package/Documentation/global.html#Visibility +4 -4
  560. package/Documentation/global.html#WebGLConstants +583 -583
  561. package/Documentation/global.html#WindingOrder +3 -3
  562. package/Documentation/global.html#XmlUtil +2 -2
  563. package/Documentation/global.html#angle +1 -1
  564. package/Documentation/global.html#barycentricCoordinates +1 -1
  565. package/Documentation/global.html#binarySearch +1 -1
  566. package/Documentation/global.html#binarySearchComparator +1 -1
  567. package/Documentation/global.html#buildModuleUrl +3 -3
  568. package/Documentation/global.html#cancelAnimationFrame +1 -1
  569. package/Documentation/global.html#clippingFillImage +1 -1
  570. package/Documentation/global.html#clone +1 -1
  571. package/Documentation/global.html#color +3 -3
  572. package/Documentation/global.html#combine +1 -1
  573. package/Documentation/global.html#combineColorStops +150 -0
  574. package/Documentation/global.html#contentReadyCb +150 -0
  575. package/Documentation/global.html#createCommand +1 -1
  576. package/Documentation/global.html#createElevationBandMaterial +1 -1
  577. package/Documentation/global.html#createElevationBandMaterialBand +1 -1
  578. package/Documentation/global.html#createElevationBandMaterialEntry +1 -1
  579. package/Documentation/global.html#createGuid +1 -1
  580. package/Documentation/global.html#createLinearGradientCanvas +150 -0
  581. package/Documentation/global.html#createOsmBuildings +1 -1
  582. package/Documentation/global.html#createTangentSpaceDebugPrimitive +1 -1
  583. package/Documentation/global.html#createValues +150 -0
  584. package/Documentation/global.html#createVoxelContent +150 -0
  585. package/Documentation/global.html#createWorldImagery +1 -1
  586. package/Documentation/global.html#createWorldTerrain +1 -1
  587. package/Documentation/global.html#decay +2 -2
  588. package/Documentation/global.html#defaultValue +2 -2
  589. package/Documentation/global.html#defined +1 -1
  590. package/Documentation/global.html#destroyObject +1 -1
  591. package/Documentation/global.html#direction +2 -2
  592. package/Documentation/global.html#distance +2 -2
  593. package/Documentation/global.html#enableExplosion +1 -1
  594. package/Documentation/global.html#exportKml +1 -1
  595. package/Documentation/global.html#exportKmlModelCallback +1 -1
  596. package/Documentation/global.html#exportKmlResultKml +1 -1
  597. package/Documentation/global.html#exportKmlResultKmz +1 -1
  598. package/Documentation/global.html#formatError +1 -1
  599. package/Documentation/global.html#getAbsoluteUri +1 -1
  600. package/Documentation/global.html#getBaseUri +1 -1
  601. package/Documentation/global.html#getExtensionFromUri +1 -1
  602. package/Documentation/global.html#getFilenameFromUri +1 -1
  603. package/Documentation/global.html#getImagePixels +1 -1
  604. package/Documentation/global.html#getTimestamp +1 -1
  605. package/Documentation/global.html#getViewModel +1 -1
  606. package/Documentation/global.html#getVoxelAttUrl +274 -0
  607. package/Documentation/global.html#hasText +1 -1
  608. package/Documentation/global.html#id +3 -3
  609. package/Documentation/global.html#intensity +3 -3
  610. package/Documentation/global.html#isLeapYear +1 -1
  611. package/Documentation/global.html#mergeSort +1 -1
  612. package/Documentation/global.html#mergeSortComparator +1 -1
  613. package/Documentation/global.html#objectToQuery +1 -1
  614. package/Documentation/global.html#parseVoxelStyles +150 -0
  615. package/Documentation/global.html#penumbra +1 -1
  616. package/Documentation/global.html#pointInsideTriangle +1 -1
  617. package/Documentation/global.html#position +2 -2
  618. package/Documentation/global.html#queryToObject +1 -1
  619. package/Documentation/global.html#requestAnimationFrame +1 -1
  620. package/Documentation/global.html#requestAnimationFrameCallback +1 -1
  621. package/Documentation/global.html#sampleTerrain +1 -1
  622. package/Documentation/global.html#sampleTerrainMostDetailed +1 -1
  623. package/Documentation/global.html#show +1 -1
  624. package/Documentation/global.html#startTime +1 -1
  625. package/Documentation/global.html#subdivideArray +1 -1
  626. package/Documentation/global.html#terrainProvider +1 -1
  627. package/Documentation/global.html#typeArrays +162 -0
  628. package/Documentation/global.html#updateTime +150 -0
  629. package/Documentation/global.html#viewerCesium3DTilesInspectorMixin +1 -1
  630. package/Documentation/global.html#viewerCesiumInspectorMixin +1 -1
  631. package/Documentation/global.html#viewerDragDropMixin +8 -8
  632. package/Documentation/global.html#viewerPerformanceWatchdogMixin +1 -1
  633. package/Documentation/global.html#writeTextToCanvas +1 -1
  634. package/Documentation/types.txt +1 -1
  635. package/README.md +26 -0
  636. package/dist/Cesium.js +19 -31
  637. package/dist/Workers/AxisAlignedBoundingBox-9c01642b.js +1 -0
  638. package/dist/Workers/BoundingRectangle-5a740234.js +1 -0
  639. package/dist/Workers/BoxGeometry-3318157c.js +1 -0
  640. package/dist/Workers/Color-7daaba04.js +1 -0
  641. package/dist/Workers/CoplanarPolygonGeometryLibrary-97ba18e3.js +1 -0
  642. package/dist/Workers/CorridorGeometryLibrary-bdd6155c.js +1 -0
  643. package/dist/Workers/CylinderGeometry-7205275f.js +1 -0
  644. package/dist/Workers/EllipseGeometry-6a90035b.js +1 -0
  645. package/dist/Workers/EllipseGeometryLibrary-c242429c.js +1 -0
  646. package/dist/Workers/EllipseOutlineGeometry-bc6638f3.js +1 -0
  647. package/dist/Workers/EllipsoidGeometry-f9bf5c2c.js +1 -0
  648. package/dist/Workers/EllipsoidOutlineGeometry-05541945.js +1 -0
  649. package/dist/Workers/EllipsoidTangentPlane-4a503a7a.js +1 -0
  650. package/dist/Workers/FrustumGeometry-30e754b7.js +1 -0
  651. package/dist/Workers/GeometryAttribute-3dd6da35.js +1 -0
  652. package/dist/Workers/GeometryPipeline-990a755f.js +1 -0
  653. package/dist/Workers/IntersectionTests-60f10d18.js +1 -0
  654. package/dist/Workers/OrientedBoundingBox-f3e4df94.js +1 -0
  655. package/dist/Workers/PolygonGeometryLibrary-4ad4f4a2.js +1 -0
  656. package/dist/Workers/PolygonPipeline-832a906c.js +1 -0
  657. package/dist/Workers/PolylinePipeline-83139cb3.js +1 -0
  658. package/dist/Workers/PolylineVolumeGeometryLibrary-897b738e.js +1 -0
  659. package/dist/Workers/PrimitivePipeline-7f47a42a.js +1 -0
  660. package/dist/Workers/RectangleGeometryLibrary-3de7d882.js +1 -0
  661. package/dist/Workers/TerrainEncoding-11b6c30f.js +1 -0
  662. package/dist/Workers/Transforms-c1a1d063.js +1 -0
  663. package/dist/Workers/WallGeometryLibrary-7d64d7fc.js +1 -0
  664. package/dist/Workers/combineGeometry.js +1 -1
  665. package/dist/Workers/createBoxGeometry.js +1 -1
  666. package/dist/Workers/createBoxOutlineGeometry.js +1 -1
  667. package/dist/Workers/createCircleGeometry.js +1 -1
  668. package/dist/Workers/createCircleOutlineGeometry.js +1 -1
  669. package/dist/Workers/createCoplanarPolygonGeometry.js +1 -1
  670. package/dist/Workers/createCoplanarPolygonOutlineGeometry.js +1 -1
  671. package/dist/Workers/createCorridorGeometry.js +1 -1
  672. package/dist/Workers/createCorridorOutlineGeometry.js +1 -1
  673. package/dist/Workers/createCylinderGeometry.js +1 -1
  674. package/dist/Workers/createCylinderOutlineGeometry.js +1 -1
  675. package/dist/Workers/createEllipseGeometry.js +1 -1
  676. package/dist/Workers/createEllipseOutlineGeometry.js +1 -1
  677. package/dist/Workers/createEllipsoidGeometry.js +1 -1
  678. package/dist/Workers/createEllipsoidOutlineGeometry.js +1 -1
  679. package/dist/Workers/createFrustumGeometry.js +1 -1
  680. package/dist/Workers/createFrustumOutlineGeometry.js +1 -1
  681. package/dist/Workers/createGeometry.js +1 -1
  682. package/dist/Workers/createGroundPolylineGeometry.js +1 -1
  683. package/dist/Workers/createPlaneGeometry.js +1 -1
  684. package/dist/Workers/createPlaneOutlineGeometry.js +1 -1
  685. package/dist/Workers/createPolygonGeometry.js +1 -1
  686. package/dist/Workers/createPolygonOutlineGeometry.js +1 -1
  687. package/dist/Workers/createPolylineGeometry.js +1 -1
  688. package/dist/Workers/createPolylineVolumeGeometry.js +1 -1
  689. package/dist/Workers/createPolylineVolumeOutlineGeometry.js +1 -1
  690. package/dist/Workers/createRectangleGeometry.js +1 -1
  691. package/dist/Workers/createRectangleOutlineGeometry.js +1 -1
  692. package/dist/Workers/createSimplePolylineGeometry.js +1 -1
  693. package/dist/Workers/createSphereGeometry.js +1 -1
  694. package/dist/Workers/createSphereOutlineGeometry.js +1 -1
  695. package/dist/Workers/createVectorTileGeometries.js +1 -1
  696. package/dist/Workers/createVectorTilePolygons.js +1 -1
  697. package/dist/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +1 -1
  698. package/dist/Workers/createVerticesFromHeightmap.js +1 -1
  699. package/dist/Workers/createVerticesFromQuantizedTerrainMesh.js +1 -1
  700. package/dist/Workers/createWallGeometry.js +1 -1
  701. package/dist/Workers/createWallOutlineGeometry.js +1 -1
  702. package/dist/Workers/upsampleQuantizedTerrainMesh.js +1 -1
  703. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ define(["exports","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./when-ae2e0b60","./ComponentDatatype-b7b5db18","./combine-276652d0"],function(e,q,y,M,c,N){function F(e){this._ellipsoid=M.defaultValue(e,q.Ellipsoid.WGS84),this._semimajorAxis=this._ellipsoid.maximumRadius,this._oneOverSemimajorAxis=1/this._semimajorAxis}Object.defineProperties(F.prototype,{ellipsoid:{get:function(){return this._ellipsoid}}}),F.prototype.project=function(e,t){var n=this._semimajorAxis,r=e.longitude*n,n=e.latitude*n,e=e.height;return M.defined(t)?(t.x=r,t.y=n,t.z=e,t):new q.Cartesian3(r,n,e)},F.prototype.unproject=function(e,t){var n=this._oneOverSemimajorAxis,r=e.x*n,n=e.y*n,e=e.z;return M.defined(t)?(t.longitude=r,t.latitude=n,t.height=e,t):new q.Cartographic(r,n,e)},F.prototype.isGeographic=function(){return!0};var z=Object.freeze({OUTSIDE:-1,INTERSECTING:0,INSIDE:1});function B(e,t){this.start=M.defaultValue(e,0),this.stop=M.defaultValue(t,0)}function T(e,t){this.center=q.Cartesian3.clone(M.defaultValue(e,q.Cartesian3.ZERO)),this.radius=M.defaultValue(t,0)}for(var V=new q.Cartesian3,k=new q.Cartesian3,L=new q.Cartesian3,j=new q.Cartesian3,W=new q.Cartesian3,Y=new q.Cartesian3,H=new q.Cartesian3,I=new q.Cartesian3,J=new q.Cartesian3,X=new q.Cartesian3,G=new q.Cartesian3,Z=new q.Cartesian3,Q=4/3*c.CesiumMath.PI,K=(T.fromPoints=function(e,t){if(M.defined(t)||(t=new T),M.defined(e)&&0!==e.length){for(var n=q.Cartesian3.clone(e[0],H),r=q.Cartesian3.clone(n,V),a=q.Cartesian3.clone(n,k),i=q.Cartesian3.clone(n,L),s=q.Cartesian3.clone(n,j),o=q.Cartesian3.clone(n,W),u=q.Cartesian3.clone(n,Y),l=e.length,c=1;c<l;c++){q.Cartesian3.clone(e[c],n);var d=n.x,f=n.y,p=n.z;d<r.x&&q.Cartesian3.clone(n,r),d>s.x&&q.Cartesian3.clone(n,s),f<a.y&&q.Cartesian3.clone(n,a),f>o.y&&q.Cartesian3.clone(n,o),p<i.z&&q.Cartesian3.clone(n,i),p>u.z&&q.Cartesian3.clone(n,u)}var h=q.Cartesian3.magnitudeSquared(q.Cartesian3.subtract(s,r,I)),m=q.Cartesian3.magnitudeSquared(q.Cartesian3.subtract(o,a,I)),y=q.Cartesian3.magnitudeSquared(q.Cartesian3.subtract(u,i,I)),A=r,C=s,g=h,w=(h<m&&(g=m,A=a,C=o),g<y&&(g=y,A=i,C=u),J),v=(w.x=.5*(A.x+C.x),w.y=.5*(A.y+C.y),w.z=.5*(A.z+C.z),q.Cartesian3.magnitudeSquared(q.Cartesian3.subtract(C,w,I))),x=Math.sqrt(v),h=X,m=(h.x=r.x,h.y=a.y,h.z=i.z,G),E=(m.x=s.x,m.y=o.y,m.z=u.z,q.Cartesian3.midpoint(h,m,Z)),_=0;for(c=0;c<l;c++){q.Cartesian3.clone(e[c],n);var S,O=q.Cartesian3.magnitude(q.Cartesian3.subtract(n,E,I)),O=(_<O&&(_=O),q.Cartesian3.magnitudeSquared(q.Cartesian3.subtract(n,w,I)));v<O&&(v=(x=.5*(x+(O=Math.sqrt(O))))*x,w.x=(x*w.x+(S=O-x)*n.x)/O,w.y=(x*w.y+S*n.y)/O,w.z=(x*w.z+S*n.z)/O)}x<_?(q.Cartesian3.clone(w,t.center),t.radius=x):(q.Cartesian3.clone(E,t.center),t.radius=_)}else t.center=q.Cartesian3.clone(q.Cartesian3.ZERO,t.center),t.radius=0;return t},new F),$=new q.Cartesian3,ee=new q.Cartesian3,te=new q.Cartographic,ne=new q.Cartographic,re=(T.fromRectangle2D=function(e,t,n){return T.fromRectangleWithHeights2D(e,t,0,0,n)},T.fromRectangleWithHeights2D=function(e,t,n,r,a){var i;return M.defined(a)||(a=new T),M.defined(e)?(t=M.defaultValue(t,K),q.Rectangle.southwest(e,te),te.height=n,q.Rectangle.northeast(e,ne),ne.height=r,n=t.project(te,$),r=(e=t.project(ne,ee)).x-n.x,t=e.y-n.y,e=e.z-n.z,a.radius=.5*Math.sqrt(r*r+t*t+e*e),(i=a.center).x=n.x+.5*r,i.y=n.y+.5*t,i.z=n.z+.5*e):(a.center=q.Cartesian3.clone(q.Cartesian3.ZERO,a.center),a.radius=0),a},[]),ae=(T.fromRectangle3D=function(e,t,n,r){return t=M.defaultValue(t,q.Ellipsoid.WGS84),n=M.defaultValue(n,0),M.defined(r)||(r=new T),M.defined(e)?(e=q.Rectangle.subsample(e,t,n,re),T.fromPoints(e,r)):(r.center=q.Cartesian3.clone(q.Cartesian3.ZERO,r.center),r.radius=0,r)},T.fromVertices=function(e,t,n,r){if(M.defined(r)||(r=new T),M.defined(e)&&0!==e.length){t=M.defaultValue(t,q.Cartesian3.ZERO),n=M.defaultValue(n,3);for(var a=H,i=(a.x=e[0]+t.x,a.y=e[1]+t.y,a.z=e[2]+t.z,q.Cartesian3.clone(a,V)),s=q.Cartesian3.clone(a,k),o=q.Cartesian3.clone(a,L),u=q.Cartesian3.clone(a,j),l=q.Cartesian3.clone(a,W),c=q.Cartesian3.clone(a,Y),d=e.length,f=0;f<d;f+=n){var p=e[f]+t.x,h=e[f+1]+t.y,m=e[f+2]+t.z;a.x=p,a.y=h,a.z=m,p<i.x&&q.Cartesian3.clone(a,i),p>u.x&&q.Cartesian3.clone(a,u),h<s.y&&q.Cartesian3.clone(a,s),h>l.y&&q.Cartesian3.clone(a,l),m<o.z&&q.Cartesian3.clone(a,o),m>c.z&&q.Cartesian3.clone(a,c)}var y=q.Cartesian3.magnitudeSquared(q.Cartesian3.subtract(u,i,I)),A=q.Cartesian3.magnitudeSquared(q.Cartesian3.subtract(l,s,I)),C=q.Cartesian3.magnitudeSquared(q.Cartesian3.subtract(c,o,I)),g=i,w=u,v=y,x=(y<A&&(v=A,g=s,w=l),v<C&&(v=C,g=o,w=c),J),E=(x.x=.5*(g.x+w.x),x.y=.5*(g.y+w.y),x.z=.5*(g.z+w.z),q.Cartesian3.magnitudeSquared(q.Cartesian3.subtract(w,x,I))),_=Math.sqrt(E),y=X,A=(y.x=i.x,y.y=s.y,y.z=o.z,G),S=(A.x=u.x,A.y=l.y,A.z=c.z,q.Cartesian3.midpoint(y,A,Z)),O=0;for(f=0;f<d;f+=n){a.x=e[f]+t.x,a.y=e[f+1]+t.y,a.z=e[f+2]+t.z;var R,b=q.Cartesian3.magnitude(q.Cartesian3.subtract(a,S,I)),b=(O<b&&(O=b),q.Cartesian3.magnitudeSquared(q.Cartesian3.subtract(a,x,I)));E<b&&(E=(_=.5*(_+(b=Math.sqrt(b))))*_,x.x=(_*x.x+(R=b-_)*a.x)/b,x.y=(_*x.y+R*a.y)/b,x.z=(_*x.z+R*a.z)/b)}_<O?(q.Cartesian3.clone(x,r.center),r.radius=_):(q.Cartesian3.clone(S,r.center),r.radius=O)}else r.center=q.Cartesian3.clone(q.Cartesian3.ZERO,r.center),r.radius=0;return r},T.fromEncodedCartesianVertices=function(e,t,n){if(M.defined(n)||(n=new T),M.defined(e)&&M.defined(t)&&e.length===t.length&&0!==e.length){for(var r=H,a=(r.x=e[0]+t[0],r.y=e[1]+t[1],r.z=e[2]+t[2],q.Cartesian3.clone(r,V)),i=q.Cartesian3.clone(r,k),s=q.Cartesian3.clone(r,L),o=q.Cartesian3.clone(r,j),u=q.Cartesian3.clone(r,W),l=q.Cartesian3.clone(r,Y),c=e.length,d=0;d<c;d+=3){var f=e[d]+t[d],p=e[d+1]+t[d+1],h=e[d+2]+t[d+2];r.x=f,r.y=p,r.z=h,f<a.x&&q.Cartesian3.clone(r,a),f>o.x&&q.Cartesian3.clone(r,o),p<i.y&&q.Cartesian3.clone(r,i),p>u.y&&q.Cartesian3.clone(r,u),h<s.z&&q.Cartesian3.clone(r,s),h>l.z&&q.Cartesian3.clone(r,l)}var m=q.Cartesian3.magnitudeSquared(q.Cartesian3.subtract(o,a,I)),y=q.Cartesian3.magnitudeSquared(q.Cartesian3.subtract(u,i,I)),A=q.Cartesian3.magnitudeSquared(q.Cartesian3.subtract(l,s,I)),C=a,g=o,w=m,v=(m<y&&(w=y,C=i,g=u),w<A&&(w=A,C=s,g=l),J),x=(v.x=.5*(C.x+g.x),v.y=.5*(C.y+g.y),v.z=.5*(C.z+g.z),q.Cartesian3.magnitudeSquared(q.Cartesian3.subtract(g,v,I))),E=Math.sqrt(x),m=X,y=(m.x=a.x,m.y=i.y,m.z=s.z,G),_=(y.x=o.x,y.y=u.y,y.z=l.z,q.Cartesian3.midpoint(m,y,Z)),S=0;for(d=0;d<c;d+=3){r.x=e[d]+t[d],r.y=e[d+1]+t[d+1],r.z=e[d+2]+t[d+2];var O,R=q.Cartesian3.magnitude(q.Cartesian3.subtract(r,_,I)),R=(S<R&&(S=R),q.Cartesian3.magnitudeSquared(q.Cartesian3.subtract(r,v,I)));x<R&&(x=(E=.5*(E+(R=Math.sqrt(R))))*E,v.x=(E*v.x+(O=R-E)*r.x)/R,v.y=(E*v.y+O*r.y)/R,v.z=(E*v.z+O*r.z)/R)}E<S?(q.Cartesian3.clone(v,n.center),n.radius=E):(q.Cartesian3.clone(_,n.center),n.radius=S)}else n.center=q.Cartesian3.clone(q.Cartesian3.ZERO,n.center),n.radius=0;return n},T.fromCornerPoints=function(e,t,n){M.defined(n)||(n=new T);e=q.Cartesian3.midpoint(e,t,n.center);return n.radius=q.Cartesian3.distance(e,t),n},T.fromEllipsoid=function(e,t){return M.defined(t)||(t=new T),q.Cartesian3.clone(q.Cartesian3.ZERO,t.center),t.radius=e.maximumRadius,t},new q.Cartesian3),ie=(T.fromBoundingSpheres=function(e,t){if(M.defined(t)||(t=new T),M.defined(e)&&0!==e.length){var n=e.length;if(1===n)return T.clone(e[0],t);if(2===n)return T.union(e[0],e[1],t);for(var r=[],a=0;a<n;a++)r.push(e[a].center);var i=(t=T.fromPoints(r,t)).center,s=t.radius;for(a=0;a<n;a++)var o=e[a],s=Math.max(s,q.Cartesian3.distance(i,o.center,ae)+o.radius);t.radius=s}else t.center=q.Cartesian3.clone(q.Cartesian3.ZERO,t.center),t.radius=0;return t},new q.Cartesian3),se=new q.Cartesian3,oe=new q.Cartesian3,ue=(T.fromOrientedBoundingBox=function(e,t){M.defined(t)||(t=new T);var n=e.halfAxes,r=q.Matrix3.getColumn(n,0,ie),a=q.Matrix3.getColumn(n,1,se),n=q.Matrix3.getColumn(n,2,oe);return q.Cartesian3.add(r,a,r),q.Cartesian3.add(r,n,r),t.center=q.Cartesian3.clone(e.center,t.center),t.radius=q.Cartesian3.magnitude(r),t},T.clone=function(e,t){if(M.defined(e))return M.defined(t)?(t.center=q.Cartesian3.clone(e.center,t.center),t.radius=e.radius,t):new T(e.center,e.radius)},T.packedLength=4,T.pack=function(e,t,n){n=M.defaultValue(n,0);var r=e.center;return t[n++]=r.x,t[n++]=r.y,t[n++]=r.z,t[n]=e.radius,t},T.unpack=function(e,t,n){t=M.defaultValue(t,0);var r=(n=M.defined(n)?n:new T).center;return r.x=e[t++],r.y=e[t++],r.z=e[t++],n.radius=e[t],n},new q.Cartesian3),le=new q.Cartesian3,ce=(T.union=function(e,t,n){M.defined(n)||(n=new T);var r=e.center,a=e.radius,i=t.center,s=t.radius,i=q.Cartesian3.subtract(i,r,ue),o=q.Cartesian3.magnitude(i);return o+s<=a?e.clone(n):o+a<=s?t.clone(n):(t=q.Cartesian3.multiplyByScalar(i,((e=.5*(a+o+s))-a)/o,le),q.Cartesian3.add(t,r,t),q.Cartesian3.clone(t,n.center),n.radius=e),n},new q.Cartesian3),de=(T.expand=function(e,t,n){n=T.clone(e,n);e=q.Cartesian3.magnitude(q.Cartesian3.subtract(t,n.center,ce));return e>n.radius&&(n.radius=e),n},T.intersectPlane=function(e,t){var n=e.center,e=e.radius,r=t.normal,r=q.Cartesian3.dot(r,n)+t.distance;return r<-e?z.OUTSIDE:r<e?z.INTERSECTING:z.INSIDE},T.transform=function(e,t,n){return(n=M.defined(n)?n:new T).center=q.Matrix4.multiplyByPoint(t,e.center,n.center),n.radius=q.Matrix4.getMaximumScale(t)*e.radius,n},new q.Cartesian3),fe=(T.distanceSquaredTo=function(e,t){t=q.Cartesian3.subtract(e.center,t,de),t=q.Cartesian3.magnitude(t)-e.radius;return t<=0?0:t*t},T.transformWithoutScale=function(e,t,n){return(n=M.defined(n)?n:new T).center=q.Matrix4.multiplyByPoint(t,e.center,n.center),n.radius=e.radius,n},new q.Cartesian3),pe=(T.computePlaneDistances=function(e,t,n,r){M.defined(r)||(r=new B);t=q.Cartesian3.subtract(e.center,t,fe),n=q.Cartesian3.dot(n,t);return r.start=n-e.radius,r.stop=n+e.radius,r},new q.Cartesian3),he=new q.Cartesian3,me=new q.Cartesian3,ye=new q.Cartesian3,Ae=new q.Cartesian3,Ce=new q.Cartographic,ge=new Array(8),we=0;we<8;++we)ge[we]=new q.Cartesian3;var ve,t,xe,Ee,_e,Se,Oe,Re,be,qe,Me,Te,Ie,De,Pe,Ue,Ne,Fe,ze=new F,s=(T.projectTo2D=function(e,t,n){for(var r=(t=M.defaultValue(t,ze)).ellipsoid,a=e.center,e=e.radius,i=q.Cartesian3.equals(a,q.Cartesian3.ZERO)?q.Cartesian3.clone(q.Cartesian3.UNIT_X,pe):r.geodeticSurfaceNormal(a,pe),s=q.Cartesian3.cross(q.Cartesian3.UNIT_Z,i,he),o=(q.Cartesian3.normalize(s,s),q.Cartesian3.cross(i,s,me)),e=(q.Cartesian3.normalize(o,o),q.Cartesian3.multiplyByScalar(i,e,i),q.Cartesian3.multiplyByScalar(o,e,o),q.Cartesian3.multiplyByScalar(s,e,s),q.Cartesian3.negate(o,Ae)),u=q.Cartesian3.negate(s,ye),l=ge,c=l[0],d=(q.Cartesian3.add(i,o,c),q.Cartesian3.add(c,s,c),c=l[1],q.Cartesian3.add(i,o,c),q.Cartesian3.add(c,u,c),c=l[2],q.Cartesian3.add(i,e,c),q.Cartesian3.add(c,u,c),c=l[3],q.Cartesian3.add(i,e,c),q.Cartesian3.add(c,s,c),q.Cartesian3.negate(i,i),c=l[4],q.Cartesian3.add(i,o,c),q.Cartesian3.add(c,s,c),c=l[5],q.Cartesian3.add(i,o,c),q.Cartesian3.add(c,u,c),c=l[6],q.Cartesian3.add(i,e,c),q.Cartesian3.add(c,u,c),c=l[7],q.Cartesian3.add(i,e,c),q.Cartesian3.add(c,s,c),l.length),f=0;f<d;++f){var p=l[f],h=(q.Cartesian3.add(a,p,p),r.cartesianToCartographic(p,Ce));t.project(h,p)}o=(a=(n=T.fromPoints(l,n)).center).x,u=a.y;return a.x=a.z,a.y=o,a.z=u,n},T.isOccluded=function(e,t){return!t.isBoundingSphereVisible(e)},T.equals=function(e,t){return e===t||M.defined(e)&&M.defined(t)&&q.Cartesian3.equals(e.center,t.center)&&e.radius===t.radius},T.prototype.intersectPlane=function(e){return T.intersectPlane(this,e)},T.prototype.distanceSquaredTo=function(e){return T.distanceSquaredTo(this,e)},T.prototype.computePlaneDistances=function(e,t,n){return T.computePlaneDistances(this,e,t,n)},T.prototype.isOccluded=function(e){return T.isOccluded(this,e)},T.prototype.equals=function(e){return T.equals(this,e)},T.prototype.clone=function(e){return T.clone(this,e)},T.prototype.volume=function(){var e=this.radius;return Q*e*e*e},{requestFullscreen:void 0,exitFullscreen:void 0,fullscreenEnabled:void 0,fullscreenElement:void 0,fullscreenchange:void 0,fullscreenerror:void 0}),n={};function Be(e){for(var t=e.split("."),n=0,r=t.length;n<r;++n)t[n]=parseInt(t[n],10);return t}function Ve(){var e;return M.defined(xe)||(xe=!1,We())||null!==(e=/ Chrome\/([\.0-9]+)/.exec(t.userAgent))&&(xe=!0,Ee=Be(e[1])),xe}function ke(){var e;return M.defined(_e)||(_e=!1,Ve())||We()||!/ Safari\/[\.0-9]+/.test(t.userAgent)||null!==(e=/ Version\/([\.0-9]+)/.exec(t.userAgent))&&(_e=!0,Se=Be(e[1])),_e}function Le(){var e;return M.defined(Oe)||(Oe=!1,null!==(e=/ AppleWebKit\/([\.0-9]+)(\+?)/.exec(t.userAgent))&&(Oe=!0,(Re=Be(e[1])).isNightly=!!e[2])),Oe}function je(){var e;return M.defined(be)||(be=!1,"Microsoft Internet Explorer"===t.appName?null!==(e=/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(t.userAgent))&&(be=!0,qe=Be(e[1])):"Netscape"===t.appName&&null!==(e=/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(t.userAgent))&&(be=!0,qe=Be(e[1]))),be}function We(){var e;return M.defined(Me)||(Me=!1,null!==(e=/ Edge\/([\.0-9]+)/.exec(t.userAgent))&&(Me=!0,Te=Be(e[1]))),Me}function Ye(){var e;return M.defined(Ie)||(Ie=!1,null!==(e=/Firefox\/([\.0-9]+)/.exec(t.userAgent))&&(Ie=!0,De=Be(e[1]))),Ie}function He(){var e;return!M.defined(Fe)&&((e=document.createElement("canvas")).setAttribute("style","image-rendering: -moz-crisp-edges;image-rendering: pixelated;"),e=e.style.imageRendering,Fe=M.defined(e)&&""!==e)&&(Ne=e),Fe}function r(){return r._result}Object.defineProperties(n,{element:{get:function(){if(n.supportsFullscreen())return document[s.fullscreenElement]}},changeEventName:{get:function(){if(n.supportsFullscreen())return s.fullscreenchange}},errorEventName:{get:function(){if(n.supportsFullscreen())return s.fullscreenerror}},enabled:{get:function(){if(n.supportsFullscreen())return document[s.fullscreenEnabled]}},fullscreen:{get:function(){if(n.supportsFullscreen())return null!==n.element}}}),n.supportsFullscreen=function(){if(!M.defined(ve)){ve=!1;var e=document.body;if("function"==typeof e.requestFullscreen)return s.requestFullscreen="requestFullscreen",s.exitFullscreen="exitFullscreen",s.fullscreenEnabled="fullscreenEnabled",s.fullscreenElement="fullscreenElement",s.fullscreenchange="fullscreenchange",s.fullscreenerror="fullscreenerror",ve=!0;for(var t=["webkit","moz","o","ms","khtml"],n=0,r=t.length;n<r;++n){var a,i=t[n];("function"==typeof e[a=i+"RequestFullscreen"]||"function"==typeof e[a=i+"RequestFullScreen"])&&(s.requestFullscreen=a,ve=!0),a=i+"ExitFullscreen",("function"==typeof document[a]||"function"==typeof document[a=i+"CancelFullScreen"])&&(s.exitFullscreen=a),(void 0!==document[a=i+"FullscreenEnabled"]||void 0!==document[a=i+"FullScreenEnabled"])&&(s.fullscreenEnabled=a),(void 0!==document[a=i+"FullscreenElement"]||void 0!==document[a=i+"FullScreenElement"])&&(s.fullscreenElement=a),void 0!==document["on"+(a=i+"fullscreenchange")]&&(s.fullscreenchange=a="ms"===i?"MSFullscreenChange":a),void 0!==document["on"+(a=i+"fullscreenerror")]&&(s.fullscreenerror=a="ms"===i?"MSFullscreenError":a)}}return ve},n.requestFullscreen=function(e,t){n.supportsFullscreen()&&e[s.requestFullscreen]({vrDisplay:t})},n.exitFullscreen=function(){n.supportsFullscreen()&&document[s.exitFullscreen]()},n._names=s,t="undefined"!=typeof navigator?navigator:{},r._promise=void 0,r._result=void 0,r.initialize=function(){var e,t;return M.defined(r._promise)?r._promise:(e=M.when.defer(),r._promise=e.promise,We()?e.resolve(r._result=!1):((t=new Image).onload=function(){r._result=0<t.width&&0<t.height,e.resolve(r._result)},t.onerror=function(){r._result=!1,e.resolve(r._result)},t.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA"),e.promise)},Object.defineProperties(r,{initialized:{get:function(){return M.defined(r._result)}}});var a=[],i=("undefined"!=typeof ArrayBuffer&&(a.push(Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array),"undefined"!=typeof Uint8ClampedArray&&a.push(Uint8ClampedArray),"undefined"!=typeof Uint8ClampedArray&&a.push(Uint8ClampedArray),"undefined"!=typeof BigInt64Array&&a.push(BigInt64Array),"undefined"!=typeof BigUint64Array)&&a.push(BigUint64Array),{isChrome:Ve,chromeVersion:function(){return Ve()&&Ee},isSafari:ke,safariVersion:function(){return ke()&&Se},isWebkit:Le,webkitVersion:function(){return Le()&&Re},isInternetExplorer:je,internetExplorerVersion:function(){return je()&&qe},isEdge:We,edgeVersion:function(){return We()&&Te},isFirefox:Ye,firefoxVersion:function(){return Ye()&&De},isWindows:function(){return Pe=M.defined(Pe)?Pe:/Windows/i.test(t.appVersion)},hardwareConcurrency:M.defaultValue(t.hardwareConcurrency,3),supportsPointerEvents:function(){return Ue=M.defined(Ue)?Ue:!Ye()&&"undefined"!=typeof PointerEvent&&(!M.defined(t.pointerEnabled)||t.pointerEnabled)},supportsImageRenderingPixelated:He,supportsWebP:r,imageRenderingValue:function(){return He()?Ne:void 0},typedArrayTypes:a});function d(e,t,n,r){this.x=M.defaultValue(e,0),this.y=M.defaultValue(t,0),this.z=M.defaultValue(n,0),this.w=M.defaultValue(r,0)}i.supportsBasis=function(e){return i.supportsWebAssembly()&&e.context.supportsBasis},i.supportsFullscreen=function(){return n.supportsFullscreen()},i.supportsTypedArrays=function(){return"undefined"!=typeof ArrayBuffer},i.supportsBigInt64Array=function(){return"undefined"!=typeof BigInt64Array},i.supportsBigUint64Array=function(){return"undefined"!=typeof BigUint64Array},i.supportsBigInt=function(){return"undefined"!=typeof BigInt},i.supportsWebWorkers=function(){return"undefined"!=typeof Worker},i.supportsWebAssembly=function(){return"undefined"!=typeof WebAssembly&&!i.isEdge()};for(var Je,Xe,Ge=new q.Cartesian3,Ze=(d.fromAxisAngle=function(e,t,n){var t=t/2,r=Math.sin(t),e=(Ge=q.Cartesian3.normalize(e,Ge)).x*r,a=Ge.y*r,r=Ge.z*r,t=Math.cos(t);return M.defined(n)?(n.x=e,n.y=a,n.z=r,n.w=t,n):new d(e,a,r,t)},[1,2,0]),Qe=new Array(3),Ke=(d.fromRotationMatrix=function(e,t){var n,r,a,i,s=e[q.Matrix3.COLUMN0ROW0],o=e[q.Matrix3.COLUMN1ROW1],u=e[q.Matrix3.COLUMN2ROW2],l=s+o+u,u=0<l?(a=.5*(i=Math.sqrt(l+1)),n=(e[q.Matrix3.COLUMN1ROW2]-e[q.Matrix3.COLUMN2ROW1])*(i=.5/i),r=(e[q.Matrix3.COLUMN2ROW0]-e[q.Matrix3.COLUMN0ROW2])*i,(e[q.Matrix3.COLUMN0ROW1]-e[q.Matrix3.COLUMN1ROW0])*i):(s=Ze[u=Ze[l=s<u&&o<u?2:s<o?1:0]],i=Math.sqrt(e[q.Matrix3.getElementIndex(l,l)]-e[q.Matrix3.getElementIndex(u,u)]-e[q.Matrix3.getElementIndex(s,s)]+1),(o=Qe)[l]=.5*i,i=.5/i,a=(e[q.Matrix3.getElementIndex(s,u)]-e[q.Matrix3.getElementIndex(u,s)])*i,o[u]=(e[q.Matrix3.getElementIndex(u,l)]+e[q.Matrix3.getElementIndex(l,u)])*i,o[s]=(e[q.Matrix3.getElementIndex(s,l)]+e[q.Matrix3.getElementIndex(l,s)])*i,n=-o[0],r=-o[1],-o[2]);return M.defined(t)?(t.x=n,t.y=r,t.z=u,t.w=a,t):new d(n,r,u,a)},new d),$e=(new d,new d,new d,d.fromHeadingPitchRoll=function(e,t){return Xe=d.fromAxisAngle(q.Cartesian3.UNIT_X,e.roll,Ke),Je=d.fromAxisAngle(q.Cartesian3.UNIT_Y,-e.pitch,t),t=d.multiply(Je,Xe,Je),Xe=d.fromAxisAngle(q.Cartesian3.UNIT_Z,-e.heading,Ke),d.multiply(Xe,t,t)},new q.Cartesian3),et=new q.Cartesian3,u=new d,tt=new d,nt=new d,rt=(d.packedLength=4,d.pack=function(e,t,n){return n=M.defaultValue(n,0),t[n++]=e.x,t[n++]=e.y,t[n++]=e.z,t[n]=e.w,t},d.unpack=function(e,t,n){return t=M.defaultValue(t,0),(n=M.defined(n)?n:new d).x=e[t],n.y=e[t+1],n.z=e[t+2],n.w=e[t+3],n},d.packedInterpolationLength=3,d.convertPackedArrayForInterpolation=function(e,t,n,r){d.unpack(e,4*n,nt),d.conjugate(nt,nt);for(var a=0,i=n-t+1;a<i;a++){var s=3*a,o=(d.unpack(e,4*(t+a),u),d.multiply(u,nt,u),u.w<0&&d.negate(u,u),d.computeAxis(u,$e),d.computeAngle(u));(r=M.defined(r)?r:[])[s]=$e.x*o,r[1+s]=$e.y*o,r[2+s]=$e.z*o}},d.unpackInterpolationResult=function(e,t,n,r,a){M.defined(a)||(a=new d),q.Cartesian3.fromArray(e,0,et);e=q.Cartesian3.magnitude(et);return d.unpack(t,4*r,tt),0===e?d.clone(d.IDENTITY,u):d.fromAxisAngle(et,e,u),d.multiply(u,tt,a)},d.clone=function(e,t){if(M.defined(e))return M.defined(t)?(t.x=e.x,t.y=e.y,t.z=e.z,t.w=e.w,t):new d(e.x,e.y,e.z,e.w)},d.conjugate=function(e,t){return t.x=-e.x,t.y=-e.y,t.z=-e.z,t.w=e.w,t},d.magnitudeSquared=function(e){return e.x*e.x+e.y*e.y+e.z*e.z+e.w*e.w},d.magnitude=function(e){return Math.sqrt(d.magnitudeSquared(e))},d.normalize=function(e,t){var n=1/d.magnitude(e),r=e.x*n,a=e.y*n,i=e.z*n,e=e.w*n;return t.x=r,t.y=a,t.z=i,t.w=e,t},d.inverse=function(e,t){var n=d.magnitudeSquared(e);return t=d.conjugate(e,t),d.multiplyByScalar(t,1/n,t)},d.add=function(e,t,n){return n.x=e.x+t.x,n.y=e.y+t.y,n.z=e.z+t.z,n.w=e.w+t.w,n},d.subtract=function(e,t,n){return n.x=e.x-t.x,n.y=e.y-t.y,n.z=e.z-t.z,n.w=e.w-t.w,n},d.negate=function(e,t){return t.x=-e.x,t.y=-e.y,t.z=-e.z,t.w=-e.w,t},d.dot=function(e,t){return e.x*t.x+e.y*t.y+e.z*t.z+e.w*t.w},d.multiply=function(e,t,n){var r=e.x,a=e.y,i=e.z,e=e.w,s=t.x,o=t.y,u=t.z,t=t.w,l=e*o-r*u+a*t+i*s,c=e*u+r*o-a*s+i*t,d=e*t-r*s-a*o-i*u;return n.x=e*s+r*t+a*u-i*o,n.y=l,n.z=c,n.w=d,n},d.multiplyByScalar=function(e,t,n){return n.x=e.x*t,n.y=e.y*t,n.z=e.z*t,n.w=e.w*t,n},d.divideByScalar=function(e,t,n){return n.x=e.x/t,n.y=e.y/t,n.z=e.z/t,n.w=e.w/t,n},d.computeAxis=function(e,t){var n=e.w;return Math.abs(n-1)<c.CesiumMath.EPSILON6?t.x=t.y=t.z=0:(n=1/Math.sqrt(1-n*n),t.x=e.x*n,t.y=e.y*n,t.z=e.z*n),t},d.computeAngle=function(e){return Math.abs(e.w-1)<c.CesiumMath.EPSILON6?0:2*Math.acos(e.w)},new d),at=(d.lerp=function(e,t,n,r){return rt=d.multiplyByScalar(t,n,rt),r=d.multiplyByScalar(e,1-n,r),d.add(rt,r,r)},new d),it=new d,st=new d,ot=(d.slerp=function(e,t,n,r){var a=d.dot(e,t),i=t;return a<0&&(a=-a,i=at=d.negate(t,at)),1-a<c.CesiumMath.EPSILON6?d.lerp(e,i,n,r):(t=Math.acos(a),it=d.multiplyByScalar(e,Math.sin((1-n)*t),it),st=d.multiplyByScalar(i,Math.sin(n*t),st),r=d.add(it,st,r),d.multiplyByScalar(r,1/Math.sin(t),r))},d.log=function(e,t){var n=c.CesiumMath.acosClamped(e.w),r=0;return 0!==n&&(r=n/Math.sin(n)),q.Cartesian3.multiplyByScalar(e,r,t)},d.exp=function(e,t){var n=q.Cartesian3.magnitude(e),r=0;return 0!==n&&(r=Math.sin(n)/n),t.x=e.x*r,t.y=e.y*r,t.z=e.z*r,t.w=Math.cos(n),t},new q.Cartesian3),ut=new q.Cartesian3,lt=new d,ct=new d,dt=(d.computeInnerQuadrangle=function(e,t,n,r){var a=d.conjugate(t,lt),n=(d.multiply(a,n,ct),d.log(ct,ot)),a=(d.multiply(a,e,ct),d.log(ct,ut));return q.Cartesian3.add(n,a,n),q.Cartesian3.multiplyByScalar(n,.25,n),q.Cartesian3.negate(n,n),d.exp(n,lt),d.multiply(t,lt,r)},d.squad=function(e,t,n,r,a,i){e=d.slerp(e,t,a,lt),t=d.slerp(n,r,a,ct);return d.slerp(e,t,2*a*(1-a),i)},new d),a=1.9011074535173003,ft=i.supportsTypedArrays()?new Float32Array(8):[],pt=i.supportsTypedArrays()?new Float32Array(8):[],f=i.supportsTypedArrays()?new Float32Array(8):[],p=i.supportsTypedArrays()?new Float32Array(8):[],ht=0;ht<7;++ht){var mt=ht+1,yt=2*mt+1;ft[ht]=1/(mt*yt),pt[ht]=mt/yt}function At(e,t,n){for(var r,a,i=0,s=e.length-1;i<=s;)if((a=n(e[r=~~((i+s)/2)],t))<0)i=1+r;else{if(!(0<a))return r;s=r-1}return~(s+1)}function Ct(e,t,n,r,a){this.xPoleWander=e,this.yPoleWander=t,this.xPoleOffset=n,this.yPoleOffset=r,this.ut1MinusUtc=a}function gt(){function g(e,t,n,r,a,i,s){var o=e>>>0;return e=(n=n&&o&&{2:"0b",8:"0",16:"0x"}[t]||"")+E(o.toString(t),i||0,"0",!1),_(e,n,r,a,s)}function w(e,t,n,r,a,i){return null!=r&&(e=e.slice(0,r)),_(e,"",t,n,a,i)}var v=arguments,x=0,e=v[x++],E=function(e,t,n,r){n=n||" ";t=e.length>=t?"":Array(1+t-e.length>>>0).join(n);return r?e+t:t+e},_=function(e,t,n,r,a,i){var s=r-e.length;return e=0<s?n||!a?E(e,r,i,n):e.slice(0,t.length)+E("",s,"0",!0)+e.slice(t.length):e};return e.replace(/%%|%(\d+\$)?([-+\'#0 ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([scboxXuideEfFgG])/g,function(e,t,n,r,a,i,s){var o,u,l,c,d;if("%%"==e)return"%";for(var f=!1,p="",h=!1,m=!1,y=" ",A=n.length,C=0;n&&C<A;C++)switch(n.charAt(C)){case" ":p=" ";break;case"+":p="+";break;case"-":f=!0;break;case"'":y=n.charAt(C+1);break;case"0":h=!0;break;case"#":m=!0}if((r=r?"*"==r?+v[x++]:"*"==r.charAt(0)?+v[r.slice(1,-1)]:+r:0)<0&&(r=-r,f=!0),!isFinite(r))throw new Error("sprintf: (minimum-)width must be finite");switch(i=i?"*"==i?+v[x++]:"*"==i.charAt(0)?+v[i.slice(1,-1)]:+i:-1<"fFeE".indexOf(s)?6:"d"==s?0:void 0,d=t?v[t.slice(0,-1)]:v[x++],s){case"s":return w(String(d),f,r,i,h,y);case"c":return w(String.fromCharCode(+d),f,r,i,h);case"b":return g(d,2,m,f,r,i,h);case"o":return g(d,8,m,f,r,i,h);case"x":return g(d,16,m,f,r,i,h);case"X":return g(d,16,m,f,r,i,h).toUpperCase();case"u":return g(d,10,m,f,r,i,h);case"i":case"d":return o=+d||0,d=(u=(o=Math.round(o-o%1))<0?"-":p)+E(String(Math.abs(o)),i,"0",!1),_(d,u,f,r,h);case"e":case"E":case"f":case"F":case"g":case"G":return u=(o=+d)<0?"-":p,l=["toExponential","toFixed","toPrecision"]["efg".indexOf(s.toLowerCase())],c=["toString","toUpperCase"]["eEfFgG".indexOf(s)%2],d=u+Math.abs(o)[l](i),_(d,u,f,r,h)[c]();default:return e}})}function wt(e,t,n,r,a,i,s,o){this.year=e,this.month=t,this.day=n,this.hour=r,this.minute=a,this.second=i,this.millisecond=s,this.isLeapSecond=o}function vt(e){return e%4==0&&e%100!=0||e%400==0}function g(e,t){this.julianDate=e,this.offset=t}ft[7]=a/136,pt[7]=8*a/17,d.fastSlerp=function(e,t,n,r){for(var a=d.dot(e,t),i=(0<=a?l=1:(l=-1,a=-a),a-1),a=1-n,s=n*n,o=a*a,u=7;0<=u;--u)f[u]=(ft[u]*s-pt[u])*i,p[u]=(ft[u]*o-pt[u])*i;var l=l*n*(1+f[0]*(1+f[1]*(1+f[2]*(1+f[3]*(1+f[4]*(1+f[5]*(1+f[6]*(1+f[7])))))))),n=a*(1+p[0]*(1+p[1]*(1+p[2]*(1+p[3]*(1+p[4]*(1+p[5]*(1+p[6]*(1+p[7])))))))),a=d.multiplyByScalar(e,n,dt);return d.multiplyByScalar(t,l,r),d.add(a,r,r)},d.fastSquad=function(e,t,n,r,a,i){e=d.fastSlerp(e,t,a,lt),t=d.fastSlerp(n,r,a,ct);return d.fastSlerp(e,t,2*a*(1-a),i)},d.equals=function(e,t){return e===t||M.defined(e)&&M.defined(t)&&e.x===t.x&&e.y===t.y&&e.z===t.z&&e.w===t.w},d.equalsEpsilon=function(e,t,n){return n=M.defaultValue(n,0),e===t||M.defined(e)&&M.defined(t)&&Math.abs(e.x-t.x)<=n&&Math.abs(e.y-t.y)<=n&&Math.abs(e.z-t.z)<=n&&Math.abs(e.w-t.w)<=n},d.ZERO=Object.freeze(new d(0,0,0,0)),d.IDENTITY=Object.freeze(new d(0,0,0,1)),d.prototype.clone=function(e){return d.clone(this,e)},d.prototype.equals=function(e){return d.equals(this,e)},d.prototype.equalsEpsilon=function(e,t){return d.equalsEpsilon(this,e,t)},d.prototype.toString=function(){return"("+this.x+", "+this.y+", "+this.z+", "+this.w+")"};var w=Object.freeze({SECONDS_PER_MILLISECOND:.001,SECONDS_PER_MINUTE:60,MINUTES_PER_HOUR:60,HOURS_PER_DAY:24,SECONDS_PER_HOUR:3600,MINUTES_PER_DAY:1440,SECONDS_PER_DAY:86400,DAYS_PER_JULIAN_CENTURY:36525,PICOSECOND:1e-9,MODIFIED_JULIAN_DATE_DIFFERENCE:2400000.5}),v=Object.freeze({UTC:0,TAI:1}),xt=new wt,Et=[31,28,31,30,31,30,31,31,30,31,30,31];function _t(e,t){return x.compare(e.julianDate,t.julianDate)}var St=new g;function Ot(e){St.julianDate=e;var t=x.leapSeconds,n=At(t,St,_t),r=t[n=(n=n<0?~n:n)>=t.length?t.length-1:n].offset;0<n&&r<x.secondsDifference(t[n].julianDate,e)&&(r=t[--n].offset),x.addSeconds(e,r,e)}function Rt(e,t){St.julianDate=e;var n,r=x.leapSeconds,a=At(r,St,_t);return 0===(a=a<0?~a:a)?x.addSeconds(e,-r[0].offset,t):a>=r.length?x.addSeconds(e,-r[a-1].offset,t):0===(n=x.secondsDifference(r[a].julianDate,e))?x.addSeconds(e,-r[a].offset,t):n<=1?void 0:x.addSeconds(e,-r[--a].offset,t)}function bt(e,t,n){var r=t/w.SECONDS_PER_DAY|0;return e+=r,(t-=w.SECONDS_PER_DAY*r)<0&&(e--,t+=w.SECONDS_PER_DAY),n.dayNumber=e,n.secondsOfDay=t,n}function qt(e,t,n,r,a,i,s){var o=(t-14)/12|0,e=e+4800+o,t=(1461*e/4|0)+(367*(t-2-12*o)/12|0)-(3*((e+100)/100|0)/4|0)+n-32075,o=((r-=12)<0&&(r+=24),i+(r*w.SECONDS_PER_HOUR+a*w.SECONDS_PER_MINUTE+s*w.SECONDS_PER_MILLISECOND));return 43200<=o&&--t,[t,o]}var Mt=/^(\d{4})$/,Tt=/^(\d{4})-(\d{2})$/,It=/^(\d{4})-?(\d{3})$/,Dt=/^(\d{4})-?W(\d{2})-?(\d{1})?$/,Pt=/^(\d{4})-?(\d{2})-?(\d{2})$/,a=/([Z+\-])?(\d{2})?:?(\d{2})?$/,Ut=/^(\d{2})(\.\d+)?/.source+a.source,Nt=/^(\d{2}):?(\d{2})(\.\d+)?/.source+a.source,Ft=/^(\d{2}):?(\d{2}):?(\d{2})(\.\d+)?/.source+a.source;function x(e,t,n){this.dayNumber=void 0,this.secondsOfDay=void 0,e=M.defaultValue(e,0),t=M.defaultValue(t,0),n=M.defaultValue(n,v.UTC);var r=0|e;bt(r,t+=(e-r)*w.SECONDS_PER_DAY,this),n===v.UTC&&Ot(this)}x.fromGregorianDate=function(e,t){e=qt(e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond);return M.defined(t)?(bt(e[0],e[1],t),Ot(t),t):new x(e[0],e[1],v.UTC)},x.fromDate=function(e,t){e=qt(e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds());return M.defined(t)?(bt(e[0],e[1],t),Ot(t),t):new x(e[0],e[1],v.UTC)},x.fromIso8601=function(e,t){var n,r,a,i,e=(e=e.replace(",",".")).split("T"),s=1,o=1,u=0,l=0,c=0,d=0,f=e[0],p=e[1];if(null!==(e=f.match(Pt))?(a=+e[1],s=+e[2],o=+e[3]):null!==(e=f.match(Tt))?(a=+e[1],s=+e[2]):null!==(e=f.match(Mt))?a=+e[1]:(null!==(e=f.match(It))?(a=+e[1],y=+e[2],r=vt(a)):null!==(e=f.match(Dt))&&(a=+e[1],y=7*+e[2]+(+e[3]||0)-new Date(Date.UTC(a,0,4)).getUTCDay()-3),(n=new Date(Date.UTC(a,0,1))).setUTCDate(y),s=n.getUTCMonth()+1,o=n.getUTCDate()),r=vt(a),M.defined(p)){null!==(e=p.match(Ft))?(u=+e[1],l=+e[2],c=+e[3],d=1e3*+(e[4]||0),i=5):null!==(e=p.match(Nt))?(u=+e[1],l=+e[2],c=60*+(e[3]||0),i=4):null!==(e=p.match(Ut))&&(u=+e[1],l=60*+(e[2]||0),i=3);var f=e[i],h=+e[i+1],m=+(e[i+2]||0);switch(f){case"+":u-=h,l-=m;break;case"-":u+=h,l+=m;break;case"Z":break;default:l+=new Date(Date.UTC(a,s-1,o,u,l)).getTimezoneOffset()}}var y=60===c;for(y&&c--;60<=l;)l-=60,u++;for(;24<=u;)u-=24,o++;for(n=r&&2===s?29:Et[s-1];n<o;)o-=n,12<++s&&(s-=12,a++),n=r&&2===s?29:Et[s-1];for(;l<0;)l+=60,u--;for(;u<0;)u+=24,o--;for(;o<1;)--s<1&&(s+=12,a--),o+=n=r&&2===s?29:Et[s-1];p=qt(a,s,o,u,l,c,d);return M.defined(t)?(bt(p[0],p[1],t),Ot(t)):t=new x(p[0],p[1],v.UTC),y&&x.addSeconds(t,1,t),t},x.now=function(e){return x.fromDate(new Date,e)};var zt=new x(0,0,v.TAI);function o(e){e instanceof o?(this.scheme=e.scheme,this.authority=e.authority,this.path=e.path,this.query=e.query,this.fragment=e.fragment):e&&(e=Bt.exec(e),this.scheme=e[1],this.authority=e[2],this.path=e[3],this.query=e[4],this.fragment=e[5])}x.toGregorianDate=function(e,t){var n=!1,r=Rt(e,zt),e=(M.defined(r)||(x.addSeconds(e,-1,zt),r=Rt(zt,zt),n=!0),r.dayNumber),r=r.secondsOfDay,e=(43200<=r&&(e+=1),e+68569|0),a=4*e/146097|0,i=4e3*(1+(e=e-((146097*a+3)/4|0)|0))/1461001|0,s=80*(e=e-(1461*i/4|0)+31|0)/2447|0,o=e-(2447*s/80|0)|0,s=2+s-12*(e=s/11|0)|0,a=100*(a-49)+i+e|0,i=r/w.SECONDS_PER_HOUR|0,e=r-i*w.SECONDS_PER_HOUR,r=e/w.SECONDS_PER_MINUTE|0,u=0|(e-=r*w.SECONDS_PER_MINUTE),e=(e-u)/w.SECONDS_PER_MILLISECOND;return 23<(i+=12)&&(i-=24),n&&(u+=1),M.defined(t)?(t.year=a,t.month=s,t.day=o,t.hour=i,t.minute=r,t.second=u,t.millisecond=e,t.isLeapSecond=n,t):new wt(a,s,o,i,r,u,e,n)},x.toDate=function(e){var e=x.toGregorianDate(e,xt),t=e.second;return e.isLeapSecond&&--t,new Date(Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,t,e.millisecond))},x.toIso8601=function(e,t){var e=x.toGregorianDate(e,xt),n=e.year,r=e.month,a=e.day,i=e.hour,s=e.minute,o=e.second,e=e.millisecond;return 1e4===n&&1===r&&1===a&&0===i&&0===s&&0===o&&0===e&&(n=9999,r=12,a=31,i=24),M.defined(t)||0===e?M.defined(t)&&0!==t?gt("%04d-%02d-%02dT%02d:%02d:%02d.%sZ",n,r,a,i,s,o,(.01*e).toFixed(t).replace(".","").slice(0,t)):gt("%04d-%02d-%02dT%02d:%02d:%02dZ",n,r,a,i,s,o):gt("%04d-%02d-%02dT%02d:%02d:%02d.%sZ",n,r,a,i,s,o,(.01*e).toString().replace(".",""))},x.clone=function(e,t){if(M.defined(e))return M.defined(t)?(t.dayNumber=e.dayNumber,t.secondsOfDay=e.secondsOfDay,t):new x(e.dayNumber,e.secondsOfDay,v.TAI)},x.compare=function(e,t){var n=e.dayNumber-t.dayNumber;return 0!=n?n:e.secondsOfDay-t.secondsOfDay},x.equals=function(e,t){return e===t||M.defined(e)&&M.defined(t)&&e.dayNumber===t.dayNumber&&e.secondsOfDay===t.secondsOfDay},x.equalsEpsilon=function(e,t,n){return n=M.defaultValue(n,0),e===t||M.defined(e)&&M.defined(t)&&Math.abs(x.secondsDifference(e,t))<=n},x.totalDays=function(e){return e.dayNumber+e.secondsOfDay/w.SECONDS_PER_DAY},x.secondsDifference=function(e,t){var n=(e.dayNumber-t.dayNumber)*w.SECONDS_PER_DAY;return e.secondsOfDay-t.secondsOfDay+n},x.daysDifference=function(e,t){return e.dayNumber-t.dayNumber+(e.secondsOfDay-t.secondsOfDay)/w.SECONDS_PER_DAY},x.computeTaiMinusUtc=function(e){St.julianDate=e;var e=x.leapSeconds,t=At(e,St,_t);return e[t=t<0&&(t=~t,--t<0)?0:t].offset},x.addSeconds=function(e,t,n){return bt(e.dayNumber,e.secondsOfDay+t,n)},x.addMinutes=function(e,t,n){t=e.secondsOfDay+t*w.SECONDS_PER_MINUTE;return bt(e.dayNumber,t,n)},x.addHours=function(e,t,n){t=e.secondsOfDay+t*w.SECONDS_PER_HOUR;return bt(e.dayNumber,t,n)},x.addDays=function(e,t,n){return bt(e.dayNumber+t,e.secondsOfDay,n)},x.lessThan=function(e,t){return x.compare(e,t)<0},x.lessThanOrEquals=function(e,t){return x.compare(e,t)<=0},x.greaterThan=function(e,t){return 0<x.compare(e,t)},x.greaterThanOrEquals=function(e,t){return 0<=x.compare(e,t)},x.prototype.clone=function(e){return x.clone(this,e)},x.prototype.equals=function(e){return x.equals(this,e)},x.prototype.equalsEpsilon=function(e,t){return x.equalsEpsilon(this,e,t)},x.prototype.toString=function(){return x.toIso8601(this)},x.leapSeconds=[new g(new x(2441317,43210,v.TAI),10),new g(new x(2441499,43211,v.TAI),11),new g(new x(2441683,43212,v.TAI),12),new g(new x(2442048,43213,v.TAI),13),new g(new x(2442413,43214,v.TAI),14),new g(new x(2442778,43215,v.TAI),15),new g(new x(2443144,43216,v.TAI),16),new g(new x(2443509,43217,v.TAI),17),new g(new x(2443874,43218,v.TAI),18),new g(new x(2444239,43219,v.TAI),19),new g(new x(2444786,43220,v.TAI),20),new g(new x(2445151,43221,v.TAI),21),new g(new x(2445516,43222,v.TAI),22),new g(new x(2446247,43223,v.TAI),23),new g(new x(2447161,43224,v.TAI),24),new g(new x(2447892,43225,v.TAI),25),new g(new x(2448257,43226,v.TAI),26),new g(new x(2448804,43227,v.TAI),27),new g(new x(2449169,43228,v.TAI),28),new g(new x(2449534,43229,v.TAI),29),new g(new x(2450083,43230,v.TAI),30),new g(new x(2450630,43231,v.TAI),31),new g(new x(2451179,43232,v.TAI),32),new g(new x(2453736,43233,v.TAI),33),new g(new x(2454832,43234,v.TAI),34),new g(new x(2456109,43235,v.TAI),35),new g(new x(2457204,43236,v.TAI),36),new g(new x(2457754,43237,v.TAI),37)],o.prototype.scheme=null,o.prototype.authority=null,o.prototype.path="",o.prototype.query=null,o.prototype.fragment=null;var Bt=new RegExp("^(?:([^:/?#]+):)?(?://([^/?#]*))?([^?#]*)(?:\\?([^#]*))?(?:#(.*))?$"),Vt=(o.prototype.getScheme=function(){return this.scheme},o.prototype.getAuthority=function(){return this.authority},o.prototype.getPath=function(){return this.path},o.prototype.getQuery=function(){return this.query},o.prototype.getFragment=function(){return this.fragment},o.prototype.isAbsolute=function(){return!!this.scheme&&!this.fragment},o.prototype.isSameDocumentAs=function(e){return e.scheme==this.scheme&&e.authority==this.authority&&e.path==this.path&&e.query==this.query},o.prototype.equals=function(e){return this.isSameDocumentAs(e)&&e.fragment==this.fragment},o.prototype.normalize=function(){this.removeDotSegments(),this.scheme&&(this.scheme=this.scheme.toLowerCase()),this.authority&&(this.authority=this.authority.replace(Lt,Wt).replace(Vt,jt)),this.path&&(this.path=this.path.replace(Vt,jt)),this.query&&(this.query=this.query.replace(Vt,jt)),this.fragment&&(this.fragment=this.fragment.replace(Vt,jt))},/%[0-9a-z]{2}/gi),kt=/[a-zA-Z0-9\-\._~]/,Lt=/(.*@)?([^@:]*)(:.*)?/;function jt(e){var t=unescape(e);return kt.test(t)?t:e.toUpperCase()}function Wt(e,t,n,r){return(t||"")+n.toLowerCase()+(r||"")}function Yt(e,t){if(null===e||"object"!=typeof e)return e;t=M.defaultValue(t,!1);var n,r,a=new e.constructor;for(n in e)e.hasOwnProperty(n)&&(r=e[n],t&&(r=Yt(r,t)),a[n]=r);return a}function Ht(e,t){var n;return"undefined"!=typeof document&&(n=document),Ht._implementation(e,t,n)}o.prototype.resolve=function(e){var t=new o;return this.scheme?(t.scheme=this.scheme,t.authority=this.authority,t.path=this.path,t.query=this.query):(t.scheme=e.scheme,this.authority?(t.authority=this.authority,t.path=this.path,t.query=this.query):(t.authority=e.authority,""==this.path?(t.path=e.path,t.query=this.query||e.query):("/"==this.path.charAt(0)?t.path=this.path:e.authority&&""==e.path?t.path="/"+this.path:t.path=e.path.substring(0,e.path.lastIndexOf("/")+1)+this.path,t.removeDotSegments(),t.query=this.query))),t.fragment=this.fragment,t},o.prototype.removeDotSegments=function(){var e,t=this.path.split("/"),n=[],r=""==t[0];for(r&&t.shift(),""==t[0]&&t.shift();t.length;)".."==(e=t.shift())?n.pop():"."!=e&&n.push(e);"."!=e&&".."!=e||n.push(""),r&&n.unshift(""),this.path=n.join("/")},o.prototype.toString=function(){var e="";return this.scheme&&(e+=this.scheme+":"),this.authority&&(e+="//"+this.authority),e+=this.path,this.query&&(e+="?"+this.query),this.fragment&&(e+="#"+this.fragment),e},Ht._implementation=function(e,t,n){if(!M.defined(t)){if(void 0===n)return e;t=M.defaultValue(n.baseURI,n.location.href)}n=new o(t);return new o(e).resolve(n).toString()};var l,Jt=/^blob:/i;function Xt(e){return Jt.test(e)}var Gt=/^data:/i;function Zt(e){return Gt.test(e)}var h=Object.freeze({UNISSUED:0,ISSUED:1,ACTIVE:2,RECEIVED:3,CANCELLED:4,FAILED:5}),Qt=Object.freeze({TERRAIN:0,IMAGERY:1,TILES3D:2,OTHER:3});function Kt(e){e=M.defaultValue(e,M.defaultValue.EMPTY_OBJECT);var t=M.defaultValue(e.throttleByServer,!1),n=M.defaultValue(e.throttle,!1);this.url=e.url,this.requestFunction=e.requestFunction,this.cancelFunction=e.cancelFunction,this.priorityFunction=e.priorityFunction,this.priority=M.defaultValue(e.priority,0),this.throttle=n,this.throttleByServer=t,this.type=M.defaultValue(e.type,Qt.OTHER),this.serverKey=void 0,this.state=h.UNISSUED,this.deferred=void 0,this.cancelled=!1}function $t(e,t,n){this.statusCode=e,this.response=t,this.responseHeaders=n,"string"==typeof this.responseHeaders&&(this.responseHeaders=function(e){var t={};if(e)for(var n=e.split("\r\n"),r=0;r<n.length;++r){var a,i=n[r],s=i.indexOf(": ");0<s&&(a=i.substring(0,s),i=i.substring(s+2),t[a]=i)}return t}(this.responseHeaders))}function en(){this._listeners=[],this._scopes=[],this._toRemove=[],this._insideRaiseEvent=!1}function tn(e,t){return t-e}function nn(e){this._comparator=e.comparator,this._array=[],this._length=0,this._maximumLength=void 0}function rn(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}Kt.prototype.cancel=function(){this.cancelled=!0},Kt.prototype.clone=function(e){return M.defined(e)?(e.url=this.url,e.requestFunction=this.requestFunction,e.cancelFunction=this.cancelFunction,e.priorityFunction=this.priorityFunction,e.priority=this.priority,e.throttle=this.throttle,e.throttleByServer=this.throttleByServer,e.type=this.type,e.serverKey=this.serverKey,e.state=this.RequestState.UNISSUED,e.deferred=void 0,e.cancelled=!1,e):new Kt(this)},$t.prototype.toString=function(){var e="Request has failed.";return M.defined(this.statusCode)&&(e+=" Status Code: "+this.statusCode),e},Object.defineProperties(en.prototype,{numberOfListeners:{get:function(){return this._listeners.length-this._toRemove.length}}}),en.prototype.addEventListener=function(e,t){this._listeners.push(e),this._scopes.push(t);var n=this;return function(){n.removeEventListener(e,t)}},en.prototype.removeEventListener=function(e,t){for(var n=this._listeners,r=this._scopes,a=-1,i=0;i<n.length;i++)if(n[i]===e&&r[i]===t){a=i;break}return-1!==a&&(this._insideRaiseEvent?(this._toRemove.push(a),n[a]=void 0,r[a]=void 0):(n.splice(a,1),r.splice(a,1)),!0)},en.prototype.raiseEvent=function(){this._insideRaiseEvent=!0;for(var e=this._listeners,t=this._scopes,n=e.length,r=0;r<n;r++){var a=e[r];M.defined(a)&&e[r].apply(t[r],arguments)}var i=this._toRemove;if(0<(n=i.length)){for(i.sort(tn),r=0;r<n;r++){var s=i[r];e.splice(s,1),t.splice(s,1)}i.length=0}this._insideRaiseEvent=!1},Object.defineProperties(nn.prototype,{length:{get:function(){return this._length}},internalArray:{get:function(){return this._array}},maximumLength:{get:function(){return this._maximumLength},set:function(e){var t=this._length;if(e<t){for(var n=this._array,r=e;r<t;++r)n[r]=void 0;this._length=e,n.length=e}this._maximumLength=e}},comparator:{get:function(){return this._comparator}}}),nn.prototype.reserve=function(e){e=M.defaultValue(e,this._length),this._array.length=e},nn.prototype.heapify=function(e){e=M.defaultValue(e,0);for(var t=this._length,n=this._comparator,r=this._array,a=-1,i=!0;i;){var s=2*(e+1),o=s-1,a=o<t&&n(r[o],r[e])<0?o:e;(a=s<t&&n(r[s],r[a])<0?s:a)!==e?(rn(r,a,e),e=a):i=!1}},nn.prototype.resort=function(){for(var e=this._length,t=Math.ceil(e/2);0<=t;--t)this.heapify(t)},nn.prototype.insert=function(e){var t,n=this._array,r=this._comparator,a=this._maximumLength,i=this._length++;for(i<n.length?n[i]=e:n.push(e);0!==i;){var s=Math.floor((i-1)/2);if(!(r(n[i],n[s])<0))break;rn(n,i,s),i=s}return M.defined(a)&&this._length>a&&(t=n[a],this._length=a),t},nn.prototype.pop=function(e){var t,n;if(e=M.defaultValue(e,0),0!==this._length)return n=(t=this._array)[e],rn(t,e,--this._length),this.heapify(e),t[this._length]=void 0,n};var m={numberOfAttemptedRequests:0,numberOfActiveRequests:0,numberOfCancelledRequests:0,numberOfCancelledActiveRequests:0,numberOfFailedRequests:0,numberOfActiveRequestsEver:0,lastNumberOfActiveRequests:0},an=20,A=new nn({comparator:function(e,t){return e.priority-t.priority}}),C=(A.maximumLength=an,A.reserve(an),[]),E={},sn="undefined"!=typeof document?new o(document.location.href):new o,on=new en;function _(){}function un(e){M.defined(e.priorityFunction)&&(e.priority=e.priorityFunction())}function ln(e){return e.state===h.UNISSUED&&(e.state=h.ISSUED,e.deferred=M.when.defer()),e.deferred.promise}function cn(e){var t,n,r=ln(e);return e.state=h.ACTIVE,C.push(e),++m.numberOfActiveRequests,++m.numberOfActiveRequestsEver,++E[e.serverKey],e.requestFunction().then((n=e,function(e){var t;n.state!==h.CANCELLED&&(t=n.deferred,--m.numberOfActiveRequests,--E[n.serverKey],on.raiseEvent(),n.state=h.RECEIVED,n.deferred=void 0,t.resolve(e))})).otherwise((t=e,function(e){t.state!==h.CANCELLED&&(++m.numberOfFailedRequests,--m.numberOfActiveRequests,--E[t.serverKey],on.raiseEvent(e),t.state=h.FAILED,t.deferred.reject(e))})),r}function dn(e){var t,n=e.state===h.ACTIVE;e.state=h.CANCELLED,++m.numberOfCancelledRequests,M.defined(e.deferred)&&(t=e.deferred,e.deferred=void 0,t.reject()),n&&(--m.numberOfActiveRequests,--E[e.serverKey],++m.numberOfCancelledActiveRequests),M.defined(e.cancelFunction)&&e.cancelFunction()}_.maximumRequests=50,_.maximumRequestsPerServer=6,_.requestsByServer={"api.cesium.com:443":18,"assets.cesium.com:443":18},_.throttleRequests=!0,_.debugShowStatistics=!1,_.requestCompletedEvent=on,Object.defineProperties(_,{statistics:{get:function(){return m}},priorityHeapLength:{get:function(){return an},set:function(e){if(e<an)for(;A.length>e;)dn(A.pop());an=e,A.maximumLength=e,A.reserve(e)}}}),_.serverHasOpenSlots=function(e,t){t=M.defaultValue(t,1);var n=M.defaultValue(_.requestsByServer[e],_.maximumRequestsPerServer);return E[e]+t<=n},_.heapHasOpenSlots=function(e){return A.length+e<=an},_.update=function(){for(var e,t=0,n=C.length,r=0;r<n;++r)(e=C[r]).cancelled&&dn(e),e.state!==h.ACTIVE?++t:0<t&&(C[r-t]=e);C.length-=t;var a=A.internalArray,i=A.length;for(r=0;r<i;++r)un(a[r]);A.resort();for(var s=Math.max(_.maximumRequests-C.length,0),o=0;o<s&&0<A.length;)(e=A.pop()).cancelled||e.throttleByServer&&!_.serverHasOpenSlots(e.serverKey)?dn(e):(cn(e),++o);_.debugShowStatistics&&(0===m.numberOfActiveRequests&&0<m.lastNumberOfActiveRequests&&(0<m.numberOfAttemptedRequests&&(console.log("Number of attempted requests: "+m.numberOfAttemptedRequests),m.numberOfAttemptedRequests=0),0<m.numberOfCancelledRequests&&(console.log("Number of cancelled requests: "+m.numberOfCancelledRequests),m.numberOfCancelledRequests=0),0<m.numberOfCancelledActiveRequests&&(console.log("Number of cancelled active requests: "+m.numberOfCancelledActiveRequests),m.numberOfCancelledActiveRequests=0),0<m.numberOfFailedRequests)&&(console.log("Number of failed requests: "+m.numberOfFailedRequests),m.numberOfFailedRequests=0),m.lastNumberOfActiveRequests=m.numberOfActiveRequests)},_.getServerKey=function(e){var e=new o(e).resolve(sn),t=(e.normalize(),e.authority),e=(/:/.test(t)||(t=t+":"+("https"===e.scheme?"443":"80")),E[t]);return M.defined(e)||(E[t]=0),t},_.request=function(e){if(Zt(e.url)||Xt(e.url))return on.raiseEvent(),e.state=h.RECEIVED,e.requestFunction();if(++m.numberOfAttemptedRequests,M.defined(e.serverKey)||(e.serverKey=_.getServerKey(e.url)),!_.throttleRequests||!e.throttleByServer||_.serverHasOpenSlots(e.serverKey)){if(!_.throttleRequests||!e.throttle)return cn(e);if(!(C.length>=_.maximumRequests)){un(e);var t=A.insert(e);if(M.defined(t)){if(t===e)return;dn(t)}return ln(e)}}},_.clearForSpecs=function(){for(;0<A.length;)dn(A.pop());for(var e=C.length,t=0;t<e;++t)dn(C[t]);C.length=0,E={},m.numberOfAttemptedRequests=0,m.numberOfActiveRequests=0,m.numberOfCancelledRequests=0,m.numberOfCancelledActiveRequests=0,m.numberOfFailedRequests=0,m.numberOfActiveRequestsEver=0,m.lastNumberOfActiveRequests=0},_.numberOfActiveRequestsByServer=function(e){return E[e]},_.requestHeap=A;var fn={},pn={};function S(){}function O(){}fn.add=function(e,t){e=e.toLowerCase()+":"+t;M.defined(pn[e])||(pn[e]=!0)},fn.remove=function(e,t){e=e.toLowerCase()+":"+t;M.defined(pn[e])&&delete pn[e]},fn.contains=function(e){e=function(e){(e=new o(e)).normalize();var t=e.getAuthority();if(M.defined(t)){if(-1===(t=-1!==t.indexOf("@")?t.split("@")[1]:t).indexOf(":")){e=e.getScheme();if("http"===(e=M.defined(e)?e:(e=window.location.protocol).substring(0,e.length-1)))t+=":80";else{if("https"!==e)return;t+=":443"}}return t}}(e);return!(!M.defined(e)||!M.defined(pn[e]))},fn.clear=function(){pn={}},S.getBaseUrlAndParams=function(e){var t,n=[],e=e.split("?");if(0===e.length)throw new Error("url传入不合法");return 1===e.length?t=e[0]:(t=e[0],n=e[1].split("&").map(function(e){var t=[],n=/(\w+)=(\w+='[^']+')/;return e.match(n)?(t[0]=e.match(n)[1],t[1]=e.match(n)[2]):t=e.split("="),{key:t[0],value:t[1]}}),3<=e.length&&console.err("url有多个'?'连接符,不合法")),{baseUrl:t,params:n}},S.spliceBaseUrlAndParams=function(t,e){return 0!==e.length&&(-1<t.indexOf("?")?e.forEach(function(e){t=t+"&"+e.key+"="+e.value}):(t=t+"?"+e[0].key+"="+e[0].value,e.splice(0,1),e.forEach(function(e){t=t+"&"+e.key+"="+e.value}))),t},S.getBaseUrlFromQAndSlash=function(e){var t,n,r=e.indexOf("?"),a=e.indexOf("/",r),i=e.indexOf("?",a);return-1!==r&&-1!==a&&-1!==i?(t=e.substring(r+1,a),n=e.substring(a),e.substring(0,r)+n+"&"+t):-1!==r&&-1!==a&&-1===i?(t=e.substring(r+1,a),n=e.substring(a),e.substring(0,r)+n+"?"+t):e},S.getBaseUrlFromQAndQ=function(e){return e.replace(/\?(.*?)(\?)(.*)/,"?$3&$1")},S.correctUrl=function(e){var t,n,r,a,i,s=e.match(/\?/g);if(!s)return a=e;if(1===s.length||2===s.length){if(3!==(e=e.match(/^(.*?)(\?.*)$/)).length)throw new Error("传入url不符合标准规范,请检查");if(t=e[1],i=(e=e[2]).match(/\/([^&^?]+)/),i=-1<e.indexOf("gdbp=gdbp://")||-1<e.indexOf("gdbpUrl=")||-1<e.indexOf("gdbps=")?null:i){if(!(i=i[0]))throw new Error("传入url不符合标准规范,请检查");n=t+i,i=e.replace(i,""),r=1===s.length?i:i.replace(/\?(?!.*\?)/,"&")}else n=t,r=1===s.length?e:e.replace(/\?(?!.*\?)/,"&");a=n+r}if(2<s.length)throw new Error("传入url不符合标准规范,请检查");return a},S.getExtensionsString=function(e){var e=M.defaultValue(e,[]),e=S.deleteNullExtension(e),t="";return e instanceof Array&&e.forEach(function(e){t+=e.key+"="+e.value+"&"}),t=0<t.length?t.substring(0,t.length-1):t},S.deleteNullExtension=function(e){e=M.defaultValue(e,[]);var t=[];return e instanceof Array&&e.forEach(function(e){S.defined(e.key)&&S.defined(e.value)&&t.push(e)}),t},S.defined=function(e){return null!=e&&""!==e},O.ServiceConfigRequestInterceptors=function(e,t){t=M.defaultValue(t,"");var n=e.request.interceptors,r=decodeURI(t);if(n&&n instanceof Array)for(var a="",i=0;i<n.length;i++){var s,o,u=n[i].urls,l=n[i].before;if(u){if("string"==typeof u)o=decodeURI(u),-1<r.indexOf(o)&&l&&l instanceof Function&&(s=l(t))&&(a+=s);else if(u instanceof Array)for(var c=0;c<u.length;c++)o=decodeURI(u[c]),-1<r.indexOf(o)&&l&&l instanceof Function&&(s=l(t))&&(a+=s)}else l&&l instanceof Function&&(s=l(t))&&(a+=s);a&&(t=a)}return t},O.ServiceConfigResponseInterceptors=function(e,t,n){if(t=M.defaultValue(t,""),e&&e.request&&e.request.interceptors){var r=e.request.interceptors,a=decodeURI(t);if(r&&r instanceof Array)for(var i=0;i<r.length;i++){var s,o,u=r[i].urls,l=r[i].after;if(!u||u instanceof Array&&0===u.length){if(l&&l instanceof Function&&(s=l(n)))return s}else if("string"==typeof u){if(o=decodeURI(u),-1<a.indexOf(o)&&l&&l instanceof Function&&(s=l(n)))return s}else if(u instanceof Array)for(var c=0;c<u.length;c++)if(o=decodeURI(u[c]),-1<a.indexOf(o)&&l&&l instanceof Function&&(s=l(n)))return s}return n}},O.ServiceConfigToken=function(e){var t="";return t=e&&e.tokenKey&&e.tokenValue?e.tokenKey+"="+e.tokenValue:t},O.AnalysisConfigToUrl=function(e,t){return e&&e.tokenKey&&e.tokenValue&&(-1<t.indexOf("?")?t+="&"+O.ServiceConfigToken(e):t+="?"+O.ServiceConfigToken(e)),t=e&&e.request&&e.request.interceptors?O.ServiceConfigRequestInterceptors(e,t):t};function hn(e){hn.instance={tokenKey:e.tokenKey,tokenValue:e.tokenValue,headers:e.headers,request:e.request}}var mn,yn=function(){try{var e=new XMLHttpRequest;return e.open("GET","#",!0),(e.responseType="blob")===e.responseType}catch(e){return!1}}();function An(e,t,n,r){var a,i=e.query;M.defined(i)&&0!==i.length&&(a=-1===i.indexOf("=")?((a={})[i]=void 0,a):function(e){var t={};if(""!==e)for(var n=e.replace(/\+/g,"%20").split(/[&]/),r=0,a=n.length;r<a;++r){var i=n[r].indexOf("="),s=n[r].substring(0,i),s=decodeURIComponent(s),i=n[r].substring(i+1,n[r].length),i=M.defined(i)?decodeURIComponent(i):"",o=t[s];"string"==typeof o?t[s]=[o,i]:Array.isArray(o)?o.push(i):t[s]=i}return t}(i),t._queryParameters=n?wn(a,t._queryParameters,r):a,e.query=void 0)}function Cn(e,t){var t=t._queryParameters,n=Object.keys(t);1!==n.length||M.defined(t[n[0]])?e.query=function(e){var t,n="";for(t in e)if(e.hasOwnProperty(t)){var r=e[t],a=encodeURIComponent(t)+"=";if(Array.isArray(r))for(var i=0,s=r.length;i<s;++i)n+=a+encodeURIComponent(r[i])+"&";else n+=a+encodeURIComponent(r)+"&"}return n=n.slice(0,-1)}(t):e.query=n[0]}function R(e,t){return M.defined(e)?M.defined(e.clone)?e.clone():Yt(e):t}function gn(e){if(e.state===h.ISSUED||e.state===h.ACTIVE)throw new y.RuntimeError("The Resource is already being fetched.");e.state=h.UNISSUED,e.deferred=void 0}function wn(e,t,n){if(!n)return N.combine(e,t);var r,a,i,s=Yt(e,!0);for(r in t)t.hasOwnProperty(r)&&(a=s[r],i=t[r],M.defined(a)?(Array.isArray(a)||(a=s[r]=[a]),s[r]=a.concat(i)):s[r]=Array.isArray(i)?i.slice():i);return s}function b(e){"string"==typeof(e=M.defaultValue(e,M.defaultValue.EMPTY_OBJECT))&&(e={url:e}),this._url=void 0,this._templateValues=R(e.templateValues,{}),this._queryParameters=R(e.queryParameters,{}),this.headers=R(e.headers,{}),this.request=M.defaultValue(e.request,new Kt),this.proxy=e.proxy,this.retryCallback=e.retryCallback,this.retryAttempts=M.defaultValue(e.retryAttempts,0),this._retryCount=0,e.url=S.correctUrl(e.url);e=new o(e.url);An(e,this,!0,!0),e.fragment=void 0,this._url=e.toString()}function vn(e){var n=e.resource,r=e.flipY,a=e.skipColorSpaceConversion,i=e.preferImageBitmap,s=n.request,e=(s.url=n.url,s.requestFunction=function(){var e=!1,t=(n.isDataUri||n.isBlobUri||(e=n.isCrossOriginUrl),M.when.defer());return b._Implementations.createImage(s,e,t,r,a,i),t.promise},_.request(s));if(M.defined(e))return e.otherwise(function(t){return s.state!==h.FAILED?M.when.reject(t):n.retryOnError(t).then(function(e){return e?(s.state=h.UNISSUED,s.deferred=void 0,vn({resource:n,flipY:r,skipColorSpaceConversion:a,preferImageBitmap:i})):M.when.reject(t)})})}b.createIfNeeded=function(e){return e instanceof b?e.getDerivedResource({request:e.request}):"string"!=typeof e?e:new b({url:e})},b.supportsImageBitmapOptions=function(){if(!M.defined(mn)){if("function"!=typeof createImageBitmap)return mn=M.when.resolve(!1);mn=b.fetchBlob({url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWP4////fwAJ+wP9CNHoHgAAAABJRU5ErkJggg=="}).then(function(e){return createImageBitmap(e,{imageOrientation:"flipY",premultiplyAlpha:"none",colorSpaceConversion:"none"})}).then(function(e){return!0}).otherwise(function(){return!1})}return mn},Object.defineProperties(b,{isBlobSupported:{get:function(){return yn}}}),Object.defineProperties(b.prototype,{queryParameters:{get:function(){return this._queryParameters}},templateValues:{get:function(){return this._templateValues}},url:{get:function(){return this.getUrlComponent(!0,!0)},set:function(e){e=new o(e=S.correctUrl(e));An(e,this,!1),e.fragment=void 0,this._url=e.toString()}},extension:{get:function(){return(e=new o(e=this._url)).normalize(),e=-1===(t=(e=-1!==(t=(e=e.path).lastIndexOf("/"))?e.substr(t+1):e).lastIndexOf("."))?"":e.substr(t+1);var e,t}},isDataUri:{get:function(){return Zt(this._url)}},isBlobUri:{get:function(){return Xt(this._url)}},isCrossOriginUrl:{get:function(){return e=this._url,(l=M.defined(l)?l:document.createElement("a")).href=window.location.href,t=l.host,n=l.protocol,l.href=e,l.href=l.href,n!==l.protocol||t!==l.host;var e,t,n}},hasHeaders:{get:function(){return 0<Object.keys(this.headers).length}}}),b.prototype.toString=function(){return this.getUrlComponent(!0,!0)},b.prototype.getUrlComponent=function(e,t){var n,r;return this.isDataUri?this._url:(n=new o(this._url),e&&Cn(n,this),e=-1<n.path.indexOf("/igs/rest/mrcs/docs/")||-1<n.path.indexOf("/igs/rest/mrfs/docs/")||-1<n.path.indexOf("/igs/rest/mrfs/layer/query")?n.toString():n.toString().replace(/%7B/g,"{").replace(/%7D/g,"}"),r=this._templateValues,e=e.replace(/{(.*?)}/g,function(e,t){t=r[t];return M.defined(t)?encodeURIComponent(t):e}),t&&M.defined(this.proxy)?this.proxy.getURL(e):e)},b.prototype.setQueryParameters=function(e,t){this._queryParameters=t?wn(this._queryParameters,e,!1):wn(e,this._queryParameters,!1)},b.prototype.appendQueryParameters=function(e){this._queryParameters=wn(e,this._queryParameters,!0)},b.prototype.setTemplateValues=function(e,t){this._templateValues=t?N.combine(this._templateValues,e):N.combine(e,this._templateValues)},b.prototype.getDerivedResource=function(e){var t,n=this.clone();return n._retryCount=0,M.defined(e.url)&&(e.url=S.correctUrl(e.url),An(t=new o(e.url),n,!0,M.defaultValue(e.preserveQueryParameters,!1)),t.fragment=void 0,n._url=t.resolve(new o(Ht(this._url))).toString()),M.defined(e.queryParameters)&&(n._queryParameters=N.combine(e.queryParameters,n._queryParameters)),M.defined(e.templateValues)&&(n._templateValues=N.combine(e.templateValues,n.templateValues)),M.defined(e.headers)&&(n.headers=N.combine(e.headers,n.headers)),M.defined(e.proxy)&&(n.proxy=e.proxy),M.defined(e.request)&&(n.request=e.request),M.defined(e.retryCallback)&&(n.retryCallback=e.retryCallback),M.defined(e.retryAttempts)&&(n.retryAttempts=e.retryAttempts),n},b.prototype.retryOnError=function(e){var t,n=this.retryCallback;return"function"!=typeof n||this._retryCount>=this.retryAttempts?M.when(!1):M.when(n(t=this,e)).then(function(e){return++t._retryCount,e})},b.prototype.clone=function(e){return(e=M.defined(e)?e:new b({url:this._url}))._url=this._url,e._queryParameters=Yt(this._queryParameters),e._templateValues=Yt(this._templateValues),e.headers=Yt(this.headers),e.proxy=this.proxy,e.retryCallback=this.retryCallback,e.retryAttempts=this.retryAttempts,e._retryCount=0,e.request=this.request.clone(),e},b.prototype.getBaseUri=function(e){return t=this.getUrlComponent(e),e=e,n="",-1!==(r=t.lastIndexOf("/"))&&(n=t.substring(0,r+1)),e&&(t=new o(t),M.defined(t.query)&&(n+="?"+t.query),M.defined(t.fragment))&&(n+="#"+t.fragment),n;var t,n,r},b.prototype.appendForwardSlash=function(){var e;this._url=(0!==(e=this._url).length&&"/"===e[e.length-1]||(e+="/"),e)},b.prototype.fetchArrayBuffer=function(){return this.fetch({responseType:"arraybuffer"})},b.fetchArrayBuffer=function(e){return new b(e).fetchArrayBuffer()},b.prototype.fetchBlob=function(){return this.fetch({responseType:"blob"})},b.fetchBlob=function(e){return new b(e).fetchBlob()},b.prototype.fetchImage=function(e){e=M.defaultValue(e,M.defaultValue.EMPTY_OBJECT);var t,n,r,a,i=M.defaultValue(e.preferImageBitmap,!1),s=M.defaultValue(e.preferBlob,!1),o=M.defaultValue(e.flipY,!1),u=M.defaultValue(e.skipColorSpaceConversion,!1);return gn(this.request),!yn||this.isDataUri||this.isBlobUri||!this.hasHeaders&&!s?vn({resource:this,flipY:o,skipColorSpaceConversion:u,preferImageBitmap:i}):(t=this.fetchBlob(),M.defined(t)?b.supportsImageBitmapOptions().then(function(e){return n=e&&i,t}).then(function(e){if(M.defined(e))return a=e,n?1===e.size?vn({resource:r=new b({url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEVSURBVHhe7cExAQAAAMKg9U/tawggAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABODQE8AAH/Cno5AAAAAElFTkSuQmCC"}),flipY:o,preferImageBitmap:!1}):b.createImageBitmapFromBlob(e,{flipY:o,premultiplyAlpha:!1,skipColorSpaceConversion:u}):(e=window.URL.createObjectURL(e),vn({resource:r=new b({url:e}),flipY:o,skipColorSpaceConversion:u,preferImageBitmap:!1}))}).then(function(e){if(M.defined(e))return e.blob=a,n||window.URL.revokeObjectURL(r.url),e}).otherwise(function(e){return M.defined(r)&&window.URL.revokeObjectURL(r.url),e.blob=a,M.when.reject(e)}):void 0)},b.fetchImage=function(e){return new b(e).fetchImage({flipY:e.flipY,skipColorSpaceConversion:e.skipColorSpaceConversion,preferBlob:e.preferBlob,preferImageBitmap:e.preferImageBitmap})},b.prototype.fetchText=function(){return this.fetch({responseType:"text"})},b.fetchText=function(e){return new b(e).fetchText()},b.prototype.fetchJson=function(){var e=this.fetch({responseType:"text",headers:{Accept:"application/json,*/*;q=0.01"}});if(M.defined(e))return e.then(function(e){if(M.defined(e))return JSON.parse(e)})},b.fetchJson=function(e){return new b(e).fetchJson()},b.prototype.fetchXML=function(){return this.fetch({responseType:"document",overrideMimeType:"text/xml"})},b.fetchXML=function(e){return new b(e).fetchXML()},b.prototype.fetchJsonp=function(e){var t;for(e=M.defaultValue(e,"callback"),gn(this.request);t="loadJsonp"+Math.random().toString().substring(2,8),M.defined(window[t]););return function n(r,a,i){var e={};e[a]=i;r.setQueryParameters(e);var s=r.request;s.url=r.url;s.requestFunction=function(){var t=M.when.defer();return window[i]=function(e){t.resolve(e);try{delete window[i]}catch(e){window[i]=void 0}},b._Implementations.loadAndExecuteScript(r.url,i,t),t.promise};e=_.request(s);if(!M.defined(e))return;return e.otherwise(function(t){return s.state!==h.FAILED?M.when.reject(t):r.retryOnError(t).then(function(e){return e?(s.state=h.UNISSUED,s.deferred=void 0,n(r,a,i)):M.when.reject(t)})})}(this,e,t)},b.fetchJsonp=function(e){return new b(e).fetchJsonp(e.callbackParameterName)},b.prototype._makeRequest=function(o){var u=this,l=(gn(u.request),u.request),e=(l.url=u.url,l.requestFunction=function(){var e=o.responseType,t=N.combine(o.headers,u.headers),n=o.overrideMimeType,r=o.method,a=o.data,i=M.when.defer(),s=b._Implementations.loadWithXhr(u.url,e,r,a,t,i,n);return M.defined(s)&&M.defined(s.abort)&&(l.cancelFunction=function(){s.abort()}),i.promise},_.request(l));if(M.defined(e))return e.then(function(e){return l.cancelFunction=void 0,e}).otherwise(function(t){return l.cancelFunction=void 0,l.state!==h.FAILED?M.when.reject(t):u.retryOnError(t).then(function(e){return e?(l.state=h.UNISSUED,l.deferred=void 0,u.fetch(o)):M.when.reject(t)})})};var xn=/^data:(.*?)(;base64)?,(.*)$/;function En(e,t){t=decodeURIComponent(t);return e?atob(t):t}function _n(e,t){for(var n=En(e,t),e=new ArrayBuffer(n.length),r=new Uint8Array(e),a=0;a<n.length;a++)r[a]=n.charCodeAt(a);return e}function Sn(e,t){switch(t){case"text":return e.toString("utf8");case"json":return JSON.parse(e.toString("utf8"));default:return new Uint8Array(e).buffer}}b.prototype.fetch=function(e){return(e=R(e,{})).method="GET",this._makeRequest(e)},b.fetch=function(e){return new b(e).fetch({responseType:e.responseType,overrideMimeType:e.overrideMimeType})},b.prototype.delete=function(e){return(e=R(e,{})).method="DELETE",this._makeRequest(e)},b.delete=function(e){return new b(e).delete({responseType:e.responseType,overrideMimeType:e.overrideMimeType,data:e.data})},b.prototype.head=function(e){return(e=R(e,{})).method="HEAD",this._makeRequest(e)},b.head=function(e){return new b(e).head({responseType:e.responseType,overrideMimeType:e.overrideMimeType})},b.prototype.options=function(e){return(e=R(e,{})).method="OPTIONS",this._makeRequest(e)},b.options=function(e){return new b(e).options({responseType:e.responseType,overrideMimeType:e.overrideMimeType})},b.prototype.post=function(e,t){return y.Check.defined("data",e),(t=R(t,{})).method="POST",t.data=e,this._makeRequest(t)},b.post=function(e){return new b(e).post(e.data,{responseType:e.responseType,overrideMimeType:e.overrideMimeType})},b.prototype.put=function(e,t){return y.Check.defined("data",e),(t=R(t,{})).method="PUT",t.data=e,this._makeRequest(t)},b.put=function(e){return new b(e).put(e.data,{responseType:e.responseType,overrideMimeType:e.overrideMimeType})},b.prototype.patch=function(e,t){return y.Check.defined("data",e),(t=R(t,{})).method="PATCH",t.data=e,this._makeRequest(t)},b.patch=function(e){return new b(e).patch(e.data,{responseType:e.responseType,overrideMimeType:e.overrideMimeType})},(b._Implementations={}).createImage=function(s,o,u,l,c,d){var f=s.url;b.supportsImageBitmapOptions().then(function(e){var t,n,r,a,i;if(e&&d)return e=M.defaultValue(s.httpMethod,"GET"),r=s.headers,a=M.when.defer(),i=b._Implementations.loadWithXhr(f,"blob",e,s.data,r,a,void 0,void 0,void 0),M.defined(i)&&M.defined(i.abort)&&(s.cancelFunction=function(){i.abort()}),a.promise.then(function(e){if(M.defined(e))return b.createImageBitmapFromBlob(e,{flipY:l,premultiplyAlpha:!1,skipColorSpaceConversion:c});u.reject(new y.RuntimeError("Successfully retrieved "+f+" but it contained no content."))}).then(u.resolve);e=f,r=o,t=u,(n=new Image).onload=function(){t.resolve(n)},n.onerror=function(e){t.reject(e)},r&&(fn.contains(e)?n.crossOrigin="use-credentials":n.crossOrigin=""),n.src=e}).otherwise(u.reject)},b.createImageBitmapFromBlob=function(e,t){return y.Check.defined("options",t),y.Check.typeOf.bool("options.flipY",t.flipY),y.Check.typeOf.bool("options.premultiplyAlpha",t.premultiplyAlpha),y.Check.typeOf.bool("options.skipColorSpaceConversion",t.skipColorSpaceConversion),createImageBitmap(e,{imageOrientation:t.flipY?"flipY":"none",premultiplyAlpha:t.premultiplyAlpha?"premultiply":"none",colorSpaceConversion:t.skipColorSpaceConversion?"none":"default"})};var On="undefined"==typeof XMLHttpRequest;function Rn(e){var t,n;e=M.defaultValue(e,M.defaultValue.EMPTY_OBJECT),this._dates=void 0,this._samples=void 0,this._dateColumn=-1,this._xPoleWanderRadiansColumn=-1,this._yPoleWanderRadiansColumn=-1,this._ut1MinusUtcSecondsColumn=-1,this._xCelestialPoleOffsetRadiansColumn=-1,this._yCelestialPoleOffsetRadiansColumn=-1,this._taiMinusUtcSecondsColumn=-1,this._columnCount=0,this._lastIndex=-1,this._downloadPromise=void 0,this._dataError=void 0,this._addNewLeapSeconds=M.defaultValue(e.addNewLeapSeconds,!0),M.defined(e.data)?qn(this,e.data):M.defined(e.url)?(t=b.createIfNeeded(e.url),(n=this)._downloadPromise=t.fetchJson().then(function(e){qn(n,e)}).otherwise(function(){n._dataError="An error occurred while retrieving the EOP data from the URL "+t.url+"."})):qn(this,{columnNames:["dateIso8601","modifiedJulianDateUtc","xPoleWanderRadians","yPoleWanderRadians","ut1MinusUtcSeconds","lengthOfDayCorrectionSeconds","xCelestialPoleOffsetRadians","yCelestialPoleOffsetRadians","taiMinusUtcSeconds"],samples:[]})}function bn(e,t){return x.compare(e.julianDate,t)}function qn(e,t){if(M.defined(t.columnNames))if(M.defined(t.samples)){var n=t.columnNames.indexOf("modifiedJulianDateUtc"),r=t.columnNames.indexOf("xPoleWanderRadians"),a=t.columnNames.indexOf("yPoleWanderRadians"),i=t.columnNames.indexOf("ut1MinusUtcSeconds"),s=t.columnNames.indexOf("xCelestialPoleOffsetRadians"),o=t.columnNames.indexOf("yCelestialPoleOffsetRadians"),u=t.columnNames.indexOf("taiMinusUtcSeconds");if(n<0||r<0||a<0||i<0||s<0||o<0||u<0)e._dataError="Error in loaded EOP data: The columnNames property must include modifiedJulianDateUtc, xPoleWanderRadians, yPoleWanderRadians, ut1MinusUtcSeconds, xCelestialPoleOffsetRadians, yCelestialPoleOffsetRadians, and taiMinusUtcSeconds columns";else for(var l,c=e._samples=t.samples,d=e._dates=[],f=(e._dateColumn=n,e._xPoleWanderRadiansColumn=r,e._yPoleWanderRadiansColumn=a,e._ut1MinusUtcSecondsColumn=i,e._xCelestialPoleOffsetRadiansColumn=s,e._yCelestialPoleOffsetRadiansColumn=o,e._taiMinusUtcSecondsColumn=u,e._columnCount=t.columnNames.length,e._lastIndex=void 0,e._addNewLeapSeconds),p=0,h=c.length;p<h;p+=e._columnCount){var m,y,A=c[p+n],C=c[p+u],A=new x(A+w.MODIFIED_JULIAN_DATE_DIFFERENCE,C,v.TAI);d.push(A),f&&(C!==l&&M.defined(l)&&(y=At(m=x.leapSeconds,A,bn))<0&&(A=new g(A,C),m.splice(~y,0,A)),l=C)}}else e._dataError="Error in loaded EOP data: The samples property is required.";else e._dataError="Error in loaded EOP data: The columnNames property is required."}function Mn(e,t,n,r,a){n*=r;a.xPoleWander=t[n+e._xPoleWanderRadiansColumn],a.yPoleWander=t[n+e._yPoleWanderRadiansColumn],a.xPoleOffset=t[n+e._xCelestialPoleOffsetRadiansColumn],a.yPoleOffset=t[n+e._yCelestialPoleOffsetRadiansColumn],a.ut1MinusUtc=t[n+e._ut1MinusUtcSecondsColumn]}function Tn(e,t,n){return t+e*(n-t)}function In(e,t,n,r,a,i,s){var o,u,l,c,d=e._columnCount;i>t.length-1?(s.xPoleWander=0,s.yPoleWander=0,s.xPoleOffset=0,s.yPoleOffset=0,s.ut1MinusUtc=0):(o=t[a]).equals(t=t[i])||r.equals(o)?Mn(e,n,a,d,s):r.equals(t)?Mn(e,n,i,d,s):(o=x.secondsDifference(r,o)/x.secondsDifference(t,o),u=n[(a=a*d)+e._ut1MinusUtcSecondsColumn],(.5<(l=(d=n[(i=i*d)+e._ut1MinusUtcSecondsColumn])-u)||l<-.5)&&(l=n[a+e._taiMinusUtcSecondsColumn])!==(c=n[i+e._taiMinusUtcSecondsColumn])&&(t.equals(r)?u=d:d-=c-l),s.xPoleWander=Tn(o,n[a+e._xPoleWanderRadiansColumn],n[i+e._xPoleWanderRadiansColumn]),s.yPoleWander=Tn(o,n[a+e._yPoleWanderRadiansColumn],n[i+e._yPoleWanderRadiansColumn]),s.xPoleOffset=Tn(o,n[a+e._xCelestialPoleOffsetRadiansColumn],n[i+e._xCelestialPoleOffsetRadiansColumn]),s.yPoleOffset=Tn(o,n[a+e._yCelestialPoleOffsetRadiansColumn],n[i+e._yCelestialPoleOffsetRadiansColumn]),s.ut1MinusUtc=Tn(o,u,d))}function D(e,t,n){this.heading=M.defaultValue(e,0),this.pitch=M.defaultValue(t,0),this.roll=M.defaultValue(n,0)}b._Implementations.loadWithXhr=function(a,i,s,e,t,o,n){var u=hn.instance,r=xn.exec(a),l=t||void 0;if(u&&u.headers&&(l=N.combine(l||{},u.headers)),null!==r)o.resolve(function(e,t){t=M.defaultValue(t,"");var n=e[1],r=!!e[2],a=e[3];switch(t){case"":case"text":return En(r,a);case"arraybuffer":return _n(r,a);case"blob":var i=_n(r,a);return new Blob([i],{type:n});case"document":return(new DOMParser).parseFromString(En(r,a),n);case"json":return JSON.parse(En(r,a))}}(r,i));else{if(a=O.AnalysisConfigToUrl(u,a),!On){var c,d,f,p=new XMLHttpRequest;if(fn.contains(a)&&(p.withCredentials=!0),p.open(s,a,!0),M.defined(n)&&M.defined(p.overrideMimeType)&&p.overrideMimeType(n),M.defined(l))for(var h in l)l.hasOwnProperty(h)&&p.setRequestHeader(h,l[h]);M.defined(i)&&(p.responseType=i);var m=!1;return"string"==typeof a&&(m=0===a.indexOf("file://")||"undefined"!=typeof window&&"file://"===window.location.origin),p.onload=function(){if(!(p.status<200||300<=p.status)||m&&0===p.status){var e,n,t=p.response,r=p.responseType;if("HEAD"===s||"OPTIONS"===s)e=p.getAllResponseHeaders().trim().split(/[\r\n]+/),n={},e.forEach(function(e){var e=e.split(": "),t=e.shift();n[t]=e.join(": ")}),o.resolve(n),O.ServiceConfigResponseInterceptors(u,a,t);else if(204===p.status)o.resolve();else if(!M.defined(t)||M.defined(i)&&r!==i)if("json"===i&&"string"==typeof t)try{O.ServiceConfigResponseInterceptors(u,a,t),o.resolve(JSON.parse(t))}catch(e){o.reject(e)}else(""===r||"document"===r)&&M.defined(p.responseXML)&&p.responseXML.hasChildNodes()?(O.ServiceConfigResponseInterceptors(u,a,t),o.resolve(p.responseXML)):""!==r&&"text"!==r||!M.defined(p.responseText)?o.reject(new y.RuntimeError("Invalid XMLHttpRequest response type.")):(O.ServiceConfigResponseInterceptors(u,a,t),o.resolve(p.responseText));else o.resolve(t),O.ServiceConfigResponseInterceptors(u,a,t)}else o.reject(new $t(p.status,p.response,p.getAllResponseHeaders()))},p.onerror=function(e){o.reject(new $t)},p.send(e),p}t=a,c=i,r=s,n=l,d=o,e="https:"===(t=require("url").parse(t)).protocol?require("https"):require("http"),f=require("zlib"),t={protocol:t.protocol,hostname:t.hostname,port:t.port,path:t.path,query:t.query,method:r,headers:n},e.request(t).on("response",function(t){var n;t.statusCode<200||300<=t.statusCode?d.reject(new $t(t.statusCode,t,t.headers)):(n=[],t.on("data",function(e){n.push(e)}),t.on("end",function(){var e=Buffer.concat(n);"gzip"===t.headers["content-encoding"]?f.gunzip(e,function(e,t){e?d.reject(new y.RuntimeError("Error decompressing response.")):d.resolve(Sn(t,c))}):d.resolve(Sn(e,c))}))}).on("error",function(e){d.reject(new $t)}).end()}},b._Implementations.loadAndExecuteScript=function(e,t,n){return e=e,r=M.when.defer(),(a=document.createElement("script")).async=!0,a.src=e,i=document.getElementsByTagName("head")[0],a.onload=function(){a.onload=void 0,i.removeChild(a),r.resolve()},a.onerror=function(e){r.reject(e)},i.appendChild(a),r.promise.otherwise(n.reject);var r,a,i},(b._DefaultImplementations={}).createImage=b._Implementations.createImage,b._DefaultImplementations.loadWithXhr=b._Implementations.loadWithXhr,b._DefaultImplementations.loadAndExecuteScript=b._Implementations.loadAndExecuteScript,b.DEFAULT=Object.freeze(new b({url:"undefined"==typeof document?"":document.location.href.split("?")[0]})),Rn.NONE=Object.freeze({getPromiseToLoad:function(){return M.when.resolve()},compute:function(e,t){return M.defined(t)?(t.xPoleWander=0,t.yPoleWander=0,t.xPoleOffset=0,t.yPoleOffset=0,t.ut1MinusUtc=0):t=new Ct(0,0,0,0,0),t}}),Rn.prototype.getPromiseToLoad=function(){return M.when(this._downloadPromise)},Rn.prototype.compute=function(e,t){if(M.defined(this._samples)){if(M.defined(t)||(t=new Ct(0,0,0,0,0)),0===this._samples.length)t.xPoleWander=0,t.yPoleWander=0,t.xPoleOffset=0,t.yPoleOffset=0,t.ut1MinusUtc=0;else{var n=this._dates,r=this._lastIndex,a=0,i=0;if(M.defined(r)){var s=n[r],o=n[r+1],s=x.lessThanOrEquals(s,e),u=!M.defined(o),l=u||x.greaterThanOrEquals(o,e);if(s&&l)return a=r,!u&&o.equals(e)&&++a,In(this,n,this._samples,e,a,i=a+1,t),t}s=At(n,e,x.compare,this._dateColumn);0<=s?(s<n.length-1&&n[s+1].equals(e)&&++s,i=a=s):(a=(i=~s)-1)<0&&(a=0),this._lastIndex=a,In(this,n,this._samples,e,a,i,t)}return t}if(M.defined(this._dataError))throw new y.RuntimeError(this._dataError)},D.fromQuaternion=function(e,t){M.defined(t)||(t=new D);var n=2*(e.w*e.y-e.z*e.x),r=1-2*(e.x*e.x+e.y*e.y),a=2*(e.w*e.x+e.y*e.z);return t.heading=-Math.atan2(2*(e.w*e.z+e.x*e.y),1-2*(e.y*e.y+e.z*e.z)),t.roll=Math.atan2(a,r),t.pitch=-c.CesiumMath.asinClamped(n),t},D.fromDegrees=function(e,t,n,r){return(r=M.defined(r)?r:new D).heading=e*c.CesiumMath.RADIANS_PER_DEGREE,r.pitch=t*c.CesiumMath.RADIANS_PER_DEGREE,r.roll=n*c.CesiumMath.RADIANS_PER_DEGREE,r},D.clone=function(e,t){if(M.defined(e))return M.defined(t)?(t.heading=e.heading,t.pitch=e.pitch,t.roll=e.roll,t):new D(e.heading,e.pitch,e.roll)},D.equals=function(e,t){return e===t||M.defined(e)&&M.defined(t)&&e.heading===t.heading&&e.pitch===t.pitch&&e.roll===t.roll},D.equalsEpsilon=function(e,t,n,r){return e===t||M.defined(e)&&M.defined(t)&&c.CesiumMath.equalsEpsilon(e.heading,t.heading,n,r)&&c.CesiumMath.equalsEpsilon(e.pitch,t.pitch,n,r)&&c.CesiumMath.equalsEpsilon(e.roll,t.roll,n,r)},D.prototype.clone=function(e){return D.clone(this,e)},D.prototype.equals=function(e){return D.equals(this,e)},D.prototype.equalsEpsilon=function(e,t,n){return D.equalsEpsilon(this,e,t,n)},D.prototype.toString=function(){return"("+this.heading+", "+this.pitch+", "+this.roll+")"};var Dn,Pn,Un,Nn=/((?:.*\/)|^)Cesium\.js(?:\?|\#|$)/;function Fn(e){return"undefined"==typeof document?e:((Dn=M.defined(Dn)?Dn:document.createElement("a")).href=e,Dn.href=Dn.href,Dn.href)}function zn(){var e;return M.defined(Pn)||(e="undefined"!=typeof CESIUM_BASE_URL?CESIUM_BASE_URL:"object"==typeof define&&M.defined(define.amd)&&!define.amd.toUrlUndefined&&M.defined(require.toUrl)?Ht("..",kn("Core/buildModuleUrl.js")):function(){for(var e=document.getElementsByTagName("script"),t=0,n=e.length;t<n;++t){var r=e[t].getAttribute("src"),r=Nn.exec(r);if(null!==r)return r[1]}}(),(Pn=new b({url:Fn(e)})).appendForwardSlash()),Pn}function Bn(e){return Fn(require.toUrl("../"+e))}function Vn(e){return zn().getDerivedResource({url:e}).url}function kn(e){return(Un=M.defined(Un)?Un:"object"==typeof define&&M.defined(define.amd)&&!define.amd.toUrlUndefined&&M.defined(require.toUrl)?Bn:Vn)(e)}function Ln(e,t,n){this.x=e,this.y=t,this.s=n}function jn(e){e=M.defaultValue(e,M.defaultValue.EMPTY_OBJECT),this._xysFileUrlTemplate=b.createIfNeeded(e.xysFileUrlTemplate),this._interpolationOrder=M.defaultValue(e.interpolationOrder,9),this._sampleZeroJulianEphemerisDate=M.defaultValue(e.sampleZeroJulianEphemerisDate,2442396.5),this._sampleZeroDateTT=new x(this._sampleZeroJulianEphemerisDate,0,v.TAI),this._stepSizeDays=M.defaultValue(e.stepSizeDays,1),this._samplesPerXysFile=M.defaultValue(e.samplesPerXysFile,1e3),this._totalSamples=M.defaultValue(e.totalSamples,27426),this._samples=new Array(3*this._totalSamples),this._chunkDownloadsInProgress=[];for(var t=this._interpolationOrder,n=this._denominators=new Array(t+1),r=this._xTable=new Array(t+1),a=Math.pow(this._stepSizeDays,t),i=0;i<=t;++i){n[i]=a,r[i]=i*this._stepSizeDays;for(var s=0;s<=t;++s)s!==i&&(n[i]*=i-s);n[i]=1/n[i]}this._work=new Array(t+1),this._coef=new Array(t+1)}kn._cesiumScriptRegex=Nn,kn._buildModuleUrlFromBaseUrl=Vn,kn._clearBaseResource=function(){Pn=void 0},kn.setBaseUrl=function(e){Pn=b.DEFAULT.getDerivedResource({url:e})},kn.getCesiumBaseUrl=zn;var Wn=new x(0,0,v.TAI);function Yn(e,t,n){var r=Wn;return r.dayNumber=t,r.secondsOfDay=n,x.daysDifference(r,e._sampleZeroDateTT)}function Hn(s,o){var u,e;return s._chunkDownloadsInProgress[o]||(u=M.when.defer(),s._chunkDownloadsInProgress[o]=u,e=M.defined(e=s._xysFileUrlTemplate)?e.getDerivedResource({templateValues:{0:o}}):new b({url:kn("Assets/IAU2006_XYS/IAU2006_XYS_"+o+".json")}),M.when(e.fetchJson(),function(e){s._chunkDownloadsInProgress[o]=!1;for(var t=s._samples,n=e.samples,r=o*s._samplesPerXysFile*3,a=0,i=n.length;a<i;++a)t[r+a]=n[a];u.resolve()}),u.promise)}jn.prototype.preload=function(e,t,n,r){for(var e=Yn(this,e,t),t=Yn(this,n,r),n=e/this._stepSizeDays-this._interpolationOrder/2|0,r=t/this._stepSizeDays-this._interpolationOrder/2|0+this._interpolationOrder,e=(r>=this._totalSamples&&(r=this._totalSamples-1),(n=n<0?0:n)/this._samplesPerXysFile|0),a=r/this._samplesPerXysFile|0,i=[],s=e;s<=a;++s)i.push(Hn(this,s));return M.when.all(i)},jn.prototype.computeXysRadians=function(e,t,n){e=Yn(this,e,t);if(!(e<0)){t=e/this._stepSizeDays|0;if(!(t>=this._totalSamples)){var r=this._interpolationOrder,a=t-(r/2|0),t=(a=a<0?0:a)+r,i=(t>=this._totalSamples&&(a=(t=this._totalSamples-1)-r)<0&&(a=0),!1),s=this._samples;if(M.defined(s[3*a])||(Hn(this,a/this._samplesPerXysFile|0),i=!0),M.defined(s[3*t])||(Hn(this,t/this._samplesPerXysFile|0),i=!0),!i){M.defined(n)?(n.x=0,n.y=0,n.s=0):n=new Ln(0,0,0);for(var o,u=e-a*this._stepSizeDays,l=this._work,c=this._denominators,d=this._coef,f=this._xTable,p=0;p<=r;++p)l[p]=u-f[p];for(p=0;p<=r;++p){for(d[p]=1,o=0;o<=r;++o)o!==p&&(d[p]*=l[o]);d[p]*=c[p];var h=3*(a+p);n.x+=d[p]*s[h++],n.y+=d[p]*s[h++],n.s+=d[p]*s[h]}return n}}}};var P={},Jn={up:{south:"east",north:"west",west:"south",east:"north"},down:{south:"west",north:"east",west:"north",east:"south"},south:{up:"west",down:"east",west:"down",east:"up"},north:{up:"east",down:"west",west:"up",east:"down"},west:{up:"north",down:"south",north:"down",south:"up"},east:{up:"south",down:"north",north:"up",south:"down"}},Xn={north:[-1,0,0],east:[0,1,0],up:[0,0,1],south:[1,0,0],west:[0,-1,0],down:[0,0,-1]},Gn={},U={east:new q.Cartesian3,north:new q.Cartesian3,up:new q.Cartesian3,west:new q.Cartesian3,south:new q.Cartesian3,down:new q.Cartesian3},Zn=new q.Cartesian3,Qn=new q.Cartesian3,Kn=new q.Cartesian3,$n=(P.localFrameToFixedFrameGenerator=function(a,i){var s,e,t;if(Jn.hasOwnProperty(a)&&Jn[a].hasOwnProperty(i))return s=Jn[a][i],M.defined(Gn[t=a+i])?e=Gn[t]:Gn[t]=e=function(e,t,n){var r;return M.defined(n)||(n=new q.Matrix4),q.Cartesian3.equalsEpsilon(e,q.Cartesian3.ZERO,c.CesiumMath.EPSILON14)?(q.Cartesian3.unpack(Xn[a],0,Zn),q.Cartesian3.unpack(Xn[i],0,Qn),q.Cartesian3.unpack(Xn[s],0,Kn)):c.CesiumMath.equalsEpsilon(e.x,0,c.CesiumMath.EPSILON14)&&c.CesiumMath.equalsEpsilon(e.y,0,c.CesiumMath.EPSILON14)?(r=c.CesiumMath.sign(e.z),q.Cartesian3.unpack(Xn[a],0,Zn),"east"!==a&&"west"!==a&&q.Cartesian3.multiplyByScalar(Zn,r,Zn),q.Cartesian3.unpack(Xn[i],0,Qn),"east"!==i&&"west"!==i&&q.Cartesian3.multiplyByScalar(Qn,r,Qn),q.Cartesian3.unpack(Xn[s],0,Kn),"east"!==s&&"west"!==s&&q.Cartesian3.multiplyByScalar(Kn,r,Kn)):((t=M.defaultValue(t,q.Ellipsoid.WGS84)).geodeticSurfaceNormal(e,U.up),r=U.up,(t=U.east).x=-e.y,t.y=e.x,t.z=0,q.Cartesian3.normalize(t,U.east),q.Cartesian3.cross(r,t,U.north),q.Cartesian3.multiplyByScalar(U.up,-1,U.down),q.Cartesian3.multiplyByScalar(U.east,-1,U.west),q.Cartesian3.multiplyByScalar(U.north,-1,U.south),Zn=U[a],Qn=U[i],Kn=U[s]),n[0]=Zn.x,n[1]=Zn.y,n[2]=Zn.z,n[3]=0,n[4]=Qn.x,n[5]=Qn.y,n[6]=Qn.z,n[7]=0,n[8]=Kn.x,n[9]=Kn.y,n[10]=Kn.z,n[11]=0,n[12]=e.x,n[13]=e.y,n[14]=e.z,n[15]=1,n},e;throw new y.DeveloperError("firstAxis and secondAxis must be east, north, up, west, south or down.")},P.eastNorthUpToFixedFrame=P.localFrameToFixedFrameGenerator("east","north"),P.northEastDownToFixedFrame=P.localFrameToFixedFrameGenerator("north","east"),P.northUpEastToFixedFrame=P.localFrameToFixedFrameGenerator("north","up"),P.northWestUpToFixedFrame=P.localFrameToFixedFrameGenerator("north","west"),new d),er=new q.Cartesian3(1,1,1),tr=new q.Matrix4,nr=(P.headingPitchRollToFixedFrame=function(e,t,n,r,a){r=M.defaultValue(r,P.eastNorthUpToFixedFrame);t=d.fromHeadingPitchRoll(t,$n),t=q.Matrix4.fromTranslationQuaternionRotationScale(q.Cartesian3.ZERO,t,er,tr);return a=r(e,n,a),q.Matrix4.multiply(a,t,a)},new q.Matrix4),rr=new q.Matrix3,ar=(P.headingPitchRollQuaternion=function(e,t,n,r,a){e=P.headingPitchRollToFixedFrame(e,t,n,r,nr),t=q.Matrix4.getMatrix3(e,rr);return d.fromRotationMatrix(t,a)},new q.Cartesian3(1,1,1)),ir=new q.Cartesian3,sr=new q.Matrix4,or=new q.Matrix4,ur=new q.Matrix3,lr=new d,cr=(P.fixedFrameToHeadingPitchRoll=function(e,t,n,r){t=M.defaultValue(t,q.Ellipsoid.WGS84),n=M.defaultValue(n,P.eastNorthUpToFixedFrame),M.defined(r)||(r=new D);var a=q.Matrix4.getTranslation(e,ir);return q.Cartesian3.equals(a,q.Cartesian3.ZERO)?(r.heading=0,r.pitch=0,r.roll=0,r):(n=q.Matrix4.inverseTransformation(n(a,t,sr),sr),a=q.Matrix4.setScale(e,ar,or),a=q.Matrix4.setTranslation(a,q.Cartesian3.ZERO,a),n=q.Matrix4.multiply(n,a,n),t=d.fromRotationMatrix(q.Matrix4.getMatrix3(n,ur),lr),t=d.normalize(t,t),D.fromQuaternion(t,r))},c.CesiumMath.TWO_PI/86400),dr=new x,fr=(P.computeTemeToPseudoFixedMatrix=function(e,t){var e=(dr=x.addSeconds(e,-x.computeTaiMinusUtc(e),dr)).dayNumber,n=dr.secondsOfDay,r=e-2451545,r=43200<=n?(.5+r)/w.DAYS_PER_JULIAN_CENTURY:(r-.5)/w.DAYS_PER_JULIAN_CENTURY,r=(24110.54841+r*(8640184.812866+r*(.093104+-62e-7*r)))*cr%c.CesiumMath.TWO_PI+(72921158553e-15+11772758384668e-32*(e-2451545.5))*((n+.5*w.SECONDS_PER_DAY)%w.SECONDS_PER_DAY),e=Math.cos(r),n=Math.sin(r);return M.defined(t)?(t[0]=e,t[1]=-n,t[2]=0,t[3]=n,t[4]=e,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t):new q.Matrix3(e,n,0,-n,e,0,0,0,1)},P.iau2006XysData=new jn,P.earthOrientationParameters=Rn.NONE,32.184),pr=(P.preloadIcrfFixed=function(e){var t=e.start.dayNumber,n=e.start.secondsOfDay+fr,r=e.stop.dayNumber,e=e.stop.secondsOfDay+fr,t=P.iau2006XysData.preload(t,n,r,e),n=P.earthOrientationParameters.getPromiseToLoad();return M.when.all([t,n])},P.computeIcrfToFixedMatrix=function(e,t){M.defined(t)||(t=new q.Matrix3);e=P.computeFixedToIcrfMatrix(e,t);if(M.defined(e))return q.Matrix3.transpose(e,t)},new Ln(0,0,0)),hr=new Ct(0,0,0,0,0),mr=new q.Matrix3,yr=new q.Matrix3,Ar=(P.computeFixedToIcrfMatrix=function(e,t){M.defined(t)||(t=new q.Matrix3);var n=P.earthOrientationParameters.compute(e,hr);if(M.defined(n)){var r,a,i,s,o=e.dayNumber,u=e.secondsOfDay+fr,l=P.iau2006XysData.computeXysRadians(o,u,pr);if(M.defined(l))return i=l.x+n.xPoleOffset,r=l.y+n.yPoleOffset,s=1/(1+Math.sqrt(1-i*i-r*r)),(a=mr)[0]=1-s*i*i,a[3]=-s*i*r,a[6]=i,a[1]=-s*i*r,a[4]=1-s*r*r,a[7]=r,a[2]=-i,a[5]=-r,a[8]=1-s*(i*i+r*r),s=q.Matrix3.fromRotationZ(-l.s,yr),i=q.Matrix3.multiply(a,s,mr),r=e.dayNumber,a=(a=.779057273264+(l=(e.secondsOfDay-x.computeTaiMinusUtc(e)+n.ut1MinusUtc)/w.SECONDS_PER_DAY)+.00273781191135448*(r-2451545+l))%1*c.CesiumMath.TWO_PI,s=q.Matrix3.fromRotationZ(a,yr),e=q.Matrix3.multiply(i,s,mr),r=Math.cos(n.xPoleWander),l=Math.cos(n.yPoleWander),a=Math.sin(n.xPoleWander),i=Math.sin(n.yPoleWander),s=o-2451545+u/w.SECONDS_PER_DAY,n=-47e-6*(s/=36525)*c.CesiumMath.RADIANS_PER_DEGREE/3600,o=Math.cos(n),u=Math.sin(n),(s=yr)[0]=r*o,s[1]=r*u,s[2]=a,s[3]=-l*u+i*a*o,s[4]=l*o+i*a*u,s[5]=-i*r,s[6]=-i*u-l*a*o,s[7]=i*o-l*a*u,s[8]=l*r,q.Matrix3.multiply(e,s,t)}},new q.Cartesian4),Cr=(P.pointToWindowCoordinates=function(e,t,n,r){return(r=P.pointToGLWindowCoordinates(e,t,n,r)).y=2*t[5]-r.y,r},P.pointToGLWindowCoordinates=function(e,t,n,r){M.defined(r)||(r=new q.Cartesian2);var a=Ar;return q.Matrix4.multiplyByVector(e,q.Cartesian4.fromElements(n.x,n.y,n.z,1,a),a),q.Cartesian4.multiplyByScalar(a,1/a.w,a),q.Matrix4.multiplyByVector(t,a,a),q.Cartesian2.fromCartesian4(a,r)},new q.Cartesian3),gr=new q.Cartesian3,wr=new q.Cartesian3,vr=(P.rotationMatrixFromPositionVelocity=function(e,t,n,r){n=M.defaultValue(n,q.Ellipsoid.WGS84).geodeticSurfaceNormal(e,Cr),e=q.Cartesian3.cross(t,n,gr),q.Cartesian3.equalsEpsilon(e,q.Cartesian3.ZERO,c.CesiumMath.EPSILON6)&&(e=q.Cartesian3.clone(q.Cartesian3.UNIT_X,e)),n=q.Cartesian3.cross(e,t,wr);return q.Cartesian3.normalize(n,n),q.Cartesian3.cross(t,n,e),q.Cartesian3.negate(e,e),q.Cartesian3.normalize(e,e),(r=M.defined(r)?r:new q.Matrix3)[0]=t.x,r[1]=t.y,r[2]=t.z,r[3]=e.x,r[4]=e.y,r[5]=e.z,r[6]=n.x,r[7]=n.y,r[8]=n.z,r},new q.Matrix4(0,0,1,0,1,0,0,0,0,1,0,0,0,0,0,1)),xr=new q.Cartographic,Er=new q.Cartesian3,_r=new q.Cartesian3,Sr=new q.Matrix3,Or=new q.Matrix4,Rr=new q.Matrix4;P.basisTo2D=function(e,t,n){var r=q.Matrix4.getTranslation(t,_r),a=e.ellipsoid,i=a.cartesianToCartographic(r,xr),e=e.project(i,Er),i=(q.Cartesian3.fromElements(e.z,e.x,e.y,e),P.eastNorthUpToFixedFrame(r,a,Or)),r=q.Matrix4.inverseTransformation(i,Rr),a=q.Matrix4.getMatrix3(t,Sr),i=q.Matrix4.multiplyByMatrix3(r,a,n);return q.Matrix4.multiply(vr,i,n),q.Matrix4.setTranslation(n,e,n),n},P.wgs84To2DModelMatrix=function(e,t,n){var r=e.ellipsoid,a=P.eastNorthUpToFixedFrame(t,r,Or),a=q.Matrix4.inverseTransformation(a,Rr),r=r.cartesianToCartographic(t,xr),t=e.project(r,Er),e=(q.Cartesian3.fromElements(t.z,t.x,t.y,t),q.Matrix4.fromTranslation(t,Or));return q.Matrix4.multiply(vr,a,n),q.Matrix4.multiply(e,n,n),n},e.BoundingSphere=T,e.FeatureDetection=i,e.GeographicProjection=F,e.Intersect=z,e.Interval=B,e.Quaternion=d,e.Resource=b,e.Transforms=P,e.buildModuleUrl=kn});
@@ -0,0 +1 @@
1
+ define(["exports","./arrayRemoveDuplicates-bce1b0dc","./Matrix2-59fd2efe","./when-ae2e0b60","./ComponentDatatype-b7b5db18","./PolylinePipeline-83139cb3"],function(e,f,A,C,b,P){var i={};var w=new A.Cartographic,M=new A.Cartographic;function E(e,i,t,n){var r=(i=f.arrayRemoveDuplicates(i,A.Cartesian3.equalsEpsilon)).length;if(!(r<2)){var a=C.defined(n),o=C.defined(t),l=new Array(r),h=new Array(r),s=new Array(r),g=i[0],p=(l[0]=g,e.cartesianToCartographic(g,w));o&&(p.height=t[0]),h[0]=p.height,s[0]=a?n[0]:0;for(var u,c,d=h[0]===s[0],y=1,m=1;m<r;++m){var v=i[m],P=e.cartesianToCartographic(v,M);o&&(P.height=t[m]),d=d&&0===P.height,u=p,c=P,b.CesiumMath.equalsEpsilon(u.latitude,c.latitude,b.CesiumMath.EPSILON10)&&b.CesiumMath.equalsEpsilon(u.longitude,c.longitude,b.CesiumMath.EPSILON10)?p.height<P.height&&(h[y-1]=P.height):(l[y]=v,h[y]=P.height,s[y]=a?n[m]:0,d=d&&h[y]===s[y],A.Cartographic.clone(P,p),++y)}if(!(d||y<2))return l.length=y,h.length=y,s.length=y,{positions:l,topHeights:h,bottomHeights:s}}}var D=new Array(2),F=new Array(2),H={positions:void 0,height:void 0,granularity:void 0,ellipsoid:void 0};i.computePositions=function(e,i,t,n,r,a){var o=E(e,i,t,n);if(C.defined(o)){i=o.positions,t=o.topHeights,n=o.bottomHeights;var l=i.length,o=l-2,h=b.CesiumMath.chordLength(r,e.maximumRadius),s=H;if(s.minDistance=h,s.ellipsoid=e,a){for(var g=0,p=0;p<l-1;p++)g+=P.PolylinePipeline.numberOfPoints(i[p],i[p+1],h)+1;var u=new Float64Array(3*g),c=new Float64Array(3*g),d=D,y=F,m=(s.positions=d,s.height=y,0);for(p=0;p<l-1;p++){d[0]=i[p],d[1]=i[p+1],y[0]=t[p],y[1]=t[p+1];var v=P.PolylinePipeline.generateArc(s);u.set(v,m),y[0]=n[p],y[1]=n[p+1],c.set(P.PolylinePipeline.generateArc(s),m),m+=v.length}}else s.positions=i,s.height=t,u=new Float64Array(P.PolylinePipeline.generateArc(s)),s.height=n,c=new Float64Array(P.PolylinePipeline.generateArc(s));return{bottomPositions:c,topPositions:u,numCorners:o}}},e.WallGeometryLibrary=i});
@@ -1 +1 @@
1
- define(["./PrimitivePipeline-a7cf99d1","./createTaskProcessorWorker","./Transforms-ce414632","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./when-ae2e0b60","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./combine-276652d0","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./GeometryPipeline-984d7313","./AttributeCompression-2f7b45b7","./EncodedCartesian3-3b6655b5","./IndexDatatype-6902a37d","./IntersectionTests-f71f97b3","./Plane-43337cee","./WebMercatorProjection-329b047d"],function(i,e,t,r,n,o,a,b,m,c,s,d,P,p,f,u,y,l){return e(function(e,t){return e=i.PrimitivePipeline.unpackCombineGeometryParameters(e),e=i.PrimitivePipeline.combineGeometry(e),i.PrimitivePipeline.packCombineGeometryResults(e,t)})});
1
+ define(["./PrimitivePipeline-7f47a42a","./createTaskProcessorWorker","./Transforms-c1a1d063","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./when-ae2e0b60","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./combine-276652d0","./GeometryAttribute-3dd6da35","./GeometryAttributes-5ce4955a","./GeometryPipeline-990a755f","./AttributeCompression-2f7b45b7","./EncodedCartesian3-3b6655b5","./IndexDatatype-6902a37d","./IntersectionTests-60f10d18","./Plane-43337cee","./WebMercatorProjection-329b047d"],function(i,e,t,r,n,o,a,b,m,s,c,d,P,p,f,u,y,l){return e(function(e,t){return e=i.PrimitivePipeline.unpackCombineGeometryParameters(e),e=i.PrimitivePipeline.combineGeometry(e),i.PrimitivePipeline.packCombineGeometryResults(e,t)})});
@@ -1 +1 @@
1
- define(["./BoxGeometry-ff79c7c4","./when-ae2e0b60","./GeometryOffsetAttribute-8c0bd3ce","./RuntimeError-24b14c10","./Transforms-ce414632","./Matrix2-59fd2efe","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./combine-276652d0","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./VertexFormat-1fc9746e"],function(r,o,e,t,n,c,f,m,a,b,i,d){return function(e,t){return o.defined(t)&&(e=r.BoxGeometry.unpack(e,t)),r.BoxGeometry.createGeometry(e)}});
1
+ define(["./BoxGeometry-3318157c","./when-ae2e0b60","./GeometryOffsetAttribute-8c0bd3ce","./RuntimeError-24b14c10","./Transforms-c1a1d063","./Matrix2-59fd2efe","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./combine-276652d0","./GeometryAttribute-3dd6da35","./GeometryAttributes-5ce4955a","./VertexFormat-1fc9746e"],function(r,o,e,t,n,a,c,m,b,d,f,i){return function(e,t){return o.defined(t)&&(e=r.BoxGeometry.unpack(e,t)),r.BoxGeometry.createGeometry(e)}});
@@ -1 +1 @@
1
- define(["./GeometryOffsetAttribute-8c0bd3ce","./Transforms-ce414632","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./when-ae2e0b60","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./combine-276652d0","./WebGLConstants-35626ea2"],function(u,m,o,e,s,f,c,d,t,n){var p=new o.Cartesian3;function r(e){var t=(e=f.defaultValue(e,f.defaultValue.EMPTY_OBJECT)).minimum,n=e.maximum;this._min=o.Cartesian3.clone(t),this._max=o.Cartesian3.clone(n),this._offsetAttribute=e.offsetAttribute,this._workerName="createBoxOutlineGeometry"}r.fromDimensions=function(e){var t=(e=f.defaultValue(e,f.defaultValue.EMPTY_OBJECT)).dimensions,t=o.Cartesian3.multiplyByScalar(t,.5,new o.Cartesian3);return new r({minimum:o.Cartesian3.negate(t,new o.Cartesian3),maximum:t,offsetAttribute:e.offsetAttribute})},r.fromAxisAlignedBoundingBox=function(e){return new r({minimum:e.minimum,maximum:e.maximum})},r.packedLength=2*o.Cartesian3.packedLength+1,r.pack=function(e,t,n){return n=f.defaultValue(n,0),o.Cartesian3.pack(e._min,t,n),o.Cartesian3.pack(e._max,t,n+o.Cartesian3.packedLength),t[n+2*o.Cartesian3.packedLength]=f.defaultValue(e._offsetAttribute,-1),t};var y=new o.Cartesian3,b=new o.Cartesian3,l={minimum:y,maximum:b,offsetAttribute:void 0};return r.unpack=function(e,t,n){t=f.defaultValue(t,0);var a=o.Cartesian3.unpack(e,t,y),i=o.Cartesian3.unpack(e,t+o.Cartesian3.packedLength,b),e=e[t+2*o.Cartesian3.packedLength];return f.defined(n)?(n._min=o.Cartesian3.clone(a,n._min),n._max=o.Cartesian3.clone(i,n._max),n._offsetAttribute=-1===e?void 0:e,n):(l.offsetAttribute=-1===e?void 0:e,new r(l))},r.createGeometry=function(e){var t,n,a,i=e._min,r=e._max;if(!o.Cartesian3.equals(i,r))return t=new d.GeometryAttributes,n=new Uint16Array(24),(a=new Float64Array(24))[0]=i.x,a[1]=i.y,a[2]=i.z,a[3]=r.x,a[4]=i.y,a[5]=i.z,a[6]=r.x,a[7]=r.y,a[8]=i.z,a[9]=i.x,a[10]=r.y,a[11]=i.z,a[12]=i.x,a[13]=i.y,a[14]=r.z,a[15]=r.x,a[16]=i.y,a[17]=r.z,a[18]=r.x,a[19]=r.y,a[20]=r.z,a[21]=i.x,a[22]=r.y,a[23]=r.z,t.position=new c.GeometryAttribute({componentDatatype:s.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:a}),n[0]=4,n[1]=5,n[2]=5,n[3]=6,n[4]=6,n[5]=7,n[6]=7,n[7]=4,n[8]=0,n[9]=1,n[10]=1,n[11]=2,n[12]=2,n[13]=3,n[14]=3,n[15]=0,n[16]=0,n[17]=4,n[18]=1,n[19]=5,n[20]=2,n[21]=6,n[22]=3,n[23]=7,r=o.Cartesian3.subtract(r,i,p),i=.5*o.Cartesian3.magnitude(r),f.defined(e._offsetAttribute)&&(r=a.length,a=new Uint8Array(r/3),r=e._offsetAttribute===u.GeometryOffsetAttribute.NONE?0:1,u.arrayFill(a,r),t.applyOffset=new c.GeometryAttribute({componentDatatype:s.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:1,values:a})),new c.Geometry({attributes:t,indices:n,primitiveType:c.PrimitiveType.LINES,boundingSphere:new m.BoundingSphere(o.Cartesian3.ZERO,i),offsetAttribute:e._offsetAttribute})},function(e,t){return f.defined(t)&&(e=r.unpack(e,t)),r.createGeometry(e)}});
1
+ define(["./GeometryOffsetAttribute-8c0bd3ce","./Transforms-c1a1d063","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./when-ae2e0b60","./GeometryAttribute-3dd6da35","./GeometryAttributes-5ce4955a","./combine-276652d0","./WebGLConstants-35626ea2"],function(u,m,o,e,s,f,c,d,t,n){var p=new o.Cartesian3;function r(e){var t=(e=f.defaultValue(e,f.defaultValue.EMPTY_OBJECT)).minimum,n=e.maximum;this._min=o.Cartesian3.clone(t),this._max=o.Cartesian3.clone(n),this._offsetAttribute=e.offsetAttribute,this._workerName="createBoxOutlineGeometry"}r.fromDimensions=function(e){var t=(e=f.defaultValue(e,f.defaultValue.EMPTY_OBJECT)).dimensions,t=o.Cartesian3.multiplyByScalar(t,.5,new o.Cartesian3);return new r({minimum:o.Cartesian3.negate(t,new o.Cartesian3),maximum:t,offsetAttribute:e.offsetAttribute})},r.fromAxisAlignedBoundingBox=function(e){return new r({minimum:e.minimum,maximum:e.maximum})},r.packedLength=2*o.Cartesian3.packedLength+1,r.pack=function(e,t,n){return n=f.defaultValue(n,0),o.Cartesian3.pack(e._min,t,n),o.Cartesian3.pack(e._max,t,n+o.Cartesian3.packedLength),t[n+2*o.Cartesian3.packedLength]=f.defaultValue(e._offsetAttribute,-1),t};var y=new o.Cartesian3,b=new o.Cartesian3,l={minimum:y,maximum:b,offsetAttribute:void 0};return r.unpack=function(e,t,n){t=f.defaultValue(t,0);var a=o.Cartesian3.unpack(e,t,y),i=o.Cartesian3.unpack(e,t+o.Cartesian3.packedLength,b),e=e[t+2*o.Cartesian3.packedLength];return f.defined(n)?(n._min=o.Cartesian3.clone(a,n._min),n._max=o.Cartesian3.clone(i,n._max),n._offsetAttribute=-1===e?void 0:e,n):(l.offsetAttribute=-1===e?void 0:e,new r(l))},r.createGeometry=function(e){var t,n,a,i=e._min,r=e._max;if(!o.Cartesian3.equals(i,r))return t=new d.GeometryAttributes,n=new Uint16Array(24),(a=new Float64Array(24))[0]=i.x,a[1]=i.y,a[2]=i.z,a[3]=r.x,a[4]=i.y,a[5]=i.z,a[6]=r.x,a[7]=r.y,a[8]=i.z,a[9]=i.x,a[10]=r.y,a[11]=i.z,a[12]=i.x,a[13]=i.y,a[14]=r.z,a[15]=r.x,a[16]=i.y,a[17]=r.z,a[18]=r.x,a[19]=r.y,a[20]=r.z,a[21]=i.x,a[22]=r.y,a[23]=r.z,t.position=new c.GeometryAttribute({componentDatatype:s.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:a}),n[0]=4,n[1]=5,n[2]=5,n[3]=6,n[4]=6,n[5]=7,n[6]=7,n[7]=4,n[8]=0,n[9]=1,n[10]=1,n[11]=2,n[12]=2,n[13]=3,n[14]=3,n[15]=0,n[16]=0,n[17]=4,n[18]=1,n[19]=5,n[20]=2,n[21]=6,n[22]=3,n[23]=7,r=o.Cartesian3.subtract(r,i,p),i=.5*o.Cartesian3.magnitude(r),f.defined(e._offsetAttribute)&&(r=a.length,a=new Uint8Array(r/3),r=e._offsetAttribute===u.GeometryOffsetAttribute.NONE?0:1,u.arrayFill(a,r),t.applyOffset=new c.GeometryAttribute({componentDatatype:s.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:1,values:a})),new c.Geometry({attributes:t,indices:n,primitiveType:c.PrimitiveType.LINES,boundingSphere:new m.BoundingSphere(o.Cartesian3.ZERO,i),offsetAttribute:e._offsetAttribute})},function(e,t){return f.defined(t)&&(e=r.unpack(e,t)),r.createGeometry(e)}});
@@ -1 +1 @@
1
- define(["./Matrix2-59fd2efe","./RuntimeError-24b14c10","./when-ae2e0b60","./EllipseGeometry-cb453b2f","./VertexFormat-1fc9746e","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./GeometryOffsetAttribute-8c0bd3ce","./Transforms-ce414632","./combine-276652d0","./EllipseGeometryLibrary-c1a131e7","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./GeometryInstance-e2137e03","./GeometryPipeline-984d7313","./AttributeCompression-2f7b45b7","./EncodedCartesian3-3b6655b5","./IndexDatatype-6902a37d","./IntersectionTests-f71f97b3","./Plane-43337cee"],function(r,e,o,n,l,t,i,s,a,m,d,c,u,p,y,_,G,x,h,f){function g(e){var t=(e=o.defaultValue(e,o.defaultValue.EMPTY_OBJECT)).radius;this._ellipseGeometry=new n.EllipseGeometry({center:e.center,semiMajorAxis:t,semiMinorAxis:t,ellipsoid:e.ellipsoid,height:e.height,extrudedHeight:e.extrudedHeight,granularity:e.granularity,vertexFormat:e.vertexFormat,stRotation:e.stRotation,shadowVolume:e.shadowVolume}),this._workerName="createCircleGeometry"}g.packedLength=n.EllipseGeometry.packedLength,g.pack=function(e,t,i){return n.EllipseGeometry.pack(e._ellipseGeometry,t,i)};var b=new n.EllipseGeometry({center:new r.Cartesian3,semiMajorAxis:1,semiMinorAxis:1}),E={center:new r.Cartesian3,radius:void 0,ellipsoid:r.Ellipsoid.clone(r.Ellipsoid.UNIT_SPHERE),height:void 0,extrudedHeight:void 0,granularity:void 0,vertexFormat:new l.VertexFormat,stRotation:void 0,semiMajorAxis:void 0,semiMinorAxis:void 0,shadowVolume:void 0};return g.unpack=function(e,t,i){e=n.EllipseGeometry.unpack(e,t,b);return E.center=r.Cartesian3.clone(e._center,E.center),E.ellipsoid=r.Ellipsoid.clone(e._ellipsoid,E.ellipsoid),E.height=e._height,E.extrudedHeight=e._extrudedHeight,E.granularity=e._granularity,E.vertexFormat=l.VertexFormat.clone(e._vertexFormat,E.vertexFormat),E.stRotation=e._stRotation,E.shadowVolume=e._shadowVolume,o.defined(i)?(E.semiMajorAxis=e._semiMajorAxis,E.semiMinorAxis=e._semiMinorAxis,i._ellipseGeometry=new n.EllipseGeometry(E),i):(E.radius=e._semiMajorAxis,new g(E))},g.createGeometry=function(e){return n.EllipseGeometry.createGeometry(e._ellipseGeometry)},g.createShadowVolume=function(e,t,i){var r=e._ellipseGeometry._granularity,o=e._ellipseGeometry._ellipsoid,t=t(r,o),i=i(r,o);return new g({center:e._ellipseGeometry._center,radius:e._ellipseGeometry._semiMajorAxis,ellipsoid:o,stRotation:e._ellipseGeometry._stRotation,granularity:r,extrudedHeight:t,height:i,vertexFormat:l.VertexFormat.POSITION_ONLY,shadowVolume:!0})},Object.defineProperties(g.prototype,{rectangle:{get:function(){return this._ellipseGeometry.rectangle}},textureCoordinateRotationPoints:{get:function(){return this._ellipseGeometry.textureCoordinateRotationPoints}}}),function(e,t){return(e=o.defined(t)?g.unpack(e,t):e)._ellipseGeometry._center=r.Cartesian3.clone(e._ellipseGeometry._center),e._ellipseGeometry._ellipsoid=r.Ellipsoid.clone(e._ellipseGeometry._ellipsoid),g.createGeometry(e)}});
1
+ define(["./Matrix2-59fd2efe","./RuntimeError-24b14c10","./when-ae2e0b60","./EllipseGeometry-6a90035b","./VertexFormat-1fc9746e","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./GeometryOffsetAttribute-8c0bd3ce","./Transforms-c1a1d063","./combine-276652d0","./EllipseGeometryLibrary-c242429c","./GeometryAttribute-3dd6da35","./GeometryAttributes-5ce4955a","./GeometryInstance-e2137e03","./GeometryPipeline-990a755f","./AttributeCompression-2f7b45b7","./EncodedCartesian3-3b6655b5","./IndexDatatype-6902a37d","./IntersectionTests-60f10d18","./Plane-43337cee"],function(r,e,o,n,l,t,i,a,s,d,m,c,u,p,y,_,G,x,h,g){function f(e){var t=(e=o.defaultValue(e,o.defaultValue.EMPTY_OBJECT)).radius;this._ellipseGeometry=new n.EllipseGeometry({center:e.center,semiMajorAxis:t,semiMinorAxis:t,ellipsoid:e.ellipsoid,height:e.height,extrudedHeight:e.extrudedHeight,granularity:e.granularity,vertexFormat:e.vertexFormat,stRotation:e.stRotation,shadowVolume:e.shadowVolume}),this._workerName="createCircleGeometry"}f.packedLength=n.EllipseGeometry.packedLength,f.pack=function(e,t,i){return n.EllipseGeometry.pack(e._ellipseGeometry,t,i)};var b=new n.EllipseGeometry({center:new r.Cartesian3,semiMajorAxis:1,semiMinorAxis:1}),E={center:new r.Cartesian3,radius:void 0,ellipsoid:r.Ellipsoid.clone(r.Ellipsoid.UNIT_SPHERE),height:void 0,extrudedHeight:void 0,granularity:void 0,vertexFormat:new l.VertexFormat,stRotation:void 0,semiMajorAxis:void 0,semiMinorAxis:void 0,shadowVolume:void 0};return f.unpack=function(e,t,i){e=n.EllipseGeometry.unpack(e,t,b);return E.center=r.Cartesian3.clone(e._center,E.center),E.ellipsoid=r.Ellipsoid.clone(e._ellipsoid,E.ellipsoid),E.height=e._height,E.extrudedHeight=e._extrudedHeight,E.granularity=e._granularity,E.vertexFormat=l.VertexFormat.clone(e._vertexFormat,E.vertexFormat),E.stRotation=e._stRotation,E.shadowVolume=e._shadowVolume,o.defined(i)?(E.semiMajorAxis=e._semiMajorAxis,E.semiMinorAxis=e._semiMinorAxis,i._ellipseGeometry=new n.EllipseGeometry(E),i):(E.radius=e._semiMajorAxis,new f(E))},f.createGeometry=function(e){return n.EllipseGeometry.createGeometry(e._ellipseGeometry)},f.createShadowVolume=function(e,t,i){var r=e._ellipseGeometry._granularity,o=e._ellipseGeometry._ellipsoid,t=t(r,o),i=i(r,o);return new f({center:e._ellipseGeometry._center,radius:e._ellipseGeometry._semiMajorAxis,ellipsoid:o,stRotation:e._ellipseGeometry._stRotation,granularity:r,extrudedHeight:t,height:i,vertexFormat:l.VertexFormat.POSITION_ONLY,shadowVolume:!0})},Object.defineProperties(f.prototype,{rectangle:{get:function(){return this._ellipseGeometry.rectangle}},textureCoordinateRotationPoints:{get:function(){return this._ellipseGeometry.textureCoordinateRotationPoints}}}),function(e,t){return(e=o.defined(t)?f.unpack(e,t):e)._ellipseGeometry._center=r.Cartesian3.clone(e._ellipseGeometry._center),e._ellipseGeometry._ellipsoid=r.Ellipsoid.clone(e._ellipseGeometry._ellipsoid),f.createGeometry(e)}});
@@ -1 +1 @@
1
- define(["./Matrix2-59fd2efe","./RuntimeError-24b14c10","./when-ae2e0b60","./EllipseOutlineGeometry-ebd4f316","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./GeometryOffsetAttribute-8c0bd3ce","./Transforms-ce414632","./combine-276652d0","./EllipseGeometryLibrary-c1a131e7","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./IndexDatatype-6902a37d"],function(r,e,l,n,i,t,o,s,a,d,u,m,c){function p(e){var i=(e=l.defaultValue(e,l.defaultValue.EMPTY_OBJECT)).radius;this._ellipseGeometry=new n.EllipseOutlineGeometry({center:e.center,semiMajorAxis:i,semiMinorAxis:i,ellipsoid:e.ellipsoid,height:e.height,extrudedHeight:e.extrudedHeight,granularity:e.granularity,numberOfVerticalLines:e.numberOfVerticalLines}),this._workerName="createCircleOutlineGeometry"}p.packedLength=n.EllipseOutlineGeometry.packedLength,p.pack=function(e,i,t){return n.EllipseOutlineGeometry.pack(e._ellipseGeometry,i,t)};var y=new n.EllipseOutlineGeometry({center:new r.Cartesian3,semiMajorAxis:1,semiMinorAxis:1}),G={center:new r.Cartesian3,radius:void 0,ellipsoid:r.Ellipsoid.clone(r.Ellipsoid.UNIT_SPHERE),height:void 0,extrudedHeight:void 0,granularity:void 0,numberOfVerticalLines:void 0,semiMajorAxis:void 0,semiMinorAxis:void 0};return p.unpack=function(e,i,t){e=n.EllipseOutlineGeometry.unpack(e,i,y);return G.center=r.Cartesian3.clone(e._center,G.center),G.ellipsoid=r.Ellipsoid.clone(e._ellipsoid,G.ellipsoid),G.height=e._height,G.extrudedHeight=e._extrudedHeight,G.granularity=e._granularity,G.numberOfVerticalLines=e._numberOfVerticalLines,l.defined(t)?(G.semiMajorAxis=e._semiMajorAxis,G.semiMinorAxis=e._semiMinorAxis,t._ellipseGeometry=new n.EllipseOutlineGeometry(G),t):(G.radius=e._semiMajorAxis,new p(G))},p.createGeometry=function(e){return n.EllipseOutlineGeometry.createGeometry(e._ellipseGeometry)},function(e,i){return(e=l.defined(i)?p.unpack(e,i):e)._ellipseGeometry._center=r.Cartesian3.clone(e._ellipseGeometry._center),e._ellipseGeometry._ellipsoid=r.Ellipsoid.clone(e._ellipseGeometry._ellipsoid),p.createGeometry(e)}});
1
+ define(["./Matrix2-59fd2efe","./RuntimeError-24b14c10","./when-ae2e0b60","./EllipseOutlineGeometry-bc6638f3","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./GeometryOffsetAttribute-8c0bd3ce","./Transforms-c1a1d063","./combine-276652d0","./EllipseGeometryLibrary-c242429c","./GeometryAttribute-3dd6da35","./GeometryAttributes-5ce4955a","./IndexDatatype-6902a37d"],function(r,e,l,n,i,t,o,s,a,d,u,c,m){function p(e){var i=(e=l.defaultValue(e,l.defaultValue.EMPTY_OBJECT)).radius;this._ellipseGeometry=new n.EllipseOutlineGeometry({center:e.center,semiMajorAxis:i,semiMinorAxis:i,ellipsoid:e.ellipsoid,height:e.height,extrudedHeight:e.extrudedHeight,granularity:e.granularity,numberOfVerticalLines:e.numberOfVerticalLines}),this._workerName="createCircleOutlineGeometry"}p.packedLength=n.EllipseOutlineGeometry.packedLength,p.pack=function(e,i,t){return n.EllipseOutlineGeometry.pack(e._ellipseGeometry,i,t)};var y=new n.EllipseOutlineGeometry({center:new r.Cartesian3,semiMajorAxis:1,semiMinorAxis:1}),G={center:new r.Cartesian3,radius:void 0,ellipsoid:r.Ellipsoid.clone(r.Ellipsoid.UNIT_SPHERE),height:void 0,extrudedHeight:void 0,granularity:void 0,numberOfVerticalLines:void 0,semiMajorAxis:void 0,semiMinorAxis:void 0};return p.unpack=function(e,i,t){e=n.EllipseOutlineGeometry.unpack(e,i,y);return G.center=r.Cartesian3.clone(e._center,G.center),G.ellipsoid=r.Ellipsoid.clone(e._ellipsoid,G.ellipsoid),G.height=e._height,G.extrudedHeight=e._extrudedHeight,G.granularity=e._granularity,G.numberOfVerticalLines=e._numberOfVerticalLines,l.defined(t)?(G.semiMajorAxis=e._semiMajorAxis,G.semiMinorAxis=e._semiMinorAxis,t._ellipseGeometry=new n.EllipseOutlineGeometry(G),t):(G.radius=e._semiMajorAxis,new p(G))},p.createGeometry=function(e){return n.EllipseOutlineGeometry.createGeometry(e._ellipseGeometry)},function(e,i){return(e=l.defined(i)?p.unpack(e,i):e)._ellipseGeometry._center=r.Cartesian3.clone(e._ellipseGeometry._center),e._ellipseGeometry._ellipsoid=r.Ellipsoid.clone(e._ellipseGeometry._ellipsoid),p.createGeometry(e)}});
@@ -1 +1 @@
1
- define(["./arrayRemoveDuplicates-bce1b0dc","./BoundingRectangle-81d4313c","./Transforms-ce414632","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./CoplanarPolygonGeometryLibrary-c59ad6a7","./when-ae2e0b60","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./GeometryInstance-e2137e03","./GeometryPipeline-984d7313","./IndexDatatype-6902a37d","./PolygonGeometryLibrary-c31243f7","./PolygonPipeline-6d75eac7","./VertexFormat-1fc9746e","./combine-276652d0","./WebGLConstants-35626ea2","./OrientedBoundingBox-f70d01fe","./EllipsoidTangentPlane-da721e0c","./AxisAlignedBoundingBox-35efa0e8","./IntersectionTests-f71f97b3","./Plane-43337cee","./AttributeCompression-2f7b45b7","./EncodedCartesian3-3b6655b5","./ArcType-1275a14e","./EllipsoidRhumbLine-535d21cd"],function(b,e,G,L,t,E,h,l,T,D,x,f,_,C,V,s,n,a,o,r,i,u,d,g,N,Q,j){var k=new L.Cartesian3,P=new e.BoundingRectangle,R=new L.Cartesian2,I=new L.Cartesian2,v=new L.Cartesian3,A=new L.Cartesian3,w=new L.Cartesian3,F=new L.Cartesian3,M=new L.Cartesian3,B=new L.Cartesian3,H=new G.Quaternion,O=new L.Matrix3,z=new L.Matrix3,S=new L.Cartesian3;function p(e){var t=(e=l.defaultValue(e,l.defaultValue.EMPTY_OBJECT)).polygonHierarchy,n=l.defaultValue(e.vertexFormat,s.VertexFormat.DEFAULT);this._vertexFormat=s.VertexFormat.clone(n),this._polygonHierarchy=t,this._stRotation=l.defaultValue(e.stRotation,0),this._ellipsoid=L.Ellipsoid.clone(l.defaultValue(e.ellipsoid,L.Ellipsoid.WGS84)),this._workerName="createCoplanarPolygonGeometry",this.packedLength=C.PolygonGeometryLibrary.computeHierarchyPackedLength(t)+s.VertexFormat.packedLength+L.Ellipsoid.packedLength+2}p.fromPositions=function(e){return new p({polygonHierarchy:{positions:(e=l.defaultValue(e,l.defaultValue.EMPTY_OBJECT)).positions},vertexFormat:e.vertexFormat,stRotation:e.stRotation,ellipsoid:e.ellipsoid})},p.pack=function(e,t,n){return n=l.defaultValue(n,0),n=C.PolygonGeometryLibrary.packPolygonHierarchy(e._polygonHierarchy,t,n),L.Ellipsoid.pack(e._ellipsoid,t,n),n+=L.Ellipsoid.packedLength,s.VertexFormat.pack(e._vertexFormat,t,n),n+=s.VertexFormat.packedLength,t[n++]=e._stRotation,t[n]=e.packedLength,t};var y=L.Ellipsoid.clone(L.Ellipsoid.UNIT_SPHERE),c=new s.VertexFormat,m={polygonHierarchy:{}};return p.unpack=function(e,t,n){t=l.defaultValue(t,0);var a=C.PolygonGeometryLibrary.unpackPolygonHierarchy(e,t),o=(t=a.startingIndex,delete a.startingIndex,L.Ellipsoid.unpack(e,t,y)),r=(t+=L.Ellipsoid.packedLength,s.VertexFormat.unpack(e,t,c)),i=(t+=s.VertexFormat.packedLength,e[t++]),e=e[t];return(n=l.defined(n)?n:new p(m))._polygonHierarchy=a,n._ellipsoid=L.Ellipsoid.clone(o,n._ellipsoid),n._vertexFormat=s.VertexFormat.clone(r,n._vertexFormat),n._stRotation=i,n.packedLength=e,n},p.createGeometry=function(e){var t=e._vertexFormat,n=e._polygonHierarchy,a=e._stRotation,o=n.positions;if(!((o=b.arrayRemoveDuplicates(o,L.Cartesian3.equalsEpsilon,!0)).length<3)){var r=v,i=A,l=w,s=M,p=B;if(h.CoplanarPolygonGeometryLibrary.computeProjectTo2DArguments(o,F,s,p)){var r=L.Cartesian3.cross(s,p,r),e=(r=L.Cartesian3.normalize(r,r),L.Cartesian3.equalsEpsilon(F,L.Cartesian3.ZERO,E.CesiumMath.EPSILON6)||(e=e._ellipsoid.geodeticSurfaceNormal(F,S),L.Cartesian3.dot(r,e)<0&&(r=L.Cartesian3.negate(r,r),s=L.Cartesian3.negate(s,s))),h.CoplanarPolygonGeometryLibrary.createProjectPointsTo2DFunction(F,s,p)),y=h.CoplanarPolygonGeometryLibrary.createProjectPointTo2DFunction(F,s,p),s=(t.tangent&&(i=L.Cartesian3.clone(s,i)),t.bitangent&&(l=L.Cartesian3.clone(p,l)),C.PolygonGeometryLibrary.polygonsFromHierarchy(n,e,!1)),p=s.hierarchy,c=s.polygons;if(0!==p.length){for(var o=p[0].outerRing,n=G.BoundingSphere.fromPoints(o),m=C.PolygonGeometryLibrary.computeBoundingRectangle(r,y,o,a,P),u=[],d=0;d<c.length;d++){var g=new x.GeometryInstance({geometry:function(e,t,n,a,o,r,i,l){for(var s=e.positions,p=((e=V.PolygonPipeline.triangulate(e.positions2D,e.holes)).length<3&&(e=[0,1,2]),_.IndexDatatype.createTypedArray(s.length,e.length)),y=(p.set(e),O),c=(0!==a?(e=G.Quaternion.fromAxisAngle(r,a,H),y=L.Matrix3.fromQuaternion(e,y),(t.tangent||t.bitangent)&&(e=G.Quaternion.fromAxisAngle(r,-a,H),a=L.Matrix3.fromQuaternion(e,z),i=L.Cartesian3.normalize(L.Matrix3.multiplyByVector(a,i,i),i),t.bitangent)&&(l=L.Cartesian3.normalize(L.Cartesian3.cross(r,i,l),l))):y=L.Matrix3.clone(L.Matrix3.IDENTITY,y),I),m=(t.st&&(c.x=n.x,c.y=n.y),s.length),e=3*m,u=new Float64Array(e),d=t.normal?new Float32Array(e):void 0,g=t.tangent?new Float32Array(e):void 0,b=t.bitangent?new Float32Array(e):void 0,h=t.st?new Float32Array(2*m):void 0,x=0,f=0,C=0,P=0,v=0,A=0;A<m;A++){var w,F=s[A];u[x++]=F.x,u[x++]=F.y,u[x++]=F.z,t.st&&(F=o(L.Matrix3.multiplyByVector(y,F,k),R),L.Cartesian2.subtract(F,c,F),w=E.CesiumMath.clamp(F.x/n.width,0,1),F=E.CesiumMath.clamp(F.y/n.height,0,1),h[v++]=w,h[v++]=F),t.normal&&(d[f++]=r.x,d[f++]=r.y,d[f++]=r.z),t.tangent&&(g[P++]=i.x,g[P++]=i.y,g[P++]=i.z),t.bitangent&&(b[C++]=l.x,b[C++]=l.y,b[C++]=l.z)}return a=new D.GeometryAttributes,t.position&&(a.position=new T.GeometryAttribute({componentDatatype:E.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:u})),t.normal&&(a.normal=new T.GeometryAttribute({componentDatatype:E.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:d})),t.tangent&&(a.tangent=new T.GeometryAttribute({componentDatatype:E.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:g})),t.bitangent&&(a.bitangent=new T.GeometryAttribute({componentDatatype:E.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:b})),t.st&&(a.st=new T.GeometryAttribute({componentDatatype:E.ComponentDatatype.FLOAT,componentsPerAttribute:2,values:h})),new T.Geometry({attributes:a,indices:p,primitiveType:T.PrimitiveType.TRIANGLES})}(c[d],t,m,a,y,r,i,l)});u.push(g)}e=f.GeometryPipeline.combineInstances(u)[0],s=(e.attributes.position.values=new Float64Array(e.attributes.position.values),e.indices=_.IndexDatatype.createTypedArray(e.attributes.position.values.length/3,e.indices),e.attributes);return t.position||delete s.position,new T.Geometry({attributes:s,indices:e.indices,primitiveType:e.primitiveType,boundingSphere:n})}}}},function(e,t){return l.defined(t)&&(e=p.unpack(e,t)),p.createGeometry(e)}});
1
+ define(["./arrayRemoveDuplicates-bce1b0dc","./BoundingRectangle-5a740234","./Transforms-c1a1d063","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./CoplanarPolygonGeometryLibrary-97ba18e3","./when-ae2e0b60","./GeometryAttribute-3dd6da35","./GeometryAttributes-5ce4955a","./GeometryInstance-e2137e03","./GeometryPipeline-990a755f","./IndexDatatype-6902a37d","./PolygonGeometryLibrary-4ad4f4a2","./PolygonPipeline-832a906c","./VertexFormat-1fc9746e","./combine-276652d0","./WebGLConstants-35626ea2","./OrientedBoundingBox-f3e4df94","./EllipsoidTangentPlane-4a503a7a","./AxisAlignedBoundingBox-9c01642b","./IntersectionTests-60f10d18","./Plane-43337cee","./AttributeCompression-2f7b45b7","./EncodedCartesian3-3b6655b5","./ArcType-1275a14e","./EllipsoidRhumbLine-535d21cd"],function(b,e,G,L,t,E,h,l,T,D,x,C,_,f,V,s,n,a,o,r,i,u,d,g,N,Q,j){var k=new L.Cartesian3,P=new e.BoundingRectangle,R=new L.Cartesian2,I=new L.Cartesian2,v=new L.Cartesian3,A=new L.Cartesian3,w=new L.Cartesian3,F=new L.Cartesian3,M=new L.Cartesian3,B=new L.Cartesian3,H=new G.Quaternion,O=new L.Matrix3,z=new L.Matrix3,S=new L.Cartesian3;function p(e){var t=(e=l.defaultValue(e,l.defaultValue.EMPTY_OBJECT)).polygonHierarchy,n=l.defaultValue(e.vertexFormat,s.VertexFormat.DEFAULT);this._vertexFormat=s.VertexFormat.clone(n),this._polygonHierarchy=t,this._stRotation=l.defaultValue(e.stRotation,0),this._ellipsoid=L.Ellipsoid.clone(l.defaultValue(e.ellipsoid,L.Ellipsoid.WGS84)),this._workerName="createCoplanarPolygonGeometry",this.packedLength=f.PolygonGeometryLibrary.computeHierarchyPackedLength(t)+s.VertexFormat.packedLength+L.Ellipsoid.packedLength+2}p.fromPositions=function(e){return new p({polygonHierarchy:{positions:(e=l.defaultValue(e,l.defaultValue.EMPTY_OBJECT)).positions},vertexFormat:e.vertexFormat,stRotation:e.stRotation,ellipsoid:e.ellipsoid})},p.pack=function(e,t,n){return n=l.defaultValue(n,0),n=f.PolygonGeometryLibrary.packPolygonHierarchy(e._polygonHierarchy,t,n),L.Ellipsoid.pack(e._ellipsoid,t,n),n+=L.Ellipsoid.packedLength,s.VertexFormat.pack(e._vertexFormat,t,n),n+=s.VertexFormat.packedLength,t[n++]=e._stRotation,t[n]=e.packedLength,t};var y=L.Ellipsoid.clone(L.Ellipsoid.UNIT_SPHERE),c=new s.VertexFormat,m={polygonHierarchy:{}};return p.unpack=function(e,t,n){t=l.defaultValue(t,0);var a=f.PolygonGeometryLibrary.unpackPolygonHierarchy(e,t),o=(t=a.startingIndex,delete a.startingIndex,L.Ellipsoid.unpack(e,t,y)),r=(t+=L.Ellipsoid.packedLength,s.VertexFormat.unpack(e,t,c)),i=(t+=s.VertexFormat.packedLength,e[t++]),e=e[t];return(n=l.defined(n)?n:new p(m))._polygonHierarchy=a,n._ellipsoid=L.Ellipsoid.clone(o,n._ellipsoid),n._vertexFormat=s.VertexFormat.clone(r,n._vertexFormat),n._stRotation=i,n.packedLength=e,n},p.createGeometry=function(e){var t=e._vertexFormat,n=e._polygonHierarchy,a=e._stRotation,o=n.positions;if(!((o=b.arrayRemoveDuplicates(o,L.Cartesian3.equalsEpsilon,!0)).length<3)){var r=v,i=A,l=w,s=M,p=B;if(h.CoplanarPolygonGeometryLibrary.computeProjectTo2DArguments(o,F,s,p)){var r=L.Cartesian3.cross(s,p,r),e=(r=L.Cartesian3.normalize(r,r),L.Cartesian3.equalsEpsilon(F,L.Cartesian3.ZERO,E.CesiumMath.EPSILON6)||(e=e._ellipsoid.geodeticSurfaceNormal(F,S),L.Cartesian3.dot(r,e)<0&&(r=L.Cartesian3.negate(r,r),s=L.Cartesian3.negate(s,s))),h.CoplanarPolygonGeometryLibrary.createProjectPointsTo2DFunction(F,s,p)),y=h.CoplanarPolygonGeometryLibrary.createProjectPointTo2DFunction(F,s,p),s=(t.tangent&&(i=L.Cartesian3.clone(s,i)),t.bitangent&&(l=L.Cartesian3.clone(p,l)),f.PolygonGeometryLibrary.polygonsFromHierarchy(n,e,!1)),p=s.hierarchy,c=s.polygons;if(0!==p.length){for(var o=p[0].outerRing,n=G.BoundingSphere.fromPoints(o),m=f.PolygonGeometryLibrary.computeBoundingRectangle(r,y,o,a,P),u=[],d=0;d<c.length;d++){var g=new x.GeometryInstance({geometry:function(e,t,n,a,o,r,i,l){for(var s=e.positions,p=((e=V.PolygonPipeline.triangulate(e.positions2D,e.holes)).length<3&&(e=[0,1,2]),_.IndexDatatype.createTypedArray(s.length,e.length)),y=(p.set(e),O),c=(0!==a?(e=G.Quaternion.fromAxisAngle(r,a,H),y=L.Matrix3.fromQuaternion(e,y),(t.tangent||t.bitangent)&&(e=G.Quaternion.fromAxisAngle(r,-a,H),a=L.Matrix3.fromQuaternion(e,z),i=L.Cartesian3.normalize(L.Matrix3.multiplyByVector(a,i,i),i),t.bitangent)&&(l=L.Cartesian3.normalize(L.Cartesian3.cross(r,i,l),l))):y=L.Matrix3.clone(L.Matrix3.IDENTITY,y),I),m=(t.st&&(c.x=n.x,c.y=n.y),s.length),e=3*m,u=new Float64Array(e),d=t.normal?new Float32Array(e):void 0,g=t.tangent?new Float32Array(e):void 0,b=t.bitangent?new Float32Array(e):void 0,h=t.st?new Float32Array(2*m):void 0,x=0,C=0,f=0,P=0,v=0,A=0;A<m;A++){var w,F=s[A];u[x++]=F.x,u[x++]=F.y,u[x++]=F.z,t.st&&(F=o(L.Matrix3.multiplyByVector(y,F,k),R),L.Cartesian2.subtract(F,c,F),w=E.CesiumMath.clamp(F.x/n.width,0,1),F=E.CesiumMath.clamp(F.y/n.height,0,1),h[v++]=w,h[v++]=F),t.normal&&(d[C++]=r.x,d[C++]=r.y,d[C++]=r.z),t.tangent&&(g[P++]=i.x,g[P++]=i.y,g[P++]=i.z),t.bitangent&&(b[f++]=l.x,b[f++]=l.y,b[f++]=l.z)}return a=new D.GeometryAttributes,t.position&&(a.position=new T.GeometryAttribute({componentDatatype:E.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:u})),t.normal&&(a.normal=new T.GeometryAttribute({componentDatatype:E.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:d})),t.tangent&&(a.tangent=new T.GeometryAttribute({componentDatatype:E.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:g})),t.bitangent&&(a.bitangent=new T.GeometryAttribute({componentDatatype:E.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:b})),t.st&&(a.st=new T.GeometryAttribute({componentDatatype:E.ComponentDatatype.FLOAT,componentsPerAttribute:2,values:h})),new T.Geometry({attributes:a,indices:p,primitiveType:T.PrimitiveType.TRIANGLES})}(c[d],t,m,a,y,r,i,l)});u.push(g)}e=C.GeometryPipeline.combineInstances(u)[0],s=(e.attributes.position.values=new Float64Array(e.attributes.position.values),e.indices=_.IndexDatatype.createTypedArray(e.attributes.position.values.length/3,e.indices),e.attributes);return t.position||delete s.position,new T.Geometry({attributes:s,indices:e.indices,primitiveType:e.primitiveType,boundingSphere:n})}}}},function(e,t){return l.defined(t)&&(e=p.unpack(e,t)),p.createGeometry(e)}});
@@ -1 +1 @@
1
- define(["./arrayRemoveDuplicates-bce1b0dc","./Transforms-ce414632","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./CoplanarPolygonGeometryLibrary-c59ad6a7","./when-ae2e0b60","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./GeometryInstance-e2137e03","./GeometryPipeline-984d7313","./IndexDatatype-6902a37d","./PolygonGeometryLibrary-c31243f7","./combine-276652d0","./WebGLConstants-35626ea2","./OrientedBoundingBox-f70d01fe","./EllipsoidTangentPlane-da721e0c","./AxisAlignedBoundingBox-35efa0e8","./IntersectionTests-f71f97b3","./Plane-43337cee","./AttributeCompression-2f7b45b7","./EncodedCartesian3-3b6655b5","./ArcType-1275a14e","./EllipsoidRhumbLine-535d21cd","./PolygonPipeline-6d75eac7"],function(a,y,l,e,c,p,o,s,u,d,m,g,b,t,n,r,i,f,h,P,G,v,L,T,E){function A(e){e=(e=o.defaultValue(e,o.defaultValue.EMPTY_OBJECT)).polygonHierarchy;this._polygonHierarchy=e,this._workerName="createCoplanarPolygonOutlineGeometry",this.packedLength=b.PolygonGeometryLibrary.computeHierarchyPackedLength(e)+1}A.fromPositions=function(e){return new A({polygonHierarchy:{positions:(e=o.defaultValue(e,o.defaultValue.EMPTY_OBJECT)).positions}})},A.pack=function(e,t,n){return n=o.defaultValue(n,0),t[n=b.PolygonGeometryLibrary.packPolygonHierarchy(e._polygonHierarchy,t,n)]=e.packedLength,t};var C={polygonHierarchy:{}};return A.unpack=function(e,t,n){t=o.defaultValue(t,0);var r=b.PolygonGeometryLibrary.unpackPolygonHierarchy(e,t),e=(t=r.startingIndex,delete r.startingIndex,e[t]);return(n=o.defined(n)?n:new A(C))._polygonHierarchy=r,n.packedLength=e,n},A.createGeometry=function(e){var e=e._polygonHierarchy,t=e.positions,t=a.arrayRemoveDuplicates(t,l.Cartesian3.equalsEpsilon,!0);if(!(t.length<3)&&p.CoplanarPolygonGeometryLibrary.validOutline(t)){var n=b.PolygonGeometryLibrary.polygonOutlinesFromHierarchy(e,!1);if(0!==n.length){for(var r=[],o=0;o<n.length;o++){var i=new d.GeometryInstance({geometry:function(e){for(var t=e.length,n=new Float64Array(3*t),r=g.IndexDatatype.createTypedArray(t,2*t),o=0,i=0,a=0;a<t;a++){var y=e[a];n[o++]=y.x,n[o++]=y.y,n[o++]=y.z,r[i++]=a,r[i++]=(a+1)%t}var l=new u.GeometryAttributes({position:new s.GeometryAttribute({componentDatatype:c.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:n})});return new s.Geometry({attributes:l,indices:r,primitiveType:s.PrimitiveType.LINES})}(n[o])});r.push(i)}t=m.GeometryPipeline.combineInstances(r)[0],e=y.BoundingSphere.fromPoints(e.positions);return new s.Geometry({attributes:t.attributes,indices:t.indices,primitiveType:t.primitiveType,boundingSphere:e})}}},function(e,t){return(e=o.defined(t)?A.unpack(e,t):e)._ellipsoid=l.Ellipsoid.clone(e._ellipsoid),A.createGeometry(e)}});
1
+ define(["./arrayRemoveDuplicates-bce1b0dc","./Transforms-c1a1d063","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./CoplanarPolygonGeometryLibrary-97ba18e3","./when-ae2e0b60","./GeometryAttribute-3dd6da35","./GeometryAttributes-5ce4955a","./GeometryInstance-e2137e03","./GeometryPipeline-990a755f","./IndexDatatype-6902a37d","./PolygonGeometryLibrary-4ad4f4a2","./combine-276652d0","./WebGLConstants-35626ea2","./OrientedBoundingBox-f3e4df94","./EllipsoidTangentPlane-4a503a7a","./AxisAlignedBoundingBox-9c01642b","./IntersectionTests-60f10d18","./Plane-43337cee","./AttributeCompression-2f7b45b7","./EncodedCartesian3-3b6655b5","./ArcType-1275a14e","./EllipsoidRhumbLine-535d21cd","./PolygonPipeline-832a906c"],function(a,y,l,e,c,p,o,s,u,d,m,g,b,t,n,r,i,f,h,P,G,v,L,T,E){function A(e){e=(e=o.defaultValue(e,o.defaultValue.EMPTY_OBJECT)).polygonHierarchy;this._polygonHierarchy=e,this._workerName="createCoplanarPolygonOutlineGeometry",this.packedLength=b.PolygonGeometryLibrary.computeHierarchyPackedLength(e)+1}A.fromPositions=function(e){return new A({polygonHierarchy:{positions:(e=o.defaultValue(e,o.defaultValue.EMPTY_OBJECT)).positions}})},A.pack=function(e,t,n){return n=o.defaultValue(n,0),t[n=b.PolygonGeometryLibrary.packPolygonHierarchy(e._polygonHierarchy,t,n)]=e.packedLength,t};var C={polygonHierarchy:{}};return A.unpack=function(e,t,n){t=o.defaultValue(t,0);var r=b.PolygonGeometryLibrary.unpackPolygonHierarchy(e,t),e=(t=r.startingIndex,delete r.startingIndex,e[t]);return(n=o.defined(n)?n:new A(C))._polygonHierarchy=r,n.packedLength=e,n},A.createGeometry=function(e){var e=e._polygonHierarchy,t=e.positions,t=a.arrayRemoveDuplicates(t,l.Cartesian3.equalsEpsilon,!0);if(!(t.length<3)&&p.CoplanarPolygonGeometryLibrary.validOutline(t)){var n=b.PolygonGeometryLibrary.polygonOutlinesFromHierarchy(e,!1);if(0!==n.length){for(var r=[],o=0;o<n.length;o++){var i=new d.GeometryInstance({geometry:function(e){for(var t=e.length,n=new Float64Array(3*t),r=g.IndexDatatype.createTypedArray(t,2*t),o=0,i=0,a=0;a<t;a++){var y=e[a];n[o++]=y.x,n[o++]=y.y,n[o++]=y.z,r[i++]=a,r[i++]=(a+1)%t}var l=new u.GeometryAttributes({position:new s.GeometryAttribute({componentDatatype:c.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:n})});return new s.Geometry({attributes:l,indices:r,primitiveType:s.PrimitiveType.LINES})}(n[o])});r.push(i)}t=m.GeometryPipeline.combineInstances(r)[0],e=y.BoundingSphere.fromPoints(e.positions);return new s.Geometry({attributes:t.attributes,indices:t.indices,primitiveType:t.primitiveType,boundingSphere:e})}}},function(e,t){return(e=o.defined(t)?A.unpack(e,t):e)._ellipsoid=l.Ellipsoid.clone(e._ellipsoid),A.createGeometry(e)}});
@@ -1 +1 @@
1
- define(["./GeometryOffsetAttribute-8c0bd3ce","./arrayRemoveDuplicates-bce1b0dc","./Transforms-ce414632","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./PolylineVolumeGeometryLibrary-22fe2b3f","./CorridorGeometryLibrary-dbfbb48f","./when-ae2e0b60","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./IndexDatatype-6902a37d","./PolygonPipeline-6d75eac7","./VertexFormat-1fc9746e","./combine-276652d0","./WebGLConstants-35626ea2","./EllipsoidTangentPlane-da721e0c","./AxisAlignedBoundingBox-35efa0e8","./IntersectionTests-f71f97b3","./Plane-43337cee","./PolylinePipeline-7389d81d","./EllipsoidGeodesic-640f147e","./EllipsoidRhumbLine-535d21cd"],function(E,m,d,rt,t,at,y,it,ot,nt,gt,st,V,x,e,r,a,o,n,s,l,u,P){var lt=new rt.Cartesian3,dt=new rt.Cartesian3,ut=new rt.Cartesian3,mt=new rt.Cartesian3,N=new rt.Cartesian3,yt=new rt.Cartesian3,ft=new rt.Cartesian3,pt=new rt.Cartesian3;function f(t,e){for(var r=0;r<t.length;r++)t[r]=e.scaleToGeodeticSurface(t[r],t[r]);return t}function ct(t,e,r,a,i,o){var n=t.normals,s=t.tangents,t=t.bitangents,l=rt.Cartesian3.normalize(rt.Cartesian3.cross(r,e,ft),ft);o.normal&&it.CorridorGeometryLibrary.addAttribute(n,e,a,i),o.tangent&&it.CorridorGeometryLibrary.addAttribute(s,l,a,i),o.bitangent&&it.CorridorGeometryLibrary.addAttribute(t,r,a,i)}function F(t,e,r){var a,i=t.positions,o=t.corners,I=t.endPositions,S=t.lefts,R=t.normals,t=new gt.GeometryAttributes,n=0,s=0,k=0;for(T=0;T<i.length;T+=2)n+=a=i[T].length-3,k+=2*a,s+=i[T+1].length-3;for(n+=3,s+=3,T=0;T<o.length;T++){var H=o[T],z=o[T].leftPositions;ot.defined(z)?n+=a=z.length:s+=a=o[T].rightPositions.length,k+=a}var l,d,u,m,y,B=ot.defined(I),f=(B&&(n+=l=I[0].length-3,s+=l,k+=6*(l/=3)),n+s),p=new Float64Array(f),c={normals:e.normal?new Float32Array(f):void 0,tangents:e.tangent?new Float32Array(f):void 0,bitangents:e.bitangent?new Float32Array(f):void 0},g=0,h=f-1,b=lt,C=dt,U=l/2,A=st.IndexDatatype.createTypedArray(f/3,k),v=0;if(B)for(var _=ut,w=mt,Y=I[0],b=rt.Cartesian3.fromArray(R,0,b),C=rt.Cartesian3.fromArray(S,0,C),T=0;T<U;T++)_=rt.Cartesian3.fromArray(Y,3*(U-1-T),_),w=rt.Cartesian3.fromArray(Y,3*(U+T),w),it.CorridorGeometryLibrary.addAttribute(p,w,g),it.CorridorGeometryLibrary.addAttribute(p,_,void 0,h),ct(c,b,C,g,h,e),y=(u=g/3)+1,m=(d=(h-2)/3)-1,A[v++]=d,A[v++]=u,A[v++]=m,A[v++]=m,A[v++]=u,A[v++]=y,g+=3,h-=3;var W,q,J=0,j=0,G=i[J++],E=i[J++];for(p.set(G,g),p.set(E,h-E.length+1),C=rt.Cartesian3.fromArray(S,j,C),a=E.length-3,T=0;T<a;T+=3)W=r.geodeticSurfaceNormal(rt.Cartesian3.fromArray(G,T,ft),ft),q=r.geodeticSurfaceNormal(rt.Cartesian3.fromArray(E,a-T,pt),pt),ct(c,b=rt.Cartesian3.normalize(rt.Cartesian3.add(W,q,b),b),C,g,h,e),y=(u=g/3)+1,m=(d=(h-2)/3)-1,A[v++]=d,A[v++]=u,A[v++]=m,A[v++]=m,A[v++]=u,A[v++]=y,g+=3,h-=3;for(W=r.geodeticSurfaceNormal(rt.Cartesian3.fromArray(G,a,ft),ft),q=r.geodeticSurfaceNormal(rt.Cartesian3.fromArray(E,a,pt),pt),b=rt.Cartesian3.normalize(rt.Cartesian3.add(W,q,b),b),j+=3,T=0;T<o.length;T++){var V,x,F,K=(H=o[T]).leftPositions,Q=H.rightPositions,L=yt,P=ut,N=mt;if(b=rt.Cartesian3.fromArray(R,j,b),ot.defined(K)){for(ct(c,b,C,void 0,h,e),h-=3,x=y,F=m,V=0;V<K.length/3;V++)L=rt.Cartesian3.fromArray(K,3*V,L),A[v++]=x,A[v++]=F-V-1,A[v++]=F-V,it.CorridorGeometryLibrary.addAttribute(p,L,void 0,h),P=rt.Cartesian3.fromArray(p,3*(F-V-1),P),N=rt.Cartesian3.fromArray(p,3*x,N),ct(c,b,C=rt.Cartesian3.normalize(rt.Cartesian3.subtract(P,N,C),C),void 0,h,e),h-=3;L=rt.Cartesian3.fromArray(p,3*x,L),P=rt.Cartesian3.subtract(rt.Cartesian3.fromArray(p,3*F,P),L,P),N=rt.Cartesian3.subtract(rt.Cartesian3.fromArray(p,3*(F-V),N),L,N),ct(c,b,C=rt.Cartesian3.normalize(rt.Cartesian3.add(P,N,C),C),g,void 0,e),g+=3}else{for(ct(c,b,C,g,void 0,e),g+=3,x=m,F=y,V=0;V<Q.length/3;V++)L=rt.Cartesian3.fromArray(Q,3*V,L),A[v++]=x,A[v++]=F+V,A[v++]=F+V+1,it.CorridorGeometryLibrary.addAttribute(p,L,g),P=rt.Cartesian3.fromArray(p,3*x,P),N=rt.Cartesian3.fromArray(p,3*(F+V),N),ct(c,b,C=rt.Cartesian3.normalize(rt.Cartesian3.subtract(P,N,C),C),g,void 0,e),g+=3;L=rt.Cartesian3.fromArray(p,3*x,L),P=rt.Cartesian3.subtract(rt.Cartesian3.fromArray(p,3*(F+V),P),L,P),N=rt.Cartesian3.subtract(rt.Cartesian3.fromArray(p,3*F,N),L,N),ct(c,b,C=rt.Cartesian3.normalize(rt.Cartesian3.negate(rt.Cartesian3.add(N,P,C),C),C),void 0,h,e),h-=3}for(G=i[J++],E=i[J++],G.splice(0,3),E.splice(E.length-3,3),p.set(G,g),p.set(E,h-E.length+1),a=E.length-3,j+=3,C=rt.Cartesian3.fromArray(S,j,C),V=0;V<E.length;V+=3)W=r.geodeticSurfaceNormal(rt.Cartesian3.fromArray(G,V,ft),ft),q=r.geodeticSurfaceNormal(rt.Cartesian3.fromArray(E,a-V,pt),pt),ct(c,b=rt.Cartesian3.normalize(rt.Cartesian3.add(W,q,b),b),C,g,h,e),u=(y=g/3)-1,A[v++]=d=(m=(h-2)/3)+1,A[v++]=u,A[v++]=m,A[v++]=m,A[v++]=u,A[v++]=y,g+=3,h-=3;g-=3,h+=3}if(ct(c,b=rt.Cartesian3.fromArray(R,R.length-3,b),C,g,h,e),B){g+=3,h-=3,_=ut,w=mt;var X=I[1];for(T=0;T<U;T++)_=rt.Cartesian3.fromArray(X,3*(l-T-1),_),w=rt.Cartesian3.fromArray(X,3*T,w),it.CorridorGeometryLibrary.addAttribute(p,_,void 0,h),it.CorridorGeometryLibrary.addAttribute(p,w,g),ct(c,b,C,g,h,e),u=(y=g/3)-1,A[v++]=d=(m=(h-2)/3)+1,A[v++]=u,A[v++]=m,A[v++]=m,A[v++]=u,A[v++]=y,g+=3,h-=3}if(t.position=new nt.GeometryAttribute({componentDatatype:at.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:p}),e.st){var D=new Float32Array(f/3*2),M=0;if(B){n/=3,s/=3;var O,Z=Math.PI/(l+1),$=1/(n-l+1),tt=1/(s-l+1),et=l/2;for(T=1+et;T<l+1;T++)O=at.CesiumMath.PI_OVER_TWO+Z*T,D[M++]=tt*(1+Math.cos(O)),D[M++]=.5*(1+Math.sin(O));for(T=1;T<s-l+1;T++)D[M++]=T*tt,D[M++]=0;for(T=l;et<T;T--)O=at.CesiumMath.PI_OVER_TWO-T*Z,D[M++]=1-tt*(1+Math.cos(O)),D[M++]=.5*(1+Math.sin(O));for(T=et;0<T;T--)O=at.CesiumMath.PI_OVER_TWO-Z*T,D[M++]=1-$*(1+Math.cos(O)),D[M++]=.5*(1+Math.sin(O));for(T=n-l;0<T;T--)D[M++]=T*$,D[M++]=1;for(T=1;T<1+et;T++)O=at.CesiumMath.PI_OVER_TWO+Z*T,D[M++]=$*(1+Math.cos(O)),D[M++]=.5*(1+Math.sin(O))}else{for($=1/((n/=3)-1),tt=1/((s/=3)-1),T=0;T<s;T++)D[M++]=T*tt,D[M++]=0;for(T=n;0<T;T--)D[M++]=(T-1)*$,D[M++]=1}t.st=new nt.GeometryAttribute({componentDatatype:at.ComponentDatatype.FLOAT,componentsPerAttribute:2,values:D})}return e.normal&&(t.normal=new nt.GeometryAttribute({componentDatatype:at.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:c.normals})),e.tangent&&(t.tangent=new nt.GeometryAttribute({componentDatatype:at.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:c.tangents})),e.bitangent&&(t.bitangent=new nt.GeometryAttribute({componentDatatype:at.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:c.bitangents})),{attributes:t,indices:A}}function L(t,e,r){r[e++]=t[0],r[e++]=t[1],r[e++]=t[2];for(var a=3;a<t.length;a+=3){var i=t[a],o=t[a+1],n=t[a+2];r[e++]=i,r[e++]=o,r[e++]=n,r[e++]=i,r[e++]=o,r[e++]=n}return r[e++]=t[0],r[e++]=t[1],r[e++]=t[2],r}function D(t,e){var r=new x.VertexFormat({position:e.position,normal:e.normal||e.bitangent||t.shadowVolume,tangent:e.tangent,bitangent:e.normal||e.bitangent,st:e.st}),a=t.ellipsoid,r=F(it.CorridorGeometryLibrary.computePositions(t),r,a),i=t.height,o=t.extrudedHeight,n=r.attributes,s=r.indices,r=n.position.values,l=r.length,d=new Float64Array(6*l),u=new Float64Array(l),m=(u.set(r),new Float64Array(4*l)),m=L(r=V.PolygonPipeline.scaleToGeodeticHeight(r,i,a),0,m),n=(m=L(u=V.PolygonPipeline.scaleToGeodeticHeight(u,o,a),2*l,m),d.set(r),d.set(u,l),d.set(m,2*l),n.position.values=d,function(t,e){if(e.normal||e.tangent||e.bitangent||e.st){var r,a,i=t.position.values,o=((e.normal||e.bitangent)&&(r=t.normal.values,a=t.bitangent.values),t.position.values.length/18),n=3*o,s=2*o,l=2*n;if(e.normal||e.bitangent||e.tangent){for(var d=e.normal?new Float32Array(6*n):void 0,u=e.tangent?new Float32Array(6*n):void 0,m=e.bitangent?new Float32Array(6*n):void 0,y=lt,f=dt,p=ut,c=mt,g=N,h=yt,b=l,C=0;C<n;C+=3){var A=b+l,y=rt.Cartesian3.fromArray(i,C,y),f=rt.Cartesian3.fromArray(i,C+n,f),p=rt.Cartesian3.fromArray(i,(C+3)%n,p);f=rt.Cartesian3.subtract(f,y,f),p=rt.Cartesian3.subtract(p,y,p),c=rt.Cartesian3.normalize(rt.Cartesian3.cross(f,p,c),c),e.normal&&(it.CorridorGeometryLibrary.addAttribute(d,c,A),it.CorridorGeometryLibrary.addAttribute(d,c,A+3),it.CorridorGeometryLibrary.addAttribute(d,c,b),it.CorridorGeometryLibrary.addAttribute(d,c,b+3)),(e.tangent||e.bitangent)&&(h=rt.Cartesian3.fromArray(r,C,h),e.bitangent&&(it.CorridorGeometryLibrary.addAttribute(m,h,A),it.CorridorGeometryLibrary.addAttribute(m,h,A+3),it.CorridorGeometryLibrary.addAttribute(m,h,b),it.CorridorGeometryLibrary.addAttribute(m,h,b+3)),e.tangent)&&(g=rt.Cartesian3.normalize(rt.Cartesian3.cross(h,c,g),g),it.CorridorGeometryLibrary.addAttribute(u,g,A),it.CorridorGeometryLibrary.addAttribute(u,g,A+3),it.CorridorGeometryLibrary.addAttribute(u,g,b),it.CorridorGeometryLibrary.addAttribute(u,g,b+3)),b+=6}if(e.normal){for(d.set(r),C=0;C<n;C+=3)d[C+n]=-r[C],d[C+n+1]=-r[C+1],d[C+n+2]=-r[C+2];t.normal.values=d}else t.normal=void 0;e.bitangent?(m.set(a),m.set(a,n),t.bitangent.values=m):t.bitangent=void 0,e.tangent&&(o=t.tangent.values,u.set(o),u.set(o,n),t.tangent.values=u)}if(e.st){for(var v=t.st.values,_=new Float32Array(6*s),w=(_.set(v),_.set(v,s),2*s),T=0;T<2;T++){for(_[w++]=v[0],_[w++]=v[1],C=2;C<s;C+=2){var G=v[C],E=v[C+1];_[w++]=G,_[w++]=E,_[w++]=G,_[w++]=E}_[w++]=v[0],_[w++]=v[1]}t.st.values=_}}return t}(n,e)),y=l/3;if(t.shadowVolume){for(var f=n.normal.values,l=f.length,i=new Float32Array(6*l),p=0;p<l;p++)f[p]=-f[p];i.set(f,l),i=L(f,4*l,i),n.extrudeDirection=new nt.GeometryAttribute({componentDatatype:at.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:i}),e.normal||(n.normal=void 0)}ot.defined(t.offsetAttribute)&&(o=new Uint8Array(6*y),o=t.offsetAttribute===E.GeometryOffsetAttribute.TOP?(o=E.arrayFill(o,1,0,y),E.arrayFill(o,1,2*y,4*y)):(a=t.offsetAttribute===E.GeometryOffsetAttribute.NONE?0:1,E.arrayFill(o,a)),n.applyOffset=new nt.GeometryAttribute({componentDatatype:at.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:1,values:o}));var c,g,h,b,C=s.length,A=y+y,v=st.IndexDatatype.createTypedArray(d.length/3,2*C+3*A),_=(v.set(s),C);for(p=0;p<C;p+=3){var w=s[p],T=s[p+1],G=s[p+2];v[_++]=G+y,v[_++]=T+y,v[_++]=w+y}for(p=0;p<A;p+=2)h=(c=p+A)+1,b=(g=c+A)+1,v[_++]=c,v[_++]=g,v[_++]=h,v[_++]=h,v[_++]=g,v[_++]=b;return{attributes:n,indices:v}}var p=new rt.Cartesian3,c=new rt.Cartesian3,g=new rt.Cartographic;function h(t,e,r,a,i,o){var e=rt.Cartesian3.subtract(e,t,p),n=(rt.Cartesian3.normalize(e,e),r.geodeticSurfaceNormal(t,c)),e=rt.Cartesian3.cross(e,n,p),n=(rt.Cartesian3.multiplyByScalar(e,a,e),i.latitude),a=i.longitude,s=o.latitude,l=o.longitude,d=(rt.Cartesian3.add(t,e,c),r.cartesianToCartographic(c,g),g.latitude),u=g.longitude,n=Math.min(n,d),a=Math.min(a,u),s=Math.max(s,d),l=Math.max(l,u);rt.Cartesian3.subtract(t,e,c),r.cartesianToCartographic(c,g),d=g.latitude,u=g.longitude,n=Math.min(n,d),a=Math.min(a,u),s=Math.max(s,d),l=Math.max(l,u),i.latitude=n,i.longitude=a,o.latitude=s,o.longitude=l}var b=new rt.Cartesian3,C=new rt.Cartesian3,A=new rt.Cartographic,v=new rt.Cartographic;function i(t,e,r,a,i){t=f(t,e);var o=m.arrayRemoveDuplicates(t,rt.Cartesian3.equalsEpsilon),n=o.length;if(n<2||r<=0)return new rt.Rectangle;var s,l,d=.5*r;A.latitude=Number.POSITIVE_INFINITY,A.longitude=Number.POSITIVE_INFINITY,v.latitude=Number.NEGATIVE_INFINITY,v.longitude=Number.NEGATIVE_INFINITY,a===y.CornerType.ROUNDED&&(rt.Cartesian3.subtract(t=o[0],o[1],b),rt.Cartesian3.normalize(b,b),rt.Cartesian3.multiplyByScalar(b,d,b),rt.Cartesian3.add(t,b,C),e.cartesianToCartographic(C,g),s=g.latitude,l=g.longitude,A.latitude=Math.min(A.latitude,s),A.longitude=Math.min(A.longitude,l),v.latitude=Math.max(v.latitude,s),v.longitude=Math.max(v.longitude,l));for(var u=0;u<n-1;++u)h(o[u],o[u+1],e,d,A,v);r=o[n-1],rt.Cartesian3.subtract(r,o[n-2],b),rt.Cartesian3.normalize(b,b),rt.Cartesian3.multiplyByScalar(b,d,b),rt.Cartesian3.add(r,b,C),h(r,C,e,d,A,v),a===y.CornerType.ROUNDED&&(e.cartesianToCartographic(C,g),s=g.latitude,l=g.longitude,A.latitude=Math.min(A.latitude,s),A.longitude=Math.min(A.longitude,l),v.latitude=Math.max(v.latitude,s),v.longitude=Math.max(v.longitude,l)),t=ot.defined(i)?i:new rt.Rectangle;return t.north=v.latitude,t.south=A.latitude,t.east=v.longitude,t.west=A.longitude,t}function _(t){var e=(t=ot.defaultValue(t,ot.defaultValue.EMPTY_OBJECT)).positions,r=t.width,a=ot.defaultValue(t.height,0),i=ot.defaultValue(t.extrudedHeight,a);this._positions=e,this._ellipsoid=rt.Ellipsoid.clone(ot.defaultValue(t.ellipsoid,rt.Ellipsoid.WGS84)),this._vertexFormat=x.VertexFormat.clone(ot.defaultValue(t.vertexFormat,x.VertexFormat.DEFAULT)),this._width=r,this._height=Math.max(a,i),this._extrudedHeight=Math.min(a,i),this._cornerType=ot.defaultValue(t.cornerType,y.CornerType.ROUNDED),this._granularity=ot.defaultValue(t.granularity,at.CesiumMath.RADIANS_PER_DEGREE),this._shadowVolume=ot.defaultValue(t.shadowVolume,!1),this._workerName="createCorridorGeometry",this._offsetAttribute=t.offsetAttribute,this._rectangle=void 0,this.packedLength=1+e.length*rt.Cartesian3.packedLength+rt.Ellipsoid.packedLength+x.VertexFormat.packedLength+7}_.pack=function(t,e,r){r=ot.defaultValue(r,0);var a=t._positions,i=a.length;e[r++]=i;for(var o=0;o<i;++o,r+=rt.Cartesian3.packedLength)rt.Cartesian3.pack(a[o],e,r);return rt.Ellipsoid.pack(t._ellipsoid,e,r),r+=rt.Ellipsoid.packedLength,x.VertexFormat.pack(t._vertexFormat,e,r),r+=x.VertexFormat.packedLength,e[r++]=t._width,e[r++]=t._height,e[r++]=t._extrudedHeight,e[r++]=t._cornerType,e[r++]=t._granularity,e[r++]=t._shadowVolume?1:0,e[r]=ot.defaultValue(t._offsetAttribute,-1),e};var w=rt.Ellipsoid.clone(rt.Ellipsoid.UNIT_SPHERE),T=new x.VertexFormat,G={positions:void 0,ellipsoid:w,vertexFormat:T,width:void 0,height:void 0,extrudedHeight:void 0,cornerType:void 0,granularity:void 0,shadowVolume:void 0,offsetAttribute:void 0};return _.unpack=function(t,e,r){e=ot.defaultValue(e,0);for(var a=t[e++],i=new Array(a),o=0;o<a;++o,e+=rt.Cartesian3.packedLength)i[o]=rt.Cartesian3.unpack(t,e);var n=rt.Ellipsoid.unpack(t,e,w),s=(e+=rt.Ellipsoid.packedLength,x.VertexFormat.unpack(t,e,T)),l=(e+=x.VertexFormat.packedLength,t[e++]),d=t[e++],u=t[e++],m=t[e++],y=t[e++],f=1===t[e++],p=t[e];return ot.defined(r)?(r._positions=i,r._ellipsoid=rt.Ellipsoid.clone(n,r._ellipsoid),r._vertexFormat=x.VertexFormat.clone(s,r._vertexFormat),r._width=l,r._height=d,r._extrudedHeight=u,r._cornerType=m,r._granularity=y,r._shadowVolume=f,r._offsetAttribute=-1===p?void 0:p,r):(G.positions=i,G.width=l,G.height=d,G.extrudedHeight=u,G.cornerType=m,G.granularity=y,G.shadowVolume=f,G.offsetAttribute=-1===p?void 0:p,new _(G))},_.computeRectangle=function(t,e){var r=(t=ot.defaultValue(t,ot.defaultValue.EMPTY_OBJECT)).positions,a=t.width;return i(r,ot.defaultValue(t.ellipsoid,rt.Ellipsoid.WGS84),a,ot.defaultValue(t.cornerType,y.CornerType.ROUNDED),e)},_.createGeometry=function(t){var e,r,a,i,o,n=t._positions,s=t._width,l=t._ellipsoid,n=f(n,l),n=m.arrayRemoveDuplicates(n,rt.Cartesian3.equalsEpsilon);if(!(n.length<2||s<=0))return o=t._height,r=!at.CesiumMath.equalsEpsilon(o,a=t._extrudedHeight,0,at.CesiumMath.EPSILON2),e=t._vertexFormat,n={ellipsoid:l,positions:n,width:s,cornerType:t._cornerType,granularity:t._granularity,saveAttributes:!0},r?(n.height=o,n.extrudedHeight=a,n.shadowVolume=t._shadowVolume,n.offsetAttribute=t._offsetAttribute,i=D(n,e)):((i=F(it.CorridorGeometryLibrary.computePositions(n),e,l)).attributes.position.values=V.PolygonPipeline.scaleToGeodeticHeight(i.attributes.position.values,o,l),ot.defined(t._offsetAttribute)&&(s=t._offsetAttribute===E.GeometryOffsetAttribute.NONE?0:1,r=i.attributes.position.values.length,a=new Uint8Array(r/3),E.arrayFill(a,s),i.attributes.applyOffset=new nt.GeometryAttribute({componentDatatype:at.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:1,values:a}))),n=i.attributes,o=d.BoundingSphere.fromVertices(n.position.values,void 0,3),e.position||(i.attributes.position.values=void 0),new nt.Geometry({attributes:n,indices:i.indices,primitiveType:nt.PrimitiveType.TRIANGLES,boundingSphere:o,offsetAttribute:t._offsetAttribute})},_.createShadowVolume=function(t,e,r){var a=t._granularity,i=t._ellipsoid,e=e(a,i),r=r(a,i);return new _({positions:t._positions,width:t._width,cornerType:t._cornerType,ellipsoid:i,granularity:a,extrudedHeight:e,height:r,vertexFormat:x.VertexFormat.POSITION_ONLY,shadowVolume:!0})},Object.defineProperties(_.prototype,{rectangle:{get:function(){return ot.defined(this._rectangle)||(this._rectangle=i(this._positions,this._ellipsoid,this._width,this._cornerType)),this._rectangle}},textureCoordinateRotationPoints:{get:function(){return[0,0,0,1,1,0]}}}),function(t,e){return(t=ot.defined(e)?_.unpack(t,e):t)._ellipsoid=rt.Ellipsoid.clone(t._ellipsoid),_.createGeometry(t)}});
1
+ define(["./GeometryOffsetAttribute-8c0bd3ce","./arrayRemoveDuplicates-bce1b0dc","./Transforms-c1a1d063","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./PolylineVolumeGeometryLibrary-897b738e","./CorridorGeometryLibrary-bdd6155c","./when-ae2e0b60","./GeometryAttribute-3dd6da35","./GeometryAttributes-5ce4955a","./IndexDatatype-6902a37d","./PolygonPipeline-832a906c","./VertexFormat-1fc9746e","./combine-276652d0","./WebGLConstants-35626ea2","./EllipsoidTangentPlane-4a503a7a","./AxisAlignedBoundingBox-9c01642b","./IntersectionTests-60f10d18","./Plane-43337cee","./PolylinePipeline-83139cb3","./EllipsoidGeodesic-640f147e","./EllipsoidRhumbLine-535d21cd"],function(E,m,d,rt,t,at,y,it,ot,nt,gt,st,V,x,e,r,a,o,n,s,l,u,P){var lt=new rt.Cartesian3,dt=new rt.Cartesian3,ut=new rt.Cartesian3,mt=new rt.Cartesian3,N=new rt.Cartesian3,yt=new rt.Cartesian3,ft=new rt.Cartesian3,ct=new rt.Cartesian3;function f(t,e){for(var r=0;r<t.length;r++)t[r]=e.scaleToGeodeticSurface(t[r],t[r]);return t}function pt(t,e,r,a,i,o){var n=t.normals,s=t.tangents,t=t.bitangents,l=rt.Cartesian3.normalize(rt.Cartesian3.cross(r,e,ft),ft);o.normal&&it.CorridorGeometryLibrary.addAttribute(n,e,a,i),o.tangent&&it.CorridorGeometryLibrary.addAttribute(s,l,a,i),o.bitangent&&it.CorridorGeometryLibrary.addAttribute(t,r,a,i)}function F(t,e,r){var a,i=t.positions,o=t.corners,I=t.endPositions,S=t.lefts,R=t.normals,t=new gt.GeometryAttributes,n=0,s=0,k=0;for(T=0;T<i.length;T+=2)n+=a=i[T].length-3,k+=2*a,s+=i[T+1].length-3;for(n+=3,s+=3,T=0;T<o.length;T++){var H=o[T],z=o[T].leftPositions;ot.defined(z)?n+=a=z.length:s+=a=o[T].rightPositions.length,k+=a}var l,d,u,m,y,B=ot.defined(I),f=(B&&(n+=l=I[0].length-3,s+=l,k+=6*(l/=3)),n+s),c=new Float64Array(f),p={normals:e.normal?new Float32Array(f):void 0,tangents:e.tangent?new Float32Array(f):void 0,bitangents:e.bitangent?new Float32Array(f):void 0},g=0,h=f-1,b=lt,C=dt,U=l/2,A=st.IndexDatatype.createTypedArray(f/3,k),v=0;if(B)for(var _=ut,w=mt,Y=I[0],b=rt.Cartesian3.fromArray(R,0,b),C=rt.Cartesian3.fromArray(S,0,C),T=0;T<U;T++)_=rt.Cartesian3.fromArray(Y,3*(U-1-T),_),w=rt.Cartesian3.fromArray(Y,3*(U+T),w),it.CorridorGeometryLibrary.addAttribute(c,w,g),it.CorridorGeometryLibrary.addAttribute(c,_,void 0,h),pt(p,b,C,g,h,e),y=(u=g/3)+1,m=(d=(h-2)/3)-1,A[v++]=d,A[v++]=u,A[v++]=m,A[v++]=m,A[v++]=u,A[v++]=y,g+=3,h-=3;var W,q,J=0,j=0,G=i[J++],E=i[J++];for(c.set(G,g),c.set(E,h-E.length+1),C=rt.Cartesian3.fromArray(S,j,C),a=E.length-3,T=0;T<a;T+=3)W=r.geodeticSurfaceNormal(rt.Cartesian3.fromArray(G,T,ft),ft),q=r.geodeticSurfaceNormal(rt.Cartesian3.fromArray(E,a-T,ct),ct),pt(p,b=rt.Cartesian3.normalize(rt.Cartesian3.add(W,q,b),b),C,g,h,e),y=(u=g/3)+1,m=(d=(h-2)/3)-1,A[v++]=d,A[v++]=u,A[v++]=m,A[v++]=m,A[v++]=u,A[v++]=y,g+=3,h-=3;for(W=r.geodeticSurfaceNormal(rt.Cartesian3.fromArray(G,a,ft),ft),q=r.geodeticSurfaceNormal(rt.Cartesian3.fromArray(E,a,ct),ct),b=rt.Cartesian3.normalize(rt.Cartesian3.add(W,q,b),b),j+=3,T=0;T<o.length;T++){var V,x,F,K=(H=o[T]).leftPositions,Q=H.rightPositions,L=yt,P=ut,N=mt;if(b=rt.Cartesian3.fromArray(R,j,b),ot.defined(K)){for(pt(p,b,C,void 0,h,e),h-=3,x=y,F=m,V=0;V<K.length/3;V++)L=rt.Cartesian3.fromArray(K,3*V,L),A[v++]=x,A[v++]=F-V-1,A[v++]=F-V,it.CorridorGeometryLibrary.addAttribute(c,L,void 0,h),P=rt.Cartesian3.fromArray(c,3*(F-V-1),P),N=rt.Cartesian3.fromArray(c,3*x,N),pt(p,b,C=rt.Cartesian3.normalize(rt.Cartesian3.subtract(P,N,C),C),void 0,h,e),h-=3;L=rt.Cartesian3.fromArray(c,3*x,L),P=rt.Cartesian3.subtract(rt.Cartesian3.fromArray(c,3*F,P),L,P),N=rt.Cartesian3.subtract(rt.Cartesian3.fromArray(c,3*(F-V),N),L,N),pt(p,b,C=rt.Cartesian3.normalize(rt.Cartesian3.add(P,N,C),C),g,void 0,e),g+=3}else{for(pt(p,b,C,g,void 0,e),g+=3,x=m,F=y,V=0;V<Q.length/3;V++)L=rt.Cartesian3.fromArray(Q,3*V,L),A[v++]=x,A[v++]=F+V,A[v++]=F+V+1,it.CorridorGeometryLibrary.addAttribute(c,L,g),P=rt.Cartesian3.fromArray(c,3*x,P),N=rt.Cartesian3.fromArray(c,3*(F+V),N),pt(p,b,C=rt.Cartesian3.normalize(rt.Cartesian3.subtract(P,N,C),C),g,void 0,e),g+=3;L=rt.Cartesian3.fromArray(c,3*x,L),P=rt.Cartesian3.subtract(rt.Cartesian3.fromArray(c,3*(F+V),P),L,P),N=rt.Cartesian3.subtract(rt.Cartesian3.fromArray(c,3*F,N),L,N),pt(p,b,C=rt.Cartesian3.normalize(rt.Cartesian3.negate(rt.Cartesian3.add(N,P,C),C),C),void 0,h,e),h-=3}for(G=i[J++],E=i[J++],G.splice(0,3),E.splice(E.length-3,3),c.set(G,g),c.set(E,h-E.length+1),a=E.length-3,j+=3,C=rt.Cartesian3.fromArray(S,j,C),V=0;V<E.length;V+=3)W=r.geodeticSurfaceNormal(rt.Cartesian3.fromArray(G,V,ft),ft),q=r.geodeticSurfaceNormal(rt.Cartesian3.fromArray(E,a-V,ct),ct),pt(p,b=rt.Cartesian3.normalize(rt.Cartesian3.add(W,q,b),b),C,g,h,e),u=(y=g/3)-1,A[v++]=d=(m=(h-2)/3)+1,A[v++]=u,A[v++]=m,A[v++]=m,A[v++]=u,A[v++]=y,g+=3,h-=3;g-=3,h+=3}if(pt(p,b=rt.Cartesian3.fromArray(R,R.length-3,b),C,g,h,e),B){g+=3,h-=3,_=ut,w=mt;var X=I[1];for(T=0;T<U;T++)_=rt.Cartesian3.fromArray(X,3*(l-T-1),_),w=rt.Cartesian3.fromArray(X,3*T,w),it.CorridorGeometryLibrary.addAttribute(c,_,void 0,h),it.CorridorGeometryLibrary.addAttribute(c,w,g),pt(p,b,C,g,h,e),u=(y=g/3)-1,A[v++]=d=(m=(h-2)/3)+1,A[v++]=u,A[v++]=m,A[v++]=m,A[v++]=u,A[v++]=y,g+=3,h-=3}if(t.position=new nt.GeometryAttribute({componentDatatype:at.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:c}),e.st){var D=new Float32Array(f/3*2),M=0;if(B){n/=3,s/=3;var O,Z=Math.PI/(l+1),$=1/(n-l+1),tt=1/(s-l+1),et=l/2;for(T=1+et;T<l+1;T++)O=at.CesiumMath.PI_OVER_TWO+Z*T,D[M++]=tt*(1+Math.cos(O)),D[M++]=.5*(1+Math.sin(O));for(T=1;T<s-l+1;T++)D[M++]=T*tt,D[M++]=0;for(T=l;et<T;T--)O=at.CesiumMath.PI_OVER_TWO-T*Z,D[M++]=1-tt*(1+Math.cos(O)),D[M++]=.5*(1+Math.sin(O));for(T=et;0<T;T--)O=at.CesiumMath.PI_OVER_TWO-Z*T,D[M++]=1-$*(1+Math.cos(O)),D[M++]=.5*(1+Math.sin(O));for(T=n-l;0<T;T--)D[M++]=T*$,D[M++]=1;for(T=1;T<1+et;T++)O=at.CesiumMath.PI_OVER_TWO+Z*T,D[M++]=$*(1+Math.cos(O)),D[M++]=.5*(1+Math.sin(O))}else{for($=1/((n/=3)-1),tt=1/((s/=3)-1),T=0;T<s;T++)D[M++]=T*tt,D[M++]=0;for(T=n;0<T;T--)D[M++]=(T-1)*$,D[M++]=1}t.st=new nt.GeometryAttribute({componentDatatype:at.ComponentDatatype.FLOAT,componentsPerAttribute:2,values:D})}return e.normal&&(t.normal=new nt.GeometryAttribute({componentDatatype:at.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:p.normals})),e.tangent&&(t.tangent=new nt.GeometryAttribute({componentDatatype:at.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:p.tangents})),e.bitangent&&(t.bitangent=new nt.GeometryAttribute({componentDatatype:at.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:p.bitangents})),{attributes:t,indices:A}}function L(t,e,r){r[e++]=t[0],r[e++]=t[1],r[e++]=t[2];for(var a=3;a<t.length;a+=3){var i=t[a],o=t[a+1],n=t[a+2];r[e++]=i,r[e++]=o,r[e++]=n,r[e++]=i,r[e++]=o,r[e++]=n}return r[e++]=t[0],r[e++]=t[1],r[e++]=t[2],r}function D(t,e){var r=new x.VertexFormat({position:e.position,normal:e.normal||e.bitangent||t.shadowVolume,tangent:e.tangent,bitangent:e.normal||e.bitangent,st:e.st}),a=t.ellipsoid,r=F(it.CorridorGeometryLibrary.computePositions(t),r,a),i=t.height,o=t.extrudedHeight,n=r.attributes,s=r.indices,r=n.position.values,l=r.length,d=new Float64Array(6*l),u=new Float64Array(l),m=(u.set(r),new Float64Array(4*l)),m=L(r=V.PolygonPipeline.scaleToGeodeticHeight(r,i,a),0,m),n=(m=L(u=V.PolygonPipeline.scaleToGeodeticHeight(u,o,a),2*l,m),d.set(r),d.set(u,l),d.set(m,2*l),n.position.values=d,function(t,e){if(e.normal||e.tangent||e.bitangent||e.st){var r,a,i=t.position.values,o=((e.normal||e.bitangent)&&(r=t.normal.values,a=t.bitangent.values),t.position.values.length/18),n=3*o,s=2*o,l=2*n;if(e.normal||e.bitangent||e.tangent){for(var d=e.normal?new Float32Array(6*n):void 0,u=e.tangent?new Float32Array(6*n):void 0,m=e.bitangent?new Float32Array(6*n):void 0,y=lt,f=dt,c=ut,p=mt,g=N,h=yt,b=l,C=0;C<n;C+=3){var A=b+l,y=rt.Cartesian3.fromArray(i,C,y),f=rt.Cartesian3.fromArray(i,C+n,f),c=rt.Cartesian3.fromArray(i,(C+3)%n,c);f=rt.Cartesian3.subtract(f,y,f),c=rt.Cartesian3.subtract(c,y,c),p=rt.Cartesian3.normalize(rt.Cartesian3.cross(f,c,p),p),e.normal&&(it.CorridorGeometryLibrary.addAttribute(d,p,A),it.CorridorGeometryLibrary.addAttribute(d,p,A+3),it.CorridorGeometryLibrary.addAttribute(d,p,b),it.CorridorGeometryLibrary.addAttribute(d,p,b+3)),(e.tangent||e.bitangent)&&(h=rt.Cartesian3.fromArray(r,C,h),e.bitangent&&(it.CorridorGeometryLibrary.addAttribute(m,h,A),it.CorridorGeometryLibrary.addAttribute(m,h,A+3),it.CorridorGeometryLibrary.addAttribute(m,h,b),it.CorridorGeometryLibrary.addAttribute(m,h,b+3)),e.tangent)&&(g=rt.Cartesian3.normalize(rt.Cartesian3.cross(h,p,g),g),it.CorridorGeometryLibrary.addAttribute(u,g,A),it.CorridorGeometryLibrary.addAttribute(u,g,A+3),it.CorridorGeometryLibrary.addAttribute(u,g,b),it.CorridorGeometryLibrary.addAttribute(u,g,b+3)),b+=6}if(e.normal){for(d.set(r),C=0;C<n;C+=3)d[C+n]=-r[C],d[C+n+1]=-r[C+1],d[C+n+2]=-r[C+2];t.normal.values=d}else t.normal=void 0;e.bitangent?(m.set(a),m.set(a,n),t.bitangent.values=m):t.bitangent=void 0,e.tangent&&(o=t.tangent.values,u.set(o),u.set(o,n),t.tangent.values=u)}if(e.st){for(var v=t.st.values,_=new Float32Array(6*s),w=(_.set(v),_.set(v,s),2*s),T=0;T<2;T++){for(_[w++]=v[0],_[w++]=v[1],C=2;C<s;C+=2){var G=v[C],E=v[C+1];_[w++]=G,_[w++]=E,_[w++]=G,_[w++]=E}_[w++]=v[0],_[w++]=v[1]}t.st.values=_}}return t}(n,e)),y=l/3;if(t.shadowVolume){for(var f=n.normal.values,l=f.length,i=new Float32Array(6*l),c=0;c<l;c++)f[c]=-f[c];i.set(f,l),i=L(f,4*l,i),n.extrudeDirection=new nt.GeometryAttribute({componentDatatype:at.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:i}),e.normal||(n.normal=void 0)}ot.defined(t.offsetAttribute)&&(o=new Uint8Array(6*y),o=t.offsetAttribute===E.GeometryOffsetAttribute.TOP?(o=E.arrayFill(o,1,0,y),E.arrayFill(o,1,2*y,4*y)):(a=t.offsetAttribute===E.GeometryOffsetAttribute.NONE?0:1,E.arrayFill(o,a)),n.applyOffset=new nt.GeometryAttribute({componentDatatype:at.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:1,values:o}));var p,g,h,b,C=s.length,A=y+y,v=st.IndexDatatype.createTypedArray(d.length/3,2*C+3*A),_=(v.set(s),C);for(c=0;c<C;c+=3){var w=s[c],T=s[c+1],G=s[c+2];v[_++]=G+y,v[_++]=T+y,v[_++]=w+y}for(c=0;c<A;c+=2)h=(p=c+A)+1,b=(g=p+A)+1,v[_++]=p,v[_++]=g,v[_++]=h,v[_++]=h,v[_++]=g,v[_++]=b;return{attributes:n,indices:v}}var c=new rt.Cartesian3,p=new rt.Cartesian3,g=new rt.Cartographic;function h(t,e,r,a,i,o){var e=rt.Cartesian3.subtract(e,t,c),n=(rt.Cartesian3.normalize(e,e),r.geodeticSurfaceNormal(t,p)),e=rt.Cartesian3.cross(e,n,c),n=(rt.Cartesian3.multiplyByScalar(e,a,e),i.latitude),a=i.longitude,s=o.latitude,l=o.longitude,d=(rt.Cartesian3.add(t,e,p),r.cartesianToCartographic(p,g),g.latitude),u=g.longitude,n=Math.min(n,d),a=Math.min(a,u),s=Math.max(s,d),l=Math.max(l,u);rt.Cartesian3.subtract(t,e,p),r.cartesianToCartographic(p,g),d=g.latitude,u=g.longitude,n=Math.min(n,d),a=Math.min(a,u),s=Math.max(s,d),l=Math.max(l,u),i.latitude=n,i.longitude=a,o.latitude=s,o.longitude=l}var b=new rt.Cartesian3,C=new rt.Cartesian3,A=new rt.Cartographic,v=new rt.Cartographic;function i(t,e,r,a,i){t=f(t,e);var o=m.arrayRemoveDuplicates(t,rt.Cartesian3.equalsEpsilon),n=o.length;if(n<2||r<=0)return new rt.Rectangle;var s,l,d=.5*r;A.latitude=Number.POSITIVE_INFINITY,A.longitude=Number.POSITIVE_INFINITY,v.latitude=Number.NEGATIVE_INFINITY,v.longitude=Number.NEGATIVE_INFINITY,a===y.CornerType.ROUNDED&&(rt.Cartesian3.subtract(t=o[0],o[1],b),rt.Cartesian3.normalize(b,b),rt.Cartesian3.multiplyByScalar(b,d,b),rt.Cartesian3.add(t,b,C),e.cartesianToCartographic(C,g),s=g.latitude,l=g.longitude,A.latitude=Math.min(A.latitude,s),A.longitude=Math.min(A.longitude,l),v.latitude=Math.max(v.latitude,s),v.longitude=Math.max(v.longitude,l));for(var u=0;u<n-1;++u)h(o[u],o[u+1],e,d,A,v);r=o[n-1],rt.Cartesian3.subtract(r,o[n-2],b),rt.Cartesian3.normalize(b,b),rt.Cartesian3.multiplyByScalar(b,d,b),rt.Cartesian3.add(r,b,C),h(r,C,e,d,A,v),a===y.CornerType.ROUNDED&&(e.cartesianToCartographic(C,g),s=g.latitude,l=g.longitude,A.latitude=Math.min(A.latitude,s),A.longitude=Math.min(A.longitude,l),v.latitude=Math.max(v.latitude,s),v.longitude=Math.max(v.longitude,l)),t=ot.defined(i)?i:new rt.Rectangle;return t.north=v.latitude,t.south=A.latitude,t.east=v.longitude,t.west=A.longitude,t}function _(t){var e=(t=ot.defaultValue(t,ot.defaultValue.EMPTY_OBJECT)).positions,r=t.width,a=ot.defaultValue(t.height,0),i=ot.defaultValue(t.extrudedHeight,a);this._positions=e,this._ellipsoid=rt.Ellipsoid.clone(ot.defaultValue(t.ellipsoid,rt.Ellipsoid.WGS84)),this._vertexFormat=x.VertexFormat.clone(ot.defaultValue(t.vertexFormat,x.VertexFormat.DEFAULT)),this._width=r,this._height=Math.max(a,i),this._extrudedHeight=Math.min(a,i),this._cornerType=ot.defaultValue(t.cornerType,y.CornerType.ROUNDED),this._granularity=ot.defaultValue(t.granularity,at.CesiumMath.RADIANS_PER_DEGREE),this._shadowVolume=ot.defaultValue(t.shadowVolume,!1),this._workerName="createCorridorGeometry",this._offsetAttribute=t.offsetAttribute,this._rectangle=void 0,this.packedLength=1+e.length*rt.Cartesian3.packedLength+rt.Ellipsoid.packedLength+x.VertexFormat.packedLength+7}_.pack=function(t,e,r){r=ot.defaultValue(r,0);var a=t._positions,i=a.length;e[r++]=i;for(var o=0;o<i;++o,r+=rt.Cartesian3.packedLength)rt.Cartesian3.pack(a[o],e,r);return rt.Ellipsoid.pack(t._ellipsoid,e,r),r+=rt.Ellipsoid.packedLength,x.VertexFormat.pack(t._vertexFormat,e,r),r+=x.VertexFormat.packedLength,e[r++]=t._width,e[r++]=t._height,e[r++]=t._extrudedHeight,e[r++]=t._cornerType,e[r++]=t._granularity,e[r++]=t._shadowVolume?1:0,e[r]=ot.defaultValue(t._offsetAttribute,-1),e};var w=rt.Ellipsoid.clone(rt.Ellipsoid.UNIT_SPHERE),T=new x.VertexFormat,G={positions:void 0,ellipsoid:w,vertexFormat:T,width:void 0,height:void 0,extrudedHeight:void 0,cornerType:void 0,granularity:void 0,shadowVolume:void 0,offsetAttribute:void 0};return _.unpack=function(t,e,r){e=ot.defaultValue(e,0);for(var a=t[e++],i=new Array(a),o=0;o<a;++o,e+=rt.Cartesian3.packedLength)i[o]=rt.Cartesian3.unpack(t,e);var n=rt.Ellipsoid.unpack(t,e,w),s=(e+=rt.Ellipsoid.packedLength,x.VertexFormat.unpack(t,e,T)),l=(e+=x.VertexFormat.packedLength,t[e++]),d=t[e++],u=t[e++],m=t[e++],y=t[e++],f=1===t[e++],c=t[e];return ot.defined(r)?(r._positions=i,r._ellipsoid=rt.Ellipsoid.clone(n,r._ellipsoid),r._vertexFormat=x.VertexFormat.clone(s,r._vertexFormat),r._width=l,r._height=d,r._extrudedHeight=u,r._cornerType=m,r._granularity=y,r._shadowVolume=f,r._offsetAttribute=-1===c?void 0:c,r):(G.positions=i,G.width=l,G.height=d,G.extrudedHeight=u,G.cornerType=m,G.granularity=y,G.shadowVolume=f,G.offsetAttribute=-1===c?void 0:c,new _(G))},_.computeRectangle=function(t,e){var r=(t=ot.defaultValue(t,ot.defaultValue.EMPTY_OBJECT)).positions,a=t.width;return i(r,ot.defaultValue(t.ellipsoid,rt.Ellipsoid.WGS84),a,ot.defaultValue(t.cornerType,y.CornerType.ROUNDED),e)},_.createGeometry=function(t){var e,r,a,i,o,n=t._positions,s=t._width,l=t._ellipsoid,n=f(n,l),n=m.arrayRemoveDuplicates(n,rt.Cartesian3.equalsEpsilon);if(!(n.length<2||s<=0))return o=t._height,r=!at.CesiumMath.equalsEpsilon(o,a=t._extrudedHeight,0,at.CesiumMath.EPSILON2),e=t._vertexFormat,n={ellipsoid:l,positions:n,width:s,cornerType:t._cornerType,granularity:t._granularity,saveAttributes:!0},r?(n.height=o,n.extrudedHeight=a,n.shadowVolume=t._shadowVolume,n.offsetAttribute=t._offsetAttribute,i=D(n,e)):((i=F(it.CorridorGeometryLibrary.computePositions(n),e,l)).attributes.position.values=V.PolygonPipeline.scaleToGeodeticHeight(i.attributes.position.values,o,l),ot.defined(t._offsetAttribute)&&(s=t._offsetAttribute===E.GeometryOffsetAttribute.NONE?0:1,r=i.attributes.position.values.length,a=new Uint8Array(r/3),E.arrayFill(a,s),i.attributes.applyOffset=new nt.GeometryAttribute({componentDatatype:at.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:1,values:a}))),n=i.attributes,o=d.BoundingSphere.fromVertices(n.position.values,void 0,3),e.position||(i.attributes.position.values=void 0),new nt.Geometry({attributes:n,indices:i.indices,primitiveType:nt.PrimitiveType.TRIANGLES,boundingSphere:o,offsetAttribute:t._offsetAttribute})},_.createShadowVolume=function(t,e,r){var a=t._granularity,i=t._ellipsoid,e=e(a,i),r=r(a,i);return new _({positions:t._positions,width:t._width,cornerType:t._cornerType,ellipsoid:i,granularity:a,extrudedHeight:e,height:r,vertexFormat:x.VertexFormat.POSITION_ONLY,shadowVolume:!0})},Object.defineProperties(_.prototype,{rectangle:{get:function(){return ot.defined(this._rectangle)||(this._rectangle=i(this._positions,this._ellipsoid,this._width,this._cornerType)),this._rectangle}},textureCoordinateRotationPoints:{get:function(){return[0,0,0,1,1,0]}}}),function(t,e){return(t=ot.defined(e)?_.unpack(t,e):t)._ellipsoid=rt.Ellipsoid.clone(t._ellipsoid),_.createGeometry(t)}});
@@ -1 +1 @@
1
- define(["./GeometryOffsetAttribute-8c0bd3ce","./arrayRemoveDuplicates-bce1b0dc","./Transforms-ce414632","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./PolylineVolumeGeometryLibrary-22fe2b3f","./CorridorGeometryLibrary-dbfbb48f","./when-ae2e0b60","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./IndexDatatype-6902a37d","./PolygonPipeline-6d75eac7","./combine-276652d0","./WebGLConstants-35626ea2","./EllipsoidTangentPlane-da721e0c","./AxisAlignedBoundingBox-35efa0e8","./IntersectionTests-f71f97b3","./Plane-43337cee","./PolylinePipeline-7389d81d","./EllipsoidGeodesic-640f147e","./EllipsoidRhumbLine-535d21cd"],function(A,l,d,B,e,M,R,U,F,Y,q,W,v,t,i,r,o,a,n,s,u,p){var J=new B.Cartesian3,j=new B.Cartesian3,z=new B.Cartesian3;function _(e,t){var i,r=[],o=e.positions,a=e.corners,e=e.endPositions,n=new q.GeometryAttributes,s=0,l=0,d=0;for(w=0;w<o.length;w+=2)s+=i=o[w].length-3,d+=i/3*4,l+=o[w+1].length-3;for(s+=3,l+=3,w=0;w<a.length;w++){var u=a[w],p=a[w].leftPositions;F.defined(p)?s+=i=p.length:l+=i=a[w].rightPositions.length,d+=i/3*2}var f,h,y,c,g,b=F.defined(e),m=(b&&(s+=f=e[0].length-3,l+=f,d+=4*(f/=3)),s+l),A=new Float64Array(m),v=0,_=m-1,E=f/2,C=W.IndexDatatype.createTypedArray(m/3,d+4),G=0;if(C[G++]=v/3,C[G++]=(_-2)/3,b){r.push(v/3);for(var T=J,P=j,I=e[0],w=0;w<E;w++)T=B.Cartesian3.fromArray(I,3*(E-1-w),T),P=B.Cartesian3.fromArray(I,3*(E+w),P),U.CorridorGeometryLibrary.addAttribute(A,P,v),U.CorridorGeometryLibrary.addAttribute(A,T,void 0,_),g=(y=v/3)+1,c=(h=(_-2)/3)-1,C[G++]=h,C[G++]=c,C[G++]=y,C[G++]=g,v+=3,_-=3}var L=0,D=o[L++],x=o[L++];for(A.set(D,v),A.set(x,_-x.length+1),i=x.length-3,r.push(v/3,(_-2)/3),w=0;w<i;w+=3)g=(y=v/3)+1,c=(h=(_-2)/3)-1,C[G++]=h,C[G++]=c,C[G++]=y,C[G++]=g,v+=3,_-=3;for(w=0;w<a.length;w++){var k,N,O=(u=a[w]).leftPositions,V=u.rightPositions,H=z;if(F.defined(O)){for(_-=3,N=c,r.push(g),k=0;k<O.length/3;k++)H=B.Cartesian3.fromArray(O,3*k,H),C[G++]=N-k-1,C[G++]=N-k,U.CorridorGeometryLibrary.addAttribute(A,H,void 0,_),_-=3;r.push(N-Math.floor(O.length/6)),t===R.CornerType.BEVELED&&r.push((_-2)/3+1),v+=3}else{for(v+=3,N=g,r.push(c),k=0;k<V.length/3;k++)H=B.Cartesian3.fromArray(V,3*k,H),C[G++]=N+k,C[G++]=N+k+1,U.CorridorGeometryLibrary.addAttribute(A,H,v),v+=3;r.push(N+Math.floor(V.length/6)),t===R.CornerType.BEVELED&&r.push(v/3-1),_-=3}for(D=o[L++],x=o[L++],D.splice(0,3),x.splice(x.length-3,3),A.set(D,v),A.set(x,_-x.length+1),i=x.length-3,k=0;k<x.length;k+=3)y=(g=v/3)-1,C[G++]=h=(c=(_-2)/3)+1,C[G++]=c,C[G++]=y,C[G++]=g,v+=3,_-=3;r.push((v-=3)/3,((_+=3)-2)/3)}if(b){v+=3,_-=3,T=J,P=j;var S=e[1];for(w=0;w<E;w++)T=B.Cartesian3.fromArray(S,3*(f-w-1),T),P=B.Cartesian3.fromArray(S,3*w,P),U.CorridorGeometryLibrary.addAttribute(A,T,void 0,_),U.CorridorGeometryLibrary.addAttribute(A,P,v),y=(g=v/3)-1,C[G++]=h=(c=(_-2)/3)+1,C[G++]=c,C[G++]=y,C[G++]=g,v+=3,_-=3;r.push(v/3)}else r.push(v/3,(_-2)/3);return C[G++]=v/3,C[G++]=(_-2)/3,n.position=new Y.GeometryAttribute({componentDatatype:M.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:A}),{attributes:n,indices:C,wallIndices:r}}function h(e){var t=(e=F.defaultValue(e,F.defaultValue.EMPTY_OBJECT)).positions,i=e.width,r=F.defaultValue(e.height,0),o=F.defaultValue(e.extrudedHeight,r);this._positions=t,this._ellipsoid=B.Ellipsoid.clone(F.defaultValue(e.ellipsoid,B.Ellipsoid.WGS84)),this._width=i,this._height=Math.max(r,o),this._extrudedHeight=Math.min(r,o),this._cornerType=F.defaultValue(e.cornerType,R.CornerType.ROUNDED),this._granularity=F.defaultValue(e.granularity,M.CesiumMath.RADIANS_PER_DEGREE),this._offsetAttribute=e.offsetAttribute,this._workerName="createCorridorOutlineGeometry",this.packedLength=1+t.length*B.Cartesian3.packedLength+B.Ellipsoid.packedLength+6}h.pack=function(e,t,i){i=F.defaultValue(i,0);var r=e._positions,o=r.length;t[i++]=o;for(var a=0;a<o;++a,i+=B.Cartesian3.packedLength)B.Cartesian3.pack(r[a],t,i);return B.Ellipsoid.pack(e._ellipsoid,t,i),i+=B.Ellipsoid.packedLength,t[i++]=e._width,t[i++]=e._height,t[i++]=e._extrudedHeight,t[i++]=e._cornerType,t[i++]=e._granularity,t[i]=F.defaultValue(e._offsetAttribute,-1),t};var y=B.Ellipsoid.clone(B.Ellipsoid.UNIT_SPHERE),c={positions:void 0,ellipsoid:y,width:void 0,height:void 0,extrudedHeight:void 0,cornerType:void 0,granularity:void 0,offsetAttribute:void 0};return h.unpack=function(e,t,i){t=F.defaultValue(t,0);for(var r=e[t++],o=new Array(r),a=0;a<r;++a,t+=B.Cartesian3.packedLength)o[a]=B.Cartesian3.unpack(e,t);var n=B.Ellipsoid.unpack(e,t,y),s=(t+=B.Ellipsoid.packedLength,e[t++]),l=e[t++],d=e[t++],u=e[t++],p=e[t++],f=e[t];return F.defined(i)?(i._positions=o,i._ellipsoid=B.Ellipsoid.clone(n,i._ellipsoid),i._width=s,i._height=l,i._extrudedHeight=d,i._cornerType=u,i._granularity=p,i._offsetAttribute=-1===f?void 0:f,i):(c.positions=o,c.width=s,c.height=l,c.extrudedHeight=d,c.cornerType=u,c.granularity=p,c.offsetAttribute=-1===f?void 0:f,new h(c))},h.createGeometry=function(e){var t,i,r,o,a=e._positions,n=e._width,s=e._ellipsoid,a=function(e,t){for(var i=0;i<e.length;i++)e[i]=t.scaleToGeodeticSurface(e[i],e[i]);return e}(a,s),a=l.arrayRemoveDuplicates(a,B.Cartesian3.equalsEpsilon);if(!(a.length<2||n<=0))return o=e._height,t=!M.CesiumMath.equalsEpsilon(o,i=e._extrudedHeight,0,M.CesiumMath.EPSILON2),a={ellipsoid:s,positions:a,width:n,cornerType:e._cornerType,granularity:e._granularity,saveAttributes:!1},t?(a.height=o,a.extrudedHeight=i,a.offsetAttribute=e._offsetAttribute,r=function(e){for(var t,i,r=e.ellipsoid,o=(p=_(U.CorridorGeometryLibrary.computePositions(e),e.cornerType)).wallIndices,a=e.height,n=e.extrudedHeight,s=p.attributes,l=p.indices,d=(p=s.position.values).length,u=((f=new Float64Array(d)).set(p),new Float64Array(2*d)),p=v.PolygonPipeline.scaleToGeodeticHeight(p,a,r),f=v.PolygonPipeline.scaleToGeodeticHeight(f,n,r),h=(u.set(p),u.set(f,d),s.position.values=u,d/=3,F.defined(e.offsetAttribute)&&(a=new Uint8Array(2*d),a=e.offsetAttribute===A.GeometryOffsetAttribute.TOP?A.arrayFill(a,1,0,d):(n=e.offsetAttribute===A.GeometryOffsetAttribute.NONE?0:1,A.arrayFill(a,n)),s.applyOffset=new Y.GeometryAttribute({componentDatatype:M.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:1,values:a})),l.length),y=W.IndexDatatype.createTypedArray(u.length/3,2*(h+o.length)),c=(y.set(l),h),g=0;g<h;g+=2){var b=l[g],m=l[g+1];y[c++]=b+d,y[c++]=m+d}for(g=0;g<o.length;g++)i=(t=o[g])+d,y[c++]=t,y[c++]=i;return{attributes:s,indices:y}}(a)):((r=_(U.CorridorGeometryLibrary.computePositions(a),a.cornerType)).attributes.position.values=v.PolygonPipeline.scaleToGeodeticHeight(r.attributes.position.values,o,s),F.defined(e._offsetAttribute)&&(n=r.attributes.position.values.length,t=new Uint8Array(n/3),i=e._offsetAttribute===A.GeometryOffsetAttribute.NONE?0:1,A.arrayFill(t,i),r.attributes.applyOffset=new Y.GeometryAttribute({componentDatatype:M.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:1,values:t}))),a=r.attributes,o=d.BoundingSphere.fromVertices(a.position.values,void 0,3),new Y.Geometry({attributes:a,indices:r.indices,primitiveType:Y.PrimitiveType.LINES,boundingSphere:o,offsetAttribute:e._offsetAttribute})},function(e,t){return(e=F.defined(t)?h.unpack(e,t):e)._ellipsoid=B.Ellipsoid.clone(e._ellipsoid),h.createGeometry(e)}});
1
+ define(["./GeometryOffsetAttribute-8c0bd3ce","./arrayRemoveDuplicates-bce1b0dc","./Transforms-c1a1d063","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./PolylineVolumeGeometryLibrary-897b738e","./CorridorGeometryLibrary-bdd6155c","./when-ae2e0b60","./GeometryAttribute-3dd6da35","./GeometryAttributes-5ce4955a","./IndexDatatype-6902a37d","./PolygonPipeline-832a906c","./combine-276652d0","./WebGLConstants-35626ea2","./EllipsoidTangentPlane-4a503a7a","./AxisAlignedBoundingBox-9c01642b","./IntersectionTests-60f10d18","./Plane-43337cee","./PolylinePipeline-83139cb3","./EllipsoidGeodesic-640f147e","./EllipsoidRhumbLine-535d21cd"],function(A,l,d,B,e,M,R,U,F,Y,q,W,v,t,i,r,o,a,n,s,u,p){var J=new B.Cartesian3,j=new B.Cartesian3,z=new B.Cartesian3;function _(e,t){var i,r=[],o=e.positions,a=e.corners,e=e.endPositions,n=new q.GeometryAttributes,s=0,l=0,d=0;for(w=0;w<o.length;w+=2)s+=i=o[w].length-3,d+=i/3*4,l+=o[w+1].length-3;for(s+=3,l+=3,w=0;w<a.length;w++){var u=a[w],p=a[w].leftPositions;F.defined(p)?s+=i=p.length:l+=i=a[w].rightPositions.length,d+=i/3*2}var h,f,y,c,g,b=F.defined(e),m=(b&&(s+=h=e[0].length-3,l+=h,d+=4*(h/=3)),s+l),A=new Float64Array(m),v=0,_=m-1,E=h/2,C=W.IndexDatatype.createTypedArray(m/3,d+4),G=0;if(C[G++]=v/3,C[G++]=(_-2)/3,b){r.push(v/3);for(var T=J,P=j,I=e[0],w=0;w<E;w++)T=B.Cartesian3.fromArray(I,3*(E-1-w),T),P=B.Cartesian3.fromArray(I,3*(E+w),P),U.CorridorGeometryLibrary.addAttribute(A,P,v),U.CorridorGeometryLibrary.addAttribute(A,T,void 0,_),g=(y=v/3)+1,c=(f=(_-2)/3)-1,C[G++]=f,C[G++]=c,C[G++]=y,C[G++]=g,v+=3,_-=3}var L=0,D=o[L++],x=o[L++];for(A.set(D,v),A.set(x,_-x.length+1),i=x.length-3,r.push(v/3,(_-2)/3),w=0;w<i;w+=3)g=(y=v/3)+1,c=(f=(_-2)/3)-1,C[G++]=f,C[G++]=c,C[G++]=y,C[G++]=g,v+=3,_-=3;for(w=0;w<a.length;w++){var k,N,O=(u=a[w]).leftPositions,V=u.rightPositions,H=z;if(F.defined(O)){for(_-=3,N=c,r.push(g),k=0;k<O.length/3;k++)H=B.Cartesian3.fromArray(O,3*k,H),C[G++]=N-k-1,C[G++]=N-k,U.CorridorGeometryLibrary.addAttribute(A,H,void 0,_),_-=3;r.push(N-Math.floor(O.length/6)),t===R.CornerType.BEVELED&&r.push((_-2)/3+1),v+=3}else{for(v+=3,N=g,r.push(c),k=0;k<V.length/3;k++)H=B.Cartesian3.fromArray(V,3*k,H),C[G++]=N+k,C[G++]=N+k+1,U.CorridorGeometryLibrary.addAttribute(A,H,v),v+=3;r.push(N+Math.floor(V.length/6)),t===R.CornerType.BEVELED&&r.push(v/3-1),_-=3}for(D=o[L++],x=o[L++],D.splice(0,3),x.splice(x.length-3,3),A.set(D,v),A.set(x,_-x.length+1),i=x.length-3,k=0;k<x.length;k+=3)y=(g=v/3)-1,C[G++]=f=(c=(_-2)/3)+1,C[G++]=c,C[G++]=y,C[G++]=g,v+=3,_-=3;r.push((v-=3)/3,((_+=3)-2)/3)}if(b){v+=3,_-=3,T=J,P=j;var S=e[1];for(w=0;w<E;w++)T=B.Cartesian3.fromArray(S,3*(h-w-1),T),P=B.Cartesian3.fromArray(S,3*w,P),U.CorridorGeometryLibrary.addAttribute(A,T,void 0,_),U.CorridorGeometryLibrary.addAttribute(A,P,v),y=(g=v/3)-1,C[G++]=f=(c=(_-2)/3)+1,C[G++]=c,C[G++]=y,C[G++]=g,v+=3,_-=3;r.push(v/3)}else r.push(v/3,(_-2)/3);return C[G++]=v/3,C[G++]=(_-2)/3,n.position=new Y.GeometryAttribute({componentDatatype:M.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:A}),{attributes:n,indices:C,wallIndices:r}}function f(e){var t=(e=F.defaultValue(e,F.defaultValue.EMPTY_OBJECT)).positions,i=e.width,r=F.defaultValue(e.height,0),o=F.defaultValue(e.extrudedHeight,r);this._positions=t,this._ellipsoid=B.Ellipsoid.clone(F.defaultValue(e.ellipsoid,B.Ellipsoid.WGS84)),this._width=i,this._height=Math.max(r,o),this._extrudedHeight=Math.min(r,o),this._cornerType=F.defaultValue(e.cornerType,R.CornerType.ROUNDED),this._granularity=F.defaultValue(e.granularity,M.CesiumMath.RADIANS_PER_DEGREE),this._offsetAttribute=e.offsetAttribute,this._workerName="createCorridorOutlineGeometry",this.packedLength=1+t.length*B.Cartesian3.packedLength+B.Ellipsoid.packedLength+6}f.pack=function(e,t,i){i=F.defaultValue(i,0);var r=e._positions,o=r.length;t[i++]=o;for(var a=0;a<o;++a,i+=B.Cartesian3.packedLength)B.Cartesian3.pack(r[a],t,i);return B.Ellipsoid.pack(e._ellipsoid,t,i),i+=B.Ellipsoid.packedLength,t[i++]=e._width,t[i++]=e._height,t[i++]=e._extrudedHeight,t[i++]=e._cornerType,t[i++]=e._granularity,t[i]=F.defaultValue(e._offsetAttribute,-1),t};var y=B.Ellipsoid.clone(B.Ellipsoid.UNIT_SPHERE),c={positions:void 0,ellipsoid:y,width:void 0,height:void 0,extrudedHeight:void 0,cornerType:void 0,granularity:void 0,offsetAttribute:void 0};return f.unpack=function(e,t,i){t=F.defaultValue(t,0);for(var r=e[t++],o=new Array(r),a=0;a<r;++a,t+=B.Cartesian3.packedLength)o[a]=B.Cartesian3.unpack(e,t);var n=B.Ellipsoid.unpack(e,t,y),s=(t+=B.Ellipsoid.packedLength,e[t++]),l=e[t++],d=e[t++],u=e[t++],p=e[t++],h=e[t];return F.defined(i)?(i._positions=o,i._ellipsoid=B.Ellipsoid.clone(n,i._ellipsoid),i._width=s,i._height=l,i._extrudedHeight=d,i._cornerType=u,i._granularity=p,i._offsetAttribute=-1===h?void 0:h,i):(c.positions=o,c.width=s,c.height=l,c.extrudedHeight=d,c.cornerType=u,c.granularity=p,c.offsetAttribute=-1===h?void 0:h,new f(c))},f.createGeometry=function(e){var t,i,r,o,a=e._positions,n=e._width,s=e._ellipsoid,a=function(e,t){for(var i=0;i<e.length;i++)e[i]=t.scaleToGeodeticSurface(e[i],e[i]);return e}(a,s),a=l.arrayRemoveDuplicates(a,B.Cartesian3.equalsEpsilon);if(!(a.length<2||n<=0))return o=e._height,t=!M.CesiumMath.equalsEpsilon(o,i=e._extrudedHeight,0,M.CesiumMath.EPSILON2),a={ellipsoid:s,positions:a,width:n,cornerType:e._cornerType,granularity:e._granularity,saveAttributes:!1},t?(a.height=o,a.extrudedHeight=i,a.offsetAttribute=e._offsetAttribute,r=function(e){for(var t,i,r=e.ellipsoid,o=(p=_(U.CorridorGeometryLibrary.computePositions(e),e.cornerType)).wallIndices,a=e.height,n=e.extrudedHeight,s=p.attributes,l=p.indices,d=(p=s.position.values).length,u=((h=new Float64Array(d)).set(p),new Float64Array(2*d)),p=v.PolygonPipeline.scaleToGeodeticHeight(p,a,r),h=v.PolygonPipeline.scaleToGeodeticHeight(h,n,r),f=(u.set(p),u.set(h,d),s.position.values=u,d/=3,F.defined(e.offsetAttribute)&&(a=new Uint8Array(2*d),a=e.offsetAttribute===A.GeometryOffsetAttribute.TOP?A.arrayFill(a,1,0,d):(n=e.offsetAttribute===A.GeometryOffsetAttribute.NONE?0:1,A.arrayFill(a,n)),s.applyOffset=new Y.GeometryAttribute({componentDatatype:M.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:1,values:a})),l.length),y=W.IndexDatatype.createTypedArray(u.length/3,2*(f+o.length)),c=(y.set(l),f),g=0;g<f;g+=2){var b=l[g],m=l[g+1];y[c++]=b+d,y[c++]=m+d}for(g=0;g<o.length;g++)i=(t=o[g])+d,y[c++]=t,y[c++]=i;return{attributes:s,indices:y}}(a)):((r=_(U.CorridorGeometryLibrary.computePositions(a),a.cornerType)).attributes.position.values=v.PolygonPipeline.scaleToGeodeticHeight(r.attributes.position.values,o,s),F.defined(e._offsetAttribute)&&(n=r.attributes.position.values.length,t=new Uint8Array(n/3),i=e._offsetAttribute===A.GeometryOffsetAttribute.NONE?0:1,A.arrayFill(t,i),r.attributes.applyOffset=new Y.GeometryAttribute({componentDatatype:M.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:1,values:t}))),a=r.attributes,o=d.BoundingSphere.fromVertices(a.position.values,void 0,3),new Y.Geometry({attributes:a,indices:r.indices,primitiveType:Y.PrimitiveType.LINES,boundingSphere:o,offsetAttribute:e._offsetAttribute})},function(e,t){return(e=F.defined(t)?f.unpack(e,t):e)._ellipsoid=B.Ellipsoid.clone(e._ellipsoid),f.createGeometry(e)}});
@@ -1 +1 @@
1
- define(["./CylinderGeometry-f85e3294","./when-ae2e0b60","./GeometryOffsetAttribute-8c0bd3ce","./RuntimeError-24b14c10","./Transforms-ce414632","./Matrix2-59fd2efe","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./combine-276652d0","./CylinderGeometryLibrary-7afd8cad","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./IndexDatatype-6902a37d","./VertexFormat-1fc9746e"],function(r,n,e,t,a,d,o,i,y,m,b,c,f,u){return function(e,t){return n.defined(t)&&(e=r.CylinderGeometry.unpack(e,t)),r.CylinderGeometry.createGeometry(e)}});
1
+ define(["./CylinderGeometry-7205275f","./when-ae2e0b60","./GeometryOffsetAttribute-8c0bd3ce","./RuntimeError-24b14c10","./Transforms-c1a1d063","./Matrix2-59fd2efe","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./combine-276652d0","./CylinderGeometryLibrary-7afd8cad","./GeometryAttribute-3dd6da35","./GeometryAttributes-5ce4955a","./IndexDatatype-6902a37d","./VertexFormat-1fc9746e"],function(r,n,e,t,a,d,o,i,y,m,b,c,f,u){return function(e,t){return n.defined(t)&&(e=r.CylinderGeometry.unpack(e,t)),r.CylinderGeometry.createGeometry(e)}});
@@ -1 +1 @@
1
- define(["./GeometryOffsetAttribute-8c0bd3ce","./Transforms-ce414632","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./CylinderGeometryLibrary-7afd8cad","./when-ae2e0b60","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./IndexDatatype-6902a37d","./combine-276652d0","./WebGLConstants-35626ea2"],function(c,p,y,e,_,h,A,v,R,G,t,i){var O=new y.Cartesian2;function s(e){var t=(e=A.defaultValue(e,A.defaultValue.EMPTY_OBJECT)).length,i=e.topRadius,r=e.bottomRadius,a=A.defaultValue(e.slices,128),n=Math.max(A.defaultValue(e.numberOfVerticalLines,16),0);this._length=t,this._topRadius=i,this._bottomRadius=r,this._slices=a,this._numberOfVerticalLines=n,this._offsetAttribute=e.offsetAttribute,this._workerName="createCylinderOutlineGeometry"}s.packedLength=6,s.pack=function(e,t,i){return i=A.defaultValue(i,0),t[i++]=e._length,t[i++]=e._topRadius,t[i++]=e._bottomRadius,t[i++]=e._slices,t[i++]=e._numberOfVerticalLines,t[i]=A.defaultValue(e._offsetAttribute,-1),t};var f={length:void 0,topRadius:void 0,bottomRadius:void 0,slices:void 0,numberOfVerticalLines:void 0,offsetAttribute:void 0};return s.unpack=function(e,t,i){t=A.defaultValue(t,0);var r=e[t++],a=e[t++],n=e[t++],o=e[t++],u=e[t++],e=e[t];return A.defined(i)?(i._length=r,i._topRadius=a,i._bottomRadius=n,i._slices=o,i._numberOfVerticalLines=u,i._offsetAttribute=-1===e?void 0:e,i):(f.length=r,f.topRadius=a,f.bottomRadius=n,f.slices=o,f.numberOfVerticalLines=u,f.offsetAttribute=-1===e?void 0:e,new s(f))},s.createGeometry=function(e){var t=e._length,i=e._topRadius,r=e._bottomRadius,a=e._slices,n=e._numberOfVerticalLines;if(!(t<=0||i<0||r<0||0===i&&0===r)){for(var o,u=2*a,s=h.CylinderGeometryLibrary.computePositions(t,i,r,a,!1),f=2*a,d=(0<n&&(m=Math.min(n,a),o=Math.round(a/m),f+=m),G.IndexDatatype.createTypedArray(u,2*f)),b=0,l=0;l<a-1;l++)d[b++]=l,d[b++]=l+1,d[b++]=l+a,d[b++]=l+1+a;if(d[b++]=a-1,d[b++]=0,d[b++]=a+a-1,d[b++]=a,0<n)for(l=0;l<a;l+=o)d[b++]=l,d[b++]=l+a;var m=new R.GeometryAttributes,u=(m.position=new v.GeometryAttribute({componentDatatype:_.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:s}),O.x=.5*t,O.y=Math.max(r,i),new p.BoundingSphere(y.Cartesian3.ZERO,y.Cartesian2.magnitude(O)));return A.defined(e._offsetAttribute)&&(t=s.length,f=new Uint8Array(t/3),n=e._offsetAttribute===c.GeometryOffsetAttribute.NONE?0:1,c.arrayFill(f,n),m.applyOffset=new v.GeometryAttribute({componentDatatype:_.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:1,values:f})),new v.Geometry({attributes:m,indices:d,primitiveType:v.PrimitiveType.LINES,boundingSphere:u,offsetAttribute:e._offsetAttribute})}},function(e,t){return A.defined(t)&&(e=s.unpack(e,t)),s.createGeometry(e)}});
1
+ define(["./GeometryOffsetAttribute-8c0bd3ce","./Transforms-c1a1d063","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./CylinderGeometryLibrary-7afd8cad","./when-ae2e0b60","./GeometryAttribute-3dd6da35","./GeometryAttributes-5ce4955a","./IndexDatatype-6902a37d","./combine-276652d0","./WebGLConstants-35626ea2"],function(c,p,y,e,_,h,A,v,R,G,t,i){var O=new y.Cartesian2;function s(e){var t=(e=A.defaultValue(e,A.defaultValue.EMPTY_OBJECT)).length,i=e.topRadius,r=e.bottomRadius,a=A.defaultValue(e.slices,128),n=Math.max(A.defaultValue(e.numberOfVerticalLines,16),0);this._length=t,this._topRadius=i,this._bottomRadius=r,this._slices=a,this._numberOfVerticalLines=n,this._offsetAttribute=e.offsetAttribute,this._workerName="createCylinderOutlineGeometry"}s.packedLength=6,s.pack=function(e,t,i){return i=A.defaultValue(i,0),t[i++]=e._length,t[i++]=e._topRadius,t[i++]=e._bottomRadius,t[i++]=e._slices,t[i++]=e._numberOfVerticalLines,t[i]=A.defaultValue(e._offsetAttribute,-1),t};var d={length:void 0,topRadius:void 0,bottomRadius:void 0,slices:void 0,numberOfVerticalLines:void 0,offsetAttribute:void 0};return s.unpack=function(e,t,i){t=A.defaultValue(t,0);var r=e[t++],a=e[t++],n=e[t++],o=e[t++],u=e[t++],e=e[t];return A.defined(i)?(i._length=r,i._topRadius=a,i._bottomRadius=n,i._slices=o,i._numberOfVerticalLines=u,i._offsetAttribute=-1===e?void 0:e,i):(d.length=r,d.topRadius=a,d.bottomRadius=n,d.slices=o,d.numberOfVerticalLines=u,d.offsetAttribute=-1===e?void 0:e,new s(d))},s.createGeometry=function(e){var t=e._length,i=e._topRadius,r=e._bottomRadius,a=e._slices,n=e._numberOfVerticalLines;if(!(t<=0||i<0||r<0||0===i&&0===r)){for(var o,u=2*a,s=h.CylinderGeometryLibrary.computePositions(t,i,r,a,!1),d=2*a,f=(0<n&&(m=Math.min(n,a),o=Math.round(a/m),d+=m),G.IndexDatatype.createTypedArray(u,2*d)),b=0,l=0;l<a-1;l++)f[b++]=l,f[b++]=l+1,f[b++]=l+a,f[b++]=l+1+a;if(f[b++]=a-1,f[b++]=0,f[b++]=a+a-1,f[b++]=a,0<n)for(l=0;l<a;l+=o)f[b++]=l,f[b++]=l+a;var m=new R.GeometryAttributes,u=(m.position=new v.GeometryAttribute({componentDatatype:_.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:s}),O.x=.5*t,O.y=Math.max(r,i),new p.BoundingSphere(y.Cartesian3.ZERO,y.Cartesian2.magnitude(O)));return A.defined(e._offsetAttribute)&&(t=s.length,d=new Uint8Array(t/3),n=e._offsetAttribute===c.GeometryOffsetAttribute.NONE?0:1,c.arrayFill(d,n),m.applyOffset=new v.GeometryAttribute({componentDatatype:_.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:1,values:d})),new v.Geometry({attributes:m,indices:f,primitiveType:v.PrimitiveType.LINES,boundingSphere:u,offsetAttribute:e._offsetAttribute})}},function(e,t){return A.defined(t)&&(e=s.unpack(e,t)),s.createGeometry(e)}});
@@ -1 +1 @@
1
- define(["./Matrix2-59fd2efe","./when-ae2e0b60","./EllipseGeometry-cb453b2f","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./GeometryOffsetAttribute-8c0bd3ce","./Transforms-ce414632","./combine-276652d0","./EllipseGeometryLibrary-c1a131e7","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./GeometryInstance-e2137e03","./GeometryPipeline-984d7313","./AttributeCompression-2f7b45b7","./EncodedCartesian3-3b6655b5","./IndexDatatype-6902a37d","./IntersectionTests-f71f97b3","./Plane-43337cee","./VertexFormat-1fc9746e"],function(r,n,i,e,t,o,a,c,s,b,l,d,m,f,p,y,G,u,E,C){return function(e,t){return(e=n.defined(t)?i.EllipseGeometry.unpack(e,t):e)._center=r.Cartesian3.clone(e._center),e._ellipsoid=r.Ellipsoid.clone(e._ellipsoid),i.EllipseGeometry.createGeometry(e)}});
1
+ define(["./Matrix2-59fd2efe","./when-ae2e0b60","./EllipseGeometry-6a90035b","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./GeometryOffsetAttribute-8c0bd3ce","./Transforms-c1a1d063","./combine-276652d0","./EllipseGeometryLibrary-c242429c","./GeometryAttribute-3dd6da35","./GeometryAttributes-5ce4955a","./GeometryInstance-e2137e03","./GeometryPipeline-990a755f","./AttributeCompression-2f7b45b7","./EncodedCartesian3-3b6655b5","./IndexDatatype-6902a37d","./IntersectionTests-60f10d18","./Plane-43337cee","./VertexFormat-1fc9746e"],function(r,n,i,e,t,o,a,c,s,d,b,l,m,f,p,y,G,u,E,C){return function(e,t){return(e=n.defined(t)?i.EllipseGeometry.unpack(e,t):e)._center=r.Cartesian3.clone(e._center),e._ellipsoid=r.Ellipsoid.clone(e._ellipsoid),i.EllipseGeometry.createGeometry(e)}});
@@ -1 +1 @@
1
- define(["./Matrix2-59fd2efe","./when-ae2e0b60","./EllipseOutlineGeometry-ebd4f316","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./GeometryOffsetAttribute-8c0bd3ce","./Transforms-ce414632","./combine-276652d0","./EllipseGeometryLibrary-c1a131e7","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./IndexDatatype-6902a37d"],function(r,n,i,e,t,o,l,a,c,d,s,b,m){return function(e,t){return(e=n.defined(t)?i.EllipseOutlineGeometry.unpack(e,t):e)._center=r.Cartesian3.clone(e._center),e._ellipsoid=r.Ellipsoid.clone(e._ellipsoid),i.EllipseOutlineGeometry.createGeometry(e)}});
1
+ define(["./Matrix2-59fd2efe","./when-ae2e0b60","./EllipseOutlineGeometry-bc6638f3","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./GeometryOffsetAttribute-8c0bd3ce","./Transforms-c1a1d063","./combine-276652d0","./EllipseGeometryLibrary-c242429c","./GeometryAttribute-3dd6da35","./GeometryAttributes-5ce4955a","./IndexDatatype-6902a37d"],function(r,n,i,e,t,o,l,a,c,d,s,b,m){return function(e,t){return(e=n.defined(t)?i.EllipseOutlineGeometry.unpack(e,t):e)._center=r.Cartesian3.clone(e._center),e._ellipsoid=r.Ellipsoid.clone(e._ellipsoid),i.EllipseOutlineGeometry.createGeometry(e)}});
@@ -1 +1 @@
1
- define(["./when-ae2e0b60","./EllipsoidGeometry-3210644c","./GeometryOffsetAttribute-8c0bd3ce","./RuntimeError-24b14c10","./Transforms-ce414632","./Matrix2-59fd2efe","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./combine-276652d0","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./IndexDatatype-6902a37d","./VertexFormat-1fc9746e"],function(r,o,e,t,n,i,a,d,c,m,b,f,s){return function(e,t){return r.defined(t)&&(e=o.EllipsoidGeometry.unpack(e,t)),o.EllipsoidGeometry.createGeometry(e)}});
1
+ define(["./when-ae2e0b60","./EllipsoidGeometry-f9bf5c2c","./GeometryOffsetAttribute-8c0bd3ce","./RuntimeError-24b14c10","./Transforms-c1a1d063","./Matrix2-59fd2efe","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./combine-276652d0","./GeometryAttribute-3dd6da35","./GeometryAttributes-5ce4955a","./IndexDatatype-6902a37d","./VertexFormat-1fc9746e"],function(r,o,e,t,n,a,d,i,c,b,f,m,s){return function(e,t){return r.defined(t)&&(e=o.EllipsoidGeometry.unpack(e,t)),o.EllipsoidGeometry.createGeometry(e)}});
@@ -1 +1 @@
1
- define(["./when-ae2e0b60","./EllipsoidOutlineGeometry-74494de3","./GeometryOffsetAttribute-8c0bd3ce","./RuntimeError-24b14c10","./Transforms-ce414632","./Matrix2-59fd2efe","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./combine-276652d0","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./IndexDatatype-6902a37d"],function(r,n,e,t,i,o,d,a,u,b,f,m){return function(e,t){return r.defined(e.buffer)&&(e=n.EllipsoidOutlineGeometry.unpack(e,t)),n.EllipsoidOutlineGeometry.createGeometry(e)}});
1
+ define(["./when-ae2e0b60","./EllipsoidOutlineGeometry-05541945","./GeometryOffsetAttribute-8c0bd3ce","./RuntimeError-24b14c10","./Transforms-c1a1d063","./Matrix2-59fd2efe","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./combine-276652d0","./GeometryAttribute-3dd6da35","./GeometryAttributes-5ce4955a","./IndexDatatype-6902a37d"],function(r,n,e,t,i,o,d,a,u,b,f,m){return function(e,t){return r.defined(e.buffer)&&(e=n.EllipsoidOutlineGeometry.unpack(e,t)),n.EllipsoidOutlineGeometry.createGeometry(e)}});
@@ -1 +1 @@
1
- define(["./when-ae2e0b60","./FrustumGeometry-48c57d61","./Transforms-ce414632","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./combine-276652d0","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./Plane-43337cee","./VertexFormat-1fc9746e"],function(r,n,e,t,o,m,u,a,c,b,d,i){return function(e,t){return r.defined(t)&&(e=n.FrustumGeometry.unpack(e,t)),n.FrustumGeometry.createGeometry(e)}});
1
+ define(["./when-ae2e0b60","./FrustumGeometry-30e754b7","./Transforms-c1a1d063","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./combine-276652d0","./GeometryAttribute-3dd6da35","./GeometryAttributes-5ce4955a","./Plane-43337cee","./VertexFormat-1fc9746e"],function(r,n,e,t,o,a,m,u,b,c,d,i){return function(e,t){return r.defined(t)&&(e=n.FrustumGeometry.unpack(e,t)),n.FrustumGeometry.createGeometry(e)}});
@@ -1 +1 @@
1
- define(["./when-ae2e0b60","./Transforms-ce414632","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./FrustumGeometry-48c57d61","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./combine-276652d0","./WebGLConstants-35626ea2","./Plane-43337cee","./VertexFormat-1fc9746e"],function(o,m,c,e,d,h,f,g,t,r,n,a){function s(e){var t,r,n=e.frustum,a=e.orientation,i=e.origin,e=o.defaultValue(e._drawNearPlane,!0);n instanceof h.PerspectiveFrustum?(t=0,r=h.PerspectiveFrustum.packedLength):n instanceof h.OrthographicFrustum&&(t=1,r=h.OrthographicFrustum.packedLength),this._frustumType=t,this._frustum=n.clone(),this._origin=c.Cartesian3.clone(i),this._orientation=m.Quaternion.clone(a),this._drawNearPlane=e,this._workerName="createFrustumOutlineGeometry",this.packedLength=2+r+c.Cartesian3.packedLength+m.Quaternion.packedLength}s.pack=function(e,t,r){r=o.defaultValue(r,0);var n=e._frustumType,a=e._frustum;return 0===(t[r++]=n)?(h.PerspectiveFrustum.pack(a,t,r),r+=h.PerspectiveFrustum.packedLength):(h.OrthographicFrustum.pack(a,t,r),r+=h.OrthographicFrustum.packedLength),c.Cartesian3.pack(e._origin,t,r),r+=c.Cartesian3.packedLength,m.Quaternion.pack(e._orientation,t,r),t[r+=m.Quaternion.packedLength]=e._drawNearPlane?1:0,t};var p=new h.PerspectiveFrustum,_=new h.OrthographicFrustum,k=new m.Quaternion,l=new c.Cartesian3;return s.unpack=function(e,t,r){t=o.defaultValue(t,0);var n,a=e[t++],i=(0===a?(n=h.PerspectiveFrustum.unpack(e,t,p),t+=h.PerspectiveFrustum.packedLength):(n=h.OrthographicFrustum.unpack(e,t,_),t+=h.OrthographicFrustum.packedLength),c.Cartesian3.unpack(e,t,l)),u=(t+=c.Cartesian3.packedLength,m.Quaternion.unpack(e,t,k)),e=1===e[t+=m.Quaternion.packedLength];return o.defined(r)?(t=a===r._frustumType?r._frustum:void 0,r._frustum=n.clone(t),r._frustumType=a,r._origin=c.Cartesian3.clone(i,r._origin),r._orientation=m.Quaternion.clone(u,r._orientation),r._drawNearPlane=e,r):new s({frustum:n,origin:i,orientation:u,_drawNearPlane:e})},s.createGeometry=function(e){for(var t,r,n=e._frustumType,a=e._frustum,i=e._origin,u=e._orientation,o=e._drawNearPlane,e=new Float64Array(24),i=(h.FrustumGeometry._computeNearFarPlanes(i,u,n,a,e),new g.GeometryAttributes({position:new f.GeometryAttribute({componentDatatype:d.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:e})})),c=o?2:1,s=new Uint16Array(8*(1+c)),p=o?0:1;p<2;++p)s[t=o?8*p:0]=r=4*p,s[t+1]=r+1,s[t+2]=r+1,s[t+3]=r+2,s[t+4]=r+2,s[t+5]=r+3,s[t+6]=r+3,s[t+7]=r;for(p=0;p<2;++p)s[t=8*(c+p)]=r=4*p,s[t+1]=r+4,s[t+2]=r+1,s[t+3]=r+5,s[t+4]=r+2,s[t+5]=r+6,s[t+6]=r+3,s[t+7]=r+7;return new f.Geometry({attributes:i,indices:s,primitiveType:f.PrimitiveType.LINES,boundingSphere:m.BoundingSphere.fromVertices(e)})},function(e,t){return o.defined(t)&&(e=s.unpack(e,t)),s.createGeometry(e)}});
1
+ define(["./when-ae2e0b60","./Transforms-c1a1d063","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./FrustumGeometry-30e754b7","./GeometryAttribute-3dd6da35","./GeometryAttributes-5ce4955a","./combine-276652d0","./WebGLConstants-35626ea2","./Plane-43337cee","./VertexFormat-1fc9746e"],function(o,m,c,e,d,h,f,g,t,r,n,a){function s(e){var t,r,n=e.frustum,a=e.orientation,i=e.origin,e=o.defaultValue(e._drawNearPlane,!0);n instanceof h.PerspectiveFrustum?(t=0,r=h.PerspectiveFrustum.packedLength):n instanceof h.OrthographicFrustum&&(t=1,r=h.OrthographicFrustum.packedLength),this._frustumType=t,this._frustum=n.clone(),this._origin=c.Cartesian3.clone(i),this._orientation=m.Quaternion.clone(a),this._drawNearPlane=e,this._workerName="createFrustumOutlineGeometry",this.packedLength=2+r+c.Cartesian3.packedLength+m.Quaternion.packedLength}s.pack=function(e,t,r){r=o.defaultValue(r,0);var n=e._frustumType,a=e._frustum;return 0===(t[r++]=n)?(h.PerspectiveFrustum.pack(a,t,r),r+=h.PerspectiveFrustum.packedLength):(h.OrthographicFrustum.pack(a,t,r),r+=h.OrthographicFrustum.packedLength),c.Cartesian3.pack(e._origin,t,r),r+=c.Cartesian3.packedLength,m.Quaternion.pack(e._orientation,t,r),t[r+=m.Quaternion.packedLength]=e._drawNearPlane?1:0,t};var p=new h.PerspectiveFrustum,_=new h.OrthographicFrustum,k=new m.Quaternion,l=new c.Cartesian3;return s.unpack=function(e,t,r){t=o.defaultValue(t,0);var n,a=e[t++],i=(0===a?(n=h.PerspectiveFrustum.unpack(e,t,p),t+=h.PerspectiveFrustum.packedLength):(n=h.OrthographicFrustum.unpack(e,t,_),t+=h.OrthographicFrustum.packedLength),c.Cartesian3.unpack(e,t,l)),u=(t+=c.Cartesian3.packedLength,m.Quaternion.unpack(e,t,k)),e=1===e[t+=m.Quaternion.packedLength];return o.defined(r)?(t=a===r._frustumType?r._frustum:void 0,r._frustum=n.clone(t),r._frustumType=a,r._origin=c.Cartesian3.clone(i,r._origin),r._orientation=m.Quaternion.clone(u,r._orientation),r._drawNearPlane=e,r):new s({frustum:n,origin:i,orientation:u,_drawNearPlane:e})},s.createGeometry=function(e){for(var t,r,n=e._frustumType,a=e._frustum,i=e._origin,u=e._orientation,o=e._drawNearPlane,e=new Float64Array(24),i=(h.FrustumGeometry._computeNearFarPlanes(i,u,n,a,e),new g.GeometryAttributes({position:new f.GeometryAttribute({componentDatatype:d.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:e})})),c=o?2:1,s=new Uint16Array(8*(1+c)),p=o?0:1;p<2;++p)s[t=o?8*p:0]=r=4*p,s[t+1]=r+1,s[t+2]=r+1,s[t+3]=r+2,s[t+4]=r+2,s[t+5]=r+3,s[t+6]=r+3,s[t+7]=r;for(p=0;p<2;++p)s[t=8*(c+p)]=r=4*p,s[t+1]=r+4,s[t+2]=r+1,s[t+3]=r+5,s[t+4]=r+2,s[t+5]=r+6,s[t+6]=r+3,s[t+7]=r+7;return new f.Geometry({attributes:i,indices:s,primitiveType:f.PrimitiveType.LINES,boundingSphere:m.BoundingSphere.fromVertices(e)})},function(e,t){return o.defined(t)&&(e=s.unpack(e,t)),s.createGeometry(e)}});
@@ -1 +1 @@
1
- define(["./when-ae2e0b60","./PrimitivePipeline-a7cf99d1","./createTaskProcessorWorker","./Transforms-ce414632","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./combine-276652d0","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./GeometryPipeline-984d7313","./AttributeCompression-2f7b45b7","./EncodedCartesian3-3b6655b5","./IndexDatatype-6902a37d","./IntersectionTests-f71f97b3","./Plane-43337cee","./WebMercatorProjection-329b047d"],function(c,f,e,r,t,n,o,i,a,s,b,d,u,m,p,l,y,P){var k={};return e(function(e,r){for(var t=e.subTasks,n=t.length,o=new Array(n),i=0;i<n;i++){var a=t[i],s=a.geometry,b=a.moduleName;c.defined(b)?(b=function(e){var r=k[e];return c.defined(r)||("object"==typeof exports?k[r]=r=require("Workers/"+e):require(["Workers/"+e],function(e){k[r=e]=e})),r}(b),o[i]=b(s,a.offset)):o[i]=s}return c.when.all(o,function(e){return f.PrimitivePipeline.packCreateGeometryResults(e,r)})})});
1
+ define(["./when-ae2e0b60","./PrimitivePipeline-7f47a42a","./createTaskProcessorWorker","./Transforms-c1a1d063","./Matrix2-59fd2efe","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./combine-276652d0","./GeometryAttribute-3dd6da35","./GeometryAttributes-5ce4955a","./GeometryPipeline-990a755f","./AttributeCompression-2f7b45b7","./EncodedCartesian3-3b6655b5","./IndexDatatype-6902a37d","./IntersectionTests-60f10d18","./Plane-43337cee","./WebMercatorProjection-329b047d"],function(f,b,e,r,t,n,o,a,i,s,d,c,u,m,p,l,y,P){var k={};return e(function(e,r){for(var t=e.subTasks,n=t.length,o=new Array(n),a=0;a<n;a++){var i=t[a],s=i.geometry,d=i.moduleName;f.defined(d)?(d=function(e){var r=k[e];return f.defined(r)||("object"==typeof exports?k[r]=r=require("Workers/"+e):require(["Workers/"+e],function(e){k[r=e]=e})),r}(d),o[a]=d(s,i.offset)):o[a]=s}return f.when.all(o,function(e){return b.PrimitivePipeline.packCreateGeometryResults(e,r)})})});