@openmfp/portal-ui-lib 0.199.5 → 0.199.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -80,7 +80,7 @@ To prevent other runtimes from defining tags that you use, consider using scopin
80
80
  `;ie("slim-arrow-right",{pathData:"M5.178 2.87c-.237-.228-.237-.466 0-.715A.445.445 0 0 1 5.505 2c.119 0 .228.052.327.155l4.9 5.13c.179.207.268.446.268.715 0 .27-.09.497-.267.684l-4.901 5.16A.46.46 0 0 1 5.49 14a.46.46 0 0 1-.341-.155.503.503 0 0 1 0-.716L9.9 8.155c.119-.103.119-.217 0-.342L5.178 2.87Z",ltr:!1,viewBox:"0 0 16 16",collection:"SAP-icons-v4",packageName:"@ui5/webcomponents-icons"});ie("slim-arrow-right",{pathData:"M6.273 3.17a.75.75 0 0 1 1.056.103l3.5 4.247a.75.75 0 0 1 0 .955l-3.5 4.252a.75.75 0 0 1-1.158-.954l3.107-3.775-3.107-3.771a.75.75 0 0 1 .102-1.056Z",ltr:!1,viewBox:"0 0 16 16",collection:"SAP-icons-v5",packageName:"@ui5/webcomponents-icons"});n7="slim-arrow-right",Gt=function(e,t,i,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(o<3?a(n):o>3?a(t,i,n):a(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n},Bt=Kr=class extends Eo{constructor(){super(),this.type="Active",this.accessibilityAttributes={},this.navigated=!1,this.active=!1,this.highlight="None",this._selectionMode="None",this._editMode=!1,this.mediaRange="S",this.deactivateByKey=e=>{Nt(e)&&this.deactivate()},this.deactivate=()=>{this.active&&(this.active=!1)}}onBeforeRendering(){super.onBeforeRendering(),this.actionable=(this.type===Zi.Active||this.type===Zi.Navigation)&&this._selectionMode!==qe.Delete}onEnterDOM(){super.onEnterDOM(),document.addEventListener("mouseup",this.deactivate),document.addEventListener("touchend",this.deactivate),document.addEventListener("keyup",this.deactivateByKey)}onExitDOM(){document.removeEventListener("mouseup",this.deactivate),document.removeEventListener("keyup",this.deactivateByKey),document.removeEventListener("touchend",this.deactivate)}_onkeydown(e){let t=e.target!==this.getFocusDomRef();if((Ue(e)||Nt(e))&&t)return;super._onkeydown(e);let i=this.type===Zi.Active,r=this.typeNavigation;(Ue(e)||Nt(e))&&(i||r)&&this.activate(),jd(e)&&this._handleF2()}_onkeyup(e){super._onkeyup(e),(Ue(e)||Nt(e))&&this.deactivate(),this.modeDelete&&Vd(e)&&this.onDelete()}_onmousedown(){this.activate()}_onmouseup(){this.getFocusDomRef().matches(":has(:focus-within)")||this.deactivate()}_ontouchend(){this._onmouseup()}_onfocusin(e){super._onfocusin(e),e.target!==this.getFocusDomRef()&&this.deactivate()}_onfocusout(e){if(this._editMode){let t=e.relatedTarget;(!t||!(this.contains(t)||this.shadowRoot.contains(t)))&&(this._editMode=!1)}e.target===this.getFocusDomRef()&&this.deactivate()}_ondragstart(e){e.dataTransfer&&e.target===this._listItem&&(oa.setDraggedElement(this,e),this.setAttribute("data-moving",""),e.dataTransfer.dropEffect="move",e.dataTransfer.effectAllowed="move")}_ondragend(e){e.target===this._listItem&&(oa.clearDraggedElement(),this.removeAttribute("data-moving"))}onMultiSelectionComponentPress(e){this.isInactive||this.fireDecoratorEvent("selection-requested",{item:this,selected:e.target.checked,selectionComponentPressed:!0})}onSingleSelectionComponentPress(e){this.isInactive||this.fireDecoratorEvent("selection-requested",{item:this,selected:!e.target.checked,selectionComponentPressed:!0})}activate(){(this.type===Zi.Active||this.type===Zi.Navigation)&&(this.active=!0)}onDelete(){this.fireDecoratorEvent("selection-requested",{item:this,selectionComponentPressed:!1})}onDetailClick(){this.fireDecoratorEvent("detail-click",{item:this,selected:this.selected})}fireItemPress(e){this.isInactive||(super.fireItemPress(e),document.activeElement!==this&&this.focus())}get isInactive(){return this.type===Zi.Inactive||this.type===Zi.Detail}get placeSelectionElementBefore(){return this._selectionMode===qe.Multiple||this._selectionMode===qe.SingleStart}get placeSelectionElementAfter(){return!this.placeSelectionElementBefore&&(this._selectionMode===qe.SingleEnd||this._selectionMode===qe.Delete)}get modeSingleSelect(){return[qe.SingleStart,qe.SingleEnd,qe.Single].includes(this._selectionMode)}get modeMultiple(){return this._selectionMode===qe.Multiple}get modeDelete(){return this._selectionMode===qe.Delete}get typeDetail(){return this.type===Zi.Detail}get typeNavigation(){return this.type===Zi.Navigation}get typeActive(){return this.type===Zi.Active}get _ariaSelected(){if(this.modeMultiple||this.modeSingleSelect)return this.selected}get listItemAccessibleRole(){return this._forcedAccessibleRole?this._forcedAccessibleRole:this.accessibleRole?this.accessibleRole.toLowerCase():this._inheritedAccessibleRole||"listitem"}get ariaSelectedText(){let e;return this._ariaSelected!==void 0&&(e=this._ariaSelected?Kr.i18nBundle.getText(kb):Kr.i18nBundle.getText(Tb)),e}get deleteText(){return Kr.i18nBundle.getText(AS)}get hasDeleteButtonSlot(){return!!this.deleteButton.length}get _accessibleNameRef(){return this.accessibleName?`${this._id}-invisibleText`:`${this._id}-content ${this._id}-invisibleText`}get ariaLabelledByText(){return[this._accInfo.listItemAriaLabel,this.accessibleName,this.typeActive?Kr.i18nBundle.getText(US):void 0].filter(Boolean).join(" ")}get _ariaDescribedByIds(){return`${this._id}-invisibleText-describedby`}get _accInfo(){return{role:this.listItemAccessibleRole,ariaExpanded:void 0,ariaLevel:void 0,ariaLabel:Kr.i18nBundle.getText(qS),ariaLabelRadioButton:Kr.i18nBundle.getText(GS),ariaSelected:this._ariaSelected,ariaSelectedText:this.ariaSelectedText,ariaHaspopup:this.accessibilityAttributes.hasPopup,setsize:this.accessibilityAttributes.ariaSetsize,posinset:this.accessibilityAttributes.ariaPosinset,tooltip:this.tooltip,ariaDescribedBy:this._ariaDescribedByIds||void 0}}get _hasHighlightColor(){return this.highlight!==i7.None}get hasConfigurableMode(){return!0}get _listItem(){return this.shadowRoot.querySelector("li")}_handleF2(){let e=this.getFocusDomRef();if(Qi()===e){let t=this._getFocusableElements();if(!t.length)return;this._editMode=!0,t[0].focus()}else this._editMode=!1,e.focus()}_handleTabNext(e){if(this._editMode){let t=this._getFocusableElements(),i=this._indexOfActiveElement(t),r=i+1;i!==-1&&r<t.length?(e.preventDefault(),t[r].focus()):this.fireDecoratorEvent("forward-after")||e.preventDefault();return}this.fireDecoratorEvent("forward-after")||e.preventDefault()}_handleTabPrevious(e){if(this._editMode){let t=this._getFocusableElements(),i=this._indexOfActiveElement(t);i>0?(e.preventDefault(),t[i-1].focus()):this.fireDecoratorEvent("forward-before")||e.preventDefault();return}this.fireDecoratorEvent("forward-before")||e.preventDefault()}_getFocusableElements(){return sf(this.getFocusDomRef())}_indexOfActiveElement(e){let t=Qi();return e.findIndex(i=>i===t||i.shadowRoot!==null&&i.shadowRoot.contains(t))}_getFocusedElementIndex(){return this._indexOfActiveElement(this._getFocusableElements())}_hasFocusableElements(){return this._getFocusableElements().length>0}_isFocusOnInternalElement(){return this._indexOfActiveElement(this._getFocusableElements())!==-1}_focusInternalElement(e){let t=this._getFocusableElements();if(!t.length)return;let i=Math.min(e,t.length-1);return t[i].focus(),i}};Gt([v()],Bt.prototype,"type",void 0);Gt([v({type:Object})],Bt.prototype,"accessibilityAttributes",void 0);Gt([v({type:Boolean})],Bt.prototype,"navigated",void 0);Gt([v()],Bt.prototype,"tooltip",void 0);Gt([v({type:Boolean})],Bt.prototype,"active",void 0);Gt([v()],Bt.prototype,"highlight",void 0);Gt([v({type:Boolean})],Bt.prototype,"selected",void 0);Gt([v()],Bt.prototype,"accessibleRole",void 0);Gt([v()],Bt.prototype,"_forcedAccessibleRole",void 0);Gt([v({noAttribute:!0})],Bt.prototype,"_inheritedAccessibleRole",void 0);Gt([v()],Bt.prototype,"_selectionMode",void 0);Gt([v()],Bt.prototype,"mediaRange",void 0);Gt([$e()],Bt.prototype,"deleteButton",void 0);Gt([lt("@ui5/webcomponents")],Bt,"i18nBundle",void 0);Bt=Kr=Gt([ye({languageAware:!0,renderer:it,styles:[Eo.styles,o7,r7]}),V("detail-click",{bubbles:!0}),V("selection-requested",{bubbles:!0})],Bt);B1=Bt,a7=class{static hasGroup(e){return this.groups.has(e)}static getGroup(e){return this.groups.get(e)}static getCheckedRadioFromGroup(e){return this.checkedRadios.get(e)}static removeGroup(e){return this.checkedRadios.delete(e),this.groups.delete(e)}static addToGroup(e,t){this.hasGroup(t)?(this.enforceSingleSelection(e,t),this.getGroup(t)&&this.getGroup(t).push(e)):this.createGroup(e,t),this.updateTabOrder(t)}static removeFromGroup(e,t){let i=this.getGroup(t);if(!i)return;let r=this.getCheckedRadioFromGroup(t);i.forEach((o,n,a)=>{if(e._id===o._id)return a.splice(n,1)}),r===e&&this.checkedRadios.set(t,null),i.length||this.removeGroup(t),this.updateTabOrder(t)}static createGroup(e,t){e.checked&&this.checkedRadios.set(t,e),this.groups.set(t,[e])}static selectNextItem(e,t){let i=this.getGroup(t);if(!i)return;let r=i.length,o=i.indexOf(e);if(r<=1)return;let n=this._nextFocusable(o,i);n&&this.updateSelectionInGroup(n,t)}static updateFormValidity(e){let t=this.getGroup(e);if(!t)return;let i=t.some(o=>o.required),r=t.some(o=>o.checked);t.forEach(o=>{o._groupChecked=r,o._groupRequired=i})}static updateTabOrder(e){let t=this.getGroup(e);if(!t)return;let i=t.some(r=>r.checked);t.filter(r=>!r.disabled).forEach((r,o)=>{let n=Qi();n?.classList.contains("ui5-radio-root")&&(n=n.getRootNode(),n instanceof ShadowRoot&&(n=n.host)),i?n?.hasAttribute("ui5-radio-button")&&n.readonly?r._tabIndex=n===r&&r.readonly?0:-1:r._tabIndex=r.checked?0:-1:r._tabIndex=o===0?0:-1})}static selectPreviousItem(e,t){let i=this.getGroup(t);if(!i)return;let r=i.length,o=i.indexOf(e);if(r<=1)return;let n=this._previousFocusable(o,i);n&&this.updateSelectionInGroup(n,t)}static selectItem(e,t){this.updateSelectionInGroup(e,t),this.updateTabOrder(t),this.updateFormValidity(t)}static updateSelectionInGroup(e,t){let i=this.getCheckedRadioFromGroup(t);i&&!e.readonly&&(this._deselectRadio(i),this.checkedRadios.set(t,e)),e&&(e.focus(),e.readonly?setTimeout(()=>{this.updateTabOrder(t)},0):this._selectRadio(e))}static _deselectRadio(e){e&&(e.checked=!1)}static _selectRadio(e){e.checked=!0,e._checked=!0,e.fireDecoratorEvent("change")}static _nextFocusable(e,t){if(!t)return null;let i=t.length,r=null;if(e===i-1){if(t[0].disabled)return this._nextFocusable(1,t);r=t[0]}else{if(t[e+1].disabled)return this._nextFocusable(e+1,t);r=t[e+1]}return r}static _previousFocusable(e,t){let i=t.length,r=null;if(e===0){if(t[i-1].disabled)return this._previousFocusable(i-1,t);r=t[i-1]}else{if(t[e-1].disabled)return this._previousFocusable(e-1,t);r=t[e-1]}return r}static enforceSingleSelection(e,t){let i=this.getCheckedRadioFromGroup(t);e.checked?i?e!==i&&(this._deselectRadio(i),this.checkedRadios.set(t,e)):this.checkedRadios.set(t,e):e===i&&this.checkedRadios.set(t,null),this.updateTabOrder(t),this.updateFormValidity(t)}static get groups(){return this._groups||(this._groups=new Map),this._groups}static get checkedRadios(){return this._checkedRadios||(this._checkedRadios=new Map),this._checkedRadios}},jr=a7;B("@ui5/webcomponents-theming","sap_horizon",async()=>J);B("@ui5/webcomponents","sap_horizon",async()=>ee,"host");l7=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{vertical-align:middle}:host(:not([hidden])){display:inline-flex;align-items:center}:host{min-width:var(--_ui5_radio_button_min_width);max-width:100%;text-overflow:ellipsis;overflow:hidden;color:var(--_ui5_radio_button_color);border-radius:var(--_ui5_radio_button_border_radius);font-size:var(--sapFontSize)}:host(:not([disabled])) .ui5-radio-root{cursor:pointer}:host([checked]){color:var(--_ui5_radio_button_checked_fill)}:host([checked]) .ui5-radio-svg-inner{fill:var(--_ui5_radio_button_inner_ring_color)}:host([checked]) .ui5-radio-svg-outer{stroke:var(--_ui5_radio_button_outer_ring_color)}:host([disabled]) .ui5-radio-root{color:var(--_ui5_radio_button_color);opacity:var(--sapContent_DisabledOpacity)}:host([disabled][checked]) .ui5-radio-svg-outer{stroke:var(--_ui5_radio_button_color)}:host(:not([disabled])[desktop]) .ui5-radio-root:focus:before,:host(:not([disabled])) .ui5-radio-root:focus-visible:before{content:"";display:var(--_ui5_radio_button_focus_outline);position:absolute;inset:var(--_ui5_radio_button_focus_dist);pointer-events:none;border:var(--_ui5_radio_button_border_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--_ui5_radio_button_border_radius)}:host(:not([value-state="Negative"]):not([value-state="Critical"]):not([value-state="Positive"]):not([value-state="Information"])) .ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer{stroke:var(--_ui5_radio_button_outer_ring_hover_color)}:host(:not([value-state="Negative"]):not([value-state="Critical"]):not([value-state="Positive"]):not([value-state="Information"])[checked]) .ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer{stroke:var(--_ui5_radio_button_outer_ring_checked_hover_color)}.ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer,:host([checked]) .ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5_radio_button_hover_fill)}:host([active][checked]:not([value-state]):not([disabled]):not([readonly])) .ui5-radio-svg-outer{stroke:var(--_ui5_radio_button_outer_ring_checked_hover_color)}:host([active]:not([checked]):not([value-state]):not([disabled]):not([readonly])) .ui5-radio-svg-outer{stroke:var(--_ui5_radio_button_outer_ring_active_color)}:host([text]) .ui5-radio-root{padding-inline-end:var(--_ui5_radio_button_border_width)}:host([text][desktop]) .ui5-radio-root:focus:before,:host([text]) .ui5-radio-root:focus-visible:before{inset-inline-end:0}:host([text]) .ui5-radio-inner{padding-inline-end:var(--_ui5_radio_button_outer_ring_padding_with_label)}:host([checked][readonly]) .ui5-radio-svg-inner{fill:var(--_ui5_radio_button_read_only_inner_ring_color)}:host([readonly]) .ui5-radio-root .ui5-radio-svg-outer{fill:var(--sapField_ReadOnly_Background);stroke:var(--sapField_ReadOnly_BorderColor);stroke-dasharray:var(--_ui5_radio_button_read_only_border_type);stroke-width:var(--_ui5_radio_button_read_only_border_width)}:host([value-state="Negative"]) .ui5-radio-svg-outer,:host([value-state="Critical"]) .ui5-radio-svg-outer{stroke-width:var(--sapField_InvalidBorderWidth)}:host([value-state="Information"]) .ui5-radio-svg-outer{stroke-width:var(--_ui5_radio_button_information_border_width)}:host([value-state="Negative"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5_radio_button_checked_error_fill)}:host([value-state="Negative"]) .ui5-radio-svg-outer,:host([value-state="Negative"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable:hover .ui5-radio-svg-outer{stroke:var(--sapField_InvalidColor);fill:var(--sapField_InvalidBackground)}:host([value-state="Negative"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5_radio_button_hover_fill_error)}:host([value-state="Critical"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5_radio_button_checked_warning_fill)}:host([value-state="Critical"]) .ui5-radio-svg-outer,:host([value-state="Critical"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable:hover .ui5-radio-svg-outer{stroke:var(--sapField_WarningColor);fill:var(--sapField_WarningBackground)}:host([value-state="Critical"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5_radio_button_hover_fill_warning)}:host([value-state="Positive"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5_radio_button_checked_success_fill)}:host([value-state="Positive"]) .ui5-radio-svg-outer,:host([value-state="Positive"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable:hover .ui5-radio-svg-outer{stroke:var(--sapField_SuccessColor);fill:var(--sapField_SuccessBackground)}:host([value-state="Positive"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5_radio_button_hover_fill_success)}:host([value-state="Information"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5_radio_button_checked_information_fill)}:host([value-state="Information"]) .ui5-radio-svg-outer,:host([value-state="Information"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable:hover .ui5-radio-svg-outer{stroke:var(--sapField_InformationColor);fill:var(--sapField_InformationBackground)}:host([value-state="Information"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5_radio_button_hover_fill_information)}:host([value-state="Negative"]) .ui5-radio-root,:host([value-state="Critical"]) .ui5-radio-root,:host([value-state="Information"]) .ui5-radio-root{stroke-dasharray:var(--_ui5_radio_button_warning_error_border_dash)}.ui5-radio-root{height:auto;position:relative;display:inline-flex;align-items:center;flex-wrap:nowrap;outline:none;max-width:100%;box-sizing:border-box;border:var(--_ui5_radio_button_border);border-radius:var(--_ui5_radio_button_border_radius);padding-block:var(--_ui5_radio_button_label_side_padding);padding-inline-start:var(--_ui5_radio_button_outer_ring_padding)}:host([text]) .ui5-radio-root{padding-inline-start:var(--_ui5_radio_button_outer_ring_padding_with_label)}.ui5-radio-inner{display:flex;align-items:center;align-self:start;padding-inline-end:var(--_ui5_radio_button_outer_ring_padding);flex:1;pointer-events:none}.ui5-radio-inner{outline:none}.ui5-radio-inner input{-webkit-appearance:none;visibility:hidden;width:0;left:0;position:absolute;font-size:inherit;margin:0}[ui5-label].ui5-radio-label{display:flex;align-items:center;padding-inline-end:var(--_ui5_radio_button_label_offset);max-width:100%;pointer-events:none;color:var(--_ui5_radio_button_label_color);overflow-wrap:break-word;font-size:inherit}:host([wrapping-type="None"][text]) [ui5-label].ui5-radio-label{text-overflow:ellipsis;overflow:hidden}.ui5-radio-svg{height:var(--_ui5_radio_button_svg_size);width:var(--_ui5_radio_button_svg_size);overflow:visible;pointer-events:none}.ui5-radio-svg-outer{fill:var(--_ui5_radio_button_outer_ring_bg);stroke:currentColor;stroke-width:var(--_ui5_radio_button_outer_ring_width)}.ui5-radio-svg-inner{fill:none;r:var(--_ui5_radio_button_inner_ring_radius)}.ui5-radio-svg-outer,.ui5-radio-svg-inner{flex-shrink:0}:host(.ui5-li-singlesel-radiobtn) .ui5-radio-root .ui5-radio-inner .ui5-radio-svg-outer{fill:var(--sapList_Background)}
81
81
  `,Et=function(e,t,i,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(o<3?a(n):o>3?a(t,i,n):a(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n},Em=!1,nt=Mo=class extends mt{get formValidityMessage(){return Mo.i18nBundle.getText(lk)}get formValidity(){return{valueMissing:this._groupRequired&&!this._groupChecked}}async formElementAnchor(){return this.getFocusDomRefAsync()}get formFormattedValue(){return this.checked?this.value||"on":null}constructor(){super(),this.disabled=!1,this.readonly=!1,this.required=!1,this.checked=!1,this.valueState="None",this.value="",this.wrappingType="Normal",this.active=!1,this._groupChecked=!1,this._groupRequired=!1,this._name="",this._checked=!1,this._deactivate=()=>{J_&&(J_.active=!1)},Em||(document.addEventListener("mouseup",this._deactivate),Em=!0)}onAfterRendering(){this.syncGroup()}onEnterDOM(){Ht()&&this.setAttribute("desktop","")}onExitDOM(){this.syncGroup(!0)}syncGroup(e){let t=this._name,i=this.name,r=this._checked,o=this.checked;e&&jr.removeFromGroup(this,t),i!==t?(t&&jr.removeFromGroup(this,t),i&&jr.addToGroup(this,i)):i&&this.isConnected&&jr.enforceSingleSelection(this,i),this.name&&o!==r&&jr.updateTabOrder(this.name),this._name=this.name||"",this._checked=this.checked}_onclick(){return this.toggle()}_handleDown(e){let t=this.name;t&&(e.preventDefault(),jr.selectNextItem(this,t))}_handleUp(e){let t=this.name;t&&(e.preventDefault(),jr.selectPreviousItem(this,t))}_onkeydown(e){if(Ue(e))return this.active=!0,e.preventDefault();if(Nt(e))return this.active=!0,this.toggle();let t=this.effectiveDir==="rtl";(Bi(e)||!t&&Bo(e)||t&&Ao(e))&&this._handleDown(e),(di(e)||!t&&Ao(e)||t&&Bo(e))&&this._handleUp(e)}_onkeyup(e){Ue(e)&&this.toggle(),this.active=!1}_onmousedown(){this.active=!0,J_=this}_onmouseup(){this.active=!1}_onfocusout(){this.active=!1}toggle(){return this.canToggle()?this.name?(jr.selectItem(this,this.name),this):(this.checked=!this.checked,this.fireDecoratorEvent("change"),this):this}canToggle(){return!(this.disabled||this.readonly||this.checked)}get effectiveAriaDisabled(){return this.disabled||this.readonly?!0:void 0}get ariaLabelText(){return ga(this)||void 0}get ariaLabelledBy(){if(!this.ariaLabelText)return this.text?`${this._id}-label`:void 0}get effectiveAriaDescribedBy(){return this.hasValueState?`${this._id}-descr`:void 0}get hasValueState(){return this.valueState!==be.None}get valueStateText(){switch(this.valueState){case be.Negative:return Mo.i18nBundle.getText(zp);case be.Critical:return Mo.i18nBundle.getText(Rp);case be.Positive:return Mo.i18nBundle.getText(Op);case be.Information:return Mo.i18nBundle.getText(Ib);default:return""}}get effectiveTabIndex(){let e=this.getAttribute("tabindex");return this.disabled?-1:this.name?this._tabIndex:e?parseInt(e):0}};Et([v({type:Boolean})],nt.prototype,"disabled",void 0);Et([v({type:Boolean})],nt.prototype,"readonly",void 0);Et([v({type:Boolean})],nt.prototype,"required",void 0);Et([v({type:Boolean})],nt.prototype,"checked",void 0);Et([v()],nt.prototype,"text",void 0);Et([v()],nt.prototype,"valueState",void 0);Et([v()],nt.prototype,"name",void 0);Et([v()],nt.prototype,"value",void 0);Et([v()],nt.prototype,"wrappingType",void 0);Et([v()],nt.prototype,"accessibleName",void 0);Et([v()],nt.prototype,"accessibleNameRef",void 0);Et([v({type:Number})],nt.prototype,"_tabIndex",void 0);Et([v({type:Boolean})],nt.prototype,"active",void 0);Et([v({type:Boolean,noAttribute:!0})],nt.prototype,"_groupChecked",void 0);Et([v({type:Boolean,noAttribute:!0})],nt.prototype,"_groupRequired",void 0);Et([lt("@ui5/webcomponents")],nt,"i18nBundle",void 0);nt=Mo=Et([ye({tag:"ui5-radio-button",languageAware:!0,formAssociated:!0,renderer:it,template:s7,styles:l7}),V("change",{bubbles:!0})],nt);nt.define();u7=nt;B("@ui5/webcomponents-theming","sap_horizon",async()=>J);B("@ui5/webcomponents","sap_horizon",async()=>ee,"host");c7=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{-webkit-tap-highlight-color:rgba(0,0,0,0)}:host{vertical-align:middle}:host(:not([hidden])){display:inline-block}:host([required]){vertical-align:middle}:host{overflow:hidden;max-width:100%;outline:none;border-radius:var(--_ui5_checkbox_border_radius);transition:var(--_ui5_checkbox_transition);cursor:pointer;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}:host([disabled]){cursor:default}:host([disabled]) .ui5-checkbox-root{opacity:var(--_ui5_checkbox_disabled_opacity)}:host([disabled]) .ui5-checkbox-inner{border-color:var(--_ui5_checkbox_inner_disabled_border_color)}:host([disabled]) .ui5-checkbox-label{color:var(--_ui5_checkbox_disabled_label_color)}:host([readonly]:not([value-state="Critical"]):not([value-state="Negative"])) .ui5-checkbox-inner{background:var(--sapField_ReadOnly_Background);border:var(--_ui5_checkbox_inner_readonly_border);color:var(--sapField_TextColor)}:host(:not([wrapping-type="None"])[text]) .ui5-checkbox-root{min-height:auto;box-sizing:border-box;align-items:flex-start;padding-top:var(--_ui5_checkbox_root_side_padding);padding-bottom:var(--_ui5_checkbox_root_side_padding)}:host(:not([wrapping-type="None"])[text]) .ui5-checkbox-root .ui5-checkbox-label{overflow-wrap:break-word;align-self:center}:host([desktop][text]:not([wrapping-type="None"])) .ui5-checkbox-root:focus:before,.ui5-checkbox-root[text]:focus-visible:before{inset-block:var(--_ui5_checkbox_wrapped_focus_inset_block)}:host([value-state="Negative"]) .ui5-checkbox-inner,:host([value-state="Negative"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--sapField_InvalidBackground);border:var(--_ui5_checkbox_inner_error_border);color:var(--sapField_InvalidColor)}:host([value-state="Negative"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5_checkbox_inner_error_background_hover)}:host([value-state="Critical"]) .ui5-checkbox-inner,:host([value-state="Critical"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--sapField_WarningBackground);border:var(--_ui5_checkbox_inner_warning_border);color:var(--_ui5_checkbox_inner_warning_color)}:host([value-state="Critical"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5_checkbox_inner_warning_background_hover)}:host([value-state="Information"]) .ui5-checkbox-inner,:host([value-state="Information"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--sapField_InformationBackground);border:var(--_ui5_checkbox_inner_information_border);color:var(--_ui5_checkbox_inner_information_color)}:host([value-state="Information"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5_checkbox_inner_information_background_hover)}:host([value-state="Positive"]) .ui5-checkbox-inner,:host([value-state="Positive"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--sapField_SuccessBackground);border:var(--_ui5_checkbox_inner_success_border);color:var(--sapField_SuccessColor)}:host([value-state="Positive"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5_checkbox_inner_success_background_hover)}:host([value-state="Critical"]) .ui5-checkbox-icon,:host([value-state="Critical"][indeterminate]) .ui5-checkbox-inner:after{color:var(--_ui5_checkbox_checkmark_warning_color)}.ui5-checkbox-root{position:relative;display:inline-flex;align-items:center;max-width:100%;min-height:var(--_ui5_checkbox_width_height);min-width:var(--_ui5_checkbox_width_height);padding:0 var(--_ui5_checkbox_wrapper_padding);outline:none;transition:var(--_ui5_checkbox_transition);border:var(--_ui5_checkbox_default_focus_border);border-radius:var(--_ui5_checkbox_border_radius);box-sizing:border-box}:host([desktop]) .ui5-checkbox-root:focus:before,.ui5-checkbox-root:focus-visible:before{display:var(--_ui5_checkbox_focus_outline_display);content:"";position:absolute;inset-inline:var(--_ui5_checkbox_focus_position);inset-block:var(--_ui5_checkbox_focus_position);border:var(--_ui5_checkbox_focus_outline);border-radius:var(--_ui5_checkbox_focus_border_radius)}:host([text]) .ui5-checkbox-root{padding-inline-end:var(--_ui5_checkbox_right_focus_distance)}:host([text]) .ui5-checkbox-root:focus:before,:host([text]) .ui5-checkbox-root:focus-visible:before{inset-inline-end:0}:host(:hover:not([disabled])){background:var(--_ui5_checkbox_outer_hover_background)}.ui5-checkbox--hoverable .ui5-checkbox-label:hover{color:var(--_ui5_checkbox_label_color)}:host(:not([active]):not([checked]):not([value-state])) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner,:host(:not([active]):not([checked])[value-state="None"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5_checkbox_hover_background);border-color:var(--_ui5_checkbox_inner_hover_border_color)}:host(:not([active])[checked]:not([value-state])) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner,:host(:not([active])[checked][value-state="None"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5_checkbox_hover_background);border-color:var(--_ui5_checkbox_inner_hover_checked_border_color)}:host([checked]:not([value-state])) .ui5-checkbox-inner,:host([checked][value-state="None"]) .ui5-checkbox-inner{border-color:var(--_ui5_checkbox_inner_selected_border_color)}:host([active]:not([checked]):not([value-state]):not([disabled])) .ui5-checkbox-inner,:host([active]:not([checked])[value-state="None"]:not([disabled])) .ui5-checkbox-inner{border-color:var(--_ui5_checkbox_inner_active_border_color);background-color:var(--_ui5_checkbox_active_background)}:host([active][checked]:not([value-state]):not([disabled])) .ui5-checkbox-inner,:host([active][checked][value-state="None"]:not([disabled])) .ui5-checkbox-inner{border-color:var(--_ui5_checkbox_inner_selected_border_color);background-color:var(--_ui5_checkbox_active_background)}.ui5-checkbox-inner{min-width:var(--_ui5_checkbox_inner_width_height);max-width:var(--_ui5_checkbox_inner_width_height);height:var(--_ui5_checkbox_inner_width_height);max-height:var(--_ui5_checkbox_inner_width_height);border:var(--_ui5_checkbox_inner_border);border-radius:var(--_ui5_checkbox_inner_border_radius);background:var(--_ui5_checkbox_inner_background);color:var(--_ui5_checkbox_checkmark_color);box-sizing:border-box;position:relative;cursor:inherit}:host([indeterminate][checked]) .ui5-checkbox-inner:after{content:"";background-color:currentColor;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:var(--_ui5_checkbox_partially_icon_size);height:var(--_ui5_checkbox_partially_icon_size)}:host input{-webkit-appearance:none;visibility:hidden;width:0;left:0;position:absolute;font-size:inherit}.ui5-checkbox-root .ui5-checkbox-label{margin-inline-start:var(--_ui5_checkbox_label_offset);cursor:inherit;text-overflow:ellipsis;overflow:hidden;pointer-events:none;color:var(--_ui5_checkbox_label_color)}.ui5-checkbox-icon{width:var(--_ui5_checkbox_icon_size);height:var(--_ui5_checkbox_icon_size);color:currentColor;cursor:inherit;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}:host([display-only]){cursor:default}:host([display-only]) .ui5-checkbox-display-only-icon-inner [ui5-icon]{color:var(--sapTextColor)}:host([display-only]) .ui5-checkbox-display-only-icon-inner{min-width:var(--_ui5_checkbox_inner_width_height);max-width:var(--_ui5_checkbox_inner_width_height);height:var(--_ui5_checkbox_inner_width_height);max-height:var(--_ui5_checkbox_inner_width_height);display:flex;align-items:center;justify-content:center}
82
82
  `;ie("accept",{pathData:"M14.827 2.942c.192.187.224.385.096.593l-7.11 10.18a.48.48 0 0 1-.383.28.524.524 0 0 1-.449-.156L2.146 8.625C2.039 8.52 1.99 8.406 2 8.28a.54.54 0 0 1 .177-.343l.8-.78c.256-.25.502-.25.737 0l3.074 2.997c.107.104.246.15.416.14.171-.01.3-.098.385-.265l5.604-7.775a.482.482 0 0 1 .368-.25.55.55 0 0 1 .432.125l.833.812Z",ltr:!0,viewBox:"0 0 16 16",collection:"SAP-icons-v4",packageName:"@ui5/webcomponents-icons"});ie("accept",{pathData:"M12.688 3.254a.75.75 0 0 1 1.124.992l-7.5 8.5A.75.75 0 0 1 5.15 12.7l-3-4a.75.75 0 0 1 1.2-.9l2.447 3.263 6.89-7.81Z",ltr:!0,viewBox:"0 0 16 16",collection:"SAP-icons-v5",packageName:"@ui5/webcomponents-icons"});_7="accept";ie("complete",{pathData:"M12.998 10.002h1V14a.946.946 0 0 1-.297.719.987.987 0 0 1-.703.281H1a.973.973 0 0 1-.719-.281A.973.973 0 0 1 0 14V2.005c0-.271.094-.506.281-.703A.947.947 0 0 1 1 1.005h4v1H1V14h11.998v-3.998ZM14.872.786c.146.146.167.313.063.5l-5.78 8.497a.39.39 0 0 1-.313.219.42.42 0 0 1-.375-.125L4.562 5.535c-.188-.188-.188-.375 0-.563l.656-.656c.208-.208.406-.208.593 0l2.5 2.5a.4.4 0 0 0 .36.124c.135-.02.234-.104.296-.25L13.53.224a.38.38 0 0 1 .297-.219.4.4 0 0 1 .359.125l.687.656Z",ltr:!0,viewBox:"0 0 16 16",collection:"SAP-icons-v4",packageName:"@ui5/webcomponents-icons"});ie("complete",{pathData:"M10.25 1a.75.75 0 0 1 0 1.5h-6.5c-.69 0-1.25.56-1.25 1.25v8.5c0 .69.56 1.25 1.25 1.25h8.5c.69 0 1.25-.56 1.25-1.25V6.754a.75.75 0 0 1 1.5 0v5.496A2.75 2.75 0 0 1 12.25 15h-8.5A2.75 2.75 0 0 1 1 12.25v-8.5A2.75 2.75 0 0 1 3.75 1h6.5Zm4.435-.741a.75.75 0 0 1 1.127.99L8.704 9.335a.95.95 0 0 1-1.385.045L4.97 7.03a.75.75 0 1 1 1.06-1.06l1.934 1.933L14.684.26Z",ltr:!0,viewBox:"0 0 16 16",collection:"SAP-icons-v5",packageName:"@ui5/webcomponents-icons"});d7="complete";ie("border",{pathData:"M14 1c.27 0 .505.094.703.281A.947.947 0 0 1 15 2v12a.947.947 0 0 1-.297.719A.988.988 0 0 1 14 15H2a.973.973 0 0 1-.719-.281A.974.974 0 0 1 1 14V2c0-.292.094-.531.281-.719A.973.973 0 0 1 2 1h12Zm0 1H2v12h12V2Z",ltr:!1,viewBox:"0 0 16 16",collection:"SAP-icons-v4",packageName:"@ui5/webcomponents-icons"});ie("border",{pathData:"M12.25 1A2.75 2.75 0 0 1 15 3.75v8.5A2.75 2.75 0 0 1 12.25 15h-8.5A2.75 2.75 0 0 1 1 12.25v-8.5A2.75 2.75 0 0 1 3.75 1h8.5Zm-8.5 1.5c-.69 0-1.25.56-1.25 1.25v8.5c0 .69.56 1.25 1.25 1.25h8.5c.69 0 1.25-.56 1.25-1.25v-8.5c0-.69-.56-1.25-1.25-1.25h-8.5Z",ltr:!1,viewBox:"0 0 16 16",collection:"SAP-icons-v5",packageName:"@ui5/webcomponents-icons"});h7="border";ie("tri-state",{pathData:"M14 1c.27 0 .505.099.703.297A.961.961 0 0 1 15 2v12a.947.947 0 0 1-.297.719A.988.988 0 0 1 14 15H2a.973.973 0 0 1-.719-.281A.974.974 0 0 1 1 14V2c0-.27.094-.505.281-.703A.947.947 0 0 1 2 1h12Zm0 1H2v12h12V2Zm-9 8.781v-5.5c0-.166.083-.25.25-.25h5.5c.167 0 .25.084.25.25v5.5c0 .167-.083.25-.25.25h-5.5c-.167 0-.25-.083-.25-.25Z",ltr:!1,viewBox:"0 0 16 16",collection:"SAP-icons-v4",packageName:"@ui5/webcomponents-icons"});ie("tri-state",{pathData:"M12.25 1A2.75 2.75 0 0 1 15 3.75v8.5A2.75 2.75 0 0 1 12.25 15h-8.5A2.75 2.75 0 0 1 1 12.25v-8.5A2.75 2.75 0 0 1 3.75 1h8.5Zm-8.5 1.5c-.69 0-1.25.56-1.25 1.25v8.5c0 .69.56 1.25 1.25 1.25h8.5c.69 0 1.25-.56 1.25-1.25v-8.5c0-.69-.56-1.25-1.25-1.25h-8.5ZM9.25 5c.966 0 1.75.784 1.75 1.75v2.5A1.75 1.75 0 0 1 9.25 11h-2.5A1.75 1.75 0 0 1 5 9.25v-2.5C5 5.784 5.784 5 6.75 5h2.5Z",ltr:!1,viewBox:"0 0 16 16",collection:"SAP-icons-v5",packageName:"@ui5/webcomponents-icons"});p7="tri-state";Dt=function(e,t,i,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(o<3?a(n):o>3?a(t,i,n):a(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n},Dm=!1,at=mr=class extends mt{get formValidityMessage(){return mr.i18nBundle.getText(Ab)}get formValidity(){return{valueMissing:this.required&&!this.checked}}async formElementAnchor(){return this.getFocusDomRefAsync()}get formFormattedValue(){return this.checked?this.value:null}constructor(){super(),this.disabled=!1,this.readonly=!1,this.displayOnly=!1,this.required=!1,this.indeterminate=!1,this.checked=!1,this.valueState="None",this.wrappingType="Normal",this.value="on",this.active=!1,this._deactivate=()=>{ed&&(ed.active=!1)},Dm||(document.addEventListener("mouseup",this._deactivate),Dm=!0)}onEnterDOM(){Ht()&&this.setAttribute("desktop","")}_onclick(){this.toggle()}_onmousedown(){this.readonly||this.disabled||(this.active=!0,ed=this)}_onmouseup(){this.active=!1}_onfocusout(){this.active=!1}_onkeydown(e){Ue(e)&&e.preventDefault(),!(this.readonly||this.disabled)&&(Nt(e)&&this.toggle(),this.active=!0)}_onkeyup(e){Ue(e)&&this.toggle(),this.active=!1}toggle(){if(this.canToggle()){let e={checked:this.checked,indeterminate:this.indeterminate};this.indeterminate?(this.indeterminate=!1,this.checked=!0):this.checked=!this.checked;let t=!this.fireDecoratorEvent("change"),i=!this.fireDecoratorEvent("value-changed");(t||i)&&(this.checked=e.checked,this.indeterminate=e.indeterminate)}return this}canToggle(){return!(this.disabled||this.readonly||this.displayOnly)}valueStateTextMappings(){return{Negative:mr.i18nBundle.getText(zp),Critical:mr.i18nBundle.getText(Rp),Positive:mr.i18nBundle.getText(Op)}}get ariaLabelText(){return ga(this)||ef(this)}get classes(){return{main:{"ui5-checkbox--hoverable":!this.disabled&&!this.readonly&&Ht()}}}get ariaReadonly(){return this.readonly||this.displayOnly?"true":void 0}get effectiveAriaDisabled(){return this.disabled?"true":void 0}get effectiveAriaChecked(){return this.indeterminate&&this.checked?"mixed":this.checked}get ariaLabelledBy(){if(!this.ariaLabelText)return this.text?`${this._id}-label`:void 0}get ariaDescribedBy(){return this.hasValueState?`${this._id}-descr`:void 0}get hasValueState(){return this.valueState!==be.None}get valueStateText(){if(this.valueState!==be.None&&this.valueState!==be.Information)return this.valueStateTextMappings()[this.valueState]}get effectiveTabIndex(){let e=this.getAttribute("tabindex");if(this.tabbable)return e?parseInt(e):0}get tabbable(){return!this.disabled&&!this.displayOnly}get isCompletelyChecked(){return this.checked&&!this.indeterminate}get isDisplayOnly(){return this.displayOnly&&!this.disabled}get accessibilityInfo(){let e=this.checked?mr.i18nBundle.getText(uk):mr.i18nBundle.getText(ck),t=[this.text||"",e].filter(Boolean).join(" ");return{role:this.accInfo.role,type:mr.i18nBundle.getText(_k),description:t,label:this.ariaLabelText,disabled:!!this.accInfo.ariaDisabled,readonly:!!this.accInfo.ariaReadonly,required:this.accInfo.ariaRequired}}get accInfo(){return{role:this._accInfo?this._accInfo.role:"checkbox",ariaChecked:this._accInfo?this._accInfo.ariaChecked:this.effectiveAriaChecked,ariaReadonly:this._accInfo?this._accInfo.ariaReadonly:this.ariaReadonly,ariaDisabled:this._accInfo?this._accInfo.ariaDisabled:this.effectiveAriaDisabled,ariaRequired:this._accInfo?this._accInfo.ariaRequired:this.required,tabindex:this._accInfo?this._accInfo.tabindex:this.effectiveTabIndex}}};Dt([v()],at.prototype,"accessibleNameRef",void 0);Dt([v()],at.prototype,"accessibleName",void 0);Dt([v({type:Boolean})],at.prototype,"disabled",void 0);Dt([v({type:Boolean})],at.prototype,"readonly",void 0);Dt([v({type:Boolean})],at.prototype,"displayOnly",void 0);Dt([v({type:Boolean})],at.prototype,"required",void 0);Dt([v({type:Boolean})],at.prototype,"indeterminate",void 0);Dt([v({type:Boolean})],at.prototype,"checked",void 0);Dt([v()],at.prototype,"text",void 0);Dt([v()],at.prototype,"valueState",void 0);Dt([v()],at.prototype,"wrappingType",void 0);Dt([v()],at.prototype,"name",void 0);Dt([v()],at.prototype,"value",void 0);Dt([v({type:Boolean})],at.prototype,"active",void 0);Dt([v({type:Object})],at.prototype,"_accInfo",void 0);Dt([lt("@ui5/webcomponents")],at,"i18nBundle",void 0);at=mr=Dt([ye({tag:"ui5-checkbox",languageAware:!0,formAssociated:!0,renderer:it,template:f7,styles:c7}),V("change",{bubbles:!0,cancelable:!0}),V("value-changed",{bubbles:!0,cancelable:!0})],at);at.define();g7=at,m7={listItemPreContent:y7,listItemContent:w7,imageBegin:C7,iconBegin:x7,iconEnd:S7,selectionElement:E1};k7={listItemContent:I7};Ga=()=>(zm??=new NA("@ui5/webcomponents-base"),zm),A7=e=>e.checkVisibility()||getComputedStyle(e).display==="contents",Rm=(e,t=[])=>{(!gr||!gr.isConnected)&&(gr=document.createElement("span"),gr.id="ui5-invisible-text",gr.hidden=!0,document.body.appendChild(gr));let i=[...e.ariaLabelledByElements||[]],r=i.indexOf(gr);t=Array.isArray(t)?t.filter(Boolean).join(" . ").trim():t.trim(),gr.textContent=t,t&&r===-1?(i.unshift(gr),e.ariaLabelledByElements=i):!t&&r>-1&&(i.splice(r,1),e.ariaLabelledByElements=i.length?i:null)},D1=(e,t={},i=!0)=>{if(!e)return"";if(e.nodeType===Node.TEXT_NODE)return e.data.trim();if(!(e instanceof HTMLElement))return"";if(e.hasAttribute("data-ui5-acc-text"))return e.getAttribute("data-ui5-acc-text")||"";if(e.ariaHidden==="true"||!A7(e))return i?Ga().getText(Ag):"";let r=[],o=[],n=e.accessibilityInfo,{lessDetails:a}=t;if(n){let{type:s,description:l,required:u,disabled:_,readonly:c,children:h}=n;r=h||[],s&&o.push(s),l&&o.push(l),a||(u&&o.push(Ga().getText(fS)),_&&o.push(Ga().getText(vS)),c&&o.push(Ga().getText(Sb)))}else e.localName==="slot"?r=e.assignedNodes({flatten:!0}):r=e.shadowRoot?[...e.shadowRoot.childNodes]:[...e.childNodes];if(r.forEach(s=>{let l=D1(s,t,!1);l&&o.push(l)}),i){let s=o.length>0;if(!s||!a){let l=sf(e),u=[s?"":Ag,gS,mS][Math.min(l.length,2)];u&&(s&&o.push("."),o.push(Ga().getText(u)))}}return o.join(" ").trim()};B("@ui5/webcomponents-theming","sap_horizon",async()=>J);B("@ui5/webcomponents","sap_horizon",async()=>ee,"host");B7=`:host(:not([hidden])){display:block}:host{min-height:var(--_ui5_list_item_base_height);height:auto;box-sizing:border-box}.ui5-li-root.ui5-custom-li-root{pointer-events:inherit;min-height:inherit}.ui5-li-root.ui5-custom-li-root .ui5-li-content{pointer-events:inherit}[ui5-checkbox].ui5-li-singlesel-radiobtn,[ui5-radio-button].ui5-li-singlesel-radiobtn{display:flex;align-items:center}.ui5-li-root.ui5-custom-li-root,[ui5-checkbox].ui5-li-singlesel-radiobtn,[ui5-radio-button].ui5-li-singlesel-radiobtn{min-width:var(--_ui5_custom_list_item_rb_min_width)}:host([_selection-mode="SingleStart"]) .ui5-li-root.ui5-custom-li-root{padding-inline:0 1rem}:host([_selection-mode="Multiple"]) .ui5-li-root.ui5-custom-li-root{padding-inline:0 1rem}:host([_selection-mode="SingleEnd"]) .ui5-li-root.ui5-custom-li-root{padding-inline:1rem 0}
83
- `,ec=function(e,t,i,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(o<3?a(n):o>3?a(t,i,n):a(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n},na=kh=class extends B1{constructor(){super(...arguments),this.movable=!1}get isCustomListItem(){return!0}_onkeydown(e){(this.matches(":focus")||lo(e)||ta(e)||jd(e)||qd(e)||di(e)||Bi(e))&&super._onkeydown(e)}_onkeyup(e){(this.matches(":focus")||lo(e)||ta(e)||jd(e)||qd(e)||di(e)||Bi(e))&&super._onkeyup(e)}get _accessibleNameRef(){return`${this._id}-invisibleText`}_onfocusin(e){super._onfocusin(e),!this._isDragging()&&!this.accessibleName&&this._updateInvisibleTextContent()}_onfocusout(e){super._onfocusout(e),!this._isDragging()&&!this.accessibleName&&this._clearInvisibleTextContent()}_isDragging(){return this.hasAttribute("data-moving")}_updateInvisibleTextContent(){let e=this._listItem;e&&Rm(e,D1(this))}_clearInvisibleTextContent(){let e=this._listItem;e&&Rm(e,"")}_getDeleteButtonNodes(){if(!this.modeDelete)return[];if(this.hasDeleteButtonSlot)return this.deleteButton;let e=this.shadowRoot?.querySelector(`#${this._id}-deleteSelectionElement`);return e?[e]:[]}get classes(){let e=super.classes;return e.main["ui5-custom-li-root"]=!0,e}get accessibilityInfo(){let e=[],t=this.shadowRoot?.querySelector("slot:not([name])");if(t){let r=t.assignedNodes({flatten:!0});e.push(...r)}let i=this._getDeleteButtonNodes();return e.push(...i),{type:kh.i18nBundle.getText(QS),children:e}}};ec([v({type:Boolean})],na.prototype,"movable",void 0);ec([v()],na.prototype,"accessibleName",void 0);ec([lt("@ui5/webcomponents")],na,"i18nBundle",void 0);na=kh=ec([ye({tag:"ui5-li-custom",template:T7,renderer:it,styles:[B1.styles,B7]})],na);na.define();E7=Wu("isCustomListItem"),Ae=function(e,t,i,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(o<3?a(n):o>3?a(t,i,n):a(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n},D7=250,z7=10,R7={Menu:"menuitem",Tree:"treeitem",ListBox:"option"},ge=Di=class extends mt{constructor(){super(),this.indent=!1,this.selectionMode="None",this.separators="All",this.growing="None",this.loading=!1,this.loadingDelay=1e3,this.stickyHeader=!1,this.accessibilityAttributes={},this.accessibleRole="List",this._inViewport=!1,this._loadMoreActive=!1,this.mediaRange="S",this._startMarkerOutOfView=!1,this._previouslyFocusedItem=null,this._forwardingFocus=!1,this._itemNavigation=new j3(this,{skipItemsSize:z7,navigationMode:zn.Vertical,getItemsCallback:()=>this.getEnabledItems()}),this.handleResizeCallback=this._handleResize.bind(this),this._groupCount=0,this._groupItemCount=0,this.onItemFocusedBound=this.onItemFocused.bind(this),this.onForwardAfterBound=this.onForwardAfter.bind(this),this.onForwardBeforeBound=this.onForwardBefore.bind(this),this.onItemTabIndexChangeBound=this.onItemTabIndexChange.bind(this),this._dragAndDropHandler=new S1(this,{getItems:()=>this.items,getDropIndicator:()=>this.dropIndicatorDOM,useOriginalEvent:!0})}get listItems(){return this.getItems()}_updateAssociatedLabelsTexts(){this._associatedDescriptionRefTexts=Qu(this),this._associatedLabelsRefTexts=Ku(this)}onEnterDOM(){Xu(this,this._updateAssociatedLabelsTexts.bind(this)),ia.register(this.getDomRef(),this.handleResizeCallback)}onExitDOM(){Yu(this),this.unobserveListEnd(),this.unobserveListStart(),ia.deregister(this.getDomRef(),this.handleResizeCallback)}onBeforeRendering(){this.detachGroupHeaderEvents(),this.prepareListItems()}onAfterRendering(){this.attachGroupHeaderEvents(),this.growsOnScroll?(this.observeListEnd(),this.observeListStart()):(this.unobserveListEnd(),this.unobserveListStart()),this.grows&&this.checkListInViewport()}attachGroupHeaderEvents(){this.getItems().forEach(e=>{e.hasAttribute("ui5-li-group-header")&&(e.addEventListener("ui5-_focused",this.onItemFocusedBound),e.addEventListener("ui5-forward-after",this.onForwardAfterBound),e.addEventListener("ui5-forward-before",this.onForwardBeforeBound))})}detachGroupHeaderEvents(){this.getItems().forEach(e=>{e.hasAttribute("ui5-li-group-header")&&(e.removeEventListener("ui5-_focused",this.onItemFocusedBound),e.removeEventListener("ui5-forward-after",this.onForwardAfterBound),e.removeEventListener("ui5-forward-before",this.onForwardBeforeBound))})}getFocusDomRef(){return this._itemNavigation._getCurrentItem()}get shouldRenderH1(){return!this.header.length&&this.headerText}get headerID(){return`${this._id}-header`}get modeLabelID(){return`${this._id}-modeLabel`}get listEndDOM(){return this.shadowRoot.querySelector(".ui5-list-end-marker")}get listStartDOM(){return this.shadowRoot.querySelector(".ui5-list-start-marker")}get dropIndicatorDOM(){return this.shadowRoot.querySelector("[ui5-drop-indicator]")}get hasData(){return this.getItems().length!==0}get showBusyIndicatorOverlay(){return!this.growsWithButton&&this.loading}get showNoDataText(){return!this.hasData&&this.noDataText}get isDelete(){return this.selectionMode===qe.Delete}get isSingleSelect(){return[qe.Single,qe.SingleStart,qe.SingleEnd,qe.SingleAuto].includes(this.selectionMode)}get isMultiple(){return this.selectionMode===qe.Multiple}get ariaLabelledBy(){if(this.accessibleNameRef||this.accessibleName)return;let e=[];return(this.isMultiple||this.isSingleSelect||this.isDelete)&&e.push(this.modeLabelID),this.shouldRenderH1&&e.push(this.headerID),e.length?e.join(" "):void 0}get ariaLabelTxt(){return this._associatedLabelsRefTexts||ga(this)}get ariaDescriptionText(){let e=[];this.accessibleRole===Ua.List&&this._hasInteractiveItems&&e.push(this.defaultAriaDescriptionText);let t=this._associatedDescriptionRefTexts||rf(this);t&&e.push(t);let i=this._getDescriptionForGroups();return i&&e.push(i),e.join(" ")}get defaultAriaDescriptionText(){return Di.i18nBundle.getText(HS)}get _hasInteractiveItems(){return this.selectionMode===qe.Delete?!0:this.getItems().some(e=>e.getAttribute("type")==="Detail"||E7(e))}get growingButtonAriaLabel(){return this.accessibilityAttributes.growingButton?.name}get growingButtonAriaLabelledBy(){return this.accessibilityAttributes.growingButton?.name?void 0:`${this._id}-growingButton-text`}get growingButtonAriaDescribedBy(){return this.accessibilityAttributes.growingButton?.description?`${this._id}-growingButton-description`:void 0}hasGrowingComponent(){return this.growsOnScroll?this._startMarkerOutOfView:this.growsWithButton}_getDescriptionForGroups(){let e="";return this._groupCount>0&&(this.accessibleRole===Ua.List?e=Di.i18nBundle.getText(VS,this._groupCount,this._groupItemCount):this.accessibleRole===Ua.ListBox&&(e=Di.i18nBundle.getText(jS,this._groupCount))),e}get ariaLabelModeText(){if(this.hasData){if(this.isMultiple)return Di.i18nBundle.getText(ZS);if(this.isSingleSelect)return Di.i18nBundle.getText(WS);if(this.isDelete)return Di.i18nBundle.getText(KS)}return""}get grows(){return this.growing!==Q_.None}get growsOnScroll(){return this.growing===Q_.Scroll}get growsWithButton(){return this.growing===Q_.Button}get _growingButtonText(){return this.growingButtonText||Di.i18nBundle.getText(YS)}get listAccessibleRole(){return Ur(this.accessibleRole)}get classes(){return{root:{"ui5-list-root":!0}}}prepareListItems(){let e=this.getItemsForProcessing(),t=R7[this.accessibleRole];e.forEach((i,r)=>{let o=r===e.length-1,n=this.separators===Bm.All||this.separators===Bm.Inner&&!o;i.hasConfigurableMode&&(i._selectionMode=this.selectionMode,i._inheritedAccessibleRole=t),i.hasBorder=n,i.mediaRange=this.mediaRange})}async observeListEnd(){await Jn(),this.getEndIntersectionObserver().observe(this.listEndDOM)}unobserveListEnd(){this._endIntersectionObserver&&(this._endIntersectionObserver.disconnect(),this._endIntersectionObserver=null)}async observeListStart(){await Jn(),this.getStartIntersectionObserver().observe(this.listStartDOM)}unobserveListStart(){this._startIntersectionObserver&&(this._startIntersectionObserver.disconnect(),this._startIntersectionObserver=null)}onEndIntersection(e){e.forEach(t=>{t.isIntersecting&&K3(this.loadMore.bind(this),D7)})}onStartIntersection(e){e.forEach(t=>{this._startMarkerOutOfView=!t.isIntersecting})}onSelectionRequested(e){let t=this.getSelectedItems(),i=!1;this.selectionMode!==qe.None&&this[`handle${this.selectionMode}`]&&(i=this[`handle${this.selectionMode}`](e.detail.item,!!e.detail.selected)),i&&(this.fireDecoratorEvent("selection-change",{selectedItems:this.getSelectedItems(),previouslySelectedItems:t,selectionComponentPressed:e.detail.selectionComponentPressed,targetItem:e.detail.item,key:e.detail.key})?this.selectionMode!==qe.Delete&&W3(e.detail.item.selected?Di.i18nBundle.getText(kb):Di.i18nBundle.getText(Tb),"Polite"):this._revertSelection(t))}handleSingle(e){return e.selected?!1:(this.deselectSelectedItems(),e.selected=!0,!0)}handleSingleStart(e){return this.handleSingle(e)}handleSingleEnd(e){return this.handleSingle(e)}handleSingleAuto(e){return this.handleSingle(e)}handleMultiple(e,t){return e.selected=t,!0}handleDelete(e){return this.fireDecoratorEvent("item-delete",{item:e}),!0}deselectSelectedItems(){this.getSelectedItems().forEach(e=>{e.selected=!1})}getSelectedItems(){return this.getItems().filter(e=>e.selected)}getEnabledItems(){return this.getItems().filter(e=>e._focusable)}getItems(){let e=[],t=this.getSlottedNodes("items"),i=0,r=0;return t.forEach(o=>{if(U3(o)){let n=[o.groupHeaderItem,...o.items.filter(a=>a.assignedSlot)].filter(Boolean);e.push(...n),i++,r+=n.length-1}else O7(o)?o.assignedSlot&&e.push(...o.listItems):o.assignedSlot&&e.push(o)}),this._groupCount=i,this._groupItemCount=r,e}getItemsForProcessing(){return this.getItems()}_revertSelection(e){this.getItems().forEach(t=>{let i=e.indexOf(t)!==-1,r=t.shadowRoot.querySelector(".ui5-li-multisel-cb"),o=t.shadowRoot.querySelector(".ui5-li-singlesel-radiobtn");t.selected=i,r?r.checked=i:o&&(o.checked=i)})}_onkeydown(e){if(Qp(e)){this._handleEnd(),e.preventDefault();return}if(Yp(e)){this._handleHome();return}let t=di(e)||Bi(e),i=this._getClosestListItem(e.target);if(i?._isFocusOnInternalElement()&&t){let r=di(e)?-1:1;if(this._navigateToAdjacentItem(i,r)){e.preventDefault();return}}if(Bi(e)){this._handleDown(e);return}if(sB(e)){this._moveItem(e.target,e);return}lo(e)&&this._handleTabNext(e),qd(e)&&this._handleF7(e)}_handleF7(e){let t=this._getClosestListItem(e.target);if(!t||!t._hasFocusableElements())return;let i=t.getFocusDomRef(),r=Qi();e.preventDefault(),e.stopPropagation(),r===i?(t._editMode=!0,t._focusInternalElement(this._lastFocusedElementIndex??0),this._lastFocusedElementIndex=t._getFocusedElementIndex()):(this._lastFocusedElementIndex=t._getFocusedElementIndex(),t._editMode=!1,i.focus())}_getClosestListItem(e){return e.closest("[ui5-li], [ui5-li-custom]")}_moveItem(e,t){if(!e||!e.movable)return;let i=E3(this.items,e,t);if(!i.length)return;t.preventDefault();let r=i.find(({element:o,placement:n})=>!this.fireDecoratorEvent("move-over",{originalEvent:t,source:{element:e},destination:{element:o,placement:n}}));r&&(this.fireDecoratorEvent("move",{originalEvent:t,source:{element:e},destination:{element:r.element,placement:r.placement}}),e.focus())}_onLoadMoreKeydown(e){if(Ue(e)&&(e.preventDefault(),this._loadMoreActive=!0),Nt(e)&&(this._onLoadMoreClick(),this._loadMoreActive=!0),lo(e)&&this.focusAfterElement(),di(e)){this._handleLodeMoreUp(e);return}ta(e)&&(this.getPreviouslyFocusedItem()?this.focusPreviouslyFocusedItem():this.focusFirstItem(),e.preventDefault())}_onLoadMoreKeyup(e){Ue(e)&&this._onLoadMoreClick(),this._loadMoreActive=!1}_onLoadMoreMousedown(){this._loadMoreActive=!0}_onLoadMoreMouseup(){this._loadMoreActive=!1}_onLoadMoreClick(){this.loadMore()}_handleLodeMoreUp(e){if(this.getGrowingButton()===e.target){let t=this.getItems(),i=t[t.length-1];this.focusItem(i),e.preventDefault(),e.stopImmediatePropagation()}}checkListInViewport(){this._inViewport=Y3(this.getDomRef())}loadMore(){this.hasGrowingComponent()&&this.fireDecoratorEvent("load-more")}_handleResize(){this.checkListInViewport();let e=this.getBoundingClientRect().width;this.mediaRange=au.getCurrentRange(au.RANGESETS.RANGE_4STEPS,e)}_handleTabNext(e){Im(e.target)}_handleHome(){this.growsWithButton&&this.focusFirstItem()}_handleEnd(){this.growsWithButton&&this._shouldFocusGrowingButton()&&this.focusGrowingButton()}_handleDown(e){this._shouldFocusGrowingButton()&&(this.focusGrowingButton(),e.preventDefault())}_navigateToAdjacentItem(e,t){let i=e?._getFocusedElementIndex();if(i===void 0||i===-1)return!1;let r=this.getItems().filter(a=>"hasConfigurableMode"in a&&a.hasConfigurableMode&&a._hasFocusableElements()),o=r[r.indexOf(e)+t];if(!o)return!1;o._editMode=e._editMode;let n=o._focusInternalElement(i);return n!==void 0&&(this._lastFocusedElementIndex=n),!0}_onfocusin(e){let t=Im(e.target);if(this.isForwardElement(t)){if(!this.getPreviouslyFocusedItem()){this.growsWithButton&&this.isForwardAfterElement(t)?this.focusGrowingButton():this.focusFirstItem(),e.stopImmediatePropagation();return}if(!this.getForwardingFocus()){if(this.growsWithButton&&this.isForwardAfterElement(t)){this.focusGrowingButton(),e.stopImmediatePropagation();return}this.focusPreviouslyFocusedItem()}e.stopImmediatePropagation(),this.setForwardingFocus(!1)}}_ondragenter(e){this._dragAndDropHandler.ondragenter(e)}_ondragleave(e){this._dragAndDropHandler.ondragleave(e)}_ondragover(e){this._dragAndDropHandler.ondragover(e)}_ondrop(e){this._dragAndDropHandler.ondrop(e)}isForwardElement(e){let t=e.id,i=this.getBeforeElement();return this._id===t||i&&i.id===t?!0:this.isForwardAfterElement(e)}isForwardAfterElement(e){let t=e.id,i=this.getAfterElement();return i&&i.id===t}onItemTabIndexChange(e){e.stopPropagation();let t=e.target;this._itemNavigation.setCurrentItem(t)}onItemFocused(e){let t=e.target;if(e.stopPropagation(),this._itemNavigation.setCurrentItem(t),this.fireDecoratorEvent("item-focused",{item:t}),this.selectionMode===qe.SingleAuto){let i={item:t,selectionComponentPressed:!1,selected:!0,key:e.detail.key};this.onSelectionRequested({detail:i})}}onItemPress(e){let t=e.detail.item;if(this.fireDecoratorEvent("item-click",{item:t})&&this.selectionMode!==qe.Delete){let i={item:t,selectionComponentPressed:!1,selected:!t.selected,key:e.detail.key};this.onSelectionRequested({detail:i})}}onItemClose(e){let t=e.target;(t?.hasAttribute("ui5-li-notification")||t?.hasAttribute("ui5-li-notification-group"))&&this.fireDecoratorEvent("item-close",{item:e.detail?.item})}onItemToggle(e){if(!e.target?.isListItemBase)return;let t=e.detail?.item;t&&this.fireDecoratorEvent("item-toggle",{item:t})}onForwardBefore(e){let t=e.target;if(t.hasConfigurableMode&&t._editMode){let i=this.getItems().filter(n=>"hasConfigurableMode"in n&&n.hasConfigurableMode&&n._hasFocusableElements()),r=i.indexOf(t),o=r>0?i[r-1]:void 0;if(o){o._editMode=!0;let n=o._getFocusableElements();o._focusInternalElement(n.length-1),this._lastFocusedElementIndex=n.length-1,this.setPreviouslyFocusedItem(o),e.preventDefault(),e.stopPropagation();return}t._editMode=!1}this.setPreviouslyFocusedItem(t),this.focusBeforeElement(),e.stopPropagation()}onForwardAfter(e){let t=e.target;if(t.hasConfigurableMode&&t._editMode){let i=this.getItems().filter(n=>"hasConfigurableMode"in n&&n.hasConfigurableMode&&n._hasFocusableElements()),r=i.indexOf(t),o=r>=0&&r<i.length-1?i[r+1]:void 0;if(o){o._editMode=!0,o._focusInternalElement(0),this._lastFocusedElementIndex=0,this.setPreviouslyFocusedItem(o),e.preventDefault(),e.stopPropagation();return}t._editMode=!1}this.setPreviouslyFocusedItem(t),this.growsWithButton?(this.focusGrowingButton(),e.preventDefault()):this.focusAfterElement(),e.stopPropagation()}focusBeforeElement(){this.setForwardingFocus(!0),this.getBeforeElement().focus()}focusAfterElement(){this.setForwardingFocus(!0),this.getAfterElement().focus()}focusGrowingButton(){let e=this.getGrowingButton();e&&e.focus()}_shouldFocusGrowingButton(){if(!this.growsWithButton)return!1;let e=this.getItems().length-1,t=this._itemNavigation._currentIndex;return t!==-1&&t===e}getGrowingButton(){return this.shadowRoot.querySelector(`[id="${this._id}-growing-btn"]`)}focusFirstItem(){let e=this.getFirstItem(t=>t._focusable);e&&e.focus()}focusPreviouslyFocusedItem(){let e=this.getPreviouslyFocusedItem();e&&e.focus()}focusFirstSelectedItem(){let e=this.getFirstItem(t=>t.selected&&t._focusable);e&&e.focus()}focusItem(e){this._itemNavigation.setCurrentItem(e),e.focus()}onFocusRequested(e){setTimeout(()=>{this.setPreviouslyFocusedItem(e.target),this.focusPreviouslyFocusedItem()},0)}setForwardingFocus(e){this._forwardingFocus=e}getForwardingFocus(){return this._forwardingFocus}setPreviouslyFocusedItem(e){this._previouslyFocusedItem=e}getPreviouslyFocusedItem(){return this._previouslyFocusedItem}getFirstItem(e){let t=this.getItems(),i=null;if(!e)return t.length?t[0]:null;for(let r=0;r<t.length;r++)if(e(t[r])){i=t[r];break}return i}getAfterElement(){return this._afterElement||(this._afterElement=this.shadowRoot.querySelector(`[id="${this._id}-after"]`)),this._afterElement}getBeforeElement(){return this._beforeElement||(this._beforeElement=this.shadowRoot.querySelector(`[id="${this._id}-before"]`)),this._beforeElement}getEndIntersectionObserver(){return this._endIntersectionObserver||(this._endIntersectionObserver=new IntersectionObserver(this.onEndIntersection.bind(this),{root:null,rootMargin:"0px",threshold:1})),this._endIntersectionObserver}getStartIntersectionObserver(){return this._startIntersectionObserver||(this._startIntersectionObserver=new IntersectionObserver(this.onStartIntersection.bind(this),{root:null,rootMargin:"0px",threshold:1})),this._startIntersectionObserver}};Ae([v()],ge.prototype,"headerText",void 0);Ae([v()],ge.prototype,"footerText",void 0);Ae([v({type:Boolean})],ge.prototype,"indent",void 0);Ae([v()],ge.prototype,"selectionMode",void 0);Ae([v()],ge.prototype,"noDataText",void 0);Ae([v()],ge.prototype,"separators",void 0);Ae([v()],ge.prototype,"growing",void 0);Ae([v()],ge.prototype,"growingButtonText",void 0);Ae([v({type:Boolean})],ge.prototype,"loading",void 0);Ae([v({type:Number})],ge.prototype,"loadingDelay",void 0);Ae([v({type:Boolean})],ge.prototype,"stickyHeader",void 0);Ae([v()],ge.prototype,"accessibleName",void 0);Ae([v({type:Object})],ge.prototype,"accessibilityAttributes",void 0);Ae([v()],ge.prototype,"accessibleNameRef",void 0);Ae([v()],ge.prototype,"accessibleDescription",void 0);Ae([v()],ge.prototype,"accessibleDescriptionRef",void 0);Ae([v({noAttribute:!0})],ge.prototype,"_associatedDescriptionRefTexts",void 0);Ae([v({noAttribute:!0})],ge.prototype,"_associatedLabelsRefTexts",void 0);Ae([v()],ge.prototype,"accessibleRole",void 0);Ae([v({type:Boolean})],ge.prototype,"_inViewport",void 0);Ae([v({type:Boolean})],ge.prototype,"_loadMoreActive",void 0);Ae([v()],ge.prototype,"mediaRange",void 0);Ae([$e({type:HTMLElement,default:!0,invalidateOnChildChange:!0})],ge.prototype,"items",void 0);Ae([$e()],ge.prototype,"header",void 0);Ae([lt("@ui5/webcomponents")],ge,"i18nBundle",void 0);ge=Di=Ae([ye({tag:"ui5-list",fastNavigation:!0,renderer:it,template:Q3,styles:[e7]}),V("item-click",{bubbles:!0,cancelable:!0}),V("item-close",{bubbles:!0}),V("item-toggle",{bubbles:!0}),V("item-delete",{bubbles:!0}),V("selection-change",{bubbles:!0,cancelable:!0}),V("load-more",{bubbles:!0}),V("item-focused",{bubbles:!0}),V("move-over",{bubbles:!0,cancelable:!0}),V("move",{bubbles:!0})],ge);ge.define();O7=e=>"hasListItems"in e&&e.hasListItems,sg=ge;P7=Tp((e,t)=>{var i="__lodash_hash_undefined__",r=1,o=2,n=9007199254740991,a="[object Arguments]",s="[object Array]",l="[object AsyncFunction]",u="[object Boolean]",_="[object Date]",c="[object Error]",h="[object Function]",d="[object GeneratorFunction]",b="[object Map]",w="[object Number]",I="[object Null]",C="[object Object]",A="[object Promise]",P="[object Proxy]",de="[object RegExp]",se="[object Set]",Be="[object String]",pt="[object Symbol]",Ye="[object Undefined]",Me="[object WeakMap]",Wt="[object ArrayBuffer]",le="[object DataView]",st="[object Float32Array]",hn="[object Float64Array]",mc="[object Int8Array]",bc="[object Int16Array]",yc="[object Int32Array]",wc="[object Uint8Array]",Cc="[object Uint8ClampedArray]",xc="[object Uint16Array]",we="[object Uint32Array]",Ns=/[\\^$.*+?()[\]{}|]/g,Sc=/^\[object .+?Constructor\]$/,Ui=/^(?:0|[1-9]\d*)$/,me={};me[st]=me[hn]=me[mc]=me[bc]=me[yc]=me[wc]=me[Cc]=me[xc]=me[we]=!0,me[a]=me[s]=me[Wt]=me[u]=me[le]=me[_]=me[c]=me[h]=me[b]=me[w]=me[C]=me[de]=me[se]=me[Be]=me[Me]=!1;var Ba=typeof global=="object"&&global&&global.Object===Object&&global,Ms=typeof self=="object"&&self&&self.Object===Object&&self,si=Ba||Ms||Function("return this")(),Ea=typeof e=="object"&&e&&!e.nodeType&&e,Ls=Ea&&typeof t=="object"&&t&&!t.nodeType&&t,Fs=Ls&&Ls.exports===Ea,Da=Fs&&Ba.process,$s=(function(){try{return Da&&Da.binding&&Da.binding("util")}catch{}})(),pn=$s&&$s.isTypedArray;function kc(p,m){for(var x=-1,E=p==null?0:p.length,ze=0,G=[];++x<E;){var Fe=p[x];m(Fe,x,p)&&(G[ze++]=Fe)}return G}function Tc(p,m){for(var x=-1,E=m.length,ze=p.length;++x<E;)p[ze+x]=m[x];return p}function Ic(p,m){for(var x=-1,E=p==null?0:p.length;++x<E;)if(m(p[x],x,p))return!0;return!1}function Ac(p,m){for(var x=-1,E=Array(p);++x<p;)E[x]=m(x);return E}function Bc(p){return function(m){return p(m)}}function fn(p,m){return p.has(m)}function za(p,m){return p?.[m]}function Hs(p){var m=-1,x=Array(p.size);return p.forEach(function(E,ze){x[++m]=[ze,E]}),x}function Us(p,m){return function(x){return p(m(x))}}function Ci(p){var m=-1,x=Array(p.size);return p.forEach(function(E){x[++m]=E}),x}var yo=Array.prototype,Ec=Function.prototype,wo=Object.prototype,vn=si["__core-js_shared__"],Vs=Ec.toString,li=wo.hasOwnProperty,js=(function(){var p=/[^.]+$/.exec(vn&&vn.keys&&vn.keys.IE_PROTO||"");return p?"Symbol(src)_1."+p:""})(),gn=wo.toString,Co=RegExp("^"+Vs.call(li).replace(Ns,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mn=Fs?si.Buffer:void 0,Mr=si.Symbol,bn=si.Uint8Array,Lr=wo.propertyIsEnumerable,Dc=yo.splice,ur=Mr?Mr.toStringTag:void 0,qs=Object.getOwnPropertySymbols,zc=mn?mn.isBuffer:void 0,Rc=Us(Object.keys,Object),yn=Fr(si,"DataView"),cr=Fr(si,"Map"),xi=Fr(si,"Promise"),Ra=Fr(si,"Set"),Oa=Fr(si,"WeakMap"),xo=Fr(Object,"create"),Oc=y(yn),Pc=y(cr),Si=y(xi),Nc=y(Ra),Mc=y(Oa),Gs=Mr?Mr.prototype:void 0,Pa=Gs?Gs.valueOf:void 0;function _r(p){var m=-1,x=p==null?0:p.length;for(this.clear();++m<x;){var E=p[m];this.set(E[0],E[1])}}function dr(){this.__data__=xo?xo(null):{},this.size=0}function Lc(p){var m=this.has(p)&&delete this.__data__[p];return this.size-=m?1:0,m}function Fc(p){var m=this.__data__;if(xo){var x=m[p];return x===i?void 0:x}return li.call(m,p)?m[p]:void 0}function $c(p){var m=this.__data__;return xo?m[p]!==void 0:li.call(m,p)}function Hc(p,m){var x=this.__data__;return this.size+=this.has(p)?0:1,x[p]=xo&&m===void 0?i:m,this}_r.prototype.clear=dr,_r.prototype.delete=Lc,_r.prototype.get=Fc,_r.prototype.has=$c,_r.prototype.set=Hc;function ki(p){var m=-1,x=p==null?0:p.length;for(this.clear();++m<x;){var E=p[m];this.set(E[0],E[1])}}function wn(){this.__data__=[],this.size=0}function Uc(p){var m=this.__data__,x=pr(m,p);return x<0?!1:(x==m.length-1?m.pop():Dc.call(m,x,1),--this.size,!0)}function Vc(p){var m=this.__data__,x=pr(m,p);return x<0?void 0:m[x][1]}function Ti(p){return pr(this.__data__,p)>-1}function jc(p,m){var x=this.__data__,E=pr(x,p);return E<0?(++this.size,x.push([p,m])):x[E][1]=m,this}ki.prototype.clear=wn,ki.prototype.delete=Uc,ki.prototype.get=Vc,ki.prototype.has=Ti,ki.prototype.set=jc;function hr(p){var m=-1,x=p==null?0:p.length;for(this.clear();++m<x;){var E=p[m];this.set(E[0],E[1])}}function qc(){this.size=0,this.__data__={hash:new _r,map:new(cr||ki),string:new _r}}function Gc(p){var m=So(this,p).delete(p);return this.size-=m?1:0,m}function Wc(p){return So(this,p).get(p)}function Zc(p){return So(this,p).has(p)}function Cn(p,m){var x=So(this,p),E=x.size;return x.set(p,m),this.size+=x.size==E?0:1,this}hr.prototype.clear=qc,hr.prototype.delete=Gc,hr.prototype.get=Wc,hr.prototype.has=Zc,hr.prototype.set=Cn;function xn(p){var m=-1,x=p==null?0:p.length;for(this.__data__=new hr;++m<x;)this.add(p[m])}function Ws(p){return this.__data__.set(p,i),this}function Kc(p){return this.__data__.has(p)}xn.prototype.add=xn.prototype.push=Ws,xn.prototype.has=Kc;function Vi(p){var m=this.__data__=new ki(p);this.size=m.size}function Xc(){this.__data__=new ki,this.size=0}function Yc(p){var m=this.__data__,x=m.delete(p);return this.size=m.size,x}function Qc(p){return this.__data__.get(p)}function Zs(p){return this.__data__.has(p)}function Jc(p,m){var x=this.__data__;if(x instanceof ki){var E=x.__data__;if(!cr||E.length<199)return E.push([p,m]),this.size=++x.size,this;x=this.__data__=new hr(E)}return x.set(p,m),this.size=x.size,this}Vi.prototype.clear=Xc,Vi.prototype.delete=Yc,Vi.prototype.get=Qc,Vi.prototype.has=Zs,Vi.prototype.set=Jc;function e_(p,m){var x=Q(p),E=!x&&z(p),ze=!x&&!E&&Le(p),G=!x&&!E&&!ze&&Tt(p),Fe=x||E||ze||G,vt=Fe?Ac(p.length,String):[],It=vt.length;for(var Se in p)(m||li.call(p,Se))&&!(Fe&&(Se=="length"||ze&&(Se=="offset"||Se=="parent")||G&&(Se=="buffer"||Se=="byteLength"||Se=="byteOffset")||Na(Se,It)))&&vt.push(Se);return vt}function pr(p,m){for(var x=p.length;x--;)if(T(p[x][0],m))return x;return-1}function t_(p,m,x){var E=m(p);return Q(p)?E:Tc(E,x(p))}function ui(p){return p==null?p===void 0?Ye:I:ur&&ur in Object(p)?Ys(p):f(p)}function Ii(p){return ft(p)&&ui(p)==a}function Ks(p,m,x,E,ze){return p===m?!0:p==null||m==null||!ft(p)&&!ft(m)?p!==p&&m!==m:i_(p,m,x,E,Ks,ze)}function i_(p,m,x,E,ze,G){var Fe=Q(p),vt=Q(m),It=Fe?s:ti(p),Se=vt?s:ti(m);It=It==a?C:It,Se=Se==a?C:Se;var Qe=It==C,fr=Se==C,ci=It==Se;if(ci&&Le(p)){if(!Le(m))return!1;Fe=!0,Qe=!1}if(ci&&!Qe)return G||(G=new Vi),Fe||Tt(p)?ji(p,m,x,E,ze,G):Xs(p,m,It,x,E,ze,G);if(!(x&r)){var ii=Qe&&li.call(p,"__wrapped__"),_i=fr&&li.call(m,"__wrapped__");if(ii||_i){var vr=ii?p.value():p,ko=_i?m.value():m;return G||(G=new Vi),ze(vr,ko,x,E,G)}}return ci?(G||(G=new Vi),a_(p,m,x,E,ze,G)):!1}function r_(p){return!De(p)||l_(p)?!1:(Pe(p)?Co:Sc).test(y(p))}function o_(p){return ft(p)&&Oe(p.length)&&!!me[ui(p)]}function n_(p){if(!Ma(p))return Rc(p);var m=[];for(var x in Object(p))li.call(p,x)&&x!="constructor"&&m.push(x);return m}function ji(p,m,x,E,ze,G){var Fe=x&r,vt=p.length,It=m.length;if(vt!=It&&!(Fe&&It>vt))return!1;var Se=G.get(p);if(Se&&G.get(m))return Se==m;var Qe=-1,fr=!0,ci=x&o?new xn:void 0;for(G.set(p,m),G.set(m,p);++Qe<vt;){var ii=p[Qe],_i=m[Qe];if(E)var vr=Fe?E(_i,ii,Qe,m,p,G):E(ii,_i,Qe,p,m,G);if(vr!==void 0){if(vr)continue;fr=!1;break}if(ci){if(!Ic(m,function(ko,To){if(!fn(ci,To)&&(ii===ko||ze(ii,ko,x,E,G)))return ci.push(To)})){fr=!1;break}}else if(!(ii===_i||ze(ii,_i,x,E,G))){fr=!1;break}}return G.delete(p),G.delete(m),fr}function Xs(p,m,x,E,ze,G,Fe){switch(x){case le:if(p.byteLength!=m.byteLength||p.byteOffset!=m.byteOffset)return!1;p=p.buffer,m=m.buffer;case Wt:return!(p.byteLength!=m.byteLength||!G(new bn(p),new bn(m)));case u:case _:case w:return T(+p,+m);case c:return p.name==m.name&&p.message==m.message;case de:case Be:return p==m+"";case b:var vt=Hs;case se:var It=E&r;if(vt||(vt=Ci),p.size!=m.size&&!It)return!1;var Se=Fe.get(p);if(Se)return Se==m;E|=o,Fe.set(p,m);var Qe=ji(vt(p),vt(m),E,ze,G,Fe);return Fe.delete(p),Qe;case pt:if(Pa)return Pa.call(p)==Pa.call(m)}return!1}function a_(p,m,x,E,ze,G){var Fe=x&r,vt=Sn(p),It=vt.length;if(It!=Sn(m).length&&!Fe)return!1;for(var Se=It;Se--;){var Qe=vt[Se];if(!(Fe?Qe in m:li.call(m,Qe)))return!1}var fr=G.get(p);if(fr&&G.get(m))return fr==m;var ci=!0;G.set(p,m),G.set(m,p);for(var ii=Fe;++Se<It;){Qe=vt[Se];var _i=p[Qe],vr=m[Qe];if(E)var ko=Fe?E(vr,_i,Qe,m,p,G):E(_i,vr,Qe,p,m,G);if(!(ko===void 0?_i===vr||ze(_i,vr,x,E,G):ko)){ci=!1;break}ii||(ii=Qe=="constructor")}if(ci&&!ii){var To=p.constructor,Js=m.constructor;To!=Js&&"constructor"in p&&"constructor"in m&&!(typeof To=="function"&&To instanceof To&&typeof Js=="function"&&Js instanceof Js)&&(ci=!1)}return G.delete(p),G.delete(m),ci}function Sn(p){return t_(p,$t,Qs)}function So(p,m){var x=p.__data__;return s_(m)?x[typeof m=="string"?"string":"hash"]:x.map}function Fr(p,m){var x=za(p,m);return r_(x)?x:void 0}function Ys(p){var m=li.call(p,ur),x=p[ur];try{p[ur]=void 0;var E=!0}catch{}var ze=gn.call(p);return E&&(m?p[ur]=x:delete p[ur]),ze}var Qs=qs?function(p){return p==null?[]:(p=Object(p),kc(qs(p),function(m){return Lr.call(p,m)}))}:Zt,ti=ui;(yn&&ti(new yn(new ArrayBuffer(1)))!=le||cr&&ti(new cr)!=b||xi&&ti(xi.resolve())!=A||Ra&&ti(new Ra)!=se||Oa&&ti(new Oa)!=Me)&&(ti=function(p){var m=ui(p),x=m==C?p.constructor:void 0,E=x?y(x):"";if(E)switch(E){case Oc:return le;case Pc:return b;case Si:return A;case Nc:return se;case Mc:return Me}return m});function Na(p,m){return m=m??n,!!m&&(typeof p=="number"||Ui.test(p))&&p>-1&&p%1==0&&p<m}function s_(p){var m=typeof p;return m=="string"||m=="number"||m=="symbol"||m=="boolean"?p!=="__proto__":p===null}function l_(p){return!!js&&js in p}function Ma(p){var m=p&&p.constructor;return p===(typeof m=="function"&&m.prototype||wo)}function f(p){return gn.call(p)}function y(p){if(p!=null){try{return Vs.call(p)}catch{}try{return p+""}catch{}}return""}function T(p,m){return p===m||p!==p&&m!==m}var z=Ii((function(){return arguments})())?Ii:function(p){return ft(p)&&li.call(p,"callee")&&!Lr.call(p,"callee")},Q=Array.isArray;function $(p){return p!=null&&Oe(p.length)&&!Pe(p)}var Le=zc||Ai;function Ee(p,m){return Ks(p,m)}function Pe(p){if(!De(p))return!1;var m=ui(p);return m==h||m==d||m==l||m==P}function Oe(p){return typeof p=="number"&&p>-1&&p%1==0&&p<=n}function De(p){var m=typeof p;return p!=null&&(m=="object"||m=="function")}function ft(p){return p!=null&&typeof p=="object"}var Tt=pn?Bc(pn):o_;function $t(p){return $(p)?e_(p):n_(p)}function Zt(){return[]}function Ai(){return!1}t.exports=Ee}),N7=Tp((e,t)=>{(function(i,r){typeof e=="object"&&typeof t=="object"?t.exports=r():typeof define=="function"&&define.amd?define([],r):typeof e=="object"?e["LuigiPlugin-auth-oauth2"]=r():i["LuigiPlugin-auth-oauth2"]=r()})(self,()=>(()=>{"use strict";var i={d:(h,d)=>{for(var b in d)i.o(d,b)&&!i.o(h,b)&&Object.defineProperty(h,b,{enumerable:!0,get:d[b]})},o:(h,d)=>Object.prototype.hasOwnProperty.call(h,d)},r={};function o(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}function n(h){return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},n(h)}function a(h){var d=(function(b){if(n(b)!="object"||!b)return b;var w=b[Symbol.toPrimitive];if(w!==void 0){var I=w.call(b,"string");if(n(I)!="object")return I;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(b)})(h);return n(d)=="symbol"?d:d+""}function s(h,d){for(var b=0;b<d.length;b++){var w=d[b];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(h,a(w.key),w)}}function l(h,d,b){return d&&s(h.prototype,d),b&&s(h,b),Object.defineProperty(h,"prototype",{writable:!1}),h}function u(h,d,b){return(d=a(d))in h?Object.defineProperty(h,d,{value:b,enumerable:!0,configurable:!0,writable:!0}):h[d]=b,h}i.d(r,{default:()=>c});var _=new((function(){return l(function h(){o(this,h)},[{key:"getRandomId",value:function(){return window.crypto.getRandomValues(new Uint32Array(1))[0]}},{key:"isFunction",value:function(h){return h&&{}.toString.call(h)==="[object Function]"}},{key:"isPromise",value:function(h){return h&&this.isFunction(h.then)}},{key:"isObject",value:function(h){return h&&n(h)==="object"&&!Array.isArray(h)}},{key:"deepMerge",value:function(h){for(var d=arguments.length,b=new Array(d>1?d-1:0),w=1;w<d;w++)b[w-1]=arguments[w];if(!b.length)return h;var I=b.shift();if(this.isObject(h)&&this.isObject(I))for(var C in I)this.isObject(I[C])?(h[C]||Object.assign(h,u({},C,{})),this.deepMerge(h[C],I[C])):Object.assign(h,u({},C,I[C]));return this.deepMerge.apply(this,[h].concat(b))}},{key:"prependOrigin",value:function(h){if(h.startsWith("http"))return h;var d=h.startsWith("/");return h.length?window.location.origin+(d?"":"/")+h:window.location.origin}}])})()),c=(function(){return l(function h(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};o(this,h);var b={oAuthData:{redirect_uri:window.location.origin+"/assets/auth-oauth2/callback.html",response_type:"id_token token",scope:""},authorizeMethod:"GET",logoutUrl:"",post_logout_redirect_uri:window.location.origin+"/logout.html",accessTokenExpiringNotificationTime:60,expirationCheckInterval:5},w=_.deepMerge(b,d);this.settings=w},[{key:"getAuthData",value:function(){return Luigi.auth().store.getAuthData()}},{key:"parseIdToken",value:function(h){var d=h.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(window.atob(d))}},{key:"userInfo",value:function(){var h=this;return new Promise(function(d,b){var w=h.getAuthData(),I=h.parseIdToken(w.idToken);d({email:I.email?I.email:"",name:I.name?I.name:""})})}},{key:"login",value:function(){var h=this;return new Promise(function(d,b){var w=h.settings,I=w.nonceFn&&w.nonceFn()||h.generateNonce();sessionStorage.setItem("luigi.nonceValue",I),w.oAuthData.nonce||(w.oAuthData.nonce=I);var C=function(se,Be){return Object.assign(document.createElement("input"),{name:se,id:se,value:Be,type:"hidden"})},A=Object.assign(document.createElement("form"),{name:"signIn",id:"signIn",action:w.authorizeUrl,method:w.authorizeMethod,target:"_self"});for(var P in w.oAuthData.redirect_uri="".concat(_.prependOrigin(w.oAuthData.redirect_uri),"?storageType=").concat(Luigi.auth().store.getStorageType()),w.oAuthData.state=btoa(encodeURI(window.location.href)+"_luigiNonce="+I),w.oAuthData){var de=C(P,w.oAuthData[P]);A.appendChild(de.cloneNode())}document.getElementsByTagName("body")[0].appendChild(A),setTimeout(function(){document.querySelector("form#signIn").submit()}),document.querySelector("form#signIn").addEventListener("load",function(se){console.info("load, e",se,h)})})}},{key:"logout",value:function(h,d){var b=this.settings,w="".concat(b.logoutUrl,"?id_token_hint=").concat(h.idToken,"&client_id=").concat(b.oAuthData.client_id,"&post_logout_redirect_uri=").concat(_.prependOrigin(b.post_logout_redirect_uri));d&&d(),setTimeout(function(){window.location.href=w})}},{key:"setTokenExpirationAction",value:function(){var h=this;this.expirationCheckIntervalInstance=setInterval(function(){var d=h.getAuthData();if(!d)return clearInterval(h.expirationCheckIntervalInstance);if((d&&d.accessTokenExpirationDate||0)-new Date<5e3){clearInterval(h.expirationCheckIntervalInstance),Luigi.auth().store.removeAuthData();var b="".concat(h.settings.logoutUrl,"?error=tokenExpired&post_logout_redirect_uri=").concat(_.prependOrigin(h.settings.post_logout_redirect_uri));Luigi.auth().handleAuthEvent("onAuthExpired",h.settings,void 0,b)}},5e3)}},{key:"setTokenExpireSoonAction",value:function(){var h=this,d=1e3*this.settings.accessTokenExpiringNotificationTime,b=1e3*this.settings.expirationCheckInterval,w=this.getAuthData();w&&(this.expirationSoonCheckIntervalInstance=setInterval(function(){(w&&w.accessTokenExpirationDate||0)-new Date().getTime()<d&&(Luigi.auth().handleAuthEvent("onAuthExpireSoon",h.settings),clearInterval(h.expirationSoonCheckIntervalInstance))},b))}},{key:"generateNonce",value:function(){var h=window.crypto;return Array.from(h.getRandomValues(new Uint8Array(20))).map(function(d){for(;d>=61*Math.floor(256/61);)d=h.getRandomValues(new Uint8Array(1))[0];return"0123456789ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvwxyz"[d%61]}).join("")}},{key:"resetExpirationChecks",value:function(){this.unload(),this.setTokenExpirationAction(),this.setTokenExpireSoonAction()}},{key:"unload",value:function(){clearInterval(this.expirationCheckIntervalInstance),clearInterval(this.expirationSoonCheckIntervalInstance)}}])})();return r.default})())}),M7=Tp((e,t)=>{var i="__lodash_hash_undefined__",r=1,o=2,n=9007199254740991,a="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",_="[object Error]",c="[object Function]",h="[object GeneratorFunction]",d="[object Map]",b="[object Number]",w="[object Object]",I="[object Promise]",C="[object RegExp]",A="[object Set]",P="[object String]",de="[object Symbol]",se="[object WeakMap]",Be="[object ArrayBuffer]",pt="[object DataView]",Ye="[object Float32Array]",Me="[object Float64Array]",Wt="[object Int8Array]",le="[object Int16Array]",st="[object Int32Array]",hn="[object Uint8Array]",mc="[object Uint8ClampedArray]",bc="[object Uint16Array]",yc="[object Uint32Array]",wc=/[\\^$.*+?()[\]{}|]/g,Cc=/^\[object .+?Constructor\]$/,xc=/^(?:0|[1-9]\d*)$/,we={};we[Ye]=we[Me]=we[Wt]=we[le]=we[st]=we[hn]=we[mc]=we[bc]=we[yc]=!0,we[a]=we[s]=we[Be]=we[l]=we[pt]=we[u]=we[_]=we[c]=we[d]=we[b]=we[w]=we[C]=we[A]=we[P]=we[se]=!1;var Ns=typeof global=="object"&&global&&global.Object===Object&&global,Sc=typeof self=="object"&&self&&self.Object===Object&&self,Ui=Ns||Sc||Function("return this")(),me=typeof e=="object"&&e&&!e.nodeType&&e,Ba=me&&typeof t=="object"&&t&&!t.nodeType&&t,Ms=Ba&&Ba.exports===me&&Ns.process,si=(function(){try{return Ms&&Ms.binding("util")}catch{}})(),Ea=si&&si.isTypedArray;function Ls(f,y){for(var T=-1,z=f?f.length:0;++T<z;)if(y(f[T],T,f))return!0;return!1}function Fs(f,y){for(var T=-1,z=Array(f);++T<f;)z[T]=y(T);return z}function Da(f){return function(y){return f(y)}}function $s(f,y){return f?.[y]}function pn(f){var y=!1;if(f!=null&&typeof f.toString!="function")try{y=!!(f+"")}catch{}return y}function kc(f){var y=-1,T=Array(f.size);return f.forEach(function(z,Q){T[++y]=[Q,z]}),T}function Tc(f,y){return function(T){return f(y(T))}}function Ic(f){var y=-1,T=Array(f.size);return f.forEach(function(z){T[++y]=z}),T}var Ac=Array.prototype,Bc=Function.prototype,fn=Object.prototype,za=Ui["__core-js_shared__"],Hs=(function(){var f=/[^.]+$/.exec(za&&za.keys&&za.keys.IE_PROTO||"");return f?"Symbol(src)_1."+f:""})(),Us=Bc.toString,Ci=fn.hasOwnProperty,yo=fn.toString,Ec=RegExp("^"+Us.call(Ci).replace(wc,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wo=Ui.Symbol,vn=Ui.Uint8Array,Vs=fn.propertyIsEnumerable,li=Ac.splice,js=Tc(Object.keys,Object),gn=ui(Ui,"DataView"),Co=ui(Ui,"Map"),mn=ui(Ui,"Promise"),Mr=ui(Ui,"Set"),bn=ui(Ui,"WeakMap"),Lr=ui(Object,"create"),Dc=ji(gn),ur=ji(Co),qs=ji(mn),zc=ji(Mr),Rc=ji(bn),yn=wo?wo.prototype:void 0,cr=yn?yn.valueOf:void 0;function xi(f){var y=-1,T=f?f.length:0;for(this.clear();++y<T;){var z=f[y];this.set(z[0],z[1])}}function Ra(){this.__data__=Lr?Lr(null):{}}function Oa(f){return this.has(f)&&delete this.__data__[f]}function xo(f){var y=this.__data__;if(Lr){var T=y[f];return T===i?void 0:T}return Ci.call(y,f)?y[f]:void 0}function Oc(f){var y=this.__data__;return Lr?y[f]!==void 0:Ci.call(y,f)}function Pc(f,y){var T=this.__data__;return T[f]=Lr&&y===void 0?i:y,this}xi.prototype.clear=Ra,xi.prototype.delete=Oa,xi.prototype.get=xo,xi.prototype.has=Oc,xi.prototype.set=Pc;function Si(f){var y=-1,T=f?f.length:0;for(this.clear();++y<T;){var z=f[y];this.set(z[0],z[1])}}function Nc(){this.__data__=[]}function Mc(f){var y=this.__data__,T=Cn(y,f);return T<0?!1:(T==y.length-1?y.pop():li.call(y,T,1),!0)}function Gs(f){var y=this.__data__,T=Cn(y,f);return T<0?void 0:y[T][1]}function Pa(f){return Cn(this.__data__,f)>-1}function _r(f,y){var T=this.__data__,z=Cn(T,f);return z<0?T.push([f,y]):T[z][1]=y,this}Si.prototype.clear=Nc,Si.prototype.delete=Mc,Si.prototype.get=Gs,Si.prototype.has=Pa,Si.prototype.set=_r;function dr(f){var y=-1,T=f?f.length:0;for(this.clear();++y<T;){var z=f[y];this.set(z[0],z[1])}}function Lc(){this.__data__={hash:new xi,map:new(Co||Si),string:new xi}}function Fc(f){return pr(this,f).delete(f)}function $c(f){return pr(this,f).get(f)}function Hc(f){return pr(this,f).has(f)}function ki(f,y){return pr(this,f).set(f,y),this}dr.prototype.clear=Lc,dr.prototype.delete=Fc,dr.prototype.get=$c,dr.prototype.has=Hc,dr.prototype.set=ki;function wn(f){var y=-1,T=f?f.length:0;for(this.__data__=new dr;++y<T;)this.add(f[y])}function Uc(f){return this.__data__.set(f,i),this}function Vc(f){return this.__data__.has(f)}wn.prototype.add=wn.prototype.push=Uc,wn.prototype.has=Vc;function Ti(f){this.__data__=new Si(f)}function jc(){this.__data__=new Si}function hr(f){return this.__data__.delete(f)}function qc(f){return this.__data__.get(f)}function Gc(f){return this.__data__.has(f)}function Wc(f,y){var T=this.__data__;if(T instanceof Si){var z=T.__data__;if(!Co||z.length<199)return z.push([f,y]),this;T=this.__data__=new dr(z)}return T.set(f,y),this}Ti.prototype.clear=jc,Ti.prototype.delete=hr,Ti.prototype.get=qc,Ti.prototype.has=Gc,Ti.prototype.set=Wc;function Zc(f,y){var T=Sn(f)||a_(f)?Fs(f.length,String):[],z=T.length,Q=!!z;for(var $ in f)(y||Ci.call(f,$))&&(!Q||$!="length"&&!Ks($,z))&&T.push($);return T}function Cn(f,y){for(var T=f.length;T--;)if(Xs(f[T][0],y))return T;return-1}function xn(f){return yo.call(f)}function Ws(f,y,T,z,Q){return f===y?!0:f==null||y==null||!ti(f)&&!Na(y)?f!==f&&y!==y:Kc(f,y,Ws,T,z,Q)}function Kc(f,y,T,z,Q,$){var Le=Sn(f),Ee=Sn(y),Pe=s,Oe=s;Le||(Pe=Ii(f),Pe=Pe==a?w:Pe),Ee||(Oe=Ii(y),Oe=Oe==a?w:Oe);var De=Pe==w&&!pn(f),ft=Oe==w&&!pn(y),Tt=Pe==Oe;if(Tt&&!De)return $||($=new Ti),Le||l_(f)?Zs(f,y,T,z,Q,$):Jc(f,y,Pe,T,z,Q,$);if(!(Q&o)){var $t=De&&Ci.call(f,"__wrapped__"),Zt=ft&&Ci.call(y,"__wrapped__");if($t||Zt){var Ai=$t?f.value():f,p=Zt?y.value():y;return $||($=new Ti),T(Ai,p,z,Q,$)}}return Tt?($||($=new Ti),e_(f,y,T,z,Q,$)):!1}function Vi(f,y,T,z){var Q=T.length,$=Q,Le=!z;if(f==null)return!$;for(f=Object(f);Q--;){var Ee=T[Q];if(Le&&Ee[2]?Ee[1]!==f[Ee[0]]:!(Ee[0]in f))return!1}for(;++Q<$;){Ee=T[Q];var Pe=Ee[0],Oe=f[Pe],De=Ee[1];if(Le&&Ee[2]){if(Oe===void 0&&!(Pe in f))return!1}else{var ft=new Ti;if(z)var Tt=z(Oe,De,Pe,f,y,ft);if(!(Tt===void 0?Ws(De,Oe,z,3,ft):Tt))return!1}}return!0}function Xc(f){return!ti(f)||r_(f)?!1:(Ys(f)||pn(f)?Ec:Cc).test(ji(f))}function Yc(f){return Na(f)&&Qs(f.length)&&!!we[yo.call(f)]}function Qc(f){if(!o_(f))return js(f);var y=[];for(var T in Object(f))Ci.call(f,T)&&T!="constructor"&&y.push(T);return y}function Zs(f,y,T,z,Q,$){var Le=Q&o,Ee=f.length,Pe=y.length;if(Ee!=Pe&&!(Le&&Pe>Ee))return!1;var Oe=$.get(f);if(Oe&&$.get(y))return Oe==y;var De=-1,ft=!0,Tt=Q&r?new wn:void 0;for($.set(f,y),$.set(y,f);++De<Ee;){var $t=f[De],Zt=y[De];if(z)var Ai=Le?z(Zt,$t,De,y,f,$):z($t,Zt,De,f,y,$);if(Ai!==void 0){if(Ai)continue;ft=!1;break}if(Tt){if(!Ls(y,function(p,m){if(!Tt.has(m)&&($t===p||T($t,p,z,Q,$)))return Tt.add(m)})){ft=!1;break}}else if(!($t===Zt||T($t,Zt,z,Q,$))){ft=!1;break}}return $.delete(f),$.delete(y),ft}function Jc(f,y,T,z,Q,$,Le){switch(T){case pt:if(f.byteLength!=y.byteLength||f.byteOffset!=y.byteOffset)return!1;f=f.buffer,y=y.buffer;case Be:return!(f.byteLength!=y.byteLength||!z(new vn(f),new vn(y)));case l:case u:case b:return Xs(+f,+y);case _:return f.name==y.name&&f.message==y.message;case C:case P:return f==y+"";case d:var Ee=kc;case A:var Pe=$&o;if(Ee||(Ee=Ic),f.size!=y.size&&!Pe)return!1;var Oe=Le.get(f);if(Oe)return Oe==y;$|=r,Le.set(f,y);var De=Zs(Ee(f),Ee(y),z,Q,$,Le);return Le.delete(f),De;case de:if(cr)return cr.call(f)==cr.call(y)}return!1}function e_(f,y,T,z,Q,$){var Le=Q&o,Ee=Ma(f),Pe=Ee.length;if(Pe!=Ma(y).length&&!Le)return!1;for(var Oe=Pe;Oe--;){var De=Ee[Oe];if(!(Le?De in y:Ci.call(y,De)))return!1}var ft=$.get(f);if(ft&&$.get(y))return ft==y;var Tt=!0;$.set(f,y),$.set(y,f);for(var $t=Le;++Oe<Pe;){De=Ee[Oe];var Zt=f[De],Ai=y[De];if(z)var p=Le?z(Ai,Zt,De,y,f,$):z(Zt,Ai,De,f,y,$);if(!(p===void 0?Zt===Ai||T(Zt,Ai,z,Q,$):p)){Tt=!1;break}$t||($t=De=="constructor")}if(Tt&&!$t){var m=f.constructor,x=y.constructor;m!=x&&"constructor"in f&&"constructor"in y&&!(typeof m=="function"&&m instanceof m&&typeof x=="function"&&x instanceof x)&&(Tt=!1)}return $.delete(f),$.delete(y),Tt}function pr(f,y){var T=f.__data__;return i_(y)?T[typeof y=="string"?"string":"hash"]:T.map}function t_(f){for(var y=Ma(f),T=y.length;T--;){var z=y[T],Q=f[z];y[T]=[z,Q,n_(Q)]}return y}function ui(f,y){var T=$s(f,y);return Xc(T)?T:void 0}var Ii=xn;(gn&&Ii(new gn(new ArrayBuffer(1)))!=pt||Co&&Ii(new Co)!=d||mn&&Ii(mn.resolve())!=I||Mr&&Ii(new Mr)!=A||bn&&Ii(new bn)!=se)&&(Ii=function(f){var y=yo.call(f),T=y==w?f.constructor:void 0,z=T?ji(T):void 0;if(z)switch(z){case Dc:return pt;case ur:return d;case qs:return I;case zc:return A;case Rc:return se}return y});function Ks(f,y){return y=y??n,!!y&&(typeof f=="number"||xc.test(f))&&f>-1&&f%1==0&&f<y}function i_(f){var y=typeof f;return y=="string"||y=="number"||y=="symbol"||y=="boolean"?f!=="__proto__":f===null}function r_(f){return!!Hs&&Hs in f}function o_(f){var y=f&&f.constructor;return f===(typeof y=="function"&&y.prototype||fn)}function n_(f){return f===f&&!ti(f)}function ji(f){if(f!=null){try{return Us.call(f)}catch{}try{return f+""}catch{}}return""}function Xs(f,y){return f===y||f!==f&&y!==y}function a_(f){return Fr(f)&&Ci.call(f,"callee")&&(!Vs.call(f,"callee")||yo.call(f)==a)}var Sn=Array.isArray;function So(f){return f!=null&&Qs(f.length)&&!Ys(f)}function Fr(f){return Na(f)&&So(f)}function Ys(f){var y=ti(f)?yo.call(f):"";return y==c||y==h}function Qs(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=n}function ti(f){var y=typeof f;return!!f&&(y=="object"||y=="function")}function Na(f){return!!f&&typeof f=="object"}function s_(f,y){return f===y||Vi(f,y,t_(y))}var l_=Ea?Da(Ea):Yc;function Ma(f){return So(f)?Zc(f):Qc(f)}t.exports=s_}),Ut=null,Hl=!1,qo=1,L7=null,Qt=Symbol("SIGNAL");ba={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};Un=Symbol("UNSET"),Vn=Symbol("COMPUTING"),Cr=Symbol("ERRORED"),q7=te(D({},ba),{value:Un,dirty:!0,error:null,equal:df,kind:"computed",producerMustRecompute(e){return e.value===Un||e.value===Vn},producerRecomputeValue(e){if(e.value===Vn)throw new Error("");let t=e.value;e.value=Vn;let i=_s(e),r,o=!1;try{r=e.computation(),M(null),o=t!==Un&&t!==Cr&&r!==Cr&&e.equal(t,r)}catch(n){r=Cr,e.error=n}finally{ic(e,i)}if(o){e.value=t;return}e.value=r,e.version++}});P1=G7;Z7=null;L1=te(D({},ba),{equal:df,value:void 0,kind:"signal"});Q7=te(D({},ba),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});eD=Symbol("NotFound");iD=te(D({},ba),{value:Un,dirty:!0,error:null,equal:df,kind:"linkedSignal",producerMustRecompute(e){return e.value===Un||e.value===Vn},producerRecomputeValue(e){if(e.value===Vn)throw new Error("");let t=e.value;e.value=Vn;let i=_s(e),r,o=!1;try{let n=e.source(),a=t!==Un&&t!==Cr,s=a?{source:e.sourceValue,value:t}:void 0;r=e.computation(n,s),e.sourceValue=n,M(null),o=a&&r!==Cr&&e.equal(t,r)}catch(n){r=Cr,e.error=n}finally{ic(e,i)}if(o){e.value=t;return}e.value=r,e.version++}});td=pf(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
83
+ `,ec=function(e,t,i,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(o<3?a(n):o>3?a(t,i,n):a(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n},na=kh=class extends B1{constructor(){super(...arguments),this.movable=!1}get isCustomListItem(){return!0}_onkeydown(e){(this.matches(":focus")||lo(e)||ta(e)||jd(e)||qd(e)||di(e)||Bi(e))&&super._onkeydown(e)}_onkeyup(e){(this.matches(":focus")||lo(e)||ta(e)||jd(e)||qd(e)||di(e)||Bi(e))&&super._onkeyup(e)}get _accessibleNameRef(){return`${this._id}-invisibleText`}_onfocusin(e){super._onfocusin(e),!this._isDragging()&&!this.accessibleName&&this._updateInvisibleTextContent()}_onfocusout(e){super._onfocusout(e),!this._isDragging()&&!this.accessibleName&&this._clearInvisibleTextContent()}_isDragging(){return this.hasAttribute("data-moving")}_updateInvisibleTextContent(){let e=this._listItem;e&&Rm(e,D1(this))}_clearInvisibleTextContent(){let e=this._listItem;e&&Rm(e,"")}_getDeleteButtonNodes(){if(!this.modeDelete)return[];if(this.hasDeleteButtonSlot)return this.deleteButton;let e=this.shadowRoot?.querySelector(`#${this._id}-deleteSelectionElement`);return e?[e]:[]}get classes(){let e=super.classes;return e.main["ui5-custom-li-root"]=!0,e}get accessibilityInfo(){let e=[],t=this.shadowRoot?.querySelector("slot:not([name])");if(t){let r=t.assignedNodes({flatten:!0});e.push(...r)}let i=this._getDeleteButtonNodes();return e.push(...i),{type:kh.i18nBundle.getText(QS),children:e}}};ec([v({type:Boolean})],na.prototype,"movable",void 0);ec([v()],na.prototype,"accessibleName",void 0);ec([lt("@ui5/webcomponents")],na,"i18nBundle",void 0);na=kh=ec([ye({tag:"ui5-li-custom",template:T7,renderer:it,styles:[B1.styles,B7]})],na);na.define();E7=Wu("isCustomListItem"),Ae=function(e,t,i,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(o<3?a(n):o>3?a(t,i,n):a(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n},D7=250,z7=10,R7={Menu:"menuitem",Tree:"treeitem",ListBox:"option"},ge=Di=class extends mt{constructor(){super(),this.indent=!1,this.selectionMode="None",this.separators="All",this.growing="None",this.loading=!1,this.loadingDelay=1e3,this.stickyHeader=!1,this.accessibilityAttributes={},this.accessibleRole="List",this._inViewport=!1,this._loadMoreActive=!1,this.mediaRange="S",this._startMarkerOutOfView=!1,this._previouslyFocusedItem=null,this._forwardingFocus=!1,this._itemNavigation=new j3(this,{skipItemsSize:z7,navigationMode:zn.Vertical,getItemsCallback:()=>this.getEnabledItems()}),this.handleResizeCallback=this._handleResize.bind(this),this._groupCount=0,this._groupItemCount=0,this.onItemFocusedBound=this.onItemFocused.bind(this),this.onForwardAfterBound=this.onForwardAfter.bind(this),this.onForwardBeforeBound=this.onForwardBefore.bind(this),this.onItemTabIndexChangeBound=this.onItemTabIndexChange.bind(this),this._dragAndDropHandler=new S1(this,{getItems:()=>this.items,getDropIndicator:()=>this.dropIndicatorDOM,useOriginalEvent:!0})}get listItems(){return this.getItems()}_updateAssociatedLabelsTexts(){this._associatedDescriptionRefTexts=Qu(this),this._associatedLabelsRefTexts=Ku(this)}onEnterDOM(){Xu(this,this._updateAssociatedLabelsTexts.bind(this)),ia.register(this.getDomRef(),this.handleResizeCallback)}onExitDOM(){Yu(this),this.unobserveListEnd(),this.unobserveListStart(),ia.deregister(this.getDomRef(),this.handleResizeCallback)}onBeforeRendering(){this.detachGroupHeaderEvents(),this.prepareListItems()}onAfterRendering(){this.attachGroupHeaderEvents(),this.growsOnScroll?(this.observeListEnd(),this.observeListStart()):(this.unobserveListEnd(),this.unobserveListStart()),this.grows&&this.checkListInViewport()}attachGroupHeaderEvents(){this.getItems().forEach(e=>{e.hasAttribute("ui5-li-group-header")&&(e.addEventListener("ui5-_focused",this.onItemFocusedBound),e.addEventListener("ui5-forward-after",this.onForwardAfterBound),e.addEventListener("ui5-forward-before",this.onForwardBeforeBound))})}detachGroupHeaderEvents(){this.getItems().forEach(e=>{e.hasAttribute("ui5-li-group-header")&&(e.removeEventListener("ui5-_focused",this.onItemFocusedBound),e.removeEventListener("ui5-forward-after",this.onForwardAfterBound),e.removeEventListener("ui5-forward-before",this.onForwardBeforeBound))})}getFocusDomRef(){return this._itemNavigation._getCurrentItem()}get shouldRenderH1(){return!this.header.length&&this.headerText}get headerID(){return`${this._id}-header`}get modeLabelID(){return`${this._id}-modeLabel`}get listEndDOM(){return this.shadowRoot.querySelector(".ui5-list-end-marker")}get listStartDOM(){return this.shadowRoot.querySelector(".ui5-list-start-marker")}get dropIndicatorDOM(){return this.shadowRoot.querySelector("[ui5-drop-indicator]")}get hasData(){return this.getItems().length!==0}get showBusyIndicatorOverlay(){return!this.growsWithButton&&this.loading}get showNoDataText(){return!this.hasData&&this.noDataText}get isDelete(){return this.selectionMode===qe.Delete}get isSingleSelect(){return[qe.Single,qe.SingleStart,qe.SingleEnd,qe.SingleAuto].includes(this.selectionMode)}get isMultiple(){return this.selectionMode===qe.Multiple}get ariaLabelledBy(){if(this.accessibleNameRef||this.accessibleName)return;let e=[];return(this.isMultiple||this.isSingleSelect||this.isDelete)&&e.push(this.modeLabelID),this.shouldRenderH1&&e.push(this.headerID),e.length?e.join(" "):void 0}get ariaLabelTxt(){return this._associatedLabelsRefTexts||ga(this)}get ariaDescriptionText(){let e=[];this.accessibleRole===Ua.List&&this._hasInteractiveItems&&e.push(this.defaultAriaDescriptionText);let t=this._associatedDescriptionRefTexts||rf(this);t&&e.push(t);let i=this._getDescriptionForGroups();return i&&e.push(i),e.join(" ")}get defaultAriaDescriptionText(){return Di.i18nBundle.getText(HS)}get _hasInteractiveItems(){return this.selectionMode===qe.Delete?!0:this.getItems().some(e=>e.getAttribute("type")==="Detail"||E7(e))}get growingButtonAriaLabel(){return this.accessibilityAttributes.growingButton?.name}get growingButtonAriaLabelledBy(){return this.accessibilityAttributes.growingButton?.name?void 0:`${this._id}-growingButton-text`}get growingButtonAriaDescribedBy(){return this.accessibilityAttributes.growingButton?.description?`${this._id}-growingButton-description`:void 0}hasGrowingComponent(){return this.growsOnScroll?this._startMarkerOutOfView:this.growsWithButton}_getDescriptionForGroups(){let e="";return this._groupCount>0&&(this.accessibleRole===Ua.List?e=Di.i18nBundle.getText(VS,this._groupCount,this._groupItemCount):this.accessibleRole===Ua.ListBox&&(e=Di.i18nBundle.getText(jS,this._groupCount))),e}get ariaLabelModeText(){if(this.hasData){if(this.isMultiple)return Di.i18nBundle.getText(ZS);if(this.isSingleSelect)return Di.i18nBundle.getText(WS);if(this.isDelete)return Di.i18nBundle.getText(KS)}return""}get grows(){return this.growing!==Q_.None}get growsOnScroll(){return this.growing===Q_.Scroll}get growsWithButton(){return this.growing===Q_.Button}get _growingButtonText(){return this.growingButtonText||Di.i18nBundle.getText(YS)}get listAccessibleRole(){return Ur(this.accessibleRole)}get classes(){return{root:{"ui5-list-root":!0}}}prepareListItems(){let e=this.getItemsForProcessing(),t=R7[this.accessibleRole];e.forEach((i,r)=>{let o=r===e.length-1,n=this.separators===Bm.All||this.separators===Bm.Inner&&!o;i.hasConfigurableMode&&(i._selectionMode=this.selectionMode,i._inheritedAccessibleRole=t),i.hasBorder=n,i.mediaRange=this.mediaRange})}async observeListEnd(){await Jn(),this.getEndIntersectionObserver().observe(this.listEndDOM)}unobserveListEnd(){this._endIntersectionObserver&&(this._endIntersectionObserver.disconnect(),this._endIntersectionObserver=null)}async observeListStart(){await Jn(),this.getStartIntersectionObserver().observe(this.listStartDOM)}unobserveListStart(){this._startIntersectionObserver&&(this._startIntersectionObserver.disconnect(),this._startIntersectionObserver=null)}onEndIntersection(e){e.forEach(t=>{t.isIntersecting&&K3(this.loadMore.bind(this),D7)})}onStartIntersection(e){e.forEach(t=>{this._startMarkerOutOfView=!t.isIntersecting})}onSelectionRequested(e){let t=this.getSelectedItems(),i=!1;this.selectionMode!==qe.None&&this[`handle${this.selectionMode}`]&&(i=this[`handle${this.selectionMode}`](e.detail.item,!!e.detail.selected)),i&&(this.fireDecoratorEvent("selection-change",{selectedItems:this.getSelectedItems(),previouslySelectedItems:t,selectionComponentPressed:e.detail.selectionComponentPressed,targetItem:e.detail.item,key:e.detail.key})?this.selectionMode!==qe.Delete&&W3(e.detail.item.selected?Di.i18nBundle.getText(kb):Di.i18nBundle.getText(Tb),"Polite"):this._revertSelection(t))}handleSingle(e){return e.selected?!1:(this.deselectSelectedItems(),e.selected=!0,!0)}handleSingleStart(e){return this.handleSingle(e)}handleSingleEnd(e){return this.handleSingle(e)}handleSingleAuto(e){return this.handleSingle(e)}handleMultiple(e,t){return e.selected=t,!0}handleDelete(e){return this.fireDecoratorEvent("item-delete",{item:e}),!0}deselectSelectedItems(){this.getSelectedItems().forEach(e=>{e.selected=!1})}getSelectedItems(){return this.getItems().filter(e=>e.selected)}getEnabledItems(){return this.getItems().filter(e=>e._focusable)}getItems(){let e=[],t=this.getSlottedNodes("items"),i=0,r=0;return t.forEach(o=>{if(U3(o)){let n=[o.groupHeaderItem,...o.items.filter(a=>a.assignedSlot)].filter(Boolean);e.push(...n),i++,r+=n.length-1}else O7(o)?o.assignedSlot&&e.push(...o.listItems):o.assignedSlot&&e.push(o)}),this._groupCount=i,this._groupItemCount=r,e}getItemsForProcessing(){return this.getItems()}_revertSelection(e){this.getItems().forEach(t=>{let i=e.indexOf(t)!==-1,r=t.shadowRoot.querySelector(".ui5-li-multisel-cb"),o=t.shadowRoot.querySelector(".ui5-li-singlesel-radiobtn");t.selected=i,r?r.checked=i:o&&(o.checked=i)})}_onkeydown(e){if(Qp(e)){this._handleEnd(),e.preventDefault();return}if(Yp(e)){this._handleHome();return}let t=di(e)||Bi(e),i=this._getClosestListItem(e.target);if(i?._isFocusOnInternalElement()&&t){let r=di(e)?-1:1;if(this._navigateToAdjacentItem(i,r)){e.preventDefault();return}}if(Bi(e)){this._handleDown(e);return}if(sB(e)){this._moveItem(e.target,e);return}lo(e)&&this._handleTabNext(e),qd(e)&&this._handleF7(e)}_handleF7(e){let t=this._getClosestListItem(e.target);if(!t||!t._hasFocusableElements())return;let i=t.getFocusDomRef(),r=Qi();e.preventDefault(),e.stopPropagation(),r===i?(t._editMode=!0,t._focusInternalElement(this._lastFocusedElementIndex??0),this._lastFocusedElementIndex=t._getFocusedElementIndex()):(this._lastFocusedElementIndex=t._getFocusedElementIndex(),t._editMode=!1,i.focus())}_getClosestListItem(e){return e.closest("[ui5-li], [ui5-li-custom]")}_moveItem(e,t){if(!e||!e.movable)return;let i=E3(this.items,e,t);if(!i.length)return;t.preventDefault();let r=i.find(({element:o,placement:n})=>!this.fireDecoratorEvent("move-over",{originalEvent:t,source:{element:e},destination:{element:o,placement:n}}));r&&(this.fireDecoratorEvent("move",{originalEvent:t,source:{element:e},destination:{element:r.element,placement:r.placement}}),e.focus())}_onLoadMoreKeydown(e){if(Ue(e)&&(e.preventDefault(),this._loadMoreActive=!0),Nt(e)&&(this._onLoadMoreClick(),this._loadMoreActive=!0),lo(e)&&this.focusAfterElement(),di(e)){this._handleLodeMoreUp(e);return}ta(e)&&(this.getPreviouslyFocusedItem()?this.focusPreviouslyFocusedItem():this.focusFirstItem(),e.preventDefault())}_onLoadMoreKeyup(e){Ue(e)&&this._onLoadMoreClick(),this._loadMoreActive=!1}_onLoadMoreMousedown(){this._loadMoreActive=!0}_onLoadMoreMouseup(){this._loadMoreActive=!1}_onLoadMoreClick(){this.loadMore()}_handleLodeMoreUp(e){if(this.getGrowingButton()===e.target){let t=this.getItems(),i=t[t.length-1];this.focusItem(i),e.preventDefault(),e.stopImmediatePropagation()}}checkListInViewport(){this._inViewport=Y3(this.getDomRef())}loadMore(){this.hasGrowingComponent()&&this.fireDecoratorEvent("load-more")}_handleResize(){this.checkListInViewport();let e=this.getBoundingClientRect().width;this.mediaRange=au.getCurrentRange(au.RANGESETS.RANGE_4STEPS,e)}_handleTabNext(e){Im(e.target)}_handleHome(){this.growsWithButton&&this.focusFirstItem()}_handleEnd(){this.growsWithButton&&this._shouldFocusGrowingButton()&&this.focusGrowingButton()}_handleDown(e){this._shouldFocusGrowingButton()&&(this.focusGrowingButton(),e.preventDefault())}_navigateToAdjacentItem(e,t){let i=e?._getFocusedElementIndex();if(i===void 0||i===-1)return!1;let r=this.getItems().filter(a=>"hasConfigurableMode"in a&&a.hasConfigurableMode&&a._hasFocusableElements()),o=r[r.indexOf(e)+t];if(!o)return!1;o._editMode=e._editMode;let n=o._focusInternalElement(i);return n!==void 0&&(this._lastFocusedElementIndex=n),!0}_onfocusin(e){let t=Im(e.target);if(this.isForwardElement(t)){if(!this.getPreviouslyFocusedItem()){this.growsWithButton&&this.isForwardAfterElement(t)?this.focusGrowingButton():this.focusFirstItem(),e.stopImmediatePropagation();return}if(!this.getForwardingFocus()){if(this.growsWithButton&&this.isForwardAfterElement(t)){this.focusGrowingButton(),e.stopImmediatePropagation();return}this.focusPreviouslyFocusedItem()}e.stopImmediatePropagation(),this.setForwardingFocus(!1)}}_ondragenter(e){this._dragAndDropHandler.ondragenter(e)}_ondragleave(e){this._dragAndDropHandler.ondragleave(e)}_ondragover(e){this._dragAndDropHandler.ondragover(e)}_ondrop(e){this._dragAndDropHandler.ondrop(e)}isForwardElement(e){let t=e.id,i=this.getBeforeElement();return this._id===t||i&&i.id===t?!0:this.isForwardAfterElement(e)}isForwardAfterElement(e){let t=e.id,i=this.getAfterElement();return i&&i.id===t}onItemTabIndexChange(e){e.stopPropagation();let t=e.target;this._itemNavigation.setCurrentItem(t)}onItemFocused(e){let t=e.target;if(e.stopPropagation(),this._itemNavigation.setCurrentItem(t),this.fireDecoratorEvent("item-focused",{item:t}),this.selectionMode===qe.SingleAuto){let i={item:t,selectionComponentPressed:!1,selected:!0,key:e.detail.key};this.onSelectionRequested({detail:i})}}onItemPress(e){let t=e.detail.item;if(this.fireDecoratorEvent("item-click",{item:t})&&this.selectionMode!==qe.Delete){let i={item:t,selectionComponentPressed:!1,selected:!t.selected,key:e.detail.key};this.onSelectionRequested({detail:i})}}onItemClose(e){let t=e.target;(t?.hasAttribute("ui5-li-notification")||t?.hasAttribute("ui5-li-notification-group"))&&this.fireDecoratorEvent("item-close",{item:e.detail?.item})}onItemToggle(e){if(!e.target?.isListItemBase)return;let t=e.detail?.item;t&&this.fireDecoratorEvent("item-toggle",{item:t})}onForwardBefore(e){let t=e.target;if(t.hasConfigurableMode&&t._editMode){let i=this.getItems().filter(n=>"hasConfigurableMode"in n&&n.hasConfigurableMode&&n._hasFocusableElements()),r=i.indexOf(t),o=r>0?i[r-1]:void 0;if(o){o._editMode=!0;let n=o._getFocusableElements();o._focusInternalElement(n.length-1),this._lastFocusedElementIndex=n.length-1,this.setPreviouslyFocusedItem(o),e.preventDefault(),e.stopPropagation();return}t._editMode=!1}this.setPreviouslyFocusedItem(t),this.focusBeforeElement(),e.stopPropagation()}onForwardAfter(e){let t=e.target;if(t.hasConfigurableMode&&t._editMode){let i=this.getItems().filter(n=>"hasConfigurableMode"in n&&n.hasConfigurableMode&&n._hasFocusableElements()),r=i.indexOf(t),o=r>=0&&r<i.length-1?i[r+1]:void 0;if(o){o._editMode=!0,o._focusInternalElement(0),this._lastFocusedElementIndex=0,this.setPreviouslyFocusedItem(o),e.preventDefault(),e.stopPropagation();return}t._editMode=!1}this.setPreviouslyFocusedItem(t),this.growsWithButton?(this.focusGrowingButton(),e.preventDefault()):this.focusAfterElement(),e.stopPropagation()}focusBeforeElement(){this.setForwardingFocus(!0),this.getBeforeElement().focus()}focusAfterElement(){this.setForwardingFocus(!0),this.getAfterElement().focus()}focusGrowingButton(){let e=this.getGrowingButton();e&&e.focus()}_shouldFocusGrowingButton(){if(!this.growsWithButton)return!1;let e=this.getItems().length-1,t=this._itemNavigation._currentIndex;return t!==-1&&t===e}getGrowingButton(){return this.shadowRoot.querySelector(`[id="${this._id}-growing-btn"]`)}focusFirstItem(){let e=this.getFirstItem(t=>t._focusable);e&&e.focus()}focusPreviouslyFocusedItem(){let e=this.getPreviouslyFocusedItem();e&&e.focus()}focusFirstSelectedItem(){let e=this.getFirstItem(t=>t.selected&&t._focusable);e&&e.focus()}focusItem(e){this._itemNavigation.setCurrentItem(e),e.focus()}onFocusRequested(e){setTimeout(()=>{this.setPreviouslyFocusedItem(e.target),this.focusPreviouslyFocusedItem()},0)}setForwardingFocus(e){this._forwardingFocus=e}getForwardingFocus(){return this._forwardingFocus}setPreviouslyFocusedItem(e){this._previouslyFocusedItem=e}getPreviouslyFocusedItem(){return this._previouslyFocusedItem}getFirstItem(e){let t=this.getItems(),i=null;if(!e)return t.length?t[0]:null;for(let r=0;r<t.length;r++)if(e(t[r])){i=t[r];break}return i}getAfterElement(){return this._afterElement||(this._afterElement=this.shadowRoot.querySelector(`[id="${this._id}-after"]`)),this._afterElement}getBeforeElement(){return this._beforeElement||(this._beforeElement=this.shadowRoot.querySelector(`[id="${this._id}-before"]`)),this._beforeElement}getEndIntersectionObserver(){return this._endIntersectionObserver||(this._endIntersectionObserver=new IntersectionObserver(this.onEndIntersection.bind(this),{root:null,rootMargin:"0px",threshold:1})),this._endIntersectionObserver}getStartIntersectionObserver(){return this._startIntersectionObserver||(this._startIntersectionObserver=new IntersectionObserver(this.onStartIntersection.bind(this),{root:null,rootMargin:"0px",threshold:1})),this._startIntersectionObserver}};Ae([v()],ge.prototype,"headerText",void 0);Ae([v()],ge.prototype,"footerText",void 0);Ae([v({type:Boolean})],ge.prototype,"indent",void 0);Ae([v()],ge.prototype,"selectionMode",void 0);Ae([v()],ge.prototype,"noDataText",void 0);Ae([v()],ge.prototype,"separators",void 0);Ae([v()],ge.prototype,"growing",void 0);Ae([v()],ge.prototype,"growingButtonText",void 0);Ae([v({type:Boolean})],ge.prototype,"loading",void 0);Ae([v({type:Number})],ge.prototype,"loadingDelay",void 0);Ae([v({type:Boolean})],ge.prototype,"stickyHeader",void 0);Ae([v()],ge.prototype,"accessibleName",void 0);Ae([v({type:Object})],ge.prototype,"accessibilityAttributes",void 0);Ae([v()],ge.prototype,"accessibleNameRef",void 0);Ae([v()],ge.prototype,"accessibleDescription",void 0);Ae([v()],ge.prototype,"accessibleDescriptionRef",void 0);Ae([v({noAttribute:!0})],ge.prototype,"_associatedDescriptionRefTexts",void 0);Ae([v({noAttribute:!0})],ge.prototype,"_associatedLabelsRefTexts",void 0);Ae([v()],ge.prototype,"accessibleRole",void 0);Ae([v({type:Boolean})],ge.prototype,"_inViewport",void 0);Ae([v({type:Boolean})],ge.prototype,"_loadMoreActive",void 0);Ae([v()],ge.prototype,"mediaRange",void 0);Ae([$e({type:HTMLElement,default:!0,invalidateOnChildChange:!0})],ge.prototype,"items",void 0);Ae([$e()],ge.prototype,"header",void 0);Ae([lt("@ui5/webcomponents")],ge,"i18nBundle",void 0);ge=Di=Ae([ye({tag:"ui5-list",fastNavigation:!0,renderer:it,template:Q3,styles:[e7]}),V("item-click",{bubbles:!0,cancelable:!0}),V("item-close",{bubbles:!0}),V("item-toggle",{bubbles:!0}),V("item-delete",{bubbles:!0}),V("selection-change",{bubbles:!0,cancelable:!0}),V("load-more",{bubbles:!0}),V("item-focused",{bubbles:!0}),V("move-over",{bubbles:!0,cancelable:!0}),V("move",{bubbles:!0})],ge);ge.define();O7=e=>"hasListItems"in e&&e.hasListItems,sg=ge;P7=Tp((e,t)=>{var i="__lodash_hash_undefined__",r=1,o=2,n=9007199254740991,a="[object Arguments]",s="[object Array]",l="[object AsyncFunction]",u="[object Boolean]",_="[object Date]",c="[object Error]",h="[object Function]",d="[object GeneratorFunction]",b="[object Map]",w="[object Number]",I="[object Null]",C="[object Object]",A="[object Promise]",P="[object Proxy]",de="[object RegExp]",se="[object Set]",Be="[object String]",pt="[object Symbol]",Ye="[object Undefined]",Me="[object WeakMap]",Wt="[object ArrayBuffer]",le="[object DataView]",st="[object Float32Array]",hn="[object Float64Array]",mc="[object Int8Array]",bc="[object Int16Array]",yc="[object Int32Array]",wc="[object Uint8Array]",Cc="[object Uint8ClampedArray]",xc="[object Uint16Array]",we="[object Uint32Array]",Ns=/[\\^$.*+?()[\]{}|]/g,Sc=/^\[object .+?Constructor\]$/,Ui=/^(?:0|[1-9]\d*)$/,me={};me[st]=me[hn]=me[mc]=me[bc]=me[yc]=me[wc]=me[Cc]=me[xc]=me[we]=!0,me[a]=me[s]=me[Wt]=me[u]=me[le]=me[_]=me[c]=me[h]=me[b]=me[w]=me[C]=me[de]=me[se]=me[Be]=me[Me]=!1;var Ba=typeof global=="object"&&global&&global.Object===Object&&global,Ms=typeof self=="object"&&self&&self.Object===Object&&self,si=Ba||Ms||Function("return this")(),Ea=typeof e=="object"&&e&&!e.nodeType&&e,Ls=Ea&&typeof t=="object"&&t&&!t.nodeType&&t,Fs=Ls&&Ls.exports===Ea,Da=Fs&&Ba.process,$s=(function(){try{return Da&&Da.binding&&Da.binding("util")}catch{}})(),pn=$s&&$s.isTypedArray;function kc(p,m){for(var x=-1,E=p==null?0:p.length,ze=0,G=[];++x<E;){var Fe=p[x];m(Fe,x,p)&&(G[ze++]=Fe)}return G}function Tc(p,m){for(var x=-1,E=m.length,ze=p.length;++x<E;)p[ze+x]=m[x];return p}function Ic(p,m){for(var x=-1,E=p==null?0:p.length;++x<E;)if(m(p[x],x,p))return!0;return!1}function Ac(p,m){for(var x=-1,E=Array(p);++x<p;)E[x]=m(x);return E}function Bc(p){return function(m){return p(m)}}function fn(p,m){return p.has(m)}function za(p,m){return p?.[m]}function Hs(p){var m=-1,x=Array(p.size);return p.forEach(function(E,ze){x[++m]=[ze,E]}),x}function Us(p,m){return function(x){return p(m(x))}}function Ci(p){var m=-1,x=Array(p.size);return p.forEach(function(E){x[++m]=E}),x}var yo=Array.prototype,Ec=Function.prototype,wo=Object.prototype,vn=si["__core-js_shared__"],Vs=Ec.toString,li=wo.hasOwnProperty,js=(function(){var p=/[^.]+$/.exec(vn&&vn.keys&&vn.keys.IE_PROTO||"");return p?"Symbol(src)_1."+p:""})(),gn=wo.toString,Co=RegExp("^"+Vs.call(li).replace(Ns,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mn=Fs?si.Buffer:void 0,Mr=si.Symbol,bn=si.Uint8Array,Lr=wo.propertyIsEnumerable,Dc=yo.splice,ur=Mr?Mr.toStringTag:void 0,qs=Object.getOwnPropertySymbols,zc=mn?mn.isBuffer:void 0,Rc=Us(Object.keys,Object),yn=Fr(si,"DataView"),cr=Fr(si,"Map"),xi=Fr(si,"Promise"),Ra=Fr(si,"Set"),Oa=Fr(si,"WeakMap"),xo=Fr(Object,"create"),Oc=y(yn),Pc=y(cr),Si=y(xi),Nc=y(Ra),Mc=y(Oa),Gs=Mr?Mr.prototype:void 0,Pa=Gs?Gs.valueOf:void 0;function _r(p){var m=-1,x=p==null?0:p.length;for(this.clear();++m<x;){var E=p[m];this.set(E[0],E[1])}}function dr(){this.__data__=xo?xo(null):{},this.size=0}function Lc(p){var m=this.has(p)&&delete this.__data__[p];return this.size-=m?1:0,m}function Fc(p){var m=this.__data__;if(xo){var x=m[p];return x===i?void 0:x}return li.call(m,p)?m[p]:void 0}function $c(p){var m=this.__data__;return xo?m[p]!==void 0:li.call(m,p)}function Hc(p,m){var x=this.__data__;return this.size+=this.has(p)?0:1,x[p]=xo&&m===void 0?i:m,this}_r.prototype.clear=dr,_r.prototype.delete=Lc,_r.prototype.get=Fc,_r.prototype.has=$c,_r.prototype.set=Hc;function ki(p){var m=-1,x=p==null?0:p.length;for(this.clear();++m<x;){var E=p[m];this.set(E[0],E[1])}}function wn(){this.__data__=[],this.size=0}function Uc(p){var m=this.__data__,x=pr(m,p);return x<0?!1:(x==m.length-1?m.pop():Dc.call(m,x,1),--this.size,!0)}function Vc(p){var m=this.__data__,x=pr(m,p);return x<0?void 0:m[x][1]}function Ti(p){return pr(this.__data__,p)>-1}function jc(p,m){var x=this.__data__,E=pr(x,p);return E<0?(++this.size,x.push([p,m])):x[E][1]=m,this}ki.prototype.clear=wn,ki.prototype.delete=Uc,ki.prototype.get=Vc,ki.prototype.has=Ti,ki.prototype.set=jc;function hr(p){var m=-1,x=p==null?0:p.length;for(this.clear();++m<x;){var E=p[m];this.set(E[0],E[1])}}function qc(){this.size=0,this.__data__={hash:new _r,map:new(cr||ki),string:new _r}}function Gc(p){var m=So(this,p).delete(p);return this.size-=m?1:0,m}function Wc(p){return So(this,p).get(p)}function Zc(p){return So(this,p).has(p)}function Cn(p,m){var x=So(this,p),E=x.size;return x.set(p,m),this.size+=x.size==E?0:1,this}hr.prototype.clear=qc,hr.prototype.delete=Gc,hr.prototype.get=Wc,hr.prototype.has=Zc,hr.prototype.set=Cn;function xn(p){var m=-1,x=p==null?0:p.length;for(this.__data__=new hr;++m<x;)this.add(p[m])}function Ws(p){return this.__data__.set(p,i),this}function Kc(p){return this.__data__.has(p)}xn.prototype.add=xn.prototype.push=Ws,xn.prototype.has=Kc;function Vi(p){var m=this.__data__=new ki(p);this.size=m.size}function Xc(){this.__data__=new ki,this.size=0}function Yc(p){var m=this.__data__,x=m.delete(p);return this.size=m.size,x}function Qc(p){return this.__data__.get(p)}function Zs(p){return this.__data__.has(p)}function Jc(p,m){var x=this.__data__;if(x instanceof ki){var E=x.__data__;if(!cr||E.length<199)return E.push([p,m]),this.size=++x.size,this;x=this.__data__=new hr(E)}return x.set(p,m),this.size=x.size,this}Vi.prototype.clear=Xc,Vi.prototype.delete=Yc,Vi.prototype.get=Qc,Vi.prototype.has=Zs,Vi.prototype.set=Jc;function e_(p,m){var x=Q(p),E=!x&&z(p),ze=!x&&!E&&Le(p),G=!x&&!E&&!ze&&Tt(p),Fe=x||E||ze||G,vt=Fe?Ac(p.length,String):[],It=vt.length;for(var Se in p)(m||li.call(p,Se))&&!(Fe&&(Se=="length"||ze&&(Se=="offset"||Se=="parent")||G&&(Se=="buffer"||Se=="byteLength"||Se=="byteOffset")||Na(Se,It)))&&vt.push(Se);return vt}function pr(p,m){for(var x=p.length;x--;)if(T(p[x][0],m))return x;return-1}function t_(p,m,x){var E=m(p);return Q(p)?E:Tc(E,x(p))}function ui(p){return p==null?p===void 0?Ye:I:ur&&ur in Object(p)?Ys(p):f(p)}function Ii(p){return ft(p)&&ui(p)==a}function Ks(p,m,x,E,ze){return p===m?!0:p==null||m==null||!ft(p)&&!ft(m)?p!==p&&m!==m:i_(p,m,x,E,Ks,ze)}function i_(p,m,x,E,ze,G){var Fe=Q(p),vt=Q(m),It=Fe?s:ti(p),Se=vt?s:ti(m);It=It==a?C:It,Se=Se==a?C:Se;var Qe=It==C,fr=Se==C,ci=It==Se;if(ci&&Le(p)){if(!Le(m))return!1;Fe=!0,Qe=!1}if(ci&&!Qe)return G||(G=new Vi),Fe||Tt(p)?ji(p,m,x,E,ze,G):Xs(p,m,It,x,E,ze,G);if(!(x&r)){var ii=Qe&&li.call(p,"__wrapped__"),_i=fr&&li.call(m,"__wrapped__");if(ii||_i){var vr=ii?p.value():p,ko=_i?m.value():m;return G||(G=new Vi),ze(vr,ko,x,E,G)}}return ci?(G||(G=new Vi),a_(p,m,x,E,ze,G)):!1}function r_(p){return!De(p)||l_(p)?!1:(Pe(p)?Co:Sc).test(y(p))}function o_(p){return ft(p)&&Oe(p.length)&&!!me[ui(p)]}function n_(p){if(!Ma(p))return Rc(p);var m=[];for(var x in Object(p))li.call(p,x)&&x!="constructor"&&m.push(x);return m}function ji(p,m,x,E,ze,G){var Fe=x&r,vt=p.length,It=m.length;if(vt!=It&&!(Fe&&It>vt))return!1;var Se=G.get(p);if(Se&&G.get(m))return Se==m;var Qe=-1,fr=!0,ci=x&o?new xn:void 0;for(G.set(p,m),G.set(m,p);++Qe<vt;){var ii=p[Qe],_i=m[Qe];if(E)var vr=Fe?E(_i,ii,Qe,m,p,G):E(ii,_i,Qe,p,m,G);if(vr!==void 0){if(vr)continue;fr=!1;break}if(ci){if(!Ic(m,function(ko,To){if(!fn(ci,To)&&(ii===ko||ze(ii,ko,x,E,G)))return ci.push(To)})){fr=!1;break}}else if(!(ii===_i||ze(ii,_i,x,E,G))){fr=!1;break}}return G.delete(p),G.delete(m),fr}function Xs(p,m,x,E,ze,G,Fe){switch(x){case le:if(p.byteLength!=m.byteLength||p.byteOffset!=m.byteOffset)return!1;p=p.buffer,m=m.buffer;case Wt:return!(p.byteLength!=m.byteLength||!G(new bn(p),new bn(m)));case u:case _:case w:return T(+p,+m);case c:return p.name==m.name&&p.message==m.message;case de:case Be:return p==m+"";case b:var vt=Hs;case se:var It=E&r;if(vt||(vt=Ci),p.size!=m.size&&!It)return!1;var Se=Fe.get(p);if(Se)return Se==m;E|=o,Fe.set(p,m);var Qe=ji(vt(p),vt(m),E,ze,G,Fe);return Fe.delete(p),Qe;case pt:if(Pa)return Pa.call(p)==Pa.call(m)}return!1}function a_(p,m,x,E,ze,G){var Fe=x&r,vt=Sn(p),It=vt.length;if(It!=Sn(m).length&&!Fe)return!1;for(var Se=It;Se--;){var Qe=vt[Se];if(!(Fe?Qe in m:li.call(m,Qe)))return!1}var fr=G.get(p);if(fr&&G.get(m))return fr==m;var ci=!0;G.set(p,m),G.set(m,p);for(var ii=Fe;++Se<It;){Qe=vt[Se];var _i=p[Qe],vr=m[Qe];if(E)var ko=Fe?E(vr,_i,Qe,m,p,G):E(_i,vr,Qe,p,m,G);if(!(ko===void 0?_i===vr||ze(_i,vr,x,E,G):ko)){ci=!1;break}ii||(ii=Qe=="constructor")}if(ci&&!ii){var To=p.constructor,Js=m.constructor;To!=Js&&"constructor"in p&&"constructor"in m&&!(typeof To=="function"&&To instanceof To&&typeof Js=="function"&&Js instanceof Js)&&(ci=!1)}return G.delete(p),G.delete(m),ci}function Sn(p){return t_(p,$t,Qs)}function So(p,m){var x=p.__data__;return s_(m)?x[typeof m=="string"?"string":"hash"]:x.map}function Fr(p,m){var x=za(p,m);return r_(x)?x:void 0}function Ys(p){var m=li.call(p,ur),x=p[ur];try{p[ur]=void 0;var E=!0}catch{}var ze=gn.call(p);return E&&(m?p[ur]=x:delete p[ur]),ze}var Qs=qs?function(p){return p==null?[]:(p=Object(p),kc(qs(p),function(m){return Lr.call(p,m)}))}:Zt,ti=ui;(yn&&ti(new yn(new ArrayBuffer(1)))!=le||cr&&ti(new cr)!=b||xi&&ti(xi.resolve())!=A||Ra&&ti(new Ra)!=se||Oa&&ti(new Oa)!=Me)&&(ti=function(p){var m=ui(p),x=m==C?p.constructor:void 0,E=x?y(x):"";if(E)switch(E){case Oc:return le;case Pc:return b;case Si:return A;case Nc:return se;case Mc:return Me}return m});function Na(p,m){return m=m??n,!!m&&(typeof p=="number"||Ui.test(p))&&p>-1&&p%1==0&&p<m}function s_(p){var m=typeof p;return m=="string"||m=="number"||m=="symbol"||m=="boolean"?p!=="__proto__":p===null}function l_(p){return!!js&&js in p}function Ma(p){var m=p&&p.constructor;return p===(typeof m=="function"&&m.prototype||wo)}function f(p){return gn.call(p)}function y(p){if(p!=null){try{return Vs.call(p)}catch{}try{return p+""}catch{}}return""}function T(p,m){return p===m||p!==p&&m!==m}var z=Ii((function(){return arguments})())?Ii:function(p){return ft(p)&&li.call(p,"callee")&&!Lr.call(p,"callee")},Q=Array.isArray;function $(p){return p!=null&&Oe(p.length)&&!Pe(p)}var Le=zc||Ai;function Ee(p,m){return Ks(p,m)}function Pe(p){if(!De(p))return!1;var m=ui(p);return m==h||m==d||m==l||m==P}function Oe(p){return typeof p=="number"&&p>-1&&p%1==0&&p<=n}function De(p){var m=typeof p;return p!=null&&(m=="object"||m=="function")}function ft(p){return p!=null&&typeof p=="object"}var Tt=pn?Bc(pn):o_;function $t(p){return $(p)?e_(p):n_(p)}function Zt(){return[]}function Ai(){return!1}t.exports=Ee}),N7=Tp((e,t)=>{(function(i,r){typeof e=="object"&&typeof t=="object"?t.exports=r():typeof define=="function"&&define.amd?define([],r):typeof e=="object"?e["LuigiPlugin-auth-oauth2"]=r():i["LuigiPlugin-auth-oauth2"]=r()})(self,()=>(()=>{"use strict";var i={d:(h,d)=>{for(var b in d)i.o(d,b)&&!i.o(h,b)&&Object.defineProperty(h,b,{enumerable:!0,get:d[b]})},o:(h,d)=>Object.prototype.hasOwnProperty.call(h,d)},r={};function o(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}function n(h){return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},n(h)}function a(h){var d=(function(b){if(n(b)!="object"||!b)return b;var w=b[Symbol.toPrimitive];if(w!==void 0){var I=w.call(b,"string");if(n(I)!="object")return I;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(b)})(h);return n(d)=="symbol"?d:d+""}function s(h,d){for(var b=0;b<d.length;b++){var w=d[b];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(h,a(w.key),w)}}function l(h,d,b){return d&&s(h.prototype,d),b&&s(h,b),Object.defineProperty(h,"prototype",{writable:!1}),h}function u(h,d,b){return(d=a(d))in h?Object.defineProperty(h,d,{value:b,enumerable:!0,configurable:!0,writable:!0}):h[d]=b,h}i.d(r,{default:()=>c});var _=new((function(){return l(function h(){o(this,h)},[{key:"getRandomId",value:function(){return window.crypto.getRandomValues(new Uint32Array(1))[0]}},{key:"isFunction",value:function(h){return h&&{}.toString.call(h)==="[object Function]"}},{key:"isPromise",value:function(h){return h&&this.isFunction(h.then)}},{key:"isObject",value:function(h){return h&&n(h)==="object"&&!Array.isArray(h)}},{key:"deepMerge",value:function(h){for(var d=arguments.length,b=new Array(d>1?d-1:0),w=1;w<d;w++)b[w-1]=arguments[w];if(!b.length)return h;var I=b.shift();if(this.isObject(h)&&this.isObject(I))for(var C in I)this.isObject(I[C])?(h[C]||Object.assign(h,u({},C,{})),this.deepMerge(h[C],I[C])):Object.assign(h,u({},C,I[C]));return this.deepMerge.apply(this,[h].concat(b))}},{key:"prependOrigin",value:function(h){if(h.startsWith("http://")||h.startsWith("https://"))return h;var d=h.startsWith("/");return h.length?window.location.origin+(d?"":"/")+h:window.location.origin}}])})()),c=(function(){return l(function h(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};o(this,h);var b={oAuthData:{redirect_uri:window.location.origin+"/assets/auth-oauth2/callback.html",response_type:"id_token token",scope:""},authorizeMethod:"GET",logoutUrl:"",post_logout_redirect_uri:window.location.origin+"/logout.html",accessTokenExpiringNotificationTime:60,expirationCheckInterval:5},w=_.deepMerge(b,d);this.settings=w},[{key:"getAuthData",value:function(){return Luigi.auth().store.getAuthData()}},{key:"parseIdToken",value:function(h){var d=h.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(window.atob(d))}},{key:"userInfo",value:function(){var h=this;return new Promise(function(d,b){var w=h.getAuthData(),I=h.parseIdToken(w.idToken);d({email:I.email?I.email:"",name:I.name?I.name:""})})}},{key:"login",value:function(){var h=this;return new Promise(function(d,b){var w=h.settings,I=w.nonceFn&&w.nonceFn()||h.generateNonce();sessionStorage.setItem("luigi.nonceValue",I),w.oAuthData.nonce||(w.oAuthData.nonce=I);var C=function(se,Be){return Object.assign(document.createElement("input"),{name:se,id:se,value:Be,type:"hidden"})},A=Object.assign(document.createElement("form"),{name:"signIn",id:"signIn",action:w.authorizeUrl,method:w.authorizeMethod,target:"_self"});for(var P in w.oAuthData.redirect_uri="".concat(_.prependOrigin(w.oAuthData.redirect_uri),"?storageType=").concat(Luigi.auth().store.getStorageType()),w.oAuthData.state=btoa(encodeURI(window.location.href)+"_luigiNonce="+I),w.oAuthData){var de=C(P,w.oAuthData[P]);A.appendChild(de.cloneNode())}document.getElementsByTagName("body")[0].appendChild(A),setTimeout(function(){document.querySelector("form#signIn").submit()}),document.querySelector("form#signIn").addEventListener("load",function(se){console.info("load, e",se,h)})})}},{key:"logout",value:function(h,d){var b=this.settings,w="".concat(b.logoutUrl,"?id_token_hint=").concat(h.idToken,"&client_id=").concat(b.oAuthData.client_id,"&post_logout_redirect_uri=").concat(_.prependOrigin(b.post_logout_redirect_uri));d&&d(),setTimeout(function(){window.location.href=w})}},{key:"setTokenExpirationAction",value:function(){var h=this;this.expirationCheckIntervalInstance=setInterval(function(){var d=h.getAuthData();if(!d)return clearInterval(h.expirationCheckIntervalInstance);if((d&&d.accessTokenExpirationDate||0)-new Date<5e3){clearInterval(h.expirationCheckIntervalInstance),Luigi.auth().store.removeAuthData();var b="".concat(h.settings.logoutUrl,"?error=tokenExpired&post_logout_redirect_uri=").concat(_.prependOrigin(h.settings.post_logout_redirect_uri));Luigi.auth().handleAuthEvent("onAuthExpired",h.settings,void 0,b)}},5e3)}},{key:"setTokenExpireSoonAction",value:function(){var h=this,d=1e3*this.settings.accessTokenExpiringNotificationTime,b=1e3*this.settings.expirationCheckInterval,w=this.getAuthData();w&&(this.expirationSoonCheckIntervalInstance=setInterval(function(){(w&&w.accessTokenExpirationDate||0)-new Date().getTime()<d&&(Luigi.auth().handleAuthEvent("onAuthExpireSoon",h.settings),clearInterval(h.expirationSoonCheckIntervalInstance))},b))}},{key:"generateNonce",value:function(){var h=window.crypto;return Array.from(h.getRandomValues(new Uint8Array(20))).map(function(d){for(;d>=61*Math.floor(256/61);)d=h.getRandomValues(new Uint8Array(1))[0];return"0123456789ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvwxyz"[d%61]}).join("")}},{key:"resetExpirationChecks",value:function(){this.unload(),this.setTokenExpirationAction(),this.setTokenExpireSoonAction()}},{key:"unload",value:function(){clearInterval(this.expirationCheckIntervalInstance),clearInterval(this.expirationSoonCheckIntervalInstance)}}])})();return r.default})())}),M7=Tp((e,t)=>{var i="__lodash_hash_undefined__",r=1,o=2,n=9007199254740991,a="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",_="[object Error]",c="[object Function]",h="[object GeneratorFunction]",d="[object Map]",b="[object Number]",w="[object Object]",I="[object Promise]",C="[object RegExp]",A="[object Set]",P="[object String]",de="[object Symbol]",se="[object WeakMap]",Be="[object ArrayBuffer]",pt="[object DataView]",Ye="[object Float32Array]",Me="[object Float64Array]",Wt="[object Int8Array]",le="[object Int16Array]",st="[object Int32Array]",hn="[object Uint8Array]",mc="[object Uint8ClampedArray]",bc="[object Uint16Array]",yc="[object Uint32Array]",wc=/[\\^$.*+?()[\]{}|]/g,Cc=/^\[object .+?Constructor\]$/,xc=/^(?:0|[1-9]\d*)$/,we={};we[Ye]=we[Me]=we[Wt]=we[le]=we[st]=we[hn]=we[mc]=we[bc]=we[yc]=!0,we[a]=we[s]=we[Be]=we[l]=we[pt]=we[u]=we[_]=we[c]=we[d]=we[b]=we[w]=we[C]=we[A]=we[P]=we[se]=!1;var Ns=typeof global=="object"&&global&&global.Object===Object&&global,Sc=typeof self=="object"&&self&&self.Object===Object&&self,Ui=Ns||Sc||Function("return this")(),me=typeof e=="object"&&e&&!e.nodeType&&e,Ba=me&&typeof t=="object"&&t&&!t.nodeType&&t,Ms=Ba&&Ba.exports===me&&Ns.process,si=(function(){try{return Ms&&Ms.binding("util")}catch{}})(),Ea=si&&si.isTypedArray;function Ls(f,y){for(var T=-1,z=f?f.length:0;++T<z;)if(y(f[T],T,f))return!0;return!1}function Fs(f,y){for(var T=-1,z=Array(f);++T<f;)z[T]=y(T);return z}function Da(f){return function(y){return f(y)}}function $s(f,y){return f?.[y]}function pn(f){var y=!1;if(f!=null&&typeof f.toString!="function")try{y=!!(f+"")}catch{}return y}function kc(f){var y=-1,T=Array(f.size);return f.forEach(function(z,Q){T[++y]=[Q,z]}),T}function Tc(f,y){return function(T){return f(y(T))}}function Ic(f){var y=-1,T=Array(f.size);return f.forEach(function(z){T[++y]=z}),T}var Ac=Array.prototype,Bc=Function.prototype,fn=Object.prototype,za=Ui["__core-js_shared__"],Hs=(function(){var f=/[^.]+$/.exec(za&&za.keys&&za.keys.IE_PROTO||"");return f?"Symbol(src)_1."+f:""})(),Us=Bc.toString,Ci=fn.hasOwnProperty,yo=fn.toString,Ec=RegExp("^"+Us.call(Ci).replace(wc,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wo=Ui.Symbol,vn=Ui.Uint8Array,Vs=fn.propertyIsEnumerable,li=Ac.splice,js=Tc(Object.keys,Object),gn=ui(Ui,"DataView"),Co=ui(Ui,"Map"),mn=ui(Ui,"Promise"),Mr=ui(Ui,"Set"),bn=ui(Ui,"WeakMap"),Lr=ui(Object,"create"),Dc=ji(gn),ur=ji(Co),qs=ji(mn),zc=ji(Mr),Rc=ji(bn),yn=wo?wo.prototype:void 0,cr=yn?yn.valueOf:void 0;function xi(f){var y=-1,T=f?f.length:0;for(this.clear();++y<T;){var z=f[y];this.set(z[0],z[1])}}function Ra(){this.__data__=Lr?Lr(null):{}}function Oa(f){return this.has(f)&&delete this.__data__[f]}function xo(f){var y=this.__data__;if(Lr){var T=y[f];return T===i?void 0:T}return Ci.call(y,f)?y[f]:void 0}function Oc(f){var y=this.__data__;return Lr?y[f]!==void 0:Ci.call(y,f)}function Pc(f,y){var T=this.__data__;return T[f]=Lr&&y===void 0?i:y,this}xi.prototype.clear=Ra,xi.prototype.delete=Oa,xi.prototype.get=xo,xi.prototype.has=Oc,xi.prototype.set=Pc;function Si(f){var y=-1,T=f?f.length:0;for(this.clear();++y<T;){var z=f[y];this.set(z[0],z[1])}}function Nc(){this.__data__=[]}function Mc(f){var y=this.__data__,T=Cn(y,f);return T<0?!1:(T==y.length-1?y.pop():li.call(y,T,1),!0)}function Gs(f){var y=this.__data__,T=Cn(y,f);return T<0?void 0:y[T][1]}function Pa(f){return Cn(this.__data__,f)>-1}function _r(f,y){var T=this.__data__,z=Cn(T,f);return z<0?T.push([f,y]):T[z][1]=y,this}Si.prototype.clear=Nc,Si.prototype.delete=Mc,Si.prototype.get=Gs,Si.prototype.has=Pa,Si.prototype.set=_r;function dr(f){var y=-1,T=f?f.length:0;for(this.clear();++y<T;){var z=f[y];this.set(z[0],z[1])}}function Lc(){this.__data__={hash:new xi,map:new(Co||Si),string:new xi}}function Fc(f){return pr(this,f).delete(f)}function $c(f){return pr(this,f).get(f)}function Hc(f){return pr(this,f).has(f)}function ki(f,y){return pr(this,f).set(f,y),this}dr.prototype.clear=Lc,dr.prototype.delete=Fc,dr.prototype.get=$c,dr.prototype.has=Hc,dr.prototype.set=ki;function wn(f){var y=-1,T=f?f.length:0;for(this.__data__=new dr;++y<T;)this.add(f[y])}function Uc(f){return this.__data__.set(f,i),this}function Vc(f){return this.__data__.has(f)}wn.prototype.add=wn.prototype.push=Uc,wn.prototype.has=Vc;function Ti(f){this.__data__=new Si(f)}function jc(){this.__data__=new Si}function hr(f){return this.__data__.delete(f)}function qc(f){return this.__data__.get(f)}function Gc(f){return this.__data__.has(f)}function Wc(f,y){var T=this.__data__;if(T instanceof Si){var z=T.__data__;if(!Co||z.length<199)return z.push([f,y]),this;T=this.__data__=new dr(z)}return T.set(f,y),this}Ti.prototype.clear=jc,Ti.prototype.delete=hr,Ti.prototype.get=qc,Ti.prototype.has=Gc,Ti.prototype.set=Wc;function Zc(f,y){var T=Sn(f)||a_(f)?Fs(f.length,String):[],z=T.length,Q=!!z;for(var $ in f)(y||Ci.call(f,$))&&(!Q||$!="length"&&!Ks($,z))&&T.push($);return T}function Cn(f,y){for(var T=f.length;T--;)if(Xs(f[T][0],y))return T;return-1}function xn(f){return yo.call(f)}function Ws(f,y,T,z,Q){return f===y?!0:f==null||y==null||!ti(f)&&!Na(y)?f!==f&&y!==y:Kc(f,y,Ws,T,z,Q)}function Kc(f,y,T,z,Q,$){var Le=Sn(f),Ee=Sn(y),Pe=s,Oe=s;Le||(Pe=Ii(f),Pe=Pe==a?w:Pe),Ee||(Oe=Ii(y),Oe=Oe==a?w:Oe);var De=Pe==w&&!pn(f),ft=Oe==w&&!pn(y),Tt=Pe==Oe;if(Tt&&!De)return $||($=new Ti),Le||l_(f)?Zs(f,y,T,z,Q,$):Jc(f,y,Pe,T,z,Q,$);if(!(Q&o)){var $t=De&&Ci.call(f,"__wrapped__"),Zt=ft&&Ci.call(y,"__wrapped__");if($t||Zt){var Ai=$t?f.value():f,p=Zt?y.value():y;return $||($=new Ti),T(Ai,p,z,Q,$)}}return Tt?($||($=new Ti),e_(f,y,T,z,Q,$)):!1}function Vi(f,y,T,z){var Q=T.length,$=Q,Le=!z;if(f==null)return!$;for(f=Object(f);Q--;){var Ee=T[Q];if(Le&&Ee[2]?Ee[1]!==f[Ee[0]]:!(Ee[0]in f))return!1}for(;++Q<$;){Ee=T[Q];var Pe=Ee[0],Oe=f[Pe],De=Ee[1];if(Le&&Ee[2]){if(Oe===void 0&&!(Pe in f))return!1}else{var ft=new Ti;if(z)var Tt=z(Oe,De,Pe,f,y,ft);if(!(Tt===void 0?Ws(De,Oe,z,3,ft):Tt))return!1}}return!0}function Xc(f){return!ti(f)||r_(f)?!1:(Ys(f)||pn(f)?Ec:Cc).test(ji(f))}function Yc(f){return Na(f)&&Qs(f.length)&&!!we[yo.call(f)]}function Qc(f){if(!o_(f))return js(f);var y=[];for(var T in Object(f))Ci.call(f,T)&&T!="constructor"&&y.push(T);return y}function Zs(f,y,T,z,Q,$){var Le=Q&o,Ee=f.length,Pe=y.length;if(Ee!=Pe&&!(Le&&Pe>Ee))return!1;var Oe=$.get(f);if(Oe&&$.get(y))return Oe==y;var De=-1,ft=!0,Tt=Q&r?new wn:void 0;for($.set(f,y),$.set(y,f);++De<Ee;){var $t=f[De],Zt=y[De];if(z)var Ai=Le?z(Zt,$t,De,y,f,$):z($t,Zt,De,f,y,$);if(Ai!==void 0){if(Ai)continue;ft=!1;break}if(Tt){if(!Ls(y,function(p,m){if(!Tt.has(m)&&($t===p||T($t,p,z,Q,$)))return Tt.add(m)})){ft=!1;break}}else if(!($t===Zt||T($t,Zt,z,Q,$))){ft=!1;break}}return $.delete(f),$.delete(y),ft}function Jc(f,y,T,z,Q,$,Le){switch(T){case pt:if(f.byteLength!=y.byteLength||f.byteOffset!=y.byteOffset)return!1;f=f.buffer,y=y.buffer;case Be:return!(f.byteLength!=y.byteLength||!z(new vn(f),new vn(y)));case l:case u:case b:return Xs(+f,+y);case _:return f.name==y.name&&f.message==y.message;case C:case P:return f==y+"";case d:var Ee=kc;case A:var Pe=$&o;if(Ee||(Ee=Ic),f.size!=y.size&&!Pe)return!1;var Oe=Le.get(f);if(Oe)return Oe==y;$|=r,Le.set(f,y);var De=Zs(Ee(f),Ee(y),z,Q,$,Le);return Le.delete(f),De;case de:if(cr)return cr.call(f)==cr.call(y)}return!1}function e_(f,y,T,z,Q,$){var Le=Q&o,Ee=Ma(f),Pe=Ee.length;if(Pe!=Ma(y).length&&!Le)return!1;for(var Oe=Pe;Oe--;){var De=Ee[Oe];if(!(Le?De in y:Ci.call(y,De)))return!1}var ft=$.get(f);if(ft&&$.get(y))return ft==y;var Tt=!0;$.set(f,y),$.set(y,f);for(var $t=Le;++Oe<Pe;){De=Ee[Oe];var Zt=f[De],Ai=y[De];if(z)var p=Le?z(Ai,Zt,De,y,f,$):z(Zt,Ai,De,f,y,$);if(!(p===void 0?Zt===Ai||T(Zt,Ai,z,Q,$):p)){Tt=!1;break}$t||($t=De=="constructor")}if(Tt&&!$t){var m=f.constructor,x=y.constructor;m!=x&&"constructor"in f&&"constructor"in y&&!(typeof m=="function"&&m instanceof m&&typeof x=="function"&&x instanceof x)&&(Tt=!1)}return $.delete(f),$.delete(y),Tt}function pr(f,y){var T=f.__data__;return i_(y)?T[typeof y=="string"?"string":"hash"]:T.map}function t_(f){for(var y=Ma(f),T=y.length;T--;){var z=y[T],Q=f[z];y[T]=[z,Q,n_(Q)]}return y}function ui(f,y){var T=$s(f,y);return Xc(T)?T:void 0}var Ii=xn;(gn&&Ii(new gn(new ArrayBuffer(1)))!=pt||Co&&Ii(new Co)!=d||mn&&Ii(mn.resolve())!=I||Mr&&Ii(new Mr)!=A||bn&&Ii(new bn)!=se)&&(Ii=function(f){var y=yo.call(f),T=y==w?f.constructor:void 0,z=T?ji(T):void 0;if(z)switch(z){case Dc:return pt;case ur:return d;case qs:return I;case zc:return A;case Rc:return se}return y});function Ks(f,y){return y=y??n,!!y&&(typeof f=="number"||xc.test(f))&&f>-1&&f%1==0&&f<y}function i_(f){var y=typeof f;return y=="string"||y=="number"||y=="symbol"||y=="boolean"?f!=="__proto__":f===null}function r_(f){return!!Hs&&Hs in f}function o_(f){var y=f&&f.constructor;return f===(typeof y=="function"&&y.prototype||fn)}function n_(f){return f===f&&!ti(f)}function ji(f){if(f!=null){try{return Us.call(f)}catch{}try{return f+""}catch{}}return""}function Xs(f,y){return f===y||f!==f&&y!==y}function a_(f){return Fr(f)&&Ci.call(f,"callee")&&(!Vs.call(f,"callee")||yo.call(f)==a)}var Sn=Array.isArray;function So(f){return f!=null&&Qs(f.length)&&!Ys(f)}function Fr(f){return Na(f)&&So(f)}function Ys(f){var y=ti(f)?yo.call(f):"";return y==c||y==h}function Qs(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=n}function ti(f){var y=typeof f;return!!f&&(y=="object"||y=="function")}function Na(f){return!!f&&typeof f=="object"}function s_(f,y){return f===y||Vi(f,y,t_(y))}var l_=Ea?Da(Ea):Yc;function Ma(f){return So(f)?Zc(f):Qc(f)}t.exports=s_}),Ut=null,Hl=!1,qo=1,L7=null,Qt=Symbol("SIGNAL");ba={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};Un=Symbol("UNSET"),Vn=Symbol("COMPUTING"),Cr=Symbol("ERRORED"),q7=te(D({},ba),{value:Un,dirty:!0,error:null,equal:df,kind:"computed",producerMustRecompute(e){return e.value===Un||e.value===Vn},producerRecomputeValue(e){if(e.value===Vn)throw new Error("");let t=e.value;e.value=Vn;let i=_s(e),r,o=!1;try{r=e.computation(),M(null),o=t!==Un&&t!==Cr&&r!==Cr&&e.equal(t,r)}catch(n){r=Cr,e.error=n}finally{ic(e,i)}if(o){e.value=t;return}e.value=r,e.version++}});P1=G7;Z7=null;L1=te(D({},ba),{equal:df,value:void 0,kind:"signal"});Q7=te(D({},ba),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});eD=Symbol("NotFound");iD=te(D({},ba),{value:Un,dirty:!0,error:null,equal:df,kind:"linkedSignal",producerMustRecompute(e){return e.value===Un||e.value===Vn},producerRecomputeValue(e){if(e.value===Vn)throw new Error("");let t=e.value;e.value=Vn;let i=_s(e),r,o=!1;try{let n=e.source(),a=t!==Un&&t!==Cr,s=a?{source:e.sourceValue,value:t}:void 0;r=e.computation(n,s),e.sourceValue=n,M(null),o=a&&r!==Cr&&e.equal(t,r)}catch(n){r=Cr,e.error=n}finally{ic(e,i)}if(o){e.value=t;return}e.value=r,e.version++}});td=pf(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
84
84
  ${t.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
85
85
  `)}`:"",this.name="UnsubscriptionError",this.errors=t});Tr=class Ah{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:i}=this;if(i)if(this._parentage=null,Array.isArray(i))for(let n of i)n.remove(this);else i.remove(this);let{initialTeardown:r}=this;if(Ve(r))try{r()}catch(n){t=n instanceof td?n.errors:[n]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let n of o)try{Nm(n)}catch(a){t=t??[],a instanceof td?t=[...t,...a.errors]:t.push(a)}}if(t)throw new td(t)}}add(t){var i;if(t&&t!==this)if(this.closed)Nm(t);else{if(t instanceof Ah){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(t)}}_hasParent(t){let{_parentage:i}=this;return i===t||Array.isArray(i)&&i.includes(t)}_addParent(t){let{_parentage:i}=this;this._parentage=Array.isArray(i)?(i.push(t),i):i?[i,t]:t}_removeParent(t){let{_parentage:i}=this;i===t?this._parentage=null:Array.isArray(i)&&Ih(i,t)}remove(t){let{_finalizers:i}=this;i&&Ih(i,t),t instanceof Ah&&t._removeParent(this)}};Tr.EMPTY=(()=>{let e=new Tr;return e.closed=!0,e})();$1=Tr.EMPTY;sn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},uu={setTimeout(e,t,...i){let{delegate:r}=uu;return r?.setTimeout?r.setTimeout(e,t,...i):setTimeout(e,t,...i)},clearTimeout(e){let{delegate:t}=uu;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};oD=ff("C",void 0,void 0);Uo=null;vf=class extends Tr{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,H1(e)&&e.add(this)):this.destination=_D}static create(e,t,i){return new Eh(e,t,i)}next(e){this.isStopped?rd(aD(e),this):this._next(e)}error(e){this.isStopped?rd(nD(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?rd(oD,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},lD=Function.prototype.bind;uD=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(i){gl(i)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(i){gl(i)}else gl(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){gl(t)}}},Eh=class extends vf{constructor(e,t,i){super();let r;if(Ve(e)||!e)r={next:e??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&sn.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),r={next:e.next&&id(e.next,o),error:e.error&&id(e.error,o),complete:e.complete&&id(e.complete,o)}):r=e}this.destination=new uD(r)}};_D={closed:!0,next:Bh,error:cD,complete:Bh},gf=typeof Symbol=="function"&&Symbol.observable||"@@observable";_t=class V1{constructor(t){t&&(this._subscribe=t)}lift(t){let i=new V1;return i.source=this,i.operator=t,i}subscribe(t,i,r){let o=pD(t)?t:new Eh(t,i,r);return Ul(()=>{let{operator:n,source:a}=this;o.add(n?n.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return i=Mm(i),new i((r,o)=>{let n=new Eh({next:a=>{try{t(a)}catch(s){o(s),n.unsubscribe()}},error:o,complete:r});this.subscribe(n)})}_subscribe(t){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(t)}[gf](){return this}pipe(...t){return dD(t)(this)}toPromise(t){return t=Mm(t),new t((i,r)=>{let o;this.subscribe(n=>o=n,n=>r(n),()=>i(o))})}};_t.create=e=>new _t(e);vD=class extends vf{constructor(e,t,i,r,o,n){super(e),this.onFinalize=o,this.shouldUnsubscribe=n,this._next=t?function(a){try{t(a)}catch(s){e.error(s)}}:super._next,this._error=r?function(a){try{r(a)}catch(s){e.error(s)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}},gD=pf(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),ln=class extends _t{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let t=new j1(this,this);return t.operator=e,t}_throwIfClosed(){if(this.closed)throw new gD}next(e){Ul(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let t of this.currentObservers)t.next(e)}})}error(e){Ul(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:t}=this;for(;t.length;)t.shift().error(e)}})}complete(){Ul(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:t,isStopped:i,observers:r}=this;return t||i?$1:(this.currentObservers=null,r.push(e),new Tr(()=>{this.currentObservers=null,Ih(r,e)}))}_checkFinalizedStatuses(e){let{hasError:t,thrownError:i,isStopped:r}=this;t?e.error(i):r&&e.complete()}asObservable(){let e=new _t;return e.source=this,e}};ln.create=(e,t)=>new j1(e,t);j1=class extends ln{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,i;(i=(t=this.destination)===null||t===void 0?void 0:t.next)===null||i===void 0||i.call(t,e)}error(e){var t,i;(i=(t=this.destination)===null||t===void 0?void 0:t.error)===null||i===void 0||i.call(t,e)}complete(){var e,t;(t=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||t===void 0||t.call(e)}_subscribe(e){var t,i;return(i=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&i!==void 0?i:$1}},mD=class extends ln{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){let{hasError:e,thrownError:t,_value:i}=this;if(e)throw t;return this._throwIfClosed(),i}next(e){super.next(this._value=e)}},q1={now(){return(q1.delegate||Date).now()},delegate:void 0},G1=class extends ln{constructor(e=1/0,t=1/0,i=q1){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){let{isStopped:t,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:n}=this;t||(i.push(e),!r&&i.push(o.now()+n)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let n=0;n<o.length&&!e.closed;n+=i?1:2)e.next(o[n]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*e;if(e<1/0&&o<i.length&&i.splice(0,i.length-o),!r){let n=t.now(),a=0;for(let s=1;s<i.length&&i[s]<=n;s+=2)a=s;a&&i.splice(0,a+1)}}},bD=new _t(e=>e.complete());Z1=(e=>e&&typeof e.length=="number"&&typeof e!="function");J1=TD();$D=pf(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});({isArray:UD}=Array);({isArray:qD}=Array),{getPrototypeOf:GD,prototype:WD,keys:ZD}=Object;sy="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",L=class extends Error{code;constructor(e,t){super(ly(e,t)),this.code=e}};cz=Ce({__forward_ref__:Ce});dy=Ce({\u0275prov:Ce}),Hm=Ce({\u0275inj:Ce}),q=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(e,t){this._desc=e,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=xe({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};Dh=Ce({\u0275cmp:Ce}),zh=Ce({\u0275dir:Ce}),hz=Ce({\u0275pipe:Ce}),_u=Ce({\u0275fac:Ce}),ns=Ce({__NG_ELEMENT_ID__:Ce}),Um=Ce({__NG_ENV_ID__:Ce});py=Ce({ngErrorCode:Ce}),fz=Ce({ngErrorMessage:Ce}),vz=Ce({ngTokenPath:Ce});Go={},mz="__NG_DI_FLAG__",bz=class{injector;constructor(e){this.injector=e}retrieve(e,t){let i=ds(t)||0;try{return this.injector.get(e,i&8?null:Go,i)}catch(r){if(hf(r))return r;throw r}}};Yo={},hi=[],Tf=new q(""),If=new q("",-1),yy=new q(""),wy=class{get(e,t=Go){if(t===Go){let i=vy("",-201);throw i.name="\u0275NotFound",i}return t}};Bz=Ce({provide:String,useValue:Ce});Ef=new q(""),Vl={},Vm={};Qo=class{},Df=class extends Qo{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,Mh(e,n=>this.processProvider(n)),this.records.set(If,Nn(void 0,this)),r.has("environment")&&this.records.set(Qo,Nn(void 0,this));let o=this.records.get(Ef);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(yy,hi,{self:!0}))}retrieve(e,t){let i=ds(t)||0;try{return this.get(e,Go,i)}catch(r){if(hf(r))return r;throw r}}destroy(){es(this),this._destroyed=!0;let e=M(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),M(e)}}onDestroy(e){return es(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){es(this);let t=Qr(this),i=Xt(void 0);try{return e()}finally{Qr(t),Xt(i)}}get(e,t=Go,i){if(es(this),Object.hasOwn(e,Um))return e[Um](this);let r=ds(i),o=Qr(this),n=Xt(void 0);try{if(!(r&4)){let s=this.records.get(e);if(s===void 0){let l=Mz(e)&&wf(e);l&&this.injectableDefInScope(l)?s=Nn(Nh(e),Vl):s=null,this.records.set(e,s)}if(s!=null)return this.hydrate(e,s,r)}let a=r&2?nc():this.parent;return t=r&8&&t===Go?null:t,a.get(e,t)}catch(a){let s=gz(a);throw s===-200||s===-201?new L(s,null):a}finally{Xt(n),Qr(o)}}resolveInjectorInitializers(){let e=M(null),t=Qr(this),i=Xt(void 0);try{let r=this.get(Tf,hi,{self:!0});for(let o of r)o()}finally{Qr(t),Xt(i),M(e)}}toString(){return"R3Injector[...]"}processProvider(e){e=At(e);let t=sa(e)?e:At(e&&e.provide),i=Oz(e);if(!sa(e)&&e.multi===!0){let r=this.records.get(t);r||(r=Nn(void 0,Vl,!0),r.factory=()=>Oh(r.multi),this.records.set(t,r)),t=e,r.multi.push(e)}this.records.set(t,i)}hydrate(e,t,i){let r=M(null);try{if(t.value===Vm)throw fy("");return t.value===Vl&&(t.value=Vm,t.value=t.factory(void 0,i)),typeof t.value=="object"&&t.value&&Nz(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{M(r)}}injectableDefInScope(e){if(!e.providedIn)return!1;let t=At(e.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(e){let t=this._onDestroyHooks.indexOf(e);t!==-1&&this._onDestroyHooks.splice(t,1)}};zr=0,H=1,F=2,qt=3,Oi=4,ni=5,la=6,du=7,ot=8,Jo=9,ir=10,Ke=11,hs=12,jm=13,cn=14,Jt=15,ua=16,Mn=17,ca=18,ac=19,Ty=20,oo=21,ad=22,no=23,vi=24,qn=25,Fz=26,Iy=27,Xe=28,Ay=1,qm=6,sc=7,$z=8,hu=9,wt=10;Ey=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(Ey||{}),Dy="svg",Hz="math";Z={lFrame:Wy(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Fh=!1;Ky=Zy;Yy=!0;ht=class Qy{static THROW_IF_NOT_FOUND=Go;static NULL=new wy;static create(t,i){if(Array.isArray(t))return Gm({name:""},i,t,"");{let r=t.name??"";return Gm({name:r},t.parent,t.providers,r)}}static \u0275prov=xe({token:Qy,providedIn:"any",factory:()=>ae(If)});static __NG_ELEMENT_ID__=-1},ar=new q(""),sr=class{static __NG_ELEMENT_ID__=lR;static __NG_ENV_ID__=e=>e},Jy=class extends sr{_lView;constructor(e){super(),this._lView=e}get destroyed(){return wa(this._lView)}onDestroy(e){let t=this._lView;return Mf(t,e),()=>Vz(t,e)}};uR=!1,cR=new q(""),Ds=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new mD(!1);debugTaskTracker=S(cR,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new _t(i=>{i.next(!1),i.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let i=this.taskId++;return this.pendingTasks.add(i),this.debugTaskTracker?.add(i),i}has(i){return this.pendingTasks.has(i)}remove(i){this.pendingTasks.delete(i),this.debugTaskTracker?.remove(i),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=xe({token:e,providedIn:"root",factory:()=>new e})}return e})(),_R=class extends ln{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,Lz()&&(this.destroyRef=S(sr,{optional:!0})??void 0,this.pendingTasks=S(Ds,{optional:!0})??void 0)}emit(e){let t=M(null);try{super.next(e)}finally{M(t)}}subscribe(e,t,i){let r=e,o=t||(()=>null),n=i;if(e&&typeof e=="object"){let s=e;r=s.next?.bind(s),o=s.error?.bind(s),n=s.complete?.bind(s)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),n&&(n=this.wrapInTimeout(n)));let a=super.subscribe({next:r,error:o,complete:n});return e instanceof Tr&&e.add(a),a}wrapInTimeout(e){return t=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{e(t)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},pi=_R;Uf="isAngularZone",gu=Uf+"_ID",hR=0,lr=class Hh{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new pi(!1);onMicrotaskEmpty=new pi(!1);onStable=new pi(!1);onError=new pi(!1);constructor(t){let{enableLongStackTrace:i=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:n=uR}=t;if(typeof Zone>"u")throw new L(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!o&&r,a.shouldCoalesceRunChangeDetection=o,a.callbackScheduled=!1,a.scheduleInRootZone=n,vR(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Uf)===!0}static assertInAngularZone(){if(!Hh.isInAngularZone())throw new L(909,!1)}static assertNotInAngularZone(){if(Hh.isInAngularZone())throw new L(909,!1)}run(t,i,r){return this._inner.run(t,i,r)}runTask(t,i,r,o){let n=this._inner,a=n.scheduleEventTask("NgZoneEvent: "+o,t,pR,vu,vu);try{return n.runTask(a,i,r)}finally{n.cancelTask(a)}}runGuarded(t,i,r){return this._inner.runGuarded(t,i,r)}runOutsideAngular(t){return this._outer.run(t)}},pR={};gR=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new pi;onMicrotaskEmpty=new pi;onStable=new pi;onError=new pi;run(e,t,i){return e.apply(t,i)}runGuarded(e,t,i){return e.apply(t,i)}runOutsideAngular(e){return e()}runTask(e,t,i,r){return e.apply(t,i)}};Sa=class{_console=console;handleError(e){this._console.error("ERROR",e)}};CR=class extends Error{constructor(e){super(String(e),{cause:e}),this.name="ErrorBoundaryWrappedError"}},zs=new q("",{factory:()=>{let e=S(lr),t=S(Qo),i;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!i?setTimeout(()=>{throw r}):(i??=t.get(Sa),i.handleError(r))})}}}),xR={provide:Tf,useValue:()=>{S(Sa,{optional:!0})},multi:!0};rw=new q("",{factory:()=>SR}),SR="ng",ow=new q(""),nw=new q("",{providedIn:"platform",factory:()=>"unknown"}),aw=new q("",{factory:()=>S(ar).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),jf=(()=>{class e{view;node;constructor(i,r){this.view=i,this.node=r}static __NG_ELEMENT_ID__=kR}return e})();ka=class{},qf=new q("",{factory:()=>!0}),TR=new q(""),sw=(()=>{class e{static \u0275prov=xe({token:e,providedIn:"root",factory:()=>new IR})}return e})(),IR=class{dirtyEffectCount=0;queues=new Map;add(e){this.enqueue(e),this.schedule(e)}schedule(e){e.dirty&&this.dirtyEffectCount++}remove(e){let t=e.zone,i=this.queues.get(t);i.has(e)&&(i.delete(e),e.dirty&&this.dirtyEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let i=this.queues.get(t);i.has(e)||i.add(e)}flush(){for(;this.dirtyEffectCount>0;){let e=!1;for(let[t,i]of this.queues)t===null?e||=this.flushQueue(i):e||=t.run(()=>this.flushQueue(i));e||(this.dirtyEffectCount=0)}}flushQueue(e){let t=!1;for(let i of e)i.dirty&&(this.dirtyEffectCount--,t=!0,i.run());return t}},AR=class{[Qt];constructor(e){this[Qt]=e}destroy(){this[Qt].destroy()}};lw=te(D({},Q7),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=fu(!1);try{J7(this)}finally{fu(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=M(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],M(e)}}}),BR=te(D({},lw),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(rc(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),ER=te(D({},lw),{consumerMarkedDirty(){this.view[F]|=8192,Ca(this.view),this.notifier.notify(13)},destroy(){if(rc(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[no]?.delete(this)}});OR=(()=>{class e{internalPendingTasks=S(Ds);scheduler=S(ka);errorHandler=S(zs);add(){let i=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(i)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(i))}}run(i){let r=this.add();try{i().catch(this.errorHandler).finally(r)}catch(o){this.errorHandler(o),r()}}static \u0275prov=xe({token:e,providedIn:"root",factory:()=>new e})}return e})(),Gf=Symbol("InputSignalNode#UNSET"),PR=te(D({},L1),{transformFn:void 0,applyValueToInputSignal(e,t){oc(e,t)}});ce=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(ce||{}),NR=class{previousValue;currentValue;firstChange;constructor(e,t,i){this.previousValue=e,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}};_w=null,Wf=(()=>{_w=Km;let e=()=>Km;return e.ngInherit=!0,e})();Vh="__ngSimpleChanges__";Xm=[],ve=function(e,t=null,i){for(let r=0;r<Xm.length;r++){let o=Xm[r];o(e,t,i)}};Gn=-1,Rs=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,t,i,r){this.factory=e,this.name=r,this.canSeeViewProviders=t,this.injectImpl=i}};Gh=!0;pw=255,fw=5,YR=0,Xi={};Cw=class{_tNode;_lView;constructor(e,t){this._tNode=e,this._lView=t}get(e,t,i){return yw(this._tNode,this._lView,e,ds(i),t)}};ei=(()=>{class e{nativeElement;constructor(i){this.nativeElement=i}static __NG_ELEMENT_ID__=o6}return e})();Tw=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Tw||{}),Iw=new Map,n6=0;t5="__ngContext__";c6="r",_6="di",Dw=!1,d6=new q("",{factory:()=>Dw}),i5=new WeakMap;p6=()=>null;xr=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(xr||{}),Pw=class{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${sy})`}};g6=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;Hw="ng-template";yi={},Vo=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Vo||{});M6=new Set;typeof document<"u"&&document?.documentElement?.getAnimations;Jh=new WeakMap;Rn=new WeakSet;Qf=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Qf||{}),Ta=new q(""),n5=new Set;jw=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=xe({token:e,providedIn:"root",factory:()=>new e})}return e})(),$6=[0,1,2,3],H6=(()=>{class e{ngZone=S(lr);scheduler=S(ka);errorHandler=S(Sa,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){S(Ta,{optional:!0})}execute(){let i=this.sequences.size>0;i&&ve(ce.AfterRenderHooksStart),this.executing=!0;for(let r of $6)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let n=o.hooks[r];return n(o.pipelinedValue)},o.snapshot))}catch(n){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(n)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),i&&ve(ce.AfterRenderHooksEnd)}register(i){let{view:r}=i;r!==void 0?((r[qn]??=[]).push(i),Ca(r),r[F]|=8192):this.executing?this.deferredRegistrations.add(i):this.addSequence(i)}addSequence(i){this.sequences.add(i),this.scheduler.notify(7)}unregister(i){this.executing&&this.sequences.has(i)?(i.erroredOrDestroyed=!0,i.pipelinedValue=void 0,i.once=!0):(this.sequences.delete(i),this.deferredRegistrations.delete(i))}maybeTrace(i,r){return r?r.run(Qf.AFTER_NEXT_RENDER,i):i()}static \u0275prov=xe({token:e,providedIn:"root",factory:()=>new e})}return e})(),U6=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(e,t,i,r,o,n=null){this.impl=e,this.hooks=t,this.view=i,this.once=r,this.snapshot=n,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let e=this.view?.[qn];e&&(this.view[qn]=e.filter(t=>t!==this))}};ep=null,qw=null;tO=eO;Ps=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ps||{});sC=[];BO=te(D({},ba),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Ca(e.lView)},consumerOnSignalRead(){this.lView[vi]=this}});DO=te(D({},ba),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=en(e.lView);for(;t&&!lC(t[H]);)t=en(t);t&&Nf(t)},consumerOnSignalRead(){this.lView[vi]=this}});zO=100;rp=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let e=this._lView,t=e[H];return wu(t,e,t.firstChild,[])}constructor(e,t){this._lView=e,this._cdRefInjectingView=t}get context(){return this._lView[ot]}set context(e){this._lView[ot]=e}get destroyed(){return wa(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[qt];if(vo(e)){let t=e[$z],i=t?t.indexOf(this):-1;i>-1&&(uv(e,i),by(t,i))}this._attachedToViewContainer=!1}ev(this._lView[H],this._lView)}onDestroy(e){Mf(this._lView,e)}markForCheck(){lv(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[F]&=-129}reattach(){Lh(this._lView),this._lView[F]|=128}detectChanges(){this._lView[F]|=1024,cC(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new L(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=pu(this._lView),t=this._lView[ua];t!==null&&!e&&Jf(t,this._lView),Gw(this._lView[H],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new L(902,!1);this._appRef=e;let t=pu(this._lView),i=this._lView[ua];i!==null&&!t&&vC(i,this._lView),Lh(this._lView)}};WO=()=>null,ZO=()=>null;KO=class{},cv=class{},pc=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>XO()};YO=(()=>{class e{static \u0275prov=xe({token:e,providedIn:"root",factory:()=>null})}return e})();cd={},QO=class{injector;parentInjector;constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,i){let r=this.injector.get(e,cd,i);return r!==cd||t===cd?r:this.parentInjector.get(e,t,i)}};xC=class{lView;tView;tNode;hasPassThrough;constructor(e,t,i){this.lView=e,this.tView=t,this.tNode=i,this.hasPassThrough=!!(i.flags&4096)}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get nativeElement(){return nr(this.tNode,this.lView)}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(e,t){let i=this.tView.data[this.tNode.customControlIndex];u5(this.tNode,this.lView,i,e,Zn(this.tNode,this.lView,t))}listenToCustomControlModel(e){let t=this.tNode.flags&1024?"valueChange":"checkedChange",i=this.tView.data[this.tNode.customControlIndex];u5(this.tNode,this.lView,i,t,Zn(this.tNode,this.lView,e))}listenToDom(e,t){wC(this.tNode,this.tView,this.lView,void 0,this.lView[Ke],e,t,Zn(this.tNode,this.lView,t))}setInputOnDirectives(e,t,i){let r=this.tNode.inputs?.[e],o=this.tNode.hostDirectiveInputs?.[e];if(!r&&!o)return!1;let n=!1;if(r)for(let a of r){if(a===this.tNode.controlDirectiveIndex)continue;let s=this.lView[a],l=this.tView.data[a];(!i||i(_5(s,l,e)))&&(rn(l,s,e,t),n=!0)}if(o)for(let a=0;a<o.length;a+=2){let s=o[a];if(s===this.tNode.controlDirectiveIndex)continue;let l=this.lView[s],u=o[a+1],_=this.tView.data[s];(!i||i(_5(l,_,e)))&&(rn(_,l,u,t),n=!0)}return n}setCustomControlModelInput(e){let t=this.tView.data[this.tNode.customControlIndex],i=this.tNode.flags&1024?"value":"checked";wO(this.tNode,this.tView,this.lView,t,i,e)}customControlHasInput(e){if(this.tNode.customControlIndex===-1)return!1;let t=this.tView.data[this.tNode.customControlIndex];return(t.signalFormsInputPresence??=this._buildCustomControlInputCache(t))[e]===!0}_buildCustomControlInputCache(e){let t={};for(let i in e.inputs)t[i]=!0;if(e.hostDirectives!==null){let i=[...e.hostDirectives];for(;i.length>0;){let r=i.shift();if(typeof r!="function"){for(let n in r.inputs)t[r.inputs[n]]=!0;let o=c5(r.directive);o!==null&&i.push(...o);continue}for(let o of r()){if(typeof o=="function")continue;if(o.inputs)for(let a=0;a<o.inputs.length;a+=2){let s=o.inputs[a+1]||o.inputs[a];t[s]=!0}let n=c5(o.directive);n!==null&&i.push(...n)}}}return t}};op=Symbol("BINDING"),xu=new q("");IC=typeof ShadowRoot<"u",y8=typeof Document<"u";_v=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=w8(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=C8(this.componentDef.outputs),this.cachedOutputs}constructor(e,t){this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=O6(e.selectors),this.ngContentSelectors=e.ngContentSelectors??[],this.isBoundToModule=!!t}create(e,t,i,r,o,n,a,s){ve(ce.DynamicComponentStart);let l=M(null);try{let u=this.componentDef,_=x8(u,r||this.ngModule,e),c=S8(_),h=c.tracingService;return h&&h.componentCreate?h.componentCreate(bC(u),()=>this.createComponentRef(c,_,t,i,o,n,a,s)):this.createComponentRef(c,_,t,i,o,n,a,s)}finally{M(l)}}createComponentRef(e,t,i,r,o,n,a,s){let l=this.componentDef,u=A8(r,l,n,o,s),_=e.rendererFactory.createRenderer(null,l),c=r?uO(_,r,l.encapsulation,t):k8(l,_,a??null);T8(c);let h=t.get(xu,null),d=B8(c,()=>t.get(ar,null)??u6());h&&h.addHost(d);let b=n?.some(v5)||o?.some(C=>typeof C!="function"&&C.bindings.some(v5)),w=ov(null,u,null,512|Yw(l),null,null,e,_,t,null,zw(c,t,!0));h&&IC&&d instanceof ShadowRoot&&Mf(w,()=>{h.removeHost(d)}),w[Xe]=c,Lf(w);let I=null;try{let C=kC(Xe,w,2,"#host",()=>u.directiveRegistry,!0,0);Fw(_,c,C),da(c,w),iC(u,w,C),Ow(u,C,w),TC(u,C),i!==void 0&&z8(C,this.ngContentSelectors,i),I=or(C.index,w),w[ot]=I[ot],sv(u,w,null)}catch(C){throw I!==null&&Kh(I),Kh(w),C}finally{ve(ce.DynamicComponentEnd),Ff()}return new D8(this.componentType,w,!!b)}};D8=class extends KO{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(e,t,i){super(),this._rootLView=t,this._hasInputBindings=i,this._tNode=Rf(t[H],Xe),this.location=Sw(this._tNode,t),this.instance=or(this._tNode.index,t)[ot],this.hostView=this.changeDetectorRef=new rp(t,void 0),this.componentType=e}setInput(e,t){this._hasInputBindings;let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),t))return;let r=this._rootLView;av(i,r[H],r,e,t),this.previousInputValues.set(e,t),lv(or(i.index,r),1)}get injector(){return new Cw(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};R8=()=>!1;np=class{},AC=class extends np{injector;instance=null;constructor(e){super();let t=new Df([...e.providers,{provide:np,useValue:this}],e.parent||nc(),e.debugName,new Set(["environment"]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};M8=(()=>{class e{_injector;cachedInjectors=new Map;constructor(i){this._injector=i}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){let r=Cy(!1,i.type),o=r.length>0?N8([r],this._injector,""):null;this.cachedInjectors.set(i,o)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(let i of this.cachedInjectors.values())i!==null&&i.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=xe({token:e,providedIn:"environment",factory:()=>new e(ae(Qo))})}return e})();zC=new q("");RC=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r});appInits=S(zC,{optional:!0})??[];injector=S(ht);constructor(){}runInitializers(){if(this.initialized)return;let i=[];for(let o of this.appInits){let n=Fi(this.injector,o);if(dv(n))i.push(n);else if(P8(n)){let a=new Promise((s,l)=>{n.subscribe({complete:s,error:l})});i.push(a)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{r()}).catch(o=>{this.reject(o)}),i.length===0&&r(),this.initialized=!0}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Os({token:e,factory:e.\u0275fac})}return e})();e4=t4;i4=new q(""),r4=new q("");n4=10,ku=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=S(zs);afterRenderManager=S(jw);zonelessEnabled=S(qf);rootEffectScheduler=S(sw);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ln;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=S(Ds);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(to(i=>!i))}constructor(){S(Ta,{optional:!0})}whenStable(){let i;return new Promise(r=>{i=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{i.unsubscribe()})}_injector=S(Qo);_rendererFactory=null;get injector(){return this._injector}bootstrap(i,r){return this.bootstrapImpl(i,r)}bootstrapImpl(i,r,o=ht.NULL){return this._injector.get(lr).run(()=>{if(ve(ce.BootstrapComponentStart),!this._injector.get(RC).done)throw new L(405,"");let n=Bs(i),a=this._injector.get(np),s=new _v(n,a);this.componentTypes.push(i);let{hostElement:l,directives:u,bindings:_}=a4(r),c=l||s.selector,h=s.create(o,[],c,a.injector,u,_),d=h.location.nativeElement,b=h.injector.get(i4,null);return b?.registerApplication(d),h.onDestroy(()=>{this.detachView(h.hostView),Zl(this.components,h),b?.unregisterApplication(d)}),this._loadComponent(h),ve(ce.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){ve(ce.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Qf.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw ve(ce.ChangeDetectionEnd),new L(101,!1);let i=M(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,M(i),this.afterTick.next(),ve(ce.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(cv,null,{optional:!0}));let i=0;for(;this.dirtyFlags!==0&&i++<n4;){ve(ce.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{ve(ce.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let i=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews)!r&&!ps(o)||(cC(o,r&&!this.zonelessEnabled?0:1),i=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}i||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:i})=>ps(i))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(i){let r=i;this._views.push(r),r.attachToAppRef(this)}detachView(i){let r=i;Zl(this._views,r),r.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(i),this._injector.get(r4,[]).forEach(r=>r(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>Zl(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new L(406,!1);let i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Os({token:e,factory:e.\u0275fac})}return e})();s4=class{destroy(e){}updateValue(e,t){}swap(e,t){let i=Math.min(e,t),r=Math.max(e,t),o=this.detach(r);if(r-i>1){let n=this.detach(i);this.attach(i,o),this.attach(r,n)}else this.attach(i,o)}move(e,t){this.attach(t,this.detach(e))}};x5=class{kvMap=new Map;_vMap=void 0;has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let i=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,i]of this.kvMap)if(e(i,t),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),e(i,t)}}};c4=class{lContainer;$implicit;$index;constructor(e,t,i){this.lContainer=e,this.$implicit=t,this.$index=i}get $count(){return this.lContainer.length-wt}},_4=class{hasEmptyBlock;trackByFn;liveCollection;constructor(e,t,i){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=i}};d4=class extends s4{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(e,t,i){super(),this.lContainer=e,this.hostLView=t,this.templateTNode=i}get length(){return this.lContainer.length-wt}at(e){return this.getLView(e)[ot].$implicit}attach(e,t){let i=t[la];this.needsIndexUpdate||=e!==this.length,hc(this.lContainer,t,e,dc(this.templateTNode,i)),h4(this.lContainer,e)}detach(e){return this.needsIndexUpdate||=e!==this.length-1,p4(this.lContainer,e),f4(this.lContainer,e)}create(e,t){let i=gC(this.lContainer,this.templateTNode.tView.ssrId);return _c(this.hostLView,this.templateTNode,new c4(this.lContainer,t,e),{dehydratedView:i})}destroy(e){ev(e[H],e)}updateValue(e,t){this.getLView(e)[ot].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[ot].$index=e}getLView(e){return v4(this.lContainer,e)}};$C=(e,t,i,r,o)=>(Hf(!0),Nw(t[Ke],r,Xy()));up="en-US";M4=(e,t,i,r)=>(Hf(!0),b6(t[Ke],r));VC={};X4=(()=>{class e{applicationErrorHandler=S(zs);appRef=S(ku);taskService=S(Ds);ngZone=S(lr);zonelessEnabled=S(qf);tracing=S(Ta,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Tr;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(gu):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(S(TR,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let i=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(i);return}this.switchToMicrotaskScheduler(),this.taskService.remove(i)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let i=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})})}notify(i){if(!this.zonelessEnabled&&i===5)return;switch(i){case 0:case 2:this.appRef.dirtyFlags|=2;break;case 3:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:this.appRef.dirtyFlags|=2;break;case 12:this.appRef.dirtyFlags|=16;break;case 13:this.appRef.dirtyFlags|=2;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?dR:ew;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(gu+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(i),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let i=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(i)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Os({token:e,factory:e.\u0275fac})}return e})();ZC=new q("",{factory:()=>S(ZC,{optional:!0,skipSelf:!0})||Q4()}),J4=class{destroyed=!1;listeners=null;errorHandler=S(Sa,{optional:!0});isEmitting=!1;hasNullListeners=!1;destroyRef=S(sr);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new L(953,!1);return(this.listeners??=[]).push(e),{unsubscribe:()=>{let t=this.listeners?this.listeners.indexOf(e):-1;t>-1&&(this.isEmitting?(this.hasNullListeners=!0,this.listeners[t]=null):this.listeners.splice(t,1))}}}emit(e){if(this.destroyed){console.warn(ly(953,!1));return}if(this.listeners===null)return;this.isEmitting=!0;let t=M(null);try{for(let i of this.listeners)try{i!==null&&i(e)}catch(r){this.errorHandler?.handleError(r)}}finally{this.hasNullListeners&&(this.hasNullListeners=!1,this.listeners&&eP(this.listeners)),M(t),this.isEmitting=!1}}};(class hp extends Error{_brand;constructor(t){super(t)}static IDLE=new hp("IDLE");static LOADING=new hp("LOADING")});tP=e=>e;k=(E5.required=rP,E5),oP=class{supports(e){return e instanceof Map||yC(e)}create(){return new nP}},nP=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||yC(e)))throw new L(900,!1);return this.check(e)?this:null}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(i,r)=>{if(t&&t.key===r)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{let o=this._getOrCreateRecordForKey(r,i);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let i=e._prev;return t._next=e,t._prev=i,e._prev=t,i&&(i._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let r=this._records.get(e);this._maybeAddToChanges(r,t);let o=r._prev,n=r._next;return o&&(o._next=n),n&&(n._prev=o),r._next=null,r._prev=null,r}let i=new aP(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(i=>t(e[i],i))}},aP=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(e){this.key=e}};XC=(()=>{class e{static \u0275prov=xe({token:e,providedIn:"root",factory:D5});factories;constructor(i){this.factories=i}static create(i,r){if(r){let o=r.factories.slice();i=i.concat(o)}return new e(i)}static extend(i){return{provide:e,useFactory:()=>{let r=S(e,{optional:!0,skipSelf:!0});return e.create(i,r||D5())}}}find(i){let r=this.factories.find(o=>o.supports(i));if(r)return r;throw new L(901,!1)}}return e})(),YC=(()=>{class e{static __NG_ELEMENT_ID__=sP}return e})();pp=new q(""),uP=new q("");Kl=null;QC=null;bP=class{},JC=(()=>{class e{historyGo(i){throw new Error("")}static \u0275fac=function(i){return new(i||e)};static \u0275prov=xe({token:e,factory:()=>S(yP),providedIn:"platform"})}return e})(),yP=(()=>{class e extends JC{_location;_history;_doc=S(ar);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Wo().getBaseHref(this._doc)}onPopState(i){let r=Wo().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",i,!1),()=>r.removeEventListener("popstate",i)}onHashChange(i){let r=Wo().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",i,!1),()=>r.removeEventListener("hashchange",i)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(i){this._location.pathname=i}pushState(i,r,o){this._history.pushState(i,r,o)}replaceState(i,r,o){this._history.replaceState(i,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(i=0){this._history.go(i)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||e)};static \u0275prov=xe({token:e,factory:()=>new e,providedIn:"platform"})}return e})();CP=(()=>{class e{differs;constructor(i){this.differs=i}differ;keyValues=[];compareFn=z5;transform(i,r=z5){if(!i||!(i instanceof Map)&&typeof i!="object")return null;this.differ??=this.differs.find(i).create();let o=this.differ.diff(i),n=r!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(a=>{this.keyValues.push(wP(a.key,a.currentValue))})),(o||n)&&(r&&this.keyValues.sort(r),this.compareFn=r),this.keyValues}static \u0275fac=function(i){return new(i||e)(He(XC,16))};static \u0275pipe=H8({name:"keyvalue",type:e,pure:!1})}return e})();xP="browser",t2=(()=>{class e{_renderer;_elementRef;onChange=i=>{};onTouched=()=>{};constructor(i,r){this._renderer=i,this._elementRef=r}setProperty(i,r){this._renderer.setProperty(this._elementRef.nativeElement,i,r)}registerOnTouched(i){this.onTouched=i}registerOnChange(i){this.onChange=i}setDisabledState(i){this.setProperty("disabled",i)}static \u0275fac=function(i){return new(i||e)(He(pc),He(ei))};static \u0275dir=Hi({type:e})}return e})(),SP=(()=>{class e extends t2{static \u0275fac=(()=>{let i;return function(r){return(i||(i=Zf(e)))(r||e)}})();static \u0275dir=Hi({type:e,features:[Pr]})}return e})(),vv=new q(""),kP={provide:vv,useExisting:un(()=>i2),multi:!0};IP=new q(""),i2=(()=>{class e extends t2{_compositionMode;_composing=!1;constructor(i,r,o){super(i,r),this._compositionMode=o,this._compositionMode??=!TP()}writeValue(i){let r=i??"";this.setProperty("value",r)}_handleInput(i){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(i)}_compositionStart(){this._composing=!0}_compositionEnd(i){this._composing=!1,this._compositionMode&&this.onChange(i)}static \u0275fac=function(i){return new(i||e)(He(pc),He(ei),He(IP,8))};static \u0275dir=Hi({type:e,selectors:[["input","formControlName","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControlName","",3,"ngNoCva",""],["input","formControl","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControl","",3,"ngNoCva",""],["input","ngModel","",3,"type","checkbox",3,"ngNoCva",""],["textarea","ngModel","",3,"ngNoCva",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&Pt("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},standalone:!1,features:[ai([kP]),Pr]})}return e})();bv=new q(""),r2=new q(""),AP=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,o2=class{static min(e){return BP(e)}static max(e){return EP(e)}static required(e){return n2(e)}static requiredTrue(e){return DP(e)}static email(e){return zP(e)}static minLength(e){return RP(e)}static maxLength(e){return OP(e)}static pattern(e){return PP(e)}static nullValidator(e){return zu()}static compose(e){return _2(e)}static composeAsync(e){return h2(e)}};g2=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=d2(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=p2(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control?.reset(e)}hasError(e,t){return this.control?this.control.hasError(e,t):!1}getError(e,t){return this.control?this.control.getError(e,t):null}},yv=class extends g2{name;get formDirective(){return null}get path(){return null}},Za="VALID",bl="INVALID",Bn="PENDING",Ka="DISABLED",Aa=class{},N5=class extends Aa{value;source;constructor(e,t){super(),this.value=e,this.source=t}},gd=class extends Aa{pristine;source;constructor(e,t){super(),this.pristine=e,this.source=t}},md=class extends Aa{touched;source;constructor(e,t){super(),this.touched=e,this.source=t}},yl=class extends Aa{status;source;constructor(e,t){super(),this.status=e,this.source=t}},MP=class extends Aa{source;constructor(e){super(),this.source=e}},Ou=class extends Aa{source;constructor(e){super(),this.source=e}};y2=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_hasRequired=Ki(!1);_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(e,t){this._assignValidators(e),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e,this._updateHasRequiredValidator()}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return Vt(this.statusReactive)}set status(e){Vt(()=>this.statusReactive.set(e))}_status=ri(()=>this.statusReactive());statusReactive=Ki(void 0);get valid(){return this.status===Za}get invalid(){return this.status===bl}get pending(){return this.status===Bn}get disabled(){return this.status===Ka}get enabled(){return this.status!==Ka}errors;get pristine(){return Vt(this.pristineReactive)}set pristine(e){Vt(()=>this.pristineReactive.set(e))}_pristine=ri(()=>this.pristineReactive());pristineReactive=Ki(!0);get dirty(){return!this.pristine}get touched(){return Vt(this.touchedReactive)}set touched(e){Vt(()=>this.touchedReactive.set(e))}_touched=ri(()=>this.touchedReactive());touchedReactive=Ki(!1);get untouched(){return!this.touched}_events=new ln;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(O5(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(O5(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(P5(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(P5(e,this._rawAsyncValidators))}hasValidator(e){return Ru(this._rawValidators,e)}hasAsyncValidator(e){return Ru(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let t=this.touched===!1;this.touched=!0;let i=e.sourceControl??this;e.onlySelf||this._parent?.markAsTouched(te(D({},e),{sourceControl:i})),t&&e.emitEvent!==!1&&this._events.next(new md(!0,i))}markAllAsDirty(e={}){this.markAsDirty({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(e))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(e))}markAsUntouched(e={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=e.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:i})}),e.onlySelf||this._parent?._updateTouched(e,i),t&&e.emitEvent!==!1&&this._events.next(new md(!1,i))}markAsDirty(e={}){let t=this.pristine===!0;this.pristine=!1;let i=e.sourceControl??this;e.onlySelf||this._parent?.markAsDirty(te(D({},e),{sourceControl:i})),t&&e.emitEvent!==!1&&this._events.next(new gd(!1,i))}markAsPristine(e={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=e.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),e.onlySelf||this._parent?._updatePristine(e,i),t&&e.emitEvent!==!1&&this._events.next(new gd(!0,i))}markAsPending(e={}){this.status=Bn;let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new yl(this.status,t)),this.statusChanges.emit(this.status)),e.onlySelf||this._parent?.markAsPending(te(D({},e),{sourceControl:t}))}disable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=Ka,this.errors=null,this._forEachChild(r=>{r.disable(te(D({},e),{onlySelf:!0}))}),this._updateValue();let i=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new N5(this.value,i)),this._events.next(new yl(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(te(D({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=Za,this._forEachChild(i=>{i.enable(te(D({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(te(D({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(e,t){e.onlySelf||(this._parent?.updateValueAndValidity(e),e.skipPristineCheck||this._parent?._updatePristine({},t),this._parent?._updateTouched({},t))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Za||this.status===Bn)&&this._runAsyncValidator(i,e.emitEvent)}let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new N5(this.value,t)),this._events.next(new yl(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),e.onlySelf||this._parent?.updateValueAndValidity(te(D({},e),{sourceControl:t}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ka:Za}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,t){if(this.asyncValidator){this.status=Bn,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:e!==!1};let i=s2(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:t,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(e){let t=e;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(e,t){let i=t?this.get(t):this;return i?.errors?i.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,t,i){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||i)&&this._events.next(new yl(this.status,t)),this._parent&&this._parent._updateControlsErrors(e,t,i)}_initObservables(){this.valueChanges=new pi,this.statusChanges=new pi}_calculateStatus(){return this._allControlsDisabled()?Ka:this.errors?bl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Bn)?Bn:this._anyControlsHaveStatus(bl)?bl:Za}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,t){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,e.onlySelf||this._parent?._updatePristine(e,t),r&&this._events.next(new gd(this.pristine,t))}_updateTouched(e={},t){this.touched=this._anyControlsTouched(),this._events.next(new md(this.touched,t)),e.onlySelf||this._parent?._updateTouched(e,t)}_onDisabledChange=[];_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){vc(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=LP(this._rawValidators),this._updateHasRequiredValidator()}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=FP(this._rawAsyncValidators)}_updateHasRequiredValidator(){Vt(()=>this._hasRequired.set(this.hasValidator(o2.required)))}};jP=class{kind;context;control;message;constructor({kind:e,context:t,control:i}){this.kind=e,this.context=t,this.control=i}},qP=(()=>{class e{_validator=zu;_onChange;_enabled;ngOnChanges(i){if(this.inputName in i){let r=this.normalizeInput(i[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):zu,this._onChange?.()}}validate(i){return this._validator(i)}registerOnValidatorChange(i){this._onChange=i}enabled(i){return i!=null}static \u0275fac=function(i){return new(i||e)};static \u0275dir=Hi({type:e,features:[Wf]})}return e})(),GP={provide:bv,useExisting:un(()=>C2),multi:!0},C2=(()=>{class e extends qP{required;inputName="required";normalizeInput=Re;createValidator=i=>n2;enabled(i){return i}static \u0275fac=(()=>{let i;return function(r){return(i||(i=Zf(e)))(r||e)}})();static \u0275dir=Hi({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,r){i&2&&NC("required",r._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[ai([GP]),Pr]})}return e})(),WP=new q(""),wv=new q("",{factory:()=>Cv}),Cv="always";aN={provide:WP,useFactory:()=>{let e=S(gc,{self:!0});return{setParseErrors:t=>{e.setParseErrorSource(t)},set onReset(t){e.onReset=t}}}},gc=class extends g2{_parent=null;name=null;valueAccessor=null;isCustomControlBased=!1;userOnReset;resetSubscription;set onReset(e){this.userOnReset=e,this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.control&&(this.resetSubscription=this.control.events.subscribe(t=>{t instanceof Ou&&this.control&&this.userOnReset?.(this.control.value)}),this.subscription?.add(this.resetSubscription))}isNativeFormElement=!1;rawValueAccessors;_selectedValueAccessor=null;get selectedValueAccessor(){return this._selectedValueAccessor??=oN(this,this.rawValueAccessors)}parseErrorsValidator=null;renderer;injector;requiredValidatorViaDi;subscription;customControlBindings=null;constructor(e,t,i){super(),this.injector=e,this.renderer=t,this.rawValueAccessors=i,this.injector?.get(sr)?.onDestroy(()=>{this.removeParseErrorsValidator(this.control),this.subscription?.unsubscribe()})}setupCustomControl(){this.subscription?.unsubscribe();let e=this.injector?.get(YC);if(!this.control||!e)return;let t=e.markForCheck.bind(e);this.subscription=new Tr,this.subscription.add(this.control.valueChanges.subscribe(t)),this.subscription.add(this.control.statusChanges.subscribe(t)),this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.userOnReset&&(this.resetSubscription=this.control.events.subscribe(i=>{i instanceof Ou&&this.control&&this.userOnReset?.(this.control.value)}),this.subscription.add(this.resetSubscription)),this.parseErrorsValidator&&this.control.addValidators(this.parseErrorsValidator)}ngControlCreate(e){!e.nativeElement.hasAttribute?.("ngNoCva")&&(this.rawValueAccessors&&this.rawValueAccessors.length>0||this.valueAccessor!==null)||!e.customControl||(this.isCustomControlBased=!0,e.listenToCustomControlModel(t=>{this.control?.markAsDirty(),this.control?.setValue(t,{emitModelToViewChange:!1}),this.viewToModelUpdate(t)}),e.listenToCustomControlOutput("touch",()=>{this.control?.markAsTouched()}),this.customControlBindings={},this.isNativeFormElement=UP(e.nativeElement),this.requiredValidatorViaDi=this._rawValidators.find(t=>t instanceof C2))}ngControlUpdate(e,t){if(!this.isCustomControlBased)return;let i=this.control,r=this.customControlBindings;Object.is(r.value,i.value)||(r.value=i.value,e.setCustomControlModelInput(i.value)),this.bindControlProperty(e,r,"touched",i.touched),this.bindControlProperty(e,r,"dirty",i.dirty),this.bindControlProperty(e,r,"valid",i.valid),this.bindControlProperty(e,r,"invalid",i.invalid),this.bindControlProperty(e,r,"pending",i.pending),this.bindControlProperty(e,r,"disabled",i.disabled),this.shouldBindRequired&&this.bindControlProperty(e,r,"required",this.isRequired);let o=i.errors;if(r.errors!==o){r.errors=o;let n=this._convertErrors(o);e.setInputOnDirectives("errors",n)}}get isRequired(){return(this.requiredValidatorViaDi?._enabled||this.control?._hasRequired())??!1}get shouldBindRequired(){return!0}bindControlProperty(e,t,i,r){if(t[i]===r)return;t[i]=r;let o=e.setInputOnDirectives(i,r);this.isNativeFormElement&&!o&&(i==="disabled"||i==="required")&&this.renderer&&VP(this.renderer,e.nativeElement,i,r)}_convertErrors(e){if(e===null)return[];let t=this.control;return Object.entries(e).map(([i,r])=>new jP({context:r,kind:i,control:t}))}setParseErrorSource(e){if(e===void 0)return;let t=null,i=ri(()=>{let r=e();return r.length===0?null:r.reduce((o,n)=>(o[n.kind]=n,o),{})});this.parseErrorsValidator=(()=>t).bind(this),bi(()=>{t=i(),this.control?.updateValueAndValidity({emitEvent:!1})},{injector:this.injector})}removeParseErrorsValidator(e){this.parseErrorsValidator&&(e?.removeValidators(this.parseErrorsValidator),e?.updateValueAndValidity({emitEvent:!1}))}},S2=class{_cd;constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},k2=(()=>{class e extends S2{constructor(i){super(i)}static \u0275fac=function(i){return new(i||e)(He(gc,2))};static \u0275dir=Hi({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&fc("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[Pr]})}return e})(),T2=(()=>{class e extends S2{constructor(i){super(i)}static \u0275fac=function(i){return new(i||e)(He(yv,10))};static \u0275dir=Hi({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){i&2&&fc("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[Pr]})}return e})(),I2=class extends y2{constructor(e,t,i){super(m2(t),b2(i,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(e,t){return this._find(e)||(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,i={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){let i=this._find(e);i&&i._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,i={}){let r=this._find(e);r&&r._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(e){return this._find(e)?.enabled===!0}setValue(e,t={}){Vt(()=>{HP(this,!0,e),Object.keys(e).forEach(i=>{$P(this,!0,i),this.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)})}patchValue(e,t={}){e!=null&&(Object.keys(e).forEach(i=>{let r=this._find(i);r&&r.patchValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((i,r)=>{i.reset(e?e[r]:null,te(D({},t),{onlySelf:!0}))}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),t?.emitEvent!==!1&&this._events.next(new Ou(this))}getRawValue(){return this._reduceChildren({},(e,t,i)=>(e[i]=t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,i)=>i._syncPendingControls()?!0:t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(t=>{let i=this.controls[t];i&&e(i,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[t,i]of Object.entries(this.controls))if(this.contains(t)&&e(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,t,i)=>((t.enabled||this.disabled)&&(e[i]=t.value),e))}_reduceChildren(e,t){let i=e;return this._forEachChild((r,o)=>{i=t(i,r,o)}),i}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return w2(this.controls,e)?this.controls[e]:null}};Zo=class extends y2{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(e=null,t,i){super(m2(t),b2(i,t)),this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),vc(t)&&(t.nonNullable||t.initialValueIsDefault)&&(L5(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,t={}){Vt(()=>{this.value=this._pendingValue=e,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)})}patchValue(e,t={}){this.setValue(e,t)}reset(e=this.defaultValue,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),t.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,t?.emitEvent!==!1&&this._events.next(new Ou(this))}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){M5(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){M5(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){L5(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},sN=e=>e instanceof Zo,lN=(()=>{class e extends yv{callSetDisabledState;get submitted(){return Vt(this._submittedReactive)}set submitted(i){this._submittedReactive.set(i)}_submitted=ri(()=>this._submittedReactive());_submittedReactive=Ki(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(i,r,o){super(),this.callSetDisabledState=o,this._setValidators(i),this._setAsyncValidators(r)}ngOnChanges(i){this.onChanges(i)}ngOnDestroy(){this.onDestroy()}onChanges(i){this._checkFormPresent(),Object.hasOwn(i,"form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(Mu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(i){let r=this.form.get(i.path);return i._setupWithForm(r,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(i),r}getControl(i){return this.form.get(i.path)}removeControl(i){Pu(i.control||null,i,!1),nN(this.directives,i)}addFormGroup(i){this._setUpFormContainer(i)}removeFormGroup(i){this._cleanUpFormContainer(i)}getFormGroup(i){return this.form.get(i.path)}getFormArray(i){return this.form.get(i.path)}addFormArray(i){this._setUpFormContainer(i)}removeFormArray(i){this._cleanUpFormContainer(i)}updateModel(i,r){this.form.get(i.path).setValue(r)}onReset(){this.resetForm()}resetForm(i=void 0,r={}){this.form.reset(i,r),this._submittedReactive.set(!1)}onSubmit(i){return this.submitted=!0,rN(this.form,this.directives),this.ngSubmit.emit(i),this.form._events.next(new MP(this.control)),i?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(i=>{let r=i.control,o=this.form.get(i.path);r!==o&&(Pu(r||null,i),sN(o)&&i._setupWithForm(o,this.callSetDisabledState))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(i){let r=this.form.get(i.path);JP(r,i),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(i){let r=this.form?.get(i.path);r&&eN(r,i)&&r.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){xv(this.form,this),this._oldForm&&Mu(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(i){return new(i||e)(He(bv,10),He(r2,10),He(wv,8))};static \u0275dir=Hi({type:e,features:[Pr,Wf]})}return e})(),uN={provide:yv,useExisting:un(()=>Sv)},Sv=(()=>{class e extends lN{form=null;ngSubmit=new pi;get control(){return this.form}static \u0275fac=(()=>{let i;return function(r){return(i||(i=Zf(e)))(r||e)}})();static \u0275dir=Hi({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&Pt("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ai([uN]),Pr]})}return e})(),A2=new q(""),cN={provide:gc,useExisting:un(()=>kv)},kv=(()=>{class e extends gc{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(i){}model;update=new pi;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(i,r,o,n,a,s,l){super(l,s,o),this._ngModelWarningConfig=n,this.callSetDisabledState=a,this._setValidators(i),this._setAsyncValidators(r)}ngOnChanges(i){if(this._isControlChanged(i)){let r=i.form.previousValue;r&&(Pu(r,this,!1),this.removeParseErrorsValidator(r)),this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,ZP(this.form,this,this.callSetDisabledState)),this.form.updateValueAndValidity({emitEvent:!1})}tN(i,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Pu(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(i){this.viewModel=i,this.update.emit(i)}_isControlChanged(i){return Object.hasOwn(i,"form")}\u0275ngControlCreate(i){super.ngControlCreate(i)}\u0275ngControlUpdate(i){super.ngControlUpdate(i,!0)}static \u0275fac=function(i){return new(i||e)(He(bv,10),He(r2,10),He(vv,10),He(A2,8),He(wv,8),He(pc,8),He(ht,8))};static \u0275dir=Hi({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[ai([cN,aN]),Pr,Wf,j8(null)]})}return e})(),_N=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=BC({type:e});static \u0275inj=_y({})}return e})(),B2=(()=>{class e{static withConfig(i){return{ngModule:e,providers:[{provide:A2,useValue:i.warnOnNgModelWithFormControl??"always"},{provide:wv,useValue:i.callSetDisabledState??Cv}]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=BC({type:e});static \u0275inj=_y({imports:[_N]})}return e})(),E2=class{_doc;constructor(e){this._doc=e}manager},vp=(()=>{class e extends E2{constructor(i){super(i)}supports(i){return!0}addEventListener(i,r,o,n){return i.addEventListener(r,o,n),()=>this.removeEventListener(i,r,o,n)}removeEventListener(i,r,o,n){return i.removeEventListener(r,o,n)}static \u0275fac=function(i){return new(i||e)(ae(ar))};static \u0275prov=xe({token:e,factory:e.\u0275fac})}return e})(),gp=new q(""),D2=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(i,r){this._zone=r,i.forEach(a=>{a.manager=this});let o=i.filter(a=>!(a instanceof vp));this._plugins=o.slice().reverse();let n=i.find(a=>a instanceof vp);n&&this._plugins.push(n)}addEventListener(i,r,o,n){return this._findPluginFor(r).addEventListener(i,r,o,n)}getZone(){return this._zone}_findPluginFor(i){let r=this._eventNameToPlugin.get(i);if(r)return r;if(r=this._plugins.find(o=>o.supports(i)),!r)throw new L(-5101,!1);return this._eventNameToPlugin.set(i,r),r}static \u0275fac=function(i){return new(i||e)(ae(gp),ae(lr))};static \u0275prov=xe({token:e,factory:e.\u0275fac})}return e})(),bd="ng-app-id";H5=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(i,r,o,n={}){this.doc=i,this.appId=r,this.nonce=o,dN(i,r,this.inline,this.external)&&this.hosts.add(i.head)}addStyles(i,r){for(let o of i)this.addUsage(o,this.inline,$5);r?.forEach(o=>this.addUsage(o,this.external,mp))}removeStyles(i,r){for(let o of i)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(i,r,o){let n=r.get(i);n?n.usage++:r.set(i,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,o(i,this.doc)))})}removeUsage(i,r){let o=r.get(i);o&&(o.usage--,o.usage<=0&&(F5(o.elements),r.delete(i)))}ngOnDestroy(){for(let[,{elements:i}]of[...this.inline,...this.external])F5(i);this.hosts.clear()}addHost(i){if(!this.hosts.has(i)){this.hosts.add(i);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(i,$5(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(i,mp(r,this.doc)))}}removeHost(i){this.hosts.delete(i);for(let r of[...this.inline.values(),...this.external.values()]){let o=[];for(let n of r.elements)n.parentNode===i?n.remove():o.push(n);r.elements=o}}addElement(i,r){return this.nonce&&r.setAttribute("nonce",this.nonce),i.appendChild(r)}static \u0275fac=function(i){return new(i||e)(ae(ar),ae(rw),ae(aw,8),ae(nw))};static \u0275prov=xe({token:e,factory:e.\u0275fac})}return e})(),yd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Tv=/%COMP%/g,z2="%COMP%",hN=`_nghost-${z2}`,pN=`_ngcontent-${z2}`,fN=!0,vN=new q("",{factory:()=>fN}),gN=new q("");U5=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;cssVarNamespace;constructor(i,r,o,n,a,s,l=null,u=null,_=null){this.eventManager=i,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=n,this.doc=a,this.ngZone=s,this.nonce=l,this.tracingService=u,this.cssVarNamespace=_??"",this.defaultRenderer=new Iv(i,a,s,this.tracingService,this.cssVarNamespace)}createRenderer(i,r){if(!i||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(i,r);return o instanceof q5?o.applyToHost(i):o instanceof bp&&o.applyStyles(),o}getOrCreateRenderer(i,r){let o=this.rendererByCompId,n=o.get(r.id);if(!n){let a=this.doc,s=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,_=this.removeStylesOnCompDestroy,c=this.tracingService;switch(r.encapsulation){case xr.Emulated:n=new q5(l,u,r,this.appId,_,a,s,c,this.cssVarNamespace);break;case xr.ShadowDom:return new j5(l,i,r,a,s,this.nonce,c,this.cssVarNamespace,u);case xr.ExperimentalIsolatedShadowDom:return new j5(l,i,r,a,s,this.nonce,c,this.cssVarNamespace);default:n=new bp(l,u,r,_,a,s,c,this.cssVarNamespace)}o.set(r.id,n)}return n}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(i){this.rendererByCompId.delete(i)}static \u0275fac=function(i){return new(i||e)(ae(D2),ae(xu),ae(rw),ae(vN),ae(ar),ae(lr),ae(aw),ae(Ta,8),ae(gN,8))};static \u0275prov=xe({token:e,factory:e.\u0275fac})}return e})(),Iv=class{eventManager;doc;ngZone;tracingService;cssVarNamespace;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,t,i,r,o=""){this.eventManager=e,this.doc=t,this.ngZone=i,this.tracingService=r,this.cssVarNamespace=o}destroy(){}destroyNode=null;createElement(e,t){return t?this.doc.createElementNS(yd[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(V5(e)?e.content:e).appendChild(t)}insertBefore(e,t,i){if(e){let r=V5(e)?e.content:e;if(i!=null&&i.parentNode!==r)throw new L(-5106,!1);r.insertBefore(t,i)}}removeChild(e,t){t.remove()}selectRootElement(e,t){let i=typeof e=="string"?this.doc.querySelector(e):e;if(!i)throw new L(-5104,!1);return t||(i.textContent=""),i}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,i,r){if(r){t=r+":"+t;let o=yd[r];o?e.setAttributeNS(o,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){let r=yd[i];r?e.removeAttributeNS(r,t):e.removeAttribute(`${i}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,i,r){let o=t.startsWith("--");o&&(t=t.replace("%NS%",this.cssVarNamespace)),o||r&(Vo.DashCase|Vo.Important)?e.style.setProperty(t,i,r&Vo.Important?"important":""):e.style[t]=i}removeStyle(e,t,i){let r=t.startsWith("--");r&&(t=t.replace("%NS%",this.cssVarNamespace)),r||i&Vo.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,i){e!=null&&(e[t]=i)}setValue(e,t){e.nodeValue=t}listen(e,t,i,r){if(typeof e=="string"&&(e=Wo().getGlobalEventTarget(this.doc,e),!e))throw new L(-5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(e,t,o)),this.eventManager.addEventListener(e,t,o,r)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;e(t)===!1&&t.preventDefault()}}};j5=class extends Iv{hostEl;sharedStylesHost;shadowRoot;constructor(e,t,i,r,o,n,a,s,l){super(e,r,o,a,s),this.hostEl=t,this.sharedStylesHost=l,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=i.styles;u=R2(i.id,u).map(c=>c.replace(/%NS%/g,s));for(let c of u){let h=document.createElement("style");n&&h.setAttribute("nonce",n),h.textContent=c,this.shadowRoot.appendChild(h)}let _=i.getExternalStyles?.();if(_)for(let c of _){let h=mp(c,r);n&&h.setAttribute("nonce",n),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,i){return super.insertBefore(this.nodeOrShadowRoot(e),t,i)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},bp=class extends Iv{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,t,i,r,o,n,a,s,l){super(e,o,n,a,s),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r;let u=i.styles,_=l?R2(l,u):u;this.styles=_.map(c=>c.replace(/%NS%/g,s)),this.styleUrls=i.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&M6.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},q5=class extends bp{contentAttr;hostAttr;constructor(e,t,i,r,o,n,a,s,l){let u=r+"-"+i.id;super(e,t,i,o,n,a,s,l,u),this.contentAttr=mN(u),this.hostAttr=bN(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){let i=super.createElement(e,t);return super.setAttribute(i,this.contentAttr,""),i}},yN=class O2 extends bP{supportsDOMEvents=!0;static makeCurrent(){mP(new O2)}onAndCancel(t,i,r,o){return t.addEventListener(i,r,o),()=>{t.removeEventListener(i,r,o)}}dispatchEvent(t,i){t.dispatchEvent(i)}remove(t){t.remove()}createElement(t,i){return i=i||this.getDefaultDocument(),i.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,i){return i==="window"?window:i==="document"?t:i==="body"?t.body:null}getBaseHref(t){let i=wN();return i==null?null:CN(i)}resetBaseElement(){is=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return e2(document.cookie,t)}},is=null;G5=["alt","control","meta","shift"],xN={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},SN={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},kN=(()=>{class e extends E2{constructor(i){super(i)}supports(i){return e.parseEventName(i)!=null}addEventListener(i,r,o,n){let a=e.parseEventName(r),s=e.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Wo().onAndCancel(i,a.domEventName,s,n))}static parseEventName(i){let r=i.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let n=e._normalizeKey(r.pop()),a="",s=r.indexOf("code");if(s>-1&&(r.splice(s,1),a="code."),G5.forEach(u=>{let _=r.indexOf(u);_>-1&&(r.splice(_,1),a+=u+".")}),a+=n,r.length!=0||n.length===0)return null;let l={};return l.domEventName=o,l.fullKey=a,l}static matchEventFullKeyCode(i,r){let o=xN[i.key]||i.key,n="";return r.indexOf("code.")>-1&&(o=i.code,n="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),G5.forEach(a=>{if(a!==o){let s=SN[a];s(i)&&(n+=a+".")}}),n+=o,n===r)}static eventCallback(i,r,o){return n=>{e.matchEventFullKeyCode(n,i)&&o.runGuarded(()=>r(n))}}static _normalizeKey(i){return i==="esc"?"escape":i}static \u0275fac=function(i){return new(i||e)(ae(ar))};static \u0275prov=xe({token:e,factory:e.\u0275fac})}return e})();DN=[{provide:nw,useValue:xP},{provide:ow,useValue:AN,multi:!0},{provide:ar,useFactory:EN}],zN=[{provide:Ef,useValue:"root"},{provide:Sa,useFactory:BN},{provide:gp,useClass:vp,multi:!0},{provide:gp,useClass:kN,multi:!0},U5,{provide:xu,useClass:H5},{provide:H5,useExisting:xu},D2,{provide:cv,useExisting:U5},[]],pa=class Xl{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
86
86
  `).forEach(i=>{let r=i.indexOf(":");if(r>0){let o=i.slice(0,r),n=i.slice(r+1).trim();this.addHeaderEntry(o,n)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((i,r)=>{this.addHeaderEntry(r,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([i,r])=>{this.setHeaderEntries(i,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let i=this.headers.get(t.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,i){return this.clone({name:t,value:i,op:"a"})}set(t,i){return this.clone({name:t,value:i,op:"s"})}delete(t,i){return this.clone({name:t,value:i,op:"d"})}maybeSetNormalizedName(t,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,t)}init(){this.lazyInit&&(this.lazyInit instanceof Xl?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init();for(let[i,r]of t.headers.entries())this.headers.set(i,r),this.normalizedNames.set(i,t.normalizedNames.get(i))}clone(t){let i=new Xl;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof Xl?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([t]),i}applyUpdate(t){let i=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,i);let o=t.op==="a"?(this.headers.get(i)||[]).slice():[];o.push(...r),this.headers.set(i,o);break;case"d":let n=t.value;if(n===void 0)this.headers.delete(i),this.normalizedNames.delete(i);else{let a=Array.isArray(n)?n:[n],s=this.headers.get(i);if(!s)return;s=s.filter(l=>a.indexOf(l)===-1),s.length===0?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,s)}}}addHeaderEntry(t,i){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(i):this.headers.set(r,[i])}setHeaderEntries(t,i){let r=(Array.isArray(i)?i:[i]).map(n=>n.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>t(this.normalizedNames.get(i),this.headers.get(i)))}},RN=class{map=new Map;set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}},ON=class{encodeKey(e){return W5(e)}encodeValue(e){return W5(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};NN=/%(\d[a-f0-9])/gi,MN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};Kn=class P2{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new ON,t.fromString){if(t.fromObject)throw new L(2805,!1);this.map=PN(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(i=>{let r=t.fromObject[i],o=Array.isArray(r)?r.map(wl):[wl(r)];this.map.set(i,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let i=this.map.get(t);return i?i[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,i){return this.clone({param:t,value:i,op:"a"})}appendAll(t){let i=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(n=>{i.push({param:r,value:n,op:"a"})}):i.push({param:r,value:o,op:"a"})}),this.clone(i)}set(t,i){return this.clone({param:t,value:i,op:"s"})}delete(t,i){return this.clone({param:t,value:i,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let i=this.encoder.encodeKey(t);return this.map.get(t).map(r=>i+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let i=new P2({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(t),i}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[t,i]of this.cloneFrom.map.entries())this.map.set(t,i);this.updates.forEach(t=>{switch(t.op){case"a":case"s":let i=t.op==="a"?(this.map.get(t.param)||[]).slice():[];i.push(wl(t.value)),this.map.set(t.param,i);break;case"d":if(t.value!==void 0){let r=(this.map.get(t.param)||[]).slice(),o=r.indexOf(wl(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null}}};wd="Content-Type",Y5="Accept",N2="text/plain",M2="application/json",$N=`${M2}, ${N2}, */*`,Cd=class L2{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,i,r,o){this.url=i,this.method=t.toUpperCase();let n;if(LN(this.method)||o?(this.body=r!==void 0?r:null,n=o):n=r,n){if(this.reportProgress=!!n.reportProgress,this.reportUploadProgress=!!n.reportUploadProgress,this.reportDownloadProgress=!!n.reportDownloadProgress,this.withCredentials=!!n.withCredentials,this.keepalive=!!n.keepalive,n.responseType&&(this.responseType=n.responseType),n.headers&&(this.headers=n.headers),n.context&&(this.context=n.context),n.params&&(this.params=n.params),n.priority&&(this.priority=n.priority),n.cache&&(this.cache=n.cache),n.credentials&&(this.credentials=n.credentials),typeof n.timeout=="number"){if(n.timeout<1||!Number.isInteger(n.timeout))throw new L(2822,"");this.timeout=n.timeout}n.mode&&(this.mode=n.mode),n.redirect&&(this.redirect=n.redirect),n.integrity&&(this.integrity=n.integrity),n.referrer!==void 0&&(this.referrer=n.referrer),n.referrerPolicy&&(this.referrerPolicy=n.referrerPolicy),this.transferCache=n.transferCache}if(this.headers??=new pa,this.context??=new RN,!this.params)this.params=new Kn,this.urlWithParams=i;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=i;else{let s=i,l="",u=i.indexOf("#");u!==-1&&(l=i.substring(u),s=i.substring(0,u));let _=s.indexOf("?"),c=_===-1?"?":_<s.length-1?"&":"";this.urlWithParams=s+c+a+l}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Z5(this.body)||K5(this.body)||X5(this.body)||FN(this.body)?this.body:this.body instanceof Kn?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||X5(this.body)?null:K5(this.body)?this.body.type||null:Z5(this.body)?null:typeof this.body=="string"?N2:this.body instanceof Kn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?M2:null}clone(t={}){let i=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,n=t.keepalive??this.keepalive,a=t.priority||this.priority,s=t.cache||this.cache,l=t.mode||this.mode,u=t.redirect||this.redirect,_=t.credentials||this.credentials,c=t.referrer??this.referrer,h=t.integrity||this.integrity,d=t.referrerPolicy||this.referrerPolicy,b=t.transferCache??this.transferCache,w=t.timeout??this.timeout,I=t.body!==void 0?t.body:this.body,C=t.withCredentials??this.withCredentials,A=t.reportProgress??this.reportProgress,P=t.reportUploadProgress??this.reportUploadProgress,de=t.reportDownloadProgress??this.reportDownloadProgress,se=t.headers||this.headers,Be=t.params||this.params,pt=t.context??this.context;return t.setHeaders!==void 0&&(se=Object.keys(t.setHeaders).reduce((Ye,Me)=>Ye.set(Me,t.setHeaders[Me]),se)),t.setParams&&(Be=Object.keys(t.setParams).reduce((Ye,Me)=>Ye.set(Me,t.setParams[Me]),Be)),new L2(i,r,I,{params:Be,headers:se,context:pt,reportProgress:A,reportUploadProgress:P,reportDownloadProgress:de,responseType:o,withCredentials:C,transferCache:b,keepalive:n,cache:s,priority:a,timeout:w,mode:l,redirect:u,credentials:_,referrer:c,integrity:h,referrerPolicy:d})}},Xn=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(Xn||{}),Av=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(e,t=200,i="OK"){this.headers=e.headers||new pa,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||i,this.url=e.url||null,this.redirected=e.redirected,this.responseType=e.responseType,this.ok=this.status>=200&&this.status<300}},HN=class F2 extends Av{constructor(t={}){super(t)}type=Xn.ResponseHeader;clone(t={}){return new F2({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},$2=class H2 extends Av{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Xn.Response;clone(t={}){return new H2({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}},Cl=class extends Av{name="HttpErrorResponse";message;error;ok=!1;constructor(e){super(e,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},UN=200,VN=/^\)\]\}',?\n/,jN=new q("",{factory:()=>null}),yp=(()=>{class e{fetchImpl=S(qN,{optional:!0})?.fetch??((...i)=>globalThis.fetch(...i));ngZone=S(lr);destroyRef=S(sr);maxResponseSize=S(jN);handle(i){return new _t(r=>{let o=new AbortController,n=!1,a={next:l=>{l.type===Xn.Response&&(n=!0),r.next(l)},error:l=>{n=!0,r.error(l)},complete:()=>{n=!0,r.complete()}};this.doRequest(i,o.signal,a).then(wp,l=>a.error(new Cl({error:l})));let s;return i.timeout&&(s=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"))},i.timeout))),()=>{s!==void 0&&clearTimeout(s),!n&&!o.signal.aborted&&o.abort()}})}async doRequest(i,r,o){let n=this.createRequestInit(i),a;try{let I=this.ngZone.runOutsideAngular(()=>this.fetchImpl(i.urlWithParams,D({signal:r},n)));GN(I),o.next({type:Xn.Sent}),a=await I}catch(I){o.error(new Cl({error:I,status:I.status??0,statusText:I.statusText,url:i.urlWithParams,headers:I.headers}));return}let s=new pa(a.headers),l=a.statusText,u=a.url||i.urlWithParams,_=a.status,c=null,h=i.reportProgress||i.reportDownloadProgress;if(h&&o.next(new HN({headers:s,status:_,statusText:l,url:u})),a.body){let I=a.headers.get(wd)??"",C=a.headers.get("content-length"),A=C!==null?Number(C):NaN;this.maxResponseSize!==null&&Number.isFinite(A)&&A>this.maxResponseSize&&(await a.body.cancel(),Q5(this.maxResponseSize));let P=[],de=a.body.getReader(),se=0,Be,pt,Ye=typeof Zone<"u"&&Zone.current,Me=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await de.cancel(),Me=!0;break}let{done:le,value:st}=await de.read();if(le)break;if(P.push(st),se+=st.length,this.maxResponseSize!==null&&se>this.maxResponseSize&&(await de.cancel(),Q5(this.maxResponseSize)),h){pt=i.responseType==="text"?(pt??"")+(Be??=J5(I)).decode(st,{stream:!0}):void 0;let hn=()=>o.next({type:Xn.DownloadProgress,total:Number.isFinite(A)?A:void 0,loaded:se,partialText:pt});Ye?Ye.run(hn):hn()}}}),Me){o.complete();return}let Wt=this.concatChunks(P,se);try{c=this.parseBody(i,Wt,I,_)}catch(le){o.error(new Cl({error:le,headers:new pa(a.headers),status:a.status,statusText:a.statusText,url:a.url||i.urlWithParams}));return}}_===0&&(_=c?UN:0);let d=_>=200&&_<300,b=a.redirected,w=a.type;d?(o.next(new $2({body:c,headers:s,status:_,statusText:l,url:u,redirected:b,responseType:w})),o.complete()):o.error(new Cl({error:c,headers:s,status:_,statusText:l,url:u,redirected:b,responseType:w}))}parseBody(i,r,o,n){switch(i.responseType){case"json":let a=new TextDecoder().decode(r).replace(VN,"");if(a==="")return null;try{return JSON.parse(a)}catch(s){if(n<200||n>=300)return a;throw s}case"text":return J5(o).decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(i){if(i.reportUploadProgress)throw new L(2824,!1);let r={},o;if(o=i.credentials,i.withCredentials&&(o="include"),i.headers.forEach((n,a)=>r[n]=a.join(",")),i.headers.has(Y5)||(r[Y5]=$N),!i.headers.has(wd)){let n=i.detectContentTypeHeader();n!==null&&(r[wd]=n)}return{body:i.serializeBody(),method:i.method,headers:r,credentials:o,keepalive:i.keepalive,cache:i.cache,priority:i.priority,mode:i.mode,redirect:i.redirect,referrer:i.referrer,integrity:i.integrity,referrerPolicy:i.referrerPolicy}}concatChunks(i,r){let o=new Uint8Array(r),n=0;for(let a of i)o.set(a,n),n+=a.length;return o}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Os({token:e,factory:e.\u0275fac})}return e})(),qN=class{};WN=/charset=\s*["']?([^;"'\s]+)["']?/i;ZN=new q("",{factory:()=>!0}),KN="XSRF-TOKEN",XN=new q("",{factory:()=>KN}),YN="X-XSRF-TOKEN",QN=new q("",{factory:()=>YN}),JN=(()=>{class e{cookieName=S(XN);doc=S(ar);lastCookieString="";lastToken=null;parseCount=0;getToken(){let i=this.doc.cookie||"";return i!==this.lastCookieString&&(this.parseCount++,this.lastToken=e2(i,this.cookieName),this.lastCookieString=i),this.lastToken}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Os({token:e,factory:e.\u0275fac})}return e})(),eM=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=xe({token:e,factory:function(i){let r=null;return i?r=new(i||e):r=ae(JN),r},providedIn:"root"})}return e})();V2=new q("",{factory:()=>[U2]}),rM=new q(""),oM=new q("",{factory:()=>!0}),j2=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=xe({token:e,factory:function(i){let r=null;return i?r=new(i||e):r=ae(yp),r},providedIn:"root"})}return e})(),Cp=(()=>{class e{backend;injector;chain=null;pendingTasks=S(OR);contributeToStability=S(oM);constructor(i,r){this.backend=i,this.injector=r}handle(i){if(this.chain===null){let o=this.injector.get(Bv,null,{skipSelf:!0}),n=o!==null&&this.backend===o,a=this.injector.get(rM,[],n?{self:!0}:void 0),s=Array.from(new Set([...this.injector.get(V2),...a]));this.chain=s.reduceRight((l,u)=>iM(l,u,this.injector),tM)}let r=this.chain;if(this.contributeToStability){let o=this.pendingTasks.add();return Vt(()=>r(i,n=>this.backend.handle(n))).pipe(oz(o))}else return Vt(()=>r(i,o=>this.backend.handle(o)))}static \u0275fac=function(i){return new(i||e)(ae(j2),ae(Qo))};static \u0275prov=xe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Bv=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=xe({token:e,factory:function(i){let r=null;return i?r=new(i||e):r=ae(Cp),r},providedIn:"root"})}return e})();q2=(()=>{class e{handler;constructor(i){this.handler=i}request(i,r,o={}){let n;if(i instanceof Cd)n=i;else{let l;o.headers instanceof pa?l=o.headers:l=new pa(o.headers);let u;o.params&&(o.params instanceof Kn?u=o.params:u=new Kn({fromObject:o.params})),n=new Cd(i,r,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,reportUploadProgress:o.reportUploadProgress,reportDownloadProgress:o.reportDownloadProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let a=FD(n).pipe(rz(l=>this.handler.handle(l)));if(i instanceof Cd||o.observe==="events")return a;let s=a.pipe(iz(l=>l instanceof $2));switch(o.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return s.pipe(to(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new L(2806,!1);return l.body}));case"blob":return s.pipe(to(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new L(2807,!1);return l.body}));case"text":return s.pipe(to(l=>{if(l.body!==null&&typeof l.body!="string")throw new L(2808,!1);return l.body}));default:return s.pipe(to(l=>l.body))}case"response":return s;default:throw new L(2809,!1)}}delete(i,r={}){return this.request("DELETE",i,r)}get(i,r={}){return this.request("GET",i,r)}head(i,r={}){return this.request("HEAD",i,r)}jsonp(i,r){return this.request("JSONP",i,{params:new Kn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(i,r={}){return this.request("OPTIONS",i,r)}patch(i,r,o={}){return this.request("PATCH",i,xd(o,r))}post(i,r,o={}){return this.request("POST",i,xd(o,r))}put(i,r,o={}){return this.request("PUT",i,xd(o,r))}static \u0275fac=function(i){return new(i||e)(ae(Bv))};static \u0275prov=xe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();G2="[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]";new RegExp(G2,"g");new RegExp(`(${G2})+`,"g");W2="[0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]";new RegExp(W2,"g");new RegExp(`(${W2})+`,"g");Ev={originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:16},lM=te(D({},Ev),{overlayX:"start",originX:"start"}),uM=te(D({},Ev),{overlayX:"end",originX:"end"}),Dv={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-16},cM=te(D({},Dv),{overlayX:"start",originX:"start"}),_M=te(D({},Dv),{overlayX:"end",originX:"end"}),Z2=class{},Lu=(()=>{class e extends Z2{static{this.global={top:"1rem",center:!0}}static{this.connected=Ev}}return e})(),Fu=(()=>{class e extends Z2{static{this.global={bottom:"1rem",center:!0}}static{this.connected=Dv}}return e})(),tF=class extends Lu{static{this.global=te(D({},Lu.global),{left:"1rem",center:!1})}static{this.connected=lM}},iF=class extends Lu{static{this.global=te(D({},Lu.global),{right:"1rem",center:!1})}static{this.connected=uM}},rF=class extends Fu{static{this.global=te(D({},Fu.global),{left:"1rem",center:!1})}static{this.connected=cM}},oF=class extends Fu{static{this.global=te(D({},Fu.global),{right:"1rem",center:!1})}static{this.connected=_M}};Math.pow(2,31)-1;dM="global",hM="default",K=(function(e){return e.COZY="cozy",e.CONDENSED="condensed",e.COMPACT="compact",e})(K||{}),pM=new q("ContentDensityDirective"),fM=class{},K2=(()=>{class e{get currentContentDensity(){return this.currentDensitySignal()}constructor(){this._storage=S(fM),this._injector=S(ht),this.currentDensitySignal=this._storage.contentDensity}contentDensityListener(){return rs(this._storage.contentDensity,{injector:this._injector})}updateContentDensity(i){this._storage.setContentDensity(i)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=xe({token:e,factory:e.\u0275fac})}}return e})(),vM=class{},gM=e=>ri(()=>{let t=e.parentContentDensityObserver?e.parentContentDensityObserver():e.contentDensityDirective?e.contentDensityDirective():e.contentDensityService?.currentDensitySignal()??e.defaultContentDensity;return t===hM?e.defaultContentDensity:t===dM?e.contentDensityService?.currentDensitySignal()??e.defaultContentDensity:t}),X2={modifiers:{[K.COMPACT]:"is-compact",[K.COZY]:"is-cozy",[K.CONDENSED]:"is-condensed"},supportedContentDensity:[K.COMPACT,K.COZY],defaultContentDensity:K.COZY,debug:!1,alwaysAddModifiers:!1,restrictChildContentDensity:!1,ui5Markers:{enabled:!0}},mM=e=>!!(e&&e.useFactory),bM=(e,t)=>(t.deps||[]).map(i=>{if(Array.isArray(i)){let r,o={};for(let n=0;n<i.length;n++){let a=i[n].__NG_DI_FLAG__;typeof a=="number"?o=te(D({},o),{flag:a}):r=i[n]}return e.get(r,void 0,o)}return e.get(i,void 0,{})}),yM=(e,t)=>{if(typeof t.defaultContentDensity=="string")return t.defaultContentDensity;if(mM(t.defaultContentDensity)){let i=bM(e,t.defaultContentDensity);return t.defaultContentDensity.useFactory(...i)}return e.get(t.defaultContentDensity,void 0,void 0)},wM=(e,t)=>e.get(K2,null,{optional:!0})?.currentContentDensity||yM(e,D(D({},X2),t||{})),Nr=(()=>{class e{get value(){return this._contentDensity()}get isCompact(){return this.isCompactSignal()}get isCozy(){return this.isCozySignal()}get isCondensed(){return this.isCondensedSignal()}constructor(i,r){this._destroyRef=S(sr),this._alternativeTo={[K.COMPACT]:()=>this._isSupported(K.CONDENSED)?K.CONDENSED:K.COZY,[K.CONDENSED]:()=>this._isSupported(K.COMPACT)?K.COMPACT:K.COZY,[K.COZY]:()=>K.COZY},this._globalContentDensityService=S(K2,{optional:!0}),this._contentDensityDirective=S(pM,{optional:!0}),this._parentContentDensityObserver=S(e,{optional:!0,skipSelf:!0}),this._renderer=S(pc),this._elementRef=S(ei),this._elements=[this._elementRef],this.config=D(D(D({},X2),this._parentContentDensityObserver?.config??{}),r||{});let o=wM(i,r);this._changesSource=gM({defaultContentDensity:o,contentDensityDirective:this._contentDensityDirective?.densityMode,contentDensityService:this._globalContentDensityService??void 0,parentContentDensityObserver:this.config.restrictChildContentDensity?this._parentContentDensityObserver?.contentDensity:void 0}),this._contentDensity=iP({source:this._changesSource,computation:n=>!n||typeof n!="string"?K.COZY:this._validateAndFallback(n)}),this.contentDensity=this._contentDensity.asReadonly(),this.isCompactSignal=ri(()=>this._contentDensity()===K.COMPACT),this.isCozySignal=ri(()=>this._contentDensity()===K.COZY),this.isCondensedSignal=ri(()=>this._contentDensity()===K.CONDENSED),this.contentDensity$=this.contentDensity,this.isCompact$=rs(this.isCompactSignal,{injector:i}),this.isCozy$=rs(this.isCozySignal,{injector:i}),this.isCondensed$=rs(this.isCondensedSignal,{injector:i}),this.contentDensity$$=rs(this._contentDensity,{injector:i}),bi(()=>{let n=this._contentDensity();this._applyClass(n)}),V6(()=>{this._applyClass(this._contentDensity())}),this._destroyRef.onDestroy(()=>{this._cleanup(),this.config.debug&&console.warn("ContentDensityObserver: destroyed")})}consume(...i){this._elements.concat(...i.map(r=>r.elementRef))}complete(){this._cleanup()}asObservable(){return this.contentDensity$$}subscribe(i){return this.contentDensity$$.subscribe(i)}removeConsumer(i){this._elements.splice(this._elements.indexOf(i.elementRef),1)}_validateAndFallback(i){if(this.config.debug&&console.warn(`ContentDensityObserver: density changed to ${i}`),!this._isSupported(i))try{return this.config.debug&&console.warn(`ContentDensityObserver: ${i} is not supported. Failing back to alternative one.`),this._alternativeTo[i]()}catch{throw new Error(`ContentDensityObserver: density ${i} is not supported`)}return i}_cleanup(){this._parentContentDensityObserver=null,this._contentDensityDirective=null,this._globalContentDensityService=null,this._elementRef=null,this._renderer=null,this._elements=[]}_applyClass(i){if(!this.config?.modifiers)return;let r=this.config.modifiers,o=i??this._contentDensity(),n=this._parentContentDensityObserver?.value===o;this._elements.forEach(a=>{if(Object.values(r).forEach(l=>{this._renderer?.removeClass(a?.nativeElement,l)}),this._applyUi5Marker(a?.nativeElement,o,n),n&&!this.config.alwaysAddModifiers)return;let s=r[o];s&&this._renderer?.addClass(a?.nativeElement,s)})}_applyUi5Marker(i,r,o){if(!this.config.ui5Markers?.enabled||!i||!this._renderer||!(i instanceof HTMLElement))return;let n="data-ui5-compact-size";if(o&&!this.config.alwaysAddModifiers){this._renderer.removeAttribute(i,n);return}r===K.COMPACT||r===K.CONDENSED?this._renderer.setAttribute(i,n,""):this._renderer.removeAttribute(i,n)}_isSupported(i){return this.config.supportedContentDensity?.includes(i)??!1}static{this.\u0275fac=function(i){return new(i||e)(ae(ht),ae(vM))}}static{this.\u0275prov=xe({token:e,factory:e.\u0275fac})}}return e})();zv=(()=>{class e{constructor(){this.accessibilityAttributes=k({}),this.accessibleDescription=k(),this.accessibleName=k(),this.accessibleNameRef=k(),this.accessibleRole=k("Button"),this.design=k("Default"),this.disabled=k(!1,{transform:Re}),this.endIcon=k(),this.form=k(),this.icon=k(),this.loading=k(!1,{transform:Re}),this.loadingDelay=k(1e3),this.submits=k(!1,{transform:Re}),this.tooltip=k(),this.type=k("Button"),this.ui5Click=rt(),this.slots=[{name:"badge",description:"Adds a badge to the button.",since:"2.7.0"},{name:"default",description:`Defines the text of the component.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmfp/portal-ui-lib",
3
- "version": "0.199.5",
3
+ "version": "0.199.7",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/openmfp/portal-ui-lib.git"
6
6
  },
@@ -9,7 +9,7 @@
9
9
  "description": "This library helps you to set up an openmfp based micro frontend portal server with ease.",
10
10
  "dependencies": {
11
11
  "@jmespath-community/jmespath": "^1.4.1",
12
- "@luigi-project/plugin-auth-oauth2": "^2.31.0",
12
+ "@luigi-project/plugin-auth-oauth2": "^2.32.0",
13
13
  "jwt-decode": "^4.0.0",
14
14
  "lodash.isequal": "^4.5.0",
15
15
  "lodash.ismatch": "^4.4.0",