@esri/solutions-components 0.10.49 → 0.11.1

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 (1250) hide show
  1. package/dist/cjs/ExpandToggle-44886935.js +115 -0
  2. package/dist/cjs/FloatingArrow-d7ea2b0f.js +48 -0
  3. package/dist/cjs/Heading-ee0aa171.js +25 -0
  4. package/dist/cjs/IdentityManager-d84c82f1.js +2047 -0
  5. package/dist/cjs/Validation-9515ef0c.js +20 -0
  6. package/dist/cjs/app-globals-03a6ab9b.js +67 -0
  7. package/dist/cjs/ar-180cd9b0.js +106 -0
  8. package/dist/cjs/asyncToGenerator-c7fc3ee4.js +92 -0
  9. package/dist/cjs/basemap-gallery_7.cjs.entry.js +37 -12
  10. package/dist/cjs/bg-fd095c86.js +84 -0
  11. package/dist/cjs/browser-717f77af.js +35 -0
  12. package/dist/cjs/bs-11fa6f0d.js +53 -0
  13. package/dist/cjs/buffer-tools_3.cjs.entry.js +6 -6
  14. package/dist/cjs/ca-0685b1cc.js +73 -0
  15. package/dist/cjs/calcite-accordion_2.cjs.entry.js +5 -5
  16. package/dist/cjs/calcite-action-bar.cjs.entry.js +8 -8
  17. package/dist/cjs/calcite-action-group.cjs.entry.js +7 -7
  18. package/dist/cjs/calcite-action-menu_2.cjs.entry.js +9 -9
  19. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +8 -8
  20. package/dist/cjs/calcite-action_2.cjs.entry.js +13 -13
  21. package/dist/cjs/calcite-alert_2.cjs.entry.js +500 -0
  22. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  23. package/dist/cjs/calcite-block-section.cjs.entry.js +6 -6
  24. package/dist/cjs/calcite-block_5.cjs.entry.js +17 -17
  25. package/dist/cjs/calcite-button-de2c2e75.js +282 -0
  26. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  27. package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
  28. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  29. package/dist/cjs/calcite-carousel_2.cjs.entry.js +7 -7
  30. package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
  31. package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
  32. package/dist/cjs/calcite-chip_2.cjs.entry.js +9 -9
  33. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +3 -3
  34. package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
  35. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +3 -3
  36. package/dist/cjs/calcite-combobox_3.cjs.entry.js +66 -20
  37. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
  38. package/dist/cjs/calcite-dialog-a5c288bb.js +5876 -0
  39. package/dist/cjs/calcite-dialog.cjs.entry.js +9 -9
  40. package/dist/cjs/calcite-dropdown_2.cjs.entry.js +7 -7
  41. package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
  42. package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
  43. package/dist/cjs/calcite-flow-item_5.cjs.entry.js +1752 -0
  44. package/dist/cjs/calcite-flow_4.cjs.entry.js +12 -12
  45. package/dist/cjs/calcite-graph_2.cjs.entry.js +7 -7
  46. package/dist/cjs/calcite-icon_2.cjs.entry.js +4 -4
  47. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  48. package/dist/cjs/calcite-input-945ec162.js +1001 -0
  49. package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
  50. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  51. package/dist/cjs/calcite-input-time-picker-3aeef2d4.js +1870 -0
  52. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +13 -13
  53. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
  54. package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
  55. package/dist/cjs/calcite-label-e7b67a86.js +111 -0
  56. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  57. package/dist/cjs/calcite-link.cjs.entry.js +4 -4
  58. package/dist/cjs/calcite-list-item-group.cjs.entry.js +2 -2
  59. package/dist/cjs/calcite-menu-item.cjs.entry.js +6 -6
  60. package/dist/cjs/calcite-menu.cjs.entry.js +6 -6
  61. package/dist/cjs/calcite-meter.cjs.entry.js +6 -6
  62. package/dist/cjs/calcite-modal_4.cjs.entry.js +972 -0
  63. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
  64. package/dist/cjs/calcite-navigation-user.cjs.entry.js +3 -3
  65. package/dist/cjs/calcite-navigation.cjs.entry.js +3 -3
  66. package/dist/cjs/calcite-notice-a48cc9e7.js +261 -0
  67. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  68. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  69. package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
  70. package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
  71. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
  72. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +10 -10
  73. package/dist/cjs/calcite-pick-list.cjs.entry.js +8 -8
  74. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
  75. package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
  76. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  77. package/dist/cjs/calcite-scrim.cjs.entry.js +5 -5
  78. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +6 -6
  79. package/dist/cjs/calcite-sheet.cjs.entry.js +7 -7
  80. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
  81. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +24 -24
  82. package/dist/cjs/calcite-shell.cjs.entry.js +4 -4
  83. package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
  84. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  85. package/dist/cjs/calcite-stepper-item.cjs.entry.js +7 -7
  86. package/dist/cjs/calcite-stepper.cjs.entry.js +5 -5
  87. package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
  88. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
  89. package/dist/cjs/calcite-table-row.cjs.entry.js +2 -2
  90. package/dist/cjs/calcite-table.cjs.entry.js +6 -6
  91. package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
  92. package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
  93. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +4 -4
  94. package/dist/cjs/calcite-tile-select.cjs.entry.js +6 -6
  95. package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
  96. package/dist/cjs/calcite-time-picker.cjs.entry.js +7 -7
  97. package/dist/cjs/calcite-tip-group.cjs.entry.js +3 -3
  98. package/dist/cjs/calcite-tip-manager.cjs.entry.js +8 -8
  99. package/dist/cjs/calcite-tip.cjs.entry.js +9 -9
  100. package/dist/cjs/calcite-tooltip.cjs.entry.js +5 -5
  101. package/dist/cjs/calcite-tree_2.cjs.entry.js +5 -5
  102. package/dist/cjs/card-manager_3.cjs.entry.js +194 -51
  103. package/dist/cjs/common-10d11a29.js +37 -0
  104. package/dist/cjs/conditionalSlot-130cce71.js +54 -0
  105. package/dist/cjs/config-c999f8fc.js +40 -0
  106. package/dist/cjs/consent-manager.cjs.entry.js +7915 -46
  107. package/dist/cjs/crowdsource-manager.cjs.entry.js +6 -6
  108. package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
  109. package/dist/cjs/cs-70e8ba01.js +149 -0
  110. package/dist/cjs/da-e8eb9ff4.js +69 -0
  111. package/dist/cjs/date-40a80298.js +264 -0
  112. package/dist/cjs/de-4b8310d2.js +93 -0
  113. package/dist/cjs/de-at-dc8ed8c3.js +92 -0
  114. package/dist/cjs/de-ch-c5971940.js +92 -0
  115. package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
  116. package/dist/cjs/downloadUtils-b6490537.js +3223 -0
  117. package/dist/cjs/el-a70d9f12.js +68 -0
  118. package/dist/cjs/en-au-88ddb80f.js +68 -0
  119. package/dist/cjs/en-ca-5a29b95b.js +67 -0
  120. package/dist/cjs/en-gb-3c763a84.js +71 -0
  121. package/dist/cjs/es-e83e8ff5.js +68 -0
  122. package/dist/cjs/es-mx-2ea879ef.js +67 -0
  123. package/dist/cjs/et-7b00c80d.js +94 -0
  124. package/dist/cjs/feature-list.cjs.entry.js +12 -10
  125. package/dist/cjs/fi-92ca007b.js +117 -0
  126. package/dist/cjs/floating-ui-7fa9e006.js +2413 -0
  127. package/dist/cjs/focusTrapComponent-a7cfa6da.js +1013 -0
  128. package/dist/cjs/form-dd5380da.js +370 -0
  129. package/dist/cjs/form-f2a43327.js +381 -0
  130. package/dist/cjs/fr-a1f5dfd4.js +70 -0
  131. package/dist/cjs/fr-ch-8a4a9d67.js +68 -0
  132. package/dist/cjs/he-38b2b883.js +107 -0
  133. package/dist/cjs/helpers-47465fc2.js +940 -0
  134. package/dist/cjs/hi-a517b1a8.js +67 -0
  135. package/dist/cjs/hr-c1e34de1.js +82 -0
  136. package/dist/cjs/hu-e46e8ae7.js +90 -0
  137. package/dist/cjs/icon-f45e7fbb.js +979 -0
  138. package/dist/cjs/id-bfc376d8.js +68 -0
  139. package/dist/cjs/index-1ab17699.js +201 -0
  140. package/dist/cjs/index-3bae5121.js +1789 -0
  141. package/dist/cjs/index-5d8d6ae2.js +2157 -0
  142. package/dist/cjs/index.es-5fc7bebc.js +11221 -0
  143. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +2 -2
  144. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
  145. package/dist/cjs/instant-apps-create.cjs.entry.js +2 -2
  146. package/dist/cjs/instant-apps-export-views.cjs.entry.js +2 -2
  147. package/dist/cjs/instant-apps-export.cjs.entry.js +2 -2
  148. package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
  149. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
  150. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
  151. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
  152. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
  153. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +4 -4
  154. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +2 -2
  155. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  156. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +4 -4
  157. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +4 -4
  158. package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
  159. package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -2
  160. package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
  161. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +2 -2
  162. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
  163. package/dist/cjs/instant-apps-splash.cjs.entry.js +3 -3
  164. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +3 -3
  165. package/dist/cjs/interactive-b59e6294.js +86 -0
  166. package/dist/cjs/interactive-e1c3ccf2.js +85 -0
  167. package/dist/cjs/it-6d8c8360.js +68 -0
  168. package/dist/cjs/it-ch-2b05812c.js +68 -0
  169. package/dist/cjs/ja-eb46f963.js +74 -0
  170. package/dist/cjs/ko-dbe28d19.js +74 -0
  171. package/dist/cjs/loadable-19ab5827.js +98 -0
  172. package/dist/cjs/loader-97bb6b45.js +176 -0
  173. package/dist/cjs/loader.cjs.js +5 -5
  174. package/dist/cjs/locale-3a817e03.js +1488 -0
  175. package/dist/cjs/locale-80aff4b9.js +605 -0
  176. package/dist/cjs/locale-a79da367.js +160 -0
  177. package/dist/cjs/logger-780b61e8.js +61 -0
  178. package/dist/cjs/lt-651bfa9c.js +99 -0
  179. package/dist/cjs/lv-f6fe37a3.js +68 -0
  180. package/dist/cjs/map-select-tools_3.cjs.entry.js +13 -11
  181. package/dist/cjs/mk-1f0ffdf6.js +68 -0
  182. package/dist/cjs/nb-8b7b39ed.js +69 -0
  183. package/dist/cjs/nl-27515721.js +69 -0
  184. package/dist/cjs/observers-902ebe13.js +58 -0
  185. package/dist/cjs/openCloseComponent-039ee139.js +65 -0
  186. package/dist/cjs/openCloseComponent-e8e50700.js +66 -0
  187. package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
  188. package/dist/cjs/pl-d2098514.js +116 -0
  189. package/dist/cjs/popupUtils-72d48968.js +121 -0
  190. package/dist/cjs/pt-a3304010.js +69 -0
  191. package/dist/cjs/pt-br-09d60ba8.js +67 -0
  192. package/dist/cjs/public-notification.cjs.entry.js +12 -10
  193. package/dist/cjs/publicNotificationStore-04b6837d.js +47 -0
  194. package/dist/cjs/request-19fdbaaa.js +21 -0
  195. package/dist/cjs/restHelpersGet-e4639890.js +507 -0
  196. package/dist/cjs/ro-2ea54b1c.js +68 -0
  197. package/dist/cjs/ru-f94ee202.js +128 -0
  198. package/dist/cjs/shared-list-render-fb08b2af.js +361 -0
  199. package/dist/cjs/sk-3cdf67d8.js +150 -0
  200. package/dist/cjs/sl-075daf42.js +170 -0
  201. package/dist/cjs/solution-configuration.cjs.entry.js +53 -53
  202. package/dist/cjs/solution-contents_3.cjs.entry.js +11 -11
  203. package/dist/cjs/solution-item-accordion.cjs.entry.js +3 -3
  204. package/dist/cjs/solution-item-icon.cjs.entry.js +2 -2
  205. package/dist/cjs/solution-resource-d0a2f7fe.js +1845 -0
  206. package/dist/cjs/solution-store-4e602251.js +1105 -0
  207. package/dist/cjs/solutions-components.cjs.js +6 -6
  208. package/dist/cjs/spatial-ref.cjs.entry.js +5 -6
  209. package/dist/cjs/sr-2f08967b.js +103 -0
  210. package/dist/cjs/store-manager.cjs.entry.js +7 -7
  211. package/dist/cjs/sv-65f0e21c.js +73 -0
  212. package/dist/cjs/t9n-0195f685.js +108 -0
  213. package/dist/cjs/templates-1e84847a.js +407 -0
  214. package/dist/cjs/th-db63e592.js +67 -0
  215. package/dist/cjs/time-caa0abbe.js +301 -0
  216. package/dist/cjs/tr-b6401cac.js +68 -0
  217. package/dist/cjs/typeof-2a7e2dec.js +28 -0
  218. package/dist/cjs/uk-d00c351d.js +106 -0
  219. package/dist/cjs/update-243ea407.js +783 -0
  220. package/dist/cjs/utils-7eb34f90.js +153 -0
  221. package/dist/cjs/utils-d2bcba4f.js +79 -0
  222. package/dist/cjs/vi-efe4ad72.js +72 -0
  223. package/dist/cjs/zh-cn-63f07390.js +96 -0
  224. package/dist/cjs/zh-hk-84a86ab9.js +94 -0
  225. package/dist/cjs/zh-tw-894f1adf.js +94 -0
  226. package/dist/collection/assets/t9n/consent-manager/resources.json +3 -10
  227. package/dist/collection/assets/t9n/consent-manager/resources_en.json +3 -10
  228. package/dist/collection/collection-manifest.json +2 -4
  229. package/dist/collection/components/basemap-gallery/basemap-gallery.js +1 -1
  230. package/dist/collection/components/buffer-tools/buffer-tools.js +1 -1
  231. package/dist/collection/components/card-manager/card-manager.js +1 -1
  232. package/dist/collection/components/consent-manager/consent-manager.js +116 -40
  233. package/dist/collection/components/create-feature/create-feature.js +2 -2
  234. package/dist/collection/components/create-related-feature/create-related-feature.js +1 -1
  235. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
  236. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +3 -3
  237. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
  238. package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
  239. package/dist/collection/components/delete-button/delete-button.js +2 -2
  240. package/dist/collection/components/delete-dialog/delete-dialog.js +1 -1
  241. package/dist/collection/components/edit-card/edit-card.js +26 -2
  242. package/dist/collection/components/feature-details/feature-details.js +6 -6
  243. package/dist/collection/components/feature-list/feature-list.js +3 -3
  244. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  245. package/dist/collection/components/info-card/info-card.js +2 -2
  246. package/dist/collection/components/json-editor/json-editor.js +1 -1
  247. package/dist/collection/components/layer-table/layer-table.js +224 -47
  248. package/dist/collection/components/map-card/map-card.js +2 -2
  249. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  250. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  251. package/dist/collection/components/map-layer-picker/map-layer-picker.js +121 -5
  252. package/dist/collection/components/map-legend/map-legend.js +1 -1
  253. package/dist/collection/components/map-picker/map-picker.js +53 -4
  254. package/dist/collection/components/map-search/map-search.js +1 -1
  255. package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
  256. package/dist/collection/components/map-tools/map-tools.js +2 -2
  257. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  258. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  259. package/dist/collection/components/public-notification/public-notification.js +2 -2
  260. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  261. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  262. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  263. package/dist/collection/components/solution-item/solution-item.js +1 -1
  264. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
  265. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  266. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  267. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  268. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  269. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  270. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  271. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  272. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  273. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  274. package/dist/collection/demos/consent-manager.html +56 -0
  275. package/dist/collection/utils/interfaces.ts +14 -0
  276. package/dist/components/IdentityManager.js +6 -2154
  277. package/dist/components/asyncToGenerator.js +88 -0
  278. package/dist/components/basemap-gallery2.js +1 -1
  279. package/dist/components/buffer-tools2.js +1 -1
  280. package/dist/components/calcite-dialog.js +1 -663
  281. package/dist/components/card-manager2.js +10 -10
  282. package/dist/components/common.js +0 -1
  283. package/dist/components/consent-manager.js +8054 -204
  284. package/dist/components/create-feature2.js +2 -2
  285. package/dist/components/create-related-feature2.js +1 -1
  286. package/dist/components/crowdsource-manager.js +37 -37
  287. package/dist/components/crowdsource-reporter.js +28 -28
  288. package/dist/components/deduct-calculator2.js +1 -1
  289. package/dist/components/delete-button2.js +29 -11
  290. package/dist/components/delete-dialog2.js +33 -9
  291. package/dist/components/dialog.js +670 -0
  292. package/dist/components/downloadUtils.js +10 -26
  293. package/dist/components/edit-card2.js +7 -2
  294. package/dist/components/feature-details2.js +23 -23
  295. package/dist/components/feature-list2.js +3 -3
  296. package/dist/components/floor-filter2.js +1 -1
  297. package/dist/components/index.es.js +25 -104
  298. package/dist/components/index2.js +6 -5
  299. package/dist/components/info-card2.js +9 -9
  300. package/dist/components/json-editor2.js +1 -1
  301. package/dist/components/layer-table2.js +212 -69
  302. package/dist/components/map-card2.js +2 -2
  303. package/dist/components/map-draw-tools2.js +1 -1
  304. package/dist/components/map-fullscreen2.js +1 -1
  305. package/dist/components/map-layer-picker2.js +53 -5
  306. package/dist/components/map-legend2.js +1 -1
  307. package/dist/components/map-picker2.js +28 -3
  308. package/dist/components/map-search2.js +1 -1
  309. package/dist/components/map-select-tools2.js +1 -1
  310. package/dist/components/map-tools2.js +2 -2
  311. package/dist/components/pci-calculator.js +1 -1
  312. package/dist/components/pdf-download2.js +1 -1
  313. package/dist/components/public-notification.js +2 -2
  314. package/dist/components/refine-selection2.js +1 -1
  315. package/dist/components/restHelpersGet.js +74 -557
  316. package/dist/components/solution-configuration.js +27 -28
  317. package/dist/components/solution-contents2.js +1 -1
  318. package/dist/components/solution-item-accordion.js +1 -1
  319. package/dist/components/solution-item-details2.js +1 -1
  320. package/dist/components/solution-item-icon2.js +1 -1
  321. package/dist/components/solution-item-sharing2.js +1 -1
  322. package/dist/components/solution-item2.js +1 -1
  323. package/dist/components/solution-organization-variables2.js +1 -1
  324. package/dist/components/solution-resource-item2.js +1 -2
  325. package/dist/components/solution-resource.js +1701 -1
  326. package/dist/components/solution-spatial-ref2.js +1 -1
  327. package/dist/components/solution-store.js +36 -285
  328. package/dist/components/solution-template-data2.js +1 -1
  329. package/dist/components/solution-variables2.js +1 -1
  330. package/dist/components/spatial-ref.js +1 -1
  331. package/dist/components/templates.js +0 -1
  332. package/dist/components/typeof.js +25 -0
  333. package/dist/components/update.js +773 -0
  334. package/dist/esm/ExpandToggle-324f556e.js +108 -0
  335. package/dist/esm/FloatingArrow-cd37b366.js +46 -0
  336. package/dist/esm/Heading-b6b7a8a6.js +22 -0
  337. package/dist/esm/IdentityManager-6880e890.js +2012 -0
  338. package/dist/esm/Validation-b62abebe.js +18 -0
  339. package/dist/esm/app-globals-b6ef4076.js +65 -0
  340. package/dist/esm/ar-aa347a04.js +104 -0
  341. package/dist/esm/asyncToGenerator-96b2368d.js +88 -0
  342. package/dist/esm/basemap-gallery_7.entry.js +37 -12
  343. package/dist/esm/bg-b56e89f6.js +82 -0
  344. package/dist/esm/browser-e42b9848.js +32 -0
  345. package/dist/esm/bs-62486009.js +51 -0
  346. package/dist/esm/buffer-tools_3.entry.js +7 -7
  347. package/dist/esm/ca-db6a81f3.js +71 -0
  348. package/dist/esm/calcite-accordion_2.entry.js +6 -6
  349. package/dist/esm/calcite-action-bar.entry.js +9 -9
  350. package/dist/esm/calcite-action-group.entry.js +8 -8
  351. package/dist/esm/calcite-action-menu_2.entry.js +10 -10
  352. package/dist/esm/calcite-action-pad_2.entry.js +9 -9
  353. package/dist/esm/calcite-action_2.entry.js +14 -14
  354. package/dist/esm/calcite-alert_2.entry.js +495 -0
  355. package/dist/esm/calcite-avatar.entry.js +2 -2
  356. package/dist/esm/calcite-block-section.entry.js +7 -7
  357. package/dist/esm/calcite-block_5.entry.js +19 -19
  358. package/dist/esm/calcite-button-e86d99b3.js +279 -0
  359. package/dist/esm/calcite-button.entry.js +10 -10
  360. package/dist/esm/calcite-card-group.entry.js +5 -5
  361. package/dist/esm/calcite-card.entry.js +8 -8
  362. package/dist/esm/calcite-carousel_2.entry.js +8 -8
  363. package/dist/esm/calcite-checkbox.entry.js +7 -7
  364. package/dist/esm/calcite-chip-group.entry.js +5 -5
  365. package/dist/esm/calcite-chip_2.entry.js +10 -10
  366. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +4 -4
  367. package/dist/esm/calcite-color-picker.entry.js +8 -8
  368. package/dist/esm/calcite-combobox-item-group.entry.js +4 -4
  369. package/dist/esm/calcite-combobox_3.entry.js +68 -22
  370. package/dist/esm/calcite-date-picker-day_3.entry.js +9 -9
  371. package/dist/esm/calcite-dialog-f5f9cfea.js +5873 -0
  372. package/dist/esm/calcite-dialog.entry.js +10 -10
  373. package/dist/esm/calcite-dropdown_2.entry.js +8 -8
  374. package/dist/esm/calcite-fab.entry.js +5 -5
  375. package/dist/esm/calcite-filter_5.entry.js +8 -8
  376. package/dist/esm/calcite-flow-item_5.entry.js +1744 -0
  377. package/dist/esm/calcite-flow_4.entry.js +12 -12
  378. package/dist/esm/calcite-graph_2.entry.js +9 -9
  379. package/dist/esm/calcite-icon_2.entry.js +5 -5
  380. package/dist/esm/calcite-inline-editable.entry.js +9 -9
  381. package/dist/esm/calcite-input-1f12bce0.js +998 -0
  382. package/dist/esm/calcite-input-number.entry.js +11 -11
  383. package/dist/esm/calcite-input-text.entry.js +11 -11
  384. package/dist/esm/calcite-input-time-picker-07db9ed7.js +1867 -0
  385. package/dist/esm/calcite-input-time-picker.entry.js +15 -15
  386. package/dist/esm/calcite-input-time-zone.entry.js +10 -10
  387. package/dist/esm/calcite-input_2.entry.js +11 -11
  388. package/dist/esm/calcite-label-d80f6f1c.js +108 -0
  389. package/dist/esm/calcite-label.entry.js +3 -3
  390. package/dist/esm/calcite-link.entry.js +5 -5
  391. package/dist/esm/calcite-list-item-group.entry.js +2 -2
  392. package/dist/esm/calcite-menu-item.entry.js +7 -7
  393. package/dist/esm/calcite-menu.entry.js +7 -7
  394. package/dist/esm/calcite-meter.entry.js +7 -7
  395. package/dist/esm/calcite-modal_4.entry.js +965 -0
  396. package/dist/esm/calcite-navigation-logo.entry.js +4 -4
  397. package/dist/esm/calcite-navigation-user.entry.js +3 -3
  398. package/dist/esm/calcite-navigation.entry.js +4 -4
  399. package/dist/esm/calcite-notice-acc12411.js +258 -0
  400. package/dist/esm/calcite-notice.entry.js +9 -9
  401. package/dist/esm/calcite-option-group.entry.js +1 -1
  402. package/dist/esm/calcite-option_2.entry.js +9 -9
  403. package/dist/esm/calcite-pagination.entry.js +7 -7
  404. package/dist/esm/calcite-pick-list-group.entry.js +8 -8
  405. package/dist/esm/calcite-pick-list-item.entry.js +11 -11
  406. package/dist/esm/calcite-pick-list.entry.js +9 -9
  407. package/dist/esm/calcite-radio-button-group.entry.js +6 -6
  408. package/dist/esm/calcite-radio-button.entry.js +7 -7
  409. package/dist/esm/calcite-rating.entry.js +10 -10
  410. package/dist/esm/calcite-scrim.entry.js +6 -6
  411. package/dist/esm/calcite-segmented-control_2.entry.js +8 -8
  412. package/dist/esm/calcite-sheet.entry.js +8 -8
  413. package/dist/esm/calcite-shell-center-row.entry.js +7 -7
  414. package/dist/esm/calcite-shell-panel_14.entry.js +25 -25
  415. package/dist/esm/calcite-shell.entry.js +5 -5
  416. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  417. package/dist/esm/calcite-split-button.entry.js +4 -4
  418. package/dist/esm/calcite-stepper-item.entry.js +8 -8
  419. package/dist/esm/calcite-stepper.entry.js +6 -6
  420. package/dist/esm/calcite-switch.entry.js +7 -7
  421. package/dist/esm/calcite-table-cell_2.entry.js +8 -8
  422. package/dist/esm/calcite-table-row.entry.js +3 -3
  423. package/dist/esm/calcite-table.entry.js +7 -7
  424. package/dist/esm/calcite-text-area.entry.js +11 -11
  425. package/dist/esm/calcite-tile-group.entry.js +5 -5
  426. package/dist/esm/calcite-tile-select-group.entry.js +4 -4
  427. package/dist/esm/calcite-tile-select.entry.js +6 -6
  428. package/dist/esm/calcite-tile.entry.js +5 -5
  429. package/dist/esm/calcite-time-picker.entry.js +8 -8
  430. package/dist/esm/calcite-tip-group.entry.js +3 -3
  431. package/dist/esm/calcite-tip-manager.entry.js +9 -9
  432. package/dist/esm/calcite-tip.entry.js +10 -10
  433. package/dist/esm/calcite-tooltip.entry.js +6 -6
  434. package/dist/esm/calcite-tree_2.entry.js +6 -6
  435. package/dist/esm/card-manager_3.entry.js +194 -51
  436. package/dist/esm/common-c8dc0e85.js +35 -0
  437. package/dist/esm/conditionalSlot-2e16b206.js +51 -0
  438. package/dist/esm/config-e6645458.js +36 -0
  439. package/dist/esm/consent-manager.entry.js +7911 -42
  440. package/dist/esm/crowdsource-manager.entry.js +6 -6
  441. package/dist/esm/crowdsource-reporter.entry.js +3 -3
  442. package/dist/esm/cs-250e21c6.js +147 -0
  443. package/dist/esm/da-bab8eb4e.js +67 -0
  444. package/dist/esm/date-272939fd.js +248 -0
  445. package/dist/esm/de-808a43dc.js +91 -0
  446. package/dist/esm/de-at-9c396c81.js +90 -0
  447. package/dist/esm/de-ch-415303cf.js +90 -0
  448. package/dist/esm/deduct-calculator.entry.js +2 -2
  449. package/dist/esm/dom-66c5cd46.js +1165 -0
  450. package/dist/esm/downloadUtils-8ba094d7.js +3217 -0
  451. package/dist/esm/el-3d1eaeb8.js +66 -0
  452. package/dist/esm/en-au-e6b00a93.js +66 -0
  453. package/dist/esm/en-ca-29b94ea2.js +65 -0
  454. package/dist/esm/en-gb-09267176.js +69 -0
  455. package/dist/esm/es-95fef748.js +66 -0
  456. package/dist/esm/es-mx-9b70cfc9.js +65 -0
  457. package/dist/esm/et-08cbe214.js +92 -0
  458. package/dist/esm/feature-list.entry.js +12 -10
  459. package/dist/esm/fi-e850e58b.js +115 -0
  460. package/dist/esm/floating-ui-1a431a21.js +2404 -0
  461. package/dist/esm/focusTrapComponent-e80b8863.js +1008 -0
  462. package/dist/esm/form-1528db83.js +362 -0
  463. package/dist/esm/form-99398da6.js +372 -0
  464. package/dist/esm/fr-c71b6844.js +68 -0
  465. package/dist/esm/fr-ch-7ac7a7eb.js +66 -0
  466. package/dist/esm/he-311cb5ba.js +105 -0
  467. package/dist/esm/helpers-f52a734a.js +913 -0
  468. package/dist/esm/hi-c41f0938.js +65 -0
  469. package/dist/esm/hr-f42cc721.js +80 -0
  470. package/dist/esm/hu-d1d33b21.js +88 -0
  471. package/dist/esm/icon-18c0eb17.js +959 -0
  472. package/dist/esm/id-1867967d.js +66 -0
  473. package/dist/esm/index-38bde943.js +199 -0
  474. package/dist/esm/index-d233c7a2.js +1753 -0
  475. package/dist/esm/index-d88c3eb6.js +2155 -0
  476. package/dist/esm/index.es-d286eecc.js +11134 -0
  477. package/dist/esm/instant-apps-app-guide.entry.js +2 -2
  478. package/dist/esm/instant-apps-control-panel.entry.js +1 -1
  479. package/dist/esm/instant-apps-create.entry.js +2 -2
  480. package/dist/esm/instant-apps-export-views.entry.js +2 -2
  481. package/dist/esm/instant-apps-export.entry.js +2 -2
  482. package/dist/esm/instant-apps-header.entry.js +2 -2
  483. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
  484. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
  485. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
  486. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
  487. package/dist/esm/instant-apps-interactive-legend.entry.js +4 -4
  488. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +2 -2
  489. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  490. package/dist/esm/instant-apps-language-switcher.entry.js +4 -4
  491. package/dist/esm/instant-apps-language-translator.entry.js +4 -4
  492. package/dist/esm/instant-apps-measurement.entry.js +2 -2
  493. package/dist/esm/instant-apps-popover.entry.js +2 -2
  494. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  495. package/dist/esm/instant-apps-scoreboard.entry.js +2 -2
  496. package/dist/esm/instant-apps-sign-in.entry.js +2 -2
  497. package/dist/esm/instant-apps-splash.entry.js +3 -3
  498. package/dist/esm/instant-apps-time-filter.entry.js +3 -3
  499. package/dist/esm/interactive-5139f8d7.js +83 -0
  500. package/dist/esm/interactive-cad37709.js +82 -0
  501. package/dist/esm/it-6a7495d8.js +66 -0
  502. package/dist/esm/it-ch-89fa3c82.js +66 -0
  503. package/dist/esm/ja-f87a1f44.js +72 -0
  504. package/dist/esm/ko-0f4c7a11.js +72 -0
  505. package/dist/esm/label-56002f24.js +179 -0
  506. package/dist/esm/loadable-dc3f24a8.js +93 -0
  507. package/dist/esm/loader-bae2aa52.js +173 -0
  508. package/dist/esm/loader.js +6 -6
  509. package/dist/esm/locale-586d9375.js +155 -0
  510. package/dist/esm/locale-911eca09.js +591 -0
  511. package/dist/esm/locale-be7fd298.js +1423 -0
  512. package/dist/esm/logger-ff14b12f.js +59 -0
  513. package/dist/esm/lt-a4b14416.js +97 -0
  514. package/dist/esm/lv-3901862d.js +66 -0
  515. package/dist/esm/map-select-tools_3.entry.js +13 -11
  516. package/dist/esm/mk-886d280d.js +66 -0
  517. package/dist/esm/nb-b667a0e1.js +67 -0
  518. package/dist/esm/nl-d357a092.js +67 -0
  519. package/dist/esm/observers-ab3d6528.js +56 -0
  520. package/dist/esm/openCloseComponent-0e1e6768.js +64 -0
  521. package/dist/esm/openCloseComponent-c3f79463.js +63 -0
  522. package/dist/esm/pci-calculator.entry.js +2 -2
  523. package/dist/esm/pl-75d54069.js +114 -0
  524. package/dist/esm/popupUtils-ddb1f6fa.js +119 -0
  525. package/dist/esm/pt-32bd5da2.js +67 -0
  526. package/dist/esm/pt-br-6f32314d.js +65 -0
  527. package/dist/esm/public-notification.entry.js +12 -10
  528. package/dist/esm/publicNotificationStore-8b54bf6f.js +45 -0
  529. package/dist/esm/request-2dbb152a.js +19 -0
  530. package/dist/esm/restHelpersGet-a7fda344.js +493 -0
  531. package/dist/esm/ro-d238055e.js +66 -0
  532. package/dist/esm/ru-ef7165ff.js +126 -0
  533. package/dist/esm/shared-list-render-5f202c55.js +339 -0
  534. package/dist/esm/sk-959dbca1.js +148 -0
  535. package/dist/esm/sl-96436015.js +168 -0
  536. package/dist/esm/solution-configuration.entry.js +34 -34
  537. package/dist/esm/solution-contents_3.entry.js +11 -11
  538. package/dist/esm/solution-item-accordion.entry.js +3 -3
  539. package/dist/esm/solution-item-icon.entry.js +2 -2
  540. package/dist/esm/solution-resource-30a29505.js +1842 -0
  541. package/dist/esm/solution-store-f252cb74.js +1103 -0
  542. package/dist/esm/solutions-components.js +7 -7
  543. package/dist/esm/spatial-ref.entry.js +5 -6
  544. package/dist/esm/sr-73033c89.js +101 -0
  545. package/dist/esm/store-manager.entry.js +7 -7
  546. package/dist/esm/sv-b1153aa8.js +71 -0
  547. package/dist/esm/t9n-1698878e.js +103 -0
  548. package/dist/esm/templates-60f33938.js +401 -0
  549. package/dist/esm/th-e1a074e2.js +65 -0
  550. package/dist/esm/time-bca5f70b.js +286 -0
  551. package/dist/esm/tr-1350f529.js +66 -0
  552. package/dist/esm/typeof-ef2a007d.js +25 -0
  553. package/dist/esm/uk-18ded66c.js +104 -0
  554. package/dist/esm/update-ad0b88fa.js +773 -0
  555. package/dist/esm/utils-0da093e1.js +142 -0
  556. package/dist/esm/utils-30c4c8ca.js +66 -0
  557. package/dist/esm/vi-cee99413.js +70 -0
  558. package/dist/esm/zh-cn-6e204128.js +94 -0
  559. package/dist/esm/zh-hk-ffb02673.js +92 -0
  560. package/dist/esm/zh-tw-0f52dd8c.js +92 -0
  561. package/dist/solutions-components/assets/t9n/consent-manager/resources.json +3 -10
  562. package/dist/solutions-components/assets/t9n/consent-manager/resources_en.json +3 -10
  563. package/dist/solutions-components/demos/consent-manager.html +56 -0
  564. package/dist/solutions-components/p-0094924f.entry.js +6 -0
  565. package/dist/solutions-components/p-00ea0ccc.entry.js +11 -0
  566. package/dist/solutions-components/p-018d1f95.entry.js +6 -0
  567. package/dist/solutions-components/p-025af0b3.entry.js +21 -0
  568. package/dist/solutions-components/p-0549a65c.js +6 -0
  569. package/dist/solutions-components/p-058d0542.js +17 -0
  570. package/dist/solutions-components/p-0668e30d.js +34 -0
  571. package/dist/solutions-components/p-066fc169.js +6 -0
  572. package/dist/solutions-components/p-067e36b2.entry.js +6 -0
  573. package/dist/solutions-components/p-0681b29b.entry.js +11 -0
  574. package/dist/solutions-components/p-0691d1af.entry.js +22 -0
  575. package/dist/solutions-components/p-088a5dca.js +67 -0
  576. package/dist/solutions-components/p-097b80df.js +6 -0
  577. package/dist/solutions-components/p-0a0902c4.entry.js +6 -0
  578. package/dist/solutions-components/p-0a71f549.entry.js +29 -0
  579. package/dist/solutions-components/p-0ac9cc4a.entry.js +21 -0
  580. package/dist/solutions-components/p-0b1fb6ae.js +36 -0
  581. package/dist/solutions-components/p-0d82ed7b.entry.js +11 -0
  582. package/dist/solutions-components/p-0e307601.entry.js +11 -0
  583. package/dist/solutions-components/p-0ece17fc.entry.js +6 -0
  584. package/dist/solutions-components/p-0f58bb3a.entry.js +11 -0
  585. package/dist/solutions-components/p-0f9f7528.entry.js +11 -0
  586. package/dist/solutions-components/p-135b2aba.js +16 -0
  587. package/dist/solutions-components/p-13bdb2c0.js +6 -0
  588. package/dist/solutions-components/p-14519a8a.entry.js +11 -0
  589. package/dist/solutions-components/p-1492bb6d.js +6 -0
  590. package/dist/solutions-components/p-1664573a.entry.js +6 -0
  591. package/dist/solutions-components/p-1900f9b1.js +11 -0
  592. package/dist/solutions-components/p-1984f2c7.entry.js +17 -0
  593. package/dist/solutions-components/p-1c1842b0.entry.js +6 -0
  594. package/dist/solutions-components/p-1f9d927b.entry.js +6 -0
  595. package/dist/solutions-components/p-1fb3756b.js +6 -0
  596. package/dist/solutions-components/p-208b5cc4.entry.js +6 -0
  597. package/dist/solutions-components/p-20cda8ef.entry.js +6 -0
  598. package/dist/solutions-components/p-2130a063.entry.js +17 -0
  599. package/dist/solutions-components/p-21f90019.js +21 -0
  600. package/dist/solutions-components/p-230f7315.entry.js +6 -0
  601. package/dist/solutions-components/p-24b42859.entry.js +47 -0
  602. package/dist/solutions-components/p-26f9f9c8.js +11 -0
  603. package/dist/solutions-components/p-270ca219.entry.js +6 -0
  604. package/dist/solutions-components/p-27a91364.entry.js +17 -0
  605. package/dist/solutions-components/p-28498868.entry.js +11 -0
  606. package/dist/solutions-components/p-2a5a5bfd.entry.js +11 -0
  607. package/dist/solutions-components/p-2ac553f6.js +6 -0
  608. package/dist/solutions-components/p-2b004a83.entry.js +11 -0
  609. package/dist/solutions-components/p-2b1e6acb.entry.js +6 -0
  610. package/dist/solutions-components/p-2bc98cb0.js +30 -0
  611. package/dist/solutions-components/p-2d96fdb9.js +6 -0
  612. package/dist/solutions-components/p-2dd8e49c.js +11 -0
  613. package/dist/solutions-components/p-30a16b7e.entry.js +11 -0
  614. package/dist/solutions-components/p-3212300b.entry.js +6 -0
  615. package/dist/solutions-components/p-35245316.entry.js +6 -0
  616. package/dist/solutions-components/p-3643a87a.entry.js +6 -0
  617. package/dist/solutions-components/p-3708cbdc.entry.js +6 -0
  618. package/dist/solutions-components/p-3828e77b.js +11 -0
  619. package/dist/solutions-components/p-38e0f88b.js +17 -0
  620. package/dist/solutions-components/p-3b3bfba5.entry.js +6 -0
  621. package/dist/solutions-components/p-3ba80c7c.js +6 -0
  622. package/dist/solutions-components/p-3d1f0434.js +21 -0
  623. package/dist/solutions-components/p-3ffc4738.js +6 -0
  624. package/dist/solutions-components/p-409401ce.js +11 -0
  625. package/dist/solutions-components/p-46159285.js +6 -0
  626. package/dist/solutions-components/p-49a67314.entry.js +6 -0
  627. package/dist/solutions-components/p-4cbdea35.js +129 -0
  628. package/dist/solutions-components/p-4dfc2fc4.js +11 -0
  629. package/dist/solutions-components/p-4f236b5d.js +43 -0
  630. package/dist/solutions-components/p-4f50385f.js +16 -0
  631. package/dist/solutions-components/p-4fe489cf.js +6 -0
  632. package/dist/solutions-components/p-50239e15.entry.js +6 -0
  633. package/dist/solutions-components/p-531f66c7.entry.js +6 -0
  634. package/dist/solutions-components/p-570754a4.js +6 -0
  635. package/dist/solutions-components/p-570b13d9.js +67 -0
  636. package/dist/solutions-components/p-58d53a46.entry.js +6 -0
  637. package/dist/solutions-components/p-59970898.js +6 -0
  638. package/dist/solutions-components/p-59d02697.entry.js +11 -0
  639. package/dist/solutions-components/p-5b2ae6c4.js +6 -0
  640. package/dist/solutions-components/p-5b9783e6.entry.js +23 -0
  641. package/dist/solutions-components/p-5c5cbe3c.js +6 -0
  642. package/dist/solutions-components/p-5c692ed6.entry.js +11 -0
  643. package/dist/solutions-components/p-5cfa35f8.js +6 -0
  644. package/dist/solutions-components/p-5d581b7e.entry.js +6 -0
  645. package/dist/solutions-components/p-5df09fe4.js +31 -0
  646. package/dist/solutions-components/p-5ee359f1.entry.js +11 -0
  647. package/dist/solutions-components/p-5f099cd2.js +6 -0
  648. package/dist/solutions-components/p-60123545.js +6 -0
  649. package/dist/solutions-components/p-6148468f.js +11 -0
  650. package/dist/solutions-components/p-617d2160.js +6 -0
  651. package/dist/solutions-components/p-619a1ad0.js +6 -0
  652. package/dist/solutions-components/p-61d2582e.entry.js +6 -0
  653. package/dist/solutions-components/p-662cf7fa.entry.js +11 -0
  654. package/dist/solutions-components/p-6708060e.js +11 -0
  655. package/dist/solutions-components/p-676a2d60.entry.js +6 -0
  656. package/dist/solutions-components/p-68b5ec37.js +11 -0
  657. package/dist/solutions-components/p-68cf5134.entry.js +12 -0
  658. package/dist/solutions-components/p-694cfe4c.js +6 -0
  659. package/dist/solutions-components/p-6bcde3c4.js +6 -0
  660. package/dist/solutions-components/p-6c73f067.js +16 -0
  661. package/dist/solutions-components/p-6d56f75e.js +11 -0
  662. package/dist/solutions-components/p-6db88e16.entry.js +11 -0
  663. package/dist/solutions-components/p-6f93ec3e.entry.js +6 -0
  664. package/dist/solutions-components/p-7053b20e.entry.js +6 -0
  665. package/dist/solutions-components/p-741151d4.js +6 -0
  666. package/dist/solutions-components/p-749fe711.js +6 -0
  667. package/dist/solutions-components/p-7518e92a.js +6 -0
  668. package/dist/solutions-components/p-7802efa1.entry.js +11 -0
  669. package/dist/solutions-components/p-782c71a7.js +6 -0
  670. package/dist/solutions-components/p-78aa10b0.js +6 -0
  671. package/dist/solutions-components/p-7a8edc01.entry.js +11 -0
  672. package/dist/solutions-components/p-7a9e773b.js +6 -0
  673. package/dist/solutions-components/p-7aa5b402.entry.js +11 -0
  674. package/dist/solutions-components/p-7aafba66.js +11 -0
  675. package/dist/solutions-components/p-7d619b04.entry.js +11 -0
  676. package/dist/solutions-components/p-7dc37540.js +11 -0
  677. package/dist/solutions-components/p-7e3a6a0b.entry.js +11 -0
  678. package/dist/solutions-components/p-7fd55161.entry.js +6 -0
  679. package/dist/solutions-components/p-80168ff4.entry.js +11 -0
  680. package/dist/solutions-components/p-823684a3.js +6 -0
  681. package/dist/solutions-components/p-825ef4a7.js +6 -0
  682. package/dist/solutions-components/p-82d93164.js +11 -0
  683. package/dist/solutions-components/p-82f661c7.entry.js +11 -0
  684. package/dist/solutions-components/p-8378852e.js +6 -0
  685. package/dist/solutions-components/p-85bb5908.js +11 -0
  686. package/dist/solutions-components/p-866a2fad.js +11 -0
  687. package/dist/solutions-components/p-8744fe2a.entry.js +6 -0
  688. package/dist/solutions-components/p-8850bd21.js +21 -0
  689. package/dist/solutions-components/p-896a5fce.entry.js +11 -0
  690. package/dist/solutions-components/p-8df5939f.js +6 -0
  691. package/dist/solutions-components/p-8ec56f08.entry.js +11 -0
  692. package/dist/solutions-components/p-8ff2cba2.entry.js +11 -0
  693. package/dist/solutions-components/p-8ff4b2aa.js +488 -0
  694. package/dist/solutions-components/p-94ad391c.js +40 -0
  695. package/dist/solutions-components/p-958c68c2.js +61 -0
  696. package/dist/solutions-components/p-95fcb607.js +6 -0
  697. package/dist/solutions-components/p-97df5300.js +27 -0
  698. package/dist/solutions-components/p-98079396.js +21 -0
  699. package/dist/solutions-components/p-98b1c057.entry.js +6 -0
  700. package/dist/solutions-components/p-9d4f62ca.js +6 -0
  701. package/dist/solutions-components/p-9d733373.entry.js +17 -0
  702. package/dist/solutions-components/p-9d9df87f.entry.js +6 -0
  703. package/dist/solutions-components/p-9e5d59aa.entry.js +11 -0
  704. package/dist/solutions-components/p-9f89901b.entry.js +6 -0
  705. package/dist/solutions-components/p-9fa8da35.entry.js +11 -0
  706. package/dist/solutions-components/p-a28502ac.entry.js +6 -0
  707. package/dist/solutions-components/p-a5df8093.entry.js +11 -0
  708. package/dist/solutions-components/p-a757bf75.js +16 -0
  709. package/dist/solutions-components/p-a7eded8f.entry.js +11 -0
  710. package/dist/solutions-components/p-a91fc014.entry.js +6 -0
  711. package/dist/solutions-components/p-aa6656f0.js +6 -0
  712. package/dist/solutions-components/p-abe60b81.entry.js +6 -0
  713. package/dist/solutions-components/p-ad66b010.entry.js +11 -0
  714. package/dist/solutions-components/p-adb57e25.entry.js +6 -0
  715. package/dist/solutions-components/p-add122e7.js +6 -0
  716. package/dist/solutions-components/p-ae357552.entry.js +11 -0
  717. package/dist/solutions-components/p-af4f2d4a.js +11 -0
  718. package/dist/solutions-components/p-b0d0022c.entry.js +11 -0
  719. package/dist/solutions-components/p-b14d2423.entry.js +11 -0
  720. package/dist/solutions-components/p-b1546c15.js +17 -0
  721. package/dist/solutions-components/p-b1c45ef8.entry.js +6 -0
  722. package/dist/solutions-components/p-b1f3c713.js +6 -0
  723. package/dist/solutions-components/p-b22046db.js +11 -0
  724. package/dist/solutions-components/p-b290affa.js +17 -0
  725. package/dist/solutions-components/p-b3b70f6b.entry.js +12 -0
  726. package/dist/solutions-components/p-b4a94ffe.entry.js +6 -0
  727. package/dist/solutions-components/p-b62871c3.entry.js +11 -0
  728. package/dist/solutions-components/p-b6a36bfe.js +6 -0
  729. package/dist/solutions-components/p-b915029b.js +6 -0
  730. package/dist/solutions-components/p-b98e9479.js +11 -0
  731. package/dist/solutions-components/p-b9bc3e7b.entry.js +17 -0
  732. package/dist/solutions-components/p-ba539e5a.entry.js +11 -0
  733. package/dist/solutions-components/p-bad614c0.entry.js +11 -0
  734. package/dist/solutions-components/p-bb158785.entry.js +11 -0
  735. package/dist/solutions-components/p-bc281e3b.js +6 -0
  736. package/dist/solutions-components/p-bc2b747e.js +6 -0
  737. package/dist/solutions-components/p-be78bc15.entry.js +6 -0
  738. package/dist/solutions-components/p-bf154e41.js +6 -0
  739. package/dist/solutions-components/p-c109e720.js +6 -0
  740. package/dist/solutions-components/p-c115215d.entry.js +6 -0
  741. package/dist/solutions-components/p-c433cc38.js +6 -0
  742. package/dist/solutions-components/p-c43fdf49.entry.js +16 -0
  743. package/dist/solutions-components/p-c5e0e5ef.js +6 -0
  744. package/dist/solutions-components/p-c766823c.entry.js +11 -0
  745. package/dist/solutions-components/p-c8a2c326.entry.js +29 -0
  746. package/dist/solutions-components/p-c8b26c56.js +6 -0
  747. package/dist/solutions-components/p-c900e9e8.entry.js +17 -0
  748. package/dist/solutions-components/p-c9dae6fb.entry.js +6 -0
  749. package/dist/solutions-components/p-cbf0769a.entry.js +11 -0
  750. package/dist/solutions-components/p-cc7d784e.entry.js +6 -0
  751. package/dist/solutions-components/p-ce8a69ef.entry.js +11 -0
  752. package/dist/solutions-components/p-cea51591.js +16 -0
  753. package/dist/solutions-components/p-d0b1d33f.js +6 -0
  754. package/dist/solutions-components/p-d0b36f2e.entry.js +6 -0
  755. package/dist/solutions-components/p-d2a6e970.js +6 -0
  756. package/dist/solutions-components/p-d2dc7d65.entry.js +11 -0
  757. package/dist/solutions-components/p-d60dc1f1.entry.js +11 -0
  758. package/dist/solutions-components/p-d654b676.entry.js +11 -0
  759. package/dist/solutions-components/p-d65f8b73.js +6 -0
  760. package/dist/solutions-components/p-d82ee2f9.entry.js +6 -0
  761. package/dist/solutions-components/p-d96fe526.entry.js +22 -0
  762. package/dist/solutions-components/p-da0cb140.entry.js +11 -0
  763. package/dist/solutions-components/p-da36faca.entry.js +6 -0
  764. package/dist/solutions-components/p-daf6a012.entry.js +6 -0
  765. package/dist/solutions-components/p-dba4704c.js +11 -0
  766. package/dist/solutions-components/p-dd16d94e.js +6 -0
  767. package/dist/solutions-components/p-dd689226.js +11 -0
  768. package/dist/solutions-components/p-dd6a34c6.entry.js +17 -0
  769. package/dist/solutions-components/p-df4bfe45.js +6 -0
  770. package/dist/solutions-components/p-dfe18931.js +6 -0
  771. package/dist/solutions-components/p-e2570a80.js +11 -0
  772. package/dist/solutions-components/p-ea9e0a79.js +6 -0
  773. package/dist/solutions-components/p-eb88fddc.js +6 -0
  774. package/dist/solutions-components/p-ed4fb4a1.entry.js +6 -0
  775. package/dist/solutions-components/p-ef0c43dc.js +6 -0
  776. package/dist/solutions-components/p-f05bbd82.entry.js +11 -0
  777. package/dist/solutions-components/p-f0ceb675.entry.js +11 -0
  778. package/dist/solutions-components/p-f1f356f0.js +7 -0
  779. package/dist/solutions-components/p-f46f7da7.entry.js +12 -0
  780. package/dist/solutions-components/p-f6e3d19a.entry.js +11 -0
  781. package/dist/solutions-components/p-f6e81cf8.js +22 -0
  782. package/dist/solutions-components/p-f7085e9e.entry.js +17 -0
  783. package/dist/solutions-components/p-f8ea8e73.js +6 -0
  784. package/dist/solutions-components/p-fb6ca6dd.entry.js +11 -0
  785. package/dist/solutions-components/p-fdaf1290.entry.js +11 -0
  786. package/dist/solutions-components/p-fe719f16.entry.js +6 -0
  787. package/dist/solutions-components/p-feebdac9.entry.js +17 -0
  788. package/dist/solutions-components/p-ff15447c.entry.js +6 -0
  789. package/dist/solutions-components/solutions-components.esm.js +1 -1
  790. package/dist/solutions-components/utils/interfaces.ts +14 -0
  791. package/dist/types/components/consent-manager/consent-manager.d.ts +24 -21
  792. package/dist/types/components/delete-button/delete-button.d.ts +1 -1
  793. package/dist/types/components/edit-card/edit-card.d.ts +4 -0
  794. package/dist/types/components/layer-table/layer-table.d.ts +55 -7
  795. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +18 -2
  796. package/dist/types/components/map-picker/map-picker.d.ts +10 -2
  797. package/dist/types/components.d.ts +69 -36
  798. package/dist/types/preact.d.ts +6 -7
  799. package/dist/types/stencil-public-runtime.d.ts +6 -0
  800. package/dist/types/utils/interfaces.d.ts +12 -0
  801. package/package.json +10 -10
  802. package/dist/cjs/ExpandToggle-7cd6bc0d.js +0 -115
  803. package/dist/cjs/FloatingArrow-bf91ebb1.js +0 -48
  804. package/dist/cjs/Heading-ae667128.js +0 -25
  805. package/dist/cjs/IdentityManager-b7fa2f5f.js +0 -4174
  806. package/dist/cjs/Validation-a206c7a2.js +0 -20
  807. package/dist/cjs/app-globals-04574c64.js +0 -67
  808. package/dist/cjs/ar-c930d85d.js +0 -106
  809. package/dist/cjs/arcgis-login.cjs.entry.js +0 -61
  810. package/dist/cjs/bg-a2001c61.js +0 -84
  811. package/dist/cjs/browser-040b13db.js +0 -35
  812. package/dist/cjs/bs-5576dc1b.js +0 -53
  813. package/dist/cjs/ca-220471e9.js +0 -73
  814. package/dist/cjs/calcite-alert_6.cjs.entry.js +0 -2105
  815. package/dist/cjs/calcite-button-ac4b979a.js +0 -281
  816. package/dist/cjs/calcite-dialog-97f38598.js +0 -5875
  817. package/dist/cjs/calcite-input-0ecf3d60.js +0 -1000
  818. package/dist/cjs/calcite-input-time-picker-4020e170.js +0 -1870
  819. package/dist/cjs/calcite-label-8ca1fbce.js +0 -110
  820. package/dist/cjs/calcite-modal.cjs.entry.js +0 -393
  821. package/dist/cjs/calcite-notice-2e248d8d.js +0 -260
  822. package/dist/cjs/common-eee0c33f.js +0 -38
  823. package/dist/cjs/conditionalSlot-489d0ef0.js +0 -54
  824. package/dist/cjs/config-164bf148.js +0 -40
  825. package/dist/cjs/cs-a049b34a.js +0 -149
  826. package/dist/cjs/da-d71057be.js +0 -69
  827. package/dist/cjs/date-831e93f2.js +0 -264
  828. package/dist/cjs/de-at-977ab186.js +0 -92
  829. package/dist/cjs/de-b1eb21d0.js +0 -93
  830. package/dist/cjs/de-ch-486d1e5d.js +0 -92
  831. package/dist/cjs/delete-dialog.cjs.entry.js +0 -131
  832. package/dist/cjs/downloadUtils-f50841bc.js +0 -3240
  833. package/dist/cjs/el-577ee36f.js +0 -68
  834. package/dist/cjs/en-au-e7c3a0f9.js +0 -68
  835. package/dist/cjs/en-ca-111580b6.js +0 -67
  836. package/dist/cjs/en-gb-b061a0ac.js +0 -71
  837. package/dist/cjs/es-ae90d3b8.js +0 -68
  838. package/dist/cjs/es-mx-620f2f82.js +0 -67
  839. package/dist/cjs/et-3b0bd1a9.js +0 -94
  840. package/dist/cjs/fi-8708148b.js +0 -117
  841. package/dist/cjs/floating-ui-a1745c4c.js +0 -2413
  842. package/dist/cjs/focusTrapComponent-59e1194f.js +0 -1013
  843. package/dist/cjs/form-3666a51b.js +0 -370
  844. package/dist/cjs/form-a2adec8c.js +0 -381
  845. package/dist/cjs/fr-9a9d3ce3.js +0 -70
  846. package/dist/cjs/fr-ch-95662c01.js +0 -68
  847. package/dist/cjs/he-f973a740.js +0 -107
  848. package/dist/cjs/helpers-292a0709.js +0 -940
  849. package/dist/cjs/hi-f0b9cea5.js +0 -67
  850. package/dist/cjs/hr-4654706f.js +0 -82
  851. package/dist/cjs/hu-bc3d5588.js +0 -90
  852. package/dist/cjs/icon-96d27ae8.js +0 -979
  853. package/dist/cjs/id-1131b8da.js +0 -68
  854. package/dist/cjs/index-29826564.js +0 -201
  855. package/dist/cjs/index-92385c74.js +0 -1772
  856. package/dist/cjs/index-f052f656.js +0 -2156
  857. package/dist/cjs/index.es-b8c8c931.js +0 -11307
  858. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +0 -590
  859. package/dist/cjs/interactive-9f715ff8.js +0 -86
  860. package/dist/cjs/interactive-c384fd9b.js +0 -85
  861. package/dist/cjs/it-7a8ec220.js +0 -68
  862. package/dist/cjs/it-ch-f9cb696d.js +0 -68
  863. package/dist/cjs/ja-45b4845d.js +0 -74
  864. package/dist/cjs/ko-61449645.js +0 -74
  865. package/dist/cjs/loadable-9cb8a3cd.js +0 -98
  866. package/dist/cjs/loader-b9aa1d67.js +0 -176
  867. package/dist/cjs/locale-a0772a2b.js +0 -605
  868. package/dist/cjs/locale-afa30303.js +0 -160
  869. package/dist/cjs/locale-f6e0493d.js +0 -1488
  870. package/dist/cjs/logger-e5bdc044.js +0 -61
  871. package/dist/cjs/lt-2e727f9c.js +0 -99
  872. package/dist/cjs/lv-ed202e00.js +0 -68
  873. package/dist/cjs/mk-418a9e03.js +0 -68
  874. package/dist/cjs/nb-333e1c58.js +0 -69
  875. package/dist/cjs/nl-da937865.js +0 -69
  876. package/dist/cjs/observers-ce262300.js +0 -58
  877. package/dist/cjs/openCloseComponent-214808b0.js +0 -66
  878. package/dist/cjs/openCloseComponent-c0b7af22.js +0 -65
  879. package/dist/cjs/pl-cbe57516.js +0 -116
  880. package/dist/cjs/popupUtils-2a425c37.js +0 -121
  881. package/dist/cjs/pt-b1ec4928.js +0 -69
  882. package/dist/cjs/pt-br-e395a325.js +0 -67
  883. package/dist/cjs/publicNotificationStore-1d934df9.js +0 -47
  884. package/dist/cjs/request-9f87ab34.js +0 -21
  885. package/dist/cjs/restHelpersGet-5c2245a3.js +0 -991
  886. package/dist/cjs/ro-144b5f62.js +0 -68
  887. package/dist/cjs/ru-bf7d1a3e.js +0 -128
  888. package/dist/cjs/share-item.cjs.entry.js +0 -61
  889. package/dist/cjs/shared-list-render-0b452799.js +0 -361
  890. package/dist/cjs/sk-515227a5.js +0 -150
  891. package/dist/cjs/sl-f879b07d.js +0 -170
  892. package/dist/cjs/solution-resource-40e70253.js +0 -145
  893. package/dist/cjs/solution-store-f3257490.js +0 -1354
  894. package/dist/cjs/sr-0510fba6.js +0 -103
  895. package/dist/cjs/sv-c5fbe1ff.js +0 -73
  896. package/dist/cjs/t9n-e69b3d42.js +0 -108
  897. package/dist/cjs/templates-0b7f886f.js +0 -408
  898. package/dist/cjs/th-8cafcb47.js +0 -67
  899. package/dist/cjs/time-ceec376d.js +0 -301
  900. package/dist/cjs/tr-7f905223.js +0 -68
  901. package/dist/cjs/uk-991e83da.js +0 -106
  902. package/dist/cjs/utils-d8dabd76.js +0 -153
  903. package/dist/cjs/utils-e60dc760.js +0 -79
  904. package/dist/cjs/vi-d5eababe.js +0 -72
  905. package/dist/cjs/zh-cn-e6bc2622.js +0 -96
  906. package/dist/cjs/zh-hk-30480131.js +0 -94
  907. package/dist/cjs/zh-tw-1f3b4cda.js +0 -94
  908. package/dist/collection/components/arcgis-login/arcgis-login.css +0 -19
  909. package/dist/collection/components/arcgis-login/arcgis-login.js +0 -80
  910. package/dist/collection/components/share-item/share-item.css +0 -19
  911. package/dist/collection/components/share-item/share-item.js +0 -80
  912. package/dist/components/arcgis-login.d.ts +0 -11
  913. package/dist/components/arcgis-login.js +0 -76
  914. package/dist/components/share-item.d.ts +0 -11
  915. package/dist/components/share-item.js +0 -76
  916. package/dist/esm/ExpandToggle-51a5210b.js +0 -108
  917. package/dist/esm/FloatingArrow-41be757a.js +0 -46
  918. package/dist/esm/Heading-62ae5a41.js +0 -22
  919. package/dist/esm/IdentityManager-28f1ebb3.js +0 -4139
  920. package/dist/esm/Validation-e4b3bd31.js +0 -18
  921. package/dist/esm/app-globals-9df1c281.js +0 -65
  922. package/dist/esm/ar-000d3816.js +0 -104
  923. package/dist/esm/arcgis-login.entry.js +0 -57
  924. package/dist/esm/bg-50ceeb3e.js +0 -82
  925. package/dist/esm/browser-13cd5e9f.js +0 -32
  926. package/dist/esm/bs-8de5a54e.js +0 -51
  927. package/dist/esm/ca-3b560649.js +0 -71
  928. package/dist/esm/calcite-alert_6.entry.js +0 -2096
  929. package/dist/esm/calcite-button-3501ac03.js +0 -278
  930. package/dist/esm/calcite-dialog-21f00586.js +0 -5872
  931. package/dist/esm/calcite-input-355d3812.js +0 -997
  932. package/dist/esm/calcite-input-time-picker-0137aecc.js +0 -1867
  933. package/dist/esm/calcite-label-ac4a2e81.js +0 -107
  934. package/dist/esm/calcite-modal.entry.js +0 -389
  935. package/dist/esm/calcite-notice-56c3f190.js +0 -257
  936. package/dist/esm/common-c3bbba83.js +0 -36
  937. package/dist/esm/conditionalSlot-3eb5090f.js +0 -51
  938. package/dist/esm/config-1d142af8.js +0 -36
  939. package/dist/esm/cs-5cdc1d3f.js +0 -147
  940. package/dist/esm/da-30365c90.js +0 -67
  941. package/dist/esm/date-ac9ec758.js +0 -248
  942. package/dist/esm/de-at-941b583e.js +0 -90
  943. package/dist/esm/de-b89def95.js +0 -91
  944. package/dist/esm/de-ch-568c0c8e.js +0 -90
  945. package/dist/esm/delete-dialog.entry.js +0 -127
  946. package/dist/esm/dom-6f6759df.js +0 -1165
  947. package/dist/esm/downloadUtils-74a6bad9.js +0 -3233
  948. package/dist/esm/el-340bad09.js +0 -66
  949. package/dist/esm/en-au-b4bdb56c.js +0 -66
  950. package/dist/esm/en-ca-0a08923c.js +0 -65
  951. package/dist/esm/en-gb-f5381626.js +0 -69
  952. package/dist/esm/es-876b0a13.js +0 -66
  953. package/dist/esm/es-mx-955bc6a1.js +0 -65
  954. package/dist/esm/et-c76bc3b6.js +0 -92
  955. package/dist/esm/fi-52e100ba.js +0 -115
  956. package/dist/esm/floating-ui-5be07261.js +0 -2404
  957. package/dist/esm/focusTrapComponent-821ef6e1.js +0 -1008
  958. package/dist/esm/form-df6403ca.js +0 -362
  959. package/dist/esm/form-fbc745ea.js +0 -372
  960. package/dist/esm/fr-0699e247.js +0 -68
  961. package/dist/esm/fr-ch-c58b9b94.js +0 -66
  962. package/dist/esm/he-68c61be9.js +0 -105
  963. package/dist/esm/helpers-50d61130.js +0 -913
  964. package/dist/esm/hi-32cfce47.js +0 -65
  965. package/dist/esm/hr-962d1e56.js +0 -80
  966. package/dist/esm/hu-d13da86a.js +0 -88
  967. package/dist/esm/icon-3fb97c97.js +0 -959
  968. package/dist/esm/id-6de1980b.js +0 -66
  969. package/dist/esm/index-1b6f06f9.js +0 -199
  970. package/dist/esm/index-3eee2657.js +0 -1736
  971. package/dist/esm/index-e14fade9.js +0 -2154
  972. package/dist/esm/index.es-3b04354a.js +0 -11220
  973. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +0 -584
  974. package/dist/esm/interactive-62057336.js +0 -82
  975. package/dist/esm/interactive-8a35f349.js +0 -83
  976. package/dist/esm/it-cccb6e82.js +0 -66
  977. package/dist/esm/it-ch-9d87107f.js +0 -66
  978. package/dist/esm/ja-1401a8ec.js +0 -72
  979. package/dist/esm/ko-9f06170e.js +0 -72
  980. package/dist/esm/label-1ef4763d.js +0 -179
  981. package/dist/esm/loadable-bbec26c5.js +0 -93
  982. package/dist/esm/loader-6a8f3dda.js +0 -173
  983. package/dist/esm/locale-22b2e8b1.js +0 -155
  984. package/dist/esm/locale-92d419e3.js +0 -1423
  985. package/dist/esm/locale-9f52f113.js +0 -591
  986. package/dist/esm/logger-5eff868b.js +0 -59
  987. package/dist/esm/lt-61945627.js +0 -97
  988. package/dist/esm/lv-def8646d.js +0 -66
  989. package/dist/esm/mk-db09f1f6.js +0 -66
  990. package/dist/esm/nb-ea4966a3.js +0 -67
  991. package/dist/esm/nl-159f195e.js +0 -67
  992. package/dist/esm/observers-4e931eb6.js +0 -56
  993. package/dist/esm/openCloseComponent-2022c9ab.js +0 -64
  994. package/dist/esm/openCloseComponent-9ae0e1fe.js +0 -63
  995. package/dist/esm/pl-5514150f.js +0 -114
  996. package/dist/esm/popupUtils-685635b7.js +0 -119
  997. package/dist/esm/pt-91415524.js +0 -67
  998. package/dist/esm/pt-br-0f472af4.js +0 -65
  999. package/dist/esm/publicNotificationStore-836d3cb4.js +0 -45
  1000. package/dist/esm/request-d71d6adf.js +0 -19
  1001. package/dist/esm/restHelpersGet-48113381.js +0 -976
  1002. package/dist/esm/ro-decfcb47.js +0 -66
  1003. package/dist/esm/ru-84ce786d.js +0 -126
  1004. package/dist/esm/share-item.entry.js +0 -57
  1005. package/dist/esm/shared-list-render-4dbefca0.js +0 -339
  1006. package/dist/esm/sk-4468c163.js +0 -148
  1007. package/dist/esm/sl-404f285f.js +0 -168
  1008. package/dist/esm/solution-resource-f5809979.js +0 -142
  1009. package/dist/esm/solution-store-5b79fffe.js +0 -1352
  1010. package/dist/esm/sr-152d8bf8.js +0 -101
  1011. package/dist/esm/sv-47115030.js +0 -71
  1012. package/dist/esm/t9n-cbccd1ca.js +0 -103
  1013. package/dist/esm/templates-0b442208.js +0 -402
  1014. package/dist/esm/th-1c539f57.js +0 -65
  1015. package/dist/esm/time-53cad131.js +0 -286
  1016. package/dist/esm/tr-432df990.js +0 -66
  1017. package/dist/esm/uk-46c024d3.js +0 -104
  1018. package/dist/esm/utils-0e3d8992.js +0 -142
  1019. package/dist/esm/utils-d55c5742.js +0 -66
  1020. package/dist/esm/vi-2ad870b8.js +0 -70
  1021. package/dist/esm/zh-cn-1955c2ce.js +0 -94
  1022. package/dist/esm/zh-hk-b32fb4c1.js +0 -92
  1023. package/dist/esm/zh-tw-67bdf163.js +0 -92
  1024. package/dist/solutions-components/p-000848d5.js +0 -6
  1025. package/dist/solutions-components/p-01021fdb.js +0 -6
  1026. package/dist/solutions-components/p-02800894.entry.js +0 -11
  1027. package/dist/solutions-components/p-03434d39.js +0 -11
  1028. package/dist/solutions-components/p-060b853f.entry.js +0 -6
  1029. package/dist/solutions-components/p-0bd7c945.js +0 -6
  1030. package/dist/solutions-components/p-0c985f61.entry.js +0 -6
  1031. package/dist/solutions-components/p-0ca3272e.entry.js +0 -6
  1032. package/dist/solutions-components/p-0ebb1a18.js +0 -11
  1033. package/dist/solutions-components/p-1092fdc9.entry.js +0 -6
  1034. package/dist/solutions-components/p-16afbc95.entry.js +0 -6
  1035. package/dist/solutions-components/p-18c10df7.entry.js +0 -6
  1036. package/dist/solutions-components/p-194bcdd6.entry.js +0 -12
  1037. package/dist/solutions-components/p-197cfd05.js +0 -6
  1038. package/dist/solutions-components/p-1afc6682.js +0 -6
  1039. package/dist/solutions-components/p-1c80d549.entry.js +0 -17
  1040. package/dist/solutions-components/p-1cbec431.entry.js +0 -6
  1041. package/dist/solutions-components/p-1e60d3ea.js +0 -6
  1042. package/dist/solutions-components/p-23c2e69d.entry.js +0 -11
  1043. package/dist/solutions-components/p-23d24056.entry.js +0 -11
  1044. package/dist/solutions-components/p-25ebeb0c.entry.js +0 -11
  1045. package/dist/solutions-components/p-25f84466.entry.js +0 -11
  1046. package/dist/solutions-components/p-25fe9f3e.entry.js +0 -6
  1047. package/dist/solutions-components/p-26ba0cc7.js +0 -17
  1048. package/dist/solutions-components/p-291faeb2.js +0 -6
  1049. package/dist/solutions-components/p-2a6eba20.entry.js +0 -11
  1050. package/dist/solutions-components/p-2b389ce5.entry.js +0 -11
  1051. package/dist/solutions-components/p-2b77a660.entry.js +0 -11
  1052. package/dist/solutions-components/p-2c78f92c.entry.js +0 -11
  1053. package/dist/solutions-components/p-2e193975.entry.js +0 -17
  1054. package/dist/solutions-components/p-32262047.entry.js +0 -11
  1055. package/dist/solutions-components/p-36470f6b.js +0 -6
  1056. package/dist/solutions-components/p-36552016.entry.js +0 -12
  1057. package/dist/solutions-components/p-37ddeea3.js +0 -488
  1058. package/dist/solutions-components/p-3812d485.entry.js +0 -6
  1059. package/dist/solutions-components/p-3948268c.entry.js +0 -6
  1060. package/dist/solutions-components/p-3b312dff.js +0 -6
  1061. package/dist/solutions-components/p-3b451796.js +0 -6
  1062. package/dist/solutions-components/p-3b54163f.js +0 -11
  1063. package/dist/solutions-components/p-3b859054.js +0 -16
  1064. package/dist/solutions-components/p-3cf3c658.entry.js +0 -29
  1065. package/dist/solutions-components/p-3d6698a7.js +0 -11
  1066. package/dist/solutions-components/p-3dfe5cdb.js +0 -6
  1067. package/dist/solutions-components/p-3e4ac28d.entry.js +0 -6
  1068. package/dist/solutions-components/p-3f0f6504.js +0 -6
  1069. package/dist/solutions-components/p-3f18fb1f.js +0 -11
  1070. package/dist/solutions-components/p-3f20a550.entry.js +0 -6
  1071. package/dist/solutions-components/p-3fc70768.entry.js +0 -6
  1072. package/dist/solutions-components/p-405118a8.entry.js +0 -11
  1073. package/dist/solutions-components/p-412759ed.entry.js +0 -11
  1074. package/dist/solutions-components/p-46da7d9f.entry.js +0 -6
  1075. package/dist/solutions-components/p-47fdc484.js +0 -17
  1076. package/dist/solutions-components/p-4858ae16.js +0 -6
  1077. package/dist/solutions-components/p-49888ae8.entry.js +0 -11
  1078. package/dist/solutions-components/p-4a13d8d9.js +0 -6
  1079. package/dist/solutions-components/p-4b1a9c65.js +0 -6
  1080. package/dist/solutions-components/p-4d14be12.entry.js +0 -11
  1081. package/dist/solutions-components/p-50721c04.js +0 -16
  1082. package/dist/solutions-components/p-531c7fdb.js +0 -11
  1083. package/dist/solutions-components/p-535335f2.js +0 -6
  1084. package/dist/solutions-components/p-53bf0fe4.js +0 -6
  1085. package/dist/solutions-components/p-544e3025.entry.js +0 -11
  1086. package/dist/solutions-components/p-55a6c0d1.entry.js +0 -6
  1087. package/dist/solutions-components/p-55b8fab3.entry.js +0 -6
  1088. package/dist/solutions-components/p-564d285a.entry.js +0 -6
  1089. package/dist/solutions-components/p-56b44bf7.entry.js +0 -11
  1090. package/dist/solutions-components/p-57079c91.entry.js +0 -6
  1091. package/dist/solutions-components/p-5732176e.entry.js +0 -47
  1092. package/dist/solutions-components/p-57409415.js +0 -17
  1093. package/dist/solutions-components/p-576843e9.js +0 -11
  1094. package/dist/solutions-components/p-5773023c.entry.js +0 -11
  1095. package/dist/solutions-components/p-5c20cdef.entry.js +0 -11
  1096. package/dist/solutions-components/p-5d1ab17e.entry.js +0 -21
  1097. package/dist/solutions-components/p-5dd95ca6.entry.js +0 -20
  1098. package/dist/solutions-components/p-5e71e72a.js +0 -21
  1099. package/dist/solutions-components/p-5f9afbb9.entry.js +0 -17
  1100. package/dist/solutions-components/p-6155f4e7.js +0 -6
  1101. package/dist/solutions-components/p-619b12c3.entry.js +0 -17
  1102. package/dist/solutions-components/p-61bd743b.entry.js +0 -22
  1103. package/dist/solutions-components/p-64860143.entry.js +0 -11
  1104. package/dist/solutions-components/p-64a569da.entry.js +0 -6
  1105. package/dist/solutions-components/p-6a1a4124.js +0 -6
  1106. package/dist/solutions-components/p-6b8a94f0.entry.js +0 -6
  1107. package/dist/solutions-components/p-6e842050.entry.js +0 -11
  1108. package/dist/solutions-components/p-721bf278.js +0 -6
  1109. package/dist/solutions-components/p-731eb030.js +0 -11
  1110. package/dist/solutions-components/p-73db9e69.entry.js +0 -11
  1111. package/dist/solutions-components/p-73e24177.js +0 -6
  1112. package/dist/solutions-components/p-74b25167.entry.js +0 -11
  1113. package/dist/solutions-components/p-7530a02f.js +0 -30
  1114. package/dist/solutions-components/p-760f833e.js +0 -6
  1115. package/dist/solutions-components/p-7781048a.js +0 -11
  1116. package/dist/solutions-components/p-779c8194.entry.js +0 -6
  1117. package/dist/solutions-components/p-7a1177c0.entry.js +0 -6
  1118. package/dist/solutions-components/p-7c7549b0.js +0 -61
  1119. package/dist/solutions-components/p-7e574f00.js +0 -11
  1120. package/dist/solutions-components/p-80913362.entry.js +0 -11
  1121. package/dist/solutions-components/p-80e05130.entry.js +0 -11
  1122. package/dist/solutions-components/p-81a2f4c3.entry.js +0 -12
  1123. package/dist/solutions-components/p-81c41f7b.entry.js +0 -11
  1124. package/dist/solutions-components/p-82ee3b26.js +0 -7
  1125. package/dist/solutions-components/p-8354374d.entry.js +0 -6
  1126. package/dist/solutions-components/p-844b7f82.entry.js +0 -6
  1127. package/dist/solutions-components/p-8535b484.entry.js +0 -17
  1128. package/dist/solutions-components/p-853db1b6.entry.js +0 -6
  1129. package/dist/solutions-components/p-85c0d237.entry.js +0 -11
  1130. package/dist/solutions-components/p-885b958c.entry.js +0 -6
  1131. package/dist/solutions-components/p-88e8400a.entry.js +0 -11
  1132. package/dist/solutions-components/p-899179d7.js +0 -6
  1133. package/dist/solutions-components/p-8a9d2564.entry.js +0 -11
  1134. package/dist/solutions-components/p-8b60e48a.entry.js +0 -11
  1135. package/dist/solutions-components/p-8d028e6a.entry.js +0 -11
  1136. package/dist/solutions-components/p-8f7a11c9.js +0 -21
  1137. package/dist/solutions-components/p-90240f7f.entry.js +0 -6
  1138. package/dist/solutions-components/p-917b535b.js +0 -11
  1139. package/dist/solutions-components/p-929b5bd1.entry.js +0 -6
  1140. package/dist/solutions-components/p-92c8093d.entry.js +0 -6
  1141. package/dist/solutions-components/p-934a6d75.js +0 -6
  1142. package/dist/solutions-components/p-938fc0cf.entry.js +0 -6
  1143. package/dist/solutions-components/p-94b818bb.js +0 -11
  1144. package/dist/solutions-components/p-973ec320.js +0 -36
  1145. package/dist/solutions-components/p-97b64bea.entry.js +0 -11
  1146. package/dist/solutions-components/p-97e56ccc.js +0 -6
  1147. package/dist/solutions-components/p-9b513db6.entry.js +0 -16
  1148. package/dist/solutions-components/p-9bb44f57.js +0 -65
  1149. package/dist/solutions-components/p-9c33a239.entry.js +0 -6
  1150. package/dist/solutions-components/p-9cc10554.js +0 -6
  1151. package/dist/solutions-components/p-9ce8e34f.js +0 -11
  1152. package/dist/solutions-components/p-9f38488c.js +0 -6
  1153. package/dist/solutions-components/p-a104bc28.js +0 -6
  1154. package/dist/solutions-components/p-a1e6cfd8.js +0 -6
  1155. package/dist/solutions-components/p-a3633e71.entry.js +0 -6
  1156. package/dist/solutions-components/p-a3bc6dd8.entry.js +0 -29
  1157. package/dist/solutions-components/p-a412c674.js +0 -11
  1158. package/dist/solutions-components/p-a4748493.entry.js +0 -11
  1159. package/dist/solutions-components/p-a570536b.js +0 -6
  1160. package/dist/solutions-components/p-a60d197e.entry.js +0 -6
  1161. package/dist/solutions-components/p-a806b4cf.entry.js +0 -17
  1162. package/dist/solutions-components/p-a927a4e4.entry.js +0 -6
  1163. package/dist/solutions-components/p-aaa0d91b.entry.js +0 -11
  1164. package/dist/solutions-components/p-ab2a12e4.entry.js +0 -17
  1165. package/dist/solutions-components/p-abcf272c.entry.js +0 -23
  1166. package/dist/solutions-components/p-ad536cdf.js +0 -11
  1167. package/dist/solutions-components/p-aef6e1f5.js +0 -6
  1168. package/dist/solutions-components/p-b13d3b66.js +0 -6
  1169. package/dist/solutions-components/p-b2064f52.entry.js +0 -6
  1170. package/dist/solutions-components/p-b209d4b9.js +0 -6
  1171. package/dist/solutions-components/p-b2a1177d.entry.js +0 -11
  1172. package/dist/solutions-components/p-b54b2fc6.js +0 -31
  1173. package/dist/solutions-components/p-b56b9a89.js +0 -11
  1174. package/dist/solutions-components/p-b5fe0c3e.entry.js +0 -6
  1175. package/dist/solutions-components/p-b6ea0097.js +0 -6
  1176. package/dist/solutions-components/p-b7b32972.entry.js +0 -6
  1177. package/dist/solutions-components/p-b7b5e88d.entry.js +0 -11
  1178. package/dist/solutions-components/p-b9afb782.entry.js +0 -6
  1179. package/dist/solutions-components/p-b9b3b48a.entry.js +0 -6
  1180. package/dist/solutions-components/p-ba62b5f4.js +0 -16
  1181. package/dist/solutions-components/p-bb9e232f.js +0 -6
  1182. package/dist/solutions-components/p-bba22752.js +0 -6
  1183. package/dist/solutions-components/p-bc47653a.js +0 -6
  1184. package/dist/solutions-components/p-bccc997c.js +0 -6
  1185. package/dist/solutions-components/p-bd220980.js +0 -21
  1186. package/dist/solutions-components/p-bd6a96db.js +0 -6
  1187. package/dist/solutions-components/p-bded7c22.entry.js +0 -6
  1188. package/dist/solutions-components/p-be28e2bf.js +0 -6
  1189. package/dist/solutions-components/p-be7c3f1d.js +0 -6
  1190. package/dist/solutions-components/p-c023fc82.js +0 -6
  1191. package/dist/solutions-components/p-c1160ad0.entry.js +0 -6
  1192. package/dist/solutions-components/p-c26b8546.entry.js +0 -6
  1193. package/dist/solutions-components/p-c2ff1a82.js +0 -6
  1194. package/dist/solutions-components/p-c323117d.js +0 -16
  1195. package/dist/solutions-components/p-c5713c95.entry.js +0 -11
  1196. package/dist/solutions-components/p-c8c16d43.js +0 -11
  1197. package/dist/solutions-components/p-c9b5a34f.js +0 -52
  1198. package/dist/solutions-components/p-ca26f8f8.js +0 -6
  1199. package/dist/solutions-components/p-cb007d2f.js +0 -6
  1200. package/dist/solutions-components/p-cc9e1367.entry.js +0 -6
  1201. package/dist/solutions-components/p-cdadd82c.entry.js +0 -17
  1202. package/dist/solutions-components/p-ce67bbbb.js +0 -11
  1203. package/dist/solutions-components/p-cf46113c.js +0 -6
  1204. package/dist/solutions-components/p-cfc2fae0.entry.js +0 -17
  1205. package/dist/solutions-components/p-d0d020a5.js +0 -37
  1206. package/dist/solutions-components/p-d21f3851.js +0 -11
  1207. package/dist/solutions-components/p-d2c460b9.entry.js +0 -11
  1208. package/dist/solutions-components/p-d4c44a94.js +0 -6
  1209. package/dist/solutions-components/p-dca07fd3.js +0 -143
  1210. package/dist/solutions-components/p-dcfe9514.entry.js +0 -6
  1211. package/dist/solutions-components/p-dd0bee4a.entry.js +0 -6
  1212. package/dist/solutions-components/p-de2fecc0.js +0 -40
  1213. package/dist/solutions-components/p-de44364f.js +0 -11
  1214. package/dist/solutions-components/p-decc356d.entry.js +0 -11
  1215. package/dist/solutions-components/p-e043aae3.js +0 -6
  1216. package/dist/solutions-components/p-e04831b9.js +0 -6
  1217. package/dist/solutions-components/p-e06f90a2.entry.js +0 -11
  1218. package/dist/solutions-components/p-e0e6d099.js +0 -21
  1219. package/dist/solutions-components/p-e21cb40e.entry.js +0 -11
  1220. package/dist/solutions-components/p-e33b7602.js +0 -6
  1221. package/dist/solutions-components/p-e385cdcf.entry.js +0 -11
  1222. package/dist/solutions-components/p-e3e89708.entry.js +0 -11
  1223. package/dist/solutions-components/p-e4206773.entry.js +0 -11
  1224. package/dist/solutions-components/p-e4c16e8f.entry.js +0 -6
  1225. package/dist/solutions-components/p-e6b2432e.entry.js +0 -6
  1226. package/dist/solutions-components/p-e76f93bc.js +0 -11
  1227. package/dist/solutions-components/p-e82a84ac.entry.js +0 -6
  1228. package/dist/solutions-components/p-e9d3365f.js +0 -22
  1229. package/dist/solutions-components/p-eb1edf3e.entry.js +0 -6
  1230. package/dist/solutions-components/p-ebac7396.entry.js +0 -6
  1231. package/dist/solutions-components/p-ecabb824.entry.js +0 -6
  1232. package/dist/solutions-components/p-ecfe49cf.entry.js +0 -6
  1233. package/dist/solutions-components/p-ed50a65b.entry.js +0 -17
  1234. package/dist/solutions-components/p-eda5e49e.entry.js +0 -11
  1235. package/dist/solutions-components/p-ef51b934.js +0 -6
  1236. package/dist/solutions-components/p-f22622b4.js +0 -6
  1237. package/dist/solutions-components/p-f2340619.js +0 -6
  1238. package/dist/solutions-components/p-f33c5883.entry.js +0 -6
  1239. package/dist/solutions-components/p-f4eea8c2.js +0 -67
  1240. package/dist/solutions-components/p-f7653a0b.js +0 -6
  1241. package/dist/solutions-components/p-f876de3f.js +0 -6
  1242. package/dist/solutions-components/p-f87f02a1.entry.js +0 -6
  1243. package/dist/solutions-components/p-faaf42a3.entry.js +0 -11
  1244. package/dist/solutions-components/p-fcd719b7.entry.js +0 -22
  1245. package/dist/solutions-components/p-fd152d68.js +0 -16
  1246. package/dist/solutions-components/p-fdf5a50e.entry.js +0 -11
  1247. package/dist/solutions-components/p-fe43b510.js +0 -17
  1248. package/dist/solutions-components/p-ff609816.entry.js +0 -11
  1249. package/dist/types/components/arcgis-login/arcgis-login.d.ts +0 -19
  1250. package/dist/types/components/share-item/share-item.d.ts +0 -19
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{d as _}from"./p-a1e6cfd8.js";import"./p-82ee3b26.js";import"./p-576843e9.js";import"./p-26ba0cc7.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-3f18fb1f.js";import"./p-ec51378a.js";import"./p-9ce8e34f.js";import"./p-ae019e19.js";import"./p-0ebb1a18.js";import"./p-b56b9a89.js";import"./p-3b859054.js";import"./p-94b818bb.js";import"./p-50721c04.js";import"./p-e76f93bc.js";import"./p-ad536cdf.js";import"./p-bd7be7a7.js";import"./p-731eb030.js";import"./p-3b54163f.js";import"./p-a71250ea.js";var p={name:"hi",weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"}};_.locale(p,null,!0);export{p as default}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,g as i,h as s,H as e,c as a}from"./p-82ee3b26.js";import{l as h,g as n}from"./p-973ec320.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const o=class{constructor(i){t(this,i),this.mapView=void 0,this.basemapConfig=void 0,this.basemapWidget=void 0}get el(){return i(this)}BasemapGallery;PortalBasemapsSource;_basemapElement;async basemapConfigWatchHandler(){if(this.basemapWidget?.source){const t=this.basemapWidget?.source;t.query=this.basemapConfig?.basemapGroupId?`id:${this.basemapConfig.basemapGroupId}`:null,await t.refresh()}}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initBaseMapGallery(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"1f8be0f65a784ffaac49b8a5a15ebd6fb72d6643"},s("div",{key:"2c1bde6c0624b476f6c34302ea843da195f535cb",ref:t=>{this._basemapElement=t}}))}async componentDidLoad(){this.mapView&&await this.mapViewWatchHandler()}async _initModules(){const[t,i]=await h(["esri/widgets/BasemapGallery","esri/widgets/BasemapGallery/support/PortalBasemapsSource"]);this.BasemapGallery=t,this.PortalBasemapsSource=i}async _initBaseMapGallery(t){if(this.BasemapGallery){this.basemapWidget&&this.basemapWidget.destroy();const i=new this.PortalBasemapsSource({query:this.basemapConfig?.basemapGroupId?`id:${this.basemapConfig.basemapGroupId}`:null,filterFunction:this.basemapConfig?t=>!this.basemapConfig.basemapIdsToFilter.includes(t.portalItem.id):()=>!0});await i.refresh(),this.basemapWidget=new this.BasemapGallery({container:this._basemapElement,view:t,source:i})}}static get watchers(){return{basemapConfig:["basemapConfigWatchHandler"],mapView:["mapViewWatchHandler"]}}};o.style=":host{display:block}";const c=class{constructor(i){t(this,i),this.facilityChanged=a(this,"facilityChanged",7),this.levelChanged=a(this,"levelChanged",7),this.siteChanged=a(this,"siteChanged",7),this.enabled=void 0,this.floorFilterWidget=void 0,this.mapView=void 0}get el(){return i(this)}FloorFilter;_floorFilterElement;reactiveUtils;_facilityHandle;_levelHandle;_siteHandle;async mapViewWatchHandler(){await this._initFloorFilter(this.mapView)}async enabledWatchHandler(){this.enabled?await this._initFloorFilter(this.mapView):this.enabled||this._destroyWidget()}facilityChanged;levelChanged;siteChanged;async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"51da7a656e7f56ecc8cc4093d3dab856f77b5c7a"},s("div",{key:"d2fda7047f09a673216484f5c202f039fca20108",ref:t=>{this._floorFilterElement=t}}))}async componentDidLoad(){this.mapView&&!this.floorFilterWidget&&await this._initFloorFilter(this.mapView)}async _initModules(){const[t,i]=await h(["esri/widgets/FloorFilter","esri/core/reactiveUtils"]);this.FloorFilter=t,this.reactiveUtils=i}_destroyWidget(){this.floorFilterWidget&&(this.floorFilterWidget.destroy(),this.floorFilterWidget=void 0),this._floorFilterElement&&this._floorFilterElement.remove()}_initContainer(){this._destroyWidget(),this._floorFilterElement=document.createElement("div")}async _initFloorFilter(t){const i=t?.map;await i.when((()=>{t&&this.enabled&&this.FloorFilter&&i?.floorInfo&&(this._initContainer(),this.floorFilterWidget=new this.FloorFilter({container:this._floorFilterElement,view:t}),this._facilityHandle?.remove(),this._facilityHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.facility),(t=>{this.facilityChanged.emit(t)})),this._levelHandle?.remove(),this._levelHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.level),(t=>{this.levelChanged.emit(t)})),this._siteHandle?.remove(),this._siteHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.site),(t=>{this.siteChanged.emit(t)})))}))}static get watchers(){return{mapView:["mapViewWatchHandler"],enabled:["enabledWatchHandler"]}}};c.style=":host{display:block}";const r=class{constructor(i){t(this,i),this.fullscreenStateChange=a(this,"fullscreenStateChange",7),this.mapView=void 0,this.fullscreenWidget=void 0}Fullscreen;_fullscreenElement;_fullscreenStateChangeHandle;reactiveUtils;async mapViewWatchHandler(){await this.mapView.when((async()=>{await this._initFullscreenWidget()}))}fullscreenStateChange;async componentWillLoad(){await this._initModules()}render(){return s(e,{key:"7eec3dc5ab76a4ad8fdd24d8d18f8e6cf2820dde"},s("div",{key:"2093cc2a6a3678209e61eea63ebde2f69ec00011",class:"fullscreen-widget",ref:t=>{this._fullscreenElement=t}}))}async componentDidUpdate(){await this._initFullscreenWidget()}async componentDidLoad(){await this._initFullscreenWidget()}async _initModules(){const[t,i]=await h(["esri/widgets/Fullscreen","esri/core/reactiveUtils"]);this.Fullscreen=t,this.reactiveUtils=i}async _initFullscreenWidget(){this.mapView&&this._fullscreenElement&&!this.fullscreenWidget?(this.fullscreenWidget=new this.Fullscreen({view:this.mapView}),await this.fullscreenWidget.when((()=>{this._fullscreenStateChangeHandle&&this._fullscreenStateChangeHandle.remove(),this._fullscreenStateChangeHandle=this.reactiveUtils.watch((()=>this.fullscreenWidget.viewModel.state),(t=>this.fullscreenStateChange.emit(t)))}))):this.fullscreenWidget&&(this.fullscreenWidget.view=this.mapView)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};r.style=":host{display:block}";const l=class{constructor(i){t(this,i),this.mapView=void 0,this.legendWidget=void 0}get el(){return i(this)}Legend;_legendElement;async mapViewWatchHandler(){await this.mapView.when((()=>{this._initLegend(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"768d9d69042516c6d4edc55fcb0af23f90d33e6e"},s("div",{key:"e1147cf58240e7a6fcb9a00fce3649a380755e3d",ref:t=>{this._legendElement=t}}))}async componentDidLoad(){this.mapView&&await this.mapViewWatchHandler()}async _initModules(){const[t]=await h(["esri/widgets/Legend"]);this.Legend=t}_initLegend(t){t&&this.Legend&&(this.legendWidget?this.legendWidget.view=t:this.legendWidget=new this.Legend({container:this._legendElement,respectLayerDefinitionExpression:!0,view:t}))}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};l.style=":host{display:block}";const d=class{constructor(i){t(this,i),this.mapInfoChange=a(this,"mapInfoChange",7),this.locale=void 0,this.mapInfos=[],this.isMapLayout=void 0,this._mapListExpanded=!1,this._translations=void 0,this._webMapInfo=void 0}get el(){return i(this)}_list;_loadedId="";_webMapInfoWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&(this._loadedId=t?.id,this.mapInfoChange.emit(t))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapInfosWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._webMapSelected(t[0])}async setMapByID(t){const i=this.mapInfos?.filter((i=>i.id===t));t&&i?.length>0&&this._webMapSelected(i[0])}async close(){this._mapListExpanded&&(this._mapListExpanded=!1)}async toggle(t){this._mapListExpanded=t}mapInfoChange;async componentWillLoad(){await this._getTranslations()}render(){return s(e,{key:"ecfbf2669de4ce8c916e47c7a731f0a3ad33b419"},this._getToolbar(),this._getMapNameList(this._mapListExpanded))}async componentDidLoad(){const t=this.mapInfos&&this.mapInfos.length>0?this.mapInfos[0]:void 0;t&&this._webMapSelected(t)}_getMapPicker(){const t="map-picker-expand-toggle";return s("div",{class:"width-full"},s("calcite-button",{alignment:"icon-end-space-between",appearance:"transparent",class:"width-full height-full",iconEnd:this._mapListExpanded?"chevron-up":"chevron-down",iconStart:"map",id:t,kind:"neutral",onClick:()=>this._chooseMap(),width:"full"},this._webMapInfo?.name),s("calcite-tooltip",{placement:"bottom","reference-element":t},s("span",null,this._translations.switchMap)))}_getToolbar(){return s("div",{class:"display-flex border-right"},s("calcite-action-bar",{class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:"header"},this._getMapPicker()))}_getMapNameList(t){return s("div",{class:t?"map-list border-bottom-1 adjusted-height "+(this.isMapLayout?"width-26":"width-full"):"display-none"},s("calcite-list",{id:"mapList",ref:t=>this._list=t,selectionAppearance:"border",selectionMode:"single"},this.mapInfos.map((t=>s("calcite-list-item",{label:t.name,onClick:()=>this._webMapSelected(t),selected:t.id===this._loadedId,value:t.id})))))}_webMapSelected(t){this._mapListExpanded=!1,this._webMapInfo=t}_chooseMap(){this._mapListExpanded=!this._mapListExpanded}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{_webMapInfo:["_webMapInfoWatchHandler"],locale:["localeWatchHandler"],mapInfos:["mapInfosWatchHandler"]}}};d.style=":host{display:block;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100%}.width-26{width:26% !important}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.border-right{border-right:1px solid var(--calcite-color-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-color-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.align-center{align-items:center}.adjusted-height{max-height:calc(100% - 52px);overflow-y:auto}";const p=class{constructor(i){t(this,i),this.mapView=void 0,this.popupEnabled=!1,this.resultGraphicEnabled=!1,this.searchConfiguration=void 0,this.searchTerm=void 0,this.searchWidget=void 0}FeatureLayer;Search;_searchElement;_searchResult;async watchSearchConfigurationHandler(){this._initSearchWidget()}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initSearchWidget()}))}async componentWillLoad(){await this._initModules()}async componentDidLoad(){return this._initSearchWidget()}render(){return s(e,{key:"36e0fb49fdedbe9e8789fba37f86a2f2d57b4e45"},s("div",{key:"796ee258723e9277dc98323ba76def22bd7dca3a",class:"search-widget",ref:t=>{this._searchElement=t}}))}async _initModules(){const[t,i]=await h(["esri/widgets/Search","esri/layers/FeatureLayer"]);this.Search=t,this.FeatureLayer=i}_initSearchWidget(){if(this.mapView&&this._searchElement&&!this.searchWidget){let t={view:this.mapView,container:this._searchElement,searchTerm:this.searchTerm};this.searchConfiguration&&(t={...this._getSearchConfig(this.searchConfiguration,this.mapView)}),this.searchWidget=new this.Search(t),this.searchWidget.popupEnabled=this.popupEnabled,this.searchWidget.resultGraphicEnabled=this.resultGraphicEnabled}else this.searchWidget&&(this.searchWidget.view=this.mapView)}_getSearchConfig(t,i){const s=t.sources;return s?.length>0?(t.includeDefaultSources=!1,s.forEach((t=>{if(t.hasOwnProperty("layer")){const s=t,e=s.layer?.id,a=e?i.map.findLayerById(e):null,h=s?.layer?.url;a?s.layer=a:h&&(s.layer=new this.FeatureLayer(h))}})),s?.forEach((t=>{if(t.hasOwnProperty("locator")){const i=t;"ArcGIS World Geocoding Service"===i?.name&&(i.outFields=i.outFields||["Addr_type","Match_addr","StAddr","City"],i.singleLineFieldName="SingleLine"),i.url=i.url,delete i.url}}))):t={...t,includeDefaultSources:!0},t}static get watchers(){return{searchConfiguration:["watchSearchConfigurationHandler"],mapView:["mapViewWatchHandler"]}}};p.style=":host{display:block}.search-widget{width:100% !important;border:1px solid var(--calcite-color-border-input)}";const m=class{constructor(i){t(this,i),this.basemapConfig=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableSearch=void 0,this.enableBasemap=void 0,this.enableHome=void 0,this.enableSingleExpand=void 0,this.homeZoomToolsSize="m",this.layout="vertical",this.locale=void 0,this.mapView=void 0,this.mapWidgetsSize="m",this.position="top-right",this.searchConfiguration=void 0,this.stackTools=!0,this.toolOrder=void 0,this._hasFloorInfo=!1,this._translations=void 0,this._showTools=!0,this._showBasemapWidget=!1,this._showFloorFilter=!1,this._showFullscreen=!1,this._showLegendWidget=!1,this._showSearchWidget=!1}get el(){return i(this)}Expand;_basemapElement;_floorFilterElement;_fullscreenElement;_legendElement;_searchElement;_widgets=[];async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((()=>{this._hasFloorInfo=this.mapView?.map?.floorInfo}))}async _showBasemapWidgetWatchHandler(t){t?this.mapView.ui.add(this._basemapElement.basemapWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._basemapElement.basemapWidget)}async _showFloorFilterWatchHandler(t){const i=this._floorFilterElement.floorFilterWidget;t?this.mapView.ui.add(i,{position:this.position,index:1}):this.mapView.ui.remove(i)}async _showFullscreenWatchHandler(t){const i=this._fullscreenElement.fullscreenWidget;t?"ready"===i.viewModel.state&&i.viewModel.enter():"active"===i.viewModel.state&&i.viewModel.exit()}async _showLegendWidgetWatchHandler(t){t?this.mapView.ui.add(this._legendElement.legendWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._legendElement.legendWidget)}async _showSearchWidgetWatchHandler(t){t?this.mapView.ui.add(this._searchElement.searchWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._searchElement.searchWidget)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){this._setZoomToolsSize();const t=this._showTools?"":"display-none",i=this._showSearchWidget?"":"display-none",a=this._showBasemapWidget?"":"display-none",h=this._showLegendWidget?"":"display-none",n=this._showFloorFilter?"":"display-none",o=this._showFullscreen?"":"display-none",c=this.enableSingleExpand?"margin-top-1-2":"",r=this.toolOrder?this.toolOrder:["legend","search","fullscreen","floorfilter"],l=this.stackTools?"box-shadow":"";return s(e,{key:"6a707a10b3cbe094548a863b13d0852969c46f94"},s("div",{key:"c1e349ba8577a87f967b31a7a042be30cb933d34",class:this.enableBasemap||this.enableFullscreen||this.enableLegend||this.enableSearch?"":"display-none"},this.enableSingleExpand?s("div",{class:"box-shadow"},this._getActionGroup(this._showTools?"chevrons-up":"chevrons-down",!1,this._showTools?this._translations.collapse:this._translations.expand,(()=>this._toggleTools()))):void 0,s("div",{key:"7120793f9d707fb0d1914f5aeffb3293532ab891",class:`${c} ${l} ${t}`},this._getMapWidgets(r))),s("basemap-gallery",{key:"11e280302f6b1f5287aa83c7eb33542f3a9d87ab",basemapConfig:this.basemapConfig,class:a,mapView:this.mapView,ref:t=>{this._basemapElement=t}}),s("map-search",{key:"c3afd22dc8d652877f48a6def87e486546993d61",class:i,mapView:this.mapView,ref:t=>{this._searchElement=t},resultGraphicEnabled:!0,searchConfiguration:this.searchConfiguration}),s("map-legend",{key:"b8fad3cdbc3b96b4f3441316651ad78b4ed3de65",class:h,mapView:this.mapView,ref:t=>{this._legendElement=t}}),s("map-fullscreen",{key:"e34111225f1ec80fedfd548196e407786d28200b",class:o,mapView:this.mapView,onFullscreenStateChange:t=>this._fullscreenStateChange(t.detail),ref:t=>{this._fullscreenElement=t}}),s("floor-filter",{key:"2db5c7e6182d77786b162692169263495b2752f5",class:n,enabled:this.enableFloorFilter,mapView:this.mapView,ref:t=>{this._floorFilterElement=t}}))}async _initModules(){const[t]=await h(["esri/widgets/Expand"]);this.Expand=t}_setZoomToolsSize(){const t=document.getElementsByClassName("esri-zoom")[0]?.children[0],i=document.getElementsByClassName("esri-zoom")[0]?.children[1];if(t&&i){const s="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";t.style.width=s,t.style.height=s,i.style.width=s,i.style.height=s}}_getMapWidgets(t){const i=this._showFullscreen?"full-screen-exit":"full-screen",s=this._showFullscreen?this._translations.exitFullscreen:this._translations.enterFullscreen;return t.map((t=>{switch(t){case"legend":return this.enableLegend&&this.enableSingleExpand?this._getActionGroup("legend",!1,this._translations.legend,(()=>this._showLegend())):this.enableLegend?this._getWidget(t,this._legendElement?.legendWidget,!0):void 0;case"search":return this.enableSearch&&this.enableSingleExpand?this._getActionGroup("magnifying-glass",!1,this._translations.search,(()=>this._search())):this.enableSearch?this._getWidget(t,this._searchElement?.searchWidget,!0):void 0;case"fullscreen":return this.enableFullscreen&&this.enableSingleExpand?this._getActionGroup(i,!1,s,(()=>this._expand())):this.enableFullscreen?this._getWidget(t,this._fullscreenElement?.fullscreenWidget,!1):void 0;case"basemap":return this.enableBasemap&&this.enableSingleExpand?this._getActionGroup("basemap",!1,this._translations.basemap,(()=>this._toggleBasemapPicker())):this.enableBasemap?this._getWidget(t,this._basemapElement?.basemapWidget,!0):void 0;case"floorfilter":return this.enableFloorFilter&&this._hasFloorInfo&&this.enableSingleExpand?this._getActionGroup("urban-model",!1,this._translations.floorFilter,(()=>this._toggleFloorFilter())):this.enableFloorFilter&&this._hasFloorInfo?this._getWidget(t,this._floorFilterElement?.floorFilterWidget,!0):void 0}}))}_fullscreenStateChange(t){"ready"===t&&this._showFullscreen?this._showFullscreen=!1:"active"!==t||this._showFullscreen||(this._showFullscreen=!0)}_getActionGroup(t,i,e,a){return s("div",null,s("calcite-action",{alignment:"center",class:`${"s"===this.mapWidgetsSize?"square-32":"m"===this.mapWidgetsSize?"square-40":"square-48"} ${this.stackTools?"":"margin-bottom-1-2"} border-bottom ${this.stackTools?"":"box-shadow"}`,compact:!1,disabled:i,icon:t,id:t,onClick:a,scale:"s",text:""},s("calcite-icon",{icon:"cheveron-up",scale:"s",slot:"icon"})),s("calcite-tooltip",{label:"",placement:"trailing","reference-element":t},s("span",null,e)))}_getWidget(t,i,s){if(this._widgets.indexOf(t)<0&&this.mapView&&i){const e=this.toolOrder.indexOf(t),a=new this.Expand({view:this.mapView,content:i});this.mapView.ui.add(s?a:i,{position:this.position,index:e>-1?e+(this.enableHome?2:1):1}),this._widgets.push(t)}}_showLegend(){this._showLegendWidget=!this._showLegendWidget,this._showTools=!1}_search(){this._showSearchWidget=!this._showSearchWidget,this._showTools=!1}_toggleBasemapPicker(){this._showBasemapWidget=!this._showBasemapWidget,this._showTools=!1}_toggleFloorFilter(){this._showFloorFilter=!this._showFloorFilter,this._showTools=!1}_expand(){this._showFullscreen=!this._showFullscreen}_toggleTools(){this._showTools||(this._showBasemapWidget=!1,this._showSearchWidget=!1,this._showLegendWidget=!1,this._showFloorFilter=!1),this._showTools=!this._showTools}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],_showBasemapWidget:["_showBasemapWidgetWatchHandler"],_showFloorFilter:["_showFloorFilterWatchHandler"],_showFullscreen:["_showFullscreenWatchHandler"],_showLegendWidget:["_showLegendWidgetWatchHandler"],_showSearchWidget:["_showSearchWidgetWatchHandler"]}}};m.style=":host{display:block}.display-none{display:none}.margin-top-1-2{margin-top:0.5rem}.square-32{width:32px;height:32px}.square-40{width:40px;height:40px}.square-48{width:48px;height:48px}.width-40{width:40px}.square-40-41{width:40px;height:41px}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.box-shadow{box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.margin-bottom-1-2{margin-bottom:0.5rem}";export{o as basemap_gallery,c as floor_filter,r as map_fullscreen,l as map_legend,d as map_picker,p as map_search,m as map_tools}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as i,f as t,h as e,g as s}from"./p-82ee3b26.js";import{l as n}from"./p-d001e961.js";import{g as a}from"./p-f876de3f.js";import{s as r,g as o}from"./p-721bf278.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";import"./p-d4c44a94.js";const c={base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"},d=class{constructor(t){i(this,t),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1,this.messages=void 0}async componentWillLoad(){this.compactHandler(),new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){a(this)}async initializeModules(){const[i,t,e,s]=await n(["esri/core/Handles","esri/core/reactiveUtils","esri/widgets/Widget","esri/widgets/Legend"]);this.handles=new i,this.reactiveUtils=t,this.widget=new e;const a=new s;return await t.whenOnce((()=>null==a?void 0:a.messages)),this.messages=Object.assign(Object.assign({},this.messages),a.messages),Promise.resolve()}async init(){if(this.reactiveUtils&&this.view&&this.handles)try{const{on:i}=this.reactiveUtils,[t]=await n(["esri/widgets/Legend/LegendViewModel"]),e=new t({view:this.view,respectLayerDefinitionExpression:!0});this.legendvm=e,this.handles.add([i((()=>{var i;return null===(i=this.legendvm)||void 0===i?void 0:i.activeLayerInfos}),"change",(()=>{var i;return this._refreshActiveLayerInfos(null===(i=null==this?void 0:this.legendvm)||void 0===i?void 0:i.activeLayerInfos,this.reactiveUtils)}))])}catch(i){console.error('Failed at "init": ',i)}}compactHandler(){r.set("compact",this.compact)}render(){var i;const{base:t,component:s,widget:n,widgetPanel:a}=c;return e("div",{key:"interactive-legend",class:null===(i=this.widget)||void 0===i?void 0:i.classes(t,s,n,a)},e("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>this.ref=i,class:o(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}))}_refreshActiveLayerInfos(i,t){i&&(this.handles.removeAll(),i.forEach((i=>this._renderOnActiveLayerInfoChange(i,t))))}_renderOnActiveLayerInfoChange(i,t){var e;const{on:s}=this.reactiveUtils,n=s((()=>i.children),"change",(()=>i.children.forEach((i=>this._renderOnActiveLayerInfoChange(i,t)))));this.handles.add(n,`children_${null===(e=null==i?void 0:i.layer)||void 0===e?void 0:e.uid}`),i.children.forEach((i=>{var e,s;this._renderOnActiveLayerInfoChange(i,t),(null===(e=null==i?void 0:i.children)||void 0===e?void 0:e.length)>0&&(null===(s=null==i?void 0:i.children)||void 0===s||s.forEach((i=>this._renderOnActiveLayerInfoChange(i,t))))}))}get el(){return s(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"],compact:["compactHandler"]}}};d.style=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}";export{d as instant_apps_interactive_legend}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{d as _}from"./p-a1e6cfd8.js";import"./p-82ee3b26.js";import"./p-576843e9.js";import"./p-26ba0cc7.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-3f18fb1f.js";import"./p-ec51378a.js";import"./p-9ce8e34f.js";import"./p-ae019e19.js";import"./p-0ebb1a18.js";import"./p-b56b9a89.js";import"./p-3b859054.js";import"./p-94b818bb.js";import"./p-50721c04.js";import"./p-e76f93bc.js";import"./p-ad536cdf.js";import"./p-bd7be7a7.js";import"./p-731eb030.js";import"./p-3b54163f.js";import"./p-a71250ea.js";var m={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_,m){return"W"===m?_+"週":_+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"},meridiem:function(_,m){var p=100*_+m;return p<600?"凌晨":p<900?"早上":p<1100?"上午":p<1300?"中午":p<1800?"下午":"晚上"}};_.locale(m,null,!0);export{m as default}
@@ -1,16 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{d as e,a as t}from"./p-51ab623a.js";import{s as o}from"./p-e76f93bc.js";import{i as a}from"./p-b56b9a89.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.13.2
11
- */function s(){const{classList:o}=document.body,a=window.matchMedia("(prefers-color-scheme: dark)").matches,s=()=>o.contains(e)||o.contains(t)&&a?"dark":"light",n=e=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:e}})),r=e=>{c!==e&&n(e),c=e};let c=s();n(c),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>r(e.matches?"dark":"light"))),new MutationObserver((()=>r(s()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}
12
- /*!
13
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
15
- * v2.13.2
16
- */const n=function(){a()&&("interactive"===document.readyState?s():document.addEventListener("DOMContentLoaded",(()=>s()),{once:!0})),o()};export{n as g}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as e,h as a,f as i,H as s,g as o}from"./p-82ee3b26.js";import{c as r,d as c,H as n}from"./p-576843e9.js";import{c as l,d as h,g as d}from"./p-9ce8e34f.js";import{t as f,s as p}from"./p-26ba0cc7.js";import{c as m,d as b,n as v}from"./p-3b859054.js";import{c as x}from"./p-94b818bb.js";import{b as g,s as u,a as y,c as z}from"./p-0ebb1a18.js";import{c as k,s as w,d as j,u as L}from"./p-731eb030.js";import{u as H,I as C}from"./p-3f18fb1f.js";import{g as A}from"./p-eed08718.js";import{V as M}from"./p-3b54163f.js";import{s as W}from"./p-a71250ea.js";import{t as I}from"./p-29edb87c.js";import"./p-ae019e19.js";import"./p-51ab623a.js";import"./p-ec51378a.js";import"./p-b56b9a89.js";import"./p-c8d3207e.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.13.2
11
- */const S="content",D="container",O="footer",T="character--over-limit",E="readonly",G="text-area--invalid",F="footer--slotted",V="hide",_="footer--end-only",q="text-area",P="text-area--only",R="textAreaValidationMessage",U=class{constructor(i){t(this,i),this.calciteTextAreaInput=e(this,"calciteTextAreaInput",7),this.calciteTextAreaChange=e(this,"calciteTextAreaChange",7),this.guid=A(),this.handleInput=t=>{this.value=t.target.value,this.calciteTextAreaInput.emit()},this.handleChange=()=>{this.calciteTextAreaChange.emit()},this.contentSlotChangeHandler=()=>{this.value||this.el.childNodes.forEach((t=>{"#text"===t.nodeName&&(this.value=t.nodeValue.trim())}))},this.renderCharacterLimit=()=>this.maxLength?(this.localizedCharacterLengthObj=this.getLocalizedCharacterLength(),a("span",{class:"character-limit"},a("span",{class:{[T]:this.isCharacterLimitExceeded()}},this.localizedCharacterLengthObj.currentLength),"/",this.localizedCharacterLengthObj.maxLength)):null,this.resizeObserver=x("resize",(async()=>{await g(this);const{textAreaHeight:t,textAreaWidth:e,elHeight:a,elWidth:i,footerHeight:s,footerWidth:o}=this.getHeightAndWidthOfElements();o>0&&o!==e&&(this.footerEl.style.width=`${e}px`),i===e&&a===t+(s||0)||this.setHeightAndWidthToAuto()})),this.setTextAreaEl=t=>{this.textAreaEl=t,this.resizeObserver.observe(t)},this.setHeightAndWidthToAuto=I((()=>{"vertical"!==this.resize&&"both"!==this.resize||(this.el.style.height="auto"),"horizontal"!==this.resize&&"both"!==this.resize||(this.el.style.width="auto")}),100,{leading:!1}),this.columns=void 0,this.disabled=!1,this.form=void 0,this.groupSeparator=!1,this.label=void 0,this.minLength=void 0,this.maxLength=void 0,this.messages=void 0,this.validationMessage=void 0,this.validationIcon=void 0,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.name=void 0,this.numberingSystem=void 0,this.placeholder=void 0,this.readOnly=!1,this.required=!1,this.resize="both",this.rows=void 0,this.scale="m",this.status="idle",this.value="",this.wrap="soft",this.messageOverrides=void 0,this.defaultMessages=void 0,this.endSlotHasElements=void 0,this.startSlotHasElements=void 0,this.effectiveLocale=""}handleGlobalAttributesChanged(){i(this)}onMessagesChange(){}connectedCallback(){l(this),r(this),m(this),k(this)}async componentWillLoad(){u(this),await w(this)}componentDidLoad(){y(this)}componentDidRender(){H(this),this.setTextAreaHeight()}disconnectedCallback(){h(this),c(this),b(this),j(this),this.resizeObserver?.disconnect()}render(){const t=this.startSlotHasElements||this.endSlotHasElements||!!this.maxLength;return a(s,{key:"87f925e13e3a1bef5b85af59a4e61433c3262929"},a(C,{key:"3431b47034859c62b0d0116b5ff47189cd46ea0b",disabled:this.disabled},a("textarea",{key:"78e60318dc05f03f0ec0f0738384b33a7e4ed546","aria-describedby":this.guid,"aria-errormessage":R,"aria-invalid":f("invalid"===this.status||this.isCharacterLimitExceeded()),"aria-label":d(this),autofocus:this.el.autofocus,class:{[q]:!0,[E]:this.readOnly,[G]:this.isCharacterLimitExceeded(),[F]:this.endSlotHasElements&&this.startSlotHasElements,[P]:!t},cols:this.columns,disabled:this.disabled,name:this.name,onChange:this.handleChange,onInput:this.handleInput,placeholder:this.placeholder,readOnly:this.readOnly,ref:this.setTextAreaEl,required:this.required,rows:this.rows,value:this.value,wrap:this.wrap}),a("span",{key:"54d603509f65611918b788280124499ecf2161cf",class:{[S]:!0}},a("slot",{key:"e1ffe00ed1eeb26899f372ea9d011da20bcddfeb",onSlotchange:this.contentSlotChangeHandler})),a("footer",{key:"bb52300f3ba3568e0e325c7e620cb6f5c53cba37",class:{[O]:!0,[E]:this.readOnly,[V]:!t},ref:t=>this.footerEl=t},a("div",{key:"a5c5c250493dab203789dd27ce187c817006c5be",class:{[D]:!0,[_]:!this.startSlotHasElements&&this.endSlotHasElements}},a("slot",{key:"a54c7b6ca529475fa59cf1849213cd0ec7bf8f9c",name:"footer-start",onSlotchange:t=>this.startSlotHasElements=p(t)}),a("slot",{key:"e14af1362fd85e7461c42dd10dfd188d10f59ab0",name:"footer-end",onSlotchange:t=>this.endSlotHasElements=p(t)})),this.renderCharacterLimit()),a(n,{key:"b64b6dc288df7eadcf3eef9e17aa931732f4ad09",component:this}),this.isCharacterLimitExceeded()&&a("span",{key:"fb2017a6f21f4590934d9a1118e5dc5ee29e1dd5","aria-live":"polite",class:"assistive-text",id:this.guid},this.replacePlaceHoldersInMessages()),this.validationMessage&&"invalid"===this.status?a(M,{icon:this.validationIcon,id:R,message:this.validationMessage,scale:this.scale,status:this.status}):null))}async setFocus(){await z(this),this.textAreaEl.focus()}async selectText(){await g(this),this.textAreaEl.select()}effectiveLocaleChange(){L(this,this.effectiveLocale)}onLabelClick(){this.setFocus()}getLocalizedCharacterLength(){const t=this.value?this.value.length.toString():"0",e=this.maxLength.toString();return"latn"===this.numberingSystem?{currentLength:t,maxLength:e}:(v.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"never",useGrouping:this.groupSeparator},{currentLength:v.localize(t),maxLength:v.localize(e)})}syncHiddenFormInput(t){t.setCustomValidity(""),this.isCharacterLimitExceeded()&&t.setCustomValidity(this.replacePlaceHoldersInMessages()),W("textarea",this,t)}setTextAreaHeight(){const{textAreaHeight:t,elHeight:e,footerHeight:a}=this.getHeightAndWidthOfElements();a>0&&t+a!=e&&(this.textAreaEl.style.height=e-a+"px")}getHeightAndWidthOfElements(){const{height:t,width:e}=this.textAreaEl.getBoundingClientRect(),{height:a,width:i}=this.el.getBoundingClientRect(),{height:s,width:o}=this.footerEl.getBoundingClientRect();return{textAreaHeight:t,textAreaWidth:e,elHeight:a,elWidth:i,footerHeight:s,footerWidth:o}}replacePlaceHoldersInMessages(){return this.messages.tooLong.replace("{maxLength}",this.localizedCharacterLengthObj.maxLength).replace("{currentLength}",this.localizedCharacterLengthObj.currentLength)}isCharacterLimitExceeded(){return this.value?.length>this.maxLength}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{autofocus:["handleGlobalAttributesChanged"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};U.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:inline-block;block-size:100%;inline-size:100%;--calcite-internal-text-area-border-color:var(--calcite-text-area-border-color, var(--calcite-color-border-input));--calcite-internal-text-area-footer-border-color:var(\n --calcite-text-area-footer-border-color,\n var(--calcite-internal-text-area-border-color)\n )}.text-area,.footer{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));background-color:var(--calcite-text-area-background-color, var(--calcite-color-foreground-1));padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-md)}.text-area{position:relative;margin:0px;box-sizing:border-box;display:block;inline-size:100%;font-family:var(--calcite-font-family);--calcite-internal-text-area-border-block-end-color:var(--calcite-internal-text-area-border-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-border-color);border-block-end-color:var(--calcite-internal-text-area-border-block-end-color);color:var(--calcite-text-area-text-color, var(--calcite-color-text-1));font-family:var(--calcite-sans-family);max-block-size:var(--calcite-text-area-max-height);min-block-size:var(--calcite-text-area-min-height);max-inline-size:var(--calcite-text-area-max-width);min-inline-size:var(--calcite-text-area-min-width, 12rem)}.text-area::-moz-placeholder{font-weight:var(--calcite-font-weight-normal)}.text-area::placeholder{font-weight:var(--calcite-font-weight-normal)}@media screen and (max-width: 480px){.text-area{resize:none}}.text-area:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.text-area.text-area--invalid{--calcite-internal-text-area-border-color:var(--calcite-color-status-danger)}.text-area.text-area--invalid:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.text-area.footer--slotted{min-inline-size:18rem}.text-area:not(.text-area--only,.text-area--invalid){--calcite-internal-text-area-border-block-end-color:var(\n --calcite-text-area-divider-color,\n var(--calcite-color-border-3)\n )}.footer{box-sizing:border-box;display:flex;align-items:center;border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-footer-border-color);border-block-start:var(--calcite-border-width-none);min-block-size:2.25rem}.character-limit{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));font-weight:var(--calcite-font-weight-regular);color:var(--calcite-text-area-character-limit-text-color, var(--calcite-color-text-2));padding-inline-start:var(--calcite-spacing-md)}.character--over-limit{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-status-danger)}.readonly{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.content,.hide{display:none}.container{display:flex;inline-size:100%;justify-content:space-between}.footer--end-only{justify-content:flex-end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.text-area.text-area--only{block-size:100%}:host([resize=none]) .text-area{resize:none}:host([resize=horizontal]) .text-area{resize:horizontal}:host([resize=vertical]) .text-area{resize:vertical}:host([scale=s]) .text-area,:host([scale=s]) .footer,:host([scale=s]) .character-limit{padding-inline-start:0.5rem;font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--2))}:host([scale=s]) .footer{min-block-size:1.75rem}:host([scale=s]) .text-area{padding-block:0.25rem;padding-inline:0.5rem}:host([scale=m]) .text-area{padding-block:0.5rem;padding-inline:0.75rem}:host([scale=m]) .footer{padding-block:0.5rem;padding-inline:0.75rem;min-block-size:2.25rem}:host([scale=l]) .text-area,:host([scale=l]) .footer{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-0));padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-xl)}:host([scale=l]) .footer{min-block-size:2.75rem}:host([scale=l]) .text-area,:host([scale=l]) .footer,:host([scale=l]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-0));padding-inline-start:var(--calcite-spacing-xl)}:host([status=invalid]){--calcite-internal-text-area-border-color:var(--calcite-color-status-danger)}:host([status=invalid]) .text-area:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([disabled]) .text-area,:host([disabled]) .footer{opacity:var(--calcite-opacity-half)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";export{U as calcite_text_area}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{d as o}from"./p-82ee3b26.js";import{w as n}from"./p-26ba0cc7.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.13.2
11
- */const r=o;function t(o){return"opened"in o?o.opened:o.open}function e(o){r((()=>{o.transitionEl&&n(o.transitionEl,o.openTransitionProp,(()=>{t(o)?o.onBeforeOpen():o.onBeforeClose()}),(()=>{t(o)?o.onOpen():o.onClose()}))}))}export{e as o}
@@ -1,52 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,t as e,n as i,l as s,j as n,e as r,f as o,h as a,i as l,k as h,m as c,u,o as d,p as f,q as p,v as g,w as m,x as v,y as w,z as b,N as y,A as k,B as x,C as S,D as j,E as _,F as A,P as O,G as I,_ as $,H as T,I as E,J as C,K as U,M as P,O as R,Q as M,R as D,S as z,T as N,U as q,V as L,W as F,X as B,s as H,Y as V,Z as W,$ as J,a0 as G,a1 as X,a2 as Y,a3 as Z,a4 as K,a5 as Q,a6 as tt,a7 as et,a8 as it,a9 as st,aa as nt,ab as rt}from"./p-f876de3f.js";import{B as ot,N as at}from"./p-82ee3b26.js";const lt=()=>i.getLogger("esri.intl.substitute");function ht(t){switch(typeof t){case"string":return t;case"number":return s(t);case"boolean":return""+t;default:return t instanceof Date?n(t):""}}class ct{constructor(){this._emitter=new ct.EventEmitter(this)}emit(t,e){return this._emitter.emit(t,e)}on(t,e){return this._emitter.on(t,e)}once(t,e){return this._emitter.once(t,e)}hasEventListener(t){return this._emitter.hasEventListener(t)}}!function(t){class e{constructor(t=null){this._target=t,this._listenersMap=null}clear(){this._listenersMap?.clear(),this._listenersMap=null}destroy(){this.clear()}emit(t,e){let i=this._listenersMap?.get(t);if(!i)return!1;const s=this._target||this;let n=!1;for(const t of i.slice()){const i="deref"in t?t.deref():t;i?i?.call(s,e):n=!0}return n&&(i=i.filter((t=>!("deref"in t)||null!=t.deref())),this._listenersMap.set(t,i)),i.length>0}on(t,e){if(Array.isArray(t)){const i=t.map((t=>this.on(t,e)));return a(i)}if(t.includes(","))throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap??=new Map;const i=this._listenersMap.get(t)||[];return i.push(e),this._listenersMap.set(t,i),l((()=>{const i=this._listenersMap?.get(t),s=i?.indexOf(e)??-1;s>=0&&i.splice(s,1)}))}once(t,e){const i=this.on(t,(t=>{i.remove();const s="deref"in e?e.deref():e;s?.call(null,t)}));return i}hasEventListener(t){const e=this._listenersMap?.get(t);return null!=e&&e.length>0}}t.EventEmitter=e,t.EventedMixin=t=>{let i=class extends t{constructor(){super(...arguments),this._emitter=new e}destroy(){this._emitter.clear()}emit(t,e){return this._emitter.emit(t,e)}on(t,e){return this._emitter.on(t,e)}once(t,e){return this._emitter.once(t,e)}hasEventListener(t){return this._emitter.hasEventListener(t)}};return i=r([o("esri.core.Evented")],i),i};let i=class extends h{constructor(){super(...arguments),this._emitter=new ct.EventEmitter(this)}destroy(){this._emitter.clear()}emit(t,e){return this._emitter.emit(t,e)}on(t,e){return this._emitter.on(t,e)}once(t,e){return this._emitter.once(t,e)}hasEventListener(t){return this._emitter.hasEventListener(t)}};i=r([o("esri.core.Evented.EventedAccessor")],i),t.EventedAccessor=i}(ct||(ct={}));const ut=ct;var dt;!function(t){t[t.PENDING=0]="PENDING",t[t.RESOLVED=1]="RESOLVED",t[t.REJECTED=2]="REJECTED"}(dt||(dt={}));class ft{constructor(){this._resolver=c(),this._status=dt.PENDING,this._resolvingPromises=[],this._resolver.promise.then((()=>{this._status=dt.RESOLVED,this._cleanUp()}),(()=>{this._status=dt.REJECTED,this._cleanUp()})),this.promise=this._resolver.promise}destroy(){this._cleanUp()}addResolvingPromise(t){this._resolvingPromises.push(t),this._tryResolve()}isResolved(){return this._status===dt.RESOLVED}isRejected(){return this._status===dt.REJECTED}isFulfilled(){return this._status!==dt.PENDING}abort(){this._resolver.reject(u())}_cleanUp(){this._allPromise=null,this._resolvingPromises=null}_tryResolve(){if(this.isFulfilled())return;const t=c(),e=[...this._resolvingPromises,t.promise],i=this._allPromise=Promise.all(e);i.then((()=>{this.isFulfilled()||this._allPromise!==i||this._resolver.resolve()}),(t=>{this.isFulfilled()||this._allPromise!==i||d(t)||this._resolver.reject(t)})),t.resolve()}}const pt=t=>{let e=class extends t{constructor(...t){super(...t),this._promiseProps=new ft,this.addResolvingPromise(Promise.resolve())}destroy(){this._promiseProps.destroy()}isResolved(){return this._promiseProps.isResolved()}isRejected(){return this._promiseProps.isRejected()}isFulfilled(){return this._promiseProps.isFulfilled()}when(t,e){return this._promiseProps.promise.then((()=>this)).then(t,e)}catch(t){return this.when(null,t)}addResolvingPromise(t){t&&!this._promiseProps.isFulfilled()&&this._promiseProps.addResolvingPromise("_promiseProps"in t?t.when():t)}};return e=r([o("esri.core.Promise")],e),e};let gt=class extends(pt(h)){};gt=r([o("esri.core.Promise")],gt);let mt=class extends h{get value(){return function(t){return null!=t&&!0===t.ok?t.value:null}(this._result)}get error(){return function(t){return null!=t&&!1===t.ok?t.error:null}(this._result)}get finished(){return null!=this._result}constructor(t,e){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=p(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:i}=this._abortController;this.promise=t(i),this.promise.then((t=>{this._result=function(t){return{ok:!0,value:t}}(t),this._cleanup()}),(t=>{this._result=function(t){return{ok:!1,error:t}}(t),this._cleanup()})),this._abortHandle=g(e,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=m(this._abortHandle),this._abortController=null}};var vt,wt;function bt(t){return(e,i)=>{e[i]=t}}r([f()],mt.prototype,"value",null),r([f()],mt.prototype,"error",null),r([f()],mt.prototype,"finished",null),r([f()],mt.prototype,"promise",void 0),r([f()],mt.prototype,"_result",void 0),mt=r([o("esri.core.asyncUtils.ReactiveTask")],mt),function(t){t[t.ADD=1]="ADD",t[t.REMOVE=2]="REMOVE",t[t.MOVE=4]="MOVE"}(vt||(vt={}));class yt extends v{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}class kt{constructor(t,e,i,s,n){this.target=t,this.added=e,this.removed=i,this.start=s,this.deleteCount=n}}const xt=new w(class{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(t){this.defaultPrevented=!1,this.item=t}},void 0,(t=>{t.item=null,t.target=null,t.defaultPrevented=!1,t.cancellable=!1}));function St(t){t&&"object"==typeof t&&"destroy"in t&&"function"==typeof t.destroy&&t.destroy()}function jt(t){return t?t instanceof Ut?t.toArray():t.length?Array.prototype.slice.apply(t):[]:[]}function _t(t){if(t?.length)return t[0]}function At(t,e,i,s){const n=Math.min(t.length-i,e.length-s);let r=0;for(;r<n&&t[i+r]===e[s+r];)r++;return r}function Ot(t,e,i,s){e&&e.forEach(((e,n,r)=>{t.push(e),Ot(t,i.call(s,e,n,r),i,s)}))}const It=new Set,$t=new Set,Tt=new Set,Et=new Map;let Ct=0,Ut=wt=class extends ut.EventedAccessor{static isCollection(t){return null!=t&&t instanceof wt}constructor(t){super(t),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new yt,this.length=0,this._items=[],Object.defineProperty(this,"uid",{value:Ct++})}normalizeCtorArgs(t){return t?Array.isArray(t)||t instanceof wt?{items:t}:t:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),this._emitter.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get items(){return k(this._observable),this._items}set items(t){this._emitBeforeChanges(vt.ADD)||(this._splice(0,this.length,jt(t)),this._emitAfterChanges(vt.ADD))}hasEventListener(t){return!this.destroyed&&("change"===t?this._chgListeners.length>0:this._emitter.hasEventListener(t))}on(t,e){if(this.destroyed)return l();if("change"===t){const t=this._chgListeners,i={removed:!1,callback:e};return t.push(i),this._notifications&&this._notifications.push({listeners:t.slice(),items:this._items.slice(),changes:[]}),l((()=>{i.removed=!0,t.splice(t.indexOf(i),1)}))}return this._emitter.on(t,e)}once(t,e){const i="deref"in e?()=>e.deref():()=>e,s=this.on(t,(t=>{i()?.call(null,t),s.remove()}));return s}add(t,e){if(k(this._observable),this._emitBeforeChanges(vt.ADD))return this;const i=this.getNextIndex(e??null);return this._splice(i,0,[t]),this._emitAfterChanges(vt.ADD),this}addMany(t,e=this._items.length){if(k(this._observable),!t?.length)return this;if(this._emitBeforeChanges(vt.ADD))return this;const i=this.getNextIndex(e);return this._splice(i,0,jt(t)),this._emitAfterChanges(vt.ADD),this}at(t){if(k(this._observable),(t=Math.trunc(t)||0)<0&&(t+=this.length),!(t<0||t>=this.length))return this._items[t]}removeAll(){if(k(this._observable),!this.length||this._emitBeforeChanges(vt.REMOVE))return[];const t=this._removeAllRaw();return this._emitAfterChanges(vt.REMOVE),t}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return k(this._observable),this._createNewInstance({items:this._items.map(x)})}concat(...t){k(this._observable);const e=t.map(jt);return this._createNewInstance({items:this._items.concat(...e)})}drain(t,e){if(k(this._observable),!this.length||this._emitBeforeChanges(vt.REMOVE))return;const i=this._splice(0,this.length),s=i.length;for(let n=0;n<s;n++)t.call(e,i[n],n,i);this._emitAfterChanges(vt.REMOVE)}destroyAll(){this.drain(St)}destroyMany(t){const e=this.removeMany(t);return e.forEach(St),e}every(t,e){return k(this._observable),this._items.every(t,e)}filter(t,e){let i;return k(this._observable),i=2===arguments.length?this._items.filter(t,e):this._items.filter(t),this._createNewInstance({items:i})}find(t,e){return k(this._observable),this._items.find(t,e)}findIndex(t,e){return k(this._observable),this._items.findIndex(t,e)}flatten(t,e){k(this._observable);const i=[];return Ot(i,this,t,e),new wt(i)}forEach(t,e){return k(this._observable),this._items.forEach(t,e)}getItemAt(t){return k(this._observable),this._items[t]}getNextIndex(t){k(this._observable);const e=this.length;return(t=t??e)<0?t=0:t>e&&(t=e),t}includes(t,e=0){return k(this._observable),this._items.includes(t,e)}indexOf(t,e=0){return k(this._observable),this._items.indexOf(t,e)}join(t=","){return k(this._observable),this._items.join(t)}lastIndexOf(t,e=this.length-1){return k(this._observable),this._items.lastIndexOf(t,e)}map(t,e){k(this._observable);const i=this._items.map(t,e);return new wt({items:i})}reorder(t,e=this.length-1){k(this._observable);const i=this.indexOf(t);if(-1!==i){if(e<0?e=0:e>=this.length&&(e=this.length-1),i!==e){if(this._emitBeforeChanges(vt.MOVE))return t;this._splice(i,1),this._splice(e,0,[t]),this._emitAfterChanges(vt.MOVE)}return t}}pop(){if(k(this._observable),!this.length||this._emitBeforeChanges(vt.REMOVE))return;const t=_t(this._splice(this.length-1,1));return this._emitAfterChanges(vt.REMOVE),t}push(...t){return k(this._observable),this._emitBeforeChanges(vt.ADD)||(this._splice(this.length,0,t),this._emitAfterChanges(vt.ADD)),this.length}reduce(t,e){k(this._observable);const i=this._items;return 2===arguments.length?i.reduce(t,e):i.reduce(t)}reduceRight(t,e){k(this._observable);const i=this._items;return 2===arguments.length?i.reduceRight(t,e):i.reduceRight(t)}remove(t){return k(this._observable),this.removeAt(this.indexOf(t))}removeAt(t){if(k(this._observable),t<0||t>=this.length||this._emitBeforeChanges(vt.REMOVE))return;const e=_t(this._splice(t,1));return this._emitAfterChanges(vt.REMOVE),e}removeMany(t){if(k(this._observable),!t?.length||this._emitBeforeChanges(vt.REMOVE))return[];const e=t instanceof wt?t.toArray():t,i=this._items,s=[],n=e.length;for(let t=0;t<n;t++){const n=i.indexOf(e[t]);if(n>-1){const r=1+At(e,i,t+1,n+1),o=this._splice(n,r);o&&o.length>0&&s.push.apply(s,o),t+=r-1}}return this._emitAfterChanges(vt.REMOVE),s}reverse(){if(k(this._observable),this._emitBeforeChanges(vt.MOVE))return this;const t=this._splice(0,this.length);return t&&(t.reverse(),this._splice(0,0,t)),this._emitAfterChanges(vt.MOVE),this}shift(){if(k(this._observable),!this.length||this._emitBeforeChanges(vt.REMOVE))return;const t=_t(this._splice(0,1));return this._emitAfterChanges(vt.REMOVE),t}slice(t=0,e=this.length){return k(this._observable),this._createNewInstance({items:this._items.slice(t,e)})}some(t,e){return k(this._observable),this._items.some(t,e)}sort(t){if(k(this._observable),!this.length||this._emitBeforeChanges(vt.MOVE))return this;const e=this._splice(0,this.length);return arguments.length?e.sort(t):e.sort(),this._splice(0,0,e),this._emitAfterChanges(vt.MOVE),this}splice(t,e,...i){k(this._observable);const s=(e?vt.REMOVE:0)|(i.length?vt.ADD:0);if(this._emitBeforeChanges(s))return[];const n=this._splice(t,e,i)||[];return this._emitAfterChanges(s),n}toArray(){return k(this._observable),this._items.slice()}toJSON(){return k(this._observable),this.toArray()}toLocaleString(){return k(this._observable),this._items.toLocaleString()}toString(){return k(this._observable),""+this._items}unshift(...t){return k(this._observable),!t.length||this._emitBeforeChanges(vt.ADD)||(this._splice(0,0,t),this._emitAfterChanges(vt.ADD)),this.length}_createNewInstance(t){return new this.constructor(t)}_splice(t,e,i){const s=this._items,n=this.itemType;let r,o;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=S((()=>this._dispatchChange()))),t<0&&(t+=this.length),e){if(o=s.splice(t,e),this.hasEventListener("before-remove")){const e=xt.acquire();e.target=this,e.cancellable=!0;for(let i=0,n=o.length;i<n;i++)r=o[i],e.reset(r),this.emit("before-remove",e),e.defaultPrevented&&(o.splice(i,1),s.splice(t,0,r),t+=1,i-=1,n-=1);xt.release(e)}if(this.length=this._items.length,this.hasEventListener("after-remove")){const t=xt.acquire();t.target=this,t.cancellable=!1;const e=o.length;for(let i=0;i<e;i++)t.reset(o[i]),this.emit("after-remove",t);xt.release(t)}}if(i?.length){if(n){const t=[];for(const e of i){const i=n.ensureType(e);null==i&&null!=e||t.push(i)}i=t}const e=this.hasEventListener("before-add"),r=this.hasEventListener("after-add"),o=t===this.length;if(e||r){const n=xt.acquire();n.target=this,n.cancellable=!0;const a=xt.acquire();a.target=this,a.cancellable=!1;for(const l of i)e?(n.reset(l),this.emit("before-add",n),n.defaultPrevented||(o?s.push(l):s.splice(t++,0,l),this._set("length",s.length),r&&(a.reset(l),this.emit("after-add",a)))):(o?s.push(l):s.splice(t++,0,l),this._set("length",s.length),a.reset(l),this.emit("after-add",a));xt.release(a),xt.release(n)}else{if(o)for(const t of i)s.push(t);else s.splice(t,0,...i);this._set("length",s.length)}}if((i?.length||o?.length)&&this._notifyChangeEvent(i,o),this.hasEventListener("after-splice")){const s=new kt(this,i,o,t,e);this.emit("after-splice",s)}return o}_emitBeforeChanges(t){let e=!1;if(this.hasEventListener("before-changes")){const i=xt.acquire();i.target=this,i.cancellable=!0,i.type=t,this.emit("before-changes",i),e=i.defaultPrevented,xt.release(i)}return e}_emitAfterChanges(t){if(this.hasEventListener("after-changes")){const e=xt.acquire();e.target=this,e.cancellable=!1,e.type=t,this.emit("after-changes",e),xt.release(e)}this._observable.notify()}_notifyChangeEvent(t,e){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:t,removed:e})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;const t=this._notifications;this._notifications=null;for(const e of t){const t=e.changes;It.clear(),$t.clear(),Tt.clear();for(const{added:e,removed:i}of t){if(e)if(0===Tt.size&&0===$t.size)for(const t of e)It.add(t);else for(const t of e)$t.has(t)?(Tt.add(t),$t.delete(t)):Tt.has(t)||It.add(t);if(i)if(0===Tt.size&&0===It.size)for(const t of i)$t.add(t);else for(const t of i)It.has(t)?It.delete(t):(Tt.delete(t),$t.add(t))}const i=j.acquire();It.forEach((t=>{i.push(t)}));const s=j.acquire();$t.forEach((t=>{s.push(t)}));const n=this._items,r=e.items,o=j.acquire();if(Tt.forEach((t=>{r.indexOf(t)!==n.indexOf(t)&&o.push(t)})),e.listeners&&(i.length||s.length||o.length)){const t={target:this,added:i,removed:s,moved:o},n=e.listeners.length;for(let i=0;i<n;i++){const s=e.listeners[i];s.removed||s.callback.call(this,t)}}j.release(i),j.release(s),j.release(o)}It.clear(),$t.clear(),Tt.clear()}};function Pt(t,e,i={}){return Mt(t,e,i,Dt)}function Rt(t,e,i={}){return Mt(t,e,i,zt)}function Mt(t,e,i={},s){let n=null;const r=i.once?(t,i)=>{s(t)&&(m(n),e(t,i))}:(t,i)=>{s(t)&&e(t,i)};if(n=_(t,r,i.sync,i.equals),i.initial){const e=t();r(e,e)}return n}function Dt(){return!0}function zt(t){return!!t}Ut.ofType=t=>{if(!t)return wt;if(Et.has(t))return Et.get(t);let e=null;if("function"==typeof t)e=t.prototype.declaredClass;else if(t.base)e=t.base.prototype.declaredClass;else for(const i in t.typeMap){const s=t.typeMap[i].prototype.declaredClass;e?e+=" | "+s:e=s}let i=class extends wt{};return r([bt({Type:t,ensureType:"function"==typeof t?b(t):y(t)})],i.prototype,"itemType",void 0),i=r([o(`esri.core.Collection<${e}>`)],i),Et.set(t,i),i},r([f()],Ut.prototype,"_updating",void 0),r([f()],Ut.prototype,"length",void 0),r([f()],Ut.prototype,"items",null),r([f({readOnly:!0})],Ut.prototype,"updating",null),Ut=wt=r([o("esri.core.Collection")],Ut);const Nt={sync:!0,initial:!0},qt="randomUUID"in crypto,Lt=Object.prototype.toString;function Ft(t){const e="__accessorMetadata__"in t?b(t):t;return function(...t){if(t.push(e),"number"==typeof t[2])throw Error("Using @cast has parameter decorator is not supported since 4.16");return Bt.apply(this,t)}}function Bt(t,e,i,s){A(t,e).cast=s}
7
- /*!
8
- * @esri/arcgis-html-sanitizer - v4.1.0-next.3 - Wed Sep 25 2024 10:04:57 GMT-0400 (Eastern Daylight Time)
9
- * Copyright (c) 2024 - Environmental Systems Research Institute, Inc.
10
- * Apache-2.0
11
- *
12
- * js-xss
13
- * Copyright (c) 2012-2018 Zongmin Lei(雷宗民) <leizongmin@gmail.com>
14
- * http://ucdok.com
15
- * MIT License, see https://github.com/leizongmin/js-xss/blob/master/LICENSE for details
16
- */
17
- /*! *****************************************************************************
18
- Copyright (c) Microsoft Corporation.
19
-
20
- Permission to use, copy, modify, and/or distribute this software for any
21
- purpose with or without fee is hereby granted.
22
-
23
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
24
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
25
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
26
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
27
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
28
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
29
- PERFORMANCE OF THIS SOFTWARE.
30
- ***************************************************************************** */
31
- var Ht=function(){return Ht=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},Ht.apply(this,arguments)},Vt={exports:{}},Wt={},Jt={exports:{}},Gt={};function Xt(){return{"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1}}var Yt=/javascript\s*\:/gim;Gt.whiteList={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1},Gt.getDefaultWhiteList=Xt,Gt.onAttr=function(){},Gt.onIgnoreAttr=function(){},Gt.safeAttrValue=function(t,e){return Yt.test(e)?"":e};var Zt={indexOf:function(t,e){var i,s;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,s=t.length;i<s;i++)if(t[i]===e)return i;return-1},forEach:function(t,e,i){var s,n;if(Array.prototype.forEach)return t.forEach(e,i);for(s=0,n=t.length;s<n;s++)e.call(i,t[s],s,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(t){return String.prototype.trimRight?t.trimRight():t.replace(/(\s*$)/g,"")}},Kt=Zt,Qt=Gt,te=function(t,e){";"!==(t=Kt.trimRight(t))[t.length-1]&&(t+=";");var i=t.length,s=!1,n=0,r=0,o="";function a(){if(!s){var i=Kt.trim(t.slice(n,r)),a=i.indexOf(":");if(-1!==a){var l=Kt.trim(i.slice(0,a)),h=Kt.trim(i.slice(a+1));if(l){var c=e(n,o.length,l,h,i);c&&(o+=c+"; ")}}}n=r+1}for(;r<i;r++){var l=t[r];if("/"===l&&"*"===t[r+1]){var h=t.indexOf("*/",r+2);if(-1===h)break;n=(r=h+1)+1,s=!1}else"("===l?s=!0:")"===l?s=!1:";"===l?s||a():"\n"===l&&a()}return Kt.trim(o)};function ee(t){return null==t}function ie(t){t=function(t){var e={};for(var i in t)e[i]=t[i];return e}(t||{}),t.whiteList=t.whiteList||Qt.whiteList,t.onAttr=t.onAttr||Qt.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||Qt.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||Qt.safeAttrValue,this.options=t}ie.prototype.process=function(t){if(!(t=""+(t=t||"")))return"";var e=this.options,i=e.whiteList,s=e.onAttr,n=e.onIgnoreAttr,r=e.safeAttrValue;return te(t,(function(t,e,o,a,l){var h=i[o],c=!1;if(!0===h?c=h:"function"==typeof h?c=h(a):h instanceof RegExp&&(c=h.test(a)),!0!==c&&(c=!1),a=r(o,a)){var u,d={position:e,sourcePosition:t,source:l,isWhite:c};return c?ee(u=s(o,a,d))?o+":"+a:u:ee(u=n(o,a,d))?void 0:u}}))};var se=ie;!function(t,e){var i=Gt,s=se;for(var n in(e=t.exports=function(t,e){return new s(e).process(t)}).FilterCSS=s,i)e[n]=i[n]}(Jt,Jt.exports);var ne=Jt.exports,re={indexOf:function(t,e){var i,s;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,s=t.length;i<s;i++)if(t[i]===e)return i;return-1},forEach:function(t,e,i){var s,n;if(Array.prototype.forEach)return t.forEach(e,i);for(s=0,n=t.length;s<n;s++)e.call(i,t[s],s,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(t){var e=/\s|\n|\t/.exec(t);return e?e.index:-1}},oe=ne.getDefaultWhiteList,ae=re;var le=new(0,ne.FilterCSS);function he(t){return t.replace(ce,"&lt;").replace(ue,"&gt;")}var ce=/</g,ue=/>/g,de=/"/g,fe=/&quot;/g,pe=/&#([a-zA-Z0-9]*);?/gim,ge=/&colon;?/gim,me=/&newline;?/gim,ve=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,we=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,be=/u\s*r\s*l\s*\(.*/gi;function ye(t){return t.replace(de,"&quot;")}function ke(t){return t.replace(fe,'"')}function xe(t){return t.replace(pe,(function(t,e){return String.fromCharCode("x"===e[0]||"X"===e[0]?parseInt(e.substr(1),16):parseInt(e,10))}))}function Se(t){return t.replace(ge,":").replace(me," ")}function je(t){for(var e="",i=0,s=t.length;i<s;i++)e+=t.charCodeAt(i)<32?" ":t.charAt(i);return ae.trim(e)}function _e(t){return je(t=Se(t=xe(t=ke(t))))}function Ae(t){return he(t=ye(t))}Wt.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]},Wt.getDefaultWhiteList=function(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}},Wt.onTag=function(){},Wt.onIgnoreTag=function(){},Wt.onTagAttr=function(){},Wt.onIgnoreTagAttr=function(){},Wt.safeAttrValue=function(t,e,i,s){if(i=_e(i),"href"===e||"src"===e){if("#"===(i=ae.trim(i)))return"#";if("http://"!==i.substr(0,7)&&"https://"!==i.substr(0,8)&&"mailto:"!==i.substr(0,7)&&"tel:"!==i.substr(0,4)&&"data:image/"!==i.substr(0,11)&&"ftp://"!==i.substr(0,6)&&"./"!==i.substr(0,2)&&"../"!==i.substr(0,3)&&"#"!==i[0]&&"/"!==i[0])return""}else if("background"===e){if(ve.lastIndex=0,ve.test(i))return""}else if("style"===e){if(we.lastIndex=0,we.test(i))return"";if(be.lastIndex=0,be.test(i)&&(ve.lastIndex=0,ve.test(i)))return"";!1!==s&&(i=(s=s||le).process(i))}return Ae(i)},Wt.escapeHtml=he,Wt.escapeQuote=ye,Wt.unescapeQuote=ke,Wt.escapeHtmlEntities=xe,Wt.escapeDangerHtml5Entities=Se,Wt.clearNonPrintableCharacter=je,Wt.friendlyAttrValue=_e,Wt.escapeAttrValue=Ae,Wt.onIgnoreTagStripAll=function(){return""},Wt.StripTagBody=function(t,e){"function"!=typeof e&&(e=function(){});var i=!Array.isArray(t),s=[],n=!1;return{onIgnoreTag:function(r,o,a){if(function(e){return!!i||-1!==ae.indexOf(t,e)}(r)){if(a.isClosing){return s.push([!1!==n?n:a.position,a.position+10]),n=!1,"[/removed]"}return n||(n=a.position),"[removed]"}return e(r,o,a)},remove:function(t){var e="",i=0;return ae.forEach(s,(function(s){e+=t.slice(i,s[0]),i=s[1]})),e+=t.slice(i)}}},Wt.stripCommentTag=function(t){for(var e="",i=0;i<t.length;){var s=t.indexOf("\x3c!--",i);if(-1===s){e+=t.slice(i);break}e+=t.slice(i,s);var n=t.indexOf("--\x3e",s);if(-1===n)break;i=n+3}return e},Wt.stripBlankChar=function(t){var e=t.split("");return(e=e.filter((function(t){var e=t.charCodeAt(0);return!(127===e||e<=31&&10!==e&&13!==e)}))).join("")},Wt.cssFilter=le,Wt.getDefaultCSSWhiteList=oe;var Oe={},Ie=re;function $e(t){var e,i=Ie.spaceIndex(t);return e=t.slice(1,-1===i?-1:i+1),"/"===(e=Ie.trim(e).toLowerCase()).slice(0,1)&&(e=e.slice(1)),"/"===e.slice(-1)&&(e=e.slice(0,-1)),e}function Te(t){return"</"===t.slice(0,2)}var Ee=/[^a-zA-Z0-9\\_:.-]/gim;function Ce(t,e){for(;e<t.length;e++){var i=t[e];if(" "!==i)return"="===i?e:-1}}function Ue(t,e){for(;e<t.length;e++){var i=t[e];if(" "!==i)return"'"===i||'"'===i?e:-1}}function Pe(t,e){for(;e>0;e--){var i=t[e];if(" "!==i)return"="===i?e:-1}}function Re(t){return function(t){return'"'===t[0]&&'"'===t[t.length-1]||"'"===t[0]&&"'"===t[t.length-1]}(t)?t.substr(1,t.length-2):t}Oe.parseTag=function(t,e,i){var s="",n=0,r=!1,o=!1,a=0,l=t.length,h="",c="";t:for(a=0;a<l;a++){var u=t.charAt(a);if(!1===r){if("<"===u){r=a;continue}}else if(!1===o){if("<"===u){s+=i(t.slice(n,a)),r=a,n=a;continue}if(">"===u){s+=i(t.slice(n,r)),h=$e(c=t.slice(r,a+1)),s+=e(r,s.length,h,c,Te(c)),n=a+1,r=!1;continue}if('"'===u||"'"===u)for(var d=1,f=t.charAt(a-d);""===f.trim()||"="===f;){if("="===f){o=u;continue t}f=t.charAt(a-++d)}}else if(u===o){o=!1;continue}}return n<t.length&&(s+=i(t.substr(n))),s},Oe.parseAttr=function(t,e){var i=0,s=0,n=[],r=!1,o=t.length;function a(t,i){if(!((t=(t=Ie.trim(t)).replace(Ee,"").toLowerCase()).length<1)){var s=e(t,i||"");s&&n.push(s)}}for(var l=0;l<o;l++){var h,c=t.charAt(l);if(!1!==r||"="!==c)if(!1===r||l!==s){if(/\s|\n|\t/.test(c)){if(t=t.replace(/\s|\n|\t/g," "),!1===r){if(-1===(h=Ce(t,l))){a(Ie.trim(t.slice(i,l))),r=!1,i=l+1;continue}l=h-1;continue}if(-1===(h=Pe(t,l-1))){a(r,Re(Ie.trim(t.slice(i,l)))),r=!1,i=l+1;continue}}}else{if(-1===(h=t.indexOf(c,l+1)))break;a(r,Ie.trim(t.slice(s+1,h))),r=!1,i=(l=h)+1}else r=t.slice(i,l),s='"'===t.charAt(i=l+1)||"'"===t.charAt(i)?i:Ue(t,l+1)}return i<t.length&&(!1===r?a(t.slice(i)):a(r,Re(Ie.trim(t.slice(i))))),Ie.trim(n.join(" "))};var Me=ne.FilterCSS,De=Wt,ze=Oe.parseTag,Ne=Oe.parseAttr,qe=re;function Le(t){return null==t}function Fe(t){t=function(t){var e={};for(var i in t)e[i]=t[i];return e}(t||{}),t.stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=De.onIgnoreTagStripAll),t.whiteList=t.whiteList||t.allowList?function(t){var e={};for(var i in t)e[i.toLowerCase()]=Array.isArray(t[i])?t[i].map((function(t){return t.toLowerCase()})):t[i];return e}(t.whiteList||t.allowList):De.whiteList,t.onTag=t.onTag||De.onTag,t.onTagAttr=t.onTagAttr||De.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||De.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||De.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||De.safeAttrValue,t.escapeHtml=t.escapeHtml||De.escapeHtml,this.options=t,!1===t.css?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new Me(t.css))}Fe.prototype.process=function(t){if(!(t=""+(t=t||"")))return"";var e=this.options,i=e.whiteList,s=e.onTag,n=e.onIgnoreTag,r=e.onTagAttr,o=e.onIgnoreTagAttr,a=e.safeAttrValue,l=e.escapeHtml,h=this.cssFilter;e.stripBlankChar&&(t=De.stripBlankChar(t)),e.allowCommentTag||(t=De.stripCommentTag(t));var c=!1;e.stripIgnoreTagBody&&(c=De.StripTagBody(e.stripIgnoreTagBody,n),n=c.onIgnoreTag);var u=ze(t,(function(t,e,c,u,d){var f={sourcePosition:t,position:e,isClosing:d,isWhite:Object.prototype.hasOwnProperty.call(i,c)},p=s(c,u,f);if(!Le(p))return p;if(f.isWhite){if(f.isClosing)return"</"+c+">";var g=function(t){var e=qe.spaceIndex(t);if(-1===e)return{html:"",closing:"/"===t[t.length-2]};var i="/"===(t=qe.trim(t.slice(e+1,-1)))[t.length-1];return i&&(t=qe.trim(t.slice(0,-1))),{html:t,closing:i}}(u),m=i[c],v=Ne(g.html,(function(t,e){var i=-1!==qe.indexOf(m,t),s=r(c,t,e,i);return Le(s)?i?(e=a(c,t,e,h))?t+'="'+e+'"':t:Le(s=o(c,t,e,i))?void 0:s:s}));return u="<"+c,v&&(u+=" "+v),g.closing&&(u+=" /"),u+">"}return Le(p=n(c,u,f))?l(u):p}),l);return c&&(u=c.remove(u)),u};var Be=Fe;!function(t,e){var i=Wt,s=Oe,n=Be;function r(t,e){return new n(e).process(t)}(e=t.exports=r).filterXSS=r,e.FilterXSS=n,function(){for(var t in i)e[t]=i[t];for(var n in s)e[n]=s[n]}(),"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=t.exports)}(Vt,Vt.exports);var He=Vt.exports,Ve=function(){function t(t,e){var i,s=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=Ht(Ht({},He.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(t,e,i,n){return"a"===t&&"href"===e||("img"===t||"source"===t)&&"src"===e?s.sanitizeUrl(i):He.safeAttrValue(t,e,i,n)}},this._entityMap={"&":"&#x38;","<":"&#x3C;",">":"&#x3E;",'"':"&#x22;","'":"&#x27;","/":"&#x2F;"},t&&!e?i=t:t&&e?((i=Object.create(this.arcgisFilterOptions)).css={whiteList:this.arcgisCSSWhiteList},Object.keys(t).forEach((function(e){if("whiteList"===e)i.whiteList=s._extendObjectOfArrays([s.arcgisWhiteList,t.whiteList||{}]);else if("css"===e){var n=t.css.whiteList;null!=n&&t.css instanceof Object&&Object.keys(n).forEach((function(t){return i.css.whiteList[t]=n[t]}))}else i[e]=t[e]}))):((i=Object.create(this.arcgisFilterOptions)).whiteList=this.arcgisWhiteList,i.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=i,this._xssFilter=new He.FilterXSS(i)}return t.prototype.sanitize=function(t,e){switch(void 0===e&&(e={}),typeof t){case"number":return isNaN(t)||!isFinite(t)?null:t;case"boolean":return t;case"string":return this._xssFilter.process(t);case"object":return this._iterateOverObject(t,e);default:if(e.allowUndefined&&void 0===t)return;return null}},t.prototype.sanitizeUrl=function(t,e){var i=(null!=e?e:{}).isProtocolRequired,s=void 0===i||i,n=this._trim(t.substring(0,t.indexOf(":"))),r="/"===t,o=/^#/.test(t),a=n&&this.allowedProtocols.indexOf(n.toLowerCase())>-1;return r||o||a?He.escapeAttrValue(t):n||s?"":He.escapeAttrValue("https://".concat(t))},t.prototype.sanitizeHTMLAttribute=function(t,e,i,s){return"function"==typeof this.xssFilterOptions.safeAttrValue?this.xssFilterOptions.safeAttrValue(t,e,i,s):He.safeAttrValue(t,e,i,s)},t.prototype.validate=function(t,e){void 0===e&&(e={});var i=this.sanitize(t,e);return{isValid:t===i,sanitized:i}},t.prototype.encodeHTML=function(t){var e=this;return(t+"").replace(/[&<>"'\/]/g,(function(t){return e._entityMap[t]}))},t.prototype.encodeAttrValue=function(t){var e=/^[a-zA-Z0-9]$/;return(t+"").replace(/[\x00-\xFF]/g,(function(i,s){return e.test(i)?i:"&#x".concat(Number(t.charCodeAt(s)).toString(16),";")}))},t.prototype._extendObjectOfArrays=function(t){var e={};return t.forEach((function(t){Object.keys(t).forEach((function(i){e[i]=Array.isArray(t[i])&&Array.isArray(e[i])?e[i].concat(t[i]):t[i]}))})),e},t.prototype._iterateOverObject=function(t,e){var i=this;void 0===e&&(e={});try{var s=!1,n=void 0;if(Array.isArray(t))n=t.reduce((function(t,n){var r=i.validate(n,e);return r.isValid?t.concat([n]):(s=!0,t.concat([r.sanitized]))}),[]);else{if(!function(t){if("object"!=typeof t||null===t)return!1;if("[object Object]"!==Object.prototype.toString.call(t))return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t)){if(e.allowUndefined&&void 0===t)return;return null}n=Object.keys(t).reduce((function(n,r){var o=t[r],a=i.validate(o,e);return a.isValid?n[r]=o:(s=!0,n[r]=a.sanitized),n}),{})}return s?n:t}catch(t){return null}},t.prototype._trim=function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},t}();const We=new Map;function Je(){We.clear()}function Ge(t){We.delete(t)}function Xe(...t){const e=j.acquire();for(let i=0;i<t.length;i++){const s=t[i],n=typeof s;if("string"===n)e.push(s);else if(Array.isArray(s))e.push.apply(e,s);else if("object"===n)for(const t in s)s[t]&&e.push(t)}const i=e.join(" ");return j.release(e),i}(()=>{const t=new Map;new ResizeObserver((e=>{Je();for(const i of e)t.get(i.target)?.(i)}))})();const Ye=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"].reduce(((t,e)=>(t[e]=[],t)),{}),Ze=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],Ke=new Ve({whiteList:Ye,onTagAttr:(t,e,i)=>{const s=`${e}="${i}"`;if(Ze.includes(e))return s},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),Qe="http://www.w3.org/",ti=Qe+"2000/svg",ei=Qe+"1999/xlink";let ii=[],si=(t,e)=>{let i={};return Object.keys(t).forEach((e=>{i[e]=t[e]})),e&&Object.keys(e).forEach((t=>{i[t]=e[t]})),i},ni=(t,e)=>t.vnodeSelector===e.vnodeSelector&&(t.properties&&e.properties?t.properties.key===e.properties.key&&t.properties.bind===e.properties.bind:!t.properties&&!e.properties),ri=t=>{if("string"!=typeof t)throw Error("Style values must be strings")},oi=(t,e,i)=>{if(""!==e.vnodeSelector)for(let s=i;s<t.length;s++)if(ni(t[s],e))return s;return-1},ai=(t,e,i,s)=>{let n=t[e];if(""===n.vnodeSelector)return;let r=n.properties;if(!(r?void 0===r.key?r.bind:r.key:void 0))for(let r=0;r<t.length;r++)if(r!==e&&ni(t[r],n))throw Error(`${i.vnodeSelector} had a ${n.vnodeSelector} child ${"added"===s?s:"removed"}, but there is now more than one. You must add unique key properties to make them distinguishable.`)},li=t=>{if(t.properties){let e=t.properties.enterAnimation;e&&e(t.domNode,t.properties)}},hi=[],ci=!1,ui=t=>{(t.children||[]).forEach(ui),t.properties&&t.properties.afterRemoved&&t.properties.afterRemoved.call(t.properties.bind||t.properties,t.domNode)},di=()=>{ci=!1,hi.forEach(ui),hi.length=0},fi=t=>{hi.push(t),ci||(ci=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(di,{timeout:16}):setTimeout(di,16))},pi=t=>{let e=t.domNode;if(t.properties){let i=t.properties.exitAnimation;if(i){e.style.pointerEvents="none";let s=()=>{e.parentNode&&(e.parentNode.removeChild(e),fi(t))};return void i(e,s,t.properties)}}e.parentNode&&(e.parentNode.removeChild(e),fi(t))},gi=(t,e,i)=>{if(!e)return;let s=i.eventHandlerInterceptor,n=Object.keys(e),r=n.length;for(let o=0;o<r;o++){let r=n[o],a=e[r];if("className"===r)throw Error('Property "className" is not supported, use "class".');if("class"===r)yi(t,a,!0);else if("classes"===r){let e=Object.keys(a),i=e.length;for(let s=0;s<i;s++){let i=e[s];a[i]&&t.classList.add(i)}}else if("styles"===r){let e=Object.keys(a),s=e.length;for(let n=0;n<s;n++){let s=e[n],r=a[s];r&&(ri(r),i.styleApplyer(t,s,r))}}else if("key"!==r&&null!=a){let n=typeof a;"function"===n?(0===r.lastIndexOf("on",0)&&(s&&(a=s(r,a,t,e)),"oninput"===r&&function(){let t=a;a=function(e){t.call(this,e),e.target["oninput-value"]=e.target.value}}()),t[r]=a):i.namespace===ti?"href"===r?t.setAttributeNS(ei,r,a):t.setAttribute(r,a):"string"===n&&"value"!==r?"innerHTML"===r?t[r]=Ke.sanitize(a):mi(t)&&r in t?t[r]=a:t.setAttribute(r,a):t[r]=a}}};function mi(t){if(!(t instanceof Element&&t.tagName.includes("-")))return!1;const e=window.customElements.get(t.tagName.toLowerCase());return!!e&&t instanceof e}let vi,wi=(t,e,i)=>{((t,e,i)=>{if(e)for(let s of e)bi(s,t,void 0,i)})(t,e.children,i),e.text&&(t.textContent=e.text),gi(t,e.properties,i),e.properties&&e.properties.afterCreate&&e.properties.afterCreate.call(e.properties.bind||e.properties,t,i,e.vnodeSelector,e.properties,e.children)},bi=(t,e,i,s)=>{let n,r=0,o=t.vnodeSelector,a=e.ownerDocument;if(""===o)n=t.domNode=a.createTextNode(t.text),void 0!==i?e.insertBefore(n,i):e.appendChild(n);else{for(let l=0;l<=o.length;++l){let h=o.charAt(l);if(l===o.length||"."===h||"#"===h){let h=o.charAt(r-1),c=o.slice(r,l);"."===h?n.classList.add(c):"#"===h?n.id=c:("svg"===c&&(s=si(s,{namespace:ti})),void 0!==s.namespace?n=t.domNode=a.createElementNS(s.namespace,c):(n=t.domNode=t.domNode||a.createElement(c),"input"===c&&t.properties&&void 0!==t.properties.type&&n.setAttribute("type",t.properties.type)),void 0!==i?e.insertBefore(n,i):n.parentNode!==e&&e.appendChild(n)),r=l+1}}wi(n,t,s)}},yi=(t,e,i)=>{e&&e.split(" ").forEach((e=>{e&&t.classList.toggle(e,i)}))},ki=(t,e,i,s)=>{if(!i)return;let n=!1,r=Object.keys(i),o=r.length;for(let a=0;a<o;a++){let o=r[a],l=i[o],h=e[o];if("class"===o)h!==l&&(yi(t,h,!1),yi(t,l,!0));else if("classes"===o){let e=t.classList,i=Object.keys(l),s=i.length;for(let t=0;t<s;t++){let s=i[t],r=!!l[s];r!==!!h[s]&&(n=!0,r?e.add(s):e.remove(s))}}else if("styles"===o){let e=Object.keys(l),i=e.length;for(let r=0;r<i;r++){let i=e[r],o=l[i];o!==h[i]&&(n=!0,o?(ri(o),s.styleApplyer(t,i,o)):s.styleApplyer(t,i,""))}}else if(l||"string"!=typeof h||(l=""),"value"!==o||mi(t)){if(l!==h){let e=typeof l;"function"===e&&s.eventHandlerInterceptor||(s.namespace===ti?"href"===o?t.setAttributeNS(ei,o,l):t.setAttribute(o,l):"string"===e?"innerHTML"===o?t[o]=Ke.sanitize(l):"role"===o&&""===l?t.removeAttribute(o):mi(t)&&o in t?t[o]=l:t.setAttribute(o,l):t[o]!==l&&(t[o]=l),n=!0)}}else{let e=t[o];e!==l&&(t["oninput-value"]?e===t["oninput-value"]:l!==h)&&(t[o]=l,t["oninput-value"]=void 0),l!==h&&(n=!0)}}return n};vi=(t,e,i)=>{let s=t.domNode,n=!1;if(t===e)return!1;let r=!1;if(""===e.vnodeSelector){if(e.text!==t.text){let t=s.ownerDocument.createTextNode(e.text);return s.parentNode.replaceChild(t,s),e.domNode=t,n=!0,n}e.domNode=s}else 0===e.vnodeSelector.lastIndexOf("svg",0)&&(i=si(i,{namespace:ti})),t.text!==e.text&&(r=!0,void 0===e.text?s.removeChild(s.firstChild):s.textContent=e.text),e.domNode=s,r=((t,e,i,s,n)=>{if(i===s)return!1;let r,o=(i=i||ii).length,a=(s=s||ii).length,l=0,h=0,c=!1;for(;h<a;){let a=l<o?i[l]:void 0,u=s[h];if(void 0!==a&&ni(a,u))c=vi(a,u,n)||c,l++;else{let a=oi(i,u,l+1);if(a>=0){for(r=l;r<a;r++)pi(i[r]),ai(i,r,t,"removed");c=vi(i[a],u,n)||c,l=a+1}else bi(u,e,l<o?i[l].domNode:void 0,n),li(u),ai(s,h,t,"added")}h++}if(o>l)for(r=l;r<o;r++)pi(i[r]),ai(i,r,t,"removed");return c})(e,s,t.children,e.children,i)||r,r=ki(s,t.properties,e.properties,i)||r,e.properties&&e.properties.afterUpdate&&e.properties.afterUpdate.call(e.properties.bind||e.properties,s,i,e.vnodeSelector,e.properties,e.children);return r&&e.properties&&e.properties.updateAnimation&&e.properties.updateAnimation(s,e.properties,t.properties),n};let xi=(t,e)=>({getLastRender:()=>t,update:i=>{if(t.vnodeSelector!==i.vnodeSelector)throw Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");let s=t;t=i,vi(s,i,e)},domNode:t.domNode});const Si={namespace:void 0,performanceLogger:()=>{},eventHandlerInterceptor:void 0,styleApplyer:(t,e,i)=>{"-"===e.charAt(0)?t.style.setProperty(e,i):t.style[e]=i}};let ji=t=>si(Si,t),_i=(t,e,i)=>(i=ji(i),bi(e,t,void 0,i),xi(e,i)),Ai=(t,e,i)=>(i=ji(i),bi(e,t.parentNode,t,i),xi(e,i)),Oi=(t,e,i)=>(i=ji(i),e.domNode=t,wi(t,e,i),xi(e,i)),Ii=(t,e,i)=>(i=ji(i),bi(e,t.parentNode,t,i),t.parentNode.removeChild(t),xi(e,i));const $i={handleInterceptedEvent:(t,e,i,s)=>(t.scheduleRender(),e.properties["on"+s.type].call(e.properties.bind||i,s))},Ti={namespace:void 0,performanceLogger:()=>{},eventHandlerInterceptor:void 0,styleApplyer:(t,e,i)=>{"-"===e.charAt(0)?t.style.setProperty(e,i):t.style[e]=i}},Ei=(t,e,i=!1)=>{let s=t;return e.forEach(((t,n)=>{const r=s?.children?((t,e)=>t.find(e))(s.children,(e=>e.domNode===t)):void 0;i&&!r&&n!==e.length-1||(s=r)})),s},Ci="calcite-mode-auto",Ui="calcite-mode-dark",Pi={autoMode:Ci,darkMode:Ui,lightMode:"calcite-mode-light",rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateIn:"calcite-animate__in",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left",calciteAnimateInScale:"calcite-animate__in-scale"},Ri={filter:250,nextTick:0,resize:150,reposition:100};var Mi=Object.defineProperty,Di=new WeakMap,zi=t=>Di.get(t),Ni=(t,e)=>e in t,qi=(t,e)=>(0,console.error)(t,e),Li=new Map,Fi=new Map,Bi="undefined"!=typeof window?window:{},Hi=Bi.document||{head:{}},Vi=Bi.HTMLElement||class{},Wi={t:0,o:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,i,s)=>t.addEventListener(e,i,s),rel:(t,e,i,s)=>t.removeEventListener(e,i,s),ce:(t,e)=>new CustomEvent(t,e)},Ji=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),Gi=!1,Xi=[],Yi=[],Zi=(t,e)=>i=>{t.push(i),Gi||(Gi=!0,e&&4&Wi.t?ts(Qi):Wi.raf(Qi))},Ki=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){qi(t)}t.length=0},Qi=()=>{Ki(Xi),Ki(Yi),(Gi=Xi.length>0)&&Wi.raf(Qi)},ts=t=>Promise.resolve(void 0).then(t),es=Zi(Xi,!1),is=Zi(Yi,!0),ss=t=>{const e=new URL(t,Wi.o);return e.origin!==Bi.location.origin?e.href:e.pathname},ns={},rs=t=>"object"==(t=typeof t)||"function"===t;((t,e)=>{for(var i in e)Mi(t,i,{get:e[i],enumerable:!0})})({},{err:()=>as,map:()=>ls,ok:()=>os,unwrap:()=>ds,unwrapErr:()=>fs});var os=t=>({isOk:!0,isErr:!1,value:t}),as=t=>({isOk:!1,isErr:!0,value:t});function ls(t,e){if(t.isOk){const i=e(t.value);return i instanceof Promise?i.then((t=>os(t))):os(i)}if(t.isErr)return as(t.value);throw"should never get here"}var hs,cs,us,ds=t=>{if(t.isOk)return t.value;throw t.value},fs=t=>{if(t.isErr)return t.value;throw t.value},ps=(t,e,...i)=>{let s=null,n=null,r=null,o=!1,a=!1;const l=[],h=e=>{for(let i=0;i<e.length;i++)s=e[i],Array.isArray(s)?h(s):null!=s&&"boolean"!=typeof s&&((o="function"!=typeof t&&!rs(s))&&(s+=""),o&&a?l[l.length-1].l+=s:l.push(o?gs(null,s):s),a=o)};if(h(i),e){e.key&&(n=e.key),e.name&&(r=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,l,vs);const c=gs(t,null);return c.h=e,l.length>0&&(c.m=l),c.v=n,c.k=r,c},gs=(t,e)=>({t:0,S:t,l:e,j:null,m:null,h:null,v:null,k:null}),ms={},vs={forEach:(t,e)=>t.map(ws).forEach(e),map:(t,e)=>t.map(ws).map(e).map(bs)},ws=t=>({vattrs:t.h,vchildren:t.m,vkey:t.v,vname:t.k,vtag:t.S,vtext:t.l}),bs=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),ps(t.vtag,e,...t.vchildren||[])}const e=gs(t.vtag,t.vtext);return e.h=t.vattrs,e.m=t.vchildren,e.v=t.vkey,e.k=t.vname,e},ys=(t,e,i)=>{const s=(t=>zi(t).$hostElement$)(t);return{emit:t=>ks(s,e,{bubbles:!!(4&i),composed:!!(2&i),cancelable:!!(1&i),detail:t})}},ks=(t,e,i)=>{const s=Wi.ce(e,i);return t.dispatchEvent(s),s},xs=new WeakMap,Ss=t=>"sc-"+t._,js=(t,e,i,s,n,r)=>{if(i!==s){let o=Ni(t,e),a=e.toLowerCase();if("class"===e){const e=t.classList,n=As(i),r=As(s);e.remove(...n.filter((t=>t&&!r.includes(t)))),e.add(...r.filter((t=>t&&!n.includes(t))))}else if("style"===e){for(const e in i)s&&null!=s[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in s)i&&s[e]===i[e]||(e.includes("-")?t.style.setProperty(e,s[e]):t.style[e]=s[e])}else if("key"===e);else if("ref"===e)s&&s(t);else if(o||"o"!==e[0]||"n"!==e[1]){const a=rs(s);if((o||a&&null!==s)&&!n)try{if(t.tagName.includes("-"))t[e]=s;else{const n=null==s?"":s;"list"===e?o=!1:null!=i&&t[e]==n||(t[e]=n)}}catch(t){}null==s||!1===s?!1===s&&""!==t.getAttribute(e)||t.removeAttribute(e):(!o||4&r||n)&&!a&&t.setAttribute(e,s=!0===s?"":s)}else if(e="-"===e[2]?e.slice(3):Ni(Bi,a)?a.slice(2):a[2]+e.slice(3),i||s){const n=e.endsWith(Os);e=e.replace(Is,""),i&&Wi.rel(t,e,i,n),s&&Wi.ael(t,e,s,n)}}},_s=/\s/,As=t=>t?t.split(_s):[],Os="Capture",Is=RegExp(Os+"$"),$s=(t,e,i)=>{const s=11===e.j.nodeType&&e.j.host?e.j.host:e.j,n=t&&t.h||ns,r=e.h||ns;for(const t of Ts(Object.keys(n)))t in r||js(s,t,n[t],void 0,i,e.t);for(const t of Ts(Object.keys(r)))js(s,t,n[t],r[t],i,e.t)};function Ts(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Es=!1,Cs=!1,Us=!1,Ps=!1,Rs=(t,e,i,s)=>{var n;const r=e.m[i];let o,a,l,h=0;if(Es||(Us=!0,"slot"===r.S&&(hs&&s.classList.add(hs+"-s"),r.t|=r.m?2:1)),null!==r.l)o=r.j=Hi.createTextNode(r.l);else if(1&r.t)o=r.j=Hi.createTextNode("");else{if(Ps||(Ps="svg"===r.S),o=r.j=Hi.createElementNS(Ps?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Es&&ot.slotRelocation&&2&r.t?"slot-fb":r.S),Ps&&"foreignObject"===r.S&&(Ps=!1),$s(null,r,Ps),!!o.getRootNode().querySelector("body")&&ot.scoped&&null!=hs&&o["s-si"]!==hs&&o.classList.add(o["s-si"]=hs),Ys(o,s),r.m)for(h=0;h<r.m.length;++h)a=Rs(t,r,h,o),a&&o.appendChild(a);"svg"===r.S?Ps=!1:"foreignObject"===o.tagName&&(Ps=!0)}return o["s-hn"]=us,3&r.t&&(o["s-sr"]=!0,o["s-cr"]=cs,o["s-sn"]=r.k||"",o["s-rf"]=null==(n=r.h)?void 0:n.ref,l=t&&t.m&&t.m[i],l&&l.S===r.S&&t.j&&Ms(t.j,!1)),o},Ms=(t,e)=>{Wi.t|=1;const i=Array.from(t.childNodes);if(t["s-sr"]&&ot.experimentalSlotFixes){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===us&&i.push(e)}for(let t=i.length-1;t>=0;t--){const s=i[t];s["s-hn"]!==us&&s["s-ol"]&&(Gs(Ls(s),s,qs(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,Us=!0),e&&Ms(s,e)}Wi.t&=-2},Ds=(t,e,i,s,n,r)=>{let o,a=t["s-cr"]&&t["s-cr"].parentNode||t;for(a.shadowRoot&&a.tagName===us&&(a=a.shadowRoot);n<=r;++n)s[n]&&(o=Rs(null,i,n,t),o&&(s[n].j=o,Gs(a,o,qs(e))))},zs=(t,e,i)=>{for(let s=e;s<=i;++s){const e=t[s];if(e){const t=e.j;Js(e),t&&(Cs=!0,t["s-ol"]?t["s-ol"].remove():Ms(t,!0),t.remove())}}},Ns=(t,e,i=!1)=>!(t.S!==e.S||("slot"===t.S?"A"in t&&i&&8!==t.j.nodeType||t.k!==e.k:!i&&t.v!==e.v)),qs=t=>t&&t["s-ol"]||t,Ls=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,Fs=(t,e,i=!1)=>{const s=e.j=t.j,n=t.m,r=e.m,o=e.S,a=e.l;let l;null===a?(Ps="svg"===o||"foreignObject"!==o&&Ps,("slot"!==o||Es)&&$s(t,e,Ps),null!==n&&null!==r?((t,e,i,s,n=!1)=>{let r,o,a=0,l=0,h=0,c=0,u=e.length-1,d=e[0],f=e[u],p=s.length-1,g=s[0],m=s[p];for(;a<=u&&l<=p;)if(null==d)d=e[++a];else if(null==f)f=e[--u];else if(null==g)g=s[++l];else if(null==m)m=s[--p];else if(Ns(d,g,n))Fs(d,g,n),d=e[++a],g=s[++l];else if(Ns(f,m,n))Fs(f,m,n),f=e[--u],m=s[--p];else if(Ns(d,m,n))"slot"!==d.S&&"slot"!==m.S||Ms(d.j.parentNode,!1),Fs(d,m,n),Gs(t,d.j,f.j.nextSibling),d=e[++a],m=s[--p];else if(Ns(f,g,n))"slot"!==d.S&&"slot"!==m.S||Ms(f.j.parentNode,!1),Fs(f,g,n),Gs(t,f.j,d.j),f=e[--u],g=s[++l];else{for(h=-1,c=a;c<=u;++c)if(e[c]&&null!==e[c].v&&e[c].v===g.v){h=c;break}h>=0?(o=e[h],o.S!==g.S?r=Rs(e&&e[l],i,h,t):(Fs(o,g,n),e[h]=void 0,r=o.j),g=s[++l]):(r=Rs(e&&e[l],i,l,t),g=s[++l]),r&&Gs(Ls(d.j),r,qs(d.j))}a>u?Ds(t,null==s[p+1]?null:s[p+1].j,i,s,l,p):l>p&&zs(e,a,u)})(s,n,e,r,i):null!==r?(null!==t.l&&(s.textContent=""),Ds(s,null,e,r,0,r.length-1)):!i&&ot.updatable&&null!==n&&zs(n,0,n.length-1),Ps&&"svg"===o&&(Ps=!1)):(l=s["s-cr"])?l.parentNode.textContent=a:t.l!==a&&(s.data=a)},Bs=t=>{const e=t.childNodes;for(const t of e)if(1===t.nodeType){if(t["s-sr"]){const i=t["s-sn"];t.hidden=!1;for(const s of e)if(s!==t)if(s["s-hn"]!==t["s-hn"]||""!==i){if(1===s.nodeType&&(i===s.getAttribute("slot")||i===s["s-sn"])||3===s.nodeType&&i===s["s-sn"]){t.hidden=!0;break}}else if(1===s.nodeType||3===s.nodeType&&""!==s.textContent.trim()){t.hidden=!0;break}}Bs(t)}},Hs=[],Vs=t=>{let e,i,s;for(const n of t.childNodes){if(n["s-sr"]&&(e=n["s-cr"])&&e.parentNode){i=e.parentNode.childNodes;const t=n["s-sn"];for(s=i.length-1;s>=0;s--)if(e=i[s],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==n["s-hn"]&&!ot.experimentalSlotFixes)if(Ws(e,t)){let i=Hs.find((t=>t.O===e));Cs=!0,e["s-sn"]=e["s-sn"]||t,i?(i.O["s-sh"]=n["s-hn"],i.I=n):(e["s-sh"]=n["s-hn"],Hs.push({I:n,O:e})),e["s-sr"]&&Hs.map((t=>{Ws(t.O,e["s-sn"])&&(i=Hs.find((t=>t.O===e)),i&&!t.I&&(t.I=i.I))}))}else Hs.some((t=>t.O===e))||Hs.push({O:e})}1===n.nodeType&&Vs(n)}},Ws=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,Js=t=>{t.h&&t.h.ref&&t.h.ref(null),t.m&&t.m.map(Js)},Gs=(t,e,i)=>{const s=null==t?void 0:t.insertBefore(e,i);return Ys(e,t),s},Xs=t=>{const e=[];return t&&e.push(...t["s-scs"]||[],t["s-si"],t["s-sc"],...Xs(t.parentElement)),e},Ys=(t,e,i=!1)=>{var s;if(t&&e&&1===t.nodeType){const n=new Set(Xs(e).filter(Boolean));if(n.size&&(null==(s=t.classList)||s.add(...t["s-scs"]=[...n]),t["s-ol"]||i))for(const e of Array.from(t.childNodes))Ys(e,t,!0)}},Zs=(t,e)=>{e&&!t.$&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.$=e)))},Ks=(t,e)=>{if(t.t|=16,!(4&t.t))return Zs(t,t.T),is((()=>Qs(t,e)));t.t|=512},Qs=(t,e)=>{const i=t.C;if(!i)throw Error(`Can't render component <${t.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return e?(t.t|=256,t.U&&(t.U.map((([t,e])=>ln(i,t,e))),t.U=void 0),s=ln(i,"componentWillLoad")):s=ln(i,"componentWillUpdate"),s=tn(s,(()=>ln(i,"componentWillRender"))),tn(s,(()=>sn(t,i,e)))},tn=(t,e)=>en(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),en=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,sn=async(t,e,i)=>{var s;const n=t.$hostElement$,r=n["s-rc"];i&&(t=>{const e=t.P,i=t.$hostElement$,s=e.t,n=((t,e)=>{var i;const s=Ss(e),n=Fi.get(s);if(t=11===t.nodeType?t:Hi,n)if("string"==typeof n){let r,o=xs.get(t=t.head||t);if(o||xs.set(t,o=new Set),!o.has(s)){{r=Hi.createElement("style"),r.innerHTML=n;const s=null!=(i=Wi.R)?i:function(){var t,e,i;return null!=(i=null==(e=null==(t=Hi.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?i:void 0}();null!=s&&r.setAttribute("nonce",s),(!(1&e.t)||1&e.t&&"HEAD"!==t.nodeName)&&t.insertBefore(r,t.querySelector("link"))}4&e.t&&(r.innerHTML+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),o&&o.add(s)}}else t.adoptedStyleSheets.includes(n)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,n]);return s})(i.shadowRoot?i.shadowRoot:i.getRootNode(),e);10&s&&2&s&&(i["s-sc"]=n,i.classList.add(n+"-h"),2&s&&i.classList.add(n+"-s"))})(t);nn(t,e,n,i),r&&(r.map((t=>t())),n["s-rc"]=void 0);{const e=null!=(s=n["s-p"])?s:[],i=()=>rn(t);0===e.length?i():(Promise.all(e).then(i),t.t|=4,e.length=0)}},nn=(t,e,i,s)=>{try{e=e.render(),t.t&=-17,t.t|=2,((t,e,i=!1)=>{var s,n,r,o;const a=t.$hostElement$,l=t.P,h=t.M||gs(null,null),c=(t=>t&&t.S===ms)(e)?e:ps(null,null,e);if(us=a.tagName,l.D&&(c.h=c.h||{},l.D.map((([t,e])=>c.h[e]=a[t]))),i&&c.h)for(const t of Object.keys(c.h))a.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(c.h[t]=a[t]);if(c.S=null,c.t|=4,t.M=c,c.j=h.j=a.shadowRoot||a,hs=a["s-sc"],Es=!!(1&l.t),cs=a["s-cr"],Cs=!1,Fs(h,c,i),Wi.t|=1,Us){Vs(c.j);for(const t of Hs){const e=t.O;if(!e["s-ol"]){const t=Hi.createTextNode("");t["s-nr"]=e,Gs(e.parentNode,e["s-ol"]=t,e)}}for(const t of Hs){const e=t.O,a=t.I;if(a){const t=a.parentNode;let i=a.nextSibling;{let r=null==(s=e["s-ol"])?void 0:s.previousSibling;for(;r;){let s=null!=(n=r["s-nr"])?n:null;if(s&&s["s-sn"]===e["s-sn"]&&t===s.parentNode){for(s=s.nextSibling;s===e||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){i=s;break}}r=r.previousSibling}}(!i&&t!==e.parentNode||e.nextSibling!==i)&&e!==i&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),Gs(t,e,i),1===e.nodeType&&(e.hidden=null!=(r=e["s-ih"])&&r)),e&&"function"==typeof a["s-rf"]&&a["s-rf"](e)}else 1===e.nodeType&&(i&&(e["s-ih"]=null!=(o=e.hidden)&&o),e.hidden=!0)}}Cs&&Bs(c.j),Wi.t&=-2,Hs.length=0,cs=void 0})(t,e,s)}catch(e){qi(e,t.$hostElement$)}return null},rn=t=>{const e=t.$hostElement$,i=t.C,s=t.T;ln(i,"componentDidRender"),64&t.t?ln(i,"componentDidUpdate"):(t.t|=64,hn(e),ln(i,"componentDidLoad"),t.N(e),s||an()),t.q(e),t.$&&(t.$(),t.$=void 0),512&t.t&&ts((()=>Ks(t,!1))),t.t&=-517},on=t=>{{const e=zi(t),i=e.$hostElement$.isConnected;return i&&2==(18&e.t)&&Ks(e,!1),i}},an=()=>{hn(Hi.documentElement),ts((()=>ks(Bi,"appload",{detail:{namespace:at}})))},ln=(t,e,i)=>{if(t&&t[e])try{return t[e](i)}catch(t){qi(t)}},hn=t=>{var e;return t.classList.add(null!=(e=ot.hydratedSelectorName)?e:"hydrated")},cn=(t,e,i)=>{var s,n;const r=t.prototype;if(e.L||e.F||t.watchers){t.watchers&&!e.F&&(e.F=t.watchers);const o=Object.entries(null!=(s=e.L)?s:{});if(o.map((([t,[s]])=>{31&s||2&i&&32&s?Object.defineProperty(r,t,{get(){return((t,e)=>zi(this).B.get(e))(0,t)},set(i){((t,e,i,s)=>{const n=zi(t);if(!n)throw Error(`Couldn't find host element for "${s._}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=n.$hostElement$,o=n.B.get(e),a=n.t,l=n.C;if(i=((t,e)=>null==t||rs(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t)(i,s.L[e][0]),(!(8&a)||void 0===o)&&i!==o&&(!Number.isNaN(o)||!Number.isNaN(i))&&(n.B.set(e,i),l)){if(s.F&&128&a){const t=s.F[e];t&&t.map((t=>{try{l[t](i,o,e)}catch(t){qi(t,r)}}))}if(2==(18&a)){if(l.componentShouldUpdate&&!1===l.componentShouldUpdate(i,o,e))return;Ks(n,!1)}}})(this,t,i,e)},configurable:!0,enumerable:!0}):1&i&&64&s&&Object.defineProperty(r,t,{value(...e){var i;const s=zi(this);return null==(i=null==s?void 0:s.H)?void 0:i.then((()=>{var i;return null==(i=s.C)?void 0:i[t](...e)}))}})})),1&i){const i=new Map;r.attributeChangedCallback=function(t,s,n){Wi.jmp((()=>{var o;const a=i.get(t);if(this.hasOwnProperty(a))n=this[a],delete this[a];else{if(r.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==n)return;if(null==a){const i=zi(this),r=null==i?void 0:i.t;if(r&&!(8&r)&&128&r&&n!==s){const r=i.C,a=null==(o=e.F)?void 0:o[t];null==a||a.forEach((e=>{null!=r[e]&&r[e].call(r,n,s,t)}))}return}}this[a]=(null!==n||"boolean"!=typeof this[a])&&n}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(n=e.F)?n:{}),...o.filter((([t,e])=>15&e[0])).map((([t,s])=>{var n;const r=s[1]||t;return i.set(r,t),512&s[0]&&(null==(n=e.D)||n.push([t,r])),r}))]))}}return t},un=t=>{ln(t,"connectedCallback")},dn=t=>{ln(t,"disconnectedCallback")},fn=(t,e)=>{const i={t:e[0],_:e[1]};i.L=e[2],i.V=e[3],i.F=t.F,i.D=[];const s=t.prototype.connectedCallback,n=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__registerHost(){((t,e)=>{const i={t:0,$hostElement$:t,P:e,B:new Map};i.H=new Promise((t=>i.q=t)),i.W=new Promise((t=>i.N=t)),t["s-p"]=[],t["s-rc"]=[],Di.set(t,i)})(this,i)},connectedCallback(){gn(this,zi(this),i.V),(t=>{if(!(1&Wi.t)){const e=zi(t),i=e.P,s=()=>{};if(1&e.t)gn(t,e,i.V),(null==e?void 0:e.C)?un(e.C):(null==e?void 0:e.W)&&e.W.then((()=>un(e.C)));else{e.t|=1,12&i.t&&(t=>{const e=t["s-cr"]=Hi.createComment("");e["s-cn"]=!0,Gs(t,e,t.firstChild)})(t);{let i=t;for(;i=i.parentNode||i.host;)if(i["s-p"]){Zs(e,e.T=i);break}}i.L&&Object.entries(i.L).map((([e,[i]])=>{if(31&i&&t.hasOwnProperty(e)){const i=t[e];delete t[e],t[e]=i}})),(async(t,e,i)=>{let s;if(!(32&e.t)){if(e.t|=32,i.J){const t=(t=>{const e=t._.replace(/-/g,"_"),i=t.J;if(!i)return;const s=Li.get(i);return s?s[e]:import(`./${i}.entry.js`).then((t=>(Li.set(i,t),t[e])),qi)
32
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(i);if(t&&"then"in t){const e=()=>{};s=await t,e()}else s=t;if(!s)throw Error(`Constructor for "${i._}#${e.G}" was not found`);s.isProxied||(i.F=s.watchers,cn(s,i,2),s.isProxied=!0);const n=()=>{};e.t|=8;try{new s(e)}catch(t){qi(t)}e.t&=-9,e.t|=128,n(),un(e.C)}else s=t.constructor,customElements.whenDefined(t.localName).then((()=>e.t|=128));if(s&&s.style){let t;"string"==typeof s.style&&(t=s.style);const e=Ss(i);if(!Fi.has(e)){const s=()=>{};((t,e,i)=>{let s=Fi.get(t);Ji&&i?(s=s||new CSSStyleSheet,"string"==typeof s?s=e:s.replaceSync(e)):s=e,Fi.set(t,s)})(e,t,!!(1&i.t)),s()}}}const n=e.T,r=()=>Ks(e,!0);n&&n["s-rc"]?n["s-rc"].push(r):r()})(t,e,i)}s()}})(this),s&&s.call(this)},disconnectedCallback(){(async()=>{if(!(1&Wi.t)){const t=zi(this);t.X&&(t.X.map((t=>t())),t.X=void 0),(null==t?void 0:t.C)?dn(t.C):(null==t?void 0:t.W)&&t.W.then((()=>dn(t.C)))}})(),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${i._}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else this.attachShadow({mode:"open",delegatesFocus:!!(16&i.t)})}}),t.is=i._,cn(t,i,3)},pn=(t,e)=>e,gn=(t,e,i)=>{i&&i.map((([i,s,n])=>{const r=vn(t,i),o=mn(e,n),a=wn(i);Wi.ael(r,s,o,a),(e.X=e.X||[]).push((()=>Wi.rel(r,s,o,a)))}))},mn=(t,e)=>i=>{var s;try{256&t.t?null==(s=t.C)||s[e](i):(t.U=t.U||[]).push([e,i])}catch(t){qi(t)}},vn=(t,e)=>4&e?Hi:8&e?Bi:16&e?Hi.body:t,wn=t=>({passive:!!(1&t),capture:!!(2&t)})
33
- /*!
34
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
35
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
36
- * v2.13.2
37
- */;const bn=globalThis.calciteConfig,yn=bn?.focusTrapStack||[],kn="2.13.2",xn=()=>"undefined"!=typeof navigator&&"undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document
38
- /*!
39
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
40
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
41
- * v2.13.2
42
- */;function Sn(){const{classList:t}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,i=()=>t.contains(Ui)||t.contains(Ci)&&e?"dark":"light",s=t=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:t}})),n=t=>{r!==t&&s(t),r=t};let r=i();s(r),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(t=>n(t.matches?"dark":"light"))),new MutationObserver((()=>n(i()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}let jn;xn()&&("interactive"===document.readyState?Sn():document.addEventListener("DOMContentLoaded",(()=>Sn()),{once:!0})),function(){if(bn&&bn.version)return;console.info(`Using Calcite Components ${kn} [Date: 2024-10-24, Revision: e38e2977d]`);const t=bn||globalThis.calciteConfig||{};Object.defineProperty(t,"version",{value:kn,writable:!1}),globalThis.calciteConfig=t}
43
- /*!
44
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
45
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
46
- * v2.13.2
47
- */(),jn="components/assets";const _n=Symbol("widget"),An=Symbol("widget-test-data"),On=[],In={},$n=new WeakMap;function Tn(t,e){let i=e.children;if(i?.length)for(let e=0;e<i.length;++e)i[e]=Tn(t,i[e]);else i=On;const s=e.vnodeSelector;if(Pn(s)){const n=e.properties||In,r=n.key||s,o={key:r,afterCreate:En,afterUpdate:Cn,afterRemoved:Un,parentWidget:t,widgetConstructor:s,widgetProperties:{...n,key:r,children:i}};return{vnodeSelector:s.vnodeSelector,properties:o,children:void 0,text:void 0,domNode:null}}return e}function En(t,e,i,{parentWidget:s,widgetConstructor:n,widgetProperties:r}){const o=new n(r);o.container=t,$n.set(t,o),o.afterCreate?.(o,t),s.addHandles(l((()=>Un(t)))),queueMicrotask((()=>{o[An].projector.renderNow()}))}function Cn(t,e,i,{widgetProperties:s}){const n=$n.get(t);n&&(n.set(s),n.afterUpdate?.(n,t))}function Un(t){const e=$n.get(t);e&&(e.afterRemoved?.(e,t),e.destroy(),$n.delete(t))}function Pn(t){return"function"==typeof t&&t[_n]}const Rn=new Set;var Mn;let Dn=0;function zn(t,e){const i=Object.prototype.hasOwnProperty;for(const s in e)i.call(e,s)&&i.call(t,s)&&(null!=t[s]&&null!=e[s]&&"object"==typeof t[s]&&"object"==typeof e[s]?zn(t[s],e[s]):t[s]=e[s]);return t}const Nn=(t=>{let e;const i={...$i,...t},s=(t=>({...Ti,...t}))(i),n=s.performanceLogger;let r,o=!0,a=!1;const l=[],h=[],c=(t,r,o)=>{let a;s.eventHandlerInterceptor=()=>function(t){let s;n("domEvent",t);const r=((t,e)=>{const i=[];for(;t&&t!==e;)i.push(t),t=t.parentNode;return i})(t.currentTarget,a.domNode),o=r.some((t=>customElements.get(t?.tagName?.toLowerCase())));if(t.eventPhase!==Event.CAPTURING_PHASE&&o){const e=t.composedPath(),i=e.slice(e.indexOf(t.currentTarget),e.indexOf(a.domNode)).reverse();s=Ei(a.getLastRender(),i,!0)}else r.reverse(),s=Ei(a.getLastRender(),r);let l;return s&&(l=i.handleInterceptedEvent(e,s,this,t)),n("domEventProcessed",t),l},i.postProcessProjectionOptions?.(s);const c=o();a=t(r,c,s),s.eventHandlerInterceptor=void 0,l.push(a),h.push(o),i.afterFirstVNodeRendered&&i.afterFirstVNodeRendered(a,c)};let u=()=>{if(r=void 0,o){o=!1,n("renderStart",void 0);for(let t=0;t<l.length;t++){const e=h[t]();n("rendered",void 0);try{l[t].update(e)}catch(t){console.error(t)}n("patched",void 0)}n("renderDone",void 0),o=!0}};return i.modifyDoRenderImplementation&&(u=i.modifyDoRenderImplementation(u,l,h)),e={renderNow:u,scheduleRender:()=>{r||a||(r=requestAnimationFrame(u))},stop:()=>{r&&(cancelAnimationFrame(r),r=void 0),a=!0},resume:()=>{a=!1,o=!0,e.scheduleRender()},append:(t,e)=>{c(_i,t,e)},insertBefore:(t,e)=>{c(Ai,t,e)},merge:(t,e)=>{c(Oi,t,e)},replace:(t,e)=>{c(Ii,t,e)},detach:t=>{for(let e=0;e<h.length;e++)if(h[e]===t)return h.splice(e,1),l.splice(e,1)[0];throw Error("renderFunction was not found")}},e
48
- /*!
49
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
50
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
51
- * v2.13.2
52
- */})({postProcessProjectionOptions(t){const e=t.eventHandlerInterceptor,i=/capture$/i;t.eventHandlerInterceptor=(t,s,n,r)=>{const o=e?.(t,s,n,r),a=i.test(t);if(!((t=t.replace(i,"")).toLowerCase()in n)||a){const e=t[2].toLowerCase()+t.slice(3),i=t=>o?.call(n,t);n.addEventListener(e,i,a);const s=()=>n.removeEventListener(e,i,a),l=r.afterRemoved;r.afterRemoved=t=>{l?.(t),s()}}return o}},handleInterceptedEvent(t,e,i,s){const{eventPhase:n,type:r}=s,o=n===Event.CAPTURING_PHASE;let a=`on${r}${o?"capture":""}`;const l=e.properties;(l&&a in l||(a=`on${r[0].toUpperCase()}${r.slice(1)}${o?"Capture":""}`,l&&a in l))&&(Je(),t.scheduleRender(),l[a].call(l.bind||i,s))}});let qn=!1,Ln=class extends(pt(ut.EventedAccessor)){constructor(t,e){super(t,e),this._attached=!1,this._projector=Nn,this._readyForTrueRender=!1,this.key=this,this.autoRenderingEnabled=!0,this._loadLocale=E((async()=>{if(this._messageBundleProps?.length){const t=await Promise.allSettled(this._messageBundleProps.map((async({bundlePath:t,propertyName:e})=>{if(this.destroyed)return;let i=await z(t);this.uiStrings&&Object.keys(this.uiStrings)&&(i=zn(x(i),this.uiStrings)),this[e]=i})));if(this.destroyed)return;for(const e of t)"rejected"===e.status&&i.getLogger(this).error("widget-intl:locale-error",this.declaredClass,e.reason)}await this.loadLocale()})),function(){try{ss(".")}catch{(t=>{Wi.o=t})($(T(jn)))}}();const s="esri-widget-uid-"+function(){if(qt)return crypto.randomUUID();const t=crypto.getRandomValues(new Uint16Array(8));t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;const e=e=>t[e].toString(16).padStart(4,"0");return e(0)+e(1)+"-"+e(2)+"-"+e(3)+"-"+e(4)+"-"+e(5)+e(6)+e(7)}(),n=this.render.bind(this);this._trackingTarget=new C((()=>{this.autoRenderingEnabled&&this.scheduleRender()}));const r=()=>({vnodeSelector:"div",properties:{key:s+"-hidden",class:"",styles:{display:"none"}},domNode:null,children:void 0,text:void 0}),o=()=>{if(!this._readyForTrueRender||this.destroyed)return null;const t=n()??r(),e=t.properties??={};if(e.key??=s,Pn(t.vnodeSelector)){if(!this.visible)return r()}else this.visible?e.styles||(e.styles={}):(e.class="",e.styles={display:"none"}),e.styles.display??="";let i=0;return t.children?.forEach((t=>{Pn(t.vnodeSelector)||(t.properties??={},t.properties.key??=`${this.id}--${i++}`)})),Tn(this,t)};this.render=()=>{if(qn)return o();let t=function(t){return We.get(t)}(this)??null;if(t)return t;this._trackingTarget.clear(),qn=!0;try{t=U(this._trackingTarget,o)}catch(t){throw i.getLogger(this).error(t),t}finally{qn=!1}return t&&function(t,e){We.set(t,e)}(this,t),t};const a=this.beforeFirstRender();a?this._resourcesFetch=a.then((()=>{this._readyForTrueRender=!0,this._postInitialize()})):(this._resourcesFetch=Promise.resolve().then((()=>{this._postInitialize()})),this._readyForTrueRender=!0),this.addResolvingPromise(this._resourcesFetch),function(t){Rn.add(t),t.finally((()=>Rn.delete(t)))}(this._resourcesFetch)}normalizeCtorArgs(t,e){const i={...t};return e&&(i.container=e),i}postInitialize(){}beforeFirstRender(){const t=this.loadDependencies();return this._messageBundleProps?.length||t?Promise.all([t,this._loadLocale()]).then((()=>{})).catch(P):null}loadDependencies(){return null}loadLocale(){return null}destroy(){this.destroyed||(R(this._trackingTarget),R(this.viewModel),this._detach(this.container),this._set("container",null),this._emitter.clear(),this.render=()=>null,this._projector=null,Ge(this))}set container(t){this._get("container")||this._set("container",t)}castContainer(t){return function(t){return"string"==typeof t?document.getElementById(t):t??null}(t)}get domNode(){return this.container}set domNode(t){this.container=t}get icon(){return null}set icon(t){this._overrideIfSome("icon",t)}get id(){return this._get("id")||this.container?.id||Date.now().toString(16)+"-widget-"+Dn++}set id(t){t&&this._set("id",t)}get label(){return this.declaredClass.split(".").pop()}set label(t){this._overrideIfSome("label",t)}get renderable(){return this._resourcesFetch}get visible(){return this._get("visible")}set visible(t){this._set("visible",t)}get[(Mn=_n,An)](){return{projector:this._projector}}render(){throw Error("not implemented")}scheduleRender(){this.destroyed||(Ge(this),this._projector.scheduleRender())}own(t){M(i.getLogger(this),"`Widget.own()` is deprecated in favor of 'Widget.addHandles()'",{replacement:"Widget.addHandles()",version:"4.28"}),this.addHandles(t)}classes(...t){return Xe.apply(this,t)}renderNow(){Ge(this),this._projector.renderNow()}_postInitialize(){if(this.destroyed)return;this.scheduleRender(),this._delegatedEventNames?.length&&this.addHandles(Pt((()=>this.viewModel),((t,e)=>{e&&this.removeHandles("delegated-events"),t&&N(t)&&this.addHandles(this._delegatedEventNames.map((e=>q(t,e,(t=>{this.emit(e,t)})))),"delegated-events")}),Nt)),this.postInitialize();const t=async()=>{await this._loadLocale().catch(P),this.scheduleRender()};this.addHandles([D(t),Pt((()=>this.uiStrings),t),Rt((()=>this.container),(t=>{this.destroyed||this._attach(t)}),{initial:!0,once:!0})])}_attach(t){t&&(this._projector.merge(t,this.render),this._attached=!0)}_detach(t){this._attached&&(this._projector.detach(this.render),this._attached=!1),t?.parentNode?.removeChild(t)}};Ln[Mn]=!0,Ln.vnodeSelector="div",r([f()],Ln.prototype,"_readyForTrueRender",void 0),r([f({value:null})],Ln.prototype,"container",null),r([function(...t){if(3!==t.length||"string"!=typeof t[1])return 1===t.length&&"[object Function]"===Lt.call(t[0])?Ft(t[0]):1===t.length&&"string"==typeof t[0]?function(t){return(e,i)=>{A(e,t).cast=e[i]}}(t[0]):void 0}("container")],Ln.prototype,"castContainer",null),r([f()],Ln.prototype,"icon",null),r([f()],Ln.prototype,"id",null),r([f()],Ln.prototype,"label",null),r([f()],Ln.prototype,"renderable",null),r([f()],Ln.prototype,"uiStrings",void 0),r([f()],Ln.prototype,"viewModel",void 0),r([f({value:!0})],Ln.prototype,"visible",null),r([f()],Ln.prototype,"key",void 0),r([f()],Ln.prototype,"children",void 0),r([f()],Ln.prototype,"afterCreate",void 0),r([f()],Ln.prototype,"afterUpdate",void 0),r([f()],Ln.prototype,"afterRemoved",void 0),Ln=r([o("esri.widgets.Widget")],Ln);const Fn=Ln;function Bn(t){return(e,i)=>{e.hasOwnProperty("_messageBundleProps")||(e._messageBundleProps=e._messageBundleProps?e._messageBundleProps.slice():[]),e._messageBundleProps.push({bundlePath:t,propertyName:i})}}var Hn=function(t){return{vnodeSelector:"",properties:void 0,children:void 0,text:""+t,domNode:null}},Vn=function(t,e){for(var i=0,s=t.length;i<s;i++){var n=t[i];Array.isArray(n)?Vn(n,e):null!=n&&!1!==n&&(n.hasOwnProperty("vnodeSelector")||(n=Hn(n)),e.push(n))}},Wn=function(t,e){for(var i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];if(1===i.length&&"string"==typeof i[0])return{vnodeSelector:t,properties:e||void 0,children:void 0,text:i[0],domNode:null};var n=[];return Vn(i,n),{vnodeSelector:t,properties:e||void 0,children:n,text:void 0,domNode:null}};function Jn(t,e,...i){return"function"!=typeof t||Pn(t)?Wn(t,e,...i):t(e,...i)}const Gn="esri-identity-modal",Xn={base:Gn,info:Gn+"__info",notice:Gn+"__notice"};let Yn=class extends Fn{constructor(t,e){super(t,e),this.container=document.createElement("div"),this.error=null,this.oAuthPrompt=!1,this.open=!1,this.signingIn=!1,this.server=null,this.resource=null,this._usernameInputNode=null,this._passwordInputNode=null,document.body.appendChild(this.container)}loadDependencies(){return function(t){const e=[];for(const i of Object.keys(t))customElements.get("calcite-"+i)||e.push(t[i]?.());return e.length>0?Promise.all(e):null}({button:()=>import("./p-fe43b510.js"),dialog:()=>import("./p-f4eea8c2.js"),input:()=>import("./p-de2fecc0.js"),label:()=>import("./p-57409415.js"),notice:()=>import("./p-e0e6d099.js")})}get title(){return this.commonMessages?.auth.signIn}render(){const{open:i,title:r,messages:o,signingIn:a,oAuthPrompt:l,server:h,resource:c,error:u}=this,{info:d,oAuthInfo:f,lblItem:p,invalidUser:g,noAuthService:m,lblUser:v,lblPwd:w,lblCancel:b,lblSigning:y,lblOk:k}=o;return Jn("div",{class:this.classes(Xn.base,"calcite-mode-"+(getComputedStyle(document.body).getPropertyValue("--esri-calcite-mode-name").replaceAll(/\s|'|"/g,"").startsWith("dark")?"dark":"light"))},Jn("form",{bind:this,onsubmit:this._submit},Jn("calcite-dialog",{bind:this,heading:r,modal:!0,open:i,outsideCloseDisabled:!0,scale:"s",widthScale:"s",onCalciteDialogClose:this._cancel,onCalciteDialogOpen:this._focusUsernameInput},Jn("div",{class:Xn.info},function(i,r,o={}){const{format:a={}}=o;return t(i,(t=>function(t,i,r){let o,a;const l=t.indexOf(":");if(-1===l?o=t.trim():(o=t.slice(0,l).trim(),a=t.slice(l+1).trim()),!o)return"";const h=e(o,i);if(null==h)return"";const c=(a?r?.[a]:null)??r?.[o];return c?function(t,e){switch(e.type){case"date":return n(t,e.intlOptions);case"number":return s(t,e.intlOptions);default:return lt().warn("missing format descriptor for key {key}"),ht(t)}}(h,c):a?function(t,e){switch(e.toLowerCase()){case"dateformat":return n(t);case"numberformat":return s(t);default:return lt().warn("inline format is unsupported since 4.12: "+e),/^(dateformat|datestring)/i.test(e)?n(t):/^numberformat/i.test(e)?s(t):ht(t)}}(h,a):ht(h)}(t,r,a)))}(l?f:d,{server:h&&/\.arcgis\.com/i.test(h)?"ArcGIS Online":h,resource:`(${c||p})`})),u?Jn("calcite-notice",{class:Xn.notice,icon:"exclamation-mark-triangle",kind:"danger",open:!0},Jn("div",{slot:"message"},u.details?.httpStatus?g:m)):null,l?null:[Jn("calcite-label",null,v,Jn("calcite-input",{afterCreate:t=>this._usernameInputNode=t,autocomplete:"off",bind:this,name:"username",required:!0,spellcheck:!1,type:"text",value:""})),Jn("calcite-label",null,w,Jn("calcite-input",{afterCreate:t=>this._passwordInputNode=t,bind:this,name:"password",required:!0,type:"password",value:""}))],Jn("calcite-button",{appearance:"outline",bind:this,onclick:this._cancel,slot:"footer-end",type:"button"},b),Jn("calcite-button",{loading:!!a,slot:"footer-end",type:"submit"},a?y:k))))}_focusUsernameInput(){return async function(t){await O(I(void 0));const e=t();e&&("setFocus"in e&&"function"==typeof e.setFocus?await e.setFocus():e instanceof HTMLElement&&e.focus())}((()=>this._usernameInputNode))}_cancel(){this._set("signingIn",!1),this.open=!1,this._usernameInputNode&&(this._usernameInputNode.value=""),this._passwordInputNode&&(this._passwordInputNode.value=""),this.emit("cancel")}_submit(t){t.preventDefault(),this._set("signingIn",!0),this.emit("submit",this.oAuthPrompt?{}:{username:this._usernameInputNode?.value,password:this._passwordInputNode?.value})}};r([f({readOnly:!0})],Yn.prototype,"container",void 0),r([f(),Bn("esri/t9n/common")],Yn.prototype,"commonMessages",void 0),r([f()],Yn.prototype,"error",void 0),r([f(),Bn("esri/identity/t9n/identity")],Yn.prototype,"messages",void 0),r([f()],Yn.prototype,"oAuthPrompt",void 0),r([f()],Yn.prototype,"open",void 0),r([f()],Yn.prototype,"signingIn",void 0),r([f()],Yn.prototype,"server",void 0),r([f({readOnly:!0})],Yn.prototype,"title",null),r([f()],Yn.prototype,"resource",void 0),Yn=r([o("esri.identity.IdentityModal")],Yn);const Zn=Yn,Kn="esriJSAPIOAuth";class Qn{constructor(t,e){this.oAuthInfo=null,this.storage=null,this.appId=null,this.codeVerifier=null,this.expires=null,this.refreshToken=null,this.ssl=null,this.stateUID=null,this.token=null,this.userId=null,this.oAuthInfo=t,this.storage=e,this._init()}isValid(){let t=!1;if(this.oAuthInfo&&this.userId&&(this.refreshToken||this.token))if(null==this.expires&&this.refreshToken)t=!0;else if(this.expires){const e=Date.now();this.expires>e&&(this.expires-e)/1e3>60*this.oAuthInfo.minTimeUntilExpiration&&(t=!0)}return t}save(){if(!this.storage)return!1;const t=this._load(),e=this.oAuthInfo;if(e?.authNamespace&&e.portalUrl){let i=t[e.authNamespace];i||(i=t[e.authNamespace]={}),this.appId||(this.appId=e.appId),i[e.portalUrl]={appId:this.appId,codeVerifier:this.codeVerifier,expires:this.expires,refreshToken:this.refreshToken,ssl:this.ssl,stateUID:this.stateUID,token:this.token,userId:this.userId};try{this.storage.setItem(Kn,JSON.stringify(t))}catch(t){return console.warn(t),!1}return!0}return!1}destroy(){const t=this._load(),e=this.oAuthInfo;if(e?.appId&&e?.portalUrl&&(null==this.expires||this.expires>Date.now())&&(this.refreshToken||this.token)){const t=e.portalUrl.replace(/^http:/i,"https:")+"/sharing/rest/oauth2/revokeToken",i=new FormData;if(i.append("f","json"),i.append("auth_token",this.refreshToken||this.token),i.append("client_id",e.appId),i.append("token_type_hint",this.refreshToken?"refresh_token":"access_token"),"function"==typeof navigator.sendBeacon)navigator.sendBeacon(t,i);else{const e=new XMLHttpRequest;e.open("POST",t),e.send(i)}}if(e?.authNamespace&&e.portalUrl&&this.storage){const i=t[e.authNamespace];if(i){delete i[e.portalUrl];try{this.storage.setItem(Kn,JSON.stringify(t))}catch(t){console.log(t)}}}e&&(e._oAuthCred=null,this.oAuthInfo=null)}_init(){const t=this._load(),e=this.oAuthInfo;if(e?.authNamespace&&e.portalUrl){let i=t[e.authNamespace];i&&(i=i[e.portalUrl],i&&(this.appId=i.appId,this.codeVerifier=i.codeVerifier,this.expires=i.expires,this.refreshToken=i.refreshToken,this.ssl=i.ssl,this.stateUID=i.stateUID,this.token=i.token,this.userId=i.userId))}}_load(){let t={};if(this.storage){const e=this.storage.getItem(Kn);if(e)try{t=JSON.parse(e)}catch(t){console.warn(t)}}return t}}var tr;Qn.prototype.declaredClass="esri.identity.OAuthCredential";let er=tr=class extends L{constructor(t){super(t),this._oAuthCred=null,this.appId=null,this.authNamespace="/",this.expiration=20160,this.flowType="auto",this.forceLogin=!1,this.forceUserId=!1,this.locale=null,this.minTimeUntilExpiration=30,this.popup=!1,this.popupCallbackUrl="oauth-callback.html",this.popupWindowFeatures="height=490,width=800,resizable,scrollbars,status",this.portalUrl="https://www.arcgis.com",this.preserveUrlHash=!1,this.userId=null}clone(){return tr.fromJSON(this.toJSON())}};r([f({json:{write:!0}})],er.prototype,"appId",void 0),r([f({json:{write:!0}})],er.prototype,"authNamespace",void 0),r([f({json:{write:!0}})],er.prototype,"expiration",void 0),r([f({json:{write:!0}})],er.prototype,"flowType",void 0),r([f({json:{write:!0}})],er.prototype,"forceLogin",void 0),r([f({json:{write:!0}})],er.prototype,"forceUserId",void 0),r([f({json:{write:!0}})],er.prototype,"locale",void 0),r([f({json:{write:!0}})],er.prototype,"minTimeUntilExpiration",void 0),r([f({json:{write:!0}})],er.prototype,"popup",void 0),r([f({json:{write:!0}})],er.prototype,"popupCallbackUrl",void 0),r([f({json:{write:!0}})],er.prototype,"popupWindowFeatures",void 0),r([f({json:{write:!0}})],er.prototype,"portalUrl",void 0),r([f({json:{write:!0}})],er.prototype,"preserveUrlHash",void 0),r([f({json:{write:!0}})],er.prototype,"userId",void 0),er=tr=r([o("esri.identity.OAuthInfo")],er);const ir=er;let sr=class extends L{constructor(t){super(t),this.adminTokenServiceUrl=null,this.currentVersion=null,this.hasPortal=null,this.hasServer=null,this.owningSystemUrl=null,this.owningTenant=null,this.server=null,this.shortLivedTokenValidity=null,this.tokenServiceUrl=null,this.webTierAuth=null}};r([f({json:{write:!0}})],sr.prototype,"adminTokenServiceUrl",void 0),r([f({json:{write:!0}})],sr.prototype,"currentVersion",void 0),r([f({json:{write:!0}})],sr.prototype,"hasPortal",void 0),r([f({json:{write:!0}})],sr.prototype,"hasServer",void 0),r([f({json:{write:!0}})],sr.prototype,"owningSystemUrl",void 0),r([f({json:{write:!0}})],sr.prototype,"owningTenant",void 0),r([f({json:{write:!0}})],sr.prototype,"server",void 0),r([f({json:{write:!0}})],sr.prototype,"shortLivedTokenValidity",void 0),r([f({json:{write:!0}})],sr.prototype,"tokenServiceUrl",void 0),r([f({json:{write:!0}})],sr.prototype,"webTierAuth",void 0),sr=r([o("esri.identity.ServerInfo")],sr);const nr=sr,rr={},or=t=>{const e=new J(t.owningSystemUrl).host,i=new J(t.server).host,s=/.+\.arcgis\.com$/i;return s.test(e)&&s.test(i)},ar=(t,e)=>!!(or(t)&&e&&e.some((e=>e.test(t.server))));let lr=null,hr=null;try{lr=window.localStorage,hr=window.sessionStorage}catch{}class cr extends ut{constructor(){super(),this._portalConfig=globalThis.esriGeowConfig,this.serverInfos=[],this.oAuthInfos=[],this.credentials=[],this._soReqs=[],this._xoReqs=[],this._portals=[],this._defaultOAuthInfo=null,this._defaultTokenValidity=60,this.dialog=null,this.tokenValidity=null,this.normalizeWebTierAuth=!1,this._appOrigin="null"!==window.origin?window.origin:window.location.origin,this._appUrlObj=F(window.location.href),this._busy=null,this._rejectOnPersistedPageShow=!1,this._oAuthLocationParams=null,this._gwTokenUrl="/sharing/rest/generateToken",this._agsRest="/rest/services",this._agsPortal=/\/sharing(\/|$)/i,this._agsAdmin=/(https?:\/\/[^/]+\/[^/]+)\/admin\/?(\/.*)?$/i,this._adminSvcs=/\/rest\/admin\/services(\/|$)/i,this._gwDomains=[{regex:/^https?:\/\/www\.arcgis\.com/i,customBaseUrl:"maps.arcgis.com",tokenServiceUrl:"https://www.arcgis.com/sharing/rest/generateToken"},{regex:/^https?:\/\/(?:dev|[a-z\d-]+\.mapsdev)\.arcgis\.com/i,customBaseUrl:"mapsdev.arcgis.com",tokenServiceUrl:"https://dev.arcgis.com/sharing/rest/generateToken"},{regex:/^https?:\/\/(?:devext|[a-z\d-]+\.mapsdevext)\.arcgis\.com/i,customBaseUrl:"mapsdevext.arcgis.com",tokenServiceUrl:"https://devext.arcgis.com/sharing/rest/generateToken"},{regex:/^https?:\/\/(?:qaext|[a-z\d-]+\.mapsqa)\.arcgis\.com/i,customBaseUrl:"mapsqa.arcgis.com",tokenServiceUrl:"https://qaext.arcgis.com/sharing/rest/generateToken"},{regex:/^https?:\/\/[a-z\d-]+\.maps\.arcgis\.com/i,customBaseUrl:"maps.arcgis.com",tokenServiceUrl:"https://www.arcgis.com/sharing/rest/generateToken"}],this._legacyFed=[],this._regexSDirUrl=/http.+\/rest\/services\/?/gi,this._regexServerType=/(\/(FeatureServer|GPServer|GeoDataServer|GeocodeServer|GeoenrichmentServer|GeometryServer|GlobeServer|ImageServer|KnowledgeGraphServer|MapServer|MissionServer|MobileServer|NAServer|NetworkDiagramServer|OGCFeatureServer|ParcelFabricServer|RelationalCatalogServer|SceneServer|StreamServer|UtilityNetworkServer|ValidationServer|VectorTileServer|VersionManagementServer|VideoServer)).*/gi,this._gwUser=/http.+\/users\/([^/]+).*/i,this._gwItem=/http.+\/items\/([^/]+).*/i,this._gwGroup=/http.+\/groups\/([^/]+).*/i,this._rePortalTokenSvc=/\/sharing(\/rest)?\/generatetoken/i,this._createDefaultOAuthInfo=!0,this._hasTestedIfAppIsOnPortal=!1,this._getPlatformSelfError=null,this._getOAuthLocationParams(),window.addEventListener("pageshow",(t=>{this._pageShowHandler(t)}))}registerServers(t){const e=this.serverInfos;e?(t=t.filter((t=>!this.findServerInfo(t.server))),this.serverInfos=e.concat(t)):this.serverInfos=t,t.forEach((t=>{t.owningSystemUrl&&this._portals.push(t.owningSystemUrl),t.hasPortal&&this._portals.push(t.server)}))}registerOAuthInfos(t){const e=this.oAuthInfos;if(e){for(const i of t){const t=this.findOAuthInfo(i.portalUrl);t&&e.splice(e.indexOf(t),1)}this.oAuthInfos=e.concat(t)}else this.oAuthInfos=t}registerToken(t){t={...t};const e=this._sanitizeUrl(t.server),i=this._isServerRsrc(e);let s,n=this.findServerInfo(e),r=!0;n||(n=new nr,n.server=this._getServerInstanceRoot(e),i?n.hasServer=!0:(n.tokenServiceUrl=this._getTokenSvcUrl(e),n.hasPortal=!0),this.registerServers([n])),s=this._findCredential(e),s?(delete t.server,Object.assign(s,t),r=!1):(s=new ur({userId:t.userId,server:n.server??void 0,token:t.token,expires:t.expires,ssl:t.ssl,scope:i?"server":"portal"}),s.resources=[e],this.credentials.push(s)),s.emitTokenChange(!1),r||s.refreshServerTokens()}toJSON(){return B({serverInfos:this.serverInfos.map((t=>t.toJSON())),oAuthInfos:this.oAuthInfos.map((t=>t.toJSON())),credentials:this.credentials.map((t=>t.toJSON()))})}initialize(t){if(!t)return;"string"==typeof t&&(t=JSON.parse(t));const e=t.serverInfos,i=t.oAuthInfos,s=t.credentials;if(e){const t=[];e.forEach((e=>{e.server&&e.tokenServiceUrl&&t.push(e.declaredClass?e:new nr(e))})),t.length&&this.registerServers(t)}if(i){const t=[];i.forEach((e=>{e.appId&&t.push(e.declaredClass?e:new ir(e))})),t.length&&this.registerOAuthInfos(t)}s&&s.forEach((t=>{t.server&&t.token&&t.expires&&t.expires>Date.now()&&((t=t.declaredClass?t:new ur(t)).emitTokenChange(),this.credentials.push(t))}))}findServerInfo(t){let e;t=this._sanitizeUrl(t);for(const i of this.serverInfos)if(this._hasSameServerInstance(i.server,t)){e=i;break}return e}findOAuthInfo(t){let e;t=this._sanitizeUrl(t);for(const i of this.oAuthInfos)if(this._hasSameServerInstance(i.portalUrl,t)){e=i;break}return e}findCredential(t,e){if(!t)return;let i;t=this._sanitizeUrl(t);const s=this._isServerRsrc(t)?"server":"portal";if(e){for(const n of this.credentials)if(this._hasSameServerInstance(n.server,t)&&e===n.userId&&n.scope===s){i=n;break}}else for(const e of this.credentials)if(this._hasSameServerInstance(e.server,t)&&-1!==this._getIdenticalSvcIdx(t,e)&&e.scope===s){i=e;break}return i}getCredential(t,e){let i,s,n=!0;e&&(i=!!e.token,s=e.error,n=!1!==e.prompt),e={...e},t=this._sanitizeUrl(t);const r=new AbortController,o=c();if(e.signal&&g(e.signal,(()=>{r.abort()})),g(r,(()=>{o.reject(new H("identity-manager:user-aborted","ABORTED"))})),V(r))return o.promise;e.signal=r.signal;const a=this._isAdminResource(t),l=i?this.findCredential(t):null;let h;if(l&&s&&s.details&&498===s.details.httpStatus)l.destroy();else if(l)return h=new H("identity-manager:not-authorized","You are currently signed in as: '"+l.userId+"'. You do not have access to this resource: "+t,{error:s}),o.reject(h),o.promise;const u=this._findCredential(t,e);if(u)return o.resolve(u),o.promise;let d=this.findServerInfo(t);if(d)!d.hasPortal&&d.server&&d.owningSystemUrl&&this._hasSameServerInstance(d.server,d.owningSystemUrl)&&(d.hasPortal=!0),!d.hasServer&&this._isServerRsrc(t)&&(d._restInfoPms=this._getTokenSvcUrl(t),d.hasServer=!0);else{const e=this._getTokenSvcUrl(t);if(!e)return h=new H("identity-manager:unknown-resource","Unknown resource - could not find token service endpoint."),o.reject(h),o.promise;d=new nr,d.server=this._getServerInstanceRoot(t),"string"==typeof e?(d.tokenServiceUrl=e,d.hasPortal=!0):(d._restInfoPms=e,d.hasServer=!0),this.registerServers([d])}return d.hasPortal&&void 0===d._selfReq&&(n||W(d.tokenServiceUrl,this._appOrigin)||this._gwDomains.some((t=>t.tokenServiceUrl===d.tokenServiceUrl)))&&(d._selfReq={owningTenant:e?.owningTenant,selfDfd:this._getPortalSelf(d.tokenServiceUrl.replace(this._rePortalTokenSvc,"/sharing/rest/portals/self"),t)}),this._enqueue(t,d,e,o,a)}getResourceName(t){return this._isRESTService(t)?t.replace(this._regexSDirUrl,"").replace(this._regexServerType,"")||"":this._gwUser.test(t)&&t.replace(this._gwUser,"$1")||this._gwItem.test(t)&&t.replace(this._gwItem,"$1")||this._gwGroup.test(t)&&t.replace(this._gwGroup,"$1")||""}generateToken(t,e,i){const s=this._rePortalTokenSvc.test(t.tokenServiceUrl),n=new J(this._appOrigin),r=t.shortLivedTokenValidity;let o,a,l,h,c,u,d,f;e&&(f=this.tokenValidity||r||this._defaultTokenValidity,f>r&&r>0&&(f=r)),i&&(o=i.isAdmin,a=i.serverUrl,l=i.token,u=i.signal,d=i.ssl,t.customParameters=i.customParameters),o?h=t.adminTokenServiceUrl:(h=t.tokenServiceUrl,c=new J(h.toLowerCase()),t.webTierAuth&&i?.serverUrl&&!d&&"http"===n.scheme&&(W(n.uri,h,!0)||"https"===c.scheme&&n.host===c.host&&"7080"===n.port&&"7443"===c.port)&&(h=h.replace(/^https:/i,"http:").replace(/:7443/i,":7080")));const p={query:{request:"getToken",username:e?.username,password:e?.password,serverUrl:a,token:l,expiration:f,referer:o||s?this._appOrigin:null,client:o?"referer":null,f:"json",...t.customParameters},method:"post",authMode:"anonymous",useProxy:this._useProxy(t,i),signal:u,...i?.ioArgs};return s||(p.withCredentials=!1),G(h,p).then((i=>{const s=i.data;if(!s?.token)return new H("identity-manager:authentication-failed","Unable to generate token");const n=t.server;return rr[n]||(rr[n]={}),e&&(rr[n][e.username]=e.password),s.validity=f,s}))}isBusy(){return!!this._busy}async checkSignInStatus(t){return(await this.checkAppAccess(t,"")).credential}checkAppAccess(t,e,i){let s=!1;return this.getCredential(t,{prompt:!1}).then((n=>{let r;const o={f:"json"};if("portal"===n.scope)if(e&&(this._doPortalSignIn(t)||i?.force))r=n.server+"/sharing/rest/oauth2/validateAppAccess",o.client_id=e;else{if(!n.token)return{credential:n};r=n.server+"/sharing/rest"}else{if(!n.token)return{credential:n};r=n.server+"/rest/services"}return n.token&&(o.token=n.token),G(r,{query:o,authMode:"anonymous"}).then((t=>{if(!1===t.data.valid)throw new H("identity-manager:not-authorized",`You are currently signed in as: '${n.userId}'.`,t.data);return s=!!t.data.viewOnlyUserTypeApp,{credential:n}})).catch((t=>{if("identity-manager:not-authorized"===t.name)throw t;const e=t.details?.httpStatus;if(498===e)throw n.destroy(),new H("identity-manager:not-authenticated","User is not signed in.");if(400===e)throw new H("identity-manager:invalid-request");return{credential:n}}))})).then((t=>({credential:t.credential,viewOnly:s})))}setOAuthResponseHash(t){t&&("#"===t.charAt(0)&&(t=t.slice(1)),this._processOAuthPopupParams(X(t)))}setOAuthRedirectionHandler(t){this._oAuthRedirectFunc=t}setProtocolErrorHandler(t){this._protocolFunc=t}signIn(t,e,i={}){const s=c(),n=()=>{a?.remove(),l?.remove(),this.dialog?.destroy(),this.dialog=a=l=null},r=()=>{n(),this._oAuthDfd=null,s.reject(new H("identity-manager:user-aborted","ABORTED"))};i.signal&&g(i.signal,(()=>{r()}));const o=new Zn({open:!0,resource:this.getResourceName(t),server:e.server});this.dialog=o,this.emit("dialog-create");let a=o.on("cancel",r),l=o.on("submit",(t=>{this.generateToken(e,t,{isAdmin:i.isAdmin,signal:i.signal}).then((r=>{n();const o=new ur({userId:t.username,server:e.server??void 0,token:r.token,expires:null!=r.expires?Number(r.expires):null,ssl:!!r.ssl,isAdmin:i.isAdmin,validity:r.validity});s.resolve(o)})).catch((t=>{o.error=t,o.signingIn=!1}))}));return s.promise}oAuthSignIn(t,e,i,s){this._oAuthDfd=c();const n=this._oAuthDfd;let r;s?.signal&&g(s.signal,(()=>{const t=this._oAuthDfd&&this._oAuthDfd.oAuthWin_;t&&!t.closed?t.close():this.dialog&&h()})),n.resUrl_=t,n.sinfo_=e,n.oinfo_=i;const o=i._oAuthCred;if(o.storage&&("authorization-code"===i.flowType||"auto"===i.flowType&&e.currentVersion>=8.4)){let t=crypto.getRandomValues(new Uint8Array(32));r=Y(t),o.codeVerifier=r,t=crypto.getRandomValues(new Uint8Array(32)),o.stateUID=Y(t),o.save()||(o.codeVerifier=r=null)}else o.codeVerifier=null;let a,l;this._getCodeChallenge(r).then((n=>{if(!i.popup||s&&!1===s.oAuthPopupConfirmation)return void this._doOAuthSignIn(t,e,i,n);const r=new Zn({oAuthPrompt:!0,server:e.server,open:!0});this.dialog=r,this.emit("dialog-create"),a=r.on("cancel",h),l=r.on("submit",(()=>{u(),this._doOAuthSignIn(t,e,i,n)}))}));const h=()=>{u(),this._oAuthDfd=null,n.reject(new H("identity-manager:user-aborted","ABORTED"))},u=()=>{a?.remove(),l?.remove(),this.dialog?.destroy(),this.dialog=null};return n.promise}destroyCredentials(){this.credentials&&this.credentials.slice().forEach((t=>{t.destroy()})),this.emit("credentials-destroy")}enablePostMessageAuth(t="https://www.arcgis.com/sharing/rest"){this._postMessageAuthHandle&&this._postMessageAuthHandle.remove(),this._postMessageAuthHandle=q(window,"message",(e=>{if((e.origin===this._appOrigin||e.origin.endsWith(".arcgis.com"))&&"arcgis:auth:requestCredential"===e.data?.type){const i=e.source;this.getCredential(t).then((t=>{i.postMessage({type:"arcgis:auth:credential",credential:{expires:t.expires,server:t.server,ssl:t.ssl,token:t.token,userId:t.userId}},e.origin)})).catch((t=>{i.postMessage({type:"arcgis:auth:error",error:{name:t.name,message:t.message}},e.origin)}))}}))}disablePostMessageAuth(){this._postMessageAuthHandle&&(this._postMessageAuthHandle.remove(),this._postMessageAuthHandle=null)}_getOAuthLocationParams(){let t=window.location.hash;if(t){"#"===t.charAt(0)&&(t=t.slice(1));const e=X(t);let i=!1;if(e.access_token&&e.expires_in&&e.state&&e.hasOwnProperty("username"))try{e.state=JSON.parse(e.state),e.state.portalUrl&&(this._oAuthLocationParams=e,i=!0)}catch{}else if(e.error&&e.error_description&&(console.log("IdentityManager OAuth Error: ",e.error," - ",e.error_description),"access_denied"===e.error&&(i=!0,e.state)))try{e.state=JSON.parse(e.state)}catch{}i&&(window.location.hash=e.state?.hash||"")}let e=window.location.search;if(e){"?"===e.charAt(0)&&(e=e.slice(1));const t=X(e);let i=!1;if(t.code&&t.state)try{t.state=JSON.parse(t.state),t.state.portalUrl&&t.state.uid&&(this._oAuthLocationParams=t,i=!0)}catch{}else if(t.error&&t.error_description&&(console.log("IdentityManager OAuth Error: ",t.error," - ",t.error_description),"access_denied"===t.error&&(i=!0,t.state)))try{t.state=JSON.parse(t.state)}catch{}if(i){const e={...t};["code","error","error_description","message_code","persist","state"].forEach((t=>{delete e[t]}));const i=Z(e),s=window.location.pathname+(i?"?"+i:"")+(t.state?.hash||"");window.history.replaceState(window.history.state,"",s)}}}_getOAuthToken(t,e,i,s,n){return t=t.replace(/^http:/i,"https:"),G(t+"/sharing/rest/oauth2/token",{authMode:"anonymous",method:"post",query:s&&n?{grant_type:"authorization_code",code:e,redirect_uri:s,client_id:i,code_verifier:n}:{grant_type:"refresh_token",refresh_token:e,client_id:i}}).then((t=>t.data))}async _getCodeChallenge(t){if(t&&globalThis.isSecureContext){const e=(new TextEncoder).encode(t),i=await crypto.subtle.digest("SHA-256",e);return Y(new Uint8Array(i))}return null}_pageShowHandler(t){if(t.persisted&&this.isBusy()&&this._rejectOnPersistedPageShow){const t=new H("identity-manager:user-aborted","ABORTED");this._errbackFunc(t)}}_findCredential(t,e){let i,s,n,r,o=-1;const a=e?.token,l=e?.resource,h=this._isServerRsrc(t)?"server":"portal",c=this.credentials.filter((e=>this._hasSameServerInstance(e.server,t)&&e.scope===h));if(t=l||t,c.length)if(1===c.length){if(i=c[0],n=this.findServerInfo(i.server),s=n?.owningSystemUrl,r=s?this.findCredential(s,i.userId):void 0,o=this._getIdenticalSvcIdx(t,i),!a)return-1===o&&i.resources.push(t),this._addResource(t,r),i;-1!==o&&(i.resources.splice(o,1),this._removeResource(t,r))}else{let e,i;if(c.some((a=>(i=this._getIdenticalSvcIdx(t,a),-1!==i&&(e=a,n=this.findServerInfo(e.server),s=n?.owningSystemUrl,r=s?this.findCredential(s,e.userId):void 0,o=i,!0)))),a)e&&(e.resources.splice(o,1),this._removeResource(t,r));else if(e)return this._addResource(t,r),e}}_findOAuthInfo(t){let e=this.findOAuthInfo(t);if(!e)for(const i of this.oAuthInfos)if(this._isIdProvider(i.portalUrl,t)){e=i;break}return e}_addResource(t,e){e&&-1===this._getIdenticalSvcIdx(t,e)&&e.resources.push(t)}_removeResource(t,e){let i=-1;e&&(i=this._getIdenticalSvcIdx(t,e),i>-1&&e.resources.splice(i,1))}_useProxy(t,e){return e?.isAdmin&&!W(t.adminTokenServiceUrl,this._appOrigin)||!this._isPortalDomain(t.tokenServiceUrl)&&"10.1"==t.currentVersion+""&&!W(t.tokenServiceUrl,this._appOrigin)}_getOrigin(t){const e=new J(t);return e.scheme+"://"+e.host+(null!=e.port?":"+e.port:"")}_getServerInstanceRoot(t){const e=t.toLowerCase();let i=e.indexOf(this._agsRest);return-1===i&&this._isAdminResource(t)&&(i=this._agsAdmin.test(t)?t.replace(this._agsAdmin,"$1").length:t.search(this._adminSvcs)),-1!==i||K(e)||(i=e.indexOf("/sharing")),-1===i&&e.endsWith("/")&&(i=e.length-1),i>-1?t.slice(0,i):t}_hasSameServerInstance(t,e){return t.endsWith("/")&&(t=t.slice(0,-1)),t=t.toLowerCase(),e=this._getServerInstanceRoot(e).toLowerCase(),t=Q(t),e=Q(e),(t=t.slice(Math.max(0,t.indexOf(":"))))===e.slice(Math.max(0,e.indexOf(":")))}_sanitizeUrl(t){const e=(tt.request.proxyUrl||"").toLowerCase(),i=e?t.toLowerCase().indexOf(e+"?"):-1;return-1!==i&&(t=t.slice(i+e.length+1)),t=et(t),F(t).path}_isRESTService(t){return t.includes(this._agsRest)}_isAdminResource(t){return this._agsAdmin.test(t)||this._adminSvcs.test(t)}_isServerRsrc(t){return this._isRESTService(t)||this._isAdminResource(t)}_isIdenticalService(t,e){let i=!1;if(this._isRESTService(t)&&this._isRESTService(e)){const s=this._getSuffix(t).toLowerCase(),n=this._getSuffix(e).toLowerCase();if(i=s===n,!i){const t=/(.*)\/(MapServer|FeatureServer|UtilityNetworkServer).*/gi;i=s.replaceAll(t,"$1")===n.replaceAll(t,"$1")}}else this._isAdminResource(t)&&this._isAdminResource(e)?i=!0:this._isServerRsrc(t)||this._isServerRsrc(e)||!this._isPortalDomain(t)||(i=!0);return i}_isPortalDomain(t){const e=new J(t.toLowerCase()),i=this._portalConfig;let s=this._gwDomains.some((t=>t.regex.test(e.uri)));return!s&&i&&(s=this._hasSameServerInstance(this._getServerInstanceRoot(i.restBaseUrl),e.uri)),s||tt.portalUrl&&(s=W(e,tt.portalUrl,!0)),s||(s=this._portals.some((t=>this._hasSameServerInstance(t,e.uri)))),s=s||this._agsPortal.test(e.path),s}_isIdProvider(t,e){let i=-1,s=-1;this._gwDomains.forEach(((n,r)=>{-1===i&&n.regex.test(t)&&(i=r),-1===s&&n.regex.test(e)&&(s=r)}));let n=!1;if(i>-1&&s>-1&&(0===i||4===i?0!==s&&4!==s||(n=!0):1===i?1!==s&&2!==s||(n=!0):2===i?2===s&&(n=!0):3===i&&3===s&&(n=!0)),!n){const i=this.findServerInfo(e),s=i?.owningSystemUrl;s&&or(i)&&this._isPortalDomain(s)&&this._isIdProvider(t,s)&&(n=!0)}return n}_getIdenticalSvcIdx(t,e){let i=-1;for(let s=0;s<e.resources.length;s++)if(this._isIdenticalService(t,e.resources[s])){i=s;break}return i}_getSuffix(t){return t.replace(this._regexSDirUrl,"").replace(this._regexServerType,"$1")}_getTokenSvcUrl(t){let e,i,s;if(this._isRESTService(t)||this._isAdminResource(t)){const s=this._getServerInstanceRoot(t);return e=s+"/admin/generateToken",i=G(t=s+"/rest/info",{query:{f:"json"}}).then((t=>t.data)),{adminUrl:e,promise:i}}if(this._isPortalDomain(t)){let e="";if(this._gwDomains.some((i=>(i.regex.test(t)&&(e=i.tokenServiceUrl),!!e))),e||this._portals.some((i=>(this._hasSameServerInstance(i,t)&&(e=i+this._gwTokenUrl),!!e))),e||(s=t.toLowerCase().indexOf("/sharing"),-1!==s&&(e=t.slice(0,s)+this._gwTokenUrl)),e||(e=this._getOrigin(t)+this._gwTokenUrl),e){const i=new J(t).port;/^http:\/\//i.test(t)&&"7080"===i&&(e=e.replace(/:7080/i,":7443")),e=e.replace(/http:/i,"https:")}return e}}_processOAuthResponseParams(t,e,i){const s=e._oAuthCred;if(t.code){const n=s.codeVerifier;return s.codeVerifier=null,s.stateUID=null,s.save(),this._getOAuthToken(i.server,t.code,e.appId,this._getRedirectURI(e,!0),n).then((n=>{const r=new ur({userId:n.username,server:i.server??void 0,token:n.access_token,expires:Date.now()+1e3*n.expires_in,ssl:n.ssl,oAuthState:t.state,_oAuthCred:s});return e.userId=r.userId,s.storage=n.persist?lr:hr,s.refreshToken=n.refresh_token,s.token=null,s.expires=n.refresh_token_expires_in?Date.now()+1e3*n.refresh_token_expires_in:null,s.userId=r.userId,s.ssl=r.ssl,s.save(),r}))}const n=new ur({userId:t.username,server:i.server??void 0,token:t.access_token,expires:Date.now()+1e3*Number(t.expires_in),ssl:"true"===t.ssl,oAuthState:t.state,_oAuthCred:s});return e.userId=n.userId,s.storage=t.persist?lr:hr,s.refreshToken=null,s.token=n.token,s.expires=n.expires,s.userId=n.userId,s.ssl=n.ssl,s.save(),Promise.resolve(n)}_processOAuthPopupParams(t){const e=this._oAuthDfd;if(this._oAuthDfd=null,e)if(clearInterval(this._oAuthIntervalId),this._oAuthOnPopupHandle?.remove(),t.error){const i="access_denied"===t.error,s=new H(i?"identity-manager:user-aborted":"identity-manager:authentication-failed",i?"ABORTED":"OAuth: "+t.error+" - "+t.error_description);e.reject(s)}else this._processOAuthResponseParams(t,e.oinfo_,e.sinfo_).then((t=>{e.resolve(t)})).catch((t=>{e.reject(t)}))}_setOAuthResponseQueryString(t){t&&("?"===t.charAt(0)&&(t=t.slice(1)),this._processOAuthPopupParams(X(t)))}async _exchangeToken(t,e,i){return(await G(t+"/sharing/rest/oauth2/exchangeToken",{authMode:"anonymous",method:"post",query:{f:"json",client_id:e,token:i}})).data.token}async _getPlatformSelf(t,e){if(this._getPlatformSelfError&&Date.now()-this._getPlatformSelfError[1]<1e3)throw this._getPlatformSelfError[0];t=t.replace(/^http:/i,"https:");try{const i=await G(t+"/sharing/rest/oauth2/platformSelf",{authMode:"anonymous",headers:{"X-Esri-Auth-Client-Id":e,"X-Esri-Auth-Redirect-Uri":window.location.href.replace(/#.*$/,"")},method:"post",query:{f:"json",expiration:30},withCredentials:!0});return this._getPlatformSelfError=null,i.data}catch(t){throw"OAUTH_0066"===t.details?.messageCode&&(this._getPlatformSelfError=[t,Date.now()]),t}}_getPortalSelf(t,e){let i;return this._gwDomains.some((e=>(e.regex.test(t)&&(i=e.customBaseUrl),!!i))),i?Promise.resolve({allSSL:!0,currentVersion:"8.4",customBaseUrl:i,portalMode:"multitenant",supportsOAuth:!0}):(this._appOrigin.startsWith("https:")?t=t.replace(/^http:/i,"https:").replace(/:7080/i,":7443"):/^http:/i.test(e)&&(t=t.replace(/^https:/i,"http:").replace(/:7443/i,":7080")),G(t,{query:{f:"json"},authMode:"anonymous",withCredentials:!0}).then((t=>t.data)))}_doPortalSignIn(t){const e=this._portalConfig,i=window.location.href,s=this.findServerInfo(t);return!(!e&&!this._isPortalDomain(i)||!(s?s.hasPortal||s.owningSystemUrl&&this._isPortalDomain(s.owningSystemUrl):this._isPortalDomain(t))||!(this._isIdProvider(i,t)||e&&(this._hasSameServerInstance(this._getServerInstanceRoot(e.restBaseUrl),t)||this._isIdProvider(e.restBaseUrl,t))||W(i,t,!0)))}_checkProtocol(t,e,i,s){let n=!0;const r=s?e.adminTokenServiceUrl:e.tokenServiceUrl;return r.trim().toLowerCase().startsWith("https:")&&!this._appOrigin.startsWith("https:")&&it(r)&&(n=!!this._protocolFunc&&!!this._protocolFunc({resourceUrl:t,serverInfo:e}),!n)&&i(new H("identity-manager:aborted","Aborted the Sign-In process to avoid sending password over insecure connection.")),n}_enqueue(t,e,i,s,n,r){return s||(s=c()),s.resUrl_=t,s.sinfo_=e,s.options_=i,s.admin_=n,s.refresh_=r,this._busy?this._hasSameServerInstance(this._getServerInstanceRoot(t),this._busy.resUrl_)?(this._oAuthDfd&&this._oAuthDfd.oAuthWin_&&this._oAuthDfd.oAuthWin_.focus(),this._soReqs.push(s)):this._xoReqs.push(s):this._doSignIn(s),s.promise}_doSignIn(t){this._busy=t,this._rejectOnPersistedPageShow=!1;const i=e=>{const i=t.options_?.resource,s=t.resUrl_,n=t.refresh_;let r=!1;this.credentials.includes(e)||(n&&this.credentials.includes(n)?(n.userId=e.userId,n.token=e.token,n.expires=e.expires,n.validity=e.validity,n.ssl=e.ssl,n.creationTime=e.creationTime,r=!0,e=n):this.credentials.push(e)),e.resources||(e.resources=[]),e.resources.includes(i||s)||e.resources.push(i||s),e.scope=this._isServerRsrc(s)?"server":"portal",e.emitTokenChange();const o=this._soReqs,a={};this._soReqs=[],o.forEach((t=>{if(!this._isIdenticalService(s,t.resUrl_)){const i=this._getSuffix(t.resUrl_);a[i]||(a[i]=!0,e.resources.push(t.resUrl_))}})),t.resolve(e),o.forEach((t=>{this._hasSameServerInstance(this._getServerInstanceRoot(s),t.resUrl_)?t.resolve(e):this._soReqs.push(t)})),this._busy=t.resUrl_=t.sinfo_=t.refresh_=null,r||this.emit("credential-create",{credential:e}),this._soReqs.length?this._doSignIn(this._soReqs.shift()):this._xoReqs.length&&this._doSignIn(this._xoReqs.shift())},s=e=>{t.reject(e),this._busy=t.resUrl_=t.sinfo_=t.refresh_=null,this._soReqs.length?this._doSignIn(this._soReqs.shift()):this._xoReqs.length&&this._doSignIn(this._xoReqs.shift())},n=(e,r,o,a)=>{const l=t.sinfo_,h=!t.options_||!1!==t.options_.prompt,c=l.hasPortal&&this._findOAuthInfo(t.resUrl_);let u,d;if(e)i(new ur({userId:e,server:l.server??void 0,token:o??void 0,expires:null!=a?Number(a):null,ssl:!!r}));else if(window!==window.parent&&this._appUrlObj.query?.["arcgis-auth-origin"]&&this._appUrlObj.query?.["arcgis-auth-portal"]&&this._hasSameServerInstance(this._getServerInstanceRoot(this._appUrlObj.query["arcgis-auth-portal"]),t.resUrl_)){window.parent.postMessage({type:"arcgis:auth:requestCredential"},this._appUrlObj.query["arcgis-auth-origin"]);const e=q(window,"message",(t=>{t.source===window.parent&&t.data&&("arcgis:auth:credential"===t.data.type?(e.remove(),t.data.credential.expires<Date.now()?s(new H("identity-manager:credential-request-failed","Parent application's token has expired.")):i(new ur(t.data.credential))):"arcgis:auth:error"===t.data.type&&(e.remove(),s("tokenExpiredError"===t.data.error.name?new H("identity-manager:credential-request-failed","Parent application's token has expired."):H.fromJSON(t.data.error))))}));g(t.options_?.signal,(()=>{e.remove()}))}else if(c){let e=c._oAuthCred;if(!e){const t=new Qn(c,lr),i=new Qn(c,hr);t.isValid()&&i.isValid()?t.expires>i.expires?(e=t,i.destroy()):(e=i,t.destroy()):e=t.isValid()?t:i,c._oAuthCred=e}if(e.isValid()){u=new ur({userId:e.userId??void 0,server:l.server??void 0,token:e.token??void 0,expires:e.expires,ssl:e.ssl??void 0,_oAuthCred:e});const r=c.appId!==e.appId&&this._doPortalSignIn(t.resUrl_);r||e.refreshToken?(t._pendingDfd=e.refreshToken?this._getOAuthToken(l.server,e.refreshToken,e.appId).then((t=>(u.expires=Date.now()+1e3*t.expires_in,u.token=t.access_token,u))):Promise.resolve(u),t._pendingDfd.then((t=>r?this._exchangeToken(t.server,c.appId,t.token).then((e=>(t.token=e,t))).catch((()=>t)):t)).then((t=>{i(t)})).catch((t=>{const i=t.details?.httpStatus;i>0&&404!==i?(e.destroy(),n()):s(t)}))):i(u)}else if(this._oAuthLocationParams&&this._hasSameServerInstance(c.portalUrl,this._oAuthLocationParams.state.portalUrl)&&(this._oAuthLocationParams.access_token||this._oAuthLocationParams.code&&this._oAuthLocationParams.state.uid===e.stateUID&&e.codeVerifier)){const e=this._oAuthLocationParams;this._oAuthLocationParams=null,t._pendingDfd=this._processOAuthResponseParams(e,c,l).then((t=>{i(t)})).catch(s)}else{const e=()=>{h?t._pendingDfd=this.oAuthSignIn(t.resUrl_,l,c,t.options_).then(i,s):(d=new H("identity-manager:not-authenticated","User is not signed in."),s(d))};this._doPortalSignIn(t.resUrl_)?t._pendingDfd=this._getPlatformSelf(l.server,c.appId).then((t=>{W(t.portalUrl,this._appOrigin,!0)?(u=new ur({userId:t.username,server:l.server??void 0,expires:Date.now()+1e3*t.expires_in,token:t.token}),i(u)):e()})).catch(e):e()}}else if(h){if(this._checkProtocol(t.resUrl_,l,s,t.admin_)){let e=t.options_;t.admin_&&(e=e||{},e.isAdmin=!0),t._pendingDfd=this.signIn(t.resUrl_,l,e).then(i,s)}}else d=new H("identity-manager:not-authenticated","User is not signed in."),s(d)},r=()=>{const e=t.sinfo_,n=e.owningSystemUrl,r=t.options_;let o,a,l,h;if(r&&(o=r.token,a=r.error,l=r.prompt),h=this._findCredential(n,{token:o,resource:t.resUrl_}),!h)for(const t of this.credentials)if(this._isIdProvider(n,t.server)){h=t;break}if(h){const n=this.findCredential(t.resUrl_,h.userId);if(n)i(n);else if(ar(e,this._legacyFed)){const t=h.toJSON();t.server=e.server,t.resources=null,i(new ur(t))}else(t._pendingDfd=this.generateToken(this.findServerInfo(h.server),null,{serverUrl:t.resUrl_,token:h.token,signal:t.options_.signal,ssl:h.ssl})).then((s=>{i(new ur({userId:h?.userId,server:e.server??void 0,token:s.token,expires:null!=s.expires?Number(s.expires):null,ssl:!!s.ssl,isAdmin:t.admin_,validity:s.validity}))}),s)}else this._busy=null,o&&(t.options_.token=null),(t._pendingDfd=this.getCredential(n.replace(/\/?$/,"/sharing"),{resource:t.resUrl_,owningTenant:e.owningTenant,signal:t.options_.signal,token:o,error:a,prompt:l})).then((()=>{this._enqueue(t.resUrl_,t.sinfo_,t.options_,t,t.admin_)}),(e=>{t.resUrl_=t.sinfo_=t.refresh_=null,t.reject(e)}))};this._errbackFunc=s;const o=t.sinfo_.owningSystemUrl,a=this._isServerRsrc(t.resUrl_),l=t.sinfo_._restInfoPms;l?l.promise.then((i=>{const s=t.sinfo_;if(s._restInfoPms){s.adminTokenServiceUrl=s._restInfoPms.adminUrl,s._restInfoPms=null,s.tokenServiceUrl=(e("authInfo.tokenServicesUrl",i)||e("authInfo.tokenServiceUrl",i)||e("tokenServiceUrl",i))??null,s.shortLivedTokenValidity=e("authInfo.shortLivedTokenValidity",i)??null,s.currentVersion=i.currentVersion,s.owningTenant=i.owningTenant;const t=s.owningSystemUrl=i.owningSystemUrl;t&&this._portals.push(t)}a&&s.owningSystemUrl?r():n()}),(()=>{t.sinfo_._restInfoPms=null;const e=new H("identity-manager:server-identification-failed","Unknown resource - could not find token service endpoint.");s(e)})):a&&o?r():t.sinfo_._selfReq?t.sinfo_._selfReq.selfDfd.then((e=>{const i={};let s,n,r,o;return e&&(s=e.user?.username,i.username=s,i.allSSL=e.allSSL,n=e.supportsOAuth,o=parseFloat(e.currentVersion),"multitenant"===e.portalMode&&(r=e.customBaseUrl),t.sinfo_.currentVersion=o),t.sinfo_.webTierAuth=!!s,s&&this.normalizeWebTierAuth?this.generateToken(t.sinfo_,null,{ssl:i.allSSL}).catch((()=>null)).then((t=>(i.portalToken=t?.token,i.tokenExpiration=t?.expires,i))):!s&&n&&o>=4.4&&!this._findOAuthInfo(t.resUrl_)?this._generateOAuthInfo({portalUrl:t.sinfo_.server,customBaseUrl:r,owningTenant:t.sinfo_._selfReq.owningTenant}).catch((()=>null)).then((()=>i)):i})).catch((()=>null)).then((e=>{t.sinfo_._selfReq=null,e?n(e.username,e.allSSL,e.portalToken,e.tokenExpiration):n()})):n()}_generateOAuthInfo(t){let e,i=null,s=t.portalUrl;const n=t.customBaseUrl,r=t.owningTenant,o=!this._defaultOAuthInfo&&this._createDefaultOAuthInfo&&!this._hasTestedIfAppIsOnPortal;if(o){i=window.location.href;let t=i.indexOf("?");t>-1&&(i=i.slice(0,t)),t=i.search(/\/(apps|home)\//),i=t>-1?i.slice(0,t):null}return o&&i?(this._hasTestedIfAppIsOnPortal=!0,e=G(i+"/sharing/rest",{query:{f:"json"}}).then((()=>{this._defaultOAuthInfo=new ir({appId:"arcgisonline",popupCallbackUrl:i+"/home/oauth-callback.html"})}))):e=Promise.resolve(),e.then((()=>{if(this._defaultOAuthInfo)return s=s.replace(/^http:/i,"https:"),G(s+"/sharing/rest/oauth2/validateRedirectUri",{query:{accountId:r,client_id:this._defaultOAuthInfo.appId,redirect_uri:$(this._defaultOAuthInfo.popupCallbackUrl),f:"json"}}).then((t=>{if(t.data.valid){const e=this._defaultOAuthInfo.clone();e.portalUrl=t.data.urlKey&&n?"https://"+t.data.urlKey.toLowerCase()+"."+n:s,e.popup=window!==window.top||!(W(s,this._appOrigin)||this._gwDomains.some((t=>t.regex.test(s)&&t.regex.test(this._appOrigin)))),this.oAuthInfos.push(e)}}))}))}_doOAuthSignIn(t,e,i,s){const n=i._oAuthCred,r={portalUrl:i.portalUrl};!i.popup&&i.preserveUrlHash&&window.location.hash&&(r.hash=window.location.hash),n.stateUID&&(r.uid=n.stateUID);const o={client_id:i.appId,response_type:n.codeVerifier?"code":"token",state:JSON.stringify(r),expiration:i.expiration,locale:i.locale,redirect_uri:this._getRedirectURI(i,!!n.codeVerifier)};i.forceLogin&&(o.force_login=!0),i.forceUserId&&i.userId&&(o.prepopulatedusername=i.userId),!i.popup&&this._doPortalSignIn(t)&&(o.redirectToUserOrgUrl=!0),n.codeVerifier&&(o.code_challenge=s||n.codeVerifier,o.code_challenge_method=s?"S256":"plain");const a=i.portalUrl.replace(/^http:/i,"https:")+"/sharing/oauth2/authorize",l=a+"?"+Z(o);if(i.popup){const t=window.open(l,"esriJSAPIOAuth",i.popupWindowFeatures);if(t)t.focus(),this._oAuthDfd.oAuthWin_=t,this._oAuthIntervalId=setInterval((()=>{if(t.closed){clearInterval(this._oAuthIntervalId),this._oAuthOnPopupHandle.remove();const t=this._oAuthDfd;if(t){const e=new H("identity-manager:user-aborted","ABORTED");t.reject(e)}}}),500),this._oAuthOnPopupHandle=q(window,["arcgis:auth:hash","arcgis:auth:location:search"],(t=>{"arcgis:auth:hash"===t.type?this.setOAuthResponseHash(t.detail):this._setOAuthResponseQueryString(t.detail)}));else{const t=new H("identity-manager:popup-blocked","ABORTED");this._oAuthDfd.reject(t)}}else this._rejectOnPersistedPageShow=!0,this._oAuthRedirectFunc?this._oAuthRedirectFunc({authorizeParams:o,authorizeUrl:a,resourceUrl:t,serverInfo:e,oAuthInfo:i}):window.location.href=l}_getRedirectURI(t,e){const i=window.location.href.replace(/#.*$/,"");if(t.popup)return $(t.popupCallbackUrl);if(e){const t=F(i);return t.query&&["code","error","error_description","message_code","persist","state"].forEach((e=>{delete t.query[e]})),st(t.path,t.query)}return i}}cr.prototype.declaredClass="esri.identity.IdentityManagerBase";let ur=class extends ut.EventedAccessor{constructor(t){super(t),this._oAuthCred=null,this.tokenRefreshBuffer=2,t?._oAuthCred&&(this._oAuthCred=t._oAuthCred)}initialize(){this.resources=this.resources||[],null==this.creationTime&&(this.creationTime=Date.now())}refreshToken(){const t=nt,e=t.findServerInfo(this.server),i=e?.owningSystemUrl,s=!!i&&"server"===this.scope,n=s&&ar(e,t._legacyFed),r=e.webTierAuth,o=r&&t.normalizeWebTierAuth,a=rr[this.server],l=a?.[this.userId];let h,c=this.resources&&this.resources[0],u=s?t.findServerInfo(i):null,d={username:this.userId,password:l};if(r&&!o)return;s&&!u&&t.serverInfos.some((e=>(t._isIdProvider(i,e.server)&&(u=e),!!u)));const f=u?t.findCredential(u.server,this.userId):null;if(!s||f){if(!n){if(s)h={serverUrl:c,token:f?.token,ssl:f?.ssl};else if(o)d=null,h={ssl:this.ssl};else{if(!l){let i;return c&&(c=t._sanitizeUrl(c),this._enqueued=1,i=t._enqueue(c,e,null,null,this.isAdmin,this),i.then((()=>{this._enqueued=0,this.refreshServerTokens()})).catch((()=>{this._enqueued=0}))),i}this.isAdmin&&(h={isAdmin:!0})}return t.generateToken(s?u:e,s?null:d,h).then((t=>{this.token=t.token,this.expires=null!=t.expires?Number(t.expires):null,this.creationTime=Date.now(),this.validity=t.validity,this.emitTokenChange(),this.refreshServerTokens()})).catch((()=>{}))}f?.refreshToken()}}refreshServerTokens(){if("portal"===this.scope){const t=nt;t.credentials.forEach((e=>{const i=t.findServerInfo(e.server),s=i?.owningSystemUrl;e!==this&&e.userId===this.userId&&s&&"server"===e.scope&&(t._hasSameServerInstance(this.server,s)||t._isIdProvider(s,this.server))&&(ar(i,t._legacyFed)?(e.token=this.token,e.expires=this.expires,e.creationTime=this.creationTime,e.validity=this.validity,e.emitTokenChange()):e.refreshToken())}))}}emitTokenChange(t){clearTimeout(this._refreshTimer);const e=nt,i=this.server?e.findServerInfo(this.server):null,s=i?.owningSystemUrl,n=s?e.findServerInfo(s):null;!1===t||s&&"portal"!==this.scope&&(!n?.webTierAuth||e.normalizeWebTierAuth)||null==this.expires&&null==this.validity||this._startRefreshTimer(),this.emit("token-change")}destroy(){this.userId=this.server=this.token=this.expires=this.validity=this.resources=this.creationTime=null,this._oAuthCred&&(this._oAuthCred.destroy(),this._oAuthCred=null);const t=nt,e=t.credentials.indexOf(this);e>-1&&t.credentials.splice(e,1),this.emitTokenChange(),this.emit("destroy")}toJSON(){const t=B({userId:this.userId,server:this.server,token:this.token,expires:this.expires,validity:this.validity,ssl:this.ssl,isAdmin:this.isAdmin,creationTime:this.creationTime,scope:this.scope}),e=this.resources;return e&&e.length>0&&(t.resources=e.slice()),t}_startRefreshTimer(){clearTimeout(this._refreshTimer);const t=6e4*this.tokenRefreshBuffer,e=2**31-1;let i=(this.validity?this.creationTime+6e4*this.validity:this.expires)-Date.now();i<0?i=0:i>e&&(i=e),this._refreshTimer=setTimeout(this.refreshToken.bind(this),i>t?i-t:i)}};r([f()],ur.prototype,"creationTime",void 0),r([f()],ur.prototype,"expires",void 0),r([f()],ur.prototype,"isAdmin",void 0),r([f()],ur.prototype,"oAuthState",void 0),r([f()],ur.prototype,"resources",void 0),r([f()],ur.prototype,"scope",void 0),r([f()],ur.prototype,"server",void 0),r([f()],ur.prototype,"ssl",void 0),r([f()],ur.prototype,"token",void 0),r([f()],ur.prototype,"tokenRefreshBuffer",void 0),r([f()],ur.prototype,"userId",void 0),r([f()],ur.prototype,"validity",void 0),ur=r([o("esri.identity.Credential")],ur);class dr extends cr{}dr.prototype.declaredClass="esri.identity.IdentityManager";const fr=new dr;rt(fr);const pr=Object.freeze({__proto__:null,default:fr});export{Pi as C,Ri as D,pn as F,Vi as H,pr as I,ms as a,yn as b,ys as c,on as f,ss as g,ps as h,xn as i,fn as p,es as r}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{d as e}from"./p-a1e6cfd8.js";import"./p-82ee3b26.js";import"./p-576843e9.js";import"./p-26ba0cc7.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-3f18fb1f.js";import"./p-ec51378a.js";import"./p-9ce8e34f.js";import"./p-ae019e19.js";import"./p-0ebb1a18.js";import"./p-b56b9a89.js";import"./p-3b859054.js";import"./p-94b818bb.js";import"./p-50721c04.js";import"./p-e76f93bc.js";import"./p-ad536cdf.js";import"./p-bd7be7a7.js";import"./p-731eb030.js";import"./p-3b54163f.js";import"./p-a71250ea.js";var a={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(e,a){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?a[0]:a[1]:a[2]},relativeTimeFormatter:function(e,d,t,r){var m=a.words[t];if(1===t.length)return"y"===t&&d?"jedna godina":r||d?m[0]:m[1];var o=a.correctGrammarCase(e,m);return"yy"===t&&d&&"%d godinu"===o?e+" godina":o.replace("%d",e)}},d={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._Čet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:a.relativeTimeFormatter,mm:a.relativeTimeFormatter,h:a.relativeTimeFormatter,hh:a.relativeTimeFormatter,d:a.relativeTimeFormatter,dd:a.relativeTimeFormatter,M:a.relativeTimeFormatter,MM:a.relativeTimeFormatter,y:a.relativeTimeFormatter,yy:a.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};e.locale(d,null,!0);export{d as default}