@esri/solutions-components 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1172) hide show
  1. package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
  2. package/dist/cjs/calcite-accordion-item.cjs.entry.js +5 -5
  3. package/dist/cjs/calcite-accordion.cjs.entry.js +2 -2
  4. package/dist/cjs/calcite-action-bar.cjs.entry.js +12 -12
  5. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  6. package/dist/cjs/calcite-avatar.cjs.entry.js +4 -4
  7. package/dist/cjs/calcite-block-section.cjs.entry.js +8 -8
  8. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  9. package/dist/cjs/calcite-card.cjs.entry.js +8 -8
  10. package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
  11. package/dist/cjs/calcite-chip-group.cjs.entry.js +7 -7
  12. package/dist/cjs/calcite-color-picker.cjs.entry.js +22 -22
  13. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +4 -4
  14. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  15. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  16. package/dist/cjs/calcite-inline-editable.cjs.entry.js +11 -11
  17. package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
  18. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  19. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +17 -17
  20. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +12 -12
  21. package/dist/cjs/calcite-label.cjs.entry.js +4 -4
  22. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  23. package/dist/cjs/calcite-list-item-group.cjs.entry.js +4 -4
  24. package/dist/cjs/calcite-menu-item.cjs.entry.js +8 -8
  25. package/dist/cjs/calcite-menu.cjs.entry.js +8 -8
  26. package/dist/cjs/calcite-meter.cjs.entry.js +8 -8
  27. package/dist/cjs/calcite-modal.cjs.entry.js +11 -17
  28. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
  29. package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
  30. package/dist/cjs/calcite-navigation.cjs.entry.js +4 -4
  31. package/dist/cjs/calcite-notice.cjs.entry.js +10 -10
  32. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  33. package/dist/cjs/calcite-pagination.cjs.entry.js +8 -201
  34. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +6 -6
  35. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +23 -23
  36. package/dist/cjs/calcite-pick-list.cjs.entry.js +10 -10
  37. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  38. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  39. package/dist/cjs/calcite-rating.cjs.entry.js +12 -14
  40. package/dist/cjs/calcite-scrim.cjs.entry.js +7 -7
  41. package/dist/cjs/calcite-sheet.cjs.entry.js +7 -7
  42. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +5 -5
  43. package/dist/cjs/calcite-sortable-list.cjs.entry.js +7 -7
  44. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  45. package/dist/cjs/calcite-stepper-item.cjs.entry.js +10 -10
  46. package/dist/cjs/calcite-stepper.cjs.entry.js +7 -7
  47. package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
  48. package/dist/cjs/calcite-table-row.cjs.entry.js +6 -6
  49. package/dist/cjs/calcite-table.cjs.entry.js +9 -9
  50. package/dist/cjs/calcite-text-area.cjs.entry.js +16 -15
  51. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
  52. package/dist/cjs/calcite-tile-select.cjs.entry.js +4 -4
  53. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  54. package/dist/cjs/calcite-time-picker.cjs.entry.js +9 -9
  55. package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
  56. package/dist/cjs/calcite-tip-manager.cjs.entry.js +8 -15
  57. package/dist/cjs/calcite-tip.cjs.entry.js +9 -9
  58. package/dist/cjs/calcite-tooltip.cjs.entry.js +7 -7
  59. package/dist/cjs/card-manager_3.cjs.entry.js +1 -1
  60. package/dist/cjs/consent-manager.cjs.entry.js +15 -379
  61. package/dist/cjs/crowdsource-manager.cjs.entry.js +5 -7
  62. package/dist/cjs/crowdsource-reporter.cjs.entry.js +7 -9
  63. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  64. package/dist/cjs/{downloadUtils-1f283d95.js → downloadUtils-8b05d7cc.js} +3 -3
  65. package/dist/cjs/feature-comments.cjs.entry.js +1 -1
  66. package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
  67. package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
  68. package/dist/cjs/index.cjs.js +0 -15
  69. package/dist/cjs/{index.es-4af23ecc.js → index.es-e7587227.js} +1 -1
  70. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +4 -4
  71. package/dist/cjs/instant-apps-export.cjs.entry.js +7 -7
  72. package/dist/cjs/instant-apps-header.cjs.entry.js +4 -5
  73. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +21 -25
  74. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +6 -7
  75. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +8 -9
  76. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +6 -6
  77. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  78. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +9 -9
  79. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +9 -9
  80. package/dist/cjs/instant-apps-measurement.cjs.entry.js +6 -6
  81. package/dist/cjs/instant-apps-popover.cjs.entry.js +6 -6
  82. package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
  83. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +6 -6
  84. package/dist/cjs/instant-apps-splash.cjs.entry.js +6 -6
  85. package/dist/cjs/layout-manager.cjs.entry.js +4 -5
  86. package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
  87. package/dist/cjs/loader.cjs.js +4 -4
  88. package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
  89. package/dist/cjs/map-select-tools_3.cjs.entry.js +1 -1
  90. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  91. package/dist/cjs/public-notification.cjs.entry.js +11 -12
  92. package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
  93. package/dist/cjs/share-item.cjs.entry.js +1 -1
  94. package/dist/cjs/solution-configuration.cjs.entry.js +1105 -21
  95. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  96. package/dist/cjs/solutions-components.cjs.js +5 -36
  97. package/dist/cjs/spatial-ref.cjs.entry.js +6 -7
  98. package/dist/cjs/store-manager.cjs.entry.js +1 -1
  99. package/dist/collection/utils/downloadUtils.js +2 -2
  100. package/dist/collection/utils/downloadUtils.ts +2 -2
  101. package/dist/components/ExpandToggle.js +8 -8
  102. package/dist/components/_commonjsHelpers.js +2 -10
  103. package/dist/components/action-bar.js +3 -3
  104. package/dist/components/action-group.js +1 -1
  105. package/dist/components/action-menu.js +1 -1
  106. package/dist/components/action-pad.js +1 -1
  107. package/dist/components/action.js +1 -1
  108. package/dist/components/alert.js +2 -2
  109. package/dist/components/arcgis-login.js +1 -1
  110. package/dist/components/avatar.js +1 -1
  111. package/dist/components/basemap-gallery2.js +1 -1
  112. package/dist/components/block.js +1 -1
  113. package/dist/components/buffer-tools2.js +1 -1
  114. package/dist/components/button.js +1 -1
  115. package/dist/components/calcite-accordion-item.js +1 -1
  116. package/dist/components/calcite-accordion.js +1 -1
  117. package/dist/components/calcite-block-section.js +1 -1
  118. package/dist/components/calcite-card.js +1 -1
  119. package/dist/components/calcite-chip-group.js +1 -1
  120. package/dist/components/calcite-color-picker.js +5 -5
  121. package/dist/components/calcite-combobox-item-group.js +1 -1
  122. package/dist/components/calcite-fab.js +1 -1
  123. package/dist/components/calcite-inline-editable.js +1 -1
  124. package/dist/components/calcite-input-time-picker.js +1 -5
  125. package/dist/components/calcite-input-time-zone.js +2 -2
  126. package/dist/components/calcite-list-item-group.js +1 -1
  127. package/dist/components/calcite-menu-item.js +1 -1
  128. package/dist/components/calcite-meter.js +1 -1
  129. package/dist/components/calcite-navigation-logo.js +1 -1
  130. package/dist/components/calcite-navigation-user.js +1 -1
  131. package/dist/components/calcite-navigation.js +1 -1
  132. package/dist/components/calcite-option-group.js +1 -1
  133. package/dist/components/calcite-pick-list-group.js +3 -3
  134. package/dist/components/calcite-pick-list.js +1 -1
  135. package/dist/components/calcite-radio-button-group.js +1 -1
  136. package/dist/components/calcite-rating.js +1 -3
  137. package/dist/components/calcite-sheet.js +1 -1
  138. package/dist/components/calcite-shell-center-row.js +1 -1
  139. package/dist/components/calcite-sortable-list.js +1 -1
  140. package/dist/components/calcite-split-button.js +1 -1
  141. package/dist/components/calcite-stepper-item.js +1 -1
  142. package/dist/components/calcite-stepper.js +1 -1
  143. package/dist/components/calcite-table-row.js +1 -1
  144. package/dist/components/calcite-table.js +1 -1
  145. package/dist/components/calcite-text-area.js +2 -2
  146. package/dist/components/calcite-tile-select-group.js +1 -1
  147. package/dist/components/calcite-tile-select.js +1 -1
  148. package/dist/components/calcite-tile.js +1 -1
  149. package/dist/components/calcite-tip-group.js +1 -1
  150. package/dist/components/calcite-tip-manager.js +1 -8
  151. package/dist/components/calcite-tip.js +2 -2
  152. package/dist/components/card-manager2.js +1 -1
  153. package/dist/components/checkbox.js +1 -1
  154. package/dist/components/chip.js +1 -1
  155. package/dist/components/color-picker-hex-input.js +2 -2
  156. package/dist/components/color-picker-swatch.js +1 -1
  157. package/dist/components/combobox-item.js +1 -1
  158. package/dist/components/combobox.js +3 -314
  159. package/dist/components/consent-manager.js +13 -376
  160. package/dist/components/create-feature2.js +1 -1
  161. package/dist/components/crowdsource-manager.js +1 -1
  162. package/dist/components/crowdsource-reporter.js +1 -1
  163. package/dist/components/date-picker-day.js +1 -1
  164. package/dist/components/date-picker-month-header.js +1 -1
  165. package/dist/components/date-picker-month.js +1 -1
  166. package/dist/components/date-picker.js +1 -1
  167. package/dist/components/deduct-calculator2.js +1 -1
  168. package/dist/components/delete-button2.js +1 -1
  169. package/dist/components/dom.js +1 -28
  170. package/dist/components/downloadUtils.js +99 -1179
  171. package/dist/components/dropdown-group.js +1 -1
  172. package/dist/components/dropdown-item.js +1 -1
  173. package/dist/components/dropdown.js +1 -1
  174. package/dist/components/edit-card2.js +1 -1
  175. package/dist/components/esri-loader.js +3 -8
  176. package/dist/components/feature-comments.js +1 -1
  177. package/dist/components/feature-form-flow-item.js +1 -1
  178. package/dist/components/feature-list2.js +1 -1
  179. package/dist/components/features-flow-item.js +1 -1
  180. package/dist/components/filter.js +718 -1
  181. package/dist/components/filter2.js +2 -2
  182. package/dist/components/floating-ui.js +7 -384
  183. package/dist/components/floor-filter2.js +1 -1
  184. package/dist/components/flow-item.js +1 -1
  185. package/dist/components/flow.js +1 -1
  186. package/dist/components/focusTrapComponent.js +1 -1
  187. package/dist/components/form.js +1 -1
  188. package/dist/components/graph.js +1 -1
  189. package/dist/components/handle.js +1 -1
  190. package/dist/components/helpers.js +2 -6
  191. package/dist/components/html2canvas.js +3 -8
  192. package/dist/components/icon.js +1 -1
  193. package/dist/components/index.es.js +22 -555
  194. package/dist/components/index.js +0 -16
  195. package/dist/components/index2.js +0 -3
  196. package/dist/components/index3.js +1865 -41262
  197. package/dist/components/index5.js +185 -2086
  198. package/dist/components/index6.js +55 -188
  199. package/dist/components/info-card2.js +1 -1
  200. package/dist/components/input-date-picker.js +1 -1
  201. package/dist/components/input-message.js +1 -1
  202. package/dist/components/input-number.js +1 -1
  203. package/dist/components/input-text.js +1 -1
  204. package/dist/components/input.js +1 -1
  205. package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
  206. package/dist/components/instant-apps-control-panel.js +1 -1
  207. package/dist/components/instant-apps-export.js +1 -1
  208. package/dist/components/instant-apps-filter-list2.js +1 -2
  209. package/dist/components/instant-apps-header2.js +2 -2
  210. package/dist/components/instant-apps-interactive-legend-classic2.js +7 -10
  211. package/dist/components/instant-apps-interactive-legend-count2.js +2 -2
  212. package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +1 -1
  213. package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +1 -1
  214. package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +1 -1
  215. package/dist/components/instant-apps-interactive-legend-layer-element2.js +1 -1
  216. package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +2 -2
  217. package/dist/components/instant-apps-interactive-legend-legend-element2.js +1 -1
  218. package/dist/components/instant-apps-interactive-legend-relationship2.js +1 -1
  219. package/dist/components/instant-apps-interactive-legend.js +1 -1
  220. package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
  221. package/dist/components/instant-apps-landing-page.js +1 -1
  222. package/dist/components/instant-apps-language-switcher.js +1 -1
  223. package/dist/components/instant-apps-language-translator-item2.js +1 -1
  224. package/dist/components/instant-apps-language-translator-search2.js +1 -1
  225. package/dist/components/instant-apps-language-translator2.js +1 -1
  226. package/dist/components/instant-apps-measurement-tool2.js +1 -1
  227. package/dist/components/instant-apps-measurement.js +1 -1
  228. package/dist/components/instant-apps-popover.js +1 -1
  229. package/dist/components/instant-apps-popovers.js +1 -1
  230. package/dist/components/instant-apps-scoreboard.js +1 -1
  231. package/dist/components/instant-apps-social-share2.js +1 -1
  232. package/dist/components/instant-apps-splash.js +2 -2
  233. package/dist/components/json-editor2.js +1 -1
  234. package/dist/components/key.js +0 -28
  235. package/dist/components/label.js +1 -1
  236. package/dist/components/label2.js +1 -1
  237. package/dist/components/languageUtil.js +1 -22
  238. package/dist/components/layer-list2.js +1 -1
  239. package/dist/components/layer-table2.js +1 -1
  240. package/dist/components/layout-manager.js +1 -1
  241. package/dist/components/link.js +1 -1
  242. package/dist/components/list-flow-item.js +1 -1
  243. package/dist/components/list-item.js +1 -1
  244. package/dist/components/list.js +2 -2
  245. package/dist/components/loader.js +1 -1
  246. package/dist/components/locale.js +0 -12
  247. package/dist/components/locale2.js +1 -2
  248. package/dist/components/location-flow-item.js +1 -1
  249. package/dist/components/map-card2.js +1 -1
  250. package/dist/components/map-draw-tools2.js +1 -1
  251. package/dist/components/map-fullscreen2.js +1 -1
  252. package/dist/components/map-layer-picker2.js +1 -1
  253. package/dist/components/map-legend2.js +1 -1
  254. package/dist/components/map-picker2.js +1 -1
  255. package/dist/components/map-search2.js +1 -1
  256. package/dist/components/map-select-tools2.js +1 -1
  257. package/dist/components/map-tools2.js +1 -3
  258. package/dist/components/menu.js +1 -1
  259. package/dist/components/modal.js +1 -7
  260. package/dist/components/mode.js +0 -8
  261. package/dist/components/notice.js +1 -1
  262. package/dist/components/openCloseComponent.js +0 -48
  263. package/dist/components/option.js +1 -1
  264. package/dist/components/pagination.js +1 -194
  265. package/dist/components/panel.js +1 -2
  266. package/dist/components/pci-calculator.js +1 -1
  267. package/dist/components/pdf-download2.js +1 -1
  268. package/dist/components/pick-list-item.js +1 -1
  269. package/dist/components/popover.js +1 -1
  270. package/dist/components/progress.js +1 -1
  271. package/dist/components/public-notification.js +1 -1
  272. package/dist/components/purify.js +2 -5
  273. package/dist/components/queryUtils.js +0 -43
  274. package/dist/components/radio-button.js +1 -1
  275. package/dist/components/refine-results-flow-item.js +1 -1
  276. package/dist/components/refine-selection2.js +1 -1
  277. package/dist/components/resources.js +0 -17
  278. package/dist/components/resources4.js +0 -3
  279. package/dist/components/scrim.js +1 -1
  280. package/dist/components/segmented-control-item.js +1 -1
  281. package/dist/components/segmented-control.js +1 -1
  282. package/dist/components/select.js +1 -1
  283. package/dist/components/share-item.js +1 -1
  284. package/dist/components/shared-list-render.js +1 -6
  285. package/dist/components/shell-panel.js +1 -1
  286. package/dist/components/shell.js +1 -1
  287. package/dist/components/slider.js +1 -3
  288. package/dist/components/solution-configuration.js +1088 -2
  289. package/dist/components/solution-contents2.js +1 -1
  290. package/dist/components/solution-item-details2.js +1 -1
  291. package/dist/components/solution-item-icon2.js +1 -1
  292. package/dist/components/solution-item-sharing2.js +1 -1
  293. package/dist/components/solution-item2.js +1 -1
  294. package/dist/components/solution-organization-variables2.js +1 -1
  295. package/dist/components/solution-resource-item2.js +3 -2
  296. package/dist/components/solution-spatial-ref2.js +1 -1
  297. package/dist/components/solution-store.js +756 -1
  298. package/dist/components/solution-template-data2.js +1 -1
  299. package/dist/components/solution-variables2.js +1 -1
  300. package/dist/components/sortableComponent.js +0 -701
  301. package/dist/components/spatial-ref2.js +4 -263
  302. package/dist/components/stack.js +1 -1
  303. package/dist/components/store-manager.js +1 -1
  304. package/dist/components/store.js +0 -1
  305. package/dist/components/switch.js +1 -1
  306. package/dist/components/t9n.js +1 -1
  307. package/dist/components/tab-nav.js +1 -1
  308. package/dist/components/tab-title.js +1 -1
  309. package/dist/components/tab.js +1 -1
  310. package/dist/components/table-cell.js +1 -1
  311. package/dist/components/table-header.js +1 -1
  312. package/dist/components/tabs.js +1 -1
  313. package/dist/components/time-picker.js +2 -2
  314. package/dist/components/tooltip.js +1 -1
  315. package/dist/components/tree-item.js +1 -1
  316. package/dist/components/tree.js +1 -1
  317. package/dist/components/utils.js +1 -6
  318. package/dist/components/utils2.js +1 -1
  319. package/dist/components/utils4.js +0 -12
  320. package/dist/components/value-list-item.js +1 -1
  321. package/dist/components/value-list.js +1 -4
  322. package/dist/esm/arcgis-login.entry.js +1 -1
  323. package/dist/esm/calcite-accordion-item.entry.js +5 -5
  324. package/dist/esm/calcite-accordion.entry.js +2 -2
  325. package/dist/esm/calcite-action-bar.entry.js +11 -11
  326. package/dist/esm/calcite-action-group.entry.js +12 -12
  327. package/dist/esm/calcite-avatar.entry.js +4 -4
  328. package/dist/esm/calcite-block-section.entry.js +8 -8
  329. package/dist/esm/calcite-button.entry.js +13 -13
  330. package/dist/esm/calcite-card.entry.js +8 -8
  331. package/dist/esm/calcite-checkbox.entry.js +9 -9
  332. package/dist/esm/calcite-chip-group.entry.js +7 -7
  333. package/dist/esm/calcite-color-picker.entry.js +16 -16
  334. package/dist/esm/calcite-combobox-item-group.entry.js +4 -4
  335. package/dist/esm/calcite-fab.entry.js +6 -6
  336. package/dist/esm/calcite-icon.entry.js +5 -5
  337. package/dist/esm/calcite-inline-editable.entry.js +11 -11
  338. package/dist/esm/calcite-input-number.entry.js +13 -13
  339. package/dist/esm/calcite-input-text.entry.js +13 -13
  340. package/dist/esm/calcite-input-time-picker.entry.js +17 -17
  341. package/dist/esm/calcite-input-time-zone.entry.js +12 -12
  342. package/dist/esm/calcite-label.entry.js +4 -4
  343. package/dist/esm/calcite-link.entry.js +6 -6
  344. package/dist/esm/calcite-list-item-group.entry.js +4 -4
  345. package/dist/esm/calcite-menu-item.entry.js +8 -8
  346. package/dist/esm/calcite-menu.entry.js +8 -8
  347. package/dist/esm/calcite-meter.entry.js +8 -8
  348. package/dist/esm/calcite-modal.entry.js +11 -17
  349. package/dist/esm/calcite-navigation-logo.entry.js +2 -2
  350. package/dist/esm/calcite-navigation-user.entry.js +2 -2
  351. package/dist/esm/calcite-navigation.entry.js +4 -4
  352. package/dist/esm/calcite-notice.entry.js +10 -10
  353. package/dist/esm/calcite-option-group.entry.js +1 -1
  354. package/dist/esm/calcite-pagination.entry.js +8 -201
  355. package/dist/esm/calcite-pick-list-group.entry.js +6 -6
  356. package/dist/esm/calcite-pick-list-item.entry.js +13 -13
  357. package/dist/esm/calcite-pick-list.entry.js +10 -10
  358. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  359. package/dist/esm/calcite-radio-button.entry.js +8 -8
  360. package/dist/esm/calcite-rating.entry.js +12 -14
  361. package/dist/esm/calcite-scrim.entry.js +7 -7
  362. package/dist/esm/calcite-sheet.entry.js +7 -7
  363. package/dist/esm/calcite-shell-center-row.entry.js +5 -5
  364. package/dist/esm/calcite-sortable-list.entry.js +7 -7
  365. package/dist/esm/calcite-split-button.entry.js +4 -4
  366. package/dist/esm/calcite-stepper-item.entry.js +10 -10
  367. package/dist/esm/calcite-stepper.entry.js +7 -7
  368. package/dist/esm/calcite-switch.entry.js +9 -9
  369. package/dist/esm/calcite-table-row.entry.js +6 -6
  370. package/dist/esm/calcite-table.entry.js +9 -9
  371. package/dist/esm/calcite-text-area.entry.js +15 -14
  372. package/dist/esm/calcite-tile-select-group.entry.js +3 -3
  373. package/dist/esm/calcite-tile-select.entry.js +4 -4
  374. package/dist/esm/calcite-tile.entry.js +7 -7
  375. package/dist/esm/calcite-time-picker.entry.js +9 -9
  376. package/dist/esm/calcite-tip-group.entry.js +1 -1
  377. package/dist/esm/calcite-tip-manager.entry.js +8 -15
  378. package/dist/esm/calcite-tip.entry.js +9 -9
  379. package/dist/esm/calcite-tooltip.entry.js +7 -7
  380. package/dist/esm/card-manager_3.entry.js +1 -1
  381. package/dist/esm/consent-manager.entry.js +15 -379
  382. package/dist/esm/crowdsource-manager.entry.js +5 -7
  383. package/dist/esm/crowdsource-reporter.entry.js +5 -7
  384. package/dist/esm/deduct-calculator.entry.js +1 -1
  385. package/dist/esm/{downloadUtils-01e2cb56.js → downloadUtils-0c13073b.js} +3 -3
  386. package/dist/esm/feature-comments.entry.js +1 -1
  387. package/dist/esm/feature-form-flow-item.entry.js +1 -1
  388. package/dist/esm/features-flow-item.entry.js +1 -1
  389. package/dist/esm/{index.es-ac6f5e76.js → index.es-ad250bc6.js} +1 -1
  390. package/dist/esm/index.js +0 -15
  391. package/dist/esm/instant-apps-control-panel.entry.js +4 -4
  392. package/dist/esm/instant-apps-export.entry.js +7 -7
  393. package/dist/esm/instant-apps-header.entry.js +4 -5
  394. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +11 -15
  395. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +6 -7
  396. package/dist/esm/instant-apps-interactive-legend.entry.js +8 -9
  397. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +6 -6
  398. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  399. package/dist/esm/instant-apps-language-switcher.entry.js +9 -9
  400. package/dist/esm/instant-apps-language-translator.entry.js +9 -9
  401. package/dist/esm/instant-apps-measurement.entry.js +6 -6
  402. package/dist/esm/instant-apps-popover.entry.js +6 -6
  403. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  404. package/dist/esm/instant-apps-scoreboard.entry.js +6 -6
  405. package/dist/esm/instant-apps-splash.entry.js +6 -6
  406. package/dist/esm/layout-manager.entry.js +4 -5
  407. package/dist/esm/list-flow-item.entry.js +1 -1
  408. package/dist/esm/loader.js +5 -5
  409. package/dist/esm/location-flow-item.entry.js +1 -1
  410. package/dist/esm/map-select-tools_3.entry.js +1 -1
  411. package/dist/esm/pci-calculator.entry.js +1 -1
  412. package/dist/esm/public-notification.entry.js +10 -11
  413. package/dist/esm/refine-results-flow-item.entry.js +1 -1
  414. package/dist/esm/share-item.entry.js +1 -1
  415. package/dist/esm/solution-configuration.entry.js +1093 -9
  416. package/dist/esm/solution-item-icon.entry.js +1 -1
  417. package/dist/esm/solutions-components.js +6 -37
  418. package/dist/esm/spatial-ref.entry.js +6 -7
  419. package/dist/esm/store-manager.entry.js +1 -1
  420. package/dist/solutions-components/index.esm.js +0 -15
  421. package/dist/solutions-components/{p-8910dc99.js → p-1d3a1794.js} +2 -2
  422. package/dist/solutions-components/{p-b4913a01.js → p-590a2a26.js} +1 -1
  423. package/dist/solutions-components/{p-53ef8adf.entry.js → p-65ad1625.entry.js} +1 -1
  424. package/dist/solutions-components/{p-04dbc667.entry.js → p-989bf0bf.entry.js} +1 -1
  425. package/dist/solutions-components/{p-607773a3.entry.js → p-a0611720.entry.js} +1 -1
  426. package/dist/solutions-components/solutions-components.css +1 -84
  427. package/dist/solutions-components/solutions-components.esm.js +1 -52
  428. package/dist/solutions-components/utils/downloadUtils.ts +2 -2
  429. package/package.json +1 -1
  430. package/dist/cjs/ExpandToggle-3ab7dfd7.js +0 -118
  431. package/dist/cjs/FloatingArrow-89e0e55a.js +0 -50
  432. package/dist/cjs/Heading-9112a4c5.js +0 -25
  433. package/dist/cjs/InitiativeUiSchemaEdit-108652db.js +0 -28
  434. package/dist/cjs/ProjectUiSchemaCreate-81217580.js +0 -126
  435. package/dist/cjs/ProjectUiSchemaEdit-d5f11c17.js +0 -178
  436. package/dist/cjs/Validation-20182093.js +0 -20
  437. package/dist/cjs/_commonjsHelpers-ed90c4ad.js +0 -55
  438. package/dist/cjs/app-globals-379d737f.js +0 -69
  439. package/dist/cjs/ar-a694ca24.js +0 -105
  440. package/dist/cjs/basemap-gallery.cjs.entry.js +0 -121
  441. package/dist/cjs/bg-62b6b3ba.js +0 -83
  442. package/dist/cjs/browser-fe25aefa.js +0 -28
  443. package/dist/cjs/bs-e673542b.js +0 -52
  444. package/dist/cjs/buffer-tools.cjs.entry.js +0 -257
  445. package/dist/cjs/ca-e4d2f562.js +0 -72
  446. package/dist/cjs/calcite-action-menu.cjs.entry.js +0 -295
  447. package/dist/cjs/calcite-action-pad.cjs.entry.js +0 -169
  448. package/dist/cjs/calcite-action.cjs.entry.js +0 -188
  449. package/dist/cjs/calcite-alert.cjs.entry.js +0 -322
  450. package/dist/cjs/calcite-block.cjs.entry.js +0 -214
  451. package/dist/cjs/calcite-chip.cjs.entry.js +0 -262
  452. package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +0 -274
  453. package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +0 -99
  454. package/dist/cjs/calcite-combobox-item.cjs.entry.js +0 -145
  455. package/dist/cjs/calcite-combobox.cjs.entry.js +0 -1431
  456. package/dist/cjs/calcite-date-picker-day.cjs.entry.js +0 -97
  457. package/dist/cjs/calcite-date-picker-month-header.cjs.entry.js +0 -207
  458. package/dist/cjs/calcite-date-picker-month.cjs.entry.js +0 -362
  459. package/dist/cjs/calcite-date-picker.cjs.entry.js +0 -460
  460. package/dist/cjs/calcite-dropdown-group.cjs.entry.js +0 -85
  461. package/dist/cjs/calcite-dropdown-item.cjs.entry.js +0 -188
  462. package/dist/cjs/calcite-dropdown.cjs.entry.js +0 -430
  463. package/dist/cjs/calcite-filter.cjs.entry.js +0 -179
  464. package/dist/cjs/calcite-flow-item.cjs.entry.js +0 -198
  465. package/dist/cjs/calcite-flow.cjs.entry.js +0 -153
  466. package/dist/cjs/calcite-graph.cjs.entry.js +0 -226
  467. package/dist/cjs/calcite-handle.cjs.entry.js +0 -204
  468. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +0 -744
  469. package/dist/cjs/calcite-input-message.cjs.entry.js +0 -70
  470. package/dist/cjs/calcite-input-time-picker-9e93f694.js +0 -1854
  471. package/dist/cjs/calcite-input.cjs.entry.js +0 -695
  472. package/dist/cjs/calcite-list-item.cjs.entry.js +0 -454
  473. package/dist/cjs/calcite-list.cjs.entry.js +0 -567
  474. package/dist/cjs/calcite-loader.cjs.entry.js +0 -80
  475. package/dist/cjs/calcite-option.cjs.entry.js +0 -88
  476. package/dist/cjs/calcite-panel.cjs.entry.js +0 -270
  477. package/dist/cjs/calcite-popover.cjs.entry.js +0 -418
  478. package/dist/cjs/calcite-progress.cjs.entry.js +0 -41
  479. package/dist/cjs/calcite-segmented-control-item.cjs.entry.js +0 -70
  480. package/dist/cjs/calcite-segmented-control.cjs.entry.js +0 -245
  481. package/dist/cjs/calcite-select.cjs.entry.js +0 -235
  482. package/dist/cjs/calcite-shell-panel.cjs.entry.js +0 -414
  483. package/dist/cjs/calcite-shell.cjs.entry.js +0 -174
  484. package/dist/cjs/calcite-slider.cjs.entry.js +0 -844
  485. package/dist/cjs/calcite-stack.cjs.entry.js +0 -74
  486. package/dist/cjs/calcite-tab-nav.cjs.entry.js +0 -263
  487. package/dist/cjs/calcite-tab-title.cjs.entry.js +0 -291
  488. package/dist/cjs/calcite-tab.cjs.entry.js +0 -112
  489. package/dist/cjs/calcite-table-cell.cjs.entry.js +0 -156
  490. package/dist/cjs/calcite-table-header.cjs.entry.js +0 -169
  491. package/dist/cjs/calcite-tabs.cjs.entry.js +0 -178
  492. package/dist/cjs/calcite-tree-item.cjs.entry.js +0 -296
  493. package/dist/cjs/calcite-tree.cjs.entry.js +0 -315
  494. package/dist/cjs/calcite-value-list-item.cjs.entry.js +0 -157
  495. package/dist/cjs/calcite-value-list.cjs.entry.js +0 -326
  496. package/dist/cjs/card-manager.cjs.entry.js +0 -107
  497. package/dist/cjs/common-1b4bd8de.js +0 -297
  498. package/dist/cjs/conditionalSlot-73e71a05.js +0 -63
  499. package/dist/cjs/create-feature.cjs.entry.js +0 -263
  500. package/dist/cjs/cs-1ea34123.js +0 -148
  501. package/dist/cjs/da-199f5488.js +0 -67
  502. package/dist/cjs/date-3d094f58.js +0 -261
  503. package/dist/cjs/de-222afa04.js +0 -92
  504. package/dist/cjs/de-at-a62870ea.js +0 -91
  505. package/dist/cjs/de-ch-b0b46c1b.js +0 -91
  506. package/dist/cjs/delete-button.cjs.entry.js +0 -150
  507. package/dist/cjs/dom-cf1e2e9f.js +0 -1114
  508. package/dist/cjs/downloadUtils-de0c0682.js +0 -4246
  509. package/dist/cjs/edit-card.cjs.entry.js +0 -228
  510. package/dist/cjs/el-934951a0.js +0 -67
  511. package/dist/cjs/en-au-6872d248.js +0 -67
  512. package/dist/cjs/en-ca-7133c4f2.js +0 -66
  513. package/dist/cjs/en-gb-2c66b954.js +0 -70
  514. package/dist/cjs/es-48e65aa5.js +0 -67
  515. package/dist/cjs/es-mx-46d70897.js +0 -66
  516. package/dist/cjs/esri-loader-5b8fbfa4.js +0 -308
  517. package/dist/cjs/et-63c5628d.js +0 -93
  518. package/dist/cjs/feature-list.cjs.entry.js +0 -199
  519. package/dist/cjs/fi-dc20f9ac.js +0 -116
  520. package/dist/cjs/filter-cc2705b7.js +0 -48
  521. package/dist/cjs/floating-ui-90bd00af.js +0 -2350
  522. package/dist/cjs/floor-filter.cjs.entry.js +0 -111
  523. package/dist/cjs/focusTrapComponent-946b0666.js +0 -1028
  524. package/dist/cjs/form-da52e819.js +0 -316
  525. package/dist/cjs/fr-7067996a.js +0 -69
  526. package/dist/cjs/fr-ch-dbd7ba02.js +0 -67
  527. package/dist/cjs/he-4eb6a5a9.js +0 -106
  528. package/dist/cjs/helpers-7415d67a.js +0 -830
  529. package/dist/cjs/hi-5563acd4.js +0 -66
  530. package/dist/cjs/hr-7a0a4191.js +0 -81
  531. package/dist/cjs/html2canvas-57f1616d.js +0 -7847
  532. package/dist/cjs/hu-0b69b8fb.js +0 -89
  533. package/dist/cjs/id-345dd5a9.js +0 -67
  534. package/dist/cjs/index-5799a29c.js +0 -41521
  535. package/dist/cjs/index-8c75d784.js +0 -1958
  536. package/dist/cjs/index-af047760.js +0 -201
  537. package/dist/cjs/index-b53bfd7c.js +0 -4185
  538. package/dist/cjs/index.es-152bb462.js +0 -11342
  539. package/dist/cjs/info-card.cjs.entry.js +0 -320
  540. package/dist/cjs/instant-apps-ckeditor-wrapper.cjs.entry.js +0 -125
  541. package/dist/cjs/instant-apps-filter-list.cjs.entry.js +0 -1059
  542. package/dist/cjs/instant-apps-interactive-legend-count.cjs.entry.js +0 -104
  543. package/dist/cjs/instant-apps-interactive-legend-group-legend-element.cjs.entry.js +0 -56
  544. package/dist/cjs/instant-apps-interactive-legend-layer-element-caption.cjs.entry.js +0 -55
  545. package/dist/cjs/instant-apps-interactive-legend-layer-element.cjs.entry.js +0 -57
  546. package/dist/cjs/instant-apps-interactive-legend-legend-element-caption.cjs.entry.js +0 -104
  547. package/dist/cjs/instant-apps-interactive-legend-legend-element.cjs.entry.js +0 -65
  548. package/dist/cjs/instant-apps-interactive-legend-relationship.cjs.entry.js +0 -552
  549. package/dist/cjs/instant-apps-language-translator-item.cjs.entry.js +0 -384
  550. package/dist/cjs/instant-apps-language-translator-search.cjs.entry.js +0 -105
  551. package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +0 -139
  552. package/dist/cjs/instant-apps-social-share.cjs.entry.js +0 -515
  553. package/dist/cjs/interactive-08e5bc95.js +0 -144
  554. package/dist/cjs/it-ac7cf3e5.js +0 -67
  555. package/dist/cjs/it-ch-6f7209eb.js +0 -67
  556. package/dist/cjs/ja-29e7b0a2.js +0 -73
  557. package/dist/cjs/json-editor.cjs.entry.js +0 -406
  558. package/dist/cjs/key-86f4a0b0.js +0 -47
  559. package/dist/cjs/ko-aeebde8b.js +0 -73
  560. package/dist/cjs/label-24b05042.js +0 -186
  561. package/dist/cjs/languageSwitcher-aafa5b47.js +0 -58
  562. package/dist/cjs/languageUtil-43c3acdc.js +0 -90
  563. package/dist/cjs/layer-list.cjs.entry.js +0 -207
  564. package/dist/cjs/layer-table.cjs.entry.js +0 -1487
  565. package/dist/cjs/loadModules-a67b6702.js +0 -23
  566. package/dist/cjs/loadModules-b5f244cd.js +0 -30
  567. package/dist/cjs/loadable-41446b78.js +0 -97
  568. package/dist/cjs/locale-28c7c569.js +0 -91
  569. package/dist/cjs/locale-42a9e623.js +0 -152
  570. package/dist/cjs/locale-a615b02f.js +0 -585
  571. package/dist/cjs/lodash-7587da9f.js +0 -18030
  572. package/dist/cjs/lt-6816d14c.js +0 -98
  573. package/dist/cjs/lv-2c998515.js +0 -67
  574. package/dist/cjs/map-card.cjs.entry.js +0 -192
  575. package/dist/cjs/map-draw-tools.cjs.entry.js +0 -358
  576. package/dist/cjs/map-fullscreen.cjs.entry.js +0 -116
  577. package/dist/cjs/map-layer-picker.cjs.entry.js +0 -346
  578. package/dist/cjs/map-legend.cjs.entry.js +0 -109
  579. package/dist/cjs/map-picker.cjs.entry.js +0 -174
  580. package/dist/cjs/map-search.cjs.entry.js +0 -184
  581. package/dist/cjs/map-select-tools.cjs.entry.js +0 -798
  582. package/dist/cjs/map-tools.cjs.entry.js +0 -375
  583. package/dist/cjs/mapViewUtils-6fa5bab1.js +0 -271
  584. package/dist/cjs/mk-147994ea.js +0 -67
  585. package/dist/cjs/mode-a0417ce5.js +0 -27
  586. package/dist/cjs/nb-f3d75f05.js +0 -68
  587. package/dist/cjs/nl-cb0a22c8.js +0 -68
  588. package/dist/cjs/observers-5923a7cc.js +0 -58
  589. package/dist/cjs/openCloseComponent-8d9cb545.js +0 -140
  590. package/dist/cjs/parser-e80279bf.js +0 -1656
  591. package/dist/cjs/pdf-download.cjs.entry.js +0 -359
  592. package/dist/cjs/pl-ade28edd.js +0 -115
  593. package/dist/cjs/popupUtils-4de17e65.js +0 -96
  594. package/dist/cjs/pt-5543b782.js +0 -68
  595. package/dist/cjs/pt-br-bdce1868.js +0 -66
  596. package/dist/cjs/publicNotificationStore-f690e171.js +0 -47
  597. package/dist/cjs/purify-557ad134.js +0 -1715
  598. package/dist/cjs/queryUtils-aba29fcf.js +0 -253
  599. package/dist/cjs/refine-selection.cjs.entry.js +0 -411
  600. package/dist/cjs/resources-2ccf85d3.js +0 -53
  601. package/dist/cjs/resources-37006465.js +0 -29
  602. package/dist/cjs/resources-63b3a6b8.js +0 -116
  603. package/dist/cjs/resources-a2b1b149.js +0 -49
  604. package/dist/cjs/resources-ac626172.js +0 -26
  605. package/dist/cjs/resources-b0cc39b4.js +0 -30
  606. package/dist/cjs/ro-f4bb9704.js +0 -67
  607. package/dist/cjs/ru-ba86b627.js +0 -127
  608. package/dist/cjs/shadow-css-bbaea014.js +0 -483
  609. package/dist/cjs/shared-list-render-c8555864.js +0 -370
  610. package/dist/cjs/sk-ac03aca5.js +0 -149
  611. package/dist/cjs/sl-c68e3fd0.js +0 -169
  612. package/dist/cjs/solution-contents.cjs.entry.js +0 -84
  613. package/dist/cjs/solution-item-details.cjs.entry.js +0 -199
  614. package/dist/cjs/solution-item-sharing.cjs.entry.js +0 -139
  615. package/dist/cjs/solution-item.cjs.entry.js +0 -106
  616. package/dist/cjs/solution-organization-variables.cjs.entry.js +0 -95
  617. package/dist/cjs/solution-resource-item.cjs.entry.js +0 -284
  618. package/dist/cjs/solution-spatial-ref.cjs.entry.js +0 -158
  619. package/dist/cjs/solution-store-6194ba89.js +0 -589
  620. package/dist/cjs/solution-template-data.cjs.entry.js +0 -119
  621. package/dist/cjs/solution-variables.cjs.entry.js +0 -107
  622. package/dist/cjs/sortableComponent-5e3419af.js +0 -3443
  623. package/dist/cjs/sr-80f65cf0.js +0 -102
  624. package/dist/cjs/store-1f422ad4.js +0 -91
  625. package/dist/cjs/sv-eee15401.js +0 -72
  626. package/dist/cjs/t9n-463dcbff.js +0 -103
  627. package/dist/cjs/th-f90768db.js +0 -66
  628. package/dist/cjs/time-4a9bf7e2.js +0 -289
  629. package/dist/cjs/tr-37fec0b5.js +0 -67
  630. package/dist/cjs/uk-3041a292.js +0 -105
  631. package/dist/cjs/utils-3a633152.js +0 -64
  632. package/dist/cjs/utils-7281bf72.js +0 -110
  633. package/dist/cjs/utils-72a66b3c.js +0 -66
  634. package/dist/cjs/utils-934ee777.js +0 -142
  635. package/dist/cjs/utils-b276a49d.js +0 -226
  636. package/dist/cjs/vi-57a02ad1.js +0 -71
  637. package/dist/cjs/zh-cn-165c486d.js +0 -95
  638. package/dist/cjs/zh-hk-0aa560a6.js +0 -72
  639. package/dist/cjs/zh-tw-42d975f0.js +0 -93
  640. package/dist/components/InitiativeUiSchemaEdit.js +0 -26
  641. package/dist/components/ProjectUiSchemaCreate.js +0 -122
  642. package/dist/components/ProjectUiSchemaEdit.js +0 -176
  643. package/dist/components/index7.js +0 -71
  644. package/dist/components/lodash.js +0 -18025
  645. package/dist/components/parser.js +0 -1654
  646. package/dist/esm/ExpandToggle-22fd2faa.js +0 -110
  647. package/dist/esm/FloatingArrow-de6fd1c7.js +0 -48
  648. package/dist/esm/Heading-f003a141.js +0 -22
  649. package/dist/esm/InitiativeUiSchemaEdit-8ddacfe8.js +0 -26
  650. package/dist/esm/ProjectUiSchemaCreate-dd179c0f.js +0 -124
  651. package/dist/esm/ProjectUiSchemaEdit-fbfdf6e4.js +0 -176
  652. package/dist/esm/Validation-59a77488.js +0 -18
  653. package/dist/esm/_commonjsHelpers-3cd6d4ee.js +0 -49
  654. package/dist/esm/app-globals-928553ab.js +0 -67
  655. package/dist/esm/ar-75ffdabb.js +0 -103
  656. package/dist/esm/basemap-gallery.entry.js +0 -117
  657. package/dist/esm/bg-fac0bf10.js +0 -81
  658. package/dist/esm/browser-b8d08bed.js +0 -26
  659. package/dist/esm/bs-c03c8ef2.js +0 -50
  660. package/dist/esm/buffer-tools.entry.js +0 -253
  661. package/dist/esm/ca-29e49f82.js +0 -70
  662. package/dist/esm/calcite-action-menu.entry.js +0 -291
  663. package/dist/esm/calcite-action-pad.entry.js +0 -165
  664. package/dist/esm/calcite-action.entry.js +0 -184
  665. package/dist/esm/calcite-alert.entry.js +0 -318
  666. package/dist/esm/calcite-block.entry.js +0 -210
  667. package/dist/esm/calcite-chip.entry.js +0 -258
  668. package/dist/esm/calcite-color-picker-hex-input.entry.js +0 -270
  669. package/dist/esm/calcite-color-picker-swatch.entry.js +0 -95
  670. package/dist/esm/calcite-combobox-item.entry.js +0 -141
  671. package/dist/esm/calcite-combobox.entry.js +0 -1427
  672. package/dist/esm/calcite-date-picker-day.entry.js +0 -93
  673. package/dist/esm/calcite-date-picker-month-header.entry.js +0 -203
  674. package/dist/esm/calcite-date-picker-month.entry.js +0 -358
  675. package/dist/esm/calcite-date-picker.entry.js +0 -456
  676. package/dist/esm/calcite-dropdown-group.entry.js +0 -81
  677. package/dist/esm/calcite-dropdown-item.entry.js +0 -184
  678. package/dist/esm/calcite-dropdown.entry.js +0 -426
  679. package/dist/esm/calcite-filter.entry.js +0 -175
  680. package/dist/esm/calcite-flow-item.entry.js +0 -194
  681. package/dist/esm/calcite-flow.entry.js +0 -149
  682. package/dist/esm/calcite-graph.entry.js +0 -222
  683. package/dist/esm/calcite-handle.entry.js +0 -200
  684. package/dist/esm/calcite-input-date-picker.entry.js +0 -740
  685. package/dist/esm/calcite-input-message.entry.js +0 -66
  686. package/dist/esm/calcite-input-time-picker-e5cd4d26.js +0 -1851
  687. package/dist/esm/calcite-input.entry.js +0 -691
  688. package/dist/esm/calcite-list-item.entry.js +0 -450
  689. package/dist/esm/calcite-list.entry.js +0 -563
  690. package/dist/esm/calcite-loader.entry.js +0 -76
  691. package/dist/esm/calcite-option.entry.js +0 -84
  692. package/dist/esm/calcite-panel.entry.js +0 -266
  693. package/dist/esm/calcite-popover.entry.js +0 -414
  694. package/dist/esm/calcite-progress.entry.js +0 -37
  695. package/dist/esm/calcite-segmented-control-item.entry.js +0 -66
  696. package/dist/esm/calcite-segmented-control.entry.js +0 -241
  697. package/dist/esm/calcite-select.entry.js +0 -231
  698. package/dist/esm/calcite-shell-panel.entry.js +0 -410
  699. package/dist/esm/calcite-shell.entry.js +0 -170
  700. package/dist/esm/calcite-slider.entry.js +0 -840
  701. package/dist/esm/calcite-stack.entry.js +0 -70
  702. package/dist/esm/calcite-tab-nav.entry.js +0 -259
  703. package/dist/esm/calcite-tab-title.entry.js +0 -287
  704. package/dist/esm/calcite-tab.entry.js +0 -108
  705. package/dist/esm/calcite-table-cell.entry.js +0 -152
  706. package/dist/esm/calcite-table-header.entry.js +0 -165
  707. package/dist/esm/calcite-tabs.entry.js +0 -174
  708. package/dist/esm/calcite-tree-item.entry.js +0 -292
  709. package/dist/esm/calcite-tree.entry.js +0 -311
  710. package/dist/esm/calcite-value-list-item.entry.js +0 -153
  711. package/dist/esm/calcite-value-list.entry.js +0 -322
  712. package/dist/esm/card-manager.entry.js +0 -103
  713. package/dist/esm/common-7e0dcaa2.js +0 -295
  714. package/dist/esm/conditionalSlot-a395417e.js +0 -60
  715. package/dist/esm/create-feature.entry.js +0 -259
  716. package/dist/esm/cs-04f36d01.js +0 -146
  717. package/dist/esm/da-5a3b8600.js +0 -65
  718. package/dist/esm/date-74c7f03b.js +0 -245
  719. package/dist/esm/de-579cda2e.js +0 -90
  720. package/dist/esm/de-at-52bf1c4c.js +0 -89
  721. package/dist/esm/de-ch-12d03480.js +0 -89
  722. package/dist/esm/delete-button.entry.js +0 -146
  723. package/dist/esm/dom-b91aa537.js +0 -1083
  724. package/dist/esm/downloadUtils-b3220f86.js +0 -4240
  725. package/dist/esm/edit-card.entry.js +0 -224
  726. package/dist/esm/el-c18d3ea4.js +0 -65
  727. package/dist/esm/en-au-2599e6da.js +0 -65
  728. package/dist/esm/en-ca-8cfbe6bc.js +0 -64
  729. package/dist/esm/en-gb-5e4e8a1e.js +0 -68
  730. package/dist/esm/es-d86f9957.js +0 -65
  731. package/dist/esm/es-mx-f99d9fd1.js +0 -64
  732. package/dist/esm/esri-loader-af2bbfd5.js +0 -306
  733. package/dist/esm/et-8bf52e57.js +0 -91
  734. package/dist/esm/feature-list.entry.js +0 -195
  735. package/dist/esm/fi-aeb49e52.js +0 -114
  736. package/dist/esm/filter-0d00d2e2.js +0 -46
  737. package/dist/esm/floating-ui-b3256614.js +0 -2342
  738. package/dist/esm/floor-filter.entry.js +0 -107
  739. package/dist/esm/focusTrapComponent-2fe6623b.js +0 -1023
  740. package/dist/esm/form-f2181470.js +0 -307
  741. package/dist/esm/fr-6200cc01.js +0 -67
  742. package/dist/esm/fr-ch-df62bb30.js +0 -65
  743. package/dist/esm/he-07ace6cb.js +0 -104
  744. package/dist/esm/helpers-85ca7251.js +0 -807
  745. package/dist/esm/hi-5aa9519e.js +0 -64
  746. package/dist/esm/hr-e0614bed.js +0 -79
  747. package/dist/esm/html2canvas-d52e7c8d.js +0 -7845
  748. package/dist/esm/hu-732fe37c.js +0 -87
  749. package/dist/esm/id-0832fc24.js +0 -65
  750. package/dist/esm/index-7fc1cba9.js +0 -41502
  751. package/dist/esm/index-91eeaf01.js +0 -199
  752. package/dist/esm/index-b1fb529b.js +0 -1956
  753. package/dist/esm/index-bdfaac50.js +0 -4145
  754. package/dist/esm/index.es-3db60115.js +0 -11256
  755. package/dist/esm/info-card.entry.js +0 -316
  756. package/dist/esm/instant-apps-ckeditor-wrapper.entry.js +0 -121
  757. package/dist/esm/instant-apps-filter-list.entry.js +0 -1055
  758. package/dist/esm/instant-apps-interactive-legend-count.entry.js +0 -100
  759. package/dist/esm/instant-apps-interactive-legend-group-legend-element.entry.js +0 -52
  760. package/dist/esm/instant-apps-interactive-legend-layer-element-caption.entry.js +0 -51
  761. package/dist/esm/instant-apps-interactive-legend-layer-element.entry.js +0 -53
  762. package/dist/esm/instant-apps-interactive-legend-legend-element-caption.entry.js +0 -100
  763. package/dist/esm/instant-apps-interactive-legend-legend-element.entry.js +0 -61
  764. package/dist/esm/instant-apps-interactive-legend-relationship.entry.js +0 -548
  765. package/dist/esm/instant-apps-language-translator-item.entry.js +0 -380
  766. package/dist/esm/instant-apps-language-translator-search.entry.js +0 -101
  767. package/dist/esm/instant-apps-measurement-tool.entry.js +0 -135
  768. package/dist/esm/instant-apps-social-share.entry.js +0 -511
  769. package/dist/esm/interactive-71585ecc.js +0 -139
  770. package/dist/esm/it-142bc820.js +0 -65
  771. package/dist/esm/it-ch-1ad1f0ac.js +0 -65
  772. package/dist/esm/ja-6a33e9d4.js +0 -71
  773. package/dist/esm/json-editor.entry.js +0 -402
  774. package/dist/esm/key-9a10d862.js +0 -44
  775. package/dist/esm/ko-d61df01d.js +0 -71
  776. package/dist/esm/label-16184ce7.js +0 -179
  777. package/dist/esm/languageSwitcher-2a9037e5.js +0 -55
  778. package/dist/esm/languageUtil-71a7a914.js +0 -87
  779. package/dist/esm/layer-list.entry.js +0 -203
  780. package/dist/esm/layer-table.entry.js +0 -1483
  781. package/dist/esm/loadModules-827c5581.js +0 -28
  782. package/dist/esm/loadModules-acccbc1c.js +0 -21
  783. package/dist/esm/loadable-aea90723.js +0 -92
  784. package/dist/esm/locale-4cfbae3e.js +0 -86
  785. package/dist/esm/locale-857f39cf.js +0 -572
  786. package/dist/esm/locale-d9463a95.js +0 -148
  787. package/dist/esm/lodash-98e4b7d0.js +0 -18025
  788. package/dist/esm/lt-652c530a.js +0 -96
  789. package/dist/esm/lv-84e48ed0.js +0 -65
  790. package/dist/esm/map-card.entry.js +0 -188
  791. package/dist/esm/map-draw-tools.entry.js +0 -354
  792. package/dist/esm/map-fullscreen.entry.js +0 -112
  793. package/dist/esm/map-layer-picker.entry.js +0 -342
  794. package/dist/esm/map-legend.entry.js +0 -105
  795. package/dist/esm/map-picker.entry.js +0 -170
  796. package/dist/esm/map-search.entry.js +0 -180
  797. package/dist/esm/map-select-tools.entry.js +0 -794
  798. package/dist/esm/map-tools.entry.js +0 -371
  799. package/dist/esm/mapViewUtils-436a516e.js +0 -261
  800. package/dist/esm/mk-bbf2ee01.js +0 -65
  801. package/dist/esm/mode-f9bfc4e9.js +0 -25
  802. package/dist/esm/nb-ccfaa0f7.js +0 -66
  803. package/dist/esm/nl-4bc56289.js +0 -66
  804. package/dist/esm/observers-5ba39eee.js +0 -56
  805. package/dist/esm/openCloseComponent-b4b3788b.js +0 -138
  806. package/dist/esm/parser-87982ce2.js +0 -1654
  807. package/dist/esm/pdf-download.entry.js +0 -355
  808. package/dist/esm/pl-1f435988.js +0 -113
  809. package/dist/esm/popupUtils-b61d7ffd.js +0 -94
  810. package/dist/esm/pt-4a05a00d.js +0 -66
  811. package/dist/esm/pt-br-9720547b.js +0 -64
  812. package/dist/esm/publicNotificationStore-208e26f0.js +0 -45
  813. package/dist/esm/purify-909c20fa.js +0 -1713
  814. package/dist/esm/queryUtils-2529c537.js +0 -244
  815. package/dist/esm/refine-selection.entry.js +0 -407
  816. package/dist/esm/resources-0f8db821.js +0 -45
  817. package/dist/esm/resources-3c6947d3.js +0 -26
  818. package/dist/esm/resources-47b3ca40.js +0 -106
  819. package/dist/esm/resources-667afb5d.js +0 -27
  820. package/dist/esm/resources-9b2084c6.js +0 -24
  821. package/dist/esm/resources-bb6c11c3.js +0 -49
  822. package/dist/esm/ro-f87076a1.js +0 -65
  823. package/dist/esm/ru-e69ca895.js +0 -125
  824. package/dist/esm/shadow-css-f5236d52.js +0 -481
  825. package/dist/esm/shared-list-render-a572ef93.js +0 -348
  826. package/dist/esm/sk-d632e850.js +0 -147
  827. package/dist/esm/sl-5099fa6f.js +0 -167
  828. package/dist/esm/solution-contents.entry.js +0 -80
  829. package/dist/esm/solution-item-details.entry.js +0 -195
  830. package/dist/esm/solution-item-sharing.entry.js +0 -135
  831. package/dist/esm/solution-item.entry.js +0 -102
  832. package/dist/esm/solution-organization-variables.entry.js +0 -91
  833. package/dist/esm/solution-resource-item.entry.js +0 -280
  834. package/dist/esm/solution-spatial-ref.entry.js +0 -154
  835. package/dist/esm/solution-store-31cccb90.js +0 -587
  836. package/dist/esm/solution-template-data.entry.js +0 -115
  837. package/dist/esm/solution-variables.entry.js +0 -103
  838. package/dist/esm/sortableComponent-e715a3dd.js +0 -3439
  839. package/dist/esm/sr-944b7fd7.js +0 -100
  840. package/dist/esm/store-194c1a01.js +0 -87
  841. package/dist/esm/sv-e481fa6a.js +0 -70
  842. package/dist/esm/t9n-b39c5433.js +0 -98
  843. package/dist/esm/th-60961669.js +0 -64
  844. package/dist/esm/time-4a90614b.js +0 -274
  845. package/dist/esm/tr-eba8dd86.js +0 -65
  846. package/dist/esm/uk-ec375ce0.js +0 -103
  847. package/dist/esm/utils-32df4a1e.js +0 -133
  848. package/dist/esm/utils-57e2ccde.js +0 -61
  849. package/dist/esm/utils-7db4ecdc.js +0 -100
  850. package/dist/esm/utils-95e9dd51.js +0 -55
  851. package/dist/esm/utils-cfbe589a.js +0 -208
  852. package/dist/esm/vi-29345f79.js +0 -69
  853. package/dist/esm/zh-cn-32c7c714.js +0 -93
  854. package/dist/esm/zh-hk-7c770845.js +0 -70
  855. package/dist/esm/zh-tw-c318be5c.js +0 -91
  856. package/dist/solutions-components/ExpandToggle-22fd2faa.js +0 -110
  857. package/dist/solutions-components/FloatingArrow-de6fd1c7.js +0 -48
  858. package/dist/solutions-components/Heading-f003a141.js +0 -22
  859. package/dist/solutions-components/InitiativeUiSchemaEdit-8ddacfe8.js +0 -26
  860. package/dist/solutions-components/ProjectUiSchemaCreate-dd179c0f.js +0 -124
  861. package/dist/solutions-components/ProjectUiSchemaEdit-fbfdf6e4.js +0 -176
  862. package/dist/solutions-components/Validation-59a77488.js +0 -18
  863. package/dist/solutions-components/_commonjsHelpers-3cd6d4ee.js +0 -49
  864. package/dist/solutions-components/app-globals-928553ab.js +0 -67
  865. package/dist/solutions-components/ar-75ffdabb.js +0 -103
  866. package/dist/solutions-components/arcgis-login.entry.js +0 -56
  867. package/dist/solutions-components/array-396bdf3c.js +0 -15
  868. package/dist/solutions-components/basemap-gallery.entry.js +0 -117
  869. package/dist/solutions-components/bg-fac0bf10.js +0 -81
  870. package/dist/solutions-components/breakpoints-f0f1417d.js +0 -15
  871. package/dist/solutions-components/browser-b8d08bed.js +0 -26
  872. package/dist/solutions-components/bs-c03c8ef2.js +0 -50
  873. package/dist/solutions-components/buffer-tools.entry.js +0 -253
  874. package/dist/solutions-components/ca-29e49f82.js +0 -70
  875. package/dist/solutions-components/calcite-accordion-item.entry.js +0 -176
  876. package/dist/solutions-components/calcite-accordion.entry.js +0 -81
  877. package/dist/solutions-components/calcite-action-bar.entry.js +0 -252
  878. package/dist/solutions-components/calcite-action-group.entry.js +0 -112
  879. package/dist/solutions-components/calcite-action-menu.entry.js +0 -291
  880. package/dist/solutions-components/calcite-action-pad.entry.js +0 -165
  881. package/dist/solutions-components/calcite-action.entry.js +0 -184
  882. package/dist/solutions-components/calcite-alert.entry.js +0 -318
  883. package/dist/solutions-components/calcite-avatar.entry.js +0 -146
  884. package/dist/solutions-components/calcite-block-section.entry.js +0 -162
  885. package/dist/solutions-components/calcite-block.entry.js +0 -210
  886. package/dist/solutions-components/calcite-button.entry.js +0 -227
  887. package/dist/solutions-components/calcite-card.entry.js +0 -132
  888. package/dist/solutions-components/calcite-checkbox.entry.js +0 -134
  889. package/dist/solutions-components/calcite-chip-group.entry.js +0 -175
  890. package/dist/solutions-components/calcite-chip.entry.js +0 -258
  891. package/dist/solutions-components/calcite-color-picker-hex-input.entry.js +0 -270
  892. package/dist/solutions-components/calcite-color-picker-swatch.entry.js +0 -95
  893. package/dist/solutions-components/calcite-color-picker.entry.js +0 -906
  894. package/dist/solutions-components/calcite-combobox-item-group.entry.js +0 -56
  895. package/dist/solutions-components/calcite-combobox-item.entry.js +0 -141
  896. package/dist/solutions-components/calcite-combobox.entry.js +0 -1427
  897. package/dist/solutions-components/calcite-date-picker-day.entry.js +0 -93
  898. package/dist/solutions-components/calcite-date-picker-month-header.entry.js +0 -203
  899. package/dist/solutions-components/calcite-date-picker-month.entry.js +0 -358
  900. package/dist/solutions-components/calcite-date-picker.entry.js +0 -456
  901. package/dist/solutions-components/calcite-dropdown-group.entry.js +0 -81
  902. package/dist/solutions-components/calcite-dropdown-item.entry.js +0 -184
  903. package/dist/solutions-components/calcite-dropdown.entry.js +0 -426
  904. package/dist/solutions-components/calcite-fab.entry.js +0 -90
  905. package/dist/solutions-components/calcite-filter.entry.js +0 -175
  906. package/dist/solutions-components/calcite-flow-item.entry.js +0 -194
  907. package/dist/solutions-components/calcite-flow.entry.js +0 -149
  908. package/dist/solutions-components/calcite-graph.entry.js +0 -222
  909. package/dist/solutions-components/calcite-handle.entry.js +0 -200
  910. package/dist/solutions-components/calcite-icon.entry.js +0 -179
  911. package/dist/solutions-components/calcite-inline-editable.entry.js +0 -253
  912. package/dist/solutions-components/calcite-input-date-picker.entry.js +0 -740
  913. package/dist/solutions-components/calcite-input-message.entry.js +0 -66
  914. package/dist/solutions-components/calcite-input-number.entry.js +0 -610
  915. package/dist/solutions-components/calcite-input-text.entry.js +0 -349
  916. package/dist/solutions-components/calcite-input-time-picker-e5cd4d26.js +0 -1851
  917. package/dist/solutions-components/calcite-input-time-picker.entry.js +0 -25
  918. package/dist/solutions-components/calcite-input-time-zone.entry.js +0 -332
  919. package/dist/solutions-components/calcite-input.entry.js +0 -691
  920. package/dist/solutions-components/calcite-label.entry.js +0 -67
  921. package/dist/solutions-components/calcite-link.entry.js +0 -108
  922. package/dist/solutions-components/calcite-list-item-group.entry.js +0 -69
  923. package/dist/solutions-components/calcite-list-item.entry.js +0 -450
  924. package/dist/solutions-components/calcite-list.entry.js +0 -563
  925. package/dist/solutions-components/calcite-loader.entry.js +0 -76
  926. package/dist/solutions-components/calcite-menu-item.entry.js +0 -281
  927. package/dist/solutions-components/calcite-menu.entry.js +0 -180
  928. package/dist/solutions-components/calcite-meter.entry.js +0 -332
  929. package/dist/solutions-components/calcite-modal.entry.js +0 -394
  930. package/dist/solutions-components/calcite-navigation-logo.entry.js +0 -84
  931. package/dist/solutions-components/calcite-navigation-user.entry.js +0 -68
  932. package/dist/solutions-components/calcite-navigation.entry.js +0 -166
  933. package/dist/solutions-components/calcite-notice.entry.js +0 -163
  934. package/dist/solutions-components/calcite-option-group.entry.js +0 -35
  935. package/dist/solutions-components/calcite-option.entry.js +0 -84
  936. package/dist/solutions-components/calcite-pagination.entry.js +0 -554
  937. package/dist/solutions-components/calcite-panel.entry.js +0 -266
  938. package/dist/solutions-components/calcite-pick-list-group.entry.js +0 -57
  939. package/dist/solutions-components/calcite-pick-list-item.entry.js +0 -193
  940. package/dist/solutions-components/calcite-pick-list.entry.js +0 -142
  941. package/dist/solutions-components/calcite-popover.entry.js +0 -414
  942. package/dist/solutions-components/calcite-progress.entry.js +0 -37
  943. package/dist/solutions-components/calcite-radio-button-group.entry.js +0 -141
  944. package/dist/solutions-components/calcite-radio-button.entry.js +0 -318
  945. package/dist/solutions-components/calcite-rating.entry.js +0 -261
  946. package/dist/solutions-components/calcite-scrim.entry.js +0 -121
  947. package/dist/solutions-components/calcite-segmented-control-item.entry.js +0 -66
  948. package/dist/solutions-components/calcite-segmented-control.entry.js +0 -241
  949. package/dist/solutions-components/calcite-select.entry.js +0 -231
  950. package/dist/solutions-components/calcite-sheet.entry.js +0 -223
  951. package/dist/solutions-components/calcite-shell-center-row.entry.js +0 -66
  952. package/dist/solutions-components/calcite-shell-panel.entry.js +0 -410
  953. package/dist/solutions-components/calcite-shell.entry.js +0 -170
  954. package/dist/solutions-components/calcite-slider.entry.js +0 -840
  955. package/dist/solutions-components/calcite-sortable-list.entry.js +0 -166
  956. package/dist/solutions-components/calcite-split-button.entry.js +0 -112
  957. package/dist/solutions-components/calcite-stack.entry.js +0 -70
  958. package/dist/solutions-components/calcite-stepper-item.entry.js +0 -238
  959. package/dist/solutions-components/calcite-stepper.entry.js +0 -377
  960. package/dist/solutions-components/calcite-switch.entry.js +0 -113
  961. package/dist/solutions-components/calcite-tab-nav.entry.js +0 -259
  962. package/dist/solutions-components/calcite-tab-title.entry.js +0 -287
  963. package/dist/solutions-components/calcite-tab.entry.js +0 -108
  964. package/dist/solutions-components/calcite-table-cell.entry.js +0 -152
  965. package/dist/solutions-components/calcite-table-header.entry.js +0 -165
  966. package/dist/solutions-components/calcite-table-row.entry.js +0 -244
  967. package/dist/solutions-components/calcite-table.entry.js +0 -314
  968. package/dist/solutions-components/calcite-tabs.entry.js +0 -174
  969. package/dist/solutions-components/calcite-text-area.entry.js +0 -276
  970. package/dist/solutions-components/calcite-tile-select-group.entry.js +0 -39
  971. package/dist/solutions-components/calcite-tile-select.entry.js +0 -225
  972. package/dist/solutions-components/calcite-tile.entry.js +0 -75
  973. package/dist/solutions-components/calcite-time-picker.entry.js +0 -839
  974. package/dist/solutions-components/calcite-tip-group.entry.js +0 -21
  975. package/dist/solutions-components/calcite-tip-manager.entry.js +0 -227
  976. package/dist/solutions-components/calcite-tip.entry.js +0 -126
  977. package/dist/solutions-components/calcite-tooltip.entry.js +0 -434
  978. package/dist/solutions-components/calcite-tree-item.entry.js +0 -292
  979. package/dist/solutions-components/calcite-tree.entry.js +0 -311
  980. package/dist/solutions-components/calcite-value-list-item.entry.js +0 -153
  981. package/dist/solutions-components/calcite-value-list.entry.js +0 -322
  982. package/dist/solutions-components/card-manager.entry.js +0 -103
  983. package/dist/solutions-components/common-7e0dcaa2.js +0 -295
  984. package/dist/solutions-components/component-edd2c3cd.js +0 -30
  985. package/dist/solutions-components/conditionalSlot-a395417e.js +0 -60
  986. package/dist/solutions-components/consent-manager.entry.js +0 -2139
  987. package/dist/solutions-components/create-feature.entry.js +0 -259
  988. package/dist/solutions-components/crowdsource-manager.entry.js +0 -494
  989. package/dist/solutions-components/crowdsource-reporter.entry.js +0 -557
  990. package/dist/solutions-components/cs-04f36d01.js +0 -146
  991. package/dist/solutions-components/da-5a3b8600.js +0 -65
  992. package/dist/solutions-components/date-74c7f03b.js +0 -245
  993. package/dist/solutions-components/de-579cda2e.js +0 -90
  994. package/dist/solutions-components/de-at-52bf1c4c.js +0 -89
  995. package/dist/solutions-components/de-ch-12d03480.js +0 -89
  996. package/dist/solutions-components/deduct-calculator.entry.js +0 -101
  997. package/dist/solutions-components/delete-button.entry.js +0 -146
  998. package/dist/solutions-components/dom-b91aa537.js +0 -1083
  999. package/dist/solutions-components/downloadUtils-b3220f86.js +0 -4240
  1000. package/dist/solutions-components/edit-card.entry.js +0 -224
  1001. package/dist/solutions-components/el-c18d3ea4.js +0 -65
  1002. package/dist/solutions-components/en-au-2599e6da.js +0 -65
  1003. package/dist/solutions-components/en-ca-8cfbe6bc.js +0 -64
  1004. package/dist/solutions-components/en-gb-5e4e8a1e.js +0 -68
  1005. package/dist/solutions-components/es-d86f9957.js +0 -65
  1006. package/dist/solutions-components/es-mx-f99d9fd1.js +0 -64
  1007. package/dist/solutions-components/esri-loader-af2bbfd5.js +0 -306
  1008. package/dist/solutions-components/et-8bf52e57.js +0 -91
  1009. package/dist/solutions-components/feature-comments.entry.js +0 -56
  1010. package/dist/solutions-components/feature-form-flow-item.entry.js +0 -56
  1011. package/dist/solutions-components/feature-list.entry.js +0 -195
  1012. package/dist/solutions-components/features-flow-item.entry.js +0 -56
  1013. package/dist/solutions-components/fi-aeb49e52.js +0 -114
  1014. package/dist/solutions-components/filter-0d00d2e2.js +0 -46
  1015. package/dist/solutions-components/floating-ui-b3256614.js +0 -2342
  1016. package/dist/solutions-components/floor-filter.entry.js +0 -107
  1017. package/dist/solutions-components/focusTrapComponent-2fe6623b.js +0 -1023
  1018. package/dist/solutions-components/form-f2181470.js +0 -307
  1019. package/dist/solutions-components/fr-6200cc01.js +0 -67
  1020. package/dist/solutions-components/fr-ch-df62bb30.js +0 -65
  1021. package/dist/solutions-components/guid-b75a5f7b.js +0 -24
  1022. package/dist/solutions-components/he-07ace6cb.js +0 -104
  1023. package/dist/solutions-components/helpers-85ca7251.js +0 -807
  1024. package/dist/solutions-components/hi-5aa9519e.js +0 -64
  1025. package/dist/solutions-components/hr-e0614bed.js +0 -79
  1026. package/dist/solutions-components/html2canvas-d52e7c8d.js +0 -7845
  1027. package/dist/solutions-components/hu-732fe37c.js +0 -87
  1028. package/dist/solutions-components/id-0832fc24.js +0 -65
  1029. package/dist/solutions-components/index-5110a27a.js +0 -71
  1030. package/dist/solutions-components/index-7fc1cba9.js +0 -41502
  1031. package/dist/solutions-components/index-91eeaf01.js +0 -199
  1032. package/dist/solutions-components/index-a1e91462.js +0 -2105
  1033. package/dist/solutions-components/index-b1fb529b.js +0 -1956
  1034. package/dist/solutions-components/index-bdfaac50.js +0 -4145
  1035. package/dist/solutions-components/index-d8ff08ed.js +0 -204
  1036. package/dist/solutions-components/index.es-3db60115.js +0 -11256
  1037. package/dist/solutions-components/info-card.entry.js +0 -316
  1038. package/dist/solutions-components/instant-apps-ckeditor-wrapper.entry.js +0 -121
  1039. package/dist/solutions-components/instant-apps-control-panel.entry.js +0 -94
  1040. package/dist/solutions-components/instant-apps-export.entry.js +0 -888
  1041. package/dist/solutions-components/instant-apps-filter-list.entry.js +0 -1055
  1042. package/dist/solutions-components/instant-apps-header.entry.js +0 -124
  1043. package/dist/solutions-components/instant-apps-interactive-legend-classic.entry.js +0 -1604
  1044. package/dist/solutions-components/instant-apps-interactive-legend-count.entry.js +0 -100
  1045. package/dist/solutions-components/instant-apps-interactive-legend-group-legend-element-caption.entry.js +0 -53
  1046. package/dist/solutions-components/instant-apps-interactive-legend-group-legend-element.entry.js +0 -52
  1047. package/dist/solutions-components/instant-apps-interactive-legend-layer-element-caption.entry.js +0 -51
  1048. package/dist/solutions-components/instant-apps-interactive-legend-layer-element.entry.js +0 -53
  1049. package/dist/solutions-components/instant-apps-interactive-legend-legend-element-caption.entry.js +0 -100
  1050. package/dist/solutions-components/instant-apps-interactive-legend-legend-element.entry.js +0 -61
  1051. package/dist/solutions-components/instant-apps-interactive-legend-relationship.entry.js +0 -548
  1052. package/dist/solutions-components/instant-apps-interactive-legend.entry.js +0 -112
  1053. package/dist/solutions-components/instant-apps-keyboard-shortcuts.entry.js +0 -139
  1054. package/dist/solutions-components/instant-apps-landing-page.entry.js +0 -114
  1055. package/dist/solutions-components/instant-apps-language-switcher.entry.js +0 -173
  1056. package/dist/solutions-components/instant-apps-language-translator-item.entry.js +0 -380
  1057. package/dist/solutions-components/instant-apps-language-translator-search.entry.js +0 -101
  1058. package/dist/solutions-components/instant-apps-language-translator.entry.js +0 -286
  1059. package/dist/solutions-components/instant-apps-measurement-tool.entry.js +0 -135
  1060. package/dist/solutions-components/instant-apps-measurement.entry.js +0 -66
  1061. package/dist/solutions-components/instant-apps-popover.entry.js +0 -74
  1062. package/dist/solutions-components/instant-apps-popovers.entry.js +0 -88
  1063. package/dist/solutions-components/instant-apps-scoreboard.entry.js +0 -463
  1064. package/dist/solutions-components/instant-apps-social-share.entry.js +0 -511
  1065. package/dist/solutions-components/instant-apps-splash.entry.js +0 -144
  1066. package/dist/solutions-components/interactive-71585ecc.js +0 -139
  1067. package/dist/solutions-components/interfaces-586e863c.js +0 -80
  1068. package/dist/solutions-components/it-142bc820.js +0 -65
  1069. package/dist/solutions-components/it-ch-1ad1f0ac.js +0 -65
  1070. package/dist/solutions-components/ja-6a33e9d4.js +0 -71
  1071. package/dist/solutions-components/json-editor.entry.js +0 -402
  1072. package/dist/solutions-components/key-9a10d862.js +0 -44
  1073. package/dist/solutions-components/ko-d61df01d.js +0 -71
  1074. package/dist/solutions-components/label-16184ce7.js +0 -179
  1075. package/dist/solutions-components/languageSwitcher-2a9037e5.js +0 -55
  1076. package/dist/solutions-components/languageUtil-71a7a914.js +0 -87
  1077. package/dist/solutions-components/layer-list.entry.js +0 -203
  1078. package/dist/solutions-components/layer-table.entry.js +0 -1483
  1079. package/dist/solutions-components/layout-manager.entry.js +0 -91
  1080. package/dist/solutions-components/list-flow-item.entry.js +0 -56
  1081. package/dist/solutions-components/loadModules-827c5581.js +0 -28
  1082. package/dist/solutions-components/loadModules-acccbc1c.js +0 -21
  1083. package/dist/solutions-components/loadable-aea90723.js +0 -92
  1084. package/dist/solutions-components/locale-4cfbae3e.js +0 -86
  1085. package/dist/solutions-components/locale-857f39cf.js +0 -572
  1086. package/dist/solutions-components/locale-d9463a95.js +0 -148
  1087. package/dist/solutions-components/location-flow-item.entry.js +0 -56
  1088. package/dist/solutions-components/lodash-98e4b7d0.js +0 -18025
  1089. package/dist/solutions-components/lt-652c530a.js +0 -96
  1090. package/dist/solutions-components/lv-84e48ed0.js +0 -65
  1091. package/dist/solutions-components/map-card.entry.js +0 -188
  1092. package/dist/solutions-components/map-draw-tools.entry.js +0 -354
  1093. package/dist/solutions-components/map-fullscreen.entry.js +0 -112
  1094. package/dist/solutions-components/map-layer-picker.entry.js +0 -342
  1095. package/dist/solutions-components/map-legend.entry.js +0 -105
  1096. package/dist/solutions-components/map-picker.entry.js +0 -170
  1097. package/dist/solutions-components/map-search.entry.js +0 -180
  1098. package/dist/solutions-components/map-select-tools.entry.js +0 -794
  1099. package/dist/solutions-components/map-tools.entry.js +0 -371
  1100. package/dist/solutions-components/mapViewUtils-436a516e.js +0 -261
  1101. package/dist/solutions-components/math-efada7a9.js +0 -54
  1102. package/dist/solutions-components/mk-bbf2ee01.js +0 -65
  1103. package/dist/solutions-components/mode-f9bfc4e9.js +0 -25
  1104. package/dist/solutions-components/nb-ccfaa0f7.js +0 -66
  1105. package/dist/solutions-components/nl-4bc56289.js +0 -66
  1106. package/dist/solutions-components/observers-5ba39eee.js +0 -56
  1107. package/dist/solutions-components/openCloseComponent-b4b3788b.js +0 -138
  1108. package/dist/solutions-components/parser-87982ce2.js +0 -1654
  1109. package/dist/solutions-components/pci-calculator.entry.js +0 -113
  1110. package/dist/solutions-components/pciUtils-73d4b6b4.js +0 -844
  1111. package/dist/solutions-components/pdf-download.entry.js +0 -355
  1112. package/dist/solutions-components/pl-1f435988.js +0 -113
  1113. package/dist/solutions-components/popupUtils-b61d7ffd.js +0 -94
  1114. package/dist/solutions-components/pt-4a05a00d.js +0 -66
  1115. package/dist/solutions-components/pt-br-9720547b.js +0 -64
  1116. package/dist/solutions-components/public-notification.entry.js +0 -886
  1117. package/dist/solutions-components/publicNotificationStore-208e26f0.js +0 -45
  1118. package/dist/solutions-components/purify-909c20fa.js +0 -1713
  1119. package/dist/solutions-components/queryUtils-2529c537.js +0 -244
  1120. package/dist/solutions-components/refine-results-flow-item.entry.js +0 -56
  1121. package/dist/solutions-components/refine-selection.entry.js +0 -407
  1122. package/dist/solutions-components/resources-0f8db821.js +0 -45
  1123. package/dist/solutions-components/resources-20074cb1.js +0 -24
  1124. package/dist/solutions-components/resources-3709252d.js +0 -35
  1125. package/dist/solutions-components/resources-3c6947d3.js +0 -26
  1126. package/dist/solutions-components/resources-47b3ca40.js +0 -106
  1127. package/dist/solutions-components/resources-667afb5d.js +0 -27
  1128. package/dist/solutions-components/resources-88a48c5c.js +0 -20
  1129. package/dist/solutions-components/resources-9b2084c6.js +0 -24
  1130. package/dist/solutions-components/resources-9b7e72d5.js +0 -20
  1131. package/dist/solutions-components/resources-b0e2b809.js +0 -22
  1132. package/dist/solutions-components/resources-bb6c11c3.js +0 -49
  1133. package/dist/solutions-components/ro-f87076a1.js +0 -65
  1134. package/dist/solutions-components/ru-e69ca895.js +0 -125
  1135. package/dist/solutions-components/shadow-css-f5236d52.js +0 -481
  1136. package/dist/solutions-components/share-item.entry.js +0 -56
  1137. package/dist/solutions-components/shared-list-render-a572ef93.js +0 -348
  1138. package/dist/solutions-components/sk-d632e850.js +0 -147
  1139. package/dist/solutions-components/sl-5099fa6f.js +0 -167
  1140. package/dist/solutions-components/solution-configuration.entry.js +0 -906
  1141. package/dist/solutions-components/solution-contents.entry.js +0 -80
  1142. package/dist/solutions-components/solution-item-details.entry.js +0 -195
  1143. package/dist/solutions-components/solution-item-icon.entry.js +0 -323
  1144. package/dist/solutions-components/solution-item-sharing.entry.js +0 -135
  1145. package/dist/solutions-components/solution-item.entry.js +0 -102
  1146. package/dist/solutions-components/solution-organization-variables.entry.js +0 -91
  1147. package/dist/solutions-components/solution-resource-item.entry.js +0 -280
  1148. package/dist/solutions-components/solution-spatial-ref.entry.js +0 -154
  1149. package/dist/solutions-components/solution-store-31cccb90.js +0 -587
  1150. package/dist/solutions-components/solution-template-data.entry.js +0 -115
  1151. package/dist/solutions-components/solution-variables.entry.js +0 -103
  1152. package/dist/solutions-components/sortableComponent-e715a3dd.js +0 -3439
  1153. package/dist/solutions-components/spatial-ref.entry.js +0 -21296
  1154. package/dist/solutions-components/sr-944b7fd7.js +0 -100
  1155. package/dist/solutions-components/store-194c1a01.js +0 -87
  1156. package/dist/solutions-components/store-manager.entry.js +0 -61
  1157. package/dist/solutions-components/styles-367380b5.js +0 -11
  1158. package/dist/solutions-components/sv-e481fa6a.js +0 -70
  1159. package/dist/solutions-components/t9n-b39c5433.js +0 -98
  1160. package/dist/solutions-components/th-60961669.js +0 -64
  1161. package/dist/solutions-components/time-4a90614b.js +0 -274
  1162. package/dist/solutions-components/tr-eba8dd86.js +0 -65
  1163. package/dist/solutions-components/uk-ec375ce0.js +0 -103
  1164. package/dist/solutions-components/utils-32df4a1e.js +0 -133
  1165. package/dist/solutions-components/utils-57e2ccde.js +0 -61
  1166. package/dist/solutions-components/utils-7db4ecdc.js +0 -100
  1167. package/dist/solutions-components/utils-95e9dd51.js +0 -55
  1168. package/dist/solutions-components/utils-cfbe589a.js +0 -208
  1169. package/dist/solutions-components/vi-29345f79.js +0 -69
  1170. package/dist/solutions-components/zh-cn-32c7c714.js +0 -93
  1171. package/dist/solutions-components/zh-hk-7c770845.js +0 -70
  1172. package/dist/solutions-components/zh-tw-c318be5c.js +0 -91
