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ARJ,GAAqBK,MAAML,KACpCzJ,KAAKgE,iBAAmByF,GAEP,kBAARG,GAAqBE,MAAMF,KACpC5J,KAAKiE,iBAAmB2F,EAE3B,CACUG,wBAAe,MAAO,CAAC,SAAY,CAC1CpJ,SAAO,OAAO8B,EAAAA,EAAAA,GAAWzC,KAAQ,CAC1BgK,sBAAa,MAAO,CAC7B,OAAU,CAAC,iBACX,iBAAoB,CAAC,oBACrB,gBAAmB,CAAC,yBAClB,GAENvG,EAAWf,MAjUW,itPC/LtB,MAAMuH,EAAW,IAAIC,IACrB,IAAIC,EACJ,MAAMC,EAAkB,CAAEC,WAAW,GAWrC,SAASnJ,EAAgCoJ,GAClCH,IACHA,GAAmBI,EAAAA,EAAAA,GAAe,WAAYC,IAEhDL,EAAiBM,QAAQH,EAAU3J,GAAIyJ,EACxC,CAWD,SAAShJ,EAAmCkJ,GAC1CL,EAASS,OAAOJ,EAAU3J,IAI1B6J,EAAiBL,EAAiBQ,eAClCR,EAAiBS,aACjB,IAAK,MAAOC,KAAYZ,EAASa,UAC/BX,EAAiBM,QAAQI,EAAST,EAErC,CACD,SAASI,EAAiBO,GACxBA,EAAUjE,SAAQ,IAAgB,IAAf,OAAEkE,GAAa,GAChCxB,EAAAA,EAAAA,GAAYwB,EAAZ,GAEH,4CC/CD,MAAM7B,EAAQ,CAAC8B,EAAOrB,EAAKH,IAAQR,KAAKQ,IAAIG,EAAKX,KAAKW,IAAIqB,EAAOxB,IAC3DyB,EAAqB,IAAIC,OAAO,oCAChCC,EAAiBH,IACrB,MAAMI,GAAS,GAAKJ,GAAOI,MAAMH,GACjC,OAAKG,EAGEpC,KAAKQ,IAAI,GAEf4B,EAAM,GAAKA,EAAM,GAAGC,OAAS,IAE3BD,EAAM,IAAMA,EAAM,GAAK,IANjB,CAET","sources":["../node_modules/@esri/calcite-components/dist/esm/calcite-shell_3.entry.js","../node_modules/@esri/calcite-components/dist/esm/conditionalSlot-6c900849.js","../node_modules/@esri/calcite-components/dist/esm/math-38226c39.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.3.1\n */\nimport { r as registerInstance, h, F as Fragment, a as getElement, f as forceUpdate } from './index-965fa063.js';\nimport { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-6c900849.js';\nimport { d as slotChangeHasAssignedElement, s as slotChangeGetAssignedElements, g as getSlotted, b as getElementDir, i as isPrimaryPointerButton } from './dom-f43600cc.js';\nimport { c as connectLocalized, d as disconnectLocalized } from './locale-d5c82e5f.js';\nimport { c as clamp } from './math-38226c39.js';\nimport { c as connectMessages, s as setUpMessages, d as disconnectMessages, u as updateMessages } from './t9n-dc8901e6.js';\nimport './observers-a18d699e.js';\nimport './guid-2d284fea.js';\nimport './resources-f6701afe.js';\nimport './key-7431b13d.js';\n\nconst CSS$2 = {\n main: \"main\",\n content: \"content\",\n contentBehind: \"content--behind\",\n footer: \"footer\",\n positionedSlotWrapper: \"positioned-slot-wrapper\",\n container: \"container\",\n contentBehindCenterContent: \"center-content\"\n};\nconst SLOTS$2 = {\n centerRow: \"center-row\",\n panelStart: \"panel-start\",\n panelEnd: \"panel-end\",\n panelTop: \"panel-top\",\n panelBottom: \"panel-bottom\",\n header: \"header\",\n footer: \"footer\",\n alerts: \"alerts\",\n modals: \"modals\"\n};\n\nconst shellCss = \"@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}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(1 - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:500;box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}\";\n\nconst Shell = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.handleHeaderSlotChange = (event) => {\n this.hasHeader = !!slotChangeHasAssignedElement(event);\n };\n this.handleFooterSlotChange = (event) => {\n this.hasFooter = !!slotChangeHasAssignedElement(event);\n };\n this.handleAlertsSlotChange = (event) => {\n this.hasAlerts = !!slotChangeHasAssignedElement(event);\n slotChangeGetAssignedElements(event)?.map((el) => {\n if (el.nodeName === \"CALCITE-ALERT\") {\n el.slottedInShell = true;\n }\n });\n };\n this.handleModalsSlotChange = (event) => {\n this.hasModals = !!slotChangeHasAssignedElement(event);\n slotChangeGetAssignedElements(event)?.map((el) => {\n if (el.nodeName === \"CALCITE-MODAL\") {\n el.slottedInShell = true;\n }\n });\n };\n this.contentBehind = false;\n this.hasHeader = false;\n this.hasFooter = false;\n this.hasAlerts = false;\n this.hasModals = false;\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n connectConditionalSlotComponent(this);\n }\n disconnectedCallback() {\n disconnectConditionalSlotComponent(this);\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderHeader() {\n return (h(\"div\", { hidden: !this.hasHeader }, h(\"slot\", { key: \"header\", name: SLOTS$2.header, onSlotchange: this.handleHeaderSlotChange })));\n }\n renderFooter() {\n return (h(\"div\", { class: CSS$2.footer, hidden: !this.hasFooter, key: \"footer\" }, h(\"slot\", { name: SLOTS$2.footer, onSlotchange: this.handleFooterSlotChange })));\n }\n renderAlerts() {\n return (h(\"div\", { hidden: !this.hasAlerts }, h(\"slot\", { key: \"alerts\", name: SLOTS$2.alerts, onSlotchange: this.handleAlertsSlotChange })));\n }\n renderModals() {\n return (h(\"div\", { hidden: !this.hasModals }, h(\"slot\", { key: \"modals\", name: SLOTS$2.modals, onSlotchange: this.handleModalsSlotChange })));\n }\n renderContent() {\n const defaultSlotNode = h(\"slot\", { key: \"default-slot\" });\n const deprecatedCenterRowSlotNode = (h(\"slot\", { key: \"center-row-slot\", name: SLOTS$2.centerRow }));\n const panelBottomSlotNode = h(\"slot\", { key: \"panel-bottom-slot\", name: SLOTS$2.panelBottom });\n const panelTopSlotNode = h(\"slot\", { key: \"panel-top-slot\", name: SLOTS$2.panelTop });\n const contentContainerKey = \"content-container\";\n const content = !!this.contentBehind\n ? [\n h(\"div\", { class: {\n [CSS$2.content]: true,\n [CSS$2.contentBehind]: true\n }, key: contentContainerKey }, defaultSlotNode),\n h(\"div\", { class: CSS$2.contentBehindCenterContent }, panelTopSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode)\n ]\n : [\n h(\"div\", { class: CSS$2.content, key: contentContainerKey }, panelTopSlotNode, defaultSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode)\n ];\n return content;\n }\n renderMain() {\n return (h(\"div\", { class: CSS$2.main }, h(\"slot\", { name: SLOTS$2.panelStart }), this.renderContent(), h(\"slot\", { name: SLOTS$2.panelEnd })));\n }\n renderPositionedSlots() {\n return (h(\"div\", { class: CSS$2.positionedSlotWrapper }, this.renderAlerts(), this.renderModals()));\n }\n render() {\n return (h(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter(), this.renderPositionedSlots()));\n }\n get el() { return getElement(this); }\n};\nShell.style = shellCss;\n\nconst CSS$1 = {\n actionBarContainer: \"action-bar-container\",\n content: \"content\"\n};\nconst SLOTS$1 = {\n actionBar: \"action-bar\"\n};\n\nconst shellCenterRowCss = \"@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}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{z-index:1;display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}\";\n\nconst ShellCenterRow = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.detached = false;\n this.heightScale = \"s\";\n this.position = \"end\";\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n connectConditionalSlotComponent(this);\n }\n disconnectedCallback() {\n disconnectConditionalSlotComponent(this);\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n render() {\n const { el } = this;\n const contentNode = (h(\"div\", { class: CSS$1.content }, h(\"slot\", null)));\n const actionBar = getSlotted(el, SLOTS$1.actionBar);\n if (actionBar) {\n actionBar.layout = \"horizontal\";\n }\n const actionBarNode = actionBar ? (h(\"div\", { class: CSS$1.actionBarContainer, key: \"action-bar\" }, h(\"slot\", { name: SLOTS$1.actionBar }))) : null;\n const children = [actionBarNode, contentNode];\n if (actionBar?.position === \"end\") {\n children.reverse();\n }\n return h(Fragment, null, children);\n }\n get el() { return getElement(this); }\n};\nShellCenterRow.style = shellCenterRowCss;\n\nconst CSS = {\n container: \"container\",\n content: \"content\",\n contentHeader: \"content__header\",\n contentBody: \"content__body\",\n contentDetached: \"content--detached\",\n separator: \"separator\"\n};\nconst SLOTS = {\n actionBar: \"action-bar\",\n header: \"header\"\n};\n\nconst shellPanelCss = \"@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);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;--calcite-shell-panel-detached-max-height:unset;z-index:var(--calcite-shell-panel-z-index, 1)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(1 + 1))}:host([layout=horizontal]) .content{--calcite-shell-panel-height-internal:var(--calcite-shell-panel-height, 20vh);--calcite-shell-panel-max-height-internal:var(--calcite-shell-panel-max-height, 420px);--calcite-shell-panel-min-height-internal:var(--calcite-shell-panel-min-height, 240px)}:host([layout=vertical][width-scale=s]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 12vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 300px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=m]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 20vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 420px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=l]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 45vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 680px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height-internal:var(--calcite-shell-panel-detached-max-height, 40vh)}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height-internal:var(--calcite-shell-panel-detached-max-height, 60vh)}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height-internal:var(--calcite-shell-panel-detached-max-height, 80vh)}.container{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{box-sizing:border-box}:host([layout=horizontal]) .container{flex-direction:column}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .separator{inset-block:0px;block-size:100%;inline-size:0.125rem;cursor:col-resize}:host([layout=horizontal][position=start]) .separator{inset-block-end:0px}:host([layout=horizontal][position=end]) .separator{inset-block-start:0px}:host([layout=horizontal]) .separator{inset-inline-end:0px;block-size:0.125rem;inline-size:100%;cursor:row-resize}:host([layout=vertical][position=start]) .separator{inset-inline-end:-2px}:host([layout=horizontal][position=start]) .separator{inset-block-end:-2px}:host([layout=vertical][position=end]) .separator{inset-inline-start:-2px}:host([layout=horizontal][position=end]) .separator{inset-block-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]) .content{inline-size:var(--calcite-shell-panel-width-internal);max-inline-size:var(--calcite-shell-panel-max-width-internal);min-inline-size:var(--calcite-shell-panel-min-width-internal)}:host([layout=horizontal]) .content{block-size:var(--calcite-shell-panel-height-internal);max-block-size:var(--calcite-shell-panel-max-height-internal);min-block-size:var(--calcite-shell-panel-min-height-internal)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--detached{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-detached-max-height-internal)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-block-size:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}\";\n\nconst ShellPanel = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.initialContentWidth = null;\n this.initialContentHeight = null;\n this.initialClientX = null;\n this.initialClientY = null;\n this.contentWidthMax = null;\n this.contentWidthMin = null;\n this.contentHeightMax = null;\n this.contentHeightMin = null;\n this.step = 1;\n this.stepMultiplier = 10;\n this.actionBars = [];\n this.storeContentEl = (contentEl) => {\n this.contentEl = contentEl;\n };\n this.getKeyAdjustedSize = (event) => {\n const { key } = event;\n const { el, step, stepMultiplier, layout, contentWidthMin, contentWidthMax, initialContentWidth, initialContentHeight, contentHeightMin, contentHeightMax, position } = this;\n const multipliedStep = step * stepMultiplier;\n const MOVEMENT_KEYS = [\n \"ArrowUp\",\n \"ArrowDown\",\n \"ArrowLeft\",\n \"ArrowRight\",\n \"Home\",\n \"End\",\n \"PageUp\",\n \"PageDown\"\n ];\n if (MOVEMENT_KEYS.indexOf(key) > -1) {\n event.preventDefault();\n }\n const dir = getElementDir(el);\n const horizontalKeys = [\"ArrowLeft\", \"ArrowRight\"];\n const verticalKeys = [\"ArrowDown\", \"ArrowUp\"];\n const directionFactor = dir === \"rtl\" && horizontalKeys.includes(key) ? -1 : 1;\n const increaseKeys = layout === \"horizontal\"\n ? position === \"end\"\n ? key === verticalKeys[1] || key === horizontalKeys[0]\n : key === verticalKeys[0] || key === horizontalKeys[1]\n : key === verticalKeys[1] ||\n (position === \"end\" ? key === horizontalKeys[0] : key === horizontalKeys[1]);\n if (increaseKeys) {\n const stepValue = event.shiftKey ? multipliedStep : step;\n return layout === \"horizontal\"\n ? initialContentHeight + directionFactor * stepValue\n : initialContentWidth + directionFactor * stepValue;\n }\n const decreaseKeys = layout === \"horizontal\"\n ? position === \"end\"\n ? key === verticalKeys[0] || key === horizontalKeys[0]\n : key === verticalKeys[1] || key === horizontalKeys[1]\n : key === verticalKeys[0] ||\n (position === \"end\" ? key === horizontalKeys[1] : key === horizontalKeys[0]);\n if (decreaseKeys) {\n const stepValue = event.shiftKey ? multipliedStep : step;\n return layout === \"horizontal\"\n ? initialContentHeight - directionFactor * stepValue\n : initialContentWidth - directionFactor * stepValue;\n }\n if (key === \"Home\" && layout === \"horizontal\" && typeof contentHeightMin === \"number\") {\n return contentHeightMin;\n }\n if (key === \"Home\" && layout === \"vertical\" && typeof contentWidthMin === \"number\") {\n return contentWidthMin;\n }\n if (key === \"End\" && layout === \"horizontal\" && typeof contentHeightMax === \"number\") {\n return contentHeightMax;\n }\n if (key === \"End\" && layout === \"vertical\" && typeof contentWidthMax === \"number\") {\n return contentWidthMax;\n }\n if (key === \"PageDown\") {\n return layout === \"horizontal\"\n ? initialContentHeight - multipliedStep\n : initialContentWidth - multipliedStep;\n }\n if (key === \"PageUp\") {\n return layout === \"horizontal\"\n ? initialContentHeight + multipliedStep\n : initialContentWidth + multipliedStep;\n }\n return null;\n };\n this.initialKeydownWidth = (event) => {\n this.setInitialContentWidth();\n const width = this.getKeyAdjustedSize(event);\n if (typeof width === \"number\") {\n this.setContentWidth(width);\n }\n };\n this.initialKeydownHeight = (event) => {\n this.setInitialContentHeight();\n const height = this.getKeyAdjustedSize(event);\n if (typeof height === \"number\") {\n this.setContentHeight(height);\n }\n };\n this.separatorKeyDown = (event) => {\n this.layout === \"horizontal\"\n ? this.initialKeydownHeight(event)\n : this.initialKeydownWidth(event);\n };\n this.separatorPointerMove = (event) => {\n event.preventDefault();\n const { el, layout, initialContentWidth, initialContentHeight, position, initialClientX, initialClientY } = this;\n const offset = layout === \"horizontal\" ? event.clientY - initialClientY : event.clientX - initialClientX;\n const adjustmentDirection = layout === \"vertical\" && getElementDir(el) === \"rtl\" ? -1 : 1;\n const adjustedOffset = layout === \"horizontal\"\n ? position === \"end\"\n ? -adjustmentDirection * offset\n : adjustmentDirection * offset\n : position === \"end\"\n ? -adjustmentDirection * offset\n : adjustmentDirection * offset;\n layout === \"horizontal\"\n ? this.setContentHeight(initialContentHeight + adjustedOffset)\n : this.setContentWidth(initialContentWidth + adjustedOffset);\n };\n this.separatorPointerUp = (event) => {\n if (!isPrimaryPointerButton(event)) {\n return;\n }\n event.preventDefault();\n document.removeEventListener(\"pointerup\", this.separatorPointerUp);\n document.removeEventListener(\"pointermove\", this.separatorPointerMove);\n };\n this.setInitialContentHeight = () => {\n this.initialContentHeight = this.contentEl?.getBoundingClientRect().height;\n };\n this.setInitialContentWidth = () => {\n this.initialContentWidth = this.contentEl?.getBoundingClientRect().width;\n };\n this.separatorPointerDown = (event) => {\n if (!isPrimaryPointerButton(event)) {\n return;\n }\n event.preventDefault();\n const { separatorEl } = this;\n separatorEl && document.activeElement !== separatorEl && separatorEl.focus();\n if (this.layout === \"horizontal\") {\n this.setInitialContentHeight();\n this.initialClientY = event.clientY;\n }\n else {\n this.setInitialContentWidth();\n this.initialClientX = event.clientX;\n }\n document.addEventListener(\"pointerup\", this.separatorPointerUp);\n document.addEventListener(\"pointermove\", this.separatorPointerMove);\n };\n this.connectSeparator = (separatorEl) => {\n this.disconnectSeparator();\n this.separatorEl = separatorEl;\n separatorEl.addEventListener(\"pointerdown\", this.separatorPointerDown);\n };\n this.disconnectSeparator = () => {\n this.separatorEl?.removeEventListener(\"pointerdown\", this.separatorPointerDown);\n };\n this.setActionBarsLayout = (actionBars) => {\n actionBars.forEach((actionBar) => (actionBar.layout = this.layout));\n };\n this.handleActionBarSlotChange = (event) => {\n const actionBars = slotChangeGetAssignedElements(event).filter((el) => el?.matches(\"calcite-action-bar\"));\n this.actionBars = actionBars;\n this.setActionBarsLayout(actionBars);\n };\n this.collapsed = false;\n this.detached = false;\n this.detachedHeightScale = \"l\";\n this.widthScale = \"m\";\n this.layout = \"vertical\";\n this.position = undefined;\n this.resizable = false;\n this.messages = undefined;\n this.messageOverrides = undefined;\n this.contentWidth = null;\n this.contentHeight = null;\n this.defaultMessages = undefined;\n this.effectiveLocale = \"\";\n }\n layoutHandler() {\n this.setActionBarsLayout(this.actionBars);\n }\n onMessagesChange() {\n /* wired up by t9n util */\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n connectedCallback() {\n connectConditionalSlotComponent(this);\n connectLocalized(this);\n connectMessages(this);\n }\n async componentWillLoad() {\n await setUpMessages(this);\n }\n disconnectedCallback() {\n disconnectConditionalSlotComponent(this);\n this.disconnectSeparator();\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n componentDidLoad() {\n this.updateAriaValues();\n }\n effectiveLocaleChange() {\n updateMessages(this, this.effectiveLocale);\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderHeader() {\n const { el } = this;\n const hasHeader = getSlotted(el, SLOTS.header);\n return hasHeader ? (h(\"div\", { class: CSS.contentHeader, key: \"header\" }, h(\"slot\", { name: SLOTS.header }))) : null;\n }\n render() {\n const { collapsed, detached, position, initialContentWidth, initialContentHeight, contentWidth, contentWidthMax, contentWidthMin, contentHeight, contentHeightMax, contentHeightMin, resizable, layout } = this;\n const allowResizing = !detached && resizable;\n const style = allowResizing\n ? layout === \"horizontal\"\n ? contentHeight\n ? { height: `${contentHeight}px` }\n : null\n : contentWidth\n ? { width: `${contentWidth}px` }\n : null\n : null;\n const contentNode = (h(\"div\", { class: { [CSS.content]: true, [CSS.contentDetached]: detached }, hidden: collapsed, key: \"content\", style: style,\n // eslint-disable-next-line react/jsx-sort-props\n ref: this.storeContentEl }, this.renderHeader(), h(\"div\", { class: CSS.contentBody }, h(\"slot\", null))));\n const separatorNode = allowResizing ? (h(\"div\", { \"aria-label\": this.messages.resize, \"aria-orientation\": layout === \"horizontal\" ? \"vertical\" : \"horizontal\", \"aria-valuemax\": layout == \"horizontal\" ? contentHeightMax : contentWidthMax, \"aria-valuemin\": layout == \"horizontal\" ? contentHeightMin : contentWidthMin, \"aria-valuenow\": layout == \"horizontal\"\n ? contentHeight ?? initialContentHeight\n : contentWidth ?? initialContentWidth, class: CSS.separator, key: \"separator\", onKeyDown: this.separatorKeyDown, role: \"separator\", tabIndex: 0, \"touch-action\": \"none\",\n // eslint-disable-next-line react/jsx-sort-props\n ref: this.connectSeparator })) : null;\n const actionBarNode = (h(\"slot\", { key: \"action-bar\", name: SLOTS.actionBar, onSlotchange: this.handleActionBarSlotChange }));\n const mainNodes = [actionBarNode, contentNode, separatorNode];\n if (position === \"end\") {\n mainNodes.reverse();\n }\n return h(\"div\", { class: { [CSS.container]: true } }, mainNodes);\n }\n // --------------------------------------------------------------------------\n //\n // private Methods\n //\n // --------------------------------------------------------------------------\n setContentWidth(width) {\n const { contentWidthMax, contentWidthMin } = this;\n const roundedWidth = Math.round(width);\n this.contentWidth =\n typeof contentWidthMax === \"number\" && typeof contentWidthMin === \"number\"\n ? clamp(roundedWidth, contentWidthMin, contentWidthMax)\n : roundedWidth;\n }\n updateAriaValues() {\n const { contentEl } = this;\n const computedStyle = contentEl && getComputedStyle(contentEl);\n if (!computedStyle) {\n return;\n }\n this.layout === \"horizontal\"\n ? this.updateHeights(computedStyle)\n : this.updateWidths(computedStyle);\n forceUpdate(this);\n }\n setContentHeight(height) {\n const { contentHeightMax, contentHeightMin } = this;\n const roundedWidth = Math.round(height);\n this.contentHeight =\n typeof contentHeightMax === \"number\" && typeof contentHeightMin === \"number\"\n ? clamp(roundedWidth, contentHeightMin, contentHeightMax)\n : roundedWidth;\n }\n updateWidths(computedStyle) {\n const max = parseInt(computedStyle.getPropertyValue(\"max-width\"), 10);\n const min = parseInt(computedStyle.getPropertyValue(\"min-width\"), 10);\n const valueNow = parseInt(computedStyle.getPropertyValue(\"width\"), 10);\n if (typeof valueNow === \"number\" && !isNaN(valueNow)) {\n this.initialContentWidth = valueNow;\n }\n if (typeof max === \"number\" && !isNaN(max)) {\n this.contentWidthMax = max;\n }\n if (typeof min === \"number\" && !isNaN(min)) {\n this.contentWidthMin = min;\n }\n }\n updateHeights(computedStyle) {\n const max = parseInt(computedStyle.getPropertyValue(\"max-height\"), 10);\n const min = parseInt(computedStyle.getPropertyValue(\"min-height\"), 10);\n const valueNow = parseInt(computedStyle.getPropertyValue(\"height\"), 10);\n if (typeof valueNow === \"number\" && !isNaN(valueNow)) {\n this.initialContentHeight = valueNow;\n }\n if (typeof max === \"number\" && !isNaN(max)) {\n this.contentHeightMax = max;\n }\n if (typeof min === \"number\" && !isNaN(min)) {\n this.contentHeightMin = min;\n }\n }\n static get assetsDirs() { return [\"assets\"]; }\n get el() { return getElement(this); }\n static get watchers() { return {\n \"layout\": [\"layoutHandler\"],\n \"messageOverrides\": [\"onMessagesChange\"],\n \"effectiveLocale\": [\"effectiveLocaleChange\"]\n }; }\n};\nShellPanel.style = shellPanelCss;\n\nexport { Shell as calcite_shell, ShellCenterRow as calcite_shell_center_row, ShellPanel as calcite_shell_panel };\n","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.3.1\n */\nimport { f as forceUpdate } from './index-965fa063.js';\nimport { c as createObserver } from './observers-a18d699e.js';\n\nconst observed = new Set();\nlet mutationObserver;\nconst observerOptions = { childList: true };\n/**\n * Helper to set up a conditional slot component on connectedCallback.\n *\n * @param component\n * @deprecated Use `onSlotchange` event with `slotChangeHasAssignedElement` DOM utility instead.\n *\n * ```\n * this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}\n * ```\n */\nfunction connectConditionalSlotComponent(component) {\n if (!mutationObserver) {\n mutationObserver = createObserver(\"mutation\", processMutations);\n }\n mutationObserver.observe(component.el, observerOptions);\n}\n/**\n * Helper to tear down a conditional slot component on disconnectedCallback.\n *\n * @param component\n * @deprecated Use `onSlotchange` event with `slotChangeHasAssignedElement` DOM utility instead.\n *\n * ```\n * this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}\n * ```\n */\nfunction disconnectConditionalSlotComponent(component) {\n observed.delete(component.el);\n // we explicitly process queued mutations and disconnect and reconnect\n // the observer until MutationObserver gets an `unobserve` method\n // see https://github.com/whatwg/dom/issues/126\n processMutations(mutationObserver.takeRecords());\n mutationObserver.disconnect();\n for (const [element] of observed.entries()) {\n mutationObserver.observe(element, observerOptions);\n }\n}\nfunction processMutations(mutations) {\n mutations.forEach(({ target }) => {\n forceUpdate(target);\n });\n}\n\nexport { connectConditionalSlotComponent as c, disconnectConditionalSlotComponent as d };\n","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.3.1\n */\nconst clamp = (value, min, max) => Math.max(min, Math.min(value, max));\nconst decimalNumberRegex = new RegExp(/(?:\\.(\\d+))?(?:[eE]([+-]?\\d+))?$/);\nconst decimalPlaces = (value) => {\n const match = (\"\" + value).match(decimalNumberRegex);\n if (!match) {\n return 0;\n }\n return Math.max(0, \n // Number of digits right of decimal point.\n (match[1] ? match[1].length : 0) -\n // Adjust for scientific notation.\n (match[2] ? +match[2] : 0));\n};\n\nexport { clamp as c, decimalPlaces as d };\n"],"names":["CSS$2","SLOTS$2","Shell","constructor","hostRef","registerInstance","this","handleHeaderSlotChange","event","hasHeader","slotChangeHasAssignedElement","handleFooterSlotChange","hasFooter","handleAlertsSlotChange","hasAlerts","slotChangeGetAssignedElements","map","el","nodeName","slottedInShell","handleModalsSlotChange","hasModals","contentBehind","connectedCallback","connectConditionalSlotComponent","disconnectedCallback","disconnectConditionalSlotComponent","renderHeader","h","hidden","key","name","onSlotchange","renderFooter","class","renderAlerts","renderModals","renderContent","defaultSlotNode","deprecatedCenterRowSlotNode","panelBottomSlotNode","panelTopSlotNode","contentContainerKey","renderMain","renderPositionedSlots","render","Fragment","getElement","style","CSS$1","SLOTS$1","ShellCenterRow","detached","heightScale","position","contentNode","actionBar","getSlotted","layout","children","reverse","CSS","SLOTS","ShellPanel","initialContentWidth","initialContentHeight","initialClientX","initialClientY","contentWidthMax","contentWidthMin","contentHeightMax","contentHeightMin","step","stepMultiplier","actionBars","storeContentEl","contentEl","getKeyAdjustedSize","multipliedStep","indexOf","preventDefault","horizontalKeys","verticalKeys","directionFactor","getElementDir","includes","stepValue","shiftKey","initialKeydownWidth","setInitialContentWidth","width","setContentWidth","initialKeydownHeight","setInitialContentHeight","height","setContentHeight","separatorKeyDown","separatorPointerMove","offset","clientY","clientX","adjustmentDirection","adjustedOffset","separatorPointerUp","isPrimaryPointerButton","document","removeEventListener","getBoundingClientRect","separatorPointerDown","separatorEl","activeElement","focus","addEventListener","connectSeparator","disconnectSeparator","setActionBarsLayout","forEach","handleActionBarSlotChange","filter","matches","collapsed","detachedHeightScale","widthScale","undefined","resizable","messages","messageOverrides","contentWidth","contentHeight","defaultMessages","effectiveLocale","layoutHandler","onMessagesChange","connectLocalized","connectMessages","setUpMessages","disconnectLocalized","disconnectMessages","componentDidLoad","updateAriaValues","effectiveLocaleChange","updateMessages","allowResizing","ref","separatorNode","resize","onKeyDown","role","tabIndex","mainNodes","roundedWidth","Math","round","clamp","computedStyle","getComputedStyle","updateHeights","updateWidths","forceUpdate","max","parseInt","getPropertyValue","min","valueNow","isNaN","assetsDirs","watchers","observed","Set","mutationObserver","observerOptions","childList","component","createObserver","processMutations","observe","delete","takeRecords","disconnect","element","entries","mutations","target","value","decimalNumberRegex","RegExp","decimalPlaces","match","length"],"sourceRoot":""}