/*! For license information please see 95887.55a7ba3c4c98ac53.js.LICENSE.txt */
"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[95887],{95887:(e,i,t)=>{t.r(i),t.d(i,{ion_split_pane:()=>d});var s=t(10467),o=t(96317),n=t(74346);const l="split-pane-main",a="split-pane-side",r={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",never:""},d=class{constructor(e){(0,o.r)(this,e),this.ionSplitPaneVisible=(0,o.c)(this,"ionSplitPaneVisible",7),this.visible=!1,this.contentId=void 0,this.disabled=!1,this.when=r.lg}visibleChanged(e){this.ionSplitPaneVisible.emit({visible:e})}isVisible(){var e=this;return(0,s.A)((function*(){return Promise.resolve(e.visible)}))()}connectedCallback(){var e=this;return(0,s.A)((function*(){"undefined"!=typeof customElements&&null!=customElements&&(yield customElements.whenDefined("ion-split-pane")),e.styleMainElement(),e.updateState()}))()}disconnectedCallback(){this.rmL&&(this.rmL(),this.rmL=void 0)}updateState(){if(this.rmL&&(this.rmL(),this.rmL=void 0),this.disabled)return this.visible=!1,void 0;const e=this.when;if("boolean"==typeof e)return this.visible=e,void 0;const i=r[e]||e;if(0===i.length)return this.visible=!1,void 0;const callback=e=>{this.visible=e.matches},t=window.matchMedia(i);t.addListener(callback),this.rmL=()=>t.removeListener(callback),this.visible=t.matches}styleMainElement(){const e=this.contentId,i=this.el.children,t=this.el.childElementCount;let s=!1;for(let o=0;o<t;o++){const t=i[o],n=void 0!==e&&t.id===e;if(n){if(s)return console.warn("split pane cannot have more than one main node"),void 0;setPaneClass(t,n),s=!0}}s||console.warn("split pane does not have a specified main node")}render(){const e=(0,n.b)(this);return(0,o.h)(o.e,{key:"76be70d7fbebc52646a5851f47accc1006615b85",class:{[e]:!0,[`split-pane-${e}`]:!0,"split-pane-visible":this.visible}},(0,o.h)("slot",{key:"9a859530f4fb18aff43255bc3940feb9aca625d7"}))}get el(){return(0,o.f)(this)}static get watchers(){return{visible:["visibleChanged"],disabled:["updateState"],when:["updateState"]}}},setPaneClass=(e,i)=>{let t,s;i?(t=l,s=a):(t=a,s=l);const o=e.classList;o.add(t),o.remove(s)};d.style={ios:":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-ms-flex:1;flex:1;-webkit-box-shadow:none;box-shadow:none;overflow:hidden;z-index:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host{--border:0.55px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--side-min-width:270px;--side-max-width:28%}",md:":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-ms-flex:1;flex:1;-webkit-box-shadow:none;box-shadow:none;overflow:hidden;z-index:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host{--border:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--side-min-width:270px;--side-max-width:28%}"}}}]);