@esri/solutions-components 0.10.18 → 0.10.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1579) hide show
  1. package/dist/cjs/ExpandToggle-54ca6b91.js +115 -0
  2. package/dist/cjs/FloatingArrow-28f6bb91.js +48 -0
  3. package/dist/cjs/Heading-63b5c82c.js +25 -0
  4. package/dist/cjs/Validation-9bab9a69.js +20 -0
  5. package/dist/cjs/app-globals-d2085e28.js +67 -0
  6. package/dist/cjs/ar-ce94723b.js +106 -0
  7. package/dist/cjs/array-708fd433.js +17 -0
  8. package/dist/cjs/basemap-gallery_7.cjs.entry.js +15 -7
  9. package/dist/cjs/bg-8ab5661c.js +84 -0
  10. package/dist/cjs/browser-2893460e.js +35 -0
  11. package/dist/cjs/bs-f15b7a3d.js +53 -0
  12. package/dist/cjs/buffer-tools_3.cjs.entry.js +5 -5
  13. package/dist/cjs/ca-321e7e4f.js +73 -0
  14. package/dist/cjs/calcite-accordion-item.cjs.entry.js +9 -9
  15. package/dist/cjs/calcite-accordion.cjs.entry.js +3 -3
  16. package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -14
  17. package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
  18. package/dist/cjs/calcite-action-menu_2.cjs.entry.js +15 -15
  19. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +14 -14
  20. package/dist/cjs/calcite-action_2.cjs.entry.js +20 -20
  21. package/dist/cjs/calcite-alert_5.cjs.entry.js +55 -27
  22. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  23. package/dist/cjs/calcite-block-section.cjs.entry.js +10 -10
  24. package/dist/cjs/calcite-block_5.cjs.entry.js +27 -27
  25. package/dist/cjs/calcite-button.cjs.entry.js +14 -14
  26. package/dist/cjs/calcite-card-group.cjs.entry.js +6 -6
  27. package/dist/cjs/calcite-card.cjs.entry.js +11 -11
  28. package/dist/cjs/calcite-carousel-item.cjs.entry.js +2 -2
  29. package/dist/cjs/calcite-carousel.cjs.entry.js +12 -12
  30. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
  31. package/dist/cjs/calcite-chip-group.cjs.entry.js +6 -6
  32. package/dist/cjs/calcite-chip_2.cjs.entry.js +15 -15
  33. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
  34. package/dist/cjs/calcite-color-picker.cjs.entry.js +12 -12
  35. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +6 -6
  36. package/dist/cjs/calcite-combobox_3.cjs.entry.js +21 -21
  37. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +13 -13
  38. package/dist/cjs/calcite-dialog.cjs.entry.js +15 -15
  39. package/dist/cjs/calcite-dropdown_2.cjs.entry.js +13 -13
  40. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  41. package/dist/cjs/calcite-filter_5.cjs.entry.js +18 -18
  42. package/dist/cjs/calcite-flow_4.cjs.entry.js +49 -17
  43. package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
  44. package/dist/cjs/calcite-icon_2.cjs.entry.js +10 -10
  45. package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
  46. package/dist/cjs/calcite-input-number.cjs.entry.js +16 -16
  47. package/dist/cjs/calcite-input-text.cjs.entry.js +16 -16
  48. package/dist/cjs/calcite-input-time-picker-d63d914b.js +1861 -0
  49. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +20 -20
  50. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +23 -17
  51. package/dist/cjs/calcite-input_2.cjs.entry.js +16 -16
  52. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  53. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  54. package/dist/cjs/calcite-list-item-group.cjs.entry.js +4 -4
  55. package/dist/cjs/calcite-menu-item.cjs.entry.js +10 -10
  56. package/dist/cjs/calcite-menu.cjs.entry.js +9 -9
  57. package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
  58. package/dist/cjs/calcite-modal_3.cjs.entry.js +19 -19
  59. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
  60. package/dist/cjs/calcite-navigation-user.cjs.entry.js +3 -3
  61. package/dist/cjs/calcite-navigation.cjs.entry.js +6 -6
  62. package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
  63. package/dist/cjs/calcite-option_2.cjs.entry.js +12 -12
  64. package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
  65. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +10 -10
  66. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +15 -15
  67. package/dist/cjs/calcite-pick-list.cjs.entry.js +13 -13
  68. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +8 -8
  69. package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
  70. package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
  71. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  72. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +13 -13
  73. package/dist/cjs/calcite-sheet.cjs.entry.js +10 -10
  74. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +7 -7
  75. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +40 -39
  76. package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
  77. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  78. package/dist/cjs/calcite-stepper-item.cjs.entry.js +11 -11
  79. package/dist/cjs/calcite-stepper.cjs.entry.js +10 -10
  80. package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
  81. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
  82. package/dist/cjs/calcite-table-row.cjs.entry.js +8 -8
  83. package/dist/cjs/calcite-table.cjs.entry.js +10 -10
  84. package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
  85. package/dist/cjs/calcite-tile-group.cjs.entry.js +7 -7
  86. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +4 -4
  87. package/dist/cjs/calcite-tile-select.cjs.entry.js +7 -7
  88. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  89. package/dist/cjs/calcite-time-picker.cjs.entry.js +13 -13
  90. package/dist/cjs/calcite-tip-group.cjs.entry.js +2 -2
  91. package/dist/cjs/calcite-tip-manager.cjs.entry.js +12 -12
  92. package/dist/cjs/calcite-tip.cjs.entry.js +13 -13
  93. package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
  94. package/dist/cjs/calcite-tree_3.cjs.entry.js +11 -11
  95. package/dist/cjs/card-manager_3.cjs.entry.js +8 -7
  96. package/dist/cjs/common-eee0c33f.js +38 -0
  97. package/dist/cjs/component-7f2bd646.js +33 -0
  98. package/dist/cjs/conditionalSlot-2d2541f4.js +54 -0
  99. package/dist/cjs/config-7c16c710.js +40 -0
  100. package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
  101. package/dist/cjs/crowdsource-reporter.cjs.entry.js +71 -32
  102. package/dist/cjs/cs-66742e3a.js +149 -0
  103. package/dist/cjs/da-933e7031.js +69 -0
  104. package/dist/cjs/date-e01a99aa.js +264 -0
  105. package/dist/cjs/de-87706bda.js +93 -0
  106. package/dist/cjs/de-at-752f7be1.js +92 -0
  107. package/dist/cjs/de-ch-41dc3fef.js +92 -0
  108. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  109. package/dist/cjs/dom-3d3a8f25.js +1215 -0
  110. package/dist/cjs/downloadUtils-470f6a27.js +3164 -0
  111. package/dist/cjs/el-23b7e02b.js +68 -0
  112. package/dist/cjs/en-au-4f9fe083.js +68 -0
  113. package/dist/cjs/en-ca-afba9508.js +67 -0
  114. package/dist/cjs/en-gb-78a49c6a.js +71 -0
  115. package/dist/cjs/es-ea5faae0.js +68 -0
  116. package/dist/cjs/es-mx-47a5667a.js +67 -0
  117. package/dist/cjs/et-72505ea1.js +94 -0
  118. package/dist/cjs/feature-comments.cjs.entry.js +1 -1
  119. package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
  120. package/dist/cjs/feature-list.cjs.entry.js +25 -12
  121. package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
  122. package/dist/cjs/fi-7b4ac88c.js +117 -0
  123. package/dist/cjs/filter-a9429bde.js +778 -0
  124. package/dist/cjs/floating-ui-9ff03df8.js +2373 -0
  125. package/dist/cjs/focusTrapComponent-86ebd41d.js +1018 -0
  126. package/dist/cjs/form-8132060d.js +381 -0
  127. package/dist/cjs/fr-8077e2e8.js +70 -0
  128. package/dist/cjs/fr-ch-04f427a0.js +68 -0
  129. package/dist/cjs/guid-42cda8c9.js +26 -0
  130. package/dist/cjs/he-93b37a58.js +107 -0
  131. package/dist/cjs/hi-cb320ba3.js +67 -0
  132. package/dist/cjs/hr-15e455d9.js +82 -0
  133. package/dist/cjs/hu-10c42dd5.js +90 -0
  134. package/dist/cjs/id-813844ef.js +68 -0
  135. package/dist/cjs/index.es-6387d8fb.js +11318 -0
  136. package/dist/cjs/input-3efc5a5e.js +60 -0
  137. package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
  138. package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
  139. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +9 -9
  140. package/dist/cjs/interactive-3b85d8df.js +167 -0
  141. package/dist/cjs/it-090375c5.js +68 -0
  142. package/dist/cjs/it-ch-6cc91215.js +68 -0
  143. package/dist/cjs/ja-e6697420.js +74 -0
  144. package/dist/cjs/key-82084ef6.js +19 -0
  145. package/dist/cjs/ko-522250be.js +74 -0
  146. package/dist/cjs/label-e7d3c371.js +186 -0
  147. package/dist/cjs/layout-manager.cjs.entry.js +1 -1
  148. package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
  149. package/dist/cjs/loadable-0e357195.js +98 -0
  150. package/dist/cjs/loader.cjs.js +5 -5
  151. package/dist/cjs/locale-351282c5.js +605 -0
  152. package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
  153. package/dist/cjs/logger-309df5d9.js +61 -0
  154. package/dist/cjs/lt-c2f9fd21.js +99 -0
  155. package/dist/cjs/lv-a1930986.js +68 -0
  156. package/dist/cjs/map-select-tools_3.cjs.entry.js +7 -6
  157. package/dist/cjs/math-14740338.js +60 -0
  158. package/dist/cjs/mk-deb11706.js +68 -0
  159. package/dist/cjs/nb-3859b631.js +69 -0
  160. package/dist/cjs/nl-6c2c838d.js +69 -0
  161. package/dist/cjs/observers-5f9f67ee.js +58 -0
  162. package/dist/cjs/openCloseComponent-b66f10f5.js +65 -0
  163. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  164. package/dist/cjs/pl-fcb7899e.js +116 -0
  165. package/dist/cjs/popupUtils-c38f840d.js +121 -0
  166. package/dist/cjs/pt-416d2cf8.js +69 -0
  167. package/dist/cjs/pt-br-bae3d576.js +67 -0
  168. package/dist/cjs/public-notification.cjs.entry.js +6 -5
  169. package/dist/cjs/purify-0805e9f8.js +1562 -0
  170. package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
  171. package/dist/cjs/resources-4446499e.js +39 -0
  172. package/dist/cjs/resources-4c3e1c50.js +68 -0
  173. package/dist/cjs/resources-6f65a67f.js +29 -0
  174. package/dist/cjs/resources-87ed79dd.js +23 -0
  175. package/dist/cjs/resources-9b04cd8c.js +23 -0
  176. package/dist/cjs/resources-a1ca0958.js +27 -0
  177. package/dist/cjs/resources-c5f09989.js +68 -0
  178. package/dist/cjs/resources-dbc687b5.js +26 -0
  179. package/dist/cjs/resources-f11e9bd6.js +39 -0
  180. package/dist/cjs/resources-f8785f51.js +21 -0
  181. package/dist/cjs/restHelpersGet-5c2245a3.js +991 -0
  182. package/dist/cjs/ro-bda94f37.js +68 -0
  183. package/dist/cjs/ru-7258ce51.js +128 -0
  184. package/dist/cjs/share-item.cjs.entry.js +1 -1
  185. package/dist/cjs/shared-list-render-d4b7311f.js +361 -0
  186. package/dist/cjs/sk-3a398547.js +150 -0
  187. package/dist/cjs/sl-bfb5a728.js +170 -0
  188. package/dist/cjs/solution-configuration.cjs.entry.js +31 -30
  189. package/dist/cjs/solution-contents_3.cjs.entry.js +8 -7
  190. package/dist/cjs/solution-resource-40e70253.js +145 -0
  191. package/dist/cjs/solution-store-2cd6a8c3.js +1354 -0
  192. package/dist/cjs/solutions-components.cjs.js +5 -5
  193. package/dist/cjs/sortableComponent-8684e273.js +2748 -0
  194. package/dist/cjs/spatial-ref.cjs.entry.js +4 -3
  195. package/dist/cjs/sr-58554054.js +103 -0
  196. package/dist/cjs/store-manager.cjs.entry.js +5 -4
  197. package/dist/cjs/sv-335a4402.js +73 -0
  198. package/dist/cjs/t9n-e41672d2.js +108 -0
  199. package/dist/cjs/templates-0b7f886f.js +408 -0
  200. package/dist/cjs/th-14ebad2e.js +67 -0
  201. package/dist/cjs/time-9a5e2f2d.js +301 -0
  202. package/dist/cjs/tr-36bcc20f.js +68 -0
  203. package/dist/cjs/uk-dcff92bd.js +106 -0
  204. package/dist/cjs/utils-29c97686.js +2304 -0
  205. package/dist/cjs/utils-edb4e372.js +78 -0
  206. package/dist/cjs/vi-284fec96.js +72 -0
  207. package/dist/cjs/zh-cn-1f4ab46b.js +96 -0
  208. package/dist/cjs/zh-hk-39cf1fdd.js +94 -0
  209. package/dist/cjs/zh-tw-e0b3117d.js +94 -0
  210. package/dist/collection/assets/t9n/card-manager/resources_ar.json +4 -1
  211. package/dist/collection/assets/t9n/card-manager/resources_bg.json +4 -1
  212. package/dist/collection/assets/t9n/card-manager/resources_bs.json +4 -1
  213. package/dist/collection/assets/t9n/card-manager/resources_ca.json +4 -1
  214. package/dist/collection/assets/t9n/card-manager/resources_cs.json +4 -1
  215. package/dist/collection/assets/t9n/card-manager/resources_da.json +4 -1
  216. package/dist/collection/assets/t9n/card-manager/resources_de.json +4 -1
  217. package/dist/collection/assets/t9n/card-manager/resources_el.json +4 -1
  218. package/dist/collection/assets/t9n/card-manager/resources_es.json +4 -1
  219. package/dist/collection/assets/t9n/card-manager/resources_et.json +4 -1
  220. package/dist/collection/assets/t9n/card-manager/resources_fi.json +4 -1
  221. package/dist/collection/assets/t9n/card-manager/resources_fr.json +4 -1
  222. package/dist/collection/assets/t9n/card-manager/resources_he.json +4 -1
  223. package/dist/collection/assets/t9n/card-manager/resources_hr.json +4 -1
  224. package/dist/collection/assets/t9n/card-manager/resources_hu.json +4 -1
  225. package/dist/collection/assets/t9n/card-manager/resources_id.json +4 -1
  226. package/dist/collection/assets/t9n/card-manager/resources_it.json +4 -1
  227. package/dist/collection/assets/t9n/card-manager/resources_ja.json +4 -1
  228. package/dist/collection/assets/t9n/card-manager/resources_ko.json +4 -1
  229. package/dist/collection/assets/t9n/card-manager/resources_lt.json +4 -1
  230. package/dist/collection/assets/t9n/card-manager/resources_lv.json +4 -1
  231. package/dist/collection/assets/t9n/card-manager/resources_nb.json +4 -1
  232. package/dist/collection/assets/t9n/card-manager/resources_nl.json +4 -1
  233. package/dist/collection/assets/t9n/card-manager/resources_pl.json +4 -1
  234. package/dist/collection/assets/t9n/card-manager/resources_pt-BR.json +4 -1
  235. package/dist/collection/assets/t9n/card-manager/resources_pt-PT.json +4 -1
  236. package/dist/collection/assets/t9n/card-manager/resources_ro.json +4 -1
  237. package/dist/collection/assets/t9n/card-manager/resources_ru.json +4 -1
  238. package/dist/collection/assets/t9n/card-manager/resources_sk.json +4 -1
  239. package/dist/collection/assets/t9n/card-manager/resources_sl.json +4 -1
  240. package/dist/collection/assets/t9n/card-manager/resources_sr.json +4 -1
  241. package/dist/collection/assets/t9n/card-manager/resources_sv.json +4 -1
  242. package/dist/collection/assets/t9n/card-manager/resources_th.json +4 -1
  243. package/dist/collection/assets/t9n/card-manager/resources_tr.json +4 -1
  244. package/dist/collection/assets/t9n/card-manager/resources_uk.json +4 -1
  245. package/dist/collection/assets/t9n/card-manager/resources_vi.json +4 -1
  246. package/dist/collection/assets/t9n/card-manager/resources_zh-CN.json +4 -1
  247. package/dist/collection/assets/t9n/card-manager/resources_zh-HK.json +4 -1
  248. package/dist/collection/assets/t9n/card-manager/resources_zh-TW.json +4 -1
  249. package/dist/collection/assets/t9n/create-feature/resources.json +5 -0
  250. package/dist/collection/assets/t9n/create-feature/resources_en.json +5 -0
  251. package/dist/collection/assets/t9n/create-related-feature/resources.json +3 -0
  252. package/dist/collection/assets/t9n/create-related-feature/resources_en.json +3 -0
  253. package/dist/collection/assets/t9n/crowdsource-reporter/resources.json +0 -1
  254. package/dist/collection/assets/t9n/crowdsource-reporter/resources_en.json +0 -1
  255. package/dist/collection/assets/t9n/layer-table/resources_ar.json +2 -1
  256. package/dist/collection/assets/t9n/layer-table/resources_bg.json +2 -1
  257. package/dist/collection/assets/t9n/layer-table/resources_bs.json +2 -1
  258. package/dist/collection/assets/t9n/layer-table/resources_ca.json +2 -1
  259. package/dist/collection/assets/t9n/layer-table/resources_cs.json +2 -1
  260. package/dist/collection/assets/t9n/layer-table/resources_da.json +2 -1
  261. package/dist/collection/assets/t9n/layer-table/resources_de.json +2 -1
  262. package/dist/collection/assets/t9n/layer-table/resources_el.json +2 -1
  263. package/dist/collection/assets/t9n/layer-table/resources_es.json +2 -1
  264. package/dist/collection/assets/t9n/layer-table/resources_et.json +2 -1
  265. package/dist/collection/assets/t9n/layer-table/resources_fi.json +2 -1
  266. package/dist/collection/assets/t9n/layer-table/resources_fr.json +2 -1
  267. package/dist/collection/assets/t9n/layer-table/resources_he.json +2 -1
  268. package/dist/collection/assets/t9n/layer-table/resources_hr.json +2 -1
  269. package/dist/collection/assets/t9n/layer-table/resources_hu.json +2 -1
  270. package/dist/collection/assets/t9n/layer-table/resources_id.json +2 -1
  271. package/dist/collection/assets/t9n/layer-table/resources_it.json +2 -1
  272. package/dist/collection/assets/t9n/layer-table/resources_ja.json +2 -1
  273. package/dist/collection/assets/t9n/layer-table/resources_ko.json +2 -1
  274. package/dist/collection/assets/t9n/layer-table/resources_lt.json +2 -1
  275. package/dist/collection/assets/t9n/layer-table/resources_lv.json +2 -1
  276. package/dist/collection/assets/t9n/layer-table/resources_nb.json +2 -1
  277. package/dist/collection/assets/t9n/layer-table/resources_nl.json +2 -1
  278. package/dist/collection/assets/t9n/layer-table/resources_pl.json +2 -1
  279. package/dist/collection/assets/t9n/layer-table/resources_pt-BR.json +2 -1
  280. package/dist/collection/assets/t9n/layer-table/resources_pt-PT.json +2 -1
  281. package/dist/collection/assets/t9n/layer-table/resources_ro.json +2 -1
  282. package/dist/collection/assets/t9n/layer-table/resources_ru.json +2 -1
  283. package/dist/collection/assets/t9n/layer-table/resources_sk.json +2 -1
  284. package/dist/collection/assets/t9n/layer-table/resources_sl.json +2 -1
  285. package/dist/collection/assets/t9n/layer-table/resources_sr.json +2 -1
  286. package/dist/collection/assets/t9n/layer-table/resources_sv.json +2 -1
  287. package/dist/collection/assets/t9n/layer-table/resources_th.json +2 -1
  288. package/dist/collection/assets/t9n/layer-table/resources_tr.json +2 -1
  289. package/dist/collection/assets/t9n/layer-table/resources_uk.json +2 -1
  290. package/dist/collection/assets/t9n/layer-table/resources_vi.json +2 -1
  291. package/dist/collection/assets/t9n/layer-table/resources_zh-CN.json +2 -1
  292. package/dist/collection/assets/t9n/layer-table/resources_zh-HK.json +2 -1
  293. package/dist/collection/assets/t9n/layer-table/resources_zh-TW.json +2 -1
  294. package/dist/collection/components/basemap-gallery/basemap-gallery.js +11 -1
  295. package/dist/collection/components/create-feature/create-feature.css +6 -1
  296. package/dist/collection/components/create-feature/create-feature.js +50 -3
  297. package/dist/collection/components/create-related-feature/create-related-feature.css +10 -0
  298. package/dist/collection/components/create-related-feature/create-related-feature.js +35 -3
  299. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -1
  300. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +72 -31
  301. package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
  302. package/dist/collection/components/delete-button/delete-button.js +1 -1
  303. package/dist/collection/components/edit-card/edit-card.js +1 -1
  304. package/dist/collection/components/feature-comments/feature-comments.js +1 -1
  305. package/dist/collection/components/feature-details/feature-details.css +0 -8
  306. package/dist/collection/components/feature-details/feature-details.js +58 -10
  307. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
  308. package/dist/collection/components/feature-list/feature-list.js +29 -10
  309. package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
  310. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  311. package/dist/collection/components/info-card/info-card.js +2 -2
  312. package/dist/collection/components/json-editor/json-editor.js +1 -1
  313. package/dist/collection/components/layer-table/layer-table.js +3 -3
  314. package/dist/collection/components/layout-manager/layout-manager.js +1 -1
  315. package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
  316. package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
  317. package/dist/collection/components/map-card/map-card.js +1 -1
  318. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  319. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  320. package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
  321. package/dist/collection/components/map-legend/map-legend.js +1 -1
  322. package/dist/collection/components/map-picker/map-picker.js +1 -1
  323. package/dist/collection/components/map-search/map-search.js +1 -1
  324. package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
  325. package/dist/collection/components/map-tools/map-tools.js +1 -1
  326. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  327. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  328. package/dist/collection/components/public-notification/public-notification.js +2 -2
  329. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
  330. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  331. package/dist/collection/components/share-item/share-item.js +1 -1
  332. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  333. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  334. package/dist/collection/components/solution-item/solution-item.js +1 -1
  335. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  336. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  337. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  338. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  339. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  340. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  341. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  342. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  343. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  344. package/dist/collection/demos/crowdsource-reporter.html +24 -25
  345. package/dist/collection/utils/pdfUtils.js +1 -1
  346. package/dist/collection/utils/pdfUtils.ts +1 -1
  347. package/dist/components/ExpandToggle.js +2 -2
  348. package/dist/components/FloatingArrow.js +1 -1
  349. package/dist/components/Heading.js +1 -1
  350. package/dist/components/Validation.js +1 -1
  351. package/dist/components/action-bar.js +1 -1
  352. package/dist/components/action-group.js +1 -1
  353. package/dist/components/action-menu.js +1 -1
  354. package/dist/components/action-pad.js +1 -1
  355. package/dist/components/action.js +1 -1
  356. package/dist/components/alert.js +2 -2
  357. package/dist/components/array.js +1 -1
  358. package/dist/components/avatar.js +2 -2
  359. package/dist/components/basemap-gallery2.js +10 -1
  360. package/dist/components/block.js +1 -1
  361. package/dist/components/browser.js +1 -1
  362. package/dist/components/button.js +1 -1
  363. package/dist/components/calcite-accordion-item.js +1 -1
  364. package/dist/components/calcite-accordion.js +1 -1
  365. package/dist/components/calcite-block-section.js +1 -1
  366. package/dist/components/calcite-card.js +1 -1
  367. package/dist/components/calcite-carousel-item.js +1 -1
  368. package/dist/components/calcite-carousel.js +1 -1
  369. package/dist/components/calcite-dialog.js +1 -1
  370. package/dist/components/calcite-fab.js +1 -1
  371. package/dist/components/calcite-inline-editable.js +1 -1
  372. package/dist/components/calcite-input-time-picker.js +1 -1
  373. package/dist/components/calcite-input-time-zone.js +11 -4
  374. package/dist/components/calcite-list-item-group.js +1 -1
  375. package/dist/components/calcite-menu-item.js +1 -1
  376. package/dist/components/calcite-meter.js +1 -1
  377. package/dist/components/calcite-navigation-logo.js +1 -1
  378. package/dist/components/calcite-navigation.js +1 -1
  379. package/dist/components/calcite-radio-button-group.js +1 -1
  380. package/dist/components/calcite-rating.js +1 -1
  381. package/dist/components/calcite-sheet.js +1 -1
  382. package/dist/components/calcite-shell-center-row.js +1 -1
  383. package/dist/components/calcite-sortable-list.js +1 -1
  384. package/dist/components/calcite-split-button.js +1 -1
  385. package/dist/components/calcite-stepper-item.js +1 -1
  386. package/dist/components/calcite-stepper.js +2 -2
  387. package/dist/components/calcite-table-row.js +1 -1
  388. package/dist/components/calcite-table.js +1 -1
  389. package/dist/components/calcite-text-area.js +1 -1
  390. package/dist/components/calcite-tile-group.js +1 -1
  391. package/dist/components/calcite-tile-select.js +1 -1
  392. package/dist/components/calcite-tile.js +1 -1
  393. package/dist/components/calcite-tip-manager.js +1 -1
  394. package/dist/components/calcite-tip.js +1 -1
  395. package/dist/components/checkbox.js +1 -1
  396. package/dist/components/chip.js +1 -1
  397. package/dist/components/color-picker-hex-input.js +1 -1
  398. package/dist/components/color-picker-swatch.js +1 -1
  399. package/dist/components/combobox-item-group.js +1 -1
  400. package/dist/components/combobox-item.js +1 -1
  401. package/dist/components/combobox.js +1 -1
  402. package/dist/components/common.js +1 -0
  403. package/dist/components/component.js +1 -1
  404. package/dist/components/conditionalSlot.js +1 -1
  405. package/dist/components/config.js +1 -1
  406. package/dist/components/create-feature2.js +47 -5
  407. package/dist/components/create-related-feature2.js +32 -5
  408. package/dist/components/crowdsource-manager.js +1 -1
  409. package/dist/components/crowdsource-reporter.js +73 -33
  410. package/dist/components/date-picker-month-header.js +1 -1
  411. package/dist/components/date-picker.js +2 -2
  412. package/dist/components/date.js +1 -1
  413. package/dist/components/deduct-calculator2.js +1 -1
  414. package/dist/components/delete-button2.js +1 -1
  415. package/dist/components/dom.js +1 -1
  416. package/dist/components/downloadUtils.js +28 -27
  417. package/dist/components/dropdown.js +1 -1
  418. package/dist/components/edit-card2.js +1 -1
  419. package/dist/components/feature-comments.js +1 -1
  420. package/dist/components/feature-details2.js +31 -11
  421. package/dist/components/feature-form-flow-item.js +1 -1
  422. package/dist/components/feature-list2.js +20 -8
  423. package/dist/components/features-flow-item.js +1 -1
  424. package/dist/components/filter.js +1 -1
  425. package/dist/components/filter2.js +1 -1
  426. package/dist/components/floating-ui.js +1 -1
  427. package/dist/components/floor-filter2.js +1 -1
  428. package/dist/components/flow-item.js +1 -1
  429. package/dist/components/flow.js +1 -1
  430. package/dist/components/focusTrapComponent.js +1 -1
  431. package/dist/components/form.js +1 -1
  432. package/dist/components/graph.js +1 -1
  433. package/dist/components/guid.js +1 -1
  434. package/dist/components/handle.js +1 -1
  435. package/dist/components/icon.js +2 -2
  436. package/dist/components/index.js +2 -2
  437. package/dist/components/index2.js +2117 -162
  438. package/dist/components/index3.js +162 -2117
  439. package/dist/components/info-card2.js +2 -2
  440. package/dist/components/input-date-picker.js +2 -2
  441. package/dist/components/input-message.js +1 -1
  442. package/dist/components/input-number.js +1 -1
  443. package/dist/components/input-text.js +1 -1
  444. package/dist/components/input.js +1 -1
  445. package/dist/components/input2.js +1 -1
  446. package/dist/components/instant-apps-header2.js +1 -1
  447. package/dist/components/instant-apps-splash.js +1 -1
  448. package/dist/components/instant-apps-time-filter.js +10 -10
  449. package/dist/components/interactive.js +1 -1
  450. package/dist/components/json-editor2.js +1 -1
  451. package/dist/components/key.js +1 -1
  452. package/dist/components/label.js +1 -1
  453. package/dist/components/label2.js +1 -1
  454. package/dist/components/layer-table2.js +3 -3
  455. package/dist/components/layout-manager.js +1 -1
  456. package/dist/components/list-flow-item.js +1 -1
  457. package/dist/components/list.js +1 -1
  458. package/dist/components/loadable.js +1 -1
  459. package/dist/components/loader.js +1 -1
  460. package/dist/components/locale2.js +2 -2
  461. package/dist/components/location-flow-item.js +1 -1
  462. package/dist/components/logger.js +1 -1
  463. package/dist/components/map-card2.js +1 -1
  464. package/dist/components/map-draw-tools2.js +1 -1
  465. package/dist/components/map-fullscreen2.js +1 -1
  466. package/dist/components/map-layer-picker2.js +1 -1
  467. package/dist/components/map-legend2.js +1 -1
  468. package/dist/components/map-picker2.js +1 -1
  469. package/dist/components/map-search2.js +1 -1
  470. package/dist/components/map-select-tools2.js +1 -1
  471. package/dist/components/map-tools2.js +1 -1
  472. package/dist/components/math.js +1 -1
  473. package/dist/components/modal.js +1 -1
  474. package/dist/components/navigation-user.js +1 -1
  475. package/dist/components/notice.js +1 -1
  476. package/dist/components/observers.js +1 -1
  477. package/dist/components/openCloseComponent.js +1 -1
  478. package/dist/components/pagination.js +2 -2
  479. package/dist/components/panel.js +2 -2
  480. package/dist/components/pci-calculator.js +1 -1
  481. package/dist/components/pdf-download2.js +1 -1
  482. package/dist/components/pick-list-item.js +1 -1
  483. package/dist/components/popover.js +2 -2
  484. package/dist/components/public-notification.js +2 -2
  485. package/dist/components/publicNotificationStore.js +1 -1
  486. package/dist/components/purify.js +275 -429
  487. package/dist/components/radio-button.js +1 -1
  488. package/dist/components/refine-results-flow-item.js +1 -1
  489. package/dist/components/refine-selection2.js +1 -1
  490. package/dist/components/resources.js +1 -1
  491. package/dist/components/resources2.js +1 -1
  492. package/dist/components/resources3.js +1 -1
  493. package/dist/components/resources4.js +1 -1
  494. package/dist/components/resources5.js +1 -1
  495. package/dist/components/resources6.js +1 -1
  496. package/dist/components/restHelpersGet.js +16 -0
  497. package/dist/components/scrim.js +1 -1
  498. package/dist/components/segmented-control-item.js +1 -1
  499. package/dist/components/segmented-control.js +1 -1
  500. package/dist/components/select.js +1 -1
  501. package/dist/components/share-item.js +1 -1
  502. package/dist/components/shared-list-render.js +2 -2
  503. package/dist/components/shell-panel.js +1 -1
  504. package/dist/components/shell.js +2 -2
  505. package/dist/components/slider.js +1 -1
  506. package/dist/components/solution-configuration.js +27 -26
  507. package/dist/components/solution-contents2.js +1 -1
  508. package/dist/components/solution-item-details2.js +1 -1
  509. package/dist/components/solution-item-icon2.js +1 -1
  510. package/dist/components/solution-item-sharing2.js +1 -1
  511. package/dist/components/solution-item2.js +1 -1
  512. package/dist/components/solution-organization-variables2.js +1 -1
  513. package/dist/components/solution-resource-item2.js +2 -1
  514. package/dist/components/solution-resource.js +1 -1699
  515. package/dist/components/solution-spatial-ref2.js +1 -1
  516. package/dist/components/solution-store.js +2 -1
  517. package/dist/components/solution-template-data2.js +1 -1
  518. package/dist/components/solution-variables2.js +1 -1
  519. package/dist/components/sortableComponent.js +1 -1
  520. package/dist/components/spatial-ref.js +1 -1
  521. package/dist/components/stack.js +1 -1
  522. package/dist/components/store.js +1 -1
  523. package/dist/components/switch.js +1 -1
  524. package/dist/components/t9n.js +1 -1
  525. package/dist/components/tab-nav.js +1 -1
  526. package/dist/components/tab-title.js +1 -1
  527. package/dist/components/tab.js +1 -1
  528. package/dist/components/table-cell.js +1 -1
  529. package/dist/components/table-header.js +1 -1
  530. package/dist/components/tabs.js +1 -1
  531. package/dist/components/templates.js +1 -0
  532. package/dist/components/time-picker.js +2 -2
  533. package/dist/components/tooltip.js +3 -3
  534. package/dist/components/tree-item.js +1 -1
  535. package/dist/components/tree.js +1 -1
  536. package/dist/components/utils.js +2 -2
  537. package/dist/components/utils2.js +2 -2
  538. package/dist/components/utils3.js +1 -1
  539. package/dist/components/utils4.js +1 -1
  540. package/dist/components/value-list-item.js +1 -1
  541. package/dist/components/value-list.js +2 -2
  542. package/dist/esm/ExpandToggle-b5147279.js +108 -0
  543. package/dist/esm/FloatingArrow-9a505e89.js +46 -0
  544. package/dist/esm/Heading-cae0b34c.js +22 -0
  545. package/dist/esm/Validation-bd0a53ec.js +18 -0
  546. package/dist/esm/app-globals-530c75ff.js +65 -0
  547. package/dist/esm/ar-e0e64e78.js +104 -0
  548. package/dist/esm/array-ddb2593b.js +15 -0
  549. package/dist/esm/basemap-gallery_7.entry.js +15 -7
  550. package/dist/esm/bg-d2d8dbe0.js +82 -0
  551. package/dist/esm/browser-a791205e.js +32 -0
  552. package/dist/esm/bs-d883901d.js +51 -0
  553. package/dist/esm/buffer-tools_3.entry.js +5 -5
  554. package/dist/esm/ca-064729ad.js +71 -0
  555. package/dist/esm/calcite-accordion-item.entry.js +9 -9
  556. package/dist/esm/calcite-accordion.entry.js +3 -3
  557. package/dist/esm/calcite-action-bar.entry.js +14 -14
  558. package/dist/esm/calcite-action-group.entry.js +12 -12
  559. package/dist/esm/calcite-action-menu_2.entry.js +15 -15
  560. package/dist/esm/calcite-action-pad_2.entry.js +14 -14
  561. package/dist/esm/calcite-action_2.entry.js +20 -20
  562. package/dist/esm/calcite-alert_5.entry.js +55 -27
  563. package/dist/esm/calcite-avatar.entry.js +6 -6
  564. package/dist/esm/calcite-block-section.entry.js +10 -10
  565. package/dist/esm/calcite-block_5.entry.js +27 -27
  566. package/dist/esm/calcite-button.entry.js +14 -14
  567. package/dist/esm/calcite-card-group.entry.js +6 -6
  568. package/dist/esm/calcite-card.entry.js +11 -11
  569. package/dist/esm/calcite-carousel-item.entry.js +2 -2
  570. package/dist/esm/calcite-carousel.entry.js +12 -12
  571. package/dist/esm/calcite-checkbox.entry.js +11 -11
  572. package/dist/esm/calcite-chip-group.entry.js +6 -6
  573. package/dist/esm/calcite-chip_2.entry.js +15 -15
  574. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
  575. package/dist/esm/calcite-color-picker.entry.js +12 -12
  576. package/dist/esm/calcite-combobox-item-group.entry.js +6 -6
  577. package/dist/esm/calcite-combobox_3.entry.js +21 -21
  578. package/dist/esm/calcite-date-picker-day_3.entry.js +13 -13
  579. package/dist/esm/calcite-dialog.entry.js +15 -15
  580. package/dist/esm/calcite-dropdown_2.entry.js +13 -13
  581. package/dist/esm/calcite-fab.entry.js +7 -7
  582. package/dist/esm/calcite-filter_5.entry.js +18 -18
  583. package/dist/esm/calcite-flow_4.entry.js +50 -18
  584. package/dist/esm/calcite-graph_2.entry.js +15 -15
  585. package/dist/esm/calcite-icon_2.entry.js +10 -10
  586. package/dist/esm/calcite-inline-editable.entry.js +13 -13
  587. package/dist/esm/calcite-input-number.entry.js +16 -16
  588. package/dist/esm/calcite-input-text.entry.js +16 -16
  589. package/dist/esm/calcite-input-time-picker-66e7a9f3.js +1858 -0
  590. package/dist/esm/calcite-input-time-picker.entry.js +20 -20
  591. package/dist/esm/calcite-input-time-zone.entry.js +23 -17
  592. package/dist/esm/calcite-input_2.entry.js +16 -16
  593. package/dist/esm/calcite-label.entry.js +6 -6
  594. package/dist/esm/calcite-link.entry.js +6 -6
  595. package/dist/esm/calcite-list-item-group.entry.js +4 -4
  596. package/dist/esm/calcite-menu-item.entry.js +10 -10
  597. package/dist/esm/calcite-menu.entry.js +9 -9
  598. package/dist/esm/calcite-meter.entry.js +10 -10
  599. package/dist/esm/calcite-modal_3.entry.js +19 -19
  600. package/dist/esm/calcite-navigation-logo.entry.js +4 -4
  601. package/dist/esm/calcite-navigation-user.entry.js +3 -3
  602. package/dist/esm/calcite-navigation.entry.js +6 -6
  603. package/dist/esm/calcite-notice.entry.js +14 -14
  604. package/dist/esm/calcite-option_2.entry.js +12 -12
  605. package/dist/esm/calcite-pagination.entry.js +12 -12
  606. package/dist/esm/calcite-pick-list-group.entry.js +10 -10
  607. package/dist/esm/calcite-pick-list-item.entry.js +15 -15
  608. package/dist/esm/calcite-pick-list.entry.js +13 -13
  609. package/dist/esm/calcite-radio-button-group.entry.js +8 -8
  610. package/dist/esm/calcite-radio-button.entry.js +11 -11
  611. package/dist/esm/calcite-rating.entry.js +14 -14
  612. package/dist/esm/calcite-scrim.entry.js +9 -9
  613. package/dist/esm/calcite-segmented-control_2.entry.js +13 -13
  614. package/dist/esm/calcite-sheet.entry.js +10 -10
  615. package/dist/esm/calcite-shell-center-row.entry.js +7 -7
  616. package/dist/esm/calcite-shell-panel_14.entry.js +40 -39
  617. package/dist/esm/calcite-sortable-list.entry.js +8 -8
  618. package/dist/esm/calcite-split-button.entry.js +4 -4
  619. package/dist/esm/calcite-stepper-item.entry.js +11 -11
  620. package/dist/esm/calcite-stepper.entry.js +10 -10
  621. package/dist/esm/calcite-switch.entry.js +11 -11
  622. package/dist/esm/calcite-table-cell_2.entry.js +13 -13
  623. package/dist/esm/calcite-table-row.entry.js +8 -8
  624. package/dist/esm/calcite-table.entry.js +10 -10
  625. package/dist/esm/calcite-text-area.entry.js +16 -16
  626. package/dist/esm/calcite-tile-group.entry.js +7 -7
  627. package/dist/esm/calcite-tile-select-group.entry.js +4 -4
  628. package/dist/esm/calcite-tile-select.entry.js +7 -7
  629. package/dist/esm/calcite-tile.entry.js +7 -7
  630. package/dist/esm/calcite-time-picker.entry.js +13 -13
  631. package/dist/esm/calcite-tip-group.entry.js +2 -2
  632. package/dist/esm/calcite-tip-manager.entry.js +12 -12
  633. package/dist/esm/calcite-tip.entry.js +13 -13
  634. package/dist/esm/calcite-tooltip.entry.js +10 -10
  635. package/dist/esm/calcite-tree_3.entry.js +11 -11
  636. package/dist/esm/card-manager_3.entry.js +8 -7
  637. package/dist/esm/common-c3bbba83.js +36 -0
  638. package/dist/esm/component-d35983a4.js +30 -0
  639. package/dist/esm/conditionalSlot-0cbc7172.js +51 -0
  640. package/dist/esm/config-8d1c3431.js +36 -0
  641. package/dist/esm/crowdsource-manager.entry.js +1 -1
  642. package/dist/esm/crowdsource-reporter.entry.js +71 -32
  643. package/dist/esm/cs-3751e560.js +147 -0
  644. package/dist/esm/da-227f8ad5.js +67 -0
  645. package/dist/esm/date-87a67cb4.js +248 -0
  646. package/dist/esm/de-a5d2b25b.js +91 -0
  647. package/dist/esm/de-at-66232b80.js +90 -0
  648. package/dist/esm/de-ch-1264ed4c.js +90 -0
  649. package/dist/esm/deduct-calculator.entry.js +1 -1
  650. package/dist/esm/dom-63d2d41c.js +1180 -0
  651. package/dist/esm/downloadUtils-d1f791c5.js +3157 -0
  652. package/dist/esm/el-f5bf7ca3.js +66 -0
  653. package/dist/esm/en-au-2ac8f62e.js +66 -0
  654. package/dist/esm/en-ca-a1602b49.js +65 -0
  655. package/dist/esm/en-gb-28354b2e.js +69 -0
  656. package/dist/esm/es-feb7aad2.js +66 -0
  657. package/dist/esm/es-mx-5d64f899.js +65 -0
  658. package/dist/esm/et-173d2f49.js +92 -0
  659. package/dist/esm/feature-comments.entry.js +1 -1
  660. package/dist/esm/feature-form-flow-item.entry.js +1 -1
  661. package/dist/esm/feature-list.entry.js +25 -12
  662. package/dist/esm/features-flow-item.entry.js +1 -1
  663. package/dist/esm/fi-ff9bb719.js +115 -0
  664. package/dist/esm/filter-6ee02739.js +775 -0
  665. package/dist/esm/floating-ui-c7ae81d9.js +2365 -0
  666. package/dist/esm/focusTrapComponent-833b1234.js +1013 -0
  667. package/dist/esm/form-08e1bcb7.js +372 -0
  668. package/dist/esm/fr-ch-491f1abe.js +66 -0
  669. package/dist/esm/fr-e3af6835.js +68 -0
  670. package/dist/esm/guid-42656051.js +24 -0
  671. package/dist/esm/he-47aa8dde.js +105 -0
  672. package/dist/esm/hi-1700df3e.js +65 -0
  673. package/dist/esm/hr-68b828f5.js +80 -0
  674. package/dist/esm/hu-df6a8f29.js +88 -0
  675. package/dist/esm/id-8091582d.js +66 -0
  676. package/dist/esm/index.es-decad494.js +11231 -0
  677. package/dist/esm/input-7f3fc18b.js +58 -0
  678. package/dist/esm/instant-apps-header.entry.js +1 -1
  679. package/dist/esm/instant-apps-splash.entry.js +1 -1
  680. package/dist/esm/instant-apps-time-filter.entry.js +9 -9
  681. package/dist/esm/interactive-b2a41b8b.js +162 -0
  682. package/dist/esm/it-1f5e149d.js +66 -0
  683. package/dist/esm/it-ch-bf7fcac6.js +66 -0
  684. package/dist/esm/ja-a5117166.js +72 -0
  685. package/dist/esm/key-d6dfb50e.js +16 -0
  686. package/dist/esm/ko-9d7a9e79.js +72 -0
  687. package/dist/esm/label-4c4e06d6.js +179 -0
  688. package/dist/esm/layout-manager.entry.js +1 -1
  689. package/dist/esm/list-flow-item.entry.js +1 -1
  690. package/dist/esm/loadable-1a9b14b8.js +93 -0
  691. package/dist/esm/loader.js +5 -5
  692. package/dist/esm/locale-4441c976.js +591 -0
  693. package/dist/esm/location-flow-item.entry.js +1 -1
  694. package/dist/esm/logger-3188b9c3.js +59 -0
  695. package/dist/esm/lt-2e1c53de.js +97 -0
  696. package/dist/esm/lv-ca1ba866.js +66 -0
  697. package/dist/esm/map-select-tools_3.entry.js +7 -6
  698. package/dist/esm/math-9afe1f6d.js +54 -0
  699. package/dist/esm/mk-421d0d41.js +66 -0
  700. package/dist/esm/nb-5b103e32.js +67 -0
  701. package/dist/esm/nl-eac33461.js +67 -0
  702. package/dist/esm/observers-6cac5525.js +56 -0
  703. package/dist/esm/openCloseComponent-c8c8645b.js +63 -0
  704. package/dist/esm/pci-calculator.entry.js +1 -1
  705. package/dist/esm/pl-03531ccb.js +114 -0
  706. package/dist/esm/popupUtils-4e0a103f.js +119 -0
  707. package/dist/esm/pt-b5d8bffc.js +67 -0
  708. package/dist/esm/pt-br-dee45728.js +65 -0
  709. package/dist/esm/public-notification.entry.js +6 -5
  710. package/dist/esm/purify-cb56797a.js +1560 -0
  711. package/dist/esm/refine-results-flow-item.entry.js +1 -1
  712. package/dist/esm/resources-119ae117.js +23 -0
  713. package/dist/esm/resources-244d70ca.js +22 -0
  714. package/dist/esm/resources-3f56d4e7.js +19 -0
  715. package/dist/esm/resources-57625076.js +63 -0
  716. package/dist/esm/resources-5b213c89.js +35 -0
  717. package/dist/esm/resources-61eab899.js +20 -0
  718. package/dist/esm/resources-745dec87.js +34 -0
  719. package/dist/esm/resources-9494c015.js +21 -0
  720. package/dist/esm/resources-d6566b8a.js +62 -0
  721. package/dist/esm/resources-d7e0fbbf.js +24 -0
  722. package/dist/esm/restHelpersGet-48113381.js +976 -0
  723. package/dist/esm/ro-df6cb584.js +66 -0
  724. package/dist/esm/ru-e7c02faa.js +126 -0
  725. package/dist/esm/share-item.entry.js +1 -1
  726. package/dist/esm/shared-list-render-cadae2eb.js +339 -0
  727. package/dist/esm/sk-cae387d2.js +148 -0
  728. package/dist/esm/sl-2892ad87.js +168 -0
  729. package/dist/esm/solution-configuration.entry.js +31 -30
  730. package/dist/esm/solution-contents_3.entry.js +8 -7
  731. package/dist/esm/solution-resource-f5809979.js +142 -0
  732. package/dist/esm/solution-store-ca4d55de.js +1352 -0
  733. package/dist/esm/solutions-components.js +5 -5
  734. package/dist/esm/sortableComponent-52b99f0f.js +2745 -0
  735. package/dist/esm/spatial-ref.entry.js +4 -3
  736. package/dist/esm/sr-11e6839f.js +101 -0
  737. package/dist/esm/store-manager.entry.js +5 -4
  738. package/dist/esm/sv-fd5c6ca5.js +71 -0
  739. package/dist/esm/t9n-b7ea1a61.js +103 -0
  740. package/dist/esm/templates-0b442208.js +402 -0
  741. package/dist/esm/th-170cf6b1.js +65 -0
  742. package/dist/esm/time-a7f1020b.js +286 -0
  743. package/dist/esm/tr-1d6ca382.js +66 -0
  744. package/dist/esm/uk-35eec84e.js +104 -0
  745. package/dist/esm/utils-62514064.js +65 -0
  746. package/dist/esm/utils-d2524a35.js +2274 -0
  747. package/dist/esm/vi-2713ee26.js +70 -0
  748. package/dist/esm/zh-cn-ed066014.js +94 -0
  749. package/dist/esm/zh-hk-a118dced.js +92 -0
  750. package/dist/esm/zh-tw-c9bbf220.js +92 -0
  751. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +5 -5
  752. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +5 -5
  753. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +5 -5
  754. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +5 -5
  755. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +5 -5
  756. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -5
  757. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +5 -5
  758. package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +5 -5
  759. package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +5 -5
  760. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +5 -5
  761. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +5 -5
  762. package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +5 -5
  763. package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +5 -5
  764. package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +5 -5
  765. package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +5 -5
  766. package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +5 -5
  767. package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +5 -5
  768. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +5 -5
  769. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +5 -5
  770. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +5 -5
  771. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
  772. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
  773. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +5 -5
  774. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +5 -5
  775. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
  776. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
  777. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
  778. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
  779. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
  780. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dialog/dialog.css +5 -5
  781. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +5 -5
  782. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
  783. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
  784. package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +5 -5
  785. package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +5 -5
  786. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
  787. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +5 -5
  788. package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
  789. package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +5 -5
  790. package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +5 -5
  791. package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +5 -5
  792. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +5 -5
  793. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
  794. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +5 -5
  795. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +5 -5
  796. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +5 -5
  797. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
  798. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
  799. package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +5 -5
  800. package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +5 -5
  801. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +5 -5
  802. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +5 -5
  803. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +5 -5
  804. package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +5 -5
  805. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
  806. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +5 -5
  807. package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +5 -5
  808. package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +5 -5
  809. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
  810. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
  811. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +5 -5
  812. package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +5 -5
  813. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
  814. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
  815. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +5 -5
  816. package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +6 -22
  817. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +5 -5
  818. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
  819. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
  820. package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +5 -5
  821. package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +5 -5
  822. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +5 -5
  823. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
  824. package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +5 -5
  825. package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
  826. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +5 -5
  827. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
  828. package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +5 -5
  829. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +5 -5
  830. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +6 -6
  831. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
  832. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +5 -5
  833. package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +5 -5
  834. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +5 -5
  835. package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +5 -5
  836. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +5 -5
  837. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +5 -5
  838. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +5 -5
  839. package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +5 -5
  840. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +5 -5
  841. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +5 -5
  842. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +5 -5
  843. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +5 -5
  844. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +5 -5
  845. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +5 -5
  846. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +5 -5
  847. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +5 -5
  848. package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +5 -5
  849. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +5 -5
  850. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +5 -5
  851. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +5 -5
  852. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
  853. package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
  854. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +5 -5
  855. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
  856. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +5 -5
  857. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +5 -5
  858. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
  859. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +5 -5
  860. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +5 -5
  861. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +5 -5
  862. package/dist/solutions-components/assets/t9n/card-manager/resources_ar.json +4 -1
  863. package/dist/solutions-components/assets/t9n/card-manager/resources_bg.json +4 -1
  864. package/dist/solutions-components/assets/t9n/card-manager/resources_bs.json +4 -1
  865. package/dist/solutions-components/assets/t9n/card-manager/resources_ca.json +4 -1
  866. package/dist/solutions-components/assets/t9n/card-manager/resources_cs.json +4 -1
  867. package/dist/solutions-components/assets/t9n/card-manager/resources_da.json +4 -1
  868. package/dist/solutions-components/assets/t9n/card-manager/resources_de.json +4 -1
  869. package/dist/solutions-components/assets/t9n/card-manager/resources_el.json +4 -1
  870. package/dist/solutions-components/assets/t9n/card-manager/resources_es.json +4 -1
  871. package/dist/solutions-components/assets/t9n/card-manager/resources_et.json +4 -1
  872. package/dist/solutions-components/assets/t9n/card-manager/resources_fi.json +4 -1
  873. package/dist/solutions-components/assets/t9n/card-manager/resources_fr.json +4 -1
  874. package/dist/solutions-components/assets/t9n/card-manager/resources_he.json +4 -1
  875. package/dist/solutions-components/assets/t9n/card-manager/resources_hr.json +4 -1
  876. package/dist/solutions-components/assets/t9n/card-manager/resources_hu.json +4 -1
  877. package/dist/solutions-components/assets/t9n/card-manager/resources_id.json +4 -1
  878. package/dist/solutions-components/assets/t9n/card-manager/resources_it.json +4 -1
  879. package/dist/solutions-components/assets/t9n/card-manager/resources_ja.json +4 -1
  880. package/dist/solutions-components/assets/t9n/card-manager/resources_ko.json +4 -1
  881. package/dist/solutions-components/assets/t9n/card-manager/resources_lt.json +4 -1
  882. package/dist/solutions-components/assets/t9n/card-manager/resources_lv.json +4 -1
  883. package/dist/solutions-components/assets/t9n/card-manager/resources_nb.json +4 -1
  884. package/dist/solutions-components/assets/t9n/card-manager/resources_nl.json +4 -1
  885. package/dist/solutions-components/assets/t9n/card-manager/resources_pl.json +4 -1
  886. package/dist/solutions-components/assets/t9n/card-manager/resources_pt-BR.json +4 -1
  887. package/dist/solutions-components/assets/t9n/card-manager/resources_pt-PT.json +4 -1
  888. package/dist/solutions-components/assets/t9n/card-manager/resources_ro.json +4 -1
  889. package/dist/solutions-components/assets/t9n/card-manager/resources_ru.json +4 -1
  890. package/dist/solutions-components/assets/t9n/card-manager/resources_sk.json +4 -1
  891. package/dist/solutions-components/assets/t9n/card-manager/resources_sl.json +4 -1
  892. package/dist/solutions-components/assets/t9n/card-manager/resources_sr.json +4 -1
  893. package/dist/solutions-components/assets/t9n/card-manager/resources_sv.json +4 -1
  894. package/dist/solutions-components/assets/t9n/card-manager/resources_th.json +4 -1
  895. package/dist/solutions-components/assets/t9n/card-manager/resources_tr.json +4 -1
  896. package/dist/solutions-components/assets/t9n/card-manager/resources_uk.json +4 -1
  897. package/dist/solutions-components/assets/t9n/card-manager/resources_vi.json +4 -1
  898. package/dist/solutions-components/assets/t9n/card-manager/resources_zh-CN.json +4 -1
  899. package/dist/solutions-components/assets/t9n/card-manager/resources_zh-HK.json +4 -1
  900. package/dist/solutions-components/assets/t9n/card-manager/resources_zh-TW.json +4 -1
  901. package/dist/solutions-components/assets/t9n/create-feature/resources.json +5 -0
  902. package/dist/solutions-components/assets/t9n/create-feature/resources_en.json +5 -0
  903. package/dist/solutions-components/assets/t9n/create-related-feature/resources.json +3 -0
  904. package/dist/solutions-components/assets/t9n/create-related-feature/resources_en.json +3 -0
  905. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources.json +0 -1
  906. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_en.json +0 -1
  907. package/dist/solutions-components/assets/t9n/layer-table/resources_ar.json +2 -1
  908. package/dist/solutions-components/assets/t9n/layer-table/resources_bg.json +2 -1
  909. package/dist/solutions-components/assets/t9n/layer-table/resources_bs.json +2 -1
  910. package/dist/solutions-components/assets/t9n/layer-table/resources_ca.json +2 -1
  911. package/dist/solutions-components/assets/t9n/layer-table/resources_cs.json +2 -1
  912. package/dist/solutions-components/assets/t9n/layer-table/resources_da.json +2 -1
  913. package/dist/solutions-components/assets/t9n/layer-table/resources_de.json +2 -1
  914. package/dist/solutions-components/assets/t9n/layer-table/resources_el.json +2 -1
  915. package/dist/solutions-components/assets/t9n/layer-table/resources_es.json +2 -1
  916. package/dist/solutions-components/assets/t9n/layer-table/resources_et.json +2 -1
  917. package/dist/solutions-components/assets/t9n/layer-table/resources_fi.json +2 -1
  918. package/dist/solutions-components/assets/t9n/layer-table/resources_fr.json +2 -1
  919. package/dist/solutions-components/assets/t9n/layer-table/resources_he.json +2 -1
  920. package/dist/solutions-components/assets/t9n/layer-table/resources_hr.json +2 -1
  921. package/dist/solutions-components/assets/t9n/layer-table/resources_hu.json +2 -1
  922. package/dist/solutions-components/assets/t9n/layer-table/resources_id.json +2 -1
  923. package/dist/solutions-components/assets/t9n/layer-table/resources_it.json +2 -1
  924. package/dist/solutions-components/assets/t9n/layer-table/resources_ja.json +2 -1
  925. package/dist/solutions-components/assets/t9n/layer-table/resources_ko.json +2 -1
  926. package/dist/solutions-components/assets/t9n/layer-table/resources_lt.json +2 -1
  927. package/dist/solutions-components/assets/t9n/layer-table/resources_lv.json +2 -1
  928. package/dist/solutions-components/assets/t9n/layer-table/resources_nb.json +2 -1
  929. package/dist/solutions-components/assets/t9n/layer-table/resources_nl.json +2 -1
  930. package/dist/solutions-components/assets/t9n/layer-table/resources_pl.json +2 -1
  931. package/dist/solutions-components/assets/t9n/layer-table/resources_pt-BR.json +2 -1
  932. package/dist/solutions-components/assets/t9n/layer-table/resources_pt-PT.json +2 -1
  933. package/dist/solutions-components/assets/t9n/layer-table/resources_ro.json +2 -1
  934. package/dist/solutions-components/assets/t9n/layer-table/resources_ru.json +2 -1
  935. package/dist/solutions-components/assets/t9n/layer-table/resources_sk.json +2 -1
  936. package/dist/solutions-components/assets/t9n/layer-table/resources_sl.json +2 -1
  937. package/dist/solutions-components/assets/t9n/layer-table/resources_sr.json +2 -1
  938. package/dist/solutions-components/assets/t9n/layer-table/resources_sv.json +2 -1
  939. package/dist/solutions-components/assets/t9n/layer-table/resources_th.json +2 -1
  940. package/dist/solutions-components/assets/t9n/layer-table/resources_tr.json +2 -1
  941. package/dist/solutions-components/assets/t9n/layer-table/resources_uk.json +2 -1
  942. package/dist/solutions-components/assets/t9n/layer-table/resources_vi.json +2 -1
  943. package/dist/solutions-components/assets/t9n/layer-table/resources_zh-CN.json +2 -1
  944. package/dist/solutions-components/assets/t9n/layer-table/resources_zh-HK.json +2 -1
  945. package/dist/solutions-components/assets/t9n/layer-table/resources_zh-TW.json +2 -1
  946. package/dist/solutions-components/demos/crowdsource-reporter.html +24 -25
  947. package/dist/solutions-components/p-01dae909.js +6 -0
  948. package/dist/solutions-components/p-02ea30d1.entry.js +11 -0
  949. package/dist/solutions-components/p-040b6e44.entry.js +6 -0
  950. package/dist/solutions-components/p-04294b8e.js +6 -0
  951. package/dist/solutions-components/p-062e5705.entry.js +6 -0
  952. package/dist/solutions-components/p-062f4457.js +6 -0
  953. package/dist/solutions-components/p-07d30a6b.entry.js +11 -0
  954. package/dist/solutions-components/p-08d1cc1f.js +11 -0
  955. package/dist/solutions-components/p-0a165419.js +18 -0
  956. package/dist/solutions-components/p-0b6e5486.js +6 -0
  957. package/dist/solutions-components/p-0d6b3f44.js +6 -0
  958. package/dist/solutions-components/p-0dc73313.js +6 -0
  959. package/dist/solutions-components/p-0e851a4b.js +6 -0
  960. package/dist/solutions-components/p-0ef9d36b.js +11 -0
  961. package/dist/solutions-components/p-1017609e.js +11 -0
  962. package/dist/solutions-components/p-1490c752.js +61 -0
  963. package/dist/solutions-components/p-14f027b5.js +11 -0
  964. package/dist/solutions-components/p-150394be.js +11 -0
  965. package/dist/solutions-components/p-16a3f7ca.entry.js +6 -0
  966. package/dist/solutions-components/p-16b24981.entry.js +11 -0
  967. package/dist/solutions-components/p-19b466d0.js +6 -0
  968. package/dist/solutions-components/p-1a06bf01.js +6 -0
  969. package/dist/solutions-components/p-1b0fe5b1.entry.js +6 -0
  970. package/dist/solutions-components/p-1b229454.js +11 -0
  971. package/dist/solutions-components/p-1c249530.js +11 -0
  972. package/dist/solutions-components/p-1ce2608d.js +12 -0
  973. package/dist/solutions-components/p-1ef6a1c2.entry.js +6 -0
  974. package/dist/solutions-components/p-2007eaa4.entry.js +6 -0
  975. package/dist/solutions-components/p-222e0445.entry.js +11 -0
  976. package/dist/solutions-components/p-2230d4cc.js +11 -0
  977. package/dist/solutions-components/p-2264e8d5.entry.js +11 -0
  978. package/dist/solutions-components/p-23ce9afa.entry.js +11 -0
  979. package/dist/solutions-components/p-23dd68de.entry.js +17 -0
  980. package/dist/solutions-components/p-245c35ce.js +6 -0
  981. package/dist/solutions-components/p-24a813a4.entry.js +6 -0
  982. package/dist/solutions-components/p-25b5ffea.js +6 -0
  983. package/dist/solutions-components/p-267ef1b8.entry.js +11 -0
  984. package/dist/solutions-components/p-270ead49.js +16 -0
  985. package/dist/solutions-components/p-27d462c0.js +11 -0
  986. package/dist/solutions-components/p-2868a42b.js +11 -0
  987. package/dist/solutions-components/p-29a09798.js +17 -0
  988. package/dist/solutions-components/p-2aa44a02.entry.js +11 -0
  989. package/dist/solutions-components/p-2d17790c.js +6 -0
  990. package/dist/solutions-components/p-2e06ec97.js +6 -0
  991. package/dist/solutions-components/p-304cef31.js +16 -0
  992. package/dist/solutions-components/p-33db098c.js +6 -0
  993. package/dist/solutions-components/p-347d9ce0.js +6 -0
  994. package/dist/solutions-components/p-36e59391.js +143 -0
  995. package/dist/solutions-components/p-3792492a.js +11 -0
  996. package/dist/solutions-components/p-38a87c63.js +11 -0
  997. package/dist/solutions-components/p-3a47fde6.entry.js +11 -0
  998. package/dist/solutions-components/p-3c1ecf85.entry.js +29 -0
  999. package/dist/solutions-components/p-3c89bfe5.entry.js +6 -0
  1000. package/dist/solutions-components/p-3e828614.js +11 -0
  1001. package/dist/solutions-components/p-40175313.entry.js +11 -0
  1002. package/dist/solutions-components/p-40f5df15.entry.js +11 -0
  1003. package/dist/solutions-components/p-42cd083f.entry.js +20 -0
  1004. package/dist/solutions-components/p-47a0be20.js +11 -0
  1005. package/dist/solutions-components/p-4920ee12.js +11 -0
  1006. package/dist/solutions-components/p-49bbe45e.js +6 -0
  1007. package/dist/solutions-components/p-4b9b7778.js +11 -0
  1008. package/dist/solutions-components/p-4c179300.entry.js +11 -0
  1009. package/dist/solutions-components/p-4c88578a.entry.js +6 -0
  1010. package/dist/solutions-components/p-4e7aa926.js +6 -0
  1011. package/dist/solutions-components/p-4fe5e9c3.entry.js +22 -0
  1012. package/dist/solutions-components/p-508b2b7b.js +6 -0
  1013. package/dist/solutions-components/p-52f19286.entry.js +11 -0
  1014. package/dist/solutions-components/p-53b5a39e.js +6 -0
  1015. package/dist/solutions-components/p-5440c8dd.js +6 -0
  1016. package/dist/solutions-components/p-54a9017c.entry.js +11 -0
  1017. package/dist/solutions-components/p-54b7e680.js +6 -0
  1018. package/dist/solutions-components/p-550da58b.js +6 -0
  1019. package/dist/solutions-components/p-5612aa0c.entry.js +6 -0
  1020. package/dist/solutions-components/p-57025491.entry.js +6 -0
  1021. package/dist/solutions-components/p-5a3cab12.entry.js +17 -0
  1022. package/dist/solutions-components/p-5de67b86.js +11 -0
  1023. package/dist/solutions-components/p-5e71e72a.js +21 -0
  1024. package/dist/solutions-components/p-5f705984.js +6 -0
  1025. package/dist/solutions-components/p-5f7c1e49.js +6 -0
  1026. package/dist/solutions-components/p-6147cfb4.entry.js +6 -0
  1027. package/dist/solutions-components/p-6319ca20.js +6 -0
  1028. package/dist/solutions-components/p-64a34d92.js +11 -0
  1029. package/dist/solutions-components/p-64bf4d2e.entry.js +11 -0
  1030. package/dist/solutions-components/p-66afdfdd.entry.js +17 -0
  1031. package/dist/solutions-components/p-66b01781.js +11 -0
  1032. package/dist/solutions-components/p-67c34d05.entry.js +16 -0
  1033. package/dist/solutions-components/p-691cb5f4.js +21 -0
  1034. package/dist/solutions-components/p-6b0fa1eb.entry.js +17 -0
  1035. package/dist/solutions-components/p-6c080ac7.entry.js +11 -0
  1036. package/dist/solutions-components/p-707ee1d1.entry.js +11 -0
  1037. package/dist/solutions-components/p-712873f0.js +6 -0
  1038. package/dist/solutions-components/p-732bb88c.entry.js +6 -0
  1039. package/dist/solutions-components/p-744d9575.js +11 -0
  1040. package/dist/solutions-components/p-74fbad1c.js +489 -0
  1041. package/dist/solutions-components/p-7586e1de.entry.js +6 -0
  1042. package/dist/solutions-components/p-770a0e12.js +6 -0
  1043. package/dist/solutions-components/p-793f1b14.entry.js +11 -0
  1044. package/dist/solutions-components/p-798b9928.entry.js +11 -0
  1045. package/dist/solutions-components/p-79f5a8be.js +11 -0
  1046. package/dist/solutions-components/p-79f78acc.entry.js +11 -0
  1047. package/dist/solutions-components/p-7ae41cd8.js +6 -0
  1048. package/dist/solutions-components/p-7b2ef872.entry.js +11 -0
  1049. package/dist/solutions-components/p-7c854814.js +11 -0
  1050. package/dist/solutions-components/p-7fce703f.entry.js +12 -0
  1051. package/dist/solutions-components/p-80f49acc.js +6 -0
  1052. package/dist/solutions-components/p-8537518d.entry.js +11 -0
  1053. package/dist/solutions-components/p-8614d1a0.entry.js +11 -0
  1054. package/dist/solutions-components/p-87f928a5.entry.js +17 -0
  1055. package/dist/solutions-components/p-8bb2c169.js +11 -0
  1056. package/dist/solutions-components/p-8bce991a.js +11 -0
  1057. package/dist/solutions-components/p-8bfa18b7.js +11 -0
  1058. package/dist/solutions-components/p-8c6a301f.entry.js +47 -0
  1059. package/dist/solutions-components/p-8da5aeea.entry.js +11 -0
  1060. package/dist/solutions-components/p-8fb06a85.entry.js +11 -0
  1061. package/dist/solutions-components/p-919e9de7.entry.js +11 -0
  1062. package/dist/solutions-components/p-91b7a7dc.entry.js +11 -0
  1063. package/dist/solutions-components/p-924ec704.js +6 -0
  1064. package/dist/solutions-components/p-9277a339.entry.js +22 -0
  1065. package/dist/solutions-components/p-92ba99ff.js +6 -0
  1066. package/dist/solutions-components/p-936037e4.js +6 -0
  1067. package/dist/solutions-components/p-9384cc65.entry.js +11 -0
  1068. package/dist/solutions-components/p-94ae78d6.js +6 -0
  1069. package/dist/solutions-components/p-9524e5e4.js +6 -0
  1070. package/dist/solutions-components/p-9560a1fd.entry.js +6 -0
  1071. package/dist/solutions-components/p-95c3b305.entry.js +12 -0
  1072. package/dist/solutions-components/p-986ff43b.entry.js +17 -0
  1073. package/dist/solutions-components/p-990d8b4b.js +6 -0
  1074. package/dist/solutions-components/p-996daf05.entry.js +6 -0
  1075. package/dist/solutions-components/p-9bb44f57.js +65 -0
  1076. package/dist/solutions-components/p-9bc84681.js +6 -0
  1077. package/dist/solutions-components/p-9c5f4347.js +6 -0
  1078. package/dist/solutions-components/p-9db30b19.entry.js +6 -0
  1079. package/dist/solutions-components/p-9fa7a7ad.entry.js +6 -0
  1080. package/dist/solutions-components/p-9fed495d.entry.js +17 -0
  1081. package/dist/solutions-components/p-a37d1b17.entry.js +6 -0
  1082. package/dist/solutions-components/p-a471ceb6.js +11 -0
  1083. package/dist/solutions-components/p-a4e35c2d.entry.js +6 -0
  1084. package/dist/solutions-components/p-a5e64f6b.entry.js +6 -0
  1085. package/dist/solutions-components/p-a79f4c52.entry.js +12 -0
  1086. package/dist/solutions-components/p-a8b42e35.entry.js +6 -0
  1087. package/dist/solutions-components/p-aa341d46.entry.js +11 -0
  1088. package/dist/solutions-components/p-aa68a36e.entry.js +11 -0
  1089. package/dist/solutions-components/p-aa85b136.entry.js +6 -0
  1090. package/dist/solutions-components/p-aaa56cbf.js +11 -0
  1091. package/dist/solutions-components/p-ac11cf8f.entry.js +11 -0
  1092. package/dist/solutions-components/p-aef41a6d.entry.js +11 -0
  1093. package/dist/solutions-components/p-b3e8da19.entry.js +11 -0
  1094. package/dist/solutions-components/p-b5575639.js +11 -0
  1095. package/dist/solutions-components/p-b5b66530.js +11 -0
  1096. package/dist/solutions-components/p-b75c4db2.entry.js +6 -0
  1097. package/dist/solutions-components/p-b76ed1c7.entry.js +11 -0
  1098. package/dist/solutions-components/p-b8b78283.entry.js +29 -0
  1099. package/dist/solutions-components/p-b8ce880d.js +6 -0
  1100. package/dist/solutions-components/p-b8f33145.js +6 -0
  1101. package/dist/solutions-components/p-b96233e3.entry.js +6 -0
  1102. package/dist/solutions-components/p-bae65813.entry.js +6 -0
  1103. package/dist/solutions-components/p-bb0f549a.js +6 -0
  1104. package/dist/solutions-components/p-bc6cf10f.entry.js +11 -0
  1105. package/dist/solutions-components/p-bde2619f.entry.js +6 -0
  1106. package/dist/solutions-components/p-c0d25be5.entry.js +21 -0
  1107. package/dist/solutions-components/p-c151da98.entry.js +11 -0
  1108. package/dist/solutions-components/p-c163b67f.js +6 -0
  1109. package/dist/solutions-components/p-c1fa5dae.entry.js +11 -0
  1110. package/dist/solutions-components/p-c25e8c35.js +17 -0
  1111. package/dist/solutions-components/p-c40b0ec5.js +16 -0
  1112. package/dist/solutions-components/p-c4953b5e.entry.js +11 -0
  1113. package/dist/solutions-components/p-c5facecd.entry.js +6 -0
  1114. package/dist/solutions-components/p-c6255e3c.entry.js +6 -0
  1115. package/dist/solutions-components/p-c7eaade6.entry.js +11 -0
  1116. package/dist/solutions-components/p-ca6055a3.js +6 -0
  1117. package/dist/solutions-components/p-cadbe907.entry.js +11 -0
  1118. package/dist/solutions-components/p-cb07016a.entry.js +11 -0
  1119. package/dist/solutions-components/p-cd6eee11.js +6 -0
  1120. package/dist/solutions-components/p-cf9e6515.entry.js +11 -0
  1121. package/dist/solutions-components/p-d0d020a5.js +37 -0
  1122. package/dist/solutions-components/p-d1cc620f.entry.js +11 -0
  1123. package/dist/solutions-components/p-d36878db.js +11 -0
  1124. package/dist/solutions-components/p-d47abf9b.entry.js +16 -0
  1125. package/dist/solutions-components/p-d75ef009.entry.js +11 -0
  1126. package/dist/solutions-components/p-d784f756.entry.js +23 -0
  1127. package/dist/solutions-components/p-d9e930c8.js +11 -0
  1128. package/dist/solutions-components/p-da80cfbc.entry.js +11 -0
  1129. package/dist/solutions-components/p-de3ee7a6.entry.js +17 -0
  1130. package/dist/solutions-components/p-de8121a4.js +6 -0
  1131. package/dist/solutions-components/p-dfeb6a2e.entry.js +11 -0
  1132. package/dist/solutions-components/p-e0ee0556.entry.js +11 -0
  1133. package/dist/solutions-components/p-e378184f.entry.js +6 -0
  1134. package/dist/solutions-components/p-e3fe81ae.js +7 -0
  1135. package/dist/solutions-components/p-e4ef6f49.js +6 -0
  1136. package/dist/solutions-components/p-e74bc7b3.js +6 -0
  1137. package/dist/solutions-components/p-e9d3365f.js +22 -0
  1138. package/dist/solutions-components/p-eb2859d6.js +6 -0
  1139. package/dist/solutions-components/p-ee9b7fab.js +6 -0
  1140. package/dist/solutions-components/p-ef67c743.js +11 -0
  1141. package/dist/solutions-components/p-f3166d51.entry.js +6 -0
  1142. package/dist/solutions-components/p-f550ebc1.entry.js +6 -0
  1143. package/dist/solutions-components/p-f6c3501c.js +16 -0
  1144. package/dist/solutions-components/p-f6f2018a.js +11 -0
  1145. package/dist/solutions-components/p-f7bc99fb.entry.js +17 -0
  1146. package/dist/solutions-components/p-f88c3477.entry.js +6 -0
  1147. package/dist/solutions-components/p-f8d23498.js +11 -0
  1148. package/dist/solutions-components/p-fa56b7c2.js +11 -0
  1149. package/dist/solutions-components/p-fa68f43a.entry.js +6 -0
  1150. package/dist/solutions-components/p-fb3e0eae.js +6 -0
  1151. package/dist/solutions-components/p-fcd33b4f.js +6 -0
  1152. package/dist/solutions-components/p-fd79adec.entry.js +6 -0
  1153. package/dist/solutions-components/p-fedbf657.entry.js +11 -0
  1154. package/dist/solutions-components/solutions-components.esm.js +1 -1
  1155. package/dist/solutions-components/utils/pdfUtils.ts +1 -1
  1156. package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +1 -0
  1157. package/dist/types/components/create-feature/create-feature.d.ts +20 -0
  1158. package/dist/types/components/create-related-feature/create-related-feature.d.ts +16 -0
  1159. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +19 -3
  1160. package/dist/types/components/feature-details/feature-details.d.ts +8 -0
  1161. package/dist/types/components/feature-list/feature-list.d.ts +3 -1
  1162. package/dist/types/components/layer-table/layer-table.d.ts +1 -1
  1163. package/dist/types/components.d.ts +28 -1
  1164. package/dist/types/preact.d.ts +3 -1
  1165. package/package.json +8 -7
  1166. package/dist/cjs/ExpandToggle-63855ea7.js +0 -115
  1167. package/dist/cjs/FloatingArrow-4afc0a27.js +0 -48
  1168. package/dist/cjs/Heading-f01dc40c.js +0 -25
  1169. package/dist/cjs/Validation-c52e0b30.js +0 -20
  1170. package/dist/cjs/app-globals-587d5fc5.js +0 -67
  1171. package/dist/cjs/ar-406e323c.js +0 -106
  1172. package/dist/cjs/array-7ee883b3.js +0 -17
  1173. package/dist/cjs/bg-56abe1a2.js +0 -84
  1174. package/dist/cjs/browser-e9eb8b2e.js +0 -35
  1175. package/dist/cjs/bs-43ed4dcb.js +0 -53
  1176. package/dist/cjs/ca-ad58f302.js +0 -73
  1177. package/dist/cjs/calcite-input-time-picker-83bcd60f.js +0 -1861
  1178. package/dist/cjs/common-4d4cf291.js +0 -37
  1179. package/dist/cjs/component-ab59efe0.js +0 -33
  1180. package/dist/cjs/conditionalSlot-e7b1e80b.js +0 -54
  1181. package/dist/cjs/config-90915d7e.js +0 -40
  1182. package/dist/cjs/cs-eef992e9.js +0 -149
  1183. package/dist/cjs/da-4957191f.js +0 -69
  1184. package/dist/cjs/date-09eabd7c.js +0 -264
  1185. package/dist/cjs/de-64947d33.js +0 -93
  1186. package/dist/cjs/de-at-976bd625.js +0 -92
  1187. package/dist/cjs/de-ch-9c2f85be.js +0 -92
  1188. package/dist/cjs/dom-5fd0c11a.js +0 -1215
  1189. package/dist/cjs/downloadUtils-b1bc6031.js +0 -3163
  1190. package/dist/cjs/el-17064e96.js +0 -68
  1191. package/dist/cjs/en-au-bf34aa99.js +0 -68
  1192. package/dist/cjs/en-ca-20b7aeab.js +0 -67
  1193. package/dist/cjs/en-gb-72ebc333.js +0 -71
  1194. package/dist/cjs/es-996df974.js +0 -68
  1195. package/dist/cjs/es-mx-cf34d408.js +0 -67
  1196. package/dist/cjs/et-fe1aba97.js +0 -94
  1197. package/dist/cjs/fi-154d8730.js +0 -117
  1198. package/dist/cjs/filter-1906ce7b.js +0 -778
  1199. package/dist/cjs/floating-ui-b477f602.js +0 -2373
  1200. package/dist/cjs/focusTrapComponent-01de8e72.js +0 -1018
  1201. package/dist/cjs/form-fba99326.js +0 -381
  1202. package/dist/cjs/fr-21a56733.js +0 -70
  1203. package/dist/cjs/fr-ch-66f7a5c9.js +0 -68
  1204. package/dist/cjs/guid-81a8c49f.js +0 -26
  1205. package/dist/cjs/he-249d58b9.js +0 -107
  1206. package/dist/cjs/hi-7015dbc4.js +0 -67
  1207. package/dist/cjs/hr-e57553fd.js +0 -82
  1208. package/dist/cjs/hu-e0a32fbd.js +0 -90
  1209. package/dist/cjs/id-6eeb6f33.js +0 -68
  1210. package/dist/cjs/index.es-5ad1b7be.js +0 -11317
  1211. package/dist/cjs/input-cb7565cc.js +0 -60
  1212. package/dist/cjs/interactive-d349d0f0.js +0 -167
  1213. package/dist/cjs/it-21b9179c.js +0 -68
  1214. package/dist/cjs/it-ch-ed862b1c.js +0 -68
  1215. package/dist/cjs/ja-a5d93dac.js +0 -74
  1216. package/dist/cjs/key-a0f7c4f3.js +0 -19
  1217. package/dist/cjs/ko-1913cf25.js +0 -74
  1218. package/dist/cjs/label-dc906a73.js +0 -186
  1219. package/dist/cjs/loadable-d9a2a731.js +0 -98
  1220. package/dist/cjs/locale-4d172288.js +0 -605
  1221. package/dist/cjs/logger-dc99f85b.js +0 -61
  1222. package/dist/cjs/lt-aeec2286.js +0 -99
  1223. package/dist/cjs/lv-9055202a.js +0 -68
  1224. package/dist/cjs/math-8d9588b6.js +0 -60
  1225. package/dist/cjs/mk-98948b48.js +0 -68
  1226. package/dist/cjs/nb-d88ea8dc.js +0 -69
  1227. package/dist/cjs/nl-a8df29cd.js +0 -69
  1228. package/dist/cjs/observers-b83abbfc.js +0 -58
  1229. package/dist/cjs/openCloseComponent-a2a2a773.js +0 -65
  1230. package/dist/cjs/pl-0c9cc2cf.js +0 -116
  1231. package/dist/cjs/popupUtils-948e8990.js +0 -121
  1232. package/dist/cjs/pt-5d70043e.js +0 -69
  1233. package/dist/cjs/pt-br-fed6323a.js +0 -67
  1234. package/dist/cjs/purify-17c0fc4a.js +0 -1716
  1235. package/dist/cjs/resources-03698411.js +0 -39
  1236. package/dist/cjs/resources-085b5a9c.js +0 -23
  1237. package/dist/cjs/resources-08ceff44.js +0 -21
  1238. package/dist/cjs/resources-32b7c652.js +0 -23
  1239. package/dist/cjs/resources-3e7e7fb7.js +0 -26
  1240. package/dist/cjs/resources-44438f5c.js +0 -68
  1241. package/dist/cjs/resources-b4193681.js +0 -27
  1242. package/dist/cjs/resources-bcc3f2b2.js +0 -68
  1243. package/dist/cjs/resources-e3a7e2f5.js +0 -29
  1244. package/dist/cjs/resources-e5bab826.js +0 -39
  1245. package/dist/cjs/restHelpersGet-88ba0e25.js +0 -975
  1246. package/dist/cjs/ro-021065c9.js +0 -68
  1247. package/dist/cjs/ru-9ec3c8de.js +0 -128
  1248. package/dist/cjs/shared-list-render-79567fc0.js +0 -361
  1249. package/dist/cjs/sk-09cbe5ba.js +0 -150
  1250. package/dist/cjs/sl-3a4381a4.js +0 -170
  1251. package/dist/cjs/solution-resource-16c7510c.js +0 -1843
  1252. package/dist/cjs/solution-store-1218246d.js +0 -1353
  1253. package/dist/cjs/sortableComponent-abdb9e28.js +0 -2748
  1254. package/dist/cjs/sr-c18bc63a.js +0 -103
  1255. package/dist/cjs/sv-e721be29.js +0 -73
  1256. package/dist/cjs/t9n-c8d7a2ec.js +0 -108
  1257. package/dist/cjs/templates-2f44c01b.js +0 -407
  1258. package/dist/cjs/th-baa740bc.js +0 -67
  1259. package/dist/cjs/time-087f0346.js +0 -301
  1260. package/dist/cjs/tr-c0b17a53.js +0 -68
  1261. package/dist/cjs/uk-68a75a5a.js +0 -106
  1262. package/dist/cjs/utils-8f400dfd.js +0 -78
  1263. package/dist/cjs/utils-9a063f23.js +0 -2304
  1264. package/dist/cjs/vi-bf3bf360.js +0 -72
  1265. package/dist/cjs/zh-cn-f36908e8.js +0 -96
  1266. package/dist/cjs/zh-hk-79863fdd.js +0 -94
  1267. package/dist/cjs/zh-tw-eb1f3b17.js +0 -94
  1268. package/dist/esm/ExpandToggle-f909e195.js +0 -108
  1269. package/dist/esm/FloatingArrow-4dbed45e.js +0 -46
  1270. package/dist/esm/Heading-19e46a14.js +0 -22
  1271. package/dist/esm/Validation-0b8675a8.js +0 -18
  1272. package/dist/esm/app-globals-0fc0d343.js +0 -65
  1273. package/dist/esm/ar-2b7701c9.js +0 -104
  1274. package/dist/esm/array-0d5d845c.js +0 -15
  1275. package/dist/esm/bg-cfd918d6.js +0 -82
  1276. package/dist/esm/browser-d0009bfe.js +0 -32
  1277. package/dist/esm/bs-6e26541f.js +0 -51
  1278. package/dist/esm/ca-3edf7b06.js +0 -71
  1279. package/dist/esm/calcite-input-time-picker-c5ee10a4.js +0 -1858
  1280. package/dist/esm/common-3b99e350.js +0 -35
  1281. package/dist/esm/component-0f26d27a.js +0 -30
  1282. package/dist/esm/conditionalSlot-56fa9723.js +0 -51
  1283. package/dist/esm/config-e0237f7c.js +0 -36
  1284. package/dist/esm/cs-93a3355b.js +0 -147
  1285. package/dist/esm/da-f4d05bf2.js +0 -67
  1286. package/dist/esm/date-dd3d9d2f.js +0 -248
  1287. package/dist/esm/de-04f477b6.js +0 -91
  1288. package/dist/esm/de-at-1b4e56b9.js +0 -90
  1289. package/dist/esm/de-ch-59c96703.js +0 -90
  1290. package/dist/esm/dom-9e8610a2.js +0 -1180
  1291. package/dist/esm/downloadUtils-ee2d6a99.js +0 -3156
  1292. package/dist/esm/el-134dd039.js +0 -66
  1293. package/dist/esm/en-au-ec33ef70.js +0 -66
  1294. package/dist/esm/en-ca-ab1fbea4.js +0 -65
  1295. package/dist/esm/en-gb-ceb65f79.js +0 -69
  1296. package/dist/esm/es-e023cfc8.js +0 -66
  1297. package/dist/esm/es-mx-e0a5ee8c.js +0 -65
  1298. package/dist/esm/et-572b1e56.js +0 -92
  1299. package/dist/esm/fi-f13fae4c.js +0 -115
  1300. package/dist/esm/filter-3c649b00.js +0 -775
  1301. package/dist/esm/floating-ui-9d9558a6.js +0 -2365
  1302. package/dist/esm/focusTrapComponent-a9be9a5f.js +0 -1013
  1303. package/dist/esm/form-a992bc7e.js +0 -372
  1304. package/dist/esm/fr-ch-a1f8ebbf.js +0 -66
  1305. package/dist/esm/fr-e9b456c3.js +0 -68
  1306. package/dist/esm/guid-52aae62c.js +0 -24
  1307. package/dist/esm/he-dfaa7ea1.js +0 -105
  1308. package/dist/esm/hi-efa0d8e7.js +0 -65
  1309. package/dist/esm/hr-7c04c969.js +0 -80
  1310. package/dist/esm/hu-fc6efaba.js +0 -88
  1311. package/dist/esm/id-2d884294.js +0 -66
  1312. package/dist/esm/index.es-6d52a4cf.js +0 -11230
  1313. package/dist/esm/input-b18c3393.js +0 -58
  1314. package/dist/esm/interactive-353bf495.js +0 -162
  1315. package/dist/esm/it-913dabbb.js +0 -66
  1316. package/dist/esm/it-ch-d4c2b23e.js +0 -66
  1317. package/dist/esm/ja-b6c332b1.js +0 -72
  1318. package/dist/esm/key-a9ffa61d.js +0 -16
  1319. package/dist/esm/ko-b220c903.js +0 -72
  1320. package/dist/esm/label-026b99b7.js +0 -179
  1321. package/dist/esm/loadable-4841127f.js +0 -93
  1322. package/dist/esm/locale-8a2aae09.js +0 -591
  1323. package/dist/esm/logger-29d1dc0e.js +0 -59
  1324. package/dist/esm/lt-e97a19a7.js +0 -97
  1325. package/dist/esm/lv-c4e1d066.js +0 -66
  1326. package/dist/esm/math-dd484f87.js +0 -54
  1327. package/dist/esm/mk-fec9b21d.js +0 -66
  1328. package/dist/esm/nb-28189f31.js +0 -67
  1329. package/dist/esm/nl-194a064e.js +0 -67
  1330. package/dist/esm/observers-3af27a40.js +0 -56
  1331. package/dist/esm/openCloseComponent-00e6186d.js +0 -63
  1332. package/dist/esm/pl-c0a7eacf.js +0 -114
  1333. package/dist/esm/popupUtils-75294be5.js +0 -119
  1334. package/dist/esm/pt-48180eaa.js +0 -67
  1335. package/dist/esm/pt-br-e378640f.js +0 -65
  1336. package/dist/esm/purify-72515357.js +0 -1714
  1337. package/dist/esm/resources-0b9430f0.js +0 -21
  1338. package/dist/esm/resources-2117aee0.js +0 -63
  1339. package/dist/esm/resources-29504413.js +0 -34
  1340. package/dist/esm/resources-37d6b520.js +0 -35
  1341. package/dist/esm/resources-75518fcf.js +0 -23
  1342. package/dist/esm/resources-8e7f2865.js +0 -22
  1343. package/dist/esm/resources-8fe9ef4a.js +0 -20
  1344. package/dist/esm/resources-966e32ad.js +0 -62
  1345. package/dist/esm/resources-a1cc283e.js +0 -24
  1346. package/dist/esm/resources-f4406546.js +0 -19
  1347. package/dist/esm/restHelpersGet-788d7f7b.js +0 -960
  1348. package/dist/esm/ro-a116f43c.js +0 -66
  1349. package/dist/esm/ru-53b48473.js +0 -126
  1350. package/dist/esm/shared-list-render-7df95a79.js +0 -339
  1351. package/dist/esm/sk-6e16e781.js +0 -148
  1352. package/dist/esm/sl-0b5a108a.js +0 -168
  1353. package/dist/esm/solution-resource-966f8511.js +0 -1840
  1354. package/dist/esm/solution-store-61fd39ea.js +0 -1351
  1355. package/dist/esm/sortableComponent-fc3d2fcf.js +0 -2745
  1356. package/dist/esm/sr-c91ad375.js +0 -101
  1357. package/dist/esm/sv-99a8436f.js +0 -71
  1358. package/dist/esm/t9n-d5539b3a.js +0 -103
  1359. package/dist/esm/templates-9330d7b8.js +0 -401
  1360. package/dist/esm/th-f448c101.js +0 -65
  1361. package/dist/esm/time-8f4af53a.js +0 -286
  1362. package/dist/esm/tr-1c4d126e.js +0 -66
  1363. package/dist/esm/uk-afcd7307.js +0 -104
  1364. package/dist/esm/utils-057404c5.js +0 -2274
  1365. package/dist/esm/utils-6391b35c.js +0 -65
  1366. package/dist/esm/vi-13e0626d.js +0 -70
  1367. package/dist/esm/zh-cn-80512388.js +0 -94
  1368. package/dist/esm/zh-hk-220c6f50.js +0 -92
  1369. package/dist/esm/zh-tw-f9a73c0d.js +0 -92
  1370. package/dist/solutions-components/p-0129abe8.entry.js +0 -11
  1371. package/dist/solutions-components/p-0238f68c.js +0 -6
  1372. package/dist/solutions-components/p-034291c9.entry.js +0 -11
  1373. package/dist/solutions-components/p-042c0134.entry.js +0 -11
  1374. package/dist/solutions-components/p-052d1165.js +0 -11
  1375. package/dist/solutions-components/p-0558fbc7.js +0 -143
  1376. package/dist/solutions-components/p-06c581b3.js +0 -6
  1377. package/dist/solutions-components/p-071a80fb.js +0 -11
  1378. package/dist/solutions-components/p-0ac3d6fb.js +0 -6
  1379. package/dist/solutions-components/p-0afbf455.js +0 -11
  1380. package/dist/solutions-components/p-0b0d30a9.entry.js +0 -11
  1381. package/dist/solutions-components/p-0c8cf779.js +0 -6
  1382. package/dist/solutions-components/p-0cdda3a9.js +0 -6
  1383. package/dist/solutions-components/p-10a4512a.entry.js +0 -6
  1384. package/dist/solutions-components/p-11149179.js +0 -6
  1385. package/dist/solutions-components/p-111ff298.entry.js +0 -29
  1386. package/dist/solutions-components/p-131ca2b1.js +0 -11
  1387. package/dist/solutions-components/p-13ac2814.js +0 -6
  1388. package/dist/solutions-components/p-14ac7f32.js +0 -17
  1389. package/dist/solutions-components/p-15105f4c.js +0 -6
  1390. package/dist/solutions-components/p-15cbdc2c.entry.js +0 -6
  1391. package/dist/solutions-components/p-16af273f.entry.js +0 -6
  1392. package/dist/solutions-components/p-17f35552.entry.js +0 -6
  1393. package/dist/solutions-components/p-1803e66b.entry.js +0 -21
  1394. package/dist/solutions-components/p-18103eee.entry.js +0 -11
  1395. package/dist/solutions-components/p-190de825.js +0 -6
  1396. package/dist/solutions-components/p-19879c48.entry.js +0 -6
  1397. package/dist/solutions-components/p-1b147794.js +0 -11
  1398. package/dist/solutions-components/p-1c45b737.entry.js +0 -6
  1399. package/dist/solutions-components/p-1fcd444d.entry.js +0 -6
  1400. package/dist/solutions-components/p-23c70a46.entry.js +0 -17
  1401. package/dist/solutions-components/p-2483d087.entry.js +0 -11
  1402. package/dist/solutions-components/p-26ccfcc6.entry.js +0 -6
  1403. package/dist/solutions-components/p-27bc7520.js +0 -6
  1404. package/dist/solutions-components/p-27eca753.js +0 -6
  1405. package/dist/solutions-components/p-2866ef30.js +0 -11
  1406. package/dist/solutions-components/p-288599db.entry.js +0 -16
  1407. package/dist/solutions-components/p-28b4de12.js +0 -6
  1408. package/dist/solutions-components/p-29a24832.entry.js +0 -6
  1409. package/dist/solutions-components/p-2c7a600b.js +0 -6
  1410. package/dist/solutions-components/p-2cff27c5.js +0 -22
  1411. package/dist/solutions-components/p-2df01fbd.js +0 -6
  1412. package/dist/solutions-components/p-30448906.entry.js +0 -6
  1413. package/dist/solutions-components/p-32539121.js +0 -16
  1414. package/dist/solutions-components/p-32b1bb0a.entry.js +0 -11
  1415. package/dist/solutions-components/p-33601437.js +0 -6
  1416. package/dist/solutions-components/p-351b4ea6.js +0 -61
  1417. package/dist/solutions-components/p-363c89e1.js +0 -6
  1418. package/dist/solutions-components/p-3795ce25.js +0 -18
  1419. package/dist/solutions-components/p-3832f6b0.js +0 -11
  1420. package/dist/solutions-components/p-38346d75.js +0 -6
  1421. package/dist/solutions-components/p-39bc5b60.js +0 -6
  1422. package/dist/solutions-components/p-3a4f0ef6.js +0 -6
  1423. package/dist/solutions-components/p-3a839252.entry.js +0 -6
  1424. package/dist/solutions-components/p-3ab1d999.js +0 -6
  1425. package/dist/solutions-components/p-3ae3fb2d.entry.js +0 -6
  1426. package/dist/solutions-components/p-3edf491f.js +0 -11
  1427. package/dist/solutions-components/p-3f23fa58.js +0 -6
  1428. package/dist/solutions-components/p-4115fcd2.entry.js +0 -6
  1429. package/dist/solutions-components/p-416c0818.js +0 -11
  1430. package/dist/solutions-components/p-42903dc4.entry.js +0 -11
  1431. package/dist/solutions-components/p-432d7aac.entry.js +0 -11
  1432. package/dist/solutions-components/p-443bb48a.js +0 -6
  1433. package/dist/solutions-components/p-44b455ac.js +0 -21
  1434. package/dist/solutions-components/p-461d72a9.entry.js +0 -11
  1435. package/dist/solutions-components/p-4a5f4c12.js +0 -6
  1436. package/dist/solutions-components/p-4a8da1a3.entry.js +0 -6
  1437. package/dist/solutions-components/p-4dd4e1f5.js +0 -11
  1438. package/dist/solutions-components/p-4e44d681.entry.js +0 -6
  1439. package/dist/solutions-components/p-4ebde78c.entry.js +0 -6
  1440. package/dist/solutions-components/p-517bc39b.entry.js +0 -6
  1441. package/dist/solutions-components/p-51b004f6.js +0 -11
  1442. package/dist/solutions-components/p-51eb6427.entry.js +0 -11
  1443. package/dist/solutions-components/p-51f2cd4b.entry.js +0 -6
  1444. package/dist/solutions-components/p-53e0faf4.js +0 -12
  1445. package/dist/solutions-components/p-54713c54.js +0 -11
  1446. package/dist/solutions-components/p-5501cb25.entry.js +0 -17
  1447. package/dist/solutions-components/p-57729067.entry.js +0 -11
  1448. package/dist/solutions-components/p-58d0a9e8.js +0 -11
  1449. package/dist/solutions-components/p-5ae7ca10.js +0 -6
  1450. package/dist/solutions-components/p-5cd51ba9.js +0 -6
  1451. package/dist/solutions-components/p-5e901f4d.js +0 -6
  1452. package/dist/solutions-components/p-5ea0c09b.js +0 -6
  1453. package/dist/solutions-components/p-5fcdc5af.entry.js +0 -12
  1454. package/dist/solutions-components/p-632a3328.js +0 -6
  1455. package/dist/solutions-components/p-64e8c883.js +0 -11
  1456. package/dist/solutions-components/p-659678f1.js +0 -43
  1457. package/dist/solutions-components/p-667f4b68.js +0 -6
  1458. package/dist/solutions-components/p-6b2ea220.entry.js +0 -11
  1459. package/dist/solutions-components/p-6c44ba5f.js +0 -16
  1460. package/dist/solutions-components/p-6d369f32.entry.js +0 -22
  1461. package/dist/solutions-components/p-6d4f59df.js +0 -6
  1462. package/dist/solutions-components/p-6def4549.js +0 -11
  1463. package/dist/solutions-components/p-6df7b770.js +0 -11
  1464. package/dist/solutions-components/p-6eaba85e.js +0 -11
  1465. package/dist/solutions-components/p-6eba7557.entry.js +0 -11
  1466. package/dist/solutions-components/p-6ef00d3c.js +0 -6
  1467. package/dist/solutions-components/p-6f98db75.entry.js +0 -11
  1468. package/dist/solutions-components/p-7090b8bc.entry.js +0 -11
  1469. package/dist/solutions-components/p-72b4bf7a.entry.js +0 -23
  1470. package/dist/solutions-components/p-74bd8ced.entry.js +0 -11
  1471. package/dist/solutions-components/p-76c08334.js +0 -16
  1472. package/dist/solutions-components/p-792a8e91.entry.js +0 -17
  1473. package/dist/solutions-components/p-7b0448b1.js +0 -6
  1474. package/dist/solutions-components/p-7c19f274.js +0 -6
  1475. package/dist/solutions-components/p-7c583516.js +0 -50
  1476. package/dist/solutions-components/p-7fa53f88.entry.js +0 -6
  1477. package/dist/solutions-components/p-81012aaa.entry.js +0 -6
  1478. package/dist/solutions-components/p-8145011e.entry.js +0 -11
  1479. package/dist/solutions-components/p-8343f841.entry.js +0 -17
  1480. package/dist/solutions-components/p-85002390.js +0 -11
  1481. package/dist/solutions-components/p-860452b5.entry.js +0 -11
  1482. package/dist/solutions-components/p-8704c6df.entry.js +0 -11
  1483. package/dist/solutions-components/p-871b9b39.entry.js +0 -6
  1484. package/dist/solutions-components/p-873a5fd1.entry.js +0 -29
  1485. package/dist/solutions-components/p-8817162f.js +0 -17
  1486. package/dist/solutions-components/p-88934d2b.js +0 -11
  1487. package/dist/solutions-components/p-88e391ab.entry.js +0 -6
  1488. package/dist/solutions-components/p-89bd8016.entry.js +0 -22
  1489. package/dist/solutions-components/p-8ad16e95.js +0 -16
  1490. package/dist/solutions-components/p-8b54465a.js +0 -11
  1491. package/dist/solutions-components/p-8e85d818.js +0 -6
  1492. package/dist/solutions-components/p-8feb21be.entry.js +0 -17
  1493. package/dist/solutions-components/p-9099acb6.js +0 -6
  1494. package/dist/solutions-components/p-93c9be09.entry.js +0 -17
  1495. package/dist/solutions-components/p-941ec574.entry.js +0 -6
  1496. package/dist/solutions-components/p-949a8cb7.entry.js +0 -11
  1497. package/dist/solutions-components/p-952a4ed2.js +0 -6
  1498. package/dist/solutions-components/p-960baebc.entry.js +0 -6
  1499. package/dist/solutions-components/p-96a7e73d.js +0 -11
  1500. package/dist/solutions-components/p-9905a2cd.js +0 -6
  1501. package/dist/solutions-components/p-9a4f0ae3.entry.js +0 -11
  1502. package/dist/solutions-components/p-9ab5fbed.entry.js +0 -17
  1503. package/dist/solutions-components/p-9bfb0a88.entry.js +0 -17
  1504. package/dist/solutions-components/p-9edd6de9.entry.js +0 -16
  1505. package/dist/solutions-components/p-9f943f1a.js +0 -6
  1506. package/dist/solutions-components/p-a2613102.entry.js +0 -11
  1507. package/dist/solutions-components/p-a2c467d7.js +0 -6
  1508. package/dist/solutions-components/p-a6aba7d4.entry.js +0 -6
  1509. package/dist/solutions-components/p-a704be29.js +0 -6
  1510. package/dist/solutions-components/p-a7ca67b9.js +0 -11
  1511. package/dist/solutions-components/p-a8638d44.entry.js +0 -11
  1512. package/dist/solutions-components/p-abafd987.entry.js +0 -47
  1513. package/dist/solutions-components/p-abd443e4.entry.js +0 -11
  1514. package/dist/solutions-components/p-abd99f2b.entry.js +0 -11
  1515. package/dist/solutions-components/p-ac40d2a6.entry.js +0 -11
  1516. package/dist/solutions-components/p-ade4a0c0.entry.js +0 -6
  1517. package/dist/solutions-components/p-ae53daf0.js +0 -11
  1518. package/dist/solutions-components/p-b134cc53.entry.js +0 -11
  1519. package/dist/solutions-components/p-b1a053c7.entry.js +0 -6
  1520. package/dist/solutions-components/p-b1b88bb9.entry.js +0 -11
  1521. package/dist/solutions-components/p-b24985b0.entry.js +0 -11
  1522. package/dist/solutions-components/p-b4f15b86.entry.js +0 -11
  1523. package/dist/solutions-components/p-b51111e1.js +0 -11
  1524. package/dist/solutions-components/p-b6ac459a.entry.js +0 -11
  1525. package/dist/solutions-components/p-b715fe7e.entry.js +0 -11
  1526. package/dist/solutions-components/p-bd989e41.js +0 -11
  1527. package/dist/solutions-components/p-c58a3ade.entry.js +0 -11
  1528. package/dist/solutions-components/p-c6296ee6.js +0 -11
  1529. package/dist/solutions-components/p-c62bd2a0.entry.js +0 -17
  1530. package/dist/solutions-components/p-c6fe3b6c.js +0 -6
  1531. package/dist/solutions-components/p-c897ea6a.entry.js +0 -11
  1532. package/dist/solutions-components/p-c9193d36.entry.js +0 -6
  1533. package/dist/solutions-components/p-caa665a4.js +0 -11
  1534. package/dist/solutions-components/p-cb860e39.js +0 -11
  1535. package/dist/solutions-components/p-cc5e8fec.entry.js +0 -11
  1536. package/dist/solutions-components/p-ccc3f0c4.entry.js +0 -6
  1537. package/dist/solutions-components/p-cde4f891.entry.js +0 -11
  1538. package/dist/solutions-components/p-cefb0487.js +0 -489
  1539. package/dist/solutions-components/p-d29843c1.js +0 -6
  1540. package/dist/solutions-components/p-d34db378.entry.js +0 -21
  1541. package/dist/solutions-components/p-d3b61974.entry.js +0 -11
  1542. package/dist/solutions-components/p-d7f00451.entry.js +0 -11
  1543. package/dist/solutions-components/p-d81f19b5.js +0 -6
  1544. package/dist/solutions-components/p-d9110df1.entry.js +0 -11
  1545. package/dist/solutions-components/p-e060bbf4.entry.js +0 -6
  1546. package/dist/solutions-components/p-e191b864.entry.js +0 -11
  1547. package/dist/solutions-components/p-e2263afa.entry.js +0 -11
  1548. package/dist/solutions-components/p-e2d9c1e4.entry.js +0 -12
  1549. package/dist/solutions-components/p-e46f6b68.js +0 -11
  1550. package/dist/solutions-components/p-e683e142.js +0 -6
  1551. package/dist/solutions-components/p-e6ac93e5.entry.js +0 -11
  1552. package/dist/solutions-components/p-e7ce7ab5.entry.js +0 -11
  1553. package/dist/solutions-components/p-e85ca9f5.entry.js +0 -11
  1554. package/dist/solutions-components/p-e9488a2a.js +0 -6
  1555. package/dist/solutions-components/p-eacb5b05.js +0 -11
  1556. package/dist/solutions-components/p-ed000576.js +0 -6
  1557. package/dist/solutions-components/p-eec49294.entry.js +0 -11
  1558. package/dist/solutions-components/p-f067a46c.js +0 -21
  1559. package/dist/solutions-components/p-f123e913.entry.js +0 -6
  1560. package/dist/solutions-components/p-f2139e1f.js +0 -11
  1561. package/dist/solutions-components/p-f2e30760.entry.js +0 -11
  1562. package/dist/solutions-components/p-f3cd6339.entry.js +0 -11
  1563. package/dist/solutions-components/p-f42cdeb6.entry.js +0 -6
  1564. package/dist/solutions-components/p-f44c8764.js +0 -6
  1565. package/dist/solutions-components/p-f6a94b55.js +0 -11
  1566. package/dist/solutions-components/p-f6c2f78c.js +0 -6
  1567. package/dist/solutions-components/p-f97b2291.js +0 -6
  1568. package/dist/solutions-components/p-fbd8a250.entry.js +0 -12
  1569. package/dist/solutions-components/p-fc62c04b.entry.js +0 -6
  1570. package/dist/solutions-components/p-fc68aaf4.js +0 -6
  1571. package/dist/solutions-components/p-fc8d6dcf.js +0 -11
  1572. package/dist/solutions-components/p-fc9301a3.entry.js +0 -6
  1573. package/dist/solutions-components/p-fde2ea30.entry.js +0 -6
  1574. package/dist/solutions-components/p-fe82bd8a.js +0 -11
  1575. package/dist/solutions-components/p-ff87b9de.js +0 -7
  1576. package/dist/solutions-components/p-ffbe2075.js +0 -11
  1577. /package/dist/cjs/{index-5f864f65.js → index-f052f656.js} +0 -0
  1578. /package/dist/esm/{index-dc62418d.js → index-e14fade9.js} +0 -0
  1579. /package/dist/solutions-components/{p-36c1c370.js → p-7530a02f.js} +0 -0
