@arcgis/core 5.1.0-next.65 → 5.1.0-next.67

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 (524) hide show
  1. package/applications/KnowledgeStudio/generalSdkInternalAccess.d.ts +11 -1
  2. package/applications/KnowledgeStudio/generalSdkInternalAccess.js +1 -1
  3. package/applications/WebEditor/drawToolZSnapping.d.ts +17 -0
  4. package/applications/WebEditor/drawToolZSnapping.js +2 -0
  5. package/arcade/Dictionary.js +1 -1
  6. package/arcade/Feature.js +1 -1
  7. package/arcade/Pixel.js +1 -1
  8. package/arcade/Voxel.js +1 -1
  9. package/assets/esri/core/workers/RemoteClient.js +1 -1
  10. package/assets/esri/core/workers/chunks/01be1315c60810651783.js +1 -0
  11. package/assets/esri/core/workers/chunks/02e8fc598ee09cf1b678.js +1 -0
  12. package/assets/esri/core/workers/chunks/0e90e9ea1ad587eb3495.js +1 -0
  13. package/assets/esri/core/workers/chunks/0f196ec93925dfefc69a.js +1 -0
  14. package/assets/esri/core/workers/chunks/12294f8c32c34788b6de.js +1 -0
  15. package/assets/esri/core/workers/chunks/13a8346abe5509167578.js +1 -0
  16. package/assets/esri/core/workers/chunks/1515824f11ef5ab95378.js +1 -0
  17. package/assets/esri/core/workers/chunks/151c2766a4cacc6adbd6.js +1 -0
  18. package/assets/esri/core/workers/chunks/155f57fe9886ef322e2a.js +1 -0
  19. package/assets/esri/core/workers/chunks/170f4d83555d238e365b.js +1 -0
  20. package/assets/esri/core/workers/chunks/171cca726a763c770469.js +1 -0
  21. package/assets/esri/core/workers/chunks/17445fd8048966617d49.js +1 -0
  22. package/assets/esri/core/workers/chunks/1761dc5799850ca7b66c.js +1 -0
  23. package/assets/esri/core/workers/chunks/17d54e77001ccb48a258.js +1 -0
  24. package/assets/esri/core/workers/chunks/19afacc9a741038e4bfb.js +1 -0
  25. package/assets/esri/core/workers/chunks/1d8777266fb1c5cfca55.js +1 -0
  26. package/assets/esri/core/workers/chunks/1f16bc8c02d8c4b2f693.js +1 -0
  27. package/assets/esri/core/workers/chunks/1f76c06af4682c85bc21.js +1 -0
  28. package/assets/esri/core/workers/chunks/{9eef3cd5f519c8ae88c0.js → 205e957ffd7e95f530f7.js} +1 -1
  29. package/assets/esri/core/workers/chunks/{fa6e1ad099b43a6f5501.js → 21a8e2a11ffacc226e2b.js} +1 -1
  30. package/assets/esri/core/workers/chunks/27262083d37fe623ca9c.js +1 -0
  31. package/assets/esri/core/workers/chunks/2a3145a595d19391bb8a.js +1 -0
  32. package/assets/esri/core/workers/chunks/2a65bbe6c63c384cbf5f.js +1 -0
  33. package/assets/esri/core/workers/chunks/{f550fc8c078ebd47d7a3.js → 2e1aecdf59ad3421bbad.js} +1 -1
  34. package/assets/esri/core/workers/chunks/{811b378fa5bf8a4d3d66.js → 2f8ed1e7c1b10cb30972.js} +1 -1
  35. package/assets/esri/core/workers/chunks/2fa69ca3ba8c442dd7d6.js +1 -0
  36. package/assets/esri/core/workers/chunks/314140e2e9b813191907.js +1 -0
  37. package/assets/esri/core/workers/chunks/32e22d6eee9fed1f70b0.js +1 -0
  38. package/assets/esri/core/workers/chunks/38816f95e801f1c5bbad.js +1 -0
  39. package/assets/esri/core/workers/chunks/3d9032217347dadcbe41.js +1 -0
  40. package/assets/esri/core/workers/chunks/3f8e8f83ebda07d29ca8.js +1 -0
  41. package/assets/esri/core/workers/chunks/41396724040180d2537f.js +1 -0
  42. package/assets/esri/core/workers/chunks/{66baacbef23291eab853.js → 413d2fa54508e6f42c74.js} +1 -1
  43. package/assets/esri/core/workers/chunks/41e59d75ccb51a238739.js +1 -0
  44. package/assets/esri/core/workers/chunks/44016e1176629c36bc11.js +1 -0
  45. package/assets/esri/core/workers/chunks/4d069a0ebadb9c53b550.js +1 -0
  46. package/assets/esri/core/workers/chunks/4e7b084f7104deea1ddb.js +1 -0
  47. package/assets/esri/core/workers/chunks/4fd1bf82939e3bb9bc03.js +1 -0
  48. package/assets/esri/core/workers/chunks/{9c72127de7afcbaafbaf.js → 51852ef71ac04954fdae.js} +1 -1
  49. package/assets/esri/core/workers/chunks/549a51dedcc49f366e53.js +1 -0
  50. package/assets/esri/core/workers/chunks/{42e084704dea6e4135b6.js → 54c0306082d30d59cba2.js} +1 -1
  51. package/assets/esri/core/workers/chunks/56036327e721f9c42b33.js +1 -0
  52. package/assets/esri/core/workers/chunks/57cdd5d4ae073d5ca725.js +1 -0
  53. package/assets/esri/core/workers/chunks/5b9257c5359fa05f4f28.js +1 -0
  54. package/assets/esri/core/workers/chunks/5d574079f0e96e883aab.js +1 -0
  55. package/assets/esri/core/workers/chunks/5d967bcf71c05ddb1ab6.js +1 -0
  56. package/assets/esri/core/workers/chunks/5fccb372b4d5ee2f64cc.js +1 -0
  57. package/assets/esri/core/workers/chunks/61778185d702da468b00.js +1 -0
  58. package/assets/esri/core/workers/chunks/61794a861a9209b72622.js +1 -0
  59. package/assets/esri/core/workers/chunks/61b49cdaf288f36f9288.js +1 -0
  60. package/assets/esri/core/workers/chunks/{8ea67b502f9355dab7e9.js → 621ea864e2774f160d1c.js} +1 -1
  61. package/assets/esri/core/workers/chunks/644dd906bee3ef465ec0.js +1 -0
  62. package/assets/esri/core/workers/chunks/679086351352756b33c9.js +1 -0
  63. package/assets/esri/core/workers/chunks/681e97ebbf9c69c410c6.js +1 -0
  64. package/assets/esri/core/workers/chunks/684ea7f75a7a5fb52cde.js +1 -0
  65. package/assets/esri/core/workers/chunks/69520cad347947b09f21.js +1 -0
  66. package/assets/esri/core/workers/chunks/{c86b15f6a18880f921cd.js → 6a567755b67c06d16f21.js} +1 -1
  67. package/assets/esri/core/workers/chunks/{45f1e682668cffc00b44.js → 6c40b3c2b9071edb758d.js} +1 -1
  68. package/assets/esri/core/workers/chunks/{fdf4c1f202cfddf0f226.js → 6d11ec355e5474b2968b.js} +1 -1
  69. package/assets/esri/core/workers/chunks/6e7bb6d3e739527116a4.js +1 -0
  70. package/assets/esri/core/workers/chunks/6ef3b8d67b498d655a99.js +1 -0
  71. package/assets/esri/core/workers/chunks/751f3cfb000045ac78bb.js +1 -0
  72. package/assets/esri/core/workers/chunks/{64ad6130de549083caba.js → 789357e0f79823f145dd.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{b6d94cbd1c5adad2f247.js → 78fbfc03d9b827c3f767.js} +1 -1
  74. package/assets/esri/core/workers/chunks/79df97e3f5975b42dc4d.js +1 -0
  75. package/assets/esri/core/workers/chunks/{25e4568a3ff76f48ac5e.js → 7a56c836c89a8b978800.js} +1 -1
  76. package/assets/esri/core/workers/chunks/{af40e2e6eaf3d2226812.js → 7d73472696ec76458758.js} +1 -1
  77. package/assets/esri/core/workers/chunks/7e9b790fe01b89acdf6d.js +1 -0
  78. package/assets/esri/core/workers/chunks/7fb9a5bc22d7581f1d20.js +1 -0
  79. package/assets/esri/core/workers/chunks/{5c1abb46b9937a050c32.js → 7ffcd308087c35adda04.js} +1 -1
  80. package/assets/esri/core/workers/chunks/84eb889b9cce35dac2e5.js +1 -0
  81. package/assets/esri/core/workers/chunks/891d97d0da6361d63679.js +1 -0
  82. package/assets/esri/core/workers/chunks/8a0f254d45d00b293479.js +1 -0
  83. package/assets/esri/core/workers/chunks/8ede12f54b215c52cf3c.js +1 -0
  84. package/assets/esri/core/workers/chunks/8fed6becd107d2ed9bbd.js +1 -0
  85. package/assets/esri/core/workers/chunks/90cef6f96df7dc27db39.js +1 -0
  86. package/assets/esri/core/workers/chunks/921c30b7f4dfc3e018d9.js +1 -0
  87. package/assets/esri/core/workers/chunks/927773ed23b1fc245bf7.js +1 -0
  88. package/assets/esri/core/workers/chunks/{b056b4c79bcd542dd1d2.js → 9622a83b29acb768fcb5.js} +1 -1
  89. package/assets/esri/core/workers/chunks/97062996e1e4196cfa7c.js +1 -0
  90. package/assets/esri/core/workers/chunks/97210bcb5e3cf3ac961b.js +1 -0
  91. package/assets/esri/core/workers/chunks/9c819ebdc98ed8b6afcf.js +1 -0
  92. package/assets/esri/core/workers/chunks/9dfd00972c12a4adc15d.js +1 -0
  93. package/assets/esri/core/workers/chunks/9fab410b9fa668dc498b.js +1 -0
  94. package/assets/esri/core/workers/chunks/a118de5a163ae42bee60.js +1 -0
  95. package/assets/esri/core/workers/chunks/a4b6fdbc995be03d2afb.js +1 -0
  96. package/assets/esri/core/workers/chunks/a59db907ec1e31002100.js +1 -0
  97. package/assets/esri/core/workers/chunks/a5b395e518e4c5fc95d0.js +1414 -0
  98. package/assets/esri/core/workers/chunks/a5d9dbb1fef8c4465943.js +1 -0
  99. package/assets/esri/core/workers/chunks/{62c2757f5dc4aaca2df8.js → a73e8b80760dc88f926f.js} +1 -1
  100. package/assets/esri/core/workers/chunks/{32e9e92bbbd000fbbaf7.js → a8ef9ed9b59de95f2b23.js} +2 -2
  101. package/assets/esri/core/workers/chunks/a96692514dcaa50340dd.js +1 -0
  102. package/assets/esri/core/workers/chunks/{0f3b8a08f843a080af0d.js → abd5c1d4b7b91d9ea1eb.js} +1 -1
  103. package/assets/esri/core/workers/chunks/af007ec833ab49e4c958.js +1 -0
  104. package/assets/esri/core/workers/chunks/afea4a4b072c329d3749.js +1 -0
  105. package/assets/esri/core/workers/chunks/b4fb4484fa39eede1f62.js +1 -0
  106. package/assets/esri/core/workers/chunks/b50a42a9f96515beb929.js +1 -0
  107. package/assets/esri/core/workers/chunks/{4eca871ca51a59f6540a.js → b5648a0b92cf1a2c81ad.js} +1 -1
  108. package/assets/esri/core/workers/chunks/b8bf3e8b8b870f69f231.js +1 -0
  109. package/assets/esri/core/workers/chunks/b8e85b7d5eed6e7c79b5.js +1 -0
  110. package/assets/esri/core/workers/chunks/{fd629a3ab558adf52617.js → bc2c7cb99e227ddbd3a6.js} +1 -1
  111. package/assets/esri/core/workers/chunks/bc85bb82cfcbc216fa31.js +1 -0
  112. package/assets/esri/core/workers/chunks/be1e4c3ec53fc92a26f1.js +1 -0
  113. package/assets/esri/core/workers/chunks/be4d13088a557b7de4b1.js +1 -0
  114. package/assets/esri/core/workers/chunks/bf758d57091fa534c1f8.js +1 -0
  115. package/assets/esri/core/workers/chunks/bfd516c37fb717e14d71.js +1 -0
  116. package/assets/esri/core/workers/chunks/c22945637a40355fbe61.js +1 -0
  117. package/assets/esri/core/workers/chunks/c25a58d9f94aaa96957d.js +1 -0
  118. package/assets/esri/core/workers/chunks/c4e936879c6cb25cf586.js +1 -0
  119. package/assets/esri/core/workers/chunks/c6a43f748dbf8bac4bb5.js +1 -0
  120. package/assets/esri/core/workers/chunks/c9461568e1002ebac534.js +1 -0
  121. package/assets/esri/core/workers/chunks/cb9185ed31109781fe59.js +1 -0
  122. package/assets/esri/core/workers/chunks/d21fdd67477800101f3b.js +1 -0
  123. package/assets/esri/core/workers/chunks/d264aed5dbe09e34040f.js +1 -0
  124. package/assets/esri/core/workers/chunks/d315098b038a96084ff5.js +1 -0
  125. package/assets/esri/core/workers/chunks/d4465fd3319d0b6a26cc.js +1 -0
  126. package/assets/esri/core/workers/chunks/{13eb0162d95b4d27389c.js → d598d08dbf2796742e8c.js} +1 -1
  127. package/assets/esri/core/workers/chunks/d5c7ebfd5c2ca635a7a8.js +1 -0
  128. package/assets/esri/core/workers/chunks/{d4368e281c12fa7c17c5.js → d635f97b7b82a37482d6.js} +1 -1
  129. package/assets/esri/core/workers/chunks/d7b92bd9198dd3b27eb5.js +1 -0
  130. package/assets/esri/core/workers/chunks/d83ac66478a419e08af6.js +1 -0
  131. package/assets/esri/core/workers/chunks/d8dde0d1759e009b8373.js +1 -0
  132. package/assets/esri/core/workers/chunks/d94dfb2ce31e59b3306b.js +1 -0
  133. package/assets/esri/core/workers/chunks/e0fcb5fa0e9f21fde2b6.js +1 -0
  134. package/assets/esri/core/workers/chunks/{9d289cee96e7c7fe1029.js → e268e5be096392c2e69b.js} +1 -1
  135. package/assets/esri/core/workers/chunks/e305ced975d885c28e7e.js +1 -0
  136. package/assets/esri/core/workers/chunks/e3c60b7df2740e600066.js +1 -0
  137. package/assets/esri/core/workers/chunks/e611cd03eee4fae7c413.js +1 -0
  138. package/assets/esri/core/workers/chunks/e64a92b6f4075616f40f.js +1 -0
  139. package/assets/esri/core/workers/chunks/e78b442417f6a903b9b1.js +1 -0
  140. package/assets/esri/core/workers/chunks/{ba72989749543122a6fe.js → e9f2b573f482718306e6.js} +1 -1
  141. package/assets/esri/core/workers/chunks/ea6d3b7c7d720aa7bc94.js +1 -0
  142. package/assets/esri/core/workers/chunks/eb7392799a01c2a8497a.js +1 -0
  143. package/assets/esri/core/workers/chunks/{c17c3453d014dc73fe0b.js → ef013a77950c1902de11.js} +1 -1
  144. package/assets/esri/core/workers/chunks/ef0fe4e1a9e960a74c60.js +1 -0
  145. package/assets/esri/core/workers/chunks/efbbcf467b2a27a92b85.js +1 -0
  146. package/assets/esri/core/workers/chunks/f201edf9b68717a6106d.js +1 -0
  147. package/assets/esri/core/workers/chunks/f43a63094190d2074cd0.js +1 -0
  148. package/assets/esri/core/workers/chunks/f59f1db572be1f19887f.js +1 -0
  149. package/assets/esri/core/workers/chunks/{dc07dc1cd30edc0c4193.js → f62e42659b406435573d.js} +1 -1
  150. package/assets/esri/core/workers/chunks/fa160a2a5dc9f5a7c34b.js +1 -0
  151. package/assets/esri/core/workers/chunks/fa7ae035472540999721.js +1 -0
  152. package/assets/esri/core/workers/chunks/fe3b42eadcdd9ba54f05.js +1 -0
  153. package/assets/esri/core/workers/chunks/fee31d9297648219375d.js +1 -0
  154. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_ar.json +1 -1
  155. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_bg.json +1 -1
  156. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_bs.json +1 -1
  157. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_ca.json +1 -1
  158. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_cs.json +1 -1
  159. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_da.json +1 -1
  160. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_de.json +1 -1
  161. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_el.json +1 -1
  162. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_es.json +1 -1
  163. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_et.json +1 -1
  164. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_fi.json +1 -1
  165. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_fr.json +1 -1
  166. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_he.json +1 -1
  167. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_hr.json +1 -1
  168. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_hu.json +1 -1
  169. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_id.json +1 -1
  170. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_it.json +1 -1
  171. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_ja.json +1 -1
  172. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_ko.json +1 -1
  173. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_lt.json +1 -1
  174. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_lv.json +1 -1
  175. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_nl.json +1 -1
  176. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_no.json +1 -1
  177. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_pl.json +1 -1
  178. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_pt-BR.json +1 -1
  179. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_pt-PT.json +1 -1
  180. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_ro.json +1 -1
  181. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_ru.json +1 -1
  182. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_sk.json +1 -1
  183. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_sl.json +1 -1
  184. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_sr.json +1 -1
  185. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_sv.json +1 -1
  186. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_th.json +1 -1
  187. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_tr.json +1 -1
  188. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_uk.json +1 -1
  189. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_vi.json +1 -1
  190. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_zh-CN.json +1 -1
  191. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_zh-HK.json +1 -1
  192. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_zh-TW.json +1 -1
  193. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ar.json +1 -1
  194. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bg.json +1 -1
  195. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bs.json +1 -1
  196. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ca.json +1 -1
  197. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_cs.json +1 -1
  198. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_da.json +1 -1
  199. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_de.json +1 -1
  200. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_el.json +1 -1
  201. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_es.json +1 -1
  202. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_et.json +1 -1
  203. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fi.json +1 -1
  204. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fr.json +1 -1
  205. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_he.json +1 -1
  206. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hr.json +1 -1
  207. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hu.json +1 -1
  208. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_id.json +1 -1
  209. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_it.json +1 -1
  210. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ja.json +1 -1
  211. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ko.json +1 -1
  212. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lt.json +1 -1
  213. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lv.json +1 -1
  214. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_nl.json +1 -1
  215. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_no.json +1 -1
  216. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pl.json +1 -1
  217. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-BR.json +1 -1
  218. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-PT.json +1 -1
  219. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ro.json +1 -1
  220. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ru.json +1 -1
  221. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sk.json +1 -1
  222. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sl.json +1 -1
  223. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sr.json +1 -1
  224. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sv.json +1 -1
  225. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_th.json +1 -1
  226. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_tr.json +1 -1
  227. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_uk.json +1 -1
  228. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_vi.json +1 -1
  229. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-CN.json +1 -1
  230. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-HK.json +1 -1
  231. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-TW.json +1 -1
  232. package/chunks/ComponentShader.glsl.js +1 -1
  233. package/chunks/DefaultMaterial.glsl.js +1 -1
  234. package/chunks/GaussianSplat.glsl.js +13 -3
  235. package/chunks/OITDim.glsl.js +3 -2
  236. package/chunks/Path.glsl.js +1 -1
  237. package/chunks/RealisticTree.glsl.js +1 -1
  238. package/chunks/ShadowCastAccumulate.glsl.js +2 -2
  239. package/chunks/ShadowHighlight.glsl.js +3 -3
  240. package/chunks/ShadowHighlightBuffer.glsl.js +1 -1
  241. package/chunks/Terrain.glsl.js +1 -1
  242. package/chunks/Water.glsl.js +1 -1
  243. package/config.js +1 -1
  244. package/core/timeUtils.js +1 -1
  245. package/core/workers/Connection.js +1 -1
  246. package/form/elements/FieldElement.d.ts +2 -2
  247. package/form/elements/inputs/DateTimeOffsetPickerInput.d.ts +1 -1
  248. package/form/elements/inputs/DateTimeOffsetPickerInput.js +1 -1
  249. package/form/elements/inputs/Input.d.ts +1 -1
  250. package/form/elements/inputs/inputUtils.js +1 -1
  251. package/form/elements/inputs.js +1 -1
  252. package/geometry/support/spatialReferenceUtils.js +1 -1
  253. package/interfaces.d.ts +4 -9
  254. package/intl.js +1 -1
  255. package/kernel.js +1 -1
  256. package/layers/FeatureLayer.d.ts +7 -0
  257. package/layers/FeatureLayer.js +1 -1
  258. package/layers/OrientedImageryLayer.js +1 -1
  259. package/layers/SubtypeGroupLayer.js +1 -1
  260. package/layers/VoxelWasmPerSceneView.js +1 -1
  261. package/layers/graphics/data/AttributesBuilder.js +1 -1
  262. package/layers/mixins/ArcGISImageService.js +1 -1
  263. package/layers/orientedImagery/core/ExposurePoint.js +1 -1
  264. package/layers/orientedImagery/core/utils.js +1 -1
  265. package/layers/raster/datasets/MRFRaster.js +1 -1
  266. package/layers/raster/functions/changeDetectionUtils.js +1 -1
  267. package/layers/support/ExportImageServiceParameters.js +1 -1
  268. package/layers/support/SymbolLayerDrawing.d.ts +15 -0
  269. package/layers/support/SymbolLayerDrawing.js +2 -0
  270. package/networks/UnitIdentifierManager.d.ts +61 -0
  271. package/networks/UnitIdentifierManager.js +1 -1
  272. package/networks/UtilityNetwork.d.ts +0 -60
  273. package/networks/UtilityNetwork.js +1 -1
  274. package/networks/support/jsonTypes.d.ts +36 -11
  275. package/package.json +4 -4
  276. package/popup/Feature.d.ts +14 -4
  277. package/popup/Features.d.ts +88 -242
  278. package/popup/Features.js +1 -1
  279. package/popup/actionUtils.js +2 -0
  280. package/popup/actions.js +2 -0
  281. package/popup/support/FeatureAbilities.d.ts +45 -9
  282. package/popup/types.d.ts +11 -67
  283. package/rest/featureService/types.d.ts +1 -1
  284. package/smartMapping/statistics/support/utils.js +1 -1
  285. package/smartMapping/support/adapters/support/utils.js +1 -1
  286. package/support/basemapDefinitions.js +1 -1
  287. package/support/revision.js +1 -1
  288. package/symbols/cim/cimAnalyzer.js +1 -1
  289. package/symbols/cim/types.d.ts +6 -0
  290. package/views/2d/analysis/AreaMeasurement/AreaMeasurementTool.js +1 -1
  291. package/views/2d/analysis/DistanceMeasurement/DistanceMeasurementTool.js +1 -1
  292. package/views/2d/engine/Stage.js +1 -1
  293. package/views/2d/engine/vectorTiles/VTLPainter3D.js +1 -1
  294. package/views/2d/engine/webgl/AttributeStoreView.js +1 -1
  295. package/views/2d/engine/webgl/FeatureDisplayList.js +1 -1
  296. package/views/2d/engine/webgl/Painter.js +1 -1
  297. package/views/2d/engine/webgl/VideoScreenRenderer.js +1 -1
  298. package/views/2d/engine/webgl/effects/FeatureEffect.js +1 -1
  299. package/views/2d/engine/webgl/effects/HighlightEffect.js +1 -1
  300. package/views/2d/engine/webgl/effects/highlight/HighlightSurfaces.js +1 -1
  301. package/views/2d/engine/webgl/shaderGraph/techniques/FeatureInstanceStore.js +1 -1
  302. package/views/2d/engine/webgl/shaderGraph/techniques/GraphicInstanceStore.js +1 -1
  303. package/views/2d/engine/webgl/shaderGraph/techniques/TextureStatisticsTechnique.js +1 -1
  304. package/views/2d/engine/webgl/shaderGraph/techniques/blend/BlendTechnique.js +1 -1
  305. package/views/2d/engine/webgl/shaderGraph/techniques/bloom/BloomTechnique.js +1 -1
  306. package/views/2d/engine/webgl/shaderGraph/techniques/blur/BlurTechnique.js +1 -1
  307. package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityResources.js +1 -1
  308. package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityTechnique.js +1 -1
  309. package/views/2d/engine/webgl/shaderGraph/techniques/drop-shadow/DropShadowTechnique.js +1 -1
  310. package/views/2d/engine/webgl/shaderGraph/techniques/heatmap/HeatmapResources.js +1 -1
  311. package/views/2d/engine/webgl/shaderGraph/techniques/heatmap/HeatmapTechnique.js +1 -1
  312. package/views/2d/engine/webgl/shaderGraph/techniques/raster/RasterColorizerTechnique.js +1 -1
  313. package/views/2d/engine/webgl/shaderGraph/techniques/raster/RasterHighlightTechnique.js +1 -1
  314. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/BaseRasterProcessorTechnique.js +1 -1
  315. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/textureUtils.js +1 -1
  316. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  317. package/views/2d/layers/BaseLayerViewGL2D.d.ts +1 -1
  318. package/views/2d/layers/BaseLayerViewGL2D.js +1 -1
  319. package/views/2d/layers/features/FeatureContainer.js +1 -1
  320. package/views/2d/layers/features/layerAdapters/FeatureLayerAdapter.js +1 -1
  321. package/views/2d/layers/features/layerAdapters/SubtypeGroupLayerAdapter.js +1 -1
  322. package/views/2d/layers/features/schema/processor/SimpleProcessorSchema.js +1 -1
  323. package/views/2d/layers/features/schema/processor/symbols/ComplexSymbolSchema.js +1 -1
  324. package/views/2d/layers/support/DisplayGL.js +1 -1
  325. package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
  326. package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
  327. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  328. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  329. package/views/3d/layers/graphics/Graphics3DGraphicsPipeline.js +1 -1
  330. package/views/3d/layers/graphics/QueryEngine.js +1 -1
  331. package/views/3d/layers/graphics/QueryEngineContext.js +1 -1
  332. package/views/3d/layers/support/FeatureVisibilityFilter.js +1 -1
  333. package/views/3d/layers/support/SceneLayerViewRequiredFields.js +1 -1
  334. package/views/3d/support/gaussianSplatting/GaussianSplatIntersectionHandler.js +1 -1
  335. package/views/3d/support/gaussianSplatting/GaussianSplatTextureAtlas.js +1 -1
  336. package/views/3d/support/gaussianSplatting/GaussianTile.js +1 -1
  337. package/views/3d/terrain/support/MultiSizeFramebuffer.js +1 -1
  338. package/views/3d/webgl/ManagedFBO.js +1 -1
  339. package/views/3d/webgl-engine/core/FBOCache.js +1 -1
  340. package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
  341. package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadShadowMap.glsl.js +18 -5
  342. package/views/3d/webgl-engine/core/shaderLibrary/shading/ShadowmapFiltering.glsl.js +2 -2
  343. package/views/3d/webgl-engine/core/shaderLibrary/shading/calculateUVZShadow.glsl.js +2 -2
  344. package/views/3d/webgl-engine/core/shaderLibrary/shading/calculateUVZShadowFromDepth.glsl.js +1 -1
  345. package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
  346. package/views/3d/webgl-engine/effects/clouds/CloudsRenderer.js +1 -1
  347. package/views/3d/webgl-engine/effects/clouds/NoiseTextureAtlas.js +1 -1
  348. package/views/3d/webgl-engine/effects/debug/RenderNodeVisualizerNode.js +1 -1
  349. package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
  350. package/views/3d/webgl-engine/effects/transparency/OITBlend.js +1 -1
  351. package/views/3d/webgl-engine/effects/transparency/OITDim.glsl.js +1 -1
  352. package/views/3d/webgl-engine/effects/transparency/OITDimTechniqueConfiguration.js +2 -0
  353. package/views/3d/webgl-engine/lib/DrapedHeatmapRenderer.js +1 -1
  354. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  355. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  356. package/views/3d/webgl-engine/materials/PolygonOffset.js +1 -1
  357. package/views/3d/webgl-engine/shaders/GaussianSplat.glsl.js +1 -1
  358. package/views/3d/webgl-engine/shaders/GaussianSplatTechniqueConfiguration.js +1 -1
  359. package/views/3d/webgl-engine/shaders/ShadowCastAccumulate.glsl.js +1 -1
  360. package/views/analysis/ExclusiveOperationManager.js +1 -1
  361. package/views/draw/DrawTool.js +1 -1
  362. package/views/draw/support/InteractiveHandle.js +1 -1
  363. package/views/draw/support/Reshape.js +1 -1
  364. package/views/draw/support/drawUtils.js +1 -1
  365. package/views/draw/support/reshapeTooltipUtils.js +1 -1
  366. package/views/draw/support/types.d.ts +9 -1
  367. package/views/interactive/sketch/SketchOptions.d.ts +34 -0
  368. package/views/layers/FeatureLikeLayerView.js +1 -1
  369. package/views/support/imageReprojection.js +1 -1
  370. package/views/webgl/FramebufferObject.js +1 -1
  371. package/views/webgl/RenderingContext.js +1 -1
  372. package/views/webgl/Texture.js +1 -1
  373. package/views/webgl/testFloatBufferBlend.js +1 -1
  374. package/views/webgl/testSVGPremultipliedAlpha.js +1 -1
  375. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  376. package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
  377. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  378. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  379. package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
  380. package/widgets/Editor/UpdateFeaturesWorkflow.js +1 -1
  381. package/widgets/Editor/UpdateWorkflow.js +1 -1
  382. package/widgets/Editor/Workflow.js +1 -1
  383. package/widgets/Editor.js +1 -1
  384. package/widgets/Feature/FeatureViewModel.d.ts +14 -4
  385. package/widgets/Feature/FeatureViewModel.js +1 -1
  386. package/widgets/FeatureForm/FieldInput.js +1 -1
  387. package/widgets/FeatureTable/ColumnVisibilityMenuVisibleElements.d.ts +8 -1
  388. package/widgets/FeatureTable/ColumnVisibilityMenuVisibleElements.js +1 -1
  389. package/widgets/FeatureTable/Grid/Grid.js +1 -1
  390. package/widgets/FeatureTable/Grid/GridViewModel.js +1 -1
  391. package/widgets/FeatureTable.d.ts +13 -0
  392. package/widgets/FeatureTable.js +1 -1
  393. package/widgets/Features/FeaturesViewModel.d.ts +16 -5
  394. package/widgets/Features/FeaturesViewModel.js +1 -1
  395. package/widgets/Features.js +1 -1
  396. package/widgets/OrientedImageryViewer/navigation/NavigationManager.js +1 -1
  397. package/widgets/OrientedImageryViewer/navigation/queries.js +1 -1
  398. package/widgets/OrientedImageryViewer/navigation/utils.js +1 -1
  399. package/widgets/OrientedImageryViewer.js +1 -1
  400. package/widgets/Popup/PopupViewModel.d.ts +2 -1
  401. package/widgets/Popup/PopupViewModel.js +1 -1
  402. package/widgets/Popup/actionUtils.js +1 -1
  403. package/widgets/Popup.d.ts +13 -4
  404. package/widgets/Popup.js +1 -1
  405. package/widgets/Sketch/VisibleElements.js +1 -1
  406. package/widgets/Sketch.js +1 -1
  407. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceFeature.js +1 -1
  408. package/assets/esri/core/workers/chunks/02aaeaa988e9e7d65a7f.js +0 -1
  409. package/assets/esri/core/workers/chunks/05c8d2c0362af4511d86.js +0 -1
  410. package/assets/esri/core/workers/chunks/06868e4f52de9d918255.js +0 -1
  411. package/assets/esri/core/workers/chunks/06c0b93e276cfc1fb7ac.js +0 -1
  412. package/assets/esri/core/workers/chunks/0888baa99c9007ad63bc.js +0 -1
  413. package/assets/esri/core/workers/chunks/0de66f13e84830a654fb.js +0 -1
  414. package/assets/esri/core/workers/chunks/0f597c690e5c60fe944b.js +0 -1
  415. package/assets/esri/core/workers/chunks/0f8736242544f9e9a57a.js +0 -1
  416. package/assets/esri/core/workers/chunks/0ff12fe9e358100668d9.js +0 -1
  417. package/assets/esri/core/workers/chunks/11a8541f3909f9ffb000.js +0 -1
  418. package/assets/esri/core/workers/chunks/13a009229c96ecb7b04f.js +0 -1
  419. package/assets/esri/core/workers/chunks/185f59f90070d5d6ac94.js +0 -1
  420. package/assets/esri/core/workers/chunks/190bc75254bc0542a6be.js +0 -1
  421. package/assets/esri/core/workers/chunks/1af247c86d1c4ae8fef3.js +0 -1
  422. package/assets/esri/core/workers/chunks/2339465190c9d5ede25f.js +0 -1
  423. package/assets/esri/core/workers/chunks/23eb204d3cb818adea32.js +0 -1
  424. package/assets/esri/core/workers/chunks/241ef4a1bea20b49d812.js +0 -1
  425. package/assets/esri/core/workers/chunks/254898b41cabe313b6ce.js +0 -1
  426. package/assets/esri/core/workers/chunks/2669a7195f1de21a9cf3.js +0 -1
  427. package/assets/esri/core/workers/chunks/2a2d5f9ea42cb2eee9c6.js +0 -1
  428. package/assets/esri/core/workers/chunks/2a7e7a497823e9f05aa3.js +0 -1
  429. package/assets/esri/core/workers/chunks/31e0bfc2cab055aebf9a.js +0 -1
  430. package/assets/esri/core/workers/chunks/32360a55d1836b2a737e.js +0 -1
  431. package/assets/esri/core/workers/chunks/330da3828eefd8d72d3f.js +0 -1
  432. package/assets/esri/core/workers/chunks/34acecd7a314fed12335.js +0 -1
  433. package/assets/esri/core/workers/chunks/34fe4570eef9e73839b8.js +0 -1
  434. package/assets/esri/core/workers/chunks/368b4c0a5eecbb06feac.js +0 -1
  435. package/assets/esri/core/workers/chunks/37729578a7c4cf15eded.js +0 -1
  436. package/assets/esri/core/workers/chunks/3af1e2f0b3d30c58d0c2.js +0 -1
  437. package/assets/esri/core/workers/chunks/3c155efd5768003a91eb.js +0 -1
  438. package/assets/esri/core/workers/chunks/3d4bb59ab2f644f4d675.js +0 -1
  439. package/assets/esri/core/workers/chunks/3f0d9fdd8c37605dd85d.js +0 -1
  440. package/assets/esri/core/workers/chunks/48eca6f51112ba80bd3b.js +0 -1
  441. package/assets/esri/core/workers/chunks/4b5737021a149aa786af.js +0 -1
  442. package/assets/esri/core/workers/chunks/55214e1d9f3d98fa7ed9.js +0 -1
  443. package/assets/esri/core/workers/chunks/55a0b69cf034ac32fc25.js +0 -1
  444. package/assets/esri/core/workers/chunks/576a1784e93c5406e657.js +0 -1
  445. package/assets/esri/core/workers/chunks/59289867cce97da74e39.js +0 -1
  446. package/assets/esri/core/workers/chunks/5a6d6082c5bcb1a80eda.js +0 -1
  447. package/assets/esri/core/workers/chunks/5a9620cb66c8e64e4668.js +0 -1
  448. package/assets/esri/core/workers/chunks/5eeb6d3a7b815d41621e.js +0 -1
  449. package/assets/esri/core/workers/chunks/5f06a57b4f7d7de16bbf.js +0 -1
  450. package/assets/esri/core/workers/chunks/5f2e246ffcbdedea4de5.js +0 -1
  451. package/assets/esri/core/workers/chunks/5ff41f43e57be0557541.js +0 -1414
  452. package/assets/esri/core/workers/chunks/6b32b3f98872771ff81e.js +0 -1
  453. package/assets/esri/core/workers/chunks/6be9d00839002f24fafd.js +0 -1
  454. package/assets/esri/core/workers/chunks/6c886f19875291d02407.js +0 -1
  455. package/assets/esri/core/workers/chunks/77f6659e400064d38130.js +0 -1
  456. package/assets/esri/core/workers/chunks/78c7eace6ec3fa5c7413.js +0 -1
  457. package/assets/esri/core/workers/chunks/7cee28575fd57430cf02.js +0 -1
  458. package/assets/esri/core/workers/chunks/82e0691995d821137d5f.js +0 -1
  459. package/assets/esri/core/workers/chunks/8435b6bf356959009b76.js +0 -1
  460. package/assets/esri/core/workers/chunks/8677865189081e0b83bc.js +0 -1
  461. package/assets/esri/core/workers/chunks/86f1aa2c108f5224d8b5.js +0 -1
  462. package/assets/esri/core/workers/chunks/86f70bd786d6d57fde69.js +0 -1
  463. package/assets/esri/core/workers/chunks/8878ab87ef7961fafae8.js +0 -1
  464. package/assets/esri/core/workers/chunks/8a893f23827769d42092.js +0 -1
  465. package/assets/esri/core/workers/chunks/8d1d0c3f0532aa98487d.js +0 -1
  466. package/assets/esri/core/workers/chunks/8e68b4628e9616356c34.js +0 -1
  467. package/assets/esri/core/workers/chunks/8edae79554843dd77ada.js +0 -1
  468. package/assets/esri/core/workers/chunks/9032c040b214b5af775b.js +0 -1
  469. package/assets/esri/core/workers/chunks/909ef35fa33be2b6da41.js +0 -1
  470. package/assets/esri/core/workers/chunks/90b7acc70adba193b215.js +0 -1
  471. package/assets/esri/core/workers/chunks/91718795fc4ca6516ac7.js +0 -1
  472. package/assets/esri/core/workers/chunks/92d4e962284e13ba2fc5.js +0 -1
  473. package/assets/esri/core/workers/chunks/94f80c46ccf5e19038b8.js +0 -1
  474. package/assets/esri/core/workers/chunks/979c2f52b6d6e1e8241b.js +0 -1
  475. package/assets/esri/core/workers/chunks/97f10efb0fe05bedcebd.js +0 -1
  476. package/assets/esri/core/workers/chunks/98f5bf1b91f3696b2fce.js +0 -1
  477. package/assets/esri/core/workers/chunks/9c52d4b54dfdb69dee29.js +0 -1
  478. package/assets/esri/core/workers/chunks/9de8149ae0a0726a4ab2.js +0 -1
  479. package/assets/esri/core/workers/chunks/9def5d17b94e5db71883.js +0 -1
  480. package/assets/esri/core/workers/chunks/9f272445c285ee9abb7b.js +0 -1
  481. package/assets/esri/core/workers/chunks/a10be7eb05a007fff1ed.js +0 -1
  482. package/assets/esri/core/workers/chunks/a32c87b89567a9fd1efc.js +0 -1
  483. package/assets/esri/core/workers/chunks/a3b29eca5807978fb2a3.js +0 -1
  484. package/assets/esri/core/workers/chunks/a446dff865332268625a.js +0 -1
  485. package/assets/esri/core/workers/chunks/a5bf2718c02a0e645013.js +0 -1
  486. package/assets/esri/core/workers/chunks/a6d166058e3025bb280e.js +0 -1
  487. package/assets/esri/core/workers/chunks/a8e111a5cfd6151d5dbb.js +0 -1
  488. package/assets/esri/core/workers/chunks/a971e61336f455b953d5.js +0 -1
  489. package/assets/esri/core/workers/chunks/aed45f7e7eee154a21b8.js +0 -1
  490. package/assets/esri/core/workers/chunks/af3bd661b355eed3da21.js +0 -1
  491. package/assets/esri/core/workers/chunks/b0f2ce61d3cad413898e.js +0 -1
  492. package/assets/esri/core/workers/chunks/b2b77598048818c957b7.js +0 -1
  493. package/assets/esri/core/workers/chunks/b744b950999b92393e37.js +0 -1
  494. package/assets/esri/core/workers/chunks/b75165880704efccc47c.js +0 -1
  495. package/assets/esri/core/workers/chunks/ba9e107edc2027238be3.js +0 -1
  496. package/assets/esri/core/workers/chunks/bc3b22dc08c147b8d425.js +0 -1
  497. package/assets/esri/core/workers/chunks/c08e9914deb1dc62bc0f.js +0 -1
  498. package/assets/esri/core/workers/chunks/c0bb53d8d58ad18334d3.js +0 -1
  499. package/assets/esri/core/workers/chunks/c0d453f93af2d4a6ce64.js +0 -1
  500. package/assets/esri/core/workers/chunks/c9a42d86185a0ad35dd1.js +0 -1
  501. package/assets/esri/core/workers/chunks/cbb50415f7de8746ee1a.js +0 -1
  502. package/assets/esri/core/workers/chunks/d23dd7da45a7aa341540.js +0 -1
  503. package/assets/esri/core/workers/chunks/d2801df3fa44dee15ec8.js +0 -1
  504. package/assets/esri/core/workers/chunks/d53b31c9056f82831bc0.js +0 -1
  505. package/assets/esri/core/workers/chunks/d626e08d23330d84413b.js +0 -1
  506. package/assets/esri/core/workers/chunks/d9d69cf2496ebe76eade.js +0 -1
  507. package/assets/esri/core/workers/chunks/db6e03fe8dd316f5005f.js +0 -1
  508. package/assets/esri/core/workers/chunks/de79645e559a2d1ffa67.js +0 -1
  509. package/assets/esri/core/workers/chunks/e2779965db231fb666a5.js +0 -1
  510. package/assets/esri/core/workers/chunks/e4e2f059c52674dcae5b.js +0 -1
  511. package/assets/esri/core/workers/chunks/e622a23034f055de8b55.js +0 -1
  512. package/assets/esri/core/workers/chunks/ec21311584e4fb13e510.js +0 -1
  513. package/assets/esri/core/workers/chunks/ec9d5dcf2a0a11c85341.js +0 -1
  514. package/assets/esri/core/workers/chunks/eca45cd479f7fd28ca6e.js +0 -1
  515. package/assets/esri/core/workers/chunks/ed60b5eaa5765bfcb99c.js +0 -1
  516. package/assets/esri/core/workers/chunks/efdd75896ca53eb6242f.js +0 -1
  517. package/assets/esri/core/workers/chunks/f1c348cf2a1e35da9b20.js +0 -1
  518. package/assets/esri/core/workers/chunks/f4053e4e2d6e678db48a.js +0 -1
  519. package/assets/esri/core/workers/chunks/f4d577ff61da7964e08a.js +0 -1
  520. package/assets/esri/core/workers/chunks/f7da652f8dab57677cc3.js +0 -1
  521. package/assets/esri/core/workers/chunks/fe92f54e45fd21ccd75f.js +0 -1
  522. package/assets/esri/core/workers/chunks/fee1d873127dca02459f.js +0 -1
  523. package/assets/esri/core/workers/chunks/ff31936236dd9b1acb24.js +0 -1
  524. /package/assets/esri/core/workers/chunks/{32e9e92bbbd000fbbaf7.js.LICENSE.txt → a8ef9ed9b59de95f2b23.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1072,3447,9062],{32587(e,t,r){r.d(t,{A:()=>s});var i=r(62788),n=r(95488);class s{constructor(e){this._observable=new n.I,this._notifyPending=!1,this._batchDepth=0,this._map=new Map(e)}get size(){return(0,i.gc)(this._observable),this._map.size}batch(e){try{this._batchDepth++,e()}finally{this._batchDepth--,this._notifyPending&&0===this._batchDepth&&(this._notifyPending=!1,this._notify())}}clear(){this._map.size>0&&(this._map.clear(),this._notify())}delete(e){const t=this._map.delete(e);return t&&this._notify(),t}entries(){return(0,i.gc)(this._observable),this._map.entries()}forEach(e,t){(0,i.gc)(this._observable),this._map.forEach((r,i)=>e.call(t,r,i,this),t)}get(e){return(0,i.gc)(this._observable),this._map.get(e)}has(e){return(0,i.gc)(this._observable),this._map.has(e)}keys(){return(0,i.gc)(this._observable),this._map.keys()}set(e,t){return this._map.set(e,t),this._notify(),this}transformValues(e,t=this._map.keys()){this.batch(()=>{for(const r of t){if(!this._map.has(r))continue;const t=this._map.get(r),i=e(t,r);i!==t&&this.set(r,i)}})}values(){return(0,i.gc)(this._observable),this._map.values()}[Symbol.iterator](){return(0,i.gc)(this._observable),this._map[Symbol.iterator]()}[Symbol.dispose](){this._observable.destroy()}get[Symbol.toStringTag](){return this._map[Symbol.toStringTag]}_notify(){this._batchDepth>0?this._notifyPending=!0:this._observable.notify()}}},46140(e,t,r){r.d(t,{A:()=>n});var i=r(49186);class n{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}toString(){return`${this.major}.${this.minor}`}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new i.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new n(this.major,this.minor,this._context)}static parse(e,t=""){const[r,s]=e.split("."),o=/^\s*\d+\s*$/;if(!r?.match||!o.test(r))throw new i.A((t&&t+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:e});if(!s?.match||!o.test(s))throw new i.A((t&&t+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:e});const l=parseInt(r,10),a=parseInt(s,10);return new n(l,a,t)}}},44794(e,t,r){r.d(t,{v:()=>l});var i=r(4718),n=r(62788),s=r(95488);class o{constructor(e,t){this._observable=new s.I,this._value=e,this._equalityFunction=t}get value(){return(0,n.gc)(this._observable),this._value}set value(e){this._equalityFunction(e,this._value)||(this._value=e,this._observable.notify())}mutate(e){e(this._value),this._observable.notify()}}function l(e,t=i.gh){return new o(e,t)}},62815(e,t,r){r.d(t,{N:()=>l,d:()=>a});var i=r(86211),n=r(73941),s=r(21325),o=r(52006);function l(e,t,r){const i=a(t,r);if(1!==i)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,i);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e){if(e.curvePaths)for(const r of e.curvePaths)for(const e of r){const r=(0,o.yP)(e);r.length>2&&(r[2]*=t)}if(e.paths)for(const r of e.paths)for(const e of r)e.length>2&&(e[2]*=t)}}(e,i);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e){if(e.curveRings)for(const r of e.curveRings)for(const e of r){const r=(0,o.yP)(e);r.length>2&&(r[2]*=t)}if(e.rings)for(const r of e.rings)for(const e of r)e.length>2&&(e[2]*=t)}}(e,i);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,i);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,i);default:return}}function a(e,t){return null==e||null==t||t.vcsWkid||(0,s.aI)(e,t)||(0,n.xP)(e)||(0,n.xP)(t)?1:(0,i.G9)(e)/(0,i.G9)(t)}},83508(e,t,r){r.r(t),r.d(t,{default:()=>fe});var i=r(5482),n=r(11254),s=r(7762),o=r(49186),l=r(91869),a=r(25728),u=r(17676),d=r(84952),c=r(91429),p=r(4146),y=r(36563),h=r(66344),f=r(32587),m=r(36708),g=r(44794),v=r(56507),w=r(63074),b=r(25036),_=r(10873),C=r(91880),M=r(1873);let x=class extends((0,b.j)((0,w.dM)((0,a.M)(p.A)))){constructor(e){super(e),this._layerCache=new h.q(20,e=>e.destroy()),this._oidToReference=new f.A,this._layerToReference=new Map,this.legendEnabled=!0,this.layers=new s.A,this.maximumVisibleSublayers=10,this.opacity=1,this.parent=null,this.persistenceEnabled=!0,this.title="Layers in view",this.type="catalog-dynamic-group",this.visible=!0}initialize(){this.addHandles([this.layers.on("after-add",({item:e})=>{e.parent=this}),this.layers.on("after-remove",({item:e})=>{e.parent=null}),(0,m.wB)(()=>this._orderBy,()=>{this._updateLayerSortValues(),this._sortAllLayers()})])}load(e){return this.addResolvingPromise(this.parent.load()),Promise.resolve(this)}destroy(){this._layerCache.destroy(),this._oidToReference.clear(),this._layerToReference.clear()}get _orderBy(){return this.parent?this.parent.orderBy?.find(e=>!e.valueExpression&&e.field)??new C.A({field:this.parent.objectIdField}):null}get _referenceComparator(){const e=this._orderBy;if(!this.parent||!e)return()=>0;const t=this.parent.fieldsIndex.get(e.field),r=(0,M.FM)(t?.toJSON().type,"descending"===e.order,"case-sensitive"),i=(0,M.FM)("esriFieldTypeOID","descending"===e.order);return(e,t)=>r(t.sortValue,e.sortValue)||i(t.objectId,e.objectId)}get fullExtent(){return this.parent?.fullExtent??null}get updating(){return(0,l.Bs)(this._oidToReference,({pending:e})=>null!=e)}acquireLayer(e){if(this.destroyed)return(0,y.hA)();const t=this._getLayerReference(e);return t.count++,(0,y.hA)(()=>{t.count--,t.count||this._destroyLayerReference(t)})}_getLayerReference(e){const t=e.getObjectId();return(0,l.tE)(this._oidToReference,t,()=>{const t=e.getObjectId(),r=`${t}`,i=e.getAttribute(this.parent.itemSourceField),n=new F(e,t,i),s=this._layerCache.pop(r);return s?(this._addLayer(n,s),n):(n.pending=this.parent.createLayerFromFootprint(e).then(e=>{n.count?this._addLayer(n,e):(this.destroyed||this._layerCache.get(r)||this._layerCache.put(r,e),n.layer=null)}).catch(()=>{}).finally(()=>{n.pending=null}),n)})}_destroyLayerReference(e){e.layer&&(this._layerToReference.delete(e.layer),this.layers.remove(e.layer),this.destroyed?e.layer.destroy():this._layerCache.put(`${e.objectId}`,e.layer),e.layer=null),this._oidToReference.delete(e.objectId)}_addLayer(e,t){e.layer=t,t.persistenceEnabled=!1,this._layerToReference.set(t,e),this._updateLayerSortValue(e),this.layers.add(t),this._sortAllLayers()}_updateLayerSortValues(){for(const e of this._layerToReference.values())this._updateLayerSortValue(e)}_updateLayerSortValue(e){this._orderBy&&(e.sortValue=e.footprint.getAttribute(this._orderBy.field))}_sortAllLayers(){this.layers.sort((e,t)=>this._referenceComparator(this._layerToReference.get(e),this._layerToReference.get(t)))}};(0,i.Cg)([(0,c.MZ)()],x.prototype,"_orderBy",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],x.prototype,"_referenceComparator",null),(0,i.Cg)([(0,c.MZ)(_.fV)],x.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,c.MZ)({type:["show","hide","hide-children"],json:{write:!0}})],x.prototype,"listMode",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],x.prototype,"fullExtent",null),(0,i.Cg)([(0,c.MZ)({type:String,json:{origins:{service:{read:!1},"portal-item":{read:!1}},write:{ignoreOrigin:!0,isRequired:!0}}})],x.prototype,"id",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],x.prototype,"layers",void 0),(0,i.Cg)([(0,c.MZ)({type:v.jz,range:{min:0,max:50},json:{write:!0,default:10}})],x.prototype,"maximumVisibleSublayers",void 0),(0,i.Cg)([(0,c.MZ)(_.ke)],x.prototype,"opacity",void 0),(0,i.Cg)([(0,c.MZ)({clonable:!1})],x.prototype,"parent",void 0),(0,i.Cg)([(0,c.MZ)({type:String,nonNullable:!0,json:{write:{ignoreOrigin:!0,isRequired:!0}}})],x.prototype,"title",void 0),(0,i.Cg)([(0,c.MZ)({json:{read:!1}})],x.prototype,"type",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],x.prototype,"updating",null),(0,i.Cg)([(0,c.MZ)({type:Boolean,json:{name:"visibility",write:!0}})],x.prototype,"visible",void 0),x=(0,i.Cg)([(0,c.$K)("esri.layers.catalog.CatalogDynamicGroupLayer")],x);class F{constructor(e,t,r){this.footprint=e,this.objectId=t,this.itemSource=r,this.count=0,this.layer=null,this.sortValue=void 0,this._pending=(0,g.v)(null)}get pending(){return this._pending.value}set pending(e){this._pending.value=e}}var T=r(37838),Z=r(4718),S=r(78247),I=r(55156),O=r(60950),E=r(89808),j=r(99959);const R=Symbol("isCatalogGraphicOrigin");var A;class L extends j.A{get[(A=R,O.ym)](){return this.layer}get[I.e](){return this.layer}get[E.Q](){return this.layer}constructor(e){super(),this[A]=!0,this.type="catalog",this.layer=e}get id(){return this.layer.id}}var V=r(87718),D=r(30524),P=r(46499),N=r(39383),z=r(96576),q=r(41214),G=r(30291),$=r(94985);let k=class extends((0,b.j)((0,V.F)((0,w.dM)((0,a.M)(p.A))))){constructor(e){super(e),this.attributeTableTemplate=null,this.charts=null,this.editingEnabled=!0,this.elevationInfo=null,this.formTemplate=null,this.graphicOrigin=new L(this),this.labelingInfo=null,this.labelsVisible=!0,this.legendEnabled=!0,this.maxScale=0,this.minScale=0,this.opacity=1,this.parent=null,this.persistenceEnabled=!0,this.popupEnabled=!0,this.popupTemplate=null,this.title="Footprints",this.type="catalog-footprint",this.visible=!0}load(e){return this.addResolvingPromise(this._doLoad(e)),Promise.resolve(this)}async _doLoad(e){await this.parent.load(e),(0,D.yp)(this.renderer,this.fieldsIndex),this.addHandles([this.parent.on("apply-edits",e=>this.emit("apply-edits",e)),this.parent.on("edits",e=>this.emit("edits",e)),this.parent.on("refresh",e=>this.emit("refresh",e))])}get apiKey(){return this.parent?.apiKey}get capabilities(){return this.parent?.capabilities}get customParameters(){return this.parent?.customParameters}get dateFieldsTimeZone(){return this.parent?.dateFieldsTimeZone??null}get datesInUnknownTimezone(){return this.parent?.datesInUnknownTimezone??!1}get definitionExpression(){return this.parent?.definitionExpression}get editingInfo(){return this.parent?.editingInfo}get effectiveCapabilities(){return this.parent?.effectiveCapabilities}get createQueryVersion(){return this.parent?.createQueryVersion}get defaultPopupTemplate(){return this.createPopupTemplate()}get displayField(){return this.parent?.displayField}get displayFilterEnabled(){return this.parent?.displayFilterEnabled??!0}get displayFilterInfo(){return this.parent?.displayFilterInfo??null}get effectiveEditingEnabled(){return!1}get fields(){return this.parent?.fields}get fieldsIndex(){return this.parent?.fieldsIndex}get fullExtent(){return this.parent?.fullExtent}get geometryFieldsInfo(){return this.parent?.geometryFieldsInfo}get geometryType(){return this.parent?.geometryType}get globalIdField(){return this.parent?.globalIdField}get hasM(){return this.parent?.hasM??!1}get hasZ(){return this.parent?.hasZ??!1}get objectIdField(){return this.parent?.objectIdField}get orderBy(){return this.parent?.orderBy??null}get outFields(){return this.parent?.outFields}get parsedUrl(){return this.parent?.parsedUrl??null}get preferredTimeZone(){return this.parent?.preferredTimeZone??null}set renderer(e){(0,D.yp)(e,this.fieldsIndex),this._set("renderer",e)}get renderer(){return this._isOverridden("renderer")?this._get("renderer"):function(){const e=new $.A({style:"solid",color:[0,0,0,0],outline:{style:"solid",color:[96,96,96,.75],width:.75}});return new z.A({symbol:e})}()}get returnM(){return this.parent?.returnM}get returnZ(){return this.parent?.returnZ}get source(){return this.parent?.source}get timeExtent(){return this.parent?.timeExtent}get timeInfo(){return this.parent?.timeInfo}get timeOffset(){return this.parent?.timeOffset}get typeIdField(){return this.parent?.typeIdField}get types(){return this.parent?.types}get useViewTime(){return this.parent?.useViewTime??!0}get version(){return this.parent?.version}async applyEdits(e,t){return await this.load(),this.parent.applyEdits(e,t)}createPopupTemplate(e){const t={fields:this.fields,objectIdField:this.objectIdField,title:this.title};return(0,G.tn)(t,e)}createQuery(){return this.parent?.createQuery()}getField(e){return this.parent?.getField(e)}getFieldDomain(e,t){return this.parent?.getFieldDomain(e,t)}async queryExtent(e,t){return await this.load(),this.parent.queryExtent(e,t)}async queryFeatures(e,t){return await this.load(),this.parent.queryFeatures(e,t)}async queryFeatureCount(e,t){return await this.load(),this.parent.queryFeatureCount(e,t)}async queryObjectIds(e,t){return await this.load(),this.parent.queryObjectIds(e,t)}async queryAttributeBins(e,t){return await this.load(),this.parent.queryAttributeBins(e,t)}};(0,i.Cg)([(0,c.MZ)(_.zQ)],k.prototype,"attributeTableTemplate",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"apiKey",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"capabilities",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"customParameters",null),(0,i.Cg)([(0,c.MZ)()],k.prototype,"dateFieldsTimeZone",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"datesInUnknownTimezone",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"definitionExpression",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"editingInfo",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"effectiveCapabilities",null),(0,i.Cg)([(0,c.MZ)({json:{origins:{"web-scene":{write:!1}},write:!0}})],k.prototype,"charts",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"createQueryVersion",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"defaultPopupTemplate",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"displayField",null),(0,i.Cg)([(0,c.MZ)({type:Boolean,nonNullable:!0,json:{name:"enableEditing",write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],k.prototype,"editingEnabled",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"effectiveEditingEnabled",null),(0,i.Cg)([(0,c.MZ)((()=>{const e=(0,Z.o8)(_.Yj);return e.json.origins["web-map"]={read:!1,write:!1},e})())],k.prototype,"elevationInfo",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"fields",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"fieldsIndex",null),(0,i.Cg)([(0,c.MZ)({type:S.A,json:{name:"formInfo",write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],k.prototype,"formTemplate",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"fullExtent",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"geometryFieldsInfo",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"geometryType",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"globalIdField",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0,clonable:!1})],k.prototype,"graphicOrigin",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"hasM",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"hasZ",null),(0,i.Cg)([(0,c.MZ)({type:String,json:{origins:{service:{read:!1},"portal-item":{read:!1}},write:{ignoreOrigin:!0,isRequired:!0}}})],k.prototype,"id",void 0),(0,i.Cg)([(0,c.MZ)({type:[P.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:N.w,write:!0}})],k.prototype,"labelingInfo",void 0),(0,i.Cg)([(0,c.MZ)(_.kF)],k.prototype,"labelsVisible",void 0),(0,i.Cg)([(0,c.MZ)(_.fV)],k.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,c.MZ)({type:["show","hide"],json:{write:!0}})],k.prototype,"listMode",void 0),(0,i.Cg)([(0,c.MZ)((()=>{const e=(0,Z.o8)(_.hG);return e.json.origins.service.read=!1,e})())],k.prototype,"maxScale",void 0),(0,i.Cg)([(0,c.MZ)((()=>{const e=(0,Z.o8)(_.hn);return e.json.origins.service.read=!1,e})())],k.prototype,"minScale",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"objectIdField",null),(0,i.Cg)([(0,c.MZ)(_.ke)],k.prototype,"opacity",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"orderBy",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"outFields",null),(0,i.Cg)([(0,c.MZ)({clonable:!1})],k.prototype,"parent",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"parsedUrl",null),(0,i.Cg)([(0,c.MZ)(_.M6)],k.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,c.MZ)({type:T.A,json:{name:"popupInfo",write:!0}})],k.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"preferredTimeZone",null),(0,i.Cg)([(0,c.MZ)({types:q.Hg,json:{origins:{"web-scene":{types:q.XJ}},name:"layerDefinition.drawingInfo.renderer",write:{overridePolicy(e,t){return{ignoreOrigin:this.originIdOf(t)<3}}}}})],k.prototype,"renderer",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"returnM",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"returnZ",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"source",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"timeExtent",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"timeInfo",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"timeOffset",null),(0,i.Cg)([(0,c.MZ)({type:String,nonNullable:!0,json:{write:{ignoreOrigin:!0,isRequired:!0}}})],k.prototype,"title",void 0),(0,i.Cg)([(0,c.MZ)({json:{read:!1}})],k.prototype,"type",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"typeIdField",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"types",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"useViewTime",null),(0,i.Cg)([(0,c.MZ)({type:Boolean,json:{name:"visibility",write:!0}})],k.prototype,"visible",void 0),k=(0,i.Cg)([(0,c.$K)("esri.layers.catalog.CatalogFootprintLayer")],k);var B=r(65515),U=r(52136),J=r(18768),Q=r(69208),K=r(6455),Y=r(47685),H=r(10086),W=r(16131),X=r(32756),ee=r(8303),te=r(54310),re=r(82935),ie=r(15426),ne=r(33143),se=r(17036),oe=r(91908),le=r(20655),ae=r(80812),ue=r(39131),de=r(61956);const ce=(0,se.p)();function pe(e,t,r,i){const n=e.write({},i);(function(e){if(null==e)return!0;const t=Object.keys(e);return!t.length||1===t.length&&"id"===t[0]})(n)||(t[r]=n)}let ye=class extends((0,K.FJ)((0,H.j)((0,Y.w6)((0,w.dM)((0,X.fY)((0,re.e)((0,b.j)((0,te.J)((0,J.b)((0,W.q)((0,ee.A)((0,a.M)((0,Q.d)((0,U.p)(p.A))))))))))))))){constructor(e){super(e),this.legendEnabled=!0,this._portals=new Map,this._layerToFootprint=new WeakMap,this.drawOrderField="cd_draworder",this.dynamicGroupLayer=new x({parent:this}),this.elevationInfo=null,this.fields=null,this.fieldsIndex=null,this.floorInfo=null,this.footprintLayer=new k({parent:this}),this.itemNameField="cd_itemname",this.itemSourceField="cd_itemsource",this.itemTypeField="cd_itemtype",this.layers=new s.A([this.dynamicGroupLayer,this.footprintLayer]),this.maxScaleField="cd_maxscale",this.minScaleField="cd_minscale",this.orderBy=null,this.outFields=null,this.supportedSourceTypes=new Set(["Catalog Layer"]),this.source=new B.default({layer:this,supportedSourceTypes:this.supportedSourceTypes}),this.type="catalog",this.typeIdField=null,this.types=null}load(e){const t=null!=e?e.signal:null,r=this.loadFromPortal({supportedTypes:["Feature Service"]},e).catch(u.QP).then(async()=>{const{url:e,source:r,portalItem:i}=this;if(!e)throw new o.A("catalog-layer:missing-url","Catalog layer must be created with a url");if(null==this.layerId){const r=await this._fetchFirstValidLayerId(t);if(null==r)throw new o.A("catalog-layer:missing-layerId","There is no Catalog Layer in the service",{service:e});this.layerId=r}await r.load({signal:t});const{sourceJSON:n}=r;n&&(this.sourceJSON=n,this.read(n,{origin:"service",portalItem:i,portal:i?.portal,url:this.parsedUrl}))}).then(()=>{const e=[this.itemNameField,this.itemSourceField,this.itemTypeField,this.minScaleField,this.maxScaleField],t=e.filter(e=>!this.fieldsIndex.has(e));if(t.length)throw new o.A("catalog-layer:missing-fields","There are missing fields to operate properly",{requiredFields:e,missingFields:t})}).then(()=>(0,ie.VA)(this,"load",e));return this.addResolvingPromise(r),Promise.resolve(this)}destroy(){this.footprintLayer.destroy(),this.dynamicGroupLayer.destroy();for(const e of this._portals.values())e.destroy();this._portals.clear()}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("capabilities"),(this._get("createQueryVersion")??0)+1}get editingEnabled(){return this.loaded&&null!=this.capabilities&&this.capabilities.operations.supportsEditing&&this.userHasEditingPrivileges}get effectiveEditingEnabled(){return!1}async applyEdits(e,t){return(0,ie.ct)(this,e,t)}async createLayerFromFootprint(e){const t=await this._createLayer(e);return this._configureLayer(t,e),this._layerToFootprint.set(t,e),t}createFootprintFromLayer(e){return this._layerToFootprint.get(e)?.clone()}createQuery(){const e=new de.A,t=this.capabilities?.query;e.returnGeometry=!0,t&&(e.compactGeometryEnabled=t.supportsCompactGeometry,e.defaultSpatialReferenceEnabled=t.supportsDefaultSpatialReference),e.outFields=["*"];const{timeOffset:r,timeExtent:i}=this;return e.timeExtent=null!=r&&null!=i?i.offset(-r.value,r.unit):i||null,e.where=this.definitionExpression||"1=1",e}getFeatureType(e){return(0,ie.xd)(this.types,this.typeIdField,e)}getFieldDomain(e,t){const r=t?.feature,i=this.getFeatureType(r);if(i){const t=i.domains&&i.domains[e];if(t&&"inherited"!==t.type)return t}return this.getField(e)?.domain}async hasDataChanged(){return(0,ie.jp)(this)}async queryFeatures(e,t){const r=await this.load(),i=await r.source.queryFeatures(de.A.from(e)??r.createQuery(),t),n=r.footprintLayer.graphicOrigin;if(i?.features)for(const e of i.features)e.layer=e.sourceLayer=r.footprintLayer,e.origin=n;return i}async queryObjectIds(e,t){return(await this.load()).source.queryObjectIds(de.A.from(e)??this.createQuery(),t)}async queryFeatureCount(e,t){return(await this.load()).source.queryFeatureCount(de.A.from(e)??this.createQuery(),t)}async queryExtent(e,t){return(await this.load()).source.queryExtent(de.A.from(e)??this.createQuery(),t)}serviceSupportsSpatialReference(e){return this.loaded&&(0,oe.D)(this,e)}read(e,t){if(super.read(e,t),e){const{footprintLayer:r,dynamicGroupLayer:i}=e;r&&this.footprintLayer.read(r,t),i&&this.dynamicGroupLayer.read(i,t)}}async queryAttributeBins(e,t){const{source:i,capabilities:n}=await this.load();(0,ie.ZJ)(e,n,"CatalogLayer");const s=await r.e(6956).then(r.bind(r,14575)),o=await i.queryAttributeBins(s.default.from(e),t);if(o.features)for(const e of o.features)e.layer=e.sourceLayer=this.footprintLayer;return o}async _fetchFirstValidLayerId(e){const{data:t}=await(0,n.A)(this.url,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e});if(this.applyPreferredHost(t),Array.isArray(t?.layers))return t.layers.find(({type:e})=>!!e&&this.supportedSourceTypes.has(e))?.id}async _createLayer(e){const t=e.getAttribute(this.itemSourceField);if(!t)throw new o.A("catalog-layer:item-source-missing",`The footprint is missing the "${this.itemSourceField}" attribute`);const i=JSON.parse(t);if(function(e){return"object"==typeof e&&null!=e&&"itemId"in e&&"portalUrl"in e}(i)){const{itemId:e,portalUrl:t}=i,r=(0,ue.qG)(t),n=this.portalItem?.portal,s=le.A.getDefault();let o,a=!0;n&&(0,d.ut)(t,n.url)?o=n:(0,d.ut)(t,s.url)?o=s:(o=(0,l.tE)(this._portals,r,()=>new le.A({url:r})),a=!1);const u=await p.A.fromPortalItem(new ae.default({id:e,portal:o}));return a||await he(u),u}if(function(e){return"object"==typeof e&&null!=e&&"url"in e}(i))return p.A.fromArcGISServerUrl({url:i.url});const{default:n}=await r.e(7546).then(r.bind(r,45165));return new n}_configureLayer(e,t){const r=t.getAttribute(this.itemNameField);r&&(e.title=r);const i=t.getAttribute(this.maxScaleField);null!=i&&"maxScale"in e&&(e.maxScale=i);const n=t.getAttribute(this.minScaleField);null!=n&&"minScale"in e&&(e.minScale=n)}};async function he(e){if("portalItem"in e&&e.portalItem){try{await e.load()}catch{}e.portalItem=null,"group"===e.type&&await Promise.allSettled([...e.layers.map(e=>he(e)),...e.tables.map(e=>he(e))])}}(0,i.Cg)([(0,c.MZ)(_.fV)],ye.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"createQueryVersion",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"drawOrderField",void 0),(0,i.Cg)([(0,c.MZ)({type:x,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:pe}}})],ye.prototype,"dynamicGroupLayer",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"editingEnabled",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"effectiveEditingEnabled",null),(0,i.Cg)([(0,c.MZ)({json:{origins:{"web-scene":{name:"layerDefinition.elevationInfo",read:!1,write:!1}}}})],ye.prototype,"elevationInfo",void 0),(0,i.Cg)([(0,c.MZ)({...ce.fields,readOnly:!0,json:{origins:{service:{read:!0}},read:!1}})],ye.prototype,"fields",void 0),(0,i.Cg)([(0,c.MZ)(ce.fieldsIndex)],ye.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,c.MZ)({json:{origins:{"web-scene":{name:"layerDefinition.floorInfo",read:!1,write:!1}}}})],ye.prototype,"floorInfo",void 0),(0,i.Cg)([(0,c.MZ)({type:k,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:pe}}})],ye.prototype,"footprintLayer",void 0),(0,i.Cg)([(0,c.MZ)(_.id)],ye.prototype,"id",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"itemNameField",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"itemSourceField",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"itemTypeField",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"layers",void 0),(0,i.Cg)([(0,c.MZ)({type:["show","hide","hide-children"]})],ye.prototype,"listMode",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"maxScaleField",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"minScaleField",void 0),(0,i.Cg)([(0,c.MZ)({value:"CatalogLayer",type:["CatalogLayer"]})],ye.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,c.MZ)({json:{origins:{"web-scene":{name:"layerDefinition.orderBy",write:!0,read:!0}}}})],ye.prototype,"orderBy",void 0),(0,i.Cg)([(0,c.MZ)(ce.outFields)],ye.prototype,"outFields",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"source",void 0),(0,i.Cg)([(0,c.MZ)({json:{read:!1}})],ye.prototype,"type",void 0),(0,i.Cg)([(0,c.MZ)({type:String})],ye.prototype,"typeIdField",void 0),(0,i.Cg)([(0,c.MZ)({type:[ne.A]})],ye.prototype,"types",void 0),ye=(0,i.Cg)([(0,c.$K)("esri.layers.CatalogLayer")],ye);const fe=ye},87718(e,t,r){r.d(t,{F:()=>T,Y:()=>F});var i,n=r(5482),s=r(91429),o=r(49186),l=r(25482),a=r(93637),u=r(76369),d=r(66552),c=r(4718),p=r(50498),y=r(61956),h=r(79677);const f=new d.J({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"}),m=new d.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let g=i=class extends l.o{constructor(e){super(e),this.where=null,this.geometry=null,this.spatialRelationship="intersects",this.distance=void 0,this.objectIds=null,this.units=null,this.timeExtent=null}createQuery(e={}){const{where:t,geometry:r,spatialRelationship:i,timeExtent:n,objectIds:s,units:o,distance:l}=this;return new y.A({geometry:(0,c.o8)(r),objectIds:(0,c.o8)(s),spatialRelationship:i,timeExtent:(0,c.o8)(n),where:t,units:o,distance:l,...e})}clone(){const{where:e,geometry:t,spatialRelationship:r,timeExtent:n,objectIds:s,units:o,distance:l}=this;return new i({geometry:(0,c.o8)(t),objectIds:(0,c.o8)(s),spatialRelationship:r,timeExtent:(0,c.o8)(n),where:e,units:o,distance:l})}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],g.prototype,"where",void 0),(0,n.Cg)([(0,s.MZ)({types:p.yR,json:{write:!0}})],g.prototype,"geometry",void 0),(0,n.Cg)([(0,s.MZ)({type:f.apiValues,json:{name:"spatialRel",read:{reader:f.read},write:{allowNull:!1,writer:f.write,overridePolicy(){return{enabled:null!=this.geometry}}}}})],g.prototype,"spatialRelationship",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy(e){return{enabled:null!=e&&null!=this.geometry}}}}})],g.prototype,"distance",void 0),(0,n.Cg)([(0,s.MZ)({type:[Number],json:{write:!0}})],g.prototype,"objectIds",void 0),(0,n.Cg)([(0,s.MZ)({type:m.apiValues,json:{read:m.read,write:{writer:m.write,overridePolicy(e){return{enabled:null!=e&&null!=this.geometry}}}}})],g.prototype,"units",void 0),(0,n.Cg)([(0,s.MZ)({type:h.A,json:{write:!0}})],g.prototype,"timeExtent",void 0),g=i=(0,n.Cg)([(0,s.$K)("esri.layers.support.FeatureFilter")],g);const v=g;var w;const b={read:{reader:u.LF},write:{writer:u.M9,overridePolicy(){return{allowNull:null!=this.excludedEffect,isRequired:null==this.excludedEffect}}}},_={read:{reader:u.LF},write:{writer:u.M9,overridePolicy(){return{allowNull:null!=this.includedEffect,isRequired:null==this.includedEffect}}}},C={name:"showExcludedLabels",default:!0};let M=w=class extends l.o{constructor(e){super(e),this.filter=null,this.includedEffect=null,this.excludedEffect=null,this.excludedLabelsVisible=!1}write(e,t){const r=super.write(e,t);if(t?.origin){if(r.filter){const e=Object.keys(r.filter);if(e.length>1||"where"!==e[0])return t.messages?.push(new o.A("web-document-write:unsupported-feature-effect","Invalid feature effect 'filter'. A filter can only contain a 'where' property",{layer:t.layer,effect:this})),null}if("showExcludedLabels"in r)return t.messages?.push(new o.A("web-document-write:unsupported-feature-effect","Invalid value for property 'excludedLabelsVisible' which should always be 'true'",{layer:t.layer,effect:this})),null}return r}clone(){return new w({filter:null!=this.filter?this.filter.clone():null,includedEffect:this.includedEffect,excludedEffect:this.excludedEffect,excludedLabelsVisible:this.excludedLabelsVisible})}};(0,n.Cg)([(0,s.MZ)({type:v,json:{write:{allowNull:!0,writer(e,t,r,i){const n=e?.write({},i);n&&0!==Object.keys(n).length?(0,a.sM)(r,n,t):(0,a.sM)(r,null,t)}}}})],M.prototype,"filter",void 0),(0,n.Cg)([(0,s.MZ)({json:{read:u.LF,write:{writer:u.M9,allowNull:!0},origins:{"web-map":b,"portal-item":b}}})],M.prototype,"includedEffect",void 0),(0,n.Cg)([(0,s.MZ)({json:{read:u.LF,write:{writer:u.M9,allowNull:!0},origins:{"web-map":_,"portal-item":_}}})],M.prototype,"excludedEffect",void 0),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0,name:"showExcludedLabels",origins:{"web-map":C,"portal-item":C}}})],M.prototype,"excludedLabelsVisible",void 0),M=w=(0,n.Cg)([(0,s.$K)("esri.layers.support.FeatureEffect")],M);const x={write:{allowNull:!0}},F={type:M,json:{origins:{"web-map":x,"portal-item":x}}},T=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.featureEffect=null}};return(0,n.Cg)([(0,s.MZ)(F)],r.prototype,"featureEffect",void 0),r=(0,n.Cg)([(0,s.$K)("esri.layers.mixins.FeatureEffectLayer")],r),r}},32756(e,t,r){r.d(t,{Rr:()=>l,fY:()=>u,ne:()=>a});var i=r(5482),n=r(93637),s=r(91429),o=r(91880);function l(e,t,r){if(!e)return null;const i=e.find(e=>!!e.field);if(!i)return null;const n=new o.A;return n.read(i,r),[n]}const a={type:[o.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,i){const s=e.find(e=>!!e.field);s&&(0,n.sM)(r,[s.toJSON()],t)}}}},u=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,i.Cg)([(0,s.MZ)(a)],r.prototype,"orderBy",void 0),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.OrderedLayer")],r),r}},33143(e,t,r){r.d(t,{A:()=>c});var i=r(5482),n=r(69540),s=r(25482),o=r(91429),l=r(8631),a=r(29005),u=r(36005),d=r(43937);let c=class extends((0,n.OU)(s.o)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,l.r)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],c.prototype,"id",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],c.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],c.prototype,"domains",void 0),(0,i.Cg)([(0,u.w)("domains")],c.prototype,"readDomains",null),(0,i.Cg)([(0,d.K)("domains")],c.prototype,"writeDomains",null),(0,i.Cg)([(0,o.MZ)({type:[a.A],json:{write:!0}})],c.prototype,"templates",void 0),c=(0,i.Cg)([(0,o.$K)("esri.layers.support.FeatureType")],c)},91880(e,t,r){r.d(t,{A:()=>u});var i,n=r(5482),s=r(66552),o=r(25482),l=r(91429);const a=new s.J({asc:"ascending",desc:"descending"});let u=class extends o.o{static{i=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,n.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,n.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,n.Cg)([(0,l.MZ)({type:a.apiValues,json:{type:a.jsonValues,read:a.read,write:a.write}})],u.prototype,"order",void 0),u=i=(0,n.Cg)([(0,l.$K)("esri.layers.support.OrderByInfo")],u)},73681(e,t,r){r.d(t,{n:()=>a});var i=r(49186),n=r(53966),s=r(46140),o=r(95466),l=r(55674);class a{static async from(e,t,r){const o=e.dictionary_version?s.A.parse(e.dictionary_version):null,d=new Set(e.itemsNames),c={};if(t)for(const e in t)c[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)c.hasOwnProperty(t.name)||(c[t.name]=t.value);const p=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))p.delete(e);p.size&&n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:p});const y=await(0,l.xR)(e.expression,null,c);if(!y)throw new i.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const h=!o||!o.greaterEqual(4,0);h&&n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:o});const f=new u(r,h);return new a(h,d,y,f)}constructor(e,t,r,i){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=i}get itemNames(){return this._itemNames}evaluate(e,t,r,i){try{return this._reader.bind(e,r,i),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new o.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new o.A(t)}}class u extends l.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},61760(e,t,r){r.d(t,{PU:()=>o,YW:()=>a,ex:()=>n,hv:()=>l,zp:()=>s}),r(34727);var i=r(90629);r(78955),r(91829);const n=2.4;function s(e){return(0,i.PN)(e*n)}function o(e){return(0,i.Lz)(e)/n}function l(e,t,r){const i=Math.sqrt(e**2+t**2)/r;return i>1?0:3/(Math.PI*r**2)*(1-i**2)**2}function a(e){return"function"==typeof e?e:e?t=>+t[e]:()=>1}},96520(e,t,r){r.d(t,{u:()=>a});var i=r(86211),n=r(21325),s=r(52006);function o(e,t,r){if(null==e.hasM||e.hasZ)for(const e of t)for(const t of e)t.length>2&&(t[2]*=r)}function l(e,t,r){if(null==e.hasM||e.hasZ)for(const e of t)for(const t of e){const e=(0,s.yP)(t);e.length>2&&(e[2]*=r)}}function a(e,t,r){if(!e&&!t||!r)return;const n=(0,i.G9)(r);u(e,r,n),u(t,r,n)}function u(e,t,r){if(e)for(const i of e)d(i.geometry,t,r)}function d(e,t,r){if(!e?.spatialReference||(0,n.aI)(e.spatialReference,t))return;const s=(0,i.G9)(e.spatialReference)/r;if(1!==s)if("x"in e)null!=e.z&&(e.z*=s);else if("curveRings"in e)l(e,e.curveRings,s);else if("curvePaths"in e)l(e,e.curvePaths,s);else if("rings"in e)o(e,e.rings,s);else if("paths"in e)o(e,e.paths,s);else if("points"in e&&(null==e.hasM||e.hasZ))for(const t of e.points)t.length>2&&(t[2]*=s)}},58501(e,t,r){r.d(t,{q:()=>n});var i=r(62815);function n(e,t,r){if(!r?.features||!r.hasZ)return;const n=(0,i.N)(r.geometryType,t,e.outSpatialReference);if(n)for(const e of r.features)n(e.geometry)}},22671(e,t,r){r.d(t,{A:()=>v});var i,n=r(5482),s=r(52106),o=r(66552),l=r(25482),a=r(4718),u=r(91429),d=r(16930),c=r(60408),p=r(65864),y=r(50498),h=r(20437),f=r(36005),m=r(43937);const g=new o.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=i=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,r,i){if(e)return void g.write(e,t,r,i);const{features:n}=this;if(n)for(const e of n)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,i)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,i=(0,p.rS)(e);return i&&!r&&t.spatialReference&&(i.spatialReference=d.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const i=t.features[r];if(i.geometry){const t=e?.[r];i.geometry=t?.toJSON()||i.geometry}}return t}quantize(e){const{scale:[t,r],translate:[i,n]}=e,s=this.features,o=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-i)/t),e=>Math.round((n-e)/r));for(let e=0,t=s.length;e<t;e++)o?.(s[e].geometry)||(s.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[i,n],scale:[s,o]}=r;let l=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;l=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}const u=this._getHydrationFunction(e,e=>e*s+i,e=>n-e*o,l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const i=d.A.fromJSON(t.spatialReference),n=[];for(let t=0;t<e.length;t++){const s=e[t],o=r.fromJSON(s),l=s.geometry?.spatialReference;null==o.geometry||l||(o.geometry.spatialReference=i);const a=s.aggregateGeometries,u=o.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],r=a[e],n=r?.spatialReference;null==t||n||(t.spatialReference=i)}n.push(o)}return n}_quantizePoints(e,t,r){let i,n;const s=[];for(let o=0,l=e.length;o<l;o++){const l=e[o];if(o>0){const e=t(l[0]),o=r(l[1]);e===i&&o===n||(s.push([e-i,o-n]),i=e,n=o)}else i=t(l[0]),n=r(l[1]),s.push([i,n])}return s.length>0?s:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const i=(0,c.Bi)(e)?e.rings:e.paths,n=[];for(let e=0,s=i.length;e<s;e++){const s=i[e],o=this._quantizePoints(s,t,r);o&&n.push(o)}return n.length>0?((0,c.Bi)(e)?e.rings=n:e.paths=n,e):null}:"multipoint"===e?e=>{const i=this._quantizePoints(e.points,t,r);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,i,n){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,c.Bi)(e)?e.rings:e.paths;let o,l;for(let e=0,i=s.length;e<i;e++){const i=s[e];for(let e=0,n=i.length;e<n;e++){const n=i[e];e>0?(o+=n[0],l+=n[1]):(o=n[0],l=n[1]),n[0]=t(o),n[1]=r(l)}}if(i&&n)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2]),r[3]=n(r[3])}}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),n&&null!=e.mmax&&null!=e.mmin&&(e.mmax=n(e.mmax),e.mmin=n(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let o,l;for(let e=0,i=s.length;e<i;e++){const i=s[e];e>0?(o+=i[0],l+=i[1]):(o=i[0],l=i[1]),i[0]=t(o),i[1]=r(l)}if(i&&n)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2]),t[3]=n(t[3])}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2])}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2])}}:null}};(0,n.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,n.Cg)([(0,u.MZ)({type:[s.A],json:{write:!0}})],v.prototype,"features",void 0),(0,n.Cg)([(0,f.w)("features")],v.prototype,"readFeatures",null),(0,n.Cg)([(0,u.MZ)({type:[h.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,n.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],v.prototype,"geometryType",void 0),(0,n.Cg)([(0,m.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,n.Cg)([(0,u.MZ)({types:y.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,n.Cg)([(0,f.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,n.Cg)([(0,u.MZ)({type:d.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,n.Cg)([(0,m.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,n.Cg)([(0,u.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=i=(0,n.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0},1873(e,t,r){r.d(t,{$y:()=>A,Ak:()=>V,FM:()=>h,G_:()=>p,Rw:()=>j,Vb:()=>d,b3:()=>S,gJ:()=>u,jM:()=>R,lv:()=>O,oZ:()=>Z,qg:()=>y,sU:()=>L,z9:()=>c,zS:()=>E});var i=r(9760),n=r(84892);const s=/\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*/gi,o=new Set(["esriFieldTypeDate","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong","esriFieldTypeOID","esriFieldTypeBigInteger"]),l=new Set(["esriFieldTypeTimeOnly","esriFieldTypeDateOnly"]),a=["min","max","avg","stddev","count","sum","variance","nullcount","median"];function u(e){return null==e||"string"==typeof e&&!e?"<Null>":e}function d(e){const t=null!=e.normalizationField||null!=e.normalizationType,r=null!=e.minValue||null!=e.maxValue,i=!!e.sqlExpression&&e.supportsSQLExpression;return!t&&!r&&!i}function c(e){const{outStatisticTypes:t}=e,r=e.returnDistinct?[...new Set(e.values)]:e.values,i=r.filter(e=>null!=e).sort(),n=i.length,s={count:n,min:i[0],max:i[n-1]};return e.supportsNullCount&&(s.nullcount=r.length-n),!e.percentileParams||t?.include?.length&&!t.include.includes("median")||t?.exclude?.length&&t.exclude.includes("median")||(s.median=y(r,e.percentileParams)),s}function p(e){const{values:t,useSampleStdDev:r,supportsNullCount:i,outStatisticTypes:n}=e;let s=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY,l=null,a=null,u=null,d=null,c=0;const p=null==e.minValue?-1/0:e.minValue,h=null==e.maxValue?1/0:e.maxValue;for(const e of t)Number.isFinite(e)?e>=p&&e<=h&&(l=null===l?e:l+e,s=Math.min(s,e),o=Math.max(o,e),c++):"string"==typeof e&&c++;if(c&&null!=l){a=l/c;let e=0;for(const r of t)Number.isFinite(r)&&r>=p&&r<=h&&(e+=(r-a)**2);d=r?c>1?e/(c-1):0:c>0?e/c:0,u=Math.sqrt(d)}else s=null,o=null;const f={avg:a,count:c,max:o,min:s,stddev:u,sum:l,variance:d};return i&&(f.nullcount=t.length-c),!e.percentileParams||n?.include?.length&&!n.include.includes("median")||n?.exclude?.length&&n.exclude.includes("median")||(f.median=y(t,e.percentileParams)),f}function y(e,t){const{fieldType:r,value:i,orderBy:n,isDiscrete:s}=t,o=h(r,"desc"===n,"case-insensitive");if(0===(e=[...e].filter(e=>null!=e).sort((e,t)=>o(e,t))).length)return null;if(i<=0)return e[0];if(i>=1)return e[e.length-1];const l=(e.length-1)*i,a=Math.floor(l),u=a+1,d=l%1,c=e[a],p=e[u];return u>=e.length||s||"string"==typeof c||"string"==typeof p?c:c*(1-d)+p*d}function h(e,t,r="case-sensitive"){if(e){if(o.has(e))return F(t);if(l.has(e))return C(t,!0);if("esriFieldTypeTimestampOffset"===e)return function(e){return e?w:v}(t);const i=C(t,"case-sensitive"===r);if("esriFieldTypeString"===e)return i;if("esriFieldTypeGUID"===e||"esriFieldTypeGlobalID"===e)return(e,t)=>i(T(e),T(t))}const i=t?1:-1,n=F(t),s=C(t,"case-sensitive"===r),a=g(t);return(e,t)=>"number"==typeof e&&"number"==typeof t?n(e,t):"string"==typeof e&&"string"==typeof t?s(e,t):a(e,t)??i}const f=(e,t)=>null==e?null==t?0:1:null==t?-1:null,m=(e,t)=>null==e?null==t?0:-1:null==t?1:null;function g(e){return e?f:m}const v=(e,t)=>m(e,t)??(e===t?0:new Date(e).getTime()-new Date(t).getTime()),w=(e,t)=>f(e,t)??(e===t?0:new Date(t).getTime()-new Date(e).getTime()),b=(e,t)=>m(e,t)??(e===t?0:e<t?-1:1),_=(e,t)=>f(e,t)??(e===t?0:e<t?1:-1);function C(e,t){if(t)return e?_:b;const r=g(e);return e?(e,t)=>{const i=r(e,t);return null!=i?i:(e=e.toUpperCase())>(t=t.toUpperCase())?-1:e<t?1:0}:(e,t)=>{const i=r(e,t);return null!=i?i:(e=e.toUpperCase())<(t=t.toUpperCase())?-1:e>t?1:0}}const M=(e,t)=>f(e,t)??t-e,x=(e,t)=>m(e,t)??e-t;function F(e){return e?M:x}function T(e){return e.slice(24,36)+e.slice(19,23)+e.slice(16,18)+e.slice(14,16)+e.slice(11,13)+e.slice(9,11)+e.slice(6,8)+e.slice(4,6)+e.slice(2,4)+e.slice(0,2)}function Z(e,t,r){let i;for(i in e)t?.include?.length&&!t.include.includes(i)||t?.exclude?.length&&t.exclude.includes(i)?delete e[i]:a.includes(i)&&(Number.isFinite(e[i])||(e[i]=null));return r?(["avg","stddev","variance"].forEach(t=>{null!=e[t]&&(e[t]=Math.ceil(e[t]??0))}),e):e}function S(e){const t={};for(let r of e)(null==r||"string"==typeof r&&""===r.trim())&&(r=null),null==t[r]?t[r]={count:1,data:r}:t[r].count++;return{count:t}}function I(e){return"coded-value"!==e?.type?[]:e.codedValues.map(e=>e.code)}function O(e,t,r,i){const n=e.count,s=[];if(r&&t){const e=[],r=I(t[0]);for(const n of r)if(t[1]){const r=I(t[1]);for(const s of r)if(t[2]){const r=I(t[2]);for(const t of r)e.push(`${u(n)}${i}${u(s)}${i}${u(t)}`)}else e.push(`${u(n)}${i}${u(s)}`)}else e.push(n);for(const t of e)n.hasOwnProperty(t)||(n[t]={data:t,count:0})}for(const e in n){const t=n[e];s.push({value:t.data,count:t.count,label:t.label})}return{uniqueValueInfos:s}}function E(e,t,r,i){let n=null;switch(t){case"log":0!==e&&(n=Math.log(e)*Math.LOG10E);break;case"percent-of-total":Number.isFinite(i)&&0!==i&&(n=e/i*100);break;case"field":Number.isFinite(r)&&0!==r&&(n=e/r);break;case"natural-log":e>0&&(n=Math.log(e));break;case"square-root":e>0&&(n=e**.5)}return n}function j(e,t,r){const s=function(e){const{breakCount:t,field:r,normalizationField:n,normalizationType:s}=e,o=e.classificationMethod||"equal-interval",l="standard-deviation"===o?e.standardDeviationInterval||1:void 0,a="defined-interval"===o?e.definedInterval:void 0;return new i.A({breakCount:t,classificationField:r,classificationMethod:o,normalizationField:"field"===s?n:void 0,normalizationType:s,standardDeviationInterval:l,definedInterval:a})}({field:t.field,normalizationType:t.normalizationType,normalizationField:t.normalizationField,classificationMethod:t.classificationMethod,standardDeviationInterval:t.standardDeviationInterval,definedInterval:t.definedInterval,breakCount:t.numClasses||5});return e=function(e,t,r){const i=t??-1/0,n=r??1/0;return e.filter(e=>Number.isFinite(e)&&e>=i&&e<=n)}(e,t.minValue,t.maxValue),(0,n.t)({definition:s,values:e,normalizationTotal:t.normalizationTotal},r)}function R(e,t){let r=e.classBreaks;const i=r.length,n=r[0]?.minValue,o=r[i-1]?.maxValue,l="standard-deviation"===t,a=s;return r=r.map(e=>{const t=e.label,r={minValue:e.minValue,maxValue:e.maxValue,label:t};if(l&&t){const e=t.match(a),i=e?.map(e=>+e.trim())??[];2===i.length?(r.minStdDev=i[0],r.maxStdDev=i[1],i[0]<0&&i[1]>0&&(r.hasAvg=!0)):1===i.length&&(t.includes("<")?(r.minStdDev=null,r.maxStdDev=i[0]):t.includes(">")&&(r.minStdDev=i[0],r.maxStdDev=null))}return r}),{minValue:n,maxValue:o,classBreakInfos:r,normalizationTotal:e.normalizationTotal}}function A(e,t){const r=L(e,t);if(null==r.min&&null==r.max)return{bins:[],minValue:r.min,maxValue:r.max,normalizationTotal:t.normalizationTotal};const i=r.intervals,n=r.min??0,s=r.max??0,o=i.map((e,t)=>({minValue:i[t][0],maxValue:i[t][1],count:0}));for(const t of e)if(null!=t&&t>=n&&t<=s){const e=V(i,t);e>-1&&o[e].count++}return{bins:o,minValue:n,maxValue:s,normalizationTotal:t.normalizationTotal}}function L(e,t,r=!1){const{field:i,classificationMethod:n,standardDeviationInterval:s,definedInterval:o,normalizationType:l,normalizationField:a,normalizationTotal:u,minValue:c,maxValue:y}=t,h=t.numBins||10;let f=null,m=null,g=null;if(n&&"equal-interval"!==n||l){const{classBreaks:t}=j(e,{field:i,normalizationType:l,normalizationField:a,normalizationTotal:u,classificationMethod:n,standardDeviationInterval:s,definedInterval:o,minValue:c,maxValue:y,numClasses:h},null!=c&&null!=y?[c,y]:void 0);f=t[0]?.minValue,m=t[t.length-1]?.maxValue,g=t.map(e=>[e.minValue,e.maxValue])}else{if(null!=c&&null!=y)f=c,m=y;else{const t=p({values:e,minValue:c,maxValue:y,useSampleStdDev:!l,supportsNullCount:d({normalizationType:l,normalizationField:a,minValue:c,maxValue:y})});f=t.min??null,m=t.max??null}g=function(e,t,r){const i=(t-e)/r,n=[];let s,o=e;for(let e=1;e<=r;e++)s=o+i,s=Number(s.toFixed(16)),n.push([o,e===r?t:s]),o=s;return n}(f??0,m??0,h)}if(r&&g.length){const e=g.at(-1)[1];g.push([e,e])}return{min:f,max:m,intervals:g}}function V(e,t){let r=-1;for(let i=e.length-1;i>=0;i--)if(t>=e[i][0]){r=i;break}return r}},55674(e,t,r){r.d(t,{Ad:()=>y,Gj:()=>m,QY:()=>p,lL:()=>g,xR:()=>h});var i=r(66131),n=r(49186),s=(r(44208),r(44729)),o=r(15032),l=r(65864),a=r(95466),u=r(43668),d=r(98623);const c=["geometry","scale","timeProperties"];function p(e,t){if(null!=t)for(const r of c)t.hasArcadeDependency(r)&&e.add(r);return e}function y(e,t){return f.create(e,t,null,["$feature","$view"])}function h(e,t,r){return f.create(e,t,r,["$feature","$view","$config"])}class f{static async create(e,t,r,i){const{arcade:s,Dictionary:o}=await(0,u.l)();let l;try{l=s.parseScript(e)}catch(t){throw new n.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const a=s.scriptUsesGeometryEngine(l);a&&await s.enableGeometrySupport(),await s.loadDependentModules(new Set,l,null,!1,a);const d={vars:i.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},c=s.compileScript(l,d);let p=null;null!=r&&(p=new o(r),p.immutable=!0);const y=new o;return y.immutable=!1,y.setField("scale",0),new f(e,s,l,c,t,y,p,o)}constructor(e,t,r,i,n,s,o,l){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=i,this._spatialReference=n,this._viewDict=s,this._configDict=o,this._dictionaryCtor=l,this._dependencies=new Map,this._featureReader=new m,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const r=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:n,currentEnd:s}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=n?null!=r?i.lY.epochToArcadeDate(n,r):i.lY.unknownEpochToArcadeDate(n):void 0,currentEnd:null!=s?null!=r?i.lY.epochToArcadeDate(s,r):i.lY.unknownEpochToArcadeDate(s):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:r})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class m{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,r){const i=t??new a.A(g(e.attributes));this._boundTarget=e,this._boundSchema.fields=i.fields,this._boundSchema.fieldsIndex=i,this._boundSchema.spatialReference=r}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,l.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}_hasGeometry(){return null!=this._boundTarget.geometry}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===d.L5}field(e,t=!0){const r=this._getField(e);if(r){const t=this._boundTarget.attributes[r.name];if(null==t)return null;switch(r.type){case"date-only":case"esriFieldTypeDateOnly":return s.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return o.k.fromReader(t);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return i.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?i.lY.unknownEpochToArcadeDate(t):i.lY.epochToArcadeDate(t,this.contextTimeZone??d.qU);default:return t}}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map(e=>e.name)}isEmpty(){return this._boundSchema.fields.length<=0&&!this._hasGeometry()}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function g(e){const t=[];for(const r in e)t.push({name:r,alias:r,type:"string"==typeof e[r]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4342,9062,9279],{32587(e,t,r){r.d(t,{A:()=>s});var i=r(62788),n=r(95488);class s{constructor(e){this._observable=new n.I,this._notifyPending=!1,this._batchDepth=0,this._map=new Map(e)}get size(){return(0,i.gc)(this._observable),this._map.size}batch(e){try{this._batchDepth++,e()}finally{this._batchDepth--,this._notifyPending&&0===this._batchDepth&&(this._notifyPending=!1,this._notify())}}clear(){this._map.size>0&&(this._map.clear(),this._notify())}delete(e){const t=this._map.delete(e);return t&&this._notify(),t}entries(){return(0,i.gc)(this._observable),this._map.entries()}forEach(e,t){(0,i.gc)(this._observable),this._map.forEach((r,i)=>e.call(t,r,i,this),t)}get(e){return(0,i.gc)(this._observable),this._map.get(e)}has(e){return(0,i.gc)(this._observable),this._map.has(e)}keys(){return(0,i.gc)(this._observable),this._map.keys()}set(e,t){return this._map.set(e,t),this._notify(),this}transformValues(e,t=this._map.keys()){this.batch(()=>{for(const r of t){if(!this._map.has(r))continue;const t=this._map.get(r),i=e(t,r);i!==t&&this.set(r,i)}})}values(){return(0,i.gc)(this._observable),this._map.values()}[Symbol.iterator](){return(0,i.gc)(this._observable),this._map[Symbol.iterator]()}[Symbol.dispose](){this._observable.destroy()}get[Symbol.toStringTag](){return this._map[Symbol.toStringTag]}_notify(){this._batchDepth>0?this._notifyPending=!0:this._observable.notify()}}},46140(e,t,r){r.d(t,{A:()=>n});var i=r(49186);class n{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}toString(){return`${this.major}.${this.minor}`}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new i.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new n(this.major,this.minor,this._context)}static parse(e,t=""){const[r,s]=e.split("."),o=/^\s*\d+\s*$/;if(!r?.match||!o.test(r))throw new i.A((t&&t+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:e});if(!s?.match||!o.test(s))throw new i.A((t&&t+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:e});const l=parseInt(r,10),a=parseInt(s,10);return new n(l,a,t)}}},44794(e,t,r){r.d(t,{v:()=>l});var i=r(4718),n=r(62788),s=r(95488);class o{constructor(e,t){this._observable=new s.I,this._value=e,this._equalityFunction=t}get value(){return(0,n.gc)(this._observable),this._value}set value(e){this._equalityFunction(e,this._value)||(this._value=e,this._observable.notify())}mutate(e){e(this._value),this._observable.notify()}}function l(e,t=i.gh){return new o(e,t)}},62815(e,t,r){r.d(t,{N:()=>l,d:()=>a});var i=r(86211),n=r(73941),s=r(21325),o=r(52006);function l(e,t,r){const i=a(t,r);if(1!==i)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,i);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e){if(e.curvePaths)for(const r of e.curvePaths)for(const e of r){const r=(0,o.yP)(e);r.length>2&&(r[2]*=t)}if(e.paths)for(const r of e.paths)for(const e of r)e.length>2&&(e[2]*=t)}}(e,i);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e){if(e.curveRings)for(const r of e.curveRings)for(const e of r){const r=(0,o.yP)(e);r.length>2&&(r[2]*=t)}if(e.rings)for(const r of e.rings)for(const e of r)e.length>2&&(e[2]*=t)}}(e,i);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,i);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,i);default:return}}function a(e,t){return null==e||null==t||t.vcsWkid||(0,s.aI)(e,t)||(0,n.xP)(e)||(0,n.xP)(t)?1:(0,i.G9)(e)/(0,i.G9)(t)}},83508(e,t,r){r.r(t),r.d(t,{default:()=>fe});var i=r(5482),n=r(11254),s=r(7762),o=r(49186),l=r(91869),a=r(25728),u=r(17676),d=r(84952),c=r(91429),p=r(4146),y=r(36563),h=r(66344),f=r(32587),m=r(36708),g=r(44794),v=r(56507),w=r(63074),b=r(25036),_=r(10873),C=r(91880),M=r(1873);let x=class extends((0,b.j)((0,w.dM)((0,a.M)(p.A)))){constructor(e){super(e),this._layerCache=new h.q(20,e=>e.destroy()),this._oidToReference=new f.A,this._layerToReference=new Map,this.legendEnabled=!0,this.layers=new s.A,this.maximumVisibleSublayers=10,this.opacity=1,this.parent=null,this.persistenceEnabled=!0,this.title="Layers in view",this.type="catalog-dynamic-group",this.visible=!0}initialize(){this.addHandles([this.layers.on("after-add",({item:e})=>{e.parent=this}),this.layers.on("after-remove",({item:e})=>{e.parent=null}),(0,m.wB)(()=>this._orderBy,()=>{this._updateLayerSortValues(),this._sortAllLayers()})])}load(e){return this.addResolvingPromise(this.parent.load()),Promise.resolve(this)}destroy(){this._layerCache.destroy(),this._oidToReference.clear(),this._layerToReference.clear()}get _orderBy(){return this.parent?this.parent.orderBy?.find(e=>!e.valueExpression&&e.field)??new C.A({field:this.parent.objectIdField}):null}get _referenceComparator(){const e=this._orderBy;if(!this.parent||!e)return()=>0;const t=this.parent.fieldsIndex.get(e.field),r=(0,M.FM)(t?.toJSON().type,"descending"===e.order,"case-sensitive"),i=(0,M.FM)("esriFieldTypeOID","descending"===e.order);return(e,t)=>r(t.sortValue,e.sortValue)||i(t.objectId,e.objectId)}get fullExtent(){return this.parent?.fullExtent??null}get updating(){return(0,l.Bs)(this._oidToReference,({pending:e})=>null!=e)}acquireLayer(e){if(this.destroyed)return(0,y.hA)();const t=this._getLayerReference(e);return t.count++,(0,y.hA)(()=>{t.count--,t.count||this._destroyLayerReference(t)})}_getLayerReference(e){const t=e.getObjectId();return(0,l.tE)(this._oidToReference,t,()=>{const t=e.getObjectId(),r=`${t}`,i=e.getAttribute(this.parent.itemSourceField),n=new F(e,t,i),s=this._layerCache.pop(r);return s?(this._addLayer(n,s),n):(n.pending=this.parent.createLayerFromFootprint(e).then(e=>{n.count?this._addLayer(n,e):(this.destroyed||this._layerCache.get(r)||this._layerCache.put(r,e),n.layer=null)}).catch(()=>{}).finally(()=>{n.pending=null}),n)})}_destroyLayerReference(e){e.layer&&(this._layerToReference.delete(e.layer),this.layers.remove(e.layer),this.destroyed?e.layer.destroy():this._layerCache.put(`${e.objectId}`,e.layer),e.layer=null),this._oidToReference.delete(e.objectId)}_addLayer(e,t){e.layer=t,t.persistenceEnabled=!1,this._layerToReference.set(t,e),this._updateLayerSortValue(e),this.layers.add(t),this._sortAllLayers()}_updateLayerSortValues(){for(const e of this._layerToReference.values())this._updateLayerSortValue(e)}_updateLayerSortValue(e){this._orderBy&&(e.sortValue=e.footprint.getAttribute(this._orderBy.field))}_sortAllLayers(){this.layers.sort((e,t)=>this._referenceComparator(this._layerToReference.get(e),this._layerToReference.get(t)))}};(0,i.Cg)([(0,c.MZ)()],x.prototype,"_orderBy",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],x.prototype,"_referenceComparator",null),(0,i.Cg)([(0,c.MZ)(_.fV)],x.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,c.MZ)({type:["show","hide","hide-children"],json:{write:!0}})],x.prototype,"listMode",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],x.prototype,"fullExtent",null),(0,i.Cg)([(0,c.MZ)({type:String,json:{origins:{service:{read:!1},"portal-item":{read:!1}},write:{ignoreOrigin:!0,isRequired:!0}}})],x.prototype,"id",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],x.prototype,"layers",void 0),(0,i.Cg)([(0,c.MZ)({type:v.jz,range:{min:0,max:50},json:{write:!0,default:10}})],x.prototype,"maximumVisibleSublayers",void 0),(0,i.Cg)([(0,c.MZ)(_.ke)],x.prototype,"opacity",void 0),(0,i.Cg)([(0,c.MZ)({clonable:!1})],x.prototype,"parent",void 0),(0,i.Cg)([(0,c.MZ)({type:String,nonNullable:!0,json:{write:{ignoreOrigin:!0,isRequired:!0}}})],x.prototype,"title",void 0),(0,i.Cg)([(0,c.MZ)({json:{read:!1}})],x.prototype,"type",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],x.prototype,"updating",null),(0,i.Cg)([(0,c.MZ)({type:Boolean,json:{name:"visibility",write:!0}})],x.prototype,"visible",void 0),x=(0,i.Cg)([(0,c.$K)("esri.layers.catalog.CatalogDynamicGroupLayer")],x);class F{constructor(e,t,r){this.footprint=e,this.objectId=t,this.itemSource=r,this.count=0,this.layer=null,this.sortValue=void 0,this._pending=(0,g.v)(null)}get pending(){return this._pending.value}set pending(e){this._pending.value=e}}var T=r(37838),Z=r(4718),S=r(78247),I=r(55156),O=r(60950),E=r(89808),j=r(99959);const R=Symbol("isCatalogGraphicOrigin");var A;class L extends j.A{get[(A=R,O.ym)](){return this.layer}get[I.e](){return this.layer}get[E.Q](){return this.layer}constructor(e){super(),this[A]=!0,this.type="catalog",this.layer=e}get id(){return this.layer.id}}var V=r(87718),D=r(30524),P=r(46499),N=r(39383),q=r(96576),z=r(41214),G=r(30291),$=r(94985);let k=class extends((0,b.j)((0,V.F)((0,w.dM)((0,a.M)(p.A))))){constructor(e){super(e),this.attributeTableTemplate=null,this.charts=null,this.editingEnabled=!0,this.elevationInfo=null,this.formTemplate=null,this.graphicOrigin=new L(this),this.labelingInfo=null,this.labelsVisible=!0,this.legendEnabled=!0,this.maxScale=0,this.minScale=0,this.opacity=1,this.parent=null,this.persistenceEnabled=!0,this.popupEnabled=!0,this.popupTemplate=null,this.title="Footprints",this.type="catalog-footprint",this.visible=!0}load(e){return this.addResolvingPromise(this._doLoad(e)),Promise.resolve(this)}async _doLoad(e){await this.parent.load(e),(0,D.yp)(this.renderer,this.fieldsIndex),this.addHandles([this.parent.on("apply-edits",e=>this.emit("apply-edits",e)),this.parent.on("edits",e=>this.emit("edits",e)),this.parent.on("refresh",e=>this.emit("refresh",e))])}get apiKey(){return this.parent?.apiKey}get capabilities(){return this.parent?.capabilities}get customParameters(){return this.parent?.customParameters}get dateFieldsTimeZone(){return this.parent?.dateFieldsTimeZone??null}get datesInUnknownTimezone(){return this.parent?.datesInUnknownTimezone??!1}get definitionExpression(){return this.parent?.definitionExpression}get editingInfo(){return this.parent?.editingInfo}get effectiveCapabilities(){return this.parent?.effectiveCapabilities}get createQueryVersion(){return this.parent?.createQueryVersion}get defaultPopupTemplate(){return this.createPopupTemplate()}get displayField(){return this.parent?.displayField}get displayFilterEnabled(){return this.parent?.displayFilterEnabled??!0}get displayFilterInfo(){return this.parent?.displayFilterInfo??null}get effectiveEditingEnabled(){return!1}get fields(){return this.parent?.fields}get fieldsIndex(){return this.parent?.fieldsIndex}get fullExtent(){return this.parent?.fullExtent}get geometryFieldsInfo(){return this.parent?.geometryFieldsInfo}get geometryType(){return this.parent?.geometryType}get globalIdField(){return this.parent?.globalIdField}get hasM(){return this.parent?.hasM??!1}get hasZ(){return this.parent?.hasZ??!1}get objectIdField(){return this.parent?.objectIdField}get orderBy(){return this.parent?.orderBy??null}get outFields(){return this.parent?.outFields}get parsedUrl(){return this.parent?.parsedUrl??null}get preferredTimeZone(){return this.parent?.preferredTimeZone??null}set renderer(e){(0,D.yp)(e,this.fieldsIndex),this._set("renderer",e)}get renderer(){return this._isOverridden("renderer")?this._get("renderer"):function(){const e=new $.A({style:"solid",color:[0,0,0,0],outline:{style:"solid",color:[96,96,96,.75],width:.75}});return new q.A({symbol:e})}()}get returnM(){return this.parent?.returnM}get returnZ(){return this.parent?.returnZ}get source(){return this.parent?.source}get timeExtent(){return this.parent?.timeExtent}get timeInfo(){return this.parent?.timeInfo}get timeOffset(){return this.parent?.timeOffset}get typeIdField(){return this.parent?.typeIdField}get types(){return this.parent?.types}get useViewTime(){return this.parent?.useViewTime??!0}get version(){return this.parent?.version}async applyEdits(e,t){return await this.load(),this.parent.applyEdits(e,t)}createPopupTemplate(e){const t={fields:this.fields,objectIdField:this.objectIdField,title:this.title};return(0,G.tn)(t,e)}createQuery(){return this.parent?.createQuery()}getField(e){return this.parent?.getField(e)}getFieldDomain(e,t){return this.parent?.getFieldDomain(e,t)}async queryExtent(e,t){return await this.load(),this.parent.queryExtent(e,t)}async queryFeatures(e,t){return await this.load(),this.parent.queryFeatures(e,t)}async queryFeatureCount(e,t){return await this.load(),this.parent.queryFeatureCount(e,t)}async queryObjectIds(e,t){return await this.load(),this.parent.queryObjectIds(e,t)}async queryAttributeBins(e,t){return await this.load(),this.parent.queryAttributeBins(e,t)}};(0,i.Cg)([(0,c.MZ)(_.zQ)],k.prototype,"attributeTableTemplate",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"apiKey",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"capabilities",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"customParameters",null),(0,i.Cg)([(0,c.MZ)()],k.prototype,"dateFieldsTimeZone",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"datesInUnknownTimezone",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"definitionExpression",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"editingInfo",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"effectiveCapabilities",null),(0,i.Cg)([(0,c.MZ)({json:{origins:{"web-scene":{write:!1}},write:!0}})],k.prototype,"charts",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"createQueryVersion",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"defaultPopupTemplate",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"displayField",null),(0,i.Cg)([(0,c.MZ)({type:Boolean,nonNullable:!0,json:{name:"enableEditing",write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],k.prototype,"editingEnabled",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"effectiveEditingEnabled",null),(0,i.Cg)([(0,c.MZ)((()=>{const e=(0,Z.o8)(_.Yj);return e.json.origins["web-map"]={read:!1,write:!1},e})())],k.prototype,"elevationInfo",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"fields",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"fieldsIndex",null),(0,i.Cg)([(0,c.MZ)({type:S.A,json:{name:"formInfo",write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],k.prototype,"formTemplate",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"fullExtent",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"geometryFieldsInfo",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"geometryType",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"globalIdField",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0,clonable:!1})],k.prototype,"graphicOrigin",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"hasM",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"hasZ",null),(0,i.Cg)([(0,c.MZ)({type:String,json:{origins:{service:{read:!1},"portal-item":{read:!1}},write:{ignoreOrigin:!0,isRequired:!0}}})],k.prototype,"id",void 0),(0,i.Cg)([(0,c.MZ)({type:[P.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:N.w,write:!0}})],k.prototype,"labelingInfo",void 0),(0,i.Cg)([(0,c.MZ)(_.kF)],k.prototype,"labelsVisible",void 0),(0,i.Cg)([(0,c.MZ)(_.fV)],k.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,c.MZ)({type:["show","hide"],json:{write:!0}})],k.prototype,"listMode",void 0),(0,i.Cg)([(0,c.MZ)((()=>{const e=(0,Z.o8)(_.hG);return e.json.origins.service.read=!1,e})())],k.prototype,"maxScale",void 0),(0,i.Cg)([(0,c.MZ)((()=>{const e=(0,Z.o8)(_.hn);return e.json.origins.service.read=!1,e})())],k.prototype,"minScale",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"objectIdField",null),(0,i.Cg)([(0,c.MZ)(_.ke)],k.prototype,"opacity",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"orderBy",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"outFields",null),(0,i.Cg)([(0,c.MZ)({clonable:!1})],k.prototype,"parent",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"parsedUrl",null),(0,i.Cg)([(0,c.MZ)(_.M6)],k.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,c.MZ)({type:T.A,json:{name:"popupInfo",write:!0}})],k.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"preferredTimeZone",null),(0,i.Cg)([(0,c.MZ)({types:z.Hg,json:{origins:{"web-scene":{types:z.XJ}},name:"layerDefinition.drawingInfo.renderer",write:{overridePolicy(e,t){return{ignoreOrigin:this.originIdOf(t)<3}}}}})],k.prototype,"renderer",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"returnM",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"returnZ",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"source",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"timeExtent",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"timeInfo",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"timeOffset",null),(0,i.Cg)([(0,c.MZ)({type:String,nonNullable:!0,json:{write:{ignoreOrigin:!0,isRequired:!0}}})],k.prototype,"title",void 0),(0,i.Cg)([(0,c.MZ)({json:{read:!1}})],k.prototype,"type",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"typeIdField",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"types",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"useViewTime",null),(0,i.Cg)([(0,c.MZ)({type:Boolean,json:{name:"visibility",write:!0}})],k.prototype,"visible",void 0),k=(0,i.Cg)([(0,c.$K)("esri.layers.catalog.CatalogFootprintLayer")],k);var B=r(65515),U=r(52136),J=r(18768),Q=r(69208),K=r(6455),Y=r(47685),H=r(10086),W=r(16131),X=r(32756),ee=r(8303),te=r(54310),re=r(82935),ie=r(15426),ne=r(33143),se=r(17036),oe=r(91908),le=r(20655),ae=r(80812),ue=r(39131),de=r(61956);const ce=(0,se.p)();function pe(e,t,r,i){const n=e.write({},i);(function(e){if(null==e)return!0;const t=Object.keys(e);return!t.length||1===t.length&&"id"===t[0]})(n)||(t[r]=n)}let ye=class extends((0,K.FJ)((0,H.j)((0,Y.w6)((0,w.dM)((0,X.fY)((0,re.e)((0,b.j)((0,te.J)((0,J.b)((0,W.q)((0,ee.A)((0,a.M)((0,Q.d)((0,U.p)(p.A))))))))))))))){constructor(e){super(e),this.legendEnabled=!0,this._portals=new Map,this._layerToFootprint=new WeakMap,this.drawOrderField="cd_draworder",this.dynamicGroupLayer=new x({parent:this}),this.elevationInfo=null,this.fields=null,this.fieldsIndex=null,this.floorInfo=null,this.footprintLayer=new k({parent:this}),this.itemNameField="cd_itemname",this.itemSourceField="cd_itemsource",this.itemTypeField="cd_itemtype",this.layers=new s.A([this.dynamicGroupLayer,this.footprintLayer]),this.maxScaleField="cd_maxscale",this.minScaleField="cd_minscale",this.orderBy=null,this.outFields=null,this.supportedSourceTypes=new Set(["Catalog Layer"]),this.source=new B.default({layer:this,supportedSourceTypes:this.supportedSourceTypes}),this.type="catalog",this.typeIdField=null,this.types=null}load(e){const t=null!=e?e.signal:null,r=this.loadFromPortal({supportedTypes:["Feature Service"]},e).catch(u.QP).then(async()=>{const{url:e,source:r,portalItem:i}=this;if(!e)throw new o.A("catalog-layer:missing-url","Catalog layer must be created with a url");if(null==this.layerId){const r=await this._fetchFirstValidLayerId(t);if(null==r)throw new o.A("catalog-layer:missing-layerId","There is no Catalog Layer in the service",{service:e});this.layerId=r}await r.load({signal:t});const{sourceJSON:n}=r;n&&(this.sourceJSON=n,this.read(n,{origin:"service",portalItem:i,portal:i?.portal,url:this.parsedUrl}))}).then(()=>{const e=[this.itemNameField,this.itemSourceField,this.itemTypeField,this.minScaleField,this.maxScaleField],t=e.filter(e=>!this.fieldsIndex.has(e));if(t.length)throw new o.A("catalog-layer:missing-fields","There are missing fields to operate properly",{requiredFields:e,missingFields:t})}).then(()=>(0,ie.VA)(this,"load",e));return this.addResolvingPromise(r),Promise.resolve(this)}destroy(){this.footprintLayer.destroy(),this.dynamicGroupLayer.destroy();for(const e of this._portals.values())e.destroy();this._portals.clear()}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("capabilities"),(this._get("createQueryVersion")??0)+1}get editingEnabled(){return this.loaded&&null!=this.capabilities&&this.capabilities.operations.supportsEditing&&this.userHasEditingPrivileges}get effectiveEditingEnabled(){return!1}async applyEdits(e,t){return(0,ie.ct)(this,e,t)}async createLayerFromFootprint(e){const t=await this._createLayer(e);return this._configureLayer(t,e),this._layerToFootprint.set(t,e),t}createFootprintFromLayer(e){return this._layerToFootprint.get(e)?.clone()}createQuery(){const e=new de.A,t=this.capabilities?.query;e.returnGeometry=!0,t&&(e.compactGeometryEnabled=t.supportsCompactGeometry,e.defaultSpatialReferenceEnabled=t.supportsDefaultSpatialReference),e.outFields=["*"];const{timeOffset:r,timeExtent:i}=this;return e.timeExtent=null!=r&&null!=i?i.offset(-r.value,r.unit):i||null,e.where=this.definitionExpression||"1=1",e}getFeatureType(e){return(0,ie.xd)(this.types,this.typeIdField,e)}getFieldDomain(e,t){const r=t?.feature,i=this.getFeatureType(r);if(i){const t=i.domains&&i.domains[e];if(t&&"inherited"!==t.type)return t}return this.getField(e)?.domain}async hasDataChanged(){return(0,ie.jp)(this)}async queryFeatures(e,t){const r=await this.load(),i=await r.source.queryFeatures(de.A.from(e)??r.createQuery(),t),n=r.footprintLayer.graphicOrigin;if(i?.features)for(const e of i.features)e.layer=e.sourceLayer=r.footprintLayer,e.origin=n;return i}async queryObjectIds(e,t){return(await this.load()).source.queryObjectIds(de.A.from(e)??this.createQuery(),t)}async queryFeatureCount(e,t){return(await this.load()).source.queryFeatureCount(de.A.from(e)??this.createQuery(),t)}async queryExtent(e,t){return(await this.load()).source.queryExtent(de.A.from(e)??this.createQuery(),t)}serviceSupportsSpatialReference(e){return this.loaded&&(0,oe.D)(this,e)}read(e,t){if(super.read(e,t),e){const{footprintLayer:r,dynamicGroupLayer:i}=e;r&&this.footprintLayer.read(r,t),i&&this.dynamicGroupLayer.read(i,t)}}async queryAttributeBins(e,t){const{source:i,capabilities:n}=await this.load();(0,ie.ZJ)(e,n,"CatalogLayer");const s=await r.e(6956).then(r.bind(r,14575)),o=await i.queryAttributeBins(s.default.from(e),t);if(o.features)for(const e of o.features)e.layer=e.sourceLayer=this.footprintLayer;return o}async _fetchFirstValidLayerId(e){const{data:t}=await(0,n.A)(this.url,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e});if(this.applyPreferredHost(t),Array.isArray(t?.layers))return t.layers.find(({type:e})=>!!e&&this.supportedSourceTypes.has(e))?.id}async _createLayer(e){const t=e.getAttribute(this.itemSourceField);if(!t)throw new o.A("catalog-layer:item-source-missing",`The footprint is missing the "${this.itemSourceField}" attribute`);const i=JSON.parse(t);if(function(e){return"object"==typeof e&&null!=e&&"itemId"in e&&"portalUrl"in e}(i)){const{itemId:e,portalUrl:t}=i,r=(0,ue.qG)(t),n=this.portalItem?.portal,s=le.A.getDefault();let o,a=!0;n&&(0,d.ut)(t,n.url)?o=n:(0,d.ut)(t,s.url)?o=s:(o=(0,l.tE)(this._portals,r,()=>new le.A({url:r})),a=!1);const u=await p.A.fromPortalItem(new ae.default({id:e,portal:o}));return a||await he(u),u}if(function(e){return"object"==typeof e&&null!=e&&"url"in e}(i))return p.A.fromArcGISServerUrl({url:i.url});const{default:n}=await r.e(7546).then(r.bind(r,45165));return new n}_configureLayer(e,t){const r=t.getAttribute(this.itemNameField);r&&(e.title=r);const i=t.getAttribute(this.maxScaleField);null!=i&&"maxScale"in e&&(e.maxScale=i);const n=t.getAttribute(this.minScaleField);null!=n&&"minScale"in e&&(e.minScale=n)}};async function he(e){if("portalItem"in e&&e.portalItem){try{await e.load()}catch{}e.portalItem=null,"group"===e.type&&await Promise.allSettled([...e.layers.map(e=>he(e)),...e.tables.map(e=>he(e))])}}(0,i.Cg)([(0,c.MZ)(_.fV)],ye.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"createQueryVersion",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"drawOrderField",void 0),(0,i.Cg)([(0,c.MZ)({type:x,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:pe}}})],ye.prototype,"dynamicGroupLayer",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"editingEnabled",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"effectiveEditingEnabled",null),(0,i.Cg)([(0,c.MZ)({json:{origins:{"web-scene":{name:"layerDefinition.elevationInfo",read:!1,write:!1}}}})],ye.prototype,"elevationInfo",void 0),(0,i.Cg)([(0,c.MZ)({...ce.fields,readOnly:!0,json:{origins:{service:{read:!0}},read:!1}})],ye.prototype,"fields",void 0),(0,i.Cg)([(0,c.MZ)(ce.fieldsIndex)],ye.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,c.MZ)({json:{origins:{"web-scene":{name:"layerDefinition.floorInfo",read:!1,write:!1}}}})],ye.prototype,"floorInfo",void 0),(0,i.Cg)([(0,c.MZ)({type:k,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:pe}}})],ye.prototype,"footprintLayer",void 0),(0,i.Cg)([(0,c.MZ)(_.id)],ye.prototype,"id",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"itemNameField",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"itemSourceField",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"itemTypeField",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"layers",void 0),(0,i.Cg)([(0,c.MZ)({type:["show","hide","hide-children"]})],ye.prototype,"listMode",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"maxScaleField",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"minScaleField",void 0),(0,i.Cg)([(0,c.MZ)({value:"CatalogLayer",type:["CatalogLayer"]})],ye.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,c.MZ)({json:{origins:{"web-scene":{name:"layerDefinition.orderBy",write:!0,read:!0}}}})],ye.prototype,"orderBy",void 0),(0,i.Cg)([(0,c.MZ)(ce.outFields)],ye.prototype,"outFields",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"source",void 0),(0,i.Cg)([(0,c.MZ)({json:{read:!1}})],ye.prototype,"type",void 0),(0,i.Cg)([(0,c.MZ)({type:String})],ye.prototype,"typeIdField",void 0),(0,i.Cg)([(0,c.MZ)({type:[ne.A]})],ye.prototype,"types",void 0),ye=(0,i.Cg)([(0,c.$K)("esri.layers.CatalogLayer")],ye);const fe=ye},87718(e,t,r){r.d(t,{F:()=>T,Y:()=>F});var i,n=r(5482),s=r(91429),o=r(49186),l=r(25482),a=r(93637),u=r(76369),d=r(66552),c=r(4718),p=r(50498),y=r(61956),h=r(79677);const f=new d.J({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"}),m=new d.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let g=i=class extends l.o{constructor(e){super(e),this.where=null,this.geometry=null,this.spatialRelationship="intersects",this.distance=void 0,this.objectIds=null,this.units=null,this.timeExtent=null}createQuery(e={}){const{where:t,geometry:r,spatialRelationship:i,timeExtent:n,objectIds:s,units:o,distance:l}=this;return new y.A({geometry:(0,c.o8)(r),objectIds:(0,c.o8)(s),spatialRelationship:i,timeExtent:(0,c.o8)(n),where:t,units:o,distance:l,...e})}clone(){const{where:e,geometry:t,spatialRelationship:r,timeExtent:n,objectIds:s,units:o,distance:l}=this;return new i({geometry:(0,c.o8)(t),objectIds:(0,c.o8)(s),spatialRelationship:r,timeExtent:(0,c.o8)(n),where:e,units:o,distance:l})}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],g.prototype,"where",void 0),(0,n.Cg)([(0,s.MZ)({types:p.yR,json:{write:!0}})],g.prototype,"geometry",void 0),(0,n.Cg)([(0,s.MZ)({type:f.apiValues,json:{name:"spatialRel",read:{reader:f.read},write:{allowNull:!1,writer:f.write,overridePolicy(){return{enabled:null!=this.geometry}}}}})],g.prototype,"spatialRelationship",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy(e){return{enabled:null!=e&&null!=this.geometry}}}}})],g.prototype,"distance",void 0),(0,n.Cg)([(0,s.MZ)({type:[Number],json:{write:!0}})],g.prototype,"objectIds",void 0),(0,n.Cg)([(0,s.MZ)({type:m.apiValues,json:{read:m.read,write:{writer:m.write,overridePolicy(e){return{enabled:null!=e&&null!=this.geometry}}}}})],g.prototype,"units",void 0),(0,n.Cg)([(0,s.MZ)({type:h.A,json:{write:!0}})],g.prototype,"timeExtent",void 0),g=i=(0,n.Cg)([(0,s.$K)("esri.layers.support.FeatureFilter")],g);const v=g;var w;const b={read:{reader:u.LF},write:{writer:u.M9,overridePolicy(){return{allowNull:null!=this.excludedEffect,isRequired:null==this.excludedEffect}}}},_={read:{reader:u.LF},write:{writer:u.M9,overridePolicy(){return{allowNull:null!=this.includedEffect,isRequired:null==this.includedEffect}}}},C={name:"showExcludedLabels",default:!0};let M=w=class extends l.o{constructor(e){super(e),this.filter=null,this.includedEffect=null,this.excludedEffect=null,this.excludedLabelsVisible=!1}write(e,t){const r=super.write(e,t);if(t?.origin){if(r.filter){const e=Object.keys(r.filter);if(e.length>1||"where"!==e[0])return t.messages?.push(new o.A("web-document-write:unsupported-feature-effect","Invalid feature effect 'filter'. A filter can only contain a 'where' property",{layer:t.layer,effect:this})),null}if("showExcludedLabels"in r)return t.messages?.push(new o.A("web-document-write:unsupported-feature-effect","Invalid value for property 'excludedLabelsVisible' which should always be 'true'",{layer:t.layer,effect:this})),null}return r}clone(){return new w({filter:null!=this.filter?this.filter.clone():null,includedEffect:this.includedEffect,excludedEffect:this.excludedEffect,excludedLabelsVisible:this.excludedLabelsVisible})}};(0,n.Cg)([(0,s.MZ)({type:v,json:{write:{allowNull:!0,writer(e,t,r,i){const n=e?.write({},i);n&&0!==Object.keys(n).length?(0,a.sM)(r,n,t):(0,a.sM)(r,null,t)}}}})],M.prototype,"filter",void 0),(0,n.Cg)([(0,s.MZ)({json:{read:u.LF,write:{writer:u.M9,allowNull:!0},origins:{"web-map":b,"portal-item":b}}})],M.prototype,"includedEffect",void 0),(0,n.Cg)([(0,s.MZ)({json:{read:u.LF,write:{writer:u.M9,allowNull:!0},origins:{"web-map":_,"portal-item":_}}})],M.prototype,"excludedEffect",void 0),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0,name:"showExcludedLabels",origins:{"web-map":C,"portal-item":C}}})],M.prototype,"excludedLabelsVisible",void 0),M=w=(0,n.Cg)([(0,s.$K)("esri.layers.support.FeatureEffect")],M);const x={write:{allowNull:!0}},F={type:M,json:{origins:{"web-map":x,"portal-item":x}}},T=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.featureEffect=null}};return(0,n.Cg)([(0,s.MZ)(F)],r.prototype,"featureEffect",void 0),r=(0,n.Cg)([(0,s.$K)("esri.layers.mixins.FeatureEffectLayer")],r),r}},32756(e,t,r){r.d(t,{Rr:()=>l,fY:()=>u,ne:()=>a});var i=r(5482),n=r(93637),s=r(91429),o=r(91880);function l(e,t,r){if(!e)return null;const i=e.find(e=>!!e.field);if(!i)return null;const n=new o.A;return n.read(i,r),[n]}const a={type:[o.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,i){const s=e.find(e=>!!e.field);s&&(0,n.sM)(r,[s.toJSON()],t)}}}},u=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,i.Cg)([(0,s.MZ)(a)],r.prototype,"orderBy",void 0),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.OrderedLayer")],r),r}},33143(e,t,r){r.d(t,{A:()=>c});var i=r(5482),n=r(69540),s=r(25482),o=r(91429),l=r(8631),a=r(29005),u=r(36005),d=r(43937);let c=class extends((0,n.OU)(s.o)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,l.r)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],c.prototype,"id",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],c.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],c.prototype,"domains",void 0),(0,i.Cg)([(0,u.w)("domains")],c.prototype,"readDomains",null),(0,i.Cg)([(0,d.K)("domains")],c.prototype,"writeDomains",null),(0,i.Cg)([(0,o.MZ)({type:[a.A],json:{write:!0}})],c.prototype,"templates",void 0),c=(0,i.Cg)([(0,o.$K)("esri.layers.support.FeatureType")],c)},91880(e,t,r){r.d(t,{A:()=>u});var i,n=r(5482),s=r(66552),o=r(25482),l=r(91429);const a=new s.J({asc:"ascending",desc:"descending"});let u=class extends o.o{static{i=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,n.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,n.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,n.Cg)([(0,l.MZ)({type:a.apiValues,json:{type:a.jsonValues,read:a.read,write:a.write}})],u.prototype,"order",void 0),u=i=(0,n.Cg)([(0,l.$K)("esri.layers.support.OrderByInfo")],u)},73681(e,t,r){r.d(t,{n:()=>a});var i=r(49186),n=r(53966),s=r(46140),o=r(95466),l=r(55674);class a{static async from(e,t,r){const o=e.dictionary_version?s.A.parse(e.dictionary_version):null,d=new Set(e.itemsNames),c={};if(t)for(const e in t)c[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)c.hasOwnProperty(t.name)||(c[t.name]=t.value);const p=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))p.delete(e);p.size&&n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:p});const y=await(0,l.xR)(e.expression,null,c);if(!y)throw new i.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const h=!o||!o.greaterEqual(4,0);h&&n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:o});const f=new u(r,h);return new a(h,d,y,f)}constructor(e,t,r,i){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=i}get itemNames(){return this._itemNames}evaluate(e,t,r,i){try{return this._reader.bind(e,r,i),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new o.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new o.A(t)}}class u extends l.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},96520(e,t,r){r.d(t,{u:()=>a});var i=r(86211),n=r(21325),s=r(52006);function o(e,t,r){if(null==e.hasM||e.hasZ)for(const e of t)for(const t of e)t.length>2&&(t[2]*=r)}function l(e,t,r){if(null==e.hasM||e.hasZ)for(const e of t)for(const t of e){const e=(0,s.yP)(t);e.length>2&&(e[2]*=r)}}function a(e,t,r){if(!e&&!t||!r)return;const n=(0,i.G9)(r);u(e,r,n),u(t,r,n)}function u(e,t,r){if(e)for(const i of e)d(i.geometry,t,r)}function d(e,t,r){if(!e?.spatialReference||(0,n.aI)(e.spatialReference,t))return;const s=(0,i.G9)(e.spatialReference)/r;if(1!==s)if("x"in e)null!=e.z&&(e.z*=s);else if("curveRings"in e)l(e,e.curveRings,s);else if("curvePaths"in e)l(e,e.curvePaths,s);else if("rings"in e)o(e,e.rings,s);else if("paths"in e)o(e,e.paths,s);else if("points"in e&&(null==e.hasM||e.hasZ))for(const t of e.points)t.length>2&&(t[2]*=s)}},58501(e,t,r){r.d(t,{q:()=>n});var i=r(62815);function n(e,t,r){if(!r?.features||!r.hasZ)return;const n=(0,i.N)(r.geometryType,t,e.outSpatialReference);if(n)for(const e of r.features)n(e.geometry)}},22671(e,t,r){r.d(t,{A:()=>v});var i,n=r(5482),s=r(52106),o=r(66552),l=r(25482),a=r(4718),u=r(91429),d=r(16930),c=r(60408),p=r(65864),y=r(50498),h=r(20437),f=r(36005),m=r(43937);const g=new o.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=i=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,r,i){if(e)return void g.write(e,t,r,i);const{features:n}=this;if(n)for(const e of n)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,i)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,i=(0,p.rS)(e);return i&&!r&&t.spatialReference&&(i.spatialReference=d.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const i=t.features[r];if(i.geometry){const t=e?.[r];i.geometry=t?.toJSON()||i.geometry}}return t}quantize(e){const{scale:[t,r],translate:[i,n]}=e,s=this.features,o=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-i)/t),e=>Math.round((n-e)/r));for(let e=0,t=s.length;e<t;e++)o?.(s[e].geometry)||(s.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[i,n],scale:[s,o]}=r;let l=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;l=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}const u=this._getHydrationFunction(e,e=>e*s+i,e=>n-e*o,l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const i=d.A.fromJSON(t.spatialReference),n=[];for(let t=0;t<e.length;t++){const s=e[t],o=r.fromJSON(s),l=s.geometry?.spatialReference;null==o.geometry||l||(o.geometry.spatialReference=i);const a=s.aggregateGeometries,u=o.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],r=a[e],n=r?.spatialReference;null==t||n||(t.spatialReference=i)}n.push(o)}return n}_quantizePoints(e,t,r){let i,n;const s=[];for(let o=0,l=e.length;o<l;o++){const l=e[o];if(o>0){const e=t(l[0]),o=r(l[1]);e===i&&o===n||(s.push([e-i,o-n]),i=e,n=o)}else i=t(l[0]),n=r(l[1]),s.push([i,n])}return s.length>0?s:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const i=(0,c.Bi)(e)?e.rings:e.paths,n=[];for(let e=0,s=i.length;e<s;e++){const s=i[e],o=this._quantizePoints(s,t,r);o&&n.push(o)}return n.length>0?((0,c.Bi)(e)?e.rings=n:e.paths=n,e):null}:"multipoint"===e?e=>{const i=this._quantizePoints(e.points,t,r);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,i,n){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,c.Bi)(e)?e.rings:e.paths;let o,l;for(let e=0,i=s.length;e<i;e++){const i=s[e];for(let e=0,n=i.length;e<n;e++){const n=i[e];e>0?(o+=n[0],l+=n[1]):(o=n[0],l=n[1]),n[0]=t(o),n[1]=r(l)}}if(i&&n)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2]),r[3]=n(r[3])}}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),n&&null!=e.mmax&&null!=e.mmin&&(e.mmax=n(e.mmax),e.mmin=n(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let o,l;for(let e=0,i=s.length;e<i;e++){const i=s[e];e>0?(o+=i[0],l+=i[1]):(o=i[0],l=i[1]),i[0]=t(o),i[1]=r(l)}if(i&&n)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2]),t[3]=n(t[3])}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2])}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2])}}:null}};(0,n.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,n.Cg)([(0,u.MZ)({type:[s.A],json:{write:!0}})],v.prototype,"features",void 0),(0,n.Cg)([(0,f.w)("features")],v.prototype,"readFeatures",null),(0,n.Cg)([(0,u.MZ)({type:[h.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,n.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],v.prototype,"geometryType",void 0),(0,n.Cg)([(0,m.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,n.Cg)([(0,u.MZ)({types:y.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,n.Cg)([(0,f.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,n.Cg)([(0,u.MZ)({type:d.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,n.Cg)([(0,m.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,n.Cg)([(0,u.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=i=(0,n.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0},1873(e,t,r){r.d(t,{$y:()=>A,Ak:()=>V,FM:()=>h,G_:()=>p,Rw:()=>j,Vb:()=>d,b3:()=>S,gJ:()=>u,jM:()=>R,lv:()=>O,oZ:()=>Z,qg:()=>y,sU:()=>L,z9:()=>c,zS:()=>E});var i=r(9760),n=r(84892);const s=/\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*/gi,o=new Set(["esriFieldTypeDate","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong","esriFieldTypeOID","esriFieldTypeBigInteger"]),l=new Set(["esriFieldTypeTimeOnly","esriFieldTypeDateOnly"]),a=["min","max","avg","stddev","count","sum","variance","nullcount","median"];function u(e){return null==e||"string"==typeof e&&!e?"<Null>":e}function d(e){const t=null!=e.normalizationField||null!=e.normalizationType,r=null!=e.minValue||null!=e.maxValue,i=!!e.sqlExpression&&e.supportsSQLExpression;return!t&&!r&&!i}function c(e){const{outStatisticTypes:t}=e,r=e.returnDistinct?[...new Set(e.values)]:e.values,i=r.filter(e=>null!=e).sort(),n=i.length,s={count:n,min:i[0],max:i[n-1]};return e.supportsNullCount&&(s.nullcount=r.length-n),!e.percentileParams||t?.include?.length&&!t.include.includes("median")||t?.exclude?.length&&t.exclude.includes("median")||(s.median=y(r,e.percentileParams)),s}function p(e){const{values:t,useSampleStdDev:r,supportsNullCount:i,outStatisticTypes:n}=e;let s=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY,l=null,a=null,u=null,d=null,c=0;const p=null==e.minValue?-1/0:e.minValue,h=null==e.maxValue?1/0:e.maxValue;for(const e of t)Number.isFinite(e)?e>=p&&e<=h&&(l=null===l?e:l+e,s=Math.min(s,e),o=Math.max(o,e),c++):"string"==typeof e&&c++;if(c&&null!=l){a=l/c;let e=0;for(const r of t)Number.isFinite(r)&&r>=p&&r<=h&&(e+=(r-a)**2);d=r?c>1?e/(c-1):0:c>0?e/c:0,u=Math.sqrt(d)}else s=null,o=null;const f={avg:a,count:c,max:o,min:s,stddev:u,sum:l,variance:d};return i&&(f.nullcount=t.length-c),!e.percentileParams||n?.include?.length&&!n.include.includes("median")||n?.exclude?.length&&n.exclude.includes("median")||(f.median=y(t,e.percentileParams)),f}function y(e,t){const{fieldType:r,value:i,orderBy:n,isDiscrete:s}=t,o=h(r,"desc"===n,"case-insensitive");if(0===(e=[...e].filter(e=>null!=e).sort((e,t)=>o(e,t))).length)return null;if(i<=0)return e[0];if(i>=1)return e[e.length-1];const l=(e.length-1)*i,a=Math.floor(l),u=a+1,d=l%1,c=e[a],p=e[u];return u>=e.length||s||"string"==typeof c||"string"==typeof p?c:c*(1-d)+p*d}function h(e,t,r="case-sensitive"){if(e){if(o.has(e))return F(t);if(l.has(e))return C(t,!0);if("esriFieldTypeTimestampOffset"===e)return function(e){return e?w:v}(t);const i=C(t,"case-sensitive"===r);if("esriFieldTypeString"===e)return i;if("esriFieldTypeGUID"===e||"esriFieldTypeGlobalID"===e)return(e,t)=>i(T(e),T(t))}const i=t?1:-1,n=F(t),s=C(t,"case-sensitive"===r),a=g(t);return(e,t)=>"number"==typeof e&&"number"==typeof t?n(e,t):"string"==typeof e&&"string"==typeof t?s(e,t):a(e,t)??i}const f=(e,t)=>null==e?null==t?0:1:null==t?-1:null,m=(e,t)=>null==e?null==t?0:-1:null==t?1:null;function g(e){return e?f:m}const v=(e,t)=>m(e,t)??(e===t?0:new Date(e).getTime()-new Date(t).getTime()),w=(e,t)=>f(e,t)??(e===t?0:new Date(t).getTime()-new Date(e).getTime()),b=(e,t)=>m(e,t)??(e===t?0:e<t?-1:1),_=(e,t)=>f(e,t)??(e===t?0:e<t?1:-1);function C(e,t){if(t)return e?_:b;const r=g(e);return e?(e,t)=>{const i=r(e,t);return null!=i?i:(e=e.toUpperCase())>(t=t.toUpperCase())?-1:e<t?1:0}:(e,t)=>{const i=r(e,t);return null!=i?i:(e=e.toUpperCase())<(t=t.toUpperCase())?-1:e>t?1:0}}const M=(e,t)=>f(e,t)??t-e,x=(e,t)=>m(e,t)??e-t;function F(e){return e?M:x}function T(e){return e.slice(24,36)+e.slice(19,23)+e.slice(16,18)+e.slice(14,16)+e.slice(11,13)+e.slice(9,11)+e.slice(6,8)+e.slice(4,6)+e.slice(2,4)+e.slice(0,2)}function Z(e,t,r){let i;for(i in e)t?.include?.length&&!t.include.includes(i)||t?.exclude?.length&&t.exclude.includes(i)?delete e[i]:a.includes(i)&&(Number.isFinite(e[i])||(e[i]=null));return r?(["avg","stddev","variance"].forEach(t=>{null!=e[t]&&(e[t]=Math.ceil(e[t]??0))}),e):e}function S(e){const t={};for(let r of e)(null==r||"string"==typeof r&&""===r.trim())&&(r=null),null==t[r]?t[r]={count:1,data:r}:t[r].count++;return{count:t}}function I(e){return"coded-value"!==e?.type?[]:e.codedValues.map(e=>e.code)}function O(e,t,r,i){const n=e.count,s=[];if(r&&t){const e=[],r=I(t[0]);for(const n of r)if(t[1]){const r=I(t[1]);for(const s of r)if(t[2]){const r=I(t[2]);for(const t of r)e.push(`${u(n)}${i}${u(s)}${i}${u(t)}`)}else e.push(`${u(n)}${i}${u(s)}`)}else e.push(n);for(const t of e)n.hasOwnProperty(t)||(n[t]={data:t,count:0})}for(const e in n){const t=n[e];s.push({value:t.data,count:t.count,label:t.label})}return{uniqueValueInfos:s}}function E(e,t,r,i){let n=null;switch(t){case"log":0!==e&&(n=Math.log(e)*Math.LOG10E);break;case"percent-of-total":Number.isFinite(i)&&0!==i&&(n=e/i*100);break;case"field":Number.isFinite(r)&&0!==r&&(n=e/r);break;case"natural-log":e>0&&(n=Math.log(e));break;case"square-root":e>0&&(n=e**.5)}return n}function j(e,t,r){const s=function(e){const{breakCount:t,field:r,normalizationField:n,normalizationType:s}=e,o=e.classificationMethod||"equal-interval",l="standard-deviation"===o?e.standardDeviationInterval||1:void 0,a="defined-interval"===o?e.definedInterval:void 0;return new i.A({breakCount:t,classificationField:r,classificationMethod:o,normalizationField:"field"===s?n:void 0,normalizationType:s,standardDeviationInterval:l,definedInterval:a})}({field:t.field,normalizationType:t.normalizationType,normalizationField:t.normalizationField,classificationMethod:t.classificationMethod,standardDeviationInterval:t.standardDeviationInterval,definedInterval:t.definedInterval,breakCount:t.numClasses||5});return e=function(e,t,r){const i=t??-1/0,n=r??1/0;return e.filter(e=>Number.isFinite(e)&&e>=i&&e<=n)}(e,t.minValue,t.maxValue),(0,n.t)({definition:s,values:e,normalizationTotal:t.normalizationTotal},r)}function R(e,t){let r=e.classBreaks;const i=r.length,n=r[0]?.minValue,o=r[i-1]?.maxValue,l="standard-deviation"===t,a=s;return r=r.map(e=>{const t=e.label,r={minValue:e.minValue,maxValue:e.maxValue,label:t};if(l&&t){const e=t.match(a),i=e?.map(e=>+e.trim())??[];2===i.length?(r.minStdDev=i[0],r.maxStdDev=i[1],i[0]<0&&i[1]>0&&(r.hasAvg=!0)):1===i.length&&(t.includes("<")?(r.minStdDev=null,r.maxStdDev=i[0]):t.includes(">")&&(r.minStdDev=i[0],r.maxStdDev=null))}return r}),{minValue:n,maxValue:o,classBreakInfos:r,normalizationTotal:e.normalizationTotal}}function A(e,t){const r=L(e,t);if(null==r.min&&null==r.max)return{bins:[],minValue:r.min,maxValue:r.max,normalizationTotal:t.normalizationTotal};const i=r.intervals,n=r.min??0,s=r.max??0,o=i.map((e,t)=>({minValue:i[t][0],maxValue:i[t][1],count:0}));for(const t of e)if(null!=t&&t>=n&&t<=s){const e=V(i,t);e>-1&&o[e].count++}return{bins:o,minValue:n,maxValue:s,normalizationTotal:t.normalizationTotal}}function L(e,t,r=!1){const{field:i,classificationMethod:n,standardDeviationInterval:s,definedInterval:o,normalizationType:l,normalizationField:a,normalizationTotal:u,minValue:c,maxValue:y}=t,h=t.numBins||10;let f=null,m=null,g=null;if(n&&"equal-interval"!==n||l){const{classBreaks:t}=j(e,{field:i,normalizationType:l,normalizationField:a,normalizationTotal:u,classificationMethod:n,standardDeviationInterval:s,definedInterval:o,minValue:c,maxValue:y,numClasses:h},null!=c&&null!=y?[c,y]:void 0);f=t[0]?.minValue,m=t[t.length-1]?.maxValue,g=t.map(e=>[e.minValue,e.maxValue])}else{if(null!=c&&null!=y)f=c,m=y;else{const t=p({values:e,minValue:c,maxValue:y,useSampleStdDev:!l,supportsNullCount:d({normalizationType:l,normalizationField:a,minValue:c,maxValue:y})});f=t.min??null,m=t.max??null}g=function(e,t,r){const i=(t-e)/r,n=[];let s,o=e;for(let e=1;e<=r;e++)s=o+i,s=Number(s.toFixed(16)),n.push([o,e===r?t:s]),o=s;return n}(f??0,m??0,h)}if(r&&g.length){const e=g.at(-1)[1];g.push([e,e])}return{min:f,max:m,intervals:g}}function V(e,t){let r=-1;for(let i=e.length-1;i>=0;i--)if(t>=e[i][0]){r=i;break}return r}},55674(e,t,r){r.d(t,{Ad:()=>y,Gj:()=>m,QY:()=>p,lL:()=>g,xR:()=>h});var i=r(66131),n=r(49186),s=(r(44208),r(44729)),o=r(15032),l=r(65864),a=r(95466),u=r(43668),d=r(98623);const c=["geometry","scale","timeProperties"];function p(e,t){if(null!=t)for(const r of c)t.hasArcadeDependency(r)&&e.add(r);return e}function y(e,t){return f.create(e,t,null,["$feature","$view"])}function h(e,t,r){return f.create(e,t,r,["$feature","$view","$config"])}class f{static async create(e,t,r,i){const{arcade:s,Dictionary:o}=await(0,u.l)();let l;try{l=s.parseScript(e)}catch(t){throw new n.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const a=s.scriptUsesGeometryEngine(l);a&&await s.enableGeometrySupport(),await s.loadDependentModules(new Set,l,null,!1,a);const d={vars:i.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},c=s.compileScript(l,d);let p=null;null!=r&&(p=new o(r),p.immutable=!0);const y=new o;return y.immutable=!1,y.setField("scale",0),new f(e,s,l,c,t,y,p,o)}constructor(e,t,r,i,n,s,o,l){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=i,this._spatialReference=n,this._viewDict=s,this._configDict=o,this._dictionaryCtor=l,this._dependencies=new Map,this._featureReader=new m,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const r=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:n,currentEnd:s}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=n?null!=r?i.lY.epochToArcadeDate(n,r):i.lY.unknownEpochToArcadeDate(n):void 0,currentEnd:null!=s?null!=r?i.lY.epochToArcadeDate(s,r):i.lY.unknownEpochToArcadeDate(s):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:r})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class m{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,r){const i=t??new a.A(g(e.attributes));this._boundTarget=e,this._boundSchema.fields=i.fields,this._boundSchema.fieldsIndex=i,this._boundSchema.spatialReference=r}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,l.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}_hasGeometry(){return null!=this._boundTarget.geometry}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===d.L5}field(e,t=!0){const r=this._getField(e);if(r){const t=this._boundTarget.attributes[r.name];if(null==t)return null;switch(r.type){case"date-only":case"esriFieldTypeDateOnly":return s.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return o.k.fromReader(t);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return i.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?i.lY.unknownEpochToArcadeDate(t):i.lY.epochToArcadeDate(t,this.contextTimeZone??d.qU);default:return t}}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map(e=>e.name)}isEmpty(){return this._boundSchema.fields.length<=0&&!this._hasGeometry()}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function g(e){const t=[];for(const r in e)t.push({name:r,alias:r,type:"string"==typeof e[r]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1550,1666,2261,3931,4642,5611,6061,6312,7992,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}}},85503(t,e,n){n.d(e,{d:()=>h,e:()=>u});var r=n(4576),s=n(34727),a=n(86211),i=n(91735),o=n(78125);function u(t,e,n={}){let{maxAngleInDegrees:r=0,maxDeviation:u=0,unit:c}=n;const h=(0,o.getSpatialReference)(t);return c&&(e=(0,a.UW)(e,c,h),u&&(u=(0,a.UW)(u,c,h))),(0,o.toGeometry)((0,i.g7)((0,o.fromGeometry)(t),e,u,(0,s.kU)(r)),h)}const c=(0,i.fz)(),h=Object.freeze(Object.defineProperty({__proto__:null,execute:u,executeMany:function(t,e,n={}){let{maxAngleInDegrees:u=0,maxDeviation:c=0,unit:h}=n;const l=t.map(o.fromGeometry),f=(0,o.getSpatialReference)(t);return h&&(e=(0,a.UW)(e,h,f),c&&(c=(0,a.UW)(c,h,f))),(0,i.zo)(l,e,c,(0,s.kU)(u)).map(t=>(0,o.toGeometry)(t,f)).filter(r.Ru)},supportsCurves:c},Symbol.toStringTag,{value:"Module"}))},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,c,h,l,f,m,g,x){return[t,e,n,r,s,a,i,o,u,c,h,l,f,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 a(t,e,n){return[t,e,n]}function i(t,e,n){return[t,e,n]}function o(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 a(1,1,1)}function c(){return a(1,0,0)}function h(){return a(0,1,0)}function l(){return a(0,0,1)}n.d(e,{CN:()=>i,Cb:()=>p,Cw:()=>g,JP:()=>x,Un:()=>m,ci:()=>o,fA:()=>a,o8:()=>s,uY:()=>f,vt:()=>r});const f=[0,0,0],m=u(),g=c(),x=h(),p=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:m,UNIT_X:g,UNIT_Y:x,UNIT_Z:p,ZEROS:f,clone:s,create:r,freeze:i,fromArray:o,fromValues:a,ones:u,unitX:c,unitY:h,unitZ:l,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>I,Bw:()=>a,C:()=>i,Cc:()=>_,DI:()=>E,Il:()=>k,Io:()=>d,Ln:()=>y,Om:()=>b,Qr:()=>l,Re:()=>c,S8:()=>P,T9:()=>x,WQ:()=>u,Z0:()=>A,_S:()=>m,aI:()=>Y,ei:()=>O,fw:()=>V,gL:()=>S,hG:()=>M,hZ:()=>o,hs:()=>p,jb:()=>F,jk:()=>g,lo:()=>X,lw:()=>h,m3:()=>v,oW:()=>N,t2:()=>R,tn:()=>f,uE:()=>L,xg:()=>G,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 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 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 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 d(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 b(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function I(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 _(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 O(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 S(t,e,n){return V(t,e,n[0],n[1],n[2],n[3])}function V(t,e,n,r,s,a){const i=e[0],o=e[1],u=e[2],c=r*u-s*o,h=s*i-n*u,l=n*o-r*i,f=r*l-s*h,m=s*c-n*l,g=n*h-r*c,x=2*a;return t[0]=i+c*x+2*f,t[1]=o+h*x+2*m,t[2]=u+l*x+2*g,t}const Z=(0,r.vt)(),w=(0,r.vt)();function R(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function Y(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],c=(0,s.FD)();return Math.abs(n-i)<=c*Math.max(1,Math.abs(n),Math.abs(i))&&Math.abs(r-o)<=c*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(a-u)<=c*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 F=c,T=h,z=l,G=d,X=M,k=a,L=v;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:function(t,e){P(Z,t),P(w,e);const n=b(Z,w);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,r,s,a){const i=1-a,o=i*i,u=a*a,c=o*i,h=3*a*o,l=3*u*i,f=u*a;return t[0]=e[0]*c+n[0]*h+r[0]*l+s[0]*f,t[1]=e[1]*c+n[1]*h+r[1]*l+s[1]*f,t[2]=e[2]*c+n[2]*h+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:I,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],a=e[2],i=n[0],o=n[1],u=n[2],c=s*u-a*o,h=a*i-r*u,l=r*o-s*i,f=Math.sqrt(c*c+h*h+l*l);return t[0]=c/f,t[1]=h/f,t[2]=l/f,t},direction:N,dist:G,distance:d,div:z,divide:l,dot:b,equals:Y,exactEquals:R,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,c=i*(a-1),h=i*(3-2*a);return t[0]=e[0]*o+n[0]*u+r[0]*c+s[0]*h,t[1]=e[1]*o+n[1]*u+r[1]*c+s[1]*h,t[2]=e[2]*o+n[2]*u+r[2]*c+s[2]*h,t},inverse:E,len:k,length:a,lerp:_,max:x,min:g,mul:T,multiply:h,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:y,set:o,sign:m,sqrDist:X,sqrLen:L,squaredDistance:M,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:F,subtract:c,transformMat3:O,transformMat4:A,transformQuat:S,transformQuatValues:V},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>i,RS:()=>s,Ul:()=>m,i5:()=>f,lM:()=>a,qK:()=>h});var r=n(34275);const s=16;function a(t){if(!t)return 0;let e=h;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 c(t,8);let n=l;for(let r=0;r<e;r++)n+=o(t[r]);return n}(t);let e=h;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):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+f:Array.isArray(e)?c(e,s):0:0),0)}function c(t,e){return l+t.length*e}const h=32,l=16,f=145,m=64},87992(t,e,n){n.d(e,{JR:()=>I,ME:()=>E,MY:()=>_,NO:()=>C,Nh:()=>b,V2:()=>Z,_s:()=>w,e6:()=>Y,gh:()=>P,tr:()=>F,uX:()=>p});var r=n(5482),s=n(69397),a=n(16930),i=(n(70328),n(19419)),o=n(60408),u=n(21325),c=n(513),h=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:c,segmentIndices:h,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=c,this.segmentIndices=h,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=Z(t,e,n,r,s,this.hasCurves(),a,i);o.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:c,vertexM:h}=this;if(o.vertexXY.set(u.subarray(0,2*e),0),o.vertexZ?.set(c.subarray(0,e),0),o.vertexM?.set(h.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 y(this):[][Symbol.iterator]()}}class y{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=S(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=S(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 c=e[n++],h=e[n++];if(!Boolean(4&r)&&1===a)return{c:[this.end,[c,h]]};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=O(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,c,h]=s;e={xmin:a,ymin:o,xmax:c,ymax:h,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,V(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const s=Z(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:c,vertexM:h}=s;function l(t){u[2*g]=t[0],u[2*g+1]=t[1],a&&(c[g]=t[2]),i&&(h[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 y=0;if(!s.hasCurves()){for(const t of n){if(p[y++]=g,0===t.length)continue;let e=t.length;if(x&&V(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[y]=g,s}function d(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[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];l(n);const a=g-1;(0,f.wY)(r)?(d(10),++s.segmentCountArc,M=w(n,r,s,a,M),n=r.a[0]):(0,f.DA)(r)?(d(10),++s.segmentCountArc,M=R(n,r,s,a,M),n=r.a[0]):(0,f.aO)(r)?(d(10),++s.segmentCountArc,M=Y(n,r,s,a,M),n=r.c[0]):(0,f.n1)(r)?(d(4),++s.segmentCountBezier,M=F(0,r,s,a,M),n=r.b[0]):n=r}x&&V(e,n)||l(n)}return s.partOffsets[y]=g,s}function P(t){const e=S(t),{vertexCount:n,partCount:r,hasZ:s,hasM:a}=t,i=O(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 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:a,spatialReference:i}:{paths:[],curvePaths:c,hasZ:s,hasM:a,spatialReference:i}}function b(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 c=Z(t,u,i,r,s,!1,0,0);if(c.spatialReference=a??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 l=0,f=0;c.partOffsets[0]=0;for(const t of e){const e=c.partOffsets[f],a=e+t-Number(o);c.partOffsets[++f]=a;for(let t=e;t<a;++t)c.vertexXY[2*t]=n[l++],c.vertexXY[2*t+1]=n[l++],r&&(c.vertexZ[t]=n[l++]),s&&(c.vertexM[t]=n[l++]);o&&(l+=h)}return c}function I({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:a,partOffsets:i,hasZ:o,hasM:u}){const c=new x.A([],[],o,u);a=Math.max(a,1);const h="polygon"===t;let l=0;for(let t=0;t<a;++t){const a=i?.[t+1]??e,f=c.coords.length;for(let t=l;t<a;++t)c.coords.push(n[2*t],n[2*t+1]),o&&c.coords.push(r[t]),u&&c.coords.push(s[t]);if(h){const t=l;c.coords.push(n[2*t],n[2*t+1]),o&&c.coords.push(r[t]),u&&c.coords.push(s[t])}c.lengths.push((c.coords.length-f)/c.stride),l=a}return"point"===t&&(c.lengths.length=0),c}function _(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 O({spatialReference:t}){return t instanceof a.A?t.toJSON():t}function S({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 V(t,e){return t.every((t,n)=>t===e[n])}function Z(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 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),a&&(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 l=0;return u.vertexXY=new Float64Array(h,l,2*e),l+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(h,l,e),l+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(h,l,e),l+=u.vertexM.byteLength),a&&(u.segmentParams=new Float64Array(h,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(h,l,e),u.segmentIndices.fill(z),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(h,l,n+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(h,l,n+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),a&&(u.segmentFlags=new Int8Array(h,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function w(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){n[a]=4,r[a]=i;const[o,[u,c],h,l,f,m,x]=e.a;let p=4;l||(p|=1),h||(p|=2);const y=(0,g.SW)(t,e),[d,M]=(0,g.Uk)(y,.5);return s[i++]=p,s[i++]=m,s[i++]=x,s[i++]=f,s[i++]=u,s[i++]=c,s[i++]=y.u2-y.u1,s[i++]=y.u1,s[i++]=d,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 N(o,4,...(0,c.mq)(o,.5),s,i)}function Y(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){return n[a]=4,r[a]=i,N((0,h.pM)(t,e),0,...e.c[1],s,i)}function N(t,e,n,r,s,a){const{cx:i,cy:o,thetaStart:u,thetaEnd:c,radius:h}=t;return u>c||(e|=1),Math.abs(c-u)<=Math.PI||(e|=2),s[a++]=e,s[a++]=h,s[a++]=1,s[a++]=0,s[a++]=i,s[a++]=o,s[a++]=c-u,s[a++]=u,s[a++]=n,s[a++]=r,a}function F(t,{b:[e,[n,r],[s,a]]},{segmentFlags:i,segmentIndices:o,segmentParams:u},c,h){return i[c]=2,o[c]=h,u[h++]=n,u[h++]=r,u[h++]=s,u[h++]=a,h}const T=1.61803,z=-1},88411(t,e,n){n.d(e,{execute:()=>r.e}),n(4576),n(34727),n(86211),n(91735),n(78125);var r=n(85503)},91735(t,e,n){n.d(e,{fz:()=>o,g7:()=>a,zo:()=>i});var r=n(76061);const s=new(n(5247).O);function a(t,e,n,r){return s.execute(t,e,n,r,null)}function i(t,e,n,a){const i=s.executeMany(new r.S(t),e,n,a,null);return Array.from(i)}function o(){return s.supportsCurves()}},78125(t,e,n){n.r(e),n.d(e,{fromExtent:()=>p,fromGeometry:()=>x,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>M,fromPolyline:()=>v,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>g,toExtent:()=>b,toGeometry:()=>P,toMultipoint:()=>I,toPoint:()=>_,toPolygon:()=>A,toPolyline:()=>O});var r=n(83661),s=(n(79187),n(55537)),a=n(95213),i=n(88885),o=n(5443),u=n(48526),c=n(86738),h=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 d(t);case"multipoint":return y(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 y(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 d(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 _(t,e);case s.G.enumEnvelope:return b(t,e);case s.G.enumMultiPoint:return I(t,e);case s.G.enumPolyline:return O(t,e);case s.G.enumPolygon:return A(t,e)}return null}function b(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 I(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 c=new u.A({hasM:r,hasZ:s,points:i,spatialReference:e});return c.setCacheValue(m,t),c}function _(t,e){if(t instanceof r.P)return new c.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const n=new c.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=h.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}function O(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:()=>c,cj:()=>u,jh:()=>a,l5:()=>o,xm:()=>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){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function o(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function u(t){return[...t]}function c(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:()=>y,Jt:()=>d,Ne:()=>g,RF:()=>h,aI:()=>C,fA:()=>i,gE:()=>u,hZ:()=>p,iT:()=>f,is:()=>v,qv:()=>E,vI:()=>x,vY:()=>o,v_:()=>P,vt:()=>a,w1:()=>c}),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],c=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]),c=Math.max(c,e[n+3*t+2]);t[0]=s,t[1]=a,t[2]=i,t[3]=o,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,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 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 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 y(t){return t?p(t,E):a(E)}function d(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)}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3846],{5482(t,n,e){function r(t,n,e,r){var a,o=arguments.length,u=o<3?n:null===r?r=Object.getOwnPropertyDescriptor(n,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(t,n,e,r);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(u=(o<3?a(u):o>3?a(n,e,u):a(n,e))||u);return o>3&&u&&Object.defineProperty(n,e,u),u}function a(t,n,e){if(null!=n){if("object"!=typeof n&&"function"!=typeof n)throw new TypeError("Object expected.");var r,a;if(e){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=n[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=n[Symbol.dispose],e&&(a=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");a&&(r=function(){try{a.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:n,dispose:r,async:e})}else e&&t.stack.push({async:!0});return n}e.d(n,{Cg:()=>r,hk:()=>u,mS:()=>a}),Object.create,Object.create;var o="function"==typeof SuppressedError?SuppressedError:function(t,n,e){var r=new Error(e);return r.name="SuppressedError",r.error=t,r.suppressed=n,r};function u(t){function n(n){t.error=t.hasError?new o(n,t.error,"An error was suppressed during disposal."):n,t.hasError=!0}var e,r=0;return function a(){for(;e=t.stack.pop();)try{if(!e.async&&1===r)return r=0,t.stack.push(e),Promise.resolve().then(a);if(e.dispose){var o=e.dispose.call(e.value);if(e.async)return r|=2,Promise.resolve(o).then(a,function(t){return n(t),a()})}else r|=1}catch(t){n(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},69540(t,n,e){e.d(n,{OU:()=>c,Pw:()=>f});var r=e(5482),a=e(69622),o=(e(44208),e(4718)),u=(e(53966),e(97768)),s=e(88620),l=e(64108);const i=Symbol("ClonableMixin"),c=t=>{var n;const e=t;let a=class extends e{constructor(){super(...arguments),this[n]=!0}static{n=i}clone(t){const n=(0,s.oY)(this);(0,u.Lw)(n,"unable to clone instance of non-accessor class");const e=n.metadata,r=n.store,a={},l=new Map;for(const n in e){const u=e[n],s=r?.originOf(n),i=u.clonable;if(u.readOnly||!1===i||7!==s&&0!==s&&5!==s&&4!==s)continue;const c=this[n];let f=null;if("function"==typeof i)f=i(c,t);else if("reference"===i)f=c;else if(f=(0,o.TU)(c,t),null!=c&&null==f)continue;0===s?l.set(n,f):a[n]=f}const i=new(0,Object.getPrototypeOf(this).constructor)(a);if(l.size){const t=(0,s.oY)(i)?.store;if(t)for(const[n,e]of l)t.set(n,e,0)}return i}};return a=(0,r.Cg)([(0,l.$)("esri.core.Clonable")],a),a},f=c(a.A)},29242(t,n,e){function r(){return[1,0,0,0,1,0,0,0,1]}function a(t,n,e,r,a,o,u,s,l){return[t,n,e,r,a,o,u,s,l]}e.d(n,{fA:()=>a,vt:()=>r,zK:()=>o});const o=[1,0,0,0,1,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},create:r,fromValues:a},Symbol.toStringTag,{value:"Module"}))},51850(t,n,e){function r(){return[0,0,0]}function a(t){return[t[0],t[1],t[2]]}function o(t,n,e){return[t,n,e]}function u(t,n,e){return[t,n,e]}function s(t,n=[0,0,0]){const e=Math.min(3,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n}function l(){return o(1,1,1)}function i(){return o(1,0,0)}function c(){return o(0,1,0)}function f(){return o(0,0,1)}e.d(n,{CN:()=>u,Cb:()=>p,Cw:()=>b,JP:()=>d,Un:()=>M,ci:()=>s,fA:()=>o,o8:()=>a,uY:()=>h,vt:()=>r});const h=[0,0,0],M=l(),b=i(),d=c(),p=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:M,UNIT_X:b,UNIT_Y:d,UNIT_Z:p,ZEROS:h,clone:a,create:r,freeze:u,fromArray:s,fromValues:o,ones:l,unitX:i,unitY:c,unitZ:f,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},91829(t,n,e){function r(){return[0,0,0,0]}function a(t,n,e,r){return[t,n,e,r]}function o(){return a(1,1,1,1)}function u(){return a(1,0,0,0)}function s(){return a(0,1,0,0)}function l(){return a(0,0,1,0)}function i(){return a(0,0,0,1)}e.d(n,{Un:()=>f,fA:()=>a,uY:()=>c,vt:()=>r});const c=[0,0,0,0],f=o(),h=u(),M=s(),b=l(),d=i();Object.freeze(Object.defineProperty({__proto__:null,ONES:f,UNIT_W:d,UNIT_X:h,UNIT_Y:M,UNIT_Z:b,ZEROS:c,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:r,freeze:function(t,n,e,r){return[t,n,e,r]},fromArray:function(t,n=[0,0,0,0]){const e=Math.min(4,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n},fromValues:a,ones:o,unitW:i,unitX:u,unitY:s,unitZ:l,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},34304(t,n,e){e.d(n,{DF:()=>l,FD:()=>a,Ov:()=>o,ct:()=>i});let r=1e-6;function a(){return r}const o=Math.random,u=Math.PI/180,s=180/Math.PI;function l(t){return t*u}function i(t){return t*s}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:o,equals:function(t,n){return Math.abs(t-n)<=r*Math.max(1,Math.abs(t),Math.abs(n))},getEpsilon:a,setEpsilon:function(t){r=t},toDegree:i,toRadian:l},Symbol.toStringTag,{value:"Module"}))},77690(t,n,e){e.d(n,{B8:()=>s,Ge:()=>M,I0:()=>h,KC:()=>l,a4:()=>i,hZ:()=>o,hs:()=>f,lw:()=>c,mg:()=>u,z0:()=>a});var r=e(34304);function a(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[4],t[4]=n[5],t[5]=n[6],t[6]=n[8],t[7]=n[9],t[8]=n[10],t}function o(t,n,e,r,a,o,u,s,l,i){return t[0]=n,t[1]=e,t[2]=r,t[3]=a,t[4]=o,t[5]=u,t[6]=s,t[7]=l,t[8]=i,t}function u(t,n){if(t===n){const e=n[1],r=n[2],a=n[5];t[1]=n[3],t[2]=n[6],t[3]=e,t[5]=n[7],t[6]=r,t[7]=a}else t[0]=n[0],t[1]=n[3],t[2]=n[6],t[3]=n[1],t[4]=n[4],t[5]=n[7],t[6]=n[2],t[7]=n[5],t[8]=n[8];return t}function s(t,n){const e=n[0],r=n[1],a=n[2],o=n[3],u=n[4],s=n[5],l=n[6],i=n[7],c=n[8],f=c*u-s*i,h=-c*o+s*l,M=i*o-u*l;let b=e*f+r*h+a*M;return b?(b=1/b,t[0]=f*b,t[1]=(-c*r+a*i)*b,t[2]=(s*r-a*u)*b,t[3]=h*b,t[4]=(c*e-a*l)*b,t[5]=(-s*e+a*o)*b,t[6]=M*b,t[7]=(-i*e+r*l)*b,t[8]=(u*e-r*o)*b,t):null}function l(t,n){const e=n[0],r=n[1],a=n[2],o=n[3],u=n[4],s=n[5],l=n[6],i=n[7],c=n[8];return t[0]=u*c-s*i,t[1]=a*i-r*c,t[2]=r*s-a*u,t[3]=s*l-o*c,t[4]=e*c-a*l,t[5]=a*o-e*s,t[6]=o*i-u*l,t[7]=r*l-e*i,t[8]=e*u-r*o,t}function i(t){const n=t[0],e=t[1],r=t[2],a=t[3],o=t[4],u=t[5],s=t[6],l=t[7],i=t[8];return n*(i*o-u*l)+e*(-i*a+u*s)+r*(l*a-o*s)}function c(t,n,e){const r=n[0],a=n[1],o=n[2],u=n[3],s=n[4],l=n[5],i=n[6],c=n[7],f=n[8],h=e[0],M=e[1],b=e[2],d=e[3],p=e[4],m=e[5],y=e[6],g=e[7],v=e[8];return t[0]=h*r+M*u+b*i,t[1]=h*a+M*s+b*c,t[2]=h*o+M*l+b*f,t[3]=d*r+p*u+m*i,t[4]=d*a+p*s+m*c,t[5]=d*o+p*l+m*f,t[6]=y*r+g*u+v*i,t[7]=y*a+g*s+v*c,t[8]=y*o+g*l+v*f,t}function f(t,n,e){const r=e[0],a=e[1],o=e[2];return t[0]=r*n[0],t[1]=r*n[1],t[2]=r*n[2],t[3]=a*n[3],t[4]=a*n[4],t[5]=a*n[5],t[6]=o*n[6],t[7]=o*n[7],t[8]=o*n[8],t}function h(t,n){const e=n[0],r=n[1],a=n[2],o=n[3],u=e+e,s=r+r,l=a+a,i=e*u,c=r*u,f=r*s,h=a*u,M=a*s,b=a*l,d=o*u,p=o*s,m=o*l;return t[0]=1-f-b,t[3]=c-m,t[6]=h+p,t[1]=c+m,t[4]=1-i-b,t[7]=M-d,t[2]=h-p,t[5]=M+d,t[8]=1-i-f,t}function M(t,n){const e=n[0],r=n[1],a=n[2],o=n[3],u=n[4],s=n[5],l=n[6],i=n[7],c=n[8],f=n[9],h=n[10],M=n[11],b=n[12],d=n[13],p=n[14],m=n[15],y=e*s-r*u,g=e*l-a*u,v=e*i-o*u,w=r*l-a*s,O=r*i-o*s,I=a*i-o*l,S=c*d-f*b,x=c*p-h*b,R=c*m-M*b,A=f*p-h*d,q=f*m-M*d,_=h*m-M*p;let T=y*_-g*q+v*A+w*R-O*x+I*S;return T?(T=1/T,t[0]=(s*_-l*q+i*A)*T,t[1]=(l*R-u*_-i*x)*T,t[2]=(u*q-s*R+i*S)*T,t[3]=(a*q-r*_-o*A)*T,t[4]=(e*_-a*R+o*x)*T,t[5]=(r*R-e*q-o*S)*T,t[6]=(d*I-p*O+m*w)*T,t[7]=(p*v-b*I-m*g)*T,t[8]=(b*O-d*v+m*y)*T,t):null}function b(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t[3]=n[3]-e[3],t[4]=n[4]-e[4],t[5]=n[5]-e[5],t[6]=n[6]-e[6],t[7]=n[7]-e[7],t[8]=n[8]-e[8],t}const d=c,p=b;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t[3]=n[3]+e[3],t[4]=n[4]+e[4],t[5]=n[5]+e[5],t[6]=n[6]+e[6],t[7]=n[7]+e[7],t[8]=n[8]+e[8],t},adjoint:l,copy:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t},determinant:i,equals:function(t,n){const e=t[0],a=t[1],o=t[2],u=t[3],s=t[4],l=t[5],i=t[6],c=t[7],f=t[8],h=n[0],M=n[1],b=n[2],d=n[3],p=n[4],m=n[5],y=n[6],g=n[7],v=n[8],w=(0,r.FD)();return Math.abs(e-h)<=w*Math.max(1,Math.abs(e),Math.abs(h))&&Math.abs(a-M)<=w*Math.max(1,Math.abs(a),Math.abs(M))&&Math.abs(o-b)<=w*Math.max(1,Math.abs(o),Math.abs(b))&&Math.abs(u-d)<=w*Math.max(1,Math.abs(u),Math.abs(d))&&Math.abs(s-p)<=w*Math.max(1,Math.abs(s),Math.abs(p))&&Math.abs(l-m)<=w*Math.max(1,Math.abs(l),Math.abs(m))&&Math.abs(i-y)<=w*Math.max(1,Math.abs(i),Math.abs(y))&&Math.abs(c-g)<=w*Math.max(1,Math.abs(c),Math.abs(g))&&Math.abs(f-v)<=w*Math.max(1,Math.abs(f),Math.abs(v))},exactEquals:function(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2)},fromMat2d:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=0,t[3]=n[2],t[4]=n[3],t[5]=0,t[6]=n[4],t[7]=n[5],t[8]=1,t},fromMat4:a,fromQuat:h,fromRotation:function(t,n){const e=Math.sin(n),r=Math.cos(n);return t[0]=r,t[1]=e,t[2]=0,t[3]=-e,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=n[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=n[0],t[7]=n[1],t[8]=1,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},invert:s,isOrthoNormal:function(t){const n=(0,r.FD)(),e=t[0],a=t[1],o=t[2],u=t[3],s=t[4],l=t[5],i=t[6],c=t[7],f=t[8];return Math.abs(1-(e*e+u*u+i*i))<=n&&Math.abs(1-(a*a+s*s+c*c))<=n&&Math.abs(1-(o*o+l*l+f*f))<=n},mul:d,multiply:c,multiplyScalar:function(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t[4]=n[4]*e,t[5]=n[5]*e,t[6]=n[6]*e,t[7]=n[7]*e,t[8]=n[8]*e,t},multiplyScalarAndAdd:function(t,n,e,r){return t[0]=n[0]+e[0]*r,t[1]=n[1]+e[1]*r,t[2]=n[2]+e[2]*r,t[3]=n[3]+e[3]*r,t[4]=n[4]+e[4]*r,t[5]=n[5]+e[5]*r,t[6]=n[6]+e[6]*r,t[7]=n[7]+e[7]*r,t[8]=n[8]+e[8]*r,t},normalFromMat4:M,normalFromMat4Legacy:function(t,n){const e=n[0],r=n[1],a=n[2],o=n[4],u=n[5],s=n[6],l=n[8],i=n[9],c=n[10],f=c*u-s*i,h=-c*o+s*l,M=i*o-u*l,b=e*f+r*h+a*M;if(!b)return null;const d=1/b;return t[0]=f*d,t[1]=(-c*r+a*i)*d,t[2]=(s*r-a*u)*d,t[3]=h*d,t[4]=(c*e-a*l)*d,t[5]=(-s*e+a*o)*d,t[6]=M*d,t[7]=(-i*e+r*l)*d,t[8]=(u*e-r*o)*d,t},projection:function(t,n,e){return t[0]=2/n,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/e,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,n,e){const r=n[0],a=n[1],o=n[2],u=n[3],s=n[4],l=n[5],i=n[6],c=n[7],f=n[8],h=Math.sin(e),M=Math.cos(e);return t[0]=M*r+h*u,t[1]=M*a+h*s,t[2]=M*o+h*l,t[3]=M*u-h*r,t[4]=M*s-h*a,t[5]=M*l-h*o,t[6]=i,t[7]=c,t[8]=f,t},scale:f,scaleByVec2:function(t,n,e){const r=e[0],a=e[1];return t[0]=r*n[0],t[1]=r*n[1],t[2]=r*n[2],t[3]=a*n[3],t[4]=a*n[4],t[5]=a*n[5],t},set:o,str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},sub:p,subtract:b,translate:function(t,n,e){const r=n[0],a=n[1],o=n[2],u=n[3],s=n[4],l=n[5],i=n[6],c=n[7],f=n[8],h=e[0],M=e[1];return t[0]=r,t[1]=a,t[2]=o,t[3]=u,t[4]=s,t[5]=l,t[6]=h*r+M*u+i,t[7]=h*a+M*s+c,t[8]=h*o+M*l+f,t},transpose:u},Symbol.toStringTag,{value:"Module"}))},58083(t,n,e){e.d(n,{$0:()=>p,$h:()=>R,B8:()=>i,C:()=>o,D_:()=>s,N9:()=>y,O7:()=>x,Tl:()=>f,X_:()=>O,aI:()=>T,e$:()=>M,eL:()=>b,hM:()=>m,hZ:()=>u,hs:()=>h,kN:()=>d,l:()=>I,lw:()=>c,mg:()=>l,o1:()=>S,sC:()=>w,t2:()=>_,t5:()=>A,tZ:()=>D,ut:()=>j});var r=e(51850),a=e(34304);function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function u(t,n,e,r,a,o,u,s,l,i,c,f,h,M,b,d,p){return t[0]=n,t[1]=e,t[2]=r,t[3]=a,t[4]=o,t[5]=u,t[6]=s,t[7]=l,t[8]=i,t[9]=c,t[10]=f,t[11]=h,t[12]=M,t[13]=b,t[14]=d,t[15]=p,t}function s(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function l(t,n){if(t===n){const e=n[1],r=n[2],a=n[3],o=n[6],u=n[7],s=n[11];t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=e,t[6]=n[9],t[7]=n[13],t[8]=r,t[9]=o,t[11]=n[14],t[12]=a,t[13]=u,t[14]=s}else t[0]=n[0],t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=n[1],t[5]=n[5],t[6]=n[9],t[7]=n[13],t[8]=n[2],t[9]=n[6],t[10]=n[10],t[11]=n[14],t[12]=n[3],t[13]=n[7],t[14]=n[11],t[15]=n[15];return t}function i(t,n){const e=n[0],r=n[1],a=n[2],o=n[3],u=n[4],s=n[5],l=n[6],i=n[7],c=n[8],f=n[9],h=n[10],M=n[11],b=n[12],d=n[13],p=n[14],m=n[15],y=e*s-r*u,g=e*l-a*u,v=e*i-o*u,w=r*l-a*s,O=r*i-o*s,I=a*i-o*l,S=c*d-f*b,x=c*p-h*b,R=c*m-M*b,A=f*p-h*d,q=f*m-M*d,_=h*m-M*p;let T=y*_-g*q+v*A+w*R-O*x+I*S;return T?(T=1/T,t[0]=(s*_-l*q+i*A)*T,t[1]=(a*q-r*_-o*A)*T,t[2]=(d*I-p*O+m*w)*T,t[3]=(h*O-f*I-M*w)*T,t[4]=(l*R-u*_-i*x)*T,t[5]=(e*_-a*R+o*x)*T,t[6]=(p*v-b*I-m*g)*T,t[7]=(c*I-h*v+M*g)*T,t[8]=(u*q-s*R+i*S)*T,t[9]=(r*R-e*q-o*S)*T,t[10]=(b*O-d*v+m*y)*T,t[11]=(f*v-c*O-M*y)*T,t[12]=(s*x-u*A-l*S)*T,t[13]=(e*A-r*x+a*S)*T,t[14]=(d*g-b*w-p*y)*T,t[15]=(c*w-f*g+h*y)*T,t):null}function c(t,n,e){const r=n[0],a=n[1],o=n[2],u=n[3],s=n[4],l=n[5],i=n[6],c=n[7],f=n[8],h=n[9],M=n[10],b=n[11],d=n[12],p=n[13],m=n[14],y=n[15];let g=e[0],v=e[1],w=e[2],O=e[3];return t[0]=g*r+v*s+w*f+O*d,t[1]=g*a+v*l+w*h+O*p,t[2]=g*o+v*i+w*M+O*m,t[3]=g*u+v*c+w*b+O*y,g=e[4],v=e[5],w=e[6],O=e[7],t[4]=g*r+v*s+w*f+O*d,t[5]=g*a+v*l+w*h+O*p,t[6]=g*o+v*i+w*M+O*m,t[7]=g*u+v*c+w*b+O*y,g=e[8],v=e[9],w=e[10],O=e[11],t[8]=g*r+v*s+w*f+O*d,t[9]=g*a+v*l+w*h+O*p,t[10]=g*o+v*i+w*M+O*m,t[11]=g*u+v*c+w*b+O*y,g=e[12],v=e[13],w=e[14],O=e[15],t[12]=g*r+v*s+w*f+O*d,t[13]=g*a+v*l+w*h+O*p,t[14]=g*o+v*i+w*M+O*m,t[15]=g*u+v*c+w*b+O*y,t}function f(t,n,e){const r=e[0],a=e[1],o=e[2];if(n===t)t[12]=n[0]*r+n[4]*a+n[8]*o+n[12],t[13]=n[1]*r+n[5]*a+n[9]*o+n[13],t[14]=n[2]*r+n[6]*a+n[10]*o+n[14],t[15]=n[3]*r+n[7]*a+n[11]*o+n[15];else{const e=n[0],u=n[1],s=n[2],l=n[3],i=n[4],c=n[5],f=n[6],h=n[7],M=n[8],b=n[9],d=n[10],p=n[11];t[0]=e,t[1]=u,t[2]=s,t[3]=l,t[4]=i,t[5]=c,t[6]=f,t[7]=h,t[8]=M,t[9]=b,t[10]=d,t[11]=p,t[12]=e*r+i*a+M*o+n[12],t[13]=u*r+c*a+b*o+n[13],t[14]=s*r+f*a+d*o+n[14],t[15]=l*r+h*a+p*o+n[15]}return t}function h(t,n,e){const r=e[0],a=e[1],o=e[2];return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*a,t[5]=n[5]*a,t[6]=n[6]*a,t[7]=n[7]*a,t[8]=n[8]*o,t[9]=n[9]*o,t[10]=n[10]*o,t[11]=n[11]*o,t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function M(t,n,e,r){let u=r[0],s=r[1],l=r[2],i=Math.sqrt(u*u+s*s+l*l);if(i<=(0,a.FD)())return void o(t,n);i=1/i,u*=i,s*=i,l*=i;const c=Math.sin(e),f=Math.cos(e),h=1-f,M=n[0],b=n[1],d=n[2],p=n[3],m=n[4],y=n[5],g=n[6],v=n[7],w=n[8],O=n[9],I=n[10],S=n[11],x=u*u*h+f,R=s*u*h+l*c,A=l*u*h-s*c,q=u*s*h-l*c,_=s*s*h+f,T=l*s*h+u*c,j=u*l*h+s*c,D=s*l*h-u*c,P=l*l*h+f;t[0]=M*x+m*R+w*A,t[1]=b*x+y*R+O*A,t[2]=d*x+g*R+I*A,t[3]=p*x+v*R+S*A,t[4]=M*q+m*_+w*T,t[5]=b*q+y*_+O*T,t[6]=d*q+g*_+I*T,t[7]=p*q+v*_+S*T,t[8]=M*j+m*D+w*P,t[9]=b*j+y*D+O*P,t[10]=d*j+g*D+I*P,t[11]=p*j+v*D+S*P,n!==t&&(t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15])}function b(t,n,e){const r=Math.sin(e),a=Math.cos(e),o=n[4],u=n[5],s=n[6],l=n[7],i=n[8],c=n[9],f=n[10],h=n[11];return n!==t&&(t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[4]=o*a+i*r,t[5]=u*a+c*r,t[6]=s*a+f*r,t[7]=l*a+h*r,t[8]=i*a-o*r,t[9]=c*a-u*r,t[10]=f*a-s*r,t[11]=h*a-l*r,t}function d(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function p(t,n,e){if(0===n)return s(t);let r=e[0],o=e[1],u=e[2],l=Math.sqrt(r*r+o*o+u*u);if(l<=(0,a.FD)())return null;l=1/l,r*=l,o*=l,u*=l;const i=Math.sin(n),c=Math.cos(n),f=1-c;return t[0]=r*r*f+c,t[1]=o*r*f+u*i,t[2]=u*r*f-o*i,t[3]=0,t[4]=r*o*f-u*i,t[5]=o*o*f+c,t[6]=u*o*f+r*i,t[7]=0,t[8]=r*u*f+o*i,t[9]=o*u*f-r*i,t[10]=u*u*f+c,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function m(t,n){const e=Math.sin(n),r=Math.cos(n);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=e,t[7]=0,t[8]=0,t[9]=-e,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function y(t,n){const e=Math.sin(n),r=Math.cos(n);return t[0]=r,t[1]=e,t[2]=0,t[3]=0,t[4]=-e,t[5]=r,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function g(t,n,e){const r=n[0],a=n[1],o=n[2],u=n[3],s=r+r,l=a+a,i=o+o,c=r*s,f=r*l,h=r*i,M=a*l,b=a*i,d=o*i,p=u*s,m=u*l,y=u*i;return t[0]=1-(M+d),t[1]=f+y,t[2]=h-m,t[3]=0,t[4]=f-y,t[5]=1-(c+d),t[6]=b+p,t[7]=0,t[8]=h+m,t[9]=b-p,t[10]=1-(c+M),t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}const v=(0,r.vt)();function w(t,n){return t[0]=n[12],t[1]=n[13],t[2]=n[14],t}function O(t,n){const e=n[0],r=n[1],a=n[2],o=n[4],u=n[5],s=n[6],l=n[8],i=n[9],c=n[10];return t[0]=Math.sqrt(e*e+r*r+a*a),t[1]=Math.sqrt(o*o+u*u+s*s),t[2]=Math.sqrt(l*l+i*i+c*c),t}function I(t,n){const e=n[0]+n[5]+n[10];let r=0;return e>0?(r=2*Math.sqrt(e+1),t[3]=.25*r,t[0]=(n[6]-n[9])/r,t[1]=(n[8]-n[2])/r,t[2]=(n[1]-n[4])/r):n[0]>n[5]&&n[0]>n[10]?(r=2*Math.sqrt(1+n[0]-n[5]-n[10]),t[3]=(n[6]-n[9])/r,t[0]=.25*r,t[1]=(n[1]+n[4])/r,t[2]=(n[8]+n[2])/r):n[5]>n[10]?(r=2*Math.sqrt(1+n[5]-n[0]-n[10]),t[3]=(n[8]-n[2])/r,t[0]=(n[1]+n[4])/r,t[1]=.25*r,t[2]=(n[6]+n[9])/r):(r=2*Math.sqrt(1+n[10]-n[0]-n[5]),t[3]=(n[1]-n[4])/r,t[0]=(n[8]+n[2])/r,t[1]=(n[6]+n[9])/r,t[2]=.25*r),t}function S(t,n,e,r){const a=n[0],o=n[1],u=n[2],s=n[3],l=a+a,i=o+o,c=u+u,f=a*l,h=a*i,M=a*c,b=o*i,d=o*c,p=u*c,m=s*l,y=s*i,g=s*c,v=r[0],w=r[1],O=r[2];return t[0]=(1-(b+p))*v,t[1]=(h+g)*v,t[2]=(M-y)*v,t[3]=0,t[4]=(h-g)*w,t[5]=(1-(f+p))*w,t[6]=(d+m)*w,t[7]=0,t[8]=(M+y)*O,t[9]=(d-m)*O,t[10]=(1-(f+b))*O,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}function x(t,n,e,r,a){const o=n[0],u=n[1],s=n[2],l=n[3],i=o+o,c=u+u,f=s+s,h=o*i,M=o*c,b=o*f,d=u*c,p=u*f,m=s*f,y=l*i,g=l*c,v=l*f,w=r[0],O=r[1],I=r[2],S=a[0],x=a[1],R=a[2],A=(1-(d+m))*w,q=(M+v)*w,_=(b-g)*w,T=(M-v)*O,j=(1-(h+m))*O,D=(p+y)*O,P=(b+g)*I,k=(p-y)*I,C=(1-(h+d))*I;return t[0]=A,t[1]=q,t[2]=_,t[3]=0,t[4]=T,t[5]=j,t[6]=D,t[7]=0,t[8]=P,t[9]=k,t[10]=C,t[11]=0,t[12]=e[0]+S-(A*S+T*x+P*R),t[13]=e[1]+x-(q*S+j*x+k*R),t[14]=e[2]+R-(_*S+D*x+C*R),t[15]=1,t}function R(t,n,e,r,a,o,u){const s=1/(e-n),l=1/(a-r),i=1/(o-u);return t[0]=2*o*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*o*l,t[6]=0,t[7]=0,t[8]=(e+n)*s,t[9]=(a+r)*l,t[10]=(u+o)*i,t[11]=-1,t[12]=0,t[13]=0,t[14]=u*o*2*i,t[15]=0,t}function A(t,n,e,r){const o=n[0],u=n[1],l=n[2];let i=o-e[0],c=u-e[1],f=l-e[2];const h=(0,a.FD)();if(Math.abs(i)<h&&Math.abs(c)<h&&Math.abs(f)<h)return void s(t);let M=1/Math.sqrt(i*i+c*c+f*f);i*=M,c*=M,f*=M;const b=r[0],d=r[1],p=r[2];let m=d*f-p*c,y=p*i-b*f,g=b*c-d*i;M=Math.sqrt(m*m+y*y+g*g),M?(M=1/M,m*=M,y*=M,g*=M):(m=0,y=0,g=0);let v=c*g-f*y,w=f*m-i*g,O=i*y-c*m;M=Math.sqrt(v*v+w*w+O*O),M?(M=1/M,v*=M,w*=M,O*=M):(v=0,w=0,O=0),t[0]=m,t[1]=v,t[2]=i,t[3]=0,t[4]=y,t[5]=w,t[6]=c,t[7]=0,t[8]=g,t[9]=O,t[10]=f,t[11]=0,t[12]=-(m*o+y*u+g*l),t[13]=-(v*o+w*u+O*l),t[14]=-(i*o+c*u+f*l),t[15]=1}function q(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t[3]=n[3]-e[3],t[4]=n[4]-e[4],t[5]=n[5]-e[5],t[6]=n[6]-e[6],t[7]=n[7]-e[7],t[8]=n[8]-e[8],t[9]=n[9]-e[9],t[10]=n[10]-e[10],t[11]=n[11]-e[11],t[12]=n[12]-e[12],t[13]=n[13]-e[13],t[14]=n[14]-e[14],t[15]=n[15]-e[15],t}function _(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]&&t[9]===n[9]&&t[10]===n[10]&&t[11]===n[11]&&t[12]===n[12]&&t[13]===n[13]&&t[14]===n[14]&&t[15]===n[15]}function T(t,n){if(t===n)return!0;const e=t[0],r=t[1],o=t[2],u=t[3],s=t[4],l=t[5],i=t[6],c=t[7],f=t[8],h=t[9],M=t[10],b=t[11],d=t[12],p=t[13],m=t[14],y=t[15],g=n[0],v=n[1],w=n[2],O=n[3],I=n[4],S=n[5],x=n[6],R=n[7],A=n[8],q=n[9],_=n[10],T=n[11],j=n[12],D=n[13],P=n[14],k=n[15],C=(0,a.FD)();return Math.abs(e-g)<=C*Math.max(1,Math.abs(e),Math.abs(g))&&Math.abs(r-v)<=C*Math.max(1,Math.abs(r),Math.abs(v))&&Math.abs(o-w)<=C*Math.max(1,Math.abs(o),Math.abs(w))&&Math.abs(u-O)<=C*Math.max(1,Math.abs(u),Math.abs(O))&&Math.abs(s-I)<=C*Math.max(1,Math.abs(s),Math.abs(I))&&Math.abs(l-S)<=C*Math.max(1,Math.abs(l),Math.abs(S))&&Math.abs(i-x)<=C*Math.max(1,Math.abs(i),Math.abs(x))&&Math.abs(c-R)<=C*Math.max(1,Math.abs(c),Math.abs(R))&&Math.abs(f-A)<=C*Math.max(1,Math.abs(f),Math.abs(A))&&Math.abs(h-q)<=C*Math.max(1,Math.abs(h),Math.abs(q))&&Math.abs(M-_)<=C*Math.max(1,Math.abs(M),Math.abs(_))&&Math.abs(b-T)<=C*Math.max(1,Math.abs(b),Math.abs(T))&&Math.abs(d-j)<=C*Math.max(1,Math.abs(d),Math.abs(j))&&Math.abs(p-D)<=C*Math.max(1,Math.abs(p),Math.abs(D))&&Math.abs(m-P)<=C*Math.max(1,Math.abs(m),Math.abs(P))&&Math.abs(y-k)<=C*Math.max(1,Math.abs(y),Math.abs(k))}function j(t){const n=(0,a.FD)(),e=t[0],r=t[1],o=t[2],u=t[4],s=t[5],l=t[6],i=t[8],c=t[9],f=t[10];return Math.abs(1-(e*e+u*u+i*i))<=n&&Math.abs(1-(r*r+s*s+c*c))<=n&&Math.abs(1-(o*o+l*l+f*f))<=n}function D(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[8]&&0===t[9]&&1===t[10]}const P=c,k=q;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t[3]=n[3]+e[3],t[4]=n[4]+e[4],t[5]=n[5]+e[5],t[6]=n[6]+e[6],t[7]=n[7]+e[7],t[8]=n[8]+e[8],t[9]=n[9]+e[9],t[10]=n[10]+e[10],t[11]=n[11]+e[11],t[12]=n[12]+e[12],t[13]=n[13]+e[13],t[14]=n[14]+e[14],t[15]=n[15]+e[15],t},adjoint:function(t,n){const e=n[0],r=n[1],a=n[2],o=n[3],u=n[4],s=n[5],l=n[6],i=n[7],c=n[8],f=n[9],h=n[10],M=n[11],b=n[12],d=n[13],p=n[14],m=n[15];return t[0]=s*(h*m-M*p)-f*(l*m-i*p)+d*(l*M-i*h),t[1]=-(r*(h*m-M*p)-f*(a*m-o*p)+d*(a*M-o*h)),t[2]=r*(l*m-i*p)-s*(a*m-o*p)+d*(a*i-o*l),t[3]=-(r*(l*M-i*h)-s*(a*M-o*h)+f*(a*i-o*l)),t[4]=-(u*(h*m-M*p)-c*(l*m-i*p)+b*(l*M-i*h)),t[5]=e*(h*m-M*p)-c*(a*m-o*p)+b*(a*M-o*h),t[6]=-(e*(l*m-i*p)-u*(a*m-o*p)+b*(a*i-o*l)),t[7]=e*(l*M-i*h)-u*(a*M-o*h)+c*(a*i-o*l),t[8]=u*(f*m-M*d)-c*(s*m-i*d)+b*(s*M-i*f),t[9]=-(e*(f*m-M*d)-c*(r*m-o*d)+b*(r*M-o*f)),t[10]=e*(s*m-i*d)-u*(r*m-o*d)+b*(r*i-o*s),t[11]=-(e*(s*M-i*f)-u*(r*M-o*f)+c*(r*i-o*s)),t[12]=-(u*(f*p-h*d)-c*(s*p-l*d)+b*(s*h-l*f)),t[13]=e*(f*p-h*d)-c*(r*p-a*d)+b*(r*h-a*f),t[14]=-(e*(s*p-l*d)-u*(r*p-a*d)+b*(r*l-a*s)),t[15]=e*(s*h-l*f)-u*(r*h-a*f)+c*(r*l-a*s),t},copy:o,determinant:function(t){const n=t[0],e=t[1],r=t[2],a=t[3],o=t[4],u=t[5],s=t[6],l=t[7],i=t[8],c=t[9],f=t[10],h=t[11],M=t[12],b=t[13],d=t[14],p=t[15];return(n*u-e*o)*(f*p-h*d)-(n*s-r*o)*(c*p-h*b)+(n*l-a*o)*(c*d-f*b)+(e*s-r*u)*(i*p-h*M)-(e*l-a*u)*(i*d-f*M)+(r*l-a*s)*(i*b-c*M)},equals:T,exactEquals:_,frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,n){const e=n[0],r=n[1],a=n[2],o=n[3],u=e+e,s=r+r,l=a+a,i=e*u,c=r*u,f=r*s,h=a*u,M=a*s,b=a*l,d=o*u,p=o*s,m=o*l;return t[0]=1-f-b,t[1]=c+m,t[2]=h-p,t[3]=0,t[4]=c-m,t[5]=1-i-b,t[6]=M+d,t[7]=0,t[8]=h+p,t[9]=M-d,t[10]=1-i-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,n){const e=v,r=-n[0],a=-n[1],o=-n[2],u=n[3],s=n[4],l=n[5],i=n[6],c=n[7],f=r*r+a*a+o*o+u*u;return f>0?(e[0]=2*(s*u+c*r+l*o-i*a)/f,e[1]=2*(l*u+c*a+i*r-s*o)/f,e[2]=2*(i*u+c*o+s*a-l*r)/f):(e[0]=2*(s*u+c*r+l*o-i*a),e[1]=2*(l*u+c*a+i*r-s*o),e[2]=2*(i*u+c*o+s*a-l*r)),g(t,n,e),t},fromRotation:p,fromRotationTranslation:g,fromRotationTranslationScale:S,fromRotationTranslationScaleOrigin:x,fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=n[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=n[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:d,fromXRotation:m,fromYRotation:function(t,n){const e=Math.sin(n),r=Math.cos(n);return t[0]=r,t[1]=0,t[2]=-e,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=e,t[9]=0,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:y,frustum:R,getRotation:I,getScale:O,getTranslation:w,hasIdentityRotation:D,identity:s,invert:i,invertOrIdentity:function(t,n){return i(t,n)||s(t),t},isOrthoNormal:j,lookAt:A,mul:P,multiply:c,multiplyScalar:function(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t[4]=n[4]*e,t[5]=n[5]*e,t[6]=n[6]*e,t[7]=n[7]*e,t[8]=n[8]*e,t[9]=n[9]*e,t[10]=n[10]*e,t[11]=n[11]*e,t[12]=n[12]*e,t[13]=n[13]*e,t[14]=n[14]*e,t[15]=n[15]*e,t},multiplyScalarAndAdd:function(t,n,e,r){return t[0]=n[0]+e[0]*r,t[1]=n[1]+e[1]*r,t[2]=n[2]+e[2]*r,t[3]=n[3]+e[3]*r,t[4]=n[4]+e[4]*r,t[5]=n[5]+e[5]*r,t[6]=n[6]+e[6]*r,t[7]=n[7]+e[7]*r,t[8]=n[8]+e[8]*r,t[9]=n[9]+e[9]*r,t[10]=n[10]+e[10]*r,t[11]=n[11]+e[11]*r,t[12]=n[12]+e[12]*r,t[13]=n[13]+e[13]*r,t[14]=n[14]+e[14]*r,t[15]=n[15]+e[15]*r,t},ortho:function(t,n,e,r,a,o,u){const s=1/(n-e),l=1/(r-a),i=1/(o-u);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*i,t[11]=0,t[12]=(n+e)*s,t[13]=(a+r)*l,t[14]=(u+o)*i,t[15]=1,t},perspective:function(t,n,e,r,a){const o=1/Math.tan(n/2);let u;return t[0]=o/e,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=a&&a!==1/0?(u=1/(r-a),t[10]=(a+r)*u,t[14]=2*a*r*u):(t[10]=-1,t[14]=-2*r),t},perspectiveFromFieldOfView:function(t,n,e,r){const a=Math.tan(n.upDegrees*Math.PI/180),o=Math.tan(n.downDegrees*Math.PI/180),u=Math.tan(n.leftDegrees*Math.PI/180),s=Math.tan(n.rightDegrees*Math.PI/180),l=2/(u+s),i=2/(a+o);return t[0]=l,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=i,t[6]=0,t[7]=0,t[8]=-(u-s)*l*.5,t[9]=(a-o)*i*.5,t[10]=r/(e-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*e/(e-r),t[15]=0,t},rotate:M,rotateX:b,rotateY:function(t,n,e){const r=Math.sin(e),a=Math.cos(e),o=n[0],u=n[1],s=n[2],l=n[3],i=n[8],c=n[9],f=n[10],h=n[11];return n!==t&&(t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=o*a-i*r,t[1]=u*a-c*r,t[2]=s*a-f*r,t[3]=l*a-h*r,t[8]=o*r+i*a,t[9]=u*r+c*a,t[10]=s*r+f*a,t[11]=l*r+h*a,t},rotateZ:function(t,n,e){const r=Math.sin(e),a=Math.cos(e),o=n[0],u=n[1],s=n[2],l=n[3],i=n[4],c=n[5],f=n[6],h=n[7];return n!==t&&(t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=o*a+i*r,t[1]=u*a+c*r,t[2]=s*a+f*r,t[3]=l*a+h*r,t[4]=i*a-o*r,t[5]=c*a-u*r,t[6]=f*a-s*r,t[7]=h*a-l*r,t},scale:h,set:u,str:function(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"},sub:k,subtract:q,targetTo:function(t,n,e,r){const a=n[0],o=n[1],u=n[2],s=r[0],l=r[1],i=r[2];let c=a-e[0],f=o-e[1],h=u-e[2],M=c*c+f*f+h*h;M>0&&(M=1/Math.sqrt(M),c*=M,f*=M,h*=M);let b=l*h-i*f,d=i*c-s*h,p=s*f-l*c;return M=b*b+d*d+p*p,M>0&&(M=1/Math.sqrt(M),b*=M,d*=M,p*=M),t[0]=b,t[1]=d,t[2]=p,t[3]=0,t[4]=f*p-h*d,t[5]=h*b-c*p,t[6]=c*d-f*b,t[7]=0,t[8]=c,t[9]=f,t[10]=h,t[11]=0,t[12]=a,t[13]=o,t[14]=u,t[15]=1,t},translate:f,transpose:l},Symbol.toStringTag,{value:"Module"}))},78955(t,n,e){e.d(n,{Bw:()=>p,C:()=>a,Cc:()=>v,LI:()=>h,Om:()=>g,S8:()=>y,T9:()=>f,WQ:()=>u,Z0:()=>w,aI:()=>I,hG:()=>d,hZ:()=>o,hs:()=>M,jk:()=>c,m3:()=>m,t2:()=>O});var r=e(34304);function a(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t}function o(t,n,e,r,a){return t[0]=n,t[1]=e,t[2]=r,t[3]=a,t}function u(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t[3]=n[3]+e[3],t}function s(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t[3]=n[3]-e[3],t}function l(t,n,e){return t[0]=n[0]*e[0],t[1]=n[1]*e[1],t[2]=n[2]*e[2],t[3]=n[3]*e[3],t}function i(t,n,e){return t[0]=n[0]/e[0],t[1]=n[1]/e[1],t[2]=n[2]/e[2],t[3]=n[3]/e[3],t}function c(t,n,e){return t[0]=Math.min(n[0],e[0]),t[1]=Math.min(n[1],e[1]),t[2]=Math.min(n[2],e[2]),t[3]=Math.min(n[3],e[3]),t}function f(t,n,e){return t[0]=Math.max(n[0],e[0]),t[1]=Math.max(n[1],e[1]),t[2]=Math.max(n[2],e[2]),t[3]=Math.max(n[3],e[3]),t}function h(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t[3]=Math.round(n[3]),t}function M(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t}function b(t,n){const e=n[0]-t[0],r=n[1]-t[1],a=n[2]-t[2],o=n[3]-t[3];return Math.sqrt(e*e+r*r+a*a+o*o)}function d(t,n){const e=n[0]-t[0],r=n[1]-t[1],a=n[2]-t[2],o=n[3]-t[3];return e*e+r*r+a*a+o*o}function p(t){const n=t[0],e=t[1],r=t[2],a=t[3];return Math.sqrt(n*n+e*e+r*r+a*a)}function m(t){const n=t[0],e=t[1],r=t[2],a=t[3];return n*n+e*e+r*r+a*a}function y(t,n){const e=n[0],r=n[1],a=n[2],o=n[3];let u=e*e+r*r+a*a+o*o;return u>0&&(u=1/Math.sqrt(u),t[0]=e*u,t[1]=r*u,t[2]=a*u,t[3]=o*u),t}function g(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]+t[3]*n[3]}function v(t,n,e,r){const a=n[0],o=n[1],u=n[2],s=n[3];return t[0]=a+r*(e[0]-a),t[1]=o+r*(e[1]-o),t[2]=u+r*(e[2]-u),t[3]=s+r*(e[3]-s),t}function w(t,n,e){const r=n[0],a=n[1],o=n[2],u=n[3];return t[0]=e[0]*r+e[4]*a+e[8]*o+e[12]*u,t[1]=e[1]*r+e[5]*a+e[9]*o+e[13]*u,t[2]=e[2]*r+e[6]*a+e[10]*o+e[14]*u,t[3]=e[3]*r+e[7]*a+e[11]*o+e[15]*u,t}function O(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]}function I(t,n){const e=t[0],a=t[1],o=t[2],u=t[3],s=n[0],l=n[1],i=n[2],c=n[3],f=(0,r.FD)();return Math.abs(e-s)<=f*Math.max(1,Math.abs(e),Math.abs(s))&&Math.abs(a-l)<=f*Math.max(1,Math.abs(a),Math.abs(l))&&Math.abs(o-i)<=f*Math.max(1,Math.abs(o),Math.abs(i))&&Math.abs(u-c)<=f*Math.max(1,Math.abs(u),Math.abs(c))}const S=s,x=l,R=i,A=b,q=d,_=p,T=m;Object.freeze(Object.defineProperty({__proto__:null,add:u,ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t[3]=Math.ceil(n[3]),t},copy:a,copyVec3:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t},dist:A,distance:b,div:R,divide:i,dot:g,equals:I,exactEquals:O,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t[3]=Math.floor(n[3]),t},inverse:function(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t[3]=1/n[3],t},len:_,length:p,lerp:v,max:f,min:c,mul:x,multiply:l,negate:function(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=-n[3],t},normalize:y,random:function(t,n=1){const e=r.Ov;let a,o,u,s,l,i;do{a=2*e()-1,o=2*e()-1,l=a*a+o*o}while(l>=1);do{u=2*e()-1,s=2*e()-1,i=u*u+s*s}while(i>=1);const c=Math.sqrt((1-l)/i);return t[0]=n*a,t[1]=n*o,t[2]=n*u*c,t[3]=n*s*c,t},round:h,scale:M,scaleAndAdd:function(t,n,e,r){return t[0]=n[0]+e[0]*r,t[1]=n[1]+e[1]*r,t[2]=n[2]+e[2]*r,t[3]=n[3]+e[3]*r,t},set:o,sqrDist:q,sqrLen:T,squaredDistance:d,squaredLength:m,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:S,subtract:s,transformMat4:w,transformQuat:function(t,n,e){const r=n[0],a=n[1],o=n[2],u=e[0],s=e[1],l=e[2],i=e[3],c=i*r+s*o-l*a,f=i*a+l*r-u*o,h=i*o+u*a-s*r,M=-u*r-s*a-l*o;return t[0]=c*i+M*-u+f*-l-h*-s,t[1]=f*i+M*-s+h*-u-c*-l,t[2]=h*i+M*-l+c*-s-f*-u,t[3]=n[3],t}},Symbol.toStringTag,{value:"Module"}))},9762(t,n,e){e.r(n),e.d(n,{projectBuffer:()=>a});var r=e(49208);function a(t,n,e,a,o,u,s=Math.floor(t.length/3)){const l=(0,r.jd)(n,o);if(null==l)return!1;if(l===r.pO){if(t===a&&e===u)return!0;const n=e+3*s;for(let r=e,o=u;r<n;r++,o++)a[o]=t[r]??0;return!0}const i=e+3*s;for(let n=e,r=u;n<i;n+=3,r+=3)l(t,n,a,r);return!0}},49208(t,n,e){e.d(n,{Tp:()=>f,jd:()=>c,pO:()=>M,w5:()=>i});var r=e(34727),a=e(86211),o=e(73941),u=e(79258),s=e(34403),l=e(21325);const i={2:{5:M,7:null,9:null,10:M,1:w,6:null,8:null,0:null,3:d,11:p,2:M,4:R},5:{5:M,7:null,9:null,10:M,1:w,6:null,8:null,0:null,3:d,11:p,2:M,4:R},7:{5:null,7:M,9:null,10:M,1:null,6:v,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:M,10:M,1:null,6:null,8:g,0:null,3:null,11:null,2:null,4:null},3:{5:b,7:null,9:null,10:b,1:function(t,n,e,r){const a=t[n]/D,o=j-2*Math.atan(Math.exp(-t[n+1]/D)),u=D+(t[n+2]??0),s=Math.cos(o)*u;e[r]=Math.cos(a)*s,e[r+1]=Math.sin(a)*s,e[r+2]=Math.sin(o)*u},6:null,8:null,0:null,3:M,11:function(t,n,e,r){b(t,n,e,r),p(e,r,e,r)},2:b,4:function(t,n,e,r){b(t,n,e,r),R(e,r,e,r)}},4:{5:A,7:null,9:null,10:A,1:function(t,n,e,r){A(t,n,e,r),w(e,r,e,r)},6:null,8:null,0:null,3:function(t,n,e,r){A(t,n,e,r),d(e,r,e,r)},11:function(t,n,e,r){A(t,n,e,r),p(e,r,e,r)},2:A,4:M},1:{5:x,7:null,9:null,10:x,1:M,6:null,8:null,0:null,3:function(t,n,e,r){x(t,n,e,r),d(e,r,e,r)},11:function(t,n,e,r){x(t,n,e,r),p(e,r,e,r)},2:x,4:function(t,n,e,r){x(t,n,e,r),R(e,r,e,r)}},6:{5:null,7:S,9:null,10:S,1:null,6:M,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:M,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:M,3:null,11:null,2:null,4:null},10:{5:M,7:M,9:M,10:M,1:w,6:v,8:g,0:null,3:d,11:p,2:M,4:R},11:{5:m,7:null,9:null,10:m,1:function(t,n,e,r){m(t,n,e,r),w(e,r,e,r)},6:null,8:null,0:null,3:function(t,n,e,r){m(t,n,e,r),d(e,r,e,r)},11:M,2:m,4:function(t,n,e,r){m(t,n,e,r),R(e,r,e,r)}}};function c(t,n){return f(t,n)?.projector}function f(t,n){if(null==t||null==n)return null;if(q.source.spatialReference===t&&q.dest.spatialReference===n)return q;const e=h(t,q.source),r=h(n,q.dest);return 0===e&&0===r?(0,l.aI)(t,n)?q.projector=M:q.projector=null:q.projector=i[e][r],q}function h(t,n){return t?n.spatialReference===t?n.spatialReferenceId:(n.spatialReference=t,"metersPerUnit"in n&&(n.metersPerUnit=(0,a.GA)(t,1)),(0,o.jA)(t)?n.spatialReferenceId=1:(0,l.oT)(t)?n.spatialReferenceId=2:(0,l.K8)(t)?n.spatialReferenceId=3:(0,l.r1)(t)?n.spatialReferenceId=11:t.wkt===o.Ro.wkt?n.spatialReferenceId=4:4490===t.wkid?n.spatialReferenceId=5:t.wkt===o.FY.wkt?n.spatialReferenceId=6:t.wkt===o.LJ.wkt?n.spatialReferenceId=8:(0,o.q8)(t)?n.spatialReferenceId=7:(0,o.KQ)(t)?n.spatialReferenceId=9:n.spatialReferenceId=0):0}function M(t,n,e,r){t!==e&&(e[r++]=t[n++],e[r++]=t[n++],e[r]=t[n]??0)}function b(t,n,e,r){e[r]=T*(t[n]/D),e[r+1]=T*(j-2*Math.atan(Math.exp(-t[n+1]/D))),e[r+2]=t[n+2]??0}function d(t,n,e,a){!function(t,n,e,a,o){const u=.4999999*Math.PI,s=(0,r.qE)(_*t[n+1],-u,u),l=Math.sin(s);e[a++]=_*t[n]*o.radius,e[a++]=o.halfSemiMajorAxis*Math.log((1+l)/(1-l)),e[a]=t[n+2]??0}(t,n,e,a,u.$O)}function p(t,n,e,r){e[r]=t[n]*P,e[r+1]=t[n+1]*P,e[r+2]=t[n+2]??0}function m(t,n,e,r){e[r]=t[n]*k,e[r+1]=t[n+1]*k,e[r+2]=t[n+2]??0}function y(t,n,e,r,a){const o=a+(t[n+2]??0),u=_*t[n],s=_*t[n+1],l=Math.cos(s)*o;e[r]=Math.cos(u)*l,e[r+1]=Math.sin(u)*l,e[r+2]=Math.sin(s)*o}function g(t,n,e,r){y(t,n,e,r,u.Sw.radius)}function v(t,n,e,r){y(t,n,e,r,u.sH.radius)}function w(t,n,e,r){y(t,n,e,r,u.$O.radius)}function O(t,n,e,a,o){const u=t[n],s=t[n+1],l=t[n+2]??0,i=Math.sqrt(u*u+s*s+l*l),c=(0,r.YN)(l/(0===i?1:i)),f=Math.atan2(s,u);e[a++]=T*f,e[a++]=T*c,e[a]=i-o}function I(t,n,e,r){O(t,n,e,r,u.Sw.radius)}function S(t,n,e,r){O(t,n,e,r,u.sH.radius)}function x(t,n,e,r){O(t,n,e,r,u.$O.radius)}function R(t,n,e,r){!function(t,n,e,r,a){const o=_*t[n],u=_*t[n+1],s=t[n+2]??0,l=Math.sin(u),i=Math.cos(u),c=a.radius/Math.sqrt(1-a.eccentricitySquared*l*l);e[r++]=(c+s)*i*Math.cos(o),e[r++]=(c+s)*i*Math.sin(o),e[r++]=(c*(1-a.eccentricitySquared)+s)*l}(t,n,e,r,u.$O)}function A(t,n,e,r){const a=s.TP,o=t[n],l=t[n+1],i=t[n+2]??0;let c,f,h,M,b,d,p,m,y,g,v,w,O,I,S,x,R,A,q,_,j;c=Math.abs(i),f=o*o+l*l,h=Math.sqrt(f),M=f+i*i,b=Math.sqrt(M),_=Math.atan2(l,o),d=i*i/M,p=f/M,I=a.a2/b,S=a.a3-a.a4/b,p>.3?(m=c/b*(1+p*(a.a1+I+d*S)/b),q=Math.asin(m),g=m*m,y=Math.sqrt(1-g)):(y=h/b*(1-d*(a.a5-I-p*S)/b),q=Math.acos(y),g=1-y*y,m=Math.sqrt(g)),v=1-u.$O.eccentricitySquared*g,w=u.$O.radius/Math.sqrt(v),O=a.a6*w,I=h-w*y,S=c-O*m,R=y*I+m*S,x=y*S-m*I,A=x/(O/v+R),q+=A,j=R+x*A/2,i<0&&(q=-q),e[r++]=T*_,e[r++]=T*q,e[r]=j}const q={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:M},_=(0,r.kU)(1),T=(0,r.KJ)(1),j=.5*Math.PI,D=u.$O.radius,P=D*Math.PI/180,k=180/(D*Math.PI)},98764(t,n,e){e.d(n,{GD:()=>u,Y0:()=>i,lO:()=>c});var r=e(73941),a=e(16930),o=e(21325);const u=new a.A(r.fv),s=new a.A(r.FY),l=new a.A(r.LJ),i=new a.A(r.Ro);function c(t){const n=f.get(t);if(n)return n;let e=u;if(t)if(t===s)e=s;else if(t===l)e=l;else{const n=t.wkid,r=t.latestWkid;if(null!=n||null!=r)(0,o.tl)(n)||(0,o.tl)(r)?e=s:((0,o.ZL)(n)||(0,o.ZL)(r))&&(e=l);else{const n=t.wkt2??t.wkt;if(n){const t=n.toUpperCase();t===h?e=s:t===M&&(e=l)}}}return f.set(t,e),e}const f=new Map,h=s.wkt.toUpperCase(),M=l.wkt.toUpperCase()},34403(t,n,e){e.d(n,{TP:()=>u});var r=e(79258);Math.PI;const a=r.$O.radius,o=r.$O.eccentricitySquared,u={a1:a*o,a2:a*o*a*o,a3:a*o*o/2,a4:a*o*a*o*2.5,a5:a*o+a*o*o/2,a6:1-o};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius},64798(t,n,e){e.r(n),e.d(n,{default:()=>C});var r=e(4576),a=e(34275),o=e(67026),u=e(82534),s=e(35522);function l(){return new Float32Array(3)}function i(t){const n=new Float32Array(3);return n[0]=t[0],n[1]=t[1],n[2]=t[2],n}function c(t,n,e){const r=new Float32Array(3);return r[0]=t,r[1]=n,r[2]=e,r}function f(){return l()}function h(){return c(1,1,1)}function M(){return c(1,0,0)}function b(){return c(0,1,0)}function d(){return c(0,0,1)}const p=f(),m=h(),y=M(),g=b(),v=d();Object.freeze(Object.defineProperty({__proto__:null,ONES:m,UNIT_X:y,UNIT_Y:g,UNIT_Z:v,ZEROS:p,clone:i,create:l,fromValues:c,ones:h,unitX:M,unitY:b,unitZ:d,zeros:f},Symbol.toStringTag,{value:"Module"}));var w=e(16930),O=e(9762),I=e(63531),S=e(69846),x=e(48425),R=e(59418),A=e(37203);function q(t,n,e){return t?.attributeInfo.useElevation?n?function(t,n){const e=new Float64Array(n);for(let r=0;r<n;r++)e[r]=t[3*r+2];return e}(n,e):null:t?.attributeInfo.storageInfo?(0,R.m0)(t.attributeInfo.storageInfo,t.buffer,e,!0):null}function _(t){switch(t){default:case null:case"none":return t=>t;case"low-four-bit":return t=>15&t;case"high-four-bit":return t=>(240&t)>>4;case"absolute-value":return t=>Math.abs(t);case"modulo-ten":return t=>t%10}}function T(t){let n=0;for(const e of t||[])n|=1<<e;return n}var j=e(57005);class D{transform(t){const n=this._transform(t),e=[n.points.buffer,n.rgb.buffer];null!=n.pointIdFilterMap&&e.push(n.pointIdFilterMap.buffer);for(const t of n.attributes)"buffer"in t.values&&(0,a.mw)(t.values.buffer)&&t.values.buffer!==n.rgb.buffer&&e.push(t.values.buffer);return Promise.resolve({result:n,transferList:e})}_transform(t){const n=function(t,n){if(null==t.encoding||""===t.encoding){const e=(0,R.wH)(n,t);if(null==e.vertexAttributes.position)return;const r=(0,R.MA)(n,e.vertexAttributes.position),a=e.header.fields,o=[a.offsetX,a.offsetY,a.offsetZ],u=[a.scaleX,a.scaleY,a.scaleZ],s=r.length/3,l=new Float64Array(3*s);for(let t=0;t<s;t++)l[3*t]=r[3*t]*u[0]+o[0],l[3*t+1]=r[3*t+1]*u[1]+o[1],l[3*t+2]=r[3*t+2]*u[2]+o[2];return l}if("lepcc-xyz"===t.encoding)return(0,A.Me)(n).result}(t.schema,t.geometryBuffer);let e=n.length/3,a=null;const o=new Array,u=q(t.primaryAttributeData,n,e);null!=t.primaryAttributeData&&u&&o.push({attributeInfo:t.primaryAttributeData.attributeInfo,values:u});const s=q(t.modulationAttributeData,n,e);null!=t.modulationAttributeData&&s&&o.push({attributeInfo:t.modulationAttributeData.attributeInfo,values:s});let l=function(t,n,e,r){const{rendererJSON:a,isRGBRenderer:o}=t;let u=null,s=null;if(n&&o)u=n;else if(n&&"pointCloudUniqueValueRenderer"===a?.type){s=x.A.fromJSON(a);const t=s.colorUniqueValueInfos;u=new Uint8Array(3*r);const e=_(s.fieldTransformType);for(let a=0;a<r;a++){const r=(e?e(n[a]):n[a])+"";for(let n=0;n<t.length;n++)if(t[n].values.includes(r)){u[3*a]=t[n].color.r,u[3*a+1]=t[n].color.g,u[3*a+2]=t[n].color.b;break}}}else if(n&&"pointCloudStretchRenderer"===a?.type){s=S.A.fromJSON(a);const t=s.stops;u=new Uint8Array(3*r);const e=_(s.fieldTransformType);for(let a=0;a<r;a++){const r=e?e(n[a]):n[a],o=t.length-1;if(r<t[0].value)u[3*a]=t[0].color.r,u[3*a+1]=t[0].color.g,u[3*a+2]=t[0].color.b;else if(r>=t[o].value)u[3*a]=t[o].color.r,u[3*a+1]=t[o].color.g,u[3*a+2]=t[o].color.b;else for(let n=1;n<t.length;n++)if(r<t[n].value){const e=(r-t[n-1].value)/(t[n].value-t[n-1].value);u[3*a]=t[n].color.r*e+t[n-1].color.r*(1-e),u[3*a+1]=t[n].color.g*e+t[n-1].color.g*(1-e),u[3*a+2]=t[n].color.b*e+t[n-1].color.b*(1-e);break}}}else if(n&&"pointCloudClassBreaksRenderer"===a?.type){s=I.A.fromJSON(a);const t=s.colorClassBreakInfos;u=new Uint8Array(3*r);const e=_(s.fieldTransformType);for(let a=0;a<r;a++){const r=e?e(n[a]):n[a];for(let n=0;n<t.length;n++)if(r>=t[n].minValue&&r<=t[n].maxValue){u[3*a]=t[n].color.r,u[3*a+1]=t[n].color.g,u[3*a+2]=t[n].color.b;break}}}else u=new Uint8Array(3*r).fill(255);if(e&&s?.colorModulation){const t=s.colorModulation.minValue,n=s.colorModulation.maxValue,a=.3;for(let o=0;o<r;o++){const r=e[o],s=r>=n?1:r<=t?a:a+(1-a)*(r-t)/(n-t);u[3*o]=s*u[3*o],u[3*o+1]=s*u[3*o+1],u[3*o+2]=s*u[3*o+2]}}return u}(t.rendererInfo,u,s,e);if(t.filterInfo&&t.filterInfo.length>0&&null!=t.filterAttributesData){const u=t.filterAttributesData.filter(r.Ru).map(t=>{const r=q(t,n,e),a={attributeInfo:t.attributeInfo,values:r};return o.push(a),a});a=new Uint32Array(e),e=function(t,n,e,r,a){const o=t.length/3;let u=0;for(let s=0;s<o;s++){let o=!0;for(let t=0;t<r.length&&o;t++){const{filterJSON:n}=r[t],e=a[t].values[s];switch(n.type){case"pointCloudValueFilter":{const t="exclude"===n.mode;n.values.includes(e)===t&&(o=!1);break}case"pointCloudBitfieldFilter":{const t=T(n.requiredSetBits),r=T(n.requiredClearBits);(e&t)===t&&0===(e&r)||(o=!1);break}case"pointCloudReturnFilter":{const t=15&e,r=e>>>4&15,a=r>1,u=1===t,s=t===r;let l=!1;for(const t of n.includedReturns)if("last"===t&&s||"firstOfMany"===t&&u&&a||"lastOfMany"===t&&s&&a||"single"===t&&!a){l=!0;break}l||(o=!1);break}}}o&&(e[u]=s,t[3*u]=t[3*s],t[3*u+1]=t[3*s+1],t[3*u+2]=t[3*s+2],n[3*u]=n[3*s],n[3*u+1]=n[3*s+1],n[3*u+2]=n[3*s+2],u++)}return u}(n,l,a,t.filterInfo,u)}for(const r of t.userAttributesData){const t=q(r,n,e);o.push({attributeInfo:r.attributeInfo,values:t})}3*e<l.length&&(l=l.slice(0,3*e)),function(t,n,e){if(0!==e)for(let r=0;r<n;r++)t[3*r+2]+=e}(n,e,t.elevationOffset);const i=P(n,e,j.ab.fromData(t.obbData),w.A.fromJSON(t.inSR),w.A.fromJSON(t.outSR));return{obbData:t.obbData,points:i,rgb:l,attributes:o,pointIdFilterMap:a}}}function P(t,n,e,r,a){if(!(0,O.projectBuffer)(t,r,0,t,a,0,n))throw new Error("Can't reproject");const u=i(e.center),c=l(),f=l(),h=i(e.halfSize);(0,o.Xr)(k,e.quaternion);const M=new Float32Array(3*n);for(let e=0;e<n;e++){let n=3*e;c[0]=t[n]-u[0],c[1]=t[n+1]-u[1],c[2]=t[n+2]-u[2],(0,s.gL)(f,c,k),h[0]=Math.max(h[0],Math.abs(f[0])),h[1]=Math.max(h[1],Math.abs(f[1])),h[2]=Math.max(h[2],Math.abs(f[2])),M[n++]=c[0],M[n++]=c[1],M[n]=c[2]}return e.halfSize=h,M}const k=(0,u.vt)();function C(){return new D}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[368,5611,6061,7987,7992],{61691(t,e,r){r.d(e,{G:()=>n});class n{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},46810(t,e,r){r.d(e,{O:()=>s});var n=r(15756);class s extends n.n{getOperatorType(){return 5}execute(t,e,r,s){return(0,n.r)(t,e,r,8,s)}}},76061(t,e,r){r.d(e,{S:()=>s});var n=r(61691);class s extends n.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,r){function n(){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]]}r.d(e,{o8:()=>s,vt:()=>n,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:n,fromValues:function(t,e,r,n,s,i,o,a,u,h,c,f,l,m,g,x){return[t,e,r,n,s,i,o,a,u,h,c,f,l,m,g,x]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,r){function n(){return[0,0,0]}function s(t){return[t[0],t[1],t[2]]}function i(t,e,r){return[t,e,r]}function o(t,e,r){return[t,e,r]}function a(t,e=[0,0,0]){const r=Math.min(3,t.length);for(let n=0;n<r;++n)e[n]=t[n];return e}function u(){return i(1,1,1)}function h(){return i(1,0,0)}function c(){return i(0,1,0)}function f(){return i(0,0,1)}r.d(e,{CN:()=>o,Cb:()=>d,Cw:()=>g,JP:()=>x,Un:()=>m,ci:()=>a,fA:()=>i,o8:()=>s,uY:()=>l,vt:()=>n});const l=[0,0,0],m=u(),g=h(),x=c(),d=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:m,UNIT_X:g,UNIT_Y:x,UNIT_Z:d,ZEROS:l,clone:s,create:n,freeze:o,fromArray:a,fromValues:i,ones:u,unitX:h,unitY:c,unitZ:f,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},35522(t,e,r){r.d(e,{$A:()=>I,Bw:()=>i,C:()=>o,Cc:()=>O,DI:()=>E,Il:()=>k,Io:()=>M,Ln:()=>p,Om:()=>_,Qr:()=>f,Re:()=>h,S8:()=>b,T9:()=>x,WQ:()=>u,Z0:()=>A,_S:()=>m,aI:()=>N,ei:()=>S,fw:()=>w,gL:()=>P,hG:()=>y,hZ:()=>a,hs:()=>d,jb:()=>V,jk:()=>g,lo:()=>L,lw:()=>c,m3:()=>v,oW:()=>R,t2:()=>Y,tn:()=>l,uE:()=>B,xg:()=>X,ze:()=>C});var n=r(51850),s=r(34304);function i(t){const e=t[0],r=t[1],n=t[2];return Math.sqrt(e*e+r*r+n*n)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,r,n){return t[0]=e,t[1]=r,t[2]=n,t}function u(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t}function h(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t}function c(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t[2]=e[2]*r[2],t}function f(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t[2]=e[2]/r[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,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t[2]=Math.min(e[2],r[2]),t}function x(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t[2]=Math.max(e[2],r[2]),t}function d(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t}function p(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t}function M(t,e){const r=e[0]-t[0],n=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(r*r+n*n+s*s)}function y(t,e){const r=e[0]-t[0],n=e[1]-t[1],s=e[2]-t[2];return r*r+n*n+s*s}function v(t){const e=t[0],r=t[1],n=t[2];return e*e+r*r+n*n}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 b(t,e){const r=e[0],n=e[1],s=e[2];let i=r*r+n*n+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 I(t,e,r){const n=e[0],s=e[1],i=e[2],o=r[0],a=r[1],u=r[2];return t[0]=s*u-i*a,t[1]=i*o-n*u,t[2]=n*a-s*o,t}function O(t,e,r,n){const s=e[0],i=e[1],o=e[2];return t[0]=s+n*(r[0]-s),t[1]=i+n*(r[1]-i),t[2]=o+n*(r[2]-o),t}function A(t,e,r){const n=e[0],s=e[1],i=e[2];return t[0]=r[0]*n+r[4]*s+r[8]*i+r[12],t[1]=r[1]*n+r[5]*s+r[9]*i+r[13],t[2]=r[2]*n+r[6]*s+r[10]*i+r[14],t}function S(t,e,r){const n=e[0],s=e[1],i=e[2];return t[0]=n*r[0]+s*r[3]+i*r[6],t[1]=n*r[1]+s*r[4]+i*r[7],t[2]=n*r[2]+s*r[5]+i*r[8],t}function P(t,e,r){return w(t,e,r[0],r[1],r[2],r[3])}function w(t,e,r,n,s,i){const o=e[0],a=e[1],u=e[2],h=n*u-s*a,c=s*o-r*u,f=r*a-n*o,l=n*f-s*c,m=s*h-r*f,g=r*c-n*h,x=2*i;return t[0]=o+h*x+2*l,t[1]=a+c*x+2*m,t[2]=u+f*x+2*g,t}const Z=(0,n.vt)(),F=(0,n.vt)();function Y(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function N(t,e){if(t===e)return!0;const r=t[0],n=t[1],i=t[2],o=e[0],a=e[1],u=e[2],h=(0,s.FD)();return Math.abs(r-o)<=h*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(n-a)<=h*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(i-u)<=h*Math.max(1,Math.abs(i),Math.abs(u))}function R(t,e,r){const n=r[0]-e[0],s=r[1]-e[1],i=r[2]-e[2];let o=n*n+s*s+i*i;return o>0?(o=1/Math.sqrt(o),t[0]=n*o,t[1]=s*o,t[2]=i*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const V=h,T=c,z=f,X=M,L=y,k=i,B=v;Object.freeze(Object.defineProperty({__proto__:null,abs:l,add:u,angle:function(t,e){b(Z,t),b(F,e);const r=_(Z,F);return r>1?0:r<-1?Math.PI:Math.acos(r)},bezier:function(t,e,r,n,s,i){const o=1-i,a=o*o,u=i*i,h=a*o,c=3*i*a,f=3*u*o,l=u*i;return t[0]=e[0]*h+r[0]*c+n[0]*f+s[0]*l,t[1]=e[1]*h+r[1]*c+n[1]*f+s[1]*l,t[2]=e[2]*h+r[2]*c+n[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,r=1){return t[0]=Math.min(Math.max(t[0],e),r),t[1]=Math.min(Math.max(t[1],e),r),t[2]=Math.min(Math.max(t[2],e),r),t},copy:o,cross:I,crossAndNormalize:function(t,e,r){const n=e[0],s=e[1],i=e[2],o=r[0],a=r[1],u=r[2],h=s*u-i*a,c=i*o-n*u,f=n*a-s*o,l=Math.sqrt(h*h+c*c+f*f);return t[0]=h/l,t[1]=c/l,t[2]=f/l,t},direction:R,dist:X,distance:M,div:z,divide:f,dot:_,equals:N,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,r,n,s,i){const o=i*i,a=o*(2*i-3)+1,u=o*(i-2)+i,h=o*(i-1),c=o*(3-2*i);return t[0]=e[0]*a+r[0]*u+n[0]*h+s[0]*c,t[1]=e[1]*a+r[1]*u+n[1]*h+s[1]*c,t[2]=e[2]*a+r[2]*u+n[2]*h+s[2]*c,t},inverse:E,len:k,length:i,lerp:O,max:x,min:g,mul:T,multiply:c,negate:C,normalize:b,random:function(t,e=1){const r=s.Ov,n=2*r()*Math.PI,i=2*r()-1,o=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(n)*o,t[1]=Math.sin(n)*o,t[2]=i*e,t},rotateX:function(t,e,r,n){const s=[],i=[];return s[0]=e[0]-r[0],s[1]=e[1]-r[1],s[2]=e[2]-r[2],i[0]=s[0],i[1]=s[1]*Math.cos(n)-s[2]*Math.sin(n),i[2]=s[1]*Math.sin(n)+s[2]*Math.cos(n),t[0]=i[0]+r[0],t[1]=i[1]+r[1],t[2]=i[2]+r[2],t},rotateY:function(t,e,r,n){const s=[],i=[];return s[0]=e[0]-r[0],s[1]=e[1]-r[1],s[2]=e[2]-r[2],i[0]=s[2]*Math.sin(n)+s[0]*Math.cos(n),i[1]=s[1],i[2]=s[2]*Math.cos(n)-s[0]*Math.sin(n),t[0]=i[0]+r[0],t[1]=i[1]+r[1],t[2]=i[2]+r[2],t},rotateZ:function(t,e,r,n){const s=[],i=[];return s[0]=e[0]-r[0],s[1]=e[1]-r[1],s[2]=e[2]-r[2],i[0]=s[0]*Math.cos(n)-s[1]*Math.sin(n),i[1]=s[0]*Math.sin(n)+s[1]*Math.cos(n),i[2]=s[2],t[0]=i[0]+r[0],t[1]=i[1]+r[1],t[2]=i[2]+r[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:p,set:a,sign:m,sqrDist:L,sqrLen:B,squaredDistance:y,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:V,subtract:h,transformMat3:S,transformMat4:A,transformQuat:P,transformQuatValues:w},Symbol.toStringTag,{value:"Module"}))},69397(t,e,r){r.d(e,{Qf:()=>u,Qh:()=>o,RS:()=>s,Ul:()=>m,i5:()=>l,lM:()=>i,qK:()=>c});var n=r(34275);const s=16;function i(t){if(!t)return 0;let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=a(t[r],!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 h(t,8);let r=f;for(let n=0;n<e;n++)r+=a(t[n]);return r}(t);let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=a(t[r]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?o(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,n.iu)(e)?e.byteLength+l:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return f+t.length*e}const c=32,f=16,l=145,m=64},87992(t,e,r){r.d(e,{JR:()=>I,ME:()=>E,MY:()=>O,NO:()=>C,Nh:()=>_,V2:()=>Z,_s:()=>F,e6:()=>N,gh:()=>b,tr:()=>V,uX:()=>d});var n=r(5482),s=r(69397),i=r(16930),o=(r(70328),r(19419)),a=r(60408),u=r(21325),h=r(513),c=r(50954),f=r(79567),l=r(52006),m=r(49663),g=r(46068),x=r(92722);class d{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:n,vertexZ:s,vertexM:i,partCount:o,partOffsets:a,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:f,segmentCountArc:l,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=n,this.vertexZ=s,this.vertexM=i,this.partCount=o,this.partOffsets=a,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,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:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return 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:r,hasZ:n,hasM:s,segmentCountArc:i,segmentCountBezier:o}=this,a=Z(t,e,r,n,s,this.hasCurves(),i,o);a.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(a.vertexXY.set(u.subarray(0,2*e),0),a.vertexZ?.set(h.subarray(0,e),0),a.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;a.partFlags.set(e.subarray(0,r+1)),a.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:n,segmentParamCount:s}=this;a.segmentFlags.set(t.subarray(0,e),0),a.segmentIndices.set(r.subarray(0,e),0),a.segmentParams.set(n.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 r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new p(this):[][Symbol.iterator]()}}class p{constructor(t){this.geometry=t,this.value=new M(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class M{constructor(t){this.geometry=t,this.index=-1,this._readVertex=P(t),this._segments=new y(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 y{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=P(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],n=e[r++],s=e[r++],i=e[r++];return{b:[this.end,[t,n],[s,i]]}}const n=e[r++],s=e[r++],i=e[r++],o=e[r++],a=e[r++],u=e[r++];r++,r++;const h=e[r++],c=e[r++];if(!Boolean(4&n)&&1===i)return{c:[this.end,[h,c]]};const f=2&n?0:1,l=1&n?0:1;return{a:[this.end,[a,u],f,l,o,s,i]}}}function C(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,o.Ie)(),(0,n.mS)(r,new A(t,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:s,vertexZ:i,vertexM:a}=t,u=S(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,n.mS)(r,new A(t,["vertexZ","vertexM"]),!1);const s=(0,o.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,f.e)(s,t,r),t=(0,l.yP)(r)}const[i,a,h,c]=s;e={xmin:i,ymin:a,xmax:h,ymax:c,spatialReference:u}}catch(t){r.error=t,r.hasError=!0}finally{(0,n.hk)(r)}}else{let t,n,i,o;t=n=1/0,i=o=-1/0;for(let e=0;e<r;++e){const r=s[2*e],a=s[2*e+1];t=Math.min(t,r),i=Math.max(i,r),n=Math.min(n,a),o=Math.max(o,a)}e={xmin:t,ymin:n,xmax:i,ymax:o,spatialReference:u}}if(i){let t=1/0,r=-1/0;for(const e of i)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(a){let t=1/0,r=-1/0;for(const e of a)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,n.hk)(r)}}function E(t){let e,r,n;if((0,a.fT)(t)){n="point";const{x:s,y:i,z:o,m:a}=t,u=[s,i];null!=o&&u.push(o),null!=a&&u.push(a),r=[[u]],e=1}else(0,a.U9)(t)?(n="multipoint",r=[t.points],e=t.points.length):(0,a.Rg)(t)?(n="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(n="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,w(e[0],(0,l.yP)(e.at(-1)))&&--t),t),0));const s=Z(n,e,n.includes("point")?0:r.length,(0,a.Pv)(t),(0,a.W0)(t),(0,l.Ed)(t)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:h,vertexM:c}=s;function f(t){u[2*g]=t[0],u[2*g+1]=t[1],i&&(h[g]=t[2]),o&&(c[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 r[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of r[0])f(t);return s}const x="polygon"===n,{partOffsets:d}=s;let p=0;if(!s.hasCurves()){for(const t of r){if(d[p++]=g,0===t.length)continue;let e=t.length;if(x&&w(t[0],t.at(-1))&&--e,i||o)for(let r=0;r<e;++r)f(t[r]);else for(let r=0;r<e;++r){const[e,n]=t[r];u[2*g]=e,u[2*g+1]=n,++g}}return d[p]=g,s}function M(t){const e=y+t;if(e<=(s.segmentParams?.length??0))return;let r=e*T;r=20*Math.ceil(r/20);const n=s.segmentParams;s.segmentParams=new Float64Array(r),null!=n&&s.segmentParams.set(n)}let y=0;for(const t of r){if(s.partOffsets[p++]=g,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const n=t[e];f(r);const i=g-1;(0,l.wY)(n)?(M(10),++s.segmentCountArc,y=F(r,n,s,i,y),r=n.a[0]):(0,l.DA)(n)?(M(10),++s.segmentCountArc,y=Y(r,n,s,i,y),r=n.a[0]):(0,l.aO)(n)?(M(10),++s.segmentCountArc,y=N(r,n,s,i,y),r=n.c[0]):(0,l.n1)(n)?(M(4),++s.segmentCountBezier,y=V(0,n,s,i,y),r=n.b[0]):r=n}x&&w(e,r)||f(r)}return s.partOffsets[p]=g,s}function b(t){const e=P(t),{vertexCount:r,partCount:n,hasZ:s,hasM:i}=t,o=S(t);if("point"===t.type){const[e,r]=t.vertexXY,n=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:r,z:n,m:s,spatialReference:o}}let a=0;if("multipoint"===t.type){const t=[];for(;a<r;)t.push(e(a++));return{points:t,spatialReference:o,hasZ:s,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let s=0;s<n;++s){const n=t.partOffsets[s+1],i=new Array;for(;a<n;)i.push(e(a++));u&&i.length>0&&i.push(i[0]),r.push(i)}return u?{rings:r,hasZ:s,hasM:i,spatialReference:o}:{paths:r,hasZ:s,hasM:i,spatialReference:o}}const h=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);h.push(t)}return u?{rings:[],curveRings:h,hasZ:s,hasM:i,spatialReference:o}:{paths:[],curvePaths:h,hasZ:s,hasM:i,spatialReference:o}}function _(t,{lengths:e,coords:r,hasZ:n,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);n??=!1,s??=!1;const h=Z(t,u,o,n,s,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=r[e++],h.vertexXY[2*t+1]=r[e++],n&&(h.vertexZ[t]=r[e++]),s&&(h.vertexM[t]=r[e++]);return h}const c=2+Number(n)+Number(s);let f=0,l=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[l],i=e+t-Number(a);h.partOffsets[++l]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=r[f++],h.vertexXY[2*t+1]=r[f++],n&&(h.vertexZ[t]=r[f++]),s&&(h.vertexM[t]=r[f++]);a&&(f+=c)}return h}function I({type:t,vertexCount:e,vertexXY:r,vertexZ:n,vertexM:s,partCount:i,partOffsets:o,hasZ:a,hasM:u}){const h=new x.A([],[],a,u);i=Math.max(i,1);const c="polygon"===t;let f=0;for(let t=0;t<i;++t){const i=o?.[t+1]??e,l=h.coords.length;for(let t=f;t<i;++t)h.coords.push(r[2*t],r[2*t+1]),a&&h.coords.push(n[t]),u&&h.coords.push(s[t]);if(c){const t=f;h.coords.push(r[2*t],r[2*t+1]),a&&h.coords.push(n[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-l)/h.stride),f=i}return"point"===t&&(h.lengths.length=0),h}function O(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let n=t.getLatestID();(n<=0||n===r)&&(n=void 0);const s=t.getVCS();if(null==s)return{wkid:r,latestWkid:n,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:r,wkt:e,latestWkid:n,vcsWkid:i,latestVcsWkid:o}}(t.getSpatialReference()),t=t.getGeometry()),new d({...t.toFlatGeometry(),spatialReference:e})}class A{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function S({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function P({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?n=>[t[2*n],t[2*n+1],e[n],r[n]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function w(t,e){return t.every((t,r)=>t===e[r])}function Z(t,e,r,n,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:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:a});let h=2*Float64Array.BYTES_PER_ELEMENT*e;n&&(h+=Float64Array.BYTES_PER_ELEMENT*e),s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(r+1)*Int32Array.BYTES_PER_ELEMENT,h+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let f=0;return u.vertexXY=new Float64Array(c,f,2*e),f+=u.vertexXY.byteLength,n&&(u.vertexZ=new Float64Array(c,f,e),f+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(c,f,e),f+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,f,u.segmentParamCount),f+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,f,e),u.segmentIndices.fill(z),f+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,f,r+1),f+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,f,r+1),f+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,r).fill(1)),i&&(u.segmentFlags=new Int8Array(c,f,e),u.segmentFlags.fill(1),f+=u.segmentFlags.byteLength),u}function F(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,o){r[i]=4,n[i]=o;const[a,[u,h],c,f,l,m,x]=e.a;let d=4;f||(d|=1),c||(d|=2);const p=(0,g.SW)(t,e),[M,y]=(0,g.Uk)(p,.5);return s[o++]=d,s[o++]=m,s[o++]=x,s[o++]=l,s[o++]=u,s[o++]=h,s[o++]=p.u2-p.u1,s[o++]=p.u1,s[o++]=M,s[o++]=y,o}function Y(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,o){r[i]=4,n[i]=o;const a=(0,m.io)(t,e);return R(a,4,...(0,h.mq)(a,.5),s,o)}function N(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,o){return r[i]=4,n[i]=o,R((0,c.pM)(t,e),0,...e.c[1],s,o)}function R(t,e,r,n,s,i){const{cx:o,cy:a,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),s[i++]=e,s[i++]=c,s[i++]=1,s[i++]=0,s[i++]=o,s[i++]=a,s[i++]=h-u,s[i++]=u,s[i++]=r,s[i++]=n,i}function V(t,{b:[e,[r,n],[s,i]]},{segmentFlags:o,segmentIndices:a,segmentParams:u},h,c){return o[h]=2,a[h]=c,u[c++]=r,u[c++]=n,u[c++]=s,u[c++]=i,c}const T=1.61803,z=-1},83547(t,e,r){r.r(e),r.d(e,{execute:()=>o});var n=r(46810),s=r(83299);const i=new n.O;function o(t,e){const r=(0,s.fromGeometry)(t);return i.execute(r.getGeometry(),(0,s.fromGeometryToGXGeometry)(e),r.getSpatialReference(),null)}},4197(t,e,r){r.d(e,{Vj:()=>h,cj:()=>u,jh:()=>i,l5:()=>a,xm:()=>o});var n=r(34275),s=r(9093);function i(t){return t<=n.y9?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,n.iu)(t)?t.byteLength/8:t.length)<=n.y9?Array.from(t):new Float64Array(t)}function a(t,e,r){return Array.isArray(t)?t.slice(e,e+r):t.subarray(e,e+r)}function u(t){return[...t]}function h(t){const e=(0,s.vt)();for(let r=0;r<16;++r)e[r]=t[r];return e}},70328(t,e,r){r.d(e,{BI:()=>y,DC:()=>f,Ej:()=>m,Ie:()=>p,Jt:()=>M,Ne:()=>g,RF:()=>c,aI:()=>C,fA:()=>o,gE:()=>u,hZ:()=>d,iT:()=>l,is:()=>v,qv:()=>E,vI:()=>x,vY:()=>a,v_:()=>b,vt:()=>i,w1:()=>h}),r(35522);var n=r(5443),s=(r(19419),r(4197));function i(t=b){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,r,n,s,o,a=i()){return a[0]=t,a[1]=e,a[2]=r,a[3]=n,a[4]=s,a[5]=o,a}function a(t,e=i()){return function(t,e,r,n=i()){return d(n,E),function(t,e,r=0,n=e.length/3){let s=t[0],i=t[1],o=t[2],a=t[3],u=t[4],h=t[5];for(let t=0;t<n;t++)s=Math.min(s,e[r+3*t]),i=Math.min(i,e[r+3*t+1]),o=Math.min(o,e[r+3*t+2]),a=Math.max(a,e[r+3*t]),u=Math.max(u,e[r+3*t+1]),h=Math.max(h,e[r+3*t+2]);t[0]=s,t[1]=i,t[2]=o,t[3]=a,t[4]=u,t[5]=h}(n,t,e,r),n}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[r,n,i,o,a,u]=t;return e[0]=r,e[1]=n,e[2]=i,e[3]=r,e[4]=n,e[5]=u,e[6]=r,e[7]=a,e[8]=i,e[9]=r,e[10]=a,e[11]=u,e[12]=o,e[13]=n,e[14]=i,e[15]=o,e[16]=n,e[17]=u,e[18]=o,e[19]=a,e[20]=i,e[21]=o,e[22]=a,e[23]=u,e}function h(t,e){const r=isFinite(t[2])||isFinite(t[5]);return new n.A(r?{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 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,r=t){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r!==t&&(r[3]=t[3],r[4]=t[4],r[5]=t[5]),r}function x(t,e,r=t){return r[3]=e[0],r[4]=e[1],r[5]=e[2],r!==t&&(r[0]=t[0],r[1]=t[1],r[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 p(t){return t?d(t,E):i(E)}function M(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 y(t,e,r,n,s){return t[0]=e,t[1]=r,t[2]=Number.NEGATIVE_INFINITY,t[3]=n,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function C(t,e,r){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(r){for(let n=0;n<t.length;n++)if(!r(t[n],e[n]))return!1}else for(let r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],b=[0,0,0,0,0,0];i()},92722(t,e,r){r.d(e,{A:()=>s});var n=r(69397);class s{constructor(t=[],e=[],r=!1,n=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=r,this.hasM=n}static fromJSON({lengths:t,coords:e,hasZ:r,hasM:n}){return new s(t,e,r||!1,n||!1)}static fromRect([t,e,r,n]){const i=r-t,o=n-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,n.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 r of this.lengths){if(r<3)continue;const{stride:n}=this;let s=this.coords[n*e],i=this.coords[n*e+1];for(let o=1;o<r;o+=1){const r=n*(e+o),a=this.coords[r],u=this.coords[r+1];t+=-.5*(a-s)*(u+i),s=a,i=u}e+=r}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const n of this.lengths){for(let s=0;s<n;s++){const n=r*(e+s);t(this.coords[n],this.coords[n+1])}e+=n}}deltaDecode(){const t=this.clone(),{coords:e,lengths:r}=t;let n=0;const{stride:s}=this;for(const t of r){for(let r=1;r<t;r++){const t=s*(n+r);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}n+=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:r,size:n}=this,i=this.coords.slice(0,n*r);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 r=new Array(e*t);for(let e=0,n=0;e<r.length;e+=t)r[n++]=this.coords[e],r[n++]=this.coords[e+1];return new s(this.lengths,r,!1,!1)}}}}]);