@@ -3,13 +3,12 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import { r as registerInstance, e as createEvent, h, a as Host, g as getElement } from './index-bdfaac50.js';
7
- import { g as getLocaleComponentStrings } from './locale-d9463a95.js';
8
- import { n as nodeListToArray } from './common-7e0dcaa2.js';
9
- import './loadModules-827c5581.js';
10
- import './esri-loader-af2bbfd5.js';
11
- import './_commonjsHelpers-3cd6d4ee.js';
12
- import './index-7fc1cba9.js';
6
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-164d485a.js';
7
+ import { g as getLocaleComponentStrings } from './locale-bcbea4ef.js';
8
+ import { n as nodeListToArray } from './common-06bcfe81.js';
9
+ import './esri-loader-1b324844.js';
10
+ import './_commonjsHelpers-0f74c230.js';
11
+ import './solution-resource-77aa99c8.js';
13
12
  import './index-a1e91462.js';
14
13
  import './interfaces-586e863c.js';
15
14
 
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import { r as registerInstance, e as createEvent, g as getElement } from './index-bdfaac50.js';
6
+ import { r as registerInstance, c as createEvent, g as getElement } from './index-164d485a.js';
7
7
 
8
8
  const StoreManager = class {
9
9
  constructor(hostRef) {
@@ -3,18 +3,3 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- /** @license
7
- * Copyright 2022 Esri
8
- *
9
- * Licensed under the Apache License, Version 2.0 (the "License");
10
- * you may not use this file except in compliance with the License.
11
- * You may obtain a copy of the License at
12
- *
13
- * http://www.apache.org/licenses/LICENSE-2.0
14
- *
15
- * Unless required by applicable law or agreed to in writing, software
16
- * distributed under the License is distributed on an "AS IS" BASIS,
17
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
- * See the License for the specific language governing permissions and
19
- * limitations under the License.
20
- */
@@ -310,7 +310,7 @@ function(t){var n=function(t){for(var n=t.length,i=new Uint8Array(n),r=0;r<n;r++
310
310
  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
311
311
  * ====================================================================
312
312
  */
313
- function(){function t(){return(Z.canvg?Promise.resolve(Z.canvg):import("./p-b4913a01.js")).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}Pt.API.addSvgAsImage=function(n,i,r,e,s,o,a,u){if(isNaN(i)||isNaN(r))throw tt.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(e)||isNaN(s))throw tt.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var f=document.createElement("canvas");f.width=e,f.height=s;var c=f.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,f.width,f.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},l=this;return t().then((function(t){return t.fromString(c,n,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(h)})).then((function(){l.addImage(f.toDataURL("image/jpeg",1),i,r,e,s,a,u)}))}}(),Pt.API.putTotalPages=function(t){var n,i=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(n=new RegExp(t,"g"),i=this.internal.getNumberOfPages()):(n=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),i=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var e=0;e<this.internal.pages[r].length;e++)this.internal.pages[r][e]=this.internal.pages[r][e].replace(n,i);return this},Pt.API.viewerPreferences=function(t,n){var i;t=t||{},n=n||!1;var r,e,s,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},a=Object.keys(o),u=[],f=0,c=0,h=0;function v(t,n){var i,r=!1;for(i=0;i<t.length;i+=1)t[i]===n&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),i=this.internal.viewerpreferences.configuration,"reset"===t||!0===n){var d=a.length;for(h=0;h<d;h+=1)i[a[h]].value=i[a[h]].defaultValue,i[a[h]].explicitSet=!1}if("object"===l(t))for(e in t)if(s=t[e],v(a,e)&&void 0!==s){if("boolean"===i[e].type&&"boolean"==typeof s)i[e].value=s;else if("name"===i[e].type&&v(i[e].valueSet,s))i[e].value=s;else if("integer"===i[e].type&&Number.isInteger(s))i[e].value=s;else if("array"===i[e].type){for(f=0;f<s.length;f+=1)if(r=!0,1===s[f].length&&"number"==typeof s[f][0])u.push(String(s[f]-1));else if(s[f].length>1){for(c=0;c<s[f].length;c+=1)"number"!=typeof s[f][c]&&(r=!1);!0===r&&u.push([s[f][0]-1,s[f][1]-1].join(" "))}i[e].value="["+u.join(" ")+"]"}else i[e].value=i[e].defaultValue;i[e].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,n=[];for(t in i)!0===i[t].explicitSet&&n.push("name"===i[t].type?"/"+t+" /"+i[t].value:"/"+t+" "+i[t].value);0!==n.length&&this.internal.write("/ViewerPreferences\n<<\n"+n.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=i,this
313
+ function(){function t(){return(Z.canvg?Promise.resolve(Z.canvg):import("./p-590a2a26.js")).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}Pt.API.addSvgAsImage=function(n,i,r,e,s,o,a,u){if(isNaN(i)||isNaN(r))throw tt.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(e)||isNaN(s))throw tt.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var f=document.createElement("canvas");f.width=e,f.height=s;var c=f.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,f.width,f.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},l=this;return t().then((function(t){return t.fromString(c,n,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(h)})).then((function(){l.addImage(f.toDataURL("image/jpeg",1),i,r,e,s,a,u)}))}}(),Pt.API.putTotalPages=function(t){var n,i=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(n=new RegExp(t,"g"),i=this.internal.getNumberOfPages()):(n=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),i=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var e=0;e<this.internal.pages[r].length;e++)this.internal.pages[r][e]=this.internal.pages[r][e].replace(n,i);return this},Pt.API.viewerPreferences=function(t,n){var i;t=t||{},n=n||!1;var r,e,s,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},a=Object.keys(o),u=[],f=0,c=0,h=0;function v(t,n){var i,r=!1;for(i=0;i<t.length;i+=1)t[i]===n&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),i=this.internal.viewerpreferences.configuration,"reset"===t||!0===n){var d=a.length;for(h=0;h<d;h+=1)i[a[h]].value=i[a[h]].defaultValue,i[a[h]].explicitSet=!1}if("object"===l(t))for(e in t)if(s=t[e],v(a,e)&&void 0!==s){if("boolean"===i[e].type&&"boolean"==typeof s)i[e].value=s;else if("name"===i[e].type&&v(i[e].valueSet,s))i[e].value=s;else if("integer"===i[e].type&&Number.isInteger(s))i[e].value=s;else if("array"===i[e].type){for(f=0;f<s.length;f+=1)if(r=!0,1===s[f].length&&"number"==typeof s[f][0])u.push(String(s[f]-1));else if(s[f].length>1){for(c=0;c<s[f].length;c+=1)"number"!=typeof s[f][c]&&(r=!1);!0===r&&u.push([s[f][0]-1,s[f][1]-1].join(" "))}i[e].value="["+u.join(" ")+"]"}else i[e].value=i[e].defaultValue;i[e].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,n=[];for(t in i)!0===i[t].explicitSet&&n.push("name"===i[t].type?"/"+t+" /"+i[t].value:"/"+t+" "+i[t].value);0!==n.length&&this.internal.write("/ViewerPreferences\n<<\n"+n.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=i,this
314
314
  /** ====================================================================
315
315
  * @license
316
316
  * jsPDF XMP metadata plugin
@@ -486,4 +486,4 @@ function(t,n){const i=n.map((t=>Object.values(t).map((t=>`"${t}"`)).join(",")+"\
486
486
  * See the License for the specific language governing permissions and
487
487
  * limitations under the License.
488
488
  */
489
- function(t,n){const i=document.createElement("a");void 0!==i.download&&(i.href=URL.createObjectURL(new Blob(n,{type:"text/csv;charset=utf-8;"})),i.download=`${t}.csv`||"export.csv",i.style.visibility="hidden",document.body.appendChild(i),i.click(),document.body.removeChild(i))}(t,i)}(qi(Ei(n,new RegExp(`\\b${i}\\b`))),c),c=[])})),Promise.resolve()}async function yi(t,n,r,e=!1,s="",o=""){let a=await gi(t,n);const u=Ei(n);return a=a.map((t=>t.filter((t=>t.length>0)))).filter((t=>t.length>0)),a=e?ki(a):a,function(t,n,r,e="",s=""){!function(t,n,r,e="",s=""){const o=new bi;o.initialize({pageType:"ANSI_A"},i("../assets/arcgis-pdf-creator/"),"en",t).then((()=>{const t=new pi;t.initialize(o).then((async()=>{const i=r.labelSpec;let a=1;if(s){const r=i.pageProperties,u=c.getPageSize(r.pageType);o.drawImage(s,{x:r.leftMargin,y:r.topMargin,width:u.width-r.leftMargin-r.rightMargin,height:u.height-r.topMargin-r.bottomMargin}),e&&t.drawSupplementalText(e,0,-.1),n.length>0&&(o.addPage(),++a)}await t.addLabelsToDoc(n,i,a,e),o.save()}))}))}(t,n,r,e,s)}(s||qi(u),a,r,s,o),Promise.resolve()}function ki(t){const n=t.map((t=>JSON.stringify(t))),i=new Set(n);return Array.from(i,(t=>JSON.parse(t)))}function Si(t){for(t=(t=(t=(t=(t=(t=t.replace(/<br\s*\/?>/gi,Li)).replace(/<p[^>]*>/gi,Li).trim().replace(/^\|/,"")).replace(/<\/p>/gi,"")).replace(/\n/gi,"|")).replace(/<[\s.]*[^<>]*\/?>/gi,"").replace(/\xA0/gi," ").replace(/&lt;/gi,"<").replace(/&gt;/gi,">").replace(/&nbsp;/gi," ")).replace(/\s*\|\s*/g,"|");t.match(/\|\|/);)t=t.replace(/\|\|/,"|");return(t=t.replace(/^\|/,"")).replace(/\|$/,"")}function xi(t,n=!1){const i=[];return t.forEach((t=>{(t.visible||n)&&i.push(`{${t.fieldName}}`)})),{type:"pattern",format:i.join(Li)}}function qi(t){return t.length>0?t.join(", "):"download"}function ji(t,n=[],i=0){return function(t){var n=function(t,n,i){var r=s(s({params:{}},i),t);return r.params=["objectIds","relationshipId","definitionExpression","outFields"].reduce((function(n,i){return(t[i]||"boolean"==typeof t[i])&&(n[i]=t[i]),n}),r.params),["params","httpMethod","rawResponse","authentication","portal","fetch","maxUrlLength","headers"].reduce((function(t,n){return r[n]&&(t[n]=r[n]),t}),{})}(t,0,{httpMethod:"GET",params:Ni({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return o(a(t.url)+"/queryRelatedRecords",n)}(Object.assign(Object.assign({},t),{params:{resultOffset:i}})).then((r=>(n.push(...r.relatedRecordGroups),r.exceededTransferLimit?ji(t,n,i+r.relatedRecordGroups.length):Promise.resolve(n))))}async function Mi(t,n,i){var e,s;let o={layer:n,attributeFormats:{},relationshipId:void 0,labelFormat:{type:"unsupported",format:void 0}};if(n.popupEnabled&&(n.popupTemplate.fieldInfos.forEach((t=>{t.format&&(o.attributeFormats[t.fieldName.toLowerCase()]=t.format)})),i)){const a=null===(s=null===(e=n.popupTemplate)||void 0===e?void 0:e.content[0])||void 0===s?void 0:s.type;if("relationship"===a){const r=n.popupTemplate.content[0].relationshipId,e=n.relationships.find((t=>t.id===r));let s=t.layers.toArray().concat(t.tables.toArray());if(s=s.filter((t=>"feature"===t.type&&t.layerId===e.relatedTableId)),s.length>0)o=await Mi(t,s[0],i),o.relationshipId=r;else{s=t.layers.toArray().concat(t.tables.toArray());const e=[];let a;s=s.filter((t=>{if("feature"===t.type&&t.layerId!=n.layerId&&t.url){const n=t.url+"/"+t.layerId.toString();return e.push(u(n)),!0}return!1})),(await Promise.all(e)).some(((n,e)=>!(!n.relationships||!n.relationships.some((t=>t.id===r))||(a=Mi(t,s[e],i),0))))?(o=await a,o.relationshipId=r):o.labelFormat=xi(n.popupTemplate.fieldInfos)}}else"fields"===a?(o.labelFormat=xi(n.popupTemplate.fieldInfos),0===o.labelFormat.format.length&&(o.labelFormat=n.popupTemplate.title&&"string"==typeof n.popupTemplate.title?{type:"pattern",format:n.popupTemplate.title}:xi(n.popupTemplate.fieldInfos,!0))):o.labelFormat="text"===a?{type:"pattern",format:Si(n.popupTemplate.content[0].text)}:"expression"===a?await async function(t){const[n]=await r(["esri/arcade"]),i=await n.createArcadeExecutor(t.expression,{variables:[{name:"$feature",type:"feature"},{name:"$layer",type:"featureSet"},{name:"$datastore",type:"featureSetCollection"},{name:"$map",type:"featureSetCollection"}]});return Promise.resolve({type:"executor",format:i})}(n.popupTemplate.content[0].expressionInfo):xi(n.popupTemplate.fieldInfos)}return Promise.resolve(o)}function Ei(t,n=/.+/){let i=[];return Object.keys(t).forEach((r=>{const e=t[r];n.test(r)&&(i=i.concat(e.selectionSetNames))})),i}function Pi(t,n,i,r,e){if(null==t)return"";if(i&&"coded-value"===i.type){const n=i.getName(t);return null==n?void 0:n.toString()}{let i=t;switch(n){case"date":if(null==r?void 0:r.dateFormat){const t=e.convertDateFormatToIntlOptions(r.dateFormat);i=e.formatDate(i,t)}else i=e.formatDate(i);i=i.replace(/\xe2\x80\xaf/g,"");break;case"date-only":if(null==r?void 0:r.dateFormat){const t=e.convertDateFormatToIntlOptions(r.dateFormat);i=e.formatDateOnly(i,t)}else i=e.formatDateOnly(i);break;case"time-only":if(null==r?void 0:r.dateFormat){const t=e.convertDateFormatToIntlOptions(r.dateFormat);i=e.formatTimeOnly(i,t)}else i=e.formatTimeOnly(i);break;case"double":case"integer":case"long":case"small-integer":if(r){const t=e.convertNumberFormatToIntlOptions(r);i=e.formatNumber(i,t)}else i=e.formatNumber(i)}return i}}export{h as _,yi as a,gi as c,Ai as d,ki as r}
489
+ function(t,n){const i=document.createElement("a");void 0!==i.download&&(i.href=URL.createObjectURL(new Blob(n,{type:"text/csv;charset=utf-8;"})),i.download=`${t}.csv`||"export.csv",i.style.visibility="hidden",document.body.appendChild(i),i.click(),document.body.removeChild(i))}(t,i)}(qi(Ei(n,new RegExp(`\\b${i}\\b`))),c),c=[])})),Promise.resolve()}async function yi(t,n,r,e=!1,s="",o=""){let a=await gi(t,n);const u=Ei(n);return a=a.map((t=>t.filter((t=>t.length>0)))).filter((t=>t.length>0)),a=e?ki(a):a,function(t,n,r,e="",s=""){!function(t,n,r,e="",s=""){const o=new bi;o.initialize({pageType:"ANSI_A"},i("../assets/arcgis-pdf-creator/"),"en",t).then((()=>{const t=new pi;t.initialize(o).then((async()=>{const i=r.labelSpec;let a=1;if(s){const r=i.pageProperties,u=c.getPageSize(r.pageType);o.drawImage(s,{x:r.leftMargin,y:r.topMargin,width:u.width-r.leftMargin-r.rightMargin,height:u.height-r.topMargin-r.bottomMargin}),e&&t.drawSupplementalText(e,0,-.1),n.length>0&&(o.addPage(),++a)}await t.addLabelsToDoc(n,i,a,e),o.save()}))}))}(t,n,r,e,s)}(s||qi(u),a,r,s,o),Promise.resolve()}function ki(t){const n=t.map((t=>JSON.stringify(t))),i=new Set(n);return Array.from(i,(t=>JSON.parse(t)))}function Si(t){for(t=(t=(t=(t=(t=(t=t.replace(/<br\s*\/?>/gi,Li)).replace(/<p[^>]*>/gi,Li).trim().replace(/^\|/,"")).replace(/<\/p>/gi,"")).replace(/\n/gi,"|")).replace(/<[\s.]*[^<>]*\/?>/gi,"").replace(/\xA0/gi," ").replace(/&lt;/gi,"<").replace(/&gt;/gi,">").replace(/&nbsp;/gi," ")).replace(/\s*\|\s*/g,"|");t.match(/\|\|/);)t=t.replace(/\|\|/,"|");return(t=t.replace(/^\|/,"")).replace(/\|$/,"")}function xi(t,n=!1){const i=[];return t.forEach((t=>{(t.visible||n)&&i.push(`{${t.fieldName}}`)})),{type:"pattern",format:i.join(Li)}}function qi(t){return t.length>0?t.join(", "):"download"}function ji(t,n=[],i=0){return function(t){var n=function(t,n,i){var r=s(s({params:{}},i),t);return r.params=["objectIds","relationshipId","definitionExpression","outFields"].reduce((function(n,i){return(t[i]||"boolean"==typeof t[i])&&(n[i]=t[i]),n}),r.params),["params","httpMethod","rawResponse","authentication","portal","fetch","maxUrlLength","headers"].reduce((function(t,n){return r[n]&&(t[n]=r[n]),t}),{})}(t,0,{httpMethod:"GET",params:Ni({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return o(a(t.url)+"/queryRelatedRecords",n)}(Object.assign(Object.assign({},t),{params:{resultOffset:i}})).then((r=>(n.push(...r.relatedRecordGroups),r.exceededTransferLimit?ji(t,n,i+r.relatedRecordGroups.length):Promise.resolve(n))))}async function Mi(t,n,i){var e,s;let o={layer:n,attributeFormats:{},relationshipId:void 0,labelFormat:{type:"unsupported",format:void 0}};if(n.popupEnabled&&(n.popupTemplate.fieldInfos.forEach((t=>{t.format&&(o.attributeFormats[t.fieldName.toLowerCase()]=t.format)})),i)){const a=null===(s=null===(e=n.popupTemplate)||void 0===e?void 0:e.content[0])||void 0===s?void 0:s.type;if("relationship"===a){const r=n.popupTemplate.content[0].relationshipId,e=n.relationships.find((t=>t.id===r));let s=t.layers.toArray().concat(t.tables.toArray());if(s=s.filter((t=>"feature"===t.type&&t.layerId===e.relatedTableId)),s.length>0)o=await Mi(t,s[0],i),o.relationshipId=r.toString();else{s=t.layers.toArray().concat(t.tables.toArray());const e=[];let a;s=s.filter((t=>{if("feature"===t.type&&t.layerId!=n.layerId&&t.url){const n=t.url+"/"+t.layerId.toString();return e.push(u(n)),!0}return!1})),(await Promise.all(e)).some(((n,e)=>!(!n.relationships||!n.relationships.some((t=>t.id===r))||(a=Mi(t,s[e],i),0))))?(o=await a,o.relationshipId=r.toString()):o.labelFormat=xi(n.popupTemplate.fieldInfos)}}else"fields"===a?(o.labelFormat=xi(n.popupTemplate.fieldInfos),0===o.labelFormat.format.length&&(o.labelFormat=n.popupTemplate.title&&"string"==typeof n.popupTemplate.title?{type:"pattern",format:n.popupTemplate.title}:xi(n.popupTemplate.fieldInfos,!0))):o.labelFormat="text"===a?{type:"pattern",format:Si(n.popupTemplate.content[0].text)}:"expression"===a?await async function(t){const[n]=await r(["esri/arcade"]),i=await n.createArcadeExecutor(t.expression,{variables:[{name:"$feature",type:"feature"},{name:"$layer",type:"featureSet"},{name:"$datastore",type:"featureSetCollection"},{name:"$map",type:"featureSetCollection"}]});return Promise.resolve({type:"executor",format:i})}(n.popupTemplate.content[0].expressionInfo):xi(n.popupTemplate.fieldInfos)}return Promise.resolve(o)}function Ei(t,n=/.+/){let i=[];return Object.keys(t).forEach((r=>{const e=t[r];n.test(r)&&(i=i.concat(e.selectionSetNames))})),i}function Pi(t,n,i,r,e){if(null==t)return"";if(i&&"coded-value"===i.type){const n=i.getName(t);return null==n?void 0:n.toString()}{let i=t;switch(n){case"date":if(null==r?void 0:r.dateFormat){const t=e.convertDateFormatToIntlOptions(r.dateFormat);i=e.formatDate(i,t)}else i=e.formatDate(i);i=i.replace(/\xe2\x80\xaf/g,"");break;case"date-only":if(null==r?void 0:r.dateFormat){const t=e.convertDateFormatToIntlOptions(r.dateFormat);i=e.formatDateOnly(i,t)}else i=e.formatDateOnly(i);break;case"time-only":if(null==r?void 0:r.dateFormat){const t=e.convertDateFormatToIntlOptions(r.dateFormat);i=e.formatTimeOnly(i,t)}else i=e.formatTimeOnly(i);break;case"double":case"integer":case"long":case"small-integer":if(r){const t=e.convertNumberFormatToIntlOptions(r);i=e.formatNumber(i,t)}else i=e.formatNumber(i)}return i}}export{h as _,yi as a,gi as c,Ai as d,ki as r}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{a as t,c as r,d as i}from"./p-e2d0ad1b.js";import{_ as e}from"./p-8910dc99.js";import"./p-7d280d8a.js";import"./p-be8ef276.js";import"./p-8ddc7786.js";import"./p-c897e3eb.js";import"./p-c1cf3ebc.js";import"./p-b503d01d.js";import"./p-a230b270.js";import"./p-94c634ba.js";var n,s,a=function(t){return t&&t.Math==Math&&t},o=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof t&&t)||function(){return this}()||Function("return this")(),h=function(t){try{return!!t()}catch(t){return!0}},u=!h((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c=!h((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),f=Function.prototype.call,l=c?f.bind(f):function(){return f.apply(f,arguments)},v={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,p=d&&!v.call({1:2},1)?function(t){var r=d(this,t);return!!r&&r.enumerable}:v,y={f:p},g=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},m=Function.prototype,b=m.call,w=c&&m.bind.bind(b,b),x=c?w:function(t){return function(){return b.apply(t,arguments)}},M=x({}.toString),k=x("".slice),S=function(t){return k(M(t),8,-1)},N=Object,j=x("".split),P=h((function(){return!N("z").propertyIsEnumerable(0)}))?function(t){return"String"==S(t)?j(t,""):N(t)}:N,O=function(t){return null==t},E=TypeError,T=function(t){if(O(t))throw E("Can't call method on "+t);return t},C=function(t){return P(T(t))},A="object"==typeof document&&document.all,R={all:A,IS_HTMLDDA:void 0===A&&void 0!==A},B=R.all,L=R.IS_HTMLDDA?function(t){return"function"==typeof t||t===B}:function(t){return"function"==typeof t},$=R.all,I=R.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:L(t)||t===$}:function(t){return"object"==typeof t?null!==t:L(t)},D=function(t,r){return arguments.length<2?L(i=o[t])?i:void 0:o[t]&&o[t][r];var i},F=x({}.isPrototypeOf),z="undefined"!=typeof navigator&&String(navigator.userAgent)||"",_=o.process,Y=o.Deno,X=_&&_.versions||Y&&Y.version,q=X&&X.v8;q&&(s=(n=q.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&z&&(!(n=z.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=z.match(/Chrome\/(\d+)/))&&(s=+n[1]);var G=s,U=!!Object.getOwnPropertySymbols&&!h((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&G&&G<41})),V=U&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,H=Object,W=V?function(t){return"symbol"==typeof t}:function(t){var r=D("Symbol");return L(r)&&F(r.prototype,H(t))},Q=String,Z=function(t){try{return Q(t)}catch(t){return"Object"}},K=TypeError,J=function(t){if(L(t))return t;throw K(Z(t)+" is not a function")},tt=function(t,r){var i=t[r];return O(i)?void 0:J(i)},rt=TypeError,it=Object.defineProperty,et=function(t,r){try{it(o,t,{value:r,configurable:!0,writable:!0})}catch(i){o[t]=r}return r},nt="__core-js_shared__",st=o[nt]||et(nt,{}),at=r((function(t){(t.exports=function(t,r){return st[t]||(st[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.27.2",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE",source:"https://github.com/zloirock/core-js"})})),ot=Object,ht=function(t){return ot(T(t))},ut=x({}.hasOwnProperty),ct=Object.hasOwn||function(t,r){return ut(ht(t),r)},ft=0,lt=Math.random(),vt=x(1..toString),dt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+vt(++ft+lt,36)},pt=o.Symbol,yt=at("wks"),gt=V?pt.for||pt:pt&&pt.withoutSetter||dt,mt=function(t){return ct(yt,t)||(yt[t]=U&&ct(pt,t)?pt[t]:gt("Symbol."+t)),yt[t]},bt=TypeError,wt=mt("toPrimitive"),xt=function(t){var r=function(t,r){if(!I(t)||W(t))return t;var i,e=tt(t,wt);if(e){if(void 0===r&&(r="default"),i=l(e,t,r),!I(i)||W(i))return i;throw bt("Can't convert object to primitive value")}return void 0===r&&(r="number"),function(t,r){var i,e;if("string"===r&&L(i=t.toString)&&!I(e=l(i,t)))return e;if(L(i=t.valueOf)&&!I(e=l(i,t)))return e;if("string"!==r&&L(i=t.toString)&&!I(e=l(i,t)))return e;throw rt("Can't convert object to primitive value")}(t,r)}(t,"string");return W(r)?r:r+""},Mt=o.document,kt=I(Mt)&&I(Mt.createElement),St=function(t){return kt?Mt.createElement(t):{}},Nt=!u&&!h((function(){return 7!=Object.defineProperty(St("div"),"a",{get:function(){return 7}}).a})),jt=Object.getOwnPropertyDescriptor,Pt=u?jt:function(t,r){if(t=C(t),r=xt(r),Nt)try{return jt(t,r)}catch(t){}if(ct(t,r))return g(!l(y.f,t,r),t[r])},Ot={f:Pt},Et=u&&h((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Tt=String,Ct=TypeError,At=function(t){if(I(t))return t;throw Ct(Tt(t)+" is not an object")},Rt=TypeError,Bt=Object.defineProperty,Lt=Object.getOwnPropertyDescriptor,$t="enumerable",It="configurable",Dt="writable",Ft=u?Et?function(t,r,i){if(At(t),r=xt(r),At(i),"function"==typeof t&&"prototype"===r&&"value"in i&&Dt in i&&!i[Dt]){var e=Lt(t,r);e&&e[Dt]&&(t[r]=i.value,i={configurable:It in i?i[It]:e[It],enumerable:$t in i?i[$t]:e[$t],writable:!1})}return Bt(t,r,i)}:Bt:function(t,r,i){if(At(t),r=xt(r),At(i),Nt)try{return Bt(t,r,i)}catch(t){}if("get"in i||"set"in i)throw Rt("Accessors not supported");return"value"in i&&(t[r]=i.value),t},zt={f:Ft},_t=u?function(t,r,i){return zt.f(t,r,g(1,i))}:function(t,r,i){return t[r]=i,t},Yt=Function.prototype,Xt=u&&Object.getOwnPropertyDescriptor,qt=ct(Yt,"name"),Gt={EXISTS:qt,PROPER:qt&&"something"===function(){}.name,CONFIGURABLE:qt&&(!u||u&&Xt(Yt,"name").configurable)},Ut=x(Function.toString);L(st.inspectSource)||(st.inspectSource=function(t){return Ut(t)});var Vt,Ht,Wt,Qt=st.inspectSource,Zt=o.WeakMap,Kt=L(Zt)&&/native code/.test(String(Zt)),Jt=at("keys"),tr=function(t){return Jt[t]||(Jt[t]=dt(t))},rr={},ir="Object already initialized",er=o.TypeError;if(Kt||st.state){var nr=st.state||(st.state=new(0,o.WeakMap));nr.get=nr.get,nr.has=nr.has,nr.set=nr.set,Vt=function(t,r){if(nr.has(t))throw er(ir);return r.facade=t,nr.set(t,r),r},Ht=function(t){return nr.get(t)||{}},Wt=function(t){return nr.has(t)}}else{var sr=tr("state");rr[sr]=!0,Vt=function(t,r){if(ct(t,sr))throw er(ir);return r.facade=t,_t(t,sr,r),r},Ht=function(t){return ct(t,sr)?t[sr]:{}},Wt=function(t){return ct(t,sr)}}var ar={set:Vt,get:Ht,has:Wt,enforce:function(t){return Wt(t)?Ht(t):Vt(t,{})},getterFor:function(t){return function(r){var i;if(!I(r)||(i=Ht(r)).type!==t)throw er("Incompatible receiver, "+t+" required");return i}}},or=r((function(t){var r=Gt.CONFIGURABLE,i=ar.enforce,e=ar.get,n=String,s=Object.defineProperty,a=x("".slice),o=x("".replace),c=x([].join),f=u&&!h((function(){return 8!==s((function(){}),"length",{value:8}).length})),l=String(String).split("String"),v=t.exports=function(t,e,h){"Symbol("===a(n(e),0,7)&&(e="["+o(n(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),h&&h.getter&&(e="get "+e),h&&h.setter&&(e="set "+e),(!ct(t,"name")||r&&t.name!==e)&&(u?s(t,"name",{value:e,configurable:!0}):t.name=e),f&&h&&ct(h,"arity")&&t.length!==h.arity&&s(t,"length",{value:h.arity});try{h&&ct(h,"constructor")&&h.constructor?u&&s(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var v=i(t);return ct(v,"source")||(v.source=c(l,"string"==typeof e?e:"")),t};Function.prototype.toString=v((function(){return L(this)&&e(this).source||Qt(this)}),"toString")})),hr=function(t,r,i,e){e||(e={});var n=e.enumerable,s=void 0!==e.name?e.name:r;if(L(i)&&or(i,s,e),e.global)n?t[r]=i:et(r,i);else{try{e.unsafe?t[r]&&(n=!0):delete t[r]}catch(t){}n?t[r]=i:zt.f(t,r,{value:i,enumerable:!1,configurable:!e.nonConfigurable,writable:!e.nonWritable})}return t},ur=Math.ceil,cr=Math.floor,fr=Math.trunc||function(t){var r=+t;return(r>0?cr:ur)(r)},lr=function(t){var r=+t;return r!=r||0===r?0:fr(r)},vr=Math.max,dr=Math.min,pr=function(t,r){var i=lr(t);return i<0?vr(i+r,0):dr(i,r)},yr=Math.min,gr=function(t){return t>0?yr(lr(t),9007199254740991):0},mr=function(t){return gr(t.length)},br=function(t){return function(r,i,e){var n,s=C(r),a=mr(s),o=pr(e,a);if(t&&i!=i){for(;a>o;)if((n=s[o++])!=n)return!0}else for(;a>o;o++)if((t||o in s)&&s[o]===i)return t||o||0;return!t&&-1}},wr={includes:br(!0),indexOf:br(!1)},xr=wr.indexOf,Mr=x([].push),kr=function(t,r){var i,e=C(t),n=0,s=[];for(i in e)!ct(rr,i)&&ct(e,i)&&Mr(s,i);for(;r.length>n;)ct(e,i=r[n++])&&(~xr(s,i)||Mr(s,i));return s},Sr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Nr=Sr.concat("length","prototype"),jr=Object.getOwnPropertyNames||function(t){return kr(t,Nr)},Pr={f:jr},Or={f:Object.getOwnPropertySymbols},Er=x([].concat),Tr=D("Reflect","ownKeys")||function(t){var r=Pr.f(At(t)),i=Or.f;return i?Er(r,i(t)):r},Cr=function(t,r,i){for(var e=Tr(r),n=zt.f,s=Ot.f,a=0;a<e.length;a++){var o=e[a];ct(t,o)||i&&ct(i,o)||n(t,o,s(r,o))}},Ar=/#|\.prototype\./,Rr=function(t,r){var i=Lr[Br(t)];return i==Ir||i!=$r&&(L(r)?h(r):!!r)},Br=Rr.normalize=function(t){return String(t).replace(Ar,".").toLowerCase()},Lr=Rr.data={},$r=Rr.NATIVE="N",Ir=Rr.POLYFILL="P",Dr=Rr,Fr=Ot.f,zr=function(t,r){var i,e,n,s,a,h=t.target,u=t.global,c=t.stat;if(i=u?o:c?o[h]||et(h,{}):(o[h]||{}).prototype)for(e in r){if(s=r[e],n=t.dontCallGetSet?(a=Fr(i,e))&&a.value:i[e],!Dr(u?e:h+(c?".":"#")+e,t.forced)&&void 0!==n){if(typeof s==typeof n)continue;Cr(s,n)}(t.sham||n&&n.sham)&&_t(s,"sham",!0),hr(i,e,s,t)}},_r="undefined"!=typeof process&&"process"==S(process),Yr=String,Xr=TypeError,qr=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,i={};try{(t=x(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(i,[]),r=i instanceof Array}catch(t){}return function(i,e){return At(i),function(t){if("object"==typeof t||L(t))return t;throw Xr("Can't set "+Yr(t)+" as a prototype")}(e),r?t(i,e):i.__proto__=e,i}}():void 0),Gr=zt.f,Ur=mt("toStringTag"),Vr=function(t,r,i){t&&!i&&(t=t.prototype),t&&!ct(t,Ur)&&Gr(t,Ur,{configurable:!0,value:r})},Hr=mt("species"),Wr=TypeError,Qr={};Qr[mt("toStringTag")]="z";var Zr="[object z]"===String(Qr),Kr=mt("toStringTag"),Jr=Object,ti="Arguments"==S(function(){return arguments}()),ri=Zr?S:function(t){var r,i,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,r){try{return t[r]}catch(t){}}(r=Jr(t),Kr))?i:ti?S(r):"Object"==(e=S(r))&&L(r.callee)?"Arguments":e},ii=function(){},ei=[],ni=D("Reflect","construct"),si=/^\s*(?:class|function)\b/,ai=x(si.exec),oi=!si.exec(ii),hi=function(t){if(!L(t))return!1;try{return ni(ii,ei,t),!0}catch(t){return!1}},ui=function(t){if(!L(t))return!1;switch(ri(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return oi||!!ai(si,Qt(t))}catch(t){return!0}};ui.sham=!0;var ci,fi,li,vi,di=!ni||h((function(){var t;return hi(hi.call)||!hi(Object)||!hi((function(){t=!0}))||t}))?ui:hi,pi=TypeError,yi=mt("species"),gi=function(t,r){var i,e=At(t).constructor;return void 0===e||O(i=At(e)[yi])?r:function(t){if(di(t))return t;throw pi(Z(t)+" is not a constructor")}(i)},mi=Function.prototype,bi=mi.apply,wi=mi.call,xi="object"==typeof Reflect&&Reflect.apply||(c?wi.bind(bi):function(){return wi.apply(bi,arguments)}),Mi=function(t){if("Function"===S(t))return x(t)},ki=Mi(Mi.bind),Si=function(t,r){return J(t),void 0===r?t:c?ki(t,r):function(){return t.apply(r,arguments)}},Ni=D("document","documentElement"),ji=x([].slice),Pi=TypeError,Oi=/(?:ipad|iphone|ipod).*applewebkit/i.test(z),Ei=o.setImmediate,Ti=o.clearImmediate,Ci=o.process,Ai=o.Dispatch,Ri=o.Function,Bi=o.MessageChannel,Li=o.String,$i=0,Ii={},Di="onreadystatechange";h((function(){ci=o.location}));var Fi=function(t){if(ct(Ii,t)){var r=Ii[t];delete Ii[t],r()}},zi=function(t){return function(){Fi(t)}},_i=function(t){Fi(t.data)},Yi=function(t){o.postMessage(Li(t),ci.protocol+"//"+ci.host)};Ei&&Ti||(Ei=function(t){!function(t){if(t<1)throw Pi("Not enough arguments")}(arguments.length);var r=L(t)?t:Ri(t),i=ji(arguments,1);return Ii[++$i]=function(){xi(r,void 0,i)},fi($i),$i},Ti=function(t){delete Ii[t]},_r?fi=function(t){Ci.nextTick(zi(t))}:Ai&&Ai.now?fi=function(t){Ai.now(zi(t))}:Bi&&!Oi?(vi=(li=new Bi).port2,li.port1.onmessage=_i,fi=Si(vi.postMessage,vi)):o.addEventListener&&L(o.postMessage)&&!o.importScripts&&ci&&"file:"!==ci.protocol&&!h(Yi)?(fi=Yi,o.addEventListener("message",_i,!1)):fi=Di in St("script")?function(t){Ni.appendChild(St("script"))[Di]=function(){Ni.removeChild(this),Fi(t)}}:function(t){setTimeout(zi(t),0)});var Xi={set:Ei,clear:Ti},qi=function(){this.head=null,this.tail=null};qi.prototype={add:function(t){var r={item:t,next:null},i=this.tail;i?i.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Gi,Ui,Vi,Hi,Wi,Qi=qi,Zi=/ipad|iphone|ipod/i.test(z)&&"undefined"!=typeof Pebble,Ki=/web0s(?!.*chrome)/i.test(z),Ji=Xi.set,te=o.MutationObserver||o.WebKitMutationObserver,re=o.document,ie=o.process,ee=o.Promise,ne=(0,Ot.f)(o,"queueMicrotask"),se=ne&&ne.value;if(!se){var ae=new Qi,oe=function(){var t,r;for(_r&&(t=ie.domain)&&t.exit();r=ae.get();)try{r()}catch(t){throw ae.head&&Gi(),t}t&&t.enter()};Oi||_r||Ki||!te||!re?!Zi&&ee&&ee.resolve?((Hi=ee.resolve(void 0)).constructor=ee,Wi=Si(Hi.then,Hi),Gi=function(){Wi(oe)}):_r?Gi=function(){ie.nextTick(oe)}:(Ji=Si(Ji,o),Gi=function(){Ji(oe)}):(Ui=!0,Vi=re.createTextNode(""),new te(oe).observe(Vi,{characterData:!0}),Gi=function(){Vi.data=Ui=!Ui}),se=function(t){ae.head||Gi(),ae.add(t)}}var he,ue,ce,fe,le=se,ve=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},de=o.Promise,pe="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,ye=!pe&&!_r&&"object"==typeof window&&"object"==typeof document,ge=mt("species"),me=!1,be=L(o.PromiseRejectionEvent),we=Dr("Promise",(function(){var t=Qt(de),r=t!==String(de);if(!r&&66===G)return!0;if(!G||G<51||!/native code/.test(t)){var i=new de((function(t){t(1)})),e=function(t){t((function(){}),(function(){}))};if((i.constructor={})[ge]=e,!(me=i.then((function(){}))instanceof e))return!0}return!r&&(ye||pe)&&!be})),xe={CONSTRUCTOR:we,REJECTION_EVENT:be,SUBCLASSING:me},Me=TypeError,ke=function(t){var r,i;this.promise=new t((function(t,e){if(void 0!==r||void 0!==i)throw Me("Bad Promise constructor");r=t,i=e})),this.resolve=J(r),this.reject=J(i)},Se={f:function(t){return new ke(t)}},Ne=Xi.set,je="Promise",Pe=xe.CONSTRUCTOR,Oe=xe.REJECTION_EVENT,Ee=xe.SUBCLASSING,Te=ar.getterFor(je),Ce=ar.set,Ae=de&&de.prototype,Re=de,Be=Ae,Le=o.TypeError,$e=o.document,Ie=o.process,De=Se.f,Fe=De,ze=!!($e&&$e.createEvent&&o.dispatchEvent),_e="unhandledrejection",Ye=function(t){var r;return!(!I(t)||!L(r=t.then))&&r},Xe=function(t,r){var i,e,n,s=r.value,a=1==r.state,o=a?t.ok:t.fail,h=t.resolve,u=t.reject,c=t.domain;try{o?(a||(2===r.rejection&&He(r),r.rejection=1),!0===o?i=s:(c&&c.enter(),i=o(s),c&&(c.exit(),n=!0)),i===t.promise?u(Le("Promise-chain cycle")):(e=Ye(i))?l(e,i,h,u):h(i)):u(s)}catch(t){c&&!n&&c.exit(),u(t)}},qe=function(t,r){t.notified||(t.notified=!0,le((function(){for(var i,e=t.reactions;i=e.get();)Xe(i,t);t.notified=!1,r&&!t.rejection&&Ue(t)})))},Ge=function(t,r,i){var e,n;ze?((e=$e.createEvent("Event")).promise=r,e.reason=i,e.initEvent(t,!1,!0),o.dispatchEvent(e)):e={promise:r,reason:i},!Oe&&(n=o["on"+t])?n(e):t===_e&&function(t,r){try{1==arguments.length?console.error(t):console.error(t,r)}catch(t){}}("Unhandled promise rejection",i)},Ue=function(t){l(Ne,o,(function(){var r,i=t.facade,e=t.value;if(Ve(t)&&(r=ve((function(){_r?Ie.emit("unhandledRejection",e,i):Ge(_e,i,e)})),t.rejection=_r||Ve(t)?2:1,r.error))throw r.value}))},Ve=function(t){return 1!==t.rejection&&!t.parent},He=function(t){l(Ne,o,(function(){var r=t.facade;_r?Ie.emit("rejectionHandled",r):Ge("rejectionhandled",r,t.value)}))},We=function(t,r,i){return function(e){t(r,e,i)}},Qe=function(t,r,i){t.done||(t.done=!0,i&&(t=i),t.value=r,t.state=2,qe(t,!0))},Ze=function(t,r,i){if(!t.done){t.done=!0,i&&(t=i);try{if(t.facade===r)throw Le("Promise can't be resolved itself");var e=Ye(r);e?le((function(){var i={done:!1};try{l(e,r,We(Ze,i,t),We(Qe,i,t))}catch(r){Qe(i,r,t)}})):(t.value=r,t.state=1,qe(t,!1))}catch(r){Qe({done:!1},r,t)}}};if(Pe&&(Re=function(t){!function(t){if(F(Be,t))return t;throw Wr("Incorrect invocation")}(this),J(t),l(he,this);var r=Te(this);try{t(We(Ze,r),We(Qe,r))}catch(t){Qe(r,t)}},(he=function(){Ce(this,{type:je,done:!1,notified:!1,parent:!1,reactions:new Qi,rejection:!1,state:0,value:void 0})}).prototype=hr(Be=Re.prototype,"then",(function(t,r){var i=Te(this),e=De(gi(this,Re));return i.parent=!0,e.ok=!L(t)||t,e.fail=L(r)&&r,e.domain=_r?Ie.domain:void 0,0==i.state?i.reactions.add(e):le((function(){Xe(e,i)})),e.promise})),ue=function(){var t=new he,r=Te(t);this.promise=t,this.resolve=We(Ze,r),this.reject=We(Qe,r)},Se.f=De=function(t){return t===Re||void 0===t?new ue(t):Fe(t)},L(de)&&Ae!==Object.prototype)){ce=Ae.then,Ee||hr(Ae,"then",(function(t,r){var i=this;return new Re((function(t,r){l(ce,i,t,r)})).then(t,r)}),{unsafe:!0});try{delete Ae.constructor}catch(t){}qr&&qr(Ae,Be)}zr({global:!0,constructor:!0,wrap:!0,forced:Pe},{Promise:Re}),Vr(Re,je,!1),fe=D(je),u&&fe&&!fe[Hr]&&(0,zt.f)(fe,Hr,{configurable:!0,get:function(){return this}});var Ke={},Je=mt("iterator"),tn=Array.prototype,rn=mt("iterator"),en=function(t){if(!O(t))return tt(t,rn)||tt(t,"@@iterator")||Ke[ri(t)]},nn=TypeError,sn=function(t,r,i){var e,n;At(t);try{if(!(e=tt(t,"return"))){if("throw"===r)throw i;return i}e=l(e,t)}catch(t){n=!0,e=t}if("throw"===r)throw i;if(n)throw e;return At(e),i},an=TypeError,on=function(t,r){this.stopped=t,this.result=r},hn=on.prototype,un=function(t,r,i){var e,n,s,a,o,h,u,c,f=!(!i||!i.AS_ENTRIES),v=!(!i||!i.IS_RECORD),d=!(!i||!i.IS_ITERATOR),p=!(!i||!i.INTERRUPTED),y=Si(r,i&&i.that),g=function(t){return e&&sn(e,"normal",t),new on(!0,t)},m=function(t){return f?(At(t),p?y(t[0],t[1],g):y(t[0],t[1])):p?y(t,g):y(t)};if(v)e=t.iterator;else if(d)e=t;else{if(!(n=en(t)))throw an(Z(t)+" is not iterable");if(void 0!==(c=n)&&(Ke.Array===c||tn[Je]===c)){for(s=0,a=mr(t);a>s;s++)if((o=m(t[s]))&&F(hn,o))return o;return new on(!1)}e=function(t,r){var i=arguments.length<2?en(t):r;if(J(i))return At(l(i,t));throw nn(Z(t)+" is not iterable")}(t,n)}for(h=v?t.next:e.next;!(u=l(h,e)).done;){try{o=m(u.value)}catch(t){sn(e,"throw",t)}if("object"==typeof o&&o&&F(hn,o))return o}return new on(!1)},cn=mt("iterator"),fn=!1;try{var ln=0,vn={next:function(){return{done:!!ln++}},return:function(){fn=!0}};vn[cn]=function(){return this},Array.from(vn,(function(){throw 2}))}catch(t){}var dn=xe.CONSTRUCTOR||!function(){if(!fn)return!1;var t=!1;try{var r={};r[cn]=function(){return{next:function(){return{done:t=!0}}}},de.all(r).then(void 0,(function(){}))}catch(t){}return t}();zr({target:"Promise",stat:!0,forced:dn},{all:function(t){var r=this,i=Se.f(r),e=i.resolve,n=i.reject,s=ve((function(){var i=J(r.resolve),s=[],a=0,o=1;un(t,(function(t){var h=a++,u=!1;o++,l(i,r,t).then((function(t){u||(u=!0,s[h]=t,--o||e(s))}),n)})),--o||e(s)}));return s.error&&n(s.value),i.promise}});var pn=de&&de.prototype;if(zr({target:"Promise",proto:!0,forced:xe.CONSTRUCTOR,real:!0},{catch:function(t){return this.then(void 0,t)}}),L(de)){var yn=D("Promise").prototype.catch;pn.catch!==yn&&hr(pn,"catch",yn,{unsafe:!0})}zr({target:"Promise",stat:!0,forced:dn},{race:function(t){var r=this,i=Se.f(r),e=i.reject,n=ve((function(){var n=J(r.resolve);un(t,(function(t){l(n,r,t).then(i.resolve,e)}))}));return n.error&&e(n.value),i.promise}}),zr({target:"Promise",stat:!0,forced:xe.CONSTRUCTOR},{reject:function(t){var r=Se.f(this);return l(r.reject,void 0,t),r.promise}}),zr({target:"Promise",stat:!0,forced:xe.CONSTRUCTOR},{resolve:function(t){return function(t,r){if(At(t),I(r)&&r.constructor===t)return r;var i=Se.f(t);return(0,i.resolve)(r),i.promise}(this,t)}});const gn=i(r((function(t){function r(t,r,i,e,n,s,a){try{var o=t[s](a),h=o.value}catch(t){return void i(t)}o.done?r(h):Promise.resolve(h).then(e,n)}t.exports=function(t){return function(){var i=this,e=arguments;return new Promise((function(n,s){var a=t.apply(i,e);function o(t){r(a,n,s,o,h,"next",t)}function h(t){r(a,n,s,o,h,"throw",t)}o(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports})));var mn,bn=String,wn=function(t){if("Symbol"===ri(t))throw TypeError("Cannot convert a Symbol value to a string");return bn(t)},xn=function(){var t=At(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},Mn=o.RegExp,kn=h((function(){var t=Mn("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),Sn=kn||h((function(){return!Mn("a","y").sticky})),Nn={BROKEN_CARET:kn||h((function(){var t=Mn("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:Sn,UNSUPPORTED_Y:kn},jn=Object.keys||function(t){return kr(t,Sr)},Pn=u&&!Et?Object.defineProperties:function(t,r){At(t);for(var i,e=C(r),n=jn(r),s=n.length,a=0;s>a;)zt.f(t,i=n[a++],e[i]);return t},On={f:Pn},En="prototype",Tn="script",Cn=tr("IE_PROTO"),An=function(){},Rn=function(t){return"<"+Tn+">"+t+"</"+Tn+">"},Bn=function(t){t.write(Rn("")),t.close();var r=t.parentWindow.Object;return t=null,r},Ln=function(){try{mn=new ActiveXObject("htmlfile")}catch(t){}var t,r,i;Ln="undefined"!=typeof document?document.domain&&mn?Bn(mn):(r=St("iframe"),i="java"+Tn+":",r.style.display="none",Ni.appendChild(r),r.src=String(i),(t=r.contentWindow.document).open(),t.write(Rn("document.F=Object")),t.close(),t.F):Bn(mn);for(var e=Sr.length;e--;)delete Ln[En][Sr[e]];return Ln()};rr[Cn]=!0;var $n,In,Dn=Object.create||function(t,r){var i;return null!==t?(An[En]=At(t),i=new An,An[En]=null,i[Cn]=t):i=Ln(),void 0===r?i:On.f(i,r)},Fn=o.RegExp,zn=h((function(){var t=Fn(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),_n=o.RegExp,Yn=h((function(){var t=_n("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Xn=ar.get,qn=at("native-string-replace",String.prototype.replace),Gn=RegExp.prototype.exec,Un=Gn,Vn=x("".charAt),Hn=x("".indexOf),Wn=x("".replace),Qn=x("".slice),Zn=(In=/b*/g,l(Gn,$n=/a/,"a"),l(Gn,In,"a"),0!==$n.lastIndex||0!==In.lastIndex),Kn=Nn.BROKEN_CARET,Jn=void 0!==/()??/.exec("")[1];(Zn||Jn||Kn||zn||Yn)&&(Un=function(t){var r,i,e,n,s,a,o,h=this,u=Xn(h),c=wn(t),f=u.raw;if(f)return f.lastIndex=h.lastIndex,r=l(Un,f,c),h.lastIndex=f.lastIndex,r;var v=u.groups,d=Kn&&h.sticky,p=l(xn,h),y=h.source,g=0,m=c;if(d&&(p=Wn(p,"y",""),-1===Hn(p,"g")&&(p+="g"),m=Qn(c,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==Vn(c,h.lastIndex-1))&&(y="(?: "+y+")",m=" "+m,g++),i=new RegExp("^(?:"+y+")",p)),Jn&&(i=new RegExp("^"+y+"$(?!\\s)",p)),Zn&&(e=h.lastIndex),n=l(Gn,d?i:h,m),d?n?(n.input=Qn(n.input,g),n[0]=Qn(n[0],g),n.index=h.lastIndex,h.lastIndex+=n[0].length):h.lastIndex=0:Zn&&n&&(h.lastIndex=h.global?n.index+n[0].length:e),Jn&&n&&n.length>1&&l(qn,n[0],i,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(n[s]=void 0)})),n&&v)for(n.groups=a=Dn(null),s=0;s<v.length;s++)a[(o=v[s])[0]]=n[o[1]];return n});var ts=Un;zr({target:"RegExp",proto:!0,forced:/./.exec!==ts},{exec:ts});var rs=mt("species"),is=RegExp.prototype,es=function(t,r,i,e){var n=mt(t),s=!h((function(){var r={};return r[n]=function(){return 7},7!=""[t](r)})),a=s&&!h((function(){var r=!1,i=/a/;return"split"===t&&((i={}).constructor={},i.constructor[rs]=function(){return i},i.flags="",i[n]=/./[n]),i.exec=function(){return r=!0,null},i[n](""),!r}));if(!s||!a||i){var o=Mi(/./[n]),u=r(n,""[t],(function(t,r,i,e,n){var a=Mi(t),h=r.exec;return h===ts||h===is.exec?s&&!n?{done:!0,value:o(r,i,e)}:{done:!0,value:a(i,r,e)}:{done:!1}}));hr(String.prototype,t,u[0]),hr(is,n,u[1])}e&&_t(is[n],"sham",!0)},ns=x("".charAt),ss=x("".charCodeAt),as=x("".slice),os=function(t){return function(r,i){var e,n,s=wn(T(r)),a=lr(i),o=s.length;return a<0||a>=o?t?"":void 0:(e=ss(s,a))<55296||e>56319||a+1===o||(n=ss(s,a+1))<56320||n>57343?t?ns(s,a):e:t?as(s,a,a+2):n-56320+(e-55296<<10)+65536}},hs=(os(!1),os(!0)),us=function(t,r,i){return r+(i?hs(t,r).length:1)},cs=TypeError,fs=function(t,r){var i=t.exec;if(L(i)){var e=l(i,t,r);return null!==e&&At(e),e}if("RegExp"===S(t))return l(ts,t,r);throw cs("RegExp#exec called on incompatible receiver")};es("match",(function(t,r,i){return[function(r){var i=T(this),e=O(r)?void 0:tt(r,t);return e?l(e,r,i):new RegExp(r)[t](wn(i))},function(t){var e=At(this),n=wn(t),s=i(r,e,n);if(s.done)return s.value;if(!e.global)return fs(e,n);var a=e.unicode;e.lastIndex=0;for(var o,h=[],u=0;null!==(o=fs(e,n));){var c=wn(o[0]);h[u]=c,""===c&&(e.lastIndex=us(n,gr(e.lastIndex),a)),u++}return 0===u?null:h}]}));var ls=Math.floor,vs=x("".charAt),ds=x("".replace),ps=x("".slice),ys=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,gs=/\$([$&'`]|\d{1,2})/g,ms=function(t,r,i,e,n,s){var a=i+t.length,o=e.length,h=gs;return void 0!==n&&(n=ht(n),h=ys),ds(s,h,(function(s,h){var u;switch(vs(h,0)){case"$":return"$";case"&":return t;case"`":return ps(r,0,i);case"'":return ps(r,a);case"<":u=n[ps(h,1,-1)];break;default:var c=+h;if(0===c)return s;if(c>o){var f=ls(c/10);return 0===f?s:f<=o?void 0===e[f-1]?vs(h,1):e[f-1]+vs(h,1):s}u=e[c-1]}return void 0===u?"":u}))},bs=mt("replace"),ws=Math.max,xs=Math.min,Ms=x([].concat),ks=x([].push),Ss=x("".indexOf),Ns=x("".slice),js="$0"==="a".replace(/./,"$0"),Ps=!!/./[bs]&&""===/./[bs]("a","$0");es("replace",(function(t,r,i){var e=Ps?"$":"$0";return[function(t,i){var e=T(this),n=O(t)?void 0:tt(t,bs);return n?l(n,t,e,i):l(r,wn(e),t,i)},function(t,n){var s=At(this),a=wn(t);if("string"==typeof n&&-1===Ss(n,e)&&-1===Ss(n,"$<")){var o=i(r,s,a,n);if(o.done)return o.value}var h=L(n);h||(n=wn(n));var u=s.global;if(u){var c=s.unicode;s.lastIndex=0}for(var f=[];;){var l=fs(s,a);if(null===l)break;if(ks(f,l),!u)break;""===wn(l[0])&&(s.lastIndex=us(a,gr(s.lastIndex),c))}for(var v,d="",p=0,y=0;y<f.length;y++){for(var g=wn((l=f[y])[0]),m=ws(xs(lr(l.index),a.length),0),b=[],w=1;w<l.length;w++)ks(b,void 0===(v=l[w])?v:String(v));var x=l.groups;if(h){var M=Ms([g],b,m,a);void 0!==x&&ks(M,x);var k=wn(xi(n,void 0,M))}else k=ms(g,a,m,b,x,n);m>=p&&(d+=Ns(a,p,m)+k,p=m+g.length)}return d+Ns(a,p)}]}),!!h((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!js||Ps);var Os,Es=mt("match"),Ts=function(t){var r;return I(t)&&(void 0!==(r=t[Es])?!!r:"RegExp"==S(t))},Cs=TypeError,As=function(t){if(Ts(t))throw Cs("The method doesn't accept regular expressions");return t},Rs=mt("match"),Bs=function(t){var r=/./;try{"/./"[t](r)}catch(i){try{return r[Rs]=!1,"/./"[t](r)}catch(t){}}return!1},Ls=Ot.f,$s=Mi("".startsWith),Is=Mi("".slice),Ds=Math.min,Fs=Bs("startsWith"),zs=!(Fs||(Os=Ls(String.prototype,"startsWith"),!Os||Os.writable));zr({target:"String",proto:!0,forced:!zs&&!Fs},{startsWith:function(t){var r=wn(T(this));As(t);var i=gr(Ds(arguments.length>1?arguments[1]:void 0,r.length)),e=wn(t);return $s?$s(r,e,i):Is(r,i,i+e.length)===e}});var _s=zt.f,Ys=mt("unscopables"),Xs=Array.prototype;null==Xs[Ys]&&_s(Xs,Ys,{configurable:!0,value:Dn(null)});var qs,Gs,Us,Vs=function(t){Xs[Ys][t]=!0},Hs=!h((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Ws=tr("IE_PROTO"),Qs=Object,Zs=Qs.prototype,Ks=Hs?Qs.getPrototypeOf:function(t){var r=ht(t);if(ct(r,Ws))return r[Ws];var i=r.constructor;return L(i)&&r instanceof i?i.prototype:r instanceof Qs?Zs:null},Js=mt("iterator"),ta=!1;[].keys&&("next"in(Us=[].keys())?(Gs=Ks(Ks(Us)))!==Object.prototype&&(qs=Gs):ta=!0);var ra=!I(qs)||h((function(){var t={};return qs[Js].call(t)!==t}));ra&&(qs={}),L(qs[Js])||hr(qs,Js,(function(){return this}));var ia={IteratorPrototype:qs,BUGGY_SAFARI_ITERATORS:ta},ea=ia.IteratorPrototype,na=function(){return this},sa=Gt.PROPER,aa=Gt.CONFIGURABLE,oa=ia.IteratorPrototype,ha=ia.BUGGY_SAFARI_ITERATORS,ua=mt("iterator"),ca="keys",fa="values",la="entries",va=function(){return this},da=function(t,r){return{value:t,done:r}},pa=zt.f,ya="Array Iterator",ga=ar.set,ma=ar.getterFor(ya),ba=function(t,r,i,e,n){!function(t,r,i){var e=r+" Iterator";t.prototype=Dn(ea,{next:g(1,i)}),Vr(t,e,!1),Ke[e]=na}(i,r,(function(){var t=ma(this),r=t.target,i=t.kind,e=t.index++;return!r||e>=r.length?(t.target=void 0,da(void 0,!0)):da("keys"==i?e:"values"==i?r[e]:[e,r[e]],!1)}));var s,a,o,h=function(t){if(t===n&&d)return d;if(!ha&&t in f)return f[t];switch(t){case ca:case fa:case la:return function(){return new i(this,t)}}return function(){return new i(this)}},u=r+" Iterator",c=!1,f=t.prototype,v=f[ua]||f["@@iterator"]||n&&f[n],d=!ha&&v||h(n),p=f.entries||v;if(p&&(s=Ks(p.call(new t)))!==Object.prototype&&s.next&&(Ks(s)!==oa&&(qr?qr(s,oa):L(s[ua])||hr(s,ua,va)),Vr(s,u,!0)),sa&&v&&v.name!==fa&&(aa?_t(f,"name",fa):(c=!0,d=function(){return l(v,this)})),n)if(void(a={values:h(fa),keys:h(ca),entries:h(la)}))for(o in a)(ha||c||!(o in f))&&hr(f,o,a[o]);else zr({target:r,proto:!0,forced:ha||c},a);return f[ua]!==d&&hr(f,ua,d,{name:n}),Ke[r]=d,a}(Array,"Array",(function(t,r){ga(this,{type:ya,target:C(t),index:0,kind:r})}),0,"values"),wa=Ke.Arguments=Ke.Array;if(Vs("keys"),Vs("values"),Vs("entries"),u&&"values"!==wa.name)try{pa(wa,"name",{value:"values"})}catch(t){}var xa={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Ma=St("span").classList,ka=Ma&&Ma.constructor&&Ma.constructor.prototype,Sa=ka===Object.prototype?void 0:ka,Na=mt("iterator"),ja=mt("toStringTag"),Pa=ba.values,Oa=function(t,r){if(t){if(t[Na]!==Pa)try{_t(t,Na,Pa)}catch(r){t[Na]=Pa}if(t[ja]||_t(t,ja,r),xa[r])for(var i in ba)if(t[i]!==ba[i])try{_t(t,i,ba[i])}catch(r){t[i]=ba[i]}}};for(var Ea in xa)Oa(o[Ea]&&o[Ea].prototype,Ea);Oa(Sa,"DOMTokenList");var Ta=r((function(t){var r=e.default;t.exports=function(t,i){if("object"!==r(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,i||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports})),Ca=r((function(t){var r=e.default;t.exports=function(t){var i=Ta(t,"string");return"symbol"===r(i)?i:String(i)},t.exports.__esModule=!0,t.exports.default=t.exports}));const Aa=i(r((function(t){t.exports=function(t,r,i){return(r=Ca(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t},t.exports.__esModule=!0,t.exports.default=t.exports})));var Ra=TypeError,Ba=function(t){return function(r,i,e,n){J(i);var s=ht(r),a=P(s),o=mr(s),h=t?o-1:0,u=t?-1:1;if(e<2)for(;;){if(h in a){n=a[h],h+=u;break}if(h+=u,t?h<0:o<=h)throw Ra("Reduce of empty array with no initial value")}for(;t?h>=0:o>h;h+=u)h in a&&(n=i(n,a[h],h,s));return n}},La=function(t,r){var i=[][t];return!!i&&h((function(){i.call(null,r||function(){return 1},1)}))},$a=[Ba(!1),Ba(!0)][0],Ia=!_r&&G>79&&G<83||!La("reduce");zr({target:"Array",proto:!0,forced:Ia},{reduce:function(t){var r=arguments.length;return $a(this,t,r,r>1?arguments[1]:void 0)}});var Da=Ot.f,Fa=Mi("".endsWith),za=Mi("".slice),_a=Math.min,Ya=Bs("endsWith"),Xa=!Ya&&!!function(){var t=Da(String.prototype,"endsWith");return t&&!t.writable}();zr({target:"String",proto:!0,forced:!Xa&&!Ya},{endsWith:function(t){var r=wn(T(this));As(t);var i=arguments.length>1?arguments[1]:void 0,e=r.length,n=void 0===i?e:_a(gr(i),e),s=wn(t);return Fa?Fa(r,s,n):za(r,n-s.length,n)===s}});var qa=Array,Ga=Math.max,Ua=function(t,r,i){for(var e,n,s,a=mr(t),o=pr(r,a),h=pr(void 0===i?a:i,a),u=qa(Ga(h-o,0)),c=0;o<h;o++,c++)e=u,n=t[o],void 0,(s=xt(c))in e?zt.f(e,s,g(0,n)):e[s]=n;return u.length=c,u},Va=Nn.UNSUPPORTED_Y,Ha=4294967295,Wa=Math.min,Qa=[].push,Za=x(/./.exec),Ka=x(Qa),Ja=x("".slice);es("split",(function(t,r,i){var e;return e="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,i){var e=wn(T(this)),n=void 0===i?Ha:i>>>0;if(0===n)return[];if(void 0===t)return[e];if(!Ts(t))return l(r,e,t,n);for(var s,a,o,h=[],u=0,c=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(s=l(ts,c,e))&&!((a=c.lastIndex)>u&&(Ka(h,Ja(e,u,s.index)),s.length>1&&s.index<e.length&&xi(Qa,h,Ua(s,1)),o=s[0].length,u=a,h.length>=n));)c.lastIndex===s.index&&c.lastIndex++;return u===e.length?!o&&Za(c,"")||Ka(h,""):Ka(h,Ja(e,u)),h.length>n?Ua(h,0,n):h}:"0".split(void 0,0).length?function(t,i){return void 0===t&&0===i?[]:l(r,this,t,i)}:r,[function(r,i){var n=T(this),s=O(r)?void 0:tt(r,t);return s?l(s,r,n,i):l(e,wn(n),r,i)},function(t,n){var s=At(this),a=wn(t),o=i(e,s,a,n,e!==r);if(o.done)return o.value;var h=gi(s,RegExp),u=s.unicode,c=new h(Va?"^(?:"+s.source+")":s,(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(Va?"g":"y")),f=void 0===n?Ha:n>>>0;if(0===f)return[];if(0===a.length)return null===fs(c,a)?[a]:[];for(var l=0,v=0,d=[];v<a.length;){c.lastIndex=Va?0:v;var p,y=fs(c,Va?Ja(a,v):a);if(null===y||(p=Wa(gr(c.lastIndex+(Va?v:0)),a.length))===l)v=us(a,v,u);else{if(Ka(d,Ja(a,l,v)),d.length===f)return d;for(var g=1;g<=y.length-1;g++)if(Ka(d,y[g]),d.length===f)return d;v=l=p}}return Ka(d,Ja(a,l)),d}]}),!!h((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var i="ab".split(t);return 2!==i.length||"a"!==i[0]||"b"!==i[1]})),Va);for(var to=r((function(r){(function(){var t,i,e,n,s,a;"undefined"!=typeof performance&&null!==performance&&performance.now?r.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(r.exports=function(){return(t()-s)/1e6},i=process.hrtime,n=(t=function(){var t;return 1e9*(t=i())[0]+t[1]})(),a=1e9*process.uptime(),s=n-a):Date.now?(r.exports=function(){return Date.now()-e},e=Date.now()):(r.exports=function(){return(new Date).getTime()-e},e=(new Date).getTime())}).call(t)})),ro="undefined"==typeof window?t:window,io=["moz","webkit"],eo="AnimationFrame",no=ro["request"+eo],so=ro["cancel"+eo]||ro["cancelRequest"+eo],ao=0;!no&&ao<io.length;ao++)no=ro[io[ao]+"Request"+eo],so=ro[io[ao]+"Cancel"+eo]||ro[io[ao]+"CancelRequest"+eo];if(!no||!so){var oo=0,ho=0,uo=[];no=function(t){if(0===uo.length){var r=to(),i=Math.max(0,16.666666666666668-(r-oo));oo=i+r,setTimeout((function(){var t=uo.slice(0);uo.length=0;for(var r=0;r<t.length;r++)if(!t[r].cancelled)try{t[r].callback(oo)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(i))}return uo.push({handle:++ho,callback:t,cancelled:!1}),ho},so=function(t){for(var r=0;r<uo.length;r++)uo[r].handle===t&&(uo[r].cancelled=!0)}}var co=function(t){return no.call(ro,t)};co.cancel=function(){so.apply(ro,arguments)},co.polyfill=function(t){t||(t=ro),t.requestAnimationFrame=no,t.cancelAnimationFrame=so};var fo,lo="\t\n\v\f\r                 \u2028\u2029\ufeff",vo=x("".replace),po="["+lo+"]",yo=RegExp("^"+po+po+"*"),go=RegExp(po+po+"*$"),mo=function(t){return function(r){var i=wn(T(r));return 1&t&&(i=vo(i,yo,"")),2&t&&(i=vo(i,go,"")),i}},bo={start:mo(1),end:mo(2),trim:mo(3)},wo=Gt.PROPER,xo=bo.trim;zr({target:"String",proto:!0,forced:(fo="trim",h((function(){return!!lo[fo]()||"​…᠎"!=="​…᠎"[fo]()||wo&&lo[fo].name!==fo})))},{trim:function(){return xo(this)}});var Mo=function(t){this.ok=!1,this.alpha=1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t=(t=t.replace(/ /g,"")).toLowerCase();var r={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};t=r[t]||t;for(var i=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3]),parseFloat(t[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],e=0;e<i.length;e++){var n=i[e].process,s=i[e].re.exec(t);if(s){var a=n(s);this.r=a[0],this.g=a[1],this.b=a[2],a.length>3&&(this.alpha=a[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var t=this.r.toString(16),r=this.g.toString(16),i=this.b.toString(16);return 1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),1==i.length&&(i="0"+i),"#"+t+r+i},this.getHelpXML=function(){for(var t=new Array,e=0;e<i.length;e++)for(var n=i[e].example,s=0;s<n.length;s++)t[t.length]=n[s];for(var a in r)t[t.length]=a;var o=document.createElement("ul");for(o.setAttribute("id","rgbcolor-examples"),e=0;e<t.length;e++)try{var h=document.createElement("li"),u=new RGBColor(t[e]),c=document.createElement("div");c.style.cssText="margin: 3px; border: 1px solid black; background:"+u.toHex()+"; color:"+u.toHex(),c.appendChild(document.createTextNode("test"));var f=document.createTextNode(" "+t[e]+" -> "+u.toRGB()+" -> "+u.toHex());h.appendChild(c),h.appendChild(f),o.appendChild(h)}catch(t){}return o}},ko=wr.indexOf,So=Mi([].indexOf),No=!!So&&1/So([1],1,-0)<0,jo=No||!La("indexOf");zr({target:"Array",proto:!0,forced:jo},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return No?So(this,t,r)||0:ko(this,t,r)}});var Po=x("".indexOf);zr({target:"String",proto:!0,forced:!Bs("includes")},{includes:function(t){return!!~Po(wn(T(this)),wn(As(t)),arguments.length>1?arguments[1]:void 0)}});var Oo=Array.isArray||function(t){return"Array"==S(t)},Eo=x([].reverse),To=[1,2];zr({target:"Array",proto:!0,forced:String(To)===String(To.reverse())},{reverse:function(){return Oo(this)&&(this.length=this.length),Eo(this)}});
6
+ import{a as t,c as r,d as i}from"./p-e2d0ad1b.js";import{_ as e}from"./p-1d3a1794.js";import"./p-7d280d8a.js";import"./p-be8ef276.js";import"./p-8ddc7786.js";import"./p-c897e3eb.js";import"./p-c1cf3ebc.js";import"./p-b503d01d.js";import"./p-a230b270.js";import"./p-94c634ba.js";var n,s,a=function(t){return t&&t.Math==Math&&t},o=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof t&&t)||function(){return this}()||Function("return this")(),h=function(t){try{return!!t()}catch(t){return!0}},u=!h((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c=!h((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),f=Function.prototype.call,l=c?f.bind(f):function(){return f.apply(f,arguments)},v={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,p=d&&!v.call({1:2},1)?function(t){var r=d(this,t);return!!r&&r.enumerable}:v,y={f:p},g=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},m=Function.prototype,b=m.call,w=c&&m.bind.bind(b,b),x=c?w:function(t){return function(){return b.apply(t,arguments)}},M=x({}.toString),k=x("".slice),S=function(t){return k(M(t),8,-1)},N=Object,j=x("".split),P=h((function(){return!N("z").propertyIsEnumerable(0)}))?function(t){return"String"==S(t)?j(t,""):N(t)}:N,O=function(t){return null==t},E=TypeError,T=function(t){if(O(t))throw E("Can't call method on "+t);return t},C=function(t){return P(T(t))},A="object"==typeof document&&document.all,R={all:A,IS_HTMLDDA:void 0===A&&void 0!==A},B=R.all,L=R.IS_HTMLDDA?function(t){return"function"==typeof t||t===B}:function(t){return"function"==typeof t},$=R.all,I=R.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:L(t)||t===$}:function(t){return"object"==typeof t?null!==t:L(t)},D=function(t,r){return arguments.length<2?L(i=o[t])?i:void 0:o[t]&&o[t][r];var i},F=x({}.isPrototypeOf),z="undefined"!=typeof navigator&&String(navigator.userAgent)||"",_=o.process,Y=o.Deno,X=_&&_.versions||Y&&Y.version,q=X&&X.v8;q&&(s=(n=q.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&z&&(!(n=z.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=z.match(/Chrome\/(\d+)/))&&(s=+n[1]);var G=s,U=!!Object.getOwnPropertySymbols&&!h((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&G&&G<41})),V=U&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,H=Object,W=V?function(t){return"symbol"==typeof t}:function(t){var r=D("Symbol");return L(r)&&F(r.prototype,H(t))},Q=String,Z=function(t){try{return Q(t)}catch(t){return"Object"}},K=TypeError,J=function(t){if(L(t))return t;throw K(Z(t)+" is not a function")},tt=function(t,r){var i=t[r];return O(i)?void 0:J(i)},rt=TypeError,it=Object.defineProperty,et=function(t,r){try{it(o,t,{value:r,configurable:!0,writable:!0})}catch(i){o[t]=r}return r},nt="__core-js_shared__",st=o[nt]||et(nt,{}),at=r((function(t){(t.exports=function(t,r){return st[t]||(st[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.27.2",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE",source:"https://github.com/zloirock/core-js"})})),ot=Object,ht=function(t){return ot(T(t))},ut=x({}.hasOwnProperty),ct=Object.hasOwn||function(t,r){return ut(ht(t),r)},ft=0,lt=Math.random(),vt=x(1..toString),dt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+vt(++ft+lt,36)},pt=o.Symbol,yt=at("wks"),gt=V?pt.for||pt:pt&&pt.withoutSetter||dt,mt=function(t){return ct(yt,t)||(yt[t]=U&&ct(pt,t)?pt[t]:gt("Symbol."+t)),yt[t]},bt=TypeError,wt=mt("toPrimitive"),xt=function(t){var r=function(t,r){if(!I(t)||W(t))return t;var i,e=tt(t,wt);if(e){if(void 0===r&&(r="default"),i=l(e,t,r),!I(i)||W(i))return i;throw bt("Can't convert object to primitive value")}return void 0===r&&(r="number"),function(t,r){var i,e;if("string"===r&&L(i=t.toString)&&!I(e=l(i,t)))return e;if(L(i=t.valueOf)&&!I(e=l(i,t)))return e;if("string"!==r&&L(i=t.toString)&&!I(e=l(i,t)))return e;throw rt("Can't convert object to primitive value")}(t,r)}(t,"string");return W(r)?r:r+""},Mt=o.document,kt=I(Mt)&&I(Mt.createElement),St=function(t){return kt?Mt.createElement(t):{}},Nt=!u&&!h((function(){return 7!=Object.defineProperty(St("div"),"a",{get:function(){return 7}}).a})),jt=Object.getOwnPropertyDescriptor,Pt=u?jt:function(t,r){if(t=C(t),r=xt(r),Nt)try{return jt(t,r)}catch(t){}if(ct(t,r))return g(!l(y.f,t,r),t[r])},Ot={f:Pt},Et=u&&h((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Tt=String,Ct=TypeError,At=function(t){if(I(t))return t;throw Ct(Tt(t)+" is not an object")},Rt=TypeError,Bt=Object.defineProperty,Lt=Object.getOwnPropertyDescriptor,$t="enumerable",It="configurable",Dt="writable",Ft=u?Et?function(t,r,i){if(At(t),r=xt(r),At(i),"function"==typeof t&&"prototype"===r&&"value"in i&&Dt in i&&!i[Dt]){var e=Lt(t,r);e&&e[Dt]&&(t[r]=i.value,i={configurable:It in i?i[It]:e[It],enumerable:$t in i?i[$t]:e[$t],writable:!1})}return Bt(t,r,i)}:Bt:function(t,r,i){if(At(t),r=xt(r),At(i),Nt)try{return Bt(t,r,i)}catch(t){}if("get"in i||"set"in i)throw Rt("Accessors not supported");return"value"in i&&(t[r]=i.value),t},zt={f:Ft},_t=u?function(t,r,i){return zt.f(t,r,g(1,i))}:function(t,r,i){return t[r]=i,t},Yt=Function.prototype,Xt=u&&Object.getOwnPropertyDescriptor,qt=ct(Yt,"name"),Gt={EXISTS:qt,PROPER:qt&&"something"===function(){}.name,CONFIGURABLE:qt&&(!u||u&&Xt(Yt,"name").configurable)},Ut=x(Function.toString);L(st.inspectSource)||(st.inspectSource=function(t){return Ut(t)});var Vt,Ht,Wt,Qt=st.inspectSource,Zt=o.WeakMap,Kt=L(Zt)&&/native code/.test(String(Zt)),Jt=at("keys"),tr=function(t){return Jt[t]||(Jt[t]=dt(t))},rr={},ir="Object already initialized",er=o.TypeError;if(Kt||st.state){var nr=st.state||(st.state=new(0,o.WeakMap));nr.get=nr.get,nr.has=nr.has,nr.set=nr.set,Vt=function(t,r){if(nr.has(t))throw er(ir);return r.facade=t,nr.set(t,r),r},Ht=function(t){return nr.get(t)||{}},Wt=function(t){return nr.has(t)}}else{var sr=tr("state");rr[sr]=!0,Vt=function(t,r){if(ct(t,sr))throw er(ir);return r.facade=t,_t(t,sr,r),r},Ht=function(t){return ct(t,sr)?t[sr]:{}},Wt=function(t){return ct(t,sr)}}var ar={set:Vt,get:Ht,has:Wt,enforce:function(t){return Wt(t)?Ht(t):Vt(t,{})},getterFor:function(t){return function(r){var i;if(!I(r)||(i=Ht(r)).type!==t)throw er("Incompatible receiver, "+t+" required");return i}}},or=r((function(t){var r=Gt.CONFIGURABLE,i=ar.enforce,e=ar.get,n=String,s=Object.defineProperty,a=x("".slice),o=x("".replace),c=x([].join),f=u&&!h((function(){return 8!==s((function(){}),"length",{value:8}).length})),l=String(String).split("String"),v=t.exports=function(t,e,h){"Symbol("===a(n(e),0,7)&&(e="["+o(n(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),h&&h.getter&&(e="get "+e),h&&h.setter&&(e="set "+e),(!ct(t,"name")||r&&t.name!==e)&&(u?s(t,"name",{value:e,configurable:!0}):t.name=e),f&&h&&ct(h,"arity")&&t.length!==h.arity&&s(t,"length",{value:h.arity});try{h&&ct(h,"constructor")&&h.constructor?u&&s(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var v=i(t);return ct(v,"source")||(v.source=c(l,"string"==typeof e?e:"")),t};Function.prototype.toString=v((function(){return L(this)&&e(this).source||Qt(this)}),"toString")})),hr=function(t,r,i,e){e||(e={});var n=e.enumerable,s=void 0!==e.name?e.name:r;if(L(i)&&or(i,s,e),e.global)n?t[r]=i:et(r,i);else{try{e.unsafe?t[r]&&(n=!0):delete t[r]}catch(t){}n?t[r]=i:zt.f(t,r,{value:i,enumerable:!1,configurable:!e.nonConfigurable,writable:!e.nonWritable})}return t},ur=Math.ceil,cr=Math.floor,fr=Math.trunc||function(t){var r=+t;return(r>0?cr:ur)(r)},lr=function(t){var r=+t;return r!=r||0===r?0:fr(r)},vr=Math.max,dr=Math.min,pr=function(t,r){var i=lr(t);return i<0?vr(i+r,0):dr(i,r)},yr=Math.min,gr=function(t){return t>0?yr(lr(t),9007199254740991):0},mr=function(t){return gr(t.length)},br=function(t){return function(r,i,e){var n,s=C(r),a=mr(s),o=pr(e,a);if(t&&i!=i){for(;a>o;)if((n=s[o++])!=n)return!0}else for(;a>o;o++)if((t||o in s)&&s[o]===i)return t||o||0;return!t&&-1}},wr={includes:br(!0),indexOf:br(!1)},xr=wr.indexOf,Mr=x([].push),kr=function(t,r){var i,e=C(t),n=0,s=[];for(i in e)!ct(rr,i)&&ct(e,i)&&Mr(s,i);for(;r.length>n;)ct(e,i=r[n++])&&(~xr(s,i)||Mr(s,i));return s},Sr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Nr=Sr.concat("length","prototype"),jr=Object.getOwnPropertyNames||function(t){return kr(t,Nr)},Pr={f:jr},Or={f:Object.getOwnPropertySymbols},Er=x([].concat),Tr=D("Reflect","ownKeys")||function(t){var r=Pr.f(At(t)),i=Or.f;return i?Er(r,i(t)):r},Cr=function(t,r,i){for(var e=Tr(r),n=zt.f,s=Ot.f,a=0;a<e.length;a++){var o=e[a];ct(t,o)||i&&ct(i,o)||n(t,o,s(r,o))}},Ar=/#|\.prototype\./,Rr=function(t,r){var i=Lr[Br(t)];return i==Ir||i!=$r&&(L(r)?h(r):!!r)},Br=Rr.normalize=function(t){return String(t).replace(Ar,".").toLowerCase()},Lr=Rr.data={},$r=Rr.NATIVE="N",Ir=Rr.POLYFILL="P",Dr=Rr,Fr=Ot.f,zr=function(t,r){var i,e,n,s,a,h=t.target,u=t.global,c=t.stat;if(i=u?o:c?o[h]||et(h,{}):(o[h]||{}).prototype)for(e in r){if(s=r[e],n=t.dontCallGetSet?(a=Fr(i,e))&&a.value:i[e],!Dr(u?e:h+(c?".":"#")+e,t.forced)&&void 0!==n){if(typeof s==typeof n)continue;Cr(s,n)}(t.sham||n&&n.sham)&&_t(s,"sham",!0),hr(i,e,s,t)}},_r="undefined"!=typeof process&&"process"==S(process),Yr=String,Xr=TypeError,qr=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,i={};try{(t=x(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(i,[]),r=i instanceof Array}catch(t){}return function(i,e){return At(i),function(t){if("object"==typeof t||L(t))return t;throw Xr("Can't set "+Yr(t)+" as a prototype")}(e),r?t(i,e):i.__proto__=e,i}}():void 0),Gr=zt.f,Ur=mt("toStringTag"),Vr=function(t,r,i){t&&!i&&(t=t.prototype),t&&!ct(t,Ur)&&Gr(t,Ur,{configurable:!0,value:r})},Hr=mt("species"),Wr=TypeError,Qr={};Qr[mt("toStringTag")]="z";var Zr="[object z]"===String(Qr),Kr=mt("toStringTag"),Jr=Object,ti="Arguments"==S(function(){return arguments}()),ri=Zr?S:function(t){var r,i,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,r){try{return t[r]}catch(t){}}(r=Jr(t),Kr))?i:ti?S(r):"Object"==(e=S(r))&&L(r.callee)?"Arguments":e},ii=function(){},ei=[],ni=D("Reflect","construct"),si=/^\s*(?:class|function)\b/,ai=x(si.exec),oi=!si.exec(ii),hi=function(t){if(!L(t))return!1;try{return ni(ii,ei,t),!0}catch(t){return!1}},ui=function(t){if(!L(t))return!1;switch(ri(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return oi||!!ai(si,Qt(t))}catch(t){return!0}};ui.sham=!0;var ci,fi,li,vi,di=!ni||h((function(){var t;return hi(hi.call)||!hi(Object)||!hi((function(){t=!0}))||t}))?ui:hi,pi=TypeError,yi=mt("species"),gi=function(t,r){var i,e=At(t).constructor;return void 0===e||O(i=At(e)[yi])?r:function(t){if(di(t))return t;throw pi(Z(t)+" is not a constructor")}(i)},mi=Function.prototype,bi=mi.apply,wi=mi.call,xi="object"==typeof Reflect&&Reflect.apply||(c?wi.bind(bi):function(){return wi.apply(bi,arguments)}),Mi=function(t){if("Function"===S(t))return x(t)},ki=Mi(Mi.bind),Si=function(t,r){return J(t),void 0===r?t:c?ki(t,r):function(){return t.apply(r,arguments)}},Ni=D("document","documentElement"),ji=x([].slice),Pi=TypeError,Oi=/(?:ipad|iphone|ipod).*applewebkit/i.test(z),Ei=o.setImmediate,Ti=o.clearImmediate,Ci=o.process,Ai=o.Dispatch,Ri=o.Function,Bi=o.MessageChannel,Li=o.String,$i=0,Ii={},Di="onreadystatechange";h((function(){ci=o.location}));var Fi=function(t){if(ct(Ii,t)){var r=Ii[t];delete Ii[t],r()}},zi=function(t){return function(){Fi(t)}},_i=function(t){Fi(t.data)},Yi=function(t){o.postMessage(Li(t),ci.protocol+"//"+ci.host)};Ei&&Ti||(Ei=function(t){!function(t){if(t<1)throw Pi("Not enough arguments")}(arguments.length);var r=L(t)?t:Ri(t),i=ji(arguments,1);return Ii[++$i]=function(){xi(r,void 0,i)},fi($i),$i},Ti=function(t){delete Ii[t]},_r?fi=function(t){Ci.nextTick(zi(t))}:Ai&&Ai.now?fi=function(t){Ai.now(zi(t))}:Bi&&!Oi?(vi=(li=new Bi).port2,li.port1.onmessage=_i,fi=Si(vi.postMessage,vi)):o.addEventListener&&L(o.postMessage)&&!o.importScripts&&ci&&"file:"!==ci.protocol&&!h(Yi)?(fi=Yi,o.addEventListener("message",_i,!1)):fi=Di in St("script")?function(t){Ni.appendChild(St("script"))[Di]=function(){Ni.removeChild(this),Fi(t)}}:function(t){setTimeout(zi(t),0)});var Xi={set:Ei,clear:Ti},qi=function(){this.head=null,this.tail=null};qi.prototype={add:function(t){var r={item:t,next:null},i=this.tail;i?i.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Gi,Ui,Vi,Hi,Wi,Qi=qi,Zi=/ipad|iphone|ipod/i.test(z)&&"undefined"!=typeof Pebble,Ki=/web0s(?!.*chrome)/i.test(z),Ji=Xi.set,te=o.MutationObserver||o.WebKitMutationObserver,re=o.document,ie=o.process,ee=o.Promise,ne=(0,Ot.f)(o,"queueMicrotask"),se=ne&&ne.value;if(!se){var ae=new Qi,oe=function(){var t,r;for(_r&&(t=ie.domain)&&t.exit();r=ae.get();)try{r()}catch(t){throw ae.head&&Gi(),t}t&&t.enter()};Oi||_r||Ki||!te||!re?!Zi&&ee&&ee.resolve?((Hi=ee.resolve(void 0)).constructor=ee,Wi=Si(Hi.then,Hi),Gi=function(){Wi(oe)}):_r?Gi=function(){ie.nextTick(oe)}:(Ji=Si(Ji,o),Gi=function(){Ji(oe)}):(Ui=!0,Vi=re.createTextNode(""),new te(oe).observe(Vi,{characterData:!0}),Gi=function(){Vi.data=Ui=!Ui}),se=function(t){ae.head||Gi(),ae.add(t)}}var he,ue,ce,fe,le=se,ve=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},de=o.Promise,pe="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,ye=!pe&&!_r&&"object"==typeof window&&"object"==typeof document,ge=mt("species"),me=!1,be=L(o.PromiseRejectionEvent),we=Dr("Promise",(function(){var t=Qt(de),r=t!==String(de);if(!r&&66===G)return!0;if(!G||G<51||!/native code/.test(t)){var i=new de((function(t){t(1)})),e=function(t){t((function(){}),(function(){}))};if((i.constructor={})[ge]=e,!(me=i.then((function(){}))instanceof e))return!0}return!r&&(ye||pe)&&!be})),xe={CONSTRUCTOR:we,REJECTION_EVENT:be,SUBCLASSING:me},Me=TypeError,ke=function(t){var r,i;this.promise=new t((function(t,e){if(void 0!==r||void 0!==i)throw Me("Bad Promise constructor");r=t,i=e})),this.resolve=J(r),this.reject=J(i)},Se={f:function(t){return new ke(t)}},Ne=Xi.set,je="Promise",Pe=xe.CONSTRUCTOR,Oe=xe.REJECTION_EVENT,Ee=xe.SUBCLASSING,Te=ar.getterFor(je),Ce=ar.set,Ae=de&&de.prototype,Re=de,Be=Ae,Le=o.TypeError,$e=o.document,Ie=o.process,De=Se.f,Fe=De,ze=!!($e&&$e.createEvent&&o.dispatchEvent),_e="unhandledrejection",Ye=function(t){var r;return!(!I(t)||!L(r=t.then))&&r},Xe=function(t,r){var i,e,n,s=r.value,a=1==r.state,o=a?t.ok:t.fail,h=t.resolve,u=t.reject,c=t.domain;try{o?(a||(2===r.rejection&&He(r),r.rejection=1),!0===o?i=s:(c&&c.enter(),i=o(s),c&&(c.exit(),n=!0)),i===t.promise?u(Le("Promise-chain cycle")):(e=Ye(i))?l(e,i,h,u):h(i)):u(s)}catch(t){c&&!n&&c.exit(),u(t)}},qe=function(t,r){t.notified||(t.notified=!0,le((function(){for(var i,e=t.reactions;i=e.get();)Xe(i,t);t.notified=!1,r&&!t.rejection&&Ue(t)})))},Ge=function(t,r,i){var e,n;ze?((e=$e.createEvent("Event")).promise=r,e.reason=i,e.initEvent(t,!1,!0),o.dispatchEvent(e)):e={promise:r,reason:i},!Oe&&(n=o["on"+t])?n(e):t===_e&&function(t,r){try{1==arguments.length?console.error(t):console.error(t,r)}catch(t){}}("Unhandled promise rejection",i)},Ue=function(t){l(Ne,o,(function(){var r,i=t.facade,e=t.value;if(Ve(t)&&(r=ve((function(){_r?Ie.emit("unhandledRejection",e,i):Ge(_e,i,e)})),t.rejection=_r||Ve(t)?2:1,r.error))throw r.value}))},Ve=function(t){return 1!==t.rejection&&!t.parent},He=function(t){l(Ne,o,(function(){var r=t.facade;_r?Ie.emit("rejectionHandled",r):Ge("rejectionhandled",r,t.value)}))},We=function(t,r,i){return function(e){t(r,e,i)}},Qe=function(t,r,i){t.done||(t.done=!0,i&&(t=i),t.value=r,t.state=2,qe(t,!0))},Ze=function(t,r,i){if(!t.done){t.done=!0,i&&(t=i);try{if(t.facade===r)throw Le("Promise can't be resolved itself");var e=Ye(r);e?le((function(){var i={done:!1};try{l(e,r,We(Ze,i,t),We(Qe,i,t))}catch(r){Qe(i,r,t)}})):(t.value=r,t.state=1,qe(t,!1))}catch(r){Qe({done:!1},r,t)}}};if(Pe&&(Re=function(t){!function(t){if(F(Be,t))return t;throw Wr("Incorrect invocation")}(this),J(t),l(he,this);var r=Te(this);try{t(We(Ze,r),We(Qe,r))}catch(t){Qe(r,t)}},(he=function(){Ce(this,{type:je,done:!1,notified:!1,parent:!1,reactions:new Qi,rejection:!1,state:0,value:void 0})}).prototype=hr(Be=Re.prototype,"then",(function(t,r){var i=Te(this),e=De(gi(this,Re));return i.parent=!0,e.ok=!L(t)||t,e.fail=L(r)&&r,e.domain=_r?Ie.domain:void 0,0==i.state?i.reactions.add(e):le((function(){Xe(e,i)})),e.promise})),ue=function(){var t=new he,r=Te(t);this.promise=t,this.resolve=We(Ze,r),this.reject=We(Qe,r)},Se.f=De=function(t){return t===Re||void 0===t?new ue(t):Fe(t)},L(de)&&Ae!==Object.prototype)){ce=Ae.then,Ee||hr(Ae,"then",(function(t,r){var i=this;return new Re((function(t,r){l(ce,i,t,r)})).then(t,r)}),{unsafe:!0});try{delete Ae.constructor}catch(t){}qr&&qr(Ae,Be)}zr({global:!0,constructor:!0,wrap:!0,forced:Pe},{Promise:Re}),Vr(Re,je,!1),fe=D(je),u&&fe&&!fe[Hr]&&(0,zt.f)(fe,Hr,{configurable:!0,get:function(){return this}});var Ke={},Je=mt("iterator"),tn=Array.prototype,rn=mt("iterator"),en=function(t){if(!O(t))return tt(t,rn)||tt(t,"@@iterator")||Ke[ri(t)]},nn=TypeError,sn=function(t,r,i){var e,n;At(t);try{if(!(e=tt(t,"return"))){if("throw"===r)throw i;return i}e=l(e,t)}catch(t){n=!0,e=t}if("throw"===r)throw i;if(n)throw e;return At(e),i},an=TypeError,on=function(t,r){this.stopped=t,this.result=r},hn=on.prototype,un=function(t,r,i){var e,n,s,a,o,h,u,c,f=!(!i||!i.AS_ENTRIES),v=!(!i||!i.IS_RECORD),d=!(!i||!i.IS_ITERATOR),p=!(!i||!i.INTERRUPTED),y=Si(r,i&&i.that),g=function(t){return e&&sn(e,"normal",t),new on(!0,t)},m=function(t){return f?(At(t),p?y(t[0],t[1],g):y(t[0],t[1])):p?y(t,g):y(t)};if(v)e=t.iterator;else if(d)e=t;else{if(!(n=en(t)))throw an(Z(t)+" is not iterable");if(void 0!==(c=n)&&(Ke.Array===c||tn[Je]===c)){for(s=0,a=mr(t);a>s;s++)if((o=m(t[s]))&&F(hn,o))return o;return new on(!1)}e=function(t,r){var i=arguments.length<2?en(t):r;if(J(i))return At(l(i,t));throw nn(Z(t)+" is not iterable")}(t,n)}for(h=v?t.next:e.next;!(u=l(h,e)).done;){try{o=m(u.value)}catch(t){sn(e,"throw",t)}if("object"==typeof o&&o&&F(hn,o))return o}return new on(!1)},cn=mt("iterator"),fn=!1;try{var ln=0,vn={next:function(){return{done:!!ln++}},return:function(){fn=!0}};vn[cn]=function(){return this},Array.from(vn,(function(){throw 2}))}catch(t){}var dn=xe.CONSTRUCTOR||!function(){if(!fn)return!1;var t=!1;try{var r={};r[cn]=function(){return{next:function(){return{done:t=!0}}}},de.all(r).then(void 0,(function(){}))}catch(t){}return t}();zr({target:"Promise",stat:!0,forced:dn},{all:function(t){var r=this,i=Se.f(r),e=i.resolve,n=i.reject,s=ve((function(){var i=J(r.resolve),s=[],a=0,o=1;un(t,(function(t){var h=a++,u=!1;o++,l(i,r,t).then((function(t){u||(u=!0,s[h]=t,--o||e(s))}),n)})),--o||e(s)}));return s.error&&n(s.value),i.promise}});var pn=de&&de.prototype;if(zr({target:"Promise",proto:!0,forced:xe.CONSTRUCTOR,real:!0},{catch:function(t){return this.then(void 0,t)}}),L(de)){var yn=D("Promise").prototype.catch;pn.catch!==yn&&hr(pn,"catch",yn,{unsafe:!0})}zr({target:"Promise",stat:!0,forced:dn},{race:function(t){var r=this,i=Se.f(r),e=i.reject,n=ve((function(){var n=J(r.resolve);un(t,(function(t){l(n,r,t).then(i.resolve,e)}))}));return n.error&&e(n.value),i.promise}}),zr({target:"Promise",stat:!0,forced:xe.CONSTRUCTOR},{reject:function(t){var r=Se.f(this);return l(r.reject,void 0,t),r.promise}}),zr({target:"Promise",stat:!0,forced:xe.CONSTRUCTOR},{resolve:function(t){return function(t,r){if(At(t),I(r)&&r.constructor===t)return r;var i=Se.f(t);return(0,i.resolve)(r),i.promise}(this,t)}});const gn=i(r((function(t){function r(t,r,i,e,n,s,a){try{var o=t[s](a),h=o.value}catch(t){return void i(t)}o.done?r(h):Promise.resolve(h).then(e,n)}t.exports=function(t){return function(){var i=this,e=arguments;return new Promise((function(n,s){var a=t.apply(i,e);function o(t){r(a,n,s,o,h,"next",t)}function h(t){r(a,n,s,o,h,"throw",t)}o(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports})));var mn,bn=String,wn=function(t){if("Symbol"===ri(t))throw TypeError("Cannot convert a Symbol value to a string");return bn(t)},xn=function(){var t=At(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},Mn=o.RegExp,kn=h((function(){var t=Mn("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),Sn=kn||h((function(){return!Mn("a","y").sticky})),Nn={BROKEN_CARET:kn||h((function(){var t=Mn("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:Sn,UNSUPPORTED_Y:kn},jn=Object.keys||function(t){return kr(t,Sr)},Pn=u&&!Et?Object.defineProperties:function(t,r){At(t);for(var i,e=C(r),n=jn(r),s=n.length,a=0;s>a;)zt.f(t,i=n[a++],e[i]);return t},On={f:Pn},En="prototype",Tn="script",Cn=tr("IE_PROTO"),An=function(){},Rn=function(t){return"<"+Tn+">"+t+"</"+Tn+">"},Bn=function(t){t.write(Rn("")),t.close();var r=t.parentWindow.Object;return t=null,r},Ln=function(){try{mn=new ActiveXObject("htmlfile")}catch(t){}var t,r,i;Ln="undefined"!=typeof document?document.domain&&mn?Bn(mn):(r=St("iframe"),i="java"+Tn+":",r.style.display="none",Ni.appendChild(r),r.src=String(i),(t=r.contentWindow.document).open(),t.write(Rn("document.F=Object")),t.close(),t.F):Bn(mn);for(var e=Sr.length;e--;)delete Ln[En][Sr[e]];return Ln()};rr[Cn]=!0;var $n,In,Dn=Object.create||function(t,r){var i;return null!==t?(An[En]=At(t),i=new An,An[En]=null,i[Cn]=t):i=Ln(),void 0===r?i:On.f(i,r)},Fn=o.RegExp,zn=h((function(){var t=Fn(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),_n=o.RegExp,Yn=h((function(){var t=_n("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Xn=ar.get,qn=at("native-string-replace",String.prototype.replace),Gn=RegExp.prototype.exec,Un=Gn,Vn=x("".charAt),Hn=x("".indexOf),Wn=x("".replace),Qn=x("".slice),Zn=(In=/b*/g,l(Gn,$n=/a/,"a"),l(Gn,In,"a"),0!==$n.lastIndex||0!==In.lastIndex),Kn=Nn.BROKEN_CARET,Jn=void 0!==/()??/.exec("")[1];(Zn||Jn||Kn||zn||Yn)&&(Un=function(t){var r,i,e,n,s,a,o,h=this,u=Xn(h),c=wn(t),f=u.raw;if(f)return f.lastIndex=h.lastIndex,r=l(Un,f,c),h.lastIndex=f.lastIndex,r;var v=u.groups,d=Kn&&h.sticky,p=l(xn,h),y=h.source,g=0,m=c;if(d&&(p=Wn(p,"y",""),-1===Hn(p,"g")&&(p+="g"),m=Qn(c,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==Vn(c,h.lastIndex-1))&&(y="(?: "+y+")",m=" "+m,g++),i=new RegExp("^(?:"+y+")",p)),Jn&&(i=new RegExp("^"+y+"$(?!\\s)",p)),Zn&&(e=h.lastIndex),n=l(Gn,d?i:h,m),d?n?(n.input=Qn(n.input,g),n[0]=Qn(n[0],g),n.index=h.lastIndex,h.lastIndex+=n[0].length):h.lastIndex=0:Zn&&n&&(h.lastIndex=h.global?n.index+n[0].length:e),Jn&&n&&n.length>1&&l(qn,n[0],i,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(n[s]=void 0)})),n&&v)for(n.groups=a=Dn(null),s=0;s<v.length;s++)a[(o=v[s])[0]]=n[o[1]];return n});var ts=Un;zr({target:"RegExp",proto:!0,forced:/./.exec!==ts},{exec:ts});var rs=mt("species"),is=RegExp.prototype,es=function(t,r,i,e){var n=mt(t),s=!h((function(){var r={};return r[n]=function(){return 7},7!=""[t](r)})),a=s&&!h((function(){var r=!1,i=/a/;return"split"===t&&((i={}).constructor={},i.constructor[rs]=function(){return i},i.flags="",i[n]=/./[n]),i.exec=function(){return r=!0,null},i[n](""),!r}));if(!s||!a||i){var o=Mi(/./[n]),u=r(n,""[t],(function(t,r,i,e,n){var a=Mi(t),h=r.exec;return h===ts||h===is.exec?s&&!n?{done:!0,value:o(r,i,e)}:{done:!0,value:a(i,r,e)}:{done:!1}}));hr(String.prototype,t,u[0]),hr(is,n,u[1])}e&&_t(is[n],"sham",!0)},ns=x("".charAt),ss=x("".charCodeAt),as=x("".slice),os=function(t){return function(r,i){var e,n,s=wn(T(r)),a=lr(i),o=s.length;return a<0||a>=o?t?"":void 0:(e=ss(s,a))<55296||e>56319||a+1===o||(n=ss(s,a+1))<56320||n>57343?t?ns(s,a):e:t?as(s,a,a+2):n-56320+(e-55296<<10)+65536}},hs=(os(!1),os(!0)),us=function(t,r,i){return r+(i?hs(t,r).length:1)},cs=TypeError,fs=function(t,r){var i=t.exec;if(L(i)){var e=l(i,t,r);return null!==e&&At(e),e}if("RegExp"===S(t))return l(ts,t,r);throw cs("RegExp#exec called on incompatible receiver")};es("match",(function(t,r,i){return[function(r){var i=T(this),e=O(r)?void 0:tt(r,t);return e?l(e,r,i):new RegExp(r)[t](wn(i))},function(t){var e=At(this),n=wn(t),s=i(r,e,n);if(s.done)return s.value;if(!e.global)return fs(e,n);var a=e.unicode;e.lastIndex=0;for(var o,h=[],u=0;null!==(o=fs(e,n));){var c=wn(o[0]);h[u]=c,""===c&&(e.lastIndex=us(n,gr(e.lastIndex),a)),u++}return 0===u?null:h}]}));var ls=Math.floor,vs=x("".charAt),ds=x("".replace),ps=x("".slice),ys=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,gs=/\$([$&'`]|\d{1,2})/g,ms=function(t,r,i,e,n,s){var a=i+t.length,o=e.length,h=gs;return void 0!==n&&(n=ht(n),h=ys),ds(s,h,(function(s,h){var u;switch(vs(h,0)){case"$":return"$";case"&":return t;case"`":return ps(r,0,i);case"'":return ps(r,a);case"<":u=n[ps(h,1,-1)];break;default:var c=+h;if(0===c)return s;if(c>o){var f=ls(c/10);return 0===f?s:f<=o?void 0===e[f-1]?vs(h,1):e[f-1]+vs(h,1):s}u=e[c-1]}return void 0===u?"":u}))},bs=mt("replace"),ws=Math.max,xs=Math.min,Ms=x([].concat),ks=x([].push),Ss=x("".indexOf),Ns=x("".slice),js="$0"==="a".replace(/./,"$0"),Ps=!!/./[bs]&&""===/./[bs]("a","$0");es("replace",(function(t,r,i){var e=Ps?"$":"$0";return[function(t,i){var e=T(this),n=O(t)?void 0:tt(t,bs);return n?l(n,t,e,i):l(r,wn(e),t,i)},function(t,n){var s=At(this),a=wn(t);if("string"==typeof n&&-1===Ss(n,e)&&-1===Ss(n,"$<")){var o=i(r,s,a,n);if(o.done)return o.value}var h=L(n);h||(n=wn(n));var u=s.global;if(u){var c=s.unicode;s.lastIndex=0}for(var f=[];;){var l=fs(s,a);if(null===l)break;if(ks(f,l),!u)break;""===wn(l[0])&&(s.lastIndex=us(a,gr(s.lastIndex),c))}for(var v,d="",p=0,y=0;y<f.length;y++){for(var g=wn((l=f[y])[0]),m=ws(xs(lr(l.index),a.length),0),b=[],w=1;w<l.length;w++)ks(b,void 0===(v=l[w])?v:String(v));var x=l.groups;if(h){var M=Ms([g],b,m,a);void 0!==x&&ks(M,x);var k=wn(xi(n,void 0,M))}else k=ms(g,a,m,b,x,n);m>=p&&(d+=Ns(a,p,m)+k,p=m+g.length)}return d+Ns(a,p)}]}),!!h((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!js||Ps);var Os,Es=mt("match"),Ts=function(t){var r;return I(t)&&(void 0!==(r=t[Es])?!!r:"RegExp"==S(t))},Cs=TypeError,As=function(t){if(Ts(t))throw Cs("The method doesn't accept regular expressions");return t},Rs=mt("match"),Bs=function(t){var r=/./;try{"/./"[t](r)}catch(i){try{return r[Rs]=!1,"/./"[t](r)}catch(t){}}return!1},Ls=Ot.f,$s=Mi("".startsWith),Is=Mi("".slice),Ds=Math.min,Fs=Bs("startsWith"),zs=!(Fs||(Os=Ls(String.prototype,"startsWith"),!Os||Os.writable));zr({target:"String",proto:!0,forced:!zs&&!Fs},{startsWith:function(t){var r=wn(T(this));As(t);var i=gr(Ds(arguments.length>1?arguments[1]:void 0,r.length)),e=wn(t);return $s?$s(r,e,i):Is(r,i,i+e.length)===e}});var _s=zt.f,Ys=mt("unscopables"),Xs=Array.prototype;null==Xs[Ys]&&_s(Xs,Ys,{configurable:!0,value:Dn(null)});var qs,Gs,Us,Vs=function(t){Xs[Ys][t]=!0},Hs=!h((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Ws=tr("IE_PROTO"),Qs=Object,Zs=Qs.prototype,Ks=Hs?Qs.getPrototypeOf:function(t){var r=ht(t);if(ct(r,Ws))return r[Ws];var i=r.constructor;return L(i)&&r instanceof i?i.prototype:r instanceof Qs?Zs:null},Js=mt("iterator"),ta=!1;[].keys&&("next"in(Us=[].keys())?(Gs=Ks(Ks(Us)))!==Object.prototype&&(qs=Gs):ta=!0);var ra=!I(qs)||h((function(){var t={};return qs[Js].call(t)!==t}));ra&&(qs={}),L(qs[Js])||hr(qs,Js,(function(){return this}));var ia={IteratorPrototype:qs,BUGGY_SAFARI_ITERATORS:ta},ea=ia.IteratorPrototype,na=function(){return this},sa=Gt.PROPER,aa=Gt.CONFIGURABLE,oa=ia.IteratorPrototype,ha=ia.BUGGY_SAFARI_ITERATORS,ua=mt("iterator"),ca="keys",fa="values",la="entries",va=function(){return this},da=function(t,r){return{value:t,done:r}},pa=zt.f,ya="Array Iterator",ga=ar.set,ma=ar.getterFor(ya),ba=function(t,r,i,e,n){!function(t,r,i){var e=r+" Iterator";t.prototype=Dn(ea,{next:g(1,i)}),Vr(t,e,!1),Ke[e]=na}(i,r,(function(){var t=ma(this),r=t.target,i=t.kind,e=t.index++;return!r||e>=r.length?(t.target=void 0,da(void 0,!0)):da("keys"==i?e:"values"==i?r[e]:[e,r[e]],!1)}));var s,a,o,h=function(t){if(t===n&&d)return d;if(!ha&&t in f)return f[t];switch(t){case ca:case fa:case la:return function(){return new i(this,t)}}return function(){return new i(this)}},u=r+" Iterator",c=!1,f=t.prototype,v=f[ua]||f["@@iterator"]||n&&f[n],d=!ha&&v||h(n),p=f.entries||v;if(p&&(s=Ks(p.call(new t)))!==Object.prototype&&s.next&&(Ks(s)!==oa&&(qr?qr(s,oa):L(s[ua])||hr(s,ua,va)),Vr(s,u,!0)),sa&&v&&v.name!==fa&&(aa?_t(f,"name",fa):(c=!0,d=function(){return l(v,this)})),n)if(void(a={values:h(fa),keys:h(ca),entries:h(la)}))for(o in a)(ha||c||!(o in f))&&hr(f,o,a[o]);else zr({target:r,proto:!0,forced:ha||c},a);return f[ua]!==d&&hr(f,ua,d,{name:n}),Ke[r]=d,a}(Array,"Array",(function(t,r){ga(this,{type:ya,target:C(t),index:0,kind:r})}),0,"values"),wa=Ke.Arguments=Ke.Array;if(Vs("keys"),Vs("values"),Vs("entries"),u&&"values"!==wa.name)try{pa(wa,"name",{value:"values"})}catch(t){}var xa={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Ma=St("span").classList,ka=Ma&&Ma.constructor&&Ma.constructor.prototype,Sa=ka===Object.prototype?void 0:ka,Na=mt("iterator"),ja=mt("toStringTag"),Pa=ba.values,Oa=function(t,r){if(t){if(t[Na]!==Pa)try{_t(t,Na,Pa)}catch(r){t[Na]=Pa}if(t[ja]||_t(t,ja,r),xa[r])for(var i in ba)if(t[i]!==ba[i])try{_t(t,i,ba[i])}catch(r){t[i]=ba[i]}}};for(var Ea in xa)Oa(o[Ea]&&o[Ea].prototype,Ea);Oa(Sa,"DOMTokenList");var Ta=r((function(t){var r=e.default;t.exports=function(t,i){if("object"!==r(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,i||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports})),Ca=r((function(t){var r=e.default;t.exports=function(t){var i=Ta(t,"string");return"symbol"===r(i)?i:String(i)},t.exports.__esModule=!0,t.exports.default=t.exports}));const Aa=i(r((function(t){t.exports=function(t,r,i){return(r=Ca(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t},t.exports.__esModule=!0,t.exports.default=t.exports})));var Ra=TypeError,Ba=function(t){return function(r,i,e,n){J(i);var s=ht(r),a=P(s),o=mr(s),h=t?o-1:0,u=t?-1:1;if(e<2)for(;;){if(h in a){n=a[h],h+=u;break}if(h+=u,t?h<0:o<=h)throw Ra("Reduce of empty array with no initial value")}for(;t?h>=0:o>h;h+=u)h in a&&(n=i(n,a[h],h,s));return n}},La=function(t,r){var i=[][t];return!!i&&h((function(){i.call(null,r||function(){return 1},1)}))},$a=[Ba(!1),Ba(!0)][0],Ia=!_r&&G>79&&G<83||!La("reduce");zr({target:"Array",proto:!0,forced:Ia},{reduce:function(t){var r=arguments.length;return $a(this,t,r,r>1?arguments[1]:void 0)}});var Da=Ot.f,Fa=Mi("".endsWith),za=Mi("".slice),_a=Math.min,Ya=Bs("endsWith"),Xa=!Ya&&!!function(){var t=Da(String.prototype,"endsWith");return t&&!t.writable}();zr({target:"String",proto:!0,forced:!Xa&&!Ya},{endsWith:function(t){var r=wn(T(this));As(t);var i=arguments.length>1?arguments[1]:void 0,e=r.length,n=void 0===i?e:_a(gr(i),e),s=wn(t);return Fa?Fa(r,s,n):za(r,n-s.length,n)===s}});var qa=Array,Ga=Math.max,Ua=function(t,r,i){for(var e,n,s,a=mr(t),o=pr(r,a),h=pr(void 0===i?a:i,a),u=qa(Ga(h-o,0)),c=0;o<h;o++,c++)e=u,n=t[o],void 0,(s=xt(c))in e?zt.f(e,s,g(0,n)):e[s]=n;return u.length=c,u},Va=Nn.UNSUPPORTED_Y,Ha=4294967295,Wa=Math.min,Qa=[].push,Za=x(/./.exec),Ka=x(Qa),Ja=x("".slice);es("split",(function(t,r,i){var e;return e="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,i){var e=wn(T(this)),n=void 0===i?Ha:i>>>0;if(0===n)return[];if(void 0===t)return[e];if(!Ts(t))return l(r,e,t,n);for(var s,a,o,h=[],u=0,c=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(s=l(ts,c,e))&&!((a=c.lastIndex)>u&&(Ka(h,Ja(e,u,s.index)),s.length>1&&s.index<e.length&&xi(Qa,h,Ua(s,1)),o=s[0].length,u=a,h.length>=n));)c.lastIndex===s.index&&c.lastIndex++;return u===e.length?!o&&Za(c,"")||Ka(h,""):Ka(h,Ja(e,u)),h.length>n?Ua(h,0,n):h}:"0".split(void 0,0).length?function(t,i){return void 0===t&&0===i?[]:l(r,this,t,i)}:r,[function(r,i){var n=T(this),s=O(r)?void 0:tt(r,t);return s?l(s,r,n,i):l(e,wn(n),r,i)},function(t,n){var s=At(this),a=wn(t),o=i(e,s,a,n,e!==r);if(o.done)return o.value;var h=gi(s,RegExp),u=s.unicode,c=new h(Va?"^(?:"+s.source+")":s,(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(Va?"g":"y")),f=void 0===n?Ha:n>>>0;if(0===f)return[];if(0===a.length)return null===fs(c,a)?[a]:[];for(var l=0,v=0,d=[];v<a.length;){c.lastIndex=Va?0:v;var p,y=fs(c,Va?Ja(a,v):a);if(null===y||(p=Wa(gr(c.lastIndex+(Va?v:0)),a.length))===l)v=us(a,v,u);else{if(Ka(d,Ja(a,l,v)),d.length===f)return d;for(var g=1;g<=y.length-1;g++)if(Ka(d,y[g]),d.length===f)return d;v=l=p}}return Ka(d,Ja(a,l)),d}]}),!!h((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var i="ab".split(t);return 2!==i.length||"a"!==i[0]||"b"!==i[1]})),Va);for(var to=r((function(r){(function(){var t,i,e,n,s,a;"undefined"!=typeof performance&&null!==performance&&performance.now?r.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(r.exports=function(){return(t()-s)/1e6},i=process.hrtime,n=(t=function(){var t;return 1e9*(t=i())[0]+t[1]})(),a=1e9*process.uptime(),s=n-a):Date.now?(r.exports=function(){return Date.now()-e},e=Date.now()):(r.exports=function(){return(new Date).getTime()-e},e=(new Date).getTime())}).call(t)})),ro="undefined"==typeof window?t:window,io=["moz","webkit"],eo="AnimationFrame",no=ro["request"+eo],so=ro["cancel"+eo]||ro["cancelRequest"+eo],ao=0;!no&&ao<io.length;ao++)no=ro[io[ao]+"Request"+eo],so=ro[io[ao]+"Cancel"+eo]||ro[io[ao]+"CancelRequest"+eo];if(!no||!so){var oo=0,ho=0,uo=[];no=function(t){if(0===uo.length){var r=to(),i=Math.max(0,16.666666666666668-(r-oo));oo=i+r,setTimeout((function(){var t=uo.slice(0);uo.length=0;for(var r=0;r<t.length;r++)if(!t[r].cancelled)try{t[r].callback(oo)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(i))}return uo.push({handle:++ho,callback:t,cancelled:!1}),ho},so=function(t){for(var r=0;r<uo.length;r++)uo[r].handle===t&&(uo[r].cancelled=!0)}}var co=function(t){return no.call(ro,t)};co.cancel=function(){so.apply(ro,arguments)},co.polyfill=function(t){t||(t=ro),t.requestAnimationFrame=no,t.cancelAnimationFrame=so};var fo,lo="\t\n\v\f\r                 \u2028\u2029\ufeff",vo=x("".replace),po="["+lo+"]",yo=RegExp("^"+po+po+"*"),go=RegExp(po+po+"*$"),mo=function(t){return function(r){var i=wn(T(r));return 1&t&&(i=vo(i,yo,"")),2&t&&(i=vo(i,go,"")),i}},bo={start:mo(1),end:mo(2),trim:mo(3)},wo=Gt.PROPER,xo=bo.trim;zr({target:"String",proto:!0,forced:(fo="trim",h((function(){return!!lo[fo]()||"​…᠎"!=="​…᠎"[fo]()||wo&&lo[fo].name!==fo})))},{trim:function(){return xo(this)}});var Mo=function(t){this.ok=!1,this.alpha=1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t=(t=t.replace(/ /g,"")).toLowerCase();var r={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};t=r[t]||t;for(var i=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3]),parseFloat(t[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],e=0;e<i.length;e++){var n=i[e].process,s=i[e].re.exec(t);if(s){var a=n(s);this.r=a[0],this.g=a[1],this.b=a[2],a.length>3&&(this.alpha=a[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var t=this.r.toString(16),r=this.g.toString(16),i=this.b.toString(16);return 1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),1==i.length&&(i="0"+i),"#"+t+r+i},this.getHelpXML=function(){for(var t=new Array,e=0;e<i.length;e++)for(var n=i[e].example,s=0;s<n.length;s++)t[t.length]=n[s];for(var a in r)t[t.length]=a;var o=document.createElement("ul");for(o.setAttribute("id","rgbcolor-examples"),e=0;e<t.length;e++)try{var h=document.createElement("li"),u=new RGBColor(t[e]),c=document.createElement("div");c.style.cssText="margin: 3px; border: 1px solid black; background:"+u.toHex()+"; color:"+u.toHex(),c.appendChild(document.createTextNode("test"));var f=document.createTextNode(" "+t[e]+" -> "+u.toRGB()+" -> "+u.toHex());h.appendChild(c),h.appendChild(f),o.appendChild(h)}catch(t){}return o}},ko=wr.indexOf,So=Mi([].indexOf),No=!!So&&1/So([1],1,-0)<0,jo=No||!La("indexOf");zr({target:"Array",proto:!0,forced:jo},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return No?So(this,t,r)||0:ko(this,t,r)}});var Po=x("".indexOf);zr({target:"String",proto:!0,forced:!Bs("includes")},{includes:function(t){return!!~Po(wn(T(this)),wn(As(t)),arguments.length>1?arguments[1]:void 0)}});var Oo=Array.isArray||function(t){return"Array"==S(t)},Eo=x([].reverse),To=[1,2];zr({target:"Array",proto:!0,forced:String(To)===String(To.reverse())},{reverse:function(){return Oo(this)&&(this.length=this.length),Eo(this)}});
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
9
9
 
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as i,h as t,H as s,g as e,c as h}from"./p-7d280d8a.js";import{g as o,l as a}from"./p-be8ef276.js";import{q as l,g as n,c as d,e as r,f as c,i as v}from"./p-c897e3eb.js";import{d as p}from"./p-8910dc99.js";import"./p-8ddc7786.js";import"./p-e2d0ad1b.js";import"./p-c1cf3ebc.js";import"./p-b503d01d.js";import"./p-a230b270.js";import"./p-94c634ba.js";const u=class{constructor(t){i(this,t),this.isMobile=void 0,this.layer=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this._cardLoading=!1,this._graphics=void 0,this._translations=void 0}async featureSelectionChange(i){const t=i.detail;this._cardLoading=!0;const s=t.length>0?await l(t,this.layer,[],!1,this.mapView.spatialReference):[];this._graphics=s.sort(((i,s)=>t.indexOf(i.getObjectId())-t.indexOf(s.getObjectId()))),this._cardLoading=!1}async layerSelectionChange(i){const t=i.detail[0];this.layer=await n(this.mapView,t)}async componentWillLoad(){await this._getTranslations()}render(){var i,e;const h=(null===(i=this._graphics)||void 0===i?void 0:i.length)>0?"":"display-none",o=(null===(e=this._graphics)||void 0===e?void 0:e.length)>0?"display-none":"";return t(s,null,t("div",{class:"overflow-auto height-full"},t("calcite-shell",{class:"position-relative "+h},t("div",null,t("info-card",{graphics:this._graphics,isLoading:this._cardLoading,isMobile:this.isMobile,mapView:this.mapView,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))),t("calcite-shell",{class:"position-relative "+o},t("div",{class:"padding-1"},t("calcite-notice",{icon:"table",open:!0},t("div",{slot:"message"},this._translations.selectFeaturesToStart))))))}async _getTranslations(){const i=await o(this.el);this._translations=i[0]}get el(){return e(this)}};u.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}card-manager{display:block}";const b=class{constructor(t){i(this,t),this.featureSelectionChange=h(this,"featureSelectionChange",7),this._ctrlIsPressed=!1,this._defaultFilterHonored=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._observerSet=!1,this._shiftIsPressed=!1,this._skipOnChange=!1,this.onTableNodeCreate=i=>{this._tableNode=i},this.defaultGlobalId=void 0,this.defaultLayerId=void 0,this.defaultOid=void 0,this.enableAutoRefresh=void 0,this.enableColumnReorder=!0,this.enableCSV=void 0,this.enableInlineEdit=void 0,this.enableShare=void 0,this.isMobile=void 0,this.mapInfo=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.selectedIds=[],this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=void 0,this.zoomAndScrollToSelected=void 0,this._allIds=[],this._controlsThatFit=void 0,this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._filterOpen=!1,this._layer=void 0,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=void 0,this._translations=void 0}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}enableCSVWatchHandler(){var i;(null===(i=this._toolInfos)||void 0===i?void 0:i.length)>0&&this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}_controlsThatFitWatchHandler(){var i;const t=this._controlsThatFit?this._controlsThatFit.reduce(((i,t)=>(i.push(t.id),i)),[]):[];this._toolInfos=null===(i=this._toolInfos)||void 0===i?void 0:i.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}isMobileWatchHandler(){this._toolInfos||this.isMobile||this._initToolInfos()}async mapInfoWatchHandler(){this._resetColumnTemplates(),this._initLayerExpressions(),this._initToolInfos(),this._updateToolbar()}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression=void 0,this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",(i=>{this._mapClicked(i)})))}async _layerWatchHandler(){var i;this._fetchingData=!0,await(null===(i=this._layer)||void 0===i?void 0:i.when((async()=>{var i;this._definitionExpression=this._layer.definitionExpression,this._floorField=null===(i=this._layer.floorInfo)||void 0===i?void 0:i.floorField,this._updateFloorDefinitionExpression(),await this._resetTable(),this._initLayerExpressions(),this._updateShareUrl(),this._fetchingData=!1})))}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1)}async selectionChanged(i){const t=i.detail[0],s=t.getObjectId();if(this.zoomAndScrollToSelected){const i=this._table.viewModel.getObjectIdIndex(s);this._table.scrollToIndex(i);const e=t.layer;let h;this.mapView.allLayerViews.toArray().some((i=>{if(i.layer.title===e.title&&"feature"===i.layer.type)return h=i,!0})),h&&await d([s],h,this.mapView,!0)}}async editsComplete(i){const t=i.detail;"delete"!==t&&"add"!==t||(this._allIds=await r(this._layer)),await this._refresh()}async facilityChanged(i){this._floorFacility=i.detail,this._updateFloorDefinitionExpression()}async levelChanged(i){this._floorLevel=i.detail,this._updateFloorDefinitionExpression()}async siteChanged(i){this._floorSite=i.detail,this._updateFloorDefinitionExpression()}noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._onResize())))}render(){const i=this._fetchingData?"display-none":"",e=this._fetchingData?"":"display-none",h=this._allIds.length.toString(),o=this.selectedIds.length.toString(),a=this.isMobile?"height-full":"height-full-adjusted";return this._validateActiveActions(),t(s,null,t("calcite-shell",null,this._getTableControlRow("header"),t("div",{class:`width-full ${a}`},t("calcite-panel",{class:"height-full width-full"},t("calcite-loader",{class:e,label:this._translations.fetchingData,scale:"l"}),t("div",{class:i,ref:this.onTableNodeCreate})),this.isMobile?void 0:t("div",{class:"bottom-left text-color height-19"},this._translations.recordsSelected.replace("{{total}}",h).replace("{{selected}}",o)))),this._filterModal())}async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0),document.onclick=i=>this._handleDocumentClick(i),document.onkeydown=i=>this._handleKeyDown(i),document.onkeyup=i=>this._handleKeyUp(i)}componentDidRender(){this._updateToolbar()}async _initModules(){const[i,t,s]=await a(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate"]);this.FeatureTable=i,this.reactiveUtils=t,this.TableTemplate=s}_onResize(){this._updateToolbar()}_getTableControlRow(i){return t("div",{class:"display-flex border-bottom height-51",ref:i=>this._toolbar=i,slot:i},this._getActionBar(),this.isMobile?void 0:this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile?this._getShare("share"):void 0)}_getActionBar(){const i=this.isMobile?"width-full":"",s=this.isMobile?"border-top":"";return t("calcite-action-bar",{class:i,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},t("div",{class:`border-end ${i} ${s}`,id:"solutions-map-layer-picker-container"},t("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,mapView:this.mapView,onLayerSelectionChange:i=>this._layerSelectionChanged(i),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",scale:"l",showSingleLayerAsLabel:!0,showTables:!0,type:"dropdown"})),this.isMobile?void 0:this._getActions())}_getActions(){const i=this._getActionItems();return null==i?void 0:i.reduce(((i,s)=>(s&&!s.isOverflow&&i.push(s.isDanger?this._getDangerAction(s.icon,s.label,s.func,s.disabled):s.isSublist?t("calcite-dropdown",{closeOnSelectDisabled:!0,id:this._getId(s.icon),onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:i=>this._showHideDropdown=i},this._getAction(s.active,this._showHideOpen?"chevron-down":s.icon,s.indicator,s.label,s.func,s.disabled,s.loading,"trigger"),this._showHideOpen?this._getFieldlist():void 0):this._getAction(s.active,s.icon,s.indicator,s.label,s.func,s.disabled,s.loading)),i)),[])}_getFieldlist(){return this._columnsInfo?t("calcite-dropdown-group",{"selection-mode":"multiple"},Object.keys(this._columnsInfo).map((i=>t("calcite-dropdown-item",{id:i,onClick:i=>{const t=i.target;this._columnsInfo[t.id]=t.selected,t.selected?this._table.showColumn(t.id):this._table.hideColumn(t.id)},selected:this._columnsInfo[i]},i)))):void 0}_validateEnabledActions(){var i;const t=this._featuresSelected(),s=["zoom-to-object","trash","erase","selected-items-filter"];null===(i=this._toolInfos)||void 0===i||i.forEach((i=>{i&&s.indexOf(i.icon)>-1&&(i.disabled=!t)}))}_validateActiveActions(){var i;const t=["filter","list-check-all","selected-items-filter"];null===(i=this._toolInfos)||void 0===i||i.forEach((i=>{i&&t.indexOf(i.icon)>-1&&("filter"===i.icon&&(i.indicator=this._filterActive),"list-check-all"===i.icon&&(i.active=this._selectAllActive),"selected-items-filter"===i.icon&&(i.active=this._showOnlySelected))}))}_initToolInfos(){const i=this._featuresSelected(),t=this._featuresEmpty(),s=this._hasFilterExpressions();this._translations&&(this._toolInfos=[{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!i,isOverflow:!1},s?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1,isOverflow:!1}:void 0,this._deleteEnabled?{active:void 0,icon:"trash",indicator:void 0,label:void 0,func:void 0,disabled:!i,isDanger:!0,isOverflow:!1}:void 0,{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this._clearSelection(),disabled:!i,isOverflow:!1},{active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!i,isOverflow:!1},{active:!1,icon:"list-check-all",indicator:!1,func:()=>this._selectAll(),label:this._translations.selectAll,disabled:t,isOverflow:!1},{active:!1,icon:"compare",indicator:!1,func:()=>this._switchSelected(),label:this._translations.switchSelected,disabled:t,isOverflow:!1},{active:!1,icon:"refresh",indicator:!1,func:()=>this._refresh(),label:this._translations.refresh,disabled:!1,isOverflow:!1},this.enableCSV?{active:!1,icon:"export",indicator:!1,func:()=>{this._exportToCSV()},label:this._translations.exportCSV,loading:this._csvExporting,disabled:t,isOverflow:!1}:void 0,{active:!1,icon:this._showHideOpen?"chevron-down":"chevron-right",indicator:!1,func:()=>this._toggleShowHide(),label:this._translations.showHideColumns,disabled:!1,isOverflow:!1,isSublist:!0}],this._defaultVisibleToolSizeInfos=void 0)}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){const i=`${this._floorField} = '${this._floorLevel}'`,t=this._layer.definitionExpression;this._layer.definitionExpression=(null==t?void 0:t.indexOf(this._floorExpression))>-1?t.replace(this._floorExpression,i):t?`${t} AND (${i})`:i,this._floorExpression=i}}_featuresSelected(){return this.selectedIds.length>0}_featuresEmpty(){return 0===this._allIds.length}_hasFilterExpressions(){var i,t,s;let e;return(null===(t=null===(i=this.mapInfo)||void 0===i?void 0:i.filterConfig)||void 0===t?void 0:t.layerExpressions)&&(null===(s=this._layer)||void 0===s?void 0:s.id)&&(e=this.mapInfo.filterConfig.layerExpressions.filter((i=>i.id===this._layer.id))),(null==e?void 0:e.length)>0}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const i=this._toolbar.offsetWidth;let t=this._toolbarSizeInfos.reduce(((i,t)=>i+t.width),0);const s=["solutions-more","solutions-map-layer-picker-container","solutions-action-share"];if(t>i){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(t>i?t-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((i,t)=>(i.push(t.id),i)),[]);let h=!1;const o=[...this._defaultVisibleToolSizeInfos].reduce(((o,a)=>(!h&&s.indexOf(a.id)<0&&(e.indexOf(a.id)>-1||t+a.width<=i)?(e.indexOf(a.id)<0&&(t+=a.width),o.push(a)):s.indexOf(a.id)<0&&t+a.width>i&&(h=!0),o)),[]);this._setControlsThatFit(o,s)}}),250))}_setControlsThatFit(i,t){let s=JSON.stringify(i)!==JSON.stringify(this._controlsThatFit);document.getElementById("solutions-action-bar").childNodes.forEach((i=>{t.indexOf(i.id)<0&&!s&&(s=this._controlsThatFit.map((i=>i.id)).indexOf(i.id)<0)})),s&&(this._controlsThatFit=[...i])}_setToolbarSizeInfos(){let i=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((t,s)=>{0===s?t.childNodes.forEach((t=>{this._toolbarSizeInfos.push({id:t.id,width:t.offsetWidth}),i||(i=t.offsetWidth>0)})):t.referenceElement||(this._toolbarSizeInfos.push({id:t.id,width:t.offsetWidth}),i||(i=t.offsetWidth>0))})),i&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionItems(){var i;return null===(i=this._toolInfos)||void 0===i?void 0:i.filter((i=>i&&!i.isOverflow))}_getDropdown(i){const s=this._getDropdownItems();return s.length>0?t("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this._layer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:i=>this._moreDropdown=i},t("calcite-action",{appearance:"solid",id:i,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},t("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),t("calcite-dropdown-group",{"selection-mode":"none"},s.map((i=>t("calcite-dropdown-group",{class:i.disabled?"disabled":"",selectionMode:i.disabled?"none":"single"},t("calcite-dropdown-item",{disabled:i.loading,iconStart:i.isSublist&&this._showHideOpen?"chevron-down":i.loading?"":i.icon,id:"solutions-subset-list",onClick:i.func},i.loading?t("div",{class:"display-flex"},t("calcite-loader",{inline:!0,label:i.label,scale:"m"}),i.label):i.label))))),this._showHideOpen?this._getFieldlist():void 0):void 0}_getDropdownItems(){var i;return null===(i=this._toolInfos)||void 0===i?void 0:i.filter((i=>i&&i.isOverflow))}_getAction(i,s,e,h,o,a,l,n){const d=void 0===this._layer||a;return t("div",{class:"display-flex",id:this._getId(s),slot:n},t("calcite-action",{active:i,appearance:"solid",disabled:d,icon:s,id:s,indicator:e,label:h,loading:l,onClick:o,text:h,textEnabled:!0}),this._getToolTip("bottom",s,h))}_getShare(i){return t("div",{class:"share-action",id:this._getId(i)},t("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:i=>this._shareNode=i,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",i,this._translations.share))}_updateShareUrl(){var i,t,s,e;const h=null===(i=this._shareNode)||void 0===i?void 0:i.shareUrl;if(!h)return;const o=new URL(h);(null===(t=this.mapInfo)||void 0===t?void 0:t.id)?o.searchParams.set("webmap",this.mapInfo.id):o.searchParams.delete("webmap"),(null===(s=this._layer)||void 0===s?void 0:s.id)?o.searchParams.set("layer",this._layer.id):o.searchParams.delete("layer"),(null===(e=this.selectedIds)||void 0===e?void 0:e.length)>0?o.searchParams.set("oid",this.selectedIds.join(",")):o.searchParams.delete("oid"),this._shareNode.shareUrl=o.href}_getToolTip(i,s,e){return document.getElementById(s)?t("calcite-tooltip",{placement:i,"reference-element":s},t("span",null,e)):void 0}_getId(i){return`solutions-action-${i}`}_getDangerAction(i,s,e,h){const o=void 0===this._layer||h;return t("div",{class:"display-flex",id:this._getId(i)},"trash"===i?t("delete-button",{buttonType:"action",class:"display-flex",disabled:o,icon:i,ids:this._getIds(),layer:this._layer}):t("calcite-action",{appearance:"solid",disabled:o,id:i,onClick:e,text:""},t("calcite-button",{appearance:"transparent",iconStart:i,kind:"danger"},s)),this._getToolTip("bottom",i,s))}_getIds(){return this._table.highlightIds.toArray()}async _getTable(i,t){this._layer&&(await this._layer.when((()=>{this._table=new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!0,multiSortEnabled:!1,visibleElements:{header:!1,menu:!1},tableTemplate:{columnTemplates:t},container:i})})),await this._table.when((()=>{this._table.highlightIds.on("change",(i=>{this._handleOnChange(i)}))})))}async _handleOnChange(i){const t=[...this._table.highlightIds.toArray()];if(this._skipOnChange)this._skipOnChange=!1;else{if(this._ctrlIsPressed||this._shiftIsPressed){if(this._ctrlIsPressed)this.selectedIds=t.reverse();else if(this._shiftIsPressed&&(this._skipOnChange=!0,this._previousCurrentId=this._currentId,this._currentId=[...this._table.highlightIds.toArray()].reverse()[0],this._previousCurrentId!==this._currentId)){const i=this._table.activeSortOrders.reduce(((i,t)=>(i.push(`${t.fieldName} ${t.direction}`),i)),[]),s=await c(this._layer,this._layer.definitionExpression,i);let e=!1;const h=this._table.viewModel.getObjectIdIndex(this._previousCurrentId),o=this._table.viewModel.getObjectIdIndex(this._currentId),a=h<o?h:o,l=o>h?o:h;this._skipOnChange=a+1!==l;const n=s.reduce(((i,t)=>{const s=t,h=this._table.viewModel.getObjectIdIndex(s);return s!==this._currentId&&s!==this._previousCurrentId||(e=!e,i.indexOf(s)<0&&i.push(s)),e&&i.indexOf(s)<0&&i.push(s),(this.selectedIds.indexOf(s)>-1||h>=a&&h<=l)&&i.indexOf(s)<0&&h>-1&&i.push(s),i}),[]);this.selectedIds=h<o?n.reverse():n,this._table.highlightIds.addMany(this.selectedIds.filter((i=>t.indexOf(i)<0)))}}else if(this.selectedIds.length>0){this._skipOnChange=!0;const s=this.selectedIds.length>1&&1===i.removed.length?i.removed:t.filter((i=>this.selectedIds.indexOf(i)<0));this._clearSelection(),this.selectedIds=[...s],s.length>0?this._table.highlightIds.add(s[0]):this._skipOnChange=!1}else this.selectedIds=t.reverse();this._finishOnChange()}this._currentId=[...this._table.highlightIds.toArray()].reverse()[0]}_finishOnChange(){this._showOnlySelected&&(this._featuresSelected()?this._table.filterBySelection():this._toggleShowSelected()),this.featureSelectionChange.emit(this.selectedIds)}_resetColumnTemplates(){var i,t;const s=this._getColumnTemplates(null===(i=this._layer)||void 0===i?void 0:i.id,null===(t=this._layer)||void 0===t?void 0:t.fields),e=null==s?void 0:s.some(((i,t)=>{var s;return JSON.stringify(null===(s=this._table)||void 0===s?void 0:s.tableTemplate.columnTemplates[t])!==JSON.stringify(i)}));if(this._table&&s&&(e||!this._columnsInfo)){this._table.tableTemplate=new this.TableTemplate({columnTemplates:s});const i=s.map((i=>i.fieldName));this._initColumnsInfo(i)}}async _resetTable(){var i;if(this._clearSelection(),this._allIds=await r(this._layer),this._table)this._table.view=this.mapView,this._table.layer=this._layer;else{const t=this._getColumnTemplates(this._layer.id,null===(i=this._layer)||void 0===i?void 0:i.fields);await this._getTable(this._tableNode,t)}await this._initLayerRefresh(),this._checkEditEnabled(),this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this.reactiveUtils.once((()=>"loaded"===this._table.state)).then((async()=>{this._table.highlightIds.removeAll(),this._table.clearSelectionFilter(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),this._initToolInfos(),this._updateToolbar()}))}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._refreshHandle=this._layer.on("refresh",(i=>{i.dataChanged&&(this._skipOnChange=!0,this._updateAllIds())}))}async _updateAllIds(){this._allIds=await r(this._layer),this.selectedIds=this.selectedIds.filter((i=>this._allIds.indexOf(i)>-1)),await this._refresh()}async _handleDefaults(){var i,t;if(!this._defaultOidHonored&&(null===(i=this.defaultOid)||void 0===i?void 0:i.length)>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=void 0,this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&(null===(t=this.defaultGlobalId)||void 0===t?void 0:t.length)>0&&this._table){const i=await v(this.defaultGlobalId,this._layer),t=(null==i?void 0:i.length)>0?i.map((i=>i.getObjectId())):void 0;t&&await this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=void 0,this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(i){var t,s;const e=null===(t=this._table)||void 0===t?void 0:t.columns.reduce(((t,s)=>((!i||(null==i?void 0:i.indexOf(s.name))>-1)&&(t[s.name]=!s.hidden),t)),{}),h=null===(s=this._table)||void 0===s?void 0:s.columns.map((i=>i.name));(i?i.filter((i=>h.indexOf(i)<0)):[]).forEach((i=>{e[i]=!0})),this._columnsInfo=i?i.reduce(((i,t)=>(i[t]=e[t],i)),{}):e}async _selectDefaultFeature(i){i.length>0&&this._table.highlightIds.addMany(i)}_checkEditEnabled(){this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._deleteEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsDelete}async _sortTable(){this._table&&this._layer&&this.showNewestFirst&&(await this._table.when(),await this._layer.when((()=>{this._table.sortColumn(this._layer.objectIdField,"desc")})))}_forceShowHide(){this._showHideDropdown&&(this._showHideDropdown.open=this._showHideOpen),this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_closeShowHide(){this._showHideOpen=!1}_handleDocumentClick(i){var t;const s=null===(t=i.target)||void 0===t?void 0:t.id;this._showHideOpen&&Object.keys(this._columnsInfo).indexOf(s)<0&&"solutions-subset-list"!==s&&"chevron-right"!==s&&(this._closeShowHide(),this._moreDropdown&&(this._moreDropdown.open=!1),this._showHideDropdown&&(this._showHideDropdown.open=!1))}_handleKeyDown(i){this._ctrlIsPressed=i.ctrlKey,this._shiftIsPressed=i.shiftKey}_handleKeyUp(i){this._ctrlIsPressed=i.ctrlKey,this._shiftIsPressed=i.shiftKey}_filterModal(){var i,s,e;return t("calcite-modal",{"aria-labelledby":"modal-title",class:"modal",kind:"brand",onCalciteModalClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},t("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},null===(s=null===(i=this._translations)||void 0===i?void 0:i.filter)||void 0===s?void 0:s.replace("{{title}}",null===(e=this._layer)||void 0===e?void 0:e.title)),t("div",{slot:"content"},t("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:async()=>this._closeFilter(),comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:()=>this._handleFilterListReset(),onFilterUpdate:()=>this._handleFilterUpdate(),ref:i=>this._filterList=i,view:this.mapView,zoomBtn:!1})))}_handleFilterListReset(){this._filterActive=!1,this._updateShareUrl()}_handleFilterUpdate(){const i=this._layer.definitionExpression;if(this._floorExpression){const t=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=i&&this._floorField&&i.indexOf(`${this._floorField} = '`)>-1?i.replace(t,this._floorExpression):i?`${i} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=this._definitionExpression!==this._layer.definitionExpression&&(!this._floorExpression||this._layer.definitionExpression!==this._floorExpression),this._updateShareUrl()}async _closeFilter(){this._filterOpen&&(this._allIds=await r(this._layer),this._filterOpen=!1)}async _mapClicked(i){const t={include:this._layer},s=await this.mapView.hitTest(i.screenPoint,t);s.results.length>0?(s.results.forEach((i=>{const t=i.graphic.getObjectId();this._table.highlightIds.indexOf(t)<0&&this._table.highlightIds.add(t)})),this._showOnlySelected&&this._table.filterBySelection()):this._clearSelection()}_selectAll(){const i=this._allIds;this._table.highlightIds.removeAll(),this._skipOnChange=!0,this._table.highlightIds.addMany(i),this.selectedIds=i,this._finishOnChange(),this._selectAllActive=!0}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._showOnlySelected?this._table.filterBySelection():this._table.clearSelectionFilter()}_clearSelection(){var i;this.selectedIds=[],null===(i=this._table)||void 0===i||i.highlightIds.removeAll(),this._finishOnChange()}_toggleFilter(){this._filterOpen=!this._filterOpen}_initLayerExpressions(){var i,t;const s=null===(t=null===(i=this.mapInfo)||void 0===i?void 0:i.filterConfig)||void 0===t?void 0:t.layerExpressions;this._layerExpressions=s?s.filter((i=>{var t;return i.id===(null===(t=this._layer)||void 0===t?void 0:t.id)})):[],this._filterList.layerExpressions=this._layerExpressions,this._filterActive=this._layerExpressions.filter((i=>i.expressions.filter((i=>i.active)).length>0)).length>0}_switchSelected(){const i=[...this.selectedIds];this._table.highlightIds.removeAll();const t=this._allIds.reduce(((t,s)=>(i.indexOf(s)<0&&t.push(s),t)),[]).sort(((i,t)=>i-t));this._skipOnChange=!0,this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange()}async _exportToCSV(){const i={},t=this._table.highlightIds.toArray();i[this._layer.id]={selectionSetNames:[this._layer.title],ids:t,layer:this._layer};const s=this._table.columns.toArray().reduce(((i,t)=>(t.hidden||i.push(t.name.toLocaleLowerCase()),i)),[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,await p(null,i,!1,!1,!0,s,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}_updateToolInfoLoading(i,t){this._toolInfos.some((s=>{if((null==s?void 0:s.icon)===i)return s.loading=t,!0}))}async _refresh(){await this._table.refresh(),this.featureSelectionChange.emit(this.selectedIds)}_zoom(){this._table.zoomToSelection()}async _layerSelectionChanged(i){var t;const s=i.detail[0];if(s!==(null===(t=this._layer)||void 0===t?void 0:t.id)||this._featuresEmpty()){this._fetchingData=!0;const i=await n(this.mapView,s);await i.when((()=>{this._layer=i}))}this._fetchingData=!1}_getColumnTemplates(i,t){var s,e;let h;null===(e=null===(s=this.mapInfo)||void 0===s?void 0:s.layerOptions)||void 0===e||e.layers.some((t=>{if(t.id===i)return h=t,!0}));const o=(null==h?void 0:h.fields)&&(null==h?void 0:h.fieldOrder)?h.fieldOrder.filter((i=>h.fields.indexOf(i)>-1)):void 0;let a;return t&&(a=h&&(null==h?void 0:h.fields)?t.reduce(((i,t)=>{if(h.fields.indexOf(t.name)>-1){const s={type:"field",fieldName:t.name,label:t.alias,menuConfig:this._getMenuConfig(t.name)};i.push(s)}return i}),[]).sort(this._sortFields.bind(this,null==h?void 0:h.fieldOrder)):t.map((i=>({type:"field",fieldName:i.name,label:i.alias,menuConfig:this._getMenuConfig(i.name)})))),o?null==a?void 0:a.sort(this._sortFields.bind(this,o)):a}_sortFields(i,t,s){return(null==i?void 0:i.indexOf(t.fieldName))-i.indexOf(s.fieldName)}_getMenuConfig(i){return{items:[{label:this._translations.hideField,iconClass:"esri-icon-non-visible",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(i)}}]}}_handleHideClick(i){this._columnsInfo[i]=!1,this._table.hideColumn(i),this._table.tableTemplate.columnTemplates.forEach((t=>{t.fieldName===i&&(t.visible=!1)}))}async _getTranslations(){const i=await o(this.el);this._translations=i[0]}get el(){return e(this)}static get watchers(){return{defaultOid:["defaultOidWatchHandler"],defaultGlobalId:["defaultGlobalIdWatchHandler"],enableCSV:["enableCSVWatchHandler"],enableInlineEdit:["enableInlineEditWatchHandler"],enableShare:["enableShareWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"],isMobile:["isMobileWatchHandler"],mapInfo:["mapInfoWatchHandler"],mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"],selectedIds:["selectedIdsWatchHandler"]}}};b.style=':host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir="rtl"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir="rtl"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}';const m=class{constructor(t){i(this,t),this.mapChanged=h(this,"mapChanged",7),this.beforeMapChanged=h(this,"beforeMapChanged",7),this._defaultWebmapHonored=!1,this._loadedId="",this.defaultWebmapId="",this.enableHome=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableSingleExpand=!0,this.enableSearch=void 0,this.enableBasemap=void 0,this.basemapConfig=void 0,this.hidden=void 0,this.homeZoomIndex=3,this.homeZoomPosition="top-left",this.homeZoomToolsSize="m",this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.mapView=void 0,this.stackTools=!0,this.theme=void 0,this.toolOrder=void 0,this._searchConfiguration=void 0,this._webMapInfo=void 0}enableHomeWatchHandler(){this._initHome()}async mapInfoChange(i){await this._loadMap(i.detail)}async componentWillLoad(){await this._initModules()}render(){var i,e;const h=this.hidden?"visibility-hidden-1":"",o="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",a=(null===(i=this.mapInfos)||void 0===i?void 0:i.length)>1?"":"display-none",l=(null===(e=this.mapInfos)||void 0===e?void 0:e.length)>1?"map-height":"height-full";return t(s,null,t("map-picker",{class:a,mapInfos:this.mapInfos,ref:i=>this._mapPicker=i}),t("div",{class:`${l} ${h}`,ref:i=>this._mapDiv=i}),t("map-tools",{basemapConfig:this.basemapConfig,class:`box-shadow ${o}`,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableSingleExpand:this.enableSingleExpand,homeZoomToolsSize:this.homeZoomToolsSize,mapView:this.mapView,mapWidgetsSize:this.mapWidgetsSize,position:this.mapWidgetsPosition,ref:i=>this._mapTools=i,searchConfiguration:this._searchConfiguration,stackTools:this.stackTools,toolOrder:this.toolOrder}))}async _initModules(){const[i,t,s]=await a(["esri/WebMap","esri/views/MapView","esri/widgets/Home"]);this.WebMap=i,this.MapView=t,this.Home=s}async _loadMap(i){var t;const s=!this._defaultWebmapHonored&&this.defaultWebmapId,e=null===(t=this.mapInfos)||void 0===t?void 0:t.filter((i=>i.id===this.defaultWebmapId)),h=JSON.stringify(i)!==JSON.stringify(this._webMapInfo);this._webMapInfo=s&&e?e[0]:!(null==i?void 0:i.id)&&this.mapInfos.length>0?this.mapInfos[0]:i;const o=this._webMapInfo.id,a=s&&(null==i?void 0:i.id)===this.defaultWebmapId;if(this._loadedId!==o&&!s||a){const i=new this.WebMap({portalItem:{id:o}});this.mapView=new this.MapView({container:this._mapDiv,map:i,resizeAlign:"center"}),this._loadedId=o,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),await this.mapView.when((()=>{this._initHome(),this.mapView.ui.add(this._mapTools,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=!!a||this._defaultWebmapHonored,this.mapChanged.emit({id:o,mapView:this.mapView})}))}else s?(this._defaultWebmapHonored=!0,this._mapPicker.setMapByID(o)):h&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:o,mapView:this.mapView}))}_initHome(){if(this.enableHome){this._homeWidget=new this.Home({view:this.mapView}),this.mapView.ui.add(this._homeWidget,{position:this.homeZoomPosition,index:this.homeZoomIndex});const i="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";this._homeWidget.domNode.style.height=i,this._homeWidget.domNode.style.width=i}else this._homeWidget&&this.mapView.ui.remove(this._homeWidget)}get el(){return e(this)}static get watchers(){return{enableHome:["enableHomeWatchHandler"]}}};m.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 51px)}.height-full{height:100%}.box-shadow{box-shadow:none !important}.visibility-hidden-1{visibility:hidden;height:1px;}.display-none{display:none}";export{u as card_manager,b as layer_table,m as map_card}
6
+ import{r as i,h as t,H as s,g as e,c as h}from"./p-7d280d8a.js";import{g as o,l as a}from"./p-be8ef276.js";import{q as l,g as n,c as d,e as r,f as c,i as v}from"./p-c897e3eb.js";import{d as p}from"./p-1d3a1794.js";import"./p-8ddc7786.js";import"./p-e2d0ad1b.js";import"./p-c1cf3ebc.js";import"./p-b503d01d.js";import"./p-a230b270.js";import"./p-94c634ba.js";const u=class{constructor(t){i(this,t),this.isMobile=void 0,this.layer=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this._cardLoading=!1,this._graphics=void 0,this._translations=void 0}async featureSelectionChange(i){const t=i.detail;this._cardLoading=!0;const s=t.length>0?await l(t,this.layer,[],!1,this.mapView.spatialReference):[];this._graphics=s.sort(((i,s)=>t.indexOf(i.getObjectId())-t.indexOf(s.getObjectId()))),this._cardLoading=!1}async layerSelectionChange(i){const t=i.detail[0];this.layer=await n(this.mapView,t)}async componentWillLoad(){await this._getTranslations()}render(){var i,e;const h=(null===(i=this._graphics)||void 0===i?void 0:i.length)>0?"":"display-none",o=(null===(e=this._graphics)||void 0===e?void 0:e.length)>0?"display-none":"";return t(s,null,t("div",{class:"overflow-auto height-full"},t("calcite-shell",{class:"position-relative "+h},t("div",null,t("info-card",{graphics:this._graphics,isLoading:this._cardLoading,isMobile:this.isMobile,mapView:this.mapView,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))),t("calcite-shell",{class:"position-relative "+o},t("div",{class:"padding-1"},t("calcite-notice",{icon:"table",open:!0},t("div",{slot:"message"},this._translations.selectFeaturesToStart))))))}async _getTranslations(){const i=await o(this.el);this._translations=i[0]}get el(){return e(this)}};u.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}card-manager{display:block}";const b=class{constructor(t){i(this,t),this.featureSelectionChange=h(this,"featureSelectionChange",7),this._ctrlIsPressed=!1,this._defaultFilterHonored=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._observerSet=!1,this._shiftIsPressed=!1,this._skipOnChange=!1,this.onTableNodeCreate=i=>{this._tableNode=i},this.defaultGlobalId=void 0,this.defaultLayerId=void 0,this.defaultOid=void 0,this.enableAutoRefresh=void 0,this.enableColumnReorder=!0,this.enableCSV=void 0,this.enableInlineEdit=void 0,this.enableShare=void 0,this.isMobile=void 0,this.mapInfo=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.selectedIds=[],this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=void 0,this.zoomAndScrollToSelected=void 0,this._allIds=[],this._controlsThatFit=void 0,this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._filterOpen=!1,this._layer=void 0,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=void 0,this._translations=void 0}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}enableCSVWatchHandler(){var i;(null===(i=this._toolInfos)||void 0===i?void 0:i.length)>0&&this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}_controlsThatFitWatchHandler(){var i;const t=this._controlsThatFit?this._controlsThatFit.reduce(((i,t)=>(i.push(t.id),i)),[]):[];this._toolInfos=null===(i=this._toolInfos)||void 0===i?void 0:i.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}isMobileWatchHandler(){this._toolInfos||this.isMobile||this._initToolInfos()}async mapInfoWatchHandler(){this._resetColumnTemplates(),this._initLayerExpressions(),this._initToolInfos(),this._updateToolbar()}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression=void 0,this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",(i=>{this._mapClicked(i)})))}async _layerWatchHandler(){var i;this._fetchingData=!0,await(null===(i=this._layer)||void 0===i?void 0:i.when((async()=>{var i;this._definitionExpression=this._layer.definitionExpression,this._floorField=null===(i=this._layer.floorInfo)||void 0===i?void 0:i.floorField,this._updateFloorDefinitionExpression(),await this._resetTable(),this._initLayerExpressions(),this._updateShareUrl(),this._fetchingData=!1})))}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1)}async selectionChanged(i){const t=i.detail[0],s=t.getObjectId();if(this.zoomAndScrollToSelected){const i=this._table.viewModel.getObjectIdIndex(s);this._table.scrollToIndex(i);const e=t.layer;let h;this.mapView.allLayerViews.toArray().some((i=>{if(i.layer.title===e.title&&"feature"===i.layer.type)return h=i,!0})),h&&await d([s],h,this.mapView,!0)}}async editsComplete(i){const t=i.detail;"delete"!==t&&"add"!==t||(this._allIds=await r(this._layer)),await this._refresh()}async facilityChanged(i){this._floorFacility=i.detail,this._updateFloorDefinitionExpression()}async levelChanged(i){this._floorLevel=i.detail,this._updateFloorDefinitionExpression()}async siteChanged(i){this._floorSite=i.detail,this._updateFloorDefinitionExpression()}noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._onResize())))}render(){const i=this._fetchingData?"display-none":"",e=this._fetchingData?"":"display-none",h=this._allIds.length.toString(),o=this.selectedIds.length.toString(),a=this.isMobile?"height-full":"height-full-adjusted";return this._validateActiveActions(),t(s,null,t("calcite-shell",null,this._getTableControlRow("header"),t("div",{class:`width-full ${a}`},t("calcite-panel",{class:"height-full width-full"},t("calcite-loader",{class:e,label:this._translations.fetchingData,scale:"l"}),t("div",{class:i,ref:this.onTableNodeCreate})),this.isMobile?void 0:t("div",{class:"bottom-left text-color height-19"},this._translations.recordsSelected.replace("{{total}}",h).replace("{{selected}}",o)))),this._filterModal())}async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0),document.onclick=i=>this._handleDocumentClick(i),document.onkeydown=i=>this._handleKeyDown(i),document.onkeyup=i=>this._handleKeyUp(i)}componentDidRender(){this._updateToolbar()}async _initModules(){const[i,t,s]=await a(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate"]);this.FeatureTable=i,this.reactiveUtils=t,this.TableTemplate=s}_onResize(){this._updateToolbar()}_getTableControlRow(i){return t("div",{class:"display-flex border-bottom height-51",ref:i=>this._toolbar=i,slot:i},this._getActionBar(),this.isMobile?void 0:this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile?this._getShare("share"):void 0)}_getActionBar(){const i=this.isMobile?"width-full":"",s=this.isMobile?"border-top":"";return t("calcite-action-bar",{class:i,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},t("div",{class:`border-end ${i} ${s}`,id:"solutions-map-layer-picker-container"},t("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,mapView:this.mapView,onLayerSelectionChange:i=>this._layerSelectionChanged(i),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",scale:"l",showSingleLayerAsLabel:!0,showTables:!0,type:"dropdown"})),this.isMobile?void 0:this._getActions())}_getActions(){const i=this._getActionItems();return null==i?void 0:i.reduce(((i,s)=>(s&&!s.isOverflow&&i.push(s.isDanger?this._getDangerAction(s.icon,s.label,s.func,s.disabled):s.isSublist?t("calcite-dropdown",{closeOnSelectDisabled:!0,id:this._getId(s.icon),onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:i=>this._showHideDropdown=i},this._getAction(s.active,this._showHideOpen?"chevron-down":s.icon,s.indicator,s.label,s.func,s.disabled,s.loading,"trigger"),this._showHideOpen?this._getFieldlist():void 0):this._getAction(s.active,s.icon,s.indicator,s.label,s.func,s.disabled,s.loading)),i)),[])}_getFieldlist(){return this._columnsInfo?t("calcite-dropdown-group",{"selection-mode":"multiple"},Object.keys(this._columnsInfo).map((i=>t("calcite-dropdown-item",{id:i,onClick:i=>{const t=i.target;this._columnsInfo[t.id]=t.selected,t.selected?this._table.showColumn(t.id):this._table.hideColumn(t.id)},selected:this._columnsInfo[i]},i)))):void 0}_validateEnabledActions(){var i;const t=this._featuresSelected(),s=["zoom-to-object","trash","erase","selected-items-filter"];null===(i=this._toolInfos)||void 0===i||i.forEach((i=>{i&&s.indexOf(i.icon)>-1&&(i.disabled=!t)}))}_validateActiveActions(){var i;const t=["filter","list-check-all","selected-items-filter"];null===(i=this._toolInfos)||void 0===i||i.forEach((i=>{i&&t.indexOf(i.icon)>-1&&("filter"===i.icon&&(i.indicator=this._filterActive),"list-check-all"===i.icon&&(i.active=this._selectAllActive),"selected-items-filter"===i.icon&&(i.active=this._showOnlySelected))}))}_initToolInfos(){const i=this._featuresSelected(),t=this._featuresEmpty(),s=this._hasFilterExpressions();this._translations&&(this._toolInfos=[{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!i,isOverflow:!1},s?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1,isOverflow:!1}:void 0,this._deleteEnabled?{active:void 0,icon:"trash",indicator:void 0,label:void 0,func:void 0,disabled:!i,isDanger:!0,isOverflow:!1}:void 0,{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this._clearSelection(),disabled:!i,isOverflow:!1},{active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!i,isOverflow:!1},{active:!1,icon:"list-check-all",indicator:!1,func:()=>this._selectAll(),label:this._translations.selectAll,disabled:t,isOverflow:!1},{active:!1,icon:"compare",indicator:!1,func:()=>this._switchSelected(),label:this._translations.switchSelected,disabled:t,isOverflow:!1},{active:!1,icon:"refresh",indicator:!1,func:()=>this._refresh(),label:this._translations.refresh,disabled:!1,isOverflow:!1},this.enableCSV?{active:!1,icon:"export",indicator:!1,func:()=>{this._exportToCSV()},label:this._translations.exportCSV,loading:this._csvExporting,disabled:t,isOverflow:!1}:void 0,{active:!1,icon:this._showHideOpen?"chevron-down":"chevron-right",indicator:!1,func:()=>this._toggleShowHide(),label:this._translations.showHideColumns,disabled:!1,isOverflow:!1,isSublist:!0}],this._defaultVisibleToolSizeInfos=void 0)}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){const i=`${this._floorField} = '${this._floorLevel}'`,t=this._layer.definitionExpression;this._layer.definitionExpression=(null==t?void 0:t.indexOf(this._floorExpression))>-1?t.replace(this._floorExpression,i):t?`${t} AND (${i})`:i,this._floorExpression=i}}_featuresSelected(){return this.selectedIds.length>0}_featuresEmpty(){return 0===this._allIds.length}_hasFilterExpressions(){var i,t,s;let e;return(null===(t=null===(i=this.mapInfo)||void 0===i?void 0:i.filterConfig)||void 0===t?void 0:t.layerExpressions)&&(null===(s=this._layer)||void 0===s?void 0:s.id)&&(e=this.mapInfo.filterConfig.layerExpressions.filter((i=>i.id===this._layer.id))),(null==e?void 0:e.length)>0}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const i=this._toolbar.offsetWidth;let t=this._toolbarSizeInfos.reduce(((i,t)=>i+t.width),0);const s=["solutions-more","solutions-map-layer-picker-container","solutions-action-share"];if(t>i){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(t>i?t-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((i,t)=>(i.push(t.id),i)),[]);let h=!1;const o=[...this._defaultVisibleToolSizeInfos].reduce(((o,a)=>(!h&&s.indexOf(a.id)<0&&(e.indexOf(a.id)>-1||t+a.width<=i)?(e.indexOf(a.id)<0&&(t+=a.width),o.push(a)):s.indexOf(a.id)<0&&t+a.width>i&&(h=!0),o)),[]);this._setControlsThatFit(o,s)}}),250))}_setControlsThatFit(i,t){let s=JSON.stringify(i)!==JSON.stringify(this._controlsThatFit);document.getElementById("solutions-action-bar").childNodes.forEach((i=>{t.indexOf(i.id)<0&&!s&&(s=this._controlsThatFit.map((i=>i.id)).indexOf(i.id)<0)})),s&&(this._controlsThatFit=[...i])}_setToolbarSizeInfos(){let i=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((t,s)=>{0===s?t.childNodes.forEach((t=>{this._toolbarSizeInfos.push({id:t.id,width:t.offsetWidth}),i||(i=t.offsetWidth>0)})):t.referenceElement||(this._toolbarSizeInfos.push({id:t.id,width:t.offsetWidth}),i||(i=t.offsetWidth>0))})),i&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionItems(){var i;return null===(i=this._toolInfos)||void 0===i?void 0:i.filter((i=>i&&!i.isOverflow))}_getDropdown(i){const s=this._getDropdownItems();return s.length>0?t("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this._layer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:i=>this._moreDropdown=i},t("calcite-action",{appearance:"solid",id:i,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},t("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),t("calcite-dropdown-group",{"selection-mode":"none"},s.map((i=>t("calcite-dropdown-group",{class:i.disabled?"disabled":"",selectionMode:i.disabled?"none":"single"},t("calcite-dropdown-item",{disabled:i.loading,iconStart:i.isSublist&&this._showHideOpen?"chevron-down":i.loading?"":i.icon,id:"solutions-subset-list",onClick:i.func},i.loading?t("div",{class:"display-flex"},t("calcite-loader",{inline:!0,label:i.label,scale:"m"}),i.label):i.label))))),this._showHideOpen?this._getFieldlist():void 0):void 0}_getDropdownItems(){var i;return null===(i=this._toolInfos)||void 0===i?void 0:i.filter((i=>i&&i.isOverflow))}_getAction(i,s,e,h,o,a,l,n){const d=void 0===this._layer||a;return t("div",{class:"display-flex",id:this._getId(s),slot:n},t("calcite-action",{active:i,appearance:"solid",disabled:d,icon:s,id:s,indicator:e,label:h,loading:l,onClick:o,text:h,textEnabled:!0}),this._getToolTip("bottom",s,h))}_getShare(i){return t("div",{class:"share-action",id:this._getId(i)},t("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:i=>this._shareNode=i,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",i,this._translations.share))}_updateShareUrl(){var i,t,s,e;const h=null===(i=this._shareNode)||void 0===i?void 0:i.shareUrl;if(!h)return;const o=new URL(h);(null===(t=this.mapInfo)||void 0===t?void 0:t.id)?o.searchParams.set("webmap",this.mapInfo.id):o.searchParams.delete("webmap"),(null===(s=this._layer)||void 0===s?void 0:s.id)?o.searchParams.set("layer",this._layer.id):o.searchParams.delete("layer"),(null===(e=this.selectedIds)||void 0===e?void 0:e.length)>0?o.searchParams.set("oid",this.selectedIds.join(",")):o.searchParams.delete("oid"),this._shareNode.shareUrl=o.href}_getToolTip(i,s,e){return document.getElementById(s)?t("calcite-tooltip",{placement:i,"reference-element":s},t("span",null,e)):void 0}_getId(i){return`solutions-action-${i}`}_getDangerAction(i,s,e,h){const o=void 0===this._layer||h;return t("div",{class:"display-flex",id:this._getId(i)},"trash"===i?t("delete-button",{buttonType:"action",class:"display-flex",disabled:o,icon:i,ids:this._getIds(),layer:this._layer}):t("calcite-action",{appearance:"solid",disabled:o,id:i,onClick:e,text:""},t("calcite-button",{appearance:"transparent",iconStart:i,kind:"danger"},s)),this._getToolTip("bottom",i,s))}_getIds(){return this._table.highlightIds.toArray()}async _getTable(i,t){this._layer&&(await this._layer.when((()=>{this._table=new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!0,multiSortEnabled:!1,visibleElements:{header:!1,menu:!1},tableTemplate:{columnTemplates:t},container:i})})),await this._table.when((()=>{this._table.highlightIds.on("change",(i=>{this._handleOnChange(i)}))})))}async _handleOnChange(i){const t=[...this._table.highlightIds.toArray()];if(this._skipOnChange)this._skipOnChange=!1;else{if(this._ctrlIsPressed||this._shiftIsPressed){if(this._ctrlIsPressed)this.selectedIds=t.reverse();else if(this._shiftIsPressed&&(this._skipOnChange=!0,this._previousCurrentId=this._currentId,this._currentId=[...this._table.highlightIds.toArray()].reverse()[0],this._previousCurrentId!==this._currentId)){const i=this._table.activeSortOrders.reduce(((i,t)=>(i.push(`${t.fieldName} ${t.direction}`),i)),[]),s=await c(this._layer,this._layer.definitionExpression,i);let e=!1;const h=this._table.viewModel.getObjectIdIndex(this._previousCurrentId),o=this._table.viewModel.getObjectIdIndex(this._currentId),a=h<o?h:o,l=o>h?o:h;this._skipOnChange=a+1!==l;const n=s.reduce(((i,t)=>{const s=t,h=this._table.viewModel.getObjectIdIndex(s);return s!==this._currentId&&s!==this._previousCurrentId||(e=!e,i.indexOf(s)<0&&i.push(s)),e&&i.indexOf(s)<0&&i.push(s),(this.selectedIds.indexOf(s)>-1||h>=a&&h<=l)&&i.indexOf(s)<0&&h>-1&&i.push(s),i}),[]);this.selectedIds=h<o?n.reverse():n,this._table.highlightIds.addMany(this.selectedIds.filter((i=>t.indexOf(i)<0)))}}else if(this.selectedIds.length>0){this._skipOnChange=!0;const s=this.selectedIds.length>1&&1===i.removed.length?i.removed:t.filter((i=>this.selectedIds.indexOf(i)<0));this._clearSelection(),this.selectedIds=[...s],s.length>0?this._table.highlightIds.add(s[0]):this._skipOnChange=!1}else this.selectedIds=t.reverse();this._finishOnChange()}this._currentId=[...this._table.highlightIds.toArray()].reverse()[0]}_finishOnChange(){this._showOnlySelected&&(this._featuresSelected()?this._table.filterBySelection():this._toggleShowSelected()),this.featureSelectionChange.emit(this.selectedIds)}_resetColumnTemplates(){var i,t;const s=this._getColumnTemplates(null===(i=this._layer)||void 0===i?void 0:i.id,null===(t=this._layer)||void 0===t?void 0:t.fields),e=null==s?void 0:s.some(((i,t)=>{var s;return JSON.stringify(null===(s=this._table)||void 0===s?void 0:s.tableTemplate.columnTemplates[t])!==JSON.stringify(i)}));if(this._table&&s&&(e||!this._columnsInfo)){this._table.tableTemplate=new this.TableTemplate({columnTemplates:s});const i=s.map((i=>i.fieldName));this._initColumnsInfo(i)}}async _resetTable(){var i;if(this._clearSelection(),this._allIds=await r(this._layer),this._table)this._table.view=this.mapView,this._table.layer=this._layer;else{const t=this._getColumnTemplates(this._layer.id,null===(i=this._layer)||void 0===i?void 0:i.fields);await this._getTable(this._tableNode,t)}await this._initLayerRefresh(),this._checkEditEnabled(),this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this.reactiveUtils.once((()=>"loaded"===this._table.state)).then((async()=>{this._table.highlightIds.removeAll(),this._table.clearSelectionFilter(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),this._initToolInfos(),this._updateToolbar()}))}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._refreshHandle=this._layer.on("refresh",(i=>{i.dataChanged&&(this._skipOnChange=!0,this._updateAllIds())}))}async _updateAllIds(){this._allIds=await r(this._layer),this.selectedIds=this.selectedIds.filter((i=>this._allIds.indexOf(i)>-1)),await this._refresh()}async _handleDefaults(){var i,t;if(!this._defaultOidHonored&&(null===(i=this.defaultOid)||void 0===i?void 0:i.length)>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=void 0,this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&(null===(t=this.defaultGlobalId)||void 0===t?void 0:t.length)>0&&this._table){const i=await v(this.defaultGlobalId,this._layer),t=(null==i?void 0:i.length)>0?i.map((i=>i.getObjectId())):void 0;t&&await this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=void 0,this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(i){var t,s;const e=null===(t=this._table)||void 0===t?void 0:t.columns.reduce(((t,s)=>((!i||(null==i?void 0:i.indexOf(s.name))>-1)&&(t[s.name]=!s.hidden),t)),{}),h=null===(s=this._table)||void 0===s?void 0:s.columns.map((i=>i.name));(i?i.filter((i=>h.indexOf(i)<0)):[]).forEach((i=>{e[i]=!0})),this._columnsInfo=i?i.reduce(((i,t)=>(i[t]=e[t],i)),{}):e}async _selectDefaultFeature(i){i.length>0&&this._table.highlightIds.addMany(i)}_checkEditEnabled(){this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._deleteEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsDelete}async _sortTable(){this._table&&this._layer&&this.showNewestFirst&&(await this._table.when(),await this._layer.when((()=>{this._table.sortColumn(this._layer.objectIdField,"desc")})))}_forceShowHide(){this._showHideDropdown&&(this._showHideDropdown.open=this._showHideOpen),this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_closeShowHide(){this._showHideOpen=!1}_handleDocumentClick(i){var t;const s=null===(t=i.target)||void 0===t?void 0:t.id;this._showHideOpen&&Object.keys(this._columnsInfo).indexOf(s)<0&&"solutions-subset-list"!==s&&"chevron-right"!==s&&(this._closeShowHide(),this._moreDropdown&&(this._moreDropdown.open=!1),this._showHideDropdown&&(this._showHideDropdown.open=!1))}_handleKeyDown(i){this._ctrlIsPressed=i.ctrlKey,this._shiftIsPressed=i.shiftKey}_handleKeyUp(i){this._ctrlIsPressed=i.ctrlKey,this._shiftIsPressed=i.shiftKey}_filterModal(){var i,s,e;return t("calcite-modal",{"aria-labelledby":"modal-title",class:"modal",kind:"brand",onCalciteModalClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},t("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},null===(s=null===(i=this._translations)||void 0===i?void 0:i.filter)||void 0===s?void 0:s.replace("{{title}}",null===(e=this._layer)||void 0===e?void 0:e.title)),t("div",{slot:"content"},t("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:async()=>this._closeFilter(),comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:()=>this._handleFilterListReset(),onFilterUpdate:()=>this._handleFilterUpdate(),ref:i=>this._filterList=i,view:this.mapView,zoomBtn:!1})))}_handleFilterListReset(){this._filterActive=!1,this._updateShareUrl()}_handleFilterUpdate(){const i=this._layer.definitionExpression;if(this._floorExpression){const t=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=i&&this._floorField&&i.indexOf(`${this._floorField} = '`)>-1?i.replace(t,this._floorExpression):i?`${i} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=this._definitionExpression!==this._layer.definitionExpression&&(!this._floorExpression||this._layer.definitionExpression!==this._floorExpression),this._updateShareUrl()}async _closeFilter(){this._filterOpen&&(this._allIds=await r(this._layer),this._filterOpen=!1)}async _mapClicked(i){const t={include:this._layer},s=await this.mapView.hitTest(i.screenPoint,t);s.results.length>0?(s.results.forEach((i=>{const t=i.graphic.getObjectId();this._table.highlightIds.indexOf(t)<0&&this._table.highlightIds.add(t)})),this._showOnlySelected&&this._table.filterBySelection()):this._clearSelection()}_selectAll(){const i=this._allIds;this._table.highlightIds.removeAll(),this._skipOnChange=!0,this._table.highlightIds.addMany(i),this.selectedIds=i,this._finishOnChange(),this._selectAllActive=!0}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._showOnlySelected?this._table.filterBySelection():this._table.clearSelectionFilter()}_clearSelection(){var i;this.selectedIds=[],null===(i=this._table)||void 0===i||i.highlightIds.removeAll(),this._finishOnChange()}_toggleFilter(){this._filterOpen=!this._filterOpen}_initLayerExpressions(){var i,t;const s=null===(t=null===(i=this.mapInfo)||void 0===i?void 0:i.filterConfig)||void 0===t?void 0:t.layerExpressions;this._layerExpressions=s?s.filter((i=>{var t;return i.id===(null===(t=this._layer)||void 0===t?void 0:t.id)})):[],this._filterList.layerExpressions=this._layerExpressions,this._filterActive=this._layerExpressions.filter((i=>i.expressions.filter((i=>i.active)).length>0)).length>0}_switchSelected(){const i=[...this.selectedIds];this._table.highlightIds.removeAll();const t=this._allIds.reduce(((t,s)=>(i.indexOf(s)<0&&t.push(s),t)),[]).sort(((i,t)=>i-t));this._skipOnChange=!0,this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange()}async _exportToCSV(){const i={},t=this._table.highlightIds.toArray();i[this._layer.id]={selectionSetNames:[this._layer.title],ids:t,layer:this._layer};const s=this._table.columns.toArray().reduce(((i,t)=>(t.hidden||i.push(t.name.toLocaleLowerCase()),i)),[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,await p(null,i,!1,!1,!0,s,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}_updateToolInfoLoading(i,t){this._toolInfos.some((s=>{if((null==s?void 0:s.icon)===i)return s.loading=t,!0}))}async _refresh(){await this._table.refresh(),this.featureSelectionChange.emit(this.selectedIds)}_zoom(){this._table.zoomToSelection()}async _layerSelectionChanged(i){var t;const s=i.detail[0];if(s!==(null===(t=this._layer)||void 0===t?void 0:t.id)||this._featuresEmpty()){this._fetchingData=!0;const i=await n(this.mapView,s);await i.when((()=>{this._layer=i}))}this._fetchingData=!1}_getColumnTemplates(i,t){var s,e;let h;null===(e=null===(s=this.mapInfo)||void 0===s?void 0:s.layerOptions)||void 0===e||e.layers.some((t=>{if(t.id===i)return h=t,!0}));const o=(null==h?void 0:h.fields)&&(null==h?void 0:h.fieldOrder)?h.fieldOrder.filter((i=>h.fields.indexOf(i)>-1)):void 0;let a;return t&&(a=h&&(null==h?void 0:h.fields)?t.reduce(((i,t)=>{if(h.fields.indexOf(t.name)>-1){const s={type:"field",fieldName:t.name,label:t.alias,menuConfig:this._getMenuConfig(t.name)};i.push(s)}return i}),[]).sort(this._sortFields.bind(this,null==h?void 0:h.fieldOrder)):t.map((i=>({type:"field",fieldName:i.name,label:i.alias,menuConfig:this._getMenuConfig(i.name)})))),o?null==a?void 0:a.sort(this._sortFields.bind(this,o)):a}_sortFields(i,t,s){return(null==i?void 0:i.indexOf(t.fieldName))-i.indexOf(s.fieldName)}_getMenuConfig(i){return{items:[{label:this._translations.hideField,iconClass:"esri-icon-non-visible",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(i)}}]}}_handleHideClick(i){this._columnsInfo[i]=!1,this._table.hideColumn(i),this._table.tableTemplate.columnTemplates.forEach((t=>{t.fieldName===i&&(t.visible=!1)}))}async _getTranslations(){const i=await o(this.el);this._translations=i[0]}get el(){return e(this)}static get watchers(){return{defaultOid:["defaultOidWatchHandler"],defaultGlobalId:["defaultGlobalIdWatchHandler"],enableCSV:["enableCSVWatchHandler"],enableInlineEdit:["enableInlineEditWatchHandler"],enableShare:["enableShareWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"],isMobile:["isMobileWatchHandler"],mapInfo:["mapInfoWatchHandler"],mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"],selectedIds:["selectedIdsWatchHandler"]}}};b.style=':host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir="rtl"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir="rtl"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}';const m=class{constructor(t){i(this,t),this.mapChanged=h(this,"mapChanged",7),this.beforeMapChanged=h(this,"beforeMapChanged",7),this._defaultWebmapHonored=!1,this._loadedId="",this.defaultWebmapId="",this.enableHome=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableSingleExpand=!0,this.enableSearch=void 0,this.enableBasemap=void 0,this.basemapConfig=void 0,this.hidden=void 0,this.homeZoomIndex=3,this.homeZoomPosition="top-left",this.homeZoomToolsSize="m",this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.mapView=void 0,this.stackTools=!0,this.theme=void 0,this.toolOrder=void 0,this._searchConfiguration=void 0,this._webMapInfo=void 0}enableHomeWatchHandler(){this._initHome()}async mapInfoChange(i){await this._loadMap(i.detail)}async componentWillLoad(){await this._initModules()}render(){var i,e;const h=this.hidden?"visibility-hidden-1":"",o="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",a=(null===(i=this.mapInfos)||void 0===i?void 0:i.length)>1?"":"display-none",l=(null===(e=this.mapInfos)||void 0===e?void 0:e.length)>1?"map-height":"height-full";return t(s,null,t("map-picker",{class:a,mapInfos:this.mapInfos,ref:i=>this._mapPicker=i}),t("div",{class:`${l} ${h}`,ref:i=>this._mapDiv=i}),t("map-tools",{basemapConfig:this.basemapConfig,class:`box-shadow ${o}`,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableSingleExpand:this.enableSingleExpand,homeZoomToolsSize:this.homeZoomToolsSize,mapView:this.mapView,mapWidgetsSize:this.mapWidgetsSize,position:this.mapWidgetsPosition,ref:i=>this._mapTools=i,searchConfiguration:this._searchConfiguration,stackTools:this.stackTools,toolOrder:this.toolOrder}))}async _initModules(){const[i,t,s]=await a(["esri/WebMap","esri/views/MapView","esri/widgets/Home"]);this.WebMap=i,this.MapView=t,this.Home=s}async _loadMap(i){var t;const s=!this._defaultWebmapHonored&&this.defaultWebmapId,e=null===(t=this.mapInfos)||void 0===t?void 0:t.filter((i=>i.id===this.defaultWebmapId)),h=JSON.stringify(i)!==JSON.stringify(this._webMapInfo);this._webMapInfo=s&&e?e[0]:!(null==i?void 0:i.id)&&this.mapInfos.length>0?this.mapInfos[0]:i;const o=this._webMapInfo.id,a=s&&(null==i?void 0:i.id)===this.defaultWebmapId;if(this._loadedId!==o&&!s||a){const i=new this.WebMap({portalItem:{id:o}});this.mapView=new this.MapView({container:this._mapDiv,map:i,resizeAlign:"center"}),this._loadedId=o,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),await this.mapView.when((()=>{this._initHome(),this.mapView.ui.add(this._mapTools,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=!!a||this._defaultWebmapHonored,this.mapChanged.emit({id:o,mapView:this.mapView})}))}else s?(this._defaultWebmapHonored=!0,this._mapPicker.setMapByID(o)):h&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:o,mapView:this.mapView}))}_initHome(){if(this.enableHome){this._homeWidget=new this.Home({view:this.mapView}),this.mapView.ui.add(this._homeWidget,{position:this.homeZoomPosition,index:this.homeZoomIndex});const i="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";this._homeWidget.domNode.style.height=i,this._homeWidget.domNode.style.width=i}else this._homeWidget&&this.mapView.ui.remove(this._homeWidget)}get el(){return e(this)}static get watchers(){return{enableHome:["enableHomeWatchHandler"]}}};m.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 51px)}.height-full{height:100%}.box-shadow{box-shadow:none !important}.visibility-hidden-1{visibility:hidden;height:1px;}.display-none{display:none}";export{u as card_manager,b as layer_table,m as map_card}