@esri/solutions-components 0.3.9 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. package/dist/assets/t9n/public-notification/resources.json +0 -2
  2. package/dist/assets/t9n/public-notification/resources_en.json +0 -2
  3. package/dist/cjs/buffer-tools_6.cjs.entry.js +5 -2
  4. package/dist/cjs/calcite-input-message_5.cjs.entry.js +1342 -18
  5. package/dist/cjs/{calcite-input-message.calcite-notice.map-select-tools.pdf-download.refine-selection-cd8ad61e.js → downloadUtils-27dbd8b9.js} +205 -1337
  6. package/dist/cjs/{index.es-e89ba2a1.js → index.es-40d341ed.js} +3 -13
  7. package/dist/cjs/layer-table.cjs.entry.js +5 -15
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/cjs/public-notification.cjs.entry.js +23 -2
  10. package/dist/cjs/solutions-components.cjs.js +1 -1
  11. package/dist/collection/components/layer-table/layer-table.js +4 -16
  12. package/dist/collection/components/map-search/map-search.js +1 -1
  13. package/dist/collection/components/map-select-tools/map-select-tools.js +73 -17
  14. package/dist/collection/components/pdf-download/pdf-download.js +9 -76
  15. package/dist/collection/components/public-notification/public-notification.js +45 -3
  16. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  17. package/dist/collection/components/refine-selection-tools/refine-selection-tools.js +13 -5
  18. package/dist/collection/demos/buffer-tools.html +1 -1
  19. package/dist/collection/utils/csvUtils.js +4 -0
  20. package/dist/collection/utils/csvUtils.ts +7 -0
  21. package/dist/collection/utils/downloadUtils.js +181 -0
  22. package/dist/collection/utils/downloadUtils.ts +235 -0
  23. package/dist/collection/utils/interfaces.ts +8 -1
  24. package/dist/collection/utils/pdfUtils.js +7 -0
  25. package/dist/collection/utils/pdfUtils.ts +13 -2
  26. package/dist/components/downloadUtils.js +2279 -0
  27. package/dist/components/index.es.js +1 -1
  28. package/dist/components/layer-table.js +5 -16
  29. package/dist/components/map-layer-picker2.js +1 -1
  30. package/dist/components/map-search.js +1 -1
  31. package/dist/components/map-select-tools2.js +69 -19
  32. package/dist/components/pdf-download2.js +10 -2124
  33. package/dist/components/public-notification.js +24 -3
  34. package/dist/components/queryUtils.js +1 -1
  35. package/dist/components/refine-selection-tools2.js +6 -3
  36. package/dist/components/refine-selection2.js +1 -1
  37. package/dist/esm/buffer-tools_6.entry.js +6 -3
  38. package/dist/esm/calcite-combobox_3.entry.js +1 -1
  39. package/dist/esm/calcite-input-message_5.entry.js +1341 -13
  40. package/dist/esm/{calcite-input-message.calcite-notice.map-select-tools.pdf-download.refine-selection-ddd74bd6.js → downloadUtils-76e38a94.js} +206 -1335
  41. package/dist/esm/{index.es-8edafdb2.js → index.es-489f4f08.js} +2 -12
  42. package/dist/esm/layer-table.entry.js +6 -16
  43. package/dist/esm/loader.js +1 -1
  44. package/dist/esm/{mapViewUtils-63e118f8.js → mapViewUtils-02696ab6.js} +1 -1
  45. package/dist/esm/public-notification.entry.js +24 -3
  46. package/dist/esm/solutions-components.js +1 -1
  47. package/dist/solutions-components/demos/buffer-tools.html +1 -1
  48. package/dist/solutions-components/{p-cc2e20c8.js → p-1bfd07e3.js} +1 -1
  49. package/dist/solutions-components/{p-117174e8.entry.js → p-335fce8c.entry.js} +1 -1
  50. package/dist/solutions-components/p-4ef94c6b.entry.js +6 -0
  51. package/dist/solutions-components/p-5d27b47d.entry.js +17 -0
  52. package/dist/solutions-components/p-92cb569a.entry.js +6 -0
  53. package/dist/solutions-components/{p-2a96314a.entry.js → p-a3b60bc9.entry.js} +2 -2
  54. package/dist/solutions-components/{p-98884f44.js → p-bff8aa4e.js} +3 -3
  55. package/dist/solutions-components/p-caa7e7a7.js +437 -0
  56. package/dist/solutions-components/solutions-components.esm.js +1 -1
  57. package/dist/solutions-components/utils/csvUtils.ts +7 -0
  58. package/dist/solutions-components/utils/downloadUtils.ts +235 -0
  59. package/dist/solutions-components/utils/interfaces.ts +8 -1
  60. package/dist/solutions-components/utils/pdfUtils.ts +13 -2
  61. package/dist/types/components/json-editor/assets/monaco-editor/monaco.d.ts +8262 -0
  62. package/dist/types/components/map-select-tools/map-select-tools.d.ts +19 -1
  63. package/dist/types/components/pdf-download/pdf-download.d.ts +0 -18
  64. package/dist/types/components/public-notification/public-notification.d.ts +10 -0
  65. package/dist/types/components/refine-selection-tools/refine-selection-tools.d.ts +2 -2
  66. package/dist/types/components.d.ts +6 -2
  67. package/dist/types/preact.d.ts +2 -1
  68. package/dist/types/utils/downloadUtils.d.ts +40 -0
  69. package/dist/types/utils/interfaces.d.ts +6 -2
  70. package/dist/types/utils/pdfUtils.d.ts +3 -1
  71. package/package.json +1 -1
  72. package/dist/cjs/csvUtils-3a56c6d8.js +0 -54
  73. package/dist/components/csvUtils.js +0 -52
  74. package/dist/esm/csvUtils-23b5418f.js +0 -52
  75. package/dist/solutions-components/p-15f9b0a0.entry.js +0 -6
  76. package/dist/solutions-components/p-238db156.js +0 -416
  77. package/dist/solutions-components/p-3069e3b7.js +0 -21
  78. package/dist/solutions-components/p-6d28f991.entry.js +0 -6
  79. package/dist/solutions-components/p-c5341977.entry.js +0 -6
