@arcgis/core 4.25.0-next.20221107 → 4.25.0

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 (1131) hide show
  1. package/Basemap.d.ts +1 -1
  2. package/Camera.d.ts +1 -1
  3. package/Color.d.ts +1 -1
  4. package/Graphic.d.ts +1 -1
  5. package/Ground.d.ts +1 -1
  6. package/Map.d.ts +1 -1
  7. package/PopupTemplate.d.ts +1 -1
  8. package/README.md +158 -158
  9. package/TimeExtent.d.ts +1 -1
  10. package/TimeInterval.d.ts +1 -1
  11. package/Viewpoint.d.ts +1 -1
  12. package/WebMap.d.ts +1 -1
  13. package/WebScene.d.ts +1 -1
  14. package/analysis/AreaMeasurementAnalysis.d.ts +1 -1
  15. package/analysis/DimensionAnalysis.d.ts +1 -1
  16. package/analysis/DimensionSimpleStyle.d.ts +1 -1
  17. package/analysis/DirectLineMeasurementAnalysis.d.ts +1 -1
  18. package/analysis/LengthDimension.d.ts +1 -1
  19. package/analysis/LineOfSightAnalysis.d.ts +1 -1
  20. package/analysis/LineOfSightAnalysisObserver.d.ts +1 -1
  21. package/analysis/LineOfSightAnalysisTarget.d.ts +1 -1
  22. package/analysis/SliceAnalysis.d.ts +1 -1
  23. package/analysis/SlicePlane.d.ts +1 -1
  24. package/applications/SceneViewer/colorUtils.d.ts +1 -1
  25. package/applications/SceneViewer/sceneViewerUtils.d.ts +1 -1
  26. package/arcade/Dictionary.js +1 -1
  27. package/arcade/Feature.js +1 -1
  28. package/arcade/arcadeAsyncRuntime.js +1 -1
  29. package/arcade/arcadeCompiler.js +1 -1
  30. package/arcade/arcadeRuntime.js +1 -1
  31. package/arcade/functions/convertdirection.js +1 -1
  32. package/arcade/functions/date.js +1 -1
  33. package/arcade/functions/featuresetbase.js +1 -1
  34. package/arcade/functions/featuresetgeom.js +1 -1
  35. package/arcade/functions/featuresetstats.js +1 -1
  36. package/arcade/functions/featuresetstring.js +1 -1
  37. package/arcade/functions/fieldStats.js +1 -1
  38. package/arcade/functions/geomasync.js +1 -1
  39. package/arcade/functions/geometry.js +1 -1
  40. package/arcade/functions/geomsync.js +1 -1
  41. package/arcade/functions/maths.js +1 -1
  42. package/arcade/functions/stats.js +1 -1
  43. package/arcade/functions/string.js +1 -1
  44. package/arcade/languageUtils.js +1 -1
  45. package/arcade.d.ts +1 -1
  46. package/assets/esri/core/libs/libtess/libtess.wasm +0 -0
  47. package/assets/esri/core/workers/RemoteClient.js +1 -1
  48. package/assets/esri/core/workers/chunks/{334289b69befdf9f051a.js → 078296f9475e71e4f0f3.js} +1 -1
  49. package/assets/esri/core/workers/chunks/0db5f8ff5323194e784e.js +1 -0
  50. package/assets/esri/core/workers/chunks/17d6c243ca6269b0f7ef.js +1 -0
  51. package/assets/esri/core/workers/chunks/{02485c243eba85358b53.js → 2ca1f23cfad22f0999d1.js} +1 -1
  52. package/assets/esri/core/workers/chunks/{53864fe7110bc2bd7fbb.js → 30f0ab816d40fb908d4f.js} +1 -1
  53. package/assets/esri/core/workers/chunks/{688a25a0a9e8d306db6f.js → 363700f66277a9176991.js} +1 -1
  54. package/assets/esri/core/workers/chunks/{1d00ffb8c70f69ee5080.js → 457b8f13a9dd47467181.js} +1 -1
  55. package/assets/esri/core/workers/chunks/45f8e5dec07a6638c2a5.js +1 -0
  56. package/assets/esri/core/workers/chunks/{2eb2d49c549e53934b8b.js → 4827f8f9cfb07d523b9c.js} +1 -1
  57. package/assets/esri/core/workers/chunks/60ff0086832d6fc6d610.js +1 -0
  58. package/assets/esri/core/workers/chunks/{f7b5efa569e0d79b3b32.js → 63ce5262d97c2afb4464.js} +1 -1
  59. package/assets/esri/core/workers/chunks/{360adb2e929956b690fe.js → 6eb70eaf5b1c9dce3462.js} +1 -1
  60. package/assets/esri/core/workers/chunks/{e967ffca641947212992.js → 73d73ace57e10c70477c.js} +1 -1
  61. package/assets/esri/core/workers/chunks/{3bdbcf98c174a54299b3.js → 7a30aede4493f5a830b9.js} +1 -1
  62. package/assets/esri/core/workers/chunks/{ab5dcf1031f222503610.js → 7aa0c0aa6103be8e79e3.js} +1 -1
  63. package/assets/esri/core/workers/chunks/{952a5983cf13247e4f95.js → 7b229e36e754923f461b.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{5be314edd66cddf6c67c.js → 820bab0252bb0c7815cf.js} +1 -1
  65. package/assets/esri/core/workers/chunks/90b51da02a1cc3efe2bd.js +1 -0
  66. package/assets/esri/core/workers/chunks/{284efc85d5716fadea7b.js → 96933809f486480aae0d.js} +1 -1
  67. package/assets/esri/core/workers/chunks/99207fe28825d6c192a8.js +1 -0
  68. package/assets/esri/core/workers/chunks/{83c28dd2b91a88539b9b.js → 9cd5b0a924da8a355c20.js} +1 -1
  69. package/assets/esri/core/workers/chunks/{073fdfd01d940c7b1da1.js → 9d7a75f6a078d899fb67.js} +1 -1
  70. package/assets/esri/core/workers/chunks/{da4d5d9555a7a9ae2622.js → a41b8bdbad5259141bd8.js} +1 -1
  71. package/assets/esri/core/workers/chunks/{a734a062e2785ab502f1.js → a7d53897a6e6795aae57.js} +1 -1
  72. package/assets/esri/core/workers/chunks/{77cc27d60c79df45dbc2.js → a7e19cd543b5836c018d.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{76b75ac18c8239687321.js → ac4c10194e904840a4ad.js} +1 -1
  74. package/assets/esri/core/workers/chunks/b0b87749cd03325bcbe8.js +1 -0
  75. package/assets/esri/core/workers/chunks/{bdd86772994515142cc7.js → bf097a329b91fcd7a300.js} +1 -1
  76. package/assets/esri/core/workers/chunks/{abf77557b82133530335.js → c096f2416aae1ab29160.js} +1 -1
  77. package/assets/esri/core/workers/chunks/{5de864843c0d3f4d291d.js → d4bfb6a3b8965be6f0d6.js} +1 -1
  78. package/assets/esri/core/workers/chunks/d9bba06ef5d22bd2d789.js +1 -0
  79. package/assets/esri/core/workers/chunks/{62edaa7821034031e1b5.js → e031a2fee155aa168858.js} +1 -1
  80. package/assets/esri/core/workers/chunks/{d9d220622f5e2a15184a.js → e1cd29288dd358fc47f3.js} +1 -1
  81. package/assets/esri/core/workers/chunks/{1dcdde67304e8fe11fc0.js → e6ed9ad383b1c1867f66.js} +1 -1
  82. package/assets/esri/core/workers/chunks/e73a724dd1495c60bca0.js +1 -0
  83. package/assets/esri/core/workers/chunks/{516cf307872149caf3da.js → ed542051ac78f78b0f94.js} +1 -1
  84. package/assets/esri/core/workers/chunks/{88b363928779b988418d.js → f2e5de0cb4d7a5986ba1.js} +1 -1
  85. package/assets/esri/core/workers/chunks/f34339724a36765b0d36.js +1 -0
  86. package/assets/esri/core/workers/chunks/{9ab6855b8d5f9a41e23c.js → f75e360ea7f73e188603.js} +1 -1
  87. package/assets/esri/core/workers/chunks/fa76467bfd7b1829b995.js +1 -0
  88. package/assets/esri/core/workers/chunks/fd75e64571cf18659aa1.js +1 -0
  89. package/assets/esri/css/main.scss +1 -1
  90. package/assets/esri/css/view.scss +1 -1
  91. package/assets/esri/images/support/loading-throb.gif +0 -0
  92. package/assets/esri/themes/base/_Overlay.scss +14 -14
  93. package/assets/esri/themes/base/_OverlayItem.scss +52 -52
  94. package/assets/esri/themes/base/_Ui.scss +149 -149
  95. package/assets/esri/themes/base/_View.scss +194 -194
  96. package/assets/esri/themes/base/_animation.scss +128 -128
  97. package/assets/esri/themes/base/_color.scss +58 -58
  98. package/assets/esri/themes/base/_colorVariables.scss +1 -1
  99. package/assets/esri/themes/base/_core.scss +172 -172
  100. package/assets/esri/themes/base/_functions.scss +23 -23
  101. package/assets/esri/themes/base/_layout.scss +11 -11
  102. package/assets/esri/themes/base/_mixins.scss +665 -665
  103. package/assets/esri/themes/base/_sizes.scss +130 -130
  104. package/assets/esri/themes/base/_type.scss +27 -27
  105. package/assets/esri/themes/base/colors/css/scss/brand_colors.scss +0 -0
  106. package/assets/esri/themes/base/colors/css/scss/calcite_core_colors.scss +0 -0
  107. package/assets/esri/themes/base/colors/css/scss/calcite_core_colors_dark.scss +0 -0
  108. package/assets/esri/themes/base/colors/css/scss/calcite_gray_colors.scss +0 -0
  109. package/assets/esri/themes/base/colors/css/scss/calcite_gray_colors_dark.scss +0 -0
  110. package/assets/esri/themes/base/colors/css/scss/calcite_highlight_colors.scss +0 -0
  111. package/assets/esri/themes/base/colors/css/scss/calcite_highlight_colors_dark.scss +0 -0
  112. package/assets/esri/themes/base/colors/css/scss/calcite_vibrant_colors.scss +0 -0
  113. package/assets/esri/themes/base/colors/css/scss/calcite_vibrant_colors_dark.scss +0 -0
  114. package/assets/esri/themes/base/colors/css/scss/complete.scss +0 -0
  115. package/assets/esri/themes/base/colors/patterns_json/scss/brand_colors.scss +0 -0
  116. package/assets/esri/themes/base/colors/patterns_json/scss/calcite_core_colors.scss +0 -0
  117. package/assets/esri/themes/base/colors/patterns_json/scss/calcite_core_colors_dark.scss +0 -0
  118. package/assets/esri/themes/base/colors/patterns_json/scss/calcite_gray_colors.scss +0 -0
  119. package/assets/esri/themes/base/colors/patterns_json/scss/calcite_gray_colors_dark.scss +0 -0
  120. package/assets/esri/themes/base/colors/patterns_json/scss/calcite_highlight_colors.scss +0 -0
  121. package/assets/esri/themes/base/colors/patterns_json/scss/calcite_highlight_colors_dark.scss +0 -0
  122. package/assets/esri/themes/base/colors/patterns_json/scss/calcite_vibrant_colors.scss +0 -0
  123. package/assets/esri/themes/base/colors/patterns_json/scss/calcite_vibrant_colors_dark.scss +0 -0
  124. package/assets/esri/themes/base/colors/patterns_json/scss/complete.scss +0 -0
  125. package/assets/esri/themes/base/fonts/fonts/014f2daa-c310-4a36-b9fd-79a8e0c48d44-ext.woff2 +0 -0
  126. package/assets/esri/themes/base/fonts/fonts/014f2daa-c310-4a36-b9fd-79a8e0c48d44-greek.woff2 +0 -0
  127. package/assets/esri/themes/base/fonts/fonts/014f2daa-c310-4a36-b9fd-79a8e0c48d44.woff2 +0 -0
  128. package/assets/esri/themes/base/fonts/fonts/0763eab1-d6ed-4c73-afb0-895f930df099.woff +0 -0
  129. package/assets/esri/themes/base/fonts/fonts/121524c1-8d82-4155-bfb3-fd2f15f09e93.woff +0 -0
  130. package/assets/esri/themes/base/fonts/fonts/12b00842-ec20-4c7f-aa72-802fb00f6cc4-ext.woff +0 -0
  131. package/assets/esri/themes/base/fonts/fonts/12b00842-ec20-4c7f-aa72-802fb00f6cc4-greek.woff +0 -0
  132. package/assets/esri/themes/base/fonts/fonts/12b00842-ec20-4c7f-aa72-802fb00f6cc4.woff +0 -0
  133. package/assets/esri/themes/base/fonts/fonts/13faf0ae-dcab-4d1c-9c08-f9ca339b6023-greek.woff +0 -0
  134. package/assets/esri/themes/base/fonts/fonts/13faf0ae-dcab-4d1c-9c08-f9ca339b6023.woff +0 -0
  135. package/assets/esri/themes/base/fonts/fonts/15e2e15a-2f36-4a01-b529-677d575bf76d.woff2 +0 -0
  136. package/assets/esri/themes/base/fonts/fonts/174d458a-81e0-4174-9473-35e3bf0a613c.woff2 +0 -0
  137. package/assets/esri/themes/base/fonts/fonts/18629a56-2ec3-4470-a65f-f82d7ec4d41b.woff2 +0 -0
  138. package/assets/esri/themes/base/fonts/fonts/1b3078ef-2971-4c95-b6ca-13ab528758cb.woff +0 -0
  139. package/assets/esri/themes/base/fonts/fonts/1fed34fa-250a-4d32-9f1d-42f978a2e0b2.woff2 +0 -0
  140. package/assets/esri/themes/base/fonts/fonts/2200dfff-da50-40b0-bc12-5e4b872a1998.woff2 +0 -0
  141. package/assets/esri/themes/base/fonts/fonts/281f890c-8412-4ee3-84ed-8b5d062d2ab8.woff2 +0 -0
  142. package/assets/esri/themes/base/fonts/fonts/2a1ae9a5-b6b5-405c-b660-bbdf1b356952.woff2 +0 -0
  143. package/assets/esri/themes/base/fonts/fonts/31da4b04-f98a-4b5f-b545-a31d26da99e5.woff2 +0 -0
  144. package/assets/esri/themes/base/fonts/fonts/31e0c094-e345-4a54-a797-d5f1a5885572.woff +0 -0
  145. package/assets/esri/themes/base/fonts/fonts/32a2c5cf-6736-44a6-a276-49ba7e030944.woff2 +0 -0
  146. package/assets/esri/themes/base/fonts/fonts/341bcc5e-7ac0-44ff-819d-5887892eab1b.woff +0 -0
  147. package/assets/esri/themes/base/fonts/fonts/390cea11-2b11-47ac-b3e8-43ded6ae89ee.woff +0 -0
  148. package/assets/esri/themes/base/fonts/fonts/394a711e-3459-44f3-85c7-e99c01e4b55c.woff +0 -0
  149. package/assets/esri/themes/base/fonts/fonts/3ae1e25e-3aa6-4061-a016-a079159f9d65.woff2 +0 -0
  150. package/assets/esri/themes/base/fonts/fonts/3d5260a1-e4cd-4567-80ed-69d23c40355f-ext.woff +0 -0
  151. package/assets/esri/themes/base/fonts/fonts/3d5260a1-e4cd-4567-80ed-69d23c40355f-greek.woff +0 -0
  152. package/assets/esri/themes/base/fonts/fonts/3d5260a1-e4cd-4567-80ed-69d23c40355f.woff +0 -0
  153. package/assets/esri/themes/base/fonts/fonts/40d36b4a-60c6-460a-bf43-4c948c23563e.woff2 +0 -0
  154. package/assets/esri/themes/base/fonts/fonts/41331c3c-3759-4462-8695-33c9a21b6a5b.woff2 +0 -0
  155. package/assets/esri/themes/base/fonts/fonts/439a2ded-d7a4-42d4-8660-ef8765fa7486.woff +0 -0
  156. package/assets/esri/themes/base/fonts/fonts/45b78f45-e639-4836-8612-e0892e120f14.woff +0 -0
  157. package/assets/esri/themes/base/fonts/fonts/46947883-147e-48dd-97c2-5a8ca675b998.woff2 +0 -0
  158. package/assets/esri/themes/base/fonts/fonts/4ab86b35-c0c2-42b5-98ad-4b6eba66b197.woff +0 -0
  159. package/assets/esri/themes/base/fonts/fonts/4d1d0d0d-9ea6-4117-901f-8b32ca1ab936.woff +0 -0
  160. package/assets/esri/themes/base/fonts/fonts/4daa2125-53c6-4da8-9614-8a1049eaccc2.woff2 +0 -0
  161. package/assets/esri/themes/base/fonts/fonts/4e4befe6-3f94-41d8-886c-1a6831818c6a.woff2 +0 -0
  162. package/assets/esri/themes/base/fonts/fonts/5729f02e-f6b0-4f35-8ee5-c2cffa65fa76.woff +0 -0
  163. package/assets/esri/themes/base/fonts/fonts/57a79aa3-9b06-4ba7-a9a4-2b766d826ecf.woff +0 -0
  164. package/assets/esri/themes/base/fonts/fonts/61f13f40-3829-413c-b6f5-b11abb272edc.woff +0 -0
  165. package/assets/esri/themes/base/fonts/fonts/6ea5fa46-5311-450b-8744-288a30c55348.woff2 +0 -0
  166. package/assets/esri/themes/base/fonts/fonts/75e2f3b1-1402-4916-8392-4db9ababea7b.woff2 +0 -0
  167. package/assets/esri/themes/base/fonts/fonts/77156710-6a58-4606-b189-b4185e75967b-ext.woff2 +0 -0
  168. package/assets/esri/themes/base/fonts/fonts/77156710-6a58-4606-b189-b4185e75967b-greek.woff2 +0 -0
  169. package/assets/esri/themes/base/fonts/fonts/77156710-6a58-4606-b189-b4185e75967b.woff2 +0 -0
  170. package/assets/esri/themes/base/fonts/fonts/77caabd3-1877-4634-85c8-8e398a093b99-ext.woff2 +0 -0
  171. package/assets/esri/themes/base/fonts/fonts/77caabd3-1877-4634-85c8-8e398a093b99-greek.woff2 +0 -0
  172. package/assets/esri/themes/base/fonts/fonts/77caabd3-1877-4634-85c8-8e398a093b99.woff2 +0 -0
  173. package/assets/esri/themes/base/fonts/fonts/7db1f672-3a8f-4d19-9c49-7f61aed450b5.woff2 +0 -0
  174. package/assets/esri/themes/base/fonts/fonts/89370128-6a74-471d-ba04-fa0b59bc8ed3.woff +0 -0
  175. package/assets/esri/themes/base/fonts/fonts/8a65abc7-6463-4895-b3e6-5e203b80b7e2.woff2 +0 -0
  176. package/assets/esri/themes/base/fonts/fonts/8b01637a-f445-4f10-92ea-b84a355f7690.woff +0 -0
  177. package/assets/esri/themes/base/fonts/fonts/94aa531e-7746-4df0-bb6e-349891f2eda5.woff2 +0 -0
  178. package/assets/esri/themes/base/fonts/fonts/97694c53-4e94-4f9e-969b-a148adfcdcfd.woff2 +0 -0
  179. package/assets/esri/themes/base/fonts/fonts/97b330aa-d7fa-4f85-830f-b11a5041b157.woff +0 -0
  180. package/assets/esri/themes/base/fonts/fonts/9851da0a-2481-4687-bbeb-ed4ab170dc38-ext.woff2 +0 -0
  181. package/assets/esri/themes/base/fonts/fonts/9851da0a-2481-4687-bbeb-ed4ab170dc38.woff2 +0 -0
  182. package/assets/esri/themes/base/fonts/fonts/9c1ab088-0cb0-402f-9cea-170f0fea14a8.woff2 +0 -0
  183. package/assets/esri/themes/base/fonts/fonts/a1049d00-54ad-4589-95b8-d353f7ab52f0-greek.woff2 +0 -0
  184. package/assets/esri/themes/base/fonts/fonts/a1049d00-54ad-4589-95b8-d353f7ab52f0.woff2 +0 -0
  185. package/assets/esri/themes/base/fonts/fonts/a8aeea1b-1a9d-45b7-8ad9-7c71824599e2.woff +0 -0
  186. package/assets/esri/themes/base/fonts/fonts/a9eaf4d3-6427-42df-9306-3ea1270f7b1a.woff2 +0 -0
  187. package/assets/esri/themes/base/fonts/fonts/ae454969-59fb-4d42-aecb-dea30459bc7e.woff +0 -0
  188. package/assets/esri/themes/base/fonts/fonts/b0b84e4d-2164-45c7-a674-1662f19f3ba6-basic.woff2 +0 -0
  189. package/assets/esri/themes/base/fonts/fonts/b0b84e4d-2164-45c7-a674-1662f19f3ba6-ext.woff2 +0 -0
  190. package/assets/esri/themes/base/fonts/fonts/b0b84e4d-2164-45c7-a674-1662f19f3ba6.woff2 +0 -0
  191. package/assets/esri/themes/base/fonts/fonts/b17468ea-cf53-4635-984b-4d930a68ed4d.woff2 +0 -0
  192. package/assets/esri/themes/base/fonts/fonts/bb93c563-55f6-494f-8e1e-448538d95df1.woff +0 -0
  193. package/assets/esri/themes/base/fonts/fonts/c1905e2e-a1cb-49de-9bb0-ce3c5ffc85ae.woff2 +0 -0
  194. package/assets/esri/themes/base/fonts/fonts/c4cc9032-7eee-4a6e-ae8b-f384b1349bcf.woff2 +0 -0
  195. package/assets/esri/themes/base/fonts/fonts/c744f2a2-d6a9-4c18-b0ec-f17376acde3e.woff +0 -0
  196. package/assets/esri/themes/base/fonts/fonts/cebce072-9561-4c6d-8c89-f0cefec63289-ext.woff +0 -0
  197. package/assets/esri/themes/base/fonts/fonts/cebce072-9561-4c6d-8c89-f0cefec63289.woff +0 -0
  198. package/assets/esri/themes/base/fonts/fonts/d4ffabb3-dd7c-472a-bdfb-6700383c6354-ext.woff +0 -0
  199. package/assets/esri/themes/base/fonts/fonts/d4ffabb3-dd7c-472a-bdfb-6700383c6354-greek.woff +0 -0
  200. package/assets/esri/themes/base/fonts/fonts/d4ffabb3-dd7c-472a-bdfb-6700383c6354.woff +0 -0
  201. package/assets/esri/themes/base/fonts/fonts/d824d78b-aab0-44e3-8c56-6c3dcf551952.woff2 +0 -0
  202. package/assets/esri/themes/base/fonts/fonts/d98fb015-7ef6-404f-a58a-5c9242d79770.woff +0 -0
  203. package/assets/esri/themes/base/fonts/fonts/d9e4040d-32ff-4a1c-ac04-927a781da1f5.woff +0 -0
  204. package/assets/esri/themes/base/fonts/fonts/dc10b3bd-5076-4df5-a5f5-e5961f4a6938.woff +0 -0
  205. package/assets/esri/themes/base/fonts/fonts/dd7b7d4e-21ab-4ac0-b26a-d032c992f3c5.woff2 +0 -0
  206. package/assets/esri/themes/base/fonts/fonts/e388ac99-8c6a-4451-8690-1d15b4d45adb-ext.woff +0 -0
  207. package/assets/esri/themes/base/fonts/fonts/e388ac99-8c6a-4451-8690-1d15b4d45adb-greek.woff +0 -0
  208. package/assets/esri/themes/base/fonts/fonts/e388ac99-8c6a-4451-8690-1d15b4d45adb.woff +0 -0
  209. package/assets/esri/themes/base/fonts/fonts/e57662ff-b1ef-4122-88c1-61bbdabeb365.woff +0 -0
  210. package/assets/esri/themes/base/fonts/fonts/e78b17bb-11fb-4860-8d66-4ee0d0c1e117-ext.woff2 +0 -0
  211. package/assets/esri/themes/base/fonts/fonts/e78b17bb-11fb-4860-8d66-4ee0d0c1e117-greek.woff2 +0 -0
  212. package/assets/esri/themes/base/fonts/fonts/e78b17bb-11fb-4860-8d66-4ee0d0c1e117.woff2 +0 -0
  213. package/assets/esri/themes/base/fonts/fonts/e91d1bbf-3fea-45e2-b003-a22b12ce6e5f-basic.woff +0 -0
  214. package/assets/esri/themes/base/fonts/fonts/e91d1bbf-3fea-45e2-b003-a22b12ce6e5f-ext.woff +0 -0
  215. package/assets/esri/themes/base/fonts/fonts/e91d1bbf-3fea-45e2-b003-a22b12ce6e5f.woff +0 -0
  216. package/assets/esri/themes/base/fonts/fonts/f1799750-0952-403f-8108-b2402eed0f62.woff +0 -0
  217. package/assets/esri/themes/base/fonts/fonts/f4a085c3-1c64-4fc0-a598-26f3e658c2b0.woff +0 -0
  218. package/assets/esri/themes/base/fonts/fonts/fa71df11-7b19-4baf-8ff7-3537dea718f0.woff +0 -0
  219. package/assets/esri/themes/base/icons/style.css +0 -0
  220. package/assets/esri/themes/base/icons/style.scss +0 -0
  221. package/assets/esri/themes/base/icons/variables.scss +0 -0
  222. package/assets/esri/themes/base/images/files/archive-32.svg +0 -0
  223. package/assets/esri/themes/base/images/files/cad-32.svg +0 -0
  224. package/assets/esri/themes/base/images/files/code-32.svg +0 -0
  225. package/assets/esri/themes/base/images/files/csv-32.svg +0 -0
  226. package/assets/esri/themes/base/images/files/excel-32.svg +0 -0
  227. package/assets/esri/themes/base/images/files/generic-32.svg +0 -0
  228. package/assets/esri/themes/base/images/files/gpx-32.svg +0 -0
  229. package/assets/esri/themes/base/images/files/image-32.svg +0 -0
  230. package/assets/esri/themes/base/images/files/pdf-32.svg +0 -0
  231. package/assets/esri/themes/base/images/files/report-32.svg +0 -0
  232. package/assets/esri/themes/base/images/files/sound-32.svg +0 -0
  233. package/assets/esri/themes/base/images/files/text-32.svg +0 -0
  234. package/assets/esri/themes/base/images/files/video-32.svg +0 -0
  235. package/assets/esri/themes/base/images/files/word-32.svg +0 -0
  236. package/assets/esri/themes/base/images/files/zip-32.svg +0 -0
  237. package/assets/esri/themes/base/images/loading-throb.gif +0 -0
  238. package/assets/esri/themes/base/widgets/_AreaMeasurement2D.scss +14 -14
  239. package/assets/esri/themes/base/widgets/_AreaMeasurement3D.scss +14 -14
  240. package/assets/esri/themes/base/widgets/_Attachments.scss +286 -286
  241. package/assets/esri/themes/base/widgets/_Attribution.scss +57 -57
  242. package/assets/esri/themes/base/widgets/_BasemapGallery.scss +168 -168
  243. package/assets/esri/themes/base/widgets/_BasemapLayerList.scss +530 -530
  244. package/assets/esri/themes/base/widgets/_BasemapToggle.scss +123 -123
  245. package/assets/esri/themes/base/widgets/_BinaryColorSizeSlider.scss +7 -7
  246. package/assets/esri/themes/base/widgets/_Bookmarks.scss +349 -349
  247. package/assets/esri/themes/base/widgets/_BuildingDisciplinesTree.scss +151 -151
  248. package/assets/esri/themes/base/widgets/_BuildingExplorer.scss +51 -51
  249. package/assets/esri/themes/base/widgets/_BuildingLevelPicker.scss +253 -253
  250. package/assets/esri/themes/base/widgets/_BuildingPhasePicker.scss +92 -92
  251. package/assets/esri/themes/base/widgets/_ButtonMenu.scss +129 -129
  252. package/assets/esri/themes/base/widgets/_ClassedColorSlider.scss +7 -7
  253. package/assets/esri/themes/base/widgets/_ClassedSizeSlider.scss +7 -7
  254. package/assets/esri/themes/base/widgets/_ColorPicker.scss +70 -70
  255. package/assets/esri/themes/base/widgets/_ColorSizeSlider.scss +7 -7
  256. package/assets/esri/themes/base/widgets/_ColorSlider.scss +7 -7
  257. package/assets/esri/themes/base/widgets/_Compass.scss +16 -16
  258. package/assets/esri/themes/base/widgets/_CoordinateConversion.scss +236 -236
  259. package/assets/esri/themes/base/widgets/_DatePicker.scss +169 -169
  260. package/assets/esri/themes/base/widgets/_Daylight.scss +270 -270
  261. package/assets/esri/themes/base/widgets/_DirectLineMeasurement3D.scss +7 -7
  262. package/assets/esri/themes/base/widgets/_Directions.scss +472 -472
  263. package/assets/esri/themes/base/widgets/_DistanceMeasurement2D.scss +7 -7
  264. package/assets/esri/themes/base/widgets/_Editor.scss +260 -260
  265. package/assets/esri/themes/base/widgets/_ElevationProfile.scss +439 -439
  266. package/assets/esri/themes/base/widgets/_Expand.scss +264 -264
  267. package/assets/esri/themes/base/widgets/_Feature.scss +94 -94
  268. package/assets/esri/themes/base/widgets/_FeatureContent.scss +97 -97
  269. package/assets/esri/themes/base/widgets/_FeatureForm.scss +236 -236
  270. package/assets/esri/themes/base/widgets/_FeatureMedia.scss +86 -86
  271. package/assets/esri/themes/base/widgets/_FeatureTable.scss +247 -247
  272. package/assets/esri/themes/base/widgets/_FeatureTemplates.scss +44 -44
  273. package/assets/esri/themes/base/widgets/_FloorFilter.scss +480 -480
  274. package/assets/esri/themes/base/widgets/_Grid.scss +71 -71
  275. package/assets/esri/themes/base/widgets/_HeatmapSlider.scss +7 -7
  276. package/assets/esri/themes/base/widgets/_Histogram.scss +56 -56
  277. package/assets/esri/themes/base/widgets/_HistogramRangeSlider.scss +105 -105
  278. package/assets/esri/themes/base/widgets/_IdentityForm.scss +22 -22
  279. package/assets/esri/themes/base/widgets/_IdentityModal.scss +105 -105
  280. package/assets/esri/themes/base/widgets/_ItemList.scss +143 -143
  281. package/assets/esri/themes/base/widgets/_LayerList.scss +453 -453
  282. package/assets/esri/themes/base/widgets/_Legend.scss +551 -551
  283. package/assets/esri/themes/base/widgets/_LineOfSight.scss +41 -41
  284. package/assets/esri/themes/base/widgets/_Measurement.scss +6 -6
  285. package/assets/esri/themes/base/widgets/_NavigationToggle.scss +99 -99
  286. package/assets/esri/themes/base/widgets/_OpacitySlider.scss +7 -7
  287. package/assets/esri/themes/base/widgets/_Popup.scss +759 -759
  288. package/assets/esri/themes/base/widgets/_Print.scss +269 -269
  289. package/assets/esri/themes/base/widgets/_SaveLayer.scss +40 -40
  290. package/assets/esri/themes/base/widgets/_ScaleBar.scss +160 -160
  291. package/assets/esri/themes/base/widgets/_ScaleRangeSlider.scss +211 -211
  292. package/assets/esri/themes/base/widgets/_Search.scss +193 -193
  293. package/assets/esri/themes/base/widgets/_SearchResultRenderer.scss +34 -34
  294. package/assets/esri/themes/base/widgets/_SelectionToolbar.scss +18 -18
  295. package/assets/esri/themes/base/widgets/_ShadowCast.scss +202 -202
  296. package/assets/esri/themes/base/widgets/_SizeSlider.scss +7 -7
  297. package/assets/esri/themes/base/widgets/_Sketch.scss +151 -151
  298. package/assets/esri/themes/base/widgets/_Slice.scss +80 -80
  299. package/assets/esri/themes/base/widgets/_Slider.scss +367 -367
  300. package/assets/esri/themes/base/widgets/_SnappingControls.scss +143 -143
  301. package/assets/esri/themes/base/widgets/_Spinner.scss +76 -76
  302. package/assets/esri/themes/base/widgets/_Swipe.scss +105 -105
  303. package/assets/esri/themes/base/widgets/_TableList.scss +325 -325
  304. package/assets/esri/themes/base/widgets/_TimePicker.scss +15 -15
  305. package/assets/esri/themes/base/widgets/_TimeSlider.scss +404 -404
  306. package/assets/esri/themes/base/widgets/_Tooltip.scss +61 -61
  307. package/assets/esri/themes/base/widgets/_UtilityNetworkTrace.scss +47 -47
  308. package/assets/esri/themes/base/widgets/_Weather.scss +59 -59
  309. package/assets/esri/themes/base/widgets/_Widget.scss +688 -688
  310. package/assets/esri/themes/base/widgets/_Zoom.scss +45 -45
  311. package/assets/esri/themes/dark/main.scss +34 -34
  312. package/assets/esri/themes/light/main.scss +9 -9
  313. package/assets/esri/themes/light/view.scss +9 -9
  314. package/assets/esri/views/3d/analysis/Slice/images/heading-rotate.svg +4 -4
  315. package/assets/esri/views/3d/analysis/Slice/images/tilt-rotate.svg +80 -80
  316. package/assets/esri/views/3d/webgl-engine/lib/intersectorUtils.svg +117 -117
  317. package/assets/esri/views/magnifier/mask.ts.svg +5 -5
  318. package/assets/esri/views/magnifier/overlay.ts.svg +36 -36
  319. package/chunks/array.js +1 -1
  320. package/chunks/languageUtils.js +1 -1
  321. package/config.d.ts +1 -1
  322. package/config.js +1 -1
  323. package/copyright.txt +1278 -1278
  324. package/core/Accessor.d.ts +1 -1
  325. package/core/Collection.d.ts +1 -1
  326. package/core/Error.d.ts +1 -1
  327. package/core/Evented.d.ts +1 -1
  328. package/core/HandleOwner.d.ts +1 -1
  329. package/core/Handles.d.ts +1 -1
  330. package/core/Identifiable.d.ts +1 -1
  331. package/core/JSONSupport.d.ts +1 -1
  332. package/core/Loadable.d.ts +1 -1
  333. package/core/Promise.d.ts +1 -1
  334. package/core/accessorSupport/decorators.d.ts +1 -1
  335. package/core/lang.d.ts +1 -1
  336. package/core/lang.js +1 -1
  337. package/core/promiseUtils.d.ts +1 -1
  338. package/core/quantity.d.ts +1 -1
  339. package/core/reactiveUtils.d.ts +1 -1
  340. package/core/scheduling.d.ts +1 -1
  341. package/core/sql/WhereClause.d.ts +1 -1
  342. package/core/sql.d.ts +1 -1
  343. package/core/units.d.ts +1 -1
  344. package/core/urlUtils.d.ts +1 -1
  345. package/core/watchUtils.d.ts +1 -1
  346. package/core/workers/Connection.d.ts +1 -1
  347. package/core/workers.d.ts +1 -1
  348. package/form/ExpressionInfo.d.ts +1 -1
  349. package/form/FormTemplate.d.ts +1 -1
  350. package/form/elements/Element.d.ts +1 -1
  351. package/form/elements/FieldElement.d.ts +1 -1
  352. package/form/elements/GroupElement.d.ts +1 -1
  353. package/form/elements/inputs/BarcodeScannerInput.d.ts +1 -1
  354. package/form/elements/inputs/ComboBoxInput.d.ts +1 -1
  355. package/form/elements/inputs/DateTimePickerInput.d.ts +1 -1
  356. package/form/elements/inputs/RadioButtonsInput.d.ts +1 -1
  357. package/form/elements/inputs/SwitchInput.d.ts +1 -1
  358. package/form/elements/inputs/TextAreaInput.d.ts +1 -1
  359. package/form/elements/inputs/TextBoxInput.d.ts +1 -1
  360. package/form/elements/inputs/TextInput.d.ts +1 -1
  361. package/form/elements/support/inputs.d.ts +1 -1
  362. package/form/support/elements.d.ts +1 -1
  363. package/geometry/Circle.d.ts +1 -1
  364. package/geometry/Extent.d.ts +1 -1
  365. package/geometry/Geometry.d.ts +1 -1
  366. package/geometry/HeightModelInfo.d.ts +1 -1
  367. package/geometry/Mesh.d.ts +1 -1
  368. package/geometry/Multipoint.d.ts +1 -1
  369. package/geometry/Point.d.ts +1 -1
  370. package/geometry/Polygon.d.ts +1 -1
  371. package/geometry/Polyline.d.ts +1 -1
  372. package/geometry/SpatialReference.d.ts +1 -1
  373. package/geometry/coordinateFormatter.d.ts +1 -1
  374. package/geometry/geometryEngine.d.ts +1 -1
  375. package/geometry/geometryEngineAsync.d.ts +1 -1
  376. package/geometry/projection.d.ts +1 -1
  377. package/geometry/support/GeographicTransformation.d.ts +1 -1
  378. package/geometry/support/GeographicTransformationStep.d.ts +1 -1
  379. package/geometry/support/MeshComponent.d.ts +1 -1
  380. package/geometry/support/MeshMaterial.d.ts +1 -1
  381. package/geometry/support/MeshMaterialMetallicRoughness.d.ts +1 -1
  382. package/geometry/support/MeshTexture.d.ts +1 -1
  383. package/geometry/support/geodesicUtils.d.ts +1 -1
  384. package/geometry/support/jsonUtils.d.ts +1 -1
  385. package/geometry/support/meshUtils.d.ts +1 -1
  386. package/geometry/support/normalizeUtils.d.ts +1 -1
  387. package/geometry/support/webMercatorUtils.d.ts +1 -1
  388. package/geometry.d.ts +1 -1
  389. package/identity/Credential.d.ts +1 -1
  390. package/identity/IdentityManager.d.ts +1 -1
  391. package/identity/OAuthInfo.d.ts +1 -1
  392. package/identity/ServerInfo.d.ts +1 -1
  393. package/interfaces.d.ts +2 -2
  394. package/intl.d.ts +1 -1
  395. package/kernel.d.ts +1 -1
  396. package/layers/BaseDynamicLayer.d.ts +1 -1
  397. package/layers/BaseElevationLayer.d.ts +1 -1
  398. package/layers/BaseTileLayer.d.ts +1 -1
  399. package/layers/BingMapsLayer.d.ts +1 -1
  400. package/layers/BuildingSceneLayer.d.ts +1 -1
  401. package/layers/CSVLayer.d.ts +1 -1
  402. package/layers/DimensionLayer.d.ts +1 -1
  403. package/layers/ElevationLayer.d.ts +1 -1
  404. package/layers/FeatureLayer.d.ts +1 -1
  405. package/layers/GeoJSONLayer.d.ts +1 -1
  406. package/layers/GeoRSSLayer.d.ts +1 -1
  407. package/layers/GraphicsLayer.d.ts +1 -1
  408. package/layers/GroupLayer.d.ts +1 -1
  409. package/layers/ImageryLayer.d.ts +1 -1
  410. package/layers/ImageryTileLayer.d.ts +1 -1
  411. package/layers/IntegratedMeshLayer.d.ts +1 -1
  412. package/layers/KMLLayer.d.ts +1 -1
  413. package/layers/Layer.d.ts +1 -1
  414. package/layers/LineOfSightLayer.d.ts +1 -1
  415. package/layers/MapImageLayer.d.ts +1 -1
  416. package/layers/MapNotesLayer.d.ts +1 -1
  417. package/layers/MediaLayer.d.ts +1 -1
  418. package/layers/OGCFeatureLayer.d.ts +1 -1
  419. package/layers/OpenStreetMapLayer.d.ts +1 -1
  420. package/layers/PointCloudLayer.d.ts +1 -1
  421. package/layers/RouteLayer.d.ts +1 -1
  422. package/layers/SceneLayer.d.ts +1 -1
  423. package/layers/StreamLayer.d.ts +1 -1
  424. package/layers/SubtypeGroupLayer.d.ts +1 -1
  425. package/layers/TileLayer.d.ts +1 -1
  426. package/layers/UnknownLayer.d.ts +1 -1
  427. package/layers/UnsupportedLayer.d.ts +1 -1
  428. package/layers/VectorTileLayer.d.ts +1 -1
  429. package/layers/VoxelLayer.d.ts +1 -1
  430. package/layers/WCSLayer.d.ts +1 -1
  431. package/layers/WFSLayer.d.ts +1 -1
  432. package/layers/WMSLayer.d.ts +1 -1
  433. package/layers/WMSLayer.js +1 -1
  434. package/layers/WMTSLayer.d.ts +1 -1
  435. package/layers/WMTSLayer.js +1 -1
  436. package/layers/WebTileLayer.d.ts +1 -1
  437. package/layers/buildingSublayers/BuildingComponentSublayer.d.ts +1 -1
  438. package/layers/buildingSublayers/BuildingGroupSublayer.d.ts +1 -1
  439. package/layers/buildingSublayers/BuildingSublayer.d.ts +1 -1
  440. package/layers/graphics/data/QueryEngineCapabilities.js +1 -1
  441. package/layers/graphics/sources/OGCFeatureSource.js +1 -1
  442. package/layers/mixins/APIKeyMixin.d.ts +1 -1
  443. package/layers/mixins/ArcGISCachedService.d.ts +1 -1
  444. package/layers/mixins/ArcGISImageService.d.ts +1 -1
  445. package/layers/mixins/ArcGISImageService.js +1 -1
  446. package/layers/mixins/ArcGISMapService.d.ts +1 -1
  447. package/layers/mixins/BlendLayer.d.ts +1 -1
  448. package/layers/mixins/CustomParametersMixin.d.ts +1 -1
  449. package/layers/mixins/FeatureEffectLayer.d.ts +1 -1
  450. package/layers/mixins/FeatureLayerBase.d.ts +1 -1
  451. package/layers/mixins/FeatureReductionLayer.d.ts +1 -1
  452. package/layers/mixins/ImageryTileMixin.d.ts +1 -1
  453. package/layers/mixins/OrderedLayer.d.ts +1 -1
  454. package/layers/mixins/PortalLayer.d.ts +1 -1
  455. package/layers/mixins/PublishableLayer.d.ts +1 -1
  456. package/layers/mixins/RefreshableLayer.d.ts +1 -1
  457. package/layers/mixins/ScaleRangeLayer.d.ts +1 -1
  458. package/layers/mixins/SceneService.d.ts +1 -1
  459. package/layers/mixins/SublayersOwner.d.ts +1 -1
  460. package/layers/mixins/TemporalLayer.d.ts +1 -1
  461. package/layers/ogc/wfsUtils.d.ts +1 -1
  462. package/layers/pointCloudFilters/PointCloudFilter.d.ts +1 -1
  463. package/layers/pointCloudFilters/PointCloudReturnFilter.d.ts +1 -1
  464. package/layers/pointCloudFilters/PointCloudValueFilter.d.ts +1 -1
  465. package/layers/support/AggregateField.d.ts +1 -1
  466. package/layers/support/BuildingFilter.d.ts +1 -1
  467. package/layers/support/BuildingSummaryStatistics.d.ts +1 -1
  468. package/layers/support/CodedValueDomain.d.ts +1 -1
  469. package/layers/support/ControlPointsGeoreference.d.ts +1 -1
  470. package/layers/support/CornersGeoreference.d.ts +1 -1
  471. package/layers/support/DimensionalDefinition.d.ts +1 -1
  472. package/layers/support/Domain.d.ts +1 -1
  473. package/layers/support/ElevationSampler.d.ts +1 -1
  474. package/layers/support/ExpressionInfo.d.ts +1 -1
  475. package/layers/support/ExtentAndRotationGeoreference.d.ts +1 -1
  476. package/layers/support/FacilityLayerInfo.d.ts +1 -1
  477. package/layers/support/FeatureEffect.d.ts +1 -1
  478. package/layers/support/FeatureFilter.d.ts +1 -1
  479. package/layers/support/FeatureIndex.js +1 -1
  480. package/layers/support/FeatureReductionBinning.d.ts +1 -1
  481. package/layers/support/FeatureReductionCluster.d.ts +1 -1
  482. package/layers/support/FeatureReductionSelection.d.ts +1 -1
  483. package/layers/support/FeatureTemplate.d.ts +1 -1
  484. package/layers/support/FeatureType.d.ts +1 -1
  485. package/layers/support/Field.d.ts +1 -1
  486. package/layers/support/FieldsIndex.d.ts +1 -1
  487. package/layers/support/GeometryFieldsInfo.d.ts +1 -1
  488. package/layers/support/ImageElement.d.ts +1 -1
  489. package/layers/support/ImageParameters.d.ts +1 -1
  490. package/layers/support/InheritedDomain.d.ts +1 -1
  491. package/layers/support/KMLSublayer.d.ts +1 -1
  492. package/layers/support/LOD.d.ts +1 -1
  493. package/layers/support/LabelClass.d.ts +1 -1
  494. package/layers/support/LayerFloorInfo.d.ts +1 -1
  495. package/layers/support/LevelLayerInfo.d.ts +1 -1
  496. package/layers/support/LocalMediaElementSource.d.ts +1 -1
  497. package/layers/support/MapImage.d.ts +1 -1
  498. package/layers/support/MediaElementBase.d.ts +1 -1
  499. package/layers/support/MosaicRule.d.ts +1 -1
  500. package/layers/support/MultidimensionalSubset.d.ts +1 -1
  501. package/layers/support/PixelBlock.d.ts +1 -1
  502. package/layers/support/PublishingInfo.d.ts +1 -1
  503. package/layers/support/RangeDomain.d.ts +1 -1
  504. package/layers/support/RasterFunction.d.ts +1 -1
  505. package/layers/support/RasterInfo.d.ts +1 -1
  506. package/layers/support/Relationship.d.ts +1 -1
  507. package/layers/support/RouteStopSymbols.d.ts +1 -1
  508. package/layers/support/RouteSymbols.d.ts +1 -1
  509. package/layers/support/SceneFilter.d.ts +1 -1
  510. package/layers/support/SceneModification.d.ts +1 -1
  511. package/layers/support/SceneModifications.d.ts +1 -1
  512. package/layers/support/SiteLayerInfo.d.ts +1 -1
  513. package/layers/support/StreamConnection.d.ts +1 -1
  514. package/layers/support/Sublayer.d.ts +1 -1
  515. package/layers/support/SubtypeSublayer.d.ts +1 -1
  516. package/layers/support/TileInfo.d.ts +1 -1
  517. package/layers/support/TileMatrixSet.d.ts +1 -1
  518. package/layers/support/TimeInfo.d.ts +1 -1
  519. package/layers/support/TimeReference.d.ts +1 -1
  520. package/layers/support/VideoElement.d.ts +1 -1
  521. package/layers/support/VoxelVariable.d.ts +1 -1
  522. package/layers/support/VoxelVolumeStyle.d.ts +1 -1
  523. package/layers/support/WMSSublayer.d.ts +1 -1
  524. package/layers/support/WMTSStyle.d.ts +1 -1
  525. package/layers/support/WMTSSublayer.d.ts +1 -1
  526. package/layers/support/arcadeUtils.d.ts +1 -1
  527. package/layers/support/capabilities.js +1 -1
  528. package/layers/support/featureLayerUtils.js +1 -1
  529. package/layers/support/fieldUtils.d.ts +1 -1
  530. package/layers/voxel/VoxelDynamicSection.d.ts +1 -1
  531. package/layers/voxel/VoxelSlice.d.ts +1 -1
  532. package/layers/voxel/VoxelTransferFunctionStyle.d.ts +1 -1
  533. package/layers/voxel/VoxelVariable.d.ts +1 -1
  534. package/layers/voxel/VoxelVariableStyle.d.ts +1 -1
  535. package/layers/voxel/VoxelVolume.d.ts +1 -1
  536. package/layers/voxel/VoxelVolumeStyle.d.ts +1 -1
  537. package/networks/Network.d.ts +1 -1
  538. package/networks/UtilityNetwork.d.ts +1 -1
  539. package/networks/support/NamedTraceConfiguration.d.ts +1 -1
  540. package/networks/support/NetworkSystemLayers.d.ts +1 -1
  541. package/networks/support/Terminal.d.ts +1 -1
  542. package/networks/support/TerminalConfiguration.d.ts +1 -1
  543. package/networks/support/TraceConfiguration.d.ts +1 -1
  544. package/networks/support/UNTraceConfiguration.d.ts +1 -1
  545. package/package.json +1 -1
  546. package/pointCloudRenderers.d.ts +1 -1
  547. package/popup/ElementExpressionInfo.d.ts +1 -1
  548. package/popup/ExpressionInfo.d.ts +1 -1
  549. package/popup/FieldInfo.d.ts +1 -1
  550. package/popup/LayerOptions.d.ts +1 -1
  551. package/popup/RelatedRecordsInfo.d.ts +1 -1
  552. package/popup/content/AttachmentsContent.d.ts +1 -1
  553. package/popup/content/BarChartMediaInfo.d.ts +1 -1
  554. package/popup/content/ColumnChartMediaInfo.d.ts +1 -1
  555. package/popup/content/Content.d.ts +1 -1
  556. package/popup/content/CustomContent.d.ts +1 -1
  557. package/popup/content/ExpressionContent.d.ts +1 -1
  558. package/popup/content/FieldsContent.d.ts +1 -1
  559. package/popup/content/ImageMediaInfo.d.ts +1 -1
  560. package/popup/content/LineChartMediaInfo.d.ts +1 -1
  561. package/popup/content/MediaContent.d.ts +1 -1
  562. package/popup/content/PieChartMediaInfo.d.ts +1 -1
  563. package/popup/content/RelationshipContent.d.ts +1 -1
  564. package/popup/content/TextContent.d.ts +1 -1
  565. package/popup/content/mixins/ChartMediaInfo.d.ts +1 -1
  566. package/popup/content/mixins/MediaInfo.d.ts +1 -1
  567. package/popup/content/support/ChartMediaInfoValue.d.ts +1 -1
  568. package/popup/content/support/ChartMediaInfoValueSeries.d.ts +1 -1
  569. package/popup/content/support/ImageMediaInfoValue.d.ts +1 -1
  570. package/popup/content.d.ts +1 -1
  571. package/popup/support/FieldInfoFormat.d.ts +1 -1
  572. package/popup/support/RelatedRecordsInfoFieldOrder.d.ts +1 -1
  573. package/portal/Portal.d.ts +1 -1
  574. package/portal/PortalFolder.d.ts +1 -1
  575. package/portal/PortalGroup.d.ts +1 -1
  576. package/portal/PortalItem.d.ts +1 -1
  577. package/portal/PortalItemResource.d.ts +1 -1
  578. package/portal/PortalQueryParams.d.ts +1 -1
  579. package/portal/PortalQueryResult.d.ts +1 -1
  580. package/portal/PortalRating.d.ts +1 -1
  581. package/portal/PortalUser.d.ts +1 -1
  582. package/rasterRenderers.d.ts +1 -1
  583. package/renderers/ClassBreaksRenderer.d.ts +1 -1
  584. package/renderers/DictionaryRenderer.d.ts +1 -1
  585. package/renderers/DotDensityRenderer.d.ts +1 -1
  586. package/renderers/FlowRenderer.d.ts +1 -1
  587. package/renderers/HeatmapRenderer.d.ts +1 -1
  588. package/renderers/PieChartRenderer.d.ts +1 -1
  589. package/renderers/PointCloudClassBreaksRenderer.d.ts +1 -1
  590. package/renderers/PointCloudRGBRenderer.d.ts +1 -1
  591. package/renderers/PointCloudRenderer.d.ts +1 -1
  592. package/renderers/PointCloudStretchRenderer.d.ts +1 -1
  593. package/renderers/PointCloudUniqueValueRenderer.d.ts +1 -1
  594. package/renderers/RasterColormapRenderer.d.ts +1 -1
  595. package/renderers/RasterShadedReliefRenderer.d.ts +1 -1
  596. package/renderers/RasterStretchRenderer.d.ts +1 -1
  597. package/renderers/Renderer.d.ts +1 -1
  598. package/renderers/SimpleRenderer.d.ts +1 -1
  599. package/renderers/UniqueValueRenderer.d.ts +1 -1
  600. package/renderers/UniqueValueRenderer.js +1 -1
  601. package/renderers/VectorFieldRenderer.d.ts +1 -1
  602. package/renderers/mixins/VisualVariablesMixin.d.ts +1 -1
  603. package/renderers/support/AttributeColorInfo.d.ts +1 -1
  604. package/renderers/support/AuthoringInfo.d.ts +1 -1
  605. package/renderers/support/AuthoringInfoVisualVariable.d.ts +1 -1
  606. package/renderers/support/ClassBreakInfo.d.ts +1 -1
  607. package/renderers/support/ColormapInfo.d.ts +1 -1
  608. package/renderers/support/HeatmapColorStop.d.ts +1 -1
  609. package/renderers/support/UniqueValue.d.ts +1 -1
  610. package/renderers/support/UniqueValueClass.d.ts +1 -1
  611. package/renderers/support/UniqueValueGroup.d.ts +1 -1
  612. package/renderers/support/UniqueValueInfo.d.ts +1 -1
  613. package/renderers/support/jsonUtils.d.ts +1 -1
  614. package/renderers/visualVariables/ColorVariable.d.ts +1 -1
  615. package/renderers/visualVariables/OpacityVariable.d.ts +1 -1
  616. package/renderers/visualVariables/RotationVariable.d.ts +1 -1
  617. package/renderers/visualVariables/SizeVariable.d.ts +1 -1
  618. package/renderers/visualVariables/VisualVariable.d.ts +1 -1
  619. package/renderers/visualVariables/support/ColorSizeStop.d.ts +1 -1
  620. package/renderers/visualVariables/support/ColorStop.d.ts +1 -1
  621. package/renderers/visualVariables/support/OpacityStop.d.ts +1 -1
  622. package/renderers/visualVariables/support/SizeStop.d.ts +1 -1
  623. package/renderers.d.ts +1 -1
  624. package/request.d.ts +1 -1
  625. package/rest/closestFacility.d.ts +1 -1
  626. package/rest/find.d.ts +1 -1
  627. package/rest/geometryService.d.ts +1 -1
  628. package/rest/geoprocessor/GPOptions.d.ts +1 -1
  629. package/rest/geoprocessor.d.ts +1 -1
  630. package/rest/identify.d.ts +1 -1
  631. package/rest/imageService.d.ts +1 -1
  632. package/rest/knowledgeGraph/DataModel.d.ts +1 -1
  633. package/rest/knowledgeGraph/Entity.d.ts +1 -1
  634. package/rest/knowledgeGraph/EntityType.d.ts +1 -1
  635. package/rest/knowledgeGraph/FieldIndex.d.ts +1 -1
  636. package/rest/knowledgeGraph/GraphApplyEdits.d.ts +1 -1
  637. package/rest/knowledgeGraph/GraphApplyEditsResult.d.ts +1 -1
  638. package/rest/knowledgeGraph/GraphNamedObject.d.ts +1 -1
  639. package/rest/knowledgeGraph/GraphObject.d.ts +1 -1
  640. package/rest/knowledgeGraph/GraphObjectType.d.ts +1 -1
  641. package/rest/knowledgeGraph/GraphProperty.d.ts +1 -1
  642. package/rest/knowledgeGraph/GraphQuery.d.ts +1 -1
  643. package/rest/knowledgeGraph/GraphQueryResult.d.ts +1 -1
  644. package/rest/knowledgeGraph/GraphQueryStreaming.d.ts +1 -1
  645. package/rest/knowledgeGraph/GraphQueryStreamingResult.d.ts +1 -1
  646. package/rest/knowledgeGraph/GraphSearch.d.ts +1 -1
  647. package/rest/knowledgeGraph/GraphSearchStreaming.d.ts +1 -1
  648. package/rest/knowledgeGraph/InputQuantizationParameters.d.ts +1 -1
  649. package/rest/knowledgeGraph/KnowledgeGraph.d.ts +1 -1
  650. package/rest/knowledgeGraph/OutputQuantizationParameters.d.ts +1 -1
  651. package/rest/knowledgeGraph/Path.d.ts +1 -1
  652. package/rest/knowledgeGraph/Relationship.d.ts +1 -1
  653. package/rest/knowledgeGraph/RelationshipType.d.ts +1 -1
  654. package/rest/knowledgeGraphService.d.ts +1 -1
  655. package/rest/locator.d.ts +1 -1
  656. package/rest/networkService.d.ts +1 -1
  657. package/rest/networks/support/AggregatedGeometry.d.ts +1 -1
  658. package/rest/networks/support/Association.d.ts +1 -1
  659. package/rest/networks/support/AssociationGeometriesResult.d.ts +1 -1
  660. package/rest/networks/support/FunctionResult.d.ts +1 -1
  661. package/rest/networks/support/NetworkElement.d.ts +1 -1
  662. package/rest/networks/support/SynthesizeAssociationGeometriesParameters.d.ts +1 -1
  663. package/rest/networks/support/TraceLocation.d.ts +1 -1
  664. package/rest/networks/support/TraceParameters.d.ts +1 -1
  665. package/rest/networks/support/TraceResult.d.ts +1 -1
  666. package/rest/networks/synthesizeAssociationGeometries.d.ts +1 -1
  667. package/rest/networks/trace.d.ts +1 -1
  668. package/rest/print.d.ts +1 -1
  669. package/rest/query/operations/query.js +1 -1
  670. package/rest/query/support/AttachmentInfo.d.ts +1 -1
  671. package/rest/query.d.ts +1 -1
  672. package/rest/route.d.ts +1 -1
  673. package/rest/serviceArea.d.ts +1 -1
  674. package/rest/support/AddressCandidate.d.ts +1 -1
  675. package/rest/support/AlgorithmicColorRamp.d.ts +1 -1
  676. package/rest/support/AreasAndLengthsParameters.d.ts +1 -1
  677. package/rest/support/AttachmentQuery.d.ts +1 -1
  678. package/rest/support/BufferParameters.d.ts +1 -1
  679. package/rest/support/ClosestFacilityParameters.d.ts +1 -1
  680. package/rest/support/ClosestFacilitySolveResult.d.ts +1 -1
  681. package/rest/support/ColorRamp.d.ts +1 -1
  682. package/rest/support/DataFile.d.ts +1 -1
  683. package/rest/support/DataLayer.d.ts +1 -1
  684. package/rest/support/DensifyParameters.d.ts +1 -1
  685. package/rest/support/DirectionLine.d.ts +1 -1
  686. package/rest/support/DirectionPoint.d.ts +1 -1
  687. package/rest/support/DirectionsEvent.d.ts +1 -1
  688. package/rest/support/DirectionsFeature.d.ts +1 -1
  689. package/rest/support/DirectionsFeatureSet.d.ts +1 -1
  690. package/rest/support/DistanceParameters.d.ts +1 -1
  691. package/rest/support/FeatureSet.d.ts +1 -1
  692. package/rest/support/FindParameters.d.ts +1 -1
  693. package/rest/support/FindResult.d.ts +1 -1
  694. package/rest/support/FullTextSearch.js +5 -0
  695. package/rest/support/GPMessage.d.ts +1 -1
  696. package/rest/support/GeneralizeParameters.d.ts +1 -1
  697. package/rest/support/IdentifyParameters.d.ts +1 -1
  698. package/rest/support/IdentifyResult.d.ts +1 -1
  699. package/rest/support/ImageAngleParameters.d.ts +1 -1
  700. package/rest/support/ImageAngleResult.d.ts +1 -1
  701. package/rest/support/ImageHistogramParameters.d.ts +1 -1
  702. package/rest/support/ImageIdentifyParameters.d.ts +1 -1
  703. package/rest/support/ImageIdentifyResult.d.ts +1 -1
  704. package/rest/support/ImageParameters.d.ts +1 -1
  705. package/rest/support/ImagePixelLocationParameters.d.ts +1 -1
  706. package/rest/support/ImagePixelLocationResult.d.ts +1 -1
  707. package/rest/support/ImageSample.d.ts +1 -1
  708. package/rest/support/ImageSampleParameters.d.ts +1 -1
  709. package/rest/support/ImageSampleResult.d.ts +1 -1
  710. package/rest/support/JobInfo.d.ts +1 -1
  711. package/rest/support/LegendLayer.d.ts +1 -1
  712. package/rest/support/LengthsParameters.d.ts +1 -1
  713. package/rest/support/LinearUnit.d.ts +1 -1
  714. package/rest/support/MultipartColorRamp.d.ts +1 -1
  715. package/rest/support/NAMessage.d.ts +1 -1
  716. package/rest/support/NetworkFeatureSet.d.ts +1 -1
  717. package/rest/support/NetworkUrl.d.ts +1 -1
  718. package/rest/support/OffsetParameters.d.ts +1 -1
  719. package/rest/support/ParameterValue.d.ts +1 -1
  720. package/rest/support/PointBarrier.d.ts +1 -1
  721. package/rest/support/PolygonBarrier.d.ts +1 -1
  722. package/rest/support/PolylineBarrier.d.ts +1 -1
  723. package/rest/support/PrintParameters.d.ts +1 -1
  724. package/rest/support/PrintTemplate.d.ts +1 -1
  725. package/rest/support/ProjectParameters.d.ts +1 -1
  726. package/rest/support/Query.d.ts +1 -1
  727. package/rest/support/Query.js +1 -1
  728. package/rest/support/RasterData.d.ts +1 -1
  729. package/rest/support/RelationParameters.d.ts +1 -1
  730. package/rest/support/RelationshipQuery.d.ts +1 -1
  731. package/rest/support/RouteInfo.d.ts +1 -1
  732. package/rest/support/RouteParameters.d.ts +1 -1
  733. package/rest/support/RouteResult.d.ts +1 -1
  734. package/rest/support/RouteSolveResult.d.ts +1 -1
  735. package/rest/support/ServiceAreaParameters.d.ts +1 -1
  736. package/rest/support/ServiceAreaSolveResult.d.ts +1 -1
  737. package/rest/support/StatisticDefinition.d.ts +1 -1
  738. package/rest/support/Stop.d.ts +1 -1
  739. package/rest/support/TopFeaturesQuery.d.ts +1 -1
  740. package/rest/support/TopFilter.d.ts +1 -1
  741. package/rest/support/TravelMode.d.ts +1 -1
  742. package/rest/support/TrimExtendParameters.d.ts +1 -1
  743. package/rest/symbolService.d.ts +1 -1
  744. package/smartMapping/heuristics/binLevel.d.ts +1 -1
  745. package/smartMapping/heuristics/scaleRange.d.ts +1 -1
  746. package/smartMapping/heuristics/sizeRange.d.ts +1 -1
  747. package/smartMapping/labels/clusters.d.ts +1 -1
  748. package/smartMapping/popup/clusters.d.ts +1 -1
  749. package/smartMapping/popup/templates.d.ts +1 -1
  750. package/smartMapping/raster/renderers/classBreaks.d.ts +1 -1
  751. package/smartMapping/raster/renderers/colormap.d.ts +1 -1
  752. package/smartMapping/raster/renderers/flow.d.ts +1 -1
  753. package/smartMapping/raster/renderers/rgb.d.ts +1 -1
  754. package/smartMapping/raster/renderers/shadedRelief.d.ts +1 -1
  755. package/smartMapping/raster/renderers/stretch.d.ts +1 -1
  756. package/smartMapping/raster/renderers/uniqueValue.d.ts +1 -1
  757. package/smartMapping/raster/renderers/vectorField.d.ts +1 -1
  758. package/smartMapping/raster/support/utils.d.ts +1 -1
  759. package/smartMapping/renderers/color.d.ts +1 -1
  760. package/smartMapping/renderers/dotDensity.d.ts +1 -1
  761. package/smartMapping/renderers/heatmap.d.ts +1 -1
  762. package/smartMapping/renderers/location.d.ts +1 -1
  763. package/smartMapping/renderers/opacity.d.ts +1 -1
  764. package/smartMapping/renderers/pieChart.d.ts +1 -1
  765. package/smartMapping/renderers/predominance.d.ts +1 -1
  766. package/smartMapping/renderers/relationship.d.ts +1 -1
  767. package/smartMapping/renderers/size.d.ts +1 -1
  768. package/smartMapping/renderers/type.d.ts +1 -1
  769. package/smartMapping/renderers/univariateColorSize.d.ts +1 -1
  770. package/smartMapping/statistics/classBreaks.d.ts +1 -1
  771. package/smartMapping/statistics/heatmapStatistics.d.ts +1 -1
  772. package/smartMapping/statistics/histogram.d.ts +1 -1
  773. package/smartMapping/statistics/predominantCategories.d.ts +1 -1
  774. package/smartMapping/statistics/summaryStatistics.d.ts +1 -1
  775. package/smartMapping/statistics/summaryStatisticsForAge.d.ts +1 -1
  776. package/smartMapping/statistics/support/ageUtils.d.ts +1 -1
  777. package/smartMapping/statistics/support/predominanceUtils.d.ts +1 -1
  778. package/smartMapping/statistics/uniqueValues.d.ts +1 -1
  779. package/smartMapping/symbology/color.d.ts +1 -1
  780. package/smartMapping/symbology/dotDensity.d.ts +1 -1
  781. package/smartMapping/symbology/flow.d.ts +1 -1
  782. package/smartMapping/symbology/heatmap.d.ts +1 -1
  783. package/smartMapping/symbology/location.d.ts +1 -1
  784. package/smartMapping/symbology/pieChart.d.ts +1 -1
  785. package/smartMapping/symbology/predominance.d.ts +1 -1
  786. package/smartMapping/symbology/relationship.d.ts +1 -1
  787. package/smartMapping/symbology/size.d.ts +1 -1
  788. package/smartMapping/symbology/support/colorRamps.d.ts +1 -1
  789. package/smartMapping/symbology/type.d.ts +1 -1
  790. package/support/LayersMixin.d.ts +1 -1
  791. package/support/MapFloorInfo.d.ts +1 -1
  792. package/support/TablesMixin.d.ts +1 -1
  793. package/support/actions/ActionBase.d.ts +1 -1
  794. package/support/actions/ActionButton.d.ts +1 -1
  795. package/support/actions/ActionToggle.d.ts +1 -1
  796. package/support/arcadeUtils.js +1 -1
  797. package/support/popupUtils.d.ts +1 -1
  798. package/support/revision.js +1 -1
  799. package/support/timeUtils.d.ts +1 -1
  800. package/symbols/CIMSymbol.d.ts +1 -1
  801. package/symbols/ExtrudeSymbol3DLayer.d.ts +1 -1
  802. package/symbols/FillSymbol.d.ts +1 -1
  803. package/symbols/FillSymbol3DLayer.d.ts +1 -1
  804. package/symbols/Font.d.ts +1 -1
  805. package/symbols/IconSymbol3DLayer.d.ts +1 -1
  806. package/symbols/LabelSymbol3D.d.ts +1 -1
  807. package/symbols/LineStyleMarker3D.d.ts +1 -1
  808. package/symbols/LineSymbol.d.ts +1 -1
  809. package/symbols/LineSymbol3D.d.ts +1 -1
  810. package/symbols/LineSymbol3DLayer.d.ts +1 -1
  811. package/symbols/LineSymbolMarker.d.ts +1 -1
  812. package/symbols/MarkerSymbol.d.ts +1 -1
  813. package/symbols/MeshSymbol3D.d.ts +1 -1
  814. package/symbols/ObjectSymbol3DLayer.d.ts +1 -1
  815. package/symbols/PathSymbol3DLayer.d.ts +1 -1
  816. package/symbols/PictureFillSymbol.d.ts +1 -1
  817. package/symbols/PictureMarkerSymbol.d.ts +1 -1
  818. package/symbols/PointSymbol3D.d.ts +1 -1
  819. package/symbols/PolygonSymbol3D.d.ts +1 -1
  820. package/symbols/SimpleFillSymbol.d.ts +1 -1
  821. package/symbols/SimpleLineSymbol.d.ts +1 -1
  822. package/symbols/SimpleMarkerSymbol.d.ts +1 -1
  823. package/symbols/Symbol.d.ts +1 -1
  824. package/symbols/Symbol3D.d.ts +1 -1
  825. package/symbols/Symbol3DLayer.d.ts +1 -1
  826. package/symbols/TextSymbol.d.ts +1 -1
  827. package/symbols/TextSymbol3DLayer.d.ts +1 -1
  828. package/symbols/WaterSymbol3DLayer.d.ts +1 -1
  829. package/symbols/WebStyleSymbol.d.ts +1 -1
  830. package/symbols/callouts/Callout3D.d.ts +1 -1
  831. package/symbols/callouts/LineCallout3D.d.ts +1 -1
  832. package/symbols/edges/Edges3D.d.ts +1 -1
  833. package/symbols/edges/SketchEdges3D.d.ts +1 -1
  834. package/symbols/edges/SolidEdges3D.d.ts +1 -1
  835. package/symbols/patterns/LineStylePattern3D.d.ts +1 -1
  836. package/symbols/patterns/StylePattern3D.d.ts +1 -1
  837. package/symbols/support/StyleOrigin.d.ts +1 -1
  838. package/symbols/support/Symbol3DVerticalOffset.d.ts +1 -1
  839. package/symbols/support/cimSymbolUtils.d.ts +1 -1
  840. package/symbols/support/jsonUtils.d.ts +1 -1
  841. package/symbols/support/symbolUtils.d.ts +1 -1
  842. package/symbols.d.ts +1 -1
  843. package/views/2d/ViewState.d.ts +1 -1
  844. package/views/2d/engine/vectorTiles/TileHandler.js +1 -1
  845. package/views/2d/layers/BaseLayerView2D.d.ts +1 -1
  846. package/views/2d/layers/BaseLayerViewGL2D.d.ts +1 -1
  847. package/views/2d/layers/WMSLayerView2D.js +1 -1
  848. package/views/2d/layers/WMTSLayerView2D.js +1 -1
  849. package/views/3d/analysis/AreaMeasurementAnalysisView3D.d.ts +1 -1
  850. package/views/3d/analysis/DirectLineMeasurementAnalysisView3D.d.ts +1 -1
  851. package/views/3d/analysis/LineOfSightAnalysisResult.d.ts +1 -1
  852. package/views/3d/analysis/LineOfSightAnalysisView3D.d.ts +1 -1
  853. package/views/3d/analysis/SliceAnalysisView3D.d.ts +1 -1
  854. package/views/3d/environment/CloudyWeather.d.ts +1 -1
  855. package/views/3d/environment/FoggyWeather.d.ts +1 -1
  856. package/views/3d/environment/RainyWeather.d.ts +1 -1
  857. package/views/3d/environment/SnowyWeather.d.ts +1 -1
  858. package/views/3d/environment/SunLighting.d.ts +1 -1
  859. package/views/3d/environment/SunnyWeather.d.ts +1 -1
  860. package/views/3d/environment/VirtualLighting.d.ts +1 -1
  861. package/views/3d/externalRenderers.d.ts +1 -1
  862. package/views/3d/support/LayerPerformanceInfo.d.ts +1 -1
  863. package/views/3d/support/SceneViewPerformanceInfo.d.ts +1 -1
  864. package/views/BasemapView.d.ts +1 -1
  865. package/views/BreakpointsOwner.d.ts +1 -1
  866. package/views/DOMContainer.d.ts +1 -1
  867. package/views/DOMContainer.js +1 -1
  868. package/views/GroundView.d.ts +1 -1
  869. package/views/Magnifier.d.ts +1 -1
  870. package/views/MapView.d.ts +1 -1
  871. package/views/SceneView.d.ts +1 -1
  872. package/views/View.d.ts +1 -1
  873. package/views/ViewAnimation.d.ts +1 -1
  874. package/views/analysis/DimensionAnalysisView.d.ts +1 -1
  875. package/views/analysis/LengthDimensionResult.d.ts +1 -1
  876. package/views/draw/Draw.d.ts +1 -1
  877. package/views/draw/DrawAction.d.ts +1 -1
  878. package/views/draw/MultipointDrawAction.d.ts +1 -1
  879. package/views/draw/PointDrawAction.d.ts +1 -1
  880. package/views/draw/PolygonDrawAction.d.ts +1 -1
  881. package/views/draw/PolylineDrawAction.d.ts +1 -1
  882. package/views/draw/SegmentDrawAction.d.ts +1 -1
  883. package/views/input/Input.d.ts +1 -1
  884. package/views/input/gamepad/GamepadInputDevice.d.ts +1 -1
  885. package/views/input/gamepad/GamepadSettings.d.ts +1 -1
  886. package/views/interactive/sketch/SketchLabelOptions.d.ts +1 -1
  887. package/views/interactive/sketch/SketchTooltipOptions.d.ts +1 -1
  888. package/views/interactive/snapping/FeatureSnappingLayerSource.d.ts +1 -1
  889. package/views/interactive/snapping/SnappingDragPipelineStep.js +1 -1
  890. package/views/interactive/snapping/SnappingOptions.d.ts +1 -1
  891. package/views/layers/BuildingComponentSublayerView.d.ts +1 -1
  892. package/views/layers/BuildingSceneLayerView.d.ts +1 -1
  893. package/views/layers/CSVLayerView.d.ts +1 -1
  894. package/views/layers/DimensionLayerView.d.ts +1 -1
  895. package/views/layers/FeatureLayerView.d.ts +1 -1
  896. package/views/layers/GeoJSONLayerView.d.ts +1 -1
  897. package/views/layers/GeoRSSLayerView.d.ts +1 -1
  898. package/views/layers/GraphicsLayerView.d.ts +1 -1
  899. package/views/layers/ImageryLayerView.d.ts +1 -1
  900. package/views/layers/KMLLayerView.d.ts +1 -1
  901. package/views/layers/LayerView.d.ts +1 -1
  902. package/views/layers/OGCFeatureLayerView.d.ts +1 -1
  903. package/views/layers/PointCloudLayerView.d.ts +1 -1
  904. package/views/layers/SceneLayerView.d.ts +1 -1
  905. package/views/layers/StreamLayerView.d.ts +1 -1
  906. package/views/layers/WFSLayerView.d.ts +1 -1
  907. package/views/navigation/Navigation.d.ts +1 -1
  908. package/views/navigation/gamepad/GamepadSettings.d.ts +1 -1
  909. package/views/support/colorUtils.d.ts +1 -1
  910. package/views/ui/DefaultUI.d.ts +1 -1
  911. package/views/ui/UI.d.ts +1 -1
  912. package/webdoc/GeotriggersInfo.d.ts +1 -1
  913. package/webdoc/applicationProperties/Search.d.ts +1 -1
  914. package/webdoc/applicationProperties/SearchLayer.d.ts +1 -1
  915. package/webdoc/applicationProperties/SearchLayerField.d.ts +1 -1
  916. package/webdoc/applicationProperties/SearchTable.d.ts +1 -1
  917. package/webdoc/applicationProperties/SearchTableField.d.ts +1 -1
  918. package/webdoc/applicationProperties/Viewing.d.ts +1 -1
  919. package/webdoc/geotriggersInfo/DeviceLocationFeed.d.ts +1 -1
  920. package/webdoc/geotriggersInfo/ExpressionInfo.d.ts +1 -1
  921. package/webdoc/geotriggersInfo/FeatureFenceParameters.d.ts +1 -1
  922. package/webdoc/geotriggersInfo/FeatureFilter.d.ts +1 -1
  923. package/webdoc/geotriggersInfo/FeatureLayerSource.d.ts +1 -1
  924. package/webdoc/geotriggersInfo/FenceGeotrigger.d.ts +1 -1
  925. package/webdoc/geotriggersInfo/Geotrigger.d.ts +1 -1
  926. package/webdoc/geotriggersInfo/GeotriggerNotificationOptions.d.ts +1 -1
  927. package/webmap/ApplicationProperties.d.ts +1 -1
  928. package/webmap/Bookmark.d.ts +1 -1
  929. package/webmap/InitialViewProperties.d.ts +1 -1
  930. package/webmap/background/ColorBackground.d.ts +1 -1
  931. package/webscene/ApplicationProperties.d.ts +1 -1
  932. package/webscene/Environment.d.ts +1 -1
  933. package/webscene/InitialViewProperties.d.ts +1 -1
  934. package/webscene/Lighting.d.ts +1 -1
  935. package/webscene/Presentation.d.ts +1 -1
  936. package/webscene/Slide.d.ts +1 -1
  937. package/webscene/SunLighting.d.ts +1 -1
  938. package/webscene/VirtualLighting.d.ts +1 -1
  939. package/webscene/background/Background.d.ts +1 -1
  940. package/webscene/background/ColorBackground.d.ts +1 -1
  941. package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.d.ts +1 -1
  942. package/widgets/AreaMeasurement2D.d.ts +1 -1
  943. package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.d.ts +1 -1
  944. package/widgets/AreaMeasurement3D.d.ts +1 -1
  945. package/widgets/Attachments/AttachmentsViewModel.d.ts +1 -1
  946. package/widgets/Attachments.d.ts +1 -1
  947. package/widgets/Attribution/AttributionViewModel.d.ts +1 -1
  948. package/widgets/Attribution.d.ts +1 -1
  949. package/widgets/BasemapGallery/BasemapGalleryViewModel.d.ts +1 -1
  950. package/widgets/BasemapGallery/support/BasemapGalleryItem.d.ts +1 -1
  951. package/widgets/BasemapGallery/support/LocalBasemapsSource.d.ts +1 -1
  952. package/widgets/BasemapGallery/support/PortalBasemapsSource.d.ts +1 -1
  953. package/widgets/BasemapGallery.d.ts +1 -1
  954. package/widgets/BasemapLayerList/BasemapLayerListViewModel.d.ts +1 -1
  955. package/widgets/BasemapLayerList.d.ts +1 -1
  956. package/widgets/BasemapToggle/BasemapToggleViewModel.d.ts +1 -1
  957. package/widgets/BasemapToggle.d.ts +1 -1
  958. package/widgets/Bookmarks/BookmarksViewModel.d.ts +1 -1
  959. package/widgets/Bookmarks.d.ts +1 -1
  960. package/widgets/BuildingExplorer/BuildingExplorerViewModel.d.ts +1 -1
  961. package/widgets/BuildingExplorer/BuildingLevel.d.ts +1 -1
  962. package/widgets/BuildingExplorer/BuildingPhase.d.ts +1 -1
  963. package/widgets/BuildingExplorer.d.ts +1 -1
  964. package/widgets/Compass/CompassViewModel.d.ts +1 -1
  965. package/widgets/Compass.d.ts +1 -1
  966. package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +1 -1
  967. package/widgets/CoordinateConversion/support/Conversion.d.ts +1 -1
  968. package/widgets/CoordinateConversion/support/Format.d.ts +1 -1
  969. package/widgets/CoordinateConversion.d.ts +1 -1
  970. package/widgets/Daylight/DaylightViewModel.d.ts +1 -1
  971. package/widgets/Daylight.d.ts +1 -1
  972. package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.d.ts +1 -1
  973. package/widgets/DirectLineMeasurement3D.d.ts +1 -1
  974. package/widgets/Directions/DirectionsViewModel.d.ts +1 -1
  975. package/widgets/Directions.d.ts +1 -1
  976. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.d.ts +1 -1
  977. package/widgets/DistanceMeasurement2D.d.ts +1 -1
  978. package/widgets/Editor/CreateFeaturesWorkflow.d.ts +1 -1
  979. package/widgets/Editor/CreateFeaturesWorkflowData.d.ts +1 -1
  980. package/widgets/Editor/CreateWorkflow.d.ts +1 -1
  981. package/widgets/Editor/CreateWorkflowData.d.ts +1 -1
  982. package/widgets/Editor/EditorViewModel.d.ts +1 -1
  983. package/widgets/Editor/Edits.d.ts +1 -1
  984. package/widgets/Editor/UpdateWorkflow.d.ts +1 -1
  985. package/widgets/Editor/UpdateWorkflowData.d.ts +1 -1
  986. package/widgets/Editor/Workflow.d.ts +1 -1
  987. package/widgets/Editor.d.ts +1 -1
  988. package/widgets/ElevationProfile/ElevationProfileLine.d.ts +1 -1
  989. package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +1 -1
  990. package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +1 -1
  991. package/widgets/ElevationProfile/ElevationProfileLineQuery.d.ts +1 -1
  992. package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +1 -1
  993. package/widgets/ElevationProfile/ElevationProfileViewModel.d.ts +1 -1
  994. package/widgets/ElevationProfile.d.ts +1 -1
  995. package/widgets/Expand/ExpandViewModel.d.ts +1 -1
  996. package/widgets/Expand.d.ts +1 -1
  997. package/widgets/Feature/FeatureViewModel.d.ts +1 -1
  998. package/widgets/Feature.d.ts +1 -1
  999. package/widgets/FeatureForm/FeatureFormViewModel.d.ts +1 -1
  1000. package/widgets/FeatureForm/FieldConfig.d.ts +1 -1
  1001. package/widgets/FeatureForm/FieldGroupConfig.d.ts +1 -1
  1002. package/widgets/FeatureForm/InputField.d.ts +1 -1
  1003. package/widgets/FeatureForm/InputFieldGroup.d.ts +1 -1
  1004. package/widgets/FeatureForm.d.ts +1 -1
  1005. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +1 -1
  1006. package/widgets/FeatureTable/FieldColumn.d.ts +1 -1
  1007. package/widgets/FeatureTable/FieldColumnConfig.d.ts +1 -1
  1008. package/widgets/FeatureTable/Grid/Column.d.ts +1 -1
  1009. package/widgets/FeatureTable/Grid/GroupColumn.d.ts +1 -1
  1010. package/widgets/FeatureTable/Grid/support/ButtonMenu.d.ts +1 -1
  1011. package/widgets/FeatureTable/Grid/support/ButtonMenuItem.d.ts +1 -1
  1012. package/widgets/FeatureTable/Grid/support/ButtonMenuViewModel.d.ts +1 -1
  1013. package/widgets/FeatureTable/support/ColumnTemplate.d.ts +1 -1
  1014. package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +1 -1
  1015. package/widgets/FeatureTable/support/FieldColumnTemplate.d.ts +1 -1
  1016. package/widgets/FeatureTable/support/GroupColumnTemplate.d.ts +1 -1
  1017. package/widgets/FeatureTable/support/TableTemplate.d.ts +1 -1
  1018. package/widgets/FeatureTable.d.ts +1 -1
  1019. package/widgets/FeatureTemplates/FeatureTemplatesViewModel.d.ts +1 -1
  1020. package/widgets/FeatureTemplates/TemplateItem.d.ts +1 -1
  1021. package/widgets/FeatureTemplates/TemplateItemGroup.d.ts +1 -1
  1022. package/widgets/FeatureTemplates.d.ts +1 -1
  1023. package/widgets/FloorFilter/FloorFilterViewModel.d.ts +1 -1
  1024. package/widgets/FloorFilter.d.ts +1 -1
  1025. package/widgets/Fullscreen/FullscreenViewModel.d.ts +1 -1
  1026. package/widgets/Fullscreen.d.ts +1 -1
  1027. package/widgets/Histogram/HistogramViewModel.d.ts +1 -1
  1028. package/widgets/Histogram.d.ts +1 -1
  1029. package/widgets/HistogramRangeSlider/HistogramRangeSliderViewModel.d.ts +1 -1
  1030. package/widgets/HistogramRangeSlider.d.ts +1 -1
  1031. package/widgets/Home/HomeViewModel.d.ts +1 -1
  1032. package/widgets/Home.d.ts +1 -1
  1033. package/widgets/LayerList/LayerListViewModel.d.ts +1 -1
  1034. package/widgets/LayerList/ListItem.d.ts +1 -1
  1035. package/widgets/LayerList/ListItemPanel.d.ts +1 -1
  1036. package/widgets/LayerList.d.ts +1 -1
  1037. package/widgets/Legend/LegendViewModel.d.ts +1 -1
  1038. package/widgets/Legend/support/ActiveLayerInfo.d.ts +1 -1
  1039. package/widgets/Legend.d.ts +1 -1
  1040. package/widgets/LineOfSight/LineOfSightTarget.d.ts +1 -1
  1041. package/widgets/LineOfSight/LineOfSightViewModel.d.ts +1 -1
  1042. package/widgets/LineOfSight.d.ts +1 -1
  1043. package/widgets/Locate/LocateViewModel.d.ts +1 -1
  1044. package/widgets/Locate.d.ts +1 -1
  1045. package/widgets/Measurement/MeasurementViewModel.d.ts +1 -1
  1046. package/widgets/Measurement.d.ts +1 -1
  1047. package/widgets/NavigationToggle/NavigationToggleViewModel.d.ts +1 -1
  1048. package/widgets/NavigationToggle.d.ts +1 -1
  1049. package/widgets/Popup/PopupViewModel.d.ts +1 -1
  1050. package/widgets/Popup.d.ts +1 -1
  1051. package/widgets/Print/CustomTemplate.d.ts +1 -1
  1052. package/widgets/Print/PrintViewModel.d.ts +1 -1
  1053. package/widgets/Print/TemplateOptions.d.ts +1 -1
  1054. package/widgets/Print.d.ts +1 -1
  1055. package/widgets/ScaleBar/ScaleBarViewModel.d.ts +1 -1
  1056. package/widgets/ScaleBar.d.ts +1 -1
  1057. package/widgets/ScaleRangeSlider/ScaleRangeSliderViewModel.d.ts +1 -1
  1058. package/widgets/ScaleRangeSlider/ScaleRanges.d.ts +1 -1
  1059. package/widgets/ScaleRangeSlider.d.ts +1 -1
  1060. package/widgets/Search/LayerSearchSource.d.ts +1 -1
  1061. package/widgets/Search/LocatorSearchSource.d.ts +1 -1
  1062. package/widgets/Search/SearchResultRenderer.d.ts +1 -1
  1063. package/widgets/Search/SearchSource.d.ts +1 -1
  1064. package/widgets/Search/SearchViewModel.d.ts +1 -1
  1065. package/widgets/Search/support/layerSearchUtils.js +1 -1
  1066. package/widgets/Search.d.ts +1 -1
  1067. package/widgets/ShadowCast/ShadowCastViewModel.d.ts +1 -1
  1068. package/widgets/ShadowCast.d.ts +1 -1
  1069. package/widgets/Sketch/SketchViewModel.d.ts +1 -1
  1070. package/widgets/Sketch.d.ts +1 -1
  1071. package/widgets/Slice/SlicePlane.d.ts +1 -1
  1072. package/widgets/Slice/SliceViewModel.d.ts +1 -1
  1073. package/widgets/Slice.d.ts +1 -1
  1074. package/widgets/Slider/SliderViewModel.d.ts +1 -1
  1075. package/widgets/Slider.d.ts +1 -1
  1076. package/widgets/Swipe/SwipeViewModel.d.ts +1 -1
  1077. package/widgets/Swipe.d.ts +1 -1
  1078. package/widgets/TableList/ListItem.d.ts +1 -1
  1079. package/widgets/TableList/TableListViewModel.d.ts +1 -1
  1080. package/widgets/TableList.d.ts +1 -1
  1081. package/widgets/TimeSlider/TimeSliderViewModel.d.ts +1 -1
  1082. package/widgets/TimeSlider.d.ts +1 -1
  1083. package/widgets/Track/TrackViewModel.d.ts +1 -1
  1084. package/widgets/Track.d.ts +1 -1
  1085. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.d.ts +1 -1
  1086. package/widgets/UtilityNetworkTrace.d.ts +1 -1
  1087. package/widgets/Weather/WeatherViewModel.d.ts +1 -1
  1088. package/widgets/Weather.d.ts +1 -1
  1089. package/widgets/Widget.d.ts +1 -1
  1090. package/widgets/Zoom/ZoomViewModel.d.ts +1 -1
  1091. package/widgets/Zoom.d.ts +1 -1
  1092. package/widgets/smartMapping/ClassedColorSlider/ClassedColorSliderViewModel.d.ts +1 -1
  1093. package/widgets/smartMapping/ClassedColorSlider.d.ts +1 -1
  1094. package/widgets/smartMapping/ClassedSizeSlider/ClassedSizeSliderViewModel.d.ts +1 -1
  1095. package/widgets/smartMapping/ClassedSizeSlider.d.ts +1 -1
  1096. package/widgets/smartMapping/ColorSizeSlider/ColorSizeSliderViewModel.d.ts +1 -1
  1097. package/widgets/smartMapping/ColorSizeSlider.d.ts +1 -1
  1098. package/widgets/smartMapping/ColorSlider/ColorSliderViewModel.d.ts +1 -1
  1099. package/widgets/smartMapping/ColorSlider.d.ts +1 -1
  1100. package/widgets/smartMapping/HeatmapSlider/HeatmapSliderViewModel.d.ts +1 -1
  1101. package/widgets/smartMapping/HeatmapSlider.d.ts +1 -1
  1102. package/widgets/smartMapping/OpacitySlider/OpacitySliderViewModel.d.ts +1 -1
  1103. package/widgets/smartMapping/OpacitySlider.d.ts +1 -1
  1104. package/widgets/smartMapping/SizeSlider/SizeSliderViewModel.d.ts +1 -1
  1105. package/widgets/smartMapping/SizeSlider.d.ts +1 -1
  1106. package/widgets/smartMapping/SmartMappingPrimaryHandleSliderViewModel.d.ts +1 -1
  1107. package/widgets/smartMapping/SmartMappingSliderBase.d.ts +1 -1
  1108. package/widgets/smartMapping/SmartMappingSliderViewModel.d.ts +1 -1
  1109. package/widgets/smartMapping/support/utils.d.ts +1 -1
  1110. package/widgets/support/DatePicker.d.ts +1 -1
  1111. package/widgets/support/DatePickerViewModel.d.ts +1 -1
  1112. package/widgets/support/DateTimeElementViewModel.d.ts +1 -1
  1113. package/widgets/support/GeolocationPositioning.d.ts +1 -1
  1114. package/widgets/support/GoTo.d.ts +1 -1
  1115. package/widgets/support/SnappingControls/SnappingControlsViewModel.d.ts +1 -1
  1116. package/widgets/support/SnappingControls.d.ts +1 -1
  1117. package/widgets/support/TimePicker.d.ts +1 -1
  1118. package/widgets/support/TimePickerViewModel.d.ts +1 -1
  1119. package/widgets/support/widget.d.ts +1 -1
  1120. package/assets/esri/core/workers/chunks/07e13ba31ea201f33b97.js +0 -1
  1121. package/assets/esri/core/workers/chunks/490b989ceb9239888af4.js +0 -1
  1122. package/assets/esri/core/workers/chunks/50afaa6fddc7ecc96bad.js +0 -1
  1123. package/assets/esri/core/workers/chunks/5cd1ff051cbec40532ef.js +0 -1
  1124. package/assets/esri/core/workers/chunks/64a5b391443129040852.js +0 -1
  1125. package/assets/esri/core/workers/chunks/803492088780e18de801.js +0 -1
  1126. package/assets/esri/core/workers/chunks/9d911ea24da940f09000.js +0 -1
  1127. package/assets/esri/core/workers/chunks/aa3909ffe65b42c61b52.js +0 -1
  1128. package/assets/esri/core/workers/chunks/c965dece40dcf4931c11.js +0 -1
  1129. package/assets/esri/core/workers/chunks/ccc0d510f89b5f5eb13e.js +0 -1
  1130. package/assets/esri/core/workers/chunks/e196937fc3589e050009.js +0 -1
  1131. package/assets/esri/core/workers/chunks/eb73506dd373453282ba.js +0 -1
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3929],{6352:(t,e,o)=>{o.d(e,{a:()=>c});var r,s=o(43697),i=o(22303),l=o(96674),n=o(22974),a=o(5600),p=(o(75215),o(52011)),y=o(37308);let h=r=class extends l.wq{constructor(){super(...arguments),this.color=new i.Z("white")}clone(){return new r({color:(0,n.d9)(this.color)})}};(0,s._)([(0,a.Cb)(y.a)],h.prototype,"color",void 0),h=r=(0,s._)([(0,p.j)("esri.symbols.callouts.LineCallout3DBorder")],h);const c=h;Object.freeze(Object.defineProperty({__proto__:null,default:c},Symbol.toStringTag,{value:"Module"}))},2368:(t,e,o)=>{o.d(e,{J:()=>y,j:()=>h});var r=o(43697),s=o(15923),i=(o(80442),o(22974)),l=(o(92604),o(70586)),n=o(31263),a=o(1153),p=o(52011);const y=t=>{let e=class extends t{clone(){const t=(0,l.s3)((0,a.vw)(this),"unable to clone instance of non-accessor class"),e=t.metadatas,o=t.store,r={},s=new Map;for(const t in e){const l=e[t],a=o?.originOf(t),p=l.clonable;if(l.readOnly||!1===p||a!==n.s3.USER&&a!==n.s3.DEFAULTS&&a!==n.s3.WEB_MAP&&a!==n.s3.WEB_SCENE)continue;const y=this[t];let h=null;h="function"==typeof p?p(y):"reference"===p?y:(0,i.Vo)(y),null!=y&&null==h||(a===n.s3.DEFAULTS?s.set(t,h):r[t]=h)}const p=new(0,Object.getPrototypeOf(this).constructor)(r);if(s.size){const t=(0,a.vw)(p)?.store;if(t)for(const[e,o]of s)t.set(e,o,n.s3.DEFAULTS)}return p}};return e=(0,r._)([(0,p.j)("esri.core.Clonable")],e),e};let h=class extends(y(s.Z)){};h=(0,r._)([(0,p.j)("esri.core.Clonable")],h)},70921:(t,e,o)=>{o.d(e,{R:()=>i,Z:()=>s});var r=o(46791);function s(t,e,o=r.Z){return e||(e=new o),e===t||(e.removeAll(),(s=t)&&(Array.isArray(s)||"items"in s&&Array.isArray(s.items))?e.addMany(t):t&&e.add(t)),e;var s}function i(t){return t}},16859:(t,e,o)=>{o.d(e,{I:()=>v});var r=o(43697),s=o(40330),i=o(3172),l=o(66643),n=o(20102),a=o(92604),p=o(70586),y=o(95330),h=o(17452),c=o(5600),d=(o(67676),o(75215),o(71715)),u=o(52011),m=o(30556),b=o(65587),w=o(15235),f=o(86082);const v=t=>{let e=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0}destroy(){this.portalItem=(0,p.SC)(this.portalItem)}set portalItem(t){t!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",t))}readPortalItem(t,e,o){if(e.itemId)return new w.default({id:e.itemId,portal:o&&o.portal})}writePortalItem(t,e){t&&t.id&&(e.itemId=t.id)}async loadFromPortal(t,e){if(this.portalItem&&this.portalItem.id)try{const r=await Promise.all([o.e(4547),o.e(9300),o.e(661)]).then(o.bind(o,18062));return(0,y.k_)(e),await r.load({instance:this,supportedTypes:t.supportedTypes,validateItem:t.validateItem,supportsData:t.supportsData,layerModuleTypeMap:t.layerModuleTypeMap},e)}catch(t){throw(0,y.D_)(t)||a.Z.getLogger(this.declaredClass).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${t}`),t}}async finishLoadEditablePortalLayer(t){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(t).catch((t=>((0,y.r9)(t),!0))))}async _fetchUserHasEditingPrivileges(t){const e=this.url?s.id?.findCredential(this.url):null;if(!e)return!0;const o=g.credential===e?g.user:await this._fetchEditingUser(t);return g.credential=e,g.user=o,(0,p.Wi)(o)||null==o.privileges||o.privileges.includes("features:user:edit")}async _fetchEditingUser(t){const e=this.portalItem?.portal?.user;if(e)return e;const o=s.id.findServerInfo(this.url??"");if(!o?.owningSystemUrl)return null;const r=`${o.owningSystemUrl}/sharing/rest`,n=b.Z.getDefault();if(n&&n.loaded&&(0,h.Fv)(n.restUrl)===(0,h.Fv)(r))return n.user;const a=`${r}/community/self`,y=(0,p.pC)(t)?t.signal:null,c=await(0,l.q6)((0,i.default)(a,{authMode:"no-prompt",query:{f:"json"},signal:y}));return c.ok?f.default.fromJSON(c.value.data):null}read(t,e){e&&(e.layer=this),super.read(t,e)}write(t,e){const o=e&&e.portal,r=this.portalItem&&this.portalItem.id&&(this.portalItem.portal||b.Z.getDefault());return o&&r&&!(0,h.tm)(r.restUrl,o.restUrl)?(e.messages&&e.messages.push(new n.Z("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(t,{...e,layer:this})}};return(0,r._)([(0,c.Cb)({type:w.default})],e.prototype,"portalItem",null),(0,r._)([(0,d.r)("web-document","portalItem",["itemId"])],e.prototype,"readPortalItem",null),(0,r._)([(0,m.c)("web-document","portalItem",{itemId:{type:String}})],e.prototype,"writePortalItem",null),(0,r._)([(0,c.Cb)({clonable:!1})],e.prototype,"resourceReferences",void 0),(0,r._)([(0,c.Cb)({readOnly:!0})],e.prototype,"userHasEditingPrivileges",void 0),e=(0,r._)([(0,u.j)("esri.layers.mixins.PortalLayer")],e),e},g={credential:null,user:null}},9790:(t,e,o)=>{o.d(e,{se:()=>J,cT:()=>k,dU:()=>O,S9:()=>$,LB:()=>D,AH:()=>N,yK:()=>P,S6:()=>I,QT:()=>M,f_:()=>A});var r,s=o(75215),i=o(63213),l=o(17386),n=(o(38445),o(21218)),a=(o(95191),o(31134),o(50575),o(20825)),p=o(98587),y=(o(38128),o(40908),o(3456)),h=(o(17143),o(96742),o(43697)),c=o(22974),d=o(62357),u=o(5600),m=o(36030),b=o(52011),w=o(94075);let f=r=class extends n.Z{constructor(...t){super(...t),this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,this.width=12,this.height=12,this.xoffset=0,this.yoffset=0,this.source=null}normalizeCtorArgs(t,e,o,r){if(t&&"string"!=typeof t&&null==t.imageData)return t;const s={};return t&&(s.url=t),e&&(s.outline=e),null!=o&&(s.width=(0,d.t_)(o)),null!=r&&(s.height=(0,d.t_)(r)),s}clone(){const t=new r({color:(0,c.d9)(this.color),height:this.height,outline:this.outline&&this.outline.clone(),url:this.url,width:this.width,xoffset:this.xoffset,xscale:this.xscale,yoffset:this.yoffset,yscale:this.yscale});return t._set("source",(0,c.d9)(this.source)),t}hash(){return`${super.hash()}.${this.color?.hash()}.${this.height}.${this.url}.${this.width}.${this.xoffset}.${this.xscale}.${this.yoffset}.${this.yscale}`}};(0,h._)([(0,m.J)({esriPFS:"picture-fill"},{readOnly:!0})],f.prototype,"type",void 0),(0,h._)([(0,u.Cb)(w.KA)],f.prototype,"url",void 0),(0,h._)([(0,u.Cb)({type:Number,json:{write:!0}})],f.prototype,"xscale",void 0),(0,h._)([(0,u.Cb)({type:Number,json:{write:!0}})],f.prototype,"yscale",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:d.t_,json:{write:!0}})],f.prototype,"width",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:d.t_,json:{write:!0}})],f.prototype,"height",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:d.t_,json:{write:!0}})],f.prototype,"xoffset",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:d.t_,json:{write:!0}})],f.prototype,"yoffset",void 0),(0,h._)([(0,u.Cb)(w.Ds)],f.prototype,"source",void 0),f=r=(0,h._)([(0,b.j)("esri.symbols.PictureFillSymbol")],f);const v=f;var g=o(37898),_=o(42143),C=o(86114),S=o(20256),j=o(4095),Z=o(77987),x=o(89164),L=(o(87223),o(95868),o(78724)),z=(o(2283),o(44398),o(59390));function k(t){if(!t)return!1;switch(t.type){case"picture-fill":case"picture-marker":case"simple-fill":case"simple-line":case"simple-marker":case"text":case"cim":return!0;default:return!1}}function O(t){if(!t)return!1;switch(t.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}o(69496),o(6352);const D={base:x.Z,key:"type",typeMap:{"simple-fill":S.Z,"picture-fill":v,"picture-marker":g.Z,"simple-line":j.Z,"simple-marker":Z.Z,text:L.Z,"label-3d":a.Z,"line-3d":p.Z,"mesh-3d":y.Z,"point-3d":_.Z,"polygon-3d":C.Z,"web-style":z.Z,cim:l.Z},errorContext:"symbol"},N={base:x.Z,key:"type",typeMap:{"picture-marker":g.Z,"simple-marker":Z.Z,text:L.Z,"web-style":z.Z,cim:l.Z},errorContext:"symbol"},$=(0,i.d)({types:D}),M={base:x.Z,key:"type",typeMap:{"simple-fill":S.Z,"picture-fill":v,"picture-marker":g.Z,"simple-line":j.Z,"simple-marker":Z.Z,text:L.Z,"line-3d":p.Z,"mesh-3d":y.Z,"point-3d":_.Z,"polygon-3d":C.Z,"web-style":z.Z,cim:l.Z},errorContext:"symbol"},P={base:x.Z,key:"type",typeMap:{text:L.Z,"label-3d":a.Z},errorContext:"symbol"},A=(x.Z,a.Z,p.Z,y.Z,_.Z,C.Z,z.Z,{base:x.Z,key:"type",typeMap:{"line-3d":p.Z,"mesh-3d":y.Z,"point-3d":_.Z,"polygon-3d":C.Z,"web-style":z.Z,cim:l.Z},errorContext:"symbol"}),I={base:x.Z,key:"type",typeMap:{"label-3d":a.Z},errorContext:"symbol"},J=(0,s.N7)(D)},17386:(t,e,o)=>{o.d(e,{Z:()=>m});var r,s=o(43697),i=o(22974),l=o(19153),n=o(5600),a=(o(75215),o(36030)),p=o(71715),y=o(52011),h=o(30556),c=o(35671),d=o(89164);let u=r=class extends d.Z{constructor(t){super(t),this.data=null,this.type="cim"}readData(t,e){return e}writeData(t,e){if(t)for(const o in t)e[o]=t[o]}async collectRequiredFields(t,e){if("CIMSymbolReference"===this.data?.type){const o=this.data.primitiveOverrides;if(o){const r=o.map((o=>{const r=o.valueExpressionInfo;return(0,c.io)(t,e,r.expression)}));await Promise.all(r)}}}clone(){return new r({data:(0,i.d9)(this.data)})}hash(){return(0,l.hP)(JSON.stringify(this.data)).toString()}};(0,s._)([(0,n.Cb)({json:{write:!1}})],u.prototype,"color",void 0),(0,s._)([(0,n.Cb)({json:{write:!0}})],u.prototype,"data",void 0),(0,s._)([(0,p.r)("data",["symbol"])],u.prototype,"readData",null),(0,s._)([(0,h.c)("data",{})],u.prototype,"writeData",null),(0,s._)([(0,a.J)({CIMSymbolReference:"cim"},{readOnly:!0})],u.prototype,"type",void 0),u=r=(0,s._)([(0,y.j)("esri.symbols.CIMSymbol")],u);const m=u},38445:(t,e,o)=>{o.d(e,{Z:()=>d});var r,s=o(43697),i=o(70586),l=o(5600),n=(o(67676),o(75215),o(36030)),a=o(52011),p=o(95868),y=o(56332),h=o(52879);let c=r=class extends p.Z{constructor(t){super(t),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new r({edges:this.edges&&this.edges.clone(),enabled:this.enabled,material:(0,i.pC)(this.material)?this.material.clone():null,castShadows:this.castShadows,size:this.size})}};(0,s._)([(0,n.J)({Extrude:"extrude"},{readOnly:!0})],c.prototype,"type",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],c.prototype,"size",void 0),(0,s._)([(0,l.Cb)({type:h.b,json:{write:!0}})],c.prototype,"material",void 0),(0,s._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],c.prototype,"castShadows",void 0),(0,s._)([(0,l.Cb)(y.Z)],c.prototype,"edges",void 0),c=r=(0,s._)([(0,a.j)("esri.symbols.ExtrudeSymbol3DLayer")],c);const d=c},21218:(t,e,o)=>{o.d(e,{Z:()=>p});var r=o(43697),s=o(5600),i=(o(67676),o(75215),o(52011)),l=o(4095),n=o(89164);let a=class extends n.Z{constructor(t){super(t),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline&&this.outline.hash()}`}};(0,r._)([(0,s.Cb)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":l.Z}},json:{default:null,write:!0}})],a.prototype,"outline",void 0),(0,r._)([(0,s.Cb)({type:["simple-fill","picture-fill"],readOnly:!0})],a.prototype,"type",void 0),a=(0,r._)([(0,i.j)("esri.symbols.FillSymbol")],a);const p=a},95191:(t,e,o)=>{o.d(e,{Z:()=>x});var r,s=o(43697),i=o(70586),l=o(5600),n=(o(67676),o(75215),o(36030)),a=o(52011),p=o(95868),y=o(56332),h=o(4618),c=o(74721),d=o(17495),u=o(50178),m=(o(92604),o(20102),o(80442),o(52879));let b=r=class extends m.b{constructor(t){super(t),this.colorMixMode=null}clone(){const t={color:(0,i.pC)(this.color)?this.color.clone():null,colorMixMode:this.colorMixMode};return new r(t)}};(0,s._)([(0,n.J)({multiply:"multiply",replace:"replace",tint:"tint"})],b.prototype,"colorMixMode",void 0),b=r=(0,s._)([(0,a.j)("esri.symbols.support.Symbol3DFillMaterial")],b);var w,f=o(22303),v=o(96674),g=o(62357),_=o(37308),C=o(45119);let S=w=class extends v.wq{constructor(t){super(t),this.color=new f.Z([0,0,0,1]),this.size=(0,g.Wz)(1),this.pattern=null,this.patternCap="butt"}clone(){const t={color:(0,i.pC)(this.color)?this.color.clone():null,size:this.size,pattern:(0,i.pC)(this.pattern)?this.pattern.clone():null,patternCap:this.patternCap};return new w(t)}};var j;(0,s._)([(0,l.Cb)(_.a)],S.prototype,"color",void 0),(0,s._)([(0,l.Cb)(_.y)],S.prototype,"size",void 0),(0,s._)([(0,l.Cb)(d.D)],S.prototype,"pattern",void 0),(0,s._)([(0,l.Cb)({type:C.Hc,json:{default:"butt",write:{overridePolicy(){return{enabled:(0,i.pC)(this.pattern)}}}}})],S.prototype,"patternCap",void 0),S=w=(0,s._)([(0,a.j)("esri.symbols.support.Symbol3DOutline")],S);let Z=j=class extends p.Z{constructor(t){super(t),this.type="fill",this.material=null,this.pattern=null,this.castShadows=!0,this.outline=null,this.edges=null}clone(){const t={edges:(0,i.pC)(this.edges)?this.edges.clone():null,enabled:this.enabled,material:(0,i.pC)(this.material)?this.material.clone():null,pattern:(0,i.pC)(this.pattern)?this.pattern.clone():null,castShadows:this.castShadows,outline:(0,i.pC)(this.outline)?this.outline.clone():null};return new j(t)}static fromSimpleFillSymbol(t){const e=t.outline&&t.outline.style&&"inside-frame"!==t.outline.style&&"solid"!==t.outline.style?new h.Z({style:t.outline.style}):null,o={size:t.outline?.width??0,color:(t.outline?.color??u.ix).clone(),pattern:e};return e&&t.outline?.cap&&(o.patternCap=t.outline.cap),new j({material:new b({color:(t.color??u.l9).clone()}),pattern:t.style&&"solid"!==t.style?new c.Z({style:t.style}):null,outline:o})}};(0,s._)([(0,n.J)({Fill:"fill"},{readOnly:!0})],Z.prototype,"type",void 0),(0,s._)([(0,l.Cb)({type:b,json:{write:!0}})],Z.prototype,"material",void 0),(0,s._)([(0,l.Cb)(d.q)],Z.prototype,"pattern",void 0),(0,s._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],Z.prototype,"castShadows",void 0),(0,s._)([(0,l.Cb)({type:S,json:{write:!0}})],Z.prototype,"outline",void 0),(0,s._)([(0,l.Cb)(y.Z)],Z.prototype,"edges",void 0),Z=j=(0,s._)([(0,a.j)("esri.symbols.FillSymbol3DLayer")],Z);const x=Z},31134:(t,e,o)=>{o.d(e,{Z:()=>c});var r,s=o(43697),i=o(96674),l=o(62357),n=o(5600),a=(o(67676),o(90578)),p=o(52011),y=o(61565);let h=r=class extends i.wq{constructor(t){super(t),this.decoration="none",this.family="sans-serif",this.size=9,this.style="normal",this.weight="normal"}castSize(t){return(0,l.t_)(t)}clone(){return new r({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,s._)([(0,n.Cb)({type:y.JT,json:{default:"none",write:!0}})],h.prototype,"decoration",void 0),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],h.prototype,"family",void 0),(0,s._)([(0,n.Cb)({type:Number,json:{write:{overridePolicy:(t,e,o)=>({enabled:!o||!o.textSymbol3D})}}})],h.prototype,"size",void 0),(0,s._)([(0,a.p)("size")],h.prototype,"castSize",null),(0,s._)([(0,n.Cb)({type:y.g6,json:{default:"normal",write:!0}})],h.prototype,"style",void 0),(0,s._)([(0,n.Cb)({type:y.vC,json:{default:"normal",write:!0}})],h.prototype,"weight",void 0),h=r=(0,s._)([(0,p.j)("esri.symbols.Font")],h);const c=h},50575:(t,e,o)=>{o.d(e,{Z:()=>A});var r,s=o(43697),i=o(92604),l=o(70586),n=o(17452),a=o(5600),p=(o(67676),o(75215),o(36030)),y=o(52011),h=o(95868),c=o(50178),d=o(35454),u=o(96674),m=o(71715),b=o(30556),w=o(25929);const f=(0,d.w)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let v=r=class extends u.wq{constructor(t){super(t)}readHref(t,e,o){return t?(0,w.f)(t,o):e.dataURI}writeHref(t,e,o,r){t&&((0,n.HK)(t)?e.dataURI=t:(e.href=(0,w.t)(t,r),(0,n.YP)(e.href)&&(e.href=(0,n.Fv)(e.href))))}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s._)([(0,a.Cb)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],v.prototype,"href",void 0),(0,s._)([(0,m.r)("href")],v.prototype,"readHref",null),(0,s._)([(0,b.c)("href",{href:{type:String},dataURI:{type:String}})],v.prototype,"writeHref",null),(0,s._)([(0,p.J)(f)],v.prototype,"primitive",void 0),v=r=(0,s._)([(0,y.j)("esri.symbols.support.IconSymbol3DLayerResource")],v);var g,_=o(37308),C=o(15923);let S=g=class extends C.Z{constructor(){super(...arguments),this.x=0,this.y=0}clone(){return new g({x:this.x,y:this.y})}};(0,s._)([(0,a.Cb)({type:Number})],S.prototype,"x",void 0),(0,s._)([(0,a.Cb)({type:Number})],S.prototype,"y",void 0),S=g=(0,s._)([(0,y.j)("esri.symbols.support.Symbol3DAnchorPosition2D")],S);var j,Z=o(22303),x=o(62357);let L=j=class extends u.wq{constructor(t){super(t),this.color=new Z.Z([0,0,0,1]),this.size=(0,x.Wz)(1)}clone(){const t={color:(0,l.pC)(this.color)?this.color.clone():null,size:this.size};return new j(t)}};(0,s._)([(0,a.Cb)(_.a)],L.prototype,"color",void 0),(0,s._)([(0,a.Cb)(_.y)],L.prototype,"size",void 0),L=j=(0,s._)([(0,y.j)("esri.symbols.support.Symbol3DIconOutline")],L);var z,k=o(52879);const O="esri.symbols.IconSymbol3DLayer";let D=z=class extends h.Z{constructor(t){super(t),this.material=null,this.resource=null,this.type="icon",this.size=12,this.anchor="center",this.anchorPosition=null,this.outline=null}clone(){return new z({anchor:this.anchor,anchorPosition:this.anchorPosition&&this.anchorPosition.clone(),enabled:this.enabled,material:(0,l.pC)(this.material)?this.material.clone():null,outline:(0,l.pC)(this.outline)?this.outline.clone():null,resource:this.resource&&this.resource.clone(),size:this.size})}static fromSimpleMarkerSymbol(t){const e=t.color||c.ix,o=N(t),r=t.outline&&t.outline.width>0?{size:t.outline.width,color:(t.outline.color||c.ix).clone()}:null;return new z({size:t.size,resource:{primitive:P(t.style)},material:{color:e},outline:r,anchor:o?"relative":void 0,anchorPosition:o})}static fromPictureMarkerSymbol(t){const e=!t.color||(0,c.rx)(t.color)?c.ix:t.color,o=N(t);return new z({size:t.width<=t.height?t.height:t.width,resource:{href:t.url},material:{color:e.clone()},anchor:o?"relative":void 0,anchorPosition:o})}static fromCIMSymbol(t){return new z({resource:{href:(0,n._l)({mediaType:"application/json",data:JSON.stringify(t.data)})}})}};function N(t){const e="width"in t?t.width:t.size,o="height"in t?t.height:t.size,r=$(t.xoffset),s=$(t.yoffset);return(r||s)&&e&&o?{x:-r/e,y:s/o}:null}function $(t){return isFinite(t)?t:0}(0,s._)([(0,a.Cb)({type:k.b,json:{write:!0}})],D.prototype,"material",void 0),(0,s._)([(0,a.Cb)({type:v,json:{write:!0}})],D.prototype,"resource",void 0),(0,s._)([(0,p.J)({Icon:"icon"},{readOnly:!0})],D.prototype,"type",void 0),(0,s._)([(0,a.Cb)(_.y)],D.prototype,"size",void 0),(0,s._)([(0,p.J)({center:"center",left:"left",right:"right",top:"top",bottom:"bottom",topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",relative:"relative"}),(0,a.Cb)({json:{default:"center"}})],D.prototype,"anchor",void 0),(0,s._)([(0,a.Cb)({type:S,json:{type:[Number],read:{reader:t=>new S({x:t[0],y:t[1]})},write:{writer:(t,e)=>{e.anchorPosition=[t.x,t.y]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],D.prototype,"anchorPosition",void 0),(0,s._)([(0,a.Cb)({type:L,json:{write:!0}})],D.prototype,"outline",void 0),D=z=(0,s._)([(0,y.j)(O)],D);const M={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function P(t){return M[t]||(i.Z.getLogger(O).warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}const A=D},20825:(t,e,o)=>{o.d(e,{Z:()=>b});var r,s=o(43697),i=o(46791),l=o(22974),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=o(87223),h=o(2283),c=o(84275),d=o(7413);const u=i.Z.ofType({base:null,key:"type",typeMap:{text:h.Z}});let m=r=class extends y.Z{constructor(t){super(t),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.symbolLayers=new u,this.type="label-3d"}supportsCallout(){return!0}hasVisibleCallout(){return(0,c.gv)(this)}hasVisibleVerticalOffset(){return(0,c.Uy)(this)}clone(){return new r({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail),callout:(0,l.d9)(this.callout),verticalOffset:(0,l.d9)(this.verticalOffset)})}static fromTextSymbol(t){return new r({symbolLayers:[h.Z.fromTextSymbol(t)]})}};(0,s._)([(0,n.Cb)({type:d.Z,json:{write:!0}})],m.prototype,"verticalOffset",void 0),(0,s._)([(0,n.Cb)(c.Y2)],m.prototype,"callout",void 0),(0,s._)([(0,n.Cb)({json:{read:!1,write:!1}})],m.prototype,"styleOrigin",void 0),(0,s._)([(0,n.Cb)({type:u})],m.prototype,"symbolLayers",void 0),(0,s._)([(0,a.J)({LabelSymbol3D:"label-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,s._)([(0,p.j)("esri.symbols.LabelSymbol3D")],m);const b=m},98587:(t,e,o)=>{o.d(e,{Z:()=>b});var r,s=o(43697),i=o(46791),l=o(22974),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=o(38128),h=o(96742),c=o(87223);const d=i.Z.ofType({base:null,key:"type",typeMap:{line:y.Z,path:h.Z}}),u=i.Z.ofType({base:null,key:"type",typeMap:{line:y.Z,path:h.Z}});let m=r=class extends c.Z{constructor(t){super(t),this.symbolLayers=new d,this.type="line-3d"}clone(){return new r({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromSimpleLineSymbol(t){return new r({symbolLayers:[y.Z.fromSimpleLineSymbol(t)]})}};(0,s._)([(0,n.Cb)({type:d,json:{type:u}})],m.prototype,"symbolLayers",void 0),(0,s._)([(0,a.J)({LineSymbol3D:"line-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,s._)([(0,p.j)("esri.symbols.LineSymbol3D")],m);const b=m},38128:(t,e,o)=>{o.d(e,{Z:()=>Z});var r=o(43697),s=o(70586),i=o(62357),l=o(5600),n=(o(67676),o(75215)),a=o(36030),p=o(52011),y=o(22303),h=o(2368),c=o(96674),d=o(57742);let u=class extends((0,h.J)(c.wq)){constructor(t){super(t),this.type="style",this.placement="begin-end",this.style="arrow",this.color=null}equals(t){return(0,s.pC)(t)&&t.placement===this.placement&&t.style===this.style&&((0,s.Wi)(this.color)&&(0,s.Wi)(t.color)||(0,s.pC)(this.color)&&(0,s.pC)(t.color)&&this.color.toJSON()===t.color.toJSON())}};(0,r._)([(0,l.Cb)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],u.prototype,"type",void 0),(0,r._)([(0,l.Cb)({type:d.J,json:{default:"begin-end",write:!0}})],u.prototype,"placement",void 0),(0,r._)([(0,l.Cb)({type:d.k,json:{default:"arrow",write:!0}})],u.prototype,"style",void 0),(0,r._)([(0,l.Cb)({type:y.Z,json:{type:[n.z8],default:null,write:!0}})],u.prototype,"color",void 0),u=(0,r._)([(0,p.j)("esri.symbols.LineStyleMarker3D")],u);const m=u;var b,w=o(95868),f=o(4618),v=o(17495),g=o(50178),_=o(37308),C=o(52879),S=o(45119);let j=b=class extends w.Z{constructor(t){super(t),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.size=(0,i.Wz)(1),this.pattern=null,this.marker=null}clone(){const t={enabled:this.enabled,material:(0,s.pC)(this.material)?this.material.clone():null,size:this.size,join:this.join,cap:this.cap,pattern:(0,s.pC)(this.pattern)?this.pattern.clone():null,marker:(0,s.pC)(this.marker)?this.marker.clone():null};return new b(t)}static fromSimpleLineSymbol(t){const e={enabled:!0,size:t.width??(0,i.Wz)(1),cap:t.cap||"butt",join:t.join||"miter",pattern:t.style&&"inside-frame"!==t.style?new f.Z({style:t.style}):null,material:new C.b({color:(t.color||g.ix).clone()}),marker:t.marker?new m({placement:t.marker.placement,style:t.marker.style,color:t.marker.color?.clone()??null}):null};return new b(e)}};(0,r._)([(0,l.Cb)({type:C.b,json:{write:!0}})],j.prototype,"material",void 0),(0,r._)([(0,a.J)({Line:"line"},{readOnly:!0})],j.prototype,"type",void 0),(0,r._)([(0,l.Cb)({type:S.w2,json:{write:!0,default:"miter"}})],j.prototype,"join",void 0),(0,r._)([(0,l.Cb)({type:S.Hc,json:{write:!0,default:"butt"}})],j.prototype,"cap",void 0),(0,r._)([(0,l.Cb)(_.y)],j.prototype,"size",void 0),(0,r._)([(0,l.Cb)(v.D)],j.prototype,"pattern",void 0),(0,r._)([(0,l.Cb)({types:{key:"type",base:m,typeMap:{style:m}},json:{write:!0}})],j.prototype,"marker",void 0),j=b=(0,r._)([(0,p.j)("esri.symbols.LineSymbol3DLayer")],j);const Z=j},40908:(t,e,o)=>{o.d(e,{Z:()=>p});var r=o(43697),s=o(62357),i=o(5600),l=(o(67676),o(75215),o(52011)),n=o(89164);let a=class extends n.Z{constructor(t){super(t),this.angle=0,this.type=null,this.xoffset=0,this.yoffset=0,this.size=9}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,r._)([(0,i.Cb)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],a.prototype,"angle",void 0),(0,r._)([(0,i.Cb)({type:["simple-marker","picture-marker"],readOnly:!0})],a.prototype,"type",void 0),(0,r._)([(0,i.Cb)({type:Number,cast:s.t_,json:{write:!0}})],a.prototype,"xoffset",void 0),(0,r._)([(0,i.Cb)({type:Number,cast:s.t_,json:{write:!0}})],a.prototype,"yoffset",void 0),(0,r._)([(0,i.Cb)({type:Number,cast:t=>"auto"===t?t:(0,s.t_)(t),json:{write:!0}})],a.prototype,"size",void 0),a=(0,r._)([(0,l.j)("esri.symbols.MarkerSymbol")],a);const p=a},3456:(t,e,o)=>{o.d(e,{Z:()=>u});var r,s=o(43697),i=o(46791),l=o(22974),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=o(95191),h=o(87223);const c=i.Z.ofType({base:null,key:"type",typeMap:{fill:y.Z}});let d=r=class extends h.Z{constructor(t){super(t),this.symbolLayers=new c,this.type="mesh-3d"}clone(){return new r({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromSimpleFillSymbol(t){return new r({symbolLayers:[y.Z.fromSimpleFillSymbol(t)]})}};(0,s._)([(0,n.Cb)({type:c})],d.prototype,"symbolLayers",void 0),(0,s._)([(0,a.J)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],d.prototype,"type",void 0),d=r=(0,s._)([(0,p.j)("esri.symbols.MeshSymbol3D")],d);const u=d},17143:(t,e,o)=>{o.d(e,{Z:()=>_});var r,s=o(43697),i=o(70586),l=o(5600),n=(o(67676),o(75215),o(36030)),a=o(52011),p=o(95868),y=o(35454),h=o(96674),c=o(25929);const d=(0,y.w)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let u=r=class extends h.wq{clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s._)([(0,l.Cb)({type:String,json:{read:c.r,write:c.w}})],u.prototype,"href",void 0),(0,s._)([(0,n.J)(d)],u.prototype,"primitive",void 0),u=r=(0,s._)([(0,a.j)("esri.symbols.support.ObjectSymbol3DLayerResource")],u);var m,b=o(15923);let w=m=class extends b.Z{constructor(){super(...arguments),this.x=0,this.y=0,this.z=0}clone(){return new m({x:this.x,y:this.y,z:this.z})}};(0,s._)([(0,l.Cb)({type:Number})],w.prototype,"x",void 0),(0,s._)([(0,l.Cb)({type:Number})],w.prototype,"y",void 0),(0,s._)([(0,l.Cb)({type:Number})],w.prototype,"z",void 0),w=m=(0,s._)([(0,a.j)("esri.symbols.support.Symbol3DAnchorPosition3D")],w);var f,v=o(52879);let g=f=class extends p.Z{constructor(t){super(t),this.material=null,this.castShadows=!0,this.resource=null,this.type="object",this.width=void 0,this.height=void 0,this.depth=void 0,this.anchor=void 0,this.anchorPosition=void 0,this.heading=void 0,this.tilt=void 0,this.roll=void 0}clone(){return new f({heading:this.heading,tilt:this.tilt,roll:this.roll,anchor:this.anchor,anchorPosition:this.anchorPosition&&this.anchorPosition.clone(),depth:this.depth,enabled:this.enabled,height:this.height,material:(0,i.pC)(this.material)?this.material.clone():null,castShadows:this.castShadows,resource:this.resource&&this.resource.clone(),width:this.width})}get isPrimitive(){return!this.resource||"string"!=typeof this.resource.href}};(0,s._)([(0,l.Cb)({type:v.b,json:{write:!0}})],g.prototype,"material",void 0),(0,s._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],g.prototype,"castShadows",void 0),(0,s._)([(0,l.Cb)({type:u,json:{write:!0}})],g.prototype,"resource",void 0),(0,s._)([(0,n.J)({Object:"object"},{readOnly:!0})],g.prototype,"type",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0}})],g.prototype,"width",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0}})],g.prototype,"height",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0}})],g.prototype,"depth",void 0),(0,s._)([(0,n.J)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"}),(0,l.Cb)({json:{default:"origin"}})],g.prototype,"anchor",void 0),(0,s._)([(0,l.Cb)({type:w,json:{type:[Number],read:{reader:t=>new w({x:t[0],y:t[1],z:t[2]})},write:{writer:(t,e)=>{e.anchorPosition=[t.x,t.y,t.z]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],g.prototype,"anchorPosition",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0}})],g.prototype,"heading",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0}})],g.prototype,"tilt",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0}})],g.prototype,"roll",void 0),(0,s._)([(0,l.Cb)({readOnly:!0})],g.prototype,"isPrimitive",null),g=f=(0,s._)([(0,a.j)("esri.symbols.ObjectSymbol3DLayer")],g);const _=g},96742:(t,e,o)=>{o.d(e,{Z:()=>u});var r,s=o(43697),i=o(70586),l=o(5600),n=(o(67676),o(75215),o(36030)),a=o(71715),p=o(52011),y=o(95868),h=o(52879),c=o(45119);let d=r=class extends y.Z{constructor(t){super(t),this.material=null,this.castShadows=!0,this.type="path",this.profile="circle",this.join="miter",this.cap="butt",this.width=void 0,this.height=void 0,this.anchor="center",this.profileRotation="all"}readWidth(t,e){return null!=t?t:null==e.height&&null!=e.size?e.size:void 0}readHeight(t,e){return null!=t?t:null==e.width&&null!=e.size?e.size:void 0}clone(){return new r({enabled:this.enabled,material:(0,i.pC)(this.material)?this.material.clone():null,castShadows:this.castShadows,profile:this.profile,join:this.join,cap:this.cap,width:this.width,height:this.height,profileRotation:this.profileRotation,anchor:this.anchor})}};(0,s._)([(0,l.Cb)({type:h.b,json:{write:!0}})],d.prototype,"material",void 0),(0,s._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],d.prototype,"castShadows",void 0),(0,s._)([(0,n.J)({Path:"path"},{readOnly:!0})],d.prototype,"type",void 0),(0,s._)([(0,l.Cb)({type:["circle","quad"],json:{write:!0,default:"circle"}})],d.prototype,"profile",void 0),(0,s._)([(0,l.Cb)({type:c.w2,json:{write:!0,default:"miter"}})],d.prototype,"join",void 0),(0,s._)([(0,l.Cb)({type:c.KW,json:{write:!0,default:"butt"}})],d.prototype,"cap",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],d.prototype,"width",void 0),(0,s._)([(0,a.r)("width",["width","size","height"])],d.prototype,"readWidth",null),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0}})],d.prototype,"height",void 0),(0,s._)([(0,a.r)("height",["height","size","width"])],d.prototype,"readHeight",null),(0,s._)([(0,l.Cb)({type:["center","bottom","top"],json:{write:!0,default:"center"}})],d.prototype,"anchor",void 0),(0,s._)([(0,l.Cb)({type:["heading","all"],json:{write:!0,default:"all"}})],d.prototype,"profileRotation",void 0),d=r=(0,s._)([(0,p.j)("esri.symbols.PathSymbol3DLayer")],d);const u=d},37898:(t,e,o)=>{o.d(e,{Z:()=>u});var r,s=o(43697),i=o(22974),l=o(62357),n=o(5600),a=(o(75215),o(36030)),p=o(71715),y=o(52011),h=o(40908),c=o(94075);let d=r=class extends h.Z{constructor(...t){super(...t),this.color=null,this.type="picture-marker",this.url=null,this.source=null,this.height=12,this.width=12,this.size=null}normalizeCtorArgs(t,e,o){if(t&&"string"!=typeof t&&null==t.imageData)return t;const r={};return t&&(r.url=t),null!=e&&(r.width=(0,l.t_)(e)),null!=o&&(r.height=(0,l.t_)(o)),r}readHeight(t,e){return e.size||t}readWidth(t,e){return e.size||t}clone(){const t=new r({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return t._set("source",(0,i.d9)(this.source)),t}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,s._)([(0,n.Cb)({json:{write:!1}})],d.prototype,"color",void 0),(0,s._)([(0,a.J)({esriPMS:"picture-marker"},{readOnly:!0})],d.prototype,"type",void 0),(0,s._)([(0,n.Cb)(c.KA)],d.prototype,"url",void 0),(0,s._)([(0,n.Cb)(c.Ds)],d.prototype,"source",void 0),(0,s._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],d.prototype,"height",void 0),(0,s._)([(0,p.r)("height",["height","size"])],d.prototype,"readHeight",null),(0,s._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],d.prototype,"width",void 0),(0,s._)([(0,n.Cb)({json:{write:!1}})],d.prototype,"size",void 0),d=r=(0,s._)([(0,y.j)("esri.symbols.PictureMarkerSymbol")],d);const u=d},42143:(t,e,o)=>{o.d(e,{Z:()=>f});var r,s=o(43697),i=o(46791),l=o(22974),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=o(50575),h=o(17143),c=o(87223),d=o(2283),u=o(84275),m=o(7413);const b=i.Z.ofType({base:null,key:"type",typeMap:{icon:y.Z,object:h.Z,text:d.Z}});let w=r=class extends c.Z{constructor(t){super(t),this.verticalOffset=null,this.callout=null,this.symbolLayers=new b,this.type="point-3d"}supportsCallout(){if((this.symbolLayers?this.symbolLayers.length:0)<1)return!1;for(const t of this.symbolLayers.items)switch(t.type){case"icon":case"text":case"object":continue;default:return!1}return!0}hasVisibleCallout(){return(0,u.gv)(this)}hasVisibleVerticalOffset(){return(0,u.Uy)(this)}clone(){return new r({verticalOffset:(0,l.d9)(this.verticalOffset),callout:(0,l.d9)(this.callout),styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromSimpleMarkerSymbol(t){return new r({symbolLayers:[y.Z.fromSimpleMarkerSymbol(t)]})}static fromPictureMarkerSymbol(t){return new r({symbolLayers:[y.Z.fromPictureMarkerSymbol(t)]})}static fromCIMSymbol(t){const e=t.data?.symbol?.type;if("CIMPointSymbol"!==e)return null;const o=t.data.symbol;return new r(o?.callout?{symbolLayers:[y.Z.fromCIMSymbol(t)],callout:{type:"line",size:.5,color:[0,0,0]},verticalOffset:{screenLength:40}}:{symbolLayers:[y.Z.fromCIMSymbol(t)]})}static fromTextSymbol(t){return new r({symbolLayers:[d.Z.fromTextSymbol(t)]})}};(0,s._)([(0,n.Cb)({type:m.Z,json:{write:!0}})],w.prototype,"verticalOffset",void 0),(0,s._)([(0,n.Cb)(u.Y2)],w.prototype,"callout",void 0),(0,s._)([(0,n.Cb)({type:b,json:{origins:{"web-scene":{write:!0}}}})],w.prototype,"symbolLayers",void 0),(0,s._)([(0,a.J)({PointSymbol3D:"point-3d"},{readOnly:!0})],w.prototype,"type",void 0),w=r=(0,s._)([(0,p.j)("esri.symbols.PointSymbol3D")],w);const f=w},86114:(t,e,o)=>{o.d(e,{Z:()=>_});var r,s=o(43697),i=o(46791),l=o(22974),n=o(70586),a=o(5600),p=(o(75215),o(36030)),y=o(52011),h=o(38445),c=o(95191),d=o(50575),u=o(38128),m=o(17143),b=o(87223),w=o(2283),f=o(44398);const v=i.Z.ofType({base:null,key:"type",typeMap:{extrude:h.Z,fill:c.Z,icon:d.Z,line:u.Z,object:m.Z,text:w.Z,water:f.Z}});let g=r=class extends b.Z{constructor(t){super(t),this.symbolLayers=new v,this.type="polygon-3d"}clone(){return new r({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromJSON(t){const e=new r;if(e.read(t),2===e.symbolLayers.length&&"fill"===e.symbolLayers.getItemAt(0).type&&"line"===e.symbolLayers.getItemAt(1).type){const o=e.symbolLayers.getItemAt(0),r=e.symbolLayers.getItemAt(1);!r.enabled||t.symbolLayers&&t.symbolLayers[1]&&!1===t.symbolLayers[1].enable||(o.outline={size:r.size,color:(0,n.pC)(r.material)?r.material.color:null}),e.symbolLayers.removeAt(1)}return e}static fromSimpleFillSymbol(t){return new r({symbolLayers:[c.Z.fromSimpleFillSymbol(t)]})}};(0,s._)([(0,a.Cb)({type:v,json:{write:!0}})],g.prototype,"symbolLayers",void 0),(0,s._)([(0,p.J)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],g.prototype,"type",void 0),g=r=(0,s._)([(0,y.j)("esri.symbols.PolygonSymbol3D")],g);const _=g},20256:(t,e,o)=>{o.d(e,{Z:()=>m});var r,s=o(43697),i=o(22303),l=o(35454),n=o(22974),a=o(5600),p=(o(75215),o(36030)),y=o(52011),h=o(21218),c=o(4095);const d=new l.X({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let u=r=class extends h.Z{constructor(...t){super(...t),this.color=new i.Z([0,0,0,.25]),this.outline=new c.Z,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(t,e,o){if(t&&"string"!=typeof t)return t;const r={};return t&&(r.style=t),e&&(r.outline=e),o&&(r.color=o),r}clone(){return new r({color:(0,n.d9)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,s._)([(0,a.Cb)()],u.prototype,"color",void 0),(0,s._)([(0,a.Cb)()],u.prototype,"outline",void 0),(0,s._)([(0,p.J)({esriSFS:"simple-fill"},{readOnly:!0})],u.prototype,"type",void 0),(0,s._)([(0,a.Cb)({type:d.apiValues,json:{read:d.read,write:d.write}})],u.prototype,"style",void 0),u=r=(0,s._)([(0,y.j)("esri.symbols.SimpleFillSymbol")],u);const m=u},4095:(t,e,o)=>{o.d(e,{Z:()=>j});var r=o(43697),s=o(35454),i=o(22974),l=o(62357),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=(o(67676),o(89164));let h=class extends y.Z{constructor(t){super(t),this.type="simple-line",this.width=.75}hash(){return`${this.type}.${this.width}`}};(0,r._)([(0,a.J)({esriSLS:"simple-line"},{readOnly:!0})],h.prototype,"type",void 0),(0,r._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],h.prototype,"width",void 0),h=(0,r._)([(0,p.j)("esri.symbols.LineSymbol")],h);const c=h;var d,u=o(22303),m=o(96674),b=o(71715),w=o(30556),f=o(57742);let v=d=class extends m.wq{constructor(t){super(t),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(t,e,o,r){e[o]="web-map"===r?.origin?"arrow":t}set color(t){this._set("color",t)}readColor(t){return t&&null!=t[0]?[t[0],t[1],t[2],t[3]/255]:t}writeColor(t,e,o,r){"web-map"===r?.origin||(e[o]=t)}clone(){return new d({color:(0,i.d9)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,r._)([(0,n.Cb)({type:["begin","end","begin-end"],json:{write:!0}})],v.prototype,"placement",void 0),(0,r._)([(0,a.J)({"line-marker":"line-marker"},{readOnly:!0}),(0,n.Cb)({json:{origins:{"web-map":{write:!1}}}})],v.prototype,"type",void 0),(0,r._)([(0,n.Cb)({type:f.k})],v.prototype,"style",void 0),(0,r._)([(0,w.c)("style")],v.prototype,"writeStyle",null),(0,r._)([(0,n.Cb)({type:u.Z,value:null,json:{write:{allowNull:!0}}})],v.prototype,"color",null),(0,r._)([(0,b.r)("color")],v.prototype,"readColor",null),(0,r._)([(0,w.c)("color")],v.prototype,"writeColor",null),v=d=(0,r._)([(0,p.j)("esri.symbols.LineSymbolMarker")],v);const g=v;var _;const C=new s.X({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSInsideFrame:"inside-frame",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let S=_=class extends c{constructor(...t){super(...t),this.type="simple-line",this.style="solid",this.cap="round",this.join="round",this.marker=null,this.miterLimit=2}normalizeCtorArgs(t,e,o,r,s,i){if(t&&"string"!=typeof t)return t;const n={};return null!=t&&(n.style=t),null!=e&&(n.color=e),null!=o&&(n.width=(0,l.t_)(o)),null!=r&&(n.cap=r),null!=s&&(n.join=s),null!=i&&(n.miterLimit=(0,l.t_)(i)),n}clone(){return new _({color:(0,i.d9)(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:this.marker?.clone()})}hash(){return`${super.hash()}.${this.color?.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${this.marker?.hash()}`}};(0,r._)([(0,a.J)({esriSLS:"simple-line"},{readOnly:!0})],S.prototype,"type",void 0),(0,r._)([(0,n.Cb)({type:C.apiValues,json:{read:C.read,write:C.write}})],S.prototype,"style",void 0),(0,r._)([(0,n.Cb)({type:["butt","round","square"],json:{write:{overridePolicy:(t,e,o)=>({enabled:"round"!==t&&(null==o||null==o.origin)})}}})],S.prototype,"cap",void 0),(0,r._)([(0,n.Cb)({type:["miter","round","bevel"],json:{write:{overridePolicy:(t,e,o)=>({enabled:"round"!==t&&(null==o||null==o.origin)})}}})],S.prototype,"join",void 0),(0,r._)([(0,n.Cb)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":g}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],S.prototype,"marker",void 0),(0,r._)([(0,n.Cb)({type:Number,json:{read:!1,write:!1}})],S.prototype,"miterLimit",void 0),S=_=(0,r._)([(0,p.j)("esri.symbols.SimpleLineSymbol")],S);const j=S},77987:(t,e,o)=>{o.d(e,{Z:()=>w});var r,s=o(43697),i=o(22303),l=o(35454),n=o(22974),a=o(62357),p=o(5600),y=(o(75215),o(36030)),h=o(52011),c=o(30556),d=o(40908),u=o(4095);const m=new l.X({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let b=r=class extends d.Z{constructor(...t){super(...t),this.color=new i.Z([255,255,255,.25]),this.type="simple-marker",this.size=12,this.style="circle",this.outline=new u.Z}normalizeCtorArgs(t,e,o,r){if(t&&"string"!=typeof t)return t;const s={};return t&&(s.style=t),null!=e&&(s.size=(0,a.t_)(e)),o&&(s.outline=o),r&&(s.color=r),s}writeColor(t,e){t&&"x"!==this.style&&"cross"!==this.style&&(e.color=t.toJSON()),null===t&&(e.color=null)}set path(t){this.style="path",this._set("path",t)}clone(){return new r({angle:this.angle,color:(0,n.d9)(this.color),outline:this.outline&&this.outline.clone(),path:this.path,size:this.size,style:this.style,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${this.outline?.hash()}`}};(0,s._)([(0,p.Cb)()],b.prototype,"color",void 0),(0,s._)([(0,c.c)("color")],b.prototype,"writeColor",null),(0,s._)([(0,y.J)({esriSMS:"simple-marker"},{readOnly:!0})],b.prototype,"type",void 0),(0,s._)([(0,p.Cb)()],b.prototype,"size",void 0),(0,s._)([(0,p.Cb)({type:m.apiValues,json:{read:m.read,write:m.write}})],b.prototype,"style",void 0),(0,s._)([(0,p.Cb)({type:String,json:{write:!0}})],b.prototype,"path",null),(0,s._)([(0,p.Cb)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":u.Z}},json:{default:null,write:!0}})],b.prototype,"outline",void 0),b=r=(0,s._)([(0,h.j)("esri.symbols.SimpleMarkerSymbol")],b);const w=b},87223:(t,e,o)=>{o.d(e,{Z:()=>D});var r=o(43697),s=o(46791),i=o(70921),l=o(92604),n=o(17452),a=o(20941),p=o(5600),y=(o(67676),o(90578)),h=o(71715),c=o(52011),d=o(30556),u=o(65587),m=o(25929),b=o(38445),w=o(95191),f=o(50575),v=o(38128),g=o(17143),_=o(96742),C=o(89164),S=o(95868),j=o(2283),Z=o(44398),x=o(71144),L=o(23203);const z={icon:f.Z,object:g.Z,line:v.Z,path:_.Z,fill:w.Z,extrude:b.Z,text:j.Z,water:Z.Z},k=s.Z.ofType({base:S.Z,key:"type",typeMap:z,errorContext:"symbol-layer"});let O=class extends C.Z{constructor(t){super(t),this.styleOrigin=null,this.thumbnail=null,this.type=null;const e=this.__accessor__&&this.__accessor__.metadatas&&this.__accessor__.metadatas.symbolLayers,o=e&&e.type||s.Z;this._set("symbolLayers",new o)}get color(){return null}set color(t){this.constructed&&l.Z.getLogger(this.declaredClass).error("Symbol3D does not support colors on the symbol level. Colors may be set on individual symbol layer materials instead.")}set symbolLayers(t){(0,i.Z)(t,this._get("symbolLayers"))}readStyleOrigin(t,e,o){if(t.styleUrl&&t.name){const e=(0,m.f)(t.styleUrl,o);return new x.Z({styleUrl:e,name:t.name})}if(t.styleName&&t.name)return new x.Z({portal:o&&o.portal||u.Z.getDefault(),styleName:t.styleName,name:t.name});o&&o.messages&&o.messages.push(new a.Z("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:o,definition:t}))}writeStyleOrigin(t,e,o,r){if(t.styleUrl&&t.name){let o=(0,m.t)(t.styleUrl,r);(0,n.YP)(o)&&(o=(0,n.Fv)(o)),e.styleOrigin={styleUrl:o,name:t.name}}else t.styleName&&t.name&&(t.portal&&r&&r.portal&&!(0,n.tm)(t.portal.restUrl,r.portal.restUrl)?r&&r.messages&&r.messages.push(new a.Z("symbol:cross-portal","The symbol style origin cannot be persisted because it refers to an item on a different portal than the one being saved to.",{symbol:this})):e.styleOrigin={styleName:t.styleName,name:t.name})}normalizeCtorArgs(t){return t instanceof S.Z||t&&z[t.type]?{symbolLayers:[t]}:Array.isArray(t)?{symbolLayers:t}:t}};(0,r._)([(0,p.Cb)({json:{read:!1,write:!1}})],O.prototype,"color",null),(0,r._)([(0,p.Cb)({type:k,nonNullable:!0,json:{write:!0}}),(0,y.p)(i.R)],O.prototype,"symbolLayers",null),(0,r._)([(0,p.Cb)({type:x.Z})],O.prototype,"styleOrigin",void 0),(0,r._)([(0,h.r)("styleOrigin")],O.prototype,"readStyleOrigin",null),(0,r._)([(0,d.c)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],O.prototype,"writeStyleOrigin",null),(0,r._)([(0,p.Cb)({type:L.p,json:{read:!1}})],O.prototype,"thumbnail",void 0),(0,r._)([(0,p.Cb)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],O.prototype,"type",void 0),O=(0,r._)([(0,c.j)("esri.symbols.Symbol3D")],O);const D=O},95868:(t,e,o)=>{o.d(e,{Z:()=>p});var r=o(43697),s=o(96674),i=o(5600),l=(o(67676),o(75215),o(52011)),n=o(30556);let a=class extends s.wq{constructor(t){super(t),this.enabled=!0,this.type=null}writeEnabled(t,e,o){t||(e[o]=t)}};(0,r._)([(0,i.Cb)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],a.prototype,"enabled",void 0),(0,r._)([(0,n.c)("enabled")],a.prototype,"writeEnabled",null),(0,r._)([(0,i.Cb)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0})],a.prototype,"type",void 0),a=(0,r._)([(0,l.j)("esri.symbols.Symbol3DLayer")],a);const p=a},78724:(t,e,o)=>{o.d(e,{Z:()=>w});var r,s=o(43697),i=o(22303),l=o(22974),n=o(62357),a=o(5600),p=o(90578),y=o(36030),h=o(52011),c=o(30556),d=o(31134),u=o(89164),m=o(61565);let b=r=class extends u.Z{constructor(...t){super(...t),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new d.Z,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.haloSize=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.xoffset=0,this.yoffset=0,this.angle=0,this.width=null,this.lineWidth=192,this.lineHeight=1}normalizeCtorArgs(t,e,o){if(t&&"string"!=typeof t)return t;const r={};return t&&(r.text=t),e&&(r.font=e),o&&(r.color=o),r}writeLineWidth(t,e,o,r){r&&"string"!=typeof r?r.origin:e[o]=t}castLineWidth(t){return(0,n.t_)(t)}writeLineHeight(t,e,o,r){r&&"string"!=typeof r?r.origin:e[o]=t}clone(){return new r({angle:this.angle,backgroundColor:(0,l.d9)(this.backgroundColor),borderLineColor:(0,l.d9)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,l.d9)(this.color),font:this.font&&this.font.clone(),haloColor:(0,l.d9)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor&&this.backgroundColor.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${this.haloColor&&this.haloColor.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,s._)([(0,a.Cb)({type:i.Z,json:{write:!0}})],b.prototype,"backgroundColor",void 0),(0,s._)([(0,a.Cb)({type:i.Z,json:{write:!0}})],b.prototype,"borderLineColor",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],b.prototype,"borderLineSize",void 0),(0,s._)([(0,a.Cb)({type:d.Z,json:{write:!0}})],b.prototype,"font",void 0),(0,s._)([(0,a.Cb)({...m.x0,json:{write:!0}})],b.prototype,"horizontalAlignment",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],b.prototype,"kerning",void 0),(0,s._)([(0,a.Cb)({type:i.Z,json:{write:!0}})],b.prototype,"haloColor",void 0),(0,s._)([(0,a.Cb)({type:Number,cast:n.t_,json:{write:!0}})],b.prototype,"haloSize",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],b.prototype,"rightToLeft",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],b.prototype,"rotated",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],b.prototype,"text",void 0),(0,s._)([(0,y.J)({esriTS:"text"},{readOnly:!0})],b.prototype,"type",void 0),(0,s._)([(0,a.Cb)({...m.Nj,json:{write:!0}})],b.prototype,"verticalAlignment",void 0),(0,s._)([(0,a.Cb)({type:Number,cast:n.t_,json:{write:!0}})],b.prototype,"xoffset",void 0),(0,s._)([(0,a.Cb)({type:Number,cast:n.t_,json:{write:!0}})],b.prototype,"yoffset",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],b.prototype,"angle",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],b.prototype,"width",void 0),(0,s._)([(0,a.Cb)({type:Number})],b.prototype,"lineWidth",void 0),(0,s._)([(0,c.c)("lineWidth")],b.prototype,"writeLineWidth",null),(0,s._)([(0,p.p)("lineWidth")],b.prototype,"castLineWidth",null),(0,s._)([(0,a.Cb)(m.Ck)],b.prototype,"lineHeight",void 0),(0,s._)([(0,c.c)("lineHeight")],b.prototype,"writeLineHeight",null),b=r=(0,s._)([(0,h.j)("esri.symbols.TextSymbol")],b);const w=b},2283:(t,e,o)=>{o.d(e,{Z:()=>j});var r,s=o(43697),i=o(22974),l=o(70586),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=o(30556),h=o(31134),c=o(95868),d=o(37308),u=o(22303),m=o(96674);let b=r=class extends m.wq{constructor(){super(...arguments),this.color=new u.Z([0,0,0,1]),this.size=0}clone(){const t={color:(0,i.d9)(this.color),size:this.size};return new r(t)}};(0,s._)([(0,n.Cb)(d.a)],b.prototype,"color",void 0),(0,s._)([(0,n.Cb)(d.y)],b.prototype,"size",void 0),b=r=(0,s._)([(0,p.j)("esri.symbols.support.Symbol3DHalo")],b);var w=o(52879),f=o(2368);o(67676);let v=class extends((0,f.J)(m.wq)){constructor(t){super(t),this.color=null}};(0,s._)([(0,n.Cb)(d.a)],v.prototype,"color",void 0),v=(0,s._)([(0,p.j)("esri.symbols.support.Symbol3DTextBackground")],v);var g,_=o(61565);let C=g=class extends c.Z{constructor(t){super(t),this._userSize=void 0,this.halo=null,this.horizontalAlignment="center",this.lineHeight=1,this.material=null,this.background=null,this.text=null,this.type="text",this.verticalAlignment="baseline"}get font(){return this._get("font")||null}set font(t){(0,l.pC)(t)&&(0,l.pC)(this._userSize)&&(t.size=this._userSize),this._set("font",t)}writeFont(t,e,o,r){const s={...r,textSymbol3D:!0};e.font=t.write({},s),delete e.font.size}get size(){return(0,l.pC)(this._userSize)?this._userSize:(0,l.pC)(this.font)&&null!=this.font.size?this.font.size:9}set size(t){this._userSize=t,(0,l.pC)(this.font)&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const t=new g({enabled:this.enabled,font:this.font&&(0,i.d9)(this.font),halo:this.halo&&(0,i.d9)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:(0,l.pC)(this.material)?this.material.clone():null,text:this.text,verticalAlignment:this.verticalAlignment,background:(0,i.d9)(this.background)});return t._userSize=this._userSize,t}static fromTextSymbol(t){return new g({font:(0,l.pC)(t.font)?t.font.clone():new h.Z,halo:S(t.haloColor,t.haloSize),horizontalAlignment:t.horizontalAlignment,lineHeight:t.lineHeight,material:t.color?new w.b({color:t.color.clone()}):null,text:t.text,verticalAlignment:t.verticalAlignment,background:t.backgroundColor?new v({color:t.backgroundColor.clone()}):null})}};function S(t,e){return t&&null!=e&&e>0?new b({color:(0,i.d9)(t),size:e}):null}(0,s._)([(0,n.Cb)({type:h.Z,json:{write:!0}})],C.prototype,"font",null),(0,s._)([(0,y.c)("font")],C.prototype,"writeFont",null),(0,s._)([(0,n.Cb)({type:b,json:{write:!0}})],C.prototype,"halo",void 0),(0,s._)([(0,n.Cb)({..._.x0,json:{default:"center",write:!0}})],C.prototype,"horizontalAlignment",void 0),(0,s._)([(0,n.Cb)({..._.Ck,json:{default:1,write:!0}})],C.prototype,"lineHeight",void 0),(0,s._)([(0,n.Cb)({type:w.b,json:{write:!0}})],C.prototype,"material",void 0),(0,s._)([(0,n.Cb)({type:v,json:{write:!0}})],C.prototype,"background",void 0),(0,s._)([(0,n.Cb)(d.y)],C.prototype,"size",null),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],C.prototype,"text",void 0),(0,s._)([(0,a.J)({Text:"text"},{readOnly:!0})],C.prototype,"type",void 0),(0,s._)([(0,n.Cb)({..._.Nj,json:{default:"baseline",write:!0}})],C.prototype,"verticalAlignment",void 0),C=g=(0,s._)([(0,p.j)("esri.symbols.TextSymbol3DLayer")],C);const j=C},44398:(t,e,o)=>{o.d(e,{Z:()=>u});var r,s=o(43697),i=o(22303),l=o(22974),n=o(5600),a=o(75215),p=o(36030),y=o(52011),h=o(95868);let c=r=class extends h.Z{constructor(t){super(t),this.color=d.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:(0,l.d9)(this.color),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,s._)([(0,n.Cb)({type:i.Z,nonNullable:!0,json:{type:[a.z8],write:(t,e,o)=>e[o]=t.toArray(i.Z.AlphaMode.UNLESS_OPAQUE),default:()=>d.clone(),defaultEquals:t=>t.toCss(!0)===d.toCss(!0)}})],c.prototype,"color",void 0),(0,s._)([(0,p.J)({Water:"water"},{readOnly:!0})],c.prototype,"type",void 0),(0,s._)([(0,n.Cb)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],c.prototype,"waterbodySize",void 0),(0,s._)([(0,n.Cb)({type:Number,json:{write:!0,default:null}})],c.prototype,"waveDirection",void 0),(0,s._)([(0,n.Cb)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],c.prototype,"waveStrength",void 0),c=r=(0,s._)([(0,y.j)("esri.symbols.WaterSymbol3DLayer")],c);const d=new i.Z([0,119,190]),u=c},59390:(t,e,o)=>{o.d(e,{Z:()=>b});var r,s=o(43697),i=o(92604),l=o(70586),n=o(95330),a=o(5600),p=(o(67676),o(75215),o(36030)),y=o(52011),h=o(65587),c=o(25929),d=o(89164),u=o(23203);let m=r=class extends d.Z{constructor(t){super(t),this.styleName=null,this.portal=null,this.styleUrl=null,this.thumbnail=null,this.name=null,this.type="web-style"}get _fetchCacheKey(){const t=(0,l.pC)(this.portal)?this.portal:h.Z.getDefault(),e=t.user?t.user.username:null;return`${this.styleName}:${this.styleUrl}:${this.name}:${e}:${t.url}`}read(t,e){this.portal=e?e.portal:void 0,super.read(t,e)}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(t){return this._fetchSymbol("webRef",t)}fetchCIMSymbol(t){return this._fetchSymbol("cimRef",t)}async _fetchSymbol(t,e){const r=(0,l.pC)(e)?e.cache:null,s=r?this._fetchCacheKey:null;if((0,l.pC)(r)){const t=s&&r.get(s);if(t)return t.clone()}const a=await o.e(4499).then(o.bind(o,74499));(0,n.k_)(e);const p=a.resolveWebStyleSymbol(this,{portal:this.portal},t,e);p.catch((t=>{i.Z.getLogger(this.declaredClass).error("#fetchSymbol()","Failed to create symbol from style",t)}));const y=await p;return"webRef"===t&&"point-3d"===y.type||"cimRef"===t&&"cim"===y.type?((0,l.pC)(r)&&r.set(s,y.clone()),y):null}};(0,s._)([(0,a.Cb)({json:{write:!1}})],m.prototype,"color",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],m.prototype,"styleName",void 0),(0,s._)([(0,a.Cb)({type:h.Z,json:{write:!1}})],m.prototype,"portal",void 0),(0,s._)([(0,a.Cb)({type:String,json:{read:c.r,write:c.w}})],m.prototype,"styleUrl",void 0),(0,s._)([(0,a.Cb)({type:u.p,json:{read:!1}})],m.prototype,"thumbnail",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],m.prototype,"name",void 0),(0,s._)([(0,p.J)({styleSymbolReference:"web-style"},{readOnly:!0})],m.prototype,"type",void 0),(0,s._)([(0,a.Cb)()],m.prototype,"_fetchCacheKey",null),m=r=(0,s._)([(0,y.j)("esri.symbols.WebStyleSymbol")],m);const b=m},27539:(t,e,o)=>{o.d(e,{Z:()=>a});var r=o(43697),s=o(96674),i=o(5600),l=(o(67676),o(75215),o(52011));let n=class extends s.wq{constructor(t){super(t),this.visible=!0}clone(){}};(0,r._)([(0,i.Cb)({type:["line"],readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),(0,r._)([(0,i.Cb)({readOnly:!0})],n.prototype,"visible",void 0),n=(0,r._)([(0,l.j)("esri.symbols.callouts.Callout3D")],n);const a=n},69496:(t,e,o)=>{o.d(e,{Z:()=>b});var r,s=o(43697),i=o(22303),l=o(22974),n=o(70586),a=o(62357),p=o(5600),y=(o(75215),o(36030)),h=o(52011),c=o(27539),d=o(6352),u=o(37308);let m=r=class extends c.Z{constructor(t){super(t),this.type="line",this.color=new i.Z([0,0,0,1]),this.size=(0,a.Wz)(1),this.border=null}get visible(){return this.size>0&&(0,n.pC)(this.color)&&this.color.a>0}clone(){return new r({color:(0,l.d9)(this.color),size:this.size,border:(0,l.d9)(this.border)})}};(0,s._)([(0,y.J)({line:"line"},{readOnly:!0})],m.prototype,"type",void 0),(0,s._)([(0,p.Cb)(u.a)],m.prototype,"color",void 0),(0,s._)([(0,p.Cb)(u.y)],m.prototype,"size",void 0),(0,s._)([(0,p.Cb)({type:d.a,json:{write:!0}})],m.prototype,"border",void 0),(0,s._)([(0,p.Cb)({readOnly:!0})],m.prototype,"visible",null),m=r=(0,s._)([(0,h.j)("esri.symbols.callouts.LineCallout3D")],m);const b=m},84275:(t,e,o)=>{o.d(e,{Uy:()=>l,Y2:()=>a,gv:()=>n});var r=o(70586),s=o(27539),i=o(69496);function l(t){if(!t)return!1;const e=t.verticalOffset;return!!e&&!(e.screenLength<=0||(0,r.pC)(e.maxWorldLength)&&e.maxWorldLength<=0)}function n(t){if(!t)return!1;if(!t.supportsCallout||!t.supportsCallout())return!1;const e=t.callout;return!!e&&!!e.visible&&!!l(t)}const a={types:{key:"type",base:s.Z,typeMap:{line:i.Z}},json:{write:!0}}},56332:(t,e,o)=>{o.d(e,{Z:()=>v});var r=o(43697),s=o(22303),i=o(96674),l=o(22974),n=o(62357),a=o(5600),p=(o(75215),o(52011)),y=o(37308);let h=class extends i.wq{constructor(t){super(t),this.color=new s.Z([0,0,0,1]),this.extensionLength=0,this.size=(0,n.Wz)(1)}clone(){}cloneProperties(){return{color:(0,l.d9)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r._)([(0,a.Cb)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],h.prototype,"type",void 0),(0,r._)([(0,a.Cb)(y.a)],h.prototype,"color",void 0),(0,r._)([(0,a.Cb)({...y.y,json:{write:{overridePolicy:t=>({enabled:!!t})}}})],h.prototype,"extensionLength",void 0),(0,r._)([(0,a.Cb)(y.y)],h.prototype,"size",void 0),h=(0,r._)([(0,p.j)("esri.symbols.edges.Edges3D")],h);const c=h;o(92604),o(67676),o(20102),o(80442);var d,u=o(36030);let m=d=class extends c{constructor(t){super(t),this.type="sketch"}clone(){return new d(this.cloneProperties())}};(0,r._)([(0,u.J)({sketch:"sketch"},{readOnly:!0})],m.prototype,"type",void 0),m=d=(0,r._)([(0,p.j)("esri.symbols.edges.SketchEdges3D")],m);const b=m;var w;let f=w=class extends c{constructor(t){super(t),this.type="solid"}clone(){return new w(this.cloneProperties())}};(0,r._)([(0,u.J)({solid:"solid"},{readOnly:!0})],f.prototype,"type",void 0),f=w=(0,r._)([(0,p.j)("esri.symbols.support.SolidEdges3D")],f);const v={types:{key:"type",base:c,typeMap:{solid:f,sketch:b}},json:{write:!0}}},32626:(t,e,o)=>{o.d(e,{Z:()=>a});var r=o(43697),s=o(96674),i=o(5600),l=(o(67676),o(75215),o(52011));let n=class extends s.wq{constructor(t){super(t)}clone(){}};(0,r._)([(0,i.Cb)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r._)([(0,l.j)("esri.symbols.patterns.LinePattern3D")],n);const a=n},4618:(t,e,o)=>{o.d(e,{Z:()=>c});var r,s=o(43697),i=o(35454),l=o(5600),n=(o(67676),o(75215),o(36030)),a=o(52011),p=o(32626);const y=(0,i.w)()({dash:"dash","dash-dot":"dash-dot","dash-dot-dot":"long-dash-dot-dot",dot:"dot","long-dash":"long-dash","long-dash-dot":"long-dash-dot",null:"none","short-dash":"short-dash","short-dash-dot":"short-dash-dot","short-dash-dot-dot":"short-dash-dot-dot","short-dot":"short-dot",solid:"solid"});let h=r=class extends p.Z{constructor(t){super(t),this.type="style",this.style="solid"}clone(){const t={style:this.style};return new r(t)}};(0,s._)([(0,l.Cb)({type:["style"]})],h.prototype,"type",void 0),(0,s._)([(0,n.J)(y),(0,l.Cb)({type:["dash","dash-dot","dot","long-dash","long-dash-dot","long-dash-dot-dot","none","short-dash","short-dash-dot","short-dash-dot-dot","short-dot","solid"]})],h.prototype,"style",void 0),h=r=(0,s._)([(0,a.j)("esri.symbols.patterns.LineStylePattern3D")],h);const c=h},41776:(t,e,o)=>{o.d(e,{Z:()=>a});var r=o(43697),s=o(96674),i=o(5600),l=(o(67676),o(75215),o(52011));let n=class extends s.wq{constructor(t){super(t)}clone(){}};(0,r._)([(0,i.Cb)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r._)([(0,l.j)("esri.symbols.patterns.Pattern3D")],n);const a=n},74721:(t,e,o)=>{o.d(e,{Z:()=>p});var r,s=o(43697),i=o(5600),l=(o(67676),o(75215),o(52011)),n=o(41776);let a=r=class extends n.Z{constructor(t){super(t),this.type="style",this.style="solid"}clone(){const t={style:this.style};return new r(t)}};(0,s._)([(0,i.Cb)({type:["style"]})],a.prototype,"type",void 0),(0,s._)([(0,i.Cb)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:!0}})],a.prototype,"style",void 0),a=r=(0,s._)([(0,l.j)("esri.symbols.patterns.StylePattern3D")],a);const p=a},17495:(t,e,o)=>{o.d(e,{D:()=>a,q:()=>n});var r=o(32626),s=o(4618),i=o(41776),l=o(74721);const n={types:{key:"type",base:i.Z,typeMap:{style:l.Z}},json:{write:!0}},a={types:{key:"type",base:r.Z,typeMap:{style:s.Z}},json:{write:!0}}},71144:(t,e,o)=>{o.d(e,{Z:()=>y});var r,s=o(43697),i=o(15923),l=o(5600),n=(o(67676),o(75215),o(52011)),a=o(65587);let p=r=class extends i.Z{constructor(t){super(t),this.name=null,this.styleUrl=null,this.styleName=null,this.portal=null}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,s._)([(0,l.Cb)({type:String})],p.prototype,"name",void 0),(0,s._)([(0,l.Cb)({type:String})],p.prototype,"styleUrl",void 0),(0,s._)([(0,l.Cb)({type:String})],p.prototype,"styleName",void 0),(0,s._)([(0,l.Cb)({type:a.Z})],p.prototype,"portal",void 0),p=r=(0,s._)([(0,n.j)("esri.symbols.support.StyleOrigin")],p);const y=p},52879:(t,e,o)=>{o.d(e,{b:()=>y});var r,s=o(43697),i=o(96674),l=o(70586),n=o(5600),a=(o(67676),o(75215),o(52011)),p=o(37308);let y=r=class extends i.wq{constructor(t){super(t),this.color=null}clone(){const t={color:(0,l.pC)(this.color)?this.color.clone():null};return new r(t)}};(0,s._)([(0,n.Cb)(p.a)],y.prototype,"color",void 0),y=r=(0,s._)([(0,a.j)("esri.symbols.support.Symbol3DMaterial")],y)},7413:(t,e,o)=>{o.d(e,{Z:()=>y});var r,s=o(43697),i=o(96674),l=o(5600),n=(o(67676),o(75215),o(52011)),a=o(37308);let p=r=class extends i.wq{constructor(t){super(t),this.screenLength=0,this.minWorldLength=0,this.maxWorldLength=null}clone(){return new r({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,s._)([(0,l.Cb)(a.y)],p.prototype,"screenLength",void 0),(0,s._)([(0,l.Cb)({type:Number,nonNullable:!0,json:{write:!0,default:0}})],p.prototype,"minWorldLength",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0}})],p.prototype,"maxWorldLength",void 0),p=r=(0,s._)([(0,n.j)("esri.symbols.support.Symbol3DVerticalOffset")],p);const y=p},23203:(t,e,o)=>{o.d(e,{p:()=>a});var r,s=o(43697),i=o(15923),l=o(5600),n=(o(67676),o(75215),o(52011));let a=r=class extends i.Z{constructor(){super(...arguments),this.url=""}clone(){return new r({url:this.url})}};(0,s._)([(0,l.Cb)({type:String})],a.prototype,"url",void 0),a=r=(0,s._)([(0,n.j)("esri.symbols.support.Thumbnail")],a)},50178:(t,e,o)=>{o.d(e,{ix:()=>s,l9:()=>i,rx:()=>l});var r=o(22303);const s=new r.Z("white"),i=(new r.Z("black"),new r.Z([255,255,255,0]));function l(t){return 0===t.r&&0===t.g&&0===t.b}},57742:(t,e,o)=>{o.d(e,{J:()=>r,k:()=>s});const r=["begin","end","begin-end"],s=["arrow","circle","square","diamond","cross","x"]},37308:(t,e,o)=>{o.d(e,{a:()=>n,y:()=>a});var r=o(22303),s=o(62357),i=o(75215),l=o(65242);const n={type:r.Z,json:{type:[i.z8],default:null,read:{source:["color","transparency"],reader:function(t,e){const o=null!=e.transparency?(0,l.b)(e.transparency):1,s=e.color;return s&&Array.isArray(s)?new r.Z([s[0]||0,s[1]||0,s[2]||0,o]):null}},write:{target:{color:{type:[i.z8]},transparency:{type:i.z8}},writer:function(t,e){e.color=t.toJSON().slice(0,3);const o=(0,l.a)(t.a);0!==o&&(e.transparency=o)}}}},a={type:Number,cast:s.t_,json:{write:!0}}},45119:(t,e,o)=>{o.d(e,{$K:()=>i,Hc:()=>y,KW:()=>h,Uz:()=>p,w2:()=>c}),o(80442);var r=o(65617),s=o(60437);function i(t,{isPrimitive:e,width:o,depth:s,height:i}){const l=e?10:1;if(null==o&&null==i&&null==s)return[l*t[0],l*t[1],l*t[2]];const n=(0,r.f)(o,s,i);let a;for(let e=0;e<3;e++){const o=n[e];if(null!=o){a=o/t[e];break}}for(let e=0;e<3;e++)null==n[e]&&(n[e]=t[e]*a);return n}const l=(0,s.al)(-.5,-.5,-.5,.5,.5,.5),n=(0,s.al)(-.5,-.5,0,.5,.5,1),a=(0,s.al)(-.5,-.5,0,.5,.5,.5);function p(t){switch(t){case"sphere":case"cube":case"diamond":return l;case"cylinder":case"cone":case"inverted-cone":return n;case"tetrahedron":return a;default:return}}const y=["butt","square","round"],h=[...y,"none"],c=["miter","bevel","round"]},61565:(t,e,o)=>{o.d(e,{Ck:()=>a,JT:()=>i,Nj:()=>y,g6:()=>l,vC:()=>n,x0:()=>p});var r=o(22021),s=o(75215);const i=["none","underline","line-through"],l=["normal","italic","oblique"],n=["normal","lighter","bold","bolder"],a={type:Number,cast:t=>{const e=(0,s.q9)(t);return 0===e?1:(0,r.uZ)(e,.1,4)},nonNullable:!0},p={type:["left","right","center"],nonNullable:!0},y={type:["baseline","top","middle","bottom"],nonNullable:!0}},94075:(t,e,o)=>{o.d(e,{Ds:()=>n,KA:()=>l});var r=o(17452),s=o(25929);function i(t,e){return function(t){return!(null==t||"service"!==t.origin&&"portal-item"!==t.origin||"feature"!==t.layer?.type&&"stream"!==t.layer?.type)}(e)&&!(0,r.YP)(t)&&e?.layer?.parsedUrl?(0,r.v_)(e.layer.parsedUrl.path,"images",t):(0,s.f)(t,e)}const l={json:{read:{source:["imageData","url"],reader:function(t,e,o){return e.imageData?(0,r._l)({mediaType:e.contentType||"image/png",isBase64:!0,data:e.imageData}):i(e.url,o)}},write:{writer(t,e,o,i){!function(t,e,o,i){if((0,r.HK)(t)){const l=(0,r.sJ)(t);if(!l)return;e.contentType=l.mediaType,e.imageData=l.data,o&&o.imageData===e.imageData&&o.url&&(0,s.w)(o.url,e,"url",i)}else(0,s.w)(t,e,"url",i)}(t,e,this.source,i)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(t,e,o){const r={};return e.imageData&&(r.imageData=e.imageData),e.contentType&&(r.contentType=e.contentType),e.url&&(r.url=i(e.url,o)),r}}}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2855,4889],{88068:(e,t,r)=>{r.r(t),r.d(t,{default:()=>L});var o=r(43697),i=(r(66577),r(51773)),n=(r(16050),r(12501),r(28756),r(92271),r(72529),r(5499),r(84382),r(81571),r(91423),r(32400)),s=r(16453),a=r(5600),l=(r(67676),r(75215),r(52011)),p=r(86973),u=r(87085),c=r(20102),d=r(83379),y=r(70586),f=r(16467),m=r(74889),h=r(82971);let g=class extends d.Z{constructor(){super(...arguments),this.featureDefinition=null,this.type="ogc-feature"}load(e){return this.addResolvingPromise(this._loadOGCServices(this.layer,e)),this.when()}getSource(){const{featureDefinition:{collection:e,layerDefinition:t,spatialReference:r,supportedCrs:o},layer:{apiKey:i,customParameters:n,effectiveMaxRecordCount:s}}=this;return{type:"ogc-source",collection:e,layerDefinition:t,maxRecordCount:s,queryParameters:{apiKey:i,customParameters:n},spatialReference:r,supportedCrs:o}}queryExtent(e,t={}){return null}queryFeatureCount(e,t={}){return null}queryFeatures(e,t={}){return this.queryFeaturesJSON(e,t).then((e=>m.default.fromJSON(e)))}queryFeaturesJSON(e,t={}){const r=this.getSource();return this.load(t).then((()=>(0,f.yN)(r,e,t)))}queryObjectIds(e,t={}){return null}serviceSupportsSpatialReference(e){return!(!e.isWGS84&&!e.isWebMercator&&!this.featureDefinition.supportedCrs[e.wkid])}_conformsToType(e,t){const r=new RegExp(`^${t}$`,"i");return e.conformsTo.some((e=>r.test(e)))??!1}_getCapabilities(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:!1,supportsDelete:!1,supportsEditing:!1,supportsChangeTracking:!1,supportsQuery:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:!1,supportsExceedsLimitStatistics:!1},query:{maxRecordCount:t,maxRecordCountFactor:void 0,standardMaxRecordCount:void 0,supportsCacheHint:!1,supportsCentroid:!1,supportsDisjointSpatialRelationship:!1,supportsDistance:!1,supportsDistinct:!1,supportsExtent:!1,supportsFormatPBF:!1,supportsGeometryProperties:!1,supportsHavingClause:!1,supportsHistoricMoment:!1,supportsMaxRecordCountFactor:!1,supportsOrderBy:!1,supportsPagination:!1,supportsPercentileStatistics:!1,supportsQuantization:!1,supportsQuantizationEditMode:!1,supportsQueryByOthers:!1,supportsQueryGeometry:!1,supportsResultType:!1,supportsStandardizedQueriesOnly:!1,supportsTopFeaturesQuery:!1,supportsStatistics:!1,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsDefaultSpatialReference:!1,supportsCompactGeometry:!1,supportsSqlExpression:!1,tileMaxRecordCount:void 0},queryRelated:{supportsCount:!1,supportsOrderBy:!1,supportsPagination:!1,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},editing:{supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsGeometryUpdate:!1,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsUploadWithItemId:!1,supportsUpdateWithoutM:!1}}}_getMaxRecordCount(e){return e?.components?.parameters?.limit?.schema?.maximum??e?.components?.parameters?.limitFeatures?.schema?.maximum}_getStorageSpatialReference(e){const t=e.storageCrs??f.$9,r=(0,f.d)(t);return(0,y.Wi)(r)?h.Z.WGS84:new h.Z({wkid:r})}_getSupportedSpatialReferences(e,t){const r="#/crs",o=e.crs??[f.$9],i=o.includes(r)?o.filter((e=>e!==r)).concat(t.crs):o,n=/^http:\/\/www\.opengis.net\/def\/crs\/epsg\/.*\/3785$/i;return i.filter((e=>!n.test(e)))}async _loadOGCServices(e,t){const r=(0,y.pC)(t)?t.signal:null,{apiKey:o,collectionId:i,customParameters:n,fields:s,geometryType:a,hasZ:l,objectIdField:u,timeInfo:d,url:m}=e,h={fields:s?.map((e=>e.toJSON())),geometryType:p.P$.toJSON(a),hasZ:l,objectIdField:u,timeInfo:d?.toJSON()},g={apiKey:o,customParameters:n,signal:r},w=await(0,f.gp)(m,g),[b,S]=await Promise.all([(0,f.G4)(w,g),(0,f.j)(w,g)]);if(!this._conformsToType(b,"http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/geojson"))throw new c.Z("ogc-feature-layer:no-geojson-support","Server does not support geojson");const C=S.collections.find((e=>e.id===i));if(!C)throw new c.Z("ogc-feature-layer:collection-not-found","Server does not contain the named collection");const v=this._conformsToType(b,"http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/oas30")?await(0,f.eS)(w,g):null,F=await(0,f.w9)(C,h,g),x=this._getMaxRecordCount(v),T=this._getCapabilities(F.hasZ,x),_=this._getStorageSpatialReference(C).toJSON(),j=this._getSupportedSpatialReferences(C,S),R=new RegExp(`^${f.Lu}`,"i"),I={};for(const e of j){const t=(0,f.d)(e);(0,y.pC)(t)&&(I[t]||(I[t]=e.replace(R,"")))}this.featureDefinition={capabilities:T,collection:C,layerDefinition:F,spatialReference:_,supportedCrs:I}}};(0,o._)([(0,a.Cb)()],g.prototype,"featureDefinition",void 0),(0,o._)([(0,a.Cb)({constructOnly:!0})],g.prototype,"layer",void 0),(0,o._)([(0,a.Cb)()],g.prototype,"type",void 0),g=(0,o._)([(0,l.j)("esri.layers.graphics.sources.OGCFeatureSource")],g);var w=r(54295),b=r(71612),S=r(17017),C=r(69637),v=r(6404),F=r(38009),x=r(68825),T=r(16859),_=r(34760),j=r(72965),R=r(28294),I=r(21506),P=r(16451),O=r(1231),Z=r(53518),G=r(35671),k=r(54306),D=r(30707),M=r(57444),E=r(32163),q=r(6570);const N=(0,Z.v)();let A=class extends((0,w.V)((0,S.N)((0,v.M)((0,C.b)((0,b.h)((0,x.c)((0,R.n)((0,j.M)((0,F.q)((0,T.I)((0,_.Q)((0,s.R)(u.Z))))))))))))){constructor(e){super(e),this.collectionId=null,this.copyright=null,this.definitionExpression=null,this.description=null,this.displayField=null,this.elevationInfo=null,this.fields=null,this.fieldsIndex=null,this.fullExtent=null,this.geometryType=null,this.hasZ=void 0,this.labelingInfo=null,this.labelsVisible=!0,this.legendEnabled=!0,this.maxRecordCount=null,this.objectIdField=null,this.operationalLayerType="OGCFeatureLayer",this.popupEnabled=!0,this.popupTemplate=null,this.screenSizePerspectiveEnabled=!0,this.source=new g({layer:this}),this.spatialReference=null,this.title=null,this.type="ogc-feature",this.typeIdField=null,this.types=null,this.url=null}destroy(){this.source?.destroy()}load(e){return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["OGCFeatureServer"]},e).then((()=>this._fetchService(e)))),this.when()}get defaultPopupTemplate(){return this.createPopupTemplate()}get effectiveMaxRecordCount(){return this.maxRecordCount??this.capabilities?.query.maxRecordCount??5e3}get isTable(){return this.loaded&&null==this.geometryType}set renderer(e){(0,G.YN)(e,this.fieldsIndex),this._set("renderer",e)}on(e,t){return super.on(e,t)}createPopupTemplate(e){return(0,E.eZ)(this,e)}createQuery(){return new M.Z}getField(e){return this.fieldsIndex.get(e)}getFieldDomain(e,t){let r,o=!1;const i=t?.feature?.attributes,n=this.typeIdField&&i?.[this.typeIdField];return null!=n&&this.types&&(o=this.types.some((t=>t.id==n&&(r=t.domains?.[e],"inherited"===r?.type&&(r=this._getLayerDomain(e)),!0)))),o||r||(r=this._getLayerDomain(e)),r}queryFeatures(e,t){return this.load().then((()=>this.source.queryFeatures(M.Z.from(e)||this.createQuery(),t))).then((e=>(e?.features?.forEach((e=>{e.layer=e.sourceLayer=this})),e)))}serviceSupportsSpatialReference(e){return this.source?.serviceSupportsSpatialReference(e)??!1}async _fetchService(e){await this.source.load(e),this.read(this.source.featureDefinition,{origin:"service"}),(0,G.YN)(this.renderer,this.fieldsIndex),(0,G.UF)(this.timeInfo,this.fieldsIndex)}_getLayerDomain(e){if(!this.fields)return null;for(const t of this.fields)if(t.name===e&&t.domain)return t.domain;return null}};(0,o._)([(0,a.Cb)({readOnly:!0,json:{origins:{service:{read:!0}}}})],A.prototype,"capabilities",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],A.prototype,"collectionId",void 0),(0,o._)([(0,a.Cb)({type:String})],A.prototype,"copyright",void 0),(0,o._)([(0,a.Cb)({readOnly:!0})],A.prototype,"defaultPopupTemplate",null),(0,o._)([(0,a.Cb)({type:String})],A.prototype,"definitionExpression",void 0),(0,o._)([(0,a.Cb)({readOnly:!0,type:String,json:{origins:{service:{name:"collection.description"}}}})],A.prototype,"description",void 0),(0,o._)([(0,a.Cb)({type:String})],A.prototype,"displayField",void 0),(0,o._)([(0,a.Cb)({type:Number})],A.prototype,"effectiveMaxRecordCount",null),(0,o._)([(0,a.Cb)(I.PV)],A.prototype,"elevationInfo",void 0),(0,o._)([(0,a.Cb)({type:[O.Z],json:{origins:{service:{name:"layerDefinition.fields"}}}})],A.prototype,"fields",void 0),(0,o._)([(0,a.Cb)(N.fieldsIndex)],A.prototype,"fieldsIndex",void 0),(0,o._)([(0,a.Cb)({readOnly:!0,type:q.Z,json:{origins:{service:{name:"layerDefinition.extent"}}}})],A.prototype,"fullExtent",void 0),(0,o._)([(0,a.Cb)({type:p.Mk.apiValues,json:{origins:{service:{name:"layerDefinition.geometryType",read:{reader:p.Mk.read}}}}})],A.prototype,"geometryType",void 0),(0,o._)([(0,a.Cb)({type:Boolean,json:{origins:{service:{name:"layerDefinition.hasZ"}}}})],A.prototype,"hasZ",void 0),(0,o._)([(0,a.Cb)({type:Boolean,readOnly:!0})],A.prototype,"isTable",null),(0,o._)([(0,a.Cb)({type:[k.Z],json:{origins:{"web-document":{name:"layerDefinition.drawingInfo.labelingInfo",read:{reader:D.r},write:!0}}}})],A.prototype,"labelingInfo",void 0),(0,o._)([(0,a.Cb)(I.iR)],A.prototype,"labelsVisible",void 0),(0,o._)([(0,a.Cb)(I.rn)],A.prototype,"legendEnabled",void 0),(0,o._)([(0,a.Cb)({type:Number})],A.prototype,"maxRecordCount",void 0),(0,o._)([(0,a.Cb)({type:String,json:{origins:{service:{name:"layerDefinition.objectIdField"}}}})],A.prototype,"objectIdField",void 0),(0,o._)([(0,a.Cb)({type:["OGCFeatureLayer"]})],A.prototype,"operationalLayerType",void 0),(0,o._)([(0,a.Cb)(I.C_)],A.prototype,"popupEnabled",void 0),(0,o._)([(0,a.Cb)({type:i.Z,json:{name:"popupInfo",write:!0}})],A.prototype,"popupTemplate",void 0),(0,o._)([(0,a.Cb)({types:n.A,json:{origins:{service:{name:"layerDefinition.drawingInfo.renderer",write:!1},"web-scene":{types:n.o,name:"layerDefinition.drawingInfo.renderer",write:!0}},name:"layerDefinition.drawingInfo.renderer",write:!0}})],A.prototype,"renderer",null),(0,o._)([(0,a.Cb)(I.YI)],A.prototype,"screenSizePerspectiveEnabled",void 0),(0,o._)([(0,a.Cb)({readOnly:!0})],A.prototype,"source",void 0),(0,o._)([(0,a.Cb)({readOnly:!0,type:h.Z,json:{origins:{service:{read:!0}}}})],A.prototype,"spatialReference",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:{enabled:!0,ignoreOrigin:!0,isRequired:!0},origins:{service:{name:"collection.title"}}}})],A.prototype,"title",void 0),(0,o._)([(0,a.Cb)({readOnly:!0,json:{read:!1}})],A.prototype,"type",void 0),(0,o._)([(0,a.Cb)({type:String,readOnly:!0})],A.prototype,"typeIdField",void 0),(0,o._)([(0,a.Cb)({type:[P.Z]})],A.prototype,"types",void 0),(0,o._)([(0,a.Cb)(I.HQ)],A.prototype,"url",void 0),A=(0,o._)([(0,l.j)("esri.layers.OGCFeatureLayer")],A);const L=A},61159:(e,t,r)=>{r.d(t,{g:()=>o});const o={supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!0,supportsCacheHint:!1,supportsDistance:!0,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsDisjointSpatialRelationship:!0,supportsDefaultSpatialReference:!1,supportsCompactGeometry:!1,maxRecordCountFactor:void 0,maxRecordCount:void 0,standardMaxRecordCount:void 0,tileMaxRecordCount:void 0}},92722:(e,t,r)=>{r.d(t,{O3:()=>C,lG:()=>F,my:()=>v,q9:()=>l});var o=r(20102),i=r(70272),n=r(5428),s=r(35671);const a={LineString:"esriGeometryPolyline",MultiLineString:"esriGeometryPolyline",MultiPoint:"esriGeometryMultipoint",Point:"esriGeometryPoint",Polygon:"esriGeometryPolygon",MultiPolygon:"esriGeometryPolygon"};function l(e){return a[e]}function*p(e){switch(e.type){case"Feature":yield e;break;case"FeatureCollection":for(const t of e.features)t&&(yield t)}}function*u(e){if(!e)return null;switch(e.type){case"Point":yield e.coordinates;break;case"LineString":case"MultiPoint":yield*e.coordinates;break;case"MultiLineString":case"Polygon":for(const t of e.coordinates)yield*t;break;case"MultiPolygon":for(const t of e.coordinates)for(const e of t)yield*e}}function c(e){for(const t of e)if(t.length>2)return!0;return!1}function d(e){let t=0;for(let r=0;r<e.length;r++){const o=e[r],i=e[(r+1)%e.length];t+=o[0]*i[1]-i[0]*o[1]}return t<=0}function y(e){const t=e[0],r=e[e.length-1];return t[0]===r[0]&&t[1]===r[1]&&t[2]===r[2]||e.push(t),e}function f(e,t,r){switch(t.type){case"LineString":case"MultiPoint":return function(e,t,r){return g(e,t.coordinates,r),e}(e,t,r);case"MultiLineString":return function(e,t,r){for(const o of t.coordinates)g(e,o,r);return e}(e,t,r);case"MultiPolygon":return function(e,t,r){for(const o of t.coordinates){m(e,o[0],r);for(let t=1;t<o.length;t++)h(e,o[t],r)}return e}(e,t,r);case"Point":return function(e,t,r){return b(e,t.coordinates,r),e}(e,t,r);case"Polygon":return function(e,t,r){const o=t.coordinates;m(e,o[0],r);for(let t=1;t<o.length;t++)h(e,o[t],r);return e}(e,t,r)}}function m(e,t,r){const o=y(t);!function(e){return!d(e)}(o)?g(e,o,r):w(e,o,r)}function h(e,t,r){const o=y(t);!function(e){return d(e)}(o)?g(e,o,r):w(e,o,r)}function g(e,t,r){for(const o of t)b(e,o,r);e.lengths.push(t.length)}function w(e,t,r){for(let o=t.length-1;o>=0;o--)b(e,t[o],r);e.lengths.push(t.length)}function b(e,t,r){const[o,i,n]=t;e.coords.push(o,i),r.hasZ&&e.coords.push(n||0)}function S(e){switch(typeof e){case"string":return"esriFieldTypeString";case"number":return"esriFieldTypeDouble";default:return"unknown"}}function C(e){if(!e)throw new o.Z("geojson-layer:empty","GeoJSON data is empty");if("Feature"!==e.type&&"FeatureCollection"!==e.type)throw new o.Z("geojson-layer:unsupported-geojson-object","missing or not supported GeoJSON object type",{data:e});const{crs:t}=e;if(!t)return;const r="string"==typeof t?t:"name"===t.type?t.properties.name:"EPSG"===t.type?t.properties.code:null,i=new RegExp(".*(CRS84H?|4326)$","i");if(!r||!i.test(r))throw new o.Z("geojson-layer:unsupported-crs","unsupported GeoJSON 'crs' member",{crs:t})}function v(e,t={}){const r=[],o=new Set,i=new Set;let n,a=!1,d=null,y=!1,{geometryType:f=null}=t,m=!1;for(const t of p(e)){const{geometry:e,properties:s,id:p}=t;if((!e||(f||(f=l(e.type)),l(e.type)===f))&&(a||(a=c(u(e))),y||(y=null!=p,y&&(n=typeof p,d=Object.keys(s).filter((e=>s[e]===p)))),y&&null!=p&&(d.length>1?d=d.filter((e=>s[e]===p)):1===d.length&&(d=s[d[0]]===p?d:[])),!m&&s)){let e=!0;for(const t in s){if(o.has(t))continue;const n=s[t];if(null==n){e=!1,i.add(t);continue}const a=S(n);"unknown"!==a?(i.delete(t),o.add(t),r.push({name:t,alias:t,type:a})):i.add(t)}m=e}}const h=d&&1===d.length&&d[0]||null;if(h)for(const e of r)if(e.name===h&&(0,s.H7)(e)){e.type="esriFieldTypeOID";break}return{fields:r,geometryType:f,hasZ:a,objectIdFieldName:h,objectIdFieldType:n,unknownFields:Array.from(i)}}function F(e,t){return Array.from(function*(e,t={}){const{geometryType:r,objectIdField:o}=t;for(const s of e){const{geometry:e,properties:a,id:p}=s;if(e&&l(e.type)!==r)continue;const u=a||{};let c=u[o]??null;o&&null!=p&&!u[o]&&(u[o]=c=p);const d=new i.u_(e?f(new n.Z,e,t):null,u,null,c);yield d}}(p(e),t))}},25278:(e,t,r)=>{r.d(t,{Dm:()=>u,Hq:()=>c,MS:()=>d,bU:()=>a});var o=r(80442),i=r(22974),n=r(61159),s=r(58333);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?s.I4:"esriGeometryPolyline"===e?s.ET:s.lF}}}const l=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let p=1;function u(e,t){if((0,o.Z)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let r=`this.${t} = null;`;for(const t in e)r+=`this${l.test(t)?`.${t}`:`["${t}"]`} = ${JSON.stringify(e[t])};`;const o=new Function(`\n return class AttributesClass$${p++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new o}catch(r){return()=>({[t]:null,...e})}}function c(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,i.d9)(e)}}]}function d(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0},query:n.g,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1}}}},54295:(e,t,r)=>{r.d(t,{V:()=>s});var o=r(43697),i=r(5600),n=(r(67676),r(75215),r(52011));const s=e=>{let t=class extends e{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,o._)([(0,i.Cb)({type:String})],t.prototype,"apiKey",null),t=(0,o._)([(0,n.j)("esri.layers.mixins.APIKeyMixin")],t),t}},68825:(e,t,r)=>{r.d(t,{c:()=>m});var o,i=r(43697),n=r(78286),s=r(5600),a=(r(67676),r(75215),r(52011)),l=r(35454),p=r(96674);const u=new l.X({asc:"ascending",desc:"descending"});let c=o=class extends p.wq{constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new o({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,i._)([(0,s.Cb)({type:String,json:{write:!0}})],c.prototype,"field",void 0),(0,i._)([(0,s.Cb)({type:String,json:{write:!0}})],c.prototype,"valueExpression",void 0),(0,i._)([(0,s.Cb)({type:u.apiValues,json:{read:u.read,write:u.write}})],c.prototype,"order",void 0),c=o=(0,i._)([(0,a.j)("esri.layers.support.OrderByInfo")],c);const d=c;function y(e,t,r){if(!e)return null;const o=e.find((e=>!!e.field));if(!o)return null;const i=new d;return i.read(o,r),[i]}function f(e,t,r,o){const i=e.find((e=>!!e.field));i&&(0,n.RB)(r,[i.toJSON()],t)}const m=e=>{let t=class extends e{constructor(){super(...arguments),this.orderBy=null}};return(0,i._)([(0,s.Cb)({type:[d],json:{origins:{"web-scene":{write:!1,read:!1}},read:{source:"layerDefinition.orderBy",reader:y},write:{target:"layerDefinition.orderBy",writer:f}}})],t.prototype,"orderBy",void 0),t=(0,i._)([(0,a.j)("esri.layers.mixins.OrderedLayer")],t),t}},16467:(e,t,r)=>{r.d(t,{$9:()=>w,G4:()=>C,Lu:()=>g,WW:()=>_,d:()=>x,eS:()=>F,gp:()=>v,j:()=>S,w9:()=>b,yN:()=>T}),r(66577);var o=r(3172),i=r(20102),n=r(92604),s=r(70586),a=r(8744),l=r(40488),p=r(98732),u=r(44876),c=r(92722),d=r(25278),y=r(99514),f=r(86719),m=r(82971);const h=n.Z.getLogger("esri.layers.graphics.sources.ogcfeature"),g="http://www.opengis.net/def/crs/",w=`${g}OGC/1.3/CRS84`;async function b(e,t,r={},n=5){const{links:a}=e,l=O(a,"items","application/geo+json")||O(a,"http://www.opengis.net/def/rel/ogc/1.0/items","application/geo+json");if((0,s.Wi)(l))throw new i.Z("ogc-feature-layer:missing-items-page","Missing items url");const{data:p}=await(0,o.default)(l.href,{signal:r.signal,query:{limit:n,...r.customParameters,token:r.apiKey},headers:{accept:"application/geo+json"}});await(0,c.O3)(p);const u=(0,c.my)(p,{geometryType:t.geometryType}),m=t.fields||u.fields||[],g=null!=t.hasZ?t.hasZ:u.hasZ,w=u.geometryType,b=t.objectIdField||u.objectIdFieldName||"OBJECTID";let S=t.timeInfo;const C=m.find((({name:e})=>e===b));if(C)C.editable=!1,C.nullable=!1;else{if(!u.objectIdFieldType)throw new i.Z("ogc-feature-layer:missing-feature-id","Collection geojson require a feature id as a unique identifier");m.unshift({name:b,alias:b,type:"number"===u.objectIdFieldType?"esriFieldTypeOID":"esriFieldTypeString",editable:!1,nullable:!1})}if(b!==u.objectIdFieldName){const e=m.find((({name:e})=>e===u.objectIdFieldName));e&&(e.type="esriFieldTypeInteger")}m===u.fields&&u.unknownFields.length>0&&h.warn({name:"ogc-feature-layer:unknown-field-types",message:"Some fields types couldn't be inferred from the features and were dropped",details:{unknownFields:u.unknownFields}});for(const e of m){if(null==e.name&&(e.name=e.alias),null==e.alias&&(e.alias=e.name),"esriFieldTypeOID"!==e.type&&"esriFieldTypeGlobalID"!==e.type&&(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable),!e.name)throw new i.Z("ogc-feature-layer:invalid-field-name","field name is missing",{field:e});if(!f.v.jsonValues.includes(e.type))throw new i.Z("ogc-feature-layer:invalid-field-type",`invalid type for field "${e.name}"`,{field:e})}if(S){const e=new y.Z(m);if(S.startTimeField){const t=e.get(S.startTimeField);t?(S.startTimeField=t.name,t.type="esriFieldTypeDate"):S.startTimeField=null}if(S.endTimeField){const t=e.get(S.endTimeField);t?(S.endTimeField=t.name,t.type="esriFieldTypeDate"):S.endTimeField=null}if(S.trackIdField){const t=e.get(S.trackIdField);t?S.trackIdField=t.name:(S.trackIdField=null,h.warn({name:"ogc-feature-layer:invalid-timeInfo-trackIdField",message:"trackIdField is missing",details:{timeInfo:S}}))}S.startTimeField||S.endTimeField||(h.warn({name:"ogc-feature-layer:invalid-timeInfo",message:"startTimeField and endTimeField are missing",details:{timeInfo:S}}),S=null)}return{drawingInfo:w?(0,d.bU)(w):null,extent:P(e),geometryType:w,fields:m,hasZ:!!g,objectIdField:b,timeInfo:S}}async function S(e,t={}){const{links:r}=e,n=O(r,"data","application/json")||O(r,"http://www.opengis.net/def/rel/ogc/1.0/data","application/json");if((0,s.Wi)(n))throw new i.Z("ogc-feature-layer:missing-collections-page","Missing collections url");const{apiKey:a,customParameters:l,signal:p}=t,{data:u}=await(0,o.default)(n.href,{signal:p,headers:{accept:"application/json"},query:{...l,token:a}});return u}async function C(e,t={}){const{links:r}=e,n=O(r,"conformance","application/json")||O(r,"http://www.opengis.net/def/rel/ogc/1.0/conformance","application/json");if((0,s.Wi)(n))throw new i.Z("ogc-feature-layer:missing-conformance-page","Missing conformance url");const{apiKey:a,customParameters:l,signal:p}=t,{data:u}=await(0,o.default)(n.href,{signal:p,headers:{accept:"application/json"},query:{...l,token:a}});return u}async function v(e,t={}){const{apiKey:r,customParameters:i,signal:n}=t,{data:s}=await(0,o.default)(e,{signal:n,headers:{accept:"application/json"},query:{...i,token:r}});return s}async function F(e,t={}){const r="application/vnd.oai.openapi+json;version=3.0",i=O(e.links,"service-desc",r);if((0,s.Wi)(i))return h.warn("ogc-feature-layer:missing-openapi-page","The OGC API-Features server does not have an OpenAPI page."),null;const{apiKey:n,customParameters:a,signal:l}=t,{data:p}=await(0,o.default)(i.href,{signal:l,headers:{accept:r},query:{...a,token:n}});return p}function x(e){const t=/^http:\/\/www\.opengis.net\/def\/crs\/(?<authority>.*)\/(?<version>.*)\/(?<code>.*)$/i.exec(e)?.groups;if(!t)return null;const{authority:r,code:o}=t;switch(r.toLowerCase()){case"ogc":switch(o.toLowerCase()){case"crs27":return m.Z.GCS_NAD_1927.wkid;case"crs83":return 4269;case"crs84":case"crs84h":return m.Z.WGS84.wkid;default:return null}case"esri":case"epsg":{const e=Number.parseInt(o,10);return Number.isNaN(e)?null:e}default:return null}}async function T(e,t,r){const o=await _(e,t,r);return(0,p.cn)(o)}async function _(e,t,r){const{collection:n,layerDefinition:d,maxRecordCount:y,queryParameters:{apiKey:f,customParameters:h},spatialReference:g,supportedCrs:w}=e,{links:b}=n,S=O(b,"items","application/geo+json")||O(b,"http://www.opengis.net/def/rel/ogc/1.0/items","application/geo+json");if((0,s.Wi)(S))throw new i.Z("ogc-feature-layer:missing-items-page","Missing items url");const{geometry:C,num:v,start:F,timeExtent:x,where:T}=t;if(t.objectIds)throw new i.Z("ogc-feature-layer:query-by-objectids-not-supported","Queries with objectids are not supported");const _=m.Z.fromJSON(g),R=(0,s.Pt)(t.outSpatialReference,_),P=R.isWGS84?null:j(R,w),Z=I(C,w),G=function(e){if((0,s.Wi)(e))return null;const{start:t,end:r}=e;return`${(0,s.pC)(t)?t.toISOString():".."}/${(0,s.pC)(r)?r.toISOString():".."}`}(x),k=(E=T,(0,s.Wi)(E)||!E||"1=1"===E?null:E),D=v??(null!=F&&void 0!==F?10:y),{data:M}=await(0,o.default)(S.href,{...r,query:{...h,...Z,crs:P,datetime:G,query:k,limit:D,startindex:F,token:f},headers:{accept:"application/geo+json"}});var E;let q=!1;M.links&&(q=!!M.links.find((e=>"next"===e.rel))),!q&&Number.isInteger(M.numberMatched)&&Number.isInteger(M.numberReturned)&&(q=M.numberReturned<M.numberMatched);const{fields:N,geometryType:A,hasZ:L,objectIdField:z}=d,W=(0,c.lG)(M,{geometryType:A,hasZ:L,objectIdField:z});if(!P&&R.isWebMercator)for(const e of W)if((0,s.pC)(e.geometry)){const t=(0,p.di)(e.geometry,A,L,!1);t.spatialReference=m.Z.WGS84,e.geometry=(0,p.GH)((0,l.iV)(t,R))}for(const e of W)e.objectId=e.attributes[z];const $=P||!P&&R.isWebMercator?R.toJSON():a.Zn,Q=new u.Z;return Q.exceededTransferLimit=q,Q.features=W,Q.fields=N,Q.geometryType=A,Q.hasZ=L,Q.objectIdFieldName=z,Q.spatialReference=$,Q}function j(e,t){const{isWebMercator:r,wkid:o}=e;if(!o)return null;const i=r?t[3857]??t[102100]??t[102113]??t[900913]:t[e.wkid];return i?`${g}${i}`:null}function R(e){if((0,s.Wi)(e))return"";const{xmin:t,ymin:r,xmax:o,ymax:i}=e;return`${t},${r},${o},${i}`}function I(e,t){if(!function(e){return(0,s.pC)(e)&&"extent"===e.type}(e))return null;const{spatialReference:r}=e;if(!r||r.isWGS84)return{bbox:R(e)};const o=j(r,t);return(0,s.pC)(o)?{bbox:R(e),"bbox-crs":o}:r.isWebMercator?{bbox:R((0,l.iV)(e,m.Z.WGS84))}:null}function P(e){const t=e.extent?.spatial;if(!t)return null;const r=t.bbox[0],o=4===r.length,i=r[0],n=r[1],s=o?void 0:r[2];return{xmin:i,ymin:n,xmax:o?r[2]:r[3],ymax:o?r[3]:r[4],zmin:s,zmax:o?void 0:r[5],spatialReference:m.Z.WGS84.toJSON()}}function O(e,t,r){return e.find((e=>e.rel===t&&e.type===r))||e.find((e=>e.rel===t&&!e.type))}},70082:(e,t,r)=>{r.d(t,{Z:()=>c});var o=r(43697),i=r(2368),n=r(35454),s=r(96674),a=r(5600),l=(r(67676),r(75215),r(52011));const p=new n.X({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends((0,i.J)(s.wq)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,o._)([(0,a.Cb)({json:{write:!0}})],u.prototype,"name",void 0),(0,o._)([(0,a.Cb)({json:{write:!0}})],u.prototype,"description",void 0),(0,o._)([(0,a.Cb)({json:{read:p.read,write:p.write}})],u.prototype,"drawingTool",void 0),(0,o._)([(0,a.Cb)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,o._)([(0,a.Cb)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,o._)([(0,l.j)("esri.layers.support.FeatureTemplate")],u);const c=u},16451:(e,t,r)=>{r.d(t,{Z:()=>y});var o=r(43697),i=r(2368),n=r(96674),s=r(5600),a=(r(67676),r(75215),r(71715)),l=r(52011),p=r(30556),u=r(72729),c=r(70082);let d=class extends((0,i.J)(n.wq)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,u.im)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,o._)([(0,s.Cb)({json:{write:!0}})],d.prototype,"id",void 0),(0,o._)([(0,s.Cb)({json:{write:!0}})],d.prototype,"name",void 0),(0,o._)([(0,s.Cb)({json:{write:!0}})],d.prototype,"domains",void 0),(0,o._)([(0,a.r)("domains")],d.prototype,"readDomains",null),(0,o._)([(0,p.c)("domains")],d.prototype,"writeDomains",null),(0,o._)([(0,s.Cb)({type:[c.Z],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,o._)([(0,l.j)("esri.layers.support.FeatureType")],d);const y=d},51706:(e,t,r)=>{var o,i;function n(e){return e&&"esri.renderers.visualVariables.SizeVariable"===e.declaredClass}function s(e){return null!=e&&!isNaN(e)&&isFinite(e)}function a(e){return e.valueExpression?o.Expression:e.field&&"string"==typeof e.field?o.Field:o.Unknown}function l(e,t){const r=t||a(e),n=e.valueUnit||"unknown";return r===o.Unknown?i.Constant:e.stops?i.Stops:null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?i.ClampedLinear:"unknown"===n?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?i.Proportional:i.Additive:i.Identity:i.RealWorldSize}r.d(t,{PS:()=>a,QW:()=>l,RY:()=>o,hL:()=>i,iY:()=>n,qh:()=>s}),function(e){e.Unknown="unknown",e.Expression="expression",e.Field="field"}(o||(o={})),function(e){e.Unknown="unknown",e.Stops="stops",e.ClampedLinear="clamped-linear",e.Proportional="proportional",e.Additive="additive",e.Constant="constant",e.Identity="identity",e.RealWorldSize="real-world-size"}(i||(i={}))},74889:(e,t,r)=>{r.r(t),r.d(t,{default:()=>S});var o,i=r(43697),n=r(66577),s=r(38171),a=r(35454),l=r(96674),p=r(22974),u=r(70586),c=r(5600),d=(r(75215),r(71715)),y=r(52011),f=r(30556),m=r(82971),h=r(33955),g=r(1231);const w=new a.X({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let b=o=class extends l.wq{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){const r=m.Z.fromJSON(t.spatialReference),o=[];for(let t=0;t<e.length;t++){const i=e[t],n=s.Z.fromJSON(i),a=i.geometry&&i.geometry.spatialReference;(0,u.pC)(n.geometry)&&!a&&(n.geometry.spatialReference=r);const l=i.aggregateGeometries,p=n.aggregateGeometries;if(l&&(0,u.pC)(p))for(const e in p){const t=p[e],o=l[e]?.spatialReference;(0,u.pC)(t)&&!o&&(t.spatialReference=r)}o.push(n)}return o}writeGeometryType(e,t,r,o){if(e)return void w.write(e,t,r,o);const{features:i}=this;if(i)for(const e of i)if(e&&(0,u.pC)(e.geometry))return void w.write(e.geometry.type,t,r,o)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,o=(0,h.im)(e);return o&&!r&&t.spatialReference&&(o.spatialReference=m.Z.fromJSON(t.spatialReference)),o}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&(0,u.pC)(e.geometry)&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new o(this.cloneProperties())}cloneProperties(){return(0,p.d9)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const o=t.features[r];if(o.geometry){const t=e&&e[r];o.geometry=t&&t.toJSON()||o.geometry}}return t}quantize(e){const{scale:[t,r],translate:[o,i]}=e,n=this.features,s=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-o)/t)),(e=>Math.round((i-e)/r)));for(let e=0,t=n.length;e<t;e++)s?.((0,u.Wg)(n[e].geometry))||(n.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[o,i],scale:[n,s]}=r,a=this._getHydrationFunction(e,(e=>e*n+o),(e=>i-e*s));for(const{geometry:e}of t)(0,u.pC)(e)&&a&&a(e);return this.transform=null,this}_quantizePoints(e,t,r){let o,i;const n=[];for(let s=0,a=e.length;s<a;s++){const a=e[s];if(s>0){const e=t(a[0]),s=r(a[1]);e===o&&s===i||(n.push([e-o,s-i]),o=e,i=s)}else o=t(a[0]),i=r(a[1]),n.push([o,i])}return n.length>0?n:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const o=(0,h.oU)(e)?e.rings:e.paths,i=[];for(let e=0,n=o.length;e<n;e++){const n=o[e],s=this._quantizePoints(n,t,r);s&&i.push(s)}return i.length>0?((0,h.oU)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const o=this._quantizePoints(e.points,t,r);return o&&o.length>0?(e.points=o,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y)}:"polyline"===e||"polygon"===e?e=>{const o=(0,h.oU)(e)?e.rings:e.paths;let i,n;for(let e=0,s=o.length;e<s;e++){const s=o[e];for(let e=0,o=s.length;e<o;e++){const o=s[e];e>0?(i+=o[0],n+=o[1]):(i=o[0],n=o[1]),o[0]=t(i),o[1]=r(n)}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax)}:"multipoint"===e?e=>{const o=e.points;let i,n;for(let e=0,s=o.length;e<s;e++){const s=o[e];e>0?(i+=s[0],n+=s[1]):(i=s[0],n=s[1]),s[0]=t(i),s[1]=r(n)}}:null}};(0,i._)([(0,c.Cb)({type:String,json:{write:!0}})],b.prototype,"displayFieldName",void 0),(0,i._)([(0,c.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"exceededTransferLimit",void 0),(0,i._)([(0,c.Cb)({type:[s.Z],json:{write:!0}})],b.prototype,"features",void 0),(0,i._)([(0,d.r)("features")],b.prototype,"readFeatures",null),(0,i._)([(0,c.Cb)({type:[g.Z],json:{write:!0}})],b.prototype,"fields",void 0),(0,i._)([(0,c.Cb)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:w.read}}})],b.prototype,"geometryType",void 0),(0,i._)([(0,f.c)("geometryType")],b.prototype,"writeGeometryType",null),(0,i._)([(0,c.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasM",void 0),(0,i._)([(0,c.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasZ",void 0),(0,i._)([(0,c.Cb)({types:n.qM,json:{write:!0}})],b.prototype,"queryGeometry",void 0),(0,i._)([(0,d.r)("queryGeometry")],b.prototype,"readQueryGeometry",null),(0,i._)([(0,c.Cb)({type:m.Z,json:{write:!0}})],b.prototype,"spatialReference",void 0),(0,i._)([(0,f.c)("spatialReference")],b.prototype,"writeSpatialReference",null),(0,i._)([(0,c.Cb)({json:{write:!0}})],b.prototype,"transform",void 0),b=o=(0,i._)([(0,y.j)("esri.rest.support.FeatureSet")],b),b.prototype.toJSON.isDefaultToJSON=!0;const S=b},58333:(e,t,r)=>{r.d(t,{ET:()=>n,I4:()=>i,eG:()=>l,lF:()=>s,lj:()=>u,qP:()=>a,wW:()=>p});const o=[252,146,31,255],i={type:"esriSMS",style:"esriSMSCircle",size:6,color:o,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},n={type:"esriSLS",style:"esriSLSSolid",width:.75,color:o},s={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},a={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},l={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},p={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},u={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8244],{38171:(e,t,s)=>{s.d(t,{Z:()=>m});var i=s(43697),l=s(66577),r=s(51773),n=s(9790),o=s(2368),a=s(96674),u=s(70586),p=s(99001),c=s(5600),d=(s(67676),s(75215),s(52011)),h=s(33955);function y(e){if(!(0,u.pC)(e))return null;const t={};for(const s in e){const i=e[s];i&&(t[s]=i.toJSON())}return 0!==Object.keys(t).length?t:null}let f=class extends((0,o.J)(a.wq)){constructor(...e){super(...e),this.isAggregate=!1,this.layer=null,this.popupTemplate=null,this.sourceLayer=null,Object.defineProperty(this,"uid",{value:(0,p.D)(),configurable:!0})}normalizeCtorArgs(e,t,s,i){return e&&!e.declaredClass?e:{geometry:e,symbol:t,attributes:s,popupTemplate:i}}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),this._notifyLayer("geometry",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;for(const t of[this.sourceLayer,this.layer])if(t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&(0,u.pC)(t.defaultPopupTemplate))return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const s=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",s,t,e)}else this.attributes={[e]:t},this._notifyLayer("attributes",void 0,t,e)}getObjectId(){return this.sourceLayer&&"objectIdField"in this.sourceLayer&&this.sourceLayer.objectIdField?this.getAttribute(this.sourceLayer.objectIdField):null}toJSON(){return{aggregateGeometries:y(this.aggregateGeometries),geometry:(0,u.pC)(this.geometry)?this.geometry.toJSON():null,symbol:(0,u.pC)(this.symbol)?this.symbol.toJSON():null,attributes:{...this.attributes},popupTemplate:this.popupTemplate&&this.popupTemplate.toJSON()}}notifyGeometryChanged(){this._notifyLayer("geometry",this.geometry,this.geometry)}notifyMeshTransformChanged(){(0,u.pC)(this.geometry)&&"mesh"===this.geometry.type&&this._notifyLayer("transform",this.geometry.transform,this.geometry.transform)}_notifyLayer(e,t,s,i){if(!this.layer||!("graphicChanged"in this.layer))return;const l={graphic:this,property:e,oldValue:t,newValue:s};"attributes"===e&&(l.attributeName=i),this.layer.graphicChanged(l)}};(0,i._)([(0,c.Cb)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const s in e){const i=(0,h.im)(e[s]);i&&(t[s]=i)}return 0!==Object.keys(t).length?t:null}}})],f.prototype,"aggregateGeometries",null),(0,i._)([(0,c.Cb)({value:null})],f.prototype,"attributes",null),(0,i._)([(0,c.Cb)({value:null,types:l.qM,json:{read:h.im}})],f.prototype,"geometry",null),(0,i._)([(0,c.Cb)({type:Boolean})],f.prototype,"isAggregate",void 0),(0,i._)([(0,c.Cb)({clonable:"reference"})],f.prototype,"layer",void 0),(0,i._)([(0,c.Cb)({type:r.Z})],f.prototype,"popupTemplate",void 0),(0,i._)([(0,c.Cb)({clonable:"reference"})],f.prototype,"sourceLayer",void 0),(0,i._)([(0,c.Cb)({value:null,types:n.LB})],f.prototype,"symbol",null),(0,i._)([(0,c.Cb)({type:Boolean,value:!0})],f.prototype,"visible",null),f=(0,i._)([(0,d.j)("esri.Graphic")],f),(f||(f={})).generateUID=p.D;const m=f},74085:(e,t,s)=>{function i(e){}s.d(t,{Bg:()=>i}),s(80442)},16050:(e,t,s)=>{s.d(t,{Z:()=>q});var i,l=s(43697),r=s(9790),n=s(35454),o=s(22974),a=s(92604),u=s(70586),p=s(5600),c=s(90578),d=s(36030),h=s(71715),y=s(52011),f=s(30556),m=s(75215),b=s(35671),v=s(5499),g=s(41733),w=s(32984),_=s(9833),V=s(66338),S=s(59266);const x="percent-of-total",C="field",I=new n.X({esriNormalizeByLog:"log",esriNormalizeByPercentOfTotal:x,esriNormalizeByField:C}),j=(0,m.se)(w.Z);let z=i=class extends((0,g.W)(v.Z)){constructor(e){super(e),this._compiledValueExpression={valueExpression:null,compiledFunction:null},this.backgroundFillSymbol=null,this.classBreakInfos=null,this.defaultLabel=null,this.defaultSymbol=null,this.field=null,this.isMaxInclusive=!0,this.legendOptions=null,this.normalizationField=null,this.normalizationTotal=null,this.type="class-breaks",this.valueExpression=null,this.valueExpressionTitle=null,this._set("classBreakInfos",[])}readClassBreakInfos(e,t,s){if(!Array.isArray(e))return;let i=t.minValue;return e.map((e=>{const t=new w.Z;return t.read(e,s),null==t.minValue&&(t.minValue=i),null==t.maxValue&&(t.maxValue=t.minValue),i=t.maxValue,t}))}writeClassBreakInfos(e,t,s,i){const l=e.map((e=>e.write({},i)));this._areClassBreaksConsecutive()&&l.forEach((e=>delete e.classMinValue)),t[s]=l}castField(e){return null==e?e:"function"==typeof e?(a.Z.getLogger(this.declaredClass).error(".field: field must be a string value"),null):(0,m.Zs)(e)}get minValue(){return this.classBreakInfos&&this.classBreakInfos[0]&&this.classBreakInfos[0].minValue||0}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,s=null!=this.normalizationTotal;return t||s?(e=(t?C:s&&x)||null,t&&s&&a.Z.getLogger(this.declaredClass).warn("warning: both normalizationField and normalizationTotal are set!")):e!==C&&e!==x||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}addClassBreakInfo(e,t,s){let i=null;i="number"==typeof e?new w.Z({minValue:e,maxValue:t,symbol:(0,r.se)(s)}):j((0,o.d9)(e)),this.classBreakInfos.push(i),1===this.classBreakInfos.length&&this.notifyChange("minValue")}removeClassBreakInfo(e,t){const s=this.classBreakInfos.length;for(let i=0;i<s;i++){const s=[this.classBreakInfos[i].minValue,this.classBreakInfos[i].maxValue];if(s[0]===e&&s[1]===t){this.classBreakInfos.splice(i,1);break}}}getBreakIndex(e,t){return this.valueExpression&&((0,u.Wi)(t)||(0,u.Wi)(t.arcade))&&a.Z.getLogger(this.declaredClass).warn(""),this.valueExpression?this._getBreakIndexForExpression(e,t):this._getBreakIndexForField(e)}async getClassBreakInfo(e,t){let s=t;this.valueExpression&&((0,u.Wi)(t)||(0,u.Wi)(t.arcade))&&(s={...s,arcade:await(0,S.LC)()});const i=this.getBreakIndex(e,s);return-1!==i?this.classBreakInfos[i]:null}getSymbol(e,t){if(this.valueExpression&&((0,u.Wi)(t)||(0,u.Wi)(t.arcade)))return void a.Z.getLogger(this.declaredClass).error("#getSymbol()","Please use getSymbolAsync if valueExpression is used");const s=this.getBreakIndex(e,t);return s>-1?this.classBreakInfos[s].symbol:this.defaultSymbol}async getSymbolAsync(e,t){let s=t;if(this.valueExpression&&((0,u.Wi)(t)||(0,u.Wi)(t.arcade))){const e=await(0,S.LC)(),{arcadeUtils:t}=e;t.hasGeometryOperations(this.valueExpression)&&await t.enableGeometryOperations(),s={...s,arcade:e}}const i=this.getBreakIndex(e,s);return i>-1?this.classBreakInfos[i].symbol:this.defaultSymbol}getSymbols(){const e=[];return this.classBreakInfos.forEach((t=>{t.symbol&&e.push(t.symbol)})),this.defaultSymbol&&e.push(this.defaultSymbol),e}getAttributeHash(){return this.visualVariables&&this.visualVariables.reduce(((e,t)=>e+t.getAttributeHash()),"")}getMeshHash(){const e=JSON.stringify(this.backgroundFillSymbol),t=JSON.stringify(this.defaultSymbol),s=`${this.normalizationField}.${this.normalizationType}.${this.normalizationTotal}`;return`${e}.${t}.${this.classBreakInfos.reduce(((e,t)=>e+t.getMeshHash()),"")}.${s}.${this.field}.${this.valueExpression}`}get arcadeRequired(){return this.arcadeRequiredForVisualVariables||!!this.valueExpression}clone(){return new i({field:this.field,backgroundFillSymbol:this.backgroundFillSymbol&&this.backgroundFillSymbol.clone(),defaultLabel:this.defaultLabel,defaultSymbol:this.defaultSymbol&&this.defaultSymbol.clone(),valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,classBreakInfos:(0,o.d9)(this.classBreakInfos),isMaxInclusive:this.isMaxInclusive,normalizationField:this.normalizationField,normalizationTotal:this.normalizationTotal,normalizationType:this.normalizationType,visualVariables:(0,o.d9)(this.visualVariables),legendOptions:(0,o.d9)(this.legendOptions),authoringInfo:this.authoringInfo&&this.authoringInfo.clone()})}async collectRequiredFields(e,t){const s=[this.collectVVRequiredFields(e,t),this.collectSymbolFields(e,t)];await Promise.all(s)}async collectSymbolFields(e,t){const s=[...this.getSymbols().map((s=>s.collectRequiredFields(e,t))),(0,b.io)(e,t,this.valueExpression)];(0,b.AB)(e,t,this.field),(0,b.AB)(e,t,this.normalizationField),await Promise.all(s)}_getBreakIndexForExpression(e,t){const{viewingMode:s,scale:i,spatialReference:l,arcade:r}=(0,u.Pt)(t,{}),{valueExpression:n}=this;let o=this._compiledValueExpression.valueExpression===n?this._compiledValueExpression.compiledFunction:null;const a=(0,u.Wg)(r).arcadeUtils;if(!o){const e=a.createSyntaxTree(n);o=a.createFunction(e),this._compiledValueExpression.compiledFunction=o}this._compiledValueExpression.valueExpression=n;const p=a.executeFunction(o,a.createExecContext(e,a.getViewInfo({viewingMode:s,scale:i,spatialReference:l})));return this._getBreakIndexfromInfos(p)}_getBreakIndexForField(e){const t=this.field,s=e.attributes,i=this.normalizationType;let l=parseFloat(s[t]);if(i){const e=this.normalizationTotal,t=parseFloat(this.normalizationField?s[this.normalizationField]:void 0);if("log"===i)l=Math.log(l)*Math.LOG10E;else if(i!==x||null==e||isNaN(e)){if(i===C&&!isNaN(t)){if(isNaN(l)||isNaN(t))return-1;l/=t}}else l=l/e*100}return this._getBreakIndexfromInfos(l)}_getBreakIndexfromInfos(e){const t=this.isMaxInclusive;if(null!=e&&"number"==typeof e&&!isNaN(e))for(let s=0;s<this.classBreakInfos.length;s++){const i=[this.classBreakInfos[s].minValue,this.classBreakInfos[s].maxValue];if(i[0]<=e&&(t?e<=i[1]:e<i[1]))return s}return-1}_areClassBreaksConsecutive(){const e=this.classBreakInfos,t=e.length;for(let s=1;s<t;s++)if(e[s-1].maxValue!==e[s].minValue)return!1;return!0}};(0,l._)([(0,p.Cb)(_.KK)],z.prototype,"backgroundFillSymbol",void 0),(0,l._)([(0,p.Cb)({type:[w.Z]})],z.prototype,"classBreakInfos",void 0),(0,l._)([(0,h.r)("classBreakInfos")],z.prototype,"readClassBreakInfos",null),(0,l._)([(0,f.c)("classBreakInfos")],z.prototype,"writeClassBreakInfos",null),(0,l._)([(0,p.Cb)({type:String,json:{write:!0}})],z.prototype,"defaultLabel",void 0),(0,l._)([(0,p.Cb)(_.Gn)],z.prototype,"defaultSymbol",void 0),(0,l._)([(0,p.Cb)({type:String,json:{write:!0}})],z.prototype,"field",void 0),(0,l._)([(0,c.p)("field")],z.prototype,"castField",null),(0,l._)([(0,p.Cb)({type:Boolean})],z.prototype,"isMaxInclusive",void 0),(0,l._)([(0,p.Cb)({type:V.I,json:{write:!0}})],z.prototype,"legendOptions",void 0),(0,l._)([(0,p.Cb)({type:Number,readOnly:!0,value:null,json:{read:!1,write:{overridePolicy(){return 0!==this.classBreakInfos.length&&this._areClassBreaksConsecutive()?{enabled:!0}:{enabled:!1}}}}})],z.prototype,"minValue",null),(0,l._)([(0,p.Cb)({type:String,json:{write:!0}})],z.prototype,"normalizationField",void 0),(0,l._)([(0,p.Cb)({type:Number,cast:e=>(0,m.q9)(e),json:{write:!0}})],z.prototype,"normalizationTotal",void 0),(0,l._)([(0,p.Cb)({type:I.apiValues,value:null,json:{type:I.jsonValues,read:I.read,write:I.write}})],z.prototype,"normalizationType",null),(0,l._)([(0,d.J)({classBreaks:"class-breaks"})],z.prototype,"type",void 0),(0,l._)([(0,p.Cb)({type:String,json:{write:!0}})],z.prototype,"valueExpression",void 0),(0,l._)([(0,p.Cb)({type:String,json:{write:!0}})],z.prototype,"valueExpressionTitle",void 0),z=i=(0,l._)([(0,y.j)("esri.renderers.ClassBreaksRenderer")],z);const q=z},5499:(e,t,s)=>{s.d(t,{Z:()=>c});var i=s(43697),l=s(35454),r=s(96674),n=s(5600),o=(s(67676),s(75215),s(52011)),a=s(69237);const u=new l.X({simple:"simple",uniqueValue:"unique-value",classBreaks:"class-breaks",heatmap:"heatmap",dotDensity:"dot-density",dictionary:"dictionary",pieChart:"pie-chart"},{ignoreUnknown:!0});let p=class extends r.wq{constructor(e){super(e),this.authoringInfo=null,this.type=null}async getRequiredFields(e){if(!this.collectRequiredFields)return[];const t=new Set;return await this.collectRequiredFields(t,e),Array.from(t).sort()}getSymbol(e,t){}async getSymbolAsync(e,t){}getSymbols(){return[]}getAttributeHash(){return JSON.stringify(this)}getMeshHash(){return JSON.stringify(this)}};(0,i._)([(0,n.Cb)({type:a.Z,json:{write:!0}})],p.prototype,"authoringInfo",void 0),(0,i._)([(0,n.Cb)({type:u.apiValues,readOnly:!0,json:{type:u.jsonValues,read:!1,write:{writer:u.write,ignoreOrigin:!0}}})],p.prototype,"type",void 0),p=(0,i._)([(0,o.j)("esri.renderers.Renderer")],p);const c=p},81571:(e,t,s)=>{s.d(t,{Z:()=>$});var i=s(43697),l=s(9790),r=s(20102),n=s(22974),o=s(92604),a=s(70586),u=s(78286),p=s(17445),c=s(5600),d=s(90578),h=s(36030),y=s(71715),f=s(52011),m=s(30556),b=s(22862),v=s(75215),g=s(35671),w=s(65587),_=s(5499),V=s(41733),S=s(9833),x=s(66338),C=s(2368),I=s(96674);s(67676);let j=class extends((0,C.J)(I.wq)){constructor(e){super(e),this.value=null,this.value2=null,this.value3=null}};(0,i._)([(0,c.Cb)(S.GY)],j.prototype,"value",void 0),(0,i._)([(0,c.Cb)(S.GY)],j.prototype,"value2",void 0),(0,i._)([(0,c.Cb)(S.GY)],j.prototype,"value3",void 0),j=(0,i._)([(0,f.j)("esri.renderers.support.UniqueValue")],j);const z=j;let q=class extends((0,C.J)(I.wq)){constructor(e){super(e),this.description=null,this.label=null,this.symbol=null,this.values=null}castValues(e){if(null==e)return null;const t=typeof(e=Array.isArray(e)?e:[e])[0];return"string"===t||"number"===t?e.map((e=>new z({value:e}))):"object"===t?e[0]instanceof z?e:e.map((e=>new z(e))):null}};(0,i._)([(0,c.Cb)({type:String,json:{write:!0}})],q.prototype,"description",void 0),(0,i._)([(0,c.Cb)({type:String,json:{write:!0}})],q.prototype,"label",void 0),(0,i._)([(0,c.Cb)(S.Gn)],q.prototype,"symbol",void 0),(0,i._)([(0,c.Cb)({type:[z],json:{type:[[String]],read:{reader:e=>e?e.map((e=>new z({value:e[0],value2:e[1],value3:e[2]}))):null},write:{writer:(e,t)=>{const s=[];for(const t of e){const e=[t.value,t.value2,t.value3].filter(a.pC).map((e=>e.toString()));s.push(e)}t.values=s}}}})],q.prototype,"values",void 0),(0,i._)([(0,d.p)("values")],q.prototype,"castValues",null),q=(0,i._)([(0,f.j)("esri.renderers.support.UniqueValueClass")],q);const F=q;let E=class extends((0,C.J)(I.wq)){constructor(e){super(e),this.heading=null,this.classes=null}};(0,i._)([(0,c.Cb)({type:String,json:{write:!0}})],E.prototype,"heading",void 0),(0,i._)([(0,c.Cb)({type:[F],json:{write:!0}})],E.prototype,"classes",void 0),E=(0,i._)([(0,f.j)("esri.renderers.support.UniqueValueGroup")],E);const T=E;var k,O=s(44262),D=s(59266),U=s(25929),Z=s(27883),M=s(59390);const L="esri.renderers.UniqueValueRenderer",B=o.Z.getLogger(L),N="uvInfos-watcher",R="uvGroups-watcher",G=(0,v.se)(O.Z);let A=k=class extends((0,V.W)(_.Z)){constructor(e){super(e),this._valueInfoMap={},this._isDefaultSymbolDerived=!1,this._isInfosSource=null,this.type="unique-value",this.backgroundFillSymbol=null,this.valueExpressionTitle=null,this.legendOptions=null,this.defaultLabel=null,this.portal=null,this.styleOrigin=null,this.diff={uniqueValueInfos(e,t){if(!e&&!t)return;if(!e||!t)return{type:"complete",oldValue:e,newValue:t};let s=!1;const i={type:"collection",added:[],removed:[],changed:[],unchanged:[]};for(let l=0;l<t.length;l++){const r=e.find((e=>e.value===t[l].value));r?(0,b.Hg)(r,t[l])?(i.changed.push({type:"complete",oldValue:r,newValue:t[l]}),s=!0):i.unchanged.push({oldValue:r,newValue:t[l]}):(i.added.push(t[l]),s=!0)}for(let l=0;l<e.length;l++)t.find((t=>t.value===e[l].value))||(i.removed.push(e[l]),s=!0);return s?i:void 0}},this._set("uniqueValueInfos",[]),this._set("uniqueValueGroups",[])}get _cache(){return{compiledFunc:null}}set field(e){this._set("field",e),this._updateFieldDelimiter(),this._updateUniqueValues()}castField(e){return null==e||"function"==typeof e?e:(0,v.Zs)(e)}writeField(e,t,s,i){"string"==typeof e?t[s]=e:i&&i.messages?i.messages.push(new r.Z("property:unsupported","UniqueValueRenderer.field set to a function cannot be written to JSON")):B.error(".field: cannot write field to JSON since it's not a string value")}set field2(e){this._set("field2",e),this._updateFieldDelimiter(),this._updateUniqueValues()}set field3(e){this._set("field3",e),this._updateUniqueValues()}set valueExpression(e){this._set("valueExpression",e),this._updateUniqueValues()}set defaultSymbol(e){this._isDefaultSymbolDerived=!1,this._set("defaultSymbol",e)}set fieldDelimiter(e){this._set("fieldDelimiter",e),this._updateUniqueValues()}readPortal(e,t,s){return s.portal||w.Z.getDefault()}readStyleOrigin(e,t,s){if(t.styleName)return Object.freeze({styleName:t.styleName});if(t.styleUrl){const e=(0,U.f)(t.styleUrl,s);return Object.freeze({styleUrl:e})}}writeStyleOrigin(e,t,s,i){e.styleName?t.styleName=e.styleName:e.styleUrl&&(t.styleUrl=(0,U.t)(e.styleUrl,i))}set uniqueValueGroups(e){this.styleOrigin?B.error("#uniqueValueGroups=","Cannot modify unique value groups of a UniqueValueRenderer created from a web style"):(this._set("uniqueValueGroups",e),this._updateInfosFromGroups(),this._isInfosSource=!1,this._watchUniqueValueGroups())}set uniqueValueInfos(e){this.styleOrigin?B.error("#uniqueValueInfos=","Cannot modify unique value infos of a UniqueValueRenderer created from a web style"):(this._set("uniqueValueInfos",e),this._updateValueInfoMap(),this._updateGroupsFromInfos(),this._isInfosSource=!0,this._watchUniqueValueInfos())}addUniqueValueInfo(e,t){if(this.styleOrigin)return void B.error("#addUniqueValueInfo()","Cannot modify unique value infos of a UniqueValueRenderer created from a web style");let s;s="object"==typeof e?G(e):new O.Z({value:e,symbol:(0,l.se)(t)}),this.uniqueValueInfos?.push(s),this._valueInfoMap[s.value]=s,this._updateGroupsFromInfos(),this._isInfosSource=!0,this._watchUniqueValueInfos()}removeUniqueValueInfo(e){if(this.styleOrigin)return void B.error("#removeUniqueValueInfo()","Cannot modify unique value infos of a UniqueValueRenderer created from a web style");const t=this.uniqueValueInfos;if(t)for(let s=0;s<t.length;s++)if(t[s].value===e+""){delete this._valueInfoMap[e],t.splice(s,1);break}this._updateGroupsFromInfos(),this._isInfosSource=!0,this._watchUniqueValueInfos()}async getUniqueValueInfo(e,t){let s=t;return this.valueExpression&&((0,a.Wi)(t)||(0,a.Wi)(t.arcade))&&(s={...s,arcade:await(0,D.LC)()}),this._getUniqueValueInfo(e,s)}getSymbol(e,t){if(this.valueExpression&&((0,a.Wi)(t)||(0,a.Wi)(t.arcade)))return void B.error("#getSymbol()","Please use getSymbolAsync if valueExpression is used");const s=this._getUniqueValueInfo(e,t);return s&&s.symbol||this.defaultSymbol}async getSymbolAsync(e,t){let s=t;if(this.valueExpression&&((0,a.Wi)(s)||(0,a.Wi)(s.arcade))){const e=await(0,D.LC)(),{arcadeUtils:t}=e;t.hasGeometryOperations(this.valueExpression)&&await t.enableGeometryOperations(),s={...s,arcade:e}}const i=this._getUniqueValueInfo(e,s);return i&&i.symbol||this.defaultSymbol}getSymbols(){const e=[];for(const t of this.uniqueValueInfos??[])t.symbol&&e.push(t.symbol);return this.defaultSymbol&&e.push(this.defaultSymbol),e}getAttributeHash(){return this.visualVariables&&this.visualVariables.reduce(((e,t)=>e+t.getAttributeHash()),"")}getMeshHash(){const e=JSON.stringify(this.backgroundFillSymbol),t=JSON.stringify(this.defaultSymbol),s=this.uniqueValueInfos?.reduce(((e,t)=>e+t.getMeshHash()),"");return`${e}.${t}.${s}.${this.field}.${this.field2}.${this.field3}.${this.fieldDelimiter}.${this.valueExpression}`}clone(){const e=new k({field:this.field,field2:this.field2,field3:this.field3,defaultLabel:this.defaultLabel,defaultSymbol:(0,n.d9)(this.defaultSymbol),valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,fieldDelimiter:this.fieldDelimiter,visualVariables:(0,n.d9)(this.visualVariables),legendOptions:(0,n.d9)(this.legendOptions),authoringInfo:this.authoringInfo&&this.authoringInfo.clone(),backgroundFillSymbol:(0,n.d9)(this.backgroundFillSymbol)});this._isDefaultSymbolDerived&&(e._isDefaultSymbolDerived=!0),e._set("portal",this.portal);const t=(0,n.d9)(this.uniqueValueInfos),s=(0,n.d9)(this.uniqueValueGroups);return this.styleOrigin&&(e._set("styleOrigin",Object.freeze((0,n.d9)(this.styleOrigin))),Object.freeze(t),Object.freeze(s)),e._set("uniqueValueInfos",t),e._updateValueInfoMap(),e._set("uniqueValueGroups",s),e._isInfosSource=this._isInfosSource,e._watchUniqueValueInfosAndGroups(),e}get arcadeRequired(){return this.arcadeRequiredForVisualVariables||!!this.valueExpression}async collectRequiredFields(e,t){const s=[this.collectVVRequiredFields(e,t),this.collectSymbolFields(e,t)];await Promise.all(s)}async collectSymbolFields(e,t){const s=[...this.getSymbols().map((s=>s.collectRequiredFields(e,t))),(0,g.io)(e,t,this.valueExpression)];(0,g.AB)(e,t,this.field),(0,g.AB)(e,t,this.field2),(0,g.AB)(e,t,this.field3),await Promise.all(s)}populateFromStyle(){return(0,Z.n2)(this.styleOrigin,{portal:this.portal}).then((e=>{const t=[];return this._valueInfoMap={},e&&e.data&&Array.isArray(e.data.items)&&e.data.items.forEach((s=>{const i=new M.Z({styleUrl:e.styleUrl,styleName:e.styleName,portal:this.portal,name:s.name});this.defaultSymbol||s.name!==e.data.defaultItem||(this.defaultSymbol=i,this._isDefaultSymbolDerived=!0);const l=new O.Z({value:s.name,symbol:i});t.push(l),this._valueInfoMap[s.name]=l})),this._set("uniqueValueInfos",Object.freeze(t)),this._updateGroupsFromInfos(!0),this._isInfosSource=null,this._watchUniqueValueInfos(),!this.defaultSymbol&&this.uniqueValueInfos?.length&&(this.defaultSymbol=this.uniqueValueInfos[0].symbol,this._isDefaultSymbolDerived=!0),this}))}_updateFieldDelimiter(){this.field&&this.field2&&!this.fieldDelimiter&&this._set("fieldDelimiter",",")}_updateUniqueValues(){null!=this._isInfosSource&&(this._isInfosSource?this._updateGroupsFromInfos():this._updateInfosFromGroups())}_updateValueInfoMap(){this._valueInfoMap={};const{uniqueValueInfos:e}=this;if(e)for(const t of e)this._valueInfoMap[t.value+""]=t}_watchUniqueValueInfosAndGroups(){this._watchUniqueValueInfos(),this._watchUniqueValueGroups()}_watchUniqueValueInfos(){this.removeHandles(N);const{uniqueValueInfos:e}=this;if(e){const t=[];for(const s of e)t.push((0,p.YP)((()=>({symbol:s.symbol,value:s.value,label:s.label,description:s.description})),((e,t)=>{e!==t&&(this._updateGroupsFromInfos(),this._isInfosSource=!0)})));this.addHandles(t,N)}}_watchUniqueValueGroups(){this.removeHandles(R);const{uniqueValueGroups:e}=this;if(e){const t=[];for(const s of e){t.push((0,p.YP)((()=>({classes:s.classes})),((e,t)=>{e!==t&&(this._updateInfosFromGroups(),this._isInfosSource=!1)})));for(const e of s.classes)t.push((0,p.YP)((()=>({symbol:e.symbol,values:e.values,label:e.label,description:e.description})),((e,t)=>{e!==t&&(this._updateInfosFromGroups(),this._isInfosSource=!1)})))}this.addHandles(t,R)}}_updateInfosFromGroups(){if(!this.uniqueValueGroups)return this._set("uniqueValueInfos",null),this._updateValueInfoMap(),void this._watchUniqueValueInfos();const e=[],{field:t,field2:s,field3:i,fieldDelimiter:l,uniqueValueGroups:r,valueExpression:n}=this;if(!t&&!n)return this._set("uniqueValueInfos",e),this._updateValueInfoMap(),void this._watchUniqueValueInfos();const o=!(!t||!s);for(const t of r)for(const r of t.classes??[]){const{symbol:t,label:n,values:a,description:u}=r;for(const r of a??[]){const{value:a,value2:p,value3:c}=r,d=[a];s&&d.push(p),i&&d.push(c);const h=o?d.join(l||""):d[0];e.push(new O.Z({symbol:t,label:n,value:h,description:u}))}}this._set("uniqueValueInfos",e),this._updateValueInfoMap(),this._watchUniqueValueInfos()}_updateGroupsFromInfos(e=!1){if(!this.uniqueValueInfos)return this._set("uniqueValueGroups",null),void this._watchUniqueValueGroups();const{field:t,field2:s,valueExpression:i,fieldDelimiter:l,uniqueValueInfos:r}=this;if(!t&&!i||!r.length)return this._set("uniqueValueGroups",[]),void this._watchUniqueValueGroups();const n=!(!t||!s),o=r.map((e=>{const{symbol:t,label:s,value:i,description:r}=e,[o,a,u]=n?i?.toString()?.split(l||"")||[]:[i];return new F({symbol:t,label:s,description:r,values:[new z({value:o,value2:a,value3:u})]})})),a=[new T({classes:o})];e&&Object.freeze(a),this._set("uniqueValueGroups",a),this._watchUniqueValueGroups()}_getUniqueValueInfo(e,t){return this.valueExpression?this._getUnqiueValueInfoForExpression(e,t):this._getUnqiueValueInfoForFields(e)}_getUnqiueValueInfoForExpression(e,t){const{viewingMode:s,scale:i,spatialReference:l,arcade:r}=(0,a.Pt)(t,{});let n=this._cache.compiledFunc;const o=(0,a.Wg)(r).arcadeUtils;if(!n){const e=o.createSyntaxTree(this.valueExpression);n=o.createFunction(e),this._cache.compiledFunc=n}const u=o.executeFunction(n,o.createExecContext(e,o.getViewInfo({viewingMode:s,scale:i,spatialReference:l})));return this._valueInfoMap[u+""]}_getUnqiueValueInfoForFields(e){const t=this.field,s=e.attributes;let i;if("function"!=typeof t&&this.field2){const e=this.field2,l=this.field3,r=[];t&&r.push(s[t]),e&&r.push(s[e]),l&&r.push(s[l]),i=r.join(this.fieldDelimiter||"")}else"function"==typeof t?i=t(e):t&&(i=s[t]);return this._valueInfoMap[i+""]}static fromPortalStyle(e,t){const s=new k(t&&t.properties);s._set("styleOrigin",Object.freeze({styleName:e})),s._set("portal",t&&t.portal||w.Z.getDefault());const i=s.populateFromStyle();return i.catch((t=>{B.error(`#fromPortalStyle('${e}'[, ...])`,"Failed to create unique value renderer from style name",t)})),i}static fromStyleUrl(e,t){const s=new k(t&&t.properties);s._set("styleOrigin",Object.freeze({styleUrl:e}));const i=s.populateFromStyle();return i.catch((t=>{B.error(`#fromStyleUrl('${e}'[, ...])`,"Failed to create unique value renderer from style URL",t)})),i}};(0,i._)([(0,c.Cb)({readOnly:!0})],A.prototype,"_cache",null),(0,i._)([(0,h.J)({uniqueValue:"unique-value"})],A.prototype,"type",void 0),(0,i._)([(0,c.Cb)(S.KK)],A.prototype,"backgroundFillSymbol",void 0),(0,i._)([(0,c.Cb)({value:null,json:{type:String,read:{source:"field1"},write:{target:"field1"}}})],A.prototype,"field",null),(0,i._)([(0,d.p)("field")],A.prototype,"castField",null),(0,i._)([(0,m.c)("field")],A.prototype,"writeField",null),(0,i._)([(0,c.Cb)({type:String,value:null,json:{write:!0}})],A.prototype,"field2",null),(0,i._)([(0,c.Cb)({type:String,value:null,json:{write:!0}})],A.prototype,"field3",null),(0,i._)([(0,c.Cb)({type:String,value:null,json:{write:!0}})],A.prototype,"valueExpression",null),(0,i._)([(0,c.Cb)({type:String,json:{write:!0}})],A.prototype,"valueExpressionTitle",void 0),(0,i._)([(0,c.Cb)({type:x.I,json:{write:!0}})],A.prototype,"legendOptions",void 0),(0,i._)([(0,c.Cb)({type:String,json:{write:!0}})],A.prototype,"defaultLabel",void 0),(0,i._)([(0,c.Cb)((0,u.RH)({...S.Gn},{json:{write:{overridePolicy(){return{enabled:!this._isDefaultSymbolDerived}}},origins:{"web-scene":{write:{overridePolicy(){return{enabled:!this._isDefaultSymbolDerived}}}}}}}))],A.prototype,"defaultSymbol",null),(0,i._)([(0,c.Cb)({type:String,value:null,json:{write:!0}})],A.prototype,"fieldDelimiter",null),(0,i._)([(0,c.Cb)({type:w.Z,readOnly:!0})],A.prototype,"portal",void 0),(0,i._)([(0,y.r)("portal",["styleName"])],A.prototype,"readPortal",null),(0,i._)([(0,c.Cb)({readOnly:!0,json:{write:{enabled:!1,overridePolicy:()=>({enabled:!0})}}})],A.prototype,"styleOrigin",void 0),(0,i._)([(0,y.r)("styleOrigin",["styleName","styleUrl"])],A.prototype,"readStyleOrigin",null),(0,i._)([(0,m.c)("styleOrigin",{styleName:{type:String},styleUrl:{type:String}})],A.prototype,"writeStyleOrigin",null),(0,i._)([(0,c.Cb)({type:[T],json:{read:{source:["uniqueValueGroups","uniqueValueInfos"],reader:(e,t,s)=>(t.uniqueValueGroups||function(e){const{field1:t,field2:s,field3:i,fieldDelimiter:l,uniqueValueInfos:r,valueExpression:n}=e,o=!(!t||!s);return[{classes:(r??[]).map((e=>{const{symbol:r,label:a,value:u,description:p}=e,[c,d,h]=o?u?.toString()?.split(l||"")||[]:[u],y=[];return(t||n)&&y.push(c),s&&y.push(d),i&&y.push(h),{symbol:r,label:a,values:[y],description:p}}))}]}(t)).map((e=>T.fromJSON(e,s)))},write:{overridePolicy(){return this.styleOrigin?{enabled:!1}:{enabled:!0}}}}})],A.prototype,"uniqueValueGroups",null),(0,i._)([(0,c.Cb)({type:[O.Z],json:{read:!1,write:{overridePolicy(){return this.styleOrigin?{enabled:!1}:{enabled:!0}}}}})],A.prototype,"uniqueValueInfos",null),A=k=(0,i._)([(0,f.j)(L)],A);const $=A},41733:(e,t,s)=>{s.d(t,{W:()=>Z});var i=s(43697),l=s(70586),r=s(5600),n=(s(67676),s(75215)),o=s(71715),a=s(52011),u=s(30556),p=s(35671);const c=/^hash\(\$feature\['((\\'|[^'])+)'\]\) \* 8\.381e-8$/;var d,h=s(77997),y=s(21849);let f=d=class extends h.Z{constructor(e){super(e),this.type="color",this.normalizationField=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null}}set stops(e){e&&Array.isArray(e)&&(e=e.filter((e=>!!e))).sort(((e,t)=>e.value-t.value)),this._set("stops",e)}clone(){return new d({field:this.field,normalizationField:this.normalizationField,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,stops:this.stops&&this.stops.map((e=>e.clone())),legendOptions:this.legendOptions&&this.legendOptions.clone()})}getAttributeHash(){return`${super.getAttributeHash()}-${this.normalizationField}`}_interpolateData(){return this.stops&&this.stops.map((e=>e.value||0))}};(0,i._)([(0,r.Cb)({readOnly:!0})],f.prototype,"cache",null),(0,i._)([(0,r.Cb)({type:["color"],json:{type:["colorInfo"]}})],f.prototype,"type",void 0),(0,i._)([(0,r.Cb)({type:String,json:{write:!0}})],f.prototype,"normalizationField",void 0),(0,i._)([(0,r.Cb)({type:[y.Z],json:{write:!0}})],f.prototype,"stops",null),f=d=(0,i._)([(0,a.j)("esri.renderers.visualVariables.ColorVariable")],f);const m=f;var b,v=s(96674),g=s(65242);let w=b=class extends v.wq{constructor(e){super(e),this.label=null,this.opacity=null,this.value=null}readOpacity(e,t){return(0,g.b)(t.transparency)}writeOpacity(e,t,s){t[s]=(0,g.a)(e)}clone(){return new b({label:this.label,opacity:this.opacity,value:this.value})}};(0,i._)([(0,r.Cb)({type:String,json:{write:!0}})],w.prototype,"label",void 0),(0,i._)([(0,r.Cb)({type:Number,json:{type:n.z8,write:{target:"transparency"}}})],w.prototype,"opacity",void 0),(0,i._)([(0,o.r)("opacity",["transparency"])],w.prototype,"readOpacity",null),(0,i._)([(0,u.c)("opacity")],w.prototype,"writeOpacity",null),(0,i._)([(0,r.Cb)({type:Number,json:{write:!0}})],w.prototype,"value",void 0),w=b=(0,i._)([(0,a.j)("esri.renderers.visualVariables.support.OpacityStop")],w);const _=w;var V;let S=V=class extends h.Z{constructor(e){super(e),this.type="opacity",this.normalizationField=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null}}set stops(e){e&&Array.isArray(e)&&(e=e.filter((e=>!!e))).sort(((e,t)=>e.value-t.value)),this._set("stops",e)}clone(){return new V({field:this.field,normalizationField:this.normalizationField,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,stops:this.stops&&this.stops.map((e=>e.clone())),legendOptions:this.legendOptions&&this.legendOptions.clone()})}getAttributeHash(){return`${super.getAttributeHash()}-${this.normalizationField}`}_interpolateData(){return this.stops&&this.stops.map((e=>e.value||0))}};(0,i._)([(0,r.Cb)({readOnly:!0})],S.prototype,"cache",null),(0,i._)([(0,r.Cb)({type:["opacity"],json:{type:["transparencyInfo"]}})],S.prototype,"type",void 0),(0,i._)([(0,r.Cb)({type:String,json:{write:!0}})],S.prototype,"normalizationField",void 0),(0,i._)([(0,r.Cb)({type:[_],json:{write:!0}})],S.prototype,"stops",null),S=V=(0,i._)([(0,a.j)("esri.renderers.visualVariables.OpacityVariable")],S);const x=S;var C=s(89513),I=s(23847),j=s(15923),z=s(35454),q=s(92604),F=s(20941);const E={color:m,size:I.Z,opacity:x,rotation:C.Z},T=new z.X({colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation",sizeInfo:"size"}),k=/^\[([^\]]+)\]$/i;let O=class extends j.Z{constructor(){super(...arguments),this.colorVariables=null,this.opacityVariables=null,this.rotationVariables=null,this.sizeVariables=null}set visualVariables(e){if(this._resetVariables(),(e=e&&e.filter((e=>!!e)))&&e.length){for(const t of e)switch(t.type){case"color":this.colorVariables.push(t);break;case"opacity":this.opacityVariables.push(t);break;case"rotation":this.rotationVariables.push(t);break;case"size":this.sizeVariables.push(t)}this.sizeVariables.length&&this.sizeVariables.some((e=>!!e.target))&&e.sort(((e,t)=>{let s=null;return s=e.target===t.target?0:e.target?1:-1,s}));for(let t=0;t<e.length;t++)e[t].index=t;this._set("visualVariables",e)}else this._set("visualVariables",e)}readVariables(e,t,s){const{rotationExpression:i,rotationType:l}=t,r=i&&i.match(k),n=r&&r[1];if(n&&(e||(e=[]),e.push({type:"rotationInfo",rotationType:l,field:n})),e)return e.map((e=>{const t=T.read(e.type),i=E[t];i||(q.Z.getLogger(this.declaredClass).warn(`Unknown variable type: ${t}`),s&&s.messages&&s.messages.push(new F.Z("visual-variable:unsupported",`visualVariable of type '${t}' is not supported`,{definition:e,context:s})));const l=new i;return l.read(e,s),l}))}writeVariables(e,t){const s=[];for(const i of e){const e=i.toJSON(t);e&&s.push(e)}return s}_resetVariables(){this.colorVariables=[],this.opacityVariables=[],this.rotationVariables=[],this.sizeVariables=[]}};(0,i._)([(0,r.Cb)()],O.prototype,"visualVariables",null),O=(0,i._)([(0,a.j)("esri.renderers.visualVariables.VisualVariableFactory")],O);const D=O,U={base:h.Z,key:"type",typeMap:{opacity:x,color:m,rotation:C.Z,size:I.Z}},Z=e=>{let t=class extends e{constructor(){super(...arguments),this._vvFactory=new D}set visualVariables(e){this._vvFactory.visualVariables=e,this._set("visualVariables",this._vvFactory.visualVariables)}readVisualVariables(e,t,s){return this._vvFactory.readVariables(e,t,s)}writeVisualVariables(e,t,s,i){t[s]=this._vvFactory.writeVariables(e,i)}get arcadeRequiredForVisualVariables(){if(!this.visualVariables)return!1;for(const e of this.visualVariables)if(e.arcadeRequired)return!0;return!1}hasVisualVariables(e,t){return e?this.getVisualVariablesForType(e,t).length>0:this.getVisualVariablesForType("size",t).length>0||this.getVisualVariablesForType("color",t).length>0||this.getVisualVariablesForType("opacity",t).length>0||this.getVisualVariablesForType("rotation",t).length>0}getVisualVariablesForType(e,t){const s=this.visualVariables;return s?s.filter((s=>s.type===e&&("string"==typeof t?s.target===t:!1!==t||!s.target))):[]}async collectVVRequiredFields(e,t){let s=[];this.visualVariables&&(s=s.concat(this.visualVariables));for(const i of s)i&&(i.field&&(0,p.AB)(e,t,i.field),i.normalizationField&&(0,p.AB)(e,t,i.normalizationField),i.valueExpression&&(M(i.valueExpression,e,t)||await(0,p.io)(e,t,i.valueExpression)))}};return(0,i._)([(0,r.Cb)({types:[U],value:null,json:{write:!0}})],t.prototype,"visualVariables",null),(0,i._)([(0,o.r)("visualVariables",["visualVariables","rotationType","rotationExpression"])],t.prototype,"readVisualVariables",null),(0,i._)([(0,u.c)("visualVariables")],t.prototype,"writeVisualVariables",null),t=(0,i._)([(0,a.j)("esri.renderers.mixins.VisualVariablesMixin")],t),t};function M(e,t,s){const i=function(e){return e.match(c)?.[1]?.replace(/\\'/g,"'")??null}(e);return!!(0,l.pC)(i)&&((0,p.AB)(t,s,i),!0)}},69237:(e,t,s)=>{s.d(t,{Z:()=>T});var i,l=s(43697),r=s(35454),n=s(96674),o=s(22974),a=s(5600),u=s(75215),p=s(71715),c=s(52011);s(67676);let d=i=class extends n.wq{constructor(e){super(e),this.minValue=0,this.maxValue=0}clone(){return new i({minValue:this.minValue,maxValue:this.maxValue})}};var h;(0,l._)([(0,a.Cb)({type:Number,json:{write:!0}})],d.prototype,"minValue",void 0),(0,l._)([(0,a.Cb)({type:Number,json:{write:!0}})],d.prototype,"maxValue",void 0),d=i=(0,l._)([(0,c.j)("esri.renderer.support.AuthoringInfoClassBreakInfo")],d);let y=h=class extends n.wq{constructor(e){super(e),this.field="",this.normalizationField="",this.label="",this.classBreakInfos=[]}clone(){return new h({field:this.field,normalizationField:this.normalizationField,label:this.label,classBreakInfos:(0,o.d9)(this.classBreakInfos)})}};(0,l._)([(0,a.Cb)({type:String,json:{write:!0}})],y.prototype,"field",void 0),(0,l._)([(0,a.Cb)({type:String,json:{write:!0}})],y.prototype,"normalizationField",void 0),(0,l._)([(0,a.Cb)({type:String,json:{write:!0}})],y.prototype,"label",void 0),(0,l._)([(0,a.Cb)({type:[d],json:{write:!0}})],y.prototype,"classBreakInfos",void 0),y=h=(0,l._)([(0,c.j)("esri.renderers.support.AuthoringInfoFieldInfo")],y);var f,m=s(90578);const b=new r.X({percentTotal:"percent-of-total",ratio:"ratio",percent:"percent"}),v=new r.X({sizeInfo:"size",colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation"}),g={key:e=>"number"==typeof e?"number":"string",typeMap:{number:Number,string:String},base:null},w=["high-to-low","above-and-below","centered-on","extremes"],_=[...new Set(["high-to-low","above-and-below","centered-on","extremes","90-10","above","below","high-to-low","above-and-below","90-10","above","below"])],V=["seconds","minutes","hours","days","months","years"];let S=f=class extends n.wq{constructor(e){super(e),this.endTime=null,this.field=null,this.maxSliderValue=null,this.minSliderValue=null,this.startTime=null,this.type=null,this.units=null}castEndTime(e){return"string"==typeof e||"number"==typeof e?e:null}castStartTime(e){return"string"==typeof e||"number"==typeof e?e:null}get style(){return"color"===this.type?this._get("style"):null}set style(e){this._set("style",e)}get theme(){return"color"===this.type||"size"===this.type?this._get("theme")||"high-to-low":null}set theme(e){this._set("theme",e)}clone(){return new f({endTime:this.endTime,field:this.field,maxSliderValue:this.maxSliderValue,minSliderValue:this.minSliderValue,startTime:this.startTime,style:this.style,theme:this.theme,type:this.type,units:this.units})}};(0,l._)([(0,a.Cb)({types:g,json:{write:!0}})],S.prototype,"endTime",void 0),(0,l._)([(0,m.p)("endTime")],S.prototype,"castEndTime",null),(0,l._)([(0,a.Cb)({type:String,json:{write:!0}})],S.prototype,"field",void 0),(0,l._)([(0,a.Cb)({type:Number,json:{write:!0}})],S.prototype,"maxSliderValue",void 0),(0,l._)([(0,a.Cb)({type:Number,json:{write:!0}})],S.prototype,"minSliderValue",void 0),(0,l._)([(0,a.Cb)({types:g,json:{write:!0}})],S.prototype,"startTime",void 0),(0,l._)([(0,m.p)("startTime")],S.prototype,"castStartTime",null),(0,l._)([(0,a.Cb)({type:b.apiValues,value:null,json:{type:b.jsonValues,read:b.read,write:b.write}})],S.prototype,"style",null),(0,l._)([(0,a.Cb)({type:_,value:null,json:{type:_,origins:{"web-scene":{type:w,write:{writer:(e,t)=>{w.includes(e)&&(t.theme=e)}}}},write:!0}})],S.prototype,"theme",null),(0,l._)([(0,a.Cb)({type:v.apiValues,json:{type:v.jsonValues,read:v.read,write:v.write}})],S.prototype,"type",void 0),(0,l._)([(0,a.Cb)({type:V,json:{type:V,write:!0}})],S.prototype,"units",void 0),S=f=(0,l._)([(0,c.j)("esri.renderers.support.AuthoringInfoVisualVariable")],S);const x=S;var C,I=s(94593);const j=new r.X({esriClassifyDefinedInterval:"defined-interval",esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation"}),z=new r.X({pieChart:"pie-chart",classedSize:"class-breaks-size",classedColor:"class-breaks-color",univariateColorSize:"univariate-color-size",relationship:"relationship",predominance:"predominance",dotDensity:"dot-density",flow:"flow"}),q=new r.X({classedSize:"class-breaks-size",classedColor:"class-breaks-color",univariateColorSize:"univariate-color-size",relationship:"relationship",predominance:"predominance",dotDensity:"dot-density"}),F=["inches","feet","yards","miles","nautical-miles","millimeters","centimeters","decimeters","meters","kilometers","decimal-degrees"];let E=C=class extends n.wq{constructor(e){super(e),this.colorRamp=null,this.fadeRatio=null,this.isAutoGenerated=!1,this.lengthUnit=null,this.maxSliderValue=null,this.minSliderValue=null,this.visualVariables=null}get classificationMethod(){const e=this._get("classificationMethod"),t=this.type;return t&&"relationship"!==t?"class-breaks-size"===t||"class-breaks-color"===t?e||"manual":null:e}set classificationMethod(e){this._set("classificationMethod",e)}readColorRamp(e){return e?(0,I.i)(e):void 0}get fields(){return this.type&&"predominance"!==this.type?null:this._get("fields")}set fields(e){this._set("fields",e)}get field1(){return this.type&&"relationship"!==this.type?null:this._get("field1")}set field1(e){this._set("field1",e)}get field2(){return this.type&&"relationship"!==this.type?null:this._get("field2")}set field2(e){this._set("field2",e)}get flowTheme(){return"flow"===this.type?this._get("flowTheme"):null}set flowTheme(e){this._set("flowTheme",e)}get focus(){return this.type&&"relationship"!==this.type?null:this._get("focus")}set focus(e){this._set("focus",e)}get numClasses(){return this.type&&"relationship"!==this.type?null:this._get("numClasses")}set numClasses(e){this._set("numClasses",e)}get statistics(){return"univariate-color-size"===this.type&&"above-and-below"===this.univariateTheme?this._get("statistics"):null}set statistics(e){this._set("statistics",e)}get standardDeviationInterval(){const e=this.type;return e&&"relationship"!==e&&"class-breaks-size"!==e&&"class-breaks-color"!==e||this.classificationMethod&&"standard-deviation"!==this.classificationMethod?null:this._get("standardDeviationInterval")}set standardDeviationInterval(e){this._set("standardDeviationInterval",e)}get type(){return this._get("type")}set type(e){let t=e;"classed-size"===e?t="class-breaks-size":"classed-color"===e&&(t="class-breaks-color"),this._set("type",t)}get univariateSymbolStyle(){return"univariate-color-size"===this.type&&"above-and-below"===this.univariateTheme?this._get("univariateSymbolStyle"):null}set univariateSymbolStyle(e){this._set("univariateSymbolStyle",e)}get univariateTheme(){return"univariate-color-size"===this.type?this._get("univariateTheme"):null}set univariateTheme(e){this._set("univariateTheme",e)}clone(){return new C({classificationMethod:this.classificationMethod,colorRamp:(0,o.d9)(this.colorRamp),fadeRatio:(0,o.d9)(this.fadeRatio),fields:this.fields&&this.fields.slice(0),field1:(0,o.d9)(this.field1),field2:(0,o.d9)(this.field2),isAutoGenerated:this.isAutoGenerated,focus:this.focus,numClasses:this.numClasses,maxSliderValue:this.maxSliderValue,minSliderValue:this.minSliderValue,lengthUnit:this.lengthUnit,statistics:this.statistics,standardDeviationInterval:this.standardDeviationInterval,type:this.type,visualVariables:this.visualVariables&&this.visualVariables.map((e=>e.clone())),univariateSymbolStyle:this.univariateSymbolStyle,univariateTheme:this.univariateTheme,flowTheme:this.flowTheme})}};(0,l._)([(0,a.Cb)({type:j.apiValues,value:null,json:{type:j.jsonValues,read:j.read,write:j.write,origins:{"web-document":{default:"manual",type:j.jsonValues,read:j.read,write:j.write}}}})],E.prototype,"classificationMethod",null),(0,l._)([(0,a.Cb)({types:I.V,json:{write:!0}})],E.prototype,"colorRamp",void 0),(0,l._)([(0,p.r)("colorRamp")],E.prototype,"readColorRamp",null),(0,l._)([(0,a.Cb)({json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],E.prototype,"fadeRatio",void 0),(0,l._)([(0,a.Cb)({type:[String],value:null,json:{write:!0}})],E.prototype,"fields",null),(0,l._)([(0,a.Cb)({type:y,value:null,json:{write:!0}})],E.prototype,"field1",null),(0,l._)([(0,a.Cb)({type:y,value:null,json:{write:!0}})],E.prototype,"field2",null),(0,l._)([(0,a.Cb)({type:["flow-line","wave-front"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],E.prototype,"flowTheme",null),(0,l._)([(0,a.Cb)({type:["HH","HL","LH","LL"],value:null,json:{write:!0}})],E.prototype,"focus",null),(0,l._)([(0,a.Cb)({type:Boolean,json:{write:!0,default:!1,origins:{"web-scene":{write:!1}}}})],E.prototype,"isAutoGenerated",void 0),(0,l._)([(0,a.Cb)({type:Number,value:null,json:{type:u.z8,write:!0}})],E.prototype,"numClasses",null),(0,l._)([(0,a.Cb)({type:F,json:{type:F,read:!1,write:!1,origins:{"web-scene":{read:!0,write:!0}}}})],E.prototype,"lengthUnit",void 0),(0,l._)([(0,a.Cb)({type:Number,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],E.prototype,"maxSliderValue",void 0),(0,l._)([(0,a.Cb)({type:Number,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],E.prototype,"minSliderValue",void 0),(0,l._)([(0,a.Cb)({type:Object,value:null,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],E.prototype,"statistics",null),(0,l._)([(0,a.Cb)({type:[.25,.33,.5,1],value:null,json:{type:[.25,.33,.5,1],write:!0}})],E.prototype,"standardDeviationInterval",null),(0,l._)([(0,a.Cb)({type:z.apiValues,value:null,json:{type:z.jsonValues,read:z.read,write:z.write,origins:{"web-scene":{type:q.jsonValues,write:{writer:q.write,overridePolicy:e=>({enabled:"flow"!==e})}}}}})],E.prototype,"type",null),(0,l._)([(0,a.Cb)({type:[x],json:{write:!0}})],E.prototype,"visualVariables",void 0),(0,l._)([(0,a.Cb)({type:["caret","circle-caret","arrow","circle-arrow","plus-minus","circle-plus-minus","square","circle","triangle","happy-sad","thumb","custom"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],E.prototype,"univariateSymbolStyle",null),(0,l._)([(0,a.Cb)({type:["high-to-low","above-and-below","above","below","90-10"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],E.prototype,"univariateTheme",null),E=C=(0,l._)([(0,c.j)("esri.renderers.support.AuthoringInfo")],E);const T=E},32984:(e,t,s)=>{s.d(t,{Z:()=>p});var i,l=s(43697),r=s(96674),n=s(5600),o=(s(67676),s(75215),s(52011)),a=s(9833);let u=i=class extends r.wq{constructor(e){super(e),this.description=null,this.label=null,this.minValue=null,this.maxValue=0,this.symbol=null}clone(){return new i({description:this.description,label:this.label,minValue:this.minValue,maxValue:this.maxValue,symbol:this.symbol?this.symbol.clone():null})}getMeshHash(){const e=JSON.stringify(this.symbol);return`${this.minValue}.${this.maxValue}.${e}`}};(0,l._)([(0,n.Cb)({type:String,json:{write:!0}})],u.prototype,"description",void 0),(0,l._)([(0,n.Cb)({type:String,json:{write:!0}})],u.prototype,"label",void 0),(0,l._)([(0,n.Cb)({type:Number,json:{read:{source:"classMinValue"},write:{target:"classMinValue"}}})],u.prototype,"minValue",void 0),(0,l._)([(0,n.Cb)({type:Number,json:{read:{source:"classMaxValue"},write:{target:"classMaxValue"}}})],u.prototype,"maxValue",void 0),(0,l._)([(0,n.Cb)(a.Gn)],u.prototype,"symbol",void 0),u=i=(0,l._)([(0,o.j)("esri.renderers.support.ClassBreakInfo")],u);const p=u},66338:(e,t,s)=>{s.d(t,{I:()=>a});var i,l=s(43697),r=s(96674),n=s(5600),o=(s(67676),s(75215),s(52011));let a=i=class extends r.wq{constructor(){super(...arguments),this.title=null}clone(){return new i({title:this.title})}};(0,l._)([(0,n.Cb)({type:String,json:{write:!0}})],a.prototype,"title",void 0),a=i=(0,l._)([(0,o.j)("esri.renderers.support.LegendOptions")],a)},44262:(e,t,s)=>{s.d(t,{Z:()=>p});var i,l=s(43697),r=s(96674),n=s(5600),o=(s(67676),s(75215),s(52011)),a=s(9833);let u=i=class extends r.wq{constructor(e){super(e),this.description=null,this.label=null,this.symbol=null,this.value=null}clone(){return new i({value:this.value,description:this.description,label:this.label,symbol:this.symbol?this.symbol.clone():null})}getMeshHash(){const e=JSON.stringify(this.symbol&&this.symbol.toJSON());return`${this.value}.${e}`}};(0,l._)([(0,n.Cb)({type:String,json:{write:!0}})],u.prototype,"description",void 0),(0,l._)([(0,n.Cb)({type:String,json:{write:!0}})],u.prototype,"label",void 0),(0,l._)([(0,n.Cb)(a.Gn)],u.prototype,"symbol",void 0),(0,l._)([(0,n.Cb)(a.GY)],u.prototype,"value",void 0),u=i=(0,l._)([(0,o.j)("esri.renderers.support.UniqueValueInfo")],u);const p=u},9833:(e,t,s)=>{s.d(t,{GY:()=>p,Gn:()=>a,KK:()=>u});var i=s(9790),l=s(63213),r=s(21878),n=s(89164),o=s(86114);const a={types:i.QT,json:{write:{writer:r.cW},origins:{"web-scene":{types:i.f_,write:{writer:r.cW},read:{reader:(0,l.d)({types:i.f_})}}}}},u={types:{base:n.Z,key:"type",typeMap:{"simple-fill":i.LB.typeMap["simple-fill"],"picture-fill":i.LB.typeMap["picture-fill"],"polygon-3d":i.LB.typeMap["polygon-3d"]}},json:{write:{writer:r.cW},origins:{"web-scene":{type:o.Z,write:{writer:r.cW}}}}},p={cast:e=>null==e||"string"==typeof e||"number"==typeof e?e:`${e}`,json:{type:String,write:{writer:(e,t)=>{t.value=e?.toString()}}}}},89513:(e,t,s)=>{s.d(t,{Z:()=>c});var i,l=s(43697),r=s(20102),n=s(5600),o=(s(67676),s(75215),s(52011)),a=s(30556),u=s(77997);let p=i=class extends u.Z{constructor(e){super(e),this.axis=null,this.type="rotation",this.rotationType="geographic",this.valueExpressionTitle=null}get cache(){return{hasExpression:!!this.valueExpression,compiledFunc:null}}writeValueExpressionTitleWebScene(e,t,s,i){if(i&&i.messages){const e=`visualVariables[${this.index}]`;i.messages.push(new r.Z("property:unsupported",this.type+"VisualVariable.valueExpressionTitle is not supported in Web Scene. Please remove this property to save the Web Scene.",{instance:this,propertyName:e+".valueExpressionTitle",context:i}))}}clone(){return new i({axis:this.axis,rotationType:this.rotationType,field:this.field,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,legendOptions:this.legendOptions&&this.legendOptions.clone()})}};(0,l._)([(0,n.Cb)({readOnly:!0})],p.prototype,"cache",null),(0,l._)([(0,n.Cb)({type:["heading","tilt","roll"],json:{origins:{"web-scene":{default:"heading",write:!0}}}})],p.prototype,"axis",void 0),(0,l._)([(0,n.Cb)({type:["rotation"],json:{type:["rotationInfo"]}})],p.prototype,"type",void 0),(0,l._)([(0,n.Cb)({type:["geographic","arithmetic"],json:{write:!0,origins:{"web-document":{write:!0,default:"geographic"}}}})],p.prototype,"rotationType",void 0),(0,l._)([(0,n.Cb)({type:String,json:{write:!0}})],p.prototype,"valueExpressionTitle",void 0),(0,l._)([(0,a.c)("web-scene","valueExpressionTitle")],p.prototype,"writeValueExpressionTitleWebScene",null),p=i=(0,l._)([(0,o.j)("esri.renderers.visualVariables.RotationVariable")],p);const c=p},23847:(e,t,s)=>{s.d(t,{Z:()=>j});var i,l=s(43697),r=s(20102),n=s(35454),o=s(92604),a=s(62357),u=s(5600),p=(s(67676),s(90578)),c=s(71715),d=s(52011),h=s(30556),y=s(77997),f=s(30856),m=(s(75215),s(58439));let b=i=class extends m.Z{constructor(){super(...arguments),this.customValues=null}clone(){return new i({title:this.title,showLegend:this.showLegend,customValues:this.customValues&&this.customValues.slice(0)})}};(0,l._)([(0,u.Cb)({type:[Number],json:{write:!0}})],b.prototype,"customValues",void 0),b=i=(0,l._)([(0,d.j)("esri.renderers.visualVariables.support.SizeVariableLegendOptions")],b);const v=b;var g,w=s(51706),_=s(28101);const V=new n.X({width:"width",depth:"depth",height:"height",widthAndDepth:"width-and-depth",all:"all"}),S=new n.X({unknown:"unknown",inch:"inches",foot:"feet",yard:"yards",mile:"miles","nautical-mile":"nautical-miles",millimeter:"millimeters",centimeter:"centimeters",decimeter:"decimeters",meter:"meters",kilometer:"kilometers","decimal-degree":"decimal-degrees"});function x(e){if(null!=e)return"string"==typeof e||"number"==typeof e?(0,a.t_)(e):"size"===e.type?(0,w.iY)(e)?e:(delete(e={...e}).type,new I(e)):void 0}function C(e,t,s){if("object"!=typeof e)return e;const i=new I;return i.read(e,s),i}let I=g=class extends y.Z{constructor(e){super(e),this.axis=null,this.legendOptions=null,this.normalizationField=null,this.scaleBy=null,this.target=null,this.type="size",this.useSymbolValue=null,this.valueExpression=null,this.valueRepresentation=null,this.valueUnit=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null,isScaleDriven:null!=this.valueExpression&&_.B3.test(this.valueExpression)}}set expression(e){o.Z.getLogger(this.declaredClass).warn("'expression' is deprecated since version 4.2. Use 'valueExpression' instead. The only supported expression is 'view.scale'."),"view.scale"===e?(this.valueExpression="$view.scale",this._set("expression",e)):this._set("expression",null)}set index(e){(0,w.iY)(this.maxSize)&&(this.maxSize.index=`visualVariables[${e}].maxSize`),(0,w.iY)(this.minSize)&&(this.minSize.index=`visualVariables[${e}].minSize`),this._set("index",e)}get inputValueType(){return(0,w.PS)(this)}set maxDataValue(e){e&&this.stops&&(o.Z.getLogger(this.declaredClass).warn("cannot set maxDataValue when stops is not null."),e=null),this._set("maxDataValue",e)}set maxSize(e){e&&this.stops&&(o.Z.getLogger(this.declaredClass).warn("cannot set maxSize when stops is not null."),e=null),this._set("maxSize",e)}castMaxSize(e){return x(e)}readMaxSize(e,t,s){return C(e,0,s)}set minDataValue(e){e&&this.stops&&(o.Z.getLogger(this.declaredClass).warn("cannot set minDataValue when stops is not null."),e=null),this._set("minDataValue",e)}set minSize(e){e&&this.stops&&(o.Z.getLogger(this.declaredClass).warn("cannot set minSize when stops is not null."),e=null),this._set("minSize",e)}castMinSize(e){return x(e)}readMinSize(e,t,s){return C(e,0,s)}get arcadeRequired(){return!!this.valueExpression||null!=this.minSize&&"object"==typeof this.minSize&&this.minSize.arcadeRequired||null!=this.maxSize&&"object"==typeof this.maxSize&&this.maxSize.arcadeRequired}set stops(e){null==this.minDataValue&&null==this.maxDataValue&&null==this.minSize&&null==this.maxSize?e&&Array.isArray(e)&&(e=e.filter((e=>!!e))).sort(((e,t)=>e.value-t.value)):e&&(o.Z.getLogger(this.declaredClass).warn("cannot set stops when one of minDataValue, maxDataValue, minSize or maxSize is not null."),e=null),this._set("stops",e)}get transformationType(){return(0,w.QW)(this,this.inputValueType)}readValueExpression(e,t){return e||t.expression&&"$view.scale"}writeValueExpressionWebScene(e,t,s,i){if("$view.scale"===e){if(i&&i.messages){const e=this.index,t="string"==typeof e?e:`visualVariables[${e}]`;i.messages.push(new r.Z("property:unsupported",this.type+"VisualVariable.valueExpression = '$view.scale' is not supported in Web Scene. Please remove this property to save the Web Scene.",{instance:this,propertyName:t+".valueExpression",context:i}))}}else t[s]=e}readValueUnit(e){return e?S.read(e):null}clone(){return new g({axis:this.axis,field:this.field,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,maxDataValue:this.maxDataValue,maxSize:(0,w.iY)(this.maxSize)?this.maxSize.clone():this.maxSize,minDataValue:this.minDataValue,minSize:(0,w.iY)(this.minSize)?this.minSize.clone():this.minSize,normalizationField:this.normalizationField,stops:this.stops&&this.stops.map((e=>e.clone())),target:this.target,useSymbolValue:this.useSymbolValue,valueRepresentation:this.valueRepresentation,valueUnit:this.valueUnit,legendOptions:this.legendOptions&&this.legendOptions.clone()})}flipSizes(){if(this.transformationType===w.hL.ClampedLinear){const{minSize:e,maxSize:t}=this;return this.minSize=t,this.maxSize=e,this}if(this.transformationType===w.hL.Stops){const e=this.stops;if(!e)return this;const t=e.map((e=>e.size)).reverse(),s=e.length;for(let i=0;i<s;i++)e[i].size=t[i];return this}return this}getAttributeHash(){return`${super.getAttributeHash()}-${this.target}-${this.normalizationField}`}_interpolateData(){return this.stops&&this.stops.map((e=>e.value||0))}};(0,l._)([(0,u.Cb)({readOnly:!0})],I.prototype,"cache",null),(0,l._)([(0,u.Cb)({type:V.apiValues,json:{type:V.jsonValues,origins:{"web-map":{read:!1}},read:V.read,write:V.write}})],I.prototype,"axis",void 0),(0,l._)([(0,u.Cb)({type:String,value:null,json:{read:!1}})],I.prototype,"expression",null),(0,l._)([(0,u.Cb)()],I.prototype,"index",null),(0,l._)([(0,u.Cb)({type:String,readOnly:!0})],I.prototype,"inputValueType",null),(0,l._)([(0,u.Cb)({type:v,json:{write:!0}})],I.prototype,"legendOptions",void 0),(0,l._)([(0,u.Cb)({type:Number,value:null,json:{write:!0}})],I.prototype,"maxDataValue",null),(0,l._)([(0,u.Cb)({type:Number,value:null,json:{write:!0}})],I.prototype,"maxSize",null),(0,l._)([(0,p.p)("maxSize")],I.prototype,"castMaxSize",null),(0,l._)([(0,c.r)("maxSize")],I.prototype,"readMaxSize",null),(0,l._)([(0,u.Cb)({type:Number,value:null,json:{write:!0}})],I.prototype,"minDataValue",null),(0,l._)([(0,u.Cb)({type:Number,value:null,json:{write:!0}})],I.prototype,"minSize",null),(0,l._)([(0,p.p)("minSize")],I.prototype,"castMinSize",null),(0,l._)([(0,c.r)("minSize")],I.prototype,"readMinSize",null),(0,l._)([(0,u.Cb)({type:String,json:{write:!0}})],I.prototype,"normalizationField",void 0),(0,l._)([(0,u.Cb)({readOnly:!0})],I.prototype,"arcadeRequired",null),(0,l._)([(0,u.Cb)({type:String})],I.prototype,"scaleBy",void 0),(0,l._)([(0,u.Cb)({type:[f.Z],value:null,json:{write:!0}})],I.prototype,"stops",null),(0,l._)([(0,u.Cb)({type:["outline"],json:{write:!0}})],I.prototype,"target",void 0),(0,l._)([(0,u.Cb)({type:String,readOnly:!0})],I.prototype,"transformationType",null),(0,l._)([(0,u.Cb)({type:["size"],json:{type:["sizeInfo"]}})],I.prototype,"type",void 0),(0,l._)([(0,u.Cb)({type:Boolean,json:{write:!0,origins:{"web-map":{read:!1}}}})],I.prototype,"useSymbolValue",void 0),(0,l._)([(0,u.Cb)({type:String,json:{write:!0}})],I.prototype,"valueExpression",void 0),(0,l._)([(0,c.r)("valueExpression",["valueExpression","expression"])],I.prototype,"readValueExpression",null),(0,l._)([(0,h.c)("web-scene","valueExpression")],I.prototype,"writeValueExpressionWebScene",null),(0,l._)([(0,u.Cb)({type:["radius","diameter","area","width","distance"],json:{write:!0}})],I.prototype,"valueRepresentation",void 0),(0,l._)([(0,u.Cb)({type:S.apiValues,json:{write:S.write,origins:{"web-map":{read:!1},"web-scene":{write:!0}}}})],I.prototype,"valueUnit",void 0),(0,l._)([(0,c.r)("valueUnit")],I.prototype,"readValueUnit",null),I=g=(0,l._)([(0,d.j)("esri.renderers.visualVariables.SizeVariable")],I);const j=I},77997:(e,t,s)=>{s.d(t,{Z:()=>y});var i=s(43697),l=s(35454),r=s(96674),n=s(92604),o=s(5600),a=(s(67676),s(90578)),u=s(52011),p=s(75215),c=s(58439);const d=new l.X({colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation",sizeInfo:"size"});let h=class extends r.wq{constructor(e){super(e),this.index=null,this.type=null,this.field=null,this.valueExpression=null,this.valueExpressionTitle=null,this.legendOptions=null}castField(e){return null==e?e:"function"==typeof e?(n.Z.getLogger(this.declaredClass).error(".field: field must be a string value"),null):(0,p.Zs)(e)}get arcadeRequired(){return!!this.valueExpression}clone(){}getAttributeHash(){return`${this.type}-${this.field}-${this.valueExpression}`}};(0,i._)([(0,o.Cb)()],h.prototype,"index",void 0),(0,i._)([(0,o.Cb)({type:d.apiValues,readOnly:!0,json:{read:d.read,write:d.write}})],h.prototype,"type",void 0),(0,i._)([(0,o.Cb)({type:String,json:{write:!0}})],h.prototype,"field",void 0),(0,i._)([(0,a.p)("field")],h.prototype,"castField",null),(0,i._)([(0,o.Cb)({type:String,json:{write:!0}})],h.prototype,"valueExpression",void 0),(0,i._)([(0,o.Cb)({type:String,json:{write:!0}})],h.prototype,"valueExpressionTitle",void 0),(0,i._)([(0,o.Cb)({readOnly:!0})],h.prototype,"arcadeRequired",null),(0,i._)([(0,o.Cb)({type:c.Z,json:{write:!0}})],h.prototype,"legendOptions",void 0),h=(0,i._)([(0,u.j)("esri.renderers.visualVariables.VisualVariable")],h);const y=h},21849:(e,t,s)=>{s.d(t,{Z:()=>d});var i,l=s(43697),r=s(22303),n=s(96674),o=s(5600),a=(s(67676),s(75215)),u=s(52011),p=s(30556);let c=i=class extends n.wq{constructor(e){super(e),this.color=null,this.label=null,this.value=null}writeValue(e,t,s){t[s]=e??0}clone(){return new i({color:this.color&&this.color.clone(),label:this.label,value:this.value})}};(0,l._)([(0,o.Cb)({type:r.Z,json:{type:[a.z8],write:!0}})],c.prototype,"color",void 0),(0,l._)([(0,o.Cb)({type:String,json:{write:!0}})],c.prototype,"label",void 0),(0,l._)([(0,o.Cb)({type:Number,json:{write:{writerEnsuresNonNull:!0}}})],c.prototype,"value",void 0),(0,l._)([(0,p.c)("value")],c.prototype,"writeValue",null),c=i=(0,l._)([(0,u.j)("esri.renderers.visualVariables.support.ColorStop")],c);const d=c},30856:(e,t,s)=>{s.d(t,{Z:()=>p});var i,l=s(43697),r=s(96674),n=s(62357),o=s(5600),a=(s(67676),s(75215),s(52011));let u=i=class extends r.wq{constructor(e){super(e),this.label=null,this.size=null,this.value=null}clone(){return new i({label:this.label,size:this.size,value:this.value})}};(0,l._)([(0,o.Cb)({type:String,json:{write:!0}})],u.prototype,"label",void 0),(0,l._)([(0,o.Cb)({type:Number,cast:n.t_,json:{write:!0}})],u.prototype,"size",void 0),(0,l._)([(0,o.Cb)({type:Number,json:{write:!0}})],u.prototype,"value",void 0),u=i=(0,l._)([(0,a.j)("esri.renderers.visualVariables.support.SizeStop")],u);const p=u},58439:(e,t,s)=>{s.d(t,{Z:()=>u});var i,l=s(43697),r=s(5600),n=(s(67676),s(75215),s(52011)),o=s(66338);let a=i=class extends o.I{constructor(){super(...arguments),this.showLegend=null}clone(){return new i({title:this.title,showLegend:this.showLegend})}};(0,l._)([(0,r.Cb)({type:Boolean,json:{write:!0}})],a.prototype,"showLegend",void 0),a=i=(0,l._)([(0,n.j)("esri.renderers.visualVariables.support.VisualVariableLegendOptions")],a);const u=a},28101:(e,t,s)=>{s.d(t,{B3:()=>c,PR:()=>m,cM:()=>d}),s(22303);var i=s(38171),l=s(74085),r=s(92604),n=s(70586),o=s(99282),a=s(51706);const u=r.Z.getLogger("esri.renderers.visualVariables.support.visualVariableUtils"),p=(new i.Z,Math.PI),c=/^\s*(return\s+)?\$view\.scale\s*(;)?\s*$/i;function d(e,t,s){const i="visualVariables"in e&&e.visualVariables?e.visualVariables.find((e=>"rotation"===e.type)):e;if(!i)return;if("esri.renderers.visualVariables.RotationVariable"!==i.declaredClass)return void u.warn("The visualVariable should be an instance of esri.renderers.visualVariables.RotationVariable");const l=i.axis||"heading",r="heading"===l&&"arithmetic"===i.rotationType?90:0,o="heading"===l&&"arithmetic"===i.rotationType?-1:1,a="number"==typeof t?null:t,p=a&&a.attributes,c=i.field,{hasExpression:d}=i.cache;let h=i.cache.compiledFunc,y=0;if(!c&&!d)return y;if(d){if((0,n.Wi)(s)||(0,n.Wi)(s.arcade))return void u.error("Use of arcade expressions requires an arcade context");const e={viewingMode:s.viewingMode,scale:s.scale,spatialReference:s.spatialReference},t=s.arcade.arcadeUtils,l=t.getViewInfo(e),r=t.createExecContext(a,l);if(!h){const e=t.createSyntaxTree(i.valueExpression);h=t.createFunction(e),i.cache.compiledFunc=h}y=t.executeFunction(h,r)}else p&&(y=p[c]||0);return y="number"!=typeof y||isNaN(y)?null:r+o*y,y}function h(e,t,s){const i="visualVariables"in e&&e.visualVariables?e.visualVariables.find((e=>"size"===e.type)):e;if(!i)return;if("esri.renderers.visualVariables.SizeVariable"!==i.declaredClass)return void u.warn("The visualVariable should be an instance of esri.renderers.visualVariables.SizeVariable");const l=function(e,t,s,i,l){switch(t.transformationType){case a.hL.Additive:return function(e,t,s,i){return e+((y(t.minSize,s,i)||t.minDataValue)??0)}(e,t,s,i);case a.hL.Constant:return function(e,t,s){const i=e.stops;let l=i&&i.length&&i[0].size;return null==l&&(l=e.minSize),y(l,t,s)}(t,s,i);case a.hL.ClampedLinear:return function(e,t,s,i){const l=(e-t.minDataValue)/(t.maxDataValue-t.minDataValue),r=y(t.minSize,s,i),o=y(t.maxSize,s,i),a=(0,n.pC)(i)?i.shape:void 0;if(e<=t.minDataValue)return r;if(e>=t.maxDataValue)return o;if(null==r||null==o)return null;if("area"===t.scaleBy&&a){const e="circle"===a,t=e?p*(r/2)**2:r*r,s=t+l*((e?p*(o/2)**2:o*o)-t);return e?2*Math.sqrt(s/p):Math.sqrt(s)}return r+l*(o-r)}(e,t,s,i);case a.hL.Proportional:return function(e,t,s,i){const l=(0,n.pC)(i)?i.shape:void 0,r=e/t.minDataValue,o=y(t.minSize,s,i),a=y(t.maxSize,s,i);let u=null;return u="circle"===l?2*Math.sqrt(r*(o/2)**2):"square"===l||"diamond"===l||"image"===l?Math.sqrt(r*o**2):r*o,f(u,o,a)}(e,t,s,i);case a.hL.Stops:return function(e,t,s,i,l){const[r,n,o]=function(e,t){if(!t)return;let s=0,i=t.length-1;return t.some(((t,l)=>e<t?(i=l,!0):(s=l,!1))),[s,i,(e-t[s])/(t[i]-t[s])]}(e,l);if(r===n)return y(t.stops?.[r].size,s,i);{const e=y(t.stops?.[r].size,s,i);return e+(y(t.stops?.[n].size,s,i)-e)*o}}(e,t,s,i,l);case a.hL.RealWorldSize:return function(e,t,s,i){const l=((0,n.pC)(i)&&i.resolution?i.resolution:1)*o.a[t.valueUnit],r=y(t.minSize,s,i),a=y(t.maxSize,s,i),{valueRepresentation:u}=t;let c=null;return c="area"===u?2*Math.sqrt(e/p)/l:"radius"===u||"distance"===u?2*e/l:e/l,f(c,r,a)}(e,t,s,i);case a.hL.Identity:return e;case a.hL.Unknown:return null}}(function(e,t,s){const i="number"==typeof t,l=i?null:t,r=l&&l.attributes;let o=i?t:null;const{isScaleDriven:p}=e.cache;let c=e.cache.compiledFunc;if(p){const t=(0,n.pC)(s)?s.scale:void 0,i=(0,n.pC)(s)?s.view:void 0;o=null==t||"3d"===i?function(e){let t=null,s=null;const i=e.stops;return i?(t=i[0].value,s=i[i.length-1].value):(t=e.minDataValue||0,s=e.maxDataValue||0),(t+s)/2}(e):t}else if(!i)switch(e.inputValueType){case a.RY.Expression:{if((0,n.Wi)(s)||(0,n.Wi)(s.arcade))return void u.error("Use of arcade expressions requires an arcade context");const t={viewingMode:s.viewingMode,scale:s.scale,spatialReference:s.spatialReference},i=s.arcade.arcadeUtils,r=i.getViewInfo(t),a=i.createExecContext(l,r);if(!c){const t=i.createSyntaxTree(e.valueExpression);c=i.createFunction(t),e.cache.compiledFunc=c}o=i.executeFunction(c,a);break}case a.RY.Field:r&&(o=r[e.field]);break;case a.RY.Unknown:o=null}if(!(0,a.qh)(o))return null;if(i||!e.normalizationField)return o;const d=r?parseFloat(r[e.normalizationField]):null;return(0,a.qh)(d)&&0!==d?o/d:null}(i,t,s),i,t,s,i.cache.ipData);return null==l||isNaN(l)?0:l}function y(e,t,s){return null==e?null:(0,a.iY)(e)?h(e,t,s):(0,a.qh)(e)?e:null}function f(e,t,s){return(0,a.qh)(s)&&e>s?s:(0,a.qh)(t)&&e<t?t:e}function m(e,t,s){const i=["proportional","proportional","proportional"];for(const r of e){const e=r.useSymbolValue?"symbol-value":h(r,t,s);switch(r.axis){case"width":i[0]=e;break;case"depth":i[1]=e;break;case"height":i[2]=e;break;case"width-and-depth":i[0]=e,i[1]=e;break;case"all":case void 0:case null:i[0]=e,i[1]=e,i[2]=e;break;default:(0,l.Bg)(r.axis)}}return i}},72245:(e,t,s)=>{s.d(t,{K3:()=>l,Rx:()=>r});var i=s(80442);const l=()=>!!(0,i.Z)("enable-feature:force-wosr"),r=()=>!!(0,i.Z)("enable-feature:SceneLayer-editing")},21878:(e,t,s)=>{s.d(t,{im:()=>C,cW:()=>_,vX:()=>V});var i=s(9790),l=s(20102),r=s(70586),n=s(87223),o=s(59390),a=s(42143),u=s(4095),p=s(98587),c=s(77987),d=s(37898),h=s(20256),y=s(3456),f=s(86114),m=s(78724),b=s(20825);const v={retainId:!1,ignoreDrivers:!1,hasLabelingContext:!0};function g(e,t=v){if(!e)return{symbol:null};const{retainId:s=v.retainId,ignoreDrivers:r=v.ignoreDrivers,hasLabelingContext:n=v.hasLabelingContext,retainCIM:g=v.retainCIM}=t;let w=null;if((0,i.dU)(e)||e instanceof o.Z)w=e.clone();else if("cim"===e.type){const t=e.data?.symbol?.type;if("CIMPointSymbol"!==t)return{error:new l.Z("symbol-conversion:unsupported-cim-symbol",`CIM symbol of type '${t||"unknown"}' is unsupported in 3D`,{symbol:e})};w=g?e.clone():a.Z.fromCIMSymbol(e)}else if(e instanceof u.Z)w=p.Z.fromSimpleLineSymbol(e);else if(e instanceof c.Z)w=a.Z.fromSimpleMarkerSymbol(e);else if(e instanceof d.Z)w=a.Z.fromPictureMarkerSymbol(e);else if(e instanceof h.Z)w=t.geometryType&&"mesh"===t.geometryType?y.Z.fromSimpleFillSymbol(e):f.Z.fromSimpleFillSymbol(e);else{if(!(e instanceof m.Z))return{error:new l.Z("symbol-conversion:unsupported-2d-symbol",`2D symbol of type '${e.type||e.declaredClass}' is unsupported in 3D`,{symbol:e})};w=n?b.Z.fromTextSymbol(e):a.Z.fromTextSymbol(e)}if(s&&w&&"cim"!==w.type&&(w.id=e.id),r&&(0,i.dU)(w))for(let e=0;e<w.symbolLayers.length;++e)w.symbolLayers.getItemAt(e)._ignoreDrivers=!0;return{symbol:w}}const w=["building-scene","integrated-mesh","point-cloud","scene"];function _(e,t,s,i){const l=x(e,{},{context:i,isLabelSymbol:!1});(0,r.pC)(l)&&(t[s]=l)}function V(e,t,s,i){const l=x(e,{},{context:i,isLabelSymbol:!0});(0,r.pC)(l)&&(t[s]=l)}function S(e){return e instanceof n.Z||e instanceof o.Z}function x(e,t,s){if((0,r.Wi)(e))return null;const{context:i,isLabelSymbol:n}=s,o=i?.origin,a=i?.messages;if("web-scene"===o&&!S(e)){const s=g(e,{retainCIM:!0,hasLabelingContext:n});return(0,r.pC)(s.symbol)?s.symbol.write(t,i):(a?.push(new l.Z("symbol:unsupported",`Symbols of type '${e.declaredClass}' are not supported in scenes. Use 3D symbology instead when working with WebScene and SceneView`,{symbol:e,context:i,error:s.error})),null)}const u=i?.layer?.type;return"web-map"!==o&&("portal-item"!==o||u&&w.includes(u))||!S(e)?e.write(t,i):(a?.push(new l.Z("symbol:unsupported",`Symbols of type '${e.declaredClass}' are not supported in web maps and portal items. Use 2D symbology and CIMSymbol instead when working with MapView`,{symbol:e,context:i})),null)}function C(e,t){return(0,i.S9)(e,null,t)}},27883:(e,t,s)=>{s.d(t,{EJ:()=>f,KV:()=>h,n2:()=>d,v9:()=>y,wm:()=>v});var i=s(3172),l=s(20102),r=s(70586),n=s(95330),o=s(17452),a=s(65587),u=s(41253),p=s(72245);const c={};function d(e,t,s){return e&&(0,r.pC)(e.styleUrl)?async function(e,t){try{return{data:(await f(e,t)).data,baseUrl:(0,o.Yd)(e),styleUrl:e}}catch(e){return(0,n.r9)(e),null}}(e.styleUrl,s):e&&(0,r.pC)(e.styleName)?function(e,t,s){const i=(0,r.pC)(t.portal)?t.portal:a.Z.getDefault();let n;const o=`${i.url} - ${i.user&&i.user.username} - ${e}`;return c[o]||(c[o]=function(e,t,s){return t.load(s).then((()=>{const i=new u.Z({disableExtraQuery:!0,query:`owner:${m} AND type:${b} AND typekeywords:"${e}"`});return t.queryItems(i,s)})).then((({results:t})=>{let i=null;const r=e.toLowerCase();if(t&&Array.isArray(t))for(const e of t){const t=e.typeKeywords?.some((e=>e.toLowerCase()===r));if(t&&e.type===b&&e.owner===m){i=e;break}}if(!i)throw new l.Z("symbolstyleutils:style-not-found",`The style '${e}' could not be found`,{styleName:e});return i.load(s)}))}(e,i,s).then((e=>(n=e,e.fetchData()))).then((t=>({data:t,baseUrl:n.itemUrl??"",styleName:e})))),c[o]}(e.styleName,t,s):Promise.reject(new l.Z("symbolstyleutils:style-url-and-name-missing","Either styleUrl or styleName is required to resolve a style"))}function h(e){return null===e||"CIMSymbolReference"===e.type?e:{type:"CIMSymbolReference",symbol:e}}function y(e,t){if("cimRef"===t)return e.cimRef;if(e.formatInfos&&!(0,p.K3)())for(const t of e.formatInfos)if("gltf"===t.type)return t.href;return e.webRef}function f(e,t){const s={responseType:"json",query:{f:"json"},...t};return(0,i.default)((0,o.Fv)(e),s)}const m="esri_en",b="Style",v="https://cdn.arcgis.com/sharing/rest/content/items/220936cc6ed342c9937abd8f180e7d1e/resources/styles/cim/{SymbolName}.json?f=json"}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7559],{61159:(t,e,r)=>{r.d(e,{g:()=>s});const s={supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!0,supportsCacheHint:!1,supportsDistance:!0,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsDisjointSpatialRelationship:!0,supportsDefaultSpatialReference:!1,supportsCompactGeometry:!1,maxRecordCountFactor:void 0,maxRecordCount:void 0,standardMaxRecordCount:void 0,tileMaxRecordCount:void 0}},18394:(t,e,r)=>{r.r(e),r.d(e,{default:()=>pt});var s,a=r(43697),o=(r(66577),r(38171)),n=r(3172),i=r(92835),u=r(20102),l=r(80442),d=r(35454),c=r(83379),p=r(70586),h=r(78286),y=r(95330),f=r(17452),m=r(5600),g=(r(67676),r(75215),r(52011)),b=r(6570),_=r(33955);!function(t){t[t.PROJECT_VERTICES=1]="PROJECT_VERTICES"}(s||(s={}));var F=r(25278),R=r(10158),I=r(4967),O=r(11282),S=r(69285),C=r(98732);function q(t,e){return e}function w(t,e,r,s){switch(r){case 0:return E(t,e+s,0);case 1:return"lowerLeft"===t.originPosition?E(t,e+s,1):function({translate:t,scale:e},r,s){return t[s]-r*e[s]}(t,e+s,1)}}function x(t,e,r,s){return 2===r?E(t,e,2):w(t,e,r,s)}function j(t,e,r,s){return 2===r?E(t,e,3):w(t,e,r,s)}function v(t,e,r,s){return 3===r?E(t,e,3):x(t,e,r,s)}function E({translate:t,scale:e},r,s){return t[s]+r*e[s]}class T{constructor(t){this._options=t,this.geometryTypes=["esriGeometryPoint","esriGeometryMultipoint","esriGeometryPolyline","esriGeometryPolygon"],this._previousCoordinate=[0,0],this._transform=null,this._applyTransform=q,this._lengths=[],this._currentLengthIndex=0,this._toAddInCurrentPath=0,this._vertexDimension=0,this._coordinateBuffer=null,this._coordinateBufferPtr=0,this._attributesConstructor=class{}}createFeatureResult(){return{fields:[],features:[]}}finishFeatureResult(t){if(this._options.applyTransform&&(t.transform=null),this._attributesConstructor=class{},this._coordinateBuffer=null,this._lengths.length=0,!t.hasZ)return;const e=(0,S.k)(t.geometryType,this._options.sourceSpatialReference,t.spatialReference);if(!(0,p.Wi)(e))for(const r of t.features)e(r.geometry)}createSpatialReference(){return{}}addField(t,e){const r=t.fields;(0,p.O3)(r),r.push(e);const s=r.map((t=>t.name));this._attributesConstructor=function(){for(const t of s)this[t]=null}}addFeature(t,e){t.features.push(e)}prepareFeatures(t){switch(this._transform=t.transform,this._options.applyTransform&&t.transform&&(this._applyTransform=this._deriveApplyTransform(t)),this._vertexDimension=2,t.hasZ&&this._vertexDimension++,t.hasM&&this._vertexDimension++,t.geometryType){case"esriGeometryPoint":this.addCoordinate=(t,e,r)=>this.addCoordinatePoint(t,e,r),this.createGeometry=t=>this.createPointGeometry(t);break;case"esriGeometryPolygon":this.addCoordinate=(t,e,r)=>this._addCoordinatePolygon(t,e,r),this.createGeometry=t=>this._createPolygonGeometry(t);break;case"esriGeometryPolyline":this.addCoordinate=(t,e,r)=>this._addCoordinatePolyline(t,e,r),this.createGeometry=t=>this._createPolylineGeometry(t);break;case"esriGeometryMultipoint":this.addCoordinate=(t,e,r)=>this._addCoordinateMultipoint(t,e,r),this.createGeometry=t=>this._createMultipointGeometry(t)}}createFeature(){return this._lengths.length=0,this._currentLengthIndex=0,this._previousCoordinate[0]=0,this._previousCoordinate[1]=0,this._coordinateBuffer=null,this._coordinateBufferPtr=0,{attributes:new this._attributesConstructor}}allocateCoordinates(){}addLength(t,e,r){0===this._lengths.length&&(this._toAddInCurrentPath=e),this._lengths.push(e)}addQueryGeometry(t,e){const{queryGeometry:r,queryGeometryType:s}=e,a=(0,C.$g)(r.clone(),r,!1,!1,this._transform),o=(0,C.di)(a,s,!1,!1);t.queryGeometryType=s,t.queryGeometry={...o}}createPointGeometry(t){const e={x:0,y:0,spatialReference:t.spatialReference};return t.hasZ&&(e.z=0),t.hasM&&(e.m=0),e}addCoordinatePoint(t,e,r){const s=(0,p.s3)(this._transform,"transform");switch(e=this._applyTransform(s,e,r,0),r){case 0:t.x=e;break;case 1:t.y=e;break;case 2:"z"in t?t.z=e:t.m=e;break;case 3:t.m=e}}_transformPathLikeValue(t,e){let r=0;e<=1&&(r=this._previousCoordinate[e],this._previousCoordinate[e]+=t);const s=(0,p.s3)(this._transform,"transform");return this._applyTransform(s,t,e,r)}_addCoordinatePolyline(t,e,r){this._dehydratedAddPointsCoordinate(t.paths,e,r)}_addCoordinatePolygon(t,e,r){this._dehydratedAddPointsCoordinate(t.rings,e,r)}_addCoordinateMultipoint(t,e,r){0===r&&t.points.push([]);const s=this._transformPathLikeValue(e,r);t.points[t.points.length-1].push(s)}_createPolygonGeometry(t){return{rings:[[]],spatialReference:t.spatialReference,hasZ:!!t.hasZ,hasM:!!t.hasM}}_createPolylineGeometry(t){return{paths:[[]],spatialReference:t.spatialReference,hasZ:!!t.hasZ,hasM:!!t.hasM}}_createMultipointGeometry(t){return{points:[],spatialReference:t.spatialReference,hasZ:!!t.hasZ,hasM:!!t.hasM}}_dehydratedAddPointsCoordinate(t,e,r){0===r&&0==this._toAddInCurrentPath--&&(t.push([]),this._toAddInCurrentPath=this._lengths[++this._currentLengthIndex]-1,this._previousCoordinate[0]=0,this._previousCoordinate[1]=0);const s=this._transformPathLikeValue(e,r),a=t[t.length-1];0===r&&(this._coordinateBufferPtr=0,this._coordinateBuffer=new Array(this._vertexDimension),a.push(this._coordinateBuffer)),this._coordinateBuffer[this._coordinateBufferPtr++]=s}_deriveApplyTransform(t){const{hasZ:e,hasM:r}=t;return e&&r?v:e?x:r?j:w}}var D=r(34599),A=r(74889),N=r(57444);var P=r(40330),G=r(76497),Z=r(98326);function J(t){const e=t.toJSON();return e.attachmentTypes&&(e.attachmentTypes=e.attachmentTypes.join(",")),e.keywords&&(e.keywords=e.keywords.join(",")),e.globalIds&&(e.globalIds=e.globalIds.join(",")),e.objectIds&&(e.objectIds=e.objectIds.join(",")),e.size&&(e.size=e.size.join(",")),e}function k(t,e){const r={};for(const s of t){const{parentObjectId:t,parentGlobalId:a,attachmentInfos:o}=s;for(const s of o){const{id:o}=s,n=(0,f.qg)((0,P.Dp)(`${e}/${t}/attachments/${o}`)),i=Z.Z.fromJSON(s);i.set({url:n,parentObjectId:t,parentGlobalId:a}),r[t]?r[t].push(i):r[t]=[i]}}return r}var M=r(56545);var Q=r(41818),B=r(5396);function z(t,e){const r=t.toJSON();return r.objectIds&&(r.objectIds=r.objectIds.join(",")),r.orderByFields&&(r.orderByFields=r.orderByFields.join(",")),r.outFields&&!e?.returnCountOnly?r.outFields.includes("*")?r.outFields="*":r.outFields=r.outFields.join(","):delete r.outFields,r.outSpatialReference&&(r.outSR=r.outSR.wkid||JSON.stringify(r.outSR.toJSON()),delete r.outSpatialReference),r.dynamicDataSource&&(r.layer=JSON.stringify({source:r.dynamicDataSource}),delete r.dynamicDataSource),r}async function U(t,e,r={},s){const a=(0,G.A)({...t.query,f:"json",...s,...z(e,s)});return(0,n.default)(t.path+"/queryRelatedRecords",{...r,query:{...r.query,...a}})}var V=r(75935);var $=r(51806),L=r(28694);const H="Layer does not support extent calculation.";function W(t,e){const r=t.geometry,s=t.toJSON(),a=s;if((0,p.pC)(r)&&(a.geometry=JSON.stringify(r),a.geometryType=(0,_.Ji)(r),a.inSR=r.spatialReference.wkid||JSON.stringify(r.spatialReference)),s.topFilter?.groupByFields&&(a.topFilter.groupByFields=s.topFilter.groupByFields.join(",")),s.topFilter?.orderByFields&&(a.topFilter.orderByFields=s.topFilter.orderByFields.join(",")),s.topFilter&&(a.topFilter=JSON.stringify(a.topFilter)),s.objectIds&&(a.objectIds=s.objectIds.join(",")),s.orderByFields&&(a.orderByFields=s.orderByFields.join(",")),s.outFields&&!(e?.returnCountOnly||e?.returnExtentOnly||e?.returnIdsOnly)?s.outFields.includes("*")?a.outFields="*":a.outFields=s.outFields.join(","):delete a.outFields,s.outSR?a.outSR=s.outSR.wkid||JSON.stringify(s.outSR):r&&s.returnGeometry&&(a.outSR=a.inSR),s.returnGeometry&&delete s.returnGeometry,s.timeExtent){const t=s.timeExtent,{start:e,end:r}=t;null==e&&null==r||(a.time=e===r?e:`${e??"null"},${r??"null"}`),delete s.timeExtent}return a}function X(t,e,r,s={},a={}){const o="string"==typeof t?(0,f.mN)(t):t,i=e.geometry?[e.geometry]:[];return s.responseType="pbf"===r?"array-buffer":"json",(0,$.aX)(i,null,s).then((t=>{const i=t&&t[0];(0,p.pC)(i)&&((e=e.clone()).geometry=i);const u=(0,G.A)({...o.query,f:r,...a,...W(e,a)});return(0,n.default)((0,f.v_)(o.path,"queryTopFeatures"),{...s,query:{...u,...s.query}})}))}var Y=r(28141);var K=r(15923);let tt=class extends K.Z{constructor(...t){super(...t),this.requestOptions=null,this.url=null}normalizeCtorArgs(t,e){return"string"!=typeof t?t:{url:t,...e}}get parsedUrl(){return this._parseUrl(this.url)}_parseUrl(t){return(0,f.mN)(t)}_encode(t,e,r){const s={};for(const a in t){if("declaredClass"===a)continue;const o=t[a];if(null!=o&&"function"!=typeof o)if(Array.isArray(o)){s[a]=[];for(let t=0;t<o.length;t++)s[a][t]=this._encode(o[t])}else if("object"==typeof o)if(o.toJSON){const t=o.toJSON(r&&r[a]);s[a]=e?t:JSON.stringify(t)}else s[a]=e?o:JSON.stringify(o);else s[a]=o}return s}};(0,a._)([(0,m.Cb)({readOnly:!0})],tt.prototype,"parsedUrl",null),(0,a._)([(0,m.Cb)()],tt.prototype,"requestOptions",void 0),(0,a._)([(0,m.Cb)({type:String})],tt.prototype,"url",void 0),tt=(0,a._)([(0,g.j)("esri.tasks.Task")],tt);const et=tt;let rt=class extends et{constructor(t){super(t),this.dynamicDataSource=null,this.fieldsIndex=null,this.format="json",this.gdbVersion=null,this.infoFor3D=null,this.sourceSpatialReference=null}async execute(t,e){const r=await this.executeJSON(t,e);return this.featureSetFromJSON(t,r,e)}async executeJSON(t,e){const r={...this.requestOptions,...e},s=this._normalizeQuery(t),a=null!=t.outStatistics?.[0],o=(0,l.Z)("featurelayer-pbf-statistics"),n=!a||o;let i;if("pbf"===this.format&&n)try{i=await async function(t,e,r){const s=(0,O.en)(t),a={...r},o=N.Z.from(e),n=!o.quantizationParameters,{data:i}=await(0,D.executeQueryPBF)(s,o,new T({sourceSpatialReference:o.sourceSpatialReference,applyTransform:n}),a);return i}(this.url,s,r)}catch(t){if("query:parsing-pbf"!==t.name)throw t;this.format="json"}return"json"!==this.format&&n||(i=await(0,I.F)(this.url,s,r)),this._normalizeFields(i.fields),i}async featureSetFromJSON(t,e,s){if(!this._queryIs3DObjectFormat(t)||(0,p.Wi)(this.infoFor3D)||!e.assetMaps||!e.features||!e.features.length)return A.default.fromJSON(e);const{meshFeatureSetFromJSON:a}=await(0,y.Hl)(Promise.all([r.e(4547),r.e(6481),r.e(6459),r.e(1387)]).then(r.bind(r,31387)),s);return a(t,this.infoFor3D,e)}executeForCount(t,e){const r={...this.requestOptions,...e},s=this._normalizeQuery(t);return(0,Q.P)(this.url,s,r)}executeForExtent(t,e){const r={...this.requestOptions,...e},s=this._normalizeQuery(t);return async function(t,e,r){const s=(0,O.en)(t);return(0,D.executeQueryForExtent)(s,N.Z.from(e),{...r}).then((t=>({count:t.data.count,extent:b.Z.fromJSON(t.data.extent)})))}(this.url,s,r)}executeForIds(t,e){const r={...this.requestOptions,...e},s=this._normalizeQuery(t);return(0,B.G)(this.url,s,r)}executeRelationshipQuery(t,e){t=V.Z.from(t);const r={...this.requestOptions,...e};return(this.gdbVersion||this.dynamicDataSource)&&((t=t.clone()).gdbVersion=t.gdbVersion||this.gdbVersion,t.dynamicDataSource=t.dynamicDataSource||this.dynamicDataSource),async function(t,e,r){return e=V.Z.from(e),async function(t,e,r){const s=await U(t,e,r),a=s.data,o=a.geometryType,n=a.spatialReference,i={};for(const t of a.relatedRecordGroups){const e={fields:void 0,objectIdFieldName:void 0,geometryType:o,spatialReference:n,hasZ:!!a.hasZ,hasM:!!a.hasM,features:t.relatedRecords};if(null!=t.objectId)i[t.objectId]=e;else for(const r in t)t.hasOwnProperty(r)&&"relatedRecords"!==r&&(i[t[r]]=e)}return{...s,data:i}}((0,O.en)(t),e,r).then((t=>{const e=t.data,r={};return Object.keys(e).forEach((t=>r[t]=A.default.fromJSON(e[t]))),r}))}(this.url,t,r)}executeRelationshipQueryForCount(t,e){t=V.Z.from(t);const r={...this.requestOptions,...e};return(this.gdbVersion||this.dynamicDataSource)&&((t=t.clone()).gdbVersion=t.gdbVersion||this.gdbVersion,t.dynamicDataSource=t.dynamicDataSource||this.dynamicDataSource),async function(t,e,r){return e=V.Z.from(e),async function(t,e,r){const s=await U(t,e,r,{returnCountOnly:!0}),a=s.data,o={};for(const t of a.relatedRecordGroups)null!=t.objectId&&(o[t.objectId]=t.count);return{...s,data:o}}((0,O.en)(t),e,{...r}).then((t=>t.data))}(this.url,t,r)}executeAttachmentQuery(t,e){const r={...this.requestOptions,...e};return async function(t,e,r){const s=(0,O.en)(t);return function(t,e,r){let s={query:(0,G.A)({...t.query,f:"json",...J(e)})};return r&&(s={...r,...s,query:{...r.query,...s.query}}),(0,n.default)(t.path+"/queryAttachments",s)}(s,M.Z.from(e),{...r}).then((t=>k(t.data.attachmentGroups,s.path)))}(this.url,t,r)}executeTopFeaturesQuery(t,e){const r={...this.requestOptions,...e};return async function(t,e,r,s){const a=(0,O.en)(t),o={...s},{data:n}=await async function(t,e,r,s){const a=await X(t,e,"json",s);return(0,L.p)(e,r,a.data),a}(a,Y.Z.from(e),r,o);return A.default.fromJSON(n)}(this.parsedUrl,t,this.sourceSpatialReference,r)}executeForTopIds(t,e){const r={...this.requestOptions,...e};return async function(t,e,r){const s=(0,O.en)(t);return(await async function(t,e,r){return(0,p.pC)(e.timeExtent)&&e.timeExtent.isEmpty?{data:{objectIds:[]}}:X(t,e,"json",r,{returnIdsOnly:!0})}(s,Y.Z.from(e),{...r})).data.objectIds}(this.parsedUrl,t,r)}executeForTopExtents(t,e){const r={...this.requestOptions,...e};return async function(t,e,r){const s=(0,O.en)(t),a=await async function(t,e,r){return(0,p.pC)(e.timeExtent)&&e.timeExtent.isEmpty?{data:{count:0,extent:null}}:X(t,e,"json",r,{returnExtentOnly:!0,returnCountOnly:!0}).then((t=>{const e=t.data;if(e.hasOwnProperty("extent"))return t;if(e.features)throw new Error(H);if(e.hasOwnProperty("count"))throw new Error(H);return t}))}(s,Y.Z.from(e),{...r});return{count:a.data.count,extent:b.Z.fromJSON(a.data.extent)}}(this.parsedUrl,t,r)}executeForTopCount(t,e){const r={...this.requestOptions,...e};return async function(t,e,r){const s=(0,O.en)(t);return(await(a=s,o=Y.Z.from(e),n={...r},(0,p.pC)(o.timeExtent)&&o.timeExtent.isEmpty?Promise.resolve({data:{count:0}}):X(a,o,"json",n,{returnIdsOnly:!0,returnCountOnly:!0}))).data.count;var a,o,n}(this.parsedUrl,t,r)}_normalizeQuery(t){let e=N.Z.from(t);if(e.sourceSpatialReference=e.sourceSpatialReference||this.sourceSpatialReference,(this.gdbVersion||this.dynamicDataSource)&&(e=e===t?e.clone():e,e.gdbVersion=t.gdbVersion||this.gdbVersion,e.dynamicDataSource=t.dynamicDataSource?R.n.from(t.dynamicDataSource):this.dynamicDataSource),(0,p.pC)(this.infoFor3D)&&this._queryIs3DObjectFormat(t)){e=e===t?e.clone():e,e.formatOf3DObjects=null;for(const t of this.infoFor3D.queryFormats){if("3D_glb"===t){e.formatOf3DObjects=t;break}"3D_gltf"!==t||e.formatOf3DObjects||(e.formatOf3DObjects=t)}if(!e.formatOf3DObjects)throw new u.Z("query:unsupported-3d-query-formats","Could not find any supported 3D object query format. Only supported formats are 3D_glb and 3D_gltf");if((0,p.Wi)(e.outFields)||!e.outFields.includes("*")){e=e===t?e.clone():e,(0,p.Wi)(e.outFields)&&(e.outFields=[]);const{originX:r,originY:s,originZ:a,translationX:o,translationY:n,translationZ:i,scaleX:u,scaleY:l,scaleZ:d,rotationX:c,rotationY:h,rotationZ:y,rotationDeg:f}=this.infoFor3D.transformFieldRoles;e.outFields.push(r,s,a,o,n,i,u,l,d,c,h,y,f)}}return e}_normalizeFields(t){if((0,p.pC)(this.fieldsIndex)&&(0,p.pC)(t))for(const e of t){const t=this.fieldsIndex.get(e.name);t&&Object.assign(e,t.toJSON())}}_queryIs3DObjectFormat(t){return(0,p.pC)(this.infoFor3D)&&t.returnGeometry&&"xyFootprint"!==t.multipatchOption&&!t.outStatistics}};(0,a._)([(0,m.Cb)({type:R.n})],rt.prototype,"dynamicDataSource",void 0),(0,a._)([(0,m.Cb)()],rt.prototype,"fieldsIndex",void 0),(0,a._)([(0,m.Cb)()],rt.prototype,"format",void 0),(0,a._)([(0,m.Cb)()],rt.prototype,"gdbVersion",void 0),(0,a._)([(0,m.Cb)()],rt.prototype,"infoFor3D",void 0),(0,a._)([(0,m.Cb)()],rt.prototype,"sourceSpatialReference",void 0),rt=(0,a._)([(0,g.j)("esri.tasks.QueryTask")],rt);const st=rt;var at=r(66677),ot=r(59431),nt=r(82971);const it=new d.X({originalAndCurrentFeatures:"original-and-current-features",none:"none"});async function ut(t){return"string"==typeof t?(0,f.sJ)(t)||{data:t}:new Promise(((e,r)=>{const s=new FileReader;s.readAsDataURL(t),s.onload=()=>e((0,f.sJ)(s.result)),s.onerror=t=>r(t)}))}const lt=new Set(["Feature Layer","Table"]),dt=new d.X({Started:"published",Publishing:"publishing",Stopped:"unavailable"});let ct=class extends c.Z{constructor(){super(...arguments),this.type="feature-layer",this.refresh=(0,y.Ds)((async()=>{await this.load();const t=this.sourceJSON.editingInfo?.lastEditDate;if(null==t)return{dataChanged:!0,updates:{}};try{await this._fetchService(null)}catch{return{dataChanged:!0,updates:{}}}const e=t!==this.sourceJSON.editingInfo?.lastEditDate;return{dataChanged:e,updates:e?{editingInfo:this.sourceJSON.editingInfo,extent:this.sourceJSON.extent}:null}}))}load(t){const e=(0,p.pC)(t)?t.signal:null;return this.addResolvingPromise(this._fetchService(this.layer.sourceJSON,e)),Promise.resolve(this)}get queryTask(){const{capabilities:{query:{supportsFormatPBF:t}},parsedUrl:e,dynamicDataSource:r,infoFor3D:s,gdbVersion:a,spatialReference:o,fieldsIndex:n}=this.layer,i=(0,l.Z)("featurelayer-pbf")&&t&&(0,p.Wi)(s)?"pbf":"json";return new st({url:e.path,format:i,fieldsIndex:n,infoFor3D:s,dynamicDataSource:r,gdbVersion:a,sourceSpatialReference:o})}async addAttachment(t,e){await this.load();const r=t.attributes[this.layer.objectIdField],s=this.layer.parsedUrl.path+"/"+r+"/addAttachment",a=this._getLayerRequestOptions(),o=this._getFormDataForAttachment(e,a.query);try{const t=await(0,n.default)(s,{body:o});return this._createFeatureEditResult(t.data.addAttachmentResult)}catch(t){throw this._createAttachmentErrorResult(r,t)}}async updateAttachment(t,e,r){await this.load();const s=t.attributes[this.layer.objectIdField],a=this.layer.parsedUrl.path+"/"+s+"/updateAttachment",o=this._getLayerRequestOptions({query:{attachmentId:e}}),i=this._getFormDataForAttachment(r,o.query);try{const t=await(0,n.default)(a,{body:i});return this._createFeatureEditResult(t.data.updateAttachmentResult)}catch(t){throw this._createAttachmentErrorResult(s,t)}}async applyEdits(t,e){await this.load();const r=this.layer.infoFor3D,s=(0,p.pC)(r),a=s||e?.globalIdUsed,o=t.addFeatures.map((t=>this._serializeFeature(t,r))),i=t.updateFeatures.map((t=>this._serializeFeature(t,r))),u=this._getFeatureIds(t.deleteFeatures,a);(0,ot.P)(o,i,this.layer.spatialReference);const l=[],d=[],c=[...t.deleteAttachments];for(const e of t.addAttachments)l.push(await this._serializeAttachment(e));for(const e of t.updateAttachments)d.push(await this._serializeAttachment(e));const h=l.length||d.length||c.length?{adds:l,updates:d,deletes:c}:null;let y,f=null;if(s){f=new Map;const e=[];for(const r of t.addAssets)e.push(this._serializeAssetMapEditAndUploadAssets(r,f));const r=await Promise.all(e);y=r.length?{adds:r,updates:[],deletes:[]}:void 0}const m={gdbVersion:e?.gdbVersion||this.layer.gdbVersion,rollbackOnFailure:e?.rollbackOnFailureEnabled,useGlobalIds:a,returnEditMoment:e?.returnEditMoment,usePreviousEditMoment:e?.usePreviousEditMoment,sessionId:e?.sessionId};e?.returnServiceEditsOption?(m.edits=JSON.stringify([{id:this.layer.layerId,adds:o,updates:i,deletes:u,attachments:h,assetMaps:(0,p.Wg)(y)}]),m.returnServiceEditsOption=it.toJSON(e?.returnServiceEditsOption),m.returnServiceEditsInSourceSR=e?.returnServiceEditsInSourceSR):(m.adds=o.length?JSON.stringify(o):null,m.updates=i.length?JSON.stringify(i):null,m.deletes=u.length?a?JSON.stringify(u):u.join(","):null,m.attachments=h&&JSON.stringify(h),m.assetMaps=(0,p.pC)(y)?JSON.stringify(y):void 0);const g=this._getLayerRequestOptions({method:"post",query:m}),b=e?.returnServiceEditsOption?this.layer.url:this.layer.parsedUrl.path,_=await(0,n.default)(b+"/applyEdits",g);if(s&&null!=_.data&&null!=_.data.assetMaps){const t=_.data,e=this.layer.objectIdField,r=[];for(const e of t.addResults)e.success&&r.push(e.objectId);for(const e of t.updateResults)e.success&&r.push(e.objectId);const s=this._createRequestQueryOptions(),a=await(0,n.default)(b+"/query",{...s,query:{f:"json",formatOf3DObjects:"3D_glb",where:`OBJECTID IN (${r.join(",")})`,outFields:`${e}`}});if(a&&a.data&&a.data.assetMaps&&(0,p.pC)(f)){const t=a.data.assetMaps;for(const e of t){const t=f.get(e.parentGlobalId).geometry;(0,p.pC)(t)&&"mesh"===t.type&&t.updateExternalSource({source:[{name:e.assetName,source:e.assetName}],extent:t.extent})}}}return this._createEditsResult(_)}async deleteAttachments(t,e){await this.load();const r=t.attributes[this.layer.objectIdField],s=this.layer.parsedUrl.path+"/"+r+"/deleteAttachments";try{return(await(0,n.default)(s,this._getLayerRequestOptions({query:{attachmentIds:e.join(",")},method:"post"}))).data.deleteAttachmentResults.map(this._createFeatureEditResult)}catch(t){throw this._createAttachmentErrorResult(r,t)}}fetchRecomputedExtents(t={}){const e=t.signal;return this.load({signal:e}).then((async()=>{const e=this._getLayerRequestOptions({...t,query:{returnUpdates:!0}}),{layerId:r,url:s}=this.layer,{data:a}=await(0,n.default)(`${s}/${r}`,e),{id:o,extent:u,fullExtent:l,timeExtent:d}=a,c=u||l;return{id:o,fullExtent:c&&b.Z.fromJSON(c),timeExtent:d&&i.Z.fromJSON({start:d[0],end:d[1]})}}))}async queryAttachments(t,e={}){const{parsedUrl:r}=this.layer,s=r.path;await this.load();const a=this._getLayerRequestOptions(e);if(!this.layer.get("capabilities.operations.supportsQueryAttachments")){const{objectIds:e}=t,r=[];for(const t of e){const e=s+"/"+t+"/attachments";r.push((0,n.default)(e,a))}return Promise.all(r).then((t=>e.map(((e,r)=>({parentObjectId:e,attachmentInfos:t[r].data.attachmentInfos}))))).then((t=>k(t,s)))}return this.queryTask.executeAttachmentQuery(t,a)}async queryFeatures(t,e){return await this.load(),this.queryTask.execute(t,{...e,query:this._createRequestQueryOptions(e)})}async queryFeaturesJSON(t,e){return await this.load(),this.queryTask.executeJSON(t,{...e,query:this._createRequestQueryOptions(e)})}async queryObjectIds(t,e){return await this.load(),this.queryTask.executeForIds(t,{...e,query:this._createRequestQueryOptions(e)})}async queryFeatureCount(t,e){return await this.load(),this.queryTask.executeForCount(t,{...e,query:this._createRequestQueryOptions(e)})}async queryExtent(t,e){return await this.load(),this.queryTask.executeForExtent(t,{...e,query:this._createRequestQueryOptions(e)})}async queryRelatedFeatures(t,e){return await this.load(),this.queryTask.executeRelationshipQuery(t,{...e,query:this._createRequestQueryOptions(e)})}async queryRelatedFeaturesCount(t,e){return await this.load(),this.queryTask.executeRelationshipQueryForCount(t,{...e,query:this._createRequestQueryOptions(e)})}async queryTopFeatures(t,e){return await this.load(),this.queryTask.executeTopFeaturesQuery(t,{...e,query:this._createRequestQueryOptions(e)})}async queryTopObjectIds(t,e){return await this.load(),this.queryTask.executeForTopIds(t,{...e,query:this._createRequestQueryOptions(e)})}async queryTopExtents(t,e){return await this.load(),this.queryTask.executeForTopExtents(t,{...e,query:this._createRequestQueryOptions(e)})}async queryTopCount(t,e){return await this.load(),this.queryTask.executeForTopCount(t,{...e,query:this._createRequestQueryOptions(e)})}async fetchPublishingStatus(){if(!(0,at.M8)(this.layer.url))return"unavailable";const t=(0,f.v_)(this.layer.url,"status"),e=await(0,n.default)(t,{query:{f:"json"}});return dt.fromJSON(e.data.status)}_createRequestQueryOptions(t){const e={...this.layer.customParameters,token:this.layer.apiKey,...t?.query};return this.layer.datesInUnknownTimezone&&(e.timeReferenceUnknownClient=!0),e}async _fetchService(t,e){if(!t){const{data:r}=await(0,n.default)(this.layer.parsedUrl.path,this._getLayerRequestOptions({query:(0,l.Z)("featurelayer-advanced-symbols")?{returnAdvancedSymbols:!0}:{},signal:e}));t=r}this.sourceJSON=this._patchServiceJSON(t);const r=t.type;if(!lt.has(r))throw new u.Z("feature-layer-source:unsupported-type",`Source type "${r}" is not supported`)}_patchServiceJSON(t){if("Table"!==t.type&&t.geometryType&&!t?.drawingInfo?.renderer&&!t.defaultSymbol){const e=(0,F.bU)(t.geometryType).renderer;(0,h.RB)("drawingInfo.renderer",e,t)}return"esriGeometryMultiPatch"===t.geometryType&&t.infoFor3D&&(t.geometryType="mesh"),t}_serializeFeature(t,e){const{geometry:r,attributes:s}=t;if((0,p.pC)(e)&&(0,p.pC)(t.geometry)&&"mesh"===t.geometry.type){const r={...s},a=t.geometry,o=a.origin,n=a.transform;if(r[e.transformFieldRoles.originX]=o.x,r[e.transformFieldRoles.originY]=o.y,r[e.transformFieldRoles.originZ]=o.z,(0,p.pC)(n)){const t=n.translation,s=n.scale,a=n.rotation;r[e.transformFieldRoles.translationX]=t[0],r[e.transformFieldRoles.translationY]=t[1],r[e.transformFieldRoles.translationZ]=t[2],r[e.transformFieldRoles.scaleX]=s[0],r[e.transformFieldRoles.scaleY]=s[1],r[e.transformFieldRoles.scaleZ]=s[2],r[e.transformFieldRoles.rotationX]=a[0],r[e.transformFieldRoles.rotationY]=a[1],r[e.transformFieldRoles.rotationZ]=a[2],r[e.transformFieldRoles.rotationDeg]=a[3]}return{geometry:null,attributes:r}}return(0,p.Wi)(r)?{attributes:s}:"mesh"===r.type||"extent"===r.type?null:{geometry:r.toJSON(),attributes:s}}async _serializeAttachment(t){const{feature:e,attachment:r}=t,{globalId:s,name:a,contentType:o,data:n,uploadId:i}=r,u={globalId:s,parentGlobalId:null,contentType:null,name:null,uploadId:null,data:null};if(e&&(u.parentGlobalId="attributes"in e?e.attributes&&e.attributes[this.layer.globalIdField]:e.globalId),i)u.uploadId=i;else if(n){const t=await ut(n);u.contentType=t.mediaType,u.data=t.data,n instanceof File&&(u.name=n.name)}return a&&(u.name=a),o&&(u.contentType=o),u}async _serializeAssetMapEditAndUploadAssets(t,e){const r=this.layer.url;let a=null;try{const e=new Blob([t.data],{type:t.mimeType}),s=new FormData;s.append("f","json"),s.append("file",e,`${t.assetName}`);const o={body:s,method:"post",responseType:"json"},{data:i}=await(0,n.default)(`${r}/uploads/upload`,o);if(!i.success)throw new u.Z("feature-layer-source:upload-failure","Expected upload to be successfull.");a={assetType:t.assetType,assetUploadId:i.item.itemID}}catch(t){a=null}if((0,p.Wi)(a)){const e=await ut(new Blob([t.data]));if(!e.isBase64)throw new u.Z("feature-layer-source:uploadAssets-failure","Expected gltf data in base64 format after conversion.");a={assetType:t.assetType,assetData:e.data}}if((0,p.Wi)(a))throw new u.Z("feature-layer-source:uploadAssets-failure","Unable to prepare uploadAsset request options.");const o={method:"post",query:{f:"json",assets:JSON.stringify([a])},responseType:"json"},i=await(0,n.default)((0,f.v_)(this.layer.parsedUrl.path,"uploadAssets"),o);if(1!==i.data.uploadResults.length||!i.data.uploadResults[0].success)throw new u.Z("feature-layer-source:uploadAssets-failure","Bad response.");const l=i.data.uploadResults[0].assetHash,d=[];t.flags&s.PROJECT_VERTICES&&d.push("PROJECT_VERTICES");const c={globalId:t.assetMapGlobalId,parentGlobalId:t.featureGlobalId,assetName:t.assetName,assetHash:l,flags:d};return e.set(t.featureGlobalId,t.feature),c}_getFeatureIds(t,e){const r=t[0];return r?this._canUseGlobalIds(e,t)?this._getGlobalIdsFromFeatureIdentifier(t):"objectId"in r?this._getObjectIdsFromFeatureIdentifier(t):this._getIdsFromFeatures(t):[]}_getIdsFromFeatures(t){const e=this.layer.objectIdField;return t.map((t=>t.attributes&&t.attributes[e]))}_canUseGlobalIds(t,e){return t&&"globalId"in e[0]}_getObjectIdsFromFeatureIdentifier(t){return t.map((t=>t.objectId))}_getGlobalIdsFromFeatureIdentifier(t){return t.map((t=>t.globalId))}_createEditsResult(t){const e=t.data,{layerId:r}=this.layer,s=[];let a=null;if(Array.isArray(e))for(const t of e)s.push({id:t.id,editedFeatures:t.editedFeatures}),t.id===r&&(a={addResults:t.addResults,updateResults:t.updateResults,deleteResults:t.deleteResults,attachments:t.attachments,editMoment:t.editMoment});else a=e;const o=a?.attachments,n={addFeatureResults:a.addResults?a.addResults.map(this._createFeatureEditResult,this):[],updateFeatureResults:a.updateResults?a.updateResults.map(this._createFeatureEditResult,this):[],deleteFeatureResults:a.deleteResults?a.deleteResults.map(this._createFeatureEditResult,this):[],addAttachmentResults:o&&o.addResults?o.addResults.map(this._createFeatureEditResult,this):[],updateAttachmentResults:o&&o.updateResults?o.updateResults.map(this._createFeatureEditResult,this):[],deleteAttachmentResults:o&&o.deleteResults?o.deleteResults.map(this._createFeatureEditResult,this):[]};if(a.editMoment&&(n.editMoment=a.editMoment),s.length>0){n.editedFeatureResults=[];for(const t of s){const{adds:e,updates:r,deletes:s,spatialReference:a}=t.editedFeatures,o=a?new nt.Z(a):null;n.editedFeatureResults.push({layerId:t.id,editedFeatures:{adds:e?.map((t=>this._createEditedFeature(t,o)))||[],updates:r?.map((t=>({original:this._createEditedFeature(t[0],o),current:this._createEditedFeature(t[1],o)})))||[],deletes:s?.map((t=>this._createEditedFeature(t,o)))||[],spatialReference:o}})}}return n}_createEditedFeature(t,e){return new o.Z({attributes:t.attributes,geometry:(0,_.im)({...t.geometry,spatialReference:e})})}_createFeatureEditResult(t){const e=!0===t.success?null:t.error||{code:void 0,description:void 0};return{objectId:t.objectId,globalId:t.globalId,error:e?new u.Z("feature-layer-source:edit-failure",e.description,{code:e.code}):null}}_createAttachmentErrorResult(t,e){const r=e.details.messages&&e.details.messages[0]||e.message,s=e.details.httpStatus||e.details.messageCode;return{objectId:t,globalId:null,error:new u.Z("feature-layer-source:attachment-failure",r,{code:s})}}_getFormDataForAttachment(t,e){const r=t instanceof FormData?t:t&&t.elements?new FormData(t):null;if(r)for(const t in e){const s=e[t];null!=s&&(r.set?r.set(t,s):r.append(t,s))}return r}_getLayerRequestOptions(t={}){const{parsedUrl:e,gdbVersion:r,dynamicDataSource:s}=this.layer;return{...t,query:{gdbVersion:r,layer:s?JSON.stringify({source:s}):void 0,...e.query,f:"json",...this._createRequestQueryOptions(t)},responseType:"json"}}};(0,a._)([(0,m.Cb)()],ct.prototype,"type",void 0),(0,a._)([(0,m.Cb)({constructOnly:!0})],ct.prototype,"layer",void 0),(0,a._)([(0,m.Cb)({readOnly:!0})],ct.prototype,"queryTask",null),ct=(0,a._)([(0,g.j)("esri.layers.graphics.sources.FeatureLayerSource")],ct);const pt=ct},25278:(t,e,r)=>{r.d(e,{Dm:()=>d,Hq:()=>c,MS:()=>p,bU:()=>i});var s=r(80442),a=r(22974),o=r(61159),n=r(58333);function i(t){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===t||"esriGeometryMultipoint"===t?n.I4:"esriGeometryPolyline"===t?n.ET:n.lF}}}const u=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let l=1;function d(t,e){if((0,s.Z)("esri-csp-restrictions"))return()=>({[e]:null,...t});try{let r=`this.${e} = null;`;for(const e in t)r+=`this${u.test(e)?`.${e}`:`["${e}"]`} = ${JSON.stringify(t[e])};`;const s=new Function(`\n return class AttributesClass$${l++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new s}catch(r){return()=>({[e]:null,...t})}}function c(t={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,a.d9)(t)}}]}function p(t,e){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:t},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:e,supportsDelete:e,supportsEditing:e,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:e,supportsExceedsLimitStatistics:!0},query:o.g,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},editing:{supportsGeometryUpdate:e,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1}}}},41818:(t,e,r)=>{r.d(e,{P:()=>n});var s=r(11282),a=r(34599),o=r(57444);async function n(t,e,r){const n=(0,s.en)(t);return(0,a.executeQueryForCount)(n,o.Z.from(e),{...r}).then((t=>t.data.count))}},5396:(t,e,r)=>{r.d(e,{G:()=>n});var s=r(11282),a=r(34599),o=r(57444);async function n(t,e,r){const n=(0,s.en)(t);return(0,a.executeQueryForIds)(n,o.Z.from(e),{...r}).then((t=>t.data.objectIds))}},4967:(t,e,r)=>{r.d(e,{F:()=>u,e:()=>i});var s=r(11282),a=r(34599),o=r(74889),n=r(57444);async function i(t,e,r){const s=await u(t,e,r);return o.default.fromJSON(s)}async function u(t,e,r){const o=(0,s.en)(t),i={...r},u=n.Z.from(e),{data:l}=await(0,a.executeQuery)(o,u,u.sourceSpatialReference,i);return l}},98326:(t,e,r)=>{r.d(e,{Z:()=>c});var s,a=r(43697),o=r(96674),n=r(5600),i=(r(67676),r(75215)),u=r(52011);const l={1:{id:1,rotation:0,mirrored:!1},2:{id:2,rotation:0,mirrored:!0},3:{id:3,rotation:180,mirrored:!1},4:{id:4,rotation:180,mirrored:!0},5:{id:5,rotation:-90,mirrored:!0},6:{id:6,rotation:90,mirrored:!1},7:{id:7,rotation:90,mirrored:!0},8:{id:8,rotation:-90,mirrored:!1}};let d=s=class extends o.wq{constructor(t){super(t),this.contentType=null,this.exifInfo=null,this.id=null,this.globalId=null,this.keywords=null,this.name=null,this.parentGlobalId=null,this.parentObjectId=null,this.size=null,this.url=null}get orientationInfo(){const{exifInfo:t}=this,e=function(t){const{exifInfo:e,exifName:r,tagName:s}=t;if(!e||!r||!s)return null;const a=e.find((t=>t.name===r));return a?function(t){const{tagName:e,tags:r}=t;if(!r||!e)return null;const s=r.find((t=>t.name===e));return s&&s.value||null}({tagName:s,tags:a.tags}):null}({exifName:"Exif IFD0",tagName:"Orientation",exifInfo:t});return l[e]||null}clone(){return new s({contentType:this.contentType,exifInfo:this.exifInfo,id:this.id,globalId:this.globalId,keywords:this.keywords,name:this.name,parentGlobalId:this.parentGlobalId,parentObjectId:this.parentObjectId,size:this.size,url:this.url})}};(0,a._)([(0,n.Cb)({type:String})],d.prototype,"contentType",void 0),(0,a._)([(0,n.Cb)()],d.prototype,"exifInfo",void 0),(0,a._)([(0,n.Cb)({readOnly:!0})],d.prototype,"orientationInfo",null),(0,a._)([(0,n.Cb)({type:i.z8})],d.prototype,"id",void 0),(0,a._)([(0,n.Cb)({type:String})],d.prototype,"globalId",void 0),(0,a._)([(0,n.Cb)({type:String})],d.prototype,"keywords",void 0),(0,a._)([(0,n.Cb)({type:String})],d.prototype,"name",void 0),(0,a._)([(0,n.Cb)({json:{read:!1}})],d.prototype,"parentGlobalId",void 0),(0,a._)([(0,n.Cb)({json:{read:!1}})],d.prototype,"parentObjectId",void 0),(0,a._)([(0,n.Cb)({type:i.z8})],d.prototype,"size",void 0),(0,a._)([(0,n.Cb)({json:{read:!1}})],d.prototype,"url",void 0),d=s=(0,a._)([(0,u.j)("esri.layers.support.AttachmentInfo")],d);const c=d}}]);