@arcgis/core 5.2.0-next.4 → 5.2.0-next.5

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 (477) hide show
  1. package/Graphic.d.ts +2 -1
  2. package/Map.js +1 -1
  3. package/analysis/ShadowCast/MinDurationOptions.d.ts +3 -5
  4. package/analysis/ShadowCast/TotalDurationOptions.d.ts +7 -9
  5. package/analysis/ShadowCastAnalysis.d.ts +7 -6
  6. package/arcgisGlobal.d.ts +5 -0
  7. package/assets/esri/core/workers/RemoteClient.js +1 -1
  8. package/assets/esri/core/workers/chunks/{29bbc0d6d847b065d10e.js → 062aadf426fe97a76bbb.js} +1 -1
  9. package/assets/esri/core/workers/chunks/0aaee272520c6e5bb617.js +1 -0
  10. package/assets/esri/core/workers/chunks/{12053c1213465d07d2f6.js → 0b445c1cf281f158c1f1.js} +1 -1
  11. package/assets/esri/core/workers/chunks/0fbf9bf52ecb4cd8293b.js +1 -0
  12. package/assets/esri/core/workers/chunks/{701125f6cdd91ff3655f.js → 1252da05832e576d4def.js} +2 -2
  13. package/assets/esri/core/workers/chunks/163ce1be8bfe20e77f97.js +1 -0
  14. package/assets/esri/core/workers/chunks/{e87d02af6d6b05e19d93.js → 16713986893adfbc9331.js} +1 -1
  15. package/assets/esri/core/workers/chunks/{9bd713d96502ddc2ce25.js → 1765042635084f75d2b3.js} +1 -1
  16. package/assets/esri/core/workers/chunks/18ebf1d3ed05c8057f7d.js +1 -0
  17. package/assets/esri/core/workers/chunks/1a527c0740d9f4fa0791.js +1 -0
  18. package/assets/esri/core/workers/chunks/1a95370ddc22729ab3c6.js +1 -0
  19. package/assets/esri/core/workers/chunks/{c88fd4f69cb2b53b48ec.js → 1b0765403b06294b3e1d.js} +1 -1
  20. package/assets/esri/core/workers/chunks/1bd8a7f92a428eedb22e.js +1 -0
  21. package/assets/esri/core/workers/chunks/233ff588798c8a5eedf4.js +1 -0
  22. package/assets/esri/core/workers/chunks/24acf3dd541347c2b297.js +1 -0
  23. package/assets/esri/core/workers/chunks/24d9e4f1c7b8ff0d2cce.js +1 -0
  24. package/assets/esri/core/workers/chunks/2562d8905bd05ef6fd07.js +1 -0
  25. package/assets/esri/core/workers/chunks/{e5d969214d9eda5c0b4c.js → 2a5dbed88bbd96cfac9f.js} +1 -1
  26. package/assets/esri/core/workers/chunks/2bcd4d395bfe6a19ccc8.js +1 -0
  27. package/assets/esri/core/workers/chunks/2e11b4e9d66474a60064.js +1 -0
  28. package/assets/esri/core/workers/chunks/{fbcf09526dc1bbe94b91.js → 2e8db0f05df2e38a14e1.js} +2 -2
  29. package/assets/esri/core/workers/chunks/3192586ec7fc73ed1165.js +1 -0
  30. package/assets/esri/core/workers/chunks/{9a11ff75009fef45b8c1.js → 325bfac7cfa28a6d568f.js} +1 -1
  31. package/assets/esri/core/workers/chunks/32f24a66f684de3c243d.js +1 -0
  32. package/assets/esri/core/workers/chunks/38ca59db0e8f45bd7811.js +1 -0
  33. package/assets/esri/core/workers/chunks/3bf6d55511cd7722eb93.js +1 -0
  34. package/assets/esri/core/workers/chunks/40df6ffeb61fea80aae3.js +1 -0
  35. package/assets/esri/core/workers/chunks/423a9882abd4a6dadf86.js +1 -0
  36. package/assets/esri/core/workers/chunks/425c04b26a6ec6d04b08.js +1 -0
  37. package/assets/esri/core/workers/chunks/4364a3e706294bb6ae41.js +1 -0
  38. package/assets/esri/core/workers/chunks/438f35d41c6851736818.js +30 -0
  39. package/assets/esri/core/workers/chunks/44e52fe98ffafe6a2807.js +1 -0
  40. package/assets/esri/core/workers/chunks/47d49777a3b3cd8e18bd.js +1 -0
  41. package/assets/esri/core/workers/chunks/4bfffdfbe6d467f143a4.js +1 -0
  42. package/assets/esri/core/workers/chunks/4d09ef7c57ab7f9782fe.js +1 -0
  43. package/assets/esri/core/workers/chunks/4e97c01698ef36cc5e0e.js +1 -0
  44. package/assets/esri/core/workers/chunks/5022413f5a41b5d435ea.js +1 -0
  45. package/assets/esri/core/workers/chunks/{8ade869fa9bae446266a.js → 51816d79c6be15e4bfcf.js} +1 -1
  46. package/assets/esri/core/workers/chunks/544174c33628846284a1.js +1 -0
  47. package/assets/esri/core/workers/chunks/{cf9b0ba30a75c030ca92.js → 5524a71d1abc9568ce26.js} +1 -1
  48. package/assets/esri/core/workers/chunks/552945a73a95cd2a9f54.js +1 -0
  49. package/assets/esri/core/workers/chunks/{ba31616de9d73d83d867.js → 557e39e5156b313597f9.js} +1 -1
  50. package/assets/esri/core/workers/chunks/55d168c13491fcdfb284.js +1 -0
  51. package/assets/esri/core/workers/chunks/{5ef37f37e405b3bb5450.js → 59dafa1e1340ea4043e6.js} +1 -1
  52. package/assets/esri/core/workers/chunks/{0a530fbbb4486c670ea2.js → 5c7aff9604b4576a0e1d.js} +1 -1
  53. package/assets/esri/core/workers/chunks/603177137eb680afe371.js +1 -0
  54. package/assets/esri/core/workers/chunks/624b1bb269744142b835.js +1 -0
  55. package/assets/esri/core/workers/chunks/643c7506f8fe8e06acd2.js +1 -0
  56. package/assets/esri/core/workers/chunks/65621650a53f69f7b05a.js +1 -0
  57. package/assets/esri/core/workers/chunks/65f02eca694cc1c9f5a7.js +1 -0
  58. package/assets/esri/core/workers/chunks/{271e42b7cd3c3441839e.js → 6a53c8db554be55c5885.js} +46 -36
  59. package/assets/esri/core/workers/chunks/6af88bb722bbb37db198.js +2 -0
  60. package/assets/esri/core/workers/chunks/6d696beddcc5fbed5875.js +1 -0
  61. package/assets/esri/core/workers/chunks/{a70fa35b2d19460637e9.js → 70d8f5bdb452cee41536.js} +2 -2
  62. package/assets/esri/core/workers/chunks/728151d24334027af635.js +1 -0
  63. package/assets/esri/core/workers/chunks/728ad5bbbcbf88d6249f.js +1 -0
  64. package/assets/esri/core/workers/chunks/{0d2bc1be5802681666a4.js → 77859a61d059738d057f.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{03a4543b94f9adeb1852.js → 7a3b05e25de2ff150f38.js} +1 -1
  66. package/assets/esri/core/workers/chunks/{340f2c996f62f7f5ceae.js → 7a823bb1b72764897dd5.js} +1 -1
  67. package/assets/esri/core/workers/chunks/7bbffe07e62897928773.js +1 -0
  68. package/assets/esri/core/workers/chunks/7c292f7b181f3b93352b.js +1 -0
  69. package/assets/esri/core/workers/chunks/{f69c44479ee3fd8c831d.js → 7d220f574ebf2740c208.js} +1 -1
  70. package/assets/esri/core/workers/chunks/7eb94fc75926bc739233.js +1 -0
  71. package/assets/esri/core/workers/chunks/{24b43fb12fc3009fdc30.js → 7f1fcddc8dd42a1b67d9.js} +1 -1
  72. package/assets/esri/core/workers/chunks/{e95ce76b5b816256a519.js → 7f54d3835c0ce573a942.js} +1 -1
  73. package/assets/esri/core/workers/chunks/804ab5f614efa12a131b.js +1 -0
  74. package/assets/esri/core/workers/chunks/823789261ca3338f0fa8.js +1 -0
  75. package/assets/esri/core/workers/chunks/{71e12db99589c98a4357.js → 8477b5fdd99c6ac5c27b.js} +1 -1
  76. package/assets/esri/core/workers/chunks/{5cdf87e7a59ace38df87.js → 84b0b6e099d949e0fea5.js} +1 -1
  77. package/assets/esri/core/workers/chunks/{be1e4c3ec53fc92a26f1.js → 8598997340682113a2a5.js} +1 -1
  78. package/assets/esri/core/workers/chunks/86443e47ad99e555753a.js +1 -0
  79. package/assets/esri/core/workers/chunks/86a767c2b0b1e37ff493.js +1 -0
  80. package/assets/esri/core/workers/chunks/{702a3ef9e1b3442cbee7.js → 8b8b63be961eb73250a0.js} +1 -1
  81. package/assets/esri/core/workers/chunks/{27d6ad4ca5ab8c9d62cd.js → 8c443c52c846a096a250.js} +1 -1
  82. package/assets/esri/core/workers/chunks/{86161025b53b916328ff.js → 8ca88cfc0b9f84dc5832.js} +1 -1
  83. package/assets/esri/core/workers/chunks/9133c1b7cc1c9da27deb.js +1 -0
  84. package/assets/esri/core/workers/chunks/{d4749eb8a47869477037.js → 9250615c78f8570a9cda.js} +1 -1
  85. package/assets/esri/core/workers/chunks/986d8c3907aeeb18c4f6.js +1 -0
  86. package/assets/esri/core/workers/chunks/98e489c2b85feded7776.js +1 -0
  87. package/assets/esri/core/workers/chunks/9d27cc631bab8aa7479e.js +1 -0
  88. package/assets/esri/core/workers/chunks/9f23a61c60949459c14f.js +30 -0
  89. package/assets/esri/core/workers/chunks/a03c4c0bf138734a002e.js +1 -0
  90. package/assets/esri/core/workers/chunks/{40df608337d562553ce1.js → a0fce639319d59becd01.js} +2 -2
  91. package/assets/esri/core/workers/chunks/{e4b2120d7ee1c998b1fc.js → aa03f770178693167aa0.js} +1 -1
  92. package/assets/esri/core/workers/chunks/{762e23466308f22d7076.js → aea384f4d88121da8f54.js} +1 -1
  93. package/assets/esri/core/workers/chunks/aea439d4c2308f88b295.js +1 -0
  94. package/assets/esri/core/workers/chunks/{7995e6983456c779adf9.js → b002304a45856b024b46.js} +1 -1
  95. package/assets/esri/core/workers/chunks/b44f1d08784f2e50c853.js +1 -0
  96. package/assets/esri/core/workers/chunks/ba693317ed3939587f30.js +1 -0
  97. package/assets/esri/core/workers/chunks/be0eab592db0e651b023.js +30 -0
  98. package/assets/esri/core/workers/chunks/c1b6de0d728d25d7905a.js +1 -0
  99. package/assets/esri/core/workers/chunks/{f8b884b529064df4a30a.js → caf80facb0322be054ab.js} +1 -1
  100. package/assets/esri/core/workers/chunks/{25d795a1697803d77e56.js → ce0e627a5e1cb78adce8.js} +1 -1
  101. package/assets/esri/core/workers/chunks/{18c4207b1cb0777560ba.js → cf3036711bbe6095eaed.js} +1 -1
  102. package/assets/esri/core/workers/chunks/d21bf107698fef03125e.js +1 -0
  103. package/assets/esri/core/workers/chunks/d6d87bfa9e6d233385a9.js +262 -0
  104. package/assets/esri/core/workers/chunks/{63378b0b4265a547656b.js → d8ec0afb2b91ccf32e55.js} +1 -1
  105. package/assets/esri/core/workers/chunks/d97c0c18202b8c578f8c.js +1 -0
  106. package/assets/esri/core/workers/chunks/{2f99a95facddc44319a9.js → da3c54e27a808f4fcc18.js} +1 -1
  107. package/assets/esri/core/workers/chunks/dc259eed58fde3f5cb5c.js +1 -0
  108. package/assets/esri/core/workers/chunks/dc6d50e1097a920ff820.js +1 -0
  109. package/assets/esri/core/workers/chunks/e6e15e9e890b864fb395.js +1 -0
  110. package/assets/esri/core/workers/chunks/e755477dc78e9d6038d4.js +1 -0
  111. package/assets/esri/core/workers/chunks/ea8f642b1db933d2c26f.js +1 -0
  112. package/assets/esri/core/workers/chunks/eabd4a78221b7e733793.js +1 -0
  113. package/assets/esri/core/workers/chunks/{39987c06636e757d1f00.js → eda083e9d12e45da0a7b.js} +1 -1
  114. package/assets/esri/core/workers/chunks/edb55329305becdb204f.js +1 -0
  115. package/assets/esri/core/workers/chunks/f58ddf37dee066a5c0d8.js +1 -0
  116. package/assets/esri/core/workers/chunks/fb0afb41a3d87d59f574.js +1 -0
  117. package/assets/esri/core/workers/chunks/{5c6742728fa705d2e16e.js → fc9fbc8e4e459edf4e37.js} +1 -1
  118. package/assets/esri/core/workers/chunks/fe2325efd0d8ad8369ed.js +1 -0
  119. package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +53 -7
  120. package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +4 -13
  121. package/assets/esri/themes/dark/main.css +1 -1
  122. package/assets/esri/themes/light/main.css +1 -1
  123. package/assets/esri/themes/light/view.css +1 -1
  124. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ar.json +1 -1
  125. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_bg.json +1 -1
  126. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_bs.json +1 -1
  127. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ca.json +1 -1
  128. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_cs.json +1 -1
  129. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_da.json +1 -1
  130. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_de.json +1 -1
  131. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_el.json +1 -1
  132. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_es.json +1 -1
  133. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_et.json +1 -1
  134. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_fi.json +1 -1
  135. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_fr.json +1 -1
  136. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_he.json +1 -1
  137. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_hr.json +1 -1
  138. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_hu.json +1 -1
  139. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_id.json +1 -1
  140. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_it.json +1 -1
  141. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ja.json +1 -1
  142. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ko.json +1 -1
  143. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_lt.json +1 -1
  144. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_lv.json +1 -1
  145. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_nl.json +1 -1
  146. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_no.json +1 -1
  147. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pl.json +1 -1
  148. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pt-BR.json +1 -1
  149. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pt-PT.json +1 -1
  150. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ro.json +1 -1
  151. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ru.json +1 -1
  152. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sk.json +1 -1
  153. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sl.json +1 -1
  154. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sr.json +1 -1
  155. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sv.json +1 -1
  156. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_th.json +1 -1
  157. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_tr.json +1 -1
  158. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_uk.json +1 -1
  159. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_vi.json +1 -1
  160. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-CN.json +1 -1
  161. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-HK.json +1 -1
  162. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-TW.json +1 -1
  163. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ar.json +1 -1
  164. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_bg.json +1 -1
  165. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_bs.json +1 -1
  166. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ca.json +1 -1
  167. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_cs.json +1 -1
  168. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_da.json +1 -1
  169. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_de.json +1 -1
  170. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_el.json +1 -1
  171. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_es.json +1 -1
  172. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_et.json +1 -1
  173. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_fi.json +1 -1
  174. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_fr.json +1 -1
  175. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_he.json +1 -1
  176. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_hr.json +1 -1
  177. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_hu.json +1 -1
  178. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_id.json +1 -1
  179. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_it.json +1 -1
  180. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ja.json +1 -1
  181. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ko.json +1 -1
  182. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_lt.json +1 -1
  183. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_lv.json +1 -1
  184. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_nl.json +1 -1
  185. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_no.json +1 -1
  186. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_pl.json +1 -1
  187. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_pt-BR.json +1 -1
  188. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_pt-PT.json +1 -1
  189. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ro.json +1 -1
  190. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ru.json +1 -1
  191. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sk.json +1 -1
  192. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sl.json +1 -1
  193. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sr.json +1 -1
  194. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sv.json +1 -1
  195. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_th.json +1 -1
  196. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_tr.json +1 -1
  197. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_uk.json +1 -1
  198. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_vi.json +1 -1
  199. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_zh-CN.json +1 -1
  200. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_zh-HK.json +1 -1
  201. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_zh-TW.json +1 -1
  202. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm.json +1 -1
  203. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ar.json +1 -1
  204. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bg.json +1 -1
  205. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bs.json +1 -1
  206. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ca.json +1 -1
  207. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_cs.json +1 -1
  208. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_da.json +1 -1
  209. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_de.json +1 -1
  210. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_el.json +1 -1
  211. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_en.json +1 -1
  212. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_es.json +1 -1
  213. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_et.json +1 -1
  214. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fi.json +1 -1
  215. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fr.json +1 -1
  216. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_he.json +1 -1
  217. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hr.json +1 -1
  218. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hu.json +1 -1
  219. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_id.json +1 -1
  220. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_it.json +1 -1
  221. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ja.json +1 -1
  222. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ko.json +1 -1
  223. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lt.json +1 -1
  224. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lv.json +1 -1
  225. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_nl.json +1 -1
  226. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_no.json +1 -1
  227. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pl.json +1 -1
  228. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-BR.json +1 -1
  229. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-PT.json +1 -1
  230. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ro.json +1 -1
  231. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ru.json +1 -1
  232. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sk.json +1 -1
  233. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sl.json +1 -1
  234. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sr.json +1 -1
  235. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sv.json +1 -1
  236. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_th.json +1 -1
  237. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_tr.json +1 -1
  238. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_uk.json +1 -1
  239. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_vi.json +1 -1
  240. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-CN.json +1 -1
  241. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-HK.json +1 -1
  242. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-TW.json +1 -1
  243. package/chunks/GlobalIllumination.glsl.js +40 -30
  244. package/chunks/GlobalIlluminationBlur.glsl.js +1 -1
  245. package/chunks/ShadowCastVisualize.glsl.js +20 -23
  246. package/config.js +1 -1
  247. package/core/screenUtils.js +1 -1
  248. package/editing/templates/TemplateListItem.d.ts +61 -0
  249. package/editing/templates/TemplateListItem.js +2 -0
  250. package/geometry/support/heightModelInfoUtils.js +1 -1
  251. package/interfaces.d.ts +21 -0
  252. package/kernel.js +1 -1
  253. package/layers/AnnotationLayer.d.ts +42 -0
  254. package/layers/AnnotationLayer.js +2 -0
  255. package/layers/DimensionFeatureLayer.d.ts +36 -1
  256. package/layers/DimensionFeatureLayer.js +1 -1
  257. package/layers/FeatureLayer.d.ts +43 -14
  258. package/layers/FeatureLayer.js +1 -1
  259. package/layers/ImageryTileLayer.js +1 -1
  260. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  261. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  262. package/layers/graphics/sources/support/MemorySourceWorker.js +1 -1
  263. package/layers/mixins/PortalLayer.js +1 -1
  264. package/layers/mixins/TiledImagery.js +1 -1
  265. package/layers/raster/datasets/ImageAuxRaster.js +1 -1
  266. package/layers/raster/datasets/RasterFactory.js +1 -1
  267. package/layers/support/SymbolLayerDrawing.d.ts +10 -0
  268. package/layers/support/rasterJobHelper.js +2 -0
  269. package/layers/types.d.ts +3 -4
  270. package/networks/support/networkFieldUtils.js +1 -1
  271. package/package.json +1 -1
  272. package/rest/support/AttributeBinsQuery.d.ts +5 -5
  273. package/rest/support/OutDistance.d.ts +50 -0
  274. package/rest/support/OutDistance.js +1 -1
  275. package/rest/support/Query.d.ts +46 -5
  276. package/rest/support/Query.js +1 -1
  277. package/rest/support/TopFeaturesQuery.d.ts +5 -5
  278. package/support/basemapEnsureType.js +1 -1
  279. package/support/revision.js +1 -1
  280. package/symbols/cim/CIMOperators.js +1 -1
  281. package/symbols/cim/CIMSymbolHelper.js +1 -1
  282. package/symbols/cim/utils.js +1 -1
  283. package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
  284. package/views/2d/engine/webgl/mesh/factories/FeatureMeshFactory.js +1 -1
  285. package/views/2d/engine/webgl/mesh/factories/ResourceProxy.js +1 -1
  286. package/views/2d/engine/webgl/mesh/templates/shapingUtils.js +1 -1
  287. package/views/2d/engine/webgl/shaderGraph/techniques/createTestMeshData.js +1 -1
  288. package/views/2d/engine/webgl/shaderGraph/techniques/featureTechniqueUtils.js +1 -1
  289. package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerShader.js +1 -1
  290. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriter.js +1 -1
  291. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/LineShader.js +1 -1
  292. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ViewInfo.js +1 -1
  293. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderCircle.js +1 -1
  294. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextMeshWriter.js +1 -1
  295. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
  296. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  297. package/views/2d/engine/webgl/util/AnnotationMatcher.js +2 -0
  298. package/views/2d/engine/webgl/util/DimensionMatcher.js +2 -0
  299. package/views/2d/engine/webgl/util/Matcher.js +1 -1
  300. package/views/2d/engine/webgl/util/createMatcher.js +1 -1
  301. package/views/2d/layerViewModuleImportUtils.js +1 -1
  302. package/views/2d/layers/AnnotationLayerView2D.js +2 -0
  303. package/views/2d/layers/{DimensionLayerView2D.js → DimensionFeatureLayerView2D.js} +1 -1
  304. package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
  305. package/views/2d/layers/MapImageLayerView2D.js +1 -1
  306. package/views/2d/layers/RouteLayerView2D.js +1 -1
  307. package/views/2d/layers/TileLayerView2D.js +1 -1
  308. package/views/2d/layers/VectorTileLayerView2D.js +1 -1
  309. package/views/2d/layers/features/FeatureContainer.js +1 -1
  310. package/views/2d/layers/features/Processor.js +1 -1
  311. package/views/2d/layers/features/layerAdapters/AnnotationLayerAdapter.js +2 -0
  312. package/views/2d/layers/features/layerAdapters/CatalogFootprintLayerAdapter.js +1 -1
  313. package/views/2d/layers/features/layerAdapters/DimensionLayerAdapter.js +1 -1
  314. package/views/2d/layers/features/layerAdapters/FeatureLayerAdapter.js +1 -1
  315. package/views/2d/layers/features/layerAdapters/InMemoryLayerAdapter.js +1 -1
  316. package/views/2d/layers/features/layerAdapters/KnowledgeGraphSublayerAdapter.js +1 -1
  317. package/views/2d/layers/features/layerAdapters/OGCFeatureLayerAdapter.js +1 -1
  318. package/views/2d/layers/features/layerAdapters/OrientedImageryLayerAdapter.js +1 -1
  319. package/views/2d/layers/features/layerAdapters/ParquetLayerAdapter.js +1 -1
  320. package/views/2d/layers/features/layerAdapters/StreamLayerAdapter.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/sources/strategies/support/queryAdapters.js +1 -1
  324. package/views/2d/layers/features/support/FeatureMetadata.js +1 -1
  325. package/views/2d/layers/features/support/FeatureSetReaderAnnotationJSON.js +2 -0
  326. package/views/2d/layers/features/support/FeatureSetReaderDimensionJSON.js +2 -0
  327. package/views/2d/layers/graphics/GraphicsView2D.js +1 -1
  328. package/views/2d/layers/support/annodime/DimensionInfo.js +2 -0
  329. package/views/2d/layers/support/annodime/DimensionMatcherSchema.js +2 -0
  330. package/views/2d/layers/support/annodime/PrivateDimensionEffect.js +2 -0
  331. package/views/2d/layers/support/annodime/PrivatePlacementMultipoint.js +2 -0
  332. package/views/2d/layers/support/annodime/annotationGraphic.js +2 -0
  333. package/views/2d/layers/support/annodime/annotationSchema.js +2 -0
  334. package/views/2d/layers/support/annodime/annotationUtils.js +2 -0
  335. package/views/2d/layers/support/annodime/cimAnnotations.js +2 -0
  336. package/views/2d/layers/support/annodime/dimensionSchema.js +2 -0
  337. package/views/2d/layers/support/annodime/dimensionSymbols.js +2 -0
  338. package/views/2d/layers/support/annodime/dimensionUtils.js +2 -0
  339. package/views/2d/layers/support/annodime/fields.js +2 -0
  340. package/views/2d/layers/support/annodime/unsupported.js +2 -0
  341. package/views/2d/layers/support/annodime/utils.js +2 -0
  342. package/views/2d/layers/support/annodime/virtualFields.js +2 -0
  343. package/views/2d/support/clippingUtils.js +1 -1
  344. package/views/2d/support/hitTestUtils.js +1 -1
  345. package/views/2d/types.d.ts +5 -1
  346. package/views/3d/analysis/ShadowCast/ShadowCastTooltip.js +1 -1
  347. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  348. package/views/3d/interactive/editingTools/transform/ExtentTransformTool.js +1 -1
  349. package/views/3d/layerViewModuleImportUtils.js +1 -1
  350. package/views/3d/layers/MapImageLayerView3D.js +1 -1
  351. package/views/3d/layers/TileLayerView3D.js +1 -1
  352. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  353. package/views/3d/layers/graphics/defaultSymbolComplexity.js +1 -1
  354. package/views/3d/support/pointsOfInterest/PointsOfInterest.js +1 -1
  355. package/views/3d/terrain/isTerrainSurfaceLayer.js +1 -1
  356. package/views/3d/types.d.ts +2 -0
  357. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
  358. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  359. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  360. package/views/3d/webgl-engine/shaders/ditherNoise.glsl.js +1 -1
  361. package/views/3d/webgl-engine/shaders/oitResolution.glsl.js +1 -1
  362. package/views/PopupView.d.ts +3 -3
  363. package/views/PopupView.js +1 -1
  364. package/views/SceneView.js +1 -1
  365. package/views/View2D.js +1 -1
  366. package/views/draw/DrawTool.d.ts +34 -1
  367. package/views/layers/AnnotationLayerView.d.ts +18 -0
  368. package/views/layers/AnnotationLayerView.js +2 -0
  369. package/views/layers/DimensionFeatureLayerView.d.ts +18 -0
  370. package/views/layers/DimensionFeatureLayerView.js +2 -0
  371. package/views/layers/FeatureLikeLayerView.d.ts +2 -1
  372. package/views/layers/FeatureLikeLayerView.js +1 -1
  373. package/views/layers/ImageryLayerView.d.ts +1 -1
  374. package/views/layers/ImageryLayerView.js +1 -1
  375. package/views/layers/ImageryTileLayerView.js +1 -1
  376. package/views/layers/WMSLayerView.js +1 -1
  377. package/views/layers/support/MapServiceLayerViewHelper.js +1 -1
  378. package/widgets/BasemapToggle/BasemapToggleViewModel.js +1 -1
  379. package/widgets/BatchAttributeForm/attachmentUtils.js +1 -1
  380. package/widgets/BatchAttributeForm/css.js +1 -1
  381. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
  382. package/widgets/BatchAttributeForm/inputs/UtilityNetworkAssociationsElementInput.js +1 -1
  383. package/widgets/BatchAttributeForm/rendered-content/RelationshipDetails.js +2 -0
  384. package/widgets/BatchAttributeForm.d.ts +26 -1
  385. package/widgets/BatchAttributeForm.js +1 -1
  386. package/widgets/FeatureForm.js +1 -1
  387. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  388. package/widgets/OrientedImageryViewer/css.js +1 -1
  389. package/widgets/OrientedImageryViewer.js +1 -1
  390. package/widgets/Print/PrintViewModel.js +1 -1
  391. package/widgets/Sketch/support/PluginManager.js +1 -1
  392. package/widgets/Sketch.js +1 -1
  393. package/widgets/support/iconUtils.js +1 -1
  394. package/assets/esri/core/workers/chunks/0175098da590a7109539.js +0 -1
  395. package/assets/esri/core/workers/chunks/019a4fe7e085b2fc6ae9.js +0 -1
  396. package/assets/esri/core/workers/chunks/023837e5d9d2b6af66d8.js +0 -1
  397. package/assets/esri/core/workers/chunks/03c46880b69ce75a010f.js +0 -1
  398. package/assets/esri/core/workers/chunks/040884cec4b84dd1bb17.js +0 -1
  399. package/assets/esri/core/workers/chunks/04ea806b933d4dd41609.js +0 -1
  400. package/assets/esri/core/workers/chunks/074f5e6aaeafca13bf72.js +0 -1
  401. package/assets/esri/core/workers/chunks/0e549d942d6cba1608cf.js +0 -1
  402. package/assets/esri/core/workers/chunks/13a8346abe5509167578.js +0 -1
  403. package/assets/esri/core/workers/chunks/13d43a0683c42b94feb6.js +0 -1
  404. package/assets/esri/core/workers/chunks/1ebb613bbe09fcf274d8.js +0 -1
  405. package/assets/esri/core/workers/chunks/27d7c701306efeea6b82.js +0 -1
  406. package/assets/esri/core/workers/chunks/2b9661700743d1f9717e.js +0 -1
  407. package/assets/esri/core/workers/chunks/2bdfae998371e3aa9f2d.js +0 -1
  408. package/assets/esri/core/workers/chunks/2f0a3b22fc46d832e240.js +0 -1
  409. package/assets/esri/core/workers/chunks/2ffffc1931b2e27c6617.js +0 -1
  410. package/assets/esri/core/workers/chunks/32f128a1615d71bbe899.js +0 -2
  411. package/assets/esri/core/workers/chunks/375bdaf44e1ed6141601.js +0 -1
  412. package/assets/esri/core/workers/chunks/3835097520296b0517af.js +0 -1
  413. package/assets/esri/core/workers/chunks/41074d383af3662673ca.js +0 -1
  414. package/assets/esri/core/workers/chunks/4605a68e40c5c3ac6e3e.js +0 -1
  415. package/assets/esri/core/workers/chunks/4b01858e05a4b90331a4.js +0 -30
  416. package/assets/esri/core/workers/chunks/4b130db9b7b4e2e32ea4.js +0 -1
  417. package/assets/esri/core/workers/chunks/4bfeac7338df9e0b7ce1.js +0 -1
  418. package/assets/esri/core/workers/chunks/4c5cdd2712c938fafc5d.js +0 -1
  419. package/assets/esri/core/workers/chunks/4fa3840672c33adb9171.js +0 -1
  420. package/assets/esri/core/workers/chunks/4ffcca40e7aa24c8cc35.js +0 -1
  421. package/assets/esri/core/workers/chunks/534dd93c72ea448ee908.js +0 -1
  422. package/assets/esri/core/workers/chunks/548c34ea88f113d03c93.js +0 -30
  423. package/assets/esri/core/workers/chunks/5ea0096a282e87a269bd.js +0 -1
  424. package/assets/esri/core/workers/chunks/66fe1634c6e8f72fc653.js +0 -1
  425. package/assets/esri/core/workers/chunks/6920e7f700a9ba280dba.js +0 -1
  426. package/assets/esri/core/workers/chunks/6b1f2b36bdc6b2ff2ea5.js +0 -1
  427. package/assets/esri/core/workers/chunks/6b66a6f69aa03338c346.js +0 -1
  428. package/assets/esri/core/workers/chunks/6d59a9cf533ebc590f70.js +0 -1
  429. package/assets/esri/core/workers/chunks/708bd77e6d723e3f0aa8.js +0 -1
  430. package/assets/esri/core/workers/chunks/75a7de23c05435ec7649.js +0 -1
  431. package/assets/esri/core/workers/chunks/75dfdd85abbac26ac899.js +0 -1
  432. package/assets/esri/core/workers/chunks/798c4d3201fcc9f2a42b.js +0 -1
  433. package/assets/esri/core/workers/chunks/817fd88fe9a48caf69fb.js +0 -1
  434. package/assets/esri/core/workers/chunks/82f7d83a2073d1b0111c.js +0 -1
  435. package/assets/esri/core/workers/chunks/860465c4f44c373d0a1c.js +0 -1
  436. package/assets/esri/core/workers/chunks/89250d268dc2554a9ece.js +0 -1
  437. package/assets/esri/core/workers/chunks/89916fe83f48b2df4b0d.js +0 -1
  438. package/assets/esri/core/workers/chunks/8a68884d40f6f6de1d12.js +0 -1
  439. package/assets/esri/core/workers/chunks/8c8fed53c12fb80ef2ed.js +0 -1
  440. package/assets/esri/core/workers/chunks/8ff83c59462dea6e3427.js +0 -1
  441. package/assets/esri/core/workers/chunks/961995d8da45a9203255.js +0 -1
  442. package/assets/esri/core/workers/chunks/978b7d10054e17161145.js +0 -1
  443. package/assets/esri/core/workers/chunks/a9c9c00432ee41ec91ba.js +0 -1
  444. package/assets/esri/core/workers/chunks/af762422a65c551dcd54.js +0 -1
  445. package/assets/esri/core/workers/chunks/b041c22885193bdd3004.js +0 -1
  446. package/assets/esri/core/workers/chunks/b684ff4bc93bd60d6a19.js +0 -1
  447. package/assets/esri/core/workers/chunks/bb2f6b0fcdfb8b158e26.js +0 -1
  448. package/assets/esri/core/workers/chunks/cd2b2babcdc130b4c368.js +0 -1
  449. package/assets/esri/core/workers/chunks/cedf3e316d6f89cf7005.js +0 -1
  450. package/assets/esri/core/workers/chunks/d39f5590022d910ee951.js +0 -1
  451. package/assets/esri/core/workers/chunks/d412a43060441d347fb4.js +0 -1
  452. package/assets/esri/core/workers/chunks/d41b847d08c42e5329d6.js +0 -262
  453. package/assets/esri/core/workers/chunks/d52172439db02a349542.js +0 -1
  454. package/assets/esri/core/workers/chunks/d8c2bed12f937228c763.js +0 -1
  455. package/assets/esri/core/workers/chunks/de916dd0c11aefb6832e.js +0 -1
  456. package/assets/esri/core/workers/chunks/ea2bf7c543cc536400b7.js +0 -30
  457. package/assets/esri/core/workers/chunks/ecf4d07917efc97eb991.js +0 -1
  458. package/assets/esri/core/workers/chunks/eda51e512eff551ad858.js +0 -1
  459. package/assets/esri/core/workers/chunks/f14e3693cd644265f909.js +0 -1
  460. package/assets/esri/core/workers/chunks/f52c6efc5a2abf5ac845.js +0 -1
  461. package/assets/esri/core/workers/chunks/f635a8e3b0bfeda99ed5.js +0 -1
  462. package/assets/esri/core/workers/chunks/f9f331c76c96743d8522.js +0 -1
  463. package/assets/esri/core/workers/chunks/fcbacca99c5a3ee5b69a.js +0 -1
  464. package/symbols/dimensions/effects/LinearDimensionArrowEffect.js +0 -2
  465. package/symbols/dimensions/effects/LinearDimensionExtensionLineEffect.js +0 -2
  466. package/symbols/dimensions/effects/LinearDimensionLeaderLineEffect.js +0 -2
  467. package/symbols/dimensions/effects/LinearDimensionLineEffect.js +0 -2
  468. package/symbols/dimensions/effects/LinearDimensionPointEffect.js +0 -2
  469. package/symbols/dimensions/effects/LinearDimensionTextEffect.js +0 -2
  470. package/views/2d/layers/features/support/FeatureSetReaderDimension.js +0 -2
  471. package/views/3d/webgl-engine/effects/globalIllumination/BlueNoise.js +0 -2
  472. package/views/layers/support/dimensionUtils.js +0 -2
  473. /package/assets/esri/core/workers/chunks/{701125f6cdd91ff3655f.js.LICENSE.txt → 1252da05832e576d4def.js.LICENSE.txt} +0 -0
  474. /package/assets/esri/core/workers/chunks/{fbcf09526dc1bbe94b91.js.LICENSE.txt → 2e8db0f05df2e38a14e1.js.LICENSE.txt} +0 -0
  475. /package/assets/esri/core/workers/chunks/{32f128a1615d71bbe899.js.LICENSE.txt → 6af88bb722bbb37db198.js.LICENSE.txt} +0 -0
  476. /package/assets/esri/core/workers/chunks/{40df608337d562553ce1.js.LICENSE.txt → 70d8f5bdb452cee41536.js.LICENSE.txt} +0 -0
  477. /package/assets/esri/core/workers/chunks/{a70fa35b2d19460637e9.js.LICENSE.txt → a0fce639319d59becd01.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6111],{68197(e,t,n){n.d(t,{A:()=>u});var r=n(40876),i=n(4576),o=n(34727),s=n(56507);function a(e){return(0,o.qE)((0,s.Vr)(e),0,255)}function l(e,t){const n=e.toString(16).padStart(2,"0");return t?n.slice(0,1):n}class u{static blendColors(e,t,n,r=new u){return r.r=Math.round(e.r+(t.r-e.r)*n),r.g=Math.round(e.g+(t.g-e.g)*n),r.b=Math.round(e.b+(t.b-e.b)*n),r.a=e.a+(t.a-e.a)*n,r._sanitize()}static fromRgb(e,t){const n=(0,r.lT)(e);return n?u.fromArray(n,t):null}static fromHex(e,t=new u){const n=(0,r.oW)(e);return n?u.fromArray(n,t):null}static fromArray(e,t=new u){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const n=(0,r.Eq)(e);return n?u.fromArray(n,t):null}static fromJSON(e){return null!=e?new u([e[0],e[1],e[2],(e[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null!=this.a?this.a:1,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){if("string"==typeof e)u.fromString(e,this);else if((0,i.yc)(e))u.fromArray(e,this);else{const t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,n=e?.digits??6,r=3===n||4===n,i=4===n||8===n,o=`#${l(this.r,r)}${l(this.g,r)}${l(this.b,r)}${i?l(Math.round(255*this.a),r):""}`;return t?o.toUpperCase():o}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=a(this.r),n=a(this.g),r=a(this.b);return 0===e||1!==this.a?[t,n,r,a(255*this.a)]:[t,n,r]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,r.c1)(this.r),this.g=(0,r.c1)(this.g),this.b=(0,r.c1)(this.b),this.a=(0,r.G1)(this.a),this}_set(e,t,n,r){this.r=e,this.g=t,this.b=n,this.a=r}}u.prototype.declaredClass="esri.Color"},52106(e,t,n){n.d(t,{A:()=>C});var r,i,o=n(5482),s=n(37838),a=n(69540),l=n(51447),u=n(25482),c=n(53966),p=n(36708),d=n(24326),h=n(91429),f=n(12195),g=n(65864),m=n(50498),y=n(55156),v=n(60950),b=n(54339),w=n(94128),M=n(33910);function I(e){if(null==e)return null;const t={};for(const n in e){const r=e[n];r&&(t[n]=r.toJSON())}return 0!==Object.keys(t).length?t:null}let C=class extends((0,a.OU)(u.o)){static{r=w.Z}static{i=this}constructor(e){super(e),this[r]=!0,this.distance=null,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this.statisticsAggregatedIds=void 0,this._version=0,Object.defineProperty(this,"uid",{value:(0,d.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,l.eF)(c.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new i({aggregateGeometries:this.aggregateGeometries,statisticsAggregatedIds:this.statisticsAggregatedIds,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,v.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const n=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[n,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const n=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",n,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,y.I)(this.origin);if(e)return(0,b.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,b.r)(this,t):null}getGlobalId(){const e=(0,y.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){const e={aggregateGeometries:I(this.aggregateGeometries),geometry:this.geometry?.toJSON()??null,symbol:this.symbol?.toJSON()??null,attributes:(0,f.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null};return this.statisticsAggregatedIds?.length&&(e.aggregateIds=[...this.statisticsAggregatedIds]),null!=this.distance&&(e.distance=this.distance),e}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const n={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",n,n,e.action)}}_notifyLayer(e,t,n,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:n};"origin-transform"===e&&(i.action=r),"attributes"===e&&(i.attributeName=r),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,p.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,p.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,o.Cg)([(0,h.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const n in e){const r=(0,g.rS)(e[n]);r&&(t[n]=r)}return 0!==Object.keys(t).length?t:null}}})],C.prototype,"aggregateGeometries",null),(0,o.Cg)([(0,h.MZ)({value:null})],C.prototype,"attributes",null),(0,o.Cg)([(0,h.MZ)({value:null,types:m.yR,json:{read:g.rS}})],C.prototype,"geometry",null),(0,o.Cg)([(0,h.MZ)()],C.prototype,"distance",void 0),(0,o.Cg)([(0,h.MZ)({type:Boolean})],C.prototype,"isAggregate",void 0),(0,o.Cg)([(0,h.MZ)({clonable:!1})],C.prototype,"layer",void 0),(0,o.Cg)([(0,h.MZ)({clonable:"reference"})],C.prototype,"origin",void 0),(0,o.Cg)([(0,h.MZ)({type:s.A,value:null})],C.prototype,"popupTemplate",null),(0,o.Cg)([(0,h.MZ)({clonable:"reference"})],C.prototype,"sourceLayer",void 0),(0,o.Cg)([(0,h.MZ)({json:{name:"aggregateIds",read:e=>e?.map(e=>Array.isArray(e)?JSON.stringify(e):e)}})],C.prototype,"statisticsAggregatedIds",void 0),(0,o.Cg)([(0,h.MZ)({value:null,types:M.Es})],C.prototype,"symbol",null),(0,o.Cg)([(0,h.MZ)({clonable:!1,json:{read:!1,write:!1}})],C.prototype,"_version",void 0),(0,o.Cg)([(0,h.MZ)({type:Boolean,value:!0})],C.prototype,"visible",null),C=i=(0,o.Cg)([(0,h.$K)("esri.Graphic")],C)},40876(e,t,n){n.d(t,{Eq:()=>h,G1:()=>g,TS:()=>o,Tf:()=>v,V6:()=>i,Vm:()=>f,ay:()=>l,c1:()=>m,c4:()=>s,j5:()=>u,lT:()=>p,oW:()=>c,xV:()=>w});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function i(e){return!!r[e]||!!r[e.toLowerCase()]}function o(e){return r[e]??r[e.toLowerCase()]}function s(e){return[...o(e)]}function a(e,t,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?e+(t-e)*r:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function l(e,t,n,r=1){const i=(e%360+360)%360/360,o=n<=.5?n*(t+1):n+t-n*t,s=2*n-o;return[Math.round(255*a(s,o,i+1/3)),Math.round(255*a(s,o,i)),Math.round(255*a(s,o,i-1/3)),r]}function u(e){const t=e.length>5,n=t?8:4,r=(1<<n)-1,i=t?1:17,o=t?9===e.length:5===e.length;let s=Number("0x"+e.slice(1));if(isNaN(s))return null;const a=[0,0,0,1];let l;return o&&(l=s&r,s>>=n,a[3]=i*l/255),l=s&r,s>>=n,a[2]=i*l,l=s&r,s>>=n,a[1]=i*l,l=s&r,s>>=n,a[0]=i*l,a}function c(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),n=parseInt(e.slice(2,3),16),r=parseInt(e.slice(3,4),16),i=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,n+16*n,r+16*r,(i+16*i)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function p(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),n=t[1];if("rgb"===n&&3===e.length||"rgba"===n&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),d(t)}return d(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function d(e){return e[0]=m(e[0]),e[1]=m(e[1]),e[2]=m(e[2]),e[3]=4===e.length?g(e[3]):1,e}function h(e){let t=i(e)?o(e):null;return t??=p(e),t??=c(e),t}function f(e){const t=h(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function g(e){return y(e,0,1)}function m(e){return Math.round(y(e,0,255))}function y(e,t,n){return e=Number(e),isNaN(e)?n:e<t?t:e>n?n:e}const v=2.2,b=1/v;function w(e){return e**b}},9093(e,t,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>i,vt:()=>r,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:i,create:r,fromValues:function(e,t,n,r,i,o,s,a,l,u,c,p,d,h,f,g){return[e,t,n,r,i,o,s,a,l,u,c,p,d,h,f,g]}},Symbol.toStringTag,{value:"Module"}))},35522(e,t,n){n.d(t,{$A:()=>x,Bw:()=>o,C:()=>s,Cc:()=>S,DI:()=>I,Il:()=>D,Io:()=>v,Ln:()=>y,Om:()=>A,Qr:()=>p,Re:()=>u,S8:()=>C,T9:()=>g,WQ:()=>l,Z0:()=>T,_S:()=>h,aI:()=>_,ei:()=>j,fw:()=>F,g7:()=>P,gL:()=>O,hG:()=>b,hZ:()=>a,hs:()=>m,jb:()=>N,jk:()=>f,lo:()=>z,lw:()=>c,m3:()=>w,oW:()=>k,t2:()=>E,tn:()=>d,uE:()=>q,xg:()=>G,ze:()=>M});var r=n(51850),i=n(34304);function o(e){const t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function s(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function l(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function u(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function c(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function p(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function d(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function h(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function f(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function g(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function m(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function y(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e}function v(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return Math.sqrt(n*n+r*r+i*i)}function b(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return n*n+r*r+i*i}function w(e){const t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function M(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function I(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function C(e,t){const n=t[0],r=t[1],i=t[2];let o=n*n+r*r+i*i;return o>0&&(o=1/Math.sqrt(o),e[0]=t[0]*o,e[1]=t[1]*o,e[2]=t[2]*o),e}function A(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function x(e,t,n){const r=t[0],i=t[1],o=t[2],s=n[0],a=n[1],l=n[2];return e[0]=i*l-o*a,e[1]=o*s-r*l,e[2]=r*a-i*s,e}function S(e,t,n,r){const i=t[0],o=t[1],s=t[2];return e[0]=i+r*(n[0]-i),e[1]=o+r*(n[1]-o),e[2]=s+r*(n[2]-s),e}function T(e,t,n){const r=t[0],i=t[1],o=t[2];return e[0]=n[0]*r+n[4]*i+n[8]*o+n[12],e[1]=n[1]*r+n[5]*i+n[9]*o+n[13],e[2]=n[2]*r+n[6]*i+n[10]*o+n[14],e}function j(e,t,n){const r=t[0],i=t[1],o=t[2];return e[0]=r*n[0]+i*n[3]+o*n[6],e[1]=r*n[1]+i*n[4]+o*n[7],e[2]=r*n[2]+i*n[5]+o*n[8],e}function O(e,t,n){return F(e,t,n[0],n[1],n[2],n[3])}function F(e,t,n,r,i,o){const s=t[0],a=t[1],l=t[2],u=r*l-i*a,c=i*s-n*l,p=n*a-r*s,d=r*p-i*c,h=i*u-n*p,f=n*c-r*u,g=2*o;return e[0]=s+u*g+2*d,e[1]=a+c*g+2*h,e[2]=l+p*g+2*f,e}function P(e,t){C(R,e),C(Z,t);const n=A(R,Z);return n>1?0:n<-1?Math.PI:Math.acos(n)}const R=(0,r.vt)(),Z=(0,r.vt)();function E(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function _(e,t){if(e===t)return!0;const n=e[0],r=e[1],o=e[2],s=t[0],a=t[1],l=t[2],u=(0,i.FD)();return Math.abs(n-s)<=u*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(r-a)<=u*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(o-l)<=u*Math.max(1,Math.abs(o),Math.abs(l))}function k(e,t,n){const r=n[0]-t[0],i=n[1]-t[1],o=n[2]-t[2];let s=r*r+i*i+o*o;return s>0?(s=1/Math.sqrt(s),e[0]=r*s,e[1]=i*s,e[2]=o*s,e):(e[0]=0,e[1]=0,e[2]=0,e)}const N=u,L=c,U=p,G=v,z=b,D=o,q=w;Object.freeze(Object.defineProperty({__proto__:null,abs:d,add:l,angle:P,bezier:function(e,t,n,r,i,o){const s=1-o,a=s*s,l=o*o,u=a*s,c=3*o*a,p=3*l*s,d=l*o;return e[0]=t[0]*u+n[0]*c+r[0]*p+i[0]*d,e[1]=t[1]*u+n[1]*c+r[1]*p+i[1]*d,e[2]=t[2]*u+n[2]*c+r[2]*p+i[2]*d,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,n=1){return e[0]=Math.min(Math.max(e[0],t),n),e[1]=Math.min(Math.max(e[1],t),n),e[2]=Math.min(Math.max(e[2],t),n),e},copy:s,cross:x,crossAndNormalize:function(e,t,n){const r=t[0],i=t[1],o=t[2],s=n[0],a=n[1],l=n[2],u=i*l-o*a,c=o*s-r*l,p=r*a-i*s,d=Math.sqrt(u*u+c*c+p*p);return e[0]=u/d,e[1]=c/d,e[2]=p/d,e},direction:k,dist:G,distance:v,div:U,divide:p,dot:A,equals:_,exactEquals:E,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,n,r,i,o){const s=o*o,a=s*(2*o-3)+1,l=s*(o-2)+o,u=s*(o-1),c=s*(3-2*o);return e[0]=t[0]*a+n[0]*l+r[0]*u+i[0]*c,e[1]=t[1]*a+n[1]*l+r[1]*u+i[1]*c,e[2]=t[2]*a+n[2]*l+r[2]*u+i[2]*c,e},inverse:I,len:D,length:o,lerp:S,max:g,min:f,mul:L,multiply:c,negate:M,normalize:C,random:function(e,t=1){const n=i.Ov,r=2*n()*Math.PI,o=2*n()-1,s=Math.sqrt(1-o*o)*t;return e[0]=Math.cos(r)*s,e[1]=Math.sin(r)*s,e[2]=o*t,e},rotateX:function(e,t,n,r){const i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[0],o[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),o[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e},rotateY:function(e,t,n,r){const i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),o[1]=i[1],o[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e},rotateZ:function(e,t,n,r){const i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),o[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),o[2]=i[2],e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:m,scaleAndAdd:y,set:a,sign:h,sqrDist:z,sqrLen:q,squaredDistance:b,squaredLength:w,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:N,subtract:u,transformMat3:j,transformMat4:T,transformQuat:O,transformQuatValues:F},Symbol.toStringTag,{value:"Module"}))},13069(e,t,n){n.d(t,{AG:()=>a,lk:()=>i,vD:()=>s,yS:()=>o});const r="randomUUID"in crypto;function i(){if(r)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function o(){return`{${i().toUpperCase()}}`}function s(){return`{${i()}}`}function a(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},159(e,t,n){n.d(t,{A:()=>u});var r,i=n(5482),o=n(69540),s=n(25482),a=n(91429),l=n(99157);let u=r=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,i.Cg)([(0,a.MZ)({type:[l.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=r=(0,i.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,n){n.d(t,{A:()=>l});var r,i=n(5482),o=n(69540),s=n(25482),a=n(91429);let l=r=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,a.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,n)=>{t[n]=!e}}})],l.prototype,"isInverse",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],l.prototype,"wkt",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],l.prototype,"wkid",void 0),l=r=(0,i.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>i});var r=n(49208);function i(e,t,n,i,o,s,a=Math.floor(e.length/3)){const l=(0,r.jd)(t,o);if(null==l)return!1;if(l===r.pO){if(e===i&&n===s)return!0;const t=n+3*a;for(let r=n,o=s;r<t;r++,o++)i[o]=e[r]??0;return!0}const u=n+3*a;for(let t=n,r=s;t<u;t+=3,r+=3)l(e,t,i,r);return!0}},49208(e,t,n){n.d(t,{Tp:()=>p,jd:()=>c,pO:()=>h,w5:()=>u});var r=n(34727),i=n(86211),o=n(73941),s=n(79258),a=n(34403),l=n(21325);const u={2:{5:h,7:null,9:null,10:h,1:M,6:null,8:null,0:null,3:g,11:m,2:h,4:S},5:{5:h,7:null,9:null,10:h,1:M,6:null,8:null,0:null,3:g,11:m,2:h,4:S},7:{5:null,7:h,9:null,10:h,1:null,6:w,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:h,10:h,1:null,6:null,8:b,0:null,3:null,11:null,2:null,4:null},3:{5:f,7:null,9:null,10:f,1:function(e,t,n,r){const i=e[t]/R,o=P-2*Math.atan(Math.exp(-e[t+1]/R)),s=R+(e[t+2]??0),a=Math.cos(o)*s;n[r]=Math.cos(i)*a,n[r+1]=Math.sin(i)*a,n[r+2]=Math.sin(o)*s},6:null,8:null,0:null,3:h,11:function(e,t,n,r){f(e,t,n,r),m(n,r,n,r)},2:f,4:function(e,t,n,r){f(e,t,n,r),S(n,r,n,r)}},4:{5:T,7:null,9:null,10:T,1:function(e,t,n,r){T(e,t,n,r),M(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){T(e,t,n,r),g(n,r,n,r)},11:function(e,t,n,r){T(e,t,n,r),m(n,r,n,r)},2:T,4:h},1:{5:x,7:null,9:null,10:x,1:h,6:null,8:null,0:null,3:function(e,t,n,r){x(e,t,n,r),g(n,r,n,r)},11:function(e,t,n,r){x(e,t,n,r),m(n,r,n,r)},2:x,4:function(e,t,n,r){x(e,t,n,r),S(n,r,n,r)}},6:{5:null,7:A,9:null,10:A,1:null,6:h,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:C,10:C,1:null,6:null,8:h,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:h,3:null,11:null,2:null,4:null},10:{5:h,7:h,9:h,10:h,1:M,6:w,8:b,0:null,3:g,11:m,2:h,4:S},11:{5:y,7:null,9:null,10:y,1:function(e,t,n,r){y(e,t,n,r),M(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){y(e,t,n,r),g(n,r,n,r)},11:h,2:y,4:function(e,t,n,r){y(e,t,n,r),S(n,r,n,r)}}};function c(e,t){return p(e,t)?.projector}function p(e,t){if(null==e||null==t)return null;if(j.source.spatialReference===e&&j.dest.spatialReference===t)return j;const n=d(e,j.source),r=d(t,j.dest);return 0===n&&0===r?(0,l.aI)(e,t)?j.projector=h:j.projector=null:j.projector=u[n][r],j}function d(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,o.jA)(e)?t.spatialReferenceId=1:(0,l.oT)(e)?t.spatialReferenceId=2:(0,l.K8)(e)?t.spatialReferenceId=3:(0,l.r1)(e)?t.spatialReferenceId=11:e.wkt===o.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===o.FY.wkt?t.spatialReferenceId=6:e.wkt===o.LJ.wkt?t.spatialReferenceId=8:(0,o.q8)(e)?t.spatialReferenceId=7:(0,o.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function h(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function f(e,t,n,r){n[r]=F*(e[t]/R),n[r+1]=F*(P-2*Math.atan(Math.exp(-e[t+1]/R))),n[r+2]=e[t+2]??0}function g(e,t,n,i){!function(e,t,n,i,o){const s=.4999999*Math.PI,a=(0,r.qE)(O*e[t+1],-s,s),l=Math.sin(a);n[i++]=O*e[t]*o.radius,n[i++]=o.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[i]=e[t+2]??0}(e,t,n,i,s.$O)}function m(e,t,n,r){n[r]=e[t]*Z,n[r+1]=e[t+1]*Z,n[r+2]=e[t+2]??0}function y(e,t,n,r){n[r]=e[t]*E,n[r+1]=e[t+1]*E,n[r+2]=e[t+2]??0}function v(e,t,n,r,i){const o=i+(e[t+2]??0),s=O*e[t],a=O*e[t+1],l=Math.cos(a)*o;n[r]=Math.cos(s)*l,n[r+1]=Math.sin(s)*l,n[r+2]=Math.sin(a)*o}function b(e,t,n,r){v(e,t,n,r,s.Sw.radius)}function w(e,t,n,r){v(e,t,n,r,s.sH.radius)}function M(e,t,n,r){v(e,t,n,r,s.$O.radius)}function I(e,t,n,i,o){const s=e[t],a=e[t+1],l=e[t+2]??0,u=Math.sqrt(s*s+a*a+l*l),c=(0,r.YN)(l/(0===u?1:u)),p=Math.atan2(a,s);n[i++]=F*p,n[i++]=F*c,n[i]=u-o}function C(e,t,n,r){I(e,t,n,r,s.Sw.radius)}function A(e,t,n,r){I(e,t,n,r,s.sH.radius)}function x(e,t,n,r){I(e,t,n,r,s.$O.radius)}function S(e,t,n,r){!function(e,t,n,r,i){const o=O*e[t],s=O*e[t+1],a=e[t+2]??0,l=Math.sin(s),u=Math.cos(s),c=i.radius/Math.sqrt(1-i.eccentricitySquared*l*l);n[r++]=(c+a)*u*Math.cos(o),n[r++]=(c+a)*u*Math.sin(o),n[r++]=(c*(1-i.eccentricitySquared)+a)*l}(e,t,n,r,s.$O)}function T(e,t,n,r){const i=a.TP,o=e[t],l=e[t+1],u=e[t+2]??0;let c,p,d,h,f,g,m,y,v,b,w,M,I,C,A,x,S,T,j,O,P;c=Math.abs(u),p=o*o+l*l,d=Math.sqrt(p),h=p+u*u,f=Math.sqrt(h),O=Math.atan2(l,o),g=u*u/h,m=p/h,C=i.a2/f,A=i.a3-i.a4/f,m>.3?(y=c/f*(1+m*(i.a1+C+g*A)/f),j=Math.asin(y),b=y*y,v=Math.sqrt(1-b)):(v=d/f*(1-g*(i.a5-C-m*A)/f),j=Math.acos(v),b=1-v*v,y=Math.sqrt(b)),w=1-s.$O.eccentricitySquared*b,M=s.$O.radius/Math.sqrt(w),I=i.a6*M,C=d-M*v,A=c-I*y,S=v*C+y*A,x=v*A-y*C,T=x/(I/w+S),j+=T,P=S+x*T/2,u<0&&(j=-j),n[r++]=F*O,n[r++]=F*j,n[r]=P}const j={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:h},O=(0,r.kU)(1),F=(0,r.KJ)(1),P=.5*Math.PI,R=s.$O.radius,Z=R*Math.PI/180,E=180/(R*Math.PI)},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>J,initializeProjection:()=>B,isEqualBaseGCS:()=>V,isLoaded:()=>R,isLoadedOrLoad:()=>Z,isLoadedOrLoadFor:()=>E,load:()=>k,project:()=>N,projectAsync:()=>K,projectExtent:()=>ie,projectMany:()=>L,projectMultipoint:()=>Q,projectOrLoad:()=>G,projectOrLoadMany:()=>z,projectPoint:()=>Y,projectPolygon:()=>ne,projectPolyline:()=>ee,projectWithoutEngine:()=>H,requiresLoad:()=>_,test:()=>$,tryProject:()=>U,unload:()=>q});var r=n(49186),i=n(17676),o=n(62788),s=n(95488),a=n(51850),l=n(21276),u=n(73941),c=n(5443),p=n(91075),d=n(48526),h=n(86738),f=n(39829),g=n(82799),m=n(16930),y=n(98764),v=n(159),b=n(9762),w=n(49208);function M(e,t,n,r,i,o){return I[0]=e,I[1]=t,I[2]=n,(0,b.projectBuffer)(I,r,0,i,o,0)}const I=(0,a.vt)();var C=n(60408),A=n(21325),x=n(52006);let S=null,T=null,j=null,O=null,F={};const P=new s.I;function R(){return!!(T?.isLoaded()&&j?.isLoaded()&&O?.isLoaded())}function Z(){return!!R()||((0,o.gc)(P),k(),!1)}function E(e,t){return!e||!t||J(e,t)||Z()}function _(e,t){return!J(e,t)&&!R()}async function k(e){null==S&&(S=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(T=e,T.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(j=e,j.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(O=e,O.load()))])),await S,(0,i.Te)(e),P.notify()}function N(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),L(e,e[0].spatialReference,t,n)):((0,l.f)(e),L([e],e.spatialReference,t,n)[0])}function L(e,t,n,r){if(null==t||null==n)return e;if(J(t,n,r))return e.map(e=>H(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return L(e.map(e=>H(e,t,m.A.WGS84)),m.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return L(e,t,m.A.WGS84).map(e=>H(e,m.A.WGS84,n));if(!R())throw new D;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:O.getTransformation(t,n,r.areaOfInterestExtent)||new v.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let i=F[e];i||(i=O.getTransformation(t,n)||new v.A,F[e]=i),r={geographicTransformation:i,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?T.executeMany(e,n,r):j.executeMany(e,n,r)}function U(e,t,n){try{return N(e,t,n)}catch(e){return null}}function G(e,t){const n=z([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function z(e,t,n){if(!R())for(const n of e)if(null!=n&&!(0,A.aI)(n.spatialReference,t)&&(0,A.fn)(n.spatialReference)&&(0,A.fn)(t)&&!J(n.spatialReference,t))return(0,o.gc)(P),{pending:k(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,A.aI)(e.spatialReference,t)?e:(0,A.fn)(e.spatialReference)&&(0,A.fn)(t)?N(e,t,n):null)}}class D extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function q(){S=null,T=null,j=null,O=null,F={}}const $={get loadPromise(){return S}};async function K(e,t,n){if((0,i.Te)(n),!e)return e;const r=z(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,i.Te)(n),K(e,t,n);const o=r.geometries??[];return Array.isArray(e)?o:o[0]}function J(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,A.aI)(e,t)||(0,A.fn)(e)&&(0,A.fn)(t)&&!!(0,w.jd)(e,t))}function V(e,t){if((0,A.aI)(e,t))return!0;if(!(0,A.fn)(e)||!(0,A.fn)(t))return!1;const n=(0,A.oT)(e)||(0,A.K8)(e)||(0,A.x1)(e),r=(0,A.oT)(t)||(0,A.K8)(t)||(0,A.x1)(t);return n&&r}async function B(e,t,n,r){if(R())return(0,i.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:i}of e)if(t&&n&&!J(t,n,i))return k(r)}else if(e&&t&&!J(e,t,n))return k(r);return(0,i.NO)(r)}function H(e,t,n){return e?(0,C.fT)(e)?W(e,t,new h.A,n,0):(0,C.ZC)(e)?oe(e,t,new c.A,n,0):(0,C.Bi)(e)?re(e,t,new f.A,n,0):(0,C.Rg)(e)?te(e,t,new g.A,n,0):(0,C.U9)(e)?X(e,t,new d.A,n,0):null:null}function Y(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=W(e,e.spatialReference,t,n,r)}function W(e,t,n,r,i){ue[0]=e.x,ue[1]=e.y;const o=e.z;return ue[2]=void 0!==o?o:i,(0,b.projectBuffer)(ue,t,0,ue,r,0)?(n.x=ue[0],n.y=ue[1],n.spatialReference=r,void 0!==o||(0,u.xP)(r)?(n.z=ue[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function Q(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=X(e,e.spatialReference,t,n,r)}function X(e,t,n,r,i){const{points:o,hasZ:s,hasM:a}=e,l=[],u=o.length,c=[];for(const e of o)c.push(e[0],e[1],s?e[2]:i);if(!(0,b.projectBuffer)(c,t,0,c,r,0,u))return null;const p=le(s,r);for(let e=0;e<u;++e){const t=3*e,n=c[t],r=c[t+1];p&&a?l.push([n,r,c[t+2],o[e][3]]):p?l.push([n,r,c[t+2]]):a?l.push([n,r,o[e][2]]):l.push([n,r])}return n.points=l,n.spatialReference=r,n.hasZ=s,n.hasM=a,n}function ee(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,r)}function te(e,t,n,r,i){const{curvePaths:o,paths:s,hasZ:a,hasM:l}=e;if(!(o?ae(o,a??!1,l??!1,t,n.curvePaths=[],r,i):se(s,a??!1,l??!1,t,n.paths,r,i)))return null;const u=le(a,r);return n.spatialReference=r,n.hasZ=u,n.hasM=l,n}function ne(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=re(e,e.spatialReference,t,n,r)}function re(e,t,n,r,i){const{curveRings:o,rings:s,hasZ:a,hasM:l}=e;return(o?ae(o,a??!1,l??!1,t,n.curveRings=[],r,i):se(s,a??!1,l??!1,t,n.rings,r,i))?(n.spatialReference=r,n.hasZ=le(a,r),n.hasM=l,n):null}function ie(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=oe(e,e.spatialReference,t,n,r)}function oe(e,t,n,r,i){const{xmin:o,ymin:s,xmax:a,ymax:l,hasZ:u,hasM:c}=e;if(!M(o,s,u?e.zmin:i,t,ue,r))return null;const p=le(u,r);return n.xmin=ue[0],n.ymin=ue[1],p&&(n.zmin=ue[2]),M(a,l,u?e.zmax:i,t,ue,r)?(n.xmax=ue[0],n.ymax=ue[1],p&&(n.zmax=ue[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function se(e,t,n,r,i,o,s=0){const a=new Array;for(const n of e)for(const e of n)a.push(e[0],e[1],t?e[2]:s);if(!(0,b.projectBuffer)(a,r,0,a,o,0))return!1;let l=0;i.length=0;const u=t?3:2,c=le(t,o);for(const t of e){const e=new Array;for(const r of t){const t=a.slice(l,l+=3);c||t.pop(),n&&t.push(r[u]),e.push(t)}i.push(e)}return!0}function ae(e,t,n,r,i,o,s=0){const a=new Array;for(const n of e)for(const e of n){if((0,x.FG)(e))return!1;if((0,x.aO)(e)){const[n,r]=e.c;a.push(n[0],n[1],t?n[2]:s,r[0],r[1],s);continue}if((0,x.n1)(e)){const[n,r,i]=e.b;a.push(n[0],n[1],t?n[2]:s,r[0],r[1],s,i[0],i[1],s);continue}const n=e;a.push(n[0],n[1],t?n[2]:s)}if(!(0,b.projectBuffer)(a,r,0,a,o,0))return!1;let l=0;i.length=0;const u=t?3:2,c=le(t,o);for(const t of e){const e=new Array;for(const r of t){const t=a.slice(l,l+=3);if(c||t.pop(),n&&t.push((0,x.yP)(r)[u]),(0,x.FG)(r))return!1;if((0,x.aO)(r)){const n=a[l++],r=a[l++];++l,e.push({c:[t,[n,r]]});continue}if((0,x.n1)(r)){const n=a[l++],r=a[l++];++l;const i=a[l++],o=a[l++];++l,e.push({b:[t,[n,r],[i,o]]});continue}e.push(t)}i.push(e)}return!0}function le(e,t){return e||(0,u.xP)(t)||(0,A.aI)(t,y.Y0)}const ue=(0,a.vt)()},98764(e,t,n){n.d(t,{GD:()=>s,Y0:()=>u,lO:()=>c});var r=n(73941),i=n(16930),o=n(21325);const s=new i.A(r.fv),a=new i.A(r.FY),l=new i.A(r.LJ),u=new i.A(r.Ro);function c(e){const t=p.get(e);if(t)return t;let n=s;if(e)if(e===a)n=a;else if(e===l)n=l;else{const t=e.wkid,r=e.latestWkid;if(null!=t||null!=r)(0,o.tl)(t)||(0,o.tl)(r)?n=a:((0,o.ZL)(t)||(0,o.ZL)(r))&&(n=l);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===d?n=a:e===h&&(n=l)}}}return p.set(e,n),n}const p=new Map,d=a.wkt.toUpperCase(),h=l.wkt.toUpperCase()},4197(e,t,n){n.d(t,{Vj:()=>c,cj:()=>u,jh:()=>o,l5:()=>a,yH:()=>l});var r=n(34275),i=n(9093);function o(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function s(e){return((0,r.iu)(e)?e.byteLength/8:e.length)<=r.y9?Array.from(e):new Float64Array(e)}function a(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function l(e,t){if(0===t.length)return s(e);if(0===e.length)return s(t);const n=o(e.length+t.length);for(let t=0;t<e.length;++t)n[t]=e[t];for(let r=0;r<t.length;++r)n[e.length+r]=t[r];return n}function u(e){return[...e]}function c(e){const t=(0,i.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},70328(e,t,n){n.d(t,{BI:()=>b,DC:()=>p,Ej:()=>h,Ie:()=>y,Jt:()=>v,Ne:()=>f,RF:()=>c,aI:()=>M,fA:()=>s,gE:()=>l,hZ:()=>m,iT:()=>d,is:()=>w,qv:()=>I,vI:()=>g,vY:()=>a,v_:()=>C,vt:()=>o,w1:()=>u}),n(35522);var r=n(5443),i=(n(19419),n(4197));function o(e=C){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,n,r,i,s,a=o()){return a[0]=e,a[1]=t,a[2]=n,a[3]=r,a[4]=i,a[5]=s,a}function a(e,t=o()){return function(e,t,n,r=o()){return m(r,I),function(e,t,n=0,r=t.length/3){let i=e[0],o=e[1],s=e[2],a=e[3],l=e[4],u=e[5];for(let e=0;e<r;e++)i=Math.min(i,t[n+3*e]),o=Math.min(o,t[n+3*e+1]),s=Math.min(s,t[n+3*e+2]),a=Math.max(a,t[n+3*e]),l=Math.max(l,t[n+3*e+1]),u=Math.max(u,t[n+3*e+2]);e[0]=i,e[1]=o,e[2]=s,e[3]=a,e[4]=l,e[5]=u}(r,e,t,n),r}(e,0,e.length/3,t)}function l(e,t=(0,i.jh)(24)){const[n,r,o,s,a,l]=e;return t[0]=n,t[1]=r,t[2]=o,t[3]=n,t[4]=r,t[5]=l,t[6]=n,t[7]=a,t[8]=o,t[9]=n,t[10]=a,t[11]=l,t[12]=s,t[13]=r,t[14]=o,t[15]=s,t[16]=r,t[17]=l,t[18]=s,t[19]=a,t[20]=o,t[21]=s,t[22]=a,t[23]=l,t}function u(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new r.A(n?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function d(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function h(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function f(e,t,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function g(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function m(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function y(e){return e?m(e,I):o(I)}function v(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function b(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function w(e){return 6===e.length}function M(e,t,n){if(null==e||null==t)return e===t;if(!w(e)||!w(t))return!1;if(n){for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const I=[1/0,1/0,1/0,-1/0,-1/0,-1/0],C=[0,0,0,0,0,0];o()},34403(e,t,n){n.d(t,{TP:()=>s});var r=n(79258);Math.PI;const i=r.$O.radius,o=r.$O.eccentricitySquared,s={a1:i*o,a2:i*o*i*o,a3:i*o*o/2,a4:i*o*i*o*2.5,a5:i*o+i*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},83960(e,t,n){n.d(t,{X_:()=>o,oW:()=>a,zx:()=>s});var r=n(34727),i=n(86211);function o(e,t){const n=t||e.extent,r=e.width,o=(0,i.GA)(n?.spatialReference);return n&&r?n.width/r*o*i.dy*96:0}function s(e,t,n){return function(e,t){return 0===t||(0,r.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,r.Sp)(e,t)||e>t}(e,n)}function a(e,t){return(0,r.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},50498(e,t,n){n.d(t,{Ye:()=>p,gy:()=>c,iI:()=>h,yR:()=>d});var r=n(66552),i=n(5443),o=n(91075),s=n(48526),a=n(86738),l=n(39829),u=n(82799);const c=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),p=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),d={base:o.A,key:"type",typeMap:{extent:i.A,multipoint:s.A,point:a.A,polyline:u.A,polygon:l.A}},h=new r.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},55156(e,t,n){n.d(t,{I:()=>i,e:()=>r});const r=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&r in t?e[r]:void 0;var t}},79457(e,t,n){n.r(t),n.d(t,{default:()=>le});var r=n(5482),i=n(37838),o=n(11254),s=n(69540),a=n(49186),l=n(36563),u=n(4718),c=n(53966),p=n(25728),d=n(17676),h=n(84952),f=n(91429),g=n(56507),m=n(5443),y=n(16930),v=n(50498),b=n(55156),w=n(60950),M=n(89808),I=n(99959);const C=Symbol("isStreamGraphicOrigin");var A;class x extends I.A{get[(A=C,w.ym)](){return this.layer}get[b.e](){return this.layer}get[M.Q](){return this.layer}constructor(e){super(),this[A]=!0,this.type="stream",this.layer=e}get id(){return this.layer.id}}var S,T=n(4146),j=n(18768),O=n(63074),F=n(69208),P=n(6455),R=n(87718),Z=n(56658),E=n(34287),_=n(8303),k=n(54310),N=n(25036),L=n(82935),U=n(63396),G=n(10873),z=n(25747),D=n(15426),q=n(20437),$=n(17036),K=n(30524),J=n(9916),V=n(46499),B=n(39383),H=n(25482);let Y=class extends H.o{static{S=this}constructor(e){super(e),this.age=null,this.ageReceived=null,this.displayCount=null,this.maxObservations=1}clone(){return new S({age:this.age,ageReceived:this.ageReceived,displayCount:this.displayCount,maxObservations:this.maxObservations})}};(0,r.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],Y.prototype,"age",void 0),(0,r.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],Y.prototype,"ageReceived",void 0),(0,r.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],Y.prototype,"displayCount",void 0),(0,r.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],Y.prototype,"maxObservations",void 0),Y=S=(0,r.Cg)([(0,f.$K)("esri.layers.support.PurgeOptions")],Y);var W=n(72691),Q=n(65494),X=n(8947),ee=n(41214),te=n(97552),ne=n(30291),re=n(88625),ie=n(59923),oe=n(36005);const se=(0,$.p)();let ae=class extends((0,P.FJ)((0,Z.J)((0,R.F)((0,O.dM)((0,L.e)((0,U.d)((0,N.j)((0,k.J)((0,j.b)((0,E.q)((0,_.A)((0,p.M)((0,F.d)((0,s.OU)(T.A))))))))))))))){constructor(...e){super(...e),this.copyright=null,this.definitionExpression=null,this.displayField=null,this.elevationInfo=null,this.fields=null,this.fieldsIndex=null,this.geometryDefinition=null,this.geometryType=null,this.graphicOrigin=new x(this),this.labelsVisible=!0,this.labelingInfo=null,this.legendEnabled=!0,this.maxReconnectionAttempts=0,this.maxReconnectionInterval=20,this.maxScale=0,this.minScale=0,this.objectIdField=null,this.operationalLayerType="ArcGISStreamLayer",this.outFields=["*"],this.popupEnabled=!0,this.popupTemplate=null,this.purgeOptions=new Y,this.refreshInterval=0,this.screenSizePerspectiveEnabled=!0,this.source=null,this.sourceJSON=null,this.spatialReference=y.A.WGS84,this.type="stream",this.url=null,this.updateInterval=300,this.useViewTime=!0,this.webSocketUrl=null,this._debouncedSaveOperations=(0,d.sg)(async(e,t,r)=>{const{save:i,saveAs:o}=await n.e(7301).then(n.bind(n,87301));switch(e){case 0:return i(this,t);case 1:return o(this,r,t)}})}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){if(!("WebSocket"in globalThis))return this.addResolvingPromise(Promise.reject(new a.A("stream-layer:websocket-unsupported","WebSocket is not supported in this browser. StreamLayer will not have real-time connection with the stream service."))),Promise.resolve(this);const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Stream Service","Feed"]},e).catch(d.QP).then(()=>this._fetchService(t))),Promise.resolve(this)}get defaultPopupTemplate(){return this.createPopupTemplate()}set featureReduction(e){const t=this._normalizeFeatureReduction(e);this._set("featureReduction",t)}set renderer(e){(0,K.yp)(e,this.fieldsIndex),this._set("renderer",e)}readRenderer(e,t,n){t=t.layerDefinition||t;const r=t.drawingInfo?.renderer;if(r){const e=(0,Q.L)(r,t,n)||void 0;return e||c.A.getLogger(this).error("Failed to create renderer",{rendererDefinition:t.drawingInfo.renderer,layer:this,context:n}),e}return(0,D.PD)(t,n)}async connect(e){const[{createConnection:t}]=await Promise.all([Promise.all([n.e(893),n.e(4401)]).then(n.bind(n,60986)),this.load()]),r=e?.spatialReference?.toJSON()??this.spatialReference.toJSON(),i=t(this.getStreamConnectionSource(e),r),o=(0,l.vE)([this.on("send-message-to-socket",e=>i.sendMessageToSocket(e)),this.on("send-message-to-client",e=>i.sendMessageToClient(e))]);return i.once("destroy",o.remove),i}getStreamConnectionSource(e){const{customParameters:t=null,definitionExpression:n=null,geometryDefinition:r=null,maxReconnectionAttempts:i=0,maxReconnectionInterval:o=20}=e||this.createConnectionParameters(),s=this.geometryType?v.gy.toJSON(this.geometryType):null,l=this.spatialReference.toJSON();if(this.source){if(!this.timeInfo?.trackIdField)throw new a.A("stream-layer:missing-metadata","TrackIdField required for Kusto data source.");return{type:"kusto",database:this.database,table:this.source.table,trackIdField:this.timeInfo.trackIdField,geometryEncoding:this.source.geometryEncoding.toJSON(),sourceSpatialReference:l,refreshInterval:this.source.refreshInterval}}return this.webSocketUrl?{type:"custom",url:(0,h.An)(this.webSocketUrl),customParameters:t,definitionExpression:n,geometryDefinition:r,geometryType:s,maxReconnectionAttempts:i,maxReconnectionInterval:o,sourceSpatialReference:l}:this.parsedUrl?{type:"geoevent",url:this.parsedUrl,customParameters:t,definitionExpression:n,geometryDefinition:r,geometryType:s,maxReconnectionAttempts:i,maxReconnectionInterval:o,sourceSpatialReference:l}:{type:"client",geometryType:s,sourceSpatialReference:this.spatialReference.toJSON()}}createConnectionParameters(){return{spatialReference:this.spatialReference,customParameters:this.customParameters,definitionExpression:this.definitionExpression,geometryDefinition:this.geometryDefinition,maxReconnectionAttempts:this.maxReconnectionAttempts,maxReconnectionInterval:this.maxReconnectionInterval}}createPopupTemplate(e){return(0,ne.tn)(this,e)}createQuery(){const e=new te.A;return e.returnGeometry=!0,e.outFields=["*"],e.where=this.definitionExpression||"1=1",e}getFieldDomain(e,t){if(!this.fields)return null;let n=null;return this.fields.some(t=>(t.name===e&&(n=t.domain),!!n)),n}getField(e){return this.fieldsIndex.get(e)}serviceSupportsSpatialReference(e){return!0}sendMessageToSocket(e){this.emit("send-message-to-socket",e)}sendMessageToClient(e){this.emit("send-message-to-client",e)}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}write(e,t){return this.webSocketUrl?((0,ie.U4)(t,this,"a custom websocket connection cannot be written to web scenes and web maps"),null):this.source?((0,ie.U4)(t,this,"a custom source cannot be written to web scenes and web maps"),null):this.parsedUrl?super.write(e,t):((0,ie.U4)(t,this,"a client-side only connection without a url cannot be written to web scenes and web maps"),null)}async _fetchService(e){if(this.source){const e=await(0,J.ZF)(this.source.workspace,this.source.database,this.source.table,{fields:this.fields,source:this.source,database:this.database});if(this.database=e.database,!e.fields)throw new a.A("stream-layer:missing-metadata","The stream layer fields must be specified.");if(this.fields=e.fields,!e.source)throw new a.A("stream-layer:missing-metadata","Unable to infer Kusto source.",{layerInfo:e});if(!e.source.geometryEncoding)throw new a.A("stream-layer:missing-metadata","Unable to infer Kusto geometry encoding.",{layerInfo:e});this.source=e.source}if(this.parsedUrl){if(!this.sourceJSON){const{data:t}=await(0,o.A)(this.parsedUrl.path,{query:{f:"json",...this.customParameters,...this.parsedUrl.query},responseType:"json",signal:e});this.sourceJSON=t}}else{if(!this.timeInfo?.trackIdField)throw new a.A("stream-layer:missing-metadata","The stream layer trackIdField must be specified.");if(!this.fields)throw new a.A("stream-layer:missing-metadata","The stream layer fields must be specified.");if(!this.objectIdField){const e=this.fields.find(e=>"oid"===e.type)?.name;e&&(this.objectIdField=e)}if(this.fields.some(e=>e.name===this.objectIdField)||this.fields.push(new q.A({name:this.objectIdField,alias:this.objectIdField,type:"oid"})),!this.geometryType)throw new a.A("stream-layer:missing-metadata","The stream layer geometryType must be specified.")}return this.read(this.sourceJSON,{origin:"service",portalItem:this.portalItem,portal:this.portalItem?.portal,url:this.parsedUrl}),(0,K.yp)(this.renderer,this.fieldsIndex),(0,K.sv)(this.timeInfo,this.fieldsIndex),this.objectIdField||(this.objectIdField=W.DN),(0,X.L)(this,{origin:"service"})}};(0,r.Cg)([(0,f.MZ)({type:String})],ae.prototype,"copyright",void 0),(0,r.Cg)([(0,f.MZ)()],ae.prototype,"database",void 0),(0,r.Cg)([(0,f.MZ)({readOnly:!0})],ae.prototype,"defaultPopupTemplate",null),(0,r.Cg)([(0,f.MZ)({type:String,json:{name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],ae.prototype,"definitionExpression",void 0),(0,r.Cg)([(0,f.MZ)({type:String})],ae.prototype,"displayField",void 0),(0,r.Cg)([(0,f.MZ)({type:re.A})],ae.prototype,"elevationInfo",void 0),(0,r.Cg)([(0,f.MZ)({json:{origins:{"web-map":{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-scene":{read:!1,write:!1}}}})],ae.prototype,"featureReduction",null),(0,r.Cg)([(0,f.MZ)(se.fields)],ae.prototype,"fields",void 0),(0,r.Cg)([(0,f.MZ)(se.fieldsIndex)],ae.prototype,"fieldsIndex",void 0),(0,r.Cg)([(0,f.MZ)({type:m.A,json:{name:"layerDefinition.definitionGeometry",write:!0}})],ae.prototype,"geometryDefinition",void 0),(0,r.Cg)([(0,f.MZ)({type:v.gy.apiValues,json:{read:{reader:v.gy.read}}})],ae.prototype,"geometryType",void 0),(0,r.Cg)([(0,f.MZ)({readOnly:!0,clonable:!1})],ae.prototype,"graphicOrigin",void 0),(0,r.Cg)([(0,f.MZ)(G.kF)],ae.prototype,"labelsVisible",void 0),(0,r.Cg)([(0,f.MZ)({type:[V.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:{reader:B.w},write:!0}})],ae.prototype,"labelingInfo",void 0),(0,r.Cg)([(0,f.MZ)(G.fV)],ae.prototype,"legendEnabled",void 0),(0,r.Cg)([(0,f.MZ)({type:["show","hide"],json:{origins:{"portal-item":{read:!1,write:!1}}}})],ae.prototype,"listMode",void 0),(0,r.Cg)([(0,f.MZ)({type:g.jz})],ae.prototype,"maxReconnectionAttempts",void 0),(0,r.Cg)([(0,f.MZ)({type:g.jz})],ae.prototype,"maxReconnectionInterval",void 0),(0,r.Cg)([(0,f.MZ)(G.hG)],ae.prototype,"maxScale",void 0),(0,r.Cg)([(0,f.MZ)(G.hn)],ae.prototype,"minScale",void 0),(0,r.Cg)([(0,f.MZ)({type:String})],ae.prototype,"objectIdField",void 0),(0,r.Cg)([(0,f.MZ)({value:"ArcGISStreamLayer",type:["ArcGISStreamLayer"]})],ae.prototype,"operationalLayerType",void 0),(0,r.Cg)([(0,f.MZ)({readOnly:!0})],ae.prototype,"outFields",void 0),(0,r.Cg)([(0,f.MZ)(G.M6)],ae.prototype,"popupEnabled",void 0),(0,r.Cg)([(0,f.MZ)({type:i.A,json:{name:"popupInfo",write:!0}})],ae.prototype,"popupTemplate",void 0),(0,r.Cg)([(0,f.MZ)({type:Y})],ae.prototype,"purgeOptions",void 0),(0,r.Cg)([(0,f.MZ)({json:{read:!1,write:!1}})],ae.prototype,"refreshInterval",void 0),(0,r.Cg)([(0,f.MZ)({types:ee.Hg,json:{origins:{service:{write:{target:"drawingInfo.renderer",enabled:!1}},"web-scene":{name:"layerDefinition.drawingInfo.renderer",types:ee.XJ,write:!0}},write:{target:"layerDefinition.drawingInfo.renderer"}}})],ae.prototype,"renderer",null),(0,r.Cg)([(0,oe.w)("service","renderer",["drawingInfo.renderer","defaultSymbol"]),(0,oe.w)("renderer",["layerDefinition.drawingInfo.renderer","layerDefinition.defaultSymbol"])],ae.prototype,"readRenderer",null),(0,r.Cg)([(0,f.MZ)((()=>{const e=(0,u.o8)(G.PY);return e.json.origins["portal-item"]={read:!1,write:!1},e})())],ae.prototype,"screenSizePerspectiveEnabled",void 0),(0,r.Cg)([(0,f.MZ)({type:z.A,json:{write:!1}})],ae.prototype,"source",void 0),(0,r.Cg)([(0,f.MZ)()],ae.prototype,"sourceJSON",void 0),(0,r.Cg)([(0,f.MZ)({type:y.A,json:{origins:{service:{read:{source:"spatialReference"}}}}})],ae.prototype,"spatialReference",void 0),(0,r.Cg)([(0,f.MZ)({json:{read:!1}})],ae.prototype,"type",void 0),(0,r.Cg)([(0,f.MZ)(G.OZ)],ae.prototype,"url",void 0),(0,r.Cg)([(0,f.MZ)({type:Number})],ae.prototype,"updateInterval",void 0),(0,r.Cg)([(0,f.MZ)({json:{read:!1,write:!1}})],ae.prototype,"useViewTime",void 0),(0,r.Cg)([(0,f.MZ)({type:String})],ae.prototype,"webSocketUrl",void 0),ae=(0,r.Cg)([(0,f.$K)("esri.layers.StreamLayer")],ae);const le=ae},54339(e,t,n){function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const n=[];for(const r of t.fieldNames)n.push(e.attributes[r]??null);return JSON.stringify(n)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const n=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(n)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}n.d(t,{W:()=>r,r:()=>i})},18768(e,t,n){n.d(t,{b:()=>a});var r=n(5482),i=n(53966),o=n(91429),s=n(60694);const a=e=>{const t=e;let n=class extends t{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,s.qg)(this.url);if(e?.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,s.Jf)(e,i.A.getLogger(this)))}};return(0,r.Cg)([(0,o.MZ)()],n.prototype,"title",null),(0,r.Cg)([(0,o.MZ)({type:String})],n.prototype,"url",null),n=(0,r.Cg)([(0,o.$K)("esri.layers.mixins.ArcGISService")],n),n}},69208(e,t,n){n.d(t,{d:()=>o});var r=n(5482),i=n(91429);const o=e=>{const t=e;let n=class extends t{constructor(){super(...arguments),this.customParameters=null}};return(0,r.Cg)([(0,i.MZ)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],n.prototype,"customParameters",void 0),n=(0,r.Cg)([(0,i.$K)("esri.layers.mixins.CustomParametersMixin")],n),n}},6455(e,t,n){n.d(t,{FJ:()=>y,Dp:()=>v,KV:()=>b});var r=n(5482),i=n(93637),o=n(91429),s=n(89317),a=n(69540),l=n(7762),u=n(25482),c=n(83960),p=n(13069);const d={write:{overridePolicy:(e,t,n)=>({enabled:!n||"scale"===n.filterMode})}};let h=class extends((0,a.OU)(u.o)){constructor(e){super(e),this.id=(0,p.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"id",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:d})],h.prototype,"maxScale",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:d})],h.prototype,"minScale",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"title",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"where",void 0),h=(0,r.Cg)([(0,o.$K)("esri.layers.support.DisplayFilter")],h);var f=n(41560),g=n(43937);let m=class extends((0,a.OU)(u.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(l.A.ofType(h)),this.mode="manual"}writeFilters(e,t,n,r){const i=e.toArray();"scale"===this.mode&&i.sort((e,t)=>{const n=(0,c.oW)(t.minScale,e.minScale),r=e.maxScale-t.maxScale;return 0===n?r:n}),t[n]=i.map(e=>e.toJSON(r))}write(e,t){return super.write(e,(0,f.mW)(this,t))}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:{overridePolicy:(e,t,n)=>({enabled:"manual"===n.filterMode,isRequired:!0})}}})],m.prototype,"activeFilterId",void 0),(0,r.Cg)([(0,o.MZ)({type:l.A.ofType(h),nonNullable:!0,json:{write:!0}})],m.prototype,"filters",void 0),(0,r.Cg)([(0,g.K)("filters")],m.prototype,"writeFilters",null),(0,r.Cg)([(0,o.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],m.prototype,"mode",void 0),m=(0,r.Cg)([(0,o.$K)("esri.layers.support.DisplayFilterInfo")],m);const y=e=>{const t=e;let n=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,r.Cg)([(0,o.MZ)(v)],n.prototype,"displayFilterEnabled",void 0),(0,r.Cg)([(0,o.MZ)(b)],n.prototype,"displayFilterInfo",void 0),n=(0,r.Cg)([(0,o.$K)("esri.layers.mixins.DisplayFilteredLayer")],n),n},v={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:s.K,writer(e,t,n){(0,i.sM)(n,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},b={type:m,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:s.K},origins:{"web-scene":{write:!1,read:!1}}}}},8303(e,t,n){n.d(t,{A:()=>I});var r=n(5482),i=n(92602),o=n(70333),s=n(11254),a=n(60999),l=n(49186),u=n(36563),c=n(53966),p=n(97768),d=n(17676),h=n(84952),f=n(91429),g=n(77548),m=n(20655),y=n(80812),v=n(41318),b=n(10407),w=n(36005),M=n(43937);const I=e=>{const t=e;let I=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){super.destroy(),this.portalItem=(0,p.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,n){if(t.itemId)return new y.default({id:t.itemId,portal:n?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:r}=await n.e(1204).then(n.bind(n,41204));return(0,d.Te)(t),await r({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,d.zf)(e)||c.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async reloadFromPortal(e){if(!this.loaded||!this.portalItem?.id)return!1;try{const{reload:t}=await n.e(1204).then(n.bind(n,41204)),r=new AbortController,i=(0,u.rE)(r);return this.addHandles(i,"reloadFromPortal"),await t({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},{signal:r.signal})}catch(e){throw(0,d.zf)(e)||c.A.getLogger(this).warn(`Failed to reload layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}finally{this.removeHandles("reloadFromPortal")}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,d.QP)(e),!0)))}async setUserPrivileges(e,t){if(!i.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:n,fullEdit:r},content:{updateItem:i}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",n),this._set("userHasFullEditingPrivileges",r),this._set("userHasUpdateItemPrivileges",i)}catch(e){(0,d.QP)(e)}}async _fetchUserPrivileges(e,t){let n=this.portalItem;if(!e||!n||!n.loaded||n.sourceUrl)return this._fetchFallbackUserPrivileges(t);const r=!o.id?.findCredential(this.url),i=e===n.id;if(i&&n.portal.user)return this._getUserPrivileges(n,r);let s,a;if(i)s=n.portal.url;else try{s=await(0,g.wI)(this.url,t)}catch(e){(0,d.QP)(e)}if(!s||!(0,h.b8)(s,n.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;a=await(o.id?.getCredential(`${s}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,d.QP)(e)}const l=!0,u=!1,c=!1;if(!a)return{features:{edit:l,fullEdit:u},content:{updateItem:c}};try{if(i?await n.reload():(n=new y.default({id:e,portal:{url:s}}),await n.load(t)),n.portal.user)return this._getUserPrivileges(n,r)}catch(e){(0,d.QP)(e)}return{features:{edit:l,fullEdit:u},content:{updateItem:c}}}_getUserPrivileges(e,t){const n=(0,b.It)(e);return t&&(n.features.edit=!0),n}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,d.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?o.id?.findCredential(this.url):null;if(!t)return!0;const n=C.credential===t?C.user:await this._fetchEditingUser(e);return C.credential=t,C.user=n,null==n?.privileges||n.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const n=o.id?.findServerInfo(this.url??"");if(!n?.owningSystemUrl)return null;const r=`${n.owningSystemUrl}/sharing/rest`,i=m.A.getDefault();if(i&&i.loaded&&(0,h.S8)(i.restUrl)===(0,h.S8)(r))return i.user;const l=`${r}/community/self`,u=null!=e?e.signal:null,c=await(0,a.Ke)((0,s.A)(l,{authMode:"no-prompt",query:{f:"json"},signal:u}));return c.ok?v.A.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const n=t?.portal,r=this.portalItem?.id&&(this.portalItem.portal||m.A.getDefault());return n&&r&&!(0,h.ut)(r.restUrl,n.restUrl)?(t.messages&&t.messages.push(new l.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,r.Cg)([(0,f.MZ)({type:y.default})],I.prototype,"portalItem",null),(0,r.Cg)([(0,w.w)("web-document","portalItem",["itemId"])],I.prototype,"readPortalItem",null),(0,r.Cg)([(0,M.K)("web-document","portalItem",{itemId:{type:String}})],I.prototype,"writePortalItem",null),(0,r.Cg)([(0,f.MZ)({clonable:!1})],I.prototype,"resourceReferences",void 0),(0,r.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasEditingPrivileges",void 0),(0,r.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasFullEditingPrivileges",void 0),(0,r.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasUpdateItemPrivileges",void 0),I=(0,r.Cg)([(0,f.$K)("esri.layers.mixins.PortalLayer")],I),I},C={credential:null,user:null}},82935(e,t,n){n.d(t,{B:()=>d,e:()=>h});var r=n(5482),i=n(91429),o=n(89317),s=n(30524),a=n(96184),l=n(73133),u=n(79677),c=n(10184),p=n(36005);const d={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:o.K}}},h=e=>{const t=e;let n=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const n=t.timeInfo.exportOptions;if(!n)return null;const r=n.timeOffset,i=l.j.fromJSON(n.timeOffsetUnits);return r&&i?new c.A({value:r,unit:i}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,s.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,r.Cg)([(0,i.MZ)({type:u.A,json:{write:!1}})],n.prototype,"timeExtent",void 0),(0,r.Cg)([(0,i.MZ)({type:c.A})],n.prototype,"timeOffset",void 0),(0,r.Cg)([(0,p.w)("service","timeOffset",["timeInfo.exportOptions"])],n.prototype,"readOffset",null),(0,r.Cg)([(0,i.MZ)({value:null,type:a.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],n.prototype,"timeInfo",null),(0,r.Cg)([(0,i.MZ)(d)],n.prototype,"useViewTime",void 0),n=(0,r.Cg)([(0,i.$K)("esri.layers.mixins.TemporalLayer")],n),n}},63396(e,t,n){n.d(t,{d:()=>I});var r=n(5482),i=n(91429),o=n(60950),s=n(99959);class a extends s.A{constructor(e){super(),this.type="track",this.trackInfoProvider=e}get id(){return this.trackInfoProvider.id}get[o.ym](){return this.trackInfoProvider.trackInfo}}var l=n(37838),u=n(69540),c=n(25482),p=n(93637),d=n(50820),h=n(10873),f=n(46499),g=n(41214);let m=class extends((0,u.OU)(c.o)){constructor(e){super(e),this.labelingInfo=null,this.labelsVisible=!0,this.renderer=null,this.visible=!0}};(0,r.Cg)([(0,i.MZ)({type:[f.A],json:{write:!0}})],m.prototype,"labelingInfo",void 0),(0,r.Cg)([(0,i.MZ)(h.kF)],m.prototype,"labelsVisible",void 0),(0,r.Cg)([(0,i.MZ)({types:g.Hg,json:{write:!0}})],m.prototype,"renderer",void 0),(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{write:!0}})],m.prototype,"visible",void 0),m=(0,r.Cg)([(0,i.$K)("esri.layers.support.TrackPartInfo")],m);var y=n(96576),v=n(59868),b=n(10184),w=n(43937);let M=class extends((0,u.OU)(c.o)){constructor(e){super(e),this.enabled=!0,this.fields=[],this.latestObservations=new m({renderer:new y.A({symbol:v.UK.clone()})}),this.maxDisplayDuration=null,this.maxDisplayObservationsPerTrack=0,this.popupEnabled=!0,this.popupTemplate=null,this.previousObservations=new m({renderer:new y.A({symbol:v.UK.clone()})}),this.trackLines=new m({renderer:new y.A({symbol:v.A7.clone()})}),this.timeField="startTimeField"}writeFields(e,t,n){const r=e.filter(e=>"avg_angle"!==e.statisticType).map(e=>e.toJSON());(0,p.sM)(n,r,t)}};(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{write:!0}})],M.prototype,"enabled",void 0),(0,r.Cg)([(0,i.MZ)({type:[d.A],json:{write:!0}})],M.prototype,"fields",void 0),(0,r.Cg)([(0,w.K)("fields")],M.prototype,"writeFields",null),(0,r.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],M.prototype,"latestObservations",void 0),(0,r.Cg)([(0,i.MZ)({type:b.A,json:{write:!0}})],M.prototype,"maxDisplayDuration",void 0),(0,r.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],M.prototype,"maxDisplayObservationsPerTrack",void 0),(0,r.Cg)([(0,i.MZ)(h.M6)],M.prototype,"popupEnabled",void 0),(0,r.Cg)([(0,i.MZ)({type:l.A,json:{name:"popupInfo",write:!0}})],M.prototype,"popupTemplate",void 0),(0,r.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],M.prototype,"previousObservations",void 0),(0,r.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],M.prototype,"trackLines",void 0),(0,r.Cg)([(0,i.MZ)({type:["timeReceived","startTimeField","endTimeField"],json:{read:!0,write:!0}})],M.prototype,"timeField",void 0),M=(0,r.Cg)([(0,i.$K)("esri.layers.support.TrackInfo")],M);const I=e=>{const t=e;let n=class extends t{constructor(){super(...arguments),this.trackGraphicOrigin=new a(this),this.trackInfo=null}};return(0,r.Cg)([(0,i.MZ)({readOnly:!0,clonable:!1})],n.prototype,"trackGraphicOrigin",void 0),(0,r.Cg)([(0,i.MZ)({type:M})],n.prototype,"trackInfo",void 0),n=(0,r.Cg)([(0,i.$K)("esri.layers.mixins.TrackableLayer")],n),n}},30279(e,t,n){n.d(t,{A:()=>u});var r=n(5482),i=n(69540),o=n(25482),s=n(10107),a=n(64108),l=n(62044);let u=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.alias=null,this.name=void 0,this.fieldFormat=null}};(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],u.prototype,"alias",void 0),(0,r.Cg)([(0,s.MZ)({type:String,nonNullable:!0,json:{write:{isRequired:!0}}})],u.prototype,"name",void 0),(0,r.Cg)([(0,s.MZ)({types:l.fg,json:{write:!0}})],u.prototype,"fieldFormat",void 0),u=(0,r.Cg)([(0,a.$)("esri.layers.support.FieldConfiguration")],u)},9075(e,t,n){n.d(t,{A:()=>a});var r=n(5482),i=n(69540),o=n(25482),s=n(91429);let a=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.type="location",this.xField=null,this.yField=null}};(0,r.Cg)([(0,s.MZ)({type:["location"],nonNullable:!0,readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],a.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"xField",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"yField",void 0),a=(0,r.Cg)([(0,s.$K)("esri.layers.support.GeometryEncodingLocation")],a)},96184(e,t,n){n.d(t,{A:()=>h});var r=n(5482),i=n(69540),o=n(25482),s=n(91429),a=n(79677),l=n(10184),u=n(56400),c=n(36005),p=n(43937);function d(e,t){return l.A.fromJSON({value:e,unit:t})}let h=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?a.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?d(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?d(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,r.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],h.prototype,"cumulative",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"endField",void 0),(0,r.Cg)([(0,s.MZ)({type:a.A,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"fullTimeExtent",void 0),(0,r.Cg)([(0,c.w)("fullTimeExtent",["timeExtent"])],h.prototype,"readFullTimeExtent",null),(0,r.Cg)([(0,p.K)("fullTimeExtent")],h.prototype,"writeFullTimeExtent",null),(0,r.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"hasLiveData",void 0),(0,r.Cg)([(0,s.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"interval",void 0),(0,r.Cg)([(0,c.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],h.prototype,"readInterval",null),(0,r.Cg)([(0,p.K)("interval")],h.prototype,"writeInterval",null),(0,r.Cg)([(0,s.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"startField",void 0),(0,r.Cg)([(0,s.MZ)((0,u.P6)("timeReference",!0))],h.prototype,"timeZone",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"trackIdField",void 0),(0,r.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],h.prototype,"useTime",void 0),(0,r.Cg)([(0,s.MZ)({type:[Date],json:{read:!1}})],h.prototype,"stops",void 0),h=(0,r.Cg)([(0,s.$K)("esri.layers.support.TimeInfo")],h)},16194(e,t,n){n.d(t,{QX:()=>l,sS:()=>c,xY:()=>u});var r=n(4718),i=n(30279),o=n(62044),s=n(30524),a=n(41227);function l(e){const{popupTemplate:t,fieldsIndex:n}=e,r=t?.fieldInfos;if(!r?.length||!n)return;const s=[];for(const e of r){const{fieldName:t,label:r}=e,a=n.get(t);if(!a)continue;const l=r&&r!==a.alias?r:null,u=(0,o.iu)(e,a);(l||u)&&s.push(new i.A({name:a.name,alias:l,fieldFormat:u}))}return s.length?s:null}function u(e){const{fields:t}=e;if(!t?.length)return;const n=[];for(const e of t){const t=(0,o.qH)(e)?(0,o.$P)(e):null;t&&n.push(new i.A({name:e.name,fieldFormat:t}))}return n.length?n:null}function c(e,t){const{popupTemplate:n,fieldsIndex:i}=e;if(!n||!i)return;const s=function(e,t,n){t??=[],n=(0,r.o8)(n)??[];let i=!1;const s=new Map;for(const n of t){const t=e.fieldsIndex.get(n.name);t&&s.set(t.name,n)}for(const t of n){const n=e.fieldsIndex.get(t.fieldName);if(!n)continue;const r=s.get(n.name);t.label=r?.alias||n.alias,t.format=(0,o.qH)(n)&&r?.fieldFormat?(0,o.PK)(r.fieldFormat,n):null,i=!0,s.delete(n.name)}for(const t of s.values()){const r=p(e,t);r&&(n.push(r),i=!0)}return i?n:null}(e,t,n.fieldInfos);if(!s)return;const a=n.clone();return a.fieldInfos=s,a}function p(e,t){const{name:n,alias:r,fieldFormat:i}=t,l=e.fieldsIndex.get(n);if(!l||!r&&!i)return;const u=r||l.alias,c=(0,o.qH)(l)&&i?(0,o.PK)(i,l):null;return new a.A({fieldName:l.name,label:u,format:c,visible:!1,isEditable:(0,s.R$)(l,e)})}},17036(e,t,n){n.d(t,{p:()=>l});var r=n(44208),i=n(53966),o=n(20437),s=n(95466),a=n(30524);function l(){return{fields:{type:[o.A],value:null,set:function(e){if(e&&(0,r.A)("big-integer-warning-enabled")){const t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){const e=t.map(e=>`'${e.name}'`).join(", ");i.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return s.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const n=this.fieldsIndex?.has(t);n||i.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,a.DB)(this.fieldsIndex,e)}}}}},54625(e,t,n){n.d(t,{i_:()=>i});var r=n(30524);function i(e,t,n){t=(0,r.rS)(t)?.toLowerCase(),n=(0,r.rS)(n)?.toLowerCase();const i=e.map(e=>e.toLowerCase()),a=t?e[i.indexOf(t)]:null,l=n?e[i.indexOf(n)]:null;return{longitudeFieldName:a||e[i.indexOf(s.find(e=>i.includes(e)))],latitudeFieldName:l||e[i.indexOf(o.find(e=>i.includes(e)))]}}const o=["lat","lat83","latitude","latitude83","latdecdeg","lat_dd","y","ycenter","point_y"],s=["lon","lng","lng83","long","long83","longitude","longitude83","longdecdeg","long_dd","x","xcenter","point_x"]},5757(e,t,n){n.d(t,{B:()=>i,P:()=>r});const r=Symbol("PopupTemplateInstance");function i(e){return null!=e&&"object"==typeof e&&r in e}},10407(e,t,n){n.d(t,{It:()=>h,LG:()=>s,OM:()=>u,Sm:()=>c,Y:()=>a,bK:()=>l,mm:()=>d,sQ:()=>p});var r=n(91218),i=n(16930),o=n(28735);function s(e,t){if(!a(e,t)){const n=e.typeKeywords;n?n.push(t):e.typeKeywords=[t]}}function a(e,t){return!!e.typeKeywords?.includes(t)}function l(e){return a(e,d.HOSTED_SERVICE)}function u(e,t){const n=e.typeKeywords;if(n){const e=n.indexOf(t);e>-1&&n.splice(e,1)}}function c(e,t,n){n?s(e,t):u(e,t)}async function p(e){const t=e.clone().normalize();let n;if(t.length>1)for(const e of t)n?e.width>n.width&&(n=e):n=e;else n=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,o.ci)(e);const n=i.A.WGS84;return await(0,r.initializeProjection)(t,n),(0,r.project)(e,n)}(n)}const d={CHARTS:"Charts",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function h(e){const{portal:t,isOrgItem:n,itemControl:r}=e,i=t.user?.privileges;let o=!i||i.includes("features:user:edit"),s=!!n&&!!i?.includes("features:user:fullEdit");const a="update"===r||"admin"===r;return a?s=o=!0:s&&(o=!0),{features:{edit:o,fullEdit:s},content:{updateItem:a}}}},8947(e,t,n){n.d(t,{L:()=>s});var r=n(60999),i=n(17676),o=n(67076);async function s(e,t,n){const s=e&&e.getAtOrigin&&e.getAtOrigin("renderer",t.origin);if(s&&"unique-value"===s.type&&s.styleOrigin){const a=await(0,r.Ke)(s.populateFromStyle());if((0,i.Te)(n),!1===a.ok){const n=a.error;t?.messages&&t.messages.push(new o.A("renderer:style-reference",`Failed to create unique value renderer from style reference: ${n.message}`,{error:n,context:t})),e.clear("renderer",t?.origin)}}}},98205(e,t,n){n.d(t,{KZ:()=>a,eh:()=>s,gf:()=>o,of:()=>i,uY:()=>r});const r=Symbol("SizeVariableInstance");function i(e){return null!=e&&"object"==typeof e&&r in e}function o(e){return null!=e&&!isNaN(e)&&isFinite(e)}function s(e){return e.valueExpression?"expression":e.field&&"string"==typeof e.field?"field":"unknown"}function a(e,t){const n=t||s(e),r=e.valueUnit||"unknown";return"unknown"===n?"constant":e.stops?"stops":null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?"clamped-linear":"unknown"===r?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?"proportional":"additive":"identity":"real-world-size"}},41366(e,t,n){n.d(t,{K:()=>p,Q:()=>l});var r=n(5482),i=n(66552),o=n(53966),s=n(91429),a=n(93223);const l=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",p=e=>{const t=e;let n=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,n=null!=this.normalizationTotal;return t||n?(e=t&&c||n&&u||null,t&&n&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,r.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],n.prototype,"normalizationField",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],n.prototype,"normalizationMaxValue",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],n.prototype,"normalizationMinValue",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],n.prototype,"normalizationTotal",void 0),(0,r.Cg)([(0,a.e)(l,{name:"parameters.normalizationType"})],n.prototype,"normalizationType",null),n=(0,r.Cg)([(0,s.$K)("esri.rest.support.NormalizationBinParametersMixin")],n),n}}}]);