@@ -22,5 +22,5 @@ const patchBrowser = () => {
22
22
 
23
23
  patchBrowser().then(options => {
24
24
  globalScripts();
25
- return bootstrapLazy(JSON.parse("[[\"public-notification\",[[0,\"public-notification\",{\"addresseeLayerIds\":[16],\"bufferColor\":[8,\"buffer-color\"],\"bufferOutlineColor\":[8,\"buffer-outline-color\"],\"customLabelEnabled\":[4,\"custom-label-enabled\"],\"defaultBufferDistance\":[2,\"default-buffer-distance\"],\"defaultBufferUnit\":[1,\"default-buffer-unit\"],\"featureEffect\":[16],\"featureHighlightEnabled\":[4,\"feature-highlight-enabled\"],\"mapView\":[16],\"noResultText\":[1,\"no-result-text\"],\"searchConfiguration\":[16],\"selectionLayerIds\":[16],\"showRefineSelection\":[4,\"show-refine-selection\"],\"showSearchSettings\":[4,\"show-search-settings\"],\"addresseeLayer\":[32],\"_downloadActive\":[32],\"_numSelected\":[32],\"_pageType\":[32],\"_saveEnabled\":[32],\"_selectionSets\":[32],\"_sketchType\":[32],\"_selectionWorkflowType\":[32],\"_showLayerSelectionChangeModal\":[32],\"_translations\":[32]},[[8,\"distanceChanged\",\"distanceChanged\"],[8,\"selectionSetsChanged\",\"selectionSetsChanged\"],[8,\"sketchTypeChange\",\"sketchTypeChange\"],[8,\"unitChanged\",\"unitChanged\"]]]]],[\"solution-configuration\",[[0,\"solution-configuration\",{\"authentication\":[1040],\"serializedAuthentication\":[1025,\"serialized-authentication\"],\"solutionItemId\":[1537,\"solution-item-id\"],\"showLoading\":[1540,\"show-loading\"],\"_currentEditItemId\":[32],\"_organizationVariables\":[32],\"_solutionContentsComponent\":[32],\"_solutionIsLoaded\":[32],\"_solutionVariables\":[32],\"_templateHierarchy\":[32],\"_translations\":[32],\"_treeOpen\":[32],\"getSpatialReferenceInfo\":[64],\"saveSolution\":[64],\"unloadSolution\":[64]},[[8,\"solutionItemSelected\",\"_solutionItemSelected\"]]]]],[\"layer-table\",[[1,\"layer-table\",{\"mapView\":[16],\"_translations\":[32],\"_selectedIndexes\":[32]}]]],[\"map-card\",[[0,\"map-card\",{\"mapInfos\":[16],\"_mapListExpanded\":[32],\"_mapView\":[32],\"_translations\":[32],\"_webMapId\":[32]}]]],[\"calcite-color-picker\",[[1,\"calcite-color-picker\",{\"allowEmpty\":[516,\"allow-empty\"],\"appearance\":[513],\"color\":[1040],\"disabled\":[516],\"format\":[513],\"hideHex\":[516,\"hide-hex\"],\"hideChannels\":[516,\"hide-channels\"],\"hideSaved\":[516,\"hide-saved\"],\"intlB\":[1,\"intl-b\"],\"intlBlue\":[1,\"intl-blue\"],\"intlDeleteColor\":[1,\"intl-delete-color\"],\"intlG\":[1,\"intl-g\"],\"intlGreen\":[1,\"intl-green\"],\"intlH\":[1,\"intl-h\"],\"intlHsv\":[1,\"intl-hsv\"],\"intlHex\":[1,\"intl-hex\"],\"intlHue\":[1,\"intl-hue\"],\"intlNoColor\":[1,\"intl-no-color\"],\"intlR\":[1,\"intl-r\"],\"intlRed\":[1,\"intl-red\"],\"intlRgb\":[1,\"intl-rgb\"],\"intlS\":[1,\"intl-s\"],\"intlSaturation\":[1,\"intl-saturation\"],\"intlSaveColor\":[1,\"intl-save-color\"],\"intlSaved\":[1,\"intl-saved\"],\"intlV\":[1,\"intl-v\"],\"intlValue\":[1,\"intl-value\"],\"scale\":[513],\"storageId\":[513,\"storage-id\"],\"numberingSystem\":[513,\"numbering-system\"],\"value\":[1025],\"colorFieldAndSliderInteractive\":[32],\"channelMode\":[32],\"channels\":[32],\"dimensions\":[32],\"savedColors\":[32],\"colorFieldScopeTop\":[32],\"colorFieldScopeLeft\":[32],\"scopeOrientation\":[32],\"hueScopeLeft\":[32],\"hueScopeTop\":[32],\"setFocus\":[64]},[[2,\"keydown\",\"handleChannelKeyUpOrDown\"],[2,\"keyup\",\"handleChannelKeyUpOrDown\"]]]]],[\"add-record-modal\",[[1,\"add-record-modal\",{\"open\":[1028],\"_translations\":[32]}]]],[\"calcite-flow-item\",[[1,\"calcite-flow-item\",{\"closable\":[1540],\"closed\":[1540],\"beforeBack\":[16],\"description\":[1],\"disabled\":[516],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"heightScale\":[513,\"height-scale\"],\"intlBack\":[1,\"intl-back\"],\"intlClose\":[1,\"intl-close\"],\"intlOptions\":[1,\"intl-options\"],\"loading\":[516],\"menuOpen\":[516,\"menu-open\"],\"showBackButton\":[516,\"show-back-button\"],\"widthScale\":[513,\"width-scale\"],\"backButtonEl\":[32],\"setFocus\":[64],\"scrollContentTo\":[64]}]]],[\"calcite-input-date-picker\",[[1,\"calcite-input-date-picker\",{\"disabled\":[516],\"readOnly\":[516,\"read-only\"],\"value\":[1025],\"flipPlacements\":[16],\"headingLevel\":[514,\"heading-level\"],\"valueAsDate\":[1040],\"startAsDate\":[1040],\"endAsDate\":[1040],\"minAsDate\":[1040],\"maxAsDate\":[1040],\"min\":[1025],\"max\":[1025],\"active\":[1540],\"open\":[1540],\"name\":[513],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"scale\":[513],\"placement\":[513],\"range\":[516],\"required\":[516],\"start\":[1537],\"end\":[1537],\"overlayPositioning\":[513,\"overlay-positioning\"],\"proximitySelectionDisabled\":[4,\"proximity-selection-disabled\"],\"layout\":[513],\"effectiveLocale\":[32],\"focusedInput\":[32],\"globalAttributes\":[32],\"localeData\":[32],\"setFocus\":[64],\"reposition\":[64]},[[0,\"calciteDatePickerChange\",\"handleDateOrRangeChange\"],[0,\"calciteDatePickerRangeChange\",\"handleDateOrRangeChange\"],[0,\"calciteDaySelect\",\"calciteDaySelectHandler\"]]]]],[\"calcite-input-time-picker\",[[1,\"calcite-input-time-picker\",{\"active\":[1540],\"open\":[1540],\"disabled\":[516],\"readOnly\":[516,\"read-only\"],\"intlHour\":[1,\"intl-hour\"],\"intlHourDown\":[1,\"intl-hour-down\"],\"intlHourUp\":[1,\"intl-hour-up\"],\"intlMeridiem\":[1,\"intl-meridiem\"],\"intlMeridiemDown\":[1,\"intl-meridiem-down\"],\"intlMeridiemUp\":[1,\"intl-meridiem-up\"],\"intlMinute\":[1,\"intl-minute\"],\"intlMinuteDown\":[1,\"intl-minute-down\"],\"intlMinuteUp\":[1,\"intl-minute-up\"],\"intlSecond\":[1,\"intl-second\"],\"intlSecondDown\":[1,\"intl-second-down\"],\"intlSecondUp\":[1,\"intl-second-up\"],\"locale\":[1025],\"name\":[1],\"numberingSystem\":[1,\"numbering-system\"],\"required\":[516],\"scale\":[513],\"overlayPositioning\":[1,\"overlay-positioning\"],\"placement\":[513],\"step\":[2],\"value\":[1025],\"effectiveLocale\":[32],\"localizedValue\":[32],\"setFocus\":[64],\"reposition\":[64]},[[0,\"click\",\"clickHandler\"],[0,\"calciteInternalTimePickerBlur\",\"timePickerBlurHandler\"],[0,\"calciteInternalTimePickerFocus\",\"timePickerFocusHandler\"]]]]],[\"calcite-action-pad\",[[1,\"calcite-action-pad\",{\"expandDisabled\":[516,\"expand-disabled\"],\"expanded\":[1540],\"layout\":[513],\"intlExpand\":[1,\"intl-expand\"],\"intlCollapse\":[1,\"intl-collapse\"],\"position\":[513],\"scale\":[513],\"setFocus\":[64]}]]],[\"card-manager\",[[1,\"card-manager\",{\"_translations\":[32]}]]],[\"calcite-card\",[[1,\"calcite-card\",{\"loading\":[516],\"selected\":[1540],\"selectable\":[516],\"intlLoading\":[1,\"intl-loading\"],\"intlSelect\":[1,\"intl-select\"],\"intlDeselect\":[1,\"intl-deselect\"],\"thumbnailPosition\":[513,\"thumbnail-position\"]}]]],[\"calcite-fab\",[[1,\"calcite-fab\",{\"appearance\":[513],\"color\":[513],\"disabled\":[516],\"icon\":[513],\"label\":[1],\"loading\":[516],\"scale\":[513],\"text\":[1],\"textEnabled\":[516,\"text-enabled\"],\"setFocus\":[64]}]]],[\"calcite-filter\",[[1,\"calcite-filter\",{\"items\":[1040],\"disabled\":[516],\"filteredItems\":[1040],\"intlClear\":[1,\"intl-clear\"],\"intlLabel\":[1,\"intl-label\"],\"placeholder\":[1],\"scale\":[513],\"value\":[1025],\"setFocus\":[64]}]]],[\"calcite-inline-editable\",[[1,\"calcite-inline-editable\",{\"disabled\":[516],\"editingEnabled\":[1540,\"editing-enabled\"],\"loading\":[1540],\"controls\":[516],\"intlEnableEditing\":[513,\"intl-enable-editing\"],\"intlCancelEditing\":[513,\"intl-cancel-editing\"],\"intlConfirmChanges\":[513,\"intl-confirm-changes\"],\"scale\":[1537],\"afterConfirm\":[16],\"setFocus\":[64]},[[0,\"calciteInternalInputBlur\",\"blurHandler\"]]]]],[\"calcite-tile-select\",[[1,\"calcite-tile-select\",{\"checked\":[1540],\"description\":[513],\"disabled\":[516],\"heading\":[513],\"hidden\":[516],\"icon\":[513],\"name\":[520],\"inputEnabled\":[516,\"input-enabled\"],\"inputAlignment\":[513,\"input-alignment\"],\"type\":[513],\"value\":[8],\"width\":[513],\"focused\":[32],\"setFocus\":[64]},[[0,\"calciteCheckboxChange\",\"checkboxChangeHandler\"],[0,\"calciteInternalCheckboxFocus\",\"checkboxFocusBlurHandler\"],[0,\"calciteInternalCheckboxBlur\",\"checkboxFocusBlurHandler\"],[0,\"calciteRadioButtonChange\",\"radioButtonChangeHandler\"],[0,\"calciteInternalRadioButtonCheckedChange\",\"radioButtonCheckedChangeHandler\"],[0,\"calciteInternalRadioButtonFocus\",\"radioButtonFocusBlurHandler\"],[0,\"calciteInternalRadioButtonBlur\",\"radioButtonFocusBlurHandler\"],[0,\"click\",\"click\"],[1,\"pointerenter\",\"mouseenter\"],[1,\"pointerleave\",\"mouseleave\"]]]]],[\"calcite-tip\",[[1,\"calcite-tip\",{\"dismissed\":[1540],\"nonDismissible\":[516,\"non-dismissible\"],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"selected\":[516],\"intlClose\":[1,\"intl-close\"]}]]],[\"calcite-tip-manager\",[[1,\"calcite-tip-manager\",{\"closed\":[1540],\"headingLevel\":[514,\"heading-level\"],\"intlClose\":[1,\"intl-close\"],\"intlDefaultTitle\":[1,\"intl-default-title\"],\"intlNext\":[1,\"intl-next\"],\"intlPaginationLabel\":[1,\"intl-pagination-label\"],\"intlPrevious\":[1,\"intl-previous\"],\"selectedIndex\":[32],\"tips\":[32],\"total\":[32],\"direction\":[32],\"groupTitle\":[32],\"nextTip\":[64],\"previousTip\":[64]}]]],[\"calcite-alert\",[[1,\"calcite-alert\",{\"active\":[1540],\"open\":[1540],\"autoDismiss\":[516,\"auto-dismiss\"],\"autoDismissDuration\":[513,\"auto-dismiss-duration\"],\"color\":[513],\"icon\":[520],\"intlClose\":[1,\"intl-close\"],\"label\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"placement\":[513],\"scale\":[513],\"effectiveLocale\":[32],\"queue\":[32],\"queueLength\":[32],\"queued\":[32],\"requestedIcon\":[32],\"setFocus\":[64]},[[8,\"calciteInternalAlertSync\",\"alertSync\"],[8,\"calciteInternalAlertRegister\",\"alertRegister\"]]]]],[\"calcite-block-section\",[[1,\"calcite-block-section\",{\"intlCollapse\":[1,\"intl-collapse\"],\"intlExpand\":[1,\"intl-expand\"],\"open\":[1540],\"status\":[513],\"text\":[1],\"toggleDisplay\":[513,\"toggle-display\"]}]]],[\"calcite-input-number\",[[1,\"calcite-input-number\",{\"alignment\":[513],\"autofocus\":[516],\"clearable\":[516],\"disabled\":[516],\"groupSeparator\":[516,\"group-separator\"],\"hidden\":[516],\"icon\":[520],\"intlClear\":[1,\"intl-clear\"],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"localeFormat\":[4,\"locale-format\"],\"max\":[514],\"min\":[514],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"numberButtonType\":[513,\"number-button-type\"],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[516,\"read-only\"],\"required\":[516],\"scale\":[1537],\"status\":[1537],\"step\":[520],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"value\":[1025],\"effectiveLocale\":[32],\"localizedValue\":[32],\"setFocus\":[64],\"selectText\":[64]}]]],[\"calcite-input-text\",[[1,\"calcite-input-text\",{\"alignment\":[513],\"autofocus\":[516],\"clearable\":[516],\"disabled\":[516],\"hidden\":[516],\"icon\":[520],\"intlClear\":[1,\"intl-clear\"],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[516,\"read-only\"],\"required\":[516],\"scale\":[1537],\"status\":[1537],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"value\":[1025],\"setFocus\":[64],\"selectText\":[64]}]]],[\"calcite-rating\",[[1,\"calcite-rating\",{\"scale\":[513],\"value\":[1538],\"readOnly\":[516,\"read-only\"],\"disabled\":[516],\"showChip\":[516,\"show-chip\"],\"count\":[514],\"average\":[514],\"name\":[513],\"intlRating\":[1,\"intl-rating\"],\"intlStars\":[1,\"intl-stars\"],\"required\":[516],\"hoverValue\":[32],\"focusValue\":[32],\"hasFocus\":[32],\"setFocus\":[64]},[[0,\"blur\",\"blurHandler\"]]]]],[\"calcite-accordion-item\",[[1,\"calcite-accordion-item\",{\"active\":[1540],\"expanded\":[1540],\"itemTitle\":[1,\"item-title\"],\"itemSubtitle\":[1,\"item-subtitle\"],\"heading\":[1],\"description\":[1],\"icon\":[1537],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"]},[[0,\"keydown\",\"keyDownHandler\"],[16,\"calciteInternalAccordionChange\",\"updateActiveItemOnChange\"]]]]],[\"calcite-avatar\",[[1,\"calcite-avatar\",{\"scale\":[513],\"thumbnail\":[513],\"fullName\":[513,\"full-name\"],\"username\":[513],\"userId\":[513,\"user-id\"],\"thumbnailFailedToLoad\":[32]}]]],[\"calcite-pagination\",[[1,\"calcite-pagination\",{\"groupSeparator\":[516,\"group-separator\"],\"num\":[514],\"numberingSystem\":[1,\"numbering-system\"],\"start\":[1538],\"total\":[514],\"textLabelNext\":[1,\"text-label-next\"],\"textLabelPrevious\":[1,\"text-label-previous\"],\"scale\":[513],\"effectiveLocale\":[32],\"nextPage\":[64],\"previousPage\":[64]}]]],[\"calcite-stepper-item\",[[1,\"calcite-stepper-item\",{\"active\":[1540],\"selected\":[1540],\"complete\":[516],\"error\":[516],\"disabled\":[516],\"itemTitle\":[1,\"item-title\"],\"heading\":[1],\"itemSubtitle\":[1,\"item-subtitle\"],\"description\":[1],\"layout\":[1537],\"icon\":[1028],\"numbered\":[1028],\"scale\":[1537],\"effectiveLocale\":[32],\"setFocus\":[64]},[[16,\"calciteInternalStepperItemChange\",\"updateActiveItemOnChange\"]]]]],[\"calcite-accordion\",[[1,\"calcite-accordion\",{\"appearance\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconType\":[513,\"icon-type\"],\"scale\":[513],\"selectionMode\":[513,\"selection-mode\"]},[[0,\"calciteInternalAccordionItemKeyEvent\",\"calciteInternalAccordionItemKeyEvent\"],[0,\"calciteInternalAccordionItemRegister\",\"registerCalciteAccordionItem\"],[0,\"calciteInternalAccordionItemSelect\",\"updateActiveItemOnChange\"]]]]],[\"calcite-combobox-item-group\",[[1,\"calcite-combobox-item-group\",{\"ancestors\":[1040],\"label\":[1]}]]],[\"calcite-flow\",[[1,\"calcite-flow\",{\"flowDirection\":[32],\"itemCount\":[32],\"items\":[32],\"back\":[64]},[[0,\"calciteFlowItemBackClick\",\"handleItemBackClick\"],[0,\"calcitePanelBackClick\",\"handleItemBackClick\"]]]]],[\"calcite-list-item-group\",[[1,\"calcite-list-item-group\",{\"heading\":[513],\"headingLevel\":[514,\"heading-level\"]}]]],[\"calcite-option-group\",[[1,\"calcite-option-group\",{\"disabled\":[516],\"label\":[1]}]]],[\"calcite-pick-list-group\",[[1,\"calcite-pick-list-group\",{\"groupTitle\":[513,\"group-title\"],\"headingLevel\":[514,\"heading-level\"]}]]],[\"calcite-popover-manager\",[[1,\"calcite-popover-manager\",{\"selector\":[513],\"autoClose\":[516,\"auto-close\"]}]]],[\"calcite-radio-button\",[[1,\"calcite-radio-button\",{\"checked\":[1540],\"disabled\":[516],\"focused\":[1540],\"guid\":[1537],\"hidden\":[516],\"hovered\":[1540],\"label\":[1],\"name\":[513],\"required\":[516],\"scale\":[513],\"value\":[1032],\"setFocus\":[64],\"emitCheckedChange\":[64]},[[1,\"pointerenter\",\"mouseenter\"],[1,\"pointerleave\",\"mouseleave\"]]]]],[\"calcite-radio-button-group\",[[1,\"calcite-radio-button-group\",{\"disabled\":[516],\"hidden\":[516],\"layout\":[513],\"name\":[513],\"required\":[516],\"scale\":[513]},[[0,\"calciteRadioButtonChange\",\"radioButtonChangeHandler\"]]]]],[\"calcite-shell-center-row\",[[1,\"calcite-shell-center-row\",{\"detached\":[516],\"heightScale\":[513,\"height-scale\"],\"position\":[513]}]]],[\"calcite-sortable-list\",[[1,\"calcite-sortable-list\",{\"dragSelector\":[513,\"drag-selector\"],\"group\":[513],\"handleSelector\":[513,\"handle-selector\"],\"layout\":[513],\"disabled\":[516],\"loading\":[516],\"handleActivated\":[32]},[[0,\"calciteHandleNudge\",\"calciteHandleNudgeHandler\"]]]]],[\"calcite-stepper\",[[1,\"calcite-stepper\",{\"icon\":[516],\"layout\":[513],\"numbered\":[516],\"numberingSystem\":[513,\"numbering-system\"],\"scale\":[513],\"nextStep\":[64],\"prevStep\":[64],\"goToStep\":[64],\"startStep\":[64],\"endStep\":[64]},[[0,\"calciteInternalStepperItemKeyEvent\",\"calciteInternalStepperItemKeyEvent\"],[0,\"calciteInternalStepperItemRegister\",\"registerItem\"],[0,\"calciteInternalStepperItemSelect\",\"updateItem\"],[0,\"calciteInternalUserRequestedStepperItemSelect\",\"handleUserRequestedStepperItemSelect\"]]]]],[\"calcite-tile-select-group\",[[1,\"calcite-tile-select-group\",{\"disabled\":[516],\"layout\":[513]}]]],[\"calcite-tip-group\",[[1,\"calcite-tip-group\",{\"groupTitle\":[1,\"group-title\"]}]]],[\"calcite-tooltip-manager\",[[1,\"calcite-tooltip-manager\",{\"selector\":[513]}]]],[\"comment-card\",[[1,\"comment-card\"]]],[\"crowdsource-manager\",[[1,\"crowdsource-manager\"]]],[\"crowdsource-reporter\",[[1,\"crowdsource-reporter\"]]],[\"list-item\",[[1,\"list-item\"]]],[\"deduct-calculator\",[[1,\"deduct-calculator\"]]],[\"pci-calculator\",[[1,\"pci-calculator\",{\"showAddDeduct\":[32]}]]],[\"map-search\",[[0,\"map-search\",{\"mapView\":[16],\"searchConfiguration\":[16],\"_searchTerm\":[32],\"_translations\":[32],\"clear\":[64]}]]],[\"store-manager\",[[0,\"store-manager\",{\"value\":[1537],\"templates\":[1040],\"authentication\":[1040]}]]],[\"calcite-color-picker-hex-input\",[[1,\"calcite-color-picker-hex-input\",{\"allowEmpty\":[4,\"allow-empty\"],\"intlHex\":[1,\"intl-hex\"],\"intlNoColor\":[1,\"intl-no-color\"],\"scale\":[513],\"value\":[1537],\"numberingSystem\":[1,\"numbering-system\"],\"internalColor\":[32],\"setFocus\":[64]},[[2,\"keydown\",\"onInputKeyDown\"]]]]],[\"calcite-date-picker\",[[1,\"calcite-date-picker\",{\"activeRange\":[513,\"active-range\"],\"value\":[1025],\"headingLevel\":[514,\"heading-level\"],\"valueAsDate\":[1040],\"startAsDate\":[1040],\"endAsDate\":[1040],\"minAsDate\":[1040],\"maxAsDate\":[1040],\"min\":[1537],\"max\":[1537],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"scale\":[513],\"range\":[516],\"start\":[1537],\"end\":[1537],\"proximitySelectionDisabled\":[516,\"proximity-selection-disabled\"],\"activeDate\":[32],\"activeStartDate\":[32],\"activeEndDate\":[32],\"globalAttributes\":[32],\"effectiveLocale\":[32],\"localeData\":[32],\"hoverRange\":[32]}]]],[\"calcite-tile\",[[1,\"calcite-tile\",{\"active\":[516],\"description\":[513],\"disabled\":[516],\"embed\":[516],\"focused\":[516],\"heading\":[513],\"hidden\":[516],\"href\":[513],\"icon\":[513]}]]],[\"calcite-time-picker\",[[1,\"calcite-time-picker\",{\"intlHour\":[1,\"intl-hour\"],\"intlHourDown\":[1,\"intl-hour-down\"],\"intlHourUp\":[1,\"intl-hour-up\"],\"intlMeridiem\":[1,\"intl-meridiem\"],\"intlMeridiemDown\":[1,\"intl-meridiem-down\"],\"intlMeridiemUp\":[1,\"intl-meridiem-up\"],\"intlMinute\":[1,\"intl-minute\"],\"intlMinuteDown\":[1,\"intl-minute-down\"],\"intlMinuteUp\":[1,\"intl-minute-up\"],\"intlSecond\":[1,\"intl-second\"],\"intlSecondDown\":[1,\"intl-second-down\"],\"intlSecondUp\":[1,\"intl-second-up\"],\"locale\":[1025],\"scale\":[513],\"step\":[514],\"numberingSystem\":[1,\"numbering-system\"],\"value\":[1025],\"effectiveLocale\":[32],\"hour\":[32],\"hourCycle\":[32],\"localizedHour\":[32],\"localizedHourSuffix\":[32],\"localizedMeridiem\":[32],\"localizedMinute\":[32],\"localizedMinuteSuffix\":[32],\"localizedSecond\":[32],\"localizedSecondSuffix\":[32],\"meridiem\":[32],\"minute\":[32],\"second\":[32],\"showSecond\":[32],\"setFocus\":[64]},[[0,\"blur\",\"hostBlurHandler\"],[0,\"focus\",\"hostFocusHandler\"],[0,\"keydown\",\"keyDownHandler\"]]]]],[\"calcite-loader\",[[1,\"calcite-loader\",{\"active\":[516],\"inline\":[516],\"label\":[1],\"scale\":[513],\"type\":[513],\"value\":[2],\"text\":[1],\"noPadding\":[516,\"no-padding\"]}]]],[\"calcite-block_2\",[[1,\"calcite-block\",{\"collapsible\":[516],\"disabled\":[516],\"dragHandle\":[516,\"drag-handle\"],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"intlCollapse\":[1,\"intl-collapse\"],\"intlExpand\":[1,\"intl-expand\"],\"intlLoading\":[1,\"intl-loading\"],\"intlOptions\":[1,\"intl-options\"],\"loading\":[516],\"open\":[1540],\"status\":[513],\"summary\":[1],\"description\":[1],\"disablePadding\":[516,\"disable-padding\"]}],[1,\"calcite-pick-list\",{\"disabled\":[516],\"filterEnabled\":[516,\"filter-enabled\"],\"filterPlaceholder\":[513,\"filter-placeholder\"],\"headingLevel\":[514,\"heading-level\"],\"loading\":[516],\"multiple\":[516],\"selectionFollowsFocus\":[516,\"selection-follows-focus\"],\"selectedValues\":[32],\"dataForFilter\":[32],\"getSelectedItems\":[64],\"setFocus\":[64]},[[0,\"calciteListItemRemove\",\"calciteListItemRemoveHandler\"],[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"],[0,\"calciteInternalListItemPropsChange\",\"calciteInternalListItemPropsChangeHandler\"],[0,\"calciteInternalListItemValueChange\",\"calciteInternalListItemValueChangeHandler\"],[0,\"focusout\",\"calciteListFocusOutHandler\"]]]]],[\"info-card_2\",[[1,\"media-card\",{\"values\":[16],\"_index\":[32],\"_translations\":[32]}],[1,\"info-card\",{\"cardTitle\":[1,\"card-title\"],\"values\":[16]}]]],[\"calcite-handle\",[[1,\"calcite-handle\",{\"activated\":[1540],\"textTitle\":[513,\"text-title\"],\"setFocus\":[64]}]]],[\"calcite-link\",[[1,\"calcite-link\",{\"disabled\":[516],\"download\":[520],\"href\":[513],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"rel\":[1],\"target\":[1],\"setFocus\":[64]},[[0,\"click\",\"clickHandler\"]]]]],[\"calcite-color-picker-swatch\",[[1,\"calcite-color-picker-swatch\",{\"active\":[516],\"color\":[1],\"scale\":[513]}]]],[\"calcite-dropdown\",[[1,\"calcite-dropdown\",{\"active\":[1540],\"open\":[1540],\"disableCloseOnSelect\":[516,\"disable-close-on-select\"],\"disabled\":[516],\"flipPlacements\":[16],\"maxItems\":[514,\"max-items\"],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"scale\":[513],\"selectedItems\":[1040],\"type\":[513],\"width\":[513],\"reposition\":[64]},[[9,\"pointerdown\",\"closeCalciteDropdownOnClick\"],[0,\"calciteInternalDropdownCloseRequest\",\"closeCalciteDropdownOnEvent\"],[8,\"calciteDropdownOpen\",\"closeCalciteDropdownOnOpenEvent\"],[1,\"pointerenter\",\"mouseEnterHandler\"],[1,\"pointerleave\",\"mouseLeaveHandler\"],[0,\"calciteInternalDropdownItemKeyEvent\",\"calciteInternalDropdownItemKeyEvent\"],[0,\"calciteInternalDropdownItemSelect\",\"handleItemSelect\"]]]]],[\"calcite-scrim\",[[1,\"calcite-scrim\",{\"intlLoading\":[1,\"intl-loading\"],\"loading\":[516]}]]],[\"calcite-checkbox\",[[1,\"calcite-checkbox\",{\"checked\":[1540],\"disabled\":[516],\"guid\":[1537],\"hovered\":[1540],\"indeterminate\":[1540],\"label\":[1],\"name\":[520],\"required\":[516],\"scale\":[513],\"value\":[8],\"setFocus\":[64]}]]],[\"calcite-label\",[[1,\"calcite-label\",{\"alignment\":[513],\"status\":[513],\"for\":[513],\"scale\":[513],\"layout\":[513],\"disabled\":[516],\"disableSpacing\":[516,\"disable-spacing\"]}]]],[\"calcite-icon\",[[1,\"calcite-icon\",{\"icon\":[513],\"flipRtl\":[516,\"flip-rtl\"],\"scale\":[513],\"textLabel\":[1,\"text-label\"],\"pathData\":[32],\"visible\":[32]}]]],[\"calcite-action\",[[1,\"calcite-action\",{\"active\":[516],\"alignment\":[513],\"appearance\":[513],\"compact\":[516],\"disabled\":[516],\"icon\":[1],\"indicator\":[516],\"intlLoading\":[1,\"intl-loading\"],\"label\":[1],\"loading\":[516],\"scale\":[513],\"text\":[1],\"textEnabled\":[516,\"text-enabled\"],\"setFocus\":[64]}]]],[\"calcite-action-menu_2\",[[1,\"calcite-action-menu\",{\"expanded\":[516],\"flipPlacements\":[16],\"label\":[1],\"open\":[1540],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"scale\":[513],\"menuButtonEl\":[32],\"activeMenuItemIndex\":[32],\"setFocus\":[64]},[[9,\"pointerdown\",\"closeCalciteActionMenuOnClick\"]]],[1,\"calcite-popover\",{\"autoClose\":[516,\"auto-close\"],\"closeButton\":[516,\"close-button\"],\"dismissible\":[1540],\"closable\":[1540],\"disableFlip\":[516,\"disable-flip\"],\"disablePointer\":[516,\"disable-pointer\"],\"flipPlacements\":[16],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"label\":[1],\"offsetDistance\":[514,\"offset-distance\"],\"offsetSkidding\":[514,\"offset-skidding\"],\"open\":[1540],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"referenceElement\":[1,\"reference-element\"],\"triggerDisabled\":[516,\"trigger-disabled\"],\"intlClose\":[1,\"intl-close\"],\"effectiveReferenceElement\":[32],\"reposition\":[64],\"setFocus\":[64],\"toggle\":[64]}]]],[\"solution-contents_3\",[[0,\"solution-item\",{\"authentication\":[1040],\"itemId\":[1537,\"item-id\"],\"solutionVariables\":[1537,\"solution-variables\"],\"organizationVariables\":[1537,\"organization-variables\"],\"itemType\":[32],\"_translations\":[32]}],[0,\"solution-spatial-ref\",{\"defaultWkid\":[1538,\"default-wkid\"],\"locked\":[1540],\"value\":[1537],\"services\":[1040],\"loaded\":[32],\"spatialRef\":[32],\"_srSearchText\":[32],\"_translations\":[32],\"createSpatialRefDisplay\":[64],\"getSpatialRef\":[64],\"wkidToDisplay\":[64]}],[0,\"solution-contents\",{\"selectedItemId\":[1537,\"selected-item-id\"],\"templateHierarchy\":[1040]}]]],[\"calcite-modal\",[[1,\"calcite-modal\",{\"active\":[1540],\"open\":[1540],\"beforeClose\":[16],\"disableCloseButton\":[516,\"disable-close-button\"],\"disableOutsideClose\":[516,\"disable-outside-close\"],\"intlClose\":[1,\"intl-close\"],\"docked\":[516],\"disableEscape\":[516,\"disable-escape\"],\"scale\":[513],\"width\":[520],\"fullscreen\":[516],\"color\":[513],\"backgroundColor\":[513,\"background-color\"],\"noPadding\":[516,\"no-padding\"],\"hasFooter\":[32],\"isOpen\":[32],\"focusElement\":[64],\"setFocus\":[64],\"scrollContent\":[64]},[[8,\"keydown\",\"handleEscape\"]]]]],[\"calcite-dropdown-group_4\",[[1,\"edit-record-modal\",{\"open\":[1028],\"_translations\":[32]}],[1,\"calcite-split-button\",{\"appearance\":[513],\"color\":[513],\"disabled\":[516],\"active\":[1540],\"dropdownIconType\":[513,\"dropdown-icon-type\"],\"dropdownLabel\":[513,\"dropdown-label\"],\"loading\":[516],\"overlayPositioning\":[513,\"overlay-positioning\"],\"primaryIconEnd\":[513,\"primary-icon-end\"],\"primaryIconFlipRtl\":[513,\"primary-icon-flip-rtl\"],\"primaryIconStart\":[513,\"primary-icon-start\"],\"primaryLabel\":[513,\"primary-label\"],\"primaryText\":[513,\"primary-text\"],\"scale\":[513],\"width\":[513]}],[1,\"calcite-dropdown-item\",{\"active\":[1540],\"selected\":[1540],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"],\"href\":[513],\"label\":[1],\"rel\":[513],\"target\":[513],\"setFocus\":[64]},[[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"],[16,\"calciteInternalDropdownItemChange\",\"updateActiveItemOnChange\"]]],[1,\"calcite-dropdown-group\",{\"groupTitle\":[513,\"group-title\"],\"selectionMode\":[513,\"selection-mode\"],\"scale\":[513]},[[0,\"calciteInternalDropdownItemSelect\",\"updateActiveItemOnChange\"]]]]],[\"calcite-list_2\",[[1,\"calcite-list\",{\"disabled\":[516],\"headingLevel\":[514,\"heading-level\"],\"setFocus\":[64]}],[1,\"calcite-list-item\",{\"nonInteractive\":[516,\"non-interactive\"],\"description\":[1],\"disabled\":[516],\"label\":[1],\"setFocus\":[64]}]]],[\"calcite-graph\",[[1,\"calcite-graph\",{\"data\":[16],\"colorStops\":[16],\"highlightMin\":[2,\"highlight-min\"],\"highlightMax\":[2,\"highlight-max\"],\"min\":[514],\"max\":[514]}]]],[\"calcite-input-message_5\",[[4,\"map-select-tools\",{\"bufferColor\":[8,\"buffer-color\"],\"bufferOutlineColor\":[8,\"buffer-outline-color\"],\"enabledLayerIds\":[16],\"defaultBufferDistance\":[2,\"default-buffer-distance\"],\"defaultBufferUnit\":[1,\"default-buffer-unit\"],\"geometries\":[16],\"isUpdate\":[4,\"is-update\"],\"mapView\":[16],\"searchConfiguration\":[16],\"selectionSet\":[16],\"selectLayerView\":[16],\"showBufferTools\":[4,\"show-buffer-tools\"],\"_layerSelectChecked\":[32],\"_searchTerm\":[32],\"_translations\":[32],\"_workflowType\":[32],\"clearSelection\":[64],\"getSelection\":[64]},[[8,\"labelChange\",\"labelChange\"],[8,\"sketchGraphicsChange\",\"sketchGraphicsChange\"],[8,\"refineSelectionGraphicsChange\",\"refineSelectionGraphicsChange\"]]],[0,\"refine-selection\",{\"addresseeLayer\":[16],\"enabledLayerIds\":[16],\"mapView\":[16],\"selectionSets\":[1040],\"GraphicsLayer\":[8,\"graphics-layer\"],\"SketchViewModel\":[8,\"sketch-view-model\"],\"_translations\":[32]},[[8,\"refineSelectionIdsChange\",\"refineSelectionIdsChange\"]]],[1,\"pdf-download\",{\"disabled\":[4],\"layerView\":[16],\"_translations\":[32],\"downloadCSV\":[64],\"downloadPDF\":[64]}],[1,\"calcite-input-message\",{\"active\":[516],\"icon\":[520],\"scale\":[1537],\"status\":[1537],\"type\":[513]}],[1,\"calcite-notice\",{\"active\":[1540],\"open\":[1540],\"color\":[513],\"dismissible\":[516],\"closable\":[516],\"icon\":[520],\"intlClose\":[1,\"intl-close\"],\"scale\":[513],\"width\":[513],\"setFocus\":[64]}]]],[\"calcite-action-bar_2\",[[1,\"calcite-action-bar\",{\"expandDisabled\":[516,\"expand-disabled\"],\"expanded\":[1540],\"intlExpand\":[1,\"intl-expand\"],\"intlCollapse\":[1,\"intl-collapse\"],\"layout\":[513],\"overflowActionsDisabled\":[516,\"overflow-actions-disabled\"],\"position\":[513],\"scale\":[513],\"overflowActions\":[64],\"setFocus\":[64]}],[1,\"calcite-tooltip\",{\"closeOnClick\":[516,\"close-on-click\"],\"label\":[1],\"offsetDistance\":[514,\"offset-distance\"],\"offsetSkidding\":[514,\"offset-skidding\"],\"open\":[516],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"referenceElement\":[1,\"reference-element\"],\"effectiveReferenceElement\":[32],\"reposition\":[64]}]]],[\"calcite-pick-list-item\",[[1,\"calcite-pick-list-item\",{\"description\":[513],\"disabled\":[516],\"disableDeselect\":[516,\"disable-deselect\"],\"nonInteractive\":[516,\"non-interactive\"],\"icon\":[513],\"label\":[513],\"metadata\":[16],\"removable\":[516],\"selected\":[1540],\"intlRemove\":[513,\"intl-remove\"],\"value\":[8],\"toggleSelected\":[64],\"setFocus\":[64]}]]],[\"calcite-switch\",[[1,\"calcite-switch\",{\"disabled\":[516],\"label\":[1],\"name\":[513],\"scale\":[513],\"switched\":[1540],\"checked\":[1540],\"value\":[8],\"setFocus\":[64]}]]],[\"calcite-action-group\",[[1,\"calcite-action-group\",{\"expanded\":[516],\"layout\":[513],\"columns\":[514],\"intlMore\":[1,\"intl-more\"],\"menuOpen\":[1540,\"menu-open\"],\"scale\":[513]}]]],[\"calcite-date-picker-day_3\",[[1,\"calcite-date-picker-month\",{\"selectedDate\":[16],\"activeDate\":[16],\"startDate\":[16],\"endDate\":[16],\"min\":[16],\"max\":[16],\"scale\":[513],\"localeData\":[16],\"hoverRange\":[16]},[[1,\"pointerout\",\"mouseoutHandler\"]]],[1,\"calcite-date-picker-month-header\",{\"selectedDate\":[16],\"activeDate\":[16],\"headingLevel\":[2,\"heading-level\"],\"min\":[16],\"max\":[16],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"scale\":[513],\"localeData\":[16],\"globalAttributes\":[32],\"nextMonthDate\":[32],\"prevMonthDate\":[32]}],[1,\"calcite-date-picker-day\",{\"day\":[2],\"disabled\":[516],\"currentMonth\":[516,\"current-month\"],\"selected\":[516],\"highlighted\":[516],\"range\":[516],\"startOfRange\":[516,\"start-of-range\"],\"endOfRange\":[516,\"end-of-range\"],\"rangeHover\":[516,\"range-hover\"],\"active\":[516],\"scale\":[513],\"value\":[16]},[[1,\"pointerover\",\"mouseoverHandler\"]]]]],[\"calcite-panel_2\",[[1,\"calcite-shell\",{\"contentBehind\":[516,\"content-behind\"]}],[1,\"calcite-panel\",{\"dismissed\":[1540],\"closed\":[1540],\"beforeBack\":[16],\"disabled\":[516],\"dismissible\":[1540],\"closable\":[1540],\"headingLevel\":[514,\"heading-level\"],\"showBackButton\":[516,\"show-back-button\"],\"intlBack\":[1,\"intl-back\"],\"heightScale\":[513,\"height-scale\"],\"widthScale\":[513,\"width-scale\"],\"loading\":[516],\"intlClose\":[1,\"intl-close\"],\"intlOptions\":[1,\"intl-options\"],\"heading\":[1],\"summary\":[1],\"description\":[1],\"menuOpen\":[516,\"menu-open\"],\"hasStartActions\":[32],\"hasEndActions\":[32],\"hasMenuItems\":[32],\"hasHeaderContent\":[32],\"hasFooterContent\":[32],\"hasFooterActions\":[32],\"hasFab\":[32],\"setFocus\":[64],\"scrollContentTo\":[64]}]]],[\"calcite-chip\",[[1,\"calcite-chip\",{\"appearance\":[513],\"color\":[513],\"dismissible\":[1540],\"closable\":[1540],\"dismissLabel\":[1,\"dismiss-label\"],\"icon\":[513],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"scale\":[513],\"value\":[8],\"closed\":[1540],\"setFocus\":[64]}]]],[\"calcite-option_2\",[[1,\"calcite-select\",{\"disabled\":[516],\"label\":[1],\"name\":[513],\"required\":[516],\"scale\":[513],\"value\":[1025],\"selectedOption\":[1040],\"width\":[513],\"setFocus\":[64]},[[0,\"calciteInternalOptionChange\",\"handleOptionOrGroupChange\"],[0,\"calciteInternalOptionGroupChange\",\"handleOptionOrGroupChange\"]]],[1,\"calcite-option\",{\"disabled\":[516],\"label\":[1025],\"selected\":[516],\"value\":[1032]}]]],[\"calcite-combobox_3\",[[0,\"map-layer-picker\",{\"enabledLayerIds\":[16],\"mapView\":[16],\"selectedLayerIds\":[1040],\"selectionMode\":[1537,\"selection-mode\"],\"layerIds\":[32]}],[1,\"calcite-combobox\",{\"active\":[1540],\"open\":[1540],\"disabled\":[516],\"label\":[1],\"placeholder\":[1],\"placeholderIcon\":[513,\"placeholder-icon\"],\"maxItems\":[514,\"max-items\"],\"name\":[513],\"allowCustomValues\":[516,\"allow-custom-values\"],\"overlayPositioning\":[513,\"overlay-positioning\"],\"required\":[516],\"selectionMode\":[513,\"selection-mode\"],\"scale\":[513],\"value\":[1025],\"intlRemoveTag\":[1,\"intl-remove-tag\"],\"flipPlacements\":[16],\"items\":[32],\"groupItems\":[32],\"selectedItems\":[32],\"visibleItems\":[32],\"needsIcon\":[32],\"activeItemIndex\":[32],\"activeChipIndex\":[32],\"activeDescendant\":[32],\"text\":[32],\"reposition\":[64],\"setFocus\":[64]},[[5,\"pointerdown\",\"documentClickHandler\"],[0,\"calciteComboboxItemChange\",\"calciteComboboxItemChangeHandler\"]]],[1,\"calcite-combobox-item\",{\"disabled\":[516],\"selected\":[1540],\"active\":[516],\"ancestors\":[1040],\"guid\":[513],\"icon\":[513],\"textLabel\":[513,\"text-label\"],\"value\":[8],\"constant\":[516],\"filterDisabled\":[516,\"filter-disabled\"],\"toggleSelected\":[64]}]]],[\"calcite-input_2\",[[1,\"calcite-input\",{\"alignment\":[513],\"autofocus\":[516],\"clearable\":[516],\"disabled\":[516],\"groupSeparator\":[516,\"group-separator\"],\"hidden\":[516],\"icon\":[520],\"intlClear\":[1,\"intl-clear\"],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"localeFormat\":[4,\"locale-format\"],\"max\":[514],\"min\":[514],\"maxlength\":[514],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"numberButtonType\":[513,\"number-button-type\"],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[516,\"read-only\"],\"required\":[516],\"scale\":[1537],\"status\":[1537],\"step\":[520],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"type\":[513],\"value\":[1025],\"effectiveLocale\":[32],\"localizedValue\":[32],\"setFocus\":[64],\"selectText\":[64]}],[1,\"calcite-progress\",{\"type\":[513],\"value\":[2],\"label\":[1],\"text\":[1],\"reversed\":[516]}]]],[\"buffer-tools_6\",[[1,\"buffer-tools\",{\"appearance\":[1025],\"distance\":[1026],\"geometries\":[1040],\"max\":[1026],\"min\":[1026],\"sliderTicks\":[1026,\"slider-ticks\"],\"unionResults\":[1028,\"union-results\"],\"unit\":[1025],\"_translations\":[32]}],[0,\"map-draw-tools\",{\"active\":[4],\"border\":[4],\"mapView\":[1040],\"pointSymbol\":[1040],\"polylineSymbol\":[1040],\"polygonSymbol\":[1040],\"graphics\":[1040],\"_translations\":[32],\"clear\":[64]}],[1,\"refine-selection-tools\",{\"active\":[4],\"border\":[4],\"enabledLayerIds\":[16],\"graphics\":[1040],\"ids\":[16],\"layerView\":[16],\"layerViews\":[16],\"mapView\":[16],\"mode\":[1],\"refineMode\":[1,\"refine-mode\"],\"refineSelectionSet\":[1040],\"useLayerPicker\":[4,\"use-layer-picker\"],\"_selectEnabled\":[32],\"_selectionMode\":[32],\"_translations\":[32],\"reset\":[64],\"clearHighlight\":[64]}],[1,\"calcite-radio-group-item\",{\"checked\":[1540],\"icon\":[513],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"iconPosition\":[513,\"icon-position\"],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"],\"value\":[1032]}],[1,\"calcite-slider\",{\"disabled\":[516],\"groupSeparator\":[516,\"group-separator\"],\"hasHistogram\":[1540,\"has-histogram\"],\"histogram\":[16],\"histogramStops\":[16],\"labelHandles\":[516,\"label-handles\"],\"labelTicks\":[516,\"label-ticks\"],\"max\":[514],\"maxLabel\":[1,\"max-label\"],\"maxValue\":[1026,\"max-value\"],\"min\":[514],\"minLabel\":[1,\"min-label\"],\"minValue\":[1026,\"min-value\"],\"mirrored\":[516],\"name\":[513],\"numberingSystem\":[1,\"numbering-system\"],\"pageStep\":[514,\"page-step\"],\"precise\":[516],\"required\":[516],\"snap\":[516],\"step\":[514],\"ticks\":[514],\"value\":[1538],\"scale\":[513],\"effectiveLocale\":[32],\"minMaxValueRange\":[32],\"minValueDragRange\":[32],\"maxValueDragRange\":[32],\"tickValues\":[32],\"setFocus\":[64]},[[0,\"keydown\",\"keyDownHandler\"],[1,\"pointerdown\",\"pointerDownHandler\"]]],[1,\"calcite-radio-group\",{\"appearance\":[513],\"disabled\":[516],\"required\":[516],\"layout\":[513],\"name\":[513],\"scale\":[513],\"value\":[1025],\"selectedItem\":[1040],\"width\":[513],\"setFocus\":[64]},[[0,\"calciteInternalRadioGroupItemChange\",\"handleSelected\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"calcite-button\",[[1,\"calcite-button\",{\"alignment\":[513],\"appearance\":[513],\"label\":[1],\"color\":[513],\"disabled\":[516],\"href\":[513],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"intlLoading\":[1,\"intl-loading\"],\"loading\":[516],\"name\":[513],\"rel\":[513],\"form\":[1],\"round\":[516],\"scale\":[513],\"splitChild\":[520,\"split-child\"],\"target\":[513],\"type\":[1537],\"width\":[513],\"hasContent\":[32],\"hasLoader\":[32],\"setFocus\":[64]}]]],[\"calcite-tree_3\",[[0,\"solution-item-icon\",{\"isPortal\":[4,\"is-portal\"],\"type\":[1],\"typeKeywords\":[16]}],[1,\"calcite-tree-item\",{\"disabled\":[516],\"selected\":[1540],\"expanded\":[1540],\"parentExpanded\":[4,\"parent-expanded\"],\"depth\":[1538],\"hasChildren\":[1540,\"has-children\"],\"lines\":[1540],\"inputEnabled\":[4,\"input-enabled\"],\"scale\":[1537],\"indeterminate\":[516],\"selectionMode\":[1537,\"selection-mode\"]},[[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]],[1,\"calcite-tree\",{\"lines\":[1540],\"inputEnabled\":[4,\"input-enabled\"],\"child\":[1540],\"scale\":[1537],\"selectionMode\":[1537,\"selection-mode\"]},[[0,\"focus\",\"onFocus\"],[0,\"focusin\",\"onFocusIn\"],[0,\"focusout\",\"onFocusOut\"],[0,\"calciteInternalTreeItemSelect\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]]]],[\"calcite-shell-panel_14\",[[0,\"solution-template-data\",{\"instanceid\":[1537],\"itemId\":[1537,\"item-id\"],\"organizationVariables\":[1537,\"organization-variables\"],\"solutionVariables\":[1537,\"solution-variables\"],\"varsOpen\":[1540,\"vars-open\"],\"_translations\":[32],\"value\":[32]}],[1,\"solution-resource-item\",{\"authentication\":[1040],\"itemId\":[1537,\"item-id\"],\"resourceFilePaths\":[32],\"resources\":[32],\"_translations\":[32]}],[0,\"solution-item-details\",{\"itemId\":[1537,\"item-id\"],\"itemDetails\":[32],\"itemEdit\":[32],\"_translations\":[32],\"thumbnail\":[32],\"thumbnailContainer\":[32]},[[0,\"calciteInputInput\",\"inputReceivedHandler\"]]],[1,\"solution-item-sharing\",{\"groupId\":[1537,\"group-id\"],\"_translations\":[32],\"sharing\":[32],\"getShareInfo\":[64]}],[1,\"solution-variables\",{\"value\":[1537],\"_solutionVariables\":[32],\"_translations\":[32]}],[1,\"calcite-value-list-item\",{\"description\":[513],\"disabled\":[516],\"disableDeselect\":[4,\"disable-deselect\"],\"nonInteractive\":[516,\"non-interactive\"],\"handleActivated\":[1028,\"handle-activated\"],\"icon\":[513],\"label\":[513],\"metadata\":[16],\"removable\":[516],\"selected\":[1540],\"value\":[8],\"toggleSelected\":[64],\"setFocus\":[64]},[[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"]]],[1,\"solution-organization-variables\",{\"value\":[1537],\"_organizationVariables\":[32],\"_translations\":[32]}],[0,\"json-editor\",{\"hasChanges\":[1540,\"has-changes\"],\"hasErrors\":[1540,\"has-errors\"],\"instanceid\":[1544],\"value\":[1544],\"getEditorContents\":[64],\"prepareForDeletion\":[64],\"replaceCurrentSelection\":[64],\"reset\":[64]}],[1,\"calcite-tab-title\",{\"active\":[1540],\"selected\":[1540],\"disabled\":[516],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"layout\":[1537],\"position\":[1537],\"scale\":[1537],\"bordered\":[1540],\"tab\":[513],\"controls\":[32],\"hasText\":[32],\"getTabIndex\":[64],\"getTabIdentifier\":[64],\"updateAriaInfo\":[64]},[[16,\"calciteInternalTabChange\",\"internalTabChangeHandler\"],[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]],[1,\"calcite-shell-panel\",{\"collapsed\":[516],\"detached\":[516],\"detachedHeightScale\":[513,\"detached-height-scale\"],\"widthScale\":[513,\"width-scale\"],\"position\":[513],\"intlResize\":[1,\"intl-resize\"],\"resizable\":[516],\"contentWidth\":[32]}],[1,\"calcite-tab\",{\"tab\":[513],\"active\":[1540],\"selected\":[1540],\"scale\":[1537],\"labeledBy\":[32],\"getTabIndex\":[64],\"updateAriaInfo\":[64]},[[16,\"calciteInternalTabChange\",\"internalTabChangeHandler\"]]],[1,\"calcite-tab-nav\",{\"storageId\":[513,\"storage-id\"],\"syncId\":[513,\"sync-id\"],\"scale\":[1537],\"layout\":[1537],\"position\":[1537],\"bordered\":[1540],\"indicatorOffset\":[1026,\"indicator-offset\"],\"indicatorWidth\":[1026,\"indicator-width\"],\"selectedTab\":[32],\"selectedTabEl\":[32]},[[0,\"calciteInternalTabsFocusPrevious\",\"focusPreviousTabHandler\"],[0,\"calciteInternalTabsFocusNext\",\"focusNextTabHandler\"],[0,\"calciteInternalTabsActivate\",\"internalActivateTabHandler\"],[0,\"calciteTabsActivate\",\"activateTabHandler\"],[0,\"calciteInternalTabTitleRegister\",\"updateTabTitles\"],[16,\"calciteInternalTabChange\",\"globalInternalTabChangeHandler\"],[0,\"calciteInternalTabIconChanged\",\"iconStartChangeHandler\"]]],[1,\"calcite-tabs\",{\"layout\":[513],\"position\":[513],\"scale\":[513],\"bordered\":[1540],\"titles\":[32],\"tabs\":[32]},[[0,\"calciteInternalTabTitleRegister\",\"calciteInternalTabTitleRegister\"],[16,\"calciteTabTitleUnregister\",\"calciteTabTitleUnregister\"],[0,\"calciteInternalTabRegister\",\"calciteInternalTabRegister\"],[16,\"calciteTabUnregister\",\"calciteTabUnregister\"]]],[1,\"calcite-value-list\",{\"disabled\":[516],\"dragEnabled\":[516,\"drag-enabled\"],\"filterEnabled\":[516,\"filter-enabled\"],\"filterPlaceholder\":[513,\"filter-placeholder\"],\"group\":[513],\"loading\":[516],\"multiple\":[516],\"selectionFollowsFocus\":[516,\"selection-follows-focus\"],\"intlDragHandleIdle\":[1,\"intl-drag-handle-idle\"],\"intlDragHandleActive\":[1,\"intl-drag-handle-active\"],\"intlDragHandleChange\":[1,\"intl-drag-handle-change\"],\"intlDragHandleCommit\":[1,\"intl-drag-handle-commit\"],\"selectedValues\":[32],\"dataForFilter\":[32],\"getSelectedItems\":[64],\"setFocus\":[64]},[[0,\"focusout\",\"calciteListFocusOutHandler\"],[0,\"calciteListItemRemove\",\"calciteListItemRemoveHandler\"],[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"],[0,\"calciteInternalListItemPropsChange\",\"calciteInternalListItemPropsChangeHandler\"],[0,\"calciteInternalListItemValueChange\",\"calciteInternalListItemValueChangeHandler\"]]]]]]"), options);
25
+ return bootstrapLazy(JSON.parse("[[\"calcite-icon\",[[1,\"calcite-icon\",{\"icon\":[513],\"flipRtl\":[516,\"flip-rtl\"],\"scale\":[513],\"textLabel\":[1,\"text-label\"],\"pathData\":[32],\"visible\":[32]}]]],[\"public-notification\",[[0,\"public-notification\",{\"addresseeLayerIds\":[16],\"bufferColor\":[8,\"buffer-color\"],\"bufferOutlineColor\":[8,\"buffer-outline-color\"],\"customLabelEnabled\":[4,\"custom-label-enabled\"],\"defaultBufferDistance\":[2,\"default-buffer-distance\"],\"defaultBufferUnit\":[1,\"default-buffer-unit\"],\"featureEffect\":[16],\"featureHighlightEnabled\":[4,\"feature-highlight-enabled\"],\"mapView\":[16],\"noResultText\":[1,\"no-result-text\"],\"searchConfiguration\":[1040],\"selectionLayerIds\":[16],\"showRefineSelection\":[4,\"show-refine-selection\"],\"showSearchSettings\":[4,\"show-search-settings\"],\"addresseeLayer\":[32],\"_downloadActive\":[32],\"_numSelected\":[32],\"_pageType\":[32],\"_saveEnabled\":[32],\"_selectionSets\":[32],\"_sketchType\":[32],\"_selectionWorkflowType\":[32],\"_showLayerSelectionChangeModal\":[32],\"_translations\":[32]},[[8,\"distanceChanged\",\"distanceChanged\"],[8,\"selectionSetsChanged\",\"selectionSetsChanged\"],[8,\"sketchTypeChange\",\"sketchTypeChange\"],[8,\"unitChanged\",\"unitChanged\"]]]]],[\"solution-configuration\",[[0,\"solution-configuration\",{\"authentication\":[1040],\"serializedAuthentication\":[1025,\"serialized-authentication\"],\"solutionItemId\":[1537,\"solution-item-id\"],\"showLoading\":[1540,\"show-loading\"],\"_currentEditItemId\":[32],\"_organizationVariables\":[32],\"_solutionContentsComponent\":[32],\"_solutionIsLoaded\":[32],\"_solutionVariables\":[32],\"_templateHierarchy\":[32],\"_translations\":[32],\"_treeOpen\":[32],\"getSpatialReferenceInfo\":[64],\"saveSolution\":[64],\"unloadSolution\":[64]},[[8,\"solutionItemSelected\",\"_solutionItemSelected\"]]]]],[\"layer-table\",[[1,\"layer-table\",{\"mapView\":[16],\"_translations\":[32],\"_selectedIndexes\":[32]}]]],[\"map-card\",[[0,\"map-card\",{\"mapInfos\":[16],\"_mapListExpanded\":[32],\"_mapView\":[32],\"_translations\":[32],\"_webMapId\":[32]}]]],[\"calcite-color-picker\",[[1,\"calcite-color-picker\",{\"allowEmpty\":[516,\"allow-empty\"],\"appearance\":[513],\"color\":[1040],\"disabled\":[516],\"format\":[513],\"hideHex\":[516,\"hide-hex\"],\"hideChannels\":[516,\"hide-channels\"],\"hideSaved\":[516,\"hide-saved\"],\"intlB\":[1,\"intl-b\"],\"intlBlue\":[1,\"intl-blue\"],\"intlDeleteColor\":[1,\"intl-delete-color\"],\"intlG\":[1,\"intl-g\"],\"intlGreen\":[1,\"intl-green\"],\"intlH\":[1,\"intl-h\"],\"intlHsv\":[1,\"intl-hsv\"],\"intlHex\":[1,\"intl-hex\"],\"intlHue\":[1,\"intl-hue\"],\"intlNoColor\":[1,\"intl-no-color\"],\"intlR\":[1,\"intl-r\"],\"intlRed\":[1,\"intl-red\"],\"intlRgb\":[1,\"intl-rgb\"],\"intlS\":[1,\"intl-s\"],\"intlSaturation\":[1,\"intl-saturation\"],\"intlSaveColor\":[1,\"intl-save-color\"],\"intlSaved\":[1,\"intl-saved\"],\"intlV\":[1,\"intl-v\"],\"intlValue\":[1,\"intl-value\"],\"scale\":[513],\"storageId\":[513,\"storage-id\"],\"numberingSystem\":[513,\"numbering-system\"],\"value\":[1025],\"colorFieldAndSliderInteractive\":[32],\"channelMode\":[32],\"channels\":[32],\"dimensions\":[32],\"savedColors\":[32],\"colorFieldScopeTop\":[32],\"colorFieldScopeLeft\":[32],\"scopeOrientation\":[32],\"hueScopeLeft\":[32],\"hueScopeTop\":[32],\"setFocus\":[64]},[[2,\"keydown\",\"handleChannelKeyUpOrDown\"],[2,\"keyup\",\"handleChannelKeyUpOrDown\"]]]]],[\"pci-calculator\",[[1,\"pci-calculator\",{\"showAddDeduct\":[32]}]]],[\"add-record-modal\",[[1,\"add-record-modal\",{\"open\":[1028],\"_translations\":[32]}]]],[\"calcite-flow-item\",[[1,\"calcite-flow-item\",{\"closable\":[1540],\"closed\":[1540],\"beforeBack\":[16],\"description\":[1],\"disabled\":[516],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"heightScale\":[513,\"height-scale\"],\"intlBack\":[1,\"intl-back\"],\"intlClose\":[1,\"intl-close\"],\"intlOptions\":[1,\"intl-options\"],\"loading\":[516],\"menuOpen\":[516,\"menu-open\"],\"showBackButton\":[516,\"show-back-button\"],\"widthScale\":[513,\"width-scale\"],\"backButtonEl\":[32],\"setFocus\":[64],\"scrollContentTo\":[64]}]]],[\"calcite-input-date-picker\",[[1,\"calcite-input-date-picker\",{\"disabled\":[516],\"readOnly\":[516,\"read-only\"],\"value\":[1025],\"flipPlacements\":[16],\"headingLevel\":[514,\"heading-level\"],\"valueAsDate\":[1040],\"startAsDate\":[1040],\"endAsDate\":[1040],\"minAsDate\":[1040],\"maxAsDate\":[1040],\"min\":[1025],\"max\":[1025],\"active\":[1540],\"open\":[1540],\"name\":[513],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"scale\":[513],\"placement\":[513],\"range\":[516],\"required\":[516],\"start\":[1537],\"end\":[1537],\"overlayPositioning\":[513,\"overlay-positioning\"],\"proximitySelectionDisabled\":[4,\"proximity-selection-disabled\"],\"layout\":[513],\"effectiveLocale\":[32],\"focusedInput\":[32],\"globalAttributes\":[32],\"localeData\":[32],\"setFocus\":[64],\"reposition\":[64]},[[0,\"calciteDatePickerChange\",\"handleDateOrRangeChange\"],[0,\"calciteDatePickerRangeChange\",\"handleDateOrRangeChange\"],[0,\"calciteDaySelect\",\"calciteDaySelectHandler\"]]]]],[\"calcite-input-time-picker\",[[1,\"calcite-input-time-picker\",{\"active\":[1540],\"open\":[1540],\"disabled\":[516],\"readOnly\":[516,\"read-only\"],\"intlHour\":[1,\"intl-hour\"],\"intlHourDown\":[1,\"intl-hour-down\"],\"intlHourUp\":[1,\"intl-hour-up\"],\"intlMeridiem\":[1,\"intl-meridiem\"],\"intlMeridiemDown\":[1,\"intl-meridiem-down\"],\"intlMeridiemUp\":[1,\"intl-meridiem-up\"],\"intlMinute\":[1,\"intl-minute\"],\"intlMinuteDown\":[1,\"intl-minute-down\"],\"intlMinuteUp\":[1,\"intl-minute-up\"],\"intlSecond\":[1,\"intl-second\"],\"intlSecondDown\":[1,\"intl-second-down\"],\"intlSecondUp\":[1,\"intl-second-up\"],\"locale\":[1025],\"name\":[1],\"numberingSystem\":[1,\"numbering-system\"],\"required\":[516],\"scale\":[513],\"overlayPositioning\":[1,\"overlay-positioning\"],\"placement\":[513],\"step\":[2],\"value\":[1025],\"effectiveLocale\":[32],\"localizedValue\":[32],\"setFocus\":[64],\"reposition\":[64]},[[0,\"click\",\"clickHandler\"],[0,\"calciteInternalTimePickerBlur\",\"timePickerBlurHandler\"],[0,\"calciteInternalTimePickerFocus\",\"timePickerFocusHandler\"]]]]],[\"calcite-action-pad\",[[1,\"calcite-action-pad\",{\"expandDisabled\":[516,\"expand-disabled\"],\"expanded\":[1540],\"layout\":[513],\"intlExpand\":[1,\"intl-expand\"],\"intlCollapse\":[1,\"intl-collapse\"],\"position\":[513],\"scale\":[513],\"setFocus\":[64]}]]],[\"card-manager\",[[1,\"card-manager\",{\"_translations\":[32]}]]],[\"calcite-card\",[[1,\"calcite-card\",{\"loading\":[516],\"selected\":[1540],\"selectable\":[516],\"intlLoading\":[1,\"intl-loading\"],\"intlSelect\":[1,\"intl-select\"],\"intlDeselect\":[1,\"intl-deselect\"],\"thumbnailPosition\":[513,\"thumbnail-position\"]}]]],[\"calcite-fab\",[[1,\"calcite-fab\",{\"appearance\":[513],\"color\":[513],\"disabled\":[516],\"icon\":[513],\"label\":[1],\"loading\":[516],\"scale\":[513],\"text\":[1],\"textEnabled\":[516,\"text-enabled\"],\"setFocus\":[64]}]]],[\"calcite-filter\",[[1,\"calcite-filter\",{\"items\":[1040],\"disabled\":[516],\"filteredItems\":[1040],\"intlClear\":[1,\"intl-clear\"],\"intlLabel\":[1,\"intl-label\"],\"placeholder\":[1],\"scale\":[513],\"value\":[1025],\"setFocus\":[64]}]]],[\"calcite-inline-editable\",[[1,\"calcite-inline-editable\",{\"disabled\":[516],\"editingEnabled\":[1540,\"editing-enabled\"],\"loading\":[1540],\"controls\":[516],\"intlEnableEditing\":[513,\"intl-enable-editing\"],\"intlCancelEditing\":[513,\"intl-cancel-editing\"],\"intlConfirmChanges\":[513,\"intl-confirm-changes\"],\"scale\":[1537],\"afterConfirm\":[16],\"setFocus\":[64]},[[0,\"calciteInternalInputBlur\",\"blurHandler\"]]]]],[\"calcite-tile-select\",[[1,\"calcite-tile-select\",{\"checked\":[1540],\"description\":[513],\"disabled\":[516],\"heading\":[513],\"hidden\":[516],\"icon\":[513],\"name\":[520],\"inputEnabled\":[516,\"input-enabled\"],\"inputAlignment\":[513,\"input-alignment\"],\"type\":[513],\"value\":[8],\"width\":[513],\"focused\":[32],\"setFocus\":[64]},[[0,\"calciteCheckboxChange\",\"checkboxChangeHandler\"],[0,\"calciteInternalCheckboxFocus\",\"checkboxFocusBlurHandler\"],[0,\"calciteInternalCheckboxBlur\",\"checkboxFocusBlurHandler\"],[0,\"calciteRadioButtonChange\",\"radioButtonChangeHandler\"],[0,\"calciteInternalRadioButtonCheckedChange\",\"radioButtonCheckedChangeHandler\"],[0,\"calciteInternalRadioButtonFocus\",\"radioButtonFocusBlurHandler\"],[0,\"calciteInternalRadioButtonBlur\",\"radioButtonFocusBlurHandler\"],[0,\"click\",\"click\"],[1,\"pointerenter\",\"mouseenter\"],[1,\"pointerleave\",\"mouseleave\"]]]]],[\"calcite-tip\",[[1,\"calcite-tip\",{\"dismissed\":[1540],\"nonDismissible\":[516,\"non-dismissible\"],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"selected\":[516],\"intlClose\":[1,\"intl-close\"]}]]],[\"calcite-tip-manager\",[[1,\"calcite-tip-manager\",{\"closed\":[1540],\"headingLevel\":[514,\"heading-level\"],\"intlClose\":[1,\"intl-close\"],\"intlDefaultTitle\":[1,\"intl-default-title\"],\"intlNext\":[1,\"intl-next\"],\"intlPaginationLabel\":[1,\"intl-pagination-label\"],\"intlPrevious\":[1,\"intl-previous\"],\"selectedIndex\":[32],\"tips\":[32],\"total\":[32],\"direction\":[32],\"groupTitle\":[32],\"nextTip\":[64],\"previousTip\":[64]}]]],[\"calcite-alert\",[[1,\"calcite-alert\",{\"active\":[1540],\"open\":[1540],\"autoDismiss\":[516,\"auto-dismiss\"],\"autoDismissDuration\":[513,\"auto-dismiss-duration\"],\"color\":[513],\"icon\":[520],\"intlClose\":[1,\"intl-close\"],\"label\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"placement\":[513],\"scale\":[513],\"effectiveLocale\":[32],\"queue\":[32],\"queueLength\":[32],\"queued\":[32],\"requestedIcon\":[32],\"setFocus\":[64]},[[8,\"calciteInternalAlertSync\",\"alertSync\"],[8,\"calciteInternalAlertRegister\",\"alertRegister\"]]]]],[\"calcite-block-section\",[[1,\"calcite-block-section\",{\"intlCollapse\":[1,\"intl-collapse\"],\"intlExpand\":[1,\"intl-expand\"],\"open\":[1540],\"status\":[513],\"text\":[1],\"toggleDisplay\":[513,\"toggle-display\"]}]]],[\"calcite-input-number\",[[1,\"calcite-input-number\",{\"alignment\":[513],\"autofocus\":[516],\"clearable\":[516],\"disabled\":[516],\"groupSeparator\":[516,\"group-separator\"],\"hidden\":[516],\"icon\":[520],\"intlClear\":[1,\"intl-clear\"],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"localeFormat\":[4,\"locale-format\"],\"max\":[514],\"min\":[514],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"numberButtonType\":[513,\"number-button-type\"],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[516,\"read-only\"],\"required\":[516],\"scale\":[1537],\"status\":[1537],\"step\":[520],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"value\":[1025],\"effectiveLocale\":[32],\"localizedValue\":[32],\"setFocus\":[64],\"selectText\":[64]}]]],[\"calcite-input-text\",[[1,\"calcite-input-text\",{\"alignment\":[513],\"autofocus\":[516],\"clearable\":[516],\"disabled\":[516],\"hidden\":[516],\"icon\":[520],\"intlClear\":[1,\"intl-clear\"],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[516,\"read-only\"],\"required\":[516],\"scale\":[1537],\"status\":[1537],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"value\":[1025],\"setFocus\":[64],\"selectText\":[64]}]]],[\"calcite-rating\",[[1,\"calcite-rating\",{\"scale\":[513],\"value\":[1538],\"readOnly\":[516,\"read-only\"],\"disabled\":[516],\"showChip\":[516,\"show-chip\"],\"count\":[514],\"average\":[514],\"name\":[513],\"intlRating\":[1,\"intl-rating\"],\"intlStars\":[1,\"intl-stars\"],\"required\":[516],\"hoverValue\":[32],\"focusValue\":[32],\"hasFocus\":[32],\"setFocus\":[64]},[[0,\"blur\",\"blurHandler\"]]]]],[\"calcite-accordion-item\",[[1,\"calcite-accordion-item\",{\"active\":[1540],\"expanded\":[1540],\"itemTitle\":[1,\"item-title\"],\"itemSubtitle\":[1,\"item-subtitle\"],\"heading\":[1],\"description\":[1],\"icon\":[1537],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"]},[[0,\"keydown\",\"keyDownHandler\"],[16,\"calciteInternalAccordionChange\",\"updateActiveItemOnChange\"]]]]],[\"calcite-avatar\",[[1,\"calcite-avatar\",{\"scale\":[513],\"thumbnail\":[513],\"fullName\":[513,\"full-name\"],\"username\":[513],\"userId\":[513,\"user-id\"],\"thumbnailFailedToLoad\":[32]}]]],[\"calcite-pagination\",[[1,\"calcite-pagination\",{\"groupSeparator\":[516,\"group-separator\"],\"num\":[514],\"numberingSystem\":[1,\"numbering-system\"],\"start\":[1538],\"total\":[514],\"textLabelNext\":[1,\"text-label-next\"],\"textLabelPrevious\":[1,\"text-label-previous\"],\"scale\":[513],\"effectiveLocale\":[32],\"nextPage\":[64],\"previousPage\":[64]}]]],[\"calcite-stepper-item\",[[1,\"calcite-stepper-item\",{\"active\":[1540],\"selected\":[1540],\"complete\":[516],\"error\":[516],\"disabled\":[516],\"itemTitle\":[1,\"item-title\"],\"heading\":[1],\"itemSubtitle\":[1,\"item-subtitle\"],\"description\":[1],\"layout\":[1537],\"icon\":[1028],\"numbered\":[1028],\"scale\":[1537],\"effectiveLocale\":[32],\"setFocus\":[64]},[[16,\"calciteInternalStepperItemChange\",\"updateActiveItemOnChange\"]]]]],[\"calcite-accordion\",[[1,\"calcite-accordion\",{\"appearance\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconType\":[513,\"icon-type\"],\"scale\":[513],\"selectionMode\":[513,\"selection-mode\"]},[[0,\"calciteInternalAccordionItemKeyEvent\",\"calciteInternalAccordionItemKeyEvent\"],[0,\"calciteInternalAccordionItemRegister\",\"registerCalciteAccordionItem\"],[0,\"calciteInternalAccordionItemSelect\",\"updateActiveItemOnChange\"]]]]],[\"calcite-combobox-item-group\",[[1,\"calcite-combobox-item-group\",{\"ancestors\":[1040],\"label\":[1]}]]],[\"calcite-flow\",[[1,\"calcite-flow\",{\"flowDirection\":[32],\"itemCount\":[32],\"items\":[32],\"back\":[64]},[[0,\"calciteFlowItemBackClick\",\"handleItemBackClick\"],[0,\"calcitePanelBackClick\",\"handleItemBackClick\"]]]]],[\"calcite-list-item-group\",[[1,\"calcite-list-item-group\",{\"heading\":[513],\"headingLevel\":[514,\"heading-level\"]}]]],[\"calcite-option-group\",[[1,\"calcite-option-group\",{\"disabled\":[516],\"label\":[1]}]]],[\"calcite-pick-list-group\",[[1,\"calcite-pick-list-group\",{\"groupTitle\":[513,\"group-title\"],\"headingLevel\":[514,\"heading-level\"]}]]],[\"calcite-popover-manager\",[[1,\"calcite-popover-manager\",{\"selector\":[513],\"autoClose\":[516,\"auto-close\"]}]]],[\"calcite-radio-button\",[[1,\"calcite-radio-button\",{\"checked\":[1540],\"disabled\":[516],\"focused\":[1540],\"guid\":[1537],\"hidden\":[516],\"hovered\":[1540],\"label\":[1],\"name\":[513],\"required\":[516],\"scale\":[513],\"value\":[1032],\"setFocus\":[64],\"emitCheckedChange\":[64]},[[1,\"pointerenter\",\"mouseenter\"],[1,\"pointerleave\",\"mouseleave\"]]]]],[\"calcite-radio-button-group\",[[1,\"calcite-radio-button-group\",{\"disabled\":[516],\"hidden\":[516],\"layout\":[513],\"name\":[513],\"required\":[516],\"scale\":[513]},[[0,\"calciteRadioButtonChange\",\"radioButtonChangeHandler\"]]]]],[\"calcite-shell-center-row\",[[1,\"calcite-shell-center-row\",{\"detached\":[516],\"heightScale\":[513,\"height-scale\"],\"position\":[513]}]]],[\"calcite-sortable-list\",[[1,\"calcite-sortable-list\",{\"dragSelector\":[513,\"drag-selector\"],\"group\":[513],\"handleSelector\":[513,\"handle-selector\"],\"layout\":[513],\"disabled\":[516],\"loading\":[516],\"handleActivated\":[32]},[[0,\"calciteHandleNudge\",\"calciteHandleNudgeHandler\"]]]]],[\"calcite-stepper\",[[1,\"calcite-stepper\",{\"icon\":[516],\"layout\":[513],\"numbered\":[516],\"numberingSystem\":[513,\"numbering-system\"],\"scale\":[513],\"nextStep\":[64],\"prevStep\":[64],\"goToStep\":[64],\"startStep\":[64],\"endStep\":[64]},[[0,\"calciteInternalStepperItemKeyEvent\",\"calciteInternalStepperItemKeyEvent\"],[0,\"calciteInternalStepperItemRegister\",\"registerItem\"],[0,\"calciteInternalStepperItemSelect\",\"updateItem\"],[0,\"calciteInternalUserRequestedStepperItemSelect\",\"handleUserRequestedStepperItemSelect\"]]]]],[\"calcite-tile-select-group\",[[1,\"calcite-tile-select-group\",{\"disabled\":[516],\"layout\":[513]}]]],[\"calcite-tip-group\",[[1,\"calcite-tip-group\",{\"groupTitle\":[1,\"group-title\"]}]]],[\"calcite-tooltip-manager\",[[1,\"calcite-tooltip-manager\",{\"selector\":[513]}]]],[\"comment-card\",[[1,\"comment-card\"]]],[\"crowdsource-manager\",[[1,\"crowdsource-manager\"]]],[\"crowdsource-reporter\",[[1,\"crowdsource-reporter\"]]],[\"list-item\",[[1,\"list-item\"]]],[\"map-search\",[[0,\"map-search\",{\"mapView\":[16],\"searchConfiguration\":[1040],\"_searchTerm\":[32],\"_translations\":[32],\"clear\":[64]}]]],[\"store-manager\",[[0,\"store-manager\",{\"value\":[1537],\"templates\":[1040],\"authentication\":[1040]}]]],[\"deduct-calculator\",[[1,\"deduct-calculator\"]]],[\"calcite-color-picker-hex-input\",[[1,\"calcite-color-picker-hex-input\",{\"allowEmpty\":[4,\"allow-empty\"],\"intlHex\":[1,\"intl-hex\"],\"intlNoColor\":[1,\"intl-no-color\"],\"scale\":[513],\"value\":[1537],\"numberingSystem\":[1,\"numbering-system\"],\"internalColor\":[32],\"setFocus\":[64]},[[2,\"keydown\",\"onInputKeyDown\"]]]]],[\"calcite-date-picker\",[[1,\"calcite-date-picker\",{\"activeRange\":[513,\"active-range\"],\"value\":[1025],\"headingLevel\":[514,\"heading-level\"],\"valueAsDate\":[1040],\"startAsDate\":[1040],\"endAsDate\":[1040],\"minAsDate\":[1040],\"maxAsDate\":[1040],\"min\":[1537],\"max\":[1537],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"scale\":[513],\"range\":[516],\"start\":[1537],\"end\":[1537],\"proximitySelectionDisabled\":[516,\"proximity-selection-disabled\"],\"activeDate\":[32],\"activeStartDate\":[32],\"activeEndDate\":[32],\"globalAttributes\":[32],\"effectiveLocale\":[32],\"localeData\":[32],\"hoverRange\":[32]}]]],[\"calcite-tile\",[[1,\"calcite-tile\",{\"active\":[516],\"description\":[513],\"disabled\":[516],\"embed\":[516],\"focused\":[516],\"heading\":[513],\"hidden\":[516],\"href\":[513],\"icon\":[513]}]]],[\"calcite-time-picker\",[[1,\"calcite-time-picker\",{\"intlHour\":[1,\"intl-hour\"],\"intlHourDown\":[1,\"intl-hour-down\"],\"intlHourUp\":[1,\"intl-hour-up\"],\"intlMeridiem\":[1,\"intl-meridiem\"],\"intlMeridiemDown\":[1,\"intl-meridiem-down\"],\"intlMeridiemUp\":[1,\"intl-meridiem-up\"],\"intlMinute\":[1,\"intl-minute\"],\"intlMinuteDown\":[1,\"intl-minute-down\"],\"intlMinuteUp\":[1,\"intl-minute-up\"],\"intlSecond\":[1,\"intl-second\"],\"intlSecondDown\":[1,\"intl-second-down\"],\"intlSecondUp\":[1,\"intl-second-up\"],\"locale\":[1025],\"scale\":[513],\"step\":[514],\"numberingSystem\":[1,\"numbering-system\"],\"value\":[1025],\"effectiveLocale\":[32],\"hour\":[32],\"hourCycle\":[32],\"localizedHour\":[32],\"localizedHourSuffix\":[32],\"localizedMeridiem\":[32],\"localizedMinute\":[32],\"localizedMinuteSuffix\":[32],\"localizedSecond\":[32],\"localizedSecondSuffix\":[32],\"meridiem\":[32],\"minute\":[32],\"second\":[32],\"showSecond\":[32],\"setFocus\":[64]},[[0,\"blur\",\"hostBlurHandler\"],[0,\"focus\",\"hostFocusHandler\"],[0,\"keydown\",\"keyDownHandler\"]]]]],[\"calcite-handle\",[[1,\"calcite-handle\",{\"activated\":[1540],\"textTitle\":[513,\"text-title\"],\"setFocus\":[64]}]]],[\"calcite-block_2\",[[1,\"calcite-block\",{\"collapsible\":[516],\"disabled\":[516],\"dragHandle\":[516,\"drag-handle\"],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"intlCollapse\":[1,\"intl-collapse\"],\"intlExpand\":[1,\"intl-expand\"],\"intlLoading\":[1,\"intl-loading\"],\"intlOptions\":[1,\"intl-options\"],\"loading\":[516],\"open\":[1540],\"status\":[513],\"summary\":[1],\"description\":[1],\"disablePadding\":[516,\"disable-padding\"]}],[1,\"calcite-pick-list\",{\"disabled\":[516],\"filterEnabled\":[516,\"filter-enabled\"],\"filterPlaceholder\":[513,\"filter-placeholder\"],\"headingLevel\":[514,\"heading-level\"],\"loading\":[516],\"multiple\":[516],\"selectionFollowsFocus\":[516,\"selection-follows-focus\"],\"selectedValues\":[32],\"dataForFilter\":[32],\"getSelectedItems\":[64],\"setFocus\":[64]},[[0,\"calciteListItemRemove\",\"calciteListItemRemoveHandler\"],[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"],[0,\"calciteInternalListItemPropsChange\",\"calciteInternalListItemPropsChangeHandler\"],[0,\"calciteInternalListItemValueChange\",\"calciteInternalListItemValueChangeHandler\"],[0,\"focusout\",\"calciteListFocusOutHandler\"]]]]],[\"info-card_2\",[[1,\"media-card\",{\"values\":[16],\"_index\":[32],\"_translations\":[32]}],[1,\"info-card\",{\"cardTitle\":[1,\"card-title\"],\"values\":[16]}]]],[\"calcite-link\",[[1,\"calcite-link\",{\"disabled\":[516],\"download\":[520],\"href\":[513],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"rel\":[1],\"target\":[1],\"setFocus\":[64]},[[0,\"click\",\"clickHandler\"]]]]],[\"calcite-color-picker-swatch\",[[1,\"calcite-color-picker-swatch\",{\"active\":[516],\"color\":[1],\"scale\":[513]}]]],[\"calcite-dropdown\",[[1,\"calcite-dropdown\",{\"active\":[1540],\"open\":[1540],\"disableCloseOnSelect\":[516,\"disable-close-on-select\"],\"disabled\":[516],\"flipPlacements\":[16],\"maxItems\":[514,\"max-items\"],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"scale\":[513],\"selectedItems\":[1040],\"type\":[513],\"width\":[513],\"reposition\":[64]},[[9,\"pointerdown\",\"closeCalciteDropdownOnClick\"],[0,\"calciteInternalDropdownCloseRequest\",\"closeCalciteDropdownOnEvent\"],[8,\"calciteDropdownOpen\",\"closeCalciteDropdownOnOpenEvent\"],[1,\"pointerenter\",\"mouseEnterHandler\"],[1,\"pointerleave\",\"mouseLeaveHandler\"],[0,\"calciteInternalDropdownItemKeyEvent\",\"calciteInternalDropdownItemKeyEvent\"],[0,\"calciteInternalDropdownItemSelect\",\"handleItemSelect\"]]]]],[\"calcite-loader\",[[1,\"calcite-loader\",{\"active\":[516],\"inline\":[516],\"label\":[1],\"scale\":[513],\"type\":[513],\"value\":[2],\"text\":[1],\"noPadding\":[516,\"no-padding\"]}]]],[\"calcite-scrim\",[[1,\"calcite-scrim\",{\"intlLoading\":[1,\"intl-loading\"],\"loading\":[516]}]]],[\"calcite-button\",[[1,\"calcite-button\",{\"alignment\":[513],\"appearance\":[513],\"label\":[1],\"color\":[513],\"disabled\":[516],\"href\":[513],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"intlLoading\":[1,\"intl-loading\"],\"loading\":[516],\"name\":[513],\"rel\":[513],\"form\":[1],\"round\":[516],\"scale\":[513],\"splitChild\":[520,\"split-child\"],\"target\":[513],\"type\":[1537],\"width\":[513],\"hasContent\":[32],\"hasLoader\":[32],\"setFocus\":[64]}]]],[\"solution-contents_3\",[[0,\"solution-item\",{\"authentication\":[1040],\"itemId\":[1537,\"item-id\"],\"solutionVariables\":[1537,\"solution-variables\"],\"organizationVariables\":[1537,\"organization-variables\"],\"itemType\":[32],\"_translations\":[32]}],[0,\"solution-spatial-ref\",{\"defaultWkid\":[1538,\"default-wkid\"],\"locked\":[1540],\"value\":[1537],\"services\":[1040],\"loaded\":[32],\"spatialRef\":[32],\"_srSearchText\":[32],\"_translations\":[32],\"createSpatialRefDisplay\":[64],\"getSpatialRef\":[64],\"wkidToDisplay\":[64]}],[0,\"solution-contents\",{\"selectedItemId\":[1537,\"selected-item-id\"],\"templateHierarchy\":[1040]}]]],[\"calcite-modal\",[[1,\"calcite-modal\",{\"active\":[1540],\"open\":[1540],\"beforeClose\":[16],\"disableCloseButton\":[516,\"disable-close-button\"],\"disableOutsideClose\":[516,\"disable-outside-close\"],\"intlClose\":[1,\"intl-close\"],\"docked\":[516],\"disableEscape\":[516,\"disable-escape\"],\"scale\":[513],\"width\":[520],\"fullscreen\":[516],\"color\":[513],\"backgroundColor\":[513,\"background-color\"],\"noPadding\":[516,\"no-padding\"],\"hasFooter\":[32],\"isOpen\":[32],\"focusElement\":[64],\"setFocus\":[64],\"scrollContent\":[64]},[[8,\"keydown\",\"handleEscape\"]]]]],[\"calcite-dropdown-group_4\",[[1,\"edit-record-modal\",{\"open\":[1028],\"_translations\":[32]}],[1,\"calcite-split-button\",{\"appearance\":[513],\"color\":[513],\"disabled\":[516],\"active\":[1540],\"dropdownIconType\":[513,\"dropdown-icon-type\"],\"dropdownLabel\":[513,\"dropdown-label\"],\"loading\":[516],\"overlayPositioning\":[513,\"overlay-positioning\"],\"primaryIconEnd\":[513,\"primary-icon-end\"],\"primaryIconFlipRtl\":[513,\"primary-icon-flip-rtl\"],\"primaryIconStart\":[513,\"primary-icon-start\"],\"primaryLabel\":[513,\"primary-label\"],\"primaryText\":[513,\"primary-text\"],\"scale\":[513],\"width\":[513]}],[1,\"calcite-dropdown-item\",{\"active\":[1540],\"selected\":[1540],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"],\"href\":[513],\"label\":[1],\"rel\":[513],\"target\":[513],\"setFocus\":[64]},[[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"],[16,\"calciteInternalDropdownItemChange\",\"updateActiveItemOnChange\"]]],[1,\"calcite-dropdown-group\",{\"groupTitle\":[513,\"group-title\"],\"selectionMode\":[513,\"selection-mode\"],\"scale\":[513]},[[0,\"calciteInternalDropdownItemSelect\",\"updateActiveItemOnChange\"]]]]],[\"calcite-list_2\",[[1,\"calcite-list\",{\"disabled\":[516],\"headingLevel\":[514,\"heading-level\"],\"setFocus\":[64]}],[1,\"calcite-list-item\",{\"nonInteractive\":[516,\"non-interactive\"],\"description\":[1],\"disabled\":[516],\"label\":[1],\"setFocus\":[64]}]]],[\"calcite-graph\",[[1,\"calcite-graph\",{\"data\":[16],\"colorStops\":[16],\"highlightMin\":[2,\"highlight-min\"],\"highlightMax\":[2,\"highlight-max\"],\"min\":[514],\"max\":[514]}]]],[\"calcite-action-bar_2\",[[1,\"calcite-action-bar\",{\"expandDisabled\":[516,\"expand-disabled\"],\"expanded\":[1540],\"intlExpand\":[1,\"intl-expand\"],\"intlCollapse\":[1,\"intl-collapse\"],\"layout\":[513],\"overflowActionsDisabled\":[516,\"overflow-actions-disabled\"],\"position\":[513],\"scale\":[513],\"overflowActions\":[64],\"setFocus\":[64]}],[1,\"calcite-tooltip\",{\"closeOnClick\":[516,\"close-on-click\"],\"label\":[1],\"offsetDistance\":[514,\"offset-distance\"],\"offsetSkidding\":[514,\"offset-skidding\"],\"open\":[516],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"referenceElement\":[1,\"reference-element\"],\"effectiveReferenceElement\":[32],\"reposition\":[64]}]]],[\"calcite-pick-list-item\",[[1,\"calcite-pick-list-item\",{\"description\":[513],\"disabled\":[516],\"disableDeselect\":[516,\"disable-deselect\"],\"nonInteractive\":[516,\"non-interactive\"],\"icon\":[513],\"label\":[513],\"metadata\":[16],\"removable\":[516],\"selected\":[1540],\"intlRemove\":[513,\"intl-remove\"],\"value\":[8],\"toggleSelected\":[64],\"setFocus\":[64]}]]],[\"calcite-switch\",[[1,\"calcite-switch\",{\"disabled\":[516],\"label\":[1],\"name\":[513],\"scale\":[513],\"switched\":[1540],\"checked\":[1540],\"value\":[8],\"setFocus\":[64]}]]],[\"calcite-action-menu_2\",[[1,\"calcite-action-menu\",{\"expanded\":[516],\"flipPlacements\":[16],\"label\":[1],\"open\":[1540],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"scale\":[513],\"menuButtonEl\":[32],\"activeMenuItemIndex\":[32],\"setFocus\":[64]},[[9,\"pointerdown\",\"closeCalciteActionMenuOnClick\"]]],[1,\"calcite-popover\",{\"autoClose\":[516,\"auto-close\"],\"closeButton\":[516,\"close-button\"],\"dismissible\":[1540],\"closable\":[1540],\"disableFlip\":[516,\"disable-flip\"],\"disablePointer\":[516,\"disable-pointer\"],\"flipPlacements\":[16],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"label\":[1],\"offsetDistance\":[514,\"offset-distance\"],\"offsetSkidding\":[514,\"offset-skidding\"],\"open\":[1540],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"referenceElement\":[1,\"reference-element\"],\"triggerDisabled\":[516,\"trigger-disabled\"],\"intlClose\":[1,\"intl-close\"],\"effectiveReferenceElement\":[32],\"reposition\":[64],\"setFocus\":[64],\"toggle\":[64]}]]],[\"calcite-action-group\",[[1,\"calcite-action-group\",{\"expanded\":[516],\"layout\":[513],\"columns\":[514],\"intlMore\":[1,\"intl-more\"],\"menuOpen\":[1540,\"menu-open\"],\"scale\":[513]}]]],[\"calcite-date-picker-day_3\",[[1,\"calcite-date-picker-month\",{\"selectedDate\":[16],\"activeDate\":[16],\"startDate\":[16],\"endDate\":[16],\"min\":[16],\"max\":[16],\"scale\":[513],\"localeData\":[16],\"hoverRange\":[16]},[[1,\"pointerout\",\"mouseoutHandler\"]]],[1,\"calcite-date-picker-month-header\",{\"selectedDate\":[16],\"activeDate\":[16],\"headingLevel\":[2,\"heading-level\"],\"min\":[16],\"max\":[16],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"scale\":[513],\"localeData\":[16],\"globalAttributes\":[32],\"nextMonthDate\":[32],\"prevMonthDate\":[32]}],[1,\"calcite-date-picker-day\",{\"day\":[2],\"disabled\":[516],\"currentMonth\":[516,\"current-month\"],\"selected\":[516],\"highlighted\":[516],\"range\":[516],\"startOfRange\":[516,\"start-of-range\"],\"endOfRange\":[516,\"end-of-range\"],\"rangeHover\":[516,\"range-hover\"],\"active\":[516],\"scale\":[513],\"value\":[16]},[[1,\"pointerover\",\"mouseoverHandler\"]]]]],[\"calcite-panel_2\",[[1,\"calcite-shell\",{\"contentBehind\":[516,\"content-behind\"]}],[1,\"calcite-panel\",{\"dismissed\":[1540],\"closed\":[1540],\"beforeBack\":[16],\"disabled\":[516],\"dismissible\":[1540],\"closable\":[1540],\"headingLevel\":[514,\"heading-level\"],\"showBackButton\":[516,\"show-back-button\"],\"intlBack\":[1,\"intl-back\"],\"heightScale\":[513,\"height-scale\"],\"widthScale\":[513,\"width-scale\"],\"loading\":[516],\"intlClose\":[1,\"intl-close\"],\"intlOptions\":[1,\"intl-options\"],\"heading\":[1],\"summary\":[1],\"description\":[1],\"menuOpen\":[516,\"menu-open\"],\"hasStartActions\":[32],\"hasEndActions\":[32],\"hasMenuItems\":[32],\"hasHeaderContent\":[32],\"hasFooterContent\":[32],\"hasFooterActions\":[32],\"hasFab\":[32],\"setFocus\":[64],\"scrollContentTo\":[64]}]]],[\"calcite-chip\",[[1,\"calcite-chip\",{\"appearance\":[513],\"color\":[513],\"dismissible\":[1540],\"closable\":[1540],\"dismissLabel\":[1,\"dismiss-label\"],\"icon\":[513],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"scale\":[513],\"value\":[8],\"closed\":[1540],\"setFocus\":[64]}]]],[\"calcite-checkbox\",[[1,\"calcite-checkbox\",{\"checked\":[1540],\"disabled\":[516],\"guid\":[1537],\"hovered\":[1540],\"indeterminate\":[1540],\"label\":[1],\"name\":[520],\"required\":[516],\"scale\":[513],\"value\":[8],\"setFocus\":[64]}]]],[\"calcite-option_2\",[[1,\"calcite-select\",{\"disabled\":[516],\"label\":[1],\"name\":[513],\"required\":[516],\"scale\":[513],\"value\":[1025],\"selectedOption\":[1040],\"width\":[513],\"setFocus\":[64]},[[0,\"calciteInternalOptionChange\",\"handleOptionOrGroupChange\"],[0,\"calciteInternalOptionGroupChange\",\"handleOptionOrGroupChange\"]]],[1,\"calcite-option\",{\"disabled\":[516],\"label\":[1025],\"selected\":[516],\"value\":[1032]}]]],[\"calcite-combobox_3\",[[0,\"map-layer-picker\",{\"enabledLayerIds\":[16],\"mapView\":[16],\"selectedLayerIds\":[1040],\"selectionMode\":[1537,\"selection-mode\"],\"layerIds\":[32]}],[1,\"calcite-combobox\",{\"active\":[1540],\"open\":[1540],\"disabled\":[516],\"label\":[1],\"placeholder\":[1],\"placeholderIcon\":[513,\"placeholder-icon\"],\"maxItems\":[514,\"max-items\"],\"name\":[513],\"allowCustomValues\":[516,\"allow-custom-values\"],\"overlayPositioning\":[513,\"overlay-positioning\"],\"required\":[516],\"selectionMode\":[513,\"selection-mode\"],\"scale\":[513],\"value\":[1025],\"intlRemoveTag\":[1,\"intl-remove-tag\"],\"flipPlacements\":[16],\"items\":[32],\"groupItems\":[32],\"selectedItems\":[32],\"visibleItems\":[32],\"needsIcon\":[32],\"activeItemIndex\":[32],\"activeChipIndex\":[32],\"activeDescendant\":[32],\"text\":[32],\"reposition\":[64],\"setFocus\":[64]},[[5,\"pointerdown\",\"documentClickHandler\"],[0,\"calciteComboboxItemChange\",\"calciteComboboxItemChangeHandler\"]]],[1,\"calcite-combobox-item\",{\"disabled\":[516],\"selected\":[1540],\"active\":[516],\"ancestors\":[1040],\"guid\":[513],\"icon\":[513],\"textLabel\":[513,\"text-label\"],\"value\":[8],\"constant\":[516],\"filterDisabled\":[516,\"filter-disabled\"],\"toggleSelected\":[64]}]]],[\"calcite-action\",[[1,\"calcite-action\",{\"active\":[516],\"alignment\":[513],\"appearance\":[513],\"compact\":[516],\"disabled\":[516],\"icon\":[1],\"indicator\":[516],\"intlLoading\":[1,\"intl-loading\"],\"label\":[1],\"loading\":[516],\"scale\":[513],\"text\":[1],\"textEnabled\":[516,\"text-enabled\"],\"setFocus\":[64]}]]],[\"calcite-input_2\",[[1,\"calcite-input\",{\"alignment\":[513],\"autofocus\":[516],\"clearable\":[516],\"disabled\":[516],\"groupSeparator\":[516,\"group-separator\"],\"hidden\":[516],\"icon\":[520],\"intlClear\":[1,\"intl-clear\"],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"localeFormat\":[4,\"locale-format\"],\"max\":[514],\"min\":[514],\"maxlength\":[514],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"numberButtonType\":[513,\"number-button-type\"],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[516,\"read-only\"],\"required\":[516],\"scale\":[1537],\"status\":[1537],\"step\":[520],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"type\":[513],\"value\":[1025],\"effectiveLocale\":[32],\"localizedValue\":[32],\"setFocus\":[64],\"selectText\":[64]}],[1,\"calcite-progress\",{\"type\":[513],\"value\":[2],\"label\":[1],\"text\":[1],\"reversed\":[516]}]]],[\"buffer-tools_6\",[[1,\"buffer-tools\",{\"appearance\":[1025],\"distance\":[1026],\"geometries\":[1040],\"max\":[1026],\"min\":[1026],\"sliderTicks\":[1026,\"slider-ticks\"],\"unionResults\":[1028,\"union-results\"],\"unit\":[1025],\"_translations\":[32]}],[0,\"map-draw-tools\",{\"active\":[4],\"border\":[4],\"mapView\":[1040],\"pointSymbol\":[1040],\"polylineSymbol\":[1040],\"polygonSymbol\":[1040],\"graphics\":[1040],\"_translations\":[32],\"clear\":[64]}],[1,\"refine-selection-tools\",{\"active\":[4],\"border\":[4],\"enabledLayerIds\":[16],\"graphics\":[1040],\"ids\":[16],\"layerView\":[16],\"layerViews\":[16],\"mapView\":[16],\"mode\":[1],\"refineMode\":[1,\"refine-mode\"],\"refineSelectionSet\":[1040],\"useLayerPicker\":[4,\"use-layer-picker\"],\"_selectEnabled\":[32],\"_selectionMode\":[32],\"_translations\":[32],\"reset\":[64],\"clearHighlight\":[64]}],[1,\"calcite-radio-group-item\",{\"checked\":[1540],\"icon\":[513],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"iconPosition\":[513,\"icon-position\"],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"],\"value\":[1032]}],[1,\"calcite-slider\",{\"disabled\":[516],\"groupSeparator\":[516,\"group-separator\"],\"hasHistogram\":[1540,\"has-histogram\"],\"histogram\":[16],\"histogramStops\":[16],\"labelHandles\":[516,\"label-handles\"],\"labelTicks\":[516,\"label-ticks\"],\"max\":[514],\"maxLabel\":[1,\"max-label\"],\"maxValue\":[1026,\"max-value\"],\"min\":[514],\"minLabel\":[1,\"min-label\"],\"minValue\":[1026,\"min-value\"],\"mirrored\":[516],\"name\":[513],\"numberingSystem\":[1,\"numbering-system\"],\"pageStep\":[514,\"page-step\"],\"precise\":[516],\"required\":[516],\"snap\":[516],\"step\":[514],\"ticks\":[514],\"value\":[1538],\"scale\":[513],\"effectiveLocale\":[32],\"minMaxValueRange\":[32],\"minValueDragRange\":[32],\"maxValueDragRange\":[32],\"tickValues\":[32],\"setFocus\":[64]},[[0,\"keydown\",\"keyDownHandler\"],[1,\"pointerdown\",\"pointerDownHandler\"]]],[1,\"calcite-radio-group\",{\"appearance\":[513],\"disabled\":[516],\"required\":[516],\"layout\":[513],\"name\":[513],\"scale\":[513],\"value\":[1025],\"selectedItem\":[1040],\"width\":[513],\"setFocus\":[64]},[[0,\"calciteInternalRadioGroupItemChange\",\"handleSelected\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"calcite-label\",[[1,\"calcite-label\",{\"alignment\":[513],\"status\":[513],\"for\":[513],\"scale\":[513],\"layout\":[513],\"disabled\":[516],\"disableSpacing\":[516,\"disable-spacing\"]}]]],[\"calcite-input-message_5\",[[4,\"map-select-tools\",{\"bufferColor\":[8,\"buffer-color\"],\"bufferOutlineColor\":[8,\"buffer-outline-color\"],\"enabledLayerIds\":[16],\"defaultBufferDistance\":[2,\"default-buffer-distance\"],\"defaultBufferUnit\":[1,\"default-buffer-unit\"],\"geometries\":[16],\"isUpdate\":[4,\"is-update\"],\"mapView\":[16],\"searchConfiguration\":[1040],\"selectionSet\":[16],\"selectLayerView\":[16],\"showBufferTools\":[4,\"show-buffer-tools\"],\"_layerSelectChecked\":[32],\"_searchTerm\":[32],\"_translations\":[32],\"_workflowType\":[32],\"clearSelection\":[64],\"getSelection\":[64]},[[8,\"labelChange\",\"labelChange\"],[8,\"searchConfigurationChange\",\"searchConfigurationChangeChanged\"],[8,\"sketchGraphicsChange\",\"sketchGraphicsChange\"],[8,\"refineSelectionGraphicsChange\",\"refineSelectionGraphicsChange\"]]],[0,\"refine-selection\",{\"addresseeLayer\":[16],\"enabledLayerIds\":[16],\"mapView\":[16],\"selectionSets\":[1040],\"GraphicsLayer\":[8,\"graphics-layer\"],\"SketchViewModel\":[8,\"sketch-view-model\"],\"_translations\":[32]},[[8,\"refineSelectionIdsChange\",\"refineSelectionIdsChange\"]]],[1,\"pdf-download\",{\"disabled\":[4],\"layerView\":[16],\"_translations\":[32],\"downloadCSV\":[64],\"downloadPDF\":[64]}],[1,\"calcite-input-message\",{\"active\":[516],\"icon\":[520],\"scale\":[1537],\"status\":[1537],\"type\":[513]}],[1,\"calcite-notice\",{\"active\":[1540],\"open\":[1540],\"color\":[513],\"dismissible\":[516],\"closable\":[516],\"icon\":[520],\"intlClose\":[1,\"intl-close\"],\"scale\":[513],\"width\":[513],\"setFocus\":[64]}]]],[\"calcite-tree_3\",[[0,\"solution-item-icon\",{\"isPortal\":[4,\"is-portal\"],\"type\":[1],\"typeKeywords\":[16]}],[1,\"calcite-tree-item\",{\"disabled\":[516],\"selected\":[1540],\"expanded\":[1540],\"parentExpanded\":[4,\"parent-expanded\"],\"depth\":[1538],\"hasChildren\":[1540,\"has-children\"],\"lines\":[1540],\"inputEnabled\":[4,\"input-enabled\"],\"scale\":[1537],\"indeterminate\":[516],\"selectionMode\":[1537,\"selection-mode\"]},[[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]],[1,\"calcite-tree\",{\"lines\":[1540],\"inputEnabled\":[4,\"input-enabled\"],\"child\":[1540],\"scale\":[1537],\"selectionMode\":[1537,\"selection-mode\"]},[[0,\"focus\",\"onFocus\"],[0,\"focusin\",\"onFocusIn\"],[0,\"focusout\",\"onFocusOut\"],[0,\"calciteInternalTreeItemSelect\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]]]],[\"calcite-shell-panel_14\",[[0,\"solution-template-data\",{\"instanceid\":[1537],\"itemId\":[1537,\"item-id\"],\"organizationVariables\":[1537,\"organization-variables\"],\"solutionVariables\":[1537,\"solution-variables\"],\"varsOpen\":[1540,\"vars-open\"],\"_translations\":[32],\"value\":[32]}],[1,\"solution-resource-item\",{\"authentication\":[1040],\"itemId\":[1537,\"item-id\"],\"resourceFilePaths\":[32],\"resources\":[32],\"_translations\":[32]}],[0,\"solution-item-details\",{\"itemId\":[1537,\"item-id\"],\"itemDetails\":[32],\"itemEdit\":[32],\"_translations\":[32],\"thumbnail\":[32],\"thumbnailContainer\":[32]},[[0,\"calciteInputInput\",\"inputReceivedHandler\"]]],[1,\"solution-item-sharing\",{\"groupId\":[1537,\"group-id\"],\"_translations\":[32],\"sharing\":[32],\"getShareInfo\":[64]}],[1,\"solution-variables\",{\"value\":[1537],\"_solutionVariables\":[32],\"_translations\":[32]}],[1,\"calcite-value-list-item\",{\"description\":[513],\"disabled\":[516],\"disableDeselect\":[4,\"disable-deselect\"],\"nonInteractive\":[516,\"non-interactive\"],\"handleActivated\":[1028,\"handle-activated\"],\"icon\":[513],\"label\":[513],\"metadata\":[16],\"removable\":[516],\"selected\":[1540],\"value\":[8],\"toggleSelected\":[64],\"setFocus\":[64]},[[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"]]],[1,\"solution-organization-variables\",{\"value\":[1537],\"_organizationVariables\":[32],\"_translations\":[32]}],[0,\"json-editor\",{\"hasChanges\":[1540,\"has-changes\"],\"hasErrors\":[1540,\"has-errors\"],\"instanceid\":[1544],\"value\":[1544],\"getEditorContents\":[64],\"prepareForDeletion\":[64],\"replaceCurrentSelection\":[64],\"reset\":[64]}],[1,\"calcite-tab-title\",{\"active\":[1540],\"selected\":[1540],\"disabled\":[516],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"layout\":[1537],\"position\":[1537],\"scale\":[1537],\"bordered\":[1540],\"tab\":[513],\"controls\":[32],\"hasText\":[32],\"getTabIndex\":[64],\"getTabIdentifier\":[64],\"updateAriaInfo\":[64]},[[16,\"calciteInternalTabChange\",\"internalTabChangeHandler\"],[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]],[1,\"calcite-shell-panel\",{\"collapsed\":[516],\"detached\":[516],\"detachedHeightScale\":[513,\"detached-height-scale\"],\"widthScale\":[513,\"width-scale\"],\"position\":[513],\"intlResize\":[1,\"intl-resize\"],\"resizable\":[516],\"contentWidth\":[32]}],[1,\"calcite-tab\",{\"tab\":[513],\"active\":[1540],\"selected\":[1540],\"scale\":[1537],\"labeledBy\":[32],\"getTabIndex\":[64],\"updateAriaInfo\":[64]},[[16,\"calciteInternalTabChange\",\"internalTabChangeHandler\"]]],[1,\"calcite-tab-nav\",{\"storageId\":[513,\"storage-id\"],\"syncId\":[513,\"sync-id\"],\"scale\":[1537],\"layout\":[1537],\"position\":[1537],\"bordered\":[1540],\"indicatorOffset\":[1026,\"indicator-offset\"],\"indicatorWidth\":[1026,\"indicator-width\"],\"selectedTab\":[32],\"selectedTabEl\":[32]},[[0,\"calciteInternalTabsFocusPrevious\",\"focusPreviousTabHandler\"],[0,\"calciteInternalTabsFocusNext\",\"focusNextTabHandler\"],[0,\"calciteInternalTabsActivate\",\"internalActivateTabHandler\"],[0,\"calciteTabsActivate\",\"activateTabHandler\"],[0,\"calciteInternalTabTitleRegister\",\"updateTabTitles\"],[16,\"calciteInternalTabChange\",\"globalInternalTabChangeHandler\"],[0,\"calciteInternalTabIconChanged\",\"iconStartChangeHandler\"]]],[1,\"calcite-tabs\",{\"layout\":[513],\"position\":[513],\"scale\":[513],\"bordered\":[1540],\"titles\":[32],\"tabs\":[32]},[[0,\"calciteInternalTabTitleRegister\",\"calciteInternalTabTitleRegister\"],[16,\"calciteTabTitleUnregister\",\"calciteTabTitleUnregister\"],[0,\"calciteInternalTabRegister\",\"calciteInternalTabRegister\"],[16,\"calciteTabUnregister\",\"calciteTabUnregister\"]]],[1,\"calcite-value-list\",{\"disabled\":[516],\"dragEnabled\":[516,\"drag-enabled\"],\"filterEnabled\":[516,\"filter-enabled\"],\"filterPlaceholder\":[513,\"filter-placeholder\"],\"group\":[513],\"loading\":[516],\"multiple\":[516],\"selectionFollowsFocus\":[516,\"selection-follows-focus\"],\"intlDragHandleIdle\":[1,\"intl-drag-handle-idle\"],\"intlDragHandleActive\":[1,\"intl-drag-handle-active\"],\"intlDragHandleChange\":[1,\"intl-drag-handle-change\"],\"intlDragHandleCommit\":[1,\"intl-drag-handle-commit\"],\"selectedValues\":[32],\"dataForFilter\":[32],\"getSelectedItems\":[64],\"setFocus\":[64]},[[0,\"focusout\",\"calciteListFocusOutHandler\"],[0,\"calciteListItemRemove\",\"calciteListItemRemoveHandler\"],[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"],[0,\"calciteInternalListItemPropsChange\",\"calciteInternalListItemPropsChangeHandler\"],[0,\"calciteInternalListItemValueChange\",\"calciteInternalListItemValueChangeHandler\"]]]]]]"), options);
26
26
  });
