@arcgis/core 4.23.0-next.20220123 → 4.23.0-next.20220128

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 (624) hide show
  1. package/Graphic.js +1 -1
  2. package/arcade/featureset/sources/FeatureLayerDynamic.js +1 -1
  3. package/assets/esri/core/workers/RemoteClient.js +1 -1
  4. package/assets/esri/core/workers/chunks/02fbc76dfdc20e628c61.js +1 -0
  5. package/assets/esri/core/workers/chunks/0453fad5cb819797b4f6.js +1 -0
  6. package/assets/esri/core/workers/chunks/0463ba46df855a92b9c0.js +1 -0
  7. package/assets/esri/core/workers/chunks/0cd0a6eef51fc5b9ea61.js +1 -0
  8. package/assets/esri/core/workers/chunks/{d1454155ee1b8a421cbb.js → 0d02c6ad1f4688bfa374.js} +1 -1
  9. package/assets/esri/core/workers/chunks/0d684f16f37d5dc385dd.js +1 -0
  10. package/assets/esri/core/workers/chunks/0e17691520d890d34efb.js +1 -0
  11. package/assets/esri/core/workers/chunks/16b6d0f8378582c051c3.js +1 -0
  12. package/assets/esri/core/workers/chunks/{0ce1dc14280d6f188468.js → 17de7a324dfa7f57ad5d.js} +1 -1
  13. package/assets/esri/core/workers/chunks/{b313ab14a643273e7d09.js → 1877ab1b6a115dbba1c5.js} +1 -1
  14. package/assets/esri/core/workers/chunks/{c36f84daa7736878418d.js → 197ec52641aed20029c6.js} +1 -1
  15. package/assets/esri/core/workers/chunks/1b2a961f776a0b57e57a.js +1 -0
  16. package/assets/esri/core/workers/chunks/1b3fd66577b19aa5f2b6.js +1 -0
  17. package/assets/esri/core/workers/chunks/1c733b7db092a2a88ef3.js +1 -0
  18. package/assets/esri/core/workers/chunks/1f8c6a179e39fd4c5e6f.js +1 -0
  19. package/assets/esri/core/workers/chunks/2076fcbae63f1bfb7143.js +1 -0
  20. package/assets/esri/core/workers/chunks/{9387db408f496e7dd003.js → 214910032945dd2d86b0.js} +1 -1
  21. package/assets/esri/core/workers/chunks/{b2ae5fc4f787ea568b88.js → 2460f3b6ada6ae900dec.js} +1 -1
  22. package/assets/esri/core/workers/chunks/27474b007988855bea9d.js +1 -0
  23. package/assets/esri/core/workers/chunks/281b89dbf5574fc642ae.js +1 -0
  24. package/assets/esri/core/workers/chunks/{4d539878bfbd7c549e60.js → 2c8fe9bc988c3c5760a5.js} +1 -1
  25. package/assets/esri/core/workers/chunks/2e899ef5881b4ec6fa55.js +1 -0
  26. package/assets/esri/core/workers/chunks/34b59d7099904dcb28b5.js +1 -0
  27. package/assets/esri/core/workers/chunks/357033117dfe61eb81ea.js +1 -0
  28. package/assets/esri/core/workers/chunks/37c03cfc19086ce631c6.js +1 -0
  29. package/assets/esri/core/workers/chunks/391e96192d1ec4e55ce2.js +1 -0
  30. package/assets/esri/core/workers/chunks/3c673495e5f507c4a9e5.js +1 -0
  31. package/assets/esri/core/workers/chunks/422537fc3df707bb62c9.js +1 -0
  32. package/assets/esri/core/workers/chunks/44f0c3663b293afbd172.js +1 -0
  33. package/assets/esri/core/workers/chunks/483d5d8593d96d0f0b15.js +1 -0
  34. package/assets/esri/core/workers/chunks/{c959e0d1cf7dce0421b9.js → 48fa8aed6c24877b44c4.js} +1 -1
  35. package/assets/esri/core/workers/chunks/{44b01d42d4ec72913229.js → 4954fd86b48cc68b737c.js} +1 -1
  36. package/assets/esri/core/workers/chunks/49a1a633bb0d93764aae.js +1 -0
  37. package/assets/esri/core/workers/chunks/4ba6de8aa7e2960bad49.js +1 -0
  38. package/assets/esri/core/workers/chunks/4be35af7d6babbfe9d84.js +1 -0
  39. package/assets/esri/core/workers/chunks/5457962a70bd3c557a75.js +1 -0
  40. package/assets/esri/core/workers/chunks/57856b4a9b8784a69844.js +1 -0
  41. package/assets/esri/core/workers/chunks/{b9c177524b3e7de1ffd1.js → 5790d171072b3c7d108f.js} +1 -1
  42. package/assets/esri/core/workers/chunks/57b349d1dbc0bed75b79.js +1 -0
  43. package/assets/esri/core/workers/chunks/5bcb3240b3c005e5fe72.js +1 -0
  44. package/assets/esri/core/workers/chunks/5d11b97b667921d67ae7.js +1 -0
  45. package/assets/esri/core/workers/chunks/5dbe555a5a662ff3d9ce.js +1 -0
  46. package/assets/esri/core/workers/chunks/5ec98f4ddac707d0fbd1.js +1 -0
  47. package/assets/esri/core/workers/chunks/64b7e8d812ea8fcf269e.js +1 -0
  48. package/assets/esri/core/workers/chunks/{4c9084a04948b6924749.js → 655b55ac0cd533d7e9d7.js} +1 -1
  49. package/assets/esri/core/workers/chunks/{b0b036ad3ad3cd956747.js → 69fd99b7c76e9992ccf3.js} +1 -1
  50. package/assets/esri/core/workers/chunks/{9cdaba126ac7fa5f33f0.js → 6cd5e4380d29b9a3c344.js} +1 -1
  51. package/assets/esri/core/workers/chunks/75d812955a473d0e8960.js +1 -0
  52. package/assets/esri/core/workers/chunks/7903a3e2e0faff0f86c0.js +1 -0
  53. package/assets/esri/core/workers/chunks/{cc146c57bbdac8029fd8.js → 7a5f5acfbd4ca1a5c1f3.js} +1 -1
  54. package/assets/esri/core/workers/chunks/{64276aacaafa4c8a15bd.js → 7dcf52d3db3903c8eb9f.js} +1 -1
  55. package/assets/esri/core/workers/chunks/83d00afae4406ec78bc9.js +1 -0
  56. package/assets/esri/core/workers/chunks/{625d2663daa8e0cf64b0.js → 85b1f36790df95b17659.js} +1 -1
  57. package/assets/esri/core/workers/chunks/89820b200ee44e678af5.js +1 -0
  58. package/assets/esri/core/workers/chunks/918bb7a7d901544a7367.js +1 -0
  59. package/assets/esri/core/workers/chunks/{94b8dbf859df71858d1c.js → 929c9b7cdab7c4ca3d87.js} +1 -1
  60. package/assets/esri/core/workers/chunks/94515fb3ef38067eeadd.js +1 -0
  61. package/assets/esri/core/workers/chunks/949b2269457302ffc64b.js +1 -0
  62. package/assets/esri/core/workers/chunks/952980635afc7ec81804.js +1 -0
  63. package/assets/esri/core/workers/chunks/9876a1bae350795fab36.js +1 -0
  64. package/assets/esri/core/workers/chunks/99619fcb772807c74f3b.js +1 -0
  65. package/assets/esri/core/workers/chunks/{010a71c2aa1b7681e191.js → 9d11f84e6c893b9d0019.js} +1 -1
  66. package/assets/esri/core/workers/chunks/a1930e4f035bc9aa1ae5.js +1 -0
  67. package/assets/esri/core/workers/chunks/a8692bffb76444c34760.js +1 -0
  68. package/assets/esri/core/workers/chunks/aa04b90b82bf70caaae4.js +1 -0
  69. package/assets/esri/core/workers/chunks/aeaa1667c2d9f1b3366b.js +1 -0
  70. package/assets/esri/core/workers/chunks/b2d2de935487257c568b.js +1 -0
  71. package/assets/esri/core/workers/chunks/b3f5e91116112b0b612a.js +1 -0
  72. package/assets/esri/core/workers/chunks/b97953694f42bfec1b3c.js +1 -0
  73. package/assets/esri/core/workers/chunks/b9e9cb354822c6d995a4.js +1 -0
  74. package/assets/esri/core/workers/chunks/ba762bcfd74af0bb8218.js +1 -0
  75. package/assets/esri/core/workers/chunks/bac9fc90e6756e211160.js +1 -0
  76. package/assets/esri/core/workers/chunks/be588873c16770ceb9ef.js +1 -0
  77. package/assets/esri/core/workers/chunks/bf97a933ea3b220115e1.js +1 -0
  78. package/assets/esri/core/workers/chunks/bfedd6ebff817c9b31c0.js +1 -0
  79. package/assets/esri/core/workers/chunks/c093dff4592832ac0973.js +1 -0
  80. package/assets/esri/core/workers/chunks/c1135cb02ec46c491459.js +1 -0
  81. package/assets/esri/core/workers/chunks/c2253a9f29c1aabb2b75.js +1 -0
  82. package/assets/esri/core/workers/chunks/{d39b7983b68d6e5b404d.js → cdbc005eebec1503b99d.js} +1 -1
  83. package/assets/esri/core/workers/chunks/d04fca5d46cca02500b7.js +1 -0
  84. package/assets/esri/core/workers/chunks/d08efbc349dd9f999497.js +1 -0
  85. package/assets/esri/core/workers/chunks/d1fe53b597351dc58305.js +1 -0
  86. package/assets/esri/core/workers/chunks/{a8b13fb804bb775e4967.js → db3c729ce0c0b2690dc9.js} +1 -1
  87. package/assets/esri/core/workers/chunks/dd13772a5e2eccc6a2bc.js +1 -0
  88. package/assets/esri/core/workers/chunks/dedc333a61081772ca7b.js +1 -0
  89. package/assets/esri/core/workers/chunks/{a7b1b75643ed31489495.js → e0c8d61c7a85ce15499a.js} +1 -1
  90. package/assets/esri/core/workers/chunks/{199670a3a564ebe3bd79.js → e218bde41ffbcc5194f5.js} +1 -1
  91. package/assets/esri/core/workers/chunks/e21b211913aefde47e30.js +1 -0
  92. package/assets/esri/core/workers/chunks/e287f49184d076af17e2.js +1 -0
  93. package/assets/esri/core/workers/chunks/{bde1d5b0a7717350986e.js → e4019b63a1fe74e2c842.js} +1 -1
  94. package/assets/esri/core/workers/chunks/e8e775758b79c5a084c8.js +1 -0
  95. package/assets/esri/core/workers/chunks/e93dfdede0532a89ffa5.js +1 -0
  96. package/assets/esri/core/workers/chunks/e9e5196b44b6923be1a3.js +1 -0
  97. package/assets/esri/core/workers/chunks/ea595b0df5050eda2a13.js +1 -0
  98. package/assets/esri/core/workers/chunks/eb82ff10cef2bde6e57f.js +1 -0
  99. package/assets/esri/core/workers/chunks/ebc6f4764b82d4104c65.js +1 -0
  100. package/assets/esri/core/workers/chunks/{1305ef8717da6e902a55.js → ec10151a2a95e95a0bb5.js} +1 -1
  101. package/assets/esri/core/workers/chunks/eccba071ced2d922bb85.js +1 -0
  102. package/assets/esri/core/workers/chunks/ee6e0db58dc64410e687.js +1 -0
  103. package/assets/esri/core/workers/chunks/f0a9f161805fc7a30fc5.js +1 -0
  104. package/assets/esri/core/workers/chunks/f2124f4d0f2b8a91f0ea.js +1 -0
  105. package/assets/esri/core/workers/chunks/ff6abdc72076f3994659.js +981 -0
  106. package/assets/esri/libs/vxl/vxlLayer.wasm +0 -0
  107. package/assets/esri/themes/base/_mixins.scss +4 -1
  108. package/assets/esri/themes/base/icons/style.scss +11 -2
  109. package/assets/esri/themes/base/widgets/_BasemapLayerList.scss +13 -10
  110. package/assets/esri/themes/base/widgets/_CoordinateConversion.scss +4 -2
  111. package/assets/esri/themes/base/widgets/_Directions.scss +5 -3
  112. package/assets/esri/themes/base/widgets/_Editor.scss +5 -2
  113. package/assets/esri/themes/base/widgets/_ElevationProfile.scss +6 -4
  114. package/assets/esri/themes/base/widgets/_FeatureTable.scss +6 -0
  115. package/assets/esri/themes/base/widgets/_ItemList.scss +1 -1
  116. package/assets/esri/themes/base/widgets/_LayerList.scss +13 -9
  117. package/assets/esri/themes/base/widgets/_Popup.scss +4 -2
  118. package/assets/esri/themes/base/widgets/_Print.scss +24 -11
  119. package/assets/esri/themes/base/widgets/_Search.scss +4 -2
  120. package/assets/esri/themes/base/widgets/_TableList.scss +9 -7
  121. package/assets/esri/themes/base/widgets/_Weather.scss +12 -0
  122. package/assets/esri/themes/base/widgets/_Widget.scss +18 -9
  123. package/assets/esri/themes/dark/main.css +1 -1
  124. package/assets/esri/themes/dark-blue/main.css +1 -1
  125. package/assets/esri/themes/dark-green/main.css +1 -1
  126. package/assets/esri/themes/dark-purple/main.css +1 -1
  127. package/assets/esri/themes/dark-red/main.css +1 -1
  128. package/assets/esri/themes/light/main.css +1 -1
  129. package/assets/esri/themes/light/view.css +1 -1
  130. package/assets/esri/themes/light-blue/main.css +1 -1
  131. package/assets/esri/themes/light-green/main.css +1 -1
  132. package/assets/esri/themes/light-purple/main.css +1 -1
  133. package/assets/esri/themes/light-red/main.css +1 -1
  134. package/assets/esri/widgets/Weather/t9n/Weather.json +1 -1
  135. package/assets/esri/widgets/Weather/t9n/Weather_ar.json +1 -1
  136. package/assets/esri/widgets/Weather/t9n/Weather_bg.json +1 -1
  137. package/assets/esri/widgets/Weather/t9n/Weather_bs.json +1 -1
  138. package/assets/esri/widgets/Weather/t9n/Weather_ca.json +1 -1
  139. package/assets/esri/widgets/Weather/t9n/Weather_cs.json +1 -1
  140. package/assets/esri/widgets/Weather/t9n/Weather_da.json +1 -1
  141. package/assets/esri/widgets/Weather/t9n/Weather_de.json +1 -1
  142. package/assets/esri/widgets/Weather/t9n/Weather_el.json +1 -1
  143. package/assets/esri/widgets/Weather/t9n/Weather_en.json +1 -1
  144. package/assets/esri/widgets/Weather/t9n/Weather_es.json +1 -1
  145. package/assets/esri/widgets/Weather/t9n/Weather_et.json +1 -1
  146. package/assets/esri/widgets/Weather/t9n/Weather_fi.json +1 -1
  147. package/assets/esri/widgets/Weather/t9n/Weather_fr.json +1 -1
  148. package/assets/esri/widgets/Weather/t9n/Weather_he.json +1 -1
  149. package/assets/esri/widgets/Weather/t9n/Weather_hr.json +1 -1
  150. package/assets/esri/widgets/Weather/t9n/Weather_hu.json +1 -1
  151. package/assets/esri/widgets/Weather/t9n/Weather_id.json +1 -1
  152. package/assets/esri/widgets/Weather/t9n/Weather_it.json +1 -1
  153. package/assets/esri/widgets/Weather/t9n/Weather_ja.json +1 -1
  154. package/assets/esri/widgets/Weather/t9n/Weather_ko.json +1 -1
  155. package/assets/esri/widgets/Weather/t9n/Weather_lt.json +1 -1
  156. package/assets/esri/widgets/Weather/t9n/Weather_lv.json +1 -1
  157. package/assets/esri/widgets/Weather/t9n/Weather_nb.json +1 -1
  158. package/assets/esri/widgets/Weather/t9n/Weather_nl.json +1 -1
  159. package/assets/esri/widgets/Weather/t9n/Weather_pl.json +1 -1
  160. package/assets/esri/widgets/Weather/t9n/Weather_pt-BR.json +1 -1
  161. package/assets/esri/widgets/Weather/t9n/Weather_pt-PT.json +1 -1
  162. package/assets/esri/widgets/Weather/t9n/Weather_ro.json +1 -1
  163. package/assets/esri/widgets/Weather/t9n/Weather_ru.json +1 -1
  164. package/assets/esri/widgets/Weather/t9n/Weather_sk.json +1 -1
  165. package/assets/esri/widgets/Weather/t9n/Weather_sl.json +1 -1
  166. package/assets/esri/widgets/Weather/t9n/Weather_sr.json +1 -1
  167. package/assets/esri/widgets/Weather/t9n/Weather_sv.json +1 -1
  168. package/assets/esri/widgets/Weather/t9n/Weather_th.json +1 -1
  169. package/assets/esri/widgets/Weather/t9n/Weather_tr.json +1 -1
  170. package/assets/esri/widgets/Weather/t9n/Weather_uk.json +1 -1
  171. package/assets/esri/widgets/Weather/t9n/Weather_vi.json +1 -1
  172. package/assets/esri/widgets/Weather/t9n/Weather_zh-CN.json +1 -1
  173. package/assets/esri/widgets/Weather/t9n/Weather_zh-HK.json +1 -1
  174. package/assets/esri/widgets/Weather/t9n/Weather_zh-TW.json +1 -1
  175. package/chunks/BlendLayers.glsl.js +2 -2
  176. package/chunks/ChapmanAtmosphere.glsl.js +17 -17
  177. package/chunks/CheckerBoard.glsl.js +3 -3
  178. package/chunks/Clouds.glsl.js +2 -2
  179. package/chunks/CloudsComposition.glsl.js +1 -1
  180. package/chunks/ColorMaterial.glsl.js +12 -12
  181. package/chunks/ComponentShader.glsl.js +21 -21
  182. package/chunks/Compositing.glsl.js +1 -1
  183. package/chunks/DefaultMaterial.glsl.js +33 -33
  184. package/chunks/EdgeShaderProgram.glsl.js +7 -7
  185. package/chunks/Fog.glsl.js +10 -12
  186. package/chunks/HUDMaterial.glsl.js +2 -2
  187. package/chunks/HighlightComposition.glsl.js +5 -5
  188. package/chunks/ImageMaterial.glsl.js +6 -6
  189. package/chunks/LaserlinePath.glsl.js +8 -8
  190. package/chunks/LineCallout.glsl.js +6 -6
  191. package/chunks/MeasurementArrow.glsl.js +1 -1
  192. package/chunks/NativeLine.glsl.js +1 -1
  193. package/chunks/Path.glsl.js +5 -5
  194. package/chunks/Pattern.glsl.js +9 -9
  195. package/chunks/PointRenderer.glsl.js +14 -14
  196. package/chunks/Precipitation.glsl.js +91 -0
  197. package/chunks/RealisticTree.glsl.js +21 -21
  198. package/chunks/RibbonLine.glsl.js +11 -11
  199. package/chunks/SMAA.glsl.js +40 -40
  200. package/chunks/ShadedColorMaterial.glsl.js +12 -12
  201. package/chunks/ShadowCast.glsl.js +6 -6
  202. package/chunks/ShadowHighlight.glsl.js +4 -4
  203. package/chunks/SimpleAtmosphere.glsl.js +3 -3
  204. package/chunks/SlicePlaneMaterial.glsl.js +3 -3
  205. package/chunks/Stars.glsl.js +3 -3
  206. package/chunks/Terrain.glsl.js +3 -3
  207. package/chunks/TextureOnly.glsl.js +2 -2
  208. package/chunks/WaterSurface.glsl.js +22 -22
  209. package/chunks/boundedPlane.js +1 -1
  210. package/chunks/pe.js +1 -1
  211. package/chunks/vec3.js +1 -1
  212. package/chunks/vxlLayer.js +1 -1
  213. package/core/accessorSupport/ensureType.js +1 -1
  214. package/core/accessorSupport/get.js +1 -1
  215. package/core/accessorSupport/read.js +1 -1
  216. package/core/accessorSupport/set.js +1 -1
  217. package/core/accessorSupport/watch.js +1 -1
  218. package/core/accessorSupport/write.js +1 -1
  219. package/core/clock.js +1 -1
  220. package/core/jsonMap.js +1 -1
  221. package/core/libs/gl-matrix-2/math/vec3.js +1 -1
  222. package/core/loadAll.js +1 -1
  223. package/core/promiseUtils.js +1 -1
  224. package/core/reactiveUtils.js +1 -1
  225. package/form/ExpressionInfo.js +1 -1
  226. package/geometry/pe.js +1 -1
  227. package/geometry/support/axisAngleDegrees.js +1 -1
  228. package/geometry/support/frustum.js +1 -1
  229. package/geometry/support/plane.js +1 -1
  230. package/interfaces.d.ts +263 -35
  231. package/layers/VectorTileLayer.js +1 -1
  232. package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
  233. package/layers/graphics/featureConversionUtils.js +1 -1
  234. package/layers/support/LayerContingentValuesCache.js +1 -1
  235. package/layers/support/TileInfo.js +1 -1
  236. package/layers/support/rasterDatasets/BaseRaster.js +1 -1
  237. package/layers/support/rasterFunctions/rasterProjectionHelper.js +1 -1
  238. package/package.json +2 -2
  239. package/popup/content/AttachmentsContent.js +1 -1
  240. package/popup/content/support/mediaInfoTypes.js +1 -1
  241. package/rest/print.js +1 -1
  242. package/smartMapping/statistics/support/predominanceUtils.d.ts +4 -0
  243. package/support/arcadeOnDemand.js +1 -1
  244. package/support/featureFlags.js +1 -1
  245. package/support/revision.js +1 -1
  246. package/symbols/FillSymbol3DLayer.js +1 -1
  247. package/symbols/IconSymbol3DLayer.js +1 -1
  248. package/symbols/LabelSymbol3D.js +1 -1
  249. package/symbols/ObjectSymbol3DLayer.js +1 -1
  250. package/symbols/PointSymbol3D.js +1 -1
  251. package/symbols/Symbol3D.js +1 -1
  252. package/symbols/WebStyleSymbol.js +1 -1
  253. package/symbols/cim/CIMSymbolHelper.js +1 -1
  254. package/symbols/cim/CIMSymbolRasterizer.js +1 -1
  255. package/symbols/cim/cimAnalyzer.js +1 -1
  256. package/symbols/support/IconSymbol3DLayerResource.js +1 -1
  257. package/symbols/support/ObjectSymbol3DLayerResource.js +1 -1
  258. package/symbols/support/Symbol3DAnchorPosition2D.js +1 -1
  259. package/symbols/support/Symbol3DAnchorPosition3D.js +1 -1
  260. package/symbols/support/Symbol3DFillMaterial.js +1 -1
  261. package/symbols/support/Symbol3DIconOutline.js +1 -1
  262. package/symbols/support/Symbol3DOutline.js +1 -1
  263. package/symbols/support/Symbol3DVerticalOffset.js +1 -1
  264. package/symbols/support/Thumbnail.js +1 -1
  265. package/symbols/support/previewCIMSymbol.js +1 -1
  266. package/symbols/support/previewSymbol2D.js +1 -1
  267. package/symbols/support/previewSymbol3D.js +1 -1
  268. package/symbols/support/previewWebStyleSymbol.js +1 -1
  269. package/symbols/support/svgUtils.js +1 -1
  270. package/symbols/support/webStyleSymbolUtils.js +1 -1
  271. package/symbols.js +1 -1
  272. package/views/2d/MapViewConstraints.js +1 -1
  273. package/views/2d/engine/vectorTiles/SchemaHelper.js +1 -1
  274. package/views/2d/engine/webgl/brushes/raster/BrushRasterBitmap.js +1 -1
  275. package/views/2d/engine/webgl/mesh/templates/WGLFillTemplate.js +1 -1
  276. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  277. package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
  278. package/views/2d/viewpointUtils.js +1 -1
  279. package/views/3d/environment/ChapmanAtmosphere.glsl.js +1 -1
  280. package/views/3d/environment/ChapmanAtmosphere.js +1 -1
  281. package/views/3d/environment/CloudsComposition.glsl.js +1 -1
  282. package/views/3d/environment/CloudsComposition.js +1 -1
  283. package/views/3d/environment/CloudsGenerator.js +1 -1
  284. package/views/3d/environment/CloudsPresets.js +1 -1
  285. package/views/3d/environment/EnvironmentRenderer.js +1 -1
  286. package/views/3d/environment/Fog.glsl.js +1 -1
  287. package/views/3d/environment/Fog.js +1 -1
  288. package/views/3d/environment/PanoramicAtmosphere.js +1 -1
  289. package/views/3d/environment/Precipitation.glsl.js +5 -0
  290. package/views/3d/environment/Precipitation.js +5 -0
  291. package/views/3d/environment/PrecipitationTechnique.js +5 -0
  292. package/views/3d/environment/RainyWeather.js +1 -1
  293. package/views/3d/environment/SceneViewEnvironmentManager.js +1 -1
  294. package/views/3d/environment/SimpleAtmosphere.glsl.js +1 -1
  295. package/views/3d/environment/SimpleAtmosphere.js +1 -1
  296. package/views/3d/environment/SnowyWeather.js +5 -0
  297. package/views/3d/environment/Stars.glsl.js +1 -1
  298. package/views/3d/environment/Stars.js +1 -1
  299. package/views/3d/environment/weather.js +1 -1
  300. package/views/3d/interactive/analysisTools/slice/SliceTool.js +1 -1
  301. package/views/3d/interactive/analysisTools/slice/sliceToolUtils.js +1 -1
  302. package/views/3d/interactive/editingTools/transformGraphic/ScaleRotateMeshAdapter.js +1 -1
  303. package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
  304. package/views/3d/interactive/visualElements/MeasurementAreaVisualElement.js +1 -1
  305. package/views/3d/interactive/visualElements/OutlineVisualElement.js +1 -1
  306. package/views/3d/interactive/visualElements/ParallelLineVisualElement.js +1 -1
  307. package/views/3d/interactive/visualElements/PointVisualElement.js +1 -1
  308. package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
  309. package/views/3d/layers/FeatureLayerViewBase3D.js +1 -1
  310. package/views/3d/layers/FeatureLikeLayerView3D.js +1 -1
  311. package/views/3d/layers/GraphicsLayerView3D.js +1 -1
  312. package/views/3d/layers/GraphicsView3D.js +1 -1
  313. package/views/3d/layers/I3SMeshView3D.js +1 -1
  314. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  315. package/views/3d/layers/VectorTileLayerView3D.js +1 -1
  316. package/views/3d/layers/graphics/Deconflictor.js +1 -1
  317. package/views/3d/layers/graphics/ElevationAligners.js +1 -1
  318. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  319. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  320. package/views/3d/layers/graphics/Graphics3DFeatureProcessor.js +1 -1
  321. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  322. package/views/3d/layers/graphics/Graphics3DLineCalloutSymbolLayer.js +1 -1
  323. package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
  324. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  325. package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
  326. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  327. package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
  328. package/views/3d/layers/graphics/GraphicsProcessor.js +1 -1
  329. package/views/3d/layers/graphics/graphicUtils.js +1 -1
  330. package/views/3d/layers/graphics/lineUtils.js +1 -1
  331. package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
  332. package/views/3d/layers/graphics/polygonUtils.js +1 -1
  333. package/views/3d/layers/graphics/symbolComplexity.js +1 -1
  334. package/views/3d/layers/i3s/I3SBinaryReader.js +1 -1
  335. package/views/3d/layers/i3s/PointRenderer.js +1 -1
  336. package/views/3d/layers/support/HeatmapFeatureProcessor.js +5 -0
  337. package/views/3d/layers/support/overlayImageUtils.js +1 -1
  338. package/views/3d/layers/support/patternUtils.js +1 -1
  339. package/views/3d/state/controllers/local/PinchAndPanController.js +1 -1
  340. package/views/3d/support/FrustumExtentIntersection.js +1 -1
  341. package/views/3d/support/LaserLineRenderer.js +1 -1
  342. package/views/3d/support/LaserlinePathData.js +1 -1
  343. package/views/3d/support/pointsOfInterest/Focus.js +1 -1
  344. package/views/3d/support/sunUtils.js +1 -1
  345. package/views/3d/terrain/OverlayRenderer.js +1 -1
  346. package/views/3d/terrain/PatchGeometryFactory.js +1 -1
  347. package/views/3d/terrain/TerrainRenderer.js +1 -1
  348. package/views/3d/terrain/TerrainSurface.js +1 -1
  349. package/views/3d/terrain/Tile.js +1 -1
  350. package/views/3d/terrain/terrainUtils.js +1 -1
  351. package/views/3d/terrain/tileUtils.js +1 -1
  352. package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
  353. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  354. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechnique.js +1 -1
  355. package/views/3d/webgl-engine/collections/Component/Material/shader/ComponentData.glsl.js +10 -10
  356. package/views/3d/webgl-engine/collections/Component/Material/shader/ComponentShader.glsl.js +1 -1
  357. package/views/3d/webgl-engine/collections/Component/SourceGeometry.js +1 -1
  358. package/views/3d/webgl-engine/core/renderPasses/AllRenderPasses.js +1 -1
  359. package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
  360. package/views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepth.glsl.js +2 -2
  361. package/views/3d/webgl-engine/core/shaderLibrary/ScreenSizeScaling.glsl.js +2 -2
  362. package/views/3d/webgl-engine/core/shaderLibrary/ScreenSpacePass.js +2 -2
  363. package/views/3d/webgl-engine/core/shaderLibrary/attributes/InstancedDoublePrecision.glsl.js +2 -2
  364. package/views/3d/webgl-engine/core/shaderLibrary/attributes/NormalAttribute.glsl.js +4 -4
  365. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +1 -1
  366. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PositionAttribute.glsl.js +1 -1
  367. package/views/3d/webgl-engine/core/shaderLibrary/attributes/RibbonVertexPosition.glsl.js +1 -1
  368. package/views/3d/webgl-engine/core/shaderLibrary/attributes/SymbolColor.glsl.js +1 -1
  369. package/views/3d/webgl-engine/core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js +3 -3
  370. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexColor.glsl.js +1 -1
  371. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexNormal.glsl.js +6 -6
  372. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexPosition.glsl.js +12 -12
  373. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexTextureCoordinates.glsl.js +4 -4
  374. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VerticalOffset.glsl.js +1 -1
  375. package/views/3d/webgl-engine/core/shaderLibrary/default/DefaultMaterialAuxiliaryPasses.glsl.js +16 -16
  376. package/views/3d/webgl-engine/core/shaderLibrary/default/RealisticTree.glsl.js +1 -1
  377. package/views/3d/webgl-engine/core/shaderLibrary/hud/HUD.glsl.js +5 -5
  378. package/views/3d/webgl-engine/core/shaderLibrary/hud/HUDOcclusionPass.glsl.js +3 -3
  379. package/views/3d/webgl-engine/core/shaderLibrary/raster/BasicGrid.glsl.js +2 -2
  380. package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeMaterialColor.glsl.js +6 -6
  381. package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeNormalTexture.glsl.js +2 -2
  382. package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeShadingNormal.glsl.js +10 -11
  383. package/views/3d/webgl-engine/core/shaderLibrary/shading/LineStipple.glsl.js +2 -2
  384. package/views/3d/webgl-engine/core/shaderLibrary/shading/MultipassGeometryTest.glsl.js +2 -2
  385. package/views/3d/webgl-engine/core/shaderLibrary/shading/MultipassTerrainTest.glsl.js +2 -2
  386. package/views/3d/webgl-engine/core/shaderLibrary/shading/Normals.glsl.js +6 -6
  387. package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadBaseColorTexture.glsl.js +4 -4
  388. package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadShadowMap.glsl.js +6 -6
  389. package/views/3d/webgl-engine/core/shaderLibrary/shading/Reprojection.glsl.js +4 -4
  390. package/views/3d/webgl-engine/core/shaderLibrary/shading/ScreenSpaceReflections.glsl.js +5 -5
  391. package/views/3d/webgl-engine/core/shaderLibrary/shading/VisualVariables.glsl.js +1 -1
  392. package/views/3d/webgl-engine/core/shaderLibrary/shading/Water.glsl.js +22 -14
  393. package/views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js +2 -2
  394. package/views/3d/webgl-engine/core/shaderLibrary/terrain/Terrain.glsl.js +1 -1
  395. package/views/3d/webgl-engine/core/shaderLibrary/util/BlendLayers.glsl.js +1 -1
  396. package/views/3d/webgl-engine/core/shaderLibrary/util/CloudsParallaxShading.glsl.js +4 -4
  397. package/views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js +1 -1
  398. package/views/3d/webgl-engine/lib/Camera.js +1 -1
  399. package/views/3d/webgl-engine/lib/DefaultVertexAttributeLocations.js +1 -1
  400. package/views/3d/webgl-engine/lib/DefaultVertexBufferLayouts.js +1 -1
  401. package/views/3d/webgl-engine/lib/Geometry.js +1 -1
  402. package/views/3d/webgl-engine/lib/GeometryUtil.js +1 -1
  403. package/views/3d/webgl-engine/lib/GridLocalOriginFactory.js +1 -1
  404. package/views/3d/webgl-engine/lib/MagnifierHelper.js +1 -1
  405. package/views/3d/webgl-engine/lib/Material.js +1 -1
  406. package/views/3d/webgl-engine/lib/RenderGeometry.js +1 -1
  407. package/views/3d/webgl-engine/lib/RenderPluginManager.js +1 -1
  408. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  409. package/views/3d/webgl-engine/lib/SSAOHelper.js +1 -1
  410. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  411. package/views/3d/webgl-engine/lib/ShadowMap.js +1 -1
  412. package/views/3d/webgl-engine/lib/SmaaRenderPass.js +1 -1
  413. package/views/3d/webgl-engine/lib/TextRenderer.js +1 -1
  414. package/views/3d/webgl-engine/lib/TextTextureAtlas.js +1 -1
  415. package/views/3d/webgl-engine/lib/Texture.js +1 -1
  416. package/views/3d/{layers/graphics/IGraphics3DFeatureProcessor.js → webgl-engine/lib/TextureUniformName.js} +0 -0
  417. package/views/3d/webgl-engine/lib/UniformName.js +4 -0
  418. package/views/3d/webgl-engine/lib/VertexAttribute.js +5 -0
  419. package/views/3d/webgl-engine/lib/basicInterfaces.js +1 -1
  420. package/views/3d/webgl-engine/lib/depthRangeUtils.js +1 -1
  421. package/views/3d/webgl-engine/lib/edgeRendering/EdgeRenderer.js +1 -1
  422. package/views/3d/webgl-engine/lib/edgeRendering/EdgeShaderTechnique.js +1 -1
  423. package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
  424. package/views/3d/webgl-engine/lib/edgeRendering/bufferLayouts.js +1 -1
  425. package/views/3d/webgl-engine/lib/lodRendering/InstanceData.js +1 -1
  426. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  427. package/views/3d/webgl-engine/lib/lodRendering/RenderInstanceData.js +1 -1
  428. package/views/3d/webgl-engine/lib/pathGeometryUtils.js +1 -1
  429. package/views/3d/webgl-engine/materials/CheckerBoardMaterial.js +1 -1
  430. package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
  431. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  432. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  433. package/views/3d/webgl-engine/materials/ImageMaterial.js +1 -1
  434. package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
  435. package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
  436. package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
  437. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  438. package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
  439. package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
  440. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  441. package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
  442. package/views/3d/webgl-engine/materials/SlicePlaneMaterial.js +1 -1
  443. package/views/3d/webgl-engine/materials/VisualVariableMaterialParameters.js +1 -1
  444. package/views/3d/webgl-engine/materials/WaterTechnique.js +1 -1
  445. package/views/3d/webgl-engine/materials/internal/DefaultBufferWriter.js +1 -1
  446. package/views/3d/webgl-engine/materials/internal/MaterialUtil.js +1 -1
  447. package/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +1 -1
  448. package/views/3d/webgl-engine/materials/internal/waterMaterialUtils.js +1 -1
  449. package/views/3d/webgl-engine/parts/Model.js +1 -1
  450. package/views/3d/webgl-engine/shaders/CheckerBoard.glsl.js +1 -1
  451. package/views/3d/webgl-engine/shaders/CheckerBoardTechnique.js +1 -1
  452. package/views/3d/webgl-engine/shaders/ColorMaterial.glsl.js +1 -1
  453. package/views/3d/webgl-engine/shaders/ColorMaterialTechnique.js +1 -1
  454. package/views/3d/webgl-engine/shaders/DefaultMaterial.glsl.js +1 -1
  455. package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
  456. package/views/3d/webgl-engine/shaders/HUDMaterial.glsl.js +1 -1
  457. package/views/3d/webgl-engine/shaders/HUDMaterialTechnique.js +1 -1
  458. package/views/3d/webgl-engine/shaders/HighlightComposition.glsl.js +1 -1
  459. package/views/3d/webgl-engine/shaders/HighlightTechnique.js +1 -1
  460. package/views/3d/webgl-engine/shaders/ImageMaterial.glsl.js +1 -1
  461. package/views/3d/webgl-engine/shaders/ImageMaterialTechnique.js +1 -1
  462. package/views/3d/webgl-engine/shaders/LaserlinePath.glsl.js +1 -1
  463. package/views/3d/webgl-engine/shaders/LaserlinePathTechnique.js +1 -1
  464. package/views/3d/webgl-engine/shaders/LineCallout.glsl.js +1 -1
  465. package/views/3d/webgl-engine/shaders/LineCalloutTechnique.js +1 -1
  466. package/views/3d/webgl-engine/shaders/Magnifier.glsl.js +1 -1
  467. package/views/3d/webgl-engine/shaders/MeasurementArrow.glsl.js +1 -1
  468. package/views/3d/webgl-engine/shaders/NativeLine.glsl.js +1 -1
  469. package/views/3d/webgl-engine/shaders/Pattern.glsl.js +1 -1
  470. package/views/3d/webgl-engine/shaders/PatternTechnique.js +1 -1
  471. package/views/3d/webgl-engine/shaders/PointRenderer.glsl.js +1 -1
  472. package/views/3d/webgl-engine/shaders/RealisticTreeTechnique.js +1 -1
  473. package/views/3d/webgl-engine/shaders/RibbonLine.glsl.js +1 -1
  474. package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
  475. package/views/3d/webgl-engine/shaders/SMAA.glsl.js +1 -1
  476. package/views/3d/webgl-engine/shaders/ShadedColorMaterial.glsl.js +1 -1
  477. package/views/3d/webgl-engine/shaders/ShadedColorMaterialTechnique.js +1 -1
  478. package/views/3d/webgl-engine/shaders/ShadowCastTechnique.js +1 -1
  479. package/views/3d/webgl-engine/shaders/ShadowHighlightTechnique.js +1 -1
  480. package/views/3d/webgl-engine/shaders/SlicePlaneMaterial.glsl.js +1 -1
  481. package/views/3d/webgl-engine/shaders/WaterSurface.glsl.js +1 -1
  482. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/AdjustProjectedPosition.glsl.js +10 -10
  483. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/DiscardShortEdges.glsl.js +1 -1
  484. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/EdgeShaderProgram.glsl.js +1 -1
  485. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/EdgeUtil.glsl.js +21 -21
  486. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/LineAmplitude.glsl.js +6 -6
  487. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/LineOffset.glsl.js +13 -13
  488. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/UnpackAttributes.glsl.js +6 -6
  489. package/views/MapView.js +1 -1
  490. package/views/SceneView.js +1 -1
  491. package/views/View.js +1 -1
  492. package/views/input/recognizers/DoubleTapDrag.js +1 -1
  493. package/views/input/recognizers/ImmediateDoubleClick.js +1 -1
  494. package/views/input/recognizers/PointerClickHoldAndDrag.js +1 -1
  495. package/views/input/recognizers/SingleAndDoubleClick.js +1 -1
  496. package/views/interactive/dragEventPipeline.js +1 -1
  497. package/views/interactive/editGeometry/operations/OffsetEdgeVertex.js +1 -1
  498. package/views/support/DefaultsFromMap.js +1 -1
  499. package/views/support/WatchUpdatingTracking.js +1 -1
  500. package/views/support/projectionUtils.js +5 -0
  501. package/views/webgl/BufferObject.js +1 -1
  502. package/views/webgl/InstanceCounter.js +1 -1
  503. package/views/webgl/Program.js +1 -1
  504. package/views/webgl/rasterUtils.js +1 -1
  505. package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.js +1 -1
  506. package/widgets/Attachments.js +1 -1
  507. package/widgets/BasemapGallery/BasemapGalleryViewModel.js +1 -1
  508. package/widgets/BasemapGallery/support/BasemapGalleryItem.js +1 -1
  509. package/widgets/BasemapGallery/support/basemapCompatibilityUtils.js +1 -1
  510. package/widgets/BasemapGallery.js +1 -1
  511. package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.js +1 -1
  512. package/widgets/FeatureForm/InputField.js +1 -1
  513. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  514. package/widgets/FeatureTable/Grid/Grid.js +1 -1
  515. package/widgets/FeatureTable.js +1 -1
  516. package/widgets/FeatureTemplates/FeatureTemplatesViewModel.js +1 -1
  517. package/widgets/LineOfSight/LineOfSightViewModel.js +1 -1
  518. package/widgets/Popup/PopupViewModel.js +1 -1
  519. package/widgets/Popup/actionUtils.js +1 -1
  520. package/widgets/Search/support/locatorUtils.js +1 -1
  521. package/widgets/Search.js +1 -1
  522. package/widgets/Slice/SliceViewModel.js +1 -1
  523. package/widgets/Slider/SliderViewModel.js +1 -1
  524. package/widgets/Slider.js +1 -1
  525. package/widgets/Weather/WeatherViewModel.js +1 -1
  526. package/widgets/Weather/css.js +1 -1
  527. package/widgets/Weather/enums.js +5 -0
  528. package/widgets/Weather.js +1 -1
  529. package/widgets/support/InteractiveAnalysisViewModel.js +1 -1
  530. package/widgets/support/InteractiveToolViewModel.js +1 -1
  531. package/assets/components/assets/calcite-icon/checkSquareF16.json +0 -1
  532. package/assets/components/assets/calcite-icon/checkSquareF24.json +0 -1
  533. package/assets/components/assets/calcite-icon/checkSquareF32.json +0 -1
  534. package/assets/components/assets/calcite-icon/lineSolid4.json +0 -1
  535. package/assets/components/assets/calcite-icon/squareF16.json +0 -1
  536. package/assets/components/assets/calcite-icon/squareF24.json +0 -1
  537. package/assets/components/assets/calcite-icon/squareF32.json +0 -1
  538. package/assets/components/assets/calcite-icon/xHexagon16.json +0 -1
  539. package/assets/components/assets/calcite-icon/xHexagon24.json +0 -1
  540. package/assets/components/assets/calcite-icon/xHexagon32.json +0 -1
  541. package/assets/components/assets/calcite-icon/xHexagonF16.json +0 -1
  542. package/assets/components/assets/calcite-icon/xHexagonF24.json +0 -1
  543. package/assets/components/assets/calcite-icon/xHexagonF32.json +0 -1
  544. package/assets/components/assets/calcite-icon/xOctagonF16.json +0 -1
  545. package/assets/components/assets/calcite-icon/xOctagonF24.json +0 -1
  546. package/assets/components/assets/calcite-icon/xOctagonF32.json +0 -1
  547. package/assets/esri/core/workers/chunks/09da224052976e290828.js +0 -1
  548. package/assets/esri/core/workers/chunks/0bf079e752ab79468478.js +0 -1
  549. package/assets/esri/core/workers/chunks/0c3e3a5baf54bd5e210c.js +0 -1
  550. package/assets/esri/core/workers/chunks/14bef72154b3a19561a7.js +0 -1
  551. package/assets/esri/core/workers/chunks/18668dc45eb9e35530df.js +0 -1
  552. package/assets/esri/core/workers/chunks/1e4d37c2b9dc83d20a11.js +0 -1
  553. package/assets/esri/core/workers/chunks/20411bb8e04703962ce6.js +0 -1
  554. package/assets/esri/core/workers/chunks/208a7e24e19fc5633dd7.js +0 -1
  555. package/assets/esri/core/workers/chunks/22b09e276c9b9f22f0f8.js +0 -1
  556. package/assets/esri/core/workers/chunks/23745a5ab47c840dc452.js +0 -1
  557. package/assets/esri/core/workers/chunks/2416f8bf8bbd2ec786ab.js +0 -1
  558. package/assets/esri/core/workers/chunks/25a3e9bc0b4c7e0d3165.js +0 -1
  559. package/assets/esri/core/workers/chunks/2e445a8735ea2adb641a.js +0 -1
  560. package/assets/esri/core/workers/chunks/32f8c4af7e70ebdcb19e.js +0 -1
  561. package/assets/esri/core/workers/chunks/36a3f6fb4d1d18fcb642.js +0 -1
  562. package/assets/esri/core/workers/chunks/390d9021169e65c10eb8.js +0 -1
  563. package/assets/esri/core/workers/chunks/3a9740dccda6a733313c.js +0 -1
  564. package/assets/esri/core/workers/chunks/3aa4194dc5497c57647f.js +0 -1
  565. package/assets/esri/core/workers/chunks/40a1e713f63ec77110c0.js +0 -1
  566. package/assets/esri/core/workers/chunks/43cdff2418325e163420.js +0 -1
  567. package/assets/esri/core/workers/chunks/4bfbf5a34c9207fdcf44.js +0 -1
  568. package/assets/esri/core/workers/chunks/5383a8f3e4ec1a8a4fcd.js +0 -1
  569. package/assets/esri/core/workers/chunks/5538639a49c7cc2eca63.js +0 -1
  570. package/assets/esri/core/workers/chunks/5a4a5585ec8027079f32.js +0 -1
  571. package/assets/esri/core/workers/chunks/5d4863a92b03bebc1b54.js +0 -1
  572. package/assets/esri/core/workers/chunks/60371c0f750cde87656d.js +0 -1
  573. package/assets/esri/core/workers/chunks/634b5ccd7a3ac67f855d.js +0 -1
  574. package/assets/esri/core/workers/chunks/662d13f68cf3ec92439b.js +0 -1
  575. package/assets/esri/core/workers/chunks/663ad15b86936eb06b69.js +0 -1
  576. package/assets/esri/core/workers/chunks/67162b3e2cc1b5dc6818.js +0 -1
  577. package/assets/esri/core/workers/chunks/739e579150bf466d43ae.js +0 -1
  578. package/assets/esri/core/workers/chunks/74df1f3e1e2e524a89d2.js +0 -1
  579. package/assets/esri/core/workers/chunks/76eef4799f6c5fff7e2d.js +0 -1
  580. package/assets/esri/core/workers/chunks/7baf6b1f3f050aa67ae4.js +0 -1
  581. package/assets/esri/core/workers/chunks/7bc5cc5dbf1b7b70ddac.js +0 -1
  582. package/assets/esri/core/workers/chunks/85e27fd949475f9a6bbc.js +0 -1
  583. package/assets/esri/core/workers/chunks/8967288145f8fbd20e7d.js +0 -1
  584. package/assets/esri/core/workers/chunks/8b6ab6202a40fe622833.js +0 -1
  585. package/assets/esri/core/workers/chunks/96ab518eb6ba11333dee.js +0 -1
  586. package/assets/esri/core/workers/chunks/9796d54ff12b6429164a.js +0 -1
  587. package/assets/esri/core/workers/chunks/99a777693e4539f0b03b.js +0 -1
  588. package/assets/esri/core/workers/chunks/9cb2ae42a8e328b1d98d.js +0 -1
  589. package/assets/esri/core/workers/chunks/9d3c58a0ef634d95b7bd.js +0 -1
  590. package/assets/esri/core/workers/chunks/a6ff3db3493543df81bc.js +0 -1
  591. package/assets/esri/core/workers/chunks/a8c13529367c037cdd94.js +0 -1
  592. package/assets/esri/core/workers/chunks/a96afc176041f698c7a1.js +0 -1
  593. package/assets/esri/core/workers/chunks/aa861b8eae6c85f3dad4.js +0 -1
  594. package/assets/esri/core/workers/chunks/ac8dca61ade28c542ae2.js +0 -1
  595. package/assets/esri/core/workers/chunks/ad081d8e49e7f90c3c26.js +0 -1
  596. package/assets/esri/core/workers/chunks/afa6912454f2a5ffadce.js +0 -1
  597. package/assets/esri/core/workers/chunks/b2beb6e1fd2ee6503830.js +0 -1
  598. package/assets/esri/core/workers/chunks/ba615f118a3a8970ef25.js +0 -1
  599. package/assets/esri/core/workers/chunks/ba6654a885be4b7a43f0.js +0 -1
  600. package/assets/esri/core/workers/chunks/bab1cfd0a901181622af.js +0 -1
  601. package/assets/esri/core/workers/chunks/be2b7cce79fd41627931.js +0 -1
  602. package/assets/esri/core/workers/chunks/c080114a69fa95b88d22.js +0 -1
  603. package/assets/esri/core/workers/chunks/c11474b702dfb94e8e87.js +0 -1
  604. package/assets/esri/core/workers/chunks/c13dfdd548dcb1bdb294.js +0 -1
  605. package/assets/esri/core/workers/chunks/c6bd943fe8fd13bb4806.js +0 -1
  606. package/assets/esri/core/workers/chunks/c6f94b92e866b881d9b9.js +0 -1
  607. package/assets/esri/core/workers/chunks/ca2f5faa01d99c21ec14.js +0 -1
  608. package/assets/esri/core/workers/chunks/cd7d83d127e085d52584.js +0 -1
  609. package/assets/esri/core/workers/chunks/cef4af64860ebbfc1c47.js +0 -1
  610. package/assets/esri/core/workers/chunks/cfbffa429d88e7709c3f.js +0 -1
  611. package/assets/esri/core/workers/chunks/d24c4fbc567486b1188f.js +0 -1
  612. package/assets/esri/core/workers/chunks/d52108864136c5a8a618.js +0 -1
  613. package/assets/esri/core/workers/chunks/da1c2873bdbc0956dca0.js +0 -1
  614. package/assets/esri/core/workers/chunks/de03439ca2c9782bf325.js +0 -1
  615. package/assets/esri/core/workers/chunks/de6cff7b6cbbf99b20d1.js +0 -981
  616. package/assets/esri/core/workers/chunks/e079cb1d53aca15b7df2.js +0 -1
  617. package/assets/esri/core/workers/chunks/e59764ee8cf25d4f74e2.js +0 -1
  618. package/assets/esri/core/workers/chunks/e6df9839b551569fbc62.js +0 -1
  619. package/assets/esri/core/workers/chunks/e97e986120aaadad7d4c.js +0 -1
  620. package/assets/esri/core/workers/chunks/f467c8f1fce22f6f599c.js +0 -1
  621. package/assets/esri/core/workers/chunks/f678293de9a6d8f5b5db.js +0 -1
  622. package/assets/esri/core/workers/chunks/f8e7755240a94b499e1f.js +0 -1
  623. package/assets/esri/core/workers/chunks/fd3e5d823dc7917f4b8f.js +0 -1
  624. package/assets/esri/core/workers/chunks/ffaf091c6023225cf5aa.js +0 -1
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9474],{46521:(t,e,n)=>{function r(){return[1,0,0,0,1,0,0,0,1]}function o(t,e){return new Float64Array(t,e,9)}n.d(e,{a:()=>o,c:()=>r}),Object.freeze({__proto__:null,create:r,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},fromValues:function(t,e,n,r,o,i,a,s,u){return[t,e,n,r,o,i,a,s,u]},createView:o})},52138:(t,e,n)=>{n.d(e,{a:()=>u,d:()=>M,e:()=>h,f:()=>d,h:()=>f,i:()=>a,j:()=>l,m:()=>c,p:()=>w,s:()=>i,t:()=>s,u:()=>b,v:()=>A,w:()=>U,y:()=>m});var r=n(65617),o=n(46851);function i(t,e,n,r,o,i,a,s,u,c,l,f,h,d,b,M,m){return t[0]=e,t[1]=n,t[2]=r,t[3]=o,t[4]=i,t[5]=a,t[6]=s,t[7]=u,t[8]=c,t[9]=l,t[10]=f,t[11]=h,t[12]=d,t[13]=b,t[14]=M,t[15]=m,t}function a(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function s(t,e){if(t===e){const n=e[1],r=e[2],o=e[3],i=e[6],a=e[7],s=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=i,t[11]=e[14],t[12]=o,t[13]=a,t[14]=s}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}function u(t,e){const n=e[0],r=e[1],o=e[2],i=e[3],a=e[4],s=e[5],u=e[6],c=e[7],l=e[8],f=e[9],h=e[10],d=e[11],b=e[12],M=e[13],m=e[14],p=e[15],g=n*s-r*a,y=n*u-o*a,U=n*c-i*a,A=r*u-o*s,w=r*c-i*s,O=o*c-i*u,E=l*M-f*b,T=l*m-h*b,I=l*p-d*b,C=f*m-h*M,S=f*p-d*M,N=h*p-d*m;let R=g*N-y*S+U*C+A*I-w*T+O*E;return R?(R=1/R,t[0]=(s*N-u*S+c*C)*R,t[1]=(o*S-r*N-i*C)*R,t[2]=(M*O-m*w+p*A)*R,t[3]=(h*w-f*O-d*A)*R,t[4]=(u*I-a*N-c*T)*R,t[5]=(n*N-o*I+i*T)*R,t[6]=(m*U-b*O-p*y)*R,t[7]=(l*O-h*U+d*y)*R,t[8]=(a*S-s*I+c*E)*R,t[9]=(r*I-n*S-i*E)*R,t[10]=(b*w-M*U+p*g)*R,t[11]=(f*U-l*w-d*g)*R,t[12]=(s*T-a*C-u*E)*R,t[13]=(n*C-r*T+o*E)*R,t[14]=(M*y-b*A-m*g)*R,t[15]=(l*A-f*y+h*g)*R,t):null}function c(t,e,n){const r=e[0],o=e[1],i=e[2],a=e[3],s=e[4],u=e[5],c=e[6],l=e[7],f=e[8],h=e[9],d=e[10],b=e[11],M=e[12],m=e[13],p=e[14],g=e[15];let y=n[0],U=n[1],A=n[2],w=n[3];return t[0]=y*r+U*s+A*f+w*M,t[1]=y*o+U*u+A*h+w*m,t[2]=y*i+U*c+A*d+w*p,t[3]=y*a+U*l+A*b+w*g,y=n[4],U=n[5],A=n[6],w=n[7],t[4]=y*r+U*s+A*f+w*M,t[5]=y*o+U*u+A*h+w*m,t[6]=y*i+U*c+A*d+w*p,t[7]=y*a+U*l+A*b+w*g,y=n[8],U=n[9],A=n[10],w=n[11],t[8]=y*r+U*s+A*f+w*M,t[9]=y*o+U*u+A*h+w*m,t[10]=y*i+U*c+A*d+w*p,t[11]=y*a+U*l+A*b+w*g,y=n[12],U=n[13],A=n[14],w=n[15],t[12]=y*r+U*s+A*f+w*M,t[13]=y*o+U*u+A*h+w*m,t[14]=y*i+U*c+A*d+w*p,t[15]=y*a+U*l+A*b+w*g,t}function l(t,e,n){const r=n[0],o=n[1],i=n[2];let a,s,u,c,l,f,h,d,b,M,m,p;return e===t?(t[12]=e[0]*r+e[4]*o+e[8]*i+e[12],t[13]=e[1]*r+e[5]*o+e[9]*i+e[13],t[14]=e[2]*r+e[6]*o+e[10]*i+e[14],t[15]=e[3]*r+e[7]*o+e[11]*i+e[15]):(a=e[0],s=e[1],u=e[2],c=e[3],l=e[4],f=e[5],h=e[6],d=e[7],b=e[8],M=e[9],m=e[10],p=e[11],t[0]=a,t[1]=s,t[2]=u,t[3]=c,t[4]=l,t[5]=f,t[6]=h,t[7]=d,t[8]=b,t[9]=M,t[10]=m,t[11]=p,t[12]=a*r+l*o+b*i+e[12],t[13]=s*r+f*o+M*i+e[13],t[14]=u*r+h*o+m*i+e[14],t[15]=c*r+d*o+p*i+e[15]),t}function f(t,e,n){const r=n[0],o=n[1],i=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*o,t[5]=e[5]*o,t[6]=e[6]*o,t[7]=e[7]*o,t[8]=e[8]*i,t[9]=e[9]*i,t[10]=e[10]*i,t[11]=e[11]*i,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function h(t,e,n,r){let i,a,s,u,c,l,f,h,d,b,M,m,p,g,y,U,A,w,O,E,T,I,C,S,N=r[0],R=r[1],v=r[2],B=Math.sqrt(N*N+R*R+v*v);return B<o.E?null:(B=1/B,N*=B,R*=B,v*=B,i=Math.sin(n),a=Math.cos(n),s=1-a,u=e[0],c=e[1],l=e[2],f=e[3],h=e[4],d=e[5],b=e[6],M=e[7],m=e[8],p=e[9],g=e[10],y=e[11],U=N*N*s+a,A=R*N*s+v*i,w=v*N*s-R*i,O=N*R*s-v*i,E=R*R*s+a,T=v*R*s+N*i,I=N*v*s+R*i,C=R*v*s-N*i,S=v*v*s+a,t[0]=u*U+h*A+m*w,t[1]=c*U+d*A+p*w,t[2]=l*U+b*A+g*w,t[3]=f*U+M*A+y*w,t[4]=u*O+h*E+m*T,t[5]=c*O+d*E+p*T,t[6]=l*O+b*E+g*T,t[7]=f*O+M*E+y*T,t[8]=u*I+h*C+m*S,t[9]=c*I+d*C+p*S,t[10]=l*I+b*C+g*S,t[11]=f*I+M*C+y*S,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t)}function d(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}function b(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function M(t,e,n){let r,i,a,s=n[0],u=n[1],c=n[2],l=Math.sqrt(s*s+u*u+c*c);return l<o.E?null:(l=1/l,s*=l,u*=l,c*=l,r=Math.sin(e),i=Math.cos(e),a=1-i,t[0]=s*s*a+i,t[1]=u*s*a+c*r,t[2]=c*s*a-u*r,t[3]=0,t[4]=s*u*a-c*r,t[5]=u*u*a+i,t[6]=c*u*a+s*r,t[7]=0,t[8]=s*c*a+u*r,t[9]=u*c*a-s*r,t[10]=c*c*a+i,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t)}function m(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=n,t[7]=0,t[8]=0,t[9]=-n,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function p(t,e,n){const r=e[0],o=e[1],i=e[2],a=e[3],s=r+r,u=o+o,c=i+i,l=r*s,f=r*u,h=r*c,d=o*u,b=o*c,M=i*c,m=a*s,p=a*u,g=a*c;return t[0]=1-(d+M),t[1]=f+g,t[2]=h-p,t[3]=0,t[4]=f-g,t[5]=1-(l+M),t[6]=b+m,t[7]=0,t[8]=h+p,t[9]=b-m,t[10]=1-(l+d),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}const g=(0,r.c)();function y(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],t}function U(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]}function A(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],a=t[3],s=t[4],u=t[5],c=t[6],l=t[7],f=t[8],h=t[9],d=t[10],b=t[11],M=t[12],m=t[13],p=t[14],g=t[15],y=e[0],U=e[1],A=e[2],w=e[3],O=e[4],E=e[5],T=e[6],I=e[7],C=e[8],S=e[9],N=e[10],R=e[11],v=e[12],B=e[13],F=e[14],D=e[15];return Math.abs(n-y)<=o.E*Math.max(1,Math.abs(n),Math.abs(y))&&Math.abs(r-U)<=o.E*Math.max(1,Math.abs(r),Math.abs(U))&&Math.abs(i-A)<=o.E*Math.max(1,Math.abs(i),Math.abs(A))&&Math.abs(a-w)<=o.E*Math.max(1,Math.abs(a),Math.abs(w))&&Math.abs(s-O)<=o.E*Math.max(1,Math.abs(s),Math.abs(O))&&Math.abs(u-E)<=o.E*Math.max(1,Math.abs(u),Math.abs(E))&&Math.abs(c-T)<=o.E*Math.max(1,Math.abs(c),Math.abs(T))&&Math.abs(l-I)<=o.E*Math.max(1,Math.abs(l),Math.abs(I))&&Math.abs(f-C)<=o.E*Math.max(1,Math.abs(f),Math.abs(C))&&Math.abs(h-S)<=o.E*Math.max(1,Math.abs(h),Math.abs(S))&&Math.abs(d-N)<=o.E*Math.max(1,Math.abs(d),Math.abs(N))&&Math.abs(b-R)<=o.E*Math.max(1,Math.abs(b),Math.abs(R))&&Math.abs(M-v)<=o.E*Math.max(1,Math.abs(M),Math.abs(v))&&Math.abs(m-B)<=o.E*Math.max(1,Math.abs(m),Math.abs(B))&&Math.abs(p-F)<=o.E*Math.max(1,Math.abs(p),Math.abs(F))&&Math.abs(g-D)<=o.E*Math.max(1,Math.abs(g),Math.abs(D))}function w(t){const e=o.E,n=t[0],r=t[1],i=t[2],a=t[4],s=t[5],u=t[6],c=t[8],l=t[9],f=t[10];return Math.abs(1-(n*n+a*a+c*c))<=e&&Math.abs(1-(r*r+s*s+l*l))<=e&&Math.abs(1-(i*i+u*u+f*f))<=e}const O=c,E=y;Object.freeze({__proto__:null,copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},set:i,identity:a,transpose:s,invert:u,adjoint:function(t,e){const n=e[0],r=e[1],o=e[2],i=e[3],a=e[4],s=e[5],u=e[6],c=e[7],l=e[8],f=e[9],h=e[10],d=e[11],b=e[12],M=e[13],m=e[14],p=e[15];return t[0]=s*(h*p-d*m)-f*(u*p-c*m)+M*(u*d-c*h),t[1]=-(r*(h*p-d*m)-f*(o*p-i*m)+M*(o*d-i*h)),t[2]=r*(u*p-c*m)-s*(o*p-i*m)+M*(o*c-i*u),t[3]=-(r*(u*d-c*h)-s*(o*d-i*h)+f*(o*c-i*u)),t[4]=-(a*(h*p-d*m)-l*(u*p-c*m)+b*(u*d-c*h)),t[5]=n*(h*p-d*m)-l*(o*p-i*m)+b*(o*d-i*h),t[6]=-(n*(u*p-c*m)-a*(o*p-i*m)+b*(o*c-i*u)),t[7]=n*(u*d-c*h)-a*(o*d-i*h)+l*(o*c-i*u),t[8]=a*(f*p-d*M)-l*(s*p-c*M)+b*(s*d-c*f),t[9]=-(n*(f*p-d*M)-l*(r*p-i*M)+b*(r*d-i*f)),t[10]=n*(s*p-c*M)-a*(r*p-i*M)+b*(r*c-i*s),t[11]=-(n*(s*d-c*f)-a*(r*d-i*f)+l*(r*c-i*s)),t[12]=-(a*(f*m-h*M)-l*(s*m-u*M)+b*(s*h-u*f)),t[13]=n*(f*m-h*M)-l*(r*m-o*M)+b*(r*h-o*f),t[14]=-(n*(s*m-u*M)-a*(r*m-o*M)+b*(r*u-o*s)),t[15]=n*(s*h-u*f)-a*(r*h-o*f)+l*(r*u-o*s),t},determinant:function(t){const e=t[0],n=t[1],r=t[2],o=t[3],i=t[4],a=t[5],s=t[6],u=t[7],c=t[8],l=t[9],f=t[10],h=t[11],d=t[12],b=t[13],M=t[14],m=t[15];return(e*a-n*i)*(f*m-h*M)-(e*s-r*i)*(l*m-h*b)+(e*u-o*i)*(l*M-f*b)+(n*s-r*a)*(c*m-h*d)-(n*u-o*a)*(c*M-f*d)+(r*u-o*s)*(c*b-l*d)},multiply:c,translate:l,scale:f,rotate:h,rotateX:function(t,e,n){const r=Math.sin(n),o=Math.cos(n),i=e[4],a=e[5],s=e[6],u=e[7],c=e[8],l=e[9],f=e[10],h=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=i*o+c*r,t[5]=a*o+l*r,t[6]=s*o+f*r,t[7]=u*o+h*r,t[8]=c*o-i*r,t[9]=l*o-a*r,t[10]=f*o-s*r,t[11]=h*o-u*r,t},rotateY:function(t,e,n){const r=Math.sin(n),o=Math.cos(n),i=e[0],a=e[1],s=e[2],u=e[3],c=e[8],l=e[9],f=e[10],h=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=i*o-c*r,t[1]=a*o-l*r,t[2]=s*o-f*r,t[3]=u*o-h*r,t[8]=i*r+c*o,t[9]=a*r+l*o,t[10]=s*r+f*o,t[11]=u*r+h*o,t},rotateZ:function(t,e,n){const r=Math.sin(n),o=Math.cos(n),i=e[0],a=e[1],s=e[2],u=e[3],c=e[4],l=e[5],f=e[6],h=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=i*o+c*r,t[1]=a*o+l*r,t[2]=s*o+f*r,t[3]=u*o+h*r,t[4]=c*o-i*r,t[5]=l*o-a*r,t[6]=f*o-s*r,t[7]=h*o-u*r,t},fromTranslation:d,fromScaling:b,fromRotation:M,fromXRotation:m,fromYRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=0,t[2]=-n,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=n,t[9]=0,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=0,t[4]=-n,t[5]=r,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromRotationTranslation:p,fromQuat2:function(t,e){const n=g,r=-e[0],o=-e[1],i=-e[2],a=e[3],s=e[4],u=e[5],c=e[6],l=e[7],f=r*r+o*o+i*i+a*a;return f>0?(n[0]=2*(s*a+l*r+u*i-c*o)/f,n[1]=2*(u*a+l*o+c*r-s*i)/f,n[2]=2*(c*a+l*i+s*o-u*r)/f):(n[0]=2*(s*a+l*r+u*i-c*o),n[1]=2*(u*a+l*o+c*r-s*i),n[2]=2*(c*a+l*i+s*o-u*r)),p(t,e,n),t},getTranslation:function(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t},getScaling:function(t,e){const n=e[0],r=e[1],o=e[2],i=e[4],a=e[5],s=e[6],u=e[8],c=e[9],l=e[10];return t[0]=Math.sqrt(n*n+r*r+o*o),t[1]=Math.sqrt(i*i+a*a+s*s),t[2]=Math.sqrt(u*u+c*c+l*l),t},getRotation:function(t,e){const n=e[0]+e[5]+e[10];let r=0;return n>0?(r=2*Math.sqrt(n+1),t[3]=.25*r,t[0]=(e[6]-e[9])/r,t[1]=(e[8]-e[2])/r,t[2]=(e[1]-e[4])/r):e[0]>e[5]&&e[0]>e[10]?(r=2*Math.sqrt(1+e[0]-e[5]-e[10]),t[3]=(e[6]-e[9])/r,t[0]=.25*r,t[1]=(e[1]+e[4])/r,t[2]=(e[8]+e[2])/r):e[5]>e[10]?(r=2*Math.sqrt(1+e[5]-e[0]-e[10]),t[3]=(e[8]-e[2])/r,t[0]=(e[1]+e[4])/r,t[1]=.25*r,t[2]=(e[6]+e[9])/r):(r=2*Math.sqrt(1+e[10]-e[0]-e[5]),t[3]=(e[1]-e[4])/r,t[0]=(e[8]+e[2])/r,t[1]=(e[6]+e[9])/r,t[2]=.25*r),t},fromRotationTranslationScale:function(t,e,n,r){const o=e[0],i=e[1],a=e[2],s=e[3],u=o+o,c=i+i,l=a+a,f=o*u,h=o*c,d=o*l,b=i*c,M=i*l,m=a*l,p=s*u,g=s*c,y=s*l,U=r[0],A=r[1],w=r[2];return t[0]=(1-(b+m))*U,t[1]=(h+y)*U,t[2]=(d-g)*U,t[3]=0,t[4]=(h-y)*A,t[5]=(1-(f+m))*A,t[6]=(M+p)*A,t[7]=0,t[8]=(d+g)*w,t[9]=(M-p)*w,t[10]=(1-(f+b))*w,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t},fromRotationTranslationScaleOrigin:function(t,e,n,r,o){const i=e[0],a=e[1],s=e[2],u=e[3],c=i+i,l=a+a,f=s+s,h=i*c,d=i*l,b=i*f,M=a*l,m=a*f,p=s*f,g=u*c,y=u*l,U=u*f,A=r[0],w=r[1],O=r[2],E=o[0],T=o[1],I=o[2],C=(1-(M+p))*A,S=(d+U)*A,N=(b-y)*A,R=(d-U)*w,v=(1-(h+p))*w,B=(m+g)*w,F=(b+y)*O,D=(m-g)*O,P=(1-(h+M))*O;return t[0]=C,t[1]=S,t[2]=N,t[3]=0,t[4]=R,t[5]=v,t[6]=B,t[7]=0,t[8]=F,t[9]=D,t[10]=P,t[11]=0,t[12]=n[0]+E-(C*E+R*T+F*I),t[13]=n[1]+T-(S*E+v*T+D*I),t[14]=n[2]+I-(N*E+B*T+P*I),t[15]=1,t},fromQuat:function(t,e){const n=e[0],r=e[1],o=e[2],i=e[3],a=n+n,s=r+r,u=o+o,c=n*a,l=r*a,f=r*s,h=o*a,d=o*s,b=o*u,M=i*a,m=i*s,p=i*u;return t[0]=1-f-b,t[1]=l+p,t[2]=h-m,t[3]=0,t[4]=l-p,t[5]=1-c-b,t[6]=d+M,t[7]=0,t[8]=h+m,t[9]=d-M,t[10]=1-c-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},frustum:function(t,e,n,r,o,i,a){const s=1/(n-e),u=1/(o-r),c=1/(i-a);return t[0]=2*i*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*i*u,t[6]=0,t[7]=0,t[8]=(n+e)*s,t[9]=(o+r)*u,t[10]=(a+i)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=a*i*2*c,t[15]=0,t},perspective:function(t,e,n,r,o){const i=1/Math.tan(e/2);let a;return t[0]=i/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=i,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=o&&o!==1/0?(a=1/(r-o),t[10]=(o+r)*a,t[14]=2*o*r*a):(t[10]=-1,t[14]=-2*r),t},perspectiveFromFieldOfView:function(t,e,n,r){const o=Math.tan(e.upDegrees*Math.PI/180),i=Math.tan(e.downDegrees*Math.PI/180),a=Math.tan(e.leftDegrees*Math.PI/180),s=Math.tan(e.rightDegrees*Math.PI/180),u=2/(a+s),c=2/(o+i);return t[0]=u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-(a-s)*u*.5,t[9]=(o-i)*c*.5,t[10]=r/(n-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*n/(n-r),t[15]=0,t},ortho:function(t,e,n,r,o,i,a){const s=1/(e-n),u=1/(r-o),c=1/(i-a);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*u,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(e+n)*s,t[13]=(o+r)*u,t[14]=(a+i)*c,t[15]=1,t},lookAt:function(t,e,n,r){let i,s,u,c,l,f,h,d,b,M;const m=e[0],p=e[1],g=e[2],y=r[0],U=r[1],A=r[2],w=n[0],O=n[1],E=n[2];return Math.abs(m-w)<o.E&&Math.abs(p-O)<o.E&&Math.abs(g-E)<o.E?a(t):(h=m-w,d=p-O,b=g-E,M=1/Math.sqrt(h*h+d*d+b*b),h*=M,d*=M,b*=M,i=U*b-A*d,s=A*h-y*b,u=y*d-U*h,M=Math.sqrt(i*i+s*s+u*u),M?(M=1/M,i*=M,s*=M,u*=M):(i=0,s=0,u=0),c=d*u-b*s,l=b*i-h*u,f=h*s-d*i,M=Math.sqrt(c*c+l*l+f*f),M?(M=1/M,c*=M,l*=M,f*=M):(c=0,l=0,f=0),t[0]=i,t[1]=c,t[2]=h,t[3]=0,t[4]=s,t[5]=l,t[6]=d,t[7]=0,t[8]=u,t[9]=f,t[10]=b,t[11]=0,t[12]=-(i*m+s*p+u*g),t[13]=-(c*m+l*p+f*g),t[14]=-(h*m+d*p+b*g),t[15]=1,t)},targetTo:function(t,e,n,r){const o=e[0],i=e[1],a=e[2],s=r[0],u=r[1],c=r[2];let l=o-n[0],f=i-n[1],h=a-n[2],d=l*l+f*f+h*h;d>0&&(d=1/Math.sqrt(d),l*=d,f*=d,h*=d);let b=u*h-c*f,M=c*l-s*h,m=s*f-u*l;return d=b*b+M*M+m*m,d>0&&(d=1/Math.sqrt(d),b*=d,M*=d,m*=d),t[0]=b,t[1]=M,t[2]=m,t[3]=0,t[4]=f*m-h*M,t[5]=h*b-l*m,t[6]=l*M-f*b,t[7]=0,t[8]=l,t[9]=f,t[10]=h,t[11]=0,t[12]=o,t[13]=i,t[14]=a,t[15]=1,t},str:function(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t[9]=e[9]+n[9],t[10]=e[10]+n[10],t[11]=e[11]+n[11],t[12]=e[12]+n[12],t[13]=e[13]+n[13],t[14]=e[14]+n[14],t[15]=e[15]+n[15],t},subtract:y,multiplyScalar:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t[9]=e[9]*n,t[10]=e[10]*n,t[11]=e[11]*n,t[12]=e[12]*n,t[13]=e[13]*n,t[14]=e[14]*n,t[15]=e[15]*n,t},multiplyScalarAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t[9]=e[9]+n[9]*r,t[10]=e[10]+n[10]*r,t[11]=e[11]+n[11]*r,t[12]=e[12]+n[12]*r,t[13]=e[13]+n[13]*r,t[14]=e[14]+n[14]*r,t[15]=e[15]+n[15]*r,t},exactEquals:U,equals:A,isOrthoNormal:w,mul:O,sub:E})},51305:(t,e,n)=>{n.d(e,{c:()=>d,g:()=>l,j:()=>S,k:()=>M,m:()=>f,s:()=>c});var r=n(46521),o=n(94961),i=n(65617),a=n(46851),s=n(17896),u=n(98766);function c(t,e,n){n*=.5;const r=Math.sin(n);return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=Math.cos(n),t}function l(t,e){const n=2*Math.acos(e[3]),r=Math.sin(n/2);return r>a.E?(t[0]=e[0]/r,t[1]=e[1]/r,t[2]=e[2]/r):(t[0]=1,t[1]=0,t[2]=0),n}function f(t,e,n){const r=e[0],o=e[1],i=e[2],a=e[3],s=n[0],u=n[1],c=n[2],l=n[3];return t[0]=r*l+a*s+o*c-i*u,t[1]=o*l+a*u+i*s-r*c,t[2]=i*l+a*c+r*u-o*s,t[3]=a*l-r*s-o*u-i*c,t}function h(t,e,n,r){const o=e[0],i=e[1],s=e[2],u=e[3];let c,l,f,h,d,b=n[0],M=n[1],m=n[2],p=n[3];return l=o*b+i*M+s*m+u*p,l<0&&(l=-l,b=-b,M=-M,m=-m,p=-p),1-l>a.E?(c=Math.acos(l),f=Math.sin(c),h=Math.sin((1-r)*c)/f,d=Math.sin(r*c)/f):(h=1-r,d=r),t[0]=h*o+d*b,t[1]=h*i+d*M,t[2]=h*s+d*m,t[3]=h*u+d*p,t}function d(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=e[3],t}function b(t,e){const n=e[0]+e[4]+e[8];let r;if(n>0)r=Math.sqrt(n+1),t[3]=.5*r,r=.5/r,t[0]=(e[5]-e[7])*r,t[1]=(e[6]-e[2])*r,t[2]=(e[1]-e[3])*r;else{let n=0;e[4]>e[0]&&(n=1),e[8]>e[3*n+n]&&(n=2);const o=(n+1)%3,i=(n+2)%3;r=Math.sqrt(e[3*n+n]-e[3*o+o]-e[3*i+i]+1),t[n]=.5*r,r=.5/r,t[3]=(e[3*o+i]-e[3*i+o])*r,t[o]=(e[3*o+n]+e[3*n+o])*r,t[i]=(e[3*i+n]+e[3*n+i])*r}return t}function M(t,e,n,r){const o=.5*Math.PI/180;e*=o,n*=o,r*=o;const i=Math.sin(e),a=Math.cos(e),s=Math.sin(n),u=Math.cos(n),c=Math.sin(r),l=Math.cos(r);return t[0]=i*u*l-a*s*c,t[1]=a*s*l+i*u*c,t[2]=a*u*c-i*s*l,t[3]=a*u*l+i*s*c,t}const m=u.c,p=u.s,g=u.a,y=f,U=u.b,A=u.d,w=u.l,O=u.e,E=O,T=u.f,I=T,C=u.n,S=u.g,N=u.h,R=(0,i.c)(),v=(0,i.f)(1,0,0),B=(0,i.f)(0,1,0),F=(0,o.a)(),D=(0,o.a)(),P=(0,r.c)();Object.freeze({__proto__:null,identity:function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},setAxisAngle:c,getAxisAngle:l,multiply:f,rotateX:function(t,e,n){n*=.5;const r=e[0],o=e[1],i=e[2],a=e[3],s=Math.sin(n),u=Math.cos(n);return t[0]=r*u+a*s,t[1]=o*u+i*s,t[2]=i*u-o*s,t[3]=a*u-r*s,t},rotateY:function(t,e,n){n*=.5;const r=e[0],o=e[1],i=e[2],a=e[3],s=Math.sin(n),u=Math.cos(n);return t[0]=r*u-i*s,t[1]=o*u+a*s,t[2]=i*u+r*s,t[3]=a*u-o*s,t},rotateZ:function(t,e,n){n*=.5;const r=e[0],o=e[1],i=e[2],a=e[3],s=Math.sin(n),u=Math.cos(n);return t[0]=r*u+o*s,t[1]=o*u-r*s,t[2]=i*u+a*s,t[3]=a*u-i*s,t},calculateW:function(t,e){const n=e[0],r=e[1],o=e[2];return t[0]=n,t[1]=r,t[2]=o,t[3]=Math.sqrt(Math.abs(1-n*n-r*r-o*o)),t},slerp:h,random:function(t){const e=(0,a.R)(),n=(0,a.R)(),r=(0,a.R)(),o=Math.sqrt(1-e),i=Math.sqrt(e);return t[0]=o*Math.sin(2*Math.PI*n),t[1]=o*Math.cos(2*Math.PI*n),t[2]=i*Math.sin(2*Math.PI*r),t[3]=i*Math.cos(2*Math.PI*r),t},invert:function(t,e){const n=e[0],r=e[1],o=e[2],i=e[3],a=n*n+r*r+o*o+i*i,s=a?1/a:0;return t[0]=-n*s,t[1]=-r*s,t[2]=-o*s,t[3]=i*s,t},conjugate:d,fromMat3:b,fromEuler:M,str:function(t){return"quat("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},copy:m,set:p,add:g,mul:y,scale:U,dot:A,lerp:w,length:O,len:E,squaredLength:T,sqrLen:I,normalize:C,exactEquals:S,equals:N,rotationTo:function(t,e,n){const r=(0,s.d)(e,n);return r<-.999999?((0,s.c)(R,v,e),(0,s.u)(R)<1e-6&&(0,s.c)(R,B,e),(0,s.n)(R,R),c(t,R,Math.PI),t):r>.999999?(t[0]=0,t[1]=0,t[2]=0,t[3]=1,t):((0,s.c)(R,e,n),t[0]=R[0],t[1]=R[1],t[2]=R[2],t[3]=1+r,C(t,t))},sqlerp:function(t,e,n,r,o,i){return h(F,e,o,i),h(D,n,r,i),h(t,F,D,2*i*(1-i)),t},setAxes:function(t,e,n,r){const o=P;return o[0]=n[0],o[3]=n[1],o[6]=n[2],o[1]=r[0],o[4]=r[1],o[7]=r[2],o[2]=-e[0],o[5]=-e[1],o[8]=-e[2],C(t,b(t,o))}})},94961:(t,e,n)=>{function r(){return[0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3]]}function i(t,e){return new Float64Array(t,e,4)}n.d(e,{I:()=>a,a:()=>r,b:()=>o,c:()=>i});const a=[0,0,0,1];Object.freeze({__proto__:null,create:r,clone:o,fromValues:function(t,e,n,r){return[t,e,n,r]},createView:i,IDENTITY:a})},72119:(t,e,n)=>{function r(){return new Float32Array(3)}function o(t,e,n){const r=new Float32Array(3);return r[0]=t,r[1]=e,r[2]=n,r}function i(){return r()}function a(){return o(1,1,1)}function s(){return o(1,0,0)}function u(){return o(0,1,0)}function c(){return o(0,0,1)}n.d(e,{c:()=>r,f:()=>o});const l=i(),f=a(),h=s(),d=u(),b=c();Object.freeze({__proto__:null,create:r,clone:function(t){const e=new Float32Array(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},fromValues:o,createView:function(t,e){return new Float32Array(t,e,3)},zeros:i,ones:a,unitX:s,unitY:u,unitZ:c,ZEROS:l,ONES:f,UNIT_X:h,UNIT_Y:d,UNIT_Z:b})},67900:(t,e,n)=>{n.d(e,{gV:()=>q,En:()=>O,Z7:()=>N,c9:()=>S,_R:()=>I,qE:()=>B,cM:()=>C,hd:()=>l,ty:()=>E,Jo:()=>L,$C:()=>T}),n(80442);var r=n(35454),o=n(70586),i=n(24678),a=n(82971),s=n(68441),u=n(8744),c=n(58116);const l=39.37,f=s.sv.radius*Math.PI/200,h=/UNIT\[([^\]]+)\]\]$/i,d=c.Z,b=/UNIT\[([^\]]+)\]/i,M=new Set([4261,4305,4807,4810,4811,4812,4816,4819,4821,4901,4902,37225,104139,104140]),m=(0,r.wY)()({meter:"meters",foot:"feet",foot_us:"us-feet",foot_clarke:"clarke-feet",yard_clarke:"clarke-yards",link_clarke:"clarke-links",yard_sears:"sears-yards",foot_sears:"sears-feet",chain_sears:"sears-chains",chain_benoit_1895_b:"benoit-1895-b-chains",yard_indian:"indian-yards",yard_indian_1937:"indian-1937-yards",foot_gold_coast:"gold-coast-feet",chain_sears_1922_truncated:"sears-1922-truncated-chains","50_kilometers":"50-kilometers","150_kilometers":"150-kilometers"}),p=t=>t*t,g=t=>t*t*t,y={length:{baseUnit:"meters",units:{millimeters:{inBaseUnits:.001},centimeters:{inBaseUnits:.01},decimeters:{inBaseUnits:.1},meters:{inBaseUnits:1},kilometers:{inBaseUnits:1e3},inches:{inBaseUnits:.0254},feet:{inBaseUnits:.3048},yards:{inBaseUnits:.9144},miles:{inBaseUnits:1609.344},"nautical-miles":{inBaseUnits:1852},"us-feet":{inBaseUnits:1200/3937}}},area:{baseUnit:"square-meters",units:{"square-millimeters":{inBaseUnits:p(.001)},"square-centimeters":{inBaseUnits:p(.01)},"square-decimeters":{inBaseUnits:p(.1)},"square-meters":{inBaseUnits:1},"square-kilometers":{inBaseUnits:p(1e3)},"square-inches":{inBaseUnits:p(.0254)},"square-feet":{inBaseUnits:p(.3048)},"square-yards":{inBaseUnits:p(.9144)},"square-miles":{inBaseUnits:p(1609.344)},"square-us-feet":{inBaseUnits:p(1200/3937)},acres:{inBaseUnits:.0015625*p(1609.344)},ares:{inBaseUnits:100},hectares:{inBaseUnits:1e4}}},volume:{baseUnit:"liters",units:{liters:{inBaseUnits:1},"cubic-millimeters":{inBaseUnits:1e3*g(.001)},"cubic-centimeters":{inBaseUnits:1e3*g(.01)},"cubic-decimeters":{inBaseUnits:1e3*g(.1)},"cubic-meters":{inBaseUnits:1e3},"cubic-kilometers":{inBaseUnits:1e3*g(1e3)},"cubic-inches":{inBaseUnits:1e3*g(.0254)},"cubic-feet":{inBaseUnits:1e3*g(.3048)},"cubic-yards":{inBaseUnits:1e3*g(.9144)},"cubic-miles":{inBaseUnits:1e3*g(1609.344)}}},angle:{baseUnit:"radians",units:{radians:{inBaseUnits:1},degrees:{inBaseUnits:Math.PI/180}}}},U=function(){const t={};for(const e in y)for(const n in y[e].units)t[n]=e;return t}();function A(t){const e=U[t];if(e)return e;throw new Error("unknown measure")}function w(t,e=null){return e=e||A(t),y[e].baseUnit===t}function O(t,e,n){if(e===n)return t;const r=A(e);if(r!==A(n))throw new Error("incompatible units");const o=w(e,r)?t:function(t,e,n){return t*y[n].units[e].inBaseUnits}(t,e,r);return w(n,r)?o:function(t,e,n){return t/y[n].units[e].inBaseUnits}(o,n,r)}function E(t,e,n){return O(t,e,"meters")/(n*Math.PI/180)}function T(t){return m.fromJSON(t.toLowerCase())||null}function I(t){if(t&&"object"==typeof t&&!(0,u.N$)(t))return 1;const e=S(t);return e>1e5?1:e}function C(t){return S(t)>=(t instanceof a.Z?(0,i.Iu)(t).metersPerDegree:1e5)?"meters":B(t)}function S(t,e=s.sv.metersPerDegree){return N(t,!0)||e}function N(t,e=!1){let n,r,o=null;if(null!=t&&("object"==typeof t?(n=t.wkid,r=t.wkt):"number"==typeof t?n=t:"string"==typeof t&&(r=t)),n){if((0,u.o$)(n))return s.yr.metersPerDegree;if((0,u.ME)(n))return s.Z1.metersPerDegree;o=d.values[d[n]],!o&&e&&M.has(n)&&(o=f)}else r&&(D(r)?o=R(h.exec(r),o):F(r)&&(o=R(b.exec(r),o)));return o}function R(t,e){return t&&t[1]?v(t[1]):e}function v(t){return parseFloat(t.split(",")[1])}function B(t){let e,n,r=null;if(null!=t&&("object"==typeof t?(e=t.wkid,n=t.wkt):"number"==typeof t?e=t:"string"==typeof t&&(n=t)),e)r=d.units[d[e]];else if(n){const t=D(n)?h:F(n)?b:null;if(t){const e=t.exec(n);e&&e[1]&&(r=function(t){const e=/[\\"\\']{1}([^\\"\\']+)/.exec(t);let n=e&&e[1];if(!n||-1===d.units.indexOf(n)){const e=v(t);n=null;const r=d.values;for(let t=0;t<r.length;++t)if(Math.abs(e-r[t])<1e-7){n=d.units[t];break}}return n}(e[1]))}}return(0,o.pC)(r)?T(r):null}function F(t){return/^GEOCCS/i.test(t)}function D(t){return/^PROJCS/i.test(t)}const P={esriAcres:"acres",esriAres:"ares",esriHectares:"hectares",esriSquareCentimeters:"square-centimeters",esriSquareDecimeters:"square-decimeters",esriSquareFeet:"square-feet",esriSquareInches:"square-inches",esriSquareKilometers:"square-kilometers",esriSquareMeters:"square-meters",esriSquareMiles:"square-miles",esriSquareMillimeters:"square-millimeters",esriSquareUsFeet:"square-us-feet",esriSquareYards:"square-yards"},x={esriCentimeters:"centimeters",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriYards:"yards"},q=(0,r.wY)()(P),L=(0,r.wY)()(x);(0,r.wY)()({...P,...x})},24678:(t,e,n)=>{n.d(e,{GG:()=>s,HQ:()=>u,VY:()=>c,wY:()=>l,Iu:()=>h,e8:()=>d,rS:()=>f});var r=n(82971),o=n(68441),i=n(8744);function a(t){return new r.Z({wkt:`GEOCCS["Spherical geocentric",\n DATUM["Not specified",\n SPHEROID["Sphere",${t.radius},0]],\n PRIMEM["Greenwich",0.0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",EAST],\n AXIS["Geocentric Z",NORTH]\n ]`})}const s=a(o.sv),u=a(o.yr),c=a(o.Z1),l=new r.Z({wkt:`GEOCCS["WGS 84",\n DATUM["WGS_1984",\n SPHEROID["WGS 84",${o.sv.radius},298.257223563,\n AUTHORITY["EPSG","7030"]],\n AUTHORITY["EPSG","6326"]],\n PRIMEM["Greenwich",0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0,\n AUTHORITY["EPSG","9001"]],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",OTHER],\n AXIS["Geocentric Z",NORTH],\n AUTHORITY["EPSG","4978"]\n]`});function f(t){return t&&((0,i.BZ)(t)||t===u)?u:t&&((0,i.V2)(t)||t===c)?c:s}function h(t){return t&&((0,i.BZ)(t)||t===u)?o.yr:t&&((0,i.V2)(t)||t===c)?o.Z1:o.sv}function d(t){return(0,i.o$)(t)?o.yr:(0,i.ME)(t)?o.Z1:o.sv}},24470:(t,e,n)=>{n.d(e,{Gv:()=>h,SO:()=>c,r3:()=>f,Ue:()=>i,oJ:()=>s,al:()=>a,kK:()=>l,HH:()=>u}),n(80442),n(22021);var r=n(70586),o=n(6570);function i(t=d){return[t[0],t[1],t[2],t[3]]}function a(t,e,n,r,o=i()){return o[0]=t,o[1]=e,o[2]=n,o[3]=r,o}function s(t,e=i()){return e[0]=t.xmin,e[1]=t.ymin,e[2]=t.xmax,e[3]=t.ymax,e}function u(t,e){return new o.Z({xmin:t[0],ymin:t[1],xmax:t[2],ymax:t[3],spatialReference:e})}function c(t){return function(t){return(0,r.Wi)(t)||t[0]>=t[2]?0:t[2]-t[0]}(t)*function(t){return t[1]>=t[3]?0:t[3]-t[1]}(t)}function l(t,e){return Math.max(e[0],t[0])<=Math.min(e[2],t[2])&&Math.max(e[1],t[1])<=Math.min(e[3],t[3])}function f(t,e){return e[0]>=t[0]&&e[2]<=t[2]&&e[1]>=t[1]&&e[3]<=t[3]}const h=[1/0,1/0,-1/0,-1/0],d=[0,0,0,0]},69285:(t,e,n)=>{n.d(e,{k:()=>a});var r=n(70586),o=n(67900),i=n(8744);function a(t,e,n){if((0,r.Wi)(e)||(0,r.Wi)(n)||n.vcsWkid||(0,i.fS)(e,n))return null;const a=(0,o._R)(e)/(0,o._R)(n);if(1===a)return null;switch(t){case"point":case"esriGeometryPoint":return t=>function(t,e){t&&null!=t.z&&(t.z*=e)}(t,a);case"polyline":case"esriGeometryPolyline":return t=>function(t,e){if(t)for(const n of t.paths)for(const t of n)t.length>2&&(t[2]*=e)}(t,a);case"polygon":case"esriGeometryPolygon":return t=>function(t,e){if(t)for(const n of t.rings)for(const t of n)t.length>2&&(t[2]*=e)}(t,a);case"multipoint":case"esriGeometryMultipoint":return t=>function(t,e){if(t)for(const n of t.points)n.length>2&&(n[2]*=e)}(t,a);case"extent":case"esriGeometryExtent":return t=>function(t,e){t&&null!=t.zmin&&null!=t.zmax&&(t.zmin*=e,t.zmax*=e)}(t,a);default:return null}}},16583:(t,e,n)=>{n.r(e),n.d(e,{default:()=>Z});var r=n(70586),o=n(1533),i=n(51305);function a(){const t=new Float32Array(4);return t[3]=1,t}Object.freeze({__proto__:null,create:a,clone:function(t){const e=new Float32Array(4);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e},fromValues:function(t,e,n,r){const o=new Float32Array(4);return o[0]=t,o[1]=e,o[2]=n,o[3]=r,o},createView:function(t,e){return new Float32Array(t,e,4)}});var s=n(17896),u=n(72119),c=n(90411),l=n(82971),f=n(23030),h=n(14008),d=n(46329),b=n(20102),M=n(22974),m=n(92604);const p=!0;function g(t,e,n){return{identifier:String.fromCharCode.apply(null,new Uint8Array(t,n+0,10)),version:e.getUint16(n+10,p),checksum:e.getUint32(n+12,p)}}function y(t,e,n){const r=[];e=U(t,e,r);const o=[];for(let i=0;i<r.length;i++){o.length=0,e=U(t,e,o);for(let t=0;t<o.length;t++)n.push(o[t]+r[i])}return e}function U(t,e,n){const r=new DataView(t,e),o=r.getUint8(0),i=31&o,a=!!(32&o),s=(192&o)>>6;let u=0;if(0===s)u=r.getUint32(1,p),e+=5;else if(1===s)u=r.getUint16(1,p),e+=3;else{if(2!==s)throw new b.Z("lepcc-decode-error","Bad count type");u=r.getUint8(1),e+=2}if(a)throw new b.Z("lepcc-decode-error","LUT not implemented");const c=Math.ceil(u*i/8),l=new Uint8Array(t,e,c);let f=0,h=0,d=0;const M=-1>>>32-i;for(let t=0;t<u;t++){for(;h<i;)f|=l[d]<<h,h+=8,d+=1;n[t]=f&M,f>>>=i,h-=i,h+i>32&&(f|=l[d-1]>>8-h)}return e+d}var A=n(47026);const w=m.Z.getLogger("esri.views.3d.layers.i3s.I3SBinaryReader");function O(t,e,n){let r="",o=0;for(;o<n;){const i=t[e+o];if(i<128)r+=String.fromCharCode(i),o++;else if(i>=192&&i<224){if(o+1>=n)throw new b.Z("utf8-decode-error","UTF-8 Decode failed. Two byte character was truncated.");const a=(31&i)<<6|63&t[e+o+1];r+=String.fromCharCode(a),o+=2}else if(i>=224&&i<240){if(o+2>=n)throw new b.Z("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const a=(15&i)<<12|(63&t[e+o+1])<<6|63&t[e+o+2];r+=String.fromCharCode(a),o+=3}else{if(!(i>=240&&i<248))throw new b.Z("utf8-decode-error","UTF-8 Decode failed. Invalid multi byte sequence.");{if(o+3>=n)throw new b.Z("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const a=(7&i)<<18|(63&t[e+o+1])<<12|(63&t[e+o+2])<<6|63&t[e+o+3];if(a>=65536){const t=55296+(a-65536>>10),e=56320+(1023&a);r+=String.fromCharCode(t,e)}else r+=String.fromCharCode(a);o+=4}}}return r}function E(t,e){const n={byteOffset:0,byteCount:0,fields:Object.create(null)};let r=0;for(let o=0;o<e.length;o++){const i=e[o],a=i.valueType||i.type,s=v[a];n.fields[i.property]=s(t,r),r+=R[a].BYTES_PER_ELEMENT}return n.byteCount=r,n}function T(t,e,n){const r=[];let o,i,a=0;for(i=0;i<t;i+=1){if(o=e[i],o>0){if(r.push(O(n,a,o-1)),0!==n[a+o-1])throw new b.Z("string-array-error","Invalid string array: missing null termination.")}else r.push(null);a+=o}return r}function I(t,e){return new(0,R[e.valueType])(t,e.byteOffset,e.count*e.valuesPerElement)}function C(t,e,n){if(e!==t&&w.error(`Invalid ${n} buffer size\n expected: ${t}, actual: ${e})`),e<t)throw new b.Z("buffer-too-small","Binary buffer is too small",{expectedSize:t,actualSize:e})}const S={position:A.T.POSITION,normal:A.T.NORMAL,color:A.T.COLOR,uv0:A.T.UV0,region:A.T.UVREGION};function N(t,e,n){if("lepcc-rgb"===t.encoding)return function(t){const e=new DataView(t,0);let n=0;const{identifier:r,version:o}=g(t,e,n);if(n+=16,"ClusterRGB"!==r)throw new b.Z("lepcc-decode-error","Bad identifier");if(o>1)throw new b.Z("lepcc-decode-error","Unknown version");const i=(s=n,{sizeLo:(a=e).getUint32(s+0,p),sizeHi:a.getUint32(s+4,p),count:a.getUint32(s+8,p),colorMapCount:a.getUint16(s+12,p),lookupMethod:a.getUint8(s+14),compressionMethod:a.getUint8(s+15)});var a,s;if(n+=16,i.sizeHi*2**32+i.sizeLo!==t.byteLength)throw new b.Z("lepcc-decode-error","Bad size");if((2===i.lookupMethod||1===i.lookupMethod)&&0===i.compressionMethod){if(3*i.colorMapCount+i.count+n!==t.byteLength||i.colorMapCount>256)throw new b.Z("lepcc-decode-error","Bad count");const e=new Uint8Array(t,n,3*i.colorMapCount),r=new Uint8Array(t,n+3*i.colorMapCount,i.count),o=new Uint8Array(3*i.count);for(let t=0;t<i.count;t++){const n=r[t];o[3*t]=e[3*n],o[3*t+1]=e[3*n+1],o[3*t+2]=e[3*n+2]}return o}if(0===i.lookupMethod&&0===i.compressionMethod){if(3*i.count+n!==t.byteLength||0!==i.colorMapCount)throw new b.Z("lepcc-decode-error","Bad count");return new Uint8Array(t,n).slice()}if(i.lookupMethod<=2&&1===i.compressionMethod){if(n+3!==t.byteLength||1!==i.colorMapCount)throw new b.Z("lepcc-decode-error","Bad count");const r=e.getUint8(n),o=e.getUint8(n+1),a=e.getUint8(n+2),s=new Uint8Array(3*i.count);for(let t=0;t<i.count;t++)s[3*t]=r,s[3*t+1]=o,s[3*t+2]=a;return s}throw new b.Z("lepcc-decode-error","Bad method "+i.lookupMethod+","+i.compressionMethod)}(e);if("lepcc-intensity"===t.encoding)return function(t){const e=new DataView(t,0);let n=0;const{identifier:r,version:o}=g(t,e,n);if(n+=16,"Intensity "!==r)throw new b.Z("lepcc-decode-error","Bad identifier");if(o>1)throw new b.Z("lepcc-decode-error","Unknown version");const i=(s=n,{sizeLo:(a=e).getUint32(s+0,p),sizeHi:a.getUint32(s+4,p),count:a.getUint32(s+8,p),scaleFactor:a.getUint16(s+12,p),bitsPerPoint:a.getUint8(s+14),reserved:a.getUint8(s+15)});var a,s;if(n+=16,i.sizeHi*2**32+i.sizeLo!==t.byteLength)throw new b.Z("lepcc-decode-error","Bad size");const u=new Uint16Array(i.count);if(8===i.bitsPerPoint){if(i.count+n!==t.byteLength)throw new b.Z("lepcc-decode-error","Bad size");const e=new Uint8Array(t,n,i.count);for(let t=0;t<i.count;t++)u[t]=e[t]*i.scaleFactor}else if(16===i.bitsPerPoint){if(2*i.count+n!==t.byteLength)throw new b.Z("lepcc-decode-error","Bad size");const e=new Uint16Array(t,n,i.count);for(let t=0;t<i.count;t++)u[t]=e[t]*i.scaleFactor}else{const e=[];if(U(t,n,e)!==t.byteLength)throw new b.Z("lepcc-decode-error","Bad size");for(let t=0;t<i.count;t++)u[t]=e[t]*i.scaleFactor}return u}(e);if(null!=t.encoding&&""!==t.encoding)throw new b.Z("unknown-attribute-storage-info-encoding","Unknown Attribute Storage Info Encoding");t["attributeByteCounts "]&&!t.attributeByteCounts&&(w.warn("Warning: Trailing space in 'attributeByteCounts '."),t.attributeByteCounts=t["attributeByteCounts "]),"ObjectIds"===t.ordering[0]&&t.hasOwnProperty("objectIds")&&(w.warn("Warning: Case error in objectIds"),t.ordering[0]="objectIds");const r=function(t,e,n){const r=null!=e.header?E(t,e.header):{byteOffset:0,byteCount:0,fields:{count:n}},o={header:r,byteOffset:r.byteCount,byteCount:0,entries:Object.create(null)};let i=r.byteCount;for(let t=0;t<e.ordering.length;t++){const n=e.ordering[t],a=(0,M.d9)(e[n]);if(a.count=r.fields.count,"String"===a.valueType){if(a.byteOffset=i,a.byteCount=r.fields[n+"ByteCount"],"UTF-8"!==a.encoding)throw new b.Z("unsupported-encoding","Unsupported String encoding.",{encoding:a.encoding})}else{if(!B(a.valueType))throw new b.Z("unsupported-value-type","Unsupported binary valueType",{valueType:a.valueType});{const t=F(a.valueType);i+=i%t!=0?t-i%t:0,a.byteOffset=i,a.byteCount=t*a.valuesPerElement*a.count}}i+=a.byteCount,o.entries[n]=a}return o.byteCount=i-o.byteOffset,o}(e,t,n);C(r.byteOffset+r.byteCount,e.byteLength,"attribute");const o=r.entries.attributeValues||r.entries.objectIds;if(o){if("String"===o.valueType){const t=r.entries.attributeByteCounts,n=I(e,t),i=function(t,e){return new Uint8Array(t,e.byteOffset,e.byteCount)}(e,o);return T(t.count,n,i)}return I(e,o)}throw new b.Z("bad-attribute-storage-info","Bad attributeStorageInfo specification.")}const R={Float32:Float32Array,Float64:Float64Array,UInt8:Uint8Array,Int8:Int8Array,UInt16:Uint16Array,Int16:Int16Array,UInt32:Uint32Array,Int32:Int32Array},v={Float32:(t,e)=>new DataView(t,0).getFloat32(e,!0),Float64:(t,e)=>new DataView(t,0).getFloat64(e,!0),UInt8:(t,e)=>new DataView(t,0).getUint8(e),Int8:(t,e)=>new DataView(t,0).getInt8(e),UInt16:(t,e)=>new DataView(t,0).getUint16(e,!0),Int16:(t,e)=>new DataView(t,0).getInt16(e,!0),UInt32:(t,e)=>new DataView(t,0).getUint32(e,!0),Int32:(t,e)=>new DataView(t,0).getInt32(e,!0)};function B(t){return R.hasOwnProperty(t)}function F(t){return B(t)?R[t].BYTES_PER_ELEMENT:0}function D(t,e){if(null==t.encoding||""===t.encoding){const n=function(t,e){const n=E(t,e&&e.header);let r=n.byteCount;const o={isDraco:!1,header:n,byteOffset:n.byteCount,byteCount:0,vertexAttributes:{}},i=n.fields,a=null!=i.vertexCount?i.vertexCount:i.count;for(const t of e.ordering){if(!e.vertexAttributes[t])continue;const n={...e.vertexAttributes[t],byteOffset:r,count:a},i=S[t]?S[t]:"_"+t;o.vertexAttributes[i]=n,r+=F(n.valueType)*n.valuesPerElement*a}const s=i.faceCount;if(e.faces&&s){o.faces={};for(const t of e.ordering){if(!e.faces[t])continue;const n={...e.faces[t],byteOffset:r,count:s};o.faces[t]=n,r+=F(n.valueType)*n.valuesPerElement*s}}const u=i.featureCount;if(e.featureAttributes&&e.featureAttributeOrder&&u){o.featureAttributes={};for(const t of e.featureAttributeOrder){if(!e.featureAttributes[t])continue;const n={...e.featureAttributes[t],byteOffset:r,count:u};o.featureAttributes[t]=n,r+=("UInt64"===n.valueType?8:F(n.valueType))*n.valuesPerElement*u}}return C(r,t.byteLength,"geometry"),o.byteCount=r-o.byteOffset,o}(e,t);if((0,r.Wi)(n.vertexAttributes.position))return;const o=I(e,n.vertexAttributes.position),i=n.header.fields,a=[i.offsetX,i.offsetY,i.offsetZ],s=[i.scaleX,i.scaleY,i.scaleZ],u=o.length/3,c=new Float64Array(3*u);for(let t=0;t<u;t++)c[3*t]=o[3*t]*s[0]+a[0],c[3*t+1]=o[3*t+1]*s[1]+a[1],c[3*t+2]=o[3*t+2]*s[2]+a[2];return c}if("lepcc-xyz"===t.encoding)return function(t){const e=new DataView(t,0);let n=0;const{identifier:r,version:o}=g(t,e,n);if(n+=16,"LEPCC "!==r)throw new b.Z("lepcc-decode-error","Bad identifier");if(o>1)throw new b.Z("lepcc-decode-error","Unknown version");const i=(s=n,{sizeLo:(a=e).getUint32(s+0,p),sizeHi:a.getUint32(s+4,p),minX:a.getFloat64(s+8,p),minY:a.getFloat64(s+16,p),minZ:a.getFloat64(s+24,p),maxX:a.getFloat64(s+32,p),maxY:a.getFloat64(s+40,p),maxZ:a.getFloat64(s+48,p),errorX:a.getFloat64(s+56,p),errorY:a.getFloat64(s+64,p),errorZ:a.getFloat64(s+72,p),count:a.getUint32(s+80,p),reserved:a.getUint32(s+84,p)});var a,s;if(n+=88,i.sizeHi*2**32+i.sizeLo!==t.byteLength)throw new b.Z("lepcc-decode-error","Bad size");const u=new Float64Array(3*i.count),c=[],l=[],f=[],h=[];if(n=y(t,n,c),n=y(t,n,l),n=y(t,n,f),n=y(t,n,h),n!==t.byteLength)throw new b.Z("lepcc-decode-error","Bad length");let d=0,M=0;for(let t=0;t<c.length;t++){M+=c[t];let e=0;for(let n=0;n<l[t];n++){e+=f[d];const t=h[d];u[3*d]=Math.min(i.maxX,i.minX+2*i.errorX*e),u[3*d+1]=Math.min(i.maxY,i.minY+2*i.errorY*M),u[3*d+2]=Math.min(i.maxZ,i.minZ+2*i.errorZ*t),d++}}return{errorX:i.errorX,errorY:i.errorY,errorZ:i.errorZ,result:u}}(e).result}function P(t,e,n){return(0,r.pC)(t)&&t.attributeInfo.useElevation?function(t,e){const n=new Float64Array(e);for(let r=0;r<e;r++)n[r]=t[3*r+2];return n}(e,n):(0,r.pC)(t)?N(t.attributeInfo.storageInfo,t.buffer,n):null}function x(t){return null==t||"none"===t?null:"low-four-bit"===t?t=>15&t:"high-four-bit"===t?t=>(240&t)>>4:"absolute-value"===t?t=>Math.abs(t):"modulo-ten"===t?t=>t%10:null}function q(t){let e=0;for(const n of t||[])e|=1<<n;return e}class L{transform(t){const e=this._transform(t),n=[e.points.buffer,e.rgb.buffer];(0,r.pC)(e.pointIdFilterMap)&&n.push(e.pointIdFilterMap.buffer);for(const t of e.attributes)"buffer"in t.values&&(0,o.eP)(t.values.buffer)&&t.values.buffer!==e.rgb.buffer&&n.push(t.values.buffer);return Promise.resolve({result:e,transferList:n})}_transform(t){const e=D(t.schema,t.geometryBuffer);let n=e.length/3,o=null;const i=[],a=P(t.primaryAttributeData,e,n);(0,r.pC)(t.primaryAttributeData)&&a&&i.push({attributeInfo:t.primaryAttributeData.attributeInfo,values:a});const s=P(t.modulationAttributeData,e,n);(0,r.pC)(t.modulationAttributeData)&&s&&i.push({attributeInfo:t.modulationAttributeData.attributeInfo,values:s});let u=function(t,e,n,r){const{rendererJSON:o,isRGBRenderer:i}=t;let a=null,s=null;if(e&&i)a=e;else if(e&&"pointCloudUniqueValueRenderer"===o.type){s=d.Z.fromJSON(o);const t=s.colorUniqueValueInfos;a=new Uint8Array(3*r);const n=x(s.fieldTransformType);for(let o=0;o<r;o++){const r=(n?n(e[o]):e[o])+"";for(let e=0;e<t.length;e++)if(t[e].values.indexOf(r)>=0){a[3*o]=t[e].color.r,a[3*o+1]=t[e].color.g,a[3*o+2]=t[e].color.b;break}}}else if(e&&"pointCloudStretchRenderer"===o.type){s=h.Z.fromJSON(o);const t=s.stops;a=new Uint8Array(3*r);const n=x(s.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(e[o]):e[o],i=t.length-1;if(r<t[0].value)a[3*o]=t[0].color.r,a[3*o+1]=t[0].color.g,a[3*o+2]=t[0].color.b;else if(r>=t[i].value)a[3*o]=t[i].color.r,a[3*o+1]=t[i].color.g,a[3*o+2]=t[i].color.b;else for(let e=1;e<t.length;e++)if(r<t[e].value){const n=(r-t[e-1].value)/(t[e].value-t[e-1].value);a[3*o]=t[e].color.r*n+t[e-1].color.r*(1-n),a[3*o+1]=t[e].color.g*n+t[e-1].color.g*(1-n),a[3*o+2]=t[e].color.b*n+t[e-1].color.b*(1-n);break}}}else if(e&&"pointCloudClassBreaksRenderer"===o.type){s=f.Z.fromJSON(o);const t=s.colorClassBreakInfos;a=new Uint8Array(3*r);const n=x(s.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(e[o]):e[o];for(let e=0;e<t.length;e++)if(r>=t[e].minValue&&r<=t[e].maxValue){a[3*o]=t[e].color.r,a[3*o+1]=t[e].color.g,a[3*o+2]=t[e].color.b;break}}}else{a=new Uint8Array(3*r);for(let t=0;t<a.length;t++)a[t]=255}if(n&&s&&s.colorModulation){const t=s.colorModulation.minValue,e=s.colorModulation.maxValue,o=.3;for(let i=0;i<r;i++){const r=n[i],s=r>=e?1:r<=t?o:o+(1-o)*(r-t)/(e-t);a[3*i]=s*a[3*i],a[3*i+1]=s*a[3*i+1],a[3*i+2]=s*a[3*i+2]}}return a}(t.rendererInfo,a,s,n);if(t.filterInfo&&t.filterInfo.length>0&&(0,r.pC)(t.filterAttributesData)){const r=t.filterAttributesData.map((t=>{const r=P(t,e,n),o={attributeInfo:t.attributeInfo,values:r};return i.push(o),o}));o=new Uint32Array(n),n=function(t,e,n,r,o){const i=t.length/3;let a=0;for(let s=0;s<i;s++){let i=!0;for(let t=0;t<r.length&&i;t++){const{filterJSON:e}=r[t],n=o[t].values[s];switch(e.type){case"pointCloudValueFilter":{const t="exclude"===e.mode;-1!==e.values.indexOf(n)===t&&(i=!1);break}case"pointCloudBitfieldFilter":{const t=q(e.requiredSetBits),r=q(e.requiredClearBits);(n&t)===t&&0==(n&r)||(i=!1);break}case"pointCloudReturnFilter":{const t=15&n,r=n>>>4&15,o=r>1,a=1===t,s=t===r;let u=!1;for(const t of e.includedReturns)if("last"===t&&s||"firstOfMany"===t&&a&&o||"lastOfMany"===t&&s&&o||"single"===t&&!o){u=!0;break}u||(i=!1);break}}}i&&(n[a]=s,t[3*a]=t[3*s],t[3*a+1]=t[3*s+1],t[3*a+2]=t[3*s+2],e[3*a]=e[3*s],e[3*a+1]=e[3*s+1],e[3*a+2]=e[3*s+2],a++)}return a}(e,u,o,t.filterInfo,r)}for(const r of t.userAttributesData){const t=P(r,e,n);i.push({attributeInfo:r.attributeInfo,values:t})}3*n<u.length&&(u=new Uint8Array(u.buffer.slice(0,3*n))),this._applyElevationOffsetInPlace(e,n,t.elevationOffset);const c=this._transformCoordinates(e,n,t.obb,l.Z.fromJSON(t.inSR),l.Z.fromJSON(t.outSR));return{obb:t.obb,points:c,rgb:u,attributes:i,pointIdFilterMap:o}}_transformCoordinates(t,e,n,r,o){if(!(0,c.CM)(t,r,0,t,o,0,e))throw Error("Can't reproject");const a=(0,u.f)(n.center[0],n.center[1],n.center[2]),l=(0,u.c)(),f=(0,u.c)();(0,i.c)(k,n.quaternion);const h=new Float32Array(3*e);for(let r=0;r<e;r++)l[0]=t[3*r]-a[0],l[1]=t[3*r+1]-a[1],l[2]=t[3*r+2]-a[2],(0,s.q)(f,l,k),n.halfSize[0]=Math.max(n.halfSize[0],Math.abs(f[0])),n.halfSize[1]=Math.max(n.halfSize[1],Math.abs(f[1])),n.halfSize[2]=Math.max(n.halfSize[2],Math.abs(f[2])),h[3*r]=l[0],h[3*r+1]=l[1],h[3*r+2]=l[2];return h}_applyElevationOffsetInPlace(t,e,n){if(0!==n)for(let r=0;r<e;r++)t[3*r+2]+=n}}const k=a();function Z(){return new L}},47026:(t,e,n)=>{var r,o,i,a,s,u,c,l,f,h,d,b,M,m;n.d(e,{JJ:()=>M,Vr:()=>o,CE:()=>d,MX:()=>h,Rw:()=>u,hU:()=>c,Am:()=>a,T:()=>r}),function(t){t.POSITION="position",t.NORMAL="normal",t.UV0="uv0",t.AUXPOS1="auxpos1",t.AUXPOS2="auxpos2",t.MAPPOS="mapPos",t.COLOR="color",t.SYMBOLCOLOR="symbolColor",t.SIZE="size",t.TANGENT="tangent",t.OFFSET="offset",t.SUBDIVISIONFACTOR="subdivisionFactor",t.COLORFEATUREATTRIBUTE="colorFeatureAttribute",t.SIZEFEATUREATTRIBUTE="sizeFeatureAttribute",t.OPACITYFEATUREATTRIBUTE="opacityFeatureAttribute",t.DISTANCETOSTART="distanceToStart",t.UVMAPSPACE="uvMapSpace",t.BOUNDINGRECT="boundingRect",t.UVREGION="uvRegion",t.NORMALCOMPRESSED="normalCompressed",t.PROFILERIGHT="profileRight",t.PROFILEUP="profileUp",t.PROFILEVERTEXANDNORMAL="profileVertexAndNormal",t.FEATUREVALUE="featureValue",t.MODELORIGINHI="modelOriginHi",t.MODELORIGINLO="modelOriginLo",t.MODEL="model",t.MODELNORMAL="modelNormal",t.INSTANCECOLOR="instanceColor",t.INSTANCEFEATUREATTRIBUTE="instanceFeatureAttribute",t.LOCALTRANSFORM="localTransform",t.GLOBALTRANSFORM="globalTransform",t.BOUNDINGSPHERE="boundingSphere",t.MODELORIGIN="modelOrigin",t.MODELSCALEFACTORS="modelScaleFactors",t.FEATUREATTRIBUTE="featureAttribute",t.STATE="state",t.LODLEVEL="lodLevel",t.POSITION0="position0",t.POSITION1="position1",t.NORMALA="normalA",t.NORMALB="normalB",t.COMPONENTINDEX="componentIndex",t.VARIANTOFFSET="variantOffset",t.VARIANTSTROKE="variantStroke",t.VARIANTEXTENSION="variantExtension",t.U8PADDING="u8padding",t.U16PADDING="u16padding",t.SIDENESS="sideness",t.START="start",t.END="end",t.UP="up",t.EXTRUDE="extrude"}(r||(r={})),function(t){t[t.None=0]="None",t[t.Front=1]="Front",t[t.Back=2]="Back",t[t.COUNT=3]="COUNT"}(o||(o={})),function(t){t[t.NONE=0]="NONE",t[t.SMAA=1]="SMAA"}(i||(i={})),function(t){t[t.Color=0]="Color",t[t.Alpha=1]="Alpha",t[t.FrontFace=2]="FrontFace",t[t.NONE=3]="NONE",t[t.COUNT=4]="COUNT"}(a||(a={})),function(t){t[t.BACKGROUND=0]="BACKGROUND",t[t.UPDATE=1]="UPDATE"}(s||(s={})),function(t){t[t.NOT_LOADED=0]="NOT_LOADED",t[t.LOADING=1]="LOADING",t[t.LOADED=2]="LOADED"}(u||(u={})),function(t){t[t.IntegratedMeshMaskExcluded=1]="IntegratedMeshMaskExcluded",t[t.OutlineVisualElementMask=2]="OutlineVisualElementMask"}(c||(c={})),function(t){t[t.ASYNC=0]="ASYNC",t[t.SYNC=1]="SYNC"}(l||(l={})),function(t){t[t.Highlight=0]="Highlight",t[t.MaskOccludee=1]="MaskOccludee",t[t.COUNT=2]="COUNT"}(f||(f={})),function(t){t[t.Triangle=0]="Triangle",t[t.Point=1]="Point",t[t.Line=2]="Line"}(h||(h={})),function(t){t[t.STRETCH=1]="STRETCH",t[t.PAD=2]="PAD"}(d||(d={})),function(t){t[t.CHANGED=0]="CHANGED",t[t.UNCHANGED=1]="UNCHANGED"}(b||(b={})),function(t){t[t.Blend=0]="Blend",t[t.Opaque=1]="Opaque",t[t.Mask=2]="Mask",t[t.MaskBlend=3]="MaskBlend",t[t.COUNT=4]="COUNT"}(M||(M={})),function(t){t[t.OFF=0]="OFF",t[t.ON=1]="ON"}(m||(m={}))}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4695],{90344:(e,t,n)=>{n.d(t,{Ze:()=>p,p6:()=>f});var r=n(35454),o=n(70171);const a={year:"numeric",month:"numeric",day:"numeric"},l={year:"numeric",month:"long",day:"numeric"},i={year:"numeric",month:"short",day:"numeric"},s={year:"numeric",month:"long",weekday:"long",day:"numeric"},u={hour:"numeric",minute:"numeric"},h={...u,second:"numeric"},m={"short-date":a,"short-date-short-time":{...a,...u},"short-date-short-time-24":{...a,...u,hour12:!1},"short-date-long-time":{...a,...h},"short-date-long-time-24":{...a,...h,hour12:!1},"short-date-le":a,"short-date-le-short-time":{...a,...u},"short-date-le-short-time-24":{...a,...u,hour12:!1},"short-date-le-long-time":{...a,...h},"short-date-le-long-time-24":{...a,...h,hour12:!1},"long-month-day-year":l,"long-month-day-year-short-time":{...l,...u},"long-month-day-year-short-time-24":{...l,...u,hour12:!1},"long-month-day-year-long-time":{...l,...h},"long-month-day-year-long-time-24":{...l,...h,hour12:!1},"day-short-month-year":i,"day-short-month-year-short-time":{...i,...u},"day-short-month-year-short-time-24":{...i,...u,hour12:!1},"day-short-month-year-long-time":{...i,...h},"day-short-month-year-long-time-24":{...i,...h,hour12:!1},"long-date":s,"long-date-short-time":{...s,...u},"long-date-short-time-24":{...s,...u,hour12:!1},"long-date-long-time":{...s,...h},"long-date-long-time-24":{...s,...h,hour12:!1},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":u,"long-time":h},c=(0,r.wY)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),d=(c.apiValues,c.toJSON.bind(c),c.fromJSON.bind(c),{ar:"ar-u-nu-latn-ca-gregory"});let g=new WeakMap,y=m["short-date-short-time"];function p(e){return m[e]||null}function f(e,t){return function(e){const t=e||y;if(!g.has(t)){const e=(0,o.Kd)(),n=d[(0,o.Kd)()]||e;g.set(t,new Intl.DateTimeFormat(n,t))}return g.get(t)}(t).format(e)}(0,o.Ze)((()=>{g=new WeakMap,y=m["short-date-short-time"]}))},70171:(e,t,n)=>{var r,o,a;let l;n.d(t,{Ze:()=>d,Kd:()=>u,qe:()=>m});const i=null!=(r=null==(o=globalThis.esriConfig)?void 0:o.locale)?r:null==(a=globalThis.dojoConfig)?void 0:a.locale;function s(){var e,t;return null!=(e=null!=i?i:null==(t=globalThis.navigator)?void 0:t.language)?e:"en"}function u(){return void 0===l&&(l=s()),l}const h=[];function m(e){return h.push(e),{remove(){h.splice(h.indexOf(e),1)}}}const c=[];function d(e){return c.push(e),{remove(){h.splice(c.indexOf(e),1)}}}null==globalThis.addEventListener||globalThis.addEventListener("languagechange",(function(){const e=null!=undefined?undefined:s();l!==e&&(l=e,[...c].forEach((t=>{t.call(null,e)})),[...h].forEach((t=>{t.call(null,e)})))}))},18848:(e,t,n)=>{n.d(t,{sh:()=>s,uf:()=>u});var r=n(70586),o=n(70171);const a={ar:"ar-u-nu-latn"};let l=new WeakMap,i={};function s(e={}){const t={};return null!=e.digitSeparator&&(t.useGrouping=e.digitSeparator),null!=e.places&&(t.minimumFractionDigits=t.maximumFractionDigits=e.places),t}function u(e,t){return function(e){const t=e||i;if(!l.has(t)){const n=(0,o.Kd)(),r=a[(0,o.Kd)()]||n;l.set(t,new Intl.NumberFormat(r,e))}return(0,r.j0)(l.get(t))}(t).format(e)}(0,o.Ze)((()=>{l=new WeakMap,i={}}))},14695:(e,t,n)=>{n.r(t),n.d(t,{createLabelFunction:()=>d,formatField:()=>g});var r=n(20102),o=n(92604),a=n(90344),l=n(18848),i=n(35671),s=n(8813),u=n(59266);const h=o.Z.getLogger("esri.layers.support.labelFormatUtils"),m={type:"simple",evaluate:()=>null},c={getAttribute:(e,t)=>e.field(t)};async function d(e,t,o){if(!e||!e.symbol)return m;const a=e.where,l=(0,s.hV)(e),i=a?await Promise.resolve().then(n.bind(n,41534)):null;let d;if("arcade"===l.type){const e=await(0,u.WW)(l.expression,o,t);d={type:"arcade",evaluate(t){try{const n=e.evaluate({$feature:"attributes"in t?e.repurposeFeature(t):e.repurposeAdapter(t)});if(null!=n)return n.toString()}catch(e){h.error(new r.Z("bad-arcade-expression","Encountered an error when evaluating label expression for feature",{feature:t,expression:l}))}return null},needsHydrationToEvaluate:()=>null==(0,s.el)(l.expression)}}else d={type:"simple",evaluate:e=>l.expression.replace(/{[^}]*}/g,(n=>{const r=n.slice(1,-1),o=t.get(r);if(!o)return n;let a=null;return"attributes"in e?e&&e.attributes&&(a=e.attributes[o.name]):a=e.field(o.name),null==a?"":g(a,o)}))};if(a){let e;try{e=i.WhereClause.create(a,t)}catch(e){return m}const n=d.evaluate;d.evaluate=t=>{const r="attributes"in t?void 0:c;return e.testFeature(t,r)?n(t):null}}return d}function g(e,t){if(null==e)return"";const n=t.domain;if(n)if("codedValue"===n.type||"coded-value"===n.type){const t=e;for(const e of n.codedValues)if(e.code===t)return e.name}else if("range"===n.type){const t=+e,r="range"in n?n.range[0]:n.minValue,o="range"in n?n.range[1]:n.maxValue;if(r<=t&&t<=o)return n.name}let r=e;return"date"===t.type||"esriFieldTypeDate"===t.type?r=(0,a.p6)(r,(0,a.Ze)("short-date")):(0,i.H7)(t)&&(r=(0,l.uf)(+r)),r||""}},8813:(e,t,n)=>{n.d(t,{dI:()=>g,hV:()=>m,YI:()=>c,UO:()=>d,el:()=>v,z7:()=>h});var r=n(19153);const o="__begin__",a="__end__",l=new RegExp(o,"ig"),i=new RegExp(a,"ig"),s=new RegExp("^"+o,"i"),u=new RegExp(a+"$","i");function h(e){return e.replace(new RegExp("\\{","g"),"[").replace(new RegExp("\\}","g"),"]")}function m(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=function(e){return e.replace(new RegExp("\\[","g"),"{").replace(new RegExp("\\]","g"),"}")}(e.labelExpression),t.type="conventional"),t}function c(e){const t=m(e);if(!t)return null;switch(t.type){case"conventional":return g(t.expression);case"arcade":return t.expression}return null}function d(e){const t=m(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e.match(y);return t&&t[1].trim()||null}(t.expression);case"arcade":return v(t.expression)}return null}function g(e){let t;return e?(t=(0,r.gx)(e,(e=>o+'$feature["'+e+'"]'+a)),t=s.test(t)?t.replace(s,""):'"'+t,t=u.test(t)?t.replace(u,""):t+'"',t=t.replace(l,'" + ').replace(i,' + "')):t='""',t}const y=/^\s*\{([^}]+)\}\s*$/i,p=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])([\w\s]+)(\2)\]));?\s*$/i,f=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])([\w\s]+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,x=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])([\w\s]+)(\1)\s*\));?\s*$/i;function v(e){if(!e)return null;let t=p.exec(e)||f.exec(e);return t?t[1]||t[3]:(t=x.exec(e),t?t[2]:null)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3578],{74669:(e,t,s)=>{s.d(t,{Z:()=>n});var i=s(69801);class n{constructor(e,t){this._storage=new i.WJ,this._storage.maxSize=e,t&&this._storage.registerRemoveFunc("",t)}put(e,t){this._storage.put(e,t,1,1)}pop(e){return this._storage.pop(e)}get(e){return this._storage.get(e)}clear(){this._storage.clearAll()}destroy(){this._storage.destroy()}}},69801:(e,t,s)=>{s.d(t,{Xq:()=>a,WJ:()=>c});var i,n,r=s(70586),o=s(44553);(n=i||(i={}))[n.ALL=0]="ALL",n[n.SOME=1]="SOME";class a{constructor(e,t,s){this._namespace=e,this._storage=t,this._removeFunc=!1,this._hit=0,this._miss=0,this._storage.register(this),this._namespace+=":",s&&(this._storage.registerRemoveFunc(this._namespace,s),this._removeFunc=!0)}destroy(){this._storage.clear(this._namespace),this._removeFunc&&this._storage.deregisterRemoveFunc(this._namespace),this._storage.deregister(this),this._storage=null}get namespace(){return this._namespace.slice(0,-1)}get hitRate(){return this._hit/(this._hit+this._miss)}get size(){return this._storage.size}get maxSize(){return this._storage.maxSize}resetHitRate(){this._hit=this._miss=0}put(e,t,s,i=0){this._storage.put(this._namespace+e,t,s,i)}get(e){const t=this._storage.get(this._namespace+e);return void 0===t?++this._miss:++this._hit,t}pop(e){const t=this._storage.pop(this._namespace+e);return void 0===t?++this._miss:++this._hit,t}updateSize(e,t,s){this._storage.updateSize(this._namespace+e,t,s)}clear(){this._storage.clear(this._namespace)}clearAll(){this._storage.clearAll()}getStats(){return this._storage.getStats()}resetStats(){this._storage.resetStats()}}class c{constructor(e=10485760){this._maxSize=e,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._removeFuncs=new o.Z,this._users=new o.Z}destroy(){this.clearAll(),this._removeFuncs.clear(),this._users.clear(),this._db=null}register(e){this._users.push(e)}deregister(e){this._users.removeUnordered(e)}registerRemoveFunc(e,t){this._removeFuncs.push([e,t])}deregisterRemoveFunc(e){this._removeFuncs.filterInPlace((t=>t[0]!==e))}get size(){return this._size}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,0),this._checkSizeLimit()}put(e,t,s,n){const r=this._db.get(e);if(r&&(this._size-=r.size,this._db.delete(e),r.entry!==t&&this._notifyRemove(e,r.entry,i.ALL)),s>this._maxSize)return void this._notifyRemove(e,t,i.ALL);if(void 0===t)return void console.warn("Refusing to cache undefined entry ");if(!s||s<0)return void console.warn("Refusing to cache entry with invalid size "+s);const o=1+Math.max(n,-3)- -3;this._db.set(e,{entry:t,size:s,lifetime:o,lives:o}),this._size+=s,this._checkSizeLimit()}updateSize(e,t,s){const n=this._db.get(e);if(n&&n.entry===t){for(this._size-=n.size;s>this._maxSize;){const n=this._notifyRemove(e,t,i.SOME);if(!((0,r.pC)(n)&&n>0))return void this._db.delete(e);s=n}n.size=s,this._size+=s,this._checkSizeLimit()}}pop(e){const t=this._db.get(e);if(t)return this._size-=t.size,this._db.delete(e),++this._hit,t.entry;++this._miss}get(e){const t=this._db.get(e);if(void 0!==t)return this._db.delete(e),t.lives=t.lifetime,this._db.set(e,t),++this._hit,t.entry;++this._miss}getStats(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},s=new Array;this._db.forEach(((e,i)=>{const n=e.lifetime;s[n]=(s[n]||0)+e.size,this._users.forAll((s=>{const n=s.namespace;if(i.startsWith(n)){const s=t[n]||0;t[n]=s+e.size}}))}));const i={};this._users.forAll((e=>{const s=e.namespace;if(!isNaN(e.hitRate)&&e.hitRate>0){const n=t[s]||0;t[s]=n,i[s]=Math.round(100*e.hitRate)+"%"}else i[s]="0%"}));const n=Object.keys(t);n.sort(((e,s)=>t[s]-t[e])),n.forEach((s=>e[s]=Math.round(t[s]/2**20)+"MB / "+i[s]));for(let t=s.length-1;t>=0;--t){const i=s[t];i&&(e["Priority "+(t+-3-1)]=Math.round(i/this.size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._users.forAll((e=>e.resetHitRate()))}clear(e){this._db.forEach(((t,s)=>{s.startsWith(e)&&(this._size-=t.size,this._db.delete(s),this._notifyRemove(s,t.entry,i.ALL))}))}clearAll(){this._db.forEach(((e,t)=>this._notifyRemove(t,e.entry,i.ALL))),this._size=0,this._db.clear()}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,s){let i;return this._removeFuncs.some((n=>{if(e.startsWith(n[0])){const e=n[1](t,s);return"number"==typeof e&&(i=e),!0}return!1})),i}_checkSizeLimit(){if(!(this._size<=this._maxSize))for(const[e,t]of this._db){if(this._db.delete(e),t.lives<=1){this._size-=t.size;const s=this._notifyRemove(e,t.entry,i.SOME);(0,r.pC)(s)&&s>0&&(this._size+=s,t.lives=t.lifetime,t.size=s,this._db.set(e,t))}else--t.lives,this._db.set(e,t);if(this._size<=.9*this.maxSize)return}}}},36030:(e,t,s)=>{s.d(t,{J:()=>r});var i=s(35454),n=s(5600);function r(e,t={}){var s;const r=e instanceof i.Xn?e:new i.Xn(e,t),o={type:null==(s=null==t?void 0:t.ignoreUnknown)||s?r.apiValues:String,json:{type:r.jsonValues,read:(null==t||!t.readOnly)&&{reader:r.read},write:{writer:r.write}}};return void 0!==(null==t?void 0:t.readOnly)&&(o.readOnly=!!t.readOnly),void 0!==(null==t?void 0:t.default)&&(o.json.default=t.default),void 0!==(null==t?void 0:t.name)&&(o.json.name=t.name),(0,n.Cb)(o)}},67900:(e,t,s)=>{s.d(t,{gV:()=>G,En:()=>z,Z7:()=>k,c9:()=>Z,_R:()=>x,qE:()=>C,cM:()=>B,hd:()=>u,ty:()=>U,Jo:()=>P,$C:()=>R}),s(80442);var i=s(35454),n=s(70586),r=s(24678),o=s(82971),a=s(68441),c=s(8744),l=s(58116);const u=39.37,h=a.sv.radius*Math.PI/200,f=/UNIT\[([^\]]+)\]\]$/i,m=l.Z,d=/UNIT\[([^\]]+)\]/i,p=new Set([4261,4305,4807,4810,4811,4812,4816,4819,4821,4901,4902,37225,104139,104140]),_=(0,i.wY)()({meter:"meters",foot:"feet",foot_us:"us-feet",foot_clarke:"clarke-feet",yard_clarke:"clarke-yards",link_clarke:"clarke-links",yard_sears:"sears-yards",foot_sears:"sears-feet",chain_sears:"sears-chains",chain_benoit_1895_b:"benoit-1895-b-chains",yard_indian:"indian-yards",yard_indian_1937:"indian-1937-yards",foot_gold_coast:"gold-coast-feet",chain_sears_1922_truncated:"sears-1922-truncated-chains","50_kilometers":"50-kilometers","150_kilometers":"150-kilometers"}),y=e=>e*e,g=e=>e*e*e,v={length:{baseUnit:"meters",units:{millimeters:{inBaseUnits:.001},centimeters:{inBaseUnits:.01},decimeters:{inBaseUnits:.1},meters:{inBaseUnits:1},kilometers:{inBaseUnits:1e3},inches:{inBaseUnits:.0254},feet:{inBaseUnits:.3048},yards:{inBaseUnits:.9144},miles:{inBaseUnits:1609.344},"nautical-miles":{inBaseUnits:1852},"us-feet":{inBaseUnits:1200/3937}}},area:{baseUnit:"square-meters",units:{"square-millimeters":{inBaseUnits:y(.001)},"square-centimeters":{inBaseUnits:y(.01)},"square-decimeters":{inBaseUnits:y(.1)},"square-meters":{inBaseUnits:1},"square-kilometers":{inBaseUnits:y(1e3)},"square-inches":{inBaseUnits:y(.0254)},"square-feet":{inBaseUnits:y(.3048)},"square-yards":{inBaseUnits:y(.9144)},"square-miles":{inBaseUnits:y(1609.344)},"square-us-feet":{inBaseUnits:y(1200/3937)},acres:{inBaseUnits:.0015625*y(1609.344)},ares:{inBaseUnits:100},hectares:{inBaseUnits:1e4}}},volume:{baseUnit:"liters",units:{liters:{inBaseUnits:1},"cubic-millimeters":{inBaseUnits:1e3*g(.001)},"cubic-centimeters":{inBaseUnits:1e3*g(.01)},"cubic-decimeters":{inBaseUnits:1e3*g(.1)},"cubic-meters":{inBaseUnits:1e3},"cubic-kilometers":{inBaseUnits:1e3*g(1e3)},"cubic-inches":{inBaseUnits:1e3*g(.0254)},"cubic-feet":{inBaseUnits:1e3*g(.3048)},"cubic-yards":{inBaseUnits:1e3*g(.9144)},"cubic-miles":{inBaseUnits:1e3*g(1609.344)}}},angle:{baseUnit:"radians",units:{radians:{inBaseUnits:1},degrees:{inBaseUnits:Math.PI/180}}}},S=function(){const e={};for(const t in v)for(const s in v[t].units)e[s]=t;return e}();function b(e){const t=S[e];if(t)return t;throw new Error("unknown measure")}function w(e,t=null){return t=t||b(e),v[t].baseUnit===e}function z(e,t,s){if(t===s)return e;const i=b(t);if(i!==b(s))throw new Error("incompatible units");const n=w(t,i)?e:function(e,t,s){return e*v[s].units[t].inBaseUnits}(e,t,i);return w(s,i)?n:function(e,t,s){return e/v[s].units[t].inBaseUnits}(n,s,i)}function U(e,t,s){return z(e,t,"meters")/(s*Math.PI/180)}function R(e){return _.fromJSON(e.toLowerCase())||null}function x(e){if(e&&"object"==typeof e&&!(0,c.N$)(e))return 1;const t=Z(e);return t>1e5?1:t}function B(e){return Z(e)>=(e instanceof o.Z?(0,r.Iu)(e).metersPerDegree:1e5)?"meters":C(e)}function Z(e,t=a.sv.metersPerDegree){return k(e,!0)||t}function k(e,t=!1){let s,i,n=null;if(null!=e&&("object"==typeof e?(s=e.wkid,i=e.wkt):"number"==typeof e?s=e:"string"==typeof e&&(i=e)),s){if((0,c.o$)(s))return a.yr.metersPerDegree;if((0,c.ME)(s))return a.Z1.metersPerDegree;n=m.values[m[s]],!n&&t&&p.has(s)&&(n=h)}else i&&(A(i)?n=M(f.exec(i),n):I(i)&&(n=M(d.exec(i),n)));return n}function M(e,t){return e&&e[1]?q(e[1]):t}function q(e){return parseFloat(e.split(",")[1])}function C(e){let t,s,i=null;if(null!=e&&("object"==typeof e?(t=e.wkid,s=e.wkt):"number"==typeof e?t=e:"string"==typeof e&&(s=e)),t)i=m.units[m[t]];else if(s){const e=A(s)?f:I(s)?d:null;if(e){const t=e.exec(s);t&&t[1]&&(i=function(e){const t=/[\\"\\']{1}([^\\"\\']+)/.exec(e);let s=t&&t[1];if(!s||-1===m.units.indexOf(s)){const t=q(e);s=null;const i=m.values;for(let e=0;e<i.length;++e)if(Math.abs(t-i[e])<1e-7){s=m.units[e];break}}return s}(t[1]))}}return(0,n.pC)(i)?R(i):null}function I(e){return/^GEOCCS/i.test(e)}function A(e){return/^PROJCS/i.test(e)}const O={esriAcres:"acres",esriAres:"ares",esriHectares:"hectares",esriSquareCentimeters:"square-centimeters",esriSquareDecimeters:"square-decimeters",esriSquareFeet:"square-feet",esriSquareInches:"square-inches",esriSquareKilometers:"square-kilometers",esriSquareMeters:"square-meters",esriSquareMiles:"square-miles",esriSquareMillimeters:"square-millimeters",esriSquareUsFeet:"square-us-feet",esriSquareYards:"square-yards"},E={esriCentimeters:"centimeters",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriYards:"yards"},G=(0,i.wY)()(O),P=(0,i.wY)()(E);(0,i.wY)()({...O,...E})},24678:(e,t,s)=>{s.d(t,{GG:()=>a,HQ:()=>c,VY:()=>l,wY:()=>u,Iu:()=>f,e8:()=>m,rS:()=>h});var i=s(82971),n=s(68441),r=s(8744);function o(e){return new i.Z({wkt:`GEOCCS["Spherical geocentric",\n DATUM["Not specified",\n SPHEROID["Sphere",${e.radius},0]],\n PRIMEM["Greenwich",0.0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",EAST],\n AXIS["Geocentric Z",NORTH]\n ]`})}const a=o(n.sv),c=o(n.yr),l=o(n.Z1),u=new i.Z({wkt:`GEOCCS["WGS 84",\n DATUM["WGS_1984",\n SPHEROID["WGS 84",${n.sv.radius},298.257223563,\n AUTHORITY["EPSG","7030"]],\n AUTHORITY["EPSG","6326"]],\n PRIMEM["Greenwich",0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0,\n AUTHORITY["EPSG","9001"]],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",OTHER],\n AXIS["Geocentric Z",NORTH],\n AUTHORITY["EPSG","4978"]\n]`});function h(e){return e&&((0,r.BZ)(e)||e===c)?c:e&&((0,r.V2)(e)||e===l)?l:a}function f(e){return e&&((0,r.BZ)(e)||e===c)?n.yr:e&&((0,r.V2)(e)||e===l)?n.Z1:n.sv}function m(e){return(0,r.o$)(e)?n.yr:(0,r.ME)(e)?n.Z1:n.sv}},38581:(e,t,s)=>{s.d(t,{aX:()=>b});var i=s(68773),n=s(20102),r=s(92604),o=s(70586),a=s(17332),c=s(58901),l=s(73913),u=s(8744),h=s(40488),f=(s(66577),s(3172)),m=s(17452),d=s(33955);const p=r.Z.getLogger("esri.geometry.support.normalizeUtils");function _(e){return"polygon"===e[0].type}function y(e){return"polyline"===e[0].type}function g(e,t,s){if(t){const t=function(e,t){if(!(e instanceof c.Z||e instanceof a.Z)){const e="straightLineDensify: the input geometry is neither polyline nor polygon";throw p.error(e),new n.Z(e)}const s=(0,l.x3)(e),i=[];for(const e of s){const s=[];i.push(s),s.push([e[0][0],e[0][1]]);for(let i=0;i<e.length-1;i++){const n=e[i][0],r=e[i][1],o=e[i+1][0],a=e[i+1][1],c=Math.sqrt((o-n)*(o-n)+(a-r)*(a-r)),l=(a-r)/c,u=(o-n)/c,h=c/t;if(h>1){for(let e=1;e<=h-1;e++){const i=e*t,o=u*i+n,a=l*i+r;s.push([o,a])}const e=(c+Math.floor(h-1)*t)/2,i=u*e+n,o=l*e+r;s.push([i,o])}s.push([o,a])}}return function(e){return"polygon"===e.type}(e)?new a.Z({rings:i,spatialReference:e.spatialReference}):new c.Z({paths:i,spatialReference:e.spatialReference})}(e,1e6);e=(0,h.Sx)(t,!0)}return s&&(e=(0,l.Sy)(e,s)),e}function v(e,t,s){if(Array.isArray(e)){const i=e[0];if(i>t){const s=(0,l.XZ)(i,t);e[0]=i+s*(-2*t)}else if(i<s){const t=(0,l.XZ)(i,s);e[0]=i+t*(-2*s)}}else{const i=e.x;if(i>t){const s=(0,l.XZ)(i,t);e=e.clone().offset(s*(-2*t),0)}else if(i<s){const t=(0,l.XZ)(i,s);e=e.clone().offset(t*(-2*s),0)}}return e}function S(e,t){let s=-1;for(let i=0;i<t.cutIndexes.length;i++){const n=t.cutIndexes[i],r=t.geometries[i],o=(0,l.x3)(r);for(let e=0;e<o.length;e++){const t=o[e];t.some((s=>{if(s[0]<180)return!0;{let s=0;for(let e=0;e<t.length;e++){const i=t[e][0];s=i>s?i:s}s=Number(s.toFixed(9));const i=-360*(0,l.XZ)(s,180);for(let s=0;s<t.length;s++){const t=r.getPoint(e,s);r.setPoint(e,s,t.clone().offset(i,0))}return!0}}))}if(n===s){if(_(e))for(const t of(0,l.x3)(r))e[n]=e[n].addRing(t);else if(y(e))for(const t of(0,l.x3)(r))e[n]=e[n].addPath(t)}else s=n,e[n]=r}return e}async function b(e,t,s){var n;if(!Array.isArray(e))return b([e],t);const r=null!=(n=null==t?void 0:t.url)?n:i.Z.geometryServiceUrl;let p,_,y,w,z,U,R,x,B=0;const Z=[],k=[];for(const t of e)if((0,o.Wi)(t))k.push(t);else if(p||(p=t.spatialReference,_=(0,u.C5)(p),y=p.isWebMercator,U=y?102100:4326,w=l.UZ[U].maxX,z=l.UZ[U].minX,R=l.UZ[U].plus180Line,x=l.UZ[U].minus180Line),_)if("mesh"===t.type)k.push(t);else if("point"===t.type)k.push(v(t.clone(),w,z));else if("multipoint"===t.type){const e=t.clone();e.points=e.points.map((e=>v(e,w,z))),k.push(e)}else if("extent"===t.type){const e=t.clone()._normalize(!1,!1,_);k.push(e.rings?new a.Z(e):e)}else if(t.extent){const e=t.extent,s=(0,l.XZ)(e.xmin,z)*(2*w);let i=0===s?t.clone():(0,l.Sy)(t.clone(),s);e.offset(s,0),e.intersects(R)&&e.xmax!==w?(B=e.xmax>B?e.xmax:B,i=g(i,y),Z.push(i),k.push("cut")):e.intersects(x)&&e.xmin!==z?(B=e.xmax*(2*w)>B?e.xmax*(2*w):B,i=g(i,y,360),Z.push(i),k.push("cut")):k.push(i)}else k.push(t.clone());else k.push(t);let M=(0,l.XZ)(B,w),q=-90;const C=M,I=new c.Z;for(;M>0;){const e=360*M-180;I.addPath([[e,q],[e,-1*q]]),q*=-1,M--}if(Z.length>0&&C>0){const t=S(Z,await async function(e,t,s,i){const n="string"==typeof e?(0,m.mN)(e):e,r=t[0].spatialReference,o={...i,query:{...n.query,f:"json",sr:JSON.stringify(r),target:JSON.stringify({geometryType:(0,d.Ji)(t[0]),geometries:t}),cutter:JSON.stringify(s)}},a=await(0,f.default)(n.path+"/cut",o),{cutIndexes:c,geometries:l=[]}=a.data;return{cutIndexes:c,geometries:l.map((e=>{const t=(0,d.im)(e);return t.spatialReference=r,t}))}}(r,Z,I,s)),i=[],n=[];for(let s=0;s<k.length;s++){const r=k[s];if("cut"!==r)n.push(r);else{const r=t.shift(),a=e[s];(0,o.pC)(a)&&"polygon"===a.type&&a.rings&&a.rings.length>1&&r.rings.length>=a.rings.length?(i.push(r),n.push("simplify")):n.push(y?(0,h.$)(r):r)}}if(!i.length)return n;const a=await async function(e,t,s){const i="string"==typeof e?(0,m.mN)(e):e,n=t[0].spatialReference,r=(0,d.Ji)(t[0]),o={...s,query:{...i.query,f:"json",sr:n.wkid?n.wkid:JSON.stringify(n),geometries:JSON.stringify((a=t,{geometryType:(0,d.Ji)(a[0]),geometries:a.map((e=>e.toJSON()))}))}};var a;return function(e,t,s){const i=(0,d.q9)(t);return e.map((e=>{const t=i.fromJSON(e);return t.spatialReference=s,t}))}((await(0,f.default)(i.path+"/simplify",o)).data,r,n)}(r,i,s),c=[];for(let e=0;e<n.length;e++){const t=n[e];"simplify"!==t?c.push(t):c.push(y?(0,h.$)(a.shift()):a.shift())}return c}const A=[];for(let e=0;e<k.length;e++){const t=k[e];if("cut"!==t)A.push(t);else{const e=Z.shift();A.push(!0===y?(0,h.$)(e):e)}}return Promise.resolve(A)}},73913:(e,t,s)=>{s.d(t,{UZ:()=>o,x3:()=>l,XZ:()=>a,Sy:()=>c});var i=s(58901),n=s(82971),r=s(33955);const o={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new i.Z({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:n.Z.WebMercator}),minus180Line:new i.Z({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:n.Z.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new i.Z({paths:[[[180,-180],[180,180]]],spatialReference:n.Z.WGS84}),minus180Line:new i.Z({paths:[[[-180,-180],[-180,180]]],spatialReference:n.Z.WGS84})}};function a(e,t){return Math.ceil((e-t)/(2*t))}function c(e,t){const s=l(e);for(const e of s)for(const s of e)s[0]+=t;return e}function l(e){return(0,r.oU)(e)?e.rings:e.paths}},69285:(e,t,s)=>{s.d(t,{k:()=>o});var i=s(70586),n=s(67900),r=s(8744);function o(e,t,s){if((0,i.Wi)(t)||(0,i.Wi)(s)||s.vcsWkid||(0,r.fS)(t,s))return null;const o=(0,n._R)(t)/(0,n._R)(s);if(1===o)return null;switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){e&&null!=e.z&&(e.z*=t)}(e,o);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const s of e.paths)for(const e of s)e.length>2&&(e[2]*=t)}(e,o);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const s of e.rings)for(const e of s)e.length>2&&(e[2]*=t)}(e,o);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const s of e.points)s.length>2&&(s[2]*=t)}(e,o);case"extent":case"esriGeometryExtent":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,o);default:return null}}},57316:(e,t,s)=>{s.d(t,{Z:()=>_});var i=s(43697),n=s(35454),r=s(5600),o=(s(67676),s(80442),s(75215),s(52011)),a=s(96674),c=s(94593),l=s(89164);const u=new n.Xn({classBreaksDef:"class-breaks-definition",uniqueValueDef:"unique-value-definition"});let h=class extends a.wq{constructor(){super(...arguments),this.baseSymbol=null,this.colorRamp=null,this.type=null}};(0,i._)([(0,r.Cb)({type:l.Z,json:{write:!0}})],h.prototype,"baseSymbol",void 0),(0,i._)([(0,r.Cb)({types:c.V,json:{read:{reader:c.i},write:!0}})],h.prototype,"colorRamp",void 0),(0,i._)([(0,r.Cb)({json:{read:u.read,write:u.write}})],h.prototype,"type",void 0),h=(0,i._)([(0,o.j)("esri.rest.support.ClassificationDefinition")],h);const f=h,m=new n.Xn({esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation",esriClassifyDefinedInterval:"defined-interval"}),d=new n.Xn({esriNormalizeByLog:"log",esriNormalizeByPercentOfTotal:"percent-of-total",esriNormalizeByField:"field"});let p=class extends f{constructor(){super(...arguments),this.breakCount=null,this.classificationField=null,this.classificationMethod=null,this.normalizationField=null,this.normalizationType=null,this.type="class-breaks-definition"}set standardDeviationInterval(e){"standard-deviation"===this.classificationMethod&&this._set("standardDeviationInterval",e)}set definedInterval(e){"defined-interval"===this.classificationMethod&&this._set("definedInterval",e)}};(0,i._)([(0,r.Cb)({json:{write:!0}})],p.prototype,"breakCount",void 0),(0,i._)([(0,r.Cb)({json:{write:!0}})],p.prototype,"classificationField",void 0),(0,i._)([(0,r.Cb)({type:String,json:{read:m.read,write:m.write}})],p.prototype,"classificationMethod",void 0),(0,i._)([(0,r.Cb)({json:{write:!0}})],p.prototype,"normalizationField",void 0),(0,i._)([(0,r.Cb)({json:{read:d.read,write:d.write}})],p.prototype,"normalizationType",void 0),(0,i._)([(0,r.Cb)({value:null,json:{write:!0}})],p.prototype,"standardDeviationInterval",null),(0,i._)([(0,r.Cb)({value:null,json:{write:!0}})],p.prototype,"definedInterval",null),(0,i._)([(0,r.Cb)()],p.prototype,"type",void 0),p=(0,i._)([(0,o.j)("esri.rest.support.ClassBreaksDefinition")],p);const _=p}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[368,6006],{28263:(e,t,r)=>{r.d(t,{E:()=>s});class i{constructor(e={}){this._options=e}toQueryParams(e){if(!e)return null;const t=e.toJSON(),r={};return Object.keys(t).forEach((e=>{const i=this._options[e];if(i){const s="boolean"!=typeof i&&i.name?i.name:e,o="boolean"!=typeof i&&i.getter?i.getter(t):t[e];null!=o&&(r[s]=(e=>{if(!Array.isArray(e))return!1;const[t]=e;return"number"==typeof t||"string"==typeof t})(o)?o.join(","):"object"==typeof o?JSON.stringify(o):o)}else r[e]=t[e]}),this),r}}function s(e){return new i(e)}},93924:(e,t,r)=>{r.d(t,{et:()=>g,ef:()=>w,bI:()=>N,Wf:()=>b});var i=r(3172),s=r(20102),o=r(70586),n=r(78286),a=r(17452),l=r(11282),u=r(43697),p=r(96674),c=r(5600),d=(r(67676),r(80442),r(75215),r(36030)),m=r(52011),y=r(49352),h=r(49827);let f=class extends p.wq{constructor(e){super(e),this.accumulateAttributeNames=null,this.currentVersion=null,this.defaultTravelMode=null,this.directionsLanguage=null,this.directionsLengthUnits=null,this.directionsSupportedLanguages=null,this.directionsTimeAttribute=null,this.hasZ=null,this.impedance=null,this.networkDataset=null,this.supportedTravelModes=null}};(0,u._)([(0,c.Cb)()],f.prototype,"accumulateAttributeNames",void 0),(0,u._)([(0,c.Cb)()],f.prototype,"currentVersion",void 0),(0,u._)([(0,c.Cb)()],f.prototype,"defaultTravelMode",void 0),(0,u._)([(0,c.Cb)()],f.prototype,"directionsLanguage",void 0),(0,u._)([(0,d.J)(y.GX)],f.prototype,"directionsLengthUnits",void 0),(0,u._)([(0,c.Cb)()],f.prototype,"directionsSupportedLanguages",void 0),(0,u._)([(0,c.Cb)()],f.prototype,"directionsTimeAttribute",void 0),(0,u._)([(0,c.Cb)()],f.prototype,"hasZ",void 0),(0,u._)([(0,c.Cb)()],f.prototype,"impedance",void 0),(0,u._)([(0,c.Cb)()],f.prototype,"networkDataset",void 0),(0,u._)([(0,c.Cb)({type:[h.Z]})],f.prototype,"supportedTravelModes",void 0),f=(0,u._)([(0,m.j)("esri.rest.support.NetworkServiceDescription")],f);const v=f;function g(e,t,r,i){i[r]=[t.length,t.length+e.length],e.forEach((e=>{t.push(e.geometry)}))}function w(e,t){for(let r=0;r<t.length;r++){const i=e[t[r]];if(i&&i.length)for(const e of i)e.z=void 0}console.log("The remote Network Analysis service is powered by a network dataset which is not Z-aware.\nZ-coordinates of the input geometry are ignored.")}function b(e,t){for(let r=0;r<t.length;r++){const i=e[t[r]];if(i&&i.length)for(const e of i)if((0,o.pC)(e)&&e.hasZ)return!0}return!1}async function N(e,t,r){if(!e)throw new s.Z("network-service:missing-url","Url to Network service is missing");const o=(0,l.lA)({f:"json",token:t},r),{data:u}=await(0,i.default)(e,o);u.supportedTravelModes||(u.supportedTravelModes=[]);for(let e=0;e<u.supportedTravelModes.length;e++)u.supportedTravelModes[e].id||(u.supportedTravelModes[e].id=u.supportedTravelModes[e].itemId);const p=u.currentVersion>=10.4?async function(e,t,r){try{const s=(0,l.lA)({f:"json",token:t},r),o=(0,a.Qj)(e)+"/retrieveTravelModes",{data:{supportedTravelModes:n,defaultTravelMode:u}}=await(0,i.default)(o,s);return{supportedTravelModes:n,defaultTravelMode:u}}catch(e){throw new s.Z("network-service:retrieveTravelModes","Could not get to the NAServer's retrieveTravelModes.",{error:e})}}(e,t,r):async function(e,t){var r,s;const o=(0,l.lA)({f:"json"},t),{data:u}=await(0,i.default)(e.replace(/\/rest\/.*$/i,"/info"),o);if(!u||!u.owningSystemUrl)return{supportedTravelModes:[],defaultTravelMode:null};const{owningSystemUrl:p}=u,c=(0,a.Qj)(p)+"/sharing/rest/portals/self",{data:d}=await(0,i.default)(c,o),m=(0,n.hS)("helperServices.routingUtilities.url",d);if(!m)return{supportedTravelModes:[],defaultTravelMode:null};const y=(0,l.en)(p),h=/\/solve$/i.test(y.path)?"Route":/\/solveclosestfacility$/i.test(y.path)?"ClosestFacility":"ServiceAreas",f=(0,l.lA)({f:"json",serviceName:h},t),v=(0,a.Qj)(m)+"/GetTravelModes/execute",g=await(0,i.default)(v,f),w=[];let b=null;if(null!=g&&null!=(r=g.data)&&null!=(s=r.results)&&s.length){const e=g.data.results;for(const t of e){var N;if("supportedTravelModes"===t.paramName){if(null!=(N=t.value)&&N.features)for(const{attributes:e}of t.value.features)if(e){const t=JSON.parse(e.TravelMode);w.push(t)}}else"defaultTravelMode"===t.paramName&&(b=t.value)}}return{supportedTravelModes:w,defaultTravelMode:b}}(e,r),{defaultTravelMode:c,supportedTravelModes:d}=await p;return u.defaultTravelMode=c,u.supportedTravelModes=d,v.fromJSON(u)}},95642:(e,t,r)=>{r.d(t,{Z:()=>v});var i=r(43697),s=(r(66577),r(70586)),o=r(5600),n=(r(67676),r(80442),r(75215),r(71715)),a=r(52011),l=r(1692);let u=class extends l.Z{};(0,i._)([(0,o.Cb)()],u.prototype,"events",void 0),(0,i._)([(0,o.Cb)()],u.prototype,"strings",void 0),u=(0,i._)([(0,a.j)("esri.rest.support.DirectionsFeature")],u);const p=u;var c=r(74889),d=r(6570),m=r(82971),y=r(58901),h=r(13473);let f=class extends c.default{constructor(e){super(e),this.extent=null,this.features=null,this.geometryType="polyline",this.routeId=null,this.routeName=null,this.totalDriveTime=null,this.totalLength=null,this.totalTime=null}readFeatures(e,t){var r;if(!e)return[];const i=null!=(r=t.summary.envelope.spatialReference)?r:t.spatialReference,s=i&&m.Z.fromJSON(i);return e.map((e=>{var t,r;const i=this._decompressGeometry(e.compressedGeometry),o=new y.Z({...i,spatialReference:s}),n=null!=(t=null==(r=e.events)?void 0:r.map((e=>{const{arriveTimeUTC:t,ETA:r,point:{x:i,y:o,z:n},strings:a}=e;return new p({geometry:new h.Z({x:i,y:o,z:n,hasZ:void 0!==n,spatialReference:s}),attributes:{ETA:r,arriveTimeUTC:t},strings:a})})))?t:[];return new p({attributes:e.attributes,events:n,geometry:o,strings:e.strings})}))}get mergedGeometry(){if(!this.features)return null;const e=this.features.map((({geometry:e})=>(0,s.Wg)(e))),t=this.get("extent.spatialReference");return this._mergePolylinesToSinglePath(e,t)}get strings(){return this.features.map((({strings:e})=>e))}_decompressGeometry(e){let t=0,r=0,i=0,s=0;const o=[];let n,a,l,u,p,c,d,m,y=0,h=0,f=0;if(p=e.match(/((\+|\-)[^\+\-\|]+|\|)/g),p||(p=[]),0===parseInt(p[y],32)){y=2;const e=parseInt(p[y],32);y++,c=parseInt(p[y],32),y++,1&e&&(h=p.indexOf("|")+1,d=parseInt(p[h],32),h++),2&e&&(f=p.indexOf("|",h)+1,m=parseInt(p[f],32),f++)}else c=parseInt(p[y],32),y++;for(;y<p.length&&"|"!==p[y];){n=parseInt(p[y],32)+t,y++,t=n,a=parseInt(p[y],32)+r,y++,r=a;const e=[n/c,a/c];h&&(u=parseInt(p[h],32)+i,h++,i=u,e.push(u/d)),f&&(l=parseInt(p[f],32)+s,f++,s=l,e.push(l/m)),o.push(e)}return{paths:[o],hasZ:h>0,hasM:f>0}}_mergePolylinesToSinglePath(e,t){if(0===e.length)return new y.Z({spatialReference:t});const r=[];for(const t of e)for(const e of t.paths)r.push(...e);const i=[];r.forEach(((e,t)=>{0!==t&&e[0]===r[t-1][0]&&e[1]===r[t-1][1]||i.push(e)}));const{hasM:s,hasZ:o}=e[0];return new y.Z({hasM:s,hasZ:o,paths:[i],spatialReference:t})}};(0,i._)([(0,o.Cb)({type:d.Z,json:{read:{source:"summary.envelope"}}})],f.prototype,"extent",void 0),(0,i._)([(0,o.Cb)()],f.prototype,"features",void 0),(0,i._)([(0,n.r)("features")],f.prototype,"readFeatures",null),(0,i._)([(0,o.Cb)()],f.prototype,"geometryType",void 0),(0,i._)([(0,o.Cb)({readOnly:!0})],f.prototype,"mergedGeometry",null),(0,i._)([(0,o.Cb)()],f.prototype,"routeId",void 0),(0,i._)([(0,o.Cb)()],f.prototype,"routeName",void 0),(0,i._)([(0,o.Cb)({value:null,readOnly:!0})],f.prototype,"strings",null),(0,i._)([(0,o.Cb)({json:{read:{source:"summary.totalDriveTime"}}})],f.prototype,"totalDriveTime",void 0),(0,i._)([(0,o.Cb)({json:{read:{source:"summary.totalLength"}}})],f.prototype,"totalLength",void 0),(0,i._)([(0,o.Cb)({json:{read:{source:"summary.totalTime"}}})],f.prototype,"totalTime",void 0),f=(0,i._)([(0,a.j)("esri.rest.support.DirectionsFeatureSet")],f);const v=f},74889:(e,t,r)=>{r.r(t),r.d(t,{default:()=>b});var i,s=r(43697),o=r(66577),n=r(1692),a=r(35454),l=r(96674),u=r(22974),p=r(70586),c=r(5600),d=(r(75215),r(71715)),m=r(52011),y=r(30556),h=r(82971),f=r(33955),v=r(1231);const g=new a.Xn({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let w=i=class extends l.wq{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){const r=h.Z.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const s=e[t],o=n.Z.fromJSON(s),a=s.geometry&&s.geometry.spatialReference;(0,p.pC)(o.geometry)&&!a&&(o.geometry.spatialReference=r),i.push(o)}return i}writeGeometryType(e,t,r,i){if(e)return void g.write(e,t,r,i);const{features:s}=this;if(s)for(const e of s)if(e&&(0,p.pC)(e.geometry))return void g.write(e.geometry.type,t,r,i)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,i=(0,f.im)(e);return!r&&t.spatialReference&&(i.spatialReference=h.Z.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&(0,p.pC)(e.geometry)&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,u.d9)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const i=t.features[r];if(i.geometry){const t=e&&e[r];i.geometry=t&&t.toJSON()||i.geometry}}return t}quantize(e){const{scale:[t,r],translate:[i,s]}=e,o=this.features,n=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-i)/t)),(e=>Math.round((s-e)/r)));for(let e=0,t=o.length;e<t;e++)n((0,p.Wg)(o[e].geometry))||(o.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[i,s],scale:[o,n]}=r,a=this._getHydrationFunction(e,(e=>e*o+i),(e=>s-e*n));for(const{geometry:e}of t)(0,p.pC)(e)&&a(e);return this.transform=null,this}_quantizePoints(e,t,r){let i,s;const o=[];for(let n=0,a=e.length;n<a;n++){const a=e[n];if(n>0){const e=t(a[0]),n=r(a[1]);e===i&&n===s||(o.push([e-i,n-s]),i=e,s=n)}else i=t(a[0]),s=r(a[1]),o.push([i,s])}return o.length>0?o:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const i=(0,f.oU)(e)?e.rings:e.paths,s=[];for(let e=0,o=i.length;e<o;e++){const o=i[e],n=this._quantizePoints(o,t,r);n&&s.push(n)}return s.length>0?((0,f.oU)(e)?e.rings=s:e.paths=s,e):null}:"multipoint"===e?e=>{const i=this._quantizePoints(e.points,t,r);return i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y)}:"polyline"===e||"polygon"===e?e=>{const i=(0,f.oU)(e)?e.rings:e.paths;let s,o;for(let e=0,n=i.length;e<n;e++){const n=i[e];for(let e=0,i=n.length;e<i;e++){const i=n[e];e>0?(s+=i[0],o+=i[1]):(s=i[0],o=i[1]),i[0]=t(s),i[1]=r(o)}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax)}:"multipoint"===e?e=>{const i=e.points;let s,o;for(let e=0,n=i.length;e<n;e++){const n=i[e];e>0?(s+=n[0],o+=n[1]):(s=n[0],o=n[1]),n[0]=t(s),n[1]=r(o)}}:void 0}};(0,s._)([(0,c.Cb)({type:String,json:{write:!0}})],w.prototype,"displayFieldName",void 0),(0,s._)([(0,c.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"exceededTransferLimit",void 0),(0,s._)([(0,c.Cb)({type:[n.Z],json:{write:!0}})],w.prototype,"features",void 0),(0,s._)([(0,d.r)("features")],w.prototype,"readFeatures",null),(0,s._)([(0,c.Cb)({type:[v.Z],json:{write:!0}})],w.prototype,"fields",void 0),(0,s._)([(0,c.Cb)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],w.prototype,"geometryType",void 0),(0,s._)([(0,y.c)("geometryType")],w.prototype,"writeGeometryType",null),(0,s._)([(0,c.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasM",void 0),(0,s._)([(0,c.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasZ",void 0),(0,s._)([(0,c.Cb)({types:o.qM,json:{write:!0}})],w.prototype,"queryGeometry",void 0),(0,s._)([(0,d.r)("queryGeometry")],w.prototype,"readQueryGeometry",null),(0,s._)([(0,c.Cb)({type:h.Z,json:{write:!0}})],w.prototype,"spatialReference",void 0),(0,s._)([(0,y.c)("spatialReference")],w.prototype,"writeSpatialReference",null),(0,s._)([(0,c.Cb)({json:{write:!0}})],w.prototype,"transform",void 0),w=i=(0,s._)([(0,m.j)("esri.rest.support.FeatureSet")],w),w.prototype.toJSON.isDefaultToJSON=!0;const b=w},79166:(e,t,r)=>{r.d(t,{Z:()=>p});var i=r(43697),s=r(35454),o=r(5600),n=(r(67676),r(80442),r(75215),r(52011)),a=r(51623);const l=new s.Xn({0:"informative",1:"process-definition",2:"process-start",3:"process-stop",50:"warning",100:"error",101:"empty",200:"abort"});let u=class extends a.Z{constructor(e){super(e),this.type=null}};(0,i._)([(0,o.Cb)({type:String,json:{read:l.read,write:l.write}})],u.prototype,"type",void 0),u=(0,i._)([(0,n.j)("esri.rest.support.NAMessage")],u);const p=u},49827:(e,t,r)=>{r.d(t,{Z:()=>d});var i,s=r(43697),o=r(96674),n=r(22974),a=r(5600),l=(r(75215),r(36030)),u=r(52011),p=r(49352);let c=i=class extends o.wq{constructor(e){super(e),this.attributeParameterValues=null,this.description=null,this.distanceAttributeName=null,this.id=null,this.impedanceAttributeName=null,this.name=null,this.restrictionAttributeNames=null,this.simplificationTolerance=null,this.simplificationToleranceUnits=null,this.timeAttributeName=null,this.type=null,this.useHierarchy=null,this.uturnAtJunctions=null}clone(){return new i((0,n.d9)({attributeParameterValues:this.attributeParameterValues,description:this.description,distanceAttributeName:this.distanceAttributeName,id:this.id,impedanceAttributeName:this.impedanceAttributeName,name:this.name,restrictionAttributeNames:this.restrictionAttributeNames,simplificationTolerance:this.simplificationTolerance,simplificationToleranceUnits:this.simplificationToleranceUnits,timeAttributeName:this.timeAttributeName,type:this.type,useHierarchy:this.useHierarchy,uturnAtJunctions:this.uturnAtJunctions}))}};(0,s._)([(0,a.Cb)({type:[Object],json:{write:!0}})],c.prototype,"attributeParameterValues",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"description",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"distanceAttributeName",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"id",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"impedanceAttributeName",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"name",void 0),(0,s._)([(0,a.Cb)({type:[String],json:{write:!0}})],c.prototype,"restrictionAttributeNames",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],c.prototype,"simplificationTolerance",void 0),(0,s._)([(0,l.J)(p.q$)],c.prototype,"simplificationToleranceUnits",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"timeAttributeName",void 0),(0,s._)([(0,l.J)(p.DJ)],c.prototype,"type",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],c.prototype,"useHierarchy",void 0),(0,s._)([(0,l.J)(p.ip)],c.prototype,"uturnAtJunctions",void 0),c=i=(0,s._)([(0,u.j)("esri.rest.support.TravelMode")],c);const d=c},49352:(e,t,r)=>{r.d(t,{oi:()=>h,W7:()=>c,td:()=>g,cW:()=>v,GX:()=>o,$7:()=>a,hB:()=>n,Dd:()=>f,q$:()=>s,yP:()=>d,no:()=>l,ip:()=>u,BW:()=>y,SS:()=>m,DJ:()=>p});var i=r(35454);const s=(0,i.wY)()({esriCentimeters:"centimeters",esriDecimalDegrees:"decimal-degrees",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriPoints:"points",esriYards:"yards"}),o=(0,i.wY)()({esriNAUCentimeters:"centimeters",esriNAUDecimalDegrees:"decimal-degrees",esriNAUDecimeters:"decimeters",esriNAUFeet:"feet",esriNAUInches:"inches",esriNAUKilometers:"kilometers",esriNAUMeters:"meters",esriNAUMiles:"miles",esriNAUMillimeters:"millimeters",esriNAUNauticalMiles:"nautical-miles",esriNAUPoints:"points",esriNAUYards:"yards"}),n=(0,i.wY)()({esriNAUDays:"days",esriNAUHours:"hours",esriNAUMinutes:"minutes",esriNAUSeconds:"seconds"}),a=(0,i.wY)()({esriDOTComplete:"complete",esriDOTCompleteNoEvents:"complete-no-events",esriDOTFeatureSets:"featuresets",esriDOTInstructionsOnly:"instructions-only",esriDOTStandard:"standard",esriDOTSummaryOnly:"summary-only"}),l=(0,i.wY)()({esriNAOutputLineNone:"none",esriNAOutputLineStraight:"straight",esriNAOutputLineTrueShape:"true-shape",esriNAOutputLineTrueShapeWithMeasure:"true-shape-with-measure"}),u=((0,i.wY)()({esriNAOutputPolygonNone:"none",esriNAOutputPolygonSimplified:"simplified",esriNAOutputPolygonDetailed:"detailed"}),(0,i.wY)()({esriNFSBAllowBacktrack:"allow-backtrack",esriNFSBAtDeadEndsOnly:"at-dead-ends-only",esriNFSBNoBacktrack:"no-backtrack",esriNFSBAtDeadEndsAndIntersections:"at-dead-ends-and-intersections"})),p=((0,i.wY)()({esriNATravelDirectionFromFacility:"from-facility",esriNATravelDirectionToFacility:"to-facility"}),(0,i.wY)()({esriNATimeOfDayNotUsed:"not-used",esriNATimeOfDayUseAsStartTime:"start",esriNATimeOfDayUseAsEndTime:"end"}),(0,i.wY)()({AUTOMOBILE:"automobile",TRUCK:"truck",WALK:"walk",OTHER:"other"})),c=(0,i.wY)()({0:"either-side-of-vehicle",1:"right-side-of-vehicle",2:"left-side-of-vehicle",3:"no-u-turn"},{useNumericKeys:!0}),d=(0,i.wY)()({0:"stop",1:"waypoint",2:"break"},{useNumericKeys:!0}),m=(0,i.wY)()({0:"ok",1:"not-located",2:"network-element-not-located",3:"element-not-traversable",4:"invalid-field-values",5:"not-reached",6:"time-window-violation",7:"not-located-on-closest"},{useNumericKeys:!0}),y=(0,i.wY)()({1:"right",2:"left"},{useNumericKeys:!0}),h=(0,i.wY)()({0:"restriction",1:"added-cost"},{useNumericKeys:!0}),f=(0,i.wY)()({0:"permit",1:"restrict"},{useNumericKeys:!0}),v=(0,i.wY)()({1:"header",50:"arrive",51:"depart",52:"straight",100:"on-ferry",101:"off-ferry",102:"central-fork",103:"roundabout",104:"u-turn",150:"door",151:"stairs",152:"elevator",153:"escalator",154:"pedestrian-ramp",200:"left-fork",201:"left-ramp",202:"clockwise-roundabout",203:"left-handed-u-turn",204:"bear-left",205:"left-turn",206:"sharp-left",207:"left-turn-and-immediate-left-turn",208:"left-turn-and-immediate-right-turn",300:"right-fork",301:"right-ramp",302:"counter-clockwise-roundabout",303:"right-handed-u-turn",304:"bear-right",305:"right-turn",306:"sharp-right",307:"right-turn-and-immediate-left-turn",308:"right-turn-and-immediate-right-turn",400:"up-elevator",401:"up-escalator",402:"up-stairs",500:"down-elevator",501:"down-escalator",502:"down-stairs",1e3:"general-event",1001:"landmark",1002:"time-zone-change",1003:"traffic-event",1004:"scaled-cost-barrier-event",1005:"boundary-crossing",1006:"restriction-violation"},{useNumericKeys:!0}),g=(0,i.wY)()({0:"unknown",1:"segment",2:"maneuver-segment",3:"restriction-violation",4:"scaled-cost-barrier",5:"heavy-traffic",6:"slow-traffic",7:"moderate-traffic"},{useNumericKeys:!0})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8511],{99880:(e,t,s)=>{s.d(t,{V:()=>a});var n=s(68773),r=(s(3172),s(20102)),o=s(92604),i=s(17452);const l=o.Z.getLogger("esri.assets");function a(e){if(!n.Z.assetsPath)throw l.errorOnce("The API assets location needs to be set using config.assetsPath. More information: https://arcg.is/1OzLe50"),new r.Z("assets:path-not-set","config.assetsPath is not set");return(0,i.v_)(n.Z.assetsPath,e)}},80903:(e,t,s)=>{s.d(t,{Z:()=>a});var n=s(50758),r=s(92604),o=s(95330),i=s(25045);const l=r.Z.getLogger("esri.core.workers.Connection");class a{constructor(){this._clients=new Array,this._clientPromises=new Array,this._clientIdx=0}destroy(){this.close()}get closed(){return!this._clients||!this._clients.length}open(e,t){return new Promise(((s,n)=>{let r=!0;const l=e=>{(0,o.k_)(t.signal),r&&(r=!1,e())};this._clients.length=e.length,this._clientPromises.length=e.length;for(let r=0;r<e.length;++r){const a=e[r];(0,o.y8)(a)?this._clientPromises[r]=a.then((e=>(this._clients[r]=new i.default(e,t),l(s),this._clients[r])),(()=>(l(n),null))):(this._clients[r]=new i.default(a,t),this._clientPromises[r]=Promise.resolve(this._clients[r]),l(s))}}))}broadcast(e,t,s){const n=new Array(this._clientPromises.length);for(let r=0;r<this._clientPromises.length;++r){const o=this._clientPromises[r];n[r]=o.then((n=>n.invoke(e,t,s)))}return n}close(){for(const e of this._clientPromises)e.then((e=>e.close()));this._clients.length=0,this._clientPromises.length=0}getAvailableClient(){let e;for(let t=0;t<this._clients.length;++t){const s=this._clients[t];if(s){if(!s.isBusy())return Promise.resolve(s)}else e=e||[],e.push(this._clientPromises[t])}return e?Promise.race(e):(this._clientIdx=(this._clientIdx+1)%this._clients.length,Promise.resolve(this._clients[this._clientIdx]))}invoke(e,t,s){let n=null;return Array.isArray(s)?(l.warn("invoke()","The transferList parameter is deprecated, use the options object instead"),n={transferList:s}):n=s,this.closed?Promise.reject(new Error("Connection closed")):this.getAvailableClient().then((s=>s.invoke(e,t,n)))}on(e,t){return Promise.all(this._clientPromises).then((()=>(0,n.AL)(this._clients.map((s=>s.on(e,t))))))}openPorts(){return new Promise((e=>{const t=new Array(this._clientPromises.length);let s=t.length;for(let n=0;n<this._clientPromises.length;++n)this._clientPromises[n].then((r=>{t[n]=r.openPort(),0==--s&&e(t)}))}))}get test(){return{numClients:this._clients.length}}}},25045:(e,t,s)=>{s.r(t),s.d(t,{default:()=>v});var n=s(40330),r=s(20102),o=s(91460),i=s(70586),l=s(95330),a=s(94362),c=s(17202);const h={statsWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(6841)]).then(s.bind(s,36841)),geometryEngineWorker:()=>Promise.all([s.e(5837),s.e(8227)]).then(s.bind(s,48227)),CSVSourceWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(7668),s.e(411),s.e(1534),s.e(3578),s.e(8961),s.e(7054),s.e(2781),s.e(966)]).then(s.bind(s,27793)),EdgeProcessingWorker:()=>Promise.all([s.e(6481),s.e(8936)]).then(s.bind(s,18936)),ElevationSamplerWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(411),s.e(2781),s.e(6481),s.e(6459),s.e(3553)]).then(s.bind(s,61787)),FeatureServiceSnappingSourceWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(7668),s.e(4588),s.e(411),s.e(1534),s.e(3485),s.e(3578),s.e(8961),s.e(7054),s.e(2781),s.e(5404)]).then(s.bind(s,2255)),GeoJSONSourceWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(7668),s.e(411),s.e(1534),s.e(3578),s.e(8961),s.e(7054),s.e(2781),s.e(6348),s.e(7845)]).then(s.bind(s,97845)),LercWorker:()=>s.e(3027).then(s.bind(s,23027)),MemorySourceWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(7668),s.e(411),s.e(1534),s.e(3578),s.e(8961),s.e(7054),s.e(2781),s.e(6348),s.e(639)]).then(s.bind(s,30639)),PBFDecoderWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(8961),s.e(147)]).then(s.bind(s,61916)),Pipeline:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(7668),s.e(5638),s.e(4588),s.e(411),s.e(1534),s.e(3485),s.e(3578),s.e(8961),s.e(7054),s.e(4325),s.e(2730),s.e(7783)]).then(s.bind(s,97783)),PointCloudWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(411),s.e(9294),s.e(9474)]).then(s.bind(s,16583)),RasterWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(411),s.e(176),s.e(8034)]).then(s.bind(s,61576)),SceneLayerWorker:()=>s.e(1412).then(s.bind(s,31412)),WFSSourceWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(7668),s.e(411),s.e(1534),s.e(3578),s.e(8961),s.e(7054),s.e(2781),s.e(6348),s.e(4556),s.e(3230)]).then(s.bind(s,43230)),WorkerTileHandler:()=>Promise.all([s.e(2303),s.e(4325),s.e(1785),s.e(6810),s.e(9872)]).then(s.bind(s,56456))},{CLOSE:u,ABORT:p,INVOKE:d,RESPONSE:f,OPEN_PORT:_,ON:g}=a.Cs;class m{constructor(e){this._timer=null,this._cancelledJobIds=new Set,this._invokeMessages=[],this._invoke=e,this._timer=null,this._process=this._process.bind(this)}push(e){e.type===a.Cs.ABORT?this._cancelledJobIds.add(e.jobId):(this._invokeMessages.push(e),null===this._timer&&(this._timer=setTimeout(this._process,0)))}clear(){this._invokeMessages.length=0,this._cancelledJobIds.clear(),this._timer=null}_process(){this._timer=null;for(const e of this._invokeMessages)this._cancelledJobIds.has(e.jobId)||this._invoke(e);this._cancelledJobIds.clear(),this._invokeMessages.length=0}}class v{constructor(e,t){this._port=e,this._outJobs=new Map,this._inJobs=new Map,this._invokeQueue=new m((e=>this._onInvokeMessage(e))),this._client=t.client,this._onMessage=this._onMessage.bind(this),this._channel=t.channel,this._schedule=t.schedule,this._port.addEventListener("message",this._onMessage),this._port.start()}static connect(e){const t=new MessageChannel;let s;s="function"==typeof e?new e:"default"in e&&"function"==typeof e.default?new e.default:e;const n=new v(t.port1,{channel:t,client:s});return"object"==typeof s&&"remoteClient"in s&&(s.remoteClient=n),v.clients.set(n,s),t.port2}static loadWorker(e){const t=h[e];return t?t():Promise.resolve(null)}close(){this._post({type:u}),this._close()}isBusy(){return this._outJobs.size>0}invoke(e,t,s){const n=s&&s.signal,o=s&&s.transferList;if(!this._port)return Promise.reject(new r.Z("worker:port-closed",`Cannot call invoke('${e}'), port is closed`,{methodName:e,data:t}));const i=(0,a.jt)();return new Promise(((s,r)=>{const a=(0,l.$F)(n,(()=>{var e;const t=this._outJobs.get(i);t&&(this._outJobs.delete(i),null==(e=t.abortHandle)||e.remove(),this._post({type:p,jobId:i}),r((0,l.zE)()))})),c={resolve:s,reject:r,abortHandle:a,debugInfo:e};this._outJobs.set(i,c),this._post({type:d,jobId:i,methodName:e,abortable:null!=n},t,o)}))}on(e,t){const s=new MessageChannel;function n(e){t(e.data)}return this._port.postMessage({type:a.Cs.ON,eventType:e,port:s.port2},[s.port2]),s.port1.addEventListener("message",n),s.port1.start(),{remove(){s.port1.postMessage({type:a.Cs.CLOSE}),s.port1.close(),s.port1.removeEventListener("message",n)}}}openPort(){const e=new MessageChannel;return this._post({type:_,port:e.port2}),e.port1}_close(){this._channel&&(this._channel=null),this._port.removeEventListener("message",this._onMessage),this._port.close(),this._outJobs.forEach((e=>{var t;null==(t=e.abortHandle)||t.remove(),e.reject((0,l.zE)(`Worker closing, aborting job calling '${e.debugInfo}'`))})),this._inJobs.clear(),this._outJobs.clear(),this._invokeQueue.clear(),this._port=this._client=this._schedule=null}_onMessage(e){(0,i.pC)(this._schedule)?this._schedule((()=>this._processMessage(e))):this._processMessage(e)}_processMessage(e){const t=(0,a.QM)(e);if(t)switch(t.type){case f:this._onResponseMessage(t);break;case d:this._invokeQueue.push(t);break;case p:this._onAbortMessage(t);break;case u:this._onCloseMessage();break;case _:this._onOpenPortMessage(t);break;case g:this._onOnMessage(t)}}_onAbortMessage(e){const t=this._inJobs,s=e.jobId,n=t.get(s);this._invokeQueue.push(e),n&&(n.controller&&n.controller.abort(),t.delete(s))}_onCloseMessage(){const e=this._client;this._close(),e&&"destroy"in e&&v.clients.get(this)===e&&e.destroy(),v.clients.delete(this),e&&e.remoteClient&&(e.remoteClient=null)}_onInvokeMessage(e){const{methodName:t,jobId:s,data:n,abortable:r}=e,o=r?new AbortController:null,i=this._inJobs;let c,h=this._client,u=h[t];try{if(!u&&t&&-1!==t.indexOf(".")){const e=t.split(".");for(let t=0;t<e.length-1;t++)h=h[e[t]],u=h[e[t+1]]}if("function"!=typeof u)throw new TypeError(`${t} is not a function`);c=u.call(h,n,{client:this,signal:o?o.signal:null})}catch(e){return void this._post({type:f,jobId:s,error:(0,a.AB)(e)})}(0,l.y8)(c)?(i.set(s,{controller:o,promise:c}),c.then((e=>{i.has(s)&&(i.delete(s),this._post({type:f,jobId:s},e))}),(e=>{i.has(s)&&(i.delete(s),(0,l.D_)(e)||this._post({type:f,jobId:s,error:(0,a.AB)(e||{message:`Error encountered at method ${t}`})}))}))):this._post({type:f,jobId:s},c)}_onOpenPortMessage(e){new v(e.port,{client:this._client})}_onOnMessage(e){const{port:t}=e,s=this._client.on(e.eventType,(e=>{t.postMessage(e)})),n=(0,o.on)(e.port,"message",(e=>{(0,a.QM)(e).type===a.Cs.CLOSE&&(n.remove(),s.remove(),t.close())}))}_onResponseMessage(e){var t;const{jobId:s,error:n,data:o}=e,i=this._outJobs;if(!i.has(s))return;const l=i.get(s);i.delete(s),null==(t=l.abortHandle)||t.remove(),n?l.reject(r.Z.fromJSON(JSON.parse(n))):l.resolve(o)}_post(e,t,s){return(0,a.oi)(this._port,e,t,s)}}v.kernelInfo={revision:c.$,version:n.i8,buildDate:c.r},v.clients=new Map},94362:(e,t,s)=>{s.d(t,{Cs:()=>n,jt:()=>l,oi:()=>c,QM:()=>h,AB:()=>a});var n,r,o=s(80442);(r=n||(n={}))[r.HANDSHAKE=0]="HANDSHAKE",r[r.OPEN=1]="OPEN",r[r.OPENED=2]="OPENED",r[r.RESPONSE=3]="RESPONSE",r[r.INVOKE=4]="INVOKE",r[r.ABORT=5]="ABORT",r[r.CLOSE=6]="CLOSE",r[r.OPEN_PORT=7]="OPEN_PORT",r[r.ON=8]="ON";let i=0;function l(){return i++}function a(e){return e?"string"==typeof e?JSON.stringify({name:"message",message:e}):e.toJSON?JSON.stringify(e):JSON.stringify({name:e.name,message:e.message,details:e.details||{stack:e.stack}}):null}function c(e,t,s,r){if(t.type===n.OPEN_PORT)return void e.postMessage(t,[t.port]);if(t.type!==n.INVOKE&&t.type!==n.RESPONSE)return void e.postMessage(t);let o;!function(e){return e&&"object"==typeof e&&("result"in e||"transferList"in e)}(s)?(o=u(r),t.data=s):(o=u(s.transferList),t.data=s.result),o?e.postMessage(t,o):e.postMessage(t)}function h(e){if(!e)return null;const t=e.data;return t?"string"==typeof t?JSON.parse(t):t:null}function u(e){if(!e||!e.length)return null;if((0,o.Z)("esri-workers-arraybuffer-transfer"))return e;const t=e.filter((e=>!function(e){return e instanceof ArrayBuffer||e&&e.constructor&&"ArrayBuffer"===e.constructor.name}(e)));return t.length?t:null}},69285:(e,t,s)=>{s.d(t,{k:()=>i});var n=s(70586),r=s(67900),o=s(8744);function i(e,t,s){if((0,n.Wi)(t)||(0,n.Wi)(s)||s.vcsWkid||(0,o.fS)(t,s))return null;const i=(0,r._R)(t)/(0,r._R)(s);if(1===i)return null;switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){e&&null!=e.z&&(e.z*=t)}(e,i);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const s of e.paths)for(const e of s)e.length>2&&(e[2]*=t)}(e,i);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const s of e.rings)for(const e of s)e.length>2&&(e[2]*=t)}(e,i);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const s of e.points)s.length>2&&(s[2]*=t)}(e,i);case"extent":case"esriGeometryExtent":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,i);default:return null}}},66677:(e,t,s)=>{s.d(t,{ld:()=>f,B5:()=>u,M8:()=>g,G:()=>y,Qc:()=>p,DR:()=>d,Nm:()=>m,XG:()=>v,a7:()=>_,wH:()=>b});var n=s(70586),r=s(17452),o=s(25929);const i={mapserver:"MapServer",imageserver:"ImageServer",featureserver:"FeatureServer",sceneserver:"SceneServer",streamserver:"StreamServer",vectortileserver:"VectorTileServer"},l=Object.values(i),a=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/rest\\/services\\/(.+?)\\/(${l.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),c=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/([^\\/\\n]+)\\/(${l.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),h=/(.*?)\/(?:layers\/)?(\d+)\/?$/i;function u(e){return!!a.test(e)}function p(e){const t=(0,r.mN)(e),s=t.path.match(a)||t.path.match(c);if(!s)return null;const[,n,o,l,h]=s,u=o.indexOf("/");return{title:f(-1!==u?o.slice(u+1):o),serverType:i[l.toLowerCase()],sublayer:null!=h&&""!==h?parseInt(h,10):null,url:{path:n}}}function d(e){const t=(0,r.mN)(e).path.match(h);return t?{serviceUrl:t[1],sublayerId:Number(t[2])}:null}function f(e){return(e=e.replace(/\s*[/_]+\s*/g," "))[0].toUpperCase()+e.slice(1)}function _(e,t){const s=[];if(e){const t=p(e);(0,n.pC)(t)&&t.title&&s.push(t.title)}if(t){const e=f(t);s.push(e)}if(2===s.length){if(-1!==s[0].toLowerCase().indexOf(s[1].toLowerCase()))return s[0];if(-1!==s[1].toLowerCase().indexOf(s[0].toLowerCase()))return s[1]}return s.join(" - ")}function g(e){if(!e)return!1;const t=-1!==(e=e.toLowerCase()).indexOf(".arcgis.com/"),s=-1!==e.indexOf("//services")||-1!==e.indexOf("//tiles")||-1!==e.indexOf("//features");return t&&s}function m(e,t){return e?(0,r.Qj)((0,r.Hu)(e,t)):e}function v(e){let{url:t}=e;if(!t)return{url:t};t=(0,r.Hu)(t,e.logger);const s=(0,r.mN)(t),o=p(s.path);let i;if((0,n.pC)(o))null!=o.sublayer&&null==e.layer.layerId&&(i=o.sublayer),t=o.url.path;else if(e.nonStandardUrlAllowed){const e=d(s.path);(0,n.pC)(e)&&(t=e.serviceUrl,i=e.sublayerId)}return{url:(0,r.Qj)(t),layerId:i}}function b(e,t,s,n,i){(0,o.w)(t,n,"url",i),n.url&&null!=e.layerId&&(n.url=(0,r.v_)(n.url,s,e.layerId.toString()))}function y(e){if(!e)return!1;const t=e.toLowerCase(),s=-1!==t.indexOf("/services/"),n=-1!==t.indexOf("/mapserver/wmsserver"),r=-1!==t.indexOf("/imageserver/wmsserver"),o=-1!==t.indexOf("/wmsserver");return s&&(n||r||o)}},28694:(e,t,s)=>{s.d(t,{p:()=>o});var n=s(70586),r=s(69285);function o(e,t,s){if(!s||!s.features||!s.hasZ)return;const o=(0,r.k)(s.geometryType,t,e.outSpatialReference);if(!(0,n.Wi)(o))for(const e of s.features)o(e.geometry)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[755],{5499:(e,t,i)=>{i.d(t,{Z:()=>h});var s=i(43697),r=i(35454),a=i(96674),l=i(5600),n=(i(67676),i(80442),i(75215),i(52011)),o=i(69237);const p=new r.Xn({simple:"simple",uniqueValue:"unique-value",classBreaks:"class-breaks",heatmap:"heatmap",dotDensity:"dot-density",dictionary:"dictionary"},{ignoreUnknown:!0});let u=class extends a.wq{constructor(e){super(e),this.authoringInfo=null,this.type=null}async getRequiredFields(e){if(!this.collectRequiredFields)return[];const t=new Set;return await this.collectRequiredFields(t,e),Array.from(t).sort()}getSymbol(e,t){}async getSymbolAsync(e,t){}getSymbols(){return[]}getAttributeHash(){return JSON.stringify(this)}getMeshHash(){return JSON.stringify(this)}};(0,s._)([(0,l.Cb)({type:o.Z,json:{write:!0}})],u.prototype,"authoringInfo",void 0),(0,s._)([(0,l.Cb)({type:p.apiValues,readOnly:!0,json:{type:p.jsonValues,read:!1,write:{writer:p.write,ignoreOrigin:!0}}})],u.prototype,"type",void 0),u=(0,s._)([(0,n.j)("esri.renderers.Renderer")],u);const h=u},12571:(e,t,i)=>{i.d(t,{W:()=>q});var s,r=i(43697),a=i(5600),l=(i(67676),i(80442),i(75215)),n=i(71715),o=i(52011),p=i(30556),u=i(35671),h=i(77997),d=i(21849);let c=s=class extends h.Z{constructor(e){super(e),this.type="color",this.normalizationField=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null}}set stops(e){e&&Array.isArray(e)&&(e=e.filter((e=>!!e))).sort(((e,t)=>e.value-t.value)),this._set("stops",e)}clone(){return new s({field:this.field,normalizationField:this.normalizationField,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,stops:this.stops&&this.stops.map((e=>e.clone())),legendOptions:this.legendOptions&&this.legendOptions.clone()})}getAttributeHash(){return`${super.getAttributeHash()}-${this.normalizationField}`}_interpolateData(){return this.stops&&this.stops.map((e=>e.value||0))}};(0,r._)([(0,a.Cb)({readOnly:!0})],c.prototype,"cache",null),(0,r._)([(0,a.Cb)({type:["color"],json:{type:["colorInfo"]}})],c.prototype,"type",void 0),(0,r._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"normalizationField",void 0),(0,r._)([(0,a.Cb)({type:[d.Z],json:{write:!0}})],c.prototype,"stops",null),c=s=(0,r._)([(0,o.j)("esri.renderers.visualVariables.ColorVariable")],c);const y=c;var b,v=i(96674),m=i(65242);let w=b=class extends v.wq{constructor(e){super(e),this.label=null,this.opacity=null,this.value=null}readOpacity(e,t){return(0,m.b)(t.transparency)}writeOpacity(e,t,i){t[i]=(0,m.a)(e)}clone(){return new b({label:this.label,opacity:this.opacity,value:this.value})}};(0,r._)([(0,a.Cb)({type:String,json:{write:!0}})],w.prototype,"label",void 0),(0,r._)([(0,a.Cb)({type:Number,json:{type:l.z8,write:{target:"transparency"}}})],w.prototype,"opacity",void 0),(0,r._)([(0,n.r)("opacity",["transparency"])],w.prototype,"readOpacity",null),(0,r._)([(0,p.c)("opacity")],w.prototype,"writeOpacity",null),(0,r._)([(0,a.Cb)({type:Number,json:{write:!0}})],w.prototype,"value",void 0),w=b=(0,r._)([(0,o.j)("esri.renderers.visualVariables.support.OpacityStop")],w);const g=w;var V;let _=V=class extends h.Z{constructor(e){super(e),this.type="opacity",this.normalizationField=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null}}set stops(e){e&&Array.isArray(e)&&(e=e.filter((e=>!!e))).sort(((e,t)=>e.value-t.value)),this._set("stops",e)}clone(){return new V({field:this.field,normalizationField:this.normalizationField,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,stops:this.stops&&this.stops.map((e=>e.clone())),legendOptions:this.legendOptions&&this.legendOptions.clone()})}getAttributeHash(){return`${super.getAttributeHash()}-${this.normalizationField}`}_interpolateData(){return this.stops&&this.stops.map((e=>e.value||0))}};(0,r._)([(0,a.Cb)({readOnly:!0})],_.prototype,"cache",null),(0,r._)([(0,a.Cb)({type:["opacity"],json:{type:["transparencyInfo"]}})],_.prototype,"type",void 0),(0,r._)([(0,a.Cb)({type:String,json:{write:!0}})],_.prototype,"normalizationField",void 0),(0,r._)([(0,a.Cb)({type:[g],json:{write:!0}})],_.prototype,"stops",null),_=V=(0,r._)([(0,o.j)("esri.renderers.visualVariables.OpacityVariable")],_);const f=_;var x=i(89513),S=i(23847),z=i(15923),C=i(35454),j=i(92604),T=i(20941);const E=j.Z.getLogger("esri.renderers.visualVariables.VisualVariableFactory"),F={color:y,size:S.Z,opacity:f,rotation:x.Z},O=new C.Xn({colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation",sizeInfo:"size"}),D=/^\[([^\]]+)\]$/i;let I=class extends z.Z{constructor(){super(...arguments),this.colorVariables=null,this.opacityVariables=null,this.rotationVariables=null,this.sizeVariables=null}set visualVariables(e){if(this._resetVariables(),(e=e&&e.filter((e=>!!e)))&&e.length){for(const t of e)switch(t.type){case"color":this.colorVariables.push(t);break;case"opacity":this.opacityVariables.push(t);break;case"rotation":this.rotationVariables.push(t);break;case"size":this.sizeVariables.push(t)}this.sizeVariables.length&&this.sizeVariables.some((e=>!!e.target))&&e.sort(((e,t)=>{let i=null;return i=e.target===t.target?0:e.target?1:-1,i}));for(let t=0;t<e.length;t++)e[t].index=t;this._set("visualVariables",e)}else this._set("visualVariables",e)}readVariables(e,t,i){const{rotationExpression:s,rotationType:r}=t,a=s&&s.match(D),l=a&&a[1];if(l&&(e||(e=[]),e.push({type:"rotationInfo",rotationType:r,field:l})),e)return e.map((e=>{const t=O.read(e.type),s=F[t];s||(E.warn(`Unknown variable type: ${t}`),i&&i.messages&&i.messages.push(new T.Z("visual-variable:unsupported",`visualVariable of type '${t}' is not supported`,{definition:e,context:i})));const r=new s;return r.read(e,i),r}))}writeVariables(e,t){const i=[];for(const s of e){const e=s.toJSON(t);e&&i.push(e)}return i}_resetVariables(){this.colorVariables=[],this.opacityVariables=[],this.rotationVariables=[],this.sizeVariables=[]}};(0,r._)([(0,a.Cb)()],I.prototype,"visualVariables",null),I=(0,r._)([(0,o.j)("esri.renderers.visualVariables.VisualVariableFactory")],I);const k=I,Z={base:h.Z,key:"type",typeMap:{opacity:f,color:y,rotation:x.Z,size:S.Z}},q=e=>{let t=class extends e{constructor(){super(...arguments),this._vvFactory=new k}set visualVariables(e){this._vvFactory.visualVariables=e,this._set("visualVariables",this._vvFactory.visualVariables)}readVisualVariables(e,t,i){return this._vvFactory.readVariables(e,t,i)}writeVisualVariables(e,t,i,s){t[i]=this._vvFactory.writeVariables(e,s)}get arcadeRequiredForVisualVariables(){if(!this.visualVariables)return!1;for(const e of this.visualVariables)if(e.arcadeRequired)return!0;return!1}hasVisualVariables(e,t){return e?this.getVisualVariablesForType(e,t).length>0:this.getVisualVariablesForType("size",t).length>0||this.getVisualVariablesForType("color",t).length>0||this.getVisualVariablesForType("opacity",t).length>0||this.getVisualVariablesForType("rotation",t).length>0}getVisualVariablesForType(e,t){const i=this.visualVariables;return i?i.filter((i=>i.type===e&&("string"==typeof t?i.target===t:!1!==t||!i.target))):[]}async collectVVRequiredFields(e,t){let i=[];this.visualVariables&&(i=i.concat(this.visualVariables));for(const s of i)s&&(s.field&&(0,u.AB)(e,t,s.field),s.normalizationField&&(0,u.AB)(e,t,s.normalizationField),s.valueExpression&&await(0,u.io)(e,t,s.valueExpression))}};return(0,r._)([(0,a.Cb)({types:[Z],value:null,json:{write:!0}})],t.prototype,"visualVariables",null),(0,r._)([(0,n.r)("visualVariables",["visualVariables","rotationType","rotationExpression"])],t.prototype,"readVisualVariables",null),(0,r._)([(0,p.c)("visualVariables")],t.prototype,"writeVisualVariables",null),t=(0,r._)([(0,o.j)("esri.renderers.mixins.VisualVariablesMixin")],t),t}},69237:(e,t,i)=>{i.d(t,{Z:()=>I});var s,r=i(43697),a=i(35454),l=i(96674),n=i(22974),o=i(5600),p=i(75215),u=i(71715),h=i(52011);i(67676),i(80442);let d=s=class extends l.wq{constructor(e){super(e),this.minValue=0,this.maxValue=0}clone(){return new s({minValue:this.minValue,maxValue:this.maxValue})}};(0,r._)([(0,o.Cb)({type:Number,json:{write:!0}})],d.prototype,"minValue",void 0),(0,r._)([(0,o.Cb)({type:Number,json:{write:!0}})],d.prototype,"maxValue",void 0),d=s=(0,r._)([(0,h.j)("esri.renderer.support.AuthoringInfoClassBreakInfo")],d);const c=d;var y;let b=y=class extends l.wq{constructor(e){super(e),this.field="",this.normalizationField="",this.label="",this.classBreakInfos=[]}clone(){return new y({field:this.field,normalizationField:this.normalizationField,label:this.label,classBreakInfos:(0,n.d9)(this.classBreakInfos)})}};(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],b.prototype,"field",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],b.prototype,"normalizationField",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],b.prototype,"label",void 0),(0,r._)([(0,o.Cb)({type:[c],json:{write:!0}})],b.prototype,"classBreakInfos",void 0),b=y=(0,r._)([(0,h.j)("esri.renderers.support.AuthoringInfoFieldInfo")],b);const v=b;var m,w=i(90578);const g=new a.Xn({percentTotal:"percent-of-total",ratio:"ratio",percent:"percent"}),V=new a.Xn({sizeInfo:"size",colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation"}),_={key:e=>"number"==typeof e?"number":"string",typeMap:{number:Number,string:String},base:null},f=["high-to-low","above-and-below","centered-on","extremes"],x=[...new Set(["high-to-low","above-and-below","centered-on","extremes","90-10","above","below","high-to-low","above-and-below","90-10","above","below"])],S=["seconds","minutes","hours","days","months","years"];let z=m=class extends l.wq{constructor(e){super(e),this.endTime=null,this.field=null,this.maxSliderValue=null,this.minSliderValue=null,this.startTime=null,this.type=null,this.units=null}castEndTime(e){return"string"==typeof e||"number"==typeof e?e:null}castStartTime(e){return"string"==typeof e||"number"==typeof e?e:null}get style(){return"color"===this.type?this._get("style"):null}set style(e){this._set("style",e)}get theme(){return"color"===this.type||"size"===this.type?this._get("theme")||"high-to-low":null}set theme(e){this._set("theme",e)}clone(){return new m({endTime:this.endTime,field:this.field,maxSliderValue:this.maxSliderValue,minSliderValue:this.minSliderValue,startTime:this.startTime,style:this.style,theme:this.theme,type:this.type,units:this.units})}};(0,r._)([(0,o.Cb)({types:_,json:{write:!0}})],z.prototype,"endTime",void 0),(0,r._)([(0,w.p)("endTime")],z.prototype,"castEndTime",null),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],z.prototype,"field",void 0),(0,r._)([(0,o.Cb)({type:Number,json:{write:!0}})],z.prototype,"maxSliderValue",void 0),(0,r._)([(0,o.Cb)({type:Number,json:{write:!0}})],z.prototype,"minSliderValue",void 0),(0,r._)([(0,o.Cb)({types:_,json:{write:!0}})],z.prototype,"startTime",void 0),(0,r._)([(0,w.p)("startTime")],z.prototype,"castStartTime",null),(0,r._)([(0,o.Cb)({type:g.apiValues,value:null,json:{type:g.jsonValues,read:g.read,write:g.write}})],z.prototype,"style",null),(0,r._)([(0,o.Cb)({type:x,value:null,json:{type:x,origins:{"web-scene":{type:f,write:{writer:(e,t)=>{f.indexOf(e)>-1&&(t.theme=e)}}}},write:!0}})],z.prototype,"theme",null),(0,r._)([(0,o.Cb)({type:V.apiValues,json:{type:V.jsonValues,read:V.read,write:V.write}})],z.prototype,"type",void 0),(0,r._)([(0,o.Cb)({type:S,json:{type:S,write:!0}})],z.prototype,"units",void 0),z=m=(0,r._)([(0,h.j)("esri.renderers.support.AuthoringInfoVisualVariable")],z);const C=z;var j,T=i(94593);const E=new a.Xn({esriClassifyDefinedInterval:"defined-interval",esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation"}),F=new a.Xn({classedSize:"class-breaks-size",classedColor:"class-breaks-color",univariateColorSize:"univariate-color-size",relationship:"relationship",predominance:"predominance",dotDensity:"dot-density"}),O=["inches","feet","yards","miles","nautical-miles","millimeters","centimeters","decimeters","meters","kilometers","decimal-degrees"];let D=j=class extends l.wq{constructor(e){super(e),this.colorRamp=null,this.lengthUnit=null,this.maxSliderValue=null,this.minSliderValue=null,this.visualVariables=null}get classificationMethod(){const e=this._get("classificationMethod"),t=this.type;return t&&"relationship"!==t?"class-breaks-size"===t||"class-breaks-color"===t?e||"manual":null:e}set classificationMethod(e){this._set("classificationMethod",e)}readColorRamp(e){if(e)return(0,T.i)(e)}get fields(){return this.type&&"predominance"!==this.type?null:this._get("fields")}set fields(e){this._set("fields",e)}get field1(){return this.type&&"relationship"!==this.type?null:this._get("field1")}set field1(e){this._set("field1",e)}get field2(){return this.type&&"relationship"!==this.type?null:this._get("field2")}set field2(e){this._set("field2",e)}get focus(){return this.type&&"relationship"!==this.type?null:this._get("focus")}set focus(e){this._set("focus",e)}get numClasses(){return this.type&&"relationship"!==this.type?null:this._get("numClasses")}set numClasses(e){this._set("numClasses",e)}get statistics(){return"univariate-color-size"===this.type&&"above-and-below"===this.univariateTheme?this._get("statistics"):null}set statistics(e){this._set("statistics",e)}get standardDeviationInterval(){const e=this.type;return e&&"relationship"!==e&&"class-breaks-size"!==e&&"class-breaks-color"!==e||this.classificationMethod&&"standard-deviation"!==this.classificationMethod?null:this._get("standardDeviationInterval")}set standardDeviationInterval(e){this._set("standardDeviationInterval",e)}get type(){return this._get("type")}set type(e){let t=e;"classed-size"===e?t="class-breaks-size":"classed-color"===e&&(t="class-breaks-color"),this._set("type",t)}get univariateSymbolStyle(){return"univariate-color-size"===this.type&&"above-and-below"===this.univariateTheme?this._get("univariateSymbolStyle"):null}set univariateSymbolStyle(e){this._set("univariateSymbolStyle",e)}get univariateTheme(){return"univariate-color-size"===this.type?this._get("univariateTheme"):null}set univariateTheme(e){this._set("univariateTheme",e)}clone(){return new j({classificationMethod:this.classificationMethod,colorRamp:(0,n.d9)(this.colorRamp),fields:this.fields&&this.fields.slice(0),field1:(0,n.d9)(this.field1),field2:(0,n.d9)(this.field2),focus:this.focus,numClasses:this.numClasses,maxSliderValue:this.maxSliderValue,minSliderValue:this.minSliderValue,lengthUnit:this.lengthUnit,statistics:this.statistics,standardDeviationInterval:this.standardDeviationInterval,type:this.type,visualVariables:this.visualVariables&&this.visualVariables.map((e=>e.clone())),univariateSymbolStyle:this.univariateSymbolStyle,univariateTheme:this.univariateTheme})}};(0,r._)([(0,o.Cb)({type:E.apiValues,value:null,json:{type:E.jsonValues,read:E.read,write:E.write,origins:{"web-document":{default:"manual",type:E.jsonValues,read:E.read,write:E.write}}}})],D.prototype,"classificationMethod",null),(0,r._)([(0,o.Cb)({types:T.V,json:{write:!0}})],D.prototype,"colorRamp",void 0),(0,r._)([(0,u.r)("colorRamp")],D.prototype,"readColorRamp",null),(0,r._)([(0,o.Cb)({type:[String],value:null,json:{write:!0}})],D.prototype,"fields",null),(0,r._)([(0,o.Cb)({type:v,value:null,json:{write:!0}})],D.prototype,"field1",null),(0,r._)([(0,o.Cb)({type:v,value:null,json:{write:!0}})],D.prototype,"field2",null),(0,r._)([(0,o.Cb)({type:["HH","HL","LH","LL"],value:null,json:{write:!0}})],D.prototype,"focus",null),(0,r._)([(0,o.Cb)({type:Number,value:null,json:{type:p.z8,write:!0}})],D.prototype,"numClasses",null),(0,r._)([(0,o.Cb)({type:O,json:{type:O,read:!1,write:!1,origins:{"web-scene":{read:!0,write:!0}}}})],D.prototype,"lengthUnit",void 0),(0,r._)([(0,o.Cb)({type:Number,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],D.prototype,"maxSliderValue",void 0),(0,r._)([(0,o.Cb)({type:Number,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],D.prototype,"minSliderValue",void 0),(0,r._)([(0,o.Cb)({type:Object,value:null,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],D.prototype,"statistics",null),(0,r._)([(0,o.Cb)({type:[.25,.33,.5,1],value:null,json:{type:[.25,.33,.5,1],write:!0}})],D.prototype,"standardDeviationInterval",null),(0,r._)([(0,o.Cb)({type:F.apiValues,value:null,json:{type:F.jsonValues,read:F.read,write:F.write}})],D.prototype,"type",null),(0,r._)([(0,o.Cb)({type:[C],json:{write:!0}})],D.prototype,"visualVariables",void 0),(0,r._)([(0,o.Cb)({type:["caret","circle-caret","arrow","circle-arrow","plus-minus","circle-plus-minus","square","circle","triangle","happy-sad","thumb","custom"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],D.prototype,"univariateSymbolStyle",null),(0,r._)([(0,o.Cb)({type:["high-to-low","above-and-below","above","below","90-10"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],D.prototype,"univariateTheme",null),D=j=(0,r._)([(0,h.j)("esri.renderers.support.AuthoringInfo")],D);const I=D},66338:(e,t,i)=>{i.d(t,{Z:()=>p});var s,r=i(43697),a=i(96674),l=i(5600),n=(i(67676),i(80442),i(75215),i(52011));let o=s=class extends a.wq{constructor(){super(...arguments),this.title=null}clone(){return new s({title:this.title})}};(0,r._)([(0,l.Cb)({type:String,json:{write:!0}})],o.prototype,"title",void 0),o=s=(0,r._)([(0,n.j)("esri.renderers.support.LegendOptions")],o);const p=o},89513:(e,t,i)=>{i.d(t,{Z:()=>h});var s,r=i(43697),a=i(20102),l=i(5600),n=(i(67676),i(80442),i(75215),i(52011)),o=i(30556),p=i(77997);let u=s=class extends p.Z{constructor(e){super(e),this.axis=null,this.type="rotation",this.rotationType="geographic",this.valueExpressionTitle=null}get cache(){return{hasExpression:!!this.valueExpression,compiledFunc:null}}writeValueExpressionTitleWebScene(e,t,i,s){if(s&&s.messages){const e=`visualVariables[${this.index}]`;s.messages.push(new a.Z("property:unsupported",this.type+"VisualVariable.valueExpressionTitle is not supported in Web Scene. Please remove this property to save the Web Scene.",{instance:this,propertyName:e+".valueExpressionTitle",context:s}))}}clone(){return new s({axis:this.axis,rotationType:this.rotationType,field:this.field,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,legendOptions:this.legendOptions&&this.legendOptions.clone()})}};(0,r._)([(0,l.Cb)({readOnly:!0})],u.prototype,"cache",null),(0,r._)([(0,l.Cb)({type:["heading","tilt","roll"],json:{origins:{"web-scene":{default:"heading",write:!0}}}})],u.prototype,"axis",void 0),(0,r._)([(0,l.Cb)({type:["rotation"],json:{type:["rotationInfo"]}})],u.prototype,"type",void 0),(0,r._)([(0,l.Cb)({type:["geographic","arithmetic"],json:{write:!0,origins:{"web-document":{write:!0,default:"geographic"}}}})],u.prototype,"rotationType",void 0),(0,r._)([(0,l.Cb)({type:String,json:{write:!0}})],u.prototype,"valueExpressionTitle",void 0),(0,r._)([(0,o.c)("web-scene","valueExpressionTitle")],u.prototype,"writeValueExpressionTitleWebScene",null),u=s=(0,r._)([(0,n.j)("esri.renderers.visualVariables.RotationVariable")],u);const h=u},23847:(e,t,i)=>{i.d(t,{Z:()=>T});var s,r=i(43697),a=i(20102),l=i(35454),n=i(92604),o=i(62357),p=i(5600),u=(i(67676),i(80442),i(90578)),h=i(71715),d=i(52011),c=i(30556),y=i(77997),b=i(30856),v=(i(75215),i(58439));let m=s=class extends v.Z{constructor(){super(...arguments),this.customValues=null}clone(){return new s({title:this.title,showLegend:this.showLegend,customValues:this.customValues&&this.customValues.slice(0)})}};(0,r._)([(0,p.Cb)({type:[Number],json:{write:!0}})],m.prototype,"customValues",void 0),m=s=(0,r._)([(0,d.j)("esri.renderers.visualVariables.support.SizeVariableLegendOptions")],m);const w=m;var g,V=i(51706),_=i(28101);const f=n.Z.getLogger("esri.renderers.visualVariables.SizeVariable"),x=new l.Xn({width:"width",depth:"depth",height:"height",widthAndDepth:"width-and-depth",all:"all"}),S=new l.Xn({unknown:"unknown",inch:"inches",foot:"feet",yard:"yards",mile:"miles","nautical-mile":"nautical-miles",millimeter:"millimeters",centimeter:"centimeters",decimeter:"decimeters",meter:"meters",kilometer:"kilometers","decimal-degree":"decimal-degrees"});function z(e){if(null!=e)return"string"==typeof e||"number"==typeof e?(0,o.t_)(e):"size"===e.type?(0,V.iY)(e)?e:(delete(e={...e}).type,new j(e)):void 0}function C(e,t,i){if("object"!=typeof e)return e;const s=new j;return s.read(e,i),s}let j=g=class extends y.Z{constructor(e){super(e),this.axis=null,this.legendOptions=null,this.normalizationField=null,this.scaleBy=null,this.target=null,this.type="size",this.useSymbolValue=null,this.valueExpression=null,this.valueRepresentation=null,this.valueUnit=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null,isScaleDriven:_.B3.test(this.valueExpression)}}set expression(e){f.warn("'expression' is deprecated since version 4.2. Use 'valueExpression' instead. The only supported expression is 'view.scale'."),"view.scale"===e?(this.valueExpression="$view.scale",this._set("expression",e)):this._set("expression",null)}set index(e){(0,V.iY)(this.maxSize)&&(this.maxSize.index=`visualVariables[${e}].maxSize`),(0,V.iY)(this.minSize)&&(this.minSize.index=`visualVariables[${e}].minSize`),this._set("index",e)}get inputValueType(){return(0,V.PS)(this)}set maxDataValue(e){e&&this.stops&&(f.warn("cannot set maxDataValue when stops is not null."),e=null),this._set("maxDataValue",e)}set maxSize(e){e&&this.stops&&(f.warn("cannot set maxSize when stops is not null."),e=null),this._set("maxSize",e)}castMaxSize(e){return z(e)}readMaxSize(e,t,i){return C(e,0,i)}set minDataValue(e){e&&this.stops&&(f.warn("cannot set minDataValue when stops is not null."),e=null),this._set("minDataValue",e)}set minSize(e){e&&this.stops&&(f.warn("cannot set minSize when stops is not null."),e=null),this._set("minSize",e)}castMinSize(e){return z(e)}readMinSize(e,t,i){return C(e,0,i)}get arcadeRequired(){return!!this.valueExpression||this.minSize&&"object"==typeof this.minSize&&this.minSize.arcadeRequired||this.maxSize&&"object"==typeof this.maxSize&&this.maxSize.arcadeRequired}set stops(e){null==this.minDataValue&&null==this.maxDataValue&&null==this.minSize&&null==this.maxSize?e&&Array.isArray(e)&&(e=e.filter((e=>!!e))).sort(((e,t)=>e.value-t.value)):e&&(f.warn("cannot set stops when one of minDataValue, maxDataValue, minSize or maxSize is not null."),e=null),this._set("stops",e)}get transformationType(){return(0,V.QW)(this,this.inputValueType)}readValueExpression(e,t){return e||t.expression&&"$view.scale"}writeValueExpressionWebScene(e,t,i,s){if("$view.scale"===e){if(s&&s.messages){const e=this.index,t="string"==typeof e?e:`visualVariables[${e}]`;s.messages.push(new a.Z("property:unsupported",this.type+"VisualVariable.valueExpression = '$view.scale' is not supported in Web Scene. Please remove this property to save the Web Scene.",{instance:this,propertyName:t+".valueExpression",context:s}))}}else t[i]=e}readValueUnit(e){return e?S.read(e):null}clone(){return new g({axis:this.axis,field:this.field,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,maxDataValue:this.maxDataValue,maxSize:(0,V.iY)(this.maxSize)?this.maxSize.clone():this.maxSize,minDataValue:this.minDataValue,minSize:(0,V.iY)(this.minSize)?this.minSize.clone():this.minSize,normalizationField:this.normalizationField,stops:this.stops&&this.stops.map((e=>e.clone())),target:this.target,useSymbolValue:this.useSymbolValue,valueRepresentation:this.valueRepresentation,valueUnit:this.valueUnit,legendOptions:this.legendOptions&&this.legendOptions.clone()})}flipSizes(){if(this.transformationType===V.hL.ClampedLinear){const{minSize:e,maxSize:t}=this;return this.minSize=t,this.maxSize=e,this}if(this.transformationType===V.hL.Stops){const e=this.stops,t=e.map((e=>e.size)).reverse(),i=e.length;for(let s=0;s<i;s++)e[s].size=t[s];return this}return this}getAttributeHash(){return`${super.getAttributeHash()}-${this.target}-${this.normalizationField}`}_interpolateData(){return this.stops&&this.stops.map((e=>e.value||0))}};(0,r._)([(0,p.Cb)({readOnly:!0})],j.prototype,"cache",null),(0,r._)([(0,p.Cb)({type:x.apiValues,json:{type:x.jsonValues,origins:{"web-map":{read:!1}},read:x.read,write:x.write}})],j.prototype,"axis",void 0),(0,r._)([(0,p.Cb)({type:String,value:null,json:{read:!1}})],j.prototype,"expression",null),(0,r._)([(0,p.Cb)()],j.prototype,"index",null),(0,r._)([(0,p.Cb)({type:String,readOnly:!0})],j.prototype,"inputValueType",null),(0,r._)([(0,p.Cb)({type:w,json:{write:!0}})],j.prototype,"legendOptions",void 0),(0,r._)([(0,p.Cb)({type:Number,value:null,json:{write:!0}})],j.prototype,"maxDataValue",null),(0,r._)([(0,p.Cb)({type:Number,value:null,json:{write:!0}})],j.prototype,"maxSize",null),(0,r._)([(0,u.p)("maxSize")],j.prototype,"castMaxSize",null),(0,r._)([(0,h.r)("maxSize")],j.prototype,"readMaxSize",null),(0,r._)([(0,p.Cb)({type:Number,value:null,json:{write:!0}})],j.prototype,"minDataValue",null),(0,r._)([(0,p.Cb)({type:Number,value:null,json:{write:!0}})],j.prototype,"minSize",null),(0,r._)([(0,u.p)("minSize")],j.prototype,"castMinSize",null),(0,r._)([(0,h.r)("minSize")],j.prototype,"readMinSize",null),(0,r._)([(0,p.Cb)({type:String,json:{write:!0}})],j.prototype,"normalizationField",void 0),(0,r._)([(0,p.Cb)({readOnly:!0})],j.prototype,"arcadeRequired",null),(0,r._)([(0,p.Cb)({type:String})],j.prototype,"scaleBy",void 0),(0,r._)([(0,p.Cb)({type:[b.Z],value:null,json:{write:!0}})],j.prototype,"stops",null),(0,r._)([(0,p.Cb)({type:["outline"],json:{write:!0}})],j.prototype,"target",void 0),(0,r._)([(0,p.Cb)({type:String,readOnly:!0})],j.prototype,"transformationType",null),(0,r._)([(0,p.Cb)({type:["size"],json:{type:["sizeInfo"]}})],j.prototype,"type",void 0),(0,r._)([(0,p.Cb)({type:Boolean,json:{write:!0,origins:{"web-map":{read:!1}}}})],j.prototype,"useSymbolValue",void 0),(0,r._)([(0,p.Cb)({type:String,json:{write:!0}})],j.prototype,"valueExpression",void 0),(0,r._)([(0,h.r)("valueExpression",["valueExpression","expression"])],j.prototype,"readValueExpression",null),(0,r._)([(0,c.c)("web-scene","valueExpression")],j.prototype,"writeValueExpressionWebScene",null),(0,r._)([(0,p.Cb)({type:["radius","diameter","area","width","distance"],json:{write:!0}})],j.prototype,"valueRepresentation",void 0),(0,r._)([(0,p.Cb)({type:S.apiValues,json:{write:S.write,origins:{"web-map":{read:!1},"web-scene":{write:!0}}}})],j.prototype,"valueUnit",void 0),(0,r._)([(0,h.r)("valueUnit")],j.prototype,"readValueUnit",null),j=g=(0,r._)([(0,d.j)("esri.renderers.visualVariables.SizeVariable")],j);const T=j},77997:(e,t,i)=>{i.d(t,{Z:()=>b});var s=i(43697),r=i(35454),a=i(96674),l=i(92604),n=i(5600),o=(i(67676),i(80442),i(90578)),p=i(52011),u=i(75215),h=i(58439);const d=l.Z.getLogger("esri.renderers.visualVariables.VisualVariable"),c=new r.Xn({colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation",sizeInfo:"size"});let y=class extends a.wq{constructor(e){super(e),this.index=null,this.type=null,this.field=null,this.valueExpression=null,this.valueExpressionTitle=null,this.legendOptions=null}castField(e){return null==e?e:"function"==typeof e?(d.error(".field: field must be a string value"),null):(0,u.Zs)(e)}get arcadeRequired(){return!!this.valueExpression}clone(){}getAttributeHash(){return`${this.type}-${this.field}-${this.valueExpression}`}};(0,s._)([(0,n.Cb)()],y.prototype,"index",void 0),(0,s._)([(0,n.Cb)({type:c.apiValues,readOnly:!0,json:{read:c.read,write:c.write}})],y.prototype,"type",void 0),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],y.prototype,"field",void 0),(0,s._)([(0,o.p)("field")],y.prototype,"castField",null),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],y.prototype,"valueExpression",void 0),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],y.prototype,"valueExpressionTitle",void 0),(0,s._)([(0,n.Cb)({readOnly:!0})],y.prototype,"arcadeRequired",null),(0,s._)([(0,n.Cb)({type:h.Z,json:{write:!0}})],y.prototype,"legendOptions",void 0),y=(0,s._)([(0,p.j)("esri.renderers.visualVariables.VisualVariable")],y);const b=y},21849:(e,t,i)=>{i.d(t,{Z:()=>d});var s,r=i(43697),a=i(22303),l=i(96674),n=i(5600),o=(i(67676),i(80442),i(75215)),p=i(52011),u=i(30556);let h=s=class extends l.wq{constructor(e){super(e),this.color=null,this.label=null,this.value=null}writeValue(e,t,i){t[i]=null==e?0:e}clone(){return new s({color:this.color&&this.color.clone(),label:this.label,value:this.value})}};(0,r._)([(0,n.Cb)({type:a.Z,json:{type:[o.z8],write:!0}})],h.prototype,"color",void 0),(0,r._)([(0,n.Cb)({type:String,json:{write:!0}})],h.prototype,"label",void 0),(0,r._)([(0,n.Cb)({type:Number,json:{write:{writerEnsuresNonNull:!0}}})],h.prototype,"value",void 0),(0,r._)([(0,u.c)("value")],h.prototype,"writeValue",null),h=s=(0,r._)([(0,p.j)("esri.renderers.visualVariables.support.ColorStop")],h);const d=h},30856:(e,t,i)=>{i.d(t,{Z:()=>u});var s,r=i(43697),a=i(96674),l=i(62357),n=i(5600),o=(i(67676),i(80442),i(75215),i(52011));let p=s=class extends a.wq{constructor(e){super(e),this.label=null,this.size=null,this.value=null}clone(){return new s({label:this.label,size:this.size,value:this.value})}};(0,r._)([(0,n.Cb)({type:String,json:{write:!0}})],p.prototype,"label",void 0),(0,r._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],p.prototype,"size",void 0),(0,r._)([(0,n.Cb)({type:Number,json:{write:!0}})],p.prototype,"value",void 0),p=s=(0,r._)([(0,o.j)("esri.renderers.visualVariables.support.SizeStop")],p);const u=p},58439:(e,t,i)=>{i.d(t,{Z:()=>p});var s,r=i(43697),a=i(5600),l=(i(67676),i(80442),i(75215),i(52011)),n=i(66338);let o=s=class extends n.Z{constructor(){super(...arguments),this.showLegend=null}clone(){return new s({title:this.title,showLegend:this.showLegend})}};(0,r._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],o.prototype,"showLegend",void 0),o=s=(0,r._)([(0,l.j)("esri.renderers.visualVariables.support.VisualVariableLegendOptions")],o);const p=o}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5823],{84552:(e,t,r)=>{r.d(t,{Z:()=>y});var i,s=r(43697),a=r(96674),l=r(35463),n=r(5600),o=(r(67676),r(80442),r(75215),r(52011)),u=r(78981);let p=i=class extends a.wq{constructor(e){super(e),this.value=0,this.unit="milliseconds"}toMilliseconds(){return(0,l.rJ)(this.value,this.unit,"milliseconds")}clone(){return new i({value:this.value,unit:this.unit})}};(0,s._)([(0,n.Cb)({type:Number,json:{write:!0},nonNullable:!0})],p.prototype,"value",void 0),(0,s._)([(0,n.Cb)({type:u.v.apiValues,json:{type:u.v.jsonValues,read:u.v.read,write:u.v.write},nonNullable:!0})],p.prototype,"unit",void 0),p=i=(0,s._)([(0,o.j)("esri.TimeInterval")],p);const y=p},68668:(e,t,r)=>{r.d(t,{GZ:()=>n,wF:()=>o});var i=r(66643),s=r(80539),a=r(83379),l=r(70586);async function n(e,t){return await e.load(),o(e,t)}async function o(e,t){const r=[],n=(...e)=>{for(const t of e)(0,l.Wi)(t)||(Array.isArray(t)?n(...t):s.Z.isCollection(t)?t.forEach((e=>n(e))):a.Z.isLoadable(t)&&r.push(t))};t(n);let o=null;if(await(0,i.UI)(r,(async e=>{!1!==(await(0,i.q6)(function(e){return"loadAll"in e&&"function"==typeof e.loadAll}(e)?e.loadAll():e.load())).ok||o||(o=e)})),o)throw o.loadError;return e}},75823:(e,t,r)=>{r.r(t),r.d(t,{default:()=>J});var i=r(43697),s=r(3172),a=r(92835),l=r(20102),n=r(3920),o=r(68668),u=r(70586),p=r(16453),y=r(95330),d=r(5600),m=(r(67676),r(80442),r(75215)),c=r(71715),h=r(52011),v=r(30556),g=r(31263),f=r(6570),b=r(91040),w=r(29600),I=r(54295),_=r(7944),x=r(17287),S=r(71612),C=r(17017),T=r(38009),E=r(16859),O=r(34760),D=r(72965),U=r(10343),F=r(28294),L=r(21506),j=r(15923),P=r(32073),N=r(410);const Z={visible:"visibleSublayers",definitionExpression:"layerDefs",labelingInfo:"hasDynamicLayers",labelsVisible:"hasDynamicLayers",opacity:"hasDynamicLayers",minScale:"visibleSublayers",maxScale:"visibleSublayers",renderer:"hasDynamicLayers",source:"hasDynamicLayers"};let M=class extends((0,n.p)(j.Z)){constructor(e){super(e),this.floors=null,this.scale=0}destroy(){this.layer=null}get dynamicLayers(){if(!this.hasDynamicLayers)return null;const e=this.visibleSublayers.map((e=>{const t=(0,N.ff)(this.floors,e);return e.toExportImageJSON(t)}));return e.length?JSON.stringify(e):null}get hasDynamicLayers(){return this.layer&&(0,P.FN)(this.visibleSublayers,this.layer.serviceSublayers,this.layer)}set layer(e){this._get("layer")!==e&&(this._set("layer",e),this.handles.remove("layer"),e&&this.handles.add([e.allSublayers.on("change",(()=>this.notifyChange("visibleSublayers"))),e.on("sublayer-update",(e=>this.notifyChange(Z[e.propertyName])))],"layer"))}get layers(){const e=this.visibleSublayers;return e?e.length?"show:"+e.map((e=>e.id)).join(","):"show:-1":null}get layerDefs(){var e;const t=!(null==(e=this.floors)||!e.length),r=this.visibleSublayers.filter((e=>null!=e.definitionExpression||t&&null!=e.floorInfo));return r.length?JSON.stringify(r.reduce(((e,t)=>{const r=(0,N.ff)(this.floors,t),i=(0,u.pC)(r)?(0,N.Hp)(r,t):t.definitionExpression;return e[t.id]=i,e}),{})):null}get version(){this.commitProperty("layers"),this.commitProperty("layerDefs"),this.commitProperty("dynamicLayers"),this.commitProperty("timeExtent");const e=this.layer;return e&&(e.commitProperty("dpi"),e.commitProperty("imageFormat"),e.commitProperty("imageTransparency"),e.commitProperty("gdbVersion")),(this._get("version")||0)+1}get visibleSublayers(){const e=[];if(!this.layer)return e;const t=this.layer.sublayers,r=t=>{const i=this.scale,s=0===i,a=0===t.minScale||i<=t.minScale,l=0===t.maxScale||i>=t.maxScale;t.visible&&(s||a&&l)&&(t.sublayers?t.sublayers.forEach(r):e.unshift(t))};t&&t.forEach(r);const i=this._get("visibleSublayers");return!i||i.length!==e.length||i.some(((t,r)=>e[r]!==t))?e:i}toJSON(){const e=this.layer;let t={dpi:e.dpi,format:e.imageFormat,transparent:e.imageTransparency,gdbVersion:e.gdbVersion||null};return this.hasDynamicLayers&&this.dynamicLayers?t.dynamicLayers=this.dynamicLayers:t={...t,layers:this.layers,layerDefs:this.layerDefs},t}};(0,i._)([(0,d.Cb)({readOnly:!0})],M.prototype,"dynamicLayers",null),(0,i._)([(0,d.Cb)()],M.prototype,"floors",void 0),(0,i._)([(0,d.Cb)({readOnly:!0})],M.prototype,"hasDynamicLayers",null),(0,i._)([(0,d.Cb)()],M.prototype,"layer",null),(0,i._)([(0,d.Cb)({readOnly:!0})],M.prototype,"layers",null),(0,i._)([(0,d.Cb)({readOnly:!0})],M.prototype,"layerDefs",null),(0,i._)([(0,d.Cb)({type:Number})],M.prototype,"scale",void 0),(0,i._)([(0,d.Cb)(L.qG)],M.prototype,"timeExtent",void 0),(0,i._)([(0,d.Cb)({readOnly:!0})],M.prototype,"version",null),(0,i._)([(0,d.Cb)({readOnly:!0})],M.prototype,"visibleSublayers",null),M=(0,i._)([(0,h.j)("esri.layers.mixins.ExportImageParameters")],M);var R=r(49867);let k=class extends((0,S.h)((0,F.n)((0,D.M)((0,U.x)((0,_.O)((0,x.Y)((0,T.q)((0,E.I)((0,p.R)((0,O.Q)((0,I.V)((0,C.N)((0,n.p)(w.Z)))))))))))))){constructor(...e){super(...e),this.datesInUnknownTimezone=!1,this.dpi=96,this.gdbVersion=null,this.imageFormat="png24",this.imageMaxHeight=2048,this.imageMaxWidth=2048,this.imageTransparency=!0,this.isReference=null,this.labelsVisible=!1,this.operationalLayerType="ArcGISMapServiceLayer",this.sourceJSON=null,this.sublayers=null,this.type="map-image",this.url=null}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=(0,u.pC)(e)?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Map Service"]},e).catch(y.r9).then((()=>this._fetchService(t)))),Promise.resolve(this)}readImageFormat(e,t){const r=t.supportedImageFormatTypes;return r&&r.indexOf("PNG32")>-1?"png32":"png24"}writeSublayers(e,t,r,i){if(!this.loaded||!e)return;const s=e.slice().reverse().flatten((({sublayers:e})=>e&&e.toArray().reverse())).toArray();let a=!1;if(this.capabilities&&this.capabilities.operations.supportsExportMap&&this.capabilities.exportMap.supportsDynamicLayers){const e=(0,g.M9)(i.origin);if(e===g.s3.PORTAL_ITEM){const e=this.createSublayersForOrigin("service").sublayers;a=(0,P.QV)(s,e,g.s3.SERVICE)}else if(e>g.s3.PORTAL_ITEM){const e=this.createSublayersForOrigin("portal-item");a=(0,P.QV)(s,e.sublayers,(0,g.M9)(e.origin))}}const l=[],n={writeSublayerStructure:a,...i};let o=a;s.forEach((e=>{const t=e.write({},n);l.push(t),o=o||"user"===e.originOf("visible")})),l.some((e=>Object.keys(e).length>1))&&(t.layers=l),o&&(t.visibleLayers=s.filter((e=>e.visible)).map((e=>e.id)))}createExportImageParameters(e,t,r,i){const s=i&&i.pixelRatio||1;e&&this.version>=10&&(e=e.clone().shiftCentralMeridian());const a=new M({layer:this,floors:null==i?void 0:i.floors,scale:(0,b.yZ)({extent:e,width:t})*s}),l=a.toJSON();a.destroy();const n=!i||!i.rotation||this.version<10.3?{}:{rotation:-i.rotation},o=e&&e.spatialReference,u=o.wkid||JSON.stringify(o.toJSON());l.dpi*=s;const p={};if(null!=i&&i.timeExtent){const{start:e,end:t}=i.timeExtent.toJSON();p.time=e&&t&&e===t?""+e:`${null==e?"null":e},${null==t?"null":t}`}else this.timeInfo&&!this.timeInfo.hasLiveData&&(p.time="null,null");return{bbox:e&&e.xmin+","+e.ymin+","+e.xmax+","+e.ymax,bboxSR:u,imageSR:u,size:t+","+r,...l,...n,...p}}async fetchImage(e,t,r,i){var a;const n={responseType:"image",signal:null!=(a=null==i?void 0:i.signal)?a:null,query:{...this.parsedUrl.query,...this.createExportImageParameters(e,t,r,i),f:"image",...this.refreshParameters,...this.customParameters,token:this.apiKey}},o=this.parsedUrl.path+"/export";return null==n.query.dynamicLayers||this.capabilities.exportMap.supportsDynamicLayers?(0,s.default)(o,n).then((e=>e.data)).catch((e=>{if((0,y.D_)(e))throw e;throw new l.Z("mapimagelayer:image-fetch-error",`Unable to load image: ${o}`,{error:e})})):Promise.reject(new l.Z("mapimagelayer:dynamiclayer-not-supported",`service ${this.url} doesn't support dynamic layers, which is required to be able to change the sublayer's order, rendering, labeling or source.`,{query:n.query}))}async fetchRecomputedExtents(e={}){const t={...e,query:{returnUpdates:!0,f:"json",...this.customParameters,token:this.apiKey}},{data:r}=await(0,s.default)(this.url,t),{extent:i,fullExtent:l,timeExtent:n}=r,o=i||l;return{fullExtent:o&&f.Z.fromJSON(o),timeExtent:n&&a.Z.fromJSON({start:n[0],end:n[1]})}}loadAll(){return(0,o.GZ)(this,(e=>{e(this.allSublayers)}))}async _fetchService(e){if(this.sourceJSON)return void this.read(this.sourceJSON,{origin:"service",url:this.parsedUrl});const{data:t,ssl:r}=await(0,s.default)(this.parsedUrl.path,{query:{f:"json",...this.parsedUrl.query,...this.customParameters,token:this.apiKey},signal:e});r&&(this.url=this.url.replace(/^http:/i,"https:")),this.sourceJSON=t,this.read(t,{origin:"service",url:this.parsedUrl})}};(0,i._)([(0,d.Cb)({type:Boolean})],k.prototype,"datesInUnknownTimezone",void 0),(0,i._)([(0,d.Cb)()],k.prototype,"dpi",void 0),(0,i._)([(0,d.Cb)()],k.prototype,"gdbVersion",void 0),(0,i._)([(0,d.Cb)()],k.prototype,"imageFormat",void 0),(0,i._)([(0,c.r)("imageFormat",["supportedImageFormatTypes"])],k.prototype,"readImageFormat",null),(0,i._)([(0,d.Cb)({json:{origins:{service:{read:{source:"maxImageHeight"}}}}})],k.prototype,"imageMaxHeight",void 0),(0,i._)([(0,d.Cb)({json:{origins:{service:{read:{source:"maxImageWidth"}}}}})],k.prototype,"imageMaxWidth",void 0),(0,i._)([(0,d.Cb)()],k.prototype,"imageTransparency",void 0),(0,i._)([(0,d.Cb)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],k.prototype,"isReference",void 0),(0,i._)([(0,d.Cb)({json:{read:!1,write:!1}})],k.prototype,"labelsVisible",void 0),(0,i._)([(0,d.Cb)({type:["ArcGISMapServiceLayer"]})],k.prototype,"operationalLayerType",void 0),(0,i._)([(0,d.Cb)({json:{read:!1,write:!1}})],k.prototype,"popupEnabled",void 0),(0,i._)([(0,d.Cb)()],k.prototype,"sourceJSON",void 0),(0,i._)([(0,d.Cb)({json:{write:{ignoreOrigin:!0}}})],k.prototype,"sublayers",void 0),(0,i._)([(0,v.c)("sublayers",{layers:{type:[R.Z]},visibleLayers:{type:[m.z8]}})],k.prototype,"writeSublayers",null),(0,i._)([(0,d.Cb)({type:["show","hide","hide-children"]})],k.prototype,"listMode",void 0),(0,i._)([(0,d.Cb)({json:{read:!1},readOnly:!0,value:"map-image"})],k.prototype,"type",void 0),(0,i._)([(0,d.Cb)(L.HQ)],k.prototype,"url",void 0),k=(0,i._)([(0,h.j)("esri.layers.MapImageLayer")],k);const J=k},16859:(e,t,r)=>{r.d(t,{I:()=>w});var i=r(43697),s=r(40330),a=r(3172),l=r(66643),n=r(20102),o=r(92604),u=r(70586),p=r(95330),y=r(17452),d=r(5600),m=(r(67676),r(80442),r(75215),r(71715)),c=r(52011),h=r(30556),v=r(65587),g=r(15235),f=r(86082);const b=o.Z.getLogger("esri.layers.mixins.PortalLayer"),w=e=>{let t=class extends e{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0}destroy(){var e;null==(e=this.portalItem)||e.destroy(),this.portalItem=null}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new g.default({id:t.itemId,portal:r&&r.portal})}writePortalItem(e,t){e&&e.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem&&this.portalItem.id)try{const i=await r.e(8062).then(r.bind(r,18062));return(0,p.k_)(t),await i.load({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData},t)}catch(e){throw(0,p.D_)(e)||b.warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch((e=>((0,p.r9)(e),!0))))}async _fetchUserHasEditingPrivileges(e){const t=this.url?null==s.id?void 0:s.id.findCredential(this.url):null;if(!t)return!0;const r=I.credential===t?I.user:await this._fetchEditingUser(e);return I.credential=t,I.user=r,(0,u.Wi)(r)||null==r.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){var t,r;const i=null==(t=this.portalItem)||null==(r=t.portal)?void 0:r.user;if(i)return i;const n=s.id.findServerInfo(this.url);if(null==n||!n.owningSystemUrl)return null;const o=`${n.owningSystemUrl}/sharing/rest`,p=v.Z.getDefault();if(p&&p.loaded&&(0,y.Fv)(p.restUrl)===(0,y.Fv)(o))return p.user;const d=`${o}/community/self`,m=(0,u.pC)(e)?e.signal:null,c=await(0,l.q6)((0,a.default)(d,{authMode:"no-prompt",query:{f:"json"},signal:m}));return c.ok?f.default.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t&&t.portal,i=this.portalItem&&this.portalItem.id&&(this.portalItem.portal||v.Z.getDefault());return r&&i&&!(0,y.tm)(i.restUrl,r.restUrl)?(t.messages&&t.messages.push(new n.Z("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save the scene, set the layer.portalItem to null or save the scene to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,i._)([(0,d.Cb)({type:g.default})],t.prototype,"portalItem",null),(0,i._)([(0,m.r)("web-document","portalItem",["itemId"])],t.prototype,"readPortalItem",null),(0,i._)([(0,h.c)("web-document","portalItem",{itemId:{type:String}})],t.prototype,"writePortalItem",null),(0,i._)([(0,d.Cb)()],t.prototype,"resourceReferences",void 0),(0,i._)([(0,d.Cb)({readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),t=(0,i._)([(0,c.j)("esri.layers.mixins.PortalLayer")],t),t},I={credential:null,user:null}},28294:(e,t,r)=>{r.d(t,{n:()=>d});var i=r(43697),s=r(92835),a=r(84552),l=r(5600),n=(r(67676),r(80442),r(75215),r(71715)),o=r(52011),u=r(30547),p=r(35671),y=r(78981);const d=e=>{let t=class extends e{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const r=t.timeInfo.exportOptions;if(!r)return null;const i=r.timeOffset,s=y.v.fromJSON(r.timeOffsetUnits);return i&&s?new a.Z({value:i,unit:s}):null}set timeInfo(e){(0,p.UF)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,i._)([(0,l.Cb)({type:s.Z,json:{write:!1}})],t.prototype,"timeExtent",void 0),(0,i._)([(0,l.Cb)({type:a.Z})],t.prototype,"timeOffset",void 0),(0,i._)([(0,n.r)("service","timeOffset",["timeInfo.exportOptions"])],t.prototype,"readOffset",null),(0,i._)([(0,l.Cb)({value:null,type:u.Z,json:{write:!0,origins:{"web-document":{read:!1,write:!1}}}})],t.prototype,"timeInfo",null),(0,i._)([(0,l.Cb)({type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation"},origins:{"web-scene":{read:!1,write:!1}}}})],t.prototype,"useViewTime",void 0),t=(0,i._)([(0,o.j)("esri.layers.mixins.TemporalLayer")],t),t}},30547:(e,t,r)=>{r.d(t,{Z:()=>b});var i,s=r(43697),a=r(92835),l=r(84552),n=r(96674),o=r(22974),u=r(70586),p=r(5600),y=(r(75215),r(71715)),d=r(52011),m=r(30556);r(67676),r(80442);let c=i=class extends n.wq{constructor(e){super(e),this.respectsDaylightSaving=!1,this.timezone=null}readRespectsDaylightSaving(e,t){return void 0!==t.respectsDaylightSaving?t.respectsDaylightSaving:void 0!==t.respectDaylightSaving&&t.respectDaylightSaving}clone(){const{respectsDaylightSaving:e,timezone:t}=this;return new i({respectsDaylightSaving:e,timezone:t})}};(0,s._)([(0,p.Cb)({type:Boolean,json:{write:!0}})],c.prototype,"respectsDaylightSaving",void 0),(0,s._)([(0,y.r)("respectsDaylightSaving",["respectsDaylightSaving","respectDaylightSaving"])],c.prototype,"readRespectsDaylightSaving",null),(0,s._)([(0,p.Cb)({type:String,json:{read:{source:"timeZone"},write:{target:"timeZone"}}})],c.prototype,"timezone",void 0),c=i=(0,s._)([(0,d.j)("esri.layers.support.TimeReference")],c);const h=c;var v,g=r(78981);let f=v=class extends n.wq{constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeReference=null,this.trackIdField=null,this.useTime=!0}readFullTimeExtent(e,t){if(!t.timeExtent||!Array.isArray(t.timeExtent)||2!==t.timeExtent.length)return null;const r=new Date(t.timeExtent[0]),i=new Date(t.timeExtent[1]);return new a.Z({start:r,end:i})}writeFullTimeExtent(e,t){e&&(0,u.pC)(e.start)&&(0,u.pC)(e.end)?t.timeExtent=[e.start.getTime(),e.end.getTime()]:t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?new l.Z({value:t.timeInterval,unit:g.v.fromJSON(t.timeIntervalUnits)}):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?new l.Z({value:t.defaultTimeInterval,unit:g.v.fromJSON(t.defaultTimeIntervalUnits)}):null}writeInterval(e,t){if(e){const r=e.toJSON();t.timeInterval=r.value,t.timeIntervalUnits=r.unit}else t.timeInterval=null,t.timeIntervalUnits=null}clone(){const{cumulative:e,endField:t,hasLiveData:r,interval:i,startField:s,timeReference:a,fullTimeExtent:l,trackIdField:n,useTime:u}=this;return new v({cumulative:e,endField:t,hasLiveData:r,interval:i,startField:s,timeReference:(0,o.d9)(a),fullTimeExtent:(0,o.d9)(l),trackIdField:n,useTime:u})}};(0,s._)([(0,p.Cb)({type:Boolean,json:{read:{source:"exportOptions.timeDataCumulative"},write:{target:"exportOptions.timeDataCumulative"}}})],f.prototype,"cumulative",void 0),(0,s._)([(0,p.Cb)({type:String,json:{read:{source:"endTimeField"},write:{target:"endTimeField",allowNull:!0}}})],f.prototype,"endField",void 0),(0,s._)([(0,p.Cb)({type:a.Z,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"fullTimeExtent",void 0),(0,s._)([(0,y.r)("fullTimeExtent",["timeExtent"])],f.prototype,"readFullTimeExtent",null),(0,s._)([(0,m.c)("fullTimeExtent")],f.prototype,"writeFullTimeExtent",null),(0,s._)([(0,p.Cb)({type:Boolean,json:{write:!0}})],f.prototype,"hasLiveData",void 0),(0,s._)([(0,p.Cb)({type:l.Z,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"interval",void 0),(0,s._)([(0,y.r)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],f.prototype,"readInterval",null),(0,s._)([(0,m.c)("interval")],f.prototype,"writeInterval",null),(0,s._)([(0,p.Cb)({type:String,json:{read:{source:"startTimeField"},write:{target:"startTimeField",allowNull:!0}}})],f.prototype,"startField",void 0),(0,s._)([(0,p.Cb)({type:h,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"timeReference",void 0),(0,s._)([(0,p.Cb)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"trackIdField",void 0),(0,s._)([(0,p.Cb)({type:Boolean,json:{read:{source:"exportOptions.useTime"},write:{target:"exportOptions.useTime"}}})],f.prototype,"useTime",void 0),f=v=(0,s._)([(0,d.j)("esri.layers.support.TimeInfo")],f);const b=f},78981:(e,t,r)=>{r.d(t,{v:()=>i});const i=(0,r(35454).wY)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:void 0})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6740,36],{1692:(e,t,i)=>{i.d(t,{Z:()=>w});var r=i(43697),s=i(66577),n=i(51773),l=i(78223),o=i(15923),a=(i(80442),i(22974)),u=i(92604),c=i(70586),p=i(31263),d=i(1153),f=i(52011);u.Z.getLogger("esri.core.Clonable");const y=e=>{let t=class extends e{clone(){const e=(0,c.s3)((0,d.vw)(this),"unable to clone instance of non-accessor class"),t=e.metadatas,i=e.store,r={},s=new Map;for(const e in t){const n=t[e],l=null==i?void 0:i.originOf(e);if(n.readOnly||!1===n.clonable||l!==p.s3.USER&&l!==p.s3.DEFAULTS)continue;const o=this[e];let u=null;const c=n.clonable;u="function"==typeof c?c(o):"reference"===c?o:(0,a.Vo)(o),null!=o&&null==u||(l===p.s3.DEFAULTS?s.set(e,u):r[e]=u)}const n=new(0,Object.getPrototypeOf(this).constructor)(r);if(s.size){var l;const e=null==(l=(0,d.vw)(n))?void 0:l.store;if(e)for(const[t,i]of s)e.set(t,i,p.s3.DEFAULTS)}return n}};return t=(0,r._)([(0,f.j)("esri.core.Clonable")],t),t};let m=class extends(y(o.Z)){};m=(0,r._)([(0,f.j)("esri.core.Clonable")],m);var h=i(96674),b=i(99001),g=i(5600),v=(i(67676),i(75215),i(33955));let x=class extends(y(h.wq)){constructor(...e){super(...e),this.isAggregate=!1,this.layer=null,this.popupTemplate=null,this.sourceLayer=null,Object.defineProperty(this,"uid",{value:(0,b.D)(),configurable:!0})}normalizeCtorArgs(e,t,i,r){return e&&!e.declaredClass?e:{geometry:e,symbol:t,attributes:i,popupTemplate:r}}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),this._notifyLayer("geometry",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;for(const t of[this.sourceLayer,this.layer])if(t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&(0,c.pC)(t.defaultPopupTemplate))return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes&&this.attributes[e]}setAttribute(e,t){if(this.attributes){const i=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",i,t,e)}else this.attributes={[e]:t},this._notifyLayer("attributes",void 0,t,e)}getObjectId(){return this.sourceLayer&&"objectIdField"in this.sourceLayer&&this.sourceLayer.objectIdField?this.getAttribute(this.sourceLayer.objectIdField):null}toJSON(){return{geometry:(0,c.pC)(this.geometry)?this.geometry.toJSON():null,symbol:(0,c.pC)(this.symbol)?this.symbol.toJSON():null,attributes:{...this.attributes},popupTemplate:this.popupTemplate&&this.popupTemplate.toJSON()}}notifyGeometryChanged(){this._notifyLayer("geometry",this.geometry,this.geometry)}_notifyLayer(e,t,i,r){if(!this.layer||!("graphicChanged"in this.layer))return;const s={graphic:this,property:e,oldValue:t,newValue:i};"attributes"===e&&(s.attributeName=r),this.layer.graphicChanged(s)}};(0,r._)([(0,g.Cb)({value:null})],x.prototype,"attributes",null),(0,r._)([(0,g.Cb)({value:null,types:s.qM,json:{read:v.im}})],x.prototype,"geometry",null),(0,r._)([(0,g.Cb)({type:Boolean})],x.prototype,"isAggregate",void 0),(0,r._)([(0,g.Cb)({clonable:"reference"})],x.prototype,"layer",void 0),(0,r._)([(0,g.Cb)({type:n.Z})],x.prototype,"popupTemplate",void 0),(0,r._)([(0,g.Cb)({clonable:"reference"})],x.prototype,"sourceLayer",void 0),(0,r._)([(0,g.Cb)({value:null,types:l.LB})],x.prototype,"symbol",null),(0,r._)([(0,g.Cb)({type:Boolean,value:!0})],x.prototype,"visible",null),x=(0,r._)([(0,f.j)("esri.Graphic")],x),(x||(x={})).generateUID=b.D;const w=x},44543:(e,t,i)=>{i.d(t,{F:()=>p,M:()=>r});const r={Base64:0,Hex:1,String:2,Raw:3};function s(e,t){const i=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(i>>16)<<16|65535&i}function n(e,t,i,r,n,l){return s(function(e,t){return e<<t|e>>>32-t}(s(s(t,e),s(r,l)),n),i)}function l(e,t,i,r,s,l,o){return n(t&i|~t&r,e,t,s,l,o)}function o(e,t,i,r,s,l,o){return n(t&r|i&~r,e,t,s,l,o)}function a(e,t,i,r,s,l,o){return n(t^i^r,e,t,s,l,o)}function u(e,t,i,r,s,l,o){return n(i^(t|~r),e,t,s,l,o)}function c(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;let i=1732584193,r=-271733879,n=-1732584194,c=271733878;for(let t=0;t<e.length;t+=16){const p=i,d=r,f=n,y=c;i=l(i,r,n,c,e[t+0],7,-680876936),c=l(c,i,r,n,e[t+1],12,-389564586),n=l(n,c,i,r,e[t+2],17,606105819),r=l(r,n,c,i,e[t+3],22,-1044525330),i=l(i,r,n,c,e[t+4],7,-176418897),c=l(c,i,r,n,e[t+5],12,1200080426),n=l(n,c,i,r,e[t+6],17,-1473231341),r=l(r,n,c,i,e[t+7],22,-45705983),i=l(i,r,n,c,e[t+8],7,1770035416),c=l(c,i,r,n,e[t+9],12,-1958414417),n=l(n,c,i,r,e[t+10],17,-42063),r=l(r,n,c,i,e[t+11],22,-1990404162),i=l(i,r,n,c,e[t+12],7,1804603682),c=l(c,i,r,n,e[t+13],12,-40341101),n=l(n,c,i,r,e[t+14],17,-1502002290),r=l(r,n,c,i,e[t+15],22,1236535329),i=o(i,r,n,c,e[t+1],5,-165796510),c=o(c,i,r,n,e[t+6],9,-1069501632),n=o(n,c,i,r,e[t+11],14,643717713),r=o(r,n,c,i,e[t+0],20,-373897302),i=o(i,r,n,c,e[t+5],5,-701558691),c=o(c,i,r,n,e[t+10],9,38016083),n=o(n,c,i,r,e[t+15],14,-660478335),r=o(r,n,c,i,e[t+4],20,-405537848),i=o(i,r,n,c,e[t+9],5,568446438),c=o(c,i,r,n,e[t+14],9,-1019803690),n=o(n,c,i,r,e[t+3],14,-187363961),r=o(r,n,c,i,e[t+8],20,1163531501),i=o(i,r,n,c,e[t+13],5,-1444681467),c=o(c,i,r,n,e[t+2],9,-51403784),n=o(n,c,i,r,e[t+7],14,1735328473),r=o(r,n,c,i,e[t+12],20,-1926607734),i=a(i,r,n,c,e[t+5],4,-378558),c=a(c,i,r,n,e[t+8],11,-2022574463),n=a(n,c,i,r,e[t+11],16,1839030562),r=a(r,n,c,i,e[t+14],23,-35309556),i=a(i,r,n,c,e[t+1],4,-1530992060),c=a(c,i,r,n,e[t+4],11,1272893353),n=a(n,c,i,r,e[t+7],16,-155497632),r=a(r,n,c,i,e[t+10],23,-1094730640),i=a(i,r,n,c,e[t+13],4,681279174),c=a(c,i,r,n,e[t+0],11,-358537222),n=a(n,c,i,r,e[t+3],16,-722521979),r=a(r,n,c,i,e[t+6],23,76029189),i=a(i,r,n,c,e[t+9],4,-640364487),c=a(c,i,r,n,e[t+12],11,-421815835),n=a(n,c,i,r,e[t+15],16,530742520),r=a(r,n,c,i,e[t+2],23,-995338651),i=u(i,r,n,c,e[t+0],6,-198630844),c=u(c,i,r,n,e[t+7],10,1126891415),n=u(n,c,i,r,e[t+14],15,-1416354905),r=u(r,n,c,i,e[t+5],21,-57434055),i=u(i,r,n,c,e[t+12],6,1700485571),c=u(c,i,r,n,e[t+3],10,-1894986606),n=u(n,c,i,r,e[t+10],15,-1051523),r=u(r,n,c,i,e[t+1],21,-2054922799),i=u(i,r,n,c,e[t+8],6,1873313359),c=u(c,i,r,n,e[t+15],10,-30611744),n=u(n,c,i,r,e[t+6],15,-1560198380),r=u(r,n,c,i,e[t+13],21,1309151649),i=u(i,r,n,c,e[t+4],6,-145523070),c=u(c,i,r,n,e[t+11],10,-1120210379),n=u(n,c,i,r,e[t+2],15,718787259),r=u(r,n,c,i,e[t+9],21,-343485551),i=s(i,p),r=s(r,d),n=s(n,f),c=s(c,y)}return[i,r,n,c]}function p(e,t=r.Hex){const i=t||r.Base64,s=c(function(e){const t=[];for(let i=0,r=8*e.length;i<r;i+=8)t[i>>5]|=(255&e.charCodeAt(i/8))<<i%32;return t}(e),8*e.length);switch(i){case r.Raw:return s;case r.Hex:return function(e){const t="0123456789abcdef",i=[];for(let r=0,s=4*e.length;r<s;r++)i.push(t.charAt(e[r>>2]>>r%4*8+4&15)+t.charAt(e[r>>2]>>r%4*8&15));return i.join("")}(s);case r.String:return function(e){const t=[];for(let i=0,r=32*e.length;i<r;i+=8)t.push(String.fromCharCode(e[i>>5]>>>i%32&255));return t.join("")}(s);case r.Base64:return function(e){const t=[];for(let i=0,r=4*e.length;i<r;i+=3){const r=(e[i>>2]>>i%4*8&255)<<16|(e[i+1>>2]>>(i+1)%4*8&255)<<8|e[i+2>>2]>>(i+2)%4*8&255;for(let s=0;s<4;s++)8*i+6*s>32*e.length?t.push("="):t.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>6*(3-s)&63))}return t.join("")}(s)}}},74085:(e,t,i)=>{function r(e){}i.d(t,{Bg:()=>r}),i(80442)},12501:(e,t,i)=>{i.r(t),i.d(t,{default:()=>E});var r,s=i(43697),n=i(22303),l=i(3172),o=i(20102),a=i(22974),u=i(92604),c=i(13867),p=i(70586),d=i(95330),f=i(19153),y=i(5600),m=(i(75215),i(52011)),h=i(30556),b=i(35671),g=i(5499),v=i(12571),x=i(59266),w=i(17386);const S=u.Z.getLogger("esri.renderers.DictionaryRenderer"),V={type:"CIMSimpleLineCallout",lineSymbol:{type:"CIMLineSymbol",symbolLayers:[{type:"CIMSolidStroke",width:.5,color:[0,0,0,255]}]}};let C=r=class extends((0,v.W)(g.Z)){constructor(e){super(e),this._ongoingRequests=new Map,this._symbolCache=new c.Z(100),this.config=null,this.fieldMap=null,this.scaleExpression=null,this.scaleExpressionTitle=null,this.url=null,this.type="dictionary"}writeData(e,t){e&&(t.scalingExpressionInfo={expression:e,returnType:"number"})}writeVisualVariables(e,t,i,r){null!=r&&r.origin||super.writeVisualVariables(e,t,i,r)}clone(){return new r({config:(0,a.d9)(this.config),scaleExpression:this.scaleExpression,scaleExpressionTitle:this.scaleExpressionTitle,fieldMap:(0,a.d9)(this.fieldMap),url:(0,a.d9)(this.url),visualVariables:(0,a.d9)(this.visualVariables)})}async getSymbolAsync(e,t){let i;this._dictionaryPromise||(this._dictionaryPromise=this.fetchResources(t));try{i=await this._dictionaryPromise}catch(e){if((0,d.D_)(e))return this._dictionaryPromise=null,null}const r={};if(this.fieldMap)for(const t of this._symbolFields){const i=this.fieldMap[t];if(i&&null!==e.attributes[i]&&void 0!==e.attributes[i]){const s=""+e.attributes[i];r[t]=s}else r[t]=""}const s=i(r,t);if(!s||"string"!=typeof s)return null;const l=(0,f.hP)(s).toString(),o=this._symbolCache.get(l);if(o)return o.catch((()=>{this._symbolCache.pop(l)})),o;const a=s.split(";"),u=[],c=[];for(const e of a)if(e&&0!==e.length)if(-1===e.indexOf("po:"))if(-1!==e.indexOf("|")){for(const t of e.split("|"))if(this._itemNames.has(t)){u.push(t);break}}else this._itemNames.has(e)&&u.push(e);else{const t=e.substr(3).split("|");if(3===t.length){const e=t[0],i=t[1];let r=t[2];if("DashTemplate"===i)r=r.split(" ").map((e=>Number(e)));else if("Color"===i){const e=new n.Z(r).toRgba();r=[e[0],e[1],e[2],255*e[3]]}else r=Number(r);c.push({primitiveName:e,propertyName:i,value:r})}}const y=!(0,p.pC)(e.geometry)||!e.geometry.hasZ&&"point"===e.geometry.type,m=this._cimPartsToCIMSymbol(u,c,y,t);return this._symbolCache.put(l,m,1),m}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t),this.scaleExpression&&await(0,b.io)(e,t,this.scaleExpression);for(const i in this.fieldMap){const r=this.fieldMap[i];t.has(r)&&e.add(r)}}get arcadeRequired(){return!0}async fetchResources(e){if(this._dictionaryPromise)return this._dictionaryPromise;if(!this.url)return void S.error("no valid URL!");const t=(0,p.pC)(e)?e.abortOptions:null,i=(0,l.default)(this.url+"/resources/styles/dictionary-info.json",{responseType:"json",query:{f:"json"},...t}),[{data:r}]=await Promise.all([i,(0,x.LC)()]);if(!r)throw this._dictionaryPromise=null,new o.Z("esri.renderers.DictionaryRenderer","Bad dictionary data!");const s=r.expression,n=r.authoringInfo;this._refSymbolUrlTemplate=this.url+"/"+r.cimRefTemplateUrl,this._itemNames=new Set(r.itemsNames),this._symbolFields=n.symbol;const a={};if(this.config){const e=this.config;for(const t in e)a[t]=e[t]}if(n.configuration)for(const e of n.configuration)a.hasOwnProperty(e.name)||(a[e.name]=e.value);const u=[];if((0,p.pC)(e)&&e.fields&&this.fieldMap)for(const t of this._symbolFields){const i=this.fieldMap[t],r=e.fields.filter((e=>e.name===i));r.length>0&&u.push({...r[0],name:t})}return this._dictionaryPromise=(0,x.pp)(s,(0,p.pC)(e)?e.spatialReference:null,u,a).then((e=>{const t={scale:0};return(i,r)=>{const s=e.repurposeFeature({geometry:null,attributes:i});return t.scale=(0,p.pC)(r)?r.scale:void 0,e.evaluate({$feature:s,$view:t})}})).catch((e=>(S.error("Creating dictinoary expression failed:",e),null))),this._dictionaryPromise}getSymbol(){return null}getSymbols(){return[]}getAttributeHash(){return this.visualVariables&&this.visualVariables.reduce(((e,t)=>e+t.getAttributeHash()),"")}getMeshHash(){return`${this.url}-${JSON.stringify(this.fieldMap)}`}getSymbolFields(){return this._symbolFields}async _getSymbolPart(e,t){if(this._ongoingRequests.has(e))return this._ongoingRequests.get(e).then((e=>e.data));const i=this._refSymbolUrlTemplate.replace(/\{itemName\}/gi,e),r=(0,l.default)(i,{responseType:"json",query:{f:"json"},...t});this._ongoingRequests.set(e,r);try{return(await r).data}catch(t){return this._ongoingRequests.delete(e),Promise.reject(t)}}_combineSymbolParts(e,t,i){if(!e||0===e.length)return null;const r={...e[0]};if(e.length>1){r.symbolLayers=[];for(const t of e){const e=t;r.symbolLayers.unshift(...e.symbolLayers)}}return i&&(r.callout=V),{type:"CIMSymbolReference",symbol:r,primitiveOverrides:t}}async _cimPartsToCIMSymbol(e,t,i,r){const s=new Array(e.length);for(let t=0;t<e.length;t++)s[t]=this._getSymbolPart(e[t],r);const n=await Promise.all(s);return new w.Z({data:this._combineSymbolParts(n,t,i)})}};(0,s._)([(0,y.Cb)({type:Object,json:{read:{source:"configuration"},write:{target:"configuration"}}})],C.prototype,"config",void 0),(0,s._)([(0,y.Cb)({type:Object,json:{write:!0}})],C.prototype,"fieldMap",void 0),(0,s._)([(0,y.Cb)({type:String,json:{read:{source:"scalingExpressionInfo.expression"},write:!0}})],C.prototype,"scaleExpression",void 0),(0,s._)([(0,h.c)("scaleExpression")],C.prototype,"writeData",null),(0,s._)([(0,y.Cb)({type:String,json:{read:{source:"scalingExpressionInfo.title"},write:{target:"scalingExpressionInfo.title",overridePolicy(e){return{enabled:!!e&&!!this.scaleExpression}}}}})],C.prototype,"scaleExpressionTitle",void 0),(0,s._)([(0,y.Cb)({type:String,json:{write:!0}})],C.prototype,"url",void 0),(0,s._)([(0,h.c)("visualVariables")],C.prototype,"writeVisualVariables",null),C=r=(0,s._)([(0,m.j)("esri.renderers.DictionaryRenderer")],C);const E=C},95088:(e,t,i)=>{i.d(t,{Z:()=>z});var r,s=i(43697),n=i(22303),l=i(22974),o=i(44422),a=i(75215),u=i(36030),c=i(5600),p=i(52011),d=i(35671),f=i(5499),y=i(12571),m=i(96674),h=i(92604),b=(i(67676),i(80442),i(90578));const g=h.Z.getLogger("esri.renderers.support.AttributeColorInfo");let v=r=class extends m.wq{constructor(e){super(e),this.color=null,this.field=null,this.label=null,this.valueExpression=null,this.valueExpressionTitle=null}castField(e){return null==e?e:"function"==typeof e?(g.error(".field: field must be a string value"),null):(0,a.Zs)(e)}getAttributeHash(){return`${this.field}-${this.valueExpression}`}clone(){return new r({color:this.color&&this.color.clone(),field:this.field,label:this.label,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle})}};(0,s._)([(0,c.Cb)({type:n.Z,json:{type:[Number],write:!0}})],v.prototype,"color",void 0),(0,s._)([(0,c.Cb)({type:String,json:{write:!0}})],v.prototype,"field",void 0),(0,s._)([(0,b.p)("field")],v.prototype,"castField",null),(0,s._)([(0,c.Cb)({type:String,json:{write:!0}})],v.prototype,"label",void 0),(0,s._)([(0,c.Cb)({type:String,json:{write:!0}})],v.prototype,"valueExpression",void 0),(0,s._)([(0,c.Cb)({type:String,json:{write:!0}})],v.prototype,"valueExpressionTitle",void 0),v=r=(0,s._)([(0,p.j)("esri.renderers.support.AttributeColorInfo")],v);const x=v;var w;let S=w=class extends m.wq{constructor(){super(...arguments),this.unit=null}clone(){return new w({unit:this.unit})}};(0,s._)([(0,c.Cb)({type:String,json:{write:!0}})],S.prototype,"unit",void 0),S=w=(0,s._)([(0,p.j)("esri.renderers.support.DotDensityLegendOptions")],S);const V=S;var C,E=i(20256),_=i(4095);let F=C=class extends((0,y.W)(f.Z)){constructor(e){super(e),this.attributes=null,this.backgroundColor=new n.Z([0,0,0,0]),this.blendDots=!0,this.dotBlendingEnabled=!0,this.dotShape="square",this.dotSize=1,this.legendOptions=null,this.outline=new _.Z,this.dotValue=null,this.referenceDotValue=null,this.referenceScale=null,this.seed=1,this.type="dot-density"}calculateDotValue(e){if(null==this.referenceScale)return this.dotValue;const t=e/this.referenceScale*this.dotValue;return t<1?1:t}getSymbol(){return new E.Z({outline:this.outline})}async getSymbolAsync(){return this.getSymbol()}getSymbols(){return[this.getSymbol()]}getAttributeHash(){return this.attributes&&this.attributes.reduce(((e,t)=>e+t.getAttributeHash()),"")}getMeshHash(){return JSON.stringify(this.outline)}clone(){return new C({attributes:(0,l.d9)(this.attributes),backgroundColor:(0,l.d9)(this.backgroundColor),dotBlendingEnabled:(0,l.d9)(this.dotBlendingEnabled),dotShape:(0,l.d9)(this.dotShape),dotSize:(0,l.d9)(this.dotSize),dotValue:(0,l.d9)(this.dotValue),legendOptions:(0,l.d9)(this.legendOptions),outline:(0,l.d9)(this.outline),referenceScale:(0,l.d9)(this.referenceScale),visualVariables:(0,l.d9)(this.visualVariables),authoringInfo:this.authoringInfo&&this.authoringInfo.clone()})}getControllerHash(){return`${this.attributes.map((e=>e.field||e.valueExpression||""))}-${this.outline&&JSON.stringify(this.outline.toJSON())||""}`}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t);for(const i of this.attributes)i.valueExpression&&await(0,d.io)(e,t,i.valueExpression),i.field&&e.add(i.field)}};(0,s._)([(0,c.Cb)({type:[x],json:{write:!0}})],F.prototype,"attributes",void 0),(0,s._)([(0,c.Cb)({type:n.Z,json:{write:!0}})],F.prototype,"backgroundColor",void 0),(0,s._)([(0,c.Cb)({type:Boolean}),(0,o.B)("dotBlendingEnabled")],F.prototype,"blendDots",void 0),(0,s._)([(0,c.Cb)({type:Boolean,json:{write:!0}})],F.prototype,"dotBlendingEnabled",void 0),(0,s._)([(0,c.Cb)({type:String,json:{write:!1}})],F.prototype,"dotShape",void 0),(0,s._)([(0,c.Cb)({type:Number,json:{write:!1}})],F.prototype,"dotSize",void 0),(0,s._)([(0,c.Cb)({type:V,json:{write:!0}})],F.prototype,"legendOptions",void 0),(0,s._)([(0,c.Cb)({type:_.Z,json:{default:null,write:!0}})],F.prototype,"outline",void 0),(0,s._)([(0,c.Cb)({type:Number,json:{write:!0}})],F.prototype,"dotValue",void 0),(0,s._)([(0,c.Cb)({type:Number}),(0,o.B)("dotValue")],F.prototype,"referenceDotValue",void 0),(0,s._)([(0,c.Cb)({type:Number,json:{write:!0}})],F.prototype,"referenceScale",void 0),(0,s._)([(0,c.Cb)({type:Number,json:{write:!0}})],F.prototype,"seed",void 0),(0,s._)([(0,u.J)({dotDensity:"dot-density"})],F.prototype,"type",void 0),F=C=(0,s._)([(0,p.j)("esri.renderers.DotDensityRenderer")],F);const z=F},79056:(e,t,i)=>{i.d(t,{Z:()=>b});var r,s=i(43697),n=i(22303),l=i(22974),o=i(5600),a=(i(75215),i(36030)),u=i(52011),c=i(35671),p=i(5499),d=i(96674);i(67676),i(80442);let f=r=class extends d.wq{constructor(e){super(e),this.color=null,this.ratio=null}clone(){return new r({color:this.color,ratio:this.ratio})}};(0,s._)([(0,o.Cb)({type:n.Z,json:{write:!0}})],f.prototype,"color",void 0),(0,s._)([(0,o.Cb)({type:Number,json:{write:!0}})],f.prototype,"ratio",void 0),f=r=(0,s._)([(0,u.j)("esri.renderers.support.HeatmapColorStop")],f);const y=f;var m;let h=m=class extends p.Z{constructor(e){super(e),this.blurRadius=10,this.colorStops=[new y({ratio:0,color:new n.Z("rgba(255, 140, 0, 0)")}),new y({ratio:.75,color:new n.Z("rgba(255, 140, 0, 1)")}),new y({ratio:.9,color:new n.Z("rgba(255, 0, 0, 1)")})],this.field=null,this.fieldOffset=0,this.maxPixelIntensity=100,this.minPixelIntensity=0,this.type="heatmap"}async collectRequiredFields(e,t){const i=this.field;i&&"string"==typeof i&&(0,c.AB)(e,t,i)}getAttributeHash(){return null}getMeshHash(){return`${JSON.stringify(this.colorStops)}.${this.blurRadius}.${this.field}`}clone(){return new m({blurRadius:this.blurRadius,colorStops:(0,l.d9)(this.colorStops),field:this.field,maxPixelIntensity:this.maxPixelIntensity,minPixelIntensity:this.minPixelIntensity})}};(0,s._)([(0,o.Cb)({type:Number,json:{write:!0}})],h.prototype,"blurRadius",void 0),(0,s._)([(0,o.Cb)({type:[y],json:{write:!0}})],h.prototype,"colorStops",void 0),(0,s._)([(0,o.Cb)({type:String,json:{write:!0}})],h.prototype,"field",void 0),(0,s._)([(0,o.Cb)({type:Number,json:{write:{overridePolicy:(e,t,i)=>({enabled:null==i})}}})],h.prototype,"fieldOffset",void 0),(0,s._)([(0,o.Cb)({type:Number,json:{write:!0}})],h.prototype,"maxPixelIntensity",void 0),(0,s._)([(0,o.Cb)({type:Number,json:{write:!0}})],h.prototype,"minPixelIntensity",void 0),(0,s._)([(0,a.J)({heatmap:"heatmap"})],h.prototype,"type",void 0),h=m=(0,s._)([(0,u.j)("esri.renderers.HeatmapRenderer")],h);const b=h},84382:(e,t,i)=>{i.d(t,{Z:()=>f});var r,s=i(43697),n=i(22974),l=i(5600),o=(i(75215),i(36030)),a=i(52011),u=i(5499),c=i(12571),p=i(9833);let d=r=class extends((0,c.W)(u.Z)){constructor(e){super(e),this.description=null,this.label=null,this.symbol=null,this.type="simple"}async collectRequiredFields(e,t){await Promise.all([this.collectSymbolFields(e,t),this.collectVVRequiredFields(e,t)])}async collectSymbolFields(e,t){await Promise.all(this.getSymbols().map((i=>i.collectRequiredFields(e,t))))}getSymbol(e,t){return this.symbol}async getSymbolAsync(e,t){return this.symbol}getSymbols(){return this.symbol?[this.symbol]:[]}getAttributeHash(){return this.visualVariables&&this.visualVariables.reduce(((e,t)=>e+t.getAttributeHash()),"")}getMeshHash(){return this.getSymbols().reduce(((e,t)=>e+JSON.stringify(t)),"")}get arcadeRequired(){return this.arcadeRequiredForVisualVariables}clone(){return new r({description:this.description,label:this.label,symbol:this.symbol&&this.symbol.clone(),visualVariables:(0,n.d9)(this.visualVariables),authoringInfo:this.authoringInfo&&this.authoringInfo.clone()})}};(0,s._)([(0,l.Cb)({type:String,json:{write:!0}})],d.prototype,"description",void 0),(0,s._)([(0,l.Cb)({type:String,json:{write:!0}})],d.prototype,"label",void 0),(0,s._)([(0,l.Cb)(p.G)],d.prototype,"symbol",void 0),(0,s._)([(0,o.J)({simple:"simple"})],d.prototype,"type",void 0),d=r=(0,s._)([(0,a.j)("esri.renderers.SimpleRenderer")],d);const f=d},91423:(e,t,i)=>{i.d(t,{a:()=>o});var r=i(20941),s=i(63213),n=i(32400);const l=(0,s.d)({types:n.A});function o(e,t,i){return e?e&&(e.styleName||e.styleUrl)&&"uniqueValue"!==e.type?(i&&i.messages&&i.messages.push(new r.Z("renderer:unsupported","Only UniqueValueRenderer can be referenced from a web style, but found '"+e.type+"'",{definition:e,context:i})),null):l(e,t,i):null}},99282:(e,t,i)=>{i.d(t,{a:()=>n});var r=i(67900),s=i(68441);const n={inches:(0,r.En)(1,"meters","inches"),feet:(0,r.En)(1,"meters","feet"),"us-feet":(0,r.En)(1,"meters","us-feet"),yards:(0,r.En)(1,"meters","yards"),miles:(0,r.En)(1,"meters","miles"),"nautical-miles":(0,r.En)(1,"meters","nautical-miles"),millimeters:(0,r.En)(1,"meters","millimeters"),centimeters:(0,r.En)(1,"meters","centimeters"),decimeters:(0,r.En)(1,"meters","decimeters"),meters:(0,r.En)(1,"meters","meters"),kilometers:(0,r.En)(1,"meters","kilometers"),"decimal-degrees":1/(0,r.ty)(1,"meters",s.sv.radius)}},32400:(e,t,i)=>{i.d(t,{A:()=>c,o:()=>p});var r=i(16050),s=i(12501),n=i(95088),l=i(79056),o=i(5499),a=i(84382),u=i(30687);const c={key:"type",base:o.Z,typeMap:{heatmap:l.Z,simple:a.Z,"unique-value":u.Z,"class-breaks":r.Z,"dot-density":n.Z,dictionary:s.default},errorContext:"renderer"},p={key:"type",base:o.Z,typeMap:{simple:a.Z,"unique-value":u.Z,"class-breaks":r.Z},errorContext:"renderer"}},51706:(e,t,i)=>{var r,s;function n(e){return e&&"esri.renderers.visualVariables.SizeVariable"===e.declaredClass}function l(e){return null!=e&&!isNaN(e)&&isFinite(e)}function o(e){return e.valueExpression?r.Expression:e.field&&"string"==typeof e.field?r.Field:r.Unknown}function a(e,t){const i=t||o(e),n=e.valueUnit||"unknown";return i===r.Unknown?s.Constant:e.stops?s.Stops:null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?s.ClampedLinear:"unknown"===n?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?s.Proportional:s.Additive:s.Identity:s.RealWorldSize}i.d(t,{RY:()=>r,hL:()=>s,PS:()=>o,QW:()=>a,iY:()=>n,qh:()=>l}),function(e){e.Unknown="unknown",e.Expression="expression",e.Field="field"}(r||(r={})),function(e){e.Unknown="unknown",e.Stops="stops",e.ClampedLinear="clamped-linear",e.Proportional="proportional",e.Additive="additive",e.Constant="constant",e.Identity="identity",e.RealWorldSize="real-world-size"}(s||(s={}))},28101:(e,t,i)=>{i.d(t,{PR:()=>S,Lq:()=>y,Km:()=>m,cM:()=>h,ap:()=>b,V3:()=>x,B3:()=>f});var r=i(22303),s=i(1692),n=i(74085),l=i(92604),o=i(70586),a=i(99282),u=i(51706);const c=l.Z.getLogger("esri.renderers.visualVariables.support.visualVariableUtils"),p=new s.Z,d=Math.PI,f=/^\s*(return\s+)?\$view\.scale\s*(;)?\s*$/i;function y(e,t,i){const s="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"color"===e.type))[0]:e;if(!s)return;if("esri.renderers.visualVariables.ColorVariable"!==s.declaredClass)return void c.warn("The visualVariable should be an instance of esri.renderers.visualVariables.ColorVariable");const n="number"==typeof t,l=n?null:t,a=l&&l.attributes;let u=n?t:null;const p=s.field,{ipData:d,hasExpression:f}=s.cache;let y=s.cache.compiledFunc;if(!p&&!f){const e=s.stops;return e&&e[0]&&e[0].color}if("number"!=typeof u)if(f){if(!(0,o.pC)(i)||!(0,o.pC)(i.arcade))return void c.error("Use of arcade expressions requires an arcade context");const e={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},t=i.arcade.arcadeUtils,r=t.getViewInfo(e),n=t.createExecContext(l,r);if(!y){const e=t.createSyntaxTree(s.valueExpression);y=t.createFunction(e),s.cache.compiledFunc=y}u=t.executeFunction(y,n)}else a&&(u=a[p]);const m=s.normalizationField,h=a?parseFloat(a[m]):void 0;if(null!=u&&(!m||n||!isNaN(h)&&0!==h)){isNaN(h)||n||(u/=h);const e=w(u,d);if(e){const t=e[0],n=e[1],l=t===n?s.stops[t].color:r.Z.blendColors(s.stops[t].color,s.stops[n].color,e[2],(0,o.pC)(i)?i.color:void 0);return new r.Z(l)}}}function m(e,t,i){const r="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"opacity"===e.type))[0]:e;if(!r)return;if("esri.renderers.visualVariables.OpacityVariable"!==r.declaredClass)return void c.warn("The visualVariable should be an instance of esri.renderers.visualVariables.OpacityVariable");const s="number"==typeof t,n=s?null:t,l=n&&n.attributes;let a=s?t:null;const u=r.field,{ipData:p,hasExpression:d}=r.cache;let f=r.cache.compiledFunc;if(!u&&!d){const e=r.stops;return e&&e[0]&&e[0].opacity}if("number"!=typeof a)if(d){if((0,o.Wi)(i)||(0,o.Wi)(i.arcade))return void c.error("Use of arcade expressions requires an arcade context");const e={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},t=i.arcade.arcadeUtils,s=t.getViewInfo(e),l=t.createExecContext(n,s);if(!f){const e=t.createSyntaxTree(r.valueExpression);f=t.createFunction(e),r.cache.compiledFunc=f}a=t.executeFunction(f,l)}else l&&(a=l[u]);const y=r.normalizationField,m=l?parseFloat(l[y]):void 0;if(null!=a&&(!y||s||!isNaN(m)&&0!==m)){isNaN(m)||s||(a/=m);const e=w(a,p);if(e){const t=e[0],i=e[1];if(t===i)return r.stops[t].opacity;{const s=r.stops[t].opacity;return s+(r.stops[i].opacity-s)*e[2]}}}}function h(e,t,i){const r="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"rotation"===e.type))[0]:e;if(!r)return;if("esri.renderers.visualVariables.RotationVariable"!==r.declaredClass)return void c.warn("The visualVariable should be an instance of esri.renderers.visualVariables.RotationVariable");const s=r.axis||"heading",n="heading"===s&&"arithmetic"===r.rotationType?90:0,l="heading"===s&&"arithmetic"===r.rotationType?-1:1,a="number"==typeof t?null:t,u=a&&a.attributes,p=r.field,{hasExpression:d}=r.cache;let f=r.cache.compiledFunc,y=0;if(!p&&!d)return y;if(d){if((0,o.Wi)(i)||(0,o.Wi)(i.arcade))return void c.error("Use of arcade expressions requires an arcade context");const e={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},t=i.arcade.arcadeUtils,s=t.getViewInfo(e),n=t.createExecContext(a,s);if(!f){const e=t.createSyntaxTree(r.valueExpression);f=t.createFunction(e),r.cache.compiledFunc=f}y=t.executeFunction(f,n)}else u&&(y=u[p]||0);return y="number"!=typeof y||isNaN(y)?null:n+l*y,y}function b(e,t,i){const r="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"size"===e.type))[0]:e;if(!r)return;if("esri.renderers.visualVariables.SizeVariable"!==r.declaredClass)return void c.warn("The visualVariable should be an instance of esri.renderers.visualVariables.SizeVariable");const s=function(e,t,i,r,s){switch(t.transformationType){case u.hL.Additive:return function(e,t,i,r){return e+(g(t.minSize,i,r)||t.minDataValue)}(e,t,i,r);case u.hL.Constant:return function(e,t,i){const r=e.stops;let s=r&&r.length&&r[0].size;return null==s&&(s=e.minSize),g(s,t,i)}(t,i,r);case u.hL.ClampedLinear:return function(e,t,i,r){const s=(e-t.minDataValue)/(t.maxDataValue-t.minDataValue),n=g(t.minSize,i,r),l=g(t.maxSize,i,r),a=(0,o.pC)(r)?r.shape:void 0;if(e<=t.minDataValue)return n;if(e>=t.maxDataValue)return l;if("area"===t.scaleBy&&a){const e="circle"===a,t=e?d*(n/2)**2:n*n,i=t+s*((e?d*(l/2)**2:l*l)-t);return e?2*Math.sqrt(i/d):Math.sqrt(i)}return n+s*(l-n)}(e,t,i,r);case u.hL.Proportional:return function(e,t,i,r){const s=(0,o.pC)(r)?r.shape:void 0,n=e/t.minDataValue,l=g(t.minSize,i,r),a=g(t.maxSize,i,r);let u=null;return u="circle"===s?2*Math.sqrt(n*(l/2)**2):"square"===s||"diamond"===s||"image"===s?Math.sqrt(n*l**2):n*l,v(u,l,a)}(e,t,i,r);case u.hL.Stops:return function(e,t,i,r,s){const[n,l,o]=w(e,s);if(n===l)return g(t.stops[n].size,i,r);{const e=g(t.stops[n].size,i,r);return e+(g(t.stops[l].size,i,r)-e)*o}}(e,t,i,r,s);case u.hL.RealWorldSize:return function(e,t,i,r){const s=((0,o.pC)(r)&&r.resolution?r.resolution:1)*a.a[t.valueUnit],n=g(t.minSize,i,r),l=g(t.maxSize,i,r),{valueRepresentation:u}=t;let c=null;return c="area"===u?2*Math.sqrt(e/d)/s:"radius"===u||"distance"===u?2*e/s:e/s,v(c,n,l)}(e,t,i,r);case u.hL.Identity:return e;case u.hL.Unknown:return null}}(function(e,t,i){const r="number"==typeof t,s=r?null:t,n=s&&s.attributes;let l=r?t:null;const{isScaleDriven:a}=e.cache;let p=e.cache.compiledFunc;if(a){const t=(0,o.pC)(i)?i.scale:void 0,r=(0,o.pC)(i)?i.view:void 0;l=null==t||"3d"===r?function(e){let t=null,i=null;const r=e.stops;return r?(t=r[0].value,i=r[r.length-1].value):(t=e.minDataValue||0,i=e.maxDataValue||0),(t+i)/2}(e):t}else if(!r)switch(e.inputValueType){case u.RY.Expression:{if((0,o.Wi)(i)||(0,o.Wi)(i.arcade))return void c.error("Use of arcade expressions requires an arcade context");const t={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},r=i.arcade.arcadeUtils,n=r.getViewInfo(t),a=r.createExecContext(s,n);if(!p){const t=r.createSyntaxTree(e.valueExpression);p=r.createFunction(t),e.cache.compiledFunc=p}l=r.executeFunction(p,a);break}case u.RY.Field:n&&(l=n[e.field]);break;case u.RY.Unknown:l=null}if(!(0,u.qh)(l))return null;if(r||!e.normalizationField)return l;const d=n?parseFloat(n[e.normalizationField]):null;return(0,u.qh)(d)&&0!==d?l/d:null}(r,t,i),r,t,i,r.cache.ipData);return null==s||isNaN(s)?0:s}function g(e,t,i){return null==e?null:(0,u.iY)(e)?b(e,t,i):(0,u.qh)(e)?e:null}function v(e,t,i){return(0,u.qh)(i)&&e>i?i:(0,u.qh)(t)&&e<t?t:e}function x(e,t,i){const{isScaleDriven:r}=e.cache;if(!(r&&"3d"===i||t))return null;const s={scale:t,view:i};let n=g(e.minSize,p,s),l=g(e.maxSize,p,s);if(null!=n||null!=l){if(n>l){const e=l;l=n,n=e}return{minSize:n,maxSize:l}}}function w(e,t){if(!t)return;let i=0,r=t.length-1;return t.some(((t,s)=>e<t?(r=s,!0):(i=s,!1))),[i,r,(e-t[i])/(t[r]-t[i])]}function S(e,t,i){const r=["proportional","proportional","proportional"];for(const s of e){const e=s.useSymbolValue?"symbol-value":b(s,t,i);switch(s.axis){case"width":r[0]=e;break;case"depth":r[1]=e;break;case"height":r[2]=e;break;case"width-and-depth":r[0]=e,r[1]=e;break;case"all":case void 0:case null:r[0]=e,r[1]=e,r[2]=e;break;default:(0,n.Bg)(s.axis)}}return r}},72961:(e,t,i)=>{i.r(t),i.d(t,{addAggregateFields:()=>ee,createMatcherSchema:()=>ie,createSchema:()=>$,createSymbolSchema:()=>U,createSymbolSchemaOptions:()=>A}),i(16050),i(12501),i(95088),i(79056),i(5499);var r=i(84382),s=(i(30687),i(91423),i(20102)),n=i(80442),l=i(22974),o=i(92604),a=i(70586),u=i(62357),c=i(21878),p=i(66039),d=i(29996),f=i(63523),y=i(40660);i(24562);var m=i(34240),h=i(16534);function b(e,t){return Math.max(e,t)}i(83798),i(17332),i(24470),i(73913),i(30729),i(58195),i(28823),h.eF.metrics,new m.Z(0,0,24,24);const g=o.Z.getLogger("esri.renderers.visualVariables.support.utils");function v(e){return e.map((e=>function(e){return("size"===e.type||"color"===e.type||"opacity"===e.type)&&null!=e.stops}(e)?function(e){return e.stops=function(e,t){return t.length<=8?t:(g.warn(`Found ${t.length} Visual Variable stops, but MapView only supports 8. Displayed stops will be simplified.`),t.length>16?function(e,t){const[i,...r]=t,s=r.pop(),n=r[0].value,l=r[r.length-1].value,o=(l-n)/6,a=[];for(let i=n;i<l;i+=o){let s=0;for(;i>=r[s].value;)s++;const n=r[s],l=t[s-1],o=i-l.value,c=n.value===l.value?1:o/(n.value-l.value);if("color"===e){const e=r[s],n=t[s-1],l=e.color.clone();l.r=x(n.color.r,l.r,c),l.g=x(n.color.g,l.g,c),l.b=x(n.color.b,l.b,c),l.a=x(n.color.a,l.a,c),a.push({value:i,color:l,label:e.label})}else if("size"===e){const e=r[s],n=t[s-1],l=(0,u.t_)(e.size),o=x((0,u.t_)(n.size),l,c);a.push({value:i,size:o,label:e.label})}else{const e=r[s],n=x(t[s-1].opacity,e.opacity,c);a.push({value:i,opacity:n,label:e.label})}}return[i,...a,s]}(e,t):function(e){const[t,...i]=e,r=i.pop();for(;i.length>6;){let e=0,t=0;for(let r=1;r<i.length;r++){const s=i[r-1],n=i[r],l=Math.abs(n.value-s.value);l>t&&(t=l,e=r)}i.splice(e,1)}return[t,...i,r]}(t))}(e.type,e.stops),e}(e.clone()):e))}function x(e,t,i){return(1-i)*e+i*t}var w,S=i(44543),V=i(23847),C=i(30856),E=i(43697),_=i(5600),F=(i(75215),i(52011)),z=i(30556),T=i(51706);let R=w=class extends V.Z{writeLevels(e,t,i){for(const i in e){const e=this.levels[i];return void(t.stops=e)}}clone(){return new w({axis:this.axis,field:this.field,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,maxDataValue:this.maxDataValue,maxSize:(0,T.iY)(this.maxSize)?this.maxSize.clone():this.maxSize,minDataValue:this.minDataValue,minSize:(0,T.iY)(this.minSize)?this.minSize.clone():this.minSize,normalizationField:this.normalizationField,stops:this.stops&&this.stops.map((e=>e.clone())),target:this.target,useSymbolValue:this.useSymbolValue,valueRepresentation:this.valueRepresentation,valueUnit:this.valueUnit,legendOptions:this.legendOptions&&this.legendOptions.clone(),levels:(0,l.d9)(this.levels)})}};(0,E._)([(0,_.Cb)()],R.prototype,"levels",void 0),(0,E._)([(0,z.c)("levels")],R.prototype,"writeLevels",null),R=w=(0,E._)([(0,F.j)("esri.views.2d.engine.LevelDependentSizeVariable")],R);const I=o.Z.getLogger("esri.views.2d.layers.support.clusterUtils");n.Z.add("esri-cluster-arcade-enabled",!0);const j=(0,n.Z)("esri-cluster-arcade-enabled");function N(e,t){const{name:i,outStatistic:r}=t,{onStatisticField:n,onStatisticValueExpression:l,statisticType:o}=r;if(l){const t=(0,S.F)(l.toLowerCase());e.push({name:i,outStatistic:{onStatisticField:t,onStatisticValueExpression:l,statisticType:o}})}else n?e.push({name:i,outStatistic:{onStatisticField:n,statisticType:o}}):I.error(new s.Z("mapview-unsupported-field","Unable to handle field",{field:t}))}function L(e,t,i){const r=(0,S.F)(t),s="mode"===i?`cluster_type_${r}`:`cluster_avg_${r}`;return e.some((e=>e.name===s))||e.push({name:s,outStatistic:{onStatisticField:r,onStatisticValueExpression:t,statisticType:i}}),s}function Z(e,t,i,r){if("cluster_count"===t||e.some((e=>e.name===t)))return t;const s=function(e,t,i){switch(e){case"avg":case"avg_angle":return`cluster_avg_${t}`;case"mode":return`cluster_type_${t}`;case"norm":{const e=i,r="field",s=t.toLowerCase()+",norm:"+r+","+e.toLowerCase();return"cluster_avg_"+(0,S.F)(s)}}}(i,t,r);return e.some((e=>e.name===s))||("norm"===i?e.push({name:s,outStatistic:{onStatisticField:t,onStatisticNormalizationField:r,statisticType:i}}):e.push({name:s,outStatistic:{onStatisticField:t,statisticType:i}})),s}const O=new(i(35454).Xn)({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryMultiPatch:"multipatch",mesh:"mesh"}),M=o.Z.getLogger("esri.views.2d.layers.features.schemaUtils"),P="ValidationError",k={esriGeometryPoint:["above-right","above-center","above-left","center-center","center-left","center-right","below-center","below-left","below-right"],esriGeometryPolygon:["always-horizontal"],esriGeometryPolyline:["center-along"],esriGeometryMultipoint:null};function q(e){return(0,f.hF)(e)}function D(e){var t;return"line-marker"===e.type?{type:"line-marker",color:null==(t=e.color)?void 0:t.toJSON(),placement:e.placement,style:e.style}:(0,c.i)(e.toJSON()).toJSON()}function A(e){let t=0,i=0,r=!1,s=!0,n=!0;if((0,a.pC)(e)&&(i=function(e){if(!("visualVariables"in e))return 0;if(!e.hasVisualVariables("size"))return 0;const t=e.getVisualVariablesForType("size");if(!t[0])return 0;const i=t[0];if("outline"===i.target)return 0;if("stops"===i.transformationType)return i.stops.map((e=>e.size)).reduce(b,0);if("clamped-linear"===i.transformationType){let e=-1/0,t=-1/0;return e="number"==typeof i.maxSize?i.maxSize:i.maxSize.stops.map((e=>e.size)).reduce(b,0),t="number"==typeof i.minSize?i.minSize:i.minSize.stops.map((e=>e.size)).reduce(b,0),Math.max(e,t)}return"real-world-size"===i.transformationType?30:void 0}(e),"visualVariables"in e&&(t=function(e){if(!e)return p.X.NONE;let t=0;for(const i of e)if("size"===i.type){const e=(0,y.a)(i);t|=e,"outline"===i.target&&(t|=e<<4)}else"color"===i.type?t|=p.X.COLOR:"opacity"===i.type?t|=p.X.OPACITY:"rotation"===i.type&&(t|=p.X.ROTATION);return t}(e.visualVariables||[]),r="dot-density"===e.type),!r)){const t=e.getSymbols();"backgroundFillSymbol"in e&&e.backgroundFillSymbol&&t.push(e.backgroundFillSymbol);for(const e of t)if("cim"===e.type&&(s=!1),"simple-fill"===e.type||"picture-fill"===e.type){const t=e.outline;t&&"none"!==t.style&&"solid"!==t.style&&(n=!1);const i=t&&"none"!==t.style&&"solid"!==t.style,r="simple-fill"===e.type&&"none"!==e.style&&"solid"!==e.style;("picture-fill"===e.type||r||i)&&(s=!1)}}return r&&(n=!1),{vvFlags:t,maxVVSize:i,supportsOutlineFills:n,stride:{fill:r?"dot-density":s?"simple":"default"}}}function U(e,t,i){return B(e,A(t),i)}function B(e,t,i){if(!e)return null;switch(e.type){case"simple-fill":case"picture-fill":return function(e,t,i){const r=t.supportsOutlineFills,s=(0,f.jj)(p.LW.FILL,{...t,isOutlinedFill:r}),n=i?q(s):s,l=e.clone(),o=l.outline;t.supportsOutlineFills||(l.outline=null);const a={materialKey:n,hash:l.hash(),isOutlinedFill:!!t.supportsOutlineFills,...D(l)};if(t.supportsOutlineFills)return a;const u=[];if(u.push(a),o){const e=(0,f.jj)(p.LW.LINE,{...t,isOutline:!0}),r={materialKey:i?q(e):e,hash:o.hash(),...D(o)};u.push(r)}return{type:"composite-symbol",layers:u,hash:u.reduce(((e,t)=>t.hash+e),"")}}(e,t,i);case"simple-marker":case"picture-marker":return function(e,t,i){const r=(0,f.jj)(p.LW.MARKER,t),s=i?q(r):r,n=D(e);return{materialKey:s,hash:e.hash(),...n,angle:e.angle,maxVVSize:t.maxVVSize}}(e,t,i);case"simple-line":return function(e,t,i){const r=(0,f.jj)(p.LW.LINE,t),s=i?q(r):r,n=e.clone(),l=n.marker;n.marker=null;const o=[];if(o.push({materialKey:s,hash:n.hash(),...D(n)}),l){var a;const e=(0,f.jj)(p.LW.MARKER,t),r=i?q(e):e;l.color=null!=(a=l.color)?a:n.color,o.push({materialKey:r,hash:l.hash(),lineWidth:n.width,...D(l)})}return{type:"composite-symbol",layers:o,hash:o.reduce(((e,t)=>t.hash+e),"")}}(e,t,i);case"text":return function(e,t,i){const r=(0,f.jj)(p.LW.TEXT,t),s=i?q(r):r,n=D(e);return{materialKey:s,hash:e.hash(),...n,angle:e.angle,maxVVSize:t.maxVVSize}}(e,t,i);case"label":return function(e,t,i){const r=e.toJSON(),s=(0,f.jj)(p.LW.LABEL,{...t,placement:r.labelPlacement});return{materialKey:i?q(s):s,hash:e.hash(),...r,labelPlacement:r.labelPlacement}}(e,t,i);case"cim":return{type:"cim",rendererKey:t.vvFlags,data:e.data,maxVVSize:t.maxVVSize};case"CIMSymbolReference":return{type:"cim",rendererKey:t.vvFlags,data:e,maxVVSize:t.maxVVSize};case"web-style":return{...D(e),type:"web-style",hash:e.hash(),rendererKey:t.vvFlags,maxVVSize:t.maxVVSize};default:throw new Error(`symbol not supported ${e.type}`)}}function W(e,t){const i=(0,l.d9)(e);return i.some((e=>function(e,t){const i=e.labelPlacement,r=k[t];if(!e.symbol)return M.warn("No ILabelClass symbol specified."),!0;if(!r)return M.error(new s.Z("mapview-labeling:unsupported-geometry-type",`Unable to create labels for Feature Layer, ${t} is not supported`)),!0;if(!r.some((e=>e===i))){const s=r[0];i&&M.warn(`Found invalid label placement type ${i} for ${t}. Defaulting to ${s}`),e.labelPlacement=s}return!1}(e,t)))?[]:i}function $(e){return(0,n.Z)("esri-2d-update-debug")&&console.debug("Created new schema",J(e,!0)),J(e)}function J(e,t=!1){try{var i,n;const l=function(e,t=!1){const i=new Array;return i.push(function(e,t,i=!1){const n={indexCount:0,fields:{}},l="featureReduction"in e&&e.featureReduction,o=l?"aggregate":"feature";if("sublayers"in e){const t={type:"subtype",subtypeField:e.subtypeField,renderers:{},stride:{fill:"default"}},r={type:"subtype",mapping:{},target:"feature"},l={type:"subtype",classes:{}},u={type:"symbol",target:"feature",aggregateFields:[],attributes:n,storage:r,mesh:{matcher:t,aggregateMatcher:null,labels:l,sortKey:null}},c=new Set;let p=0;for(const{renderer:u,subtypeCode:d,labelingInfo:f,labelsVisible:y}of e.sublayers){const e=ie(n,o,u,i),m=te(n,o,u),h=y&&f;if("visualVariables"in u&&u.visualVariables&&u.visualVariables.length)throw new s.Z(P,"Visual variables are currently not supported for subtype layers");if("dictionary"===e.type)throw new s.Z(P,"Dictionary renderer is not supported in subtype layers");if("subtype"===e.type)throw new s.Z(P,"Nested subtype renderers is not supported");if((0,a.pC)(m)&&"subtype"===m.type)throw new s.Z(P,"Nested subtype storage is not supported");if((0,a.pC)(m)&&"dot-density"===m.type)throw new s.Z(P,"Dot density attributes are not supported in subtype layers");if(c.has(d))throw new s.Z(P,"Subtype codes for sublayers must be unique");c.add(d),t.renderers[d]=e,r.mapping[d]=m,h&&(l.classes[d]=h.map((e=>Q(u,n,e,"feature",p++,i))))}return u}if("heatmap"===e.renderer.type){const{blurRadius:t,fieldOffset:i,field:r}=e.renderer;return{type:"heatmap",aggregateFields:[],attributes:n,target:o,storage:null,mesh:{blurRadius:t,fieldOffset:i,field:Y(n,{target:o,field:r,resultType:"numeric"}).field}}}{const t=[],u="aggregate"===o?((e,t,i,r)=>{const n=t.clone();if(!(e=>{const t=t=>I.error(new s.Z("Unsupported-renderer",t,{renderer:e}));if("unique-value"===e.type){if(e.field2||e.field3)return t("FeatureReductionCluster does not support multi-field UniqueValueRenderers"),!1}else if("class-breaks"===e.type){if(e.normalizationField){const i=e.normalizationType;if("field"!==i)return t(`FeatureReductionCluster does not support a normalizationType of ${i}`),!1}}else if("simple"!==e.type)return t(`FeatureReductionCluster does not support renderers of type ${e.type}`),!1;if(!j){if("valueExpression"in e&&e.valueExpression)return t("FeatureReductionCluster does not currently support renderer.valueExpression. Support will be added in a future release"),!1;if(("visualVariables"in e&&e.visualVariables||[]).some((e=>!(!("valueExpression"in e)||!e.valueExpression))))return t("FeatureReductionCluster does not currently support visualVariables with a valueExpression. Support will be added in a future release"),!1}return!0})(n))return n;if(i.fields)for(const t of i.fields)N(e,t);if("visualVariables"in n){const t=(n.visualVariables||[]).filter((e=>"$view.scale"!==e.valueExpression)),r=(e=>{for(const t of e)if("size"===t.type)return t;return null})(t);t.forEach((t=>{"rotation"===t.type?t.field?t.field=Z(e,t.field,"avg_angle"):t.valueExpression&&(t.field=L(e,t.valueExpression,"avg_angle"),t.valueExpression=null):t.normalizationField?(t.field=Z(e,t.field,"norm",t.normalizationField),t.normalizationField=null):t.field?t.field=Z(e,t.field,"avg"):(t.field=L(e,t.valueExpression,"avg"),t.valueExpression=null)})),(0,a.Wi)(r)&&!(e=>{for(const t of e)if("cluster_count"===t.field)return!0;return!1})(t)&&(t.push(((e,t)=>{const i=[new C.Z({value:0,size:0}),new C.Z({value:1})];if((0,a.Wi)(t))return new V.Z({field:"cluster_count",stops:[...i,new C.Z({value:2,size:0})]});const r=Object.keys(t).reduce(((r,s)=>({...r,[s]:[...i,new C.Z({value:Math.max(2,t[s].minValue),size:e.clusterMinSize}),new C.Z({value:Math.max(3,t[s].maxValue),size:e.clusterMaxSize})]})),{});return new R({field:"cluster_count",levels:r})})(i,null)),n.dynamicClusterSize=!0),n.visualVariables=t}switch(n.type){case"simple":break;case"unique-value":n.field?n.field=Z(e,n.field,"mode"):n.valueExpression&&(n.field=L(e,n.valueExpression,"mode"),n.valueExpression=null);break;case"class-breaks":n.normalizationField?(n.field=Z(e,n.field,"norm",n.normalizationField),n.normalizationField=null):n.field?n.field=Z(e,n.field,"avg"):(n.field=L(e,n.valueExpression,"avg"),n.valueExpression=null)}return n})(t,e.renderer,l):e.renderer;ee(n,t);const c=ie(n,o,u,i);let p=null;const d=te(n,o,u),f=function(e){return O.toJSON(e)}(e.geometryType);let y=e.labelsVisible&&e.labelingInfo||[],m=[];if(l){if("selection"===l.type)throw new s.Z(P,"Mapview does not support `selection` reduction type",l);if(l.symbol){const e=new r.Z({symbol:l.symbol,visualVariables:"visualVariables"in u?u.visualVariables:null});p=ie(n,o,e,i)}m=l&&l.labelsVisible&&l.labelingInfo||[]}y=W(y,f),m=W(m,f);let h=0;const b=[...y.map((e=>Q(u,n,e,"feature",h++,i))),...m.map((e=>Q(u,n,e,"aggregate",h++,i)))],g=function(e,t){if((0,a.Wi)(t)||!t.length)return null;t.length>1&&M.warn(`Layer rendering currently only supports ordering by 1 orderByInfo, but found ${t.length}. All but the first will be discarded`);const i=t[0],r="ascending"===i.order?"asc":"desc";return i.field?{field:i.field,order:r}:i.valueExpression?{fieldIndex:X(e,{type:"expression",target:"feature",valueExpression:i.valueExpression,resultType:"numeric"}).fieldIndex,order:r}:(M.error(new s.Z(P,"Expected to find a field or valueExpression for OrderByInfo",i)),null)}(n,e.orderBy);return{type:"symbol",target:o,attributes:n,aggregateFields:t,storage:d,mesh:{matcher:c,labels:{type:"simple",classes:b},aggregateMatcher:p,sortKey:g}}}}(e)),i}(e,t),o={};return l.map((t=>function(e,t,i){switch(i.target){case"feature":return void G(e,K(t),i);case"aggregate":{if(!("featureReduction"in t))return;const r=t.featureReduction;if("selection"===r.type)throw new s.Z(P,"Mapview does not support `selection` reduction type",r);return G(e,K(t),i),void function(e,t,i){e.aggregate||(e.aggregate={name:"aggregate",input:"feature",filters:null,attributes:{},params:{clusterRadius:(0,u.F2)(t.clusterRadius/2),clusterPixelBuffer:64*Math.ceil((0,u.F2)(t.clusterMaxSize)/64),fields:i.aggregateFields}}),H(e.aggregate,i.attributes.fields)}(e,r,i)}}}(o,e,t))),{source:{definitionExpression:e.definitionExpression,fields:e.fields.map((e=>e.toJSON())),gdbVersion:e.gdbVersion,historicMoment:null==(i=e.historicMoment)?void 0:i.getTime(),outFields:e.availableFields,pixelBuffer:e.pixelBuffer,spatialReference:e.spatialReference.toJSON(),timeExtent:null==(n=e.timeExtent)?void 0:n.toJSON(),customParameters:e.customParameters},attributes:{fields:{},indexCount:0},processors:l,targets:o}}catch(e){if(e.fieldName===P)return M.error(e),null;throw e}}function H(e,t){for(const i in t){const r=t[i];if(r.target!==e.name)continue;const s=e.attributes[i];s?(s.context.mesh=s.context.mesh||r.context.mesh,s.context.storage=s.context.storage||r.context.storage):e.attributes[i]=r}return e}function K(e){var t,i,r,s,n;return[null!=(t=null==(i=(0,a.Wg)(e.filter))?void 0:i.toJSON())?t:null,null!=(r=null==(s=(0,a.Wg)(null==(n=(0,a.Wg)(e.featureEffect))?void 0:n.filter))?void 0:s.toJSON())?r:null]}function G(e,t,i){return e.feature||(e.feature={name:"feature",input:"source",filters:t,attributes:{}}),H(e.feature,i.attributes.fields),e}function Y(e,t){return t.field?X(e,{...t,type:"field",field:t.field}):t.valueExpression?X(e,{...t,type:"expression",valueExpression:t.valueExpression}):{field:null,fieldIndex:null}}function X(e,t){switch(t.type){case"expression":{const i=t.valueExpression;if(!e.fields[i]){const r=e.indexCount++;e.fields[i]={...t,name:i,fieldIndex:r}}return{fieldIndex:e.fields[i].fieldIndex}}case"label-expression":{const i=JSON.stringify(t.label);if(!e.fields[i]){const r=e.indexCount++;e.fields[i]={...t,name:i,fieldIndex:r}}return{fieldIndex:e.fields[i].fieldIndex}}case"field":{const i=t.field;return"aggregate"===t.target&&e.fields[i]||(e.fields[i]={...t,name:i}),{field:i}}case"statistic":return e.fields[t.name]={...t},{field:t.name}}}function Q(e,t,i,r,s,n=!1){const l=X(t,{type:"label-expression",target:r,context:{mesh:!0},resultType:"string",label:{labelExpression:i.labelExpression,labelExpressionInfo:i.labelExpressionInfo?{expression:i.labelExpressionInfo.expression}:null,symbol:!!i.symbol,where:i.where}}),{fieldIndex:o}=l;return{...U(i,e,n),fieldIndex:o,target:r,index:s}}function ee(e,t){const i={mesh:!0,storage:!0};for(const r of t){const{name:t,outStatistic:s}=r,{statisticType:n,onStatisticField:l}=s;let o=null,a=null,u=null;const c="numeric",p="feature";"onStatisticValueExpression"in s?a=X(e,{type:"expression",target:p,valueExpression:s.onStatisticValueExpression,resultType:c}).fieldIndex:"onStatisticNormalizationField"in s?(o=X(e,{type:"field",target:p,field:l,resultType:c}).field,u=s.onStatisticNormalizationField):o=X(e,{type:"field",target:p,field:l,resultType:c}).field,X(e,{type:"statistic",target:"aggregate",name:t,context:i,inField:o,inNormalizationField:u,inFieldIndex:a,statisticType:n})}}function te(e,t,i){switch(i.type){case"dot-density":return function(e,t,i){return i&&i.length?{type:"dot-density",mapping:i.map(((i,r)=>{const{field:s,fieldIndex:n}=Y(e,{valueExpression:i.valueExpression,field:i.field,resultType:"numeric",target:t});return{binding:r,field:s,fieldIndex:n}})),target:t}:{type:"dot-density",mapping:[],target:t}}(e,t,i.attributes);case"simple":case"class-breaks":case"unique-value":case"dictionary":return function(e,t,i){if(!i||!i.length)return{type:"visual-variable",mapping:[],target:t};const r={storage:!0},s="numeric";return{type:"visual-variable",mapping:v(i).map((i=>{var n;const l=(0,d.nU)(i.type),{field:o,fieldIndex:a}=Y(e,{target:t,valueExpression:i.valueExpression,field:i.field,context:r,resultType:s});switch(i.type){case"size":return"$view.scale"===i.valueExpression?null:{type:"size",binding:l,field:o,fieldIndex:a,normalizationField:Y(e,{target:t,field:i.normalizationField,context:r,resultType:s}).field,valueRepresentation:null!=(n=i.valueRepresentation)?n:null};case"color":return{type:"color",binding:l,field:o,fieldIndex:a,normalizationField:Y(e,{target:t,field:i.normalizationField,context:r,resultType:s}).field};case"opacity":return{type:"opacity",binding:l,field:o,fieldIndex:a,normalizationField:Y(e,{target:t,field:i.normalizationField,context:r,resultType:s}).field};case"rotation":return{type:"rotation",binding:l,field:o,fieldIndex:a}}})).filter((e=>e)),target:t}}(e,t,i.visualVariables);case"heatmap":return null}}function ie(e,t,i,r=!1){const n=(0,a.Pt)(e,{indexCount:0,fields:{}});switch(i.type){case"simple":case"dot-density":return function(e,t,i=!1){const r=t.getSymbols(),s=r.length?r[0]:null,{stride:n}=A(t);return{type:"simple",symbol:U(s,t,i),stride:n}}(0,i,r);case"class-breaks":return function(e,t,i,r=!1){const s=i.backgroundFillSymbol,{field:n,fieldIndex:l}=Y(e,{target:t,field:i.field,valueExpression:i.valueExpression,resultType:"numeric",context:{mesh:!0,use:"renderer.field"}}),o=i.normalizationType,a="log"===o?"esriNormalizeByLog":"percent-of-total"===o?"esriNormalizeByPercentOfTotal":"field"===o?"esriNormalizeByField":null,u=A(i),c=i.classBreakInfos.map((e=>({symbol:B(e.symbol,u,r),min:e.minValue,max:e.maxValue}))).sort(((e,t)=>e.min-t.min));return{type:"interval",attributes:e.fields,field:n,fieldIndex:l,backgroundFillSymbol:B(s,u,r),defaultSymbol:B(i.defaultSymbol,u,r),intervals:c,normalizationField:i.normalizationField,normalizationTotal:i.normalizationTotal,normalizationType:a,isMaxInclusive:i.isMaxInclusive,stride:u.stride}}(n,t,i,r);case"unique-value":return function(e,t,i,r=!1){const n=[],l=i.backgroundFillSymbol,o={target:t,context:{mesh:!0},resultType:"string"};if(i.field&&"string"!=typeof i.field)throw new s.Z(P,"Expected renderer.field to be a string",i);const{field:a,fieldIndex:u}=Y(e,{...o,field:i.field,valueExpression:i.valueExpression}),c=A(i);for(const e of i.uniqueValueInfos)n.push({value:""+e.value,symbol:B(e.symbol,c,r)});return{type:"map",attributes:e.fields,field:a,fieldIndex:u,field2:Y(e,{...o,field:i.field2}).field,field3:Y(e,{...o,field:i.field3}).field,fieldDelimiter:i.fieldDelimiter,backgroundFillSymbol:B(l,c),defaultSymbol:B(i.defaultSymbol,c),map:n,stride:c.stride}}(n,t,i,r);case"dictionary":return function(e,t,i=!1){return{type:"dictionary",renderer:t.toJSON(),stride:{fill:"default"}}}(0,i,r)}}}}]);