@cesium/engine 2.0.0 → 2.1.0

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 (807) hide show
  1. package/Build/Workers/{ArcType-ce2e50ab.js → ArcType-2d9abbbc.js} +4 -4
  2. package/Build/Workers/{AttributeCompression-b646d393.js → AttributeCompression-8a5a065e.js} +24 -24
  3. package/Build/Workers/{AxisAlignedBoundingBox-47525601.js → AxisAlignedBoundingBox-a6f9f0e5.js} +3 -3
  4. package/Build/Workers/{BoundingRectangle-93b263ac.js → BoundingRectangle-b0a68595.js} +18 -18
  5. package/Build/Workers/{BoxGeometry-8c4b4125.js → BoxGeometry-baedd794.js} +9 -9
  6. package/Build/Workers/{Check-666ab1a0.js → Check-6ede7e26.js} +22 -22
  7. package/Build/Workers/{Color-52c60ed7.js → Color-f85df1be.js} +59 -59
  8. package/Build/Workers/{ComponentDatatype-f7b11d02.js → ComponentDatatype-cf1fa08e.js} +16 -16
  9. package/Build/Workers/{CoplanarPolygonGeometryLibrary-33c4c1f8.js → CoplanarPolygonGeometryLibrary-30516950.js} +1 -1
  10. package/Build/Workers/{CorridorGeometryLibrary-5039cd8e.js → CorridorGeometryLibrary-5d5d3b3a.js} +1 -1
  11. package/Build/Workers/{CylinderGeometry-3ac44974.js → CylinderGeometry-d899ae26.js} +12 -12
  12. package/Build/Workers/{CylinderGeometryLibrary-372c07d8.js → CylinderGeometryLibrary-135b0858.js} +1 -1
  13. package/Build/Workers/{EllipseGeometry-a9c9b3be.js → EllipseGeometry-a49f8449.js} +20 -20
  14. package/Build/Workers/{EllipseGeometryLibrary-855d4681.js → EllipseGeometryLibrary-cba7edde.js} +1 -1
  15. package/Build/Workers/{EllipseOutlineGeometry-017a5929.js → EllipseOutlineGeometry-8095c8cb.js} +15 -15
  16. package/Build/Workers/{EllipsoidGeodesic-98c62a56.js → EllipsoidGeodesic-dcff5cbd.js} +6 -6
  17. package/Build/Workers/{EllipsoidGeometry-826e7bce.js → EllipsoidGeometry-ed93f571.js} +14 -14
  18. package/Build/Workers/{EllipsoidOutlineGeometry-784dcdb5.js → EllipsoidOutlineGeometry-e4854854.js} +15 -15
  19. package/Build/Workers/{EllipsoidRhumbLine-19756602.js → EllipsoidRhumbLine-b672d507.js} +9 -9
  20. package/Build/Workers/{EllipsoidTangentPlane-ed9443a1.js → EllipsoidTangentPlane-7ae1aa9a.js} +1 -1
  21. package/Build/Workers/{EncodedCartesian3-81f70735.js → EncodedCartesian3-e8bbca36.js} +6 -6
  22. package/Build/Workers/{FrustumGeometry-9f1ee4d8.js → FrustumGeometry-b62db3e3.js} +108 -108
  23. package/Build/Workers/{GeometryAttribute-334718f8.js → GeometryAttribute-780af4fa.js} +20 -20
  24. package/Build/Workers/{GeometryAttributes-f06a2792.js → GeometryAttributes-ad136444.js} +1 -1
  25. package/Build/Workers/{GeometryInstance-451dc1cd.js → GeometryInstance-3fb607b7.js} +6 -6
  26. package/Build/Workers/{GeometryPipeline-8fb0db69.js → GeometryPipeline-36b61c99.js} +22 -22
  27. package/Build/Workers/{IndexDatatype-a55ceaa1.js → IndexDatatype-b8f3e09d.js} +13 -13
  28. package/Build/Workers/{IntersectionTests-27d49265.js → IntersectionTests-e889fcf0.js} +37 -37
  29. package/Build/Workers/{Math-2dbd6b93.js → Math-dad82b4d.js} +137 -137
  30. package/Build/Workers/{Matrix2-13178034.js → Matrix2-1e403d0e.js} +256 -256
  31. package/Build/Workers/{Matrix3-315394f6.js → Matrix3-fa806b97.js} +150 -150
  32. package/Build/Workers/{OrientedBoundingBox-79ee7cbb.js → OrientedBoundingBox-43478ac8.js} +15 -15
  33. package/Build/Workers/{Plane-900aa728.js → Plane-c27e1ac6.js} +5 -5
  34. package/Build/Workers/{PolygonGeometryLibrary-6b5a29e9.js → PolygonGeometryLibrary-38a98276.js} +6 -6
  35. package/Build/Workers/{PolygonPipeline-21668b3f.js → PolygonPipeline-d31ff61c.js} +14 -14
  36. package/Build/Workers/{PolylinePipeline-5e2e1b21.js → PolylinePipeline-30e4cec9.js} +16 -16
  37. package/Build/Workers/{PolylineVolumeGeometryLibrary-97f0b94e.js → PolylineVolumeGeometryLibrary-90551d26.js} +7 -7
  38. package/Build/Workers/{PrimitivePipeline-5640850a.js → PrimitivePipeline-558d9cb0.js} +6 -6
  39. package/Build/Workers/{RectangleGeometryLibrary-d5457f7b.js → RectangleGeometryLibrary-815c68df.js} +1 -1
  40. package/Build/Workers/{RuntimeError-06c93819.js → RuntimeError-ef395448.js} +5 -5
  41. package/Build/Workers/{TerrainEncoding-bfdf2021.js → TerrainEncoding-341ead52.js} +30 -30
  42. package/Build/Workers/{Transforms-a05e5e6e.js → Transforms-9e9df299.js} +525 -525
  43. package/Build/Workers/{VertexFormat-6b480673.js → VertexFormat-030f11ff.js} +14 -14
  44. package/Build/Workers/{WallGeometryLibrary-6db0ebb6.js → WallGeometryLibrary-ccf90976.js} +1 -1
  45. package/Build/Workers/{WebGLConstants-a8cc3e8c.js → WebGLConstants-0b1ce7ba.js} +1 -1
  46. package/Build/Workers/{WebMercatorProjection-13a90d41.js → WebMercatorProjection-76a3fcc0.js} +6 -6
  47. package/Build/Workers/{arrayRemoveDuplicates-c2038105.js → arrayRemoveDuplicates-fac118a8.js} +5 -5
  48. package/Build/Workers/cesiumWorkerBootstrapper.js +5 -5
  49. package/Build/Workers/{combine-ca22a614.js → combine-d9581036.js} +5 -5
  50. package/Build/Workers/combineGeometry.js +1 -1
  51. package/Build/Workers/createBoxGeometry.js +1 -1
  52. package/Build/Workers/createBoxOutlineGeometry.js +9 -9
  53. package/Build/Workers/createCircleGeometry.js +13 -13
  54. package/Build/Workers/createCircleOutlineGeometry.js +13 -13
  55. package/Build/Workers/createCoplanarPolygonGeometry.js +11 -11
  56. package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +9 -9
  57. package/Build/Workers/createCorridorGeometry.js +14 -14
  58. package/Build/Workers/createCorridorOutlineGeometry.js +12 -12
  59. package/Build/Workers/createCylinderGeometry.js +1 -1
  60. package/Build/Workers/createCylinderOutlineGeometry.js +13 -13
  61. package/Build/Workers/createEllipseGeometry.js +1 -1
  62. package/Build/Workers/createEllipseOutlineGeometry.js +1 -1
  63. package/Build/Workers/createEllipsoidGeometry.js +1 -1
  64. package/Build/Workers/createEllipsoidOutlineGeometry.js +1 -1
  65. package/Build/Workers/createFrustumGeometry.js +1 -1
  66. package/Build/Workers/createFrustumOutlineGeometry.js +8 -8
  67. package/Build/Workers/createGeometry.js +1 -1
  68. package/Build/Workers/createGroundPolylineGeometry.js +33 -33
  69. package/Build/Workers/createPlaneGeometry.js +8 -8
  70. package/Build/Workers/createPlaneOutlineGeometry.js +6 -6
  71. package/Build/Workers/createPolygonGeometry.js +25 -25
  72. package/Build/Workers/createPolygonOutlineGeometry.js +17 -17
  73. package/Build/Workers/createPolylineGeometry.js +11 -11
  74. package/Build/Workers/createPolylineVolumeGeometry.js +9 -9
  75. package/Build/Workers/createPolylineVolumeOutlineGeometry.js +9 -9
  76. package/Build/Workers/createRectangleGeometry.js +16 -16
  77. package/Build/Workers/createRectangleOutlineGeometry.js +12 -12
  78. package/Build/Workers/createSimplePolylineGeometry.js +10 -10
  79. package/Build/Workers/createSphereGeometry.js +11 -11
  80. package/Build/Workers/createSphereOutlineGeometry.js +12 -12
  81. package/Build/Workers/createTaskProcessorWorker.js +2 -2
  82. package/Build/Workers/createVectorTileClampedPolylines.js +1 -1
  83. package/Build/Workers/createVectorTileGeometries.js +8 -8
  84. package/Build/Workers/createVectorTilePoints.js +1 -1
  85. package/Build/Workers/createVectorTilePolygons.js +1 -1
  86. package/Build/Workers/createVectorTilePolylines.js +1 -1
  87. package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +1 -1
  88. package/Build/Workers/createVerticesFromHeightmap.js +23 -21
  89. package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +24 -24
  90. package/Build/Workers/createWallGeometry.js +14 -14
  91. package/Build/Workers/createWallOutlineGeometry.js +14 -14
  92. package/Build/Workers/decodeDraco.js +1 -1
  93. package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +15 -15
  94. package/Build/Workers/decodeI3S.js +1 -1
  95. package/Build/Workers/{defaultValue-0a909f67.js → defaultValue-fe22d8c0.js} +2 -2
  96. package/Build/Workers/package.js +1 -1
  97. package/Build/Workers/transcodeKTX2.js +26 -26
  98. package/Build/Workers/transferTypedArrayTest.js +1 -1
  99. package/Build/Workers/upsampleQuantizedTerrainMesh.js +24 -24
  100. package/Source/Core/ApproximateTerrainHeights.js +3 -3
  101. package/Source/Core/ArcGISTiledElevationTerrainProvider.js +20 -20
  102. package/Source/Core/ArcType.js +4 -4
  103. package/Source/Core/ArticulationStageType.js +1 -1
  104. package/Source/Core/AssociativeArray.js +7 -7
  105. package/Source/Core/AttributeCompression.js +12 -12
  106. package/Source/Core/AxisAlignedBoundingBox.js +2 -2
  107. package/Source/Core/BingMapsGeocoderService.js +6 -6
  108. package/Source/Core/BoundingRectangle.js +17 -17
  109. package/Source/Core/BoundingSphere.js +25 -25
  110. package/Source/Core/BoxGeometry.js +8 -8
  111. package/Source/Core/BoxOutlineGeometry.js +8 -8
  112. package/Source/Core/Cartesian2.js +38 -38
  113. package/Source/Core/Cartesian3.js +50 -50
  114. package/Source/Core/Cartesian4.js +44 -44
  115. package/Source/Core/Cartographic.js +19 -19
  116. package/Source/Core/CartographicGeocoderService.js +1 -1
  117. package/Source/Core/CatmullRomSpline.js +10 -10
  118. package/Source/Core/CesiumTerrainProvider.js +33 -33
  119. package/Source/Core/Check.js +17 -17
  120. package/Source/Core/CircleGeometry.js +12 -12
  121. package/Source/Core/CircleOutlineGeometry.js +12 -12
  122. package/Source/Core/Clock.js +7 -7
  123. package/Source/Core/ClockRange.js +4 -4
  124. package/Source/Core/ClockStep.js +4 -4
  125. package/Source/Core/Color.js +58 -58
  126. package/Source/Core/ColorGeometryInstanceAttribute.js +7 -7
  127. package/Source/Core/ComponentDatatype.js +15 -15
  128. package/Source/Core/CompressedTextureBuffer.js +7 -7
  129. package/Source/Core/ConstantSpline.js +9 -9
  130. package/Source/Core/CoplanarPolygonGeometry.js +10 -10
  131. package/Source/Core/CoplanarPolygonOutlineGeometry.js +8 -8
  132. package/Source/Core/CornerType.js +4 -4
  133. package/Source/Core/CorridorGeometry.js +13 -13
  134. package/Source/Core/CorridorOutlineGeometry.js +11 -11
  135. package/Source/Core/Credit.js +7 -7
  136. package/Source/Core/CubicRealPolynomial.js +10 -10
  137. package/Source/Core/CullingVolume.js +7 -7
  138. package/Source/Core/CustomHeightmapTerrainProvider.js +28 -28
  139. package/Source/Core/CylinderGeometry.js +11 -11
  140. package/Source/Core/CylinderOutlineGeometry.js +12 -12
  141. package/Source/Core/DefaultProxy.js +3 -3
  142. package/Source/Core/DeveloperError.js +4 -4
  143. package/Source/Core/DistanceDisplayCondition.js +12 -12
  144. package/Source/Core/DistanceDisplayConditionGeometryInstanceAttribute.js +5 -5
  145. package/Source/Core/DoubleEndedPriorityQueue.js +5 -5
  146. package/Source/Core/EarthOrientationParameters.js +6 -6
  147. package/Source/Core/EarthOrientationParametersSample.js +10 -10
  148. package/Source/Core/EasingFunction.js +2 -2
  149. package/Source/Core/EllipseGeometry.js +19 -19
  150. package/Source/Core/EllipseOutlineGeometry.js +14 -14
  151. package/Source/Core/Ellipsoid.js +20 -20
  152. package/Source/Core/EllipsoidGeodesic.js +5 -5
  153. package/Source/Core/EllipsoidGeometry.js +13 -13
  154. package/Source/Core/EllipsoidOutlineGeometry.js +14 -14
  155. package/Source/Core/EllipsoidRhumbLine.js +8 -8
  156. package/Source/Core/EllipsoidTerrainProvider.js +18 -18
  157. package/Source/Core/EllipsoidalOccluder.js +9 -9
  158. package/Source/Core/EncodedCartesian3.js +5 -5
  159. package/Source/Core/Event.js +4 -4
  160. package/Source/Core/EventHelper.js +1 -1
  161. package/Source/Core/ExtrapolationType.js +4 -4
  162. package/Source/Core/FeatureDetection.js +9 -9
  163. package/Source/Core/FrustumGeometry.js +7 -7
  164. package/Source/Core/FrustumOutlineGeometry.js +7 -7
  165. package/Source/Core/Fullscreen.js +8 -8
  166. package/Source/Core/GeocodeType.js +3 -3
  167. package/Source/Core/GeocoderService.js +3 -3
  168. package/Source/Core/GeographicTilingScheme.js +16 -16
  169. package/Source/Core/Geometry.js +5 -5
  170. package/Source/Core/GeometryAttribute.js +6 -6
  171. package/Source/Core/GeometryInstance.js +5 -5
  172. package/Source/Core/GeometryInstanceAttribute.js +7 -7
  173. package/Source/Core/GeometryPipeline.js +11 -11
  174. package/Source/Core/GoogleEarthEnterpriseMetadata.js +22 -22
  175. package/Source/Core/GoogleEarthEnterpriseTerrainData.js +29 -29
  176. package/Source/Core/GoogleEarthEnterpriseTerrainProvider.js +21 -21
  177. package/Source/Core/GoogleEarthEnterpriseTileInformation.js +14 -14
  178. package/Source/Core/GregorianDate.js +16 -16
  179. package/Source/Core/GroundPolylineGeometry.js +13 -13
  180. package/Source/Core/HeadingPitchRange.js +6 -6
  181. package/Source/Core/HeadingPitchRoll.js +18 -18
  182. package/Source/Core/Heap.js +7 -7
  183. package/Source/Core/HeightmapEncoding.js +3 -3
  184. package/Source/Core/HeightmapTerrainData.js +44 -44
  185. package/Source/Core/HeightmapTessellator.js +16 -16
  186. package/Source/Core/HermitePolynomialApproximation.js +17 -17
  187. package/Source/Core/HermiteSpline.js +17 -17
  188. package/Source/Core/HilbertOrder.js +7 -7
  189. package/Source/Core/Iau2006XysData.js +13 -13
  190. package/Source/Core/Iau2006XysSample.js +6 -6
  191. package/Source/Core/IauOrientationParameters.js +4 -4
  192. package/Source/Core/IndexDatatype.js +12 -12
  193. package/Source/Core/InterpolationAlgorithm.js +17 -17
  194. package/Source/Core/InterpolationType.js +1 -1
  195. package/Source/Core/Intersect.js +4 -4
  196. package/Source/Core/IntersectionTests.js +5 -5
  197. package/Source/Core/Intersections2D.js +23 -23
  198. package/Source/Core/Interval.js +4 -4
  199. package/Source/Core/Ion.js +3 -3
  200. package/Source/Core/IonGeocoderService.js +4 -4
  201. package/Source/Core/IonResource.js +6 -6
  202. package/Source/Core/JulianDate.js +27 -27
  203. package/Source/Core/KeyboardEventModifier.js +4 -4
  204. package/Source/Core/LagrangePolynomialApproximation.js +8 -8
  205. package/Source/Core/LeapSecond.js +2 -2
  206. package/Source/Core/LinearApproximation.js +8 -8
  207. package/Source/Core/LinearSpline.js +13 -13
  208. package/Source/Core/ManagedArray.js +8 -8
  209. package/Source/Core/Math.js +136 -136
  210. package/Source/Core/Matrix2.js +44 -44
  211. package/Source/Core/Matrix3.js +59 -59
  212. package/Source/Core/Matrix4.js +91 -91
  213. package/Source/Core/MorphWeightSpline.js +14 -14
  214. package/Source/Core/MortonOrder.js +21 -21
  215. package/Source/Core/NearFarScalar.js +16 -16
  216. package/Source/Core/Occluder.js +5 -5
  217. package/Source/Core/OffsetGeometryInstanceAttribute.js +5 -5
  218. package/Source/Core/OpenCageGeocoderService.js +18 -18
  219. package/Source/Core/OrientedBoundingBox.js +14 -14
  220. package/Source/Core/OrthographicFrustum.js +23 -23
  221. package/Source/Core/OrthographicOffCenterFrustum.js +21 -21
  222. package/Source/Core/Packable.js +7 -7
  223. package/Source/Core/PackableForInterpolation.js +11 -11
  224. package/Source/Core/PeliasGeocoderService.js +2 -2
  225. package/Source/Core/PerspectiveFrustum.js +28 -28
  226. package/Source/Core/PerspectiveOffCenterFrustum.js +21 -21
  227. package/Source/Core/PinBuilder.js +9 -9
  228. package/Source/Core/PixelFormat.js +23 -23
  229. package/Source/Core/Plane.js +4 -4
  230. package/Source/Core/PlaneGeometry.js +7 -7
  231. package/Source/Core/PlaneOutlineGeometry.js +5 -5
  232. package/Source/Core/PolygonGeometry.js +24 -24
  233. package/Source/Core/PolygonGeometryLibrary.js +4 -4
  234. package/Source/Core/PolygonOutlineGeometry.js +16 -16
  235. package/Source/Core/PolygonPipeline.js +10 -10
  236. package/Source/Core/PolylineGeometry.js +10 -10
  237. package/Source/Core/PolylinePipeline.js +15 -15
  238. package/Source/Core/PolylineVolumeGeometry.js +8 -8
  239. package/Source/Core/PolylineVolumeOutlineGeometry.js +8 -8
  240. package/Source/Core/PrimitiveType.js +8 -8
  241. package/Source/Core/Proxy.js +2 -2
  242. package/Source/Core/QuadraticRealPolynomial.js +8 -8
  243. package/Source/Core/QuantizedMeshTerrainData.js +37 -37
  244. package/Source/Core/QuarticRealPolynomial.js +12 -12
  245. package/Source/Core/Quaternion.js +42 -42
  246. package/Source/Core/QuaternionSpline.js +10 -10
  247. package/Source/Core/Queue.js +2 -2
  248. package/Source/Core/Ray.js +1 -1
  249. package/Source/Core/Rectangle.js +38 -38
  250. package/Source/Core/RectangleCollisionChecker.js +3 -3
  251. package/Source/Core/RectangleGeometry.js +15 -15
  252. package/Source/Core/RectangleOutlineGeometry.js +11 -11
  253. package/Source/Core/ReferenceFrame.js +3 -3
  254. package/Source/Core/Request.js +13 -13
  255. package/Source/Core/RequestErrorEvent.js +7 -7
  256. package/Source/Core/RequestScheduler.js +14 -14
  257. package/Source/Core/RequestState.js +7 -7
  258. package/Source/Core/RequestType.js +5 -5
  259. package/Source/Core/Resource.js +223 -223
  260. package/Source/Core/RuntimeError.js +4 -4
  261. package/Source/Core/S2Cell.js +15 -15
  262. package/Source/Core/ScreenSpaceEventHandler.js +7 -7
  263. package/Source/Core/ScreenSpaceEventType.js +16 -16
  264. package/Source/Core/ShowGeometryInstanceAttribute.js +4 -4
  265. package/Source/Core/SimplePolylineGeometry.js +9 -9
  266. package/Source/Core/SphereGeometry.js +10 -10
  267. package/Source/Core/SphereOutlineGeometry.js +11 -11
  268. package/Source/Core/Spherical.js +13 -13
  269. package/Source/Core/Spline.js +14 -14
  270. package/Source/Core/SteppedSpline.js +14 -14
  271. package/Source/Core/TaskProcessor.js +10 -10
  272. package/Source/Core/TerrainData.js +25 -25
  273. package/Source/Core/TerrainEncoding.js +14 -14
  274. package/Source/Core/TerrainExaggeration.js +3 -3
  275. package/Source/Core/TerrainMesh.js +18 -18
  276. package/Source/Core/TerrainProvider.js +23 -23
  277. package/Source/Core/TerrainQuantization.js +3 -3
  278. package/Source/Core/TileAvailability.js +16 -16
  279. package/Source/Core/TileProviderError.js +15 -15
  280. package/Source/Core/TilingScheme.js +13 -13
  281. package/Source/Core/TimeConstants.js +10 -10
  282. package/Source/Core/TimeInterval.js +23 -23
  283. package/Source/Core/TimeIntervalCollection.js +39 -39
  284. package/Source/Core/TimeStandard.js +3 -3
  285. package/Source/Core/Tipsify.js +10 -10
  286. package/Source/Core/Transforms.js +2 -2
  287. package/Source/Core/TranslationRotationScale.js +1 -1
  288. package/Source/Core/TridiagonalSystemSolver.js +3 -3
  289. package/Source/Core/TrustedServers.js +5 -5
  290. package/Source/Core/VRTheWorldTerrainProvider.js +20 -20
  291. package/Source/Core/VertexFormat.js +13 -13
  292. package/Source/Core/VideoSynchronizer.js +4 -4
  293. package/Source/Core/Visibility.js +4 -4
  294. package/Source/Core/VulkanConstants.js +1 -1
  295. package/Source/Core/WallGeometry.js +13 -13
  296. package/Source/Core/WallOutlineGeometry.js +13 -13
  297. package/Source/Core/WebGLConstants.js +1 -1
  298. package/Source/Core/WebMercatorProjection.js +5 -5
  299. package/Source/Core/WebMercatorTilingScheme.js +16 -16
  300. package/Source/Core/WindingOrder.js +3 -3
  301. package/Source/Core/WireframeIndexGenerator.js +3 -3
  302. package/Source/Core/arrayRemoveDuplicates.js +4 -4
  303. package/Source/Core/binarySearch.js +2 -2
  304. package/Source/Core/buildModuleUrl.js +4 -4
  305. package/Source/Core/clone.js +3 -3
  306. package/Source/Core/combine.js +4 -4
  307. package/Source/Core/createGuid.js +1 -1
  308. package/Source/Core/createWorldTerrain.js +3 -3
  309. package/Source/Core/defaultValue.js +1 -1
  310. package/Source/Core/defer.js +1 -1
  311. package/Source/Core/defined.js +1 -1
  312. package/Source/Core/deprecationWarning.js +2 -2
  313. package/Source/Core/destroyObject.js +2 -2
  314. package/Source/Core/formatError.js +1 -1
  315. package/Source/Core/getAbsoluteUri.js +3 -3
  316. package/Source/Core/getBaseUri.js +3 -3
  317. package/Source/Core/getExtensionFromUri.js +2 -2
  318. package/Source/Core/getFilenameFromUri.js +2 -2
  319. package/Source/Core/getImageFromTypedArray.js +2 -2
  320. package/Source/Core/getImagePixels.js +4 -3
  321. package/Source/Core/getJsonFromTypedArray.js +3 -3
  322. package/Source/Core/getStringFromTypedArray.js +3 -3
  323. package/Source/Core/getTimestamp.js +1 -1
  324. package/Source/Core/isBlobUri.js +2 -2
  325. package/Source/Core/isDataUri.js +2 -2
  326. package/Source/Core/isLeapYear.js +2 -2
  327. package/Source/Core/loadKTX2.js +8 -8
  328. package/Source/Core/mergeSort.js +1 -1
  329. package/Source/Core/objectToQuery.js +2 -2
  330. package/Source/Core/oneTimeWarning.js +2 -2
  331. package/Source/Core/parseResponseHeaders.js +2 -2
  332. package/Source/Core/pointInsideTriangle.js +1 -1
  333. package/Source/Core/queryToObject.js +2 -2
  334. package/Source/Core/sampleTerrain.js +7 -7
  335. package/Source/Core/sampleTerrainMostDetailed.js +1 -1
  336. package/Source/Core/scaleToGeodeticSurface.js +1 -1
  337. package/Source/Core/subdivideArray.js +1 -1
  338. package/Source/Core/writeTextToCanvas.js +10 -9
  339. package/Source/DataSources/BillboardGraphics.js +1 -1
  340. package/Source/DataSources/BillboardVisualizer.js +2 -2
  341. package/Source/DataSources/BoundingSphereState.js +1 -1
  342. package/Source/DataSources/BoxGraphics.js +1 -1
  343. package/Source/DataSources/CallbackProperty.js +8 -8
  344. package/Source/DataSources/Cesium3DTilesetGraphics.js +1 -1
  345. package/Source/DataSources/Cesium3DTilesetVisualizer.js +2 -2
  346. package/Source/DataSources/CheckerboardMaterialProperty.js +6 -6
  347. package/Source/DataSources/ColorMaterialProperty.js +5 -5
  348. package/Source/DataSources/CompositeEntityCollection.js +8 -8
  349. package/Source/DataSources/CompositeMaterialProperty.js +5 -5
  350. package/Source/DataSources/CompositePositionProperty.js +2 -2
  351. package/Source/DataSources/CompositeProperty.js +4 -4
  352. package/Source/DataSources/ConstantPositionProperty.js +4 -4
  353. package/Source/DataSources/ConstantProperty.js +5 -5
  354. package/Source/DataSources/CorridorGraphics.js +1 -1
  355. package/Source/DataSources/CustomDataSource.js +5 -5
  356. package/Source/DataSources/CylinderGraphics.js +1 -1
  357. package/Source/DataSources/CzmlDataSource.js +26 -26
  358. package/Source/DataSources/DataSource.js +4 -4
  359. package/Source/DataSources/DataSourceClock.js +2 -2
  360. package/Source/DataSources/DataSourceCollection.js +11 -11
  361. package/Source/DataSources/DataSourceDisplay.js +5 -5
  362. package/Source/DataSources/DynamicGeometryUpdater.js +1 -1
  363. package/Source/DataSources/EllipseGraphics.js +1 -1
  364. package/Source/DataSources/EllipsoidGeometryUpdater.js +2 -2
  365. package/Source/DataSources/EllipsoidGraphics.js +1 -1
  366. package/Source/DataSources/Entity.js +14 -14
  367. package/Source/DataSources/EntityCluster.js +16 -16
  368. package/Source/DataSources/EntityCollection.js +8 -8
  369. package/Source/DataSources/GeoJsonDataSource.js +27 -27
  370. package/Source/DataSources/GeometryUpdater.js +22 -22
  371. package/Source/DataSources/GeometryVisualizer.js +2 -2
  372. package/Source/DataSources/GpxDataSource.js +23 -23
  373. package/Source/DataSources/GridMaterialProperty.js +7 -7
  374. package/Source/DataSources/GroundGeometryUpdater.js +5 -5
  375. package/Source/DataSources/ImageMaterialProperty.js +8 -8
  376. package/Source/DataSources/KmlDataSource.js +32 -32
  377. package/Source/DataSources/KmlTour.js +7 -7
  378. package/Source/DataSources/KmlTourFlyTo.js +6 -6
  379. package/Source/DataSources/KmlTourWait.js +2 -2
  380. package/Source/DataSources/LabelGraphics.js +1 -1
  381. package/Source/DataSources/LabelVisualizer.js +2 -2
  382. package/Source/DataSources/MaterialProperty.js +5 -5
  383. package/Source/DataSources/ModelGraphics.js +3 -3
  384. package/Source/DataSources/ModelVisualizer.js +2 -2
  385. package/Source/DataSources/NodeTransformationProperty.js +3 -3
  386. package/Source/DataSources/PathGraphics.js +1 -1
  387. package/Source/DataSources/PathVisualizer.js +2 -2
  388. package/Source/DataSources/PlaneGraphics.js +1 -1
  389. package/Source/DataSources/PointGraphics.js +1 -1
  390. package/Source/DataSources/PointVisualizer.js +2 -2
  391. package/Source/DataSources/PolygonGraphics.js +3 -3
  392. package/Source/DataSources/PolylineArrowMaterialProperty.js +5 -5
  393. package/Source/DataSources/PolylineDashMaterialProperty.js +8 -8
  394. package/Source/DataSources/PolylineGeometryUpdater.js +13 -13
  395. package/Source/DataSources/PolylineGlowMaterialProperty.js +8 -8
  396. package/Source/DataSources/PolylineGraphics.js +2 -2
  397. package/Source/DataSources/PolylineOutlineMaterialProperty.js +7 -7
  398. package/Source/DataSources/PolylineVisualizer.js +2 -2
  399. package/Source/DataSources/PolylineVolumeGraphics.js +3 -3
  400. package/Source/DataSources/PositionProperty.js +2 -2
  401. package/Source/DataSources/PositionPropertyArray.js +2 -2
  402. package/Source/DataSources/Property.js +4 -4
  403. package/Source/DataSources/PropertyArray.js +2 -2
  404. package/Source/DataSources/PropertyBag.js +10 -10
  405. package/Source/DataSources/RectangleGraphics.js +1 -1
  406. package/Source/DataSources/ReferenceProperty.js +10 -10
  407. package/Source/DataSources/Rotation.js +14 -14
  408. package/Source/DataSources/SampledPositionProperty.js +11 -11
  409. package/Source/DataSources/SampledProperty.js +12 -12
  410. package/Source/DataSources/StripeMaterialProperty.js +8 -8
  411. package/Source/DataSources/StripeOrientation.js +3 -3
  412. package/Source/DataSources/TerrainOffsetProperty.js +1 -1
  413. package/Source/DataSources/TimeIntervalCollectionPositionProperty.js +3 -3
  414. package/Source/DataSources/TimeIntervalCollectionProperty.js +4 -4
  415. package/Source/DataSources/VelocityOrientationProperty.js +2 -2
  416. package/Source/DataSources/VelocityVectorProperty.js +4 -4
  417. package/Source/DataSources/Visualizer.js +2 -2
  418. package/Source/DataSources/WallGraphics.js +4 -4
  419. package/Source/DataSources/exportKml.js +9 -9
  420. package/Source/Renderer/Buffer.js +4 -4
  421. package/Source/Renderer/ClearCommand.js +3 -3
  422. package/Source/Renderer/ComputeCommand.js +3 -3
  423. package/Source/Renderer/Context.js +46 -46
  424. package/Source/Renderer/ContextLimits.js +22 -22
  425. package/Source/Renderer/CubeMapFace.js +11 -11
  426. package/Source/Renderer/DrawCommand.js +15 -15
  427. package/Source/Renderer/Framebuffer.js +4 -4
  428. package/Source/Renderer/FramebufferManager.js +9 -9
  429. package/Source/Renderer/MultisampleFramebuffer.js +1 -1
  430. package/Source/Renderer/PassState.js +2 -2
  431. package/Source/Renderer/PixelDatatype.js +1 -1
  432. package/Source/Renderer/RenderState.js +1 -1
  433. package/Source/Renderer/ShaderBuilder.js +24 -24
  434. package/Source/Renderer/ShaderCache.js +8 -8
  435. package/Source/Renderer/ShaderDestination.js +2 -2
  436. package/Source/Renderer/ShaderFunction.js +3 -3
  437. package/Source/Renderer/ShaderSource.js +8 -8
  438. package/Source/Renderer/ShaderStruct.js +4 -4
  439. package/Source/Renderer/Texture.js +18 -18
  440. package/Source/Renderer/TextureMagnificationFilter.js +4 -4
  441. package/Source/Renderer/TextureMinificationFilter.js +8 -8
  442. package/Source/Renderer/UniformState.js +14 -14
  443. package/Source/Renderer/VertexArray.js +2 -2
  444. package/Source/Renderer/createUniform.js +12 -12
  445. package/Source/Renderer/createUniformArray.js +12 -12
  446. package/Source/Renderer/freezeRenderState.js +2 -2
  447. package/Source/Renderer/loadCubeMap.js +3 -3
  448. package/Source/Scene/AlphaMode.js +4 -4
  449. package/Source/Scene/Appearance.js +14 -14
  450. package/Source/Scene/ArcGisMapServerImageryProvider.js +43 -43
  451. package/Source/Scene/AttributeType.js +11 -11
  452. package/Source/Scene/AutoExposure.js +6 -6
  453. package/Source/Scene/Axis.js +6 -6
  454. package/Source/Scene/B3dmParser.js +2 -2
  455. package/Source/Scene/BatchTable.js +13 -13
  456. package/Source/Scene/BatchTableHierarchy.js +22 -22
  457. package/Source/Scene/BatchTexture.js +14 -14
  458. package/Source/Scene/Billboard.js +17 -17
  459. package/Source/Scene/BillboardCollection.js +13 -13
  460. package/Source/Scene/BingMapsImageryProvider.js +40 -40
  461. package/Source/Scene/BingMapsStyle.js +11 -11
  462. package/Source/Scene/BlendEquation.js +6 -6
  463. package/Source/Scene/BlendFunction.js +16 -16
  464. package/Source/Scene/BlendOption.js +4 -4
  465. package/Source/Scene/BlendingState.js +4 -4
  466. package/Source/Scene/BufferLoader.js +5 -5
  467. package/Source/Scene/Camera.js +57 -57
  468. package/Source/Scene/CameraEventAggregator.js +26 -16
  469. package/Source/Scene/CameraEventType.js +6 -6
  470. package/Source/Scene/Cesium3DContentGroup.js +1 -1
  471. package/Source/Scene/Cesium3DTile.js +24 -24
  472. package/Source/Scene/Cesium3DTileBatchTable.js +1 -1
  473. package/Source/Scene/Cesium3DTileColorBlendMode.js +4 -4
  474. package/Source/Scene/Cesium3DTileContent.js +15 -15
  475. package/Source/Scene/Cesium3DTileContentType.js +17 -17
  476. package/Source/Scene/Cesium3DTileFeature.js +16 -16
  477. package/Source/Scene/Cesium3DTileOptimizationHint.js +1 -1
  478. package/Source/Scene/Cesium3DTileOptimizations.js +1 -1
  479. package/Source/Scene/Cesium3DTilePassState.js +1 -1
  480. package/Source/Scene/Cesium3DTilePointFeature.js +23 -23
  481. package/Source/Scene/Cesium3DTileRefine.js +3 -3
  482. package/Source/Scene/Cesium3DTileStyle.js +17 -17
  483. package/Source/Scene/Cesium3DTilesVoxelProvider.js +2 -2
  484. package/Source/Scene/Cesium3DTileset.js +111 -111
  485. package/Source/Scene/Cesium3DTilesetHeatmap.js +4 -4
  486. package/Source/Scene/Cesium3DTilesetMetadata.js +5 -5
  487. package/Source/Scene/CircleEmitter.js +2 -2
  488. package/Source/Scene/ClassificationPrimitive.js +25 -25
  489. package/Source/Scene/ClassificationType.js +4 -4
  490. package/Source/Scene/ClippingPlane.js +2 -2
  491. package/Source/Scene/ClippingPlaneCollection.js +17 -17
  492. package/Source/Scene/CloudCollection.js +16 -16
  493. package/Source/Scene/CloudType.js +3 -3
  494. package/Source/Scene/ColorBlendMode.js +1 -1
  495. package/Source/Scene/ConditionsExpression.js +11 -11
  496. package/Source/Scene/ConeEmitter.js +2 -2
  497. package/Source/Scene/ContentMetadata.js +16 -16
  498. package/Source/Scene/CreditDisplay.js +2 -2
  499. package/Source/Scene/CullFace.js +4 -4
  500. package/Source/Scene/CumulusCloud.js +3 -3
  501. package/Source/Scene/DebugAppearance.js +17 -17
  502. package/Source/Scene/DebugCameraPrimitive.js +7 -7
  503. package/Source/Scene/DebugModelMatrixPrimitive.js +9 -9
  504. package/Source/Scene/DepthFunction.js +9 -9
  505. package/Source/Scene/DeviceOrientationCameraController.js +1 -1
  506. package/Source/Scene/DirectionalLight.js +3 -3
  507. package/Source/Scene/DiscardEmptyTileImagePolicy.js +2 -2
  508. package/Source/Scene/DiscardMissingTileImagePolicy.js +5 -5
  509. package/Source/Scene/DracoLoader.js +4 -4
  510. package/Source/Scene/EllipsoidPrimitive.js +8 -8
  511. package/Source/Scene/EllipsoidSurfaceAppearance.js +19 -19
  512. package/Source/Scene/Expression.js +14 -14
  513. package/Source/Scene/Fog.js +5 -5
  514. package/Source/Scene/FrameRateMonitor.js +14 -14
  515. package/Source/Scene/FrameState.js +36 -36
  516. package/Source/Scene/FrustumCommands.js +2 -2
  517. package/Source/Scene/GetFeatureInfoFormat.js +2 -2
  518. package/Source/Scene/Globe.js +34 -34
  519. package/Source/Scene/GlobeSurfaceTile.js +1 -1
  520. package/Source/Scene/GlobeSurfaceTileProvider.js +6 -6
  521. package/Source/Scene/GlobeTranslucency.js +3 -3
  522. package/Source/Scene/GltfBufferViewLoader.js +7 -7
  523. package/Source/Scene/GltfDracoLoader.js +8 -8
  524. package/Source/Scene/GltfImageLoader.js +7 -7
  525. package/Source/Scene/GltfIndexBufferLoader.js +11 -11
  526. package/Source/Scene/GltfJsonLoader.js +7 -7
  527. package/Source/Scene/GltfLoader.js +24 -24
  528. package/Source/Scene/GltfLoaderUtil.js +11 -11
  529. package/Source/Scene/GltfPipeline/addBuffer.js +2 -2
  530. package/Source/Scene/GltfPipeline/addDefaults.js +2 -2
  531. package/Source/Scene/GltfPipeline/addExtensionsRequired.js +2 -2
  532. package/Source/Scene/GltfPipeline/addExtensionsUsed.js +2 -2
  533. package/Source/Scene/GltfPipeline/addPipelineExtras.js +2 -2
  534. package/Source/Scene/GltfPipeline/addToArray.js +2 -2
  535. package/Source/Scene/GltfPipeline/findAccessorMinMax.js +2 -2
  536. package/Source/Scene/GltfPipeline/forEachTextureInMaterial.js +3 -3
  537. package/Source/Scene/GltfPipeline/getAccessorByteStride.js +3 -3
  538. package/Source/Scene/GltfPipeline/getComponentReader.js +5 -5
  539. package/Source/Scene/GltfPipeline/moveTechniqueRenderStates.js +2 -2
  540. package/Source/Scene/GltfPipeline/moveTechniquesToExtension.js +2 -2
  541. package/Source/Scene/GltfPipeline/numberOfComponentsForType.js +2 -2
  542. package/Source/Scene/GltfPipeline/parseGlb.js +1 -1
  543. package/Source/Scene/GltfPipeline/readAccessorPacked.js +2 -2
  544. package/Source/Scene/GltfPipeline/removeExtension.js +2 -2
  545. package/Source/Scene/GltfPipeline/removeExtensionsRequired.js +2 -2
  546. package/Source/Scene/GltfPipeline/removeExtensionsUsed.js +2 -2
  547. package/Source/Scene/GltfPipeline/removePipelineExtras.js +2 -2
  548. package/Source/Scene/GltfPipeline/removeUnusedElements.js +2 -2
  549. package/Source/Scene/GltfPipeline/updateAccessorComponentTypes.js +2 -2
  550. package/Source/Scene/GltfPipeline/updateVersion.js +4 -4
  551. package/Source/Scene/GltfPipeline/usesExtension.js +3 -3
  552. package/Source/Scene/GltfStructuralMetadataLoader.js +9 -9
  553. package/Source/Scene/GltfTextureLoader.js +8 -8
  554. package/Source/Scene/GltfVertexBufferLoader.js +13 -13
  555. package/Source/Scene/GoogleEarthEnterpriseImageryProvider.js +33 -33
  556. package/Source/Scene/GoogleEarthEnterpriseMapsProvider.js +38 -38
  557. package/Source/Scene/GridImageryProvider.js +33 -33
  558. package/Source/Scene/GroundPolylinePrimitive.js +20 -20
  559. package/Source/Scene/GroundPrimitive.js +26 -26
  560. package/Source/Scene/GroupMetadata.js +17 -17
  561. package/Source/Scene/HeightReference.js +4 -4
  562. package/Source/Scene/HorizontalOrigin.js +4 -4
  563. package/Source/Scene/I3SDataProvider.js +13 -13
  564. package/Source/Scene/I3SFeature.js +1 -1
  565. package/Source/Scene/I3SField.js +5 -5
  566. package/Source/Scene/I3SGeometry.js +8 -8
  567. package/Source/Scene/I3SLayer.js +7 -7
  568. package/Source/Scene/I3SNode.js +6 -6
  569. package/Source/Scene/I3dmParser.js +2 -2
  570. package/Source/Scene/ImageBasedLighting.js +21 -17
  571. package/Source/Scene/ImageryLayer.js +39 -39
  572. package/Source/Scene/ImageryLayerCollection.js +11 -11
  573. package/Source/Scene/ImageryLayerFeatureInfo.js +6 -6
  574. package/Source/Scene/ImageryProvider.js +30 -30
  575. package/Source/Scene/Implicit3DTileContent.js +56 -56
  576. package/Source/Scene/ImplicitAvailabilityBitstream.js +10 -10
  577. package/Source/Scene/ImplicitMetadataView.js +16 -16
  578. package/Source/Scene/ImplicitSubdivisionScheme.js +4 -4
  579. package/Source/Scene/ImplicitSubtree.js +48 -48
  580. package/Source/Scene/ImplicitSubtreeCache.js +6 -6
  581. package/Source/Scene/ImplicitSubtreeMetadata.js +16 -16
  582. package/Source/Scene/ImplicitTileCoordinates.js +27 -27
  583. package/Source/Scene/ImplicitTileset.js +10 -10
  584. package/Source/Scene/InstanceAttributeSemantic.js +5 -5
  585. package/Source/Scene/IonImageryProvider.js +32 -32
  586. package/Source/Scene/IonWorldImageryStyle.js +4 -4
  587. package/Source/Scene/JsonMetadataTable.js +11 -11
  588. package/Source/Scene/KeyframeNode.js +1 -1
  589. package/Source/Scene/Label.js +14 -14
  590. package/Source/Scene/LabelCollection.js +12 -11
  591. package/Source/Scene/LabelStyle.js +4 -4
  592. package/Source/Scene/Light.js +1 -1
  593. package/Source/Scene/MapMode2D.js +3 -3
  594. package/Source/Scene/MapboxImageryProvider.js +37 -37
  595. package/Source/Scene/MapboxStyleImageryProvider.js +39 -39
  596. package/Source/Scene/Material.js +47 -47
  597. package/Source/Scene/MaterialAppearance.js +21 -21
  598. package/Source/Scene/Megatexture.js +15 -15
  599. package/Source/Scene/MetadataClass.js +16 -16
  600. package/Source/Scene/MetadataClassProperty.js +41 -41
  601. package/Source/Scene/MetadataComponentType.js +21 -21
  602. package/Source/Scene/MetadataEntity.js +31 -31
  603. package/Source/Scene/MetadataEnum.js +14 -14
  604. package/Source/Scene/MetadataEnumValue.js +10 -10
  605. package/Source/Scene/MetadataSchema.js +16 -16
  606. package/Source/Scene/MetadataSchemaLoader.js +6 -6
  607. package/Source/Scene/MetadataSemantic.js +17 -17
  608. package/Source/Scene/MetadataTable.js +24 -24
  609. package/Source/Scene/MetadataTableProperty.js +9 -9
  610. package/Source/Scene/MetadataType.js +15 -15
  611. package/Source/Scene/Model/B3dmLoader.js +13 -13
  612. package/Source/Scene/Model/ClassificationModelDrawCommand.js +3 -3
  613. package/Source/Scene/Model/CustomShader.js +18 -18
  614. package/Source/Scene/Model/CustomShaderMode.js +4 -4
  615. package/Source/Scene/Model/CustomShaderTranslucencyMode.js +4 -4
  616. package/Source/Scene/Model/GeoJsonLoader.js +5 -5
  617. package/Source/Scene/Model/I3dmLoader.js +11 -11
  618. package/Source/Scene/Model/LightingModel.js +3 -3
  619. package/Source/Scene/Model/MaterialPipelineStage.js +6 -6
  620. package/Source/Scene/Model/MetadataPipelineStage.js +25 -26
  621. package/Source/Scene/Model/Model.js +85 -85
  622. package/Source/Scene/Model/ModelAlphaOptions.js +1 -1
  623. package/Source/Scene/Model/ModelAnimation.js +11 -11
  624. package/Source/Scene/Model/ModelAnimationChannel.js +2 -2
  625. package/Source/Scene/Model/ModelAnimationCollection.js +18 -18
  626. package/Source/Scene/Model/ModelArticulation.js +4 -4
  627. package/Source/Scene/Model/ModelArticulationStage.js +5 -5
  628. package/Source/Scene/Model/ModelDrawCommand.js +3 -3
  629. package/Source/Scene/Model/ModelFeature.js +12 -12
  630. package/Source/Scene/Model/ModelFeatureTable.js +5 -5
  631. package/Source/Scene/Model/ModelLightingOptions.js +1 -1
  632. package/Source/Scene/Model/ModelNode.js +3 -3
  633. package/Source/Scene/Model/ModelRenderResources.js +4 -4
  634. package/Source/Scene/Model/ModelRuntimeNode.js +7 -7
  635. package/Source/Scene/Model/ModelRuntimePrimitive.js +3 -3
  636. package/Source/Scene/Model/ModelSceneGraph.js +11 -11
  637. package/Source/Scene/Model/ModelSilhouettePipelineStage.js +1 -1
  638. package/Source/Scene/Model/ModelSkin.js +1 -1
  639. package/Source/Scene/Model/ModelStatistics.js +7 -7
  640. package/Source/Scene/Model/ModelType.js +8 -8
  641. package/Source/Scene/Model/ModelUtility.js +10 -10
  642. package/Source/Scene/Model/NodeRenderResources.js +7 -7
  643. package/Source/Scene/Model/PntsLoader.js +6 -6
  644. package/Source/Scene/Model/PointCloudStylingPipelineStage.js +1 -1
  645. package/Source/Scene/Model/PrimitiveOutlineGenerator.js +28 -28
  646. package/Source/Scene/Model/PrimitiveRenderResources.js +10 -10
  647. package/Source/Scene/Model/StyleCommandsNeeded.js +1 -1
  648. package/Source/Scene/Model/TextureManager.js +3 -3
  649. package/Source/Scene/Model/TextureUniform.js +6 -6
  650. package/Source/Scene/Model/UniformType.js +17 -17
  651. package/Source/Scene/Model/VaryingType.js +8 -8
  652. package/Source/Scene/ModelAnimationLoop.js +4 -4
  653. package/Source/Scene/ModelComponents.js +61 -61
  654. package/Source/Scene/Moon.js +8 -8
  655. package/Source/Scene/Multiple3DTileContent.js +14 -14
  656. package/Source/Scene/NeverTileDiscardPolicy.js +2 -2
  657. package/Source/Scene/OIT.js +9 -9
  658. package/Source/Scene/OctahedralProjectedCubeMap.js +28 -39
  659. package/Source/Scene/OpenStreetMapImageryProvider.js +6 -6
  660. package/Source/Scene/OrderedGroundPrimitiveCollection.js +9 -9
  661. package/Source/Scene/Particle.js +13 -13
  662. package/Source/Scene/ParticleBurst.js +8 -8
  663. package/Source/Scene/ParticleSystem.js +41 -36
  664. package/Source/Scene/PerInstanceColorAppearance.js +18 -18
  665. package/Source/Scene/PerformanceDisplay.js +2 -2
  666. package/Source/Scene/PntsParser.js +1 -1
  667. package/Source/Scene/PointCloudEyeDomeLighting.js +1 -1
  668. package/Source/Scene/PointCloudShading.js +20 -20
  669. package/Source/Scene/PointPrimitive.js +6 -6
  670. package/Source/Scene/PointPrimitiveCollection.js +11 -11
  671. package/Source/Scene/Polyline.js +9 -9
  672. package/Source/Scene/PolylineCollection.js +11 -11
  673. package/Source/Scene/PolylineColorAppearance.js +13 -13
  674. package/Source/Scene/PolylineMaterialAppearance.js +13 -13
  675. package/Source/Scene/PostProcessStage.js +15 -15
  676. package/Source/Scene/PostProcessStageCollection.js +10 -10
  677. package/Source/Scene/PostProcessStageComposite.js +13 -13
  678. package/Source/Scene/PostProcessStageLibrary.js +8 -8
  679. package/Source/Scene/PostProcessStageSampleMode.js +3 -3
  680. package/Source/Scene/PostProcessStageTextureCache.js +4 -4
  681. package/Source/Scene/Primitive.js +30 -30
  682. package/Source/Scene/PrimitiveCollection.js +20 -20
  683. package/Source/Scene/PrimitiveLoadPlan.js +6 -6
  684. package/Source/Scene/PropertyAttribute.js +9 -9
  685. package/Source/Scene/PropertyAttributeProperty.js +6 -6
  686. package/Source/Scene/PropertyTable.js +34 -34
  687. package/Source/Scene/PropertyTexture.js +9 -9
  688. package/Source/Scene/PropertyTextureProperty.js +8 -8
  689. package/Source/Scene/QuadtreePrimitive.js +9 -9
  690. package/Source/Scene/QuadtreeTile.js +11 -11
  691. package/Source/Scene/QuadtreeTileLoadState.js +1 -1
  692. package/Source/Scene/QuadtreeTileProvider.js +6 -6
  693. package/Source/Scene/ResourceCache.js +39 -39
  694. package/Source/Scene/ResourceCacheKey.js +42 -42
  695. package/Source/Scene/ResourceCacheStatistics.js +2 -2
  696. package/Source/Scene/ResourceLoader.js +5 -5
  697. package/Source/Scene/ResourceLoaderState.js +5 -5
  698. package/Source/Scene/SDFSettings.js +4 -4
  699. package/Source/Scene/Scene.js +88 -88
  700. package/Source/Scene/SceneMode.js +6 -6
  701. package/Source/Scene/SceneTransitioner.js +1 -1
  702. package/Source/Scene/ScreenSpaceCameraController.js +40 -22
  703. package/Source/Scene/ShadowMap.js +22 -22
  704. package/Source/Scene/ShadowMapShader.js +1 -1
  705. package/Source/Scene/ShadowMode.js +5 -5
  706. package/Source/Scene/ShadowVolumeAppearance.js +17 -17
  707. package/Source/Scene/SingleTileImageryProvider.js +31 -31
  708. package/Source/Scene/SkyAtmosphere.js +10 -10
  709. package/Source/Scene/SkyBox.js +6 -6
  710. package/Source/Scene/SpatialNode.js +103 -87
  711. package/Source/Scene/SphereEmitter.js +2 -2
  712. package/Source/Scene/SplitDirection.js +4 -4
  713. package/Source/Scene/Splitter.js +2 -2
  714. package/Source/Scene/StencilFunction.js +9 -9
  715. package/Source/Scene/StencilOperation.js +9 -9
  716. package/Source/Scene/StructuralMetadata.js +11 -11
  717. package/Source/Scene/StyleExpression.js +8 -8
  718. package/Source/Scene/Sun.js +3 -3
  719. package/Source/Scene/SunLight.js +3 -3
  720. package/Source/Scene/SupportedImageFormats.js +3 -3
  721. package/Source/Scene/TextureAtlas.js +16 -16
  722. package/Source/Scene/TileBoundingRegion.js +6 -6
  723. package/Source/Scene/TileBoundingS2Cell.js +6 -6
  724. package/Source/Scene/TileBoundingSphere.js +5 -5
  725. package/Source/Scene/TileBoundingVolume.js +2 -2
  726. package/Source/Scene/TileCoordinatesImageryProvider.js +30 -30
  727. package/Source/Scene/TileDiscardPolicy.js +2 -2
  728. package/Source/Scene/TileImagery.js +3 -3
  729. package/Source/Scene/TileMapServiceImageryProvider.js +9 -9
  730. package/Source/Scene/TileMetadata.js +16 -16
  731. package/Source/Scene/TileOrientedBoundingBox.js +2 -2
  732. package/Source/Scene/TileReplacementQueue.js +1 -1
  733. package/Source/Scene/TileSelectionResult.js +1 -1
  734. package/Source/Scene/TilesetMetadata.js +15 -15
  735. package/Source/Scene/TimeDynamicImagery.js +8 -8
  736. package/Source/Scene/TimeDynamicPointCloud.js +9 -9
  737. package/Source/Scene/Tonemapper.js +5 -5
  738. package/Source/Scene/TranslucentTileClassification.js +1 -1
  739. package/Source/Scene/TweenCollection.js +31 -31
  740. package/Source/Scene/UrlTemplateImageryProvider.js +47 -47
  741. package/Source/Scene/Vector3DTileBatch.js +7 -7
  742. package/Source/Scene/Vector3DTileClampedPolylines.js +9 -9
  743. package/Source/Scene/Vector3DTileGeometry.js +8 -8
  744. package/Source/Scene/Vector3DTilePoints.js +7 -7
  745. package/Source/Scene/Vector3DTilePolygons.js +10 -10
  746. package/Source/Scene/Vector3DTilePolylines.js +9 -9
  747. package/Source/Scene/Vector3DTilePrimitive.js +8 -8
  748. package/Source/Scene/VertexAttributeSemantic.js +15 -15
  749. package/Source/Scene/VerticalOrigin.js +5 -5
  750. package/Source/Scene/ViewportQuad.js +2 -2
  751. package/Source/Scene/VoxelBoxShape.js +27 -118
  752. package/Source/Scene/VoxelContent.js +3 -3
  753. package/Source/Scene/VoxelCylinderShape.js +21 -21
  754. package/Source/Scene/VoxelEllipsoidShape.js +13 -13
  755. package/Source/Scene/VoxelPrimitive.js +44 -44
  756. package/Source/Scene/VoxelProvider.js +13 -13
  757. package/Source/Scene/VoxelRenderResources.js +6 -3
  758. package/Source/Scene/VoxelShape.js +9 -9
  759. package/Source/Scene/VoxelShapeType.js +4 -4
  760. package/Source/Scene/VoxelTraversal.js +86 -144
  761. package/Source/Scene/WebMapServiceImageryProvider.js +49 -49
  762. package/Source/Scene/WebMapTileServiceImageryProvider.js +43 -43
  763. package/Source/Scene/buildVoxelDrawCommands.js +1 -0
  764. package/Source/Scene/createBillboardPointCallback.js +5 -5
  765. package/Source/Scene/createElevationBandMaterial.js +5 -5
  766. package/Source/Scene/createOsmBuildings.js +3 -3
  767. package/Source/Scene/createTangentSpaceDebugPrimitive.js +2 -2
  768. package/Source/Scene/createWorldImagery.js +1 -1
  769. package/Source/Scene/findContentMetadata.js +1 -1
  770. package/Source/Scene/findGroupMetadata.js +1 -1
  771. package/Source/Scene/findTileMetadata.js +1 -1
  772. package/Source/Scene/getClipAndStyleCode.js +4 -4
  773. package/Source/Scene/getClippingFunction.js +1 -1
  774. package/Source/Scene/hasExtension.js +3 -3
  775. package/Source/Scene/parseBatchTable.js +14 -14
  776. package/Source/Scene/parseBoundingVolumeSemantics.js +7 -7
  777. package/Source/Scene/parseFeatureMetadataLegacy.js +4 -4
  778. package/Source/Scene/parseStructuralMetadata.js +4 -4
  779. package/Source/Scene/preprocess3DTileContent.js +2 -2
  780. package/Source/Scene/processVoxelProperties.js +8 -7
  781. package/Source/Shaders/Voxels/IntersectBox.glsl +52 -58
  782. package/Source/Shaders/Voxels/IntersectBox.js +52 -58
  783. package/Source/Shaders/Voxels/IntersectClippingPlanes.glsl +38 -30
  784. package/Source/Shaders/Voxels/IntersectClippingPlanes.js +38 -30
  785. package/Source/Shaders/Voxels/IntersectDepth.glsl +1 -1
  786. package/Source/Shaders/Voxels/IntersectDepth.js +1 -1
  787. package/Source/Shaders/Voxels/Intersection.glsl +10 -12
  788. package/Source/Shaders/Voxels/Intersection.js +10 -12
  789. package/Source/Shaders/Voxels/IntersectionUtils.glsl +52 -59
  790. package/Source/Shaders/Voxels/IntersectionUtils.js +52 -59
  791. package/Source/Shaders/Voxels/Octree.glsl +72 -73
  792. package/Source/Shaders/Voxels/Octree.js +72 -73
  793. package/Source/Shaders/Voxels/VoxelFS.glsl +42 -22
  794. package/Source/Shaders/Voxels/VoxelFS.js +42 -22
  795. package/Source/Shaders/Voxels/convertUvToBox.glsl +13 -5
  796. package/Source/Shaders/Voxels/convertUvToBox.js +13 -5
  797. package/Source/ThirdParty/Workers/draco_decoder_nodejs.js +91 -91
  798. package/Source/ThirdParty/draco_decoder.wasm +0 -0
  799. package/Source/Widget/CesiumWidget.js +23 -23
  800. package/Source/Workers/cesiumWorkerBootstrapper.js +18 -18
  801. package/Source/WorkersES6/createTaskProcessorWorker.js +3 -3
  802. package/index.d.ts +14 -37
  803. package/index.js +52 -54
  804. package/package.json +1 -1
  805. package/Source/Core/cancelAnimationFrame.js +0 -53
  806. package/Source/Core/requestAnimationFrame.js +0 -83
  807. /package/Build/Workers/{GeometryOffsetAttribute-04332ce7.js → GeometryOffsetAttribute-9ad0019c.js} +0 -0
