@arcgis/core 5.1.0-next.70 → 5.1.0-next.71

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 (479) hide show
  1. package/assets/components/assets/combobox/t9n/messages.ar.json +1 -1
  2. package/assets/components/assets/combobox/t9n/messages.bg.json +1 -1
  3. package/assets/components/assets/combobox/t9n/messages.bs.json +1 -1
  4. package/assets/components/assets/combobox/t9n/messages.ca.json +1 -1
  5. package/assets/components/assets/combobox/t9n/messages.cs.json +1 -1
  6. package/assets/components/assets/combobox/t9n/messages.da.json +1 -1
  7. package/assets/components/assets/combobox/t9n/messages.de.json +1 -1
  8. package/assets/components/assets/combobox/t9n/messages.el.json +1 -1
  9. package/assets/components/assets/combobox/t9n/messages.en.json +1 -1
  10. package/assets/components/assets/combobox/t9n/messages.es.json +1 -1
  11. package/assets/components/assets/combobox/t9n/messages.et.json +1 -1
  12. package/assets/components/assets/combobox/t9n/messages.fi.json +1 -1
  13. package/assets/components/assets/combobox/t9n/messages.fr.json +1 -1
  14. package/assets/components/assets/combobox/t9n/messages.he.json +1 -1
  15. package/assets/components/assets/combobox/t9n/messages.hr.json +1 -1
  16. package/assets/components/assets/combobox/t9n/messages.hu.json +1 -1
  17. package/assets/components/assets/combobox/t9n/messages.id.json +1 -1
  18. package/assets/components/assets/combobox/t9n/messages.it.json +1 -1
  19. package/assets/components/assets/combobox/t9n/messages.ja.json +1 -1
  20. package/assets/components/assets/combobox/t9n/messages.json +1 -1
  21. package/assets/components/assets/combobox/t9n/messages.ko.json +1 -1
  22. package/assets/components/assets/combobox/t9n/messages.lt.json +1 -1
  23. package/assets/components/assets/combobox/t9n/messages.lv.json +1 -1
  24. package/assets/components/assets/combobox/t9n/messages.nl.json +1 -1
  25. package/assets/components/assets/combobox/t9n/messages.no.json +1 -1
  26. package/assets/components/assets/combobox/t9n/messages.pl.json +1 -1
  27. package/assets/components/assets/combobox/t9n/messages.pt-BR.json +1 -1
  28. package/assets/components/assets/combobox/t9n/messages.pt-PT.json +1 -1
  29. package/assets/components/assets/combobox/t9n/messages.ro.json +1 -1
  30. package/assets/components/assets/combobox/t9n/messages.ru.json +1 -1
  31. package/assets/components/assets/combobox/t9n/messages.sk.json +1 -1
  32. package/assets/components/assets/combobox/t9n/messages.sl.json +1 -1
  33. package/assets/components/assets/combobox/t9n/messages.sr.json +1 -1
  34. package/assets/components/assets/combobox/t9n/messages.sv.json +1 -1
  35. package/assets/components/assets/combobox/t9n/messages.th.json +1 -1
  36. package/assets/components/assets/combobox/t9n/messages.tr.json +1 -1
  37. package/assets/components/assets/combobox/t9n/messages.uk.json +1 -1
  38. package/assets/components/assets/combobox/t9n/messages.vi.json +1 -1
  39. package/assets/components/assets/combobox/t9n/messages.zh-CN.json +1 -1
  40. package/assets/components/assets/combobox/t9n/messages.zh-HK.json +1 -1
  41. package/assets/components/assets/combobox/t9n/messages.zh-TW.json +1 -1
  42. package/assets/components/assets/icon/addToLivestreamVideoLayer16.json +1 -0
  43. package/assets/components/assets/icon/addToLivestreamVideoLayer24.json +1 -0
  44. package/assets/components/assets/icon/addToLivestreamVideoLayer32.json +1 -0
  45. package/assets/components/assets/icon/addToVideoLayer16.json +1 -0
  46. package/assets/components/assets/icon/addToVideoLayer24.json +1 -0
  47. package/assets/components/assets/icon/addToVideoLayer32.json +1 -0
  48. package/assets/components/assets/icon/arcgisQuickcapture16.json +1 -0
  49. package/assets/components/assets/icon/arcgisQuickcapture24.json +1 -0
  50. package/assets/components/assets/icon/arcgisQuickcapture32.json +1 -0
  51. package/assets/components/assets/icon/arcgisSurvey12316.json +1 -0
  52. package/assets/components/assets/icon/arcgisSurvey12324.json +1 -0
  53. package/assets/components/assets/icon/arcgisSurvey12332.json +1 -0
  54. package/assets/components/assets/icon/bicycleTravelMode16.json +1 -0
  55. package/assets/components/assets/icon/bicycleTravelMode16F.json +1 -0
  56. package/assets/components/assets/icon/bicycleTravelMode24.json +1 -0
  57. package/assets/components/assets/icon/bicycleTravelMode24F.json +1 -0
  58. package/assets/components/assets/icon/bicycleTravelMode32.json +1 -0
  59. package/assets/components/assets/icon/bicycleTravelMode32F.json +1 -0
  60. package/assets/components/assets/icon/busTravelMode16.json +1 -0
  61. package/assets/components/assets/icon/busTravelMode16F.json +1 -0
  62. package/assets/components/assets/icon/busTravelMode24.json +1 -0
  63. package/assets/components/assets/icon/busTravelMode24F.json +1 -0
  64. package/assets/components/assets/icon/busTravelMode32.json +1 -0
  65. package/assets/components/assets/icon/busTravelMode32F.json +1 -0
  66. package/assets/components/assets/icon/carTravelMode16.json +1 -0
  67. package/assets/components/assets/icon/carTravelMode16F.json +1 -0
  68. package/assets/components/assets/icon/carTravelMode24.json +1 -0
  69. package/assets/components/assets/icon/carTravelMode24F.json +1 -0
  70. package/assets/components/assets/icon/carTravelMode32.json +1 -0
  71. package/assets/components/assets/icon/carTravelMode32F.json +1 -0
  72. package/assets/components/assets/icon/conditionalRulesDown16.json +1 -0
  73. package/assets/components/assets/icon/conditionalRulesDown24.json +1 -0
  74. package/assets/components/assets/icon/conditionalRulesDown32.json +1 -0
  75. package/assets/components/assets/icon/emergency16.json +1 -0
  76. package/assets/components/assets/icon/emergency16F.json +1 -0
  77. package/assets/components/assets/icon/emergency24.json +1 -0
  78. package/assets/components/assets/icon/emergency24F.json +1 -0
  79. package/assets/components/assets/icon/emergency32.json +1 -0
  80. package/assets/components/assets/icon/emergency32F.json +1 -0
  81. package/assets/components/assets/icon/eyedropper16.json +1 -1
  82. package/assets/components/assets/icon/eyedropper24.json +1 -1
  83. package/assets/components/assets/icon/eyedropper32.json +1 -1
  84. package/assets/components/assets/icon/featureDetailsSet16.json +1 -0
  85. package/assets/components/assets/icon/featureDetailsSet24.json +1 -0
  86. package/assets/components/assets/icon/featureDetailsSet32.json +1 -0
  87. package/assets/components/assets/icon/fileBim16.json +1 -0
  88. package/assets/components/assets/icon/fileBim24.json +1 -0
  89. package/assets/components/assets/icon/fileBim32.json +1 -0
  90. package/assets/components/assets/icon/fileDwg16.json +1 -0
  91. package/assets/components/assets/icon/fileDwg24.json +1 -0
  92. package/assets/components/assets/icon/fileDwg32.json +1 -0
  93. package/assets/components/assets/icon/fileRvt16.json +1 -0
  94. package/assets/components/assets/icon/fileRvt24.json +1 -0
  95. package/assets/components/assets/icon/fileRvt32.json +1 -0
  96. package/assets/components/assets/icon/gradient16.json +1 -0
  97. package/assets/components/assets/icon/gradient24.json +1 -0
  98. package/assets/components/assets/icon/gradient32.json +1 -0
  99. package/assets/components/assets/icon/layerStreamSetting16.json +1 -0
  100. package/assets/components/assets/icon/layerStreamSetting24.json +1 -0
  101. package/assets/components/assets/icon/layerStreamSetting32.json +1 -0
  102. package/assets/components/assets/icon/mopedTravelMode16.json +1 -0
  103. package/assets/components/assets/icon/mopedTravelMode16F.json +1 -0
  104. package/assets/components/assets/icon/mopedTravelMode24.json +1 -0
  105. package/assets/components/assets/icon/mopedTravelMode24F.json +1 -0
  106. package/assets/components/assets/icon/mopedTravelMode32.json +1 -0
  107. package/assets/components/assets/icon/mopedTravelMode32F.json +1 -0
  108. package/assets/components/assets/icon/motorcycleTravelMode16.json +1 -0
  109. package/assets/components/assets/icon/motorcycleTravelMode16F.json +1 -0
  110. package/assets/components/assets/icon/motorcycleTravelMode24.json +1 -0
  111. package/assets/components/assets/icon/motorcycleTravelMode24F.json +1 -0
  112. package/assets/components/assets/icon/motorcycleTravelMode32.json +1 -0
  113. package/assets/components/assets/icon/motorcycleTravelMode32F.json +1 -0
  114. package/assets/components/assets/icon/publish16.json +1 -0
  115. package/assets/components/assets/icon/publish24.json +1 -0
  116. package/assets/components/assets/icon/publish32.json +1 -0
  117. package/assets/components/assets/icon/scooterTravelMode16.json +1 -0
  118. package/assets/components/assets/icon/scooterTravelMode16F.json +1 -0
  119. package/assets/components/assets/icon/scooterTravelMode24.json +1 -0
  120. package/assets/components/assets/icon/scooterTravelMode24F.json +1 -0
  121. package/assets/components/assets/icon/scooterTravelMode32.json +1 -0
  122. package/assets/components/assets/icon/scooterTravelMode32F.json +1 -0
  123. package/assets/components/assets/icon/shuttleTravelMode16.json +1 -0
  124. package/assets/components/assets/icon/shuttleTravelMode16F.json +1 -0
  125. package/assets/components/assets/icon/shuttleTravelMode24.json +1 -0
  126. package/assets/components/assets/icon/shuttleTravelMode24F.json +1 -0
  127. package/assets/components/assets/icon/shuttleTravelMode32.json +1 -0
  128. package/assets/components/assets/icon/shuttleTravelMode32F.json +1 -0
  129. package/assets/components/assets/icon/strollerTravelMode16.json +1 -0
  130. package/assets/components/assets/icon/strollerTravelMode16F.json +1 -0
  131. package/assets/components/assets/icon/strollerTravelMode24.json +1 -0
  132. package/assets/components/assets/icon/strollerTravelMode24F.json +1 -0
  133. package/assets/components/assets/icon/strollerTravelMode32.json +1 -0
  134. package/assets/components/assets/icon/strollerTravelMode32F.json +1 -0
  135. package/assets/components/assets/icon/trainTravelMode16.json +1 -0
  136. package/assets/components/assets/icon/trainTravelMode16F.json +1 -0
  137. package/assets/components/assets/icon/trainTravelMode24.json +1 -0
  138. package/assets/components/assets/icon/trainTravelMode24F.json +1 -0
  139. package/assets/components/assets/icon/trainTravelMode32.json +1 -0
  140. package/assets/components/assets/icon/trainTravelMode32F.json +1 -0
  141. package/assets/components/assets/icon/tramTravelMode16.json +1 -0
  142. package/assets/components/assets/icon/tramTravelMode16F.json +1 -0
  143. package/assets/components/assets/icon/tramTravelMode24.json +1 -0
  144. package/assets/components/assets/icon/tramTravelMode24F.json +1 -0
  145. package/assets/components/assets/icon/tramTravelMode32.json +1 -0
  146. package/assets/components/assets/icon/tramTravelMode32F.json +1 -0
  147. package/assets/components/assets/icon/truckTravelMode16.json +1 -0
  148. package/assets/components/assets/icon/truckTravelMode16F.json +1 -0
  149. package/assets/components/assets/icon/truckTravelMode24.json +1 -0
  150. package/assets/components/assets/icon/truckTravelMode24F.json +1 -0
  151. package/assets/components/assets/icon/truckTravelMode32.json +1 -0
  152. package/assets/components/assets/icon/truckTravelMode32F.json +1 -0
  153. package/assets/components/assets/icon/velocityServer16.json +1 -0
  154. package/assets/components/assets/icon/velocityServer24.json +1 -0
  155. package/assets/components/assets/icon/velocityServer32.json +1 -0
  156. package/assets/components/assets/icon/walkingTravelMode16.json +1 -0
  157. package/assets/components/assets/icon/walkingTravelMode16F.json +1 -0
  158. package/assets/components/assets/icon/walkingTravelMode24.json +1 -0
  159. package/assets/components/assets/icon/walkingTravelMode24F.json +1 -0
  160. package/assets/components/assets/icon/walkingTravelMode32.json +1 -0
  161. package/assets/components/assets/icon/walkingTravelMode32F.json +1 -0
  162. package/assets/components/assets/icon/wheelchairTravelMode16.json +1 -0
  163. package/assets/components/assets/icon/wheelchairTravelMode16F.json +1 -0
  164. package/assets/components/assets/icon/wheelchairTravelMode24.json +1 -0
  165. package/assets/components/assets/icon/wheelchairTravelMode24F.json +1 -0
  166. package/assets/components/assets/icon/wheelchairTravelMode32.json +1 -0
  167. package/assets/components/assets/icon/wheelchairTravelMode32F.json +1 -0
  168. package/assets/esri/core/workers/RemoteClient.js +1 -1
  169. package/assets/esri/core/workers/chunks/09ecb36e44096e577af8.js +1 -0
  170. package/assets/esri/core/workers/chunks/0b1454a77a6a682541dc.js +2 -0
  171. package/assets/esri/core/workers/chunks/{d82b543c96f09ded3bf9.js.LICENSE.txt → 0b1454a77a6a682541dc.js.LICENSE.txt} +6 -1
  172. package/assets/esri/core/workers/chunks/0ca06ea649bbdb93ff49.js +1 -0
  173. package/assets/esri/core/workers/chunks/10308c9f3f0d709d96bc.js +1 -0
  174. package/assets/esri/core/workers/chunks/{03e20ac54d6f141b5001.js → 11241781baaed346af52.js} +1 -1
  175. package/assets/esri/core/workers/chunks/123e920e4460124ec3bb.js +288 -0
  176. package/assets/esri/core/workers/chunks/{fc64ae69581e4c38fa8a.js → 141edf5ed890105a079b.js} +1 -1
  177. package/assets/esri/core/workers/chunks/160b9a76b75875507c86.js +1 -0
  178. package/assets/esri/core/workers/chunks/16dfdee05704df249e95.js +1 -0
  179. package/assets/esri/core/workers/chunks/17ef955dc48e329aa184.js +1 -0
  180. package/assets/esri/core/workers/chunks/18001536ed345955121a.js +1 -0
  181. package/assets/esri/core/workers/chunks/1c7183551f5269bdcf13.js +30 -0
  182. package/assets/esri/core/workers/chunks/1d9560eb8b21b9e76616.js +1 -0
  183. package/assets/esri/core/workers/chunks/{b364ec104dd59faa41b6.js → 1f82a0f134ea912fc686.js} +1 -1
  184. package/assets/esri/core/workers/chunks/231f502cd15f30d12be2.js +1 -0
  185. package/assets/esri/core/workers/chunks/238f51d0b36f998017b8.js +1 -0
  186. package/assets/esri/core/workers/chunks/2cee6d751c5e73fe09d4.js +1 -0
  187. package/assets/esri/core/workers/chunks/31071a43e2c03984d619.js +1 -0
  188. package/assets/esri/core/workers/chunks/36031cb53c486630f3c9.js +1 -0
  189. package/assets/esri/core/workers/chunks/3697e51e1e4cf442f39a.js +1 -0
  190. package/assets/esri/core/workers/chunks/3a58708217a9c11836ab.js +1 -0
  191. package/assets/esri/core/workers/chunks/3b1446286a9b87f34761.js +1 -0
  192. package/assets/esri/core/workers/chunks/3b7cda16e656db450f11.js +1 -0
  193. package/assets/esri/core/workers/chunks/3e972ae291df1844017d.js +1 -0
  194. package/assets/esri/core/workers/chunks/{73e000cc3c4da10e9937.js → 3f7fd58ee7d71989fc83.js} +1 -1
  195. package/assets/esri/core/workers/chunks/416e031bafc0189544fa.js +1 -0
  196. package/assets/esri/core/workers/chunks/427dec43ef2d67467699.js +1 -0
  197. package/assets/esri/core/workers/chunks/{746b3e98bad32c366a27.js → 444f0f51b3ee0b9845a5.js} +1 -1
  198. package/assets/esri/core/workers/chunks/4d51261d6131c07402cd.js +1 -0
  199. package/assets/esri/core/workers/chunks/{8ccf2f65d8ed3c48ffff.js → 4d8670f6fa8952b7bab6.js} +1 -1
  200. package/assets/esri/core/workers/chunks/{f209a7076d67cbf4d205.js → 4e676e888a935c507d90.js} +1 -1
  201. package/assets/esri/core/workers/chunks/50d5d6654ada9f28345d.js +1 -0
  202. package/assets/esri/core/workers/chunks/54c6e870262469d0d702.js +1 -0
  203. package/assets/esri/core/workers/chunks/55ee78923987ed17ea8c.js +1 -0
  204. package/assets/esri/core/workers/chunks/58b3c888c8bfedbe6443.js +1 -0
  205. package/assets/esri/core/workers/chunks/58c79e15ca95238a4b43.js +1 -0
  206. package/assets/esri/core/workers/chunks/6118706b9a038e9a06b8.js +1 -0
  207. package/assets/esri/core/workers/chunks/628f56c09838eb9c573b.js +1 -0
  208. package/assets/esri/core/workers/chunks/{f11ea0d3de93ec0392af.js → 6ac5ec3ecbca8860338b.js} +1 -1
  209. package/assets/esri/core/workers/chunks/6d15229b3fa84a7acf4d.js +599 -0
  210. package/assets/esri/core/workers/chunks/6dac8dfcd63fc757ae2d.js +1 -0
  211. package/assets/esri/core/workers/chunks/6e70e922331704b92a08.js +1 -0
  212. package/assets/esri/core/workers/chunks/6f67c9f68101a084b683.js +30 -0
  213. package/assets/esri/core/workers/chunks/728ad5bbbcbf88d6249f.js +1 -0
  214. package/assets/esri/core/workers/chunks/7314c0131403cac84ad7.js +1 -0
  215. package/assets/esri/core/workers/chunks/73545bb13c70f6a347a4.js +1 -0
  216. package/assets/esri/core/workers/chunks/74be994d789c57031631.js +1 -0
  217. package/assets/esri/core/workers/chunks/7bacdd65a6cc4d284e0a.js +2 -0
  218. package/assets/esri/core/workers/chunks/7c7c11c0fde8b63e330b.js +1 -0
  219. package/assets/esri/core/workers/chunks/7ca32806e47be15109a4.js +1 -0
  220. package/assets/esri/core/workers/chunks/7cb6d8f7eaf762279632.js +1 -0
  221. package/assets/esri/core/workers/chunks/7d6ed65bbcd279448191.js +1 -0
  222. package/assets/esri/core/workers/chunks/7e6ccf9f3e756186e93e.js +1 -0
  223. package/assets/esri/core/workers/chunks/81f149e45c79b9b086fb.js +1 -0
  224. package/assets/esri/core/workers/chunks/824051af00e7a1f05ed0.js +1 -0
  225. package/assets/esri/core/workers/chunks/84fa25f66a6949290221.js +1 -0
  226. package/assets/esri/core/workers/chunks/852aabbf671d2ca9cd33.js +1 -0
  227. package/assets/esri/core/workers/chunks/85edbb072a2ce6c1bb30.js +2 -0
  228. package/assets/esri/core/workers/chunks/{2d2c10c31cc1460dd96a.js → 88827e23f8938342781c.js} +1 -1
  229. package/assets/esri/core/workers/chunks/{bc2c7cb99e227ddbd3a6.js → 89345a682dea60ef1643.js} +1 -1
  230. package/assets/esri/core/workers/chunks/8985402c328b90af5724.js +1 -0
  231. package/assets/esri/core/workers/chunks/89fdf9ad10ca8fbb08a5.js +1 -0
  232. package/assets/esri/core/workers/chunks/8a48a6760c33ed50b650.js +1 -0
  233. package/assets/esri/core/workers/chunks/8b094330323d9b16fb5d.js +1 -0
  234. package/assets/esri/core/workers/chunks/8b73f4d2f99c0b54cced.js +1 -0
  235. package/assets/esri/core/workers/chunks/90aed8c4b266832f84ca.js +1 -0
  236. package/assets/esri/core/workers/chunks/916a8f3eed1fafdc7242.js +1 -0
  237. package/assets/esri/core/workers/chunks/9187d1caca1fd2d713e0.js +1 -0
  238. package/assets/esri/core/workers/chunks/943cf0653a2b7de16a4f.js +1 -0
  239. package/assets/esri/core/workers/chunks/9482a6d7baa24bbf5693.js +1 -0
  240. package/assets/esri/core/workers/chunks/967758a05170545cd371.js +1 -0
  241. package/assets/esri/core/workers/chunks/9776c2db337222ceceef.js +1 -0
  242. package/assets/esri/core/workers/chunks/990853e9df38fdfc58b5.js +1 -0
  243. package/assets/esri/core/workers/chunks/9a21ba0c45a96b94c05e.js +1 -0
  244. package/assets/esri/core/workers/chunks/{e0a63b5861e8c975097e.js → 9aaf78b831f8739bc127.js} +1 -1
  245. package/assets/esri/core/workers/chunks/9b56162ac67c992193ce.js +1 -0
  246. package/assets/esri/core/workers/chunks/{4d378d4e021a33b0047e.js → 9be4438ce2c7180adadf.js} +1 -1
  247. package/assets/esri/core/workers/chunks/a169d9fe66b5865911d9.js +1 -0
  248. package/assets/esri/core/workers/chunks/a1e6187c239fdc7553ed.js +1 -0
  249. package/assets/esri/core/workers/chunks/a5a46d0a0831497cf1b4.js +1 -0
  250. package/assets/esri/core/workers/chunks/a5afcd633b32e6ee31a7.js +1 -0
  251. package/assets/esri/core/workers/chunks/a5d8d6f3c0c8de474efd.js +1 -0
  252. package/assets/esri/core/workers/chunks/a65d576e90179a2b5400.js +1 -0
  253. package/assets/esri/core/workers/chunks/a760be8fa6c6ea6b745c.js +1 -0
  254. package/assets/esri/core/workers/chunks/a8782286ce3c0d6c20e6.js +1 -0
  255. package/assets/esri/core/workers/chunks/{38328a785365c4783b1e.js → a994a3c912a33b2f4100.js} +1 -1
  256. package/assets/esri/core/workers/chunks/{678c9f15712cf3d3bb9e.js → aa1a3a849aba84cf585b.js} +1 -1
  257. package/assets/esri/core/workers/chunks/abcc5fb71be2bd94878c.js +1 -0
  258. package/assets/esri/core/workers/chunks/ae0a572cbbdd9815ee2e.js +1 -0
  259. package/assets/esri/core/workers/chunks/aecb05df4ad1454f5435.js +1 -0
  260. package/assets/esri/core/workers/chunks/aecb105db7cec2c9c4c5.js +1 -0
  261. package/assets/esri/core/workers/chunks/b19f33e026a2a43b17c4.js +1 -0
  262. package/assets/esri/core/workers/chunks/b1a21a4d7d73ad7d0e47.js +1 -0
  263. package/assets/esri/core/workers/chunks/b2983f521d8c96becd8a.js +1 -0
  264. package/assets/esri/core/workers/chunks/b5922991d2f450e6a9d9.js +1 -0
  265. package/assets/esri/core/workers/chunks/b8643976a7f984552d94.js +1 -0
  266. package/assets/esri/core/workers/chunks/ba4259aa050169c1d523.js +1 -0
  267. package/assets/esri/core/workers/chunks/bc53ce9a643f82d516c2.js +1 -0
  268. package/assets/esri/core/workers/chunks/{81b2985b83be8f8f1090.js → c06d021180418f2014de.js} +1 -1
  269. package/assets/esri/core/workers/chunks/c1189316d24fb4cdb2a0.js +1 -0
  270. package/assets/esri/core/workers/chunks/{0e2e4cb34ac6aac88ebf.js → c178e2cfc34603661b1d.js} +1 -1
  271. package/assets/esri/core/workers/chunks/c3e80c0e29ac6a7a6f80.js +1 -0
  272. package/assets/esri/core/workers/chunks/c46a4adea39636a96d03.js +1 -0
  273. package/assets/esri/core/workers/chunks/c6030271bd6d39b6e1db.js +1 -0
  274. package/assets/esri/core/workers/chunks/c9065cee85eb8dde6a42.js +1 -0
  275. package/assets/esri/core/workers/chunks/c92352b0e39576ca317a.js +1 -0
  276. package/assets/esri/core/workers/chunks/c92b40a532e708e506cc.js +1 -0
  277. package/assets/esri/core/workers/chunks/c961aff385e38b081204.js +1 -0
  278. package/assets/esri/core/workers/chunks/cca095f0c623e037002d.js +1 -0
  279. package/assets/esri/core/workers/chunks/ce2aa75e084ee56f5e29.js +1 -0
  280. package/assets/esri/core/workers/chunks/ce44e172e2847fd8df14.js +1 -0
  281. package/assets/esri/core/workers/chunks/cf826787ab8d4b27ad80.js +1 -0
  282. package/assets/esri/core/workers/chunks/cff7e921649aef715c78.js +1 -0
  283. package/assets/esri/core/workers/chunks/d05a7ce6c1d4b883ed4c.js +30 -0
  284. package/assets/esri/core/workers/chunks/d4a9eb4470cc6a1f67fc.js +2 -0
  285. package/assets/esri/core/workers/chunks/{478879ba965798f61bf3.js → d69110ec4078c583a05e.js} +1 -1
  286. package/assets/esri/core/workers/chunks/d8c0d18f0132872decd3.js +1 -0
  287. package/assets/esri/core/workers/chunks/db0061a6d5bf454cc509.js +1 -0
  288. package/assets/esri/core/workers/chunks/dbc9249dae41096d750d.js +1 -0
  289. package/assets/esri/core/workers/chunks/dcfafcf4386f2940d000.js +1 -0
  290. package/assets/esri/core/workers/chunks/deb8a0b306d7b9c86b97.js +1 -0
  291. package/assets/esri/core/workers/chunks/df8143b72ef94806c992.js +1 -0
  292. package/assets/esri/core/workers/chunks/e0b47b08ae2c36c76fa2.js +1 -0
  293. package/assets/esri/core/workers/chunks/e2b034c391c603f7f825.js +1 -0
  294. package/assets/esri/core/workers/chunks/e77d958cb62536b8eebc.js +1 -0
  295. package/assets/esri/core/workers/chunks/e797d45eba0884dc7e6f.js +1 -0
  296. package/assets/esri/core/workers/chunks/{453280ea87a696a4df81.js → e81a3da05fcff97b4752.js} +1 -1
  297. package/assets/esri/core/workers/chunks/e957d52cb9643961a843.js +1127 -0
  298. package/assets/esri/core/workers/chunks/{915a5e8aecf25f3bc72b.js → eb3cdc4ff45243fc3cc5.js} +1 -1
  299. package/assets/esri/core/workers/chunks/eb9982bc866976fef960.js +1 -0
  300. package/assets/esri/core/workers/chunks/{edc2e87968c958bc852b.js → ec4669a0edeca94710e0.js} +1 -1
  301. package/assets/esri/core/workers/chunks/f05932aea4eb267cba4d.js +1 -0
  302. package/assets/esri/core/workers/chunks/f09a41ad239d467d9438.js +2 -0
  303. package/assets/esri/core/workers/chunks/f52443cd203e687551da.js +1 -0
  304. package/assets/esri/core/workers/chunks/f653970d983f17fb764b.js +1 -0
  305. package/assets/esri/core/workers/chunks/f6912532aae1638cbe8f.js +1 -0
  306. package/assets/esri/core/workers/chunks/f6d5dd2eef0d9918096e.js +1 -0
  307. package/assets/esri/core/workers/chunks/f89976ec97938bf86996.js +1 -0
  308. package/assets/esri/core/workers/chunks/f9edc685099f51363f41.js +1 -0
  309. package/assets/esri/core/workers/chunks/fa687ba2d66fcc2501da.js +1 -0
  310. package/assets/esri/core/workers/chunks/fe68c28d3c61f116ff23.js +1 -0
  311. package/assets/esri/core/workers/chunks/fef5dc19736f12dfa99a.js +1 -0
  312. package/assets/esri/core/workers/chunks/ffcd4fca7f67e1f943f1.js +1 -0
  313. package/assets/esri/themes/dark/main.css +1 -1
  314. package/assets/esri/themes/light/main.css +1 -1
  315. package/assets/esri/themes/light/view.css +1 -1
  316. package/chunks/OITDim.glsl.js +3 -4
  317. package/config.js +1 -1
  318. package/core/workers/WorkerHandle.js +1 -1
  319. package/geometry/Mesh.js +1 -1
  320. package/geometry/support/DoubleArray.js +1 -1
  321. package/geometry/support/triangulationUtilsDeprecated.js +1 -1
  322. package/kernel.js +1 -1
  323. package/package.json +3 -3
  324. package/popup/Feature.d.ts +2 -0
  325. package/popup/Feature.js +1 -1
  326. package/popup/actions.js +1 -1
  327. package/support/revision.js +1 -1
  328. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  329. package/views/2d/layers/ImageryLayerView2D.js +1 -1
  330. package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
  331. package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
  332. package/views/2d/layers/imagery/ImageryView2D.js +1 -1
  333. package/views/2d/layers/imagery/VectorFieldView2D.js +1 -1
  334. package/views/3d/FocusAreasView.js +1 -1
  335. package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementController.js +1 -1
  336. package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
  337. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
  338. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
  339. package/views/3d/layers/BuildingComponentSublayerView3D.js +1 -1
  340. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  341. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  342. package/views/3d/layers/graphics/Graphics3DGraphicsPipeline.js +1 -1
  343. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  344. package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
  345. package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
  346. package/views/3d/layers/graphics/polygonUtils.js +1 -1
  347. package/views/3d/layers/graphics/tessellationUtils.js +1 -1
  348. package/views/3d/layers/i3s/I3SQueryEngine.js +1 -1
  349. package/views/3d/support/renderInfoUtils/polygon.js +1 -1
  350. package/views/3d/support/renderInfoUtils/polygonDeprecated.js +1 -1
  351. package/views/3d/terrain/PatchRenderData.js +1 -1
  352. package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
  353. package/views/3d/webgl-engine/core/shaderLibrary/util/EmissionDimming.glsl.js +1 -1
  354. package/views/3d/webgl-engine/lib/OrderIndependentTransparency.js +1 -1
  355. package/views/3d/webgl-engine/lib/SamplerRepository.js +2 -0
  356. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  357. package/views/ViewAnimation.d.ts +2 -21
  358. package/views/interactive/tooltip/content/TooltipContent.js +1 -1
  359. package/views/support/rasterHitTestUtils.js +2 -0
  360. package/views/webgl/Sampler.js +1 -1
  361. package/widgets/support/widgetUtils.js +1 -1
  362. package/assets/esri/core/workers/chunks/01be1315c60810651783.js +0 -1
  363. package/assets/esri/core/workers/chunks/0dd12d6af0cf7707109c.js +0 -2
  364. package/assets/esri/core/workers/chunks/155f57fe9886ef322e2a.js +0 -1
  365. package/assets/esri/core/workers/chunks/170f4d83555d238e365b.js +0 -1
  366. package/assets/esri/core/workers/chunks/171cca726a763c770469.js +0 -1
  367. package/assets/esri/core/workers/chunks/1761dc5799850ca7b66c.js +0 -1
  368. package/assets/esri/core/workers/chunks/17d54e77001ccb48a258.js +0 -1
  369. package/assets/esri/core/workers/chunks/19afacc9a741038e4bfb.js +0 -1
  370. package/assets/esri/core/workers/chunks/1a198c9e17f7a058669e.js +0 -1
  371. package/assets/esri/core/workers/chunks/1ae4e43a399e1974f106.js +0 -1
  372. package/assets/esri/core/workers/chunks/1c742bfe3b0aa51823d1.js +0 -1
  373. package/assets/esri/core/workers/chunks/1d8777266fb1c5cfca55.js +0 -1
  374. package/assets/esri/core/workers/chunks/1f76c06af4682c85bc21.js +0 -1
  375. package/assets/esri/core/workers/chunks/205e957ffd7e95f530f7.js +0 -1
  376. package/assets/esri/core/workers/chunks/210629f3c28d4339c655.js +0 -1
  377. package/assets/esri/core/workers/chunks/21a8e2a11ffacc226e2b.js +0 -1
  378. package/assets/esri/core/workers/chunks/27643750dce502fedef3.js +0 -1
  379. package/assets/esri/core/workers/chunks/29b1a4ce7646b403008e.js +0 -1
  380. package/assets/esri/core/workers/chunks/2a65bbe6c63c384cbf5f.js +0 -1
  381. package/assets/esri/core/workers/chunks/2fa69ca3ba8c442dd7d6.js +0 -1
  382. package/assets/esri/core/workers/chunks/35217befc8f9882d139e.js +0 -1
  383. package/assets/esri/core/workers/chunks/3a2ecb883fdb5c598544.js +0 -30
  384. package/assets/esri/core/workers/chunks/3eef3c2e94aa2a00d76a.js +0 -1
  385. package/assets/esri/core/workers/chunks/40d6ad030614099155cd.js +0 -1414
  386. package/assets/esri/core/workers/chunks/41e59d75ccb51a238739.js +0 -1
  387. package/assets/esri/core/workers/chunks/44016e1176629c36bc11.js +0 -1
  388. package/assets/esri/core/workers/chunks/499b899bf88aaf29230d.js +0 -1
  389. package/assets/esri/core/workers/chunks/4b0d6309abf273f1f79f.js +0 -1
  390. package/assets/esri/core/workers/chunks/4e07827ab870c65377d3.js +0 -1
  391. package/assets/esri/core/workers/chunks/51852ef71ac04954fdae.js +0 -1
  392. package/assets/esri/core/workers/chunks/53b797e384be9628fc94.js +0 -1
  393. package/assets/esri/core/workers/chunks/549a51dedcc49f366e53.js +0 -1
  394. package/assets/esri/core/workers/chunks/54c0306082d30d59cba2.js +0 -1
  395. package/assets/esri/core/workers/chunks/57cdd5d4ae073d5ca725.js +0 -1
  396. package/assets/esri/core/workers/chunks/5b9257c5359fa05f4f28.js +0 -1
  397. package/assets/esri/core/workers/chunks/5d574079f0e96e883aab.js +0 -1
  398. package/assets/esri/core/workers/chunks/5d967bcf71c05ddb1ab6.js +0 -1
  399. package/assets/esri/core/workers/chunks/60d0f8a949b130baff81.js +0 -1
  400. package/assets/esri/core/workers/chunks/61778185d702da468b00.js +0 -1
  401. package/assets/esri/core/workers/chunks/61b49cdaf288f36f9288.js +0 -1
  402. package/assets/esri/core/workers/chunks/621ea864e2774f160d1c.js +0 -1
  403. package/assets/esri/core/workers/chunks/679086351352756b33c9.js +0 -1
  404. package/assets/esri/core/workers/chunks/681e97ebbf9c69c410c6.js +0 -1
  405. package/assets/esri/core/workers/chunks/69644b8a6ce340ca1159.js +0 -1
  406. package/assets/esri/core/workers/chunks/6a567755b67c06d16f21.js +0 -1
  407. package/assets/esri/core/workers/chunks/6e7bb6d3e739527116a4.js +0 -1
  408. package/assets/esri/core/workers/chunks/70263c2182dc43046742.js +0 -1
  409. package/assets/esri/core/workers/chunks/71326d16b5cc35c3ff7f.js +0 -1
  410. package/assets/esri/core/workers/chunks/78fbfc03d9b827c3f767.js +0 -1
  411. package/assets/esri/core/workers/chunks/7d0350f459844162d3a7.js +0 -1
  412. package/assets/esri/core/workers/chunks/7e39e9d4d68843b60e4c.js +0 -1
  413. package/assets/esri/core/workers/chunks/823127b23bec07e1f9d0.js +0 -2
  414. package/assets/esri/core/workers/chunks/84eb889b9cce35dac2e5.js +0 -1
  415. package/assets/esri/core/workers/chunks/888f6387e795d45a7ad3.js +0 -2
  416. package/assets/esri/core/workers/chunks/891d97d0da6361d63679.js +0 -1
  417. package/assets/esri/core/workers/chunks/8969788c57bcc11bf77b.js +0 -1
  418. package/assets/esri/core/workers/chunks/8d6da6573d07385f4ed5.js +0 -1
  419. package/assets/esri/core/workers/chunks/8ede12f54b215c52cf3c.js +0 -1
  420. package/assets/esri/core/workers/chunks/8fb336c2066113300d0d.js +0 -1
  421. package/assets/esri/core/workers/chunks/8fed6becd107d2ed9bbd.js +0 -1
  422. package/assets/esri/core/workers/chunks/97062996e1e4196cfa7c.js +0 -1
  423. package/assets/esri/core/workers/chunks/97210bcb5e3cf3ac961b.js +0 -1
  424. package/assets/esri/core/workers/chunks/9c819ebdc98ed8b6afcf.js +0 -1
  425. package/assets/esri/core/workers/chunks/9d7ffd83f69d6e639f09.js +0 -1
  426. package/assets/esri/core/workers/chunks/9dfd00972c12a4adc15d.js +0 -1
  427. package/assets/esri/core/workers/chunks/9fab410b9fa668dc498b.js +0 -1
  428. package/assets/esri/core/workers/chunks/a061a17b62686f945e81.js +0 -1
  429. package/assets/esri/core/workers/chunks/a30815a0155a3b8790b4.js +0 -1
  430. package/assets/esri/core/workers/chunks/a43decc8ede8b4910553.js +0 -1
  431. package/assets/esri/core/workers/chunks/a462aa1c7b68efad6906.js +0 -1
  432. package/assets/esri/core/workers/chunks/a520f83ae0c3c3e78858.js +0 -1
  433. package/assets/esri/core/workers/chunks/a5d9dbb1fef8c4465943.js +0 -1
  434. package/assets/esri/core/workers/chunks/a73e8b80760dc88f926f.js +0 -1
  435. package/assets/esri/core/workers/chunks/b014f0b2385dc82dc683.js +0 -2
  436. package/assets/esri/core/workers/chunks/b2120c4c56656be941ae.js +0 -1
  437. package/assets/esri/core/workers/chunks/b8005b1996f42dee8237.js +0 -1
  438. package/assets/esri/core/workers/chunks/b85c9ceeece1bae67a16.js +0 -1
  439. package/assets/esri/core/workers/chunks/b8e85b7d5eed6e7c79b5.js +0 -1
  440. package/assets/esri/core/workers/chunks/bbdf27bc34fadbe8e6fe.js +0 -1
  441. package/assets/esri/core/workers/chunks/bc85bb82cfcbc216fa31.js +0 -1
  442. package/assets/esri/core/workers/chunks/be42fe0b7ba0e27030b2.js +0 -1
  443. package/assets/esri/core/workers/chunks/be4d13088a557b7de4b1.js +0 -1
  444. package/assets/esri/core/workers/chunks/be61ea8e1883b915bbb1.js +0 -1
  445. package/assets/esri/core/workers/chunks/bf758d57091fa534c1f8.js +0 -1
  446. package/assets/esri/core/workers/chunks/bfd516c37fb717e14d71.js +0 -1
  447. package/assets/esri/core/workers/chunks/c22945637a40355fbe61.js +0 -1
  448. package/assets/esri/core/workers/chunks/c25a58d9f94aaa96957d.js +0 -1
  449. package/assets/esri/core/workers/chunks/c6a43f748dbf8bac4bb5.js +0 -1
  450. package/assets/esri/core/workers/chunks/c7ca47f5d4b2f3885239.js +0 -1
  451. package/assets/esri/core/workers/chunks/d024278a1c2aa7d22be3.js +0 -1
  452. package/assets/esri/core/workers/chunks/d264aed5dbe09e34040f.js +0 -1
  453. package/assets/esri/core/workers/chunks/d4e55eb75fa4d3ac1e84.js +0 -1
  454. package/assets/esri/core/workers/chunks/d5c7ebfd5c2ca635a7a8.js +0 -1
  455. package/assets/esri/core/workers/chunks/d635f97b7b82a37482d6.js +0 -1
  456. package/assets/esri/core/workers/chunks/d7b92bd9198dd3b27eb5.js +0 -1
  457. package/assets/esri/core/workers/chunks/d816d1a4220d827faf63.js +0 -1
  458. package/assets/esri/core/workers/chunks/d82b543c96f09ded3bf9.js +0 -2
  459. package/assets/esri/core/workers/chunks/d8dde0d1759e009b8373.js +0 -1
  460. package/assets/esri/core/workers/chunks/da0a61f73d45ea9e71fc.js +0 -1
  461. package/assets/esri/core/workers/chunks/e305ced975d885c28e7e.js +0 -1
  462. package/assets/esri/core/workers/chunks/e3c60b7df2740e600066.js +0 -1
  463. package/assets/esri/core/workers/chunks/e5801b0f3893d4d4f5b0.js +0 -1
  464. package/assets/esri/core/workers/chunks/e59f5dc8c85bcea66e98.js +0 -1
  465. package/assets/esri/core/workers/chunks/e611cd03eee4fae7c413.js +0 -1
  466. package/assets/esri/core/workers/chunks/e62d08f5488a74cbda82.js +0 -1
  467. package/assets/esri/core/workers/chunks/e64a92b6f4075616f40f.js +0 -1
  468. package/assets/esri/core/workers/chunks/e78b442417f6a903b9b1.js +0 -1
  469. package/assets/esri/core/workers/chunks/ef0fe4e1a9e960a74c60.js +0 -1
  470. package/assets/esri/core/workers/chunks/efbbcf467b2a27a92b85.js +0 -1
  471. package/assets/esri/core/workers/chunks/f201edf9b68717a6106d.js +0 -1
  472. package/assets/esri/core/workers/chunks/f59f1db572be1f19887f.js +0 -1
  473. package/assets/esri/core/workers/chunks/f9cde38cb56c547e87e5.js +0 -1
  474. package/assets/esri/core/workers/chunks/fd6bbe47773bbd9f7dd9.js +0 -1
  475. package/assets/esri/core/workers/chunks/fe3b42eadcdd9ba54f05.js +0 -1
  476. /package/assets/esri/core/workers/chunks/{0dd12d6af0cf7707109c.js.LICENSE.txt → 7bacdd65a6cc4d284e0a.js.LICENSE.txt} +0 -0
  477. /package/assets/esri/core/workers/chunks/{823127b23bec07e1f9d0.js.LICENSE.txt → 85edbb072a2ce6c1bb30.js.LICENSE.txt} +0 -0
  478. /package/assets/esri/core/workers/chunks/{888f6387e795d45a7ad3.js.LICENSE.txt → d4a9eb4470cc6a1f67fc.js.LICENSE.txt} +0 -0
  479. /package/assets/esri/core/workers/chunks/{b014f0b2385dc82dc683.js.LICENSE.txt → f09a41ad239d467d9438.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5611,5666,6061,6491,7992],{61691(t,e,n){n.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,n){n.d(e,{S:()=>s});var r=n(61691);class s extends r.G{constructor(t){super(),this.m_iGeom=-1,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}}},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:r,fromValues:function(t,e,n,r,s,i,o,a,u,c,h,f,l,m,g,x){return[t,e,n,r,s,i,o,a,u,c,h,f,l,m,g,x]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,n){function r(){return[0,0,0]}function s(t){return[t[0],t[1],t[2]]}function i(t,e,n){return[t,e,n]}function o(t,e,n){return[t,e,n]}function a(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function u(){return[0,0,0]}function c(){return i(1,1,1)}function h(){return i(1,0,0)}function f(){return i(0,1,0)}function l(){return i(0,0,1)}n.d(e,{CN:()=>o,Cb:()=>y,Cw:()=>x,JP:()=>d,S:()=>c,Ul:()=>u,Un:()=>g,ci:()=>a,fA:()=>i,o8:()=>s,uY:()=>m,vt:()=>r});const m=[0,0,0],g=c(),x=h(),d=f(),y=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:g,UNIT_X:x,UNIT_Y:d,UNIT_Z:y,ZEROS:m,clone:s,create:r,freeze:o,fromArray:a,fromValues:i,ones:c,unitX:h,unitY:f,unitZ:l,zeros:u},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>b,Bw:()=>i,C:()=>o,Cc:()=>I,DI:()=>E,Il:()=>k,Io:()=>p,Ln:()=>y,Om:()=>_,Qr:()=>f,Re:()=>c,S8:()=>P,T9:()=>x,WQ:()=>u,Z0:()=>S,_S:()=>m,aI:()=>F,ei:()=>w,fw:()=>G,g7:()=>A,gL:()=>O,hG:()=>M,hZ:()=>a,hs:()=>d,jb:()=>N,jk:()=>g,lo:()=>q,lw:()=>h,m3:()=>v,oW:()=>V,t2:()=>T,tn:()=>l,uE:()=>B,xg:()=>z,ze:()=>C});var r=n(51850),s=n(34304);function i(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function c(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function h(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function l(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function m(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function x(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function d(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function y(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function p(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+r*r+s*s)}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return n*n+r*r+s*s}function v(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function C(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function E(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function P(t,e){const n=e[0],r=e[1],s=e[2];let i=n*n+r*r+s*s;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i),t}function _(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function b(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2];return t[0]=s*u-i*a,t[1]=i*o-r*u,t[2]=r*a-s*o,t}function I(t,e,n,r){const s=e[0],i=e[1],o=e[2];return t[0]=s+r*(n[0]-s),t[1]=i+r*(n[1]-i),t[2]=o+r*(n[2]-o),t}function S(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*i+n[12],t[1]=n[1]*r+n[5]*s+n[9]*i+n[13],t[2]=n[2]*r+n[6]*s+n[10]*i+n[14],t}function w(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=r*n[0]+s*n[3]+i*n[6],t[1]=r*n[1]+s*n[4]+i*n[7],t[2]=r*n[2]+s*n[5]+i*n[8],t}function O(t,e,n){return G(t,e,n[0],n[1],n[2],n[3])}function G(t,e,n,r,s,i){const o=e[0],a=e[1],u=e[2],c=r*u-s*a,h=s*o-n*u,f=n*a-r*o,l=r*f-s*h,m=s*c-n*f,g=n*h-r*c,x=2*i;return t[0]=o+c*x+2*l,t[1]=a+h*x+2*m,t[2]=u+f*x+2*g,t}function A(t,e){P(Y,t),P(Z,e);const n=_(Y,Z);return n>1?0:n<-1?Math.PI:Math.acos(n)}const Y=(0,r.vt)(),Z=(0,r.vt)();function T(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function F(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],o=e[0],a=e[1],u=e[2],c=(0,s.FD)();return Math.abs(n-o)<=c*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=c*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-u)<=c*Math.max(1,Math.abs(i),Math.abs(u))}function V(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],i=n[2]-e[2];let o=r*r+s*s+i*i;return o>0?(o=1/Math.sqrt(o),t[0]=r*o,t[1]=s*o,t[2]=i*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const N=c,R=h,X=f,z=p,q=M,k=i,B=v;Object.freeze(Object.defineProperty({__proto__:null,abs:l,add:u,angle:A,bezier:function(t,e,n,r,s,i){const o=1-i,a=o*o,u=i*i,c=a*o,h=3*i*a,f=3*u*o,l=u*i;return t[0]=e[0]*c+n[0]*h+r[0]*f+s[0]*l,t[1]=e[1]*c+n[1]*h+r[1]*f+s[1]*l,t[2]=e[2]*c+n[2]*h+r[2]*f+s[2]*l,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:o,cross:b,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2],c=s*u-i*a,h=i*o-r*u,f=r*a-s*o,l=Math.sqrt(c*c+h*h+f*f);return t[0]=c/l,t[1]=h/l,t[2]=f/l,t},direction:V,dist:z,distance:p,div:X,divide:f,dot:_,equals:F,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},hermite:function(t,e,n,r,s,i){const o=i*i,a=o*(2*i-3)+1,u=o*(i-2)+i,c=o*(i-1),h=o*(3-2*i);return t[0]=e[0]*a+n[0]*u+r[0]*c+s[0]*h,t[1]=e[1]*a+n[1]*u+r[1]*c+s[1]*h,t[2]=e[2]*a+n[2]*u+r[2]*c+s[2]*h,t},inverse:E,len:k,length:i,lerp:I,max:x,min:g,mul:R,multiply:h,negate:C,normalize:P,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,i=2*n()-1,o=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(r)*o,t[1]=Math.sin(r)*o,t[2]=i*e,t},rotateX:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0],i[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),i[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),i[1]=s[1],i[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),i[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),i[2]=s[2],t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:d,scaleAndAdd:y,set:a,sign:m,sqrDist:q,sqrLen:B,squaredDistance:M,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:N,subtract:c,transformMat3:w,transformMat4:S,transformQuat:O,transformQuatValues:G},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>o,RS:()=>s,Ul:()=>m,i5:()=>l,lM:()=>i,qK:()=>h});var r=n(34275);const s=16;function i(t){if(!t)return 0;let e=h;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n],!1));return e}function o(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return c(t,8);let n=f;for(let r=0;r<e;r++)n+=a(t[r]);return n}(t);let e=h;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?o(t):h;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+l:Array.isArray(e)?c(e,s):0:0),0)}function c(t,e){return f+t.length*e}const h=32,f=16,l=145,m=64},87992(t,e,n){n.d(e,{JR:()=>b,ME:()=>E,MY:()=>I,NO:()=>C,Nh:()=>_,V2:()=>A,_s:()=>Y,e6:()=>T,gh:()=>P,tr:()=>V,uX:()=>d});var r=n(5482),s=n(69397),i=n(16930),o=(n(70328),n(19419)),a=n(60408),u=n(21325),c=n(513),h=n(50954),f=n(79567),l=n(52006),m=n(49663),g=n(46068),x=n(92722);class d{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:i,partCount:o,partOffsets:a,partFlags:u,segmentFlags:c,segmentIndices:h,segmentParams:f,segmentCountArc:l,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=i,this.partCount=o,this.partOffsets=a,this.partFlags=u,this.segmentFlags=c,this.segmentIndices=h,this.segmentParams=f,this.segmentCountArc=l,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:n}=this;return t&&t-e-n}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 null!=this.segmentFlags}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+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:n,hasZ:r,hasM:s,segmentCountArc:i,segmentCountBezier:o}=this,a=A(t,e,n,r,s,this.hasCurves(),i,o);a.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:c,vertexM:h}=this;if(a.vertexXY.set(u.subarray(0,2*e),0),a.vertexZ?.set(c.subarray(0,e),0),a.vertexM?.set(h.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;a.partFlags.set(e.subarray(0,n+1)),a.partOffsets.set(t.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;a.segmentFlags.set(t.subarray(0,e),0),a.segmentIndices.set(n.subarray(0,e),0),a.segmentParams.set(r.subarray(0,s),0)}return a}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.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 n=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,n)=>Math.abs(t-n)>e||isNaN(t)!==isNaN(n);for(let e=0;e<this.vertexCount;++e)if(n(this.vertexXY[2*e],t.vertexXY[2*e])||n(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(n(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(n(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new y(this):[][Symbol.iterator]()}}class y{constructor(t){this.geometry=t,this.value=new p(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class p{constructor(t){this.geometry=t,this.index=-1,this._readVertex=O(t),this._segments=new M(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 M{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(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 v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=O(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 n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[n++],r=e[n++],s=e[n++],i=e[n++];return{b:[this.end,[t,r],[s,i]]}}const r=e[n++],s=e[n++],i=e[n++],o=e[n++],a=e[n++],u=e[n++];n++,n++;const c=e[n++],h=e[n++];if(!Boolean(4&r)&&1===i)return{c:[this.end,[c,h]]};const f=2&r?0:1,l=1&r?0:1;return{a:[this.end,[a,u],f,l,o,s,i]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,o.Ie)(),(0,r.mS)(n,new S(t,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:i,vertexM:a}=t,u=w(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new S(t,["vertexZ","vertexM"]),!1);const s=(0,o.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,f.e)(s,t,n),t=(0,l.yP)(n)}const[i,a,c,h]=s;e={xmin:i,ymin:a,xmax:c,ymax:h,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,i,o;t=r=1/0,i=o=-1/0;for(let e=0;e<n;++e){const n=s[2*e],a=s[2*e+1];t=Math.min(t,n),i=Math.max(i,n),r=Math.min(r,a),o=Math.max(o,a)}e={xmin:t,ymin:r,xmax:i,ymax:o,spatialReference:u}}if(i){let t=1/0,n=-1/0;for(const e of i)t=Math.min(t,e),n=Math.max(n,e);e.zmin=t,e.zmax=n}if(a){let t=1/0,n=-1/0;for(const e of a)t=Math.min(t,e),n=Math.max(n,e);e.mmin=t,e.mmax=n}return e}(t)),e}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}function E(t){let e,n,r;if((0,a.fT)(t)){r="point";const{x:s,y:i,z:o,m:a}=t,u=[s,i];null!=o&&u.push(o),null!=a&&u.push(a),n=[[u]],e=1}else(0,a.U9)(t)?(r="multipoint",n=[t.points],e=t.points.length):(0,a.Rg)(t)?(r="polyline",n=t.curvePaths??t.paths,e=n.reduce((t,e)=>t+e.length,0)):(r="polygon",n=t.curveRings??t.rings,e=n.reduce((t,e)=>(0===e.length||(t+=e.length,G(e[0],(0,l.yP)(e.at(-1)))&&--t),t),0));const s=A(r,e,r.includes("point")?0:n.length,(0,a.Pv)(t),(0,a.W0)(t),(0,l.Ed)(t)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:c,vertexM:h}=s;function f(t){u[2*g]=t[0],u[2*g+1]=t[1],i&&(c[g]=t[2]),o&&(h[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!i&&!o){for(const[t,e]of n[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of n[0])f(t);return s}const x="polygon"===r,{partOffsets:d}=s;let y=0;if(!s.hasCurves()){for(const t of n){if(d[y++]=g,0===t.length)continue;let e=t.length;if(x&&G(t[0],t.at(-1))&&--e,i||o)for(let n=0;n<e;++n)f(t[n]);else for(let n=0;n<e;++n){const[e,r]=t[n];u[2*g]=e,u[2*g+1]=r,++g}}return d[y]=g,s}function p(t){const e=M+t;if(e<=(s.segmentParams?.length??0))return;let n=e*N;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let M=0;for(const t of n){if(s.partOffsets[y++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];f(n);const i=g-1;(0,l.wY)(r)?(p(10),++s.segmentCountArc,M=Y(n,r,s,i,M),n=r.a[0]):(0,l.DA)(r)?(p(10),++s.segmentCountArc,M=Z(n,r,s,i,M),n=r.a[0]):(0,l.aO)(r)?(p(10),++s.segmentCountArc,M=T(n,r,s,i,M),n=r.c[0]):(0,l.n1)(r)?(p(4),++s.segmentCountBezier,M=V(0,r,s,i,M),n=r.b[0]):n=r}x&&G(e,n)||f(n)}return s.partOffsets[y]=g,s}function P(t){const e=O(t),{vertexCount:n,partCount:r,hasZ:s,hasM:i}=t,o=w(t);if("point"===t.type){const[e,n]=t.vertexXY,r=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:n,z:r,m:s,spatialReference:o}}let a=0;if("multipoint"===t.type){const t=[];for(;a<n;)t.push(e(a++));return{points:t,spatialReference:o,hasZ:s,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=t.partOffsets[s+1],i=new Array;for(;a<r;)i.push(e(a++));u&&i.length>0&&i.push(i[0]),n.push(i)}return u?{rings:n,hasZ:s,hasM:i,spatialReference:o}:{paths:n,hasZ:s,hasM:i,spatialReference:o}}const c=new Array;for(const{segments:e,startVertex:n}of t.parts){const t=[n];for(const{curve:n}of e)t.push(n);c.push(t)}return u?{rings:[],curveRings:c,hasZ:s,hasM:i,spatialReference:o}:{paths:[],curvePaths:c,hasZ:s,hasM:i,spatialReference:o}}function _(t,{lengths:e,coords:n,hasZ:r,hasM:s},i){const o=t.includes("point")?0:e.length,a="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(a?o:0);r??=!1,s??=!1;const c=A(t,u,o,r,s,!1,0,0);if(c.spatialReference=i??void 0,!c.isMultipart()){for(let t=0,e=0;t<u;++t)c.vertexXY[2*t]=n[e++],c.vertexXY[2*t+1]=n[e++],r&&(c.vertexZ[t]=n[e++]),s&&(c.vertexM[t]=n[e++]);return c}const h=2+Number(r)+Number(s);let f=0,l=0;c.partOffsets[0]=0;for(const t of e){const e=c.partOffsets[l],i=e+t-Number(a);c.partOffsets[++l]=i;for(let t=e;t<i;++t)c.vertexXY[2*t]=n[f++],c.vertexXY[2*t+1]=n[f++],r&&(c.vertexZ[t]=n[f++]),s&&(c.vertexM[t]=n[f++]);a&&(f+=h)}return c}function b({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:i,partOffsets:o,hasZ:a,hasM:u}){const c=new x.A([],[],a,u);i=Math.max(i,1);const h="polygon"===t;let f=0;for(let t=0;t<i;++t){const i=o?.[t+1]??e,l=c.coords.length;for(let t=f;t<i;++t)c.coords.push(n[2*t],n[2*t+1]),a&&c.coords.push(r[t]),u&&c.coords.push(s[t]);if(h){const t=f;c.coords.push(n[2*t],n[2*t+1]),a&&c.coords.push(r[t]),u&&c.coords.push(s[t])}c.lengths.push((c.coords.length-l)/c.stride),f=i}return"point"===t&&(c.lengths.length=0),c}function I(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,n=t.isCustomWkid()?0:t.getOldID();if(n<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===n)&&(r=void 0);const s=t.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:e};const i=s.isCustomWkid()?0:s.getOldID();if(i<=0)return{wkt:e};let o=t.getLatestVerticalID();return(o<=0||o===i)&&(o=void 0),{wkid:n,wkt:e,latestWkid:r,vcsWkid:i,latestVcsWkid:o}}(t.getSpatialReference()),t=t.getGeometry()),new d({...t.toFlatGeometry(),spatialReference:e})}class S{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const n of e)t[n]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function w({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function O({vertexXY:t,vertexZ:e,vertexM:n}){return e?n?r=>[t[2*r],t[2*r+1],e[r],n[r]]:n=>[t[2*n],t[2*n+1],e[n]]:n?e=>[t[2*e],t[2*e+1],n[e]]:e=>[t[2*e],t[2*e+1]]}function G(t,e){return t.every((t,n)=>t===e[n])}function A(t,e,n,r,s,i,o,a){o??=0,a??=0;const u=new d({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:a});let c=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(c+=Float64Array.BYTES_PER_ELEMENT*e),s&&(c+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(c+=(n+1)*Int32Array.BYTES_PER_ELEMENT,c+=(n+1)*Int8Array.BYTES_PER_ELEMENT),i&&(c+=e*Int8Array.BYTES_PER_ELEMENT,c+=e*Int32Array.BYTES_PER_ELEMENT,c+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const h=new ArrayBuffer(c);let f=0;return u.vertexXY=new Float64Array(h,f,2*e),f+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(h,f,e),f+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(h,f,e),f+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(h,f,u.segmentParamCount),f+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(h,f,e),u.segmentIndices.fill(R),f+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(h,f,n+1),f+=u.partOffsets.byteLength,u.partFlags=new Int8Array(h,f,n+1),f+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),i&&(u.segmentFlags=new Int8Array(h,f,e),u.segmentFlags.fill(1),f+=u.segmentFlags.byteLength),u}function Y(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const[a,[u,c],h,f,l,m,x]=e.a;let d=4;f||(d|=1),h||(d|=2);const y=(0,g.SW)(t,e),[p,M]=(0,g.Uk)(y,.5);return s[o++]=d,s[o++]=m,s[o++]=x,s[o++]=l,s[o++]=u,s[o++]=c,s[o++]=y.u2-y.u1,s[o++]=y.u1,s[o++]=p,s[o++]=M,o}function Z(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const a=(0,m.io)(t,e);return F(a,4,...(0,c.mq)(a,.5),s,o)}function T(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){return n[i]=4,r[i]=o,F((0,h.pM)(t,e),0,...e.c[1],s,o)}function F(t,e,n,r,s,i){const{cx:o,cy:a,thetaStart:u,thetaEnd:c,radius:h}=t;return u>c||(e|=1),Math.abs(c-u)<=Math.PI||(e|=2),s[i++]=e,s[i++]=h,s[i++]=1,s[i++]=0,s[i++]=o,s[i++]=a,s[i++]=c-u,s[i++]=u,s[i++]=n,s[i++]=r,i}function V(t,{b:[e,[n,r],[s,i]]},{segmentFlags:o,segmentIndices:a,segmentParams:u},c,h){return o[c]=2,a[c]=h,u[h++]=n,u[h++]=r,u[h++]=s,u[h++]=i,h}const N=1.61803,R=-1},91577(t,e,n){n.d(e,{fz:()=>y,g7:()=>g,qT:()=>d,zo:()=>x});var r=n(76061),s=n(61691),i=n(55537),o=n(95213),a=n(88885),u=n(79187);class c extends s.G{constructor(t,e,n){super(),e||(0,i.a)(""),this.m_progressTracker=n,this.m_index=-1,this.m_bMerge=t,this.m_bDone=!1,this.m_inputGeometryCursor=e}getGeometryID(){return this.m_index}tock(){return!0}getRank(){return 1}next(){if(this.m_bMerge){if(!this.m_bDone){const t=h(this.m_inputGeometryCursor);return this.m_bDone=!0,t}return null}if(!this.m_bDone){const t=this.m_inputGeometryCursor.next();if(null!==t)return(0,i.p)(t),(0,i.c)(t),this.m_index=this.m_inputGeometryCursor.getGeometryID(),f(t);this.m_bDone=!0}return null}}function h(t,e){const n=new a.C;let r;for(;r=t.next();)(0,i.p)(r),(0,i.c)(r),n.addGeometry(r);return n.getBoundingGeometry()}function f(t,e){if((0,i.c)(t),t.isEmpty())return t.createInstance();const n=t.getGeometryType();if((0,i.f)(n)){const e=t;if(e.isDegenerate(0)){const t=new o.P;return e.queryStart(t),t}if(e.getGeometryType()===i.G.enumLine){const n=new o.P,r=new a.a({vd:t.getDescription()});return e.queryStart(n),r.startPathPoint(n),e.queryEnd(n),r.lineToPoint(n),r}{const n=new a.a({vd:t.getDescription()});return n.addSegment(e,!0),f(n)}}if(n===i.G.enumEnvelope){const e=t,n=new u.Envelope2D;if(e.queryEnvelope(n),n.xmin===n.xmax&&n.ymin===n.ymax){const t=new o.P;return e.queryCornerByVal(0,t),t}if(n.xmin===n.xmax||n.ymin===n.ymax){const n=new o.P,r=new a.a({vd:t.getDescription()});return e.queryCornerByVal(0,n),r.startPathPoint(n),e.queryCornerByVal(1,n),r.lineToPoint(n),r}{const n=new a.P({vd:t.getDescription()});return n.addEnvelope(e,!1),n}}if(n===i.G.enumGeometryCollection)return h((0,a.g)(t,-1));if(l(t)){if(n===i.G.enumMultiPoint){const e=t,n=new o.P;return e.getPointByVal(0,n),n}return t}return(0,i.g)((0,i.i)(n)),(0,a.f)(t)}function l(t,e){if((0,i.c)(t),t.isEmpty())return!0;const n=t.getGeometryType();if(n===i.G.enumPoint)return!0;if(n===i.G.enumEnvelope){const e=t;return e.getXMin()!==e.getXMax()&&e.getYMin()!==e.getYMax()}if((0,i.f)(n)){const e=t;if(e.isDegenerate(0))return!1;if(n===i.G.enumLine)return!0;const r=new a.a;return r.addSegment(e,!0),l(r)}if(n===i.G.enumMultiPoint)return 1===t.getPointCount();if(n===i.G.enumPolyline){const e=t;return!e.hasNonLinearSegments()&&1===e.getPathCount()&&2===e.getPointCount()&&!e.getXY(0).equals(e.getXY(1))}if(n===i.G.enumGeometryCollection){const e=t;return 1===e.getGeometryCount()&&l(e.getGeometry(0))}const r=t;return!(1!==r.getPathCount()||r.getPointCount()<3)&&(0,a.i)(r,0)}const m=new class{getOperatorType(){return 10102}supportsCurves(){return!0}accelerateGeometry(t,e,n){return!1}canAccelerateGeometry(t){return!1}executeMany(t,e,n){return new c(e,t,n)}execute(t,e){return f(t)}isConvex(t,e){if((0,i.c)(t),t.isEmpty())return!0;const n=t.getGeometryType();if(n===i.G.enumPoint)return!0;if(n===i.G.enumEnvelope){const e=t;return e.getXMin()!==e.getXMax()&&e.getYMin()!==e.getYMax()}if((0,i.f)(n)){const e=t;return!e.getStartXY().equals(e.getEndXY())}if(n===i.G.enumMultiPoint)return 1===t.getPointCount();if(n===i.G.enumPolyline){const e=t;return 1===e.getPathCount()&&2===e.getPointCount()&&!e.getXY(0).equals(e.getXY(1))}if(n===i.G.enumGeometryCollection){const n=t;return 1===n.getGeometryCount()&&this.isConvex(n.getGeometry(0),e)}const r=t;return!(1!==r.getPathCount()||r.getPointCount()<3)&&(0,a.i)(r,0)}constructOrientedMinimumBoundingBox(t,e,n,r,s){(0,a.e)(t,e,n,r,s)}};function g(t){return m.execute(t,null)}function x(t,e){const n=m.executeMany(new r.S(t),e,null);return Array.from(n)}function d(t){return m.isConvex(t,null)}function y(){return m.supportsCurves()}},55666(t,e,n){n.r(e),n.d(e,{execute:()=>i,executeMany:()=>o,isConvex:()=>a});var r=n(91577),s=n(83299);function i(t){const e=(0,s.fromGeometry)(t);return(0,s.toGeometry)((0,r.g7)(e.getGeometry()),e.getSpatialReference())}function o(t,e={}){const{merge:n=!1}=e,[i,o]=(0,s.fromGeometries)(t);return(0,r.zo)(i,n).map(t=>(0,s.toGeometry)(t,o))}function a(t){return(0,r.qT)((0,s.fromGeometryToGXGeometry)(t))}},4197(t,e,n){n.d(e,{Vj:()=>u,cj:()=>a,jh:()=>i,l5:()=>o});var r=n(34275),s=n(9093);function i(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function o(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function a(t){return[...t]}function u(t){const e=(0,s.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},70328(t,e,n){n.d(e,{BI:()=>M,DC:()=>f,Ej:()=>m,Ie:()=>y,Jt:()=>p,Ne:()=>g,RF:()=>h,aI:()=>C,fA:()=>o,gE:()=>u,hZ:()=>d,iT:()=>l,is:()=>v,qv:()=>E,vI:()=>x,vY:()=>a,v_:()=>P,vt:()=>i,w1:()=>c}),n(35522);var r=n(5443),s=(n(19419),n(4197));function i(t=P){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,n,r,s,o,a=i()){return a[0]=t,a[1]=e,a[2]=n,a[3]=r,a[4]=s,a[5]=o,a}function a(t,e=i()){return function(t,e,n,r=i()){return d(r,E),function(t,e,n=0,r=e.length/3){let s=t[0],i=t[1],o=t[2],a=t[3],u=t[4],c=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),i=Math.min(i,e[n+3*t+1]),o=Math.min(o,e[n+3*t+2]),a=Math.max(a,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),c=Math.max(c,e[n+3*t+2]);t[0]=s,t[1]=i,t[2]=o,t[3]=a,t[4]=u,t[5]=c}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,i,o,a,u]=t;return e[0]=n,e[1]=r,e[2]=i,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=a,e[8]=i,e[9]=n,e[10]=a,e[11]=u,e[12]=o,e[13]=r,e[14]=i,e[15]=o,e[16]=r,e[17]=u,e[18]=o,e[19]=a,e[20]=i,e[21]=o,e[22]=a,e[23]=u,e}function c(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function h(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function x(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function y(t){return t?d(t,E):i(E)}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function M(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function C(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],P=[0,0,0,0,0,0];i()},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 i=n-t,o=r-e;return new s([5],[t,e,i,0,0,o,-i,0,0,-o])}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],i=this.coords[r*e+1];for(let o=1;o<n;o+=1){const n=r*(e+o),a=this.coords[n],u=this.coords[n+1];t+=-.5*(a-s)*(u+i),s=a,i=u}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,i=this.coords.slice(0,r*n);return t?(t.set(i),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(i),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)}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[959],{959(e,s,t){t.r(s),t.d(s,{TexturePassParameters:()=>a.T,build:()=>a.b}),t(51850),t(82048),t(33079),t(31821),t(63761),t(65786),t(14113);var a=t(92942)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[277],{52106(e,t,n){n.d(t,{A:()=>I});var r,i,s=n(5482),o=n(37838),l=n(69540),a=n(51447),u=n(25482),c=n(53966),p=n(36708),h=n(24326),f=n(91429),d=n(12195),m=n(65864),y=n(50498),g=n(55156),b=n(60950),v=n(54339),M=n(94128),w=n(33910);function x(e){if(null==e)return null;const t={};for(const n in e){const r=e[n];r&&(t[n]=r.toJSON())}return 0!==Object.keys(t).length?t:null}let I=class extends((0,l.OU)(u.o)){static{r=M.Z}static{i=this}constructor(e){super(e),this[r]=!0,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,h.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,a.eF)(c.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new i({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,b.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const n=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[n,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const n=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",n,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,g.I)(this.origin);if(e)return(0,v.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,v.r)(this,t):null}getGlobalId(){const e=(0,g.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){return{aggregateGeometries:x(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,d.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const n={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",n,n,e.action)}}_notifyLayer(e,t,n,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:n};"origin-transform"===e&&(i.action=r),"attributes"===e&&(i.attributeName=r),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,p.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,p.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,s.Cg)([(0,f.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const n in e){const r=(0,m.rS)(e[n]);r&&(t[n]=r)}return 0!==Object.keys(t).length?t:null}}})],I.prototype,"aggregateGeometries",null),(0,s.Cg)([(0,f.MZ)({value:null})],I.prototype,"attributes",null),(0,s.Cg)([(0,f.MZ)({value:null,types:y.yR,json:{read:m.rS}})],I.prototype,"geometry",null),(0,s.Cg)([(0,f.MZ)({type:Boolean})],I.prototype,"isAggregate",void 0),(0,s.Cg)([(0,f.MZ)({clonable:!1})],I.prototype,"layer",void 0),(0,s.Cg)([(0,f.MZ)({clonable:"reference"})],I.prototype,"origin",void 0),(0,s.Cg)([(0,f.MZ)({type:o.A,value:null})],I.prototype,"popupTemplate",null),(0,s.Cg)([(0,f.MZ)({clonable:"reference"})],I.prototype,"sourceLayer",void 0),(0,s.Cg)([(0,f.MZ)({value:null,types:w.Es})],I.prototype,"symbol",null),(0,s.Cg)([(0,f.MZ)({clonable:!1,json:{read:!1,write:!1}})],I.prototype,"_version",void 0),(0,s.Cg)([(0,f.MZ)({type:Boolean,value:!0})],I.prototype,"visible",null),I=i=(0,s.Cg)([(0,f.$K)("esri.Graphic")],I)},38961(e,t,n){n.d(t,{A:()=>c});var r=n(5482),i=n(7762),s=n(36708),o=n(10107),l=n(64108),a=n(80559);let u=class extends i.A{constructor(e){super(e),this.getCollections=null}initialize(){this.addHandles((0,a.fm)(()=>this._refresh(),s.OH))}destroy(){this.getCollections=null}_refresh(){const e=this.getCollections?.();if(null==e)return void this.removeAll();let t=0;for(const n of e)null!=n&&(t=this._processCollection(t,n));this.splice(t)}_createNewInstance(e){return new i.A(e)}_processCollection(e,t){if(!t)return e;const n=this.itemFilterFunction??(e=>!!e);for(const r of t)if(r){if(n(r)){const t=this.indexOf(r,e);t>=0?t!==e&&this.reorder(r,e):this.add(r,e),++e}if(this.getChildrenFunction){const t=this.getChildrenFunction(r);if(Array.isArray(t))for(const n of t)e=this._processCollection(e,n);else e=this._processCollection(e,t)}}return e}};(0,r.Cg)([(0,o.MZ)()],u.prototype,"getCollections",void 0),(0,r.Cg)([(0,o.MZ)()],u.prototype,"getChildrenFunction",void 0),(0,r.Cg)([(0,o.MZ)()],u.prototype,"itemFilterFunction",void 0),u=(0,r.Cg)([(0,l.$)("esri.core.CollectionFlattener")],u);const c=u},60999(e,t,n){n.d(t,{DZ:()=>d,Ke:()=>f,Tj:()=>c,UT:()=>m,aD:()=>g,jJ:()=>u});var r=n(5482),i=n(69622),s=n(97768),o=n(17676),l=n(10107),a=n(64108);function u(e,t,n){return(0,o.Lx)(e.map((e,r)=>t.apply(n,[e,r])))}async function c(e,t,n){return(await(0,o.Lx)(e.map((e,r)=>t.apply(n,[e,r])))).map(e=>e.value)}function p(e){return{ok:!0,value:e}}function h(e){return{ok:!1,error:e}}async function f(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return p(await e)}catch(e){return h(e)}}async function d(e){try{return p(await e)}catch(e){return(0,o.QP)(e),h(e)}}function m(e,t){return new y(e,t)}let y=class extends i.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,s.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:n}=this._abortController;this.promise=e(n),this.promise.then(e=>{this._result=p(e),this._cleanup()},e=>{this._result=h(e),this._cleanup()}),this._abortHandle=(0,o.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,s.xt)(this._abortHandle),this._abortController=null}};(0,r.Cg)([(0,l.MZ)()],y.prototype,"value",null),(0,r.Cg)([(0,l.MZ)()],y.prototype,"error",null),(0,r.Cg)([(0,l.MZ)()],y.prototype,"finished",null),(0,r.Cg)([(0,l.MZ)()],y.prototype,"promise",void 0),(0,r.Cg)([(0,l.MZ)()],y.prototype,"_result",void 0),y=(0,r.Cg)([(0,a.$)("esri.core.asyncUtils.ReactiveTask")],y);class g{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,r.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,r.hk)(t)}}}},9093(e,t,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>i,vt:()=>r,zK:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:i,create:r,fromValues:function(e,t,n,r,i,s,o,l,a,u,c,p,h,f,d,m){return[e,t,n,r,i,s,o,l,a,u,c,p,h,f,d,m]}},Symbol.toStringTag,{value:"Module"}))},35522(e,t,n){n.d(t,{$A:()=>A,Bw:()=>s,C:()=>o,Cc:()=>S,DI:()=>x,Il:()=>z,Io:()=>b,Ln:()=>g,Om:()=>C,Qr:()=>p,Re:()=>u,S8:()=>I,T9:()=>m,WQ:()=>a,Z0:()=>_,_S:()=>f,aI:()=>L,ei:()=>T,fw:()=>O,g7:()=>P,gL:()=>E,hG:()=>v,hZ:()=>l,hs:()=>y,jb:()=>F,jk:()=>d,lo:()=>q,lw:()=>c,m3:()=>M,oW:()=>j,t2:()=>Z,tn:()=>h,uE:()=>G,xg:()=>k,ze:()=>w});var r=n(51850),i=n(34304);function s(e){const t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function l(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function a(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function u(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function c(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function p(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function h(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function f(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function d(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function m(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function y(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function g(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e}function b(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return Math.sqrt(n*n+r*r+i*i)}function v(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return n*n+r*r+i*i}function M(e){const t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function w(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function x(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function I(e,t){const n=t[0],r=t[1],i=t[2];let s=n*n+r*r+i*i;return s>0&&(s=1/Math.sqrt(s),e[0]=t[0]*s,e[1]=t[1]*s,e[2]=t[2]*s),e}function C(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function A(e,t,n){const r=t[0],i=t[1],s=t[2],o=n[0],l=n[1],a=n[2];return e[0]=i*a-s*l,e[1]=s*o-r*a,e[2]=r*l-i*o,e}function S(e,t,n,r){const i=t[0],s=t[1],o=t[2];return e[0]=i+r*(n[0]-i),e[1]=s+r*(n[1]-s),e[2]=o+r*(n[2]-o),e}function _(e,t,n){const r=t[0],i=t[1],s=t[2];return e[0]=n[0]*r+n[4]*i+n[8]*s+n[12],e[1]=n[1]*r+n[5]*i+n[9]*s+n[13],e[2]=n[2]*r+n[6]*i+n[10]*s+n[14],e}function T(e,t,n){const r=t[0],i=t[1],s=t[2];return e[0]=r*n[0]+i*n[3]+s*n[6],e[1]=r*n[1]+i*n[4]+s*n[7],e[2]=r*n[2]+i*n[5]+s*n[8],e}function E(e,t,n){return O(e,t,n[0],n[1],n[2],n[3])}function O(e,t,n,r,i,s){const o=t[0],l=t[1],a=t[2],u=r*a-i*l,c=i*o-n*a,p=n*l-r*o,h=r*p-i*c,f=i*u-n*p,d=n*c-r*u,m=2*s;return e[0]=o+u*m+2*h,e[1]=l+c*m+2*f,e[2]=a+p*m+2*d,e}function P(e,t){I(R,e),I(N,t);const n=C(R,N);return n>1?0:n<-1?Math.PI:Math.acos(n)}const R=(0,r.vt)(),N=(0,r.vt)();function Z(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function L(e,t){if(e===t)return!0;const n=e[0],r=e[1],s=e[2],o=t[0],l=t[1],a=t[2],u=(0,i.FD)();return Math.abs(n-o)<=u*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-l)<=u*Math.max(1,Math.abs(r),Math.abs(l))&&Math.abs(s-a)<=u*Math.max(1,Math.abs(s),Math.abs(a))}function j(e,t,n){const r=n[0]-t[0],i=n[1]-t[1],s=n[2]-t[2];let o=r*r+i*i+s*s;return o>0?(o=1/Math.sqrt(o),e[0]=r*o,e[1]=i*o,e[2]=s*o,e):(e[0]=0,e[1]=0,e[2]=0,e)}const F=u,U=c,$=p,k=b,q=v,z=s,G=M;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:a,angle:P,bezier:function(e,t,n,r,i,s){const o=1-s,l=o*o,a=s*s,u=l*o,c=3*s*l,p=3*a*o,h=a*s;return e[0]=t[0]*u+n[0]*c+r[0]*p+i[0]*h,e[1]=t[1]*u+n[1]*c+r[1]*p+i[1]*h,e[2]=t[2]*u+n[2]*c+r[2]*p+i[2]*h,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,n=1){return e[0]=Math.min(Math.max(e[0],t),n),e[1]=Math.min(Math.max(e[1],t),n),e[2]=Math.min(Math.max(e[2],t),n),e},copy:o,cross:A,crossAndNormalize:function(e,t,n){const r=t[0],i=t[1],s=t[2],o=n[0],l=n[1],a=n[2],u=i*a-s*l,c=s*o-r*a,p=r*l-i*o,h=Math.sqrt(u*u+c*c+p*p);return e[0]=u/h,e[1]=c/h,e[2]=p/h,e},direction:j,dist:k,distance:b,div:$,divide:p,dot:C,equals:L,exactEquals:Z,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,n,r,i,s){const o=s*s,l=o*(2*s-3)+1,a=o*(s-2)+s,u=o*(s-1),c=o*(3-2*s);return e[0]=t[0]*l+n[0]*a+r[0]*u+i[0]*c,e[1]=t[1]*l+n[1]*a+r[1]*u+i[1]*c,e[2]=t[2]*l+n[2]*a+r[2]*u+i[2]*c,e},inverse:x,len:z,length:s,lerp:S,max:m,min:d,mul:U,multiply:c,negate:w,normalize:I,random:function(e,t=1){const n=i.Ov,r=2*n()*Math.PI,s=2*n()-1,o=Math.sqrt(1-s*s)*t;return e[0]=Math.cos(r)*o,e[1]=Math.sin(r)*o,e[2]=s*t,e},rotateX:function(e,t,n,r){const i=[],s=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],s[0]=i[0],s[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),s[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),e[0]=s[0]+n[0],e[1]=s[1]+n[1],e[2]=s[2]+n[2],e},rotateY:function(e,t,n,r){const i=[],s=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],s[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),s[1]=i[1],s[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),e[0]=s[0]+n[0],e[1]=s[1]+n[1],e[2]=s[2]+n[2],e},rotateZ:function(e,t,n,r){const i=[],s=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],s[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),s[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),s[2]=i[2],e[0]=s[0]+n[0],e[1]=s[1]+n[1],e[2]=s[2]+n[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:y,scaleAndAdd:g,set:l,sign:f,sqrDist:q,sqrLen:G,squaredDistance:v,squaredLength:M,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:F,subtract:u,transformMat3:T,transformMat4:_,transformQuat:E,transformQuatValues:O},Symbol.toStringTag,{value:"Module"}))},16494(e,t,n){n.d(t,{Nd:()=>l,W5:()=>o});var r=n(17632);const i=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"].reduce((e,t)=>(e[t]=[],e),{}),s=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],o=new r.I({whiteList:i,onTagAttr:(e,t,n)=>{const r=`${t}="${n}"`;if(s.includes(t))return r},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),l=new r.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},159(e,t,n){n.d(t,{A:()=>u});var r,i=n(5482),s=n(69540),o=n(25482),l=n(91429),a=n(99157);let u=r=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,i.Cg)([(0,l.MZ)({type:[a.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=r=(0,i.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,n){n.d(t,{A:()=>a});var r,i=n(5482),s=n(69540),o=n(25482),l=n(91429);let a=r=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,l.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,n)=>{t[n]=!e}}})],a.prototype,"isInverse",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],a.prototype,"wkt",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],a.prototype,"wkid",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>i});var r=n(49208);function i(e,t,n,i,s,o,l=Math.floor(e.length/3)){const a=(0,r.jd)(t,s);if(null==a)return!1;if(a===r.pO){if(e===i&&n===o)return!0;const t=n+3*l;for(let r=n,s=o;r<t;r++,s++)i[s]=e[r]??0;return!0}const u=n+3*l;for(let t=n,r=o;t<u;t+=3,r+=3)a(e,t,i,r);return!0}},49208(e,t,n){n.d(t,{Tp:()=>p,jd:()=>c,pO:()=>f,w5:()=>u});var r=n(34727),i=n(86211),s=n(73941),o=n(79258),l=n(34403),a=n(21325);const u={2:{5:f,7:null,9:null,10:f,1:w,6:null,8:null,0:null,3:m,11:y,2:f,4:S},5:{5:f,7:null,9:null,10:f,1:w,6:null,8:null,0:null,3:m,11:y,2:f,4:S},7:{5:null,7:f,9:null,10:f,1:null,6:M,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:f,10:f,1:null,6:null,8:v,0:null,3:null,11:null,2:null,4:null},3:{5:d,7:null,9:null,10:d,1:function(e,t,n,r){const i=e[t]/R,s=P-2*Math.atan(Math.exp(-e[t+1]/R)),o=R+(e[t+2]??0),l=Math.cos(s)*o;n[r]=Math.cos(i)*l,n[r+1]=Math.sin(i)*l,n[r+2]=Math.sin(s)*o},6:null,8:null,0:null,3:f,11:function(e,t,n,r){d(e,t,n,r),y(n,r,n,r)},2:d,4:function(e,t,n,r){d(e,t,n,r),S(n,r,n,r)}},4:{5:_,7:null,9:null,10:_,1:function(e,t,n,r){_(e,t,n,r),w(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){_(e,t,n,r),m(n,r,n,r)},11:function(e,t,n,r){_(e,t,n,r),y(n,r,n,r)},2:_,4:f},1:{5:A,7:null,9:null,10:A,1:f,6:null,8:null,0:null,3:function(e,t,n,r){A(e,t,n,r),m(n,r,n,r)},11:function(e,t,n,r){A(e,t,n,r),y(n,r,n,r)},2:A,4:function(e,t,n,r){A(e,t,n,r),S(n,r,n,r)}},6:{5:null,7:C,9:null,10:C,1:null,6:f,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:I,10:I,1:null,6:null,8:f,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:f,3:null,11:null,2:null,4:null},10:{5:f,7:f,9:f,10:f,1:w,6:M,8:v,0:null,3:m,11:y,2:f,4:S},11:{5:g,7:null,9:null,10:g,1:function(e,t,n,r){g(e,t,n,r),w(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){g(e,t,n,r),m(n,r,n,r)},11:f,2:g,4:function(e,t,n,r){g(e,t,n,r),S(n,r,n,r)}}};function c(e,t){return p(e,t)?.projector}function p(e,t){if(null==e||null==t)return null;if(T.source.spatialReference===e&&T.dest.spatialReference===t)return T;const n=h(e,T.source),r=h(t,T.dest);return 0===n&&0===r?(0,a.aI)(e,t)?T.projector=f:T.projector=null:T.projector=u[n][r],T}function h(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,s.jA)(e)?t.spatialReferenceId=1:(0,a.oT)(e)?t.spatialReferenceId=2:(0,a.K8)(e)?t.spatialReferenceId=3:(0,a.r1)(e)?t.spatialReferenceId=11:e.wkt===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.LJ.wkt?t.spatialReferenceId=8:(0,s.q8)(e)?t.spatialReferenceId=7:(0,s.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function f(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function d(e,t,n,r){n[r]=O*(e[t]/R),n[r+1]=O*(P-2*Math.atan(Math.exp(-e[t+1]/R))),n[r+2]=e[t+2]??0}function m(e,t,n,i){!function(e,t,n,i,s){const o=.4999999*Math.PI,l=(0,r.qE)(E*e[t+1],-o,o),a=Math.sin(l);n[i++]=E*e[t]*s.radius,n[i++]=s.halfSemiMajorAxis*Math.log((1+a)/(1-a)),n[i]=e[t+2]??0}(e,t,n,i,o.$O)}function y(e,t,n,r){n[r]=e[t]*N,n[r+1]=e[t+1]*N,n[r+2]=e[t+2]??0}function g(e,t,n,r){n[r]=e[t]*Z,n[r+1]=e[t+1]*Z,n[r+2]=e[t+2]??0}function b(e,t,n,r,i){const s=i+(e[t+2]??0),o=E*e[t],l=E*e[t+1],a=Math.cos(l)*s;n[r]=Math.cos(o)*a,n[r+1]=Math.sin(o)*a,n[r+2]=Math.sin(l)*s}function v(e,t,n,r){b(e,t,n,r,o.Sw.radius)}function M(e,t,n,r){b(e,t,n,r,o.sH.radius)}function w(e,t,n,r){b(e,t,n,r,o.$O.radius)}function x(e,t,n,i,s){const o=e[t],l=e[t+1],a=e[t+2]??0,u=Math.sqrt(o*o+l*l+a*a),c=(0,r.YN)(a/(0===u?1:u)),p=Math.atan2(l,o);n[i++]=O*p,n[i++]=O*c,n[i]=u-s}function I(e,t,n,r){x(e,t,n,r,o.Sw.radius)}function C(e,t,n,r){x(e,t,n,r,o.sH.radius)}function A(e,t,n,r){x(e,t,n,r,o.$O.radius)}function S(e,t,n,r){!function(e,t,n,r,i){const s=E*e[t],o=E*e[t+1],l=e[t+2]??0,a=Math.sin(o),u=Math.cos(o),c=i.radius/Math.sqrt(1-i.eccentricitySquared*a*a);n[r++]=(c+l)*u*Math.cos(s),n[r++]=(c+l)*u*Math.sin(s),n[r++]=(c*(1-i.eccentricitySquared)+l)*a}(e,t,n,r,o.$O)}function _(e,t,n,r){const i=l.TP,s=e[t],a=e[t+1],u=e[t+2]??0;let c,p,h,f,d,m,y,g,b,v,M,w,x,I,C,A,S,_,T,E,P;c=Math.abs(u),p=s*s+a*a,h=Math.sqrt(p),f=p+u*u,d=Math.sqrt(f),E=Math.atan2(a,s),m=u*u/f,y=p/f,I=i.a2/d,C=i.a3-i.a4/d,y>.3?(g=c/d*(1+y*(i.a1+I+m*C)/d),T=Math.asin(g),v=g*g,b=Math.sqrt(1-v)):(b=h/d*(1-m*(i.a5-I-y*C)/d),T=Math.acos(b),v=1-b*b,g=Math.sqrt(v)),M=1-o.$O.eccentricitySquared*v,w=o.$O.radius/Math.sqrt(M),x=i.a6*w,I=h-w*b,C=c-x*g,S=b*I+g*C,A=b*C-g*I,_=A/(x/M+S),T+=_,P=S+A*_/2,u<0&&(T=-T),n[r++]=O*E,n[r++]=O*T,n[r]=P}const T={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:f},E=(0,r.kU)(1),O=(0,r.KJ)(1),P=.5*Math.PI,R=o.$O.radius,N=R*Math.PI/180,Z=180/(R*Math.PI)},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>W,initializeProjection:()=>V,isEqualBaseGCS:()=>D,isLoaded:()=>R,isLoadedOrLoad:()=>N,isLoadedOrLoadFor:()=>Z,load:()=>j,project:()=>F,projectAsync:()=>B,projectExtent:()=>ie,projectMany:()=>U,projectMultipoint:()=>Q,projectOrLoad:()=>k,projectOrLoadMany:()=>q,projectPoint:()=>J,projectPolygon:()=>ne,projectPolyline:()=>ee,projectWithoutEngine:()=>K,requiresLoad:()=>L,test:()=>H,tryProject:()=>$,unload:()=>G});var r=n(49186),i=n(17676),s=n(62788),o=n(95488),l=n(51850),a=n(21276),u=n(73941),c=n(5443),p=n(91075),h=n(48526),f=n(86738),d=n(39829),m=n(82799),y=n(16930),g=n(98764),b=n(159),v=n(9762),M=n(49208);function w(e,t,n,r,i,s){return x[0]=e,x[1]=t,x[2]=n,(0,v.projectBuffer)(x,r,0,i,s,0)}const x=(0,l.vt)();var I=n(60408),C=n(21325),A=n(52006);let S=null,_=null,T=null,E=null,O={};const P=new o.I;function R(){return!!(_?.isLoaded()&&T?.isLoaded()&&E?.isLoaded())}function N(){return!!R()||((0,s.gc)(P),j(),!1)}function Z(e,t){return!e||!t||W(e,t)||N()}function L(e,t){return!W(e,t)&&!R()}async function j(e){null==S&&(S=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(_=e,_.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(T=e,T.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(E=e,E.load()))])),await S,(0,i.Te)(e),P.notify()}function F(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),U(e,e[0].spatialReference,t,n)):((0,a.f)(e),U([e],e.spatialReference,t,n)[0])}function U(e,t,n,r){if(null==t||null==n)return e;if(W(t,n,r))return e.map(e=>K(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return U(e.map(e=>K(e,t,y.A.WGS84)),y.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return U(e,t,y.A.WGS84).map(e=>K(e,y.A.WGS84,n));if(!R())throw new z;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:E.getTransformation(t,n,r.areaOfInterestExtent)||new b.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let i=O[e];i||(i=E.getTransformation(t,n)||new b.A,O[e]=i),r={geographicTransformation:i,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?_.executeMany(e,n,r):T.executeMany(e,n,r)}function $(e,t,n){try{return F(e,t,n)}catch(e){return null}}function k(e,t){const n=q([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function q(e,t,n){if(!R())for(const n of e)if(null!=n&&!(0,C.aI)(n.spatialReference,t)&&(0,C.fn)(n.spatialReference)&&(0,C.fn)(t)&&!W(n.spatialReference,t))return(0,s.gc)(P),{pending:j(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,C.aI)(e.spatialReference,t)?e:(0,C.fn)(e.spatialReference)&&(0,C.fn)(t)?F(e,t,n):null)}}class z extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function G(){S=null,_=null,T=null,E=null,O={}}const H={get loadPromise(){return S}};async function B(e,t,n){if((0,i.Te)(n),!e)return e;const r=q(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,i.Te)(n),B(e,t,n);const s=r.geometries??[];return Array.isArray(e)?s:s[0]}function W(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,C.aI)(e,t)||(0,C.fn)(e)&&(0,C.fn)(t)&&!!(0,M.jd)(e,t))}function D(e,t){if((0,C.aI)(e,t))return!0;if(!(0,C.fn)(e)||!(0,C.fn)(t))return!1;const n=(0,C.oT)(e)||(0,C.K8)(e)||(0,C.x1)(e),r=(0,C.oT)(t)||(0,C.K8)(t)||(0,C.x1)(t);return n&&r}async function V(e,t,n,r){if(R())return(0,i.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:i}of e)if(t&&n&&!W(t,n,i))return j(r)}else if(e&&t&&!W(e,t,n))return j(r);return(0,i.NO)(r)}function K(e,t,n){return e?(0,I.fT)(e)?Y(e,t,new f.A,n,0):(0,I.ZC)(e)?se(e,t,new c.A,n,0):(0,I.Bi)(e)?re(e,t,new d.A,n,0):(0,I.Rg)(e)?te(e,t,new m.A,n,0):(0,I.U9)(e)?X(e,t,new h.A,n,0):null:null}function J(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=Y(e,e.spatialReference,t,n,r)}function Y(e,t,n,r,i){ue[0]=e.x,ue[1]=e.y;const s=e.z;return ue[2]=void 0!==s?s:i,(0,v.projectBuffer)(ue,t,0,ue,r,0)?(n.x=ue[0],n.y=ue[1],n.spatialReference=r,void 0!==s||(0,u.xP)(r)?(n.z=ue[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function Q(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=X(e,e.spatialReference,t,n,r)}function X(e,t,n,r,i){const{points:s,hasZ:o,hasM:l}=e,a=[],u=s.length,c=[];for(const e of s)c.push(e[0],e[1],o?e[2]:i);if(!(0,v.projectBuffer)(c,t,0,c,r,0,u))return null;const p=ae(o,r);for(let e=0;e<u;++e){const t=3*e,n=c[t],r=c[t+1];p&&l?a.push([n,r,c[t+2],s[e][3]]):p?a.push([n,r,c[t+2]]):l?a.push([n,r,s[e][2]]):a.push([n,r])}return n.points=a,n.spatialReference=r,n.hasZ=o,n.hasM=l,n}function ee(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,r)}function te(e,t,n,r,i){const{curvePaths:s,paths:o,hasZ:l,hasM:a}=e;if(!(s?le(s,l??!1,a??!1,t,n.curvePaths=[],r,i):oe(o,l??!1,a??!1,t,n.paths,r,i)))return null;const u=ae(l,r);return n.spatialReference=r,n.hasZ=u,n.hasM=a,n}function ne(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=re(e,e.spatialReference,t,n,r)}function re(e,t,n,r,i){const{curveRings:s,rings:o,hasZ:l,hasM:a}=e;return(s?le(s,l??!1,a??!1,t,n.curveRings=[],r,i):oe(o,l??!1,a??!1,t,n.rings,r,i))?(n.spatialReference=r,n.hasZ=ae(l,r),n.hasM=a,n):null}function ie(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=se(e,e.spatialReference,t,n,r)}function se(e,t,n,r,i){const{xmin:s,ymin:o,xmax:l,ymax:a,hasZ:u,hasM:c}=e;if(!w(s,o,u?e.zmin:i,t,ue,r))return null;const p=ae(u,r);return n.xmin=ue[0],n.ymin=ue[1],p&&(n.zmin=ue[2]),w(l,a,u?e.zmax:i,t,ue,r)?(n.xmax=ue[0],n.ymax=ue[1],p&&(n.zmax=ue[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function oe(e,t,n,r,i,s,o=0){const l=new Array;for(const n of e)for(const e of n)l.push(e[0],e[1],t?e[2]:o);if(!(0,v.projectBuffer)(l,r,0,l,s,0))return!1;let a=0;i.length=0;const u=t?3:2,c=ae(t,s);for(const t of e){const e=new Array;for(const r of t){const t=l.slice(a,a+=3);c||t.pop(),n&&t.push(r[u]),e.push(t)}i.push(e)}return!0}function le(e,t,n,r,i,s,o=0){const l=new Array;for(const n of e)for(const e of n){if((0,A.FG)(e))return!1;if((0,A.aO)(e)){const[n,r]=e.c;l.push(n[0],n[1],t?n[2]:o,r[0],r[1],o);continue}if((0,A.n1)(e)){const[n,r,i]=e.b;l.push(n[0],n[1],t?n[2]:o,r[0],r[1],o,i[0],i[1],o);continue}const n=e;l.push(n[0],n[1],t?n[2]:o)}if(!(0,v.projectBuffer)(l,r,0,l,s,0))return!1;let a=0;i.length=0;const u=t?3:2,c=ae(t,s);for(const t of e){const e=new Array;for(const r of t){const t=l.slice(a,a+=3);if(c||t.pop(),n&&t.push((0,A.yP)(r)[u]),(0,A.FG)(r))return!1;if((0,A.aO)(r)){const n=l[a++],r=l[a++];++a,e.push({c:[t,[n,r]]});continue}if((0,A.n1)(r)){const n=l[a++],r=l[a++];++a;const i=l[a++],s=l[a++];++a,e.push({b:[t,[n,r],[i,s]]});continue}e.push(t)}i.push(e)}return!0}function ae(e,t){return e||(0,u.xP)(t)||(0,C.aI)(t,g.Y0)}const ue=(0,l.vt)()},98764(e,t,n){n.d(t,{GD:()=>o,Y0:()=>u,lO:()=>c});var r=n(73941),i=n(16930),s=n(21325);const o=new i.A(r.fv),l=new i.A(r.FY),a=new i.A(r.LJ),u=new i.A(r.Ro);function c(e){const t=p.get(e);if(t)return t;let n=o;if(e)if(e===l)n=l;else if(e===a)n=a;else{const t=e.wkid,r=e.latestWkid;if(null!=t||null!=r)(0,s.tl)(t)||(0,s.tl)(r)?n=l:((0,s.ZL)(t)||(0,s.ZL)(r))&&(n=a);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===h?n=l:e===f&&(n=a)}}}return p.set(e,n),n}const p=new Map,h=l.wkt.toUpperCase(),f=a.wkt.toUpperCase()},4197(e,t,n){n.d(t,{Vj:()=>a,cj:()=>l,jh:()=>s,l5:()=>o});var r=n(34275),i=n(9093);function s(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function o(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function l(e){return[...e]}function a(e){const t=(0,i.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},70328(e,t,n){n.d(t,{BI:()=>v,DC:()=>p,Ej:()=>f,Ie:()=>g,Jt:()=>b,Ne:()=>d,RF:()=>c,aI:()=>w,fA:()=>o,gE:()=>a,hZ:()=>y,iT:()=>h,is:()=>M,qv:()=>x,vI:()=>m,vY:()=>l,v_:()=>I,vt:()=>s,w1:()=>u}),n(35522);var r=n(5443),i=(n(19419),n(4197));function s(e=I){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t,n,r,i,o,l=s()){return l[0]=e,l[1]=t,l[2]=n,l[3]=r,l[4]=i,l[5]=o,l}function l(e,t=s()){return function(e,t,n,r=s()){return y(r,x),function(e,t,n=0,r=t.length/3){let i=e[0],s=e[1],o=e[2],l=e[3],a=e[4],u=e[5];for(let e=0;e<r;e++)i=Math.min(i,t[n+3*e]),s=Math.min(s,t[n+3*e+1]),o=Math.min(o,t[n+3*e+2]),l=Math.max(l,t[n+3*e]),a=Math.max(a,t[n+3*e+1]),u=Math.max(u,t[n+3*e+2]);e[0]=i,e[1]=s,e[2]=o,e[3]=l,e[4]=a,e[5]=u}(r,e,t,n),r}(e,0,e.length/3,t)}function a(e,t=(0,i.jh)(24)){const[n,r,s,o,l,a]=e;return t[0]=n,t[1]=r,t[2]=s,t[3]=n,t[4]=r,t[5]=a,t[6]=n,t[7]=l,t[8]=s,t[9]=n,t[10]=l,t[11]=a,t[12]=o,t[13]=r,t[14]=s,t[15]=o,t[16]=r,t[17]=a,t[18]=o,t[19]=l,t[20]=s,t[21]=o,t[22]=l,t[23]=a,t}function u(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new r.A(n?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function h(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function f(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function d(e,t,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function m(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function y(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function g(e){return e?y(e,x):s(x)}function b(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function v(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function M(e){return 6===e.length}function w(e,t,n){if(null==e||null==t)return e===t;if(!M(e)||!M(t))return!1;if(n){for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const x=[1/0,1/0,1/0,-1/0,-1/0,-1/0],I=[0,0,0,0,0,0];s()},34403(e,t,n){n.d(t,{TP:()=>o});var r=n(79258);Math.PI;const i=r.$O.radius,s=r.$O.eccentricitySquared,o={a1:i*s,a2:i*s*i*s,a3:i*s*s/2,a4:i*s*i*s*2.5,a5:i*s+i*s*s/2,a6:1-s};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius},83960(e,t,n){n.d(t,{X_:()=>s,oW:()=>l,zx:()=>o});var r=n(34727),i=n(86211);function s(e,t){const n=t||e.extent,r=e.width,s=(0,i.GA)(n?.spatialReference);return n&&r?n.width/r*s*i.dy*96:0}function o(e,t,n){return function(e,t){return 0===t||(0,r.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,r.Sp)(e,t)||e>t}(e,n)}function l(e,t){return(0,r.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},50498(e,t,n){n.d(t,{Ye:()=>p,gy:()=>c,iI:()=>f,yR:()=>h});var r=n(66552),i=n(5443),s=n(91075),o=n(48526),l=n(86738),a=n(39829),u=n(82799);const c=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),p=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),h={base:s.A,key:"type",typeMap:{extent:i.A,multipoint:o.A,point:l.A,polyline:u.A,polygon:a.A}},f=new r.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},55156(e,t,n){n.d(t,{I:()=>i,e:()=>r});const r=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&r in t?e[r]:void 0;var t}},51904(e,t,n){n.r(t),n.d(t,{default:()=>Ae});var r=n(5482),i=n(92602),s=n(52106),o=n(37838),l=n(11254),a=n(7762),u=n(38961),c=n(49186),p=n(66552),h=n(4718),f=n(25728),d=n(17676),m=n(36708),y=n(16494),g=n(84952),b=n(91429),v=n(56507),M=n(49422),w=n(5443),x=n(16930),I=n(83960),C=n(21325),A=n(4146),S=n(63074),_=n(34287),T=n(8303),E=n(54310),O=n(25036),P=n(82935),R=n(38458),N=n(60694),Z=n(10873),L=n(69622);const j={visible:"visibleSublayers"};let F=class extends L.A{constructor(e){super(e),this.scale=0}set layer(e){this._get("layer")!==e&&(this._set("layer",e),this.removeHandles("layer"),e&&this.addHandles([e.sublayers.on("change",()=>this.notifyChange("visibleSublayers")),e.on("wms-sublayer-update",e=>this.notifyChange(j[e.propertyName]))],"layer"))}get layers(){return this.visibleSublayers.filter(({name:e})=>e).map(({name:e})=>e).join()}get version(){this.commitProperty("layers");const e=this.layer;return e&&e.commitProperty("imageTransparency"),(this._get("version")||0)+1}get visibleSublayers(){const{layer:e,scale:t}=this,n=e?.sublayers,r=[],i=e=>{const{minScale:n,maxScale:s,sublayers:o,visible:l}=e;l&&(0===t||(0===n||t<=n)&&(0===s||t>=s))&&(o?o.forEach(i):r.push(e))};return n?.forEach(i),r}toJSON(){const{layer:e,layers:t}=this,{imageFormat:n,imageTransparency:r,version:i}=e;return{format:n,request:"GetMap",service:"WMS",styles:"",transparent:r?"TRUE":"FALSE",version:i,layers:t}}};(0,r.Cg)([(0,b.MZ)()],F.prototype,"layer",null),(0,r.Cg)([(0,b.MZ)({readOnly:!0})],F.prototype,"layers",null),(0,r.Cg)([(0,b.MZ)({type:Number})],F.prototype,"scale",void 0),(0,r.Cg)([(0,b.MZ)({readOnly:!0})],F.prototype,"version",null),(0,r.Cg)([(0,b.MZ)({readOnly:!0})],F.prototype,"visibleSublayers",null),F=(0,r.Cg)([(0,b.$K)("esri.layers.support.ExportWMSImageParameters")],F);var U,$=n(33446),k=n(4902),q=n(36005);let z=0,G=U=class extends((0,k.s)((0,f.M)(L.A))){constructor(e){super(e),this.description=null,this.dimensions=null,this.fullExtent=null,this.fullExtents=null,this.legendUrl=null,this.legendEnabled=!0,this.layer=null,this.maxScale=0,this.minScale=0,this.name=null,this.parent=null,this.popupEnabled=!1,this.queryable=!1,this.spatialReferences=null,this.title=null,this.addHandles([(0,m.on)(()=>this.sublayers,"after-add",({item:e})=>{e.parent=this,e.layer=this.layer},m.OH),(0,m.on)(()=>this.sublayers,"after-remove",({item:e})=>{e.layer=e.parent=null},m.OH),(0,m.wB)(()=>this.sublayers,(e,t)=>{if(t)for(const e of t)e.layer=e.parent=null;if(e)for(const t of e)t.parent=this,t.layer=this.layer},m.OH),(0,m.wB)(()=>this.layer,e=>{if(this.sublayers)for(const t of this.sublayers)t.layer=e},m.OH)])}get id(){return this._get("id")??z++}set id(e){this._set("id",e)}readLegendUrl(e,t){return t.legendUrl??t.legendURL??null}get effectiveScaleRange(){const{minScale:e,maxScale:t}=this;return{minScale:e,maxScale:t}}get sublayers(){return this._get("sublayers")}set sublayers(e){this._set("sublayers",e)}castSublayers(e){return(0,v.dp)(a.A.ofType(U),e)}set visible(e){this._setAndNotifyLayer("visible",e)}clone(){const e=new U;return this.hasOwnProperty("description")&&(e.description=this.description),this.hasOwnProperty("fullExtent")&&(e.fullExtent=this.fullExtent.clone()),this.hasOwnProperty("fullExtents")&&(e.fullExtents=this.fullExtents?.map(e=>e.clone())??null),this.hasOwnProperty("legendUrl")&&(e.legendUrl=this.legendUrl),this.hasOwnProperty("legendEnabled")&&(e.legendEnabled=this.legendEnabled),this.hasOwnProperty("layer")&&(e.layer=this.layer),this.hasOwnProperty("name")&&(e.name=this.name),this.hasOwnProperty("parent")&&(e.parent=this.parent),this.hasOwnProperty("queryable")&&(e.queryable=this.queryable),this.hasOwnProperty("sublayers")&&(e.sublayers=this.sublayers?.map(e=>e.clone())),this.hasOwnProperty("spatialReferences")&&(e.spatialReferences=this.spatialReferences?.map(e=>e)),this.hasOwnProperty("visible")&&(e.visible=this.visible),this.hasOwnProperty("title")&&(e.title=this.title),e}_setAndNotifyLayer(e,t){const n=this.layer;this._get(e)!==t&&(this._set(e,t),n&&n.emit("wms-sublayer-update",{propertyName:e,id:this.id}))}};(0,r.Cg)([(0,b.MZ)()],G.prototype,"description",void 0),(0,r.Cg)([(0,b.MZ)({readOnly:!0})],G.prototype,"dimensions",void 0),(0,r.Cg)([(0,b.MZ)({type:w.A,json:{name:"extent"}})],G.prototype,"fullExtent",void 0),(0,r.Cg)([(0,b.MZ)()],G.prototype,"fullExtents",void 0),(0,r.Cg)([(0,b.MZ)({type:Number,json:{write:{enabled:!1,overridePolicy:()=>({ignoreOrigin:!0,enabled:!0})}}})],G.prototype,"id",null),(0,r.Cg)([(0,b.MZ)({type:String,json:{name:"legendUrl",write:{ignoreOrigin:!0}}})],G.prototype,"legendUrl",void 0),(0,r.Cg)([(0,q.w)("legendUrl",["legendUrl","legendURL"])],G.prototype,"readLegendUrl",null),(0,r.Cg)([(0,b.MZ)({type:Boolean,json:{name:"showLegend",origins:{"web-map":{read:!1,write:!1},"web-scene":{read:!1,write:!1}}}})],G.prototype,"legendEnabled",void 0),(0,r.Cg)([(0,b.MZ)()],G.prototype,"layer",void 0),(0,r.Cg)([(0,b.MZ)()],G.prototype,"maxScale",void 0),(0,r.Cg)([(0,b.MZ)()],G.prototype,"minScale",void 0),(0,r.Cg)([(0,b.MZ)({readOnly:!0})],G.prototype,"effectiveScaleRange",null),(0,r.Cg)([(0,b.MZ)({type:String,json:{write:{ignoreOrigin:!0}}})],G.prototype,"name",void 0),(0,r.Cg)([(0,b.MZ)()],G.prototype,"parent",void 0),(0,r.Cg)([(0,b.MZ)({type:Boolean,json:{read:{source:"showPopup"},write:{ignoreOrigin:!0,target:"showPopup"}}})],G.prototype,"popupEnabled",void 0),(0,r.Cg)([(0,b.MZ)({type:Boolean,json:{write:{ignoreOrigin:!0}}})],G.prototype,"queryable",void 0),(0,r.Cg)([(0,b.MZ)()],G.prototype,"sublayers",null),(0,r.Cg)([(0,b.wg)("sublayers")],G.prototype,"castSublayers",null),(0,r.Cg)([(0,b.MZ)({type:[Number],json:{read:{source:"spatialReferences"}}})],G.prototype,"spatialReferences",void 0),(0,r.Cg)([(0,b.MZ)({type:String,json:{write:{ignoreOrigin:!0}}})],G.prototype,"title",void 0),(0,r.Cg)([(0,b.MZ)({type:Boolean,value:!0,json:{read:{source:"defaultVisibility"}}})],G.prototype,"visible",null),G=U=(0,r.Cg)([(0,b.$K)("esri.layers.support.WMSSublayer")],G);var H=n(4576),B=n(92647);const W={84:4326,83:4269,27:4267};function D(e){if(!e)return null;const t={idCounter:-1};"string"==typeof e&&(e=(new DOMParser).parseFromString(e,"text/xml"));const n=e.documentElement;if("ServiceExceptionReport"===n.nodeName){const e=Array.prototype.slice.call(n.childNodes).map(e=>e.textContent).join("\r\n");throw new c.A("wmslayer:wms-capabilities-xml-is-not-valid","The server returned errors when the WMS capabilities were requested.",e)}const r=Y("Capability",n),i=Y("Service",n),s=r&&Y("Request",r);if(!r||!i||!s)return null;const o=Y("Layer",r);if(!o)return null;const l="WMS_Capabilities"===n.nodeName||"WMT_MS_Capabilities"===n.nodeName?n.getAttribute("version"):"1.3.0",a=X("Title",i,"")||X("Name",i,""),u=X("AccessConstraints",i,""),p=/^none$/i.test(u)?"":u,h=X("Abstract",i,""),f=parseInt(X("MaxWidth",i,"5000"),10),d=parseInt(X("MaxHeight",i,"5000"),10),m=ne(s,"GetMap"),y=te(s,"GetMap"),g=ie(o,l,t);if(!g)return null;let b,v=0;const M=Array.prototype.slice.call(r.childNodes),w=g.sublayers??[],x=e=>{null!=e&&w.push(e)};M.forEach(e=>{"Layer"===e.nodeName&&(0===v?b=e:1===v?(g.name&&(g.name="",x(ie(b,l,t))),x(ie(e,l,t))):x(ie(e,l,t)),v++)});const I=g.sublayers??[],C=g.fullExtents??[];0===I.length&&I.push(g),g.extent??=I[0].extent;const A=g.spatialReferences.length>0?g.spatialReferences:V(g),S=te(s,"GetFeatureInfo"),_=S?ne(s,"GetFeatureInfo"):null,T=K(I),E=g.minScale||0,O=g.maxScale||0,P=g.dimensions??[],R=T.reduce((e,t)=>e.concat(t.dimensions??[]),[]),N=P.concat(R).filter(oe);let Z=null;if(N.length){const e=N.map(e=>{const{extent:t}=e;return function(e){return Array.isArray(e)&&e.length>0&&e[0]instanceof Date}(t)?t.map(e=>e.getTime()):t?.map(e=>[e.min.getTime(),e.max.getTime()])}).flat(2).filter(H.Ru),{start:t,end:n}=e.reduce((e,t)=>({start:Math.min(e.start,t),end:Math.max(e.end,t)}),{start:1/0,end:-1/0});Z={startTimeField:null,endTimeField:null,trackIdField:void 0,timeExtent:[t,n]}}return{copyright:p,description:h,dimensions:P,extent:g.extent,fullExtents:C,featureInfoFormats:_,featureInfoUrl:S,mapUrl:y,maxWidth:f,maxHeight:d,maxScale:O,minScale:E,layers:T,spatialReferences:A,supportedImageFormatTypes:m,timeInfo:Z,title:a,version:l}}function V(e){if(e.spatialReferences.length>0)return e.spatialReferences;if(e.sublayers)for(const t of e.sublayers){const e=V(t);if(e.length>0)return e}return[]}function K(e){let t=[];for(const n of e)t.push(n),n.sublayers?.length&&(t=t.concat(K(n.sublayers)),delete n.sublayers);return t}function J(e,t,n){return t.getAttribute(e)??n}function Y(e,t){for(let n=0;n<t.childNodes.length;n++){const r=t.childNodes[n];if(se(r)&&r.nodeName===e)return r}return null}function Q(e,t){if(null==t)return[];const n=[];for(let r=0;r<t.childNodes.length;r++){const i=t.childNodes[r];se(i)&&i.nodeName===e&&n.push(i)}return n}function X(e,t,n){return Y(e,t)?.textContent??n}function ee(e,t,n){const r=parseFloat(e.getAttribute("minx")??"0"),i=parseFloat(e.getAttribute("miny")??"0"),s=parseFloat(e.getAttribute("maxx")??"0"),o=parseFloat(e.getAttribute("maxy")??"0");return{xmin:n?isNaN(i)?-Number.MAX_VALUE:i:isNaN(r)?-Number.MAX_VALUE:r,ymin:n?isNaN(r)?-Number.MAX_VALUE:r:isNaN(i)?-Number.MAX_VALUE:i,xmax:n?isNaN(o)?Number.MAX_VALUE:o:isNaN(s)?Number.MAX_VALUE:s,ymax:n?isNaN(s)?Number.MAX_VALUE:s:isNaN(o)?Number.MAX_VALUE:o,spatialReference:{wkid:t}}}function te(e,t){const n=Y(t,e);if(n){const e=Y("DCPType",n);if(e){const t=Y("HTTP",e);if(t){const e=Y("Get",t);if(e){let t=function(e,t,n){const r=Y("OnlineResource",n);return r?J("xlink:href",r,null):null}(0,0,e);if(t){const e=t.indexOf("&");return-1!==e&&e===t.length-1&&(t=t.slice(0,-1)),function(e,t){const n=[],r=(0,g.An)(e);for(const e in r.query)r.query.hasOwnProperty(e)&&(t.includes(e.toLowerCase())||n.push(e+"="+r.query[e]));return r.path+(n.length?"?"+n.join("&"):"")}(t,["service","request"])}}}}}return null}function ne(e,t){const n=Q("Operation",e);if(!n.length)return Q("Format",Y(t,e)).map(({textContent:e})=>e).filter(H.Ru);const r=[];for(const e of n)if(e.getAttribute("name")===t){const t=Q("Format",e);for(const{textContent:e}of t)null!=e&&r.push(e)}return r}function re(e,t,n){const r=Y(t,e);if(!r)return n;const{textContent:i}=r;if(null==i||""===i)return n;const s=Number(i);return isNaN(s)?n:s}function ie(e,t,n){if(!e)return null;const r=e.getAttribute("queryable")?.toLowerCase(),i="1"===r||"true"===r,s={id:n.idCounter++,fullExtents:[],parentLayerId:null,queryable:i,spatialReferences:[],sublayers:null},o=Y("LatLonBoundingBox",e),l=Y("EX_GeographicBoundingBox",e),a=o?ee(o,4326):l?{xmin:parseFloat(X("westBoundLongitude",l,"0")),ymin:parseFloat(X("southBoundLatitude",l,"0")),xmax:parseFloat(X("eastBoundLongitude",l,"0")),ymax:parseFloat(X("northBoundLatitude",l,"0")),spatialReference:{wkid:4326}}:{xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};s.minScale=re(e,"MaxScaleDenominator",0),s.maxScale=re(e,"MinScaleDenominator",0);const u=["1.0.0","1.1.0","1.1.1"].includes(t)?"SRS":"CRS";return Array.prototype.slice.call(e.childNodes).forEach(e=>{if("Name"===e.nodeName)s.name=e.textContent||"";else if("Title"===e.nodeName)s.title=e.textContent||"";else if("Abstract"===e.nodeName)s.description=e.textContent||"";else if("BoundingBox"===e.nodeName){const n=e.getAttribute(u),r=n?.indexOf(":");if(r&&r>-1){let i=parseInt(n.slice(r+1),10);0===i||isNaN(i)||(i=W[i]??i);const o="1.3.0"===t?ee(e,i,(0,R.m)(i)):ee(e,i);o&&s.fullExtents&&s.fullExtents.push(o)}}else if(e.nodeName===u)(e.textContent?.split(" ")??[]).forEach(e=>{let t=NaN;if(e.includes(":")){const[n,r]=e.toUpperCase().split(":");"CRS"!==n&&"EPSG"!==n||(t=parseInt(r,10))}else t=parseInt(e,10);if(0!==t&&!isNaN(t)){const e=W[t]??t;s.spatialReferences.includes(e)||s.spatialReferences.push(e)}});else if("Style"!==e.nodeName||s.legendUrl){if("Layer"===e.nodeName){const r=ie(e,t,n);r&&(r.parentLayerId=s.id,s.sublayers||(s.sublayers=[]),s.sublayers.push(r))}}else{const t=Y("LegendURL",e);if(t){const e=Y("OnlineResource",t);e&&(s.legendUrl=e.getAttribute("xlink:href"))}}}),s.extent=a,s.dimensions=Q("Dimension",e).filter(e=>e.getAttribute("name")&&e.getAttribute("units")&&e.textContent).map(e=>{const t=e.getAttribute("name"),n=e.getAttribute("units"),r=e.textContent,i=e.getAttribute("unitSymbol")??void 0,s=e.getAttribute("default")??void 0,o="0"!==J("default",e,"0"),l="0"!==J("nearestValue",e,"0"),a="0"!==J("current",e,"0");return oe({name:t,units:n})?{name:"time",units:"ISO8601",extent:ue(r),default:ue(s),multipleValues:o,nearestValue:l,current:a}:function(e){return/^elevation$/i.test(e.name)&&/^(epsg|crs):\d+$/i.test(e.units)}({name:t,units:n})?{name:"elevation",units:n,extent:le(r),unitSymbol:i,default:le(s),multipleValues:o,nearestValue:l}:{name:t,units:n,extent:ae(r),unitSymbol:i,default:ae(s),multipleValues:o,nearestValue:l}}),s}function se(e){return e.nodeType===Node.ELEMENT_NODE}function oe(e){return/^time$/i.test(e.name)&&/^iso8601$/i.test(e.units)}function le(e){if(!e)return;const t=e.includes("/"),n=e.split(",");return t?n.map(e=>{const t=e.split("/");return t.length<2?null:{min:parseFloat(t[0]),max:parseFloat(t[1]),resolution:t.length>=3&&"0"!==t[2]?parseFloat(t[2]):void 0}}).filter(H.Ru):n.map(e=>parseFloat(e))}function ae(e){if(!e)return;const t=e.includes("/"),n=e.split(",");return t?n.map(e=>{const t=e.split("/");return t.length<2?null:{min:t[0],max:t[1],resolution:t.length>=3&&"0"!==t[2]?t[2]:void 0}}).filter(H.Ru):n}function ue(e){if(!e)return;const t=e.includes("/"),n=e.split(",");return t?n.map(e=>{const t=e.split("/");return t.length<2?null:{min:ce(t[0]),max:ce(t[1]),resolution:t.length>=3&&"0"!==t[2]?pe(t[2]):void 0}}).filter(H.Ru):n.map(e=>ce(e))}function ce(e){return B.c9.fromISO(e,{zone:B.mQ.utcInstance}).toJSDate()}function pe(e){const t=e.match(/(?:p(\d+y|\d+(?:\.|,)\d+y)?(\d+m|\d+(?:\.|,)\d+m)?(\d+d|\d+(?:\.|,)\d+d)?)?(?:t(\d+h|\d+(?:\.|,)\d+h)?(\d+m|\d+(?:\.|,)\d+m)?(\d+s|\d+(?:\.|,)\d+s)?)?/i);return t?{years:he(t[1]),months:he(t[2]),days:he(t[3]),hours:he(t[4]),minutes:he(t[5]),seconds:he(t[6])}:null}function he(e){if(!e)return 0;const t=e.match(/(?:\d+(?:\.|,)\d+|\d+)/);if(!t)return 0;const n=t[0].replace(",",".");return Number(n)}function fe(e){return e.toISOString().replace(/\.[0-9]{3}/,"")}function de(e){if(!e||e.isAllTime||e.isEmpty)return;const{start:t,end:n}=e;return t&&t.getTime()===n?.getTime()?`${fe(t)}`:`${t?fe(t):"0000-01-01T00:00:00Z"}/${n?fe(n):"9999-12-31T23:59:59Z"}`}const me=new Set([102100,3857,102113,900913]),ye=new Set([3395,54004]);var ge=n(79677),be=n(10184),ve=n(43937);const Me=new p.J({bmp:"image/bmp",gif:"image/gif",jpg:"image/jpeg",png:"image/png",svg:"image/svg+xml"},{ignoreUnknown:!1});function we(e){return"text/html"===e}function xe(e){return"text/plain"===e}let Ie=class extends((0,S.dM)((0,P.e)((0,E.J)((0,O.j)((0,_.q)((0,T.A)((0,f.M)(A.A)))))))){constructor(...e){super(...e),this.allSublayers=new u.A({getCollections:()=>[this.sublayers],getChildrenFunction:e=>e.sublayers}),this.customParameters=null,this.customLayerParameters=null,this.copyright=null,this.description=null,this.dimensions=null,this.fullExtent=null,this.fullExtents=null,this.featureInfoFormats=null,this.featureInfoUrl=null,this.fetchFeatureInfoFunction=null,this.imageFormat=null,this.imageMaxHeight=2048,this.imageMaxWidth=2048,this.imageTransparency=!0,this.legendEnabled=!0,this.mapUrl=null,this.isReference=null,this.operationalLayerType="WMS",this.spatialReference=null,this.spatialReferences=null,this.sublayers=null,this.type="wms",this.version=null,this.addHandles([(0,m.on)(()=>this.sublayers,"after-add",({item:e})=>{e.parent=e.layer=this},m.OH),(0,m.on)(()=>this.sublayers,"after-remove",({item:e})=>{e.layer=e.parent=null},m.OH),(0,m.wB)(()=>this.sublayers,(e,t)=>{if(t)for(const e of t)e.layer=e.parent=null;if(e)for(const t of e)t.parent=t.layer=this},m.OH)])}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}destroy(){this.allSublayers.destroy()}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["WMS"]},e).catch(d.QP).then(()=>this._fetchService(t)).then(()=>this._checkLayerValidity())),Promise.resolve(this)}get timeInfo(){return super.timeInfo}set timeInfo(e){super.timeInfo=e}readFullExtentFromItemOrMap(e,t){const n=t.extent;return n?new w.A({xmin:n[0][0],ymin:n[0][1],xmax:n[1][0],ymax:n[1][1]}):null}writeFullExtent(e,t){t.extent=[[e.xmin,e.ymin],[e.xmax,e.ymax]]}get featureInfoFormat(){return null==this.featureInfoFormats?null:this.featureInfoFormats.find(we)??this.featureInfoFormats.find(xe)??null}set featureInfoFormat(e){null==e?(this.revertToOrigin("featureInfoFormat","service"),this._clearOverride("featureInfoFormat")):(we(e)||xe(e))&&this._override("featureInfoFormat",e)}readImageFormat(e,t){const n=t.supportedImageFormatTypes;return n&&n.includes("image/png")?"image/png":n&&n[0]}readSpatialReferenceFromItemOrDocument(e,t){return new x.A(t.spatialReferences[0])}writeSpatialReferences(e,t){const n=this.spatialReference?.wkid;e&&n?(t.spatialReferences=e.filter(e=>e!==n),t.spatialReferences.unshift(n)):t.spatialReferences=e}readSublayersFromItemOrMap(e,t,n){return Ce(t.layers,n,t.visibleLayers)}readSublayers(e,t,n){return Ce(t.layers,n)}writeSublayers(e,t,n,r){t.layers=[];const i=new Map,s=e.flatten(({sublayers:e})=>e??[]);for(const e of s)if("number"==typeof e.parent?.id){const t=i.get(e.parent.id);null!=t?t.push(e.id):i.set(e.parent.id,[e.id])}for(const e of s){const n={sublayer:e,...r},s=e.write({parentLayerId:"number"==typeof e.parent?.id?e.parent.id:-1},n);if(i.has(e.id)&&(s.sublayerIds=i.get(e.id)),!e.sublayers&&e.name){const r=e.write({},n);delete r.id,t.layers.push(r)}}t.visibleLayers=s.filter(({visible:e,sublayers:t})=>e&&!t).map(({name:e})=>e).toArray()}set url(e){if(!e)return void this._set("url",e);const{path:t,query:n}=(0,g.An)(e);for(const e in n)/^(request|service)$/i.test(e)&&delete n[e];const r=(0,g.a6)(t,n??{});this._set("url",r)}createExportImageParameters(e,t,n,r){const i=r?.pixelRatio??1,s=(0,I.X_)({extent:e,width:t})*i,o=new F({layer:this,scale:s}),{xmin:l,ymin:a,xmax:u,ymax:c,spatialReference:p}=e,h=function(e,t){let n=e.wkid;return null==t?n:(null!=n&&t.includes(n)||!e.latestWkid||(n=e.latestWkid),null!=n&&me.has(n)?t.find(e=>me.has(e))||t.find(e=>ye.has(e))||102100:n)}(p,this.spatialReferences),f="1.3.0"===this.version&&(0,R.m)(h)?`${a},${l},${c},${u}`:`${l},${a},${u},${c}`,d=o.toJSON(),m="1.3.0"===this.version?"crs":"srs";return{bbox:f,[m]:null==h||isNaN(h)?void 0:"EPSG:"+h,...d}}async fetchImage(e,t,n,r){const i=this.mapUrl,s=this.createExportImageParameters(e,t,n,r);if(!s.layers){const e=document.createElement("canvas");return e.width=t,e.height=n,e}const o=de(r?.timeExtent),a={responseType:"image",query:this._mixCustomParameters({width:t,height:n,...s,time:o,...this.refreshParameters}),signal:r?.signal};return(0,l.A)(i??"",a).then(e=>e.data)}async fetchImageBitmap(e,t,n,r){const i=this.mapUrl??"",s=this.createExportImageParameters(e,t,n,r);if(!s.layers){const e=document.createElement("canvas");return e.width=t,e.height=n,e}const o=de(r?.timeExtent),a={responseType:"blob",query:this._mixCustomParameters({width:t,height:n,...s,time:o,...this.refreshParameters}),signal:r?.signal},{data:u}=await(0,l.A)(i,a);return(0,$.m)(u,i,r?.signal)}fetchFeatureInfo(e,t,n,r,i){const s=(0,I.X_)({extent:e,width:t}),o=function(e){const t=e.filter(e=>e.popupEnabled&&e.name&&e.queryable);return t.length?t.map(({name:e})=>e).join():null}(new F({layer:this,scale:s}).visibleSublayers);if(null==this.featureInfoUrl||null==o)return Promise.resolve([]);if(null==this.fetchFeatureInfoFunction&&null==this.featureInfoFormat)return Promise.resolve([]);const l="1.3.0"===this.version?{I:r,J:i}:{x:r,y:i},a={query_layers:o,request:"GetFeatureInfo",info_format:this.featureInfoFormat,feature_count:25,width:t,height:n,...l},u={...this.createExportImageParameters(e,t,n),...a},c=this._mixCustomParameters(u);return null!=this.fetchFeatureInfoFunction?this.fetchFeatureInfoFunction(c):this._defaultFetchFeatureInfoFunction((0,g.a6)(this.featureInfoUrl,c))}findSublayerById(e){return this.allSublayers.find(t=>t.id===e)}findSublayerByName(e){return this.allSublayers.find(t=>t.name===e)}serviceSupportsSpatialReference(e){return(0,N.bd)(this.url)||null!=this.spatialReferences&&this.spatialReferences.some(t=>{const n=900913===t?x.A.WebMercator:new x.A({wkid:t});return(0,C.aI)(n,e)})}_defaultFetchFeatureInfoFunction(e){const t=document.createElement("iframe");t.src=(0,g.yM)(y.W5.sanitizeUrl((0,g.s2)(e))),t.style.border="none",t.style.margin="0",t.style.width="100%",t.setAttribute("sandbox","");const n=new o.A({title:this.title,content:t}),r=new s.A({sourceLayer:this,popupTemplate:n});return Promise.resolve([r])}async _fetchService(e){if(!this.resourceInfo&&this.parsedUrl?.path){const{path:t,query:n}=this.parsedUrl,{data:r}=await(0,l.A)(t,{query:{SERVICE:"WMS",REQUEST:"GetCapabilities",...n,...this.customParameters},responseType:"xml",signal:e});this.resourceInfo=D(r)}if(this.parsedUrl){const e=new g.s0(this.parsedUrl.path),{httpsDomains:t}=i.A.request;"https"!==e.scheme||e.port&&"443"!==e.port||!e.host||t.includes(e.host)||t.push(e.host)}this.read(this.resourceInfo,{origin:"service"})}_checkLayerValidity(){if(!this.allSublayers.length)throw new c.A("wmslayer:empty-layer","The layer doesn't have any sublayer")}_mixCustomParameters(e){if(!this.customLayerParameters&&!this.customParameters)return e;const t={...this.customParameters,...this.customLayerParameters};for(const n in t)e[n.toLowerCase()]=t[n];return e}};function Ce(e,t,n){e=e??[];const r=new Map;e.every(e=>null==e.id)&&(e=(0,h.o8)(e)).forEach((e,t)=>e.id=t);for(const i of e){const e=new G;e.read(i,t),n&&!n.includes(e.name)&&(e.visible=!1),r.set(e.id,e)}const i=[];for(const t of e){const e=null!=t.id?r.get(t.id):null;if(e)if(null!=t.parentLayerId&&t.parentLayerId>=0){const n=r.get(t.parentLayerId);if(!n)continue;n.sublayers||(n.sublayers=new a.A),n.sublayers.push(e)}else i.push(e)}return i}(0,r.Cg)([(0,b.MZ)({type:ge.A})],Ie.prototype,"timeExtent",void 0),(0,r.Cg)([(0,b.MZ)({type:be.A})],Ie.prototype,"timeOffset",void 0),(0,r.Cg)([(0,b.MZ)({readOnly:!0})],Ie.prototype,"allSublayers",void 0),(0,r.Cg)([(0,b.MZ)({json:{type:Object,write:!0}})],Ie.prototype,"customParameters",void 0),(0,r.Cg)([(0,b.MZ)({json:{type:Object,write:!0}})],Ie.prototype,"customLayerParameters",void 0),(0,r.Cg)([(0,b.MZ)({type:String,json:{write:!0}})],Ie.prototype,"copyright",void 0),(0,r.Cg)([(0,b.MZ)()],Ie.prototype,"description",void 0),(0,r.Cg)([(0,b.MZ)({readOnly:!0})],Ie.prototype,"dimensions",void 0),(0,r.Cg)([(0,b.MZ)({json:{type:[[Number]],read:{source:"extent"},write:{target:"extent"},origins:{"web-document":{write:{ignoreOrigin:!0}},"portal-item":{write:{ignoreOrigin:!0}}}}})],Ie.prototype,"fullExtent",void 0),(0,r.Cg)([(0,q.w)(["web-document","portal-item"],"fullExtent",["extent"])],Ie.prototype,"readFullExtentFromItemOrMap",null),(0,r.Cg)([(0,ve.K)(["web-document","portal-item"],"fullExtent",{extent:{type:[[Number]]}})],Ie.prototype,"writeFullExtent",null),(0,r.Cg)([(0,b.MZ)({type:[w.A]})],Ie.prototype,"fullExtents",void 0),(0,r.Cg)([(0,b.MZ)({type:String,json:{write:{ignoreOrigin:!0}}})],Ie.prototype,"featureInfoFormat",null),(0,r.Cg)([(0,b.MZ)({type:[String],readOnly:!0})],Ie.prototype,"featureInfoFormats",void 0),(0,r.Cg)([(0,b.MZ)({type:String,json:{write:{ignoreOrigin:!0}}})],Ie.prototype,"featureInfoUrl",void 0),(0,r.Cg)([(0,b.MZ)()],Ie.prototype,"fetchFeatureInfoFunction",void 0),(0,r.Cg)([(0,b.MZ)({type:String,json:{origins:{"web-document":{default:"image/png",type:Me.jsonValues,read:{reader:Me.read,source:"format"},write:{writer:Me.write,target:"format"}}}}})],Ie.prototype,"imageFormat",void 0),(0,r.Cg)([(0,q.w)("imageFormat",["supportedImageFormatTypes"])],Ie.prototype,"readImageFormat",null),(0,r.Cg)([(0,b.MZ)({type:Number,json:{read:{source:"maxHeight"},write:{target:"maxHeight"}}})],Ie.prototype,"imageMaxHeight",void 0),(0,r.Cg)([(0,b.MZ)({type:Number,json:{read:{source:"maxWidth"},write:{target:"maxWidth"}}})],Ie.prototype,"imageMaxWidth",void 0),(0,r.Cg)([(0,b.MZ)()],Ie.prototype,"imageTransparency",void 0),(0,r.Cg)([(0,b.MZ)(Z.fV)],Ie.prototype,"legendEnabled",void 0),(0,r.Cg)([(0,b.MZ)({type:["show","hide","hide-children"]})],Ie.prototype,"listMode",void 0),(0,r.Cg)([(0,b.MZ)({type:String,json:{write:{ignoreOrigin:!0}}})],Ie.prototype,"mapUrl",void 0),(0,r.Cg)([(0,b.MZ)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],Ie.prototype,"isReference",void 0),(0,r.Cg)([(0,b.MZ)({type:["WMS"]})],Ie.prototype,"operationalLayerType",void 0),(0,r.Cg)([(0,b.MZ)()],Ie.prototype,"resourceInfo",void 0),(0,r.Cg)([(0,b.MZ)({type:x.A,json:{origins:{service:{read:{source:"extent.spatialReference"}}},write:!1}})],Ie.prototype,"spatialReference",void 0),(0,r.Cg)([(0,q.w)(["web-document","portal-item"],"spatialReference",["spatialReferences"])],Ie.prototype,"readSpatialReferenceFromItemOrDocument",null),(0,r.Cg)([(0,b.MZ)({type:[v.jz],json:{read:!1,origins:{service:{read:!0},"web-document":{read:!1,write:{ignoreOrigin:!0}},"portal-item":{read:!1,write:{ignoreOrigin:!0}}}}})],Ie.prototype,"spatialReferences",void 0),(0,r.Cg)([(0,ve.K)(["web-document","portal-item"],"spatialReferences")],Ie.prototype,"writeSpatialReferences",null),(0,r.Cg)([(0,b.MZ)({type:a.A.ofType(G),json:{write:{target:"layers",overridePolicy(e,t,n){if(function(e,t){return e.some(e=>{for(const n in e)if((0,M.R)(e,n,null,t))return!0;return!1})}(this.allSublayers,n))return{ignoreOrigin:!0}}}}})],Ie.prototype,"sublayers",void 0),(0,r.Cg)([(0,q.w)(["web-document","portal-item"],"sublayers",["layers","visibleLayers"])],Ie.prototype,"readSublayersFromItemOrMap",null),(0,r.Cg)([(0,q.w)("service","sublayers",["layers"])],Ie.prototype,"readSublayers",null),(0,r.Cg)([(0,ve.K)("sublayers",{layers:{type:[G]},visibleLayers:{type:[String]}})],Ie.prototype,"writeSublayers",null),(0,r.Cg)([(0,b.MZ)({json:{read:!1},readOnly:!0,value:"wms"})],Ie.prototype,"type",void 0),(0,r.Cg)([(0,b.MZ)(Z.OZ)],Ie.prototype,"url",null),(0,r.Cg)([(0,b.MZ)({type:String,json:{write:{ignoreOrigin:!0}}})],Ie.prototype,"version",void 0),Ie=(0,r.Cg)([(0,b.$K)("esri.layers.WMSLayer")],Ie);const Ae=Ie},54339(e,t,n){function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const n=[];for(const r of t.fieldNames)n.push(e.attributes[r]??null);return JSON.stringify(n)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const n=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(n)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}n.d(t,{W:()=>r,r:()=>i})},8303(e,t,n){n.d(t,{A:()=>w});var r=n(5482),i=n(92602),s=n(70333),o=n(11254),l=n(60999),a=n(49186),u=n(53966),c=n(97768),p=n(17676),h=n(84952),f=n(91429),d=n(77548),m=n(20655),y=n(80812),g=n(41318),b=n(10407),v=n(36005),M=n(43937);const w=e=>{const t=e;let w=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,c.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,n){if(t.itemId)return new y.default({id:t.itemId,portal:n?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:r}=await n.e(1204).then(n.bind(n,41204));return(0,p.Te)(t),await r({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,p.zf)(e)||u.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,p.QP)(e),!0)))}async setUserPrivileges(e,t){if(!i.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:n,fullEdit:r},content:{updateItem:i}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",n),this._set("userHasFullEditingPrivileges",r),this._set("userHasUpdateItemPrivileges",i)}catch(e){(0,p.QP)(e)}}async _fetchUserPrivileges(e,t){let n=this.portalItem;if(!e||!n||!n.loaded||n.sourceUrl)return this._fetchFallbackUserPrivileges(t);const r=!s.id?.findCredential(this.url),i=e===n.id;if(i&&n.portal.user)return this._getUserPrivileges(n,r);let o,l;if(i)o=n.portal.url;else try{o=await(0,d.wI)(this.url,t)}catch(e){(0,p.QP)(e)}if(!o||!(0,h.b8)(o,n.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;l=await(s.id?.getCredential(`${o}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,p.QP)(e)}const a=!0,u=!1,c=!1;if(!l)return{features:{edit:a,fullEdit:u},content:{updateItem:c}};try{if(i?await n.reload():(n=new y.default({id:e,portal:{url:o}}),await n.load(t)),n.portal.user)return this._getUserPrivileges(n,r)}catch(e){(0,p.QP)(e)}return{features:{edit:a,fullEdit:u},content:{updateItem:c}}}_getUserPrivileges(e,t){const n=(0,b.It)(e);return t&&(n.features.edit=!0),n}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,p.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?s.id?.findCredential(this.url):null;if(!t)return!0;const n=x.credential===t?x.user:await this._fetchEditingUser(e);return x.credential=t,x.user=n,null==n?.privileges||n.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const n=s.id?.findServerInfo(this.url??"");if(!n?.owningSystemUrl)return null;const r=`${n.owningSystemUrl}/sharing/rest`,i=m.A.getDefault();if(i&&i.loaded&&(0,h.S8)(i.restUrl)===(0,h.S8)(r))return i.user;const a=`${r}/community/self`,u=null!=e?e.signal:null,c=await(0,l.Ke)((0,o.A)(a,{authMode:"no-prompt",query:{f:"json"},signal:u}));return c.ok?g.A.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const n=t?.portal,r=this.portalItem?.id&&(this.portalItem.portal||m.A.getDefault());return n&&r&&!(0,h.ut)(r.restUrl,n.restUrl)?(t.messages&&t.messages.push(new a.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,r.Cg)([(0,f.MZ)({type:y.default})],w.prototype,"portalItem",null),(0,r.Cg)([(0,v.w)("web-document","portalItem",["itemId"])],w.prototype,"readPortalItem",null),(0,r.Cg)([(0,M.K)("web-document","portalItem",{itemId:{type:String}})],w.prototype,"writePortalItem",null),(0,r.Cg)([(0,f.MZ)({clonable:!1})],w.prototype,"resourceReferences",void 0),(0,r.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],w.prototype,"userHasEditingPrivileges",void 0),(0,r.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],w.prototype,"userHasFullEditingPrivileges",void 0),(0,r.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],w.prototype,"userHasUpdateItemPrivileges",void 0),w=(0,r.Cg)([(0,f.$K)("esri.layers.mixins.PortalLayer")],w),w},x={credential:null,user:null}},82935(e,t,n){n.d(t,{B:()=>h,e:()=>f});var r=n(5482),i=n(91429),s=n(89317),o=n(30524),l=n(96184),a=n(73133),u=n(79677),c=n(10184),p=n(36005);const h={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:s.K}}},f=e=>{const t=e;let n=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const n=t.timeInfo.exportOptions;if(!n)return null;const r=n.timeOffset,i=a.j.fromJSON(n.timeOffsetUnits);return r&&i?new c.A({value:r,unit:i}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,o.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,r.Cg)([(0,i.MZ)({type:u.A,json:{write:!1}})],n.prototype,"timeExtent",void 0),(0,r.Cg)([(0,i.MZ)({type:c.A})],n.prototype,"timeOffset",void 0),(0,r.Cg)([(0,p.w)("service","timeOffset",["timeInfo.exportOptions"])],n.prototype,"readOffset",null),(0,r.Cg)([(0,i.MZ)({value:null,type:l.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],n.prototype,"timeInfo",null),(0,r.Cg)([(0,i.MZ)(h)],n.prototype,"useViewTime",void 0),n=(0,r.Cg)([(0,i.$K)("esri.layers.mixins.TemporalLayer")],n),n}},38458(e,t,n){n.d(t,{m:()=>i});const r=[[3819,3819],[3821,3824],[3889,3889],[3906,3906],[4001,4025],[4027,4036],[4039,4047],[4052,4055],[4074,4075],[4080,4081],[4120,4176],[4178,4185],[4188,4216],[4218,4289],[4291,4304],[4306,4319],[4322,4326],[4463,4463],[4470,4470],[4475,4475],[4483,4483],[4490,4490],[4555,4558],[4600,4646],[4657,4765],[4801,4811],[4813,4821],[4823,4824],[4901,4904],[5013,5013],[5132,5132],[5228,5229],[5233,5233],[5246,5246],[5252,5252],[5264,5264],[5324,5340],[5354,5354],[5360,5360],[5365,5365],[5370,5373],[5381,5381],[5393,5393],[5451,5451],[5464,5464],[5467,5467],[5489,5489],[5524,5524],[5527,5527],[5546,5546],[2044,2045],[2081,2083],[2085,2086],[2093,2093],[2096,2098],[2105,2132],[2169,2170],[2176,2180],[2193,2193],[2200,2200],[2206,2212],[2319,2319],[2320,2462],[2523,2549],[2551,2735],[2738,2758],[2935,2941],[2953,2953],[3006,3030],[3034,3035],[3038,3051],[3058,3059],[3068,3068],[3114,3118],[3126,3138],[3150,3151],[3300,3301],[3328,3335],[3346,3346],[3350,3352],[3366,3366],[3389,3390],[3416,3417],[3833,3841],[3844,3850],[3854,3854],[3873,3885],[3907,3910],[4026,4026],[4037,4038],[4417,4417],[4434,4434],[4491,4554],[4839,4839],[5048,5048],[5105,5130],[5253,5259],[5269,5275],[5343,5349],[5479,5482],[5518,5519],[5520,5520],[20004,20032],[20064,20092],[21413,21423],[21473,21483],[21896,21899],[22171,22177],[22181,22187],[22191,22197],[25884,25884],[27205,27232],[27391,27398],[27492,27492],[28402,28432],[28462,28492],[30161,30179],[30800,30800],[31251,31259],[31275,31279],[31281,31290],[31466,31700]];function i(e){return null!=e&&r.some(([t,n])=>e>=t&&e<=n)}},96184(e,t,n){n.d(t,{A:()=>f});var r=n(5482),i=n(69540),s=n(25482),o=n(91429),l=n(79677),a=n(10184),u=n(56400),c=n(36005),p=n(43937);function h(e,t){return a.A.fromJSON({value:e,unit:t})}let f=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?l.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?h(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?h(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],f.prototype,"cumulative",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],f.prototype,"endField",void 0),(0,r.Cg)([(0,o.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"fullTimeExtent",void 0),(0,r.Cg)([(0,c.w)("fullTimeExtent",["timeExtent"])],f.prototype,"readFullTimeExtent",null),(0,r.Cg)([(0,p.K)("fullTimeExtent")],f.prototype,"writeFullTimeExtent",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"hasLiveData",void 0),(0,r.Cg)([(0,o.MZ)({type:a.A,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"interval",void 0),(0,r.Cg)([(0,c.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],f.prototype,"readInterval",null),(0,r.Cg)([(0,p.K)("interval")],f.prototype,"writeInterval",null),(0,r.Cg)([(0,o.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],f.prototype,"startField",void 0),(0,r.Cg)([(0,o.MZ)((0,u.P6)("timeReference",!0))],f.prototype,"timeZone",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"trackIdField",void 0),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],f.prototype,"useTime",void 0),(0,r.Cg)([(0,o.MZ)({type:[Date],json:{read:!1}})],f.prototype,"stops",void 0),f=(0,r.Cg)([(0,o.$K)("esri.layers.support.TimeInfo")],f)},33446(e,t,n){n.d(t,{C:()=>o,m:()=>s});var r=n(49186),i=n(17676);async function s(e,t,n){let s;try{s=await createImageBitmap(e)}catch(e){throw new r.A("request:server",`Unable to load ${t}`,{url:t,error:e})}return(0,i.Te)(n),s}async function o(e,t,n,s,o){let l;try{l=await createImageBitmap(e)}catch(e){throw new r.A("request:server",`Unable to load tile ${t}/${n}/${s}`,{error:e,level:t,row:n,col:s})}return(0,i.Te)(o),l}},10407(e,t,n){n.d(t,{It:()=>f,LG:()=>o,OM:()=>u,Sm:()=>c,Y:()=>l,bK:()=>a,mm:()=>h,sQ:()=>p});var r=n(91218),i=n(16930),s=n(28735);function o(e,t){if(!l(e,t)){const n=e.typeKeywords;n?n.push(t):e.typeKeywords=[t]}}function l(e,t){return!!e.typeKeywords?.includes(t)}function a(e){return l(e,h.HOSTED_SERVICE)}function u(e,t){const n=e.typeKeywords;if(n){const e=n.indexOf(t);e>-1&&n.splice(e,1)}}function c(e,t,n){n?o(e,t):u(e,t)}async function p(e){const t=e.clone().normalize();let n;if(t.length>1)for(const e of t)n?e.width>n.width&&(n=e):n=e;else n=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,s.ci)(e);const n=i.A.WGS84;return await(0,r.initializeProjection)(t,n),(0,r.project)(e,n)}(n)}const h={CHARTS:"Charts",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function f(e){const{portal:t,isOrgItem:n,itemControl:r}=e,i=t.user?.privileges;let s=!i||i.includes("features:user:edit"),o=!!n&&!!i?.includes("features:user:fullEdit");const l="update"===r||"admin"===r;return l?o=s=!0:o&&(s=!0),{features:{edit:s,fullEdit:o},content:{updateItem:l}}}},11831(e,t,n){n.d(t,{A:()=>u});var r,i=n(5482),s=n(25482),o=n(90629),l=n(91429),a=n(5760);let u=r=class extends s.o{constructor(e){super(e),this.decoration="none",this.family="sans-serif",this.style="normal",this.weight="normal"}get size(){return this._get("size")??9}set size(e){this._set("size",e)}castSize(e){return(0,o.cr)(e)}clone(){return new r({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,i.Cg)([(0,l.MZ)({type:a.h9,json:{default:"none",write:!0}})],u.prototype,"decoration",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"family",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:{overridePolicy:(e,t,n)=>({enabled:!n||!n.textSymbol3D})}}})],u.prototype,"size",null),(0,i.Cg)([(0,l.wg)("size")],u.prototype,"castSize",null),(0,i.Cg)([(0,l.MZ)({type:a._R,json:{default:"normal",write:!0}})],u.prototype,"style",void 0),(0,i.Cg)([(0,l.MZ)({type:a.NM,json:{default:"normal",write:!0}})],u.prototype,"weight",void 0),u=r=(0,i.Cg)([(0,l.$K)("esri.symbols.Font")],u)},68249(e,t,n){n.d(t,{A:()=>d});var r,i=n(5482),s=n(68197),o=n(4718),l=n(90629),a=n(91429),u=n(11831),c=n(20378),p=n(5760),h=n(93223),f=n(43937);let d=r=class extends c.A{constructor(...e){super(...e),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new u.A,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.angle=0,this.width=null,this.lineHeight=1}normalizeCtorArgs(e,t,n){if(e&&"string"!=typeof e)return e;const r={};return e&&(r.text=e),t&&(r.font=t),n&&(r.color=n),r}get haloSize(){return this._get("haloSize")??null}set haloSize(e){this._set("haloSize",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}get lineWidth(){return this._get("lineWidth")??192}set lineWidth(e){this._set("lineWidth",e)}writeLineWidth(e,t,n,r){r&&"string"!=typeof r?r.origin:t[n]=e}castLineWidth(e){return(0,l.cr)(e)}writeLineHeight(e,t,n,r){r&&"string"!=typeof r?r.origin:t[n]=e}clone(){return new r({angle:this.angle,backgroundColor:(0,o.o8)(this.backgroundColor),borderLineColor:(0,o.o8)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,o.o8)(this.color),font:this.font&&this.font.clone(),haloColor:(0,o.o8)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor?.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${this.haloColor?.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,i.Cg)([(0,a.MZ)({type:s.A,json:{write:!0}})],d.prototype,"backgroundColor",void 0),(0,i.Cg)([(0,a.MZ)({type:s.A,json:{write:!0}})],d.prototype,"borderLineColor",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0},cast:l.cr})],d.prototype,"borderLineSize",void 0),(0,i.Cg)([(0,a.MZ)({type:u.A,json:{write:!0}})],d.prototype,"font",void 0),(0,i.Cg)([(0,a.MZ)({...p.rM,json:{write:!0}})],d.prototype,"horizontalAlignment",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"kerning",void 0),(0,i.Cg)([(0,a.MZ)({type:s.A,json:{write:!0}})],d.prototype,"haloColor",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:l.cr,json:{write:!0}})],d.prototype,"haloSize",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"rightToLeft",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"rotated",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"text",void 0),(0,i.Cg)([(0,h.e)({esriTS:"text"},{readOnly:!0})],d.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({...p.x0,json:{write:!0}})],d.prototype,"verticalAlignment",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:l.cr,json:{write:!0}})],d.prototype,"xoffset",null),(0,i.Cg)([(0,a.MZ)({type:Number,cast:l.cr,json:{write:!0}})],d.prototype,"yoffset",null),(0,i.Cg)([(0,a.MZ)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],d.prototype,"angle",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],d.prototype,"width",void 0),(0,i.Cg)([(0,a.MZ)({type:Number})],d.prototype,"lineWidth",null),(0,i.Cg)([(0,f.K)("lineWidth")],d.prototype,"writeLineWidth",null),(0,i.Cg)([(0,a.wg)("lineWidth")],d.prototype,"castLineWidth",null),(0,i.Cg)([(0,a.MZ)(p.Tb)],d.prototype,"lineHeight",void 0),(0,i.Cg)([(0,f.K)("lineHeight")],d.prototype,"writeLineHeight",null),d=r=(0,i.Cg)([(0,a.$K)("esri.symbols.TextSymbol")],d)},5760(e,t,n){n.d(t,{NM:()=>l,Tb:()=>a,_R:()=>o,h9:()=>s,rM:()=>u,x0:()=>c,y7:()=>p});var r=n(34727),i=n(56507);const s=["none","underline","line-through"],o=["normal","italic","oblique"],l=["normal","lighter","bold","bolder"],a={type:Number,cast:e=>{const t=(0,i.GB)(e);return 0===t?1:(0,r.qE)(t,.1,4)},nonNullable:!0},u={type:["left","right","center"],nonNullable:!0},c={type:["baseline","top","middle","bottom"],nonNullable:!0},p=8}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4996],{83290(e,t,r){r.d(t,{P:()=>d,a:()=>c,g:()=>G,h:()=>l,i:()=>a,j:()=>y,l:()=>f,p:()=>B});var o=r(2741),n=r(44208);let i,s=null;function a(){return!!s}function f(){return i||(i=r.e(6187).then(r.bind(r,46187)).then(({default:e})=>e({locateFile:e=>(0,o.s)(`esri/geometry/support/${e}`)})).then(e=>{k(e)}),i)}const l={geogToProj(e,t,r){s.ensureCache.prepare();const o=D(r),n=r===o,i=s.ensureFloat64(o),a=s._pe_geog_to_proj(s.getPointer(e),t,i);return a&&b(r,t,i,n),a},projGeog(e,t,r,o){switch(o){case c.PE_TRANSFORM_P_TO_G:return l.projToGeog(e,t,r);case c.PE_TRANSFORM_G_TO_P:return l.geogToProj(e,t,r)}return 0},projToGeog:(e,t,r)=>l.projToGeogCenter(e,t,r,0),projToGeogCenter(e,t,r,o){s.ensureCache.prepare();const n=D(r),i=r===n,a=s.ensureFloat64(n),f=s._pe_proj_to_geog_center(s.getPointer(e),t,a,o);return f&&b(r,t,a,i),f}};class c{static init(){c.PE_BUFFER_MAX=s.PeDefs.prototype.PE_BUFFER_MAX,c.PE_NAME_MAX=s.PeDefs.prototype.PE_NAME_MAX,c.PE_MGRS_MAX=s.PeDefs.prototype.PE_MGRS_MAX,c.PE_USNG_MAX=s.PeDefs.prototype.PE_USNG_MAX,c.PE_DD_MAX=s.PeDefs.prototype.PE_DD_MAX,c.PE_DDM_MAX=s.PeDefs.prototype.PE_DDM_MAX,c.PE_DMS_MAX=s.PeDefs.prototype.PE_DMS_MAX,c.PE_UTM_MAX=s.PeDefs.prototype.PE_UTM_MAX,c.PE_PARM_MAX=s.PeDefs.prototype.PE_PARM_MAX,c.PE_TYPE_NONE=s.PeDefs.prototype.PE_TYPE_NONE,c.PE_TYPE_GEOGCS=s.PeDefs.prototype.PE_TYPE_GEOGCS,c.PE_TYPE_PROJCS=s.PeDefs.prototype.PE_TYPE_PROJCS,c.PE_TYPE_GEOGTRAN=s.PeDefs.prototype.PE_TYPE_GEOGTRAN,c.PE_TYPE_COORDSYS=s.PeDefs.prototype.PE_TYPE_COORDSYS,c.PE_TYPE_UNIT=s.PeDefs.prototype.PE_TYPE_UNIT,c.PE_TYPE_LINUNIT=s.PeDefs.prototype.PE_TYPE_LINUNIT,c.PE_STR_OPTS_NONE=s.PeDefs.prototype.PE_STR_OPTS_NONE,c.PE_STR_AUTH_NONE=s.PeDefs.prototype.PE_STR_AUTH_NONE,c.PE_STR_AUTH_TOP=s.PeDefs.prototype.PE_STR_AUTH_TOP,c.PE_STR_NAME_CANON=s.PeDefs.prototype.PE_STR_NAME_CANON,c.PE_STR_FMT_WKT=s.PeDefs.prototype.PE_STR_FMT_WKT,c.PE_STR_FMT_WKT2=s.PeDefs.prototype.PE_STR_FMT_WKT2,c.PE_PARM_X0=s.PeDefs.prototype.PE_PARM_X0,c.PE_PARM_ND=s.PeDefs.prototype.PE_PARM_ND,c.PE_TRANSFORM_1_TO_2=s.PeDefs.prototype.PE_TRANSFORM_1_TO_2,c.PE_TRANSFORM_2_TO_1=s.PeDefs.prototype.PE_TRANSFORM_2_TO_1,c.PE_TRANSFORM_P_TO_G=s.PeDefs.prototype.PE_TRANSFORM_P_TO_G,c.PE_TRANSFORM_G_TO_P=s.PeDefs.prototype.PE_TRANSFORM_G_TO_P,c.PE_HORIZON_RECT=s.PeDefs.prototype.PE_HORIZON_RECT,c.PE_HORIZON_POLY=s.PeDefs.prototype.PE_HORIZON_POLY,c.PE_HORIZON_LINE=s.PeDefs.prototype.PE_HORIZON_LINE,c.PE_HORIZON_DELTA=s.PeDefs.prototype.PE_HORIZON_DELTA}}let u=null;const _={},P={},p=e=>{const t=e.getType();switch(t){case c.PE_TYPE_GEOGCS:e=s.castObject(e,s.PeGeogcs);break;case c.PE_TYPE_PROJCS:e=s.castObject(e,s.PeProjcs);break;case c.PE_TYPE_GEOGTRAN:e=s.castObject(e,s.PeGeogtran);break;default:t&c.PE_TYPE_UNIT&&(e=s.castObject(e,s.PeUnit))}return e},d={initialize(){s.PeFactory.prototype.initialize(null)},coordsys:e=>d.factoryByType(c.PE_TYPE_COORDSYS,e),factoryByType(e,t){let r=null,o=_[e];if(o||(o={},_[e]=o),o.hasOwnProperty(String(t))&&(r=o[t],s.compare(r,s.NULL)&&(r=null)),!r){const n=s.PeFactory.prototype.factoryByType(e,t);s.compare(n,s.NULL)||(r=p(n),o[t]=r)}return r},fromString(e,t,r=!1){if(r)switch(e){case c.PE_TYPE_GEOGCS:case c.PE_TYPE_PROJCS:case c.PE_TYPE_COORDSYS:{const r=s.PeFactory.prototype.fromString(e,t);return s.compare(r,s.NULL)?null:p(r)}default:return null}let o=null,n=P[e];if(n||(n={},P[e]=n),n.hasOwnProperty(t)&&(o=n[t],s.compare(o,s.NULL)&&(o=null)),!o){const r=s.PeFactory.prototype.fromString(e,t);s.compare(r,s.NULL)||(o=p(r),n[t]=o)}return o},geogcs:e=>d.factoryByType(c.PE_TYPE_GEOGCS,e),geogtran:e=>d.factoryByType(c.PE_TYPE_GEOGTRAN,e),getCode:e=>s.PeFactory.prototype.getCode(e),projcs:e=>d.factoryByType(c.PE_TYPE_PROJCS,e),unit:e=>d.factoryByType(c.PE_TYPE_UNIT,e)};let E,m=null;const h={PE_GTLIST_OPTS_COMMON:0,init(){h.PE_GTLIST_OPTS_COMMON=s.PeGTlistExtended.prototype.PE_GTLIST_OPTS_COMMON,E=s._pe_getPeGTlistExtendedEntrySize()},getGTlist(e,t,r,o,n,i){let a=null;const f=new s.PeInteger(i);try{const l=s.PeGTlistExtended.prototype.getGTlist(e,t,r,o,n,f);if((i=f.val)&&(a=[l],i>1)){const e=s.getPointer(l);for(let t=1;t<i;t++)a.push(s.wrapPointer(e+E*t,s.PeGTlistExtendedEntry))}}finally{s.destroy(f)}return a}},T={destroy(e){if(e?.length){for(const t of e)w(t),t.getEntries().forEach(e=>{w(e);const t=e.getGeogtran();w(t),t.getParameters().forEach(w),[t.getGeogcs1(),t.getGeogcs2()].forEach(e=>{w(e);const t=e.getDatum();w(t),w(t.getSpheroid()),w(e.getPrimem()),w(e.getUnit())})});s.PeGTlistExtendedEntry.prototype.Delete(e[0])}}},y={geogToGeog(e,t,r,o,n){s.ensureCache.prepare();const i=D(r),a=r===i,f=s.ensureFloat64(i);let l=0;o&&(l=s.ensureFloat64(o));const c=s._pe_geog_to_geog(s.getPointer(e),t,f,l,n);return c&&b(r,t,f,a),c}},g={geodesicCoordinate(e,t,r,o,n,i,a,f){s.PeLineType.prototype.geodesic_coordinate(e,t,r,o,n,i,a,f)},geodeticCoordinate(e,t,r,o,n,i,a,f,l){s.PeLineType.prototype.geodetic_coordinate(e,t,r,o,n,i,a,f,l)},geodeticDistance(e,t,r,o,n,i,a,f,l,c){s.PeLineType.prototype.geodetic_distance(e,t,r,o,n,i,a,f,l,c)},greatEllipticDistance(e,t,r,o,n,i,a,f,l){s.PeLineType.prototype.great_elliptic_distance(e,t,r,o,n,i,a,f,l)}},S={phiToEta:(e,t)=>s.PeMath.prototype.phi_to_eta(e,t),etaToPhi:(e,t)=>s.PeMath.prototype.eta_to_phi(e,t),phiToPhig:(e,t)=>s.PeMath.prototype.phi_to_phig(e,t),q:(e,t,r)=>s.PeMath.prototype.q(e,t,r),q90:(e,t)=>s.PeMath.prototype.q90(e,t)},M=(e,t,r,o,n,i)=>{let a,f;switch(s.ensureCache.prepare(),e){case"dd":a=s._pe_geog_to_dd,f=c.PE_DD_MAX;break;case"ddm":a=s._pe_geog_to_ddm,f=c.PE_DDM_MAX;break;case"dms":a=s._pe_geog_to_dms,f=c.PE_DMS_MAX}let l=0;t&&(l=s.getPointer(t));const u=D(o),_=s.ensureFloat64(u),P=I(r,f),p=a(l,r,_,n,s.ensureInt32(P));if(p)for(let e=0;e<r;e++)i[e]=s.UTF8ToString(P[e]);return p},U=(e,t,r,o,n)=>{let i;switch(s.ensureCache.prepare(),e){case"dd":i=s._pe_dd_to_geog;break;case"ddm":i=s._pe_ddm_to_geog;break;case"dms":i=s._pe_dms_to_geog}let a=0;t&&(a=s.getPointer(t));const f=o.map(e=>s.ensureString(e)),l=s.ensureInt32(f),c=s.ensureFloat64(new Array(2*r)),u=i(a,r,l,c);return u&&b(n,r,c),u},O={geogToDms:(e,t,r,o,n)=>M("dms",e,t,r,o,n),dmsToGeog:(e,t,r,o)=>U("dms",e,t,r,o),geogToDdm:(e,t,r,o,n)=>M("ddm",e,t,r,o,n),ddmToGeog:(e,t,r,o)=>U("ddm",e,t,r,o),geogToDd:(e,t,r,o,n)=>M("dd",e,t,r,o,n),ddToGeog:(e,t,r,o)=>U("dd",e,t,r,o)};class A{static init(){A.PE_MGRS_STYLE_NEW=s.PeNotationMgrs.prototype.PE_MGRS_STYLE_NEW,A.PE_MGRS_STYLE_OLD=s.PeNotationMgrs.prototype.PE_MGRS_STYLE_OLD,A.PE_MGRS_STYLE_AUTO=s.PeNotationMgrs.prototype.PE_MGRS_STYLE_AUTO,A.PE_MGRS_180_ZONE_1_PLUS=s.PeNotationMgrs.prototype.PE_MGRS_180_ZONE_1_PLUS,A.PE_MGRS_ADD_SPACES=s.PeNotationMgrs.prototype.PE_MGRS_ADD_SPACES}static geogToMgrsExtended(e,t,r,o,n,i,a){s.ensureCache.prepare();let f=0;e&&(f=s.getPointer(e));const l=D(r),u=s.ensureFloat64(l),_=I(t,c.PE_MGRS_MAX),P=s.ensureInt32(_),p=s._pe_geog_to_mgrs_extended(f,t,u,o,n,i,P);if(p)for(let e=0;e<t;e++)a[e]=s.UTF8ToString(_[e]);return p}static mgrsToGeogExtended(e,t,r,o,n){s.ensureCache.prepare();let i=0;e&&(i=s.getPointer(e));const a=r.map(e=>s.ensureString(e)),f=s.ensureInt32(a),l=s.ensureFloat64(new Array(2*t)),c=s._pe_mgrs_to_geog_extended(i,t,f,o,l);return c&&b(n,t,l),c}}const R={geogToUsng(e,t,r,o,n,i,a){s.ensureCache.prepare();let f=0;e&&(f=s.getPointer(e));const l=D(r),u=s.ensureFloat64(l),_=I(t,c.PE_MGRS_MAX),P=s.ensureInt32(_),p=s._pe_geog_to_usng(f,t,u,o,n,i,P);if(p)for(let e=0;e<t;e++)a[e]=s.UTF8ToString(_[e]);return p},usngToGeog(e,t,r,o){s.ensureCache.prepare();let n=0;e&&(n=s.getPointer(e));const i=r.map(e=>s.ensureString(e)),a=s.ensureInt32(i),f=s.ensureFloat64(new Array(2*t)),l=s._pe_usng_to_geog(n,t,a,f);return l&&b(o,t,f),l}};class N{static init(){N.PE_UTM_OPTS_NONE=s.PeNotationUtm.prototype.PE_UTM_OPTS_NONE,N.PE_UTM_OPTS_ADD_SPACES=s.PeNotationUtm.prototype.PE_UTM_OPTS_ADD_SPACES,N.PE_UTM_OPTS_NS=s.PeNotationUtm.prototype.PE_UTM_OPTS_NS}static geogToUtm(e,t,r,o,n){s.ensureCache.prepare();let i=0;e&&(i=s.getPointer(e));const a=D(r),f=s.ensureFloat64(a),l=I(t,c.PE_UTM_MAX),u=s.ensureInt32(l),_=s._pe_geog_to_utm(i,t,f,o,u);if(_)for(let e=0;e<t;e++)n[e]=s.UTF8ToString(l[e]);return _}static utmToGeog(e,t,r,o,n){s.ensureCache.prepare();let i=0;e&&(i=s.getPointer(e));const a=r.map(e=>s.ensureString(e)),f=s.ensureInt32(a),l=s.ensureFloat64(new Array(2*t)),c=s._pe_utm_to_geog(i,t,f,o,l);return c&&b(n,t,l),c}}class G{static{this.cache=new Map}static init(){G.PE_PCSINFO_OPTION_NONE=s.PePCSInfo.prototype.PE_PCSINFO_OPTION_NONE,G.PE_PCSINFO_OPTION_DOMAIN=s.PePCSInfo.prototype.PE_PCSINFO_OPTION_DOMAIN,G.PE_POLE_OUTSIDE_BOUNDARY=s.PePCSInfo.prototype.PE_POLE_OUTSIDE_BOUNDARY,G.PE_POLE_POINT=s.PePCSInfo.prototype.PE_POLE_POINT}static generate(e,t=G.PE_PCSINFO_OPTION_DOMAIN){let r=null,o=null;return G.cache.has(e)&&(o=G.cache.get(e),o[t]&&(r=o[t])),r||(r=s.PePCSInfo.prototype.generate(e,t),o||(o=[],G.cache.set(e,o)),o[t]=r),r}}const C={versionString:()=>s.PeVersion.prototype.version_string()};function k(e){function t(e,t,r){e[t]=r(e[t])}s=e,c.init(),h.init(),A.init(),N.init(),G.init(),u=class extends s.PeDouble{constructor(e=NaN){super(e)}destroy(){s.destroy(this)}[Symbol.dispose](){this.destroy()}},m=class extends s.PeGCSExtent{destroy(){s.destroy(this)}[Symbol.dispose](){this.destroy()}};const r=[s.PeAngunit,s.PeDatum,s.PeGeogcs,s.PeGeogtran,s.PeObject,s.PeParameter,s.PePrimem,s.PeProjcs,s.PeSpheroid,s.PeUnit];for(const e of r)t(e.prototype,"getName",e=>function(){return e.call(this,new Array(c.PE_NAME_MAX))});for(const e of[s.PeGeogtran,s.PeProjcs])t(e.prototype,"getParameters",e=>function(){const t=new Array(c.PE_PARM_MAX);let r=e.call(this);for(let e=0;e<t.length;e++){const o=s.getValue(r,"*");t[e]=o?s.wrapPointer(o,s.PeParameter):null,r+=Int32Array.BYTES_PER_ELEMENT}return t});t(s.PeHorizon.prototype,"getCoord",e=>function(t=!1){const r=this.getSize();if(!r)return null;const o=[];return b(o,r,e.call(this),t),o}),t(s.PeGTlistExtendedEntry.prototype,"getEntries",e=>{const t=s._pe_getPeGTlistExtendedGTsSize();return function(){let r=null;const o=e.call(this);if(!s.compare(o,s.NULL)){r=[o];const e=this.getSteps();if(e>1){const n=s.getPointer(o);for(let o=1;o<e;o++)r.push(s.wrapPointer(n+t*o,s.PeGTlistExtendedGTs))}}return r}});const o=s._pe_getPeHorizonSize(),n=e=>function(){let t=this._cache;if(t||(t=new Map,this._cache=t),t.has(e))return t.get(e);let r=null;const n=e.call(this);if(!s.compare(n,s.NULL)){r=[n];const e=n.getNump();if(e>1){const t=s.getPointer(n);for(let n=1;n<e;n++)r.push(s.wrapPointer(t+o*n,s.PeHorizon))}}return t.set(e,r),r};t(s.PeProjcs.prototype,"horizonGcsGenerate",n),t(s.PeProjcs.prototype,"horizonPcsGenerate",n),s.PeObject.prototype.toString=function(e=c.PE_STR_OPTS_NONE){s.ensureCache.prepare();const t=s.getPointer(this),r=s.ensureInt8(new Array(c.PE_BUFFER_MAX));return s.UTF8ToString(s._pe_object_to_string_ext(t,e,r))},s.PeGeogcs.prototype.destroy=function(){this.Delete(),w(this),this.ptr=0},s.PeGeogcs.prototype[Symbol.dispose]=function(){this.destroy()},s.PeProjcs.prototype.destroy=function(){this.Delete(),w(this),this.ptr=0},s.PeProjcs.prototype[Symbol.dispose]=function(){this.destroy()}}function w(e){if(!e)return;const t=s.getClass(e);if(!t)return;const r=s.getCache(t);if(!r)return;const o=s.getPointer(e);o&&delete r[o]}function I(e,t){const r=[],o=new Array(t);for(let t=0;t<e;t++)r.push(s.ensureInt8(o));return r}function D(e){return ArrayBuffer.isView(e)?e:Array.isArray(e[0])?e.flat():e}function b(e,t,r,o=!1){if(o)for(let o=0;o<2*t;o++)e[o]=s.getValue(r+o*Float64Array.BYTES_PER_ELEMENT,"double");else{const o=0===e.length;for(let n=0;n<t;n++)o&&(e[n]=new Array(2)),e[n][0]=s.getValue(r,"double"),e[n][1]=s.getValue(r+Float64Array.BYTES_PER_ELEMENT,"double"),r+=2*Float64Array.BYTES_PER_ELEMENT}}const B=Object.freeze(Object.defineProperty({__proto__:null,PeCSTransformations:l,PeDefs:c,get PeDouble(){return u},PeFactory:d,get PeGCSExtent(){return m},PeGTTransformations:y,PeGTlistExtended:h,PeGTlistExtendedEntry:T,PeLineType:g,PeMath:S,PeNotationDms:O,PeNotationMgrs:A,PeNotationUsng:R,PeNotationUtm:N,PePCSInfo:G,PeVersion:C,_init:k,get _pe(){return s},isLoaded:a,isSupported:function(){return!!(0,n.A)("esri-wasm")},load:f},Symbol.toStringTag,{value:"Module"}))},34727(e,t,r){r.d(t,{$8:()=>U,Cc:()=>a,Hx:()=>E,Io:()=>S,KJ:()=>c,OS:()=>R,Sp:()=>P,XM:()=>u,YN:()=>_,ZH:()=>d,b6:()=>M,cU:()=>n,gg:()=>p,hs:()=>f,kU:()=>l,mP:()=>s,or:()=>A,pF:()=>G,pq:()=>N,qE:()=>i});const o=new Float32Array(1);function n(e){--e;for(let t=1;t<32;t<<=1)e|=e>>t;return e+1}function i(e,t,r){return Math.min(Math.max(e,t),r)}function s(e,t){return 0===t?0:Math.ceil(e/t)*t}function a(e,t,r){return e+(t-e)*r}function f(e,t,r,o,n){return a(o,n,(e-t)/(r-t))}function l(e){return e*Math.PI/180}function c(e){return 180*e/Math.PI}function u(e){return Math.acos(i(e,-1,1))}function _(e){return Math.asin(i(e,-1,1))}function P(e,t,r=1e-6){return e===t||!(!Number.isFinite(e)||!Number.isFinite(t))&&(e>t?e-t:t-e)<=r}function p(e,t,r=1e-6){return!P(e,t,r)&&e>t}function d(e,t,r=1e-6){return!P(e,t,r)&&e<t}function E(e,t,r=1e-6){return P(e,t,r)||e>t}const m=new DataView(new ArrayBuffer(Float64Array.BYTES_PER_ELEMENT));function h(e){return m.setFloat64(0,e),m.getBigInt64(0)}const T=1000000n,y=g(1);function g(e){const t=h(e=Math.abs(e)),r=function(e){return m.setBigInt64(0,e),m.getFloat64(0)}(t<=T?T:t-T);return Math.abs(e-r)}function S(e,t,r=y){if(e===t)return!0;if(!Number.isFinite(e)||!Number.isFinite(t))return!1;if(null!=r&&g(Math.min(Math.abs(e),Math.abs(t)))<r)return Math.abs(e-t)<=r;const o=h(e),n=h(t);return o<0==n<0&&!((o<n?n-o:o-n)>T)}function M(e,t,r=1e-6){if(e===t)return!0;if(!Number.isFinite(e)||!Number.isFinite(t))return!1;const o=Math.abs(e-t),n=Math.abs(e),i=Math.abs(t);if(0===e||0===t||n<1e-12&&i<1e-12){if(o>.01*r)return!1}else if(o/(n+i)>r)return!1;return!0}function U(e){return O(Math.max(-N,Math.min(e,N)))}function O(e){return o[0]=e,o[0]}function A(e){const t=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],r=e[3]*e[3]+e[4]*e[4]+e[5]*e[5],o=e[6]*e[6]+e[7]*e[7]+e[8]*e[8];return!(P(t,1)&&P(r,1)&&P(o,1))}function R(e,t){return(e%t+t)%t}const N=O(34028234663852886e22);function G(e,t,r){if(void 0===r||0===+r)return Math[e](t);if(t=+t,r=+r,isNaN(t)||"number"!=typeof r||r%1!=0)return NaN;let o=t.toString().split("e");return o=(t=Math[e](+(o[0]+"e"+(o[1]?+o[1]-r:-r)))).toString().split("e"),+(o[0]+"e"+(o[1]?+o[1]+r:r))}},86211(e,t,r){r.d(t,{Ao:()=>k,B5:()=>F,Bd:()=>L,G9:()=>N,GA:()=>C,Ij:()=>b,KX:()=>w,LA:()=>R,PQ:()=>U,Sk:()=>j,UW:()=>O,b$:()=>v,dk:()=>W,dy:()=>f,k1:()=>G,mq:()=>B,oU:()=>M,t$:()=>g,vl:()=>A,x1:()=>Y,yD:()=>P});var o=r(66552),n=r(73941),i=r(79258),s=r(21325),a=r(22530);const f=39.37,l=i.$O.radius*Math.PI/200,c=/(?:LENGTH)?UNIT\[([^\]]+)]]$/i,u=a.A,_=/UNIT\[([^\]]+)]/i,P=new Set([4305,4807,4810,4811,4812,4816,4819,4821,4901,4902,37225,104025,104026,104139,104140]),p=(0,o.O)()({millimeter:"millimeters",centimeter:"centimeters",meter:"meters",meter_german:"german-meters",kilometer:"kilometers",decimeter:"decimeters",micrometer:"micrometers",nanometer:"nanometers","50_kilometers":"50-kilometers","150_kilometers":"150-kilometers",foot:"feet",foot_us:"us-feet",foot_clarke:"clarke-feet",fathom:"fathoms",nautical_mile:"nautical-miles",chain_us:"us-chains",link_us:"us-links",mile_us:"us-miles",yard_clarke:"clarke-yards",chain_clarke:"clarke-chains",link_clarke:"clarke-links",yard_sears:"sears-yards",foot_sears:"sears-feet",chain_sears:"sears-chains",link_sears:"sears-links",yard_benoit_1895_a:"benoit-1895-a-yards",foot_benoit_1895_a:"benoit-1895-a-feet",chain_benoit_1895_a:"benoit-1895-a-chains",link_benoit_1895_a:"benoit-1895-a-links",yard_benoit_1895_b:"benoit-1895-b-yards",foot_benoit_1895_b:"benoit-1895-b-feet",chain_benoit_1895_b:"benoit-1895-b-chains",link_benoit_1895_b:"benoit-1895-b-links",foot_1865:"1865-feet",foot_indian:"indian-feet",foot_indian_1937:"indian-1937-feet",foot_indian_1962:"indian-1962-feet",foot_indian_1975:"indian-1975-feet",yard_indian:"indian-yards",yard_indian_1937:"indian-1937-yards",yard_indian_1962:"indian-1962-yards",yard_indian_1975:"indian-1975-yards",statute_mile:"statute-miles",foot_gold_coast:"gold-coast-feet",foot_british_1936:"british-1936-feet",yard:"yards",chain:"chains",link:"links",yard_sears_1922_truncated:"sears-1922-truncated-yards",foot_sears_1922_truncated:"sears-1922-truncated-feet",chain_sears_1922_truncated:"sears-1922-truncated-chains",link_sears_1922_truncated:"sears-1922-truncated-links",yard_us:"us-yards",inch:"inches",inch_us:"us-inches",rod:"rods",rod_us:"us-rods",nautical_mile_us:"us-nautical-miles",nautical_mile_uk:"uk-nautical-miles",smoot:"smoots",vara_tx:"tx-vara",point:"points"}),d=e=>e*e,E=e=>e*e*e,m={length:{baseUnit:"meters",units:{millimeters:{inBaseUnits:.001},centimeters:{inBaseUnits:.01},meters:{inBaseUnits:1},feet:{inBaseUnits:.3048},"us-feet":{inBaseUnits:.3048006096012192},"clarke-feet":{inBaseUnits:.3047972654},fathoms:{inBaseUnits:1.8288},"nautical-miles":{inBaseUnits:1852},"german-meters":{inBaseUnits:1.0000135965},"us-chains":{inBaseUnits:20.11684023368047},"us-links":{inBaseUnits:.2011684023368047},"us-miles":{inBaseUnits:1609.347218694438},kilometers:{inBaseUnits:1e3},"clarke-yards":{inBaseUnits:.9143917962},"clarke-chains":{inBaseUnits:20.1166195164},"clarke-links":{inBaseUnits:.201166195164},"sears-yards":{inBaseUnits:.9143984146160287},"sears-feet":{inBaseUnits:.3047994715386762},"sears-chains":{inBaseUnits:20.11676512155263},"sears-links":{inBaseUnits:.2011676512155263},"benoit-1895-a-yards":{inBaseUnits:.9143992},"benoit-1895-a-feet":{inBaseUnits:.3047997333333333},"benoit-1895-a-chains":{inBaseUnits:20.1167824},"benoit-1895-a-links":{inBaseUnits:.201167824},"benoit-1895-b-yards":{inBaseUnits:.9143992042898124},"benoit-1895-b-feet":{inBaseUnits:.3047997347632708},"benoit-1895-b-chains":{inBaseUnits:20.11678249437587},"benoit-1895-b-links":{inBaseUnits:.2011678249437587},"1865-feet":{inBaseUnits:.3048008333333334},"indian-feet":{inBaseUnits:.3047995102481469},"indian-1937-feet":{inBaseUnits:.30479841},"indian-1962-feet":{inBaseUnits:.3047996},"indian-1975-feet":{inBaseUnits:.3047995},"indian-yards":{inBaseUnits:.9143985307444408},"indian-1937-yards":{inBaseUnits:.91439523},"indian-1962-yards":{inBaseUnits:.9143988},"indian-1975-yards":{inBaseUnits:.9143985},miles:{inBaseUnits:1609.344},"statute-miles":{inBaseUnits:1609.344},"gold-coast-feet":{inBaseUnits:.3047997101815088},"british-1936-feet":{inBaseUnits:.3048007491},yards:{inBaseUnits:.9144},chains:{inBaseUnits:20.1168},links:{inBaseUnits:.201168},"sears-1922-truncated-yards":{inBaseUnits:.914398},"sears-1922-truncated-feet":{inBaseUnits:.3047993333333334},"sears-1922-truncated-chains":{inBaseUnits:20.116756},"sears-1922-truncated-links":{inBaseUnits:.20116756},"us-yards":{inBaseUnits:.9144018288036576},decimeters:{inBaseUnits:.1},inches:{inBaseUnits:.0254},"us-inches":{inBaseUnits:.0254000508001016},rods:{inBaseUnits:5.0292},"us-rods":{inBaseUnits:5.029210058420118},"us-nautical-miles":{inBaseUnits:1853.248},"uk-nautical-miles":{inBaseUnits:1853.184},smoots:{inBaseUnits:1.7018},"tx-vara":{inBaseUnits:.8466683600033867},points:{inBaseUnits:.0003527777777777778},micrometers:{inBaseUnits:1e-6},nanometers:{inBaseUnits:1e-9},"50-kilometers":{inBaseUnits:5e4},"150-kilometers":{inBaseUnits:15e4}}},area:{baseUnit:"square-meters",units:{"square-millimeters":{inBaseUnits:d(.001)},"square-centimeters":{inBaseUnits:d(.01)},"square-decimeters":{inBaseUnits:d(.1)},"square-meters":{inBaseUnits:1},"square-kilometers":{inBaseUnits:d(1e3)},"square-inches":{inBaseUnits:d(.0254)},"square-feet":{inBaseUnits:d(.3048)},"square-yards":{inBaseUnits:d(.9144)},"square-miles":{inBaseUnits:d(1609.344)},"square-nautical-miles":{inBaseUnits:d(1852)},"square-us-feet":{inBaseUnits:d(1200/3937)},acres:{inBaseUnits:.0015625*d(1609.344)},ares:{inBaseUnits:100},hectares:{inBaseUnits:1e4}}},volume:{baseUnit:"liters",units:{liters:{inBaseUnits:1},megaliters:{inBaseUnits:1e6},gigaliters:{inBaseUnits:1e9},"cubic-millimeters":{inBaseUnits:1e3*E(.001)},"cubic-centimeters":{inBaseUnits:1e3*E(.01)},"cubic-decimeters":{inBaseUnits:1e3*E(.1)},"cubic-meters":{inBaseUnits:1e3},"cubic-kilometers":{inBaseUnits:1e3*E(1e3)},"cubic-inches":{inBaseUnits:1e3*E(.0254)},"cubic-feet":{inBaseUnits:1e3*E(.3048)},"cubic-yards":{inBaseUnits:1e3*E(.9144)},"cubic-miles":{inBaseUnits:1e3*E(1609.344)},"cubic-us-feet":{inBaseUnits:1e3*E(1200/3937)}}},angle:{baseUnit:"radians",units:{radians:{inBaseUnits:1},degrees:{inBaseUnits:Math.PI/180}}}},h=(()=>{const e={};for(const t in m)for(const r in m[t].units)e[r]=t;return e})(),T=["metric","imperial","inches","feet","yards","miles","nautical-miles","us-feet","millimeters","centimeters","decimeters","meters","kilometers"],y=new Map([["meters","square-meters"],["feet","square-feet"],["us-feet","square-us-feet"]]);function g(e){const t=h[e];if(!t)throw new Error("unknown type");return t}function S(e,t=null){return t=t||g(e),m[t].baseUnit===e}function M(e,t,r){if(t===r)return e;const o=g(t);if(o!==g(r))throw new Error("incompatible units");const n=S(t,o)?e:function(e,t,r){return e*m[r].units[t].inBaseUnits}(e,t,o);return S(r,o)?n:function(e,t,r){return e/m[r].units[t].inBaseUnits}(n,r,o)}function U(e,t,r,o=!1){if(!o&&(0,s.EA)(t))throw new Error("Unable to convert from an angular unit to a linear unit.");const n=b(t);return n!==r&&(e=n?M(e,n,r):M(e*=C(t),"meters",r)),e}function O(e,t,r,o=!1){if(!o&&(0,s.EA)(r))throw new Error("Unable to convert from a linear unit to an angular unit.");const n=b(r);return t!==n&&(e=n?M(e,t,n):M(e,t,"meters")/C(r)),e}function A(e,t,r){return M(e,t,"meters")/(r*Math.PI/180)}function R(e){return p.fromJSON(e.toLowerCase())||null}function N(e){return null==e||(0,n.B3)(e)?k(e,!1)??1:1}function G(e){return C(e)>=(0,n.tO)(e).metersPerDegree?"meters":b(e)}function C(e,t=i.$O.metersPerDegree){return k(e,!0)??t}function k(e,t=!1){const r=e?.wkid??null,o=e?.wkt2??e?.wkt??null;let n=null;if(r){if((0,s.tl)(r))return i.sH.metersPerDegree;if((0,s.ZL)(r))return i.Sw.metersPerDegree;n=u.values[u[r]],!n&&t&&P.has(r)&&(n=l)}else o&&(Y(o)?n=I(c.exec(o),n):x(o)&&(n=I(_.exec(o),n)));return n}function w(e){return(0,s.EA)(e)?1:C(e)}function I(e,t){return e?.[1]?D(e[1]):t}function D(e){return parseFloat(e.split(",")[1])}function b(e){const t=e?.wkid??null,r=e?.wkt2??e?.wkt??null;let o=null;if(t)o=u.units[u[t]];else if(r){const e=Y(r)?c:x(r)?_:null;if(e){const t=e.exec(r);t?.[1]&&(o=function(e){const t=/[\\"']([^\\"']+)/.exec(e);let r=t?.[1];if(!r||!R(r)){const t=D(e);r=null;const o=u.values;for(let e=0;e<o.length;++e)if(Math.abs(t-o[e])<1e-7){r=u.units[e];break}}return r}(t[1]))}}return null!=o?R(o):null}function B(e){const t=G(e);return null!=t&&T.includes(t)?t:null}function F(e){const t=b(e);return null==t?null:y.get(t)}function x(e){return/^GEOCCS/i.test(e)}function Y(e){return/^\s*(?:PROJCS|PROJCRS|PROJECTEDCRS)/i.test(e)}const W=(0,o.O)()({esriAcres:"acres",esriAres:"ares",esriHectares:"hectares",esriSquareCentimeters:"square-centimeters",esriSquareDecimeters:"square-decimeters",esriSquareFeet:"square-feet",esriSquareInches:"square-inches",esriSquareKilometers:"square-kilometers",esriSquareMeters:"square-meters",esriSquareMiles:"square-miles",esriSquareMillimeters:"square-millimeters",esriSquareUsFeet:"square-us-feet",esriSquareYards:"square-yards"}),j=(0,o.O)()({esriCentimeters:"centimeters",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriYards:"yards"}),v=(0,o.O)()({esriDUDecimalDegrees:"degrees",esriDURadians:"radians"});function L(e){switch(e){case"metric":case"ares":case"hectares":return"metric";case"imperial":case"acres":return"imperial";case"square-inches":return"inches";case"square-feet":return"feet";case"square-yards":return"yards";case"square-miles":return"miles";case"square-nautical-miles":return"nautical-miles";case"square-us-feet":return"us-feet";case"square-millimeters":return"millimeters";case"square-centimeters":return"centimeters";case"square-decimeters":return"decimeters";case"square-meters":return"meters";case"square-kilometers":return"kilometers"}throw new Error("unhandled area unit")}},16930(e,t,r){r.d(t,{A:()=>p});var o,n=r(5482),i=r(69622),s=r(25482),a=r(4718),f=r(86211),l=r(56507),c=r(10107),u=r(64108),_=r(43937),P=r(21325);let p=class extends s.o{static{o=this}static{this.GCS_NAD_1927=null}static{this.WGS84=null}static{this.WebMercator=null}static{this.PlateCarree=null}static fromJSON(e){if(!e)return null;if(!d.some(t=>null!=e[t])){if(102100===e?.wkid)return o.WebMercator;if(4326===e?.wkid)return o.WGS84}const t=new o;return t.read(e),t}constructor(e){super(e),this.latestWkid=null,this.wkid=null,this.wkt=null,this.wkt2=null,this.vcsWkid=null,this.latestVcsWkid=null,this.falseM=null,this.falseX=null,this.falseY=null,this.falseZ=null,this.mTolerance=null,this.mUnits=null,this.xyTolerance=null,this.xyUnits=null,this.zTolerance=null,this.zUnits=null,this.imageCoordinateSystem=null}normalizeCtorArgs(e){if(e&&"object"==typeof e)return e;const t="string"==typeof e?"wkt":"wkid";return{[t]:e}}get cache(){return this.commitProperty("wkid"),this.commitProperty("latestWkid"),this.commitProperty("vcsWkid"),this.commitProperty("latestVcsWkid"),this.commitProperty("wkt"),this.commitProperty("wkt2"),this.commitProperty("imageCoordinateSystem"),this.commitProperty("falseM"),this.commitProperty("falseX"),this.commitProperty("falseY"),this.commitProperty("falseZ"),this.commitProperty("mTolerance"),this.commitProperty("mUnits"),this.commitProperty("xyTolerance"),this.commitProperty("xyUnits"),this.commitProperty("zTolerance"),this.commitProperty("zUnits"),{}}get isWGS84(){return(0,P.oT)(this)}get isWebMercator(){return(0,P.K8)(this)}get isGeographic(){return(0,P.EA)(this)}get isWrappable(){return(0,P.d9)(this)}get metersPerUnit(){return(0,f.GA)(this)}get unit(){return(0,f.Ij)(this)||(this.isGeographic?"degrees":null)}writeWkt(e,t){this.wkid||(t.wkt=e)}clone(){if(this===o.WGS84)return new o(P.KK);if(this===o.WebMercator)return new o(P.ch);const e=new o;return null!=this.wkid?(e.wkid=this.wkid,null!=this.latestWkid&&(e.latestWkid=this.latestWkid),null!=this.vcsWkid&&(e.vcsWkid=this.vcsWkid),null!=this.latestVcsWkid&&(e.latestVcsWkid=this.latestVcsWkid)):(null!=this.wkt&&(e.wkt=this.wkt),null!=this.wkt2&&(e.wkt2=this.wkt2)),this.imageCoordinateSystem&&(e.imageCoordinateSystem=(0,a.o8)(this.imageCoordinateSystem)),null!=this.falseM&&(e.falseM=this.falseM),null!=this.falseX&&(e.falseX=this.falseX),null!=this.falseY&&(e.falseY=this.falseY),null!=this.falseZ&&(e.falseZ=this.falseZ),null!=this.mTolerance&&(e.mTolerance=this.mTolerance),null!=this.mUnits&&(e.mUnits=this.mUnits),null!=this.xyTolerance&&(e.xyTolerance=this.xyTolerance),null!=this.xyUnits&&(e.xyUnits=this.xyUnits),null!=this.zTolerance&&(e.zTolerance=this.zTolerance),null!=this.zUnits&&(e.zUnits=this.zUnits),e}equals(e){if(null==e)return!1;if(this.imageCoordinateSystem||e.imageCoordinateSystem){if(null==this.imageCoordinateSystem||null==e.imageCoordinateSystem)return!1;const{id:t,referenceServiceName:r}=e.imageCoordinateSystem,{geodataXform:o}=e.imageCoordinateSystem,n=this.imageCoordinateSystem;return null==t||o?JSON.stringify(n)===JSON.stringify(e.imageCoordinateSystem):r?n.id===t&&n.referenceServiceName===r:n.id===t}return(0,P.aI)(this,e)}toJSON(e){return this.write(void 0,e)}};(0,n.Cg)([(0,c.MZ)({readOnly:!0})],p.prototype,"cache",null),(0,n.Cg)([(0,c.MZ)({readOnly:!0})],p.prototype,"isWGS84",null),(0,n.Cg)([(0,c.MZ)({readOnly:!0})],p.prototype,"isWebMercator",null),(0,n.Cg)([(0,c.MZ)({readOnly:!0})],p.prototype,"isGeographic",null),(0,n.Cg)([(0,c.MZ)({readOnly:!0})],p.prototype,"isWrappable",null),(0,n.Cg)([(0,c.MZ)({type:l.jz,json:{write:!0}})],p.prototype,"latestWkid",void 0),(0,n.Cg)([(0,c.MZ)({readOnly:!0})],p.prototype,"metersPerUnit",null),(0,n.Cg)([(0,c.MZ)({readOnly:!0})],p.prototype,"unit",null),(0,n.Cg)([(0,c.MZ)({type:l.jz,json:{write:!0,origins:{"web-scene":{write:{overridePolicy(){return{isRequired:null==this.wkt}}}}}}})],p.prototype,"wkid",void 0),(0,n.Cg)([(0,c.MZ)({type:String,json:{origins:{"web-scene":{write:{overridePolicy(){return{isRequired:null==this.wkid}}}}}}})],p.prototype,"wkt",void 0),(0,n.Cg)([(0,_.K)("wkt"),(0,_.K)("web-scene","wkt")],p.prototype,"writeWkt",null),(0,n.Cg)([(0,c.MZ)({type:String,json:{write:!1}})],p.prototype,"wkt2",void 0),(0,n.Cg)([(0,c.MZ)({type:l.jz,json:{write:!0}})],p.prototype,"vcsWkid",void 0),(0,n.Cg)([(0,c.MZ)({type:l.jz,json:{write:!0}})],p.prototype,"latestVcsWkid",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"falseM",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"falseX",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"falseY",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"falseZ",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"mTolerance",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"mUnits",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"xyTolerance",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"xyUnits",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"zTolerance",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"zUnits",void 0),(0,n.Cg)([(0,c.MZ)()],p.prototype,"imageCoordinateSystem",void 0),p=o=(0,n.Cg)([(0,u.$)("esri.geometry.SpatialReference")],p),p.prototype.toJSON.isDefaultToJSON=!0,p.GCS_NAD_1927=i.A.freeze(new p({wkid:4267,wkt:'GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]'})),p.WGS84=i.A.freeze(new p(P.KK)),p.WebMercator=i.A.freeze(new p(P.ch)),p.PlateCarree=i.A.freeze(new p(P.tQ));const d=["falseM","falseX","falseY","falseZ","mTolerance","mUnits","xyTolerance","xyUnits","zTolerance","zUnits"]},73941(e,t,r){r.d(t,{B3:()=>E,FY:()=>a,KQ:()=>h,LJ:()=>f,Ro:()=>l,fv:()=>s,jA:()=>p,q8:()=>m,tO:()=>_,xP:()=>d,y7:()=>P});var o=r(79258),n=r(21325);function i(e){return{wkt:`GEOCCS["Spherical geocentric",\n DATUM["Not specified",\n SPHEROID["Sphere",${e.radius},0]],\n PRIMEM["Greenwich",0.0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",EAST],\n AXIS["Geocentric Z",NORTH]\n ]`}}const s=i(o.$O),a=i(o.sH),f=i(o.Sw),l={wkt:`GEOCCS["WGS 84",\n DATUM["WGS_1984",\n SPHEROID["WGS 84",${o.$O.radius},298.257223563,\n AUTHORITY["EPSG","7030"]],\n AUTHORITY["EPSG","6326"]],\n PRIMEM["Greenwich",0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0,\n AUTHORITY["EPSG","9001"]],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",OTHER],\n AXIS["Geocentric Z",NORTH],\n AUTHORITY["EPSG","4978"]\n]`},c=a.wkt.toUpperCase(),u=f.wkt.toUpperCase();function _(e){if(null!=e&&(0,n.fn)(e)){const t=e.wkid,r=e.wkt2??e.wkt;if((0,n.tl)(t))return o.sH;const i=r?.toUpperCase();if(r&&i===c)return o.sH;if((0,n.ZL)(t)||i&&i===u)return o.Sw}return o.$O}function P(e){return(0,n.tl)(e)?o.sH:(0,n.ZL)(e)?o.Sw:o.$O}function p(e){return(0,n.aI)(e,s)}function d(e){return p(e)||(0,n.aI)(e,a)||(0,n.aI)(e,f)}function E(e){return!(m(e)||h(e))}function m(e){return(0,n.tl)(e?.wkid)||(0,n.aI)(e,a)}function h(e){return(0,n.ZL)(e?.wkid)||(0,n.aI)(e,f)}Math.cos(Math.PI/16/16)},79258(e,t,r){r.d(t,{$O:()=>n,Sw:()=>s,sH:()=>i});class o{constructor(e,t,r,o,n,i){this.semiMajorAxis=e,this.flattening=t,this.outerAtmosphereRimWidth=r,this.atmosphereHeight=o,this.scaleHeight=n;const s=1-this.flattening;this.semiMinorAxis=this.semiMajorAxis*s,this.halfSemiMajorAxis=this.semiMajorAxis/2,this.halfCircumference=Math.PI*this.semiMajorAxis,this.metersPerDegree=this.halfCircumference/180,this.inverseFlattening=1/(1-this.flattening)-1,this.eccentricitySquared=i||2*this.flattening-this.flattening*this.flattening,this.meanRadiusSemiAxes=(2*this.semiMajorAxis+this.semiMinorAxis)/3}get radius(){return this.semiMajorAxis}}const n=new o(6378137,1/298.257223563,3e5,1e5,.085,.006694379990137799),i=new o(3396190,1/169.8944472236118,23e4,6e4,.111),s=new o(1737400,0,0,0,0)},22530(e,t,r){let o;r.d(t,{A:()=>n});const n={values:[.001,1,.3048,.3048006096012192,.3047972654,.9143917962,.201166195164,.9143984146160287,.3047994715386762,20.11676512155263,20.11678249437587,.9143985307444408,.91439523,.3047997101815088,20.1168,20.116756,5e4,15e4],units:["Millimeter","Meter","Foot","Foot_US","Foot_Clarke","Yard_Clarke","Link_Clarke","Yard_Sears","Foot_Sears","Chain_Sears","Chain_Benoit_1895_B","Yard_Indian","Yard_Indian_1937","Foot_Gold_Coast","Chain","Chain_Sears_1922_Truncated","50_Kilometers","150_Kilometers"],2066:6,2136:13,2155:3,2157:1,2158:1,2159:13,2160:13,2204:3,2219:1,2220:1,2254:3,2255:3,2256:2,2265:2,2266:2,2267:3,2268:3,2269:2,2270:2,2271:3,2272:3,2273:2,2294:1,2295:1,2314:4,2899:3,2900:3,2901:2,2909:2,2910:2,2911:3,2912:3,2913:2,2914:2,2992:2,2993:1,2994:2,3080:2,3089:3,3090:1,3091:3,3102:3,3141:1,3142:1,3167:15,3359:3,3360:1,3361:2,3362:1,3363:3,3364:1,3365:3,3366:4,3404:3,3405:1,3406:1,3407:4,3439:1,3440:1,3479:2,3480:1,3481:2,3482:1,3483:2,3484:1,3485:3,3486:1,3487:3,3488:1,3489:1,3490:3,3491:1,3492:3,3493:1,3494:3,3495:1,3496:3,3497:1,3498:3,3499:1,3500:3,3501:1,3502:3,3503:1,3504:3,3505:1,3506:3,3507:1,3508:3,3509:1,3510:3,3511:1,3512:3,3513:1,3514:1,3515:3,3516:1,3517:3,3518:1,3519:3,3520:1,3521:3,3522:1,3523:3,3524:1,3525:3,3526:1,3527:3,3528:1,3529:3,3530:1,3531:3,3532:1,3533:3,3534:1,3535:3,3536:1,3537:3,3538:1,3539:3,3540:1,3541:3,3542:1,3543:3,3544:1,3545:3,3546:1,3547:3,3548:1,3549:3,3550:1,3551:3,3552:1,3553:3,3582:3,3583:1,3584:3,3585:1,3586:3,3587:1,3588:2,3589:1,3590:2,3591:1,3592:1,3593:2,3598:3,3599:1,3600:3,3605:2,3606:1,3607:1,3608:3,3609:1,3610:3,3611:1,3612:3,3613:1,3614:3,3615:1,3616:3,3617:1,3618:3,3619:1,3620:3,3621:1,3622:3,3623:1,3624:3,3625:1,3626:3,3627:1,3628:3,3629:1,3630:3,3631:1,3632:3,3633:1,3634:2,3635:1,3636:2,3640:3,3641:1,3642:3,3643:1,3644:2,3645:1,3646:2,3647:1,3648:2,3649:1,3650:3,3651:1,3652:3,3653:1,3654:3,3655:1,3656:2,3657:1,3658:3,3659:1,3660:3,3661:1,3662:3,3663:1,3664:3,3668:3,3669:1,3670:3,3671:1,3672:3,3673:1,3674:3,3675:1,3676:2,3677:3,3678:1,3679:2,3680:3,3681:1,3682:2,3683:3,3684:1,3685:1,3686:3,3687:1,3688:3,3689:1,3690:3,3691:1,3692:3,3696:3,3697:1,3698:3,3699:1,3700:3,3793:1,3794:1,3812:1,3854:1,3857:1,3920:1,3978:1,3979:1,3991:3,3992:3,4026:1,4037:1,4038:1,4071:1,4082:1,4083:1,4087:1,4088:1,4217:3,4414:1,4415:1,4417:1,4434:1,4437:1,4438:3,4439:3,4462:1,4467:1,4471:1,4474:1,4559:1,4647:1,4822:1,4826:1,4839:1,5018:1,5041:1,5042:1,5048:1,5221:1,5223:1,5234:1,5235:1,5243:1,5247:1,5266:1,5316:1,5320:1,5321:1,5325:1,5337:1,5361:1,5362:1,5367:1,5382:1,5383:1,5396:1,5456:1,5457:1,5469:1,5472:5,5490:1,5513:1,5514:1,5523:1,5559:1,5588:2,5589:4,5596:1,5627:1,5629:1,5641:1,5643:1,5644:1,5646:3,5654:3,5655:3,5659:1,5700:1,5825:1,5836:1,5837:1,5839:1,5842:1,5844:1,5858:1,5879:1,5880:1,5887:1,5890:1,6128:2,6129:2,6141:2,6204:1,6210:1,6211:1,6307:1,6312:1,6316:1,6362:1,6391:2,6405:2,6406:1,6407:2,6408:1,6409:2,6410:1,6411:3,6412:1,6413:3,6414:1,6415:1,6416:3,6417:1,6418:3,6419:1,6420:3,6421:1,6422:3,6423:1,6424:3,6425:1,6426:3,6427:1,6428:3,6429:1,6430:3,6431:1,6432:3,6433:1,6434:3,6435:1,6436:3,6437:1,6438:3,6439:1,6440:1,6441:3,6442:1,6443:3,6444:1,6445:3,6446:1,6447:3,6448:1,6449:3,6450:1,6451:3,6452:1,6453:3,6454:1,6455:3,6456:1,6457:3,6458:1,6459:3,6460:1,6461:3,6462:1,6463:3,6464:1,6465:3,6466:1,6467:3,6468:1,6469:3,6470:1,6471:3,6472:1,6473:3,6474:1,6475:3,6476:1,6477:3,6478:1,6479:3,6484:3,6485:1,6486:3,6487:1,6488:3,6489:1,6490:3,6491:1,6492:3,6493:1,6494:2,6495:1,6496:2,6497:1,6498:1,6499:2,6500:1,6501:3,6502:1,6503:3,6504:1,6505:3,6506:1,6507:3,6508:1,6509:1,6510:3,6515:2,6516:1,6518:1,6519:3,6520:1,6521:3,6522:1,6523:3,6524:1,6525:3,6526:1,6527:3,6528:1,6529:3,6530:1,6531:3,6532:1,6533:3,6534:1,6535:3,6536:1,6537:3,6538:1,6539:3,6540:1,6541:3,6542:1,6543:3,6544:1,6545:2,6546:1,6547:2,6548:1,6549:3,6550:1,6551:3,6552:1,6553:3,6554:1,6555:3,6556:1,6557:2,6558:1,6559:2,6560:1,6561:2,6562:1,6563:3,6564:1,6565:3,6566:1,6567:1,6568:3,6569:1,6570:2,6571:1,6572:3,6573:1,6574:3,6575:1,6576:3,6577:1,6578:3,6582:3,6583:1,6584:3,6585:1,6586:3,6587:1,6588:3,6589:1,6590:3,6591:1,6592:1,6593:3,6594:1,6595:3,6596:1,6597:3,6598:1,6599:3,6600:1,6601:3,6602:1,6603:3,6605:3,6606:1,6607:3,6608:1,6609:3,6610:1,6611:1,6612:3,6613:1,6614:3,6615:1,6616:3,6617:1,6618:3,6633:3,6646:1,6703:1,6784:1,6785:2,6786:1,6787:2,6788:1,6789:2,6790:1,6791:2,6792:1,6793:2,6794:1,6795:2,6796:1,6797:2,6798:1,6799:2,6800:1,6801:2,6802:1,6803:2,6804:1,6805:2,6806:1,6807:2,6808:1,6809:2,6810:1,6811:2,6812:1,6813:2,6814:1,6815:2,6816:1,6817:2,6818:1,6819:2,6820:1,6821:2,6822:1,6823:2,6824:1,6825:2,6826:1,6827:2,6828:1,6829:2,6830:1,6831:2,6832:1,6833:2,6834:1,6835:2,6836:1,6837:2,6838:1,6839:2,6840:1,6841:2,6842:1,6843:2,6844:1,6845:2,6846:1,6847:2,6848:1,6849:2,6850:1,6851:2,6852:1,6853:2,6854:1,6855:2,6856:1,6857:2,6858:1,6859:2,6860:1,6861:2,6862:1,6863:2,6867:1,6868:2,6870:1,6875:1,6876:1,6879:1,6880:3,6884:1,6885:2,6886:1,6887:2,6915:1,6922:1,6923:3,6924:1,6925:3,6962:1,6984:1,6991:1,7128:3,7131:1,7132:3,7142:1,7257:1,7258:3,7259:1,7260:3,7261:1,7262:3,7263:1,7264:3,7265:1,7266:3,7267:1,7268:3,7269:1,7270:3,7271:1,7272:3,7273:1,7274:3,7275:1,7276:3,7277:1,7278:3,7279:1,7280:3,7281:1,7282:3,7283:1,7284:3,7285:1,7286:3,7287:1,7288:3,7289:1,7290:3,7291:1,7292:3,7293:1,7294:3,7295:1,7296:3,7297:1,7298:3,7299:1,7300:3,7301:1,7302:3,7303:1,7304:3,7305:1,7306:3,7307:1,7308:3,7309:1,7310:3,7311:1,7312:3,7313:1,7314:3,7315:1,7316:3,7317:1,7318:3,7319:1,7320:3,7321:1,7322:3,7323:1,7324:3,7325:1,7326:3,7327:1,7328:3,7329:1,7330:3,7331:1,7332:3,7333:1,7334:3,7335:1,7336:3,7337:1,7338:3,7339:1,7340:3,7341:1,7342:3,7343:1,7344:3,7345:1,7346:3,7347:1,7348:3,7349:1,7350:3,7351:1,7352:3,7353:1,7354:3,7355:1,7356:3,7357:1,7358:3,7359:1,7360:3,7361:1,7362:3,7363:1,7364:3,7365:1,7366:3,7367:1,7368:3,7369:1,7370:3,7877:1,7878:1,7882:1,7883:1,7887:1,7899:1,7991:1,7992:1,8035:3,8036:3,8058:1,8059:1,8082:1,8083:1,8088:1,8090:1,8091:3,8092:1,8093:3,8095:1,8096:3,8097:1,8098:3,8099:1,8100:3,8101:1,8102:3,8103:1,8104:3,8105:1,8106:3,8107:1,8108:3,8109:1,8110:3,8111:1,8112:3,8113:1,8114:3,8115:1,8116:3,8117:1,8118:3,8119:1,8120:3,8121:1,8122:3,8123:1,8124:3,8125:1,8126:3,8127:1,8128:3,8129:1,8130:3,8131:1,8132:3,8133:1,8134:3,8135:1,8136:3,8137:1,8138:3,8139:1,8140:3,8141:1,8142:3,8143:1,8144:3,8145:1,8146:3,8147:1,8148:3,8149:1,8150:3,8151:1,8152:3,8153:1,8154:3,8155:1,8156:3,8157:1,8158:3,8159:1,8160:3,8161:1,8162:3,8163:1,8164:3,8165:1,8166:3,8167:1,8168:3,8169:1,8170:3,8171:1,8172:3,8173:1,8177:3,8179:1,8180:3,8181:1,8182:3,8184:1,8185:3,8187:1,8189:3,8191:1,8193:3,8196:1,8197:3,8198:1,8200:3,8201:1,8202:3,8203:1,8204:3,8205:1,8206:3,8207:1,8208:3,8209:1,8210:3,8212:1,8213:3,8214:1,8216:3,8218:1,8220:3,8222:1,8224:3,8225:1,8226:3,8311:1,8312:2,8313:1,8314:2,8315:1,8316:2,8317:1,8318:2,8319:1,8320:2,8321:1,8322:2,8323:1,8324:2,8325:1,8326:2,8327:1,8328:2,8329:1,8330:2,8331:1,8332:2,8333:1,8334:2,8335:1,8336:2,8337:1,8338:2,8339:1,8340:2,8341:1,8342:2,8343:1,8344:2,8345:1,8346:2,8347:1,8348:2,8352:1,8353:1,8379:1,8380:3,8381:1,8382:3,8383:1,8384:3,8385:1,8387:3,8391:1,8395:1,8433:1,8441:1,8455:1,8456:1,8531:3,8682:1,8686:1,8687:1,8692:1,8693:1,8826:1,8903:1,8950:1,8951:1,9039:1,9040:1,9141:1,9149:1,9150:1,9191:1,9221:1,9222:1,9249:1,9250:1,9252:1,9254:1,9265:1,9284:1,9285:1,9300:1,9354:1,9367:1,9373:1,9377:1,9387:1,9391:1,9456:1,9473:1,9498:1,9674:1,9678:1,9680:1,9709:1,9712:1,9713:1,9716:1,9741:1,9748:3,9749:3,9761:1,9766:1,9793:1,9794:1,9869:1,9874:1,9875:1,9880:1,9895:1,9943:1,9945:1,9947:1,9967:1,9972:1,9977:1,10160:1,10183:1,10188:1,10194:1,10199:1,10207:1,10212:1,10217:1,10222:1,10227:1,10235:1,10240:1,10250:1,10254:1,10270:1,10275:1,10280:1,10306:1,10329:1,10471:1,10477:1,10481:3,10516:3,10592:1,10594:1,10596:1,10598:1,10601:1,10603:1,10626:1,10632:1,10641:1,10665:1,10674:1,10699:1,10702:1,10744:1,10745:1,10759:1,10773:1,10801:1,10802:1,10820:1,10833:1,10836:1,10837:1,10851:1,10857:1,10863:1,10899:1,10917:1,20002:1,20042:1,20050:2,20499:1,20538:1,20539:1,20790:1,20791:1,21291:1,21292:1,21500:1,21817:1,21818:1,22032:1,22033:1,22091:1,22092:1,22239:1,22240:1,22332:1,22337:1,22338:1,22391:1,22392:1,22639:1,22700:1,22739:1,22770:1,22780:1,22832:1,23090:1,23095:1,23239:1,23240:1,23433:1,23700:1,24047:1,24048:1,24100:4,24200:1,24305:1,24306:1,24382:11,24383:1,24500:1,24547:1,24548:1,24571:10,24600:1,25e3:1,25231:1,25884:1,25932:1,26237:1,26331:1,26332:1,26432:1,26591:1,26592:1,26632:1,26692:1,27120:1,27200:1,27291:7,27292:7,27429:1,27492:1,27493:1,27500:1,28232:1,28600:1,28991:1,28992:1,29100:1,29101:1,29220:1,29221:1,29333:1,29635:1,29636:1,29701:1,29738:1,29739:1,29849:1,29850:1,29871:9,29872:8,29873:1,29874:1,30200:6,30339:1,30340:1,30591:1,30592:1,30791:1,30792:1,30800:1,31028:1,31121:1,31154:1,31170:1,31171:1,31370:1,31528:1,31529:1,31600:1,31700:1,31838:1,31839:1,31900:1,31901:1,32061:1,32062:1,32098:1,32099:3,32100:1,32104:1,32161:1,32766:1,53048:1,53049:1,65061:3,65062:3,102041:3,102064:12,102068:16,102069:17,102118:3,102119:2,102120:3,102121:3,102217:3,102218:1,102219:3,102220:3,102378:2,102379:2,102380:1,102381:2,102589:3,102599:3,102600:3,102604:3,102647:1,102704:3,102705:3,102706:1,102731:1,102732:1,102759:2,102760:2,102761:3,102762:1,102763:3,102764:1,102765:1,102766:3,102970:2,102974:3,102993:1,102994:1,102995:3,102996:3,103015:1,103016:3,103017:1,103018:3,103025:1,103026:1,103027:3,103028:3,103035:1,103036:1,103037:3,103038:3,103039:1,103040:1,103041:3,103042:3,103043:1,103044:1,103045:3,103046:3,103047:1,103048:1,103049:3,103050:3,103051:1,103052:3,103053:1,103054:3,103055:1,103056:3,103057:1,103058:1,103059:3,103060:3,103061:1,103062:1,103063:3,103064:3,103069:3,103070:1,103071:1,103072:3,103073:3,103086:1,103087:1,103088:3,103089:3,103094:2,103095:1,103096:3,103103:1,103104:3,103105:1,103106:3,103121:1,103122:3,103123:1,103124:1,103125:2,103126:2,103127:1,103128:1,103129:3,103130:3,103131:1,103132:1,103133:3,103134:3,103135:1,103136:1,103137:2,103138:2,103139:1,103140:3,103141:1,103142:3,103143:1,103144:3,103145:1,103146:2,103147:1,103148:1,103149:3,103150:3,103151:1,103152:3,103172:1,103173:3,103174:1,103175:1,103176:3,103177:3,103178:1,103179:1,103180:3,103181:3,103182:1,103183:1,103184:3,103185:3,103228:1,103229:1,103230:3,103231:3,103250:1,103251:3,103252:1,103253:3,103260:1,103261:1,103262:3,103263:3,103270:1,103271:1,103272:3,103273:3,103274:1,103275:1,103276:3,103277:3,103278:1,103279:1,103280:3,103281:3,103282:1,103283:1,103284:3,103285:3,103286:1,103287:3,103288:1,103289:3,103290:1,103291:3,103292:1,103293:1,103294:3,103295:3,103296:1,103297:1,103298:3,103299:3,103376:3,103377:1,103378:1,103379:3,103380:3,103393:1,103394:1,103395:3,103396:3,103472:1,103473:2,103474:1,103475:3,103482:1,103483:3,103484:1,103485:3,103500:1,103501:3,103502:1,103503:1,103504:2,103505:2,103506:1,103507:1,103508:3,103509:3,103510:1,103511:1,103512:3,103513:3,103514:1,103515:3,103516:1,103517:3,103518:1,103519:3,103520:1,103521:2,103522:1,103523:1,103524:3,103525:3,103526:1,103527:3,103561:3,103562:3,103563:1,103564:1,103565:3,103566:3,103567:1,103568:1,103569:3,103570:3,103584:1,103585:3,103586:1,103587:3,103588:2,103589:1,103590:3,103591:2,103592:1,103593:3,103594:2,103695:3,103897:2,103898:1,103899:1,103978:3,103979:1,103980:3,103981:1,103982:3,103986:3,103987:3,103988:1,103989:0,103991:1,112111:1};for(o=2e3;o<=2045;o++)n[o]=1;for(o=2056;o<=2065;o++)n[o]=1;for(o=2067;o<=2135;o++)n[o]=1;for(o=2137;o<=2154;o++)n[o]=1;for(o=2161;o<=2170;o++)n[o]=1;for(o=2172;o<=2193;o++)n[o]=1;for(o=2195;o<=2198;o++)n[o]=1;for(o=2200;o<=2203;o++)n[o]=1;for(o=2205;o<=2217;o++)n[o]=1;for(o=2222;o<=2224;o++)n[o]=2;for(o=2225;o<=2250;o++)n[o]=3;for(o=2251;o<=2253;o++)n[o]=2;for(o=2257;o<=2264;o++)n[o]=3;for(o=2274;o<=2279;o++)n[o]=3;for(o=2280;o<=2282;o++)n[o]=2;for(o=2283;o<=2289;o++)n[o]=3;for(o=2290;o<=2292;o++)n[o]=1;for(o=2308;o<=2313;o++)n[o]=1;for(o=2315;o<=2491;o++)n[o]=1;for(o=2494;o<=2866;o++)n[o]=1;for(o=2867;o<=2869;o++)n[o]=2;for(o=2870;o<=2888;o++)n[o]=3;for(o=2891;o<=2895;o++)n[o]=3;for(o=2896;o<=2898;o++)n[o]=2;for(o=2902;o<=2908;o++)n[o]=3;for(o=2915;o<=2920;o++)n[o]=3;for(o=2921;o<=2923;o++)n[o]=2;for(o=2924;o<=2930;o++)n[o]=3;for(o=2931;o<=2962;o++)n[o]=1;for(o=2964;o<=2968;o++)n[o]=3;for(o=2969;o<=2973;o++)n[o]=1;for(o=2975;o<=2991;o++)n[o]=1;for(o=2995;o<=3051;o++)n[o]=1;for(o=3054;o<=3079;o++)n[o]=1;for(o=3081;o<=3088;o++)n[o]=1;for(o=3092;o<=3101;o++)n[o]=1;for(o=3106;o<=3138;o++)n[o]=1;for(o=3146;o<=3151;o++)n[o]=1;for(o=3153;o<=3166;o++)n[o]=1;for(o=3168;o<=3172;o++)n[o]=1;for(o=3174;o<=3203;o++)n[o]=1;for(o=3294;o<=3358;o++)n[o]=1;for(o=3367;o<=3403;o++)n[o]=1;for(o=3408;o<=3416;o++)n[o]=1;for(o=3417;o<=3438;o++)n[o]=3;for(o=3441;o<=3446;o++)n[o]=3;for(o=3447;o<=3450;o++)n[o]=1;for(o=3451;o<=3459;o++)n[o]=3;for(o=3460;o<=3478;o++)n[o]=1;for(o=3554;o<=3559;o++)n[o]=1;for(o=3560;o<=3570;o++)n[o]=3;for(o=3571;o<=3581;o++)n[o]=1;for(o=3594;o<=3597;o++)n[o]=1;for(o=3601;o<=3604;o++)n[o]=1;for(o=3637;o<=3639;o++)n[o]=1;for(o=3665;o<=3667;o++)n[o]=1;for(o=3693;o<=3695;o++)n[o]=1;for(o=3701;o<=3727;o++)n[o]=1;for(o=3728;o<=3739;o++)n[o]=3;for(o=3740;o<=3751;o++)n[o]=1;for(o=3753;o<=3760;o++)n[o]=3;for(o=3761;o<=3773;o++)n[o]=1;for(o=3775;o<=3777;o++)n[o]=1;for(o=3779;o<=3781;o++)n[o]=1;for(o=3783;o<=3785;o++)n[o]=1;for(o=3788;o<=3791;o++)n[o]=1;for(o=3797;o<=3802;o++)n[o]=1;for(o=3814;o<=3816;o++)n[o]=1;for(o=3825;o<=3829;o++)n[o]=1;for(o=3832;o<=3841;o++)n[o]=1;for(o=3844;o<=3852;o++)n[o]=1;for(o=3873;o<=3885;o++)n[o]=1;for(o=3890;o<=3893;o++)n[o]=1;for(o=3907;o<=3912;o++)n[o]=1;for(o=3942;o<=3950;o++)n[o]=1;for(o=3968;o<=3970;o++)n[o]=1;for(o=3973;o<=3976;o++)n[o]=1;for(o=3986;o<=3989;o++)n[o]=1;for(o=3994;o<=3997;o++)n[o]=1;for(o=4048;o<=4051;o++)n[o]=1;for(o=4056;o<=4063;o++)n[o]=1;for(o=4093;o<=4096;o++)n[o]=1;for(o=4390;o<=4398;o++)n[o]=1;for(o=4399;o<=4413;o++)n[o]=3;for(o=4418;o<=4433;o++)n[o]=3;for(o=4455;o<=4457;o++)n[o]=3;for(o=4484;o<=4489;o++)n[o]=1;for(o=4491;o<=4554;o++)n[o]=1;for(o=4568;o<=4589;o++)n[o]=1;for(o=4652;o<=4656;o++)n[o]=1;for(o=4766;o<=4800;o++)n[o]=1;for(o=5014;o<=5016;o++)n[o]=1;for(o=5069;o<=5072;o++)n[o]=1;for(o=5105;o<=5130;o++)n[o]=1;for(o=5167;o<=5188;o++)n[o]=1;for(o=5253;o<=5259;o++)n[o]=1;for(o=5269;o<=5275;o++)n[o]=1;for(o=5292;o<=5311;o++)n[o]=1;for(o=5329;o<=5331;o++)n[o]=1;for(o=5343;o<=5349;o++)n[o]=1;for(o=5355;o<=5357;o++)n[o]=1;for(o=5387;o<=5389;o++)n[o]=1;for(o=5459;o<=5463;o++)n[o]=1;for(o=5479;o<=5482;o++)n[o]=1;for(o=5518;o<=5520;o++)n[o]=1;for(o=5530;o<=5539;o++)n[o]=1;for(o=5550;o<=5552;o++)n[o]=1;for(o=5562;o<=5583;o++)n[o]=1;for(o=5623;o<=5625;o++)n[o]=3;for(o=5631;o<=5639;o++)n[o]=1;for(o=5649;o<=5653;o++)n[o]=1;for(o=5663;o<=5680;o++)n[o]=1;for(o=5682;o<=5685;o++)n[o]=1;for(o=5875;o<=5877;o++)n[o]=1;for(o=5896;o<=5899;o++)n[o]=1;for(o=5921;o<=5940;o++)n[o]=1;for(o=6050;o<=6125;o++)n[o]=1;for(o=6244;o<=6275;o++)n[o]=1;for(o=6328;o<=6348;o++)n[o]=1;for(o=6350;o<=6356;o++)n[o]=1;for(o=6366;o<=6372;o++)n[o]=1;for(o=6381;o<=6387;o++)n[o]=1;for(o=6393;o<=6404;o++)n[o]=1;for(o=6480;o<=6483;o++)n[o]=1;for(o=6511;o<=6514;o++)n[o]=1;for(o=6579;o<=6581;o++)n[o]=1;for(o=6619;o<=6624;o++)n[o]=1;for(o=6625;o<=6627;o++)n[o]=3;for(o=6628;o<=6632;o++)n[o]=1;for(o=6634;o<=6637;o++)n[o]=1;for(o=6669;o<=6692;o++)n[o]=1;for(o=6707;o<=6709;o++)n[o]=1;for(o=6720;o<=6723;o++)n[o]=1;for(o=6732;o<=6738;o++)n[o]=1;for(o=6931;o<=6933;o++)n[o]=1;for(o=6956;o<=6959;o++)n[o]=1;for(o=7005;o<=7007;o++)n[o]=1;for(o=7057;o<=7070;o++)n[o]=3;for(o=7074;o<=7082;o++)n[o]=1;for(o=7109;o<=7118;o++)n[o]=1;for(o=7119;o<=7127;o++)n[o]=2;for(o=7374;o<=7376;o++)n[o]=1;for(o=7528;o<=7586;o++)n[o]=1;for(o=7587;o<=7645;o++)n[o]=3;for(o=7692;o<=7696;o++)n[o]=1;for(o=7755;o<=7787;o++)n[o]=1;for(o=7791;o<=7795;o++)n[o]=1;for(o=7799;o<=7801;o++)n[o]=1;for(o=7803;o<=7805;o++)n[o]=1;for(o=7825;o<=7831;o++)n[o]=1;for(o=7845;o<=7859;o++)n[o]=1;for(o=8013;o<=8032;o++)n[o]=1;for(o=8065;o<=8068;o++)n[o]=2;for(o=8518;o<=8529;o++)n[o]=3;for(o=8533;o<=8536;o++)n[o]=3;for(o=8538;o<=8540;o++)n[o]=3;for(o=8677;o<=8679;o++)n[o]=1;for(o=8836;o<=8840;o++)n[o]=1;for(o=8857;o<=8859;o++)n[o]=1;for(o=8908;o<=8910;o++)n[o]=1;for(o=9154;o<=9159;o++)n[o]=1;for(o=9205;o<=9218;o++)n[o]=1;for(o=9271;o<=9273;o++)n[o]=1;for(o=9295;o<=9297;o++)n[o]=1;for(o=9356;o<=9360;o++)n[o]=1;for(o=9404;o<=9407;o++)n[o]=1;for(o=9476;o<=9482;o++)n[o]=1;for(o=9487;o<=9494;o++)n[o]=1;for(o=9697;o<=9699;o++)n[o]=1;for(o=9821;o<=9865;o++)n[o]=1;for(o=10285;o<=10291;o++)n[o]=1;for(o=10314;o<=10317;o++)n[o]=1;for(o=10448;o<=10465;o++)n[o]=1;for(o=10726;o<=10729;o++)n[o]=1;for(o=10731;o<=10733;o++)n[o]=1;for(o=10792;o<=10795;o++)n[o]=1;for(o=10911;o<=10916;o++)n[o]=3;for(o=10921;o<=10926;o++)n[o]=1;for(o=10942;o<=10949;o++)n[o]=1;for(o=11114;o<=11118;o++)n[o]=1;for(o=20004;o<=20032;o++)n[o]=1;for(o=20047;o<=20049;o++)n[o]=1;for(o=20062;o<=20092;o++)n[o]=1;for(o=20135;o<=20138;o++)n[o]=1;for(o=20248;o<=20258;o++)n[o]=1;for(o=20348;o<=20358;o++)n[o]=1;for(o=20436;o<=20440;o++)n[o]=1;for(o=20822;o<=20824;o++)n[o]=1;for(o=20904;o<=20932;o++)n[o]=1;for(o=20934;o<=20936;o++)n[o]=1;for(o=21004;o<=21032;o++)n[o]=1;for(o=21035;o<=21037;o++)n[o]=1;for(o=21095;o<=21097;o++)n[o]=1;for(o=21148;o<=21150;o++)n[o]=1;for(o=21207;o<=21264;o++)n[o]=1;for(o=21307;o<=21364;o++)n[o]=1;for(o=21413;o<=21423;o++)n[o]=1;for(o=21453;o<=21463;o++)n[o]=1;for(o=21473;o<=21483;o++)n[o]=1;for(o=21780;o<=21782;o++)n[o]=1;for(o=21891;o<=21894;o++)n[o]=1;for(o=21896;o<=21899;o++)n[o]=1;for(o=22171;o<=22177;o++)n[o]=1;for(o=22181;o<=22187;o++)n[o]=1;for(o=22191;o<=22197;o++)n[o]=1;for(o=22207;o<=22222;o++)n[o]=1;for(o=22229;o<=22232;o++)n[o]=1;for(o=22234;o<=22236;o++)n[o]=1;for(o=22243;o<=22250;o++)n[o]=1;for(o=22262;o<=22265;o++)n[o]=1;for(o=22307;o<=22322;o++)n[o]=1;for(o=22348;o<=22357;o++)n[o]=1;for(o=22407;o<=22422;o++)n[o]=1;for(o=22462;o<=22465;o++)n[o]=1;for(o=22521;o<=22525;o++)n[o]=1;for(o=22607;o<=22622;o++)n[o]=1;for(o=22641;o<=22646;o++)n[o]=1;for(o=22648;o<=22657;o++)n[o]=1;for(o=22707;o<=22722;o++)n[o]=1;for(o=22762;o<=22765;o++)n[o]=1;for(o=22807;o<=22822;o++)n[o]=1;for(o=22991;o<=22994;o++)n[o]=1;for(o=23028;o<=23038;o++)n[o]=1;for(o=23301;o<=23333;o++)n[o]=3;for(o=23830;o<=23853;o++)n[o]=1;for(o=23866;o<=23872;o++)n[o]=1;for(o=23877;o<=23884;o++)n[o]=1;for(o=23886;o<=23894;o++)n[o]=1;for(o=23946;o<=23948;o++)n[o]=1;for(o=24311;o<=24313;o++)n[o]=1;for(o=24342;o<=24347;o++)n[o]=1;for(o=24370;o<=24374;o++)n[o]=11;for(o=24375;o<=24381;o++)n[o]=1;for(o=24718;o<=24721;o++)n[o]=1;for(o=24817;o<=24821;o++)n[o]=1;for(o=24877;o<=24882;o++)n[o]=1;for(o=24891;o<=24893;o++)n[o]=1;for(o=25391;o<=25395;o++)n[o]=1;for(o=25828;o<=25838;o++)n[o]=1;for(o=26191;o<=26195;o++)n[o]=1;for(o=26391;o<=26393;o++)n[o]=1;for(o=26701;o<=26722;o++)n[o]=1;for(o=26729;o<=26799;o++)n[o]=3;for(o=26801;o<=26803;o++)n[o]=3;for(o=26811;o<=26813;o++)n[o]=3;for(o=26847;o<=26870;o++)n[o]=3;for(o=26891;o<=26899;o++)n[o]=1;for(o=26901;o<=26923;o++)n[o]=1;for(o=26929;o<=26946;o++)n[o]=1;for(o=26948;o<=26998;o++)n[o]=1;for(o=27037;o<=27040;o++)n[o]=1;for(o=27205;o<=27232;o++)n[o]=1;for(o=27258;o<=27260;o++)n[o]=1;for(o=27391;o<=27398;o++)n[o]=1;for(o=27561;o<=27564;o++)n[o]=1;for(o=27571;o<=27574;o++)n[o]=1;for(o=27581;o<=27584;o++)n[o]=1;for(o=27591;o<=27594;o++)n[o]=1;for(o=27700;o<=27707;o++)n[o]=1;for(o=28191;o<=28193;o++)n[o]=1;for(o=28348;o<=28358;o++)n[o]=1;for(o=28402;o<=28432;o++)n[o]=1;for(o=28462;o<=28492;o++)n[o]=1;for(o=29118;o<=29122;o++)n[o]=1;for(o=29168;o<=29172;o++)n[o]=1;for(o=29177;o<=29185;o++)n[o]=1;for(o=29187;o<=29195;o++)n[o]=1;for(o=29900;o<=29903;o++)n[o]=1;for(o=30161;o<=30179;o++)n[o]=1;for(o=30491;o<=30494;o++)n[o]=1;for(o=30729;o<=30732;o++)n[o]=1;for(o=31251;o<=31259;o++)n[o]=1;for(o=31265;o<=31268;o++)n[o]=1;for(o=31275;o<=31279;o++)n[o]=1;for(o=31281;o<=31297;o++)n[o]=1;for(o=31461;o<=31469;o++)n[o]=1;for(o=31491;o<=31495;o++)n[o]=1;for(o=31917;o<=31922;o++)n[o]=1;for(o=31965;o<=32e3;o++)n[o]=1;for(o=32001;o<=32003;o++)n[o]=3;for(o=32005;o<=32031;o++)n[o]=3;for(o=32033;o<=32060;o++)n[o]=3;for(o=32064;o<=32067;o++)n[o]=3;for(o=32074;o<=32077;o++)n[o]=3;for(o=32081;o<=32086;o++)n[o]=1;for(o=32107;o<=32130;o++)n[o]=1;for(o=32133;o<=32159;o++)n[o]=1;for(o=32164;o<=32167;o++)n[o]=3;for(o=32180;o<=32199;o++)n[o]=1;for(o=32201;o<=32260;o++)n[o]=1;for(o=32301;o<=32360;o++)n[o]=1;for(o=32401;o<=32460;o++)n[o]=1;for(o=32501;o<=32560;o++)n[o]=1;for(o=32601;o<=32662;o++)n[o]=1;for(o=32664;o<=32667;o++)n[o]=3;for(o=32701;o<=32761;o++)n[o]=1;for(o=53001;o<=53004;o++)n[o]=1;for(o=53008;o<=53019;o++)n[o]=1;for(o=53021;o<=53032;o++)n[o]=1;for(o=53034;o<=53037;o++)n[o]=1;for(o=53042;o<=53046;o++)n[o]=1;for(o=53074;o<=53080;o++)n[o]=1;for(o=54001;o<=54004;o++)n[o]=1;for(o=54008;o<=54019;o++)n[o]=1;for(o=54021;o<=54032;o++)n[o]=1;for(o=54034;o<=54037;o++)n[o]=1;for(o=54042;o<=54046;o++)n[o]=1;for(o=54048;o<=54053;o++)n[o]=1;for(o=54074;o<=54080;o++)n[o]=1;for(o=54090;o<=54096;o++)n[o]=1;for(o=54098;o<=54101;o++)n[o]=1;for(o=65161;o<=65163;o++)n[o]=1;for(o=102001;o<=102040;o++)n[o]=1;for(o=102042;o<=102063;o++)n[o]=1;for(o=102065;o<=102067;o++)n[o]=1;for(o=102070;o<=102117;o++)n[o]=1;for(o=102122;o<=102216;o++)n[o]=1;for(o=102221;o<=102377;o++)n[o]=1;for(o=102382;o<=102388;o++)n[o]=1;for(o=102389;o<=102398;o++)n[o]=3;for(o=102399;o<=102444;o++)n[o]=1;for(o=102445;o<=102447;o++)n[o]=3;for(o=102448;o<=102458;o++)n[o]=1;for(o=102459;o<=102468;o++)n[o]=3;for(o=102469;o<=102499;o++)n[o]=1;for(o=102500;o<=102519;o++)n[o]=2;for(o=102520;o<=102524;o++)n[o]=1;for(o=102525;o<=102529;o++)n[o]=3;for(o=102530;o<=102588;o++)n[o]=1;for(o=102590;o<=102598;o++)n[o]=1;for(o=102601;o<=102603;o++)n[o]=1;for(o=102605;o<=102628;o++)n[o]=1;for(o=102629;o<=102646;o++)n[o]=3;for(o=102648;o<=102700;o++)n[o]=3;for(o=102701;o<=102703;o++)n[o]=1;for(o=102707;o<=102730;o++)n[o]=3;for(o=102733;o<=102758;o++)n[o]=3;for(o=102767;o<=102900;o++)n[o]=1;for(o=102901;o<=102933;o++)n[o]=3;for(o=102934;o<=102950;o++)n[o]=14;for(o=102951;o<=102969;o++)n[o]=1;for(o=102971;o<=102973;o++)n[o]=1;for(o=102975;o<=102989;o++)n[o]=1;for(o=102990;o<=102992;o++)n[o]=2;for(o=102997;o<=103002;o++)n[o]=1;for(o=103003;o<=103008;o++)n[o]=3;for(o=103009;o<=103011;o++)n[o]=1;for(o=103012;o<=103014;o++)n[o]=3;for(o=103019;o<=103021;o++)n[o]=1;for(o=103022;o<=103024;o++)n[o]=3;for(o=103029;o<=103031;o++)n[o]=1;for(o=103032;o<=103034;o++)n[o]=3;for(o=103065;o<=103068;o++)n[o]=1;for(o=103074;o<=103076;o++)n[o]=1;for(o=103077;o<=103079;o++)n[o]=2;for(o=103080;o<=103082;o++)n[o]=1;for(o=103083;o<=103085;o++)n[o]=3;for(o=103090;o<=103093;o++)n[o]=1;for(o=103097;o<=103099;o++)n[o]=1;for(o=103100;o<=103102;o++)n[o]=3;for(o=103107;o<=103109;o++)n[o]=1;for(o=103110;o<=103112;o++)n[o]=3;for(o=103113;o<=103116;o++)n[o]=1;for(o=103117;o<=103120;o++)n[o]=3;for(o=103153;o<=103157;o++)n[o]=1;for(o=103158;o<=103162;o++)n[o]=3;for(o=103163;o<=103165;o++)n[o]=1;for(o=103166;o<=103168;o++)n[o]=2;for(o=103169;o<=103171;o++)n[o]=3;for(o=103186;o<=103188;o++)n[o]=1;for(o=103189;o<=103191;o++)n[o]=3;for(o=103192;o<=103195;o++)n[o]=1;for(o=103196;o<=103199;o++)n[o]=3;for(o=103200;o<=103224;o++)n[o]=1;for(o=103225;o<=103227;o++)n[o]=2;for(o=103232;o<=103237;o++)n[o]=1;for(o=103238;o<=103243;o++)n[o]=3;for(o=103244;o<=103246;o++)n[o]=1;for(o=103247;o<=103249;o++)n[o]=3;for(o=103254;o<=103256;o++)n[o]=1;for(o=103257;o<=103259;o++)n[o]=3;for(o=103264;o<=103266;o++)n[o]=1;for(o=103267;o<=103269;o++)n[o]=3;for(o=103300;o<=103375;o++)n[o]=1;for(o=103381;o<=103383;o++)n[o]=1;for(o=103384;o<=103386;o++)n[o]=2;for(o=103387;o<=103389;o++)n[o]=1;for(o=103390;o<=103392;o++)n[o]=3;for(o=103397;o<=103399;o++)n[o]=1;for(o=103400;o<=103471;o++)n[o]=3;for(o=103476;o<=103478;o++)n[o]=1;for(o=103479;o<=103481;o++)n[o]=3;for(o=103486;o<=103488;o++)n[o]=1;for(o=103489;o<=103491;o++)n[o]=3;for(o=103492;o<=103495;o++)n[o]=1;for(o=103496;o<=103499;o++)n[o]=3;for(o=103528;o<=103543;o++)n[o]=1;for(o=103544;o<=103548;o++)n[o]=3;for(o=103549;o<=103551;o++)n[o]=1;for(o=103552;o<=103554;o++)n[o]=2;for(o=103555;o<=103557;o++)n[o]=3;for(o=103558;o<=103560;o++)n[o]=1;for(o=103571;o<=103573;o++)n[o]=1;for(o=103574;o<=103576;o++)n[o]=3;for(o=103577;o<=103580;o++)n[o]=1;for(o=103581;o<=103583;o++)n[o]=3;for(o=103595;o<=103694;o++)n[o]=1;for(o=103696;o<=103699;o++)n[o]=1;for(o=103700;o<=103793;o++)n[o]=3;for(o=103794;o<=103890;o++)n[o]=1;for(o=103891;o<=103896;o++)n[o]=3;for(o=103900;o<=103971;o++)n[o]=3;for(o=103972;o<=103977;o++)n[o]=1;for(o=103983;o<=103985;o++)n[o]=1;for(o=112e3;o<=112101;o++)n[o]=1;for(o=112151;o<=112156;o++)n[o]=1;for(o=112201;o<=112210;o++)n[o]=1;for(o=112212;o<=112235;o++)n[o]=1},21325(e,t,r){r.d(t,{EA:()=>p,K8:()=>h,KK:()=>U,Mc:()=>a,Vp:()=>_,YX:()=>P,ZL:()=>g,aI:()=>u,ch:()=>O,d9:()=>S,fn:()=>M,jp:()=>E,oT:()=>d,r1:()=>T,tQ:()=>A,tl:()=>y,x1:()=>m});var o=r(799),n=(r(83290),r(22530));const i=[102100,102113,3857,3785,900913],s=[4326,...i,104905,104971,104903],a=[-20037508.342788905,20037508.342788905],f=[-20037508.342787,20037508.342787],l={wkTemplate:'PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]',valid:a,origin:f,dx:1e-5},c={102113:{wkTemplate:'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]',valid:a,origin:f,dx:1e-5},102100:l,3785:{wkTemplate:'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]',valid:a,origin:f,dx:1e-5},3857:l,4326:{wkTemplate:'GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",{Central_Meridian}],UNIT["Degree",0.0174532925199433]]',altTemplate:'PROJCS["WGS_1984_Plate_Carree",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Plate_Carree"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],UNIT["Degrees",111319.491]]',valid:[-180,180],origin:[-180,90],dx:1e-5},104971:{wkTemplate:'GEOGCS["Mars_2000_(Sphere)",DATUM["Mars_2000_(Sphere)",SPHEROID["Mars_2000_(Sphere)",3396190.0,0.0]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]',valid:[-180,180],origin:[-180,90],dx:1e-5},104905:{wkTemplate:'GEOGCS["GCS_Mars_2000",DATUM["D_Mars_2000",SPHEROID["Mars_2000_IAU_IAG",3396190.0,169.8944472236118]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]',valid:[-180,180],origin:[-180,90],dx:1e-5},900913:l,104903:{wkTemplate:'GEOGCS["GCS_Moon_2000",DATUM["D_Moon_2000",SPHEROID["Moon_2000_IAU_IAG",1737400,0,AUTHORITY["ESRI","107903"]],AUTHORITY["ESRI","106903"]],PRIMEM["Reference_Meridian",0,AUTHORITY["ESRI","108900"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["ESRI","104903"]]',valid:[-180,180],origin:[-180,90],dx:1e-5}};function u(e,t){if(e===t)return!0;if(null==e||null==t)return!1;const r=e.wkid,o=t.wkid;if(null!=r||null!=o){if(r===o)return!0;if(h(e)&&h(t))return!0;const n=e.latestWkid;if(null!=n&&o===n)return!0;const i=t.latestWkid;if(null!=i&&r===i)return!0;if(null!=r&&null!=o)return!1}let n,i;return e.wkt2&&t.wkt2?(n=e.wkt2,i=t.wkt2):e.wkt&&t.wkt&&(n=e.wkt,i=t.wkt),!(!n||!i)&&n.toUpperCase()===i.toUpperCase()}function _(e){const t=e?.wkid;return null!=t&&t>=2e3&&c[t]||null}function P(e){if(!e)return;const{wkid:t,vcsWkid:r,falseM:o,falseX:n,falseY:i,falseZ:s,mTolerance:a,mUnits:f,xyTolerance:l,xyUnits:c,zTolerance:u,zUnits:_}=e;if(t&&[r,o,n,i,s,a,f,l,c,u,_].every(e=>null==e))return String(t);const P={wkid:t,wkt:t?void 0:e.wkt||e.wkt2,vcsWkid:r,falseM:o,falseX:n,falseY:i,falseZ:s,mTolerance:a,mUnits:f,xyTolerance:l,xyUnits:c,zTolerance:u,zUnits:_};for(const[e,t]of Object.entries(P))null===t&&delete P[e];return JSON.stringify(P)}function p(e){if(!M(e))return!1;const{wkid:t}=e;if(t)return null==n.A[t];const r=e.wkt2||e.wkt;return!!r&&/^\s*(?:GEOGCS|GEOGCRS|GEOGRAPHICCRS)/i.test(r)}function d(e){return 4326===e?.wkid}function E(e){return/^\s*(?:GEOD|GEODETIC|GEOG|GEOGRAPHIC|PROJ|PROJECTED|VERT|VERTICAL|ENG|ENGINEERING|PARAMETRIC|TIME|DERIVEDPROJ|COMPOUND|BOUND)CRS/i.test(e)}function m(e){return 4490===e?.wkid}function h(e){const t=e?.wkid;return null!=t&&t>=2e3&&i.includes(t)}function T(e){return 32662===e?.wkid}function y(e){return 104971===e||104905===e}function g(e){return 104903===e}function S(e){const t=e?.wkid;return null!=t&&t>=2e3&&s.includes(t)}function M(e){if(null==e)return!1;const t=e.wkid;return null!=t&&t>=2e3||null!=e.wkt2||null!=e.wkt}const U={wkid:4326,wkt:(0,o.HC)(c[4326].wkTemplate,{Central_Meridian:"0.0"})},O={wkid:102100,latestWkid:3857},A={wkid:32662}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3931,5611,6061,6312,8125,9169,9285],{61691(t,e,n){n.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,n){n.d(e,{S:()=>s});var r=n(61691);class s extends r.G{constructor(t){super(),this.m_iGeom=-1,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}}},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>a});const a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:s,create:r,fromValues:function(t,e,n,r,s,a,i,o,u,h,c,l,f,m,g,x){return[t,e,n,r,s,a,i,o,u,h,c,l,f,m,g,x]}},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>b,Bw:()=>a,C:()=>i,Cc:()=>V,DI:()=>E,Il:()=>L,Io:()=>y,Ln:()=>d,Om:()=>I,Qr:()=>l,Re:()=>h,S8:()=>P,T9:()=>x,WQ:()=>u,Z0:()=>A,_S:()=>m,aI:()=>F,ei:()=>Z,fw:()=>w,g7:()=>O,gL:()=>_,hG:()=>M,hZ:()=>o,hs:()=>p,jb:()=>T,jk:()=>g,lo:()=>k,lw:()=>c,m3:()=>v,oW:()=>N,t2:()=>Y,tn:()=>f,uE:()=>B,xg:()=>z,ze:()=>C});var r=n(51850),s=n(34304);function a(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function o(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function h(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function l(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function f(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function m(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function x(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function p(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function d(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function y(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+r*r+s*s)}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return n*n+r*r+s*s}function v(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function C(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function E(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function P(t,e){const n=e[0],r=e[1],s=e[2];let a=n*n+r*r+s*s;return a>0&&(a=1/Math.sqrt(a),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a),t}function I(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function b(t,e,n){const r=e[0],s=e[1],a=e[2],i=n[0],o=n[1],u=n[2];return t[0]=s*u-a*o,t[1]=a*i-r*u,t[2]=r*o-s*i,t}function V(t,e,n,r){const s=e[0],a=e[1],i=e[2];return t[0]=s+r*(n[0]-s),t[1]=a+r*(n[1]-a),t[2]=i+r*(n[2]-i),t}function A(t,e,n){const r=e[0],s=e[1],a=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*a+n[12],t[1]=n[1]*r+n[5]*s+n[9]*a+n[13],t[2]=n[2]*r+n[6]*s+n[10]*a+n[14],t}function Z(t,e,n){const r=e[0],s=e[1],a=e[2];return t[0]=r*n[0]+s*n[3]+a*n[6],t[1]=r*n[1]+s*n[4]+a*n[7],t[2]=r*n[2]+s*n[5]+a*n[8],t}function _(t,e,n){return w(t,e,n[0],n[1],n[2],n[3])}function w(t,e,n,r,s,a){const i=e[0],o=e[1],u=e[2],h=r*u-s*o,c=s*i-n*u,l=n*o-r*i,f=r*l-s*c,m=s*h-n*l,g=n*c-r*h,x=2*a;return t[0]=i+h*x+2*f,t[1]=o+c*x+2*m,t[2]=u+l*x+2*g,t}function O(t,e){P(S,t),P(R,e);const n=I(S,R);return n>1?0:n<-1?Math.PI:Math.acos(n)}const S=(0,r.vt)(),R=(0,r.vt)();function Y(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function F(t,e){if(t===e)return!0;const n=t[0],r=t[1],a=t[2],i=e[0],o=e[1],u=e[2],h=(0,s.FD)();return Math.abs(n-i)<=h*Math.max(1,Math.abs(n),Math.abs(i))&&Math.abs(r-o)<=h*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(a-u)<=h*Math.max(1,Math.abs(a),Math.abs(u))}function N(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],a=n[2]-e[2];let i=r*r+s*s+a*a;return i>0?(i=1/Math.sqrt(i),t[0]=r*i,t[1]=s*i,t[2]=a*i,t):(t[0]=0,t[1]=0,t[2]=0,t)}const T=h,X=c,G=l,z=y,k=M,L=a,B=v;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:O,bezier:function(t,e,n,r,s,a){const i=1-a,o=i*i,u=a*a,h=o*i,c=3*a*o,l=3*u*i,f=u*a;return t[0]=e[0]*h+n[0]*c+r[0]*l+s[0]*f,t[1]=e[1]*h+n[1]*c+r[1]*l+s[1]*f,t[2]=e[2]*h+n[2]*c+r[2]*l+s[2]*f,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:i,cross:b,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],a=e[2],i=n[0],o=n[1],u=n[2],h=s*u-a*o,c=a*i-r*u,l=r*o-s*i,f=Math.sqrt(h*h+c*c+l*l);return t[0]=h/f,t[1]=c/f,t[2]=l/f,t},direction:N,dist:z,distance:y,div:G,divide:l,dot:I,equals:F,exactEquals:Y,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,s,a){const i=a*a,o=i*(2*a-3)+1,u=i*(a-2)+a,h=i*(a-1),c=i*(3-2*a);return t[0]=e[0]*o+n[0]*u+r[0]*h+s[0]*c,t[1]=e[1]*o+n[1]*u+r[1]*h+s[1]*c,t[2]=e[2]*o+n[2]*u+r[2]*h+s[2]*c,t},inverse:E,len:L,length:a,lerp:V,max:x,min:g,mul:X,multiply:c,negate:C,normalize:P,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,a=2*n()-1,i=Math.sqrt(1-a*a)*e;return t[0]=Math.cos(r)*i,t[1]=Math.sin(r)*i,t[2]=a*e,t},rotateX:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[0],a[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),a[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),a[1]=s[1],a[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),a[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),a[2]=s[2],t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:p,scaleAndAdd:d,set:o,sign:m,sqrDist:k,sqrLen:B,squaredDistance:M,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:T,subtract:h,transformMat3:Z,transformMat4:A,transformQuat:_,transformQuatValues:w},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>i,RS:()=>s,Ul:()=>m,i5:()=>f,lM:()=>a,qK:()=>c});var r=n(34275);const s=16;function a(t){if(!t)return 0;let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=o(t[n],!1));return e}function i(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let n=l;for(let r=0;r<e;r++)n+=o(t[r]);return n}(t);let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=o(t[n]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?i(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+f:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return l+t.length*e}const c=32,l=16,f=145,m=64},87992(t,e,n){n.d(e,{JR:()=>b,ME:()=>E,MY:()=>V,NO:()=>C,Nh:()=>I,V2:()=>O,_s:()=>S,e6:()=>Y,gh:()=>P,tr:()=>N,uX:()=>p});var r=n(5482),s=n(69397),a=n(16930),i=(n(70328),n(19419)),o=n(60408),u=n(21325),h=n(513),c=n(50954),l=n(79567),f=n(52006),m=n(49663),g=n(46068),x=n(92722);class p{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:a,partCount:i,partOffsets:o,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:l,segmentCountArc:f,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=a,this.partCount=i,this.partOffsets=o,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:n}=this;return t&&t-e-n}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 null!=this.segmentFlags}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+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:n,hasZ:r,hasM:s,segmentCountArc:a,segmentCountBezier:i}=this,o=O(t,e,n,r,s,this.hasCurves(),a,i);o.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(o.vertexXY.set(u.subarray(0,2*e),0),o.vertexZ?.set(h.subarray(0,e),0),o.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,n+1)),o.partOffsets.set(t.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(n.subarray(0,e),0),o.segmentParams.set(r.subarray(0,s),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,u.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 n=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,n)=>Math.abs(t-n)>e||isNaN(t)!==isNaN(n);for(let e=0;e<this.vertexCount;++e)if(n(this.vertexXY[2*e],t.vertexXY[2*e])||n(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(n(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(n(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new d(this):[][Symbol.iterator]()}}class d{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=_(t),this._segments=new M(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 M{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(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 v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=_(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 n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[n++],r=e[n++],s=e[n++],a=e[n++];return{b:[this.end,[t,r],[s,a]]}}const r=e[n++],s=e[n++],a=e[n++],i=e[n++],o=e[n++],u=e[n++];n++,n++;const h=e[n++],c=e[n++];if(!Boolean(4&r)&&1===a)return{c:[this.end,[h,c]]};const l=2&r?0:1,f=1&r?0:1;return{a:[this.end,[o,u],l,f,i,s,a]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,i.Ie)(),(0,r.mS)(n,new A(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:a,vertexM:o}=t,u=Z(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new A(t,["vertexZ","vertexM"]),!1);const s=(0,i.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,l.e)(s,t,n),t=(0,f.yP)(n)}const[a,o,h,c]=s;e={xmin:a,ymin:o,xmax:h,ymax:c,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,a,i;t=r=1/0,a=i=-1/0;for(let e=0;e<n;++e){const n=s[2*e],o=s[2*e+1];t=Math.min(t,n),a=Math.max(a,n),r=Math.min(r,o),i=Math.max(i,o)}e={xmin:t,ymin:r,xmax:a,ymax:i,spatialReference:u}}if(a){let t=1/0,n=-1/0;for(const e of a)t=Math.min(t,e),n=Math.max(n,e);e.zmin=t,e.zmax=n}if(o){let t=1/0,n=-1/0;for(const e of o)t=Math.min(t,e),n=Math.max(n,e);e.mmin=t,e.mmax=n}return e}(t)),e}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}function E(t){let e,n,r;if((0,o.fT)(t)){r="point";const{x:s,y:a,z:i,m:o}=t,u=[s,a];null!=i&&u.push(i),null!=o&&u.push(o),n=[[u]],e=1}else(0,o.U9)(t)?(r="multipoint",n=[t.points],e=t.points.length):(0,o.Rg)(t)?(r="polyline",n=t.curvePaths??t.paths,e=n.reduce((t,e)=>t+e.length,0)):(r="polygon",n=t.curveRings??t.rings,e=n.reduce((t,e)=>(0===e.length||(t+=e.length,w(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const s=O(r,e,r.includes("point")?0:n.length,(0,o.Pv)(t),(0,o.W0)(t),(0,f.Ed)(t)),{hasZ:a,hasM:i,vertexXY:u,vertexZ:h,vertexM:c}=s;function l(t){u[2*g]=t[0],u[2*g+1]=t[1],a&&(h[g]=t[2]),i&&(c[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!a&&!i){for(const[t,e]of n[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of n[0])l(t);return s}const x="polygon"===r,{partOffsets:p}=s;let d=0;if(!s.hasCurves()){for(const t of n){if(p[d++]=g,0===t.length)continue;let e=t.length;if(x&&w(t[0],t.at(-1))&&--e,a||i)for(let n=0;n<e;++n)l(t[n]);else for(let n=0;n<e;++n){const[e,r]=t[n];u[2*g]=e,u[2*g+1]=r,++g}}return p[d]=g,s}function y(t){const e=M+t;if(e<=(s.segmentParams?.length??0))return;let n=e*T;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let M=0;for(const t of n){if(s.partOffsets[d++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];l(n);const a=g-1;(0,f.wY)(r)?(y(10),++s.segmentCountArc,M=S(n,r,s,a,M),n=r.a[0]):(0,f.DA)(r)?(y(10),++s.segmentCountArc,M=R(n,r,s,a,M),n=r.a[0]):(0,f.aO)(r)?(y(10),++s.segmentCountArc,M=Y(n,r,s,a,M),n=r.c[0]):(0,f.n1)(r)?(y(4),++s.segmentCountBezier,M=N(0,r,s,a,M),n=r.b[0]):n=r}x&&w(e,n)||l(n)}return s.partOffsets[d]=g,s}function P(t){const e=_(t),{vertexCount:n,partCount:r,hasZ:s,hasM:a}=t,i=Z(t);if("point"===t.type){const[e,n]=t.vertexXY,r=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:n,z:r,m:s,spatialReference:i}}let o=0;if("multipoint"===t.type){const t=[];for(;o<n;)t.push(e(o++));return{points:t,spatialReference:i,hasZ:s,hasM:a}}const u="polygon"===t.type;if(!t.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=t.partOffsets[s+1],a=new Array;for(;o<r;)a.push(e(o++));u&&a.length>0&&a.push(a[0]),n.push(a)}return u?{rings:n,hasZ:s,hasM:a,spatialReference:i}:{paths:n,hasZ:s,hasM:a,spatialReference:i}}const h=new Array;for(const{segments:e,startVertex:n}of t.parts){const t=[n];for(const{curve:n}of e)t.push(n);h.push(t)}return u?{rings:[],curveRings:h,hasZ:s,hasM:a,spatialReference:i}:{paths:[],curvePaths:h,hasZ:s,hasM:a,spatialReference:i}}function I(t,{lengths:e,coords:n,hasZ:r,hasM:s},a){const i=t.includes("point")?0:e.length,o="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?i:0);r??=!1,s??=!1;const h=O(t,u,i,r,s,!1,0,0);if(h.spatialReference=a??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=n[e++],h.vertexXY[2*t+1]=n[e++],r&&(h.vertexZ[t]=n[e++]),s&&(h.vertexM[t]=n[e++]);return h}const c=2+Number(r)+Number(s);let l=0,f=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[f],a=e+t-Number(o);h.partOffsets[++f]=a;for(let t=e;t<a;++t)h.vertexXY[2*t]=n[l++],h.vertexXY[2*t+1]=n[l++],r&&(h.vertexZ[t]=n[l++]),s&&(h.vertexM[t]=n[l++]);o&&(l+=c)}return h}function b({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:a,partOffsets:i,hasZ:o,hasM:u}){const h=new x.A([],[],o,u);a=Math.max(a,1);const c="polygon"===t;let l=0;for(let t=0;t<a;++t){const a=i?.[t+1]??e,f=h.coords.length;for(let t=l;t<a;++t)h.coords.push(n[2*t],n[2*t+1]),o&&h.coords.push(r[t]),u&&h.coords.push(s[t]);if(c){const t=l;h.coords.push(n[2*t],n[2*t+1]),o&&h.coords.push(r[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-f)/h.stride),l=a}return"point"===t&&(h.lengths.length=0),h}function V(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,n=t.isCustomWkid()?0:t.getOldID();if(n<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===n)&&(r=void 0);const s=t.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:e};const a=s.isCustomWkid()?0:s.getOldID();if(a<=0)return{wkt:e};let i=t.getLatestVerticalID();return(i<=0||i===a)&&(i=void 0),{wkid:n,wkt:e,latestWkid:r,vcsWkid:a,latestVcsWkid:i}}(t.getSpatialReference()),t=t.getGeometry()),new p({...t.toFlatGeometry(),spatialReference:e})}class A{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const n of e)t[n]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function Z({spatialReference:t}){return t instanceof a.A?t.toJSON():t}function _({vertexXY:t,vertexZ:e,vertexM:n}){return e?n?r=>[t[2*r],t[2*r+1],e[r],n[r]]:n=>[t[2*n],t[2*n+1],e[n]]:n?e=>[t[2*e],t[2*e+1],n[e]]:e=>[t[2*e],t[2*e+1]]}function w(t,e){return t.every((t,n)=>t===e[n])}function O(t,e,n,r,s,a,i,o){i??=0,o??=0;const u=new p({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:i,segmentCountBezier:o});let h=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(h+=Float64Array.BYTES_PER_ELEMENT*e),s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(n+1)*Int32Array.BYTES_PER_ELEMENT,h+=(n+1)*Int8Array.BYTES_PER_ELEMENT),a&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let l=0;return u.vertexXY=new Float64Array(c,l,2*e),l+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(c,l,e),l+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(c,l,e),l+=u.vertexM.byteLength),a&&(u.segmentParams=new Float64Array(c,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,l,e),u.segmentIndices.fill(X),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,l,n+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,l,n+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),a&&(u.segmentFlags=new Int8Array(c,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function S(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){n[a]=4,r[a]=i;const[o,[u,h],c,l,f,m,x]=e.a;let p=4;l||(p|=1),c||(p|=2);const d=(0,g.SW)(t,e),[y,M]=(0,g.Uk)(d,.5);return s[i++]=p,s[i++]=m,s[i++]=x,s[i++]=f,s[i++]=u,s[i++]=h,s[i++]=d.u2-d.u1,s[i++]=d.u1,s[i++]=y,s[i++]=M,i}function R(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){n[a]=4,r[a]=i;const o=(0,m.io)(t,e);return F(o,4,...(0,h.mq)(o,.5),s,i)}function Y(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){return n[a]=4,r[a]=i,F((0,c.pM)(t,e),0,...e.c[1],s,i)}function F(t,e,n,r,s,a){const{cx:i,cy:o,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),s[a++]=e,s[a++]=c,s[a++]=1,s[a++]=0,s[a++]=i,s[a++]=o,s[a++]=h-u,s[a++]=u,s[a++]=n,s[a++]=r,a}function N(t,{b:[e,[n,r],[s,a]]},{segmentFlags:i,segmentIndices:o,segmentParams:u},h,c){return i[h]=2,o[h]=c,u[c++]=n,u[c++]=r,u[c++]=s,u[c++]=a,c}const T=1.61803,X=-1},78125(t,e,n){n.r(e),n.d(e,{fromExtent:()=>p,fromGeometry:()=>x,fromMultipoint:()=>d,fromPoint:()=>y,fromPolygon:()=>M,fromPolyline:()=>v,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>g,toExtent:()=>I,toGeometry:()=>P,toMultipoint:()=>b,toPoint:()=>V,toPolygon:()=>A,toPolyline:()=>Z});var r=n(83661),s=(n(79187),n(55537)),a=n(95213),i=n(88885),o=n(5443),u=n(48526),h=n(86738),c=n(39829),l=n(82799),f=(n(90293),n(83299));const m="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function x(t){switch(t.type){case"point":return y(t);case"multipoint":return d(t);case"polyline":return v(t);case"polygon":return M(t);case"extent":return p(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function p(t){if(!t.getCacheValue(m)){const e=new a.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(m,e)}return t.getCacheValue(m)}function d(t){if(!t.getCacheValue(m)){const e=new i.M,n=new a.P,r=t.points,s=t.hasM,o=t.hasZ,u=o?3:2;for(let t=0,a=r.length;t<a;t++){const a=r[t];n.setXYCoords(a[0],a[1]),o&&n.setZ(a[2]??0),s&&n.setM(a[u]??NaN),e.add(n)}t.setCacheValue(m,e)}return t.getCacheValue(m)}function y(t){if(!t.getCacheValue(m)){const e=new a.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(m,e)}return t.getCacheValue(m)}function M(t){if(!t.getCacheValue(m)){const{curveRings:e,hasM:n,hasZ:r,rings:s}=t,a=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:n,hasZ:r,rings:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function v(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,a=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function C(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,a=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function E(t){return t.cache?(t.cache[m]??=(0,f.fromSpatialReference)(t),t.cache[m]):(0,f.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return V(t,e);case s.G.enumEnvelope:return I(t,e);case s.G.enumMultiPoint:return b(t,e);case s.G.enumPolyline:return Z(t,e);case s.G.enumPolygon:return A(t,e)}return null}function I(t,e){if(t.isEmpty())return null;const n=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),r=t.getDescription();if(r.hasM()){const e=t.queryInterval(2,0);n.mmin=e.vmin,n.mmax=e.vmax}if(r.hasZ()){const e=t.queryInterval(1,0);n.zmin=e.vmin,n.zmax=e.vmax}return n.setCacheValue(m,t),n}function b(t,e){if(t.isEmpty())return null;const n=t.getDescription(),r=n.hasM(),s=n.hasZ(),i=[],o=new a.P;for(let e=0,n=t.getPointCount();e<n;e++){t.getPointByVal(e,o);const n=[o.getX(),o.getY()];s&&n.push(o.getZ()),r&&n.push(o.getM()),i.push(n)}const h=new u.A({hasM:r,hasZ:s,points:i,spatialReference:e});return h.setCacheValue(m,t),h}function V(t,e){if(t instanceof r.P)return new h.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const n=new h.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(n.m=t.getM()),s.hasZ()&&(n.z=t.getZ()),n.setCacheValue(m,t),n}function A(t,e){if(t.isEmpty())return null;const n=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}function Z(t,e){if(t.isEmpty())return null;const n=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}},4197(t,e,n){n.d(e,{Vj:()=>u,cj:()=>o,jh:()=>a,l5:()=>i});var r=n(34275),s=n(9093);function a(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function i(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function o(t){return[...t]}function u(t){const e=(0,s.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},70328(t,e,n){n.d(e,{BI:()=>M,DC:()=>l,Ej:()=>m,Ie:()=>d,Jt:()=>y,Ne:()=>g,RF:()=>c,aI:()=>C,fA:()=>i,gE:()=>u,hZ:()=>p,iT:()=>f,is:()=>v,qv:()=>E,vI:()=>x,vY:()=>o,v_:()=>P,vt:()=>a,w1:()=>h}),n(35522);var r=n(5443),s=(n(19419),n(4197));function a(t=P){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function i(t,e,n,r,s,i,o=a()){return o[0]=t,o[1]=e,o[2]=n,o[3]=r,o[4]=s,o[5]=i,o}function o(t,e=a()){return function(t,e,n,r=a()){return p(r,E),function(t,e,n=0,r=e.length/3){let s=t[0],a=t[1],i=t[2],o=t[3],u=t[4],h=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),a=Math.min(a,e[n+3*t+1]),i=Math.min(i,e[n+3*t+2]),o=Math.max(o,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),h=Math.max(h,e[n+3*t+2]);t[0]=s,t[1]=a,t[2]=i,t[3]=o,t[4]=u,t[5]=h}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,a,i,o,u]=t;return e[0]=n,e[1]=r,e[2]=a,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=o,e[8]=a,e[9]=n,e[10]=o,e[11]=u,e[12]=i,e[13]=r,e[14]=a,e[15]=i,e[16]=r,e[17]=u,e[18]=i,e[19]=o,e[20]=a,e[21]=i,e[22]=o,e[23]=u,e}function h(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function c(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function x(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function d(t){return t?p(t,E):a(E)}function y(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function M(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function C(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],P=[0,0,0,0,0,0];a()},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 a=n-t,i=r-e;return new s([5],[t,e,a,0,0,i,-a,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],a=this.coords[r*e+1];for(let i=1;i<n;i+=1){const n=r*(e+i),o=this.coords[n],u=this.coords[n+1];t+=-.5*(o-s)*(u+a),s=o,a=u}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,a=this.coords.slice(0,r*n);return t?(t.set(a),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(a),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)}}}}]);