@arcgis/core 5.2.0-next.87 → 5.2.0-next.88

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 (632) hide show
  1. package/arcade/Dictionary.js +1 -1
  2. package/arcade/Feature.js +1 -1
  3. package/arcade/ImmutablePointArray.js +1 -1
  4. package/arcade/arcadeAsyncRuntime.js +1 -1
  5. package/arcade/arcadeCompiler.js +1 -1
  6. package/arcade/arcadeRuntime.js +1 -1
  7. package/arcade/containerUtils.js +1 -1
  8. package/arcade/debug.js +1 -1
  9. package/arcade/deepClone.js +1 -1
  10. package/arcade/featureset/actions/SpatialFilter.js +1 -1
  11. package/arcade/featureset/support/FeatureSet.js +1 -1
  12. package/arcade/functions/centroid.js +1 -1
  13. package/arcade/functions/date.js +1 -1
  14. package/arcade/functions/feature.js +1 -1
  15. package/arcade/functions/featuresetbase.js +1 -1
  16. package/arcade/functions/featuresetgeom.js +1 -1
  17. package/arcade/functions/featuresetstats.js +1 -1
  18. package/arcade/functions/featuresetstring.js +1 -1
  19. package/arcade/functions/fieldStats.js +1 -1
  20. package/arcade/functions/geomasync.js +1 -1
  21. package/arcade/functions/geometry.js +1 -1
  22. package/arcade/functions/geomsync.js +1 -1
  23. package/arcade/functions/knowledgegraph.js +1 -1
  24. package/arcade/functions/maths.js +1 -1
  25. package/arcade/functions/stats.js +1 -1
  26. package/arcade/functions/string.js +1 -1
  27. package/arcade/functions/track.js +1 -1
  28. package/arcade/geometry/adapters/accessor.js +2 -0
  29. package/arcade/geometry/adapters/dehydrated.js +2 -0
  30. package/arcade/geometry/adapters/gx.js +2 -0
  31. package/arcade/geometry/adapters/json.js +2 -0
  32. package/arcade/geometry/adapters/optimized.js +2 -0
  33. package/arcade/geometry/adapters/tuple.js +2 -0
  34. package/arcade/geometry/adapters/utils.js +2 -0
  35. package/arcade/geometry/arrayOfPointsConversions.js +2 -0
  36. package/arcade/geometry/constructors.js +1 -1
  37. package/arcade/geometry/functions.js +1 -1
  38. package/arcade/geometry/isSelfIntersecting.js +2 -0
  39. package/arcade/geometry/nearestCoordinate.js +2 -0
  40. package/arcade/geometry/nearestVertex.js +1 -1
  41. package/arcade/geometry/operators.js +1 -1
  42. package/arcade/geometry/operatorsWorker.js +1 -1
  43. package/arcade/geometry/rotate.js +1 -1
  44. package/arcade/geometry.js +2 -0
  45. package/arcade/languageUtils.js +1 -1
  46. package/arcade.js +1 -1
  47. package/arcgisGlobal.d.ts +1 -0
  48. package/assets/esri/core/workers/RemoteClient.js +1 -1
  49. package/assets/esri/core/workers/chunks/{0b8c9657975388f1e4c8.js → 00181785a180e934bf7c.js} +1 -1
  50. package/assets/esri/core/workers/chunks/{01e648b258efa6408070.js → 0336f4f8498a22347720.js} +1 -1
  51. package/assets/esri/core/workers/chunks/0439d4f4dfd6e78be97e.js +1 -0
  52. package/assets/esri/core/workers/chunks/05393b23ab24126d4236.js +1 -0
  53. package/assets/esri/core/workers/chunks/08263c07d92c48806834.js +1 -0
  54. package/assets/esri/core/workers/chunks/09e01fd1c199be0c8e03.js +1 -0
  55. package/assets/esri/core/workers/chunks/{12d6d73ca1fa55640a4f.js → 0b4a7209b99227a842ad.js} +1 -1
  56. package/assets/esri/core/workers/chunks/{073224c6ac77dc9e97af.js → 0b7860a3f18d252b774a.js} +1 -1
  57. package/assets/esri/core/workers/chunks/0d95f72e1c07ab867d21.js +1 -0
  58. package/assets/esri/core/workers/chunks/0dbbac7a2378728571a7.js +1 -0
  59. package/assets/esri/core/workers/chunks/0f15468ffefd3e9a17b8.js +29 -0
  60. package/assets/esri/core/workers/chunks/13e92f6a9573a2818fb7.js +1 -0
  61. package/assets/esri/core/workers/chunks/19aa4072764937743bd8.js +1 -0
  62. package/assets/esri/core/workers/chunks/19e93d4d37018e3ee849.js +1 -0
  63. package/assets/esri/core/workers/chunks/{911f3a1b8dd4bc5c9782.js → 1bf5c0a4bc5a960a3fa2.js} +1 -1
  64. package/assets/esri/core/workers/chunks/1c378d489c5402888f76.js +1 -0
  65. package/assets/esri/core/workers/chunks/1d1e8d8b1fcf2d9f3dfc.js +1 -0
  66. package/assets/esri/core/workers/chunks/{e5c8f9fef88ca33624e9.js → 1e087fb13b7b0a5d6fec.js} +1 -1
  67. package/assets/esri/core/workers/chunks/1e192ac0533a5c0b5a7a.js +1 -0
  68. package/assets/esri/core/workers/chunks/1f9d6180a96d557838e9.js +1 -0
  69. package/assets/esri/core/workers/chunks/1fe077f57a087c0e9119.js +1 -0
  70. package/assets/esri/core/workers/chunks/212222b64039d436b9a6.js +1 -0
  71. package/assets/esri/core/workers/chunks/22c94f9a69b2157f8dbd.js +1 -0
  72. package/assets/esri/core/workers/chunks/25a2e02677a74834c8b5.js +1 -0
  73. package/assets/esri/core/workers/chunks/26ecc841396e5e719b6a.js +1 -0
  74. package/assets/esri/core/workers/chunks/{fcf7299e2ee904ab9882.js → 2724900f7992a79fc442.js} +1 -1
  75. package/assets/esri/core/workers/chunks/27c0bed59626c7f64125.js +1 -0
  76. package/assets/esri/core/workers/chunks/2bc3e7f394386fa75447.js +1 -0
  77. package/assets/esri/core/workers/chunks/2c9783e3b44986e86797.js +1 -0
  78. package/assets/esri/core/workers/chunks/2ceb07b125c84b51f02a.js +1 -0
  79. package/assets/esri/core/workers/chunks/2cf2f2842c19be84ab4d.js +1 -0
  80. package/assets/esri/core/workers/chunks/2d07d5a9ec67c39ef10c.js +1 -0
  81. package/assets/esri/core/workers/chunks/{a7c715648a07ed70b122.js → 2ec44ebc48beeba11201.js} +1 -1
  82. package/assets/esri/core/workers/chunks/2f2d699b072472fa710e.js +1 -0
  83. package/assets/esri/core/workers/chunks/2f3bbc1f7d4abbbeec2f.js +1 -0
  84. package/assets/esri/core/workers/chunks/304a36e862947fdb05c0.js +1 -0
  85. package/assets/esri/core/workers/chunks/30af0f7c4cfa541c9efd.js +1 -0
  86. package/assets/esri/core/workers/chunks/32f11b4aeae1ef00e466.js +1 -0
  87. package/assets/esri/core/workers/chunks/35d3e60d15294f268992.js +1 -0
  88. package/assets/esri/core/workers/chunks/37a2be4380796f14fe4e.js +1 -0
  89. package/assets/esri/core/workers/chunks/37adb55d9f83faad1712.js +1 -0
  90. package/assets/esri/core/workers/chunks/3869dca884d7ca6488f5.js +1 -0
  91. package/assets/esri/core/workers/chunks/3a9c6f58a1a065c14017.js +1 -0
  92. package/assets/esri/core/workers/chunks/3b552afffaa78bf4fe18.js +1 -0
  93. package/assets/esri/core/workers/chunks/{fe06cc2f90b2d551e4c1.js → 3bbd2d4a19c3b7ad82e4.js} +1 -1
  94. package/assets/esri/core/workers/chunks/3de07326da4c47cd2aab.js +1 -0
  95. package/assets/esri/core/workers/chunks/3f5234120d3a14186c1c.js +1 -0
  96. package/assets/esri/core/workers/chunks/{dbd6bbd3e834ff9d220e.js → 41cf6163758d28fb1968.js} +1 -1
  97. package/assets/esri/core/workers/chunks/466bb1b69aabaeabad6a.js +1 -0
  98. package/assets/esri/core/workers/chunks/47e60b2acec18ef37b6c.js +1 -0
  99. package/assets/esri/core/workers/chunks/4849849fc8330d05a8e6.js +1 -0
  100. package/assets/esri/core/workers/chunks/497c5a9c95e9a89ac217.js +1 -0
  101. package/assets/esri/core/workers/chunks/49d36e54644dc2966128.js +1 -0
  102. package/assets/esri/core/workers/chunks/4aefe6fd4d725a107758.js +1 -0
  103. package/assets/esri/core/workers/chunks/4b6f433022a6822706cb.js +1 -0
  104. package/assets/esri/core/workers/chunks/4d4ebb4e4d83c1123b63.js +1 -0
  105. package/assets/esri/core/workers/chunks/4ee99e654dad6f09abee.js +1 -0
  106. package/assets/esri/core/workers/chunks/4f0804429d8989aa4c51.js +1 -0
  107. package/assets/esri/core/workers/chunks/50525b617ef78086d3c7.js +1 -0
  108. package/assets/esri/core/workers/chunks/5235b9c21ac4156c2375.js +1 -0
  109. package/assets/esri/core/workers/chunks/52422500ca3d6cf2e596.js +1 -0
  110. package/assets/esri/core/workers/chunks/527b87fddf33bb5d519e.js +1 -0
  111. package/assets/esri/core/workers/chunks/55572cefc752b755cf0a.js +1 -0
  112. package/assets/esri/core/workers/chunks/{a4bae2396fae48b57047.js → 595edbc1e9bba47d5676.js} +1 -1
  113. package/assets/esri/core/workers/chunks/59cf23cc8f91b5bea31a.js +1 -0
  114. package/assets/esri/core/workers/chunks/5af16937904c06fb06f6.js +1 -0
  115. package/assets/esri/core/workers/chunks/5d7a5aa608ed6192b016.js +1 -0
  116. package/assets/esri/core/workers/chunks/5d9c92c4e60a4696fdad.js +1 -0
  117. package/assets/esri/core/workers/chunks/5ed7bc9e6cb7cdee92e2.js +1 -0
  118. package/assets/esri/core/workers/chunks/{272c8ccdbd3dcc14e99b.js → 5ed89c862eee1345e3af.js} +1 -1
  119. package/assets/esri/core/workers/chunks/5fbd7d8d8896a224fff3.js +1 -0
  120. package/assets/esri/core/workers/chunks/64ce2d060ae7cdd412cf.js +1 -0
  121. package/assets/esri/core/workers/chunks/65f4ca7201e7267bfc81.js +1 -0
  122. package/assets/esri/core/workers/chunks/67efdd296007a809586c.js +1 -0
  123. package/assets/esri/core/workers/chunks/691434d4c6a38e63d819.js +1 -0
  124. package/assets/esri/core/workers/chunks/{ba67aaa08e4f11e1140a.js → 696cb3bf167327d5b0b9.js} +1 -1
  125. package/assets/esri/core/workers/chunks/69700ed16727ed0c4e3a.js +1 -0
  126. package/assets/esri/core/workers/chunks/6a2d890640b2cd6c5ccb.js +1 -0
  127. package/assets/esri/core/workers/chunks/6a4f007f87d9f2a6fbc4.js +1 -0
  128. package/assets/esri/core/workers/chunks/{7343a44a2382a1d68497.js → 6b9dbf43c0659e55c539.js} +1 -1
  129. package/assets/esri/core/workers/chunks/6de5c6af62776e1b9776.js +1 -0
  130. package/assets/esri/core/workers/chunks/70dc25f721c0ac5f3660.js +1 -0
  131. package/assets/esri/core/workers/chunks/71308dca3fd05687e7bd.js +1 -0
  132. package/assets/esri/core/workers/chunks/75bddfe2be64379db8fd.js +1 -0
  133. package/assets/esri/core/workers/chunks/78085f804969c9282700.js +1 -0
  134. package/assets/esri/core/workers/chunks/7aa9b61ca9b66f30449f.js +1 -0
  135. package/assets/esri/core/workers/chunks/7c1f989ee3d13dfe7ebd.js +1 -0
  136. package/assets/esri/core/workers/chunks/7c56446184abcd14678b.js +1 -0
  137. package/assets/esri/core/workers/chunks/7ce9c84f90e9dd1deb38.js +1 -0
  138. package/assets/esri/core/workers/chunks/7f55a150e4da02786311.js +1 -0
  139. package/assets/esri/core/workers/chunks/7fc3231768ce79e375ae.js +1 -0
  140. package/assets/esri/core/workers/chunks/7febb434f2de2436435f.js +1 -0
  141. package/assets/esri/core/workers/chunks/847b02d188ece9b563ad.js +1 -0
  142. package/assets/esri/core/workers/chunks/903c7bd079888f65fef1.js +1 -0
  143. package/assets/esri/core/workers/chunks/{bdafd4f03585351cecc3.js → 909a85cb6e0e9a3c8567.js} +1 -1
  144. package/assets/esri/core/workers/chunks/9226205850e35b7fc610.js +1 -0
  145. package/assets/esri/core/workers/chunks/922c24b9bb68f4201b03.js +1 -0
  146. package/assets/esri/core/workers/chunks/9474c913e53f69679197.js +1 -0
  147. package/assets/esri/core/workers/chunks/94ddfe165ac25aef8229.js +1 -0
  148. package/assets/esri/core/workers/chunks/{75a2c43311f5f9058f62.js → 94f62ff81cc6fb83e73f.js} +1 -1
  149. package/assets/esri/core/workers/chunks/95ccac3734ac70387b03.js +1 -0
  150. package/assets/esri/core/workers/chunks/97c7dfd29ad4c2966cb4.js +1 -0
  151. package/assets/esri/core/workers/chunks/{1354b8442c2c501238f1.js → 986c5024f22bbfc49aba.js} +1 -1
  152. package/assets/esri/core/workers/chunks/9b81bd62a2c72f592db1.js +1 -0
  153. package/assets/esri/core/workers/chunks/{62596065747abce1964d.js → 9b8e33985310f281f084.js} +1 -1
  154. package/assets/esri/core/workers/chunks/9e2b3754a76e0dd4a94a.js +1 -0
  155. package/assets/esri/core/workers/chunks/9eb3e6800f5034f1593f.js +1 -0
  156. package/assets/esri/core/workers/chunks/a0300fac6a06e7d89a52.js +1 -0
  157. package/assets/esri/core/workers/chunks/a03e7333e3328036f478.js +1 -0
  158. package/assets/esri/core/workers/chunks/a0565137027c83108953.js +1 -0
  159. package/assets/esri/core/workers/chunks/a3b403f8acb90af19adb.js +1 -0
  160. package/assets/esri/core/workers/chunks/a4596f028758649da099.js +1 -0
  161. package/assets/esri/core/workers/chunks/a46ac0be9aabc4cfedc7.js +1 -0
  162. package/assets/esri/core/workers/chunks/a4a22149077c7780481c.js +1 -0
  163. package/assets/esri/core/workers/chunks/a6ab627e965fe7e5bd52.js +1 -0
  164. package/assets/esri/core/workers/chunks/a7954ad55a241af9064f.js +1 -0
  165. package/assets/esri/core/workers/chunks/a8b878c12cb1a6ea012b.js +1 -0
  166. package/assets/esri/core/workers/chunks/{ec0803cfa5051c4d300d.js → aa0ef4493a7e9bed159f.js} +1 -1
  167. package/assets/esri/core/workers/chunks/aa8ab28e0c1ae3b55ac0.js +1 -0
  168. package/assets/esri/core/workers/chunks/ab9927a32350063cb5f0.js +1 -0
  169. package/assets/esri/core/workers/chunks/adc2620cbe735532004d.js +1 -0
  170. package/assets/esri/core/workers/chunks/add834f867900a7091d2.js +1 -0
  171. package/assets/esri/core/workers/chunks/{bbf4c2ee4d56bb0f1a81.js → afa6b74d9ca9ed0154af.js} +1 -1
  172. package/assets/esri/core/workers/chunks/b0e25ccb5a1e57a82628.js +1 -0
  173. package/assets/esri/core/workers/chunks/b17a9853250ab626d58d.js +1 -0
  174. package/assets/esri/core/workers/chunks/b19cff0e43fab2632660.js +1 -0
  175. package/assets/esri/core/workers/chunks/b2e2234fdf8e05bc3312.js +1 -0
  176. package/assets/esri/core/workers/chunks/b6063d1755def00d4889.js +1 -0
  177. package/assets/esri/core/workers/chunks/{39c0a3eb6a870953d530.js → b6f67302d0d5d57add66.js} +1 -1
  178. package/assets/esri/core/workers/chunks/bb56ab53c5a10c9518a6.js +1 -0
  179. package/assets/esri/core/workers/chunks/bd2602195e265f8fdb15.js +1 -0
  180. package/assets/esri/core/workers/chunks/{f762f0f6c83748d8e328.js → bee411f08e2a9499f8f5.js} +1 -1
  181. package/assets/esri/core/workers/chunks/bf357afbabaa8dec4d75.js +1 -0
  182. package/assets/esri/core/workers/chunks/bf7875fda48b15271a10.js +1 -0
  183. package/assets/esri/core/workers/chunks/bfa59005a9b191d18546.js +1 -0
  184. package/assets/esri/core/workers/chunks/bfb8fc6b940bd5510e29.js +1 -0
  185. package/assets/esri/core/workers/chunks/{b311658b8a223efe35d6.js → c0e073a77484b0dfd383.js} +1 -1
  186. package/assets/esri/core/workers/chunks/c13aa45ccd5efb662f88.js +1 -0
  187. package/assets/esri/core/workers/chunks/c176df477bbbbc9c6922.js +1 -0
  188. package/assets/esri/core/workers/chunks/c35553d07ad169910742.js +1 -0
  189. package/assets/esri/core/workers/chunks/c4f582dec07895d3bb93.js +1 -0
  190. package/assets/esri/core/workers/chunks/c4fef90cf08bbe4f0bb5.js +1 -0
  191. package/assets/esri/core/workers/chunks/c5c2fed38e0ccf84f1fa.js +1 -0
  192. package/assets/esri/core/workers/chunks/c80277a313205853a857.js +1 -0
  193. package/assets/esri/core/workers/chunks/c91042f8bf886056a29c.js +1 -0
  194. package/assets/esri/core/workers/chunks/ca204c110438f7315790.js +1 -0
  195. package/assets/esri/core/workers/chunks/ca36d85a47179d95f2fc.js +1 -0
  196. package/assets/esri/core/workers/chunks/cb6fb04fe5c8d90d4196.js +1 -0
  197. package/assets/esri/core/workers/chunks/ccaeabc3be07f3c96f50.js +1 -0
  198. package/assets/esri/core/workers/chunks/{85f459297b0214141d43.js → cd02a6078443b8f63927.js} +1 -1
  199. package/assets/esri/core/workers/chunks/{e64ccdb8328eb6514e59.js → cd8b3c2fc27c239f9954.js} +1 -1
  200. package/assets/esri/core/workers/chunks/{3a36c132ceddef3d15c8.js → cdbcc4cd9145dd93db49.js} +1 -1
  201. package/assets/esri/core/workers/chunks/{e90feee1756a2209f93f.js → ce9fe1a89b474f9e7ee7.js} +1 -1
  202. package/assets/esri/core/workers/chunks/d04a01dc1b4947478264.js +1 -0
  203. package/assets/esri/core/workers/chunks/d0cf9ff48f051adbd455.js +1 -0
  204. package/assets/esri/core/workers/chunks/d119671a32a050517cca.js +1 -0
  205. package/assets/esri/core/workers/chunks/d26be8313526ecea9c68.js +1 -0
  206. package/assets/esri/core/workers/chunks/d270b49c037085503016.js +1 -0
  207. package/assets/esri/core/workers/chunks/{f5eee6e548bb24b5a003.js → d30a7fc8dab4ebb8893b.js} +1 -1
  208. package/assets/esri/core/workers/chunks/d344c3fd9f6b113bbcd7.js +1 -0
  209. package/assets/esri/core/workers/chunks/d36bbda9b7261534568f.js +1 -0
  210. package/assets/esri/core/workers/chunks/d4b0012ae1d3b8a9ba01.js +1 -0
  211. package/assets/esri/core/workers/chunks/d6b87134e0d120c68d2f.js +1 -0
  212. package/assets/esri/core/workers/chunks/d6f7aa280f1bd201d4ef.js +1 -0
  213. package/assets/esri/core/workers/chunks/da9aacdb0b4a04f42fb8.js +1 -0
  214. package/assets/esri/core/workers/chunks/daf7b647bd960d8bad56.js +1 -0
  215. package/assets/esri/core/workers/chunks/{10ac92dcd3738ec23dfb.js → db04c1bad40d068306ba.js} +1 -1
  216. package/assets/esri/core/workers/chunks/{3427f0c026301bcf7272.js → db180f8d25471cfa48af.js} +1 -1
  217. package/assets/esri/core/workers/chunks/db4c9a9103e979292948.js +1 -0
  218. package/assets/esri/core/workers/chunks/dceaa6b68eee090073b1.js +1 -0
  219. package/assets/esri/core/workers/chunks/ddf284648a73b6993737.js +1 -0
  220. package/assets/esri/core/workers/chunks/dfbe0efe453587ec5eb2.js +1 -0
  221. package/assets/esri/core/workers/chunks/e1682e94cc714197ebb4.js +1 -0
  222. package/assets/esri/core/workers/chunks/e2576c37cf13dc421f69.js +1 -0
  223. package/assets/esri/core/workers/chunks/e32a14770e036fce79d9.js +1 -0
  224. package/assets/esri/core/workers/chunks/e370a3337b3c90240e73.js +1 -0
  225. package/assets/esri/core/workers/chunks/e39bccc000c768120a32.js +1 -0
  226. package/assets/esri/core/workers/chunks/e40e08029325f43452d0.js +1 -0
  227. package/assets/esri/core/workers/chunks/{0d7d54e74b5639a0be6e.js → e707534a700a2de687ca.js} +1 -1
  228. package/assets/esri/core/workers/chunks/e823c9ccb7bc348d8824.js +1 -0
  229. package/assets/esri/core/workers/chunks/e88eee4c2fc4229c2a8b.js +1 -0
  230. package/assets/esri/core/workers/chunks/e9f29019aa78f07ace66.js +1 -0
  231. package/assets/esri/core/workers/chunks/ea75c23c44452f45a949.js +1 -0
  232. package/assets/esri/core/workers/chunks/ea91c57a0b31f3f65ee5.js +1 -0
  233. package/assets/esri/core/workers/chunks/eacf216dcd6397c7bd7f.js +1 -0
  234. package/assets/esri/core/workers/chunks/ee77999df3785468b2b6.js +1 -0
  235. package/assets/esri/core/workers/chunks/ef851a2cff76fd211c07.js +1 -0
  236. package/assets/esri/core/workers/chunks/eff359210893239ecec3.js +1 -0
  237. package/assets/esri/core/workers/chunks/f106cc7f559856f69b9f.js +1 -0
  238. package/assets/esri/core/workers/chunks/f210cd8afb86b6eaf7a2.js +1 -0
  239. package/assets/esri/core/workers/chunks/f247f3c5148fa0237a7c.js +1 -0
  240. package/assets/esri/core/workers/chunks/f250a7aa571889c5ad4b.js +1 -0
  241. package/assets/esri/core/workers/chunks/{a26dc2647a15b830390e.js → f253875feb11883deb84.js} +1 -1
  242. package/assets/esri/core/workers/chunks/f31330d628d7e741bf5b.js +1 -0
  243. package/assets/esri/core/workers/chunks/f3d57c5b9dffd12e45b4.js +1 -0
  244. package/assets/esri/core/workers/chunks/f43ae1c2f89e1c4396cc.js +1 -0
  245. package/assets/esri/core/workers/chunks/f60ed579981913d44675.js +1 -0
  246. package/assets/esri/core/workers/chunks/{147d1e7e2852a4197e5f.js → f665fb4c5633e0a459d8.js} +1 -1
  247. package/assets/esri/core/workers/chunks/f66e597e524b26e61cd3.js +1 -0
  248. package/assets/esri/core/workers/chunks/{bec140a69cfdb0519680.js → f74c7cbe4bd12f73ae90.js} +1 -1
  249. package/assets/esri/core/workers/chunks/{e6f6b38eda34708d61c5.js → f7f2102b16d201e5f531.js} +1 -1
  250. package/assets/esri/core/workers/chunks/f82ae237452b97cfc024.js +1 -0
  251. package/assets/esri/core/workers/chunks/f8f7b86bbd62106bc3d4.js +1 -0
  252. package/assets/esri/core/workers/chunks/f9a4387f850d85c44ca5.js +1 -0
  253. package/assets/esri/core/workers/chunks/fbc7576ed12964059da6.js +1 -0
  254. package/assets/esri/core/workers/chunks/fc4a5996fc03f6c32030.js +1 -0
  255. package/assets/esri/core/workers/chunks/fdd0e6d9927d3c43b0d3.js +1 -0
  256. package/assets/esri/core/workers/chunks/fddcb8be714ad18ad0c8.js +1 -0
  257. package/assets/esri/core/workers/chunks/{baa46edd87e97f922128.js → ffe749d790320dddfa74.js} +1 -1
  258. package/chunks/Bufferer-CclWhXVb.js +1 -1
  259. package/chunks/Distance2DCalculator-DjIp2uQi.js +1 -1
  260. package/chunks/Envelope.js +1 -1
  261. package/chunks/GeodeticDistanceCalculator-zRp89-dW.js +1 -1
  262. package/chunks/GeodeticUtils.js +1 -1
  263. package/chunks/GeographicTransformation.js +1 -1
  264. package/chunks/Geometry.js +1 -1
  265. package/chunks/GlowComposite.glsl.js +9 -7
  266. package/chunks/MultiPathImpl.js +1 -1
  267. package/chunks/OperatorCentroid2D.js +1 -1
  268. package/chunks/OperatorContains.js +2 -0
  269. package/chunks/OperatorCrosses.js +1 -1
  270. package/chunks/OperatorCut.js +1 -1
  271. package/chunks/OperatorDisjoint.js +2 -0
  272. package/chunks/OperatorDistance.js +2 -0
  273. package/chunks/OperatorEquals.js +2 -0
  274. package/chunks/OperatorGeodesicBuffer.js +1 -1
  275. package/chunks/OperatorGeodeticArea.js +1 -1
  276. package/chunks/OperatorGeodeticDensifyByLength.js +1 -1
  277. package/chunks/OperatorGeodeticLength.js +1 -1
  278. package/chunks/OperatorGraphicBuffer.js +1 -1
  279. package/chunks/OperatorIntegrate.js +1 -1
  280. package/chunks/OperatorIntersects.js +1 -1
  281. package/chunks/OperatorMultiPartToSinglePart.js +1 -1
  282. package/chunks/OperatorOverlaps.js +1 -1
  283. package/chunks/OperatorProximity.js +1 -1
  284. package/chunks/OperatorProximityGeodesic.js +1 -1
  285. package/chunks/OperatorRelate.js +2 -0
  286. package/chunks/OperatorShapePreservingLength.js +1 -1
  287. package/chunks/OperatorShapePreservingProject.js +1 -1
  288. package/chunks/OperatorSimplifyOGC.js +1 -1
  289. package/chunks/OperatorTouches.js +1 -1
  290. package/chunks/OperatorWithin.js +1 -1
  291. package/chunks/Point2D.js +1 -1
  292. package/chunks/ProjectionTransformation.js +1 -1
  293. package/chunks/SideCalculator2D-DX0718xq.js +1 -1
  294. package/chunks/UnitFactory.js +1 -1
  295. package/chunks/aiServices.js +1 -1
  296. package/chunks/array.js +1 -1
  297. package/chunks/languageUtils.js +1 -1
  298. package/config.js +1 -1
  299. package/core/sql/TimeOnly.js +1 -1
  300. package/core/units.js +1 -1
  301. package/editing/sharedTemplates/executor/builders/bufferLineToPolygon.js +1 -1
  302. package/editing/sharedTemplates/executor/builders/bufferPointToPolygon.js +1 -1
  303. package/editing/sharedTemplates/executor/builders/bufferPolygonToPolygon.js +1 -1
  304. package/editing/sharedTemplates/executor/builders/pointAtIntersectionVerticesOfLine.js +1 -1
  305. package/editing/sharedTemplates/executor/builders/support/offsetUtils.js +1 -1
  306. package/form/elements/inputs/inputUtils.js +1 -1
  307. package/geometry/operators/areaOperator.js +1 -1
  308. package/geometry/operators/bufferOperator.js +1 -1
  309. package/geometry/operators/centroidOperator.js +1 -1
  310. package/geometry/operators/clipOperator.js +1 -1
  311. package/geometry/operators/containsOperator.js +1 -1
  312. package/geometry/operators/convexHullOperator.js +1 -1
  313. package/geometry/operators/crossesOperator.js +1 -1
  314. package/geometry/operators/cutOperator.js +1 -1
  315. package/geometry/operators/densifyOperator.js +1 -1
  316. package/geometry/operators/differenceOperator.js +1 -1
  317. package/geometry/operators/disjointOperator.js +1 -1
  318. package/geometry/operators/distanceOperator.js +1 -1
  319. package/geometry/operators/equalsOperator.js +1 -1
  320. package/geometry/operators/generalizeOperator.js +1 -1
  321. package/geometry/operators/geodesicBufferOperator.js +1 -1
  322. package/geometry/operators/geodeticAreaOperator.js +1 -1
  323. package/geometry/operators/geodeticDensifyOperator.js +1 -1
  324. package/geometry/operators/geodeticDistanceOperator.js +1 -1
  325. package/geometry/operators/geodeticLengthOperator.js +1 -1
  326. package/geometry/operators/gx/operatorAutoComplete.js +1 -1
  327. package/geometry/operators/gx/operatorBuffer.js +1 -1
  328. package/geometry/operators/gx/operatorDifference.js +1 -1
  329. package/geometry/operators/gx/operatorIntersection.js +1 -1
  330. package/geometry/operators/gx/operatorLabelPoint.js +1 -1
  331. package/geometry/operators/gx/operatorLinesToPolygons.js +1 -1
  332. package/geometry/operators/gx/operatorPolygonOverlay.js +1 -1
  333. package/geometry/operators/gx/operatorSimplify.js +1 -1
  334. package/geometry/operators/gx/operatorSymmetricDifference.js +1 -1
  335. package/geometry/operators/gx/operatorUnion.js +1 -1
  336. package/geometry/operators/intersectionOperator.js +1 -1
  337. package/geometry/operators/intersectsOperator.js +1 -1
  338. package/geometry/operators/json/containsOperator.js +1 -1
  339. package/geometry/operators/json/crossesOperator.js +1 -1
  340. package/geometry/operators/json/disjointOperator.js +1 -1
  341. package/geometry/operators/json/intersectsOperator.js +1 -1
  342. package/geometry/operators/json/overlapsOperator.js +1 -1
  343. package/geometry/operators/json/touchesOperator.js +1 -1
  344. package/geometry/operators/json/unionOperator.js +1 -1
  345. package/geometry/operators/json/withinOperator.js +1 -1
  346. package/geometry/operators/labelPointOperator.js +1 -1
  347. package/geometry/operators/lengthOperator.js +1 -1
  348. package/geometry/operators/multiPartToSinglePartOperator.js +1 -1
  349. package/geometry/operators/offsetOperator.js +1 -1
  350. package/geometry/operators/overlapsOperator.js +1 -1
  351. package/geometry/operators/proximityOperator.js +1 -1
  352. package/geometry/operators/relateOperator.js +1 -1
  353. package/geometry/operators/reshapeOperator.js +1 -1
  354. package/geometry/operators/simplifyOGCOperator.js +1 -1
  355. package/geometry/operators/simplifyOperator.js +1 -1
  356. package/geometry/operators/support/apiConverter.js +1 -1
  357. package/geometry/operators/support/jsonConverter.js +1 -1
  358. package/geometry/operators/support/projectionTransformation.js +1 -1
  359. package/geometry/operators/symmetricDifferenceOperator.js +1 -1
  360. package/geometry/operators/touchesOperator.js +1 -1
  361. package/geometry/operators/unionOperator.js +1 -1
  362. package/geometry/operators/withinOperator.js +1 -1
  363. package/geometry/support/curves/circleUtils.js +1 -1
  364. package/geometry/support/curves/ellipticArc7Utils.js +1 -1
  365. package/geometry/support/webMercatorUtils.js +1 -1
  366. package/kernel.js +1 -1
  367. package/layers/VectorTileLayer.js +1 -1
  368. package/layers/graphics/hydratedFeatures.js +1 -1
  369. package/layers/mixins/DataSeriesLayer.js +1 -1
  370. package/layers/support/csvUtils.js +1 -1
  371. package/layers/support/fieldUtils.js +1 -1
  372. package/layers/video/VideoController.js +1 -1
  373. package/package.json +3 -3
  374. package/support/ArcadeExpression.js +1 -1
  375. package/support/arcadeUtils.js +1 -1
  376. package/support/loadArcade.js +1 -1
  377. package/support/revision.js +1 -1
  378. package/support/tests/serviceMockDependencies.js +1 -1
  379. package/views/2d/analysis/AreaMeasurement/AreaMeasurementController.js +1 -1
  380. package/views/2d/analysis/DistanceMeasurement/DistanceMeasurementController.js +1 -1
  381. package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
  382. package/views/2d/layers/support/RouteLayerWaypointVisualization.js +1 -1
  383. package/views/3d/analysis/LineOfSight/LineOfSightConfiguration.js +1 -1
  384. package/views/3d/analysis/LineOfSight/LineOfSightManipulators.js +1 -1
  385. package/views/3d/analysis/LineOfSight/LineOfSightVisualization.js +1 -1
  386. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  387. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementController.js +1 -1
  388. package/views/3d/input/SceneInputManager.js +1 -1
  389. package/views/3d/input/handlers/RopePullNavigation.js +2 -0
  390. package/views/3d/layers/TiledLayerView3D.js +1 -1
  391. package/views/3d/layers/graphics/featureExpressionInfoUtils.js +1 -1
  392. package/views/3d/layers/i3s/I3SNode.js +1 -1
  393. package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
  394. package/views/3d/layers/support/FeatureTileVisibility3D.js +1 -1
  395. package/views/3d/state/controllers/RopePullController.js +2 -0
  396. package/views/3d/state/utils/ropePullUtils.js +1 -1
  397. package/views/3d/support/ElevationAgnosticVisibility.js +1 -1
  398. package/views/3d/support/sphericalTileUtils.js +1 -1
  399. package/views/3d/terrain/PlanarPatch.js +1 -1
  400. package/views/3d/terrain/SphericalPatch.js +1 -1
  401. package/views/3d/terrain/Tile.js +1 -1
  402. package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
  403. package/views/SelectionManager.js +1 -1
  404. package/views/draw/DrawTool.js +1 -1
  405. package/views/draw/support/createUtils.js +1 -1
  406. package/views/support/GeometryWorker.js +1 -1
  407. package/views/support/selectionUtils.js +1 -1
  408. package/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js +1 -1
  409. package/widgets/BatchAttributeForm/expressions/ArcadeExecutorProvider.js +1 -1
  410. package/widgets/BatchAttributeForm/templates/FieldElementTemplate.js +1 -1
  411. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  412. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  413. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DTool.js +1 -1
  414. package/widgets/OrientedImageryViewer/adapters/view/MapViewAdapter.js +1 -1
  415. package/widgets/OrientedImageryViewer/components/ImageViewerViewModel.js +1 -1
  416. package/widgets/OrientedImageryViewer/components/OrientedImageryVideoViewModel.js +1 -1
  417. package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
  418. package/widgets/OrientedImageryViewer/support/panConstraint.js +1 -1
  419. package/widgets/OrientedImageryViewer/support/superimposeUtils.js +1 -1
  420. package/widgets/OrientedImageryViewer/videoViewerUtils.js +1 -1
  421. package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
  422. package/widgets/support/SelectionList/selectionListUtils.d.ts +58 -0
  423. package/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js +1 -1
  424. package/widgets/support/Selector2D/selectorUtils.js +1 -1
  425. package/arcade/kernel.js +0 -2
  426. package/assets/esri/core/workers/chunks/01b7babaefe6500fd6eb.js +0 -1
  427. package/assets/esri/core/workers/chunks/06e109e92de7fa0956e3.js +0 -1
  428. package/assets/esri/core/workers/chunks/0775d1e3034d5e7ef7bc.js +0 -1
  429. package/assets/esri/core/workers/chunks/0993e51d3a9701ed2198.js +0 -1
  430. package/assets/esri/core/workers/chunks/09a0a1e794ddff65aa08.js +0 -1
  431. package/assets/esri/core/workers/chunks/0e57d33bd202d0972207.js +0 -1
  432. package/assets/esri/core/workers/chunks/114ba901fd319ce87dc6.js +0 -1
  433. package/assets/esri/core/workers/chunks/151bac9e519a3b821baf.js +0 -1
  434. package/assets/esri/core/workers/chunks/156f85ac1885464f0072.js +0 -1
  435. package/assets/esri/core/workers/chunks/180eebd8b7badc2840c9.js +0 -1
  436. package/assets/esri/core/workers/chunks/19cb8963d5ec2246357b.js +0 -1
  437. package/assets/esri/core/workers/chunks/19d4ecee1c161ac0f33c.js +0 -1
  438. package/assets/esri/core/workers/chunks/19ece9f5313f53384cac.js +0 -1
  439. package/assets/esri/core/workers/chunks/1d770e8f0fe57d937daa.js +0 -1
  440. package/assets/esri/core/workers/chunks/1dd22b8df6a52277c64b.js +0 -1
  441. package/assets/esri/core/workers/chunks/1ede298ab815e9ad625c.js +0 -1
  442. package/assets/esri/core/workers/chunks/208bc524bd1e0d3aab79.js +0 -1
  443. package/assets/esri/core/workers/chunks/20a4ae83542c7d39cf0f.js +0 -1
  444. package/assets/esri/core/workers/chunks/21071ab3d7b2771406ae.js +0 -1
  445. package/assets/esri/core/workers/chunks/21bfa89363104f041101.js +0 -1
  446. package/assets/esri/core/workers/chunks/21d0a4d6639d32278f11.js +0 -1
  447. package/assets/esri/core/workers/chunks/22a75fdc6ba60213a870.js +0 -1
  448. package/assets/esri/core/workers/chunks/22e004ed97e06536ecef.js +0 -1
  449. package/assets/esri/core/workers/chunks/23942712a3f6290e0fdb.js +0 -1
  450. package/assets/esri/core/workers/chunks/242287de82586d42f0a4.js +0 -1
  451. package/assets/esri/core/workers/chunks/25cb5086eaa412f6820b.js +0 -1
  452. package/assets/esri/core/workers/chunks/26c8ed0aef59ed6d5267.js +0 -1
  453. package/assets/esri/core/workers/chunks/2742d62fceaf0736aef0.js +0 -1
  454. package/assets/esri/core/workers/chunks/276eba546dc8774076ee.js +0 -1
  455. package/assets/esri/core/workers/chunks/28e02b213da9e682d3dc.js +0 -29
  456. package/assets/esri/core/workers/chunks/2d8195231cb16247f198.js +0 -1
  457. package/assets/esri/core/workers/chunks/2db1227ecd421728630d.js +0 -1
  458. package/assets/esri/core/workers/chunks/2ddc9c9ff6ec243d85e2.js +0 -1
  459. package/assets/esri/core/workers/chunks/2e712154ebb895d96ba1.js +0 -1
  460. package/assets/esri/core/workers/chunks/2f2df51d4976ae65edae.js +0 -1
  461. package/assets/esri/core/workers/chunks/32d31fd4cffdf5a80acb.js +0 -1
  462. package/assets/esri/core/workers/chunks/33aaa5a49e396a0aca47.js +0 -1
  463. package/assets/esri/core/workers/chunks/35622088727e120c93b9.js +0 -1
  464. package/assets/esri/core/workers/chunks/3714cc26f446c4d9cc2c.js +0 -1
  465. package/assets/esri/core/workers/chunks/3722d40d161d60370936.js +0 -1
  466. package/assets/esri/core/workers/chunks/3ac4cfeb1af12a9dc27d.js +0 -1
  467. package/assets/esri/core/workers/chunks/3b009c05eaec5a7048a8.js +0 -1
  468. package/assets/esri/core/workers/chunks/3b376318df4ff8519370.js +0 -1
  469. package/assets/esri/core/workers/chunks/3bf37fd3280f4891c76b.js +0 -1
  470. package/assets/esri/core/workers/chunks/3d18a10a1ecfabe92db3.js +0 -1
  471. package/assets/esri/core/workers/chunks/3de20165796fa4f76728.js +0 -1
  472. package/assets/esri/core/workers/chunks/3fbd4c7e25440c4713f2.js +0 -1
  473. package/assets/esri/core/workers/chunks/407dba2be21255eb47fc.js +0 -1
  474. package/assets/esri/core/workers/chunks/44b1a4e8a65221ad3808.js +0 -1
  475. package/assets/esri/core/workers/chunks/48b31b8534e7bfe42976.js +0 -1
  476. package/assets/esri/core/workers/chunks/48f6af09436723f2d861.js +0 -1
  477. package/assets/esri/core/workers/chunks/49e37f653b81f9e4f7cc.js +0 -1
  478. package/assets/esri/core/workers/chunks/4b4221a869b3f0d517fa.js +0 -1
  479. package/assets/esri/core/workers/chunks/4b86bcde5992eb752ab0.js +0 -1
  480. package/assets/esri/core/workers/chunks/4b9095e2bd060efd47c4.js +0 -1
  481. package/assets/esri/core/workers/chunks/5084de4d0d4961b63ab7.js +0 -1
  482. package/assets/esri/core/workers/chunks/51a8a47aac1d8d22ba9d.js +0 -1
  483. package/assets/esri/core/workers/chunks/5324e4feb78203204c0c.js +0 -1
  484. package/assets/esri/core/workers/chunks/5536cee0dfc183584a9b.js +0 -1
  485. package/assets/esri/core/workers/chunks/58d10928959ae1e2e8d9.js +0 -1
  486. package/assets/esri/core/workers/chunks/597a8e3d9e458298fdd3.js +0 -1
  487. package/assets/esri/core/workers/chunks/5a006ff759fad9fc25cb.js +0 -1
  488. package/assets/esri/core/workers/chunks/60be6de19c5659091d8f.js +0 -1
  489. package/assets/esri/core/workers/chunks/61a38237e163b39520e5.js +0 -1
  490. package/assets/esri/core/workers/chunks/61fcdba6f2097378dce5.js +0 -1
  491. package/assets/esri/core/workers/chunks/6561c01c67db1f4c546e.js +0 -1
  492. package/assets/esri/core/workers/chunks/65eff0ae773505495f21.js +0 -1
  493. package/assets/esri/core/workers/chunks/67452ba9e87962b9e01e.js +0 -1
  494. package/assets/esri/core/workers/chunks/68195277046861ed39a7.js +0 -1
  495. package/assets/esri/core/workers/chunks/68705692335d57522030.js +0 -1
  496. package/assets/esri/core/workers/chunks/6a2a4da3a1cd64ff576f.js +0 -1
  497. package/assets/esri/core/workers/chunks/6af1680771fd8ae8c7dc.js +0 -1
  498. package/assets/esri/core/workers/chunks/6c367de583e0e657ca3a.js +0 -1
  499. package/assets/esri/core/workers/chunks/6d2021a0f0c9a3c6a0e6.js +0 -1
  500. package/assets/esri/core/workers/chunks/6db4a4f9a9ce7cc738d0.js +0 -1
  501. package/assets/esri/core/workers/chunks/6f2a9259240769c7cd6e.js +0 -1
  502. package/assets/esri/core/workers/chunks/724260e36efea90585f4.js +0 -1
  503. package/assets/esri/core/workers/chunks/74ae1222787389d5fcaa.js +0 -1
  504. package/assets/esri/core/workers/chunks/74bfaa98da6c5d375f05.js +0 -1
  505. package/assets/esri/core/workers/chunks/7a68a16f7fea712b9fd6.js +0 -1
  506. package/assets/esri/core/workers/chunks/7b2174b19d06c16715f0.js +0 -1
  507. package/assets/esri/core/workers/chunks/7d8e59ad438fb34b476d.js +0 -1
  508. package/assets/esri/core/workers/chunks/7eb94fc75926bc739233.js +0 -1
  509. package/assets/esri/core/workers/chunks/80795118467fb31ea4ed.js +0 -1
  510. package/assets/esri/core/workers/chunks/820c530b8765ecb1f36e.js +0 -1
  511. package/assets/esri/core/workers/chunks/830daaca32352da6eebe.js +0 -1
  512. package/assets/esri/core/workers/chunks/852649460d664b0a1a1d.js +0 -1
  513. package/assets/esri/core/workers/chunks/85c538bf1209f0da1f8e.js +0 -1
  514. package/assets/esri/core/workers/chunks/8c2921081ca3e7fd0385.js +0 -1
  515. package/assets/esri/core/workers/chunks/8db3fd97e8eccd3ba1db.js +0 -1
  516. package/assets/esri/core/workers/chunks/8e225dd0319672103561.js +0 -1
  517. package/assets/esri/core/workers/chunks/8e79a84e224d05204e7d.js +0 -1
  518. package/assets/esri/core/workers/chunks/8e9aff66a2d4e2cc102b.js +0 -1
  519. package/assets/esri/core/workers/chunks/917318f8e186f466dc52.js +0 -1
  520. package/assets/esri/core/workers/chunks/9267f6a65c2245696eac.js +0 -1
  521. package/assets/esri/core/workers/chunks/958e161634b5bfd50625.js +0 -1
  522. package/assets/esri/core/workers/chunks/9658b46a7111cda53b0d.js +0 -1
  523. package/assets/esri/core/workers/chunks/974bcaf2a059b8cfb153.js +0 -1
  524. package/assets/esri/core/workers/chunks/99881d0a6c2490a16268.js +0 -1
  525. package/assets/esri/core/workers/chunks/99980c944acb8ff88d6a.js +0 -1
  526. package/assets/esri/core/workers/chunks/9c227785f4454d3966ea.js +0 -1
  527. package/assets/esri/core/workers/chunks/9d61d9136f3d00aab530.js +0 -1
  528. package/assets/esri/core/workers/chunks/9df2685583393a87df2d.js +0 -1
  529. package/assets/esri/core/workers/chunks/9e840a71906c4deef776.js +0 -1
  530. package/assets/esri/core/workers/chunks/9ee6e8a6b9bfda758c21.js +0 -1
  531. package/assets/esri/core/workers/chunks/a03f4605bde69bfb6d41.js +0 -1
  532. package/assets/esri/core/workers/chunks/a327843cee2057ee76c0.js +0 -1
  533. package/assets/esri/core/workers/chunks/a557347fb313df6fcc79.js +0 -1
  534. package/assets/esri/core/workers/chunks/a8da0728a12fc46dca23.js +0 -1
  535. package/assets/esri/core/workers/chunks/a9ea28e0f22cfe3ccf92.js +0 -1
  536. package/assets/esri/core/workers/chunks/aae92f23b38ae22dd8bf.js +0 -1
  537. package/assets/esri/core/workers/chunks/ad3714da9c90d7471385.js +0 -1
  538. package/assets/esri/core/workers/chunks/b047f9e9ba26037657ed.js +0 -1
  539. package/assets/esri/core/workers/chunks/b1323800119bd5c1759b.js +0 -1
  540. package/assets/esri/core/workers/chunks/b18c35f25da18a3219d7.js +0 -1
  541. package/assets/esri/core/workers/chunks/b1f68ee65cce457d7b5b.js +0 -1
  542. package/assets/esri/core/workers/chunks/b2d6fd436981c890152f.js +0 -1
  543. package/assets/esri/core/workers/chunks/b3c518ca8679fbe16ece.js +0 -1
  544. package/assets/esri/core/workers/chunks/b4b4fe06364bea9b0750.js +0 -1
  545. package/assets/esri/core/workers/chunks/b61b7005edd9ced925e9.js +0 -1
  546. package/assets/esri/core/workers/chunks/b661aae7e3ce955a783e.js +0 -1
  547. package/assets/esri/core/workers/chunks/b66ebe53bd879aa9de57.js +0 -1
  548. package/assets/esri/core/workers/chunks/b8ca80134abfcc692244.js +0 -1
  549. package/assets/esri/core/workers/chunks/bbdf10d76d852072c878.js +0 -1
  550. package/assets/esri/core/workers/chunks/bbeb61d9302323bae9fb.js +0 -1
  551. package/assets/esri/core/workers/chunks/bbfd2b4af8e498b61af9.js +0 -1
  552. package/assets/esri/core/workers/chunks/bddd5aa7a14cd45ff91c.js +0 -1
  553. package/assets/esri/core/workers/chunks/be31c2cb97f664a54306.js +0 -1
  554. package/assets/esri/core/workers/chunks/be4319827db91aa71bf5.js +0 -1
  555. package/assets/esri/core/workers/chunks/bef32acf368b4d5aba37.js +0 -1
  556. package/assets/esri/core/workers/chunks/c1568bcd3f04014152e1.js +0 -1
  557. package/assets/esri/core/workers/chunks/c1a7c475ce0c59ffa75a.js +0 -1
  558. package/assets/esri/core/workers/chunks/c229a4eedda468c914a9.js +0 -1
  559. package/assets/esri/core/workers/chunks/c2b2942456f1b10d0e96.js +0 -1
  560. package/assets/esri/core/workers/chunks/c308d8f419ba63c583e6.js +0 -1
  561. package/assets/esri/core/workers/chunks/c5dc2743c7116d0bc0d8.js +0 -1
  562. package/assets/esri/core/workers/chunks/c68cc3b9c170b8de22dc.js +0 -1
  563. package/assets/esri/core/workers/chunks/c6ef0636073e28350c91.js +0 -1
  564. package/assets/esri/core/workers/chunks/c71368cd64f240da1743.js +0 -1
  565. package/assets/esri/core/workers/chunks/cb2f27e5d465124b9868.js +0 -1
  566. package/assets/esri/core/workers/chunks/cee2f7f3b3f84688e49d.js +0 -1
  567. package/assets/esri/core/workers/chunks/d0942860a53b02371e94.js +0 -1
  568. package/assets/esri/core/workers/chunks/d13eeff678972a245d5d.js +0 -1
  569. package/assets/esri/core/workers/chunks/d3d7b4cd28a0dc2720d4.js +0 -1
  570. package/assets/esri/core/workers/chunks/d3ea7ac6fe71c95faa75.js +0 -1
  571. package/assets/esri/core/workers/chunks/d41e4498aaf4970f48b0.js +0 -1
  572. package/assets/esri/core/workers/chunks/d56603e1d0031f3c5f3b.js +0 -1
  573. package/assets/esri/core/workers/chunks/d7c8725ffb175cec5f8a.js +0 -1
  574. package/assets/esri/core/workers/chunks/d96fa373dcb621c2a869.js +0 -1
  575. package/assets/esri/core/workers/chunks/da233362b06b6db375f1.js +0 -1
  576. package/assets/esri/core/workers/chunks/dbc8f15a6be835f4897d.js +0 -1
  577. package/assets/esri/core/workers/chunks/e00d0036974aaec7d876.js +0 -1
  578. package/assets/esri/core/workers/chunks/e0c75ae3a211a8da10f7.js +0 -1
  579. package/assets/esri/core/workers/chunks/e474106292834633e7d4.js +0 -1
  580. package/assets/esri/core/workers/chunks/e557043f90c051e93925.js +0 -1
  581. package/assets/esri/core/workers/chunks/e5cbed6f19c743915c8e.js +0 -1
  582. package/assets/esri/core/workers/chunks/e5ecd93bd32e99bc99d1.js +0 -1
  583. package/assets/esri/core/workers/chunks/eb8c4f194bb66a27d418.js +0 -1
  584. package/assets/esri/core/workers/chunks/ebd8c77df5df63bd3efe.js +0 -1
  585. package/assets/esri/core/workers/chunks/f14347f5d63f5d102617.js +0 -1
  586. package/assets/esri/core/workers/chunks/f3c0280b6c87f2383a60.js +0 -1
  587. package/assets/esri/core/workers/chunks/f42c4dcb8f413ca1c6fd.js +0 -1
  588. package/assets/esri/core/workers/chunks/f5773321487ec248fa3b.js +0 -1
  589. package/assets/esri/core/workers/chunks/f76911f71540b058a881.js +0 -1
  590. package/assets/esri/core/workers/chunks/f988d5a6dcc15fe34797.js +0 -1
  591. package/assets/esri/core/workers/chunks/fa29b5064d6626cfc019.js +0 -1
  592. package/assets/esri/core/workers/chunks/fa882d0f4a9826533421.js +0 -1
  593. package/assets/esri/core/workers/chunks/fb2d43608006f588e3cb.js +0 -1
  594. package/assets/esri/core/workers/chunks/fbd02e8277fe2252ecd2.js +0 -1
  595. package/assets/esri/core/workers/chunks/fc1aeea22f8c9d63864a.js +0 -1
  596. package/assets/esri/core/workers/chunks/fc3c03cfa3d6bf3b37dc.js +0 -1
  597. package/assets/esri/core/workers/chunks/ff07d351553deb70b889.js +0 -1
  598. package/assets/esri/core/workers/chunks/ffee66699f5d26569baf.js +0 -1
  599. package/chunks/OperatorDefinitions.js +0 -2
  600. package/chunks/areaOperator.js +0 -2
  601. package/chunks/bufferOperator.js +0 -2
  602. package/chunks/centroidOperator.js +0 -2
  603. package/chunks/clipOperator.js +0 -2
  604. package/chunks/containsOperator.js +0 -2
  605. package/chunks/convexHullOperator.js +0 -2
  606. package/chunks/crossesOperator.js +0 -2
  607. package/chunks/cutOperator.js +0 -2
  608. package/chunks/densifyOperator.js +0 -2
  609. package/chunks/differenceOperator.js +0 -2
  610. package/chunks/disjointOperator.js +0 -2
  611. package/chunks/distanceOperator.js +0 -2
  612. package/chunks/equalsOperator.js +0 -2
  613. package/chunks/generalizeOperator.js +0 -2
  614. package/chunks/geodesicBufferOperator.js +0 -2
  615. package/chunks/geodeticAreaOperator.js +0 -2
  616. package/chunks/geodeticDensifyOperator.js +0 -2
  617. package/chunks/geodeticDistanceOperator.js +0 -2
  618. package/chunks/geodeticLengthOperator.js +0 -2
  619. package/chunks/intersectionOperator.js +0 -2
  620. package/chunks/intersectsOperator.js +0 -2
  621. package/chunks/labelPointOperator.js +0 -2
  622. package/chunks/lengthOperator.js +0 -2
  623. package/chunks/multiPartToSinglePartOperator.js +0 -2
  624. package/chunks/offsetOperator.js +0 -2
  625. package/chunks/overlapsOperator.js +0 -2
  626. package/chunks/proximityOperator.js +0 -2
  627. package/chunks/relateOperator.js +0 -2
  628. package/chunks/simplifyOperator.js +0 -2
  629. package/chunks/symmetricDifferenceOperator.js +0 -2
  630. package/chunks/touchesOperator.js +0 -2
  631. package/chunks/unionOperator.js +0 -2
  632. package/chunks/withinOperator.js +0 -2
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6619],{68197(t,e,n){n.d(e,{A:()=>u});var i=n(40876),r=n(4576),s=n(34727),o=n(56507);function a(t){return(0,s.qE)((0,o.Vr)(t),0,255)}function l(t,e){const n=t.toString(16).padStart(2,"0");return e?n.slice(0,1):n}class u{static blendColors(t,e,n,i=new u){return i.r=Math.round(t.r+(e.r-t.r)*n),i.g=Math.round(t.g+(e.g-t.g)*n),i.b=Math.round(t.b+(e.b-t.b)*n),i.a=t.a+(e.a-t.a)*n,i._sanitize()}static fromRgb(t,e){const n=(0,i.lT)(t);return n?u.fromArray(n,e):null}static fromHex(t,e=new u){const n=(0,i.oW)(t);return n?u.fromArray(n,e):null}static fromArray(t,e=new u){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const n=(0,i.Eq)(t);return n?u.fromArray(n,e):null}static fromJSON(t){return null!=t?new u([t[0],t[1],t[2],(t[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(t){return t??=[0,0,0,0],t[0]=this.r/255,t[1]=this.g/255,t[2]=this.b/255,t[3]=null!=this.a?this.a:1,t}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){if("string"==typeof t)u.fromString(t,this);else if((0,r.yc)(t))u.fromArray(t,this);else{const e=t;this._set(e.r??0,e.g??0,e.b??0,e.a??1),t instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,n=t?.digits??6,i=3===n||4===n,r=4===n||8===n,s=`#${l(this.r,i)}${l(this.g,i)}${l(this.b,i)}${r?l(Math.round(255*this.a),i):""}`;return e?s.toUpperCase():s}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const e=a(this.r),n=a(this.g),i=a(this.b);return 0===t||1!==this.a?[e,n,i,a(255*this.a)]:[e,n,i]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=(0,i.c1)(this.r),this.g=(0,i.c1)(this.g),this.b=(0,i.c1)(this.b),this.a=(0,i.G1)(this.a),this}_set(t,e,n,i){this.r=t,this.g=e,this.b=n,this.a=i}}u.prototype.declaredClass="esri.Color"},79608(t,e,n){n.d(e,{A:()=>c});var i=n(32198),r=n(69540),s=n(91429);let o=class extends r.Pw{constructor(t){super(t),this.type="web-scene"}equals(t){return this.type===t.type}};(0,i.Cg)([(0,s.MZ)()],o.prototype,"type",void 0),o=(0,i.Cg)([(0,s.$K)("esri.analysis.support.AnalysisOriginWebScene")],o);const a=o;var l=n(69622),u=n(4902),h=n(25482);let p=0,c=class extends((0,h.T)((0,r.OU)((0,u.s)(l.A)))){constructor(t){super(t),this.id=`${Date.now().toString(16)}-analysis-${p++}`,this.origin=null}get parent(){return this._get("parent")}set parent(t){const e=this.parent;if(null!=e)switch(e.type){case"line-of-sight":case"dimension":case"viewshed":e.releaseAnalysis(this);break;case"2d":case"3d":e.analyses.includes(this)&&e.analyses.remove(this)}this._set("parent",t)}equals(t){return this.type===t.type}};(0,i.Cg)([(0,s.MZ)({type:String,constructOnly:!0,clonable:!1})],c.prototype,"id",void 0),(0,i.Cg)([(0,s.MZ)({clonable:!1,value:null})],c.prototype,"parent",null),(0,i.Cg)([(0,s.MZ)({types:{key:"type",base:null,typeMap:{"web-scene":a}}})],c.prototype,"origin",void 0),c=(0,i.Cg)([(0,s.$K)("esri.analysis.Analysis")],c)},40876(t,e,n){n.d(e,{Eq:()=>d,G1:()=>g,TS:()=>s,V6:()=>r,Vm:()=>y,ay:()=>l,c1:()=>m,c4:()=>o,j5:()=>u,lT:()=>p,oW:()=>h,xV:()=>w});const i={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function r(t){return!!i[t]||!!i[t.toLowerCase()]}function s(t){return i[t]??i[t.toLowerCase()]}function o(t){return[...s(t)]}function a(t,e,n){n<0&&++n,n>1&&--n;const i=6*n;return i<1?t+(e-t)*i:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function l(t,e,n,i=1){const r=(t%360+360)%360/360,s=n<=.5?n*(e+1):n+e-n*e,o=2*n-s;return[Math.round(255*a(o,s,r+1/3)),Math.round(255*a(o,s,r)),Math.round(255*a(o,s,r-1/3)),i]}function u(t){const e=t.length>5,n=e?8:4,i=(1<<n)-1,r=e?1:17,s=e?9===t.length:5===t.length;let o=Number("0x"+t.slice(1));if(isNaN(o))return null;const a=[0,0,0,1];let l;return s&&(l=o&i,o>>=n,a[3]=r*l/255),l=o&i,o>>=n,a[2]=r*l,l=o&i,o>>=n,a[1]=r*l,l=o&i,o>>=n,a[0]=r*l,a}function h(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),n=parseInt(t.slice(2,3),16),i=parseInt(t.slice(3,4),16),r=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,n+16*n,i+16*i,(r+16*r)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function p(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),n=e[1];if("rgb"===n&&3===t.length||"rgba"===n&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),c(e)}return c(t.map(t=>parseFloat(t)))}if("hsl"===n&&3===t.length||"hsla"===n&&4===t.length)return l(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function c(t){return t[0]=m(t[0]),t[1]=m(t[1]),t[2]=m(t[2]),t[3]=4===t.length?g(t[3]):1,t}function d(t){let e=r(t)?s(t):null;return e??=p(t),e??=h(t),e}function y(t){const e=d(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function g(t){return f(t,0,1)}function m(t){return Math.round(f(t,0,255))}function f(t,e,n){return t=Number(t),isNaN(t)?n:t<e?e:t>n?n:t}const b=1/2.2;function w(t){return t**b}n.d(e,["iw",0,b])},69052(t,e,n){n.d(e,{hr:()=>r});var i=n(34727);class r{constructor(t,e){this.min=t,this.max=e,this.range=e-t}normalize(t,e=0,n=!1){return s(this.range,this.min,this.max,t,e,n)}clamp(t,e=0){return(0,i.qE)(t-e,this.min,this.max)+e}monotonic(t,e,n){return t<e?e:e+o(this.range,t-e,n)}minimalMonotonic(t,e,n){return s(this.range,t,t+this.range,e,n)}center(t,e,n){return e=this.monotonic(t,e,n),this.normalize((t+e)/2,n)}diff(t,e,n){return this.monotonic(t,e,n)-t}shortestSignedDiff(t,e){t=this.normalize(t);const n=(e=this.normalize(e))-t,i=e<t?this.minimalMonotonic(t,e)-t:e-this.minimalMonotonic(e,t);return Math.abs(n)<Math.abs(i)?n:i}contains(t,e,n){return e=this.minimalMonotonic(t,e),(n=this.minimalMonotonic(t,n))>t&&n<e}}function s(t,e,n,i,r=0,s=!1){return(i-=r)<e?i+=o(t,e-i):i>n&&(i-=o(t,i-n)),s&&i===n&&(i=e),i+r}function o(t,e,n=0){return Math.ceil((e-n)/t)*t+n}const a=new r(0,2*Math.PI),l=(new r(-Math.PI,Math.PI),new r(0,360));n.d(e,["ie",0,l,"uC",0,a])},62885(t,e,n){n.d(e,{H:()=>s,V:()=>r});var i=n(7762);function r(t,e,n=i.A){return e||(e=new n),e===t||e.destroyed||(e.removeAll(),(r=t)&&(Array.isArray(r)||"items"in r&&Array.isArray(r.items))?e.addMany(t):t&&e.add(t)),e;var r}function s(t){return t}},90629(t,e,n){n.d(e,{Lz:()=>r,PN:()=>s,cr:()=>o,gs:()=>l,r_:()=>u,tc:()=>a}),n(39829);const i=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function r(t){return t?t/72*96:0}function s(t){return t?72*t/96:0}function o(t){if("string"==typeof t){const e=t.match(i);if(e){const n=Number(e[1]),i=e[3]&&e[3].toLowerCase(),r=t.startsWith("-"),o="px"===i?s(n):n;return r?-o:o}return console.warn("screenUtils.toPt: input not recognized!"),null}return t}function a(t=0,e=0){return{x:t,y:e}}function l(t=0,e=0){return[t,e]}function u(t=0,e=0,n=0){return[t,e,n]}},48526(t,e,n){n.d(e,{A:()=>m});var i,r=n(32198),s=n(4576),o=n(4718),a=n(91429),l=n(5443),u=n(91075),h=n(86738),p=n(16930),c=n(90634),d=n(47610),y=n(56993),g=n(43937);let m=i=class extends u.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:n,hasZ:i,spatialReference:r}=t;switch(e??=[],e?.at(0)?.length){case 4:i??=!0,n??=!0;break;case 3:i??=!0!==n,n??=!i;break;default:i??=!1,n??=!1}return r??=p.A.WGS84,{...t,hasM:n,hasZ:i,points:e,spatialReference:r}}(t)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const t=(0,c.ge)(this);return t?new l.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,o.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:n,hasZ:r}=this;return new i({points:(0,o.o8)(t),spatialReference:e.clone(),hasM:n,hasZ:r})}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,n=t.spatialReference;return null!=e==(null!=n)&&!(null!=e&&null!=n&&!e.equals(n))&&(0,s.aI)(this.points,t.points,d.v6)}addPoint(t){return(0,y.h)(this,t),Array.isArray(t)?this.points.push(t):this.points.push(t.toArray()),this.notifyChange("points"),this}getPoint(t){if(!this._validateInputs(t))return null;const e=this.points[t],n={x:e[0],y:e[1],spatialReference:this.spatialReference};let i=2;return this.hasZ&&(n.z=e[2],i=3),this.hasM&&(n.m=e[i]),new h.A(n)}removePoint(t){if(!this._validateInputs(t))return null;const e=new h.A(this.points.splice(t,1)[0],this.spatialReference);return this.notifyChange("points"),e}setPoint(t,e){return this._validateInputs(t)?((0,y.h)(this,e),Array.isArray(e)||(e=e.toArray()),this.points[t]=e,this.notifyChange("points"),this):this}toJSON(t){return this.write({},t)}_validateInputs(t){return null!=t&&t>=0&&t<this.points.length}};(0,r.Cg)([(0,a.MZ)({readOnly:!0})],m.prototype,"cache",null),(0,r.Cg)([(0,a.MZ)({readOnly:!0})],m.prototype,"extent",null),(0,r.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],m.prototype,"points",void 0),(0,r.Cg)([(0,g.K)("points")],m.prototype,"writePoints",null),m=i=(0,r.Cg)([(0,a.$K)("esri.geometry.Multipoint")],m),m.prototype.toJSON.isDefaultToJSON=!0},82799(t,e,n){n.d(e,{A:()=>y});var i,r=n(32198),s=n(4718),o=n(91429),a=n(5443),l=n(91075),u=n(86738),h=n(16930),p=n(90634),c=n(56993),d=n(43937);let y=i=class extends l.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:n,hasZ:i,spatialReference:r}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:i??=!0,n??=!0;break;case 3:i??=!0!==n,n??=!i;break;default:i??=!1,n??=!1}return r??=h.A.WGS84,{...t,hasM:n,hasZ:i,paths:e,spatialReference:r}}(t)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(t,e){e.curvePaths=(0,s.o8)(t)}get extent(){const t=(0,p.Z3)(this),{spatialReference:e}=this;return t?new a.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,s.o8)(this.paths)}addPath(t){if(!t)return;const e=this.paths,n=e.length;if(function(t){return!Array.isArray(t[0])}(t)){const i=[];for(let e=0,n=t.length;e<n;e++)i[e]=t[e].toArray();e[n]=i}else e[n]=t.slice();return this.notifyChange("paths"),this}clone(){const t=new i;return t.spatialReference=this.spatialReference,t.paths=(0,s.o8)(this.paths),t.curvePaths=(0,s.o8)(this.curvePaths),t.hasZ=this.hasZ,t.hasM=this.hasM,t}getPoint(t,e){if(!this._validateInputs(t,e))return null;const n=this.paths[t][e],i=this.hasZ,r=this.hasM;return i&&!r?new u.A(n[0],n[1],n[2],void 0,this.spatialReference):r&&!i?new u.A(n[0],n[1],void 0,n[2],this.spatialReference):i&&r?new u.A(n[0],n[1],n[2],n[3],this.spatialReference):new u.A(n[0],n[1],this.spatialReference)}insertPoint(t,e,n){return this._validateInputs(t,e,!0)?((0,c.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[t].splice(e,0,n),this.notifyChange("paths"),this):this}removePath(t){if(!this._validateInputs(t,null))return null;const e=this.paths.splice(t,1)[0],n=this.spatialReference,i=e.map(t=>new u.A(t,n));return this.notifyChange("paths"),i}removePoint(t,e){if(!this._validateInputs(t,e))return null;const n=new u.A(this.paths[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("paths"),n}setPoint(t,e,n){return this._validateInputs(t,e)?((0,c.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[t][e]=n,this.notifyChange("paths"),this):this}_validateInputs(t,e,n=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){const i=this.paths[t];if(n&&(e<0||e>i.length))return!1;if(!n&&(e<0||e>=i.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,r.Cg)([(0,o.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],y.prototype,"curvePaths",void 0),(0,r.Cg)([(0,d.K)("curvePaths")],y.prototype,"writeCurvePaths",null),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,r.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],y.prototype,"paths",void 0),(0,r.Cg)([(0,d.K)("paths")],y.prototype,"writePaths",null),y=i=(0,r.Cg)([(0,o.$K)("esri.geometry.Polyline")],y),y.prototype.toJSON.isDefaultToJSON=!0},60408(t,e,n){function i(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function r(t){return void 0!==t.points}function s(t){return void 0!==t.x&&void 0!==t.y}function o(t){return void 0!==t.paths||void 0!==t.curvePaths}function a(t){return void 0!==t.rings||void 0!==t.curveRings}function l(t){return"object"==typeof t&&"vertexAttributes"in t}function u(t){return t?s(t)?"esriGeometryPoint":o(t)?"esriGeometryPolyline":a(t)?"esriGeometryPolygon":i(t)?"esriGeometryEnvelope":r(t)?"esriGeometryMultipoint":null:null}function h(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function p(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}n.d(e,{$B:()=>u,Bi:()=>a,Pv:()=>h,Rg:()=>o,U9:()=>r,W0:()=>p,ZC:()=>i,fT:()=>s,uW:()=>l})},71493(t,e,n){n.r(e),n.d(e,{default:()=>N});var i=n(32198),r=n(79608),s=n(68197),o=n(69540),a=n(25482),l=n(90629),u=n(91429),h=n(56507);let p=class extends((0,a.T)(o.Pw)){constructor(t){super(t),this.type="simple",this.color=new s.A("black"),this.textColor=new s.A("black"),this.textBackgroundColor=new s.A([255,255,255,.6])}get lineSize(){return this._get("lineSize")??2}set lineSize(t){this._set("lineSize",t)}get fontSize(){return this._get("fontSize")??10}set fontSize(t){this._set("fontSize",t)}equals(t){return this===t||this.color.equals(t.color)&&this.lineSize===t.lineSize&&this.fontSize===t.fontSize&&this.textColor.equals(t.textColor)&&this.textBackgroundColor.equals(t.textBackgroundColor)}};(0,i.Cg)([(0,u.MZ)({type:["simple"],readOnly:!0,json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,i.Cg)([(0,u.MZ)({type:s.A,nonNullable:!0,json:{type:[h.jz],write:{isRequired:!0}}})],p.prototype,"color",void 0),(0,i.Cg)([(0,u.MZ)({type:Number,cast:l.cr,nonNullable:!0,range:{min:(0,l.PN)(1)},json:{write:{isRequired:!0}}})],p.prototype,"lineSize",null),(0,i.Cg)([(0,u.MZ)({type:Number,cast:l.cr,nonNullable:!0,json:{write:{isRequired:!0}}})],p.prototype,"fontSize",null),(0,i.Cg)([(0,u.MZ)({type:s.A,nonNullable:!0,json:{type:[h.jz],write:{isRequired:!0}}})],p.prototype,"textColor",void 0),(0,i.Cg)([(0,u.MZ)({type:s.A,nonNullable:!0,json:{type:[h.jz],write:{isRequired:!0}}})],p.prototype,"textBackgroundColor",void 0),p=(0,i.Cg)([(0,u.$K)("esri.analysis.DimensionSimpleStyle")],p);var c=n(69052),d=n(97768),y=n(86738);let g=class extends((0,a.T)(o.Pw)){constructor(t){super(t),this.type="length",this.startPoint=null,this.endPoint=null,this.measureType="direct",this.offset=0,this.orientation=0}get valid(){return null!=this.startPoint&&null!=this.endPoint}equals(t){return this===t||(0,d.CM)(this.startPoint,t.startPoint)&&(0,d.CM)(this.endPoint,t.endPoint)&&this.measureType===t.measureType&&this.offset===t.offset&&this.orientation===t.orientation}};(0,i.Cg)([(0,u.MZ)({type:["length"],json:{write:{isRequired:!0}}})],g.prototype,"type",void 0),(0,i.Cg)([(0,u.MZ)({type:y.A,json:{write:{isRequired:!0}}})],g.prototype,"startPoint",void 0),(0,i.Cg)([(0,u.MZ)({type:y.A,json:{write:{isRequired:!0}}})],g.prototype,"endPoint",void 0),(0,i.Cg)([(0,u.MZ)({type:["horizontal","vertical","direct"],nonNullable:!0,json:{write:{isRequired:!0}}})],g.prototype,"measureType",void 0),(0,i.Cg)([(0,u.MZ)({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}})],g.prototype,"offset",void 0),(0,i.Cg)([(0,u.MZ)({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}}),(0,u.wg)(t=>c.ie.normalize((0,h.GB)(t),0,!0))],g.prototype,"orientation",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],g.prototype,"valid",null),g=(0,i.Cg)([(0,u.$K)("esri.analysis.LengthDimension")],g);var m=n(4576),f=n(7762),b=n(62885),w=n(36708),v=n(5443),C=n(99917);const M=f.A.ofType(g);let A=class extends r.A{constructor(t){super(t),this.type="dimension",this.style=new p,this.extent=null}initialize(){this.addHandles((0,w.wB)(()=>this._computeExtent(),t=>{null==t?.pending&&this._set("extent",null!=t?t.extent:null)},w.pc))}get dimensions(){return this._get("dimensions")||new M}set dimensions(t){this._set("dimensions",(0,b.V)(t,this.dimensions,M))}get spatialReference(){for(const t of this.dimensions){if(null!=t.startPoint)return t.startPoint.spatialReference;if(null!=t.endPoint)return t.endPoint.spatialReference}return null}get valid(){return this.dimensions.every(t=>t.valid)}async waitComputeExtent(){const t=this._computeExtent();return null!=t?t.pending:Promise.resolve()}_computeExtent(){const t=this.spatialReference;if(null==t)return{pending:null,extent:null};const e=[];for(const t of this.dimensions)null!=t.startPoint&&e.push(t.startPoint),null!=t.endPoint&&e.push(t.endPoint);const n=(0,C.projectOrLoadMany)(e,t);if(null!=n.pending)return{pending:n.pending,extent:null};let i=null;return null!=n.geometries&&(i=n.geometries.reduce((t,e)=>null==t?null!=e?v.A.fromPoint(e):null:null!=e?t.union(v.A.fromPoint(e)):t,null)),{pending:null,extent:i}}clear(){this.dimensions.removeAll()}equals(t){return this===t||super.equals(t)&&this.style.equals(t.style)&&(0,m.aI)(this.dimensions.toArray(),t.dimensions.toArray(),(t,e)=>t.equals(e))}};(0,i.Cg)([(0,u.MZ)({type:["dimension"]})],A.prototype,"type",void 0),(0,i.Cg)([(0,u.MZ)({cast:b.H,type:M,nonNullable:!0})],A.prototype,"dimensions",null),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],A.prototype,"spatialReference",null),(0,i.Cg)([(0,u.MZ)({types:{key:"type",base:null,typeMap:{simple:p}},nonNullable:!0})],A.prototype,"style",void 0),(0,i.Cg)([(0,u.MZ)({value:null,readOnly:!0})],A.prototype,"extent",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],A.prototype,"valid",null),A=(0,i.Cg)([(0,u.$K)("esri.analysis.DimensionAnalysis")],A);var P=n(25728),R=n(4146),x=n(34287),Z=n(43937);let k=class extends((0,x.q)((0,P.M)(R.A))){constructor(t){if(super(t),this.type="dimension",this.operationalLayerType="ArcGISDimensionLayer",this.source=new A,this.opacity=1,t){const{source:e,style:n}=t;e&&n&&(e.style=n)}}initialize(){this.addHandles([(0,w.wB)(()=>this.source,(t,e)=>{null!=e&&e.parent===this&&(e.parent=null),null!=t&&(t.parent=this)},w.pc)])}async load(){return this.addResolvingPromise(this.source.waitComputeExtent()),this}get spatialReference(){return this.source.spatialReference}get style(){return this.source.style}set style(t){this.source.style=t}get fullExtent(){return this.source.extent}releaseAnalysis(t){this.source===t&&(this.source=new A)}get analysis(){return this.source}set analysis(t){this.source=t}get dimensions(){return this.source.dimensions}set dimensions(t){this.source.dimensions=t}writeDimensions(t,e,n,i){e.dimensions=t.filter(({startPoint:t,endPoint:e})=>null!=t&&null!=e).toJSON(i)}};(0,i.Cg)([(0,u.MZ)({json:{read:!1},readOnly:!0})],k.prototype,"type",void 0),(0,i.Cg)([(0,u.MZ)({type:["ArcGISDimensionLayer"]})],k.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,u.MZ)({nonNullable:!0})],k.prototype,"source",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],k.prototype,"spatialReference",null),(0,i.Cg)([(0,u.MZ)({types:{key:"type",base:null,typeMap:{simple:p}},json:{write:{ignoreOrigin:!0}}})],k.prototype,"style",null),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],k.prototype,"fullExtent",null),(0,i.Cg)([(0,u.MZ)({readOnly:!0,json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}}})],k.prototype,"opacity",void 0),(0,i.Cg)([(0,u.MZ)({type:["show","hide"]})],k.prototype,"listMode",void 0),(0,i.Cg)([(0,u.MZ)({type:f.A.ofType(g),json:{write:{ignoreOrigin:!0},origins:{"web-scene":{write:{ignoreOrigin:!0}}}}})],k.prototype,"dimensions",null),(0,i.Cg)([(0,Z.K)("web-scene","dimensions")],k.prototype,"writeDimensions",null),k=(0,i.Cg)([(0,u.$K)("esri.layers.DimensionLayer")],k);const N=k},78553(t,e,n){n.d(e,{D:()=>s,p:()=>r});var i=n(56507);function r(t){const e=(0,i.Vr)(100*(1-t));return Math.max(0,Math.min(e,100))}function s(t){const e=1-t/100;return Math.max(0,Math.min(e,1))}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7886],{68197(t,e,r){r.d(e,{A:()=>u});var n=r(40876),i=r(4576),a=r(34727),s=r(56507);function o(t){return(0,a.qE)((0,s.Vr)(t),0,255)}function l(t,e){const r=t.toString(16).padStart(2,"0");return e?r.slice(0,1):r}class u{static blendColors(t,e,r,n=new u){return n.r=Math.round(t.r+(e.r-t.r)*r),n.g=Math.round(t.g+(e.g-t.g)*r),n.b=Math.round(t.b+(e.b-t.b)*r),n.a=t.a+(e.a-t.a)*r,n._sanitize()}static fromRgb(t,e){const r=(0,n.lT)(t);return r?u.fromArray(r,e):null}static fromHex(t,e=new u){const r=(0,n.oW)(t);return r?u.fromArray(r,e):null}static fromArray(t,e=new u){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const r=(0,n.Eq)(t);return r?u.fromArray(r,e):null}static fromJSON(t){return null!=t?new u([t[0],t[1],t[2],(t[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(t){return t??=[0,0,0,0],t[0]=this.r/255,t[1]=this.g/255,t[2]=this.b/255,t[3]=null!=this.a?this.a:1,t}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){if("string"==typeof t)u.fromString(t,this);else if((0,i.yc)(t))u.fromArray(t,this);else{const e=t;this._set(e.r??0,e.g??0,e.b??0,e.a??1),t instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,r=t?.digits??6,n=3===r||4===r,i=4===r||8===r,a=`#${l(this.r,n)}${l(this.g,n)}${l(this.b,n)}${i?l(Math.round(255*this.a),n):""}`;return e?a.toUpperCase():a}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const e=o(this.r),r=o(this.g),n=o(this.b);return 0===t||1!==this.a?[e,r,n,o(255*this.a)]:[e,r,n]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=(0,n.c1)(this.r),this.g=(0,n.c1)(this.g),this.b=(0,n.c1)(this.b),this.a=(0,n.G1)(this.a),this}_set(t,e,r,n){this.r=t,this.g=e,this.b=r,this.a=n}}u.prototype.declaredClass="esri.Color"},40876(t,e,r){r.d(e,{Eq:()=>y,G1:()=>m,TS:()=>a,V6:()=>i,Vm:()=>f,ay:()=>l,c1:()=>g,c4:()=>s,j5:()=>u,lT:()=>h,oW:()=>c,xV:()=>b});const n={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function i(t){return!!n[t]||!!n[t.toLowerCase()]}function a(t){return n[t]??n[t.toLowerCase()]}function s(t){return[...a(t)]}function o(t,e,r){r<0&&++r,r>1&&--r;const n=6*r;return n<1?t+(e-t)*n:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}function l(t,e,r,n=1){const i=(t%360+360)%360/360,a=r<=.5?r*(e+1):r+e-r*e,s=2*r-a;return[Math.round(255*o(s,a,i+1/3)),Math.round(255*o(s,a,i)),Math.round(255*o(s,a,i-1/3)),n]}function u(t){const e=t.length>5,r=e?8:4,n=(1<<r)-1,i=e?1:17,a=e?9===t.length:5===t.length;let s=Number("0x"+t.slice(1));if(isNaN(s))return null;const o=[0,0,0,1];let l;return a&&(l=s&n,s>>=r,o[3]=i*l/255),l=s&n,s>>=r,o[2]=i*l,l=s&n,s>>=r,o[1]=i*l,l=s&n,s>>=r,o[0]=i*l,o}function c(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),r=parseInt(t.slice(2,3),16),n=parseInt(t.slice(3,4),16),i=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,r+16*r,n+16*n,(i+16*i)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function h(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),r=e[1];if("rgb"===r&&3===t.length||"rgba"===r&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),p(e)}return p(t.map(t=>parseFloat(t)))}if("hsl"===r&&3===t.length||"hsla"===r&&4===t.length)return l(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function p(t){return t[0]=g(t[0]),t[1]=g(t[1]),t[2]=g(t[2]),t[3]=4===t.length?m(t[3]):1,t}function y(t){let e=i(t)?a(t):null;return e??=h(t),e??=c(t),e}function f(t){const e=y(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function m(t){return d(t,0,1)}function g(t){return Math.round(d(t,0,255))}function d(t,e,r){return t=Number(t),isNaN(t)?r:t<e?e:t>r?r:t}const _=1/2.2;function b(t){return t**_}r.d(e,["iw",0,_])},85334(t,e,r){r.d(e,{$:()=>d,IB:()=>s,Iy:()=>v,N2:()=>_,RH:()=>w,ZD:()=>b});var n=r(68197),i=r(4576),a=r(4718);function s(t){return"r"in t&&"g"in t&&"b"in t}function o(t){return"h"in t&&"s"in t&&"v"in t}function l(t){return"l"in t&&"a"in t&&"b"in t}function u(t){return"l"in t&&"c"in t&&"h"in t}r(34727),r(78955),r(91829);const c=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],h=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]];function p(t,e){const r=[];let n,i;if(t[0].length!==e.length)throw new Error("dimensions do not match");const a=t.length,s=t[0].length;let o=0;for(n=0;n<a;n++){for(o=0,i=0;i<s;i++)o+=t[n][i]*e[i];r.push(o)}return r}function y(t){const e=[t.r/255,t.g/255,t.b/255].map(t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4),r=p(c,e);return{x:100*r[0],y:100*r[1],z:100*r[2]}}function f(t){const e=p(h,[t.x/100,t.y/100,t.z/100]).map(t=>{const e=t<=.0031308?12.92*t:1.055*t**(1/2.4)-.055;return Math.min(1,Math.max(e,0))});return{r:Math.round(255*e[0]),g:Math.round(255*e[1]),b:Math.round(255*e[2])}}function m(t){const e=[t.x/95.047,t.y/100,t.z/108.883].map(t=>t>(6/29)**3?t**(1/3):1/3*(29/6)**2*t+4/29);return{l:116*e[1]-16,a:500*(e[0]-e[1]),b:200*(e[1]-e[2])}}function g(t){const e=t.l,r=[(e+16)/116+t.a/500,(e+16)/116,(e+16)/116-t.b/200].map(t=>t>6/29?t**3:3*(6/29)**2*(t-4/29));return{x:95.047*r[0],y:100*r[1],z:108.883*r[2]}}function d(t){return s(t)?t:u(t)?function(t){return f(g(function(t){const e=t.l,r=t.c,n=t.h;return{l:e,a:r*Math.cos(n),b:r*Math.sin(n)}}(t)))}(t):l(t)?function(t){return f(g(t))}(t):function(t){return"x"in t&&"y"in t&&"z"in t}(t)?f(t):o(t)?function(t){const e=(t.h+360)%360/60,r=t.s/100,n=t.v/100*255,i=n*r,a=i*(1-Math.abs(e%2-1));let s;switch(Math.floor(e)){case 0:s={r:i,g:a,b:0};break;case 1:s={r:a,g:i,b:0};break;case 2:s={r:0,g:i,b:a};break;case 3:s={r:0,g:a,b:i};break;case 4:s={r:a,g:0,b:i};break;case 5:case 6:s={r:i,g:0,b:a};break;default:s={r:0,g:0,b:0}}return s.r=Math.round(s.r+n-i),s.g=Math.round(s.g+n-i),s.b=Math.round(s.b+n-i),s}(t):t}function _(t){return o(t)?t:function(t){const{r:e,g:r,b:n}=t,i=Math.max(e,r,n),a=i-Math.min(e,r,n);let s=i,o=0===a?0:i===e?(r-n)/a%6:i===r?(n-e)/a+2:(e-r)/a+4,l=0===a?0:a/s;return o<0&&(o+=6),o*=60,l*=100,s*=100/255,{h:o,s:l,v:s}}(d(t))}function b(t){return l(t)?t:function(t){return m(y(t))}(d(t))}function w(t){return u(t)?t:function(t){return function(t){const e=t.l,r=t.a,n=t.b,i=Math.sqrt(r*r+n*n);let a=Math.atan2(n,r);return a=a>0?a:a+2*Math.PI,{l:e,c:i,h:a}}(m(y(t)))}(d(t))}function v(t,e,r={}){if(0===t.length||e<=0)return[];if(1===(t=t.map(t=>"string"==typeof t?new n.A(t):t)).length||1===e){const r=[],n=t[0];for(let t=0;t<e;t++)r.push(n.clone());return r}if(r.shuffle&&(t=(0,i.k4)((0,a.o8)(t),r.seed)),t.length>=e){const r=[],n=(t.length-1)/(e-1);for(let i=0;i<e;i++){const e=Math.round(i*n);r.push(t[e].clone())}return r}return function(t,e,r={}){const n=[],a=t.length-1,s=Math.ceil((e-t.length)/a);t:for(let i=0;i<a;i++){const a=t[i],o=t[i+1];for(let i=1;i<=s;i++){const l=i/(s+1);if(n.push(E(a,o,l,r)),n.length+t.length===e)break t}}return[...t.map(t=>t.clone()),...(0,i.k4)(n,r.seed??1)]}(t,e,r)}const T=(t,e)=>{const r=Math.floor(10*e())-5;return Math.min(255,Math.max(0,t+r))};function E(t,e,r,a={}){const s=t.r,o=t.g,l=t.b,u=e.r,c=e.g,h=e.b,p=Math.round(s+(u-s)*r),y=Math.round(o+(c-o)*r),f=Math.round(l+(h-l)*r);if(!a.offset)return new n.A([p,y,f]);const m=(0,i.Mo)(a.seed);return new n.A([T(p,m),T(y,m),T(f,m)])}},91829(t,e,r){function n(){return[0,0,0,0]}function i(t,e,r,n){return[t,e,r,n]}function a(){return i(1,1,1,1)}function s(){return i(1,0,0,0)}function o(){return i(0,1,0,0)}function l(){return i(0,0,1,0)}function u(){return i(0,0,0,1)}r.d(e,{_Y:()=>u,fA:()=>i,vt:()=>n});const c=[0,0,0,0],h=a(),p=s(),y=o(),f=l(),m=u();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_W:m,UNIT_X:p,UNIT_Y:y,UNIT_Z:f,ZEROS:c,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:n,freeze:function(t,e,r,n){return[t,e,r,n]},fromArray:function(t,e=[0,0,0,0]){const r=Math.min(4,t.length);for(let n=0;n<r;++n)e[n]=t[n];return e},fromValues:i,ones:a,unitW:u,unitX:s,unitY:o,unitZ:l,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"})),r.d(e,["Un",0,h,"uY",0,c])},78955(t,e,r){r.d(e,{Bw:()=>g,C:()=>i,Cc:()=>w,LI:()=>p,Om:()=>b,S8:()=>_,T9:()=>h,WQ:()=>s,Z0:()=>v,aI:()=>E,hG:()=>m,hZ:()=>a,hs:()=>y,jk:()=>c,m3:()=>d,t2:()=>T});var n=r(34304);function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function a(t,e,r,n,i){return t[0]=e,t[1]=r,t[2]=n,t[3]=i,t}function s(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t[3]=e[3]+r[3],t}function o(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t[3]=e[3]-r[3],t}function l(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t[2]=e[2]*r[2],t[3]=e[3]*r[3],t}function u(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t[2]=e[2]/r[2],t[3]=e[3]/r[3],t}function c(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t[2]=Math.min(e[2],r[2]),t[3]=Math.min(e[3],r[3]),t}function h(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t[2]=Math.max(e[2],r[2]),t[3]=Math.max(e[3],r[3]),t}function p(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t[3]=Math.round(e[3]),t}function y(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t}function f(t,e){const r=e[0]-t[0],n=e[1]-t[1],i=e[2]-t[2],a=e[3]-t[3];return Math.sqrt(r*r+n*n+i*i+a*a)}function m(t,e){const r=e[0]-t[0],n=e[1]-t[1],i=e[2]-t[2],a=e[3]-t[3];return r*r+n*n+i*i+a*a}function g(t){const e=t[0],r=t[1],n=t[2],i=t[3];return Math.sqrt(e*e+r*r+n*n+i*i)}function d(t){const e=t[0],r=t[1],n=t[2],i=t[3];return e*e+r*r+n*n+i*i}function _(t,e){const r=e[0],n=e[1],i=e[2],a=e[3];let s=r*r+n*n+i*i+a*a;return s>0&&(s=1/Math.sqrt(s),t[0]=r*s,t[1]=n*s,t[2]=i*s,t[3]=a*s),t}function b(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function w(t,e,r,n){const i=e[0],a=e[1],s=e[2],o=e[3];return t[0]=i+n*(r[0]-i),t[1]=a+n*(r[1]-a),t[2]=s+n*(r[2]-s),t[3]=o+n*(r[3]-o),t}function v(t,e,r){const n=e[0],i=e[1],a=e[2],s=e[3];return t[0]=r[0]*n+r[4]*i+r[8]*a+r[12]*s,t[1]=r[1]*n+r[5]*i+r[9]*a+r[13]*s,t[2]=r[2]*n+r[6]*i+r[10]*a+r[14]*s,t[3]=r[3]*n+r[7]*i+r[11]*a+r[15]*s,t}function T(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function E(t,e){const r=t[0],i=t[1],a=t[2],s=t[3],o=e[0],l=e[1],u=e[2],c=e[3],h=(0,n.FD)();return Math.abs(r-o)<=h*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(i-l)<=h*Math.max(1,Math.abs(i),Math.abs(l))&&Math.abs(a-u)<=h*Math.max(1,Math.abs(a),Math.abs(u))&&Math.abs(s-c)<=h*Math.max(1,Math.abs(s),Math.abs(c))}const x=o,I=l,P=u,D=f,S=m,L=g,A=d;Object.freeze(Object.defineProperty({__proto__:null,add:s,ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t[3]=Math.ceil(e[3]),t},copy:i,copyVec3:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},dist:D,distance:f,div:P,divide:u,dot:b,equals:E,exactEquals:T,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t[3]=Math.floor(e[3]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},len:L,length:g,lerp:w,max:h,min:c,mul:I,multiply:l,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},normalize:_,random:function(t,e=1){const r=n.Ov;let i,a,s,o,l,u;do{i=2*r()-1,a=2*r()-1,l=i*i+a*a}while(l>=1);do{s=2*r()-1,o=2*r()-1,u=s*s+o*o}while(u>=1);const c=Math.sqrt((1-l)/u);return t[0]=e*i,t[1]=e*a,t[2]=e*s*c,t[3]=e*o*c,t},round:p,scale:y,scaleAndAdd:function(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t[3]=e[3]+r[3]*n,t},set:a,sqrDist:S,sqrLen:A,squaredDistance:m,squaredLength:d,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:x,subtract:o,transformMat4:v,transformQuat:function(t,e,r){const n=e[0],i=e[1],a=e[2],s=r[0],o=r[1],l=r[2],u=r[3],c=u*n+o*a-l*i,h=u*i+l*n-s*a,p=u*a+s*i-o*n,y=-s*n-o*i-l*a;return t[0]=c*u+y*-s+h*-l-p*-o,t[1]=h*u+y*-o+p*-s-c*-l,t[2]=p*u+y*-l+c*-o-h*-s,t[3]=e[3],t}},Symbol.toStringTag,{value:"Module"}))},60408(t,e,r){function n(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function i(t){return void 0!==t.points}function a(t){return void 0!==t.x&&void 0!==t.y}function s(t){return void 0!==t.paths||void 0!==t.curvePaths}function o(t){return void 0!==t.rings||void 0!==t.curveRings}function l(t){return"object"==typeof t&&"vertexAttributes"in t}function u(t){return t?a(t)?"esriGeometryPoint":s(t)?"esriGeometryPolyline":o(t)?"esriGeometryPolygon":n(t)?"esriGeometryEnvelope":i(t)?"esriGeometryMultipoint":null:null}function c(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function h(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}r.d(e,{$B:()=>u,Bi:()=>o,Pv:()=>c,Rg:()=>s,U9:()=>i,W0:()=>h,ZC:()=>n,fT:()=>a,uW:()=>l})},4264(t,e,r){r.d(e,{lf:()=>Lt,L:()=>Mt,A4:()=>At,aR:()=>kt,tU:()=>Rt,V1:()=>Nt,uU:()=>Ot});var n=r(19419),i=r(13195),a=r(89518),s=r(68572),o=r(63907),l=r(85079),u=r(74038);class c{constructor(t){this._precisionFactors={},this._key=t}get key(){return this._key}get type(){return 7&this._key}defines(){return[]}getStride(){return this._geometryLayout||this._buildMaterialInfo(),this._stride}getAttributeLocations(){return this._geometryLayout||this._buildMaterialInfo(),this._locations}getPrecisionFactors(){return this._precisionFactors||this._buildMaterialInfo(),this._precisionFactors}get geometryLayout(){return this._geometryLayout||this._buildMaterialInfo(),this._geometryLayout}getEncodingInfos(){return this._propertyEncodingInfo||this._buildMaterialInfo(),this._propertyEncodingInfo}getUniforms(){return this._uniforms||this._buildMaterialInfo(),this._uniforms}getUsedAttributes(){return this._usedAttributes||this._buildMaterialInfo(),this._usedAttributes}encodeAttributes(t,e,r,n){const i=this.propertyInfos,a=this.getEncodingInfos(),s=[],o=Math.ceil(this._ddStrideInBytes/4);for(let t=0;t<o;t++)s.push(0);for(const o of Object.keys(a)){const l=a[o],{type:u,precisionFactor:c,isLayout:h}=i[o],p=h?r.getLayoutProperty(o):r.getPaintProperty(o),y=p.interpolator?.getInterpolationRange(e);let f=0;for(const r of l){const{offset:i}=r,a=Math.floor(i/4),o=i%4*8,l=n??p.getValue(y?y[f]:e,t),h=c||1;switch(u){case 0:case 1:s[a]|=this._encodeByte(l*h,0)<<o;break;case 2:case 3:s[a]|=this._encodeShort(l*h,0)<<o;break;case 4:case 5:{const t=this._encodeByte(l*h,0),e=this._encodeByte(l*h,8);s[a]|=t<<o,s[a]|=e<<o}break;case 6:case 7:s[a]|=this._encodeShort(l*h,0),s[a]|=this._encodeShort(l*h,16);break;case 8:case 9:s[a]|=this._encodeByte(l*h,0),s[a]|=this._encodeByte(l*h,8),s[a]|=this._encodeByte(l*h,16),s[a]|=this._encodeByte(l*h,24);break;case 10:s[a]=this._encodeColor(l);break;case 11:case 12:this._encodePattern(a,s,l);break;default:throw new Error("Unsupported encoding type")}f++}}return s}getAtributeState(t){let e=0;const r=3+2*t;return e|=this._bit(r),e|=this._bit(r+1)<<1,e}static{this._encodingInfo={0:{dataType:o.pe.BYTE,bytesPerElement:1,count:1,normalized:!1},1:{dataType:o.pe.UNSIGNED_BYTE,bytesPerElement:1,count:1,normalized:!1},2:{dataType:o.pe.SHORT,bytesPerElement:2,count:1,normalized:!1},3:{dataType:o.pe.UNSIGNED_SHORT,bytesPerElement:2,count:1,normalized:!1},4:{dataType:o.pe.BYTE,bytesPerElement:1,count:2,normalized:!1},5:{dataType:o.pe.UNSIGNED_BYTE,bytesPerElement:1,count:2,normalized:!1},6:{dataType:o.pe.SHORT,bytesPerElement:2,count:2,normalized:!1},7:{dataType:o.pe.UNSIGNED_SHORT,bytesPerElement:2,count:2,normalized:!1},8:{dataType:o.pe.BYTE,bytesPerElement:1,count:4,normalized:!1},9:{dataType:o.pe.UNSIGNED_BYTE,bytesPerElement:1,count:4,normalized:!1},10:{dataType:o.pe.UNSIGNED_BYTE,bytesPerElement:1,count:4,normalized:!0},11:{dataType:o.pe.UNSIGNED_SHORT,bytesPerElement:2,count:4,normalized:!1},12:{dataType:o.pe.UNSIGNED_SHORT,bytesPerElement:2,count:4,normalized:!1}}}_getLayoutElementsForPropertyState(t,e,r){const n=r[t],i=n.name,{count:a,dataType:s,normalized:o}=c._encodingInfo[n.type],{attribueIdx:l,precisionFactor:u}=n,h=u||1,p=[{location:l[0],name:i,propertyName:t,count:a,type:s,normalized:o,precisionFactor:h}];if(this._precisionFactors[i]=h,2===e){const e=`${i}To`;p.push({location:l[1],name:e,propertyName:t,count:a,type:s,normalized:o,precisionFactor:h}),this._precisionFactors[e]=h}return p}_buildMaterialInfo(){const t=[];this._propertyEncodingInfo={};const e={},r=this.properties,n=this.propertyInfos;let i=-1;for(const a of r){i++;const r=n[a].name;e[r]=!1,e[`${r}To`]=!1;const s=this.getAtributeState(i);if(0===s||3===s)continue;const o=this._getLayoutElementsForPropertyState(a,s,n);t.push(...o)}for(const r of t)e[r.name]=!0;const a=function(t){const e=(0,s.H)(t),r=[];let n=0;for(const t of e)r.push({...t,offset:n}),n+=h(t.type)*t.count;return r}(t);this._buildLayout(a),this._buildShaderUniforms(),this._usedAttributes=e}_buildLayout(t){this.opacityLayout?this._locations=(0,l._u)([this.baseGeometryLayout,this.opacityLayout]):this._locations=(0,l.Xk)(this.baseGeometryLayout);const e=this.baseGeometryLayout;let r=e[0].stride;const n=[];let i=0;for(const e of t)i+=h(e.type)*e.count;r=p(r+i);for(const t of e)n.push(new u._(t.name,t.count,t.type,t.offset,r,t.normalized));let a=0;for(const i of t)n.push(new u._(i.name,i.count,i.type,e[0].stride+a,r,i.normalized)),void 0===this._propertyEncodingInfo[i.propertyName]&&(this._propertyEncodingInfo[i.propertyName]=[]),this._propertyEncodingInfo[i.propertyName].push({offset:a}),a+=h(i.type)*i.count;this._ddStrideInBytes=a,this._geometryLayout=n;const s=this._locations;for(const e of t)s.set(e.name,e.location);this._stride=r}_buildShaderUniforms(){const t=[],e=this.properties,r=this.propertyInfos;let n=-1;for(const i of e){n++;const{name:e,type:a,isLayout:s}=r[i];switch(this.getAtributeState(n)){case 0:t.push({name:e,getValue:(t,e,r,n)=>{const o=s?t.getLayoutValue(i,e):t.getPaintValue(i,e);switch(a){case 11:{const r=t.getDashKey(o,t.getLayoutValue("line-cap",e)),i=n.getMosaicItemPosition(r,!1);if(null==i)return null;const{tl:a,br:s}=i;return[a[0],s[1],s[0],a[1]]}case 12:{const t=n.getMosaicItemPosition(o,!i.includes("line-"));if(null==t)return null;const{tl:e,br:r}=t;return[e[0],r[1],r[0],e[1]]}case 10:{const t=o[3];return[t*o[0],t*o[1],t*o[2],t]}default:return o}}});break;case 2:{const r=`${e}Mix`;t.push({name:r,getValue:(t,e,r,n)=>(s?t.getLayoutProperty(i):t.getPaintProperty(i)).interpolator.interpolationUniformValue(r,e)})}}}this._uniforms=t}_bit(t){return(this._key&1<<t)>>t}_encodeColor(t){const e=255*t[3];return(0,a.Ss)(t[0]*e,t[1]*e,t[2]*e,e)}_encodePattern(t,e,r){if(!r?.rect)return;const n=r.rect,i=r.width,a=r.height;e[t]=this._encodeShort(n.x+2,0),e[t]|=this._encodeShort(n.y+2+a,16),e[t+1]=this._encodeShort(n.x+2+i,0),e[t+1]|=this._encodeShort(n.y+2,16)}_encodeByte(t,e){return(255&t)<<e}_encodeShort(t,e){return(65535&t)<<e}}const h=t=>{switch(t){case o.pe.FLOAT:case o.pe.INT:case o.pe.UNSIGNED_INT:return 4;case o.pe.SHORT:case o.pe.UNSIGNED_SHORT:case o.pe.HALF_FLOAT:return 2;case o.pe.BYTE:case o.pe.UNSIGNED_BYTE:return 1}},p=t=>t+3&-4;class y extends c{static{this.ATTRIBUTES=[]}static{this.GEOMETRY_LAYOUT=[new u._("position",2,o.pe.SHORT,0,4)]}static{this.ATTRIBUTES_INFO={}}constructor(t){super(t),this.baseGeometryLayout=y.GEOMETRY_LAYOUT,this.properties=y.ATTRIBUTES,this.propertyInfos=y.ATTRIBUTES_INFO}}class f extends c{static{this.ATTRIBUTES=["circle-radius","circle-color","circle-opacity","circle-stroke-width","circle-stroke-color","circle-stroke-opacity","circle-blur"]}static{this.GEOMETRY_LAYOUT=[new u._("position",2,o.pe.SHORT,0,4)]}static{this.ATTRIBUTES_INFO={"circle-radius":{name:"radius",type:1,attribueIdx:[1,8]},"circle-color":{name:"color",type:10,attribueIdx:[2,9]},"circle-opacity":{name:"opacity",type:1,attribueIdx:[3,10],precisionFactor:100},"circle-stroke-width":{name:"strokeWidth",type:1,attribueIdx:[4,11],precisionFactor:4},"circle-stroke-color":{name:"strokeColor",type:10,attribueIdx:[5,12]},"circle-stroke-opacity":{name:"strokeOpacity",type:1,attribueIdx:[6,13],precisionFactor:100},"circle-blur":{name:"blur",type:1,attribueIdx:[7,14],precisionFactor:32}}}constructor(t){super(t),this.baseGeometryLayout=f.GEOMETRY_LAYOUT,this.properties=f.ATTRIBUTES,this.propertyInfos=f.ATTRIBUTES_INFO}}class m extends c{static{this.ATTRIBUTES=["fill-color","fill-opacity","fill-pattern"]}static{this.GEOMETRY_LAYOUT=[new u._("position",2,o.pe.SHORT,0,4)]}static{this.ATTRIBUTES_INFO={"fill-color":{name:"color",type:10,attribueIdx:[1,4]},"fill-opacity":{name:"opacity",type:1,precisionFactor:100,attribueIdx:[2,5]},"fill-pattern":{name:"tlbr",type:12,isOptional:!0,attribueIdx:[3,3]}}}constructor(t){super(t),this.baseGeometryLayout=m.GEOMETRY_LAYOUT,this.properties=m.ATTRIBUTES,this.propertyInfos=m.ATTRIBUTES_INFO}}class g extends c{static{this.ATTRIBUTES_OUTLINE=["fill-outline-color","fill-opacity"]}static{this.ATTRIBUTES_FILL=["fill-color","fill-opacity"]}static{this.GEOMETRY_LAYOUT=[new u._("position",2,o.pe.SHORT,0,8),new u._("offset",2,o.pe.BYTE,4,8),new u._("normal",2,o.pe.BYTE,6,8)]}static{this.ATTRIBUTES_INFO_OUTLINE={"fill-outline-color":{name:"color",type:10,attribueIdx:[3,5]},"fill-opacity":{name:"opacity",type:1,precisionFactor:100,attribueIdx:[4,6]}}}static{this.ATTRIBUTES_INFO_FILL={"fill-color":{name:"color",type:10,attribueIdx:[3,5]},"fill-opacity":{name:"opacity",type:1,precisionFactor:100,attribueIdx:[4,6]}}}constructor(t,e){super(t),this.baseGeometryLayout=g.GEOMETRY_LAYOUT,this.properties=e?g.ATTRIBUTES_FILL:g.ATTRIBUTES_OUTLINE,this.propertyInfos=e?g.ATTRIBUTES_INFO_FILL:g.ATTRIBUTES_INFO_OUTLINE}}class d extends c{static{this.ATTRIBUTES=["line-color","line-width","line-opacity","line-blur","line-offset","line-pattern","line-dasharray"]}static{this.GEOMETRY_LAYOUT=[new u._("position",2,o.pe.SHORT,0,16),new u._("extrudeOffset",4,o.pe.BYTE,4,16),new u._("directionNormal",4,o.pe.BYTE,8,16),new u._("accumulatedDistance",2,o.pe.UNSIGNED_SHORT,12,16)]}static{this.ATTRIBUTES_INFO={"line-color":{name:"color",type:10,attribueIdx:[4,10]},"line-width":{name:"width",type:1,attribueIdx:[5,11],precisionFactor:2},"line-opacity":{name:"opacity",type:1,attribueIdx:[6,12],precisionFactor:100},"line-blur":{name:"blur",type:1,attribueIdx:[7,13],precisionFactor:4},"line-offset":{name:"offset",type:0,attribueIdx:[8,14],precisionFactor:2},"line-pattern":{name:"tlbr",type:12,attribueIdx:[9,9],isOptional:!0},"line-dasharray":{name:"tlbr",type:11,attribueIdx:[9,9],isOptional:!0}}}constructor(t){super(t),this.baseGeometryLayout=d.GEOMETRY_LAYOUT,this.properties=d.ATTRIBUTES,this.propertyInfos=d.ATTRIBUTES_INFO}}const _=[new u._("positionAndOffset",4,o.pe.SHORT,0,16),new u._("iconInfo",4,o.pe.UNSIGNED_SHORT,8,16)],b=[new u._("opacityInfo",1,o.pe.UNSIGNED_BYTE,0,1)];class w extends c{static{this.ATTRIBUTES=["icon-color","icon-opacity","icon-halo-blur","icon-halo-color","icon-halo-width","icon-size"]}static{this.ATTRIBUTES_INFO={"icon-color":{name:"color",type:10,attribueIdx:[2,8]},"icon-opacity":{name:"opacity",type:1,precisionFactor:100,attribueIdx:[3,9]},"icon-halo-color":{name:"haloColor",type:10,attribueIdx:[4,10]},"icon-halo-width":{name:"haloWidth",type:1,precisionFactor:4,attribueIdx:[5,11]},"icon-halo-blur":{name:"haloBlur",type:1,precisionFactor:4,attribueIdx:[6,12]},"icon-size":{name:"size",type:1,precisionFactor:32,isLayout:!0,attribueIdx:[7,13]}}}constructor(t){super(t),this.baseGeometryLayout=_,this.opacityLayout=b,this.properties=w.ATTRIBUTES,this.propertyInfos=w.ATTRIBUTES_INFO}}class v extends c{static{this.ATTRIBUTES=["text-color","text-opacity","text-halo-blur","text-halo-color","text-halo-width","text-size"]}static{this.ATTRIBUTES_INFO={"text-color":{name:"color",type:10,attribueIdx:[4,10]},"text-opacity":{name:"opacity",type:1,precisionFactor:100,attribueIdx:[3,9]},"text-halo-color":{name:"haloColor",type:10,attribueIdx:[5,11]},"text-halo-width":{name:"haloWidth",type:1,precisionFactor:4,attribueIdx:[6,12]},"text-halo-blur":{name:"haloBlur",type:1,precisionFactor:4,attribueIdx:[7,13]},"text-size":{name:"size",type:1,isLayout:!0,attribueIdx:[2,8]}}}constructor(t){super(t),this.baseGeometryLayout=_,this.opacityLayout=b,this.properties=v.ATTRIBUTES,this.propertyInfos=v.ATTRIBUTES_INFO}}var T=r(68197),E=r(85334);function x(t,e,r,n){const i=3*t,a=3*(r-t)-i,s=1-i-a,o=3*e,l=3*(n-e)-o,u=1-o-l;function c(t){return((s*t+a)*t+i)*t}function h(t){return(3*s*t+2*a)*t+i}return function(t,e=1e-6){return function(t){return((u*t+l)*t+o)*t}(function(t,e){let r,n,i,a,s,o;for(i=t,o=0;o<8;o++){if(a=c(i)-t,Math.abs(a)<e)return i;if(s=h(i),Math.abs(s)<1e-6)break;i-=a/s}if(r=0,n=1,i=t,i<r)return r;if(i>n)return n;for(;r<n;){if(a=c(i),Math.abs(a-t)<e)return i;t>a?r=i:n=i,i=.5*(n-r)+r}return i}(t,e))}}const I={ease:x(.25,.1,.25,1),linear:x(0,0,1,1),easeIn:x(.42,0,1,1),easeOut:x(0,0,.58,1),easeInOut:x(.42,0,.58,1)};I["ease-in"]=I.easeIn,I["ease-out"]=I.easeOut,I["ease-in-out"]=I.easeInOut;const P={kind:"null"},D={kind:"number"},S={kind:"string"},L={kind:"boolean"},A={kind:"color"},R={kind:"object"},N={kind:"value"};function M(t,e){return{kind:"array",itemType:t,n:e}}const k=[P,D,S,L,A,R,M(N)];function O(t){if("array"===t.kind){const e=O(t.itemType);return"number"==typeof t.n?`array<${e}, ${t.n}>`:"value"===t.itemType.kind?"array":`array<${e}>`}return t.kind}function B(t){if(null===t)return P;if("string"==typeof t)return S;if("boolean"==typeof t)return L;if("number"==typeof t)return D;if(t instanceof T.A)return A;if(Array.isArray(t)){let e;for(const r of t){const t=B(r);if(e){if(e!==t){e=N;break}}else e=t}return M(e||N,t.length)}return"object"==typeof t?R:N}function U(t,e){if("array"===e.kind)return"array"===t.kind&&(0===t.n&&"value"===t.itemType.kind||U(t.itemType,e.itemType))&&("number"!=typeof e.n||e.n===t.n);if("value"===e.kind)for(const e of k)if(U(t,e))return!0;return e.kind===t.kind}function G(t){if(null===t)return"";const e=typeof t;return"string"===e?t:"number"===e||"boolean"===e?String(t):t instanceof T.A?t.toString():JSON.stringify(t)}class F{constructor(t){this._parent=t,this._vars={}}add(t,e){this._vars[t]=e}get(t){return this._vars[t]?this._vars[t]:this._parent?this._parent.get(t):null}}class z{constructor(){this.type=N}static parse(t){if(t.length>1)throw new Error('"id" does not expect arguments');return new z}evaluate(t,e){return t?.id}}class V{constructor(){this.type=S}static parse(t){if(t.length>1)throw new Error('"geometry-type" does not expect arguments');return new V}evaluate(t,e){if(!t)return null;switch(t.type){case 1:return"Point";case 2:return"LineString";case 3:return"Polygon";default:return null}}}class C{constructor(){this.type=R}static parse(t){if(t.length>1)throw new Error('"properties" does not expect arguments');return new C}evaluate(t,e){return t?.values}}class H{constructor(){this.type=D}static parse(t){if(t.length>1)throw new Error('"zoom" does not expect arguments');return new H}evaluate(t,e){return e}}class ${constructor(t,e,r){this._lhs=t,this._rhs=e,this._compare=r,this.type=L}static parse(t,e,r){if(3!==t.length&&4!==t.length)throw new Error(`"${t[0]}" expects 2 or 3 arguments`);if(4===t.length)throw new Error(`"${t[0]}" collator not supported`);return new $(Tt(t[1],e),Tt(t[2],e),r)}evaluate(t,e){return this._compare(this._lhs.evaluate(t,e),this._rhs.evaluate(t,e))}}class Y{constructor(t){this._arg=t,this.type=L}static parse(t,e){if(2!==t.length)throw new Error('"!" expects 1 argument');return new Y(Tt(t[1],e))}evaluate(t,e){return!this._arg.evaluate(t,e)}}class q{constructor(t){this._args=t,this.type=L}static parse(t,e){const r=[];for(let n=1;n<t.length;n++)r.push(Tt(t[n],e));return new q(r)}evaluate(t,e){for(const r of this._args)if(!r.evaluate(t,e))return!1;return!0}}class j{constructor(t){this._args=t,this.type=L}static parse(t,e){const r=[];for(let n=1;n<t.length;n++)r.push(Tt(t[n],e));return new j(r)}evaluate(t,e){for(const r of this._args)if(r.evaluate(t,e))return!0;return!1}}class W{constructor(t){this._args=t,this.type=L}static parse(t,e){const r=[];for(let n=1;n<t.length;n++)r.push(Tt(t[n],e));return new W(r)}evaluate(t,e){for(const r of this._args)if(r.evaluate(t,e))return!1;return!0}}class Z{constructor(t,e,r){this.type=t,this._args=e,this._fallback=r}static parse(t,e,r){if(t.length<4)throw new Error('"case" expects at least 3 arguments');if(t.length%2==1)throw new Error('"case" expects an odd number of arguments');let n;const i=[];for(let a=1;a<t.length-1;a+=2){const s=Tt(t[a],e),o=Tt(t[a+1],e,r);n||(n=o.type),i.push({condition:s,output:o})}const a=Tt(t[t.length-1],e,r);return n||(n=a.type),new Z(n,i,a)}evaluate(t,e){for(const r of this._args)if(r.condition.evaluate(t,e))return r.output.evaluate(t,e);return this._fallback.evaluate(t,e)}}class X{constructor(t,e){this.type=t,this._args=e}static parse(t,e){if(t.length<2)throw new Error('"coalesce" expects at least 1 argument');let r;const n=[];for(let i=1;i<t.length;i++){const a=Tt(t[i],e);r||(r=a.type),n.push(a)}return new X(r,n)}evaluate(t,e){for(const r of this._args){const n=r.evaluate(t,e);if(null!==n)return n}return null}}class K{constructor(t,e,r,n,i){this.type=t,this._input=e,this._labels=r,this._outputs=n,this._fallback=i}static parse(t,e){if(t.length<3)throw new Error('"match" expects at least 3 arguments');if(t.length%2==0)throw new Error('"case" expects an even number of arguments');let r;const n=Tt(t[1],e),i=[],a={};let s;for(let n=2;n<t.length-1;n+=2){let o=t[n];Array.isArray(o)||(o=[o]);for(const t of o){const e=typeof t;if("string"!==e&&"number"!==e)throw new Error('"match" requires string or number literal as labels');if(s){if(e!==s)throw new Error('"match" requires labels to have the same type')}else s=e;a[t]=i.length}const l=Tt(t[n+1],e);r||(r=l.type),i.push(l)}return new K(r,n,a,i,Tt(t[t.length-1],e))}evaluate(t,e){const r=this._input.evaluate(t,e);return(this._outputs[this._labels[r]]||this._fallback).evaluate(t,e)}}class J{constructor(t,e,r,n,i){this._operator=t,this.type=e,this.interpolation=r,this.input=n,this._stops=i}static parse(t,e,r){const n=t[0];if(t.length<5)throw new Error(`"${n}" expects at least 4 arguments`);const i=t[1];if(!Array.isArray(i)||0===i.length)throw new Error(`"${i}" is not a valid interpolation`);switch(i[0]){case"linear":if(1!==i.length)throw new Error("Linear interpolation cannot have parameters");break;case"exponential":if(2!==i.length||"number"!=typeof i[1])throw new Error("Exponential interpolation requires one numeric argument");break;case"cubic-bezier":if(5!==i.length)throw new Error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1");for(let t=1;t<5;t++){const e=i[t];if("number"!=typeof e||e<0||e>1)throw new Error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1")}break;default:throw new Error(`"${t[0]}" unknown interpolation type "${i[0]}"`)}if(t.length%2!=1)throw new Error(`"${n}" expects an even number of arguments`);const a=Tt(t[2],e,D);let s;"interpolate-hcl"===n||"interpolate-lab"===n?s=A:r&&"value"!==r.kind&&(s=r);const o=[];for(let r=3;r<t.length;r+=2){const i=t[r];if("number"!=typeof i)throw new Error(`"${n}" requires stop inputs as literal numbers`);if(o.length&&o[o.length-1][0]>=i)throw new Error(`"${n}" requires strictly ascending stop inputs`);const a=Tt(t[r+1],e,s);s||(s=a.type),o.push([i,a])}if(s&&s!==A&&s!==D&&("array"!==s.kind||s.itemType!==D))throw new Error(`"${n}" cannot interpolate type ${O(s)}`);return new J(n,s,i,a,o)}evaluate(t,e){const r=this._stops;if(1===r.length)return r[0][1].evaluate(t,e);const n=this.input.evaluate(t,e);if(n<=r[0][0])return r[0][1].evaluate(t,e);if(n>=r[r.length-1][0])return r[r.length-1][1].evaluate(t,e);let a=0;for(;++a<r.length&&!(n<r[a][0]););const s=r[a-1][0],o=r[a][0],l=J.interpolationRatio(this.interpolation,n,s,o),u=r[a-1][1].evaluate(t,e),c=r[a][1].evaluate(t,e);if("interpolate"===this._operator){if("array"===this.type.kind&&Array.isArray(u)&&Array.isArray(c))return u.map((t,e)=>(0,i.GW)(t,c[e],l));if("color"===this.type.kind&&u instanceof T.A&&c instanceof T.A){const t=new T.A(u),e=new T.A(c);return new T.A([(0,i.GW)(t.r,e.r,l),(0,i.GW)(t.g,e.g,l),(0,i.GW)(t.b,e.b,l),(0,i.GW)(t.a,e.a,l)])}if("number"===this.type.kind&&"number"==typeof u&&"number"==typeof c)return(0,i.GW)(u,c,l);throw new Error(`"${this._operator}" cannot interpolate type ${O(this.type)}`)}if("interpolate-hcl"===this._operator){const t=(0,E.RH)(u),e=(0,E.RH)(c),r=e.h-t.h,n=(0,E.$)({h:t.h+l*(r>180||r<-180?r-360*Math.round(r/360):r),c:(0,i.GW)(t.c,e.c,l),l:(0,i.GW)(t.l,e.l,l)});return new T.A({a:(0,i.GW)(u.a,c.a,l),...n})}if("interpolate-lab"===this._operator){const t=(0,E.ZD)(u),e=(0,E.ZD)(c),r=(0,E.$)({l:(0,i.GW)(t.l,e.l,l),a:(0,i.GW)(t.a,e.a,l),b:(0,i.GW)(t.b,e.b,l)});return new T.A({a:(0,i.GW)(u.a,c.a,l),...r})}throw new Error(`Unexpected operator "${this._operator}"`)}interpolationUniformValue(t,e){const r=this._stops;if(1===r.length)return 0;if(t>=r[r.length-1][0])return 0;let n=0;for(;++n<r.length&&!(t<r[n][0]););const i=r[n-1][0],a=r[n][0];return J.interpolationRatio(this.interpolation,e,i,a)}getInterpolationRange(t){const e=this._stops;if(1===e.length){const t=e[0][0];return[t,t]}const r=e[e.length-1][0];if(t>=r)return[r,r];let n=0;for(;++n<e.length&&!(t<e[n][0]););return[e[n-1][0],e[n][0]]}static interpolationRatio(t,e,r,n){let i=0;return"linear"===t[0]?i=J._exponentialInterpolationRatio(e,1,r,n):"exponential"===t[0]?i=J._exponentialInterpolationRatio(e,t[1],r,n):"cubic-bezier"===t[0]&&(i=x(t[1],t[2],t[3],t[4])(J._exponentialInterpolationRatio(e,1,r,n),1e-5)),i<0?i=0:i>1&&(i=1),i}static _exponentialInterpolationRatio(t,e,r,n){const i=n-r;if(0===i)return 0;const a=t-r;return 1===e?a/i:(e**a-1)/(e**i-1)}}class Q{constructor(t,e,r){this.type=t,this._input=e,this._stops=r}static parse(t,e){if(t.length<5)throw new Error('"step" expects at least 4 arguments');if(t.length%2!=1)throw new Error('"step" expects an even number of arguments');const r=Tt(t[1],e,D);let n;const i=[];i.push([-1/0,Tt(t[2],e)]);for(let r=3;r<t.length;r+=2){const a=t[r];if("number"!=typeof a)throw new Error('"step" requires stop inputs as literal numbers');if(i.length&&i[i.length-1][0]>=a)throw new Error('"step" requires strictly ascending stop inputs');const s=Tt(t[r+1],e);n||(n=s.type),i.push([a,s])}return new Q(n,r,i)}evaluate(t,e){const r=this._stops;if(1===r.length)return r[0][1].evaluate(t,e);const n=this._input.evaluate(t,e);let i=0;for(;++i<r.length&&!(n<r[i][0]););return this._stops[i-1][1].evaluate(t,e)}}class tt{constructor(t,e){this.type=t,this._output=e}static parse(t,e,r){if(t.length<4)throw new Error('"let" expects at least 3 arguments');if(t.length%2==1)throw new Error('"let" expects an odd number of arguments');const n=new F(e);for(let r=1;r<t.length-1;r+=2){const i=t[r];if("string"!=typeof i)throw new Error(`"let" requires a string to define variable names - found ${i}`);n.add(i,Tt(t[r+1],e))}const i=Tt(t[t.length-1],n,r);return new tt(i.type,i)}evaluate(t,e){return this._output.evaluate(t,e)}}class et{constructor(t,e){this.type=t,this.output=e}static parse(t,e,r){if(2!==t.length||"string"!=typeof t[1])throw new Error('"var" requires just one literal string argument');const n=e.get(t[1]);if(!n)throw new Error(`${t[1]} must be defined before being used in a "var" expression`);return new et(r||N,n)}evaluate(t,e){return this.output.evaluate(t,e)}}class rt{constructor(t,e,r){this.type=t,this._index=e,this._array=r}static parse(t,e){if(3!==t.length)throw new Error('"at" expects 2 arguments');const r=Tt(t[1],e,D),n=Tt(t[2],e);return new rt(n.type.itemType,r,n)}evaluate(t,e){const r=this._index.evaluate(t,e),n=this._array.evaluate(t,e);if(r<0||r>=n.length)throw new Error('"at" index out of bounds');if(r!==Math.floor(r))throw new Error('"at" index must be an integer');return n[r]}}class nt{constructor(t){this._args=t,this.type=N}static parse(t,e){const r=t.slice(1).map(t=>Array.isArray(t)?Tt(t,e):t);return new nt(r)}evaluate(t,e){let r;return this._args&&(r=this._args.map(r=>r&&r.evaluate?r.evaluate(t,e):r)),!r||r.length<2&&r.length%2==1?"":(t=>Array.from({length:t.length/2},(e,r)=>(t=>t)(t[2*r],t[2*r+1])))(r).join()}}class it{constructor(t,e){this._key=t,this._obj=e,this.type=N}static parse(t,e){let r,n;switch(t.length){case 2:return r=Tt(t[1],e),new it(r);case 3:return r=Tt(t[1],e),n=Tt(t[2],e),new it(r,n);default:throw new Error('"get" expects 1 or 2 arguments')}}evaluate(t,e){const r=this._key.evaluate(t,e);return this._obj?this._obj.evaluate(t,e)[r]:t?.values[r]}}class at{constructor(t,e){this._key=t,this._obj=e,this.type=L}static parse(t,e){let r,n;switch(t.length){case 2:return r=Tt(t[1],e),new at(r);case 3:return r=Tt(t[1],e),n=Tt(t[2],e),new at(r,n);default:throw new Error('"has" expects 1 or 2 arguments')}}evaluate(t,e){const r=this._key.evaluate(t,e);return this._obj?r in this._obj.evaluate(t,e):!!t?.values[r]}}class st{constructor(t,e){this._key=t,this._vals=e,this.type=L}static parse(t,e){if(3!==t.length)throw new Error('"in" expects 2 arguments');return new st(Tt(t[1],e),Tt(t[2],e))}evaluate(t,e){const r=this._key.evaluate(t,e);return this._vals.evaluate(t,e).includes(r)}}class ot{constructor(t,e,r){this._item=t,this._array=e,this._from=r,this.type=D}static parse(t,e){if(t.length<3||t.length>4)throw new Error('"index-of" expects 3 or 4 arguments');const r=Tt(t[1],e),n=Tt(t[2],e);if(4===t.length){const i=Tt(t[3],e,D);return new ot(r,n,i)}return new ot(r,n)}evaluate(t,e){const r=this._item.evaluate(t,e),n=this._array.evaluate(t,e);if(this._from){const i=this._from.evaluate(t,e);if(i!==Math.floor(i))throw new Error('"index-of" index must be an integer');return n.indexOf(r,i)}return n.indexOf(r)}}class lt{constructor(t){this._arg=t,this.type=D}static parse(t,e){if(2!==t.length)throw new Error('"length" expects 2 arguments');const r=Tt(t[1],e);return new lt(r)}evaluate(t,e){const r=this._arg.evaluate(t,e);if("string"==typeof r)return r.length;if(Array.isArray(r))return r.length;throw new Error('"length" expects string or array')}}class ut{constructor(t,e,r,n){this.type=t,this._array=e,this._from=r,this._to=n}static parse(t,e){if(t.length<3||t.length>4)throw new Error('"slice" expects 2 or 3 arguments');const r=Tt(t[1],e),n=Tt(t[2],e,D);if(n.type!==D)throw new Error('"slice" index must return a number');if(4===t.length){const i=Tt(t[3],e,D);if(i.type!==D)throw new Error('"slice" index must return a number');return new ut(r.type,r,n,i)}return new ut(r.type,r,n)}evaluate(t,e){const r=this._array.evaluate(t,e);if(!Array.isArray(r)&&"string"!=typeof r)throw new Error('"slice" input must be an array or a string');const n=this._from.evaluate(t,e);if(n<0||n>=r.length)throw new Error('"slice" index out of bounds');if(n!==Math.floor(n))throw new Error('"slice" index must be an integer');if(this._to){const i=this._to.evaluate(t,e);if(i<0||i>=r.length)throw new Error('"slice" index out of bounds');if(i!==Math.floor(i))throw new Error('"slice" index must be an integer');return r.slice(n,i)}return r.slice(n)}}class ct{constructor(){this.type=L}static parse(t){if(1!==t.length)throw new Error('"has-id" expects no arguments');return new ct}evaluate(t,e){return void 0!==t?.id}}class ht{constructor(t,e){this._args=t,this._calculate=e,this.type=D}static parse(t,e,r){const n=t.slice(1).map(t=>Tt(t,e));return new ht(n,r)}evaluate(t,e){let r;return this._args&&(r=this._args.map(r=>r.evaluate(t,e))),this._calculate(r)}}class pt{constructor(t,e){this._args=t,this._calculate=e,this.type=D}static{this.ops={abs:t=>Math.abs(t[0]),acos:t=>Math.acos(t[0]),asin:t=>Math.asin(t[0]),atan:t=>Math.atan(t[0]),ceil:t=>Math.ceil(t[0]),cos:t=>Math.cos(t[0]),e:()=>Math.E,floor:t=>Math.floor(t[0]),ln:t=>Math.log(t[0]),ln2:()=>Math.LN2,log10:t=>Math.log(t[0])/Math.LN10,log2:t=>Math.log(t[0])/Math.LN2,max:t=>Math.max(...t),min:t=>Math.min(...t),pi:()=>Math.PI,round:t=>Math.round(t[0]),sin:t=>Math.sin(t[0]),sqrt:t=>Math.sqrt(t[0]),tan:t=>Math.tan(t[0])}}static parse(t,e){const r=t.slice(1).map(t=>Tt(t,e));return new pt(r,pt.ops[t[0]])}evaluate(t,e){let r;return this._args&&(r=this._args.map(r=>r.evaluate(t,e))),this._calculate(r)}}class yt{constructor(t){this._args=t,this.type=S}static parse(t,e){return new yt(t.slice(1).map(t=>Tt(t,e)))}evaluate(t,e){return this._args.map(r=>r.evaluate(t,e)).join("")}}class ft{constructor(t,e){this._arg=t,this._calculate=e,this.type=S}static{this.ops={downcase:t=>t.toLowerCase(),upcase:t=>t.toUpperCase()}}static parse(t,e){if(2!==t.length)throw new Error(`${t[0]} expects 1 argument`);const r=Tt(t[1],e);return new ft(r,ft.ops[t[0]])}evaluate(t,e){return this._calculate(this._arg.evaluate(t,e))}}class mt{constructor(t){this._args=t,this.type=A}static parse(t,e){if(4!==t.length)throw new Error('"rgb" expects 3 arguments');const r=t.slice(1).map(t=>Tt(t,e));return new mt(r)}evaluate(t,e){const r=this._validate(this._args[0].evaluate(t,e)),n=this._validate(this._args[1].evaluate(t,e)),i=this._validate(this._args[2].evaluate(t,e));return new T.A({r,g:n,b:i})}_validate(t){if("number"!=typeof t||t<0||t>255)throw new Error(`${t}: invalid color component`);return Math.round(t)}}class gt{constructor(t){this._args=t,this.type=A}static parse(t,e){if(5!==t.length)throw new Error('"rgba" expects 4 arguments');const r=t.slice(1).map(t=>Tt(t,e));return new gt(r)}evaluate(t,e){const r=this._validate(this._args[0].evaluate(t,e)),n=this._validate(this._args[1].evaluate(t,e)),i=this._validate(this._args[2].evaluate(t,e)),a=this._validateAlpha(this._args[3].evaluate(t,e));return new T.A({r,g:n,b:i,a})}_validate(t){if("number"!=typeof t||t<0||t>255)throw new Error(`${t}: invalid color component`);return Math.round(t)}_validateAlpha(t){if("number"!=typeof t||t<0||t>1)throw new Error(`${t}: invalid alpha color component`);return t}}class dt{constructor(t){this._color=t,this.type=M(D,4)}static parse(t,e){if(2!==t.length)throw new Error('"to-rgba" expects 1 argument');const r=Tt(t[1],e);return new dt(r)}evaluate(t,e){return new T.A(this._color.evaluate(t,e)).toRgba()}}class _t{constructor(t,e){this.type=t,this._args=e}static parse(t,e){const r=t[0];if(t.length<2)throw new Error(`${r} expects at least one argument`);let n,i=1;if("array"===r){if(t.length>2){switch(t[1]){case"string":n=S;break;case"number":n=D;break;case"boolean":n=L;break;default:throw new Error('"array" type argument must be string, number or boolean')}i++}else n=N;let e;if(t.length>3){if(e=t[2],null!==e&&("number"!=typeof e||e<0||e!==Math.floor(e)))throw new Error('"array" length argument must be a positive integer literal');i++}n=M(n,e)}else switch(r){case"string":n=S;break;case"number":n=D;break;case"boolean":n=L;break;case"object":n=R}const a=[];for(;i<t.length;i++){const r=Tt(t[i],e);a.push(r)}return new _t(n,a)}evaluate(t,e){let r;for(const n of this._args){const i=n.evaluate(t,e);if(r=B(i),U(r,this.type))return i}throw new Error(`Expected ${O(this.type)} but got ${O(r)}`)}}class bt{static{this.types={"to-boolean":L,"to-color":A,"to-number":D,"to-string":S}}constructor(t,e){this.type=t,this._args=e}static parse(t,e){const r=t[0],n=bt.types[r];if(n===L||n===S){if(2!==t.length)throw new Error(`${r} expects one argument`)}else if(t.length<2)throw new Error(`${r} expects at least one argument`);const i=[];for(let r=1;r<t.length;r++){const n=Tt(t[r],e);i.push(n)}return new bt(n,i)}evaluate(t,e){if(this.type===L)return Boolean(this._args[0].evaluate(t,e));if(this.type===S)return G(this._args[0].evaluate(t,e));if(this.type===D){for(const r of this._args){const n=Number(r.evaluate(t,e));if(!isNaN(n))return n}return null}if(this.type===A){for(const r of this._args)try{const n=bt.toColor(r.evaluate(t,e));if(n instanceof T.A)return n}catch{}return null}}static toBoolean(t){return Boolean(t)}static toString(t){return G(t)}static toNumber(t){const e=Number(t);if(isNaN(e))throw new Error(`"${t}" is not a number`);return e}static toColor(t){if(t instanceof T.A)return t;if("string"==typeof t){const e=T.A.fromString(t);if(e)return e;throw new Error(`"${t}" is not a color`)}if(Array.isArray(t))return T.A.fromArray(t);throw new Error(`"${t}" is not a color`)}}class wt{constructor(t){this._val=t,this.type=B(t)}static parse(t){if(2!==t.length)throw new Error('"literal" expects 1 argument');return new wt(t[1])}evaluate(t,e){return this._val}}class vt{constructor(t){this._arg=t,this.type=S}static parse(t,e){if(2!==t.length)throw new Error('"typeof" expects 1 argument');return new vt(Tt(t[1],e))}evaluate(t,e){return O(B(this._arg.evaluate(t,e)))}}function Tt(t,e,r){const n=typeof t;if("string"===n||"boolean"===n||"number"===n||null===t){if(r)switch(r.kind){case"string":"string"!==n&&(t=bt.toString(t));break;case"number":"number"!==n&&(t=bt.toNumber(t));break;case"color":t=bt.toColor(t)}t=["literal",t]}if(!Array.isArray(t)||0===t.length)throw new Error("Expression must be a non empty array");const i=t[0];if("string"!=typeof i)throw new Error("First element of expression must be a string");const a=Et[i];if(void 0===a)throw new Error(`Invalid expression operator "${i}"`);if(!a)throw new Error(`Unimplemented expression operator "${i}"`);return a.parse(t,e,r)}const Et={array:_t,boolean:_t,collator:null,format:nt,image:null,literal:wt,number:_t,"number-format":null,object:_t,string:_t,"to-boolean":bt,"to-color":bt,"to-number":bt,"to-string":bt,typeof:vt,accumulated:null,"feature-state":null,"geometry-type":V,id:z,"line-progress":null,properties:C,at:rt,get:it,has:at,in:st,"index-of":ot,length:lt,slice:ut,"!":Y,"!=":class extends ${static parse(t,e){return $.parse(t,e,(t,e)=>t!==e)}},"<":class extends ${static parse(t,e){return $.parse(t,e,(t,e)=>t<e)}},"<=":class extends ${static parse(t,e){return $.parse(t,e,(t,e)=>t<=e)}},"==":class extends ${static parse(t,e){return $.parse(t,e,(t,e)=>t===e)}},">":class extends ${static parse(t,e){return $.parse(t,e,(t,e)=>t>e)}},">=":class extends ${static parse(t,e){return $.parse(t,e,(t,e)=>t>=e)}},all:q,any:j,case:Z,coalesce:X,match:K,within:null,interpolate:J,"interpolate-hcl":J,"interpolate-lab":J,step:Q,let:tt,var:et,concat:yt,downcase:ft,"is-supported-script":null,"resolved-locale":null,upcase:ft,rgb:mt,rgba:gt,"to-rgba":dt,"-":class extends ht{static parse(t,e){switch(t.length){case 2:return ht.parse(t,e,t=>-t[0]);case 3:return ht.parse(t,e,t=>t[0]-t[1]);default:throw new Error('"-" expects 1 or 2 arguments')}}},"*":class extends ht{static parse(t,e){return ht.parse(t,e,t=>{let e=1;for(const r of t)e*=r;return e})}},"/":class extends ht{static parse(t,e){if(3===t.length)return ht.parse(t,e,t=>t[0]/t[1]);throw new Error('"/" expects 2 arguments')}},"%":class extends ht{static parse(t,e){if(3===t.length)return ht.parse(t,e,t=>t[0]%t[1]);throw new Error('"%" expects 2 arguments')}},"^":class extends ht{static parse(t,e){if(3===t.length)return ht.parse(t,e,t=>t[0]**t[1]);throw new Error('"^" expects 1 or 2 arguments')}},"+":class extends ht{static parse(t,e){return ht.parse(t,e,t=>{let e=0;for(const r of t)e+=r;return e})}},abs:pt,acos:pt,asin:pt,atan:pt,ceil:pt,cos:pt,e:pt,floor:pt,ln:pt,ln2:pt,log10:pt,log2:pt,max:pt,min:pt,pi:pt,round:pt,sin:pt,sqrt:pt,tan:pt,zoom:H,"heatmap-density":null,"has-id":ct,none:W};class xt{constructor(t){this._expression=t}filter(t,e){if(!this._expression)return!0;try{return this._expression.evaluate(t,e)}catch(t){return console.log(t.message),!0}}static createFilter(t){if(!t)return null;this.isLegacyFilter(t)&&(t=this.convertLegacyFilter(t));try{const e=Tt(t,null,L);return new xt(e)}catch(t){return console.log(t.message),null}}static isLegacyFilter(t){if(!Array.isArray(t))return!0;if(0===t.length)return!0;switch(t[0]){case"==":case"!=":case">":case"<":case">=":case"<=":return 3===t.length&&"string"==typeof t[1]&&!Array.isArray(t[2]);case"in":return t.length>=3&&"string"==typeof t[1]&&!Array.isArray(t[2]);case"!in":case"none":case"!has":return!0;case"any":case"all":for(let e=1;e<t.length;e++)if(this.isLegacyFilter(t[e]))return!0;return!1;case"has":return 2===t.length&&("$id"===t[1]||"$type"===t[1]);default:return!1}}static convertLegacyFilter(t){if(!Array.isArray(t)||0===t.length)return!0;const e=t[0];if(1===t.length)return"any"!==e;switch(e){case"==":return xt.convertComparison("==",t[1],t[2]);case"!=":return xt.negate(xt.convertComparison("==",t[1],t[2]));case">":case"<":case">=":case"<=":return xt.convertComparison(e,t[1],t[2]);case"in":return xt.convertIn(t[1],t.slice(2));case"!in":return xt.negate(xt.convertIn(t[1],t.slice(2)));case"any":case"all":case"none":return xt.convertCombining(e,t.slice(1));case"has":return xt.convertHas(t[1]);case"!has":return xt.negate(xt.convertHas(t[1]));default:throw new Error("Unexpected legacy filter.")}}static convertComparison(t,e,r){switch(e){case"$type":return[t,["geometry-type"],r];case"$id":return[t,["id"],r];default:return[t,["get",e],r]}}static convertIn(t,e){switch(t){case"$type":return["in",["geometry-type"],["literal",e]];case"$id":return["in",["id"],["literal",e]];default:return["in",["get",t],["literal",e]]}}static convertHas(t){switch(t){case"$type":return!0;case"$id":return["has-id"];default:return["has",t]}}static convertCombining(t,e){return[t].concat(e.map(this.convertLegacyFilter))}static negate(t){return["!",t]}}class It{static{this.backgroundLayoutDefinition={visibility:{type:"enum",values:["visible","none"],default:0}}}static{this.fillLayoutDefinition={visibility:{type:"enum",values:["visible","none"],default:0}}}static{this.lineLayoutDefinition={visibility:{type:"enum",values:["visible","none"],default:0},"line-cap":{type:"enum",values:["butt","round","square"],default:0},"line-join":{type:"enum",values:["bevel","round","miter"],default:2},"line-miter-limit":{type:"number",default:2},"line-round-limit":{type:"number",default:1.05}}}static{this.symbolLayoutDefinition={visibility:{type:"enum",values:["visible","none"],default:0},"symbol-avoid-edges":{type:"boolean",default:!1},"symbol-placement":{type:"enum",values:["point","line","line-center"],default:0},"symbol-sort-key":{type:"number",default:-1},"symbol-spacing":{type:"number",minimum:1,default:250},"icon-allow-overlap":{type:"boolean",default:!1},"icon-anchor":{type:"enum",values:["center","left","right","top","bottom","top-left","top-right","bottom-left","bottom-right"],default:0},"icon-ignore-placement":{type:"boolean",default:!1},"icon-image":{type:"string"},"icon-keep-upright":{type:"boolean",default:!1},"icon-offset":{type:"array",value:"number",length:2,default:[0,0]},"icon-optional":{type:"boolean",default:!1},"icon-padding":{type:"number",minimum:0,default:2},"icon-rotate":{type:"number",default:0},"icon-rotation-alignment":{type:"enum",values:["map","viewport","auto"],default:2},"icon-size":{type:"number",minimum:0,default:1},"text-allow-overlap":{type:"boolean",default:!1},"text-anchor":{type:"enum",values:["center","left","right","top","bottom","top-left","top-right","bottom-left","bottom-right"],default:0},"text-field":{type:"string"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"]},"text-ignore-placement":{type:"boolean",default:!1},"text-justify":{type:"enum",values:["auto","left","center","right"],default:2},"text-keep-upright":{type:"boolean",default:!0},"text-letter-spacing":{type:"number",default:0},"text-line-height":{type:"number",default:1.2},"text-max-angle":{type:"number",minimum:0,default:45},"text-max-width":{type:"number",minimum:0,default:10},"text-offset":{type:"array",value:"number",length:2,default:[0,0]},"text-optional":{type:"boolean",default:!1},"text-padding":{type:"number",minimum:0,default:2},"text-rotate":{type:"number",default:0},"text-rotation-alignment":{type:"enum",values:["map","viewport","auto"],default:2},"text-size":{type:"number",minimum:0,default:16},"text-transform":{type:"enum",values:["none","uppercase","lowercase"],default:0},"text-writing-mode":{type:"array",value:"enum",values:["horizontal","vertical"],default:[0]}}}static{this.circleLayoutDefinition={visibility:{type:"enum",values:["visible","none"],default:0}}}static{this.backgroundPaintDefinition={"background-color":{type:"color",default:[0,0,0,1]},"background-opacity":{type:"number",minimum:0,maximum:1,default:1},"background-pattern":{type:"string"}}}static{this.fillPaintDefinition={"fill-antialias":{type:"boolean",default:!0},"fill-color":{type:"color",default:[0,0,0,1]},"fill-opacity":{type:"number",minimum:0,maximum:1,default:1},"fill-outline-color":{type:"color",default:[0,0,0,0]},"fill-pattern":{type:"string"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0]},"fill-translate-anchor":{type:"enum",values:["map","viewport"],default:0}}}static{this.linePaintDefinition={"line-blur":{type:"number",minimum:0,default:0},"line-color":{type:"color",default:[0,0,0,1]},"line-dasharray":{type:"array",value:"number",default:[]},"line-gap-width":{type:"number",minimum:0,default:0},"line-offset":{type:"number",default:0},"line-opacity":{type:"number",minimum:0,maximum:1,default:1},"line-pattern":{type:"string"},"line-translate":{type:"array",value:"number",length:2,default:[0,0]},"line-translate-anchor":{type:"enum",values:["map","viewport"],default:0},"line-width":{type:"number",minimum:0,default:1}}}static{this.symbolPaintDefinition={"icon-color":{type:"color",default:[0,0,0,1]},"icon-halo-blur":{type:"number",minimum:0,default:0},"icon-halo-color":{type:"color",default:[0,0,0,0]},"icon-halo-width":{type:"number",minimum:0,default:0},"icon-opacity":{type:"number",minimum:0,maximum:1,default:1},"icon-translate":{type:"array",value:"number",length:2,default:[0,0]},"icon-translate-anchor":{type:"enum",values:["map","viewport"],default:0},"text-color":{type:"color",default:[0,0,0,1]},"text-halo-blur":{type:"number",minimum:0,default:0},"text-halo-color":{type:"color",default:[0,0,0,0]},"text-halo-width":{type:"number",minimum:0,default:0},"text-opacity":{type:"number",minimum:0,maximum:1,default:1},"text-translate":{type:"array",value:"number",length:2,default:[0,0]},"text-translate-anchor":{type:"enum",values:["map","viewport"],default:0}}}static{this.rasterPaintDefinition={"raster-opacity":{type:"number",minimum:0,maximum:1,default:1},"raster-hue-rotate":{type:"number",default:0},"raster-brightness-min":{type:"number",minimum:0,maximum:1,default:0},"raster-brightness-max":{type:"number",minimum:0,maximum:1,default:1},"raster-saturation":{type:"number",minimum:-1,maximum:1,default:0},"raster-contrast":{type:"number",minimum:-1,maximum:1,default:0},"raster-fade-duration":{type:"number",minimum:0,default:300}}}static{this.circlePaintDefinition={"circle-blur":{type:"number",minimum:0,default:0},"circle-color":{type:"color",default:[0,0,0,1]},"circle-opacity":{type:"number",minimum:0,maximum:1,default:1},"circle-radius":{type:"number",minimum:0,default:5},"circle-stroke-color":{type:"color",default:[0,0,0,1]},"circle-stroke-opacity":{type:"number",minimum:0,maximum:1,default:1},"circle-stroke-width":{type:"number",minimum:0,default:0},"circle-translate":{type:"array",value:"number",length:2,default:[0,0]},"circle-translate-anchor":{type:"enum",values:["map","viewport"],default:0}}}}var Pt=r(40876);class Dt{constructor(t,e){let r;switch(this.isDataDriven=!1,this.interpolator=null,t.type){case"number":case"color":r=!0;break;case"array":r="number"===t.value;break;default:r=!1}if((null==e||""===e&&"color"===t.type)&&(e=t.default),Array.isArray(e)&&e.length>0&&Et[e[0]]){const r={number:D,color:A,string:S,boolean:L,enum:S};try{const n=Tt(e,null,"array"===t.type?M(r[t.value]||N,t.length):r[t.type]);this.getValue=this._buildExpression(n,t),this.isDataDriven=!0,n instanceof J&&n.input instanceof H&&(this.interpolator=n)}catch(e){console.log(e.message),this.getValue=this._buildSimple(t.default)}return}r&&"interval"===e.type&&(r=!1);const n=e?.stops&&e.stops.length>0;if(n)for(const r of e.stops)r[1]=this._validate(r[1],t);if(this.isDataDriven=!!e&&!!e.property,this.isDataDriven)if(void 0!==e.default&&(e.default=this._validate(e.default,t)),n)switch(e.type){case"identity":this.getValue=this._buildIdentity(e,t);break;case"categorical":this.getValue=this._buildCategorical(e,t);break;default:this.getValue=r?this._buildInterpolate(e,t):this._buildInterval(e,t)}else this.getValue=this._buildIdentity(e,t);else n?this.getValue=r?this._buildZoomInterpolate(e):this._buildZoomInterval(e):(e=this._validate(e,t),this.getValue=this._buildSimple(e))}_validate(t,e){if("number"===e.type){if(null!=e.minimum&&t<e.minimum)return e.minimum;if(null!=e.maximum&&t>e.maximum)return e.maximum}else"color"===e.type?t=Dt._parseColor(t):"enum"===e.type?"string"==typeof t&&(t=e.values.indexOf(t)):"array"===e.type&&"enum"===e.value?t=t.map(t=>"string"==typeof t?e.values.indexOf(t):t):"string"===e.type&&(t=G(t));return t}_buildSimple(t){return()=>t}_buildExpression(t,e){return(r,n)=>{try{const i=t.evaluate(n,r);return void 0===i?e.default:this._validate(i,e)}catch(t){return console.log(t.message),e.default}}}_buildIdentity(t,e){return(r,n)=>{let i;return n&&(i=n.values[t.property]),void 0!==i&&(i=this._validate(i,e)),null!=i?i:void 0!==t.default?t.default:e.default}}_buildCategorical(t,e){return(r,n)=>{let i;return n&&(i=n.values[t.property]),i=this._categorical(i,t.stops),void 0!==i?i:void 0!==t.default?t.default:e.default}}_buildInterval(t,e){return(r,n)=>{let i;return n&&(i=n.values[t.property]),"number"==typeof i?this._interval(i,t.stops):void 0!==t.default?t.default:e.default}}_buildInterpolate(t,e){return(r,n)=>{let i;return n&&(i=n.values[t.property]),"number"==typeof i?this._interpolate(i,t.stops,t.base||1):void 0!==t.default?t.default:e.default}}_buildZoomInterpolate(t){return e=>this._interpolate(e,t.stops,t.base||1)}_buildZoomInterval(t){return e=>this._interval(e,t.stops)}_categorical(t,e){const r=e.length;for(let n=0;n<r;n++)if(e[n][0]===t)return e[n][1]}_interval(t,e){const r=e.length;let n=0;for(let i=0;i<r&&e[i][0]<=t;i++)n=i;return e[n][1]}_interpolate(t,e,r){let n,a;const s=e.length;for(let r=0;r<s;r++){const i=e[r];if(!(i[0]<=t)){a=i;break}n=i}if(n&&a){const e=a[0]-n[0],s=t-n[0],o=1===r?s/e:(r**s-1)/(r**e-1);if(Array.isArray(n[1])){const t=n[1],e=a[1],r=[];for(let n=0;n<t.length;n++)r.push((0,i.GW)(t[n],e[n],o));return r}return(0,i.GW)(n[1],a[1],o)}return n?n[1]:a?a[1]:void 0}static _isEmpty(t){for(const e in t)if(t.hasOwnProperty(e))return!1;return!0}static _parseColor(t){return Array.isArray(t)?t:"string"==typeof t?(0,Pt.Vm)(t)??void 0:t instanceof T.A&&!this._isEmpty(t)?t.toUnitRGBA():void 0}}class St{constructor(t,e,r,n,i=null){switch(this.type=t,this.typeName=e.type,this.id=e.id,this.source=e.source,this.sourceLayer=e["source-layer"]??e.source,this.minzoom=e.minzoom,this.maxzoom=e.maxzoom,this.filter=e.filter,this.layout=e.layout,this.paint=e.paint,this.z=r,this.uid=n,this.sourceType=i,t){case 0:this._layoutDefinition=It.backgroundLayoutDefinition,this._paintDefinition=It.backgroundPaintDefinition;break;case 1:this._layoutDefinition=It.fillLayoutDefinition,this._paintDefinition=It.fillPaintDefinition;break;case 2:this._layoutDefinition=It.lineLayoutDefinition,this._paintDefinition=It.linePaintDefinition;break;case 3:this._layoutDefinition=It.symbolLayoutDefinition,this._paintDefinition=It.symbolPaintDefinition;break;case 4:this._layoutDefinition=It.circleLayoutDefinition,this._paintDefinition=It.circlePaintDefinition}this._layoutProperties=this._parseLayout(this.layout),this._paintProperties=this._parsePaint(this.paint)}getFeatureFilter(){return void 0!==this._featureFilter?this._featureFilter:this._featureFilter=xt.createFilter(this.filter)}getLayoutProperty(t){return this._layoutProperties[t]}getPaintProperty(t){return this._paintProperties[t]}getLayoutValue(t,e,r){let n;const i=this._layoutProperties[t];return i&&(n=i.getValue(e,r)),void 0===n&&(n=this._layoutDefinition[t].default),n}getPaintValue(t,e,r){let n;const i=this._paintProperties[t];return i&&(n=i.getValue(e,r)),void 0===n&&(n=this._paintDefinition[t].default),n}isPainterDataDriven(){const t=this._paintProperties;if(t)for(const e in t)if(t[e].isDataDriven)return!0;return!1}isIntersectingFeature(t,e,r,n,i,a,s,o){return!1}getFeatureInflatedBounds(t,e,r,n){return null}_parseLayout(t){const e={};for(const r in t){const n=this._layoutDefinition[r];n&&(e[r]=new Dt(n,t[r]))}return e}_parsePaint(t){const e={};for(const r in t){const n=this._paintDefinition[r];n&&(e[r]=new Dt(n,t[r]))}return e}computeAttributesKey(t,e,r,n){let i=0,a=0;for(const t of e){let e=3;if(t&&t!==n){const n=r[t],{isLayout:i,isOptional:a}=n,s=i?this.getLayoutProperty(t):this.getPaintProperty(t);e=s?.interpolator?2:s?.isDataDriven?1:a&&!s?3:0}a|=e<<i,i+=2}return a<<3|t}}class Lt extends St{constructor(t,e,r,n,i=null){super(t,e,r,n,i),this.backgroundMaterial=new y(this.computeAttributesKey(0,y.ATTRIBUTES,y.ATTRIBUTES_INFO))}}class At extends St{constructor(t,e,r,n,i=null){super(t,e,r,n,i);const a=this.getPaintProperty("fill-color"),s=this.getPaintProperty("fill-opacity"),o=this.getPaintProperty("fill-pattern");this.hasDataDrivenColor=a?.isDataDriven,this.hasDataDrivenOpacity=s?.isDataDriven,this.hasDataDrivenFill=this.hasDataDrivenColor||this.hasDataDrivenOpacity||o?.isDataDriven;const l=this.getPaintProperty("fill-outline-color");this.outlineUsesFillColor=!l,this.hasDataDrivenOutlineColor=l?.isDataDriven,this.hasDataDrivenOutline=l?l.isDataDriven:!!a&&a.isDataDriven,this.hasDataDrivenOutline=(l?this.hasDataDrivenOutlineColor:this.hasDataDrivenColor)||this.hasDataDrivenOpacity,this.fillMaterial=new m(this.computeAttributesKey(1,m.ATTRIBUTES,m.ATTRIBUTES_INFO)),this.outlineMaterial=new g(this.computeAttributesKey(2,this.outlineUsesFillColor?g.ATTRIBUTES_FILL:g.ATTRIBUTES_OUTLINE,this.outlineUsesFillColor?g.ATTRIBUTES_INFO_FILL:g.ATTRIBUTES_INFO_OUTLINE),this.outlineUsesFillColor)}getFeatureInflatedBounds(t,e,r,n){const i=Bt(t);if(!i)return null;const a=this.getPaintValue("fill-translate",e,t),s=n*Math.max(a[0],a[1]);return i[0]-=s,i[2]-=s,i[1]+=s,i[3]+=s,i}isIntersectingFeature(t,e,r,n,a,s,o,l){const u=n.getGeometry();if(!u)return!1;const c=8/l.normalizationRatio,h=c/o;t=t/l.normalizationRatio+l.normalizationOffsetX,e=e/l.normalizationRatio+l.normalizationOffsetY;const p=(0,i.yM)(this.getPaintValue("fill-translate",a,n),this.getPaintValue("fill-translate-anchor",a,n),s,h);return t-=c*p.x,e-=c*p.y,!!(0,i.s3)(t,e,u)||(0,i.ru)(t,e,u,r)}}class Rt extends St{constructor(t,e,r,n,i=null){super(t,e,r,n,i);const a=this.getPaintProperty("line-pattern");if(this.lineMaterial=new d(this.computeAttributesKey(3,d.ATTRIBUTES,d.ATTRIBUTES_INFO,a?"line-dasharray":"")),this.hasDataDrivenLine=this.getPaintProperty("line-blur")?.isDataDriven||this.getPaintProperty("line-color")?.isDataDriven||this.getPaintProperty("line-gap-width")?.isDataDriven||this.getPaintProperty("line-offset")?.isDataDriven||this.getPaintProperty("line-opacity")?.isDataDriven||this.getPaintProperty("line-pattern")?.isDataDriven||this.getPaintProperty("line-dasharray")?.isDataDriven||this.getLayoutProperty("line-cap")?.isDataDriven||this.getPaintProperty("line-width")?.isDataDriven,this.canUseThinTessellation=!1,!this.hasDataDrivenLine){const t=this.getPaintProperty("line-width");if(!t||"number"==typeof t&&.5*t<1.05){const t=this.getPaintProperty("line-offset");(!t||"number"==typeof t&&0===t)&&(this.canUseThinTessellation=!0)}}}getDashKey(t,e){let r;switch(e){case 0:default:r="Butt";break;case 1:r="Round";break;case 2:r="Square"}return`dasharray-[${t.toString()}]-${r}`}getFeatureInflatedBounds(t,e,r,n){const i=Bt(t);if(!i)return null;const a=this.getPaintValue("line-translate",e,t),s=n*Math.max(a[0],a[1]);i[0]-=s,i[2]-=s,i[1]+=s,i[3]+=s;const o=n*Math.abs(this.getPaintValue("line-offset",e,t)||0),l=n*(this.getPaintValue("line-width",e,t)/2);return i[0]-=o+l,i[1]-=o+l,i[2]+=o+l,i[3]+=o+l,i}isIntersectingFeature(t,e,r,n,a,s,o,l){let u=n.getGeometry();if(!u)return!1;const c=8/l.normalizationRatio,h=c/o;t=t/l.normalizationRatio+l.normalizationOffsetX,e=e/l.normalizationRatio+l.normalizationOffsetY;const p=(0,i.yM)(this.getPaintValue("line-translate",a,n),this.getPaintValue("line-translate-anchor",a,n),s,h);t-=c*p.x,e-=c*p.y;const y=h*this.getPaintValue("line-offset",a,n)||0;0!==y&&(u=(0,i.cP)(u,-y));const f=this.getPaintValue("line-width",a,n);return(0,i.ru)(t,e,u,h*(f/2)+r)}}class Nt extends St{constructor(t,e,r,n,i=null){super(t,e,r,n,i),this.iconMaterial=new w(this.computeAttributesKey(4,w.ATTRIBUTES,w.ATTRIBUTES_INFO)),this.textMaterial=new v(this.computeAttributesKey(6,v.ATTRIBUTES,v.ATTRIBUTES_INFO)),this.hasDataDrivenIcon=this.getPaintProperty("icon-color")?.isDataDriven||this.getPaintProperty("icon-halo-blur")?.isDataDriven||this.getPaintProperty("icon-halo-color")?.isDataDriven||this.getPaintProperty("icon-halo-width")?.isDataDriven||this.getPaintProperty("icon-opacity")?.isDataDriven||this.getLayoutProperty("icon-size")?.isDataDriven,this.hasDataDrivenText=this.getPaintProperty("text-color")?.isDataDriven||this.getPaintProperty("text-halo-blur")?.isDataDriven||this.getPaintProperty("text-halo-color")?.isDataDriven||this.getPaintProperty("text-halo-width")?.isDataDriven||this.getPaintProperty("text-opacity")?.isDataDriven||this.getLayoutProperty("text-size")?.isDataDriven}}class Mt extends St{constructor(t,e,r,n,i=null){super(t,e,r,n,i),this.circleMaterial=new f(this.computeAttributesKey(5,f.ATTRIBUTES,f.ATTRIBUTES_INFO))}getFeatureInflatedBounds(t,e,r,n){const i=Bt(t);if(!i)return null;const a=this.getPaintValue("circle-translate",e,t),s=Math.max(a[0],a[1]);i[0]-=s,i[2]-=s,i[1]+=s,i[3]+=s;const o=n*(8*(this.getPaintValue("circle-radius",e,t)+this.getPaintValue("circle-stroke-width",e,t))/2);return i[0]-=o,i[1]-=o,i[2]+=o,i[3]+=o,i}isIntersectingFeature(t,e,r,n,a,s,o,l){const u=n.getGeometry();if(!u)return!1;const c=8/l.normalizationRatio/o;t=t/l.normalizationRatio+l.normalizationOffsetX,e=e/l.normalizationRatio+l.normalizationOffsetY;const h=(0,i.yM)(this.getPaintValue("circle-translate",a,n),this.getPaintValue("circle-translate-anchor",a,n),s,c),p=c*(this.getPaintValue("circle-radius",a,n)+this.getPaintValue("circle-stroke-width",a,n));let y,f;for(const n of u)if(n)for(const i of n)if(y=i.x+h.x,f=i.y+h.y,Math.sqrt((t-y)*(t-y)+(e-f)*(e-f))-r<=p)return!0;return!1}}class kt{constructor(t,e,r){let n;this.allowOverlap=t.getLayoutValue("icon-allow-overlap",e),this.ignorePlacement=t.getLayoutValue("icon-ignore-placement",e),this.keepUpright=t.getLayoutValue("icon-keep-upright",e),this.optional=t.getLayoutValue("icon-optional",e),this.rotationAlignment=t.getLayoutValue("icon-rotation-alignment",e),2===this.rotationAlignment&&(this.rotationAlignment=r?0:1),n=t.getLayoutProperty("icon-anchor"),n?.isDataDriven?this._anchorProp=n:this.anchor=t.getLayoutValue("icon-anchor",e),n=t.getLayoutProperty("icon-offset"),n?.isDataDriven?this._offsetProp=n:this.offset=t.getLayoutValue("icon-offset",e),n=t.getLayoutProperty("icon-padding"),n?.isDataDriven?this._paddingProp=n:this.padding=t.getLayoutValue("icon-padding",e),n=t.getLayoutProperty("icon-rotate"),n?.isDataDriven?this._rotateProp=n:this.rotate=t.getLayoutValue("icon-rotate",e),n=t.getLayoutProperty("icon-size"),n?.isDataDriven?this._sizeProp=n:this.size=t.getLayoutValue("icon-size",e)}update(t,e){this._anchorProp&&(this.anchor=this._anchorProp.getValue(t,e)),this._offsetProp&&(this.offset=this._offsetProp.getValue(t,e)),this._paddingProp&&(this.padding=this._paddingProp.getValue(t,e)),this._rotateProp&&(this.rotate=this._rotateProp.getValue(t,e)),this._sizeProp&&(this.size=this._sizeProp.getValue(t,e))}}class Ot{constructor(t,e,r){let n;this.allowOverlap=t.getLayoutValue("text-allow-overlap",e),this.ignorePlacement=t.getLayoutValue("text-ignore-placement",e),this.keepUpright=t.getLayoutValue("text-keep-upright",e),this.optional=t.getLayoutValue("text-optional",e),this.rotationAlignment=t.getLayoutValue("text-rotation-alignment",e),2===this.rotationAlignment&&(this.rotationAlignment=r?0:1),n=t.getLayoutProperty("text-anchor"),n?.isDataDriven?this._anchorProp=n:this.anchor=t.getLayoutValue("text-anchor",e),n=t.getLayoutProperty("text-justify"),n?.isDataDriven?this._justifyProp=n:this.justify=t.getLayoutValue("text-justify",e),n=t.getLayoutProperty("text-letter-spacing"),n?.isDataDriven?this._letterSpacingProp=n:this.letterSpacing=t.getLayoutValue("text-letter-spacing",e),n=t.getLayoutProperty("text-line-height"),n?.isDataDriven?this._lineHeightProp=n:this.lineHeight=t.getLayoutValue("text-line-height",e),n=t.getLayoutProperty("text-max-angle"),n?.isDataDriven?this._maxAngleProp=n:this.maxAngle=t.getLayoutValue("text-max-angle",e),n=t.getLayoutProperty("text-max-width"),n?.isDataDriven?this._maxWidthProp=n:this.maxWidth=t.getLayoutValue("text-max-width",e),n=t.getLayoutProperty("text-offset"),n?.isDataDriven?this._offsetProp=n:this.offset=t.getLayoutValue("text-offset",e),n=t.getLayoutProperty("text-padding"),n?.isDataDriven?this._paddingProp=n:this.padding=t.getLayoutValue("text-padding",e),n=t.getLayoutProperty("text-rotate"),n?.isDataDriven?this._rotateProp=n:this.rotate=t.getLayoutValue("text-rotate",e),n=t.getLayoutProperty("text-size"),n?.isDataDriven?this._sizeProp=n:this.size=t.getLayoutValue("text-size",e),n=t.getLayoutProperty("text-writing-mode"),n?.isDataDriven?this._writingModeProp=n:this.writingMode=t.getLayoutValue("text-writing-mode",e)}update(t,e){this._anchorProp&&(this.anchor=this._anchorProp.getValue(t,e)),this._justifyProp&&(this.justify=this._justifyProp.getValue(t,e)),this._letterSpacingProp&&(this.letterSpacing=this._letterSpacingProp.getValue(t,e)),this._lineHeightProp&&(this.lineHeight=this._lineHeightProp.getValue(t,e)),this._maxAngleProp&&(this.maxAngle=this._maxAngleProp.getValue(t,e)),this._maxWidthProp&&(this.maxWidth=this._maxWidthProp.getValue(t,e)),this._offsetProp&&(this.offset=this._offsetProp.getValue(t,e)),this._paddingProp&&(this.padding=this._paddingProp.getValue(t,e)),this._rotateProp&&(this.rotate=this._rotateProp.getValue(t,e)),this._sizeProp&&(this.size=this._sizeProp.getValue(t,e)),this._writingModeProp&&(this.writingMode=this._writingModeProp.getValue(t,e))}}function Bt(t){const e=t?.getGeometry();if(null==e)return null;let r=1/0,i=1/0,a=-1/0,s=-1/0;for(const t of e)if(t)for(const e of t)r=Math.min(r,e.x),i=Math.min(i,e.y),a=Math.max(a,e.x),s=Math.max(s,e.y);return(0,n.fA)(r,i,a,s)}},45013(t,e,r){r.d(e,{A:()=>a});var n=r(4718),i=r(4264);class a{constructor(t,e=!0){if(this.backgroundBucketIds=[],this._uidToLayer=new Map,this._layerByName={},this._runningId=0,this._style=e?(0,n.o8)(t):t,this._style.layers||(this._style.layers=[]),this.version=parseFloat(this._style.version),this.layers=this._style.layers.map((t,e,r)=>this._create(t,e,r)).filter(t=>!!t),this.layers)for(let t=0;t<this.layers.length;t++){const e=this.layers[t];this._layerByName[e.id]=e,this._uidToLayer.set(e.uid,e),0===e.type&&this.backgroundBucketIds.push(e.id)}this._identifyRefLayers()}getLayerStyleProperties(t,e){const r=this.getStyleLayerByUID(t),n=0!==r?.getLayoutValue("symbol-placement",e);let i=r?.getLayoutValue("icon-rotation-alignment",e);2===i&&(i=n?0:1);let a=r?.getLayoutValue("text-rotation-alignment",e);2===a&&(a=n?0:1);const s=r?.getPaintValue("icon-translate",e),o=r?.getPaintValue("icon-translate-anchor",e),l=r?.getPaintValue("text-translate",e),u=r?.getPaintValue("text-translate-anchor",e);return{geometryType:null,iconAllowOverlap:r?.getLayoutValue("icon-allow-overlap",e),iconIgnorePlacement:r?.getLayoutValue("icon-ignore-placement",e),textAllowOverlap:r?.getLayoutValue("text-allow-overlap",e),textIgnorePlacement:r?.getLayoutValue("text-ignore-placement",e),iconRotationAlignment:i,textRotationAlignment:a,iconTranslateAnchor:o,iconTranslate:s,textTranslateAnchor:u,textTranslate:l}}isPainterDataDriven(t){const e=this._layerByName[t];return!!e&&e.isPainterDataDriven()}getStyleLayerId(t){return t>=this.layers.length?null:this.layers[t].id}getStyleLayerByUID(t){return this._uidToLayer.get(t)??null}getStyleLayerIndex(t){const e=this._layerByName[t];return e?this.layers.indexOf(e):-1}setStyleLayer(t,e){if(!t?.id)return;const r=this._style;null!=e&&e>=this.layers.length&&(e=this.layers.length-1);let n,i=!0;const s=this._layerByName[t.id];if(s){const o=this.layers.indexOf(s);e||(e=o),e===o?(i=!1,n=a._recreateLayer(t,s,this._getSourceType(t.source)),this.layers[e]=n,r.layers[e]=t):(this.layers.splice(o,1),r.layers.splice(o,1),n=this._create(t,e,this.layers),this.layers.splice(e,0,n),r.layers.splice(e,0,t))}else n=this._create(t,e,this.layers),!e||e>=this.layers.length?(this.layers.push(n),r.layers.push(t)):(this.layers.splice(e,0,n),r.layers.splice(e,0,t));this._layerByName[t.id]=n,this._uidToLayer.set(n.uid,n),i&&this._recomputeZValues(),this._identifyRefLayers()}getStyleLayer(t){const e=this._layerByName[t];return e?{type:e.typeName,id:e.id,source:e.source,"source-layer":e.sourceLayer,minzoom:e.minzoom,maxzoom:e.maxzoom,filter:e.filter,layout:e.layout,paint:e.paint}:null}deleteStyleLayer(t){const e=this._layerByName[t];if(e){delete this._layerByName[t],this._uidToLayer.delete(e.uid);const r=this.layers.indexOf(e);this.layers.splice(r,1),this._style.layers.splice(r,1),this._recomputeZValues(),this._identifyRefLayers()}}getLayerById(t){return this._layerByName[t]}getLayoutProperties(t){const e=this._layerByName[t];return e?e.layout:null}getPaintProperties(t){const e=this._layerByName[t];return e?e.paint:null}setPaintProperties(t,e){const r=this._layerByName[t];if(!r)return;const n={type:r.typeName,id:r.id,source:r.source,"source-layer":r.sourceLayer,minzoom:r.minzoom,maxzoom:r.maxzoom,filter:r.filter,layout:r.layout,paint:e},i=a._recreateLayer(n,r,r.sourceType),s=this.layers.indexOf(r);this.layers[s]=i,this._style.layers[s].paint=e,this._layerByName[r.id]=i,this._uidToLayer.set(r.uid,i)}setLayoutProperties(t,e){const r=this._layerByName[t];if(!r)return;const n={type:r.typeName,id:r.id,source:r.source,"source-layer":r.sourceLayer,minzoom:r.minzoom,maxzoom:r.maxzoom,filter:r.filter,layout:e,paint:r.paint},i=a._recreateLayer(n,r,r.sourceType),s=this.layers.indexOf(r);this.layers[s]=i,this._style.layers[s].layout=e,this._layerByName[r.id]=i,this._uidToLayer.set(r.uid,i)}setStyleLayerVisibility(t,e){const r=this._layerByName[t];if(!r)return;const n=r.layout||{};n.visibility=e;const i={type:r.typeName,id:r.id,source:r.source,"source-layer":r.sourceLayer,minzoom:r.minzoom,maxzoom:r.maxzoom,filter:r.filter,layout:n,paint:r.paint},s=a._recreateLayer(i,r,r.sourceType),o=this.layers.indexOf(r);this.layers[o]=s,this._style.layers[o].layout=n,this._layerByName[r.id]=s,this._uidToLayer.set(r.uid,s)}getStyleLayerVisibility(t){const e="string"==typeof t?this._layerByName[t]:this._uidToLayer.get(t);if(!e)return!1;const r=e.getLayoutProperty("visibility");return!r||1!==r.getValue()}_recomputeZValues(){const t=this.layers,e=1/(t.length+1);for(let r=0;r<t.length;r++)t[r].z=1-(1+r)*e}_identifyRefLayers(){const t=[],e=[];let r=0;for(const n of this.layers){const i=n.layout;if(1===n.type){const e=n;let a=n.source+"|"+n.sourceLayer;a+="|"+(i?.visibility??""),a+="|"+n.minzoom,a+="|"+n.maxzoom,a+="|"+JSON.stringify(n.filter),(e.hasDataDrivenFill||e.hasDataDrivenOutline)&&(a+="|"+r),t.push({key:a,layer:n})}else if(2===n.type){const t=n,a=n.paint,s=null!=a&&(null!=a["line-pattern"]||null!=a["line-dasharray"]);let o=n.source+"|"+n.sourceLayer;o+="|"+(i?.visibility??""),o+="|"+n.minzoom,o+="|"+n.maxzoom,o+="|"+JSON.stringify(n.filter),o+="|"+(void 0!==i?i["line-cap"]:""),o+="|"+(void 0!==i?i["line-join"]:""),(t.hasDataDrivenLine||s)&&(o+="|"+r),e.push({key:o,layer:n})}++r}this._assignRefLayers(t),this._assignRefLayers(e)}_assignRefLayers(t){let e,r;t.sort((t,e)=>t.key<e.key?-1:t.key>e.key?1:0);const n=t.length;for(let i=0;i<n;i++){const a=t[i];if(a.key===e)a.layer.refLayerId=r;else if(e=a.key,r=a.layer.id,1===a.layer.type){if(!a.layer.getPaintProperty("fill-outline-color"))for(let s=i+1;s<n;s++){const n=t[s];if(n.key!==e)break;if(n.layer.getPaintProperty("fill-outline-color")){t[i]=n,t[s]=a,r=n.layer.id;break}}}else if(2===a.layer.type){let s=a.layer;for(let o=i+1;o<n;o++){const n=t[o];if(n.key!==e)break;const l=n.layer;(s.canUseThinTessellation&&!l.canUseThinTessellation||!s.canUseThinTessellation&&(l.getPaintProperty("line-pattern")||l.getPaintProperty("line-dasharray")))&&(s=l,t[i]=n,t[o]=a,r=n.layer.id)}}}}_create(t,e,r){const n=1-(1+e)*(1/(r.length+1)),a=this._runningId++,s=this._getSourceType(t.source);switch(t.type){case"background":return new i.lf(0,t,n,a,s);case"fill":return new i.A4(1,t,n,a,s);case"line":return new i.tU(2,t,n,a,s);case"symbol":return new i.V1(3,t,n,a,s);case"raster":return console.warn(`Unsupported vector tile raster layer ${t.id}`),null;case"circle":return new i.L(4,t,n,a,s)}return null}_getSourceType(t){return this._style.sources?.[t]?.type??null}static _recreateLayer(t,e,r){switch(t.type){case"background":return new i.lf(0,t,e.z,e.uid,r);case"fill":return new i.A4(1,t,e.z,e.uid,r);case"line":return new i.tU(2,t,e.z,e.uid,r);case"symbol":return new i.V1(3,t,e.z,e.uid,r);case"raster":return console.warn(`Unsupported vector tile raster layer ${t.id}`),null;case"circle":return new i.L(4,t,e.z,e.uid,r)}return null}}},89518(t,e,r){r.d(e,{M9:()=>o,Ss:()=>l,fw:()=>c,lj:()=>a,ws:()=>u});const n=new Float32Array(1),i=new Uint32Array(n.buffer);function a(t){return function(t,e,r){return Math.round(Math.max(Math.min(t,r),e))}(t,-32768,32767)}function s(t){return n[0]=t,i[0]}function o(t,e){return 65535&t|e<<16}function l(t,e,r,n){return 255&t|(255&e)<<8|(255&r)<<16|n<<24}function u(t,e){return 255&t|(255&e)<<8}function c(t){const e=s(t),r=e>>>31;let n=e>>>23&255,i=8388607&e;return n-=127,n>15?r<<15|31744:n<-25?0:(n<-14&&(i+=8388608,i/=2**(-14-n),n=-15),n+=15,i/=8192,i=function(t){const e=Math.floor(t),r=t-e;return e<1023&&(r>.5||.5===r&&e%2==1)?e+1:e}(i),r<<15|n<<10|i)}},68572(t,e,r){r.d(e,{H:()=>s,q:()=>o}),r(44208);var n=r(23304),i=r(63907);function a(t){switch(t){case i.pe.BYTE:case i.pe.UNSIGNED_BYTE:return 1;case i.pe.SHORT:case i.pe.UNSIGNED_SHORT:case i.pe.HALF_FLOAT:return 2;case i.pe.FLOAT:case i.pe.INT:case i.pe.UNSIGNED_INT:return 4}}function s(t){const e=[],r=[],n=[];for(const i of t){const t=a(i.type)*i.count;switch(t%2||t%4||4){case 4:e.push(i);continue;case 2:r.push(i);continue;case 1:n.push(i);continue;default:throw new Error("Found unexpected dataType byte count")}}return e.push(...r),e.push(...n),e}class o{static fromVertexSpec(t,e){const r=t.attributes,n=t.optionalAttributes;let i,l,u;const c=[];for(const t in r){if(r[t].otherSource)continue;const e=r[t];"position"===e.pack?i={...e,name:t,offset:0}:"id"===e.pack?l={...e,name:t,offset:4}:"bitset"===t?u={...e,name:t,offset:7}:c.push({...e,name:t})}for(const t in n)if(!0===e[t]){const e=n[t];c.push({...e,name:t})}const h=s(c),p=[];let y=8,f=1;for(const t of h)p.push({...t,offset:y}),y+=a(t.type)*t.count,t.packAlternating&&(f=Math.max(t.packAlternating.count,f));const m=Uint32Array.BYTES_PER_ELEMENT,g=y%m;return new o(i,l,u,p,y+(g?m-g:0),f)}constructor(t,e,r,n,i,a){this.position=t,this.id=e,this.bitset=r,this.standardAttributes=n,this.stride=i,this.packVertexCount=a,n.push(r),this._attributes=[t,e,r,...n]}get attributeLayout(){if(!this._attributeLayout){const t=(0,n.hU)(this._attributes),e=this._attributes.map(t=>({name:t.name,count:t.count,offset:t.offset,type:t.type,packPrecisionFactor:t.packPrecisionFactor,normalized:t.normalized??!1}));this._attributeLayout={attributes:e,hash:t,stride:this.stride}}return this._attributeLayout}}},23304(t,e,r){r.d(e,{Ph:()=>a,Z0:()=>s,hU:()=>i});var n=r(799);function i(t){const e=t.map(({name:t,count:e,type:r})=>`${t}.${e}.${r}`).join(",");return(0,n.Wm)(e)}function a(t,e,r,n,i,s,o){if(t.primitiveName===e){let e=n?.readWithDefault(i,s,t[r]&&o);return"text"===t.type&&(e=e.toString()),void(t[r]=e)}if("type"in t&&null!=t.type){if(t.effects)for(const l of t.effects)a(l,e,r,n,i,s,o);switch(t.type){case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":if(t.symbolLayers)for(const l of t.symbolLayers)a(l,e,r,n,i,s,o);break;case"CIMTextSymbol":t.symbol&&a(t.symbol,e,r,n,i,s,o);break;case"CIMHatchFill":t.lineSymbol&&a(t.lineSymbol,e,r,n,i,s,o);break;case"CIMPictureMarker":case"CIMCharacterMarker":case"CIMVectorMarker":if(t.markerPlacement&&a(t.markerPlacement,e,r,n,i,s,o),"CIMVectorMarker"===t.type&&t.markerGraphics)for(const l of t.markerGraphics)a(l,e,r,n,i,s,o),a(l.symbol,e,r,n,i,s,o)}}}function s(t){const e=Math.max(1.25*t.width,20);return null!=t.effects&&t.effects.length>0?400:e}},85079(t,e,r){r.d(e,{Sk:()=>s,Xk:()=>i,_u:()=>a});var n=r(21818);function i(t){let e=0;return(0,n.z)(new Map(t.map(({name:t,count:r})=>{const n=[t,e];return 16===r?e+=4:9===r?e+=3:++e,n})))}function a(t){const e=new Map;let r=0;return t.forEach(t=>t.forEach(({name:t,count:n})=>{e.set(t,r),16===n?r+=4:9===n?r+=3:++r})),e}function s(t){return a(Array.from(t.values()).map(({layout:t})=>t))}},74038(t,e,r){r.d(e,{_:()=>n});class n{constructor(t,e,r,n,i,a=!1,s=0,o=!1){this.name=t,this.count=e,this.type=r,this.offset=n,this.stride=i,this.normalized=a,this.divisor=s,this.integer=o}}},63907(t,e,r){const n={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},i={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},a=Object.values(i),s={FLOAT:n.FLOAT,UNSIGNED_BYTE:n.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:n.BYTE,UNSIGNED_SHORT:n.UNSIGNED_SHORT,SHORT:n.SHORT,UNSIGNED_INT:n.UNSIGNED_INT,INT:n.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269};r.d(e,["CQ",0,{COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497},"H0",0,i,"SB",0,{DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},"WR",0,{POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},"XN",0,a,"iE",0,{DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},"ld",0,s,"pe",0,n,"vt",0,{Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12}])}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2802],{22802(e,t,r){r.d(t,{OperatorWithin:()=>s});var n=r(39117);class s extends n.Z{getOperatorType(){return 7}execute(e,t,r,s){return(0,n._)(e,t,r,2,s)}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1948,4790],{61691(t,e,r){r.d(e,{G:()=>s});class s{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},98783(t,e,r){r.d(e,{O:()=>o});var s=r(61691),n=r(55537),i=r(76061),a=r(39117);class o{getOperatorType(){return 10104}accelerateGeometry(t,e,r){return!1}canAccelerateGeometry(t){return!1}supportsCurves(){return!0}isSimple(t,e,r,s,n){return 5===(0,a.X)(t,e,r,s,n)}executeMany(t,e,r,s){return new u(t,e,r,s)}execute(t,e,r,s){const a=new i.S([t]),o=this.executeMany(a,e,r,s).next();return o||(0,n.d)("null output"),o}}class u extends s.G{m_inputGeometryCursor;m_spatialReference;m_progressTracker;m_index;m_bForceSimplify;constructor(t,e,r,s){super(),t||(0,n.a)(""),this.m_progressTracker=s,this.m_bForceSimplify=r,this.m_index=-1,this.m_inputGeometryCursor=t,this.m_spatialReference=e}next(){const t=this.m_inputGeometryCursor.next();return t?((0,n.c)(t),this.m_index=this.m_inputGeometryCursor.getGeometryID(),this.simplify(t)):null}getGeometryID(){return this.m_index}tock(){return!1}getRank(){return 1}simplify(t){return t||(0,n.a)(""),(0,a.Y)(t,this.m_spatialReference,this.m_bForceSimplify,this.m_progressTracker)}}},76061(t,e,r){r.d(e,{S:()=>n});var s=r(61691);class n extends s.G{m_aGeoms;m_iGeom=-1;constructor(t){super(),this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},87992(t,e,r){r.d(e,{JR:()=>S,ME:()=>M,MY:()=>O,NO:()=>C,Nh:()=>E,V2:()=>b,_s:()=>Z,e6:()=>w,gh:()=>_,tr:()=>V,uX:()=>x});var s=r(32198),n=r(16930),i=r(19419),a=r(60408),o=r(21325),u=r(513),h=r(50954),l=r(79567),c=r(52006),m=r(49663),g=r(46068),f=r(92722);class x{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:u,segmentFlags:h,segmentIndices:l,segmentParams:c,segmentCountArc:m,segmentCountBezier:g}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=l,this.segmentParams=c,this.segmentCountArc=m,this.segmentCountBezier=g}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?64+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:s,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=b(t,e,r,s,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:l}=this;if(o.vertexXY.set(u.subarray(0,2*e),0),o.vertexZ?.set(h.subarray(0,e),0),o.vertexM?.set(l.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(s.subarray(0,n),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,o.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new p(this):[][Symbol.iterator]()}}class p{constructor(t){this.geometry=t,this.value=new y(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class y{constructor(t){this.geometry=t,this.index=-1,this._readVertex=F(t),this._segments=new v(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class v{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new d(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class d{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=F(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],s=e[r++],n=e[r++],i=e[r++];return{b:[this.end,[t,s],[n,i]]}}const s=e[r++],n=e[r++],i=e[r++],a=e[r++],o=e[r++],u=e[r++];r++,r++;const h=e[r++],l=e[r++];if(!Boolean(4&s)&&1===i)return{c:[this.end,[h,l]]};const c=2&s?0:1,m=1&s?0:1;return{a:[this.end,[o,u],c,m,a,n,i]}}}function C(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,i.Ie)(),(0,s.mS)(r,new R(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:n,vertexZ:a,vertexM:o}=t,u=P(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new R(t,["vertexZ","vertexM"]),!1);const n=(0,i.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,l.e)(n,t,r),t=(0,c.yP)(r)}const[a,o,h,m]=n;e={xmin:a,ymin:o,xmax:h,ymax:m,spatialReference:u}}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}else{let t,s,i,a;t=s=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=n[2*e],o=n[2*e+1];t=Math.min(t,r),i=Math.max(i,r),s=Math.min(s,o),a=Math.max(a,o)}e={xmin:t,ymin:s,xmax:i,ymax:a,spatialReference:u}}if(a){let t=1/0,r=-1/0;for(const e of a)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(o){let t=1/0,r=-1/0;for(const e of o)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}function M(t){let e,r,s;if((0,a.fT)(t)){s="point";const{x:n,y:i,z:a,m:o}=t,u=[n,i];null!=a&&u.push(a),null!=o&&u.push(o),r=[[u]],e=1}else(0,a.U9)(t)?(s="multipoint",r=[t.points],e=t.points.length):(0,a.Rg)(t)?(s="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(s="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,A(e[0],(0,c.yP)(e.at(-1)))&&--t),t),0));const n=b(s,e,s.includes("point")?0:r.length,(0,a.Pv)(t),(0,a.W0)(t),(0,c.Ed)(t)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:h,vertexM:l}=n;function m(t){u[2*f]=t[0],u[2*f+1]=t[1],i&&(h[f]=t[2]),o&&(l[f]=t[g]),++f}n.spatialReference=t.spatialReference??void 0;const g=n.hasZ?3:2;let f=0;if(!n.isMultipart()){if(!i&&!o){for(const[t,e]of r[0])u[2*f]=t,u[2*f+1]=e,++f;return n}for(const t of r[0])m(t);return n}const x="polygon"===s,{partOffsets:p}=n;let y=0;if(!(0,c.Ed)(t)){for(const t of r){if(p[y++]=f,0===t.length)continue;let e=t.length;if(x&&A(t[0],t.at(-1))&&--e,i||o)for(let r=0;r<e;++r)m(t[r]);else for(let r=0;r<e;++r){const[e,s]=t[r];u[2*f]=e,u[2*f+1]=s,++f}}return p[y]=f,n}function v(t){const e=d+t;if(e<=(n.segmentParams?.length??0))return;let r=e*G;r=20*Math.ceil(r/20);const s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let d=0;for(const t of r){if(n.partOffsets[y++]=f,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const s=t[e];m(r);const i=f-1;(0,c.wY)(s)?(v(10),++n.segmentCountArc,d=Z(r,s,n,i,d),r=s.a[0]):(0,c.DA)(s)?(v(10),++n.segmentCountArc,d=Y(r,s,n,i,d),r=s.a[0]):(0,c.aO)(s)?(v(10),++n.segmentCountArc,d=w(r,s,n,i,d),r=s.c[0]):(0,c.n1)(s)?(v(4),++n.segmentCountBezier,d=V(0,s,n,i,d),r=s.b[0]):r=s}x&&A(e,r)||m(r)}return n.partOffsets[y]=f,n}function _(t){const e=F(t),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=t,a=P(t);if("point"===t.type){const[e,r]=t.vertexXY,s=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:r,z:s,m:n,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:n,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let n=0;n<s;++n){const s=t.partOffsets[n+1],i=new Array;for(;o<s;)i.push(e(o++));u&&i.length>0&&i.push(i[0]),r.push(i)}return u?{rings:r,hasZ:n,hasM:i,spatialReference:a}:{paths:r,hasZ:n,hasM:i,spatialReference:a}}const h=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);h.push(t)}return u?{rings:[],curveRings:h,hasZ:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:h,hasZ:n,hasM:i,spatialReference:a}}function E(t,{lengths:e,coords:r,hasZ:s,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);s??=!1,n??=!1;const h=b(t,u,a,s,n,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=r[e++],h.vertexXY[2*t+1]=r[e++],s&&(h.vertexZ[t]=r[e++]),n&&(h.vertexM[t]=r[e++]);return h}const l=2+Number(s)+Number(n);let c=0,m=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[m],i=e+t-Number(o);h.partOffsets[++m]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=r[c++],h.vertexXY[2*t+1]=r[c++],s&&(h.vertexZ[t]=r[c++]),n&&(h.vertexM[t]=r[c++]);o&&(c+=l)}return h}function S({type:t,vertexCount:e,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:u}){const h=new f.A([],[],o,u);i=Math.max(i,1);const l="polygon"===t;let c=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,m=h.coords.length;for(let t=c;t<i;++t)h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(s[t]),u&&h.coords.push(n[t]);if(l){const t=c;h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(s[t]),u&&h.coords.push(n[t])}h.lengths.push((h.coords.length-m)/h.stride),c=i}return"point"===t&&(h.lengths.length=0),h}function O(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let s=t.getLatestID();(s<=0||s===r)&&(s=void 0);const n=t.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:s,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class R{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function P({spatialReference:t}){return t instanceof n.A?t.toJSON():t}function F({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?s=>[t[2*s],t[2*s+1],e[s],r[s]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function A(t,e){return t.every((t,r)=>t===e[r])}function b(t,e,r,s,n,i,a,o){a??=0,o??=0;const u=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let h=2*Float64Array.BYTES_PER_ELEMENT*e;s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),n&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(r+1)*Int32Array.BYTES_PER_ELEMENT,h+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const l=new ArrayBuffer(h);let c=0;return u.vertexXY=new Float64Array(l,c,2*e),c+=u.vertexXY.byteLength,s&&(u.vertexZ=new Float64Array(l,c,e),c+=u.vertexZ.byteLength),n&&(u.vertexM=new Float64Array(l,c,e),c+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(l,c,u.segmentParamCount),c+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(l,c,e),u.segmentIndices.fill(k),c+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(l,c,r+1),c+=u.partOffsets.byteLength,u.partFlags=new Int8Array(l,c,r+1),c+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,r).fill(1)),i&&(u.segmentFlags=new Int8Array(l,c,e),u.segmentFlags.fill(1),c+=u.segmentFlags.byteLength),u}function Z(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const[o,[u,h],l,c,m,f,x]=e.a;let p=4;c||(p|=1),l||(p|=2);const y=(0,g.SW)(t,e),[v,d]=(0,g.Uk)(y,.5);return n[a++]=p,n[a++]=f,n[a++]=x,n[a++]=m,n[a++]=u,n[a++]=h,n[a++]=y.u2-y.u1,n[a++]=y.u1,n[a++]=v,n[a++]=d,a}function Y(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const o=(0,m.io)(t,e);return I(o,4,...(0,u.mq)(o,.5),n,a)}function w(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){return r[i]=4,s[i]=a,I((0,h.pM)(t,e),0,...e.c[1],n,a)}function I(t,e,r,s,n,i){const{cx:a,cy:o,thetaStart:u,thetaEnd:h,radius:l}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),n[i++]=e,n[i++]=l,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=h-u,n[i++]=u,n[i++]=r,n[i++]=s,i}function V(t,{b:[e,[r,s],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:u},h,l){return a[h]=2,o[h]=l,u[l++]=r,u[l++]=s,u[l++]=n,u[l++]=i,l}const G=1.61803,k=-1},67520(t,e,r){r.r(e),r.d(e,{execute:()=>u,executeMany:()=>h,isSimple:()=>l});var s=r(76061);const n=new(r(98783).O);function i(t,e,r){const i=n.executeMany(new s.S(t),e,r,null);return Array.from(i)}function a(t,e,r,s){return n.isSimple(t,e,r,s,null)}var o=r(83299);function u(t){const e=(0,o.fromGeometry)(t),r=e.getSpatialReference();return(0,o.toGeometry)(function(t,e){return n.execute(t,e,!1,null)}(e.getGeometry(),r),r)}function h(t){const[e,r]=(0,o.fromGeometries)(t);return i(e,r,!1).map(t=>(0,o.toGeometry)(t,r))}function l(t){const e=(0,o.fromGeometry)(t);return a(e.getGeometry(),e.getSpatialReference(),!1,null)}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9074],{49074(e,t,n){n.d(t,{execute:()=>c,f:()=>r}),n(76061),n(55537);var u=n(39117);n(83661),n(88885),n(95213);const s=new u.a3;function c(e,t,n){return s.execute(e,t,n,null)}function r(){return s.supportsCurves()}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[359],{11006(t,e,n){function r(t,e,n,r,o){s(t,e,n||0,r||t.length-1,o||i)}function s(t,e,n,r,i){for(;r>n;){if(r-n>600){var u=r-n+1,l=e-n+1,c=Math.log(u),a=.5*Math.exp(2*c/3),h=.5*Math.sqrt(c*a*(u-a)/u)*(l-u/2<0?-1:1);s(t,e,Math.max(n,Math.floor(e-l*a/u+h)),Math.min(r,Math.floor(e+(u-l)*a/u+h)),i)}var f=t[e],m=n,d=r;for(o(t,n,e),i(t[r],f)>0&&o(t,n,r);m<d;){for(o(t,m,d),m++,d--;i(t[m],f)<0;)m++;for(;i(t[d],f)>0;)d--}0===i(t[n],f)?o(t,n,d):o(t,++d,r),d<=e&&(n=d+1),e<=d&&(r=d-1)}}function o(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function i(t,e){return t<e?-1:t>e?1:0}n.d(e,{q:()=>r})},43334(t,e,n){n.d(e,{N3:()=>u,Om:()=>i});var r=n(69397),s=n(27647),o=n(92722);class i{constructor(t,e,n,r,s=0,o=null,i=null){this.geometry=t,this.attributes=e,this.centroid=n,this.objectId=r,this.displayId=s,this.distance=o,this.vertexCount=i}static fromJSON(t){const e=t.geometry?o.A.fromJSON(t.geometry):null,n=t.centroid?o.A.fromJSON(t.centroid):null,r=t.objectId;return new i(e,t.attributes,n,r,void 0,t.distance,t.vertexCount)}weakClone(){return new i(this.geometry,this.attributes,this.centroid,this.objectId,this.displayId,this.distance,this.vertexCount)}clone(){return new i(this.geometry?.clone(),{...this.attributes},this.centroid?.clone(),this.objectId,this.displayId,this.distance,this.vertexCount)}ensureCentroid(t){return this.centroid??=(0,s.Q)(this.geometry),this.centroid}get usedMemory(){return 128+(0,r.lM)(this.attributes)+(this.geometry?.usedMemory??0)}}function u(t){return!!t.geometry?.coords?.length}},58512(t,e,n){n.d(e,{A:()=>r});class r{constructor(){this.globalIdFieldName=null,this.geohashFieldName=null,this.geometryProperties=null,this.geometryType=null,this.spatialReference=null,this.hasZ=!1,this.hasM=!1,this.features=[],this.fields=[],this.transform=null,this.exceededTransferLimit=!1,this.uniqueIdField=null,this.queryGeometryType=null,this.queryGeometry=null}weakClone(){const t=new r;return t.globalIdFieldName=this.globalIdFieldName,t.geohashFieldName=this.geohashFieldName,t.geometryProperties=this.geometryProperties,t.geometryType=this.geometryType,t.spatialReference=this.spatialReference,t.hasZ=this.hasZ,t.hasM=this.hasM,t.features=this.features,t.fields=this.fields,t.transform=this.transform,t.exceededTransferLimit=this.exceededTransferLimit,t.uniqueIdField=this.uniqueIdField,t.queryGeometry=this.queryGeometry,t.queryGeometryType=this.queryGeometryType,t}}},92722(t,e,n){n.d(e,{A:()=>s});var r=n(69397);class s{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const o=n-t,i=r-e;return new s([5],[t,e,o,0,0,i,-o,0,0,-i])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*e],o=this.coords[r*e+1];for(let i=1;i<n;i+=1){const n=r*(e+i),u=this.coords[n],l=this.coords[n+1];t+=-.5*(u-s)*(l+o),s=u,o=l}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(e+s);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,o=this.coords.slice(0,r*n);return t?(t.set(o),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(o),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new s(this.lengths,n,!1,!1)}}},27647(t,e,n){n.d(e,{Q:()=>o});var r=n(92722);function s(t,e){return t?e?4:3:e?3:2}function o(t){if(null==t)return null;if(!t?.lengths.length)return null;const{lengths:e,coords:n,stride:s,hasZ:o,hasM:l}=t,c=new r.A([],[],o,!1),a=c.coords,h=[],f=o?[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY]:[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY];let m=0;for(const t of e){const e=i(f,n,m,t,o,l);e&&h.push(e),m+=t*s}if(h.sort((t,e)=>{let n=t[2]-e[2];return 0===n&&o&&(n=t[4]-e[4]),n}),h.length){let t=6*h[0][2];a[0]=h[0][0]/t,a[1]=h[0][1]/t,o&&(t=6*h[0][4],a[2]=0!==t?h[0][3]/t:0),(a[0]<f[0]||a[0]>f[1]||a[1]<f[2]||a[1]>f[3]||o&&(a[2]<f[4]||a[2]>f[5]))&&(a.length=0)}if(!a.length){const r=t.lengths[0]?u(n,0,e[0],o,l):null;if(!r)return null;a[0]=r[0],a[1]=r[1],o&&(a[2]=r[2]??0)}return c}function i(t,e,n,r,o,i){const u=s(o,i);let l=n,c=n+u,a=0,h=0,f=0,m=0,d=0;for(let n=0,s=r-1;n<s;n++,l+=u,c+=u){const n=e[l],r=e[l+1],s=e[l+2],i=e[c],u=e[c+1],g=e[c+2];let y=n*u-i*r;m+=y,a+=(n+i)*y,h+=(r+u)*y,o&&(y=n*g-i*s,f+=(s+g)*y,d+=y),n<t[0]&&(t[0]=n),n>t[1]&&(t[1]=n),r<t[2]&&(t[2]=r),r>t[3]&&(t[3]=r),o&&(s<t[4]&&(t[4]=s),s>t[5]&&(t[5]=s))}if(m>0&&(m*=-1),d>0&&(d*=-1),!m)return null;const g=[a,h,.5*m];return o&&(g[3]=f,g[4]=.5*d),g}function u(t,e,n,r,o){const i=s(r,o);let u=e,f=e+i,m=0,d=0,g=0,y=0;for(let e=0,s=n-1;e<s;e++,u+=i,f+=i){const e=t[u],n=t[u+1],s=t[u+2],o=t[f],i=t[f+1],p=t[f+2],I=r?c(e,n,s,o,i,p):l(e,n,o,i);if(I)if(m+=I,r){const t=h(e,n,s,o,i,p);d+=I*t[0],g+=I*t[1],y+=I*t[2]}else{const t=a(e,n,o,i);d+=I*t[0],g+=I*t[1]}}return m>0?r?[d/m,g/m,y/m]:[d/m,g/m]:n>0?r?[t[e],t[e+1],t[e+2]]:[t[e],t[e+1]]:null}function l(t,e,n,r){const s=n-t,o=r-e;return Math.sqrt(s*s+o*o)}function c(t,e,n,r,s,o){const i=r-t,u=s-e,l=o-n;return Math.sqrt(i*i+u*u+l*l)}function a(t,e,n,r){return[t+.5*(n-t),e+.5*(r-e)]}function h(t,e,n,r,s,o){return[t+.5*(r-t),e+.5*(s-e),n+.5*(o-n)]}},51441(t,e,n){n.d(e,{LQ:()=>s,ag:()=>i,pL:()=>o});var r=n(90708);function s(t,e,n,s=t.hasZ,o=t.hasM){if(null==e)return null;const i=t.hasZ&&s,u=t.hasM&&o;if(n){const t=(0,r.Nl)(e,"esriGeometryPoint",n,s,o);return(0,r.DF)(t,i,u)}return(0,r.DF)(e,i,u)}function o(t,e,n,s,o,i){if(null==e)return null;const u="coords"in e?e:e.geometry;if(null==u)return null;const{hasZ:l,hasM:c}=u,a=l&&(o??=l),h=c&&(i??=c);if(n){let e=(0,r.kz)(u,t,n,o,i);return s&&(e=(0,r.Nl)(e,t,s)),(0,r.zv)(e,t,a,h)}if(s){const e=(0,r.Nl)(u,t,s,o,i);return(0,r.zv)(e,t,a,h)}return(0,r.zv)(u,t,a,h)}function i(t){return t&&u in t?JSON.parse(JSON.stringify(t,l)):t}const u="_geVersion",l=(t,e)=>t===u?void 0:e},31464(t,e,n){n.d(e,{Cv:()=>m,Nk:()=>f,lK:()=>g});var r=n(4576),s=n(99917),o=n(60408),i=n(21325),u=n(28735);const l=[0,0];function c(t,e){const n=(0,i.K8)(t)?u.je:u.tD;if((0,o.fT)(e)){const t={x:0,y:0};return[t.x,t.y]=n(e.x,e.y,l),null!=e.z&&(t.z=e.z),null!=e.m&&(t.m=e.m),t}if((0,o.ZC)(e)){const t={xmin:0,ymin:0,xmax:0,ymax:0};return[t.xmin,t.ymin]=n(e.xmin,e.ymin,l),[t.xmax,t.ymax]=n(e.xmax,e.ymax,l),e.hasZ&&(t.zmin=e.zmin,t.zmax=e.zmax,t.hasZ=!0),e.hasM&&(t.mmin=e.mmin,t.mmax=e.mmax,t.hasM=!0),t}if((0,o.Bi)(e))return{rings:a(e.rings,n),hasM:e.hasM,hasZ:e.hasZ};if((0,o.Rg)(e))return{paths:a(e.paths,n),hasM:e.hasM,hasZ:e.hasZ};if((0,o.U9)(e))return{points:h(e.points,n),hasM:e.hasM,hasZ:e.hasZ};throw new Error}function a(t,e){const n=[];for(const r of t)n.push(h(r,e));return n}function h(t,e){const n=[];for(const r of t){const t=e(r[0],r[1],[0,0]);n.push(t),r.length>2&&t.push(r[2]),r.length>3&&t.push(r[3])}return n}async function f(t,e){if(!t||!e)return;const n=Array.isArray(t)?t.map(t=>null!=t.geometry?t.geometry.spatialReference:null).filter(r.Ru):[t];await(0,s.initializeProjection)(n.map(t=>({source:t,dest:e})))}function m(t,e,n,r){if(!t)return null;if(n||(n=e,e=t.spatialReference),!(0,i.fn)(e)||!(0,i.fn)(n)||(0,i.aI)(e,n))return t;if((0,u.y7)(e,n)){const e=c(n,t);return e.spatialReference=n,e}return(0,s.projectMany)([t],e,n,r)[0]}const d=new class{constructor(){this._jobs=[],this._timer=null,this._process=this._process.bind(this)}async push(t,e,n,r){if(!t?.length||!e||!n||(0,i.aI)(e,n))return t;const s={geometries:t,inSpatialReference:e,outSpatialReference:n,options:r,resolve:Promise.withResolvers()};return this._jobs.push(s),this._timer??=setTimeout(this._process,10),s.resolve.promise}_process(){this._timer=null;const t=this._jobs.shift();if(!t)return;const{geometries:e,inSpatialReference:n,outSpatialReference:r,resolve:o,options:i}=t,l=e.filter(t=>null!=t);let a;a=(0,u.y7)(n,r)&&null==i?.extendedParams?l.map(t=>c(r,t)):(0,s.projectMany)(l,n,r,i);let h=0;const f=e.map(t=>null==t?null:a[h++]);o.resolve(f),this._jobs.length>0&&(this._timer=setTimeout(this._process,10))}};function g(t,e,n,r){return d.push(t,e,n,r)}},90708(t,e,n){n.d(e,{Ap:()=>G,B2:()=>y,DF:()=>T,Di:()=>R,E2:()=>E,IE:()=>g,Nl:()=>Y,PR:()=>P,Rk:()=>Q,Ux:()=>k,Ye:()=>A,ZF:()=>S,aQ:()=>D,jH:()=>V,jQ:()=>U,kz:()=>j,oN:()=>C,q3:()=>q,qN:()=>v,zv:()=>z});var r=n(49186),s=n(53966),o=n(97768),i=n(70328),u=n(19419),l=n(60408),c=n(43334),a=n(58512),h=n(92722),f=n(54339);const m=()=>s.A.getLogger("esri.layers.graphics.featureConversionUtils"),d={esriGeometryPoint:0,esriGeometryPolyline:2,esriGeometryPolygon:3,esriGeometryMultipoint:0,esriGeometryMultiPatch:3,esriGeometryEnvelope:0};function g({scale:t,translate:e},n){return Math.round((n-e[0])/t[0])}function y({scale:t,translate:e},n){return Math.round((e[1]-n)/t[1])}function p({scale:t,translate:e},n){return Math.round((n-e[0])/t[0])}function I({scale:t,translate:e},n){return Math.round((n-e[1])/t[1])}function N({scale:t,translate:e},n,r){return n*t[r]+e[r]}function M(t,e,n){return e&&(t.hasZ=!0),n&&(t.hasM=!0),t}function b(t,e,n,r){if(e&&r&&t!==n)return(e,n,r,s)=>{r[s++]=e[n++],r[s++]=e[n++],t?n++:r[s++]=0,r[s++]=e[n++]??0};const s=2+(n?1:0)+(r?1:0),o=s-((!t&&n?1:0)+(!e&&r?1:0));return(t,e,n,r)=>{for(let i=0;i<s;++i)n[r++]=i<o?t[e++]??0:0}}function T(t,e,n){if(!t)return null;const{coords:r,hasZ:s,hasM:o}=t,[i,u]=r,l=s?r[2]:0,c=o?r[2+(s?1:0)]:0;return{x:i,y:u,z:e?l:void 0,m:n?c:void 0}}function v(t,e=(0,l.Pv)(t),n=(0,l.W0)(t)){const{x:r,y:s,z:o,m:i}=t,u=[r,s];return e&&u.push(o??0),n&&u.push(i??0),new h.A([],u,e,n)}function w(t,e,n){if(null==t)return null;const{coords:r,stride:s,hasZ:o,hasM:i}=t,u=b(o,i,e,n),l=[];for(let t=0;t<r.length;t+=s){const e=[];u(r,t,e,0),l.push(e)}return M({points:l},e,n)}function P(t,e=(0,l.Pv)(t),n=(0,l.W0)(t)){const{points:r,hasZ:s,hasM:o}=t,i=new h.A([r.length],[],e,n),{coords:u,stride:c}=i;let a=0;const f=b(s??!1,o??!1,e,n);for(const t of r)f(t,0,u,a),a+=c;return i}function x(t,e,n){if(!t)return null;const{coords:r,lengths:s,stride:o,hasZ:i,hasM:u}=t;let l=0;const c=b(i,u,e,n),a=[];for(const t of s){const e=[];for(let n=0;n<t;n++){const t=[];c(r,l,t,0),l+=o,e.push(t)}a.push(e)}return M({paths:a},e,n)}function G(t,e=(0,l.Pv)(t),n=(0,l.W0)(t)){const{paths:r,hasZ:s,hasM:o}=t,i=b(s??!1,o??!1,e,n),u=new h.A([],[],e,n),{lengths:c,coords:a,stride:f}=u;let m=0;for(const t of r){for(const e of t)i(e,0,a,m),m+=f;c.push(t.length)}return u}function Z(t,e,n){if(!t)return null;const{coords:r,lengths:s,stride:o,hasZ:i,hasM:u}=t;let l=0;const c=b(i,u,e,n),a=[];for(const t of s){const e=[];for(let n=0;n<t;n++){const t=[];c(r,l,t,0),l+=o,e.push(t)}a.push(e)}return M({rings:a},e,n)}function A(t,e=(0,l.Pv)(t),n=(0,l.W0)(t)){const{rings:r,hasZ:s,hasM:o}=t,i=new h.A([],[],e,n),{lengths:u,coords:c,stride:a}=i;let f=0;const m=b(s??!1,o??!1,e,n);for(const t of r){for(const e of t)m(e,0,c,f),f+=a;u.push(t.length)}return i}const F=[],_=[];function E(t,e,n,r,s){F[0]=t;const[o]=R(_,F,e,n,r,s);return B(F),B(_),o}function R(t,e,n,s,o,i){if(B(t),!n){for(const n of e){const e=(0,f.W)(n,i);t.push(new c.Om(null,n.attributes,null,e,void 0,n.distance,n.vertexCount))}return t}switch(n){case"esriGeometryPoint":return function(t,e,n,r,s){for(const o of e){const{geometry:e,attributes:i,centroid:u}=o,a=(0,l.Pv)(e),h=(0,l.W0)(e);t.push(new c.Om(e?v(e,n&&a,r&&h):null,i,u?v(u,!1,!1):null,(0,f.W)(o,s),o.displayId,o.distance,o.vertexCount))}return t}(t,e,s,o,i);case"esriGeometryMultipoint":return function(t,e,n,r,s){for(const o of e){const{geometry:e,attributes:i}=o,u=(0,l.Pv)(e),a=(0,l.W0)(e);t.push(new c.Om(e?P(e,n&&u,r&&a):null,i,null,(0,f.W)(o,s),o.displayId,o.distance,o.vertexCount))}return t}(t,e,s,o,i);case"esriGeometryPolyline":return function(t,e,n,r,s){for(const o of e){const{geometry:e,attributes:i,centroid:u}=o,a=(0,l.Pv)(e),h=(0,l.W0)(e);t.push(new c.Om(e?G(e,n&&a,r&&h):null,i,u?v(u,!1,!1):null,(0,f.W)(o,s),o.displayId,o.distance,o.vertexCount))}return t}(t,e,s,o,i);case"esriGeometryPolygon":case"esriGeometryMultiPatch":return function(t,e,n,r,s){for(const o of e){const{geometry:e,attributes:i,centroid:u}=o,a=(0,l.Pv)(e),h=(0,l.W0)(e);t.push(new c.Om(e?A(e,n&&a,r&&h):null,i,u?v(u,!1,!1):null,(0,f.W)(o,s),o.displayId,o.distance,o.vertexCount))}return t}(t,e,s,o,i);default:m().error("convertToFeatureSet:unknown-geometry",new r.A("internal:geometry",`Unable to parse unknown geometry type '${n}'`)),B(t)}return t}function C(t,e,n,r){_[0]=t,O(F,_,e,n,r);const s=F[0];return B(F),B(_),s}function k(t,e=(0,l.Pv)(t),n=(0,l.W0)(t)){return null==t?null:(0,l.fT)(t)?v(t,e,n):(0,l.Bi)(t)?A(t,e,n):(0,l.Rg)(t)?G(t,e,n):(0,l.U9)(t)?P(t,e,n):void m().error("convertFromGeometry:unknown-geometry",new r.A("internal:geometry",`Unable to parse unknown geometry type '${t}'`))}function z(t,e,n,s){if(null==t)return null;const o="coords"in t?t:t.geometry;if(null==o)return null;switch(e){case"esriGeometryPoint":return T(o,n,s);case"esriGeometryMultipoint":return w(o,n,s);case"esriGeometryPolyline":return x(o,n,s);case"esriGeometryPolygon":return Z(o,n,s);default:return m().error("convertToGeometry:unknown-geometry",new r.A("internal:geometry",`Unable to parse unknown geometry type '${e}'`)),null}}function O(t,e,n,s,o){if(B(t),null==n)return function(t,e){for(const n of e)t.push({attributes:n.attributes});return t}(t,e);switch(n){case"esriGeometryPoint":return function(t,e,n,r){for(const{geometry:s,attributes:o}of e)t.push({attributes:o,geometry:T(s,n,r)});return t}(t,e,s,o);case"esriGeometryMultipoint":return function(t,e,n,r){for(const{geometry:s,attributes:o}of e)t.push({geometry:s&&w(s,n,r),attributes:o});return t}(t,e,s,o);case"esriGeometryPolyline":return function(t,e,n,r){for(const{geometry:s,attributes:o}of e)t.push({geometry:s&&x(s,n,r),attributes:o});return t}(t,e,s,o);case"esriGeometryPolygon":return function(t,e,n,r){for(const{geometry:s,attributes:o,centroid:i}of e){const e=Z(s,n,r),u=T(i,!1,!1);t.push(i?{geometry:e,attributes:o,centroid:u}:{geometry:e,attributes:o})}return t}(t,e,s,o);default:m().error("convertToFeatureSet:unknown-geometry",new r.A("internal:geometry",`Unable to parse unknown geometry type '${n}'`))}return t}function S(t){const{spatialReference:e,transform:n,fields:r,hasM:s,hasZ:o,features:i,geometryType:u,exceededTransferLimit:l,queryGeometry:c,queryGeometryType:a}=t,h={features:O([],i,u,o,s),fields:r,geometryType:u,spatialReference:e,queryGeometry:z(c,a,o,s)};return n&&(h.transform=n),l&&(h.exceededTransferLimit=l),s&&(h.hasM=s),o&&(h.hasZ=o),h}function q(t,e){const n=new a.A,{hasM:r,hasZ:s,features:o,spatialReference:i,geometryType:u,exceededTransferLimit:l,transform:c,fields:h,globalIdFieldName:f}=t;return h&&(n.fields=h),n.geometryType=u??null,n.spatialReference=i??null,o&&R(n.features,o,u,s,r,e),l&&(n.exceededTransferLimit=l),r&&(n.hasM=r),s&&(n.hasZ=s),c&&(n.transform=c),f&&(n.globalIdFieldName=f),n}function V(t,e){const{geometryType:n,features:r}=e;if(!t)return e;for(let e=0;e<r.length;e++){const s=r[e],o=s.weakClone();o.geometry=Y(s.geometry,n,t),o.centroid=Y(s.centroid,"esriGeometryPoint",t),r[e]=o}return e.transform=t,e}function Y(t,e,n,r,s,o=!1){if(null==t)return null;if(!t?.coords.length)return null;const i=d[e],{coords:u,lengths:l,stride:c,hasZ:a,hasM:f}=t;r??=a,s??=f;const m=new h.A([],[],r,s),N=m.stride,M=b(a,f,r,s);let T=0;const v=[0,0,0,0].slice(N),w=o?p:g,P=o?I:y;function x(){M(u,T,v,0),T+=c,v[0]=w(n,v[0]),v[1]=P(n,v[1])}if(t.isPoint)return x(),m.coords.push(...v),m;let G=0;for(const t of l){if(t<i)continue;let e=1;x(),m.coords.push(...v);let[n,r]=v;for(let s=1;s<t;s++){x();const[t,s]=v;n===t&&r===s||(o||(v[0]-=n,v[1]-=r),m.coords.push(...v),n=t,r=s,e++)}e>=i?(m.lengths.push(e),G=m.coords.length):B(m.coords,G)}return B(m.coords,G),m.coords.length?m:null}function j(t,e,n,r=t.hasZ,s=t.hasM){if(!t.coords.length)return null;const o=d[e],{coords:i,lengths:u,stride:l,hasZ:c,hasM:a}=t,f=new h.A([],[],r,s),m=f.stride,g=b(c,a,r,s);if(t.isPoint)return g(i,0,f.coords,0),f;let y=0;const p=n*n;for(const t of u){if(t<o){y+=t*l;continue}const e=f.coords.length/m,n=y,r=y+(t-1)*l;g(i,n,f.coords,f.coords.length),L(f.coords,i,l,p,g,n,r),g(i,r,f.coords,f.coords.length);const s=f.coords.length/m-e;s>=o?f.lengths.push(s):B(f.coords,e*m),y+=t*l}return f.coords.length?f:null}function W(t,e,n,r){const s=t[e],o=t[e+1],i=t[n],u=t[n+1],l=t[r],c=t[r+1];let a=i,h=u,f=l-a,m=c-h;if(0!==f||0!==m){const t=((s-a)*f+(o-h)*m)/(f*f+m*m);t>1?(a=l,h=c):t>0&&(a+=f*t,h+=m*t)}return f=s-a,m=o-h,f*f+m*m}function L(t,e,n,r,s,o,i){let u,l=r,c=0;for(let t=o+n;t<i;t+=n)u=W(e,t,o,i),u>l&&(c=t,l=u);l>r&&(c-o>n&&L(t,e,n,r,s,o,c),s(e,c,t,t.length),i-c>n&&L(t,e,n,r,s,c,i))}function U(t,e){if(!e?.coords?.length)return null;let n=Number.POSITIVE_INFINITY,r=Number.POSITIVE_INFINITY,s=Number.NEGATIVE_INFINITY,o=Number.NEGATIVE_INFINITY;const{coords:l,stride:c}=e;for(let t=0;t<l.length;t+=c){const e=l[t],i=l[t+1];n=Math.min(n,e),s=Math.max(s,e),r=Math.min(r,i),o=Math.max(o,i)}return(0,i.is)(t)?(0,i.BI)(t,n,r,s,o):(0,u.fA)(n,r,s,o,t),t}function D(t,e){const{coords:n,lengths:r,stride:s,hasZ:i,hasM:u}=t;if(!n.length)return void(r.length=0);(0,o.Lw)(e);const{originPosition:l,scale:c,translate:a}=e,h=$;h.originPosition=l;const f=h.scale;f[0]=c[0]??1,f[1]=-(c[1]??1),f[2]=c[2]??1,f[3]=c[3]??1;const m=h.translate;if(m[0]=a[0]??0,m[1]=a[1]??0,m[2]=a[2]??0,m[3]=a[3]??0,u&&!i&&(f[2]=f[3],m[2]=m[3]),!r.length){for(let t=0;t<s;++t)n[t]=N(h,n[t],t);return void(r.length=0)}let d=0;for(let t=0;t<r.length;t++){const e=r[t];r[t]=e;for(let t=0;t<s;++t)n[d+t]=N(h,n[d+t],t);let o=n[d],i=n[d+1];d+=s;for(let t=1;t<e;t++,d+=s){o+=n[d]*f[0],i+=n[d+1]*f[1],n[d]=o,n[d+1]=i;for(let t=2;t<s;++t)n[d+t]=N(h,n[d+t],t)}}}function J(t,e,n,r){let s=0,o=t[r*e],i=t[r*(e+1)];for(let u=1;u<n;u++){const n=o+t[r*(e+u)],l=i+t[r*(e+u)+1],c=(n-o)*(l+i);o=n,i=l,s+=c}return.5*s}function Q(t,e){const{coords:n,lengths:r}=t;let s=0,o=0;for(let t=0;t<r.length;t++){const i=r[t];o+=J(n,s,i,e),s+=i}return Math.abs(o)}function B(t,e=0){t.length!==e&&(t.length=e)}const $={originPosition:"lowerLeft",scale:[1,1,1,1],translate:[0,0,0,0]}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7883],{61473(e,t,n){function r(e){return e=e||globalThis.location.hostname,u.some(t=>null!=e?.match(t))}function s(e,t){return e?(t=t||globalThis.location.hostname)?null!=t.match(o)||null!=t.match(l)?e.replace("static.arcgis.com","staticdev.arcgis.com"):null!=t.match(i)||null!=t.match(a)?e.replace("static.arcgis.com","staticqa.arcgis.com"):e:e:null}n.d(t,{EM:()=>s,b5:()=>r});const o=/^devext\.arcgis\.com$/,i=/^qaext\.arcgis\.com$/,l=/^[\w-]*\.mapsdevext\.arcgis\.com$/,a=/^[\w-]*\.mapsqa\.arcgis\.com$/,u=[/^([\w-]*\.)?[\w-]*\.zrh-dev-local\.esri\.com$/,o,i,/^jsapps\.esri\.com$/,l,a]},88930(e,t,n){n.d(t,{S1:()=>l,lL:()=>u,mi:()=>a,rb:()=>c,t:()=>y});var r=n(97770),s=(n(98623),n(34747));const o=/^(?<hh>([01][0-9])|(2[0-3])):(?<mm>[0-5][0-9])(:(?<ss>[0-5][0-9]))?(\.(?<ms>\d+))?$/,i={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8,unknown:NaN};function l(e,t,n,o="system"){if("unknown"===n)return e;const i=new s.oh((0,r.wj)(o)),l=s.c9.fromJSDate(e,{zone:i}),a="decades"===n||"centuries"===n?"year":function(e){switch(e){case"milliseconds":return"millisecond";case"seconds":return"second";case"minutes":return"minute";case"hours":return"hour";case"days":return"day";case"weeks":return"week";case"months":return"month";case"years":return"year"}}(n);return"decades"===n&&(t*=10),"centuries"===n&&(t*=100),l.plus({[a]:t}).toJSDate()}function a(e,t,n="milliseconds"){const r=e.getTime(),s=y(t,n,"milliseconds");return new Date(r+s)}function u(e,t,n="system"){const{unit:o}=t,i=Math.max(1,Math.trunc(t.value)),l=new s.oh((0,r.wj)(n)),a=s.c9.fromJSDate(e,{zone:l}),u=e=>e-e%i;switch(o){case"milliseconds":return a.startOf("second").plus({millisecond:u(a.millisecond)}).toJSDate();case"seconds":return a.startOf("minute").plus({second:u(a.second)}).toJSDate();case"minutes":return a.startOf("hour").plus({minute:u(a.minute)}).toJSDate();case"hours":return a.startOf("day").plus({hour:u(a.hour)}).toJSDate();case"days":return a.startOf("month").plus({day:u(a.day-1)}).toJSDate();case"weeks":{const e=a.startOf("year").startOf("week"),t=Math.floor(a.diff(e,"weeks").weeks);return e.plus({week:u(t)}).toJSDate()}case"months":return a.startOf("year").plus({month:u(a.month-1)}).toJSDate();case"years":case"decades":case"centuries":{const e=a.startOf("year"),t=("decades"===o?10:"centuries"===o?100:1)*i,n=e.year-e.year%t;return e.set({year:n}).toJSDate()}case"unknown":return e}}function c(e){const t=o.exec(e);if(!t)return null;const{hh:n,mm:r,ss:s,ms:l}=t.groups;return Number(n)*i.hours+Number(r)*i.minutes+Number(s||0)*i.seconds+Number(l||0)}function y(e,t,n){return 0===e?0:e*i[t]/i[n]}},4146(e,t,n){n.d(t,{A:()=>g});var r=n(32198),s=n(11254),o=n(49186),i=n(65529),l=n(4902),a=n(92474),u=n(53966),c=n(17676),y=n(84952),m=n(91429),d=n(5443),p=n(16930),f=n(92602),b=n(79677);let h=0,g=class extends((0,i.Zt)((0,l.s)(a.x_))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new d.A(-180,-90,180,90,p.A.WGS84),this.id=Date.now().toString(16)+"-layer-"+h++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=p.A.WGS84,this.title=null,this.type=null,this.url=null,this.visibilityTimeExtent=null,this.visible=!0}static async fromArcGISServerUrl(e){const t="string"==typeof e?{url:e}:e;return(await Promise.all([n.e(812),n.e(7982)]).then(n.bind(n,27982))).fromUrl(t)}static fromPortalItem(e){return async function(e){const t="portalItem"in e?e:{portalItem:e},{fromItem:r}=await Promise.all([n.e(9917),n.e(812),n.e(9362)]).then(n.bind(n,45613));try{return await r(t)}catch(e){const n=t?.portalItem,r=n?.id||"unset",s=n?.portal?.url||f.A.portalUrl;throw u.A.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+s+"', id: '"+r+"')",e),e}}(e)}initialize(){this.when().catch(e=>{(0,c.zf)(e)||u.A.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:e})})}destroy(){const{parent:e}=this;e&&(this.parent=null,e.removeChildLayer?.(this))}get effectiveVisible(){return this.visible&&(this.parent?.effectiveVisible??!0)}get hasAttributionData(){return null!=this.attributionDataUrl}get loaded(){return super.loaded}removeFromParent(){const{parent:e}=this;e&&(e.removeChildLayer?.(this),this.parent=null)}get parsedUrl(){return(0,y.An)(this.url)}createLayerView(e,t){return Promise.reject(new o.A("layer:create-layer-view","Layer does not support creating a layer view"))}async fetchAttributionData(){const e=this.attributionDataUrl;if(this.hasAttributionData&&e)return(await(0,s.A)(e,{query:{f:"json"},responseType:"json"})).data;throw new o.A("layer:no-attribution-data","Layer does not have attribution data")}};(0,r.Cg)([(0,m.MZ)({type:String})],g.prototype,"attributionDataUrl",void 0),(0,r.Cg)([(0,m.MZ)({readOnly:!0})],g.prototype,"effectiveVisible",null),(0,r.Cg)([(0,m.MZ)({type:d.A})],g.prototype,"fullExtent",void 0),(0,r.Cg)([(0,m.MZ)({readOnly:!0})],g.prototype,"hasAttributionData",null),(0,r.Cg)([(0,m.MZ)({type:String,clonable:!1})],g.prototype,"id",void 0),(0,r.Cg)([(0,m.MZ)({type:Boolean,nonNullable:!0})],g.prototype,"legendEnabled",void 0),(0,r.Cg)([(0,m.MZ)({type:["show","hide","hide-children"]})],g.prototype,"listMode",void 0),(0,r.Cg)([(0,m.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0})],g.prototype,"opacity",void 0),(0,r.Cg)([(0,m.MZ)({clonable:!1})],g.prototype,"parent",void 0),(0,r.Cg)([(0,m.MZ)({readOnly:!0})],g.prototype,"parsedUrl",null),(0,r.Cg)([(0,m.MZ)({type:Boolean,readOnly:!0})],g.prototype,"persistenceEnabled",void 0),(0,r.Cg)([(0,m.MZ)({type:Boolean})],g.prototype,"popupEnabled",void 0),(0,r.Cg)([(0,m.MZ)({type:Boolean})],g.prototype,"attributionVisible",void 0),(0,r.Cg)([(0,m.MZ)({type:p.A})],g.prototype,"spatialReference",void 0),(0,r.Cg)([(0,m.MZ)({type:String})],g.prototype,"title",void 0),(0,r.Cg)([(0,m.MZ)({readOnly:!0,json:{read:!1}})],g.prototype,"type",void 0),(0,r.Cg)([(0,m.MZ)()],g.prototype,"url",void 0),(0,r.Cg)([(0,m.MZ)({type:b.A})],g.prototype,"visibilityTimeExtent",void 0),(0,r.Cg)([(0,m.MZ)({type:Boolean,nonNullable:!0})],g.prototype,"visible",void 0),g=(0,r.Cg)([(0,m.$K)("esri.layers.Layer")],g)},77548(e,t,n){n.d(t,{Gh:()=>E,tk:()=>k,BR:()=>T,p2:()=>C,qd:()=>D,wI:()=>M,G$:()=>N,$x:()=>U,Ov:()=>w,cM:()=>m,UC:()=>d,Qz:()=>p,OP:()=>L,TU:()=>g,F2:()=>f,XX:()=>h,Qi:()=>S,jy:()=>A});var r=n(70333),s=n(11254),o=n(7762),i=(n(84952),n(36563)),l=n(36708),a=n(4146);const u=new WeakMap;function c(e){return!e.destroyed&&(u.has(e)||e.addHandles([(0,l.wB)(()=>{const{parent:t}=e;return!!(t&&t instanceof a.A)&&("catalog-dynamic-group"===t.type||c(t))},t=>u.set(e,t),l.pc),(0,i.hA)(()=>u.delete(e))]),u.get(e))}function y(e,t){return null!=e&&"object"==typeof e&&"type"in e&&e.type===t}function m(e){return y(e,"knowledge-graph")&&"layers"in e}function d(e){return y(e,"knowledge-graph-sublayer")}function p(e){return y(e,"link-chart")&&"layers"in e}function f(e){return y(e,"subtype-group")&&"sublayers"in e}function b(e){const t=e.parent;return function(e){return"group"===e?.type}(t)&&t.tables.includes(e)}n(16215);const h={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function g(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function w(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function S(e){return null!=e&&"object"==typeof e&&"featureReduction"in e}function A(e){return function(e){return y(e,"catalog-footprint")}(e)||function(e){return y(e,"feature")}(e)&&function(e){return"feature"===e?.type&&"feature-layer"===e.source?.type}(e)||function(e){return y(e,"oriented-imagery")}(e)||function(e){return"subtype-sublayer"===e?.type}(e)}function v(e){const t=e?.type;return"binning"===t||"cluster"===t}function C(e,t){if(!A(e))return;const n=t?.graphic,r="featureReduction"in e?e.featureReduction:null;if(n){if(n.isAggregate){const e=n.origin;return e&&"featureReductionProvider"in e&&r?v(r)?r:null:void 0}return e}return t?.checkFeatureReduction&&r?v(r)?r:null:e}async function M(e,t){const n=r.id?.findServerInfo(e);if(null!=n?.currentVersion)return n.owningSystemUrl||null;const o=e.toLowerCase().indexOf("/rest/services");if(-1===o)return null;const i=`${e.slice(0,o)}/rest/info`,l=null!=t?t.signal:null,{data:a}=await(0,s.A)(i,{query:{f:"json"},responseType:"json",signal:l});return a?.owningSystemUrl||null}function T(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"catalog":case"catalog-footprint":case"csv":case"dimension-feature":case"feature":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"parquet":case"scene":case"sublayer":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function k(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":case"knowledge-graph-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}function D(e){const t=new o.A;for(const n of e.allLayers.concat(e.allTables))c(n)||b(n)||"annotation-feature"===n.type||"dimension-feature"===n.type||("charts"in n&&t.push(n),"subtype-group"===n.type&&t.push(...n.sublayers));return t}function U(e,t){return null}function N(e){return null}function L(e){return!e||"Feature Service"===e.type&&!e.sourceUrl}function E(e,t){if(!t||!L(e))return;const n=(e.url,null);n&&(e.url=n)}},73133(e,t,n){const r=(0,n(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:"unknown"});n.d(t,["j",0,r])},16215(e,t,n){n.d(t,{S:()=>s});const r=Symbol("BasemapInstance");function s(e){return null!=e&&"object"==typeof e&&r in e}n.d(t,["Y",0,r])},59868(e,t,n){var r=n(94985),s=n(31593),o=n(53930),i=n(68249),l=n(93470);const a=o.A.fromJSON(l.Cb),u=s.A.fromJSON(l.yM),c=r.A.fromJSON(l.WR),y=i.A.fromJSON(l.JZ);o.A.fromJSON(l.nC),s.A.fromJSON(l.HW),r.A.fromJSON(l.b6),n.d(t,["A7",0,u,"Cx",0,c,"Hk",0,y,"UK",0,a])},93470(e,t,n){const r=[252,146,31,255],s={type:"esriSMS",style:"esriSMSCircle",size:6,color:r,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},o={type:"esriSLS",style:"esriSLSSolid",width:.75,color:r};n.d(t,["Cb",0,s,"HW",0,{type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},"JR",0,[153,153,153,255],"JZ",0,{type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},"WR",0,{type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},"b6",0,{type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null},"fT",0,r,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,o])},73838(e,t,n){n.d(t,{rS:()=>j,M9:()=>E,oO:()=>I});var r=n(93637),s=n(77548),o=n(29169),i=n(49186),l=n(13313),a=n(97887),u=n(68548),c=n(58592),y=n(75981),m=n(65365),d=n(94985),p=n(31593),f=n(53930),b=n(68249),h=n(68197),g=n(7762),w=n(90629),S=n(27845),A=n(11506),v=n(39065),C=n(59868),M=n(93470);y.A.fromSimpleMarkerSymbol(C.UK),a.A.fromSimpleLineSymbol(C.A7),m.A.fromSimpleFillSymbol(C.Cx),new u.A({symbolLayers:new g.A([new S.A({material:{color:M.fT},edges:new v.A({size:(0,w.PN)(1),color:new h.A(M.JR)})})])});const T=new a.A({symbolLayers:new g.A([new A.A({material:{color:new h.A([0,0,0])},size:(0,w.PN)(1)})])}),k=new m.A({symbolLayers:new g.A([new S.A({outline:{color:new h.A([0,0,0]),size:(0,w.PN)(1)}})])});var D=n(33910);const U="#useCIMFallbackSymbology()",N={retainId:!1,ignoreDrivers:!1,hasLabelingContext:!0};var L=n(59923);function E(e,t,n,s){const o=O(e,{},{context:s,isLabelSymbol:!1});null!=o&&(0,r.sM)(n,o,t)}function I(e,t,n,r){const s=O(e,{},{context:r,isLabelSymbol:!0});null!=s&&(t[n]=s)}function x(e){return(0,D.wk)(e)||e instanceof o.A}function O(e,t,n){if(null==e)return null;const{context:r,isLabelSymbol:h}=n,g=r?.origin;if("web-scene"===g&&!x(e)){const n=function(e,t=N){if(!e)return{symbol:null};const{retainId:n=N.retainId,ignoreDrivers:r=N.ignoreDrivers,hasLabelingContext:s=N.hasLabelingContext,retainCIM:h=N.retainCIM,cimFallbackEnabled:g=N.cimFallbackEnabled}=t;let w=null;if((0,D.wk)(e))w=e.clone();else if("web-style"===e.type)w=e.clone();else if("cim"===e.type){const n=e.data?.symbol?.type;switch(n){case"CIMPointSymbol":w=h?e.clone():y.A.fromCIMSymbol(e);break;case"CIMLineSymbol":g&&(w=T.clone(),t?.logWarning?.(U,"Unsupported CIM line symbology converted to fallback 3D line symbology"));break;case"CIMPolygonSymbol":g&&(w=k.clone(),t?.logWarning?.(U,"Unsupported CIM polygon symbology converted to fallback 3D polygon symbology"))}if(!w)return{error:new i.A("symbol-conversion:unsupported-cim-symbol",`CIM symbol of type '${n||"unknown"}' is unsupported in 3D`,{symbol:e})}}else if(e instanceof p.A)w=a.A.fromSimpleLineSymbol(e);else if(e instanceof f.A)w=y.A.fromSimpleMarkerSymbol(e);else if(e instanceof c.A)w=y.A.fromPictureMarkerSymbol(e);else if(e instanceof d.A)w=t.geometryType&&"mesh"===t.geometryType?u.A.fromSimpleFillSymbol(e):m.A.fromSimpleFillSymbol(e);else{if(!(e instanceof b.A))return{error:new i.A("symbol-conversion:unsupported-2d-symbol",`2D symbol of type '${e.type||e.declaredClass}' is unsupported in 3D`,{symbol:e})};w=s?l.A.fromTextSymbol(e):y.A.fromTextSymbol(e)}return n&&w&&"cim"!==w.type&&(w.id=e.id),!r||"cim"===w.type||w instanceof o.A||w.symbolLayers.forEach(e=>e.ignoreDrivers=!0),{symbol:w}}(e,{retainCIM:!0,hasLabelingContext:h});return null!=n.symbol?n.symbol.write(t,r):((0,L.bA)(r,e,"Use 3D symbology instead when working with WebScene and SceneView",{error:n.error}),null)}return(0,s.TU)(r?.layer)&&function(e){return"polygon-3d"===e?.type||"line-3d"===e?.type}(e)?((0,L.bA)(r,e,`unsupported in layers of type ${r?.layer?.declaredClass}`),null):("web-map"===g||"portal-item"===g&&!(0,s.TU)(r?.layer))&&x(e)?((0,L.bA)(r,e,"Use 2D symbology and CIMSymbol instead when working with MapView"),null):e.write(t,r)}function j(e,t){return(0,D.Bu)(e,null,t)}},85594(e,t,n){n.d(t,{jg:()=>g,cF:()=>y,bo:()=>m,yA:()=>f,o5:()=>d});var r=n(11254),s=n(49186),o=n(44208),i=n(17676),l=n(84952),a=n(20655),u=n(16405);const c=new Map;function y(e,t,n){return null!=e?.styleUrl?async function(e,t){try{return{data:(await f(e,t)).data,baseUrl:(0,l.nM)(e),styleUrl:e}}catch(e){return(0,i.QP)(e),null}}(e.styleUrl,n):null!=e?.styleName?function(e,t,n){const r=null!=t.portal?t.portal:a.A.getDefault();let o;const i=`${r.url} - ${r.user?.username} - ${e}`,l=c.get(i);if(l)return l;const y=function(e,t,n){return t.load(n).then(()=>{const r=new u.A({disableExtraQuery:!0,query:`owner:${b} AND type:${h} AND typekeywords:"${e}"`});return t.queryItems(r,n)}).then(({results:t})=>{let r=null;const o=e.toLowerCase();if(t&&Array.isArray(t))for(const e of t){const t=e.typeKeywords?.some(e=>e.toLowerCase()===o);if(t&&e.type===h&&e.owner===b){r=e;break}}if(!r)throw new s.A("symbolstyleutils:style-not-found",`The style '${e}' could not be found`,{styleName:e});return r.load(n)})}(e,r,n).then(e=>(o=e,e.fetchData())).then(t=>({data:t,baseUrl:o.itemUrl??"",styleName:e}));return c.set(i,y),y}(e.styleName,t,n):Promise.reject(new s.A("symbolstyleutils:style-url-and-name-missing","Either styleUrl or styleName is required to resolve a style"))}function m(e){return null===e||"CIMSymbolReference"===e.type?e:{type:"CIMSymbolReference",symbol:e}}function d(e,t){for(const n of t)switch(n){case"cim":if(e.cimRef)return{format:n,url:encodeURI(e.cimRef)};break;case"web-gltf-basisu":{const t=p(e,"gltf_basisu");if(t)return{format:n,url:t};break}case"web-gltf":{const t=p(e,"gltf");if(t)return{format:n,url:t};break}case"web":{const t=p(e,"gltf");if(t)return{format:"web-gltf",url:t};if(e.webRef)return{format:n,url:encodeURI(e.webRef)};break}}}function p(e,t){if(!(0,o.A)("enable-feature:force-wosr"))return e.formatInfos?.find(e=>e.type===t)?.href}function f(e,t){const n={responseType:"json",query:{f:"json"},...t};return(0,r.A)((0,l.S8)(e),n)}const b="esri_en",h="Style",g="https://cdn.arcgis.com/sharing/rest/content/items/220936cc6ed342c9937abd8f180e7d1e/resources/styles/cim/{SymbolName}.json?f=json"},27883(e,t,n){n.d(t,{resolveWebStyleSymbol:()=>p});var r=n(61473),s=n(49186),o=n(84952),i=n(20655),l=n(97159),a=n(73838),u=n(98751),c=n(85594),y=n(57212),m=n(33910);const d=["web-gltf","web","cim"];function p(e,t,n){const r=e.name;return null==r?Promise.reject(new s.A("symbolstyleutils:style-symbol-reference-name-missing","Missing name in style symbol reference")):"Esri2DPointSymbolsStyle"===e.styleName?function(e,t,n){const r=c.jg.replaceAll(/\{SymbolName\}/gi,e),s=null!=t.portal?t.portal:i.A.getDefault();return(0,c.yA)(r,n).then(e=>{const t=(0,c.bo)(e.data);return(0,a.rS)(t,{portal:s,url:(0,o.An)((0,o.nM)(r)),origin:"portal-item"})})}(r,t,n):(0,c.cF)(e,t,n).then(e=>f(e,r,t,c.o5,n))}async function f(e,t,n,p,f){const b=null!=n?.portal?n.portal:i.A.getDefault(),h={portal:b,url:(0,o.An)(e.baseUrl)},g=function(e,t){return t.items.find(t=>t.name===e)}(t,e.data);if(!g)throw new s.A("symbolstyleutils:symbol-name-not-found",`The symbol name '${t}' could not be found`,{symbolName:t});const w=f?.acceptedFormats??d,S=p(g,w);if(!S)throw new s.A("symbolstyleutils:symbol-reference-no-accepted-format",`The symbol name '${t}' does not have an accepted format (one of ${w})`,{symbolName:t});const{url:A,format:v}=S;let C=(0,l.f)(A,h),M=g.thumbnail?.href??null;const T=g.thumbnail?.imageData;(0,r.b5)()&&(C=(0,r.EM)(C)??"",M=(0,r.EM)(M));const k={portal:b,url:(0,o.An)((0,o.nM)(C)),origin:"portal-item"};return(0,c.yA)(C,f).then(r=>{const s="cim"===v?(0,c.bo)(r.data):r.data,o=(0,a.rS)(s,k);if(o&&(0,m.wk)(o)){if(M){const e=(0,l.f)(M,h);o.thumbnail=new y.V({url:e})}else T&&(o.thumbnail=new y.V({url:`data:image/png;base64,${T}`}));e.styleUrl?o.styleOrigin=new u.A({portal:n.portal,styleUrl:e.styleUrl,name:t}):e.styleName&&(o.styleOrigin=new u.A({portal:n.portal,styleName:e.styleName,name:t}))}return o})}},79677(e,t,n){n.d(t,{A:()=>y});var r,s=n(32198),o=n(25482),i=n(88930),l=n(91429),a=(n(98623),n(10184)),u=n(36005),c=n(43937);let y=class extends o.o{static{r=this}static get allTime(){return m}static get empty(){return d}static fromArray(e){return new r({start:null!=e[0]?new Date(e[0]):e[0],end:null!=e[1]?new Date(e[1]):e[1]})}constructor(e){super(e),this.end=null,this.start=null}readEnd(e,t){return null!=t.end?new Date(t.end):null}writeEnd(e,t){t.end=e?.getTime()??null}get isAllTime(){return this.equals(r.allTime)}get isEmpty(){return this.equals(r.empty)}readStart(e,t){return null!=t.start?new Date(t.start):null}writeStart(e,t){t.start=e?.getTime()??null}clone(){return new r({end:this.end,start:this.start})}equals(e){if(!e)return!1;const t=this.start?.getTime()??this.start,n=this.end?.getTime()??this.end,r=e.start?.getTime()??e.start,s=e.end?.getTime()??e.end;return t===r&&n===s}expandTo(e,t="system"){if(this.isEmpty||this.isAllTime||"unknown"===e)return this.clone();let n=this.start;n&&(n=(0,i.lL)(n,new a.A({value:1,unit:e}),t));let s=this.end;if(s){const n=(0,i.lL)(s,new a.A({value:1,unit:e}),t);s=s.getTime()===n.getTime()?n:(0,i.S1)(n,1,e,t)}return new r({start:n,end:s})}intersection(e){if(!e)return this.clone();if(this.isEmpty||e.isEmpty)return r.empty;if(this.isAllTime)return e.clone();if(e.isAllTime)return this.clone();const t=this.start?.getTime()??-1/0,n=this.end?.getTime()??1/0,s=e.start?.getTime()??-1/0,o=e.end?.getTime()??1/0;let i,l;return s>=t&&s<=n?i=s:t>=s&&t<=o&&(i=t),n>=s&&n<=o?l=n:o>=t&&o<=n&&(l=o),null==i||null==l||isNaN(i)||isNaN(l)?r.empty:new r({start:i===-1/0?null:new Date(i),end:l===1/0?null:new Date(l)})}offset(e,t,n="system"){if(this.isEmpty||this.isAllTime||"unknown"===t)return this.clone();const s=new r,{start:o,end:l}=this;return null!=o&&(s.start=(0,i.S1)(o,e,t,n)),null!=l&&(s.end=(0,i.S1)(l,e,t,n)),s}toArray(){return this.isEmpty?[void 0,void 0]:[this.start?.getTime()??null,this.end?.getTime()??null]}union(e){if(!e||e.isEmpty)return this.clone();if(this.isEmpty)return e.clone();if(this.isAllTime||e.isAllTime)return m.clone();const t=null!=this.start&&null!=e.start?new Date(Math.min(this.start.getTime(),e.start.getTime())):null,n=null!=this.end&&null!=e.end?new Date(Math.max(this.end.getTime(),e.end.getTime())):null;return new r({start:t,end:n})}};(0,s.Cg)([(0,l.MZ)({type:Date,json:{write:{allowNull:!0}}})],y.prototype,"end",void 0),(0,s.Cg)([(0,u.w)("end")],y.prototype,"readEnd",null),(0,s.Cg)([(0,c.K)("end")],y.prototype,"writeEnd",null),(0,s.Cg)([(0,l.MZ)({readOnly:!0,json:{read:!1}})],y.prototype,"isAllTime",null),(0,s.Cg)([(0,l.MZ)({readOnly:!0,json:{read:!1}})],y.prototype,"isEmpty",null),(0,s.Cg)([(0,l.MZ)({type:Date,json:{write:{allowNull:!0}}})],y.prototype,"start",void 0),(0,s.Cg)([(0,u.w)("start")],y.prototype,"readStart",null),(0,s.Cg)([(0,c.K)("start")],y.prototype,"writeStart",null),y=r=(0,s.Cg)([(0,l.$K)("esri.time.TimeExtent")],y);const m=new y,d=new y({start:void 0,end:void 0})},10184(e,t,n){n.d(t,{A:()=>c});var r=n(32198),s=n(69540),o=n(25482),i=n(88930),l=n(91429),a=n(73133),u=n(93223);let c=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,i.t)(this.value,this.unit,"milliseconds")}};(0,r.Cg)([(0,u.e)(a.j,{nonNullable:!0})],c.prototype,"unit",void 0),(0,r.Cg)([(0,l.MZ)({type:Number,json:{write:!0},nonNullable:!0})],c.prototype,"value",void 0),c=(0,r.Cg)([(0,l.$K)("esri.time.TimeInterval")],c)}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7883],{61473(e,t,n){function r(e){return e=e||globalThis.location.hostname,u.some(t=>null!=e?.match(t))}function s(e,t){return e?(t=t||globalThis.location.hostname)?null!=t.match(o)||null!=t.match(l)?e.replace("static.arcgis.com","staticdev.arcgis.com"):null!=t.match(i)||null!=t.match(a)?e.replace("static.arcgis.com","staticqa.arcgis.com"):e:e:null}n.d(t,{EM:()=>s,b5:()=>r});const o=/^devext\.arcgis\.com$/,i=/^qaext\.arcgis\.com$/,l=/^[\w-]*\.mapsdevext\.arcgis\.com$/,a=/^[\w-]*\.mapsqa\.arcgis\.com$/,u=[/^([\w-]*\.)?[\w-]*\.zrh-dev-local\.esri\.com$/,o,i,/^jsapps\.esri\.com$/,l,a]},88930(e,t,n){n.d(t,{S1:()=>l,lL:()=>u,mi:()=>a,rb:()=>c,t:()=>y});var r=n(97770),s=(n(98623),n(34747));const o=/^(?<hh>([01][0-9])|(2[0-3])):(?<mm>[0-5][0-9])(:(?<ss>[0-5][0-9]))?(\.(?<ms>\d+))?$/,i={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8,unknown:NaN};function l(e,t,n,o="system"){if("unknown"===n)return e;const i=new s.oh((0,r.wj)(o)),l=s.c9.fromJSDate(e,{zone:i}),a="decades"===n||"centuries"===n?"year":function(e){switch(e){case"milliseconds":return"millisecond";case"seconds":return"second";case"minutes":return"minute";case"hours":return"hour";case"days":return"day";case"weeks":return"week";case"months":return"month";case"years":return"year"}}(n);return"decades"===n&&(t*=10),"centuries"===n&&(t*=100),l.plus({[a]:t}).toJSDate()}function a(e,t,n="milliseconds"){const r=e.getTime(),s=y(t,n,"milliseconds");return new Date(r+s)}function u(e,t,n="system"){const{unit:o}=t,i=Math.max(1,Math.trunc(t.value)),l=new s.oh((0,r.wj)(n)),a=s.c9.fromJSDate(e,{zone:l}),u=e=>e-e%i;switch(o){case"milliseconds":return a.startOf("second").plus({millisecond:u(a.millisecond)}).toJSDate();case"seconds":return a.startOf("minute").plus({second:u(a.second)}).toJSDate();case"minutes":return a.startOf("hour").plus({minute:u(a.minute)}).toJSDate();case"hours":return a.startOf("day").plus({hour:u(a.hour)}).toJSDate();case"days":return a.startOf("month").plus({day:u(a.day-1)}).toJSDate();case"weeks":{const e=a.startOf("year").startOf("week"),t=Math.floor(a.diff(e,"weeks").weeks);return e.plus({week:u(t)}).toJSDate()}case"months":return a.startOf("year").plus({month:u(a.month-1)}).toJSDate();case"years":case"decades":case"centuries":{const e=a.startOf("year"),t=("decades"===o?10:"centuries"===o?100:1)*i,n=e.year-e.year%t;return e.set({year:n}).toJSDate()}case"unknown":return e}}function c(e){const t=o.exec(e);if(!t)return null;const{hh:n,mm:r,ss:s,ms:l}=t.groups;return Number(n)*i.hours+Number(r)*i.minutes+Number(s||0)*i.seconds+Number(l||0)}function y(e,t,n){return 0===e?0:e*i[t]/i[n]}},4146(e,t,n){n.d(t,{A:()=>g});var r=n(32198),s=n(11254),o=n(49186),i=n(65529),l=n(4902),a=n(92474),u=n(53966),c=n(17676),y=n(84952),m=n(91429),d=n(5443),p=n(16930),f=n(92602),b=n(79677);let h=0,g=class extends((0,i.Zt)((0,l.s)(a.x_))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new d.A(-180,-90,180,90,p.A.WGS84),this.id=Date.now().toString(16)+"-layer-"+h++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=p.A.WGS84,this.title=null,this.type=null,this.url=null,this.visibilityTimeExtent=null,this.visible=!0}static async fromArcGISServerUrl(e){const t="string"==typeof e?{url:e}:e;return(await Promise.all([n.e(812),n.e(7982)]).then(n.bind(n,27982))).fromUrl(t)}static fromPortalItem(e){return async function(e){const t="portalItem"in e?e:{portalItem:e},{fromItem:r}=await Promise.all([n.e(9917),n.e(812),n.e(8559)]).then(n.bind(n,45613));try{return await r(t)}catch(e){const n=t?.portalItem,r=n?.id||"unset",s=n?.portal?.url||f.A.portalUrl;throw u.A.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+s+"', id: '"+r+"')",e),e}}(e)}initialize(){this.when().catch(e=>{(0,c.zf)(e)||u.A.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:e})})}destroy(){const{parent:e}=this;e&&(this.parent=null,e.removeChildLayer?.(this))}get effectiveVisible(){return this.visible&&(this.parent?.effectiveVisible??!0)}get hasAttributionData(){return null!=this.attributionDataUrl}get loaded(){return super.loaded}removeFromParent(){const{parent:e}=this;e&&(e.removeChildLayer?.(this),this.parent=null)}get parsedUrl(){return(0,y.An)(this.url)}createLayerView(e,t){return Promise.reject(new o.A("layer:create-layer-view","Layer does not support creating a layer view"))}async fetchAttributionData(){const e=this.attributionDataUrl;if(this.hasAttributionData&&e)return(await(0,s.A)(e,{query:{f:"json"},responseType:"json"})).data;throw new o.A("layer:no-attribution-data","Layer does not have attribution data")}};(0,r.Cg)([(0,m.MZ)({type:String})],g.prototype,"attributionDataUrl",void 0),(0,r.Cg)([(0,m.MZ)({readOnly:!0})],g.prototype,"effectiveVisible",null),(0,r.Cg)([(0,m.MZ)({type:d.A})],g.prototype,"fullExtent",void 0),(0,r.Cg)([(0,m.MZ)({readOnly:!0})],g.prototype,"hasAttributionData",null),(0,r.Cg)([(0,m.MZ)({type:String,clonable:!1})],g.prototype,"id",void 0),(0,r.Cg)([(0,m.MZ)({type:Boolean,nonNullable:!0})],g.prototype,"legendEnabled",void 0),(0,r.Cg)([(0,m.MZ)({type:["show","hide","hide-children"]})],g.prototype,"listMode",void 0),(0,r.Cg)([(0,m.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0})],g.prototype,"opacity",void 0),(0,r.Cg)([(0,m.MZ)({clonable:!1})],g.prototype,"parent",void 0),(0,r.Cg)([(0,m.MZ)({readOnly:!0})],g.prototype,"parsedUrl",null),(0,r.Cg)([(0,m.MZ)({type:Boolean,readOnly:!0})],g.prototype,"persistenceEnabled",void 0),(0,r.Cg)([(0,m.MZ)({type:Boolean})],g.prototype,"popupEnabled",void 0),(0,r.Cg)([(0,m.MZ)({type:Boolean})],g.prototype,"attributionVisible",void 0),(0,r.Cg)([(0,m.MZ)({type:p.A})],g.prototype,"spatialReference",void 0),(0,r.Cg)([(0,m.MZ)({type:String})],g.prototype,"title",void 0),(0,r.Cg)([(0,m.MZ)({readOnly:!0,json:{read:!1}})],g.prototype,"type",void 0),(0,r.Cg)([(0,m.MZ)()],g.prototype,"url",void 0),(0,r.Cg)([(0,m.MZ)({type:b.A})],g.prototype,"visibilityTimeExtent",void 0),(0,r.Cg)([(0,m.MZ)({type:Boolean,nonNullable:!0})],g.prototype,"visible",void 0),g=(0,r.Cg)([(0,m.$K)("esri.layers.Layer")],g)},77548(e,t,n){n.d(t,{Gh:()=>E,tk:()=>k,BR:()=>T,p2:()=>C,qd:()=>D,wI:()=>M,G$:()=>N,$x:()=>U,Ov:()=>w,cM:()=>m,UC:()=>d,Qz:()=>p,OP:()=>L,TU:()=>g,F2:()=>f,XX:()=>h,Qi:()=>S,jy:()=>A});var r=n(70333),s=n(11254),o=n(7762),i=(n(84952),n(36563)),l=n(36708),a=n(4146);const u=new WeakMap;function c(e){return!e.destroyed&&(u.has(e)||e.addHandles([(0,l.wB)(()=>{const{parent:t}=e;return!!(t&&t instanceof a.A)&&("catalog-dynamic-group"===t.type||c(t))},t=>u.set(e,t),l.pc),(0,i.hA)(()=>u.delete(e))]),u.get(e))}function y(e,t){return null!=e&&"object"==typeof e&&"type"in e&&e.type===t}function m(e){return y(e,"knowledge-graph")&&"layers"in e}function d(e){return y(e,"knowledge-graph-sublayer")}function p(e){return y(e,"link-chart")&&"layers"in e}function f(e){return y(e,"subtype-group")&&"sublayers"in e}function b(e){const t=e.parent;return function(e){return"group"===e?.type}(t)&&t.tables.includes(e)}n(16215);const h={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function g(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function w(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function S(e){return null!=e&&"object"==typeof e&&"featureReduction"in e}function A(e){return function(e){return y(e,"catalog-footprint")}(e)||function(e){return y(e,"feature")}(e)&&function(e){return"feature"===e?.type&&"feature-layer"===e.source?.type}(e)||function(e){return y(e,"oriented-imagery")}(e)||function(e){return"subtype-sublayer"===e?.type}(e)}function v(e){const t=e?.type;return"binning"===t||"cluster"===t}function C(e,t){if(!A(e))return;const n=t?.graphic,r="featureReduction"in e?e.featureReduction:null;if(n){if(n.isAggregate){const e=n.origin;return e&&"featureReductionProvider"in e&&r?v(r)?r:null:void 0}return e}return t?.checkFeatureReduction&&r?v(r)?r:null:e}async function M(e,t){const n=r.id?.findServerInfo(e);if(null!=n?.currentVersion)return n.owningSystemUrl||null;const o=e.toLowerCase().indexOf("/rest/services");if(-1===o)return null;const i=`${e.slice(0,o)}/rest/info`,l=null!=t?t.signal:null,{data:a}=await(0,s.A)(i,{query:{f:"json"},responseType:"json",signal:l});return a?.owningSystemUrl||null}function T(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"catalog":case"catalog-footprint":case"csv":case"dimension-feature":case"feature":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"parquet":case"scene":case"sublayer":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function k(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":case"knowledge-graph-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}function D(e){const t=new o.A;for(const n of e.allLayers.concat(e.allTables))c(n)||b(n)||"annotation-feature"===n.type||"dimension-feature"===n.type||("charts"in n&&t.push(n),"subtype-group"===n.type&&t.push(...n.sublayers));return t}function U(e,t){return null}function N(e){return null}function L(e){return!e||"Feature Service"===e.type&&!e.sourceUrl}function E(e,t){if(!t||!L(e))return;const n=(e.url,null);n&&(e.url=n)}},73133(e,t,n){const r=(0,n(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:"unknown"});n.d(t,["j",0,r])},16215(e,t,n){n.d(t,{S:()=>s});const r=Symbol("BasemapInstance");function s(e){return null!=e&&"object"==typeof e&&r in e}n.d(t,["Y",0,r])},59868(e,t,n){var r=n(94985),s=n(31593),o=n(53930),i=n(68249),l=n(93470);const a=o.A.fromJSON(l.Cb),u=s.A.fromJSON(l.yM),c=r.A.fromJSON(l.WR),y=i.A.fromJSON(l.JZ);o.A.fromJSON(l.nC),s.A.fromJSON(l.HW),r.A.fromJSON(l.b6),n.d(t,["A7",0,u,"Cx",0,c,"Hk",0,y,"UK",0,a])},93470(e,t,n){const r=[252,146,31,255],s={type:"esriSMS",style:"esriSMSCircle",size:6,color:r,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},o={type:"esriSLS",style:"esriSLSSolid",width:.75,color:r};n.d(t,["Cb",0,s,"HW",0,{type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},"JR",0,[153,153,153,255],"JZ",0,{type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},"WR",0,{type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},"b6",0,{type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null},"fT",0,r,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,o])},73838(e,t,n){n.d(t,{rS:()=>j,M9:()=>E,oO:()=>I});var r=n(93637),s=n(77548),o=n(29169),i=n(49186),l=n(13313),a=n(97887),u=n(68548),c=n(58592),y=n(75981),m=n(65365),d=n(94985),p=n(31593),f=n(53930),b=n(68249),h=n(68197),g=n(7762),w=n(90629),S=n(27845),A=n(11506),v=n(39065),C=n(59868),M=n(93470);y.A.fromSimpleMarkerSymbol(C.UK),a.A.fromSimpleLineSymbol(C.A7),m.A.fromSimpleFillSymbol(C.Cx),new u.A({symbolLayers:new g.A([new S.A({material:{color:M.fT},edges:new v.A({size:(0,w.PN)(1),color:new h.A(M.JR)})})])});const T=new a.A({symbolLayers:new g.A([new A.A({material:{color:new h.A([0,0,0])},size:(0,w.PN)(1)})])}),k=new m.A({symbolLayers:new g.A([new S.A({outline:{color:new h.A([0,0,0]),size:(0,w.PN)(1)}})])});var D=n(33910);const U="#useCIMFallbackSymbology()",N={retainId:!1,ignoreDrivers:!1,hasLabelingContext:!0};var L=n(59923);function E(e,t,n,s){const o=O(e,{},{context:s,isLabelSymbol:!1});null!=o&&(0,r.sM)(n,o,t)}function I(e,t,n,r){const s=O(e,{},{context:r,isLabelSymbol:!0});null!=s&&(t[n]=s)}function x(e){return(0,D.wk)(e)||e instanceof o.A}function O(e,t,n){if(null==e)return null;const{context:r,isLabelSymbol:h}=n,g=r?.origin;if("web-scene"===g&&!x(e)){const n=function(e,t=N){if(!e)return{symbol:null};const{retainId:n=N.retainId,ignoreDrivers:r=N.ignoreDrivers,hasLabelingContext:s=N.hasLabelingContext,retainCIM:h=N.retainCIM,cimFallbackEnabled:g=N.cimFallbackEnabled}=t;let w=null;if((0,D.wk)(e))w=e.clone();else if("web-style"===e.type)w=e.clone();else if("cim"===e.type){const n=e.data?.symbol?.type;switch(n){case"CIMPointSymbol":w=h?e.clone():y.A.fromCIMSymbol(e);break;case"CIMLineSymbol":g&&(w=T.clone(),t?.logWarning?.(U,"Unsupported CIM line symbology converted to fallback 3D line symbology"));break;case"CIMPolygonSymbol":g&&(w=k.clone(),t?.logWarning?.(U,"Unsupported CIM polygon symbology converted to fallback 3D polygon symbology"))}if(!w)return{error:new i.A("symbol-conversion:unsupported-cim-symbol",`CIM symbol of type '${n||"unknown"}' is unsupported in 3D`,{symbol:e})}}else if(e instanceof p.A)w=a.A.fromSimpleLineSymbol(e);else if(e instanceof f.A)w=y.A.fromSimpleMarkerSymbol(e);else if(e instanceof c.A)w=y.A.fromPictureMarkerSymbol(e);else if(e instanceof d.A)w=t.geometryType&&"mesh"===t.geometryType?u.A.fromSimpleFillSymbol(e):m.A.fromSimpleFillSymbol(e);else{if(!(e instanceof b.A))return{error:new i.A("symbol-conversion:unsupported-2d-symbol",`2D symbol of type '${e.type||e.declaredClass}' is unsupported in 3D`,{symbol:e})};w=s?l.A.fromTextSymbol(e):y.A.fromTextSymbol(e)}return n&&w&&"cim"!==w.type&&(w.id=e.id),!r||"cim"===w.type||w instanceof o.A||w.symbolLayers.forEach(e=>e.ignoreDrivers=!0),{symbol:w}}(e,{retainCIM:!0,hasLabelingContext:h});return null!=n.symbol?n.symbol.write(t,r):((0,L.bA)(r,e,"Use 3D symbology instead when working with WebScene and SceneView",{error:n.error}),null)}return(0,s.TU)(r?.layer)&&function(e){return"polygon-3d"===e?.type||"line-3d"===e?.type}(e)?((0,L.bA)(r,e,`unsupported in layers of type ${r?.layer?.declaredClass}`),null):("web-map"===g||"portal-item"===g&&!(0,s.TU)(r?.layer))&&x(e)?((0,L.bA)(r,e,"Use 2D symbology and CIMSymbol instead when working with MapView"),null):e.write(t,r)}function j(e,t){return(0,D.Bu)(e,null,t)}},85594(e,t,n){n.d(t,{jg:()=>g,cF:()=>y,bo:()=>m,yA:()=>f,o5:()=>d});var r=n(11254),s=n(49186),o=n(44208),i=n(17676),l=n(84952),a=n(20655),u=n(16405);const c=new Map;function y(e,t,n){return null!=e?.styleUrl?async function(e,t){try{return{data:(await f(e,t)).data,baseUrl:(0,l.nM)(e),styleUrl:e}}catch(e){return(0,i.QP)(e),null}}(e.styleUrl,n):null!=e?.styleName?function(e,t,n){const r=null!=t.portal?t.portal:a.A.getDefault();let o;const i=`${r.url} - ${r.user?.username} - ${e}`,l=c.get(i);if(l)return l;const y=function(e,t,n){return t.load(n).then(()=>{const r=new u.A({disableExtraQuery:!0,query:`owner:${b} AND type:${h} AND typekeywords:"${e}"`});return t.queryItems(r,n)}).then(({results:t})=>{let r=null;const o=e.toLowerCase();if(t&&Array.isArray(t))for(const e of t){const t=e.typeKeywords?.some(e=>e.toLowerCase()===o);if(t&&e.type===h&&e.owner===b){r=e;break}}if(!r)throw new s.A("symbolstyleutils:style-not-found",`The style '${e}' could not be found`,{styleName:e});return r.load(n)})}(e,r,n).then(e=>(o=e,e.fetchData())).then(t=>({data:t,baseUrl:o.itemUrl??"",styleName:e}));return c.set(i,y),y}(e.styleName,t,n):Promise.reject(new s.A("symbolstyleutils:style-url-and-name-missing","Either styleUrl or styleName is required to resolve a style"))}function m(e){return null===e||"CIMSymbolReference"===e.type?e:{type:"CIMSymbolReference",symbol:e}}function d(e,t){for(const n of t)switch(n){case"cim":if(e.cimRef)return{format:n,url:encodeURI(e.cimRef)};break;case"web-gltf-basisu":{const t=p(e,"gltf_basisu");if(t)return{format:n,url:t};break}case"web-gltf":{const t=p(e,"gltf");if(t)return{format:n,url:t};break}case"web":{const t=p(e,"gltf");if(t)return{format:"web-gltf",url:t};if(e.webRef)return{format:n,url:encodeURI(e.webRef)};break}}}function p(e,t){if(!(0,o.A)("enable-feature:force-wosr"))return e.formatInfos?.find(e=>e.type===t)?.href}function f(e,t){const n={responseType:"json",query:{f:"json"},...t};return(0,r.A)((0,l.S8)(e),n)}const b="esri_en",h="Style",g="https://cdn.arcgis.com/sharing/rest/content/items/220936cc6ed342c9937abd8f180e7d1e/resources/styles/cim/{SymbolName}.json?f=json"},27883(e,t,n){n.d(t,{resolveWebStyleSymbol:()=>p});var r=n(61473),s=n(49186),o=n(84952),i=n(20655),l=n(97159),a=n(73838),u=n(98751),c=n(85594),y=n(57212),m=n(33910);const d=["web-gltf","web","cim"];function p(e,t,n){const r=e.name;return null==r?Promise.reject(new s.A("symbolstyleutils:style-symbol-reference-name-missing","Missing name in style symbol reference")):"Esri2DPointSymbolsStyle"===e.styleName?function(e,t,n){const r=c.jg.replaceAll(/\{SymbolName\}/gi,e),s=null!=t.portal?t.portal:i.A.getDefault();return(0,c.yA)(r,n).then(e=>{const t=(0,c.bo)(e.data);return(0,a.rS)(t,{portal:s,url:(0,o.An)((0,o.nM)(r)),origin:"portal-item"})})}(r,t,n):(0,c.cF)(e,t,n).then(e=>f(e,r,t,c.o5,n))}async function f(e,t,n,p,f){const b=null!=n?.portal?n.portal:i.A.getDefault(),h={portal:b,url:(0,o.An)(e.baseUrl)},g=function(e,t){return t.items.find(t=>t.name===e)}(t,e.data);if(!g)throw new s.A("symbolstyleutils:symbol-name-not-found",`The symbol name '${t}' could not be found`,{symbolName:t});const w=f?.acceptedFormats??d,S=p(g,w);if(!S)throw new s.A("symbolstyleutils:symbol-reference-no-accepted-format",`The symbol name '${t}' does not have an accepted format (one of ${w})`,{symbolName:t});const{url:A,format:v}=S;let C=(0,l.f)(A,h),M=g.thumbnail?.href??null;const T=g.thumbnail?.imageData;(0,r.b5)()&&(C=(0,r.EM)(C)??"",M=(0,r.EM)(M));const k={portal:b,url:(0,o.An)((0,o.nM)(C)),origin:"portal-item"};return(0,c.yA)(C,f).then(r=>{const s="cim"===v?(0,c.bo)(r.data):r.data,o=(0,a.rS)(s,k);if(o&&(0,m.wk)(o)){if(M){const e=(0,l.f)(M,h);o.thumbnail=new y.V({url:e})}else T&&(o.thumbnail=new y.V({url:`data:image/png;base64,${T}`}));e.styleUrl?o.styleOrigin=new u.A({portal:n.portal,styleUrl:e.styleUrl,name:t}):e.styleName&&(o.styleOrigin=new u.A({portal:n.portal,styleName:e.styleName,name:t}))}return o})}},79677(e,t,n){n.d(t,{A:()=>y});var r,s=n(32198),o=n(25482),i=n(88930),l=n(91429),a=(n(98623),n(10184)),u=n(36005),c=n(43937);let y=class extends o.o{static{r=this}static get allTime(){return m}static get empty(){return d}static fromArray(e){return new r({start:null!=e[0]?new Date(e[0]):e[0],end:null!=e[1]?new Date(e[1]):e[1]})}constructor(e){super(e),this.end=null,this.start=null}readEnd(e,t){return null!=t.end?new Date(t.end):null}writeEnd(e,t){t.end=e?.getTime()??null}get isAllTime(){return this.equals(r.allTime)}get isEmpty(){return this.equals(r.empty)}readStart(e,t){return null!=t.start?new Date(t.start):null}writeStart(e,t){t.start=e?.getTime()??null}clone(){return new r({end:this.end,start:this.start})}equals(e){if(!e)return!1;const t=this.start?.getTime()??this.start,n=this.end?.getTime()??this.end,r=e.start?.getTime()??e.start,s=e.end?.getTime()??e.end;return t===r&&n===s}expandTo(e,t="system"){if(this.isEmpty||this.isAllTime||"unknown"===e)return this.clone();let n=this.start;n&&(n=(0,i.lL)(n,new a.A({value:1,unit:e}),t));let s=this.end;if(s){const n=(0,i.lL)(s,new a.A({value:1,unit:e}),t);s=s.getTime()===n.getTime()?n:(0,i.S1)(n,1,e,t)}return new r({start:n,end:s})}intersection(e){if(!e)return this.clone();if(this.isEmpty||e.isEmpty)return r.empty;if(this.isAllTime)return e.clone();if(e.isAllTime)return this.clone();const t=this.start?.getTime()??-1/0,n=this.end?.getTime()??1/0,s=e.start?.getTime()??-1/0,o=e.end?.getTime()??1/0;let i,l;return s>=t&&s<=n?i=s:t>=s&&t<=o&&(i=t),n>=s&&n<=o?l=n:o>=t&&o<=n&&(l=o),null==i||null==l||isNaN(i)||isNaN(l)?r.empty:new r({start:i===-1/0?null:new Date(i),end:l===1/0?null:new Date(l)})}offset(e,t,n="system"){if(this.isEmpty||this.isAllTime||"unknown"===t)return this.clone();const s=new r,{start:o,end:l}=this;return null!=o&&(s.start=(0,i.S1)(o,e,t,n)),null!=l&&(s.end=(0,i.S1)(l,e,t,n)),s}toArray(){return this.isEmpty?[void 0,void 0]:[this.start?.getTime()??null,this.end?.getTime()??null]}union(e){if(!e||e.isEmpty)return this.clone();if(this.isEmpty)return e.clone();if(this.isAllTime||e.isAllTime)return m.clone();const t=null!=this.start&&null!=e.start?new Date(Math.min(this.start.getTime(),e.start.getTime())):null,n=null!=this.end&&null!=e.end?new Date(Math.max(this.end.getTime(),e.end.getTime())):null;return new r({start:t,end:n})}};(0,s.Cg)([(0,l.MZ)({type:Date,json:{write:{allowNull:!0}}})],y.prototype,"end",void 0),(0,s.Cg)([(0,u.w)("end")],y.prototype,"readEnd",null),(0,s.Cg)([(0,c.K)("end")],y.prototype,"writeEnd",null),(0,s.Cg)([(0,l.MZ)({readOnly:!0,json:{read:!1}})],y.prototype,"isAllTime",null),(0,s.Cg)([(0,l.MZ)({readOnly:!0,json:{read:!1}})],y.prototype,"isEmpty",null),(0,s.Cg)([(0,l.MZ)({type:Date,json:{write:{allowNull:!0}}})],y.prototype,"start",void 0),(0,s.Cg)([(0,u.w)("start")],y.prototype,"readStart",null),(0,s.Cg)([(0,c.K)("start")],y.prototype,"writeStart",null),y=r=(0,s.Cg)([(0,l.$K)("esri.time.TimeExtent")],y);const m=new y,d=new y({start:void 0,end:void 0})},10184(e,t,n){n.d(t,{A:()=>c});var r=n(32198),s=n(69540),o=n(25482),i=n(88930),l=n(91429),a=n(73133),u=n(93223);let c=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,i.t)(this.value,this.unit,"milliseconds")}};(0,r.Cg)([(0,u.e)(a.j,{nonNullable:!0})],c.prototype,"unit",void 0),(0,r.Cg)([(0,l.MZ)({type:Number,json:{write:!0},nonNullable:!0})],c.prototype,"value",void 0),c=(0,r.Cg)([(0,l.$K)("esri.time.TimeInterval")],c)}}]);