@@ -0,0 +1,22 @@
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{a as e,r as a,h as i,H as t,g as r}from"./p-6eb37ed2.js";import{a as n,t as o}from"./p-c25e8c35.js";import{c as l}from"./p-1c249530.js";import{i as s}from"./p-4b9b7778.js";import{g as c}from"./p-aaa56cbf.js";import{c as d,d as m}from"./p-304cef31.js";import"./p-8bfa18b7.js";import"./p-64a34d92.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.12.2
11
+ */const h="flip-rtl",f={},v={},p={s:16,m:24,l:32};
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.12.2
16
+ */function g({icon:e,scale:a}){const i=p[a],t=function(e){const a=!isNaN(Number(e.charAt(0))),i=e.split("-");if(i.length>0){const a=/[a-z]/i;e=i.map(((e,i)=>e.replace(a,(function(e,a){return 0===i&&0===a?e:e.toUpperCase()})))).join("")}return a?`i${e}`:e}(e),r="F"===t.charAt(t.length-1);return`${r?t.substring(0,t.length-1):t}${i}${r?"F":""}`}function u(e){return f[e]}const b=class{constructor(e){a(this,e),this.icon=null,this.flipRtl=!1,this.scale="m",this.textLabel=void 0,this.pathData=void 0,this.visible=!1}connectedCallback(){this.visible||this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){this.intersectionObserver?.disconnect(),this.intersectionObserver=null}render(){const{el:e,flipRtl:a,pathData:r,scale:l,textLabel:s}=this,c=n(e),d=p[l],m=!!s,f=[].concat(r||"");return i(t,{key:"41c9d3006a5887061fdb2144102447b2f490eb72","aria-hidden":o(!m),"aria-label":m?s:null,role:m?"img":null},i("svg",{key:"9fc84ba4eac40fc822babbfe276b2add5ee1c952","aria-hidden":"true",class:{[h]:"rtl"===c&&a,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${d} ${d}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},f.map((e=>i("path","string"==typeof e?{d:e}:{d:e.d,opacity:"opacity"in e?e.opacity:1})))))}async loadIconPathData(){const{icon:a,scale:i,visible:t}=this;if(!s()||!a||!t)return;const r={icon:a,scale:i},n=u(g(r))||await async function(a){const i=g(a),t=u(i);if(t)return t;v[i]||(v[i]=fetch(e(`./assets/icon/${i}.json`)).then((e=>e.json())).catch((()=>(console.error(`"${i}" is not a valid calcite-ui-icon name`),""))));const r=await v[i];return f[i]=r,r}(r);a===this.icon&&(this.pathData=n)}waitUntilVisible(e){this.intersectionObserver=l("intersection",(a=>{a.forEach((a=>{a.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,e())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):e()}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};b.style=":host{display:inline-flex;color:var(--calcite-icon-color, var(--calcite-ui-icon-color, currentColor))}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}";
17
+ /*!
18
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
19
+ * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
20
+ * v2.12.2
21
+ */
22
+ const k={loader:"loader",loaderParts:"loader__svgs",loaderPart:"loader__svg",loaderPartId:e=>`${k.loaderPart}--${e}`,loaderText:"loader__text",loaderPercentage:"loader__percentage"},z=class{constructor(e){a(this,e),this.formatValue=()=>"determinate-value"!==this.type?`${this.value}`:this.formatter.format(this.value/100),this.inline=!1,this.label=void 0,this.scale="m",this.type=void 0,this.value=0,this.text="",this.effectiveLocale=""}connectedCallback(){d(this),this.updateFormatter()}disconnectedCallback(){m(this)}render(){const{el:e,inline:a,label:r,scale:n,text:o,type:l,value:s}=this,d=e.id||c(),m=a?this.getInlineSize(n):this.getSize(n),h=.45*m,f=`0 0 ${m} ${m}`,v=l?.startsWith("determinate"),p=2*h*Math.PI,g=s/100*p,u=p-g,b=Math.floor(s),z={r:h,cx:m/2,cy:m/2},y={"stroke-dasharray":`${g} ${u}`};return i(t,{key:"b84a28c551e2484735b2cb7bad89a7a1d608fe13","aria-label":r,id:d,role:"progressbar",...v?{"aria-valuenow":b,"aria-valuemin":0,"aria-valuemax":100,complete:100===b}:{}},i("div",{key:"7ea0d6f2a742c8950cff2196bc454cc8ec3be037",class:k.loaderParts},[1,2,3].map((e=>i("svg",{"aria-hidden":"true",class:{[k.loaderPart]:!0,[k.loaderPartId(e)]:!0},key:e,viewBox:f,...3===e&&v?{style:y}:{}},i("circle",{...z})))),v&&i("div",{key:"2732fc9cbbaade638eb6241776b2aecea6177ed5",class:k.loaderPercentage},this.formatValue())),o&&i("div",{key:"5050af5bb4d979e4f83ac997f0f98aa69be86f52",class:k.loaderText},o))}formatterPropsChange(){this.updateFormatter()}getSize(e){return{s:32,m:56,l:80}[e]}getInlineSize(e){return{s:12,m:16,l:20}[e]}updateFormatter(){"determinate-value"===this.type&&this.formatter?.resolvedOptions().locale!==this.effectiveLocale&&(this.formatter=new Intl.NumberFormat(this.effectiveLocale,{style:"percent"}))}get el(){return r(this)}static get watchers(){return{effectiveLocale:["formatterPropsChange"],type:["formatterPropsChange"]}}};z.style='@charset "UTF-8";@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{position:relative;margin-inline:auto;display:none;align-items:center;justify-content:center;opacity:1;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-color-brand);stroke-width:3;fill:none;transform:scale(1, 1);animation:loader-color-shift calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2 / var(--calcite-internal-duration-factor)) alternate-reverse infinite linear;padding-block:var(--calcite-loader-padding, 4rem);will-change:contents}:host([scale=s]){--calcite-loader-font-size:var(--calcite-font-size--3);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem;--calcite-internal-loader-value-line-height:0.625rem}:host([scale=m]){--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem;--calcite-internal-loader-value-line-height:1.375rem}:host([scale=l]){--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.5rem;--calcite-internal-loader-value-line-height:1.71875rem}:host([no-padding]){padding-block:0px}:host{display:flex}.loader__text{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-color-text-1);margin-block-start:calc(var(--calcite-loader-size) + 1.5rem)}.loader__percentage{display:block;text-align:center;color:var(--calcite-color-text-1);font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size);line-height:var(--calcite-internal-loader-value-line-height);align-self:center}.loader__svgs{position:absolute;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);animation-iteration-count:infinite;animation-timing-function:linear;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 6.66 / var(--calcite-internal-duration-factor));animation-name:loader-clockwise;display:flex}.loader__svg{position:absolute;inset-block-start:0px;transform-origin:center;overflow:visible;inset-inline-start:0;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);animation-iteration-count:infinite;animation-timing-function:linear}.loader__svg--1{animation-name:loader-offset-1}.loader__svg--2{animation-name:loader-offset-2}.loader__svg--3{animation-name:loader-offset-3}:host([type=determinate]),:host([type=determinate-value]){animation:none;stroke:var(--calcite-color-border-3)}:host([type=determinate]) .loader__svgs,:host([type=determinate-value]) .loader__svgs{animation:none}:host([type=determinate]) .loader__svg--3,:host([type=determinate-value]) .loader__svg--3{animation:none;stroke:var(--calcite-color-brand);stroke-dasharray:150.79632;transform:rotate(-90deg);transition:all var(--calcite-internal-animation-timing-fast) linear}:host([inline]){position:relative;margin:0px;animation:none;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size-inline);min-block-size:var(--calcite-loader-size-inline);inline-size:var(--calcite-loader-size-inline);margin-inline-end:calc(var(--calcite-loader-size-inline) * 0.5);vertical-align:calc(var(--calcite-loader-size-inline) * -1 * 0.2)}:host([inline]) .loader__svgs{inset-block-start:0px;margin:0px;inset-inline-start:0;inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([inline]) .loader__svg{inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([complete]){opacity:0;transform:scale(0.75, 0.75);transform-origin:center;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, transform var(--calcite-internal-animation-timing-medium) linear 1000ms}:host([complete]) .loader__svgs{opacity:0;transform:scale(0.75, 0.75);transform-origin:center;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms}:host([complete]) .loader__percentage{color:var(--calcite-color-brand);transform:scale(1.05, 1.05);transform-origin:center;transition:color var(--calcite-internal-animation-timing-medium) linear, transform var(--calcite-internal-animation-timing-medium) linear}.loader__svg--1{stroke-dasharray:27.9252444444 139.6262222222;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 4.8 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444 251.3272;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222 139.6262222222;stroke-dashoffset:-83.7757333333}100%{stroke-dasharray:27.9252444444 251.3272;stroke-dashoffset:-279.2524444444}}.loader__svg--2{stroke-dasharray:55.8504888889 139.6262222222;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 6.4 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889 223.4019555556;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222 139.6262222222;stroke-dashoffset:-97.7383555556}100%{stroke-dasharray:55.8504888889 223.4019555556;stroke-dashoffset:-279.2524444444}}.loader__svg--3{stroke-dasharray:13.9626222222 139.6262222222;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 7.734 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222 265.2898222222;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222 139.6262222222;stroke-dashoffset:-76.7944222222}100%{stroke-dasharray:13.9626222222 265.2898222222;stroke-dashoffset:-279.2524444444}}@keyframes loader-color-shift{0%{stroke:var(--calcite-color-brand)}33%{stroke:var(--calcite-color-brand-press)}66%{stroke:var(--calcite-color-brand-hover)}100%{stroke:var(--calcite-color-brand)}}@keyframes loader-clockwise{100%{transform:rotate(360deg)}}:host([hidden]){display:none}[hidden]{display:none}';export{b as calcite_icon,z as calcite_loader}
@@ -0,0 +1,6 @@
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-924ec704.js";import"./p-6eb37ed2.js";import"./p-66b01781.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-7c854814.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-304cef31.js";import"./p-1c249530.js";import"./p-c40b0ec5.js";import"./p-0ef9d36b.js";import"./p-f6f2018a.js";import"./p-d9e930c8.js";import"./p-1017609e.js";import"./p-ef67c743.js";import"./p-14f027b5.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}
@@ -0,0 +1,6 @@
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-924ec704.js";import"./p-6eb37ed2.js";import"./p-66b01781.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-7c854814.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-304cef31.js";import"./p-1c249530.js";import"./p-c40b0ec5.js";import"./p-0ef9d36b.js";import"./p-f6f2018a.js";import"./p-d9e930c8.js";import"./p-1017609e.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var r={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};e.locale(r,null,!0);export{r as default}
@@ -0,0 +1,11 @@
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,h as i,g as s,c as e,F as a}from"./p-6eb37ed2.js";import{c as h}from"./p-1c249530.js";import{c as n,s as c,a as o}from"./p-3e828614.js";import{l as r,g as l,f as d}from"./p-2058b5d9.js";import{b as f,d as p,a as m,c as b}from"./p-d572627c.js";import"./p-4b9b7778.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.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.12.2
11
+ */const y="frame",u="frame--advancing",g="frame--retreating",w=class{constructor(i){t(this,i),this.itemMutationObserver=h("mutation",(()=>this.updateFlowProps())),this.getFlowDirection=(t,i)=>t&&i>1||t>1?i<t?"retreating":"advancing":null,this.updateFlowProps=()=>{const{customItemSelectors:t,el:i,items:s}=this,e=Array.from(i.querySelectorAll("calcite-flow-item"+(t?`,${t}`:""))).filter((t=>t.closest("calcite-flow")===i)),a=s.length,h=e.length,n=e[h-1],c=e[h-2];if(h&&n&&e.forEach((t=>{t.showBackButton=t===n&&h>1,t.hidden=t!==n})),c&&(c.menuOpen=!1),this.items=e,a!==h){const t=this.getFlowDirection(a,h);this.itemCount=h,this.flowDirection=t}},this.customItemSelectors=void 0,this.flowDirection=null,this.itemCount=0,this.items=[]}async back(){const{items:t}=this,i=t[t.length-1];if(!i)return;const s=i.beforeBack?i.beforeBack:()=>Promise.resolve();try{await s.call(i)}catch(t){return}return i.remove(),i}async setFocus(){await n(this);const{items:t}=this,i=t[t.length-1];return i?.setFocus()}connectedCallback(){this.itemMutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.updateFlowProps()}async componentWillLoad(){c(this)}componentDidLoad(){o(this)}disconnectedCallback(){this.itemMutationObserver?.disconnect()}async handleItemBackClick(t){if(!t.defaultPrevented)return await this.back(),this.setFocus()}render(){const{flowDirection:t}=this;return i("div",{key:"93590e2eec869cef65a59c01aa2c6001b431da9a",class:{[y]:!0,[u]:"advancing"===t,[g]:"retreating"===t}},i("slot",{key:"5b97e4147abb053391f170f5e36bac4670934072"}))}get el(){return s(this)}};w.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:0px}:host ::slotted(calcite-flow-item),:host ::slotted(calcite-panel){block-size:100%}:host ::slotted(.calcite-match-height:last-child){display:flex;flex:1 1 auto;overflow:hidden}:host .frame--advancing{animation:calcite-frame-advance var(--calcite-animation-timing)}:host .frame--retreating{animation:calcite-frame-retreat var(--calcite-animation-timing)}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}:host([hidden]){display:none}[hidden]{display:none}";const k=class{constructor(i){t(this,i),this.success=e(this,"success",7),this.fail=e(this,"fail",7),this.isActionPending=e(this,"isActionPending",7),this.formReady=e(this,"formReady",7),this.mapView=void 0,this.table=void 0,this.selectedFeature=void 0,this.customizeSubmit=!1,this.showGuidingMsg=!0,this._editorLoading=!1,this._translations=void 0}get el(){return s(this)}Editor;_editor;reactiveUtils;_container;_addingAttachment;_isSubmitBtnClicked=!1;async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async _editorLoadingWatchHandler(t){t&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async close(){this._editor&&this._editor.destroy()}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}success;fail;isActionPending;formReady;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){const[t,i]=await r(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}render(){const t=this._editorLoading?"":"display-none";return i(a,{key:"707536f66fc4de711e3f519a8869507bf2d6f566"},this.showGuidingMsg&&i("calcite-notice",{key:"c3fb5a706d250b6db7dac9ab20b949a81eeb0c5f",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},i("div",{key:"a9aa0a8137a256240c5e8d0c77dc364b31b5b2a1",slot:"message"},this._translations.provideDetailsMsg)),i("calcite-loader",{key:"4e1295a1a867da2c9f1fe4428bdc115bd8643f75",class:t,label:"",scale:"s"}))}async componentDidLoad(){await this.init()}async createEditorWidget(){this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this._editor=new this.Editor({view:this.mapView,visibleElements:{snappingControls:!1},container:this._container}),this.el.appendChild(this._container);const t=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&(this._editorLoading=!0)}));this._editor.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&this.formReady.emit()}));this._editor.viewModel.addHandles(s)}async startCreate(){const t=this.selectedFeature.layer,i=this.table,s=t.relationships[0],e=i.relationships.find((i=>t.layerId===i.relatedTableId)),a=await t.queryFeatures({objectIds:[this.selectedFeature.getObjectId()],outFields:[t.objectIdField,s.keyField]}),h=i.templates[0],n={attributeOverrides:this.makeAttributesForRelatedFeature(a.features[0],s,e),layer:i,template:h};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(n),await this.hideEditorsElements(),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}makeAttributesForRelatedFeature(t,i,s){const e=i.keyField;let a;t.attributes.hasOwnProperty(e)?a=t.getAttribute(e):t.attributes.hasOwnProperty(e.toLowerCase())?a=t.getAttribute(e.toLowerCase()):t.attributes.hasOwnProperty(e.toUpperCase())&&(a=t.getAttribute(e.toUpperCase()));let h=s.keyField;const n=this.table.fields.find((t=>t.name.toLocaleLowerCase()===h.toLocaleLowerCase()));return h=n.name,{[h]:a}}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}static get watchers(){return{mapView:["mapViewWatchHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};k.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.display-none{display:none !important}.esri-editor__panel-content{padding-block:10px !important}.notice-msg{padding:10px;width:calc(100% - 20px)}";const v=class{constructor(i){t(this,i),this.loadingStatus=e(this,"loadingStatus",7),this.commentSelect=e(this,"commentSelect",7),this.addComment=e(this,"addComment",7),this.likeOrDislikeClicked=e(this,"likeOrDislikeClicked",7),this.featureSelectionChange=e(this,"featureSelectionChange",7),this.mapView=void 0,this.graphics=void 0,this.reportingOptions=void 0,this.layerItemsHash=void 0,this.showUserImageInCommentsList=!1,this._likeFieldAvailable=!1,this._likeCount=0,this._disLikeCount=0,this._dislikeFieldAvailable=!1,this._commentsAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._relatedFeaturesOIDs=void 0,this._updating=!1}get el(){return s(this)}_infoCard;_commentsList;_selectedGraphic;_likeField;_dislikeField;Graphic;RelationshipQuery;_validFieldTypes=["small-integer","integer","big-integer","single","long"];relatedTableId;async graphicsWatchHandler(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}async refresh(t){await this.getCompleteGraphic(t),await this.processComments(),this.isLikeDislikeConfigured(t.layer)?t&&this.graphics.length>1&&this.checkLikeDislikeFields():(this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1)}async back(){this._infoCard.back()}async next(){this._infoCard.next()}async toggleListView(){this._infoCard.toggleListView()}loadingStatus;commentSelect;addComment;likeOrDislikeClicked;featureSelectionChange;async componentWillLoad(){await this._initModules(),await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}render(){const t=this._relatedFeaturesOIDs?.length>0?`objectId in(${this._relatedFeaturesOIDs})`:"1=0";return i("calcite-panel",{key:"440e745ef61e578f88381920a3aeca1b54048612","full-height":!0},i("info-card",{key:"a1bb7f4809dbed25c34bd4307ad13b9a09c66b65",allowEditing:!1,graphics:this.graphics,highlightEnabled:!1,isLoading:!1,isMobile:!1,mapView:this.mapView,onSelectionChanged:t=>{this.featureSelectionChange.emit(t.detail)},paginationEnabled:!1,position:"relative",ref:t=>this._infoCard=t}),(this._likeFieldAvailable||this._dislikeFieldAvailable||this._commentsAvailable)&&i("div",{key:"3caf1242f3c0f09b86ea146c9fb49bcea9306087",class:"buttons-container"},this._commentsAvailable&&i("calcite-button",{key:"e8873a1d0bd7132ced40543a0e6a9c3a8c7c72e1",appearance:"transparent",iconEnd:"speech-bubble",kind:"neutral",onClick:()=>{this.addComment.emit()},scale:"m"},this._relatedFeaturesOIDs.length),this._likeFieldAvailable&&i("calcite-button",{key:"cbbb6cf9c50cb360241d6e7f5d33c1713ec99017",appearance:"transparent",iconEnd:"thumbs-up",kind:this._isLikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onLikeButtonClick.bind(this),scale:"m"},this._likeCount??this._selectedGraphic.attributes[this._likeField]??0),this._dislikeFieldAvailable&&i("calcite-button",{key:"92f4c79093e6793d9b4036f99837a9ad19efb3be",appearance:"transparent",iconEnd:"thumbs-down",kind:this._isDislikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onDislikeButtonClick.bind(this),scale:"m"},this._disLikeCount??this._selectedGraphic.attributes[this._dislikeField]??0)),this.relatedTableId&&this._commentsAvailable&&i("feature-list",{key:"95e25a9d10d7baea4a40c4fbbe5d9b19609d2790",class:"height-full",mapView:this.mapView,onFeatureSelect:t=>{this.commentSelect.emit(t.detail)},pageSize:5,ref:t=>this._commentsList=t,selectedLayerId:this.relatedTableId,showErrorWhenNoFeatures:!1,showInitialLoading:!1,showUserImageInList:this.showUserImageInCommentsList,textSize:"small",whereClause:t}))}async _initModules(){const[t,i]=await r(["esri/rest/support/RelationshipQuery","esri/Graphic"]);this.RelationshipQuery=t,this.Graphic=i}async getCompleteGraphic(t){const i=t.layer,s=i.createQuery();s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this._selectedGraphic=e.features[0]}async processComments(){const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]&&this.reportingOptions[t.id].comment&&t.relationships?.length>0){const i=await f(this.mapView);let s=null,e=null;if(i.some((i=>{if(t.url===i.url){const a=t.relationships.filter((t=>i.layerId===t.relatedTableId));if(a?.length)return s=i,e=a[0].id,!0}})),this.relatedTableId=s?.id??"",this.relatedTableId){const i=this._selectedGraphic.attributes[t.objectIdField],a=new this.RelationshipQuery({objectIds:[i],outFields:["*"],relationshipId:e}),h=await t.queryRelatedFeatures(a).catch((t=>{console.error(t)})),n=[];h[i]&&h[i].features.forEach((t=>{n.push(t.attributes[s.objectIdField])})),this._relatedFeaturesOIDs=n,this._commentsAvailable=!0}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1,this.relatedTableId=""}isLikeDislikeConfigured(t){let i=!1,s=!1;if(this.reportingOptions&&this.reportingOptions[t.id]){if(!this.reportingOptions[t.id].like&&!this.reportingOptions[t.id].dislike)return!1;const e=this.reportingOptions[t.id].likeField,a=this.reportingOptions[t.id].dislikeField;if(!e&&!a)return!1;t.fields.forEach((h=>{this._validFieldTypes.indexOf(h.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(h.name===e&&this.reportingOptions[t.id].like?i=!0:h.name===a&&this.reportingOptions[t.id].dislike&&(s=!0))}))}return i||s}checkLikeDislikeFields(){this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._likeCount=0,this._disLikeCount=0;const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]){if(this._likeField=this.reportingOptions[t.id].likeField,this._dislikeField=this.reportingOptions[t.id].dislikeField,!this._likeField&&!this._dislikeField)return;t.fields.forEach((i=>{this._validFieldTypes.indexOf(i.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(i.name===this._likeField&&this.reportingOptions[t.id].like?(this._likeFieldAvailable=!0,this._likeCount=this._selectedGraphic.attributes[i.name]):i.name===this._dislikeField&&this.reportingOptions[t.id].dislike&&(this._dislikeFieldAvailable=!0,this._disLikeCount=this._selectedGraphic.attributes[i.name]))})),this.getFromLocalStorage()}}onLikeButtonClick(){this._isDislikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].dislike&&this.onDislikeButtonClick(),this._isLikeBtnClicked=!this._isLikeBtnClicked,this._isLikeBtnClicked?this._likeCount++:this._likeCount--,this.updateFeaturesLikeDislikeField(this._likeField,this._isLikeBtnClicked)}onDislikeButtonClick(){this._isLikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].like&&this.onLikeButtonClick(),this._isDislikeBtnClicked=!this._isDislikeBtnClicked,this._isDislikeBtnClicked?this._disLikeCount++:this._disLikeCount--,this.updateFeaturesLikeDislikeField(this._dislikeField,this._isDislikeBtnClicked)}async updateFeaturesLikeDislikeField(t,i){const s={},e=this._selectedGraphic.layer;this._updating=!0;const a=this._selectedGraphic;a.attributes[t]=Number(a.attributes[t])+(i?1:-1),s[e.objectIdField]=a.attributes[e.objectIdField],s[t]=a.attributes[t];const h=new this.Graphic;h.attributes=s;const n={updateFeatures:[h]};await e.applyEdits(n).then((()=>{this._selectedGraphic=a,this.setInLocalStorage(),this._updating=!1,this.likeOrDislikeClicked.emit()}),(t=>{this._updating=!1,console.log(t)}))}getFromLocalStorage(){const t=localStorage[this._selectedGraphic.layer.id];if(t){const i=JSON.parse(t).filter((t=>t.id===this._selectedGraphic.getObjectId()));i.length>0&&(this._isLikeBtnClicked=i[0].like,this._isDislikeBtnClicked=i[0].dislike)}}setInLocalStorage(){const t=this._selectedGraphic.layer.id,i=localStorage[t];let s=[];if(i){s=JSON.parse(i);const t=s.findIndex((t=>t.id===this._selectedGraphic.getObjectId()));t>=0&&s.splice(t,1)}s.push({id:this._selectedGraphic.getObjectId(),like:this._isLikeBtnClicked&&0!==this._likeCount,dislike:this._isDislikeBtnClicked&&0!==this._disLikeCount}),localStorage.setItem(t,JSON.stringify(s))}static get watchers(){return{graphics:["graphicsWatchHandler"]}}};v.style=":host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1) !important;background-color:var(--calcite-color-foreground-1) !important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}";const L=class{constructor(i){t(this,i),this.layerSelect=e(this,"layerSelect",7),this.layersListLoaded=e(this,"layersListLoaded",7),this.mapView=void 0,this.layers=void 0,this.showFeatureCount=!0,this.showNextIcon=!1,this.applyLayerViewFilter=!1,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=void 0}get el(){return s(this)}_layerItemsHash;async refresh(){await this.setLayers()}layerSelect;layersListLoaded;async componentWillLoad(){await this._getTranslations(),this._isLoading=!0}async componentDidLoad(){await this.setLayers(),this._isLoading=!1}render(){return i(a,{key:"96f61a2b92d352cdc341961c54b9fdfb06bab6fc"},this._isLoading&&i("calcite-loader",{key:"948c5a101fe19294dbc99a5d015c4f08c3db7f24",label:"",scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&i("calcite-notice",{key:"23a73833e78b0c0009453ecfbf9bc000f2f7ff33",class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},i("div",{key:"da338486c22d7d70499713e22d45bd343c752e38",slot:"title"},this._translations.error),i("div",{key:"751c99a20af04f7253a518181d02a353e7f1b6b8",slot:"message"},this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&i("calcite-list",{key:"09c24ccb0ce715bc0606302af41571b5594e64b5","selection-appearance":"border","selection-mode":"none"},this.renderLayerList()))}async setLayers(){this.mapView&&await this.initLayerHash()}async initLayerHash(){const t=[];this._layerItemsHash=await p(this.mapView,!0);const i=await m(this.mapView);for(const s of i)if("feature"===s?.type&&this.showFeatureCount){const i=s.createQuery();if(s?.definitionExpression&&(i.where=i.where+" AND "+s.definitionExpression),this.applyLayerViewFilter){const t=await b(this.mapView,s.id);t?.filter?.where&&(i.where=i.where?i.where+" AND "+t.filter.where:t.filter.where)}const e=s.queryFeatureCount(i);t.push(e),e.then((async t=>{const i=isNaN(t)?"":await d(t,{places:0,api:4,type:"decimal"});this._layerItemsHash[s.id].formattedFeatureCount=i}))}await Promise.all(t).then((()=>{const t=this.getLayersToBeShownInList(this._layerItemsHash);this._mapLayerIds=t.reverse(),this.handleNoLayersToDisplay()}),(()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()}))}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getLayersToBeShownInList(t){const i=this.layers?.length>0?this.layers:[];return Object.keys(t).reduce(((t,s)=>(i.indexOf(s)>-1&&t.push(s),t)),[])}renderLayerList(){return this._mapLayerIds.length>0&&this._mapLayerIds.reduce(((t,i)=>(this._layerItemsHash[i]&&t.push(this.getLayerListItem(i)),t)),[])}getLayerListItem(t){const s=this._layerItemsHash[t].formattedFeatureCount;return i("calcite-list-item",{onCalciteListItemSelect:()=>{this.onLayerItemSelected(t)}},i("div",{class:"layer-name",slot:"content-start"},this._layerItemsHash[t].name),this.showFeatureCount&&void 0!==s&&""!==s&&i("div",{class:this.showNextIcon?"":"feature-count",slot:"content-end"},"("+s+")"),this.showNextIcon&&i("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}onLayerItemSelected(t){this.layerSelect.emit({layerId:t,layerName:this._layerItemsHash[t].name})}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}};L.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}.feature-count{padding-right:12px}";export{w as calcite_flow,k as create_related_feature,v as feature_details,L as layer_list}
@@ -0,0 +1,6 @@
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-924ec704.js";import"./p-6eb37ed2.js";import"./p-66b01781.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-7c854814.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-304cef31.js";import"./p-1c249530.js";import"./p-c40b0ec5.js";import"./p-0ef9d36b.js";import"./p-f6f2018a.js";import"./p-d9e930c8.js";import"./p-1017609e.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var p={name:"el",weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),months:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαι_Ιουν_Ιουλ_Αυγ_Σεπτ_Οκτ_Νοε_Δεκ".split("_"),ordinal:function(_){return _},weekStart:1,relativeTime:{future:"σε %s",past:"πριν %s",s:"μερικά δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένα μήνα",MM:"%d μήνες",y:"ένα χρόνο",yy:"%d χρόνια"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"}};_.locale(p,null,!0);export{p as default}
@@ -0,0 +1,6 @@
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-924ec704.js";import"./p-6eb37ed2.js";import"./p-66b01781.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-7c854814.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-304cef31.js";import"./p-1c249530.js";import"./p-c40b0ec5.js";import"./p-0ef9d36b.js";import"./p-f6f2018a.js";import"./p-d9e930c8.js";import"./p-1017609e.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var m={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};e.locale(m,null,!0);export{m as default}
@@ -0,0 +1,6 @@
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 e,c as t,h as s,H as a,g as i}from"./p-6eb37ed2.js";import{d as c,e as o,t as r}from"./p-c25e8c35.js";import{c as d,u as n,d as h,I as l}from"./p-1ce2608d.js";import{a as p,s as b,b as f}from"./p-3e828614.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-4b9b7778.js";const u=class{constructor(s){e(this,s),this.calciteCardGroupSelect=t(this,"calciteCardGroupSelect",6),this.items=[],this.udpateItemsOnSelectionModeChange=()=>{this.updateSlottedItems(this.slotRefEl),this.updateSelectedItems()},this.updateItemsOnSlotChange=e=>{this.updateSlottedItems(e.target),this.updateSelectedItems()},this.updateSlottedItems=e=>{this.items=e.assignedElements({flatten:!0}).filter((e=>e?.matches("calcite-card")))},this.updateSelectedItems=()=>{this.items.forEach((e=>{e.selectionMode=this.selectionMode})),this.setSelectedItems(!1)},this.setSelectedItems=(e,t)=>{t&&this.items.forEach((e=>{const s=t===e;switch(this.selectionMode){case"multiple":s&&(e.selected=!e.selected);break;case"single":e.selected=!!s&&!e.selected;break;case"single-persist":e.selected=!!s}})),this.selectedItems=this.items.filter((e=>e.selected)),e&&"none"!==this.selectionMode&&!this.disabled&&this.calciteCardGroupSelect.emit()},this.disabled=!1,this.label=void 0,this.selectionMode="none",this.selectedItems=[]}onSelectionModeChange(){this.udpateItemsOnSelectionModeChange()}connectedCallback(){d(this)}componentDidRender(){n(this)}componentDidLoad(){p(this)}disconnectedCallback(){h(this)}async componentWillLoad(){b(this)}calciteInternalCardKeyEventListener(e){if(e.composedPath().includes(this.el)){const t=this.items.filter((e=>!e.disabled));switch(e.detail.key){case"ArrowRight":c(t,e.target,"next");break;case"ArrowLeft":c(t,e.target,"previous");break;case"Home":c(t,e.target,"first");break;case"End":c(t,e.target,"last")}}}calciteCardSelectListener(e){e.composedPath().includes(this.el)&&!e.target.selectable&&this.setSelectedItems(!0,e.target)}async setFocus(){await f(this),this.disabled||o(this.items[0])}render(){const e="none"===this.selectionMode||"multiple"===this.selectionMode?"group":"radiogroup";return s(a,{key:"f7d72ac0d0c8b0cec9b1c5c048ed2a8ee304d9e2"},s(l,{key:"b477bbced684168f1e68c1fe0d8511a689653995",disabled:this.disabled},s("div",{key:"ce0aa841b96ad23886e109203a14ac2b0e54b948","aria-disabled":r(this.disabled),"aria-label":this.label,class:"container",role:e},s("slot",{key:"338c12be0a5a675daf911aad6049aff6319d3064",onSlotchange:this.updateItemsOnSlotChange,ref:e=>this.slotRefEl=e}))))}get el(){return i(this)}static get watchers(){return{selectionMode:["onSelectionModeChange"]}}};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{--calcite-card-group-gap:var(--calcite-size-md);display:block}.container{display:flex;flex-wrap:wrap;gap:var(--calcite-card-group-gap)}: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_card_group}
@@ -0,0 +1,12 @@
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 e,c as t,h as a,H as r,g as i,F as s}from"./p-6eb37ed2.js";import{a as o,h as n,b as c,i as h,j as d,n as l,p,k as f,l as g}from"./p-d36878db.js";import{c as v,t as u}from"./p-c25e8c35.js";import{I as y,c as b,u as m,d as w}from"./p-1ce2608d.js";import{i as x}from"./p-64a34d92.js";import{n as k}from"./p-304cef31.js";import{s as z,a as D,c as j}from"./p-3e828614.js";import{H as I}from"./p-1b229454.js";import{g as C}from"./p-27d462c0.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-4b9b7778.js";import"./p-1c249530.js";const S=class{constructor(a){e(this,a),this.calciteDaySelect=t(this,"calciteDaySelect",6),this.calciteInternalDayHover=t(this,"calciteInternalDayHover",6),this.onClick=()=>{this.disabled||this.calciteDaySelect.emit()},this.keyDownHandler=e=>{x(e.key)&&(!this.disabled&&this.calciteDaySelect.emit(),e.preventDefault())},this.day=void 0,this.dateTimeFormat=void 0,this.disabled=!1,this.currentMonth=!1,this.selected=!1,this.highlighted=!1,this.range=!1,this.rangeEdge=void 0,this.startOfRange=!1,this.endOfRange=!1,this.rangeHover=!1,this.active=!1,this.scale=void 0,this.value=void 0}pointerOverHandler(){this.disabled||this.calciteInternalDayHover.emit()}async componentWillLoad(){z(this),this.parentDatePickerEl=v(this.el,"calcite-date-picker")}componentDidLoad(){D(this)}async setFocus(){await j(this),this.el.focus()}render(){const e=o(this.value).replaceAll("-","");if(this.parentDatePickerEl){const{numberingSystem:e,lang:t}=this.parentDatePickerEl;k.numberFormatOptions={useGrouping:!1,...e&&{numberingSystem:e},...t&&{locale:t}}}const t=k.localize(String(this.day)),i=this.dateTimeFormat.format(this.value);return a(r,{key:"21762e1ba60bf298f05cb5c0499eb57bfc5a279d","aria-disabled":u(this.disabled),"aria-label":i,"aria-selected":u(this.active),id:e,onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"button",tabIndex:this.active&&!this.disabled?0:-1},a(y,{key:"449226e496db81d7a029172ae69e1bf9da229603",disabled:this.disabled},a("div",{key:"147f12c8bc782776df768e01ab8e6de0a6a2eb9f","aria-hidden":"true",class:{"day-v-wrapper":!0}},a("div",{key:"e38b3d2b999df042c92a609474a35ef2937dd024",class:"day-wrapper"},a("span",{key:"f8e97122b32053d78ff43ef85771fbeb8ff7b180",class:"day"},a("span",{key:"a10f30dea71f9774bdf10b55b3564f54c62e7970",class:"text"},t))))))}connectedCallback(){b(this)}componentDidRender(){m(this)}disconnectedCallback(){w(this)}get el(){return i(this)}};S.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:flex;cursor:pointer;color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.day-v-wrapper{flex:1 1 auto}.day-wrapper{position:relative;display:flex;flex-direction:column;align-items:center}:host([range]) .day-wrapper::before,:host([range]) .day-wrapper::after,:host([range-hover]) .day-wrapper::before,:host([range-hover]) .day-wrapper::after{pointer-events:none;position:absolute;inset-block:0;content:"";block-size:var(--calcite-internal-day-size);inline-size:var(--calcite-internal-day-size)}.day{z-index:var(--calcite-z-index);display:flex;align-items:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background:none;box-shadow:0 0 0 2px transparent;block-size:var(--calcite-internal-day-size);inline-size:var(--calcite-internal-day-size)}.text{margin-block:1px 0px;margin-inline-start:0px}:host([scale=s]){--calcite-internal-day-size:27px}:host([scale=s]) .day-v-wrapper{padding-block:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{font-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-internal-day-size:33px}:host([scale=m]) .day-v-wrapper{padding-block:0.25rem}:host([scale=m]) .day-wrapper{padding:0px}:host([scale=m]) .day{font-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-internal-day-size:43px}:host([scale=l]) .day-v-wrapper{padding-block:0.25rem}:host([scale=l]) .day-wrapper{padding-inline:0.25rem}:host([scale=l]) .day{font-size:var(--calcite-font-size-0)}:host(:not([current-month])) .day{opacity:var(--calcite-opacity-disabled)}:host(:hover:not([disabled]):not([selected])) .day,:host([active]:not([range]):not([selected])) .day{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px}:host(:focus:not([disabled])) .day{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 )}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-color-brand);color:var(--calcite-color-foreground-1)}:host(:focus:not([disabled])) .day,:host([start-of-range]:not(:focus)) .day,:host([end-of-range]:not(:focus)) .day{box-shadow:0 0 0 2px var(--calcite-color-foreground-1)}:host([range-hover]:not([selected])) .day-wrapper::before,:host([highlighted]:not([selected])) .day-wrapper::before{inset-inline-end:50%;border-radius:0}:host([range-hover]:not([selected])) .day-wrapper::after,:host([highlighted]:not([selected])) .day-wrapper::after{inset-inline-start:50%;border-radius:0}:host([range-hover]:not([selected])) .day,:host([highlighted]:not([selected])) .day{color:var(--calcite-color-text-1)}:host([highlighted]) .day-wrapper::before,:host([highlighted]) .day-wrapper::after,:host([selected]:not(.hover--outside-range)) .day-wrapper::before,:host([selected]:not(.hover--outside-range)) .day-wrapper::after{background-color:var(--calcite-color-foreground-current)}:host([range-hover]:not([selected])) .day-wrapper::before,:host([range-hover]:not([selected])) .day-wrapper::after{background-color:var(--calcite-color-foreground-2)}:host(:hover[range-hover]:not([selected]).focused--end) .day-wrapper::before,:host([highlighted][end-of-range]) .day-wrapper::before,:host([highlighted][range-edge=end]) .day-wrapper::before,:host([range-hover][range-edge=end]) .day-wrapper::before,:host(:hover[range-hover].focused--end.hover--outside-range) .day-wrapper::before{inset-inline-end:50%}:host(:hover[range-hover]:not([selected]).focused--end) .day-wrapper::after,:host([highlighted][end-of-range]) .day-wrapper::after,:host([highlighted][range-edge=end]) .day-wrapper::after,:host([range-hover][range-edge=end]) .day-wrapper::after,:host(:hover[range-hover].focused--end.hover--outside-range) .day-wrapper::after{inset-inline-start:50%;border-start-end-radius:var(--calcite-internal-day-size);border-end-end-radius:var(--calcite-internal-day-size);inline-size:calc(var(--calcite-internal-day-size) / 2)}:host([highlighted][start-of-range]) .day-wrapper::before,:host([highlighted][range-edge=start]) .day-wrapper::before,:host([range-hover][range-edge=start]) .day-wrapper::before,:host(:hover[range-hover]:not([selected]).focused--start) .day-wrapper::before,:host([start-of-range].hover--inside-range) .day-wrapper::before,:host(:hover[range-hover].focused--start.hover--outside-range) .day-wrapper::before{inset-inline-end:50%;border-start-start-radius:var(--calcite-internal-day-size);border-end-start-radius:var(--calcite-internal-day-size);inline-size:calc(var(--calcite-internal-day-size) / 2)}:host([highlighted][start-of-range]) .day-wrapper::after,:host([highlighted][range-edge=start]) .day-wrapper::after,:host([range-hover][range-edge=start]) .day-wrapper::after,:host(:hover[range-hover]:not([selected]).focused--start) .day-wrapper::after,:host([start-of-range].hover--inside-range) .day-wrapper::after,:host(:hover[range-hover].focused--start.hover--outside-range) .day-wrapper::after{inset-inline-start:50%}:host([range-hover][start-of-range][range-edge=end]) .day-wrapper::after,:host([range-hover][start-of-range][range-edge=end]) .day-wrapper::before,:host([range-hover][end-of-range][range-edge=start]) .day-wrapper::after,:host([range-hover][end-of-range][range-edge=start]) .day-wrapper::before,:host([start-of-range][range-edge=end].hover--inside-range) .day-wrapper::after,:host([start-of-range][range-edge=end].hover--inside-range) .day-wrapper::before,:host([end-of-range]) .day-wrapper::after,:host([end-of-range]) .day-wrapper::before{content:unset}:host(:hover[range-hover]:not([selected]).focused--start) .day,:host(:hover[range-hover]:not([selected]).focused--end) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .day{box-shadow:0 0 0 2px var(--calcite-color-foreground-1)}@media (forced-colors: active){.day{border-radius:0px}:host([selected]){outline:2px solid canvasText}:host(:hover:not([selected])) .day{border-radius:50%}:host([range][selected]) .day-wrapper::before,:host([range][selected]) .day-wrapper::after,:host([highlighted]) .day-wrapper::before,:host([highlighted]) .day-wrapper::after,:host([range-hover]:not([selected])) .day-wrapper::before,:host([range-hover]:not([selected])) .day-wrapper::after{background-color:highlight}:host([range-hover]) .day-wrapper::before,:host([range-hover]) .day-wrapper::after,:host([range][selected][start-of-range]) .day-wrapper::before,:host([range][selected][start-of-range]) .day-wrapper::after,:host([range][selected][end-of-range]) .day-wrapper::before,:host([range][selected][end-of-range]) .day-wrapper::after{background-color:canvas}}:host([hidden]){display:none}[hidden]{display:none}';const M=class{constructor(a){e(this,a),this.calciteInternalDatePickerSelect=t(this,"calciteInternalDatePickerSelect",6),this.calciteInternalDatePickerHover=t(this,"calciteInternalDatePickerHover",6),this.calciteInternalDatePickerActiveDateChange=t(this,"calciteInternalDatePickerActiveDateChange",6),this.calciteInternalDatePickerMouseOut=t(this,"calciteInternalDatePickerMouseOut",6),this.keyDownHandler=e=>{if(e.defaultPrevented)return;const t="rtl"===this.el.dir;switch(e.key){case"ArrowUp":e.preventDefault(),this.addDays(-7);break;case"ArrowRight":e.preventDefault(),this.addDays(t?-1:1);break;case"ArrowDown":e.preventDefault(),this.addDays(7);break;case"ArrowLeft":e.preventDefault(),this.addDays(t?1:-1);break;case"PageUp":e.preventDefault(),this.addMonths(-1);break;case"PageDown":e.preventDefault(),this.addMonths(1);break;case"Home":e.preventDefault(),this.activeDate.setDate(1),this.addDays();break;case"End":e.preventDefault(),this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate()),this.addDays();break;case"Enter":case" ":e.preventDefault();break;case"Tab":this.activeFocus=!1}},this.disableActiveFocus=()=>{this.activeFocus=!1},this.dayHover=e=>{const t=e.target;t.disabled?this.calciteInternalDatePickerMouseOut.emit():this.calciteInternalDatePickerHover.emit(t.value),e.stopPropagation()},this.daySelect=e=>{this.calciteInternalDatePickerSelect.emit(e.target.value)},this.dateTimeFormat=void 0,this.selectedDate=void 0,this.activeDate=new Date,this.startDate=void 0,this.endDate=void 0,this.min=void 0,this.max=void 0,this.scale=void 0,this.localeData=void 0,this.hoverRange=void 0}pointerOutHandler(){this.calciteInternalDatePickerMouseOut.emit()}render(){const e=this.activeDate.getMonth(),t=this.activeDate.getFullYear(),i=this.localeData.weekStart%7,{abbreviated:s,short:o,narrow:c}=this.localeData.days,h="s"===this.scale?c||o||s:o||s||c,d=[...h.slice(i,7),...h.slice(0,i)],l=this.getCurrentMonthDays(e,t),p=this.getPreviousMonthDays(e,t,i),f=this.getNextMonthDays(e,t,i);let g=0;const v=()=>g++%7,u=[...p.map((a=>({active:!1,day:a,dayInWeek:v(),date:new Date(t,e-1,a)}))),...l.map((a=>{const r=new Date(t,e,a);return{active:n(r,this.activeDate),currentMonth:!0,day:a,dayInWeek:v(),date:r,ref:!0}})),...f.map((a=>({active:!1,day:a,dayInWeek:v(),date:new Date(t,e+1,a)})))];return a(r,{onFocusout:this.disableActiveFocus,onKeyDown:this.keyDownHandler},a("div",{class:"calendar",role:"grid"},a("div",{class:"week-headers",role:"row"},d.map((e=>a("span",{class:"week-header",role:"columnheader"},e)))),a("div",{class:"week-days",role:"row"},u.map(((e,t)=>this.renderDateDay(e,t))))))}addMonths(e){const t=new Date(this.activeDate);t.setMonth(this.activeDate.getMonth()+e),this.calciteInternalDatePickerActiveDateChange.emit(c(t,this.min,this.max)),this.activeFocus=!0}addDays(e=0){const t=new Date(this.activeDate);t.setDate(this.activeDate.getDate()+e),this.calciteInternalDatePickerActiveDateChange.emit(c(t,this.min,this.max)),this.activeFocus=!0}getPreviousMonthDays(e,t,a){const r=new Date(t,e,0),i=r.getDate(),s=r.getDay(),o=[];if(s===(a+6)%7)return o;if(s===a)return[i];for(let e=(7+s-a)%7;e>=0;e--)o.push(i-e);return o}getCurrentMonthDays(e,t){const a=new Date(t,e+1,0).getDate(),r=[];for(let e=0;e<a;e++)r.push(e+1);return r}getNextMonthDays(e,t,a){const r=new Date(t,e+1,0).getDay(),i=[];if(r===(a+6)%7)return i;for(let e=0;e<(6-(r-a))%7;e++)i.push(e+1);return i}betweenSelectedRange(e){return!(!(this.startDate&&this.endDate&&e>this.startDate&&e<this.endDate)||this.isRangeHover(e))}isSelected(e){return!!(n(e,this.selectedDate)||this.startDate&&n(e,this.startDate)||this.endDate&&n(e,this.endDate))}isStartOfRange(e){return!(!this.startDate||n(this.startDate,this.endDate)||!n(this.startDate,e)||this.isEndOfRange(e))}isEndOfRange(e){return!!(this.endDate&&!n(this.startDate,this.endDate)&&n(this.endDate,e)||!this.endDate&&this.hoverRange&&n(this.startDate,this.hoverRange.end)&&n(e,this.hoverRange.end))}renderDateDay({active:e,currentMonth:t,date:r,day:i,dayInWeek:s,ref:o},c){const d=this.isFocusedOnStart(),l=this.isHoverInRange()||!this.endDate&&this.hoverRange&&n(this.hoverRange?.end,this.startDate);return a("div",{class:"day",key:c,role:"gridcell"},a("calcite-date-picker-day",{active:e,class:{"hover--inside-range":this.startDate&&l,"hover--outside-range":this.startDate&&!l,"focused--start":d,"focused--end":!d},currentMonth:t,dateTimeFormat:this.dateTimeFormat,day:i,disabled:!h(r,this.min,this.max),endOfRange:this.isEndOfRange(r),highlighted:this.betweenSelectedRange(r),onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!n(this.startDate,this.endDate),rangeEdge:0===s?"start":6===s?"end":void 0,rangeHover:this.isRangeHover(r),ref:t=>{o&&e&&this.activeFocus&&t?.setFocus()},scale:this.scale,selected:this.isSelected(r),startOfRange:this.isStartOfRange(r),value:r}))}isFocusedOnStart(){return"start"===this.hoverRange?.focused}isHoverInRange(){if(!this.hoverRange)return!1;const{start:e,end:t}=this.hoverRange;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||t<this.endDate)||this.isFocusedOnStart()&&this.startDate&&e>this.startDate)}isRangeHover(e){if(!this.hoverRange)return!1;const{start:t,end:a}=this.hoverRange,r=this.isFocusedOnStart(),i=this.isHoverInRange(),s=i&&(!r&&e>this.startDate&&(e<a||n(e,a))||r&&e<this.endDate&&(e>t||n(e,t))),o=!i&&(!r&&e>=this.endDate&&(e<a||n(e,a))||r&&(this.startDate&&e<this.startDate||this.endDate&&n(e,this.startDate))&&(t&&e>t||n(e,t)));return s||o}get el(){return i(this)}};M.style=":host([hidden]){display:none}[hidden]{display:none}.calendar{margin-block-end:0.25rem}.week-headers{display:flex;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;padding-inline:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-3);inline-size:14.2857142857%}.day{display:flex;min-inline-size:0px;justify-content:center;inline-size:100%}.day calcite-date-picker-day{inline-size:100%}:host([scale=s]) .week-header{padding-inline:0px;padding-block:0.5rem 0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-inline:0px;padding-block:0.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-inline:0px;padding-block:1rem 1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:grid;grid-template-columns:repeat(7, 1fr);grid-auto-rows:1fr;padding-block:0;padding-inline:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";
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.12.2
11
+ */
12
+ const P="chevron",H="year--suffix",R="text--reverse",Y=class{constructor(a){e(this,a),this.calciteInternalDatePickerSelect=t(this,"calciteInternalDatePickerSelect",6),this.onYearKey=e=>{const t=this.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault(),this.setYear({localizedYear:t,offset:-1});break;case"ArrowUp":e.preventDefault(),this.setYear({localizedYear:t,offset:1})}},this.onYearChange=e=>{this.setYear({localizedYear:this.parseCalendarYear(e.target.value)})},this.onYearInput=e=>{this.setYear({localizedYear:this.parseCalendarYear(e.target.value),commit:!1})},this.prevMonthClick=e=>{this.handleArrowClick(e,this.prevMonthDate)},this.prevMonthKeydown=e=>{x(e.key)&&this.prevMonthClick(e)},this.nextMonthClick=e=>{this.handleArrowClick(e,this.nextMonthDate)},this.nextMonthKeydown=e=>{x(e.key)&&this.nextMonthClick(e)},this.handleArrowClick=(e,t)=>{e.preventDefault(),this.calciteInternalDatePickerSelect.emit(t)},this.selectedDate=void 0,this.activeDate=void 0,this.headingLevel=void 0,this.min=void 0,this.max=void 0,this.scale=void 0,this.localeData=void 0,this.messages=void 0,this.nextMonthDate=void 0,this.prevMonthDate=void 0}componentWillLoad(){this.parentDatePickerEl=v(this.el,"calcite-date-picker")}connectedCallback(){this.setNextPrevMonthDates()}render(){return a("div",{key:"6e1476a12ba6ea69e21a6e2ad307ed524bdf3841",class:"header"},this.renderContent())}renderContent(){const{messages:e,localeData:t,activeDate:r}=this;if(!r||!t)return null;if(this.parentDatePickerEl){const{numberingSystem:e,lang:t}=this.parentDatePickerEl;k.numberFormatOptions={useGrouping:!1,...e&&{numberingSystem:e},...t&&{locale:t}}}const i=r.getMonth(),{months:o,unitOrder:n}=t,c=(o.wide||o.narrow||o.abbreviated)[i],h=this.formatCalendarYear(r.getFullYear()),l=d(n),p=l.indexOf("y")<l.indexOf("m"),f=t.year?.suffix;return a(s,null,a("a",{"aria-disabled":`${this.prevMonthDate.getMonth()===i}`,"aria-label":e.prevMonth,class:P,href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===i?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-left",scale:C(this.scale)})),a("div",{class:{text:!0,[R]:p}},a(I,{class:"month",level:this.headingLevel},c),a("span",{class:"year-wrap"},a("input",{"aria-label":e.year,class:{year:!0,[H]:!!f},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",ref:e=>this.yearInput=e,type:"text",value:h}),f&&a("span",{class:"suffix"},f))),a("a",{"aria-disabled":`${this.nextMonthDate.getMonth()===i}`,"aria-label":e.nextMonth,class:P,href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===i?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-right",scale:C(this.scale)})))}setNextPrevMonthDates(){this.activeDate&&(this.nextMonthDate=c(l(this.activeDate),this.min,this.max),this.prevMonthDate=c(p(this.activeDate),this.min,this.max))}formatCalendarYear(e){return k.localize(`${f(e,this.localeData)}`)}parseCalendarYear(e){return k.localize(`${g(Number(k.delocalize(e)),this.localeData)}`)}getInRangeDate({localizedYear:e,offset:t=0}){const{min:a,max:r,activeDate:i}=this,s=Number(k.delocalize(e)),o=s.toString().length,n=!isNaN(s)&&s+t,h=n&&(!a||a.getFullYear()<=n)&&(!r||r.getFullYear()>=n);if(n&&h&&o===e.length){const e=new Date(i);return e.setFullYear(n),c(e,a,r)}}setYear({localizedYear:e,commit:t=!0,offset:a=0}){const{yearInput:r,activeDate:i}=this,s=this.getInRangeDate({localizedYear:e,offset:a});s&&this.calciteInternalDatePickerSelect.emit(s),t&&(r.value=this.formatCalendarYear((s||i).getFullYear()))}get el(){return i(this)}static get watchers(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}}};Y.style=":host{display:block}.header{display:flex;justify-content:space-between;padding-block:0px;padding-inline:0.25rem}:host([scale=s]) .text{margin-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{block-size:2.25rem}:host([scale=m]) .text{margin-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{block-size:3rem}:host([scale=l]) .text{margin-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{block-size:3.5rem}.chevron{margin-inline:-0.25rem;box-sizing:content-box;display:flex;flex-grow:0;cursor:pointer;align-items:center;justify-content:center;border-style:none;background-color:var(--calcite-color-foreground-1);padding-inline:0.25rem;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inline-size:14.2857142857%}.chevron: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 )}.chevron:hover,.chevron:focus{background-color:var(--calcite-color-foreground-2);fill:var(--calcite-color-text-1);color:var(--calcite-color-text-1)}.chevron:active{background-color:var(--calcite-color-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-block:auto;display:flex;inline-size:100%;flex:1 1 auto;align-items:center;justify-content:center;text-align:center;line-height:1}.text--reverse{flex-direction:row-reverse}.month,.year,.suffix{margin-inline:0.25rem;margin-block:auto;display:inline-block;background-color:var(--calcite-color-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-color-text-1);font-size:inherit}.year{position:relative;inline-size:2.5rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent}.year:hover{transition-duration:100ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:outline-color;outline:2px solid var(--calcite-color-border-2);outline-offset:2px}.year: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 )}.year--suffix{text-align:start}.year-wrap{position:relative}.suffix{inset-block-start:0px;white-space:nowrap;text-align:start;inset-inline-start:0}:host([hidden]){display:none}[hidden]{display:none}";export{S as calcite_date_picker_day,M as calcite_date_picker_month,Y as calcite_date_picker_month_header}
@@ -0,0 +1,17 @@
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,f as e,h as i,g as a,c as s,H as l}from"./p-6eb37ed2.js";import{g as n}from"./p-aaa56cbf.js";import{c as h}from"./p-1c249530.js";import{i as r,u as o}from"./p-c25e8c35.js";import{c,d,a as m,H as u}from"./p-66b01781.js";import{c as b,d as p,u as f,I as g}from"./p-1ce2608d.js";import{i as v}from"./p-64a34d92.js";import{c as x,d as k,g as _}from"./p-7c854814.js";import{s as $,a as y,c as w}from"./p-3e828614.js";import{n as z,c as M,d as V,B as L}from"./p-304cef31.js";import{d as H,c as j}from"./p-d9e930c8.js";import"./p-4b9b7778.js";import"./p-8bfa18b7.js";import"./p-27d462c0.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.12.2
11
+ */function X(t,e,i){const a=e[0]-t[0];return a?(3*(e[1]-t[1])/a-i)/2:i}function T(t,e,i,a,s){const[l,n]=t,[h,r]=e,o=(h-l)/3;return`C ${s([l+o,n+o*i]).join(",")} ${s([h-o,r-o*a]).join(",")} ${s([h,r]).join(",")}`}const D=class{constructor(i){t(this,i),this.graphId=`calcite-graph-${n()}`,this.resizeObserver=h("resize",(()=>e(this))),this.data=[],this.colorStops=void 0,this.highlightMin=void 0,this.highlightMax=void 0,this.min=void 0,this.max=void 0}connectedCallback(){this.resizeObserver?.observe(this.el)}disconnectedCallback(){this.resizeObserver?.disconnect()}render(){const{data:t,colorStops:e,el:a,highlightMax:s,highlightMin:l,min:n,max:h}=this,r=this.graphId,{clientHeight:o,clientWidth:c}=a;if(!t||0===t.length)return i("svg",{"aria-hidden":"true",class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c});const{min:d,max:m}=function(t){const[e,i]=t[0];return t.reduce((({min:t,max:e},[i,a])=>({min:[Math.min(t[0],i),Math.min(t[1],a)],max:[Math.max(e[0],i),Math.max(e[1],a)]})),{min:[e,i],max:[e,i]})}(t);let u=d,b=m;(n<d[0]||n>d[0])&&(u=[n,0]),(h>m[0]||h<m[0])&&(b=[h,m[1]]);const p=function({width:t,height:e,min:i,max:a}){const s=a[0]-i[0],l=a[1]-i[1];return a=>[(a[0]-i[0])/s*t,e-a[1]/l*e]}({min:u,max:b,width:c,height:o}),[f]=p([l,b[1]]),[g]=p([s,b[1]]),v=function({data:t,min:e,max:i,t:a}){if(0===t.length)return"";const[s,l]=a(t[0]),[n,h]=a(e),[r]=a(i);let o,c,d;const m=t.reduce(((e,i,s)=>{if(c=t[s-2],d=t[s-1],s>1){const t=function(t,e,i){const a=e[0]-t[0],s=i[0]-e[0],l=(e[1]-t[1])/(a||s<0&&0),n=(i[1]-e[1])/(s||a<0&&0),h=(l*s+n*a)/(a+s);return(Math.sign(l)+Math.sign(n))*Math.min(Math.abs(l),Math.abs(n),.5*Math.abs(h))||0}(c,d,i),s=void 0===o?X(c,d,t):o,l=T(c,d,s,t,a);return o=t,`${e} ${l}`}return e}),`M ${n},${h} L ${n},${l} L ${s},${l}`),u=t[t.length-1];return`${m} ${T(d,u,o,X(d,u,o),a)} L ${r},${h} Z`}({data:t,min:d,max:m,t:p}),x=e?`url(#linear-gradient-${r})`:void 0;return i("svg",{"aria-hidden":"true",class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c},e?i("defs",null,i("linearGradient",{id:`linear-gradient-${r}`,x1:"0",x2:"1",y1:"0",y2:"0"},e.map((({offset:t,color:e,opacity:a})=>i("stop",{offset:100*t+"%","stop-color":e,"stop-opacity":a}))))):null,void 0!==l?[i("mask",{height:"100%",id:`${r}1`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M 0,0\n L ${f-1},0\n L ${f-1},${o}\n L 0,${o}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${r}2`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${f+1},0\n L ${g-1},0\n L ${g-1},${o}\n L ${f+1}, ${o}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${r}3`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${g+1},0\n L ${c},0\n L ${c},${o}\n L ${g+1}, ${o}\n Z\n `,fill:"white"})),i("path",{class:"graph-path",d:v,fill:x,mask:`url(#${r}1)`}),i("path",{class:"graph-path--highlight",d:v,fill:x,mask:`url(#${r}2)`}),i("path",{class:"graph-path",d:v,fill:x,mask:`url(#${r}3)`})]:i("path",{class:"graph-path",d:v,fill:x}))}get el(){return a(this)}};D.style=":host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;block-size:100%;inline-size:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-color-brand);opacity:0.5}:host([hidden]){display:none}[hidden]{display:none}";
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.12.2
16
+ */
17
+ const C="container",S="container--range",I="hyphen",A="hyphen--wrap",F="thumb",P="thumb--active",R="thumb--minValue",O="thumb--precise",N="thumb--value",W="tick",B="tick--active",U="tick__label",Z="tick__label--max",G="tick__label--min";function E(t){return Array.isArray(t)}const K=class{constructor(e){t(this,e),this.calciteSliderInput=s(this,"calciteSliderInput",6),this.calciteSliderChange=s(this,"calciteSliderChange",6),this.handleKeyDown=t=>{const e=this.shouldMirror(),{activeProp:i,max:a,min:s,pageStep:l,step:n}=this,h=this[i],{key:r}=t;if(v(r))return void t.preventDefault();let o;if("ArrowUp"===r||"ArrowRight"===r?o=h+n*(e&&"ArrowRight"===r?-1:1):"ArrowDown"===r||"ArrowLeft"===r?o=h-n*(e&&"ArrowLeft"===r?-1:1):"PageUp"===r?l&&(o=h+l):"PageDown"===r?l&&(o=h-l):"Home"===r?o=s:"End"===r&&(o=a),isNaN(o))return;t.preventDefault();const c=Number(o.toFixed(H(n)));this.setValue({[i]:this.clamp(c,i)})},this.activeProp="value",this.guid=`calcite-slider-${n()}`,this.onThumbBlur=()=>{this.activeProp=null},this.onThumbFocus=t=>{this.activeProp=t.currentTarget.getAttribute("data-value-prop")},this.onThumbPointerDown=t=>{this.pointerDownDragStart(t,t.currentTarget.getAttribute("data-value-prop"))},this.onTrackPointerDown=t=>{this.pointerDownDragStart(t,"minMaxValue")},this.dragUpdate=t=>{if(!this.disabled&&(t.preventDefault(),this.dragProp)){const e=this.translate(t.clientX||t.pageX);if(E(this.value)&&"minMaxValue"===this.dragProp)if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){const t=e-this.minValueDragRange,i=e+this.maxValueDragRange;i<=this.max&&t>=this.min&&i-t===this.minMaxValueRange&&this.setValue({minValue:this.clamp(t,"minValue"),maxValue:this.clamp(i,"maxValue")})}else this.minValueDragRange=e-this.minValue,this.maxValueDragRange=this.maxValue-e,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue({[this.dragProp]:this.clamp(e,this.dragProp)})}},this.pointerUpDragEnd=t=>{!this.disabled&&r(t)&&this.dragEnd(t)},this.dragEnd=t=>{this.disabled||(this.removeDragListeners(),this.focusActiveHandle(t.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null)},this.storeTrackRef=t=>{this.trackEl=t},this.storeThumbRef=t=>{t&&("minValue"===t.getAttribute("data-value-prop")?this.minHandle=t:this.maxHandle=t)},this.formatValue=t=>(z.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},z.localize(t.toString())),this.disabled=!1,this.fillPlacement="start",this.form=void 0,this.groupSeparator=!1,this.hasHistogram=!1,this.histogram=void 0,this.histogramStops=void 0,this.labelHandles=!1,this.labelFormatter=void 0,this.labelTicks=!1,this.max=100,this.maxLabel=void 0,this.maxValue=void 0,this.min=0,this.minLabel=void 0,this.minValue=void 0,this.mirrored=!1,this.name=void 0,this.numberingSystem=void 0,this.pageStep=void 0,this.precise=!1,this.required=!1,this.snap=!1,this.step=1,this.ticks=void 0,this.value=0,this.scale="m",this.effectiveLocale="",this.minMaxValueRange=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.tickValues=[]}histogramWatcher(t){this.hasHistogram=!!t}ticksWatcher(){this.tickValues=this.generateTickValues()}valueHandler(){this.setMinMaxFromValue()}minMaxValueHandler(){this.setValueFromMinMax()}connectedCallback(){b(this),M(this),this.setMinMaxFromValue(),this.setValueFromMinMax(),x(this),c(this)}disconnectedCallback(){p(this),k(this),d(this),V(this),this.removeDragListeners()}componentWillLoad(){$(this),E(this.value)||(this.value=this.snap?this.getClosestStep(this.value):this.clamp(this.value)),this.ticksWatcher(),this.histogramWatcher(this.histogram),m(this,this.value)}componentDidLoad(){y(this)}componentDidRender(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),E(this.value)&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels(),f(this)}render(){const t=this.el.id||this.guid,e=E(this.value)?this.maxValue:this.value,a=this.minValue||this.min,s=this.shouldUseMinValue(),n=100*this.getUnitInterval(s?this.minValue:a),h=100*this.getUnitInterval(e),r=this.shouldMirror(),o=E(this.value),c=this.buildThumbType("max"),d=this.renderThumb({type:c,thumbPlacement:c.includes("histogram")?"below":"above",maxInterval:h,minInterval:n,mirror:r}),m=this.buildThumbType("min"),b=o&&this.renderThumb({type:m,thumbPlacement:m.includes("histogram")||m.includes("precise")?"below":"above",maxInterval:h,minInterval:n,mirror:r}),p=o?"start":this.fillPlacement,f="none"===p?{left:"unset",right:"unset"}:"end"===p?{left:`${r?n:h}%`,right:`${r?h:n}%`}:{left:`${r?100-h:n}%`,right:`${r?n:100-h}%`};return i(l,{key:"c0ebc9073b3609d1d47379b5efccbe31c68915ed",id:t,onKeyDown:this.handleKeyDown,onTouchStart:this.handleTouchStart},i(g,{key:"1f6930631e4c83e5b47ae1d5c64c10dbe58ed8e7",disabled:this.disabled},i("div",{key:"09a30ae372ca5e52fde36a0a85adc76d14ca1461","aria-label":_(this),class:{[C]:!0,[S]:o,[`scale--${this.scale}`]:!0}},this.renderGraph(),i("div",{key:"e996119bc9bba42340d24b2dc8b2ad7daaf02e6e",class:"track",ref:this.storeTrackRef},i("div",{key:"fb768d8462137621d7a891d0767e2e27864307fc",class:"track__range",onPointerDown:this.onTrackPointerDown,style:f}),i("div",{key:"408a0a05ef7503b1af724cfd95e3fb40f94bcbf8",class:"ticks"},this.tickValues.map((t=>{const l=100*this.getUnitInterval(t)+"%";let n=!1;return"start"!==p&&"end"!==p||(n=s?t>=this.minValue&&t<=this.maxValue:t>=("start"===p?a:e)&&t<=("start"===p?e:this.max)),i("span",{class:{[W]:!0,[B]:n},style:{left:r?"":l,right:r?l:""}},this.renderTickLabel(t))})))),i("div",{key:"c511ee11206dadb2b23199708abf2d2703423559",class:"thumb-container"},b,d,i(u,{key:"f6684d5f25ade745730db775a5e51298b5eb8048",component:this})))))}renderThumb({type:t,mirror:e,thumbPlacement:a,minInterval:s,maxInterval:l}){const n=t.includes("labeled"),h=t.includes("precise"),r=t.includes("min"),o=E(this.value),c=r?this.minValue:o?this.maxValue:this.value,d=r?"minValue":o?"maxValue":"value",m=r?this.minLabel:o?this.maxLabel:this.minLabel,u=r?this.minValue:c,b="minValue"===d?this.internalLabelFormatter(this.minValue,"min"):"maxValue"===d?this.internalLabelFormatter(this.maxValue,"max"):this.internalLabelFormatter(c,"value"),p=r?{left:`${e?100-s:s}%`}:{right:`${e?l:100-l}%`},f="handle__label "+(r?"handle__label--minValue":"handle__label--value"),g=[...n?[i("span",{"aria-hidden":"true",class:f},b),i("span",{"aria-hidden":"true",class:`${f} static`},b),i("span",{"aria-hidden":"true",class:`${f} transformed`},b)]:[],i("div",{class:"handle"}),h&&i("div",{class:"handle-extension"})];return"below"===a&&g.reverse(),i("div",{"aria-disabled":this.disabled,"aria-label":m,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":u,class:{[F]:!0,[N]:!r,[P]:"minMaxValue"!==this.lastDragProp&&this.dragProp===d,[O]:h,[R]:r},"data-value-prop":d,key:t,onBlur:this.onThumbBlur,onFocus:this.onThumbFocus,onPointerDown:this.onThumbPointerDown,ref:this.storeThumbRef,role:"slider",style:p,tabIndex:0},g)}renderGraph(){return this.histogram?i("calcite-graph",{class:"graph",colorStops:this.histogramStops,data:this.histogram,highlightMax:E(this.value)?this.maxValue:this.value,highlightMin:E(this.value)?this.minValue:this.min,max:this.max,min:this.min}):null}renderTickLabel(t){const{hasHistogram:e,labelHandles:a,labelTicks:s,max:l,min:n,precise:h,value:r}=this,o=E(r),c=t===n,d=t===l,m=c||d;return!s||(e||!m&&h&&o)&&(!e||!m&&(h||a))?null:i("span",{class:{[U]:!0,[G]:c,[Z]:d}},this.internalLabelFormatter(t,"tick"))}pointerDownHandler(t){if(this.disabled||!r(t))return;const e=t.clientX||t.pageX,i=this.translate(e);let a="value";E(this.value)&&(a=i>=this.minValue&&i<=this.maxValue&&"minMaxValue"===this.lastDragProp?"minMaxValue":Math.abs(this.maxValue-i)<Math.abs(this.minValue-i)||i>=this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[a],this.dragStart(a),this.el.shadowRoot.querySelector(`.${F}:active`)||this.setValue({[a]:this.clamp(i,a)}),this.focusActiveHandle(e)}handleTouchStart(t){t.preventDefault()}async setFocus(){await w(this);const t=this.minHandle?this.minHandle:this.maxHandle;t?.focus()}buildThumbType(t){const e=[t];return this.labelHandles&&e.push("labeled"),this.precise&&e.push("precise"),this.hasHistogram&&e.push("histogram"),e.join("-")}setValueFromMinMax(){const{minValue:t,maxValue:e}=this;"number"==typeof t&&"number"==typeof e&&(this.value=[t,e])}setMinMaxFromValue(){const{value:t}=this;E(t)&&(this.minValue=t[0],this.maxValue=t[1])}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return!!E(this.value)&&(this.hasHistogram&&0===this.maxValue||!this.hasHistogram&&0===this.minValue)}getTickDensity(){const t=(this.max-this.min)/this.ticks/250;return t<1?1:t}generateTickValues(){const t=this.ticks??0;if(t<=0)return[];const e=[this.min],i=t*this.getTickDensity();let a=this.min;for(;a<this.max;)a+=i,e.push(Math.min(a,this.max));return e.includes(this.max)||e.push(this.max),e}pointerDownDragStart(t,e){r(t)&&this.dragStart(e)}dragStart(t){this.dragProp=t,this.lastDragProp=this.dragProp,this.activeProp=t,window.addEventListener("pointermove",this.dragUpdate),window.addEventListener("pointerup",this.pointerUpDragEnd),window.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(t){"minValue"===this.dragProp?this.minHandle.focus():"maxValue"===this.dragProp||"value"===this.dragProp?this.maxHandle.focus():"minMaxValue"===this.dragProp&&this.getClosestHandle(t).focus()}emitInput(){this.calciteSliderInput.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){window.removeEventListener("pointermove",this.dragUpdate),window.removeEventListener("pointerup",this.pointerUpDragEnd),window.removeEventListener("pointercancel",this.dragEnd)}setValue(t){let e;Object.keys(t).forEach((i=>{const a=t[i];e||(e=this[i]!==a),this[i]=a})),e&&(this.dragProp||this.emitChange(),this.emitInput())}clamp(t,e){return t=j(t,this.min,this.max),"maxValue"===e&&(t=Math.max(t,this.minValue)),"minValue"===e&&(t=Math.min(t,this.maxValue)),t}translate(t){const e=this.max-this.min,{left:i,width:a}=this.trackEl.getBoundingClientRect(),s=(t-i)/a,l=this.shouldMirror(),n=this.clamp(this.min+e*(l?1-s:s)),h=Number(n.toFixed(H(this.step)));return this.snap&&this.step?this.getClosestStep(h):h}getClosestStep(t){const{max:e,min:i,step:a}=this,s=new L(`${Math.floor((t-i)/a)}`).multiply(`${a}`).add(`${i}`).toString();let l=this.clamp(Number(s));return l>e&&(l-=a),l}getClosestHandle(t){return this.getDistanceX(this.maxHandle,t)>this.getDistanceX(this.minHandle,t)?this.minHandle:this.maxHandle}getDistanceX(t,e){return Math.abs(t.getBoundingClientRect().left-e)}getFontSizeForElement(t){return Number(window.getComputedStyle(t).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(t){return((t=this.clamp(t))-this.min)/(this.max-this.min)}adjustHostObscuredHandleLabel(t){const e=this.el.shadowRoot.querySelector(`.handle__label--${t}`),i=this.el.shadowRoot.querySelector(`.handle__label--${t}.static`),a=this.el.shadowRoot.querySelector(`.handle__label--${t}.transformed`),s=i.getBoundingClientRect(),l=this.getHostOffset(s.left,s.right);e.style.transform=`translateX(${l}px)`,a.style.transform=`translateX(${l}px)`}hyphenateCollidingRangeHandleLabels(){const{shadowRoot:t}=this.el,e=this.shouldMirror(),i=e?"value":"minValue",a=e?"minValue":"value",s=t.querySelector(`.handle__label--${i}`),l=t.querySelector(`.handle__label--${i}.static`),n=t.querySelector(`.handle__label--${i}.transformed`),h=this.getHostOffset(l.getBoundingClientRect().left,l.getBoundingClientRect().right),r=t.querySelector(`.handle__label--${a}`),o=t.querySelector(`.handle__label--${a}.static`),c=t.querySelector(`.handle__label--${a}.transformed`),d=this.getHostOffset(o.getBoundingClientRect().left,o.getBoundingClientRect().right),m=this.getFontSizeForElement(s),u=this.getRangeLabelOverlap(n,c),b=s,p=m/2;if(u>0){if(b.classList.add(I,A),0===d&&0===h){let t=u/2-p;t=-1===Math.sign(t)?Math.abs(t):-t;const e=this.getHostOffset(n.getBoundingClientRect().left+t-p,n.getBoundingClientRect().right+t-p);let i=u/2;const a=this.getHostOffset(c.getBoundingClientRect().left+i,c.getBoundingClientRect().right+i);0!==e&&(t+=e,i+=e),0!==a&&(t+=a,i+=a),s.style.transform=`translateX(${t}px)`,n.style.transform=`translateX(${t-p}px)`,r.style.transform=`translateX(${i}px)`,c.style.transform=`translateX(${i}px)`}else if(h>0||d>0)s.style.transform=`translateX(${h+p}px)`,r.style.transform=`translateX(${u+d}px)`,c.style.transform=`translateX(${u+d}px)`;else if(h<0||d<0){let t=Math.abs(h)+u-p;t=-1===Math.sign(t)?Math.abs(t):-t,s.style.transform=`translateX(${t}px)`,n.style.transform=`translateX(${t-p}px)`}}else b.classList.remove(I,A),s.style.transform=`translateX(${h}px)`,n.style.transform=`translateX(${h}px)`,r.style.transform=`translateX(${d}px)`,c.style.transform=`translateX(${d}px)`}hideObscuredBoundingTickLabels(){const t=E(this.value);if(!(this.hasHistogram||t||this.labelHandles||this.precise))return;if(!this.hasHistogram&&!t&&this.labelHandles&&!this.precise)return;if(!this.hasHistogram&&!t&&!this.labelHandles&&this.precise)return;if(!this.hasHistogram&&!t&&this.labelHandles&&this.precise)return;if(!this.hasHistogram&&t&&!this.precise)return;if(this.hasHistogram&&!this.precise&&!this.labelHandles)return;const e=this.el.shadowRoot.querySelector(`.${R}`),i=this.el.shadowRoot.querySelector(`.${N}`),a=this.el.shadowRoot.querySelector(`.${G}`),s=this.el.shadowRoot.querySelector(`.${Z}`);!e&&i&&a&&s&&(a.style.opacity=this.isMinTickLabelObscured(a,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,i)?"0":"1"),e&&i&&a&&s&&(a.style.opacity=this.isMinTickLabelObscured(a,e)||this.isMinTickLabelObscured(a,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,e)||this.isMaxTickLabelObscured(s,i)&&this.hasHistogram?"0":"1")}getHostOffset(t,e){const i=this.el.getBoundingClientRect();return t+7<i.left?i.left-t-7:e-7>i.right?7-(e-i.right):0}getRangeLabelOverlap(t,e){const i=t.getBoundingClientRect(),a=e.getBoundingClientRect(),s=this.getFontSizeForElement(t);return Math.max(i.right+s-a.left,0)}isMinTickLabelObscured(t,e){const i=t.getBoundingClientRect(),a=e.getBoundingClientRect();return o(i,a)}isMaxTickLabelObscured(t,e){const i=t.getBoundingClientRect(),a=e.getBoundingClientRect();return o(i,a)}internalLabelFormatter(t,e){const i=this.labelFormatter;if(!i)return this.formatValue(t);const a=i(t,e,this.formatValue);return null==a?this.formatValue(t):a}static get delegatesFocus(){return!0}get el(){return a(this)}static get watchers(){return{histogram:["histogramWatcher"],ticks:["ticksWatcher"],value:["valueHandler"],minValue:["minMaxValueHandler"],maxValue:["minMaxValueHandler"]}}};K.style='@charset "UTF-8";: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}.scale--s{--calcite-slider-handle-size:0.625rem;--calcite-slider-handle-extension-height:0.4rem;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:0.875rem;--calcite-slider-handle-extension-height:0.5rem;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:1rem;--calcite-slider-handle-extension-height:0.65rem;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * 0.5);padding-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-inline:0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n );touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen::after{content:"—";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle{box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-color-foreground-1);outline-color:transparent;block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:0.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-color-text-3)}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-color-brand)}.thumb:focus .handle{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 )}.thumb:focus .handle-extension{background-color:var(--calcite-color-brand)}.thumb.thumb--minValue{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-0.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-block-start:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-block-end:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-color-brand);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise::after,.thumb:focus.thumb--precise::after,.thumb--active.thumb--precise::after{background-color:var(--calcite-color-brand)}.track{position:relative;block-size:0.125rem;border-radius:0px;background-color:var(--calcite-color-border-2);transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:0.125rem;background-color:var(--calcite-color-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range::after{position:absolute;inline-size:100%;content:"";inset-block-start:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:0.25rem;inline-size:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-color-border-input);border-color:var(--calcite-color-foreground-1);inset-block-start:-2px;pointer-events:none;margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-color-brand)}.tick__label{pointer-events:none;margin-block-start:0.875rem;display:flex;justify-content:center}.tick__label--min{transition:opacity var(--calcite-animation-timing)}.tick__label--max{transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.graph{color:var(--calcite-color-foreground-3);block-size:48px}:host([label-ticks][ticks]) .container{padding-block-end:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-block-end:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::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([hidden]){display:none}[hidden]{display:none}';export{D as calcite_graph,K as calcite_slider}
@@ -0,0 +1,6 @@
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 r}from"./p-924ec704.js";import"./p-6eb37ed2.js";import"./p-66b01781.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-7c854814.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-304cef31.js";import"./p-1c249530.js";import"./p-c40b0ec5.js";import"./p-0ef9d36b.js";import"./p-f6f2018a.js";import"./p-d9e930c8.js";import"./p-1017609e.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var m={name:"sv",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(r){var m=r%10;return"["+r+(1===m||2===m?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};r.locale(m,null,!0);export{m as default}
@@ -0,0 +1,6 @@
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,h as e,H as n,g as r}from"./p-6eb37ed2.js";import{c as i}from"./p-720a12c0.js";import{l as o}from"./p-4cd4cb85.js";import{g as a}from"./p-3d0e9be4.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const{state:s,onChange:u}=i({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1});let l;function c(t){return"function"==typeof l[t]?l[t]=l[t](globalThis):l[t]}function f(t){if(!t||"object"!=typeof t||"function"==typeof t)return t;const e=function(t){if(function(t){return"Int8Array"===t?.constructor?.name}(t)||function(t){return"Uint8Array"===t?.constructor?.name}(t)||function(t){return"Uint8ClampedArray"===t?.constructor?.name}(t)||function(t){return"Int16Array"===t?.constructor?.name}(t)||function(t){return"Uint16Array"===t?.constructor?.name}(t)||function(t){return"Int32Array"===t?.constructor?.name}(t)||function(t){return"Uint32Array"===t?.constructor?.name}(t)||function(t){return"Float32Array"===t?.constructor?.name}(t)||function(t){return"Float64Array"===t?.constructor?.name}(t))return t.slice();if(t instanceof Date)return new Date(t.getTime());if(t instanceof ArrayBuffer)return t.slice(0,t.byteLength);if(t instanceof Map){const e=new Map;for(const[n,r]of t)e.set(n,f(r));return e}if(t instanceof Set){const e=new Set;for(const n of t)e.add(f(n));return e}return null}(t);if(null!=e)return e;if(function(t){return"function"==typeof t.clone}(t))return t.clone();if(function(t){return"function"==typeof t.map&&"function"==typeof t.forEach}(t))return t.map(f);if(function(t){return"function"==typeof t.notifyChange&&"function"==typeof t.watch}(t))return t.clone();const n={};for(const e of Object.getOwnPropertyNames(t))n[e]=f(t[e]);return n}function h(t,e,n){return e?Object.keys(e).reduce(((t,r)=>{let i=t[r],o=e[r];return i===o?t:void 0===i?(t[r]=f(o),t):(Array.isArray(o)||Array.isArray(t)?(i=t[r]=i?Array.isArray(i)?i.slice():[i]:[],o&&(Array.isArray(o)||(o=[o]),n?o.forEach((t=>{i.includes(t)||i.push(t)})):t[r]=o.slice())):o&&"object"==typeof o?t[r]=h(i,o,n):t.hasOwnProperty(r)&&!e.hasOwnProperty(r)||(t[r]=o),t)}),t||{}):t}l=globalThis.dojoConfig?.has||globalThis.esriConfig?.has?{...globalThis.dojoConfig?.has,...globalThis.esriConfig?.has}:{},c.add=(t,e,n,r)=>{(r||void 0===l[t])&&(l[t]=e),n&&c(t)},c.cache=l,c.add("big-integer-warning-enabled",!0),c.add("esri-deprecation-warnings",!0),c.add("esri-tests-disable-screenshots",!1),c.add("esri-tests-use-full-window",!1),c.add("esri-tests-post-to-influx",!0),c.add("esri-cim-animations-enable-status","enabled"),c.add("esri-cim-animations-spotlight",!1),c.add("esri-cim-animations-freeze-time",!1),(()=>{c.add("host-webworker",void 0!==globalThis.WorkerGlobalScope&&self instanceof globalThis.WorkerGlobalScope);const t="undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document;if(c.add("host-browser",t),c.add("host-node","object"==typeof globalThis.process&&globalThis.process.versions?.node&&globalThis.process.versions.v8),c.add("dom",t),c("host-browser")){const t=navigator,e=t.userAgent,n=t.appVersion,r=parseFloat(n);if(c.add("wp",parseFloat(e.split("Windows Phone")[1])||void 0),c.add("msapp",parseFloat(e.split("MSAppHost/")[1])||void 0),c.add("khtml",n.includes("Konqueror")?r:void 0),c.add("edge",parseFloat(e.split("Edge/")[1])||void 0),c.add("opr",parseFloat(e.split("OPR/")[1])||void 0),c.add("webkit",!c("wp")&&!c("edge")&&parseFloat(e.split("WebKit/")[1])||void 0),c.add("chrome",!c("edge")&&!c("opr")&&parseFloat(e.split("Chrome/")[1])||void 0),c.add("android",!c("wp")&&parseFloat(e.split("Android ")[1])||void 0),c.add("safari",!n.includes("Safari")||c("wp")||c("chrome")||c("android")||c("edge")||c("opr")?void 0:parseFloat(n.split("Version/")[1])),c.add("mac",n.includes("Macintosh")),!c("wp")&&/(iPhone|iPod|iPad)/.test(e)){const t=RegExp.$1.replace(/P/,"p"),n=/OS ([\d_]+)/.test(e)?RegExp.$1:"1",r=parseFloat(n.replace(/_/,".").replaceAll("_",""));c.add(t,r),c.add("ios",r)}c("webkit")||(!e.includes("Gecko")||c("wp")||c("khtml")||c("edge")||c.add("mozilla",r),c("mozilla")&&c.add("ff",parseFloat(e.split("Firefox/")[1]||e.split("Minefield/")[1])||void 0))}})(),(()=>{if(globalThis.navigator){const t=navigator.userAgent,e=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(t),n=/iPhone/i.test(t);e&&c.add("esri-mobile",e),n&&c.add("esri-iPhone",n),c.add("esri-geolocation",!!navigator.geolocation)}c.add("esri-wasm","WebAssembly"in globalThis),c.add("esri-performance-mode-frames-between-render",20),c.add("esri-force-performance-mode",!1),c.add("esri-shared-array-buffer",(()=>{const t="SharedArrayBuffer"in globalThis,e=!1===globalThis.crossOriginIsolated;return t&&!e})),c.add("wasm-simd",(()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11])))),c.add("esri-atomics","Atomics"in globalThis),c.add("esri-workers","Worker"in globalThis),c.add("web-feat:cache","caches"in globalThis),c.add("esri-workers-arraybuffer-transfer",!c("safari")||Number(c("safari"))>=12),c.add("workers-pool-size",8),c.add("featurelayer-simplify-thresholds",[.5,.5,.5,.5]),c.add("featurelayer-simplify-payload-size-factors",[1,1,4]),c.add("featurelayer-fast-triangulation-enabled",!0),c.add("featurelayer-animation-enabled",!0),c.add("featurelayer-snapshot-enabled",!0),c.add("featurelayer-snapshot-point-min-threshold",8e4),c.add("featurelayer-snapshot-point-max-threshold",4e5),c.add("featurelayer-snapshot-point-coverage",.1),c.add("featurelayer-query-max-depth",4),c.add("featurelayer-query-pausing-enabled",!1),c.add("featurelayer-advanced-symbols",!1),c.add("featurelayer-pbf",!0),c.add("featurelayer-pbf-statistics",!1),c.add("feature-layers-workers",!0),c.add("feature-polyline-generalization-factor",1),c.add("mapview-transitions-duration",200),c.add("mapview-essential-goto-duration",200),c.add("mapview-srswitch-adjust-rotation-scale-threshold",24e6),c.add("mapserver-pbf-version-support",10.81),c.add("mapservice-popup-identify-max-tolerance",20),c("host-webworker")||c("host-browser")&&(c.add("esri-csp-restrictions",(()=>{try{new Function}catch{return!0}return!1})),c.add("esri-image-decode",(()=>{if("decode"in new Image){const t=new Image;return t.src='data:image/svg+xml;charset=UTF-8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg"></svg>',void t.decode().then((()=>{c.add("esri-image-decode",!0,!0,!0)})).catch((()=>{c.add("esri-image-decode",!1,!0,!0)}))}return!1})),c.add("esri-url-encodes-apostrophe",(()=>{const t=window.document.createElement("a");return t.href="?'",t.href.includes("?%27")})))})();const d={apiKey:void 0,applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:6e4,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};globalThis.esriConfig&&(function(t,e,n=!1){h(d,e,n)}(0,globalThis.esriConfig,!0),delete d.has),d.assetsPath||(d.assetsPath="https://cdn.jsdelivr.net/npm/@arcgis/core@4.31.0-next.20240924/assets",d.defaultAssetsPath=d.assetsPath);const p={info:0,warn:1,error:2,none:3};class m{constructor(t){this.level=null,this._module="",this._parent=null,this.writer=null,this._loggedMessages={error:new Map,warn:new Map,info:new Map},null!=t.level&&(this.level=t.level),null!=t.writer&&(this.writer=t.writer),this._module=t.module,m._loggers.set(this.module,this);const e=this.module.lastIndexOf(".");-1!==e&&(this._parent=m.getLogger(this.module.slice(0,e)))}get module(){return this._module}get parent(){return this._parent}error(...t){this._log("error","always",...t)}warn(...t){this._log("warn","always",...t)}info(...t){this._log("info","always",...t)}errorOnce(...t){this._log("error","once",...t)}warnOnce(...t){this._log("warn","once",...t)}infoOnce(...t){this._log("info","once",...t)}errorOncePerTick(...t){this._log("error","oncePerTick",...t)}warnOncePerTick(...t){this._log("warn","oncePerTick",...t)}infoOncePerTick(...t){this._log("info","oncePerTick",...t)}get test(){}static get test(){}static getLogger(t){return m._loggers.get(t="string"!=typeof t?t.declaredClass:t)||new m({module:t})}_log(t,e,...n){if(this._matchLevel(t)){if("always"!==e&&!m._throttlingDisabled){const r=function(...t){return function(t){let e=0;for(let n=0;n<t.length;n++)e=(e<<5)-e+t.charCodeAt(n),e|=0;return e}(JSON.stringify(t,((t,e)=>"object"!=typeof e||Array.isArray(e)?e:"[Object]")))}(n),i=this._loggedMessages[t].get(r);if("once"===e&&null!=i||"oncePerTick"===e&&i&&i>=m._tickCounter)return;this._loggedMessages[t].set(r,m._tickCounter),m._scheduleTickCounterIncrement()}for(const e of d.log.interceptors)if(e(t,this.module,...n))return;this._inheritedWriter()(t,this.module,...n)}}_parentWithMember(t,e){let n=this;for(;null!=n;){const e=n[t];if(null!=e)return e;n=n.parent}return e}_inheritedWriter(){return this._parentWithMember("writer",g)}_matchLevel(t){return p[this._parentWithMember("level",d.log.level||"warn")]<=p[t]}static _scheduleTickCounterIncrement(){m._tickCounterScheduled||(m._tickCounterScheduled=!0,Promise.resolve().then((()=>{m._tickCounter++,m._tickCounterScheduled=!1})))}}function g(t,e,...n){console[t](`[${e}]`,...n)}m._loggers=new Map,m._tickCounter=0,m._tickCounterScheduled=!1,m._throttlingDisabled=!1;class v{constructor(t,e,n){this.name=t,this.details=n,this.message=(e&&function(t,e){return t.replaceAll(/\$\{([^\s:}]*)(?::([^\s:}]+))?\}/g,((t,n)=>{if(""===n)return"$";const r=function(t,e){if(null!=e)return e[t]||function(t,e,n){let r=n;for(const e of t){if(null==r)return;if(!(e in r))return void 0;r=r[e]}return r}(t.split("."),0,e)}(n,e);return(r??"").toString()}))}(e,n))??""}toString(){return"["+this.name+"]: "+this.message}}class w extends v{constructor(t,e,n){super(t,e,n)}toJSON(){if(null!=this.details)try{return{name:this.name,message:this.message,details:JSON.parse(JSON.stringify(this.details,((t,e)=>{if(e&&"object"==typeof e&&"function"==typeof e.toJSON)return e;try{return f(e)}catch(t){return"[object]"}})))}}catch(t){throw m.getLogger("esri.core.Error").error(t),t}return{name:this.name,message:this.message,details:this.details}}static fromJSON(t){return new w(t.name,t.message,t.details)}}w.prototype.type="error";const y={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function b(t){return y[t]??y[t.toLowerCase()]}function M(t,e,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?t+(e-t)*r:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function x(){const t=new Float32Array(16);return t[0]=1,t[5]=1,t[10]=1,t[15]=1,t}const k=x();function T(t,e,n){return[t,e,n]}function E(){return T(1,1,1)}function S(){return T(1,0,0)}function _(){return T(0,1,0)}function F(){return T(0,0,1)}Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:k,clone:function(t){const e=new Float32Array(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e},create:x,createView:function(t,e){return new Float32Array(t,e,16)},fromValues:function(t,e,n,r,i,o,a,s,u,l,c,f,h,d,p,m){const g=new Float32Array(16);return g[0]=t,g[1]=e,g[2]=n,g[3]=r,g[4]=i,g[5]=o,g[6]=a,g[7]=s,g[8]=u,g[9]=l,g[10]=c,g[11]=f,g[12]=h,g[13]=d,g[14]=p,g[15]=m,g}},Symbol.toStringTag,{value:"Module"}));const A=E(),I=S(),O=_(),j=F();Object.freeze(Object.defineProperty({__proto__:null,ONES:A,UNIT_X:I,UNIT_Y:O,UNIT_Z:j,ZEROS:[0,0,0],clone:function(t){return[t[0],t[1],t[2]]},create:function(){return[0,0,0]},createView:function(t,e){return new Float64Array(t,e,3)},freeze:function(t,e,n){return[t,e,n]},fromArray:function(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e},fromValues:T,ones:E,unitX:S,unitY:_,unitZ:F,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}));let P=1e-6;function $(){return P}const N=Math.random,C=Math.PI/180,R=180/Math.PI;function q(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function U(t,e,n,r,i,o,a,s,u,l,c,f,h,d,p,m,g){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=o,t[5]=a,t[6]=s,t[7]=u,t[8]=l,t[9]=c,t[10]=f,t[11]=h,t[12]=d,t[13]=p,t[14]=m,t[15]=g,t}function D(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function z(t,e){if(t===e){const n=e[1],r=e[2],i=e[3],o=e[6],a=e[7],s=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=o,t[11]=e[14],t[12]=i,t[13]=a,t[14]=s}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}function V(t,e){const n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],u=e[6],l=e[7],c=e[8],f=e[9],h=e[10],d=e[11],p=e[12],m=e[13],g=e[14],v=e[15],w=n*s-r*a,y=n*u-i*a,b=n*l-o*a,M=r*u-i*s,x=r*l-o*s,k=i*l-o*u,T=c*m-f*p,E=c*g-h*p,S=c*v-d*p,_=f*g-h*m,F=f*v-d*m,A=h*v-d*g;let I=w*A-y*F+b*_+M*S-x*E+k*T;return I?(I=1/I,t[0]=(s*A-u*F+l*_)*I,t[1]=(i*F-r*A-o*_)*I,t[2]=(m*k-g*x+v*M)*I,t[3]=(h*x-f*k-d*M)*I,t[4]=(u*S-a*A-l*E)*I,t[5]=(n*A-i*S+o*E)*I,t[6]=(g*b-p*k-v*y)*I,t[7]=(c*k-h*b+d*y)*I,t[8]=(a*F-s*S+l*T)*I,t[9]=(r*S-n*F-o*T)*I,t[10]=(p*x-m*b+v*w)*I,t[11]=(f*b-c*x-d*w)*I,t[12]=(s*E-a*_-u*T)*I,t[13]=(n*_-r*E+i*T)*I,t[14]=(m*y-p*M-g*w)*I,t[15]=(c*M-f*y+h*w)*I,t):null}function W(t,e,n){const r=e[0],i=e[1],o=e[2],a=e[3],s=e[4],u=e[5],l=e[6],c=e[7],f=e[8],h=e[9],d=e[10],p=e[11],m=e[12],g=e[13],v=e[14],w=e[15];let y=n[0],b=n[1],M=n[2],x=n[3];return t[0]=y*r+b*s+M*f+x*m,t[1]=y*i+b*u+M*h+x*g,t[2]=y*o+b*l+M*d+x*v,t[3]=y*a+b*c+M*p+x*w,y=n[4],b=n[5],M=n[6],x=n[7],t[4]=y*r+b*s+M*f+x*m,t[5]=y*i+b*u+M*h+x*g,t[6]=y*o+b*l+M*d+x*v,t[7]=y*a+b*c+M*p+x*w,y=n[8],b=n[9],M=n[10],x=n[11],t[8]=y*r+b*s+M*f+x*m,t[9]=y*i+b*u+M*h+x*g,t[10]=y*o+b*l+M*d+x*v,t[11]=y*a+b*c+M*p+x*w,y=n[12],b=n[13],M=n[14],x=n[15],t[12]=y*r+b*s+M*f+x*m,t[13]=y*i+b*u+M*h+x*g,t[14]=y*o+b*l+M*d+x*v,t[15]=y*a+b*c+M*p+x*w,t}function J(t,e,n){const r=e[0],i=e[1],o=e[2],a=e[3],s=r+r,u=i+i,l=o+o,c=r*s,f=r*u,h=r*l,d=i*u,p=i*l,m=o*l,g=a*s,v=a*u,w=a*l;return t[0]=1-(d+m),t[1]=f+w,t[2]=h-v,t[3]=0,t[4]=f-w,t[5]=1-(c+m),t[6]=p+g,t[7]=0,t[8]=h+v,t[9]=p-g,t[10]=1-(c+d),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:N,equals:function(t,e){return Math.abs(t-e)<=P*Math.max(1,Math.abs(t),Math.abs(e))},getEpsilon:$,setEpsilon:function(t){P=t},toDegree:function(t){return t*R},toRadian:function(t){return t*C}},Symbol.toStringTag,{value:"Module"}));const L=[0,0,0];function B(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],t}Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t[9]=e[9]+n[9],t[10]=e[10]+n[10],t[11]=e[11]+n[11],t[12]=e[12]+n[12],t[13]=e[13]+n[13],t[14]=e[14]+n[14],t[15]=e[15]+n[15],t},adjoint:function(t,e){const n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],u=e[6],l=e[7],c=e[8],f=e[9],h=e[10],d=e[11],p=e[12],m=e[13],g=e[14],v=e[15];return t[0]=s*(h*v-d*g)-f*(u*v-l*g)+m*(u*d-l*h),t[1]=-(r*(h*v-d*g)-f*(i*v-o*g)+m*(i*d-o*h)),t[2]=r*(u*v-l*g)-s*(i*v-o*g)+m*(i*l-o*u),t[3]=-(r*(u*d-l*h)-s*(i*d-o*h)+f*(i*l-o*u)),t[4]=-(a*(h*v-d*g)-c*(u*v-l*g)+p*(u*d-l*h)),t[5]=n*(h*v-d*g)-c*(i*v-o*g)+p*(i*d-o*h),t[6]=-(n*(u*v-l*g)-a*(i*v-o*g)+p*(i*l-o*u)),t[7]=n*(u*d-l*h)-a*(i*d-o*h)+c*(i*l-o*u),t[8]=a*(f*v-d*m)-c*(s*v-l*m)+p*(s*d-l*f),t[9]=-(n*(f*v-d*m)-c*(r*v-o*m)+p*(r*d-o*f)),t[10]=n*(s*v-l*m)-a*(r*v-o*m)+p*(r*l-o*s),t[11]=-(n*(s*d-l*f)-a*(r*d-o*f)+c*(r*l-o*s)),t[12]=-(a*(f*g-h*m)-c*(s*g-u*m)+p*(s*h-u*f)),t[13]=n*(f*g-h*m)-c*(r*g-i*m)+p*(r*h-i*f),t[14]=-(n*(s*g-u*m)-a*(r*g-i*m)+p*(r*u-i*s)),t[15]=n*(s*h-u*f)-a*(r*h-i*f)+c*(r*u-i*s),t},copy:q,determinant:function(t){const e=t[0],n=t[1],r=t[2],i=t[3],o=t[4],a=t[5],s=t[6],u=t[7],l=t[8],c=t[9],f=t[10],h=t[11],d=t[12],p=t[13],m=t[14],g=t[15];return(e*a-n*o)*(f*g-h*m)-(e*s-r*o)*(c*g-h*p)+(e*u-i*o)*(c*m-f*p)+(n*s-r*a)*(l*g-h*d)-(n*u-i*a)*(l*m-f*d)+(r*u-i*s)*(l*p-c*d)},equals:function(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],u=t[6],l=t[7],c=t[8],f=t[9],h=t[10],d=t[11],p=t[12],m=t[13],g=t[14],v=t[15],w=e[0],y=e[1],b=e[2],M=e[3],x=e[4],k=e[5],T=e[6],E=e[7],S=e[8],_=e[9],F=e[10],A=e[11],I=e[12],O=e[13],j=e[14],P=e[15],N=$();return Math.abs(n-w)<=N*Math.max(1,Math.abs(n),Math.abs(w))&&Math.abs(r-y)<=N*Math.max(1,Math.abs(r),Math.abs(y))&&Math.abs(i-b)<=N*Math.max(1,Math.abs(i),Math.abs(b))&&Math.abs(o-M)<=N*Math.max(1,Math.abs(o),Math.abs(M))&&Math.abs(a-x)<=N*Math.max(1,Math.abs(a),Math.abs(x))&&Math.abs(s-k)<=N*Math.max(1,Math.abs(s),Math.abs(k))&&Math.abs(u-T)<=N*Math.max(1,Math.abs(u),Math.abs(T))&&Math.abs(l-E)<=N*Math.max(1,Math.abs(l),Math.abs(E))&&Math.abs(c-S)<=N*Math.max(1,Math.abs(c),Math.abs(S))&&Math.abs(f-_)<=N*Math.max(1,Math.abs(f),Math.abs(_))&&Math.abs(h-F)<=N*Math.max(1,Math.abs(h),Math.abs(F))&&Math.abs(d-A)<=N*Math.max(1,Math.abs(d),Math.abs(A))&&Math.abs(p-I)<=N*Math.max(1,Math.abs(p),Math.abs(I))&&Math.abs(m-O)<=N*Math.max(1,Math.abs(m),Math.abs(O))&&Math.abs(g-j)<=N*Math.max(1,Math.abs(g),Math.abs(j))&&Math.abs(v-P)<=N*Math.max(1,Math.abs(v),Math.abs(P))},exactEquals:function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,e){const n=e[0],r=e[1],i=e[2],o=e[3],a=n+n,s=r+r,u=i+i,l=n*a,c=r*a,f=r*s,h=i*a,d=i*s,p=i*u,m=o*a,g=o*s,v=o*u;return t[0]=1-f-p,t[1]=c+v,t[2]=h-g,t[3]=0,t[4]=c-v,t[5]=1-l-p,t[6]=d+m,t[7]=0,t[8]=h+g,t[9]=d-m,t[10]=1-l-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,e){const n=L,r=-e[0],i=-e[1],o=-e[2],a=e[3],s=e[4],u=e[5],l=e[6],c=e[7],f=r*r+i*i+o*o+a*a;return f>0?(n[0]=2*(s*a+c*r+u*o-l*i)/f,n[1]=2*(u*a+c*i+l*r-s*o)/f,n[2]=2*(l*a+c*o+s*i-u*r)/f):(n[0]=2*(s*a+c*r+u*o-l*i),n[1]=2*(u*a+c*i+l*r-s*o),n[2]=2*(l*a+c*o+s*i-u*r)),J(t,e,n),t},fromRotation:function(t,e,n){if(0===e)return D(t);let r=n[0],i=n[1],o=n[2],a=Math.sqrt(r*r+i*i+o*o);if(a<=$())return null;a=1/a,r*=a,i*=a,o*=a;const s=Math.sin(e),u=Math.cos(e),l=1-u;return t[0]=r*r*l+u,t[1]=i*r*l+o*s,t[2]=o*r*l-i*s,t[3]=0,t[4]=r*i*l-o*s,t[5]=i*i*l+u,t[6]=o*i*l+r*s,t[7]=0,t[8]=r*o*l+i*s,t[9]=i*o*l-r*s,t[10]=o*o*l+u,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromRotationTranslation:J,fromRotationTranslationScale:function(t,e,n,r){const i=e[0],o=e[1],a=e[2],s=e[3],u=i+i,l=o+o,c=a+a,f=i*u,h=i*l,d=i*c,p=o*l,m=o*c,g=a*c,v=s*u,w=s*l,y=s*c,b=r[0],M=r[1],x=r[2];return t[0]=(1-(p+g))*b,t[1]=(h+y)*b,t[2]=(d-w)*b,t[3]=0,t[4]=(h-y)*M,t[5]=(1-(f+g))*M,t[6]=(m+v)*M,t[7]=0,t[8]=(d+w)*x,t[9]=(m-v)*x,t[10]=(1-(f+p))*x,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t},fromRotationTranslationScaleOrigin:function(t,e,n,r,i){const o=e[0],a=e[1],s=e[2],u=e[3],l=o+o,c=a+a,f=s+s,h=o*l,d=o*c,p=o*f,m=a*c,g=a*f,v=s*f,w=u*l,y=u*c,b=u*f,M=r[0],x=r[1],k=r[2],T=i[0],E=i[1],S=i[2],_=(1-(m+v))*M,F=(d+b)*M,A=(p-y)*M,I=(d-b)*x,O=(1-(h+v))*x,j=(g+w)*x,P=(p+y)*k,$=(g-w)*k,N=(1-(h+m))*k;return t[0]=_,t[1]=F,t[2]=A,t[3]=0,t[4]=I,t[5]=O,t[6]=j,t[7]=0,t[8]=P,t[9]=$,t[10]=N,t[11]=0,t[12]=n[0]+T-(_*T+I*E+P*S),t[13]=n[1]+E-(F*T+O*E+$*S),t[14]=n[2]+S-(A*T+j*E+N*S),t[15]=1,t},fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:function(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t},fromXRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=n,t[7]=0,t[8]=0,t[9]=-n,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromYRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=0,t[2]=-n,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=n,t[9]=0,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=0,t[4]=-n,t[5]=r,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},frustum:function(t,e,n,r,i,o,a){const s=1/(n-e),u=1/(i-r),l=1/(o-a);return t[0]=2*o*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*o*u,t[6]=0,t[7]=0,t[8]=(n+e)*s,t[9]=(i+r)*u,t[10]=(a+o)*l,t[11]=-1,t[12]=0,t[13]=0,t[14]=a*o*2*l,t[15]=0,t},getRotation:function(t,e){const n=e[0]+e[5]+e[10];let r=0;return n>0?(r=2*Math.sqrt(n+1),t[3]=.25*r,t[0]=(e[6]-e[9])/r,t[1]=(e[8]-e[2])/r,t[2]=(e[1]-e[4])/r):e[0]>e[5]&&e[0]>e[10]?(r=2*Math.sqrt(1+e[0]-e[5]-e[10]),t[3]=(e[6]-e[9])/r,t[0]=.25*r,t[1]=(e[1]+e[4])/r,t[2]=(e[8]+e[2])/r):e[5]>e[10]?(r=2*Math.sqrt(1+e[5]-e[0]-e[10]),t[3]=(e[8]-e[2])/r,t[0]=(e[1]+e[4])/r,t[1]=.25*r,t[2]=(e[6]+e[9])/r):(r=2*Math.sqrt(1+e[10]-e[0]-e[5]),t[3]=(e[1]-e[4])/r,t[0]=(e[8]+e[2])/r,t[1]=(e[6]+e[9])/r,t[2]=.25*r),t},getScaling:function(t,e){const n=e[0],r=e[1],i=e[2],o=e[4],a=e[5],s=e[6],u=e[8],l=e[9],c=e[10];return t[0]=Math.sqrt(n*n+r*r+i*i),t[1]=Math.sqrt(o*o+a*a+s*s),t[2]=Math.sqrt(u*u+l*l+c*c),t},getTranslation:function(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t},hasIdentityRotation:function(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[8]&&0===t[9]&&1===t[10]},identity:D,invert:V,invertOrIdentity:function(t,e){return V(t,e)||D(t),t},isOrthoNormal:function(t){const e=$(),n=t[0],r=t[1],i=t[2],o=t[4],a=t[5],s=t[6],u=t[8],l=t[9],c=t[10];return Math.abs(1-(n*n+o*o+u*u))<=e&&Math.abs(1-(r*r+a*a+l*l))<=e&&Math.abs(1-(i*i+s*s+c*c))<=e},lookAt:function(t,e,n,r){const i=e[0],o=e[1],a=e[2];let s=i-n[0],u=o-n[1],l=a-n[2];const c=$();if(Math.abs(s)<c&&Math.abs(u)<c&&Math.abs(l)<c)return void D(t);let f=1/Math.sqrt(s*s+u*u+l*l);s*=f,u*=f,l*=f;const h=r[0],d=r[1],p=r[2];let m=d*l-p*u,g=p*s-h*l,v=h*u-d*s;f=Math.sqrt(m*m+g*g+v*v),f?(f=1/f,m*=f,g*=f,v*=f):(m=0,g=0,v=0);let w=u*v-l*g,y=l*m-s*v,b=s*g-u*m;f=Math.sqrt(w*w+y*y+b*b),f?(f=1/f,w*=f,y*=f,b*=f):(w=0,y=0,b=0),t[0]=m,t[1]=w,t[2]=s,t[3]=0,t[4]=g,t[5]=y,t[6]=u,t[7]=0,t[8]=v,t[9]=b,t[10]=l,t[11]=0,t[12]=-(m*i+g*o+v*a),t[13]=-(w*i+y*o+b*a),t[14]=-(s*i+u*o+l*a),t[15]=1},mul:W,multiply:W,multiplyScalar:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t[9]=e[9]*n,t[10]=e[10]*n,t[11]=e[11]*n,t[12]=e[12]*n,t[13]=e[13]*n,t[14]=e[14]*n,t[15]=e[15]*n,t},multiplyScalarAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t[9]=e[9]+n[9]*r,t[10]=e[10]+n[10]*r,t[11]=e[11]+n[11]*r,t[12]=e[12]+n[12]*r,t[13]=e[13]+n[13]*r,t[14]=e[14]+n[14]*r,t[15]=e[15]+n[15]*r,t},ortho:function(t,e,n,r,i,o,a){const s=1/(e-n),u=1/(r-i),l=1/(o-a);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*u,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*l,t[11]=0,t[12]=(e+n)*s,t[13]=(i+r)*u,t[14]=(a+o)*l,t[15]=1,t},perspective:function(t,e,n,r,i){const o=1/Math.tan(e/2);let a;return t[0]=o/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(a=1/(r-i),t[10]=(i+r)*a,t[14]=2*i*r*a):(t[10]=-1,t[14]=-2*r),t},perspectiveFromFieldOfView:function(t,e,n,r){const i=Math.tan(e.upDegrees*Math.PI/180),o=Math.tan(e.downDegrees*Math.PI/180),a=Math.tan(e.leftDegrees*Math.PI/180),s=Math.tan(e.rightDegrees*Math.PI/180),u=2/(a+s),l=2/(i+o);return t[0]=u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=l,t[6]=0,t[7]=0,t[8]=-(a-s)*u*.5,t[9]=(i-o)*l*.5,t[10]=r/(n-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*n/(n-r),t[15]=0,t},rotate:function(t,e,n,r){let i=r[0],o=r[1],a=r[2],s=Math.sqrt(i*i+o*o+a*a);if(s<=$())return void q(t,e);s=1/s,i*=s,o*=s,a*=s;const u=Math.sin(n),l=Math.cos(n),c=1-l,f=e[0],h=e[1],d=e[2],p=e[3],m=e[4],g=e[5],v=e[6],w=e[7],y=e[8],b=e[9],M=e[10],x=e[11],k=i*i*c+l,T=o*i*c+a*u,E=a*i*c-o*u,S=i*o*c-a*u,_=o*o*c+l,F=a*o*c+i*u,A=i*a*c+o*u,I=o*a*c-i*u,O=a*a*c+l;t[0]=f*k+m*T+y*E,t[1]=h*k+g*T+b*E,t[2]=d*k+v*T+M*E,t[3]=p*k+w*T+x*E,t[4]=f*S+m*_+y*F,t[5]=h*S+g*_+b*F,t[6]=d*S+v*_+M*F,t[7]=p*S+w*_+x*F,t[8]=f*A+m*I+y*O,t[9]=h*A+g*I+b*O,t[10]=d*A+v*I+M*O,t[11]=p*A+w*I+x*O,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15])},rotateX:function(t,e,n){const r=Math.sin(n),i=Math.cos(n),o=e[4],a=e[5],s=e[6],u=e[7],l=e[8],c=e[9],f=e[10],h=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=o*i+l*r,t[5]=a*i+c*r,t[6]=s*i+f*r,t[7]=u*i+h*r,t[8]=l*i-o*r,t[9]=c*i-a*r,t[10]=f*i-s*r,t[11]=h*i-u*r,t},rotateY:function(t,e,n){const r=Math.sin(n),i=Math.cos(n),o=e[0],a=e[1],s=e[2],u=e[3],l=e[8],c=e[9],f=e[10],h=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=o*i-l*r,t[1]=a*i-c*r,t[2]=s*i-f*r,t[3]=u*i-h*r,t[8]=o*r+l*i,t[9]=a*r+c*i,t[10]=s*r+f*i,t[11]=u*r+h*i,t},rotateZ:function(t,e,n){const r=Math.sin(n),i=Math.cos(n),o=e[0],a=e[1],s=e[2],u=e[3],l=e[4],c=e[5],f=e[6],h=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=o*i+l*r,t[1]=a*i+c*r,t[2]=s*i+f*r,t[3]=u*i+h*r,t[4]=l*i-o*r,t[5]=c*i-a*r,t[6]=f*i-s*r,t[7]=h*i-u*r,t},scale:function(t,e,n){const r=n[0],i=n[1],o=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*o,t[9]=e[9]*o,t[10]=e[10]*o,t[11]=e[11]*o,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},set:U,str:function(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"},sub:B,subtract:B,targetTo:function(t,e,n,r){const i=e[0],o=e[1],a=e[2],s=r[0],u=r[1],l=r[2];let c=i-n[0],f=o-n[1],h=a-n[2],d=c*c+f*f+h*h;d>0&&(d=1/Math.sqrt(d),c*=d,f*=d,h*=d);let p=u*h-l*f,m=l*c-s*h,g=s*f-u*c;return d=p*p+m*m+g*g,d>0&&(d=1/Math.sqrt(d),p*=d,m*=d,g*=d),t[0]=p,t[1]=m,t[2]=g,t[3]=0,t[4]=f*g-h*m,t[5]=h*p-c*g,t[6]=c*m-f*p,t[7]=0,t[8]=c,t[9]=f,t[10]=h,t[11]=0,t[12]=i,t[13]=o,t[14]=a,t[15]=1,t},translate:function(t,e,n){const r=n[0],i=n[1],o=n[2];if(e===t)t[12]=e[0]*r+e[4]*i+e[8]*o+e[12],t[13]=e[1]*r+e[5]*i+e[9]*o+e[13],t[14]=e[2]*r+e[6]*i+e[10]*o+e[14],t[15]=e[3]*r+e[7]*i+e[11]*o+e[15];else{const n=e[0],a=e[1],s=e[2],u=e[3],l=e[4],c=e[5],f=e[6],h=e[7],d=e[8],p=e[9],m=e[10],g=e[11];t[0]=n,t[1]=a,t[2]=s,t[3]=u,t[4]=l,t[5]=c,t[6]=f,t[7]=h,t[8]=d,t[9]=p,t[10]=m,t[11]=g,t[12]=n*r+l*i+d*o+e[12],t[13]=a*r+c*i+p*o+e[13],t[14]=s*r+f*i+m*o+e[14],t[15]=u*r+h*i+g*o+e[15]}return t},transpose:z},Symbol.toStringTag,{value:"Module"}));class Y{constructor(t,e,n){this.strength=t,this.radius=e,this.threshold=n,this.type="bloom"}interpolate(t,e,n){this.strength=Q(t.strength,e.strength,n),this.radius=Q(t.radius,e.radius,n),this.threshold=Q(t.threshold,e.threshold,n)}clone(){return new Y(this.strength,this.radius,this.threshold)}toJSON(){return{type:"bloom",radius:tt(this.radius),strength:this.strength,threshold:this.threshold}}}class Z{constructor(t){this.radius=t,this.type="blur"}interpolate(t,e,n){this.radius=Math.round(Q(t.radius,e.radius,n))}clone(){return new Z(this.radius)}toJSON(){return{type:"blur",radius:tt(this.radius)}}}class X{constructor(t,e){this.type=t,this.amount=e,"invert"!==this.type&&"grayscale"!==this.type&&"sepia"!==this.type||(this.amount=Math.min(this.amount,1))}get colorMatrix(){return this._colorMatrix||this._updateMatrix(),this._colorMatrix}interpolate(t,e,n){this.amount=Q(t.amount,e.amount,n),this._updateMatrix()}clone(){return new X(this.type,this.amount)}toJSON(){return{type:this.type,amount:this.amount}}_updateMatrix(){const t=this._colorMatrix||x();switch(this.type){case"brightness":this._colorMatrix=((t,e)=>{const n=U(t,e,0,0,0,0,e,0,0,0,0,e,0,0,0,0,1);return z(n,n)})(t,this.amount);break;case"contrast":this._colorMatrix=((t,e)=>{const n=U(t,e,0,0,.5-.5*e,0,e,0,.5-.5*e,0,0,e,.5-.5*e,0,0,0,1);return z(n,n)})(t,this.amount);break;case"grayscale":this._colorMatrix=(t=>{const e=1-this.amount,n=U(t,.2126+.7874*e,.7152-.7152*e,.0722-.0722*e,0,.2126-.2126*e,.7152+.2848*e,.0722-.0722*e,0,.2126-.2126*e,.7152-.7152*e,.0722+.9278*e,0,0,0,0,1);return z(n,n)})(t);break;case"invert":this._colorMatrix=((t,e)=>{const n=1-2*e,r=U(t,n,0,0,e,0,n,0,e,0,0,n,e,0,0,0,1);return z(r,r)})(t,this.amount);break;case"saturate":this._colorMatrix=((t,e)=>{const n=U(t,.213+.787*e,.715-.715*e,.072-.072*e,0,.213-.213*e,.715+.285*e,.072-.072*e,0,.213-.213*e,.715-.715*e,.072+.928*e,0,0,0,0,1);return z(n,n)})(t,this.amount);break;case"sepia":this._colorMatrix=(t=>{const e=1-this.amount,n=U(t,.393+.607*e,.769-.769*e,.189-.189*e,0,.349-.349*e,.686+.314*e,.168-.168*e,0,.272-.272*e,.534-.534*e,.131+.869*e,0,0,0,0,1);return z(n,n)})(t)}}}class G{constructor(t,e,n,r){this.offsetX=t,this.offsetY=e,this.blurRadius=n,this.color=r,this.type="drop-shadow"}interpolate(t,e,n){this.offsetX=Q(t.offsetX,e.offsetX,n),this.offsetY=Q(t.offsetY,e.offsetY,n),this.blurRadius=Q(t.blurRadius,e.blurRadius,n),this.color[0]=Math.round(Q(t.color[0],e.color[0],n)),this.color[1]=Math.round(Q(t.color[1],e.color[1],n)),this.color[2]=Math.round(Q(t.color[2],e.color[2],n)),this.color[3]=Q(t.color[3],e.color[3],n)}clone(){return new G(this.offsetX,this.offsetY,this.blurRadius,[...this.color])}toJSON(){const t=[...this.color];return t[3]*=255,{type:"drop-shadow",xoffset:tt(this.offsetX),yoffset:tt(this.offsetY),blurRadius:tt(this.blurRadius),color:t}}}class H{constructor(t){this.angle=t,this.type="hue-rotate"}get colorMatrix(){return this._colorMatrix||this._updateMatrix(),this._colorMatrix}interpolate(t,e,n){this.angle=Q(t.angle,e.angle,n),this._updateMatrix()}clone(){return new H(this.angle)}toJSON(){return{type:"hue-rotate",angle:this.angle}}_updateMatrix(){const t=this._colorMatrix||x();this._colorMatrix=((t,e)=>{const n=Math.sin(e*Math.PI/180),r=Math.cos(e*Math.PI/180),i=U(t,.213+.787*r-.213*n,.715-.715*r-.715*n,.072-.072*r+.928*n,0,.213-.213*r+.143*n,.715+.285*r+.14*n,.072-.072*r-.283*n,0,.213-.213*r-.787*n,.715-.715*r+.715*n,.072+.928*r+.072*n,0,0,0,0,1);return z(i,i)})(t,this.angle)}}class K{constructor(t){this.amount=t,this.type="opacity",this.amount=Math.min(this.amount,1)}interpolate(t,e,n){this.amount=Q(t.amount,e.amount,n)}clone(){return new K(this.amount)}toJSON(){return{type:"opacity",amount:this.amount}}}function Q(t,e,n){return t+(e-t)*n}function tt(t){return Math.round(1e3*((e=t)?72*e/96:0))/1e3;var e}function et(t){switch(t.type){case"grayscale":case"sepia":case"invert":return new X(t.type,0);case"saturate":case"brightness":case"contrast":return new X(t.type,1);case"opacity":return new K(1);case"hue-rotate":return new H(0);case"blur":return new Z(0);case"drop-shadow":return new G(0,0,0,[...b("transparent")]);case"bloom":return new Y(0,0,1)}}function nt(t,e){const n=t.length>e.length?t:e;return(t.length>e.length?e:t).every(((t,e)=>t.type===n[e].type))}function rt(t,e){const n=t.length>e.length?t:e,r=t.length>e.length?e:t;for(let t=r.length;t<n.length;t++)r.push(et(n[t]))}function it(t,e,n,r){var i=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(i,it.prototype),i.expected=e,i.found=n,i.location=r,i.name="SyntaxError",i}function ot(t,e,n){return n=n||" ",t.length>e?t:t+(n+=n.repeat(e-=t.length)).slice(0,e)}function at(t){if(!t||0===t.length)return null;if("string"==typeof t){const e=st(t);return e&&0!==e.length?e:null}const e=t.map((t=>{if(!Number.isFinite(t.scale)||t.scale<=0)throw new w("effect:invalid-scale","scale must be finite and greater than 0",{stop:t});return{scale:t.scale,effects:st(t.value)}}));e.sort(((t,e)=>e.effects.length-t.effects.length));for(let t=0;t<e.length-1;t++){if(!nt(e[t].effects,e[t+1].effects))throw new w("effect:interpolation-impossible","Cannot interpolate by scale between 2 lists of mixed effects",{a:e[t].effects,b:e[t+1].effects});rt(e[t].effects,e[t+1].effects)}return e.sort(((t,e)=>e.scale-t.scale)),e}function st(t){let e;if(!t)return[];try{e=function(t,e){var n,r={},i=(e=void 0!==e?e:{}).grammarSource,o={start:Jt},a=Jt,s="none",u=")",l=",",c="(",f="%",h="px",d="cm",p="mm",m="in",g="pt",v="pc",w="deg",y="rad",b="grad",M="turn",x="#",k=".",T="e",E=/^[ \t\n\r]/,S=/^[a-z\-]/,_=/^[0-9a-fA-F]/,F=/^[+\-]/,A=/^[0-9]/,I=zt("none"),O=Ut("none",!1),j=Ut(")",!1),P=Ut(",",!1),$=zt("whitespace"),N=Dt([" ","\t","\n","\r"],!1,!1),C=zt("function"),R=Ut("(",!1),q=zt("identifier"),U=Dt([["a","z"],"-"],!1,!1),D=zt("percentage"),z=Ut("%",!1),V=zt("length"),W=Ut("px",!1),J=Ut("cm",!1),L=Ut("mm",!1),B=Ut("in",!1),Y=Ut("pt",!1),Z=Ut("pc",!1),X=zt("angle"),G=Ut("deg",!1),H=Ut("rad",!1),K=Ut("grad",!1),Q=Ut("turn",!1),tt=zt("number"),et=zt("color"),nt=Ut("#",!1),rt=Dt([["0","9"],["a","f"],["A","F"]],!1,!1),ot=Dt(["+","-"],!1,!1),at=Dt([["0","9"]],!1,!1),st=Ut(".",!1),ut=Ut("e",!1),lt=function(){return[]},ct=function(t,e){return{type:"function",name:t,parameters:e||[]}},ft=function(t,e){return e.length>0?function(t,e){return[t].concat(function(t){return t.map((function(t){return t[3]}))}(e))}(t,e):[t]},ht=function(t){return{type:"quantity",value:t.value,unit:t.unit}},dt=function(t){return{type:"color",colorType:t.type,value:t.value}},pt=function(t){return t},mt=function(){return qt()},gt=function(t){return{value:t,unit:"%"}},vt=function(t){return{value:t,unit:"px"}},wt=function(t){return{value:t,unit:"cm"}},yt=function(t){return{value:t,unit:"mm"}},bt=function(t){return{value:t,unit:"in"}},Mt=function(t){return{value:t,unit:"pt"}},xt=function(t){return{value:t,unit:"pc"}},kt=function(t){return{value:t,unit:"deg"}},Tt=function(t){return{value:t,unit:"rad"}},Et=function(t){return{value:t,unit:"grad"}},St=function(t){return{value:t,unit:"turn"}},_t=function(t){return{value:t,unit:null}},Ft=function(){return{type:"hex",value:qt()}},At=function(t){return{type:"function",value:t}},It=function(){return{type:"named",value:qt()}},Ot=function(){return parseFloat(qt())},jt=0|e.peg$currPos,Pt=jt,$t=[{line:1,column:1}],Nt=jt,Ct=e.peg$maxFailExpected||[],Rt=0|e.peg$silentFails;if(e.startRule){if(!(e.startRule in o))throw new Error("Can't start parsing from rule \""+e.startRule+'".');a=o[e.startRule]}function qt(){return t.substring(Pt,jt)}function Ut(t,e){return{type:"literal",text:t,ignoreCase:e}}function Dt(t,e,n){return{type:"class",parts:t,inverted:e,ignoreCase:n}}function zt(t){return{type:"other",description:t}}function Vt(e){var n,r=$t[e];if(r)return r;if(e>=$t.length)n=$t.length-1;else for(n=e;!$t[--n];);for(r={line:(r=$t[n]).line,column:r.column};n<e;)10===t.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return $t[e]=r,r}function Wt(t){jt<Nt||(jt>Nt&&(Nt=jt,Ct=[]),Ct.push(t))}function Jt(){var t;return(t=Lt())===r&&(t=function(){var t,e;if(t=[],(e=Bt())!==r)for(;e!==r;)t.push(e),e=Bt();else t=r;return t}()),t}function Lt(){var e,n;return Rt++,e=jt,Zt(),t.substr(jt,4)===s?(n=s,jt+=4):(n=r,0===Rt&&Wt(O)),n!==r?(Zt(),Pt=e,e=lt()):(jt=e,e=r),Rt--,e===r&&0===Rt&&Wt(I),e}function Bt(){var e,n,i,o;return e=jt,Zt(),(n=function(){var e,n,i;return Rt++,e=jt,(n=Xt())!==r?(40===t.charCodeAt(jt)?(i=c,jt++):(i=r,0===Rt&&Wt(R)),i!==r?(Pt=e,e=pt(n)):(jt=e,e=r)):(jt=e,e=r),Rt--,e===r&&(n=r,0===Rt&&Wt(C)),e}())!==r?(Zt(),(i=function(){var e,n,i,o,a,s,u,c;if(e=jt,(n=Yt())!==r){for(i=[],o=jt,a=Zt(),44===t.charCodeAt(jt)?(s=l,jt++):(s=r,0===Rt&&Wt(P)),s===r&&(s=null),u=Zt(),(c=Yt())!==r?o=a=[a,s,u,c]:(jt=o,o=r);o!==r;)i.push(o),o=jt,a=Zt(),44===t.charCodeAt(jt)?(s=l,jt++):(s=r,0===Rt&&Wt(P)),s===r&&(s=null),u=Zt(),(c=Yt())!==r?o=a=[a,s,u,c]:(jt=o,o=r);Pt=e,e=ft(n,i)}else jt=e,e=r;return e}())===r&&(i=null),Zt(),41===t.charCodeAt(jt)?(o=u,jt++):(o=r,0===Rt&&Wt(j)),o!==r?(Zt(),Pt=e,e=ct(n,i)):(jt=e,e=r)):(jt=e,e=r),e}function Yt(){var t,e;return t=jt,(e=Gt())===r&&(e=Ht())===r&&(e=Kt())===r&&(e=function(){var t,e;return Rt++,t=jt,Zt(),(e=te())!==r?(Pt=t,t=_t(e)):(jt=t,t=r),Rt--,t===r&&0===Rt&&Wt(tt),t}()),e!==r&&(Pt=t,e=ht(e)),(t=e)===r&&(t=jt,(e=Qt())!==r&&(Pt=t,e=dt(e)),t=e),t}function Zt(){var e,n;for(Rt++,e=[],n=t.charAt(jt),E.test(n)?jt++:(n=r,0===Rt&&Wt(N));n!==r;)e.push(n),n=t.charAt(jt),E.test(n)?jt++:(n=r,0===Rt&&Wt(N));return Rt--,n=r,0===Rt&&Wt($),e}function Xt(){var e,n,i;if(Rt++,e=jt,n=[],i=t.charAt(jt),S.test(i)?jt++:(i=r,0===Rt&&Wt(U)),i!==r)for(;i!==r;)n.push(i),i=t.charAt(jt),S.test(i)?jt++:(i=r,0===Rt&&Wt(U));else n=r;return n!==r&&(Pt=e,n=mt()),Rt--,(e=n)===r&&(n=r,0===Rt&&Wt(q)),e}function Gt(){var e,n,i;return Rt++,e=jt,Zt(),(n=te())!==r?(37===t.charCodeAt(jt)?(i=f,jt++):(i=r,0===Rt&&Wt(z)),i!==r?(Pt=e,e=gt(n)):(jt=e,e=r)):(jt=e,e=r),Rt--,e===r&&0===Rt&&Wt(D),e}function Ht(){var e,n,i;return Rt++,e=jt,Zt(),(n=te())!==r?(t.substr(jt,2)===h?(i=h,jt+=2):(i=r,0===Rt&&Wt(W)),i!==r?(Pt=e,e=vt(n)):(jt=e,e=r)):(jt=e,e=r),e===r&&(e=jt,Zt(),(n=te())!==r?(t.substr(jt,2)===d?(i=d,jt+=2):(i=r,0===Rt&&Wt(J)),i!==r?(Pt=e,e=wt(n)):(jt=e,e=r)):(jt=e,e=r),e===r&&(e=jt,Zt(),(n=te())!==r?(t.substr(jt,2)===p?(i=p,jt+=2):(i=r,0===Rt&&Wt(L)),i!==r?(Pt=e,e=yt(n)):(jt=e,e=r)):(jt=e,e=r),e===r&&(e=jt,Zt(),(n=te())!==r?(t.substr(jt,2)===m?(i=m,jt+=2):(i=r,0===Rt&&Wt(B)),i!==r?(Pt=e,e=bt(n)):(jt=e,e=r)):(jt=e,e=r),e===r&&(e=jt,Zt(),(n=te())!==r?(t.substr(jt,2)===g?(i=g,jt+=2):(i=r,0===Rt&&Wt(Y)),i!==r?(Pt=e,e=Mt(n)):(jt=e,e=r)):(jt=e,e=r),e===r&&(e=jt,Zt(),(n=te())!==r?(t.substr(jt,2)===v?(i=v,jt+=2):(i=r,0===Rt&&Wt(Z)),i!==r?(Pt=e,e=xt(n)):(jt=e,e=r)):(jt=e,e=r)))))),Rt--,e===r&&0===Rt&&Wt(V),e}function Kt(){var e,n,i;return Rt++,e=jt,(n=te())!==r?(t.substr(jt,3)===w?(i=w,jt+=3):(i=r,0===Rt&&Wt(G)),i!==r?(Pt=e,e=kt(n)):(jt=e,e=r)):(jt=e,e=r),e===r&&(e=jt,(n=te())!==r?(t.substr(jt,3)===y?(i=y,jt+=3):(i=r,0===Rt&&Wt(H)),i!==r?(Pt=e,e=Tt(n)):(jt=e,e=r)):(jt=e,e=r),e===r&&(e=jt,(n=te())!==r?(t.substr(jt,4)===b?(i=b,jt+=4):(i=r,0===Rt&&Wt(K)),i!==r?(Pt=e,e=Et(n)):(jt=e,e=r)):(jt=e,e=r),e===r&&(e=jt,(n=te())!==r?(t.substr(jt,4)===M?(i=M,jt+=4):(i=r,0===Rt&&Wt(Q)),i!==r?(Pt=e,e=St(n)):(jt=e,e=r)):(jt=e,e=r)))),Rt--,e===r&&(n=r,0===Rt&&Wt(X)),e}function Qt(){var e,n,i,o;if(Rt++,e=jt,35===t.charCodeAt(jt)?(n=x,jt++):(n=r,0===Rt&&Wt(nt)),n!==r){if(i=[],o=t.charAt(jt),_.test(o)?jt++:(o=r,0===Rt&&Wt(rt)),o!==r)for(;o!==r;)i.push(o),o=t.charAt(jt),_.test(o)?jt++:(o=r,0===Rt&&Wt(rt));else i=r;i!==r?(Pt=e,e=Ft()):(jt=e,e=r)}else jt=e,e=r;return e===r&&(e=jt,(n=Bt())!==r&&(Pt=e,n=At(n)),(e=n)===r&&(e=jt,(n=Xt())!==r&&(Pt=e,n=It()),e=n)),Rt--,e===r&&(n=r,0===Rt&&Wt(et)),e}function te(){var e,n,i,o,a,s,u,l;for(e=jt,n=t.charAt(jt),F.test(n)?jt++:(n=r,0===Rt&&Wt(ot)),n===r&&(n=null),i=jt,o=[],a=t.charAt(jt),A.test(a)?jt++:(a=r,0===Rt&&Wt(at));a!==r;)o.push(a),a=t.charAt(jt),A.test(a)?jt++:(a=r,0===Rt&&Wt(at));if(46===t.charCodeAt(jt)?(a=k,jt++):(a=r,0===Rt&&Wt(st)),a!==r){if(s=[],u=t.charAt(jt),A.test(u)?jt++:(u=r,0===Rt&&Wt(at)),u!==r)for(;u!==r;)s.push(u),u=t.charAt(jt),A.test(u)?jt++:(u=r,0===Rt&&Wt(at));else s=r;s!==r?i=o=[o,a,s]:(jt=i,i=r)}else jt=i,i=r;if(i===r)if(i=[],o=t.charAt(jt),A.test(o)?jt++:(o=r,0===Rt&&Wt(at)),o!==r)for(;o!==r;)i.push(o),o=t.charAt(jt),A.test(o)?jt++:(o=r,0===Rt&&Wt(at));else i=r;if(i!==r){if(o=jt,101===t.charCodeAt(jt)?(a=T,jt++):(a=r,0===Rt&&Wt(ut)),a!==r){if(s=t.charAt(jt),F.test(s)?jt++:(s=r,0===Rt&&Wt(ot)),s===r&&(s=null),u=[],l=t.charAt(jt),A.test(l)?jt++:(l=r,0===Rt&&Wt(at)),l!==r)for(;l!==r;)u.push(l),l=t.charAt(jt),A.test(l)?jt++:(l=r,0===Rt&&Wt(at));else u=r;u!==r?o=a=[a,s,u]:(jt=o,o=r)}else jt=o,o=r;o===r&&(o=null),Pt=e,e=Ot()}else jt=e,e=r;return e}if(n=a(),e.peg$library)return{peg$result:n,peg$currPos:jt,peg$FAILED:r,peg$maxFailExpected:Ct,peg$maxFailPos:Nt};if(n!==r&&jt===t.length)return n;throw n!==r&&jt<t.length&&Wt({type:"end"}),function(t,e,n){return new it(it.buildMessage(t,e),t,e,n)}(Ct,Nt<t.length?t.charAt(Nt):null,function(t,e){var n=Vt(t),r=Vt(e);return{source:i,start:{offset:t,line:n.line,column:n.column},end:{offset:e,line:r.line,column:r.column}}}(Nt,Nt<t.length?Nt+1:Nt))}(t)}catch(e){throw new w("effect:invalid-syntax","Invalid effect syntax",{value:t,error:e})}return e.map((t=>function(t){try{switch(t.name){case"grayscale":case"sepia":case"saturate":case"invert":case"brightness":case"contrast":return function(t){let e=1;return ut(t.parameters,1),1===t.parameters.length&&(e=dt(t.parameters[0])),new X(t.name,e)}(t);case"opacity":return function(t){let e=1;return ut(t.parameters,1),1===t.parameters.length&&(e=dt(t.parameters[0])),new K(e)}(t);case"hue-rotate":return function(t){let e=0;return ut(t.parameters,1),1===t.parameters.length&&(e=function(t){return function(t){if("quantity"!==t.type||!(0===t.value&&null===t.unit||t.unit&&null!=ft[t.unit]))throw new w("effect:type-error",`Expected <angle>, Actual: ${lt(t)}`,{term:t})}(t),t.value*ft[t.unit]||0}(t.parameters[0])),new H(e)}(t);case"blur":return function(t){let e=0;return ut(t.parameters,1),1===t.parameters.length&&(e=pt(t.parameters[0]),ct(e,t.parameters[0])),new Z(e)}(t);case"drop-shadow":return function(t){const e=[];let n=null;for(const r of t.parameters)if("color"===r.type){if(e.length&&Object.freeze(e),n)throw new w("effect:type-error","Accepts only one color",{});n=mt(r)}else{const t=pt(r);if(Object.isFrozen(e))throw new w("effect:type-error","<length> parameters not consecutive",{lengths:e});e.push(t),3===e.length&&ct(t,r)}if(e.length<2||e.length>3)throw new w("effect:type-error",`Expected <length>{2,3}, Actual: <length>{${e.length}}`,{lengths:e});return new G(e[0],e[1],e[2]||0,n||gt("black"))}(t);case"bloom":return function(t){let e=1,n=0,r=0;return ut(t.parameters,3),t.parameters[0]&&(e=dt(t.parameters[0])),t.parameters[1]&&(n=pt(t.parameters[1]),ct(n,t.parameters[1])),t.parameters[2]&&(r=dt(t.parameters[2])),new Y(e,n,r)}(t)}}catch(e){throw e.details.filter=t,e}throw new w("effect:unknown-effect",`Effect '${t.name}' is not supported`,{effect:t})}(t)))}function ut(t,e){if(t.length>e)throw new w("effect:type-error",`Function supports up to ${e} parameters, Actual: ${t.length}`,{parameters:t})}function lt(t){if("color"===t.type)return"<color>";if(t.unit){if(t.unit in ht)return"<length>";if(t.unit in ft)return"<angle>";if("%"===t.unit)return"<percentage>"}return"<double>"}function ct(t,e){if(t<0)throw new w("effect:type-error",`Negative values are not allowed, Actual: ${t}`,{term:e})}(function(t,e){function n(){this.constructor=t}n.prototype=e.prototype,t.prototype=new n})(it,Error),it.prototype.format=function(t){var e="Error: "+this.message;if(this.location){var n,r=null;for(n=0;n<t.length;n++)if(t[n].source===this.location.source){r=t[n].text.split(/\r\n|\n|\r/g);break}var i=this.location.start,o=this.location.source&&"function"==typeof this.location.source.offset?this.location.source.offset(i):i,a=this.location.source+":"+o.line+":"+o.column;if(r){var s=this.location.end,u=ot("",o.line.toString().length," "),l=r[i.line-1],c=(i.line===s.line?s.column:l.length+1)-i.column||1;e+="\n --\x3e "+a+"\n"+u+" |\n"+o.line+" | "+l+"\n"+u+" | "+ot("",i.column-1," ")+ot("",c,"^")}else e+="\n at "+a}return e},it.buildMessage=function(t,e){var n={literal:function(t){return'"'+i(t.text)+'"'},class:function(t){var e=t.parts.map((function(t){return Array.isArray(t)?o(t[0])+"-"+o(t[1]):o(t)}));return"["+(t.inverted?"^":"")+e.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(t){return t.description}};function r(t){return t.charCodeAt(0).toString(16).toUpperCase()}function i(t){return t.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(t){return"\\x0"+r(t)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(t){return"\\x"+r(t)}))}function o(t){return t.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(t){return"\\x0"+r(t)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(t){return"\\x"+r(t)}))}function a(t){return n[t.type](t)}return"Expected "+function(t){var e,n,r=t.map(a);if(r.sort(),r.length>0){for(e=1,n=1;e<r.length;e++)r[e-1]!==r[e]&&(r[n]=r[e],n++);r.length=n}switch(r.length){case 1:return r[0];case 2:return r[0]+" or "+r[1];default:return r.slice(0,-1).join(", ")+", or "+r[r.length-1]}}(t)+" but "+function(t){return t?'"'+i(t)+'"':"end of input"}(e)+" found."};const ft={deg:1,grad:.9,rad:180/Math.PI,turn:360},ht={px:1,cm:96/2.54,mm:96/2.54/10,in:96,pc:16,pt:96/72};function dt(t){!function(t){if("quantity"!==t.type||null!==t.unit&&"%"!==t.unit)throw new w("effect:type-error",`Expected <double> or <percentage>, Actual: ${lt(t)}`,{term:t})}(t);const e=t.value;return ct(e,t),"%"===t.unit?.01*e:e}function pt(t){return function(t){if("quantity"!==t.type||!(0===t.value&&null===t.unit||t.unit&&null!=ht[t.unit]))throw new w("effect:type-error",`Expected <length>, Actual: ${lt(t)}`,{term:t})}(t),t.value*ht[t.unit]||0}function mt(t){switch(t.colorType){case"hex":return function(t){const e=t.length>5,n=e?8:4,r=(1<<n)-1,i=e?1:17,o=e?9===t.length:5===t.length;let a=Number("0x"+t.slice(1));if(isNaN(a))return null;const s=[0,0,0,1];let u;return o&&(u=a&r,a>>=n,s[3]=i*u/255),u=a&r,a>>=n,s[2]=i*u,u=a&r,a>>=n,s[1]=i*u,u=a&r,a>>=n,s[0]=i*u,s}(t.value);case"named":return gt(t.value);case"function":return function(t){if(ut(t.parameters,4),vt.test(t.name))return[dt(t.parameters[0]),dt(t.parameters[1]),dt(t.parameters[2]),t.parameters[3]?dt(t.parameters[3]):1];if(wt.test(t.name))return function(t,e,n,r=1){const i=(t%360+360)%360/360,o=n<=.5?n*(e+1):n+e-n*e,a=2*n-o;return[Math.round(255*M(a,o,i+1/3)),Math.round(255*M(a,o,i)),Math.round(255*M(a,o,i-1/3)),r]}(function(t){return function(t){if("quantity"!==t.type||null!==t.unit)throw new w("effect:type-error",`Expected <double>, Actual: ${lt(t)}`,{term:t})}(t),ct(t.value,t),t.value}(t.parameters[0]),dt(t.parameters[1]),dt(t.parameters[2]),t.parameters[3]?dt(t.parameters[3]):1);throw new w("effect:syntax-error",`Invalid color function '${t.name}'`,{colorFunction:t})}(t.value)}}function gt(t){if(!function(t){return!!y[t]||!!y[t.toLowerCase()]}(t))throw new w("effect:unknown-color",`color '${t}' isn't valid`,{namedColor:t});return function(t){return[...b(t)]}(t)}const vt=/^rgba?/i,wt=/^hsla?/i;function yt(t){const e=at(t);return e?function(t){const e=t[0];return!!e&&"type"in e}(e)?e.map((t=>t.toJSON())):e.map((({scale:t,effects:e})=>({scale:t,value:e.map((t=>t.toJSON()))}))):null}function bt(t){if(!t||0===t.length)return null;if(function(t){const e=t[0];return!!e&&"scale"in e}(t)){const e=[];for(const n of t)e.push({scale:n.scale,value:Mt(n.value)});return e}return Mt(t)}function Mt(t){if(!t?.length)return"";const e=[];for(const n of t){let t=[];switch(n.type){case"grayscale":case"sepia":case"saturate":case"invert":case"brightness":case"contrast":case"opacity":t=[xt(n,"amount")];break;case"blur":t=[xt(n,"radius","pt")];break;case"hue-rotate":t=[xt(n,"angle","deg")];break;case"drop-shadow":t=[xt(n,"xoffset","pt"),xt(n,"yoffset","pt"),xt(n,"blurRadius","pt"),kt(n,"color")];break;case"bloom":t=[xt(n,"strength"),xt(n,"radius","pt"),xt(n,"threshold")]}const r=`${n.type}(${t.filter(Boolean).join(" ")})`;at(r),e.push(r)}return e.join(" ")}function xt(t,e,n){if(null==t[e])throw new w("effect:missing-parameter",`Missing parameter '${e}' in ${t.type} effect`,{effect:t});return n?t[e]+n:""+t[e]}function kt(t,e){if(null==t[e])throw new w("effect:missing-parameter",`Missing parameter '${e}' in ${t.type} effect`,{effect:t});const n=t[e];return`rgba(${n[0]||0}, ${n[1]||0}, ${n[2]||0}, ${n[3]/255||0})`}function Tt(t,e,n){const r=e?.layer;if(!t)return r?.effect?r.effect:r?.featureEffect?"includedEffect"===n?r.featureEffect.includedEffect:r.featureEffect.excludedEffect:null;const i=yt(t);let o=null;o=r.featureEffect?"includedEffect"===n?r.featureEffect.includedEffect:r.featureEffect.excludedEffect:r.effect;const a=o?yt(o):null;if(!a)return bt(i);let s=[...a];return i&&i.forEach((t=>{s.forEach((e=>{const{value:n}=e;if(n)n.forEach(((r,o)=>{r.type===t.type?n[o]=t:!e.value.find((t=>t.type===i[0].type))&&(e.value=[...e.value,...i])}));else{const n=!s.find((t=>t.type===e.type));!s.find((e=>e.type===t.type))&&(s=[...s,t]),n&&(s=[...s,e])}}))})),bt(s)}const Et="time-slider-watch",St=new class{constructor(){this.initializeModules()}async initializeModules(){try{const[t,e,n,r,i,a,s]=await o(["esri/core/Handles","esri/core/reactiveUtils","esri/widgets/TimeSlider","esri/time/TimeExtent","esri/time/TimeInterval","esri/layers/support/FeatureFilter","esri/layers/support/FeatureEffect"]);this.reactiveUtils=e,this.handles=new t,this.TimeSlider=n,this.TimeExtent=r,this.TimeInterval=i,this.FeatureFilter=a,this.FeatureEffect=s}catch(t){}}async init(t){var e,n;t&&(t.innerHTML=""),"playing"===(null===(n=null===(e=null==s?void 0:s.timeSlider)||void 0===e?void 0:e.viewModel)||void 0===n?void 0:n.state)&&s.timeSlider.stop();const{view:r,timeInfoConfigItems:i}=s;if(r)try{await r.when();const e=await this.getTimeLayerViews(r,i);return s.timeInfoItems=this.generateTimeInfoItems(e,i),this.initTimeSlider(t),this.setupFilterModeWatcher(),Promise.resolve()}catch(t){}}destroy(){var t,e;null===(t=this.handles)||void 0===t||t.removeAll(),this.handles=null,null===(e=s.timeSlider)||void 0===e||e.destroy()}async getTimeLayerViews(t,e){const{allLayers:n}=t.map,r=e.map((({id:t})=>{return e=t,n.find((({id:t})=>e===t));var e})).map((e=>t.whenLayerView(e)));return await Promise.all(r)}generateTimeInfoItems(t,e){return[...e].map((e=>{const n=t.find((({layer:t})=>t.id===e.id));return this.generateTimeInfoItem(n,e)}))}generateTimeInfoItem(t,{increments:e,rangeStart:n,rangeEnd:r,timeIntervalValue:i}){var o;const a=null==t?void 0:t.layer,s=null===(o=null==a?void 0:a.timeInfo)||void 0===o?void 0:o.fullTimeExtent;return{layerView:t,unit:e,timeIntervalValue:null!=i?i:1,rangeStart:new Date(n),rangeEnd:new Date(r),timeExtent:s,previousTimeExtent:null}}initTimeSlider(t){var e,n;const r=null===(e=null==s?void 0:s.timeInfoItems)||void 0===e?void 0:e[0];if(!r)return;const{TimeSlider:i}=this;s.selectedTimeInfoItem=r;const o=this.getTimeSliderConfig(t);s.timeSlider=new i(o),s.autoPlay&&s.timeSlider.play(),"2d"===(null===(n=s.view)||void 0===n?void 0:n.type)&&this.initialize2DView()}setupFilterModeWatcher(){u("filterMode",(t=>s.timeInfoItems.forEach((e=>{var n,r,i;const o=e.layerView;this.applyTimeExtent(o,(null===(r=null===(n=null==o?void 0:o.featureEffect)||void 0===n?void 0:n.filter)||void 0===r?void 0:r.timeExtent)||(null===(i=o.filter)||void 0===i?void 0:i.timeExtent),t)}))))}getTimeSliderConfig(t){var e;const[{timeExtent:n,rangeStart:r,rangeEnd:i,unit:o,timeIntervalValue:a}]=s.timeInfoItems,{TimeExtent:u,TimeInterval:l}=this;return Object.assign({container:t,fullTimeExtent:n,timeExtent:new u({start:r,end:i}),mode:"time-window",stops:{interval:new l({unit:o,value:a})},view:"3d"===(null===(e=s.view)||void 0===e?void 0:e.type)?s.view:null},s.timeSliderConfig)}initialize2DView(){s.timeInfoItems.forEach((t=>this.applyTimeExtent(t.layerView,new this.TimeExtent({start:t.rangeStart,end:t.rangeEnd})))),this.setupTimeExtentWatcher()}applyTimeExtent(t,e,n){var r;"effect"===(null===(r=s.filterMode)||void 0===r?void 0:r.type)?this.applyFeatureEffect(t,e,n):this.applyFeatureFilter(t,e)}applyFeatureEffect(t,e,n){t&&(t.filter&&t.set("filter",null),t.featureEffect&&!n?t.featureEffect.filter.timeExtent=e:this.handleUpdatedFeatureEffect(t,e))}handleUpdatedFeatureEffect(t,e){var n,r,i,o;const{FeatureEffect:a}=this;t.featureEffect=new a({filter:{timeExtent:e},includedEffect:Tt(null===(r=null===(n=s.filterMode)||void 0===n?void 0:n.effect)||void 0===r?void 0:r.includedEffect,t,"includedEffect"),excludedEffect:Tt(null===(o=null===(i=s.filterMode)||void 0===i?void 0:i.effect)||void 0===o?void 0:o.excludedEffect,t,"excludedEffect")})}applyFeatureFilter(t,e){t.featureEffect&&t.set("featureEffect",null),t.filter?t.filter.timeExtent=e:t.filter=new this.FeatureFilter({timeExtent:e})}setupTimeExtentWatcher(){var t,e,n,r;(null===(t=this.handles)||void 0===t?void 0:t.has(Et))&&(null===(e=this.handles)||void 0===e||e.remove(Et)),null===(n=this.handles)||void 0===n||n.add(null===(r=null==s?void 0:s.timeSlider)||void 0===r?void 0:r.watch("timeExtent",(t=>{var e;return this.applyTimeExtent(null===(e=s.selectedTimeInfoItem)||void 0===e?void 0:e.layerView,t)})),Et)}updateSelectedTimeInfoItem(t){s.timeSlider&&(s.selectedTimeInfoItem&&(s.selectedTimeInfoItem.previousTimeExtent=s.timeSlider.timeExtent),s.selectedTimeInfoItem=t,this.reconfigureTimeSlider(t),this.applyTimeExtent(t.layerView,s.timeSlider.timeExtent),this.setupTimeExtentWatcher())}reconfigureTimeSlider(t){s.timeSlider&&(s.timeSlider.fullTimeExtent=t.timeExtent,s.timeSlider.timeExtent=this.getTimeExtent(t),s.timeSlider.stops={interval:this.getTimeInterval(t)})}getTimeExtent({rangeStart:t,rangeEnd:e,previousTimeExtent:n}){const{TimeExtent:r}=this;return null!=n?n:new r({start:t,end:e})}getTimeInterval(t){var e,n,r,i,o;const{TimeInterval:a}=this;return new a({unit:null!==(e=t.unit)&&void 0!==e?e:null===(o=null===(i=null===(r=null===(n=t.layerView)||void 0===n?void 0:n.layer)||void 0===r?void 0:r.timeInfo)||void 0===i?void 0:i.interval)||void 0===o?void 0:o.unit,value:1})}getLabel(t){var e,n;return(null===(n=null===(e=null==t?void 0:t.layerView)||void 0===e?void 0:e.layer)||void 0===n?void 0:n.title)||""}},_t=class{constructor(e){t(this,e),this.timeSliderRef=void 0,this.timeInfoConfigItems=[],this.filterMode=void 0,this.view=void 0,this.timeSliderConfig=void 0,this.autoPlay=!1}async updateTimeInfoConfigItems(){s.timeInfoConfigItems=this.timeInfoConfigItems,await St.init(this.timeSliderRef)}async updateFilterMode(){s.filterMode=this.filterMode}async updateTimeSliderConfig(){s.timeSliderConfig=this.timeSliderConfig,await St.init(this.timeSliderRef)}async updateAutoPlay(){s.autoPlay=this.autoPlay,s.timeSlider&&(s.autoPlay?s.timeSlider.play():s.timeSlider.stop())}async componentWillLoad(){try{s.view=this.view,s.timeInfoConfigItems=this.timeInfoConfigItems,s.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(s.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(s.filterMode=this.filterMode),await a(this)}catch(t){}}async componentDidLoad(){try{await St.init(this.timeSliderRef)}catch(t){}finally{s.loading=!1}}disconnectedcallback(){St.destroy()}render(){return e(n,{key:"38a0569dba42d51846760bf75df36ee1c88d71b1"},this._renderBase())}_renderBase(){return e("div",{class:"instant-apps-time-filter"+("2d"!==this.view.type?" instant-apps-time-filter--3d":"")},this._renderLoader(),"2d"===this.view.type&&this._renderTopEl(),e("div",{key:"time-slider",ref:t=>this.timeSliderRef=t}))}_renderLoader(){var t,n;return s.loading&&e("div",null,e("div",{class:"instant-apps-time-filter__background"}),e("div",{class:"instant-apps-time-filter__loading-container"},e("calcite-loader",{scale:"m",label:null===(t=this.messages)||void 0===t?void 0:t.loading,text:null===(n=this.messages)||void 0===n?void 0:n.loading})))}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){var t,n,r;const i=null===(r=null===(n=null===(t=s.selectedTimeInfoItem)||void 0===t?void 0:t.layerView)||void 0===n?void 0:n.layer)||void 0===r?void 0:r.title;return e("span",{class:"instant-apps-time-filter__layer-title"},i)}_renderDropdown(){return s.selectedTimeInfoItem&&e("calcite-dropdown",null,this._renderDropdownButton(),this._renderDropdownItems())}_renderDropdownButton(){return e("calcite-button",{slot:"trigger",appearance:"transparent",iconEnd:"chevron-down",width:"full",alignment:"space-between"},St.getLabel(s.selectedTimeInfoItem))}_renderDropdownItems(){return s.timeInfoItems.map((t=>this._renderDropdownItem(t)))}_renderDropdownItem(t){var n,r,i,o,a;const u=null===(i=null===(r=null===(n=s.selectedTimeInfoItem)||void 0===n?void 0:n.layerView)||void 0===r?void 0:r.layer)||void 0===i?void 0:i.id,l=null===(a=null===(o=null==t?void 0:t.layerView)||void 0===o?void 0:o.layer)||void 0===a?void 0:a.id;return e("calcite-dropdown-item",{onCalciteDropdownItemSelect:()=>St.updateSelectedTimeInfoItem(t),selected:u===l},St.getLabel(t))}get el(){return r(this)}static get watchers(){return{timeInfoConfigItems:["updateTimeInfoConfigItems"],filterMode:["updateFilterMode"],timeSliderConfig:["updateTimeSliderConfig"],autoPlay:["updateAutoPlay"]}}};_t.style=".instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand:var(--calcite-ui-text-1);--calcite-ui-brand:var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}";export{_t as instant_apps_time_filter}