@arcgis/core 5.2.0-next.120 → 5.2.0-next.121

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 (348) hide show
  1. package/arcade/containerUtils.js +1 -1
  2. package/arcade/functions/feature.js +1 -1
  3. package/arcade/functions/featuresetstring.js +1 -1
  4. package/arcade/languageUtils.js +1 -1
  5. package/arcgisGlobal.d.ts +7 -0
  6. package/assets/components/assets/icon/addCellAbove16.json +1 -0
  7. package/assets/components/assets/icon/addCellAbove24.json +1 -0
  8. package/assets/components/assets/icon/addCellAbove32.json +1 -0
  9. package/assets/components/assets/icon/addCellBelow16.json +1 -0
  10. package/assets/components/assets/icon/addCellBelow24.json +1 -0
  11. package/assets/components/assets/icon/addCellBelow32.json +1 -0
  12. package/assets/components/assets/icon/linkedChart16.json +1 -0
  13. package/assets/components/assets/icon/linkedChart24.json +1 -0
  14. package/assets/components/assets/icon/linkedChart32.json +1 -0
  15. package/assets/components/assets/icon/polygonFromFeature16.json +1 -0
  16. package/assets/components/assets/icon/polygonFromFeature24.json +1 -0
  17. package/assets/components/assets/icon/polygonFromFeature32.json +1 -0
  18. package/assets/esri/core/workers/RemoteClient.js +1 -1
  19. package/assets/esri/core/workers/chunks/015cb790262a59857c5f.js +1 -0
  20. package/assets/esri/core/workers/chunks/025da54eef112d7e8f66.js +1 -0
  21. package/assets/esri/core/workers/chunks/033debcbf6b3683dc4fe.js +2 -0
  22. package/assets/esri/core/workers/chunks/064445e6f9512817ac87.js +2 -0
  23. package/assets/esri/core/workers/chunks/{304462b049116f59accc.js → 09676cfa99b90fe0cc63.js} +1 -1
  24. package/assets/esri/core/workers/chunks/0aadee0437fa061e4ff5.js +1 -0
  25. package/assets/esri/core/workers/chunks/{b0058619e0363002ad86.js → 0e9f54d7f158195bd203.js} +1 -1
  26. package/assets/esri/core/workers/chunks/1086f190f94c715bbfe4.js +1 -0
  27. package/assets/esri/core/workers/chunks/1846296be959e28c42bb.js +1 -0
  28. package/assets/esri/core/workers/chunks/{ea9e770efc85594e4dd2.js → 216d8cb86548e92a8196.js} +1 -1
  29. package/assets/esri/core/workers/chunks/{d629708bf23da24ee523.js → 298f234f11a10c5120a2.js} +1 -1
  30. package/assets/esri/core/workers/chunks/29ae19206bbeb480be0f.js +1 -0
  31. package/assets/esri/core/workers/chunks/{dc1944a7601b518a9c48.js → 2ca49fb4590cc34a02bd.js} +1 -1
  32. package/assets/esri/core/workers/chunks/{f890359d972cce54459e.js → 2f829321bfbd3bacd64f.js} +1 -1
  33. package/assets/esri/core/workers/chunks/{7232fc11b23777b6be94.js → 369012c032ea6882607c.js} +1 -1
  34. package/assets/esri/core/workers/chunks/39c5e0f6262f69a62c66.js +1 -0
  35. package/assets/esri/core/workers/chunks/{9f760dc4492a03e0504c.js → 45d87af48a21644590c2.js} +1 -1
  36. package/assets/esri/core/workers/chunks/463d69f596d1d34ef275.js +2 -0
  37. package/assets/esri/core/workers/chunks/49affbed22e201f7c32b.js +1 -0
  38. package/assets/esri/core/workers/chunks/4adad3312caa24af98ac.js +1 -0
  39. package/assets/esri/core/workers/chunks/{8f0ecf4d06ec7b67d4ed.js → 52744dfd430cd0c0edfb.js} +1 -1
  40. package/assets/esri/core/workers/chunks/58a17fb3c0dd07c63d57.js +2 -0
  41. package/assets/esri/core/workers/chunks/5993db944b9e7825e0bc.js +1 -0
  42. package/assets/esri/core/workers/chunks/{090c9c2dbf92f2cac0b8.js → 770ca70d363184e39d60.js} +1 -1
  43. package/assets/esri/core/workers/chunks/83c7c4218bc6ba2f16ee.js +1 -0
  44. package/assets/esri/core/workers/chunks/{cfd8317ecd2e63af7c40.js → 8a103b6e9534516421e2.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{49e8ff5ed079a9e3be4b.js → 91a51d959ee5c6123c46.js} +1 -1
  46. package/assets/esri/core/workers/chunks/92f35b2c3c5f13778308.js +1 -0
  47. package/assets/esri/core/workers/chunks/97cd4145c016cf379120.js +1 -0
  48. package/assets/esri/core/workers/chunks/99ebc99e8d1bca105b5e.js +1 -0
  49. package/assets/esri/core/workers/chunks/{e18b8646c7378213b618.js → 9b3813e39992b1b99941.js} +1 -1
  50. package/assets/esri/core/workers/chunks/{32fc7d1db4b311f6b880.js → 9e5b30b907102bc0c201.js} +1 -1
  51. package/assets/esri/core/workers/chunks/a005efcde3ca9def4e6b.js +1 -0
  52. package/assets/esri/core/workers/chunks/a3c1a5a5c5cbf27b376d.js +1 -0
  53. package/assets/esri/core/workers/chunks/a70c59129ea808857d07.js +1 -0
  54. package/assets/esri/core/workers/chunks/b5b30c8447a0f967fa79.js +1 -0
  55. package/assets/esri/core/workers/chunks/bb5ed2a796a45c41b0b4.js +1 -0
  56. package/assets/esri/core/workers/chunks/bcb06a0643b4c83535ee.js +1 -0
  57. package/assets/esri/core/workers/chunks/{066b7f6866d602f963e0.js → c3008b20cb5fd38bd900.js} +1 -1
  58. package/assets/esri/core/workers/chunks/{22e85819e23202a8ba90.js → c39ebd8d469f1e8bb61e.js} +1 -1
  59. package/assets/esri/core/workers/chunks/{7f2ac03efaa4a4898ba2.js → c3b96d1d43afccd23e45.js} +2 -2
  60. package/assets/esri/core/workers/chunks/{cb983f65995e57fff7a1.js → c44cbe04efddbbbaec13.js} +1 -1
  61. package/assets/esri/core/workers/chunks/{8ce14dd209462f88b163.js → c70a32ac0fa49f4493ca.js} +1 -1
  62. package/assets/esri/core/workers/chunks/ce08e3369641da0d7a27.js +2 -0
  63. package/assets/esri/core/workers/chunks/d1b5be1aeab16d36d4b1.js +1 -0
  64. package/assets/esri/core/workers/chunks/{da6583e8d88441a1c02a.js → d38252956c3d9e2168f7.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{1742dbc6a827cfda471b.js → d3d48401462ef3bf0ad9.js} +1 -1
  66. package/assets/esri/core/workers/chunks/d9b761104ab6e4acaf91.js +1 -0
  67. package/assets/esri/core/workers/chunks/{723478607badcde5706b.js → d9d5f50af047ee7af129.js} +87 -86
  68. package/assets/esri/core/workers/chunks/{354912041363502c6a89.js → da161f8cbe1cfc5fcf7c.js} +1 -1
  69. package/assets/esri/core/workers/chunks/{862e1acd80c4e43831dc.js → dc923e50958b68a50014.js} +1 -1
  70. package/assets/esri/core/workers/chunks/e86f83a6514a35255f64.js +1 -0
  71. package/assets/esri/core/workers/chunks/ea49721fdd2172d1c799.js +1 -0
  72. package/assets/esri/core/workers/chunks/{98a5327fd96d9542b39f.js → f90cad9f007a11154c0d.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{f18ee2eaa96d103627a6.js → fa3f824c874f29d24953.js} +1 -1
  74. package/assets/esri/core/workers/chunks/fbb390c0d92d1536fce3.js +1 -0
  75. package/assets/esri/core/workers/chunks/fbc5f275c4e5e6bfffaa.js +1 -0
  76. package/assets/esri/core/workers/chunks/{6ab7bb3834841834f839.js → fd5e61cb6f936eadcfe3.js} +1 -1
  77. package/assets/esri/themes/dark/main.css +1 -1
  78. package/assets/esri/themes/light/main.css +1 -1
  79. package/assets/esri/themes/light/view.css +1 -1
  80. package/basemaps/BasemapCollection.d.ts +148 -0
  81. package/basemaps/BasemapCollection.js +2 -0
  82. package/basemaps/BasemapsSource.d.ts +39 -0
  83. package/basemaps/BasemapsSource.js +2 -0
  84. package/basemaps/LocalBasemapsSource.d.ts +55 -0
  85. package/basemaps/LocalBasemapsSource.js +2 -0
  86. package/basemaps/PortalBasemapsSource.d.ts +98 -0
  87. package/basemaps/PortalBasemapsSource.js +2 -0
  88. package/basemaps/support/BasemapItem.d.ts +74 -0
  89. package/basemaps/support/BasemapItem.js +2 -0
  90. package/basemaps/support/basemapCompatibilityUtils.js +2 -0
  91. package/basemaps/types.d.ts +42 -0
  92. package/chunks/CheckerBoard.glsl.js +1 -1
  93. package/chunks/ColorMaterial.glsl.js +1 -1
  94. package/chunks/Component.glsl.js +11 -11
  95. package/chunks/DeepSky.glsl.js +1 -1
  96. package/chunks/DefaultMaterial.glsl.js +4 -4
  97. package/chunks/EdgeShader.glsl.js +1 -1
  98. package/chunks/FocusArea.glsl.js +1 -1
  99. package/chunks/GaussianSplat.glsl.js +9 -9
  100. package/chunks/HUDMaterial.glsl.js +1 -1
  101. package/chunks/ImageMaterial.glsl.js +1 -1
  102. package/chunks/LineCallout.glsl.js +1 -1
  103. package/chunks/LineMarker.glsl.js +97 -89
  104. package/chunks/NativeLine.glsl.js +1 -1
  105. package/chunks/Path.glsl.js +8 -7
  106. package/chunks/Pattern.glsl.js +1 -1
  107. package/chunks/PointRenderer.glsl.js +1 -1
  108. package/chunks/RealisticTree.glsl.js +4 -4
  109. package/chunks/RibbonLine.glsl.js +58 -56
  110. package/chunks/ShadowCastAccumulate.glsl.js +3 -3
  111. package/chunks/ShadowHighlight.glsl.js +4 -4
  112. package/chunks/ShadowHighlightBuffer.glsl.js +3 -3
  113. package/chunks/Terrain.glsl.js +12 -14
  114. package/chunks/Viewshed.glsl.js +1 -1
  115. package/chunks/Water.glsl.js +3 -3
  116. package/chunks/languageUtils.js +1 -1
  117. package/config.js +1 -1
  118. package/core/Accessor.d.ts +10 -0
  119. package/kernel.js +1 -1
  120. package/layers/CSVLayer.js +1 -1
  121. package/layers/GeoJSONLayer.d.ts +1 -1
  122. package/layers/GeoJSONLayer.js +1 -1
  123. package/layers/OGCFeatureLayer.js +1 -1
  124. package/layers/StreamLayer.js +1 -1
  125. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  126. package/layers/mixins/FeatureLayerBase.js +1 -1
  127. package/layers/support/LabelClass.d.ts +13 -4
  128. package/layers/support/LabelClass.js +1 -1
  129. package/layers/support/commonProperties.js +1 -1
  130. package/legend/ActiveLayerInfo.d.ts +130 -0
  131. package/legend/ActiveLayerInfo.js +2 -0
  132. package/legend/LegendContent.d.ts +118 -0
  133. package/legend/LegendContent.js +2 -0
  134. package/legend/support/clusterUtils.js +2 -0
  135. package/legend/support/colorRampUtils.js +2 -0
  136. package/legend/support/heatmapRampUtils.js +2 -0
  137. package/legend/support/relationshipRampUtils.js +2 -0
  138. package/legend/support/sizeRampUtils.js +2 -0
  139. package/legend/support/utils.js +2 -0
  140. package/legend/types.d.ts +403 -0
  141. package/libs/i3s/I3SModule.js +1 -1
  142. package/package.json +5 -5
  143. package/support/revision.js +1 -1
  144. package/support/userTypeGuards/isBasemapsSource.js +2 -0
  145. package/symbols/cim/CIMOperators.js +1 -1
  146. package/symbols/cim/callouts/effects/BackgroundCallout.js +2 -0
  147. package/symbols/cim/callouts/effects/BalloonCallout.js +2 -0
  148. package/symbols/cim/callouts/effects/PointSymbolCallout.js +2 -0
  149. package/symbols/cim/callouts/effects/SimpleLineCallout.js +2 -0
  150. package/symbols/cim/callouts/effects/calloutUtils.js +2 -0
  151. package/symbols/cim/cimAnalyzer.js +1 -1
  152. package/symbols/cim/utils.js +1 -1
  153. package/symbols/support/typeUtils.js +1 -1
  154. package/views/2d/LabelManager.js +1 -1
  155. package/views/2d/engine/AFeatureContainer.js +1 -1
  156. package/views/2d/engine/vectorTiles/decluttering/SymbolRepository.js +1 -1
  157. package/views/2d/engine/webgl/FeatureDisplayList.js +1 -1
  158. package/views/2d/engine/webgl/FeatureTile.js +1 -1
  159. package/views/2d/engine/webgl/GlyphWorker.js +1 -1
  160. package/views/2d/engine/webgl/TileCpuState.js +1 -1
  161. package/views/2d/engine/webgl/TileGpuState.js +1 -1
  162. package/views/2d/engine/webgl/collisions/LabelMetric.js +1 -1
  163. package/views/2d/engine/webgl/collisions/LabelStore.js +2 -0
  164. package/views/2d/engine/webgl/cpuMapped/CpuBuffer.js +1 -1
  165. package/views/2d/engine/webgl/cpuMapped/CpuMeshData.js +1 -1
  166. package/views/2d/engine/webgl/cpuMapped/GpuMeshState.js +1 -1
  167. package/views/2d/engine/webgl/definitions.js +1 -1
  168. package/views/2d/engine/webgl/mesh/MeshData.js +1 -1
  169. package/views/2d/engine/webgl/mesh/MultiTileMeshData.js +1 -1
  170. package/views/2d/engine/webgl/mesh/factories/CalloutMeshWriterCoordinator.js +2 -0
  171. package/views/2d/engine/webgl/mesh/factories/FeatureMeshFactory.js +1 -1
  172. package/views/2d/engine/webgl/mesh/factories/MeshWriterGroupCoordinator.js +2 -0
  173. package/views/2d/engine/webgl/mesh/templates/segmentUtils.js +1 -1
  174. package/views/2d/engine/webgl/shaderGraph/graph/glsl.js +1 -1
  175. package/views/2d/engine/webgl/shaderGraph/techniques/FeatureInstanceStore.js +1 -1
  176. package/views/2d/engine/webgl/shaderGraph/techniques/GraphicInstanceStore.js +1 -1
  177. package/views/2d/engine/webgl/shaderGraph/techniques/TechniqueInstance.js +1 -1
  178. package/views/2d/engine/webgl/shaderGraph/techniques/TestDisplayObject.js +1 -1
  179. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedPolyShader.js +1 -1
  180. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedShader.js +1 -1
  181. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedFillShader.js +1 -1
  182. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerShader.js +1 -1
  183. package/views/2d/engine/webgl/shaderGraph/techniques/createGraphicSymbolMeshSchemas.js +1 -1
  184. package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityPolygonShader.js +1 -1
  185. package/views/2d/engine/webgl/shaderGraph/techniques/featureTechniqueUtils.js +1 -1
  186. package/views/2d/engine/webgl/shaderGraph/techniques/fill/AFillMeshWriter.js +1 -1
  187. package/views/2d/engine/webgl/shaderGraph/techniques/fill/ComplexOutlineFillMeshWriter.js +1 -1
  188. package/views/2d/engine/webgl/shaderGraph/techniques/fill/OutlineFillMeshWriter.js +1 -1
  189. package/views/2d/engine/webgl/shaderGraph/techniques/fill/PatternOutlineFillMeshWriter.js +1 -1
  190. package/views/2d/engine/webgl/shaderGraph/techniques/labels/LabelMeshWriter.js +1 -1
  191. package/views/2d/engine/webgl/shaderGraph/techniques/line/GradientStrokeTechnique.js +1 -1
  192. package/views/2d/engine/webgl/shaderGraph/techniques/line/LineMeshWriter.js +1 -1
  193. package/views/2d/engine/webgl/shaderGraph/techniques/markers/ComputedMarkerParams.js +1 -1
  194. package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerMeshWriter.js +1 -1
  195. package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerShader.js +1 -1
  196. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/CalloutMeshWriterPolicy.js +2 -0
  197. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriter.js +1 -1
  198. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriterReferences.js +2 -0
  199. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriterVertexPack.js +1 -1
  200. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/dataViewUtils.js +1 -1
  201. package/views/2d/engine/webgl/shaderGraph/techniques/pieChart/PieChartShader.js +1 -1
  202. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/AFeatureShader.js +1 -1
  203. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ComplexFillShader.js +1 -1
  204. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/FillShader.js +1 -1
  205. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/HeatmapAccumulateShader.js +1 -1
  206. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/LineShader.js +1 -1
  207. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/OutlineFillShader.js +1 -1
  208. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/constants.js +1 -1
  209. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextMeshWriter.js +1 -1
  210. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
  211. package/views/2d/engine/webgl/util/AnnotationMatcher.js +1 -1
  212. package/views/2d/engine/webgl/util/DimensionMatcher.js +1 -1
  213. package/views/2d/engine/webgl/util/IntervalMatcher.js +1 -1
  214. package/views/2d/engine/webgl/util/LabelMatcher.js +1 -1
  215. package/views/2d/engine/webgl/util/MapMatcher.js +1 -1
  216. package/views/2d/engine/webgl/util/Matcher.js +1 -1
  217. package/views/2d/engine/webgl/util/MatcherContext.js +1 -1
  218. package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
  219. package/views/2d/layers/MediaLayerView2D.js +1 -1
  220. package/views/2d/layers/TileLayerView2D.js +1 -1
  221. package/views/2d/layers/features/FeatureContainer.js +1 -1
  222. package/views/2d/layers/features/FeaturePipelineWorker.js +1 -1
  223. package/views/2d/layers/features/RenderState.js +1 -1
  224. package/views/2d/layers/features/schema/processor/symbols/ComplexSymbolSchema.js +1 -1
  225. package/views/2d/layers/features/schema/processor/symbols/SymbolSchema.js +1 -1
  226. package/views/2d/layers/features/support/GraphicsReader.js +1 -1
  227. package/views/2d/layers/graphics/AGraphicContainer.js +1 -1
  228. package/views/2d/layers/graphics/GraphicsView2D.js +1 -1
  229. package/views/2d/layers/support/annodime/MatcherGeometryOverride.js +1 -1
  230. package/views/2d/layers/support/annodime/PrivateMatcherGeometryOverrideEffect.js +1 -1
  231. package/views/2d/layers/support/annodime/annotationGraphic.js +1 -1
  232. package/views/2d/layers/support/annodime/cimAnnotations.js +1 -1
  233. package/views/2d/layers/support/annodime/debugUtils.js +1 -1
  234. package/views/2d/layers/support/annodime/virtualFields.js +1 -1
  235. package/views/3d/input/SceneInputManager.js +1 -1
  236. package/views/3d/input/handlers/ground/GroundDoubleClickMove.js +2 -0
  237. package/views/3d/interactive/editingTools/move/MoveTool3D.js +1 -1
  238. package/views/3d/layers/SceneLayerWorker.js +1 -1
  239. package/views/3d/support/MemoryController.js +1 -1
  240. package/views/3d/support/gaussianSplatting/GaussianSplatOrderTexture.js +1 -1
  241. package/views/3d/webgl-engine/collections/Component/Material/Component.glsl.js +1 -1
  242. package/views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepth.glsl.js +1 -3
  243. package/views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js +1 -1
  244. package/views/3d/webgl-engine/core/shaderLibrary/Transform.glsl.js +1 -1
  245. package/views/3d/webgl-engine/core/shaderLibrary/attributes/InstancedDoublePrecision.glsl.js +8 -8
  246. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +6 -6
  247. package/views/3d/webgl-engine/core/shaderLibrary/default/DefaultMaterialAuxiliaryPasses.glsl.js +1 -1
  248. package/views/3d/webgl-engine/core/shaderLibrary/forwardLinearDepthToReadShadow.glsl.js +4 -0
  249. package/views/3d/webgl-engine/core/shaderLibrary/{ForwardLinearDepthToWriteShadowMap.glsl.js → forwardLinearDepthToWriteShadow.glsl.js} +5 -5
  250. package/views/3d/webgl-engine/core/shaderLibrary/shading/WaterDistortion.glsl.js +1 -1
  251. package/views/3d/webgl-engine/core/shaderLibrary/shading/calculateUVZShadow.glsl.js +3 -4
  252. package/views/3d/webgl-engine/core/shaderLibrary/shading/calculateUVZShadowFromDepth.glsl.js +2 -2
  253. package/views/3d/webgl-engine/core/shaderLibrary/shading/readFragmentShadow.glsl.js +5 -0
  254. package/views/3d/webgl-engine/core/shaderLibrary/shading/readShadow.glsl.js +24 -0
  255. package/views/3d/webgl-engine/core/shaderLibrary/terrain/TerrainTexture.glsl.js +1 -1
  256. package/views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js +1 -1
  257. package/views/3d/webgl-engine/core/shaderLibrary/util/cameraUniforms.js +1 -1
  258. package/views/3d/webgl-engine/effects/focusArea/FocusArea.js +1 -1
  259. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
  260. package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.glsl.js +1 -1
  261. package/views/3d/webgl-engine/effects/highlight/ShadowHighlightBuffer.glsl.js +1 -1
  262. package/views/3d/webgl-engine/effects/highlight/ShadowHighlightTechnique.js +1 -1
  263. package/views/3d/webgl-engine/effects/shadowAccumulation/ShadowAccumulator.js +1 -1
  264. package/views/3d/webgl-engine/effects/shadowAccumulation/ShadowCastAccumulate.glsl.js +1 -1
  265. package/views/3d/webgl-engine/lib/LineMaterial.js +1 -1
  266. package/views/3d/webgl-engine/lib/ShadowMap.js +1 -1
  267. package/views/3d/webgl-engine/materials/DrawParameters.js +1 -1
  268. package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
  269. package/views/3d/webgl-engine/materials/Path.glsl.js +1 -1
  270. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  271. package/views/3d/webgl-engine/materials/Water.glsl.js +1 -1
  272. package/views/3d/webgl-engine/shaders/DefaultMaterial.glsl.js +1 -1
  273. package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
  274. package/views/3d/webgl-engine/shaders/GaussianSplat.glsl.js +1 -1
  275. package/views/3d/webgl-engine/shaders/GaussianSplatPass.glsl.js +1 -1
  276. package/views/3d/webgl-engine/shaders/LineMarker.glsl.js +1 -1
  277. package/views/3d/webgl-engine/shaders/LineTechniqueConfiguration.js +1 -1
  278. package/views/3d/webgl-engine/shaders/RealisticTree.glsl.js +1 -1
  279. package/views/3d/webgl-engine/shaders/RibbonLine.glsl.js +1 -1
  280. package/views/3d/webgl-engine/shaders/RibbonLineTechniqueConfiguration.js +1 -1
  281. package/views/3d/webgl-engine/shaders/ScreenSpacePassAtmosphere.glsl.js +1 -1
  282. package/views/3d/webgl-engine/shaders/Terrain.glsl.js +1 -1
  283. package/views/3d/webgl-engine/shaders/{AnimatedLine.glsl.js → animatedAlpha.glsl.js} +11 -17
  284. package/views/ToolViewManager.js +1 -1
  285. package/views/VideoView.js +1 -1
  286. package/widgets/BasemapGallery/BasemapGalleryViewModel.d.ts +3 -0
  287. package/widgets/BasemapGallery/support/BasemapGalleryItem.d.ts +3 -0
  288. package/widgets/BasemapGallery/support/LocalBasemapsSource.d.ts +2 -0
  289. package/widgets/BasemapGallery/support/PortalBasemapsSource.d.ts +2 -0
  290. package/widgets/BasemapGallery/types.d.ts +6 -1
  291. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.d.ts +2 -0
  292. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  293. package/widgets/Editor/EditorViewModel.d.ts +2 -1
  294. package/widgets/Editor/EditorViewModel.js +1 -1
  295. package/widgets/Editor/legacy/CreateFeaturesWorkflow.js +1 -1
  296. package/widgets/Editor.d.ts +2 -1
  297. package/widgets/Editor.js +1 -1
  298. package/widgets/HistogramRangeSlider/HistogramRangeSliderViewModel.d.ts +1 -0
  299. package/widgets/HistogramRangeSlider/HistogramRangeSliderViewModel.js +1 -1
  300. package/widgets/HistogramRangeSlider.js +1 -1
  301. package/widgets/Legend/LegendViewModel.d.ts +1 -0
  302. package/widgets/Legend/LegendViewModel.js +1 -1
  303. package/widgets/Legend/styles/card/CardView.d.ts +1 -0
  304. package/widgets/Legend/styles/card/CardView.js +1 -1
  305. package/widgets/Legend/styles/classic/ClassicView.d.ts +1 -0
  306. package/widgets/Legend/styles/classic/ClassicView.js +1 -1
  307. package/widgets/Legend/support/ActiveLayerInfo.d.ts +2 -0
  308. package/widgets/Legend.js +1 -1
  309. package/assets/esri/core/workers/chunks/03918a862455191a8910.js +0 -1
  310. package/assets/esri/core/workers/chunks/1630913399384030d0b9.js +0 -1
  311. package/assets/esri/core/workers/chunks/1a39335aa2dce6d564d9.js +0 -1
  312. package/assets/esri/core/workers/chunks/25bb07d3c32b16a08813.js +0 -1
  313. package/assets/esri/core/workers/chunks/25cc6d7178a52f2f46b7.js +0 -1
  314. package/assets/esri/core/workers/chunks/2e999b05ce179dd9fa08.js +0 -1
  315. package/assets/esri/core/workers/chunks/36792b8a85e88044cb49.js +0 -1
  316. package/assets/esri/core/workers/chunks/3acc1299c1382c3b034d.js +0 -1
  317. package/assets/esri/core/workers/chunks/430802108b63194b7ddd.js +0 -2
  318. package/assets/esri/core/workers/chunks/4396ef5ab3eb9e9a7df2.js +0 -1
  319. package/assets/esri/core/workers/chunks/4efe5827a5c61db3b19d.js +0 -2
  320. package/assets/esri/core/workers/chunks/5938d5f6e37f49867d5a.js +0 -1
  321. package/assets/esri/core/workers/chunks/70347d25968975126fa7.js +0 -1
  322. package/assets/esri/core/workers/chunks/8628c027198982baed7c.js +0 -1
  323. package/assets/esri/core/workers/chunks/8c521caf050a486b6548.js +0 -1
  324. package/assets/esri/core/workers/chunks/a6d4132a16c51323a38a.js +0 -1
  325. package/assets/esri/core/workers/chunks/add834f867900a7091d2.js +0 -1
  326. package/assets/esri/core/workers/chunks/b56c5883a5468b18b122.js +0 -1
  327. package/assets/esri/core/workers/chunks/b5a102cf9f4377fb9842.js +0 -1
  328. package/assets/esri/core/workers/chunks/b6409d89914030d5854a.js +0 -1
  329. package/assets/esri/core/workers/chunks/c118b88a7c4359e68d9b.js +0 -1
  330. package/assets/esri/core/workers/chunks/c5e288d57bacb8451e2d.js +0 -2
  331. package/assets/esri/core/workers/chunks/ce3fb992f6c6ae7378a3.js +0 -1
  332. package/assets/esri/core/workers/chunks/ceda1e08c9ff26248db0.js +0 -1
  333. package/assets/esri/core/workers/chunks/d5e3f8e5b8d2576d3cb3.js +0 -2
  334. package/assets/esri/core/workers/chunks/ddb5d29a8998d0a76fd4.js +0 -1
  335. package/assets/esri/core/workers/chunks/de8a3a0796bd115426c0.js +0 -1
  336. package/assets/esri/core/workers/chunks/e707534a700a2de687ca.js +0 -1
  337. package/assets/esri/core/workers/chunks/f465fb26541372fdc908.js +0 -2
  338. package/assets/esri/core/workers/chunks/f5423006fb07db7dd6ee.js +0 -1
  339. package/assets/esri/core/workers/chunks/fdad31bbe8aee68a6eaf.js +0 -1
  340. package/views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepthToReadShadowMap.glsl.js +0 -4
  341. package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadShadowMap.glsl.js +0 -18
  342. package/views/3d/webgl-engine/core/shaderLibrary/shading/ShadowmapFiltering.glsl.js +0 -4
  343. /package/assets/esri/core/workers/chunks/{430802108b63194b7ddd.js.LICENSE.txt → 033debcbf6b3683dc4fe.js.LICENSE.txt} +0 -0
  344. /package/assets/esri/core/workers/chunks/{4efe5827a5c61db3b19d.js.LICENSE.txt → 064445e6f9512817ac87.js.LICENSE.txt} +0 -0
  345. /package/assets/esri/core/workers/chunks/{c5e288d57bacb8451e2d.js.LICENSE.txt → 463d69f596d1d34ef275.js.LICENSE.txt} +0 -0
  346. /package/assets/esri/core/workers/chunks/{d5e3f8e5b8d2576d3cb3.js.LICENSE.txt → 58a17fb3c0dd07c63d57.js.LICENSE.txt} +0 -0
  347. /package/assets/esri/core/workers/chunks/{7f2ac03efaa4a4898ba2.js.LICENSE.txt → c3b96d1d43afccd23e45.js.LICENSE.txt} +0 -0
  348. /package/assets/esri/core/workers/chunks/{f465fb26541372fdc908.js.LICENSE.txt → ce08e3369641da0d7a27.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5228],{85334(t,i,s){s.d(i,{$:()=>R,IB:()=>_,Iy:()=>M,KV:()=>I,N2:()=>E,RH:()=>g,ZD:()=>T,sn:()=>S});var n=s(68197),e=s(4576),h=s(4718),r=s(34727);function _(t){return"r"in t&&"g"in t&&"b"in t}function a(t){return"h"in t&&"s"in t&&"v"in t}function o(t){return"l"in t&&"a"in t&&"b"in t}function l(t){return"l"in t&&"c"in t&&"h"in t}s(78955),s(91829);const u=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],c=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]];function x(t,i){const s=[];let n,e;if(t[0].length!==i.length)throw new Error("dimensions do not match");const h=t.length,r=t[0].length;let _=0;for(n=0;n<h;n++){for(_=0,e=0;e<r;e++)_+=t[n][e]*i[e];s.push(_)}return s}function y(t){const i=[t.r/255,t.g/255,t.b/255].map(t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4),s=x(u,i);return{x:100*s[0],y:100*s[1],z:100*s[2]}}function f(t){const i=x(c,[t.x/100,t.y/100,t.z/100]).map(t=>{const i=t<=.0031308?12.92*t:1.055*t**(1/2.4)-.055;return Math.min(1,Math.max(i,0))});return{r:Math.round(255*i[0]),g:Math.round(255*i[1]),b:Math.round(255*i[2])}}function m(t){const i=[t.x/95.047,t.y/100,t.z/108.883].map(t=>t>(6/29)**3?t**(1/3):1/3*(29/6)**2*t+4/29);return{l:116*i[1]-16,a:500*(i[0]-i[1]),b:200*(i[1]-i[2])}}function p(t){const i=t.l,s=[(i+16)/116+t.a/500,(i+16)/116,(i+16)/116-t.b/200].map(t=>t>6/29?t**3:3*(6/29)**2*(t-4/29));return{x:95.047*s[0],y:100*s[1],z:108.883*s[2]}}function R(t){return _(t)?t:l(t)?function(t){return f(p(function(t){const i=t.l,s=t.c,n=t.h;return{l:i,a:s*Math.cos(n),b:s*Math.sin(n)}}(t)))}(t):o(t)?function(t){return f(p(t))}(t):function(t){return"x"in t&&"y"in t&&"z"in t}(t)?f(t):a(t)?function(t){const i=(t.h+360)%360/60,s=t.s/100,n=t.v/100*255,e=n*s,h=e*(1-Math.abs(i%2-1));let r;switch(Math.floor(i)){case 0:r={r:e,g:h,b:0};break;case 1:r={r:h,g:e,b:0};break;case 2:r={r:0,g:e,b:h};break;case 3:r={r:0,g:h,b:e};break;case 4:r={r:h,g:0,b:e};break;case 5:case 6:r={r:e,g:0,b:h};break;default:r={r:0,g:0,b:0}}return r.r=Math.round(r.r+n-e),r.g=Math.round(r.g+n-e),r.b=Math.round(r.b+n-e),r}(t):t}function E(t){return a(t)?t:function(t){const{r:i,g:s,b:n}=t,e=Math.max(i,s,n),h=e-Math.min(i,s,n);let r=e,_=0===h?0:e===i?(s-n)/h%6:e===s?(n-i)/h+2:(i-s)/h+4,a=0===h?0:h/r;return _<0&&(_+=6),_*=60,a*=100,r*=100/255,{h:_,s:a,v:r}}(R(t))}function T(t){return o(t)?t:function(t){return m(y(t))}(R(t))}function g(t){return l(t)?t:function(t){return function(t){const i=t.l,s=t.a,n=t.b,e=Math.sqrt(s*s+n*n);let h=Math.atan2(n,s);return h=h>0?h:h+2*Math.PI,{l:i,c:e,h}}(m(y(t)))}(R(t))}function I(t){return t[0]??=0,t[1]??=0,t[2]??=0,t}function S(t){return t.length=4,I(t),t[3]??=1,(0,r.qE)(t[3],0,1),t}function M(t,i,s={}){if(0===t.length||i<=0)return[];if(1===(t=t.map(t=>"string"==typeof t?new n.A(t):t)).length||1===i){const s=[],n=t[0];for(let t=0;t<i;t++)s.push(n.clone());return s}if(s.shuffle&&(t=(0,e.k4)((0,h.o8)(t),s.seed)),t.length>=i){const s=[],n=(t.length-1)/(i-1);for(let e=0;e<i;e++){const i=Math.round(e*n);s.push(t[i].clone())}return s}return function(t,i,s={}){const n=[],h=t.length-1,r=Math.ceil((i-t.length)/h);t:for(let e=0;e<h;e++){const h=t[e],_=t[e+1];for(let e=1;e<=r;e++){const a=e/(r+1);if(n.push(d(h,_,a,s)),n.length+t.length===i)break t}}return[...t.map(t=>t.clone()),...(0,e.k4)(n,s.seed??1)]}(t,i,s)}const N=(t,i)=>{const s=Math.floor(10*i())-5;return Math.min(255,Math.max(0,t+s))};function d(t,i,s,h={}){const r=t.r,_=t.g,a=t.b,o=i.r,l=i.g,u=i.b,c=Math.round(r+(o-r)*s),x=Math.round(_+(l-_)*s),y=Math.round(a+(u-a)*s);if(!h.offset)return new n.A([c,x,y]);const f=(0,e.Mo)(h.seed);return new n.A([N(c,f),N(x,f),N(y,f)])}},6774(t,i,s){s.d(i,{O3:()=>h,Ox:()=>r,bR:()=>n});class n{constructor(t,i){this.x=t,this.y=i}static fromArray(t){return new n(t[0],t[1])}clone(){return new n(this.x,this.y)}equals(t,i){return t===this.x&&i===this.y}isEqual(t){return t.x===this.x&&t.y===this.y}setCoords(t,i){return this.x=t,this.y=i,this}normalize(){const t=this.x,i=this.y,s=Math.sqrt(t*t+i*i);return this.x/=s,this.y/=s,this}rightPerpendicular(){const t=this.x;return this.x=this.y,this.y=-t,this}leftPerpendicular(){const t=this.x;return this.x=-this.y,this.y=t,this}move(t,i){return this.x+=t,this.y+=i,this}assign(t){return this.x=t.x,this.y=t.y,this}assignAdd(t,i){return this.x=t.x+i.x,this.y=t.y+i.y,this}assignSub(t,i){return this.x=t.x-i.x,this.y=t.y-i.y,this}rotate(t,i){const s=this.x,n=this.y;return this.x=s*t-n*i,this.y=s*i+n*t,this}rotateReverse(t,i){const s=this.x,n=this.y;return this.x=s*t+n*i,this.y=-s*i+n*t,this}scale(t){return this.x*=t,this.y*=t,this}length(){const t=this.x,i=this.y;return Math.sqrt(t*t+i*i)}sub(t){return this.x-=t.x,this.y-=t.y,this}add(t){return this.x+=t.x,this.y+=t.y,this}static distance(t,i){const s=i.x-t.x,n=i.y-t.y;return Math.sqrt(s*s+n*n)}static add(t,i){return new n(t.x+i.x,t.y+i.y)}static sub(t,i){return new n(t.x-i.x,t.y-i.y)}}class e{constructor(t,i,s){this.ratio=t,this.x=i,this.y=s}}class h{constructor(t,i,s,n=8,e=8){this._lines=[],this._starts=[],this.validateTessellation=!0,this._pixelRatio=n,this._pixelMargin=e,this._tileSize=512*n,this._dz=t,this._yPos=i,this._xPos=s}setPixelMargin(t){t!==this._pixelMargin&&(this._pixelMargin=t,this.setExtent(this._extent))}setExtent(t){this._extent=t,this._finalRatio=this._tileSize/t*(1<<this._dz);let i=this._pixelRatio*this._pixelMargin;i/=this._finalRatio;const s=t>>this._dz;i>s&&(i=s),this._margin=i,this._xmin=s*this._xPos-i,this._ymin=s*this._yPos-i,this._xmax=this._xmin+s+2*i,this._ymax=this._ymin+s+2*i}reset(t){this._type=t,this._lines=[],this._starts=[],this._line=null,this._start=0}moveTo(t,i){this._pushLine(),this._prevIsIn=this._isIn(t,i),this._moveTo(t,i,this._prevIsIn),this._prevPt=new n(t,i),this._firstPt=new n(t,i),this._dist=0}lineTo(t,i){const s=this._isIn(t,i),h=new n(t,i),r=n.distance(this._prevPt,h);let _,a,o,l,u,c,x,y;if(s)this._prevIsIn?this._lineTo(t,i,!0):(_=this._prevPt,a=h,o=this._intersect(a,_),this._start=this._dist+r*(1-this._r),this._lineTo(o.x,o.y,!0),this._lineTo(a.x,a.y,!0));else if(this._prevIsIn)a=this._prevPt,_=h,o=this._intersect(a,_),this._lineTo(o.x,o.y,!0),this._lineTo(_.x,_.y,!1);else{const t=this._prevPt,i=h;if(t.x<=this._xmin&&i.x<=this._xmin||t.x>=this._xmax&&i.x>=this._xmax||t.y<=this._ymin&&i.y<=this._ymin||t.y>=this._ymax&&i.y>=this._ymax)this._lineTo(i.x,i.y,!1);else{const s=[];if((t.x<this._xmin&&i.x>this._xmin||t.x>this._xmin&&i.x<this._xmin)&&(l=(this._xmin-t.x)/(i.x-t.x),y=t.y+l*(i.y-t.y),y<=this._ymin?c=!1:y>=this._ymax?c=!0:s.push(new e(l,this._xmin,y))),(t.x<this._xmax&&i.x>this._xmax||t.x>this._xmax&&i.x<this._xmax)&&(l=(this._xmax-t.x)/(i.x-t.x),y=t.y+l*(i.y-t.y),y<=this._ymin?c=!1:y>=this._ymax?c=!0:s.push(new e(l,this._xmax,y))),(t.y<this._ymin&&i.y>this._ymin||t.y>this._ymin&&i.y<this._ymin)&&(l=(this._ymin-t.y)/(i.y-t.y),x=t.x+l*(i.x-t.x),x<=this._xmin?u=!1:x>=this._xmax?u=!0:s.push(new e(l,x,this._ymin))),(t.y<this._ymax&&i.y>this._ymax||t.y>this._ymax&&i.y<this._ymax)&&(l=(this._ymax-t.y)/(i.y-t.y),x=t.x+l*(i.x-t.x),x<=this._xmin?u=!1:x>=this._xmax?u=!0:s.push(new e(l,x,this._ymax))),0===s.length)u?c?this._lineTo(this._xmax,this._ymax,!0):this._lineTo(this._xmax,this._ymin,!0):c?this._lineTo(this._xmin,this._ymax,!0):this._lineTo(this._xmin,this._ymin,!0);else if(s.length>1&&s[0].ratio>s[1].ratio)this._start=this._dist+r*s[1].ratio,this._lineTo(s[1].x,s[1].y,!0),this._lineTo(s[0].x,s[0].y,!0);else{this._start=this._dist+r*s[0].ratio;for(let t=0;t<s.length;t++)this._lineTo(s[t].x,s[t].y,!0)}this._lineTo(i.x,i.y,!1)}}this._dist+=r,this._prevIsIn=s,this._prevPt=h}close(){if(this._line.length>2){const t=this._firstPt,i=this._prevPt;t.x===i.x&&t.y===i.y||this.lineTo(t.x,t.y);const s=this._line;let n=s.length;for(;n>=4&&(s[0].x===s[1].x&&s[0].x===s[n-2].x||s[0].y===s[1].y&&s[0].y===s[n-2].y);)s.pop(),s[0].x=s[n-2].x,s[0].y=s[n-2].y,--n}}result(t=!0){return this._pushLine(),0===this._lines.length?null:(3===this._type&&t&&_.simplify(this._tileSize,this._margin*this._finalRatio,this._lines),this._lines)}resultWithStarts(){if(2!==this._type)throw new Error("Only valid for lines");this._pushLine();const t=this._lines,i=t.length;if(0===i)return null;const s=[];for(let n=0;n<i;n++)s.push({line:t[n],start:this._starts[n]||0});return s}_isIn(t,i){return t>=this._xmin&&t<=this._xmax&&i>=this._ymin&&i<=this._ymax}_intersect(t,i){let s,e,h;if(i.x>=this._xmin&&i.x<=this._xmax)e=i.y<=this._ymin?this._ymin:this._ymax,h=(e-t.y)/(i.y-t.y),s=t.x+h*(i.x-t.x);else if(i.y>=this._ymin&&i.y<=this._ymax)s=i.x<=this._xmin?this._xmin:this._xmax,h=(s-t.x)/(i.x-t.x),e=t.y+h*(i.y-t.y);else{e=i.y<=this._ymin?this._ymin:this._ymax,s=i.x<=this._xmin?this._xmin:this._xmax;const n=(s-t.x)/(i.x-t.x),r=(e-t.y)/(i.y-t.y);n<r?(h=n,e=t.y+n*(i.y-t.y)):(h=r,s=t.x+r*(i.x-t.x))}return this._r=h,new n(s,e)}_pushLine(){this._line&&(1===this._type?this._line.length>0&&(this._lines.push(this._line),this._starts.push(this._start)):2===this._type?this._line.length>1&&(this._lines.push(this._line),this._starts.push(this._start)):3===this._type&&this._line.length>3&&(this._lines.push(this._line),this._starts.push(this._start))),this._line=[],this._start=0}_moveTo(t,i,s){3!==this._type?s&&(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line.push(new n(t,i))):(s||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),i<this._ymin&&(i=this._ymin),i>this._ymax&&(i=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line.push(new n(t,i)),this._isH=!1,this._isV=!1)}_lineTo(t,i,s){let e,h;if(3!==this._type)if(s){if(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line.length>0&&(e=this._line[this._line.length-1],e.equals(t,i)))return;this._line.push(new n(t,i))}else this._line&&this._line.length>0&&this._pushLine();else if(s||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),i<this._ymin&&(i=this._ymin),i>this._ymax&&(i=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line&&this._line.length>0){e=this._line[this._line.length-1];const s=e.x===t,r=e.y===i;if(s&&r)return;this._isH&&s||this._isV&&r?(e.x=t,e.y=i,h=this._line[this._line.length-2],h.x===t&&h.y===i?(this._line.pop(),this._line.length<=1?(this._isH=!1,this._isV=!1):(h=this._line[this._line.length-2],this._isH=h.x===t,this._isV=h.y===i)):(this._isH=h.x===t,this._isV=h.y===i)):(this._line.push(new n(t,i)),this._isH=s,this._isV=r)}else this._line.push(new n(t,i))}}class r{setExtent(t){this._ratio=4096===t?1:4096/t}get validateTessellation(){return this._ratio<1}reset(t){this._lines=[],this._line=null}moveTo(t,i){this._line&&this._lines.push(this._line),this._line=[];const s=this._ratio;this._line.push(new n(t*s,i*s))}lineTo(t,i){const s=this._ratio;this._line.push(new n(t*s,i*s))}close(){const t=this._line;t&&!t[0].isEqual(t[t.length-1])&&t.push(t[0])}result(){return this._line&&this._lines.push(this._line),0===this._lines.length?null:this._lines}}class _{static simplify(t,i,s){if(!s)return;const n=-i,e=t+i,h=-i,r=t+i,a=[],o=[],l=s.length;for(let t=0;t<l;++t){const i=s[t];if(!i||i.length<2)continue;let _,l=i[0];const u=i.length;for(let s=1;s<u;++s)_=i[s],l.x===_.x&&(l.x<=n&&(l.y>_.y?(a.push(t),a.push(s),a.push(0),a.push(-1)):(o.push(t),o.push(s),o.push(0),o.push(-1))),l.x>=e&&(l.y<_.y?(a.push(t),a.push(s),a.push(1),a.push(-1)):(o.push(t),o.push(s),o.push(1),o.push(-1)))),l.y===_.y&&(l.y<=h&&(l.x<_.x?(a.push(t),a.push(s),a.push(2),a.push(-1)):(o.push(t),o.push(s),o.push(2),o.push(-1))),l.y>=r&&(l.x>_.x?(a.push(t),a.push(s),a.push(3),a.push(-1)):(o.push(t),o.push(s),o.push(3),o.push(-1)))),l=_}if(0===a.length||0===o.length)return;_.fillParent(s,o,a),_.fillParent(s,a,o);const u=[];_.calcDeltas(u,o,a),_.calcDeltas(u,a,o),_.addDeltas(u,s)}static fillParent(t,i,s){const n=s.length,e=i.length;for(let h=0;h<e;h+=4){const e=i[h],r=i[h+1],_=i[h+2],o=t[e][r-1],l=t[e][r];let u=8092,c=-1;for(let i=0;i<n;i+=4){if(s[i+2]!==_)continue;const n=s[i],e=s[i+1],h=t[n][e-1],r=t[n][e];switch(_){case 0:case 1:if(a(o.y,h.y,r.y)&&a(l.y,h.y,r.y)){const t=Math.abs(r.y-h.y);t<u&&(u=t,c=i)}break;case 2:case 3:if(a(o.x,h.x,r.x)&&a(l.x,h.x,r.x)){const t=Math.abs(r.x-h.x);t<u&&(u=t,c=i)}}}i[h+3]=c}}static calcDeltas(t,i,s){const n=i.length;for(let e=0;e<n;e+=4){const n=[],h=_.calcDelta(e,i,s,n);t.push(i[e]),t.push(i[e+1]),t.push(i[e+2]),t.push(h)}}static calcDelta(t,i,s,n){const e=i[t+3];if(-1===e)return 0;const h=n.length;return h>1&&n[h-2]===e?0:(n.push(e),_.calcDelta(e,s,i,n)+1)}static addDeltas(t,i){const s=t.length;let n=0;for(let i=0;i<s;i+=4){const s=t[i+3];s>n&&(n=s)}for(let e=0;e<s;e+=4){const s=i[t[e]],h=t[e+1],r=n-t[e+3];switch(t[e+2]){case 0:s[h-1].x-=r,s[h].x-=r,1===h&&(s[s.length-1].x-=r),h===s.length-1&&(s[0].x-=r);break;case 1:s[h-1].x+=r,s[h].x+=r,1===h&&(s[s.length-1].x+=r),h===s.length-1&&(s[0].x+=r);break;case 2:s[h-1].y-=r,s[h].y-=r,1===h&&(s[s.length-1].y-=r),h===s.length-1&&(s[0].y-=r);break;case 3:s[h-1].y+=r,s[h].y+=r,1===h&&(s[s.length-1].y+=r),h===s.length-1&&(s[0].y+=r)}}}}const a=(t,i,s)=>t>=i&&t<=s||t>=s&&t<=i},13195(t,i,s){s.d(i,{GW:()=>m,IU:()=>p,Wh:()=>c,cP:()=>T,p6:()=>f,ru:()=>E,s3:()=>R,wV:()=>y,yM:()=>g,z0:()=>x});var n=s(95108),e=s(6774);const h=Number.POSITIVE_INFINITY,r=Math.PI,_=2*r,a=128/r,o=256/360,l=r/180,u=1/Math.LN2;function c(t,i){return(t%=i)>=0?t:t+i}function x(t){return c(t*a,256)}function y(t){return c(t*o,256)}function f(t){return Math.log(t)*u}function m(t,i,s){return t*(1-s)+i*s}function p(t){return 8+Math.max(16*(t-14),0)}function R(t,i,s){let n,e,h,r=0;for(const _ of s){n=_.length;for(let s=1;s<n;++s)e=_[s-1],h=_[s],e.y>i!=h.y>i&&((h.x-e.x)*(i-e.y)-(h.y-e.y)*(t-e.x)>0?r++:r--)}return 0!==r}function E(t,i,s,e){let h,r,_,a;const o=e*e;for(const e of s){const s=e.length;if(!(s<2)){h=e[0].x,r=e[0].y;for(let l=1;l<s;++l){if(_=e[l].x,a=e[l].y,(0,n.Ng)(t,i,h,r,_,a)<o)return!0;h=_,r=a}}}return!1}function T(t,i){if(0===i||Number.isNaN(i))return t;const s=[],n=new e.bR(0,0),h=new e.bR(0,0),r=new e.bR(0,0);for(let _=0;_<t.length;_++){const a=t[_],o=[];for(let t=0;t<a.length;t++){const s=a[t-1],_=a[t],l=a[t+1];0===t?n.setCoords(0,0):n.assignSub(_,s).normalize().rightPerpendicular(),t===a.length-1?h.setCoords(0,0):h.assignSub(l,_).normalize().rightPerpendicular(),r.assignAdd(n,h).normalize();const u=r.x*h.x+r.y*h.y;0!==u&&r.scale(1/u),o.push(e.bR.add(_,r.scale(i)))}s.push(o)}return s}function g(t,i,s,n){const h=new e.bR(t[0],t[1]);if(h.scale(n),"viewport"===i){const t=-s*(Math.PI/180),i=Math.cos(t),n=Math.sin(t);h.rotate(i,n)}return h}s.d(i,["Jo",0,r,"MG",0,h,"aA",0,o,"os",0,l,"pJ",0,_])},89518(t,i,s){s.d(i,{M9:()=>_,Ss:()=>a,fw:()=>l,lj:()=>h,ws:()=>o});const n=new Float32Array(1),e=new Uint32Array(n.buffer);function h(t){return function(t,i,s){return Math.round(Math.max(Math.min(t,s),i))}(t,-32768,32767)}function r(t){return n[0]=t,e[0]}function _(t,i){return 65535&t|i<<16}function a(t,i,s,n){return 255&t|(255&i)<<8|(255&s)<<16|n<<24}function o(t,i){return 255&t|(255&i)<<8}function l(t){const i=r(t),s=i>>>31;let n=i>>>23&255,e=8388607&i;return n-=127,n>15?s<<15|31744:n<-25?0:(n<-14&&(e+=8388608,e/=2**(-14-n),n=-15),n+=15,e/=8192,e=function(t){const i=Math.floor(t),s=t-i;return i<1023&&(s>.5||.5===s&&i%2==1)?i+1:i}(e),s<<15|n<<10|e)}},68572(t,i,s){s.d(i,{H:()=>r,q:()=>_}),s(44208);var n=s(23304),e=s(63907);function h(t){switch(t){case e.pe.BYTE:case e.pe.UNSIGNED_BYTE:return 1;case e.pe.SHORT:case e.pe.UNSIGNED_SHORT:case e.pe.HALF_FLOAT:return 2;case e.pe.FLOAT:case e.pe.INT:case e.pe.UNSIGNED_INT:return 4}}function r(t){const i=[],s=[],n=[];for(const e of t){const t=h(e.type)*e.count;switch(t%2||t%4||4){case 4:i.push(e);continue;case 2:s.push(e);continue;case 1:n.push(e);continue;default:throw new Error("Found unexpected dataType byte count")}}return i.push(...s),i.push(...n),i}class _{static fromVertexSpec(t,i){const s=t.attributes,n=t.optionalAttributes;let e,a,o;const l=[];for(const t in s){if(s[t].otherSource)continue;const i=s[t];"position"===i.pack?e={...i,name:t,offset:0}:"id"===i.pack?a={...i,name:t,offset:4}:"bitset"===t?o={...i,name:t,offset:7}:l.push({...i,name:t})}for(const t in n)if(!0===i[t]){const i=n[t];l.push({...i,name:t})}const u=r(l),c=[];let x=8,y=1;for(const t of u)c.push({...t,offset:x}),x+=h(t.type)*t.count,t.packAlternating&&(y=Math.max(t.packAlternating.count,y));const f=Uint32Array.BYTES_PER_ELEMENT,m=x%f;return new _(e,a,o,c,x+(m?f-m:0),y)}constructor(t,i,s,n,e,h){this.position=t,this.id=i,this.bitset=s,this.standardAttributes=n,this.stride=e,this.packVertexCount=h,n.push(s),this._attributes=[t,i,s,...n]}get attributeLayout(){if(!this._attributeLayout){const t=(0,n.hU)(this._attributes),i=this._attributes.map(t=>({name:t.name,count:t.count,offset:t.offset,type:t.type,packPrecisionFactor:t.packPrecisionFactor,normalized:t.normalized??!1}));this._attributeLayout={attributes:i,hash:t,stride:this.stride}}return this._attributeLayout}}},23304(t,i,s){s.d(i,{Ph:()=>h,Z0:()=>r,hU:()=>e});var n=s(799);function e(t){const i=t.map(({name:t,count:i,type:s})=>`${t}.${i}.${s}`).join(",");return(0,n.Wm)(i)}function h(t,i,s,n,e,r,_){if(t.primitiveName===i){let i=n?.readWithDefault(e,r,t[s]&&_);return"text"===t.type&&(i=i.toString()),void(t[s]=i)}if("type"in t&&null!=t.type){if(t.effects)for(const a of t.effects)h(a,i,s,n,e,r,_);switch(t.type){case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":if(t.symbolLayers)for(const a of t.symbolLayers)h(a,i,s,n,e,r,_);break;case"CIMTextSymbol":t.symbol&&h(t.symbol,i,s,n,e,r,_);break;case"CIMHatchFill":t.lineSymbol&&h(t.lineSymbol,i,s,n,e,r,_);break;case"CIMPictureMarker":case"CIMCharacterMarker":case"CIMVectorMarker":if(t.markerPlacement&&h(t.markerPlacement,i,s,n,e,r,_),"CIMVectorMarker"===t.type&&t.markerGraphics)for(const a of t.markerGraphics)h(a,i,s,n,e,r,_),h(a.symbol,i,s,n,e,r,_)}}}function r(t){const i=Math.max(1.25*t.width,20);return null!=t.effects&&t.effects.length>0?400:i}},63907(t,i,s){const n={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},e={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},h=Object.values(e),r={FLOAT:n.FLOAT,UNSIGNED_BYTE:n.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:n.BYTE,UNSIGNED_SHORT:n.UNSIGNED_SHORT,SHORT:n.SHORT,UNSIGNED_INT:n.UNSIGNED_INT,INT:n.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269};s.d(i,["CQ",0,{COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497},"H0",0,e,"SB",0,{DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},"WR",0,{POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},"XN",0,h,"iE",0,{DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},"ld",0,r,"pe",0,n,"vt",0,{Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12}])}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5228],{85334(t,i,s){s.d(i,{$:()=>R,IB:()=>_,Iy:()=>M,KV:()=>I,N2:()=>E,RH:()=>g,ZD:()=>T,sn:()=>S});var n=s(68197),e=s(4576),h=s(4718),r=s(34727);function _(t){return"r"in t&&"g"in t&&"b"in t}function a(t){return"h"in t&&"s"in t&&"v"in t}function o(t){return"l"in t&&"a"in t&&"b"in t}function l(t){return"l"in t&&"c"in t&&"h"in t}s(78955),s(91829);const u=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],c=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]];function x(t,i){const s=[];let n,e;if(t[0].length!==i.length)throw new Error("dimensions do not match");const h=t.length,r=t[0].length;let _=0;for(n=0;n<h;n++){for(_=0,e=0;e<r;e++)_+=t[n][e]*i[e];s.push(_)}return s}function y(t){const i=[t.r/255,t.g/255,t.b/255].map(t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4),s=x(u,i);return{x:100*s[0],y:100*s[1],z:100*s[2]}}function f(t){const i=x(c,[t.x/100,t.y/100,t.z/100]).map(t=>{const i=t<=.0031308?12.92*t:1.055*t**(1/2.4)-.055;return Math.min(1,Math.max(i,0))});return{r:Math.round(255*i[0]),g:Math.round(255*i[1]),b:Math.round(255*i[2])}}function m(t){const i=[t.x/95.047,t.y/100,t.z/108.883].map(t=>t>(6/29)**3?t**(1/3):1/3*(29/6)**2*t+4/29);return{l:116*i[1]-16,a:500*(i[0]-i[1]),b:200*(i[1]-i[2])}}function p(t){const i=t.l,s=[(i+16)/116+t.a/500,(i+16)/116,(i+16)/116-t.b/200].map(t=>t>6/29?t**3:3*(6/29)**2*(t-4/29));return{x:95.047*s[0],y:100*s[1],z:108.883*s[2]}}function R(t){return _(t)?t:l(t)?function(t){return f(p(function(t){const i=t.l,s=t.c,n=t.h;return{l:i,a:s*Math.cos(n),b:s*Math.sin(n)}}(t)))}(t):o(t)?function(t){return f(p(t))}(t):function(t){return"x"in t&&"y"in t&&"z"in t}(t)?f(t):a(t)?function(t){const i=(t.h+360)%360/60,s=t.s/100,n=t.v/100*255,e=n*s,h=e*(1-Math.abs(i%2-1));let r;switch(Math.floor(i)){case 0:r={r:e,g:h,b:0};break;case 1:r={r:h,g:e,b:0};break;case 2:r={r:0,g:e,b:h};break;case 3:r={r:0,g:h,b:e};break;case 4:r={r:h,g:0,b:e};break;case 5:case 6:r={r:e,g:0,b:h};break;default:r={r:0,g:0,b:0}}return r.r=Math.round(r.r+n-e),r.g=Math.round(r.g+n-e),r.b=Math.round(r.b+n-e),r}(t):t}function E(t){return a(t)?t:function(t){const{r:i,g:s,b:n}=t,e=Math.max(i,s,n),h=e-Math.min(i,s,n);let r=e,_=0===h?0:e===i?(s-n)/h%6:e===s?(n-i)/h+2:(i-s)/h+4,a=0===h?0:h/r;return _<0&&(_+=6),_*=60,a*=100,r*=100/255,{h:_,s:a,v:r}}(R(t))}function T(t){return o(t)?t:function(t){return m(y(t))}(R(t))}function g(t){return l(t)?t:function(t){return function(t){const i=t.l,s=t.a,n=t.b,e=Math.sqrt(s*s+n*n);let h=Math.atan2(n,s);return h=h>0?h:h+2*Math.PI,{l:i,c:e,h}}(m(y(t)))}(R(t))}function I(t){return t[0]??=0,t[1]??=0,t[2]??=0,t}function S(t){return t.length=4,I(t),t[3]??=1,(0,r.qE)(t[3],0,1),t}function M(t,i,s={}){if(0===t.length||i<=0)return[];if(1===(t=t.map(t=>"string"==typeof t?new n.A(t):t)).length||1===i){const s=[],n=t[0];for(let t=0;t<i;t++)s.push(n.clone());return s}if(s.shuffle&&(t=(0,e.k4)((0,h.o8)(t),s.seed)),t.length>=i){const s=[],n=(t.length-1)/(i-1);for(let e=0;e<i;e++){const i=Math.round(e*n);s.push(t[i].clone())}return s}return function(t,i,s={}){const n=[],h=t.length-1,r=Math.ceil((i-t.length)/h);t:for(let e=0;e<h;e++){const h=t[e],_=t[e+1];for(let e=1;e<=r;e++){const a=e/(r+1);if(n.push(d(h,_,a,s)),n.length+t.length===i)break t}}return[...t.map(t=>t.clone()),...(0,e.k4)(n,s.seed??1)]}(t,i,s)}const N=(t,i)=>{const s=Math.floor(10*i())-5;return Math.min(255,Math.max(0,t+s))};function d(t,i,s,h={}){const r=t.r,_=t.g,a=t.b,o=i.r,l=i.g,u=i.b,c=Math.round(r+(o-r)*s),x=Math.round(_+(l-_)*s),y=Math.round(a+(u-a)*s);if(!h.offset)return new n.A([c,x,y]);const f=(0,e.Mo)(h.seed);return new n.A([N(c,f),N(x,f),N(y,f)])}},6774(t,i,s){s.d(i,{O3:()=>h,Ox:()=>r,bR:()=>n});class n{constructor(t,i){this.x=t,this.y=i}static fromArray(t){return new n(t[0],t[1])}clone(){return new n(this.x,this.y)}equals(t,i){return t===this.x&&i===this.y}isEqual(t){return t.x===this.x&&t.y===this.y}setCoords(t,i){return this.x=t,this.y=i,this}normalize(){const t=this.x,i=this.y,s=Math.sqrt(t*t+i*i);return this.x/=s,this.y/=s,this}rightPerpendicular(){const t=this.x;return this.x=this.y,this.y=-t,this}leftPerpendicular(){const t=this.x;return this.x=-this.y,this.y=t,this}move(t,i){return this.x+=t,this.y+=i,this}assign(t){return this.x=t.x,this.y=t.y,this}assignAdd(t,i){return this.x=t.x+i.x,this.y=t.y+i.y,this}assignSub(t,i){return this.x=t.x-i.x,this.y=t.y-i.y,this}rotate(t,i){const s=this.x,n=this.y;return this.x=s*t-n*i,this.y=s*i+n*t,this}rotateReverse(t,i){const s=this.x,n=this.y;return this.x=s*t+n*i,this.y=-s*i+n*t,this}scale(t){return this.x*=t,this.y*=t,this}length(){const t=this.x,i=this.y;return Math.sqrt(t*t+i*i)}sub(t){return this.x-=t.x,this.y-=t.y,this}add(t){return this.x+=t.x,this.y+=t.y,this}static distance(t,i){const s=i.x-t.x,n=i.y-t.y;return Math.sqrt(s*s+n*n)}static add(t,i){return new n(t.x+i.x,t.y+i.y)}static sub(t,i){return new n(t.x-i.x,t.y-i.y)}}class e{constructor(t,i,s){this.ratio=t,this.x=i,this.y=s}}class h{constructor(t,i,s,n=8,e=8){this._lines=[],this._starts=[],this.validateTessellation=!0,this._pixelRatio=n,this._pixelMargin=e,this._tileSize=512*n,this._dz=t,this._yPos=i,this._xPos=s}setPixelMargin(t){t!==this._pixelMargin&&(this._pixelMargin=t,this.setExtent(this._extent))}setExtent(t){this._extent=t,this._finalRatio=this._tileSize/t*(1<<this._dz);let i=this._pixelRatio*this._pixelMargin;i/=this._finalRatio;const s=t>>this._dz;i>s&&(i=s),this._margin=i,this._xmin=s*this._xPos-i,this._ymin=s*this._yPos-i,this._xmax=this._xmin+s+2*i,this._ymax=this._ymin+s+2*i}reset(t){this._type=t,this._lines=[],this._starts=[],this._line=null,this._start=0}moveTo(t,i){this._pushLine(),this._prevIsIn=this._isIn(t,i),this._moveTo(t,i,this._prevIsIn),this._prevPt=new n(t,i),this._firstPt=new n(t,i),this._dist=0}lineTo(t,i){const s=this._isIn(t,i),h=new n(t,i),r=n.distance(this._prevPt,h);let _,a,o,l,u,c,x,y;if(s)this._prevIsIn?this._lineTo(t,i,!0):(_=this._prevPt,a=h,o=this._intersect(a,_),this._start=this._dist+r*(1-this._r),this._lineTo(o.x,o.y,!0),this._lineTo(a.x,a.y,!0));else if(this._prevIsIn)a=this._prevPt,_=h,o=this._intersect(a,_),this._lineTo(o.x,o.y,!0),this._lineTo(_.x,_.y,!1);else{const t=this._prevPt,i=h;if(t.x<=this._xmin&&i.x<=this._xmin||t.x>=this._xmax&&i.x>=this._xmax||t.y<=this._ymin&&i.y<=this._ymin||t.y>=this._ymax&&i.y>=this._ymax)this._lineTo(i.x,i.y,!1);else{const s=[];if((t.x<this._xmin&&i.x>this._xmin||t.x>this._xmin&&i.x<this._xmin)&&(l=(this._xmin-t.x)/(i.x-t.x),y=t.y+l*(i.y-t.y),y<=this._ymin?c=!1:y>=this._ymax?c=!0:s.push(new e(l,this._xmin,y))),(t.x<this._xmax&&i.x>this._xmax||t.x>this._xmax&&i.x<this._xmax)&&(l=(this._xmax-t.x)/(i.x-t.x),y=t.y+l*(i.y-t.y),y<=this._ymin?c=!1:y>=this._ymax?c=!0:s.push(new e(l,this._xmax,y))),(t.y<this._ymin&&i.y>this._ymin||t.y>this._ymin&&i.y<this._ymin)&&(l=(this._ymin-t.y)/(i.y-t.y),x=t.x+l*(i.x-t.x),x<=this._xmin?u=!1:x>=this._xmax?u=!0:s.push(new e(l,x,this._ymin))),(t.y<this._ymax&&i.y>this._ymax||t.y>this._ymax&&i.y<this._ymax)&&(l=(this._ymax-t.y)/(i.y-t.y),x=t.x+l*(i.x-t.x),x<=this._xmin?u=!1:x>=this._xmax?u=!0:s.push(new e(l,x,this._ymax))),0===s.length)u?c?this._lineTo(this._xmax,this._ymax,!0):this._lineTo(this._xmax,this._ymin,!0):c?this._lineTo(this._xmin,this._ymax,!0):this._lineTo(this._xmin,this._ymin,!0);else if(s.length>1&&s[0].ratio>s[1].ratio)this._start=this._dist+r*s[1].ratio,this._lineTo(s[1].x,s[1].y,!0),this._lineTo(s[0].x,s[0].y,!0);else{this._start=this._dist+r*s[0].ratio;for(let t=0;t<s.length;t++)this._lineTo(s[t].x,s[t].y,!0)}this._lineTo(i.x,i.y,!1)}}this._dist+=r,this._prevIsIn=s,this._prevPt=h}close(){if(this._line.length>2){const t=this._firstPt,i=this._prevPt;t.x===i.x&&t.y===i.y||this.lineTo(t.x,t.y);const s=this._line;let n=s.length;for(;n>=4&&(s[0].x===s[1].x&&s[0].x===s[n-2].x||s[0].y===s[1].y&&s[0].y===s[n-2].y);)s.pop(),s[0].x=s[n-2].x,s[0].y=s[n-2].y,--n}}result(t=!0){return this._pushLine(),0===this._lines.length?null:(3===this._type&&t&&_.simplify(this._tileSize,this._margin*this._finalRatio,this._lines),this._lines)}resultWithStarts(){if(2!==this._type)throw new Error("Only valid for lines");this._pushLine();const t=this._lines,i=t.length;if(0===i)return null;const s=[];for(let n=0;n<i;n++)s.push({line:t[n],start:this._starts[n]||0});return s}_isIn(t,i){return t>=this._xmin&&t<=this._xmax&&i>=this._ymin&&i<=this._ymax}_intersect(t,i){let s,e,h;if(i.x>=this._xmin&&i.x<=this._xmax)e=i.y<=this._ymin?this._ymin:this._ymax,h=(e-t.y)/(i.y-t.y),s=t.x+h*(i.x-t.x);else if(i.y>=this._ymin&&i.y<=this._ymax)s=i.x<=this._xmin?this._xmin:this._xmax,h=(s-t.x)/(i.x-t.x),e=t.y+h*(i.y-t.y);else{e=i.y<=this._ymin?this._ymin:this._ymax,s=i.x<=this._xmin?this._xmin:this._xmax;const n=(s-t.x)/(i.x-t.x),r=(e-t.y)/(i.y-t.y);n<r?(h=n,e=t.y+n*(i.y-t.y)):(h=r,s=t.x+r*(i.x-t.x))}return this._r=h,new n(s,e)}_pushLine(){this._line&&(1===this._type?this._line.length>0&&(this._lines.push(this._line),this._starts.push(this._start)):2===this._type?this._line.length>1&&(this._lines.push(this._line),this._starts.push(this._start)):3===this._type&&this._line.length>3&&(this._lines.push(this._line),this._starts.push(this._start))),this._line=[],this._start=0}_moveTo(t,i,s){3!==this._type?s&&(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line.push(new n(t,i))):(s||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),i<this._ymin&&(i=this._ymin),i>this._ymax&&(i=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line.push(new n(t,i)),this._isH=!1,this._isV=!1)}_lineTo(t,i,s){let e,h;if(3!==this._type)if(s){if(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line.length>0&&(e=this._line[this._line.length-1],e.equals(t,i)))return;this._line.push(new n(t,i))}else this._line&&this._line.length>0&&this._pushLine();else if(s||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),i<this._ymin&&(i=this._ymin),i>this._ymax&&(i=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line&&this._line.length>0){e=this._line[this._line.length-1];const s=e.x===t,r=e.y===i;if(s&&r)return;this._isH&&s||this._isV&&r?(e.x=t,e.y=i,h=this._line[this._line.length-2],h.x===t&&h.y===i?(this._line.pop(),this._line.length<=1?(this._isH=!1,this._isV=!1):(h=this._line[this._line.length-2],this._isH=h.x===t,this._isV=h.y===i)):(this._isH=h.x===t,this._isV=h.y===i)):(this._line.push(new n(t,i)),this._isH=s,this._isV=r)}else this._line.push(new n(t,i))}}class r{setExtent(t){this._ratio=4096===t?1:4096/t}get validateTessellation(){return this._ratio<1}reset(t){this._lines=[],this._line=null}moveTo(t,i){this._line&&this._lines.push(this._line),this._line=[];const s=this._ratio;this._line.push(new n(t*s,i*s))}lineTo(t,i){const s=this._ratio;this._line.push(new n(t*s,i*s))}close(){const t=this._line;t&&!t[0].isEqual(t[t.length-1])&&t.push(t[0])}result(){return this._line&&this._lines.push(this._line),0===this._lines.length?null:this._lines}}class _{static simplify(t,i,s){if(!s)return;const n=-i,e=t+i,h=-i,r=t+i,a=[],o=[],l=s.length;for(let t=0;t<l;++t){const i=s[t];if(!i||i.length<2)continue;let _,l=i[0];const u=i.length;for(let s=1;s<u;++s)_=i[s],l.x===_.x&&(l.x<=n&&(l.y>_.y?(a.push(t),a.push(s),a.push(0),a.push(-1)):(o.push(t),o.push(s),o.push(0),o.push(-1))),l.x>=e&&(l.y<_.y?(a.push(t),a.push(s),a.push(1),a.push(-1)):(o.push(t),o.push(s),o.push(1),o.push(-1)))),l.y===_.y&&(l.y<=h&&(l.x<_.x?(a.push(t),a.push(s),a.push(2),a.push(-1)):(o.push(t),o.push(s),o.push(2),o.push(-1))),l.y>=r&&(l.x>_.x?(a.push(t),a.push(s),a.push(3),a.push(-1)):(o.push(t),o.push(s),o.push(3),o.push(-1)))),l=_}if(0===a.length||0===o.length)return;_.fillParent(s,o,a),_.fillParent(s,a,o);const u=[];_.calcDeltas(u,o,a),_.calcDeltas(u,a,o),_.addDeltas(u,s)}static fillParent(t,i,s){const n=s.length,e=i.length;for(let h=0;h<e;h+=4){const e=i[h],r=i[h+1],_=i[h+2],o=t[e][r-1],l=t[e][r];let u=8092,c=-1;for(let i=0;i<n;i+=4){if(s[i+2]!==_)continue;const n=s[i],e=s[i+1],h=t[n][e-1],r=t[n][e];switch(_){case 0:case 1:if(a(o.y,h.y,r.y)&&a(l.y,h.y,r.y)){const t=Math.abs(r.y-h.y);t<u&&(u=t,c=i)}break;case 2:case 3:if(a(o.x,h.x,r.x)&&a(l.x,h.x,r.x)){const t=Math.abs(r.x-h.x);t<u&&(u=t,c=i)}}}i[h+3]=c}}static calcDeltas(t,i,s){const n=i.length;for(let e=0;e<n;e+=4){const n=[],h=_.calcDelta(e,i,s,n);t.push(i[e]),t.push(i[e+1]),t.push(i[e+2]),t.push(h)}}static calcDelta(t,i,s,n){const e=i[t+3];if(-1===e)return 0;const h=n.length;return h>1&&n[h-2]===e?0:(n.push(e),_.calcDelta(e,s,i,n)+1)}static addDeltas(t,i){const s=t.length;let n=0;for(let i=0;i<s;i+=4){const s=t[i+3];s>n&&(n=s)}for(let e=0;e<s;e+=4){const s=i[t[e]],h=t[e+1],r=n-t[e+3];switch(t[e+2]){case 0:s[h-1].x-=r,s[h].x-=r,1===h&&(s[s.length-1].x-=r),h===s.length-1&&(s[0].x-=r);break;case 1:s[h-1].x+=r,s[h].x+=r,1===h&&(s[s.length-1].x+=r),h===s.length-1&&(s[0].x+=r);break;case 2:s[h-1].y-=r,s[h].y-=r,1===h&&(s[s.length-1].y-=r),h===s.length-1&&(s[0].y-=r);break;case 3:s[h-1].y+=r,s[h].y+=r,1===h&&(s[s.length-1].y+=r),h===s.length-1&&(s[0].y+=r)}}}}const a=(t,i,s)=>t>=i&&t<=s||t>=s&&t<=i},13195(t,i,s){s.d(i,{GW:()=>m,IU:()=>p,Wh:()=>c,cP:()=>T,p6:()=>f,ru:()=>E,s3:()=>R,wV:()=>y,yM:()=>g,z0:()=>x});var n=s(95108),e=s(6774);const h=Number.POSITIVE_INFINITY,r=Math.PI,_=2*r,a=128/r,o=256/360,l=r/180,u=1/Math.LN2;function c(t,i){return(t%=i)>=0?t:t+i}function x(t){return c(t*a,256)}function y(t){return c(t*o,256)}function f(t){return Math.log(t)*u}function m(t,i,s){return t*(1-s)+i*s}function p(t){return 8+Math.max(16*(t-14),0)}function R(t,i,s){let n,e,h,r=0;for(const _ of s){n=_.length;for(let s=1;s<n;++s)e=_[s-1],h=_[s],e.y>i!=h.y>i&&((h.x-e.x)*(i-e.y)-(h.y-e.y)*(t-e.x)>0?r++:r--)}return 0!==r}function E(t,i,s,e){let h,r,_,a;const o=e*e;for(const e of s){const s=e.length;if(!(s<2)){h=e[0].x,r=e[0].y;for(let l=1;l<s;++l){if(_=e[l].x,a=e[l].y,(0,n.Ng)(t,i,h,r,_,a)<o)return!0;h=_,r=a}}}return!1}function T(t,i){if(0===i||Number.isNaN(i))return t;const s=[],n=new e.bR(0,0),h=new e.bR(0,0),r=new e.bR(0,0);for(let _=0;_<t.length;_++){const a=t[_],o=[];for(let t=0;t<a.length;t++){const s=a[t-1],_=a[t],l=a[t+1];0===t?n.setCoords(0,0):n.assignSub(_,s).normalize().rightPerpendicular(),t===a.length-1?h.setCoords(0,0):h.assignSub(l,_).normalize().rightPerpendicular(),r.assignAdd(n,h).normalize();const u=r.x*h.x+r.y*h.y;0!==u&&r.scale(1/u),o.push(e.bR.add(_,r.scale(i)))}s.push(o)}return s}function g(t,i,s,n){const h=new e.bR(t[0],t[1]);if(h.scale(n),"viewport"===i){const t=-s*(Math.PI/180),i=Math.cos(t),n=Math.sin(t);h.rotate(i,n)}return h}s.d(i,["Jo",0,r,"MG",0,h,"aA",0,o,"os",0,l,"pJ",0,_])},89518(t,i,s){s.d(i,{Kl:()=>u,M9:()=>_,Ss:()=>a,fw:()=>l,lj:()=>h,ws:()=>o});const n=new Float32Array(1),e=new Uint32Array(n.buffer);function h(t){return function(t,i,s){return Math.round(Math.max(Math.min(t,s),i))}(t,-32768,32767)}function r(t){return n[0]=t,e[0]}function _(t,i){return 65535&t|i<<16}function a(t,i,s,n){return 255&t|(255&i)<<8|(255&s)<<16|n<<24}function o(t,i){return 255&t|(255&i)<<8}function l(t){const i=r(t),s=i>>>31;let n=i>>>23&255,e=8388607&i;return n-=127,n>15?s<<15|31744:n<-25?0:(n<-14&&(e+=8388608,e/=2**(-14-n),n=-15),n+=15,e/=8192,e=function(t){const i=Math.floor(t),s=t-i;return i<1023&&(s>.5||.5===s&&i%2==1)?i+1:i}(e),s<<15|n<<10|e)}function u(t){let i=t>>>15,s=t>>10&31,n=1023&t;return i=i?-1:1,s-=15,n/=1024,s>-15?n+=1:s=-14,i*2**s*n}},68572(t,i,s){s.d(i,{H:()=>r,q:()=>_}),s(44208);var n=s(23304),e=s(63907);function h(t){switch(t){case e.pe.BYTE:case e.pe.UNSIGNED_BYTE:return 1;case e.pe.SHORT:case e.pe.UNSIGNED_SHORT:case e.pe.HALF_FLOAT:return 2;case e.pe.FLOAT:case e.pe.INT:case e.pe.UNSIGNED_INT:return 4}}function r(t){const i=[],s=[],n=[];for(const e of t){const t=h(e.type)*e.count;switch(t%2||t%4||4){case 4:i.push(e);continue;case 2:s.push(e);continue;case 1:n.push(e);continue;default:throw new Error("Found unexpected dataType byte count")}}return i.push(...s),i.push(...n),i}class _{static fromVertexSpec(t,i){const s=t.attributes,n=t.optionalAttributes;let e,a,o;const l=[];for(const t in s){if(s[t].otherSource)continue;const i=s[t];"position"===i.pack?e={...i,name:t,offset:0}:"id"===i.pack?a={...i,name:t,offset:4}:"bitset"===t?o={...i,name:t,offset:7}:l.push({...i,name:t})}for(const t in n)if(!0===i[t]){const i=n[t];l.push({...i,name:t})}const u=r(l),c=[];let x=8,y=1;for(const t of u)c.push({...t,offset:x}),x+=h(t.type)*t.count,t.packAlternating&&(y=Math.max(t.packAlternating.count,y));const f=Uint32Array.BYTES_PER_ELEMENT,m=x%f;return new _(e,a,o,c,x+(m?f-m:0),y)}constructor(t,i,s,n,e,h){this.position=t,this.id=i,this.bitset=s,this.standardAttributes=n,this.stride=e,this.packVertexCount=h,n.push(s),this._attributes=[t,i,s,...n]}get attributeLayout(){if(!this._attributeLayout){const t=(0,n.hU)(this._attributes),i=this._attributes.map(t=>({name:t.name,count:t.count,offset:t.offset,type:t.type,packPrecisionFactor:t.packPrecisionFactor,normalized:t.normalized??!1}));this._attributeLayout={attributes:i,hash:t,stride:this.stride}}return this._attributeLayout}}},23304(t,i,s){s.d(i,{Ph:()=>h,Z0:()=>r,hU:()=>e});var n=s(799);function e(t){const i=t.map(({name:t,count:i,type:s})=>`${t}.${i}.${s}`).join(",");return(0,n.Wm)(i)}function h(t,i,s,n,e,r,_){if(t.primitiveName===i){let i=n?.readWithDefault(e,r,t[s]&&_);return"text"===t.type&&(i=i.toString()),void(t[s]=i)}if("type"in t&&null!=t.type){if(t.effects)for(const a of t.effects)h(a,i,s,n,e,r,_);switch(t.type){case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":if(t.symbolLayers)for(const a of t.symbolLayers)h(a,i,s,n,e,r,_);break;case"CIMTextSymbol":t.symbol&&h(t.symbol,i,s,n,e,r,_);break;case"CIMHatchFill":t.lineSymbol&&h(t.lineSymbol,i,s,n,e,r,_);break;case"CIMPictureMarker":case"CIMCharacterMarker":case"CIMVectorMarker":if(t.markerPlacement&&h(t.markerPlacement,i,s,n,e,r,_),"CIMVectorMarker"===t.type&&t.markerGraphics)for(const a of t.markerGraphics)h(a,i,s,n,e,r,_),h(a.symbol,i,s,n,e,r,_)}}}function r(t){const i=Math.max(1.25*t.width,20);return null!=t.effects&&t.effects.length>0?400:i}},63907(t,i,s){const n={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},e={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},h=Object.values(e),r={FLOAT:n.FLOAT,UNSIGNED_BYTE:n.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:n.BYTE,UNSIGNED_SHORT:n.UNSIGNED_SHORT,SHORT:n.SHORT,UNSIGNED_INT:n.UNSIGNED_INT,INT:n.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269};s.d(i,["CQ",0,{COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497},"H0",0,e,"SB",0,{DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},"WR",0,{POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},"XN",0,h,"iE",0,{DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},"ld",0,r,"pe",0,n,"vt",0,{Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12}])}}]);