@@ -1,7 +1,6 @@
1
- define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b93', './Matrix2-13178034', './combine-ca22a614', './RuntimeError-06c93819'], (function (require, exports, Matrix3, Check, defaultValue, Math$1, Matrix2, combine, RuntimeError) { 'use strict';
1
+ define(['require', 'exports', './Matrix3-fa806b97', './Check-6ede7e26', './defaultValue-fe22d8c0', './Math-dad82b4d', './Matrix2-1e403d0e', './combine-d9581036', './RuntimeError-ef395448'], (function (require, exports, Matrix3, Check, defaultValue, Math$1, Matrix2, combine, RuntimeError) { 'use strict';
2
2
 
3
- function _interopNamespace(e) {
4
- if (e && e.__esModule) return e;
3
+ function _interopNamespaceDefault(e) {
5
4
  var n = Object.create(null);
6
5
  if (e) {
7
6
  Object.keys(e).forEach(function (k) {
@@ -14,7 +13,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
14
13
  }
15
14
  });
16
15
  }
17
- n["default"] = e;
16
+ n.default = e;
18
17
  return Object.freeze(n);
19
18
  }
20
19
 
@@ -124,13 +123,13 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
124
123
  * partially inside the frustum and partially outside (INTERSECTING), or somewhere entirely
125
124
  * outside of the frustum's 6 planes (OUTSIDE).
126
125
  *
127
- * @enum {Number}
126
+ * @enum {number}
128
127
  */
129
128
  const Intersect = {
130
129
  /**
131
130
  * Represents that an object is not contained within the frustum.
132
131
  *
133
- * @type {Number}
132
+ * @type {number}
134
133
  * @constant
135
134
  */
136
135
  OUTSIDE: -1,
@@ -138,7 +137,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
138
137
  /**
139
138
  * Represents that an object intersects one of the frustum's planes.
140
139
  *
141
- * @type {Number}
140
+ * @type {number}
142
141
  * @constant
143
142
  */
144
143
  INTERSECTING: 0,
@@ -146,7 +145,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
146
145
  /**
147
146
  * Represents that an object is fully within the frustum.
148
147
  *
149
- * @type {Number}
148
+ * @type {number}
150
149
  * @constant
151
150
  */
152
151
  INSIDE: 1,
@@ -158,19 +157,19 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
158
157
  * @alias Interval
159
158
  * @constructor
160
159
  *
161
- * @param {Number} [start=0.0] The beginning of the interval.
162
- * @param {Number} [stop=0.0] The end of the interval.
160
+ * @param {number} [start=0.0] The beginning of the interval.
161
+ * @param {number} [stop=0.0] The end of the interval.
163
162
  */
164
163
  function Interval(start, stop) {
165
164
  /**
166
165
  * The beginning of the interval.
167
- * @type {Number}
166
+ * @type {number}
168
167
  * @default 0.0
169
168
  */
170
169
  this.start = defaultValue.defaultValue(start, 0.0);
171
170
  /**
172
171
  * The end of the interval.
173
- * @type {Number}
172
+ * @type {number}
174
173
  * @default 0.0
175
174
  */
176
175
  this.stop = defaultValue.defaultValue(stop, 0.0);
@@ -182,7 +181,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
182
181
  * @constructor
183
182
  *
184
183
  * @param {Cartesian3} [center=Cartesian3.ZERO] The center of the bounding sphere.
185
- * @param {Number} [radius=0.0] The radius of the bounding sphere.
184
+ * @param {number} [radius=0.0] The radius of the bounding sphere.
186
185
  *
187
186
  * @see AxisAlignedBoundingBox
188
187
  * @see BoundingRectangle
@@ -198,7 +197,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
198
197
 
199
198
  /**
200
199
  * The radius of the sphere.
201
- * @type {Number}
200
+ * @type {number}
202
201
  * @default 0.0
203
202
  */
204
203
  this.radius = defaultValue.defaultValue(radius, 0.0);
@@ -397,7 +396,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
397
396
  * Computes a bounding sphere from a rectangle projected in 2D.
398
397
  *
399
398
  * @param {Rectangle} [rectangle] The rectangle around which to create a bounding sphere.
400
- * @param {Object} [projection=GeographicProjection] The projection used to project the rectangle into 2D.
399
+ * @param {object} [projection=GeographicProjection] The projection used to project the rectangle into 2D.
401
400
  * @param {BoundingSphere} [result] The object onto which to store the result.
402
401
  * @returns {BoundingSphere} The modified result parameter or a new BoundingSphere instance if none was provided.
403
402
  */
@@ -416,9 +415,9 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
416
415
  * object's minimum and maximum heights over the rectangle.
417
416
  *
418
417
  * @param {Rectangle} [rectangle] The rectangle around which to create a bounding sphere.
419
- * @param {Object} [projection=GeographicProjection] The projection used to project the rectangle into 2D.
420
- * @param {Number} [minimumHeight=0.0] The minimum height over the rectangle.
421
- * @param {Number} [maximumHeight=0.0] The maximum height over the rectangle.
418
+ * @param {object} [projection=GeographicProjection] The projection used to project the rectangle into 2D.
419
+ * @param {number} [minimumHeight=0.0] The minimum height over the rectangle.
420
+ * @param {number} [maximumHeight=0.0] The maximum height over the rectangle.
422
421
  * @param {BoundingSphere} [result] The object onto which to store the result.
423
422
  * @returns {BoundingSphere} The modified result parameter or a new BoundingSphere instance if none was provided.
424
423
  */
@@ -476,7 +475,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
476
475
  *
477
476
  * @param {Rectangle} [rectangle] The valid rectangle used to create a bounding sphere.
478
477
  * @param {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid used to determine positions of the rectangle.
479
- * @param {Number} [surfaceHeight=0.0] The height above the surface of the ellipsoid.
478
+ * @param {number} [surfaceHeight=0.0] The height above the surface of the ellipsoid.
480
479
  * @param {BoundingSphere} [result] The object onto which to store the result.
481
480
  * @returns {BoundingSphere} The modified result parameter or a new BoundingSphere instance if none was provided.
482
481
  */
@@ -514,12 +513,12 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
514
513
  * algorithms, a naive algorithm and Ritter's algorithm. The smaller of the two spheres is used to
515
514
  * ensure a tight fit.
516
515
  *
517
- * @param {Number[]} [positions] An array of points that the bounding sphere will enclose. Each point
516
+ * @param {number[]} [positions] An array of points that the bounding sphere will enclose. Each point
518
517
  * is formed from three elements in the array in the order X, Y, Z.
519
518
  * @param {Cartesian3} [center=Cartesian3.ZERO] The position to which the positions are relative, which need not be the
520
519
  * origin of the coordinate system. This is useful when the positions are to be used for
521
520
  * relative-to-center (RTC) rendering.
522
- * @param {Number} [stride=3] The number of array elements per vertex. It must be at least 3, but it may
521
+ * @param {number} [stride=3] The number of array elements per vertex. It must be at least 3, but it may
523
522
  * be higher. Regardless of the value of this parameter, the X coordinate of the first position
524
523
  * is at array index 0, the Y coordinate is at array index 1, and the Z coordinate is at array index
525
524
  * 2. When stride is 3, the X coordinate of the next position then begins at array index 3. If
@@ -719,9 +718,9 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
719
718
  * algorithms, a naive algorithm and Ritter's algorithm. The smaller of the two spheres is used to
720
719
  * ensure a tight fit.
721
720
  *
722
- * @param {Number[]} [positionsHigh] An array of high bits of the encoded cartesians that the bounding sphere will enclose. Each point
721
+ * @param {number[]} [positionsHigh] An array of high bits of the encoded cartesians that the bounding sphere will enclose. Each point
723
722
  * is formed from three elements in the array in the order X, Y, Z.
724
- * @param {Number[]} [positionsLow] An array of low bits of the encoded cartesians that the bounding sphere will enclose. Each point
723
+ * @param {number[]} [positionsLow] An array of low bits of the encoded cartesians that the bounding sphere will enclose. Each point
725
724
  * is formed from three elements in the array in the order X, Y, Z.
726
725
  * @param {BoundingSphere} [result] The object onto which to store the result.
727
726
  * @returns {BoundingSphere} The modified result parameter or a new BoundingSphere instance if one was not provided.
@@ -1100,7 +1099,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
1100
1099
 
1101
1100
  /**
1102
1101
  * The number of elements used to pack the object into an array.
1103
- * @type {Number}
1102
+ * @type {number}
1104
1103
  */
1105
1104
  BoundingSphere.packedLength = 4;
1106
1105
 
@@ -1108,10 +1107,10 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
1108
1107
  * Stores the provided instance into the provided array.
1109
1108
  *
1110
1109
  * @param {BoundingSphere} value The value to pack.
1111
- * @param {Number[]} array The array to pack into.
1112
- * @param {Number} [startingIndex=0] The index into the array at which to start packing the elements.
1110
+ * @param {number[]} array The array to pack into.
1111
+ * @param {number} [startingIndex=0] The index into the array at which to start packing the elements.
1113
1112
  *
1114
- * @returns {Number[]} The array that was packed into
1113
+ * @returns {number[]} The array that was packed into
1115
1114
  */
1116
1115
  BoundingSphere.pack = function (value, array, startingIndex) {
1117
1116
  //>>includeStart('debug', pragmas.debug);
@@ -1133,8 +1132,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
1133
1132
  /**
1134
1133
  * Retrieves an instance from a packed array.
1135
1134
  *
1136
- * @param {Number[]} array The packed array.
1137
- * @param {Number} [startingIndex=0] The starting index of the element to be unpacked.
1135
+ * @param {number[]} array The packed array.
1136
+ * @param {number} [startingIndex=0] The starting index of the element to be unpacked.
1138
1137
  * @param {BoundingSphere} [result] The object into which to store the result.
1139
1138
  * @returns {BoundingSphere} The modified result parameter or a new BoundingSphere instance if one was not provided.
1140
1139
  */
@@ -1311,7 +1310,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
1311
1310
  *
1312
1311
  * @param {BoundingSphere} sphere The sphere.
1313
1312
  * @param {Cartesian3} cartesian The point
1314
- * @returns {Number} The distance squared from the bounding sphere to the point. Returns 0 if the point is inside the sphere.
1313
+ * @returns {number} The distance squared from the bounding sphere to the point. Returns 0 if the point is inside the sphere.
1315
1314
  *
1316
1315
  * @example
1317
1316
  * // Sort bounding spheres from back to front
@@ -1432,7 +1431,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
1432
1431
  * Creates a bounding sphere in 2D from a bounding sphere in 3D world coordinates.
1433
1432
  *
1434
1433
  * @param {BoundingSphere} sphere The bounding sphere to transform to 2D.
1435
- * @param {Object} [projection=GeographicProjection] The projection to 2D.
1434
+ * @param {object} [projection=GeographicProjection] The projection to 2D.
1436
1435
  * @param {BoundingSphere} [result] The object onto which to store the result.
1437
1436
  * @returns {BoundingSphere} The modified result parameter or a new BoundingSphere instance if none was provided.
1438
1437
  */
@@ -1545,7 +1544,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
1545
1544
  *
1546
1545
  * @param {BoundingSphere} sphere The bounding sphere surrounding the occludee object.
1547
1546
  * @param {Occluder} occluder The occluder.
1548
- * @returns {Boolean} <code>true</code> if the sphere is not visible; otherwise <code>false</code>.
1547
+ * @returns {boolean} <code>true</code> if the sphere is not visible; otherwise <code>false</code>.
1549
1548
  */
1550
1549
  BoundingSphere.isOccluded = function (sphere, occluder) {
1551
1550
  //>>includeStart('debug', pragmas.debug);
@@ -1561,7 +1560,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
1561
1560
  *
1562
1561
  * @param {BoundingSphere} [left] The first BoundingSphere.
1563
1562
  * @param {BoundingSphere} [right] The second BoundingSphere.
1564
- * @returns {Boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
1563
+ * @returns {boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
1565
1564
  */
1566
1565
  BoundingSphere.equals = function (left, right) {
1567
1566
  return (
@@ -1590,7 +1589,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
1590
1589
  * Computes the estimated distance squared from the closest point on a bounding sphere to a point.
1591
1590
  *
1592
1591
  * @param {Cartesian3} cartesian The point
1593
- * @returns {Number} The estimated distance squared from the bounding sphere to the point.
1592
+ * @returns {number} The estimated distance squared from the bounding sphere to the point.
1594
1593
  *
1595
1594
  * @example
1596
1595
  * // Sort bounding spheres from back to front
@@ -1631,7 +1630,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
1631
1630
  * Determines whether or not a sphere is hidden from view by the occluder.
1632
1631
  *
1633
1632
  * @param {Occluder} occluder The occluder.
1634
- * @returns {Boolean} <code>true</code> if the sphere is not visible; otherwise <code>false</code>.
1633
+ * @returns {boolean} <code>true</code> if the sphere is not visible; otherwise <code>false</code>.
1635
1634
  */
1636
1635
  BoundingSphere.prototype.isOccluded = function (occluder) {
1637
1636
  return BoundingSphere.isOccluded(this, occluder);
@@ -1642,7 +1641,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
1642
1641
  * <code>true</code> if they are equal, <code>false</code> otherwise.
1643
1642
  *
1644
1643
  * @param {BoundingSphere} [right] The right hand side BoundingSphere.
1645
- * @returns {Boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
1644
+ * @returns {boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
1646
1645
  */
1647
1646
  BoundingSphere.prototype.equals = function (right) {
1648
1647
  return BoundingSphere.equals(this, right);
@@ -1660,7 +1659,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
1660
1659
 
1661
1660
  /**
1662
1661
  * Computes the radius of the BoundingSphere.
1663
- * @returns {Number} The radius of the BoundingSphere.
1662
+ * @returns {number} The radius of the BoundingSphere.
1664
1663
  */
1665
1664
  BoundingSphere.prototype.volume = function () {
1666
1665
  const radius = this.radius;
@@ -1691,7 +1690,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
1691
1690
  * The element that is currently fullscreen, if any. To simply check if the
1692
1691
  * browser is in fullscreen mode or not, use {@link Fullscreen#fullscreen}.
1693
1692
  * @memberof Fullscreen
1694
- * @type {Object}
1693
+ * @type {object}
1695
1694
  * @readonly
1696
1695
  */
1697
1696
  element: {
@@ -1710,7 +1709,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
1710
1709
  * In your event handler, to determine if the browser is in fullscreen mode or not,
1711
1710
  * use {@link Fullscreen#fullscreen}.
1712
1711
  * @memberof Fullscreen
1713
- * @type {String}
1712
+ * @type {string}
1714
1713
  * @readonly
1715
1714
  */
1716
1715
  changeEventName: {
@@ -1727,7 +1726,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
1727
1726
  * The name of the event that is fired when a fullscreen error
1728
1727
  * occurs. This event name is intended for use with addEventListener.
1729
1728
  * @memberof Fullscreen
1730
- * @type {String}
1729
+ * @type {string}
1731
1730
  * @readonly
1732
1731
  */
1733
1732
  errorEventName: {
@@ -1745,7 +1744,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
1745
1744
  * For example, by default, iframes cannot go fullscreen unless the containing page
1746
1745
  * adds an "allowfullscreen" attribute (or prefixed equivalent).
1747
1746
  * @memberof Fullscreen
1748
- * @type {Boolean}
1747
+ * @type {boolean}
1749
1748
  * @readonly
1750
1749
  */
1751
1750
  enabled: {
@@ -1761,7 +1760,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
1761
1760
  /**
1762
1761
  * Determines if the browser is currently in fullscreen mode.
1763
1762
  * @memberof Fullscreen
1764
- * @type {Boolean}
1763
+ * @type {boolean}
1765
1764
  * @readonly
1766
1765
  */
1767
1766
  fullscreen: {
@@ -1778,7 +1777,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
1778
1777
  /**
1779
1778
  * Detects whether the browser supports the standard fullscreen API.
1780
1779
  *
1781
- * @returns {Boolean} <code>true</code> if the browser supports the standard fullscreen API,
1780
+ * @returns {boolean} <code>true</code> if the browser supports the standard fullscreen API,
1782
1781
  * <code>false</code> otherwise.
1783
1782
  */
1784
1783
  Fullscreen.supportsFullscreen = function () {
@@ -1881,8 +1880,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
1881
1880
  * Asynchronously requests the browser to enter fullscreen mode on the given element.
1882
1881
  * If fullscreen mode is not supported by the browser, does nothing.
1883
1882
  *
1884
- * @param {Object} element The HTML element which will be placed into fullscreen mode.
1885
- * @param {Object} [vrDevice] The HMDVRDevice device.
1883
+ * @param {object} element The HTML element which will be placed into fullscreen mode.
1884
+ * @param {object} [vrDevice] The HMDVRDevice device.
1886
1885
  *
1887
1886
  * @example
1888
1887
  * // Put the entire page into fullscreen.
@@ -2237,7 +2236,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2237
2236
  * Detects whether the current browser supports Basis Universal textures and the web assembly modules needed to transcode them.
2238
2237
  *
2239
2238
  * @param {Scene} scene
2240
- * @returns {Boolean} true if the browser supports web assembly modules and the scene supports Basis Universal textures, false if not.
2239
+ * @returns {boolean} true if the browser supports web assembly modules and the scene supports Basis Universal textures, false if not.
2241
2240
  */
2242
2241
  FeatureDetection.supportsBasis = function (scene) {
2243
2242
  return FeatureDetection.supportsWebAssembly() && scene.context.supportsBasis;
@@ -2246,7 +2245,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2246
2245
  /**
2247
2246
  * Detects whether the current browser supports the full screen standard.
2248
2247
  *
2249
- * @returns {Boolean} true if the browser supports the full screen standard, false if not.
2248
+ * @returns {boolean} true if the browser supports the full screen standard, false if not.
2250
2249
  *
2251
2250
  * @see Fullscreen
2252
2251
  * @see {@link http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html|W3C Fullscreen Living Specification}
@@ -2258,7 +2257,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2258
2257
  /**
2259
2258
  * Detects whether the current browser supports typed arrays.
2260
2259
  *
2261
- * @returns {Boolean} true if the browser supports typed arrays, false if not.
2260
+ * @returns {boolean} true if the browser supports typed arrays, false if not.
2262
2261
  *
2263
2262
  * @see {@link https://tc39.es/ecma262/#sec-typedarray-objects|Typed Array Specification}
2264
2263
  */
@@ -2269,7 +2268,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2269
2268
  /**
2270
2269
  * Detects whether the current browser supports BigInt64Array typed arrays.
2271
2270
  *
2272
- * @returns {Boolean} true if the browser supports BigInt64Array typed arrays, false if not.
2271
+ * @returns {boolean} true if the browser supports BigInt64Array typed arrays, false if not.
2273
2272
  *
2274
2273
  * @see {@link https://tc39.es/ecma262/#sec-typedarray-objects|Typed Array Specification}
2275
2274
  */
@@ -2280,7 +2279,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2280
2279
  /**
2281
2280
  * Detects whether the current browser supports BigUint64Array typed arrays.
2282
2281
  *
2283
- * @returns {Boolean} true if the browser supports BigUint64Array typed arrays, false if not.
2282
+ * @returns {boolean} true if the browser supports BigUint64Array typed arrays, false if not.
2284
2283
  *
2285
2284
  * @see {@link https://tc39.es/ecma262/#sec-typedarray-objects|Typed Array Specification}
2286
2285
  */
@@ -2291,7 +2290,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2291
2290
  /**
2292
2291
  * Detects whether the current browser supports BigInt.
2293
2292
  *
2294
- * @returns {Boolean} true if the browser supports BigInt, false if not.
2293
+ * @returns {boolean} true if the browser supports BigInt, false if not.
2295
2294
  *
2296
2295
  * @see {@link https://tc39.es/ecma262/#sec-bigint-objects|BigInt Specification}
2297
2296
  */
@@ -2302,7 +2301,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2302
2301
  /**
2303
2302
  * Detects whether the current browser supports Web Workers.
2304
2303
  *
2305
- * @returns {Boolean} true if the browsers supports Web Workers, false if not.
2304
+ * @returns {boolean} true if the browsers supports Web Workers, false if not.
2306
2305
  *
2307
2306
  * @see {@link http://www.w3.org/TR/workers/}
2308
2307
  */
@@ -2313,7 +2312,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2313
2312
  /**
2314
2313
  * Detects whether the current browser supports Web Assembly.
2315
2314
  *
2316
- * @returns {Boolean} true if the browsers supports Web Assembly, false if not.
2315
+ * @returns {boolean} true if the browsers supports Web Assembly, false if not.
2317
2316
  *
2318
2317
  * @see {@link https://developer.mozilla.org/en-US/docs/WebAssembly}
2319
2318
  */
@@ -2325,7 +2324,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2325
2324
  * Detects whether the current browser supports a WebGL2 rendering context for the specified scene.
2326
2325
  *
2327
2326
  * @param {Scene} scene the Cesium scene specifying the rendering context
2328
- * @returns {Boolean} true if the browser supports a WebGL2 rendering context, false if not.
2327
+ * @returns {boolean} true if the browser supports a WebGL2 rendering context, false if not.
2329
2328
  *
2330
2329
  * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext|WebGL2RenderingContext}
2331
2330
  */
@@ -2344,38 +2343,38 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2344
2343
  * @alias Quaternion
2345
2344
  * @constructor
2346
2345
  *
2347
- * @param {Number} [x=0.0] The X component.
2348
- * @param {Number} [y=0.0] The Y component.
2349
- * @param {Number} [z=0.0] The Z component.
2350
- * @param {Number} [w=0.0] The W component.
2346
+ * @param {number} [x=0.0] The X component.
2347
+ * @param {number} [y=0.0] The Y component.
2348
+ * @param {number} [z=0.0] The Z component.
2349
+ * @param {number} [w=0.0] The W component.
2351
2350
  *
2352
2351
  * @see PackableForInterpolation
2353
2352
  */
2354
2353
  function Quaternion(x, y, z, w) {
2355
2354
  /**
2356
2355
  * The X component.
2357
- * @type {Number}
2356
+ * @type {number}
2358
2357
  * @default 0.0
2359
2358
  */
2360
2359
  this.x = defaultValue.defaultValue(x, 0.0);
2361
2360
 
2362
2361
  /**
2363
2362
  * The Y component.
2364
- * @type {Number}
2363
+ * @type {number}
2365
2364
  * @default 0.0
2366
2365
  */
2367
2366
  this.y = defaultValue.defaultValue(y, 0.0);
2368
2367
 
2369
2368
  /**
2370
2369
  * The Z component.
2371
- * @type {Number}
2370
+ * @type {number}
2372
2371
  * @default 0.0
2373
2372
  */
2374
2373
  this.z = defaultValue.defaultValue(z, 0.0);
2375
2374
 
2376
2375
  /**
2377
2376
  * The W component.
2378
- * @type {Number}
2377
+ * @type {number}
2379
2378
  * @default 0.0
2380
2379
  */
2381
2380
  this.w = defaultValue.defaultValue(w, 0.0);
@@ -2387,7 +2386,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2387
2386
  * Computes a quaternion representing a rotation around an axis.
2388
2387
  *
2389
2388
  * @param {Cartesian3} axis The axis of rotation.
2390
- * @param {Number} angle The angle in radians to rotate around the axis.
2389
+ * @param {number} angle The angle in radians to rotate around the axis.
2391
2390
  * @param {Quaternion} [result] The object onto which to store the result.
2392
2391
  * @returns {Quaternion} The modified result parameter or a new Quaternion instance if one was not provided.
2393
2392
  */
@@ -2553,7 +2552,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2553
2552
 
2554
2553
  /**
2555
2554
  * The number of elements used to pack the object into an array.
2556
- * @type {Number}
2555
+ * @type {number}
2557
2556
  */
2558
2557
  Quaternion.packedLength = 4;
2559
2558
 
@@ -2561,10 +2560,10 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2561
2560
  * Stores the provided instance into the provided array.
2562
2561
  *
2563
2562
  * @param {Quaternion} value The value to pack.
2564
- * @param {Number[]} array The array to pack into.
2565
- * @param {Number} [startingIndex=0] The index into the array at which to start packing the elements.
2563
+ * @param {number[]} array The array to pack into.
2564
+ * @param {number} [startingIndex=0] The index into the array at which to start packing the elements.
2566
2565
  *
2567
- * @returns {Number[]} The array that was packed into
2566
+ * @returns {number[]} The array that was packed into
2568
2567
  */
2569
2568
  Quaternion.pack = function (value, array, startingIndex) {
2570
2569
  //>>includeStart('debug', pragmas.debug);
@@ -2585,8 +2584,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2585
2584
  /**
2586
2585
  * Retrieves an instance from a packed array.
2587
2586
  *
2588
- * @param {Number[]} array The packed array.
2589
- * @param {Number} [startingIndex=0] The starting index of the element to be unpacked.
2587
+ * @param {number[]} array The packed array.
2588
+ * @param {number} [startingIndex=0] The starting index of the element to be unpacked.
2590
2589
  * @param {Quaternion} [result] The object into which to store the result.
2591
2590
  * @returns {Quaternion} The modified result parameter or a new Quaternion instance if one was not provided.
2592
2591
  */
@@ -2609,17 +2608,17 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2609
2608
 
2610
2609
  /**
2611
2610
  * The number of elements used to store the object into an array in its interpolatable form.
2612
- * @type {Number}
2611
+ * @type {number}
2613
2612
  */
2614
2613
  Quaternion.packedInterpolationLength = 3;
2615
2614
 
2616
2615
  /**
2617
2616
  * Converts a packed array into a form suitable for interpolation.
2618
2617
  *
2619
- * @param {Number[]} packedArray The packed array.
2620
- * @param {Number} [startingIndex=0] The index of the first element to be converted.
2621
- * @param {Number} [lastIndex=packedArray.length] The index of the last element to be converted.
2622
- * @param {Number[]} [result] The object into which to store the result.
2618
+ * @param {number[]} packedArray The packed array.
2619
+ * @param {number} [startingIndex=0] The index of the first element to be converted.
2620
+ * @param {number} [lastIndex=packedArray.length] The index of the last element to be converted.
2621
+ * @param {number[]} [result] The object into which to store the result.
2623
2622
  */
2624
2623
  Quaternion.convertPackedArrayForInterpolation = function (
2625
2624
  packedArray,
@@ -2675,10 +2674,10 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2675
2674
  /**
2676
2675
  * Retrieves an instance from a packed array converted with {@link convertPackedArrayForInterpolation}.
2677
2676
  *
2678
- * @param {Number[]} array The array previously packed for interpolation.
2679
- * @param {Number[]} sourceArray The original packed array.
2680
- * @param {Number} [firstIndex=0] The firstIndex used to convert the array.
2681
- * @param {Number} [lastIndex=packedArray.length] The lastIndex used to convert the array.
2677
+ * @param {number[]} array The array previously packed for interpolation.
2678
+ * @param {number[]} sourceArray The original packed array.
2679
+ * @param {number} [firstIndex=0] The firstIndex used to convert the array.
2680
+ * @param {number} [lastIndex=packedArray.length] The lastIndex used to convert the array.
2682
2681
  * @param {Quaternion} [result] The object into which to store the result.
2683
2682
  * @returns {Quaternion} The modified result parameter or a new Quaternion instance if one was not provided.
2684
2683
  */
@@ -2766,7 +2765,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2766
2765
  * Computes magnitude squared for the provided quaternion.
2767
2766
  *
2768
2767
  * @param {Quaternion} quaternion The quaternion to conjugate.
2769
- * @returns {Number} The magnitude squared.
2768
+ * @returns {number} The magnitude squared.
2770
2769
  */
2771
2770
  Quaternion.magnitudeSquared = function (quaternion) {
2772
2771
  //>>includeStart('debug', pragmas.debug);
@@ -2785,7 +2784,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2785
2784
  * Computes magnitude for the provided quaternion.
2786
2785
  *
2787
2786
  * @param {Quaternion} quaternion The quaternion to conjugate.
2788
- * @returns {Number} The magnitude.
2787
+ * @returns {number} The magnitude.
2789
2788
  */
2790
2789
  Quaternion.magnitude = function (quaternion) {
2791
2790
  return Math.sqrt(Quaternion.magnitudeSquared(quaternion));
@@ -2902,7 +2901,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2902
2901
  *
2903
2902
  * @param {Quaternion} left The first quaternion.
2904
2903
  * @param {Quaternion} right The second quaternion.
2905
- * @returns {Number} The dot product.
2904
+ * @returns {number} The dot product.
2906
2905
  */
2907
2906
  Quaternion.dot = function (left, right) {
2908
2907
  //>>includeStart('debug', pragmas.debug);
@@ -2956,7 +2955,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2956
2955
  * Multiplies the provided quaternion componentwise by the provided scalar.
2957
2956
  *
2958
2957
  * @param {Quaternion} quaternion The quaternion to be scaled.
2959
- * @param {Number} scalar The scalar to multiply with.
2958
+ * @param {number} scalar The scalar to multiply with.
2960
2959
  * @param {Quaternion} result The object onto which to store the result.
2961
2960
  * @returns {Quaternion} The modified result parameter.
2962
2961
  */
@@ -2978,7 +2977,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
2978
2977
  * Divides the provided quaternion componentwise by the provided scalar.
2979
2978
  *
2980
2979
  * @param {Quaternion} quaternion The quaternion to be divided.
2981
- * @param {Number} scalar The scalar to divide by.
2980
+ * @param {number} scalar The scalar to divide by.
2982
2981
  * @param {Quaternion} result The object onto which to store the result.
2983
2982
  * @returns {Quaternion} The modified result parameter.
2984
2983
  */
@@ -3027,7 +3026,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3027
3026
  * Computes the angle of rotation of the provided quaternion.
3028
3027
  *
3029
3028
  * @param {Quaternion} quaternion The quaternion to use.
3030
- * @returns {Number} The angle of rotation.
3029
+ * @returns {number} The angle of rotation.
3031
3030
  */
3032
3031
  Quaternion.computeAngle = function (quaternion) {
3033
3032
  //>>includeStart('debug', pragmas.debug);
@@ -3046,7 +3045,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3046
3045
  *
3047
3046
  * @param {Quaternion} start The value corresponding to t at 0.0.
3048
3047
  * @param {Quaternion} end The value corresponding to t at 1.0.
3049
- * @param {Number} t The point along t at which to interpolate.
3048
+ * @param {number} t The point along t at which to interpolate.
3050
3049
  * @param {Quaternion} result The object onto which to store the result.
3051
3050
  * @returns {Quaternion} The modified result parameter.
3052
3051
  */
@@ -3071,7 +3070,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3071
3070
  *
3072
3071
  * @param {Quaternion} start The value corresponding to t at 0.0.
3073
3072
  * @param {Quaternion} end The value corresponding to t at 1.0.
3074
- * @param {Number} t The point along t at which to interpolate.
3073
+ * @param {number} t The point along t at which to interpolate.
3075
3074
  * @param {Quaternion} result The object onto which to store the result.
3076
3075
  * @returns {Quaternion} The modified result parameter.
3077
3076
  *
@@ -3214,7 +3213,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3214
3213
  * @param {Quaternion} q1 The second quaternion.
3215
3214
  * @param {Quaternion} s0 The first inner quadrangle.
3216
3215
  * @param {Quaternion} s1 The second inner quadrangle.
3217
- * @param {Number} t The time in [0,1] used to interpolate.
3216
+ * @param {number} t The time in [0,1] used to interpolate.
3218
3217
  * @param {Quaternion} result The object onto which to store the result.
3219
3218
  * @returns {Quaternion} The modified result parameter.
3220
3219
  *
@@ -3270,7 +3269,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3270
3269
  *
3271
3270
  * @param {Quaternion} start The value corresponding to t at 0.0.
3272
3271
  * @param {Quaternion} end The value corresponding to t at 1.0.
3273
- * @param {Number} t The point along t at which to interpolate.
3272
+ * @param {number} t The point along t at which to interpolate.
3274
3273
  * @param {Quaternion} result The object onto which to store the result.
3275
3274
  * @returns {Quaternion} The modified result parameter.
3276
3275
  *
@@ -3349,7 +3348,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3349
3348
  * @param {Quaternion} q1 The second quaternion.
3350
3349
  * @param {Quaternion} s0 The first inner quadrangle.
3351
3350
  * @param {Quaternion} s1 The second inner quadrangle.
3352
- * @param {Number} t The time in [0,1] used to interpolate.
3351
+ * @param {number} t The time in [0,1] used to interpolate.
3353
3352
  * @param {Quaternion} result The object onto which to store the result.
3354
3353
  * @returns {Quaternion} The modified result parameter or a new instance if none was provided.
3355
3354
  *
@@ -3376,7 +3375,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3376
3375
  *
3377
3376
  * @param {Quaternion} [left] The first quaternion.
3378
3377
  * @param {Quaternion} [right] The second quaternion.
3379
- * @returns {Boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
3378
+ * @returns {boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
3380
3379
  */
3381
3380
  Quaternion.equals = function (left, right) {
3382
3381
  return (
@@ -3397,8 +3396,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3397
3396
  *
3398
3397
  * @param {Quaternion} [left] The first quaternion.
3399
3398
  * @param {Quaternion} [right] The second quaternion.
3400
- * @param {Number} [epsilon=0] The epsilon to use for equality testing.
3401
- * @returns {Boolean} <code>true</code> if left and right are within the provided epsilon, <code>false</code> otherwise.
3399
+ * @param {number} [epsilon=0] The epsilon to use for equality testing.
3400
+ * @returns {boolean} <code>true</code> if left and right are within the provided epsilon, <code>false</code> otherwise.
3402
3401
  */
3403
3402
  Quaternion.equalsEpsilon = function (left, right, epsilon) {
3404
3403
  epsilon = defaultValue.defaultValue(epsilon, 0);
@@ -3445,7 +3444,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3445
3444
  * <code>true</code> if they are equal, <code>false</code> otherwise.
3446
3445
  *
3447
3446
  * @param {Quaternion} [right] The right hand side quaternion.
3448
- * @returns {Boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
3447
+ * @returns {boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
3449
3448
  */
3450
3449
  Quaternion.prototype.equals = function (right) {
3451
3450
  return Quaternion.equals(this, right);
@@ -3457,8 +3456,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3457
3456
  * <code>false</code> otherwise.
3458
3457
  *
3459
3458
  * @param {Quaternion} [right] The right hand side quaternion.
3460
- * @param {Number} [epsilon=0] The epsilon to use for equality testing.
3461
- * @returns {Boolean} <code>true</code> if left and right are within the provided epsilon, <code>false</code> otherwise.
3459
+ * @param {number} [epsilon=0] The epsilon to use for equality testing.
3460
+ * @returns {boolean} <code>true</code> if left and right are within the provided epsilon, <code>false</code> otherwise.
3462
3461
  */
3463
3462
  Quaternion.prototype.equalsEpsilon = function (right, epsilon) {
3464
3463
  return Quaternion.equalsEpsilon(this, right, epsilon);
@@ -3467,7 +3466,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3467
3466
  /**
3468
3467
  * Returns a string representing this quaternion in the format (x, y, z, w).
3469
3468
  *
3470
- * @returns {String} A string representing this Quaternion.
3469
+ * @returns {string} A string representing this Quaternion.
3471
3470
  */
3472
3471
  Quaternion.prototype.toString = function () {
3473
3472
  return `(${this.x}, ${this.y}, ${this.z}, ${this.w})`;
@@ -3481,7 +3480,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3481
3480
  * @param {*} itemToFind The item to find in the array.
3482
3481
  * @param {binarySearchComparator} comparator The function to use to compare the item to
3483
3482
  * elements in the array.
3484
- * @returns {Number} The index of <code>itemToFind</code> in the array, if it exists. If <code>itemToFind</code>
3483
+ * @returns {number} The index of <code>itemToFind</code> in the array, if it exists. If <code>itemToFind</code>
3485
3484
  * does not exist, the return value is a negative number which is the bitwise complement (~)
3486
3485
  * of the index before which the itemToFind should be inserted in order to maintain the
3487
3486
  * sorted order of the array.
@@ -3528,11 +3527,11 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3528
3527
  * @alias EarthOrientationParametersSample
3529
3528
  * @constructor
3530
3529
  *
3531
- * @param {Number} xPoleWander The pole wander about the X axis, in radians.
3532
- * @param {Number} yPoleWander The pole wander about the Y axis, in radians.
3533
- * @param {Number} xPoleOffset The offset to the Celestial Intermediate Pole (CIP) about the X axis, in radians.
3534
- * @param {Number} yPoleOffset The offset to the Celestial Intermediate Pole (CIP) about the Y axis, in radians.
3535
- * @param {Number} ut1MinusUtc The difference in time standards, UT1 - UTC, in seconds.
3530
+ * @param {number} xPoleWander The pole wander about the X axis, in radians.
3531
+ * @param {number} yPoleWander The pole wander about the Y axis, in radians.
3532
+ * @param {number} xPoleOffset The offset to the Celestial Intermediate Pole (CIP) about the X axis, in radians.
3533
+ * @param {number} yPoleOffset The offset to the Celestial Intermediate Pole (CIP) about the Y axis, in radians.
3534
+ * @param {number} ut1MinusUtc The difference in time standards, UT1 - UTC, in seconds.
3536
3535
  *
3537
3536
  * @private
3538
3537
  */
@@ -3545,31 +3544,31 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3545
3544
  ) {
3546
3545
  /**
3547
3546
  * The pole wander about the X axis, in radians.
3548
- * @type {Number}
3547
+ * @type {number}
3549
3548
  */
3550
3549
  this.xPoleWander = xPoleWander;
3551
3550
 
3552
3551
  /**
3553
3552
  * The pole wander about the Y axis, in radians.
3554
- * @type {Number}
3553
+ * @type {number}
3555
3554
  */
3556
3555
  this.yPoleWander = yPoleWander;
3557
3556
 
3558
3557
  /**
3559
3558
  * The offset to the Celestial Intermediate Pole (CIP) about the X axis, in radians.
3560
- * @type {Number}
3559
+ * @type {number}
3561
3560
  */
3562
3561
  this.xPoleOffset = xPoleOffset;
3563
3562
 
3564
3563
  /**
3565
3564
  * The offset to the Celestial Intermediate Pole (CIP) about the Y axis, in radians.
3566
- * @type {Number}
3565
+ * @type {number}
3567
3566
  */
3568
3567
  this.yPoleOffset = yPoleOffset;
3569
3568
 
3570
3569
  /**
3571
3570
  * The difference in time standards, UT1 - UTC, in seconds.
3572
- * @type {Number}
3571
+ * @type {number}
3573
3572
  */
3574
3573
  this.ut1MinusUtc = ut1MinusUtc;
3575
3574
  }
@@ -3580,14 +3579,14 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3580
3579
  * @alias GregorianDate
3581
3580
  * @constructor
3582
3581
  *
3583
- * @param {Number} [year] The year as a whole number.
3584
- * @param {Number} [month] The month as a whole number with range [1, 12].
3585
- * @param {Number} [day] The day of the month as a whole number starting at 1.
3586
- * @param {Number} [hour] The hour as a whole number with range [0, 23].
3587
- * @param {Number} [minute] The minute of the hour as a whole number with range [0, 59].
3588
- * @param {Number} [second] The second of the minute as a whole number with range [0, 60], with 60 representing a leap second.
3589
- * @param {Number} [millisecond] The millisecond of the second as a floating point number with range [0.0, 1000.0).
3590
- * @param {Boolean} [isLeapSecond] Whether this time is during a leap second.
3582
+ * @param {number} [year] The year as a whole number.
3583
+ * @param {number} [month] The month as a whole number with range [1, 12].
3584
+ * @param {number} [day] The day of the month as a whole number starting at 1.
3585
+ * @param {number} [hour] The hour as a whole number with range [0, 23].
3586
+ * @param {number} [minute] The minute of the hour as a whole number with range [0, 59].
3587
+ * @param {number} [second] The second of the minute as a whole number with range [0, 60], with 60 representing a leap second.
3588
+ * @param {number} [millisecond] The millisecond of the second as a floating point number with range [0.0, 1000.0).
3589
+ * @param {boolean} [isLeapSecond] Whether this time is during a leap second.
3591
3590
  *
3592
3591
  * @see JulianDate#toGregorianDate
3593
3592
  */
@@ -3603,42 +3602,42 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3603
3602
  ) {
3604
3603
  /**
3605
3604
  * Gets or sets the year as a whole number.
3606
- * @type {Number}
3605
+ * @type {number}
3607
3606
  */
3608
3607
  this.year = year;
3609
3608
  /**
3610
3609
  * Gets or sets the month as a whole number with range [1, 12].
3611
- * @type {Number}
3610
+ * @type {number}
3612
3611
  */
3613
3612
  this.month = month;
3614
3613
  /**
3615
3614
  * Gets or sets the day of the month as a whole number starting at 1.
3616
- * @type {Number}
3615
+ * @type {number}
3617
3616
  */
3618
3617
  this.day = day;
3619
3618
  /**
3620
3619
  * Gets or sets the hour as a whole number with range [0, 23].
3621
- * @type {Number}
3620
+ * @type {number}
3622
3621
  */
3623
3622
  this.hour = hour;
3624
3623
  /**
3625
3624
  * Gets or sets the minute of the hour as a whole number with range [0, 59].
3626
- * @type {Number}
3625
+ * @type {number}
3627
3626
  */
3628
3627
  this.minute = minute;
3629
3628
  /**
3630
3629
  * Gets or sets the second of the minute as a whole number with range [0, 60], with 60 representing a leap second.
3631
- * @type {Number}
3630
+ * @type {number}
3632
3631
  */
3633
3632
  this.second = second;
3634
3633
  /**
3635
3634
  * Gets or sets the millisecond of the second as a floating point number with range [0.0, 1000.0).
3636
- * @type {Number}
3635
+ * @type {number}
3637
3636
  */
3638
3637
  this.millisecond = millisecond;
3639
3638
  /**
3640
3639
  * Gets or sets whether this time is during a leap second.
3641
- * @type {Boolean}
3640
+ * @type {boolean}
3642
3641
  */
3643
3642
  this.isLeapSecond = isLeapSecond;
3644
3643
  }
@@ -3648,8 +3647,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3648
3647
  *
3649
3648
  * @function isLeapYear
3650
3649
  *
3651
- * @param {Number} year The year to be tested.
3652
- * @returns {Boolean} True if <code>year</code> is a leap year.
3650
+ * @param {number} year The year to be tested.
3651
+ * @returns {boolean} True if <code>year</code> is a leap year.
3653
3652
  *
3654
3653
  * @example
3655
3654
  * const leapYear = Cesium.isLeapYear(2000); // true
@@ -3671,7 +3670,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3671
3670
  * @constructor
3672
3671
  *
3673
3672
  * @param {JulianDate} [date] A Julian date representing the time of the leap second.
3674
- * @param {Number} [offset] The cumulative number of seconds that TAI is ahead of UTC at the provided date.
3673
+ * @param {number} [offset] The cumulative number of seconds that TAI is ahead of UTC at the provided date.
3675
3674
  */
3676
3675
  function LeapSecond(date, offset) {
3677
3676
  /**
@@ -3683,7 +3682,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3683
3682
  /**
3684
3683
  * Gets or sets the cumulative number of seconds between the UTC and TAI time standards at the time
3685
3684
  * of this leap second.
3686
- * @type {Number}
3685
+ * @type {number}
3687
3686
  */
3688
3687
  this.offset = offset;
3689
3688
  }
@@ -3700,63 +3699,63 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3700
3699
  const TimeConstants = {
3701
3700
  /**
3702
3701
  * The number of seconds in one millisecond: <code>0.001</code>
3703
- * @type {Number}
3702
+ * @type {number}
3704
3703
  * @constant
3705
3704
  */
3706
3705
  SECONDS_PER_MILLISECOND: 0.001,
3707
3706
 
3708
3707
  /**
3709
3708
  * The number of seconds in one minute: <code>60</code>.
3710
- * @type {Number}
3709
+ * @type {number}
3711
3710
  * @constant
3712
3711
  */
3713
3712
  SECONDS_PER_MINUTE: 60.0,
3714
3713
 
3715
3714
  /**
3716
3715
  * The number of minutes in one hour: <code>60</code>.
3717
- * @type {Number}
3716
+ * @type {number}
3718
3717
  * @constant
3719
3718
  */
3720
3719
  MINUTES_PER_HOUR: 60.0,
3721
3720
 
3722
3721
  /**
3723
3722
  * The number of hours in one day: <code>24</code>.
3724
- * @type {Number}
3723
+ * @type {number}
3725
3724
  * @constant
3726
3725
  */
3727
3726
  HOURS_PER_DAY: 24.0,
3728
3727
 
3729
3728
  /**
3730
3729
  * The number of seconds in one hour: <code>3600</code>.
3731
- * @type {Number}
3730
+ * @type {number}
3732
3731
  * @constant
3733
3732
  */
3734
3733
  SECONDS_PER_HOUR: 3600.0,
3735
3734
 
3736
3735
  /**
3737
3736
  * The number of minutes in one day: <code>1440</code>.
3738
- * @type {Number}
3737
+ * @type {number}
3739
3738
  * @constant
3740
3739
  */
3741
3740
  MINUTES_PER_DAY: 1440.0,
3742
3741
 
3743
3742
  /**
3744
3743
  * The number of seconds in one day, ignoring leap seconds: <code>86400</code>.
3745
- * @type {Number}
3744
+ * @type {number}
3746
3745
  * @constant
3747
3746
  */
3748
3747
  SECONDS_PER_DAY: 86400.0,
3749
3748
 
3750
3749
  /**
3751
3750
  * The number of days in one Julian century: <code>36525</code>.
3752
- * @type {Number}
3751
+ * @type {number}
3753
3752
  * @constant
3754
3753
  */
3755
3754
  DAYS_PER_JULIAN_CENTURY: 36525.0,
3756
3755
 
3757
3756
  /**
3758
3757
  * One trillionth of a second.
3759
- * @type {Number}
3758
+ * @type {number}
3760
3759
  * @constant
3761
3760
  */
3762
3761
  PICOSECOND: 0.000000001,
@@ -3765,7 +3764,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3765
3764
  * The number of days to subtract from a Julian date to determine the
3766
3765
  * modified Julian date, which gives the number of days since midnight
3767
3766
  * on November 17, 1858.
3768
- * @type {Number}
3767
+ * @type {number}
3769
3768
  * @constant
3770
3769
  */
3771
3770
  MODIFIED_JULIAN_DATE_DIFFERENCE: 2400000.5,
@@ -3775,7 +3774,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3775
3774
  /**
3776
3775
  * Provides the type of time standards which JulianDate can take as input.
3777
3776
  *
3778
- * @enum {Number}
3777
+ * @enum {number}
3779
3778
  *
3780
3779
  * @see JulianDate
3781
3780
  */
@@ -3787,7 +3786,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3787
3786
  * <code>UTC = TAI - deltaT</code> where <code>deltaT</code> is the number of leap
3788
3787
  * seconds which have been introduced as of the time in TAI.
3789
3788
  *
3790
- * @type {Number}
3789
+ * @type {number}
3791
3790
  * @constant
3792
3791
  */
3793
3792
  UTC: 0,
@@ -3796,7 +3795,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3796
3795
  * Represents the International Atomic Time (TAI) time standard.
3797
3796
  * TAI is the principal time standard to which the other time standards are related.
3798
3797
  *
3799
- * @type {Number}
3798
+ * @type {number}
3800
3799
  * @constant
3801
3800
  */
3802
3801
  TAI: 1,
@@ -3994,20 +3993,20 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
3994
3993
  * @alias JulianDate
3995
3994
  * @constructor
3996
3995
  *
3997
- * @param {Number} [julianDayNumber=0.0] The Julian Day Number representing the number of whole days. Fractional days will also be handled correctly.
3998
- * @param {Number} [secondsOfDay=0.0] The number of seconds into the current Julian Day Number. Fractional seconds, negative seconds and seconds greater than a day will be handled correctly.
3996
+ * @param {number} [julianDayNumber=0.0] The Julian Day Number representing the number of whole days. Fractional days will also be handled correctly.
3997
+ * @param {number} [secondsOfDay=0.0] The number of seconds into the current Julian Day Number. Fractional seconds, negative seconds and seconds greater than a day will be handled correctly.
3999
3998
  * @param {TimeStandard} [timeStandard=TimeStandard.UTC] The time standard in which the first two parameters are defined.
4000
3999
  */
4001
4000
  function JulianDate(julianDayNumber, secondsOfDay, timeStandard) {
4002
4001
  /**
4003
4002
  * Gets or sets the number of whole days.
4004
- * @type {Number}
4003
+ * @type {number}
4005
4004
  */
4006
4005
  this.dayNumber = undefined;
4007
4006
 
4008
4007
  /**
4009
4008
  * Gets or sets the number of seconds into the current day.
4010
- * @type {Number}
4009
+ * @type {number}
4011
4010
  */
4012
4011
  this.secondsOfDay = undefined;
4013
4012
 
@@ -4099,7 +4098,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4099
4098
  * This method is superior to <code>Date.parse</code> because it will handle all valid formats defined by the ISO 8601
4100
4099
  * specification, including leap seconds and sub-millisecond times, which discarded by most JavaScript implementations.
4101
4100
  *
4102
- * @param {String} iso8601String An ISO 8601 date.
4101
+ * @param {string} iso8601String An ISO 8601 date.
4103
4102
  * @param {JulianDate} [result] An existing instance to use for the result.
4104
4103
  * @returns {JulianDate} The modified result parameter or a new instance if none was provided.
4105
4104
  *
@@ -4540,8 +4539,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4540
4539
  * Creates an ISO8601 representation of the provided date.
4541
4540
  *
4542
4541
  * @param {JulianDate} julianDate The date to be converted.
4543
- * @param {Number} [precision] The number of fractional digits used to represent the seconds component. By default, the most precise representation is used.
4544
- * @returns {String} The ISO8601 representation of the provided date.
4542
+ * @param {number} [precision] The number of fractional digits used to represent the seconds component. By default, the most precise representation is used.
4543
+ * @returns {string} The ISO8601 representation of the provided date.
4545
4544
  */
4546
4545
  JulianDate.toIso8601 = function (julianDate, precision) {
4547
4546
  //>>includeStart('debug', pragmas.debug);
@@ -4653,7 +4652,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4653
4652
  *
4654
4653
  * @param {JulianDate} left The first instance.
4655
4654
  * @param {JulianDate} right The second instance.
4656
- * @returns {Number} A negative value if left is less than right, a positive value if left is greater than right, or zero if left and right are equal.
4655
+ * @returns {number} A negative value if left is less than right, a positive value if left is greater than right, or zero if left and right are equal.
4657
4656
  */
4658
4657
  JulianDate.compare = function (left, right) {
4659
4658
  //>>includeStart('debug', pragmas.debug);
@@ -4677,7 +4676,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4677
4676
  *
4678
4677
  * @param {JulianDate} [left] The first instance.
4679
4678
  * @param {JulianDate} [right] The second instance.
4680
- * @returns {Boolean} <code>true</code> if the dates are equal; otherwise, <code>false</code>.
4679
+ * @returns {boolean} <code>true</code> if the dates are equal; otherwise, <code>false</code>.
4681
4680
  */
4682
4681
  JulianDate.equals = function (left, right) {
4683
4682
  return (
@@ -4697,8 +4696,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4697
4696
  *
4698
4697
  * @param {JulianDate} [left] The first instance.
4699
4698
  * @param {JulianDate} [right] The second instance.
4700
- * @param {Number} [epsilon=0] The maximum number of seconds that should separate the two instances.
4701
- * @returns {Boolean} <code>true</code> if the two dates are within <code>epsilon</code> seconds of each other; otherwise <code>false</code>.
4699
+ * @param {number} [epsilon=0] The maximum number of seconds that should separate the two instances.
4700
+ * @returns {boolean} <code>true</code> if the two dates are within <code>epsilon</code> seconds of each other; otherwise <code>false</code>.
4702
4701
  */
4703
4702
  JulianDate.equalsEpsilon = function (left, right, epsilon) {
4704
4703
  epsilon = defaultValue.defaultValue(epsilon, 0);
@@ -4715,7 +4714,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4715
4714
  * Computes the total number of whole and fractional days represented by the provided instance.
4716
4715
  *
4717
4716
  * @param {JulianDate} julianDate The date.
4718
- * @returns {Number} The Julian date as single floating point number.
4717
+ * @returns {number} The Julian date as single floating point number.
4719
4718
  */
4720
4719
  JulianDate.totalDays = function (julianDate) {
4721
4720
  //>>includeStart('debug', pragmas.debug);
@@ -4734,7 +4733,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4734
4733
  *
4735
4734
  * @param {JulianDate} left The first instance.
4736
4735
  * @param {JulianDate} right The second instance.
4737
- * @returns {Number} The difference, in seconds, when subtracting <code>right</code> from <code>left</code>.
4736
+ * @returns {number} The difference, in seconds, when subtracting <code>right</code> from <code>left</code>.
4738
4737
  */
4739
4738
  JulianDate.secondsDifference = function (left, right) {
4740
4739
  //>>includeStart('debug', pragmas.debug);
@@ -4756,7 +4755,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4756
4755
  *
4757
4756
  * @param {JulianDate} left The first instance.
4758
4757
  * @param {JulianDate} right The second instance.
4759
- * @returns {Number} The difference, in days, when subtracting <code>right</code> from <code>left</code>.
4758
+ * @returns {number} The difference, in days, when subtracting <code>right</code> from <code>left</code>.
4760
4759
  */
4761
4760
  JulianDate.daysDifference = function (left, right) {
4762
4761
  //>>includeStart('debug', pragmas.debug);
@@ -4778,7 +4777,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4778
4777
  * Computes the number of seconds the provided instance is ahead of UTC.
4779
4778
  *
4780
4779
  * @param {JulianDate} julianDate The date.
4781
- * @returns {Number} The number of seconds the provided instance is ahead of UTC
4780
+ * @returns {number} The number of seconds the provided instance is ahead of UTC
4782
4781
  */
4783
4782
  JulianDate.computeTaiMinusUtc = function (julianDate) {
4784
4783
  binarySearchScratchLeapSecond.julianDate = julianDate;
@@ -4802,7 +4801,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4802
4801
  * Adds the provided number of seconds to the provided date instance.
4803
4802
  *
4804
4803
  * @param {JulianDate} julianDate The date.
4805
- * @param {Number} seconds The number of seconds to add or subtract.
4804
+ * @param {number} seconds The number of seconds to add or subtract.
4806
4805
  * @param {JulianDate} result An existing instance to use for the result.
4807
4806
  * @returns {JulianDate} The modified result parameter.
4808
4807
  */
@@ -4830,7 +4829,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4830
4829
  * Adds the provided number of minutes to the provided date instance.
4831
4830
  *
4832
4831
  * @param {JulianDate} julianDate The date.
4833
- * @param {Number} minutes The number of minutes to add or subtract.
4832
+ * @param {number} minutes The number of minutes to add or subtract.
4834
4833
  * @param {JulianDate} result An existing instance to use for the result.
4835
4834
  * @returns {JulianDate} The modified result parameter.
4836
4835
  */
@@ -4856,7 +4855,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4856
4855
  * Adds the provided number of hours to the provided date instance.
4857
4856
  *
4858
4857
  * @param {JulianDate} julianDate The date.
4859
- * @param {Number} hours The number of hours to add or subtract.
4858
+ * @param {number} hours The number of hours to add or subtract.
4860
4859
  * @param {JulianDate} result An existing instance to use for the result.
4861
4860
  * @returns {JulianDate} The modified result parameter.
4862
4861
  */
@@ -4882,7 +4881,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4882
4881
  * Adds the provided number of days to the provided date instance.
4883
4882
  *
4884
4883
  * @param {JulianDate} julianDate The date.
4885
- * @param {Number} days The number of days to add or subtract.
4884
+ * @param {number} days The number of days to add or subtract.
4886
4885
  * @param {JulianDate} result An existing instance to use for the result.
4887
4886
  * @returns {JulianDate} The modified result parameter.
4888
4887
  */
@@ -4908,7 +4907,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4908
4907
  *
4909
4908
  * @param {JulianDate} left The first instance.
4910
4909
  * @param {JulianDate} right The second instance.
4911
- * @returns {Boolean} <code>true</code> if <code>left</code> is earlier than <code>right</code>, <code>false</code> otherwise.
4910
+ * @returns {boolean} <code>true</code> if <code>left</code> is earlier than <code>right</code>, <code>false</code> otherwise.
4912
4911
  */
4913
4912
  JulianDate.lessThan = function (left, right) {
4914
4913
  return JulianDate.compare(left, right) < 0;
@@ -4919,7 +4918,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4919
4918
  *
4920
4919
  * @param {JulianDate} left The first instance.
4921
4920
  * @param {JulianDate} right The second instance.
4922
- * @returns {Boolean} <code>true</code> if <code>left</code> is earlier than or equal to <code>right</code>, <code>false</code> otherwise.
4921
+ * @returns {boolean} <code>true</code> if <code>left</code> is earlier than or equal to <code>right</code>, <code>false</code> otherwise.
4923
4922
  */
4924
4923
  JulianDate.lessThanOrEquals = function (left, right) {
4925
4924
  return JulianDate.compare(left, right) <= 0;
@@ -4930,7 +4929,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4930
4929
  *
4931
4930
  * @param {JulianDate} left The first instance.
4932
4931
  * @param {JulianDate} right The second instance.
4933
- * @returns {Boolean} <code>true</code> if <code>left</code> is later than <code>right</code>, <code>false</code> otherwise.
4932
+ * @returns {boolean} <code>true</code> if <code>left</code> is later than <code>right</code>, <code>false</code> otherwise.
4934
4933
  */
4935
4934
  JulianDate.greaterThan = function (left, right) {
4936
4935
  return JulianDate.compare(left, right) > 0;
@@ -4941,7 +4940,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4941
4940
  *
4942
4941
  * @param {JulianDate} left The first instance.
4943
4942
  * @param {JulianDate} right The second instance.
4944
- * @returns {Boolean} <code>true</code> if <code>left</code> is later than or equal to <code>right</code>, <code>false</code> otherwise.
4943
+ * @returns {boolean} <code>true</code> if <code>left</code> is later than or equal to <code>right</code>, <code>false</code> otherwise.
4945
4944
  */
4946
4945
  JulianDate.greaterThanOrEquals = function (left, right) {
4947
4946
  return JulianDate.compare(left, right) >= 0;
@@ -4961,7 +4960,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4961
4960
  * Compares this and the provided instance and returns <code>true</code> if they are equal, <code>false</code> otherwise.
4962
4961
  *
4963
4962
  * @param {JulianDate} [right] The second instance.
4964
- * @returns {Boolean} <code>true</code> if the dates are equal; otherwise, <code>false</code>.
4963
+ * @returns {boolean} <code>true</code> if the dates are equal; otherwise, <code>false</code>.
4965
4964
  */
4966
4965
  JulianDate.prototype.equals = function (right) {
4967
4966
  return JulianDate.equals(this, right);
@@ -4974,8 +4973,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4974
4973
  * seconds, must be less than <code>epsilon</code>.
4975
4974
  *
4976
4975
  * @param {JulianDate} [right] The second instance.
4977
- * @param {Number} [epsilon=0] The maximum number of seconds that should separate the two instances.
4978
- * @returns {Boolean} <code>true</code> if the two dates are within <code>epsilon</code> seconds of each other; otherwise <code>false</code>.
4976
+ * @param {number} [epsilon=0] The maximum number of seconds that should separate the two instances.
4977
+ * @returns {boolean} <code>true</code> if the two dates are within <code>epsilon</code> seconds of each other; otherwise <code>false</code>.
4979
4978
  */
4980
4979
  JulianDate.prototype.equalsEpsilon = function (right, epsilon) {
4981
4980
  return JulianDate.equalsEpsilon(this, right, epsilon);
@@ -4984,7 +4983,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
4984
4983
  /**
4985
4984
  * Creates a string representing this date in ISO8601 format.
4986
4985
  *
4987
- * @returns {String} A string representing this date in ISO8601 format.
4986
+ * @returns {string} A string representing this date in ISO8601 format.
4988
4987
  */
4989
4988
  JulianDate.prototype.toString = function () {
4990
4989
  return JulianDate.toIso8601(this);
@@ -8406,9 +8405,9 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8406
8405
  *
8407
8406
  * @function
8408
8407
  *
8409
- * @param {Object} object The object to clone.
8410
- * @param {Boolean} [deep=false] If true, all properties will be deep cloned recursively.
8411
- * @returns {Object} The cloned object.
8408
+ * @param {object} object The object to clone.
8409
+ * @param {boolean} [deep=false] If true, all properties will be deep cloned recursively.
8410
+ * @returns {object} The cloned object.
8412
8411
  */
8413
8412
  function clone(object, deep) {
8414
8413
  if (object === null || typeof object !== "object") {
@@ -8448,7 +8447,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8448
8447
  /**
8449
8448
  * An object which contains a promise object, and functions to resolve or reject the promise.
8450
8449
  *
8451
- * @typedef {Object} defer.deferred
8450
+ * @typedef {object} defer.deferred
8452
8451
  * @property {defer.resolve} resolve Resolves the promise when called.
8453
8452
  * @property {defer.reject} reject Rejects the promise when called.
8454
8453
  * @property {Promise} promise Promise object.
@@ -8478,9 +8477,9 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8478
8477
  * Given a relative Uri and a base Uri, returns the absolute Uri of the relative Uri.
8479
8478
  * @function
8480
8479
  *
8481
- * @param {String} relative The relative Uri.
8482
- * @param {String} [base] The base Uri.
8483
- * @returns {String} The absolute Uri of the given relative Uri.
8480
+ * @param {string} relative The relative Uri.
8481
+ * @param {string} [base] The base Uri.
8482
+ * @returns {string} The absolute Uri of the given relative Uri.
8484
8483
  *
8485
8484
  * @example
8486
8485
  * //absolute Uri will be "https://test.com/awesome.png";
@@ -8520,9 +8519,9 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8520
8519
  * Given a URI, returns the base path of the URI.
8521
8520
  * @function
8522
8521
  *
8523
- * @param {String} uri The Uri.
8524
- * @param {Boolean} [includeQuery = false] Whether or not to include the query string and fragment form the uri
8525
- * @returns {String} The base path of the Uri.
8522
+ * @param {string} uri The Uri.
8523
+ * @param {boolean} [includeQuery = false] Whether or not to include the query string and fragment form the uri
8524
+ * @returns {string} The base path of the Uri.
8526
8525
  *
8527
8526
  * @example
8528
8527
  * // basePath will be "/Gallery/";
@@ -8563,8 +8562,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8563
8562
  * Given a URI, returns the extension of the URI.
8564
8563
  * @function getExtensionFromUri
8565
8564
  *
8566
- * @param {String} uri The Uri.
8567
- * @returns {String} The extension of the Uri.
8565
+ * @param {string} uri The Uri.
8566
+ * @returns {string} The extension of the Uri.
8568
8567
  *
8569
8568
  * @example
8570
8569
  * //extension will be "czml";
@@ -8602,8 +8601,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8602
8601
  * @function getImagePixels
8603
8602
  *
8604
8603
  * @param {HTMLImageElement|ImageBitmap} image The image to extract pixels from.
8605
- * @param {Number} width The width of the image. If not defined, then image.width is assigned.
8606
- * @param {Number} height The height of the image. If not defined, then image.height is assigned.
8604
+ * @param {number} width The width of the image. If not defined, then image.width is assigned.
8605
+ * @param {number} height The height of the image. If not defined, then image.height is assigned.
8607
8606
  * @returns {ImageData} The pixels of the image.
8608
8607
  */
8609
8608
  function getImagePixels(image, width, height) {
@@ -8625,7 +8624,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8625
8624
  const canvas = document.createElement("canvas");
8626
8625
  canvas.width = width;
8627
8626
  canvas.height = height;
8628
- context2d = canvas.getContext("2d");
8627
+ // Since we re-use contexts, use the willReadFrequently option – See https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-will-read-frequently
8628
+ context2d = canvas.getContext("2d", { willReadFrequently: true });
8629
8629
  context2d.globalCompositeOperation = "copy";
8630
8630
  context2DsByHeight[height] = context2d;
8631
8631
  }
@@ -8641,8 +8641,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8641
8641
  *
8642
8642
  * @function isBlobUri
8643
8643
  *
8644
- * @param {String} uri The uri to test.
8645
- * @returns {Boolean} true when the uri is a blob uri; otherwise, false.
8644
+ * @param {string} uri The uri to test.
8645
+ * @returns {boolean} true when the uri is a blob uri; otherwise, false.
8646
8646
  *
8647
8647
  * @private
8648
8648
  */
@@ -8689,8 +8689,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8689
8689
  *
8690
8690
  * @function isDataUri
8691
8691
  *
8692
- * @param {String} uri The uri to test.
8693
- * @returns {Boolean} true when the uri is a data uri; otherwise, false.
8692
+ * @param {string} uri The uri to test.
8693
+ * @returns {boolean} true when the uri is a data uri; otherwise, false.
8694
8694
  *
8695
8695
  * @private
8696
8696
  */
@@ -8735,8 +8735,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8735
8735
  * will produce multiple values with the same name.
8736
8736
  * @function objectToQuery
8737
8737
  *
8738
- * @param {Object} obj The object containing data to encode.
8739
- * @returns {String} An encoded query string.
8738
+ * @param {object} obj The object containing data to encode.
8739
+ * @returns {string} An encoded query string.
8740
8740
  *
8741
8741
  *
8742
8742
  * @example
@@ -8789,8 +8789,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8789
8789
  * the value in the object will be an array of values.
8790
8790
  * @function queryToObject
8791
8791
  *
8792
- * @param {String} queryString The query string.
8793
- * @returns {Object} An object containing the parameters parsed from the query string.
8792
+ * @param {string} queryString The query string.
8793
+ * @returns {object} An object containing the parameters parsed from the query string.
8794
8794
  *
8795
8795
  *
8796
8796
  * @example
@@ -8843,13 +8843,13 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8843
8843
  /**
8844
8844
  * State of the request.
8845
8845
  *
8846
- * @enum {Number}
8846
+ * @enum {number}
8847
8847
  */
8848
8848
  const RequestState = {
8849
8849
  /**
8850
8850
  * Initial unissued state.
8851
8851
  *
8852
- * @type Number
8852
+ * @type {number}
8853
8853
  * @constant
8854
8854
  */
8855
8855
  UNISSUED: 0,
@@ -8857,7 +8857,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8857
8857
  /**
8858
8858
  * Issued but not yet active. Will become active when open slots are available.
8859
8859
  *
8860
- * @type Number
8860
+ * @type {number}
8861
8861
  * @constant
8862
8862
  */
8863
8863
  ISSUED: 1,
@@ -8865,7 +8865,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8865
8865
  /**
8866
8866
  * Actual http request has been sent.
8867
8867
  *
8868
- * @type Number
8868
+ * @type {number}
8869
8869
  * @constant
8870
8870
  */
8871
8871
  ACTIVE: 2,
@@ -8873,7 +8873,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8873
8873
  /**
8874
8874
  * Request completed successfully.
8875
8875
  *
8876
- * @type Number
8876
+ * @type {number}
8877
8877
  * @constant
8878
8878
  */
8879
8879
  RECEIVED: 3,
@@ -8881,7 +8881,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8881
8881
  /**
8882
8882
  * Request was cancelled, either explicitly or automatically because of low priority.
8883
8883
  *
8884
- * @type Number
8884
+ * @type {number}
8885
8885
  * @constant
8886
8886
  */
8887
8887
  CANCELLED: 4,
@@ -8889,7 +8889,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8889
8889
  /**
8890
8890
  * Request failed.
8891
8891
  *
8892
- * @type Number
8892
+ * @type {number}
8893
8893
  * @constant
8894
8894
  */
8895
8895
  FAILED: 5,
@@ -8899,13 +8899,13 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8899
8899
  /**
8900
8900
  * An enum identifying the type of request. Used for finer grained logging and priority sorting.
8901
8901
  *
8902
- * @enum {Number}
8902
+ * @enum {number}
8903
8903
  */
8904
8904
  const RequestType = {
8905
8905
  /**
8906
8906
  * Terrain request.
8907
8907
  *
8908
- * @type Number
8908
+ * @type {number}
8909
8909
  * @constant
8910
8910
  */
8911
8911
  TERRAIN: 0,
@@ -8913,7 +8913,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8913
8913
  /**
8914
8914
  * Imagery request.
8915
8915
  *
8916
- * @type Number
8916
+ * @type {number}
8917
8917
  * @constant
8918
8918
  */
8919
8919
  IMAGERY: 1,
@@ -8921,7 +8921,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8921
8921
  /**
8922
8922
  * 3D Tiles request.
8923
8923
  *
8924
- * @type Number
8924
+ * @type {number}
8925
8925
  * @constant
8926
8926
  */
8927
8927
  TILES3D: 2,
@@ -8929,7 +8929,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8929
8929
  /**
8930
8930
  * Other request.
8931
8931
  *
8932
- * @type Number
8932
+ * @type {number}
8933
8933
  * @constant
8934
8934
  */
8935
8935
  OTHER: 3,
@@ -8942,14 +8942,14 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8942
8942
  * @alias Request
8943
8943
  * @constructor
8944
8944
 
8945
- * @param {Object} [options] An object with the following properties:
8946
- * @param {String} [options.url] The url to request.
8945
+ * @param {object} [options] An object with the following properties:
8946
+ * @param {string} [options.url] The url to request.
8947
8947
  * @param {Request.RequestCallback} [options.requestFunction] The function that makes the actual data request.
8948
8948
  * @param {Request.CancelCallback} [options.cancelFunction] The function that is called when the request is cancelled.
8949
8949
  * @param {Request.PriorityCallback} [options.priorityFunction] The function that is called to update the request's priority, which occurs once per frame.
8950
- * @param {Number} [options.priority=0.0] The initial priority of the request.
8951
- * @param {Boolean} [options.throttle=false] Whether to throttle and prioritize the request. If false, the request will be sent immediately. If true, the request will be throttled and sent based on priority.
8952
- * @param {Boolean} [options.throttleByServer=false] Whether to throttle the request by server.
8950
+ * @param {number} [options.priority=0.0] The initial priority of the request.
8951
+ * @param {boolean} [options.throttle=false] Whether to throttle and prioritize the request. If false, the request will be sent immediately. If true, the request will be throttled and sent based on priority.
8952
+ * @param {boolean} [options.throttleByServer=false] Whether to throttle the request by server.
8953
8953
  * @param {RequestType} [options.type=RequestType.OTHER] The type of request.
8954
8954
  */
8955
8955
  function Request(options) {
@@ -8961,7 +8961,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8961
8961
  /**
8962
8962
  * The URL to request.
8963
8963
  *
8964
- * @type {String}
8964
+ * @type {string}
8965
8965
  */
8966
8966
  this.url = options.url;
8967
8967
 
@@ -8993,7 +8993,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
8993
8993
  *
8994
8994
  * If priorityFunction is defined, this value is updated every frame with the result of that call.
8995
8995
  *
8996
- * @type {Number}
8996
+ * @type {number}
8997
8997
  * @default 0.0
8998
8998
  */
8999
8999
  this.priority = defaultValue.defaultValue(options.priority, 0.0);
@@ -9002,7 +9002,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9002
9002
  * Whether to throttle and prioritize the request. If false, the request will be sent immediately. If true, the
9003
9003
  * request will be throttled and sent based on priority.
9004
9004
  *
9005
- * @type {Boolean}
9005
+ * @type {boolean}
9006
9006
  * @readonly
9007
9007
  *
9008
9008
  * @default false
@@ -9014,7 +9014,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9014
9014
  * for HTTP/1 servers, and an unlimited amount of connections for HTTP/2 servers. Setting this value
9015
9015
  * to <code>true</code> is preferable for requests going through HTTP/1 servers.
9016
9016
  *
9017
- * @type {Boolean}
9017
+ * @type {boolean}
9018
9018
  * @readonly
9019
9019
  *
9020
9020
  * @default false
@@ -9034,7 +9034,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9034
9034
  /**
9035
9035
  * A key used to identify the server that a request is going to. It is derived from the url's authority and scheme.
9036
9036
  *
9037
- * @type {String}
9037
+ * @type {string}
9038
9038
  *
9039
9039
  * @private
9040
9040
  */
@@ -9051,7 +9051,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9051
9051
  /**
9052
9052
  * The requests's deferred promise.
9053
9053
  *
9054
- * @type {Object}
9054
+ * @type {object}
9055
9055
  *
9056
9056
  * @private
9057
9057
  */
@@ -9060,7 +9060,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9060
9060
  /**
9061
9061
  * Whether the request was explicitly cancelled.
9062
9062
  *
9063
- * @type {Boolean}
9063
+ * @type {boolean}
9064
9064
  *
9065
9065
  * @private
9066
9066
  */
@@ -9112,9 +9112,9 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9112
9112
  *
9113
9113
  * @function parseResponseHeaders
9114
9114
  *
9115
- * @param {String} headerString The header string returned by getAllResponseHeaders(). The format is
9115
+ * @param {string} headerString The header string returned by getAllResponseHeaders(). The format is
9116
9116
  * described here: http://www.w3.org/TR/XMLHttpRequest/#the-getallresponseheaders()-method
9117
- * @returns {Object} A dictionary of key/value pairs, where each key is the name of a header and the corresponding value
9117
+ * @returns {object} A dictionary of key/value pairs, where each key is the name of a header and the corresponding value
9118
9118
  * is that header's value.
9119
9119
  *
9120
9120
  * @private
@@ -9149,9 +9149,9 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9149
9149
  * @constructor
9150
9150
  * @alias RequestErrorEvent
9151
9151
  *
9152
- * @param {Number} [statusCode] The HTTP error status code, such as 404.
9153
- * @param {Object} [response] The response included along with the error.
9154
- * @param {String|Object} [responseHeaders] The response headers, represented either as an object literal or as a
9152
+ * @param {number} [statusCode] The HTTP error status code, such as 404.
9153
+ * @param {object} [response] The response included along with the error.
9154
+ * @param {string|object} [responseHeaders] The response headers, represented either as an object literal or as a
9155
9155
  * string in the format returned by XMLHttpRequest's getAllResponseHeaders() function.
9156
9156
  */
9157
9157
  function RequestErrorEvent(statusCode, response, responseHeaders) {
@@ -9159,7 +9159,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9159
9159
  * The HTTP error status code, such as 404. If the error does not have a particular
9160
9160
  * HTTP code, this property will be undefined.
9161
9161
  *
9162
- * @type {Number}
9162
+ * @type {number}
9163
9163
  */
9164
9164
  this.statusCode = statusCode;
9165
9165
 
@@ -9167,7 +9167,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9167
9167
  * The response included along with the error. If the error does not include a response,
9168
9168
  * this property will be undefined.
9169
9169
  *
9170
- * @type {Object}
9170
+ * @type {object}
9171
9171
  */
9172
9172
  this.response = response;
9173
9173
 
@@ -9175,7 +9175,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9175
9175
  * The headers included in the response, represented as an object literal of key/value pairs.
9176
9176
  * If the error does not include any headers, this property will be undefined.
9177
9177
  *
9178
- * @type {Object}
9178
+ * @type {object}
9179
9179
  */
9180
9180
  this.responseHeaders = responseHeaders;
9181
9181
 
@@ -9188,7 +9188,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9188
9188
  * Creates a string representing this RequestErrorEvent.
9189
9189
  * @memberof RequestErrorEvent
9190
9190
  *
9191
- * @returns {String} A string representing the provided RequestErrorEvent.
9191
+ * @returns {string} A string representing the provided RequestErrorEvent.
9192
9192
  */
9193
9193
  RequestErrorEvent.prototype.toString = function () {
9194
9194
  let str = "Request has failed.";
@@ -9229,7 +9229,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9229
9229
  /**
9230
9230
  * The number of listeners currently subscribed to the event.
9231
9231
  * @memberof Event.prototype
9232
- * @type {Number}
9232
+ * @type {number}
9233
9233
  * @readonly
9234
9234
  */
9235
9235
  numberOfListeners: {
@@ -9245,7 +9245,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9245
9245
  * in which the function will execute.
9246
9246
  *
9247
9247
  * @param {Listener} listener The function to be executed when the event is raised.
9248
- * @param {Object} [scope] An optional object scope to serve as the <code>this</code>
9248
+ * @param {object} [scope] An optional object scope to serve as the <code>this</code>
9249
9249
  * pointer in which the listener function will execute.
9250
9250
  * @returns {Event.RemoveCallback} A function that will remove this event listener when invoked.
9251
9251
  *
@@ -9270,8 +9270,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9270
9270
  * Unregisters a previously registered callback.
9271
9271
  *
9272
9272
  * @param {Listener} listener The function to be unregistered.
9273
- * @param {Object} [scope] The scope that was originally passed to addEventListener.
9274
- * @returns {Boolean} <code>true</code> if the listener was removed; <code>false</code> if the listener and scope are not registered with the event.
9273
+ * @param {object} [scope] The scope that was originally passed to addEventListener.
9274
+ * @returns {boolean} <code>true</code> if the listener was removed; <code>false</code> if the listener and scope are not registered with the event.
9275
9275
  *
9276
9276
  * @see Event#addEventListener
9277
9277
  * @see Event#raiseEvent
@@ -9360,7 +9360,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9360
9360
  * @constructor
9361
9361
  * @private
9362
9362
  *
9363
- * @param {Object} options Object with the following properties:
9363
+ * @param {object} options Object with the following properties:
9364
9364
  * @param {Heap.ComparatorCallback} options.comparator The comparator to use for the heap. If comparator(a, b) is less than 0, sort a to a lower index than b, otherwise sort to a higher index.
9365
9365
  */
9366
9366
  function Heap(options) {
@@ -9381,7 +9381,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9381
9381
  *
9382
9382
  * @memberof Heap.prototype
9383
9383
  *
9384
- * @type {Number}
9384
+ * @type {number}
9385
9385
  * @readonly
9386
9386
  */
9387
9387
  length: {
@@ -9409,7 +9409,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9409
9409
  *
9410
9410
  * @memberof Heap.prototype
9411
9411
  *
9412
- * @type {Number}
9412
+ * @type {number}
9413
9413
  */
9414
9414
  maximumLength: {
9415
9415
  get: function () {
@@ -9456,7 +9456,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9456
9456
  /**
9457
9457
  * Resizes the internal array of the heap.
9458
9458
  *
9459
- * @param {Number} [length] The length to resize internal array to. Defaults to the current length of the heap.
9459
+ * @param {number} [length] The length to resize internal array to. Defaults to the current length of the heap.
9460
9460
  */
9461
9461
  Heap.prototype.reserve = function (length) {
9462
9462
  length = defaultValue.defaultValue(length, this._length);
@@ -9466,7 +9466,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9466
9466
  /**
9467
9467
  * Update the heap so that index and all descendants satisfy the heap property.
9468
9468
  *
9469
- * @param {Number} [index=0] The starting index to heapify from.
9469
+ * @param {number} [index=0] The starting index to heapify from.
9470
9470
  */
9471
9471
  Heap.prototype.heapify = function (index) {
9472
9472
  index = defaultValue.defaultValue(index, 0);
@@ -9555,7 +9555,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9555
9555
  /**
9556
9556
  * Remove the element specified by index from the heap and return it.
9557
9557
  *
9558
- * @param {Number} [index=0] The index to remove.
9558
+ * @param {number} [index=0] The index to remove.
9559
9559
  * @returns {*} The specified element of the heap.
9560
9560
  */
9561
9561
  Heap.prototype.pop = function (index) {
@@ -9617,7 +9617,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9617
9617
 
9618
9618
  /**
9619
9619
  * The maximum number of simultaneous active requests. Un-throttled requests do not observe this limit.
9620
- * @type {Number}
9620
+ * @type {number}
9621
9621
  * @default 50
9622
9622
  */
9623
9623
  RequestScheduler.maximumRequests = 50;
@@ -9625,14 +9625,14 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9625
9625
  /**
9626
9626
  * The maximum number of simultaneous active requests per server. Un-throttled requests or servers specifically
9627
9627
  * listed in {@link requestsByServer} do not observe this limit.
9628
- * @type {Number}
9628
+ * @type {number}
9629
9629
  * @default 6
9630
9630
  */
9631
9631
  RequestScheduler.maximumRequestsPerServer = 6;
9632
9632
 
9633
9633
  /**
9634
9634
  * A per server key list of overrides to use for throttling instead of <code>maximumRequestsPerServer</code>
9635
- * @type {Object}
9635
+ * @type {object}
9636
9636
  *
9637
9637
  * @example
9638
9638
  * RequestScheduler.requestsByServer = {
@@ -9647,14 +9647,14 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9647
9647
 
9648
9648
  /**
9649
9649
  * Specifies if the request scheduler should throttle incoming requests, or let the browser queue requests under its control.
9650
- * @type {Boolean}
9650
+ * @type {boolean}
9651
9651
  * @default true
9652
9652
  */
9653
9653
  RequestScheduler.throttleRequests = true;
9654
9654
 
9655
9655
  /**
9656
9656
  * When true, log statistics to the console every frame
9657
- * @type {Boolean}
9657
+ * @type {boolean}
9658
9658
  * @default false
9659
9659
  * @private
9660
9660
  */
@@ -9676,7 +9676,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9676
9676
  *
9677
9677
  * @memberof RequestScheduler
9678
9678
  *
9679
- * @type Object
9679
+ * @type {object}
9680
9680
  * @readonly
9681
9681
  * @private
9682
9682
  */
@@ -9691,7 +9691,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9691
9691
  *
9692
9692
  * @memberof RequestScheduler
9693
9693
  *
9694
- * @type {Number}
9694
+ * @type {number}
9695
9695
  * @default 20
9696
9696
  * @private
9697
9697
  */
@@ -9723,9 +9723,9 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9723
9723
 
9724
9724
  /**
9725
9725
  * Check if there are open slots for a particular server key. If desiredRequests is greater than 1, this checks if the queue has room for scheduling multiple requests.
9726
- * @param {String} serverKey The server key returned by {@link RequestScheduler.getServerKey}.
9727
- * @param {Number} [desiredRequests=1] How many requests the caller plans to request
9728
- * @return {Boolean} True if there are enough open slots for <code>desiredRequests</code> more requests.
9726
+ * @param {string} serverKey The server key returned by {@link RequestScheduler.getServerKey}.
9727
+ * @param {number} [desiredRequests=1] How many requests the caller plans to request
9728
+ * @return {boolean} True if there are enough open slots for <code>desiredRequests</code> more requests.
9729
9729
  * @private
9730
9730
  */
9731
9731
  RequestScheduler.serverHasOpenSlots = function (serverKey, desiredRequests) {
@@ -9745,8 +9745,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9745
9745
  * Check if the priority heap has open slots, regardless of which server they
9746
9746
  * are from. This is used in {@link Multiple3DTileContent} for determining when
9747
9747
  * all requests can be scheduled
9748
- * @param {Number} desiredRequests The number of requests the caller intends to make
9749
- * @return {Boolean} <code>true</code> if the heap has enough available slots to meet the desiredRequests. <code>false</code> otherwise.
9748
+ * @param {number} desiredRequests The number of requests the caller intends to make
9749
+ * @return {boolean} <code>true</code> if the heap has enough available slots to meet the desiredRequests. <code>false</code> otherwise.
9750
9750
  *
9751
9751
  * @private
9752
9752
  */
@@ -9907,8 +9907,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
9907
9907
  /**
9908
9908
  * Get the server key from a given url.
9909
9909
  *
9910
- * @param {String} url The url.
9911
- * @returns {String} The server key.
9910
+ * @param {string} url The url.
9911
+ * @returns {string} The server key.
9912
9912
  * @private
9913
9913
  */
9914
9914
  RequestScheduler.getServerKey = function (url) {
@@ -10098,8 +10098,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10098
10098
  /**
10099
10099
  * Adds a trusted server to the registry
10100
10100
  *
10101
- * @param {String} host The host to be added.
10102
- * @param {Number} port The port used to access the host.
10101
+ * @param {string} host The host to be added.
10102
+ * @param {number} port The port used to access the host.
10103
10103
  *
10104
10104
  * @example
10105
10105
  * // Add a trusted server
@@ -10124,8 +10124,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10124
10124
  /**
10125
10125
  * Removes a trusted server from the registry
10126
10126
  *
10127
- * @param {String} host The host to be removed.
10128
- * @param {Number} port The port used to access the host.
10127
+ * @param {string} host The host to be removed.
10128
+ * @param {number} port The port used to access the host.
10129
10129
  *
10130
10130
  * @example
10131
10131
  * // Remove a trusted server
@@ -10185,7 +10185,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10185
10185
  /**
10186
10186
  * Tests whether a server is trusted or not. The server must have been added with the port if it is included in the url.
10187
10187
  *
10188
- * @param {String} url The url to be tested against the trusted list
10188
+ * @param {string} url The url to be tested against the trusted list
10189
10189
  *
10190
10190
  * @returns {boolean} Returns true if url is trusted, false otherwise.
10191
10191
  *
@@ -10243,8 +10243,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10243
10243
  *
10244
10244
  * @param {Uri} uri The Uri with a query object.
10245
10245
  * @param {Resource} resource The Resource that will be assigned queryParameters.
10246
- * @param {Boolean} merge If true, we'll merge with the resource's existing queryParameters. Otherwise they will be replaced.
10247
- * @param {Boolean} preserveQueryParameters If true duplicate parameters will be concatenated into an array. If false, keys in uri will take precedence.
10246
+ * @param {boolean} merge If true, we'll merge with the resource's existing queryParameters. Otherwise they will be replaced.
10247
+ * @param {boolean} preserveQueryParameters If true duplicate parameters will be concatenated into an array. If false, keys in uri will take precedence.
10248
10248
  *
10249
10249
  * @private
10250
10250
  */
@@ -10337,11 +10337,11 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10337
10337
  /**
10338
10338
  * This combines a map of query parameters.
10339
10339
  *
10340
- * @param {Object} q1 The first map of query parameters. Values in this map will take precedence if preserveQueryParameters is false.
10341
- * @param {Object} q2 The second map of query parameters.
10342
- * @param {Boolean} preserveQueryParameters If true duplicate parameters will be concatenated into an array. If false, keys in q1 will take precedence.
10340
+ * @param {object} q1 The first map of query parameters. Values in this map will take precedence if preserveQueryParameters is false.
10341
+ * @param {object} q2 The second map of query parameters.
10342
+ * @param {boolean} preserveQueryParameters If true duplicate parameters will be concatenated into an array. If false, keys in q1 will take precedence.
10343
10343
  *
10344
- * @returns {Object} The combined map of query parameters.
10344
+ * @returns {object} The combined map of query parameters.
10345
10345
  *
10346
10346
  * @example
10347
10347
  * const q1 = {
@@ -10417,17 +10417,17 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10417
10417
  }
10418
10418
 
10419
10419
  /**
10420
- * @typedef {Object} Resource.ConstructorOptions
10420
+ * @typedef {object} Resource.ConstructorOptions
10421
10421
  *
10422
10422
  * Initialization options for the Resource constructor
10423
10423
  *
10424
- * @property {String} url The url of the resource.
10425
- * @property {Object} [queryParameters] An object containing query parameters that will be sent when retrieving the resource.
10426
- * @property {Object} [templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
10427
- * @property {Object} [headers={}] Additional HTTP headers that will be sent.
10424
+ * @property {string} url The url of the resource.
10425
+ * @property {object} [queryParameters] An object containing query parameters that will be sent when retrieving the resource.
10426
+ * @property {object} [templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
10427
+ * @property {object} [headers={}] Additional HTTP headers that will be sent.
10428
10428
  * @property {Proxy} [proxy] A proxy to be used when loading the resource.
10429
10429
  * @property {Resource.RetryCallback} [retryCallback] The Function to call when a request for this resource fails. If it returns true, the request will be retried.
10430
- * @property {Number} [retryAttempts=0] The number of times the retryCallback should be called before giving up.
10430
+ * @property {number} [retryAttempts=0] The number of times the retryCallback should be called before giving up.
10431
10431
  * @property {Request} [request] A Request object that will be used. Intended for internal use only.
10432
10432
  */
10433
10433
 
@@ -10437,7 +10437,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10437
10437
  * @alias Resource
10438
10438
  * @constructor
10439
10439
  *
10440
- * @param {String|Resource.ConstructorOptions} options A url or an object describing initialization options
10440
+ * @param {string|Resource.ConstructorOptions} options A url or an object describing initialization options
10441
10441
  *
10442
10442
  * @example
10443
10443
  * function refreshTokenRetryCallback(resource, error) {
@@ -10488,7 +10488,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10488
10488
  /**
10489
10489
  * Additional HTTP headers that will be sent with the request.
10490
10490
  *
10491
- * @type {Object}
10491
+ * @type {object}
10492
10492
  */
10493
10493
  this.headers = defaultClone(options.headers, {});
10494
10494
 
@@ -10516,7 +10516,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10516
10516
  /**
10517
10517
  * The number of times the retryCallback should be called before giving up.
10518
10518
  *
10519
- * @type {Number}
10519
+ * @type {number}
10520
10520
  */
10521
10521
  this.retryAttempts = defaultValue.defaultValue(options.retryAttempts, 0);
10522
10522
  this._retryCount = 0;
@@ -10533,7 +10533,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10533
10533
  /**
10534
10534
  * A helper function to create a resource depending on whether we have a String or a Resource
10535
10535
  *
10536
- * @param {Resource|String} resource A Resource or a String to use when creating a new Resource.
10536
+ * @param {Resource|string} resource A Resource or a String to use when creating a new Resource.
10537
10537
  *
10538
10538
  * @returns {Resource} If resource is a String, a Resource constructed with the url and options. Otherwise the resource parameter is returned.
10539
10539
  *
@@ -10563,7 +10563,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10563
10563
  /**
10564
10564
  * A helper function to check whether createImageBitmap supports passing ImageBitmapOptions.
10565
10565
  *
10566
- * @returns {Promise<Boolean>} A promise that resolves to true if this browser supports creating an ImageBitmap with options.
10566
+ * @returns {Promise<boolean>} A promise that resolves to true if this browser supports creating an ImageBitmap with options.
10567
10567
  *
10568
10568
  * @private
10569
10569
  */
@@ -10622,7 +10622,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10622
10622
  * Returns true if blobs are supported.
10623
10623
  *
10624
10624
  * @memberof Resource
10625
- * @type {Boolean}
10625
+ * @type {boolean}
10626
10626
  *
10627
10627
  * @readonly
10628
10628
  */
@@ -10638,7 +10638,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10638
10638
  * Query parameters appended to the url.
10639
10639
  *
10640
10640
  * @memberof Resource.prototype
10641
- * @type {Object}
10641
+ * @type {object}
10642
10642
  *
10643
10643
  * @readonly
10644
10644
  */
@@ -10652,7 +10652,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10652
10652
  * The key/value pairs used to replace template parameters in the url.
10653
10653
  *
10654
10654
  * @memberof Resource.prototype
10655
- * @type {Object}
10655
+ * @type {object}
10656
10656
  *
10657
10657
  * @readonly
10658
10658
  */
@@ -10666,7 +10666,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10666
10666
  * The url to the resource with template values replaced, query string appended and encoded by proxy if one was set.
10667
10667
  *
10668
10668
  * @memberof Resource.prototype
10669
- * @type {String}
10669
+ * @type {string}
10670
10670
  */
10671
10671
  url: {
10672
10672
  get: function () {
@@ -10688,7 +10688,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10688
10688
  * The file extension of the resource.
10689
10689
  *
10690
10690
  * @memberof Resource.prototype
10691
- * @type {String}
10691
+ * @type {string}
10692
10692
  *
10693
10693
  * @readonly
10694
10694
  */
@@ -10702,7 +10702,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10702
10702
  * True if the Resource refers to a data URI.
10703
10703
  *
10704
10704
  * @memberof Resource.prototype
10705
- * @type {Boolean}
10705
+ * @type {boolean}
10706
10706
  */
10707
10707
  isDataUri: {
10708
10708
  get: function () {
@@ -10714,7 +10714,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10714
10714
  * True if the Resource refers to a blob URI.
10715
10715
  *
10716
10716
  * @memberof Resource.prototype
10717
- * @type {Boolean}
10717
+ * @type {boolean}
10718
10718
  */
10719
10719
  isBlobUri: {
10720
10720
  get: function () {
@@ -10726,7 +10726,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10726
10726
  * True if the Resource refers to a cross origin URL.
10727
10727
  *
10728
10728
  * @memberof Resource.prototype
10729
- * @type {Boolean}
10729
+ * @type {boolean}
10730
10730
  */
10731
10731
  isCrossOriginUrl: {
10732
10732
  get: function () {
@@ -10738,7 +10738,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10738
10738
  * True if the Resource has request headers. This is equivalent to checking if the headers property has any keys.
10739
10739
  *
10740
10740
  * @memberof Resource.prototype
10741
- * @type {Boolean}
10741
+ * @type {boolean}
10742
10742
  */
10743
10743
  hasHeaders: {
10744
10744
  get: function () {
@@ -10751,7 +10751,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10751
10751
  * Override Object#toString so that implicit string conversion gives the
10752
10752
  * complete URL represented by this Resource.
10753
10753
  *
10754
- * @returns {String} The URL represented by this Resource
10754
+ * @returns {string} The URL represented by this Resource
10755
10755
  */
10756
10756
  Resource.prototype.toString = function () {
10757
10757
  return this.getUrlComponent(true, true);
@@ -10760,10 +10760,10 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10760
10760
  /**
10761
10761
  * Returns the url, optional with the query string and processed by a proxy.
10762
10762
  *
10763
- * @param {Boolean} [query=false] If true, the query string is included.
10764
- * @param {Boolean} [proxy=false] If true, the url is processed by the proxy object, if defined.
10763
+ * @param {boolean} [query=false] If true, the query string is included.
10764
+ * @param {boolean} [proxy=false] If true, the url is processed by the proxy object, if defined.
10765
10765
  *
10766
- * @returns {String} The url with all the requested components.
10766
+ * @returns {string} The url with all the requested components.
10767
10767
  */
10768
10768
  Resource.prototype.getUrlComponent = function (query, proxy) {
10769
10769
  if (this.isDataUri) {
@@ -10800,8 +10800,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10800
10800
  * Combines the specified object and the existing query parameters. This allows you to add many parameters at once,
10801
10801
  * as opposed to adding them one at a time to the queryParameters property. If a value is already set, it will be replaced with the new value.
10802
10802
  *
10803
- * @param {Object} params The query parameters
10804
- * @param {Boolean} [useAsDefault=false] If true the params will be used as the default values, so they will only be set if they are undefined.
10803
+ * @param {object} params The query parameters
10804
+ * @param {boolean} [useAsDefault=false] If true the params will be used as the default values, so they will only be set if they are undefined.
10805
10805
  */
10806
10806
  Resource.prototype.setQueryParameters = function (params, useAsDefault) {
10807
10807
  if (useAsDefault) {
@@ -10823,7 +10823,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10823
10823
  * Combines the specified object and the existing query parameters. This allows you to add many parameters at once,
10824
10824
  * as opposed to adding them one at a time to the queryParameters property.
10825
10825
  *
10826
- * @param {Object} params The query parameters
10826
+ * @param {object} params The query parameters
10827
10827
  */
10828
10828
  Resource.prototype.appendQueryParameters = function (params) {
10829
10829
  this._queryParameters = combineQueryParameters(
@@ -10837,8 +10837,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10837
10837
  * Combines the specified object and the existing template values. This allows you to add many values at once,
10838
10838
  * as opposed to adding them one at a time to the templateValues property. If a value is already set, it will become an array and the new value will be appended.
10839
10839
  *
10840
- * @param {Object} template The template values
10841
- * @param {Boolean} [useAsDefault=false] If true the values will be used as the default values, so they will only be set if they are undefined.
10840
+ * @param {object} template The template values
10841
+ * @param {boolean} [useAsDefault=false] If true the values will be used as the default values, so they will only be set if they are undefined.
10842
10842
  */
10843
10843
  Resource.prototype.setTemplateValues = function (template, useAsDefault) {
10844
10844
  if (useAsDefault) {
@@ -10851,16 +10851,16 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10851
10851
  /**
10852
10852
  * Returns a resource relative to the current instance. All properties remain the same as the current instance unless overridden in options.
10853
10853
  *
10854
- * @param {Object} options An object with the following properties
10855
- * @param {String} [options.url] The url that will be resolved relative to the url of the current instance.
10856
- * @param {Object} [options.queryParameters] An object containing query parameters that will be combined with those of the current instance.
10857
- * @param {Object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}). These will be combined with those of the current instance.
10858
- * @param {Object} [options.headers={}] Additional HTTP headers that will be sent.
10854
+ * @param {object} options An object with the following properties
10855
+ * @param {string} [options.url] The url that will be resolved relative to the url of the current instance.
10856
+ * @param {object} [options.queryParameters] An object containing query parameters that will be combined with those of the current instance.
10857
+ * @param {object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}). These will be combined with those of the current instance.
10858
+ * @param {object} [options.headers={}] Additional HTTP headers that will be sent.
10859
10859
  * @param {Proxy} [options.proxy] A proxy to be used when loading the resource.
10860
10860
  * @param {Resource.RetryCallback} [options.retryCallback] The function to call when loading the resource fails.
10861
- * @param {Number} [options.retryAttempts] The number of times the retryCallback should be called before giving up.
10861
+ * @param {number} [options.retryAttempts] The number of times the retryCallback should be called before giving up.
10862
10862
  * @param {Request} [options.request] A Request object that will be used. Intended for internal use only.
10863
- * @param {Boolean} [options.preserveQueryParameters=false] If true, this will keep all query parameters from the current resource and derived resource. If false, derived parameters will replace those of the current resource.
10863
+ * @param {boolean} [options.preserveQueryParameters=false] If true, this will keep all query parameters from the current resource and derived resource. If false, derived parameters will replace those of the current resource.
10864
10864
  *
10865
10865
  * @returns {Resource} The resource derived from the current one.
10866
10866
  */
@@ -10925,7 +10925,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10925
10925
  *
10926
10926
  * @param {Error} [error] The error that was encountered.
10927
10927
  *
10928
- * @returns {Promise<Boolean>} A promise to a boolean, that if true will cause the resource request to be retried.
10928
+ * @returns {Promise<boolean>} A promise to a boolean, that if true will cause the resource request to be retried.
10929
10929
  *
10930
10930
  * @private
10931
10931
  */
@@ -10976,9 +10976,9 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10976
10976
  /**
10977
10977
  * Returns the base path of the Resource.
10978
10978
  *
10979
- * @param {Boolean} [includeQuery = false] Whether or not to include the query string and fragment form the uri
10979
+ * @param {boolean} [includeQuery = false] Whether or not to include the query string and fragment form the uri
10980
10980
  *
10981
- * @returns {String} The base URI of the resource
10981
+ * @returns {string} The base URI of the resource
10982
10982
  */
10983
10983
  Resource.prototype.getBaseUri = function (includeQuery) {
10984
10984
  return getBaseUri(this.getUrlComponent(includeQuery), includeQuery);
@@ -10997,7 +10997,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
10997
10997
  * using XMLHttpRequest, which means that in order to make requests to another origin,
10998
10998
  * the server must have Cross-Origin Resource Sharing (CORS) headers enabled.
10999
10999
  *
11000
- * @returns {Promise.<ArrayBuffer>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11000
+ * @returns {Promise<ArrayBuffer>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11001
11001
  *
11002
11002
  * @example
11003
11003
  * // load a single URL asynchronously
@@ -11019,16 +11019,16 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11019
11019
  /**
11020
11020
  * Creates a Resource and calls fetchArrayBuffer() on it.
11021
11021
  *
11022
- * @param {String|Object} options A url or an object with the following properties
11023
- * @param {String} options.url The url of the resource.
11024
- * @param {Object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11025
- * @param {Object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11026
- * @param {Object} [options.headers={}] Additional HTTP headers that will be sent.
11022
+ * @param {string|object} options A url or an object with the following properties
11023
+ * @param {string} options.url The url of the resource.
11024
+ * @param {object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11025
+ * @param {object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11026
+ * @param {object} [options.headers={}] Additional HTTP headers that will be sent.
11027
11027
  * @param {Proxy} [options.proxy] A proxy to be used when loading the resource.
11028
11028
  * @param {Resource.RetryCallback} [options.retryCallback] The Function to call when a request for this resource fails. If it returns true, the request will be retried.
11029
- * @param {Number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11029
+ * @param {number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11030
11030
  * @param {Request} [options.request] A Request object that will be used. Intended for internal use only.
11031
- * @returns {Promise.<ArrayBuffer>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11031
+ * @returns {Promise<ArrayBuffer>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11032
11032
  */
11033
11033
  Resource.fetchArrayBuffer = function (options) {
11034
11034
  const resource = new Resource(options);
@@ -11041,7 +11041,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11041
11041
  * using XMLHttpRequest, which means that in order to make requests to another origin,
11042
11042
  * the server must have Cross-Origin Resource Sharing (CORS) headers enabled.
11043
11043
  *
11044
- * @returns {Promise.<Blob>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11044
+ * @returns {Promise<Blob>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11045
11045
  *
11046
11046
  * @example
11047
11047
  * // load a single URL asynchronously
@@ -11063,16 +11063,16 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11063
11063
  /**
11064
11064
  * Creates a Resource and calls fetchBlob() on it.
11065
11065
  *
11066
- * @param {String|Object} options A url or an object with the following properties
11067
- * @param {String} options.url The url of the resource.
11068
- * @param {Object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11069
- * @param {Object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11070
- * @param {Object} [options.headers={}] Additional HTTP headers that will be sent.
11066
+ * @param {string|object} options A url or an object with the following properties
11067
+ * @param {string} options.url The url of the resource.
11068
+ * @param {object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11069
+ * @param {object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11070
+ * @param {object} [options.headers={}] Additional HTTP headers that will be sent.
11071
11071
  * @param {Proxy} [options.proxy] A proxy to be used when loading the resource.
11072
11072
  * @param {Resource.RetryCallback} [options.retryCallback] The Function to call when a request for this resource fails. If it returns true, the request will be retried.
11073
- * @param {Number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11073
+ * @param {number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11074
11074
  * @param {Request} [options.request] A Request object that will be used. Intended for internal use only.
11075
- * @returns {Promise.<Blob>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11075
+ * @returns {Promise<Blob>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11076
11076
  */
11077
11077
  Resource.fetchBlob = function (options) {
11078
11078
  const resource = new Resource(options);
@@ -11084,12 +11084,12 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11084
11084
  * an {@link https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap|ImageBitmap} if <code>preferImageBitmap</code> is true and the browser supports <code>createImageBitmap</code> or otherwise an
11085
11085
  * {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement|Image} once loaded, or reject if the image failed to load.
11086
11086
  *
11087
- * @param {Object} [options] An object with the following properties.
11088
- * @param {Boolean} [options.preferBlob=false] If true, we will load the image via a blob.
11089
- * @param {Boolean} [options.preferImageBitmap=false] If true, image will be decoded during fetch and an <code>ImageBitmap</code> is returned.
11090
- * @param {Boolean} [options.flipY=false] If true, image will be vertically flipped during decode. Only applies if the browser supports <code>createImageBitmap</code>.
11091
- * @param {Boolean} [options.skipColorSpaceConversion=false] If true, any custom gamma or color profiles in the image will be ignored. Only applies if the browser supports <code>createImageBitmap</code>.
11092
- * @returns {Promise.<ImageBitmap|HTMLImageElement>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11087
+ * @param {object} [options] An object with the following properties.
11088
+ * @param {boolean} [options.preferBlob=false] If true, we will load the image via a blob.
11089
+ * @param {boolean} [options.preferImageBitmap=false] If true, image will be decoded during fetch and an <code>ImageBitmap</code> is returned.
11090
+ * @param {boolean} [options.flipY=false] If true, image will be vertically flipped during decode. Only applies if the browser supports <code>createImageBitmap</code>.
11091
+ * @param {boolean} [options.skipColorSpaceConversion=false] If true, any custom gamma or color profiles in the image will be ignored. Only applies if the browser supports <code>createImageBitmap</code>.
11092
+ * @returns {Promise<ImageBitmap|HTMLImageElement>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11093
11093
  *
11094
11094
  *
11095
11095
  * @example
@@ -11211,11 +11211,11 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11211
11211
  /**
11212
11212
  * Fetches an image and returns a promise to it.
11213
11213
  *
11214
- * @param {Object} [options] An object with the following properties.
11214
+ * @param {object} [options] An object with the following properties.
11215
11215
  * @param {Resource} [options.resource] Resource object that points to an image to fetch.
11216
- * @param {Boolean} [options.preferImageBitmap] If true, image will be decoded during fetch and an <code>ImageBitmap</code> is returned.
11217
- * @param {Boolean} [options.flipY] If true, image will be vertically flipped during decode. Only applies if the browser supports <code>createImageBitmap</code>.
11218
- * @param {Boolean} [options.skipColorSpaceConversion=false] If true, any custom gamma or color profiles in the image will be ignored. Only applies if the browser supports <code>createImageBitmap</code>.
11216
+ * @param {boolean} [options.preferImageBitmap] If true, image will be decoded during fetch and an <code>ImageBitmap</code> is returned.
11217
+ * @param {boolean} [options.flipY] If true, image will be vertically flipped during decode. Only applies if the browser supports <code>createImageBitmap</code>.
11218
+ * @param {boolean} [options.skipColorSpaceConversion=false] If true, any custom gamma or color profiles in the image will be ignored. Only applies if the browser supports <code>createImageBitmap</code>.
11219
11219
  * @private
11220
11220
  */
11221
11221
  function fetchImage(options) {
@@ -11278,20 +11278,20 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11278
11278
  /**
11279
11279
  * Creates a Resource and calls fetchImage() on it.
11280
11280
  *
11281
- * @param {String|Object} options A url or an object with the following properties
11282
- * @param {String} options.url The url of the resource.
11283
- * @param {Object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11284
- * @param {Object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11285
- * @param {Object} [options.headers={}] Additional HTTP headers that will be sent.
11281
+ * @param {string|object} options A url or an object with the following properties
11282
+ * @param {string} options.url The url of the resource.
11283
+ * @param {object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11284
+ * @param {object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11285
+ * @param {object} [options.headers={}] Additional HTTP headers that will be sent.
11286
11286
  * @param {Proxy} [options.proxy] A proxy to be used when loading the resource.
11287
- * @param {Boolean} [options.flipY=false] Whether to vertically flip the image during fetch and decode. Only applies when requesting an image and the browser supports <code>createImageBitmap</code>.
11287
+ * @param {boolean} [options.flipY=false] Whether to vertically flip the image during fetch and decode. Only applies when requesting an image and the browser supports <code>createImageBitmap</code>.
11288
11288
  * @param {Resource.RetryCallback} [options.retryCallback] The Function to call when a request for this resource fails. If it returns true, the request will be retried.
11289
- * @param {Number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11289
+ * @param {number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11290
11290
  * @param {Request} [options.request] A Request object that will be used. Intended for internal use only.
11291
- * @param {Boolean} [options.preferBlob=false] If true, we will load the image via a blob.
11292
- * @param {Boolean} [options.preferImageBitmap=false] If true, image will be decoded during fetch and an <code>ImageBitmap</code> is returned.
11293
- * @param {Boolean} [options.skipColorSpaceConversion=false] If true, any custom gamma or color profiles in the image will be ignored. Only applies when requesting an image and the browser supports <code>createImageBitmap</code>.
11294
- * @returns {Promise.<ImageBitmap|HTMLImageElement>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11291
+ * @param {boolean} [options.preferBlob=false] If true, we will load the image via a blob.
11292
+ * @param {boolean} [options.preferImageBitmap=false] If true, image will be decoded during fetch and an <code>ImageBitmap</code> is returned.
11293
+ * @param {boolean} [options.skipColorSpaceConversion=false] If true, any custom gamma or color profiles in the image will be ignored. Only applies when requesting an image and the browser supports <code>createImageBitmap</code>.
11294
+ * @returns {Promise<ImageBitmap|HTMLImageElement>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11295
11295
  */
11296
11296
  Resource.fetchImage = function (options) {
11297
11297
  const resource = new Resource(options);
@@ -11309,7 +11309,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11309
11309
  * using XMLHttpRequest, which means that in order to make requests to another origin,
11310
11310
  * the server must have Cross-Origin Resource Sharing (CORS) headers enabled.
11311
11311
  *
11312
- * @returns {Promise.<String>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11312
+ * @returns {Promise<string>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11313
11313
  *
11314
11314
  * @example
11315
11315
  * // load text from a URL, setting a custom header
@@ -11338,16 +11338,16 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11338
11338
  /**
11339
11339
  * Creates a Resource and calls fetchText() on it.
11340
11340
  *
11341
- * @param {String|Object} options A url or an object with the following properties
11342
- * @param {String} options.url The url of the resource.
11343
- * @param {Object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11344
- * @param {Object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11345
- * @param {Object} [options.headers={}] Additional HTTP headers that will be sent.
11341
+ * @param {string|object} options A url or an object with the following properties
11342
+ * @param {string} options.url The url of the resource.
11343
+ * @param {object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11344
+ * @param {object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11345
+ * @param {object} [options.headers={}] Additional HTTP headers that will be sent.
11346
11346
  * @param {Proxy} [options.proxy] A proxy to be used when loading the resource.
11347
11347
  * @param {Resource.RetryCallback} [options.retryCallback] The Function to call when a request for this resource fails. If it returns true, the request will be retried.
11348
- * @param {Number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11348
+ * @param {number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11349
11349
  * @param {Request} [options.request] A Request object that will be used. Intended for internal use only.
11350
- * @returns {Promise.<String>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11350
+ * @returns {Promise<string>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11351
11351
  */
11352
11352
  Resource.fetchText = function (options) {
11353
11353
  const resource = new Resource(options);
@@ -11363,7 +11363,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11363
11363
  * adds 'Accept: application/json,&#42;&#47;&#42;;q=0.01' to the request headers, if not
11364
11364
  * already specified.
11365
11365
  *
11366
- * @returns {Promise.<*>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11366
+ * @returns {Promise<any>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11367
11367
  *
11368
11368
  *
11369
11369
  * @example
@@ -11399,16 +11399,16 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11399
11399
  /**
11400
11400
  * Creates a Resource and calls fetchJson() on it.
11401
11401
  *
11402
- * @param {String|Object} options A url or an object with the following properties
11403
- * @param {String} options.url The url of the resource.
11404
- * @param {Object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11405
- * @param {Object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11406
- * @param {Object} [options.headers={}] Additional HTTP headers that will be sent.
11402
+ * @param {string|object} options A url or an object with the following properties
11403
+ * @param {string} options.url The url of the resource.
11404
+ * @param {object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11405
+ * @param {object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11406
+ * @param {object} [options.headers={}] Additional HTTP headers that will be sent.
11407
11407
  * @param {Proxy} [options.proxy] A proxy to be used when loading the resource.
11408
11408
  * @param {Resource.RetryCallback} [options.retryCallback] The Function to call when a request for this resource fails. If it returns true, the request will be retried.
11409
- * @param {Number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11409
+ * @param {number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11410
11410
  * @param {Request} [options.request] A Request object that will be used. Intended for internal use only.
11411
- * @returns {Promise.<*>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11411
+ * @returns {Promise<any>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11412
11412
  */
11413
11413
  Resource.fetchJson = function (options) {
11414
11414
  const resource = new Resource(options);
@@ -11421,7 +11421,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11421
11421
  * using XMLHttpRequest, which means that in order to make requests to another origin,
11422
11422
  * the server must have Cross-Origin Resource Sharing (CORS) headers enabled.
11423
11423
  *
11424
- * @returns {Promise.<XMLDocument>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11424
+ * @returns {Promise<XMLDocument>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11425
11425
  *
11426
11426
  *
11427
11427
  * @example
@@ -11448,16 +11448,16 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11448
11448
  /**
11449
11449
  * Creates a Resource and calls fetchXML() on it.
11450
11450
  *
11451
- * @param {String|Object} options A url or an object with the following properties
11452
- * @param {String} options.url The url of the resource.
11453
- * @param {Object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11454
- * @param {Object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11455
- * @param {Object} [options.headers={}] Additional HTTP headers that will be sent.
11451
+ * @param {string|object} options A url or an object with the following properties
11452
+ * @param {string} options.url The url of the resource.
11453
+ * @param {object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11454
+ * @param {object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11455
+ * @param {object} [options.headers={}] Additional HTTP headers that will be sent.
11456
11456
  * @param {Proxy} [options.proxy] A proxy to be used when loading the resource.
11457
11457
  * @param {Resource.RetryCallback} [options.retryCallback] The Function to call when a request for this resource fails. If it returns true, the request will be retried.
11458
- * @param {Number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11458
+ * @param {number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11459
11459
  * @param {Request} [options.request] A Request object that will be used. Intended for internal use only.
11460
- * @returns {Promise.<XMLDocument>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11460
+ * @returns {Promise<XMLDocument>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11461
11461
  */
11462
11462
  Resource.fetchXML = function (options) {
11463
11463
  const resource = new Resource(options);
@@ -11467,8 +11467,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11467
11467
  /**
11468
11468
  * Requests a resource using JSONP.
11469
11469
  *
11470
- * @param {String} [callbackParameterName='callback'] The callback parameter name that the server expects.
11471
- * @returns {Promise.<*>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11470
+ * @param {string} [callbackParameterName='callback'] The callback parameter name that the server expects.
11471
+ * @returns {Promise<any>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11472
11472
  *
11473
11473
  *
11474
11474
  * @example
@@ -11553,17 +11553,17 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11553
11553
  /**
11554
11554
  * Creates a Resource from a URL and calls fetchJsonp() on it.
11555
11555
  *
11556
- * @param {String|Object} options A url or an object with the following properties
11557
- * @param {String} options.url The url of the resource.
11558
- * @param {Object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11559
- * @param {Object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11560
- * @param {Object} [options.headers={}] Additional HTTP headers that will be sent.
11556
+ * @param {string|object} options A url or an object with the following properties
11557
+ * @param {string} options.url The url of the resource.
11558
+ * @param {object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11559
+ * @param {object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11560
+ * @param {object} [options.headers={}] Additional HTTP headers that will be sent.
11561
11561
  * @param {Proxy} [options.proxy] A proxy to be used when loading the resource.
11562
11562
  * @param {Resource.RetryCallback} [options.retryCallback] The Function to call when a request for this resource fails. If it returns true, the request will be retried.
11563
- * @param {Number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11563
+ * @param {number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11564
11564
  * @param {Request} [options.request] A Request object that will be used. Intended for internal use only.
11565
- * @param {String} [options.callbackParameterName='callback'] The callback parameter name that the server expects.
11566
- * @returns {Promise.<*>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11565
+ * @param {string} [options.callbackParameterName='callback'] The callback parameter name that the server expects.
11566
+ * @returns {Promise<any>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11567
11567
  */
11568
11568
  Resource.fetchJsonp = function (options) {
11569
11569
  const resource = new Resource(options);
@@ -11696,11 +11696,11 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11696
11696
  * the server must have Cross-Origin Resource Sharing (CORS) headers enabled. It's recommended that you use
11697
11697
  * the more specific functions eg. fetchJson, fetchBlob, etc.
11698
11698
  *
11699
- * @param {Object} [options] Object with the following properties:
11700
- * @param {String} [options.responseType] The type of response. This controls the type of item returned.
11701
- * @param {Object} [options.headers] Additional HTTP headers to send with the request, if any.
11702
- * @param {String} [options.overrideMimeType] Overrides the MIME type returned by the server.
11703
- * @returns {Promise.<*>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11699
+ * @param {object} [options] Object with the following properties:
11700
+ * @param {string} [options.responseType] The type of response. This controls the type of item returned.
11701
+ * @param {object} [options.headers] Additional HTTP headers to send with the request, if any.
11702
+ * @param {string} [options.overrideMimeType] Overrides the MIME type returned by the server.
11703
+ * @returns {Promise<any>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11704
11704
  *
11705
11705
  *
11706
11706
  * @example
@@ -11724,18 +11724,18 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11724
11724
  /**
11725
11725
  * Creates a Resource from a URL and calls fetch() on it.
11726
11726
  *
11727
- * @param {String|Object} options A url or an object with the following properties
11728
- * @param {String} options.url The url of the resource.
11729
- * @param {Object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11730
- * @param {Object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11731
- * @param {Object} [options.headers={}] Additional HTTP headers that will be sent.
11727
+ * @param {string|object} options A url or an object with the following properties
11728
+ * @param {string} options.url The url of the resource.
11729
+ * @param {object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11730
+ * @param {object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11731
+ * @param {object} [options.headers={}] Additional HTTP headers that will be sent.
11732
11732
  * @param {Proxy} [options.proxy] A proxy to be used when loading the resource.
11733
11733
  * @param {Resource.RetryCallback} [options.retryCallback] The Function to call when a request for this resource fails. If it returns true, the request will be retried.
11734
- * @param {Number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11734
+ * @param {number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11735
11735
  * @param {Request} [options.request] A Request object that will be used. Intended for internal use only.
11736
- * @param {String} [options.responseType] The type of response. This controls the type of item returned.
11737
- * @param {String} [options.overrideMimeType] Overrides the MIME type returned by the server.
11738
- * @returns {Promise.<*>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11736
+ * @param {string} [options.responseType] The type of response. This controls the type of item returned.
11737
+ * @param {string} [options.overrideMimeType] Overrides the MIME type returned by the server.
11738
+ * @returns {Promise<any>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11739
11739
  */
11740
11740
  Resource.fetch = function (options) {
11741
11741
  const resource = new Resource(options);
@@ -11752,11 +11752,11 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11752
11752
  * using XMLHttpRequest, which means that in order to make requests to another origin,
11753
11753
  * the server must have Cross-Origin Resource Sharing (CORS) headers enabled.
11754
11754
  *
11755
- * @param {Object} [options] Object with the following properties:
11756
- * @param {String} [options.responseType] The type of response. This controls the type of item returned.
11757
- * @param {Object} [options.headers] Additional HTTP headers to send with the request, if any.
11758
- * @param {String} [options.overrideMimeType] Overrides the MIME type returned by the server.
11759
- * @returns {Promise.<*>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11755
+ * @param {object} [options] Object with the following properties:
11756
+ * @param {string} [options.responseType] The type of response. This controls the type of item returned.
11757
+ * @param {object} [options.headers] Additional HTTP headers to send with the request, if any.
11758
+ * @param {string} [options.overrideMimeType] Overrides the MIME type returned by the server.
11759
+ * @returns {Promise<any>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11760
11760
  *
11761
11761
  *
11762
11762
  * @example
@@ -11780,19 +11780,19 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11780
11780
  /**
11781
11781
  * Creates a Resource from a URL and calls delete() on it.
11782
11782
  *
11783
- * @param {String|Object} options A url or an object with the following properties
11784
- * @param {String} options.url The url of the resource.
11785
- * @param {Object} [options.data] Data that is posted with the resource.
11786
- * @param {Object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11787
- * @param {Object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11788
- * @param {Object} [options.headers={}] Additional HTTP headers that will be sent.
11783
+ * @param {string|object} options A url or an object with the following properties
11784
+ * @param {string} options.url The url of the resource.
11785
+ * @param {object} [options.data] Data that is posted with the resource.
11786
+ * @param {object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11787
+ * @param {object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11788
+ * @param {object} [options.headers={}] Additional HTTP headers that will be sent.
11789
11789
  * @param {Proxy} [options.proxy] A proxy to be used when loading the resource.
11790
11790
  * @param {Resource.RetryCallback} [options.retryCallback] The Function to call when a request for this resource fails. If it returns true, the request will be retried.
11791
- * @param {Number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11791
+ * @param {number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11792
11792
  * @param {Request} [options.request] A Request object that will be used. Intended for internal use only.
11793
- * @param {String} [options.responseType] The type of response. This controls the type of item returned.
11794
- * @param {String} [options.overrideMimeType] Overrides the MIME type returned by the server.
11795
- * @returns {Promise.<*>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11793
+ * @param {string} [options.responseType] The type of response. This controls the type of item returned.
11794
+ * @param {string} [options.overrideMimeType] Overrides the MIME type returned by the server.
11795
+ * @returns {Promise<any>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11796
11796
  */
11797
11797
  Resource.delete = function (options) {
11798
11798
  const resource = new Resource(options);
@@ -11810,11 +11810,11 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11810
11810
  * using XMLHttpRequest, which means that in order to make requests to another origin,
11811
11811
  * the server must have Cross-Origin Resource Sharing (CORS) headers enabled.
11812
11812
  *
11813
- * @param {Object} [options] Object with the following properties:
11814
- * @param {String} [options.responseType] The type of response. This controls the type of item returned.
11815
- * @param {Object} [options.headers] Additional HTTP headers to send with the request, if any.
11816
- * @param {String} [options.overrideMimeType] Overrides the MIME type returned by the server.
11817
- * @returns {Promise.<*>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11813
+ * @param {object} [options] Object with the following properties:
11814
+ * @param {string} [options.responseType] The type of response. This controls the type of item returned.
11815
+ * @param {object} [options.headers] Additional HTTP headers to send with the request, if any.
11816
+ * @param {string} [options.overrideMimeType] Overrides the MIME type returned by the server.
11817
+ * @returns {Promise<any>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11818
11818
  *
11819
11819
  *
11820
11820
  * @example
@@ -11838,18 +11838,18 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11838
11838
  /**
11839
11839
  * Creates a Resource from a URL and calls head() on it.
11840
11840
  *
11841
- * @param {String|Object} options A url or an object with the following properties
11842
- * @param {String} options.url The url of the resource.
11843
- * @param {Object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11844
- * @param {Object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11845
- * @param {Object} [options.headers={}] Additional HTTP headers that will be sent.
11841
+ * @param {string|object} options A url or an object with the following properties
11842
+ * @param {string} options.url The url of the resource.
11843
+ * @param {object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11844
+ * @param {object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11845
+ * @param {object} [options.headers={}] Additional HTTP headers that will be sent.
11846
11846
  * @param {Proxy} [options.proxy] A proxy to be used when loading the resource.
11847
11847
  * @param {Resource.RetryCallback} [options.retryCallback] The Function to call when a request for this resource fails. If it returns true, the request will be retried.
11848
- * @param {Number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11848
+ * @param {number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11849
11849
  * @param {Request} [options.request] A Request object that will be used. Intended for internal use only.
11850
- * @param {String} [options.responseType] The type of response. This controls the type of item returned.
11851
- * @param {String} [options.overrideMimeType] Overrides the MIME type returned by the server.
11852
- * @returns {Promise.<*>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11850
+ * @param {string} [options.responseType] The type of response. This controls the type of item returned.
11851
+ * @param {string} [options.overrideMimeType] Overrides the MIME type returned by the server.
11852
+ * @returns {Promise<any>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11853
11853
  */
11854
11854
  Resource.head = function (options) {
11855
11855
  const resource = new Resource(options);
@@ -11866,11 +11866,11 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11866
11866
  * using XMLHttpRequest, which means that in order to make requests to another origin,
11867
11867
  * the server must have Cross-Origin Resource Sharing (CORS) headers enabled.
11868
11868
  *
11869
- * @param {Object} [options] Object with the following properties:
11870
- * @param {String} [options.responseType] The type of response. This controls the type of item returned.
11871
- * @param {Object} [options.headers] Additional HTTP headers to send with the request, if any.
11872
- * @param {String} [options.overrideMimeType] Overrides the MIME type returned by the server.
11873
- * @returns {Promise.<*>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11869
+ * @param {object} [options] Object with the following properties:
11870
+ * @param {string} [options.responseType] The type of response. This controls the type of item returned.
11871
+ * @param {object} [options.headers] Additional HTTP headers to send with the request, if any.
11872
+ * @param {string} [options.overrideMimeType] Overrides the MIME type returned by the server.
11873
+ * @returns {Promise<any>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11874
11874
  *
11875
11875
  *
11876
11876
  * @example
@@ -11894,18 +11894,18 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11894
11894
  /**
11895
11895
  * Creates a Resource from a URL and calls options() on it.
11896
11896
  *
11897
- * @param {String|Object} options A url or an object with the following properties
11898
- * @param {String} options.url The url of the resource.
11899
- * @param {Object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11900
- * @param {Object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11901
- * @param {Object} [options.headers={}] Additional HTTP headers that will be sent.
11897
+ * @param {string|object} options A url or an object with the following properties
11898
+ * @param {string} options.url The url of the resource.
11899
+ * @param {object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11900
+ * @param {object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11901
+ * @param {object} [options.headers={}] Additional HTTP headers that will be sent.
11902
11902
  * @param {Proxy} [options.proxy] A proxy to be used when loading the resource.
11903
11903
  * @param {Resource.RetryCallback} [options.retryCallback] The Function to call when a request for this resource fails. If it returns true, the request will be retried.
11904
- * @param {Number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11904
+ * @param {number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11905
11905
  * @param {Request} [options.request] A Request object that will be used. Intended for internal use only.
11906
- * @param {String} [options.responseType] The type of response. This controls the type of item returned.
11907
- * @param {String} [options.overrideMimeType] Overrides the MIME type returned by the server.
11908
- * @returns {Promise.<*>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11906
+ * @param {string} [options.responseType] The type of response. This controls the type of item returned.
11907
+ * @param {string} [options.overrideMimeType] Overrides the MIME type returned by the server.
11908
+ * @returns {Promise<any>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11909
11909
  */
11910
11910
  Resource.options = function (options) {
11911
11911
  const resource = new Resource(options);
@@ -11922,13 +11922,13 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11922
11922
  * using XMLHttpRequest, which means that in order to make requests to another origin,
11923
11923
  * the server must have Cross-Origin Resource Sharing (CORS) headers enabled.
11924
11924
  *
11925
- * @param {Object} data Data that is posted with the resource.
11926
- * @param {Object} [options] Object with the following properties:
11927
- * @param {Object} [options.data] Data that is posted with the resource.
11928
- * @param {String} [options.responseType] The type of response. This controls the type of item returned.
11929
- * @param {Object} [options.headers] Additional HTTP headers to send with the request, if any.
11930
- * @param {String} [options.overrideMimeType] Overrides the MIME type returned by the server.
11931
- * @returns {Promise.<*>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11925
+ * @param {object} data Data that is posted with the resource.
11926
+ * @param {object} [options] Object with the following properties:
11927
+ * @param {object} [options.data] Data that is posted with the resource.
11928
+ * @param {string} [options.responseType] The type of response. This controls the type of item returned.
11929
+ * @param {object} [options.headers] Additional HTTP headers to send with the request, if any.
11930
+ * @param {string} [options.overrideMimeType] Overrides the MIME type returned by the server.
11931
+ * @returns {Promise<any>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11932
11932
  *
11933
11933
  *
11934
11934
  * @example
@@ -11955,19 +11955,19 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11955
11955
  /**
11956
11956
  * Creates a Resource from a URL and calls post() on it.
11957
11957
  *
11958
- * @param {Object} options A url or an object with the following properties
11959
- * @param {String} options.url The url of the resource.
11960
- * @param {Object} options.data Data that is posted with the resource.
11961
- * @param {Object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11962
- * @param {Object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11963
- * @param {Object} [options.headers={}] Additional HTTP headers that will be sent.
11958
+ * @param {object} options A url or an object with the following properties
11959
+ * @param {string} options.url The url of the resource.
11960
+ * @param {object} options.data Data that is posted with the resource.
11961
+ * @param {object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
11962
+ * @param {object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
11963
+ * @param {object} [options.headers={}] Additional HTTP headers that will be sent.
11964
11964
  * @param {Proxy} [options.proxy] A proxy to be used when loading the resource.
11965
11965
  * @param {Resource.RetryCallback} [options.retryCallback] The Function to call when a request for this resource fails. If it returns true, the request will be retried.
11966
- * @param {Number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11966
+ * @param {number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
11967
11967
  * @param {Request} [options.request] A Request object that will be used. Intended for internal use only.
11968
- * @param {String} [options.responseType] The type of response. This controls the type of item returned.
11969
- * @param {String} [options.overrideMimeType] Overrides the MIME type returned by the server.
11970
- * @returns {Promise.<*>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11968
+ * @param {string} [options.responseType] The type of response. This controls the type of item returned.
11969
+ * @param {string} [options.overrideMimeType] Overrides the MIME type returned by the server.
11970
+ * @returns {Promise<any>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11971
11971
  */
11972
11972
  Resource.post = function (options) {
11973
11973
  const resource = new Resource(options);
@@ -11984,12 +11984,12 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
11984
11984
  * using XMLHttpRequest, which means that in order to make requests to another origin,
11985
11985
  * the server must have Cross-Origin Resource Sharing (CORS) headers enabled.
11986
11986
  *
11987
- * @param {Object} data Data that is posted with the resource.
11988
- * @param {Object} [options] Object with the following properties:
11989
- * @param {String} [options.responseType] The type of response. This controls the type of item returned.
11990
- * @param {Object} [options.headers] Additional HTTP headers to send with the request, if any.
11991
- * @param {String} [options.overrideMimeType] Overrides the MIME type returned by the server.
11992
- * @returns {Promise.<*>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11987
+ * @param {object} data Data that is posted with the resource.
11988
+ * @param {object} [options] Object with the following properties:
11989
+ * @param {string} [options.responseType] The type of response. This controls the type of item returned.
11990
+ * @param {object} [options.headers] Additional HTTP headers to send with the request, if any.
11991
+ * @param {string} [options.overrideMimeType] Overrides the MIME type returned by the server.
11992
+ * @returns {Promise<any>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
11993
11993
  *
11994
11994
  *
11995
11995
  * @example
@@ -12016,19 +12016,19 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
12016
12016
  /**
12017
12017
  * Creates a Resource from a URL and calls put() on it.
12018
12018
  *
12019
- * @param {Object} options A url or an object with the following properties
12020
- * @param {String} options.url The url of the resource.
12021
- * @param {Object} options.data Data that is posted with the resource.
12022
- * @param {Object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
12023
- * @param {Object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
12024
- * @param {Object} [options.headers={}] Additional HTTP headers that will be sent.
12019
+ * @param {object} options A url or an object with the following properties
12020
+ * @param {string} options.url The url of the resource.
12021
+ * @param {object} options.data Data that is posted with the resource.
12022
+ * @param {object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
12023
+ * @param {object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
12024
+ * @param {object} [options.headers={}] Additional HTTP headers that will be sent.
12025
12025
  * @param {Proxy} [options.proxy] A proxy to be used when loading the resource.
12026
12026
  * @param {Resource.RetryCallback} [options.retryCallback] The Function to call when a request for this resource fails. If it returns true, the request will be retried.
12027
- * @param {Number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
12027
+ * @param {number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
12028
12028
  * @param {Request} [options.request] A Request object that will be used. Intended for internal use only.
12029
- * @param {String} [options.responseType] The type of response. This controls the type of item returned.
12030
- * @param {String} [options.overrideMimeType] Overrides the MIME type returned by the server.
12031
- * @returns {Promise.<*>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
12029
+ * @param {string} [options.responseType] The type of response. This controls the type of item returned.
12030
+ * @param {string} [options.overrideMimeType] Overrides the MIME type returned by the server.
12031
+ * @returns {Promise<any>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
12032
12032
  */
12033
12033
  Resource.put = function (options) {
12034
12034
  const resource = new Resource(options);
@@ -12045,12 +12045,12 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
12045
12045
  * using XMLHttpRequest, which means that in order to make requests to another origin,
12046
12046
  * the server must have Cross-Origin Resource Sharing (CORS) headers enabled.
12047
12047
  *
12048
- * @param {Object} data Data that is posted with the resource.
12049
- * @param {Object} [options] Object with the following properties:
12050
- * @param {String} [options.responseType] The type of response. This controls the type of item returned.
12051
- * @param {Object} [options.headers] Additional HTTP headers to send with the request, if any.
12052
- * @param {String} [options.overrideMimeType] Overrides the MIME type returned by the server.
12053
- * @returns {Promise.<*>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
12048
+ * @param {object} data Data that is posted with the resource.
12049
+ * @param {object} [options] Object with the following properties:
12050
+ * @param {string} [options.responseType] The type of response. This controls the type of item returned.
12051
+ * @param {object} [options.headers] Additional HTTP headers to send with the request, if any.
12052
+ * @param {string} [options.overrideMimeType] Overrides the MIME type returned by the server.
12053
+ * @returns {Promise<any>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
12054
12054
  *
12055
12055
  *
12056
12056
  * @example
@@ -12077,19 +12077,19 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
12077
12077
  /**
12078
12078
  * Creates a Resource from a URL and calls patch() on it.
12079
12079
  *
12080
- * @param {Object} options A url or an object with the following properties
12081
- * @param {String} options.url The url of the resource.
12082
- * @param {Object} options.data Data that is posted with the resource.
12083
- * @param {Object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
12084
- * @param {Object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
12085
- * @param {Object} [options.headers={}] Additional HTTP headers that will be sent.
12080
+ * @param {object} options A url or an object with the following properties
12081
+ * @param {string} options.url The url of the resource.
12082
+ * @param {object} options.data Data that is posted with the resource.
12083
+ * @param {object} [options.queryParameters] An object containing query parameters that will be sent when retrieving the resource.
12084
+ * @param {object} [options.templateValues] Key/Value pairs that are used to replace template values (eg. {x}).
12085
+ * @param {object} [options.headers={}] Additional HTTP headers that will be sent.
12086
12086
  * @param {Proxy} [options.proxy] A proxy to be used when loading the resource.
12087
12087
  * @param {Resource.RetryCallback} [options.retryCallback] The Function to call when a request for this resource fails. If it returns true, the request will be retried.
12088
- * @param {Number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
12088
+ * @param {number} [options.retryAttempts=0] The number of times the retryCallback should be called before giving up.
12089
12089
  * @param {Request} [options.request] A Request object that will be used. Intended for internal use only.
12090
- * @param {String} [options.responseType] The type of response. This controls the type of item returned.
12091
- * @param {String} [options.overrideMimeType] Overrides the MIME type returned by the server.
12092
- * @returns {Promise.<*>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
12090
+ * @param {string} [options.responseType] The type of response. This controls the type of item returned.
12091
+ * @param {string} [options.overrideMimeType] Overrides the MIME type returned by the server.
12092
+ * @returns {Promise<any>|undefined} a promise that will resolve to the requested data when loaded. Returns undefined if <code>request.throttle</code> is true and the request does not have high enough priority.
12093
12093
  */
12094
12094
  Resource.patch = function (options) {
12095
12095
  const resource = new Resource(options);
@@ -12263,12 +12263,12 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
12263
12263
  // Note: only the 'json' and 'text' responseTypes transforms the loaded buffer
12264
12264
  let URL;
12265
12265
  let zlib;
12266
- Promise.all([new Promise(function (resolve, reject) { require(['url'], function (m) { resolve(/*#__PURE__*/_interopNamespace(m)); }, reject); }), new Promise(function (resolve, reject) { require(['zlib'], function (m) { resolve(/*#__PURE__*/_interopNamespace(m)); }, reject); })])
12266
+ Promise.all([new Promise(function (resolve, reject) { require(['url'], function (m) { resolve(/*#__PURE__*/_interopNamespaceDefault(m)); }, reject); }), new Promise(function (resolve, reject) { require(['zlib'], function (m) { resolve(/*#__PURE__*/_interopNamespaceDefault(m)); }, reject); })])
12267
12267
  .then(([urlImport, zlibImport]) => {
12268
12268
  URL = urlImport.parse(url);
12269
12269
  zlib = zlibImport;
12270
12270
 
12271
- return URL.protocol === "https:" ? new Promise(function (resolve, reject) { require(['https'], function (m) { resolve(/*#__PURE__*/_interopNamespace(m)); }, reject); }) : new Promise(function (resolve, reject) { require(['http'], function (m) { resolve(/*#__PURE__*/_interopNamespace(m)); }, reject); });
12271
+ return URL.protocol === "https:" ? new Promise(function (resolve, reject) { require(['https'], function (m) { resolve(/*#__PURE__*/_interopNamespaceDefault(m)); }, reject); }) : new Promise(function (resolve, reject) { require(['http'], function (m) { resolve(/*#__PURE__*/_interopNamespaceDefault(m)); }, reject); });
12272
12272
  })
12273
12273
  .then((http) => {
12274
12274
  const options = {
@@ -12506,11 +12506,11 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
12506
12506
  * @alias EarthOrientationParameters
12507
12507
  * @constructor
12508
12508
  *
12509
- * @param {Object} [options] Object with the following properties:
12510
- * @param {Object} [options.data] The actual EOP data. If neither this
12509
+ * @param {object} [options] Object with the following properties:
12510
+ * @param {object} [options.data] The actual EOP data. If neither this
12511
12511
  * parameter nor options.data is specified, all EOP values are assumed
12512
12512
  * to be 0.0.
12513
- * @param {Boolean} [options.addNewLeapSeconds=true] True if leap seconds that
12513
+ * @param {boolean} [options.addNewLeapSeconds=true] True if leap seconds that
12514
12514
  * are specified in the EOP data but not in {@link JulianDate.leapSeconds}
12515
12515
  * should be added to {@link JulianDate.leapSeconds}. False if
12516
12516
  * new leap seconds should be handled correctly in the context
@@ -12561,12 +12561,12 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
12561
12561
 
12562
12562
  /**
12563
12563
  *
12564
- * @param {Resource|String} [url] The URL from which to obtain EOP data. If neither this
12564
+ * @param {Resource|string} [url] The URL from which to obtain EOP data. If neither this
12565
12565
  * parameter nor options.data is specified, all EOP values are assumed
12566
12566
  * to be 0.0. If options.data is specified, this parameter is
12567
12567
  * ignored.
12568
- * @param {Object} [options] Object with the following properties:
12569
- * @param {Boolean} [options.addNewLeapSeconds=true] True if leap seconds that
12568
+ * @param {object} [options] Object with the following properties:
12569
+ * @param {boolean} [options.addNewLeapSeconds=true] True if leap seconds that
12570
12570
  * are specified in the EOP data but not in {@link JulianDate.leapSeconds}
12571
12571
  * should be added to {@link JulianDate.leapSeconds}. False if
12572
12572
  * new leap seconds should be handled correctly in the context
@@ -12925,26 +12925,26 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
12925
12925
  * @alias HeadingPitchRoll
12926
12926
  * @constructor
12927
12927
  *
12928
- * @param {Number} [heading=0.0] The heading component in radians.
12929
- * @param {Number} [pitch=0.0] The pitch component in radians.
12930
- * @param {Number} [roll=0.0] The roll component in radians.
12928
+ * @param {number} [heading=0.0] The heading component in radians.
12929
+ * @param {number} [pitch=0.0] The pitch component in radians.
12930
+ * @param {number} [roll=0.0] The roll component in radians.
12931
12931
  */
12932
12932
  function HeadingPitchRoll(heading, pitch, roll) {
12933
12933
  /**
12934
12934
  * Gets or sets the heading.
12935
- * @type {Number}
12935
+ * @type {number}
12936
12936
  * @default 0.0
12937
12937
  */
12938
12938
  this.heading = defaultValue.defaultValue(heading, 0.0);
12939
12939
  /**
12940
12940
  * Gets or sets the pitch.
12941
- * @type {Number}
12941
+ * @type {number}
12942
12942
  * @default 0.0
12943
12943
  */
12944
12944
  this.pitch = defaultValue.defaultValue(pitch, 0.0);
12945
12945
  /**
12946
12946
  * Gets or sets the roll.
12947
- * @type {Number}
12947
+ * @type {number}
12948
12948
  * @default 0.0
12949
12949
  */
12950
12950
  this.roll = defaultValue.defaultValue(roll, 0.0);
@@ -12984,9 +12984,9 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
12984
12984
  /**
12985
12985
  * Returns a new HeadingPitchRoll instance from angles given in degrees.
12986
12986
  *
12987
- * @param {Number} heading the heading in degrees
12988
- * @param {Number} pitch the pitch in degrees
12989
- * @param {Number} roll the heading in degrees
12987
+ * @param {number} heading the heading in degrees
12988
+ * @param {number} pitch the pitch in degrees
12989
+ * @param {number} roll the heading in degrees
12990
12990
  * @param {HeadingPitchRoll} [result] The object in which to store the result. If not provided, a new instance is created and returned.
12991
12991
  * @returns {HeadingPitchRoll} A new HeadingPitchRoll instance
12992
12992
  */
@@ -13041,7 +13041,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
13041
13041
  *
13042
13042
  * @param {HeadingPitchRoll} [left] The first HeadingPitchRoll.
13043
13043
  * @param {HeadingPitchRoll} [right] The second HeadingPitchRoll.
13044
- * @returns {Boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
13044
+ * @returns {boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
13045
13045
  */
13046
13046
  HeadingPitchRoll.equals = function (left, right) {
13047
13047
  return (
@@ -13061,9 +13061,9 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
13061
13061
  *
13062
13062
  * @param {HeadingPitchRoll} [left] The first HeadingPitchRoll.
13063
13063
  * @param {HeadingPitchRoll} [right] The second HeadingPitchRoll.
13064
- * @param {Number} [relativeEpsilon=0] The relative epsilon tolerance to use for equality testing.
13065
- * @param {Number} [absoluteEpsilon=relativeEpsilon] The absolute epsilon tolerance to use for equality testing.
13066
- * @returns {Boolean} <code>true</code> if left and right are within the provided epsilon, <code>false</code> otherwise.
13064
+ * @param {number} [relativeEpsilon=0] The relative epsilon tolerance to use for equality testing.
13065
+ * @param {number} [absoluteEpsilon=relativeEpsilon] The absolute epsilon tolerance to use for equality testing.
13066
+ * @returns {boolean} <code>true</code> if left and right are within the provided epsilon, <code>false</code> otherwise.
13067
13067
  */
13068
13068
  HeadingPitchRoll.equalsEpsilon = function (
13069
13069
  left,
@@ -13111,7 +13111,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
13111
13111
  * <code>true</code> if they are equal, <code>false</code> otherwise.
13112
13112
  *
13113
13113
  * @param {HeadingPitchRoll} [right] The right hand side HeadingPitchRoll.
13114
- * @returns {Boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
13114
+ * @returns {boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
13115
13115
  */
13116
13116
  HeadingPitchRoll.prototype.equals = function (right) {
13117
13117
  return HeadingPitchRoll.equals(this, right);
@@ -13123,9 +13123,9 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
13123
13123
  * <code>false</code> otherwise.
13124
13124
  *
13125
13125
  * @param {HeadingPitchRoll} [right] The right hand side HeadingPitchRoll.
13126
- * @param {Number} [relativeEpsilon=0] The relative epsilon tolerance to use for equality testing.
13127
- * @param {Number} [absoluteEpsilon=relativeEpsilon] The absolute epsilon tolerance to use for equality testing.
13128
- * @returns {Boolean} <code>true</code> if they are within the provided epsilon, <code>false</code> otherwise.
13126
+ * @param {number} [relativeEpsilon=0] The relative epsilon tolerance to use for equality testing.
13127
+ * @param {number} [absoluteEpsilon=relativeEpsilon] The absolute epsilon tolerance to use for equality testing.
13128
+ * @returns {boolean} <code>true</code> if they are within the provided epsilon, <code>false</code> otherwise.
13129
13129
  */
13130
13130
  HeadingPitchRoll.prototype.equalsEpsilon = function (
13131
13131
  right,
@@ -13143,7 +13143,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
13143
13143
  /**
13144
13144
  * Creates a string representing this HeadingPitchRoll in the format '(heading, pitch, roll)' in radians.
13145
13145
  *
13146
- * @returns {String} A string representing the provided HeadingPitchRoll in the format '(heading, pitch, roll)'.
13146
+ * @returns {string} A string representing the provided HeadingPitchRoll in the format '(heading, pitch, roll)'.
13147
13147
  */
13148
13148
  HeadingPitchRoll.prototype.toString = function () {
13149
13149
  return `(${this.heading}, ${this.pitch}, ${this.roll})`;
@@ -13239,8 +13239,8 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
13239
13239
  * Given a relative URL under the Cesium base URL, returns an absolute URL.
13240
13240
  * @function
13241
13241
  *
13242
- * @param {String} relativeUrl The relative path.
13243
- * @returns {String} The absolutely URL representation of the provided path.
13242
+ * @param {string} relativeUrl The relative path.
13243
+ * @returns {string} The absolutely URL representation of the provided path.
13244
13244
  *
13245
13245
  * @example
13246
13246
  * const viewer = new Cesium.Viewer("cesiumContainer", {
@@ -13278,7 +13278,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
13278
13278
 
13279
13279
  /**
13280
13280
  * Sets the base URL for resolving modules.
13281
- * @param {String} value The new base URL.
13281
+ * @param {string} value The new base URL.
13282
13282
  */
13283
13283
  buildModuleUrl.setBaseUrl = function (value) {
13284
13284
  baseResource = Resource.DEFAULT.getDerivedResource({
@@ -13290,7 +13290,7 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
13290
13290
  * Gets the base URL for resolving modules.
13291
13291
  *
13292
13292
  * @function
13293
- * @returns {String} The configured base URL
13293
+ * @returns {string} The configured base URL
13294
13294
  */
13295
13295
  buildModuleUrl.getCesiumBaseUrl = getCesiumBaseUrl;
13296
13296
 
@@ -13300,28 +13300,28 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
13300
13300
  * @alias Iau2006XysSample
13301
13301
  * @constructor
13302
13302
  *
13303
- * @param {Number} x The X value.
13304
- * @param {Number} y The Y value.
13305
- * @param {Number} s The S value.
13303
+ * @param {number} x The X value.
13304
+ * @param {number} y The Y value.
13305
+ * @param {number} s The S value.
13306
13306
  *
13307
13307
  * @private
13308
13308
  */
13309
13309
  function Iau2006XysSample(x, y, s) {
13310
13310
  /**
13311
13311
  * The X value.
13312
- * @type {Number}
13312
+ * @type {number}
13313
13313
  */
13314
13314
  this.x = x;
13315
13315
 
13316
13316
  /**
13317
13317
  * The Y value.
13318
- * @type {Number}
13318
+ * @type {number}
13319
13319
  */
13320
13320
  this.y = y;
13321
13321
 
13322
13322
  /**
13323
13323
  * The S value.
13324
- * @type {Number}
13324
+ * @type {number}
13325
13325
  */
13326
13326
  this.s = s;
13327
13327
  }
@@ -13333,15 +13333,15 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
13333
13333
  * @alias Iau2006XysData
13334
13334
  * @constructor
13335
13335
  *
13336
- * @param {Object} [options] Object with the following properties:
13337
- * @param {Resource|String} [options.xysFileUrlTemplate='Assets/IAU2006_XYS/IAU2006_XYS_{0}.json'] A template URL for obtaining the XYS data. In the template,
13336
+ * @param {object} [options] Object with the following properties:
13337
+ * @param {Resource|string} [options.xysFileUrlTemplate='Assets/IAU2006_XYS/IAU2006_XYS_{0}.json'] A template URL for obtaining the XYS data. In the template,
13338
13338
  * `{0}` will be replaced with the file index.
13339
- * @param {Number} [options.interpolationOrder=9] The order of interpolation to perform on the XYS data.
13340
- * @param {Number} [options.sampleZeroJulianEphemerisDate=2442396.5] The Julian ephemeris date (JED) of the
13339
+ * @param {number} [options.interpolationOrder=9] The order of interpolation to perform on the XYS data.
13340
+ * @param {number} [options.sampleZeroJulianEphemerisDate=2442396.5] The Julian ephemeris date (JED) of the
13341
13341
  * first XYS sample.
13342
- * @param {Number} [options.stepSizeDays=1.0] The step size, in days, between successive XYS samples.
13343
- * @param {Number} [options.samplesPerXysFile=1000] The number of samples in each XYS file.
13344
- * @param {Number} [options.totalSamples=27426] The total number of samples in all XYS files.
13342
+ * @param {number} [options.stepSizeDays=1.0] The step size, in days, between successive XYS samples.
13343
+ * @param {number} [options.samplesPerXysFile=1000] The number of samples in each XYS file.
13344
+ * @param {number} [options.totalSamples=27426] The total number of samples in all XYS files.
13345
13345
  *
13346
13346
  * @private
13347
13347
  */
@@ -13405,13 +13405,13 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
13405
13405
  /**
13406
13406
  * Preloads XYS data for a specified date range.
13407
13407
  *
13408
- * @param {Number} startDayTT The Julian day number of the beginning of the interval to preload, expressed in
13408
+ * @param {number} startDayTT The Julian day number of the beginning of the interval to preload, expressed in
13409
13409
  * the Terrestrial Time (TT) time standard.
13410
- * @param {Number} startSecondTT The seconds past noon of the beginning of the interval to preload, expressed in
13410
+ * @param {number} startSecondTT The seconds past noon of the beginning of the interval to preload, expressed in
13411
13411
  * the Terrestrial Time (TT) time standard.
13412
- * @param {Number} stopDayTT The Julian day number of the end of the interval to preload, expressed in
13412
+ * @param {number} stopDayTT The Julian day number of the end of the interval to preload, expressed in
13413
13413
  * the Terrestrial Time (TT) time standard.
13414
- * @param {Number} stopSecondTT The seconds past noon of the end of the interval to preload, expressed in
13414
+ * @param {number} stopSecondTT The seconds past noon of the end of the interval to preload, expressed in
13415
13415
  * the Terrestrial Time (TT) time standard.
13416
13416
  * @returns {Promise<void>} A promise that, when resolved, indicates that the requested interval has been
13417
13417
  * preloaded.
@@ -13458,9 +13458,9 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
13458
13458
  * Computes the XYS values for a given date by interpolating. If the required data is not yet downloaded,
13459
13459
  * this method will return undefined.
13460
13460
  *
13461
- * @param {Number} dayTT The Julian day number for which to compute the XYS value, expressed in
13461
+ * @param {number} dayTT The Julian day number for which to compute the XYS value, expressed in
13462
13462
  * the Terrestrial Time (TT) time standard.
13463
- * @param {Number} secondTT The seconds past noon of the date for which to compute the XYS value, expressed in
13463
+ * @param {number} secondTT The seconds past noon of the date for which to compute the XYS value, expressed in
13464
13464
  * the Terrestrial Time (TT) time standard.
13465
13465
  * @param {Iau2006XysSample} [result] The instance to which to copy the interpolated result. If this parameter
13466
13466
  * is undefined, a new instance is allocated and returned.
@@ -13666,9 +13666,9 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
13666
13666
  /**
13667
13667
  * Generates a function that computes a 4x4 transformation matrix from a reference frame
13668
13668
  * centered at the provided origin to the provided ellipsoid's fixed reference frame.
13669
- * @param {String} firstAxis name of the first axis of the local reference frame. Must be
13669
+ * @param {string} firstAxis name of the first axis of the local reference frame. Must be
13670
13670
  * 'east', 'north', 'up', 'west', 'south' or 'down'.
13671
- * @param {String} secondAxis name of the second axis of the local reference frame. Must be
13671
+ * @param {string} secondAxis name of the second axis of the local reference frame. Must be
13672
13672
  * 'east', 'north', 'up', 'west', 'south' or 'down'.
13673
13673
  * @return {Transforms.LocalFrameToFixedFrame} The function that will computes a
13674
13674
  * 4x4 transformation matrix from a reference frame, with first axis and second axis compliant with the parameters,