@@ -76,6 +76,6 @@
76
76
 
77
77
  <body>
78
78
  <div id="viewDiv"></div>
79
- <buffer-tools id="demo" class="over-map column" distance="10" unit="miles"></map-search>
79
+ <buffer-tools id="demo" class="over-map column" distance="10" unit="miles"></buffer-tools>
80
80
  </body>
81
81
  </html>
@@ -33,4 +33,4 @@ import{E as t}from"./p-dbc9a5a8.js";
33
33
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34
34
  * See the License for the specific language governing permissions and
35
35
  * limitations under the License.
36
- */(t,n)));return(await Promise.all(e)).forEach((t=>{a=[...a,...t||[]]})),a}async function e(t,n){const a=n.createQuery();return a.outFields=["*"],a.objectIds=t,n.queryFeatures(a)}async function r(t,n,a,e){const s=n.capabilities.query.maxRecordCount,o={start:t,num:s,outFields:["*"],returnGeometry:!0,geometry:a},c=await n.queryFeatures(o);return e[n.id]=e[n.id].concat(c.features),c.exceededTransferLimit?r(t+=s,n,a,e):Promise.resolve(e)}function s(t,n){return[...c(t,"polygon",n),...c(t,"polyline",n),...c(t,"point",n)]}function o(n,e){let r=Promise.resolve([]);return n.workflowType!==t.REFINE&&(r=a(n.buffer?[n.buffer]:s(n.geometries,e),n.layerView.layer)),r}function c(t,n,a){const e=t.filter((t=>t.type===n));return e.length<=1?e:[a.union(e)]}async function i(t){let n={};return await t.when((()=>{n=t.map.allLayers.toArray().reduce(((t,n)=>("feature"===n.type&&(t[n.id]=n.title),t)),{})})),n}async function u(t){let n=[];return await t.when((()=>{n=t.map.allLayers.toArray().reduce(((t,n)=>("feature"===n.type&&t.push(n.id),t)),[])})),n}async function f(t,n){const a=await async function(t,n){let a=[];return await t.when((()=>{a=t.map.allLayers.toArray().filter((t=>t.id===n))})),a.length>0?a[0]:void 0}(t,n);return a?await t.whenLayerView(a):void 0}async function y(t,n,a,e=!1){return e&&await w(t,n,a,!1),n.highlight(t)}async function w(t,n,a,e=!0,r){const s=await async function(t,n){const a=n.createQuery();return a.objectIds=t,n.queryExtent(a)}(t,n.layer);await a.goTo(s.extent),e&&await async function(t,n,a){const e={objectIds:t};n.featureEffect=Object.assign(Object.assign({},a),{filter:e}),setTimeout((()=>{n.featureEffect=void 0}),1300)}(t,n,r)}export{f as a,n as b,o as c,a as d,s as e,r as f,w as g,y as h,u as i,i as j,e as q}
36
+ */(t,n)));return(await Promise.all(e)).forEach((t=>{a=[...a,...t||[]]})),a}async function e(t,n){const a=n.createQuery();return a.outFields=["*"],a.objectIds=t,n.queryFeatures(a)}async function r(t,n,a,e){const s=n.capabilities.query.maxRecordCount,o={start:t,num:s,outFields:["*"],returnGeometry:!0,geometry:a},c=await n.queryFeatures(o);return e[n.id]=e[n.id].concat(c.features),c.exceededTransferLimit?r(t+=s,n,a,e):Promise.resolve(e)}function s(t,n){return[...c(t,"polygon",n),...c(t,"polyline",n),...c(t,"point",n)]}function o(n,e){let r=Promise.resolve([]);return n.workflowType!==t.REFINE&&(r=a(n.buffer?[n.buffer]:s(n.geometries,e),n.layerView.layer)),r}function c(t,n,a){const e=t.filter((t=>t.type===n));return e.length<=1?e:[a.union(e)]}async function i(t){let n={};return await t.when((()=>{n=t.map.allLayers.toArray().reduce(((t,n)=>("feature"===n.type&&(t[n.id]=n.title),t)),{})})),n}async function u(t){let n=[];return await t.when((()=>{n=t.map.allLayers.toArray().reduce(((t,n)=>("feature"===n.type&&t.push(n.id),t)),[])})),n}async function f(t,n){const a=await async function(t,n){let a=[];return await t.when((()=>{a=t.map.allLayers.toArray().filter((t=>t.id===n))})),a.length>0?a[0]:void 0}(t,n);return a?await t.whenLayerView(a):void 0}async function y(t,n,a,e=!1){return e&&await w(t,n,a,!1),n.highlight(t)}async function w(t,n,a,e=!0,r){const s=await async function(t,n){const a=n.createQuery();return a.objectIds=t,n.queryExtent(a)}(t,n.layer);await a.goTo(s.extent),e&&await async function(t,n,a){const e={objectIds:t};n.featureEffect=Object.assign(Object.assign({},a),{filter:e}),setTimeout((()=>{n.featureEffect=void 0}),1300)}(t,n,r)}export{f as a,e as b,o as c,a as d,s as e,r as f,w as g,y as h,u as i,i as j,n as q}
@@ -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 i,c as t,h as e,H as s,g as a}from"./p-c2f00d41.js";import{f as n}from"./p-d48a24e6.js";import{d as o,f as c,c as l,u as r,r as h,a as d,F as m}from"./p-a9cefd9c.js";import{g as p}from"./p-a80b3880.js";import{T as u,C as b,b as g,c as f,h as v,d as x,e as y,g as w,a as k}from"./p-a5b1ab03.js";import{c as C,d as z,g as I}from"./p-bd67334c.js";import{s as $,c as H,a as _,d as D,H as j}from"./p-a33d73bb.js";import{c as L}from"./p-9a9955db.js";import{u as A}from"./p-7daea1df.js";import{i as E,t as S,g as P,a as F}from"./p-83166522.js";import{c as T,d as B}from"./p-2e9ed892.js";import{d as M}from"./p-4e32bf8c.js";import{c as O,d as R}from"./p-1c247f54.js";import{i as W,j as U}from"./p-cc2e20c8.js";import{s as V}from"./p-4557d5a8.js";import"./p-729708a3.js";import"./p-dbc9a5a8.js";import"./p-00444009.js";const X="combobox-item-",Y="combobox-chip-",G="combobox-label-",K="combobox-listbox-",N="combobox-input-",q=class{constructor(e){i(this,e),this.calciteLookupChange=t(this,"calciteLookupChange",6),this.calciteComboboxChange=t(this,"calciteComboboxChange",6),this.calciteComboboxFilterChange=t(this,"calciteComboboxFilterChange",6),this.calciteComboboxChipDismiss=t(this,"calciteComboboxChipDismiss",6),this.calciteComboboxBeforeClose=t(this,"calciteComboboxBeforeClose",6),this.calciteComboboxClose=t(this,"calciteComboboxClose",6),this.calciteComboboxBeforeOpen=t(this,"calciteComboboxBeforeOpen",6),this.calciteComboboxOpen=t(this,"calciteComboboxOpen",6),this.active=!1,this.open=!1,this.disabled=!1,this.maxItems=0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multi",this.scale="m",this.value=null,this.intlRemoveTag=u.removeTag,this.placement=o,this.internalValueChangeFlag=!1,this.items=[],this.groupItems=[],this.selectedItems=[],this.visibleItems=[],this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.text="",this.textInput=null,this.mutationObserver=L("mutation",(()=>this.updateItems())),this.resizeObserver=L("resize",(()=>this.setMaxScrollerHeight())),this.guid=p(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:i,flipPlacements:t}=this;this.filteredFlipPlacements=t?c(t,i):null},this.getValue=()=>{const i=this.selectedItems.map((i=>{var t;return null===(t=null==i?void 0:i.value)||void 0===t?void 0:t.toString()}));return(null==i?void 0:i.length)?i.length>1?i:i[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keydownHandler=i=>{const{key:t}=i;switch(t){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):this.open&&(this.open=!1,i.preventDefault());break;case"ArrowLeft":this.previousChip(),i.preventDefault();break;case"ArrowRight":this.nextChip(),i.preventDefault();break;case"ArrowUp":i.preventDefault(),this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView();break;case"ArrowDown":i.preventDefault(),this.open||(this.open=!0),this.shiftActiveItemIndex(1),this.comboboxInViewport()||this.el.scrollIntoView();break;case" ":this.textInput.value||(i.preventDefault(),this.open=!0,this.shiftActiveItemIndex(1));break;case"Home":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(this.visibleItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.open=!1,i.preventDefault();break;case"Enter":this.activeItemIndex>-1?(this.toggleSelection(this.visibleItems[this.activeItemIndex]),i.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),i.preventDefault()):this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):i.defaultPrevented||$(this)&&i.preventDefault();break;case"Delete":case"Backspace":this.activeChipIndex>-1?(i.preventDefault(),this.removeActiveChip()):!this.text&&this.isMulti()&&(i.preventDefault(),this.removeLastChip())}},this.toggleCloseEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.setMaxScrollerHeight=async()=>{const{listContainerEl:i,open:t,referenceEl:e}=this;if(!i||!t)return;await this.reposition(!0);const s=this.getMaxScrollerHeight();i.style.maxHeight=s>0?`${s}px`:"",i.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipDismissHandler=(i,t)=>{this.open=!1;const e=this.items.find((i=>i===t));e&&this.toggleSelection(e,!1),this.calciteComboboxChipDismiss.emit(i.detail)},this.clickHandler=i=>{i.composedPath().some((i=>"CALCITE-CHIP"===i.tagName))||(this.open=!this.open,this.updateActiveItemIndex(0),this.setFocus())},this.setInactiveIfNotContained=i=>{const t=i.composedPath();!this.open||t.includes(this.el)||t.includes(this.referenceEl)||(this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),"single"===this.selectionMode&&(this.textInput&&(this.textInput.value=""),this.text="",this.filterItems(""),this.updateActiveItemIndex(-1)),this.open=!1)},this.setFloatingEl=i=>{this.floatingEl=i,l(this,this.referenceEl,this.floatingEl)},this.setContainerEl=i=>{this.resizeObserver.observe(i),this.listContainerEl=i,this.transitionEl=i,T(this)},this.setReferenceEl=i=>{this.referenceEl=i,l(this,this.referenceEl,this.floatingEl)},this.inputHandler=i=>{const t=i.target.value;this.text=t,this.filterItems(t),t&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const i=(i,t)=>i&&t.some((({label:t,value:e})=>i.tagName===y?e===i.label:e===i.textLabel||e===i.value||t===i.textLabel||t===i.value));return M((t=>{const e=n(this.data,t);this.getCombinedItems().forEach((t=>{const s=!i(t,e);t.hidden=s;const[a,n]=t.ancestors;(i(a,e)||i(n,e))&&(t.hidden=!1),s||t.ancestors.forEach((i=>i.hidden=!1))})),this.visibleItems=this.getVisibleItems(),this.calciteComboboxFilterChange.emit({visibleItems:[...this.visibleItems],text:t})}),100)})(),this.internalCalciteLookupChangeEvent=()=>{this.calciteLookupChange.emit(this.selectedItems)},this.emitCalciteLookupChange=M(this.internalCalciteLookupChangeEvent,0),this.internalComboboxChangeEvent=()=>{const{selectedItems:i}=this;this.calciteComboboxChange.emit({selectedItems:i})},this.emitComboboxChange=M(this.internalComboboxChangeEvent,0),this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.visibleItems=this.getVisibleItems(),this.needsIcon=this.getNeedsIcon(),this.allowCustomValues||this.setMaxScrollerHeight()},this.scrollToActiveItem=()=>{const i=this.visibleItems[this.activeItemIndex],t=this.calculateSingleItemHeight(i),{offsetHeight:e,scrollTop:s}=this.listContainerEl;e+s<i.offsetTop+t?this.listContainerEl.scrollTop=i.offsetTop-e+t:i.offsetTop<s&&(this.listContainerEl.scrollTop=i.offsetTop)},this.comboboxFocusHandler=()=>{var i;null===(i=this.textInput)||void 0===i||i.focus()},this.comboboxBlurHandler=i=>{this.setInactiveIfNotContained(i)}}activeHandler(i){if(this.disabled)return this.active=!1,void(this.open=!1);this.open=i}openHandler(i){if(i||r(this.floatingEl),this.disabled)return this.active=!1,void(this.open=!1);this.active=i,this.setMaxScrollerHeight()}handleDisabledChange(i){i||(this.active=!1,this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}valueHandler(i){if(!this.internalValueChangeFlag){const t=this.getItems();Array.isArray(i)?t.forEach((t=>t.selected=i.includes(t.value))):t.forEach(i?t=>t.selected=i===t.value:i=>i.selected=!1),this.updateItems()}}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}documentClickHandler(i){E(i)&&this.setInactiveIfNotContained(i)}calciteComboboxItemChangeHandler(i){if(this.ignoreSelectedEventsFlag)return;const t=i.target,e=this.visibleItems.indexOf(t);this.updateActiveItemIndex(e),this.toggleSelection(t,t.selected)}async reposition(i=!1){const{floatingEl:t,referenceEl:e,placement:s,overlayPositioning:a,filteredFlipPlacements:n}=this;return h(this,{floatingEl:t,referenceEl:e,overlayPositioning:a,placement:s,flipPlacements:n,type:"menu"},i)}async setFocus(){var i;null===(i=this.textInput)||void 0===i||i.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){var i;this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0,subtree:!0}),C(this),H(this),T(this),this.setFilteredPlacements(),this.reposition(!0),this.active&&this.activeHandler(this.active),this.open&&this.openHandler(this.open)}componentWillLoad(){this.updateItems()}componentDidLoad(){_(this,this.getValue()),this.reposition(!0)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),A(this)}disconnectedCallback(){var i,t;null===(i=this.mutationObserver)||void 0===i||i.disconnect(),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),z(this),D(this),d(this,this.referenceEl,this.floatingEl),B(this)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}textHandler(){this.updateActiveItemIndex(-1)}comboboxInViewport(){const i=this.el.getBoundingClientRect();return i.top>=0&&i.left>=0&&i.right<=(window.innerWidth||document.documentElement.clientWidth)&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}getMaxScrollerHeight(){const i=this.getCombinedItems().filter((i=>!i.hidden)),{maxItems:t}=this;let e=0,s=0;return i.length>t&&i.forEach((i=>{if(e<t&&t>0){const t=this.calculateSingleItemHeight(i);t>0&&(s+=t,e++)}})),s}calculateSingleItemHeight(i){let t=i.offsetHeight;return Array.from(i.querySelectorAll(b)).map((i=>null==i?void 0:i.offsetHeight)).forEach((i=>{t-=i})),t}getCombinedItems(){return[...this.groupItems,...this.items]}toggleSelection(i,t=!i.selected){i&&(this.isMulti()?(i.selected=t,this.updateAncestors(i),this.selectedItems=this.getSelectedItems(),this.emitCalciteLookupChange(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===i&&t)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=i.textLabel),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(i){if("ancestors"!==this.selectionMode)return;const t=g(i),e=f(i);i.selected?t.forEach((i=>{i.selected=!0})):(e.forEach((i=>i.selected=!1)),[...t].forEach((i=>{v(i)||(i.selected=!1)})))}getVisibleItems(){return this.items.filter((i=>!i.hidden))}getSelectedItems(){if(!this.isMulti()){const i=this.items.find((({selected:i})=>i));return i?[i]:[]}return this.items.filter((i=>i.selected&&("ancestors"!==this.selectionMode||!v(i)))).sort(((i,t)=>{const e=this.selectedItems.indexOf(i),s=this.selectedItems.indexOf(t);return e>-1&&s>-1?e-s:s-e}))}getData(){return this.items.map((i=>({constant:i.constant,filterDisabled:i.filterDisabled,value:i.value,label:i.textLabel})))}getNeedsIcon(){return"single"===this.selectionMode&&this.items.some((i=>i.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll(x)).filter((i=>!i.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(y))}addCustomChip(i,t){const e=this.items.find((t=>t.textLabel===i));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement(x);e.value=i,e.textLabel=i,e.selected=!0,this.el.appendChild(e),this.resetText(),t&&this.setFocus(),this.updateItems(),this.filterItems(""),this.emitCalciteLookupChange(),this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){if(this.text)return;const i=this.activeChipIndex;this.activeChipIndex=-1===i?this.selectedItems.length-1:Math.max(i-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const i=this.activeChipIndex+1;i>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=i,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){var i;const t=null===(i=this.selectedItems[this.activeChipIndex])||void 0===i?void 0:i.guid,e=t?this.referenceEl.querySelector(`#${Y}${t}`):null;null==e||e.setFocus()}shiftActiveItemIndex(i){const{length:t}=this.visibleItems;this.updateActiveItemIndex((this.activeItemIndex+t+i)%t),this.scrollToActiveItem()}updateActiveItemIndex(i){var t;this.activeItemIndex=i;let e=null;this.visibleItems.forEach(((t,s)=>{s===i?(t.active=!0,e=`${X}${t.guid}`):t.active=!1})),this.activeDescendant=e,this.activeItemIndex>-1&&(this.activeChipIndex=-1,null===(t=this.textInput)||void 0===t||t.focus())}isMulti(){return"single"!==this.selectionMode}renderChips(){const{activeChipIndex:i,scale:t,selectionMode:s,intlRemoveTag:a}=this;return this.selectedItems.map(((n,o)=>{const c={chip:!0,"chip--active":i===o},l=[...[...g(n)].reverse(),n].map((i=>i.textLabel)),r="ancestors"!==s?n.textLabel:l.join(" / ");return e("calcite-chip",{class:c,dismissLabel:a,dismissible:!0,icon:n.icon,id:n.guid?`${Y}${n.guid}`:null,key:n.textLabel,onCalciteChipDismiss:i=>this.calciteChipDismissHandler(i,n),scale:t,title:r,value:n.value},r)}))}renderInput(){const{guid:i,active:t,disabled:s,placeholder:a,selectionMode:n,selectedItems:o,open:c}=this,l="single"===n,r=o[0],h=!(c||t)&&l&&!!r;return e("span",{class:{"input-wrap":!0,"input-wrap--single":l}},h&&e("span",{class:{label:!0,"label--icon":!!(null==r?void 0:r.icon)},key:"label"},r.textLabel),e("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${K}${i}`,"aria-label":I(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":h,"input--icon":!!this.placeholderIcon},disabled:s,id:`${N}${i}`,key:"input",onBlur:this.comboboxBlurHandler,onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:a,ref:i=>this.textInput=i,type:"text"}))}renderListBoxOptions(){return this.visibleItems.map((i=>e("li",{"aria-selected":S(i.selected),id:i.guid?`${X}${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{active:i,setFloatingEl:t,setContainerEl:s,open:a}=this;return e("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":a||i},ref:t},e("div",{class:{"list-container":!0,[m.animation]:!0,[m.animationActive]:a||i},ref:s},e("ul",{class:{list:!0,"list--hide":!(a||i)}},e("slot",null))))}renderIconStart(){const{selectedItems:i,placeholderIcon:t,selectionMode:s}=this,a=i[0],n=null==a?void 0:a.icon,o="single"===s;return(!this.open&&a?!!n&&o:!!this.placeholderIcon&&(!a||o))&&e("span",{class:"icon-start"},e("calcite-icon",{class:"selected-icon",icon:!this.open&&a?n:t,scale:"s"}))}renderIconEnd(){const{active:i,open:t}=this;return e("span",{class:"icon-end"},e("calcite-icon",{icon:i||t?"chevron-up":"chevron-down",scale:"s"}))}render(){const{active:i,guid:t,label:a,open:n}=this,o="single"===this.selectionMode;return e(s,null,e("div",{"aria-autocomplete":"list","aria-controls":`${K}${t}`,"aria-expanded":S(n||i),"aria-haspopup":"listbox","aria-labelledby":`${G}${t}`,"aria-live":"polite","aria-owns":`${K}${t}`,class:{wrapper:!0,"wrapper--single":o||!this.selectedItems.length,"wrapper--active":n||i},onClick:this.clickHandler,onKeyDown:this.keydownHandler,ref:this.setReferenceEl,role:"combobox"},e("div",{class:"grid-input"},this.renderIconStart(),!o&&this.renderChips(),e("label",{class:"screen-readers-only",htmlFor:`${N}${t}`,id:`${G}${t}`},a),this.renderInput()),this.renderIconEnd()),e("ul",{"aria-labelledby":`${G}${t}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${K}${t}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),e(j,{component:this}))}get el(){return a(this)}static get watchers(){return{active:["activeHandler"],open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],value:["valueHandler"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"]}}};q.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;-webkit-margin-after:var(--calcite-combobox-item-spacing-unit-s);margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-block:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:flex;flex-grow:1}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;inline-size:1rem;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{display:block;position:absolute;z-index:900;visibility:hidden;pointer-events:none;inline-size:0;block-size:0;overflow:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;transform:translate(0)}.floating-ui-container--active{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
6
+ import{r as i,c as t,h as e,H as s,g as a}from"./p-c2f00d41.js";import{f as n}from"./p-d48a24e6.js";import{d as o,f as c,c as l,u as r,r as h,a as d,F as m}from"./p-a9cefd9c.js";import{g as p}from"./p-a80b3880.js";import{T as u,C as b,b as f,c as g,h as v,d as x,e as y,g as w,a as k}from"./p-a5b1ab03.js";import{c as C,d as z,g as I}from"./p-bd67334c.js";import{s as $,c as H,a as _,d as D,H as j}from"./p-a33d73bb.js";import{c as L}from"./p-9a9955db.js";import{u as A}from"./p-7daea1df.js";import{i as E,t as S,g as P,a as F}from"./p-83166522.js";import{c as T,d as B}from"./p-2e9ed892.js";import{d as M}from"./p-4e32bf8c.js";import{c as O,d as R}from"./p-1c247f54.js";import{i as W,j as U}from"./p-1bfd07e3.js";import{s as V}from"./p-4557d5a8.js";import"./p-729708a3.js";import"./p-dbc9a5a8.js";import"./p-00444009.js";const X="combobox-item-",Y="combobox-chip-",G="combobox-label-",K="combobox-listbox-",N="combobox-input-",q=class{constructor(e){i(this,e),this.calciteLookupChange=t(this,"calciteLookupChange",6),this.calciteComboboxChange=t(this,"calciteComboboxChange",6),this.calciteComboboxFilterChange=t(this,"calciteComboboxFilterChange",6),this.calciteComboboxChipDismiss=t(this,"calciteComboboxChipDismiss",6),this.calciteComboboxBeforeClose=t(this,"calciteComboboxBeforeClose",6),this.calciteComboboxClose=t(this,"calciteComboboxClose",6),this.calciteComboboxBeforeOpen=t(this,"calciteComboboxBeforeOpen",6),this.calciteComboboxOpen=t(this,"calciteComboboxOpen",6),this.active=!1,this.open=!1,this.disabled=!1,this.maxItems=0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multi",this.scale="m",this.value=null,this.intlRemoveTag=u.removeTag,this.placement=o,this.internalValueChangeFlag=!1,this.items=[],this.groupItems=[],this.selectedItems=[],this.visibleItems=[],this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.text="",this.textInput=null,this.mutationObserver=L("mutation",(()=>this.updateItems())),this.resizeObserver=L("resize",(()=>this.setMaxScrollerHeight())),this.guid=p(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:i,flipPlacements:t}=this;this.filteredFlipPlacements=t?c(t,i):null},this.getValue=()=>{const i=this.selectedItems.map((i=>{var t;return null===(t=null==i?void 0:i.value)||void 0===t?void 0:t.toString()}));return(null==i?void 0:i.length)?i.length>1?i:i[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keydownHandler=i=>{const{key:t}=i;switch(t){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):this.open&&(this.open=!1,i.preventDefault());break;case"ArrowLeft":this.previousChip(),i.preventDefault();break;case"ArrowRight":this.nextChip(),i.preventDefault();break;case"ArrowUp":i.preventDefault(),this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView();break;case"ArrowDown":i.preventDefault(),this.open||(this.open=!0),this.shiftActiveItemIndex(1),this.comboboxInViewport()||this.el.scrollIntoView();break;case" ":this.textInput.value||(i.preventDefault(),this.open=!0,this.shiftActiveItemIndex(1));break;case"Home":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(this.visibleItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.open=!1,i.preventDefault();break;case"Enter":this.activeItemIndex>-1?(this.toggleSelection(this.visibleItems[this.activeItemIndex]),i.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),i.preventDefault()):this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):i.defaultPrevented||$(this)&&i.preventDefault();break;case"Delete":case"Backspace":this.activeChipIndex>-1?(i.preventDefault(),this.removeActiveChip()):!this.text&&this.isMulti()&&(i.preventDefault(),this.removeLastChip())}},this.toggleCloseEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.setMaxScrollerHeight=async()=>{const{listContainerEl:i,open:t,referenceEl:e}=this;if(!i||!t)return;await this.reposition(!0);const s=this.getMaxScrollerHeight();i.style.maxHeight=s>0?`${s}px`:"",i.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipDismissHandler=(i,t)=>{this.open=!1;const e=this.items.find((i=>i===t));e&&this.toggleSelection(e,!1),this.calciteComboboxChipDismiss.emit(i.detail)},this.clickHandler=i=>{i.composedPath().some((i=>"CALCITE-CHIP"===i.tagName))||(this.open=!this.open,this.updateActiveItemIndex(0),this.setFocus())},this.setInactiveIfNotContained=i=>{const t=i.composedPath();!this.open||t.includes(this.el)||t.includes(this.referenceEl)||(this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),"single"===this.selectionMode&&(this.textInput&&(this.textInput.value=""),this.text="",this.filterItems(""),this.updateActiveItemIndex(-1)),this.open=!1)},this.setFloatingEl=i=>{this.floatingEl=i,l(this,this.referenceEl,this.floatingEl)},this.setContainerEl=i=>{this.resizeObserver.observe(i),this.listContainerEl=i,this.transitionEl=i,T(this)},this.setReferenceEl=i=>{this.referenceEl=i,l(this,this.referenceEl,this.floatingEl)},this.inputHandler=i=>{const t=i.target.value;this.text=t,this.filterItems(t),t&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const i=(i,t)=>i&&t.some((({label:t,value:e})=>i.tagName===y?e===i.label:e===i.textLabel||e===i.value||t===i.textLabel||t===i.value));return M((t=>{const e=n(this.data,t);this.getCombinedItems().forEach((t=>{const s=!i(t,e);t.hidden=s;const[a,n]=t.ancestors;(i(a,e)||i(n,e))&&(t.hidden=!1),s||t.ancestors.forEach((i=>i.hidden=!1))})),this.visibleItems=this.getVisibleItems(),this.calciteComboboxFilterChange.emit({visibleItems:[...this.visibleItems],text:t})}),100)})(),this.internalCalciteLookupChangeEvent=()=>{this.calciteLookupChange.emit(this.selectedItems)},this.emitCalciteLookupChange=M(this.internalCalciteLookupChangeEvent,0),this.internalComboboxChangeEvent=()=>{const{selectedItems:i}=this;this.calciteComboboxChange.emit({selectedItems:i})},this.emitComboboxChange=M(this.internalComboboxChangeEvent,0),this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.visibleItems=this.getVisibleItems(),this.needsIcon=this.getNeedsIcon(),this.allowCustomValues||this.setMaxScrollerHeight()},this.scrollToActiveItem=()=>{const i=this.visibleItems[this.activeItemIndex],t=this.calculateSingleItemHeight(i),{offsetHeight:e,scrollTop:s}=this.listContainerEl;e+s<i.offsetTop+t?this.listContainerEl.scrollTop=i.offsetTop-e+t:i.offsetTop<s&&(this.listContainerEl.scrollTop=i.offsetTop)},this.comboboxFocusHandler=()=>{var i;null===(i=this.textInput)||void 0===i||i.focus()},this.comboboxBlurHandler=i=>{this.setInactiveIfNotContained(i)}}activeHandler(i){if(this.disabled)return this.active=!1,void(this.open=!1);this.open=i}openHandler(i){if(i||r(this.floatingEl),this.disabled)return this.active=!1,void(this.open=!1);this.active=i,this.setMaxScrollerHeight()}handleDisabledChange(i){i||(this.active=!1,this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}valueHandler(i){if(!this.internalValueChangeFlag){const t=this.getItems();Array.isArray(i)?t.forEach((t=>t.selected=i.includes(t.value))):t.forEach(i?t=>t.selected=i===t.value:i=>i.selected=!1),this.updateItems()}}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}documentClickHandler(i){E(i)&&this.setInactiveIfNotContained(i)}calciteComboboxItemChangeHandler(i){if(this.ignoreSelectedEventsFlag)return;const t=i.target,e=this.visibleItems.indexOf(t);this.updateActiveItemIndex(e),this.toggleSelection(t,t.selected)}async reposition(i=!1){const{floatingEl:t,referenceEl:e,placement:s,overlayPositioning:a,filteredFlipPlacements:n}=this;return h(this,{floatingEl:t,referenceEl:e,overlayPositioning:a,placement:s,flipPlacements:n,type:"menu"},i)}async setFocus(){var i;null===(i=this.textInput)||void 0===i||i.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){var i;this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0,subtree:!0}),C(this),H(this),T(this),this.setFilteredPlacements(),this.reposition(!0),this.active&&this.activeHandler(this.active),this.open&&this.openHandler(this.open)}componentWillLoad(){this.updateItems()}componentDidLoad(){_(this,this.getValue()),this.reposition(!0)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),A(this)}disconnectedCallback(){var i,t;null===(i=this.mutationObserver)||void 0===i||i.disconnect(),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),z(this),D(this),d(this,this.referenceEl,this.floatingEl),B(this)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}textHandler(){this.updateActiveItemIndex(-1)}comboboxInViewport(){const i=this.el.getBoundingClientRect();return i.top>=0&&i.left>=0&&i.right<=(window.innerWidth||document.documentElement.clientWidth)&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}getMaxScrollerHeight(){const i=this.getCombinedItems().filter((i=>!i.hidden)),{maxItems:t}=this;let e=0,s=0;return i.length>t&&i.forEach((i=>{if(e<t&&t>0){const t=this.calculateSingleItemHeight(i);t>0&&(s+=t,e++)}})),s}calculateSingleItemHeight(i){let t=i.offsetHeight;return Array.from(i.querySelectorAll(b)).map((i=>null==i?void 0:i.offsetHeight)).forEach((i=>{t-=i})),t}getCombinedItems(){return[...this.groupItems,...this.items]}toggleSelection(i,t=!i.selected){i&&(this.isMulti()?(i.selected=t,this.updateAncestors(i),this.selectedItems=this.getSelectedItems(),this.emitCalciteLookupChange(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===i&&t)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=i.textLabel),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(i){if("ancestors"!==this.selectionMode)return;const t=f(i),e=g(i);i.selected?t.forEach((i=>{i.selected=!0})):(e.forEach((i=>i.selected=!1)),[...t].forEach((i=>{v(i)||(i.selected=!1)})))}getVisibleItems(){return this.items.filter((i=>!i.hidden))}getSelectedItems(){if(!this.isMulti()){const i=this.items.find((({selected:i})=>i));return i?[i]:[]}return this.items.filter((i=>i.selected&&("ancestors"!==this.selectionMode||!v(i)))).sort(((i,t)=>{const e=this.selectedItems.indexOf(i),s=this.selectedItems.indexOf(t);return e>-1&&s>-1?e-s:s-e}))}getData(){return this.items.map((i=>({constant:i.constant,filterDisabled:i.filterDisabled,value:i.value,label:i.textLabel})))}getNeedsIcon(){return"single"===this.selectionMode&&this.items.some((i=>i.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll(x)).filter((i=>!i.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(y))}addCustomChip(i,t){const e=this.items.find((t=>t.textLabel===i));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement(x);e.value=i,e.textLabel=i,e.selected=!0,this.el.appendChild(e),this.resetText(),t&&this.setFocus(),this.updateItems(),this.filterItems(""),this.emitCalciteLookupChange(),this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){if(this.text)return;const i=this.activeChipIndex;this.activeChipIndex=-1===i?this.selectedItems.length-1:Math.max(i-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const i=this.activeChipIndex+1;i>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=i,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){var i;const t=null===(i=this.selectedItems[this.activeChipIndex])||void 0===i?void 0:i.guid,e=t?this.referenceEl.querySelector(`#${Y}${t}`):null;null==e||e.setFocus()}shiftActiveItemIndex(i){const{length:t}=this.visibleItems;this.updateActiveItemIndex((this.activeItemIndex+t+i)%t),this.scrollToActiveItem()}updateActiveItemIndex(i){var t;this.activeItemIndex=i;let e=null;this.visibleItems.forEach(((t,s)=>{s===i?(t.active=!0,e=`${X}${t.guid}`):t.active=!1})),this.activeDescendant=e,this.activeItemIndex>-1&&(this.activeChipIndex=-1,null===(t=this.textInput)||void 0===t||t.focus())}isMulti(){return"single"!==this.selectionMode}renderChips(){const{activeChipIndex:i,scale:t,selectionMode:s,intlRemoveTag:a}=this;return this.selectedItems.map(((n,o)=>{const c={chip:!0,"chip--active":i===o},l=[...[...f(n)].reverse(),n].map((i=>i.textLabel)),r="ancestors"!==s?n.textLabel:l.join(" / ");return e("calcite-chip",{class:c,dismissLabel:a,dismissible:!0,icon:n.icon,id:n.guid?`${Y}${n.guid}`:null,key:n.textLabel,onCalciteChipDismiss:i=>this.calciteChipDismissHandler(i,n),scale:t,title:r,value:n.value},r)}))}renderInput(){const{guid:i,active:t,disabled:s,placeholder:a,selectionMode:n,selectedItems:o,open:c}=this,l="single"===n,r=o[0],h=!(c||t)&&l&&!!r;return e("span",{class:{"input-wrap":!0,"input-wrap--single":l}},h&&e("span",{class:{label:!0,"label--icon":!!(null==r?void 0:r.icon)},key:"label"},r.textLabel),e("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${K}${i}`,"aria-label":I(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":h,"input--icon":!!this.placeholderIcon},disabled:s,id:`${N}${i}`,key:"input",onBlur:this.comboboxBlurHandler,onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:a,ref:i=>this.textInput=i,type:"text"}))}renderListBoxOptions(){return this.visibleItems.map((i=>e("li",{"aria-selected":S(i.selected),id:i.guid?`${X}${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{active:i,setFloatingEl:t,setContainerEl:s,open:a}=this;return e("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":a||i},ref:t},e("div",{class:{"list-container":!0,[m.animation]:!0,[m.animationActive]:a||i},ref:s},e("ul",{class:{list:!0,"list--hide":!(a||i)}},e("slot",null))))}renderIconStart(){const{selectedItems:i,placeholderIcon:t,selectionMode:s}=this,a=i[0],n=null==a?void 0:a.icon,o="single"===s;return(!this.open&&a?!!n&&o:!!this.placeholderIcon&&(!a||o))&&e("span",{class:"icon-start"},e("calcite-icon",{class:"selected-icon",icon:!this.open&&a?n:t,scale:"s"}))}renderIconEnd(){const{active:i,open:t}=this;return e("span",{class:"icon-end"},e("calcite-icon",{icon:i||t?"chevron-up":"chevron-down",scale:"s"}))}render(){const{active:i,guid:t,label:a,open:n}=this,o="single"===this.selectionMode;return e(s,null,e("div",{"aria-autocomplete":"list","aria-controls":`${K}${t}`,"aria-expanded":S(n||i),"aria-haspopup":"listbox","aria-labelledby":`${G}${t}`,"aria-live":"polite","aria-owns":`${K}${t}`,class:{wrapper:!0,"wrapper--single":o||!this.selectedItems.length,"wrapper--active":n||i},onClick:this.clickHandler,onKeyDown:this.keydownHandler,ref:this.setReferenceEl,role:"combobox"},e("div",{class:"grid-input"},this.renderIconStart(),!o&&this.renderChips(),e("label",{class:"screen-readers-only",htmlFor:`${N}${t}`,id:`${G}${t}`},a),this.renderInput()),this.renderIconEnd()),e("ul",{"aria-labelledby":`${G}${t}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${K}${t}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),e(j,{component:this}))}get el(){return a(this)}static get watchers(){return{active:["activeHandler"],open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],value:["valueHandler"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"]}}};q.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;-webkit-margin-after:var(--calcite-combobox-item-spacing-unit-s);margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-block:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:flex;flex-grow:1}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;inline-size:1rem;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{display:block;position:absolute;z-index:900;visibility:hidden;pointer-events:none;inline-size:0;block-size:0;overflow:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;transform:translate(0)}.floating-ui-container--active{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as i,c as t,h as s,H as e,g as a}from"./p-c2f00d41.js";import{b as l,c as n,E as o,d}from"./p-dbc9a5a8.js";import{l as h}from"./p-eea93a37.js";import{a as c,c as r,g as p,h as g}from"./p-1bfd07e3.js";import{s as b}from"./p-4557d5a8.js";import{g as u}from"./p-9260d75a.js";import{g as m,a as f}from"./p-fc884dd6.js";import"./p-00444009.js";import"./p-e1a4994d.js";const v=class{constructor(s){i(this,s),this.labelChange=t(this,"labelChange",7),this.searchConfigurationChange=t(this,"searchConfigurationChange",7),this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.addresseeLayer=void 0,this._downloadActive=!0,this._numSelected=0,this._pageType=l.LIST,this._saveEnabled=!1,this._selectionSets=[],this._sketchType=n.INTERACTIVE,this._selectionWorkflowType=o.SEARCH,this._showLayerSelectionChangeModal=!1,this._translations=void 0}async mapViewWatchHandler(i){(null==i?void 0:i.popup)&&(this._popupsEnabled=null==i?void 0:i.popup.autoOpenEnabled)}async watchSearchConfigurationHandler(i,t){console.log("PN watchSearchConfigurationHandler"),console.log("PN newValue"),console.log(i),console.log("PN oldValue"),console.log(t),JSON.stringify(i)!==JSON.stringify(t)&&(console.log("Emit event from parent"),this.searchConfigurationChange.emit(i))}async selectionSetsWatchHandler(i,t){i&&i!==t&&i.length>0&&0===i.filter((i=>i.workflowType!==o.REFINE)).length&&(this._selectionSets=[])}async pageTypeWatchHandler(i,t){if(this._checkPopups(),this._clearHighlight(),t!==l.SELECT&&t!==l.REFINE||await this._clearSelection(),i!==l.SELECT)return this._highlightFeatures()}distanceChanged(i){this._updateLabel(i,"distance"),this._distance=i.detail.newValue}selectionSetsChanged(i){this._selectionSets=[...i.detail]}sketchTypeChange(i){this._sketchType=i.detail}unitChanged(i){this._updateLabel(i,"unit"),this._unit=i.detail.newValue}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){const i=this._selectionSets.length>0;return s(e,null,s("calcite-shell",null,s("calcite-action-bar",{class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:"header"},this._getActionGroup("list-check",!1,l.LIST,this._translations.myLists),this.showRefineSelection?this._getActionGroup("test-data",!i,l.REFINE,this._translations.refineSelection):void 0,this._getActionGroup("file-pdf",!i,l.PDF,this._translations.downloadPDF),this._getActionGroup("file-csv",!i,l.CSV,this._translations.downloadCSV)),this._getPage(this._pageType)))}async _initModules(){const[i]=await h(["esri/geometry/geometryEngine"]);this._geometryEngine=i}_getActionGroup(i,t,e,a){return s("calcite-action-group",{class:this.showRefineSelection?"action-center w-1-4":"action-center w-1-3",layout:"horizontal"},s("calcite-action",{active:this._pageType===e,alignment:"center",class:"width-full height-full",compact:!1,disabled:t,icon:i,id:i,onClick:()=>{this._setPageType(e)},text:""}),s("calcite-tooltip",{label:"",placement:"bottom","reference-element":i},s("span",null,a)))}_setPageType(i){this._pageType=i}_getPage(i){let t;switch(i){case l.LIST:t=this._getListPage();break;case l.SELECT:t=this._getSelectPage();break;case l.REFINE:t=this._getRefinePage();break;case l.PDF:t=this._getPDFPage();break;case l.CSV:t=this._getCSVPage()}return t}_getListPage(){const i=this._selectionSets.filter((i=>i.workflowType!==o.REFINE)).length>0,t=m(this._selectionSets);return i?s("calcite-panel",null,s("div",{class:"padding-top-sides-1"},s("calcite-label",{class:"font-bold"},this._translations.myLists)),this._getNotice(this._translations.listHasSetsTip,"padding-sides-1 padding-bottom-1"),this._getMapLayerPicker(),s("div",{class:"display-block padding-sides-1 height-1-1-2"},s("div",{class:"display-block float-left"},s("calcite-label",{alignment:"start",class:"font-bold"},this._translations.notifications)),s("div",{class:"display-block float-right"},s("calcite-input-message",{active:!0,class:"info-blue margin-top-0",scale:"m"},this._translations.uniqueCout.replace("{{n}}",t.toString())))),i?this._getSelectionSetList():s("div",{class:"info-message"},s("calcite-input-message",{active:!0,class:"info-blue",scale:"m"},this._translations.noNotifications)),s("div",{class:"display-flex padding-1"},s("calcite-button",{onClick:()=>{this._setPageType(l.SELECT)},width:"full"},this._translations.add)),this._showModal(this._showLayerSelectionChangeModal)):s("calcite-panel",null,s("div",{class:"padding-top-sides-1"},s("calcite-label",{class:"font-bold"},this._translations.myLists)),s("div",{class:"padding-sides-1"},s("calcite-label",null,this._translations.notifications)),s("div",{class:"info-message padding-bottom-1"},s("calcite-input-message",{active:!0,class:"info-blue",scale:"m"},this._translations.noNotifications)),this._getNotice(this._translations.selectLayerAndAdd,"padding-sides-1 padding-bottom-1"),this._getMapLayerPicker(),s("div",{class:"display-flex padding-1"},s("calcite-button",{onClick:()=>{this._setPageType(l.SELECT)},width:"full"},this._translations.add)))}_getMapLayerPicker(){var i;return s("div",{class:"display-flex padding-sides-1"},s("calcite-label",{class:"font-bold width-full"},this._translations.addresseeLayer,s("map-layer-picker",{enabledLayerIds:this.addresseeLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>this._layerSelectionChange(i),selectedLayerIds:this.addresseeLayer?[null===(i=this.addresseeLayer)||void 0===i?void 0:i.layer.id]:[],selectionMode:"single"})))}_getSelectionSetList(){return s("calcite-list",{class:"list-border margin-sides-1"},this._selectionSets.reduce(((i,t,e)=>(t.workflowType!==o.REFINE&&i.push(s("calcite-list-item",{description:this._translations.selectedFeatures.replace("{{n}}",t.selectedIds.length.toString()),label:t.label,onClick:()=>this._gotoSelection(t,this.mapView)},this._getAction(!0,"pencil","",(i=>this._openSelection(t,i)),!1,"actions-end"),this._getAction(!0,"x","",(i=>this._deleteSelection(e,i)),!1,"actions-end"))),i)),[]))}_showModal(i){return s("calcite-modal",{"aria-labelledby":"modal-title","background-color":"grey",color:"red",open:i,scale:"s",width:"s"},s("div",{id:"modal-title",slot:"header"},this._translations.shouldProceed),s("div",{slot:"content"},this._translations.proceedInfo),s("calcite-button",{appearance:"outline",onClick:()=>this._cancelLayerChange(),slot:"secondary",width:"full"},this._translations.cancel),s("calcite-button",{onClick:()=>this._handleLayerChange(),slot:"primary",width:"full"},this._translations.proceed))}_cancelLayerChange(){this._layerSelectionChangeEvt.preventDefault(),this._layerSelectionChangeEvt.stopPropagation(),this._layerSelectionChangeEvt=void 0,this._showLayerSelectionChangeModal=!1}async _handleLayerChange(){var i,t;this._showLayerSelectionChangeModal=!1;const s=(null===(t=null===(i=this._layerSelectionChangeEvt)||void 0===i?void 0:i.detail)||void 0===t?void 0:t.length)>0?this._layerSelectionChangeEvt.detail[0]:"";await this._updateAddresseeLayer(s)}_getSelectPage(){var i,t;const e=this._selectionWorkflowType===o.SELECT?this._translations.selectLayerTip:this._selectionWorkflowType===o.SKETCH?this._sketchType===n.INTERACTIVE?this._translations.selectSketchTip:this._translations.selectLayerTip:this._translations.selectSearchTip,a=this.customLabelEnabled?"":"display-none";return s("calcite-panel",null,this._getLabel(this._translations.stepTwoFull.replace("{{layer}}",null===(i=this.addresseeLayer)||void 0===i?void 0:i.layer.title)),this._getNotice(e),s("div",{class:"padding-top-sides-1"},s("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enabledLayerIds:this.selectionLayerIds,isUpdate:!!this._activeSelection,mapView:this.mapView,onSelectionSetChange:i=>this._updateForSelection(i),onWorkflowTypeChange:i=>this._updateForWorkflowType(i),ref:i=>{this._selectTools=i},searchConfiguration:this.searchConfiguration,selectLayerView:this.addresseeLayer,selectionSet:this._activeSelection,showBufferTools:this.showSearchSettings})),s("div",{class:"padding-sides-1 padding-bottom-1",style:{"align-items":"end",display:"flex"}},s("calcite-icon",{class:"info-blue padding-end-1-2",icon:"feature-layer",scale:"s"}),s("calcite-input-message",{active:!0,class:"info-blue",scale:"m"},this.noResultText&&0===this._numSelected?this.noResultText:this._translations.selectedAddresses.replace("{{n}}",this._numSelected.toString()).replace("{{layer}}",(null===(t=this.addresseeLayer)||void 0===t?void 0:t.layer.title)||""))),s("div",{class:"padding-sides-1 "+a},s("calcite-label",{class:"font-bold"},"List name",s("calcite-input",{onInput:()=>{this.labelChange.emit(this._labelName.value)},placeholder:"Insert label here...",ref:i=>{this._labelName=i},value:this._customLabel||""}))),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getRefinePage(){return s("calcite-panel",null,this._getLabel(this._translations.refineSelection),this._getNotice(this._translations.refineTip,"padding-sides-1"),s("refine-selection",{addresseeLayer:this.addresseeLayer,enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,selectionSets:this._selectionSets}))}_getPDFPage(){return this._getDownloadPage(d.PDF)}_getCSVPage(){return this._getDownloadPage(d.CSV)}_getDownloadPage(i){const t=i===d.PDF;return s("calcite-panel",null,s("div",null,s("div",{class:"padding-top-sides-1"},s("calcite-label",{class:"font-bold"},t?this._translations.downloadPDF:this._translations.downloadCSV),s("calcite-label",null,this._translations.notifications)),this._getSelectionLists(),s("div",{class:"margin-side-1 padding-top-1 border-bottom"}),s("div",{class:"padding-top-sides-1"},s("calcite-label",{layout:"inline"},s("calcite-checkbox",{disabled:!this._downloadActive,ref:i=>{this._removeDuplicates=i}}),this._translations.removeDuplicate)),s("div",{class:t?"":"display-none"},this._getLabel(this._translations.selectPDFLabelOption,!1),s("div",{class:"padding-sides-1"},s("pdf-download",{disabled:!this._downloadActive,layerView:this.addresseeLayer,ref:i=>{this._downloadTools=i}}))),s("div",{class:"padding-1 display-flex"},s("calcite-button",{disabled:!this._downloadActive,onClick:t?()=>this._downloadPDF():()=>this._downloadCSV(),width:"full"},t?this._translations.downloadPDF:this._translations.downloadCSV))))}_getPageNavButtons(i,t,e,a,l,n){return s("div",null,s("div",{class:"display-flex padding-top-sides-1"},s("calcite-button",{disabled:t,onClick:e,width:"full"},i)),s("div",{class:"display-flex padding-top-1-2 padding-sides-1"},s("calcite-button",{appearance:"outline",disabled:l,onClick:n,width:"full"},a)))}_getNotice(i,t="padding-1"){return s("calcite-notice",{class:t,color:"green",icon:"lightbulb",open:!0},s("div",{slot:"message"},i))}_getLabel(i,t=!1){return s("div",{class:"padding-top-sides-1"},s("calcite-label",{class:"font-bold","disable-spacing":t},i))}_getSelectionLists(){return this._selectionSets.reduce(((i,t)=>(t.workflowType!==o.REFINE&&(!this._downloadActive&&t.download&&(this._downloadActive=!0),i.push(s("div",{class:"display-flex padding-sides-1 padding-bottom-1"},s("calcite-checkbox",{checked:t.download,class:"align-center",onClick:()=>{this._toggleDownload(t.id)}}),s("calcite-list",{class:"list-border margin-start-1-2 w-100",id:"download-list"},s("calcite-list-item",{description:this._translations.selectedFeatures.replace("{{n}}",t.selectedIds.length.toString()),disabled:!t.download,label:t.label,onClick:()=>{this._toggleDownload(t.id)}}))))),i)),[])||s("div",null)}async _toggleDownload(i){let t=!1;this._selectionSets=this._selectionSets.map((s=>(s.download=s.id===i?!s.download:s.download,t=!!s.download||t,s))),this._downloadActive=t,await this._highlightFeatures()}_downloadPDF(){const i=f(this._getDownloadSelectionSets());this._downloadTools.downloadPDF(i,this._removeDuplicates.checked)}_downloadCSV(){const i=f(this._getDownloadSelectionSets());this._downloadTools.downloadCSV(i,this._removeDuplicates.checked)}_getDownloadSelectionSets(){return this._selectionSets.filter((i=>i.download||i.workflowType===o.REFINE))}_updateLabel(i,t){this._customLabel&&(this._customLabel=this._customLabel.replace("unit"===t?`${this._distance} ${i.detail.oldValue}`:`${i.detail.oldValue} ${this._unit}`,"unit"===t?`${this._distance} ${i.detail.newValue}`:`${i.detail.newValue} ${this._unit}`),this._labelName.value=this._customLabel,this.labelChange.emit(this._labelName.value))}_updateForWorkflowType(i){this._selectionWorkflowType=i.detail}_getAction(i,t,e,a,l=!1,n=""){return s("calcite-action",{disabled:!i,icon:t,indicator:l,onClick:a,slot:n,text:e})}_updateForSelection(i){this._numSelected=i.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),"boolean"==typeof this._popupsEnabled&&this.mapView.popup&&(this.mapView.popup.autoOpenEnabled=this._popupsEnabled),this._setPageType(l.LIST)}async _layerSelectionChange(i){var t,s,e;const a=(null===(t=null==i?void 0:i.detail)||void 0===t?void 0:t.length)>0?i.detail[0]:"";a!==(null===(s=this.addresseeLayer)||void 0===s?void 0:s.layer.id)&&(this._showLayerSelectionChangeModal=void 0!==(null===(e=this.addresseeLayer)||void 0===e?void 0:e.layer.id)&&this._selectionSets.length>0,this._showLayerSelectionChangeModal?this._layerSelectionChangeEvt=i:await this._updateAddresseeLayer(a))}async _updateAddresseeLayer(i){this.addresseeLayer=await c(this.mapView,i),await this._updateSelectionSets(this.addresseeLayer)}async _updateSelectionSets(i){const t=this._selectionSets.filter((i=>i.workflowType!==o.REFINE)),s=[];return t.forEach((t=>{t.layerView=i,t.selectedIds=[],s.push(r(t,this._geometryEngine))})),Promise.all(s).then((async i=>{i.forEach(((i,s)=>{t[s].selectedIds=i})),await this._highlightFeatures(),this._selectionSets=[...t]}))}async _saveSelection(){var i,t;const s=await(null===(i=this._selectTools)||void 0===i?void 0:i.getSelection()),e=null===(t=this._selectTools)||void 0===t?void 0:t.isUpdate;return this._selectionSets=e?this._selectionSets.map((i=>i.id===s.id?s:i)):[...this._selectionSets,s],this._home()}async _clearSelection(){var i;await(null===(i=this._selectTools)||void 0===i?void 0:i.clearSelection()),this._numSelected=0,this._activeSelection=void 0,this._customLabel=void 0,this._distance=void 0,this._unit=void 0}_deleteSelection(i,t){return t.stopPropagation(),this._selectionSets=this._selectionSets.filter(((t,s)=>{if(s!==i)return t})),this._highlightFeatures()}_gotoSelection(i,t){p(i.selectedIds,i.layerView,t,this.featureHighlightEnabled,this.featureEffect)}_openSelection(i,t){t.stopPropagation(),this._activeSelection=i,this._distance=this._activeSelection.distance,this._unit=this._activeSelection.unit,this._customLabel=this._activeSelection.label,this._pageType=l.SELECT}async _highlightFeatures(){this._clearHighlight();const i=f(this._selectionSets);i.length>0&&(b.highlightHandle=await g(i,this.addresseeLayer,this.mapView))}_checkPopups(){var i;"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=null===(i=this.mapView)||void 0===i?void 0:i.popup.autoOpenEnabled)}_clearHighlight(){var i;b&&b.highlightHandle&&(null===(i=b.highlightHandle)||void 0===i||i.remove())}async _getTranslations(){const i=await u(this.el);this._translations=i[0]}get el(){return a(this)}static get watchers(){return{mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],_selectionSets:["selectionSetsWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};v.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-3{width:33.3%}.w-1-4{width:25%}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{-webkit-padding-before:1rem;padding-block-start:1rem;-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-sides-1{-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-end-1-2{-webkit-padding-end:.5rem;padding-inline-end:.5rem}.padding-top-1-2{-webkit-padding-before:.5rem;padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.main-label{float:left}html[dir="rtl"] .main-label{float:right}.back-label:hover{cursor:pointer;color:var(--calcite-ui-brand-hover)}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.margin-side-1{-webkit-margin-start:1rem;margin-inline-start:1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.border-top{border-top:1px solid var(--calcite-ui-border-2)}.w-100{width:100%}.w-50{width:50%}.padding-1-2{padding:0.5rem}.list-border{border:1px solid var(--calcite-ui-border-2)}.margin-sides-1{-webkit-margin-start:1rem;margin-inline-start:1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.margin-start-1-2{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{-webkit-margin-before:0 !important;margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-ui-foreground-2)}.num-selected{align-items:center;display:flex}';export{v as public_notification}