diff --git a/1033.76b969d7ff43a96e.js b/1033.76b969d7ff43a96e.js new file mode 100644 index 00000000..c5ba72e0 --- /dev/null +++ b/1033.76b969d7ff43a96e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1033],{1033:(f,s,e)=>{e.r(s),e.d(s,{ion_img:()=>o});var i=e(408),n=e(2961),r=e(4649);const o=class{constructor(t){(0,i.r)(this,t),this.ionImgWillLoad=(0,i.d)(this,"ionImgWillLoad",7),this.ionImgDidLoad=(0,i.d)(this,"ionImgDidLoad",7),this.ionError=(0,i.d)(this,"ionError",7),this.inheritedAttributes={},this.onLoad=()=>{this.ionImgDidLoad.emit()},this.onError=()=>{this.ionError.emit()},this.loadSrc=void 0,this.loadError=void 0,this.alt=void 0,this.src=void 0}srcChanged(){this.addIO()}componentWillLoad(){this.inheritedAttributes=(0,n.k)(this.el,["draggable"])}componentDidLoad(){this.addIO()}addIO(){void 0!==this.src&&(typeof window<"u"&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype?(this.removeIO(),this.io=new IntersectionObserver(t=>{t[t.length-1].isIntersecting&&(this.load(),this.removeIO())}),this.io.observe(this.el)):setTimeout(()=>this.load(),200))}load(){this.loadError=this.onError,this.loadSrc=this.src,this.ionImgWillLoad.emit()}removeIO(){this.io&&(this.io.disconnect(),this.io=void 0)}render(){const{loadSrc:t,alt:a,onLoad:c,loadError:l,inheritedAttributes:g}=this,{draggable:u}=g;return(0,i.h)(i.H,{class:(0,r.b)(this)},(0,i.h)("img",{decoding:"async",src:t,alt:a,onLoad:c,onError:l,part:"image",draggable:h(u)}))}get el(){return(0,i.f)(this)}static get watchers(){return{src:["srcChanged"]}}},h=t=>{switch(t){case"true":return!0;case"false":return!1;default:return}};o.style=":host{display:block;-o-object-fit:contain;object-fit:contain}img{display:block;width:100%;height:100%;-o-object-fit:inherit;object-fit:inherit;-o-object-position:inherit;object-position:inherit}"}}]); \ No newline at end of file diff --git a/1033.f29117b131013734.js b/1033.f29117b131013734.js deleted file mode 100644 index cff249e6..00000000 --- a/1033.f29117b131013734.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1033],{1033:(u,s,e)=>{e.r(s),e.d(s,{ion_img:()=>o});var i=e(1071),n=e(2674),r=e(7263);const o=class{constructor(t){(0,i.r)(this,t),this.ionImgWillLoad=(0,i.d)(this,"ionImgWillLoad",7),this.ionImgDidLoad=(0,i.d)(this,"ionImgDidLoad",7),this.ionError=(0,i.d)(this,"ionError",7),this.inheritedAttributes={},this.onLoad=()=>{this.ionImgDidLoad.emit()},this.onError=()=>{this.ionError.emit()},this.loadSrc=void 0,this.loadError=void 0,this.alt=void 0,this.src=void 0}srcChanged(){this.addIO()}componentWillLoad(){this.inheritedAttributes=(0,n.k)(this.el,["draggable"])}componentDidLoad(){this.addIO()}addIO(){void 0!==this.src&&(typeof window<"u"&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype?(this.removeIO(),this.io=new IntersectionObserver(t=>{t[t.length-1].isIntersecting&&(this.load(),this.removeIO())}),this.io.observe(this.el)):setTimeout(()=>this.load(),200))}load(){this.loadError=this.onError,this.loadSrc=this.src,this.ionImgWillLoad.emit()}removeIO(){this.io&&(this.io.disconnect(),this.io=void 0)}render(){const{loadSrc:t,alt:a,onLoad:c,loadError:l,inheritedAttributes:g}=this,{draggable:f}=g;return(0,i.h)(i.H,{class:(0,r.b)(this)},(0,i.h)("img",{decoding:"async",src:t,alt:a,onLoad:c,onError:l,part:"image",draggable:h(f)}))}get el(){return(0,i.f)(this)}static get watchers(){return{src:["srcChanged"]}}},h=t=>{switch(t){case"true":return!0;case"false":return!1;default:return}};o.style=":host{display:block;-o-object-fit:contain;object-fit:contain}img{display:block;width:100%;height:100%;-o-object-fit:inherit;object-fit:inherit;-o-object-position:inherit;object-position:inherit}"}}]); \ No newline at end of file diff --git a/1118.92981d3d50309caf.js b/1118.92981d3d50309caf.js deleted file mode 100644 index 679f8a44..00000000 --- a/1118.92981d3d50309caf.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1118],{1118:(E,m,c)=>{c.r(m),c.d(m,{ion_alert:()=>_});var g=c(5861),i=c(1071),x=c(1180),k=c(8623),v=c(2674),p=c(1701),b=c(2997),s=c(7263),a=c(2438);c(2669),c(6447),c(7693),c(9531),c(6412);const D=t=>{const e=(0,a.c)(),r=(0,a.c)(),o=(0,a.c)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:"0.01",transform:"scale(1.1)"},{offset:1,opacity:"1",transform:"scale(1)"}]),e.addElement(t).easing("ease-in-out").duration(200).addAnimation([r,o])},z=t=>{const e=(0,a.c)(),r=(0,a.c)(),o=(0,a.c)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),o.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),e.addElement(t).easing("ease-in-out").duration(200).addAnimation([r,o])},I=t=>{const e=(0,a.c)(),r=(0,a.c)(),o=(0,a.c)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:"0.01",transform:"scale(0.9)"},{offset:1,opacity:"1",transform:"scale(1)"}]),e.addElement(t).easing("ease-in-out").duration(150).addAnimation([r,o])},O=t=>{const e=(0,a.c)(),r=(0,a.c)(),o=(0,a.c)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),o.addElement(t.querySelector(".alert-wrapper")).fromTo("opacity",.99,0),e.addElement(t).easing("ease-in-out").duration(150).addAnimation([r,o])},_=class{constructor(t){(0,i.r)(this,t),this.didPresent=(0,i.d)(this,"ionAlertDidPresent",7),this.willPresent=(0,i.d)(this,"ionAlertWillPresent",7),this.willDismiss=(0,i.d)(this,"ionAlertWillDismiss",7),this.didDismiss=(0,i.d)(this,"ionAlertDidDismiss",7),this.didPresentShorthand=(0,i.d)(this,"didPresent",7),this.willPresentShorthand=(0,i.d)(this,"willPresent",7),this.willDismissShorthand=(0,i.d)(this,"willDismiss",7),this.didDismissShorthand=(0,i.d)(this,"didDismiss",7),this.delegateController=(0,p.d)(this),this.triggerController=(0,p.e)(),this.customHTMLEnabled=s.c.get("innerHTMLTemplatesEnabled",x.E),this.processedInputs=[],this.processedButtons=[],this.presented=!1,this.onBackdropTap=()=>{this.dismiss(void 0,p.B)},this.dispatchCancelHandler=e=>{if((0,p.i)(e.detail.role)){const o=this.processedButtons.find(l=>"cancel"===l.role);this.callButtonHandler(o)}},this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.cssClass=void 0,this.header=void 0,this.subHeader=void 0,this.message=void 0,this.buttons=[],this.inputs=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}triggerChanged(){const{trigger:t,el:e,triggerController:r}=this;t&&r.addClickListener(e,t)}onKeydown(t){if(!new Set(this.processedInputs.map(d=>d.type)).has("radio")||t.target&&!this.el.contains(t.target)||t.target.classList.contains("alert-button"))return;const r=this.el.querySelectorAll(".alert-radio"),o=Array.from(r).filter(d=>!d.disabled),l=o.findIndex(d=>d.id===t.target.id);let n;if(["ArrowDown","ArrowRight"].includes(t.key)&&(n=l===o.length-1?o[0]:o[l+1]),["ArrowUp","ArrowLeft"].includes(t.key)&&(n=0===l?o[o.length-1]:o[l-1]),n&&o.includes(n)){const d=this.processedInputs.find(h=>h.id===n?.id);d&&(this.rbClick(d),n.focus())}}buttonsChanged(){this.processedButtons=this.buttons.map(e=>"string"==typeof e?{text:e,role:"cancel"===e.toLowerCase()?"cancel":void 0}:e)}inputsChanged(){const t=this.inputs,e=t.find(n=>!n.disabled),o=t.find(n=>n.checked&&!n.disabled)||e,l=new Set(t.map(n=>n.type));l.has("checkbox")&&l.has("radio")&&console.warn(`Alert cannot mix input types: ${Array.from(l.values()).join("/")}. Please see alert docs for more info.`),this.inputType=l.values().next().value,this.processedInputs=t.map((n,d)=>{var h;return{type:n.type||"text",name:n.name||`${d}`,placeholder:n.placeholder||"",value:n.value,label:n.label,checked:!!n.checked,disabled:!!n.disabled,id:n.id||`alert-input-${this.overlayIndex}-${d}`,handler:n.handler,min:n.min,max:n.max,cssClass:null!==(h=n.cssClass)&&void 0!==h?h:"",attributes:n.attributes||{},tabindex:"radio"===n.type&&n!==o?-1:0}})}connectedCallback(){(0,p.j)(this.el),this.triggerChanged()}componentWillLoad(){(0,p.k)(this.el),this.inputsChanged(),this.buttonsChanged()}disconnectedCallback(){this.triggerController.removeClickListener(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}componentDidLoad(){!this.gesture&&"ios"===(0,s.b)(this)&&this.wrapperEl&&(this.gesture=(0,k.c)(this.wrapperEl,t=>t.classList.contains("alert-button")),this.gesture.enable(!0)),!0===this.isOpen&&(0,v.r)(()=>this.present())}present(){var t=this;return(0,g.Z)(function*(){void 0!==t.currentTransition&&(yield t.currentTransition),yield t.delegateController.attachViewToDom(),t.currentTransition=(0,p.f)(t,"alertEnter",D,I),yield t.currentTransition,t.currentTransition=void 0})()}dismiss(t,e){var r=this;return(0,g.Z)(function*(){r.currentTransition=(0,p.g)(r,t,e,"alertLeave",z,O);const o=yield r.currentTransition;return o&&r.delegateController.removeViewFromDom(),o})()}onDidDismiss(){return(0,p.h)(this.el,"ionAlertDidDismiss")}onWillDismiss(){return(0,p.h)(this.el,"ionAlertWillDismiss")}rbClick(t){for(const e of this.processedInputs)e.checked=e===t,e.tabindex=e===t?0:-1;this.activeId=t.id,(0,p.s)(t.handler,t),(0,i.i)(this)}cbClick(t){t.checked=!t.checked,(0,p.s)(t.handler,t),(0,i.i)(this)}buttonClick(t){var e=this;return(0,g.Z)(function*(){const r=t.role,o=e.getValues();if((0,p.i)(r))return e.dismiss({values:o},r);const l=yield e.callButtonHandler(t,o);return!1!==l&&e.dismiss(Object.assign({values:o},l),t.role)})()}callButtonHandler(t,e){return(0,g.Z)(function*(){if(t?.handler){const r=yield(0,p.s)(t.handler,e);if(!1===r)return!1;if("object"==typeof r)return r}return{}})()}getValues(){if(0===this.processedInputs.length)return;if("radio"===this.inputType){const e=this.processedInputs.find(r=>!!r.checked);return e?e.value:void 0}if("checkbox"===this.inputType)return this.processedInputs.filter(e=>e.checked).map(e=>e.value);const t={};return this.processedInputs.forEach(e=>{t[e.name]=e.value||""}),t}renderAlertInputs(){switch(this.inputType){case"checkbox":return this.renderCheckbox();case"radio":return this.renderRadio();default:return this.renderInput()}}renderCheckbox(){const t=this.processedInputs,e=(0,s.b)(this);return 0===t.length?null:(0,i.h)("div",{class:"alert-checkbox-group"},t.map(r=>(0,i.h)("button",{type:"button",onClick:()=>this.cbClick(r),"aria-checked":`${r.checked}`,id:r.id,disabled:r.disabled,tabIndex:r.tabindex,role:"checkbox",class:Object.assign(Object.assign({},(0,b.g)(r.cssClass)),{"alert-tappable":!0,"alert-checkbox":!0,"alert-checkbox-button":!0,"ion-focusable":!0,"alert-checkbox-button-disabled":r.disabled||!1})},(0,i.h)("div",{class:"alert-button-inner"},(0,i.h)("div",{class:"alert-checkbox-icon"},(0,i.h)("div",{class:"alert-checkbox-inner"})),(0,i.h)("div",{class:"alert-checkbox-label"},r.label)),"md"===e&&(0,i.h)("ion-ripple-effect",null))))}renderRadio(){const t=this.processedInputs;return 0===t.length?null:(0,i.h)("div",{class:"alert-radio-group",role:"radiogroup","aria-activedescendant":this.activeId},t.map(e=>(0,i.h)("button",{type:"button",onClick:()=>this.rbClick(e),"aria-checked":`${e.checked}`,disabled:e.disabled,id:e.id,tabIndex:e.tabindex,class:Object.assign(Object.assign({},(0,b.g)(e.cssClass)),{"alert-radio-button":!0,"alert-tappable":!0,"alert-radio":!0,"ion-focusable":!0,"alert-radio-button-disabled":e.disabled||!1}),role:"radio"},(0,i.h)("div",{class:"alert-button-inner"},(0,i.h)("div",{class:"alert-radio-icon"},(0,i.h)("div",{class:"alert-radio-inner"})),(0,i.h)("div",{class:"alert-radio-label"},e.label)))))}renderInput(){const t=this.processedInputs;return 0===t.length?null:(0,i.h)("div",{class:"alert-input-group"},t.map(e=>{var r,o,l,n;return(0,i.h)("div",{class:"alert-input-wrapper"},"textarea"===e.type?(0,i.h)("textarea",Object.assign({placeholder:e.placeholder,value:e.value,id:e.id,tabIndex:e.tabindex},e.attributes,{disabled:null!==(o=null===(r=e.attributes)||void 0===r?void 0:r.disabled)&&void 0!==o?o:e.disabled,class:C(e),onInput:d=>{var h;e.value=d.target.value,null!==(h=e.attributes)&&void 0!==h&&h.onInput&&e.attributes.onInput(d)}})):(0,i.h)("input",Object.assign({placeholder:e.placeholder,type:e.type,min:e.min,max:e.max,value:e.value,id:e.id,tabIndex:e.tabindex},e.attributes,{disabled:null!==(n=null===(l=e.attributes)||void 0===l?void 0:l.disabled)&&void 0!==n?n:e.disabled,class:C(e),onInput:d=>{var h;e.value=d.target.value,null!==(h=e.attributes)&&void 0!==h&&h.onInput&&e.attributes.onInput(d)}})))}))}renderAlertButtons(){const t=this.processedButtons,e=(0,s.b)(this);return(0,i.h)("div",{class:{"alert-button-group":!0,"alert-button-group-vertical":t.length>2}},t.map(o=>(0,i.h)("button",Object.assign({},o.htmlAttributes,{type:"button",id:o.id,class:j(o),tabIndex:0,onClick:()=>this.buttonClick(o)}),(0,i.h)("span",{class:"alert-button-inner"},o.text),"md"===e&&(0,i.h)("ion-ripple-effect",null))))}renderAlertMessage(t){const{customHTMLEnabled:e,message:r}=this;return e?(0,i.h)("div",{id:t,class:"alert-message",innerHTML:(0,x.a)(r)}):(0,i.h)("div",{id:t,class:"alert-message"},r)}render(){const{overlayIndex:t,header:e,subHeader:r,message:o,htmlAttributes:l}=this,n=(0,s.b)(this),d=`alert-${t}-hdr`,h=`alert-${t}-sub-hdr`,A=`alert-${t}-msg`;return(0,i.h)(i.H,Object.assign({role:this.inputs.length>0||this.buttons.length>0?"alertdialog":"alert","aria-modal":"true","aria-labelledby":e?d:r?h:null,"aria-describedby":void 0!==o?A:null,tabindex:"-1"},l,{style:{zIndex:`${2e4+t}`},class:Object.assign(Object.assign({},(0,b.g)(this.cssClass)),{[n]:!0,"overlay-hidden":!0,"alert-translucent":this.translucent}),onIonAlertWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),(0,i.h)("ion-backdrop",{tappable:this.backdropDismiss}),(0,i.h)("div",{tabindex:"0"}),(0,i.h)("div",{class:"alert-wrapper ion-overlay-wrapper",ref:B=>this.wrapperEl=B},(0,i.h)("div",{class:"alert-head"},e&&(0,i.h)("h2",{id:d,class:"alert-title"},e),r&&(0,i.h)("h2",{id:h,class:"alert-sub-title"},r)),this.renderAlertMessage(A),this.renderAlertInputs(),this.renderAlertButtons()),(0,i.h)("div",{tabindex:"0"}))}get el(){return(0,i.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"],buttons:["buttonsChanged"],inputs:["inputsChanged"]}}},C=t=>{var e,r,o;return Object.assign(Object.assign({"alert-input":!0,"alert-input-disabled":(null!==(r=null===(e=t.attributes)||void 0===e?void 0:e.disabled)&&void 0!==r?r:t.disabled)||!1},(0,b.g)(t.cssClass)),(0,b.g)(t.attributes?null===(o=t.attributes.class)||void 0===o?void 0:o.toString():""))},j=t=>Object.assign({"alert-button":!0,"ion-focusable":!0,"ion-activatable":!0,[`alert-button-role-${t.role}`]:void 0!==t.role},(0,b.g)(t.cssClass));_.style={ios:".sc-ion-alert-ios-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-ios-h{display:none}.alert-top.sc-ion-alert-ios-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-message.sc-ion-alert-ios::-webkit-scrollbar{display:none}.alert-input.sc-ion-alert-ios{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:14px;line-height:20px;z-index:0}.alert-button.ion-focused.sc-ion-alert-ios,.alert-tappable.ion-focused.sc-ion-alert-ios{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit}.alert-input-disabled.sc-ion-alert-ios,.alert-checkbox-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios,.alert-radio-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:content}.alert-button.sc-ion-alert-ios,.alert-checkbox.sc-ion-alert-ios,.alert-input.sc-ion-alert-ios,.alert-radio.sc-ion-alert-ios{outline:none}.alert-radio-icon.sc-ion-alert-ios,.alert-checkbox-icon.sc-ion-alert-ios,.alert-checkbox-inner.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-ios{min-height:37px;resize:none}.sc-ion-alert-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:270px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);font-size:14px}.alert-wrapper.sc-ion-alert-ios{border-radius:13px;-webkit-box-shadow:none;box-shadow:none;overflow:hidden}.alert-button.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{pointer-events:none}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.alert-translucent.sc-ion-alert-ios-h .alert-wrapper.sc-ion-alert-ios{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.alert-head.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:7px;text-align:center}.alert-title.sc-ion-alert-ios{margin-top:8px;color:var(--ion-text-color, #000);font-size:17px;font-weight:600}.alert-sub-title.sc-ion-alert-ios{color:var(--ion-color-step-600, #666666);font-size:14px}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:21px;color:var(--ion-text-color, #000);font-size:13px;text-align:center}.alert-message.sc-ion-alert-ios{max-height:240px}.alert-message.sc-ion-alert-ios:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:12px}.alert-input.sc-ion-alert-ios{border-radius:4px;margin-top:10px;-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:6px;padding-bottom:6px;border:0.55px solid var(--ion-color-step-250, #bfbfbf);background-color:var(--ion-background-color, #fff);-webkit-appearance:none;-moz-appearance:none;appearance:none}.alert-input.sc-ion-alert-ios::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-clear{display:none}.alert-radio-group.sc-ion-alert-ios,.alert-checkbox-group.sc-ion-alert-ios{-ms-scroll-chaining:none;overscroll-behavior:contain;max-height:240px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);overflow-y:auto;-webkit-overflow-scrolling:touch}.alert-tappable.sc-ion-alert-ios{min-height:44px}.alert-radio-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;-ms-flex-order:0;order:0;color:var(--ion-text-color, #000)}[aria-checked=true].sc-ion-alert-ios .alert-radio-label.sc-ion-alert-ios{color:var(--ion-color-primary, #3880ff)}.alert-radio-icon.sc-ion-alert-ios{position:relative;-ms-flex-order:1;order:1;min-width:30px}[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{top:-7px;position:absolute;width:6px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary, #3880ff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{inset-inline-start:7px}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:7px}[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:unset;right:unset;right:7px}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:unset;right:unset;right:7px}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios:dir(rtl){left:unset;right:unset;right:7px}}}.alert-checkbox-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-text-color, #000)}.alert-checkbox-icon.sc-ion-alert-ios{border-radius:50%;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:6px;margin-inline-end:6px;margin-top:10px;margin-bottom:10px;position:relative;width:24px;height:24px;border-width:1px;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));background-color:var(--ion-item-background, var(--ion-background-color, #fff));contain:strict}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-icon.sc-ion-alert-ios{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{top:4px;position:absolute;width:5px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:1px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-background-color, #fff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{inset-inline-start:9px}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:9px}[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:9px}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:9px}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios:dir(rtl){left:unset;right:unset;right:9px}}}.alert-button-group.sc-ion-alert-ios{-webkit-margin-end:-0.55px;margin-inline-end:-0.55px;-ms-flex-wrap:wrap;flex-wrap:wrap}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:0;-ms-flex:1 1 auto;flex:1 1 auto;min-width:50%;height:44px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);background-color:transparent;color:var(--ion-color-primary, #3880ff);font-size:17px;overflow:hidden}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child{border-right:0}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:first-child{border-right:0}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:first-child:dir(rtl){border-right:0}}.alert-button.sc-ion-alert-ios:last-child{border-right:0;font-weight:bold}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:last-child:dir(rtl){border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}}.alert-button.ion-activated.sc-ion-alert-ios{background-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1)}.alert-button-role-destructive.sc-ion-alert-ios,.alert-button-role-destructive.ion-activated.sc-ion-alert-ios,.alert-button-role-destructive.ion-focused.sc-ion-alert-ios{color:var(--ion-color-danger, #eb445a)}",md:".sc-ion-alert-md-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-md-h{display:none}.alert-top.sc-ion-alert-md-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-group.sc-ion-alert-md::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-md::-webkit-scrollbar,.alert-message.sc-ion-alert-md::-webkit-scrollbar{display:none}.alert-input.sc-ion-alert-md{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:14px;line-height:20px;z-index:0}.alert-button.ion-focused.sc-ion-alert-md,.alert-tappable.ion-focused.sc-ion-alert-md{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit}.alert-input-disabled.sc-ion-alert-md,.alert-checkbox-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md,.alert-radio-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:content}.alert-button.sc-ion-alert-md,.alert-checkbox.sc-ion-alert-md,.alert-input.sc-ion-alert-md,.alert-radio.sc-ion-alert-md{outline:none}.alert-radio-icon.sc-ion-alert-md,.alert-checkbox-icon.sc-ion-alert-md,.alert-checkbox-inner.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-md{min-height:37px;resize:none}.sc-ion-alert-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--max-width:280px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);font-size:14px}.alert-wrapper.sc-ion-alert-md{border-radius:4px;-webkit-box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12)}.alert-head.sc-ion-alert-md{-webkit-padding-start:23px;padding-inline-start:23px;-webkit-padding-end:23px;padding-inline-end:23px;padding-top:20px;padding-bottom:15px;text-align:start}.alert-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:20px;font-weight:500}.alert-sub-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:16px}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px;padding-top:20px;padding-bottom:20px;color:var(--ion-color-step-550, #737373)}.alert-message.sc-ion-alert-md{max-height:266px;font-size:16px}.alert-message.sc-ion-alert-md:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-head.sc-ion-alert-md+.alert-message.sc-ion-alert-md{padding-top:0}.alert-input.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);color:var(--ion-text-color, #000)}.alert-input.sc-ion-alert-md::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-clear{display:none}.alert-input.sc-ion-alert-md:focus{margin-bottom:4px;border-bottom:2px solid var(--ion-color-primary, #3880ff)}.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{position:relative;max-height:266px;border-top:1px solid var(--ion-color-step-150, #d9d9d9);border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);overflow:auto}.alert-tappable.sc-ion-alert-md{position:relative;min-height:48px}.alert-radio-label.sc-ion-alert-md{-webkit-padding-start:52px;padding-inline-start:52px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, #262626);font-size:16px}.alert-radio-icon.sc-ion-alert-md{top:0;border-radius:50%;display:block;position:relative;width:20px;height:20px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373)}@supports (inset-inline-start: 0){.alert-radio-icon.sc-ion-alert-md{inset-inline-start:26px}}@supports not (inset-inline-start: 0){.alert-radio-icon.sc-ion-alert-md{left:26px}[dir=rtl].sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}[dir=rtl].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}@supports selector(:dir(rtl)){.alert-radio-icon.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:26px}}}.alert-radio-inner.sc-ion-alert-md{top:3px;border-radius:50%;position:absolute;width:10px;height:10px;-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--ion-color-primary, #3880ff)}@supports (inset-inline-start: 0){.alert-radio-inner.sc-ion-alert-md{inset-inline-start:3px}}@supports not (inset-inline-start: 0){.alert-radio-inner.sc-ion-alert-md{left:3px}[dir=rtl].sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}[dir=rtl].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){.alert-radio-inner.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:3px}}}[aria-checked=true].sc-ion-alert-md .alert-radio-label.sc-ion-alert-md{color:var(--ion-color-step-850, #262626)}[aria-checked=true].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}.alert-checkbox-label.sc-ion-alert-md{-webkit-padding-start:53px;padding-inline-start:53px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, #262626);font-size:16px}.alert-checkbox-icon.sc-ion-alert-md{top:0;border-radius:2px;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373);contain:strict}@supports (inset-inline-start: 0){.alert-checkbox-icon.sc-ion-alert-md{inset-inline-start:26px}}@supports not (inset-inline-start: 0){.alert-checkbox-icon.sc-ion-alert-md{left:26px}[dir=rtl].sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}[dir=rtl].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}@supports selector(:dir(rtl)){.alert-checkbox-icon.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:26px}}}[aria-checked=true].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{top:0;position:absolute;width:6px;height:10px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary-contrast, #fff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{inset-inline-start:3px}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:3px}[dir=rtl].sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}[dir=rtl].sc-ion-alert-md [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:3px}}}.alert-button-group.sc-ion-alert-md{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-ms-flex-pack:end;justify-content:flex-end}.alert-button.sc-ion-alert-md{border-radius:2px;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:0;margin-bottom:0;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;color:var(--ion-color-primary, #3880ff);font-weight:500;text-align:end;text-transform:uppercase;overflow:hidden}.alert-button-inner.sc-ion-alert-md{-ms-flex-pack:end;justify-content:flex-end}"}},2997:(E,m,c)=>{c.d(m,{c:()=>x,g:()=>v,h:()=>i,o:()=>b});var g=c(5861);const i=(s,a)=>null!==a.closest(s),x=(s,a)=>"string"==typeof s&&s.length>0?Object.assign({"ion-color":!0,[`ion-color-${s}`]:!0},a):a,v=s=>{const a={};return(s=>void 0!==s?(Array.isArray(s)?s:s.split(" ")).filter(u=>null!=u).map(u=>u.trim()).filter(u=>""!==u):[])(s).forEach(u=>a[u]=!0),a},p=/^[a-z][a-z0-9+\-.]*:/,b=function(){var s=(0,g.Z)(function*(a,u,w,y){if(null!=a&&"#"!==a[0]&&!p.test(a)){const f=document.querySelector("ion-router");if(f)return u?.preventDefault(),f.push(a,w,y)}return!1});return function(u,w,y,f){return s.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/1118.f511ce13434f134e.js b/1118.f511ce13434f134e.js new file mode 100644 index 00000000..1db291c0 --- /dev/null +++ b/1118.f511ce13434f134e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1118],{1118:(A,b,d)=>{d.r(b),d.d(b,{ion_alert:()=>_});var u=d(5861),i=d(408),g=d(7036),f=d(8431),k=d(2961),v=d(7389),h=d(8042),l=d(3814),c=d(4649),a=d(2876);d(1765),d(6319),d(2972),d(5067),d(2889);const D=t=>{const e=(0,a.c)(),r=(0,a.c)(),o=(0,a.c)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:"0.01",transform:"scale(1.1)"},{offset:1,opacity:"1",transform:"scale(1)"}]),e.addElement(t).easing("ease-in-out").duration(200).addAnimation([r,o])},z=t=>{const e=(0,a.c)(),r=(0,a.c)(),o=(0,a.c)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),o.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),e.addElement(t).easing("ease-in-out").duration(200).addAnimation([r,o])},O=t=>{const e=(0,a.c)(),r=(0,a.c)(),o=(0,a.c)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:"0.01",transform:"scale(0.9)"},{offset:1,opacity:"1",transform:"scale(1)"}]),e.addElement(t).easing("ease-in-out").duration(150).addAnimation([r,o])},I=t=>{const e=(0,a.c)(),r=(0,a.c)(),o=(0,a.c)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),o.addElement(t.querySelector(".alert-wrapper")).fromTo("opacity",.99,0),e.addElement(t).easing("ease-in-out").duration(150).addAnimation([r,o])},_=class{constructor(t){(0,i.r)(this,t),this.didPresent=(0,i.d)(this,"ionAlertDidPresent",7),this.willPresent=(0,i.d)(this,"ionAlertWillPresent",7),this.willDismiss=(0,i.d)(this,"ionAlertWillDismiss",7),this.didDismiss=(0,i.d)(this,"ionAlertDidDismiss",7),this.didPresentShorthand=(0,i.d)(this,"didPresent",7),this.willPresentShorthand=(0,i.d)(this,"willPresent",7),this.willDismissShorthand=(0,i.d)(this,"willDismiss",7),this.didDismissShorthand=(0,i.d)(this,"didDismiss",7),this.delegateController=(0,h.d)(this),this.lockController=(0,v.c)(),this.triggerController=(0,h.e)(),this.customHTMLEnabled=c.c.get("innerHTMLTemplatesEnabled",g.E),this.processedInputs=[],this.processedButtons=[],this.presented=!1,this.onBackdropTap=()=>{this.dismiss(void 0,h.B)},this.dispatchCancelHandler=e=>{if((0,h.i)(e.detail.role)){const o=this.processedButtons.find(s=>"cancel"===s.role);this.callButtonHandler(o)}},this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.cssClass=void 0,this.header=void 0,this.subHeader=void 0,this.message=void 0,this.buttons=[],this.inputs=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}triggerChanged(){const{trigger:t,el:e,triggerController:r}=this;t&&r.addClickListener(e,t)}onKeydown(t){const e=new Set(this.processedInputs.map(p=>p.type));if(e.has("checkbox")&&"Enter"===t.key)return void t.preventDefault();if(!e.has("radio")||t.target&&!this.el.contains(t.target)||t.target.classList.contains("alert-button"))return;const r=this.el.querySelectorAll(".alert-radio"),o=Array.from(r).filter(p=>!p.disabled),s=o.findIndex(p=>p.id===t.target.id);let n;if(["ArrowDown","ArrowRight"].includes(t.key)&&(n=s===o.length-1?o[0]:o[s+1]),["ArrowUp","ArrowLeft"].includes(t.key)&&(n=0===s?o[o.length-1]:o[s-1]),n&&o.includes(n)){const p=this.processedInputs.find(m=>m.id===n?.id);p&&(this.rbClick(p),n.focus())}}buttonsChanged(){this.processedButtons=this.buttons.map(e=>"string"==typeof e?{text:e,role:"cancel"===e.toLowerCase()?"cancel":void 0}:e)}inputsChanged(){const t=this.inputs,e=t.find(n=>!n.disabled),o=t.find(n=>n.checked&&!n.disabled)||e,s=new Set(t.map(n=>n.type));s.has("checkbox")&&s.has("radio")&&console.warn(`Alert cannot mix input types: ${Array.from(s.values()).join("/")}. Please see alert docs for more info.`),this.inputType=s.values().next().value,this.processedInputs=t.map((n,p)=>{var m;return{type:n.type||"text",name:n.name||`${p}`,placeholder:n.placeholder||"",value:n.value,label:n.label,checked:!!n.checked,disabled:!!n.disabled,id:n.id||`alert-input-${this.overlayIndex}-${p}`,handler:n.handler,min:n.min,max:n.max,cssClass:null!==(m=n.cssClass)&&void 0!==m?m:"",attributes:n.attributes||{},tabindex:"radio"===n.type&&n!==o?-1:0}})}connectedCallback(){(0,h.j)(this.el),this.triggerChanged()}componentWillLoad(){(0,h.k)(this.el),this.inputsChanged(),this.buttonsChanged()}disconnectedCallback(){this.triggerController.removeClickListener(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}componentDidLoad(){!this.gesture&&"ios"===(0,c.b)(this)&&this.wrapperEl&&(this.gesture=(0,f.c)(this.wrapperEl,t=>t.classList.contains("alert-button")),this.gesture.enable(!0)),!0===this.isOpen&&(0,k.r)(()=>this.present()),this.triggerChanged()}present(){var t=this;return(0,u.Z)(function*(){const e=yield t.lockController.lock();yield t.delegateController.attachViewToDom(),yield(0,h.f)(t,"alertEnter",D,O),e()})()}dismiss(t,e){var r=this;return(0,u.Z)(function*(){const o=yield r.lockController.lock(),s=yield(0,h.g)(r,t,e,"alertLeave",z,I);return s&&r.delegateController.removeViewFromDom(),o(),s})()}onDidDismiss(){return(0,h.h)(this.el,"ionAlertDidDismiss")}onWillDismiss(){return(0,h.h)(this.el,"ionAlertWillDismiss")}rbClick(t){for(const e of this.processedInputs)e.checked=e===t,e.tabindex=e===t?0:-1;this.activeId=t.id,(0,h.s)(t.handler,t),(0,i.i)(this)}cbClick(t){t.checked=!t.checked,(0,h.s)(t.handler,t),(0,i.i)(this)}buttonClick(t){var e=this;return(0,u.Z)(function*(){const r=t.role,o=e.getValues();if((0,h.i)(r))return e.dismiss({values:o},r);const s=yield e.callButtonHandler(t,o);return!1!==s&&e.dismiss(Object.assign({values:o},s),t.role)})()}callButtonHandler(t,e){return(0,u.Z)(function*(){if(t?.handler){const r=yield(0,h.s)(t.handler,e);if(!1===r)return!1;if("object"==typeof r)return r}return{}})()}getValues(){if(0===this.processedInputs.length)return;if("radio"===this.inputType){const e=this.processedInputs.find(r=>!!r.checked);return e?e.value:void 0}if("checkbox"===this.inputType)return this.processedInputs.filter(e=>e.checked).map(e=>e.value);const t={};return this.processedInputs.forEach(e=>{t[e.name]=e.value||""}),t}renderAlertInputs(){switch(this.inputType){case"checkbox":return this.renderCheckbox();case"radio":return this.renderRadio();default:return this.renderInput()}}renderCheckbox(){const t=this.processedInputs,e=(0,c.b)(this);return 0===t.length?null:(0,i.h)("div",{class:"alert-checkbox-group"},t.map(r=>(0,i.h)("button",{type:"button",onClick:()=>this.cbClick(r),"aria-checked":`${r.checked}`,id:r.id,disabled:r.disabled,tabIndex:r.tabindex,role:"checkbox",class:Object.assign(Object.assign({},(0,l.g)(r.cssClass)),{"alert-tappable":!0,"alert-checkbox":!0,"alert-checkbox-button":!0,"ion-focusable":!0,"alert-checkbox-button-disabled":r.disabled||!1})},(0,i.h)("div",{class:"alert-button-inner"},(0,i.h)("div",{class:"alert-checkbox-icon"},(0,i.h)("div",{class:"alert-checkbox-inner"})),(0,i.h)("div",{class:"alert-checkbox-label"},r.label)),"md"===e&&(0,i.h)("ion-ripple-effect",null))))}renderRadio(){const t=this.processedInputs;return 0===t.length?null:(0,i.h)("div",{class:"alert-radio-group",role:"radiogroup","aria-activedescendant":this.activeId},t.map(e=>(0,i.h)("button",{type:"button",onClick:()=>this.rbClick(e),"aria-checked":`${e.checked}`,disabled:e.disabled,id:e.id,tabIndex:e.tabindex,class:Object.assign(Object.assign({},(0,l.g)(e.cssClass)),{"alert-radio-button":!0,"alert-tappable":!0,"alert-radio":!0,"ion-focusable":!0,"alert-radio-button-disabled":e.disabled||!1}),role:"radio"},(0,i.h)("div",{class:"alert-button-inner"},(0,i.h)("div",{class:"alert-radio-icon"},(0,i.h)("div",{class:"alert-radio-inner"})),(0,i.h)("div",{class:"alert-radio-label"},e.label)))))}renderInput(){const t=this.processedInputs;return 0===t.length?null:(0,i.h)("div",{class:"alert-input-group"},t.map(e=>{var r,o,s,n;return(0,i.h)("div",{class:"alert-input-wrapper"},"textarea"===e.type?(0,i.h)("textarea",Object.assign({placeholder:e.placeholder,value:e.value,id:e.id,tabIndex:e.tabindex},e.attributes,{disabled:null!==(o=null===(r=e.attributes)||void 0===r?void 0:r.disabled)&&void 0!==o?o:e.disabled,class:C(e),onInput:p=>{var m;e.value=p.target.value,null!==(m=e.attributes)&&void 0!==m&&m.onInput&&e.attributes.onInput(p)}})):(0,i.h)("input",Object.assign({placeholder:e.placeholder,type:e.type,min:e.min,max:e.max,value:e.value,id:e.id,tabIndex:e.tabindex},e.attributes,{disabled:null!==(n=null===(s=e.attributes)||void 0===s?void 0:s.disabled)&&void 0!==n?n:e.disabled,class:C(e),onInput:p=>{var m;e.value=p.target.value,null!==(m=e.attributes)&&void 0!==m&&m.onInput&&e.attributes.onInput(p)}})))}))}renderAlertButtons(){const t=this.processedButtons,e=(0,c.b)(this);return(0,i.h)("div",{class:{"alert-button-group":!0,"alert-button-group-vertical":t.length>2}},t.map(o=>(0,i.h)("button",Object.assign({},o.htmlAttributes,{type:"button",id:o.id,class:M(o),tabIndex:0,onClick:()=>this.buttonClick(o)}),(0,i.h)("span",{class:"alert-button-inner"},o.text),"md"===e&&(0,i.h)("ion-ripple-effect",null))))}renderAlertMessage(t){const{customHTMLEnabled:e,message:r}=this;return e?(0,i.h)("div",{id:t,class:"alert-message",innerHTML:(0,g.a)(r)}):(0,i.h)("div",{id:t,class:"alert-message"},r)}render(){const{overlayIndex:t,header:e,subHeader:r,message:o,htmlAttributes:s}=this,n=(0,c.b)(this),p=`alert-${t}-hdr`,m=`alert-${t}-sub-hdr`,E=`alert-${t}-msg`;return(0,i.h)(i.H,Object.assign({role:this.inputs.length>0||this.buttons.length>0?"alertdialog":"alert","aria-modal":"true","aria-labelledby":e?p:r?m:null,"aria-describedby":void 0!==o?E:null,tabindex:"-1"},s,{style:{zIndex:`${2e4+t}`},class:Object.assign(Object.assign({},(0,l.g)(this.cssClass)),{[n]:!0,"overlay-hidden":!0,"alert-translucent":this.translucent}),onIonAlertWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),(0,i.h)("ion-backdrop",{tappable:this.backdropDismiss}),(0,i.h)("div",{tabindex:"0"}),(0,i.h)("div",{class:"alert-wrapper ion-overlay-wrapper",ref:B=>this.wrapperEl=B},(0,i.h)("div",{class:"alert-head"},e&&(0,i.h)("h2",{id:p,class:"alert-title"},e),r&&(0,i.h)("h2",{id:m,class:"alert-sub-title"},r)),this.renderAlertMessage(E),this.renderAlertInputs(),this.renderAlertButtons()),(0,i.h)("div",{tabindex:"0"}))}get el(){return(0,i.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"],buttons:["buttonsChanged"],inputs:["inputsChanged"]}}},C=t=>{var e,r,o;return Object.assign(Object.assign({"alert-input":!0,"alert-input-disabled":(null!==(r=null===(e=t.attributes)||void 0===e?void 0:e.disabled)&&void 0!==r?r:t.disabled)||!1},(0,l.g)(t.cssClass)),(0,l.g)(t.attributes?null===(o=t.attributes.class)||void 0===o?void 0:o.toString():""))},M=t=>Object.assign({"alert-button":!0,"ion-focusable":!0,"ion-activatable":!0,[`alert-button-role-${t.role}`]:void 0!==t.role},(0,l.g)(t.cssClass));_.style={ios:".sc-ion-alert-ios-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-ios-h{display:none}.alert-top.sc-ion-alert-ios-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-label.sc-ion-alert-ios,.alert-radio-label.sc-ion-alert-ios{overflow-wrap:anywhere}@media (any-pointer: coarse){.alert-checkbox-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-message.sc-ion-alert-ios::-webkit-scrollbar{display:none}}.alert-input.sc-ion-alert-ios{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:0.875rem;line-height:1.25rem;z-index:0}.alert-button.ion-focused.sc-ion-alert-ios,.alert-tappable.ion-focused.sc-ion-alert-ios{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit}.alert-input-disabled.sc-ion-alert-ios,.alert-checkbox-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios,.alert-radio-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:content}.alert-button.sc-ion-alert-ios,.alert-checkbox.sc-ion-alert-ios,.alert-input.sc-ion-alert-ios,.alert-radio.sc-ion-alert-ios{outline:none}.alert-radio-icon.sc-ion-alert-ios,.alert-checkbox-icon.sc-ion-alert-ios,.alert-checkbox-inner.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-ios{min-height:37px;resize:none}.sc-ion-alert-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:clamp(270px, 16.875rem, 324px);--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);font-size:max(14px, 0.875rem)}.alert-wrapper.sc-ion-alert-ios{border-radius:13px;-webkit-box-shadow:none;box-shadow:none;overflow:hidden}.alert-button.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{pointer-events:none}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.alert-translucent.sc-ion-alert-ios-h .alert-wrapper.sc-ion-alert-ios{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.alert-head.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:7px;text-align:center}.alert-title.sc-ion-alert-ios{margin-top:8px;color:var(--ion-text-color, #000);font-size:max(17px, 1.0625rem);font-weight:600}.alert-sub-title.sc-ion-alert-ios{color:var(--ion-color-step-600, #666666);font-size:max(14px, 0.875rem)}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:21px;color:var(--ion-text-color, #000);font-size:max(13px, 0.8125rem);text-align:center}.alert-message.sc-ion-alert-ios{max-height:240px}.alert-message.sc-ion-alert-ios:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:12px}.alert-input.sc-ion-alert-ios{border-radius:4px;margin-top:10px;-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:6px;padding-bottom:6px;border:0.55px solid var(--ion-color-step-250, #bfbfbf);background-color:var(--ion-background-color, #fff);-webkit-appearance:none;-moz-appearance:none;appearance:none}.alert-input.sc-ion-alert-ios::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-clear{display:none}.alert-input.sc-ion-alert-ios::-webkit-date-and-time-value{height:18px}.alert-radio-group.sc-ion-alert-ios,.alert-checkbox-group.sc-ion-alert-ios{-ms-scroll-chaining:none;overscroll-behavior:contain;max-height:240px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);overflow-y:auto;-webkit-overflow-scrolling:touch}.alert-tappable.sc-ion-alert-ios{min-height:44px}.alert-radio-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;-ms-flex-order:0;order:0;color:var(--ion-text-color, #000)}[aria-checked=true].sc-ion-alert-ios .alert-radio-label.sc-ion-alert-ios{color:var(--ion-color-primary, #3880ff)}.alert-radio-icon.sc-ion-alert-ios{position:relative;-ms-flex-order:1;order:1;min-width:30px}[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{top:-7px;position:absolute;width:6px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary, #3880ff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{inset-inline-start:7px}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:7px}[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:unset;right:unset;right:7px}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:unset;right:unset;right:7px}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios:dir(rtl){left:unset;right:unset;right:7px}}}.alert-checkbox-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-text-color, #000)}.alert-checkbox-icon.sc-ion-alert-ios{border-radius:50%;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:6px;margin-inline-end:6px;margin-top:10px;margin-bottom:10px;position:relative;width:min(1.5rem, 66px);height:min(1.5rem, 66px);border-width:0.0625rem;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));background-color:var(--ion-item-background, var(--ion-background-color, #fff));contain:strict}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-icon.sc-ion-alert-ios{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{top:calc(min(1.5rem, 66px) / 6);position:absolute;width:calc(min(1.5rem, 66px) / 6 + 1px);height:calc(min(1.5rem, 66px) * 0.5);-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:0.0625rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-background-color, #fff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{inset-inline-start:calc(min(1.5rem, 66px) / 3 + 1px)}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:calc(min(1.5rem, 66px) / 3 + 1px)}[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:calc(min(1.5rem, 66px) / 3 + 1px)}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:calc(min(1.5rem, 66px) / 3 + 1px)}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios:dir(rtl){left:unset;right:unset;right:calc(min(1.5rem, 66px) / 3 + 1px)}}}.alert-button-group.sc-ion-alert-ios{-webkit-margin-end:-0.55px;margin-inline-end:-0.55px;-ms-flex-wrap:wrap;flex-wrap:wrap}.alert-button.sc-ion-alert-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:0;-ms-flex:1 1 auto;flex:1 1 auto;min-width:50%;height:max(44px, 2.75rem);border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);background-color:transparent;color:var(--ion-color-primary, #3880ff);font-size:max(17px, 1.0625rem);overflow:hidden}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child{border-right:0}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:first-child{border-right:0}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:first-child:dir(rtl){border-right:0}}.alert-button.sc-ion-alert-ios:last-child{border-right:0;font-weight:bold}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:last-child:dir(rtl){border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}}.alert-button.ion-activated.sc-ion-alert-ios{background-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1)}.alert-button-role-destructive.sc-ion-alert-ios,.alert-button-role-destructive.ion-activated.sc-ion-alert-ios,.alert-button-role-destructive.ion-focused.sc-ion-alert-ios{color:var(--ion-color-danger, #eb445a)}",md:".sc-ion-alert-md-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-md-h{display:none}.alert-top.sc-ion-alert-md-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-label.sc-ion-alert-md,.alert-radio-label.sc-ion-alert-md{overflow-wrap:anywhere}@media (any-pointer: coarse){.alert-checkbox-group.sc-ion-alert-md::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-md::-webkit-scrollbar,.alert-message.sc-ion-alert-md::-webkit-scrollbar{display:none}}.alert-input.sc-ion-alert-md{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:0.875rem;line-height:1.25rem;z-index:0}.alert-button.ion-focused.sc-ion-alert-md,.alert-tappable.ion-focused.sc-ion-alert-md{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit}.alert-input-disabled.sc-ion-alert-md,.alert-checkbox-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md,.alert-radio-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:content}.alert-button.sc-ion-alert-md,.alert-checkbox.sc-ion-alert-md,.alert-input.sc-ion-alert-md,.alert-radio.sc-ion-alert-md{outline:none}.alert-radio-icon.sc-ion-alert-md,.alert-checkbox-icon.sc-ion-alert-md,.alert-checkbox-inner.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-md{min-height:37px;resize:none}.sc-ion-alert-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--max-width:280px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);font-size:0.875rem}.alert-wrapper.sc-ion-alert-md{border-radius:4px;-webkit-box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12)}.alert-head.sc-ion-alert-md{-webkit-padding-start:23px;padding-inline-start:23px;-webkit-padding-end:23px;padding-inline-end:23px;padding-top:20px;padding-bottom:15px;text-align:start}.alert-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:1.25rem;font-weight:500}.alert-sub-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:1rem}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px;padding-top:20px;padding-bottom:20px;color:var(--ion-color-step-550, #737373)}.alert-message.sc-ion-alert-md{font-size:1rem}@media screen and (max-width: 767px){.alert-message.sc-ion-alert-md{max-height:266px}}.alert-message.sc-ion-alert-md:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-head.sc-ion-alert-md+.alert-message.sc-ion-alert-md{padding-top:0}.alert-input.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);color:var(--ion-text-color, #000)}.alert-input.sc-ion-alert-md::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-clear{display:none}.alert-input.sc-ion-alert-md:focus{margin-bottom:4px;border-bottom:2px solid var(--ion-color-primary, #3880ff)}.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{position:relative;border-top:1px solid var(--ion-color-step-150, #d9d9d9);border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);overflow:auto}@media screen and (max-width: 767px){.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{max-height:266px}}.alert-tappable.sc-ion-alert-md{position:relative;min-height:48px}.alert-radio-label.sc-ion-alert-md{-webkit-padding-start:52px;padding-inline-start:52px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, #262626);font-size:1rem}.alert-radio-icon.sc-ion-alert-md{top:0;border-radius:50%;display:block;position:relative;width:20px;height:20px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373)}@supports (inset-inline-start: 0){.alert-radio-icon.sc-ion-alert-md{inset-inline-start:26px}}@supports not (inset-inline-start: 0){.alert-radio-icon.sc-ion-alert-md{left:26px}[dir=rtl].sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}[dir=rtl].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}@supports selector(:dir(rtl)){.alert-radio-icon.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:26px}}}.alert-radio-inner.sc-ion-alert-md{top:3px;border-radius:50%;position:absolute;width:10px;height:10px;-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--ion-color-primary, #3880ff)}@supports (inset-inline-start: 0){.alert-radio-inner.sc-ion-alert-md{inset-inline-start:3px}}@supports not (inset-inline-start: 0){.alert-radio-inner.sc-ion-alert-md{left:3px}[dir=rtl].sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}[dir=rtl].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){.alert-radio-inner.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:3px}}}[aria-checked=true].sc-ion-alert-md .alert-radio-label.sc-ion-alert-md{color:var(--ion-color-step-850, #262626)}[aria-checked=true].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}.alert-checkbox-label.sc-ion-alert-md{-webkit-padding-start:53px;padding-inline-start:53px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;width:calc(100% - 53px);color:var(--ion-color-step-850, #262626);font-size:1rem}.alert-checkbox-icon.sc-ion-alert-md{top:0;border-radius:2px;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373);contain:strict}@supports (inset-inline-start: 0){.alert-checkbox-icon.sc-ion-alert-md{inset-inline-start:26px}}@supports not (inset-inline-start: 0){.alert-checkbox-icon.sc-ion-alert-md{left:26px}[dir=rtl].sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}[dir=rtl].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}@supports selector(:dir(rtl)){.alert-checkbox-icon.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:26px}}}[aria-checked=true].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{top:0;position:absolute;width:6px;height:10px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary-contrast, #fff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{inset-inline-start:3px}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:3px}[dir=rtl].sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}[dir=rtl].sc-ion-alert-md [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:3px}}}.alert-button-group.sc-ion-alert-md{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-ms-flex-pack:end;justify-content:flex-end}.alert-button.sc-ion-alert-md{border-radius:2px;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:0;margin-bottom:0;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;color:var(--ion-color-primary, #3880ff);font-weight:500;text-align:end;text-transform:uppercase;overflow:hidden}.alert-button-inner.sc-ion-alert-md{-ms-flex-pack:end;justify-content:flex-end}@media screen and (min-width: 768px){.sc-ion-alert-md-h{--max-width:min(100vw - 96px, 560px);--max-height:min(100vh - 96px, 560px)}}"}},3814:(A,b,d)=>{d.d(b,{c:()=>g,g:()=>k,h:()=>i,o:()=>h});var u=d(5861);const i=(l,c)=>null!==c.closest(l),g=(l,c)=>"string"==typeof l&&l.length>0?Object.assign({"ion-color":!0,[`ion-color-${l}`]:!0},c):c,k=l=>{const c={};return(l=>void 0!==l?(Array.isArray(l)?l:l.split(" ")).filter(a=>null!=a).map(a=>a.trim()).filter(a=>""!==a):[])(l).forEach(a=>c[a]=!0),c},v=/^[a-z][a-z0-9+\-.]*:/,h=function(){var l=(0,u.Z)(function*(c,a,w,y){if(null!=c&&"#"!==c[0]&&!v.test(c)){const x=document.querySelector("ion-router");if(x)return a?.preventDefault(),x.push(c,w,y)}return!1});return function(a,w,y,x){return l.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/5283.f27861d77c80f8c8.js b/1166.59a52bf2636acbce.js similarity index 56% rename from 5283.f27861d77c80f8c8.js rename to 1166.59a52bf2636acbce.js index 9c627f88..eb02a466 100644 --- a/5283.f27861d77c80f8c8.js +++ b/1166.59a52bf2636acbce.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5283],{5283:(y,h,p)=>{p.r(h),p.d(h,{startTapClick:()=>b});var i=p(7693),u=p(2674);const b=s=>{if(void 0===i.d)return;let e,E,c,o=10*-v,r=0;const O=s.getBoolean("animated",!0)&&s.getBoolean("rippleEffect",!0),l=new WeakMap,L=t=>{o=(0,u.u)(t),R(t)},A=()=>{c&&clearTimeout(c),c=void 0,e&&(I(!1),e=void 0)},D=t=>{e||w(g(t),t)},R=t=>{w(void 0,t)},w=(t,n)=>{if(t&&t===e)return;c&&clearTimeout(c),c=void 0;const{x:d,y:a}=(0,u.v)(n);if(e){if(l.has(e))throw new Error("internal error");e.classList.contains(f)||C(e,d,a),I(!0)}if(t){const M=l.get(t);M&&(clearTimeout(M),l.delete(t)),t.classList.remove(f);const S=()=>{C(t,d,a),c=void 0};T(t)?S():c=setTimeout(S,k)}e=t},C=(t,n,d)=>{if(r=Date.now(),t.classList.add(f),!O)return;const a=P(t);null!==a&&(_(),E=a.addRipple(n,d))},_=()=>{void 0!==E&&(E.then(t=>t()),E=void 0)},I=t=>{_();const n=e;if(!n)return;const d=m-Date.now()+r;if(t&&d>0&&!T(n)){const a=setTimeout(()=>{n.classList.remove(f),l.delete(n)},m);l.set(n,a)}else n.classList.remove(f)};i.d.addEventListener("ionGestureCaptured",A),i.d.addEventListener("touchstart",t=>{o=(0,u.u)(t),D(t)},!0),i.d.addEventListener("touchcancel",L,!0),i.d.addEventListener("touchend",L,!0),i.d.addEventListener("pointercancel",A,!0),i.d.addEventListener("mousedown",t=>{if(2===t.button)return;const n=(0,u.u)(t)-v;o{const n=(0,u.u)(t)-v;o{if(void 0===s.composedPath)return s.target.closest(".ion-activatable");{const o=s.composedPath();for(let r=0;rs.classList.contains("ion-activatable-instant"),P=s=>{if(s.shadowRoot){const o=s.shadowRoot.querySelector("ion-ripple-effect");if(o)return o}return s.querySelector("ion-ripple-effect")},f="ion-activated",k=100,m=150,v=2500}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1166],{1166:(y,h,p)=>{p.r(h),p.d(h,{startTapClick:()=>g});var i=p(2972),u=p(2961);const g=s=>{if(void 0===i.d)return;let e,E,a,o=10*-v,r=0;const O=s.getBoolean("animated",!0)&&s.getBoolean("rippleEffect",!0),l=new WeakMap,L=t=>{o=(0,u.u)(t),R(t)},A=()=>{a&&clearTimeout(a),a=void 0,e&&(I(!1),e=void 0)},D=t=>{e||w(b(t),t)},R=t=>{w(void 0,t)},w=(t,n)=>{if(t&&t===e)return;a&&clearTimeout(a),a=void 0;const{x:d,y:c}=(0,u.v)(n);if(e){if(l.has(e))throw new Error("internal error");e.classList.contains(f)||C(e,d,c),I(!0)}if(t){const M=l.get(t);M&&(clearTimeout(M),l.delete(t)),t.classList.remove(f);const S=()=>{C(t,d,c),a=void 0};T(t)?S():a=setTimeout(S,k)}e=t},C=(t,n,d)=>{if(r=Date.now(),t.classList.add(f),!O)return;const c=P(t);null!==c&&(_(),E=c.addRipple(n,d))},_=()=>{void 0!==E&&(E.then(t=>t()),E=void 0)},I=t=>{_();const n=e;if(!n)return;const d=m-Date.now()+r;if(t&&d>0&&!T(n)){const c=setTimeout(()=>{n.classList.remove(f),l.delete(n)},m);l.set(n,c)}else n.classList.remove(f)};i.d.addEventListener("ionGestureCaptured",A),i.d.addEventListener("touchstart",t=>{o=(0,u.u)(t),D(t)},!0),i.d.addEventListener("touchcancel",L,!0),i.d.addEventListener("touchend",L,!0),i.d.addEventListener("pointercancel",A,!0),i.d.addEventListener("mousedown",t=>{if(2===t.button)return;const n=(0,u.u)(t)-v;o{const n=(0,u.u)(t)-v;o{if(void 0===s.composedPath)return s.target.closest(".ion-activatable");{const o=s.composedPath();for(let r=0;rs.classList.contains("ion-activatable-instant"),P=s=>{if(s.shadowRoot){const o=s.shadowRoot.querySelector("ion-ripple-effect");if(o)return o}return s.querySelector("ion-ripple-effect")},f="ion-activated",k=100,m=150,v=2500}}]); \ No newline at end of file diff --git a/1217.026a47d221a63f13.js b/1217.026a47d221a63f13.js new file mode 100644 index 00000000..39c7ad7c --- /dev/null +++ b/1217.026a47d221a63f13.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1217],{1217:(z,c,a)=>{a.r(c),a.d(c,{ion_input:()=>C});var h=a(5861),n=a(408),v=a(8134),x=a(2448),p=a(2961),m=a(8909),b=a(4063),o=a(3814),r=a(5723),l=a(4649);a(2972);const C=class{constructor(i){(0,n.r)(this,i),this.ionInput=(0,n.d)(this,"ionInput",7),this.ionChange=(0,n.d)(this,"ionChange",7),this.ionBlur=(0,n.d)(this,"ionBlur",7),this.ionFocus=(0,n.d)(this,"ionFocus",7),this.ionStyle=(0,n.d)(this,"ionStyle",7),this.inputId="ion-input-"+O++,this.inheritedAttributes={},this.isComposing=!1,this.hasLoggedDeprecationWarning=!1,this.didInputClearOnEdit=!1,this.onInput=t=>{const e=t.target;e&&(this.value=e.value||""),this.emitInputChange(t)},this.onChange=t=>{this.emitValueChange(t)},this.onBlur=t=>{this.hasFocus=!1,this.emitStyle(),this.focusedValue!==this.value&&this.emitValueChange(t),this.didInputClearOnEdit=!1,this.ionBlur.emit(t)},this.onFocus=t=>{this.hasFocus=!0,this.focusedValue=this.value,this.emitStyle(),this.ionFocus.emit(t)},this.onKeydown=t=>{this.checkClearOnEdit(t)},this.onCompositionStart=()=>{this.isComposing=!0},this.onCompositionEnd=()=>{this.isComposing=!1},this.clearTextInput=t=>{this.clearInput&&!this.readonly&&!this.disabled&&t&&(t.preventDefault(),t.stopPropagation(),this.setFocus()),this.value="",this.emitInputChange(t)},this.hasFocus=!1,this.color=void 0,this.accept=void 0,this.autocapitalize="off",this.autocomplete="off",this.autocorrect="off",this.autofocus=!1,this.clearInput=!1,this.clearOnEdit=void 0,this.counter=!1,this.counterFormatter=void 0,this.debounce=void 0,this.disabled=!1,this.enterkeyhint=void 0,this.errorText=void 0,this.fill=void 0,this.inputmode=void 0,this.helperText=void 0,this.label=void 0,this.labelPlacement="start",this.legacy=void 0,this.max=void 0,this.maxlength=void 0,this.min=void 0,this.minlength=void 0,this.multiple=void 0,this.name=this.inputId,this.pattern=void 0,this.placeholder=void 0,this.readonly=!1,this.required=!1,this.shape=void 0,this.spellcheck=!1,this.step=void 0,this.size=void 0,this.type="text",this.value=""}debounceChanged(){const{ionInput:i,debounce:t,originalIonInput:e}=this;this.ionInput=void 0===t?e??i:(0,p.j)(i,t)}disabledChanged(){this.emitStyle()}placeholderChanged(){this.emitStyle()}valueChanged(){const i=this.nativeInput,t=this.getValue();i&&i.value!==t&&!this.isComposing&&(i.value=t),this.emitStyle()}componentWillLoad(){this.inheritedAttributes=Object.assign(Object.assign({},(0,p.i)(this.el)),(0,p.k)(this.el,["tabindex","title","data-form-type"]))}connectedCallback(){const{el:i}=this;this.legacyFormController=(0,v.c)(i),this.slotMutationController=(0,b.c)(i,["label","start","end"],()=>(0,n.i)(this)),this.notchController=(0,x.c)(i,()=>this.notchSpacerEl,()=>this.labelSlot),this.emitStyle(),this.debounceChanged(),document.dispatchEvent(new CustomEvent("ionInputDidLoad",{detail:this.el}))}componentDidLoad(){this.originalIonInput=this.ionInput}componentDidRender(){var i;null===(i=this.notchController)||void 0===i||i.calculateNotchWidth()}disconnectedCallback(){document.dispatchEvent(new CustomEvent("ionInputDidUnload",{detail:this.el})),this.slotMutationController&&(this.slotMutationController.destroy(),this.slotMutationController=void 0),this.notchController&&(this.notchController.destroy(),this.notchController=void 0)}setFocus(){var i=this;return(0,h.Z)(function*(){i.nativeInput&&i.nativeInput.focus()})()}getInputElement(){var i=this;return(0,h.Z)(function*(){return i.nativeInput||(yield new Promise(t=>(0,p.c)(i.el,t))),Promise.resolve(i.nativeInput)})()}emitValueChange(i){const{value:t}=this,e=null==t?t:t.toString();this.focusedValue=e,this.ionChange.emit({value:e,event:i})}emitInputChange(i){const{value:t}=this,e=null==t?t:t.toString();this.ionInput.emit({value:e,event:i})}shouldClearOnEdit(){const{type:i,clearOnEdit:t}=this;return void 0===t?"password"===i:t}getValue(){return"number"==typeof this.value?this.value.toString():(this.value||"").toString()}emitStyle(){this.legacyFormController.hasLegacyControl()&&this.ionStyle.emit({interactive:!0,input:!0,"has-placeholder":void 0!==this.placeholder,"has-value":this.hasValue(),"has-focus":this.hasFocus,"interactive-disabled":this.disabled,legacy:!!this.legacy})}checkClearOnEdit(i){if(!this.shouldClearOnEdit())return;const e=["Enter","Tab","Shift","Meta","Alt","Control"].includes(i.key);!this.didInputClearOnEdit&&this.hasValue()&&!e&&(this.value="",this.emitInputChange(i)),e||(this.didInputClearOnEdit=!0)}hasValue(){return this.getValue().length>0}renderHintText(){const{helperText:i,errorText:t}=this;return[(0,n.h)("div",{class:"helper-text"},i),(0,n.h)("div",{class:"error-text"},t)]}renderCounter(){const{counter:i,maxlength:t,counterFormatter:e,value:s}=this;if(!0===i&&void 0!==t)return(0,n.h)("div",{class:"counter"},(0,b.g)(s,t,e))}renderBottomContent(){const{counter:i,helperText:t,errorText:e,maxlength:s}=this;if(t||e||!0===i&&void 0!==s)return(0,n.h)("div",{class:"input-bottom"},this.renderHintText(),this.renderCounter())}renderLabel(){const{label:i}=this;return(0,n.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel}},void 0===i?(0,n.h)("slot",{name:"label"}):(0,n.h)("div",{class:"label-text"},i))}get labelSlot(){return this.el.querySelector('[slot="label"]')}get hasLabel(){return void 0!==this.label||null!==this.labelSlot}renderLabelContainer(){return"md"===(0,l.b)(this)&&"outline"===this.fill?[(0,n.h)("div",{class:"input-outline-container"},(0,n.h)("div",{class:"input-outline-start"}),(0,n.h)("div",{class:{"input-outline-notch":!0,"input-outline-notch-hidden":!this.hasLabel}},(0,n.h)("div",{class:"notch-spacer","aria-hidden":"true",ref:e=>this.notchSpacerEl=e},this.label)),(0,n.h)("div",{class:"input-outline-end"})),this.renderLabel()]:this.renderLabel()}renderInput(){const{disabled:i,fill:t,readonly:e,shape:s,inputId:d,labelPlacement:f,el:D,hasFocus:_}=this,y=(0,l.b)(this),L=this.getValue(),I=(0,o.h)("ion-item",this.el),M="md"===y&&"outline"!==t&&!I,E=this.hasValue(),P=null!==D.querySelector('[slot="start"], [slot="end"]');return(0,n.h)(n.H,{class:(0,o.c)(this.color,{[y]:!0,"has-value":E,"has-focus":_,"label-floating":"stacked"===f||"floating"===f&&(E||_||P),[`input-fill-${t}`]:void 0!==t,[`input-shape-${s}`]:void 0!==s,[`input-label-placement-${f}`]:!0,"in-item":I,"in-item-color":(0,o.h)("ion-item.ion-color",this.el),"input-disabled":i})},(0,n.h)("label",{class:"input-wrapper",htmlFor:d},this.renderLabelContainer(),(0,n.h)("div",{class:"native-wrapper"},(0,n.h)("slot",{name:"start"}),(0,n.h)("input",Object.assign({class:"native-input",ref:k=>this.nativeInput=k,id:d,disabled:i,accept:this.accept,autoCapitalize:this.autocapitalize,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,min:this.min,max:this.max,minLength:this.minlength,maxLength:this.maxlength,multiple:this.multiple,name:this.name,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:e,required:this.required,spellcheck:this.spellcheck,step:this.step,size:this.size,type:this.type,value:L,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeydown,onCompositionstart:this.onCompositionStart,onCompositionend:this.onCompositionEnd},this.inheritedAttributes)),this.clearInput&&!e&&!i&&(0,n.h)("button",{"aria-label":"reset",type:"button",class:"input-clear-icon",onPointerDown:k=>{k.preventDefault()},onClick:this.clearTextInput},(0,n.h)("ion-icon",{"aria-hidden":"true",icon:"ios"===y?r.b:r.d})),(0,n.h)("slot",{name:"end"})),M&&(0,n.h)("div",{class:"input-highlight"})),this.renderBottomContent())}renderLegacyInput(){this.hasLoggedDeprecationWarning||((0,m.p)('ion-input now requires providing a label with either the "label" property or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the "label" property or the "aria-label" attribute.\n\nExample: \nExample with aria-label: \n\nFor inputs that do not render the label immediately next to the input, developers may continue to use "ion-label" but must manually associate the label with the input by using "aria-labelledby".\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,m.p)('ion-input is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new input syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const i=(0,l.b)(this),t=this.getValue(),e=this.inputId+"-lbl",s=(0,p.h)(this.el);return s&&(s.id=e),(0,n.h)(n.H,{"aria-disabled":this.disabled?"true":null,class:(0,o.c)(this.color,{[i]:!0,"has-value":this.hasValue(),"has-focus":this.hasFocus,"legacy-input":!0,"in-item-color":(0,o.h)("ion-item.ion-color",this.el)})},(0,n.h)("input",Object.assign({class:"native-input",ref:d=>this.nativeInput=d,"aria-labelledby":s?s.id:null,disabled:this.disabled,accept:this.accept,autoCapitalize:this.autocapitalize,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,min:this.min,max:this.max,minLength:this.minlength,maxLength:this.maxlength,multiple:this.multiple,name:this.name,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,step:this.step,size:this.size,type:this.type,value:t,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeydown},this.inheritedAttributes)),this.clearInput&&!this.readonly&&!this.disabled&&(0,n.h)("button",{"aria-label":"reset",type:"button",class:"input-clear-icon",onPointerDown:d=>{d.preventDefault()},onClick:this.clearTextInput},(0,n.h)("ion-icon",{"aria-hidden":"true",icon:"ios"===i?r.b:r.d})))}render(){const{legacyFormController:i}=this;return i.hasLegacyControl()?this.renderLegacyInput():this.renderInput()}get el(){return(0,n.f)(this)}static get watchers(){return{debounce:["debounceChanged"],disabled:["disabledChanged"],placeholder:["placeholderChanged"],value:["valueChanged"]}}};let O=0;C.style={ios:".sc-ion-input-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--background:transparent;--color:initial;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;padding:0 !important;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}.legacy-input.sc-ion-input-ios-h{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;background:var(--background)}.legacy-input.sc-ion-input-ios-h .native-input.sc-ion-input-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius)}ion-item.sc-ion-input-ios-h:not(.item-label):not(.item-has-modern-input),ion-item:not(.item-label):not(.item-has-modern-input) .sc-ion-input-ios-h{--padding-start:0}ion-item[slot=start].sc-ion-input-ios-h,ion-item [slot=start].sc-ion-input-ios-h,ion-item[slot=end].sc-ion-input-ios-h,ion-item [slot=end].sc-ion-input-ios-h{width:auto}.legacy-input.ion-color.sc-ion-input-ios-h{color:var(--ion-color-base)}.ion-color.sc-ion-input-ios-h{--highlight-color-focused:var(--ion-color-base)}.sc-ion-input-ios-h:not(.legacy-input){min-height:44px}.input-label-placement-floating.sc-ion-input-ios-h,.input-label-placement-stacked.sc-ion-input-ios-h{min-height:56px}.native-input.sc-ion-input-ios{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:inline-block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:1}.native-input.sc-ion-input-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-ios:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-ios::-ms-clear{display:none}.cloned-input.sc-ion-input-ios{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-input-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-input-ios{left:0}[dir=rtl].sc-ion-input-ios-h .cloned-input.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h .cloned-input.sc-ion-input-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-input-ios .cloned-input.sc-ion-input-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-input-ios:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-input-ios:disabled{opacity:1}.legacy-input.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.input-clear-icon.sc-ion-input-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:30px;height:30px;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;color:var(--ion-color-step-600, #666666);visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.in-item-color.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{color:inherit}.input-clear-icon.sc-ion-input-ios:focus{opacity:0.5}.has-value.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{visibility:visible}.has-focus.sc-ion-input-ios-h{pointer-events:none}.has-focus.sc-ion-input-ios-h input.sc-ion-input-ios,.has-focus.sc-ion-input-ios-h a.sc-ion-input-ios,.has-focus.sc-ion-input-ios-h button.sc-ion-input-ios{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-ios-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-ios-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.input-wrapper.sc-ion-input-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:stretch;align-items:stretch;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-input-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;width:100%}.ion-touched.ion-invalid.sc-ion-input-ios-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-ios-h{--highlight-color:var(--highlight-color-valid)}.input-bottom.sc-ion-input-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem}.has-focus.ion-valid.sc-ion-input-ios-h,.ion-touched.ion-invalid.sc-ion-input-ios-h{--border-color:var(--highlight-color)}.input-bottom.sc-ion-input-ios .error-text.sc-ion-input-ios{display:none;color:var(--highlight-color-invalid)}.input-bottom.sc-ion-input-ios .helper-text.sc-ion-input-ios{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-input-ios-h .input-bottom.sc-ion-input-ios .error-text.sc-ion-input-ios{display:block}.ion-touched.ion-invalid.sc-ion-input-ios-h .input-bottom.sc-ion-input-ios .helper-text.sc-ion-input-ios{display:none}.input-bottom.sc-ion-input-ios .counter.sc-ion-input-ios{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.has-focus.sc-ion-input-ios-h input.sc-ion-input-ios{caret-color:var(--highlight-color)}.label-text-wrapper.sc-ion-input-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-input-ios,.sc-ion-input-ios-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-input-ios,.input-outline-notch-hidden.sc-ion-input-ios{display:none}.input-wrapper.sc-ion-input-ios input.sc-ion-input-ios{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.input-label-placement-start.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:row;flex-direction:row}.input-label-placement-start.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-end.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.input-label-placement-end.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-ios-h .label-text.sc-ion-input-ios{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.input-label-placement-stacked.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:left top;transform-origin:left top;max-width:100%;z-index:2}[dir=rtl].sc-ion-input-ios-h -no-combinator.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h -no-combinator.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].sc-ion-input-ios-h -no-combinator.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h -no-combinator.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.input-label-placement-stacked.sc-ion-input-ios-h:dir(rtl) .label-text-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h:dir(rtl) .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:right top;transform-origin:right top}}.input-label-placement-stacked.sc-ion-input-ios-h input.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0}.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{opacity:0}.has-focus.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios,.has-value.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{opacity:1}.label-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.sc-ion-input-ios-s>[slot=start]{-webkit-margin-end:16px;margin-inline-end:16px}.sc-ion-input-ios-s>[slot=end]{-webkit-margin-start:16px;margin-inline-start:16px}.sc-ion-input-ios-h{--border-width:0.55px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));font-size:inherit}.legacy-input.sc-ion-input-ios-h{--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:0}.item-label-stacked.sc-ion-input-ios-h,.item-label-stacked .sc-ion-input-ios-h,.item-label-floating.sc-ion-input-ios-h,.item-label-floating .sc-ion-input-ios-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0px}.input-clear-icon.sc-ion-input-ios ion-icon.sc-ion-input-ios{width:18px;height:18px}.legacy-input.sc-ion-input-ios-h .native-input[disabled].sc-ion-input-ios,.input-disabled.sc-ion-input-ios-h{opacity:0.3}",md:".sc-ion-input-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--background:transparent;--color:initial;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;padding:0 !important;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}.legacy-input.sc-ion-input-md-h{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;background:var(--background)}.legacy-input.sc-ion-input-md-h .native-input.sc-ion-input-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius)}ion-item.sc-ion-input-md-h:not(.item-label):not(.item-has-modern-input),ion-item:not(.item-label):not(.item-has-modern-input) .sc-ion-input-md-h{--padding-start:0}ion-item[slot=start].sc-ion-input-md-h,ion-item [slot=start].sc-ion-input-md-h,ion-item[slot=end].sc-ion-input-md-h,ion-item [slot=end].sc-ion-input-md-h{width:auto}.legacy-input.ion-color.sc-ion-input-md-h{color:var(--ion-color-base)}.ion-color.sc-ion-input-md-h{--highlight-color-focused:var(--ion-color-base)}.sc-ion-input-md-h:not(.legacy-input){min-height:44px}.input-label-placement-floating.sc-ion-input-md-h,.input-label-placement-stacked.sc-ion-input-md-h{min-height:56px}.native-input.sc-ion-input-md{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:inline-block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:1}.native-input.sc-ion-input-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-md:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-md::-ms-clear{display:none}.cloned-input.sc-ion-input-md{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-input-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-input-md{left:0}[dir=rtl].sc-ion-input-md-h .cloned-input.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h .cloned-input.sc-ion-input-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-input-md .cloned-input.sc-ion-input-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-input-md:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-input-md:disabled{opacity:1}.legacy-input.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.input-clear-icon.sc-ion-input-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:30px;height:30px;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;color:var(--ion-color-step-600, #666666);visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.in-item-color.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{color:inherit}.input-clear-icon.sc-ion-input-md:focus{opacity:0.5}.has-value.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{visibility:visible}.has-focus.sc-ion-input-md-h{pointer-events:none}.has-focus.sc-ion-input-md-h input.sc-ion-input-md,.has-focus.sc-ion-input-md-h a.sc-ion-input-md,.has-focus.sc-ion-input-md-h button.sc-ion-input-md{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-md-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-md-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.input-wrapper.sc-ion-input-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:stretch;align-items:stretch;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-input-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;width:100%}.ion-touched.ion-invalid.sc-ion-input-md-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-md-h{--highlight-color:var(--highlight-color-valid)}.input-bottom.sc-ion-input-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem}.has-focus.ion-valid.sc-ion-input-md-h,.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}.input-bottom.sc-ion-input-md .error-text.sc-ion-input-md{display:none;color:var(--highlight-color-invalid)}.input-bottom.sc-ion-input-md .helper-text.sc-ion-input-md{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-input-md-h .input-bottom.sc-ion-input-md .error-text.sc-ion-input-md{display:block}.ion-touched.ion-invalid.sc-ion-input-md-h .input-bottom.sc-ion-input-md .helper-text.sc-ion-input-md{display:none}.input-bottom.sc-ion-input-md .counter.sc-ion-input-md{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.has-focus.sc-ion-input-md-h input.sc-ion-input-md{caret-color:var(--highlight-color)}.label-text-wrapper.sc-ion-input-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-input-md,.sc-ion-input-md-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-input-md,.input-outline-notch-hidden.sc-ion-input-md{display:none}.input-wrapper.sc-ion-input-md input.sc-ion-input-md{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.input-label-placement-start.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{-ms-flex-direction:row;flex-direction:row}.input-label-placement-start.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-end.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.input-label-placement-end.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-md-h .label-text.sc-ion-input-md{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.input-label-placement-stacked.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:left top;transform-origin:left top;max-width:100%;z-index:2}[dir=rtl].sc-ion-input-md-h -no-combinator.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].sc-ion-input-md-h -no-combinator.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.input-label-placement-stacked.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}}.input-label-placement-stacked.sc-ion-input-md-h input.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0}.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{opacity:0}.has-focus.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md,.has-value.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{opacity:1}.label-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.sc-ion-input-md-s>[slot=start]{-webkit-margin-end:16px;margin-inline-end:16px}.sc-ion-input-md-s>[slot=end]{-webkit-margin-start:16px;margin-inline-start:16px}.input-fill-solid.sc-ion-input-md-h{--background:var(--ion-color-step-50, #f2f2f2);--border-color:var(--ion-color-step-500, gray);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-bottom:var(--border-width) var(--border-style) var(--border-color)}.has-focus.input-fill-solid.ion-valid.sc-ion-input-md-h,.input-fill-solid.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}.input-fill-solid.sc-ion-input-md-h .input-bottom.sc-ion-input-md{border-top:none}@media (any-hover: hover){.input-fill-solid.sc-ion-input-md-h:hover{--background:var(--ion-color-step-100, #e6e6e6);--border-color:var(--ion-color-step-750, #404040)}}.input-fill-solid.has-focus.sc-ion-input-md-h{--background:var(--ion-color-step-150, #d9d9d9);--border-color:var(--ion-color-step-750, #404040)}.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,[dir=rtl].input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,[dir=rtl] .input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.input-fill-solid.sc-ion-input-md-h:dir(rtl) .input-wrapper.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}}.label-floating.input-fill-solid.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{max-width:calc(100% / 0.75)}.input-fill-outline.sc-ion-input-md-h{--border-color:var(--ion-color-step-300, #b3b3b3);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.input-fill-outline.input-shape-round.sc-ion-input-md-h{--border-radius:28px;--padding-start:32px;--padding-end:32px}.has-focus.input-fill-outline.ion-valid.sc-ion-input-md-h,.input-fill-outline.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}@media (any-hover: hover){.input-fill-outline.sc-ion-input-md-h:hover{--border-color:var(--ion-color-step-750, #404040)}}.input-fill-outline.has-focus.sc-ion-input-md-h{--border-width:2px;--border-color:var(--highlight-color)}.input-fill-outline.sc-ion-input-md-h .input-bottom.sc-ion-input-md{border-top:none}.input-fill-outline.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-bottom:none}.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:left top;transform-origin:left top;position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md,.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}}.input-fill-outline.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{position:relative}.label-floating.input-fill-outline.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc((100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75)}.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h input.sc-ion-input-md,.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:6px;margin-bottom:6px}.input-fill-outline.sc-ion-input-md-h .input-outline-container.sc-ion-input-md{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{pointer-events:none}.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,.input-fill-outline.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md,.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color)}.input-fill-outline.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md{max-width:calc(100% - var(--padding-start) - var(--padding-end))}.input-fill-outline.sc-ion-input-md-h .notch-spacer.sc-ion-input-md{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none;-webkit-box-sizing:content-box;box-sizing:content-box}.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius);-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color);width:calc(var(--padding-start) - 4px)}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,[dir=rtl].input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,[dir=rtl] .input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md{border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.input-fill-outline.sc-ion-input-md-h:dir(rtl) .input-outline-start.sc-ion-input-md{border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}}.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color);border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px;-ms-flex-positive:1;flex-grow:1}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md,[dir=rtl].input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md,[dir=rtl] .input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}@supports selector(:dir(rtl)){.input-fill-outline.sc-ion-input-md-h:dir(rtl) .input-outline-end.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}}.label-floating.input-fill-outline.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md{border-top:none}.sc-ion-input-md-h{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));font-size:inherit}.legacy-input.sc-ion-input-md-h{--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:8px}.item-label-stacked.sc-ion-input-md-h,.item-label-stacked .sc-ion-input-md-h,.item-label-floating.sc-ion-input-md-h,.item-label-floating .sc-ion-input-md-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0}.input-clear-icon.sc-ion-input-md ion-icon.sc-ion-input-md{width:22px;height:22px}.legacy-input.sc-ion-input-md-h .native-input[disabled].sc-ion-input-md,.input-disabled.sc-ion-input-md-h{opacity:0.38}.has-focus.ion-valid.sc-ion-input-md-h,.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}.input-bottom.sc-ion-input-md .counter.sc-ion-input-md{letter-spacing:0.0333333333em}.input-label-placement-floating.has-focus.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-stacked.has-focus.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{color:var(--highlight-color)}.has-focus.input-label-placement-floating.ion-valid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-floating.ion-touched.ion-invalid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.has-focus.input-label-placement-stacked.ion-valid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-stacked.ion-touched.ion-invalid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{color:var(--highlight-color)}.input-highlight.sc-ion-input-md{bottom:-1px;position:absolute;width:100%;height:2px;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}@supports (inset-inline-start: 0){.input-highlight.sc-ion-input-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.input-highlight.sc-ion-input-md{left:0}[dir=rtl].sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h .input-highlight.sc-ion-input-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-input-md .input-highlight.sc-ion-input-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.input-highlight.sc-ion-input-md:dir(rtl){left:unset;right:unset;right:0}}}.has-focus.sc-ion-input-md-h .input-highlight.sc-ion-input-md{-webkit-transform:scale(1);transform:scale(1)}.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{bottom:0}@supports (inset-inline-start: 0){.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{left:0}[dir=rtl].sc-ion-input-md-h -no-combinator.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl].in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl] .in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.in-item.sc-ion-input-md-h:dir(rtl) .input-highlight.sc-ion-input-md{left:unset;right:unset;right:0}}}.input-shape-round.sc-ion-input-md-h{--border-radius:16px}"}},3814:(z,c,a)=>{a.d(c,{c:()=>v,g:()=>p,h:()=>n,o:()=>b});var h=a(5861);const n=(o,r)=>null!==r.closest(o),v=(o,r)=>"string"==typeof o&&o.length>0?Object.assign({"ion-color":!0,[`ion-color-${o}`]:!0},r):r,p=o=>{const r={};return(o=>void 0!==o?(Array.isArray(o)?o:o.split(" ")).filter(l=>null!=l).map(l=>l.trim()).filter(l=>""!==l):[])(o).forEach(l=>r[l]=!0),r},m=/^[a-z][a-z0-9+\-.]*:/,b=function(){var o=(0,h.Z)(function*(r,l,w,g){if(null!=r&&"#"!==r[0]&&!m.test(r)){const u=document.querySelector("ion-router");if(u)return l?.preventDefault(),u.push(r,w,g)}return!1});return function(l,w,g,u){return o.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/1217.199198d0894251dd.js b/1217.199198d0894251dd.js deleted file mode 100644 index 201e2531..00000000 --- a/1217.199198d0894251dd.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1217],{1217:(I,c,a)=>{a.r(c),a.d(c,{ion_input:()=>k});var g=a(5861),n=a(1071),f=a(479),v=a(1389),p=a(2674),h=a(3357),m=a(5849),o=a(2997),r=a(6026),l=a(7263);a(7693);const k=class{constructor(i){(0,n.r)(this,i),this.ionInput=(0,n.d)(this,"ionInput",7),this.ionChange=(0,n.d)(this,"ionChange",7),this.ionBlur=(0,n.d)(this,"ionBlur",7),this.ionFocus=(0,n.d)(this,"ionFocus",7),this.ionStyle=(0,n.d)(this,"ionStyle",7),this.inputId="ion-input-"+z++,this.inheritedAttributes={},this.isComposing=!1,this.hasLoggedDeprecationWarning=!1,this.didInputClearOnEdit=!1,this.onInput=t=>{const e=t.target;e&&(this.value=e.value||""),this.emitInputChange(t)},this.onChange=t=>{this.emitValueChange(t)},this.onBlur=t=>{this.hasFocus=!1,this.emitStyle(),this.focusedValue!==this.value&&this.emitValueChange(t),this.didInputClearOnEdit=!1,this.ionBlur.emit(t)},this.onFocus=t=>{this.hasFocus=!0,this.focusedValue=this.value,this.emitStyle(),this.ionFocus.emit(t)},this.onKeydown=t=>{this.checkClearOnEdit(t)},this.onCompositionStart=()=>{this.isComposing=!0},this.onCompositionEnd=()=>{this.isComposing=!1},this.clearTextInput=t=>{this.clearInput&&!this.readonly&&!this.disabled&&t&&(t.preventDefault(),t.stopPropagation(),this.setFocus()),this.value="",this.emitInputChange(t)},this.hasFocus=!1,this.color=void 0,this.accept=void 0,this.autocapitalize="off",this.autocomplete="off",this.autocorrect="off",this.autofocus=!1,this.clearInput=!1,this.clearOnEdit=void 0,this.counter=!1,this.counterFormatter=void 0,this.debounce=void 0,this.disabled=!1,this.enterkeyhint=void 0,this.errorText=void 0,this.fill=void 0,this.inputmode=void 0,this.helperText=void 0,this.label=void 0,this.labelPlacement="start",this.legacy=void 0,this.max=void 0,this.maxlength=void 0,this.min=void 0,this.minlength=void 0,this.multiple=void 0,this.name=this.inputId,this.pattern=void 0,this.placeholder=void 0,this.readonly=!1,this.required=!1,this.shape=void 0,this.spellcheck=!1,this.step=void 0,this.size=void 0,this.type="text",this.value=""}debounceChanged(){const{ionInput:i,debounce:t,originalIonInput:e}=this;this.ionInput=void 0===t?e??i:(0,p.j)(i,t)}disabledChanged(){this.emitStyle()}placeholderChanged(){this.emitStyle()}valueChanged(){const i=this.nativeInput,t=this.getValue();i&&i.value!==t&&!this.isComposing&&(i.value=t),this.emitStyle()}componentWillLoad(){this.inheritedAttributes=Object.assign(Object.assign({},(0,p.i)(this.el)),(0,p.k)(this.el,["tabindex","title","data-form-type"]))}connectedCallback(){const{el:i}=this;this.legacyFormController=(0,f.c)(i),this.slotMutationController=(0,m.c)(i,"label",()=>(0,n.i)(this)),this.notchController=(0,v.c)(i,()=>this.notchSpacerEl,()=>this.labelSlot),this.emitStyle(),this.debounceChanged(),document.dispatchEvent(new CustomEvent("ionInputDidLoad",{detail:this.el}))}componentDidLoad(){this.originalIonInput=this.ionInput}componentDidRender(){var i;null===(i=this.notchController)||void 0===i||i.calculateNotchWidth()}disconnectedCallback(){document.dispatchEvent(new CustomEvent("ionInputDidUnload",{detail:this.el})),this.slotMutationController&&(this.slotMutationController.destroy(),this.slotMutationController=void 0),this.notchController&&(this.notchController.destroy(),this.notchController=void 0)}setFocus(){var i=this;return(0,g.Z)(function*(){i.nativeInput&&i.nativeInput.focus()})()}getInputElement(){return Promise.resolve(this.nativeInput)}emitValueChange(i){const{value:t}=this,e=null==t?t:t.toString();this.focusedValue=e,this.ionChange.emit({value:e,event:i})}emitInputChange(i){const{value:t}=this,e=null==t?t:t.toString();this.ionInput.emit({value:e,event:i})}shouldClearOnEdit(){const{type:i,clearOnEdit:t}=this;return void 0===t?"password"===i:t}getValue(){return"number"==typeof this.value?this.value.toString():(this.value||"").toString()}emitStyle(){this.legacyFormController.hasLegacyControl()&&this.ionStyle.emit({interactive:!0,input:!0,"has-placeholder":void 0!==this.placeholder,"has-value":this.hasValue(),"has-focus":this.hasFocus,"interactive-disabled":this.disabled})}checkClearOnEdit(i){this.shouldClearOnEdit()&&(!this.didInputClearOnEdit&&this.hasValue()&&"Enter"!==i.key&&"Tab"!==i.key&&(this.value="",this.emitInputChange(i)),this.didInputClearOnEdit=!0)}hasValue(){return this.getValue().length>0}renderHintText(){const{helperText:i,errorText:t}=this;return[(0,n.h)("div",{class:"helper-text"},i),(0,n.h)("div",{class:"error-text"},t)]}renderCounter(){const{counter:i,maxlength:t,counterFormatter:e,value:s}=this;if(!0===i&&void 0!==t)return(0,n.h)("div",{class:"counter"},(0,m.g)(s,t,e))}renderBottomContent(){const{counter:i,helperText:t,errorText:e,maxlength:s}=this;if(t||e||!0===i&&void 0!==s)return(0,n.h)("div",{class:"input-bottom"},this.renderHintText(),this.renderCounter())}renderLabel(){const{label:i}=this;return(0,n.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel}},void 0===i?(0,n.h)("slot",{name:"label"}):(0,n.h)("div",{class:"label-text"},i))}get labelSlot(){return this.el.querySelector('[slot="label"]')}get hasLabel(){return void 0!==this.label||null!==this.labelSlot}renderLabelContainer(){return"md"===(0,l.b)(this)&&"outline"===this.fill?[(0,n.h)("div",{class:"input-outline-container"},(0,n.h)("div",{class:"input-outline-start"}),(0,n.h)("div",{class:{"input-outline-notch":!0,"input-outline-notch-hidden":!this.hasLabel}},(0,n.h)("div",{class:"notch-spacer","aria-hidden":"true",ref:e=>this.notchSpacerEl=e},this.label)),(0,n.h)("div",{class:"input-outline-end"})),this.renderLabel()]:this.renderLabel()}renderInput(){const{disabled:i,fill:t,readonly:e,shape:s,inputId:d,labelPlacement:C}=this,w=(0,l.b)(this),E=this.getValue(),_=(0,o.h)("ion-item",this.el),O="md"===w&&"outline"!==t&&!_;return(0,n.h)(n.H,{class:(0,o.c)(this.color,{[w]:!0,"has-value":this.hasValue(),"has-focus":this.hasFocus,[`input-fill-${t}`]:void 0!==t,[`input-shape-${s}`]:void 0!==s,[`input-label-placement-${C}`]:!0,"in-item":_,"in-item-color":(0,o.h)("ion-item.ion-color",this.el),"input-disabled":i})},(0,n.h)("label",{class:"input-wrapper"},this.renderLabelContainer(),(0,n.h)("div",{class:"native-wrapper"},(0,n.h)("input",Object.assign({class:"native-input",ref:y=>this.nativeInput=y,id:d,disabled:i,accept:this.accept,autoCapitalize:this.autocapitalize,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,min:this.min,max:this.max,minLength:this.minlength,maxLength:this.maxlength,multiple:this.multiple,name:this.name,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:e,required:this.required,spellcheck:this.spellcheck,step:this.step,size:this.size,type:this.type,value:E,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeydown,onCompositionstart:this.onCompositionStart,onCompositionend:this.onCompositionEnd},this.inheritedAttributes)),this.clearInput&&!e&&!i&&(0,n.h)("button",{"aria-label":"reset",type:"button",class:"input-clear-icon",onPointerDown:y=>{y.preventDefault()},onClick:this.clearTextInput},(0,n.h)("ion-icon",{"aria-hidden":"true",icon:"ios"===w?r.b:r.d}))),O&&(0,n.h)("div",{class:"input-highlight"})),this.renderBottomContent())}renderLegacyInput(){this.hasLoggedDeprecationWarning||((0,h.p)('ion-input now requires providing a label with either the "label" property or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the "label" property or the "aria-label" attribute.\n\nExample: \nExample with aria-label: \n\nFor inputs that do not render the label immediately next to the input, developers may continue to use "ion-label" but must manually associate the label with the input by using "aria-labelledby".\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,h.p)('ion-input is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new input syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const i=(0,l.b)(this),t=this.getValue(),e=this.inputId+"-lbl",s=(0,p.h)(this.el);return s&&(s.id=e),(0,n.h)(n.H,{"aria-disabled":this.disabled?"true":null,class:(0,o.c)(this.color,{[i]:!0,"has-value":this.hasValue(),"has-focus":this.hasFocus,"legacy-input":!0,"in-item-color":(0,o.h)("ion-item.ion-color",this.el)})},(0,n.h)("input",Object.assign({class:"native-input",ref:d=>this.nativeInput=d,"aria-labelledby":s?s.id:null,disabled:this.disabled,accept:this.accept,autoCapitalize:this.autocapitalize,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,min:this.min,max:this.max,minLength:this.minlength,maxLength:this.maxlength,multiple:this.multiple,name:this.name,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,step:this.step,size:this.size,type:this.type,value:t,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeydown},this.inheritedAttributes)),this.clearInput&&!this.readonly&&!this.disabled&&(0,n.h)("button",{"aria-label":"reset",type:"button",class:"input-clear-icon",onPointerDown:d=>{d.preventDefault()},onClick:this.clearTextInput},(0,n.h)("ion-icon",{"aria-hidden":"true",icon:"ios"===i?r.b:r.d})))}render(){const{legacyFormController:i}=this;return i.hasLegacyControl()?this.renderLegacyInput():this.renderInput()}get el(){return(0,n.f)(this)}static get watchers(){return{debounce:["debounceChanged"],disabled:["disabledChanged"],placeholder:["placeholderChanged"],value:["valueChanged"]}}};let z=0;k.style={ios:".sc-ion-input-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--background:transparent;--color:initial;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;padding:0 !important;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}.legacy-input.sc-ion-input-ios-h{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;background:var(--background)}.legacy-input.sc-ion-input-ios-h .native-input.sc-ion-input-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius)}ion-item.sc-ion-input-ios-h:not(.item-label):not(.item-has-modern-input),ion-item:not(.item-label):not(.item-has-modern-input) .sc-ion-input-ios-h{--padding-start:0}ion-item[slot=start].sc-ion-input-ios-h,ion-item [slot=start].sc-ion-input-ios-h,ion-item[slot=end].sc-ion-input-ios-h,ion-item [slot=end].sc-ion-input-ios-h{width:auto}.legacy-input.ion-color.sc-ion-input-ios-h{color:var(--ion-color-base)}.ion-color.sc-ion-input-ios-h{--highlight-color-focused:var(--ion-color-base)}.native-input.sc-ion-input-ios{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:inline-block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:1}.native-input.sc-ion-input-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-ios:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-ios::-ms-clear{display:none}.cloned-input.sc-ion-input-ios{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-input-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-input-ios{left:0}[dir=rtl].sc-ion-input-ios-h .cloned-input.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h .cloned-input.sc-ion-input-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-input-ios .cloned-input.sc-ion-input-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-input-ios:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-input-ios:disabled{opacity:1}.legacy-input.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.input-clear-icon.sc-ion-input-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:30px;height:30px;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;color:var(--ion-color-step-600, #666666);visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.in-item-color.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{color:inherit}.input-clear-icon.sc-ion-input-ios:focus{opacity:0.5}.has-value.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{visibility:visible}.has-focus.sc-ion-input-ios-h{pointer-events:none}.has-focus.sc-ion-input-ios-h input.sc-ion-input-ios,.has-focus.sc-ion-input-ios-h a.sc-ion-input-ios,.has-focus.sc-ion-input-ios-h button.sc-ion-input-ios{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-ios-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-ios-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.input-wrapper.sc-ion-input-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:stretch;align-items:stretch;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-input-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;width:100%}.ion-touched.ion-invalid.sc-ion-input-ios-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-ios-h{--highlight-color:var(--highlight-color-valid)}.input-bottom.sc-ion-input-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:12px}.has-focus.ion-valid.sc-ion-input-ios-h,.ion-touched.ion-invalid.sc-ion-input-ios-h{--border-color:var(--highlight-color)}.input-bottom.sc-ion-input-ios .error-text.sc-ion-input-ios{display:none;color:var(--highlight-color-invalid)}.input-bottom.sc-ion-input-ios .helper-text.sc-ion-input-ios{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-input-ios-h .input-bottom.sc-ion-input-ios .error-text.sc-ion-input-ios{display:block}.ion-touched.ion-invalid.sc-ion-input-ios-h .input-bottom.sc-ion-input-ios .helper-text.sc-ion-input-ios{display:none}.input-bottom.sc-ion-input-ios .counter.sc-ion-input-ios{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.has-focus.sc-ion-input-ios-h input.sc-ion-input-ios{caret-color:var(--highlight-color)}.label-text-wrapper.sc-ion-input-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-input-ios,.sc-ion-input-ios-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-input-ios,.input-outline-notch-hidden.sc-ion-input-ios{display:none}.input-wrapper.sc-ion-input-ios input.sc-ion-input-ios{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.input-label-placement-start.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:row;flex-direction:row}.input-label-placement-start.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-end.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.input-label-placement-end.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-ios-h .label-text.sc-ion-input-ios{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.input-label-placement-stacked.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:left top;transform-origin:left top;max-width:100%;z-index:2}[dir=rtl].sc-ion-input-ios-h -no-combinator.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h -no-combinator.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].sc-ion-input-ios-h -no-combinator.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h -no-combinator.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios:dir(rtl),.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.input-label-placement-stacked.sc-ion-input-ios-h input.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0}.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{opacity:0}.has-focus.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios,.has-value.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{opacity:1}.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,.has-focus.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,.has-value.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.sc-ion-input-ios-h{--border-width:0.55px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));font-size:inherit}.legacy-input.sc-ion-input-ios-h{--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:0}.item-label-stacked.sc-ion-input-ios-h,.item-label-stacked .sc-ion-input-ios-h,.item-label-floating.sc-ion-input-ios-h,.item-label-floating .sc-ion-input-ios-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0px}.input-clear-icon.sc-ion-input-ios ion-icon.sc-ion-input-ios{width:18px;height:18px}.sc-ion-input-ios-h:not(.legacy-input){min-height:44px}.input-label-placement-floating.sc-ion-input-ios-h,.input-label-placement-stacked.sc-ion-input-ios-h{min-height:56px}.legacy-input.sc-ion-input-ios-h .native-input[disabled].sc-ion-input-ios,.input-disabled.sc-ion-input-ios-h{opacity:0.3}",md:".sc-ion-input-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--background:transparent;--color:initial;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;padding:0 !important;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}.legacy-input.sc-ion-input-md-h{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;background:var(--background)}.legacy-input.sc-ion-input-md-h .native-input.sc-ion-input-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius)}ion-item.sc-ion-input-md-h:not(.item-label):not(.item-has-modern-input),ion-item:not(.item-label):not(.item-has-modern-input) .sc-ion-input-md-h{--padding-start:0}ion-item[slot=start].sc-ion-input-md-h,ion-item [slot=start].sc-ion-input-md-h,ion-item[slot=end].sc-ion-input-md-h,ion-item [slot=end].sc-ion-input-md-h{width:auto}.legacy-input.ion-color.sc-ion-input-md-h{color:var(--ion-color-base)}.ion-color.sc-ion-input-md-h{--highlight-color-focused:var(--ion-color-base)}.native-input.sc-ion-input-md{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:inline-block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:1}.native-input.sc-ion-input-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-md:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-md::-ms-clear{display:none}.cloned-input.sc-ion-input-md{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-input-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-input-md{left:0}[dir=rtl].sc-ion-input-md-h .cloned-input.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h .cloned-input.sc-ion-input-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-input-md .cloned-input.sc-ion-input-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-input-md:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-input-md:disabled{opacity:1}.legacy-input.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.input-clear-icon.sc-ion-input-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:30px;height:30px;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;color:var(--ion-color-step-600, #666666);visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.in-item-color.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{color:inherit}.input-clear-icon.sc-ion-input-md:focus{opacity:0.5}.has-value.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{visibility:visible}.has-focus.sc-ion-input-md-h{pointer-events:none}.has-focus.sc-ion-input-md-h input.sc-ion-input-md,.has-focus.sc-ion-input-md-h a.sc-ion-input-md,.has-focus.sc-ion-input-md-h button.sc-ion-input-md{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-md-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-md-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.input-wrapper.sc-ion-input-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:stretch;align-items:stretch;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-input-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;width:100%}.ion-touched.ion-invalid.sc-ion-input-md-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-md-h{--highlight-color:var(--highlight-color-valid)}.input-bottom.sc-ion-input-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:12px}.has-focus.ion-valid.sc-ion-input-md-h,.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}.input-bottom.sc-ion-input-md .error-text.sc-ion-input-md{display:none;color:var(--highlight-color-invalid)}.input-bottom.sc-ion-input-md .helper-text.sc-ion-input-md{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-input-md-h .input-bottom.sc-ion-input-md .error-text.sc-ion-input-md{display:block}.ion-touched.ion-invalid.sc-ion-input-md-h .input-bottom.sc-ion-input-md .helper-text.sc-ion-input-md{display:none}.input-bottom.sc-ion-input-md .counter.sc-ion-input-md{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.has-focus.sc-ion-input-md-h input.sc-ion-input-md{caret-color:var(--highlight-color)}.label-text-wrapper.sc-ion-input-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-input-md,.sc-ion-input-md-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-input-md,.input-outline-notch-hidden.sc-ion-input-md{display:none}.input-wrapper.sc-ion-input-md input.sc-ion-input-md{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.input-label-placement-start.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{-ms-flex-direction:row;flex-direction:row}.input-label-placement-start.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-end.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.input-label-placement-end.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-md-h .label-text.sc-ion-input-md{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.input-label-placement-stacked.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:left top;transform-origin:left top;max-width:100%;z-index:2}[dir=rtl].sc-ion-input-md-h -no-combinator.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].sc-ion-input-md-h -no-combinator.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md:dir(rtl),.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.input-label-placement-stacked.sc-ion-input-md-h input.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0}.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{opacity:0}.has-focus.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md,.has-value.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{opacity:1}.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.has-focus.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.has-value.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.input-fill-solid.sc-ion-input-md-h{--background:var(--ion-color-step-50, #f2f2f2);--border-color:var(--ion-color-step-500, gray);--border-radius:4px;--padding-start:16px;--padding-end:16px}.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-bottom:var(--border-width) var(--border-style) var(--border-color)}.has-focus.input-fill-solid.ion-valid.sc-ion-input-md-h,.input-fill-solid.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}.input-fill-solid.sc-ion-input-md-h .input-bottom.sc-ion-input-md{border-top:none}@media (any-hover: hover){.input-fill-solid.sc-ion-input-md-h:hover{--background:var(--ion-color-step-100, #e6e6e6);--border-color:var(--ion-color-step-750, #404040)}}.input-fill-solid.has-focus.sc-ion-input-md-h{--background:var(--ion-color-step-150, #d9d9d9);--border-color:var(--ion-color-step-750, #404040)}.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,[dir=rtl].input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,[dir=rtl] .input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md:dir(rtl){border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}}.input-fill-solid.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.has-focus.input-fill-solid.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.has-value.input-fill-solid.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{max-width:calc(100% / 0.75)}.input-fill-outline.sc-ion-input-md-h{--border-color:var(--ion-color-step-300, #b3b3b3);--border-radius:4px;--padding-start:16px;--padding-end:16px}.input-fill-outline.input-shape-round.sc-ion-input-md-h{--border-radius:28px;--padding-start:32px;--padding-end:32px}.has-focus.input-fill-outline.ion-valid.sc-ion-input-md-h,.input-fill-outline.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}@media (any-hover: hover){.input-fill-outline.sc-ion-input-md-h:hover{--border-color:var(--ion-color-step-750, #404040)}}.input-fill-outline.has-focus.sc-ion-input-md-h{--border-width:2px;--border-color:var(--highlight-color)}.input-fill-outline.sc-ion-input-md-h .input-bottom.sc-ion-input-md{border-top:none}.input-fill-outline.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-bottom:none}.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:left top;transform-origin:left top;position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md:dir(rtl),.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.input-fill-outline.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{position:relative}.has-focus.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.has-value.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc((100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75)}.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h input.sc-ion-input-md,.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:6px;margin-bottom:6px}.input-fill-outline.sc-ion-input-md-h .input-outline-container.sc-ion-input-md{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{pointer-events:none}.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,.input-fill-outline.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md,.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color)}.input-fill-outline.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md{max-width:calc(100% - var(--padding-start) - var(--padding-end))}.input-fill-outline.sc-ion-input-md-h .notch-spacer.sc-ion-input-md{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none;-webkit-box-sizing:content-box;box-sizing:content-box}.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius);-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color);width:calc(var(--padding-start) - 4px)}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,[dir=rtl].input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,[dir=rtl] .input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md{border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md:dir(rtl){border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}}.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color);border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px;-ms-flex-positive:1;flex-grow:1}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md,[dir=rtl].input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md,[dir=rtl] .input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}@supports selector(:dir(rtl)){.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md:dir(rtl){border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}}.has-focus.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md,.has-value.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md,.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md{border-top:none}.sc-ion-input-md-h{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));font-size:inherit}.legacy-input.sc-ion-input-md-h{--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:8px}.item-label-stacked.sc-ion-input-md-h,.item-label-stacked .sc-ion-input-md-h,.item-label-floating.sc-ion-input-md-h,.item-label-floating .sc-ion-input-md-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0}.input-clear-icon.sc-ion-input-md ion-icon.sc-ion-input-md{width:22px;height:22px}.legacy-input.sc-ion-input-md-h .native-input[disabled].sc-ion-input-md,.input-disabled.sc-ion-input-md-h{opacity:0.38}.has-focus.ion-valid.sc-ion-input-md-h,.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}.input-bottom.sc-ion-input-md .counter.sc-ion-input-md{letter-spacing:0.0333333333em}.sc-ion-input-md-h:not(.legacy-input){min-height:56px}.input-label-placement-floating.has-focus.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-stacked.has-focus.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{color:var(--highlight-color)}.has-focus.input-label-placement-floating.ion-valid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-floating.ion-touched.ion-invalid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.has-focus.input-label-placement-stacked.ion-valid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-stacked.ion-touched.ion-invalid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{color:var(--highlight-color)}.input-highlight.sc-ion-input-md{bottom:-1px;position:absolute;width:100%;height:2px;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}@supports (inset-inline-start: 0){.input-highlight.sc-ion-input-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.input-highlight.sc-ion-input-md{left:0}[dir=rtl].sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h .input-highlight.sc-ion-input-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-input-md .input-highlight.sc-ion-input-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.input-highlight.sc-ion-input-md:dir(rtl){left:unset;right:unset;right:0}}}.has-focus.sc-ion-input-md-h .input-highlight.sc-ion-input-md{-webkit-transform:scale(1);transform:scale(1)}.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{bottom:0}@supports (inset-inline-start: 0){.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{left:0}[dir=rtl].sc-ion-input-md-h -no-combinator.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl].in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl] .in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md:dir(rtl){left:unset;right:unset;right:0}}}.input-shape-round.sc-ion-input-md-h{--border-radius:16px}"}},2997:(I,c,a)=>{a.d(c,{c:()=>f,g:()=>p,h:()=>n,o:()=>m});var g=a(5861);const n=(o,r)=>null!==r.closest(o),f=(o,r)=>"string"==typeof o&&o.length>0?Object.assign({"ion-color":!0,[`ion-color-${o}`]:!0},r):r,p=o=>{const r={};return(o=>void 0!==o?(Array.isArray(o)?o:o.split(" ")).filter(l=>null!=l).map(l=>l.trim()).filter(l=>""!==l):[])(o).forEach(l=>r[l]=!0),r},h=/^[a-z][a-z0-9+\-.]*:/,m=function(){var o=(0,g.Z)(function*(r,l,x,b){if(null!=r&&"#"!==r[0]&&!h.test(r)){const u=document.querySelector("ion-router");if(u)return l?.preventDefault(),u.push(r,x,b)}return!1});return function(l,x,b,u){return o.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/1536.0ee81c542e124c87.js b/1536.0ee81c542e124c87.js deleted file mode 100644 index 5efa4e68..00000000 --- a/1536.0ee81c542e124c87.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1536],{1536:(v,l,a)=>{a.r(l),a.d(l,{ion_tab:()=>d,ion_tabs:()=>h});var s=a(5861),n=a(1071),u=a(4519);const d=class{constructor(e){(0,n.r)(this,e),this.loaded=!1,this.active=!1,this.delegate=void 0,this.tab=void 0,this.component=void 0}componentWillLoad(){var e=this;return(0,s.Z)(function*(){e.active&&(yield e.setActive())})()}setActive(){var e=this;return(0,s.Z)(function*(){yield e.prepareLazyLoaded(),e.active=!0})()}changeActive(e){e&&this.prepareLazyLoaded()}prepareLazyLoaded(){if(!this.loaded&&null!=this.component){this.loaded=!0;try{return(0,u.a)(this.delegate,this.el,this.component,["ion-page"])}catch(e){console.error(e)}}return Promise.resolve(void 0)}render(){const{tab:e,active:t,component:i}=this;return(0,n.h)(n.H,{role:"tabpanel","aria-hidden":t?null:"true","aria-labelledby":`tab-button-${e}`,class:{"ion-page":void 0===i,"tab-hidden":!t}},(0,n.h)("slot",null))}get el(){return(0,n.f)(this)}static get watchers(){return{active:["changeActive"]}}};d.style=":host(.tab-hidden){display:none !important}";const h=class{constructor(e){(0,n.r)(this,e),this.ionNavWillLoad=(0,n.d)(this,"ionNavWillLoad",7),this.ionTabsWillChange=(0,n.d)(this,"ionTabsWillChange",3),this.ionTabsDidChange=(0,n.d)(this,"ionTabsDidChange",3),this.transitioning=!1,this.onTabClicked=t=>{const{href:i,tab:r}=t.detail;if(this.useRouter&&void 0!==i){const c=document.querySelector("ion-router");c&&c.push(i)}else this.select(r)},this.selectedTab=void 0,this.useRouter=!1}componentWillLoad(){var e=this;return(0,s.Z)(function*(){if(e.useRouter||(e.useRouter=!!document.querySelector("ion-router")&&!e.el.closest("[no-router]")),!e.useRouter){const t=e.tabs;t.length>0&&(yield e.select(t[0]))}e.ionNavWillLoad.emit()})()}componentWillRender(){const e=this.el.querySelector("ion-tab-bar");e&&(e.selectedTab=this.selectedTab?this.selectedTab.tab:void 0)}select(e){var t=this;return(0,s.Z)(function*(){const i=o(t.tabs,e);return!!t.shouldSwitch(i)&&(yield t.setActive(i),yield t.notifyRouter(),t.tabSwitch(),!0)})()}getTab(e){var t=this;return(0,s.Z)(function*(){return o(t.tabs,e)})()}getSelected(){return Promise.resolve(this.selectedTab?this.selectedTab.tab:void 0)}setRouteId(e){var t=this;return(0,s.Z)(function*(){const i=o(t.tabs,e);return t.shouldSwitch(i)?(yield t.setActive(i),{changed:!0,element:t.selectedTab,markVisible:()=>t.tabSwitch()}):{changed:!1,element:t.selectedTab}})()}getRouteId(){var e=this;return(0,s.Z)(function*(){var t;const i=null===(t=e.selectedTab)||void 0===t?void 0:t.tab;return void 0!==i?{id:i,element:e.selectedTab}:void 0})()}setActive(e){return this.transitioning?Promise.reject("transitioning already happening"):(this.transitioning=!0,this.leavingTab=this.selectedTab,this.selectedTab=e,this.ionTabsWillChange.emit({tab:e.tab}),e.active=!0,Promise.resolve())}tabSwitch(){const e=this.selectedTab,t=this.leavingTab;this.leavingTab=void 0,this.transitioning=!1,e&&t!==e&&(t&&(t.active=!1),this.ionTabsDidChange.emit({tab:e.tab}))}notifyRouter(){if(this.useRouter){const e=document.querySelector("ion-router");if(e)return e.navChanged("forward")}return Promise.resolve(!1)}shouldSwitch(e){return void 0!==e&&e!==this.selectedTab&&!this.transitioning}get tabs(){return Array.from(this.el.querySelectorAll("ion-tab"))}render(){return(0,n.h)(n.H,{onIonTabButtonClick:this.onTabClicked},(0,n.h)("slot",{name:"top"}),(0,n.h)("div",{class:"tabs-inner"},(0,n.h)("slot",null)),(0,n.h)("slot",{name:"bottom"}))}get el(){return(0,n.f)(this)}},o=(e,t)=>{const i="string"==typeof t?e.find(r=>r.tab===t):t;return i||console.error(`tab with id: "${i}" does not exist`),i};h.style=":host{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;contain:layout size style;z-index:0}.tabs-inner{position:relative;-ms-flex:1;flex:1;contain:layout size style}"}}]); \ No newline at end of file diff --git a/1536.db6833c0107d7f9c.js b/1536.db6833c0107d7f9c.js new file mode 100644 index 00000000..6fb04c62 --- /dev/null +++ b/1536.db6833c0107d7f9c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1536],{1536:(v,l,a)=>{a.r(l),a.d(l,{ion_tab:()=>d,ion_tabs:()=>h});var s=a(5861),n=a(408),u=a(7869);const d=class{constructor(e){(0,n.r)(this,e),this.loaded=!1,this.active=!1,this.delegate=void 0,this.tab=void 0,this.component=void 0}componentWillLoad(){var e=this;return(0,s.Z)(function*(){e.active&&(yield e.setActive())})()}setActive(){var e=this;return(0,s.Z)(function*(){yield e.prepareLazyLoaded(),e.active=!0})()}changeActive(e){e&&this.prepareLazyLoaded()}prepareLazyLoaded(){if(!this.loaded&&null!=this.component){this.loaded=!0;try{return(0,u.a)(this.delegate,this.el,this.component,["ion-page"])}catch(e){console.error(e)}}return Promise.resolve(void 0)}render(){const{tab:e,active:t,component:i}=this;return(0,n.h)(n.H,{role:"tabpanel","aria-hidden":t?null:"true","aria-labelledby":`tab-button-${e}`,class:{"ion-page":void 0===i,"tab-hidden":!t}},(0,n.h)("slot",null))}get el(){return(0,n.f)(this)}static get watchers(){return{active:["changeActive"]}}};d.style=":host(.tab-hidden){display:none !important}";const h=class{constructor(e){(0,n.r)(this,e),this.ionNavWillLoad=(0,n.d)(this,"ionNavWillLoad",7),this.ionTabsWillChange=(0,n.d)(this,"ionTabsWillChange",3),this.ionTabsDidChange=(0,n.d)(this,"ionTabsDidChange",3),this.transitioning=!1,this.onTabClicked=t=>{const{href:i,tab:r}=t.detail;if(this.useRouter&&void 0!==i){const c=document.querySelector("ion-router");c&&c.push(i)}else this.select(r)},this.selectedTab=void 0,this.useRouter=!1}componentWillLoad(){var e=this;return(0,s.Z)(function*(){if(e.useRouter||(e.useRouter=!!document.querySelector("ion-router")&&!e.el.closest("[no-router]")),!e.useRouter){const t=e.tabs;t.length>0&&(yield e.select(t[0]))}e.ionNavWillLoad.emit()})()}componentWillRender(){const e=this.el.querySelector("ion-tab-bar");e&&(e.selectedTab=this.selectedTab?this.selectedTab.tab:void 0)}select(e){var t=this;return(0,s.Z)(function*(){const i=o(t.tabs,e);return!!t.shouldSwitch(i)&&(yield t.setActive(i),yield t.notifyRouter(),t.tabSwitch(),!0)})()}getTab(e){var t=this;return(0,s.Z)(function*(){return o(t.tabs,e)})()}getSelected(){return Promise.resolve(this.selectedTab?this.selectedTab.tab:void 0)}setRouteId(e){var t=this;return(0,s.Z)(function*(){const i=o(t.tabs,e);return t.shouldSwitch(i)?(yield t.setActive(i),{changed:!0,element:t.selectedTab,markVisible:()=>t.tabSwitch()}):{changed:!1,element:t.selectedTab}})()}getRouteId(){var e=this;return(0,s.Z)(function*(){var t;const i=null===(t=e.selectedTab)||void 0===t?void 0:t.tab;return void 0!==i?{id:i,element:e.selectedTab}:void 0})()}setActive(e){return this.transitioning?Promise.reject("transitioning already happening"):(this.transitioning=!0,this.leavingTab=this.selectedTab,this.selectedTab=e,this.ionTabsWillChange.emit({tab:e.tab}),e.active=!0,Promise.resolve())}tabSwitch(){const e=this.selectedTab,t=this.leavingTab;this.leavingTab=void 0,this.transitioning=!1,e&&t!==e&&(t&&(t.active=!1),this.ionTabsDidChange.emit({tab:e.tab}))}notifyRouter(){if(this.useRouter){const e=document.querySelector("ion-router");if(e)return e.navChanged("forward")}return Promise.resolve(!1)}shouldSwitch(e){return void 0!==e&&e!==this.selectedTab&&!this.transitioning}get tabs(){return Array.from(this.el.querySelectorAll("ion-tab"))}render(){return(0,n.h)(n.H,{onIonTabButtonClick:this.onTabClicked},(0,n.h)("slot",{name:"top"}),(0,n.h)("div",{class:"tabs-inner"},(0,n.h)("slot",null)),(0,n.h)("slot",{name:"bottom"}))}get el(){return(0,n.f)(this)}},o=(e,t)=>{const i="string"==typeof t?e.find(r=>r.tab===t):t;return i||console.error(`tab with id: "${i}" does not exist`),i};h.style=":host{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;contain:layout size style;z-index:0}.tabs-inner{position:relative;-ms-flex:1;flex:1;contain:layout size style}"}}]); \ No newline at end of file diff --git a/1709.421e16bf55ae69c6.js b/1709.421e16bf55ae69c6.js deleted file mode 100644 index 74fc2b55..00000000 --- a/1709.421e16bf55ae69c6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1709],{1709:($,C,d)=>{d.r(C),d.d(C,{ion_range:()=>U});var L=d(5861),r=d(1071),y=d(6038),R=d(479),h=d(2674),x=d(3357),_=d(5215),s=d(2997),l=d(7263);const U=class{constructor(t){var e=this;(0,r.r)(this,t),this.ionChange=(0,r.d)(this,"ionChange",7),this.ionInput=(0,r.d)(this,"ionInput",7),this.ionStyle=(0,r.d)(this,"ionStyle",7),this.ionFocus=(0,r.d)(this,"ionFocus",7),this.ionBlur=(0,r.d)(this,"ionBlur",7),this.ionKnobMoveStart=(0,r.d)(this,"ionKnobMoveStart",7),this.ionKnobMoveEnd=(0,r.d)(this,"ionKnobMoveEnd",7),this.rangeId="ion-r-"+W++,this.didLoad=!1,this.noUpdate=!1,this.hasFocus=!1,this.inheritedAttributes={},this.contentEl=null,this.initialContentScrollY=!0,this.hasLoggedDeprecationWarning=!1,this.clampBounds=n=>(0,h.l)(this.min,n,this.max),this.ensureValueInBounds=n=>this.dualKnobs?{lower:this.clampBounds(n.lower),upper:this.clampBounds(n.upper)}:this.clampBounds(n),this.setupGesture=(0,L.Z)(function*(){const n=e.rangeSlider;n&&(e.gesture=(yield Promise.resolve().then(d.bind(d,9531))).createGesture({el:n,gestureName:"range",gesturePriority:100,threshold:0,onStart:i=>e.onStart(i),onMove:i=>e.onMove(i),onEnd:i=>e.onEnd(i)}),e.gesture.enable(!e.disabled))}),this.handleKeyboard=(n,i)=>{const{ensureValueInBounds:a}=this;let o=this.step;o=o>0?o:1,o/=this.max-this.min,i||(o*=-1),"A"===n?this.ratioA=(0,h.l)(0,this.ratioA+o,1):this.ratioB=(0,h.l)(0,this.ratioB+o,1),this.ionKnobMoveStart.emit({value:a(this.value)}),this.updateValue(),this.emitValueChange(),this.ionKnobMoveEnd.emit({value:a(this.value)})},this.onBlur=()=>{this.hasFocus&&(this.hasFocus=!1,this.ionBlur.emit(),this.emitStyle())},this.onFocus=()=>{this.hasFocus||(this.hasFocus=!0,this.ionFocus.emit(),this.emitStyle())},this.ratioA=0,this.ratioB=0,this.pressedKnob=void 0,this.color=void 0,this.debounce=void 0,this.name=this.rangeId,this.label=void 0,this.dualKnobs=!1,this.min=0,this.max=100,this.pin=!1,this.pinFormatter=n=>Math.round(n),this.snaps=!1,this.step=1,this.ticks=!0,this.activeBarStart=void 0,this.disabled=!1,this.value=0,this.labelPlacement="start",this.legacy=void 0}debounceChanged(){const{ionInput:t,debounce:e,originalIonInput:n}=this;this.ionInput=void 0===e?n??t:(0,h.j)(t,e)}minChanged(){this.noUpdate||this.updateRatio()}maxChanged(){this.noUpdate||this.updateRatio()}activeBarStartChanged(){const{activeBarStart:t}=this;void 0!==t&&(t>this.max?((0,x.p)(`Range: The value of activeBarStart (${t}) is greater than the max (${this.max}). Valid values are greater than or equal to the min value and less than or equal to the max value.`,this.el),this.activeBarStart=this.max):t
Volume
\nExample with aria-label: \n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,x.p)('ion-range is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new range syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{el:t,pressedKnob:e,disabled:n,pin:i,rangeId:a}=this,o=(0,l.b)(this);return(0,h.d)(!0,t,this.name,JSON.stringify(this.getValue()),n),(0,r.h)(r.H,{onFocusin:this.onFocus,onFocusout:this.onBlur,id:a,class:(0,s.c)(this.color,{[o]:!0,"in-item":(0,s.h)("ion-item",t),"range-disabled":n,"range-pressed":void 0!==e,"range-has-pin":i,"legacy-range":!0})},(0,r.h)("slot",{name:"start"}),this.renderRangeSlider(),(0,r.h)("slot",{name:"end"}))}renderRange(){const{disabled:t,el:e,rangeId:n,pin:i,pressedKnob:a,labelPlacement:o,label:p}=this,w=(0,l.b)(this);return(0,h.d)(!0,e,this.name,JSON.stringify(this.getValue()),t),(0,r.h)(r.H,{onFocusin:this.onFocus,onFocusout:this.onBlur,id:n,class:(0,s.c)(this.color,{[w]:!0,"in-item":(0,s.h)("ion-item",e),"range-disabled":t,"range-pressed":void 0!==a,"range-has-pin":i,[`range-label-placement-${o}`]:!0})},(0,r.h)("label",{class:"range-wrapper",id:"range-label"},(0,r.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel}},void 0!==p?(0,r.h)("div",{class:"label-text"},p):(0,r.h)("slot",{name:"label"})),(0,r.h)("div",{class:"native-wrapper"},(0,r.h)("slot",{name:"start"}),this.renderRangeSlider(),(0,r.h)("slot",{name:"end"}))))}get hasLabel(){return void 0!==this.label||null!==this.el.querySelector('[slot="label"]')}renderRangeSlider(){var t;const{min:e,max:n,step:i,el:a,handleKeyboard:o,pressedKnob:p,disabled:w,pin:S,ratioLower:u,ratioUpper:f,inheritedAttributes:B,rangeId:F,pinFormatter:A}=this;let{labelText:k}=(0,h.e)(a,F);null==k&&(k=B["aria-label"]);let b=100*u+"%",m=100-100*f+"%";const K=(0,_.i)(this.el),I=K?"right":"left",N=c=>({[I]:c[I]});!1===this.dualKnobs&&(this.valA<(null!==(t=this.activeBarStart)&&void 0!==t?t:this.min)?(b=100*f+"%",m=100-100*u+"%"):(b=100*u+"%",m=100-100*f+"%"));const X={[I]:b,[K?"left":"right"]:m},O=[];if(this.snaps&&this.ticks)for(let c=e;c<=n;c+=i){const D=v(c,e,n),H=Math.min(u,f),Y=Math.max(u,f),j={ratio:D,active:D>=H&&D<=Y};j[I]=100*D+"%",O.push(j)}let T;return!this.legacyFormController.hasLegacyControl()&&this.hasLabel&&(T="range-label"),(0,r.h)("div",{class:"range-slider",ref:c=>this.rangeSlider=c},O.map(c=>(0,r.h)("div",{style:N(c),role:"presentation",class:{"range-tick":!0,"range-tick-active":c.active},part:c.active?"tick-active":"tick"})),(0,r.h)("div",{class:"range-bar-container"},(0,r.h)("div",{class:"range-bar",role:"presentation",part:"bar"}),(0,r.h)("div",{class:{"range-bar":!0,"range-bar-active":!0,"has-ticks":O.length>0},role:"presentation",style:X,part:"bar-active"})),V(K,{knob:"A",pressed:"A"===p,value:this.valA,ratio:this.ratioA,pin:S,pinFormatter:A,disabled:w,handleKeyboard:o,min:e,max:n,labelText:k,labelledBy:T}),this.dualKnobs&&V(K,{knob:"B",pressed:"B"===p,value:this.valB,ratio:this.ratioB,pin:S,pinFormatter:A,disabled:w,handleKeyboard:o,min:e,max:n,labelText:k,labelledBy:T}))}render(){const{legacyFormController:t}=this;return t.hasLegacyControl()?this.renderLegacyRange():this.renderRange()}get el(){return(0,r.f)(this)}static get watchers(){return{debounce:["debounceChanged"],min:["minChanged"],max:["maxChanged"],activeBarStart:["activeBarStartChanged"],disabled:["disabledChanged"],value:["valueChanged"]}}},V=(t,{knob:e,value:n,ratio:i,min:a,max:o,disabled:p,pressed:w,pin:S,handleKeyboard:u,labelText:f,labelledBy:B,pinFormatter:F})=>{const A=t?"right":"left";return(0,r.h)("div",{onKeyDown:b=>{const m=b.key;"ArrowLeft"===m||"ArrowDown"===m?(u(e,!1),b.preventDefault(),b.stopPropagation()):("ArrowRight"===m||"ArrowUp"===m)&&(u(e,!0),b.preventDefault(),b.stopPropagation())},class:{"range-knob-handle":!0,"range-knob-a":"A"===e,"range-knob-b":"B"===e,"range-knob-pressed":w,"range-knob-min":n===a,"range-knob-max":n===o,"ion-activatable":!0,"ion-focusable":!0},style:(()=>{const b={};return b[A]=100*i+"%",b})(),role:"slider",tabindex:p?-1:0,"aria-label":void 0===B?f:null,"aria-labelledby":void 0!==B?B:null,"aria-valuemin":a,"aria-valuemax":o,"aria-disabled":p?"true":null,"aria-valuenow":n},S&&(0,r.h)("div",{class:"range-pin",role:"presentation",part:"pin"},F(n)),(0,r.h)("div",{class:"range-knob",role:"presentation",part:"knob"}))},P=(t,e,n,i)=>{let a=(n-e)*t;return i>0&&(a=Math.round(a/i)*i+e),function E(t,...e){const n=Math.max(...e.map(i=>function g(t){return t%1==0?0:t.toString().split(".")[1].length}(i)));return Number(t.toFixed(n))}((0,h.l)(e,a,n),e,n,i)},v=(t,e,n)=>(0,h.l)(0,(t-e)/(n-e),1);let W=0;U.style={ios:":host{--knob-handle-size:calc(var(--knob-size) * 2);display:-ms-flexbox;display:flex;position:relative;-ms-flex:3;flex:3;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.range-disabled){pointer-events:none}::slotted(ion-label){-ms-flex:initial;flex:initial}::slotted(ion-icon[slot]){font-size:24px}.range-slider{position:relative;-ms-flex:1;flex:1;width:100%;height:var(--height);contain:size layout style;cursor:-webkit-grab;cursor:grab;-ms-touch-action:pan-y;touch-action:pan-y}:host(.range-pressed) .range-slider{cursor:-webkit-grabbing;cursor:grabbing}.range-pin{position:absolute;background:var(--ion-color-base);color:var(--ion-color-contrast);text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.range-knob-handle{top:calc((var(--height) - var(--knob-handle-size)) / 2);-webkit-margin-start:calc(0px - var(--knob-handle-size) / 2);margin-inline-start:calc(0px - var(--knob-handle-size) / 2);position:absolute;width:var(--knob-handle-size);height:var(--knob-handle-size);text-align:center}@supports (inset-inline-start: 0){.range-knob-handle{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-knob-handle{left:0}:host-context([dir=rtl]) .range-knob-handle{left:unset;right:unset;right:0}[dir=rtl] .range-knob-handle{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset;right:unset;right:0}}}:host-context([dir=rtl]) .range-knob-handle{left:unset}[dir=rtl] .range-knob-handle{left:unset}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset}}.range-knob-handle:active,.range-knob-handle:focus{outline:none}.range-bar-container{border-radius:var(--bar-border-radius);top:calc((var(--height) - var(--bar-height)) / 2);position:absolute;width:100%;height:var(--bar-height)}@supports (inset-inline-start: 0){.range-bar-container{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-bar-container{left:0}:host-context([dir=rtl]) .range-bar-container{left:unset;right:unset;right:0}[dir=rtl] .range-bar-container{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset;right:unset;right:0}}}:host-context([dir=rtl]) .range-bar-container{left:unset}[dir=rtl] .range-bar-container{left:unset}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset}}.range-bar{border-radius:var(--bar-border-radius);position:absolute;width:100%;height:var(--bar-height);background:var(--bar-background);pointer-events:none}.range-knob{border-radius:var(--knob-border-radius);top:calc(50% - var(--knob-size) / 2);position:absolute;width:var(--knob-size);height:var(--knob-size);background:var(--knob-background);-webkit-box-shadow:var(--knob-box-shadow);box-shadow:var(--knob-box-shadow);z-index:2;pointer-events:none}@supports (inset-inline-start: 0){.range-knob{inset-inline-start:calc(50% - var(--knob-size) / 2)}}@supports not (inset-inline-start: 0){.range-knob{left:calc(50% - var(--knob-size) / 2)}:host-context([dir=rtl]) .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}[dir=rtl] .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}}}:host-context([dir=rtl]) .range-knob{left:unset}[dir=rtl] .range-knob{left:unset}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset}}:host(.range-pressed) .range-bar-active{will-change:left, right}:host(.in-item){width:100%}:host([slot=start]),:host([slot=end]){width:auto}:host(.in-item) ::slotted(ion-label){-ms-flex-item-align:center;align-self:center}.range-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit}::slotted([slot=label]){max-width:200px;pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}:host(.range-label-placement-start) .range-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.range-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-end) .range-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.range-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host{--knob-border-radius:50%;--knob-background:#ffffff;--knob-box-shadow:0px 0.5px 4px rgba(0, 0, 0, 0.12), 0px 6px 13px rgba(0, 0, 0, 0.12);--knob-size:26px;--bar-height:4px;--bar-background:var(--ion-color-step-900, #e6e6e6);--bar-background-active:var(--ion-color-primary, #3880ff);--bar-border-radius:2px;--height:42px}:host(.legacy-range){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host(.ion-color) .range-bar-active,:host(.ion-color) .range-tick-active{background:var(--ion-color-base)}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-has-pin){padding-top:20px}.range-bar-active{bottom:0;width:auto;background:var(--bar-background-active)}.range-bar-active.has-ticks{border-radius:0;-webkit-margin-start:-2px;margin-inline-start:-2px;-webkit-margin-end:-2px;margin-inline-end:-2px}.range-tick{-webkit-margin-start:-2px;margin-inline-start:-2px;border-radius:0;position:absolute;top:17px;width:4px;height:8px;background:var(--ion-color-step-900, #e6e6e6);pointer-events:none}.range-tick-active{background:var(--bar-background-active)}.range-pin{-webkit-transform:translate3d(0, 28px, 0) scale(0.01);transform:translate3d(0, 28px, 0) scale(0.01);-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;display:inline-block;position:relative;top:-20px;min-width:28px;-webkit-transition:-webkit-transform 120ms ease;transition:-webkit-transform 120ms ease;transition:transform 120ms ease;transition:transform 120ms ease, -webkit-transform 120ms ease;background:transparent;color:var(--ion-text-color, #000);font-size:12px;text-align:center}.range-knob-pressed .range-pin,.range-knob-handle.ion-focused .range-pin{-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}:host(.range-disabled){opacity:0.3}",md:':host{--knob-handle-size:calc(var(--knob-size) * 2);display:-ms-flexbox;display:flex;position:relative;-ms-flex:3;flex:3;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.range-disabled){pointer-events:none}::slotted(ion-label){-ms-flex:initial;flex:initial}::slotted(ion-icon[slot]){font-size:24px}.range-slider{position:relative;-ms-flex:1;flex:1;width:100%;height:var(--height);contain:size layout style;cursor:-webkit-grab;cursor:grab;-ms-touch-action:pan-y;touch-action:pan-y}:host(.range-pressed) .range-slider{cursor:-webkit-grabbing;cursor:grabbing}.range-pin{position:absolute;background:var(--ion-color-base);color:var(--ion-color-contrast);text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.range-knob-handle{top:calc((var(--height) - var(--knob-handle-size)) / 2);-webkit-margin-start:calc(0px - var(--knob-handle-size) / 2);margin-inline-start:calc(0px - var(--knob-handle-size) / 2);position:absolute;width:var(--knob-handle-size);height:var(--knob-handle-size);text-align:center}@supports (inset-inline-start: 0){.range-knob-handle{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-knob-handle{left:0}:host-context([dir=rtl]) .range-knob-handle{left:unset;right:unset;right:0}[dir=rtl] .range-knob-handle{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset;right:unset;right:0}}}:host-context([dir=rtl]) .range-knob-handle{left:unset}[dir=rtl] .range-knob-handle{left:unset}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset}}.range-knob-handle:active,.range-knob-handle:focus{outline:none}.range-bar-container{border-radius:var(--bar-border-radius);top:calc((var(--height) - var(--bar-height)) / 2);position:absolute;width:100%;height:var(--bar-height)}@supports (inset-inline-start: 0){.range-bar-container{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-bar-container{left:0}:host-context([dir=rtl]) .range-bar-container{left:unset;right:unset;right:0}[dir=rtl] .range-bar-container{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset;right:unset;right:0}}}:host-context([dir=rtl]) .range-bar-container{left:unset}[dir=rtl] .range-bar-container{left:unset}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset}}.range-bar{border-radius:var(--bar-border-radius);position:absolute;width:100%;height:var(--bar-height);background:var(--bar-background);pointer-events:none}.range-knob{border-radius:var(--knob-border-radius);top:calc(50% - var(--knob-size) / 2);position:absolute;width:var(--knob-size);height:var(--knob-size);background:var(--knob-background);-webkit-box-shadow:var(--knob-box-shadow);box-shadow:var(--knob-box-shadow);z-index:2;pointer-events:none}@supports (inset-inline-start: 0){.range-knob{inset-inline-start:calc(50% - var(--knob-size) / 2)}}@supports not (inset-inline-start: 0){.range-knob{left:calc(50% - var(--knob-size) / 2)}:host-context([dir=rtl]) .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}[dir=rtl] .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}}}:host-context([dir=rtl]) .range-knob{left:unset}[dir=rtl] .range-knob{left:unset}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset}}:host(.range-pressed) .range-bar-active{will-change:left, right}:host(.in-item){width:100%}:host([slot=start]),:host([slot=end]){width:auto}:host(.in-item) ::slotted(ion-label){-ms-flex-item-align:center;align-self:center}.range-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit}::slotted([slot=label]){max-width:200px;pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}:host(.range-label-placement-start) .range-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.range-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-end) .range-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.range-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host{--knob-border-radius:50%;--knob-background:var(--bar-background-active);--knob-box-shadow:none;--knob-size:18px;--bar-height:2px;--bar-background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.26);--bar-background-active:var(--ion-color-primary, #3880ff);--bar-border-radius:0;--height:42px;--pin-background:var(--ion-color-primary, #3880ff);--pin-color:var(--ion-color-primary-contrast, #fff);font-size:12px}::slotted([slot=label]),.label-text{font-size:initial}:host(.legacy-range){-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px;padding-top:8px;padding-bottom:8px}:host(.ion-color) .range-bar{background:rgba(var(--ion-color-base-rgb), 0.26)}:host(.ion-color) .range-bar-active,:host(.ion-color) .range-knob,:host(.ion-color) .range-knob::before,:host(.ion-color) .range-pin,:host(.ion-color) .range-pin::before,:host(.ion-color) .range-tick{background:var(--ion-color-base);color:var(--ion-color-contrast)}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-has-pin){padding-top:28px}.range-bar-active{bottom:0;width:auto;background:var(--bar-background-active)}.range-knob{-webkit-transform:scale(0.67);transform:scale(0.67);-webkit-transition-duration:120ms;transition-duration:120ms;-webkit-transition-property:background-color, border, -webkit-transform;transition-property:background-color, border, -webkit-transform;transition-property:transform, background-color, border;transition-property:transform, background-color, border, -webkit-transform;-webkit-transition-timing-function:ease;transition-timing-function:ease;z-index:2}.range-knob::before{border-radius:50%;position:absolute;width:var(--knob-size);height:var(--knob-size);-webkit-transform:scale(1);transform:scale(1);-webkit-transition:0.267s cubic-bezier(0, 0, 0.58, 1);transition:0.267s cubic-bezier(0, 0, 0.58, 1);background:var(--knob-background);content:"";opacity:0.13;pointer-events:none}@supports (inset-inline-start: 0){.range-knob::before{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-knob::before{left:0}:host-context([dir=rtl]) .range-knob::before{left:unset;right:unset;right:0}[dir=rtl] .range-knob::before{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-knob::before:dir(rtl){left:unset;right:unset;right:0}}}.range-tick{position:absolute;top:calc((var(--height) - var(--bar-height)) / 2);width:var(--bar-height);height:var(--bar-height);background:var(--bar-background-active);z-index:1;pointer-events:none}.range-tick-active{background:transparent}.range-pin{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;border-radius:50%;-webkit-transform:translate3d(0, 0, 0) scale(0.01);transform:translate3d(0, 0, 0) scale(0.01);display:inline-block;position:relative;min-width:28px;height:28px;-webkit-transition:background 120ms ease, -webkit-transform 120ms ease;transition:background 120ms ease, -webkit-transform 120ms ease;transition:transform 120ms ease, background 120ms ease;transition:transform 120ms ease, background 120ms ease, -webkit-transform 120ms ease;background:var(--pin-background);color:var(--pin-color);text-align:center}.range-pin::before{top:3px;-webkit-margin-start:-13px;margin-inline-start:-13px;border-radius:50% 50% 50% 0;position:absolute;width:26px;height:26px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transition:background 120ms ease;transition:background 120ms ease;background:var(--pin-background);content:"";z-index:-1}@supports (inset-inline-start: 0){.range-pin::before{inset-inline-start:50%}}@supports not (inset-inline-start: 0){.range-pin::before{left:50%}:host-context([dir=rtl]) .range-pin::before{left:unset;right:unset;right:50%}[dir=rtl] .range-pin::before{left:unset;right:unset;right:50%}@supports selector(:dir(rtl)){.range-pin::before:dir(rtl){left:unset;right:unset;right:50%}}}:host-context([dir=rtl]) .range-pin::before{left:unset}[dir=rtl] .range-pin::before{left:unset}@supports selector(:dir(rtl)){.range-pin::before:dir(rtl){left:unset}}.range-knob-pressed .range-pin,.range-knob-handle.ion-focused .range-pin{-webkit-transform:translate3d(0, -24px, 0) scale(1);transform:translate3d(0, -24px, 0) scale(1)}@media (any-hover: hover){.range-knob-handle:hover .range-knob:before{-webkit-transform:scale(2);transform:scale(2);opacity:0.13}}.range-knob-handle.ion-activated .range-knob:before,.range-knob-handle.ion-focused .range-knob:before,.range-knob-handle.range-knob-pressed .range-knob:before{-webkit-transform:scale(2);transform:scale(2)}.range-knob-handle.ion-focused .range-knob::before{opacity:0.13}.range-knob-handle.ion-activated .range-knob::before,.range-knob-handle.range-knob-pressed .range-knob::before{opacity:0.25}:host(:not(.range-has-pin)) .range-knob-pressed .range-knob,:host(:not(.range-has-pin)) .range-knob-handle.ion-focused .range-knob{-webkit-transform:scale(1);transform:scale(1)}:host(.range-disabled) .range-bar-active,:host(.range-disabled) .range-bar,:host(.range-disabled) .range-tick{background-color:var(--ion-color-step-250, #bfbfbf)}:host(.range-disabled) .range-knob{-webkit-transform:scale(0.55);transform:scale(0.55);outline:5px solid #fff;background-color:var(--ion-color-step-250, #bfbfbf)}:host(.range-disabled) .label-text-wrapper,:host(.range-disabled) ::slotted([slot=start]),:host(.range-disabled) ::slotted([slot=end]){opacity:0.38}'}},2997:($,C,d)=>{d.d(C,{c:()=>y,g:()=>h,h:()=>r,o:()=>_});var L=d(5861);const r=(s,l)=>null!==l.closest(s),y=(s,l)=>"string"==typeof s&&s.length>0?Object.assign({"ion-color":!0,[`ion-color-${s}`]:!0},l):l,h=s=>{const l={};return(s=>void 0!==s?(Array.isArray(s)?s:s.split(" ")).filter(g=>null!=g).map(g=>g.trim()).filter(g=>""!==g):[])(s).forEach(g=>l[g]=!0),l},x=/^[a-z][a-z0-9+\-.]*:/,_=function(){var s=(0,L.Z)(function*(l,g,E,M){if(null!=l&&"#"!==l[0]&&!x.test(l)){const z=document.querySelector("ion-router");if(z)return g?.preventDefault(),z.push(l,E,M)}return!1});return function(g,E,M,z){return s.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/1709.6b94ec3dfc7bea57.js b/1709.6b94ec3dfc7bea57.js new file mode 100644 index 00000000..bc50dfe1 --- /dev/null +++ b/1709.6b94ec3dfc7bea57.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1709],{1709:($,M,d)=>{d.r(M),d.d(M,{ion_range:()=>T});var L=d(5861),r=d(408),C=d(4253),P=d(8134),h=d(2961),y=d(8909),S=d(6879),s=d(3814),l=d(4649);const T=class{constructor(t){var e=this;(0,r.r)(this,t),this.ionChange=(0,r.d)(this,"ionChange",7),this.ionInput=(0,r.d)(this,"ionInput",7),this.ionStyle=(0,r.d)(this,"ionStyle",7),this.ionFocus=(0,r.d)(this,"ionFocus",7),this.ionBlur=(0,r.d)(this,"ionBlur",7),this.ionKnobMoveStart=(0,r.d)(this,"ionKnobMoveStart",7),this.ionKnobMoveEnd=(0,r.d)(this,"ionKnobMoveEnd",7),this.rangeId="ion-r-"+W++,this.didLoad=!1,this.noUpdate=!1,this.hasFocus=!1,this.inheritedAttributes={},this.contentEl=null,this.initialContentScrollY=!0,this.hasLoggedDeprecationWarning=!1,this.clampBounds=n=>(0,h.l)(this.min,n,this.max),this.ensureValueInBounds=n=>this.dualKnobs?{lower:this.clampBounds(n.lower),upper:this.clampBounds(n.upper)}:this.clampBounds(n),this.setupGesture=(0,L.Z)(function*(){const n=e.rangeSlider;n&&(e.gesture=(yield Promise.resolve().then(d.bind(d,5067))).createGesture({el:n,gestureName:"range",gesturePriority:100,threshold:0,onStart:a=>e.onStart(a),onMove:a=>e.onMove(a),onEnd:a=>e.onEnd(a)}),e.gesture.enable(!e.disabled))}),this.handleKeyboard=(n,a)=>{const{ensureValueInBounds:i}=this;let o=this.step;o=o>0?o:1,o/=this.max-this.min,a||(o*=-1),"A"===n?this.ratioA=(0,h.l)(0,this.ratioA+o,1):this.ratioB=(0,h.l)(0,this.ratioB+o,1),this.ionKnobMoveStart.emit({value:i(this.value)}),this.updateValue(),this.emitValueChange(),this.ionKnobMoveEnd.emit({value:i(this.value)})},this.onBlur=()=>{this.hasFocus&&(this.hasFocus=!1,this.ionBlur.emit(),this.emitStyle())},this.onFocus=()=>{this.hasFocus||(this.hasFocus=!0,this.ionFocus.emit(),this.emitStyle())},this.ratioA=0,this.ratioB=0,this.pressedKnob=void 0,this.color=void 0,this.debounce=void 0,this.name=this.rangeId,this.label=void 0,this.dualKnobs=!1,this.min=0,this.max=100,this.pin=!1,this.pinFormatter=n=>Math.round(n),this.snaps=!1,this.step=1,this.ticks=!0,this.activeBarStart=void 0,this.disabled=!1,this.value=0,this.labelPlacement="start",this.legacy=void 0}debounceChanged(){const{ionInput:t,debounce:e,originalIonInput:n}=this;this.ionInput=void 0===e?n??t:(0,h.j)(t,e)}minChanged(){this.noUpdate||this.updateRatio()}maxChanged(){this.noUpdate||this.updateRatio()}activeBarStartChanged(){const{activeBarStart:t}=this;void 0!==t&&(t>this.max?((0,y.p)(`Range: The value of activeBarStart (${t}) is greater than the max (${this.max}). Valid values are greater than or equal to the min value and less than or equal to the max value.`,this.el),this.activeBarStart=this.max):t
Volume
\nExample with aria-label: \n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,y.p)('ion-range is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new range syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{el:t,pressedKnob:e,disabled:n,pin:a,rangeId:i}=this,o=(0,l.b)(this);return(0,h.d)(!0,t,this.name,JSON.stringify(this.getValue()),n),(0,r.h)(r.H,{onFocusin:this.onFocus,onFocusout:this.onBlur,id:i,class:(0,s.c)(this.color,{[o]:!0,"in-item":(0,s.h)("ion-item",t),"range-disabled":n,"range-pressed":void 0!==e,"range-has-pin":a,"legacy-range":!0})},(0,r.h)("slot",{name:"start"}),this.renderRangeSlider(),(0,r.h)("slot",{name:"end"}))}get hasStartSlotContent(){return null!==this.el.querySelector('[slot="start"]')}get hasEndSlotContent(){return null!==this.el.querySelector('[slot="end"]')}renderRange(){const{disabled:t,el:e,hasLabel:n,rangeId:a,pin:i,pressedKnob:o,labelPlacement:p,label:k}=this,f=(0,s.h)("ion-item",e),m=f&&!(n&&("start"===p||"fixed"===p)||this.hasStartSlotContent),E=f&&!(n&&"end"===p||this.hasEndSlotContent),z=(0,l.b)(this);return(0,h.d)(!0,e,this.name,JSON.stringify(this.getValue()),t),(0,r.h)(r.H,{onFocusin:this.onFocus,onFocusout:this.onBlur,id:a,class:(0,s.c)(this.color,{[z]:!0,"in-item":f,"range-disabled":t,"range-pressed":void 0!==o,"range-has-pin":i,[`range-label-placement-${p}`]:!0,"range-item-start-adjustment":m,"range-item-end-adjustment":E})},(0,r.h)("label",{class:"range-wrapper",id:"range-label"},(0,r.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!n},part:"label"},void 0!==k?(0,r.h)("div",{class:"label-text"},k):(0,r.h)("slot",{name:"label"})),(0,r.h)("div",{class:"native-wrapper"},(0,r.h)("slot",{name:"start"}),this.renderRangeSlider(),(0,r.h)("slot",{name:"end"}))))}get hasLabel(){return void 0!==this.label||null!==this.el.querySelector('[slot="label"]')}renderRangeSlider(){var t;const{min:e,max:n,step:a,el:i,handleKeyboard:o,pressedKnob:p,disabled:k,pin:f,ratioLower:u,ratioUpper:m,inheritedAttributes:v,rangeId:E,pinFormatter:z}=this;let{labelText:w}=(0,h.e)(i,E);null==w&&(w=v["aria-label"]);let b=100*u+"%",x=100-100*m+"%";const I=(0,S.i)(this.el),D=I?"right":"left",N=c=>({[D]:c[D]});!1===this.dualKnobs&&(this.valA<(null!==(t=this.activeBarStart)&&void 0!==t?t:this.min)?(b=100*m+"%",x=100-100*u+"%"):(b=100*u+"%",x=100-100*m+"%"));const X={[D]:b,[I?"left":"right"]:x},F=[];if(this.snaps&&this.ticks)for(let c=e;c<=n;c+=a){const R=_(c,e,n),H=Math.min(u,m),Y=Math.max(u,m),V={ratio:R,active:R>=H&&R<=Y};V[D]=100*R+"%",F.push(V)}let O;return!this.legacyFormController.hasLegacyControl()&&this.hasLabel&&(O="range-label"),(0,r.h)("div",{class:"range-slider",ref:c=>this.rangeSlider=c},F.map(c=>(0,r.h)("div",{style:N(c),role:"presentation",class:{"range-tick":!0,"range-tick-active":c.active},part:c.active?"tick-active":"tick"})),(0,r.h)("div",{class:"range-bar-container"},(0,r.h)("div",{class:"range-bar",role:"presentation",part:"bar"}),(0,r.h)("div",{class:{"range-bar":!0,"range-bar-active":!0,"has-ticks":F.length>0},role:"presentation",style:X,part:"bar-active"})),U(I,{knob:"A",pressed:"A"===p,value:this.valA,ratio:this.ratioA,pin:f,pinFormatter:z,disabled:k,handleKeyboard:o,min:e,max:n,labelText:w,labelledBy:O}),this.dualKnobs&&U(I,{knob:"B",pressed:"B"===p,value:this.valB,ratio:this.ratioB,pin:f,pinFormatter:z,disabled:k,handleKeyboard:o,min:e,max:n,labelText:w,labelledBy:O}))}render(){const{legacyFormController:t}=this;return t.hasLegacyControl()?this.renderLegacyRange():this.renderRange()}get el(){return(0,r.f)(this)}static get watchers(){return{debounce:["debounceChanged"],min:["minChanged"],max:["maxChanged"],activeBarStart:["activeBarStartChanged"],disabled:["disabledChanged"],value:["valueChanged"]}}},U=(t,{knob:e,value:n,ratio:a,min:i,max:o,disabled:p,pressed:k,pin:f,handleKeyboard:u,labelText:m,labelledBy:v,pinFormatter:E})=>{const z=t?"right":"left";return(0,r.h)("div",{onKeyDown:b=>{const x=b.key;"ArrowLeft"===x||"ArrowDown"===x?(u(e,!1),b.preventDefault(),b.stopPropagation()):("ArrowRight"===x||"ArrowUp"===x)&&(u(e,!0),b.preventDefault(),b.stopPropagation())},class:{"range-knob-handle":!0,"range-knob-a":"A"===e,"range-knob-b":"B"===e,"range-knob-pressed":k,"range-knob-min":n===i,"range-knob-max":n===o,"ion-activatable":!0,"ion-focusable":!0},style:(()=>{const b={};return b[z]=100*a+"%",b})(),role:"slider",tabindex:p?-1:0,"aria-label":void 0===v?m:null,"aria-labelledby":void 0!==v?v:null,"aria-valuemin":i,"aria-valuemax":o,"aria-disabled":p?"true":null,"aria-valuenow":n},f&&(0,r.h)("div",{class:"range-pin",role:"presentation",part:"pin"},E(n)),(0,r.h)("div",{class:"range-knob",role:"presentation",part:"knob"}))},j=(t,e,n,a)=>{let i=(n-e)*t;return a>0&&(i=Math.round(i/a)*a+e),function A(t,...e){const n=Math.max(...e.map(a=>function g(t){return t%1==0?0:t.toString().split(".")[1].length}(a)));return Number(t.toFixed(n))}((0,h.l)(e,i,n),e,n,a)},_=(t,e,n)=>(0,h.l)(0,(t-e)/(n-e),1);let W=0;T.style={ios:":host{--knob-handle-size:calc(var(--knob-size) * 2);display:-ms-flexbox;display:flex;position:relative;-ms-flex:3;flex:3;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.range-disabled){pointer-events:none}::slotted(ion-label){-ms-flex:initial;flex:initial}::slotted(ion-icon[slot]){font-size:24px}.range-slider{position:relative;-ms-flex:1;flex:1;width:100%;height:var(--height);contain:size layout style;cursor:-webkit-grab;cursor:grab;-ms-touch-action:pan-y;touch-action:pan-y}:host(.range-pressed) .range-slider{cursor:-webkit-grabbing;cursor:grabbing}.range-pin{position:absolute;background:var(--ion-color-base);color:var(--ion-color-contrast);text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.range-knob-handle{top:calc((var(--height) - var(--knob-handle-size)) / 2);-webkit-margin-start:calc(0px - var(--knob-handle-size) / 2);margin-inline-start:calc(0px - var(--knob-handle-size) / 2);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-pack:center;justify-content:center;width:var(--knob-handle-size);height:var(--knob-handle-size);text-align:center}@supports (inset-inline-start: 0){.range-knob-handle{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-knob-handle{left:0}:host-context([dir=rtl]) .range-knob-handle{left:unset;right:unset;right:0}[dir=rtl] .range-knob-handle{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset;right:unset;right:0}}}:host-context([dir=rtl]) .range-knob-handle{left:unset}[dir=rtl] .range-knob-handle{left:unset}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset}}.range-knob-handle:active,.range-knob-handle:focus{outline:none}.range-bar-container{border-radius:var(--bar-border-radius);top:calc((var(--height) - var(--bar-height)) / 2);position:absolute;width:100%;height:var(--bar-height)}@supports (inset-inline-start: 0){.range-bar-container{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-bar-container{left:0}:host-context([dir=rtl]) .range-bar-container{left:unset;right:unset;right:0}[dir=rtl] .range-bar-container{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset;right:unset;right:0}}}:host-context([dir=rtl]) .range-bar-container{left:unset}[dir=rtl] .range-bar-container{left:unset}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset}}.range-bar{border-radius:var(--bar-border-radius);position:absolute;width:100%;height:var(--bar-height);background:var(--bar-background);pointer-events:none}.range-knob{border-radius:var(--knob-border-radius);top:calc(50% - var(--knob-size) / 2);position:absolute;width:var(--knob-size);height:var(--knob-size);background:var(--knob-background);-webkit-box-shadow:var(--knob-box-shadow);box-shadow:var(--knob-box-shadow);z-index:2;pointer-events:none}@supports (inset-inline-start: 0){.range-knob{inset-inline-start:calc(50% - var(--knob-size) / 2)}}@supports not (inset-inline-start: 0){.range-knob{left:calc(50% - var(--knob-size) / 2)}:host-context([dir=rtl]) .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}[dir=rtl] .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}}}:host-context([dir=rtl]) .range-knob{left:unset}[dir=rtl] .range-knob{left:unset}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset}}:host(.range-pressed) .range-bar-active{will-change:left, right}:host(.in-item){width:100%}:host([slot=start]),:host([slot=end]){width:auto}:host(.in-item) ::slotted(ion-label){-ms-flex-item-align:center;align-self:center}.range-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit}::slotted([slot=label]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}:host(.range-label-placement-start) .range-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.range-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-end) .range-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.range-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.range-label-placement-stacked) .range-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}:host(.range-label-placement-stacked) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host-context([dir=rtl]):host(.range-label-placement-stacked) .label-text-wrapper,:host-context([dir=rtl]).range-label-placement-stacked .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.range-label-placement-stacked:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.in-item.range-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.range-label-placement-stacked) .native-wrapper{margin-bottom:0px}:host{--knob-border-radius:50%;--knob-background:#ffffff;--knob-box-shadow:0px 0.5px 4px rgba(0, 0, 0, 0.12), 0px 6px 13px rgba(0, 0, 0, 0.12);--knob-size:26px;--bar-height:4px;--bar-background:var(--ion-color-step-900, #e6e6e6);--bar-background-active:var(--ion-color-primary, #3880ff);--bar-border-radius:2px;--height:42px}:host(.legacy-range){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host(.range-item-start-adjustment){-webkit-padding-start:24px;padding-inline-start:24px}:host(.range-item-end-adjustment){-webkit-padding-end:24px;padding-inline-end:24px}:host(.ion-color) .range-bar-active,:host(.ion-color) .range-tick-active{background:var(--ion-color-base)}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-has-pin:not(.range-label-placement-stacked)){padding-top:calc(8px + 0.75rem)}:host(.range-has-pin.range-label-placement-stacked) .label-text-wrapper{margin-bottom:calc(8px + 0.75rem)}.range-bar-active{bottom:0;width:auto;background:var(--bar-background-active)}.range-bar-active.has-ticks{border-radius:0;-webkit-margin-start:-2px;margin-inline-start:-2px;-webkit-margin-end:-2px;margin-inline-end:-2px}.range-tick{-webkit-margin-start:-2px;margin-inline-start:-2px;border-radius:0;position:absolute;top:17px;width:4px;height:8px;background:var(--ion-color-step-900, #e6e6e6);pointer-events:none}.range-tick-active{background:var(--bar-background-active)}.range-pin{-webkit-transform:translate3d(0, 100%, 0) scale(0.01);transform:translate3d(0, 100%, 0) scale(0.01);-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;min-width:28px;-webkit-transition:-webkit-transform 120ms ease;transition:-webkit-transform 120ms ease;transition:transform 120ms ease;transition:transform 120ms ease, -webkit-transform 120ms ease;background:transparent;color:var(--ion-text-color, #000);font-size:0.75rem;text-align:center}.range-knob-pressed .range-pin,.range-knob-handle.ion-focused .range-pin{-webkit-transform:translate3d(0, calc(-100% + 11px), 0) scale(1);transform:translate3d(0, calc(-100% + 11px), 0) scale(1)}:host(.range-disabled){opacity:0.3}",md:':host{--knob-handle-size:calc(var(--knob-size) * 2);display:-ms-flexbox;display:flex;position:relative;-ms-flex:3;flex:3;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.range-disabled){pointer-events:none}::slotted(ion-label){-ms-flex:initial;flex:initial}::slotted(ion-icon[slot]){font-size:24px}.range-slider{position:relative;-ms-flex:1;flex:1;width:100%;height:var(--height);contain:size layout style;cursor:-webkit-grab;cursor:grab;-ms-touch-action:pan-y;touch-action:pan-y}:host(.range-pressed) .range-slider{cursor:-webkit-grabbing;cursor:grabbing}.range-pin{position:absolute;background:var(--ion-color-base);color:var(--ion-color-contrast);text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.range-knob-handle{top:calc((var(--height) - var(--knob-handle-size)) / 2);-webkit-margin-start:calc(0px - var(--knob-handle-size) / 2);margin-inline-start:calc(0px - var(--knob-handle-size) / 2);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-pack:center;justify-content:center;width:var(--knob-handle-size);height:var(--knob-handle-size);text-align:center}@supports (inset-inline-start: 0){.range-knob-handle{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-knob-handle{left:0}:host-context([dir=rtl]) .range-knob-handle{left:unset;right:unset;right:0}[dir=rtl] .range-knob-handle{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset;right:unset;right:0}}}:host-context([dir=rtl]) .range-knob-handle{left:unset}[dir=rtl] .range-knob-handle{left:unset}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset}}.range-knob-handle:active,.range-knob-handle:focus{outline:none}.range-bar-container{border-radius:var(--bar-border-radius);top:calc((var(--height) - var(--bar-height)) / 2);position:absolute;width:100%;height:var(--bar-height)}@supports (inset-inline-start: 0){.range-bar-container{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-bar-container{left:0}:host-context([dir=rtl]) .range-bar-container{left:unset;right:unset;right:0}[dir=rtl] .range-bar-container{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset;right:unset;right:0}}}:host-context([dir=rtl]) .range-bar-container{left:unset}[dir=rtl] .range-bar-container{left:unset}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset}}.range-bar{border-radius:var(--bar-border-radius);position:absolute;width:100%;height:var(--bar-height);background:var(--bar-background);pointer-events:none}.range-knob{border-radius:var(--knob-border-radius);top:calc(50% - var(--knob-size) / 2);position:absolute;width:var(--knob-size);height:var(--knob-size);background:var(--knob-background);-webkit-box-shadow:var(--knob-box-shadow);box-shadow:var(--knob-box-shadow);z-index:2;pointer-events:none}@supports (inset-inline-start: 0){.range-knob{inset-inline-start:calc(50% - var(--knob-size) / 2)}}@supports not (inset-inline-start: 0){.range-knob{left:calc(50% - var(--knob-size) / 2)}:host-context([dir=rtl]) .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}[dir=rtl] .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}}}:host-context([dir=rtl]) .range-knob{left:unset}[dir=rtl] .range-knob{left:unset}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset}}:host(.range-pressed) .range-bar-active{will-change:left, right}:host(.in-item){width:100%}:host([slot=start]),:host([slot=end]){width:auto}:host(.in-item) ::slotted(ion-label){-ms-flex-item-align:center;align-self:center}.range-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit}::slotted([slot=label]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}:host(.range-label-placement-start) .range-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.range-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-end) .range-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.range-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.range-label-placement-stacked) .range-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}:host(.range-label-placement-stacked) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host-context([dir=rtl]):host(.range-label-placement-stacked) .label-text-wrapper,:host-context([dir=rtl]).range-label-placement-stacked .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.range-label-placement-stacked:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.in-item.range-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.range-label-placement-stacked) .native-wrapper{margin-bottom:0px}:host{--knob-border-radius:50%;--knob-background:var(--bar-background-active);--knob-box-shadow:none;--knob-size:18px;--bar-height:2px;--bar-background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.26);--bar-background-active:var(--ion-color-primary, #3880ff);--bar-border-radius:0;--height:42px;--pin-background:var(--ion-color-primary, #3880ff);--pin-color:var(--ion-color-primary-contrast, #fff)}:host(.legacy-range) ::slotted([slot=label]){font-size:initial}:host(:not(.legacy-range)) ::slotted(:not(ion-icon)[slot=start]),:host(:not(.legacy-range)) ::slotted(:not(ion-icon)[slot=end]),:host(:not(.legacy-range)) .native-wrapper{font-size:0.75rem}:host(.legacy-range){-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px;padding-top:8px;padding-bottom:8px;font-size:0.75rem}:host(.range-item-start-adjustment){-webkit-padding-start:18px;padding-inline-start:18px}:host(.range-item-end-adjustment){-webkit-padding-end:18px;padding-inline-end:18px}:host(.ion-color) .range-bar{background:rgba(var(--ion-color-base-rgb), 0.26)}:host(.ion-color) .range-bar-active,:host(.ion-color) .range-knob,:host(.ion-color) .range-knob::before,:host(.ion-color) .range-pin,:host(.ion-color) .range-pin::before,:host(.ion-color) .range-tick{background:var(--ion-color-base);color:var(--ion-color-contrast)}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-has-pin:not(.range-label-placement-stacked)){padding-top:1.75rem}:host(.range-has-pin.range-label-placement-stacked) .label-text-wrapper{margin-bottom:1.75rem}.range-bar-active{bottom:0;width:auto;background:var(--bar-background-active)}.range-knob{-webkit-transform:scale(0.67);transform:scale(0.67);-webkit-transition-duration:120ms;transition-duration:120ms;-webkit-transition-property:background-color, border, -webkit-transform;transition-property:background-color, border, -webkit-transform;transition-property:transform, background-color, border;transition-property:transform, background-color, border, -webkit-transform;-webkit-transition-timing-function:ease;transition-timing-function:ease;z-index:2}.range-knob::before{border-radius:50%;position:absolute;width:var(--knob-size);height:var(--knob-size);-webkit-transform:scale(1);transform:scale(1);-webkit-transition:0.267s cubic-bezier(0, 0, 0.58, 1);transition:0.267s cubic-bezier(0, 0, 0.58, 1);background:var(--knob-background);content:"";opacity:0.13;pointer-events:none}@supports (inset-inline-start: 0){.range-knob::before{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-knob::before{left:0}:host-context([dir=rtl]) .range-knob::before{left:unset;right:unset;right:0}[dir=rtl] .range-knob::before{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-knob::before:dir(rtl){left:unset;right:unset;right:0}}}.range-tick{position:absolute;top:calc((var(--height) - var(--bar-height)) / 2);width:var(--bar-height);height:var(--bar-height);background:var(--bar-background-active);z-index:1;pointer-events:none}.range-tick-active{background:transparent}.range-pin{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;border-radius:50%;-webkit-transform:translate3d(0, 0, 0) scale(0.01);transform:translate3d(0, 0, 0) scale(0.01);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:1.75rem;height:1.75rem;-webkit-transition:background 120ms ease, -webkit-transform 120ms ease;transition:background 120ms ease, -webkit-transform 120ms ease;transition:transform 120ms ease, background 120ms ease;transition:transform 120ms ease, background 120ms ease, -webkit-transform 120ms ease;background:var(--pin-background);color:var(--pin-color)}.range-pin::before{bottom:-1px;-webkit-margin-start:-13px;margin-inline-start:-13px;border-radius:50% 50% 50% 0;position:absolute;width:26px;height:26px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transition:background 120ms ease;transition:background 120ms ease;background:var(--pin-background);content:"";z-index:-1}@supports (inset-inline-start: 0){.range-pin::before{inset-inline-start:50%}}@supports not (inset-inline-start: 0){.range-pin::before{left:50%}:host-context([dir=rtl]) .range-pin::before{left:unset;right:unset;right:50%}[dir=rtl] .range-pin::before{left:unset;right:unset;right:50%}@supports selector(:dir(rtl)){.range-pin::before:dir(rtl){left:unset;right:unset;right:50%}}}:host-context([dir=rtl]) .range-pin::before{left:unset}[dir=rtl] .range-pin::before{left:unset}@supports selector(:dir(rtl)){.range-pin::before:dir(rtl){left:unset}}.range-knob-pressed .range-pin,.range-knob-handle.ion-focused .range-pin{-webkit-transform:translate3d(0, calc(-100% + 4px), 0) scale(1);transform:translate3d(0, calc(-100% + 4px), 0) scale(1)}@media (any-hover: hover){.range-knob-handle:hover .range-knob:before{-webkit-transform:scale(2);transform:scale(2);opacity:0.13}}.range-knob-handle.ion-activated .range-knob:before,.range-knob-handle.ion-focused .range-knob:before,.range-knob-handle.range-knob-pressed .range-knob:before{-webkit-transform:scale(2);transform:scale(2)}.range-knob-handle.ion-focused .range-knob::before{opacity:0.13}.range-knob-handle.ion-activated .range-knob::before,.range-knob-handle.range-knob-pressed .range-knob::before{opacity:0.25}:host(:not(.range-has-pin)) .range-knob-pressed .range-knob,:host(:not(.range-has-pin)) .range-knob-handle.ion-focused .range-knob{-webkit-transform:scale(1);transform:scale(1)}:host(.range-disabled) .range-bar-active,:host(.range-disabled) .range-bar,:host(.range-disabled) .range-tick{background-color:var(--ion-color-step-250, #bfbfbf)}:host(.range-disabled) .range-knob{-webkit-transform:scale(0.55);transform:scale(0.55);outline:5px solid #fff;background-color:var(--ion-color-step-250, #bfbfbf)}:host(.range-disabled) .label-text-wrapper,:host(.range-disabled) ::slotted([slot=start]),:host(.range-disabled) ::slotted([slot=end]){opacity:0.38}'}},3814:($,M,d)=>{d.d(M,{c:()=>C,g:()=>h,h:()=>r,o:()=>S});var L=d(5861);const r=(s,l)=>null!==l.closest(s),C=(s,l)=>"string"==typeof s&&s.length>0?Object.assign({"ion-color":!0,[`ion-color-${s}`]:!0},l):l,h=s=>{const l={};return(s=>void 0!==s?(Array.isArray(s)?s:s.split(" ")).filter(g=>null!=g).map(g=>g.trim()).filter(g=>""!==g):[])(s).forEach(g=>l[g]=!0),l},y=/^[a-z][a-z0-9+\-.]*:/,S=function(){var s=(0,L.Z)(function*(l,g,A,K){if(null!=l&&"#"!==l[0]&&!y.test(l)){const B=document.querySelector("ion-router");if(B)return g?.preventDefault(),B.push(l,A,K)}return!1});return function(g,A,K,B){return s.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/2073.a218cc2f0db2199a.js b/2073.a218cc2f0db2199a.js deleted file mode 100644 index 92377cad..00000000 --- a/2073.a218cc2f0db2199a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2073],{2073:(k,p,i)=>{i.r(p),i.d(p,{ion_back_button:()=>t});var g=i(5861),e=i(1071),h=i(2674),c=i(2997),u=i(6026),r=i(7263);const t=class{constructor(n){var a=this;(0,e.r)(this,n),this.inheritedAttributes={},this.onClick=function(){var d=(0,g.Z)(function*(s){const l=a.el.closest("ion-nav");return s.preventDefault(),l&&(yield l.canGoBack())?l.pop({animationBuilder:a.routerAnimation,skipIfBusy:!0}):(0,c.o)(a.defaultHref,s,"back",a.routerAnimation)});return function(s){return d.apply(this,arguments)}}(),this.color=void 0,this.defaultHref=void 0,this.disabled=!1,this.icon=void 0,this.text=void 0,this.type="button",this.routerAnimation=void 0}componentWillLoad(){this.inheritedAttributes=(0,h.i)(this.el),void 0===this.defaultHref&&(this.defaultHref=r.c.get("backButtonDefaultHref"))}get backButtonIcon(){return this.icon??("ios"===(0,r.b)(this)?r.c.get("backButtonIcon",u.c):r.c.get("backButtonIcon",u.a))}get backButtonText(){const n="ios"===(0,r.b)(this)?"Back":null;return null!=this.text?this.text:r.c.get("backButtonText",n)}get hasIconOnly(){return this.backButtonIcon&&!this.backButtonText}get rippleType(){return this.hasIconOnly?"unbounded":"bounded"}render(){const{color:n,defaultHref:a,disabled:d,type:s,hasIconOnly:l,backButtonIcon:v,backButtonText:m,icon:x,inheritedAttributes:y}=this,w=void 0!==a,f=(0,r.b)(this),_=y["aria-label"]||m||"back";return(0,e.h)(e.H,{onClick:this.onClick,class:(0,c.c)(n,{[f]:!0,button:!0,"back-button-disabled":d,"back-button-has-icon-only":l,"in-toolbar":(0,c.h)("ion-toolbar",this.el),"in-toolbar-color":(0,c.h)("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0,"show-back-button":w})},(0,e.h)("button",{type:s,disabled:d,class:"button-native",part:"native","aria-label":_},(0,e.h)("span",{class:"button-inner"},v&&(0,e.h)("ion-icon",{part:"icon",icon:v,"aria-hidden":"true",lazy:!1,"flip-rtl":void 0===x}),m&&(0,e.h)("span",{part:"text","aria-hidden":"true",class:"button-text"},m)),"md"===f&&(0,e.h)("ion-ripple-effect",{type:this.rippleType})))}get el(){return(0,e.f)(this)}};t.style={ios:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--icon-margin-end:1px;--icon-margin-start:-4px;--icon-font-size:1.6em;--min-height:32px;font-size:17px}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}',md:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:24px;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:14px;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;height:48px}.button-native{-webkit-box-shadow:none;box-shadow:none}.button-text{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}'}},2997:(k,p,i)=>{i.d(p,{c:()=>h,g:()=>u,h:()=>e,o:()=>b});var g=i(5861);const e=(o,t)=>null!==t.closest(o),h=(o,t)=>"string"==typeof o&&o.length>0?Object.assign({"ion-color":!0,[`ion-color-${o}`]:!0},t):t,u=o=>{const t={};return(o=>void 0!==o?(Array.isArray(o)?o:o.split(" ")).filter(n=>null!=n).map(n=>n.trim()).filter(n=>""!==n):[])(o).forEach(n=>t[n]=!0),t},r=/^[a-z][a-z0-9+\-.]*:/,b=function(){var o=(0,g.Z)(function*(t,n,a,d){if(null!=t&&"#"!==t[0]&&!r.test(t)){const s=document.querySelector("ion-router");if(s)return n?.preventDefault(),s.push(t,a,d)}return!1});return function(n,a,d,s){return o.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/2073.ef6300b544b1f1bc.js b/2073.ef6300b544b1f1bc.js new file mode 100644 index 00000000..0f598acf --- /dev/null +++ b/2073.ef6300b544b1f1bc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2073],{2073:(k,p,i)=>{i.r(p),i.d(p,{ion_back_button:()=>t});var g=i(5861),e=i(408),h=i(2961),c=i(3814),u=i(5723),r=i(4649);const t=class{constructor(n){var a=this;(0,e.r)(this,n),this.inheritedAttributes={},this.onClick=function(){var d=(0,g.Z)(function*(s){const l=a.el.closest("ion-nav");return s.preventDefault(),l&&(yield l.canGoBack())?l.pop({animationBuilder:a.routerAnimation,skipIfBusy:!0}):(0,c.o)(a.defaultHref,s,"back",a.routerAnimation)});return function(s){return d.apply(this,arguments)}}(),this.color=void 0,this.defaultHref=void 0,this.disabled=!1,this.icon=void 0,this.text=void 0,this.type="button",this.routerAnimation=void 0}componentWillLoad(){this.inheritedAttributes=(0,h.i)(this.el),void 0===this.defaultHref&&(this.defaultHref=r.c.get("backButtonDefaultHref"))}get backButtonIcon(){return this.icon??("ios"===(0,r.b)(this)?r.c.get("backButtonIcon",u.c):r.c.get("backButtonIcon",u.a))}get backButtonText(){const n="ios"===(0,r.b)(this)?"Back":null;return null!=this.text?this.text:r.c.get("backButtonText",n)}get hasIconOnly(){return this.backButtonIcon&&!this.backButtonText}get rippleType(){return this.hasIconOnly?"unbounded":"bounded"}render(){const{color:n,defaultHref:a,disabled:d,type:s,hasIconOnly:l,backButtonIcon:v,backButtonText:m,icon:x,inheritedAttributes:y}=this,w=void 0!==a,f=(0,r.b)(this),_=y["aria-label"]||m||"back";return(0,e.h)(e.H,{onClick:this.onClick,class:(0,c.c)(n,{[f]:!0,button:!0,"back-button-disabled":d,"back-button-has-icon-only":l,"in-toolbar":(0,c.h)("ion-toolbar",this.el),"in-toolbar-color":(0,c.h)("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0,"show-back-button":w})},(0,e.h)("button",{type:s,disabled:d,class:"button-native",part:"native","aria-label":_},(0,e.h)("span",{class:"button-inner"},v&&(0,e.h)("ion-icon",{part:"icon",icon:v,"aria-hidden":"true",lazy:!1,"flip-rtl":void 0===x}),m&&(0,e.h)("span",{part:"text","aria-hidden":"true",class:"button-text"},m)),"md"===f&&(0,e.h)("ion-ripple-effect",{type:this.rippleType})))}get el(){return(0,e.f)(this)}};t.style={ios:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--icon-margin-end:1px;--icon-margin-start:-4px;--icon-font-size:1.6em;--min-height:32px;font-size:clamp(17px, 1.0625rem, 21.998px)}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}',md:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:1.5rem;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:0.875rem;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;min-height:48px;aspect-ratio:1/1}.button-native{-webkit-box-shadow:none;box-shadow:none}.button-text{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}'}},3814:(k,p,i)=>{i.d(p,{c:()=>h,g:()=>u,h:()=>e,o:()=>b});var g=i(5861);const e=(o,t)=>null!==t.closest(o),h=(o,t)=>"string"==typeof o&&o.length>0?Object.assign({"ion-color":!0,[`ion-color-${o}`]:!0},t):t,u=o=>{const t={};return(o=>void 0!==o?(Array.isArray(o)?o:o.split(" ")).filter(n=>null!=n).map(n=>n.trim()).filter(n=>""!==n):[])(o).forEach(n=>t[n]=!0),t},r=/^[a-z][a-z0-9+\-.]*:/,b=function(){var o=(0,g.Z)(function*(t,n,a,d){if(null!=t&&"#"!==t[0]&&!r.test(t)){const s=document.querySelector("ion-router");if(s)return n?.preventDefault(),s.push(t,a,d)}return!1});return function(n,a,d,s){return o.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/2143.f5118fb91dcc061e.js b/2143.f5118fb91dcc061e.js new file mode 100644 index 00000000..96df4bb0 --- /dev/null +++ b/2143.f5118fb91dcc061e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2143],{402:(x,S,I)=>{I.d(S,{A:()=>q,B:()=>Ye,C:()=>v,D:()=>Ge,E:()=>E,F:()=>Ue,G:()=>we,H:()=>Le,I:()=>ze,J:()=>O,K:()=>pe,L:()=>Te,M:()=>be,N:()=>fe,O:()=>se,P:()=>W,Q:()=>G,R:()=>ye,S:()=>R,T:()=>Me,a:()=>Ie,b:()=>w,c:()=>D,d:()=>z,e:()=>H,f:()=>ee,g:()=>De,h:()=>re,i:()=>T,j:()=>ue,k:()=>de,l:()=>ie,m:()=>ce,n:()=>le,o:()=>ne,p:()=>te,q:()=>F,r:()=>P,s:()=>L,t:()=>Ee,u:()=>me,v:()=>he,w:()=>j,x:()=>y,y:()=>We,z:()=>Re});var b=I(8909);const D=(e,n)=>e.month===n.month&&e.day===n.day&&e.year===n.year,T=(e,n)=>e.yeare.year>n.year||e.year===n.year&&e.month>n.month||e.year===n.year&&e.month===n.month&&null!==e.day&&e.day>n.day,j=(e,n,t)=>{const o=Array.isArray(e)?e:[e];for(const r of o)if(void 0!==n&&T(r,n)||void 0!==t&&w(r,t)){(0,b.p)(`The value provided to ion-datetime is out of bounds.\n\nMin: ${JSON.stringify(n)}\nMax: ${JSON.stringify(t)}\nValue: ${JSON.stringify(e)}`);break}},O=(e,n)=>{if(void 0!==n)return n;const t=new Intl.DateTimeFormat(e,{hour:"numeric"}),o=t.resolvedOptions();if(void 0!==o.hourCycle)return o.hourCycle;const u=t.formatToParts(new Date("5/18/2021 00:00")).find(i=>"hour"===i.type);if(!u)throw new Error("Hour value not found from DateTimeFormat");switch(u.value){case"0":return"h11";case"12":return"h12";case"00":return"h23";case"24":return"h24";default:throw new Error(`Invalid hour cycle "${n}"`)}},p=e=>"h23"===e||"h24"===e,y=(e,n)=>4===e||6===e||9===e||11===e?30:2===e?(e=>e%4==0&&e%100!=0||e%400==0)(n)?29:28:31,v=(e,n={month:"numeric",year:"numeric"})=>"month"===new Intl.DateTimeFormat(e,n).formatToParts(new Date)[0].type,E=e=>"dayPeriod"===new Intl.DateTimeFormat(e,{hour:"numeric"}).formatToParts(new Date)[0].type,k=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,_=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,P=e=>{if(void 0===e)return;let t,n=e;return"string"==typeof e&&(n=e.replace(/\[|\]|\s/g,"").split(",")),t=Array.isArray(n)?n.map(o=>parseInt(o,10)).filter(isFinite):[n],t},ee=e=>({month:parseInt(e.getAttribute("data-month"),10),day:parseInt(e.getAttribute("data-day"),10),year:parseInt(e.getAttribute("data-year"),10),dayOfWeek:parseInt(e.getAttribute("data-day-of-week"),10)});function F(e){if(Array.isArray(e)){const t=[];for(const o of e){const r=F(o);if(!r)return;t.push(r)}return t}let n=null;if(null!=e&&""!==e&&(n=_.exec(e),n?(n.unshift(void 0,void 0),n[2]=n[3]=void 0):n=k.exec(e)),null!==n){for(let t=1;t<8;t++)n[t]=void 0!==n[t]?parseInt(n[t],10):void 0;return{year:n[1],month:n[2],day:n[3],hour:n[4],minute:n[5],ampm:n[4]<12?"am":"pm"}}(0,b.p)(`Unable to parse date string: ${e}. Please provide a valid ISO 8601 datetime string.`)}const W=(e,n,t)=>n&&T(e,n)?n:t&&w(e,t)?t:e,G=e=>e>=12?"pm":"am",ne=(e,n)=>{const t=F(e);if(void 0===t)return;const{month:o,day:r,year:d,hour:u,minute:i}=t,l=d??n.year,s=o??12;return{month:s,day:r??y(s,l),year:l,hour:u??23,minute:i??59}},te=(e,n)=>{const t=F(e);if(void 0===t)return;const{month:o,day:r,year:d,hour:u,minute:i}=t;return{month:o??1,day:r??1,year:d??n.year,hour:u??0,minute:i??0}},M=e=>("0"+(void 0!==e?Math.abs(e):"0")).slice(-2),oe=e=>("000"+(void 0!==e?Math.abs(e):"0")).slice(-4);function L(e){if(Array.isArray(e))return e.map(t=>L(t));let n="";return void 0!==e.year?(n=oe(e.year),void 0!==e.month&&(n+="-"+M(e.month),void 0!==e.day&&(n+="-"+M(e.day),void 0!==e.hour&&(n+=`T${M(e.hour)}:${M(e.minute)}:00`)))):void 0!==e.hour&&(n=M(e.hour)+":"+M(e.minute)),n}const B=(e,n)=>void 0===n?e:"am"===n?12===e?0:e:12===e?12:e+12,ue=e=>{const{dayOfWeek:n}=e;if(null==n)throw new Error("No day of week provided");return N(e,n)},re=e=>{const{dayOfWeek:n}=e;if(null==n)throw new Error("No day of week provided");return Z(e,6-n)},ie=e=>Z(e,1),de=e=>N(e,1),ce=e=>N(e,7),le=e=>Z(e,7),N=(e,n)=>{const{month:t,day:o,year:r}=e;if(null===o)throw new Error("No day provided");const d={month:t,day:o,year:r};if(d.day=o-n,d.day<1&&(d.month-=1),d.month<1&&(d.month=12,d.year-=1),d.day<1){const u=y(d.month,d.year);d.day=u+d.day}return d},Z=(e,n)=>{const{month:t,day:o,year:r}=e;if(null===o)throw new Error("No day provided");const d={month:t,day:o,year:r},u=y(t,r);return d.day=o+n,d.day>u&&(d.day-=u,d.month+=1),d.month>12&&(d.month=1,d.year+=1),d},z=e=>{const n=1===e.month?12:e.month-1,t=1===e.month?e.year-1:e.year,o=y(n,t);return{month:n,year:t,day:o{const n=12===e.month?1:e.month+1,t=12===e.month?e.year+1:e.year,o=y(n,t);return{month:n,year:t,day:o{const t=e.month,o=e.year+n,r=y(t,o);return{month:t,year:o,day:rJ(e,-1),fe=e=>J(e,1),ae=(e,n,t)=>n?e:B(e,t),ye=(e,n)=>{const{ampm:t,hour:o}=e;let r=o;return"am"===t&&"pm"===n?r=B(r,"pm"):"pm"===t&&"am"===n&&(r=Math.abs(r-12)),r},he=(e,n,t)=>{const{month:o,day:r,year:d}=e,u=W(Object.assign({},e),n,t),i=y(o,d);return null!==r&&it.hour?(u.hour=t.hour,u.minute=t.minute):u.hour===t.hour&&void 0!==u.minute&&void 0!==t.minute&&u.minute>t.minute&&(u.minute=t.minute)),u},me=({refParts:e,monthValues:n,dayValues:t,yearValues:o,hourValues:r,minuteValues:d,minParts:u,maxParts:i})=>{const{hour:l,minute:s,day:f,month:g,year:h}=e,c=Object.assign(Object.assign({},e),{dayOfWeek:void 0});if(void 0!==o){const a=o.filter(m=>!(void 0!==u&&mi.year));c.year=A(h,a)}if(void 0!==n){const a=n.filter(m=>!(void 0!==u&&c.year===u.year&&mi.month));c.month=A(g,a)}if(null!==f&&void 0!==t){const a=t.filter(m=>!(void 0!==u&&T(Object.assign(Object.assign({},c),{day:m}),u)||void 0!==i&&w(Object.assign(Object.assign({},c),{day:m}),i)));c.day=A(f,a)}if(void 0!==l&&void 0!==r){const a=r.filter(m=>!(void 0!==u?.hour&&D(c,u)&&mi.hour));c.hour=A(l,a),c.ampm=G(c.hour)}if(void 0!==s&&void 0!==d){const a=d.filter(m=>!(void 0!==u?.minute&&D(c,u)&&c.hour===u.hour&&mi.minute));c.minute=A(s,a)}return c},A=(e,n)=>{let t=n[0],o=Math.abs(t-e);for(let r=1;r{const o={hour:n.hour,minute:n.minute};return void 0===o.hour||void 0===o.minute?"Invalid Time":new Intl.DateTimeFormat(e,{hour:"numeric",minute:"numeric",timeZone:"UTC",hourCycle:t}).format(new Date(L(Object.assign({year:2023,day:1,month:1},o))+"Z"))},K=e=>{const n=e.toString();return n.length>1?n:`0${n}`},ve=(e,n)=>{if(0===e)switch(n){case"h11":return"0";case"h12":return"12";case"h23":return"00";case"h24":return"24";default:throw new Error(`Invalid hour cycle "${n}"`)}return p(n)?K(e):e.toString()},De=(e,n,t)=>{if(null===t.day)return null;const o=$(t),r=new Intl.DateTimeFormat(e,{weekday:"long",month:"long",day:"numeric",timeZone:"UTC"}).format(o);return n?`Today, ${r}`:r},Te=(e,n)=>{const t=$(n);return new Intl.DateTimeFormat(e,{weekday:"short",month:"short",day:"numeric",timeZone:"UTC"}).format(t)},we=(e,n)=>{const t=$(n);return new Intl.DateTimeFormat(e,{month:"long",year:"numeric",timeZone:"UTC"}).format(t)},Me=(e,n)=>R(e,n,{month:"short",day:"numeric",year:"numeric"}),Ie=(e,n)=>_e(e,n,{day:"numeric"}).find(t=>"day"===t.type).value,Oe=(e,n)=>R(e,n,{year:"numeric"}),$=e=>{var n,t,o;return new Date(`${null!==(n=e.month)&&void 0!==n?n:1}/${null!==(t=e.day)&&void 0!==t?t:1}/${null!==(o=e.year)&&void 0!==o?o:2023}${void 0!==e.hour&&void 0!==e.minute?` ${e.hour}:${e.minute}`:""} GMT+0000`)},R=(e,n,t)=>{const o=$(n);return X(e,t).format(o)},_e=(e,n,t)=>{const o=$(n);return X(e,t).formatToParts(o)},X=(e,n)=>new Intl.DateTimeFormat(e,Object.assign(Object.assign({},n),{timeZone:"UTC"})),Ae=e=>{if("RelativeTimeFormat"in Intl){const n=new Intl.RelativeTimeFormat(e,{numeric:"auto"}).format(0,"day");return n.charAt(0).toUpperCase()+n.slice(1)}return"Today"},Y=e=>{const n=e.getTimezoneOffset();return e.setMinutes(e.getMinutes()-n),e},$e=Y(new Date("2022T01:00")),Ce=Y(new Date("2022T13:00")),Q=(e,n)=>{const t="am"===n?$e:Ce,o=new Intl.DateTimeFormat(e,{hour:"numeric",timeZone:"UTC"}).formatToParts(t).find(r=>"dayPeriod"===r.type);return o?o.value:(e=>void 0===e?"":e.toUpperCase())(n)},be=e=>Array.isArray(e)?e.join(","):e,Ee=()=>Y(new Date).toISOString(),ke=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59],Fe=[0,1,2,3,4,5,6,7,8,9,10,11],He=[0,1,2,3,4,5,6,7,8,9,10,11],Se=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],je=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0],Ue=(e,n,t=0)=>{const r=new Intl.DateTimeFormat(e,{weekday:"ios"===n?"short":"narrow"}),d=new Date("11/01/2020"),u=[];for(let i=t;i{const o=y(e,n),r=new Date(`${e}/1/${n}`).getDay(),d=r>=t?r-(t+1):6-(t-r);let u=[];for(let i=1;i<=o;i++)u.push({day:i,dayOfWeek:(d+i)%7});for(let i=0;i<=d;i++)u=[{day:null,dayOfWeek:null},...u];return u},ze=(e,n)=>{const t={month:e.month,year:e.year,day:e.day};if(void 0!==n&&(e.month!==n.month||e.year!==n.year)){const o={month:n.month,year:n.year,day:n.day};return T(o,t)?[o,t,H(e)]:[z(e),t,o]}return[z(e),t,H(e)]},Re=(e,n,t,o,r,d={month:"long"})=>{const{year:u}=n,i=[];if(void 0!==r){let l=r;void 0!==o?.month&&(l=l.filter(s=>s<=o.month)),void 0!==t?.month&&(l=l.filter(s=>s>=t.month)),l.forEach(s=>{const f=new Date(`${s}/1/${u} GMT+0000`),g=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},d),{timeZone:"UTC"})).format(f);i.push({text:g,value:s})})}else{const l=o&&o.year===u?o.month:12;for(let f=t&&t.year===u?t.month:1;f<=l;f++){const g=new Date(`${f}/1/${u} GMT+0000`),h=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},d),{timeZone:"UTC"})).format(g);i.push({text:h,value:f})}}return i},q=(e,n,t,o,r,d={day:"numeric"})=>{const{month:u,year:i}=n,l=[],s=y(u,i),f=null!=o?.day&&o.year===i&&o.month===u?o.day:s,g=null!=t?.day&&t.year===i&&t.month===u?t.day:1;if(void 0!==r){let h=r;h=h.filter(c=>c>=g&&c<=f),h.forEach(c=>{const a=new Date(`${u}/${c}/${i} GMT+0000`),m=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},d),{timeZone:"UTC"})).format(a);l.push({text:m,value:c})})}else for(let h=g;h<=f;h++){const c=new Date(`${u}/${h}/${i} GMT+0000`),a=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},d),{timeZone:"UTC"})).format(c);l.push({text:a,value:h})}return l},Ye=(e,n,t,o,r)=>{var d,u;let i=[];if(void 0!==r)i=r,void 0!==o?.year&&(i=i.filter(l=>l<=o.year)),void 0!==t?.year&&(i=i.filter(l=>l>=t.year));else{const{year:l}=n,s=null!==(d=o?.year)&&void 0!==d?d:l;for(let g=null!==(u=t?.year)&&void 0!==u?u:l-100;g<=s;g++)i.push(g)}return i.map(l=>({text:Oe(e,{year:l,month:n.month,day:n.day}),value:l}))},V=(e,n)=>e.month===n.month&&e.year===n.year?[e]:[e,...V(H(e),n)],We=(e,n,t,o,r,d)=>{let u=[],i=[],l=V(t,o);return d&&(l=l.filter(({month:s})=>d.includes(s))),l.forEach(s=>{const f={month:s.month,day:null,year:s.year},g=q(e,f,t,o,r,{month:"short",day:"numeric",weekday:"short"}),h=[],c=[];g.forEach(a=>{const m=D(Object.assign(Object.assign({},f),{day:a.value}),n);c.push({text:m?Ae(e):a.text,value:`${f.year}-${f.month}-${a.value}`}),h.push({month:f.month,year:f.year,day:a.value})}),i=[...i,...h],u=[...u,...c]}),{parts:i,items:u}},Ge=(e,n,t,o,r,d,u)=>{const i=O(e,t),l=p(i),{hours:s,minutes:f,am:g,pm:h}=((e,n,t="h12",o,r,d,u)=>{const i=O(e,t),l=p(i);let s=(e=>{switch(e){case"h11":return Fe;case"h12":return He;case"h23":return Se;case"h24":return je;default:throw new Error(`Invalid hour cycle "${e}"`)}})(i),f=ke,g=!0,h=!0;if(d&&(s=s.filter(c=>d.includes(c))),u&&(f=f.filter(c=>u.includes(c))),o)if(D(n,o)){if(void 0!==o.hour&&(s=s.filter(c=>(l?c:"pm"===n.ampm?(c+12)%24:c)>=o.hour),g=o.hour<13),void 0!==o.minute){let c=!1;void 0!==o.hour&&void 0!==n.hour&&n.hour>o.hour&&(c=!0),f=f.filter(a=>!!c||a>=o.minute)}}else T(n,o)&&(s=[],f=[],g=h=!1);return r&&(D(n,r)?(void 0!==r.hour&&(s=s.filter(c=>(l?c:"pm"===n.ampm?(c+12)%24:c)<=r.hour),h=r.hour>=12),void 0!==r.minute&&n.hour===r.hour&&(f=f.filter(c=>c<=r.minute))):w(n,r)&&(s=[],f=[],g=h=!1)),{hours:s,minutes:f,am:g,pm:h}})(e,n,i,o,r,d,u),c=s.map(C=>({text:ve(C,i),value:ae(C,l,n.ampm)})),a=f.map(C=>({text:K(C),value:C})),m=[];return g&&!l&&m.push({text:Q(e,"am"),value:"am"}),h&&!l&&m.push({text:Q(e,"pm"),value:"pm"}),{minutesData:a,hoursData:c,dayPeriodData:m}}},3814:(x,S,I)=>{I.d(S,{c:()=>T,g:()=>j,h:()=>D,o:()=>O});var b=I(5861);const D=(p,y)=>null!==y.closest(p),T=(p,y)=>"string"==typeof p&&p.length>0?Object.assign({"ion-color":!0,[`ion-color-${p}`]:!0},y):y,j=p=>{const y={};return(p=>void 0!==p?(Array.isArray(p)?p:p.split(" ")).filter(v=>null!=v).map(v=>v.trim()).filter(v=>""!==v):[])(p).forEach(v=>y[v]=!0),y},U=/^[a-z][a-z0-9+\-.]*:/,O=function(){var p=(0,b.Z)(function*(y,v,E,k){if(null!=y&&"#"!==y[0]&&!U.test(y)){const _=document.querySelector("ion-router");if(_)return v?.preventDefault(),_.push(y,E,k)}return!1});return function(v,E,k,_){return p.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/2349.0ae700863e216598.js b/2349.0ae700863e216598.js deleted file mode 100644 index 061ecd97..00000000 --- a/2349.0ae700863e216598.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2349],{2349:(ye,J,h)=>{h.r(J),h.d(J,{ion_modal:()=>ge});var D=h(5861),f=h(1071),M=h(6038),G=h(4519),u=h(2674),$=h(3357),Q=h(6447),l=h(1701),b=h(2997),w=h(4309),L=h(7263),z=h(9868),p=h(2438),se=h(6591),ae=h(9531),X=h(7693),j=(h(2433),h(6412),(()=>{return(e=j||(j={})).Dark="DARK",e.Light="LIGHT",e.Default="DEFAULT",j;var e})());const F={getEngine(){const e=(0,Q.g)();if(e?.isPluginAvailable("StatusBar"))return e.Plugins.StatusBar},supportsDefaultStatusBarStyle:()=>!!(0,Q.g)()?.PluginHeaders,setStyle(e){const t=this.getEngine();t&&t.setStyle(e)},getStyle:(e=(0,D.Z)(function*(){const t=this.getEngine();if(!t)return j.Default;const{style:n}=yield t.getInfo();return n}),function(){return e.apply(this,arguments)})},ne=(e,t)=>{if(1===t)return 0;const n=1/(1-t);return e*n+-t*n},de=()=>{!X.w||X.w.innerWidth>=768||!F.supportsDefaultStatusBarStyle()||F.setStyle({style:j.Dark})},le=(e=j.Default)=>{!X.w||X.w.innerWidth>=768||!F.supportsDefaultStatusBarStyle()||F.setStyle({style:e})},ce=function(){var e=(0,D.Z)(function*(t,n){"function"!=typeof t.canDismiss||!(yield t.canDismiss(void 0,l.G))||(n.isRunning()?n.onFinish(()=>{t.dismiss(void 0,"handler")},{oneTimeCallback:!0}):t.dismiss(void 0,"handler"))});return function(n,r){return e.apply(this,arguments)}}(),re=e=>.00255275*2.71828**(-14.9619*e)-1.00255*2.71828**(-.0380968*e)+1,pe=(e,t)=>(0,u.l)(400,e/Math.abs(1.1*t),500),he=e=>{const{currentBreakpoint:t,backdropBreakpoint:n}=e,r=void 0===n||n{const{currentBreakpoint:t,backdropBreakpoint:n}=e,r=`calc(var(--backdrop-opacity) * ${ne(t,n)})`,i=[{offset:0,opacity:r},{offset:1,opacity:0}],o=[{offset:0,opacity:r},{offset:n,opacity:0},{offset:1,opacity:0}],s=(0,p.c)("backdropAnimation").keyframes(0!==n?o:i);return{wrapperAnimation:(0,p.c)("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:`translateY(${100-100*t}%)`},{offset:1,opacity:1,transform:"translateY(100%)"}]),backdropAnimation:s}},ue=(e,t)=>{const{presentingEl:n,currentBreakpoint:r}=t,i=(0,u.g)(e),{wrapperAnimation:o,backdropAnimation:s}=void 0!==r?he(t):{backdropAnimation:(0,p.c)().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:(0,p.c)().fromTo("transform","translateY(100vh)","translateY(0vh)")};s.addElement(i.querySelector("ion-backdrop")),o.addElement(i.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const a=(0,p.c)("entering-base").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation(o);if(n){const d=window.innerWidth<768,y="ION-MODAL"===n.tagName&&void 0!==n.presentingElement,x=(0,u.g)(n),A=(0,p.c)().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),v=document.body;if(d){const E=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",_=`translateY(${y?"-10px":E}) scale(0.93)`;A.afterStyles({transform:_}).beforeAddWrite(()=>v.style.setProperty("background-color","black")).addElement(n).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:_,borderRadius:"10px 10px 0 0"}]),a.addAnimation(A)}else if(a.addAnimation(s),y){const k=`translateY(-10px) scale(${y?.93:1})`;A.afterStyles({transform:k}).addElement(x.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:k}]);const c=(0,p.c)().afterStyles({transform:k}).addElement(x.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:k}]);a.addAnimation([A,c])}else o.fromTo("opacity","0","1")}else a.addAnimation(s);return a},me=(e,t,n=500)=>{const{presentingEl:r,currentBreakpoint:i}=t,o=(0,u.g)(e),{wrapperAnimation:s,backdropAnimation:a}=void 0!==i?fe(t):{backdropAnimation:(0,p.c)().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:(0,p.c)().fromTo("transform","translateY(0vh)","translateY(100vh)")};a.addElement(o.querySelector("ion-backdrop")),s.addElement(o.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const d=(0,p.c)("leaving-base").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(n).addAnimation(s);if(r){const y=window.innerWidth<768,x="ION-MODAL"===r.tagName&&void 0!==r.presentingElement,A=(0,u.g)(r),v=(0,p.c)().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish(k=>{1===k&&(r.style.setProperty("overflow",""),Array.from(E.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter(_=>void 0!==_.presentingElement).length<=1&&E.style.setProperty("background-color",""))}),E=document.body;if(y){const k=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",N=`translateY(${x?"-10px":k}) scale(0.93)`;v.addElement(r).keyframes([{offset:0,filter:"contrast(0.85)",transform:N,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),d.addAnimation(v)}else if(d.addAnimation(a),x){const c=`translateY(-10px) scale(${x?.93:1})`;v.addElement(A.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:c},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);const _=(0,p.c)().addElement(A.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:c},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);d.addAnimation([v,_])}else s.fromTo("opacity","1","0")}else d.addAnimation(a);return d},Ee=(e,t)=>{const{currentBreakpoint:n}=t,r=(0,u.g)(e),{wrapperAnimation:i,backdropAnimation:o}=void 0!==n?he(t):{backdropAnimation:(0,p.c)().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:(0,p.c)().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}])};return o.addElement(r.querySelector("ion-backdrop")),i.addElement(r.querySelector(".modal-wrapper")),(0,p.c)().addElement(e).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([o,i])},Se=(e,t)=>{const{currentBreakpoint:n}=t,r=(0,u.g)(e),{wrapperAnimation:i,backdropAnimation:o}=void 0!==n?fe(t):{backdropAnimation:(0,p.c)().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:(0,p.c)().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}])};return o.addElement(r.querySelector("ion-backdrop")),i.addElement(r.querySelector(".modal-wrapper")),(0,p.c)().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([o,i])},ge=class{constructor(e){(0,f.r)(this,e),this.didPresent=(0,f.d)(this,"ionModalDidPresent",7),this.willPresent=(0,f.d)(this,"ionModalWillPresent",7),this.willDismiss=(0,f.d)(this,"ionModalWillDismiss",7),this.didDismiss=(0,f.d)(this,"ionModalDidDismiss",7),this.ionBreakpointDidChange=(0,f.d)(this,"ionBreakpointDidChange",7),this.didPresentShorthand=(0,f.d)(this,"didPresent",7),this.willPresentShorthand=(0,f.d)(this,"willPresent",7),this.willDismissShorthand=(0,f.d)(this,"willDismiss",7),this.didDismissShorthand=(0,f.d)(this,"didDismiss",7),this.ionMount=(0,f.d)(this,"ionMount",7),this.triggerController=(0,l.e)(),this.coreDelegate=(0,G.C)(),this.isSheetModal=!1,this.inheritedAttributes={},this.inline=!1,this.gestureAnimationDismissing=!1,this.onHandleClick=()=>{const{sheetTransition:t,handleBehavior:n}=this;"cycle"!==n||void 0!==t||this.moveToNextBreakpoint()},this.onBackdropTap=()=>{const{sheetTransition:t}=this;void 0===t&&this.dismiss(void 0,l.B)},this.onLifecycle=t=>{const n=this.usersElement,r=Ce[t.type];if(n&&r){const i=new CustomEvent(r,{bubbles:!1,cancelable:!1,detail:t.detail});n.dispatchEvent(i)}},this.presented=!1,this.hasController=!1,this.overlayIndex=void 0,this.delegate=void 0,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.breakpoints=void 0,this.initialBreakpoint=void 0,this.backdropBreakpoint=0,this.handle=void 0,this.handleBehavior="none",this.component=void 0,this.componentProps=void 0,this.cssClass=void 0,this.backdropDismiss=!0,this.showBackdrop=!0,this.animated=!0,this.presentingElement=void 0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0,this.keepContentsMounted=!1,this.canDismiss=!0}onIsOpenChange(e,t){!0===e&&!1===t?this.present():!1===e&&!0===t&&this.dismiss()}triggerChanged(){const{trigger:e,el:t,triggerController:n}=this;e&&n.addClickListener(t,e)}breakpointsChanged(e){void 0!==e&&(this.sortedBreakpoints=e.sort((t,n)=>t-n))}connectedCallback(){const{el:e}=this;(0,l.j)(e),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){const{breakpoints:e,initialBreakpoint:t,el:n}=this,r=this.isSheetModal=void 0!==e&&void 0!==t;this.inheritedAttributes=(0,u.k)(n,["aria-label","role"]),r&&(this.currentBreakpoint=this.initialBreakpoint),void 0!==e&&void 0!==t&&!e.includes(t)&&(0,$.p)("Your breakpoints array must include the initialBreakpoint value."),(0,l.k)(n)}componentDidLoad(){!0===this.isOpen&&(0,u.r)(()=>this.present()),this.breakpointsChanged(this.breakpoints)}getDelegate(e=!1){if(this.workingDelegate&&!e)return{delegate:this.workingDelegate,inline:this.inline};const n=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:n,delegate:this.workingDelegate=n?this.delegate||this.coreDelegate:this.delegate}}checkCanDismiss(e,t){var n=this;return(0,D.Z)(function*(){const{canDismiss:r}=n;return"function"==typeof r?r(e,t):r})()}present(){var e=this;return(0,D.Z)(function*(){if(e.presented)return;const{presentingElement:t,el:n}=e;void 0!==e.currentTransition&&(yield e.currentTransition),e.currentBreakpoint=e.initialBreakpoint;const{inline:r,delegate:i}=e.getDelegate(!0);e.usersElement=yield(0,G.a)(i,n,e.component,["ion-page"],e.componentProps,r),e.ionMount.emit(),(0,u.m)(n)?yield(0,w.e)(e.usersElement):e.keepContentsMounted||(yield(0,w.w)()),(0,f.w)(()=>e.el.classList.add("show-modal")),e.currentTransition=(0,l.f)(e,"modalEnter",ue,Ee,{presentingEl:t,currentBreakpoint:e.initialBreakpoint,backdropBreakpoint:e.backdropBreakpoint}),typeof window<"u"&&(e.keyboardOpenCallback=()=>{e.gesture&&(e.gesture.enable(!1),(0,u.r)(()=>{e.gesture&&e.gesture.enable(!0)}))},window.addEventListener(z.KEYBOARD_DID_OPEN,e.keyboardOpenCallback));const o=void 0!==t;o&&"ios"===(0,L.b)(e)&&(e.statusBarStyle=yield F.getStyle(),de()),yield e.currentTransition,e.isSheetModal?e.initSheetGesture():o&&e.initSwipeToClose(),e.currentTransition=void 0})()}initSwipeToClose(){var t,e=this;if("ios"!==(0,L.b)(this))return;const{el:n}=this,r=this.leaveAnimation||L.c.get("modalLeave",me),i=this.animation=r(n,{presentingEl:this.presentingElement});if(!(0,M.a)(n))return void(0,M.p)(n);const s=null!==(t=this.statusBarStyle)&&void 0!==t?t:j.Default;this.gesture=((e,t,n,r)=>{const o=e.offsetHeight;let s=!1,a=!1,d=null,y=null,A=!0,v=0;const Z=(0,ae.createGesture)({el:e,gestureName:"modalSwipeToClose",gesturePriority:39,direction:"y",threshold:10,canStart:g=>{const m=g.event.target;return null===m||!m.closest||(d=(0,M.f)(m),d?(y=(0,M.i)(d)?(0,u.g)(d).querySelector(".inner-scroll"):d,!d.querySelector("ion-refresher")&&0===y.scrollTop):null===m.closest("ion-footer"))},onStart:g=>{const{deltaY:m}=g;A=!d||!(0,M.i)(d)||d.scrollY,a=void 0!==e.canDismiss&&!0!==e.canDismiss,m>0&&d&&(0,M.d)(d),t.progressStart(!0,s?1:0)},onMove:g=>{const{deltaY:m}=g;m>0&&d&&(0,M.d)(d);const B=g.deltaY/o,P=B>=0&&a,T=P?.2:.9999,H=P?re(B/T):B,C=(0,u.l)(1e-4,H,T);t.progressStep(C),C>=.5&&v<.5?le(n):C<.5&&v>=.5&&de(),v=C},onEnd:g=>{const m=g.velocityY,B=g.deltaY/o,P=B>=0&&a,T=P?.2:.9999,H=P?re(B/T):B,C=(0,u.l)(1e-4,H,T),R=!P&&(g.deltaY+1e3*m)/o>=.5;let V=R?-.001:.001;R?(t.easing("cubic-bezier(0.32, 0.72, 0, 1)"),V+=(0,se.g)([0,0],[.32,.72],[0,1],[1,1],C)[0]):(t.easing("cubic-bezier(1, 0, 0.68, 0.28)"),V+=(0,se.g)([0,0],[1,0],[.68,.28],[1,1],C)[0]);const ee=pe(R?B*o:(1-C)*o,m);s=R,Z.enable(!1),d&&(0,M.r)(d,A),t.onFinish(()=>{R||Z.enable(!0)}).progressEnd(R?1:0,V,ee),P&&C>T/4?ce(e,t):R&&r()}});return Z})(n,i,s,()=>{this.gestureAnimationDismissing=!0,this.animation.onFinish((0,D.Z)(function*(){yield e.dismiss(void 0,l.G),e.gestureAnimationDismissing=!1}))}),this.gesture.enable(!0)}initSheetGesture(){const{wrapperEl:e,initialBreakpoint:t,backdropBreakpoint:n}=this;if(!e||void 0===t)return;const r=this.enterAnimation||L.c.get("modalEnter",ue),i=this.animation=r(this.el,{presentingEl:this.presentingElement,currentBreakpoint:t,backdropBreakpoint:n});i.progressStart(!0,1);const{gesture:o,moveSheetToBreakpoint:s}=((e,t,n,r,i,o,s=[],a,d,y)=>{const v={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:0!==i?[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-i,opacity:0},{offset:1,opacity:0}]:[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}]},E=e.querySelector("ion-content"),k=n.clientHeight;let c=r,_=0,N=!1;const g=o.childAnimations.find(S=>"wrapperAnimation"===S.id),m=o.childAnimations.find(S=>"backdropAnimation"===S.id),B=s[s.length-1],P=s[0],T=()=>{e.style.setProperty("pointer-events","auto"),t.style.setProperty("pointer-events","auto"),e.classList.remove("ion-disable-focus-trap")},H=()=>{e.style.setProperty("pointer-events","none"),t.style.setProperty("pointer-events","none"),e.classList.add("ion-disable-focus-trap")};g&&m&&(g.keyframes([...v.WRAPPER_KEYFRAMES]),m.keyframes([...v.BACKDROP_KEYFRAMES]),o.progressStart(!0,1-c),c>i?T():H()),E&&c!==B&&(E.scrollY=!1);const ee=S=>{const{breakpoint:W,canDismiss:O,breakpointOffset:Y,animated:U}=S,K=O&&0===W,I=K?c:W,be=0!==I;return c=0,g&&m&&(g.keyframes([{offset:0,transform:`translateY(${100*Y}%)`},{offset:1,transform:`translateY(${100*(1-I)}%)`}]),m.keyframes([{offset:0,opacity:`calc(var(--backdrop-opacity) * ${ne(1-Y,i)})`},{offset:1,opacity:`calc(var(--backdrop-opacity) * ${ne(I,i)})`}]),o.progressStep(0)),te.enable(!1),K?ce(e,o):be||d(),new Promise(ie=>{o.onFinish(()=>{be?g&&m?(0,u.r)(()=>{g.keyframes([...v.WRAPPER_KEYFRAMES]),m.keyframes([...v.BACKDROP_KEYFRAMES]),o.progressStart(!0,1-I),c=I,y(c),E&&c===s[s.length-1]&&(E.scrollY=!0),c>i?T():H(),te.enable(!0),ie()}):(te.enable(!0),ie()):ie()},{oneTimeCallback:!0}).progressEnd(1,0,U?500:0)})},te=(0,ae.createGesture)({el:n,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:S=>{const W=S.event.target.closest("ion-content");return c=a(),!(1===c&&W)},onStart:()=>{N=void 0!==e.canDismiss&&!0!==e.canDismiss&&0===P,E&&(E.scrollY=!1),(0,u.r)(()=>{e.focus()}),o.progressStart(!0,1-c)},onMove:S=>{const O=s.length>1?1-s[1]:void 0,Y=1-c+S.deltaY/k,U=void 0!==O&&Y>=O&&N,K=U?.95:.9999,I=U&&void 0!==O?O+re((Y-O)/(K-O)):Y;_=(0,u.l)(1e-4,I,K),o.progressStep(_)},onEnd:S=>{const Y=c-(S.deltaY+350*S.velocityY)/k,U=s.reduce((K,I)=>Math.abs(I-Y){var a;return null!==(a=this.currentBreakpoint)&&void 0!==a?a:0},()=>this.sheetOnDismiss(),a=>{this.currentBreakpoint!==a&&(this.currentBreakpoint=a,this.ionBreakpointDidChange.emit({breakpoint:a}))});this.gesture=o,this.moveSheetToBreakpoint=s,this.gesture.enable(!0)}sheetOnDismiss(){var e=this;this.gestureAnimationDismissing=!0,this.animation.onFinish((0,D.Z)(function*(){e.currentBreakpoint=0,e.ionBreakpointDidChange.emit({breakpoint:e.currentBreakpoint}),yield e.dismiss(void 0,l.G),e.gestureAnimationDismissing=!1}))}dismiss(e,t){var n=this;return(0,D.Z)(function*(){var r;if(n.gestureAnimationDismissing&&t!==l.G||"handler"!==t&&!(yield n.checkCanDismiss(e,t)))return!1;const{presentingElement:i}=n;void 0!==i&&"ios"===(0,L.b)(n)&&le(n.statusBarStyle),typeof window<"u"&&n.keyboardOpenCallback&&(window.removeEventListener(z.KEYBOARD_DID_OPEN,n.keyboardOpenCallback),n.keyboardOpenCallback=void 0),void 0!==n.currentTransition&&(yield n.currentTransition);const s=l.n.get(n)||[];n.currentTransition=(0,l.g)(n,e,t,"modalLeave",me,Se,{presentingEl:i,currentBreakpoint:null!==(r=n.currentBreakpoint)&&void 0!==r?r:n.initialBreakpoint,backdropBreakpoint:n.backdropBreakpoint});const a=yield n.currentTransition;if(a){const{delegate:d}=n.getDelegate();yield(0,G.d)(d,n.usersElement),(0,f.w)(()=>n.el.classList.remove("show-modal")),n.animation&&n.animation.destroy(),n.gesture&&n.gesture.destroy(),s.forEach(y=>y.destroy())}return n.currentBreakpoint=void 0,n.currentTransition=void 0,n.animation=void 0,a})()}onDidDismiss(){return(0,l.h)(this.el,"ionModalDidDismiss")}onWillDismiss(){return(0,l.h)(this.el,"ionModalWillDismiss")}setCurrentBreakpoint(e){var t=this;return(0,D.Z)(function*(){if(!t.isSheetModal)return void(0,$.p)("setCurrentBreakpoint is only supported on sheet modals.");if(!t.breakpoints.includes(e))return void(0,$.p)(`Attempted to set invalid breakpoint value ${e}. Please double check that the breakpoint value is part of your defined breakpoints.`);const{currentBreakpoint:n,moveSheetToBreakpoint:r,canDismiss:i,breakpoints:o,animated:s}=t;n!==e&&r&&(t.sheetTransition=r({breakpoint:e,breakpointOffset:1-n,canDismiss:void 0!==i&&!0!==i&&0===o[0],animated:s}),yield t.sheetTransition,t.sheetTransition=void 0)})()}getCurrentBreakpoint(){var e=this;return(0,D.Z)(function*(){return e.currentBreakpoint})()}moveToNextBreakpoint(){var e=this;return(0,D.Z)(function*(){const{breakpoints:t,currentBreakpoint:n}=e;if(!t||null==n)return!1;const r=t.filter(a=>0!==a),o=(r.indexOf(n)+1)%r.length,s=r[o];return yield e.setCurrentBreakpoint(s),!0})()}render(){const{handle:e,isSheetModal:t,presentingElement:n,htmlAttributes:r,handleBehavior:i,inheritedAttributes:o}=this,s=!1!==e&&t,a=(0,L.b)(this),d=void 0!==n&&"ios"===a,y="cycle"===i;return(0,f.h)(f.H,Object.assign({"no-router":!0,tabindex:"-1"},r,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[a]:!0,"modal-default":!d&&!t,"modal-card":d,"modal-sheet":t,"overlay-hidden":!0},(0,b.g)(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle}),(0,f.h)("ion-backdrop",{ref:x=>this.backdropEl=x,visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),"ios"===a&&(0,f.h)("div",{class:"modal-shadow"}),(0,f.h)("div",Object.assign({role:"dialog"},o,{"aria-modal":"true",class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:x=>this.wrapperEl=x}),s&&(0,f.h)("button",{class:"modal-handle",tabIndex:y?0:-1,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:y?this.onHandleClick:void 0,part:"handle"}),(0,f.h)("slot",null)))}get el(){return(0,f.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},Ce={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};var e;ge.style={ios:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-card) .modal-wrapper,:host-context([dir=rtl]).modal-card .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-card) .modal-wrapper:dir(rtl){border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-sheet) .modal-wrapper,:host-context([dir=rtl]).modal-sheet .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-sheet) .modal-wrapper:dir(rtl){border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}',md:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}'}},2997:(ye,J,h)=>{h.d(J,{c:()=>M,g:()=>u,h:()=>f,o:()=>Q});var D=h(5861);const f=(l,b)=>null!==b.closest(l),M=(l,b)=>"string"==typeof l&&l.length>0?Object.assign({"ion-color":!0,[`ion-color-${l}`]:!0},b):b,u=l=>{const b={};return(l=>void 0!==l?(Array.isArray(l)?l:l.split(" ")).filter(w=>null!=w).map(w=>w.trim()).filter(w=>""!==w):[])(l).forEach(w=>b[w]=!0),b},$=/^[a-z][a-z0-9+\-.]*:/,Q=function(){var l=(0,D.Z)(function*(b,w,L,z){if(null!=b&&"#"!==b[0]&&!$.test(b)){const p=document.querySelector("ion-router");if(p)return w?.preventDefault(),p.push(b,L,z)}return!1});return function(w,L,z,p){return l.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/2349.dfc969b06a20fbdf.js b/2349.dfc969b06a20fbdf.js new file mode 100644 index 00000000..2889f11a --- /dev/null +++ b/2349.dfc969b06a20fbdf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2349],{2349:(ke,Q,p)=>{p.r(Q),p.d(Q,{ion_modal:()=>be});var D=p(5861),h=p(408),M=p(4253),$=p(7869),m=p(2961),ne=p(7389),z=p(8909),g=p(6319),l=p(8042),E=p(3814),F=p(9528),L=p(4649),U=p(922),f=p(2876),de=p(5069),le=p(5067),X=p(2972),j=(p(3037),p(2889),(()=>{return(e=j||(j={})).Dark="DARK",e.Light="LIGHT",e.Default="DEFAULT",j;var e})());const Z={getEngine(){const e=(0,g.g)();if(e?.isPluginAvailable("StatusBar"))return e.Plugins.StatusBar},supportsDefaultStatusBarStyle:()=>!!(0,g.g)()?.PluginHeaders,setStyle(e){const t=this.getEngine();t&&t.setStyle(e)},getStyle:(e=(0,D.Z)(function*(){const t=this.getEngine();if(!t)return j.Default;const{style:n}=yield t.getInfo();return n}),function(){return e.apply(this,arguments)})},oe=(e,t)=>{if(1===t)return 0;const n=1/(1-t);return e*n+-t*n},ce=()=>{!X.w||X.w.innerWidth>=768||!Z.supportsDefaultStatusBarStyle()||Z.setStyle({style:j.Dark})},re=(e=j.Default)=>{!X.w||X.w.innerWidth>=768||!Z.supportsDefaultStatusBarStyle()||Z.setStyle({style:e})},pe=function(){var e=(0,D.Z)(function*(t,n){"function"!=typeof t.canDismiss||!(yield t.canDismiss(void 0,l.G))||(n.isRunning()?n.onFinish(()=>{t.dismiss(void 0,"handler")},{oneTimeCallback:!0}):t.dismiss(void 0,"handler"))});return function(n,o){return e.apply(this,arguments)}}(),ie=e=>.00255275*2.71828**(-14.9619*e)-1.00255*2.71828**(-.0380968*e)+1,he=(e,t)=>(0,m.l)(400,e/Math.abs(1.1*t),500),fe=e=>{const{currentBreakpoint:t,backdropBreakpoint:n}=e,o=void 0===n||n{const{currentBreakpoint:t,backdropBreakpoint:n}=e,o=`calc(var(--backdrop-opacity) * ${oe(t,n)})`,i=[{offset:0,opacity:o},{offset:1,opacity:0}],r=[{offset:0,opacity:o},{offset:n,opacity:0},{offset:1,opacity:0}],s=(0,f.c)("backdropAnimation").keyframes(0!==n?r:i);return{wrapperAnimation:(0,f.c)("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:`translateY(${100-100*t}%)`},{offset:1,opacity:1,transform:"translateY(100%)"}]),backdropAnimation:s}},ue=(e,t)=>{const{presentingEl:n,currentBreakpoint:o}=t,i=(0,m.g)(e),{wrapperAnimation:r,backdropAnimation:s}=void 0!==o?fe(t):{backdropAnimation:(0,f.c)().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:(0,f.c)().fromTo("transform","translateY(100vh)","translateY(0vh)")};s.addElement(i.querySelector("ion-backdrop")),r.addElement(i.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const a=(0,f.c)("entering-base").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation(r);if(n){const d=window.innerWidth<768,k="ION-MODAL"===n.tagName&&void 0!==n.presentingElement,b=(0,m.g)(n),A=(0,f.c)().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),v=document.body;if(d){const w=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",_=`translateY(${k?"-10px":w}) scale(0.93)`;A.afterStyles({transform:_}).beforeAddWrite(()=>v.style.setProperty("background-color","black")).addElement(n).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:_,borderRadius:"10px 10px 0 0"}]),a.addAnimation(A)}else if(a.addAnimation(s),k){const x=`translateY(-10px) scale(${k?.93:1})`;A.afterStyles({transform:x}).addElement(b.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:x}]);const c=(0,f.c)().afterStyles({transform:x}).addElement(b.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:x}]);a.addAnimation([A,c])}else r.fromTo("opacity","0","1")}else a.addAnimation(s);return a},ge=(e,t,n=500)=>{const{presentingEl:o,currentBreakpoint:i}=t,r=(0,m.g)(e),{wrapperAnimation:s,backdropAnimation:a}=void 0!==i?me(t):{backdropAnimation:(0,f.c)().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:(0,f.c)().fromTo("transform","translateY(0vh)","translateY(100vh)")};a.addElement(r.querySelector("ion-backdrop")),s.addElement(r.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const d=(0,f.c)("leaving-base").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(n).addAnimation(s);if(o){const k=window.innerWidth<768,b="ION-MODAL"===o.tagName&&void 0!==o.presentingElement,A=(0,m.g)(o),v=(0,f.c)().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish(x=>{1===x&&(o.style.setProperty("overflow",""),Array.from(w.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter(_=>void 0!==_.presentingElement).length<=1&&w.style.setProperty("background-color",""))}),w=document.body;if(k){const x=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",N=`translateY(${b?"-10px":x}) scale(0.93)`;v.addElement(o).keyframes([{offset:0,filter:"contrast(0.85)",transform:N,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),d.addAnimation(v)}else if(d.addAnimation(a),b){const c=`translateY(-10px) scale(${b?.93:1})`;v.addElement(A.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:c},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);const _=(0,f.c)().addElement(A.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:c},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);d.addAnimation([v,_])}else s.fromTo("opacity","1","0")}else d.addAnimation(a);return d},Ee=(e,t)=>{const{currentBreakpoint:n}=t,o=(0,m.g)(e),{wrapperAnimation:i,backdropAnimation:r}=void 0!==n?fe(t):{backdropAnimation:(0,f.c)().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:(0,f.c)().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}])};return r.addElement(o.querySelector("ion-backdrop")),i.addElement(o.querySelector(".modal-wrapper")),(0,f.c)().addElement(e).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([r,i])},De=(e,t)=>{const{currentBreakpoint:n}=t,o=(0,m.g)(e),{wrapperAnimation:i,backdropAnimation:r}=void 0!==n?me(t):{backdropAnimation:(0,f.c)().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:(0,f.c)().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}])};return r.addElement(o.querySelector("ion-backdrop")),i.addElement(o.querySelector(".modal-wrapper")),(0,f.c)().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([r,i])},be=class{constructor(e){(0,h.r)(this,e),this.didPresent=(0,h.d)(this,"ionModalDidPresent",7),this.willPresent=(0,h.d)(this,"ionModalWillPresent",7),this.willDismiss=(0,h.d)(this,"ionModalWillDismiss",7),this.didDismiss=(0,h.d)(this,"ionModalDidDismiss",7),this.ionBreakpointDidChange=(0,h.d)(this,"ionBreakpointDidChange",7),this.didPresentShorthand=(0,h.d)(this,"didPresent",7),this.willPresentShorthand=(0,h.d)(this,"willPresent",7),this.willDismissShorthand=(0,h.d)(this,"willDismiss",7),this.didDismissShorthand=(0,h.d)(this,"didDismiss",7),this.ionMount=(0,h.d)(this,"ionMount",7),this.lockController=(0,ne.c)(),this.triggerController=(0,l.e)(),this.coreDelegate=(0,$.C)(),this.isSheetModal=!1,this.inheritedAttributes={},this.inline=!1,this.gestureAnimationDismissing=!1,this.onHandleClick=()=>{const{sheetTransition:t,handleBehavior:n}=this;"cycle"!==n||void 0!==t||this.moveToNextBreakpoint()},this.onBackdropTap=()=>{const{sheetTransition:t}=this;void 0===t&&this.dismiss(void 0,l.B)},this.onLifecycle=t=>{const n=this.usersElement,o=Me[t.type];if(n&&o){const i=new CustomEvent(o,{bubbles:!1,cancelable:!1,detail:t.detail});n.dispatchEvent(i)}},this.presented=!1,this.hasController=!1,this.overlayIndex=void 0,this.delegate=void 0,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.breakpoints=void 0,this.initialBreakpoint=void 0,this.backdropBreakpoint=0,this.handle=void 0,this.handleBehavior="none",this.component=void 0,this.componentProps=void 0,this.cssClass=void 0,this.backdropDismiss=!0,this.showBackdrop=!0,this.animated=!0,this.presentingElement=void 0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0,this.keepContentsMounted=!1,this.canDismiss=!0}onIsOpenChange(e,t){!0===e&&!1===t?this.present():!1===e&&!0===t&&this.dismiss()}triggerChanged(){const{trigger:e,el:t,triggerController:n}=this;e&&n.addClickListener(t,e)}breakpointsChanged(e){void 0!==e&&(this.sortedBreakpoints=e.sort((t,n)=>t-n))}connectedCallback(){const{el:e}=this;(0,l.j)(e),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){const{breakpoints:e,initialBreakpoint:t,el:n}=this,o=this.isSheetModal=void 0!==e&&void 0!==t;this.inheritedAttributes=(0,m.k)(n,["aria-label","role"]),o&&(this.currentBreakpoint=this.initialBreakpoint),void 0!==e&&void 0!==t&&!e.includes(t)&&(0,z.p)("Your breakpoints array must include the initialBreakpoint value."),(0,l.k)(n)}componentDidLoad(){!0===this.isOpen&&(0,m.r)(()=>this.present()),this.breakpointsChanged(this.breakpoints),this.triggerChanged()}getDelegate(e=!1){if(this.workingDelegate&&!e)return{delegate:this.workingDelegate,inline:this.inline};const n=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:n,delegate:this.workingDelegate=n?this.delegate||this.coreDelegate:this.delegate}}checkCanDismiss(e,t){var n=this;return(0,D.Z)(function*(){const{canDismiss:o}=n;return"function"==typeof o?o(e,t):o})()}present(){var e=this;return(0,D.Z)(function*(){const t=yield e.lockController.lock();if(e.presented)return void t();const{presentingElement:n,el:o}=e;e.currentBreakpoint=e.initialBreakpoint;const{inline:i,delegate:r}=e.getDelegate(!0);e.ionMount.emit(),e.usersElement=yield(0,$.a)(r,o,e.component,["ion-page"],e.componentProps,i),(0,m.m)(o)?yield(0,F.e)(e.usersElement):e.keepContentsMounted||(yield(0,F.w)()),(0,h.w)(()=>e.el.classList.add("show-modal"));const s=void 0!==n;s&&"ios"===(0,L.b)(e)&&(e.statusBarStyle=yield Z.getStyle(),ce()),yield(0,l.f)(e,"modalEnter",ue,Ee,{presentingEl:n,currentBreakpoint:e.initialBreakpoint,backdropBreakpoint:e.backdropBreakpoint}),typeof window<"u"&&(e.keyboardOpenCallback=()=>{e.gesture&&(e.gesture.enable(!1),(0,m.r)(()=>{e.gesture&&e.gesture.enable(!0)}))},window.addEventListener(U.KEYBOARD_DID_OPEN,e.keyboardOpenCallback)),e.isSheetModal?e.initSheetGesture():s&&e.initSwipeToClose(),t()})()}initSwipeToClose(){var t,e=this;if("ios"!==(0,L.b)(this))return;const{el:n}=this,o=this.leaveAnimation||L.c.get("modalLeave",ge),i=this.animation=o(n,{presentingEl:this.presentingElement});if(!(0,M.a)(n))return void(0,M.p)(n);const s=null!==(t=this.statusBarStyle)&&void 0!==t?t:j.Default;this.gesture=((e,t,n,o)=>{const r=e.offsetHeight;let s=!1,a=!1,d=null,k=null,A=!0,v=0;const V=(0,le.createGesture)({el:e,gestureName:"modalSwipeToClose",gesturePriority:l.O,direction:"y",threshold:10,canStart:y=>{const u=y.event.target;return null===u||!u.closest||(d=(0,M.f)(u),d?(k=(0,M.i)(d)?(0,m.g)(d).querySelector(".inner-scroll"):d,!d.querySelector("ion-refresher")&&0===k.scrollTop):null===u.closest("ion-footer"))},onStart:y=>{const{deltaY:u}=y;A=!d||!(0,M.i)(d)||d.scrollY,a=void 0!==e.canDismiss&&!0!==e.canDismiss,u>0&&d&&(0,M.d)(d),t.progressStart(!0,s?1:0)},onMove:y=>{const{deltaY:u}=y;u>0&&d&&(0,M.d)(d);const B=y.deltaY/r,P=B>=0&&a,O=P?.2:.9999,H=P?ie(B/O):B,C=(0,m.l)(1e-4,H,O);t.progressStep(C),C>=.5&&v<.5?re(n):C<.5&&v>=.5&&ce(),v=C},onEnd:y=>{const u=y.velocityY,B=y.deltaY/r,P=B>=0&&a,O=P?.2:.9999,H=P?ie(B/O):B,C=(0,m.l)(1e-4,H,O),R=!P&&(y.deltaY+1e3*u)/r>=.5;let J=R?-.001:.001;R?(t.easing("cubic-bezier(0.32, 0.72, 0, 1)"),J+=(0,de.g)([0,0],[.32,.72],[0,1],[1,1],C)[0]):(t.easing("cubic-bezier(1, 0, 0.68, 0.28)"),J+=(0,de.g)([0,0],[1,0],[.68,.28],[1,1],C)[0]);const ee=he(R?B*r:(1-C)*r,u);s=R,V.enable(!1),d&&(0,M.r)(d,A),t.onFinish(()=>{R||V.enable(!0)}).progressEnd(R?1:0,J,ee),P&&C>O/4?pe(e,t):R&&o()}});return V})(n,i,s,()=>{this.gestureAnimationDismissing=!0,re(this.statusBarStyle),this.animation.onFinish((0,D.Z)(function*(){yield e.dismiss(void 0,l.G),e.gestureAnimationDismissing=!1}))}),this.gesture.enable(!0)}initSheetGesture(){const{wrapperEl:e,initialBreakpoint:t,backdropBreakpoint:n}=this;if(!e||void 0===t)return;const o=this.enterAnimation||L.c.get("modalEnter",ue),i=this.animation=o(this.el,{presentingEl:this.presentingElement,currentBreakpoint:t,backdropBreakpoint:n});i.progressStart(!0,1);const{gesture:r,moveSheetToBreakpoint:s}=((e,t,n,o,i,r,s=[],a,d,k)=>{const v={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:0!==i?[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-i,opacity:0},{offset:1,opacity:0}]:[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}]},w=e.querySelector("ion-content"),x=n.clientHeight;let c=o,_=0,N=!1;const y=r.childAnimations.find(S=>"wrapperAnimation"===S.id),u=r.childAnimations.find(S=>"backdropAnimation"===S.id),B=s[s.length-1],P=s[0],O=()=>{e.style.setProperty("pointer-events","auto"),t.style.setProperty("pointer-events","auto"),e.classList.remove("ion-disable-focus-trap")},H=()=>{e.style.setProperty("pointer-events","none"),t.style.setProperty("pointer-events","none"),e.classList.add("ion-disable-focus-trap")};y&&u&&(y.keyframes([...v.WRAPPER_KEYFRAMES]),u.keyframes([...v.BACKDROP_KEYFRAMES]),r.progressStart(!0,1-c),c>i?O():H()),w&&c!==B&&(w.scrollY=!1);const ee=S=>{const{breakpoint:W,canDismiss:T,breakpointOffset:Y,animated:G}=S,K=T&&0===W,I=K?c:W,ye=0!==I;return c=0,y&&u&&(y.keyframes([{offset:0,transform:`translateY(${100*Y}%)`},{offset:1,transform:`translateY(${100*(1-I)}%)`}]),u.keyframes([{offset:0,opacity:`calc(var(--backdrop-opacity) * ${oe(1-Y,i)})`},{offset:1,opacity:`calc(var(--backdrop-opacity) * ${oe(I,i)})`}]),r.progressStep(0)),te.enable(!1),K?pe(e,r):ye||d(),new Promise(ae=>{r.onFinish(()=>{ye?y&&u?(0,m.r)(()=>{y.keyframes([...v.WRAPPER_KEYFRAMES]),u.keyframes([...v.BACKDROP_KEYFRAMES]),r.progressStart(!0,1-I),c=I,k(c),w&&c===s[s.length-1]&&(w.scrollY=!0),c>i?O():H(),te.enable(!0),ae()}):(te.enable(!0),ae()):ae()},{oneTimeCallback:!0}).progressEnd(1,0,G?500:0)})},te=(0,le.createGesture)({el:n,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:S=>{const W=S.event.target.closest("ion-content");return c=a(),!(1===c&&W)},onStart:()=>{N=void 0!==e.canDismiss&&!0!==e.canDismiss&&0===P,w&&(w.scrollY=!1),(0,m.r)(()=>{e.focus()}),r.progressStart(!0,1-c)},onMove:S=>{const T=s.length>1?1-s[1]:void 0,Y=1-c+S.deltaY/x,G=void 0!==T&&Y>=T&&N,K=G?.95:.9999,I=G&&void 0!==T?T+ie((Y-T)/(K-T)):Y;_=(0,m.l)(1e-4,I,K),r.progressStep(_)},onEnd:S=>{const Y=c-(S.deltaY+350*S.velocityY)/x,G=s.reduce((K,I)=>Math.abs(I-Y){var a;return null!==(a=this.currentBreakpoint)&&void 0!==a?a:0},()=>this.sheetOnDismiss(),a=>{this.currentBreakpoint!==a&&(this.currentBreakpoint=a,this.ionBreakpointDidChange.emit({breakpoint:a}))});this.gesture=r,this.moveSheetToBreakpoint=s,this.gesture.enable(!0)}sheetOnDismiss(){var e=this;this.gestureAnimationDismissing=!0,this.animation.onFinish((0,D.Z)(function*(){e.currentBreakpoint=0,e.ionBreakpointDidChange.emit({breakpoint:e.currentBreakpoint}),yield e.dismiss(void 0,l.G),e.gestureAnimationDismissing=!1}))}dismiss(e,t){var n=this;return(0,D.Z)(function*(){var o;if(n.gestureAnimationDismissing&&t!==l.G)return!1;const i=yield n.lockController.lock();if("handler"!==t&&!(yield n.checkCanDismiss(e,t)))return i(),!1;const{presentingElement:r}=n;void 0!==r&&"ios"===(0,L.b)(n)&&re(n.statusBarStyle),typeof window<"u"&&n.keyboardOpenCallback&&(window.removeEventListener(U.KEYBOARD_DID_OPEN,n.keyboardOpenCallback),n.keyboardOpenCallback=void 0);const a=l.n.get(n)||[],d=yield(0,l.g)(n,e,t,"modalLeave",ge,De,{presentingEl:r,currentBreakpoint:null!==(o=n.currentBreakpoint)&&void 0!==o?o:n.initialBreakpoint,backdropBreakpoint:n.backdropBreakpoint});if(d){const{delegate:k}=n.getDelegate();yield(0,$.d)(k,n.usersElement),(0,h.w)(()=>n.el.classList.remove("show-modal")),n.animation&&n.animation.destroy(),n.gesture&&n.gesture.destroy(),a.forEach(b=>b.destroy())}return n.currentBreakpoint=void 0,n.animation=void 0,i(),d})()}onDidDismiss(){return(0,l.h)(this.el,"ionModalDidDismiss")}onWillDismiss(){return(0,l.h)(this.el,"ionModalWillDismiss")}setCurrentBreakpoint(e){var t=this;return(0,D.Z)(function*(){if(!t.isSheetModal)return void(0,z.p)("setCurrentBreakpoint is only supported on sheet modals.");if(!t.breakpoints.includes(e))return void(0,z.p)(`Attempted to set invalid breakpoint value ${e}. Please double check that the breakpoint value is part of your defined breakpoints.`);const{currentBreakpoint:n,moveSheetToBreakpoint:o,canDismiss:i,breakpoints:r,animated:s}=t;n!==e&&o&&(t.sheetTransition=o({breakpoint:e,breakpointOffset:1-n,canDismiss:void 0!==i&&!0!==i&&0===r[0],animated:s}),yield t.sheetTransition,t.sheetTransition=void 0)})()}getCurrentBreakpoint(){var e=this;return(0,D.Z)(function*(){return e.currentBreakpoint})()}moveToNextBreakpoint(){var e=this;return(0,D.Z)(function*(){const{breakpoints:t,currentBreakpoint:n}=e;if(!t||null==n)return!1;const o=t.filter(a=>0!==a),r=(o.indexOf(n)+1)%o.length,s=o[r];return yield e.setCurrentBreakpoint(s),!0})()}render(){const{handle:e,isSheetModal:t,presentingElement:n,htmlAttributes:o,handleBehavior:i,inheritedAttributes:r}=this,s=!1!==e&&t,a=(0,L.b)(this),d=void 0!==n&&"ios"===a,k="cycle"===i;return(0,h.h)(h.H,Object.assign({"no-router":!0,tabindex:"-1"},o,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[a]:!0,"modal-default":!d&&!t,"modal-card":d,"modal-sheet":t,"overlay-hidden":!0},(0,E.g)(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle}),(0,h.h)("ion-backdrop",{ref:b=>this.backdropEl=b,visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),"ios"===a&&(0,h.h)("div",{class:"modal-shadow"}),(0,h.h)("div",Object.assign({role:"dialog"},r,{"aria-modal":"true",class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:b=>this.wrapperEl=b}),s&&(0,h.h)("button",{class:"modal-handle",tabIndex:k?0:-1,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:k?this.onHandleClick:void 0,part:"handle"}),(0,h.h)("slot",null)))}get el(){return(0,h.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},Me={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};var e;be.style={ios:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-card) .modal-wrapper,:host-context([dir=rtl]).modal-card .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-card:dir(rtl)) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-sheet) .modal-wrapper,:host-context([dir=rtl]).modal-sheet .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-sheet:dir(rtl)) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}',md:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}'}},3814:(ke,Q,p)=>{p.d(Q,{c:()=>M,g:()=>m,h:()=>h,o:()=>z});var D=p(5861);const h=(g,l)=>null!==l.closest(g),M=(g,l)=>"string"==typeof g&&g.length>0?Object.assign({"ion-color":!0,[`ion-color-${g}`]:!0},l):l,m=g=>{const l={};return(g=>void 0!==g?(Array.isArray(g)?g:g.split(" ")).filter(E=>null!=E).map(E=>E.trim()).filter(E=>""!==E):[])(g).forEach(E=>l[E]=!0),l},ne=/^[a-z][a-z0-9+\-.]*:/,z=function(){var g=(0,D.Z)(function*(l,E,F,L){if(null!=l&&"#"!==l[0]&&!ne.test(l)){const U=document.querySelector("ion-router");if(U)return E?.preventDefault(),U.push(l,F,L)}return!1});return function(E,F,L,U){return g.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/2658.144c039844d38716.js b/2658.144c039844d38716.js new file mode 100644 index 00000000..91d9f26e --- /dev/null +++ b/2658.144c039844d38716.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2658],{2658:(et,H,D)=>{D.r(H),D.d(H,{iosTransitionAnimation:()=>tt,shadow:()=>h});var o=D(7700),J=D(3435);const k=s=>document.querySelector(`${s}.ion-cloned-element`),h=s=>s.shadowRoot||s,G=s=>{const r="ION-TABS"===s.tagName?s:s.querySelector("ion-tabs"),c="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=r){const e=r.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=e?e.querySelector(c):null}return s.querySelector(c)},U=(s,r)=>{const c="ION-TABS"===s.tagName?s:s.querySelector("ion-tabs");let e=[];if(null!=c){const t=c.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=t&&(e=t.querySelectorAll("ion-buttons"))}else e=s.querySelectorAll("ion-buttons");for(const t of e){const p=t.closest("ion-header"),i=p&&!p.classList.contains("header-collapse-condense-inactive"),u=t.querySelector("ion-back-button"),l=t.classList.contains("buttons-collapse");if(null!==u&&("start"===t.slot||""===t.slot)&&(l&&i&&r||!l))return u}return null},z=(s,r,c,e,t,p,i,u,l)=>{var y,E;const _=r?`calc(100% - ${t.right+4}px)`:t.left-4+"px",f=r?"right":"left",T=r?"left":"right",R=r?"right":"left",O=(null===(y=p.textContent)||void 0===y?void 0:y.trim())===(null===(E=u.textContent)||void 0===E?void 0:E.trim()),S=(l.height-Z)/i.height,X=O?`scale(${l.width/i.width}, ${S})`:`scale(${S})`,M="scale(1)",x=h(e).querySelector("ion-icon").getBoundingClientRect(),n=r?x.width/2-(x.right-t.right)+"px":t.left-x.width/2+"px",g=r?`-${window.innerWidth-t.right}px`:`${t.left}px`,$=`${l.top}px`,C=`${t.top}px`,I=c?[{offset:0,transform:`translate3d(${g}, ${C}, 0)`},{offset:1,transform:`translate3d(${n}, ${$}, 0)`}]:[{offset:0,transform:`translate3d(${n}, ${$}, 0)`},{offset:1,transform:`translate3d(${g}, ${C}, 0)`}],A=c?[{offset:0,opacity:1,transform:M},{offset:1,opacity:0,transform:X}]:[{offset:0,opacity:0,transform:X},{offset:1,opacity:1,transform:M}],N=c?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],L=(0,o.c)(),q=(0,o.c)(),w=(0,o.c)(),m=k("ion-back-button"),P=h(m).querySelector(".button-text"),Y=h(m).querySelector("ion-icon");m.text=e.text,m.mode=e.mode,m.icon=e.icon,m.color=e.color,m.disabled=e.disabled,m.style.setProperty("display","block"),m.style.setProperty("position","fixed"),q.addElement(Y),L.addElement(P),w.addElement(m),w.beforeStyles({position:"absolute",top:"0px",[R]:"0px"}).keyframes(I),L.beforeStyles({"transform-origin":`${f} top`}).beforeAddWrite(()=>{e.style.setProperty("display","none"),m.style.setProperty(f,_)}).afterAddWrite(()=>{e.style.setProperty("display",""),m.style.setProperty("display","none"),m.style.removeProperty(f)}).keyframes(A),q.beforeStyles({"transform-origin":`${T} center`}).keyframes(N),s.addAnimation([L,q,w])},j=(s,r,c,e,t,p,i,u)=>{var l,y;const E=r?"right":"left",_=r?`calc(100% - ${t.right}px)`:`${t.left}px`,T=`${t.top}px`,O=r?`-${window.innerWidth-u.right-8}px`:u.x-8+"px",S=u.y-2+"px",X=(null===(l=i.textContent)||void 0===l?void 0:l.trim())===(null===(y=e.textContent)||void 0===y?void 0:y.trim()),W=u.height/(p.height-Z),x="scale(1)",n=X?`scale(${u.width/p.width}, ${W})`:`scale(${W})`,C=c?[{offset:0,opacity:0,transform:`translate3d(${O}, ${S}, 0) ${n}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${T}, 0) ${x}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${T}, 0) ${x}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${O}, ${S}, 0) ${n}`}],a=k("ion-title"),d=(0,o.c)();a.innerText=e.innerText,a.size=e.size,a.color=e.color,d.addElement(a),d.beforeStyles({"transform-origin":`${E} top`,height:`${t.height}px`,display:"",position:"relative",[E]:_}).beforeAddWrite(()=>{e.style.setProperty("opacity","0")}).afterAddWrite(()=>{e.style.setProperty("opacity",""),a.style.setProperty("display","none")}).keyframes(C),s.addAnimation(d)},tt=(s,r)=>{var c;try{const e="cubic-bezier(0.32,0.72,0,1)",t="opacity",p="transform",i="0%",l="rtl"===s.ownerDocument.dir,y=l?"-99.5%":"99.5%",E=l?"33%":"-33%",_=r.enteringEl,f=r.leavingEl,T="back"===r.direction,R=_.querySelector(":scope > ion-content"),O=_.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),b=_.querySelectorAll(":scope > ion-header > ion-toolbar"),S=(0,o.c)(),X=(0,o.c)();if(S.addElement(_).duration((null!==(c=r.duration)&&void 0!==c?c:0)||540).easing(r.easing||e).fill("both").beforeRemoveClass("ion-page-invisible"),f&&null!=s){const n=(0,o.c)();n.addElement(s),S.addAnimation(n)}if(R||0!==b.length||0!==O.length?(X.addElement(R),X.addElement(O)):X.addElement(_.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),S.addAnimation(X),T?X.beforeClearStyles([t]).fromTo("transform",`translateX(${E})`,`translateX(${i})`).fromTo(t,.8,1):X.beforeClearStyles([t]).fromTo("transform",`translateX(${y})`,`translateX(${i})`),R){const n=h(R).querySelector(".transition-effect");if(n){const g=n.querySelector(".transition-cover"),$=n.querySelector(".transition-shadow"),C=(0,o.c)(),a=(0,o.c)(),d=(0,o.c)();C.addElement(n).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),a.addElement(g).beforeClearStyles([t]).fromTo(t,0,.1),d.addElement($).beforeClearStyles([t]).fromTo(t,.03,.7),C.addAnimation([a,d]),X.addAnimation([C])}}const M=_.querySelector("ion-header.header-collapse-condense"),{forward:W,backward:x}=((s,r,c,e,t)=>{const p=U(e,c),i=G(t),u=G(e),l=U(t,c),y=null!==p&&null!==i&&!c,E=null!==u&&null!==l&&c;if(y){const _=i.getBoundingClientRect(),f=p.getBoundingClientRect(),T=h(p).querySelector(".button-text"),R=T.getBoundingClientRect(),b=h(i).querySelector(".toolbar-title").getBoundingClientRect();j(s,r,c,i,_,b,T,R),z(s,r,c,p,f,T,R,i,b)}else if(E){const _=u.getBoundingClientRect(),f=l.getBoundingClientRect(),T=h(l).querySelector(".button-text"),R=T.getBoundingClientRect(),b=h(u).querySelector(".toolbar-title").getBoundingClientRect();j(s,r,c,u,_,b,T,R),z(s,r,c,l,f,T,R,u,b)}return{forward:y,backward:E}})(S,l,T,_,f);if(b.forEach(n=>{const g=(0,o.c)();g.addElement(n),S.addAnimation(g);const $=(0,o.c)();$.addElement(n.querySelector("ion-title"));const C=(0,o.c)(),a=Array.from(n.querySelectorAll("ion-buttons,[menuToggle]")),d=n.closest("ion-header"),I=d?.classList.contains("header-collapse-condense-inactive");let v;v=a.filter(T?N=>{const L=N.classList.contains("buttons-collapse");return L&&!I||!L}:N=>!N.classList.contains("buttons-collapse")),C.addElement(v);const B=(0,o.c)();B.addElement(n.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const A=(0,o.c)();A.addElement(h(n).querySelector(".toolbar-background"));const F=(0,o.c)(),K=n.querySelector("ion-back-button");if(K&&F.addElement(K),g.addAnimation([$,C,B,A,F]),C.fromTo(t,.01,1),B.fromTo(t,.01,1),T)I||$.fromTo("transform",`translateX(${E})`,`translateX(${i})`).fromTo(t,.01,1),B.fromTo("transform",`translateX(${E})`,`translateX(${i})`),F.fromTo(t,.01,1);else if(M||$.fromTo("transform",`translateX(${y})`,`translateX(${i})`).fromTo(t,.01,1),B.fromTo("transform",`translateX(${y})`,`translateX(${i})`),A.beforeClearStyles([t,"transform"]),d?.translucent?A.fromTo("transform",l?"translateX(-100%)":"translateX(100%)","translateX(0px)"):A.fromTo(t,.01,"var(--opacity)"),W||F.fromTo(t,.01,1),K&&!W){const L=(0,o.c)();L.addElement(h(K).querySelector(".button-text")).fromTo("transform",l?"translateX(-100px)":"translateX(100px)","translateX(0px)"),g.addAnimation(L)}}),f){const n=(0,o.c)(),g=f.querySelector(":scope > ion-content"),$=f.querySelectorAll(":scope > ion-header > ion-toolbar"),C=f.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(g||0!==$.length||0!==C.length?(n.addElement(g),n.addElement(C)):n.addElement(f.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),S.addAnimation(n),T){n.beforeClearStyles([t]).fromTo("transform",`translateX(${i})`,l?"translateX(-100%)":"translateX(100%)");const a=(0,J.g)(f);S.afterAddWrite(()=>{"normal"===S.getDirection()&&a.style.setProperty("display","none")})}else n.fromTo("transform",`translateX(${i})`,`translateX(${E})`).fromTo(t,1,.8);if(g){const a=h(g).querySelector(".transition-effect");if(a){const d=a.querySelector(".transition-cover"),I=a.querySelector(".transition-shadow"),v=(0,o.c)(),B=(0,o.c)(),A=(0,o.c)();v.addElement(a).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),B.addElement(d).beforeClearStyles([t]).fromTo(t,.1,0),A.addElement(I).beforeClearStyles([t]).fromTo(t,.7,.03),v.addAnimation([B,A]),n.addAnimation([v])}}$.forEach(a=>{const d=(0,o.c)();d.addElement(a);const I=(0,o.c)();I.addElement(a.querySelector("ion-title"));const v=(0,o.c)(),B=a.querySelectorAll("ion-buttons,[menuToggle]"),A=a.closest("ion-header"),F=A?.classList.contains("header-collapse-condense-inactive"),K=Array.from(B).filter(P=>{const Y=P.classList.contains("buttons-collapse");return Y&&!F||!Y});v.addElement(K);const N=(0,o.c)(),L=a.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");L.length>0&&N.addElement(L);const q=(0,o.c)();q.addElement(h(a).querySelector(".toolbar-background"));const w=(0,o.c)(),m=a.querySelector("ion-back-button");if(m&&w.addElement(m),d.addAnimation([I,v,N,w,q]),S.addAnimation(d),w.fromTo(t,.99,0),v.fromTo(t,.99,0),N.fromTo(t,.99,0),T){if(F||I.fromTo("transform",`translateX(${i})`,l?"translateX(-100%)":"translateX(100%)").fromTo(t,.99,0),N.fromTo("transform",`translateX(${i})`,l?"translateX(-100%)":"translateX(100%)"),q.beforeClearStyles([t,"transform"]),A?.translucent?q.fromTo("transform","translateX(0px)",l?"translateX(-100%)":"translateX(100%)"):q.fromTo(t,"var(--opacity)",0),m&&!x){const Y=(0,o.c)();Y.addElement(h(m).querySelector(".button-text")).fromTo("transform",`translateX(${i})`,`translateX(${(l?-124:124)+"px"})`),d.addAnimation(Y)}}else F||I.fromTo("transform",`translateX(${i})`,`translateX(${E})`).fromTo(t,.99,0).afterClearStyles([p,t]),N.fromTo("transform",`translateX(${i})`,`translateX(${E})`).afterClearStyles([p,t]),w.afterClearStyles([t]),I.afterClearStyles([t]),v.afterClearStyles([t])})}return S}catch(e){throw e}},Z=10}}]); \ No newline at end of file diff --git a/2773.5088b7f21e9a830d.js b/2773.5088b7f21e9a830d.js new file mode 100644 index 00000000..448ea9bd --- /dev/null +++ b/2773.5088b7f21e9a830d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2773],{2773:(B,_,n)=>{n.r(_),n.d(_,{ion_select:()=>z,ion_select_option:()=>D,ion_select_popover:()=>A});var x=n(5861),o=n(408),L=n(8134),j=n(2448),w=n(2890),f=n(2961),O=n(8909),a=n(8042),p=n(6879),c=n(3814),C=n(2754),y=n(5723),g=n(4649);n(2972);const z=class{constructor(e){(0,o.r)(this,e),this.ionChange=(0,o.d)(this,"ionChange",7),this.ionCancel=(0,o.d)(this,"ionCancel",7),this.ionDismiss=(0,o.d)(this,"ionDismiss",7),this.ionFocus=(0,o.d)(this,"ionFocus",7),this.ionBlur=(0,o.d)(this,"ionBlur",7),this.ionStyle=(0,o.d)(this,"ionStyle",7),this.inputId="ion-sel-"+U++,this.inheritedAttributes={},this.hasLoggedDeprecationWarning=!1,this.onClick=t=>{const l=t.target,i=l.closest('[slot="start"], [slot="end"]');l===this.el||null===i?(this.setFocus(),this.open(t)):(t.stopPropagation(),t.preventDefault())},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.isExpanded=!1,this.cancelText="Cancel",this.color=void 0,this.compareWith=void 0,this.disabled=!1,this.fill=void 0,this.interface="alert",this.interfaceOptions={},this.justify="space-between",this.label=void 0,this.labelPlacement="start",this.legacy=void 0,this.multiple=!1,this.name=this.inputId,this.okText="OK",this.placeholder=void 0,this.selectedText=void 0,this.toggleIcon=void 0,this.expandedIcon=void 0,this.shape=void 0,this.value=void 0}styleChanged(){this.emitStyle()}setValue(e){this.value=e,this.ionChange.emit({value:e})}componentWillLoad(){this.inheritedAttributes=(0,f.k)(this.el,["aria-label"])}connectedCallback(){var e=this;return(0,x.Z)(function*(){const{el:t}=e;e.legacyFormController=(0,L.c)(t),e.notchController=(0,j.c)(t,()=>e.notchSpacerEl,()=>e.labelSlot),e.updateOverlayOptions(),e.emitStyle(),e.mutationO=(0,C.w)(e.el,"ion-select-option",(0,x.Z)(function*(){e.updateOverlayOptions(),(0,o.i)(e)}))})()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0),this.notchController&&(this.notchController.destroy(),this.notchController=void 0)}open(e){var t=this;return(0,x.Z)(function*(){if(t.disabled||t.isExpanded)return;t.isExpanded=!0;const l=t.overlay=yield t.createOverlay(e);if(l.onDidDismiss().then(()=>{t.overlay=void 0,t.isExpanded=!1,t.ionDismiss.emit(),t.setFocus()}),yield l.present(),"popover"===t.interface){const i=t.childOpts.map(s=>s.value).indexOf(t.value);if(i>-1){const s=l.querySelector(`.select-interface-option:nth-child(${i+1})`);if(s){(0,f.f)(s);const r=s.querySelector("ion-radio, ion-checkbox");r&&r.focus()}}else{const s=l.querySelector("ion-radio:not(.radio-disabled), ion-checkbox:not(.checkbox-disabled)");s&&((0,f.f)(s.closest("ion-item")),s.focus())}}return l})()}createOverlay(e){let t=this.interface;return"action-sheet"===t&&this.multiple&&(console.warn(`Select interface cannot be "${t}" with a multi-value select. Using the "alert" interface instead.`),t="alert"),"popover"===t&&!e&&(console.warn(`Select interface cannot be a "${t}" without passing an event. Using the "alert" interface instead.`),t="alert"),"action-sheet"===t?this.openActionSheet():"popover"===t?this.openPopover(e):this.openAlert()}updateOverlayOptions(){const e=this.overlay;if(!e)return;const t=this.childOpts,l=this.value;switch(this.interface){case"action-sheet":e.buttons=this.createActionSheetButtons(t,l);break;case"popover":const i=e.querySelector("ion-select-popover");i&&(i.options=this.createPopoverOptions(t,l));break;case"alert":e.inputs=this.createAlertInputs(t,this.multiple?"checkbox":"radio",l)}}createActionSheetButtons(e,t){const l=e.map(i=>{const s=E(i),r=Array.from(i.classList).filter(d=>"hydrated"!==d).join(" "),h=`${P} ${r}`;return{role:(0,w.i)(t,s,this.compareWith)?"selected":"",text:i.textContent,cssClass:h,handler:()=>{this.setValue(s)}}});return l.push({text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}}),l}createAlertInputs(e,t,l){return e.map(s=>{const r=E(s),h=Array.from(s.classList).filter(u=>"hydrated"!==u).join(" ");return{type:t,cssClass:`${P} ${h}`,label:s.textContent||"",value:r,checked:(0,w.i)(l,r,this.compareWith),disabled:s.disabled}})}createPopoverOptions(e,t){return e.map(i=>{const s=E(i),r=Array.from(i.classList).filter(d=>"hydrated"!==d).join(" ");return{text:i.textContent||"",cssClass:`${P} ${r}`,value:s,checked:(0,w.i)(t,s,this.compareWith),disabled:i.disabled,handler:d=>{this.setValue(d),this.multiple||this.close()}}})}openPopover(e){var t=this;return(0,x.Z)(function*(){const{fill:l,labelPlacement:i}=t,s=t.interfaceOptions,r=(0,g.b)(t),h="md"!==r,d=t.multiple,u=t.value;let b=e,v="auto";if(t.legacyFormController.hasLegacyControl()){const m=t.el.closest("ion-item");m&&(m.classList.contains("item-label-floating")||m.classList.contains("item-label-stacked"))&&(b=Object.assign(Object.assign({},e),{detail:{ionShadowTarget:m}}),v="cover")}else"floating"===i||"stacked"===i||"md"===r&&void 0!==l?v="cover":b=Object.assign(Object.assign({},e),{detail:{ionShadowTarget:t.nativeWrapperEl}});const k=Object.assign(Object.assign({mode:r,event:b,alignment:"center",size:v,showBackdrop:h},s),{component:"ion-select-popover",cssClass:["select-popover",s.cssClass],componentProps:{header:s.header,subHeader:s.subHeader,message:s.message,multiple:d,value:u,options:t.createPopoverOptions(t.childOpts,u)}});return a.c.create(k)})()}openActionSheet(){var e=this;return(0,x.Z)(function*(){const t=(0,g.b)(e),l=e.interfaceOptions,i=Object.assign(Object.assign({mode:t},l),{buttons:e.createActionSheetButtons(e.childOpts,e.value),cssClass:["select-action-sheet",l.cssClass]});return a.b.create(i)})()}openAlert(){var e=this;return(0,x.Z)(function*(){let t,l;e.legacyFormController.hasLegacyControl()?(t=e.getLabel(),l=t?t.textContent:null):l=e.labelText;const i=e.interfaceOptions,s=e.multiple?"checkbox":"radio",r=(0,g.b)(e),h=Object.assign(Object.assign({mode:r},i),{header:i.header?i.header:l,inputs:e.createAlertInputs(e.childOpts,s,e.value),buttons:[{text:e.cancelText,role:"cancel",handler:()=>{e.ionCancel.emit()}},{text:e.okText,handler:d=>{e.setValue(d)}}],cssClass:["select-alert",i.cssClass,e.multiple?"multiple-select-alert":"single-select-alert"]});return a.a.create(h)})()}close(){return this.overlay?this.overlay.dismiss():Promise.resolve(!1)}getLabel(){return(0,f.h)(this.el)}hasValue(){return""!==this.getText()}get childOpts(){return Array.from(this.el.querySelectorAll("ion-select-option"))}get labelText(){const{label:e}=this;if(void 0!==e)return e;const{labelSlot:t}=this;return null!==t?t.textContent:void 0}getText(){const e=this.selectedText;return null!=e&&""!==e?e:R(this.childOpts,this.value,this.compareWith)}setFocus(){this.focusEl&&this.focusEl.focus()}emitStyle(){const{disabled:e}=this,t={"interactive-disabled":e};this.legacyFormController.hasLegacyControl()&&(t.interactive=!0,t.select=!0,t["select-disabled"]=e,t["has-placeholder"]=void 0!==this.placeholder,t["has-value"]=this.hasValue(),t["has-focus"]=this.isExpanded,t.legacy=!!this.legacy),this.ionStyle.emit(t)}renderLabel(){const{label:e}=this;return(0,o.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel},part:"label"},void 0===e?(0,o.h)("slot",{name:"label"}):(0,o.h)("div",{class:"label-text"},e))}componentDidRender(){var e;null===(e=this.notchController)||void 0===e||e.calculateNotchWidth()}get labelSlot(){return this.el.querySelector('[slot="label"]')}get hasLabel(){return void 0!==this.label||null!==this.labelSlot}renderLabelContainer(){return"md"===(0,g.b)(this)&&"outline"===this.fill?[(0,o.h)("div",{class:"select-outline-container"},(0,o.h)("div",{class:"select-outline-start"}),(0,o.h)("div",{class:{"select-outline-notch":!0,"select-outline-notch-hidden":!this.hasLabel}},(0,o.h)("div",{class:"notch-spacer","aria-hidden":"true",ref:l=>this.notchSpacerEl=l},this.label)),(0,o.h)("div",{class:"select-outline-end"})),this.renderLabel()]:this.renderLabel()}renderSelect(){const{disabled:e,el:t,isExpanded:l,expandedIcon:i,labelPlacement:s,justify:r,placeholder:h,fill:d,shape:u,name:b,value:v}=this,k=(0,g.b)(this),m="floating"===s||"stacked"===s,S=!m,Z=(0,p.i)(t)?"rtl":"ltr",M=(0,c.h)("ion-item",this.el),G="md"===k&&"outline"!==d&&!M,F=this.hasValue(),N=null!==t.querySelector('[slot="start"], [slot="end"]');(0,f.d)(!0,t,b,I(v),e);const J="stacked"===s||"floating"===s&&(F||l||N);return(0,o.h)(o.H,{onClick:this.onClick,class:(0,c.c)(this.color,{[k]:!0,"in-item":M,"in-item-color":(0,c.h)("ion-item.ion-color",t),"select-disabled":e,"select-expanded":l,"has-expanded-icon":void 0!==i,"has-value":F,"label-floating":J,"has-placeholder":void 0!==h,"ion-focusable":!0,[`select-${Z}`]:!0,[`select-fill-${d}`]:void 0!==d,[`select-justify-${r}`]:S,[`select-shape-${u}`]:void 0!==u,[`select-label-placement-${s}`]:!0})},(0,o.h)("label",{class:"select-wrapper",id:"select-label"},this.renderLabelContainer(),(0,o.h)("div",{class:"select-wrapper-inner"},(0,o.h)("slot",{name:"start"}),(0,o.h)("div",{class:"native-wrapper",ref:Q=>this.nativeWrapperEl=Q,part:"container"},this.renderSelectText(),this.renderListbox()),(0,o.h)("slot",{name:"end"}),!m&&this.renderSelectIcon()),m&&this.renderSelectIcon(),G&&(0,o.h)("div",{class:"select-highlight"})))}renderLegacySelect(){this.hasLoggedDeprecationWarning||((0,O.p)('ion-select now requires providing a label with either the "label" property or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the "label" property or the "aria-label" attribute.\n\nExample: ...\nExample with aria-label: ...\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,O.p)('ion-select is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n Developers can dismiss this warning by removing their usage of the "legacy" property and using the new select syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{disabled:e,el:t,inputId:l,isExpanded:i,expandedIcon:s,name:r,placeholder:h,value:d}=this,u=(0,g.b)(this),{labelText:b,labelId:v}=(0,f.e)(t,l);(0,f.d)(!0,t,r,I(d),e);let m=this.getText();""===m&&void 0!==h&&(m=h);const S=void 0!==b?""!==m?`${m}, ${b}`:b:m;return(0,o.h)(o.H,{onClick:this.onClick,role:"button","aria-haspopup":"listbox","aria-disabled":e?"true":null,"aria-label":S,class:{[u]:!0,"in-item":(0,c.h)("ion-item",t),"in-item-color":(0,c.h)("ion-item.ion-color",t),"select-disabled":e,"select-expanded":i,"has-expanded-icon":void 0!==s,"legacy-select":!0}},this.renderSelectText(),this.renderSelectIcon(),(0,o.h)("label",{id:v},S),this.renderListbox())}renderSelectText(){const{placeholder:e}=this;let l=!1,i=this.getText();return""===i&&void 0!==e&&(i=e,l=!0),(0,o.h)("div",{"aria-hidden":"true",class:{"select-text":!0,"select-placeholder":l},part:l?"placeholder":"text"},i)}renderSelectIcon(){const e=(0,g.b)(this),{isExpanded:t,toggleIcon:l,expandedIcon:i}=this;let s;return s=t&&void 0!==i?i:l??("ios"===e?y.w:y.q),(0,o.h)("ion-icon",{class:"select-icon",part:"icon","aria-hidden":"true",icon:s})}get ariaLabel(){var e,t;const{placeholder:l,el:i,inputId:s,inheritedAttributes:r}=this,h=this.getText(),{labelText:d}=(0,f.e)(i,s),u=null!==(t=null!==(e=this.labelText)&&void 0!==e?e:r["aria-label"])&&void 0!==t?t:d;let b=h;return""===b&&void 0!==l&&(b=l),void 0!==u&&(b=""===b?u:`${u}, ${b}`),b}renderListbox(){const{disabled:e,inputId:t,isExpanded:l}=this;return(0,o.h)("button",{disabled:e,id:t,"aria-label":this.ariaLabel,"aria-haspopup":"dialog","aria-expanded":`${l}`,onFocus:this.onFocus,onBlur:this.onBlur,ref:i=>this.focusEl=i})}render(){const{legacyFormController:e}=this;return e.hasLegacyControl()?this.renderLegacySelect():this.renderSelect()}get el(){return(0,o.f)(this)}static get watchers(){return{disabled:["styleChanged"],isExpanded:["styleChanged"],placeholder:["styleChanged"],value:["styleChanged"]}}},E=e=>{const t=e.value;return void 0===t?e.textContent||"":t},I=e=>{if(null!=e)return Array.isArray(e)?e.join(","):e.toString()},R=(e,t,l)=>void 0===t?"":Array.isArray(t)?t.map(i=>T(e,i,l)).filter(i=>null!==i).join(", "):T(e,t,l)||"",T=(e,t,l)=>{const i=e.find(s=>(0,w.c)(t,E(s),l));return i?i.textContent:null};let U=0;const P="select-interface-option";z.style={ios:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:0.6;--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(:not(.legacy-select)){width:100%;min-height:44px}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.legacy-select){-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.in-item:not(.legacy-select)){-ms-flex:1 1 0px;flex:1 1 0}:host(.in-item.legacy-select){position:static;max-width:45%}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]:not(.legacy-select)),:host([slot=end]:not(.legacy-select)){width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}:host(.legacy-select) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-select) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-select) label{left:0}:host-context([dir=rtl]):host(.legacy-select) label,:host-context([dir=rtl]).legacy-select label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-select:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-select) label::-moz-focus-inner{border:0}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative;-ms-flex-negative:0;flex-shrink:0}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.select-wrapper-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{-ms-flex-positive:1;flex-grow:1}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating:not(.label-floating)) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.label-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}:host(.legacy-select){--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:16px}.select-icon{width:1.125rem;height:1.125rem;color:var(--ion-color-step-650, #595959)}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{width:calc(100% - 1.125rem - 4px)}:host(.select-disabled){opacity:0.3}",md:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:0.6;--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(:not(.legacy-select)){width:100%;min-height:44px}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.legacy-select){-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.in-item:not(.legacy-select)){-ms-flex:1 1 0px;flex:1 1 0}:host(.in-item.legacy-select){position:static;max-width:45%}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]:not(.legacy-select)),:host([slot=end]:not(.legacy-select)){width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}:host(.legacy-select) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-select) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-select) label{left:0}:host-context([dir=rtl]):host(.legacy-select) label,:host-context([dir=rtl]).legacy-select label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-select:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-select) label::-moz-focus-inner{border:0}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative;-ms-flex-negative:0;flex-shrink:0}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.select-wrapper-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{-ms-flex-positive:1;flex-grow:1}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating:not(.label-floating)) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.label-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}:host(.select-fill-solid){--background:var(--ion-color-step-50, #f2f2f2);--border-color:var(--ion-color-step-500, gray);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}:host(.select-fill-solid) .select-wrapper{border-bottom:var(--border-width) var(--border-style) var(--border-color)}:host(.has-focus.select-fill-solid.ion-valid),:host(.select-fill-solid.ion-touched.ion-invalid){--border-color:var(--highlight-color)}:host(.select-fill-solid) .select-bottom{border-top:none}@media (any-hover: hover){:host(.select-fill-solid:hover){--background:var(--ion-color-step-100, #e6e6e6);--border-color:var(--ion-color-step-750, #404040)}}:host(.select-fill-solid.select-expanded),:host(.select-fill-solid.ion-focused){--background:var(--ion-color-step-150, #d9d9d9);--border-color:var(--ion-color-step-750, #404040)}:host(.select-fill-solid) .select-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}:host-context([dir=rtl]):host(.select-fill-solid) .select-wrapper,:host-context([dir=rtl]).select-fill-solid .select-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}@supports selector(:dir(rtl)){:host(.select-fill-solid:dir(rtl)) .select-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}}:host(.label-floating.select-fill-solid) .label-text-wrapper{max-width:calc(100% / 0.75)}:host(.select-fill-outline){--border-color:var(--ion-color-step-300, #b3b3b3);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}:host(.select-fill-outline.select-shape-round){--border-radius:28px;--padding-start:32px;--padding-end:32px}:host(.has-focus.select-fill-outline.ion-valid),:host(.select-fill-outline.ion-touched.ion-invalid){--border-color:var(--highlight-color)}@media (any-hover: hover){:host(.select-fill-outline:hover){--border-color:var(--ion-color-step-750, #404040)}}:host(.select-fill-outline.select-expanded),:host(.select-fill-outline.ion-focused){--border-width:2px;--border-color:var(--highlight-color)}:host(.select-fill-outline) .select-bottom{border-top:none}:host(.select-fill-outline) .select-wrapper{border-bottom:none}:host(.select-ltr.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-fill-outline.select-label-placement-floating) .label-text-wrapper{position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .label-text-wrapper{position:relative;z-index:1}:host(.label-floating.select-fill-outline) .label-text-wrapper{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc((100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75)}:host(.select-fill-outline.select-label-placement-stacked) select,:host(.select-fill-outline.select-label-placement-floating) select{margin-left:0;margin-right:0;margin-top:6px;margin-bottom:6px}:host(.select-fill-outline) .select-outline-container{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-end{pointer-events:none}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-notch,:host(.select-fill-outline) .select-outline-end{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.select-fill-outline) .select-outline-notch{max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .notch-spacer{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none}:host(.select-fill-outline) .select-outline-start{-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color)}:host(.select-ltr.select-fill-outline) .select-outline-start{border-radius:var(--border-radius) 0px 0px var(--border-radius)}:host(.select-rtl.select-fill-outline) .select-outline-start{border-radius:0px var(--border-radius) var(--border-radius) 0px}:host(.select-fill-outline) .select-outline-start{width:calc(var(--padding-start) - 4px)}:host(.select-fill-outline) .select-outline-end{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color)}:host(.select-ltr.select-fill-outline) .select-outline-end{border-radius:0px var(--border-radius) var(--border-radius) 0px}:host(.select-rtl.select-fill-outline) .select-outline-end{border-radius:var(--border-radius) 0px 0px var(--border-radius)}:host(.select-fill-outline) .select-outline-end{-ms-flex-positive:1;flex-grow:1}:host(.label-floating.select-fill-outline) .select-outline-notch{border-top:none}:host{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))))}:host(.legacy-select){--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:16px}.select-icon{width:0.8125rem;-webkit-transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);color:var(--ion-color-step-500, gray)}:host(.select-label-placement-floating.select-expanded) .label-text-wrapper,:host(.select-label-placement-floating.ion-focused) .label-text-wrapper,:host(.select-label-placement-stacked.select-expanded) .label-text-wrapper,:host(.select-label-placement-stacked.ion-focused) .label-text-wrapper{color:var(--highlight-color)}:host(.has-focus.select-label-placement-floating.ion-valid) .label-text-wrapper,:host(.select-label-placement-floating.ion-touched.ion-invalid) .label-text-wrapper,:host(.has-focus.select-label-placement-stacked.ion-valid) .label-text-wrapper,:host(.select-label-placement-stacked.ion-touched.ion-invalid) .label-text-wrapper{color:var(--highlight-color)}.select-highlight{bottom:-1px;position:absolute;width:100%;height:2px;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}@supports (inset-inline-start: 0){.select-highlight{inset-inline-start:0}}@supports not (inset-inline-start: 0){.select-highlight{left:0}:host-context([dir=rtl]) .select-highlight{left:unset;right:unset;right:0}[dir=rtl] .select-highlight{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.select-highlight:dir(rtl){left:unset;right:unset;right:0}}}:host(.select-expanded) .select-highlight,:host(.ion-focused) .select-highlight{-webkit-transform:scale(1);transform:scale(1)}:host(.in-item) .select-highlight{bottom:0}@supports (inset-inline-start: 0){:host(.in-item) .select-highlight{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.in-item) .select-highlight{left:0}:host-context([dir=rtl]):host(.in-item) .select-highlight,:host-context([dir=rtl]).in-item .select-highlight{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.in-item:dir(rtl)) .select-highlight{left:unset;right:unset;right:0}}}:host(.select-expanded:not(.legacy-select):not(.has-expanded-icon)) .select-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.select-expanded) .select-wrapper .select-icon,:host(.has-focus.ion-valid) .select-wrapper .select-icon,:host(.ion-touched.ion-invalid) .select-wrapper .select-icon,:host(.ion-focused) .select-wrapper .select-icon{color:var(--highlight-color)}:host-context(.item-label-stacked) .select-icon,:host-context(.item-label-floating:not(.item-fill-outline)) .select-icon,:host-context(.item-label-floating.item-fill-outline){-webkit-transform:translate3d(0, -9px, 0);transform:translate3d(0, -9px, 0)}:host-context(.item-has-focus):host(:not(.has-expanded-icon)) .select-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host-context(.item-has-focus.item-label-stacked):host(:not(.has-expanded-icon)) .select-icon,:host-context(.item-has-focus.item-label-floating:not(.item-fill-outline)):host(:not(.has-expanded-icon)) .select-icon{-webkit-transform:translate3d(0, -9px, 0) rotate(180deg);transform:translate3d(0, -9px, 0) rotate(180deg)}:host(.select-shape-round){--border-radius:16px}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{width:calc(100% - 0.8125rem - 4px)}:host(.select-disabled){opacity:0.38}"};const D=class{constructor(e){(0,o.r)(this,e),this.inputId="ion-selopt-"+V++,this.disabled=!1,this.value=void 0}render(){return(0,o.h)(o.H,{role:"option",id:this.inputId,class:(0,g.b)(this)})}get el(){return(0,o.f)(this)}};let V=0;D.style=":host{display:none}";const A=class{constructor(e){(0,o.r)(this,e),this.header=void 0,this.subHeader=void 0,this.message=void 0,this.multiple=void 0,this.options=[]}findOptionFromEvent(e){const{options:t}=this;return t.find(l=>l.value===e.target.value)}callOptionHandler(e){const t=this.findOptionFromEvent(e),l=this.getValues(e);t?.handler&&(0,a.s)(t.handler,l)}dismissParentPopover(){const e=this.el.closest("ion-popover");e&&e.dismiss()}setChecked(e){const{multiple:t}=this,l=this.findOptionFromEvent(e);t&&l&&(l.checked=e.detail.checked)}getValues(e){const{multiple:t,options:l}=this;if(t)return l.filter(s=>s.checked).map(s=>s.value);const i=this.findOptionFromEvent(e);return i?i.value:void 0}renderOptions(e){const{multiple:t}=this;return!0===t?this.renderCheckboxOptions(e):this.renderRadioOptions(e)}renderCheckboxOptions(e){return e.map(t=>(0,o.h)("ion-item",{class:Object.assign({"item-checkbox-checked":t.checked},(0,c.g)(t.cssClass))},(0,o.h)("ion-checkbox",{value:t.value,disabled:t.disabled,checked:t.checked,justify:"start",labelPlacement:"end",onIonChange:l=>{this.setChecked(l),this.callOptionHandler(l),(0,o.i)(this)}},t.text)))}renderRadioOptions(e){const t=e.filter(l=>l.checked).map(l=>l.value)[0];return(0,o.h)("ion-radio-group",{value:t,onIonChange:l=>this.callOptionHandler(l)},e.map(l=>(0,o.h)("ion-item",{class:Object.assign({"item-radio-checked":l.value===t},(0,c.g)(l.cssClass))},(0,o.h)("ion-radio",{value:l.value,disabled:l.disabled,onClick:()=>this.dismissParentPopover(),onKeyUp:i=>{" "===i.key&&this.dismissParentPopover()}},l.text))))}render(){const{header:e,message:t,options:l,subHeader:i}=this,s=void 0!==i||void 0!==t;return(0,o.h)(o.H,{class:(0,g.b)(this)},(0,o.h)("ion-list",null,void 0!==e&&(0,o.h)("ion-list-header",null,e),s&&(0,o.h)("ion-item",null,(0,o.h)("ion-label",{class:"ion-text-wrap"},void 0!==i&&(0,o.h)("h3",null,i),void 0!==t&&(0,o.h)("p",null,t))),this.renderOptions(l)))}get el(){return(0,o.f)(this)}};A.style={ios:".sc-ion-select-popover-ios-h ion-list.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-ios,ion-label.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}",md:".sc-ion-select-popover-md-h ion-list.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-md,ion-label.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(container){opacity:0}ion-item.sc-ion-select-popover-md{--inner-border-width:0}.item-radio-checked.sc-ion-select-popover-md{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.08);--background-focused:var(--ion-color-primary, #3880ff);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #3880ff);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-popover-md{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));--background-focused:var(--ion-item-color, var(--ion-text-color, #000));--background-hover:var(--ion-item-color, var(--ion-text-color, #000));--color:var(--ion-color-primary, #3880ff)}"}},3814:(B,_,n)=>{n.d(_,{c:()=>L,g:()=>w,h:()=>o,o:()=>O});var x=n(5861);const o=(a,p)=>null!==p.closest(a),L=(a,p)=>"string"==typeof a&&a.length>0?Object.assign({"ion-color":!0,[`ion-color-${a}`]:!0},p):p,w=a=>{const p={};return(a=>void 0!==a?(Array.isArray(a)?a:a.split(" ")).filter(c=>null!=c).map(c=>c.trim()).filter(c=>""!==c):[])(a).forEach(c=>p[c]=!0),p},f=/^[a-z][a-z0-9+\-.]*:/,O=function(){var a=(0,x.Z)(function*(p,c,C,y){if(null!=p&&"#"!==p[0]&&!f.test(p)){const g=document.querySelector("ion-router");if(g)return c?.preventDefault(),g.push(p,C,y)}return!1});return function(c,C,y,g){return a.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/2773.60e7ef87f77616ca.js b/2773.60e7ef87f77616ca.js deleted file mode 100644 index 017a2645..00000000 --- a/2773.60e7ef87f77616ca.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2773],{2773:($,_,c)=>{c.r(_),c.d(_,{ion_select:()=>T,ion_select_option:()=>M,ion_select_popover:()=>F});var x=c(5861),s=c(1071),j=c(479),S=c(1389),f=c(2674),O=c(3357),w=c(1701),d=c(5215),n=c(2997),u=c(101),y=c(6026),g=c(7263);c(7693);const T=class{constructor(e){(0,s.r)(this,e),this.ionChange=(0,s.d)(this,"ionChange",7),this.ionCancel=(0,s.d)(this,"ionCancel",7),this.ionDismiss=(0,s.d)(this,"ionDismiss",7),this.ionFocus=(0,s.d)(this,"ionFocus",7),this.ionBlur=(0,s.d)(this,"ionBlur",7),this.ionStyle=(0,s.d)(this,"ionStyle",7),this.inputId="ion-sel-"+K++,this.inheritedAttributes={},this.hasLoggedDeprecationWarning=!1,this.onClick=t=>{this.setFocus(),this.open(t)},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.isExpanded=!1,this.cancelText="Cancel",this.color=void 0,this.compareWith=void 0,this.disabled=!1,this.fill=void 0,this.interface="alert",this.interfaceOptions={},this.justify="space-between",this.label=void 0,this.labelPlacement="start",this.legacy=void 0,this.multiple=!1,this.name=this.inputId,this.okText="OK",this.placeholder=void 0,this.selectedText=void 0,this.toggleIcon=void 0,this.expandedIcon=void 0,this.shape=void 0,this.value=void 0}styleChanged(){this.emitStyle()}setValue(e){this.value=e,this.ionChange.emit({value:e})}componentWillLoad(){this.inheritedAttributes=(0,f.k)(this.el,["aria-label"])}connectedCallback(){var e=this;return(0,x.Z)(function*(){const{el:t}=e;e.legacyFormController=(0,j.c)(t),e.notchController=(0,S.c)(t,()=>e.notchSpacerEl,()=>e.labelSlot),e.updateOverlayOptions(),e.emitStyle(),e.mutationO=(0,u.w)(e.el,"ion-select-option",(0,x.Z)(function*(){e.updateOverlayOptions(),(0,s.i)(e)}))})()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0),this.notchController&&(this.notchController.destroy(),this.notchController=void 0)}open(e){var t=this;return(0,x.Z)(function*(){if(t.disabled||t.isExpanded)return;t.isExpanded=!0;const l=t.overlay=yield t.createOverlay(e);if(l.onDidDismiss().then(()=>{t.overlay=void 0,t.isExpanded=!1,t.ionDismiss.emit(),t.setFocus()}),yield l.present(),"popover"===t.interface){let i=t.childOpts.map(r=>r.value).indexOf(t.value);i=i>-1?i:0;const o=l.querySelector(`.select-interface-option:nth-child(${i+1})`);if(o){(0,f.f)(o);const r=o.querySelector("ion-radio, ion-checkbox");r&&r.focus()}}return l})()}createOverlay(e){let t=this.interface;return"action-sheet"===t&&this.multiple&&(console.warn(`Select interface cannot be "${t}" with a multi-value select. Using the "alert" interface instead.`),t="alert"),"popover"===t&&!e&&(console.warn(`Select interface cannot be a "${t}" without passing an event. Using the "alert" interface instead.`),t="alert"),"action-sheet"===t?this.openActionSheet():"popover"===t?this.openPopover(e):this.openAlert()}updateOverlayOptions(){const e=this.overlay;if(!e)return;const t=this.childOpts,l=this.value;switch(this.interface){case"action-sheet":e.buttons=this.createActionSheetButtons(t,l);break;case"popover":const i=e.querySelector("ion-select-popover");i&&(i.options=this.createPopoverOptions(t,l));break;case"alert":e.inputs=this.createAlertInputs(t,this.multiple?"checkbox":"radio",l)}}createActionSheetButtons(e,t){const l=e.map(i=>{const o=E(i),r=Array.from(i.classList).filter(a=>"hydrated"!==a).join(" "),p=`${I} ${r}`;return{role:z(t,o,this.compareWith)?"selected":"",text:i.textContent,cssClass:p,handler:()=>{this.setValue(o)}}});return l.push({text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}}),l}createAlertInputs(e,t,l){return e.map(o=>{const r=E(o),p=Array.from(o.classList).filter(m=>"hydrated"!==m).join(" ");return{type:t,cssClass:`${I} ${p}`,label:o.textContent||"",value:r,checked:z(l,r,this.compareWith),disabled:o.disabled}})}createPopoverOptions(e,t){return e.map(i=>{const o=E(i),r=Array.from(i.classList).filter(a=>"hydrated"!==a).join(" ");return{text:i.textContent||"",cssClass:`${I} ${r}`,value:o,checked:z(t,o,this.compareWith),disabled:i.disabled,handler:a=>{this.setValue(a),this.multiple||this.close()}}})}openPopover(e){var t=this;return(0,x.Z)(function*(){const{fill:l,labelPlacement:i}=t,o=t.interfaceOptions,r=(0,g.b)(t),p="md"!==r,a=t.multiple,m=t.value;let h=e,v="auto";if(t.legacyFormController.hasLegacyControl()){const b=t.el.closest("ion-item");b&&(b.classList.contains("item-label-floating")||b.classList.contains("item-label-stacked"))&&(h=Object.assign(Object.assign({},e),{detail:{ionShadowTarget:b}}),v="cover")}else"floating"===i||"stacked"===i||"md"===r&&void 0!==l?v="cover":h=Object.assign(Object.assign({},e),{detail:{ionShadowTarget:t.nativeWrapperEl}});const k=Object.assign(Object.assign({mode:r,event:h,alignment:"center",size:v,showBackdrop:p},o),{component:"ion-select-popover",cssClass:["select-popover",o.cssClass],componentProps:{header:o.header,subHeader:o.subHeader,message:o.message,multiple:a,value:m,options:t.createPopoverOptions(t.childOpts,m)}});return w.c.create(k)})()}openActionSheet(){var e=this;return(0,x.Z)(function*(){const t=(0,g.b)(e),l=e.interfaceOptions,i=Object.assign(Object.assign({mode:t},l),{buttons:e.createActionSheetButtons(e.childOpts,e.value),cssClass:["select-action-sheet",l.cssClass]});return w.b.create(i)})()}openAlert(){var e=this;return(0,x.Z)(function*(){let t,l;e.legacyFormController.hasLegacyControl()?(t=e.getLabel(),l=t?t.textContent:null):l=e.labelText;const i=e.interfaceOptions,o=e.multiple?"checkbox":"radio",r=(0,g.b)(e),p=Object.assign(Object.assign({mode:r},i),{header:i.header?i.header:l,inputs:e.createAlertInputs(e.childOpts,o,e.value),buttons:[{text:e.cancelText,role:"cancel",handler:()=>{e.ionCancel.emit()}},{text:e.okText,handler:a=>{e.setValue(a)}}],cssClass:["select-alert",i.cssClass,e.multiple?"multiple-select-alert":"single-select-alert"]});return w.a.create(p)})()}close(){return this.overlay?this.overlay.dismiss():Promise.resolve(!1)}getLabel(){return(0,f.h)(this.el)}hasValue(){return""!==this.getText()}get childOpts(){return Array.from(this.el.querySelectorAll("ion-select-option"))}get labelText(){const{label:e}=this;if(void 0!==e)return e;const{labelSlot:t}=this;return null!==t?t.textContent:void 0}getText(){const e=this.selectedText;return null!=e&&""!==e?e:U(this.childOpts,this.value,this.compareWith)}setFocus(){this.focusEl&&this.focusEl.focus()}emitStyle(){const{disabled:e}=this,t={"interactive-disabled":e};this.legacyFormController.hasLegacyControl()&&(t.interactive=!0,t.select=!0,t["select-disabled"]=e,t["has-placeholder"]=void 0!==this.placeholder,t["has-value"]=this.hasValue(),t["has-focus"]=this.isExpanded),this.ionStyle.emit(t)}renderLabel(){const{label:e}=this;return(0,s.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel},part:"label"},void 0===e?(0,s.h)("slot",{name:"label"}):(0,s.h)("div",{class:"label-text"},e))}componentDidRender(){var e;null===(e=this.notchController)||void 0===e||e.calculateNotchWidth()}get labelSlot(){return this.el.querySelector('[slot="label"]')}get hasLabel(){return void 0!==this.label||null!==this.labelSlot}renderLabelContainer(){return"md"===(0,g.b)(this)&&"outline"===this.fill?[(0,s.h)("div",{class:"select-outline-container"},(0,s.h)("div",{class:"select-outline-start"}),(0,s.h)("div",{class:{"select-outline-notch":!0,"select-outline-notch-hidden":!this.hasLabel}},(0,s.h)("div",{class:"notch-spacer","aria-hidden":"true",ref:l=>this.notchSpacerEl=l},this.label)),(0,s.h)("div",{class:"select-outline-end"})),this.renderLabel()]:this.renderLabel()}renderSelect(){const{disabled:e,el:t,isExpanded:l,expandedIcon:i,labelPlacement:o,justify:r,placeholder:p,fill:a,shape:m,name:h,value:v}=this,k=(0,g.b)(this),b="floating"===o||"stacked"===o,L=!b,G=(0,d.i)(t)?"rtl":"ltr",B=(0,n.h)("ion-item",this.el),N="md"===k&&"outline"!==a&&!B;return(0,f.d)(!0,t,h,A(v),e),(0,s.h)(s.H,{onClick:this.onClick,class:(0,n.c)(this.color,{[k]:!0,"in-item":B,"in-item-color":(0,n.h)("ion-item.ion-color",t),"select-disabled":e,"select-expanded":l,"has-expanded-icon":void 0!==i,"has-value":this.hasValue(),"has-placeholder":void 0!==p,"ion-focusable":!0,[`select-${G}`]:!0,[`select-fill-${a}`]:void 0!==a,[`select-justify-${r}`]:L,[`select-shape-${m}`]:void 0!==m,[`select-label-placement-${o}`]:!0})},(0,s.h)("label",{class:"select-wrapper",id:"select-label"},this.renderLabelContainer(),(0,s.h)("div",{class:"native-wrapper",ref:J=>this.nativeWrapperEl=J,part:"container"},this.renderSelectText(),!b&&this.renderSelectIcon(),this.renderListbox()),b&&this.renderSelectIcon(),N&&(0,s.h)("div",{class:"select-highlight"})))}renderLegacySelect(){this.hasLoggedDeprecationWarning||((0,O.p)('ion-select now requires providing a label with either the "label" property or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the "label" property or the "aria-label" attribute.\n\nExample: ...\nExample with aria-label: ...\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,O.p)('ion-select is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n Developers can dismiss this warning by removing their usage of the "legacy" property and using the new select syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{disabled:e,el:t,inputId:l,isExpanded:i,expandedIcon:o,name:r,placeholder:p,value:a}=this,m=(0,g.b)(this),{labelText:h,labelId:v}=(0,f.e)(t,l);(0,f.d)(!0,t,r,A(a),e);let b=this.getText();""===b&&void 0!==p&&(b=p);const L=void 0!==h?""!==b?`${b}, ${h}`:h:b;return(0,s.h)(s.H,{onClick:this.onClick,role:"button","aria-haspopup":"listbox","aria-disabled":e?"true":null,"aria-label":L,class:{[m]:!0,"in-item":(0,n.h)("ion-item",t),"in-item-color":(0,n.h)("ion-item.ion-color",t),"select-disabled":e,"select-expanded":i,"has-expanded-icon":void 0!==o,"legacy-select":!0}},this.renderSelectText(),this.renderSelectIcon(),(0,s.h)("label",{id:v},L),this.renderListbox())}renderSelectText(){const{placeholder:e}=this;let l=!1,i=this.getText();return""===i&&void 0!==e&&(i=e,l=!0),(0,s.h)("div",{"aria-hidden":"true",class:{"select-text":!0,"select-placeholder":l},part:l?"placeholder":"text"},i)}renderSelectIcon(){const e=(0,g.b)(this),{isExpanded:t,toggleIcon:l,expandedIcon:i}=this;let o;return o=t&&void 0!==i?i:l??("ios"===e?y.w:y.q),(0,s.h)("ion-icon",{class:"select-icon",part:"icon","aria-hidden":"true",icon:o})}get ariaLabel(){var e,t;const{placeholder:l,el:i,inputId:o,inheritedAttributes:r}=this,p=this.getText(),{labelText:a}=(0,f.e)(i,o),m=null!==(t=null!==(e=this.labelText)&&void 0!==e?e:r["aria-label"])&&void 0!==t?t:a;let h=p;return""===h&&void 0!==l&&(h=l),void 0!==m&&(h=""===h?m:`${m}, ${h}`),h}renderListbox(){const{disabled:e,inputId:t,isExpanded:l}=this;return(0,s.h)("button",{disabled:e,id:t,"aria-label":this.ariaLabel,"aria-haspopup":"listbox","aria-expanded":`${l}`,onFocus:this.onFocus,onBlur:this.onBlur,ref:i=>this.focusEl=i})}render(){const{legacyFormController:e}=this;return e.hasLegacyControl()?this.renderLegacySelect():this.renderSelect()}get el(){return(0,s.f)(this)}static get watchers(){return{disabled:["styleChanged"],isExpanded:["styleChanged"],placeholder:["styleChanged"],value:["styleChanged"]}}},z=(e,t,l)=>void 0!==e&&(Array.isArray(e)?e.some(i=>P(i,t,l)):P(e,t,l)),E=e=>{const t=e.value;return void 0===t?e.textContent||"":t},A=e=>{if(null!=e)return Array.isArray(e)?e.join(","):e.toString()},P=(e,t,l)=>"function"==typeof l?l(e,t):"string"==typeof l?e[l]===t[l]:Array.isArray(t)?t.includes(e):e===t,U=(e,t,l)=>void 0===t?"":Array.isArray(t)?t.map(i=>D(e,i,l)).filter(i=>null!==i).join(", "):D(e,t,l)||"",D=(e,t,l)=>{const i=e.find(o=>P(t,E(o),l));return i?i.textContent:null};let K=0;const I="select-interface-option";T.style={ios:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:0.6;--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(:not(.legacy-select)){width:100%}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.legacy-select){-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.in-item.legacy-select){position:static;max-width:45%}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]:not(.legacy-select)),:host([slot=end]:not(.legacy-select)){width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}:host(.legacy-select) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-select) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-select) label{left:0}:host-context([dir=rtl]):host(.legacy-select) label,:host-context([dir=rtl]).legacy-select label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-select) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-select) label::-moz-focus-inner{border:0}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-expanded.select-label-placement-floating) .label-text-wrapper,:host(.ion-focused.select-label-placement-floating) .label-text-wrapper,:host(.has-value.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}:host(.legacy-select){--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:16px}:host(:not(.legacy-select)){min-height:44px}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}.select-icon{width:18px;height:18px;color:var(--ion-color-step-650, #595959)}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{width:calc(100% - 18px - 4px)}:host(.select-disabled){opacity:0.3}",md:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:0.6;--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(:not(.legacy-select)){width:100%}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.legacy-select){-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.in-item.legacy-select){position:static;max-width:45%}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]:not(.legacy-select)),:host([slot=end]:not(.legacy-select)){width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}:host(.legacy-select) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-select) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-select) label{left:0}:host-context([dir=rtl]):host(.legacy-select) label,:host-context([dir=rtl]).legacy-select label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-select) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-select) label::-moz-focus-inner{border:0}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-expanded.select-label-placement-floating) .label-text-wrapper,:host(.ion-focused.select-label-placement-floating) .label-text-wrapper,:host(.has-value.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}:host(.select-fill-solid){--background:var(--ion-color-step-50, #f2f2f2);--border-color:var(--ion-color-step-500, gray);--border-radius:4px;--padding-start:16px;--padding-end:16px}:host(.select-fill-solid) .select-wrapper{border-bottom:var(--border-width) var(--border-style) var(--border-color)}:host(.has-focus.select-fill-solid.ion-valid),:host(.select-fill-solid.ion-touched.ion-invalid){--border-color:var(--highlight-color)}:host(.select-fill-solid) .select-bottom{border-top:none}@media (any-hover: hover){:host(.select-fill-solid:hover){--background:var(--ion-color-step-100, #e6e6e6);--border-color:var(--ion-color-step-750, #404040)}}:host(.select-fill-solid.select-expanded),:host(.select-fill-solid.ion-focused){--background:var(--ion-color-step-150, #d9d9d9);--border-color:var(--ion-color-step-750, #404040)}:host(.select-fill-solid) .select-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}:host-context([dir=rtl]):host(.select-fill-solid) .select-wrapper,:host-context([dir=rtl]).select-fill-solid .select-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}@supports selector(:dir(rtl)){:host(.select-fill-solid) .select-wrapper:dir(rtl){border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}}:host(.select-fill-solid.select-label-placement-stacked) .label-text-wrapper,:host(.select-expanded.select-fill-solid.select-label-placement-floating) .label-text-wrapper,:host(.ion-focused.select-fill-solid.select-label-placement-floating) .label-text-wrapper,:host(.has-value.select-fill-solid.select-label-placement-floating) .label-text-wrapper{max-width:calc(100% / 0.75)}:host(.select-fill-outline){--border-color:var(--ion-color-step-300, #b3b3b3);--border-radius:4px;--padding-start:16px;--padding-end:16px}:host(.select-fill-outline.select-shape-round){--border-radius:28px;--padding-start:32px;--padding-end:32px}:host(.has-focus.select-fill-outline.ion-valid),:host(.select-fill-outline.ion-touched.ion-invalid){--border-color:var(--highlight-color)}@media (any-hover: hover){:host(.select-fill-outline:hover){--border-color:var(--ion-color-step-750, #404040)}}:host(.select-fill-outline.select-expanded),:host(.select-fill-outline.ion-focused){--border-width:2px;--border-color:var(--highlight-color)}:host(.select-fill-outline) .select-bottom{border-top:none}:host(.select-fill-outline) .select-wrapper{border-bottom:none}:host(.select-ltr.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-fill-outline.select-label-placement-floating) .label-text-wrapper{position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .label-text-wrapper{position:relative;z-index:1}:host(.select-expanded.select-fill-outline.select-label-placement-floating) .label-text-wrapper,:host(.ion-focused.select-fill-outline.select-label-placement-floating) .label-text-wrapper,:host(.has-value.select-fill-outline.select-label-placement-floating) .label-text-wrapper,:host(.select-fill-outline.select-label-placement-stacked) .label-text-wrapper{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc((100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75)}:host(.select-fill-outline.select-label-placement-stacked) select,:host(.select-fill-outline.select-label-placement-floating) select{margin-left:0;margin-right:0;margin-top:6px;margin-bottom:6px}:host(.select-fill-outline) .select-outline-container{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-end{pointer-events:none}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-notch,:host(.select-fill-outline) .select-outline-end{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.select-fill-outline) .select-outline-notch{max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .notch-spacer{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none}:host(.select-fill-outline) .select-outline-start{-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color)}:host(.select-ltr.select-fill-outline) .select-outline-start{border-radius:var(--border-radius) 0px 0px var(--border-radius)}:host(.select-rtl.select-fill-outline) .select-outline-start{border-radius:0px var(--border-radius) var(--border-radius) 0px}:host(.select-fill-outline) .select-outline-start{width:calc(var(--padding-start) - 4px)}:host(.select-fill-outline) .select-outline-end{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color)}:host(.select-ltr.select-fill-outline) .select-outline-end{border-radius:0px var(--border-radius) var(--border-radius) 0px}:host(.select-rtl.select-fill-outline) .select-outline-end{border-radius:var(--border-radius) 0px 0px var(--border-radius)}:host(.select-fill-outline) .select-outline-end{-ms-flex-positive:1;flex-grow:1}:host(.select-expanded.select-fill-outline.select-label-placement-floating) .select-outline-notch,:host(.ion-focused.select-fill-outline.select-label-placement-floating) .select-outline-notch,:host(.has-value.select-fill-outline.select-label-placement-floating) .select-outline-notch,:host(.select-fill-outline.select-label-placement-stacked) .select-outline-notch{border-top:none}:host{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))))}:host(.legacy-select){--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:16px}:host(:not(.legacy-select)){min-height:56px}.select-icon{width:13px;-webkit-transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);color:var(--ion-color-step-500, gray)}:host(.select-label-placement-floating.select-expanded) .label-text-wrapper,:host(.select-label-placement-floating.ion-focused) .label-text-wrapper,:host(.select-label-placement-stacked.select-expanded) .label-text-wrapper,:host(.select-label-placement-stacked.ion-focused) .label-text-wrapper{color:var(--highlight-color)}:host(.has-focus.select-label-placement-floating.ion-valid) .label-text-wrapper,:host(.select-label-placement-floating.ion-touched.ion-invalid) .label-text-wrapper,:host(.has-focus.select-label-placement-stacked.ion-valid) .label-text-wrapper,:host(.select-label-placement-stacked.ion-touched.ion-invalid) .label-text-wrapper{color:var(--highlight-color)}.select-highlight{bottom:-1px;position:absolute;width:100%;height:2px;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}@supports (inset-inline-start: 0){.select-highlight{inset-inline-start:0}}@supports not (inset-inline-start: 0){.select-highlight{left:0}:host-context([dir=rtl]) .select-highlight{left:unset;right:unset;right:0}[dir=rtl] .select-highlight{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.select-highlight:dir(rtl){left:unset;right:unset;right:0}}}:host(.select-expanded) .select-highlight,:host(.ion-focused) .select-highlight{-webkit-transform:scale(1);transform:scale(1)}:host(.in-item) .select-highlight{bottom:0}@supports (inset-inline-start: 0){:host(.in-item) .select-highlight{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.in-item) .select-highlight{left:0}:host-context([dir=rtl]):host(.in-item) .select-highlight,:host-context([dir=rtl]).in-item .select-highlight{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.in-item) .select-highlight:dir(rtl){left:unset;right:unset;right:0}}}:host(.select-expanded:not(.legacy-select):not(.has-expanded-icon)) .select-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.select-expanded) .select-wrapper .select-icon,:host(.has-focus.ion-valid) .select-wrapper .select-icon,:host(.ion-touched.ion-invalid) .select-wrapper .select-icon,:host(.ion-focused) .select-wrapper .select-icon{color:var(--highlight-color)}:host-context(.item-label-stacked) .select-icon,:host-context(.item-label-floating:not(.item-fill-outline)) .select-icon,:host-context(.item-label-floating.item-fill-outline){-webkit-transform:translate3d(0, -9px, 0);transform:translate3d(0, -9px, 0)}:host-context(.item-has-focus):host(:not(.has-expanded-icon)) .select-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host-context(.item-has-focus.item-label-stacked):host(:not(.has-expanded-icon)) .select-icon,:host-context(.item-has-focus.item-label-floating:not(.item-fill-outline)):host(:not(.has-expanded-icon)) .select-icon{-webkit-transform:translate3d(0, -9px, 0) rotate(180deg);transform:translate3d(0, -9px, 0) rotate(180deg)}:host(.select-shape-round){--border-radius:16px}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{width:calc(100% - 13px - 4px)}:host(.select-disabled){opacity:0.38}"};const M=class{constructor(e){(0,s.r)(this,e),this.inputId="ion-selopt-"+Y++,this.disabled=!1,this.value=void 0}render(){return(0,s.h)(s.H,{role:"option",id:this.inputId,class:(0,g.b)(this)})}get el(){return(0,s.f)(this)}};let Y=0;M.style=":host{display:none}";const F=class{constructor(e){(0,s.r)(this,e),this.header=void 0,this.subHeader=void 0,this.message=void 0,this.multiple=void 0,this.options=[]}findOptionFromEvent(e){const{options:t}=this;return t.find(l=>l.value===e.target.value)}callOptionHandler(e){const t=this.findOptionFromEvent(e),l=this.getValues(e);t?.handler&&(0,w.s)(t.handler,l)}dismissParentPopover(){const e=this.el.closest("ion-popover");e&&e.dismiss()}setChecked(e){const{multiple:t}=this,l=this.findOptionFromEvent(e);t&&l&&(l.checked=e.detail.checked)}getValues(e){const{multiple:t,options:l}=this;if(t)return l.filter(o=>o.checked).map(o=>o.value);const i=this.findOptionFromEvent(e);return i?i.value:void 0}renderOptions(e){const{multiple:t}=this;return!0===t?this.renderCheckboxOptions(e):this.renderRadioOptions(e)}renderCheckboxOptions(e){return e.map(t=>(0,s.h)("ion-item",{class:Object.assign({"item-checkbox-checked":t.checked},(0,n.g)(t.cssClass))},(0,s.h)("ion-checkbox",{value:t.value,disabled:t.disabled,checked:t.checked,justify:"start",labelPlacement:"end",onIonChange:l=>{this.setChecked(l),this.callOptionHandler(l),(0,s.i)(this)}},t.text)))}renderRadioOptions(e){const t=e.filter(l=>l.checked).map(l=>l.value)[0];return(0,s.h)("ion-radio-group",{value:t,onIonChange:l=>this.callOptionHandler(l)},e.map(l=>(0,s.h)("ion-item",{class:Object.assign({"item-radio-checked":l.value===t},(0,n.g)(l.cssClass))},(0,s.h)("ion-radio",{value:l.value,disabled:l.disabled,onClick:()=>this.dismissParentPopover(),onKeyUp:i=>{" "===i.key&&this.dismissParentPopover()}},l.text))))}render(){const{header:e,message:t,options:l,subHeader:i}=this,o=void 0!==i||void 0!==t;return(0,s.h)(s.H,{class:(0,g.b)(this)},(0,s.h)("ion-list",null,void 0!==e&&(0,s.h)("ion-list-header",null,e),o&&(0,s.h)("ion-item",null,(0,s.h)("ion-label",{class:"ion-text-wrap"},void 0!==i&&(0,s.h)("h3",null,i),void 0!==t&&(0,s.h)("p",null,t))),this.renderOptions(l)))}get el(){return(0,s.f)(this)}};F.style={ios:".sc-ion-select-popover-ios-h ion-list.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-ios,ion-label.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}",md:".sc-ion-select-popover-md-h ion-list.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-md,ion-label.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(container){opacity:0}ion-item.sc-ion-select-popover-md{--inner-border-width:0}.item-radio-checked.sc-ion-select-popover-md{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.08);--background-focused:var(--ion-color-primary, #3880ff);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #3880ff);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-popover-md{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));--background-focused:var(--ion-item-color, var(--ion-text-color, #000));--background-hover:var(--ion-item-color, var(--ion-text-color, #000));--color:var(--ion-color-primary, #3880ff)}"}},2997:($,_,c)=>{c.d(_,{c:()=>j,g:()=>f,h:()=>s,o:()=>w});var x=c(5861);const s=(d,n)=>null!==n.closest(d),j=(d,n)=>"string"==typeof d&&d.length>0?Object.assign({"ion-color":!0,[`ion-color-${d}`]:!0},n):n,f=d=>{const n={};return(d=>void 0!==d?(Array.isArray(d)?d:d.split(" ")).filter(u=>null!=u).map(u=>u.trim()).filter(u=>""!==u):[])(d).forEach(u=>n[u]=!0),n},O=/^[a-z][a-z0-9+\-.]*:/,w=function(){var d=(0,x.Z)(function*(n,u,y,g){if(null!=n&&"#"!==n[0]&&!O.test(n)){const C=document.querySelector("ion-router");if(C)return u?.preventDefault(),C.push(n,y,g)}return!1});return function(u,y,g,C){return d.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/2933.3d6e59675363dada.js b/2933.3d6e59675363dada.js deleted file mode 100644 index d68db21a..00000000 --- a/2933.3d6e59675363dada.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2933],{2933:(z,b,l)=>{l.r(b),l.d(b,{ion_item_option:()=>d,ion_item_options:()=>h,ion_item_sliding:()=>E});var p=l(5861),n=l(1071),w=l(2997),f=l(7263),u=l(2674),g=l(6038),k=l(101);const d=class{constructor(t){(0,n.r)(this,t),this.onClick=i=>{i.target.closest("ion-item-option")&&i.preventDefault()},this.color=void 0,this.disabled=!1,this.download=void 0,this.expandable=!1,this.href=void 0,this.rel=void 0,this.target=void 0,this.type="button"}render(){const{disabled:t,expandable:i,href:e}=this,o=void 0===e?"button":"a",a=(0,f.b)(this),c="button"===o?{type:this.type}:{download:this.download,href:this.href,target:this.target};return(0,n.h)(n.H,{onClick:this.onClick,class:(0,w.c)(this.color,{[a]:!0,"item-option-disabled":t,"item-option-expandable":i,"ion-activatable":!0})},(0,n.h)(o,Object.assign({},c,{class:"button-native",part:"native",disabled:t}),(0,n.h)("span",{class:"button-inner"},(0,n.h)("slot",{name:"top"}),(0,n.h)("div",{class:"horizontal-wrapper"},(0,n.h)("slot",{name:"start"}),(0,n.h)("slot",{name:"icon-only"}),(0,n.h)("slot",null),(0,n.h)("slot",{name:"end"})),(0,n.h)("slot",{name:"bottom"})),"md"===a&&(0,n.h)("ion-ripple-effect",null)))}get el(){return(0,n.f)(this)}};d.style={ios:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.in-list.item-options-end:last-child){-webkit-padding-end:calc(0.7em + var(--ion-safe-area-right));padding-inline-end:calc(0.7em + var(--ion-safe-area-right))}:host(.in-list.item-options-start:first-child){-webkit-padding-start:calc(0.7em + var(--ion-safe-area-left));padding-inline-start:calc(0.7em + var(--ion-safe-area-left))}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:16px}:host(.ion-activated){background:var(--ion-color-primary-shade, #3171e0)}:host(.ion-color.ion-activated){background:var(--ion-color-shade)}",md:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.in-list.item-options-end:last-child){-webkit-padding-end:calc(0.7em + var(--ion-safe-area-right));padding-inline-end:calc(0.7em + var(--ion-safe-area-right))}:host(.in-list.item-options-start:first-child){-webkit-padding-start:calc(0.7em + var(--ion-safe-area-left));padding-inline-start:calc(0.7em + var(--ion-safe-area-left))}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:14px;font-weight:500;text-transform:uppercase}"};const h=class{constructor(t){(0,n.r)(this,t),this.ionSwipe=(0,n.d)(this,"ionSwipe",7),this.side="end"}fireSwipeEvent(){var t=this;return(0,p.Z)(function*(){t.ionSwipe.emit({side:t.side})})()}render(){const t=(0,f.b)(this),i=(0,u.p)(this.side);return(0,n.h)(n.H,{class:{[t]:!0,[`item-options-${t}`]:!0,"item-options-start":!i,"item-options-end":i}})}get el(){return(0,n.f)(this)}};let m;h.style={ios:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;font-size:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){ion-item-options:dir(rtl){-ms-flex-pack:start;justify-content:flex-start}ion-item-options:dir(rtl):not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] .item-options-start{-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){.item-options-start:dir(rtl){-ms-flex-pack:end;justify-content:flex-end}}[dir=ltr] .item-options-start ion-item-option:first-child,[dir=rtl] .item-options-start ion-item-option:last-child{padding-left:var(--ion-safe-area-left)}[dir=ltr] .item-options-end ion-item-option:last-child,[dir=rtl] .item-options-end ion-item-option:first-child{padding-right:var(--ion-safe-area-right)}:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}@supports selector(:dir(rtl)){.item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-ios{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)))}.item-options-ios.item-options-end{border-bottom-width:0.55px}.list-ios-lines-none .item-options-ios{border-bottom-width:0}.list-ios-lines-full .item-options-ios,.list-ios-lines-inset .item-options-ios.item-options-end{border-bottom-width:0.55px}",md:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;font-size:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){ion-item-options:dir(rtl){-ms-flex-pack:start;justify-content:flex-start}ion-item-options:dir(rtl):not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] .item-options-start{-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){.item-options-start:dir(rtl){-ms-flex-pack:end;justify-content:flex-end}}[dir=ltr] .item-options-start ion-item-option:first-child,[dir=rtl] .item-options-start ion-item-option:last-child{padding-left:var(--ion-safe-area-left)}[dir=ltr] .item-options-end ion-item-option:last-child,[dir=rtl] .item-options-end ion-item-option:first-child{padding-right:var(--ion-safe-area-right)}:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}@supports selector(:dir(rtl)){.item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-md{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))))}.list-md-lines-none .item-options-md{border-bottom-width:0}.list-md-lines-full .item-options-md,.list-md-lines-inset .item-options-md.item-options-end{border-bottom-width:1px}"};const E=class{constructor(t){(0,n.r)(this,t),this.ionDrag=(0,n.d)(this,"ionDrag",7),this.item=null,this.openAmount=0,this.initialOpenAmount=0,this.optsWidthRightSide=0,this.optsWidthLeftSide=0,this.sides=0,this.optsDirty=!0,this.contentEl=null,this.initialContentScrollY=!0,this.state=2,this.disabled=!1}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}connectedCallback(){var t=this;return(0,p.Z)(function*(){const{el:i}=t;t.item=i.querySelector("ion-item"),t.contentEl=(0,g.f)(i),t.mutationObserver=(0,k.w)(i,"ion-item-option",(0,p.Z)(function*(){yield t.updateOptions()})),yield t.updateOptions(),t.gesture=(yield Promise.resolve().then(l.bind(l,9531))).createGesture({el:i,gestureName:"item-swipe",gesturePriority:100,threshold:5,canStart:e=>t.canStart(e),onStart:()=>t.onStart(),onMove:e=>t.onMove(e),onEnd:e=>t.onEnd(e)}),t.disabledChanged()})()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.item=null,this.leftOptions=this.rightOptions=void 0,m===this.el&&(m=void 0),this.mutationObserver&&(this.mutationObserver.disconnect(),this.mutationObserver=void 0)}getOpenAmount(){return Promise.resolve(this.openAmount)}getSlidingRatio(){return Promise.resolve(this.getSlidingRatioSync())}open(t){var i=this;return(0,p.Z)(function*(){var e;if(null===(i.item=null!==(e=i.item)&&void 0!==e?e:i.el.querySelector("ion-item")))return;const a=i.getOptions(t);a&&(void 0===t&&(t=a===i.leftOptions?"start":"end"),t=(0,u.p)(t)?"end":"start",i.openAmount<0&&a===i.leftOptions||i.openAmount>0&&a===i.rightOptions||(i.closeOpened(),i.state=4,requestAnimationFrame(()=>{i.calculateOptsWidth(),m=i.el,i.setOpenAmount("end"===t?i.optsWidthRightSide:-i.optsWidthLeftSide,!1),i.state="end"===t?8:16})))})()}close(){var t=this;return(0,p.Z)(function*(){t.setOpenAmount(0,!0)})()}closeOpened(){return(0,p.Z)(function*(){return void 0!==m&&(m.close(),m=void 0,!0)})()}getOptions(t){return void 0===t?this.leftOptions||this.rightOptions:"start"===t?this.leftOptions:this.rightOptions}updateOptions(){var t=this;return(0,p.Z)(function*(){const i=t.el.querySelectorAll("ion-item-options");let e=0;t.leftOptions=t.rightOptions=void 0;for(let o=0;othis.optsWidthRightSide?(e=this.optsWidthRightSide,i=e+.55*(i-e)):i<-this.optsWidthLeftSide&&(e=-this.optsWidthLeftSide,i=e+.55*(i-e)),this.setOpenAmount(i,!1)}onEnd(t){const{contentEl:i,initialContentScrollY:e}=this;i&&(0,g.r)(i,e);const o=t.velocityX;let a=this.openAmount>0?this.optsWidthRightSide:-this.optsWidthLeftSide;const c=this.openAmount>0==!(o<0),y=Math.abs(o)>.3,O=Math.abs(this.openAmount)0)this.state=t>=this.optsWidthRightSide+30?40:8;else{if(!(t<0))return e.classList.add("item-sliding-closing"),this.gesture&&this.gesture.enable(!1),this.tmr=setTimeout(()=>{this.state=2,this.tmr=void 0,this.gesture&&this.gesture.enable(!this.disabled),e.classList.remove("item-sliding-closing")},600),m=void 0,void(o.transform="");this.state=t<=-this.optsWidthLeftSide-30?80:16}o.transform=`translate3d(${-t}px,0,0)`,this.ionDrag.emit({amount:t,ratio:this.getSlidingRatioSync()})}getSlidingRatioSync(){return this.openAmount>0?this.openAmount/this.optsWidthRightSide:this.openAmount<0?this.openAmount/this.optsWidthLeftSide:0}render(){const t=(0,f.b)(this);return(0,n.h)(n.H,{class:{[t]:!0,"item-sliding-active-slide":2!==this.state,"item-sliding-active-options-end":0!=(8&this.state),"item-sliding-active-options-start":0!=(16&this.state),"item-sliding-active-swipe-end":0!=(32&this.state),"item-sliding-active-swipe-start":0!=(64&this.state)}})}get el(){return(0,n.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}},W=(t,i,e)=>!i&&e||t&&i;E.style="ion-item-sliding{display:block;position:relative;width:100%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ion-item-sliding .item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.item-sliding-active-slide .item{position:relative;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);opacity:1;z-index:2;pointer-events:none;will-change:transform}.item-sliding-closing ion-item-options{pointer-events:none}.item-sliding-active-swipe-end .item-options-end .item-option-expandable{padding-left:100%;-ms-flex-order:1;order:1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-left;transition-property:padding-left}:host-context([dir=rtl]) .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}[dir=rtl] .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}@supports selector(:dir(rtl)){.item-sliding-active-swipe-end .item-options-end .item-option-expandable:dir(rtl){-ms-flex-order:-1;order:-1}}.item-sliding-active-swipe-start .item-options-start .item-option-expandable{padding-right:100%;-ms-flex-order:-1;order:-1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-right;transition-property:padding-right}:host-context([dir=rtl]) .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}[dir=rtl] .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}@supports selector(:dir(rtl)){.item-sliding-active-swipe-start .item-options-start .item-option-expandable:dir(rtl){-ms-flex-order:1;order:1}}"},2997:(z,b,l)=>{l.d(b,{c:()=>w,g:()=>u,h:()=>n,o:()=>k});var p=l(5861);const n=(s,r)=>null!==r.closest(s),w=(s,r)=>"string"==typeof s&&s.length>0?Object.assign({"ion-color":!0,[`ion-color-${s}`]:!0},r):r,u=s=>{const r={};return(s=>void 0!==s?(Array.isArray(s)?s:s.split(" ")).filter(d=>null!=d).map(d=>d.trim()).filter(d=>""!==d):[])(s).forEach(d=>r[d]=!0),r},g=/^[a-z][a-z0-9+\-.]*:/,k=function(){var s=(0,p.Z)(function*(r,d,x,v){if(null!=r&&"#"!==r[0]&&!g.test(r)){const h=document.querySelector("ion-router");if(h)return d?.preventDefault(),h.push(r,x,v)}return!1});return function(d,x,v,h){return s.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/2933.e77e6983a545dc71.js b/2933.e77e6983a545dc71.js new file mode 100644 index 00000000..1908c917 --- /dev/null +++ b/2933.e77e6983a545dc71.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2933],{2933:(C,b,a)=>{a.r(b),a.d(b,{ion_item_option:()=>d,ion_item_options:()=>h,ion_item_sliding:()=>E});var p=a(5861),n=a(408),w=a(3814),f=a(4649),u=a(2961),g=a(4253),k=a(2754);const d=class{constructor(t){(0,n.r)(this,t),this.onClick=i=>{i.target.closest("ion-item-option")&&i.preventDefault()},this.color=void 0,this.disabled=!1,this.download=void 0,this.expandable=!1,this.href=void 0,this.rel=void 0,this.target=void 0,this.type="button"}render(){const{disabled:t,expandable:i,href:e}=this,o=void 0===e?"button":"a",l=(0,f.b)(this),c="button"===o?{type:this.type}:{download:this.download,href:this.href,target:this.target};return(0,n.h)(n.H,{onClick:this.onClick,class:(0,w.c)(this.color,{[l]:!0,"item-option-disabled":t,"item-option-expandable":i,"ion-activatable":!0})},(0,n.h)(o,Object.assign({},c,{class:"button-native",part:"native",disabled:t}),(0,n.h)("span",{class:"button-inner"},(0,n.h)("slot",{name:"top"}),(0,n.h)("div",{class:"horizontal-wrapper"},(0,n.h)("slot",{name:"start"}),(0,n.h)("slot",{name:"icon-only"}),(0,n.h)("slot",null),(0,n.h)("slot",{name:"end"})),(0,n.h)("slot",{name:"bottom"})),"md"===l&&(0,n.h)("ion-ripple-effect",null)))}get el(){return(0,n.f)(this)}};d.style={ios:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:clamp(16px, 1rem, 35.2px)}:host(.ion-activated){background:var(--ion-color-primary-shade, #3171e0)}:host(.ion-color.ion-activated){background:var(--ion-color-shade)}",md:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:0.875rem;font-weight:500;text-transform:uppercase}"};const h=class{constructor(t){(0,n.r)(this,t),this.ionSwipe=(0,n.d)(this,"ionSwipe",7),this.side="end"}fireSwipeEvent(){var t=this;return(0,p.Z)(function*(){t.ionSwipe.emit({side:t.side})})()}render(){const t=(0,f.b)(this),i=(0,u.p)(this.side);return(0,n.h)(n.H,{class:{[t]:!0,[`item-options-${t}`]:!0,"item-options-start":!i,"item-options-end":i}})}get el(){return(0,n.f)(this)}};let m;h.style={ios:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){ion-item-options:dir(rtl){-ms-flex-pack:start;justify-content:flex-start}ion-item-options:dir(rtl):not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] .item-options-start{-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){.item-options-start:dir(rtl){-ms-flex-pack:end;justify-content:flex-end}}[dir=ltr] .item-options-start ion-item-option:first-child,[dir=rtl] .item-options-start ion-item-option:last-child{padding-left:var(--ion-safe-area-left)}[dir=ltr] .item-options-end ion-item-option:last-child,[dir=rtl] .item-options-end ion-item-option:first-child{padding-right:var(--ion-safe-area-right)}:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}@supports selector(:dir(rtl)){.item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-ios{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)))}.item-options-ios.item-options-end{border-bottom-width:0.55px}.list-ios-lines-none .item-options-ios{border-bottom-width:0}.list-ios-lines-full .item-options-ios,.list-ios-lines-inset .item-options-ios.item-options-end{border-bottom-width:0.55px}",md:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){ion-item-options:dir(rtl){-ms-flex-pack:start;justify-content:flex-start}ion-item-options:dir(rtl):not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] .item-options-start{-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){.item-options-start:dir(rtl){-ms-flex-pack:end;justify-content:flex-end}}[dir=ltr] .item-options-start ion-item-option:first-child,[dir=rtl] .item-options-start ion-item-option:last-child{padding-left:var(--ion-safe-area-left)}[dir=ltr] .item-options-end ion-item-option:last-child,[dir=rtl] .item-options-end ion-item-option:first-child{padding-right:var(--ion-safe-area-right)}:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}@supports selector(:dir(rtl)){.item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-md{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))))}.list-md-lines-none .item-options-md{border-bottom-width:0}.list-md-lines-full .item-options-md,.list-md-lines-inset .item-options-md.item-options-end{border-bottom-width:1px}"};const E=class{constructor(t){(0,n.r)(this,t),this.ionDrag=(0,n.d)(this,"ionDrag",7),this.item=null,this.openAmount=0,this.initialOpenAmount=0,this.optsWidthRightSide=0,this.optsWidthLeftSide=0,this.sides=0,this.optsDirty=!0,this.contentEl=null,this.initialContentScrollY=!0,this.state=2,this.disabled=!1}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}connectedCallback(){var t=this;return(0,p.Z)(function*(){const{el:i}=t;t.item=i.querySelector("ion-item"),t.contentEl=(0,g.f)(i),t.mutationObserver=(0,k.w)(i,"ion-item-option",(0,p.Z)(function*(){yield t.updateOptions()})),yield t.updateOptions(),t.gesture=(yield Promise.resolve().then(a.bind(a,5067))).createGesture({el:i,gestureName:"item-swipe",gesturePriority:100,threshold:5,canStart:e=>t.canStart(e),onStart:()=>t.onStart(),onMove:e=>t.onMove(e),onEnd:e=>t.onEnd(e)}),t.disabledChanged()})()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.item=null,this.leftOptions=this.rightOptions=void 0,m===this.el&&(m=void 0),this.mutationObserver&&(this.mutationObserver.disconnect(),this.mutationObserver=void 0)}getOpenAmount(){return Promise.resolve(this.openAmount)}getSlidingRatio(){return Promise.resolve(this.getSlidingRatioSync())}open(t){var i=this;return(0,p.Z)(function*(){var e;if(null===(i.item=null!==(e=i.item)&&void 0!==e?e:i.el.querySelector("ion-item")))return;const l=i.getOptions(t);l&&(void 0===t&&(t=l===i.leftOptions?"start":"end"),t=(0,u.p)(t)?"end":"start",i.openAmount<0&&l===i.leftOptions||i.openAmount>0&&l===i.rightOptions||(i.closeOpened(),i.state=4,requestAnimationFrame(()=>{i.calculateOptsWidth(),m=i.el,i.setOpenAmount("end"===t?i.optsWidthRightSide:-i.optsWidthLeftSide,!1),i.state="end"===t?8:16})))})()}close(){var t=this;return(0,p.Z)(function*(){t.setOpenAmount(0,!0)})()}closeOpened(){return(0,p.Z)(function*(){return void 0!==m&&(m.close(),m=void 0,!0)})()}getOptions(t){return void 0===t?this.leftOptions||this.rightOptions:"start"===t?this.leftOptions:this.rightOptions}updateOptions(){var t=this;return(0,p.Z)(function*(){const i=t.el.querySelectorAll("ion-item-options");let e=0;t.leftOptions=t.rightOptions=void 0;for(let o=0;othis.optsWidthRightSide?(e=this.optsWidthRightSide,i=e+.55*(i-e)):i<-this.optsWidthLeftSide&&(e=-this.optsWidthLeftSide,i=e+.55*(i-e)),this.setOpenAmount(i,!1)}onEnd(t){const{contentEl:i,initialContentScrollY:e}=this;i&&(0,g.r)(i,e);const o=t.velocityX;let l=this.openAmount>0?this.optsWidthRightSide:-this.optsWidthLeftSide;const c=this.openAmount>0==!(o<0),y=Math.abs(o)>.3,O=Math.abs(this.openAmount)0)this.state=t>=this.optsWidthRightSide+30?40:8;else{if(!(t<0))return e.classList.add("item-sliding-closing"),this.gesture&&this.gesture.enable(!1),this.tmr=setTimeout(()=>{this.state=2,this.tmr=void 0,this.gesture&&this.gesture.enable(!this.disabled),e.classList.remove("item-sliding-closing")},600),m=void 0,void(o.transform="");this.state=t<=-this.optsWidthLeftSide-30?80:16}o.transform=`translate3d(${-t}px,0,0)`,this.ionDrag.emit({amount:t,ratio:this.getSlidingRatioSync()})}getSlidingRatioSync(){return this.openAmount>0?this.openAmount/this.optsWidthRightSide:this.openAmount<0?this.openAmount/this.optsWidthLeftSide:0}render(){const t=(0,f.b)(this);return(0,n.h)(n.H,{class:{[t]:!0,"item-sliding-active-slide":2!==this.state,"item-sliding-active-options-end":0!=(8&this.state),"item-sliding-active-options-start":0!=(16&this.state),"item-sliding-active-swipe-end":0!=(32&this.state),"item-sliding-active-swipe-start":0!=(64&this.state)}})}get el(){return(0,n.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}},z=(t,i,e)=>!i&&e||t&&i;E.style="ion-item-sliding{display:block;position:relative;width:100%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ion-item-sliding .item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.item-sliding-active-slide .item{position:relative;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);opacity:1;z-index:2;pointer-events:none;will-change:transform}.item-sliding-closing ion-item-options{pointer-events:none}.item-sliding-active-swipe-end .item-options-end .item-option-expandable{padding-left:100%;-ms-flex-order:1;order:1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-left;transition-property:padding-left}:host-context([dir=rtl]) .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}[dir=rtl] .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}@supports selector(:dir(rtl)){.item-sliding-active-swipe-end .item-options-end .item-option-expandable:dir(rtl){-ms-flex-order:-1;order:-1}}.item-sliding-active-swipe-start .item-options-start .item-option-expandable{padding-right:100%;-ms-flex-order:-1;order:-1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-right;transition-property:padding-right}:host-context([dir=rtl]) .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}[dir=rtl] .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}@supports selector(:dir(rtl)){.item-sliding-active-swipe-start .item-options-start .item-option-expandable:dir(rtl){-ms-flex-order:1;order:1}}"},3814:(C,b,a)=>{a.d(b,{c:()=>w,g:()=>u,h:()=>n,o:()=>k});var p=a(5861);const n=(s,r)=>null!==r.closest(s),w=(s,r)=>"string"==typeof s&&s.length>0?Object.assign({"ion-color":!0,[`ion-color-${s}`]:!0},r):r,u=s=>{const r={};return(s=>void 0!==s?(Array.isArray(s)?s:s.split(" ")).filter(d=>null!=d).map(d=>d.trim()).filter(d=>""!==d):[])(s).forEach(d=>r[d]=!0),r},g=/^[a-z][a-z0-9+\-.]*:/,k=function(){var s=(0,p.Z)(function*(r,d,x,v){if(null!=r&&"#"!==r[0]&&!g.test(r)){const h=document.querySelector("ion-router");if(h)return d?.preventDefault(),h.push(r,x,v)}return!1});return function(d,x,v,h){return s.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/3326.b11d47bf55b51e6e.js b/3326.b11d47bf55b51e6e.js new file mode 100644 index 00000000..0fb34b8a --- /dev/null +++ b/3326.b11d47bf55b51e6e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3326],{3326:(W,w,l)=>{l.r(w),l.d(w,{ion_refresher:()=>P,ion_refresher_content:()=>U});var d=l(5861),n=l(408),T=l(5069),y=l(4253),c=l(2961),E=l(1765),h=l(4649),m=l(2876),x=l(7036),k=l(5723),_=l(2677);l(6319),l(2972);const S=e=>{const t=e.querySelector("ion-spinner"),r=t.shadowRoot.querySelector("circle"),s=e.querySelector(".spinner-arrow-container"),a=e.querySelector(".arrow-container"),f=a?a.querySelector("ion-icon"):null,o=(0,m.c)().duration(1e3).easing("ease-out"),i=(0,m.c)().addElement(s).keyframes([{offset:0,opacity:"0.3"},{offset:.45,opacity:"0.3"},{offset:.55,opacity:"1"},{offset:1,opacity:"1"}]),p=(0,m.c)().addElement(r).keyframes([{offset:0,strokeDasharray:"1px, 200px"},{offset:.2,strokeDasharray:"1px, 200px"},{offset:.55,strokeDasharray:"100px, 200px"},{offset:1,strokeDasharray:"100px, 200px"}]),g=(0,m.c)().addElement(t).keyframes([{offset:0,transform:"rotate(-90deg)"},{offset:1,transform:"rotate(210deg)"}]);if(a&&f){const v=(0,m.c)().addElement(a).keyframes([{offset:0,transform:"rotate(0deg)"},{offset:.3,transform:"rotate(0deg)"},{offset:.55,transform:"rotate(280deg)"},{offset:1,transform:"rotate(400deg)"}]),u=(0,m.c)().addElement(f).keyframes([{offset:0,transform:"translateX(2px) scale(0)"},{offset:.3,transform:"translateX(2px) scale(0)"},{offset:.55,transform:"translateX(-1.5px) scale(1)"},{offset:1,transform:"translateX(-1.5px) scale(1)"}]);o.addAnimation([v,u])}return o.addAnimation([i,p,g])},b=(e,t,r=200)=>{if(!e)return Promise.resolve();const s=(0,c.t)(e,r);return(0,n.w)(()=>{e.style.setProperty("transition",`${r}ms all ease-out`),void 0===t?e.style.removeProperty("transform"):e.style.setProperty("transform",`translate3d(0px, ${t}, 0px)`)}),s},R=function(){var e=(0,d.Z)(function*(t,r){const s=t.querySelector("ion-refresher-content");if(!s)return Promise.resolve(!1);yield new Promise(o=>(0,c.c)(s,o));const a=t.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),f=t.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");return null!==a&&null!==f&&("ios"===r&&(0,h.a)("mobile")&&void 0!==t.style.webkitOverflowScrolling||"md"===r)});return function(r,s){return e.apply(this,arguments)}}(),P=class{constructor(e){(0,n.r)(this,e),this.ionRefresh=(0,n.d)(this,"ionRefresh",7),this.ionPull=(0,n.d)(this,"ionPull",7),this.ionStart=(0,n.d)(this,"ionStart",7),this.appliedStyles=!1,this.didStart=!1,this.progress=0,this.pointerDown=!1,this.needsCompletion=!1,this.didRefresh=!1,this.lastVelocityY=0,this.animations=[],this.nativeRefresher=!1,this.state=1,this.pullMin=60,this.pullMax=this.pullMin+60,this.closeDuration="280ms",this.snapbackDuration="280ms",this.pullFactor=1,this.disabled=!1}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}checkNativeRefresher(){var e=this;return(0,d.Z)(function*(){const t=yield R(e.el,(0,h.b)(e));if(t&&!e.nativeRefresher){const r=e.el.closest("ion-content");e.setupNativeRefresher(r)}else t||e.destroyNativeRefresher()})()}destroyNativeRefresher(){this.scrollEl&&this.scrollListenerCallback&&(this.scrollEl.removeEventListener("scroll",this.scrollListenerCallback),this.scrollListenerCallback=void 0),this.nativeRefresher=!1}resetNativeRefresher(e,t){var r=this;return(0,d.Z)(function*(){r.state=t,"ios"===(0,h.b)(r)?yield b(e,void 0,300):yield(0,c.t)(r.el.querySelector(".refresher-refreshing-icon"),200),r.didRefresh=!1,r.needsCompletion=!1,r.pointerDown=!1,r.animations.forEach(s=>s.destroy()),r.animations=[],r.progress=0,r.state=1})()}setupiOSNativeRefresher(e,t){var r=this;return(0,d.Z)(function*(){r.elementToTransform=r.scrollEl;const s=e.shadowRoot.querySelectorAll("svg");let a=.16*r.scrollEl.clientHeight;const f=s.length;(0,n.w)(()=>s.forEach(o=>o.style.setProperty("animation","none"))),r.scrollListenerCallback=()=>{!r.pointerDown&&1===r.state||(0,n.e)(()=>{const o=r.scrollEl.scrollTop,i=r.el.clientHeight;if(o>0){if(8===r.state){const u=(0,c.l)(0,o/(.5*i),1);return void(0,n.w)(()=>((e,t)=>{e.style.setProperty("opacity",t.toString())})(t,1-u))}return}r.pointerDown&&(r.didStart||(r.didStart=!0,r.ionStart.emit()),r.pointerDown&&r.ionPull.emit());const p=r.didStart?30:0,g=r.progress=(0,c.l)(0,(Math.abs(o)-p)/a,1);8===r.state||1===g?(r.pointerDown&&((e,t)=>{(0,n.w)(()=>{e.style.setProperty("--refreshing-rotation-duration",t>=1?"0.5s":"2s"),e.style.setProperty("opacity","1")})})(t,r.lastVelocityY),r.didRefresh||(r.beginRefresh(),r.didRefresh=!0,(0,E.d)({style:E.I.Light}),r.pointerDown||b(r.elementToTransform,`${i}px`))):(r.state=2,((e,t,r)=>{(0,n.w)(()=>{e.forEach((a,f)=>{const o=f*(1/t),g=(0,c.l)(0,(r-o)/(1-o),1);a.style.setProperty("opacity",g.toString())})})})(s,f,g))})},r.scrollEl.addEventListener("scroll",r.scrollListenerCallback),r.gesture=(yield Promise.resolve().then(l.bind(l,5067))).createGesture({el:r.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,onStart:()=>{r.pointerDown=!0,r.didRefresh||b(r.elementToTransform,"0px"),0===a&&(a=.16*r.scrollEl.clientHeight)},onMove:o=>{r.lastVelocityY=o.velocityY},onEnd:()=>{r.pointerDown=!1,r.didStart=!1,r.needsCompletion?(r.resetNativeRefresher(r.elementToTransform,32),r.needsCompletion=!1):r.didRefresh&&(0,n.e)(()=>b(r.elementToTransform,`${r.el.clientHeight}px`))}}),r.disabledChanged()})()}setupMDNativeRefresher(e,t,r){var s=this;return(0,d.Z)(function*(){const a=(0,c.g)(t).querySelector("circle"),f=s.el.querySelector("ion-refresher-content .refresher-pulling-icon"),o=(0,c.g)(r).querySelector("circle");null!==a&&null!==o&&(0,n.w)(()=>{a.style.setProperty("animation","none"),r.style.setProperty("animation-delay","-655ms"),o.style.setProperty("animation-delay","-655ms")}),s.gesture=(yield Promise.resolve().then(l.bind(l,5067))).createGesture({el:s.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,canStart:()=>8!==s.state&&32!==s.state&&0===s.scrollEl.scrollTop,onStart:i=>{s.progress=0,i.data={animation:void 0,didStart:!1,cancelled:!1}},onMove:i=>{if(i.velocityY<0&&0===s.progress&&!i.data.didStart||i.data.cancelled)i.data.cancelled=!0;else{if(!i.data.didStart){i.data.didStart=!0,s.state=2;const{scrollEl:p}=s,g=p.matches(y.I)?"overflow":"--overflow";(0,n.w)(()=>p.style.setProperty(g,"hidden"));const v=(e=>{const t=e.previousElementSibling;return null!==t&&"ION-HEADER"===t.tagName?"translate":"scale"})(e),u=((e,t,r)=>"scale"===e?((e,t)=>{const r=t.clientHeight,s=(0,m.c)().addElement(e).keyframes([{offset:0,transform:`scale(0) translateY(-${r}px)`},{offset:1,transform:"scale(1) translateY(100px)"}]);return S(e).addAnimation([s])})(t,r):((e,t)=>{const r=t.clientHeight,s=(0,m.c)().addElement(e).keyframes([{offset:0,transform:`translateY(-${r}px)`},{offset:1,transform:"translateY(100px)"}]);return S(e).addAnimation([s])})(t,r))(v,f,s.el);return i.data.animation=u,u.progressStart(!1,0),s.ionStart.emit(),void s.animations.push(u)}s.progress=(0,c.l)(0,i.deltaY/180*.5,1),i.data.animation.progressStep(s.progress),s.ionPull.emit()}},onEnd:i=>{if(!i.data.didStart)return;s.gesture.enable(!1);const{scrollEl:p}=s,g=p.matches(y.I)?"overflow":"--overflow";if((0,n.w)(()=>p.style.removeProperty(g)),s.progress<=.4)return void i.data.animation.progressEnd(0,s.progress,500).onFinish(()=>{s.animations.forEach(B=>B.destroy()),s.animations=[],s.gesture.enable(!0),s.state=1});const v=(0,T.g)([0,0],[0,0],[1,1],[1,1],s.progress)[0],u=(e=>(0,m.c)().duration(125).addElement(e).fromTo("transform","translateY(var(--ion-pulling-refresher-translate, 100px))","translateY(0px)"))(f);s.animations.push(u),(0,n.w)((0,d.Z)(function*(){f.style.setProperty("--ion-pulling-refresher-translate",100*v+"px"),i.data.animation.progressEnd(),yield u.play(),s.beginRefresh(),i.data.animation.destroy(),s.gesture.enable(!0)}))}}),s.disabledChanged()})()}setupNativeRefresher(e){var t=this;return(0,d.Z)(function*(){if(t.scrollListenerCallback||!e||t.nativeRefresher||!t.scrollEl)return;t.setCss(0,"",!1,""),t.nativeRefresher=!0;const r=t.el.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),s=t.el.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");"ios"===(0,h.b)(t)?t.setupiOSNativeRefresher(r,s):t.setupMDNativeRefresher(e,r,s)})()}componentDidUpdate(){this.checkNativeRefresher()}connectedCallback(){var e=this;return(0,d.Z)(function*(){if("fixed"!==e.el.getAttribute("slot"))return void console.error('Make sure you use: ');const t=e.el.closest(y.b);t?(0,c.c)(t,(0,d.Z)(function*(){const r=t.querySelector(y.I);e.scrollEl=yield(0,y.g)(r??t),e.backgroundContentEl=yield t.getBackgroundElement(),(yield R(e.el,(0,h.b)(e)))?e.setupNativeRefresher(t):(e.gesture=(yield Promise.resolve().then(l.bind(l,5067))).createGesture({el:t,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:20,passive:!1,canStart:()=>e.canStart(),onStart:()=>e.onStart(),onMove:s=>e.onMove(s),onEnd:()=>e.onEnd()}),e.disabledChanged())})):(0,y.p)(e.el)})()}disconnectedCallback(){this.destroyNativeRefresher(),this.scrollEl=void 0,this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}complete(){var e=this;return(0,d.Z)(function*(){e.nativeRefresher?(e.needsCompletion=!0,e.pointerDown||(0,c.r)(()=>(0,c.r)(()=>e.resetNativeRefresher(e.elementToTransform,32)))):e.close(32,"120ms")})()}cancel(){var e=this;return(0,d.Z)(function*(){e.nativeRefresher?e.pointerDown||(0,c.r)(()=>(0,c.r)(()=>e.resetNativeRefresher(e.elementToTransform,16))):e.close(16,"")})()}getProgress(){return Promise.resolve(this.progress)}canStart(){return!(!this.scrollEl||1!==this.state||this.scrollEl.scrollTop>0)}onStart(){this.progress=0,this.state=1,this.memoizeOverflowStyle()}onMove(e){if(!this.scrollEl)return;const t=e.event;if(void 0!==t.touches&&t.touches.length>1||56&this.state)return;const r=Number.isNaN(this.pullFactor)||this.pullFactor<0?1:this.pullFactor,s=e.deltaY*r;if(s<=0)return this.progress=0,this.state=1,this.appliedStyles?void this.setCss(0,"",!1,""):void 0;if(1===this.state){if(this.scrollEl.scrollTop>0)return void(this.progress=0);this.state=2}if(t.cancelable&&t.preventDefault(),this.setCss(s,"0ms",!0,""),0===s)return void(this.progress=0);const a=this.pullMin;this.progress=s/a,this.didStart||(this.didStart=!0,this.ionStart.emit()),this.ionPull.emit(),sthis.pullMax?this.beginRefresh():this.state=4}onEnd(){4===this.state?this.beginRefresh():2===this.state?this.cancel():1===this.state&&this.restoreOverflowStyle()}beginRefresh(){this.state=8,this.setCss(this.pullMin,this.snapbackDuration,!0,""),this.ionRefresh.emit({complete:this.complete.bind(this)})}close(e,t){setTimeout(()=>{this.state=1,this.progress=0,this.didStart=!1,this.setCss(0,"0ms",!1,"",!0)},600),this.state=e,this.setCss(0,this.closeDuration,!0,t)}setCss(e,t,r,s,a=!1){this.nativeRefresher||(this.appliedStyles=e>0,(0,n.w)(()=>{if(this.scrollEl&&this.backgroundContentEl){const f=this.scrollEl.style,o=this.backgroundContentEl.style;f.transform=o.transform=e>0?`translateY(${e}px) translateZ(0px)`:"",f.transitionDuration=o.transitionDuration=t,f.transitionDelay=o.transitionDelay=s,f.overflow=r?"hidden":""}a&&this.restoreOverflowStyle()}))}memoizeOverflowStyle(){if(this.scrollEl){const{overflow:e,overflowX:t,overflowY:r}=this.scrollEl.style;this.overflowStyles={overflow:e??"",overflowX:t??"",overflowY:r??""}}}restoreOverflowStyle(){if(void 0!==this.overflowStyles&&void 0!==this.scrollEl){const{overflow:e,overflowX:t,overflowY:r}=this.overflowStyles;this.scrollEl.style.overflow=e,this.scrollEl.style.overflowX=t,this.scrollEl.style.overflowY=r,this.overflowStyles=void 0}}render(){const e=(0,h.b)(this);return(0,n.h)(n.H,{slot:"fixed",class:{[e]:!0,[`refresher-${e}`]:!0,"refresher-native":this.nativeRefresher,"refresher-active":1!==this.state,"refresher-pulling":2===this.state,"refresher-ready":4===this.state,"refresher-refreshing":8===this.state,"refresher-cancelling":16===this.state,"refresher-completing":32===this.state}})}get el(){return(0,n.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}};P.style={ios:"ion-refresher{top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}@supports (inset-inline-start: 0){ion-refresher{inset-inline-start:0}}@supports not (inset-inline-start: 0){ion-refresher{left:0}:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}[dir=rtl] ion-refresher{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){ion-refresher:dir(rtl){left:unset;right:unset;right:0}}}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}:host-context([dir=rtl]) .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){.refresher-pulling-icon:dir(rtl),.refresher-refreshing-icon:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-ios .refresher-pulling-icon,.refresher-ios .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-ios .refresher-pulling-text,.refresher-ios .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-lines-ios line,.refresher-ios .refresher-refreshing .spinner-lines-small-ios line,.refresher-ios .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-bubbles circle,.refresher-ios .refresher-refreshing .spinner-circles circle,.refresher-ios .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}.refresher-native .refresher-refreshing ion-spinner{--refreshing-rotation-duration:2s;display:none;-webkit-animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards;animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards}.refresher-native .refresher-refreshing{display:none;-webkit-animation:250ms linear refresher-pop forwards;animation:250ms linear refresher-pop forwards}.refresher-native ion-spinner{width:32px;height:32px;color:var(--ion-color-step-450, #747577)}.refresher-native.refresher-refreshing .refresher-pulling ion-spinner,.refresher-native.refresher-completing .refresher-pulling ion-spinner{display:none}.refresher-native.refresher-refreshing .refresher-refreshing ion-spinner,.refresher-native.refresher-completing .refresher-refreshing ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-pulling ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-refreshing ion-spinner{display:none}.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0) rotate(180deg);transform:scale(0) rotate(180deg);-webkit-transition:300ms;transition:300ms}@-webkit-keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}@keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}",md:"ion-refresher{top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}@supports (inset-inline-start: 0){ion-refresher{inset-inline-start:0}}@supports not (inset-inline-start: 0){ion-refresher{left:0}:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}[dir=rtl] ion-refresher{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){ion-refresher:dir(rtl){left:unset;right:unset;right:0}}}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}:host-context([dir=rtl]) .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){.refresher-pulling-icon:dir(rtl),.refresher-refreshing-icon:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-md .refresher-pulling-icon,.refresher-md .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-md .refresher-pulling-text,.refresher-md .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-lines-md line,.refresher-md .refresher-refreshing .spinner-lines-small-md line,.refresher-md .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-bubbles circle,.refresher-md .refresher-refreshing .spinner-circles circle,.refresher-md .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;width:24px;height:24px;color:var(--ion-color-primary, #3880ff)}ion-refresher.refresher-native .spinner-arrow-container{display:inherit}ion-refresher.refresher-native .arrow-container{display:block;position:absolute;width:24px;height:24px}ion-refresher.refresher-native .arrow-container ion-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;bottom:-4px;position:absolute;color:var(--ion-color-primary, #3880ff);font-size:12px}ion-refresher.refresher-native.refresher-pulling ion-refresher-content .refresher-pulling,ion-refresher.refresher-native.refresher-ready ion-refresher-content .refresher-pulling{display:-ms-flexbox;display:flex}ion-refresher.refresher-native.refresher-refreshing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-cancelling ion-refresher-content .refresher-refreshing{display:-ms-flexbox;display:flex}ion-refresher.refresher-native .refresher-pulling-icon{-webkit-transform:translateY(calc(-100% - 10px));transform:translateY(calc(-100% - 10px))}ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;border-radius:100%;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;display:-ms-flexbox;display:flex;border:1px solid var(--ion-color-step-200, #ececec);background:var(--ion-color-step-250, #ffffff);-webkit-box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1);box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1)}"};const U=class{constructor(e){(0,n.r)(this,e),this.customHTMLEnabled=h.c.get("innerHTMLTemplatesEnabled",x.E),this.pullingIcon=void 0,this.pullingText=void 0,this.refreshingSpinner=void 0,this.refreshingText=void 0}componentWillLoad(){if(void 0===this.pullingIcon){const e=(0,h.b)(this),t=void 0!==this.el.style.webkitOverflowScrolling?"lines":k.i;this.pullingIcon=h.c.get("refreshingIcon","ios"===e&&(0,h.a)("mobile")?h.c.get("spinner",t):"circular")}if(void 0===this.refreshingSpinner){const e=(0,h.b)(this);this.refreshingSpinner=h.c.get("refreshingSpinner",h.c.get("spinner","ios"===e?"lines":"circular"))}}renderPullingText(){const{customHTMLEnabled:e,pullingText:t}=this;return e?(0,n.h)("div",{class:"refresher-pulling-text",innerHTML:(0,x.a)(t)}):(0,n.h)("div",{class:"refresher-pulling-text"},t)}renderRefreshingText(){const{customHTMLEnabled:e,refreshingText:t}=this;return e?(0,n.h)("div",{class:"refresher-refreshing-text",innerHTML:(0,x.a)(t)}):(0,n.h)("div",{class:"refresher-refreshing-text"},t)}render(){const e=this.pullingIcon,t=null!=e&&void 0!==_.S[e],r=(0,h.b)(this);return(0,n.h)(n.H,{class:r},(0,n.h)("div",{class:"refresher-pulling"},this.pullingIcon&&t&&(0,n.h)("div",{class:"refresher-pulling-icon"},(0,n.h)("div",{class:"spinner-arrow-container"},(0,n.h)("ion-spinner",{name:this.pullingIcon,paused:!0}),"md"===r&&"circular"===this.pullingIcon&&(0,n.h)("div",{class:"arrow-container"},(0,n.h)("ion-icon",{icon:k.h,"aria-hidden":"true"})))),this.pullingIcon&&!t&&(0,n.h)("div",{class:"refresher-pulling-icon"},(0,n.h)("ion-icon",{icon:this.pullingIcon,lazy:!1,"aria-hidden":"true"})),void 0!==this.pullingText&&this.renderPullingText()),(0,n.h)("div",{class:"refresher-refreshing"},this.refreshingSpinner&&(0,n.h)("div",{class:"refresher-refreshing-icon"},(0,n.h)("ion-spinner",{name:this.refreshingSpinner})),void 0!==this.refreshingText&&this.renderRefreshingText()))}get el(){return(0,n.f)(this)}}}}]); \ No newline at end of file diff --git a/3326.f7588bf21dffe3d4.js b/3326.f7588bf21dffe3d4.js deleted file mode 100644 index efef1228..00000000 --- a/3326.f7588bf21dffe3d4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3326],{3326:(W,w,l)=>{l.r(w),l.d(w,{ion_refresher:()=>P,ion_refresher_content:()=>U});var d=l(5861),n=l(1071),T=l(6591),y=l(6038),c=l(2674),E=l(2669),h=l(7263),m=l(2438),x=l(1180),k=l(6026),_=l(7418);l(6447),l(7693);const S=e=>{const t=e.querySelector("ion-spinner"),r=t.shadowRoot.querySelector("circle"),s=e.querySelector(".spinner-arrow-container"),a=e.querySelector(".arrow-container"),f=a?a.querySelector("ion-icon"):null,o=(0,m.c)().duration(1e3).easing("ease-out"),i=(0,m.c)().addElement(s).keyframes([{offset:0,opacity:"0.3"},{offset:.45,opacity:"0.3"},{offset:.55,opacity:"1"},{offset:1,opacity:"1"}]),p=(0,m.c)().addElement(r).keyframes([{offset:0,strokeDasharray:"1px, 200px"},{offset:.2,strokeDasharray:"1px, 200px"},{offset:.55,strokeDasharray:"100px, 200px"},{offset:1,strokeDasharray:"100px, 200px"}]),g=(0,m.c)().addElement(t).keyframes([{offset:0,transform:"rotate(-90deg)"},{offset:1,transform:"rotate(210deg)"}]);if(a&&f){const v=(0,m.c)().addElement(a).keyframes([{offset:0,transform:"rotate(0deg)"},{offset:.3,transform:"rotate(0deg)"},{offset:.55,transform:"rotate(280deg)"},{offset:1,transform:"rotate(400deg)"}]),u=(0,m.c)().addElement(f).keyframes([{offset:0,transform:"translateX(2px) scale(0)"},{offset:.3,transform:"translateX(2px) scale(0)"},{offset:.55,transform:"translateX(-1.5px) scale(1)"},{offset:1,transform:"translateX(-1.5px) scale(1)"}]);o.addAnimation([v,u])}return o.addAnimation([i,p,g])},b=(e,t,r=200)=>{if(!e)return Promise.resolve();const s=(0,c.t)(e,r);return(0,n.w)(()=>{e.style.setProperty("transition",`${r}ms all ease-out`),void 0===t?e.style.removeProperty("transform"):e.style.setProperty("transform",`translate3d(0px, ${t}, 0px)`)}),s},R=function(){var e=(0,d.Z)(function*(t,r){const s=t.querySelector("ion-refresher-content");if(!s)return Promise.resolve(!1);yield new Promise(o=>(0,c.c)(s,o));const a=t.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),f=t.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");return null!==a&&null!==f&&("ios"===r&&(0,h.a)("mobile")&&void 0!==t.style.webkitOverflowScrolling||"md"===r)});return function(r,s){return e.apply(this,arguments)}}(),P=class{constructor(e){(0,n.r)(this,e),this.ionRefresh=(0,n.d)(this,"ionRefresh",7),this.ionPull=(0,n.d)(this,"ionPull",7),this.ionStart=(0,n.d)(this,"ionStart",7),this.appliedStyles=!1,this.didStart=!1,this.progress=0,this.pointerDown=!1,this.needsCompletion=!1,this.didRefresh=!1,this.lastVelocityY=0,this.animations=[],this.nativeRefresher=!1,this.state=1,this.pullMin=60,this.pullMax=this.pullMin+60,this.closeDuration="280ms",this.snapbackDuration="280ms",this.pullFactor=1,this.disabled=!1}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}checkNativeRefresher(){var e=this;return(0,d.Z)(function*(){const t=yield R(e.el,(0,h.b)(e));if(t&&!e.nativeRefresher){const r=e.el.closest("ion-content");e.setupNativeRefresher(r)}else t||e.destroyNativeRefresher()})()}destroyNativeRefresher(){this.scrollEl&&this.scrollListenerCallback&&(this.scrollEl.removeEventListener("scroll",this.scrollListenerCallback),this.scrollListenerCallback=void 0),this.nativeRefresher=!1}resetNativeRefresher(e,t){var r=this;return(0,d.Z)(function*(){r.state=t,"ios"===(0,h.b)(r)?yield b(e,void 0,300):yield(0,c.t)(r.el.querySelector(".refresher-refreshing-icon"),200),r.didRefresh=!1,r.needsCompletion=!1,r.pointerDown=!1,r.animations.forEach(s=>s.destroy()),r.animations=[],r.progress=0,r.state=1})()}setupiOSNativeRefresher(e,t){var r=this;return(0,d.Z)(function*(){r.elementToTransform=r.scrollEl;const s=e.shadowRoot.querySelectorAll("svg");let a=.16*r.scrollEl.clientHeight;const f=s.length;(0,n.w)(()=>s.forEach(o=>o.style.setProperty("animation","none"))),r.scrollListenerCallback=()=>{!r.pointerDown&&1===r.state||(0,n.e)(()=>{const o=r.scrollEl.scrollTop,i=r.el.clientHeight;if(o>0){if(8===r.state){const u=(0,c.l)(0,o/(.5*i),1);return void(0,n.w)(()=>((e,t)=>{e.style.setProperty("opacity",t.toString())})(t,1-u))}return}r.pointerDown&&(r.didStart||(r.didStart=!0,r.ionStart.emit()),r.pointerDown&&r.ionPull.emit());const p=r.didStart?30:0,g=r.progress=(0,c.l)(0,(Math.abs(o)-p)/a,1);8===r.state||1===g?(r.pointerDown&&((e,t)=>{(0,n.w)(()=>{e.style.setProperty("--refreshing-rotation-duration",t>=1?"0.5s":"2s"),e.style.setProperty("opacity","1")})})(t,r.lastVelocityY),r.didRefresh||(r.beginRefresh(),r.didRefresh=!0,(0,E.d)({style:E.I.Light}),r.pointerDown||b(r.elementToTransform,`${i}px`))):(r.state=2,((e,t,r)=>{(0,n.w)(()=>{e.forEach((a,f)=>{const o=f*(1/t),g=(0,c.l)(0,(r-o)/(1-o),1);a.style.setProperty("opacity",g.toString())})})})(s,f,g))})},r.scrollEl.addEventListener("scroll",r.scrollListenerCallback),r.gesture=(yield Promise.resolve().then(l.bind(l,9531))).createGesture({el:r.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,onStart:()=>{r.pointerDown=!0,r.didRefresh||b(r.elementToTransform,"0px"),0===a&&(a=.16*r.scrollEl.clientHeight)},onMove:o=>{r.lastVelocityY=o.velocityY},onEnd:()=>{r.pointerDown=!1,r.didStart=!1,r.needsCompletion?(r.resetNativeRefresher(r.elementToTransform,32),r.needsCompletion=!1):r.didRefresh&&(0,n.e)(()=>b(r.elementToTransform,`${r.el.clientHeight}px`))}}),r.disabledChanged()})()}setupMDNativeRefresher(e,t,r){var s=this;return(0,d.Z)(function*(){const a=(0,c.g)(t).querySelector("circle"),f=s.el.querySelector("ion-refresher-content .refresher-pulling-icon"),o=(0,c.g)(r).querySelector("circle");null!==a&&null!==o&&(0,n.w)(()=>{a.style.setProperty("animation","none"),r.style.setProperty("animation-delay","-655ms"),o.style.setProperty("animation-delay","-655ms")}),s.gesture=(yield Promise.resolve().then(l.bind(l,9531))).createGesture({el:s.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,canStart:()=>8!==s.state&&32!==s.state&&0===s.scrollEl.scrollTop,onStart:i=>{s.progress=0,i.data={animation:void 0,didStart:!1,cancelled:!1}},onMove:i=>{if(i.velocityY<0&&0===s.progress&&!i.data.didStart||i.data.cancelled)i.data.cancelled=!0;else{if(!i.data.didStart){i.data.didStart=!0,s.state=2;const{scrollEl:p}=s,g=p.matches(y.I)?"overflow":"--overflow";(0,n.w)(()=>p.style.setProperty(g,"hidden"));const v=(e=>{const t=e.previousElementSibling;return null!==t&&"ION-HEADER"===t.tagName?"translate":"scale"})(e),u=((e,t,r)=>"scale"===e?((e,t)=>{const r=t.clientHeight,s=(0,m.c)().addElement(e).keyframes([{offset:0,transform:`scale(0) translateY(-${r}px)`},{offset:1,transform:"scale(1) translateY(100px)"}]);return S(e).addAnimation([s])})(t,r):((e,t)=>{const r=t.clientHeight,s=(0,m.c)().addElement(e).keyframes([{offset:0,transform:`translateY(-${r}px)`},{offset:1,transform:"translateY(100px)"}]);return S(e).addAnimation([s])})(t,r))(v,f,s.el);return i.data.animation=u,u.progressStart(!1,0),s.ionStart.emit(),void s.animations.push(u)}s.progress=(0,c.l)(0,i.deltaY/180*.5,1),i.data.animation.progressStep(s.progress),s.ionPull.emit()}},onEnd:i=>{if(!i.data.didStart)return;s.gesture.enable(!1);const{scrollEl:p}=s,g=p.matches(y.I)?"overflow":"--overflow";if((0,n.w)(()=>p.style.removeProperty(g)),s.progress<=.4)return void i.data.animation.progressEnd(0,s.progress,500).onFinish(()=>{s.animations.forEach(B=>B.destroy()),s.animations=[],s.gesture.enable(!0),s.state=1});const v=(0,T.g)([0,0],[0,0],[1,1],[1,1],s.progress)[0],u=(e=>(0,m.c)().duration(125).addElement(e).fromTo("transform","translateY(var(--ion-pulling-refresher-translate, 100px))","translateY(0px)"))(f);s.animations.push(u),(0,n.w)((0,d.Z)(function*(){f.style.setProperty("--ion-pulling-refresher-translate",100*v+"px"),i.data.animation.progressEnd(),yield u.play(),s.beginRefresh(),i.data.animation.destroy(),s.gesture.enable(!0)}))}}),s.disabledChanged()})()}setupNativeRefresher(e){var t=this;return(0,d.Z)(function*(){if(t.scrollListenerCallback||!e||t.nativeRefresher||!t.scrollEl)return;t.setCss(0,"",!1,""),t.nativeRefresher=!0;const r=t.el.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),s=t.el.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");"ios"===(0,h.b)(t)?t.setupiOSNativeRefresher(r,s):t.setupMDNativeRefresher(e,r,s)})()}componentDidUpdate(){this.checkNativeRefresher()}connectedCallback(){var e=this;return(0,d.Z)(function*(){if("fixed"!==e.el.getAttribute("slot"))return void console.error('Make sure you use: ');const t=e.el.closest(y.b);t?(0,c.c)(t,(0,d.Z)(function*(){const r=t.querySelector(y.I);e.scrollEl=yield(0,y.g)(r??t),e.backgroundContentEl=yield t.getBackgroundElement(),(yield R(e.el,(0,h.b)(e)))?e.setupNativeRefresher(t):(e.gesture=(yield Promise.resolve().then(l.bind(l,9531))).createGesture({el:t,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:20,passive:!1,canStart:()=>e.canStart(),onStart:()=>e.onStart(),onMove:s=>e.onMove(s),onEnd:()=>e.onEnd()}),e.disabledChanged())})):(0,y.p)(e.el)})()}disconnectedCallback(){this.destroyNativeRefresher(),this.scrollEl=void 0,this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}complete(){var e=this;return(0,d.Z)(function*(){e.nativeRefresher?(e.needsCompletion=!0,e.pointerDown||(0,c.r)(()=>(0,c.r)(()=>e.resetNativeRefresher(e.elementToTransform,32)))):e.close(32,"120ms")})()}cancel(){var e=this;return(0,d.Z)(function*(){e.nativeRefresher?e.pointerDown||(0,c.r)(()=>(0,c.r)(()=>e.resetNativeRefresher(e.elementToTransform,16))):e.close(16,"")})()}getProgress(){return Promise.resolve(this.progress)}canStart(){return!(!this.scrollEl||1!==this.state||this.scrollEl.scrollTop>0)}onStart(){this.progress=0,this.state=1,this.memoizeOverflowStyle()}onMove(e){if(!this.scrollEl)return;const t=e.event;if(void 0!==t.touches&&t.touches.length>1||56&this.state)return;const r=Number.isNaN(this.pullFactor)||this.pullFactor<0?1:this.pullFactor,s=e.deltaY*r;if(s<=0)return this.progress=0,this.state=1,this.appliedStyles?void this.setCss(0,"",!1,""):void 0;if(1===this.state){if(this.scrollEl.scrollTop>0)return void(this.progress=0);this.state=2}if(t.cancelable&&t.preventDefault(),this.setCss(s,"0ms",!0,""),0===s)return void(this.progress=0);const a=this.pullMin;this.progress=s/a,this.didStart||(this.didStart=!0,this.ionStart.emit()),this.ionPull.emit(),sthis.pullMax?this.beginRefresh():this.state=4}onEnd(){4===this.state?this.beginRefresh():2===this.state?this.cancel():1===this.state&&this.restoreOverflowStyle()}beginRefresh(){this.state=8,this.setCss(this.pullMin,this.snapbackDuration,!0,""),this.ionRefresh.emit({complete:this.complete.bind(this)})}close(e,t){setTimeout(()=>{this.state=1,this.progress=0,this.didStart=!1,this.setCss(0,"0ms",!1,"",!0)},600),this.state=e,this.setCss(0,this.closeDuration,!0,t)}setCss(e,t,r,s,a=!1){this.nativeRefresher||(this.appliedStyles=e>0,(0,n.w)(()=>{if(this.scrollEl&&this.backgroundContentEl){const f=this.scrollEl.style,o=this.backgroundContentEl.style;f.transform=o.transform=e>0?`translateY(${e}px) translateZ(0px)`:"",f.transitionDuration=o.transitionDuration=t,f.transitionDelay=o.transitionDelay=s,f.overflow=r?"hidden":""}a&&this.restoreOverflowStyle()}))}memoizeOverflowStyle(){if(this.scrollEl){const{overflow:e,overflowX:t,overflowY:r}=this.scrollEl.style;this.overflowStyles={overflow:e??"",overflowX:t??"",overflowY:r??""}}}restoreOverflowStyle(){if(void 0!==this.overflowStyles&&void 0!==this.scrollEl){const{overflow:e,overflowX:t,overflowY:r}=this.overflowStyles;this.scrollEl.style.overflow=e,this.scrollEl.style.overflowX=t,this.scrollEl.style.overflowY=r,this.overflowStyles=void 0}}render(){const e=(0,h.b)(this);return(0,n.h)(n.H,{slot:"fixed",class:{[e]:!0,[`refresher-${e}`]:!0,"refresher-native":this.nativeRefresher,"refresher-active":1!==this.state,"refresher-pulling":2===this.state,"refresher-ready":4===this.state,"refresher-refreshing":8===this.state,"refresher-cancelling":16===this.state,"refresher-completing":32===this.state}})}get el(){return(0,n.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}};P.style={ios:"ion-refresher{top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}@supports (inset-inline-start: 0){ion-refresher{inset-inline-start:0}}@supports not (inset-inline-start: 0){ion-refresher{left:0}:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}[dir=rtl] ion-refresher{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){ion-refresher:dir(rtl){left:unset;right:unset;right:0}}}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}:host-context([dir=rtl]) .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){.refresher-pulling-icon:dir(rtl),.refresher-refreshing-icon:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-ios .refresher-pulling-icon,.refresher-ios .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-ios .refresher-pulling-text,.refresher-ios .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-lines-ios line,.refresher-ios .refresher-refreshing .spinner-lines-small-ios line,.refresher-ios .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-bubbles circle,.refresher-ios .refresher-refreshing .spinner-circles circle,.refresher-ios .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}.refresher-native .refresher-refreshing ion-spinner{--refreshing-rotation-duration:2s;display:none;-webkit-animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards;animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards}.refresher-native .refresher-refreshing{display:none;-webkit-animation:250ms linear refresher-pop forwards;animation:250ms linear refresher-pop forwards}.refresher-native ion-spinner{width:32px;height:32px;color:var(--ion-color-step-450, #747577)}.refresher-native.refresher-refreshing .refresher-pulling ion-spinner,.refresher-native.refresher-completing .refresher-pulling ion-spinner{display:none}.refresher-native.refresher-refreshing .refresher-refreshing ion-spinner,.refresher-native.refresher-completing .refresher-refreshing ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-pulling ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-refreshing ion-spinner{display:none}.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0) rotate(180deg);transform:scale(0) rotate(180deg);-webkit-transition:300ms;transition:300ms}@-webkit-keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}@keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}",md:"ion-refresher{top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}@supports (inset-inline-start: 0){ion-refresher{inset-inline-start:0}}@supports not (inset-inline-start: 0){ion-refresher{left:0}:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}[dir=rtl] ion-refresher{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){ion-refresher:dir(rtl){left:unset;right:unset;right:0}}}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}:host-context([dir=rtl]) .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){.refresher-pulling-icon:dir(rtl),.refresher-refreshing-icon:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-md .refresher-pulling-icon,.refresher-md .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-md .refresher-pulling-text,.refresher-md .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-lines-md line,.refresher-md .refresher-refreshing .spinner-lines-small-md line,.refresher-md .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-bubbles circle,.refresher-md .refresher-refreshing .spinner-circles circle,.refresher-md .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;width:24px;height:24px;color:var(--ion-color-primary, #3880ff)}ion-refresher.refresher-native .spinner-arrow-container{display:inherit}ion-refresher.refresher-native .arrow-container{display:block;position:absolute;width:24px;height:24px}ion-refresher.refresher-native .arrow-container ion-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;bottom:-4px;position:absolute;color:var(--ion-color-primary, #3880ff);font-size:12px}ion-refresher.refresher-native.refresher-pulling ion-refresher-content .refresher-pulling,ion-refresher.refresher-native.refresher-ready ion-refresher-content .refresher-pulling{display:-ms-flexbox;display:flex}ion-refresher.refresher-native.refresher-refreshing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-cancelling ion-refresher-content .refresher-refreshing{display:-ms-flexbox;display:flex}ion-refresher.refresher-native .refresher-pulling-icon{-webkit-transform:translateY(calc(-100% - 10px));transform:translateY(calc(-100% - 10px))}ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;border-radius:100%;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;display:-ms-flexbox;display:flex;border:1px solid var(--ion-color-step-200, #ececec);background:var(--ion-color-step-250, #ffffff);-webkit-box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1);box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1)}"};const U=class{constructor(e){(0,n.r)(this,e),this.customHTMLEnabled=h.c.get("innerHTMLTemplatesEnabled",x.E),this.pullingIcon=void 0,this.pullingText=void 0,this.refreshingSpinner=void 0,this.refreshingText=void 0}componentWillLoad(){if(void 0===this.pullingIcon){const e=(0,h.b)(this),t=void 0!==this.el.style.webkitOverflowScrolling?"lines":k.i;this.pullingIcon=h.c.get("refreshingIcon","ios"===e&&(0,h.a)("mobile")?h.c.get("spinner",t):"circular")}if(void 0===this.refreshingSpinner){const e=(0,h.b)(this);this.refreshingSpinner=h.c.get("refreshingSpinner",h.c.get("spinner","ios"===e?"lines":"circular"))}}renderPullingText(){const{customHTMLEnabled:e,pullingText:t}=this;return e?(0,n.h)("div",{class:"refresher-pulling-text",innerHTML:(0,x.a)(t)}):(0,n.h)("div",{class:"refresher-pulling-text"},t)}renderRefreshingText(){const{customHTMLEnabled:e,refreshingText:t}=this;return e?(0,n.h)("div",{class:"refresher-refreshing-text",innerHTML:(0,x.a)(t)}):(0,n.h)("div",{class:"refresher-refreshing-text"},t)}render(){const e=this.pullingIcon,t=null!=e&&void 0!==_.S[e],r=(0,h.b)(this);return(0,n.h)(n.H,{class:r},(0,n.h)("div",{class:"refresher-pulling"},this.pullingIcon&&t&&(0,n.h)("div",{class:"refresher-pulling-icon"},(0,n.h)("div",{class:"spinner-arrow-container"},(0,n.h)("ion-spinner",{name:this.pullingIcon,paused:!0}),"md"===r&&"circular"===this.pullingIcon&&(0,n.h)("div",{class:"arrow-container"},(0,n.h)("ion-icon",{icon:k.h,"aria-hidden":"true"})))),this.pullingIcon&&!t&&(0,n.h)("div",{class:"refresher-pulling-icon"},(0,n.h)("ion-icon",{icon:this.pullingIcon,lazy:!1,"aria-hidden":"true"})),void 0!==this.pullingText&&this.renderPullingText()),(0,n.h)("div",{class:"refresher-refreshing"},this.refreshingSpinner&&(0,n.h)("div",{class:"refresher-refreshing-icon"},(0,n.h)("ion-spinner",{name:this.refreshingSpinner})),void 0!==this.refreshingText&&this.renderRefreshingText()))}get el(){return(0,n.f)(this)}}}}]); \ No newline at end of file diff --git a/3441.1bcc200b6b80cb64.js b/3441.1bcc200b6b80cb64.js new file mode 100644 index 00000000..9c88507d --- /dev/null +++ b/3441.1bcc200b6b80cb64.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3441],{3441:(P,s,e)=>{e.r(s),e.d(s,{startStatusTap:()=>l});var d=e(5861),o=e(408),_=e(4253),r=e(2961);const l=()=>{const n=window;n.addEventListener("statusTap",()=>{(0,o.e)(()=>{const a=document.elementFromPoint(n.innerWidth/2,n.innerHeight/2);if(!a)return;const t=(0,_.f)(a);t&&new Promise(h=>(0,r.c)(t,h)).then(()=>{(0,o.w)((0,d.Z)(function*(){t.style.setProperty("--overflow","hidden"),yield(0,_.s)(t,300),t.style.removeProperty("--overflow")}))})})})}}}]); \ No newline at end of file diff --git a/3583.5dcac82542630379.js b/3583.5dcac82542630379.js new file mode 100644 index 00000000..fd1dfcf9 --- /dev/null +++ b/3583.5dcac82542630379.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3583],{3583:(B,f,i)=>{i.r(f),i.d(f,{ion_reorder:()=>g,ion_reorder_group:()=>I});var T=i(5861),l=i(408),u=i(5723),E=i(4649),p=i(4253),M=i(2961),m=i(1765);i(6319),i(2972);const g=class{constructor(t){(0,l.r)(this,t)}onClick(t){const e=this.el.closest("ion-reorder-group");t.preventDefault(),(!e||!e.disabled)&&t.stopImmediatePropagation()}render(){const t=(0,E.b)(this);return(0,l.h)(l.H,{class:t},(0,l.h)("slot",null,(0,l.h)("ion-icon",{icon:"ios"===t?u.j:u.k,lazy:!1,class:"reorder-icon",part:"icon","aria-hidden":"true"})))}get el(){return(0,l.f)(this)}};g.style={ios:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block}::slotted(ion-icon){font-size:dynamic-font(16px)}.reorder-icon{font-size:2.125rem;opacity:0.4}",md:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block}::slotted(ion-icon){font-size:dynamic-font(16px)}.reorder-icon{font-size:1.9375rem;opacity:0.3}"};const I=class{constructor(t){(0,l.r)(this,t),this.ionItemReorder=(0,l.d)(this,"ionItemReorder",7),this.lastToIndex=-1,this.cachedHeights=[],this.scrollElTop=0,this.scrollElBottom=0,this.scrollElInitial=0,this.containerTop=0,this.containerBottom=0,this.state=0,this.disabled=!0}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}connectedCallback(){var t=this;return(0,T.Z)(function*(){const e=(0,p.f)(t.el);e&&(t.scrollEl=yield(0,p.g)(e)),t.gesture=(yield Promise.resolve().then(i.bind(i,5067))).createGesture({el:t.el,gestureName:"reorder",gesturePriority:110,threshold:0,direction:"y",passive:!1,canStart:s=>t.canStart(s),onStart:s=>t.onStart(s),onMove:s=>t.onMove(s),onEnd:()=>t.onEnd()}),t.disabledChanged()})()}disconnectedCallback(){this.onEnd(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}complete(t){return Promise.resolve(this.completeReorder(t))}canStart(t){if(this.selectedItemEl||0!==this.state)return!1;const s=t.event.target.closest("ion-reorder");if(!s)return!1;const r=P(s,this.el);return!!r&&(t.data=r,!0)}onStart(t){t.event.preventDefault();const e=this.selectedItemEl=t.data,s=this.cachedHeights;s.length=0;const r=this.el,o=r.children;if(!o||0===o.length)return;let c=0;for(let a=0;a{o===c||void 0!==t&&!0!==t||this.el.insertBefore(e,ct)return s;return e.length-1}reorderMove(t,e){const s=this.selectedItemHeight,r=this.el.children;for(let o=0;ot&&o<=e?n=`translateY(${-s}px)`:o=e&&(n=`translateY(${s}px)`),r[o].style.transform=n}}autoscroll(t){if(!this.scrollEl)return 0;let e=0;return tthis.scrollElBottom&&(e=b),0!==e&&this.scrollEl.scrollBy(0,e),this.scrollEl.scrollTop-this.scrollElInitial}render(){const t=(0,E.b)(this);return(0,l.h)(l.H,{class:{[t]:!0,"reorder-enabled":!this.disabled,"reorder-list-active":0!==this.state}})}get el(){return(0,l.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}},h=t=>t.$ionIndex,P=(t,e)=>{let s;for(;t;){if(s=t.parentElement,s===e)return t;t=s}},_=60,b=10,x="reorder-selected",D=(t,e,s)=>{const r=t[e];return t.splice(e,1),t.splice(s,0,r),t.slice()};I.style=".reorder-list-active>*{display:block;-webkit-transition:-webkit-transform 300ms;transition:-webkit-transform 300ms;transition:transform 300ms;transition:transform 300ms, -webkit-transform 300ms;will-change:transform}.reorder-enabled{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reorder-enabled ion-reorder{display:block;cursor:-webkit-grab;cursor:grab;pointer-events:all;-ms-touch-action:none;touch-action:none}.reorder-selected,.reorder-selected ion-reorder{cursor:-webkit-grabbing;cursor:grabbing}.reorder-selected{position:relative;-webkit-transition:none !important;transition:none !important;-webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.4);box-shadow:0 0 10px rgba(0, 0, 0, 0.4);opacity:0.8;z-index:100}.reorder-visible ion-reorder .reorder-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}"}}]); \ No newline at end of file diff --git a/3583.ea1394f840e5669d.js b/3583.ea1394f840e5669d.js deleted file mode 100644 index 14db4f42..00000000 --- a/3583.ea1394f840e5669d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3583],{3583:(B,f,i)=>{i.r(f),i.d(f,{ion_reorder:()=>g,ion_reorder_group:()=>I});var T=i(5861),l=i(1071),u=i(6026),E=i(7263),p=i(6038),M=i(2674),m=i(2669);i(6447),i(7693);const g=class{constructor(t){(0,l.r)(this,t)}onClick(t){const e=this.el.closest("ion-reorder-group");t.preventDefault(),(!e||!e.disabled)&&t.stopImmediatePropagation()}render(){const t=(0,E.b)(this);return(0,l.h)(l.H,{class:t},(0,l.h)("slot",null,(0,l.h)("ion-icon",{icon:"ios"===t?u.j:u.k,lazy:!1,class:"reorder-icon",part:"icon","aria-hidden":"true"})))}get el(){return(0,l.f)(this)}};g.style={ios:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block;font-size:22px}.reorder-icon{font-size:34px;opacity:0.4}",md:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block;font-size:22px}.reorder-icon{font-size:31px;opacity:0.3}"};const I=class{constructor(t){(0,l.r)(this,t),this.ionItemReorder=(0,l.d)(this,"ionItemReorder",7),this.lastToIndex=-1,this.cachedHeights=[],this.scrollElTop=0,this.scrollElBottom=0,this.scrollElInitial=0,this.containerTop=0,this.containerBottom=0,this.state=0,this.disabled=!0}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}connectedCallback(){var t=this;return(0,T.Z)(function*(){const e=(0,p.f)(t.el);e&&(t.scrollEl=yield(0,p.g)(e)),t.gesture=(yield Promise.resolve().then(i.bind(i,9531))).createGesture({el:t.el,gestureName:"reorder",gesturePriority:110,threshold:0,direction:"y",passive:!1,canStart:s=>t.canStart(s),onStart:s=>t.onStart(s),onMove:s=>t.onMove(s),onEnd:()=>t.onEnd()}),t.disabledChanged()})()}disconnectedCallback(){this.onEnd(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}complete(t){return Promise.resolve(this.completeReorder(t))}canStart(t){if(this.selectedItemEl||0!==this.state)return!1;const s=t.event.target.closest("ion-reorder");if(!s)return!1;const r=P(s,this.el);return!!r&&(t.data=r,!0)}onStart(t){t.event.preventDefault();const e=this.selectedItemEl=t.data,s=this.cachedHeights;s.length=0;const r=this.el,o=r.children;if(!o||0===o.length)return;let c=0;for(let a=0;a{o===c||void 0!==t&&!0!==t||this.el.insertBefore(e,ct)return s;return e.length-1}reorderMove(t,e){const s=this.selectedItemHeight,r=this.el.children;for(let o=0;ot&&o<=e?n=`translateY(${-s}px)`:o=e&&(n=`translateY(${s}px)`),r[o].style.transform=n}}autoscroll(t){if(!this.scrollEl)return 0;let e=0;return tthis.scrollElBottom&&(e=b),0!==e&&this.scrollEl.scrollBy(0,e),this.scrollEl.scrollTop-this.scrollElInitial}render(){const t=(0,E.b)(this);return(0,l.h)(l.H,{class:{[t]:!0,"reorder-enabled":!this.disabled,"reorder-list-active":0!==this.state}})}get el(){return(0,l.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}},h=t=>t.$ionIndex,P=(t,e)=>{let s;for(;t;){if(s=t.parentElement,s===e)return t;t=s}},_=60,b=10,x="reorder-selected",D=(t,e,s)=>{const r=t[e];return t.splice(e,1),t.splice(s,0,r),t.slice()};I.style=".reorder-list-active>*{display:block;-webkit-transition:-webkit-transform 300ms;transition:-webkit-transform 300ms;transition:transform 300ms;transition:transform 300ms, -webkit-transform 300ms;will-change:transform}.reorder-enabled{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reorder-enabled ion-reorder{display:block;cursor:-webkit-grab;cursor:grab;pointer-events:all;-ms-touch-action:none;touch-action:none}.reorder-selected,.reorder-selected ion-reorder{cursor:-webkit-grabbing;cursor:grabbing}.reorder-selected{position:relative;-webkit-transition:none !important;transition:none !important;-webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.4);box-shadow:0 0 10px rgba(0, 0, 0, 0.4);opacity:0.8;z-index:100}.reorder-visible ion-reorder .reorder-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}"}}]); \ No newline at end of file diff --git a/3648.2cbd7d421c8d3d29.js b/3648.2cbd7d421c8d3d29.js new file mode 100644 index 00000000..1b5d813f --- /dev/null +++ b/3648.2cbd7d421c8d3d29.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3648],{3648:(E,p,r)=>{r.r(p),r.d(p,{ion_action_sheet:()=>_});var b=r(5861),o=r(408),f=r(8431),v=r(2961),k=r(7389),d=r(8042),g=r(3814),s=r(4649),n=r(2876);r(1765),r(6319),r(2972),r(5067),r(2889);const D=t=>{const e=(0,n.c)(),i=(0,n.c)(),a=(0,n.c)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),a.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,a])},A=t=>{const e=(0,n.c)(),i=(0,n.c)(),a=(0,n.c)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),a.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([i,a])},O=t=>{const e=(0,n.c)(),i=(0,n.c)(),a=(0,n.c)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),a.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,a])},P=t=>{const e=(0,n.c)(),i=(0,n.c)(),a=(0,n.c)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),a.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([i,a])},_=class{constructor(t){(0,o.r)(this,t),this.didPresent=(0,o.d)(this,"ionActionSheetDidPresent",7),this.willPresent=(0,o.d)(this,"ionActionSheetWillPresent",7),this.willDismiss=(0,o.d)(this,"ionActionSheetWillDismiss",7),this.didDismiss=(0,o.d)(this,"ionActionSheetDidDismiss",7),this.didPresentShorthand=(0,o.d)(this,"didPresent",7),this.willPresentShorthand=(0,o.d)(this,"willPresent",7),this.willDismissShorthand=(0,o.d)(this,"willDismiss",7),this.didDismissShorthand=(0,o.d)(this,"didDismiss",7),this.delegateController=(0,d.d)(this),this.lockController=(0,k.c)(),this.triggerController=(0,d.e)(),this.presented=!1,this.onBackdropTap=()=>{this.dismiss(void 0,d.B)},this.dispatchCancelHandler=e=>{if((0,d.i)(e.detail.role)){const a=this.getButtons().find(h=>"cancel"===h.role);this.callButtonHandler(a)}},this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.buttons=[],this.cssClass=void 0,this.backdropDismiss=!0,this.header=void 0,this.subHeader=void 0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}triggerChanged(){const{trigger:t,el:e,triggerController:i}=this;t&&i.addClickListener(e,t)}present(){var t=this;return(0,b.Z)(function*(){const e=yield t.lockController.lock();yield t.delegateController.attachViewToDom(),yield(0,d.f)(t,"actionSheetEnter",D,O),e()})()}dismiss(t,e){var i=this;return(0,b.Z)(function*(){const a=yield i.lockController.lock(),h=yield(0,d.g)(i,t,e,"actionSheetLeave",A,P);return h&&i.delegateController.removeViewFromDom(),a(),h})()}onDidDismiss(){return(0,d.h)(this.el,"ionActionSheetDidDismiss")}onWillDismiss(){return(0,d.h)(this.el,"ionActionSheetWillDismiss")}buttonClick(t){var e=this;return(0,b.Z)(function*(){const i=t.role;return(0,d.i)(i)?e.dismiss(t.data,i):(yield e.callButtonHandler(t))?e.dismiss(t.data,t.role):Promise.resolve()})()}callButtonHandler(t){return(0,b.Z)(function*(){return!(t&&!1===(yield(0,d.s)(t.handler)))})()}getButtons(){return this.buttons.map(t=>"string"==typeof t?{text:t}:t)}connectedCallback(){(0,d.j)(this.el),this.triggerChanged()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.triggerController.removeClickListener()}componentWillLoad(){(0,d.k)(this.el)}componentDidLoad(){const{groupEl:t,wrapperEl:e}=this;!this.gesture&&"ios"===(0,s.b)(this)&&e&&t&&(0,o.e)(()=>{t.scrollHeight>t.clientHeight||(this.gesture=(0,f.c)(e,a=>a.classList.contains("action-sheet-button")),this.gesture.enable(!0))}),!0===this.isOpen&&(0,v.r)(()=>this.present()),this.triggerChanged()}render(){const{header:t,htmlAttributes:e,overlayIndex:i}=this,a=(0,s.b)(this),h=this.getButtons(),u=h.find(c=>"cancel"===c.role),T=h.filter(c=>"cancel"!==c.role),C=`action-sheet-${i}-header`;return(0,o.h)(o.H,Object.assign({role:"dialog","aria-modal":"true","aria-labelledby":void 0!==t?C:null,tabindex:"-1"},e,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({[a]:!0},(0,g.g)(this.cssClass)),{"overlay-hidden":!0,"action-sheet-translucent":this.translucent}),onIonActionSheetWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),(0,o.h)("ion-backdrop",{tappable:this.backdropDismiss}),(0,o.h)("div",{tabindex:"0"}),(0,o.h)("div",{class:"action-sheet-wrapper ion-overlay-wrapper",ref:c=>this.wrapperEl=c},(0,o.h)("div",{class:"action-sheet-container"},(0,o.h)("div",{class:"action-sheet-group",ref:c=>this.groupEl=c},void 0!==t&&(0,o.h)("div",{id:C,class:{"action-sheet-title":!0,"action-sheet-has-sub-title":void 0!==this.subHeader}},t,this.subHeader&&(0,o.h)("div",{class:"action-sheet-sub-title"},this.subHeader)),T.map(c=>(0,o.h)("button",Object.assign({},c.htmlAttributes,{type:"button",id:c.id,class:w(c),onClick:()=>this.buttonClick(c)}),(0,o.h)("span",{class:"action-sheet-button-inner"},c.icon&&(0,o.h)("ion-icon",{icon:c.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),c.text),"md"===a&&(0,o.h)("ion-ripple-effect",null)))),u&&(0,o.h)("div",{class:"action-sheet-group action-sheet-group-cancel"},(0,o.h)("button",Object.assign({},u.htmlAttributes,{type:"button",class:w(u),onClick:()=>this.buttonClick(u)}),(0,o.h)("span",{class:"action-sheet-button-inner"},u.icon&&(0,o.h)("ion-icon",{icon:u.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),u.text),"md"===a&&(0,o.h)("ion-ripple-effect",null))))),(0,o.h)("div",{tabindex:"0"}))}get el(){return(0,o.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},w=t=>Object.assign({"action-sheet-button":!0,"ion-activatable":!0,"ion-focusable":!0,[`action-sheet-${t.role}`]:void 0!==t.role},(0,g.g)(t.cssClass));_.style={ios:'.sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color, #fff));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-400, #999999);text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:var(--ion-safe-area-bottom, 0)}.action-sheet-container.sc-ion-action-sheet-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;-webkit-backdrop-filter:saturate(280%) blur(20px);backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8))), -webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;-webkit-backdrop-filter:saturate(120%);backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, transparent)) bottom/100% 1px no-repeat transparent;background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, #999999));font-size:max(13px, 0.8125rem);font-weight:400;text-align:center}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:max(13px, 0.8125rem);font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px;padding-top:14px;padding-bottom:14px;min-height:56px;font-size:max(20px, 1.25rem);contain:content}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:max(28px, 1.75rem);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #eb445a)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #eb445a)}}',md:'.sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button-inner.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, #262626);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}.action-sheet-title.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:1rem;text-align:start}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:0.875rem}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;position:relative;min-height:52px;font-size:1rem;text-align:start;contain:content;overflow:hidden}.action-sheet-icon.sc-ion-action-sheet-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:1.5rem}.action-sheet-button-inner.sc-ion-action-sheet-md{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}'}},3814:(E,p,r)=>{r.d(p,{c:()=>f,g:()=>k,h:()=>o,o:()=>g});var b=r(5861);const o=(s,n)=>null!==n.closest(s),f=(s,n)=>"string"==typeof s&&s.length>0?Object.assign({"ion-color":!0,[`ion-color-${s}`]:!0},n):n,k=s=>{const n={};return(s=>void 0!==s?(Array.isArray(s)?s:s.split(" ")).filter(l=>null!=l).map(l=>l.trim()).filter(l=>""!==l):[])(s).forEach(l=>n[l]=!0),n},d=/^[a-z][a-z0-9+\-.]*:/,g=function(){var s=(0,b.Z)(function*(n,l,x,y){if(null!=n&&"#"!==n[0]&&!d.test(n)){const m=document.querySelector("ion-router");if(m)return l?.preventDefault(),m.push(n,x,y)}return!1});return function(l,x,y,m){return s.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/3648.975c5dd9b2e65bfe.js b/3648.975c5dd9b2e65bfe.js deleted file mode 100644 index ff70e25d..00000000 --- a/3648.975c5dd9b2e65bfe.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3648],{3648:(E,b,r)=>{r.r(b),r.d(b,{ion_action_sheet:()=>_});var u=r(5861),o=r(1071),v=r(8623),k=r(2674),d=r(1701),p=r(2997),g=r(7263),e=r(2438);r(2669),r(6447),r(7693),r(9531),r(6412);const D=t=>{const n=(0,e.c)(),i=(0,e.c)(),a=(0,e.c)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),a.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),n.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,a])},A=t=>{const n=(0,e.c)(),i=(0,e.c)(),a=(0,e.c)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),a.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),n.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([i,a])},O=t=>{const n=(0,e.c)(),i=(0,e.c)(),a=(0,e.c)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),a.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),n.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,a])},P=t=>{const n=(0,e.c)(),i=(0,e.c)(),a=(0,e.c)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),a.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),n.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([i,a])},_=class{constructor(t){(0,o.r)(this,t),this.didPresent=(0,o.d)(this,"ionActionSheetDidPresent",7),this.willPresent=(0,o.d)(this,"ionActionSheetWillPresent",7),this.willDismiss=(0,o.d)(this,"ionActionSheetWillDismiss",7),this.didDismiss=(0,o.d)(this,"ionActionSheetDidDismiss",7),this.didPresentShorthand=(0,o.d)(this,"didPresent",7),this.willPresentShorthand=(0,o.d)(this,"willPresent",7),this.willDismissShorthand=(0,o.d)(this,"willDismiss",7),this.didDismissShorthand=(0,o.d)(this,"didDismiss",7),this.delegateController=(0,d.d)(this),this.triggerController=(0,d.e)(),this.presented=!1,this.onBackdropTap=()=>{this.dismiss(void 0,d.B)},this.dispatchCancelHandler=n=>{if((0,d.i)(n.detail.role)){const a=this.getButtons().find(f=>"cancel"===f.role);this.callButtonHandler(a)}},this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.buttons=[],this.cssClass=void 0,this.backdropDismiss=!0,this.header=void 0,this.subHeader=void 0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(t,n){!0===t&&!1===n?this.present():!1===t&&!0===n&&this.dismiss()}triggerChanged(){const{trigger:t,el:n,triggerController:i}=this;t&&i.addClickListener(n,t)}present(){var t=this;return(0,u.Z)(function*(){void 0!==t.currentTransition&&(yield t.currentTransition),yield t.delegateController.attachViewToDom(),t.currentTransition=(0,d.f)(t,"actionSheetEnter",D,O),yield t.currentTransition,t.currentTransition=void 0})()}dismiss(t,n){var i=this;return(0,u.Z)(function*(){i.currentTransition=(0,d.g)(i,t,n,"actionSheetLeave",A,P);const a=yield i.currentTransition;return a&&i.delegateController.removeViewFromDom(),a})()}onDidDismiss(){return(0,d.h)(this.el,"ionActionSheetDidDismiss")}onWillDismiss(){return(0,d.h)(this.el,"ionActionSheetWillDismiss")}buttonClick(t){var n=this;return(0,u.Z)(function*(){const i=t.role;return(0,d.i)(i)?n.dismiss(t.data,i):(yield n.callButtonHandler(t))?n.dismiss(t.data,t.role):Promise.resolve()})()}callButtonHandler(t){return(0,u.Z)(function*(){return!(t&&!1===(yield(0,d.s)(t.handler)))})()}getButtons(){return this.buttons.map(t=>"string"==typeof t?{text:t}:t)}connectedCallback(){(0,d.j)(this.el),this.triggerChanged()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.triggerController.removeClickListener()}componentWillLoad(){(0,d.k)(this.el)}componentDidLoad(){const{groupEl:t,wrapperEl:n}=this;!this.gesture&&"ios"===(0,g.b)(this)&&n&&t&&(0,o.e)(()=>{t.scrollHeight>t.clientHeight||(this.gesture=(0,v.c)(n,a=>a.classList.contains("action-sheet-button")),this.gesture.enable(!0))}),!0===this.isOpen&&(0,k.r)(()=>this.present())}render(){const{header:t,htmlAttributes:n,overlayIndex:i}=this,a=(0,g.b)(this),f=this.getButtons(),h=f.find(c=>"cancel"===c.role),M=f.filter(c=>"cancel"!==c.role),C=`action-sheet-${i}-header`;return(0,o.h)(o.H,Object.assign({role:"dialog","aria-modal":"true","aria-labelledby":void 0!==t?C:null,tabindex:"-1"},n,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({[a]:!0},(0,p.g)(this.cssClass)),{"overlay-hidden":!0,"action-sheet-translucent":this.translucent}),onIonActionSheetWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),(0,o.h)("ion-backdrop",{tappable:this.backdropDismiss}),(0,o.h)("div",{tabindex:"0"}),(0,o.h)("div",{class:"action-sheet-wrapper ion-overlay-wrapper",ref:c=>this.wrapperEl=c},(0,o.h)("div",{class:"action-sheet-container"},(0,o.h)("div",{class:"action-sheet-group",ref:c=>this.groupEl=c},void 0!==t&&(0,o.h)("div",{id:C,class:{"action-sheet-title":!0,"action-sheet-has-sub-title":void 0!==this.subHeader}},t,this.subHeader&&(0,o.h)("div",{class:"action-sheet-sub-title"},this.subHeader)),M.map(c=>(0,o.h)("button",Object.assign({},c.htmlAttributes,{type:"button",id:c.id,class:w(c),onClick:()=>this.buttonClick(c)}),(0,o.h)("span",{class:"action-sheet-button-inner"},c.icon&&(0,o.h)("ion-icon",{icon:c.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),c.text),"md"===a&&(0,o.h)("ion-ripple-effect",null)))),h&&(0,o.h)("div",{class:"action-sheet-group action-sheet-group-cancel"},(0,o.h)("button",Object.assign({},h.htmlAttributes,{type:"button",class:w(h),onClick:()=>this.buttonClick(h)}),(0,o.h)("span",{class:"action-sheet-button-inner"},h.icon&&(0,o.h)("ion-icon",{icon:h.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),h.text),"md"===a&&(0,o.h)("ion-ripple-effect",null))))),(0,o.h)("div",{tabindex:"0"}))}get el(){return(0,o.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},w=t=>Object.assign({"action-sheet-button":!0,"ion-activatable":!0,"ion-focusable":!0,[`action-sheet-${t.role}`]:void 0!==t.role},(0,p.g)(t.cssClass));_.style={ios:'.sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:100vh}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color, #fff));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-400, #999999);text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:var(--ion-safe-area-bottom, 0)}.action-sheet-container.sc-ion-action-sheet-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;-webkit-backdrop-filter:saturate(280%) blur(20px);backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8))), -webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;-webkit-backdrop-filter:saturate(120%);backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, transparent)) bottom/100% 1px no-repeat transparent;background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, #999999));font-size:13px;font-weight:400;text-align:center}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:13px;font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{-webkit-padding-start:18px;padding-inline-start:18px;-webkit-padding-end:18px;padding-inline-end:18px;padding-top:18px;padding-bottom:18px;height:56px;font-size:20px;contain:strict}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:28px;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #eb445a)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #eb445a)}}',md:'.sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button-inner.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:100vh}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, #262626);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}.action-sheet-title.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:16px;text-align:start}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:14px}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;position:relative;height:52px;font-size:16px;text-align:start;contain:strict;overflow:hidden}.action-sheet-icon.sc-ion-action-sheet-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:24px}.action-sheet-button-inner.sc-ion-action-sheet-md{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}'}},2997:(E,b,r)=>{r.d(b,{c:()=>v,g:()=>d,h:()=>o,o:()=>g});var u=r(5861);const o=(e,s)=>null!==s.closest(e),v=(e,s)=>"string"==typeof e&&e.length>0?Object.assign({"ion-color":!0,[`ion-color-${e}`]:!0},s):s,d=e=>{const s={};return(e=>void 0!==e?(Array.isArray(e)?e:e.split(" ")).filter(l=>null!=l).map(l=>l.trim()).filter(l=>""!==l):[])(e).forEach(l=>s[l]=!0),s},p=/^[a-z][a-z0-9+\-.]*:/,g=function(){var e=(0,u.Z)(function*(s,l,x,y){if(null!=s&&"#"!==s[0]&&!p.test(s)){const m=document.querySelector("ion-router");if(m)return l?.preventDefault(),m.push(s,x,y)}return!1});return function(l,x,y,m){return e.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/3804.15685acfda1c97ef.js b/3804.15685acfda1c97ef.js new file mode 100644 index 00000000..55b70c0b --- /dev/null +++ b/3804.15685acfda1c97ef.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3804],{3804:(re,Y,u)=>{u.r(Y),u.d(Y,{ion_popover:()=>ee});var S=u(5861),l=u(408),$=u(7869),P=u(2961),V=u(7389),F=u(8909),I=u(8042),f=u(4649),g=u(3814),w=u(9528),v=u(2876);u(2972);const Z=(t,e,o)=>{const r=e.getBoundingClientRect(),i=r.height;let n=r.width;return"cover"===t&&o&&(n=o.getBoundingClientRect().width),{contentWidth:n,contentHeight:i}},ie=(t,e,o)=>{let r=[];switch(e){case"hover":let i;r=[{eventName:"mouseenter",callback:(n=(0,S.Z)(function*(s){s.stopPropagation(),i&&clearTimeout(i),i=setTimeout(()=>{(0,P.r)(()=>{o.presentFromTrigger(s),i=void 0})},100)}),function(a){return n.apply(this,arguments)})},{eventName:"mouseleave",callback:n=>{i&&clearTimeout(i);const s=n.relatedTarget;s&&s.closest("ion-popover")!==o&&o.dismiss(void 0,void 0,!1)}},{eventName:"click",callback:n=>n.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:n=>o.presentFromTrigger(n,!0)}];break;case"context-menu":r=[{eventName:"contextmenu",callback:n=>{n.preventDefault(),o.presentFromTrigger(n)}},{eventName:"click",callback:n=>n.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:n=>o.presentFromTrigger(n,!0)}];break;default:r=[{eventName:"click",callback:n=>o.presentFromTrigger(n)},{eventName:"ionPopoverActivateTrigger",callback:n=>o.presentFromTrigger(n,!0)}]}var n;return r.forEach(({eventName:i,callback:n})=>t.addEventListener(i,n)),t.setAttribute("data-ion-popover-trigger","true"),()=>{r.forEach(({eventName:i,callback:n})=>t.removeEventListener(i,n)),t.removeAttribute("data-ion-popover-trigger")}},G=(t,e)=>e&&"ION-ITEM"===e.tagName?t.findIndex(o=>o===e):-1,z=t=>{const o=(0,P.g)(t).querySelector("button");o&&(0,P.r)(()=>o.focus())},ce=t=>{const e=function(){var o=(0,S.Z)(function*(r){var i;const n=document.activeElement;let s=[];const a=null===(i=r.target)||void 0===i?void 0:i.tagName;if("ION-POPOVER"===a||"ION-ITEM"===a){try{s=Array.from(t.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch{}switch(r.key){case"ArrowLeft":(yield t.getParentPopover())&&t.dismiss(void 0,void 0,!1);break;case"ArrowDown":r.preventDefault();const d=((t,e)=>t[G(t,e)+1])(s,n);void 0!==d&&z(d);break;case"ArrowUp":r.preventDefault();const y=((t,e)=>t[G(t,e)-1])(s,n);void 0!==y&&z(y);break;case"Home":r.preventDefault();const h=s[0];void 0!==h&&z(h);break;case"End":r.preventDefault();const b=s[s.length-1];void 0!==b&&z(b);break;case"ArrowRight":case" ":case"Enter":if(n&&(t=>t.hasAttribute("data-ion-popover-trigger"))(n)){const m=new CustomEvent("ionPopoverActivateTrigger");n.dispatchEvent(m)}}}});return function(i){return o.apply(this,arguments)}}();return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},H=(t,e,o,r,i,n,s,a,p,d,y)=>{var h;let b={top:0,left:0,width:0,height:0};if("event"===n){if(!y)return p;b={top:y.clientY,left:y.clientX,width:1,height:1}}else{const L=d||(null===(h=y?.detail)||void 0===h?void 0:h.ionShadowTarget)||y?.target;if(!L)return p;const A=L.getBoundingClientRect();b={top:A.top,left:A.left,width:A.width,height:A.height}}const m=fe(s,b,e,o,r,i,t),k=he(a,s,b,e,o),_=m.top+k.top,E=m.left+k.left,{arrowTop:x,arrowLeft:T}=de(s,r,i,_,E,e,o,t),{originX:D,originY:O}=le(s,a,t);return{top:_,left:E,referenceCoordinates:b,arrowTop:x,arrowLeft:T,originX:D,originY:O}},le=(t,e,o)=>{switch(t){case"top":return{originX:J(e),originY:"bottom"};case"bottom":return{originX:J(e),originY:"top"};case"left":return{originX:"right",originY:X(e)};case"right":return{originX:"left",originY:X(e)};case"start":return{originX:o?"left":"right",originY:X(e)};case"end":return{originX:o?"right":"left",originY:X(e)}}},J=t=>{switch(t){case"start":return"left";case"center":return"center";case"end":return"right"}},X=t=>{switch(t){case"start":return"top";case"center":return"center";case"end":return"bottom"}},de=(t,e,o,r,i,n,s,a)=>{const p={arrowTop:r+s/2-e/2,arrowLeft:i+n-e/2},d={arrowTop:r+s/2-e/2,arrowLeft:i-1.5*e};switch(t){case"top":return{arrowTop:r+s,arrowLeft:i+n/2-e/2};case"bottom":return{arrowTop:r-o,arrowLeft:i+n/2-e/2};case"left":return p;case"right":return d;case"start":return a?d:p;case"end":return a?p:d;default:return{arrowTop:0,arrowLeft:0}}},fe=(t,e,o,r,i,n,s)=>{const a={top:e.top,left:e.left-o-i},p={top:e.top,left:e.left+e.width+i};switch(t){case"top":return{top:e.top-r-n,left:e.left};case"right":return p;case"bottom":return{top:e.top+e.height+n,left:e.left};case"left":return a;case"start":return s?p:a;case"end":return s?a:p}},he=(t,e,o,r,i)=>{switch(t){case"center":return ve(e,o,r,i);case"end":return ue(e,o,r,i);default:return{top:0,left:0}}},ue=(t,e,o,r)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(r-e.height),left:0};default:return{top:0,left:-(o-e.width)}}},ve=(t,e,o,r)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(r/2-e.height/2),left:0};default:return{top:0,left:-(o/2-e.width/2)}}},Q=(t,e,o,r,i,n,s,a,p,d,y,h,b=0,m=0,k=0)=>{let _=b;const E=m;let D,x=o,T=e,O=d,C=y,c=!1,L=!1;const A=h?h.top+h.height:n/2-a/2,M=h?h.height:0;let R=!1;return xi&&(L=!0,x=i-s-r,O="right"),A+M+a>n&&("top"===t||"bottom"===t)&&(A-a>0?(T=Math.max(12,A-a-M-(k-1)),_=T+a,C="bottom",R=!0):D=r),{top:T,left:x,bottom:D,originX:O,originY:C,checkSafeAreaLeft:c,checkSafeAreaRight:L,arrowTop:_,arrowLeft:E,addPopoverBottomClass:R}},be=(t,e)=>{var o;const{event:r,size:i,trigger:n,reference:s,side:a,align:p}=e,d=t.ownerDocument,y="rtl"===d.dir,h=d.defaultView.innerWidth,b=d.defaultView.innerHeight,m=(0,P.g)(t),k=m.querySelector(".popover-content"),_=m.querySelector(".popover-arrow"),E=n||(null===(o=r?.detail)||void 0===o?void 0:o.ionShadowTarget)||r?.target,{contentWidth:x,contentHeight:T}=Z(i,k,E),{arrowWidth:D,arrowHeight:O}=(t=>{if(!t)return{arrowWidth:0,arrowHeight:0};const{width:e,height:o}=t.getBoundingClientRect();return{arrowWidth:e,arrowHeight:o}})(_),c=H(y,x,T,D,O,s,a,p,{top:b/2-T/2,left:h/2-x/2,originX:y?"right":"left",originY:"top"},n,r),L="cover"===i?0:5,A="cover"===i?0:25,{originX:M,originY:R,top:N,left:W,bottom:K,checkSafeAreaLeft:U,checkSafeAreaRight:Ae,arrowTop:Ee,arrowLeft:Te,addPopoverBottomClass:Ie}=Q(a,c.top,c.left,L,h,b,x,T,A,c.originX,c.originY,c.referenceCoordinates,c.arrowTop,c.arrowLeft,O),Oe=(0,v.c)(),te=(0,v.c)(),oe=(0,v.c)();return te.addElement(m.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),oe.addElement(m.querySelector(".popover-arrow")).addElement(m.querySelector(".popover-content")).fromTo("opacity",.01,1),Oe.easing("ease").duration(100).beforeAddWrite(()=>{"cover"===i&&t.style.setProperty("--width",`${x}px`),Ie&&t.classList.add("popover-bottom"),void 0!==K&&k.style.setProperty("bottom",`${K}px`);let B=`${W}px`;U&&(B=`${W}px + var(--ion-safe-area-left, 0)`),Ae&&(B=`${W}px - var(--ion-safe-area-right, 0)`),k.style.setProperty("top",`calc(${N}px + var(--offset-y, 0))`),k.style.setProperty("left",`calc(${B} + var(--offset-x, 0))`),k.style.setProperty("transform-origin",`${R} ${M}`),null!==_&&(((t,e=!1,o,r)=>!(!o&&!r||"top"!==t&&"bottom"!==t&&e))(a,c.top!==N||c.left!==W,r,n)?(_.style.setProperty("top",`calc(${Ee}px + var(--offset-y, 0))`),_.style.setProperty("left",`calc(${Te}px + var(--offset-x, 0))`)):_.style.setProperty("display","none"))}).addAnimation([te,oe])},xe=t=>{const e=(0,P.g)(t),o=e.querySelector(".popover-content"),r=e.querySelector(".popover-arrow"),i=(0,v.c)(),n=(0,v.c)(),s=(0,v.c)();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),s.addElement(e.querySelector(".popover-arrow")).addElement(e.querySelector(".popover-content")).fromTo("opacity",.99,0),i.easing("ease").afterAddWrite(()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("bottom"),o.style.removeProperty("transform-origin"),r&&(r.style.removeProperty("top"),r.style.removeProperty("left"),r.style.removeProperty("display"))}).duration(300).addAnimation([n,s])},ye=(t,e)=>{var o;const{event:r,size:i,trigger:n,reference:s,side:a,align:p}=e,d=t.ownerDocument,y="rtl"===d.dir,h=d.defaultView.innerWidth,b=d.defaultView.innerHeight,m=(0,P.g)(t),k=m.querySelector(".popover-content"),_=n||(null===(o=r?.detail)||void 0===o?void 0:o.ionShadowTarget)||r?.target,{contentWidth:E,contentHeight:x}=Z(i,k,_),D=H(y,E,x,0,0,s,a,p,{top:b/2-x/2,left:h/2-E/2,originX:y?"right":"left",originY:"top"},n,r),O="cover"===i?0:12,{originX:C,originY:c,top:L,left:A,bottom:M}=Q(a,D.top,D.left,O,h,b,E,x,0,D.originX,D.originY,D.referenceCoordinates),R=(0,v.c)(),N=(0,v.c)(),W=(0,v.c)(),K=(0,v.c)(),U=(0,v.c)();return N.addElement(m.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),W.addElement(m.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),K.addElement(k).beforeStyles({top:`calc(${L}px + var(--offset-y, 0px))`,left:`calc(${A}px + var(--offset-x, 0px))`,"transform-origin":`${c} ${C}`}).beforeAddWrite(()=>{void 0!==M&&k.style.setProperty("bottom",`${M}px`)}).fromTo("transform","scale(0.8)","scale(1)"),U.addElement(m.querySelector(".popover-viewport")).fromTo("opacity",.01,1),R.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite(()=>{"cover"===i&&t.style.setProperty("--width",`${E}px`),"bottom"===c&&t.classList.add("popover-bottom")}).addAnimation([N,W,K,U])},ke=t=>{const e=(0,P.g)(t),o=e.querySelector(".popover-content"),r=(0,v.c)(),i=(0,v.c)(),n=(0,v.c)();return i.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),n.addElement(e.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),r.easing("ease").afterAddWrite(()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("bottom"),o.style.removeProperty("transform-origin")}).duration(150).addAnimation([i,n])},ee=class{constructor(t){(0,l.r)(this,t),this.didPresent=(0,l.d)(this,"ionPopoverDidPresent",7),this.willPresent=(0,l.d)(this,"ionPopoverWillPresent",7),this.willDismiss=(0,l.d)(this,"ionPopoverWillDismiss",7),this.didDismiss=(0,l.d)(this,"ionPopoverDidDismiss",7),this.didPresentShorthand=(0,l.d)(this,"didPresent",7),this.willPresentShorthand=(0,l.d)(this,"willPresent",7),this.willDismissShorthand=(0,l.d)(this,"willDismiss",7),this.didDismissShorthand=(0,l.d)(this,"didDismiss",7),this.ionMount=(0,l.d)(this,"ionMount",7),this.parentPopover=null,this.coreDelegate=(0,$.C)(),this.lockController=(0,V.c)(),this.inline=!1,this.focusDescendantOnPresent=!1,this.onBackdropTap=()=>{this.dismiss(void 0,I.B)},this.onLifecycle=e=>{const o=this.usersElement,r=De[e.type];if(o&&r){const i=new CustomEvent(r,{bubbles:!1,cancelable:!1,detail:e.detail});o.dispatchEvent(i)}},this.configureTriggerInteraction=()=>{const{trigger:e,triggerAction:o,el:r,destroyTriggerInteraction:i}=this;if(i&&i(),void 0===e)return;const n=this.triggerEl=void 0!==e?document.getElementById(e):null;n?this.destroyTriggerInteraction=ie(n,o,r):(0,F.p)(`A trigger element with the ID "${e}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.`,this.el)},this.configureKeyboardInteraction=()=>{const{destroyKeyboardInteraction:e,el:o}=this;e&&e(),this.destroyKeyboardInteraction=ce(o)},this.configureDismissInteraction=()=>{const{destroyDismissInteraction:e,parentPopover:o,triggerAction:r,triggerEl:i,el:n}=this;!o||!i||(e&&e(),this.destroyDismissInteraction=((t,e,o,r)=>{let i=[];const s=(0,P.g)(r).querySelector(".popover-content");return i="hover"===e?[{eventName:"mouseenter",callback:a=>{document.elementFromPoint(a.clientX,a.clientY)!==t&&o.dismiss(void 0,void 0,!1)}}]:[{eventName:"click",callback:a=>{a.target.closest("[data-ion-popover-trigger]")!==t?o.dismiss(void 0,void 0,!1):a.stopPropagation()}}],i.forEach(({eventName:a,callback:p})=>s.addEventListener(a,p)),()=>{i.forEach(({eventName:a,callback:p})=>s.removeEventListener(a,p))}})(i,r,n,o))},this.presented=!1,this.hasController=!1,this.delegate=void 0,this.overlayIndex=void 0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.component=void 0,this.componentProps=void 0,this.keyboardClose=!0,this.cssClass=void 0,this.backdropDismiss=!0,this.event=void 0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.triggerAction="click",this.trigger=void 0,this.size="auto",this.dismissOnSelect=!1,this.reference="trigger",this.side="bottom",this.alignment=void 0,this.arrow=!0,this.isOpen=!1,this.keyboardEvents=!1,this.keepContentsMounted=!1}onTriggerChange(){this.configureTriggerInteraction()}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}connectedCallback(){const{configureTriggerInteraction:t,el:e}=this;(0,I.j)(e),t()}disconnectedCallback(){const{destroyTriggerInteraction:t}=this;t&&t()}componentWillLoad(){const{el:t}=this,e=(0,I.k)(t);this.parentPopover=t.closest(`ion-popover:not(#${e})`),void 0===this.alignment&&(this.alignment="ios"===(0,f.b)(this)?"center":"start")}componentDidLoad(){const{parentPopover:t,isOpen:e}=this;!0===e&&(0,P.r)(()=>this.present()),t&&(0,P.a)(t,"ionPopoverWillDismiss",()=>{this.dismiss(void 0,void 0,!1)}),this.configureTriggerInteraction()}presentFromTrigger(t,e=!1){var o=this;return(0,S.Z)(function*(){o.focusDescendantOnPresent=e,yield o.present(t),o.focusDescendantOnPresent=!1})()}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};const o=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:o,delegate:this.workingDelegate=o?this.delegate||this.coreDelegate:this.delegate}}present(t){var e=this;return(0,S.Z)(function*(){const o=yield e.lockController.lock();if(e.presented)return void o();const{el:r}=e,{inline:i,delegate:n}=e.getDelegate(!0);e.ionMount.emit(),e.usersElement=yield(0,$.a)(n,r,e.component,["popover-viewport"],e.componentProps,i),e.keyboardEvents||e.configureKeyboardInteraction(),e.configureDismissInteraction(),(0,P.m)(r)?yield(0,w.e)(e.usersElement):e.keepContentsMounted||(yield(0,w.w)()),yield(0,I.f)(e,"popoverEnter",be,ye,{event:t||e.event,size:e.size,trigger:e.triggerEl,reference:e.reference,side:e.side,align:e.alignment}),e.focusDescendantOnPresent&&(0,I.o)(e.el,e.el),o()})()}dismiss(t,e,o=!0){var r=this;return(0,S.Z)(function*(){const i=yield r.lockController.lock(),{destroyKeyboardInteraction:n,destroyDismissInteraction:s}=r;o&&r.parentPopover&&r.parentPopover.dismiss(t,e,o);const a=yield(0,I.g)(r,t,e,"popoverLeave",xe,ke,r.event);if(a){n&&(n(),r.destroyKeyboardInteraction=void 0),s&&(s(),r.destroyDismissInteraction=void 0);const{delegate:p}=r.getDelegate();yield(0,$.d)(p,r.usersElement)}return i(),a})()}getParentPopover(){var t=this;return(0,S.Z)(function*(){return t.parentPopover})()}onDidDismiss(){return(0,I.h)(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return(0,I.h)(this.el,"ionPopoverWillDismiss")}render(){const t=(0,f.b)(this),{onLifecycle:e,parentPopover:o,dismissOnSelect:r,side:i,arrow:n,htmlAttributes:s}=this,a=(0,f.a)("desktop"),p=n&&!o;return(0,l.h)(l.H,Object.assign({"aria-modal":"true","no-router":!0,tabindex:"-1"},s,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({},(0,g.g)(this.cssClass)),{[t]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":a,[`popover-side-${i}`]:!0,"popover-nested":!!o}),onIonPopoverDidPresent:e,onIonPopoverWillPresent:e,onIonPopoverWillDismiss:e,onIonPopoverDidDismiss:e,onIonBackdropTap:this.onBackdropTap}),!o&&(0,l.h)("ion-backdrop",{tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),(0,l.h)("div",{class:"popover-wrapper ion-overlay-wrapper",onClick:r?()=>this.dismiss():void 0},p&&(0,l.h)("div",{class:"popover-arrow",part:"arrow"}),(0,l.h)("div",{class:"popover-content",part:"content"},(0,l.h)("slot",null))))}get el(){return(0,l.f)(this)}static get watchers(){return{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}}},De={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};ee.style={ios:':host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, #e6e6e6)}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}@supports (inset-inline-start: 0){.popover-arrow::after{inset-inline-start:3px}}@supports not (inset-inline-start: 0){.popover-arrow::after{left:3px}:host-context([dir=rtl]) .popover-arrow::after{left:unset;right:unset;right:3px}[dir=rtl] .popover-arrow::after{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){.popover-arrow::after:dir(rtl){left:unset;right:unset;right:3px}}}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start:dir(rtl)) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end:dir(rtl)) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}',md:":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}"}},3814:(re,Y,u)=>{u.d(Y,{c:()=>$,g:()=>V,h:()=>l,o:()=>I});var S=u(5861);const l=(f,g)=>null!==g.closest(f),$=(f,g)=>"string"==typeof f&&f.length>0?Object.assign({"ion-color":!0,[`ion-color-${f}`]:!0},g):g,V=f=>{const g={};return(f=>void 0!==f?(Array.isArray(f)?f:f.split(" ")).filter(w=>null!=w).map(w=>w.trim()).filter(w=>""!==w):[])(f).forEach(w=>g[w]=!0),g},F=/^[a-z][a-z0-9+\-.]*:/,I=function(){var f=(0,S.Z)(function*(g,w,v,q){if(null!=g&&"#"!==g[0]&&!F.test(g)){const j=document.querySelector("ion-router");if(j)return w?.preventDefault(),j.push(g,v,q)}return!1});return function(w,v,q,j){return f.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/3804.eee14ff278acc9d0.js b/3804.eee14ff278acc9d0.js deleted file mode 100644 index b93e2f85..00000000 --- a/3804.eee14ff278acc9d0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3804],{3804:(oe,K,m)=>{m.r(K),m.d(K,{ion_popover:()=>Q});var L=m(5861),l=m(1071),R=m(4519),P=m(2674),F=m(3357),E=m(1701),j=m(7263),g=m(2997),u=m(4309),c=m(2438);m(7693);const W=(t,e,r)=>{const o=e.getBoundingClientRect(),n=o.height;let i=o.width;return"cover"===t&&r&&(i=r.getBoundingClientRect().width),{contentWidth:i,contentHeight:n}},ne=(t,e,r)=>{let o=[];switch(e){case"hover":let n;o=[{eventName:"mouseenter",callback:(i=(0,L.Z)(function*(s){s.stopPropagation(),n&&clearTimeout(n),n=setTimeout(()=>{(0,P.r)(()=>{r.presentFromTrigger(s),n=void 0})},100)}),function(a){return i.apply(this,arguments)})},{eventName:"mouseleave",callback:i=>{n&&clearTimeout(n);const s=i.relatedTarget;s&&s.closest("ion-popover")!==r&&r.dismiss(void 0,void 0,!1)}},{eventName:"click",callback:i=>i.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:i=>r.presentFromTrigger(i,!0)}];break;case"context-menu":o=[{eventName:"contextmenu",callback:i=>{i.preventDefault(),r.presentFromTrigger(i)}},{eventName:"click",callback:i=>i.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:i=>r.presentFromTrigger(i,!0)}];break;default:o=[{eventName:"click",callback:i=>r.presentFromTrigger(i)},{eventName:"ionPopoverActivateTrigger",callback:i=>r.presentFromTrigger(i,!0)}]}var i;return o.forEach(({eventName:n,callback:i})=>t.addEventListener(n,i)),t.setAttribute("data-ion-popover-trigger","true"),()=>{o.forEach(({eventName:n,callback:i})=>t.removeEventListener(n,i)),t.removeAttribute("data-ion-popover-trigger")}},B=(t,e)=>e&&"ION-ITEM"===e.tagName?t.findIndex(r=>r===e):-1,X=t=>{const r=(0,P.g)(t).querySelector("button");r&&(0,P.r)(()=>r.focus())},pe=t=>{const e=function(){var r=(0,L.Z)(function*(o){var n;const i=document.activeElement;let s=[];const a=null===(n=o.target)||void 0===n?void 0:n.tagName;if("ION-POPOVER"===a||"ION-ITEM"===a){try{s=Array.from(t.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch{}switch(o.key){case"ArrowLeft":(yield t.getParentPopover())&&t.dismiss(void 0,void 0,!1);break;case"ArrowDown":o.preventDefault();const f=((t,e)=>t[B(t,e)+1])(s,i);void 0!==f&&X(f);break;case"ArrowUp":o.preventDefault();const w=((t,e)=>t[B(t,e)-1])(s,i);void 0!==w&&X(w);break;case"Home":o.preventDefault();const h=s[0];void 0!==h&&X(h);break;case"End":o.preventDefault();const x=s[s.length-1];void 0!==x&&X(x);break;case"ArrowRight":case" ":case"Enter":if(i&&(t=>t.hasAttribute("data-ion-popover-trigger"))(i)){const v=new CustomEvent("ionPopoverActivateTrigger");i.dispatchEvent(v)}}}});return function(n){return r.apply(this,arguments)}}();return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},G=(t,e,r,o,n,i,s,a,p,f,w)=>{var h;let x={top:0,left:0,width:0,height:0};if("event"===i){if(!w)return p;x={top:w.clientY,left:w.clientX,width:1,height:1}}else{const C=f||(null===(h=w?.detail)||void 0===h?void 0:h.ionShadowTarget)||w?.target;if(!C)return p;const D=C.getBoundingClientRect();x={top:D.top,left:D.left,width:D.width,height:D.height}}const v=le(s,x,e,r,o,n,t),y=fe(a,s,x,e,r),k=v.top+y.top,A=v.left+y.left,{arrowTop:b,arrowLeft:T}=de(s,o,n,k,A,e,r,t),{originX:_,originY:I}=ce(s,a,t);return{top:k,left:A,referenceCoordinates:x,arrowTop:b,arrowLeft:T,originX:_,originY:I}},ce=(t,e,r)=>{switch(t){case"top":return{originX:H(e),originY:"bottom"};case"bottom":return{originX:H(e),originY:"top"};case"left":return{originX:"right",originY:U(e)};case"right":return{originX:"left",originY:U(e)};case"start":return{originX:r?"left":"right",originY:U(e)};case"end":return{originX:r?"right":"left",originY:U(e)}}},H=t=>{switch(t){case"start":return"left";case"center":return"center";case"end":return"right"}},U=t=>{switch(t){case"start":return"top";case"center":return"center";case"end":return"bottom"}},de=(t,e,r,o,n,i,s,a)=>{const p={arrowTop:o+s/2-e/2,arrowLeft:n+i-e/2},f={arrowTop:o+s/2-e/2,arrowLeft:n-1.5*e};switch(t){case"top":return{arrowTop:o+s,arrowLeft:n+i/2-e/2};case"bottom":return{arrowTop:o-r,arrowLeft:n+i/2-e/2};case"left":return p;case"right":return f;case"start":return a?f:p;case"end":return a?p:f;default:return{arrowTop:0,arrowLeft:0}}},le=(t,e,r,o,n,i,s)=>{const a={top:e.top,left:e.left-r-n},p={top:e.top,left:e.left+e.width+n};switch(t){case"top":return{top:e.top-o-i,left:e.left};case"right":return p;case"bottom":return{top:e.top+e.height+i,left:e.left};case"left":return a;case"start":return s?p:a;case"end":return s?a:p}},fe=(t,e,r,o,n)=>{switch(t){case"center":return ue(e,r,o,n);case"end":return he(e,r,o,n);default:return{top:0,left:0}}},he=(t,e,r,o)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(o-e.height),left:0};default:return{top:0,left:-(r-e.width)}}},ue=(t,e,r,o)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(o/2-e.height/2),left:0};default:return{top:0,left:-(r/2-e.width/2)}}},J=(t,e,r,o,n,i,s,a,p,f,w,h,x=0,v=0,y=0)=>{let k=x;const A=v;let _,b=r,T=e,I=f,O=w,d=!1,C=!1;const D=h?h.top+h.height:i/2-a/2,S=h?h.height:0;let $=!1;return bn&&(C=!0,b=n-s-o,I="right"),D+S+a>i&&("top"===t||"bottom"===t)&&(D-a>0?(T=Math.max(12,D-a-S-(y-1)),k=T+a,O="bottom",$=!0):_=o),{top:T,left:b,bottom:_,originX:I,originY:O,checkSafeAreaLeft:d,checkSafeAreaRight:C,arrowTop:k,arrowLeft:A,addPopoverBottomClass:$}},ge=(t,e)=>{var r;const{event:o,size:n,trigger:i,reference:s,side:a,align:p}=e,f=t.ownerDocument,w="rtl"===f.dir,h=f.defaultView.innerWidth,x=f.defaultView.innerHeight,v=(0,P.g)(t),y=v.querySelector(".popover-content"),k=v.querySelector(".popover-arrow"),A=i||(null===(r=o?.detail)||void 0===r?void 0:r.ionShadowTarget)||o?.target,{contentWidth:b,contentHeight:T}=W(n,y,A),{arrowWidth:_,arrowHeight:I}=(t=>{if(!t)return{arrowWidth:0,arrowHeight:0};const{width:e,height:r}=t.getBoundingClientRect();return{arrowWidth:e,arrowHeight:r}})(k),d=G(w,b,T,_,I,s,a,p,{top:x/2-T/2,left:h/2-b/2,originX:w?"right":"left",originY:"top"},i,o),C="cover"===n?0:5,D="cover"===n?0:25,{originX:S,originY:$,top:N,left:M,bottom:Y,checkSafeAreaLeft:V,checkSafeAreaRight:De,arrowTop:Ae,arrowLeft:Te,addPopoverBottomClass:Ee}=J(a,d.top,d.left,C,h,x,b,T,D,d.originX,d.originY,d.referenceCoordinates,d.arrowTop,d.arrowLeft,I),Ie=(0,c.c)(),ee=(0,c.c)(),te=(0,c.c)();return ee.addElement(v.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),te.addElement(v.querySelector(".popover-arrow")).addElement(v.querySelector(".popover-content")).fromTo("opacity",.01,1),Ie.easing("ease").duration(100).beforeAddWrite(()=>{"cover"===n&&t.style.setProperty("--width",`${b}px`),Ee&&t.classList.add("popover-bottom"),void 0!==Y&&y.style.setProperty("bottom",`${Y}px`);let Z=`${M}px`;V&&(Z=`${M}px + var(--ion-safe-area-left, 0)`),De&&(Z=`${M}px - var(--ion-safe-area-right, 0)`),y.style.setProperty("top",`calc(${N}px + var(--offset-y, 0))`),y.style.setProperty("left",`calc(${Z} + var(--offset-x, 0))`),y.style.setProperty("transform-origin",`${$} ${S}`),null!==k&&(((t,e=!1,r,o)=>!(!r&&!o||"top"!==t&&"bottom"!==t&&e))(a,d.top!==N||d.left!==M,o,i)?(k.style.setProperty("top",`calc(${Ae}px + var(--offset-y, 0))`),k.style.setProperty("left",`calc(${Te}px + var(--offset-x, 0))`)):k.style.setProperty("display","none"))}).addAnimation([ee,te])},xe=t=>{const e=(0,P.g)(t),r=e.querySelector(".popover-content"),o=e.querySelector(".popover-arrow"),n=(0,c.c)(),i=(0,c.c)(),s=(0,c.c)();return i.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),s.addElement(e.querySelector(".popover-arrow")).addElement(e.querySelector(".popover-content")).fromTo("opacity",.99,0),n.easing("ease").afterAddWrite(()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),r.style.removeProperty("top"),r.style.removeProperty("left"),r.style.removeProperty("bottom"),r.style.removeProperty("transform-origin"),o&&(o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("display"))}).duration(300).addAnimation([i,s])},we=(t,e)=>{var r;const{event:o,size:n,trigger:i,reference:s,side:a,align:p}=e,f=t.ownerDocument,w="rtl"===f.dir,h=f.defaultView.innerWidth,x=f.defaultView.innerHeight,v=(0,P.g)(t),y=v.querySelector(".popover-content"),k=i||(null===(r=o?.detail)||void 0===r?void 0:r.ionShadowTarget)||o?.target,{contentWidth:A,contentHeight:b}=W(n,y,k),_=G(w,A,b,0,0,s,a,p,{top:x/2-b/2,left:h/2-A/2,originX:w?"right":"left",originY:"top"},i,o),I="cover"===n?0:12,{originX:O,originY:d,top:C,left:D,bottom:S}=J(a,_.top,_.left,I,h,x,A,b,0,_.originX,_.originY,_.referenceCoordinates),$=(0,c.c)(),N=(0,c.c)(),M=(0,c.c)(),Y=(0,c.c)(),V=(0,c.c)();return N.addElement(v.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),M.addElement(v.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),Y.addElement(y).beforeStyles({top:`calc(${C}px + var(--offset-y, 0px))`,left:`calc(${D}px + var(--offset-x, 0px))`,"transform-origin":`${d} ${O}`}).beforeAddWrite(()=>{void 0!==S&&y.style.setProperty("bottom",`${S}px`)}).fromTo("transform","scale(0.8)","scale(1)"),V.addElement(v.querySelector(".popover-viewport")).fromTo("opacity",.01,1),$.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite(()=>{"cover"===n&&t.style.setProperty("--width",`${A}px`),"bottom"===d&&t.classList.add("popover-bottom")}).addAnimation([N,M,Y,V])},ye=t=>{const e=(0,P.g)(t),r=e.querySelector(".popover-content"),o=(0,c.c)(),n=(0,c.c)(),i=(0,c.c)();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(e.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),o.easing("ease").afterAddWrite(()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),r.style.removeProperty("top"),r.style.removeProperty("left"),r.style.removeProperty("bottom"),r.style.removeProperty("transform-origin")}).duration(150).addAnimation([n,i])},Q=class{constructor(t){(0,l.r)(this,t),this.didPresent=(0,l.d)(this,"ionPopoverDidPresent",7),this.willPresent=(0,l.d)(this,"ionPopoverWillPresent",7),this.willDismiss=(0,l.d)(this,"ionPopoverWillDismiss",7),this.didDismiss=(0,l.d)(this,"ionPopoverDidDismiss",7),this.didPresentShorthand=(0,l.d)(this,"didPresent",7),this.willPresentShorthand=(0,l.d)(this,"willPresent",7),this.willDismissShorthand=(0,l.d)(this,"willDismiss",7),this.didDismissShorthand=(0,l.d)(this,"didDismiss",7),this.ionMount=(0,l.d)(this,"ionMount",7),this.parentPopover=null,this.coreDelegate=(0,R.C)(),this.inline=!1,this.focusDescendantOnPresent=!1,this.onBackdropTap=()=>{this.dismiss(void 0,E.B)},this.onLifecycle=e=>{const r=this.usersElement,o=_e[e.type];if(r&&o){const n=new CustomEvent(o,{bubbles:!1,cancelable:!1,detail:e.detail});r.dispatchEvent(n)}},this.configureTriggerInteraction=()=>{const{trigger:e,triggerAction:r,el:o,destroyTriggerInteraction:n}=this;if(n&&n(),void 0===e)return;const i=this.triggerEl=void 0!==e?document.getElementById(e):null;i?this.destroyTriggerInteraction=ne(i,r,o):(0,F.p)(`A trigger element with the ID "${e}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.`,this.el)},this.configureKeyboardInteraction=()=>{const{destroyKeyboardInteraction:e,el:r}=this;e&&e(),this.destroyKeyboardInteraction=pe(r)},this.configureDismissInteraction=()=>{const{destroyDismissInteraction:e,parentPopover:r,triggerAction:o,triggerEl:n,el:i}=this;!r||!n||(e&&e(),this.destroyDismissInteraction=((t,e,r,o)=>{let n=[];const s=(0,P.g)(o).querySelector(".popover-content");return n="hover"===e?[{eventName:"mouseenter",callback:a=>{document.elementFromPoint(a.clientX,a.clientY)!==t&&r.dismiss(void 0,void 0,!1)}}]:[{eventName:"click",callback:a=>{a.target.closest("[data-ion-popover-trigger]")!==t?r.dismiss(void 0,void 0,!1):a.stopPropagation()}}],n.forEach(({eventName:a,callback:p})=>s.addEventListener(a,p)),()=>{n.forEach(({eventName:a,callback:p})=>s.removeEventListener(a,p))}})(n,o,i,r))},this.presented=!1,this.hasController=!1,this.delegate=void 0,this.overlayIndex=void 0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.component=void 0,this.componentProps=void 0,this.keyboardClose=!0,this.cssClass=void 0,this.backdropDismiss=!0,this.event=void 0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.triggerAction="click",this.trigger=void 0,this.size="auto",this.dismissOnSelect=!1,this.reference="trigger",this.side="bottom",this.alignment=void 0,this.arrow=!0,this.isOpen=!1,this.keyboardEvents=!1,this.keepContentsMounted=!1}onTriggerChange(){this.configureTriggerInteraction()}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}connectedCallback(){const{configureTriggerInteraction:t,el:e}=this;(0,E.j)(e),t()}disconnectedCallback(){const{destroyTriggerInteraction:t}=this;t&&t()}componentWillLoad(){const{el:t}=this,e=(0,E.k)(t);this.parentPopover=t.closest(`ion-popover:not(#${e})`),void 0===this.alignment&&(this.alignment="ios"===(0,j.b)(this)?"center":"start")}componentDidLoad(){const{parentPopover:t,isOpen:e}=this;!0===e&&(0,P.r)(()=>this.present()),t&&(0,P.a)(t,"ionPopoverWillDismiss",()=>{this.dismiss(void 0,void 0,!1)})}presentFromTrigger(t,e=!1){var r=this;return(0,L.Z)(function*(){r.focusDescendantOnPresent=e,yield r.present(t),r.focusDescendantOnPresent=!1})()}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};const r=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:r,delegate:this.workingDelegate=r?this.delegate||this.coreDelegate:this.delegate}}present(t){var e=this;return(0,L.Z)(function*(){if(e.presented)return;void 0!==e.currentTransition&&(yield e.currentTransition);const{el:r}=e,{inline:o,delegate:n}=e.getDelegate(!0);e.usersElement=yield(0,R.a)(n,r,e.component,["popover-viewport"],e.componentProps,o),e.keyboardEvents||e.configureKeyboardInteraction(),e.configureDismissInteraction(),e.ionMount.emit(),(0,P.m)(r)?yield(0,u.e)(e.usersElement):e.keepContentsMounted||(yield(0,u.w)()),e.currentTransition=(0,E.f)(e,"popoverEnter",ge,we,{event:t||e.event,size:e.size,trigger:e.triggerEl,reference:e.reference,side:e.side,align:e.alignment}),yield e.currentTransition,e.currentTransition=void 0,e.focusDescendantOnPresent&&(0,E.o)(e.el,e.el)})()}dismiss(t,e,r=!0){var o=this;return(0,L.Z)(function*(){void 0!==o.currentTransition&&(yield o.currentTransition);const{destroyKeyboardInteraction:n,destroyDismissInteraction:i}=o;r&&o.parentPopover&&o.parentPopover.dismiss(t,e,r),o.currentTransition=(0,E.g)(o,t,e,"popoverLeave",xe,ye,o.event);const s=yield o.currentTransition;if(s){n&&(n(),o.destroyKeyboardInteraction=void 0),i&&(i(),o.destroyDismissInteraction=void 0);const{delegate:a}=o.getDelegate();yield(0,R.d)(a,o.usersElement)}return o.currentTransition=void 0,s})()}getParentPopover(){var t=this;return(0,L.Z)(function*(){return t.parentPopover})()}onDidDismiss(){return(0,E.h)(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return(0,E.h)(this.el,"ionPopoverWillDismiss")}render(){const t=(0,j.b)(this),{onLifecycle:e,parentPopover:r,dismissOnSelect:o,side:n,arrow:i,htmlAttributes:s}=this,a=(0,j.a)("desktop"),p=i&&!r;return(0,l.h)(l.H,Object.assign({"aria-modal":"true","no-router":!0,tabindex:"-1"},s,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({},(0,g.g)(this.cssClass)),{[t]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":a,[`popover-side-${n}`]:!0,"popover-nested":!!r}),onIonPopoverDidPresent:e,onIonPopoverWillPresent:e,onIonPopoverWillDismiss:e,onIonPopoverDidDismiss:e,onIonBackdropTap:this.onBackdropTap}),!r&&(0,l.h)("ion-backdrop",{tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),(0,l.h)("div",{class:"popover-wrapper ion-overlay-wrapper",onClick:o?()=>this.dismiss():void 0},p&&(0,l.h)("div",{class:"popover-arrow",part:"arrow"}),(0,l.h)("div",{class:"popover-content",part:"content"},(0,l.h)("slot",null))))}get el(){return(0,l.f)(this)}static get watchers(){return{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}}},_e={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};Q.style={ios:':host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start):dir(rtl){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end):dir(rtl){--offset-x:5px}}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, #e6e6e6)}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}@supports (inset-inline-start: 0){.popover-arrow::after{inset-inline-start:3px}}@supports not (inset-inline-start: 0){.popover-arrow::after{left:3px}:host-context([dir=rtl]) .popover-arrow::after{left:unset;right:unset;right:3px}[dir=rtl] .popover-arrow::after{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){.popover-arrow::after:dir(rtl){left:unset;right:unset;right:3px}}}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start) .popover-arrow:dir(rtl){-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end) .popover-arrow:dir(rtl){-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}',md:":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start):dir(rtl){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end):dir(rtl){--offset-x:5px}}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}"}},2997:(oe,K,m)=>{m.d(K,{c:()=>R,g:()=>F,h:()=>l,o:()=>j});var L=m(5861);const l=(g,u)=>null!==u.closest(g),R=(g,u)=>"string"==typeof g&&g.length>0?Object.assign({"ion-color":!0,[`ion-color-${g}`]:!0},u):u,F=g=>{const u={};return(g=>void 0!==g?(Array.isArray(g)?g:g.split(" ")).filter(c=>null!=c).map(c=>c.trim()).filter(c=>""!==c):[])(g).forEach(c=>u[c]=!0),u},E=/^[a-z][a-z0-9+\-.]*:/,j=function(){var g=(0,L.Z)(function*(u,c,q,z){if(null!=u&&"#"!==u[0]&&!E.test(u)){const W=document.querySelector("ion-router");if(W)return c?.preventDefault(),W.push(u,q,z)}return!1});return function(c,q,z,W){return g.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/388.7fec46bdd0547c99.js b/388.7fec46bdd0547c99.js deleted file mode 100644 index 54cde7d6..00000000 --- a/388.7fec46bdd0547c99.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[388],{388:(w,l,e)=>{e.r(l),e.d(l,{ion_card:()=>c,ion_card_content:()=>i,ion_card_header:()=>d,ion_card_subtitle:()=>u,ion_card_title:()=>x});var t=e(1071),g=e(2674),a=e(2997),s=e(7263);const c=class{constructor(o){(0,t.r)(this,o),this.inheritedAriaAttributes={},this.color=void 0,this.button=!1,this.type="button",this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0}componentWillLoad(){this.inheritedAriaAttributes=(0,g.k)(this.el,["aria-label"])}isClickable(){return void 0!==this.href||this.button}renderCard(o){const f=this.isClickable();if(!f)return[(0,t.h)("slot",null)];const{href:v,routerAnimation:E,routerDirection:M,inheritedAriaAttributes:A}=this,k=f?void 0===v?"button":"a":"div";return(0,t.h)(k,Object.assign({},"button"===k?{type:this.type}:{download:this.download,href:this.href,rel:this.rel,target:this.target},A,{class:"card-native",part:"native",disabled:this.disabled,onClick:O=>(0,a.o)(v,O,M,E)}),(0,t.h)("slot",null),f&&"md"===o&&(0,t.h)("ion-ripple-effect",null))}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{class:(0,a.c)(this.color,{[o]:!0,"card-disabled":this.disabled,"ion-activatable":this.isClickable()})},this.renderCard(o))}get el(){return(0,t.f)(this)}};c.style={ios:":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, #666666)));-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:14px;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}",md:":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, #737373)));-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:14px;-webkit-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}"};const i=class{constructor(o){(0,t.r)(this,o)}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{class:{[o]:!0,[`card-content-${o}`]:!0}})}};i.style={ios:"ion-card-content{display:block;position:relative}.card-content-ios{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;font-size:16px;line-height:1.4}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px}ion-card-header+.card-content-ios{padding-top:0}",md:"ion-card-content{display:block;position:relative}.card-content-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:13px;padding-bottom:13px;font-size:14px;line-height:1.5}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}"};const d=class{constructor(o){(0,t.r)(this,o),this.color=void 0,this.translucent=!1}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{class:(0,a.c)(this.color,{"card-header-translucent":this.translucent,"ion-inherit-color":!0,[o]:!0})},(0,t.h)("slot",null))}};d.style={ios:":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:16px;-ms-flex-direction:column-reverse;flex-direction:column-reverse}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}",md:":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}"};const u=class{constructor(o){(0,t.r)(this,o),this.color=void 0}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{role:"heading","aria-level":"3",class:(0,a.c)(this.color,{"ion-inherit-color":!0,[o]:!0})},(0,t.h)("slot",null))}};u.style={ios:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);margin-left:0;margin-right:0;margin-top:0;margin-bottom:4px;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:12px;font-weight:700;letter-spacing:0.4px;text-transform:uppercase}",md:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-550, #737373);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:14px;font-weight:500}"};const x=class{constructor(o){(0,t.r)(this,o),this.color=void 0}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{role:"heading","aria-level":"2",class:(0,a.c)(this.color,{"ion-inherit-color":!0,[o]:!0})},(0,t.h)("slot",null))}};x.style={ios:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:28px;font-weight:700;line-height:1.2}",md:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, #262626);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:20px;font-weight:500;line-height:1.2}"}},2997:(w,l,e)=>{e.d(l,{c:()=>a,g:()=>m,h:()=>g,o:()=>c});var t=e(5861);const g=(r,n)=>null!==n.closest(r),a=(r,n)=>"string"==typeof r&&r.length>0?Object.assign({"ion-color":!0,[`ion-color-${r}`]:!0},n):n,m=r=>{const n={};return(r=>void 0!==r?(Array.isArray(r)?r:r.split(" ")).filter(i=>null!=i).map(i=>i.trim()).filter(i=>""!==i):[])(r).forEach(i=>n[i]=!0),n},b=/^[a-z][a-z0-9+\-.]*:/,c=function(){var r=(0,t.Z)(function*(n,i,p,h){if(null!=n&&"#"!==n[0]&&!b.test(n)){const d=document.querySelector("ion-router");if(d)return i?.preventDefault(),d.push(n,p,h)}return!1});return function(i,p,h,d){return r.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/388.8644c4006552b4c9.js b/388.8644c4006552b4c9.js new file mode 100644 index 00000000..59bccf15 --- /dev/null +++ b/388.8644c4006552b4c9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[388],{388:(w,c,e)=>{e.r(c),e.d(c,{ion_card:()=>l,ion_card_content:()=>i,ion_card_header:()=>d,ion_card_subtitle:()=>u,ion_card_title:()=>x});var t=e(408),g=e(2961),a=e(3814),s=e(4649);const l=class{constructor(o){(0,t.r)(this,o),this.inheritedAriaAttributes={},this.color=void 0,this.button=!1,this.type="button",this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0}componentWillLoad(){this.inheritedAriaAttributes=(0,g.k)(this.el,["aria-label"])}isClickable(){return void 0!==this.href||this.button}renderCard(o){const f=this.isClickable();if(!f)return[(0,t.h)("slot",null)];const{href:v,routerAnimation:E,routerDirection:M,inheritedAriaAttributes:A}=this,k=f?void 0===v?"button":"a":"div";return(0,t.h)(k,Object.assign({},"button"===k?{type:this.type}:{download:this.download,href:this.href,rel:this.rel,target:this.target},A,{class:"card-native",part:"native",disabled:this.disabled,onClick:O=>(0,a.o)(v,O,M,E)}),(0,t.h)("slot",null),f&&"md"===o&&(0,t.h)("ion-ripple-effect",null))}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{class:(0,a.c)(this.color,{[o]:!0,"card-disabled":this.disabled,"ion-activatable":this.isClickable()})},this.renderCard(o))}get el(){return(0,t.f)(this)}};l.style={ios:":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, #666666)));-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:0.875rem;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}",md:":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, #737373)));-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:0.875rem;-webkit-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}"};const i=class{constructor(o){(0,t.r)(this,o)}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{class:{[o]:!0,[`card-content-${o}`]:!0}})}};i.style={ios:"ion-card-content{display:block;position:relative}.card-content-ios{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;font-size:1rem;line-height:1.4}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem}ion-card-header+.card-content-ios{padding-top:0}",md:"ion-card-content{display:block;position:relative}.card-content-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:13px;padding-bottom:13px;font-size:0.875rem;line-height:1.5}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}"};const d=class{constructor(o){(0,t.r)(this,o),this.color=void 0,this.translucent=!1}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{class:(0,a.c)(this.color,{"card-header-translucent":this.translucent,"ion-inherit-color":!0,[o]:!0})},(0,t.h)("slot",null))}};d.style={ios:":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:16px;-ms-flex-direction:column-reverse;flex-direction:column-reverse}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}",md:":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}"};const u=class{constructor(o){(0,t.r)(this,o),this.color=void 0}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{role:"heading","aria-level":"3",class:(0,a.c)(this.color,{"ion-inherit-color":!0,[o]:!0})},(0,t.h)("slot",null))}};u.style={ios:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);margin-left:0;margin-right:0;margin-top:0;margin-bottom:4px;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:0.75rem;font-weight:700;letter-spacing:0.4px;text-transform:uppercase}",md:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-550, #737373);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:0.875rem;font-weight:500}"};const x=class{constructor(o){(0,t.r)(this,o),this.color=void 0}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{role:"heading","aria-level":"2",class:(0,a.c)(this.color,{"ion-inherit-color":!0,[o]:!0})},(0,t.h)("slot",null))}};x.style={ios:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.75rem;font-weight:700;line-height:1.2}",md:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, #262626);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.25rem;font-weight:500;line-height:1.2}"}},3814:(w,c,e)=>{e.d(c,{c:()=>a,g:()=>m,h:()=>g,o:()=>l});var t=e(5861);const g=(r,n)=>null!==n.closest(r),a=(r,n)=>"string"==typeof r&&r.length>0?Object.assign({"ion-color":!0,[`ion-color-${r}`]:!0},n):n,m=r=>{const n={};return(r=>void 0!==r?(Array.isArray(r)?r:r.split(" ")).filter(i=>null!=i).map(i=>i.trim()).filter(i=>""!==i):[])(r).forEach(i=>n[i]=!0),n},b=/^[a-z][a-z0-9+\-.]*:/,l=function(){var r=(0,t.Z)(function*(n,i,p,h){if(null!=n&&"#"!==n[0]&&!b.test(n)){const d=document.querySelector("ion-router");if(d)return i?.preventDefault(),d.push(n,p,h)}return!1});return function(i,p,h,d){return r.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/3991.2c23fb1dac82cfbc.js b/3991.2c23fb1dac82cfbc.js deleted file mode 100644 index 4a30293c..00000000 --- a/3991.2c23fb1dac82cfbc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3991],{3991:(q,O,h)=>{h.r(O),h.d(O,{startInputShims:()=>X});var y=h(5861),P=h(6038),m=h(2674),K=h(2433);h(6447),h(7693);const A=new WeakMap,I=(t,e,s,n=0,o=!1)=>{A.has(t)!==s&&(s?k(t,e,n,o):H(t,e))},k=(t,e,s,n=!1)=>{const o=e.parentNode,r=e.cloneNode(!1);r.classList.add("cloned-input"),r.tabIndex=-1,n&&(r.disabled=!0),o.appendChild(r),A.set(t,r);const c="rtl"===t.ownerDocument.dir?9999:-9999;t.style.pointerEvents="none",e.style.transform=`translate3d(${c}px,${s}px,0) scale(0)`},H=(t,e)=>{const s=A.get(t);s&&(A.delete(t),s.remove()),t.style.pointerEvents="",e.style.transform=""},T="input, textarea, [no-blur], [contenteditable]",N="$ionPaddingTimer",C=(t,e,s)=>{const n=t[N];n&&clearTimeout(n),e>0?t.style.setProperty("--keyboard-offset",`${e}px`):t[N]=setTimeout(()=>{t.style.setProperty("--keyboard-offset","0px"),s&&s()},120)},U=(t,e,s)=>{t.addEventListener("focusout",()=>{e&&C(e,0,s)},{once:!0})};let g=0;const p="data-ionic-skip-scroll-assist",V=(t,e,s,n,o,r,a,c=!1)=>{const i=r&&(void 0===a||a.mode===K.a.None),S=function(){var u=(0,y.Z)(function*(){e.hasAttribute(p)?e.removeAttribute(p):J(t,e,s,n,o,i,c)});return function(){return u.apply(this,arguments)}}();return t.addEventListener("focusin",S,!0),()=>{t.removeEventListener("focusin",S,!0)}},w=t=>{document.activeElement!==t&&(t.setAttribute(p,"true"),t.focus())},J=function(){var t=(0,y.Z)(function*(e,s,n,o,r,a,c=!1){if(!n&&!o)return;const i=((t,e,s)=>{var n;return((t,e,s,n)=>{const o=t.top,r=t.bottom,a=e.top,i=a+15,u=Math.min(e.bottom,n-s)-50-r,v=i-o,l=Math.round(u<0?-u:v>0?-v:0),_=Math.min(l,o-a),M=Math.abs(_)/.3;return{scrollAmount:_,scrollDuration:Math.min(400,Math.max(150,M)),scrollPadding:s,inputSafeY:4-(o-i)}})((null!==(n=t.closest("ion-item,[ion-item]"))&&void 0!==n?n:t).getBoundingClientRect(),e.getBoundingClientRect(),s,t.ownerDocument.defaultView.innerHeight)})(e,n||o,r);if(n&&Math.abs(i.scrollAmount)<4)return w(s),void(a&&null!==n&&(C(n,g),U(s,n,()=>g=0)));if(I(e,s,!0,i.inputSafeY,c),w(s),(0,m.r)(()=>e.click()),a&&n&&(g=i.scrollPadding,C(n,g)),typeof window<"u"){let S;const u=function(){var l=(0,y.Z)(function*(){void 0!==S&&clearTimeout(S),window.removeEventListener("ionKeyboardDidShow",v),window.removeEventListener("ionKeyboardDidShow",u),n&&(yield(0,P.c)(n,0,i.scrollAmount,i.scrollDuration)),I(e,s,!1,i.inputSafeY),w(s),a&&U(s,n,()=>g=0)});return function(){return l.apply(this,arguments)}}(),v=()=>{window.removeEventListener("ionKeyboardDidShow",v),window.addEventListener("ionKeyboardDidShow",u)};if(n){const l=yield(0,P.g)(n);if(i.scrollAmount>l.scrollHeight-l.clientHeight-l.scrollTop)return"password"===s.type?(i.scrollAmount+=50,window.addEventListener("ionKeyboardDidShow",v)):window.addEventListener("ionKeyboardDidShow",u),void(S=setTimeout(u,1e3))}u()}});return function(s,n,o,r,a,c){return t.apply(this,arguments)}}(),X=function(){var t=(0,y.Z)(function*(e,s){const n=document,o="ios"===s,r="android"===s,a=e.getNumber("keyboardHeight",290),c=e.getBoolean("scrollAssist",!0),i=e.getBoolean("hideCaretOnScroll",o),S=e.getBoolean("inputBlurring",o),u=e.getBoolean("scrollPadding",!0),v=Array.from(n.querySelectorAll("ion-input, ion-textarea")),l=new WeakMap,_=new WeakMap,W=yield K.K.getResizeMode(),M=function(){var f=(0,y.Z)(function*(d){yield new Promise(b=>(0,m.c)(d,b));const x=d.shadowRoot||d,L=x.querySelector("input")||x.querySelector("textarea"),D=(0,P.f)(d),j=D?null:d.closest("ion-footer");if(L){if(D&&i&&!l.has(d)){const b=((t,e,s)=>{if(!s||!e)return()=>{};const n=c=>{(t=>t===t.getRootNode().activeElement)(e)&&I(t,e,c)},o=()=>I(t,e,!1),r=()=>n(!0),a=()=>n(!1);return(0,m.a)(s,"ionScrollStart",r),(0,m.a)(s,"ionScrollEnd",a),e.addEventListener("blur",o),()=>{(0,m.b)(s,"ionScrollStart",r),(0,m.b)(s,"ionScrollEnd",a),e.removeEventListener("blur",o)}})(d,L,D);l.set(d,b)}if("date"!==L.type&&"datetime-local"!==L.type&&(D||j)&&c&&!_.has(d)){const b=V(d,L,D,j,a,u,W,r);_.set(d,b)}}});return function(x){return f.apply(this,arguments)}}();S&&(()=>{let t=!0,e=!1;const s=document;(0,m.a)(s,"ionScrollStart",()=>{e=!0}),s.addEventListener("focusin",()=>{t=!0},!0),s.addEventListener("touchend",a=>{if(e)return void(e=!1);const c=s.activeElement;if(!c||c.matches(T))return;const i=a.target;i!==c&&(i.matches(T)||i.closest(T)||(t=!1,setTimeout(()=>{t||c.blur()},50)))},!1)})();for(const f of v)M(f);n.addEventListener("ionInputDidLoad",f=>{M(f.detail)}),n.addEventListener("ionInputDidUnload",f=>{(f=>{if(i){const d=l.get(f);d&&d(),l.delete(f)}if(c){const d=_.get(f);d&&d(),_.delete(f)}})(f.detail)})});return function(s,n){return t.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt index 595e4aa5..40ae5f1e 100644 --- a/3rdpartylicenses.txt +++ b/3rdpartylicenses.txt @@ -102,6 +102,8 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +@ionic/core/components + @ionic/storage MIT The MIT License (MIT) diff --git a/4174.27a612d8168a2d73.js b/4174.27a612d8168a2d73.js deleted file mode 100644 index 855d71a5..00000000 --- a/4174.27a612d8168a2d73.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4174],{4174:(d,c,a)=>{a.r(c),a.d(c,{ion_progress_bar:()=>f});var r=a(1071),m=a(2674),l=a(2997),b=a(7263);const f=class{constructor(i){(0,r.r)(this,i),this.type="determinate",this.reversed=!1,this.value=0,this.buffer=1,this.color=void 0}render(){const{color:i,type:s,reversed:o,value:e,buffer:k}=this,p=b.c.getBoolean("_testing"),w=(0,b.b)(this);return(0,r.h)(r.H,{role:"progressbar","aria-valuenow":"determinate"===s?e:null,"aria-valuemin":"0","aria-valuemax":"1",class:(0,l.c)(i,{[w]:!0,[`progress-bar-${s}`]:!0,"progress-paused":p,"progress-bar-reversed":"rtl"===document.dir?!o:o})},"indeterminate"===s?t():n(e,k))}},t=()=>(0,r.h)("div",{part:"track",class:"progress-buffer-bar"},(0,r.h)("div",{class:"indeterminate-bar-primary"},(0,r.h)("span",{part:"progress",class:"progress-indeterminate"})),(0,r.h)("div",{class:"indeterminate-bar-secondary"},(0,r.h)("span",{part:"progress",class:"progress-indeterminate"}))),n=(i,s)=>{const o=(0,m.l)(0,i,1),e=(0,m.l)(0,s,1);return[(0,r.h)("div",{part:"progress",class:"progress",style:{transform:`scaleX(${o})`}}),(0,r.h)("div",{class:{"buffer-circles-container":!0,"ion-hide":1===e},style:{transform:`translateX(${100*e}%)`}},(0,r.h)("div",{class:"buffer-circles-container",style:{transform:`translateX(-${100*e}%)`}},(0,r.h)("div",{part:"stream",class:"buffer-circles"}))),(0,r.h)("div",{part:"track",class:"progress-buffer-bar",style:{transform:`scaleX(${e})`}})]};f.style={ios:":host{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.3);--progress-background:var(--ion-color-primary, #3880ff);--buffer-background:var(--background);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--buffer-background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--buffer-background) 0%, var(--buffer-background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{-webkit-animation-play-state:paused;animation-play-state:paused}:host(.ion-color) .progress-buffer-bar{background:rgba(var(--ion-color-base-rgb), 0.3)}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}:host{height:3px}",md:":host{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.3);--progress-background:var(--ion-color-primary, #3880ff);--buffer-background:var(--background);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--buffer-background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--buffer-background) 0%, var(--buffer-background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{-webkit-animation-play-state:paused;animation-play-state:paused}:host(.ion-color) .progress-buffer-bar{background:rgba(var(--ion-color-base-rgb), 0.3)}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}:host{height:4px}"}},2997:(d,c,a)=>{a.d(c,{c:()=>l,g:()=>u,h:()=>m,o:()=>f});var r=a(5861);const m=(t,n)=>null!==n.closest(t),l=(t,n)=>"string"==typeof t&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},n):n,u=t=>{const n={};return(t=>void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter(i=>null!=i).map(i=>i.trim()).filter(i=>""!==i):[])(t).forEach(i=>n[i]=!0),n},g=/^[a-z][a-z0-9+\-.]*:/,f=function(){var t=(0,r.Z)(function*(n,i,s,o){if(null!=n&&"#"!==n[0]&&!g.test(n)){const e=document.querySelector("ion-router");if(e)return i?.preventDefault(),e.push(n,s,o)}return!1});return function(i,s,o,e){return t.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4174.49ead29b290f3dbf.js b/4174.49ead29b290f3dbf.js new file mode 100644 index 00000000..282b6a11 --- /dev/null +++ b/4174.49ead29b290f3dbf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4174],{4174:(d,c,a)=>{a.r(c),a.d(c,{ion_progress_bar:()=>f});var r=a(408),m=a(2961),l=a(3814),b=a(4649);const f=class{constructor(i){(0,r.r)(this,i),this.type="determinate",this.reversed=!1,this.value=0,this.buffer=1,this.color=void 0}render(){const{color:i,type:s,reversed:o,value:e,buffer:k}=this,p=b.c.getBoolean("_testing"),w=(0,b.b)(this);return(0,r.h)(r.H,{role:"progressbar","aria-valuenow":"determinate"===s?e:null,"aria-valuemin":"0","aria-valuemax":"1",class:(0,l.c)(i,{[w]:!0,[`progress-bar-${s}`]:!0,"progress-paused":p,"progress-bar-reversed":"rtl"===document.dir?!o:o})},"indeterminate"===s?t():n(e,k))}},t=()=>(0,r.h)("div",{part:"track",class:"progress-buffer-bar"},(0,r.h)("div",{class:"indeterminate-bar-primary"},(0,r.h)("span",{part:"progress",class:"progress-indeterminate"})),(0,r.h)("div",{class:"indeterminate-bar-secondary"},(0,r.h)("span",{part:"progress",class:"progress-indeterminate"}))),n=(i,s)=>{const o=(0,m.l)(0,i,1),e=(0,m.l)(0,s,1);return[(0,r.h)("div",{part:"progress",class:"progress",style:{transform:`scaleX(${o})`}}),(0,r.h)("div",{class:{"buffer-circles-container":!0,"ion-hide":1===e},style:{transform:`translateX(${100*e}%)`}},(0,r.h)("div",{class:"buffer-circles-container",style:{transform:`translateX(-${100*e}%)`}},(0,r.h)("div",{part:"stream",class:"buffer-circles"}))),(0,r.h)("div",{part:"track",class:"progress-buffer-bar",style:{transform:`scaleX(${e})`}})]};f.style={ios:":host{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.3);--progress-background:var(--ion-color-primary, #3880ff);--buffer-background:var(--background);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--buffer-background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--buffer-background) 0%, var(--buffer-background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{-webkit-animation-play-state:paused;animation-play-state:paused}:host(.ion-color) .progress-buffer-bar{background:rgba(var(--ion-color-base-rgb), 0.3)}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}:host{height:3px}",md:":host{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.3);--progress-background:var(--ion-color-primary, #3880ff);--buffer-background:var(--background);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--buffer-background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--buffer-background) 0%, var(--buffer-background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{-webkit-animation-play-state:paused;animation-play-state:paused}:host(.ion-color) .progress-buffer-bar{background:rgba(var(--ion-color-base-rgb), 0.3)}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}:host{height:4px}"}},3814:(d,c,a)=>{a.d(c,{c:()=>l,g:()=>u,h:()=>m,o:()=>f});var r=a(5861);const m=(t,n)=>null!==n.closest(t),l=(t,n)=>"string"==typeof t&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},n):n,u=t=>{const n={};return(t=>void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter(i=>null!=i).map(i=>i.trim()).filter(i=>""!==i):[])(t).forEach(i=>n[i]=!0),n},g=/^[a-z][a-z0-9+\-.]*:/,f=function(){var t=(0,r.Z)(function*(n,i,s,o){if(null!=n&&"#"!==n[0]&&!g.test(n)){const e=document.querySelector("ion-router");if(e)return i?.preventDefault(),e.push(n,s,o)}return!1});return function(i,s,o,e){return t.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4330.3f5a64c4de32ec18.js b/4330.3f5a64c4de32ec18.js deleted file mode 100644 index 9ada2683..00000000 --- a/4330.3f5a64c4de32ec18.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4330],{4330:(A,y,p)=>{p.r(y),p.d(y,{ion_route:()=>D,ion_route_redirect:()=>L,ion_router:()=>tt,ion_router_link:()=>x});var f=p(5861),d=p(1071),R=p(2674),C=p(2997),P=p(7263);const D=class{constructor(t){(0,d.r)(this,t),this.ionRouteDataChanged=(0,d.d)(this,"ionRouteDataChanged",7),this.url="",this.component=void 0,this.componentProps=void 0,this.beforeLeave=void 0,this.beforeEnter=void 0}onUpdate(t){this.ionRouteDataChanged.emit(t)}onComponentProps(t,e){if(t===e)return;const n=t?Object.keys(t):[],r=e?Object.keys(e):[];if(n.length===r.length){for(const o of n)if(t[o]!==e[o])return void this.onUpdate(t)}else this.onUpdate(t)}connectedCallback(){this.ionRouteDataChanged.emit()}static get watchers(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}}},L=class{constructor(t){(0,d.r)(this,t),this.ionRouteRedirectChanged=(0,d.d)(this,"ionRouteRedirectChanged",7),this.from=void 0,this.to=void 0}propDidChange(){this.ionRouteRedirectChanged.emit()}connectedCallback(){this.ionRouteRedirectChanged.emit()}static get watchers(){return{from:["propDidChange"],to:["propDidChange"]}}},l="root",h="forward",_=t=>"/"+t.filter(n=>n.length>0).join("/"),g=t=>{let n,e=[""];if(null!=t){const r=t.indexOf("?");r>-1&&(n=t.substring(r+1),t=t.substring(0,r)),e=t.split("/").map(o=>o.trim()).filter(o=>o.length>0),0===e.length&&(e=[""])}return{segments:e,queryString:n}},T=function(){var t=(0,f.Z)(function*(e,n,r,o,s=!1,i){try{const a=N(e);if(o>=n.length||!a)return s;yield new Promise(v=>(0,R.c)(a,v));const u=n[o],c=yield a.setRouteId(u.id,u.params,r,i);return c.changed&&(r=l,s=!0),s=yield T(c.element,n,r,o+1,s,i),c.markVisible&&(yield c.markVisible()),s}catch(a){return console.error(a),!1}});return function(n,r,o,s){return t.apply(this,arguments)}}(),K=function(){var t=(0,f.Z)(function*(e){const n=[];let r,o=e;for(;r=N(o);){const s=yield r.getRouteId();if(!s)break;o=s.element,s.element=void 0,n.push(s)}return{ids:n,outlet:r}});return function(n){return t.apply(this,arguments)}}(),U=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet",N=t=>{if(t)return t.matches(U)?t:t.querySelector(U)??void 0},j=(t,e)=>e.find(n=>((t,e)=>{const{from:n,to:r}=e;if(void 0===r||n.length>t.length)return!1;for(let o=0;o{const n=Math.min(t.length,e.length);let r=0;for(let o=0;o`:${c}`);for(let c=0;c{const n=new Y(t);let o,r=!1;for(let i=0;i({id:i.id,segments:i.segments,params:I(i.params,o[a]),beforeEnter:i.beforeEnter,beforeLeave:i.beforeLeave})):e},I=(t,e)=>t||e?Object.assign(Object.assign({},t),e):void 0,O=(t,e)=>{let n=null,r=0;for(const o of e){const s=J(t,o);if(null!==s){const i=X(s);i>r&&(r=i,n=s)}}return n},X=t=>{let e=1,n=1;for(const r of t)for(const o of r.segments)":"===o[0]?e+=Math.pow(1,n):""!==o&&(e+=Math.pow(2,n)),n++;return e};class Y{constructor(e){this.segments=e.slice()}next(){return this.segments.length>0?this.segments.shift():""}}const S=(t,e)=>e in t?t[e]:t.hasAttribute(e)?t.getAttribute(e):null,k=t=>Array.from(t.children).filter(e=>"ION-ROUTE-REDIRECT"===e.tagName).map(e=>{const n=S(e,"to");return{from:g(S(e,"from")).segments,to:null==n?void 0:g(n)}}),w=t=>V(M(t)),M=t=>Array.from(t.children).filter(e=>"ION-ROUTE"===e.tagName&&e.component).map(e=>{const n=S(e,"component");return{segments:g(S(e,"url")).segments,id:n.toLowerCase(),params:e.componentProps,beforeLeave:e.beforeLeave,beforeEnter:e.beforeEnter,children:M(e)}}),V=t=>{const e=[];for(const n of t)W([],e,n);return e},W=(t,e,n)=>{if(t=[...t,{id:n.id,segments:n.segments,params:n.params,beforeLeave:n.beforeLeave,beforeEnter:n.beforeEnter}],0!==n.children.length)for(const r of n.children)W(t,e,r);else e.push(t)},tt=class{constructor(t){(0,d.r)(this,t),this.ionRouteWillChange=(0,d.d)(this,"ionRouteWillChange",7),this.ionRouteDidChange=(0,d.d)(this,"ionRouteDidChange",7),this.previousPath=null,this.busy=!1,this.state=0,this.lastState=0,this.root="/",this.useHash=!0}componentWillLoad(){var t=this;return(0,f.Z)(function*(){yield N(document.body)?Promise.resolve():new Promise(t=>{window.addEventListener("ionNavWillLoad",()=>t(),{once:!0})});const e=yield t.runGuards(t.getSegments());if(!0!==e){if("object"==typeof e){const{redirect:n}=e,r=g(n);t.setSegments(r.segments,l,r.queryString),yield t.writeNavStateRoot(r.segments,l)}}else yield t.onRoutesChanged()})()}componentDidLoad(){window.addEventListener("ionRouteRedirectChanged",(0,R.q)(this.onRedirectChanged.bind(this),10)),window.addEventListener("ionRouteDataChanged",(0,R.q)(this.onRoutesChanged.bind(this),100))}onPopState(){var t=this;return(0,f.Z)(function*(){const e=t.historyDirection();let n=t.getSegments();const r=yield t.runGuards(n);if(!0!==r){if("object"!=typeof r)return!1;n=g(r.redirect).segments}return t.writeNavStateRoot(n,e)})()}onBackButton(t){t.detail.register(0,e=>{this.back(),e()})}canTransition(){var t=this;return(0,f.Z)(function*(){const e=yield t.runGuards();return!0===e||"object"==typeof e&&e.redirect})()}push(t,e="forward",n){var r=this;return(0,f.Z)(function*(){var o;if(t.startsWith(".")){const a=null!==(o=r.previousPath)&&void 0!==o?o:"/",u=new URL(t,`https://host/${a}`);t=u.pathname+u.search}let s=g(t);const i=yield r.runGuards(s.segments);if(!0!==i){if("object"!=typeof i)return!1;s=g(i.redirect)}return r.setSegments(s.segments,e,s.queryString),r.writeNavStateRoot(s.segments,e,n)})()}back(){return window.history.back(),Promise.resolve(this.waitPromise)}printDebug(){var t=this;return(0,f.Z)(function*(){(t=>{console.group(`[ion-core] ROUTES[${t.length}]`);for(const e of t){const n=[];e.forEach(o=>n.push(...o.segments));const r=e.map(o=>o.id);console.debug(`%c ${_(n)}`,"font-weight: bold; padding-left: 20px","=>\t",`(${r.join(", ")})`)}console.groupEnd()})(w(t.el)),(t=>{console.group(`[ion-core] REDIRECTS[${t.length}]`);for(const e of t)e.to&&console.debug("FROM: ",`$c ${_(e.from)}`,"font-weight: bold"," TO: ",`$c ${_(e.to.segments)}`,"font-weight: bold");console.groupEnd()})(k(t.el))})()}navChanged(t){var e=this;return(0,f.Z)(function*(){if(e.busy)return console.warn("[ion-router] router is busy, navChanged was cancelled"),!1;const{ids:n,outlet:r}=yield K(window.document.body),s=((t,e)=>{let n=null,r=0;for(const o of e){const s=q(t,o);s>r&&(n=o,r=s)}return n?n.map((o,s)=>{var i;return{id:o.id,segments:o.segments,params:I(o.params,null===(i=t[s])||void 0===i?void 0:i.params)}}):null})(n,w(e.el));if(!s)return console.warn("[ion-router] no matching URL for ",n.map(a=>a.id)),!1;const i=(t=>{const e=[];for(const n of t)for(const r of n.segments)if(":"===r[0]){const o=n.params&&n.params[r.slice(1)];if(!o)return null;e.push(o)}else""!==r&&e.push(r);return e})(s);return i?(e.setSegments(i,t),yield e.safeWriteNavState(r,s,l,i,null,n.length),!0):(console.warn("[ion-router] router could not match path because some required param is missing"),!1)})()}onRedirectChanged(){const t=this.getSegments();t&&j(t,k(this.el))&&this.writeNavStateRoot(t,l)}onRoutesChanged(){return this.writeNavStateRoot(this.getSegments(),l)}historyDirection(){var t;const e=window;null===e.history.state&&(this.state++,e.history.replaceState(this.state,e.document.title,null===(t=e.document.location)||void 0===t?void 0:t.href));const n=e.history.state,r=this.lastState;return this.lastState=n,n>r||n>=r&&r>0?h:nn=r),void 0!==e&&(yield e),n})()}runGuards(t=this.getSegments(),e){var n=this;return(0,f.Z)(function*(){if(void 0===e&&(e=g(n.previousPath).segments),!t||!e)return!0;const r=w(n.el),o=O(e,r),s=o&&o[o.length-1].beforeLeave,i=!s||(yield s());if(!1===i||"object"==typeof i)return i;const a=O(t,r),u=a&&a[a.length-1].beforeEnter;return!u||u()})()}writeNavState(t,e,n,r,o,s=0,i){var a=this;return(0,f.Z)(function*(){if(a.busy)return console.warn("[ion-router] router is busy, transition was cancelled"),!1;a.busy=!0;const u=a.routeChangeEvent(r,o);u&&a.ionRouteWillChange.emit(u);const c=yield T(t,e,n,s,!1,i);return a.busy=!1,u&&a.ionRouteDidChange.emit(u),c})()}setSegments(t,e,n){this.state++,((t,e,n,r,o,s,i)=>{const a=((t,e,n)=>{let r=_(t);return e&&(r="#"+r),void 0!==n&&(r+="?"+n),r})([...g(e).segments,...r],n,i);o===h?t.pushState(s,"",a):t.replaceState(s,"",a)})(window.history,this.root,this.useHash,t,e,this.state,n)}getSegments(){return((t,e,n)=>{const r=g(this.root).segments,o=n?t.hash.slice(1):t.pathname;return((t,e)=>{if(t.length>e.length)return null;if(t.length<=1&&""===t[0])return e;for(let n=0;n{(0,C.o)(this.href,e,this.routerDirection,this.routerAnimation)},this.color=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0}render(){const t=(0,P.b)(this),e={href:this.href,rel:this.rel,target:this.target};return(0,d.h)(d.H,{onClick:this.onClick,class:(0,C.c)(this.color,{[t]:!0,"ion-activatable":!0})},(0,d.h)("a",Object.assign({},e),(0,d.h)("slot",null)))}};x.style=":host{--background:transparent;--color:var(--ion-color-primary, #3880ff);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}"},2997:(A,y,p)=>{p.d(y,{c:()=>R,g:()=>P,h:()=>d,o:()=>L});var f=p(5861);const d=(l,h)=>null!==h.closest(l),R=(l,h)=>"string"==typeof l&&l.length>0?Object.assign({"ion-color":!0,[`ion-color-${l}`]:!0},h):h,P=l=>{const h={};return(l=>void 0!==l?(Array.isArray(l)?l:l.split(" ")).filter(m=>null!=m).map(m=>m.trim()).filter(m=>""!==m):[])(l).forEach(m=>h[m]=!0),h},D=/^[a-z][a-z0-9+\-.]*:/,L=function(){var l=(0,f.Z)(function*(h,m,_,E){if(null!=h&&"#"!==h[0]&&!D.test(h)){const b=document.querySelector("ion-router");if(b)return m?.preventDefault(),b.push(h,_,E)}return!1});return function(m,_,E,b){return l.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4330.8e0ae99b0e8fc0a1.js b/4330.8e0ae99b0e8fc0a1.js new file mode 100644 index 00000000..e69304e0 --- /dev/null +++ b/4330.8e0ae99b0e8fc0a1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4330],{4330:(A,y,p)=>{p.r(y),p.d(y,{ion_route:()=>D,ion_route_redirect:()=>L,ion_router:()=>tt,ion_router_link:()=>x});var f=p(5861),d=p(408),R=p(2961),C=p(3814),P=p(4649);const D=class{constructor(t){(0,d.r)(this,t),this.ionRouteDataChanged=(0,d.d)(this,"ionRouteDataChanged",7),this.url="",this.component=void 0,this.componentProps=void 0,this.beforeLeave=void 0,this.beforeEnter=void 0}onUpdate(t){this.ionRouteDataChanged.emit(t)}onComponentProps(t,e){if(t===e)return;const n=t?Object.keys(t):[],r=e?Object.keys(e):[];if(n.length===r.length){for(const o of n)if(t[o]!==e[o])return void this.onUpdate(t)}else this.onUpdate(t)}connectedCallback(){this.ionRouteDataChanged.emit()}static get watchers(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}}},L=class{constructor(t){(0,d.r)(this,t),this.ionRouteRedirectChanged=(0,d.d)(this,"ionRouteRedirectChanged",7),this.from=void 0,this.to=void 0}propDidChange(){this.ionRouteRedirectChanged.emit()}connectedCallback(){this.ionRouteRedirectChanged.emit()}static get watchers(){return{from:["propDidChange"],to:["propDidChange"]}}},l="root",h="forward",_=t=>"/"+t.filter(n=>n.length>0).join("/"),g=t=>{let n,e=[""];if(null!=t){const r=t.indexOf("?");r>-1&&(n=t.substring(r+1),t=t.substring(0,r)),e=t.split("/").map(o=>o.trim()).filter(o=>o.length>0),0===e.length&&(e=[""])}return{segments:e,queryString:n}},T=function(){var t=(0,f.Z)(function*(e,n,r,o,s=!1,i){try{const a=N(e);if(o>=n.length||!a)return s;yield new Promise(v=>(0,R.c)(a,v));const u=n[o],c=yield a.setRouteId(u.id,u.params,r,i);return c.changed&&(r=l,s=!0),s=yield T(c.element,n,r,o+1,s,i),c.markVisible&&(yield c.markVisible()),s}catch(a){return console.error(a),!1}});return function(n,r,o,s){return t.apply(this,arguments)}}(),K=function(){var t=(0,f.Z)(function*(e){const n=[];let r,o=e;for(;r=N(o);){const s=yield r.getRouteId();if(!s)break;o=s.element,s.element=void 0,n.push(s)}return{ids:n,outlet:r}});return function(n){return t.apply(this,arguments)}}(),U=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet",N=t=>{if(t)return t.matches(U)?t:t.querySelector(U)??void 0},j=(t,e)=>e.find(n=>((t,e)=>{const{from:n,to:r}=e;if(void 0===r||n.length>t.length)return!1;for(let o=0;o{const n=Math.min(t.length,e.length);let r=0;for(let o=0;o`:${c}`);for(let c=0;c{const n=new Y(t);let o,r=!1;for(let i=0;i({id:i.id,segments:i.segments,params:I(i.params,o[a]),beforeEnter:i.beforeEnter,beforeLeave:i.beforeLeave})):e},I=(t,e)=>t||e?Object.assign(Object.assign({},t),e):void 0,O=(t,e)=>{let n=null,r=0;for(const o of e){const s=J(t,o);if(null!==s){const i=X(s);i>r&&(r=i,n=s)}}return n},X=t=>{let e=1,n=1;for(const r of t)for(const o of r.segments)":"===o[0]?e+=Math.pow(1,n):""!==o&&(e+=Math.pow(2,n)),n++;return e};class Y{constructor(e){this.segments=e.slice()}next(){return this.segments.length>0?this.segments.shift():""}}const S=(t,e)=>e in t?t[e]:t.hasAttribute(e)?t.getAttribute(e):null,k=t=>Array.from(t.children).filter(e=>"ION-ROUTE-REDIRECT"===e.tagName).map(e=>{const n=S(e,"to");return{from:g(S(e,"from")).segments,to:null==n?void 0:g(n)}}),w=t=>V(M(t)),M=t=>Array.from(t.children).filter(e=>"ION-ROUTE"===e.tagName&&e.component).map(e=>{const n=S(e,"component");return{segments:g(S(e,"url")).segments,id:n.toLowerCase(),params:e.componentProps,beforeLeave:e.beforeLeave,beforeEnter:e.beforeEnter,children:M(e)}}),V=t=>{const e=[];for(const n of t)W([],e,n);return e},W=(t,e,n)=>{if(t=[...t,{id:n.id,segments:n.segments,params:n.params,beforeLeave:n.beforeLeave,beforeEnter:n.beforeEnter}],0!==n.children.length)for(const r of n.children)W(t,e,r);else e.push(t)},tt=class{constructor(t){(0,d.r)(this,t),this.ionRouteWillChange=(0,d.d)(this,"ionRouteWillChange",7),this.ionRouteDidChange=(0,d.d)(this,"ionRouteDidChange",7),this.previousPath=null,this.busy=!1,this.state=0,this.lastState=0,this.root="/",this.useHash=!0}componentWillLoad(){var t=this;return(0,f.Z)(function*(){yield N(document.body)?Promise.resolve():new Promise(t=>{window.addEventListener("ionNavWillLoad",()=>t(),{once:!0})});const e=yield t.runGuards(t.getSegments());if(!0!==e){if("object"==typeof e){const{redirect:n}=e,r=g(n);t.setSegments(r.segments,l,r.queryString),yield t.writeNavStateRoot(r.segments,l)}}else yield t.onRoutesChanged()})()}componentDidLoad(){window.addEventListener("ionRouteRedirectChanged",(0,R.q)(this.onRedirectChanged.bind(this),10)),window.addEventListener("ionRouteDataChanged",(0,R.q)(this.onRoutesChanged.bind(this),100))}onPopState(){var t=this;return(0,f.Z)(function*(){const e=t.historyDirection();let n=t.getSegments();const r=yield t.runGuards(n);if(!0!==r){if("object"!=typeof r)return!1;n=g(r.redirect).segments}return t.writeNavStateRoot(n,e)})()}onBackButton(t){t.detail.register(0,e=>{this.back(),e()})}canTransition(){var t=this;return(0,f.Z)(function*(){const e=yield t.runGuards();return!0===e||"object"==typeof e&&e.redirect})()}push(t,e="forward",n){var r=this;return(0,f.Z)(function*(){var o;if(t.startsWith(".")){const a=null!==(o=r.previousPath)&&void 0!==o?o:"/",u=new URL(t,`https://host/${a}`);t=u.pathname+u.search}let s=g(t);const i=yield r.runGuards(s.segments);if(!0!==i){if("object"!=typeof i)return!1;s=g(i.redirect)}return r.setSegments(s.segments,e,s.queryString),r.writeNavStateRoot(s.segments,e,n)})()}back(){return window.history.back(),Promise.resolve(this.waitPromise)}printDebug(){var t=this;return(0,f.Z)(function*(){(t=>{console.group(`[ion-core] ROUTES[${t.length}]`);for(const e of t){const n=[];e.forEach(o=>n.push(...o.segments));const r=e.map(o=>o.id);console.debug(`%c ${_(n)}`,"font-weight: bold; padding-left: 20px","=>\t",`(${r.join(", ")})`)}console.groupEnd()})(w(t.el)),(t=>{console.group(`[ion-core] REDIRECTS[${t.length}]`);for(const e of t)e.to&&console.debug("FROM: ",`$c ${_(e.from)}`,"font-weight: bold"," TO: ",`$c ${_(e.to.segments)}`,"font-weight: bold");console.groupEnd()})(k(t.el))})()}navChanged(t){var e=this;return(0,f.Z)(function*(){if(e.busy)return console.warn("[ion-router] router is busy, navChanged was cancelled"),!1;const{ids:n,outlet:r}=yield K(window.document.body),s=((t,e)=>{let n=null,r=0;for(const o of e){const s=q(t,o);s>r&&(n=o,r=s)}return n?n.map((o,s)=>{var i;return{id:o.id,segments:o.segments,params:I(o.params,null===(i=t[s])||void 0===i?void 0:i.params)}}):null})(n,w(e.el));if(!s)return console.warn("[ion-router] no matching URL for ",n.map(a=>a.id)),!1;const i=(t=>{const e=[];for(const n of t)for(const r of n.segments)if(":"===r[0]){const o=n.params&&n.params[r.slice(1)];if(!o)return null;e.push(o)}else""!==r&&e.push(r);return e})(s);return i?(e.setSegments(i,t),yield e.safeWriteNavState(r,s,l,i,null,n.length),!0):(console.warn("[ion-router] router could not match path because some required param is missing"),!1)})()}onRedirectChanged(){const t=this.getSegments();t&&j(t,k(this.el))&&this.writeNavStateRoot(t,l)}onRoutesChanged(){return this.writeNavStateRoot(this.getSegments(),l)}historyDirection(){var t;const e=window;null===e.history.state&&(this.state++,e.history.replaceState(this.state,e.document.title,null===(t=e.document.location)||void 0===t?void 0:t.href));const n=e.history.state,r=this.lastState;return this.lastState=n,n>r||n>=r&&r>0?h:nn=r),void 0!==e&&(yield e),n})()}runGuards(t=this.getSegments(),e){var n=this;return(0,f.Z)(function*(){if(void 0===e&&(e=g(n.previousPath).segments),!t||!e)return!0;const r=w(n.el),o=O(e,r),s=o&&o[o.length-1].beforeLeave,i=!s||(yield s());if(!1===i||"object"==typeof i)return i;const a=O(t,r),u=a&&a[a.length-1].beforeEnter;return!u||u()})()}writeNavState(t,e,n,r,o,s=0,i){var a=this;return(0,f.Z)(function*(){if(a.busy)return console.warn("[ion-router] router is busy, transition was cancelled"),!1;a.busy=!0;const u=a.routeChangeEvent(r,o);u&&a.ionRouteWillChange.emit(u);const c=yield T(t,e,n,s,!1,i);return a.busy=!1,u&&a.ionRouteDidChange.emit(u),c})()}setSegments(t,e,n){this.state++,((t,e,n,r,o,s,i)=>{const a=((t,e,n)=>{let r=_(t);return e&&(r="#"+r),void 0!==n&&(r+="?"+n),r})([...g(e).segments,...r],n,i);o===h?t.pushState(s,"",a):t.replaceState(s,"",a)})(window.history,this.root,this.useHash,t,e,this.state,n)}getSegments(){return((t,e,n)=>{const r=g(this.root).segments,o=n?t.hash.slice(1):t.pathname;return((t,e)=>{if(t.length>e.length)return null;if(t.length<=1&&""===t[0])return e;for(let n=0;n{(0,C.o)(this.href,e,this.routerDirection,this.routerAnimation)},this.color=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0}render(){const t=(0,P.b)(this),e={href:this.href,rel:this.rel,target:this.target};return(0,d.h)(d.H,{onClick:this.onClick,class:(0,C.c)(this.color,{[t]:!0,"ion-activatable":!0})},(0,d.h)("a",Object.assign({},e),(0,d.h)("slot",null)))}};x.style=":host{--background:transparent;--color:var(--ion-color-primary, #3880ff);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}"},3814:(A,y,p)=>{p.d(y,{c:()=>R,g:()=>P,h:()=>d,o:()=>L});var f=p(5861);const d=(l,h)=>null!==h.closest(l),R=(l,h)=>"string"==typeof l&&l.length>0?Object.assign({"ion-color":!0,[`ion-color-${l}`]:!0},h):h,P=l=>{const h={};return(l=>void 0!==l?(Array.isArray(l)?l:l.split(" ")).filter(m=>null!=m).map(m=>m.trim()).filter(m=>""!==m):[])(l).forEach(m=>h[m]=!0),h},D=/^[a-z][a-z0-9+\-.]*:/,L=function(){var l=(0,f.Z)(function*(h,m,_,E){if(null!=h&&"#"!==h[0]&&!D.test(h)){const b=document.querySelector("ion-router");if(b)return m?.preventDefault(),b.push(h,_,E)}return!1});return function(m,_,E,b){return l.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4376.1d32d77a106d0412.js b/4376.1d32d77a106d0412.js new file mode 100644 index 00000000..4fe89446 --- /dev/null +++ b/4376.1d32d77a106d0412.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4376],{4376:(d,u,e)=>{e.r(u),e.d(u,{ion_text:()=>l});var r=e(408),_=e(3814),c=e(4649);const l=class{constructor(s){(0,r.r)(this,s),this.color=void 0}render(){const s=(0,c.b)(this);return(0,r.h)(r.H,{class:(0,_.c)(this.color,{[s]:!0})},(0,r.h)("slot",null))}};l.style=":host(.ion-color){color:var(--ion-color-base)}"},3814:(d,u,e)=>{e.d(u,{c:()=>c,g:()=>l,h:()=>_,o:()=>p});var r=e(5861);const _=(t,n)=>null!==n.closest(t),c=(t,n)=>"string"==typeof t&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},n):n,l=t=>{const n={};return(t=>void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter(o=>null!=o).map(o=>o.trim()).filter(o=>""!==o):[])(t).forEach(o=>n[o]=!0),n},s=/^[a-z][a-z0-9+\-.]*:/,p=function(){var t=(0,r.Z)(function*(n,o,f,h){if(null!=n&&"#"!==n[0]&&!s.test(n)){const i=document.querySelector("ion-router");if(i)return o?.preventDefault(),i.push(n,f,h)}return!1});return function(o,f,h,i){return t.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4376.d898196a6f88beaf.js b/4376.d898196a6f88beaf.js deleted file mode 100644 index 44e445c1..00000000 --- a/4376.d898196a6f88beaf.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4376],{4376:(d,u,o)=>{o.r(u),o.d(u,{ion_text:()=>l});var r=o(1071),_=o(2997),c=o(7263);const l=class{constructor(s){(0,r.r)(this,s),this.color=void 0}render(){const s=(0,c.b)(this);return(0,r.h)(r.H,{class:(0,_.c)(this.color,{[s]:!0})},(0,r.h)("slot",null))}};l.style=":host(.ion-color){color:var(--ion-color-base)}"},2997:(d,u,o)=>{o.d(u,{c:()=>c,g:()=>l,h:()=>_,o:()=>p});var r=o(5861);const _=(t,n)=>null!==n.closest(t),c=(t,n)=>"string"==typeof t&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},n):n,l=t=>{const n={};return(t=>void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter(e=>null!=e).map(e=>e.trim()).filter(e=>""!==e):[])(t).forEach(e=>n[e]=!0),n},s=/^[a-z][a-z0-9+\-.]*:/,p=function(){var t=(0,r.Z)(function*(n,e,f,h){if(null!=n&&"#"!==n[0]&&!s.test(n)){const i=document.querySelector("ion-router");if(i)return e?.preventDefault(),i.push(n,f,h)}return!1});return function(e,f,h,i){return t.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/438.5354f696b7473f9c.js b/438.5354f696b7473f9c.js deleted file mode 100644 index fec15378..00000000 --- a/438.5354f696b7473f9c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[438],{438:(C,h,a)=>{a.r(h),a.d(h,{ion_tab_bar:()=>b,ion_tab_button:()=>v});var g=a(5861),o=a(1071),f=a(323),x=a(2997),d=a(7263),m=a(2674);a(7693),a(2433),a(6447);const b=class{constructor(t){(0,o.r)(this,t),this.ionTabBarChanged=(0,o.d)(this,"ionTabBarChanged",7),this.keyboardCtrl=null,this.keyboardVisible=!1,this.color=void 0,this.selectedTab=void 0,this.translucent=!1}selectedTabChanged(){void 0!==this.selectedTab&&this.ionTabBarChanged.emit({tab:this.selectedTab})}componentWillLoad(){this.selectedTabChanged()}connectedCallback(){var t=this;return(0,g.Z)(function*(){t.keyboardCtrl=yield(0,f.c)(function(){var e=(0,g.Z)(function*(s,l){!1===s&&void 0!==l&&(yield l),t.keyboardVisible=s});return function(s,l){return e.apply(this,arguments)}}())})()}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}render(){const{color:t,translucent:e,keyboardVisible:s}=this,l=(0,d.b)(this),u=s&&"top"!==this.el.getAttribute("slot");return(0,o.h)(o.H,{role:"tablist","aria-hidden":u?"true":null,class:(0,x.c)(t,{[l]:!0,"tab-bar-translucent":e,"tab-bar-hidden":u})},(0,o.h)("slot",null))}get el(){return(0,o.f)(this)}static get watchers(){return{selectedTab:["selectedTabChanged"]}}};b.style={ios:":host{-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-color-step-50, #f7f7f7));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, #666666));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:50px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.tab-bar-translucent){--background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(210%) blur(20px);backdrop-filter:saturate(210%) blur(20px)}:host(.ion-color.tab-bar-translucent){background:rgba(var(--ion-color-base-rgb), 0.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.6)}}",md:":host{-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:1px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.07))));--color:var(--ion-tab-bar-color, var(--ion-color-step-650, #595959));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:56px}"};const v=class{constructor(t){(0,o.r)(this,t),this.ionTabButtonClick=(0,o.d)(this,"ionTabButtonClick",7),this.inheritedAttributes={},this.onKeyUp=e=>{("Enter"===e.key||" "===e.key)&&this.selectTab(e)},this.onClick=e=>{this.selectTab(e)},this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.layout=void 0,this.selected=!1,this.tab=void 0,this.target=void 0}onTabBarChanged(t){const e=t.target,s=this.el.parentElement;(t.composedPath().includes(s)||e?.contains(this.el))&&(this.selected=this.tab===t.detail.tab)}componentWillLoad(){this.inheritedAttributes=Object.assign({},(0,m.k)(this.el,["aria-label"])),void 0===this.layout&&(this.layout=d.c.get("tabButtonLayout","icon-top"))}selectTab(t){void 0!==this.tab&&(this.disabled||this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected}),t.preventDefault())}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}render(){const{disabled:t,hasIcon:e,hasLabel:s,href:l,rel:u,target:E,layout:T,selected:k,tab:_,inheritedAttributes:B}=this,w=(0,d.b)(this);return(0,o.h)(o.H,{onClick:this.onClick,onKeyup:this.onKeyUp,id:void 0!==_?`tab-button-${_}`:null,class:{[w]:!0,"tab-selected":k,"tab-disabled":t,"tab-has-label":s,"tab-has-icon":e,"tab-has-label-only":s&&!e,"tab-has-icon-only":e&&!s,[`tab-layout-${T}`]:!0,"ion-activatable":!0,"ion-selectable":!0,"ion-focusable":!0}},(0,o.h)("a",Object.assign({},{download:this.download,href:l,rel:u,target:E},{class:"button-native",part:"native",role:"tab","aria-selected":k?"true":null,"aria-disabled":t?"true":null,tabindex:t?"-1":void 0},B),(0,o.h)("span",{class:"button-inner"},(0,o.h)("slot",null)),"md"===w&&(0,o.h)("ion-ripple-effect",{type:"unbounded"})))}get el(){return(0,o.f)(this)}};v.style={ios:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:1px;padding-bottom:1px;top:4px;height:auto;font-size:12px;line-height:16px}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:30px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:calc(50% + 12px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:calc(50% + 12px)}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 12px)}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:calc(50% + 35px)}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start) ::slotted(ion-badge):dir(rtl),:host(.tab-layout-icon-end) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 35px)}}}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:calc(50% + 30px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:calc(50% + 30px)}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide) ::slotted(ion-badge):dir(rtl),:host(.tab-has-label-only) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 30px)}}}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}',md:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;-webkit-transform-origin:center center;transform-origin:center center;font-size:22px}:host-context([dir=rtl]) ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){::slotted(ion-icon):dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}::slotted(ion-badge){border-radius:8px;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;padding-top:3px;padding-bottom:2px;top:8px;min-width:12px;font-size:8px;font-weight:normal}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){top:8px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:80%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:80%}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:80%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start) ::slotted(ion-badge):dir(rtl),:host(.tab-layout-icon-end) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:80%}}}:host(.tab-layout-icon-start) ::slotted(ion-icon){-webkit-margin-end:6px;margin-inline-end:6px}:host(.tab-layout-icon-end) ::slotted(ion-icon){-webkit-margin-start:6px;margin-inline-start:6px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide) ::slotted(ion-badge):dir(rtl),:host(.tab-has-label-only) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}'}},2997:(C,h,a)=>{a.d(h,{c:()=>f,g:()=>d,h:()=>o,o:()=>y});var g=a(5861);const o=(n,i)=>null!==i.closest(n),f=(n,i)=>"string"==typeof n&&n.length>0?Object.assign({"ion-color":!0,[`ion-color-${n}`]:!0},i):i,d=n=>{const i={};return(n=>void 0!==n?(Array.isArray(n)?n:n.split(" ")).filter(r=>null!=r).map(r=>r.trim()).filter(r=>""!==r):[])(n).forEach(r=>i[r]=!0),i},m=/^[a-z][a-z0-9+\-.]*:/,y=function(){var n=(0,g.Z)(function*(i,r,p,b){if(null!=i&&"#"!==i[0]&&!m.test(i)){const c=document.querySelector("ion-router");if(c)return r?.preventDefault(),c.push(i,p,b)}return!1});return function(r,p,b,c){return n.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/438.5ddc36fefb3df952.js b/438.5ddc36fefb3df952.js new file mode 100644 index 00000000..0e00a435 --- /dev/null +++ b/438.5ddc36fefb3df952.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[438],{438:(C,h,a)=>{a.r(h),a.d(h,{ion_tab_bar:()=>b,ion_tab_button:()=>v});var u=a(5861),t=a(408),f=a(2930),x=a(3814),d=a(4649),m=a(2961);a(2972),a(3037),a(6319);const b=class{constructor(o){(0,t.r)(this,o),this.ionTabBarChanged=(0,t.d)(this,"ionTabBarChanged",7),this.ionTabBarLoaded=(0,t.d)(this,"ionTabBarLoaded",7),this.keyboardCtrl=null,this.keyboardVisible=!1,this.color=void 0,this.selectedTab=void 0,this.translucent=!1}selectedTabChanged(){void 0!==this.selectedTab&&this.ionTabBarChanged.emit({tab:this.selectedTab})}componentWillLoad(){this.selectedTabChanged()}connectedCallback(){var o=this;return(0,u.Z)(function*(){o.keyboardCtrl=yield(0,f.c)(function(){var e=(0,u.Z)(function*(s,l){!1===s&&void 0!==l&&(yield l),o.keyboardVisible=s});return function(s,l){return e.apply(this,arguments)}}())})()}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}componentDidLoad(){this.ionTabBarLoaded.emit()}render(){const{color:o,translucent:e,keyboardVisible:s}=this,l=(0,d.b)(this),p=s&&"top"!==this.el.getAttribute("slot");return(0,t.h)(t.H,{role:"tablist","aria-hidden":p?"true":null,class:(0,x.c)(o,{[l]:!0,"tab-bar-translucent":e,"tab-bar-hidden":p})},(0,t.h)("slot",null))}get el(){return(0,t.f)(this)}static get watchers(){return{selectedTab:["selectedTabChanged"]}}};b.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-color-step-50, #f7f7f7));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, #666666));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:50px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.tab-bar-translucent){--background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(210%) blur(20px);backdrop-filter:saturate(210%) blur(20px)}:host(.ion-color.tab-bar-translucent){background:rgba(var(--ion-color-base-rgb), 0.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.6)}}",md:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:1px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.07))));--color:var(--ion-tab-bar-color, var(--ion-color-step-650, #595959));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:56px}"};const v=class{constructor(o){(0,t.r)(this,o),this.ionTabButtonClick=(0,t.d)(this,"ionTabButtonClick",7),this.inheritedAttributes={},this.onKeyUp=e=>{("Enter"===e.key||" "===e.key)&&this.selectTab(e)},this.onClick=e=>{this.selectTab(e)},this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.layout=void 0,this.selected=!1,this.tab=void 0,this.target=void 0}onTabBarChanged(o){const e=o.target,s=this.el.parentElement;(o.composedPath().includes(s)||e?.contains(this.el))&&(this.selected=this.tab===o.detail.tab)}componentWillLoad(){this.inheritedAttributes=Object.assign({},(0,m.k)(this.el,["aria-label"])),void 0===this.layout&&(this.layout=d.c.get("tabButtonLayout","icon-top"))}selectTab(o){void 0!==this.tab&&(this.disabled||this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected}),o.preventDefault())}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}render(){const{disabled:o,hasIcon:e,hasLabel:s,href:l,rel:p,target:E,layout:T,selected:k,tab:_,inheritedAttributes:B}=this,w=(0,d.b)(this);return(0,t.h)(t.H,{onClick:this.onClick,onKeyup:this.onKeyUp,id:void 0!==_?`tab-button-${_}`:null,class:{[w]:!0,"tab-selected":k,"tab-disabled":o,"tab-has-label":s,"tab-has-icon":e,"tab-has-label-only":s&&!e,"tab-has-icon-only":e&&!s,[`tab-layout-${T}`]:!0,"ion-activatable":!0,"ion-selectable":!0,"ion-focusable":!0}},(0,t.h)("a",Object.assign({},{download:this.download,href:l,rel:p,target:E},{class:"button-native",part:"native",role:"tab","aria-selected":k?"true":null,"aria-disabled":o?"true":null,tabindex:o?"-1":void 0},B),(0,t.h)("span",{class:"button-inner"},(0,t.h)("slot",null)),"md"===w&&(0,t.h)("ion-ripple-effect",{type:"unbounded"})))}get el(){return(0,t.f)(this)}};v.style={ios:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:1px;padding-bottom:1px;top:4px;height:auto;font-size:12px;line-height:16px}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:30px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:calc(50% + 12px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:calc(50% + 12px)}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:calc(50% + 35px)}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start:dir(rtl)) ::slotted(ion-badge),:host(.tab-layout-icon-end:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}}}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:calc(50% + 30px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:calc(50% + 30px)}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide:dir(rtl)) ::slotted(ion-badge),:host(.tab-has-label-only:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}}}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}',md:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;-webkit-transform-origin:center center;transform-origin:center center;font-size:22px}:host-context([dir=rtl]) ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){::slotted(ion-icon):dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}::slotted(ion-badge){border-radius:8px;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;padding-top:3px;padding-bottom:2px;top:8px;min-width:12px;font-size:8px;font-weight:normal}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){top:8px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:80%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:80%}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:80%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start:dir(rtl)) ::slotted(ion-badge),:host(.tab-layout-icon-end:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:80%}}}:host(.tab-layout-icon-start) ::slotted(ion-icon){-webkit-margin-end:6px;margin-inline-end:6px}:host(.tab-layout-icon-end) ::slotted(ion-icon){-webkit-margin-start:6px;margin-inline-start:6px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide:dir(rtl)) ::slotted(ion-badge),:host(.tab-has-label-only:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}'}},3814:(C,h,a)=>{a.d(h,{c:()=>f,g:()=>d,h:()=>t,o:()=>y});var u=a(5861);const t=(n,i)=>null!==i.closest(n),f=(n,i)=>"string"==typeof n&&n.length>0?Object.assign({"ion-color":!0,[`ion-color-${n}`]:!0},i):i,d=n=>{const i={};return(n=>void 0!==n?(Array.isArray(n)?n:n.split(" ")).filter(r=>null!=r).map(r=>r.trim()).filter(r=>""!==r):[])(n).forEach(r=>i[r]=!0),i},m=/^[a-z][a-z0-9+\-.]*:/,y=function(){var n=(0,u.Z)(function*(i,r,g,b){if(null!=i&&"#"!==i[0]&&!m.test(i)){const c=document.querySelector("ion-router");if(c)return r?.preventDefault(),c.push(i,g,b)}return!1});return function(r,g,b,c){return n.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4432.6917b3d253d37db8.js b/4432.6917b3d253d37db8.js deleted file mode 100644 index f92035da..00000000 --- a/4432.6917b3d253d37db8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4432],{4432:(E,y,h)=>{h.r(y),h.d(y,{ion_radio:()=>l,ion_radio_group:()=>v});var b=h(5861),r=h(1071),_=h(479),p=h(2674),w=h(3357),u=h(2997),g=h(7263);const l=class{constructor(e){(0,r.r)(this,e),this.ionStyle=(0,r.d)(this,"ionStyle",7),this.ionFocus=(0,r.d)(this,"ionFocus",7),this.ionBlur=(0,r.d)(this,"ionBlur",7),this.inputId="ion-rb-"+k++,this.radioGroup=null,this.hasLoggedDeprecationWarning=!1,this.updateState=()=>{this.radioGroup&&(this.checked=this.radioGroup.value===this.value)},this.onClick=()=>{const{radioGroup:t,checked:i}=this;this.checked=this.legacyFormController.hasLegacyControl()?this.nativeInput.checked:!i||!t?.allowEmptySelection},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.checked=!1,this.buttonTabindex=-1,this.color=void 0,this.name=this.inputId,this.disabled=!1,this.value=void 0,this.labelPlacement="start",this.legacy=void 0,this.justify="space-between"}valueChanged(){this.updateState()}setFocus(e){var t=this;return(0,b.Z)(function*(){e.stopPropagation(),e.preventDefault(),t.el.focus()})()}setButtonTabindex(e){var t=this;return(0,b.Z)(function*(){t.buttonTabindex=e})()}connectedCallback(){this.legacyFormController=(0,_.c)(this.el),void 0===this.value&&(this.value=this.inputId);const e=this.radioGroup=this.el.closest("ion-radio-group");e&&(this.updateState(),(0,p.a)(e,"ionValueChange",this.updateState))}disconnectedCallback(){const e=this.radioGroup;e&&((0,p.b)(e,"ionValueChange",this.updateState),this.radioGroup=null)}componentWillLoad(){this.emitStyle()}styleChanged(){this.emitStyle()}emitStyle(){const e={"interactive-disabled":this.disabled};this.legacyFormController.hasLegacyControl()&&(e["radio-checked"]=this.checked),this.ionStyle.emit(e)}get hasLabel(){return""!==this.el.textContent}renderRadioControl(){return(0,r.h)("div",{class:"radio-icon",part:"container"},(0,r.h)("div",{class:"radio-inner",part:"mark"}),(0,r.h)("div",{class:"radio-ripple"}))}render(){const{legacyFormController:e}=this;return e.hasLegacyControl()?this.renderLegacyRadio():this.renderRadio()}renderRadio(){const{checked:e,disabled:t,color:i,el:o,justify:d,labelPlacement:c,hasLabel:s,buttonTabindex:f}=this,C=(0,g.b)(this),x=(0,u.h)("ion-item",o);return(0,r.h)(r.H,{onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:(0,u.c)(i,{[C]:!0,"in-item":x,"radio-checked":e,"radio-disabled":t,[`radio-justify-${d}`]:!0,[`radio-label-placement-${c}`]:!0,"ion-activatable":!x,"ion-focusable":!x}),role:"radio","aria-checked":e?"true":"false","aria-disabled":t?"true":null,tabindex:f},(0,r.h)("label",{class:"radio-wrapper"},(0,r.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!s}},(0,r.h)("slot",null)),(0,r.h)("div",{class:"native-wrapper"},this.renderRadioControl())))}renderLegacyRadio(){this.hasLoggedDeprecationWarning||((0,w.p)('ion-radio now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: Option Label\nExample with aria-label: \n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,w.p)('ion-radio is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new radio syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{inputId:e,disabled:t,checked:i,color:o,el:d,buttonTabindex:c}=this,s=(0,g.b)(this),{label:f,labelId:C,labelText:x}=(0,p.e)(d,e);return(0,r.h)(r.H,{"aria-checked":`${i}`,"aria-hidden":t?"true":null,"aria-labelledby":f?C:null,role:"radio",tabindex:c,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:(0,u.c)(o,{[s]:!0,"in-item":(0,u.h)("ion-item",d),interactive:!0,"radio-checked":i,"radio-disabled":t,"legacy-radio":!0})},this.renderRadioControl(),(0,r.h)("label",{htmlFor:e},x),(0,r.h)("input",{type:"radio",checked:i,disabled:t,tabindex:"-1",id:e,ref:j=>this.nativeInput=j}))}get el(){return(0,r.f)(this)}static get watchers(){return{value:["valueChanged"],checked:["styleChanged"],color:["styleChanged"],disabled:["styleChanged"]}}};let k=0;l.style={ios:':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host{--color-checked:var(--ion-color-primary, #3880ff)}:host(.legacy-radio){width:15px;height:24px}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{-webkit-margin-start:0;margin-inline-start:0}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}@supports (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{inset-inline-start:-9px}}@supports not (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{left:-9px}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-9px}@supports selector(:dir(rtl)){:host(.ion-focused) .radio-icon::after:dir(rtl){left:unset;right:unset;right:-9px}}}:host(.in-item.legacy-radio){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:11px;margin-inline-end:11px;margin-top:8px;margin-bottom:8px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:21px;margin-inline-end:21px;margin-top:8px;margin-bottom:8px}.native-wrapper .radio-icon{width:15px;height:24px}',md:':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host{--color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #3880ff);--border-width:2px;--border-style:solid;--border-radius:50%}:host(.legacy-radio){width:20px;height:20px}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}:host(.legacy-radio.radio-disabled),:host(.radio-disabled) .label-text-wrapper{opacity:0.38}:host(.radio-disabled) .native-wrapper{opacity:0.63}:host(.ion-focused.legacy-radio) .radio-icon::after{top:-12px}@supports (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{inset-inline-start:-12px}}@supports not (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{left:-12px}:host-context([dir=rtl]):host(.ion-focused.legacy-radio) .radio-icon::after,:host-context([dir=rtl]).ion-focused.legacy-radio .radio-icon::after{left:unset;right:unset;right:-12px}@supports selector(:dir(rtl)){:host(.ion-focused.legacy-radio) .radio-icon::after:dir(rtl){left:unset;right:unset;right:-12px}}}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}:host(.in-item.legacy-radio){margin-left:0;margin-right:0;margin-top:9px;margin-bottom:9px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px;margin-top:11px;margin-bottom:10px}.native-wrapper .radio-icon{width:20px;height:20px}'};const v=class{constructor(e){(0,r.r)(this,e),this.ionChange=(0,r.d)(this,"ionChange",7),this.ionValueChange=(0,r.d)(this,"ionValueChange",7),this.inputId="ion-rg-"+m++,this.labelId=`${this.inputId}-lbl`,this.setRadioTabindex=t=>{const i=this.getRadios(),o=i.find(s=>!s.disabled),d=i.find(s=>s.value===t&&!s.disabled);if(!o&&!d)return;const c=d||o;for(const s of i)s.setButtonTabindex(s===c?0:-1)},this.onClick=t=>{t.preventDefault();const i=t.target&&t.target.closest("ion-radio");if(i){const d=i.value;d!==this.value?(this.value=d,this.emitValueChange(t)):this.allowEmptySelection&&(this.value=void 0,this.emitValueChange(t))}},this.allowEmptySelection=!1,this.name=this.inputId,this.value=void 0}valueChanged(e){this.setRadioTabindex(e),this.ionValueChange.emit({value:e})}componentDidLoad(){this.setRadioTabindex(this.value)}connectedCallback(){var e=this;return(0,b.Z)(function*(){const t=e.el.querySelector("ion-list-header")||e.el.querySelector("ion-item-divider");if(t){const i=e.label=t.querySelector("ion-label");i&&(e.labelId=i.id=e.name+"-lbl")}})()}getRadios(){return Array.from(this.el.querySelectorAll("ion-radio"))}emitValueChange(e){const{value:t}=this;this.ionChange.emit({value:t,event:e})}onKeydown(e){const t=!!this.el.closest("ion-select-popover");if(e.target&&!this.el.contains(e.target))return;const i=this.getRadios().filter(o=>!o.disabled);if(e.target&&i.includes(e.target)){const o=i.findIndex(s=>s===e.target),d=i[o];let c;if(["ArrowDown","ArrowRight"].includes(e.key)&&(c=o===i.length-1?i[0]:i[o+1]),["ArrowUp","ArrowLeft"].includes(e.key)&&(c=0===o?i[i.length-1]:i[o-1]),c&&i.includes(c)&&(c.setFocus(e),t||(this.value=c.value,this.emitValueChange(e))),[" "].includes(e.key)){const s=this.value;this.value=this.allowEmptySelection&&void 0!==this.value?void 0:d.value,(s!==this.value||this.allowEmptySelection)&&this.emitValueChange(e),e.preventDefault()}}}render(){const{label:e,labelId:t,el:i,name:o,value:d}=this,c=(0,g.b)(this);return(0,p.d)(!0,i,o,d,!1),(0,r.h)(r.H,{role:"radiogroup","aria-labelledby":e?t:null,onClick:this.onClick,class:c})}get el(){return(0,r.f)(this)}static get watchers(){return{value:["valueChanged"]}}};let m=0},2997:(E,y,h)=>{h.d(y,{c:()=>_,g:()=>w,h:()=>r,o:()=>g});var b=h(5861);const r=(a,n)=>null!==n.closest(a),_=(a,n)=>"string"==typeof a&&a.length>0?Object.assign({"ion-color":!0,[`ion-color-${a}`]:!0},n):n,w=a=>{const n={};return(a=>void 0!==a?(Array.isArray(a)?a:a.split(" ")).filter(l=>null!=l).map(l=>l.trim()).filter(l=>""!==l):[])(a).forEach(l=>n[l]=!0),n},u=/^[a-z][a-z0-9+\-.]*:/,g=function(){var a=(0,b.Z)(function*(n,l,k,v){if(null!=n&&"#"!==n[0]&&!u.test(n)){const m=document.querySelector("ion-router");if(m)return l?.preventDefault(),m.push(n,k,v)}return!1});return function(l,k,v,m){return a.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4432.85d212c11d878f8e.js b/4432.85d212c11d878f8e.js new file mode 100644 index 00000000..0f41c539 --- /dev/null +++ b/4432.85d212c11d878f8e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4432],{4432:(j,w,c)=>{c.r(w),c.d(w,{ion_radio:()=>b,ion_radio_group:()=>u});var g=c(5861),r=c(408),v=c(8134),h=c(2961),_=c(2890),y=c(8909),m=c(3814),o=c(4649);const b=class{constructor(e){(0,r.r)(this,e),this.ionStyle=(0,r.d)(this,"ionStyle",7),this.ionFocus=(0,r.d)(this,"ionFocus",7),this.ionBlur=(0,r.d)(this,"ionBlur",7),this.inputId="ion-rb-"+k++,this.radioGroup=null,this.hasLoggedDeprecationWarning=!1,this.updateState=()=>{if(this.radioGroup){const{compareWith:t,value:i}=this.radioGroup;this.checked=(0,_.i)(i,this.value,t)}},this.onClick=()=>{const{radioGroup:t,checked:i,disabled:a}=this;if(!a){if(this.legacyFormController.hasLegacyControl())return void(this.checked=this.nativeInput.checked);this.checked=!i||!t?.allowEmptySelection}},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.checked=!1,this.buttonTabindex=-1,this.color=void 0,this.name=this.inputId,this.disabled=!1,this.value=void 0,this.labelPlacement="start",this.legacy=void 0,this.justify="space-between",this.alignment="center"}valueChanged(){this.updateState()}setFocus(e){var t=this;return(0,g.Z)(function*(){e.stopPropagation(),e.preventDefault(),t.el.focus()})()}setButtonTabindex(e){var t=this;return(0,g.Z)(function*(){t.buttonTabindex=e})()}connectedCallback(){this.legacyFormController=(0,v.c)(this.el),void 0===this.value&&(this.value=this.inputId);const e=this.radioGroup=this.el.closest("ion-radio-group");e&&(this.updateState(),(0,h.a)(e,"ionValueChange",this.updateState))}disconnectedCallback(){const e=this.radioGroup;e&&((0,h.b)(e,"ionValueChange",this.updateState),this.radioGroup=null)}componentWillLoad(){this.emitStyle()}styleChanged(){this.emitStyle()}emitStyle(){const e={"interactive-disabled":this.disabled,legacy:!!this.legacy};this.legacyFormController.hasLegacyControl()&&(e["radio-checked"]=this.checked),this.ionStyle.emit(e)}get hasLabel(){return""!==this.el.textContent}renderRadioControl(){return(0,r.h)("div",{class:"radio-icon",part:"container"},(0,r.h)("div",{class:"radio-inner",part:"mark"}),(0,r.h)("div",{class:"radio-ripple"}))}render(){const{legacyFormController:e}=this;return e.hasLegacyControl()?this.renderLegacyRadio():this.renderRadio()}renderRadio(){const{checked:e,disabled:t,color:i,el:a,justify:s,labelPlacement:d,hasLabel:l,buttonTabindex:f,alignment:C}=this,E=(0,o.b)(this),x=(0,m.h)("ion-item",a);return(0,r.h)(r.H,{onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:(0,m.c)(i,{[E]:!0,"in-item":x,"radio-checked":e,"radio-disabled":t,[`radio-justify-${s}`]:!0,[`radio-alignment-${C}`]:!0,[`radio-label-placement-${d}`]:!0,"ion-activatable":!x,"ion-focusable":!x}),role:"radio","aria-checked":e?"true":"false","aria-disabled":t?"true":null,tabindex:f},(0,r.h)("label",{class:"radio-wrapper"},(0,r.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!l},part:"label"},(0,r.h)("slot",null)),(0,r.h)("div",{class:"native-wrapper"},this.renderRadioControl())))}renderLegacyRadio(){this.hasLoggedDeprecationWarning||((0,y.p)('ion-radio now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: Option Label\nExample with aria-label: \n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,y.p)('ion-radio is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new radio syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{inputId:e,disabled:t,checked:i,color:a,el:s,buttonTabindex:d}=this,l=(0,o.b)(this),{label:f,labelId:C,labelText:E}=(0,h.e)(s,e);return(0,r.h)(r.H,{"aria-checked":`${i}`,"aria-hidden":t?"true":null,"aria-labelledby":f?C:null,role:"radio",tabindex:d,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:(0,m.c)(a,{[l]:!0,"in-item":(0,m.h)("ion-item",s),interactive:!0,"radio-checked":i,"radio-disabled":t,"legacy-radio":!0})},this.renderRadioControl(),(0,r.h)("label",{htmlFor:e},E),(0,r.h)("input",{type:"radio",checked:i,disabled:t,tabindex:"-1",id:e,ref:x=>this.nativeInput=x}))}get el(){return(0,r.f)(this)}static get watchers(){return{value:["valueChanged"],checked:["styleChanged"],color:["styleChanged"],disabled:["styleChanged"]}}};let k=0;b.style={ios:':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color-checked:var(--ion-color-primary, #3880ff)}:host(.legacy-radio){width:0.9375rem;height:1.5rem}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{-webkit-margin-start:0;margin-inline-start:0}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:0.125rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}@supports (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{inset-inline-start:-9px}}@supports not (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{left:-9px}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-9px}@supports selector(:dir(rtl)){:host(.ion-focused:dir(rtl)) .radio-icon::after{left:unset;right:unset;right:-9px}}}:host(.in-item.legacy-radio){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:11px;margin-inline-end:11px;margin-top:8px;margin-bottom:8px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:21px;margin-inline-end:21px;margin-top:8px;margin-bottom:8px}.native-wrapper .radio-icon{width:0.9375rem;height:1.5rem}',md:':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #3880ff);--border-width:0.125rem;--border-style:solid;--border-radius:50%}:host(.legacy-radio){width:1.25rem;height:1.25rem}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}:host(.legacy-radio.radio-disabled),:host(.radio-disabled) .label-text-wrapper{opacity:0.38}:host(.radio-disabled) .native-wrapper{opacity:0.63}:host(.ion-focused.legacy-radio) .radio-icon::after{top:-12px}@supports (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{inset-inline-start:-12px}}@supports not (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{left:-12px}:host-context([dir=rtl]):host(.ion-focused.legacy-radio) .radio-icon::after,:host-context([dir=rtl]).ion-focused.legacy-radio .radio-icon::after{left:unset;right:unset;right:-12px}@supports selector(:dir(rtl)){:host(.ion-focused.legacy-radio:dir(rtl)) .radio-icon::after{left:unset;right:unset;right:-12px}}}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}:host(.in-item.legacy-radio){margin-left:0;margin-right:0;margin-top:9px;margin-bottom:9px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px;margin-top:11px;margin-bottom:10px}.native-wrapper .radio-icon{width:1.25rem;height:1.25rem}'};const u=class{constructor(e){(0,r.r)(this,e),this.ionChange=(0,r.d)(this,"ionChange",7),this.ionValueChange=(0,r.d)(this,"ionValueChange",7),this.inputId="ion-rg-"+D++,this.labelId=`${this.inputId}-lbl`,this.setRadioTabindex=t=>{const i=this.getRadios(),a=i.find(l=>!l.disabled),s=i.find(l=>l.value===t&&!l.disabled);if(!a&&!s)return;const d=s||a;for(const l of i)l.setButtonTabindex(l===d?0:-1)},this.onClick=t=>{t.preventDefault();const i=t.target&&t.target.closest("ion-radio");if(i&&!1===i.disabled){const s=i.value;s!==this.value?(this.value=s,this.emitValueChange(t)):this.allowEmptySelection&&(this.value=void 0,this.emitValueChange(t))}},this.allowEmptySelection=!1,this.compareWith=void 0,this.name=this.inputId,this.value=void 0}valueChanged(e){this.setRadioTabindex(e),this.ionValueChange.emit({value:e})}componentDidLoad(){this.valueChanged(this.value)}connectedCallback(){var e=this;return(0,g.Z)(function*(){const t=e.el.querySelector("ion-list-header")||e.el.querySelector("ion-item-divider");if(t){const i=e.label=t.querySelector("ion-label");i&&(e.labelId=i.id=e.name+"-lbl")}})()}getRadios(){return Array.from(this.el.querySelectorAll("ion-radio"))}emitValueChange(e){const{value:t}=this;this.ionChange.emit({value:t,event:e})}onKeydown(e){const t=!!this.el.closest("ion-select-popover");if(e.target&&!this.el.contains(e.target))return;const i=this.getRadios().filter(a=>!a.disabled);if(e.target&&i.includes(e.target)){const a=i.findIndex(l=>l===e.target),s=i[a];let d;if(["ArrowDown","ArrowRight"].includes(e.key)&&(d=a===i.length-1?i[0]:i[a+1]),["ArrowUp","ArrowLeft"].includes(e.key)&&(d=0===a?i[i.length-1]:i[a-1]),d&&i.includes(d)&&(d.setFocus(e),t||(this.value=d.value,this.emitValueChange(e))),[" "].includes(e.key)){const l=this.value;this.value=this.allowEmptySelection&&void 0!==this.value?void 0:s.value,(l!==this.value||this.allowEmptySelection)&&this.emitValueChange(e),e.preventDefault()}}}render(){const{label:e,labelId:t,el:i,name:a,value:s}=this,d=(0,o.b)(this);return(0,h.d)(!0,i,a,s,!1),(0,r.h)(r.H,{role:"radiogroup","aria-labelledby":e?t:null,onClick:this.onClick,class:d})}get el(){return(0,r.f)(this)}static get watchers(){return{value:["valueChanged"]}}};let D=0},3814:(j,w,c)=>{c.d(w,{c:()=>v,g:()=>_,h:()=>r,o:()=>m});var g=c(5861);const r=(o,n)=>null!==n.closest(o),v=(o,n)=>"string"==typeof o&&o.length>0?Object.assign({"ion-color":!0,[`ion-color-${o}`]:!0},n):n,_=o=>{const n={};return(o=>void 0!==o?(Array.isArray(o)?o:o.split(" ")).filter(p=>null!=p).map(p=>p.trim()).filter(p=>""!==p):[])(o).forEach(p=>n[p]=!0),n},y=/^[a-z][a-z0-9+\-.]*:/,m=function(){var o=(0,g.Z)(function*(n,p,b,k){if(null!=n&&"#"!==n[0]&&!y.test(n)){const u=document.querySelector("ion-router");if(u)return p?.preventDefault(),u.push(n,b,k)}return!1});return function(p,b,k,u){return o.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4711.2e668d2632d52a0a.js b/4711.2e668d2632d52a0a.js deleted file mode 100644 index cff5c1f8..00000000 --- a/4711.2e668d2632d52a0a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4711],{4711:(P,u,s)=>{s.r(u),s.d(u,{ion_item:()=>r,ion_item_divider:()=>p,ion_item_group:()=>I,ion_label:()=>A,ion_list:()=>O,ion_list_header:()=>E,ion_note:()=>M,ion_skeleton_text:()=>D});var y=s(5861),i=s(1071),x=s(2674),m=s(3357),a=s(2997),v=s(6026),d=s(7263);const r=class{constructor(t){(0,i.r)(this,t),this.labelColorStyles={},this.itemStyles=new Map,this.inheritedAriaAttributes={},this.multipleInputs=!1,this.focusable=!0,this.color=void 0,this.button=!1,this.detail=void 0,this.detailIcon=v.o,this.disabled=!1,this.download=void 0,this.fill=void 0,this.shape=void 0,this.href=void 0,this.rel=void 0,this.lines=void 0,this.counter=!1,this.routerAnimation=void 0,this.routerDirection="forward",this.target=void 0,this.type="button",this.counterFormatter=void 0,this.counterString=void 0}counterFormatterChanged(){this.updateCounterOutput(this.getFirstInput())}handleIonInput(t){this.counter&&t.target===this.getFirstInput()&&this.updateCounterOutput(t.target)}labelColorChanged(t){const{color:e}=this;void 0===e&&(this.labelColorStyles=t.detail)}itemStyle(t){t.stopPropagation();const e=t.target.tagName,o=t.detail,g={},b=this.itemStyles.get(e)||{};let c=!1;Object.keys(o).forEach(h=>{if(o[h]){const f=`item-${h}`;b[f]||(c=!0),g[f]=!0}}),!c&&Object.keys(g).length!==Object.keys(b).length&&(c=!0),c&&(this.itemStyles.set(e,g),(0,i.i)(this))}connectedCallback(){this.counter&&this.updateCounterOutput(this.getFirstInput()),this.hasStartEl()}componentWillLoad(){this.inheritedAriaAttributes=(0,x.k)(this.el,["aria-label"])}componentDidLoad(){const{el:t,counter:e,counterFormatter:o,fill:g,shape:b}=this;null!==t.querySelector('[slot="helper"]')&&(0,m.p)('The "helper" slot has been deprecated in favor of using the "helperText" property on ion-input or ion-textarea.',t),null!==t.querySelector('[slot="error"]')&&(0,m.p)('The "error" slot has been deprecated in favor of using the "errorText" property on ion-input or ion-textarea.',t),!0===e&&(0,m.p)('The "counter" property has been deprecated in favor of using the "counter" property on ion-input or ion-textarea.',t),void 0!==o&&(0,m.p)('The "counterFormatter" property has been deprecated in favor of using the "counterFormatter" property on ion-input or ion-textarea.',t),void 0!==g&&(0,m.p)('The "fill" property has been deprecated in favor of using the "fill" property on ion-input or ion-textarea.',t),void 0!==b&&(0,m.p)('The "shape" property has been deprecated in favor of using the "shape" property on ion-input or ion-textarea.',t),(0,x.r)(()=>{this.setMultipleInputs(),this.focusable=this.isFocusable()})}setMultipleInputs(){const t=this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio"),e=this.el.querySelectorAll("ion-input, ion-range, ion-searchbar, ion-segment, ion-textarea, ion-toggle"),o=this.el.querySelectorAll("ion-anchor, ion-button, a, button");this.multipleInputs=t.length+e.length>1||t.length+o.length>1||t.length>0&&this.isClickable()}hasCover(){return 1===this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio").length&&!this.multipleInputs}isClickable(){return void 0!==this.href||this.button}canActivate(){return this.isClickable()||this.hasCover()}isFocusable(){const t=this.el.querySelector(".ion-focusable");return this.canActivate()||null!==t}getFirstInput(){return this.el.querySelectorAll("ion-input, ion-textarea")[0]}updateCounterOutput(t){var e,o;const{counter:g,counterFormatter:b,defaultCounterFormatter:c}=this;if(g&&!this.multipleInputs&&void 0!==t?.maxlength){const h=null!==(o=null===(e=t?.value)||void 0===e?void 0:e.toString().length)&&void 0!==o?o:0;if(void 0===b)this.counterString=c(h,t.maxlength);else try{this.counterString=b(h,t.maxlength)}catch(f){(0,m.a)("Exception in provided `counterFormatter`.",f),this.counterString=c(h,t.maxlength)}}}defaultCounterFormatter(t,e){return`${t} / ${e}`}hasStartEl(){null!==this.el.querySelector('[slot="start"]')&&this.el.classList.add("item-has-start-slot")}render(){const{counterString:t,detail:e,detailIcon:o,download:g,fill:b,labelColorStyles:c,lines:h,disabled:f,href:z,rel:q,shape:T,target:V,routerAnimation:J,routerDirection:Q,inheritedAriaAttributes:tt}=this,_={},C=(0,d.b)(this),S=this.isClickable(),L=this.canActivate(),F=S?void 0===z?"button":"a":"div",it="button"===F?{type:this.type}:{download:g,href:z,rel:q,target:V},et=S?{onClick:j=>{(0,a.o)(z,j,Q,J)}}:{},ot=void 0!==e?e:"ios"===C&&S;this.itemStyles.forEach(j=>{Object.assign(_,j)});const nt=f||_["item-interactive-disabled"]?"true":null,lt=b||"none",X=(0,a.h)("ion-list",this.el)&&!(0,a.h)("ion-radio-group",this.el);return(0,i.h)(i.H,{"aria-disabled":nt,class:Object.assign(Object.assign(Object.assign({},_),c),(0,a.c)(this.color,{item:!0,[C]:!0,"item-lines-default":void 0===h,[`item-lines-${h}`]:void 0!==h,[`item-fill-${lt}`]:!0,[`item-shape-${T}`]:void 0!==T,"item-disabled":f,"in-list":X,"item-multiple-inputs":this.multipleInputs,"ion-activatable":L,"ion-focusable":this.focusable,"item-rtl":"rtl"===document.dir})),role:X?"listitem":null},(0,i.h)(F,Object.assign({},it,tt,{class:"item-native",part:"native",disabled:f},et),(0,i.h)("slot",{name:"start"}),(0,i.h)("div",{class:"item-inner"},(0,i.h)("div",{class:"input-wrapper"},(0,i.h)("slot",null)),(0,i.h)("slot",{name:"end"}),ot&&(0,i.h)("ion-icon",{icon:o,lazy:!1,class:"item-detail-icon",part:"detail-icon","aria-hidden":"true","flip-rtl":o===v.o}),(0,i.h)("div",{class:"item-inner-highlight"})),L&&"md"===C&&(0,i.h)("ion-ripple-effect",null),(0,i.h)("div",{class:"item-highlight"})),(0,i.h)("div",{class:"item-bottom"},(0,i.h)("slot",{name:"error"}),(0,i.h)("slot",{name:"helper"}),t&&(0,i.h)("ion-note",{class:"item-counter"},t)))}static get delegatesFocus(){return!0}get el(){return(0,i.f)(this)}static get watchers(){return{counterFormatter:["counterFormatterChanged"]}}};r.style={ios:':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:20px;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--inner-padding-end);padding-inline-end:var(--inner-padding-end);padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.item-detail-icon{-webkit-margin-start:calc(var(--inner-padding-end) / 2);margin-inline-start:calc(var(--inner-padding-end) / 2);-webkit-margin-end:-6px;margin-inline-end:-6px;color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:transform 200ms, border-bottom-width 200ms;transition:transform 200ms, border-bottom-width 200ms, -webkit-transform 200ms;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.ion-focused) .item-highlight,:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-highlight,:host(.item-has-focus) .item-inner-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.ion-focused) .item-highlight,:host(.item-has-focus) .item-highlight{border-width:var(--full-highlight-height);opacity:var(--show-full-highlight)}:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-inner-highlight{border-bottom-width:var(--inset-highlight-height);opacity:var(--show-inset-highlight)}:host(.ion-focused.item-fill-solid) .item-highlight,:host(.item-has-focus.item-fill-solid) .item-highlight{border-width:calc(var(--full-highlight-height) - 1px)}:host(.ion-focused) .item-inner-highlight,:host(.ion-focused:not(.item-fill-outline)) .item-highlight,:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus:not(.item-fill-outline)) .item-highlight{border-top:none;border-right:none;border-left:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select.legacy-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;-ms-flex-item-align:stretch;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select.legacy-select){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:12px;z-index:1}.item-counter{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}@media (prefers-reduced-motion: reduce){.item-highlight,.item-inner-highlight{-webkit-transition:none;transition:none}}:host{--min-height:44px;--transition:background-color 200ms linear, opacity 200ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0px 0px 0.55px 0px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:var(--ion-text-color, #000);--background-focused:var(--ion-text-color, #000);--background-hover:currentColor;--background-activated-opacity:.12;--background-focused-opacity:.15;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--color:var(--ion-item-color, var(--ion-text-color, #000));--highlight-height:0px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--bottom-padding-start:0px;font-size:16px}:host(.ion-activated){--transition:none}:host(.ion-color.ion-focused) .item-native::after{background:#000;opacity:0.15}:host(.ion-color.ion-activated) .item-native::after{background:#000;opacity:0.12}:host(.item-interactive){--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-full){--border-width:0px 0px 0.55px 0px;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0px 0px 0.55px 0px;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0px;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0px;--show-inset-highlight:0}.item-highlight,.item-inner-highlight{-webkit-transition:none;transition:none}:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus) .item-highlight{border-top:none;border-right:none;border-left:none}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}::slotted(.button-small){--padding-top:1px;--padding-bottom:1px;--padding-start:.5em;--padding-end:.5em;min-height:24px;font-size:13px}::slotted(ion-avatar){width:36px;height:36px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px}:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){-webkit-margin-start:0px;margin-inline-start:0px}::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host(.item-label-floating),:host(.item-label-stacked){--min-height:68px}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0px}:host(.item-label-fixed) ::slotted(ion-select.legacy-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:0}',md:':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:20px;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--inner-padding-end);padding-inline-end:var(--inner-padding-end);padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.item-detail-icon{-webkit-margin-start:calc(var(--inner-padding-end) / 2);margin-inline-start:calc(var(--inner-padding-end) / 2);-webkit-margin-end:-6px;margin-inline-end:-6px;color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:transform 200ms, border-bottom-width 200ms;transition:transform 200ms, border-bottom-width 200ms, -webkit-transform 200ms;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.ion-focused) .item-highlight,:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-highlight,:host(.item-has-focus) .item-inner-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.ion-focused) .item-highlight,:host(.item-has-focus) .item-highlight{border-width:var(--full-highlight-height);opacity:var(--show-full-highlight)}:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-inner-highlight{border-bottom-width:var(--inset-highlight-height);opacity:var(--show-inset-highlight)}:host(.ion-focused.item-fill-solid) .item-highlight,:host(.item-has-focus.item-fill-solid) .item-highlight{border-width:calc(var(--full-highlight-height) - 1px)}:host(.ion-focused) .item-inner-highlight,:host(.ion-focused:not(.item-fill-outline)) .item-highlight,:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus:not(.item-fill-outline)) .item-highlight{border-top:none;border-right:none;border-left:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select.legacy-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;-ms-flex-item-align:stretch;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select.legacy-select){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:12px;z-index:1}.item-counter{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}@media (prefers-reduced-motion: reduce){.item-highlight,.item-inner-highlight{-webkit-transition:none;transition:none}}:host{--min-height:48px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--color:var(--ion-item-color, var(--ion-text-color, #000));--transition:opacity 15ms linear, background-color 15ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0 0 1px 0;--highlight-height:1px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);font-size:16px;font-weight:normal;text-transform:none}:host(.item-fill-outline){--highlight-height:2px}:host(.item-fill-none.item-interactive.ion-focus) .item-highlight,:host(.item-fill-none.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-none.item-interactive.ion-focus) .item-native,:host(.item-fill-none.item-interactive.item-has-focus) .item-native,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-highlight{border-width:var(--full-highlight-height);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-native{border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-highlight,:host(.item-fill-solid.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-native,:host(.item-fill-solid.item-interactive.item-has-focus) .item-native,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.ion-color.ion-activated) .item-native::after{background:transparent}:host(.item-has-focus) .item-native{caret-color:var(--highlight-background)}:host(.item-interactive){--border-width:0 0 1px 0;--inner-border-width:0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-full){--border-width:0 0 1px 0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0 0 1px 0;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0;--show-inset-highlight:0}:host(.item-fill-outline) .item-highlight{--position-offset:calc(-1 * var(--border-width));top:var(--position-offset);width:calc(100% + 2 * var(--border-width));height:calc(100% + 2 * var(--border-width));-webkit-transition:none;transition:none}@supports (inset-inline-start: 0){:host(.item-fill-outline) .item-highlight{inset-inline-start:var(--position-offset)}}@supports not (inset-inline-start: 0){:host(.item-fill-outline) .item-highlight{left:var(--position-offset)}:host-context([dir=rtl]):host(.item-fill-outline) .item-highlight,:host-context([dir=rtl]).item-fill-outline .item-highlight{left:unset;right:unset;right:var(--position-offset)}@supports selector(:dir(rtl)){:host(.item-fill-outline) .item-highlight:dir(rtl){left:unset;right:unset;right:var(--position-offset)}}}:host(.item-fill-outline.ion-focused) .item-native,:host(.item-fill-outline.item-has-focus) .item-native{border-color:transparent}:host(.item-multi-line) ::slotted([slot=start]),:host(.item-multi-line) ::slotted([slot=end]){margin-top:16px;margin-bottom:16px;-ms-flex-item-align:start;align-self:flex-start}::slotted([slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted([slot=end]){-webkit-margin-start:32px;margin-inline-start:32px}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:24px}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted(ion-icon[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}:host(.item-fill-solid) ::slotted(ion-icon[slot=start]),:host(.item-fill-outline) ::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start;font-size:11px}::slotted(ion-note[slot]:not([slot=helper]):not([slot=error])){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){-webkit-padding-end:16px;padding-inline-end:16px}::slotted(ion-note[slot=end]){-webkit-padding-start:16px;padding-inline-start:16px}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:10px;margin-bottom:10px}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}:host(.item-label-fixed) ::slotted(ion-select.legacy-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:8px}:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0}::slotted(.button-small){--padding-top:2px;--padding-bottom:2px;--padding-start:.6em;--padding-end:.6em;min-height:25px;font-size:12px}:host(.item-label-floating),:host(.item-label-stacked){--min-height:55px}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0}:host(.ion-focused:not(.ion-color)) ::slotted(.label-stacked),:host(.ion-focused:not(.ion-color)) ::slotted(.label-floating),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-stacked),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-floating){color:var(--ion-color-primary, #3880ff)}:host(.ion-color){--highlight-color-focused:var(--ion-color-contrast)}:host(.item-label-color){--highlight-color-focused:var(--ion-color-base)}:host(.item-fill-solid.ion-color),:host(.item-fill-outline.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.item-fill-solid){--background:var(--ion-color-step-50, #f2f2f2);--background-hover:var(--ion-color-step-100, #e6e6e6);--background-focused:var(--ion-color-step-150, #d9d9d9);--border-width:0 0 1px 0;--inner-border-width:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.item-fill-solid),:host-context([dir=rtl]).item-fill-solid{border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.item-fill-solid):dir(rtl){border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}}:host(.item-fill-solid) .item-native{--border-color:var(--ion-color-step-500, gray)}:host(.item-fill-solid.ion-focused) .item-native,:host(.item-fill-solid.item-has-focus) .item-native{--background:var(--background-focused)}:host(.item-fill-solid.item-shape-round){border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.item-fill-solid.item-shape-round),:host-context([dir=rtl]).item-fill-solid.item-shape-round{border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.item-fill-solid.item-shape-round):dir(rtl){border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}}@media (any-hover: hover){:host(.item-fill-solid:hover) .item-native{--background:var(--background-hover);--border-color:var(--ion-color-step-750, #404040)}}:host(.item-fill-outline){--ripple-color:transparent;--background-focused:transparent;--background-hover:transparent;--border-color:var(--ion-color-step-500, gray);--border-width:1px;border:none;overflow:visible}:host(.item-fill-outline) .item-native{--native-padding-left:16px;border-radius:4px}:host(.item-fill-outline.item-shape-round) .item-native{--inner-padding-start:16px;border-radius:28px}:host(.item-fill-outline.item-shape-round) .item-bottom{-webkit-padding-start:32px;padding-inline-start:32px}:host(.item-fill-outline.item-label-floating.ion-focused) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.ion-focused) .item-native ::slotted(ion-textarea:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-focus) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-focus) .item-native ::slotted(ion-textarea:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-value) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-value) .item-native ::slotted(ion-textarea:not(:first-child)){-webkit-transform:translateY(-14px);transform:translateY(-14px)}@media (any-hover: hover){:host(.item-fill-outline:hover) .item-native{--border-color:var(--ion-color-step-750, #404040)}}.item-counter{letter-spacing:0.0333333333em}'};const p=class{constructor(t){(0,i.r)(this,t),this.color=void 0,this.sticky=!1}render(){const t=(0,d.b)(this);return(0,i.h)(i.H,{class:(0,a.c)(this.color,{[t]:!0,"item-divider-sticky":this.sticky,item:!0})},(0,i.h)("slot",{name:"start"}),(0,i.h)("div",{class:"item-divider-inner"},(0,i.h)("div",{class:"item-divider-wrapper"},(0,i.h)("slot",null)),(0,i.h)("slot",{name:"end"})))}get el(){return(0,i.f)(this)}};p.style={ios:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:-webkit-sticky;position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border:0;overflow:hidden}.item-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-color-step-100, #e6e6e6);--color:var(--ion-color-step-850, #262626);--padding-start:16px;--inner-padding-end:8px;border-radius:0;position:relative;min-height:28px;font-size:17px;font-weight:600}:host([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}::slotted(h2){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:17px;font-weight:normal}::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:14px;font-weight:normal;line-height:normal}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4);font-size:14px;line-height:normal;text-overflow:inherit;overflow:inherit}::slotted(h2:last-child) ::slotted(h3:last-child),::slotted(h4:last-child),::slotted(h5:last-child),::slotted(h6:last-child),::slotted(p:last-child){margin-bottom:0}",md:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:-webkit-sticky;position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border:0;overflow:hidden}.item-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-background-color, #fff);--color:var(--ion-color-step-400, #999999);--padding-start:16px;--inner-padding-end:16px;min-height:30px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));font-size:14px}::slotted([slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted([slot=end]){-webkit-margin-start:32px;margin-inline-start:32px}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:13px;margin-bottom:10px}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:24px}:host(.ion-color) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted(ion-icon[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start;font-size:11px}::slotted(ion-note[slot]){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){-webkit-padding-end:16px;padding-inline-end:16px}::slotted(ion-note[slot=end]){-webkit-padding-start:16px;padding-inline-start:16px}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}::slotted(h2){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}::slotted(h3,h4,h5,h6){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:normal}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:var(--ion-color-step-600, #666666);font-size:14px;line-height:normal;text-overflow:inherit;overflow:inherit}"};const I=class{constructor(t){(0,i.r)(this,t)}render(){const t=(0,d.b)(this);return(0,i.h)(i.H,{role:"group",class:{[t]:!0,[`item-group-${t}`]:!0,item:!0}})}};I.style={ios:"ion-item-group{display:block}",md:"ion-item-group{display:block}"};const A=class{constructor(t){(0,i.r)(this,t),this.ionColor=(0,i.d)(this,"ionColor",7),this.ionStyle=(0,i.d)(this,"ionStyle",7),this.inRange=!1,this.color=void 0,this.position=void 0,this.noAnimate=!1}componentWillLoad(){this.inRange=!!this.el.closest("ion-range"),this.noAnimate="floating"===this.position,this.emitStyle(),this.emitColor()}componentDidLoad(){this.noAnimate&&setTimeout(()=>{this.noAnimate=!1},1e3)}colorChanged(){this.emitColor()}positionChanged(){this.emitStyle()}emitColor(){const{color:t}=this;this.ionColor.emit({"item-label-color":void 0!==t,[`ion-color-${t}`]:void 0!==t})}emitStyle(){const{inRange:t,position:e}=this;t||this.ionStyle.emit({label:!0,[`label-${e}`]:void 0!==e})}render(){const t=this.position,e=(0,d.b)(this);return(0,i.h)(i.H,{class:(0,a.c)(this.color,{[e]:!0,"in-item-color":(0,a.h)("ion-item.ion-color",this.el),[`label-${t}`]:void 0!==t,"label-no-animate":this.noAnimate,"label-rtl":"rtl"===document.dir})})}get el(){return(0,i.f)(this)}static get watchers(){return{color:["colorChanged"],position:["positionChanged"]}}};A.style={ios:".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-ios-h{color:var(--ion-color-base)}.ion-text-wrap.sc-ion-label-ios-h,[text-wrap].sc-ion-label-ios-h{white-space:normal}.item-interactive-disabled.sc-ion-label-ios-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-ios-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-ios-h,.item-input .sc-ion-label-ios-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-ios-h,.item-textarea .sc-ion-label-ios-h{-ms-flex-item-align:baseline;align-self:baseline}.label-fixed.sc-ion-label-ios-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-ios-h,.label-floating.sc-ion-label-ios-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-ios-h{-webkit-transition:none;transition:none}.sc-ion-label-ios-s h1,.sc-ion-label-ios-s h2,.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-ios-h,[text-wrap].sc-ion-label-ios-h{font-size:14px;line-height:1.5}.label-stacked.sc-ion-label-ios-h{margin-bottom:4px;font-size:14px}.label-floating.sc-ion-label-ios-h{margin-bottom:0;-webkit-transform:translate(0, 29px);transform:translate(0, 29px);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out}[dir=rtl].sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl] .sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl].label-floating.sc-ion-label-ios-h,[dir=rtl] .label-floating.sc-ion-label-ios-h{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.label-floating.sc-ion-label-ios-h:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.item-textarea.label-floating.sc-ion-label-ios-h,.item-textarea .label-floating.sc-ion-label-ios-h{-webkit-transform:translate(0, 28px);transform:translate(0, 28px)}.item-has-focus.label-floating.sc-ion-label-ios-h,.item-has-focus .label-floating.sc-ion-label-ios-h,.item-has-placeholder.sc-ion-label-ios-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-ios-h,.item-has-value.label-floating.sc-ion-label-ios-h,.item-has-value .label-floating.sc-ion-label-ios-h{-webkit-transform:scale(0.82);transform:scale(0.82)}.sc-ion-label-ios-s h1{margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:22px;font-weight:normal}.sc-ion-label-ios-s h2{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:17px;font-weight:normal}.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:14px;font-weight:normal;line-height:normal}.sc-ion-label-ios-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;line-height:normal;text-overflow:inherit;overflow:inherit}.sc-ion-label-ios-s>p{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4)}.sc-ion-label-ios-h.in-item-color.sc-ion-label-ios-s>p{color:inherit}.sc-ion-label-ios-s h2:last-child,.sc-ion-label-ios-s h3:last-child,.sc-ion-label-ios-s h4:last-child,.sc-ion-label-ios-s h5:last-child,.sc-ion-label-ios-s h6:last-child,.sc-ion-label-ios-s p:last-child{margin-bottom:0}",md:'.item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-wrap.sc-ion-label-md-h,[text-wrap].sc-ion-label-md-h{white-space:normal}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{-ms-flex-item-align:baseline;align-self:baseline}.label-fixed.sc-ion-label-md-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{-webkit-transition:none;transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h,[text-wrap].sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:top left;transform-origin:top left}.label-stacked.label-rtl.sc-ion-label-md-h,.label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform-origin:top right;transform-origin:top right}.label-stacked.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.label-floating.sc-ion-label-md-h{-webkit-transform:translateY(96%);transform:translateY(96%);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}.ion-focused.label-floating.sc-ion-label-md-h,.ion-focused .label-floating.sc-ion-label-md-h,.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(-6px) scale(0.75);transform:translateY(-6px) scale(0.75);position:relative;max-width:-webkit-min-content;max-width:-moz-min-content;max-width:min-content;background-color:var(--ion-item-background, var(--ion-background-color, #fff));overflow:visible;z-index:3}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{position:absolute;width:4px;height:100%;background-color:var(--ion-item-background, var(--ion-background-color, #fff));content:""}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before{left:calc(-1 * 4px)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{right:calc(-1 * 4px)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.sc-ion-label-md-h{-webkit-transform:translateX(-32px) translateY(-6px) scale(0.75);transform:translateX(-32px) translateY(-6px) scale(0.75)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating.label-rtl,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75);transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75)}.ion-focused.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #3880ff)}.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.item-fill-solid.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-base)}.ion-invalid.ion-touched.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--highlight-color-invalid)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;line-height:20px;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, #666666)}.sc-ion-label-md-h.in-item-color.sc-ion-label-md-s>p{color:inherit}'};const O=class{constructor(t){(0,i.r)(this,t),this.lines=void 0,this.inset=!1}closeSlidingItems(){var t=this;return(0,y.Z)(function*(){const e=t.el.querySelector("ion-item-sliding");return!!e?.closeOpened&&e.closeOpened()})()}render(){const t=(0,d.b)(this),{lines:e,inset:o}=this;return(0,i.h)(i.H,{role:"list",class:{[t]:!0,[`list-${t}`]:!0,"list-inset":o,[`list-lines-${e}`]:void 0!==e,[`list-${t}-lines-${e}`]:void 0!==e}})}get el(){return(0,i.f)(this)}};O.style={ios:"ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-ios{background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-ios.list-inset{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px;border-radius:10px}.list-ios.list-inset ion-item:last-child{--border-width:0;--inner-border-width:0}.list-ios.list-inset+ion-list.list-inset{margin-top:0}.list-ios-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-ios-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 0.55px 0}.list-ios-lines-inset .item-lines-default{--inner-border-width:0 0 0.55px 0;--border-width:0px}ion-card .list-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}",md:"ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;background:var(--ion-item-background, var(--ion-background-color, #fff))}@supports (inset-inline-start: 0){.list-md>.input:last-child::after{inset-inline-start:0}}@supports not (inset-inline-start: 0){.list-md>.input:last-child::after{left:0}:host-context([dir=rtl]) .list-md>.input:last-child::after{left:unset;right:unset;right:0}[dir=rtl] .list-md>.input:last-child::after{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.list-md>.input:last-child::after:dir(rtl){left:unset;right:unset;right:0}}}.list-md.list-inset{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px;border-radius:2px}.list-md.list-inset ion-item:first-child{--border-radius:2px 2px 0 0}.list-md.list-inset ion-item:last-child{--border-radius:0 0 2px, 2px;--border-width:0;--inner-border-width:0}.list-md.list-inset+ion-list.list-inset{margin-top:0}.list-md-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-md-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 1px 0}.list-md-lines-inset .item-lines-default{--inner-border-width:0 0 1px 0;--border-width:0px}ion-card .list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"};const E=class{constructor(t){(0,i.r)(this,t),this.color=void 0,this.lines=void 0}render(){const{lines:t}=this,e=(0,d.b)(this);return(0,i.h)(i.H,{class:(0,a.c)(this.color,{[e]:!0,[`list-header-lines-${t}`]:void 0!==t})},(0,i.h)("div",{class:"list-header-inner"},(0,i.h)("slot",null)))}};E.style={ios:":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-color-step-850, #262626);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));-webkit-padding-start:calc(var(--ion-safe-area-left, 0px) + 16px);padding-inline-start:calc(var(--ion-safe-area-left, 0px) + 16px);position:relative;-ms-flex-align:end;align-items:flex-end;font-size:22px;font-weight:700;letter-spacing:0}::slotted(ion-button),::slotted(ion-label){margin-top:29px;margin-bottom:6px}::slotted(ion-button){--padding-top:0;--padding-bottom:0;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:3px;margin-inline-end:3px;min-height:1.4em}:host(.list-header-lines-full){--border-width:0 0 0.55px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 0.55px 0}",md:":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-text-color, #000);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));-webkit-padding-start:calc(var(--ion-safe-area-left, 0) + 16px);padding-inline-start:calc(var(--ion-safe-area-left, 0) + 16px);min-height:45px;font-size:14px}:host(.list-header-lines-full){--border-width:0 0 1px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 1px 0}"};const M=class{constructor(t){(0,i.r)(this,t),this.color=void 0}render(){const t=(0,d.b)(this);return(0,i.h)(i.H,{class:(0,a.c)(this.color,{[t]:!0})},(0,i.h)("slot",null))}};M.style={ios:":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-350, #a6a6a6)}",md:":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);font-size:14px}"};const D=class{constructor(t){(0,i.r)(this,t),this.animated=!1}render(){const t=this.animated&&d.c.getBoolean("animated",!0),e=(0,a.h)("ion-avatar",this.el)||(0,a.h)("ion-thumbnail",this.el),o=(0,d.b)(this);return(0,i.h)(i.H,{class:{[o]:!0,"skeleton-text-animated":t,"in-media":e}},(0,i.h)("span",null,"\xa0"))}get el(){return(0,i.f)(this)}};D.style=":host{--background:rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065);border-radius:var(--border-radius, inherit);display:block;width:100%;height:inherit;margin-top:4px;margin-bottom:4px;background:var(--background);line-height:10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}span{display:inline-block}:host(.in-media){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;height:100%}:host(.skeleton-text-animated){position:relative;background:-webkit-gradient(linear, left top, right top, color-stop(8%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065)), color-stop(18%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.135)), color-stop(33%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065)));background:linear-gradient(to right, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065) 8%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.135) 18%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065) 33%);background-size:800px 104px;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:shimmer;animation-name:shimmer;-webkit-animation-timing-function:linear;animation-timing-function:linear}@-webkit-keyframes shimmer{0%{background-position:-400px 0}100%{background-position:400px 0}}@keyframes shimmer{0%{background-position:-400px 0}100%{background-position:400px 0}}"},2997:(P,u,s)=>{s.d(u,{c:()=>x,g:()=>a,h:()=>i,o:()=>d});var y=s(5861);const i=(n,l)=>null!==l.closest(n),x=(n,l)=>"string"==typeof n&&n.length>0?Object.assign({"ion-color":!0,[`ion-color-${n}`]:!0},l):l,a=n=>{const l={};return(n=>void 0!==n?(Array.isArray(n)?n:n.split(" ")).filter(r=>null!=r).map(r=>r.trim()).filter(r=>""!==r):[])(n).forEach(r=>l[r]=!0),l},v=/^[a-z][a-z0-9+\-.]*:/,d=function(){var n=(0,y.Z)(function*(l,r,w,k){if(null!=l&&"#"!==l[0]&&!v.test(l)){const p=document.querySelector("ion-router");if(p)return r?.preventDefault(),p.push(l,w,k)}return!1});return function(r,w,k,p){return n.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4711.b0c0d9db064ca725.js b/4711.b0c0d9db064ca725.js new file mode 100644 index 00000000..5b8c9326 --- /dev/null +++ b/4711.b0c0d9db064ca725.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4711],{4711:(H,x,s)=>{s.r(x),s.d(x,{ion_item:()=>r,ion_item_divider:()=>b,ion_item_group:()=>A,ion_label:()=>O,ion_list:()=>E,ion_list_header:()=>M,ion_note:()=>D,ion_skeleton_text:()=>T});var C=s(5861),i=s(408),v=s(2961),c=s(8909),a=s(3814),w=s(5723),d=s(4649);const r=class{constructor(t){(0,i.r)(this,t),this.labelColorStyles={},this.itemStyles=new Map,this.inheritedAriaAttributes={},this.multipleInputs=!1,this.focusable=!0,this.color=void 0,this.button=!1,this.detail=void 0,this.detailIcon=w.o,this.disabled=!1,this.download=void 0,this.fill=void 0,this.shape=void 0,this.href=void 0,this.rel=void 0,this.lines=void 0,this.counter=!1,this.routerAnimation=void 0,this.routerDirection="forward",this.target=void 0,this.type="button",this.counterFormatter=void 0,this.counterString=void 0}counterFormatterChanged(){this.updateCounterOutput(this.getFirstInput())}handleIonInput(t){this.counter&&t.target===this.getFirstInput()&&this.updateCounterOutput(t.target)}labelColorChanged(t){const{color:e}=this;void 0===e&&(this.labelColorStyles=t.detail)}itemStyle(t){t.stopPropagation();const e=t.target.tagName,o=t.detail,g={},f=this.itemStyles.get(e)||{};let m=!1;Object.keys(o).forEach(h=>{if(o[h]){const p=`item-${h}`;f[p]||(m=!0),g[p]=!0}}),!m&&Object.keys(g).length!==Object.keys(f).length&&(m=!0),m&&(this.itemStyles.set(e,g),(0,i.i)(this))}connectedCallback(){this.counter&&this.updateCounterOutput(this.getFirstInput()),this.hasStartEl()}componentWillLoad(){this.inheritedAriaAttributes=(0,v.k)(this.el,["aria-label"])}componentDidLoad(){const{el:t,counter:e,counterFormatter:o,fill:g,shape:f}=this;null!==t.querySelector('[slot="helper"]')&&(0,c.p)('The "helper" slot has been deprecated in favor of using the "helperText" property on ion-input or ion-textarea.',t),null!==t.querySelector('[slot="error"]')&&(0,c.p)('The "error" slot has been deprecated in favor of using the "errorText" property on ion-input or ion-textarea.',t),!0===e&&(0,c.p)('The "counter" property has been deprecated in favor of using the "counter" property on ion-input or ion-textarea.',t),void 0!==o&&(0,c.p)('The "counterFormatter" property has been deprecated in favor of using the "counterFormatter" property on ion-input or ion-textarea.',t),void 0!==g&&(0,c.p)('The "fill" property has been deprecated in favor of using the "fill" property on ion-input or ion-textarea.',t),void 0!==f&&(0,c.p)('The "shape" property has been deprecated in favor of using the "shape" property on ion-input or ion-textarea.',t),(0,v.r)(()=>{this.setMultipleInputs(),this.focusable=this.isFocusable()})}setMultipleInputs(){const t=this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio"),e=this.el.querySelectorAll("ion-input, ion-range, ion-searchbar, ion-segment, ion-textarea, ion-toggle"),o=this.el.querySelectorAll("ion-anchor, ion-button, a, button");this.multipleInputs=t.length+e.length>1||t.length+o.length>1||t.length>0&&this.isClickable()}hasCover(){return 1===this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio").length&&!this.multipleInputs}isClickable(){return void 0!==this.href||this.button}canActivate(){return this.isClickable()||this.hasCover()}isFocusable(){const t=this.el.querySelector(".ion-focusable");return this.canActivate()||null!==t}getFirstInput(){return this.el.querySelectorAll("ion-input, ion-textarea")[0]}updateCounterOutput(t){var e,o;const{counter:g,counterFormatter:f,defaultCounterFormatter:m}=this;if(g&&!this.multipleInputs&&void 0!==t?.maxlength){const h=null!==(o=null===(e=t?.value)||void 0===e?void 0:e.toString().length)&&void 0!==o?o:0;if(void 0===f)this.counterString=m(h,t.maxlength);else try{this.counterString=f(h,t.maxlength)}catch(p){(0,c.a)("Exception in provided `counterFormatter`.",p),this.counterString=m(h,t.maxlength)}}}defaultCounterFormatter(t,e){return`${t} / ${e}`}hasStartEl(){null!==this.el.querySelector('[slot="start"]')&&this.el.classList.add("item-has-start-slot")}getFirstInteractive(){return this.el.querySelectorAll("ion-toggle:not([disabled]), ion-checkbox:not([disabled]), ion-radio:not([disabled]), ion-select:not([disabled])")[0]}render(){const{counterString:t,detail:e,detailIcon:o,download:g,fill:f,labelColorStyles:m,lines:h,disabled:p,href:S,rel:Q,shape:F,target:tt,routerAnimation:it,routerDirection:et,inheritedAriaAttributes:ot,multipleInputs:L}=this,I={},j=(0,d.b)(this),z=this.isClickable(),P=this.canActivate(),X=z?void 0===S?"button":"a":"div",nt="button"===X?{type:this.type}:{download:g,href:S,rel:Q,target:tt};let R={};const _=this.getFirstInteractive();(z||void 0!==_&&!L)&&(R={onClick:u=>{if(z&&(0,a.o)(S,u,et,it),void 0!==_&&!L){const st=u.composedPath()[0];u.isTrusted&&this.el.shadowRoot.contains(st)&&_.click()}}});const lt=void 0!==e?e:"ios"===j&&z;this.itemStyles.forEach(u=>{Object.assign(I,u)});const rt=p||I["item-interactive-disabled"]?"true":null,at=f||"none",$=(0,a.h)("ion-list",this.el)&&!(0,a.h)("ion-radio-group",this.el);return(0,i.h)(i.H,{"aria-disabled":rt,class:Object.assign(Object.assign(Object.assign({},I),m),(0,a.c)(this.color,{item:!0,[j]:!0,"item-lines-default":void 0===h,[`item-lines-${h}`]:void 0!==h,[`item-fill-${at}`]:!0,[`item-shape-${F}`]:void 0!==F,"item-has-interactive-control":void 0!==_,"item-disabled":p,"in-list":$,"item-multiple-inputs":this.multipleInputs,"ion-activatable":P,"ion-focusable":this.focusable,"item-rtl":"rtl"===document.dir})),role:$?"listitem":null},(0,i.h)(X,Object.assign({},nt,ot,{class:"item-native",part:"native",disabled:p},R),(0,i.h)("slot",{name:"start"}),(0,i.h)("div",{class:"item-inner"},(0,i.h)("div",{class:"input-wrapper"},(0,i.h)("slot",null)),(0,i.h)("slot",{name:"end"}),lt&&(0,i.h)("ion-icon",{icon:o,lazy:!1,class:"item-detail-icon",part:"detail-icon","aria-hidden":"true","flip-rtl":o===w.o}),(0,i.h)("div",{class:"item-inner-highlight"})),P&&"md"===j&&(0,i.h)("ion-ripple-effect",null),(0,i.h)("div",{class:"item-highlight"})),(0,i.h)("div",{class:"item-bottom"},(0,i.h)("slot",{name:"error"}),(0,i.h)("slot",{name:"helper"}),t&&(0,i.h)("ion-note",{class:"item-counter"},t)))}static get delegatesFocus(){return!0}get el(){return(0,i.f)(this)}static get watchers(){return{counterFormatter:["counterFormatterChanged"]}}};r.style={ios:':host{--inner-min-width:4rem;--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:1.25em;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-has-interactive-control){cursor:pointer}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;position:relative;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}[dir=rtl] .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){.item-native:dir(rtl){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.item-legacy) .item-native{-ms-flex-wrap:unset;flex-wrap:unset}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1 0 0px;flex:1 0 0;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-width:var(--inner-min-width);max-width:100%;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}:host(.item-legacy) .item-inner{-ms-flex:1;flex:1;-ms-flex-wrap:unset;flex-wrap:unset;max-width:unset}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--inner-padding-end) + var(--ion-safe-area-right, 0px));display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host-context([dir=rtl]) .item-bottom{padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}[dir=rtl] .item-bottom{padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}@supports selector(:dir(rtl)){.item-bottom:dir(rtl){padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}}.item-detail-icon{-webkit-margin-start:calc(var(--inner-padding-end) / 2);margin-inline-start:calc(var(--inner-padding-end) / 2);-webkit-margin-end:-6px;margin-inline-end:-6px;color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1;width:-webkit-min-content;width:-moz-min-content;width:min-content}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1 0 auto;flex:1 0 auto;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;max-width:100%;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-legacy) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-wrap:unset;flex-wrap:unset;max-width:unset}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:transform 200ms, border-bottom-width 200ms;transition:transform 200ms, border-bottom-width 200ms, -webkit-transform 200ms;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.ion-focused) .item-highlight,:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-highlight,:host(.item-has-focus) .item-inner-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.ion-focused) .item-highlight,:host(.item-has-focus) .item-highlight{border-width:var(--full-highlight-height);opacity:var(--show-full-highlight)}:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-inner-highlight{border-bottom-width:var(--inset-highlight-height);opacity:var(--show-inset-highlight)}:host(.ion-focused.item-fill-solid) .item-highlight,:host(.item-has-focus.item-fill-solid) .item-highlight{border-width:calc(var(--full-highlight-height) - 1px)}:host(.ion-focused) .item-inner-highlight,:host(.ion-focused:not(.item-fill-outline)) .item-highlight,:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus:not(.item-fill-outline)) .item-highlight{border-top:none;border-right:none;border-left:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select.legacy-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;-ms-flex-item-align:stretch;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select.legacy-select){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:0.75rem;z-index:1}.item-counter{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}@media (prefers-reduced-motion: reduce){.item-highlight,.item-inner-highlight{-webkit-transition:none;transition:none}}:host{--min-height:44px;--transition:background-color 200ms linear, opacity 200ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0px 0px 0.55px 0px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:var(--ion-text-color, #000);--background-focused:var(--ion-text-color, #000);--background-hover:currentColor;--background-activated-opacity:.12;--background-focused-opacity:.15;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--color:var(--ion-item-color, var(--ion-text-color, #000));--highlight-height:0px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--bottom-padding-start:0px;font-size:1rem}:host(.ion-activated){--transition:none}:host(.ion-color.ion-focused) .item-native::after{background:#000;opacity:0.15}:host(.ion-color.ion-activated) .item-native::after{background:#000;opacity:0.12}:host(.item-interactive){--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-full){--border-width:0px 0px 0.55px 0px;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0px 0px 0.55px 0px;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0px;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0px;--show-inset-highlight:0}.item-highlight,.item-inner-highlight{-webkit-transition:none;transition:none}:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus) .item-highlight{border-top:none;border-right:none;border-left:none}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}::slotted(.button-small){--padding-top:1px;--padding-bottom:1px;--padding-start:.5em;--padding-end:.5em;min-height:24px;font-size:0.8125rem}::slotted(ion-avatar){width:36px;height:36px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px}:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){-webkit-margin-start:0px;margin-inline-start:0px}::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host(.item-label-floating),:host(.item-label-stacked){--min-height:68px}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0px}:host(.item-label-fixed) ::slotted(ion-select.legacy-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:0}',md:':host{--inner-min-width:4rem;--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:1.25em;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-has-interactive-control){cursor:pointer}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;position:relative;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}[dir=rtl] .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){.item-native:dir(rtl){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.item-legacy) .item-native{-ms-flex-wrap:unset;flex-wrap:unset}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1 0 0px;flex:1 0 0;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-width:var(--inner-min-width);max-width:100%;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}:host(.item-legacy) .item-inner{-ms-flex:1;flex:1;-ms-flex-wrap:unset;flex-wrap:unset;max-width:unset}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--inner-padding-end) + var(--ion-safe-area-right, 0px));display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host-context([dir=rtl]) .item-bottom{padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}[dir=rtl] .item-bottom{padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}@supports selector(:dir(rtl)){.item-bottom:dir(rtl){padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}}.item-detail-icon{-webkit-margin-start:calc(var(--inner-padding-end) / 2);margin-inline-start:calc(var(--inner-padding-end) / 2);-webkit-margin-end:-6px;margin-inline-end:-6px;color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1;width:-webkit-min-content;width:-moz-min-content;width:min-content}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1 0 auto;flex:1 0 auto;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;max-width:100%;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-legacy) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-wrap:unset;flex-wrap:unset;max-width:unset}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:transform 200ms, border-bottom-width 200ms;transition:transform 200ms, border-bottom-width 200ms, -webkit-transform 200ms;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.ion-focused) .item-highlight,:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-highlight,:host(.item-has-focus) .item-inner-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.ion-focused) .item-highlight,:host(.item-has-focus) .item-highlight{border-width:var(--full-highlight-height);opacity:var(--show-full-highlight)}:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-inner-highlight{border-bottom-width:var(--inset-highlight-height);opacity:var(--show-inset-highlight)}:host(.ion-focused.item-fill-solid) .item-highlight,:host(.item-has-focus.item-fill-solid) .item-highlight{border-width:calc(var(--full-highlight-height) - 1px)}:host(.ion-focused) .item-inner-highlight,:host(.ion-focused:not(.item-fill-outline)) .item-highlight,:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus:not(.item-fill-outline)) .item-highlight{border-top:none;border-right:none;border-left:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select.legacy-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;-ms-flex-item-align:stretch;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select.legacy-select){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:0.75rem;z-index:1}.item-counter{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}@media (prefers-reduced-motion: reduce){.item-highlight,.item-inner-highlight{-webkit-transition:none;transition:none}}:host{--min-height:48px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--color:var(--ion-item-color, var(--ion-text-color, #000));--transition:opacity 15ms linear, background-color 15ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0 0 1px 0;--highlight-height:1px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);font-size:1rem;font-weight:normal;text-transform:none}:host(.item-fill-outline){--highlight-height:2px}:host(.item-fill-none.item-interactive.ion-focus) .item-highlight,:host(.item-fill-none.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-none.item-interactive.ion-focus) .item-native,:host(.item-fill-none.item-interactive.item-has-focus) .item-native,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-highlight{border-width:var(--full-highlight-height);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-native{border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-highlight,:host(.item-fill-solid.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-native,:host(.item-fill-solid.item-interactive.item-has-focus) .item-native,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.ion-color.ion-activated) .item-native::after{background:transparent}:host(.item-has-focus) .item-native{caret-color:var(--highlight-background)}:host(.item-interactive){--border-width:0 0 1px 0;--inner-border-width:0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-full){--border-width:0 0 1px 0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0 0 1px 0;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0;--show-inset-highlight:0}:host(.item-fill-outline) .item-highlight{--position-offset:calc(-1 * var(--border-width));top:var(--position-offset);width:calc(100% + 2 * var(--border-width));height:calc(100% + 2 * var(--border-width));-webkit-transition:none;transition:none}@supports (inset-inline-start: 0){:host(.item-fill-outline) .item-highlight{inset-inline-start:var(--position-offset)}}@supports not (inset-inline-start: 0){:host(.item-fill-outline) .item-highlight{left:var(--position-offset)}:host-context([dir=rtl]):host(.item-fill-outline) .item-highlight,:host-context([dir=rtl]).item-fill-outline .item-highlight{left:unset;right:unset;right:var(--position-offset)}@supports selector(:dir(rtl)){:host(.item-fill-outline:dir(rtl)) .item-highlight{left:unset;right:unset;right:var(--position-offset)}}}:host(.item-fill-outline.ion-focused) .item-native,:host(.item-fill-outline.item-has-focus) .item-native{border-color:transparent}:host(.item-multi-line) ::slotted([slot=start]),:host(.item-multi-line) ::slotted([slot=end]){margin-top:16px;margin-bottom:16px;-ms-flex-item-align:start;align-self:flex-start}::slotted([slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted([slot=end]){-webkit-margin-start:32px;margin-inline-start:32px}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:1.5em}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted(ion-icon[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}:host(.item-fill-solid) ::slotted(ion-icon[slot=start]),:host(.item-fill-outline) ::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start;font-size:0.6875rem}::slotted(ion-note[slot]:not([slot=helper]):not([slot=error])){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){-webkit-padding-end:16px;padding-inline-end:16px}::slotted(ion-note[slot=end]){-webkit-padding-start:16px;padding-inline-start:16px}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:10px;margin-bottom:10px}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}:host(.item-label-fixed) ::slotted(ion-select.legacy-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:8px}:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0}::slotted(.button-small){--padding-top:2px;--padding-bottom:2px;--padding-start:.6em;--padding-end:.6em;min-height:25px;font-size:0.75rem}:host(.item-label-floating),:host(.item-label-stacked){--min-height:55px}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0}:host(.ion-focused:not(.ion-color)) ::slotted(.label-stacked),:host(.ion-focused:not(.ion-color)) ::slotted(.label-floating),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-stacked),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-floating){color:var(--ion-color-primary, #3880ff)}:host(.ion-color){--highlight-color-focused:var(--ion-color-contrast)}:host(.item-label-color){--highlight-color-focused:var(--ion-color-base)}:host(.item-fill-solid.ion-color),:host(.item-fill-outline.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.item-fill-solid){--background:var(--ion-color-step-50, #f2f2f2);--background-hover:var(--ion-color-step-100, #e6e6e6);--background-focused:var(--ion-color-step-150, #d9d9d9);--border-width:0 0 1px 0;--inner-border-width:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.item-fill-solid),:host-context([dir=rtl]).item-fill-solid{border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.item-fill-solid:dir(rtl)){border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}}:host(.item-fill-solid) .item-native{--border-color:var(--ion-color-step-500, gray)}:host(.item-fill-solid.ion-focused) .item-native,:host(.item-fill-solid.item-has-focus) .item-native{--background:var(--background-focused)}:host(.item-fill-solid.item-shape-round){border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.item-fill-solid.item-shape-round),:host-context([dir=rtl]).item-fill-solid.item-shape-round{border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.item-fill-solid.item-shape-round:dir(rtl)){border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}}@media (any-hover: hover){:host(.item-fill-solid:hover) .item-native{--background:var(--background-hover);--border-color:var(--ion-color-step-750, #404040)}}:host(.item-fill-outline){--ripple-color:transparent;--background-focused:transparent;--background-hover:transparent;--border-color:var(--ion-color-step-500, gray);--border-width:1px;border:none;overflow:visible}:host(.item-fill-outline) .item-native{--native-padding-left:16px;border-radius:4px}:host(.item-fill-outline.item-shape-round) .item-native{--inner-padding-start:16px;border-radius:28px}:host(.item-fill-outline.item-shape-round) .item-bottom{-webkit-padding-start:32px;padding-inline-start:32px}:host(.item-fill-outline.item-label-floating.ion-focused) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.ion-focused) .item-native ::slotted(ion-textarea:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-focus) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-focus) .item-native ::slotted(ion-textarea:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-value) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-value) .item-native ::slotted(ion-textarea:not(:first-child)){-webkit-transform:translateY(-14px);transform:translateY(-14px)}@media (any-hover: hover){:host(.item-fill-outline:hover) .item-native{--border-color:var(--ion-color-step-750, #404040)}}.item-counter{letter-spacing:0.0333333333em}'};const b=class{constructor(t){(0,i.r)(this,t),this.color=void 0,this.sticky=!1}render(){const t=(0,d.b)(this);return(0,i.h)(i.H,{class:(0,a.c)(this.color,{[t]:!0,"item-divider-sticky":this.sticky,item:!0})},(0,i.h)("slot",{name:"start"}),(0,i.h)("div",{class:"item-divider-inner"},(0,i.h)("div",{class:"item-divider-wrapper"},(0,i.h)("slot",null)),(0,i.h)("slot",{name:"end"})))}get el(){return(0,i.f)(this)}};b.style={ios:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:-webkit-sticky;position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border:0;overflow:hidden}:host-context([dir=rtl]) .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-divider-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-color-step-100, #e6e6e6);--color:var(--ion-color-step-850, #262626);--padding-start:16px;--inner-padding-end:8px;border-radius:0;position:relative;min-height:28px;font-size:1.0625rem;font-weight:600}:host([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h2){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4);font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}::slotted(h2:last-child) ::slotted(h3:last-child),::slotted(h4:last-child),::slotted(h5:last-child),::slotted(h6:last-child),::slotted(p:last-child){margin-bottom:0}",md:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:-webkit-sticky;position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border:0;overflow:hidden}:host-context([dir=rtl]) .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-divider-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-background-color, #fff);--color:var(--ion-color-step-400, #999999);--padding-start:16px;--inner-padding-end:16px;min-height:30px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));font-size:0.875rem}::slotted([slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted([slot=end]){-webkit-margin-start:32px;margin-inline-start:32px}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:13px;margin-bottom:10px}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:1.7142857143em}:host(.ion-color) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted(ion-icon[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start;font-size:0.6875rem}::slotted(ion-note[slot]){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){-webkit-padding-end:16px;padding-inline-end:16px}::slotted(ion-note[slot=end]){-webkit-padding-start:16px;padding-inline-start:16px}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h2){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(h3,h4,h5,h6){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:var(--ion-color-step-600, #666666);font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}"};const A=class{constructor(t){(0,i.r)(this,t)}render(){const t=(0,d.b)(this);return(0,i.h)(i.H,{role:"group",class:{[t]:!0,[`item-group-${t}`]:!0,item:!0}})}};A.style={ios:"ion-item-group{display:block}",md:"ion-item-group{display:block}"};const O=class{constructor(t){(0,i.r)(this,t),this.ionColor=(0,i.d)(this,"ionColor",7),this.ionStyle=(0,i.d)(this,"ionStyle",7),this.inRange=!1,this.color=void 0,this.position=void 0,this.noAnimate=!1}componentWillLoad(){this.inRange=!!this.el.closest("ion-range"),this.noAnimate="floating"===this.position,this.emitStyle(),this.emitColor()}componentDidLoad(){this.noAnimate&&setTimeout(()=>{this.noAnimate=!1},1e3)}colorChanged(){this.emitColor()}positionChanged(){this.emitStyle()}emitColor(){const{color:t}=this;this.ionColor.emit({"item-label-color":void 0!==t,[`ion-color-${t}`]:void 0!==t})}emitStyle(){const{inRange:t,position:e}=this;t||this.ionStyle.emit({label:!0,[`label-${e}`]:void 0!==e})}render(){const t=this.position,e=(0,d.b)(this);return(0,i.h)(i.H,{class:(0,a.c)(this.color,{[e]:!0,"in-item-color":(0,a.h)("ion-item.ion-color",this.el),[`label-${t}`]:void 0!==t,"label-no-animate":this.noAnimate,"label-rtl":"rtl"===document.dir})})}get el(){return(0,i.f)(this)}static get watchers(){return{color:["colorChanged"],position:["positionChanged"]}}};O.style={ios:".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.item-legacy.sc-ion-label-ios-h,.item-legacy .sc-ion-label-ios-h{white-space:nowrap;overflow:hidden}.item.sc-ion-label-ios-h:not(.item-input):not(.item-legacy),.item:not(.item-input):not(.item-legacy) .sc-ion-label-ios-h{-ms-flex-positive:1;flex-grow:1}.ion-color.sc-ion-label-ios-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-ios-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-ios-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-ios-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-ios-h,.item-input .sc-ion-label-ios-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-ios-h,.item-textarea .sc-ion-label-ios-h{-ms-flex-item-align:baseline;align-self:baseline}.item-skeleton-text.sc-ion-label-ios-h,.item-skeleton-text .sc-ion-label-ios-h{overflow:hidden}.label-fixed.sc-ion-label-ios-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-ios-h,.label-floating.sc-ion-label-ios-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-ios-h{-webkit-transition:none;transition:none}.sc-ion-label-ios-s h1,.sc-ion-label-ios-s h2,.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-ios-h{font-size:0.875rem;line-height:1.5}.label-stacked.sc-ion-label-ios-h{margin-bottom:4px;font-size:0.875rem}.label-floating.sc-ion-label-ios-h{margin-bottom:0;-webkit-transform:translate(0, 29px);transform:translate(0, 29px);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out}[dir=rtl].sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl] .sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl].label-floating.sc-ion-label-ios-h,[dir=rtl] .label-floating.sc-ion-label-ios-h{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.label-floating.sc-ion-label-ios-h:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.item-textarea.label-floating.sc-ion-label-ios-h,.item-textarea .label-floating.sc-ion-label-ios-h{-webkit-transform:translate(0, 28px);transform:translate(0, 28px)}.item-has-focus.label-floating.sc-ion-label-ios-h,.item-has-focus .label-floating.sc-ion-label-ios-h,.item-has-placeholder.sc-ion-label-ios-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-ios-h,.item-has-value.label-floating.sc-ion-label-ios-h,.item-has-value .label-floating.sc-ion-label-ios-h{-webkit-transform:scale(0.82);transform:scale(0.82)}.sc-ion-label-ios-s h1{margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:1.375rem;font-weight:normal}.sc-ion-label-ios-s h2{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.0625rem;font-weight:normal}.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-ios-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}.sc-ion-label-ios-s>p{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4)}.sc-ion-label-ios-h.in-item-color.sc-ion-label-ios-s>p{color:inherit}.sc-ion-label-ios-s h2:last-child,.sc-ion-label-ios-s h3:last-child,.sc-ion-label-ios-s h4:last-child,.sc-ion-label-ios-s h5:last-child,.sc-ion-label-ios-s h6:last-child,.sc-ion-label-ios-s p:last-child{margin-bottom:0}",md:'.item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.item-legacy.sc-ion-label-md-h,.item-legacy .sc-ion-label-md-h{white-space:nowrap;overflow:hidden}.item.sc-ion-label-md-h:not(.item-input):not(.item-legacy),.item:not(.item-input):not(.item-legacy) .sc-ion-label-md-h{-ms-flex-positive:1;flex-grow:1}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-md-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{-ms-flex-item-align:baseline;align-self:baseline}.item-skeleton-text.sc-ion-label-md-h,.item-skeleton-text .sc-ion-label-md-h{overflow:hidden}.label-fixed.sc-ion-label-md-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{-webkit-transition:none;transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:top left;transform-origin:top left}.label-stacked.label-rtl.sc-ion-label-md-h,.label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform-origin:top right;transform-origin:top right}.label-stacked.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.label-floating.sc-ion-label-md-h{-webkit-transform:translateY(96%);transform:translateY(96%);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}.ion-focused.label-floating.sc-ion-label-md-h,.ion-focused .label-floating.sc-ion-label-md-h,.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(-6px) scale(0.75);transform:translateY(-6px) scale(0.75);position:relative;max-width:-webkit-min-content;max-width:-moz-min-content;max-width:min-content;background-color:var(--ion-item-background, var(--ion-background-color, #fff));overflow:visible;z-index:3}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{position:absolute;width:4px;height:100%;background-color:var(--ion-item-background, var(--ion-background-color, #fff));content:""}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before{left:calc(-1 * 4px)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{right:calc(-1 * 4px)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.sc-ion-label-md-h{-webkit-transform:translateX(-32px) translateY(-6px) scale(0.75);transform:translateX(-32px) translateY(-6px) scale(0.75)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating.label-rtl,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75);transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75)}.ion-focused.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #3880ff)}.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.item-fill-solid.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-base)}.ion-invalid.ion-touched.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--highlight-color-invalid)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:1.25rem;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, #666666)}.sc-ion-label-md-h.in-item-color.sc-ion-label-md-s>p{color:inherit}'};const E=class{constructor(t){(0,i.r)(this,t),this.lines=void 0,this.inset=!1}closeSlidingItems(){var t=this;return(0,C.Z)(function*(){const e=t.el.querySelector("ion-item-sliding");return!!e?.closeOpened&&e.closeOpened()})()}render(){const t=(0,d.b)(this),{lines:e,inset:o}=this;return(0,i.h)(i.H,{role:"list",class:{[t]:!0,[`list-${t}`]:!0,"list-inset":o,[`list-lines-${e}`]:void 0!==e,[`list-${t}-lines-${e}`]:void 0!==e}})}get el(){return(0,i.f)(this)}};E.style={ios:"ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-ios{background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-ios.list-inset{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px;border-radius:10px}.list-ios.list-inset ion-item:only-child,.list-ios.list-inset ion-item:not(:only-of-type):last-of-type,.list-ios.list-inset ion-item-sliding:last-of-type ion-item{--border-width:0;--inner-border-width:0}.list-ios.list-inset+ion-list.list-inset{margin-top:0}.list-ios-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-ios-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 0.55px 0}.list-ios-lines-inset .item-lines-default{--inner-border-width:0 0 0.55px 0;--border-width:0px}ion-card .list-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}",md:"ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;background:var(--ion-item-background, var(--ion-background-color, #fff))}@supports (inset-inline-start: 0){.list-md>.input:last-child::after{inset-inline-start:0}}@supports not (inset-inline-start: 0){.list-md>.input:last-child::after{left:0}:host-context([dir=rtl]) .list-md>.input:last-child::after{left:unset;right:unset;right:0}[dir=rtl] .list-md>.input:last-child::after{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.list-md>.input:last-child::after:dir(rtl){left:unset;right:unset;right:0}}}.list-md.list-inset{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px;border-radius:2px}.list-md.list-inset ion-item:not(:only-of-type):first-of-type,.list-md.list-inset ion-item-sliding:first-of-type ion-item{--border-radius:2px 2px 0 0}.list-md.list-inset ion-item:not(:only-of-type):last-of-type,.list-md.list-inset ion-item-sliding:last-of-type ion-item{--border-radius:0 0 2px 2px;--border-width:0;--inner-border-width:0}.list-md.list-inset ion-item:only-child{--border-radius:2px;--border-width:0;--inner-border-width:0}.list-md.list-inset+ion-list.list-inset{margin-top:0}.list-md-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-md-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 1px 0}.list-md-lines-inset .item-lines-default{--inner-border-width:0 0 1px 0;--border-width:0px}ion-card .list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"};const M=class{constructor(t){(0,i.r)(this,t),this.color=void 0,this.lines=void 0}render(){const{lines:t}=this,e=(0,d.b)(this);return(0,i.h)(i.H,{class:(0,a.c)(this.color,{[e]:!0,[`list-header-lines-${t}`]:void 0!==t})},(0,i.h)("div",{class:"list-header-inner"},(0,i.h)("slot",null)))}};M.style={ios:":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-color-step-850, #262626);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));padding-right:var(--ion-safe-area-right);padding-left:calc(var(--ion-safe-area-left, 0px) + 16px);position:relative;-ms-flex-align:end;align-items:flex-end;font-size:min(1.375rem, 56.1px);font-weight:700;letter-spacing:0}:host-context([dir=rtl]){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}}::slotted(ion-button),::slotted(ion-label){margin-top:29px;margin-bottom:6px}::slotted(ion-button){--padding-top:0;--padding-bottom:0;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:3px;margin-inline-end:3px;min-height:1.4em}:host(.list-header-lines-full){--border-width:0 0 0.55px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 0.55px 0}",md:":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-text-color, #000);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));padding-right:var(--ion-safe-area-right);padding-left:calc(var(--ion-safe-area-left, 0px) + 16px);min-height:45px;font-size:0.875rem}:host-context([dir=rtl]){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}}:host(.list-header-lines-full){--border-width:0 0 1px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 1px 0}"};const D=class{constructor(t){(0,i.r)(this,t),this.color=void 0}render(){const t=(0,d.b)(this);return(0,i.h)(i.H,{class:(0,a.c)(this.color,{[t]:!0})},(0,i.h)("slot",null))}};D.style={ios:":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-350, #a6a6a6);font-size:max(14px, 1rem)}",md:":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);font-size:0.875rem}"};const T=class{constructor(t){(0,i.r)(this,t),this.ionStyle=(0,i.d)(this,"ionStyle",7),this.animated=!1}componentWillLoad(){this.emitStyle()}emitStyle(){this.ionStyle.emit({"skeleton-text":!0})}render(){const t=this.animated&&d.c.getBoolean("animated",!0),e=(0,a.h)("ion-avatar",this.el)||(0,a.h)("ion-thumbnail",this.el),o=(0,d.b)(this);return(0,i.h)(i.H,{class:{[o]:!0,"skeleton-text-animated":t,"in-media":e}},(0,i.h)("span",null,"\xa0"))}get el(){return(0,i.f)(this)}};T.style=":host{--background:rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065);border-radius:var(--border-radius, inherit);display:block;width:100%;height:inherit;margin-top:4px;margin-bottom:4px;background:var(--background);line-height:10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}span{display:inline-block}:host(.in-media){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;height:100%}:host(.skeleton-text-animated){position:relative;background:-webkit-gradient(linear, left top, right top, color-stop(8%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065)), color-stop(18%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.135)), color-stop(33%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065)));background:linear-gradient(to right, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065) 8%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.135) 18%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065) 33%);background-size:800px 104px;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:shimmer;animation-name:shimmer;-webkit-animation-timing-function:linear;animation-timing-function:linear}@-webkit-keyframes shimmer{0%{background-position:-400px 0}100%{background-position:400px 0}}@keyframes shimmer{0%{background-position:-400px 0}100%{background-position:400px 0}}"},3814:(H,x,s)=>{s.d(x,{c:()=>v,g:()=>a,h:()=>i,o:()=>d});var C=s(5861);const i=(n,l)=>null!==l.closest(n),v=(n,l)=>"string"==typeof n&&n.length>0?Object.assign({"ion-color":!0,[`ion-color-${n}`]:!0},l):l,a=n=>{const l={};return(n=>void 0!==n?(Array.isArray(n)?n:n.split(" ")).filter(r=>null!=r).map(r=>r.trim()).filter(r=>""!==r):[])(n).forEach(r=>l[r]=!0),l},w=/^[a-z][a-z0-9+\-.]*:/,d=function(){var n=(0,C.Z)(function*(l,r,k,y){if(null!=l&&"#"!==l[0]&&!w.test(l)){const b=document.querySelector("ion-router");if(b)return r?.preventDefault(),b.push(l,k,y)}return!1});return function(r,k,y,b){return n.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4753.87b2f095222628fd.js b/4753.87b2f095222628fd.js new file mode 100644 index 00000000..780fac0c --- /dev/null +++ b/4753.87b2f095222628fd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4753],{4753:(b,s,a)=>{a.r(s),a.d(s,{ion_avatar:()=>l,ion_badge:()=>o,ion_thumbnail:()=>e});var r=a(408),d=a(4649),c=a(3814);const l=class{constructor(i){(0,r.r)(this,i)}render(){return(0,r.h)(r.H,{class:(0,d.b)(this)},(0,r.h)("slot",null))}};l.style={ios:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}",md:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:64px;height:64px}"};const o=class{constructor(i){(0,r.r)(this,i),this.color=void 0}render(){const i=(0,d.b)(this);return(0,r.h)(r.H,{class:(0,c.c)(this.color,{[i]:!0})},(0,r.h)("slot",null))}};o.style={ios:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{border-radius:10px;font-size:max(13px, 0.8125rem)}",md:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--padding-top:3px;--padding-end:4px;--padding-bottom:4px;--padding-start:4px;border-radius:4px}"};const e=class{constructor(i){(0,r.r)(this,i)}render(){return(0,r.h)(r.H,{class:(0,d.b)(this)},(0,r.h)("slot",null))}};e.style=":host{--size:48px;--border-radius:0;border-radius:var(--border-radius);display:block;width:var(--size);height:var(--size)}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}"},3814:(b,s,a)=>{a.d(s,{c:()=>c,g:()=>g,h:()=>d,o:()=>h});var r=a(5861);const d=(t,o)=>null!==o.closest(t),c=(t,o)=>"string"==typeof t&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},o):o,g=t=>{const o={};return(t=>void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter(n=>null!=n).map(n=>n.trim()).filter(n=>""!==n):[])(t).forEach(n=>o[n]=!0),o},l=/^[a-z][a-z0-9+\-.]*:/,h=function(){var t=(0,r.Z)(function*(o,n,e,i){if(null!=o&&"#"!==o[0]&&!l.test(o)){const u=document.querySelector("ion-router");if(u)return n?.preventDefault(),u.push(o,e,i)}return!1});return function(n,e,i,u){return t.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4753.f794e0dd1aa18f26.js b/4753.f794e0dd1aa18f26.js deleted file mode 100644 index eaa835af..00000000 --- a/4753.f794e0dd1aa18f26.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4753],{4753:(b,s,a)=>{a.r(s),a.d(s,{ion_avatar:()=>l,ion_badge:()=>o,ion_thumbnail:()=>e});var r=a(1071),d=a(7263),c=a(2997);const l=class{constructor(i){(0,r.r)(this,i)}render(){return(0,r.h)(r.H,{class:(0,d.b)(this)},(0,r.h)("slot",null))}};l.style={ios:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}",md:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:64px;height:64px}"};const o=class{constructor(i){(0,r.r)(this,i),this.color=void 0}render(){const i=(0,d.b)(this);return(0,r.h)(r.H,{class:(0,c.c)(this.color,{[i]:!0})},(0,r.h)("slot",null))}};o.style={ios:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:13px;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{border-radius:10px}",md:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:13px;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--padding-top:3px;--padding-end:4px;--padding-bottom:4px;--padding-start:4px;border-radius:4px}"};const e=class{constructor(i){(0,r.r)(this,i)}render(){return(0,r.h)(r.H,{class:(0,d.b)(this)},(0,r.h)("slot",null))}};e.style=":host{--size:48px;--border-radius:0;border-radius:var(--border-radius);display:block;width:var(--size);height:var(--size)}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}"},2997:(b,s,a)=>{a.d(s,{c:()=>c,g:()=>g,h:()=>d,o:()=>h});var r=a(5861);const d=(t,o)=>null!==o.closest(t),c=(t,o)=>"string"==typeof t&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},o):o,g=t=>{const o={};return(t=>void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter(n=>null!=n).map(n=>n.trim()).filter(n=>""!==n):[])(t).forEach(n=>o[n]=!0),o},l=/^[a-z][a-z0-9+\-.]*:/,h=function(){var t=(0,r.Z)(function*(o,n,e,i){if(null!=o&&"#"!==o[0]&&!l.test(o)){const u=document.querySelector("ion-router");if(u)return n?.preventDefault(),u.push(o,e,i)}return!1});return function(n,e,i,u){return t.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4908.cd8df99afba225dc.js b/4908.cd8df99afba225dc.js new file mode 100644 index 00000000..dd3585b0 --- /dev/null +++ b/4908.cd8df99afba225dc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4908],{4908:(g,f,s)=>{s.r(f),s.d(f,{ion_spinner:()=>m});var i=s(408),u=s(3814),c=s(4649),p=s(2677);const m=class{constructor(e){(0,i.r)(this,e),this.color=void 0,this.duration=void 0,this.name=void 0,this.paused=!1}getName(){const e=this.name||c.c.get("spinner"),n=(0,c.b)(this);return e||("ios"===n?"lines":"circular")}render(){var e;const n=this,o=(0,c.b)(n),a=n.getName(),r=null!==(e=p.S[a])&&void 0!==e?e:p.S.lines,k="number"==typeof n.duration&&n.duration>10?n.duration:r.dur,y=[];if(void 0!==r.circles)for(let l=0;l{const r=e.fn(n,o,a);return r.style["animation-duration"]=n+"ms",(0,i.h)("svg",{viewBox:r.viewBox||"0 0 64 64",style:r.style},(0,i.h)("circle",{transform:r.transform||"translate(32,32)",cx:r.cx,cy:r.cy,r:r.r,style:e.elmDuration?{animationDuration:n+"ms"}:{}}))},t=(e,n,o,a)=>{const r=e.fn(n,o,a);return r.style["animation-duration"]=n+"ms",(0,i.h)("svg",{viewBox:r.viewBox||"0 0 64 64",style:r.style},(0,i.h)("line",{transform:"translate(32,32)",y1:r.y1,y2:r.y2}))};m.style=":host{display:inline-block;position:relative;width:28px;height:28px;color:var(--color);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.ion-color){color:var(--ion-color-base)}svg{-webkit-transform-origin:center;transform-origin:center;position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}:host-context([dir=rtl]) svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){svg:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}:host(.spinner-lines) line,:host(.spinner-lines-small) line{stroke-width:7px}:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-width:4px}:host(.spinner-lines) line,:host(.spinner-lines-small) line,:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-linecap:round;stroke:currentColor}:host(.spinner-lines) svg,:host(.spinner-lines-small) svg,:host(.spinner-lines-sharp) svg,:host(.spinner-lines-sharp-small) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}:host(.spinner-bubbles) svg{-webkit-animation:spinner-scale-out 1s linear infinite;animation:spinner-scale-out 1s linear infinite;fill:currentColor}:host(.spinner-circles) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite;fill:currentColor}:host(.spinner-crescent) circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px;stroke:currentColor}:host(.spinner-crescent) svg{-webkit-animation:spinner-rotate 1s linear infinite;animation:spinner-rotate 1s linear infinite}:host(.spinner-dots) circle{stroke-width:0;fill:currentColor}:host(.spinner-dots) svg{-webkit-animation:spinner-dots 1s linear infinite;animation:spinner-dots 1s linear infinite}:host(.spinner-circular) svg{-webkit-animation:spinner-circular linear infinite;animation:spinner-circular linear infinite}:host(.spinner-circular) circle{-webkit-animation:spinner-circular-inner ease-in-out infinite;animation:spinner-circular-inner ease-in-out infinite;stroke:currentColor;stroke-dasharray:80px, 200px;stroke-dashoffset:0px;stroke-width:5.6;fill:none}:host(.spinner-paused),:host(.spinner-paused) svg,:host(.spinner-paused) circle{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@-webkit-keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@-webkit-keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}@keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}"},3814:(g,f,s)=>{s.d(f,{c:()=>c,g:()=>d,h:()=>u,o:()=>h});var i=s(5861);const u=(t,e)=>null!==e.closest(t),c=(t,e)=>"string"==typeof t&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},e):e,d=t=>{const e={};return(t=>void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter(n=>null!=n).map(n=>n.trim()).filter(n=>""!==n):[])(t).forEach(n=>e[n]=!0),e},m=/^[a-z][a-z0-9+\-.]*:/,h=function(){var t=(0,i.Z)(function*(e,n,o,a){if(null!=e&&"#"!==e[0]&&!m.test(e)){const r=document.querySelector("ion-router");if(r)return n?.preventDefault(),r.push(e,o,a)}return!1});return function(n,o,a,r){return t.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4908.cf6c42f9a1e0a710.js b/4908.cf6c42f9a1e0a710.js deleted file mode 100644 index cfddebdd..00000000 --- a/4908.cf6c42f9a1e0a710.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4908],{4908:(g,p,s)=>{s.r(p),s.d(p,{ion_spinner:()=>m});var i=s(1071),u=s(2997),c=s(7263),f=s(7418);const m=class{constructor(e){(0,i.r)(this,e),this.color=void 0,this.duration=void 0,this.name=void 0,this.paused=!1}getName(){const e=this.name||c.c.get("spinner"),n=(0,c.b)(this);return e||("ios"===n?"lines":"circular")}render(){var e;const n=this,o=(0,c.b)(n),a=n.getName(),r=null!==(e=f.S[a])&&void 0!==e?e:f.S.lines,k="number"==typeof n.duration&&n.duration>10?n.duration:r.dur,y=[];if(void 0!==r.circles)for(let l=0;l{const r=e.fn(n,o,a);return r.style["animation-duration"]=n+"ms",(0,i.h)("svg",{viewBox:r.viewBox||"0 0 64 64",style:r.style},(0,i.h)("circle",{transform:r.transform||"translate(32,32)",cx:r.cx,cy:r.cy,r:r.r,style:e.elmDuration?{animationDuration:n+"ms"}:{}}))},t=(e,n,o,a)=>{const r=e.fn(n,o,a);return r.style["animation-duration"]=n+"ms",(0,i.h)("svg",{viewBox:r.viewBox||"0 0 64 64",style:r.style},(0,i.h)("line",{transform:"translate(32,32)",y1:r.y1,y2:r.y2}))};m.style=":host{display:inline-block;position:relative;width:28px;height:28px;color:var(--color);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.ion-color){color:var(--ion-color-base)}svg{-webkit-transform-origin:center;transform-origin:center;position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}:host-context([dir=rtl]) svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){svg:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}:host(.spinner-lines) line,:host(.spinner-lines-small) line{stroke-width:7px}:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-width:4px}:host(.spinner-lines) line,:host(.spinner-lines-small) line,:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-linecap:round;stroke:currentColor}:host(.spinner-lines) svg,:host(.spinner-lines-small) svg,:host(.spinner-lines-sharp) svg,:host(.spinner-lines-sharp-small) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}:host(.spinner-bubbles) svg{-webkit-animation:spinner-scale-out 1s linear infinite;animation:spinner-scale-out 1s linear infinite;fill:currentColor}:host(.spinner-circles) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite;fill:currentColor}:host(.spinner-crescent) circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px;stroke:currentColor}:host(.spinner-crescent) svg{-webkit-animation:spinner-rotate 1s linear infinite;animation:spinner-rotate 1s linear infinite}:host(.spinner-dots) circle{stroke-width:0;fill:currentColor}:host(.spinner-dots) svg{-webkit-animation:spinner-dots 1s linear infinite;animation:spinner-dots 1s linear infinite}:host(.spinner-circular) svg{-webkit-animation:spinner-circular linear infinite;animation:spinner-circular linear infinite}:host(.spinner-circular) circle{-webkit-animation:spinner-circular-inner ease-in-out infinite;animation:spinner-circular-inner ease-in-out infinite;stroke:currentColor;stroke-dasharray:80px, 200px;stroke-dashoffset:0px;stroke-width:5.6;fill:none}:host(.spinner-paused),:host(.spinner-paused) svg,:host(.spinner-paused) circle{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@-webkit-keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@-webkit-keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}@keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}"},2997:(g,p,s)=>{s.d(p,{c:()=>c,g:()=>d,h:()=>u,o:()=>h});var i=s(5861);const u=(t,e)=>null!==e.closest(t),c=(t,e)=>"string"==typeof t&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},e):e,d=t=>{const e={};return(t=>void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter(n=>null!=n).map(n=>n.trim()).filter(n=>""!==n):[])(t).forEach(n=>e[n]=!0),e},m=/^[a-z][a-z0-9+\-.]*:/,h=function(){var t=(0,i.Z)(function*(e,n,o,a){if(null!=e&&"#"!==e[0]&&!m.test(e)){const r=document.querySelector("ion-router");if(r)return n?.preventDefault(),r.push(e,o,a)}return!1});return function(n,o,a,r){return t.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4959.63cd7a01d2904fb3.js b/4959.63cd7a01d2904fb3.js new file mode 100644 index 00000000..c08a2b2f --- /dev/null +++ b/4959.63cd7a01d2904fb3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4959],{4959:(ve,B,y)=>{y.r(B),y.d(B,{ion_datetime:()=>Y,ion_picker:()=>K,ion_picker_column:()=>U});var P=y(5861),a=y(408),J=y(6390),O=y(2961),D=y(8909),W=y(6879),S=y(3814),_=y(5723),E=y(4649),r=y(402),Q=y(7389),w=y(8042),j=y(2876),F=y(1765);y(2972),y(6319);const R=(e,i,t,n)=>!!(null===e.day||void 0!==n&&!n.includes(e.day)||i&&(0,r.i)(e,i)||t&&(0,r.b)(e,t)),L=(e,{minParts:i,maxParts:t})=>!!(((e,i,t)=>!!(i&&i.year>e||t&&t.year{const{multiple:t,value:n}=this;!t&&Array.isArray(n)&&(0,D.p)(`ion-datetime was passed an array of values, but multiple="false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".\n\n Value Passed: [${n.map(o=>`'${o}'`).join(", ")}]\n`,this.el)},this.setValue=t=>{this.value=t,this.ionChange.emit({value:t})},this.getActivePartsWithFallback=()=>{var t;const{defaultParts:n}=this;return null!==(t=this.getActivePart())&&void 0!==t?t:n},this.getActivePart=()=>{const{activeParts:t}=this;return Array.isArray(t)?t[0]:t},this.closeParentOverlay=()=>{const t=this.el.closest("ion-modal, ion-popover");t&&t.dismiss()},this.setWorkingParts=t=>{this.workingParts=Object.assign({},t)},this.setActiveParts=(t,n=!1)=>{if(this.readonly)return;const{multiple:o,minParts:s,maxParts:l,activeParts:d}=this,c=(0,r.v)(t,s,l);if(this.setWorkingParts(c),o){const p=Array.isArray(d)?d:[d];this.activeParts=n?p.filter(g=>!(0,r.c)(g,c)):[...p,c]}else this.activeParts=Object.assign({},c);null!==this.el.querySelector('[slot="buttons"]')||this.showDefaultButtons||this.confirm()},this.initializeKeyboardListeners=()=>{const t=this.calendarBodyRef;if(!t)return;const n=this.el.shadowRoot,o=t.querySelector(".calendar-month:nth-of-type(2)"),l=new MutationObserver(d=>{var c;null!==(c=d[0].oldValue)&&void 0!==c&&c.includes("ion-focused")||!t.classList.contains("ion-focused")||this.focusWorkingDay(o)});l.observe(t,{attributeFilter:["class"],attributeOldValue:!0}),this.destroyKeyboardMO=()=>{l?.disconnect()},t.addEventListener("keydown",d=>{const c=n.activeElement;if(!c||!c.classList.contains("calendar-day"))return;const h=(0,r.f)(c);let p;switch(d.key){case"ArrowDown":d.preventDefault(),p=(0,r.n)(h);break;case"ArrowUp":d.preventDefault(),p=(0,r.m)(h);break;case"ArrowRight":d.preventDefault(),p=(0,r.l)(h);break;case"ArrowLeft":d.preventDefault(),p=(0,r.k)(h);break;case"Home":d.preventDefault(),p=(0,r.j)(h);break;case"End":d.preventDefault(),p=(0,r.h)(h);break;case"PageUp":d.preventDefault(),p=d.shiftKey?(0,r.O)(h):(0,r.d)(h);break;case"PageDown":d.preventDefault(),p=d.shiftKey?(0,r.N)(h):(0,r.e)(h);break;default:return}R(p,this.minParts,this.maxParts)||(this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),p)),requestAnimationFrame(()=>this.focusWorkingDay(o)))})},this.focusWorkingDay=t=>{const n=t.querySelectorAll(".calendar-day-padding"),{day:o}=this.workingParts;if(null===o)return;const s=t.querySelector(`.calendar-day-wrapper:nth-of-type(${n.length+o}) .calendar-day`);s&&s.focus()},this.processMinParts=()=>{const{min:t,defaultParts:n}=this;this.minParts=void 0!==t?(0,r.p)(t,n):void 0},this.processMaxParts=()=>{const{max:t,defaultParts:n}=this;this.maxParts=void 0!==t?(0,r.o)(t,n):void 0},this.initializeCalendarListener=()=>{const t=this.calendarBodyRef;if(!t)return;const n=t.querySelectorAll(".calendar-month"),o=n[0],s=n[1],l=n[2],c="ios"===(0,E.b)(this)&&typeof navigator<"u"&&navigator.maxTouchPoints>1;(0,a.w)(()=>{t.scrollLeft=o.clientWidth*((0,W.i)(this.el)?-1:1);const h=u=>{const x=t.getBoundingClientRect(),b=t.scrollLeft<=2?o:l,k=b.getBoundingClientRect();if(Math.abs(k.x-x.x)>2)return;const{forceRenderDate:v}=this;return void 0!==v?{month:v.month,year:v.year,day:v.day}:b===o?(0,r.d)(u):b===l?(0,r.e)(u):void 0},p=()=>{c&&(t.style.removeProperty("pointer-events"),f=!1);const u=h(this.workingParts);if(!u)return;const{month:x,day:b,year:k}=u;L({month:x,year:k,day:null},{minParts:Object.assign(Object.assign({},this.minParts),{day:null}),maxParts:Object.assign(Object.assign({},this.maxParts),{day:null})})||(t.style.setProperty("overflow","hidden"),(0,a.w)(()=>{this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),{month:x,day:b,year:k})),t.scrollLeft=s.clientWidth*((0,W.i)(this.el)?-1:1),t.style.removeProperty("overflow"),this.resolveForceDateScrolling&&this.resolveForceDateScrolling()}))};let g,f=!1;const m=()=>{g&&clearTimeout(g),!f&&c&&(t.style.setProperty("pointer-events","none"),f=!0),g=setTimeout(p,50)};t.addEventListener("scroll",m),this.destroyCalendarListener=()=>{t.removeEventListener("scroll",m)}})},this.destroyInteractionListeners=()=>{const{destroyCalendarListener:t,destroyKeyboardMO:n}=this;void 0!==t&&t(),void 0!==n&&n()},this.processValue=t=>{const n=null!=t&&(!Array.isArray(t)||t.length>0),o=n?(0,r.q)(t):this.defaultParts,{minParts:s,maxParts:l,workingParts:d,el:c}=this;if(this.warnIfIncorrectValueUsage(),!o)return;n&&(0,r.w)(o,s,l);const h=Array.isArray(o)?o[0]:o,p=(0,r.P)(h,s,l),{month:g,day:f,year:m,hour:u,minute:x}=p,b=(0,r.Q)(u);this.activeParts=n?Array.isArray(o)?[...o]:{month:g,day:f,year:m,hour:u,minute:x,ampm:b}:[];const k=void 0!==g&&g!==d.month||void 0!==m&&m!==d.year,v=c.classList.contains("datetime-ready"),{isGridStyle:M,showMonthAndYear:C}=this;M&&k&&v&&!C?this.animateToDate(p):this.setWorkingParts({month:g,day:f,year:m,hour:u,minute:x,ampm:b})},this.animateToDate=function(){var t=(0,P.Z)(function*(n){const{workingParts:o}=i;i.forceRenderDate=n;const s=new Promise(d=>{i.resolveForceDateScrolling=d});(0,r.i)(n,o)?i.prevMonth():i.nextMonth(),yield s,i.resolveForceDateScrolling=void 0,i.forceRenderDate=void 0});return function(n){return t.apply(this,arguments)}}(),this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.hasValue=()=>null!=this.value,this.nextMonth=()=>{const t=this.calendarBodyRef;if(!t)return;const n=t.querySelector(".calendar-month:last-of-type");n&&t.scrollTo({top:0,left:2*n.offsetWidth*((0,W.i)(this.el)?-1:1),behavior:"smooth"})},this.prevMonth=()=>{const t=this.calendarBodyRef;!t||!t.querySelector(".calendar-month:first-of-type")||t.scrollTo({top:0,left:0,behavior:"smooth"})},this.toggleMonthAndYearView=()=>{this.showMonthAndYear=!this.showMonthAndYear},this.showMonthAndYear=!1,this.activeParts=[],this.workingParts={month:5,day:28,year:2021,hour:13,minute:52,ampm:"pm"},this.isTimePopoverOpen=!1,this.forceRenderDate=void 0,this.color="primary",this.name=this.inputId,this.disabled=!1,this.readonly=!1,this.isDateEnabled=void 0,this.min=void 0,this.max=void 0,this.presentation="date-time",this.cancelText="Cancel",this.doneText="Done",this.clearText="Clear",this.yearValues=void 0,this.monthValues=void 0,this.dayValues=void 0,this.hourValues=void 0,this.minuteValues=void 0,this.locale="default",this.firstDayOfWeek=0,this.titleSelectedDatesFormatter=void 0,this.multiple=!1,this.highlightedDates=void 0,this.value=void 0,this.showDefaultTitle=!1,this.showDefaultButtons=!1,this.showClearButton=!1,this.showDefaultTimeLabel=!0,this.hourCycle=void 0,this.size="fixed",this.preferWheel=!1}disabledChanged(){this.emitStyle()}minChanged(){this.processMinParts()}maxChanged(){this.processMaxParts()}get isGridStyle(){const{presentation:e,preferWheel:i}=this;return("date"===e||"date-time"===e||"time-date"===e)&&!i}yearValuesChanged(){this.parsedYearValues=(0,r.r)(this.yearValues)}monthValuesChanged(){this.parsedMonthValues=(0,r.r)(this.monthValues)}dayValuesChanged(){this.parsedDayValues=(0,r.r)(this.dayValues)}hourValuesChanged(){this.parsedHourValues=(0,r.r)(this.hourValues)}minuteValuesChanged(){this.parsedMinuteValues=(0,r.r)(this.minuteValues)}valueChanged(){var e=this;return(0,P.Z)(function*(){const{value:i}=e;e.hasValue()&&e.processValue(i),e.emitStyle(),e.ionValueChange.emit({value:i})})()}confirm(e=!1){var i=this;return(0,P.Z)(function*(){const{isCalendarPicker:t,activeParts:n,preferWheel:o,workingParts:s}=i;(void 0!==n||!t)&&(Array.isArray(n)&&0===n.length?i.setValue(o?(0,r.s)(s):void 0):i.setValue((0,r.s)(n))),e&&i.closeParentOverlay()})()}reset(e){var i=this;return(0,P.Z)(function*(){i.processValue(e)})()}cancel(e=!1){var i=this;return(0,P.Z)(function*(){i.ionCancel.emit(),e&&i.closeParentOverlay()})()}get isCalendarPicker(){const{presentation:e}=this;return"date"===e||"date-time"===e||"time-date"===e}connectedCallback(){this.clearFocusVisible=(0,J.startFocusVisible)(this.el).destroy}disconnectedCallback(){this.clearFocusVisible&&(this.clearFocusVisible(),this.clearFocusVisible=void 0)}initializeListeners(){this.initializeCalendarListener(),this.initializeKeyboardListeners()}componentDidLoad(){const i=new IntersectionObserver(s=>{s[0].isIntersecting&&(this.initializeListeners(),(0,a.w)(()=>{this.el.classList.add("datetime-ready")}))},{threshold:.01});(0,O.r)(()=>i?.observe(this.el));const n=new IntersectionObserver(s=>{s[0].isIntersecting||(this.destroyInteractionListeners(),this.showMonthAndYear=!1,(0,a.w)(()=>{this.el.classList.remove("datetime-ready")}))},{threshold:0});(0,O.r)(()=>n?.observe(this.el));const o=(0,O.g)(this.el);o.addEventListener("ionFocus",s=>s.stopPropagation()),o.addEventListener("ionBlur",s=>s.stopPropagation())}componentDidRender(){const{presentation:e,prevPresentation:i,calendarBodyRef:t,minParts:n,preferWheel:o,forceRenderDate:s}=this,l=!o&&["date-time","time-date","date"].includes(e);if(void 0!==n&&l&&t){const d=t.querySelector(".calendar-month:nth-of-type(1)");d&&void 0===s&&(t.scrollLeft=d.clientWidth*((0,W.i)(this.el)?-1:1))}null!==i?e!==i&&(this.prevPresentation=e,this.destroyInteractionListeners(),this.initializeListeners(),this.showMonthAndYear=!1,(0,O.r)(()=>{this.ionRender.emit()})):this.prevPresentation=e}componentWillLoad(){const{el:e,highlightedDates:i,multiple:t,presentation:n,preferWheel:o}=this;t&&("date"!==n&&(0,D.p)('Multiple date selection is only supported for presentation="date".',e),o&&(0,D.p)('Multiple date selection is not supported with preferWheel="true".',e)),void 0!==i&&("date"!==n&&"date-time"!==n&&"time-date"!==n&&(0,D.p)("The highlightedDates property is only supported with the date, date-time, and time-date presentations.",e),o&&(0,D.p)('The highlightedDates property is not supported with preferWheel="true".',e));const s=this.parsedHourValues=(0,r.r)(this.hourValues),l=this.parsedMinuteValues=(0,r.r)(this.minuteValues),d=this.parsedMonthValues=(0,r.r)(this.monthValues),c=this.parsedYearValues=(0,r.r)(this.yearValues),h=this.parsedDayValues=(0,r.r)(this.dayValues),p=this.todayParts=(0,r.q)((0,r.t)());this.processMinParts(),this.processMaxParts(),this.defaultParts=(0,r.u)({refParts:p,monthValues:d,dayValues:h,yearValues:c,hourValues:s,minuteValues:l,minParts:this.minParts,maxParts:this.maxParts}),this.processValue(this.value),this.emitStyle()}emitStyle(){this.ionStyle.emit({interactive:!0,datetime:!0,"interactive-disabled":this.disabled})}renderFooter(){const{disabled:e,readonly:i,showDefaultButtons:t,showClearButton:n}=this,o=e||i;if(null===this.el.querySelector('[slot="buttons"]')&&!t&&!n)return;const l=()=>{this.reset(),this.setValue(void 0)};return(0,a.h)("div",{class:"datetime-footer"},(0,a.h)("div",{class:"datetime-buttons"},(0,a.h)("div",{class:{"datetime-action-buttons":!0,"has-clear-button":this.showClearButton}},(0,a.h)("slot",{name:"buttons"},(0,a.h)("ion-buttons",null,t&&(0,a.h)("ion-button",{id:"cancel-button",color:this.color,onClick:()=>this.cancel(!0),disabled:o},this.cancelText),(0,a.h)("div",{class:"datetime-action-buttons-container"},n&&(0,a.h)("ion-button",{id:"clear-button",color:this.color,onClick:()=>l(),disabled:o},this.clearText),t&&(0,a.h)("ion-button",{id:"confirm-button",color:this.color,onClick:()=>this.confirm(!0),disabled:o},this.doneText)))))))}renderWheelPicker(e=this.presentation){const i="time-date"===e?[this.renderTimePickerColumns(e),this.renderDatePickerColumns(e)]:[this.renderDatePickerColumns(e),this.renderTimePickerColumns(e)];return(0,a.h)("ion-picker-internal",null,i)}renderDatePickerColumns(e){return"date-time"===e||"time-date"===e?this.renderCombinedDatePickerColumn():this.renderIndividualDatePickerColumns(e)}renderCombinedDatePickerColumn(){const{defaultParts:e,disabled:i,workingParts:t,locale:n,minParts:o,maxParts:s,todayParts:l,isDateEnabled:d}=this,c=this.getActivePartsWithFallback(),h=(0,r.I)(t),p=h[h.length-1];h[0].day=1,p.day=(0,r.x)(p.month,p.year);const g=void 0!==o&&(0,r.b)(o,h[0])?o:h[0],f=void 0!==s&&(0,r.i)(s,p)?s:p,m=(0,r.y)(n,l,g,f,this.parsedDayValues,this.parsedMonthValues);let u=m.items;const x=m.parts;return d&&(u=u.map((k,v)=>{const M=x[v];let C;try{C=!d((0,r.s)(M))}catch(A){(0,D.a)("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",A)}return Object.assign(Object.assign({},k),{disabled:C})})),(0,a.h)("ion-picker-column-internal",{class:"date-column",color:this.color,disabled:i,items:u,value:null!==t.day?`${t.year}-${t.month}-${t.day}`:`${e.year}-${e.month}-${e.day}`,onIonChange:k=>{this.destroyCalendarListener&&this.destroyCalendarListener();const{value:v}=k.detail,M=x.find(({month:C,day:A,year:z})=>v===`${z}-${C}-${A}`);this.setWorkingParts(Object.assign(Object.assign({},t),M)),this.setActiveParts(Object.assign(Object.assign({},c),M)),this.initializeCalendarListener(),k.stopPropagation()}})}renderIndividualDatePickerColumns(e){const{workingParts:i,isDateEnabled:t}=this,o="year"!==e&&"time"!==e?(0,r.z)(this.locale,i,this.minParts,this.maxParts,this.parsedMonthValues):[];let l="date"===e?(0,r.A)(this.locale,i,this.minParts,this.maxParts,this.parsedDayValues):[];t&&(l=l.map(g=>{const{value:f}=g,m="string"==typeof f?parseInt(f):f,u={month:i.month,day:m,year:i.year};let x;try{x=!t((0,r.s)(u))}catch(b){(0,D.a)("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",b)}return Object.assign(Object.assign({},g),{disabled:x})}));const c="month"!==e&&"time"!==e?(0,r.B)(this.locale,this.defaultParts,this.minParts,this.maxParts,this.parsedYearValues):[];let p=[];return p=(0,r.C)(this.locale,{month:"numeric",day:"numeric"})?[this.renderMonthPickerColumn(o),this.renderDayPickerColumn(l),this.renderYearPickerColumn(c)]:[this.renderDayPickerColumn(l),this.renderMonthPickerColumn(o),this.renderYearPickerColumn(c)],p}renderDayPickerColumn(e){var i;if(0===e.length)return[];const{disabled:t,workingParts:n}=this,o=this.getActivePartsWithFallback();return(0,a.h)("ion-picker-column-internal",{class:"day-column",color:this.color,disabled:t,items:e,value:null!==(i=null!==n.day?n.day:this.defaultParts.day)&&void 0!==i?i:void 0,onIonChange:s=>{this.destroyCalendarListener&&this.destroyCalendarListener(),this.setWorkingParts(Object.assign(Object.assign({},n),{day:s.detail.value})),this.setActiveParts(Object.assign(Object.assign({},o),{day:s.detail.value})),this.initializeCalendarListener(),s.stopPropagation()}})}renderMonthPickerColumn(e){if(0===e.length)return[];const{disabled:i,workingParts:t}=this,n=this.getActivePartsWithFallback();return(0,a.h)("ion-picker-column-internal",{class:"month-column",color:this.color,disabled:i,items:e,value:t.month,onIonChange:o=>{this.destroyCalendarListener&&this.destroyCalendarListener(),this.setWorkingParts(Object.assign(Object.assign({},t),{month:o.detail.value})),this.setActiveParts(Object.assign(Object.assign({},n),{month:o.detail.value})),this.initializeCalendarListener(),o.stopPropagation()}})}renderYearPickerColumn(e){if(0===e.length)return[];const{disabled:i,workingParts:t}=this,n=this.getActivePartsWithFallback();return(0,a.h)("ion-picker-column-internal",{class:"year-column",color:this.color,disabled:i,items:e,value:t.year,onIonChange:o=>{this.destroyCalendarListener&&this.destroyCalendarListener(),this.setWorkingParts(Object.assign(Object.assign({},t),{year:o.detail.value})),this.setActiveParts(Object.assign(Object.assign({},n),{year:o.detail.value})),this.initializeCalendarListener(),o.stopPropagation()}})}renderTimePickerColumns(e){if(["date","month","month-year","year"].includes(e))return[];const t=void 0!==this.getActivePart(),{hoursData:n,minutesData:o,dayPeriodData:s}=(0,r.D)(this.locale,this.workingParts,this.hourCycle,t?this.minParts:void 0,t?this.maxParts:void 0,this.parsedHourValues,this.parsedMinuteValues);return[this.renderHourPickerColumn(n),this.renderMinutePickerColumn(o),this.renderDayPeriodPickerColumn(s)]}renderHourPickerColumn(e){const{disabled:i,workingParts:t}=this;if(0===e.length)return[];const n=this.getActivePartsWithFallback();return(0,a.h)("ion-picker-column-internal",{color:this.color,disabled:i,value:n.hour,items:e,numericInput:!0,onIonChange:o=>{this.setWorkingParts(Object.assign(Object.assign({},t),{hour:o.detail.value})),this.setActiveParts(Object.assign(Object.assign({},n),{hour:o.detail.value})),o.stopPropagation()}})}renderMinutePickerColumn(e){const{disabled:i,workingParts:t}=this;if(0===e.length)return[];const n=this.getActivePartsWithFallback();return(0,a.h)("ion-picker-column-internal",{color:this.color,disabled:i,value:n.minute,items:e,numericInput:!0,onIonChange:o=>{this.setWorkingParts(Object.assign(Object.assign({},t),{minute:o.detail.value})),this.setActiveParts(Object.assign(Object.assign({},n),{minute:o.detail.value})),o.stopPropagation()}})}renderDayPeriodPickerColumn(e){const{disabled:i,workingParts:t}=this;if(0===e.length)return[];const n=this.getActivePartsWithFallback(),o=(0,r.E)(this.locale);return(0,a.h)("ion-picker-column-internal",{style:o?{order:"-1"}:{},color:this.color,disabled:i,value:n.ampm,items:e,onIonChange:s=>{const l=(0,r.R)(t,s.detail.value);this.setWorkingParts(Object.assign(Object.assign({},t),{ampm:s.detail.value,hour:l})),this.setActiveParts(Object.assign(Object.assign({},n),{ampm:s.detail.value,hour:l})),s.stopPropagation()}})}renderWheelView(e){const{locale:i}=this,n=(0,r.C)(i)?"month-first":"year-first";return(0,a.h)("div",{class:{[`wheel-order-${n}`]:!0}},this.renderWheelPicker(e))}renderCalendarHeader(e){const{disabled:i}=this,t="ios"===e?_.l:_.p,n="ios"===e?_.o:_.q,o=i||((e,i,t)=>{const n=Object.assign(Object.assign({},(0,r.d)(this.workingParts)),{day:null});return L(n,{minParts:i,maxParts:t})})(0,this.minParts,this.maxParts),s=i||((e,i)=>{const t=Object.assign(Object.assign({},(0,r.e)(this.workingParts)),{day:null});return L(t,{maxParts:i})})(0,this.maxParts),l=this.el.getAttribute("dir")||void 0;return(0,a.h)("div",{class:"calendar-header"},(0,a.h)("div",{class:"calendar-action-buttons"},(0,a.h)("div",{class:"calendar-month-year"},(0,a.h)("ion-item",{part:"month-year-button",ref:d=>this.monthYearToggleItemRef=d,button:!0,"aria-label":"Show year picker",detail:!1,lines:"none",disabled:i,onClick:()=>{var d;this.toggleMonthAndYearView();const{monthYearToggleItemRef:c}=this;if(c){const h=null===(d=c.shadowRoot)||void 0===d?void 0:d.querySelector(".item-native");h&&h.setAttribute("aria-label",this.showMonthAndYear?"Hide year picker":"Show year picker")}}},(0,a.h)("ion-label",null,(0,r.G)(this.locale,this.workingParts),(0,a.h)("ion-icon",{"aria-hidden":"true",icon:this.showMonthAndYear?t:n,lazy:!1,flipRtl:!0})))),(0,a.h)("div",{class:"calendar-next-prev"},(0,a.h)("ion-buttons",null,(0,a.h)("ion-button",{"aria-label":"Previous month",disabled:o,onClick:()=>this.prevMonth()},(0,a.h)("ion-icon",{dir:l,"aria-hidden":"true",slot:"icon-only",icon:_.c,lazy:!1,flipRtl:!0})),(0,a.h)("ion-button",{"aria-label":"Next month",disabled:s,onClick:()=>this.nextMonth()},(0,a.h)("ion-icon",{dir:l,"aria-hidden":"true",slot:"icon-only",icon:_.o,lazy:!1,flipRtl:!0}))))),(0,a.h)("div",{class:"calendar-days-of-week","aria-hidden":"true"},(0,r.F)(this.locale,e,this.firstDayOfWeek%7).map(d=>(0,a.h)("div",{class:"day-of-week"},d))))}renderMonth(e,i){const{disabled:t,readonly:n}=this,o=void 0===this.parsedYearValues||this.parsedYearValues.includes(i),s=void 0===this.parsedMonthValues||this.parsedMonthValues.includes(e),l=!o||!s,d=t||n,c=t||L({month:e,year:i,day:null},{minParts:Object.assign(Object.assign({},this.minParts),{day:null}),maxParts:Object.assign(Object.assign({},this.maxParts),{day:null})}),h=this.workingParts.month===e&&this.workingParts.year===i,p=this.getActivePartsWithFallback();return(0,a.h)("div",{"aria-hidden":h?null:"true",class:{"calendar-month":!0,"calendar-month-disabled":!h&&c}},(0,a.h)("div",{class:"calendar-month-grid"},(0,r.H)(e,i,this.firstDayOfWeek%7).map((g,f)=>{const{day:m,dayOfWeek:u}=g,{el:x,highlightedDates:b,isDateEnabled:k,multiple:v}=this,M={month:e,day:m,year:i},C=null===m,{isActive:A,isToday:z,ariaLabel:ge,ariaSelected:fe,disabled:be,text:ye}=((e,i,t,n,o,s,l)=>{const c=void 0!==(Array.isArray(t)?t:[t]).find(g=>(0,r.c)(i,g)),h=(0,r.c)(i,n);return{disabled:R(i,o,s,l),isActive:c,isToday:h,ariaSelected:c?"true":null,ariaLabel:(0,r.g)(e,h,i),text:null!=i.day?(0,r.a)(e,i):null}})(this.locale,M,this.activeParts,this.todayParts,this.minParts,this.maxParts,this.parsedDayValues),q=(0,r.s)(M);let I=l||be;if(!I&&void 0!==k)try{I=!k(q)}catch(T){(0,D.a)("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",x,T)}const xe=I&&d,ke=I||d;let V,X;return void 0!==b&&!A&&null!==m&&(V=((e,i,t)=>{if(Array.isArray(e)){const n=i.split("T")[0],o=e.find(s=>s.date===n);if(o)return{textColor:o.textColor,backgroundColor:o.backgroundColor}}else try{return e(i)}catch(n){(0,D.a)("Exception thrown from provided `highlightedDates` callback. Please check your function and try again.",t,n)}})(b,q,x)),C||(X=`calendar-day${A?" active":""}${z?" today":""}${I?" disabled":""}`),(0,a.h)("div",{class:"calendar-day-wrapper"},(0,a.h)("button",{ref:T=>{T&&(T.style.setProperty("color",`${V?V.textColor:""}`,"important"),T.style.setProperty("background-color",`${V?V.backgroundColor:""}`,"important"))},tabindex:"-1","data-day":m,"data-month":e,"data-year":i,"data-index":f,"data-day-of-week":u,disabled:ke,class:{"calendar-day-padding":C,"calendar-day":!0,"calendar-day-active":A,"calendar-day-constrained":xe,"calendar-day-today":z},part:X,"aria-hidden":C?"true":null,"aria-selected":fe,"aria-label":ge,onClick:()=>{C||(this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),{month:e,day:m,year:i})),v?this.setActiveParts({month:e,day:m,year:i},A):this.setActiveParts(Object.assign(Object.assign({},p),{month:e,day:m,year:i})))}},ye))})))}renderCalendarBody(){return(0,a.h)("div",{class:"calendar-body ion-focusable",ref:e=>this.calendarBodyRef=e,tabindex:"0"},(0,r.I)(this.workingParts,this.forceRenderDate).map(({month:e,year:i})=>this.renderMonth(e,i)))}renderCalendar(e){return(0,a.h)("div",{class:"datetime-calendar",key:"datetime-calendar"},this.renderCalendarHeader(e),this.renderCalendarBody())}renderTimeLabel(){if(null!==this.el.querySelector('[slot="time-label"]')||this.showDefaultTimeLabel)return(0,a.h)("slot",{name:"time-label"},"Time")}renderTimeOverlay(){var e=this;const{disabled:i,hourCycle:t,isTimePopoverOpen:n,locale:o}=this,s=(0,r.J)(o,t),l=this.getActivePartsWithFallback();return[(0,a.h)("div",{class:"time-header"},this.renderTimeLabel()),(0,a.h)("button",{class:{"time-body":!0,"time-body-active":n},part:"time-button"+(n?" active":""),"aria-expanded":"false","aria-haspopup":"true",disabled:i,onClick:(d=(0,P.Z)(function*(c){const{popoverRef:h}=e;h&&(e.isTimePopoverOpen=!0,h.present(new CustomEvent("ionShadowTarget",{detail:{ionShadowTarget:c.target}})),yield h.onWillDismiss(),e.isTimePopoverOpen=!1)}),function(h){return d.apply(this,arguments)})},(0,r.K)(o,l,s)),(0,a.h)("ion-popover",{alignment:"center",translucent:!0,overlayIndex:1,arrow:!1,onWillPresent:d=>{d.target.querySelectorAll("ion-picker-column-internal").forEach(h=>h.scrollActiveItemIntoView())},style:{"--offset-y":"-10px","--min-width":"fit-content"},keyboardEvents:!0,ref:d=>this.popoverRef=d},this.renderWheelPicker("time"))];var d}getHeaderSelectedDateText(){const{activeParts:e,multiple:i,titleSelectedDatesFormatter:t}=this,n=Array.isArray(e);let o;if(i&&n&&1!==e.length){if(o=`${e.length} days`,void 0!==t)try{o=t((0,r.s)(e))}catch(s){(0,D.a)("Exception in provided `titleSelectedDatesFormatter`: ",s)}}else o=(0,r.L)(this.locale,this.getActivePartsWithFallback());return o}renderHeader(e=!0){if(null!==this.el.querySelector('[slot="title"]')||this.showDefaultTitle)return(0,a.h)("div",{class:"datetime-header"},(0,a.h)("div",{class:"datetime-title"},(0,a.h)("slot",{name:"title"},"Select Date")),e&&(0,a.h)("div",{class:"datetime-selected-date"},this.getHeaderSelectedDateText()))}renderTime(){const{presentation:e}=this;return(0,a.h)("div",{class:"datetime-time"},"time"===e?this.renderWheelPicker():this.renderTimeOverlay())}renderCalendarViewMonthYearPicker(){return(0,a.h)("div",{class:"datetime-year"},this.renderWheelView("month-year"))}renderDatetime(e){const{presentation:i,preferWheel:t}=this;if(t&&("date"===i||"date-time"===i||"time-date"===i))return[this.renderHeader(!1),this.renderWheelView(),this.renderFooter()];switch(i){case"date-time":return[this.renderHeader(),this.renderCalendar(e),this.renderCalendarViewMonthYearPicker(),this.renderTime(),this.renderFooter()];case"time-date":return[this.renderHeader(),this.renderTime(),this.renderCalendar(e),this.renderCalendarViewMonthYearPicker(),this.renderFooter()];case"time":return[this.renderHeader(!1),this.renderTime(),this.renderFooter()];case"month":case"month-year":case"year":return[this.renderHeader(!1),this.renderWheelView(),this.renderFooter()];default:return[this.renderHeader(),this.renderCalendar(e),this.renderCalendarViewMonthYearPicker(),this.renderFooter()]}}render(){const{name:e,value:i,disabled:t,el:n,color:o,readonly:s,showMonthAndYear:l,preferWheel:d,presentation:c,size:h,isGridStyle:p}=this,g=(0,E.b)(this),f="year"===c||"month"===c||"month-year"===c,m=l||f,u=l&&!f,b=("date"===c||"date-time"===c||"time-date"===c)&&d;return(0,O.d)(!0,n,e,(0,r.M)(i),t),(0,a.h)(a.H,{"aria-disabled":t?"true":null,onFocus:this.onFocus,onBlur:this.onBlur,class:Object.assign({},(0,S.c)(o,{[g]:!0,"datetime-readonly":s,"datetime-disabled":t,"show-month-and-year":m,"month-year-picker-open":u,[`datetime-presentation-${c}`]:!0,[`datetime-size-${h}`]:!0,"datetime-prefer-wheel":b,"datetime-grid":p}))},this.renderDatetime(g))}get el(){return(0,a.f)(this)}static get watchers(){return{disabled:["disabledChanged"],min:["minChanged"],max:["maxChanged"],yearValues:["yearValuesChanged"],monthValues:["monthValuesChanged"],dayValues:["dayValuesChanged"],hourValues:["hourValuesChanged"],minuteValues:["minuteValuesChanged"],value:["valueChanged"]}}};let se=0;Y.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}ion-picker-column-internal{min-width:26px}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{position:absolute;visibility:hidden;pointer-events:none}@supports (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{inset-inline-start:-99999px}}@supports not (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{left:-99999px}:host-context([dir=rtl]):host(.show-month-and-year) .calendar-next-prev,:host-context([dir=rtl]).show-month-and-year .calendar-next-prev,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-days-of-week,:host-context([dir=rtl]).show-month-and-year .calendar-days-of-week,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-body,:host-context([dir=rtl]).show-month-and-year .calendar-body,:host-context([dir=rtl]):host(.show-month-and-year) .datetime-time,:host-context([dir=rtl]).show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}@supports selector(:dir(rtl)){:host(.show-month-and-year:dir(rtl)) .calendar-next-prev,:host(.show-month-and-year:dir(rtl)) .calendar-days-of-week,:host(.show-month-and-year:dir(rtl)) .calendar-body,:host(.show-month-and-year:dir(rtl)) .datetime-time{left:unset;right:unset;right:-99999px}}}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--background:translucent}:host .calendar-action-buttons ion-item ion-label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:auto}:host .calendar-action-buttons ion-item ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons ion-item{--color:var(--ion-color-base)}:host{--background:var(--ion-color-light, #ffffff);--background-rgb:var(--ion-color-light-rgb);--title-color:var(--ion-color-step-600, #666666)}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, #cccccc);font-size:min(0.875rem, 22.4px)}:host .datetime-header .datetime-title{color:var(--title-color)}:host .datetime-header .datetime-selected-date{margin-top:10px}:host .calendar-action-buttons ion-item{--padding-start:16px;--background-hover:transparent;--background-activated:transparent;font-size:min(1rem, 25.6px);font-weight:600}:host .calendar-action-buttons ion-item ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}:host .calendar-action-buttons ion-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-days-of-week{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, #b3b3b3);font-size:min(0.75rem, 19.2px);font-weight:600;line-height:24px;text-transform:uppercase}@supports (border-radius: mod(1px, 1px)){.calendar-days-of-week .day-of-week{width:clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);height:24px;overflow:hidden}.calendar-day{border-radius:max(8px, mod(min(1rem, 24px), 24px) * 10)}}@supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))){.calendar-days-of-week .day-of-week{width:auto;height:auto;overflow:initial}.calendar-day{border-radius:32px}}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-ms-flex-align:center;align-items:center;height:calc(100% - 16px)}:host .calendar-day-wrapper{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;height:0;min-height:1rem}:host .calendar-day{width:40px;min-width:40px;height:40px;font-size:min(1.25rem, 32px)}.calendar-day.calendar-day-active{background:rgba(var(--ion-color-base-rgb), 0.2)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-today.calendar-day-active{color:var(--ion-color-contrast)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:min(1rem, 25.6px)}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, #cccccc)}:host .datetime-buttons ::slotted(ion-buttons),:host .datetime-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}:host .datetime-action-buttons{width:100%}",md:":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}ion-picker-column-internal{min-width:26px}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{position:absolute;visibility:hidden;pointer-events:none}@supports (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{inset-inline-start:-99999px}}@supports not (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{left:-99999px}:host-context([dir=rtl]):host(.show-month-and-year) .calendar-next-prev,:host-context([dir=rtl]).show-month-and-year .calendar-next-prev,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-days-of-week,:host-context([dir=rtl]).show-month-and-year .calendar-days-of-week,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-body,:host-context([dir=rtl]).show-month-and-year .calendar-body,:host-context([dir=rtl]):host(.show-month-and-year) .datetime-time,:host-context([dir=rtl]).show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}@supports selector(:dir(rtl)){:host(.show-month-and-year:dir(rtl)) .calendar-next-prev,:host(.show-month-and-year:dir(rtl)) .calendar-days-of-week,:host(.show-month-and-year:dir(rtl)) .calendar-body,:host(.show-month-and-year:dir(rtl)) .datetime-time{left:unset;right:unset;right:-99999px}}}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--background:translucent}:host .calendar-action-buttons ion-item ion-label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:auto}:host .calendar-action-buttons ion-item ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons ion-item{--color:var(--ion-color-base)}:host{--background:var(--ion-color-step-100, #ffffff);--title-color:var(--ion-color-contrast)}:host .datetime-header{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}:host .datetime-header .datetime-title{font-size:0.75rem;text-transform:uppercase}:host .datetime-header .datetime-selected-date{margin-top:30px;font-size:2.125rem}:host .datetime-calendar .calendar-action-buttons ion-item{--padding-start:20px}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--color:var(--ion-color-step-650, #595959)}:host .calendar-days-of-week{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, gray);font-size:0.875rem;line-height:36px}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:4px;padding-bottom:4px;grid-template-rows:repeat(6, 1fr)}:host .calendar-day{width:42px;min-width:42px;height:42px;font-size:0.875rem}:host .calendar-day.calendar-day-today{border:1px solid var(--ion-color-base);color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host .time-header{color:var(--ion-color-step-650, #595959)}:host(.datetime-presentation-month) .datetime-year,:host(.datetime-presentation-year) .datetime-year,:host(.datetime-presentation-month-year) .datetime-year{margin-top:20px;margin-bottom:20px}:host .datetime-buttons{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}"};const H=e=>{const i=(0,j.c)(),t=(0,j.c)(),n=(0,j.c)();return t.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),n.addElement(e.querySelector(".picker-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),i.addElement(e).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([t,n])},$=e=>{const i=(0,j.c)(),t=(0,j.c)(),n=(0,j.c)();return t.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",.01),n.addElement(e.querySelector(".picker-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),i.addElement(e).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([t,n])},K=class{constructor(e){(0,a.r)(this,e),this.didPresent=(0,a.d)(this,"ionPickerDidPresent",7),this.willPresent=(0,a.d)(this,"ionPickerWillPresent",7),this.willDismiss=(0,a.d)(this,"ionPickerWillDismiss",7),this.didDismiss=(0,a.d)(this,"ionPickerDidDismiss",7),this.didPresentShorthand=(0,a.d)(this,"didPresent",7),this.willPresentShorthand=(0,a.d)(this,"willPresent",7),this.willDismissShorthand=(0,a.d)(this,"willDismiss",7),this.didDismissShorthand=(0,a.d)(this,"didDismiss",7),this.delegateController=(0,w.d)(this),this.lockController=(0,Q.c)(),this.triggerController=(0,w.e)(),this.onBackdropTap=()=>{this.dismiss(void 0,w.B)},this.dispatchCancelHandler=i=>{if((0,w.i)(i.detail.role)){const n=this.buttons.find(o=>"cancel"===o.role);this.callButtonHandler(n)}},this.presented=!1,this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.buttons=[],this.columns=[],this.cssClass=void 0,this.duration=0,this.showBackdrop=!0,this.backdropDismiss=!0,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(e,i){!0===e&&!1===i?this.present():!1===e&&!0===i&&this.dismiss()}triggerChanged(){const{trigger:e,el:i,triggerController:t}=this;e&&t.addClickListener(i,e)}connectedCallback(){(0,w.j)(this.el),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){(0,w.k)(this.el)}componentDidLoad(){!0===this.isOpen&&(0,O.r)(()=>this.present()),this.triggerChanged()}present(){var e=this;return(0,P.Z)(function*(){const i=yield e.lockController.lock();yield e.delegateController.attachViewToDom(),yield(0,w.f)(e,"pickerEnter",H,H,void 0),e.duration>0&&(e.durationTimeout=setTimeout(()=>e.dismiss(),e.duration)),i()})()}dismiss(e,i){var t=this;return(0,P.Z)(function*(){const n=yield t.lockController.lock();t.durationTimeout&&clearTimeout(t.durationTimeout);const o=yield(0,w.g)(t,e,i,"pickerLeave",$,$);return o&&t.delegateController.removeViewFromDom(),n(),o})()}onDidDismiss(){return(0,w.h)(this.el,"ionPickerDidDismiss")}onWillDismiss(){return(0,w.h)(this.el,"ionPickerWillDismiss")}getColumn(e){return Promise.resolve(this.columns.find(i=>i.name===e))}buttonClick(e){var i=this;return(0,P.Z)(function*(){const t=e.role;return(0,w.i)(t)?i.dismiss(void 0,t):(yield i.callButtonHandler(e))?i.dismiss(i.getSelected(),e.role):Promise.resolve()})()}callButtonHandler(e){var i=this;return(0,P.Z)(function*(){return!(e&&!1===(yield(0,w.s)(e.handler,i.getSelected())))})()}getSelected(){const e={};return this.columns.forEach((i,t)=>{const n=void 0!==i.selectedIndex?i.options[i.selectedIndex]:void 0;e[i.name]={text:n?n.text:void 0,value:n?n.value:void 0,columnIndex:t}}),e}render(){const{htmlAttributes:e}=this,i=(0,E.b)(this);return(0,a.h)(a.H,Object.assign({"aria-modal":"true",tabindex:"-1"},e,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[i]:!0,[`picker-${i}`]:!0,"overlay-hidden":!0},(0,S.g)(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonPickerWillDismiss:this.dispatchCancelHandler}),(0,a.h)("ion-backdrop",{visible:this.showBackdrop,tappable:this.backdropDismiss}),(0,a.h)("div",{tabindex:"0"}),(0,a.h)("div",{class:"picker-wrapper ion-overlay-wrapper",role:"dialog"},(0,a.h)("div",{class:"picker-toolbar"},this.buttons.map(t=>(0,a.h)("div",{class:ce(t)},(0,a.h)("button",{type:"button",onClick:()=>this.buttonClick(t),class:he(t)},t.text)))),(0,a.h)("div",{class:"picker-columns"},(0,a.h)("div",{class:"picker-above-highlight"}),this.presented&&this.columns.map(t=>(0,a.h)("ion-picker-column",{col:t})),(0,a.h)("div",{class:"picker-below-highlight"}))),(0,a.h)("div",{tabindex:"0"}))}get el(){return(0,a.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},ce=e=>({[`picker-toolbar-${e.role}`]:void 0!==e.role,"picker-toolbar-button":!0}),he=e=>Object.assign({"picker-button":!0,"ion-activatable":!0},(0,S.g)(e.cssClass));K.style={ios:".sc-ion-picker-ios-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}@supports (inset-inline-start: 0){.sc-ion-picker-ios-h{inset-inline-start:0}}@supports not (inset-inline-start: 0){.sc-ion-picker-ios-h{left:0}[dir=rtl].sc-ion-picker-ios-h,[dir=rtl] .sc-ion-picker-ios-h{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.sc-ion-picker-ios-h:dir(rtl){left:unset;right:unset;right:0}}}.overlay-hidden.sc-ion-picker-ios-h{display:none}.picker-wrapper.sc-ion-picker-ios{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-ios{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-ios{border:0;font-family:inherit}.picker-button.sc-ion-picker-ios:active,.picker-button.sc-ion-picker-ios:focus{outline:none}.picker-columns.sc-ion-picker-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-ios,.picker-below-highlight.sc-ion-picker-ios{display:none;pointer-events:none}.sc-ion-picker-ios-h{--background:var(--ion-background-color, #fff);--border-width:1px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-ios{display:-ms-flexbox;display:flex;height:44px;border-bottom:0.55px solid var(--border-color)}.picker-toolbar-button.sc-ion-picker-ios{-ms-flex:1;flex:1;text-align:end}.picker-toolbar-button.sc-ion-picker-ios:last-child .picker-button.sc-ion-picker-ios{font-weight:600}.picker-toolbar-button.sc-ion-picker-ios:first-child{font-weight:normal;text-align:start}.picker-button.sc-ion-picker-ios,.picker-button.ion-activated.sc-ion-picker-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1em;padding-inline-start:1em;-webkit-padding-end:1em;padding-inline-end:1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #3880ff);font-size:16px}.picker-columns.sc-ion-picker-ios{height:215px;-webkit-perspective:1000px;perspective:1000px}.picker-above-highlight.sc-ion-picker-ios{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:81px;border-bottom:1px solid var(--border-color);background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:10}@supports (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-ios{left:0}[dir=rtl].sc-ion-picker-ios-h .picker-above-highlight.sc-ion-picker-ios,[dir=rtl] .sc-ion-picker-ios-h .picker-above-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-ios .picker-above-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-above-highlight.sc-ion-picker-ios:dir(rtl){left:unset;right:unset;right:0}}}.picker-below-highlight.sc-ion-picker-ios{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:119px;border-top:1px solid var(--border-color);background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 30%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:11}@supports (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-ios{left:0}[dir=rtl].sc-ion-picker-ios-h .picker-below-highlight.sc-ion-picker-ios,[dir=rtl] .sc-ion-picker-ios-h .picker-below-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-ios .picker-below-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-below-highlight.sc-ion-picker-ios:dir(rtl){left:unset;right:unset;right:0}}}",md:".sc-ion-picker-md-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}@supports (inset-inline-start: 0){.sc-ion-picker-md-h{inset-inline-start:0}}@supports not (inset-inline-start: 0){.sc-ion-picker-md-h{left:0}[dir=rtl].sc-ion-picker-md-h,[dir=rtl] .sc-ion-picker-md-h{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.sc-ion-picker-md-h:dir(rtl){left:unset;right:unset;right:0}}}.overlay-hidden.sc-ion-picker-md-h{display:none}.picker-wrapper.sc-ion-picker-md{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-md{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-md{border:0;font-family:inherit}.picker-button.sc-ion-picker-md:active,.picker-button.sc-ion-picker-md:focus{outline:none}.picker-columns.sc-ion-picker-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-md,.picker-below-highlight.sc-ion-picker-md{display:none;pointer-events:none}.sc-ion-picker-md-h{--background:var(--ion-background-color, #fff);--border-width:0.55px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-md{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;height:44px}.picker-button.sc-ion-picker-md,.picker-button.ion-activated.sc-ion-picker-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1.1em;padding-inline-start:1.1em;-webkit-padding-end:1.1em;padding-inline-end:1.1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #3880ff);font-size:14px;font-weight:500;text-transform:uppercase;-webkit-box-shadow:none;box-shadow:none}.picker-columns.sc-ion-picker-md{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-above-highlight.sc-ion-picker-md{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:81px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to bottom, var(--ion-background-color, #fff) 20%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:10}@supports (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-md{left:0}[dir=rtl].sc-ion-picker-md-h .picker-above-highlight.sc-ion-picker-md,[dir=rtl] .sc-ion-picker-md-h .picker-above-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-md .picker-above-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-above-highlight.sc-ion-picker-md:dir(rtl){left:unset;right:unset;right:0}}}.picker-below-highlight.sc-ion-picker-md{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:119px;border-top:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to top, var(--ion-background-color, #fff) 30%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:11}@supports (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-md{left:0}[dir=rtl].sc-ion-picker-md-h .picker-below-highlight.sc-ion-picker-md,[dir=rtl] .sc-ion-picker-md-h .picker-below-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-md .picker-below-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-below-highlight.sc-ion-picker-md:dir(rtl){left:unset;right:unset;right:0}}}"};const U=class{constructor(e){(0,a.r)(this,e),this.ionPickerColChange=(0,a.d)(this,"ionPickerColChange",7),this.optHeight=0,this.rotateFactor=0,this.scaleFactor=1,this.velocity=0,this.y=0,this.noAnimate=!0,this.colDidChange=!1,this.col=void 0}colChanged(){this.colDidChange=!0}connectedCallback(){var e=this;return(0,P.Z)(function*(){let i=0,t=.81;"ios"===(0,E.b)(e)&&(i=-.46,t=1),e.rotateFactor=i,e.scaleFactor=t,e.gesture=(yield Promise.resolve().then(y.bind(y,5067))).createGesture({el:e.el,gestureName:"picker-swipe",gesturePriority:100,threshold:0,passive:!1,onStart:o=>e.onStart(o),onMove:o=>e.onMove(o),onEnd:o=>e.onEnd(o)}),e.gesture.enable(),e.tmrId=setTimeout(()=>{e.noAnimate=!1,e.refresh(!0)},250)})()}componentDidLoad(){this.onDomChange()}componentDidUpdate(){this.colDidChange&&(this.onDomChange(!0,!1),this.colDidChange=!1)}disconnectedCallback(){void 0!==this.rafId&&cancelAnimationFrame(this.rafId),this.tmrId&&clearTimeout(this.tmrId),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}emitColChange(){this.ionPickerColChange.emit(this.col)}setSelected(e,i){const t=e>-1?-e*this.optHeight:0;this.velocity=0,void 0!==this.rafId&&cancelAnimationFrame(this.rafId),this.update(t,i,!0),this.emitColChange()}update(e,i,t){if(!this.optsEl)return;let n=0,o=0;const{col:s,rotateFactor:l}=this,d=s.selectedIndex,c=s.selectedIndex=this.indexForY(-e),h=0===i?"":i+"ms",p=`scale(${this.scaleFactor})`,g=this.optsEl.children;for(let f=0;f0?Math.max(this.velocity,1):Math.min(this.velocity,-1);let e=this.y+this.velocity;e>this.minY?(e=this.minY,this.velocity=0):e1?this.rafId=requestAnimationFrame(()=>this.decelerate()):(this.velocity=0,this.emitColChange(),(0,F.h)())}else if(this.y%this.optHeight!=0){const e=Math.abs(this.y%this.optHeight);this.velocity=e>this.optHeight/2?1:-1,this.decelerate()}}indexForY(e){return Math.min(Math.max(Math.abs(Math.round(e/this.optHeight)),0),this.col.options.length-1)}onStart(e){e.event.cancelable&&e.event.preventDefault(),e.event.stopPropagation(),(0,F.a)(),void 0!==this.rafId&&cancelAnimationFrame(this.rafId);const i=this.col.options;let t=i.length-1,n=0;for(let o=0;othis.minY?(i=Math.pow(i,.8),this.bounceFrom=i):i0)return this.update(this.minY,100,!0),void this.emitColChange();if(this.bounceFrom<0)return this.update(this.maxY,100,!0),void this.emitColChange();if(this.velocity=(0,O.l)(-N,23*e.velocityY,N),0===this.velocity&&0===e.deltaY){const i=e.event.target.closest(".picker-opt");i?.hasAttribute("opt-index")&&this.setSelected(parseInt(i.getAttribute("opt-index"),10),G)}else{if(this.y+=e.deltaY,Math.abs(e.velocityY)<.05){const i=e.deltaY>0,t=Math.abs(this.y)%this.optHeight/this.optHeight;i&&t>.5?this.velocity=-1*Math.abs(this.velocity):!i&&t<=.5&&(this.velocity=Math.abs(this.velocity))}this.decelerate()}}refresh(e,i){var t;let n=this.col.options.length-1,o=0;const s=this.col.options;for(let d=0;dthis.optsEl=t},e.options.map((t,n)=>(0,a.h)("button",{"aria-label":t.ariaLabel,class:{"picker-opt":!0,"picker-opt-disabled":!!t.disabled},"opt-index":n},t.text))),e.suffix&&(0,a.h)("div",{class:"picker-suffix",style:{width:e.suffixWidth}},e.suffix))}get el(){return(0,a.f)(this)}static get watchers(){return{col:["colChanged"]}}},Z="picker-opt-selected",ue=.97,N=90,G=150;U.style={ios:".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}@supports (inset-inline-start: 0){.picker-opt{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-opt{left:0}:host-context([dir=rtl]) .picker-opt{left:unset;right:unset;right:0}[dir=rtl] .picker-opt{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){left:unset;right:unset;right:0}}}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:20px;line-height:42px;pointer-events:none}.picker-opt{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:center center;transform-origin:center center;height:46px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:20px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}:host-context([dir=rtl]) .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}",md:".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}@supports (inset-inline-start: 0){.picker-opt{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-opt{left:0}:host-context([dir=rtl]) .picker-opt{left:unset;right:unset;right:0}[dir=rtl] .picker-opt{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){left:unset;right:unset;right:0}}}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:22px;line-height:42px;pointer-events:none}.picker-opt{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;height:43px;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:22px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}.picker-prefix,.picker-suffix,.picker-opt.picker-opt-selected{color:var(--ion-color-primary, #3880ff)}"}}}]); \ No newline at end of file diff --git a/4959.b6cbe58aea1d4512.js b/4959.b6cbe58aea1d4512.js deleted file mode 100644 index 1857fc0a..00000000 --- a/4959.b6cbe58aea1d4512.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4959],{4959:(mt,z,y)=>{y.r(z),y.d(z,{ion_datetime:()=>B,ion_picker:()=>H,ion_picker_column:()=>$});var C=y(5861),a=y(1071),q=y(5837),D=y(2674),v=y(3357),_=y(5215),E=y(2997),O=y(6026),T=y(7263),r=y(3131),k=y(1701),M=y(2438),W=y(2669);y(7693),y(6447);const F=(t,e,i,n)=>!!(null===t.day||void 0!==n&&!n.includes(t.day)||e&&(0,r.i)(t,e)||i&&(0,r.b)(t,i)),V=(t,{minParts:e,maxParts:i})=>!!(((t,e,i)=>!!(e&&e.year>t||i&&i.year{const{multiple:e,value:i}=this;!e&&Array.isArray(i)&&(0,v.p)(`ion-datetime was passed an array of values, but multiple="false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".\n\n Value Passed: [${i.map(n=>`'${n}'`).join(", ")}]\n`,this.el)},this.setValue=e=>{this.value=e,this.ionChange.emit({value:e})},this.getActivePartsWithFallback=()=>{var e;const{defaultParts:i}=this;return null!==(e=this.getActivePart())&&void 0!==e?e:i},this.getActivePart=()=>{const{activePartsClone:e}=this;return Array.isArray(e)?e[0]:e},this.closeParentOverlay=()=>{const e=this.el.closest("ion-modal, ion-popover");e&&e.dismiss()},this.setWorkingParts=e=>{this.workingParts=Object.assign({},e)},this.setActiveParts=(e,i=!1)=>{const{multiple:n,minParts:o,maxParts:l,activePartsClone:s}=this,c=(0,r.v)(e,o,l);if(this.setWorkingParts(c),n){const h=Array.isArray(s)?s:[s];this.activeParts=i?h.filter(p=>!(0,r.c)(p,c)):[...h,c]}else this.activeParts=Object.assign({},c);null!==this.el.querySelector('[slot="buttons"]')||this.showDefaultButtons||this.confirm()},this.initializeKeyboardListeners=()=>{const e=this.calendarBodyRef;if(!e)return;const i=this.el.shadowRoot,n=e.querySelector(".calendar-month:nth-of-type(2)"),l=new MutationObserver(s=>{var c;null!==(c=s[0].oldValue)&&void 0!==c&&c.includes("ion-focused")||!e.classList.contains("ion-focused")||this.focusWorkingDay(n)});l.observe(e,{attributeFilter:["class"],attributeOldValue:!0}),this.destroyKeyboardMO=()=>{l?.disconnect()},e.addEventListener("keydown",s=>{const c=i.activeElement;if(!c||!c.classList.contains("calendar-day"))return;const d=(0,r.f)(c);let h;switch(s.key){case"ArrowDown":s.preventDefault(),h=(0,r.n)(d);break;case"ArrowUp":s.preventDefault(),h=(0,r.m)(d);break;case"ArrowRight":s.preventDefault(),h=(0,r.l)(d);break;case"ArrowLeft":s.preventDefault(),h=(0,r.k)(d);break;case"Home":s.preventDefault(),h=(0,r.j)(d);break;case"End":s.preventDefault(),h=(0,r.h)(d);break;case"PageUp":s.preventDefault(),h=s.shiftKey?(0,r.O)(d):(0,r.d)(d);break;case"PageDown":s.preventDefault(),h=s.shiftKey?(0,r.N)(d):(0,r.e)(d);break;default:return}F(h,this.minParts,this.maxParts)||(this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),h)),requestAnimationFrame(()=>this.focusWorkingDay(n)))})},this.focusWorkingDay=e=>{const i=e.querySelectorAll(".calendar-day-padding"),{day:n}=this.workingParts;if(null===n)return;const o=e.querySelector(`.calendar-day:nth-of-type(${i.length+n})`);o&&o.focus()},this.processMinParts=()=>{const{min:e,defaultParts:i}=this;this.minParts=void 0!==e?(0,r.p)(e,i):void 0},this.processMaxParts=()=>{const{max:e,defaultParts:i}=this;this.maxParts=void 0!==e?(0,r.o)(e,i):void 0},this.initializeCalendarListener=()=>{const e=this.calendarBodyRef;if(!e)return;const i=e.querySelectorAll(".calendar-month"),n=i[0],o=i[1],l=i[2],c="ios"===(0,T.b)(this)&&typeof navigator<"u"&&navigator.maxTouchPoints>1;(0,a.w)(()=>{e.scrollLeft=n.clientWidth*((0,_.i)(this.el)?-1:1);const h=()=>{c&&(e.style.removeProperty("pointer-events"),b=!1);const g=(g=>{const f=e.getBoundingClientRect(),x=e.scrollLeft<=2?n:l,m=x.getBoundingClientRect();if(!(Math.abs(m.x-f.x)>2))return x===n?(0,r.d)(g):x===l?(0,r.e)(g):void 0})(this.workingParts);if(!g)return;const{month:f,day:x,year:m}=g;V({month:f,year:m,day:null},{minParts:Object.assign(Object.assign({},this.minParts),{day:null}),maxParts:Object.assign(Object.assign({},this.maxParts),{day:null})})||(e.style.setProperty("overflow","hidden"),(0,a.w)(()=>{this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),{month:f,day:x,year:m})),e.scrollLeft=o.clientWidth*((0,_.i)(this.el)?-1:1),e.style.removeProperty("overflow")}))};let p,b=!1;const u=()=>{p&&clearTimeout(p),!b&&c&&(e.style.setProperty("pointer-events","none"),b=!0),p=setTimeout(h,50)};e.addEventListener("scroll",u),this.destroyCalendarListener=()=>{e.removeEventListener("scroll",u)}})},this.destroyInteractionListeners=()=>{const{destroyCalendarListener:e,destroyKeyboardMO:i}=this;void 0!==e&&e(),void 0!==i&&i()},this.processValue=e=>{const i=null!=e,n=i?(0,r.q)(e):this.defaultParts,{minParts:o,maxParts:l}=this;this.warnIfIncorrectValueUsage(),i&&(0,r.w)(n,o,l);const s=Array.isArray(n)?n[0]:n,{month:c,day:d,year:h,hour:p,minute:b}=(0,r.P)(s,o,l),u=(0,r.Q)(p);this.setWorkingParts({month:c,day:d,year:h,hour:p,minute:b,ampm:u}),this.activeParts=i?Array.isArray(n)?[...n]:{month:c,day:d,year:h,hour:p,minute:b,ampm:u}:[]},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.hasValue=()=>null!=this.value,this.nextMonth=()=>{const e=this.calendarBodyRef;if(!e)return;const i=e.querySelector(".calendar-month:last-of-type");i&&e.scrollTo({top:0,left:2*i.offsetWidth*((0,_.i)(this.el)?-1:1),behavior:"smooth"})},this.prevMonth=()=>{const e=this.calendarBodyRef;!e||!e.querySelector(".calendar-month:first-of-type")||e.scrollTo({top:0,left:0,behavior:"smooth"})},this.toggleMonthAndYearView=()=>{this.showMonthAndYear=!this.showMonthAndYear},this.showMonthAndYear=!1,this.activeParts=[],this.workingParts={month:5,day:28,year:2021,hour:13,minute:52,ampm:"pm"},this.isTimePopoverOpen=!1,this.color="primary",this.name=this.inputId,this.disabled=!1,this.readonly=!1,this.isDateEnabled=void 0,this.min=void 0,this.max=void 0,this.presentation="date-time",this.cancelText="Cancel",this.doneText="Done",this.clearText="Clear",this.yearValues=void 0,this.monthValues=void 0,this.dayValues=void 0,this.hourValues=void 0,this.minuteValues=void 0,this.locale="default",this.firstDayOfWeek=0,this.titleSelectedDatesFormatter=void 0,this.multiple=!1,this.highlightedDates=void 0,this.value=void 0,this.showDefaultTitle=!1,this.showDefaultButtons=!1,this.showClearButton=!1,this.showDefaultTimeLabel=!0,this.hourCycle=void 0,this.size="fixed",this.preferWheel=!1}disabledChanged(){this.emitStyle()}minChanged(){this.processMinParts()}maxChanged(){this.processMaxParts()}yearValuesChanged(){this.parsedYearValues=(0,r.r)(this.yearValues)}monthValuesChanged(){this.parsedMonthValues=(0,r.r)(this.monthValues)}dayValuesChanged(){this.parsedDayValues=(0,r.r)(this.dayValues)}hourValuesChanged(){this.parsedHourValues=(0,r.r)(this.hourValues)}minuteValuesChanged(){this.parsedMinuteValues=(0,r.r)(this.minuteValues)}activePartsChanged(){this.activePartsClone=this.activeParts}valueChanged(){const{value:t,minParts:e,maxParts:i,workingParts:n}=this;if(this.hasValue()){this.warnIfIncorrectValueUsage();const o=(0,r.q)(t);if(o)if((0,r.w)(o,e,i),Array.isArray(o))this.activePartsClone=[...o];else{const{month:l,day:s,year:c,hour:d,minute:h}=o,p=null!=d?d>=12?"pm":"am":void 0;this.activePartsClone=Object.assign(Object.assign({},this.activeParts),{month:l,day:s,year:c,hour:d,minute:h,ampm:p}),this.setWorkingParts(Object.assign(Object.assign({},n),{ampm:p}))}else(0,v.p)(`Unable to parse date string: ${t}. Please provide a valid ISO 8601 datetime string.`)}this.emitStyle(),this.ionValueChange.emit({value:t})}confirm(t=!1){var e=this;return(0,C.Z)(function*(){const{isCalendarPicker:i,activeParts:n}=e;(void 0!==n||!i)&&(Array.isArray(n)&&0===n.length?e.setValue(void 0):e.setValue((0,r.s)(n))),t&&e.closeParentOverlay()})()}reset(t){var e=this;return(0,C.Z)(function*(){e.processValue(t)})()}cancel(t=!1){var e=this;return(0,C.Z)(function*(){e.ionCancel.emit(),t&&e.closeParentOverlay()})()}get isCalendarPicker(){const{presentation:t}=this;return"date"===t||"date-time"===t||"time-date"===t}connectedCallback(){this.clearFocusVisible=(0,q.startFocusVisible)(this.el).destroy}disconnectedCallback(){this.clearFocusVisible&&(this.clearFocusVisible(),this.clearFocusVisible=void 0)}initializeListeners(){this.initializeCalendarListener(),this.initializeKeyboardListeners()}componentDidLoad(){const e=new IntersectionObserver(l=>{l[0].isIntersecting&&(this.initializeListeners(),(0,a.w)(()=>{this.el.classList.add("datetime-ready")}))},{threshold:.01});(0,D.r)(()=>e?.observe(this.el));const n=new IntersectionObserver(l=>{l[0].isIntersecting||(this.destroyInteractionListeners(),this.showMonthAndYear=!1,(0,a.w)(()=>{this.el.classList.remove("datetime-ready")}))},{threshold:0});(0,D.r)(()=>n?.observe(this.el));const o=(0,D.g)(this.el);o.addEventListener("ionFocus",l=>l.stopPropagation()),o.addEventListener("ionBlur",l=>l.stopPropagation())}componentDidRender(){const{presentation:t,prevPresentation:e,calendarBodyRef:i,minParts:n,preferWheel:o}=this,l=!o&&["date-time","time-date","date"].includes(t);if(void 0!==n&&l&&i){const s=i.querySelector(".calendar-month:nth-of-type(1)");s&&(i.scrollLeft=s.clientWidth*((0,_.i)(this.el)?-1:1))}null!==e?t!==e&&(this.prevPresentation=t,this.destroyInteractionListeners(),this.initializeListeners(),this.showMonthAndYear=!1,(0,D.r)(()=>{this.ionRender.emit()})):this.prevPresentation=t}componentWillLoad(){const{el:t,highlightedDates:e,multiple:i,presentation:n,preferWheel:o}=this;i&&("date"!==n&&(0,v.p)('Multiple date selection is only supported for presentation="date".',t),o&&(0,v.p)('Multiple date selection is not supported with preferWheel="true".',t)),void 0!==e&&("date"!==n&&"date-time"!==n&&"time-date"!==n&&(0,v.p)("The highlightedDates property is only supported with the date, date-time, and time-date presentations.",t),o&&(0,v.p)('The highlightedDates property is not supported with preferWheel="true".',t)),this.processMinParts(),this.processMaxParts();const l=this.parsedHourValues=(0,r.r)(this.hourValues),s=this.parsedMinuteValues=(0,r.r)(this.minuteValues),c=this.parsedMonthValues=(0,r.r)(this.monthValues),d=this.parsedYearValues=(0,r.r)(this.yearValues),h=this.parsedDayValues=(0,r.r)(this.dayValues),p=this.todayParts=(0,r.q)((0,r.t)());this.defaultParts=(0,r.u)(p,c,h,d,l,s),this.processValue(this.value),this.emitStyle()}emitStyle(){this.ionStyle.emit({interactive:!0,datetime:!0,"interactive-disabled":this.disabled})}renderFooter(){const{showDefaultButtons:t,showClearButton:e}=this;if(null===this.el.querySelector('[slot="buttons"]')&&!t&&!e)return;const n=()=>{this.reset(),this.setValue(void 0)};return(0,a.h)("div",{class:"datetime-footer"},(0,a.h)("div",{class:"datetime-buttons"},(0,a.h)("div",{class:{"datetime-action-buttons":!0,"has-clear-button":this.showClearButton}},(0,a.h)("slot",{name:"buttons"},(0,a.h)("ion-buttons",null,t&&(0,a.h)("ion-button",{id:"cancel-button",color:this.color,onClick:()=>this.cancel(!0)},this.cancelText),(0,a.h)("div",null,e&&(0,a.h)("ion-button",{id:"clear-button",color:this.color,onClick:()=>n()},this.clearText),t&&(0,a.h)("ion-button",{id:"confirm-button",color:this.color,onClick:()=>this.confirm(!0)},this.doneText)))))))}renderWheelPicker(t=this.presentation){const e="time-date"===t?[this.renderTimePickerColumns(t),this.renderDatePickerColumns(t)]:[this.renderDatePickerColumns(t),this.renderTimePickerColumns(t)];return(0,a.h)("ion-picker-internal",null,e)}renderDatePickerColumns(t){return"date-time"===t||"time-date"===t?this.renderCombinedDatePickerColumn():this.renderIndividualDatePickerColumns(t)}renderCombinedDatePickerColumn(){const{defaultParts:t,workingParts:e,locale:i,minParts:n,maxParts:o,todayParts:l,isDateEnabled:s}=this,c=this.getActivePartsWithFallback(),d=(0,r.I)(e),h=d[d.length-1];d[0].day=1,h.day=(0,r.x)(h.month,h.year);const p=void 0!==n&&(0,r.b)(n,d[0])?n:d[0],b=void 0!==o&&(0,r.i)(o,h)?o:h,u=(0,r.y)(i,l,p,b,this.parsedDayValues,this.parsedMonthValues);let g=u.items;const f=u.parts;return s&&(g=g.map((m,w)=>{const P=f[w];let A;try{A=!s((0,r.s)(P))}catch(I){(0,v.a)("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",I)}return Object.assign(Object.assign({},m),{disabled:A})})),(0,a.h)("ion-picker-column-internal",{class:"date-column",color:this.color,items:g,value:null!==e.day?`${e.year}-${e.month}-${e.day}`:`${t.year}-${t.month}-${t.day}`,onIonChange:m=>{this.destroyCalendarListener&&this.destroyCalendarListener();const{value:w}=m.detail,P=f.find(({month:A,day:I,year:L})=>w===`${L}-${A}-${I}`);this.setWorkingParts(Object.assign(Object.assign({},e),P)),this.setActiveParts(Object.assign(Object.assign({},c),P)),this.initializeCalendarListener(),m.stopPropagation()}})}renderIndividualDatePickerColumns(t){const{workingParts:e,isDateEnabled:i}=this,o="year"!==t&&"time"!==t?(0,r.z)(this.locale,e,this.minParts,this.maxParts,this.parsedMonthValues):[];let s="date"===t?(0,r.A)(this.locale,e,this.minParts,this.maxParts,this.parsedDayValues):[];i&&(s=s.map(b=>{const{value:u}=b,g="string"==typeof u?parseInt(u):u,f={month:e.month,day:g,year:e.year};let x;try{x=!i((0,r.s)(f))}catch(m){(0,v.a)("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",m)}return Object.assign(Object.assign({},b),{disabled:x})}));const d="month"!==t&&"time"!==t?(0,r.B)(this.locale,this.defaultParts,this.minParts,this.maxParts,this.parsedYearValues):[];let p=[];return p=(0,r.C)(this.locale,{month:"numeric",day:"numeric"})?[this.renderMonthPickerColumn(o),this.renderDayPickerColumn(s),this.renderYearPickerColumn(d)]:[this.renderDayPickerColumn(s),this.renderMonthPickerColumn(o),this.renderYearPickerColumn(d)],p}renderDayPickerColumn(t){var e;if(0===t.length)return[];const{workingParts:i}=this,n=this.getActivePartsWithFallback();return(0,a.h)("ion-picker-column-internal",{class:"day-column",color:this.color,items:t,value:null!==(e=null!==i.day?i.day:this.defaultParts.day)&&void 0!==e?e:void 0,onIonChange:o=>{this.destroyCalendarListener&&this.destroyCalendarListener(),this.setWorkingParts(Object.assign(Object.assign({},i),{day:o.detail.value})),this.setActiveParts(Object.assign(Object.assign({},n),{day:o.detail.value})),this.initializeCalendarListener(),o.stopPropagation()}})}renderMonthPickerColumn(t){if(0===t.length)return[];const{workingParts:e}=this,i=this.getActivePartsWithFallback();return(0,a.h)("ion-picker-column-internal",{class:"month-column",color:this.color,items:t,value:e.month,onIonChange:n=>{this.destroyCalendarListener&&this.destroyCalendarListener(),this.setWorkingParts(Object.assign(Object.assign({},e),{month:n.detail.value})),this.setActiveParts(Object.assign(Object.assign({},i),{month:n.detail.value})),this.initializeCalendarListener(),n.stopPropagation()}})}renderYearPickerColumn(t){if(0===t.length)return[];const{workingParts:e}=this,i=this.getActivePartsWithFallback();return(0,a.h)("ion-picker-column-internal",{class:"year-column",color:this.color,items:t,value:e.year,onIonChange:n=>{this.destroyCalendarListener&&this.destroyCalendarListener(),this.setWorkingParts(Object.assign(Object.assign({},e),{year:n.detail.value})),this.setActiveParts(Object.assign(Object.assign({},i),{year:n.detail.value})),this.initializeCalendarListener(),n.stopPropagation()}})}renderTimePickerColumns(t){if(["date","month","month-year","year"].includes(t))return[];const i=void 0!==this.getActivePart(),{hoursData:n,minutesData:o,dayPeriodData:l}=(0,r.D)(this.locale,this.workingParts,this.hourCycle,i?this.minParts:void 0,i?this.maxParts:void 0,this.parsedHourValues,this.parsedMinuteValues);return[this.renderHourPickerColumn(n),this.renderMinutePickerColumn(o),this.renderDayPeriodPickerColumn(l)]}renderHourPickerColumn(t){const{workingParts:e}=this;if(0===t.length)return[];const i=this.getActivePartsWithFallback();return(0,a.h)("ion-picker-column-internal",{color:this.color,value:i.hour,items:t,numericInput:!0,onIonChange:n=>{this.setWorkingParts(Object.assign(Object.assign({},e),{hour:n.detail.value})),this.setActiveParts(Object.assign(Object.assign({},i),{hour:n.detail.value})),n.stopPropagation()}})}renderMinutePickerColumn(t){const{workingParts:e}=this;if(0===t.length)return[];const i=this.getActivePartsWithFallback();return(0,a.h)("ion-picker-column-internal",{color:this.color,value:i.minute,items:t,numericInput:!0,onIonChange:n=>{this.setWorkingParts(Object.assign(Object.assign({},e),{minute:n.detail.value})),this.setActiveParts(Object.assign(Object.assign({},i),{minute:n.detail.value})),n.stopPropagation()}})}renderDayPeriodPickerColumn(t){const{workingParts:e}=this;if(0===t.length)return[];const i=this.getActivePartsWithFallback(),n=(0,r.E)(this.locale);return(0,a.h)("ion-picker-column-internal",{style:n?{order:"-1"}:{},color:this.color,value:i.ampm,items:t,onIonChange:o=>{const l=(0,r.R)(e,o.detail.value);this.setWorkingParts(Object.assign(Object.assign({},e),{ampm:o.detail.value,hour:l})),this.setActiveParts(Object.assign(Object.assign({},i),{ampm:o.detail.value,hour:l})),o.stopPropagation()}})}renderWheelView(t){const{locale:e}=this,n=(0,r.C)(e)?"month-first":"year-first";return(0,a.h)("div",{class:{[`wheel-order-${n}`]:!0}},this.renderWheelPicker(t))}renderCalendarHeader(t){const e="ios"===t?O.l:O.p,i="ios"===t?O.o:O.q,n=((t,e,i)=>{const n=Object.assign(Object.assign({},(0,r.d)(this.workingParts)),{day:null});return V(n,{minParts:e,maxParts:i})})(0,this.minParts,this.maxParts),o=((t,e)=>{const i=Object.assign(Object.assign({},(0,r.e)(this.workingParts)),{day:null});return V(i,{maxParts:e})})(0,this.maxParts),l=this.el.getAttribute("dir")||void 0;return(0,a.h)("div",{class:"calendar-header"},(0,a.h)("div",{class:"calendar-action-buttons"},(0,a.h)("div",{class:"calendar-month-year"},(0,a.h)("ion-item",{part:"month-year-button",ref:s=>this.monthYearToggleItemRef=s,button:!0,"aria-label":"Show year picker",detail:!1,lines:"none",onClick:()=>{var s;this.toggleMonthAndYearView();const{monthYearToggleItemRef:c}=this;if(c){const d=null===(s=c.shadowRoot)||void 0===s?void 0:s.querySelector(".item-native");d&&d.setAttribute("aria-label",this.showMonthAndYear?"Hide year picker":"Show year picker")}}},(0,a.h)("ion-label",null,(0,r.G)(this.locale,this.workingParts),(0,a.h)("ion-icon",{"aria-hidden":"true",icon:this.showMonthAndYear?e:i,lazy:!1,flipRtl:!0})))),(0,a.h)("div",{class:"calendar-next-prev"},(0,a.h)("ion-buttons",null,(0,a.h)("ion-button",{"aria-label":"Previous month",disabled:n,onClick:()=>this.prevMonth()},(0,a.h)("ion-icon",{dir:l,"aria-hidden":"true",slot:"icon-only",icon:O.c,lazy:!1,flipRtl:!0})),(0,a.h)("ion-button",{"aria-label":"Next month",disabled:o,onClick:()=>this.nextMonth()},(0,a.h)("ion-icon",{dir:l,"aria-hidden":"true",slot:"icon-only",icon:O.o,lazy:!1,flipRtl:!0}))))),(0,a.h)("div",{class:"calendar-days-of-week","aria-hidden":"true"},(0,r.F)(this.locale,t,this.firstDayOfWeek%7).map(s=>(0,a.h)("div",{class:"day-of-week"},s))))}renderMonth(t,e){const i=void 0===this.parsedYearValues||this.parsedYearValues.includes(e),n=void 0===this.parsedMonthValues||this.parsedMonthValues.includes(t),o=!i||!n,l=V({month:t,year:e,day:null},{minParts:Object.assign(Object.assign({},this.minParts),{day:null}),maxParts:Object.assign(Object.assign({},this.maxParts),{day:null})}),s=this.workingParts.month===t&&this.workingParts.year===e,c=this.getActivePartsWithFallback();return(0,a.h)("div",{"aria-hidden":s?null:"true",class:{"calendar-month":!0,"calendar-month-disabled":!s&&l}},(0,a.h)("div",{class:"calendar-month-grid"},(0,r.H)(t,e,this.firstDayOfWeek%7).map((d,h)=>{const{day:p,dayOfWeek:b}=d,{el:u,highlightedDates:g,isDateEnabled:f,multiple:x}=this,m={month:t,day:p,year:e},w=null===p,{isActive:P,isToday:A,ariaLabel:I,ariaSelected:L,disabled:ht,text:pt}=((t,e,i,n,o,l,s)=>{const d=void 0!==(Array.isArray(i)?i:[i]).find(b=>(0,r.c)(e,b)),h=(0,r.c)(e,n);return{disabled:F(e,o,l,s),isActive:d,isToday:h,ariaSelected:d?"true":null,ariaLabel:(0,r.g)(t,h,e),text:null!=e.day?(0,r.a)(t,e):null}})(this.locale,m,this.activePartsClone,this.todayParts,this.minParts,this.maxParts,this.parsedDayValues),Z=(0,r.s)(m);let j,S=o||ht;if(!S&&void 0!==f)try{S=!f(Z)}catch(ut){(0,v.a)("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",u,ut)}return void 0!==g&&!P&&null!==p&&(j=((t,e,i)=>{if(Array.isArray(t)){const n=e.split("T")[0],o=t.find(l=>l.date===n);if(o)return{textColor:o.textColor,backgroundColor:o.backgroundColor}}else try{return t(e)}catch(n){(0,v.a)("Exception thrown from provided `highlightedDates` callback. Please check your function and try again.",i,n)}})(g,Z,u)),(0,a.h)("button",{tabindex:"-1","data-day":p,"data-month":t,"data-year":e,"data-index":h,"data-day-of-week":b,disabled:S,class:{"calendar-day-padding":w,"calendar-day":!0,"calendar-day-active":P,"calendar-day-today":A},style:j&&{color:j.textColor},"aria-hidden":w?"true":null,"aria-selected":L,"aria-label":I,onClick:()=>{w||(this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),{month:t,day:p,year:e})),x?this.setActiveParts({month:t,day:p,year:e},P):this.setActiveParts(Object.assign(Object.assign({},c),{month:t,day:p,year:e})))}},(0,a.h)("div",{class:"calendar-day-highlight",style:{backgroundColor:j?.backgroundColor}}),pt)})))}renderCalendarBody(){return(0,a.h)("div",{class:"calendar-body ion-focusable",ref:t=>this.calendarBodyRef=t,tabindex:"0"},(0,r.I)(this.workingParts).map(({month:t,year:e})=>this.renderMonth(t,e)))}renderCalendar(t){return(0,a.h)("div",{class:"datetime-calendar",key:"datetime-calendar"},this.renderCalendarHeader(t),this.renderCalendarBody())}renderTimeLabel(){if(null!==this.el.querySelector('[slot="time-label"]')||this.showDefaultTimeLabel)return(0,a.h)("slot",{name:"time-label"},"Time")}renderTimeOverlay(){var t=this;const{hourCycle:e,isTimePopoverOpen:i,locale:n}=this,o=(0,r.J)(n,e),l=this.getActivePartsWithFallback();return[(0,a.h)("div",{class:"time-header"},this.renderTimeLabel()),(0,a.h)("button",{class:{"time-body":!0,"time-body-active":i},part:"time-button"+(i?" active":""),"aria-expanded":"false","aria-haspopup":"true",onClick:(s=(0,C.Z)(function*(c){const{popoverRef:d}=t;d&&(t.isTimePopoverOpen=!0,d.present(new CustomEvent("ionShadowTarget",{detail:{ionShadowTarget:c.target}})),yield d.onWillDismiss(),t.isTimePopoverOpen=!1)}),function(d){return s.apply(this,arguments)})},(0,r.K)(n,l,o)),(0,a.h)("ion-popover",{alignment:"center",translucent:!0,overlayIndex:1,arrow:!1,onWillPresent:s=>{s.target.querySelectorAll("ion-picker-column-internal").forEach(d=>d.scrollActiveItemIntoView())},style:{"--offset-y":"-10px","--min-width":"fit-content"},keyboardEvents:!0,ref:s=>this.popoverRef=s},this.renderWheelPicker("time"))];var s}getHeaderSelectedDateText(){const{activeParts:t,multiple:e,titleSelectedDatesFormatter:i}=this,n=Array.isArray(t);let o;if(e&&n&&1!==t.length){if(o=`${t.length} days`,void 0!==i)try{o=i((0,r.s)(t))}catch(l){(0,v.a)("Exception in provided `titleSelectedDatesFormatter`: ",l)}}else o=(0,r.L)(this.locale,this.getActivePartsWithFallback());return o}renderHeader(t=!0){if(null!==this.el.querySelector('[slot="title"]')||this.showDefaultTitle)return(0,a.h)("div",{class:"datetime-header"},(0,a.h)("div",{class:"datetime-title"},(0,a.h)("slot",{name:"title"},"Select Date")),t&&(0,a.h)("div",{class:"datetime-selected-date"},this.getHeaderSelectedDateText()))}renderTime(){const{presentation:t}=this;return(0,a.h)("div",{class:"datetime-time"},"time"===t?this.renderWheelPicker():this.renderTimeOverlay())}renderCalendarViewMonthYearPicker(){return(0,a.h)("div",{class:"datetime-year"},this.renderWheelView("month-year"))}renderDatetime(t){const{presentation:e,preferWheel:i}=this;if(i&&("date"===e||"date-time"===e||"time-date"===e))return[this.renderHeader(!1),this.renderWheelView(),this.renderFooter()];switch(e){case"date-time":return[this.renderHeader(),this.renderCalendar(t),this.renderCalendarViewMonthYearPicker(),this.renderTime(),this.renderFooter()];case"time-date":return[this.renderHeader(),this.renderTime(),this.renderCalendar(t),this.renderCalendarViewMonthYearPicker(),this.renderFooter()];case"time":return[this.renderHeader(!1),this.renderTime(),this.renderFooter()];case"month":case"month-year":case"year":return[this.renderHeader(!1),this.renderWheelView(),this.renderFooter()];default:return[this.renderHeader(),this.renderCalendar(t),this.renderCalendarViewMonthYearPicker(),this.renderFooter()]}}render(){const{name:t,value:e,disabled:i,el:n,color:o,readonly:l,showMonthAndYear:s,preferWheel:c,presentation:d,size:h}=this,p=(0,T.b)(this),b="year"===d||"month"===d||"month-year"===d,u=s||b,g=s&&!b,f="date"===d||"date-time"===d||"time-date"===d,x=f&&c,m=f&&!c;return(0,D.d)(!0,n,t,(0,r.M)(e),i),(0,a.h)(a.H,{"aria-disabled":i?"true":null,onFocus:this.onFocus,onBlur:this.onBlur,class:Object.assign({},(0,E.c)(o,{[p]:!0,"datetime-readonly":l,"datetime-disabled":i,"show-month-and-year":u,"month-year-picker-open":g,[`datetime-presentation-${d}`]:!0,[`datetime-size-${h}`]:!0,"datetime-prefer-wheel":x,"datetime-grid":m}))},this.renderDatetime(p))}get el(){return(0,a.f)(this)}static get watchers(){return{disabled:["disabledChanged"],min:["minChanged"],max:["maxChanged"],yearValues:["yearValuesChanged"],monthValues:["monthValuesChanged"],dayValues:["dayValuesChanged"],hourValues:["hourValuesChanged"],minuteValues:["minuteValuesChanged"],activeParts:["activePartsChanged"],value:["valueChanged"]}}};let nt=0;B.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}ion-picker-column-internal{min-width:26px}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{position:absolute;visibility:hidden;pointer-events:none}@supports (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{inset-inline-start:-99999px}}@supports not (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{left:-99999px}:host-context([dir=rtl]):host(.show-month-and-year) .calendar-next-prev,:host-context([dir=rtl]).show-month-and-year .calendar-next-prev,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-days-of-week,:host-context([dir=rtl]).show-month-and-year .calendar-days-of-week,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-body,:host-context([dir=rtl]).show-month-and-year .calendar-body,:host-context([dir=rtl]):host(.show-month-and-year) .datetime-time,:host-context([dir=rtl]).show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}@supports selector(:dir(rtl)){:host(.show-month-and-year) .calendar-next-prev:dir(rtl),:host(.show-month-and-year) .calendar-days-of-week:dir(rtl),:host(.show-month-and-year) .calendar-body:dir(rtl),:host(.show-month-and-year) .datetime-time:dir(rtl){left:unset;right:unset;right:-99999px}}}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-readonly),:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled){opacity:0.4}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--background:translucent}:host .calendar-action-buttons ion-item ion-label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .calendar-action-buttons ion-item ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day-highlight{border-radius:32px;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:32px;height:32px;z-index:-1}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons ion-item{--color:var(--ion-color-base)}:host{--background:var(--ion-color-light, #ffffff);--background-rgb:var(--ion-color-light-rgb);--title-color:var(--ion-color-step-600, #666666)}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, #cccccc);font-size:14px}:host .datetime-header .datetime-title{color:var(--title-color)}:host .datetime-header .datetime-selected-date{margin-top:10px}:host .calendar-action-buttons ion-item{--padding-start:16px;--background-hover:transparent;--background-activated:transparent;font-size:16px;font-weight:600}:host .calendar-action-buttons ion-item ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}:host .calendar-action-buttons ion-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-days-of-week{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, #b3b3b3);font-size:12px;font-weight:600;line-height:24px;text-transform:uppercase}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;height:calc(100% - 16px)}:host .calendar-day{font-size:20px}.calendar-day:focus .calendar-day-highlight,.calendar-day.calendar-day-active .calendar-day-highlight{opacity:0.2}.calendar-day.calendar-day-active .calendar-day-highlight{background:var(--ion-color-base)}.calendar-day:focus .calendar-day-highlight{background:var(--ion-color-base) !important}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-today.calendar-day-active{color:var(--ion-color-contrast)}.calendar-day.calendar-day-today.calendar-day-active .calendar-day-highlight{background:var(--ion-color-base);opacity:1}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:16px}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, #cccccc)}:host .datetime-buttons ::slotted(ion-buttons),:host .datetime-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}:host .datetime-action-buttons{width:100%}",md:":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}ion-picker-column-internal{min-width:26px}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{position:absolute;visibility:hidden;pointer-events:none}@supports (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{inset-inline-start:-99999px}}@supports not (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{left:-99999px}:host-context([dir=rtl]):host(.show-month-and-year) .calendar-next-prev,:host-context([dir=rtl]).show-month-and-year .calendar-next-prev,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-days-of-week,:host-context([dir=rtl]).show-month-and-year .calendar-days-of-week,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-body,:host-context([dir=rtl]).show-month-and-year .calendar-body,:host-context([dir=rtl]):host(.show-month-and-year) .datetime-time,:host-context([dir=rtl]).show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}@supports selector(:dir(rtl)){:host(.show-month-and-year) .calendar-next-prev:dir(rtl),:host(.show-month-and-year) .calendar-days-of-week:dir(rtl),:host(.show-month-and-year) .calendar-body:dir(rtl),:host(.show-month-and-year) .datetime-time:dir(rtl){left:unset;right:unset;right:-99999px}}}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-readonly),:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled){opacity:0.4}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--background:translucent}:host .calendar-action-buttons ion-item ion-label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .calendar-action-buttons ion-item ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day-highlight{border-radius:32px;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:32px;height:32px;z-index:-1}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons ion-item{--color:var(--ion-color-base)}:host{--background:var(--ion-color-step-100, #ffffff);--title-color:var(--ion-color-contrast)}:host .datetime-header{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}:host .datetime-header .datetime-title{font-size:12px;text-transform:uppercase}:host .datetime-header .datetime-selected-date{margin-top:30px;font-size:34px}:host .datetime-calendar .calendar-action-buttons ion-item{--padding-start:20px}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--color:var(--ion-color-step-650, #595959)}:host .calendar-days-of-week{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, gray);font-size:14px;line-height:36px}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:4px;padding-bottom:4px;grid-template-rows:repeat(6, 1fr)}:host .calendar-day{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0;padding-inline-end:0;padding-top:13px;padding-bottom:13px;font-size:14px}.calendar-day:focus .calendar-day-highlight{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}.calendar-day.calendar-day-today .calendar-day-highlight{border:1px solid var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active .calendar-day-highlight{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host .time-header{color:var(--ion-color-step-650, #595959)}:host(.datetime-presentation-month) .datetime-year,:host(.datetime-presentation-year) .datetime-year,:host(.datetime-presentation-month-year) .datetime-year{margin-top:20px;margin-bottom:20px}:host .datetime-buttons{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}:host .datetime-view-buttons ion-button{color:var(--ion-color-step-800, #333333)}"};const R=t=>{const e=(0,M.c)(),i=(0,M.c)(),n=(0,M.c)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),n.addElement(t.querySelector(".picker-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,n])},Y=t=>{const e=(0,M.c)(),i=(0,M.c)(),n=(0,M.c)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",.01),n.addElement(t.querySelector(".picker-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,n])},H=class{constructor(t){(0,a.r)(this,t),this.didPresent=(0,a.d)(this,"ionPickerDidPresent",7),this.willPresent=(0,a.d)(this,"ionPickerWillPresent",7),this.willDismiss=(0,a.d)(this,"ionPickerWillDismiss",7),this.didDismiss=(0,a.d)(this,"ionPickerDidDismiss",7),this.didPresentShorthand=(0,a.d)(this,"didPresent",7),this.willPresentShorthand=(0,a.d)(this,"willPresent",7),this.willDismissShorthand=(0,a.d)(this,"willDismiss",7),this.didDismissShorthand=(0,a.d)(this,"didDismiss",7),this.delegateController=(0,k.d)(this),this.triggerController=(0,k.e)(),this.onBackdropTap=()=>{this.dismiss(void 0,k.B)},this.dispatchCancelHandler=e=>{if((0,k.i)(e.detail.role)){const n=this.buttons.find(o=>"cancel"===o.role);this.callButtonHandler(n)}},this.presented=!1,this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.buttons=[],this.columns=[],this.cssClass=void 0,this.duration=0,this.showBackdrop=!0,this.backdropDismiss=!0,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}triggerChanged(){const{trigger:t,el:e,triggerController:i}=this;t&&i.addClickListener(e,t)}connectedCallback(){(0,k.j)(this.el),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){(0,k.k)(this.el)}componentDidLoad(){!0===this.isOpen&&(0,D.r)(()=>this.present())}present(){var t=this;return(0,C.Z)(function*(){void 0!==t.currentTransition&&(yield t.currentTransition),yield t.delegateController.attachViewToDom(),t.currentTransition=(0,k.f)(t,"pickerEnter",R,R,void 0),yield t.currentTransition,t.currentTransition=void 0,t.duration>0&&(t.durationTimeout=setTimeout(()=>t.dismiss(),t.duration))})()}dismiss(t,e){var i=this;return(0,C.Z)(function*(){i.durationTimeout&&clearTimeout(i.durationTimeout),i.currentTransition=(0,k.g)(i,t,e,"pickerLeave",Y,Y);const n=yield i.currentTransition;return n&&i.delegateController.removeViewFromDom(),n})()}onDidDismiss(){return(0,k.h)(this.el,"ionPickerDidDismiss")}onWillDismiss(){return(0,k.h)(this.el,"ionPickerWillDismiss")}getColumn(t){return Promise.resolve(this.columns.find(e=>e.name===t))}buttonClick(t){var e=this;return(0,C.Z)(function*(){const i=t.role;return(0,k.i)(i)?e.dismiss(void 0,i):(yield e.callButtonHandler(t))?e.dismiss(e.getSelected(),t.role):Promise.resolve()})()}callButtonHandler(t){var e=this;return(0,C.Z)(function*(){return!(t&&!1===(yield(0,k.s)(t.handler,e.getSelected())))})()}getSelected(){const t={};return this.columns.forEach((e,i)=>{const n=void 0!==e.selectedIndex?e.options[e.selectedIndex]:void 0;t[e.name]={text:n?n.text:void 0,value:n?n.value:void 0,columnIndex:i}}),t}render(){const{htmlAttributes:t}=this,e=(0,T.b)(this);return(0,a.h)(a.H,Object.assign({"aria-modal":"true",tabindex:"-1"},t,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[e]:!0,[`picker-${e}`]:!0,"overlay-hidden":!0},(0,E.g)(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonPickerWillDismiss:this.dispatchCancelHandler}),(0,a.h)("ion-backdrop",{visible:this.showBackdrop,tappable:this.backdropDismiss}),(0,a.h)("div",{tabindex:"0"}),(0,a.h)("div",{class:"picker-wrapper ion-overlay-wrapper",role:"dialog"},(0,a.h)("div",{class:"picker-toolbar"},this.buttons.map(i=>(0,a.h)("div",{class:rt(i)},(0,a.h)("button",{type:"button",onClick:()=>this.buttonClick(i),class:st(i)},i.text)))),(0,a.h)("div",{class:"picker-columns"},(0,a.h)("div",{class:"picker-above-highlight"}),this.presented&&this.columns.map(i=>(0,a.h)("ion-picker-column",{col:i})),(0,a.h)("div",{class:"picker-below-highlight"}))),(0,a.h)("div",{tabindex:"0"}))}get el(){return(0,a.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},rt=t=>({[`picker-toolbar-${t.role}`]:void 0!==t.role,"picker-toolbar-button":!0}),st=t=>Object.assign({"picker-button":!0,"ion-activatable":!0},(0,E.g)(t.cssClass));H.style={ios:".sc-ion-picker-ios-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}@supports (inset-inline-start: 0){.sc-ion-picker-ios-h{inset-inline-start:0}}@supports not (inset-inline-start: 0){.sc-ion-picker-ios-h{left:0}[dir=rtl].sc-ion-picker-ios-h,[dir=rtl] .sc-ion-picker-ios-h{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.sc-ion-picker-ios-h:dir(rtl){left:unset;right:unset;right:0}}}.overlay-hidden.sc-ion-picker-ios-h{display:none}.picker-wrapper.sc-ion-picker-ios{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-ios{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-ios{border:0;font-family:inherit}.picker-button.sc-ion-picker-ios:active,.picker-button.sc-ion-picker-ios:focus{outline:none}.picker-columns.sc-ion-picker-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-ios,.picker-below-highlight.sc-ion-picker-ios{display:none;pointer-events:none}.sc-ion-picker-ios-h{--background:var(--ion-background-color, #fff);--border-width:1px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-ios{display:-ms-flexbox;display:flex;height:44px;border-bottom:0.55px solid var(--border-color)}.picker-toolbar-button.sc-ion-picker-ios{-ms-flex:1;flex:1;text-align:end}.picker-toolbar-button.sc-ion-picker-ios:last-child .picker-button.sc-ion-picker-ios{font-weight:600}.picker-toolbar-button.sc-ion-picker-ios:first-child{font-weight:normal;text-align:start}.picker-button.sc-ion-picker-ios,.picker-button.ion-activated.sc-ion-picker-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1em;padding-inline-start:1em;-webkit-padding-end:1em;padding-inline-end:1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #3880ff);font-size:16px}.picker-columns.sc-ion-picker-ios{height:215px;-webkit-perspective:1000px;perspective:1000px}.picker-above-highlight.sc-ion-picker-ios{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:81px;border-bottom:1px solid var(--border-color);background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:10}@supports (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-ios{left:0}[dir=rtl].sc-ion-picker-ios-h .picker-above-highlight.sc-ion-picker-ios,[dir=rtl] .sc-ion-picker-ios-h .picker-above-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-ios .picker-above-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-above-highlight.sc-ion-picker-ios:dir(rtl){left:unset;right:unset;right:0}}}.picker-below-highlight.sc-ion-picker-ios{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:119px;border-top:1px solid var(--border-color);background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 30%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:11}@supports (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-ios{left:0}[dir=rtl].sc-ion-picker-ios-h .picker-below-highlight.sc-ion-picker-ios,[dir=rtl] .sc-ion-picker-ios-h .picker-below-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-ios .picker-below-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-below-highlight.sc-ion-picker-ios:dir(rtl){left:unset;right:unset;right:0}}}",md:".sc-ion-picker-md-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}@supports (inset-inline-start: 0){.sc-ion-picker-md-h{inset-inline-start:0}}@supports not (inset-inline-start: 0){.sc-ion-picker-md-h{left:0}[dir=rtl].sc-ion-picker-md-h,[dir=rtl] .sc-ion-picker-md-h{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.sc-ion-picker-md-h:dir(rtl){left:unset;right:unset;right:0}}}.overlay-hidden.sc-ion-picker-md-h{display:none}.picker-wrapper.sc-ion-picker-md{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-md{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-md{border:0;font-family:inherit}.picker-button.sc-ion-picker-md:active,.picker-button.sc-ion-picker-md:focus{outline:none}.picker-columns.sc-ion-picker-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-md,.picker-below-highlight.sc-ion-picker-md{display:none;pointer-events:none}.sc-ion-picker-md-h{--background:var(--ion-background-color, #fff);--border-width:0.55px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-md{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;height:44px}.picker-button.sc-ion-picker-md,.picker-button.ion-activated.sc-ion-picker-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1.1em;padding-inline-start:1.1em;-webkit-padding-end:1.1em;padding-inline-end:1.1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #3880ff);font-size:14px;font-weight:500;text-transform:uppercase;-webkit-box-shadow:none;box-shadow:none}.picker-columns.sc-ion-picker-md{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-above-highlight.sc-ion-picker-md{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:81px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to bottom, var(--ion-background-color, #fff) 20%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:10}@supports (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-md{left:0}[dir=rtl].sc-ion-picker-md-h .picker-above-highlight.sc-ion-picker-md,[dir=rtl] .sc-ion-picker-md-h .picker-above-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-md .picker-above-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-above-highlight.sc-ion-picker-md:dir(rtl){left:unset;right:unset;right:0}}}.picker-below-highlight.sc-ion-picker-md{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:119px;border-top:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to top, var(--ion-background-color, #fff) 30%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:11}@supports (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-md{left:0}[dir=rtl].sc-ion-picker-md-h .picker-below-highlight.sc-ion-picker-md,[dir=rtl] .sc-ion-picker-md-h .picker-below-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-md .picker-below-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-below-highlight.sc-ion-picker-md:dir(rtl){left:unset;right:unset;right:0}}}"};const $=class{constructor(t){(0,a.r)(this,t),this.ionPickerColChange=(0,a.d)(this,"ionPickerColChange",7),this.optHeight=0,this.rotateFactor=0,this.scaleFactor=1,this.velocity=0,this.y=0,this.noAnimate=!0,this.colDidChange=!1,this.col=void 0}colChanged(){this.colDidChange=!0}connectedCallback(){var t=this;return(0,C.Z)(function*(){let e=0,i=.81;"ios"===(0,T.b)(t)&&(e=-.46,i=1),t.rotateFactor=e,t.scaleFactor=i,t.gesture=(yield Promise.resolve().then(y.bind(y,9531))).createGesture({el:t.el,gestureName:"picker-swipe",gesturePriority:100,threshold:0,passive:!1,onStart:o=>t.onStart(o),onMove:o=>t.onMove(o),onEnd:o=>t.onEnd(o)}),t.gesture.enable(),t.tmrId=setTimeout(()=>{t.noAnimate=!1,t.refresh(!0)},250)})()}componentDidLoad(){this.onDomChange()}componentDidUpdate(){this.colDidChange&&(this.onDomChange(!0,!1),this.colDidChange=!1)}disconnectedCallback(){void 0!==this.rafId&&cancelAnimationFrame(this.rafId),this.tmrId&&clearTimeout(this.tmrId),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}emitColChange(){this.ionPickerColChange.emit(this.col)}setSelected(t,e){const i=t>-1?-t*this.optHeight:0;this.velocity=0,void 0!==this.rafId&&cancelAnimationFrame(this.rafId),this.update(i,e,!0),this.emitColChange()}update(t,e,i){if(!this.optsEl)return;let n=0,o=0;const{col:l,rotateFactor:s}=this,c=l.selectedIndex,d=l.selectedIndex=this.indexForY(-t),h=0===e?"":e+"ms",p=`scale(${this.scaleFactor})`,b=this.optsEl.children;for(let u=0;u0?Math.max(this.velocity,1):Math.min(this.velocity,-1);let t=this.y+this.velocity;t>this.minY?(t=this.minY,this.velocity=0):t1?this.rafId=requestAnimationFrame(()=>this.decelerate()):(this.velocity=0,this.emitColChange(),(0,W.h)())}else if(this.y%this.optHeight!=0){const t=Math.abs(this.y%this.optHeight);this.velocity=t>this.optHeight/2?1:-1,this.decelerate()}}indexForY(t){return Math.min(Math.max(Math.abs(Math.round(t/this.optHeight)),0),this.col.options.length-1)}onStart(t){t.event.cancelable&&t.event.preventDefault(),t.event.stopPropagation(),(0,W.a)(),void 0!==this.rafId&&cancelAnimationFrame(this.rafId);const e=this.col.options;let i=e.length-1,n=0;for(let o=0;othis.minY?(e=Math.pow(e,.8),this.bounceFrom=e):e0)return this.update(this.minY,100,!0),void this.emitColChange();if(this.bounceFrom<0)return this.update(this.maxY,100,!0),void this.emitColChange();if(this.velocity=(0,D.l)(-U,23*t.velocityY,U),0===this.velocity&&0===t.deltaY){const e=t.event.target.closest(".picker-opt");e?.hasAttribute("opt-index")&&this.setSelected(parseInt(e.getAttribute("opt-index"),10),N)}else{if(this.y+=t.deltaY,Math.abs(t.velocityY)<.05){const e=t.deltaY>0,i=Math.abs(this.y)%this.optHeight/this.optHeight;e&&i>.5?this.velocity=-1*Math.abs(this.velocity):!e&&i<=.5&&(this.velocity=Math.abs(this.velocity))}this.decelerate()}}refresh(t,e){var i;let n=this.col.options.length-1,o=0;const l=this.col.options;for(let c=0;cthis.optsEl=i},t.options.map((i,n)=>(0,a.h)("button",{"aria-label":i.ariaLabel,class:{"picker-opt":!0,"picker-opt-disabled":!!i.disabled},"opt-index":n},i.text))),t.suffix&&(0,a.h)("div",{class:"picker-suffix",style:{width:t.suffixWidth}},t.suffix))}get el(){return(0,a.f)(this)}static get watchers(){return{col:["colChanged"]}}},K="picker-opt-selected",ct=.97,U=90,N=150;$.style={ios:".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}@supports (inset-inline-start: 0){.picker-opt{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-opt{left:0}:host-context([dir=rtl]) .picker-opt{left:unset;right:unset;right:0}[dir=rtl] .picker-opt{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){left:unset;right:unset;right:0}}}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:20px;line-height:42px;pointer-events:none}.picker-opt{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:center center;transform-origin:center center;height:46px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:20px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}:host-context([dir=rtl]) .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}",md:".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}@supports (inset-inline-start: 0){.picker-opt{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-opt{left:0}:host-context([dir=rtl]) .picker-opt{left:unset;right:unset;right:0}[dir=rtl] .picker-opt{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){left:unset;right:unset;right:0}}}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:22px;line-height:42px;pointer-events:none}.picker-opt{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;height:43px;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:22px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}.picker-prefix,.picker-suffix,.picker-opt.picker-opt-selected{color:var(--ion-color-primary, #3880ff)}"}}}]); \ No newline at end of file diff --git a/5168.385955871cf905dc.js b/5168.385955871cf905dc.js deleted file mode 100644 index 4df91cc6..00000000 --- a/5168.385955871cf905dc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5168],{5168:(j,b,a)=>{a.r(b),a.d(b,{ion_toggle:()=>L});var m=a(5861),n=a(1071),f=a(479),c=a(2674),u=a(3357),x=a(2669),d=a(5215),r=a(2997),l=a(6026),s=a(7263);a(6447),a(7693);const L=class{constructor(e){var i=this;(0,n.r)(this,e),this.ionChange=(0,n.d)(this,"ionChange",7),this.ionFocus=(0,n.d)(this,"ionFocus",7),this.ionBlur=(0,n.d)(this,"ionBlur",7),this.ionStyle=(0,n.d)(this,"ionStyle",7),this.inputId="ion-tg-"+T++,this.lastDrag=0,this.inheritedAttributes={},this.didLoad=!1,this.hasLoggedDeprecationWarning=!1,this.setupGesture=(0,m.Z)(function*(){const{toggleTrack:t}=i;t&&(i.gesture=(yield Promise.resolve().then(a.bind(a,9531))).createGesture({el:t,gestureName:"toggle",gesturePriority:100,threshold:5,passive:!1,onStart:()=>i.onStart(),onMove:o=>i.onMove(o),onEnd:o=>i.onEnd(o)}),i.disabledChanged())}),this.onClick=t=>{t.preventDefault(),this.lastDrag+300{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.getSwitchLabelIcon=(t,o)=>"md"===t?o?l.f:l.r:o?l.r:l.g,this.activated=!1,this.color=void 0,this.name=this.inputId,this.checked=!1,this.disabled=!1,this.value="on",this.enableOnOffLabels=s.c.get("toggleOnOffLabels"),this.labelPlacement="start",this.legacy=void 0,this.justify="space-between"}disabledChanged(){this.emitStyle(),this.gesture&&this.gesture.enable(!this.disabled)}toggleChecked(){const{checked:e,value:i}=this,t=!e;this.checked=t,this.ionChange.emit({checked:t,value:i})}connectedCallback(){var e=this;return(0,m.Z)(function*(){e.legacyFormController=(0,f.c)(e.el),e.didLoad&&e.setupGesture()})()}componentDidLoad(){this.setupGesture(),this.didLoad=!0}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}componentWillLoad(){this.emitStyle(),this.legacyFormController.hasLegacyControl()||(this.inheritedAttributes=Object.assign({},(0,c.i)(this.el)))}emitStyle(){this.legacyFormController.hasLegacyControl()&&this.ionStyle.emit({"interactive-disabled":this.disabled})}onStart(){this.activated=!0,this.setFocus()}onMove(e){P((0,d.i)(this.el),this.checked,e.deltaX,-10)&&(this.toggleChecked(),(0,x.c)())}onEnd(e){this.activated=!1,this.lastDrag=Date.now(),e.event.preventDefault(),e.event.stopImmediatePropagation()}getValue(){return this.value||""}setFocus(){this.focusEl&&this.focusEl.focus()}renderOnOffSwitchLabels(e,i){const t=this.getSwitchLabelIcon(e,i);return(0,n.h)("ion-icon",{class:{"toggle-switch-icon":!0,"toggle-switch-icon-checked":i},icon:t,"aria-hidden":"true"})}renderToggleControl(){const e=(0,s.b)(this),{enableOnOffLabels:i,checked:t}=this;return(0,n.h)("div",{class:"toggle-icon",part:"track",ref:o=>this.toggleTrack=o},i&&"ios"===e&&[this.renderOnOffSwitchLabels(e,!0),this.renderOnOffSwitchLabels(e,!1)],(0,n.h)("div",{class:"toggle-icon-wrapper"},(0,n.h)("div",{class:"toggle-inner",part:"handle"},i&&"md"===e&&this.renderOnOffSwitchLabels(e,t))))}get hasLabel(){return""!==this.el.textContent}render(){const{legacyFormController:e}=this;return e.hasLegacyControl()?this.renderLegacyToggle():this.renderToggle()}renderToggle(){const{activated:e,color:i,checked:t,disabled:o,el:g,justify:p,labelPlacement:v,inputId:y,name:_}=this,E=(0,s.b)(this),C=this.getValue(),O=(0,d.i)(g)?"rtl":"ltr";return(0,c.d)(!0,g,_,t?C:"",o),(0,n.h)(n.H,{onClick:this.onClick,class:(0,r.c)(i,{[E]:!0,"in-item":(0,r.h)("ion-item",g),"toggle-activated":e,"toggle-checked":t,"toggle-disabled":o,[`toggle-justify-${p}`]:!0,[`toggle-label-placement-${v}`]:!0,[`toggle-${O}`]:!0})},(0,n.h)("label",{class:"toggle-wrapper"},(0,n.h)("input",Object.assign({type:"checkbox",role:"switch","aria-checked":`${t}`,checked:t,disabled:o,id:y,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:D=>this.focusEl=D},this.inheritedAttributes)),(0,n.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel}},(0,n.h)("slot",null)),(0,n.h)("div",{class:"native-wrapper"},this.renderToggleControl())))}renderLegacyToggle(){this.hasLoggedDeprecationWarning||((0,u.p)('ion-toggle now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: Email\nExample with aria-label: \n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,u.p)('ion-toggle is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new toggle syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{activated:e,color:i,checked:t,disabled:o,el:g,inputId:p,name:v}=this,y=(0,s.b)(this),{label:_,labelId:E,labelText:C}=(0,c.e)(g,p),O=this.getValue(),D=(0,d.i)(g)?"rtl":"ltr";return(0,c.d)(!0,g,v,t?O:"",o),(0,n.h)(n.H,{onClick:this.onClick,"aria-labelledby":_?E:null,"aria-checked":`${t}`,"aria-hidden":o?"true":null,role:"switch",class:(0,r.c)(i,{[y]:!0,"in-item":(0,r.h)("ion-item",g),"toggle-activated":e,"toggle-checked":t,"toggle-disabled":o,"legacy-toggle":!0,interactive:!0,[`toggle-${D}`]:!0})},this.renderToggleControl(),(0,n.h)("label",{htmlFor:p},C),(0,n.h)("input",{type:"checkbox",role:"switch","aria-checked":`${t}`,disabled:o,id:p,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:I=>this.focusEl=I}))}get el(){return(0,n.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}},P=(e,i,t,o)=>i?!e&&o>t||e&&-ot;let T=0;L.style={ios:":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;outline:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item:not(.legacy-toggle)){width:100%;height:100%}:host([slot=start]:not(.legacy-toggle)),:host([slot=end]:not(.legacy-toggle)){width:auto}:host(.legacy-toggle){contain:content;-ms-touch-action:none;touch-action:none}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}:host(.legacy-toggle) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;pointer-events:none}@supports (inset-inline-start: 0){:host(.legacy-toggle) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-toggle) label{left:0}:host-context([dir=rtl]):host(.legacy-toggle) label,:host-context([dir=rtl]).legacy-toggle label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-toggle) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-toggle) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-toggle)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.088);--track-background-checked:var(--ion-color-primary, #3880ff);--border-radius:16px;--handle-background:#ffffff;--handle-background-checked:#ffffff;--handle-border-radius:25.5px;--handle-box-shadow:0 3px 12px rgba(0, 0, 0, 0.16), 0 3px 1px rgba(0, 0, 0, 0.1);--handle-height:calc(32px - (2px * 2));--handle-max-height:calc(100% - var(--handle-spacing) * 2);--handle-width:calc(32px - (2px * 2));--handle-spacing:2px;--handle-transition:transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms}:host(.legacy-toggle){width:51px;height:32px;contain:strict;overflow:hidden}.native-wrapper .toggle-icon{width:51px;height:32px;overflow:hidden}:host(.ion-color.toggle-checked) .toggle-icon{background:var(--ion-color-base)}:host(.toggle-activated) .toggle-switch-icon{opacity:0}.toggle-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:background-color 300ms;transition:background-color 300ms}.toggle-inner{will-change:transform}.toggle-switch-icon{position:absolute;top:50%;width:11px;height:11px;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:opacity 300ms, color 300ms;transition:opacity 300ms, color 300ms}.toggle-switch-icon{position:absolute;color:var(--ion-color-dark)}:host(.toggle-ltr) .toggle-switch-icon{right:6px}:host(.toggle-rtl) .toggle-switch-icon{right:initial;left:6px;}:host(.toggle-checked) .toggle-switch-icon.toggle-switch-icon-checked{color:var(--ion-color-contrast, #fff)}:host(.toggle-checked) .toggle-switch-icon:not(.toggle-switch-icon-checked){opacity:0}.toggle-switch-icon-checked{position:absolute;width:15px;height:15px;-webkit-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg)}:host(.toggle-ltr) .toggle-switch-icon-checked{right:initial;left:4px;}:host(.toggle-rtl) .toggle-switch-icon-checked{right:4px}:host(.toggle-activated) .toggle-icon::before,:host(.toggle-checked) .toggle-icon::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated.toggle-checked) .toggle-inner::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated) .toggle-inner{width:calc(var(--handle-width) + 6px)}:host(.toggle-ltr.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0);transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0)}:host(.toggle-rtl.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0);transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0)}:host(.toggle-disabled){opacity:0.3}:host(.in-item.legacy-toggle){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:0;padding-inline-end:0;padding-top:6px;padding-bottom:5px}:host(.in-item.legacy-toggle[slot=start]){-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:6px;padding-bottom:5px}",md:":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;outline:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item:not(.legacy-toggle)){width:100%;height:100%}:host([slot=start]:not(.legacy-toggle)),:host([slot=end]:not(.legacy-toggle)){width:auto}:host(.legacy-toggle){contain:content;-ms-touch-action:none;touch-action:none}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}:host(.legacy-toggle) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;pointer-events:none}@supports (inset-inline-start: 0){:host(.legacy-toggle) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-toggle) label{left:0}:host-context([dir=rtl]):host(.legacy-toggle) label,:host-context([dir=rtl]).legacy-toggle label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-toggle) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-toggle) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-toggle)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.39);--track-background-checked:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.5);--border-radius:14px;--handle-background:#ffffff;--handle-background-checked:var(--ion-color-primary, #3880ff);--handle-border-radius:50%;--handle-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--handle-width:20px;--handle-height:20px;--handle-max-height:calc(100% + 6px);--handle-spacing:0;--handle-transition:transform 160ms cubic-bezier(0.4, 0, 0.2, 1), background-color 160ms cubic-bezier(0.4, 0, 0.2, 1)}:host(.legacy-toggle){-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;width:36px;height:14px;contain:strict}.native-wrapper .toggle-icon{width:36px;height:14px}:host(.ion-color.toggle-checked) .toggle-icon{background:rgba(var(--ion-color-base-rgb), 0.5)}:host(.ion-color.toggle-checked) .toggle-inner{background:var(--ion-color-base)}:host(.toggle-checked) .toggle-inner{color:var(--ion-color-contrast, #fff)}.toggle-icon{-webkit-transition:background-color 160ms;transition:background-color 160ms}.toggle-inner{will-change:background-color, transform;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#000}.toggle-inner .toggle-switch-icon{-webkit-padding-start:1px;padding-inline-start:1px;-webkit-padding-end:1px;padding-inline-end:1px;padding-top:1px;padding-bottom:1px;width:100%;height:100%}:host(.toggle-disabled){opacity:0.38}:host(.in-item.legacy-toggle){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:0;padding-inline-end:0;padding-top:12px;padding-bottom:12px;cursor:pointer}:host(.in-item.legacy-toggle[slot=start]){-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:18px;padding-inline-end:18px;padding-top:12px;padding-bottom:12px}"}},2997:(j,b,a)=>{a.d(b,{c:()=>f,g:()=>u,h:()=>n,o:()=>d});var m=a(5861);const n=(r,l)=>null!==l.closest(r),f=(r,l)=>"string"==typeof r&&r.length>0?Object.assign({"ion-color":!0,[`ion-color-${r}`]:!0},l):l,u=r=>{const l={};return(r=>void 0!==r?(Array.isArray(r)?r:r.split(" ")).filter(s=>null!=s).map(s=>s.trim()).filter(s=>""!==s):[])(r).forEach(s=>l[s]=!0),l},x=/^[a-z][a-z0-9+\-.]*:/,d=function(){var r=(0,m.Z)(function*(l,s,w,k){if(null!=l&&"#"!==l[0]&&!x.test(l)){const h=document.querySelector("ion-router");if(h)return s?.preventDefault(),h.push(l,w,k)}return!1});return function(s,w,k,h){return r.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/5168.e3b2608116b99ac8.js b/5168.e3b2608116b99ac8.js new file mode 100644 index 00000000..c5bdca18 --- /dev/null +++ b/5168.e3b2608116b99ac8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5168],{5168:(M,m,r)=>{r.r(m),r.d(m,{ion_toggle:()=>j});var b=r(5861),o=r(408),u=r(8134),c=r(2961),f=r(8909),x=r(1765),d=r(6879),i=r(3814),l=r(5723),s=r(4649);r(6319),r(2972);const j=class{constructor(t){var a=this;(0,o.r)(this,t),this.ionChange=(0,o.d)(this,"ionChange",7),this.ionFocus=(0,o.d)(this,"ionFocus",7),this.ionBlur=(0,o.d)(this,"ionBlur",7),this.ionStyle=(0,o.d)(this,"ionStyle",7),this.inputId="ion-tg-"+I++,this.lastDrag=0,this.inheritedAttributes={},this.didLoad=!1,this.hasLoggedDeprecationWarning=!1,this.setupGesture=(0,b.Z)(function*(){const{toggleTrack:e}=a;e&&(a.gesture=(yield Promise.resolve().then(r.bind(r,5067))).createGesture({el:e,gestureName:"toggle",gesturePriority:100,threshold:5,passive:!1,onStart:()=>a.onStart(),onMove:n=>a.onMove(n),onEnd:n=>a.onEnd(n)}),a.disabledChanged())}),this.onClick=e=>{this.disabled||(e.preventDefault(),this.lastDrag+300{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.getSwitchLabelIcon=(e,n)=>"md"===e?n?l.f:l.r:n?l.r:l.g,this.activated=!1,this.color=void 0,this.name=this.inputId,this.checked=!1,this.disabled=!1,this.value="on",this.enableOnOffLabels=s.c.get("toggleOnOffLabels"),this.labelPlacement="start",this.legacy=void 0,this.justify="space-between",this.alignment="center"}disabledChanged(){this.emitStyle(),this.gesture&&this.gesture.enable(!this.disabled)}toggleChecked(){const{checked:t,value:a}=this,e=!t;this.checked=e,this.ionChange.emit({checked:e,value:a})}connectedCallback(){var t=this;return(0,b.Z)(function*(){t.legacyFormController=(0,u.c)(t.el),t.didLoad&&t.setupGesture()})()}componentDidLoad(){this.setupGesture(),this.didLoad=!0}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}componentWillLoad(){this.emitStyle(),this.legacyFormController.hasLegacyControl()||(this.inheritedAttributes=Object.assign({},(0,c.i)(this.el)))}emitStyle(){this.legacyFormController.hasLegacyControl()&&this.ionStyle.emit({"interactive-disabled":this.disabled,legacy:!!this.legacy})}onStart(){this.activated=!0,this.setFocus()}onMove(t){T((0,d.i)(this.el),this.checked,t.deltaX,-10)&&(this.toggleChecked(),(0,x.c)())}onEnd(t){this.activated=!1,this.lastDrag=Date.now(),t.event.preventDefault(),t.event.stopImmediatePropagation()}getValue(){return this.value||""}setFocus(){this.focusEl&&this.focusEl.focus()}renderOnOffSwitchLabels(t,a){const e=this.getSwitchLabelIcon(t,a);return(0,o.h)("ion-icon",{class:{"toggle-switch-icon":!0,"toggle-switch-icon-checked":a},icon:e,"aria-hidden":"true"})}renderToggleControl(){const t=(0,s.b)(this),{enableOnOffLabels:a,checked:e}=this;return(0,o.h)("div",{class:"toggle-icon",part:"track",ref:n=>this.toggleTrack=n},a&&"ios"===t&&[this.renderOnOffSwitchLabels(t,!0),this.renderOnOffSwitchLabels(t,!1)],(0,o.h)("div",{class:"toggle-icon-wrapper"},(0,o.h)("div",{class:"toggle-inner",part:"handle"},a&&"md"===t&&this.renderOnOffSwitchLabels(t,e))))}get hasLabel(){return""!==this.el.textContent}render(){const{legacyFormController:t}=this;return t.hasLegacyControl()?this.renderLegacyToggle():this.renderToggle()}renderToggle(){const{activated:t,color:a,checked:e,disabled:n,el:g,justify:p,labelPlacement:v,inputId:y,name:_,alignment:E}=this,C=(0,s.b)(this),O=this.getValue(),D=(0,d.i)(g)?"rtl":"ltr";return(0,c.d)(!0,g,_,e?O:"",n),(0,o.h)(o.H,{onClick:this.onClick,class:(0,i.c)(a,{[C]:!0,"in-item":(0,i.h)("ion-item",g),"toggle-activated":t,"toggle-checked":e,"toggle-disabled":n,[`toggle-justify-${p}`]:!0,[`toggle-alignment-${E}`]:!0,[`toggle-label-placement-${v}`]:!0,[`toggle-${D}`]:!0})},(0,o.h)("label",{class:"toggle-wrapper"},(0,o.h)("input",Object.assign({type:"checkbox",role:"switch","aria-checked":`${e}`,checked:e,disabled:n,id:y,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:L=>this.focusEl=L},this.inheritedAttributes)),(0,o.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel},part:"label"},(0,o.h)("slot",null)),(0,o.h)("div",{class:"native-wrapper"},this.renderToggleControl())))}renderLegacyToggle(){this.hasLoggedDeprecationWarning||((0,f.p)('ion-toggle now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: Email\nExample with aria-label: \n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,f.p)('ion-toggle is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new toggle syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{activated:t,color:a,checked:e,disabled:n,el:g,inputId:p,name:v}=this,y=(0,s.b)(this),{label:_,labelId:E,labelText:C}=(0,c.e)(g,p),O=this.getValue(),D=(0,d.i)(g)?"rtl":"ltr";return(0,c.d)(!0,g,v,e?O:"",n),(0,o.h)(o.H,{onClick:this.onClick,"aria-labelledby":_?E:null,"aria-checked":`${e}`,"aria-hidden":n?"true":null,role:"switch",class:(0,i.c)(a,{[y]:!0,"in-item":(0,i.h)("ion-item",g),"toggle-activated":t,"toggle-checked":e,"toggle-disabled":n,"legacy-toggle":!0,interactive:!0,[`toggle-${D}`]:!0})},this.renderToggleControl(),(0,o.h)("label",{htmlFor:p},C),(0,o.h)("input",{type:"checkbox",role:"switch","aria-checked":`${e}`,disabled:n,id:p,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:L=>this.focusEl=L}))}get el(){return(0,o.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}},T=(t,a,e,n)=>a?!t&&n>e||t&&-ne;let I=0;j.style={ios:":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;outline:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item:not(.legacy-toggle)){width:100%;height:100%}:host([slot=start]:not(.legacy-toggle)),:host([slot=end]:not(.legacy-toggle)){width:auto}:host(.legacy-toggle){contain:content;-ms-touch-action:none;touch-action:none}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}:host(.legacy-toggle) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;pointer-events:none}@supports (inset-inline-start: 0){:host(.legacy-toggle) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-toggle) label{left:0}:host-context([dir=rtl]):host(.legacy-toggle) label,:host-context([dir=rtl]).legacy-toggle label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-toggle:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-toggle) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-toggle)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.toggle-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-alignment-start) .toggle-wrapper{-ms-flex-align:start;align-items:start}:host(.toggle-alignment-center) .toggle-wrapper{-ms-flex-align:center;align-items:center}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.toggle-label-placement-stacked) .toggle-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.toggle-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.088);--track-background-checked:var(--ion-color-primary, #3880ff);--border-radius:16px;--handle-background:#ffffff;--handle-background-checked:#ffffff;--handle-border-radius:25.5px;--handle-box-shadow:0 3px 12px rgba(0, 0, 0, 0.16), 0 3px 1px rgba(0, 0, 0, 0.1);--handle-height:calc(32px - (2px * 2));--handle-max-height:calc(100% - var(--handle-spacing) * 2);--handle-width:calc(32px - (2px * 2));--handle-spacing:2px;--handle-transition:transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms}:host(.legacy-toggle){width:51px;height:32px;contain:strict;overflow:hidden}.native-wrapper .toggle-icon{width:51px;height:32px;overflow:hidden}:host(.ion-color.toggle-checked) .toggle-icon{background:var(--ion-color-base)}:host(.toggle-activated) .toggle-switch-icon{opacity:0}.toggle-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:background-color 300ms;transition:background-color 300ms}.toggle-inner{will-change:transform}.toggle-switch-icon{position:absolute;top:50%;width:11px;height:11px;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:opacity 300ms, color 300ms;transition:opacity 300ms, color 300ms}.toggle-switch-icon{position:absolute;color:var(--ion-color-dark)}:host(.toggle-ltr) .toggle-switch-icon{right:6px}:host(.toggle-rtl) .toggle-switch-icon{right:initial;left:6px;}:host(.toggle-checked) .toggle-switch-icon.toggle-switch-icon-checked{color:var(--ion-color-contrast, #fff)}:host(.toggle-checked) .toggle-switch-icon:not(.toggle-switch-icon-checked){opacity:0}.toggle-switch-icon-checked{position:absolute;width:15px;height:15px;-webkit-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg)}:host(.toggle-ltr) .toggle-switch-icon-checked{right:initial;left:4px;}:host(.toggle-rtl) .toggle-switch-icon-checked{right:4px}:host(.toggle-activated) .toggle-icon::before,:host(.toggle-checked) .toggle-icon::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated.toggle-checked) .toggle-inner::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated) .toggle-inner{width:calc(var(--handle-width) + 6px)}:host(.toggle-ltr.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0);transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0)}:host(.toggle-rtl.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0);transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0)}:host(.toggle-disabled){opacity:0.3}:host(.in-item.legacy-toggle){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:0;padding-inline-end:0;padding-top:6px;padding-bottom:5px}:host(.in-item.legacy-toggle[slot=start]){-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:6px;padding-bottom:5px}",md:":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;outline:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item:not(.legacy-toggle)){width:100%;height:100%}:host([slot=start]:not(.legacy-toggle)),:host([slot=end]:not(.legacy-toggle)){width:auto}:host(.legacy-toggle){contain:content;-ms-touch-action:none;touch-action:none}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}:host(.legacy-toggle) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;pointer-events:none}@supports (inset-inline-start: 0){:host(.legacy-toggle) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-toggle) label{left:0}:host-context([dir=rtl]):host(.legacy-toggle) label,:host-context([dir=rtl]).legacy-toggle label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-toggle:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-toggle) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-toggle)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.toggle-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-alignment-start) .toggle-wrapper{-ms-flex-align:start;align-items:start}:host(.toggle-alignment-center) .toggle-wrapper{-ms-flex-align:center;align-items:center}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.toggle-label-placement-stacked) .toggle-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.toggle-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.39);--track-background-checked:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.5);--border-radius:14px;--handle-background:#ffffff;--handle-background-checked:var(--ion-color-primary, #3880ff);--handle-border-radius:50%;--handle-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--handle-width:20px;--handle-height:20px;--handle-max-height:calc(100% + 6px);--handle-spacing:0;--handle-transition:transform 160ms cubic-bezier(0.4, 0, 0.2, 1), background-color 160ms cubic-bezier(0.4, 0, 0.2, 1)}:host(.legacy-toggle){-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;width:36px;height:14px;contain:strict}.native-wrapper .toggle-icon{width:36px;height:14px}:host(.ion-color.toggle-checked) .toggle-icon{background:rgba(var(--ion-color-base-rgb), 0.5)}:host(.ion-color.toggle-checked) .toggle-inner{background:var(--ion-color-base)}:host(.toggle-checked) .toggle-inner{color:var(--ion-color-contrast, #fff)}.toggle-icon{-webkit-transition:background-color 160ms;transition:background-color 160ms}.toggle-inner{will-change:background-color, transform;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#000}.toggle-inner .toggle-switch-icon{-webkit-padding-start:1px;padding-inline-start:1px;-webkit-padding-end:1px;padding-inline-end:1px;padding-top:1px;padding-bottom:1px;width:100%;height:100%}:host(.toggle-disabled){opacity:0.38}:host(.in-item.legacy-toggle){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:0;padding-inline-end:0;padding-top:12px;padding-bottom:12px;cursor:pointer}:host(.in-item.legacy-toggle[slot=start]){-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:18px;padding-inline-end:18px;padding-top:12px;padding-bottom:12px}"}},3814:(M,m,r)=>{r.d(m,{c:()=>u,g:()=>f,h:()=>o,o:()=>d});var b=r(5861);const o=(i,l)=>null!==l.closest(i),u=(i,l)=>"string"==typeof i&&i.length>0?Object.assign({"ion-color":!0,[`ion-color-${i}`]:!0},l):l,f=i=>{const l={};return(i=>void 0!==i?(Array.isArray(i)?i:i.split(" ")).filter(s=>null!=s).map(s=>s.trim()).filter(s=>""!==s):[])(i).forEach(s=>l[s]=!0),l},x=/^[a-z][a-z0-9+\-.]*:/,d=function(){var i=(0,b.Z)(function*(l,s,w,k){if(null!=l&&"#"!==l[0]&&!x.test(l)){const h=document.querySelector("ion-router");if(h)return s?.preventDefault(),h.push(l,w,k)}return!1});return function(s,w,k,h){return i.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/5172.a8ac11c7f919b75c.js b/5172.a8ac11c7f919b75c.js deleted file mode 100644 index 5df300c3..00000000 --- a/5172.a8ac11c7f919b75c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5172],{3131:(V,F,I)=>{I.d(F,{A:()=>Q,B:()=>Ue,C:()=>h,D:()=>Ze,E:()=>m,F:()=>be,G:()=>ve,H:()=>Se,I:()=>He,J:()=>C,K:()=>me,L:()=>pe,M:()=>Ce,N:()=>ae,O:()=>ce,P:()=>R,Q:()=>W,R:()=>se,S:()=>Z,T:()=>Te,a:()=>we,b:()=>w,c:()=>v,d:()=>G,e:()=>N,f:()=>x,g:()=>De,h:()=>oe,i:()=>T,j:()=>te,k:()=>re,l:()=>ue,m:()=>ie,n:()=>de,o:()=>P,p:()=>ee,q:()=>E,r:()=>_,s:()=>H,t:()=>$e,u:()=>fe,v:()=>ye,w:()=>S,x:()=>y,y:()=>Ne,z:()=>Le});var b=I(3357);const v=(e,n)=>e.month===n.month&&e.day===n.day&&e.year===n.year,T=(e,n)=>e.yeare.year>n.year||e.year===n.year&&e.month>n.month||e.year===n.year&&e.month===n.month&&null!==e.day&&e.day>n.day,S=(e,n,t)=>{const o=Array.isArray(e)?e:[e];for(const r of o)if(void 0!==n&&T(r,n)||void 0!==t&&w(r,t)){(0,b.p)(`The value provided to ion-datetime is out of bounds.\n\nMin: ${JSON.stringify(n)}\nMax: ${JSON.stringify(t)}\nValue: ${JSON.stringify(e)}`);break}},C=(e,n)=>{if(void 0!==n)return"h23"===n;const t=new Intl.DateTimeFormat(e,{hour:"numeric"}),o=t.resolvedOptions();if(void 0!==o.hourCycle)return"h23"===o.hourCycle;const u=t.formatToParts(new Date("5/18/2021 00:00")).find(d=>"hour"===d.type);if(!u)throw new Error("Hour value not found from DateTimeFormat");return"00"===u.value},y=(e,n)=>4===e||6===e||9===e||11===e?30:2===e?(e=>e%4==0&&e%100!=0||e%400==0)(n)?29:28:31,h=(e,n={month:"numeric",year:"numeric"})=>"month"===new Intl.DateTimeFormat(e,n).formatToParts(new Date)[0].type,m=e=>"dayPeriod"===new Intl.DateTimeFormat(e,{hour:"numeric"}).formatToParts(new Date)[0].type,$=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,k=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,_=e=>{if(void 0===e)return;let t,n=e;return"string"==typeof e&&(n=e.replace(/\[|\]|\s/g,"").split(",")),t=Array.isArray(n)?n.map(o=>parseInt(o,10)).filter(isFinite):[n],t},x=e=>({month:parseInt(e.getAttribute("data-month"),10),day:parseInt(e.getAttribute("data-day"),10),year:parseInt(e.getAttribute("data-year"),10),dayOfWeek:parseInt(e.getAttribute("data-day-of-week"),10)});function E(e){if(Array.isArray(e))return e.map(t=>E(t));let n=null;if(null!=e&&""!==e&&(n=k.exec(e),n?(n.unshift(void 0,void 0),n[2]=n[3]=void 0):n=$.exec(e)),null!==n){for(let t=1;t<8;t++)n[t]=void 0!==n[t]?parseInt(n[t],10):void 0;return{year:n[1],month:n[2],day:n[3],hour:n[4],minute:n[5],ampm:n[4]<12?"am":"pm"}}}const R=(e,n,t)=>n&&T(e,n)?n:t&&w(e,t)?t:e,W=e=>e>=12?"pm":"am",P=(e,n)=>{const{month:t,day:o,year:r,hour:i,minute:u}=E(e),d=r??n.year,c=t??12;return{month:c,day:o??y(c,d),year:d,hour:i??23,minute:u??59}},ee=(e,n)=>{const{month:t,day:o,year:r,hour:i,minute:u}=E(e);return{month:t??1,day:o??1,year:r??n.year,hour:i??0,minute:u??0}},M=e=>("0"+(void 0!==e?Math.abs(e):"0")).slice(-2),ne=e=>("000"+(void 0!==e?Math.abs(e):"0")).slice(-4);function H(e){if(Array.isArray(e))return e.map(t=>H(t));let n="";return void 0!==e.year?(n=ne(e.year),void 0!==e.month&&(n+="-"+M(e.month),void 0!==e.day&&(n+="-"+M(e.day),void 0!==e.hour&&(n+=`T${M(e.hour)}:${M(e.minute)}:00`)))):void 0!==e.hour&&(n=M(e.hour)+":"+M(e.minute)),n}const Y=(e,n)=>void 0===n?e:"am"===n?12===e?0:e:12===e?12:e+12,te=e=>{const{dayOfWeek:n}=e;if(null==n)throw new Error("No day of week provided");return L(e,n)},oe=e=>{const{dayOfWeek:n}=e;if(null==n)throw new Error("No day of week provided");return U(e,6-n)},ue=e=>U(e,1),re=e=>L(e,1),ie=e=>L(e,7),de=e=>U(e,7),L=(e,n)=>{const{month:t,day:o,year:r}=e;if(null===o)throw new Error("No day provided");const i={month:t,day:o,year:r};if(i.day=o-n,i.day<1&&(i.month-=1),i.month<1&&(i.month=12,i.year-=1),i.day<1){const u=y(i.month,i.year);i.day=u+i.day}return i},U=(e,n)=>{const{month:t,day:o,year:r}=e;if(null===o)throw new Error("No day provided");const i={month:t,day:o,year:r},u=y(t,r);return i.day=o+n,i.day>u&&(i.day-=u,i.month+=1),i.month>12&&(i.month=1,i.year+=1),i},G=e=>{const n=1===e.month?12:e.month-1,t=1===e.month?e.year-1:e.year,o=y(n,t);return{month:n,year:t,day:o{const n=12===e.month?1:e.month+1,t=12===e.month?e.year+1:e.year,o=y(n,t);return{month:n,year:t,day:o{const t=e.month,o=e.year+n,r=y(t,o);return{month:t,year:o,day:rB(e,-1),ae=e=>B(e,1),le=(e,n,t)=>n?e:Y(e,t),se=(e,n)=>{const{ampm:t,hour:o}=e;let r=o;return"am"===t&&"pm"===n?r=Y(r,"pm"):"pm"===t&&"am"===n&&(r=Math.abs(r-12)),r},ye=(e,n,t)=>{const{month:o,day:r,year:i}=e,u=R(Object.assign({},e),n,t),d=y(o,i);return null!==r&&dt.hour?(u.hour=t.hour,u.minute=t.minute):u.hour===t.hour&&void 0!==u.minute&&void 0!==t.minute&&u.minute>t.minute&&(u.minute=t.minute)),u},fe=(e,n,t,o,r,i)=>{const{hour:u,minute:d,day:c,month:s,year:l}=e,a=Object.assign(Object.assign({},e),{dayOfWeek:void 0});return void 0!==n&&(a.month=O(s,n)),null!==c&&void 0!==t&&(a.day=O(c,t)),void 0!==o&&(a.year=O(l,o)),void 0!==u&&void 0!==r&&(a.hour=O(u,r),a.ampm=W(a.hour)),void 0!==d&&void 0!==i&&(a.minute=O(d,i)),a},O=(e,n)=>{let t=n[0],o=Math.abs(t-e);for(let r=1;r{const o={hour:n.hour,minute:n.minute};return void 0===o.hour||void 0===o.minute?"Invalid Time":new Intl.DateTimeFormat(e,{hour:"numeric",minute:"numeric",timeZone:"UTC",hourCycle:t?"h23":"h12"}).format(new Date(H(Object.assign({year:2023,day:1,month:1},o))+"Z"))},J=e=>{const n=e.toString();return n.length>1?n:`0${n}`},ge=(e,n)=>n?J(e):0===e?"12":e.toString(),De=(e,n,t)=>{if(null===t.day)return null;const o=A(t),r=new Intl.DateTimeFormat(e,{weekday:"long",month:"long",day:"numeric",timeZone:"UTC"}).format(o);return n?`Today, ${r}`:r},pe=(e,n)=>{const t=A(n);return new Intl.DateTimeFormat(e,{weekday:"short",month:"short",day:"numeric",timeZone:"UTC"}).format(t)},ve=(e,n)=>{const t=A(n);return new Intl.DateTimeFormat(e,{month:"long",year:"numeric",timeZone:"UTC"}).format(t)},Te=(e,n)=>Z(e,n,{month:"short",day:"numeric",year:"numeric"}),we=(e,n)=>Ie(e,n,{day:"numeric"}).find(t=>"day"===t.type).value,Me=(e,n)=>Z(e,n,{year:"numeric"}),A=e=>{var n,t,o;return new Date(`${null!==(n=e.month)&&void 0!==n?n:1}/${null!==(t=e.day)&&void 0!==t?t:1}/${null!==(o=e.year)&&void 0!==o?o:2023}${void 0!==e.hour&&void 0!==e.minute?` ${e.hour}:${e.minute}`:""} GMT+0000`)},Z=(e,n,t)=>{const o=A(n);return K(e,t).format(o)},Ie=(e,n,t)=>{const o=A(n);return K(e,t).formatToParts(o)},K=(e,n)=>new Intl.DateTimeFormat(e,Object.assign(Object.assign({},n),{timeZone:"UTC"})),_e=e=>{if("RelativeTimeFormat"in Intl){const n=new Intl.RelativeTimeFormat(e,{numeric:"auto"}).format(0,"day");return n.charAt(0).toUpperCase()+n.slice(1)}return"Today"},z=e=>{const n=e.getTimezoneOffset();return e.setMinutes(e.getMinutes()-n),e},Oe=z(new Date("2022T01:00")),Ae=z(new Date("2022T13:00")),X=(e,n)=>{const t="am"===n?Oe:Ae,o=new Intl.DateTimeFormat(e,{hour:"numeric",timeZone:"UTC"}).formatToParts(t).find(r=>"dayPeriod"===r.type);return o?o.value:(e=>void 0===e?"":e.toUpperCase())(n)},Ce=e=>Array.isArray(e)?e.join(","):e,$e=()=>z(new Date).toISOString(),ke=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59],Ee=[0,1,2,3,4,5,6,7,8,9,10,11],Fe=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],be=(e,n,t=0)=>{const r=new Intl.DateTimeFormat(e,{weekday:"ios"===n?"short":"narrow"}),i=new Date("11/01/2020"),u=[];for(let d=t;d{const o=y(e,n),r=new Date(`${e}/1/${n}`).getDay(),i=r>=t?r-(t+1):6-(t-r);let u=[];for(let d=1;d<=o;d++)u.push({day:d,dayOfWeek:(i+d)%7});for(let d=0;d<=i;d++)u=[{day:null,dayOfWeek:null},...u];return u},He=e=>[G(e),{month:e.month,year:e.year,day:e.day},N(e)],Le=(e,n,t,o,r,i={month:"long"})=>{const{year:u}=n,d=[];if(void 0!==r){let c=r;void 0!==o?.month&&(c=c.filter(s=>s<=o.month)),void 0!==t?.month&&(c=c.filter(s=>s>=t.month)),c.forEach(s=>{const l=new Date(`${s}/1/${u} GMT+0000`),a=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(l);d.push({text:a,value:s})})}else{const c=o&&o.year===u?o.month:12;for(let l=t&&t.year===u?t.month:1;l<=c;l++){const a=new Date(`${l}/1/${u} GMT+0000`),f=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(a);d.push({text:f,value:l})}}return d},Q=(e,n,t,o,r,i={day:"numeric"})=>{const{month:u,year:d}=n,c=[],s=y(u,d),l=null!=o?.day&&o.year===d&&o.month===u?o.day:s,a=null!=t?.day&&t.year===d&&t.month===u?t.day:1;if(void 0!==r){let f=r;f=f.filter(g=>g>=a&&g<=l),f.forEach(g=>{const D=new Date(`${u}/${g}/${d} GMT+0000`),p=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(D);c.push({text:p,value:g})})}else for(let f=a;f<=l;f++){const g=new Date(`${u}/${f}/${d} GMT+0000`),D=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(g);c.push({text:D,value:f})}return c},Ue=(e,n,t,o,r)=>{var i,u;let d=[];if(void 0!==r)d=r,void 0!==o?.year&&(d=d.filter(c=>c<=o.year)),void 0!==t?.year&&(d=d.filter(c=>c>=t.year));else{const{year:c}=n,s=null!==(i=o?.year)&&void 0!==i?i:c;for(let a=null!==(u=t?.year)&&void 0!==u?u:c-100;a<=s;a++)d.push(a)}return d.map(c=>({text:Me(e,{year:c,month:n.month,day:n.day}),value:c}))},q=(e,n)=>e.month===n.month&&e.year===n.year?[e]:[e,...q(N(e),n)],Ne=(e,n,t,o,r,i)=>{let u=[],d=[],c=q(t,o);return i&&(c=c.filter(({month:s})=>i.includes(s))),c.forEach(s=>{const l={month:s.month,day:null,year:s.year},a=Q(e,l,t,o,r,{month:"short",day:"numeric",weekday:"short"}),f=[],g=[];a.forEach(D=>{const p=v(Object.assign(Object.assign({},l),{day:D.value}),n);g.push({text:p?_e(e):D.text,value:`${l.year}-${l.month}-${D.value}`}),f.push({month:l.month,year:l.year,day:D.value})}),d=[...d,...f],u=[...u,...g]}),{parts:d,items:u}},Ze=(e,n,t,o,r,i,u)=>{const d=C(e,t),{hours:c,minutes:s,am:l,pm:a}=((e,n="h12",t,o,r,i)=>{const u="h23"===n;let d=u?Fe:Ee,c=ke,s=!0,l=!0;if(r&&(d=d.filter(a=>r.includes(a))),i&&(c=c.filter(a=>i.includes(a))),t)if(v(e,t)){if(void 0!==t.hour&&(d=d.filter(a=>(u?a:"pm"===e.ampm?(a+12)%24:a)>=t.hour),s=t.hour<13),void 0!==t.minute){let a=!1;void 0!==t.hour&&void 0!==e.hour&&e.hour>t.hour&&(a=!0),c=c.filter(f=>!!a||f>=t.minute)}}else T(e,t)&&(d=[],c=[],s=l=!1);return o&&(v(e,o)?(void 0!==o.hour&&(d=d.filter(a=>(u?a:"pm"===e.ampm?(a+12)%24:a)<=o.hour),l=o.hour>=12),void 0!==o.minute&&e.hour===o.hour&&(c=c.filter(a=>a<=o.minute))):w(e,o)&&(d=[],c=[],s=l=!1)),{hours:d,minutes:c,am:s,pm:l}})(n,d?"h23":"h12",o,r,i,u),f=c.map(p=>({text:ge(p,d),value:le(p,d,n.ampm)})),g=s.map(p=>({text:J(p),value:p})),D=[];return l&&!d&&D.push({text:X(e,"am"),value:"am"}),a&&!d&&D.push({text:X(e,"pm"),value:"pm"}),{minutesData:g,hoursData:f,dayPeriodData:D}}},2997:(V,F,I)=>{I.d(F,{c:()=>T,g:()=>S,h:()=>v,o:()=>C});var b=I(5861);const v=(y,h)=>null!==h.closest(y),T=(y,h)=>"string"==typeof y&&y.length>0?Object.assign({"ion-color":!0,[`ion-color-${y}`]:!0},h):h,S=y=>{const h={};return(y=>void 0!==y?(Array.isArray(y)?y:y.split(" ")).filter(m=>null!=m).map(m=>m.trim()).filter(m=>""!==m):[])(y).forEach(m=>h[m]=!0),h},j=/^[a-z][a-z0-9+\-.]*:/,C=function(){var y=(0,b.Z)(function*(h,m,$,k){if(null!=h&&"#"!==h[0]&&!j.test(h)){const _=document.querySelector("ion-router");if(_)return m?.preventDefault(),_.push(h,$,k)}return!1});return function(m,$,k,_){return y.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/53.0492f13601b2ba05.js b/53.0492f13601b2ba05.js new file mode 100644 index 00000000..003d5619 --- /dev/null +++ b/53.0492f13601b2ba05.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[53],{53:(U,E,a)=>{a.r(E),a.d(E,{ion_app:()=>L,ion_buttons:()=>B,ion_content:()=>H,ion_footer:()=>I,ion_header:()=>j,ion_router_outlet:()=>W,ion_title:()=>F,ion_toolbar:()=>X});var h=a(5861),i=a(408),c=a(4649),m=a(2961),O=a(6879),x=a(3814),v=a(4253),u=a(2930),p=a(5069),g=a(7869),S=a(7389),T=a(9528);a(2972),a(3037),a(6319);const L=class{constructor(t){(0,i.r)(this,t)}componentDidLoad(){var t=this;$((0,h.Z)(function*(){const o=(0,c.a)(window,"hybrid");if(c.c.getBoolean("_testing")||a.e(1166).then(a.bind(a,1166)).then(n=>n.startTapClick(c.c)),c.c.getBoolean("statusTap",o)&&a.e(3441).then(a.bind(a,3441)).then(n=>n.startStatusTap()),c.c.getBoolean("inputShims",K())){const n=(0,c.a)(window,"ios")?"ios":"android";a.e(57).then(a.bind(a,57)).then(r=>r.startInputShims(c.c,n))}const e=yield Promise.resolve().then(a.bind(a,8261));c.c.getBoolean("hardwareBackButton",o)?e.startHardwareBackButton():e.blockHardwareBackButton(),typeof window<"u"&&a.e(8592).then(a.bind(a,922)).then(n=>n.startKeyboardAssist(window)),a.e(8592).then(a.bind(a,6390)).then(n=>t.focusVisible=n.startFocusVisible())}))}setFocus(t){var o=this;return(0,h.Z)(function*(){o.focusVisible&&o.focusVisible.setFocus(t)})()}render(){const t=(0,c.b)(this);return(0,i.h)(i.H,{class:{[t]:!0,"ion-page":!0,"force-statusbar-padding":c.c.getBoolean("_forceStatusbarPadding")}})}get el(){return(0,i.f)(this)}},K=()=>!!((0,c.a)(window,"ios")&&(0,c.a)(window,"mobile")||(0,c.a)(window,"android")&&(0,c.a)(window,"mobileweb")),$=t=>{"requestIdleCallback"in window?window.requestIdleCallback(t):setTimeout(t,32)};L.style="html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}";const B=class{constructor(t){(0,i.r)(this,t),this.collapse=!1}render(){const t=(0,c.b)(this);return(0,i.h)(i.H,{class:{[t]:!0,"buttons-collapse":this.collapse}})}};B.style={ios:".sc-ion-buttons-ios-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-ios-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-ios-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:5px;--padding-end:5px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-ios-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.sc-ion-buttons-ios-s ion-button:not(.button-round){--border-radius:4px}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button{--color:initial;--border-color:initial;--background-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-solid,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-solid{--background:var(--ion-color-contrast);--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12;--background-hover:var(--ion-color-base);--background-hover-opacity:0.45;--color:var(--ion-color-base);--color-focused:var(--ion-color-base)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-clear,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-clear{--color-activated:var(--ion-color-contrast);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-outline,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-outline{--color-activated:var(--ion-color-base);--color-focused:var(--ion-color-contrast);--background-activated:var(--ion-color-contrast)}.sc-ion-buttons-ios-s .button-clear,.sc-ion-buttons-ios-s .button-outline{--background-activated:transparent;--background-focused:currentColor;--background-hover:transparent}.sc-ion-buttons-ios-s .button-solid:not(.ion-color){--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12}.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:1.41em;line-height:0.67}.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:1.41em;line-height:0.67}.sc-ion-buttons-ios-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.65em;line-height:0.67}",md:".sc-ion-buttons-md-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-md-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-md-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:8px;--padding-end:8px;--box-shadow:none;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-md-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.sc-ion-buttons-md-s ion-button:not(.button-round){--border-radius:2px}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button{--color:initial;--color-focused:var(--ion-color-contrast);--color-hover:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-contrast);--background-hover:var(--ion-color-contrast)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-solid,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-solid{--background:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-shade);--background-hover:var(--ion-color-base);--color:var(--ion-color-base);--color-focused:var(--ion-color-base);--color-hover:var(--ion-color-base)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-outline,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-outline{--border-color:var(--ion-color-contrast)}.sc-ion-buttons-md-s .button-has-icon-only.button-clear{--padding-top:12px;--padding-end:12px;--padding-bottom:12px;--padding-start:12px;--border-radius:50%;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:3rem;height:3rem}.sc-ion-buttons-md-s .button{--background-hover:currentColor}.sc-ion-buttons-md-s .button-solid{--color:var(--ion-toolbar-background, var(--ion-background-color, #fff));--background:var(--ion-toolbar-color, var(--ion-text-color, #424242));--background-activated:transparent;--background-focused:currentColor}.sc-ion-buttons-md-s .button-outline{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--border-color:currentColor}.sc-ion-buttons-md-s .button-clear{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor}.sc-ion-buttons-md-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:1.4em}.sc-ion-buttons-md-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:1.4em}.sc-ion-buttons-md-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.8em}"};const H=class{constructor(t){(0,i.r)(this,t),this.ionScrollStart=(0,i.d)(this,"ionScrollStart",7),this.ionScroll=(0,i.d)(this,"ionScroll",7),this.ionScrollEnd=(0,i.d)(this,"ionScrollEnd",7),this.watchDog=null,this.isScrolling=!1,this.lastScroll=0,this.queued=!1,this.cTop=-1,this.cBottom=-1,this.isMainContent=!0,this.resizeTimeout=null,this.tabsElement=null,this.detail={scrollTop:0,scrollLeft:0,type:"scroll",event:void 0,startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,data:void 0,isScrolling:!0},this.color=void 0,this.fullscreen=!1,this.forceOverscroll=void 0,this.scrollX=!1,this.scrollY=!0,this.scrollEvents=!1}connectedCallback(){if(this.isMainContent=null===this.el.closest("ion-menu, ion-popover, ion-modal"),(0,m.m)(this.el)){const t=this.tabsElement=this.el.closest("ion-tabs");null!==t&&(this.tabsLoadCallback=()=>this.resize(),t.addEventListener("ionTabBarLoaded",this.tabsLoadCallback))}}disconnectedCallback(){if(this.onScrollEnd(),(0,m.m)(this.el)){const{tabsElement:t,tabsLoadCallback:o}=this;null!==t&&void 0!==o&&t.removeEventListener("ionTabBarLoaded",o),this.tabsElement=null,this.tabsLoadCallback=void 0}}onResize(){this.resizeTimeout&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=null),this.resizeTimeout=setTimeout(()=>{null!==this.el.offsetParent&&this.resize()},100)}shouldForceOverscroll(){const{forceOverscroll:t}=this,o=(0,c.b)(this);return void 0===t?"ios"===o&&(0,c.a)("ios"):t}resize(){this.fullscreen?(0,i.e)(()=>this.readDimensions()):(0!==this.cTop||0!==this.cBottom)&&(this.cTop=this.cBottom=0,(0,i.i)(this))}readDimensions(){const t=Q(this.el),o=Math.max(this.el.offsetTop,0),e=Math.max(t.offsetHeight-o-this.el.offsetHeight,0);(o!==this.cTop||e!==this.cBottom)&&(this.cTop=o,this.cBottom=e,(0,i.i)(this))}onScroll(t){const o=Date.now(),e=!this.isScrolling;this.lastScroll=o,e&&this.onScrollStart(),!this.queued&&this.scrollEvents&&(this.queued=!0,(0,i.e)(n=>{this.queued=!1,this.detail.event=t,q(this.detail,this.scrollEl,n,e),this.ionScroll.emit(this.detail)}))}getScrollElement(){var t=this;return(0,h.Z)(function*(){return t.scrollEl||(yield new Promise(o=>(0,m.c)(t.el,o))),Promise.resolve(t.scrollEl)})()}getBackgroundElement(){var t=this;return(0,h.Z)(function*(){return t.backgroundContentEl||(yield new Promise(o=>(0,m.c)(t.el,o))),Promise.resolve(t.backgroundContentEl)})()}scrollToTop(t=0){return this.scrollToPoint(void 0,0,t)}scrollToBottom(t=0){var o=this;return(0,h.Z)(function*(){const e=yield o.getScrollElement();return o.scrollToPoint(void 0,e.scrollHeight-e.clientHeight,t)})()}scrollByPoint(t,o,e){var n=this;return(0,h.Z)(function*(){const r=yield n.getScrollElement();return n.scrollToPoint(t+r.scrollLeft,o+r.scrollTop,e)})()}scrollToPoint(t,o,e=0){var n=this;return(0,h.Z)(function*(){const r=yield n.getScrollElement();if(e<32)return null!=o&&(r.scrollTop=o),void(null!=t&&(r.scrollLeft=t));let s,l=0;const d=new Promise(y=>s=y),b=r.scrollTop,f=r.scrollLeft,k=null!=o?o-b:0,w=null!=t?t-f:0,P=y=>{const ut=Math.min(1,(y-l)/e)-1,D=Math.pow(ut,3)+1;0!==k&&(r.scrollTop=Math.floor(D*k+b)),0!==w&&(r.scrollLeft=Math.floor(D*w+f)),D<1?requestAnimationFrame(P):s()};return requestAnimationFrame(y=>{l=y,P(y)}),d})()}onScrollStart(){this.isScrolling=!0,this.ionScrollStart.emit({isScrolling:!0}),this.watchDog&&clearInterval(this.watchDog),this.watchDog=setInterval(()=>{this.lastScrollthis.backgroundContentEl=f,id:"background-content",part:"background"}),(0,i.h)(b,{class:{"inner-scroll":!0,"scroll-x":o,"scroll-y":e,overscroll:(o||e)&&l},ref:f=>this.scrollEl=f,onScroll:this.scrollEvents?f=>this.onScroll(f):void 0,part:"scroll"},(0,i.h)("slot",null)),d?(0,i.h)("div",{class:"transition-effect"},(0,i.h)("div",{class:"transition-cover"}),(0,i.h)("div",{class:"transition-shadow"})):null,(0,i.h)("slot",{name:"fixed"}))}get el(){return(0,i.f)(this)}},Q=t=>{const o=t.closest("ion-tabs");return o||(t.closest("ion-app, ion-page, .ion-page, page-inner, .popover-content")||(t=>{var o;return t.parentElement?t.parentElement:null!==(o=t.parentNode)&&void 0!==o&&o.host?t.parentNode.host:null})(t))},q=(t,o,e,n)=>{const r=t.currentX,s=t.currentY,d=o.scrollLeft,b=o.scrollTop,f=e-t.currentTime;if(n&&(t.startTime=e,t.startX=d,t.startY=b,t.velocityX=t.velocityY=0),t.currentTime=e,t.currentX=t.scrollLeft=d,t.currentY=t.scrollTop=b,t.deltaX=d-t.startX,t.deltaY=b-t.startY,f>0&&f<100){const w=(b-s)/f;t.velocityX=(d-r)/f*.7+.3*t.velocityX,t.velocityY=.7*w+.3*t.velocityY}};H.style=':host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.outer-content){--background:var(--ion-color-step-50, #f2f2f2)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}';const A=(t,o)=>{(0,i.e)(()=>{const d=(0,m.l)(0,1-(t.scrollTop-(t.scrollHeight-t.clientHeight-10))/10,1);(0,i.w)(()=>{o.style.setProperty("--opacity-scale",d.toString())})})},I=class{constructor(t){var o=this;(0,i.r)(this,t),this.keyboardCtrl=null,this.checkCollapsibleFooter=()=>{if("ios"!==(0,c.b)(this))return;const{collapse:n}=this,r="fade"===n;if(this.destroyCollapsibleFooter(),r){const s=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),l=s?(0,v.a)(s):null;if(!l)return void(0,v.p)(this.el);this.setupFadeFooter(l)}},this.setupFadeFooter=function(){var e=(0,h.Z)(function*(n){const r=o.scrollEl=yield(0,v.g)(n);o.contentScrollCallback=()=>{A(r,o.el)},r.addEventListener("scroll",o.contentScrollCallback),A(r,o.el)});return function(n){return e.apply(this,arguments)}}(),this.keyboardVisible=!1,this.collapse=void 0,this.translucent=!1}componentDidLoad(){this.checkCollapsibleFooter()}componentDidUpdate(){this.checkCollapsibleFooter()}connectedCallback(){var t=this;return(0,h.Z)(function*(){t.keyboardCtrl=yield(0,u.c)(function(){var o=(0,h.Z)(function*(e,n){!1===e&&void 0!==n&&(yield n),t.keyboardVisible=e});return function(e,n){return o.apply(this,arguments)}}())})()}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}destroyCollapsibleFooter(){this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0)}render(){const{translucent:t,collapse:o}=this,e=(0,c.b)(this),r=this.el.closest("ion-tabs")?.querySelector(":scope > ion-tab-bar");return(0,i.h)(i.H,{role:"contentinfo",class:{[e]:!0,[`footer-${e}`]:!0,"footer-translucent":t,[`footer-translucent-${e}`]:t,"footer-toolbar-padding":!(this.keyboardVisible||r&&"bottom"===r.slot),[`footer-collapse-${o}`]:void 0!==o}},"ios"===e&&t&&(0,i.h)("div",{class:"footer-background"}),(0,i.h)("slot",null))}get el(){return(0,i.f)(this)}};I.style={ios:"ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer.footer-toolbar-padding ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-ios ion-toolbar:first-of-type{--border-width:0.55px 0 0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.footer-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.footer-translucent-ios ion-toolbar{--opacity:.8}}.footer-ios.ion-no-border ion-toolbar:first-of-type{--border-width:0}.footer-collapse-fade ion-toolbar{--opacity-scale:inherit}",md:"ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer.footer-toolbar-padding ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.footer-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}"};const _=t=>{const o=document.querySelector(`${t}.ion-cloned-element`);if(null!==o)return o;const e=document.createElement(t);return e.classList.add("ion-cloned-element"),e.style.setProperty("display","none"),document.body.appendChild(e),e},Z=t=>{if(!t)return;const o=t.querySelectorAll("ion-toolbar");return{el:t,toolbars:Array.from(o).map(e=>{const n=e.querySelector("ion-title");return{el:e,background:e.shadowRoot.querySelector(".toolbar-background"),ionTitleEl:n,innerTitleEl:n?n.shadowRoot.querySelector(".toolbar-title"):null,ionButtonsEl:Array.from(e.querySelectorAll("ion-buttons"))}})}},M=(t,o)=>{"fade"!==t.collapse&&(void 0===o?t.style.removeProperty("--opacity-scale"):t.style.setProperty("--opacity-scale",o.toString()))},C=(t,o=!0)=>{const e=t.el;o?(e.classList.remove("header-collapse-condense-inactive"),e.removeAttribute("aria-hidden")):(e.classList.add("header-collapse-condense-inactive"),e.setAttribute("aria-hidden","true"))},R=(t,o,e)=>{(0,i.e)(()=>{const n=t.scrollTop,r=o.clientHeight,s=e?e.clientHeight:0;if(null!==e&&n{t.style.removeProperty("clip-path"),o.style.setProperty("--opacity-scale",b.toString())})})},j=class{constructor(t){var o=this;(0,i.r)(this,t),this.inheritedAttributes={},this.setupFadeHeader=function(){var e=(0,h.Z)(function*(n,r){const s=o.scrollEl=yield(0,v.g)(n);o.contentScrollCallback=()=>{R(o.scrollEl,o.el,r)},s.addEventListener("scroll",o.contentScrollCallback),R(o.scrollEl,o.el,r)});return function(n,r){return e.apply(this,arguments)}}(),this.collapse=void 0,this.translucent=!1}componentWillLoad(){this.inheritedAttributes=(0,m.i)(this.el)}componentDidLoad(){this.checkCollapsibleHeader()}componentDidUpdate(){this.checkCollapsibleHeader()}disconnectedCallback(){this.destroyCollapsibleHeader()}checkCollapsibleHeader(){var t=this;return(0,h.Z)(function*(){if("ios"!==(0,c.b)(t))return;const{collapse:e}=t,n="condense"===e,r="fade"===e;if(t.destroyCollapsibleHeader(),n){const s=t.el.closest("ion-app,ion-page,.ion-page,page-inner"),l=s?(0,v.a)(s):null;(0,i.w)(()=>{_("ion-title").size="large",_("ion-back-button")}),yield t.setupCondenseHeader(l,s)}else if(r){const s=t.el.closest("ion-app,ion-page,.ion-page,page-inner"),l=s?(0,v.a)(s):null;if(!l)return void(0,v.p)(t.el);const d=l.querySelector('ion-header[collapse="condense"]');yield t.setupFadeHeader(l,d)}})()}destroyCollapsibleHeader(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=void 0),this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0),this.collapsibleMainHeader&&(this.collapsibleMainHeader.classList.remove("header-collapse-main"),this.collapsibleMainHeader=void 0)}setupCondenseHeader(t,o){var e=this;return(0,h.Z)(function*(){if(!t||!o)return void(0,v.p)(e.el);if(typeof IntersectionObserver>"u")return;e.scrollEl=yield(0,v.g)(t);const n=o.querySelectorAll("ion-header");if(e.collapsibleMainHeader=Array.from(n).find(d=>"condense"!==d.collapse),!e.collapsibleMainHeader)return;const r=Z(e.collapsibleMainHeader),s=Z(e.el);r&&s&&(C(r,!1),M(r.el,0),e.intersectionObserver=new IntersectionObserver(d=>{((t,o,e,n)=>{(0,i.w)(()=>{const r=n.scrollTop;((t,o,e)=>{if(!t[0].isIntersecting)return;const n=t[0].intersectionRatio>.9||e<=0?0:100*(1-t[0].intersectionRatio)/75;M(o.el,1===n?void 0:n)})(t,o,r);const s=t[0],l=s.intersectionRect,d=l.width*l.height,f=0===d&&0==s.rootBounds.width*s.rootBounds.height,k=Math.abs(l.left-s.boundingClientRect.left),w=Math.abs(l.right-s.boundingClientRect.right);f||d>0&&(k>=5||w>=5)||(s.isIntersecting?(C(o,!1),C(e)):(0===l.x&&0===l.y||0!==l.width&&0!==l.height)&&r>0&&(C(o),C(e,!1),M(o.el)))})})(d,r,s,e.scrollEl)},{root:t,threshold:[.25,.3,.4,.5,.6,.7,.8,.9,1]}),e.intersectionObserver.observe(s.toolbars[s.toolbars.length-1].el),e.contentScrollCallback=()=>{((t,o,e)=>{(0,i.e)(()=>{const r=(0,m.l)(1,1+-t.scrollTop/500,1.1);null===e.querySelector("ion-refresher.refresher-native")&&(0,i.w)(()=>{((t=[],o=1,e=!1)=>{t.forEach(n=>{const r=n.ionTitleEl,s=n.innerTitleEl;!r||"large"!==r.size||(s.style.transition=e?"all 0.2s ease-in-out":"",s.style.transform=`scale3d(${o}, ${o}, 1)`)})})(o.toolbars,r)})})})(e.scrollEl,s,t)},e.scrollEl.addEventListener("scroll",e.contentScrollCallback),(0,i.w)(()=>{void 0!==e.collapsibleMainHeader&&e.collapsibleMainHeader.classList.add("header-collapse-main")}))})()}render(){const{translucent:t,inheritedAttributes:o}=this,e=(0,c.b)(this),n=this.collapse||"none",r=(0,x.h)("ion-menu",this.el)?"none":"banner";return(0,i.h)(i.H,Object.assign({role:r,class:{[e]:!0,[`header-${e}`]:!0,"header-translucent":this.translucent,[`header-collapse-${n}`]:!0,[`header-translucent-${e}`]:this.translucent}},o),"ios"===e&&t&&(0,i.h)("div",{class:"header-background"}),(0,i.h)("slot",null))}get el(){return(0,i.f)(this)}};j.style={ios:"ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header:not(.header-collapse-main):has(~ion-content ion-header[collapse=condense],~ion-content ion-header.header-collapse-condense){opacity:0}",md:"ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.header-collapse-condense{display:none}.header-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}"};const W=class{constructor(t){(0,i.r)(this,t),this.ionNavWillLoad=(0,i.d)(this,"ionNavWillLoad",7),this.ionNavWillChange=(0,i.d)(this,"ionNavWillChange",3),this.ionNavDidChange=(0,i.d)(this,"ionNavDidChange",3),this.lockController=(0,S.c)(),this.gestureOrAnimationInProgress=!1,this.mode=(0,c.b)(this),this.delegate=void 0,this.animated=!0,this.animation=void 0,this.swipeHandler=void 0}swipeHandlerChanged(){this.gesture&&this.gesture.enable(void 0!==this.swipeHandler)}connectedCallback(){var t=this;return(0,h.Z)(function*(){t.gesture=(yield a.e(8592).then(a.bind(a,2784))).createSwipeBackGesture(t.el,()=>!t.gestureOrAnimationInProgress&&!!t.swipeHandler&&t.swipeHandler.canStart(),()=>(t.gestureOrAnimationInProgress=!0,void(t.swipeHandler&&t.swipeHandler.onStart())),e=>{var n;return null===(n=t.ani)||void 0===n?void 0:n.progressStep(e)},(e,n,r)=>{if(t.ani){t.ani.onFinish(()=>{t.gestureOrAnimationInProgress=!1,t.swipeHandler&&t.swipeHandler.onEnd(e)},{oneTimeCallback:!0});let s=e?-.001:.001;e?s+=(0,p.g)([0,0],[.32,.72],[0,1],[1,1],n)[0]:(t.ani.easing("cubic-bezier(1, 0, 0.68, 0.28)"),s+=(0,p.g)([0,0],[1,0],[.68,.28],[1,1],n)[0]),t.ani.progressEnd(e?1:0,s,r)}else t.gestureOrAnimationInProgress=!1}),t.swipeHandlerChanged()})()}componentWillLoad(){this.ionNavWillLoad.emit()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}commit(t,o,e){var n=this;return(0,h.Z)(function*(){const r=yield n.lockController.lock();let s=!1;try{s=yield n.transition(t,o,e)}catch(l){console.error(l)}return r(),s})()}setRouteId(t,o,e,n){var r=this;return(0,h.Z)(function*(){return{changed:yield r.setRoot(t,o,{duration:"root"===e?0:void 0,direction:"back"===e?"back":"forward",animationBuilder:n}),element:r.activeEl}})()}getRouteId(){var t=this;return(0,h.Z)(function*(){const o=t.activeEl;return o?{id:o.tagName,element:o,params:t.activeParams}:void 0})()}setRoot(t,o,e){var n=this;return(0,h.Z)(function*(){if(n.activeComponent===t&&(0,m.s)(o,n.activeParams))return!1;const r=n.activeEl,s=yield(0,g.a)(n.delegate,n.el,t,["ion-page","ion-page-invisible"],o);return n.activeComponent=t,n.activeEl=s,n.activeParams=o,yield n.commit(s,r,e),yield(0,g.d)(n.delegate,r),!0})()}transition(t,o,e={}){var n=this;return(0,h.Z)(function*(){if(o===t)return!1;n.ionNavWillChange.emit();const{el:r,mode:s}=n,l=n.animated&&c.c.getBoolean("animated",!0),d=e.animationBuilder||n.animation||c.c.get("navAnimation");return yield(0,T.t)(Object.assign(Object.assign({mode:s,animated:l,enteringEl:t,leavingEl:o,baseEl:r,deepWait:(0,m.m)(r),progressCallback:e.progressAnimation?b=>{void 0===b||n.gestureOrAnimationInProgress?n.ani=b:(n.gestureOrAnimationInProgress=!0,b.onFinish(()=>{n.gestureOrAnimationInProgress=!1,n.swipeHandler&&n.swipeHandler.onEnd(!1)},{oneTimeCallback:!0}),b.progressEnd(0,0,0))}:void 0},e),{animationBuilder:d})),n.ionNavDidChange.emit(),!0})()}render(){return(0,i.h)("slot",null)}get el(){return(0,i.f)(this)}static get watchers(){return{swipeHandler:["swipeHandlerChanged"]}}};W.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";const F=class{constructor(t){(0,i.r)(this,t),this.ionStyle=(0,i.d)(this,"ionStyle",7),this.color=void 0,this.size=void 0}sizeChanged(){this.emitStyle()}connectedCallback(){this.emitStyle()}emitStyle(){const t=this.getSize();this.ionStyle.emit({[`title-${t}`]:!0})}getSize(){return void 0!==this.size?this.size:"default"}render(){const t=(0,c.b)(this),o=this.getSize();return(0,i.h)(i.H,{class:(0,x.c)(this.color,{[t]:!0,[`title-${o}`]:!0,"title-rtl":"rtl"===document.dir})},(0,i.h)("div",{class:"toolbar-title"},(0,i.h)("slot",null)))}get el(){return(0,i.f)(this)}static get watchers(){return{size:["sizeChanged"]}}};F.style={ios:":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{top:0;-webkit-padding-start:90px;padding-inline-start:90px;-webkit-padding-end:90px;padding-inline-end:90px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);font-size:min(1.0625rem, 20.4px);font-weight:600;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}@supports (inset-inline-start: 0){:host{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host{left:0}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)){left:unset;right:unset;right:0}}}:host(.title-small){-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:6px;padding-bottom:16px;position:relative;font-size:min(0.8125rem, 23.4px);font-weight:normal}:host(.title-large){-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:2px;padding-bottom:4px;-webkit-transform-origin:left center;transform-origin:left center;position:static;-ms-flex-align:end;align-items:flex-end;min-width:100%;font-size:min(2.125rem, 61.2px);font-weight:700;text-align:start}:host(.title-large.title-rtl){-webkit-transform-origin:right center;transform-origin:right center}:host(.title-large.ion-cloned-element){--color:var(--ion-text-color, #000);font-family:var(--ion-font-family)}:host(.title-large) .toolbar-title{-webkit-transform-origin:inherit;transform-origin:inherit;width:auto}:host-context([dir=rtl]):host(.title-large) .toolbar-title,:host-context([dir=rtl]).title-large .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}@supports selector(:dir(rtl)){:host(.title-large:dir(rtl)) .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}}",md:":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:0;padding-bottom:0;font-size:1.25rem;font-weight:500;letter-spacing:0.0125em}:host(.title-small){width:100%;height:100%;font-size:0.9375rem;font-weight:normal}"};const X=class{constructor(t){(0,i.r)(this,t),this.childrenStyles=new Map,this.color=void 0}componentWillLoad(){const t=Array.from(this.el.querySelectorAll("ion-buttons")),o=t.find(r=>"start"===r.slot);o&&o.classList.add("buttons-first-slot");const e=t.reverse(),n=e.find(r=>"end"===r.slot)||e.find(r=>"primary"===r.slot)||e.find(r=>"secondary"===r.slot);n&&n.classList.add("buttons-last-slot")}childrenStyle(t){t.stopPropagation();const o=t.target.tagName,e=t.detail,n={},r=this.childrenStyles.get(o)||{};let s=!1;Object.keys(e).forEach(l=>{const d=`toolbar-${l}`,b=e[l];b!==r[d]&&(s=!0),b&&(n[d]=!0)}),s&&(this.childrenStyles.set(o,n),(0,i.i)(this))}render(){const t=(0,c.b)(this),o={};return this.childrenStyles.forEach(e=>{Object.assign(o,e)}),(0,i.h)(i.H,{class:Object.assign(Object.assign({},o),(0,x.c)(this.color,{[t]:!0,"in-toolbar":(0,x.h)("ion-toolbar",this.el)}))},(0,i.h)("div",{class:"toolbar-background"}),(0,i.h)("div",{class:"toolbar-container"},(0,i.h)("slot",{name:"start"}),(0,i.h)("slot",{name:"secondary"}),(0,i.h)("div",{class:"toolbar-content"},(0,i.h)("slot",null)),(0,i.h)("slot",{name:"primary"}),(0,i.h)("slot",{name:"end"})))}get el(){return(0,i.f)(this)}};X.style={ios:":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-color-step-50, #f7f7f7));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:4;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:-ms-inline-flexbox;display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){-ms-flex-item-align:start;align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:3;order:3}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}:host(.toolbar-title-large) .toolbar-container{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{-ms-flex:1;flex:1;-ms-flex-order:8;order:8;min-width:100%}",md:":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, #c1c4cd)));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:3;order:3;min-width:0;max-width:100%}::slotted(.buttons-first-slot){-webkit-margin-start:4px;margin-inline-start:4px}::slotted(.buttons-last-slot){-webkit-margin-end:4px;margin-inline-end:4px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:4;order:4}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}"}},3814:(U,E,a)=>{a.d(E,{c:()=>c,g:()=>O,h:()=>i,o:()=>v});var h=a(5861);const i=(u,p)=>null!==p.closest(u),c=(u,p)=>"string"==typeof u&&u.length>0?Object.assign({"ion-color":!0,[`ion-color-${u}`]:!0},p):p,O=u=>{const p={};return(u=>void 0!==u?(Array.isArray(u)?u:u.split(" ")).filter(g=>null!=g).map(g=>g.trim()).filter(g=>""!==g):[])(u).forEach(g=>p[g]=!0),p},x=/^[a-z][a-z0-9+\-.]*:/,v=function(){var u=(0,h.Z)(function*(p,g,S,T){if(null!=p&&"#"!==p[0]&&!x.test(p)){const z=document.querySelector("ion-router");if(z)return g?.preventDefault(),z.push(p,S,T)}return!1});return function(g,S,T,z){return u.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/53.ef8f5ad0aeca47f5.js b/53.ef8f5ad0aeca47f5.js deleted file mode 100644 index 7ba93648..00000000 --- a/53.ef8f5ad0aeca47f5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[53],{53:(U,S,a)=>{a.r(S),a.d(S,{ion_app:()=>H,ion_buttons:()=>A,ion_content:()=>B,ion_footer:()=>L,ion_header:()=>j,ion_router_outlet:()=>W,ion_title:()=>F,ion_toolbar:()=>X});var h=a(5861),i=a(1071),c=a(7263),v=a(2674),P=a(5215),x=a(2997),m=a(6038),u=a(323),b=a(6591),g=a(4519),E=a(4309);a(7693),a(2433),a(6447);const H=class{constructor(t){(0,i.r)(this,t)}componentDidLoad(){var t=this;$((0,h.Z)(function*(){const o=(0,c.a)(window,"hybrid");if(c.c.getBoolean("_testing")||a.e(5283).then(a.bind(a,5283)).then(n=>n.startTapClick(c.c)),c.c.getBoolean("statusTap",o)&&a.e(8142).then(a.bind(a,8142)).then(n=>n.startStatusTap()),c.c.getBoolean("inputShims",K())){const n=(0,c.a)(window,"ios")?"ios":"android";a.e(3991).then(a.bind(a,3991)).then(r=>r.startInputShims(c.c,n))}const e=yield Promise.resolve().then(a.bind(a,245));c.c.getBoolean("hardwareBackButton",o)?e.startHardwareBackButton():e.blockHardwareBackButton(),typeof window<"u"&&a.e(8592).then(a.bind(a,9868)).then(n=>n.startKeyboardAssist(window)),a.e(8592).then(a.bind(a,5837)).then(n=>t.focusVisible=n.startFocusVisible())}))}setFocus(t){var o=this;return(0,h.Z)(function*(){o.focusVisible&&o.focusVisible.setFocus(t)})()}render(){const t=(0,c.b)(this);return(0,i.h)(i.H,{class:{[t]:!0,"ion-page":!0,"force-statusbar-padding":c.c.getBoolean("_forceStatusbarPadding")}})}get el(){return(0,i.f)(this)}},K=()=>!!((0,c.a)(window,"ios")&&(0,c.a)(window,"mobile")||(0,c.a)(window,"android")&&(0,c.a)(window,"mobileweb")),$=t=>{"requestIdleCallback"in window?window.requestIdleCallback(t):setTimeout(t,32)};H.style="html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}";const A=class{constructor(t){(0,i.r)(this,t),this.collapse=!1}render(){const t=(0,c.b)(this);return(0,i.h)(i.H,{class:{[t]:!0,"buttons-collapse":this.collapse}})}};A.style={ios:".sc-ion-buttons-ios-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-ios-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-ios-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:5px;--padding-end:5px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-ios-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.sc-ion-buttons-ios-s ion-button:not(.button-round){--border-radius:4px}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button{--color:initial;--border-color:initial;--background-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-solid,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-solid{--background:var(--ion-color-contrast);--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12;--background-hover:var(--ion-color-base);--background-hover-opacity:0.45;--color:var(--ion-color-base);--color-focused:var(--ion-color-base)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-clear,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-clear{--color-activated:var(--ion-color-contrast);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-outline,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-outline{--color-activated:var(--ion-color-base);--color-focused:var(--ion-color-contrast);--background-activated:var(--ion-color-contrast)}.sc-ion-buttons-ios-s .button-clear,.sc-ion-buttons-ios-s .button-outline{--background-activated:transparent;--background-focused:currentColor;--background-hover:transparent}.sc-ion-buttons-ios-s .button-solid:not(.ion-color){--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12}.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:24px;line-height:0.67}.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:24px;line-height:0.67}.sc-ion-buttons-ios-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:28px;line-height:0.67}",md:".sc-ion-buttons-md-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-md-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-md-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:8px;--padding-end:8px;--box-shadow:none;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-md-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.sc-ion-buttons-md-s ion-button:not(.button-round){--border-radius:2px}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button{--color:initial;--color-focused:var(--ion-color-contrast);--color-hover:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-contrast);--background-hover:var(--ion-color-contrast)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-solid,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-solid{--background:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-shade);--background-hover:var(--ion-color-base);--color:var(--ion-color-base);--color-focused:var(--ion-color-base);--color-hover:var(--ion-color-base)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-outline,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-outline{--border-color:var(--ion-color-contrast)}.sc-ion-buttons-md-s .button-has-icon-only.button-clear{--padding-top:12px;--padding-end:12px;--padding-bottom:12px;--padding-start:12px;--border-radius:50%;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:48px;height:48px}.sc-ion-buttons-md-s .button{--background-hover:currentColor}.sc-ion-buttons-md-s .button-solid{--color:var(--ion-toolbar-background, var(--ion-background-color, #fff));--background:var(--ion-toolbar-color, var(--ion-text-color, #424242));--background-activated:transparent;--background-focused:currentColor}.sc-ion-buttons-md-s .button-outline{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--border-color:currentColor}.sc-ion-buttons-md-s .button-clear{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor}.sc-ion-buttons-md-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:1.4em}.sc-ion-buttons-md-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:1.4em}.sc-ion-buttons-md-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.8em}"};const B=class{constructor(t){(0,i.r)(this,t),this.ionScrollStart=(0,i.d)(this,"ionScrollStart",7),this.ionScroll=(0,i.d)(this,"ionScroll",7),this.ionScrollEnd=(0,i.d)(this,"ionScrollEnd",7),this.watchDog=null,this.isScrolling=!1,this.lastScroll=0,this.queued=!1,this.cTop=-1,this.cBottom=-1,this.isMainContent=!0,this.resizeTimeout=null,this.detail={scrollTop:0,scrollLeft:0,type:"scroll",event:void 0,startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,data:void 0,isScrolling:!0},this.color=void 0,this.fullscreen=!1,this.forceOverscroll=void 0,this.scrollX=!1,this.scrollY=!0,this.scrollEvents=!1}connectedCallback(){this.isMainContent=null===this.el.closest("ion-menu, ion-popover, ion-modal")}disconnectedCallback(){this.onScrollEnd()}onAppLoad(){this.resize()}onResize(){this.resizeTimeout&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=null),this.resizeTimeout=setTimeout(()=>{null!==this.el.offsetParent&&this.resize()},100)}shouldForceOverscroll(){const{forceOverscroll:t}=this,o=(0,c.b)(this);return void 0===t?"ios"===o&&(0,c.a)("ios"):t}resize(){this.fullscreen?(0,i.e)(()=>this.readDimensions()):(0!==this.cTop||0!==this.cBottom)&&(this.cTop=this.cBottom=0,(0,i.i)(this))}readDimensions(){const t=Q(this.el),o=Math.max(this.el.offsetTop,0),e=Math.max(t.offsetHeight-o-this.el.offsetHeight,0);(o!==this.cTop||e!==this.cBottom)&&(this.cTop=o,this.cBottom=e,(0,i.i)(this))}onScroll(t){const o=Date.now(),e=!this.isScrolling;this.lastScroll=o,e&&this.onScrollStart(),!this.queued&&this.scrollEvents&&(this.queued=!0,(0,i.e)(n=>{this.queued=!1,this.detail.event=t,q(this.detail,this.scrollEl,n,e),this.ionScroll.emit(this.detail)}))}getScrollElement(){var t=this;return(0,h.Z)(function*(){return t.scrollEl||(yield new Promise(o=>(0,v.c)(t.el,o))),Promise.resolve(t.scrollEl)})()}getBackgroundElement(){var t=this;return(0,h.Z)(function*(){return t.backgroundContentEl||(yield new Promise(o=>(0,v.c)(t.el,o))),Promise.resolve(t.backgroundContentEl)})()}scrollToTop(t=0){return this.scrollToPoint(void 0,0,t)}scrollToBottom(t=0){var o=this;return(0,h.Z)(function*(){const e=yield o.getScrollElement();return o.scrollToPoint(void 0,e.scrollHeight-e.clientHeight,t)})()}scrollByPoint(t,o,e){var n=this;return(0,h.Z)(function*(){const r=yield n.getScrollElement();return n.scrollToPoint(t+r.scrollLeft,o+r.scrollTop,e)})()}scrollToPoint(t,o,e=0){var n=this;return(0,h.Z)(function*(){const r=yield n.getScrollElement();if(e<32)return null!=o&&(r.scrollTop=o),void(null!=t&&(r.scrollLeft=t));let s,l=0;const d=new Promise(y=>s=y),p=r.scrollTop,f=r.scrollLeft,k=null!=o?o-p:0,w=null!=t?t-f:0,z=y=>{const ut=Math.min(1,(y-l)/e)-1,D=Math.pow(ut,3)+1;0!==k&&(r.scrollTop=Math.floor(D*k+p)),0!==w&&(r.scrollLeft=Math.floor(D*w+f)),D<1?requestAnimationFrame(z):s()};return requestAnimationFrame(y=>{l=y,z(y)}),d})()}onScrollStart(){this.isScrolling=!0,this.ionScrollStart.emit({isScrolling:!0}),this.watchDog&&clearInterval(this.watchDog),this.watchDog=setInterval(()=>{this.lastScrollthis.backgroundContentEl=f,id:"background-content",part:"background"}),(0,i.h)(p,{class:{"inner-scroll":!0,"scroll-x":o,"scroll-y":e,overscroll:(o||e)&&l},ref:f=>this.scrollEl=f,onScroll:this.scrollEvents?f=>this.onScroll(f):void 0,part:"scroll"},(0,i.h)("slot",null)),d?(0,i.h)("div",{class:"transition-effect"},(0,i.h)("div",{class:"transition-cover"}),(0,i.h)("div",{class:"transition-shadow"})):null,(0,i.h)("slot",{name:"fixed"}))}get el(){return(0,i.f)(this)}},Q=t=>{const o=t.closest("ion-tabs");return o||(t.closest("ion-app, ion-page, .ion-page, page-inner, .popover-content")||(t=>{var o;return t.parentElement?t.parentElement:null!==(o=t.parentNode)&&void 0!==o&&o.host?t.parentNode.host:null})(t))},q=(t,o,e,n)=>{const r=t.currentX,s=t.currentY,d=o.scrollLeft,p=o.scrollTop,f=e-t.currentTime;if(n&&(t.startTime=e,t.startX=d,t.startY=p,t.velocityX=t.velocityY=0),t.currentTime=e,t.currentX=t.scrollLeft=d,t.currentY=t.scrollTop=p,t.deltaX=d-t.startX,t.deltaY=p-t.startY,f>0&&f<100){const w=(p-s)/f;t.velocityX=(d-r)/f*.7+.3*t.velocityX,t.velocityY=.7*w+.3*t.velocityY}};B.style=':host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.outer-content){--background:var(--ion-color-step-50, #f2f2f2)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}';const I=(t,o)=>{(0,i.e)(()=>{const d=(0,v.l)(0,1-(t.scrollTop-(t.scrollHeight-t.clientHeight-10))/10,1);(0,i.w)(()=>{o.style.setProperty("--opacity-scale",d.toString())})})},L=class{constructor(t){var o=this;(0,i.r)(this,t),this.keyboardCtrl=null,this.checkCollapsibleFooter=()=>{if("ios"!==(0,c.b)(this))return;const{collapse:n}=this,r="fade"===n;if(this.destroyCollapsibleFooter(),r){const s=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),l=s?(0,m.a)(s):null;if(!l)return void(0,m.p)(this.el);this.setupFadeFooter(l)}},this.setupFadeFooter=function(){var e=(0,h.Z)(function*(n){const r=o.scrollEl=yield(0,m.g)(n);o.contentScrollCallback=()=>{I(r,o.el)},r.addEventListener("scroll",o.contentScrollCallback),I(r,o.el)});return function(n){return e.apply(this,arguments)}}(),this.keyboardVisible=!1,this.collapse=void 0,this.translucent=!1}componentDidLoad(){this.checkCollapsibleFooter()}componentDidUpdate(){this.checkCollapsibleFooter()}connectedCallback(){var t=this;return(0,h.Z)(function*(){t.keyboardCtrl=yield(0,u.c)(function(){var o=(0,h.Z)(function*(e,n){!1===e&&void 0!==n&&(yield n),t.keyboardVisible=e});return function(e,n){return o.apply(this,arguments)}}())})()}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}destroyCollapsibleFooter(){this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0)}render(){const{translucent:t,collapse:o}=this,e=(0,c.b)(this),r=this.el.closest("ion-tabs")?.querySelector(":scope > ion-tab-bar");return(0,i.h)(i.H,{role:"contentinfo",class:{[e]:!0,[`footer-${e}`]:!0,"footer-translucent":t,[`footer-translucent-${e}`]:t,"footer-toolbar-padding":!(this.keyboardVisible||r&&"bottom"===r.slot),[`footer-collapse-${o}`]:void 0!==o}},"ios"===e&&t&&(0,i.h)("div",{class:"footer-background"}),(0,i.h)("slot",null))}get el(){return(0,i.f)(this)}};L.style={ios:"ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer.footer-toolbar-padding ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-ios ion-toolbar:first-of-type{--border-width:0.55px 0 0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.footer-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.footer-translucent-ios ion-toolbar{--opacity:.8}}.footer-ios.ion-no-border ion-toolbar:first-of-type{--border-width:0}.footer-collapse-fade ion-toolbar{--opacity-scale:inherit}",md:"ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer.footer-toolbar-padding ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.footer-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}"};const _=t=>{const o=document.querySelector(`${t}.ion-cloned-element`);if(null!==o)return o;const e=document.createElement(t);return e.classList.add("ion-cloned-element"),e.style.setProperty("display","none"),document.body.appendChild(e),e},Z=t=>{if(!t)return;const o=t.querySelectorAll("ion-toolbar");return{el:t,toolbars:Array.from(o).map(e=>{const n=e.querySelector("ion-title");return{el:e,background:e.shadowRoot.querySelector(".toolbar-background"),ionTitleEl:n,innerTitleEl:n?n.shadowRoot.querySelector(".toolbar-title"):null,ionButtonsEl:Array.from(e.querySelectorAll("ion-buttons"))}})}},M=(t,o)=>{"fade"!==t.collapse&&(void 0===o?t.style.removeProperty("--opacity-scale"):t.style.setProperty("--opacity-scale",o.toString()))},C=(t,o=!0)=>{const e=t.el;o?(e.classList.remove("header-collapse-condense-inactive"),e.removeAttribute("aria-hidden")):(e.classList.add("header-collapse-condense-inactive"),e.setAttribute("aria-hidden","true"))},R=(t,o,e)=>{(0,i.e)(()=>{const n=t.scrollTop,r=o.clientHeight,s=e?e.clientHeight:0;if(null!==e&&n{t.style.removeProperty("clip-path"),o.style.setProperty("--opacity-scale",p.toString())})})},j=class{constructor(t){var o=this;(0,i.r)(this,t),this.inheritedAttributes={},this.setupFadeHeader=function(){var e=(0,h.Z)(function*(n,r){const s=o.scrollEl=yield(0,m.g)(n);o.contentScrollCallback=()=>{R(o.scrollEl,o.el,r)},s.addEventListener("scroll",o.contentScrollCallback),R(o.scrollEl,o.el,r)});return function(n,r){return e.apply(this,arguments)}}(),this.collapse=void 0,this.translucent=!1}componentWillLoad(){this.inheritedAttributes=(0,v.i)(this.el)}componentDidLoad(){this.checkCollapsibleHeader()}componentDidUpdate(){this.checkCollapsibleHeader()}disconnectedCallback(){this.destroyCollapsibleHeader()}checkCollapsibleHeader(){var t=this;return(0,h.Z)(function*(){if("ios"!==(0,c.b)(t))return;const{collapse:e}=t,n="condense"===e,r="fade"===e;if(t.destroyCollapsibleHeader(),n){const s=t.el.closest("ion-app,ion-page,.ion-page,page-inner"),l=s?(0,m.a)(s):null;(0,i.w)(()=>{_("ion-title").size="large",_("ion-back-button")}),yield t.setupCondenseHeader(l,s)}else if(r){const s=t.el.closest("ion-app,ion-page,.ion-page,page-inner"),l=s?(0,m.a)(s):null;if(!l)return void(0,m.p)(t.el);const d=l.querySelector('ion-header[collapse="condense"]');yield t.setupFadeHeader(l,d)}})()}destroyCollapsibleHeader(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=void 0),this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0),this.collapsibleMainHeader&&(this.collapsibleMainHeader.classList.remove("header-collapse-main"),this.collapsibleMainHeader=void 0)}setupCondenseHeader(t,o){var e=this;return(0,h.Z)(function*(){if(!t||!o)return void(0,m.p)(e.el);if(typeof IntersectionObserver>"u")return;e.scrollEl=yield(0,m.g)(t);const n=o.querySelectorAll("ion-header");if(e.collapsibleMainHeader=Array.from(n).find(d=>"condense"!==d.collapse),!e.collapsibleMainHeader)return;const r=Z(e.collapsibleMainHeader),s=Z(e.el);r&&s&&(C(r,!1),M(r.el,0),e.intersectionObserver=new IntersectionObserver(d=>{((t,o,e,n)=>{(0,i.w)(()=>{const r=n.scrollTop;((t,o,e)=>{if(!t[0].isIntersecting)return;const n=t[0].intersectionRatio>.9||e<=0?0:100*(1-t[0].intersectionRatio)/75;M(o.el,1===n?void 0:n)})(t,o,r);const s=t[0],l=s.intersectionRect,d=l.width*l.height,f=0===d&&0==s.rootBounds.width*s.rootBounds.height,k=Math.abs(l.left-s.boundingClientRect.left),w=Math.abs(l.right-s.boundingClientRect.right);f||d>0&&(k>=5||w>=5)||(s.isIntersecting?(C(o,!1),C(e)):(0===l.x&&0===l.y||0!==l.width&&0!==l.height)&&r>0&&(C(o),C(e,!1),M(o.el)))})})(d,r,s,e.scrollEl)},{root:t,threshold:[.25,.3,.4,.5,.6,.7,.8,.9,1]}),e.intersectionObserver.observe(s.toolbars[s.toolbars.length-1].el),e.contentScrollCallback=()=>{((t,o,e)=>{(0,i.e)(()=>{const r=(0,v.l)(1,1+-t.scrollTop/500,1.1);null===e.querySelector("ion-refresher.refresher-native")&&(0,i.w)(()=>{((t=[],o=1,e=!1)=>{t.forEach(n=>{const r=n.ionTitleEl,s=n.innerTitleEl;!r||"large"!==r.size||(s.style.transition=e?"all 0.2s ease-in-out":"",s.style.transform=`scale3d(${o}, ${o}, 1)`)})})(o.toolbars,r)})})})(e.scrollEl,s,t)},e.scrollEl.addEventListener("scroll",e.contentScrollCallback),(0,i.w)(()=>{void 0!==e.collapsibleMainHeader&&e.collapsibleMainHeader.classList.add("header-collapse-main")}))})()}render(){const{translucent:t,inheritedAttributes:o}=this,e=(0,c.b)(this),n=this.collapse||"none",r=(0,x.h)("ion-menu",this.el)?"none":"banner";return(0,i.h)(i.H,Object.assign({role:r,class:{[e]:!0,[`header-${e}`]:!0,"header-translucent":this.translucent,[`header-collapse-${n}`]:!0,[`header-translucent-${e}`]:this.translucent}},o),"ios"===e&&t&&(0,i.h)("div",{class:"header-background"}),(0,i.h)("slot",null))}get el(){return(0,i.f)(this)}};j.style={ios:"ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:1px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{height:48px;padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}",md:"ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.header-collapse-condense{display:none}.header-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}"};const W=class{constructor(t){(0,i.r)(this,t),this.ionNavWillLoad=(0,i.d)(this,"ionNavWillLoad",7),this.ionNavWillChange=(0,i.d)(this,"ionNavWillChange",3),this.ionNavDidChange=(0,i.d)(this,"ionNavDidChange",3),this.gestureOrAnimationInProgress=!1,this.mode=(0,c.b)(this),this.delegate=void 0,this.animated=!0,this.animation=void 0,this.swipeHandler=void 0}swipeHandlerChanged(){this.gesture&&this.gesture.enable(void 0!==this.swipeHandler)}connectedCallback(){var t=this;return(0,h.Z)(function*(){t.gesture=(yield a.e(8592).then(a.bind(a,1242))).createSwipeBackGesture(t.el,()=>!t.gestureOrAnimationInProgress&&!!t.swipeHandler&&t.swipeHandler.canStart(),()=>(t.gestureOrAnimationInProgress=!0,void(t.swipeHandler&&t.swipeHandler.onStart())),e=>{var n;return null===(n=t.ani)||void 0===n?void 0:n.progressStep(e)},(e,n,r)=>{if(t.ani){t.ani.onFinish(()=>{t.gestureOrAnimationInProgress=!1,t.swipeHandler&&t.swipeHandler.onEnd(e)},{oneTimeCallback:!0});let s=e?-.001:.001;e?s+=(0,b.g)([0,0],[.32,.72],[0,1],[1,1],n)[0]:(t.ani.easing("cubic-bezier(1, 0, 0.68, 0.28)"),s+=(0,b.g)([0,0],[1,0],[.68,.28],[1,1],n)[0]),t.ani.progressEnd(e?1:0,s,r)}else t.gestureOrAnimationInProgress=!1}),t.swipeHandlerChanged()})()}componentWillLoad(){this.ionNavWillLoad.emit()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}commit(t,o,e){var n=this;return(0,h.Z)(function*(){const r=yield n.lock();let s=!1;try{s=yield n.transition(t,o,e)}catch(l){console.error(l)}return r(),s})()}setRouteId(t,o,e,n){var r=this;return(0,h.Z)(function*(){return{changed:yield r.setRoot(t,o,{duration:"root"===e?0:void 0,direction:"back"===e?"back":"forward",animationBuilder:n}),element:r.activeEl}})()}getRouteId(){var t=this;return(0,h.Z)(function*(){const o=t.activeEl;return o?{id:o.tagName,element:o,params:t.activeParams}:void 0})()}setRoot(t,o,e){var n=this;return(0,h.Z)(function*(){if(n.activeComponent===t&&(0,v.s)(o,n.activeParams))return!1;const r=n.activeEl,s=yield(0,g.a)(n.delegate,n.el,t,["ion-page","ion-page-invisible"],o);return n.activeComponent=t,n.activeEl=s,n.activeParams=o,yield n.commit(s,r,e),yield(0,g.d)(n.delegate,r),!0})()}transition(t,o,e={}){var n=this;return(0,h.Z)(function*(){if(o===t)return!1;n.ionNavWillChange.emit();const{el:r,mode:s}=n,l=n.animated&&c.c.getBoolean("animated",!0),d=e.animationBuilder||n.animation||c.c.get("navAnimation");return yield(0,E.t)(Object.assign(Object.assign({mode:s,animated:l,enteringEl:t,leavingEl:o,baseEl:r,deepWait:(0,v.m)(r),progressCallback:e.progressAnimation?p=>{void 0===p||n.gestureOrAnimationInProgress?n.ani=p:(n.gestureOrAnimationInProgress=!0,p.onFinish(()=>{n.gestureOrAnimationInProgress=!1,n.swipeHandler&&n.swipeHandler.onEnd(!1)},{oneTimeCallback:!0}),p.progressEnd(0,0,0))}:void 0},e),{animationBuilder:d})),n.ionNavDidChange.emit(),!0})()}lock(){var t=this;return(0,h.Z)(function*(){const o=t.waitPromise;let e;return t.waitPromise=new Promise(n=>e=n),void 0!==o&&(yield o),e})()}render(){return(0,i.h)("slot",null)}get el(){return(0,i.f)(this)}static get watchers(){return{swipeHandler:["swipeHandlerChanged"]}}};W.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;overflow:hidden;z-index:0}";const F=class{constructor(t){(0,i.r)(this,t),this.ionStyle=(0,i.d)(this,"ionStyle",7),this.color=void 0,this.size=void 0}sizeChanged(){this.emitStyle()}connectedCallback(){this.emitStyle()}emitStyle(){const t=this.getSize();this.ionStyle.emit({[`title-${t}`]:!0})}getSize(){return void 0!==this.size?this.size:"default"}render(){const t=(0,c.b)(this),o=this.getSize();return(0,i.h)(i.H,{class:(0,x.c)(this.color,{[t]:!0,[`title-${o}`]:!0,"title-rtl":"rtl"===document.dir})},(0,i.h)("div",{class:"toolbar-title"},(0,i.h)("slot",null)))}get el(){return(0,i.f)(this)}static get watchers(){return{size:["sizeChanged"]}}};F.style={ios:":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{top:0;-webkit-padding-start:90px;padding-inline-start:90px;-webkit-padding-end:90px;padding-inline-end:90px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);font-size:17px;font-weight:600;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}@supports (inset-inline-start: 0){:host{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host{left:0}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host:dir(rtl){left:unset;right:unset;right:0}}}:host(.title-small){-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:6px;padding-bottom:16px;position:relative;font-size:13px;font-weight:normal}:host(.title-large){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-webkit-transform-origin:left center;transform-origin:left center;bottom:0;-ms-flex-align:end;align-items:flex-end;min-width:100%;font-size:34px;font-weight:700;text-align:start}:host(.title-large.title-rtl){-webkit-transform-origin:right center;transform-origin:right center}:host(.title-large.ion-cloned-element){--color:var(--ion-text-color, #000)}:host(.title-large) .toolbar-title{-webkit-transform-origin:inherit;transform-origin:inherit}:host-context([dir=rtl]):host(.title-large) .toolbar-title,:host-context([dir=rtl]).title-large .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}@supports selector(:dir(rtl)){:host(.title-large) .toolbar-title:dir(rtl){-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}}",md:":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:0;padding-bottom:0;font-size:20px;font-weight:500;letter-spacing:0.0125em}:host(.title-small){width:100%;height:100%;font-size:15px;font-weight:normal}"};const X=class{constructor(t){(0,i.r)(this,t),this.childrenStyles=new Map,this.color=void 0}componentWillLoad(){const t=Array.from(this.el.querySelectorAll("ion-buttons")),o=t.find(r=>"start"===r.slot);o&&o.classList.add("buttons-first-slot");const e=t.reverse(),n=e.find(r=>"end"===r.slot)||e.find(r=>"primary"===r.slot)||e.find(r=>"secondary"===r.slot);n&&n.classList.add("buttons-last-slot")}childrenStyle(t){t.stopPropagation();const o=t.target.tagName,e=t.detail,n={},r=this.childrenStyles.get(o)||{};let s=!1;Object.keys(e).forEach(l=>{const d=`toolbar-${l}`,p=e[l];p!==r[d]&&(s=!0),p&&(n[d]=!0)}),s&&(this.childrenStyles.set(o,n),(0,i.i)(this))}render(){const t=(0,c.b)(this),o={};return this.childrenStyles.forEach(e=>{Object.assign(o,e)}),(0,i.h)(i.H,{class:Object.assign(Object.assign({},o),(0,x.c)(this.color,{[t]:!0,"in-toolbar":(0,x.h)("ion-toolbar",this.el)}))},(0,i.h)("div",{class:"toolbar-background"}),(0,i.h)("div",{class:"toolbar-container"},(0,i.h)("slot",{name:"start"}),(0,i.h)("slot",{name:"secondary"}),(0,i.h)("div",{class:"toolbar-content"},(0,i.h)("slot",null)),(0,i.h)("slot",{name:"primary"}),(0,i.h)("slot",{name:"end"})))}get el(){return(0,i.f)(this)}};X.style={ios:":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-color-step-50, #f7f7f7));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:4;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:-ms-inline-flexbox;display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){-ms-flex-item-align:start;align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}:host(.toolbar-searchbar) ::slotted(ion-back-button){height:38px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:3;order:3}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}:host(.toolbar-title-large){padding-bottom:7px}:host(.toolbar-title-large) .toolbar-container{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{-ms-flex:1;flex:1;-ms-flex-order:8;order:8;min-width:100%}",md:":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, #c1c4cd)));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:3;order:3;min-width:0;max-width:100%}::slotted(.buttons-first-slot){-webkit-margin-start:4px;margin-inline-start:4px}::slotted(.buttons-last-slot){-webkit-margin-end:4px;margin-inline-end:4px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:4;order:4}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}"}},2997:(U,S,a)=>{a.d(S,{c:()=>c,g:()=>P,h:()=>i,o:()=>m});var h=a(5861);const i=(u,b)=>null!==b.closest(u),c=(u,b)=>"string"==typeof u&&u.length>0?Object.assign({"ion-color":!0,[`ion-color-${u}`]:!0},b):b,P=u=>{const b={};return(u=>void 0!==u?(Array.isArray(u)?u:u.split(" ")).filter(g=>null!=g).map(g=>g.trim()).filter(g=>""!==g):[])(u).forEach(g=>b[g]=!0),b},x=/^[a-z][a-z0-9+\-.]*:/,m=function(){var u=(0,h.Z)(function*(b,g,E,O){if(null!=b&&"#"!==b[0]&&!x.test(b)){const T=document.querySelector("ion-router");if(T)return g?.preventDefault(),T.push(b,E,O)}return!1});return function(g,E,O,T){return u.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/5349.41b7e432d9a5e692.js b/5349.41b7e432d9a5e692.js deleted file mode 100644 index 1bf903ca..00000000 --- a/5349.41b7e432d9a5e692.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5349],{5349:(D,T,f)=>{f.r(T),f.d(T,{ion_nav:()=>P,ion_nav_link:()=>R});var m=f(5861),g=f(1071),E=f(6591),d=f(2674),v=f(4309),b=f(7263),B=f(4519);class _{constructor(t,n){this.component=t,this.params=n,this.state=1}init(t){var n=this;return(0,m.Z)(function*(){if(n.state=2,!n.element){const i=n.component;n.element=yield(0,B.a)(n.delegate,t,i,["ion-page","ion-page-invisible"],n.params)}})()}_destroy(){(0,d.o)(3!==this.state,"view state must be ATTACHED");const t=this.element;t&&(this.delegate?this.delegate.removeViewFromDom(t.parentElement,t):t.remove()),this.nav=void 0,this.state=3}}const I=(e,t,n)=>!(!e||e.component!==t)&&(0,d.s)(e.params,n),A=(e,t)=>e?e instanceof _?e:new _(e,t):null,P=class{constructor(e){(0,g.r)(this,e),this.ionNavWillLoad=(0,g.d)(this,"ionNavWillLoad",7),this.ionNavWillChange=(0,g.d)(this,"ionNavWillChange",3),this.ionNavDidChange=(0,g.d)(this,"ionNavDidChange",3),this.transInstr=[],this.gestureOrAnimationInProgress=!1,this.useRouter=!1,this.isTransitioning=!1,this.destroyed=!1,this.views=[],this.didLoad=!1,this.delegate=void 0,this.swipeGesture=void 0,this.animated=!0,this.animation=void 0,this.rootParams=void 0,this.root=void 0}swipeGestureChanged(){this.gesture&&this.gesture.enable(!0===this.swipeGesture)}rootChanged(){void 0!==this.root&&!1!==this.didLoad&&(this.useRouter||void 0!==this.root&&this.setRoot(this.root,this.rootParams))}componentWillLoad(){if(this.useRouter=null!==document.querySelector("ion-router")&&null===this.el.closest("[no-router]"),void 0===this.swipeGesture){const e=(0,b.b)(this);this.swipeGesture=b.c.getBoolean("swipeBackEnabled","ios"===e)}this.ionNavWillLoad.emit()}componentDidLoad(){var e=this;return(0,m.Z)(function*(){e.didLoad=!0,e.rootChanged(),e.gesture=(yield f.e(8592).then(f.bind(f,1242))).createSwipeBackGesture(e.el,e.canStart.bind(e),e.onStart.bind(e),e.onMove.bind(e),e.onEnd.bind(e)),e.swipeGestureChanged()})()}connectedCallback(){this.destroyed=!1}disconnectedCallback(){for(const e of this.views)(0,v.l)(e.element,v.d),e._destroy();this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.transInstr.length=0,this.views.length=0,this.destroyed=!0}push(e,t,n,i){return this.insert(-1,e,t,n,i)}insert(e,t,n,i,s){return this.insertPages(e,[{component:t,componentProps:n}],i,s)}insertPages(e,t,n,i){return this.queueTrns({insertStart:e,insertViews:t,opts:n},i)}pop(e,t){return this.removeIndex(-1,1,e,t)}popTo(e,t,n){const i={removeStart:-1,removeCount:-1,opts:t};return"object"==typeof e&&e.component?(i.removeView=e,i.removeStart=1):"number"==typeof e&&(i.removeStart=e+1),this.queueTrns(i,n)}popToRoot(e,t){return this.removeIndex(1,-1,e,t)}removeIndex(e,t=1,n,i){return this.queueTrns({removeStart:e,removeCount:t,opts:n},i)}setRoot(e,t,n,i){return this.setPages([{component:e,componentProps:t}],n,i)}setPages(e,t,n){return t??(t={}),!0!==t.animated&&(t.animated=!1),this.queueTrns({insertStart:0,insertViews:e,removeStart:0,removeCount:-1,opts:t},n)}setRouteId(e,t,n,i){const s=this.getActiveSync();if(I(s,e,t))return Promise.resolve({changed:!1,element:s.element});let r;const a=new Promise(l=>r=l);let o;const c={updateURL:!1,viewIsReady:l=>{let h;const w=new Promise(u=>h=u);return r({changed:!0,element:l,markVisible:(u=(0,m.Z)(function*(){h(),yield o}),function(){return u.apply(this,arguments)})}),w;var u}};if("root"===n)o=this.setRoot(e,t,c);else{const l=this.views.find(h=>I(h,e,t));l?o=this.popTo(l,Object.assign(Object.assign({},c),{direction:"back",animationBuilder:i})):"forward"===n?o=this.push(e,t,Object.assign(Object.assign({},c),{animationBuilder:i})):"back"===n&&(o=this.setRoot(e,t,Object.assign(Object.assign({},c),{direction:"back",animated:!0,animationBuilder:i})))}return a}getRouteId(){var e=this;return(0,m.Z)(function*(){const t=e.getActiveSync();if(t)return{id:t.element.tagName,params:t.params,element:t.element}})()}getActive(){var e=this;return(0,m.Z)(function*(){return e.getActiveSync()})()}getByIndex(e){var t=this;return(0,m.Z)(function*(){return t.views[e]})()}canGoBack(e){var t=this;return(0,m.Z)(function*(){return t.canGoBackSync(e)})()}getPrevious(e){var t=this;return(0,m.Z)(function*(){return t.getPreviousSync(e)})()}getLength(){return this.views.length}getActiveSync(){return this.views[this.views.length-1]}canGoBackSync(e=this.getActiveSync()){return!(!e||!this.getPreviousSync(e))}getPreviousSync(e=this.getActiveSync()){if(!e)return;const t=this.views,n=t.indexOf(e);return n>0?t[n-1]:void 0}queueTrns(e,t){var n=this;return(0,m.Z)(function*(){var i,s;if(n.isTransitioning&&null!==(i=e.opts)&&void 0!==i&&i.skipIfBusy)return!1;const r=new Promise((a,o)=>{e.resolve=a,e.reject=o});if(e.done=t,e.opts&&!1!==e.opts.updateURL&&n.useRouter){const a=document.querySelector("ion-router");if(a){const o=yield a.canTransition();if(!1===o)return!1;if("string"==typeof o)return a.push(o,e.opts.direction||"back"),!1}}return 0===(null===(s=e.insertViews)||void 0===s?void 0:s.length)&&(e.insertViews=void 0),n.transInstr.push(e),n.nextTrns(),r})()}success(e,t){if(this.destroyed)this.fireError("nav controller was destroyed",t);else if(t.done&&t.done(e.hasCompleted,e.requiresTransition,e.enteringView,e.leavingView,e.direction),t.resolve(e.hasCompleted),!1!==t.opts.updateURL&&this.useRouter){const n=document.querySelector("ion-router");n&&n.navChanged("back"===e.direction?"back":"forward")}}failed(e,t){this.destroyed?this.fireError("nav controller was destroyed",t):(this.transInstr.length=0,this.fireError(e,t))}fireError(e,t){t.done&&t.done(!1,!1,e),t.reject&&!this.destroyed?t.reject(e):t.resolve(!1)}nextTrns(){if(this.isTransitioning)return!1;const e=this.transInstr.shift();return!!e&&(this.runTransition(e),!0)}runTransition(e){var t=this;return(0,m.Z)(function*(){try{t.ionNavWillChange.emit(),t.isTransitioning=!0,t.prepareTI(e);const n=t.getActiveSync(),i=t.getEnteringView(e,n);if(!n&&!i)throw new Error("no views in the stack to be removed");i&&1===i.state&&(yield i.init(t.el)),t.postViewInit(i,n,e);const s=(e.enteringRequiresTransition||e.leavingRequiresTransition)&&i!==n;let r;s&&e.opts&&n&&("back"===e.opts.direction&&(e.opts.animationBuilder=e.opts.animationBuilder||i?.animationBuilder),n.animationBuilder=e.opts.animationBuilder),r=s?yield t.transition(i,n,e):{hasCompleted:!0,requiresTransition:!1},t.success(r,e),t.ionNavDidChange.emit()}catch(n){t.failed(n,e)}t.isTransitioning=!1,t.nextTrns()})()}prepareTI(e){var t,n,i;const s=this.views.length;if(null!==(t=e.opts)&&void 0!==t||(e.opts={}),null!==(n=(i=e.opts).delegate)&&void 0!==n||(i.delegate=this.delegate),void 0!==e.removeView){(0,d.o)(void 0!==e.removeStart,"removeView needs removeStart"),(0,d.o)(void 0!==e.removeCount,"removeView needs removeCount");const o=this.views.indexOf(e.removeView);if(o<0)throw new Error("removeView was not found");e.removeStart+=o}void 0!==e.removeStart&&(e.removeStart<0&&(e.removeStart=s-1),e.removeCount<0&&(e.removeCount=s-e.removeStart),e.leavingRequiresTransition=e.removeCount>0&&e.removeStart+e.removeCount===s),e.insertViews&&((e.insertStart<0||e.insertStart>s)&&(e.insertStart=s),e.enteringRequiresTransition=e.insertStart===s);const r=e.insertViews;if(!r)return;(0,d.o)(r.length>0,"length can not be zero");const a=(e=>e.map(t=>t instanceof _?t:"component"in t?A(t.component,null===t.componentProps?void 0:t.componentProps):A(t,void 0)).filter(t=>null!==t))(r);if(0===a.length)throw new Error("invalid views to insert");for(const o of a){o.delegate=e.opts.delegate;const c=o.nav;if(c&&c!==this)throw new Error("inserted view was already inserted");if(3===o.state)throw new Error("inserted view was already destroyed")}e.insertViews=a}getEnteringView(e,t){const n=e.insertViews;if(void 0!==n)return n[n.length-1];const i=e.removeStart;if(void 0!==i){const s=this.views,r=i+e.removeCount;for(let a=s.length-1;a>=0;a--){const o=s[a];if((a=r)&&o!==t)return o}}}postViewInit(e,t,n){var i,s,r;(0,d.o)(t||e,"Both leavingView and enteringView are null"),(0,d.o)(n.resolve,"resolve must be valid"),(0,d.o)(n.reject,"reject must be valid");const a=n.opts,{insertViews:o,removeStart:c,removeCount:l}=n;let h;if(void 0!==c&&void 0!==l){(0,d.o)(c>=0,"removeStart can not be negative"),(0,d.o)(l>=0,"removeCount can not be negative"),h=[];for(let u=c;u=0,"final balance can not be negative"),0===w)throw console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el),new Error("navigation stack needs at least one root page");if(o){let u=n.insertStart;for(const p of o)this.insertViewAt(p,u),u++;n.enteringRequiresTransition&&(null!==(r=a.direction)&&void 0!==r||(a.direction="forward"))}if(h&&h.length>0){for(const u of h)(0,v.l)(u.element,v.b),(0,v.l)(u.element,v.c),(0,v.l)(u.element,v.d);for(const u of h)this.destroyView(u)}}transition(e,t,n){var i=this;return(0,m.Z)(function*(){const s=n.opts,r=s.progressAnimation?w=>{void 0===w||i.gestureOrAnimationInProgress?i.sbAni=w:(i.gestureOrAnimationInProgress=!0,w.onFinish(()=>{i.gestureOrAnimationInProgress=!1},{oneTimeCallback:!0}),w.progressEnd(0,0,0))}:void 0,a=(0,b.b)(i),o=e.element,c=t&&t.element,l=Object.assign(Object.assign({mode:a,showGoBack:i.canGoBackSync(e),baseEl:i.el,progressCallback:r,animated:i.animated&&b.c.getBoolean("animated",!0),enteringEl:o,leavingEl:c},s),{animationBuilder:s.animationBuilder||i.animation||b.c.get("navAnimation")}),{hasCompleted:h}=yield(0,v.t)(l);return i.transitionFinish(h,e,t,s)})()}transitionFinish(e,t,n,i){const s=e?t:n;return s&&this.unmountInactiveViews(s),{hasCompleted:e,requiresTransition:!0,enteringView:t,leavingView:n,direction:i.direction}}insertViewAt(e,t){const n=this.views,i=n.indexOf(e);i>-1?((0,d.o)(e.nav===this,"view is not part of the nav"),n.splice(i,1),n.splice(t,0,e)):((0,d.o)(!e.nav,"nav is used"),e.nav=this,n.splice(t,0,e))}removeView(e){(0,d.o)(2===e.state||3===e.state,"view state should be loaded or destroyed");const t=this.views,n=t.indexOf(e);(0,d.o)(n>-1,"view must be part of the stack"),n>=0&&t.splice(n,1)}destroyView(e){e._destroy(),this.removeView(e)}unmountInactiveViews(e){if(this.destroyed)return;const t=this.views,n=t.indexOf(e);for(let i=t.length-1;i>=0;i--){const s=t[i],r=s.element;r&&(i>n?((0,v.l)(r,v.d),this.destroyView(s)):i{this.gestureOrAnimationInProgress=!1},{oneTimeCallback:!0});let i=e?-.001:.001;e?i+=(0,E.g)([0,0],[.32,.72],[0,1],[1,1],t)[0]:(this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)"),i+=(0,E.g)([0,0],[1,0],[.68,.28],[1,1],t)[0]),this.sbAni.progressEnd(e?1:0,i,n)}else this.gestureOrAnimationInProgress=!1}render(){return(0,g.h)("slot",null)}get el(){return(0,g.f)(this)}static get watchers(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}}};P.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;overflow:hidden;z-index:0}";const R=class{constructor(e){(0,g.r)(this,e),this.onClick=()=>((e,t,n,i,s)=>{const r=this.el.closest("ion-nav");if(r)if("forward"===t){if(void 0!==n)return r.push(n,i,{skipIfBusy:!0,animationBuilder:s})}else if("root"===t){if(void 0!==n)return r.setRoot(n,i,{skipIfBusy:!0,animationBuilder:s})}else if("back"===t)return r.pop({skipIfBusy:!0,animationBuilder:s});return Promise.resolve(!1)})(0,this.routerDirection,this.component,this.componentProps,this.routerAnimation),this.component=void 0,this.componentProps=void 0,this.routerDirection="forward",this.routerAnimation=void 0}render(){return(0,g.h)(g.H,{onClick:this.onClick})}get el(){return(0,g.f)(this)}}}}]); \ No newline at end of file diff --git a/5349.891be86c5e7b7c06.js b/5349.891be86c5e7b7c06.js new file mode 100644 index 00000000..dabb1c49 --- /dev/null +++ b/5349.891be86c5e7b7c06.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5349],{5349:(D,T,f)=>{f.r(T),f.d(T,{ion_nav:()=>P,ion_nav_link:()=>R});var m=f(5861),g=f(408),E=f(5069),d=f(2961),v=f(9528),b=f(4649),B=f(7869);class _{constructor(t,n){this.component=t,this.params=n,this.state=1}init(t){var n=this;return(0,m.Z)(function*(){if(n.state=2,!n.element){const i=n.component;n.element=yield(0,B.a)(n.delegate,t,i,["ion-page","ion-page-invisible"],n.params)}})()}_destroy(){(0,d.o)(3!==this.state,"view state must be ATTACHED");const t=this.element;t&&(this.delegate?this.delegate.removeViewFromDom(t.parentElement,t):t.remove()),this.nav=void 0,this.state=3}}const I=(e,t,n)=>!(!e||e.component!==t)&&(0,d.s)(e.params,n),A=(e,t)=>e?e instanceof _?e:new _(e,t):null,P=class{constructor(e){(0,g.r)(this,e),this.ionNavWillLoad=(0,g.d)(this,"ionNavWillLoad",7),this.ionNavWillChange=(0,g.d)(this,"ionNavWillChange",3),this.ionNavDidChange=(0,g.d)(this,"ionNavDidChange",3),this.transInstr=[],this.gestureOrAnimationInProgress=!1,this.useRouter=!1,this.isTransitioning=!1,this.destroyed=!1,this.views=[],this.didLoad=!1,this.delegate=void 0,this.swipeGesture=void 0,this.animated=!0,this.animation=void 0,this.rootParams=void 0,this.root=void 0}swipeGestureChanged(){this.gesture&&this.gesture.enable(!0===this.swipeGesture)}rootChanged(){void 0!==this.root&&!1!==this.didLoad&&(this.useRouter||void 0!==this.root&&this.setRoot(this.root,this.rootParams))}componentWillLoad(){if(this.useRouter=null!==document.querySelector("ion-router")&&null===this.el.closest("[no-router]"),void 0===this.swipeGesture){const e=(0,b.b)(this);this.swipeGesture=b.c.getBoolean("swipeBackEnabled","ios"===e)}this.ionNavWillLoad.emit()}componentDidLoad(){var e=this;return(0,m.Z)(function*(){e.didLoad=!0,e.rootChanged(),e.gesture=(yield f.e(8592).then(f.bind(f,2784))).createSwipeBackGesture(e.el,e.canStart.bind(e),e.onStart.bind(e),e.onMove.bind(e),e.onEnd.bind(e)),e.swipeGestureChanged()})()}connectedCallback(){this.destroyed=!1}disconnectedCallback(){for(const e of this.views)(0,v.l)(e.element,v.d),e._destroy();this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.transInstr.length=0,this.views.length=0,this.destroyed=!0}push(e,t,n,i){return this.insert(-1,e,t,n,i)}insert(e,t,n,i,s){return this.insertPages(e,[{component:t,componentProps:n}],i,s)}insertPages(e,t,n,i){return this.queueTrns({insertStart:e,insertViews:t,opts:n},i)}pop(e,t){return this.removeIndex(-1,1,e,t)}popTo(e,t,n){const i={removeStart:-1,removeCount:-1,opts:t};return"object"==typeof e&&e.component?(i.removeView=e,i.removeStart=1):"number"==typeof e&&(i.removeStart=e+1),this.queueTrns(i,n)}popToRoot(e,t){return this.removeIndex(1,-1,e,t)}removeIndex(e,t=1,n,i){return this.queueTrns({removeStart:e,removeCount:t,opts:n},i)}setRoot(e,t,n,i){return this.setPages([{component:e,componentProps:t}],n,i)}setPages(e,t,n){return t??(t={}),!0!==t.animated&&(t.animated=!1),this.queueTrns({insertStart:0,insertViews:e,removeStart:0,removeCount:-1,opts:t},n)}setRouteId(e,t,n,i){const s=this.getActiveSync();if(I(s,e,t))return Promise.resolve({changed:!1,element:s.element});let r;const a=new Promise(l=>r=l);let o;const c={updateURL:!1,viewIsReady:l=>{let h;const p=new Promise(u=>h=u);return r({changed:!0,element:l,markVisible:(u=(0,m.Z)(function*(){h(),yield o}),function(){return u.apply(this,arguments)})}),p;var u}};if("root"===n)o=this.setRoot(e,t,c);else{const l=this.views.find(h=>I(h,e,t));l?o=this.popTo(l,Object.assign(Object.assign({},c),{direction:"back",animationBuilder:i})):"forward"===n?o=this.push(e,t,Object.assign(Object.assign({},c),{animationBuilder:i})):"back"===n&&(o=this.setRoot(e,t,Object.assign(Object.assign({},c),{direction:"back",animated:!0,animationBuilder:i})))}return a}getRouteId(){var e=this;return(0,m.Z)(function*(){const t=e.getActiveSync();if(t)return{id:t.element.tagName,params:t.params,element:t.element}})()}getActive(){var e=this;return(0,m.Z)(function*(){return e.getActiveSync()})()}getByIndex(e){var t=this;return(0,m.Z)(function*(){return t.views[e]})()}canGoBack(e){var t=this;return(0,m.Z)(function*(){return t.canGoBackSync(e)})()}getPrevious(e){var t=this;return(0,m.Z)(function*(){return t.getPreviousSync(e)})()}getLength(){return this.views.length}getActiveSync(){return this.views[this.views.length-1]}canGoBackSync(e=this.getActiveSync()){return!(!e||!this.getPreviousSync(e))}getPreviousSync(e=this.getActiveSync()){if(!e)return;const t=this.views,n=t.indexOf(e);return n>0?t[n-1]:void 0}queueTrns(e,t){var n=this;return(0,m.Z)(function*(){var i,s;if(n.isTransitioning&&null!==(i=e.opts)&&void 0!==i&&i.skipIfBusy)return!1;const r=new Promise((a,o)=>{e.resolve=a,e.reject=o});if(e.done=t,e.opts&&!1!==e.opts.updateURL&&n.useRouter){const a=document.querySelector("ion-router");if(a){const o=yield a.canTransition();if(!1===o)return!1;if("string"==typeof o)return a.push(o,e.opts.direction||"back"),!1}}return 0===(null===(s=e.insertViews)||void 0===s?void 0:s.length)&&(e.insertViews=void 0),n.transInstr.push(e),n.nextTrns(),r})()}success(e,t){if(this.destroyed)this.fireError("nav controller was destroyed",t);else if(t.done&&t.done(e.hasCompleted,e.requiresTransition,e.enteringView,e.leavingView,e.direction),t.resolve(e.hasCompleted),!1!==t.opts.updateURL&&this.useRouter){const n=document.querySelector("ion-router");n&&n.navChanged("back"===e.direction?"back":"forward")}}failed(e,t){this.destroyed?this.fireError("nav controller was destroyed",t):(this.transInstr.length=0,this.fireError(e,t))}fireError(e,t){t.done&&t.done(!1,!1,e),t.reject&&!this.destroyed?t.reject(e):t.resolve(!1)}nextTrns(){if(this.isTransitioning)return!1;const e=this.transInstr.shift();return!!e&&(this.runTransition(e),!0)}runTransition(e){var t=this;return(0,m.Z)(function*(){try{t.ionNavWillChange.emit(),t.isTransitioning=!0,t.prepareTI(e);const n=t.getActiveSync(),i=t.getEnteringView(e,n);if(!n&&!i)throw new Error("no views in the stack to be removed");i&&1===i.state&&(yield i.init(t.el)),t.postViewInit(i,n,e);const s=(e.enteringRequiresTransition||e.leavingRequiresTransition)&&i!==n;let r;s&&e.opts&&n&&("back"===e.opts.direction&&(e.opts.animationBuilder=e.opts.animationBuilder||i?.animationBuilder),n.animationBuilder=e.opts.animationBuilder),r=s?yield t.transition(i,n,e):{hasCompleted:!0,requiresTransition:!1},t.success(r,e),t.ionNavDidChange.emit()}catch(n){t.failed(n,e)}t.isTransitioning=!1,t.nextTrns()})()}prepareTI(e){var t,n,i;const s=this.views.length;if(null!==(t=e.opts)&&void 0!==t||(e.opts={}),null!==(n=(i=e.opts).delegate)&&void 0!==n||(i.delegate=this.delegate),void 0!==e.removeView){(0,d.o)(void 0!==e.removeStart,"removeView needs removeStart"),(0,d.o)(void 0!==e.removeCount,"removeView needs removeCount");const o=this.views.indexOf(e.removeView);if(o<0)throw new Error("removeView was not found");e.removeStart+=o}void 0!==e.removeStart&&(e.removeStart<0&&(e.removeStart=s-1),e.removeCount<0&&(e.removeCount=s-e.removeStart),e.leavingRequiresTransition=e.removeCount>0&&e.removeStart+e.removeCount===s),e.insertViews&&((e.insertStart<0||e.insertStart>s)&&(e.insertStart=s),e.enteringRequiresTransition=e.insertStart===s);const r=e.insertViews;if(!r)return;(0,d.o)(r.length>0,"length can not be zero");const a=(e=>e.map(t=>t instanceof _?t:"component"in t?A(t.component,null===t.componentProps?void 0:t.componentProps):A(t,void 0)).filter(t=>null!==t))(r);if(0===a.length)throw new Error("invalid views to insert");for(const o of a){o.delegate=e.opts.delegate;const c=o.nav;if(c&&c!==this)throw new Error("inserted view was already inserted");if(3===o.state)throw new Error("inserted view was already destroyed")}e.insertViews=a}getEnteringView(e,t){const n=e.insertViews;if(void 0!==n)return n[n.length-1];const i=e.removeStart;if(void 0!==i){const s=this.views,r=i+e.removeCount;for(let a=s.length-1;a>=0;a--){const o=s[a];if((a=r)&&o!==t)return o}}}postViewInit(e,t,n){var i,s,r;(0,d.o)(t||e,"Both leavingView and enteringView are null"),(0,d.o)(n.resolve,"resolve must be valid"),(0,d.o)(n.reject,"reject must be valid");const a=n.opts,{insertViews:o,removeStart:c,removeCount:l}=n;let h;if(void 0!==c&&void 0!==l){(0,d.o)(c>=0,"removeStart can not be negative"),(0,d.o)(l>=0,"removeCount can not be negative"),h=[];for(let u=c;u=0,"final balance can not be negative"),0===p)throw console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el),new Error("navigation stack needs at least one root page");if(o){let u=n.insertStart;for(const w of o)this.insertViewAt(w,u),u++;n.enteringRequiresTransition&&(null!==(r=a.direction)&&void 0!==r||(a.direction="forward"))}if(h&&h.length>0){for(const u of h)(0,v.l)(u.element,v.b),(0,v.l)(u.element,v.c),(0,v.l)(u.element,v.d);for(const u of h)this.destroyView(u)}}transition(e,t,n){var i=this;return(0,m.Z)(function*(){const s=n.opts,r=s.progressAnimation?p=>{void 0===p||i.gestureOrAnimationInProgress?i.sbAni=p:(i.gestureOrAnimationInProgress=!0,p.onFinish(()=>{i.gestureOrAnimationInProgress=!1},{oneTimeCallback:!0}),p.progressEnd(0,0,0))}:void 0,a=(0,b.b)(i),o=e.element,c=t&&t.element,l=Object.assign(Object.assign({mode:a,showGoBack:i.canGoBackSync(e),baseEl:i.el,progressCallback:r,animated:i.animated&&b.c.getBoolean("animated",!0),enteringEl:o,leavingEl:c},s),{animationBuilder:s.animationBuilder||i.animation||b.c.get("navAnimation")}),{hasCompleted:h}=yield(0,v.t)(l);return i.transitionFinish(h,e,t,s)})()}transitionFinish(e,t,n,i){const s=e?t:n;return s&&this.unmountInactiveViews(s),{hasCompleted:e,requiresTransition:!0,enteringView:t,leavingView:n,direction:i.direction}}insertViewAt(e,t){const n=this.views,i=n.indexOf(e);i>-1?((0,d.o)(e.nav===this,"view is not part of the nav"),n.splice(i,1),n.splice(t,0,e)):((0,d.o)(!e.nav,"nav is used"),e.nav=this,n.splice(t,0,e))}removeView(e){(0,d.o)(2===e.state||3===e.state,"view state should be loaded or destroyed");const t=this.views,n=t.indexOf(e);(0,d.o)(n>-1,"view must be part of the stack"),n>=0&&t.splice(n,1)}destroyView(e){e._destroy(),this.removeView(e)}unmountInactiveViews(e){if(this.destroyed)return;const t=this.views,n=t.indexOf(e);for(let i=t.length-1;i>=0;i--){const s=t[i],r=s.element;r&&(i>n?((0,v.l)(r,v.d),this.destroyView(s)):i{this.gestureOrAnimationInProgress=!1},{oneTimeCallback:!0});let i=e?-.001:.001;e?i+=(0,E.g)([0,0],[.32,.72],[0,1],[1,1],t)[0]:(this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)"),i+=(0,E.g)([0,0],[1,0],[.68,.28],[1,1],t)[0]),this.sbAni.progressEnd(e?1:0,i,n)}else this.gestureOrAnimationInProgress=!1}render(){return(0,g.h)("slot",null)}get el(){return(0,g.f)(this)}static get watchers(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}}};P.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";const R=class{constructor(e){(0,g.r)(this,e),this.onClick=()=>((e,t,n,i,s)=>{const r=this.el.closest("ion-nav");if(r)if("forward"===t){if(void 0!==n)return r.push(n,i,{skipIfBusy:!0,animationBuilder:s})}else if("root"===t){if(void 0!==n)return r.setRoot(n,i,{skipIfBusy:!0,animationBuilder:s})}else if("back"===t)return r.pop({skipIfBusy:!0,animationBuilder:s});return Promise.resolve(!1)})(0,this.routerDirection,this.component,this.componentProps,this.routerAnimation),this.component=void 0,this.componentProps=void 0,this.routerDirection="forward",this.routerAnimation=void 0}render(){return(0,g.h)(g.H,{onClick:this.onClick})}get el(){return(0,g.f)(this)}}}}]); \ No newline at end of file diff --git a/5652.480f5f34460408fd.js b/5652.480f5f34460408fd.js deleted file mode 100644 index 38ea9cac..00000000 --- a/5652.480f5f34460408fd.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5652],{5652:(F,v,c)=>{c.r(v),c.d(v,{ion_button:()=>z,ion_icon:()=>I});var r=c(1071),m=c(2674),f=c(3357),u=c(2997),y=c(7263);let p;const l=(o,t,n,i,e)=>(n="ios"===(n&&k(n))?"ios":"md",i&&"ios"===n?o=k(i):e&&"md"===n?o=k(e):(!o&&t&&!g(t)&&(o=t),d(o)&&(o=k(o))),d(o)&&""!==o.trim()&&""===o.replace(/[a-z]|-|\d/gi,"")?o:null),h=o=>d(o)&&(o=o.trim(),g(o))?o:null,g=o=>o.length>0&&/(\/|\.)/.test(o),d=o=>"string"==typeof o,k=o=>o.toLowerCase(),P=o=>o&&""!==o.dir?"rtl"===o.dir.toLowerCase():"rtl"===document?.dir.toLowerCase(),z=class{constructor(o){(0,r.r)(this,o),this.ionFocus=(0,r.d)(this,"ionFocus",7),this.ionBlur=(0,r.d)(this,"ionBlur",7),this.inItem=!1,this.inListHeader=!1,this.inToolbar=!1,this.formButtonEl=null,this.formEl=null,this.inheritedAttributes={},this.handleClick=t=>{const{el:n}=this;"button"===this.type?(0,u.o)(this.href,t,this.routerDirection,this.routerAnimation):(0,m.n)(n)&&this.submitForm(t)},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.color=void 0,this.buttonType="button",this.disabled=!1,this.expand=void 0,this.fill=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.download=void 0,this.href=void 0,this.rel=void 0,this.shape=void 0,this.size=void 0,this.strong=!1,this.target=void 0,this.type="button",this.form=void 0}disabledChanged(){const{disabled:o}=this;this.formButtonEl&&(this.formButtonEl.disabled=o)}renderHiddenButton(){const o=this.formEl=this.findForm();if(o){const{formButtonEl:t}=this;if(null!==t&&o.contains(t))return;const n=this.formButtonEl=document.createElement("button");n.type=this.type,n.style.display="none",n.disabled=this.disabled,o.appendChild(n)}}componentWillLoad(){this.inToolbar=!!this.el.closest("ion-buttons"),this.inListHeader=!!this.el.closest("ion-list-header"),this.inItem=!!this.el.closest("ion-item")||!!this.el.closest("ion-item-divider"),this.inheritedAttributes=(0,m.i)(this.el)}get hasIconOnly(){return!!this.el.querySelector('[slot="icon-only"]')}get rippleType(){return(void 0===this.fill||"clear"===this.fill)&&this.hasIconOnly&&this.inToolbar?"unbounded":"bounded"}findForm(){const{form:o}=this;if(o instanceof HTMLFormElement)return o;if("string"==typeof o){const t=document.getElementById(o);return t?t instanceof HTMLFormElement?t:((0,f.p)(`Form with selector: "#${o}" could not be found. Verify that the id is attached to a
element.`,this.el),null):((0,f.p)(`Form with selector: "#${o}" could not be found. Verify that the id is correct and the form is rendered in the DOM.`,this.el),null)}return void 0!==o?((0,f.p)('The provided "form" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM.',this.el),null):this.el.closest("form")}submitForm(o){this.formEl&&this.formButtonEl&&(o.preventDefault(),this.formButtonEl.click())}render(){const o=(0,y.b)(this),{buttonType:t,type:n,disabled:i,rel:e,target:M,size:L,href:O,color:X,expand:T,hasIconOnly:G,shape:A,strong:Z,inheritedAttributes:J}=this,B=void 0===L&&this.inItem?"small":L,D=void 0===O?"button":"a",Q="button"===D?{type:n}:{download:this.download,href:O,rel:e,target:M};let C=this.fill;return null==C&&(C=this.inToolbar||this.inListHeader?"clear":"solid"),"button"!==n&&this.renderHiddenButton(),(0,r.h)(r.H,{onClick:this.handleClick,"aria-disabled":i?"true":null,class:(0,u.c)(X,{[o]:!0,[t]:!0,[`${t}-${T}`]:void 0!==T,[`${t}-${B}`]:void 0!==B,[`${t}-${A}`]:void 0!==A,[`${t}-${C}`]:!0,[`${t}-strong`]:Z,"in-toolbar":(0,u.h)("ion-toolbar",this.el),"in-toolbar-color":(0,u.h)("ion-toolbar[color]",this.el),"in-buttons":(0,u.h)("ion-buttons",this.el),"button-has-icon-only":G,"button-disabled":i,"ion-activatable":!0,"ion-focusable":!0})},(0,r.h)(D,Object.assign({},Q,{class:"button-native",part:"native",disabled:i,onFocus:this.onFocus,onBlur:this.onBlur},J),(0,r.h)("span",{class:"button-inner"},(0,r.h)("slot",{name:"icon-only"}),(0,r.h)("slot",{name:"start"}),(0,r.h)("slot",null),(0,r.h)("slot",{name:"end"})),"md"===o&&(0,r.h)("ion-ripple-effect",{type:this.rippleType})))}get el(){return(0,r.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}};z.style={ios:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}:host{--border-radius:14px;--padding-top:13px;--padding-bottom:13px;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:3.1em;font-size:16px;font-weight:500;letter-spacing:0}:host(.in-buttons){font-size:17px;font-weight:400}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:14px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #3880ff);--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-activated-opacity:0;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;font-size:17px;font-weight:normal}:host(.button-large){--border-radius:16px;--padding-top:17px;--padding-start:1em;--padding-end:1em;--padding-bottom:17px;min-height:3.1em;font-size:20px}:host(.button-small){--border-radius:6px;--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:13px}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:0}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:not(.ion-activated):hover),:host(.button-outline:not(.ion-activated):hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color):not(.ion-activated)) .button-native::after{background:#fff;opacity:0.1}}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}',md:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}:host{--border-radius:4px;--padding-top:8px;--padding-bottom:8px;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),\n background-color 15ms linear,\n color 15ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:36px;font-size:14px;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}:host(.button-solid){--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}:host(.button-solid.ion-activated){--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}:host(.button-outline){--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-outline.ion-activated.ion-color) .button-native{background:transparent}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-large){--padding-top:14px;--padding-start:1em;--padding-end:1em;--padding-bottom:14px;min-height:2.8em;font-size:20px}:host(.button-small){--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:13px}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:0}:host(.button-strong){font-weight:bold}::slotted(ion-icon[slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color.ion-focused) .button-native::after,:host(.button-outline.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}'};const _=o=>{if(1===o.nodeType){if("script"===o.nodeName.toLowerCase())return!1;for(let t=0;t{const n={};return t.forEach(i=>{o.hasAttribute(i)&&(null!==o.getAttribute(i)&&(n[i]=o.getAttribute(i)),o.removeAttribute(i))}),n})(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(o,t,n){if(this.lazy&&typeof window<"u"&&window.IntersectionObserver){const i=this.io=new window.IntersectionObserver(e=>{e[0].isIntersecting&&(i.disconnect(),this.io=void 0,n())},{rootMargin:t});i.observe(o)}else n()}loadIcon(){if(this.isVisible){const o=(o=>{let t=h(o.src);return t||(t=l(o.name,o.icon,o.mode,o.ios,o.md),t?(o=>{const t=(()=>{if(typeof window>"u")return new Map;if(!p){const o=window;o.Ionicons=o.Ionicons||{},p=o.Ionicons.map=o.Ionicons.map||new Map}return p})().get(o);return t||(0,r.j)(`svg/${o}.svg`)})(t):o.icon&&(t=h(o.icon),t||(t=h(o.icon[o.mode]),t))?t:null)})(this);o&&(b.has(o)?this.svgContent=b.get(o):((o,t)=>{let n=E.get(o);if(!n){if(!(typeof fetch<"u"&&typeof document<"u"))return b.set(o,""),Promise.resolve();if((o=>o.startsWith("data:image/svg+xml"))(o)&&(o=>-1!==o.indexOf(";utf8,"))(o)){w||(w=new DOMParser);const e=w.parseFromString(o,"text/html").querySelector("svg");return e&&b.set(o,e.outerHTML),Promise.resolve()}n=fetch(o).then(i=>{if(i.ok)return i.text().then(e=>{e&&!1!==t&&(e=(o=>{const t=document.createElement("div");t.innerHTML=o;for(let i=t.childNodes.length-1;i>=0;i--)"svg"!==t.childNodes[i].nodeName.toLowerCase()&&t.removeChild(t.childNodes[i]);const n=t.firstElementChild;if(n&&"svg"===n.nodeName.toLowerCase()){const i=n.getAttribute("class")||"";if(n.setAttribute("class",(i+" s-ion-icon").trim()),_(n))return t.innerHTML}return""})(e)),b.set(o,e||"")});b.set(o,"")}),E.set(o,n)}return n})(o,this.sanitize).then(()=>this.svgContent=b.get(o)))}this.iconName=l(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{iconName:o,el:t,inheritedAttributes:n}=this,i=this.mode||"md",e=this.flipRtl||o&&(o.indexOf("arrow")>-1||o.indexOf("chevron")>-1)&&!1!==this.flipRtl;return(0,r.h)(r.H,Object.assign({role:"img",class:Object.assign(Object.assign({[i]:!0},N(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":!!e&&P(t)})},n),(0,r.h)("div",this.svgContent?{class:"icon-inner",innerHTML:this.svgContent}:{class:"icon-inner"}))}static get assetsDirs(){return["svg"]}get el(){return(0,r.f)(this)}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}}},K=()=>typeof document<"u"&&document.documentElement.getAttribute("mode")||"md",N=o=>o?{"ion-color":!0,[`ion-color-${o}`]:!0}:null;I.style=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}:host(.flip-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.icon-small){font-size:18px !important}:host(.icon-large){font-size:32px !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}"},2997:(F,v,c)=>{c.d(v,{c:()=>f,g:()=>y,h:()=>m,o:()=>x});var r=c(5861);const m=(a,s)=>null!==s.closest(a),f=(a,s)=>"string"==typeof a&&a.length>0?Object.assign({"ion-color":!0,[`ion-color-${a}`]:!0},s):s,y=a=>{const s={};return(a=>void 0!==a?(Array.isArray(a)?a:a.split(" ")).filter(l=>null!=l).map(l=>l.trim()).filter(l=>""!==l):[])(a).forEach(l=>s[l]=!0),s},p=/^[a-z][a-z0-9+\-.]*:/,x=function(){var a=(0,r.Z)(function*(s,l,h,g){if(null!=s&&"#"!==s[0]&&!p.test(s)){const d=document.querySelector("ion-router");if(d)return l?.preventDefault(),d.push(s,h,g)}return!1});return function(l,h,g,d){return a.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/5652.4ed914f43a5f3ad2.js b/5652.4ed914f43a5f3ad2.js new file mode 100644 index 00000000..dfcdc2d1 --- /dev/null +++ b/5652.4ed914f43a5f3ad2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5652],{5652:(F,v,d)=>{d.r(v),d.d(v,{ion_button:()=>E,ion_icon:()=>M});var r=d(408),k=d(2961),f=d(8909),u=d(3814),w=d(4649);let p;const l=(o,t,n,i,e)=>(n="ios"===(n&&y(n))?"ios":"md",i&&"ios"===n?o=y(i):e&&"md"===n?o=y(e):(!o&&t&&!g(t)&&(o=t),c(o)&&(o=y(o))),c(o)&&""!==o.trim()&&""===o.replace(/[a-z]|-|\d/gi,"")?o:null),h=o=>c(o)&&(o=o.trim(),g(o))?o:null,g=o=>o.length>0&&/(\/|\.)/.test(o),c=o=>"string"==typeof o,y=o=>o.toLowerCase(),P=o=>o&&""!==o.dir?"rtl"===o.dir.toLowerCase():"rtl"===document?.dir.toLowerCase(),E=class{constructor(o){(0,r.r)(this,o),this.ionFocus=(0,r.d)(this,"ionFocus",7),this.ionBlur=(0,r.d)(this,"ionBlur",7),this.inItem=!1,this.inListHeader=!1,this.inToolbar=!1,this.formButtonEl=null,this.formEl=null,this.inheritedAttributes={},this.handleClick=t=>{const{el:n}=this;"button"===this.type?(0,u.o)(this.href,t,this.routerDirection,this.routerAnimation):(0,k.n)(n)&&this.submitForm(t)},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.color=void 0,this.buttonType="button",this.disabled=!1,this.expand=void 0,this.fill=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.download=void 0,this.href=void 0,this.rel=void 0,this.shape=void 0,this.size=void 0,this.strong=!1,this.target=void 0,this.type="button",this.form=void 0}disabledChanged(){const{disabled:o}=this;this.formButtonEl&&(this.formButtonEl.disabled=o)}renderHiddenButton(){const o=this.formEl=this.findForm();if(o){const{formButtonEl:t}=this;if(null!==t&&o.contains(t))return;const n=this.formButtonEl=document.createElement("button");n.type=this.type,n.style.display="none",n.disabled=this.disabled,o.appendChild(n)}}componentWillLoad(){this.inToolbar=!!this.el.closest("ion-buttons"),this.inListHeader=!!this.el.closest("ion-list-header"),this.inItem=!!this.el.closest("ion-item")||!!this.el.closest("ion-item-divider"),this.inheritedAttributes=(0,k.i)(this.el)}get hasIconOnly(){return!!this.el.querySelector('[slot="icon-only"]')}get rippleType(){return(void 0===this.fill||"clear"===this.fill)&&this.hasIconOnly&&this.inToolbar?"unbounded":"bounded"}findForm(){const{form:o}=this;if(o instanceof HTMLFormElement)return o;if("string"==typeof o){const t=document.getElementById(o);return t?t instanceof HTMLFormElement?t:((0,f.p)(`Form with selector: "#${o}" could not be found. Verify that the id is attached to a element.`,this.el),null):((0,f.p)(`Form with selector: "#${o}" could not be found. Verify that the id is correct and the form is rendered in the DOM.`,this.el),null)}return void 0!==o?((0,f.p)('The provided "form" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM.',this.el),null):this.el.closest("form")}submitForm(o){this.formEl&&this.formButtonEl&&(o.preventDefault(),this.formButtonEl.click())}render(){const o=(0,w.b)(this),{buttonType:t,type:n,disabled:i,rel:e,target:x,size:m,href:O,color:N,expand:A,hasIconOnly:G,shape:T,strong:Z,inheritedAttributes:J}=this,B=void 0===m&&this.inItem?"small":m,D=void 0===O?"button":"a",Q="button"===D?{type:n}:{download:this.download,href:O,rel:e,target:x};let _=this.fill;return null==_&&(_=this.inToolbar||this.inListHeader?"clear":"solid"),"button"!==n&&this.renderHiddenButton(),(0,r.h)(r.H,{onClick:this.handleClick,"aria-disabled":i?"true":null,class:(0,u.c)(N,{[o]:!0,[t]:!0,[`${t}-${A}`]:void 0!==A,[`${t}-${B}`]:void 0!==B,[`${t}-${T}`]:void 0!==T,[`${t}-${_}`]:!0,[`${t}-strong`]:Z,"in-toolbar":(0,u.h)("ion-toolbar",this.el),"in-toolbar-color":(0,u.h)("ion-toolbar[color]",this.el),"in-buttons":(0,u.h)("ion-buttons",this.el),"button-has-icon-only":G,"button-disabled":i,"ion-activatable":!0,"ion-focusable":!0})},(0,r.h)(D,Object.assign({},Q,{class:"button-native",part:"native",disabled:i,onFocus:this.onFocus,onBlur:this.onBlur},J),(0,r.h)("span",{class:"button-inner"},(0,r.h)("slot",{name:"icon-only"}),(0,r.h)("slot",{name:"start"}),(0,r.h)("slot",null),(0,r.h)("slot",{name:"end"})),"md"===o&&(0,r.h)("ion-ripple-effect",{type:this.rippleType})))}get el(){return(0,r.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}};E.style={ios:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}:host{--border-radius:14px;--padding-top:13px;--padding-bottom:13px;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:3.1em;font-size:min(1rem, 48px);font-weight:500;letter-spacing:0}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:14px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #3880ff);--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-activated-opacity:0;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;font-size:min(1.0625rem, 51px);font-weight:normal}:host(.in-buttons){font-size:clamp(17px, 1.0625rem, 21.08px);font-weight:400}:host(.button-large){--border-radius:16px;--padding-top:17px;--padding-start:1em;--padding-end:1em;--padding-bottom:17px;min-height:3.1em;font-size:min(1.25rem, 60px)}:host(.button-small){--border-radius:6px;--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:min(0.8125rem, 39px)}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:0}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:not(.ion-activated):hover),:host(.button-outline:not(.ion-activated):hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color):not(.ion-activated)) .button-native::after{background:#fff;opacity:0.1}}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}',md:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}:host{--border-radius:4px;--padding-top:8px;--padding-bottom:8px;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),\n background-color 15ms linear,\n color 15ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:36px;font-size:0.875rem;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}:host(.button-solid){--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}:host(.button-solid.ion-activated){--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}:host(.button-outline){--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-outline.ion-activated.ion-color) .button-native{background:transparent}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-large){--padding-top:14px;--padding-start:1em;--padding-end:1em;--padding-bottom:14px;min-height:2.8em;font-size:1.25rem}:host(.button-small){--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:0.8125rem}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:0}:host(.button-strong){font-weight:bold}::slotted(ion-icon[slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color.ion-focused) .button-native::after,:host(.button-outline.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}'};const I=o=>{if(1===o.nodeType){if("script"===o.nodeName.toLowerCase())return!1;for(let t=0;t{const n={};return t.forEach(i=>{o.hasAttribute(i)&&(null!==o.getAttribute(i)&&(n[i]=o.getAttribute(i)),o.removeAttribute(i))}),n})(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}componentDidLoad(){this.didLoadIcon||this.loadIcon()}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(o,t,n){if(this.lazy&&typeof window<"u"&&window.IntersectionObserver){const i=this.io=new window.IntersectionObserver(e=>{e[0].isIntersecting&&(i.disconnect(),this.io=void 0,n())},{rootMargin:t});i.observe(o)}else n()}loadIcon(){if(this.isVisible){const o=(o=>{let t=h(o.src);return t||(t=l(o.name,o.icon,o.mode,o.ios,o.md),t?(o=>{const t=(()=>{if(typeof window>"u")return new Map;if(!p){const o=window;o.Ionicons=o.Ionicons||{},p=o.Ionicons.map=o.Ionicons.map||new Map}return p})().get(o);return t||(0,r.j)(`svg/${o}.svg`)})(t):o.icon&&(t=h(o.icon),t||(t=h(o.icon[o.mode]),t))?t:null)})(this);o&&(b.has(o)?this.svgContent=b.get(o):((o,t)=>{let n=L.get(o);if(!n){if(!(typeof fetch<"u"&&typeof document<"u"))return b.set(o,""),Promise.resolve();if((o=>o.startsWith("data:image/svg+xml"))(o)&&(o=>-1!==o.indexOf(";utf8,"))(o)){z||(z=new DOMParser);const e=z.parseFromString(o,"text/html").querySelector("svg");return e&&b.set(o,e.outerHTML),Promise.resolve()}n=fetch(o).then(i=>{if(i.ok)return i.text().then(e=>{e&&!1!==t&&(e=(o=>{const t=document.createElement("div");t.innerHTML=o;for(let i=t.childNodes.length-1;i>=0;i--)"svg"!==t.childNodes[i].nodeName.toLowerCase()&&t.removeChild(t.childNodes[i]);const n=t.firstElementChild;if(n&&"svg"===n.nodeName.toLowerCase()){const i=n.getAttribute("class")||"";if(n.setAttribute("class",(i+" s-ion-icon").trim()),I(n))return t.innerHTML}return""})(e)),b.set(o,e||"")});b.set(o,"")}),L.set(o,n)}return n})(o,this.sanitize).then(()=>this.svgContent=b.get(o)),this.didLoadIcon=!0)}this.iconName=l(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{flipRtl:o,iconName:t,inheritedAttributes:n,el:i}=this,e=this.mode||"md",x=!!t&&(t.includes("arrow")||t.includes("chevron"))&&!1!==o,m=o||x;return(0,r.h)(r.H,Object.assign({role:"img",class:Object.assign(Object.assign({[e]:!0},K(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":m,"icon-rtl":m&&P(i)})},n),(0,r.h)("div",this.svgContent?{class:"icon-inner",innerHTML:this.svgContent}:{class:"icon-inner"}))}static get assetsDirs(){return["svg"]}get el(){return(0,r.f)(this)}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}}},W=()=>typeof document<"u"&&document.documentElement.getAttribute("mode")||"md",K=o=>o?{"ion-color":!0,[`ion-color-${o}`]:!0}:null;M.style=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}"},3814:(F,v,d)=>{d.d(v,{c:()=>f,g:()=>w,h:()=>k,o:()=>C});var r=d(5861);const k=(a,s)=>null!==s.closest(a),f=(a,s)=>"string"==typeof a&&a.length>0?Object.assign({"ion-color":!0,[`ion-color-${a}`]:!0},s):s,w=a=>{const s={};return(a=>void 0!==a?(Array.isArray(a)?a:a.split(" ")).filter(l=>null!=l).map(l=>l.trim()).filter(l=>""!==l):[])(a).forEach(l=>s[l]=!0),s},p=/^[a-z][a-z0-9+\-.]*:/,C=function(){var a=(0,r.Z)(function*(s,l,h,g){if(null!=s&&"#"!==s[0]&&!p.test(s)){const c=document.querySelector("ion-router");if(c)return l?.preventDefault(),c.push(s,h,g)}return!1});return function(l,h,g,c){return a.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/57.a7fa8be9891b8de6.js b/57.a7fa8be9891b8de6.js new file mode 100644 index 00000000..5ac7f14f --- /dev/null +++ b/57.a7fa8be9891b8de6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[57],{57:(q,O,m)=>{m.r(O),m.d(O,{startInputShims:()=>X});var g=m(5861),l=m(2972),T=m(4253),y=m(2961),R=m(3037);m(6319);const M=new WeakMap,P=(e,t,s,r=0,o=!1)=>{M.has(e)!==s&&(s?H(e,t,r,o):Z(e,t))},H=(e,t,s,r=!1)=>{const o=t.parentNode,n=t.cloneNode(!1);n.classList.add("cloned-input"),n.tabIndex=-1,r&&(n.disabled=!0),o.appendChild(n),M.set(e,n);const a="rtl"===e.ownerDocument.dir?9999:-9999;e.style.pointerEvents="none",t.style.transform=`translate3d(${a}px,${s}px,0) scale(0)`},Z=(e,t)=>{const s=M.get(e);s&&(M.delete(e),s.remove()),e.style.pointerEvents="",t.style.transform=""},C="input, textarea, [no-blur], [contenteditable]",U="$ionPaddingTimer",B=(e,t,s)=>{const r=e[U];r&&clearTimeout(r),t>0?e.style.setProperty("--keyboard-offset",`${t}px`):e[U]=setTimeout(()=>{e.style.setProperty("--keyboard-offset","0px"),s&&s()},120)},F=(e,t,s)=>{e.addEventListener("focusout",()=>{t&&B(t,0,s)},{once:!0})};let b=0;const p="data-ionic-skip-scroll-assist",Q=(e,t,s,r,o,n,i,a=!1)=>{const _=n&&(void 0===i||i.mode===R.a.None);let L=!1;const u=void 0!==l.w?l.w.innerHeight:0,f=S=>{!1!==L?W(e,t,s,r,S.detail.keyboardHeight,_,a,u,!1):L=!0},c=()=>{L=!1,null==l.w||l.w.removeEventListener("ionKeyboardDidShow",f),e.removeEventListener("focusout",c,!0)},h=function(){var S=(0,g.Z)(function*(){t.hasAttribute(p)?t.removeAttribute(p):(W(e,t,s,r,o,_,a,u),null==l.w||l.w.addEventListener("ionKeyboardDidShow",f),e.addEventListener("focusout",c,!0))});return function(){return S.apply(this,arguments)}}();return e.addEventListener("focusin",h,!0),()=>{e.removeEventListener("focusin",h,!0),null==l.w||l.w.removeEventListener("ionKeyboardDidShow",f),e.removeEventListener("focusout",c,!0)}},x=e=>{document.activeElement!==e&&(e.setAttribute(p,"true"),e.focus())},W=function(){var e=(0,g.Z)(function*(t,s,r,o,n,i,a=!1,_=0,L=!0){if(!r&&!o)return;const u=((e,t,s,r)=>{var o;return((e,t,s,r)=>{const o=e.top,n=e.bottom,i=t.top,_=i+15,u=Math.min(t.bottom,r-s)-50-n,f=_-o,c=Math.round(u<0?-u:f>0?-f:0),h=Math.min(c,o-i),w=Math.abs(h)/.3;return{scrollAmount:h,scrollDuration:Math.min(400,Math.max(150,w)),scrollPadding:s,inputSafeY:4-(o-_)}})((null!==(o=e.closest("ion-item,[ion-item]"))&&void 0!==o?o:e).getBoundingClientRect(),t.getBoundingClientRect(),s,r)})(t,r||o,n,_);if(r&&Math.abs(u.scrollAmount)<4)return x(s),void(i&&null!==r&&(B(r,b),F(s,r,()=>b=0)));if(P(t,s,!0,u.inputSafeY,a),x(s),(0,y.r)(()=>t.click()),i&&r&&(b=u.scrollPadding,B(r,b)),typeof window<"u"){let f;const c=function(){var S=(0,g.Z)(function*(){void 0!==f&&clearTimeout(f),window.removeEventListener("ionKeyboardDidShow",h),window.removeEventListener("ionKeyboardDidShow",c),r&&(yield(0,T.c)(r,0,u.scrollAmount,u.scrollDuration)),P(t,s,!1,u.inputSafeY),x(s),i&&F(s,r,()=>b=0)});return function(){return S.apply(this,arguments)}}(),h=()=>{window.removeEventListener("ionKeyboardDidShow",h),window.addEventListener("ionKeyboardDidShow",c)};if(r){const S=yield(0,T.g)(r);if(L&&u.scrollAmount>S.scrollHeight-S.clientHeight-S.scrollTop)return"password"===s.type?(u.scrollAmount+=50,window.addEventListener("ionKeyboardDidShow",h)):window.addEventListener("ionKeyboardDidShow",c),void(f=setTimeout(c,1e3))}c()}});return function(s,r,o,n,i,a){return e.apply(this,arguments)}}(),X=function(){var e=(0,g.Z)(function*(t,s){if(void 0===l.d)return;const r="ios"===s,o="android"===s,n=t.getNumber("keyboardHeight",290),i=t.getBoolean("scrollAssist",!0),a=t.getBoolean("hideCaretOnScroll",r),_=t.getBoolean("inputBlurring",r),L=t.getBoolean("scrollPadding",!0),u=Array.from(l.d.querySelectorAll("ion-input, ion-textarea")),f=new WeakMap,c=new WeakMap,h=yield R.K.getResizeMode(),S=function(){var v=(0,g.Z)(function*(d){yield new Promise(I=>(0,y.c)(d,I));const K=d.shadowRoot||d,D=K.querySelector("input")||K.querySelector("textarea"),A=(0,T.f)(d),j=A?null:d.closest("ion-footer");if(D){if(A&&a&&!f.has(d)){const I=((e,t,s)=>{if(!s||!t)return()=>{};const r=a=>{(e=>e===e.getRootNode().activeElement)(t)&&P(e,t,a)},o=()=>P(e,t,!1),n=()=>r(!0),i=()=>r(!1);return(0,y.a)(s,"ionScrollStart",n),(0,y.a)(s,"ionScrollEnd",i),t.addEventListener("blur",o),()=>{(0,y.b)(s,"ionScrollStart",n),(0,y.b)(s,"ionScrollEnd",i),t.removeEventListener("blur",o)}})(d,D,A);f.set(d,I)}if("date"!==D.type&&"datetime-local"!==D.type&&(A||j)&&i&&!c.has(d)){const I=Q(d,D,A,j,n,L,h,o);c.set(d,I)}}});return function(K){return v.apply(this,arguments)}}();_&&(()=>{let e=!0,t=!1;const s=document;(0,y.a)(s,"ionScrollStart",()=>{t=!0}),s.addEventListener("focusin",()=>{e=!0},!0),s.addEventListener("touchend",i=>{if(t)return void(t=!1);const a=s.activeElement;if(!a||a.matches(C))return;const _=i.target;_!==a&&(_.matches(C)||_.closest(C)||(e=!1,setTimeout(()=>{e||a.blur()},50)))},!1)})();for(const v of u)S(v);l.d.addEventListener("ionInputDidLoad",v=>{S(v.detail)}),l.d.addEventListener("ionInputDidUnload",v=>{(v=>{if(a){const d=f.get(v);d&&d(),f.delete(v)}if(i){const d=c.get(v);d&&d(),c.delete(v)}})(v.detail)})});return function(s,r){return e.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/5836.1318caac2e1617ec.js b/5836.1318caac2e1617ec.js deleted file mode 100644 index c551e736..00000000 --- a/5836.1318caac2e1617ec.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5836],{5836:(C,f,e)=>{e.r(f),e.d(f,{ion_fab:()=>r,ion_fab_button:()=>h,ion_fab_list:()=>l});var p=e(5861),o=e(1071),d=e(7263),g=e(2674),b=e(2997),v=e(6026);const r=class{constructor(t){(0,o.r)(this,t),this.horizontal=void 0,this.vertical=void 0,this.edge=!1,this.activated=!1}activatedChanged(){const t=this.activated,n=this.getFab();n&&(n.activated=t),Array.from(this.el.querySelectorAll("ion-fab-list")).forEach(s=>{s.activated=t})}componentDidLoad(){this.activated&&this.activatedChanged()}close(){var t=this;return(0,p.Z)(function*(){t.activated=!1})()}getFab(){return this.el.querySelector("ion-fab-button")}toggle(){var t=this;return(0,p.Z)(function*(){t.el.querySelector("ion-fab-list")&&(t.activated=!t.activated)})()}render(){const{horizontal:t,vertical:n,edge:s}=this,c=(0,d.b)(this);return(0,o.h)(o.H,{class:{[c]:!0,[`fab-horizontal-${t}`]:void 0!==t,[`fab-vertical-${n}`]:void 0!==n,"fab-edge":s}},(0,o.h)("slot",null))}get el(){return(0,o.f)(this)}static get watchers(){return{activated:["activatedChanged"]}}};r.style=":host{position:absolute;z-index:999}:host(.fab-horizontal-center){-webkit-margin-start:-28px;margin-inline-start:-28px}@supports (inset-inline-start: 0){:host(.fab-horizontal-center){inset-inline-start:50%}}@supports not (inset-inline-start: 0){:host(.fab-horizontal-center){left:50%}:host-context([dir=rtl]):host(.fab-horizontal-center),:host-context([dir=rtl]).fab-horizontal-center{left:unset;right:unset;right:50%}@supports selector(:dir(rtl)){:host(.fab-horizontal-center):dir(rtl){left:unset;right:unset;right:50%}}}@supports (inset-inline-start: 0){:host(.fab-horizontal-start){inset-inline-start:calc(10px + var(--ion-safe-area-left, 0px))}}@supports not (inset-inline-start: 0){:host(.fab-horizontal-start){left:calc(10px + var(--ion-safe-area-left, 0px))}:host-context([dir=rtl]):host(.fab-horizontal-start),:host-context([dir=rtl]).fab-horizontal-start{left:unset;right:unset;right:calc(10px + var(--ion-safe-area-left, 0px))}@supports selector(:dir(rtl)){:host(.fab-horizontal-start):dir(rtl){left:unset;right:unset;right:calc(10px + var(--ion-safe-area-left, 0px))}}}@supports (inset-inline-start: 0){:host(.fab-horizontal-end){inset-inline-end:calc(10px + var(--ion-safe-area-right, 0px))}}@supports not (inset-inline-start: 0){:host(.fab-horizontal-end){right:calc(10px + var(--ion-safe-area-right, 0px))}:host-context([dir=rtl]):host(.fab-horizontal-end),:host-context([dir=rtl]).fab-horizontal-end{left:unset;right:unset;left:calc(10px + var(--ion-safe-area-right, 0px))}@supports selector(:dir(rtl)){:host(.fab-horizontal-end):dir(rtl){left:unset;right:unset;left:calc(10px + var(--ion-safe-area-right, 0px))}}}:host(.fab-vertical-top){top:10px}:host(.fab-vertical-top.fab-edge){top:-28px}:host(.fab-vertical-bottom){bottom:10px}:host(.fab-vertical-bottom.fab-edge){bottom:-28px}:host(.fab-vertical-center){margin-top:-28px;top:50%}";const h=class{constructor(t){(0,o.r)(this,t),this.ionFocus=(0,o.d)(this,"ionFocus",7),this.ionBlur=(0,o.d)(this,"ionBlur",7),this.fab=null,this.inheritedAttributes={},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.onClick=()=>{const{fab:n}=this;n&&n.toggle()},this.color=void 0,this.activated=!1,this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0,this.show=!1,this.translucent=!1,this.type="button",this.size=void 0,this.closeIcon=v.t}connectedCallback(){this.fab=this.el.closest("ion-fab")}componentWillLoad(){this.inheritedAttributes=(0,g.i)(this.el)}render(){const{el:t,disabled:n,color:s,href:c,activated:x,show:E,translucent:k,size:y,inheritedAttributes:A}=this,w=(0,b.h)("ion-fab-list",t),_=(0,d.b)(this),z=void 0===c?"button":"a",D="button"===z?{type:this.type}:{download:this.download,href:c,rel:this.rel,target:this.target};return(0,o.h)(o.H,{onClick:this.onClick,"aria-disabled":n?"true":null,class:(0,b.c)(s,{[_]:!0,"fab-button-in-list":w,"fab-button-translucent-in-list":w&&k,"fab-button-close-active":x,"fab-button-show":E,"fab-button-disabled":n,"fab-button-translucent":k,"ion-activatable":!0,"ion-focusable":!0,[`fab-button-${y}`]:void 0!==y})},(0,o.h)(z,Object.assign({},D,{class:"button-native",part:"native",disabled:n,onFocus:this.onFocus,onBlur:this.onBlur,onClick:L=>(0,b.o)(c,L,this.routerDirection,this.routerAnimation)},A),(0,o.h)("ion-icon",{"aria-hidden":"true",icon:this.closeIcon,part:"close-icon",class:"close-icon",lazy:!1}),(0,o.h)("span",{class:"button-inner"},(0,o.h)("slot",null)),"md"===_&&(0,o.h)("ion-ripple-effect",null)))}get el(){return(0,o.f)(this)}};h.style={ios:':host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}.close-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #3880ff);--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transition:0.2s transform cubic-bezier(0.25, 1.11, 0.78, 1.59);--close-icon-font-size:28px}:host(.ion-activated){--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transform:scale(1.1);--transition:0.2s transform ease-out}::slotted(ion-icon){font-size:28px}:host(.fab-button-in-list){--background:var(--ion-color-light, #f4f5f8);--background-activated:var(--ion-color-light-shade, #d7d8da);--background-focused:var(--background-activated);--background-hover:var(--ion-color-light-tint, #f5f6f9);--color:var(--ion-color-light-contrast, #000);--color-activated:var(--ion-color-light-contrast, #000);--color-focused:var(--color-activated);--transition:transform 200ms ease 10ms, opacity 200ms ease 10ms}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}:host(.ion-color.ion-focused) .button-native,:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after,:host(.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent){--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.9);--background-hover:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.8);--background-focused:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.82);--backdrop-filter:saturate(180%) blur(20px)}:host(.fab-button-translucent-in-list){--background:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.9);--background-hover:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.8);--background-focused:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.82)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){@media (any-hover: hover){:host(.fab-button-translucent.ion-color:hover) .button-native{background:rgba(var(--ion-color-base-rgb), 0.8)}}:host(.ion-color.fab-button-translucent) .button-native{background:rgba(var(--ion-color-base-rgb), 0.9)}:host(.ion-color.ion-focused.fab-button-translucent) .button-native,:host(.ion-color.ion-activated.fab-button-translucent) .button-native{background:var(--ion-color-base)}}',md:':host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}.close-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #3880ff);--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), background-color 280ms cubic-bezier(0.4, 0, 0.2, 1), color 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, transform 270ms cubic-bezier(0, 0, 0.2, 1) 0ms;--close-icon-font-size:24px}:host(.ion-activated){--box-shadow:0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 12px 17px 2px rgba(0, 0, 0, 0.14), 0 5px 22px 4px rgba(0, 0, 0, 0.12)}::slotted(ion-icon){font-size:24px}:host(.fab-button-in-list){--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-activated:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-focused:var(--color-activated);--background:var(--ion-color-light, #f4f5f8);--background-activated:transparent;--background-focused:var(--ion-color-light-shade, #d7d8da);--background-hover:var(--ion-color-light-tint, #f5f6f9)}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native::after{background:transparent}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}}'};const l=class{constructor(t){(0,o.r)(this,t),this.activated=!1,this.side="bottom"}activatedChanged(t){const n=Array.from(this.el.querySelectorAll("ion-fab-button")),s=t?30:0;n.forEach((c,x)=>{setTimeout(()=>c.show=t,x*s)})}render(){const t=(0,d.b)(this);return(0,o.h)(o.H,{class:{[t]:!0,"fab-list-active":this.activated,[`fab-list-side-${this.side}`]:!0}},(0,o.h)("slot",null))}get el(){return(0,o.f)(this)}static get watchers(){return{activated:["activatedChanged"]}}};l.style=":host{margin-left:0;margin-right:0;margin-top:66px;margin-bottom:66px;display:none;position:absolute;top:0;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;min-width:56px;min-height:56px}:host(.fab-list-active){display:-ms-flexbox;display:flex}::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:8px;margin-bottom:8px;width:40px;height:40px;-webkit-transform:scale(0);transform:scale(0);opacity:0;visibility:hidden}:host(.fab-list-side-top) ::slotted(.fab-button-in-list),:host(.fab-list-side-bottom) ::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px}:host(.fab-list-side-start) ::slotted(.fab-button-in-list),:host(.fab-list-side-end) ::slotted(.fab-button-in-list){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted(.fab-button-in-list.fab-button-show){-webkit-transform:scale(1);transform:scale(1);opacity:1;visibility:visible}:host(.fab-list-side-top){top:auto;bottom:0;-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.fab-list-side-start){-webkit-margin-start:66px;margin-inline-start:66px;-webkit-margin-end:66px;margin-inline-end:66px;margin-top:0;margin-bottom:0;-ms-flex-direction:row-reverse;flex-direction:row-reverse}@supports (inset-inline-start: 0){:host(.fab-list-side-start){inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.fab-list-side-start){right:0}:host-context([dir=rtl]):host(.fab-list-side-start),:host-context([dir=rtl]).fab-list-side-start{left:unset;right:unset;left:0}@supports selector(:dir(rtl)){:host(.fab-list-side-start):dir(rtl){left:unset;right:unset;left:0}}}:host(.fab-list-side-end){-webkit-margin-start:66px;margin-inline-start:66px;-webkit-margin-end:66px;margin-inline-end:66px;margin-top:0;margin-bottom:0;-ms-flex-direction:row;flex-direction:row}@supports (inset-inline-start: 0){:host(.fab-list-side-end){inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.fab-list-side-end){left:0}:host-context([dir=rtl]):host(.fab-list-side-end),:host-context([dir=rtl]).fab-list-side-end{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.fab-list-side-end):dir(rtl){left:unset;right:unset;right:0}}}"},2997:(C,f,e)=>{e.d(f,{c:()=>d,g:()=>b,h:()=>o,o:()=>m});var p=e(5861);const o=(r,i)=>null!==i.closest(r),d=(r,i)=>"string"==typeof r&&r.length>0?Object.assign({"ion-color":!0,[`ion-color-${r}`]:!0},i):i,b=r=>{const i={};return(r=>void 0!==r?(Array.isArray(r)?r:r.split(" ")).filter(a=>null!=a).map(a=>a.trim()).filter(a=>""!==a):[])(r).forEach(a=>i[a]=!0),i},v=/^[a-z][a-z0-9+\-.]*:/,m=function(){var r=(0,p.Z)(function*(i,a,h,u){if(null!=i&&"#"!==i[0]&&!v.test(i)){const l=document.querySelector("ion-router");if(l)return a?.preventDefault(),l.push(i,h,u)}return!1});return function(a,h,u,l){return r.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/5836.667ba2b51121273b.js b/5836.667ba2b51121273b.js new file mode 100644 index 00000000..4f23737b --- /dev/null +++ b/5836.667ba2b51121273b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5836],{5836:(C,h,e)=>{e.r(h),e.d(h,{ion_fab:()=>r,ion_fab_button:()=>f,ion_fab_list:()=>l});var p=e(5861),o=e(408),d=e(4649),g=e(2961),b=e(3814),v=e(5723);const r=class{constructor(t){(0,o.r)(this,t),this.horizontal=void 0,this.vertical=void 0,this.edge=!1,this.activated=!1}activatedChanged(){const t=this.activated,a=this.getFab();a&&(a.activated=t),Array.from(this.el.querySelectorAll("ion-fab-list")).forEach(s=>{s.activated=t})}componentDidLoad(){this.activated&&this.activatedChanged()}close(){var t=this;return(0,p.Z)(function*(){t.activated=!1})()}getFab(){return this.el.querySelector("ion-fab-button")}toggle(){var t=this;return(0,p.Z)(function*(){t.el.querySelector("ion-fab-list")&&(t.activated=!t.activated)})()}render(){const{horizontal:t,vertical:a,edge:s}=this,c=(0,d.b)(this);return(0,o.h)(o.H,{class:{[c]:!0,[`fab-horizontal-${t}`]:void 0!==t,[`fab-vertical-${a}`]:void 0!==a,"fab-edge":s}},(0,o.h)("slot",null))}get el(){return(0,o.f)(this)}static get watchers(){return{activated:["activatedChanged"]}}};r.style=":host{position:absolute;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;z-index:999}:host(.fab-horizontal-center){left:0px;right:0px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}:host(.fab-horizontal-start){left:calc(10px + var(--ion-safe-area-left, 0px));}:host-context([dir=rtl]):host(.fab-horizontal-start),:host-context([dir=rtl]).fab-horizontal-start{right:calc(10px + var(--ion-safe-area-right, 0px));left:unset}@supports selector(:dir(rtl)){:host(.fab-horizontal-start:dir(rtl)){right:calc(10px + var(--ion-safe-area-right, 0px));left:unset}}:host(.fab-horizontal-end){right:calc(10px + var(--ion-safe-area-right, 0px));}:host-context([dir=rtl]):host(.fab-horizontal-end),:host-context([dir=rtl]).fab-horizontal-end{left:calc(10px + var(--ion-safe-area-left, 0px));right:unset}@supports selector(:dir(rtl)){:host(.fab-horizontal-end:dir(rtl)){left:calc(10px + var(--ion-safe-area-left, 0px));right:unset}}:host(.fab-vertical-top){top:10px}:host(.fab-vertical-top.fab-edge){top:0}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-button){margin-top:-50%}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-button.fab-button-small){margin-top:calc((-100% + 16px) / 2)}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-start),:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-end){margin-top:-50%}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-top),:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-bottom){margin-top:calc(50% + 10px)}:host(.fab-vertical-bottom){bottom:10px}:host(.fab-vertical-bottom.fab-edge){bottom:0}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-button){margin-bottom:-50%}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-button.fab-button-small){margin-bottom:calc((-100% + 16px) / 2)}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-start),:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-end){margin-bottom:-50%}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-top),:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-bottom){margin-bottom:calc(50% + 10px)}:host(.fab-vertical-center){top:0px;bottom:0px;margin-top:auto;margin-bottom:auto}";const f=class{constructor(t){(0,o.r)(this,t),this.ionFocus=(0,o.d)(this,"ionFocus",7),this.ionBlur=(0,o.d)(this,"ionBlur",7),this.fab=null,this.inheritedAttributes={},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.onClick=()=>{const{fab:a}=this;a&&a.toggle()},this.color=void 0,this.activated=!1,this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0,this.show=!1,this.translucent=!1,this.type="button",this.size=void 0,this.closeIcon=v.t}connectedCallback(){this.fab=this.el.closest("ion-fab")}componentWillLoad(){this.inheritedAttributes=(0,g.i)(this.el)}render(){const{el:t,disabled:a,color:s,href:c,activated:x,show:E,translucent:k,size:w,inheritedAttributes:A}=this,y=(0,b.h)("ion-fab-list",t),_=(0,d.b)(this),z=void 0===c?"button":"a",D="button"===z?{type:this.type}:{download:this.download,href:c,rel:this.rel,target:this.target};return(0,o.h)(o.H,{onClick:this.onClick,"aria-disabled":a?"true":null,class:(0,b.c)(s,{[_]:!0,"fab-button-in-list":y,"fab-button-translucent-in-list":y&&k,"fab-button-close-active":x,"fab-button-show":E,"fab-button-disabled":a,"fab-button-translucent":k,"ion-activatable":!0,"ion-focusable":!0,[`fab-button-${w}`]:void 0!==w})},(0,o.h)(z,Object.assign({},D,{class:"button-native",part:"native",disabled:a,onFocus:this.onFocus,onBlur:this.onBlur,onClick:L=>(0,b.o)(c,L,this.routerDirection,this.routerAnimation)},A),(0,o.h)("ion-icon",{"aria-hidden":"true",icon:this.closeIcon,part:"close-icon",class:"close-icon",lazy:!1}),(0,o.h)("span",{class:"button-inner"},(0,o.h)("slot",null)),"md"===_&&(0,o.h)("ion-ripple-effect",null)))}get el(){return(0,o.f)(this)}};f.style={ios:':host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}.close-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #3880ff);--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transition:0.2s transform cubic-bezier(0.25, 1.11, 0.78, 1.59);--close-icon-font-size:28px}:host(.ion-activated){--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transform:scale(1.1);--transition:0.2s transform ease-out}::slotted(ion-icon){font-size:28px}:host(.fab-button-in-list){--background:var(--ion-color-light, #f4f5f8);--background-activated:var(--ion-color-light-shade, #d7d8da);--background-focused:var(--background-activated);--background-hover:var(--ion-color-light-tint, #f5f6f9);--color:var(--ion-color-light-contrast, #000);--color-activated:var(--ion-color-light-contrast, #000);--color-focused:var(--color-activated);--transition:transform 200ms ease 10ms, opacity 200ms ease 10ms}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}:host(.ion-color.ion-focused) .button-native,:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after,:host(.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent){--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.9);--background-hover:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.8);--background-focused:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.82);--backdrop-filter:saturate(180%) blur(20px)}:host(.fab-button-translucent-in-list){--background:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.9);--background-hover:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.8);--background-focused:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.82)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){@media (any-hover: hover){:host(.fab-button-translucent.ion-color:hover) .button-native{background:rgba(var(--ion-color-base-rgb), 0.8)}}:host(.ion-color.fab-button-translucent) .button-native{background:rgba(var(--ion-color-base-rgb), 0.9)}:host(.ion-color.ion-focused.fab-button-translucent) .button-native,:host(.ion-color.ion-activated.fab-button-translucent) .button-native{background:var(--ion-color-base)}}',md:':host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}.close-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #3880ff);--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), background-color 280ms cubic-bezier(0.4, 0, 0.2, 1), color 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, transform 270ms cubic-bezier(0, 0, 0.2, 1) 0ms;--close-icon-font-size:24px}:host(.ion-activated){--box-shadow:0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 12px 17px 2px rgba(0, 0, 0, 0.14), 0 5px 22px 4px rgba(0, 0, 0, 0.12)}::slotted(ion-icon){font-size:24px}:host(.fab-button-in-list){--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-activated:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-focused:var(--color-activated);--background:var(--ion-color-light, #f4f5f8);--background-activated:transparent;--background-focused:var(--ion-color-light-shade, #d7d8da);--background-hover:var(--ion-color-light-tint, #f5f6f9)}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native::after{background:transparent}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}}'};const l=class{constructor(t){(0,o.r)(this,t),this.activated=!1,this.side="bottom"}activatedChanged(t){const a=Array.from(this.el.querySelectorAll("ion-fab-button")),s=t?30:0;a.forEach((c,x)=>{setTimeout(()=>c.show=t,x*s)})}render(){const t=(0,d.b)(this);return(0,o.h)(o.H,{class:{[t]:!0,"fab-list-active":this.activated,[`fab-list-side-${this.side}`]:!0}},(0,o.h)("slot",null))}get el(){return(0,o.f)(this)}static get watchers(){return{activated:["activatedChanged"]}}};l.style=":host{margin-left:0;margin-right:0;margin-top:calc(100% + 10px);margin-bottom:calc(100% + 10px);display:none;position:absolute;top:0;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;min-width:56px;min-height:56px}:host(.fab-list-active){display:-ms-flexbox;display:flex}::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:8px;margin-bottom:8px;width:40px;height:40px;-webkit-transform:scale(0);transform:scale(0);opacity:0;visibility:hidden}:host(.fab-list-side-top) ::slotted(.fab-button-in-list),:host(.fab-list-side-bottom) ::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px}:host(.fab-list-side-start) ::slotted(.fab-button-in-list),:host(.fab-list-side-end) ::slotted(.fab-button-in-list){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted(.fab-button-in-list.fab-button-show){-webkit-transform:scale(1);transform:scale(1);opacity:1;visibility:visible}:host(.fab-list-side-top){top:auto;bottom:0;-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.fab-list-side-start){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;-ms-flex-direction:row-reverse;flex-direction:row-reverse}@supports (inset-inline-start: 0){:host(.fab-list-side-start){inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.fab-list-side-start){right:0}:host-context([dir=rtl]):host(.fab-list-side-start),:host-context([dir=rtl]).fab-list-side-start{left:unset;right:unset;left:0}@supports selector(:dir(rtl)){:host(.fab-list-side-start:dir(rtl)){left:unset;right:unset;left:0}}}:host(.fab-list-side-end){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;-ms-flex-direction:row;flex-direction:row}@supports (inset-inline-start: 0){:host(.fab-list-side-end){inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.fab-list-side-end){left:0}:host-context([dir=rtl]):host(.fab-list-side-end),:host-context([dir=rtl]).fab-list-side-end{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.fab-list-side-end:dir(rtl)){left:unset;right:unset;right:0}}}"},3814:(C,h,e)=>{e.d(h,{c:()=>d,g:()=>b,h:()=>o,o:()=>m});var p=e(5861);const o=(r,i)=>null!==i.closest(r),d=(r,i)=>"string"==typeof r&&r.length>0?Object.assign({"ion-color":!0,[`ion-color-${r}`]:!0},i):i,b=r=>{const i={};return(r=>void 0!==r?(Array.isArray(r)?r:r.split(" ")).filter(n=>null!=n).map(n=>n.trim()).filter(n=>""!==n):[])(r).forEach(n=>i[n]=!0),i},v=/^[a-z][a-z0-9+\-.]*:/,m=function(){var r=(0,p.Z)(function*(i,n,f,u){if(null!=i&&"#"!==i[0]&&!v.test(i)){const l=document.querySelector("ion-router");if(l)return n?.preventDefault(),l.push(i,f,u)}return!1});return function(n,f,u,l){return r.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/6120.178f45f836dee1d7.js b/6120.178f45f836dee1d7.js new file mode 100644 index 00000000..9b946815 --- /dev/null +++ b/6120.178f45f836dee1d7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6120],{6120:(z,C,c)=>{c.r(C),c.d(C,{ion_toast:()=>$});var y=c(5861),s=c(408),T=c(7036),b=c(2961),M=c(7389),v=c(8909),h=c(8042),p=c(3814),l=c(4649),d=c(2876),k=c(2972),D=c(5067);c(2889);const O=(t,e)=>Math.floor(t/2-e/2),K=(t,e)=>{const n=(0,d.c)(),o=(0,d.c)(),{position:r,top:i,bottom:u}=e,a=(0,b.g)(t).querySelector(".toast-wrapper");switch(o.addElement(a),r){case"top":o.fromTo("transform","translateY(-100%)",`translateY(${i})`);break;case"middle":const g=O(t.clientHeight,a.clientHeight);a.style.top=`${g}px`,o.fromTo("opacity",.01,1);break;default:o.fromTo("transform","translateY(100%)",`translateY(${u})`)}return n.easing("cubic-bezier(.155,1.105,.295,1.12)").duration(400).addAnimation(o)},F=(t,e)=>{const n=(0,d.c)(),o=(0,d.c)(),{position:r,top:i,bottom:u}=e,a=(0,b.g)(t).querySelector(".toast-wrapper");switch(o.addElement(a),r){case"top":o.fromTo("transform",`translateY(${i})`,"translateY(-100%)");break;case"middle":o.fromTo("opacity",.99,0);break;default:o.fromTo("transform",`translateY(${u})`,"translateY(100%)")}return n.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(o)},N=(t,e)=>{const n=(0,d.c)(),o=(0,d.c)(),{position:r,top:i,bottom:u}=e,a=(0,b.g)(t).querySelector(".toast-wrapper");switch(o.addElement(a),r){case"top":a.style.setProperty("transform",`translateY(${i})`),o.fromTo("opacity",.01,1);break;case"middle":const g=O(t.clientHeight,a.clientHeight);a.style.top=`${g}px`,o.fromTo("opacity",.01,1);break;default:a.style.setProperty("transform",`translateY(${u})`),o.fromTo("opacity",.01,1)}return n.easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation(o)},Z=t=>{const e=(0,d.c)(),n=(0,d.c)(),r=(0,b.g)(t).querySelector(".toast-wrapper");return n.addElement(r).fromTo("opacity",.99,0),e.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(n)},$=class{constructor(t){(0,s.r)(this,t),this.didPresent=(0,s.d)(this,"ionToastDidPresent",7),this.willPresent=(0,s.d)(this,"ionToastWillPresent",7),this.willDismiss=(0,s.d)(this,"ionToastWillDismiss",7),this.didDismiss=(0,s.d)(this,"ionToastDidDismiss",7),this.didPresentShorthand=(0,s.d)(this,"didPresent",7),this.willPresentShorthand=(0,s.d)(this,"willPresent",7),this.willDismissShorthand=(0,s.d)(this,"willDismiss",7),this.didDismissShorthand=(0,s.d)(this,"didDismiss",7),this.delegateController=(0,h.d)(this),this.lockController=(0,M.c)(),this.triggerController=(0,h.e)(),this.customHTMLEnabled=l.c.get("innerHTMLTemplatesEnabled",T.E),this.presented=!1,this.dispatchCancelHandler=e=>{if((0,h.i)(e.detail.role)){const o=this.getButtons().find(r=>"cancel"===r.role);this.callButtonHandler(o)}},this.createSwipeGesture=e=>{(this.gesture=((t,e,n)=>{const o=(0,b.g)(t).querySelector(".toast-wrapper"),r=t.clientHeight,i=o.getBoundingClientRect();let u=0;const a="middle"===t.position?.5:0,g="top"===t.position?-1:1,x=O(r,i.height),Y=[{offset:0,transform:`translateY(-${x+i.height}px)`},{offset:.5,transform:"translateY(0px)"},{offset:1,transform:`translateY(${x+i.height}px)`}],m=(0,d.c)("toast-swipe-to-dismiss-animation").addElement(o).duration(100);switch(t.position){case"middle":u=r+i.height,m.keyframes(Y),m.progressStart(!0,.5);break;case"top":u=i.bottom,m.keyframes([{offset:0,transform:`translateY(${e.top})`},{offset:1,transform:"translateY(-100%)"}]),m.progressStart(!0,0);break;default:u=r-i.top,m.keyframes([{offset:0,transform:`translateY(${e.bottom})`},{offset:1,transform:"translateY(100%)"}]),m.progressStart(!0,0)}const j=w=>w*g/u,S=(0,D.createGesture)({el:o,gestureName:"toast-swipe-to-dismiss",gesturePriority:h.O,direction:"y",onMove:w=>{const A=a+j(w.deltaY);m.progressStep(A)},onEnd:w=>{const A=w.velocityY,I=(w.deltaY+1e3*A)/u*g;S.enable(!1);let _=!0,B=1,E=0,L=0;if("middle"===t.position){_=I>=.25||I<=-.25,B=1,E=0;const R=o.getBoundingClientRect(),H=R.top-x,W=(x+R.height)*(w.deltaY<=0?-1:1);m.keyframes([{offset:0,transform:`translateY(${H}px)`},{offset:1,transform:`translateY(${_?`${W}px`:"0px"})`}]),L=W-H}else _=I>=.5,B=_?1:0,E=j(w.deltaY),L=(_?1-E:E)*u;const ot=Math.min(Math.abs(L)/Math.abs(A),200);m.onFinish(()=>{_?(n(),m.destroy()):("middle"===t.position?m.keyframes(Y).progressStart(!0,.5):m.progressStart(!0,0),S.enable(!0))},{oneTimeCallback:!0}).progressEnd(B,E,ot)}});return S})(this.el,e,()=>{this.dismiss(void 0,h.G)})).enable(!0)},this.destroySwipeGesture=()=>{const{gesture:e}=this;void 0!==e&&(e.destroy(),this.gesture=void 0)},this.prefersSwipeGesture=()=>{const{swipeGesture:e}=this;return"vertical"===e},this.revealContentToScreenReader=!1,this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.color=void 0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.cssClass=void 0,this.duration=l.c.getNumber("toastDuration",0),this.header=void 0,this.layout="baseline",this.message=void 0,this.keyboardClose=!1,this.position="bottom",this.positionAnchor=void 0,this.buttons=void 0,this.translucent=!1,this.animated=!0,this.icon=void 0,this.htmlAttributes=void 0,this.swipeGesture=void 0,this.isOpen=!1,this.trigger=void 0}swipeGestureChanged(){this.destroySwipeGesture(),this.presented&&this.prefersSwipeGesture()&&this.createSwipeGesture(this.lastPresentedPosition)}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}triggerChanged(){const{trigger:t,el:e,triggerController:n}=this;t&&n.addClickListener(e,t)}connectedCallback(){(0,h.j)(this.el),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){(0,h.k)(this.el)}componentDidLoad(){!0===this.isOpen&&(0,b.r)(()=>this.present()),this.triggerChanged()}present(){var t=this;return(0,y.Z)(function*(){const e=yield t.lockController.lock();yield t.delegateController.attachViewToDom();const{el:n,position:o}=t,i=function G(t,e,n,o){let r;if(r="md"===n?"top"===t?8:-8:"top"===t?10:-10,e&&k.w){!function U(t,e){null===t.offsetParent&&(0,v.p)("The positionAnchor element for ion-toast was found in the DOM, but appears to be hidden. This may lead to unexpected positioning of the toast.",e)}(e,o);const i=e.getBoundingClientRect();return"top"===t?r+=i.bottom:"bottom"===t&&(r-=k.w.innerHeight-i.top),{top:`${r}px`,bottom:`${r}px`}}return{top:`calc(${r}px + var(--ion-safe-area-top, 0px))`,bottom:`calc(${r}px - var(--ion-safe-area-bottom, 0px))`}}(o,t.getAnchorElement(),(0,l.b)(t),n);t.lastPresentedPosition=i,yield(0,h.f)(t,"toastEnter",K,N,{position:o,top:i.top,bottom:i.bottom}),t.revealContentToScreenReader=!0,t.duration>0&&(t.durationTimeout=setTimeout(()=>t.dismiss(void 0,"timeout"),t.duration)),t.prefersSwipeGesture()&&t.createSwipeGesture(i),e()})()}dismiss(t,e){var n=this;return(0,y.Z)(function*(){var o,r;const i=yield n.lockController.lock(),{durationTimeout:u,position:f,lastPresentedPosition:a}=n;u&&clearTimeout(u);const g=yield(0,h.g)(n,t,e,"toastLeave",F,Z,{position:f,top:null!==(o=a?.top)&&void 0!==o?o:"",bottom:null!==(r=a?.bottom)&&void 0!==r?r:""});return g&&(n.delegateController.removeViewFromDom(),n.revealContentToScreenReader=!1),n.lastPresentedPosition=void 0,n.destroySwipeGesture(),i(),g})()}onDidDismiss(){return(0,h.h)(this.el,"ionToastDidDismiss")}onWillDismiss(){return(0,h.h)(this.el,"ionToastWillDismiss")}getButtons(){return this.buttons?this.buttons.map(e=>"string"==typeof e?{text:e}:e):[]}getAnchorElement(){const{position:t,positionAnchor:e,el:n}=this;if(void 0!==e){if("middle"===t&&void 0!==e)return void(0,v.p)('The positionAnchor property is ignored when using position="middle".',this.el);if("string"==typeof e){const o=document.getElementById(e);return null===o?void(0,v.p)(`An anchor element with an ID of "${e}" was not found in the DOM.`,n):o}if(e instanceof HTMLElement)return e;(0,v.p)("Invalid positionAnchor value:",e,n)}}buttonClick(t){var e=this;return(0,y.Z)(function*(){const n=t.role;return(0,h.i)(n)||(yield e.callButtonHandler(t))?e.dismiss(void 0,n):Promise.resolve()})()}callButtonHandler(t){return(0,y.Z)(function*(){if(t?.handler)try{if(!1===(yield(0,h.s)(t.handler)))return!1}catch(e){console.error(e)}return!0})()}renderButtons(t,e){if(0===t.length)return;const n=(0,l.b)(this);return(0,s.h)("div",{class:{"toast-button-group":!0,[`toast-button-group-${e}`]:!0}},t.map(r=>(0,s.h)("button",Object.assign({},r.htmlAttributes,{type:"button",class:Q(r),tabIndex:0,onClick:()=>this.buttonClick(r),part:q(r)}),(0,s.h)("div",{class:"toast-button-inner"},r.icon&&(0,s.h)("ion-icon",{"aria-hidden":"true",icon:r.icon,slot:void 0===r.text?"icon-only":void 0,class:"toast-button-icon"}),r.text),"md"===n&&(0,s.h)("ion-ripple-effect",{type:void 0!==r.icon&&void 0===r.text?"unbounded":"bounded"}))))}renderToastMessage(t,e=null){const{customHTMLEnabled:n,message:o}=this;return n?(0,s.h)("div",{key:t,"aria-hidden":e,class:"toast-message",part:"message",innerHTML:(0,T.a)(o)}):(0,s.h)("div",{key:t,"aria-hidden":e,class:"toast-message",part:"message"},o)}renderHeader(t,e=null){return(0,s.h)("div",{key:t,class:"toast-header","aria-hidden":e,part:"header"},this.header)}render(){const{layout:t,el:e,revealContentToScreenReader:n,header:o,message:r}=this,i=this.getButtons(),u=i.filter(x=>"start"===x.side),f=i.filter(x=>"start"!==x.side),a=(0,l.b)(this),g={"toast-wrapper":!0,[`toast-${this.position}`]:!0,[`toast-layout-${t}`]:!0};return"stacked"===t&&u.length>0&&f.length>0&&(0,v.p)("This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.",e),(0,s.h)(s.H,Object.assign({tabindex:"-1"},this.htmlAttributes,{style:{zIndex:`${6e4+this.overlayIndex}`},class:(0,p.c)(this.color,Object.assign(Object.assign({[a]:!0},(0,p.g)(this.cssClass)),{"overlay-hidden":!0,"toast-translucent":this.translucent})),onIonToastWillDismiss:this.dispatchCancelHandler}),(0,s.h)("div",{class:g},(0,s.h)("div",{class:"toast-container",part:"container"},this.renderButtons(u,"start"),void 0!==this.icon&&(0,s.h)("ion-icon",{class:"toast-icon",part:"icon",icon:this.icon,lazy:!1,"aria-hidden":"true"}),(0,s.h)("div",{class:"toast-content",role:"status","aria-atomic":"true","aria-live":"polite"},!n&&void 0!==o&&this.renderHeader("oldHeader","true"),!n&&void 0!==r&&this.renderToastMessage("oldMessage","true"),n&&void 0!==o&&this.renderHeader("header"),n&&void 0!==r&&this.renderToastMessage("header")),this.renderButtons(f,"end"))))}get el(){return(0,s.f)(this)}static get watchers(){return{swipeGesture:["swipeGestureChanged"],isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},Q=t=>Object.assign({"toast-button":!0,"toast-button-icon-only":void 0!==t.icon&&void 0===t.text,[`toast-button-${t.role}`]:void 0!==t.role,"ion-focusable":!0,"ion-activatable":!0},(0,p.g)(t.cssClass)),q=t=>(0,h.i)(t.role)?"button cancel":"button";$.style={ios:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}@supports (inset-inline-start: 0){:host{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host{left:0}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)){left:unset;right:unset;right:0}}}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}@supports (inset-inline-start: 0){.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}}@supports not (inset-inline-start: 0){.toast-wrapper{left:var(--start);right:var(--end)}:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}[dir=rtl] .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}@supports selector(:dir(rtl)){.toast-wrapper:dir(rtl){left:unset;right:unset;left:var(--end);right:var(--start)}}}.toast-wrapper.toast-top{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);bottom:0}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{min-width:0}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-50, #f2f2f2);--border-radius:14px;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-850, #262626);--max-width:700px;--max-height:478px;--start:10px;--end:10px;font-size:clamp(14px, 0.875rem, 43.4px)}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;z-index:10}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.toast-translucent) .toast-wrapper{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}:host(.ion-color.toast-translucent) .toast-wrapper{background:rgba(var(--ion-color-base-rgb), 0.8)}}.toast-wrapper.toast-middle{opacity:0.01}.toast-content{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:15px;padding-bottom:15px}.toast-header{margin-bottom:2px;font-weight:500}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;min-height:44px;-webkit-transition:background-color, opacity 100ms linear;transition:background-color, opacity 100ms linear;border:0;background-color:transparent;font-family:var(--ion-font-family);font-size:clamp(17px, 1.0625rem, 21.998px);font-weight:500;overflow:hidden}.toast-button.ion-activated{opacity:0.4}@media (any-hover: hover){.toast-button:hover{opacity:0.6}}",md:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}@supports (inset-inline-start: 0){:host{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host{left:0}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)){left:unset;right:unset;right:0}}}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}@supports (inset-inline-start: 0){.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}}@supports not (inset-inline-start: 0){.toast-wrapper{left:var(--start);right:var(--end)}:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}[dir=rtl] .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}@supports selector(:dir(rtl)){.toast-wrapper:dir(rtl){left:unset;right:unset;left:var(--end);right:var(--start)}}}.toast-wrapper.toast-top{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);bottom:0}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{min-width:0}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-800, #333333);--border-radius:4px;--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-50, #f2f2f2);--max-width:700px;--start:8px;--end:8px;font-size:0.875rem}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;opacity:0.01;z-index:10}.toast-content{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:14px;padding-bottom:14px}.toast-header{margin-bottom:2px;font-weight:500;line-height:1.25rem}.toast-message{line-height:1.25rem}.toast-layout-baseline .toast-button-group-start{-webkit-margin-start:8px;margin-inline-start:8px}.toast-layout-stacked .toast-button-group-start{-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px}.toast-layout-baseline .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px}.toast-layout-stacked .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px;margin-bottom:8px}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;font-family:var(--ion-font-family);font-size:0.875rem;font-weight:500;letter-spacing:0.84px;text-transform:uppercase;overflow:hidden}.toast-button-cancel{color:var(--ion-color-step-100, #e6e6e6)}.toast-button-icon-only{border-radius:50%;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:9px;padding-bottom:9px;width:36px;height:36px}@media (any-hover: hover){.toast-button:hover{background-color:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.08)}.toast-button-cancel:hover{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.08)}}"}},3814:(z,C,c)=>{c.d(C,{c:()=>T,g:()=>M,h:()=>s,o:()=>h});var y=c(5861);const s=(p,l)=>null!==l.closest(p),T=(p,l)=>"string"==typeof p&&p.length>0?Object.assign({"ion-color":!0,[`ion-color-${p}`]:!0},l):l,M=p=>{const l={};return(p=>void 0!==p?(Array.isArray(p)?p:p.split(" ")).filter(d=>null!=d).map(d=>d.trim()).filter(d=>""!==d):[])(p).forEach(d=>l[d]=!0),l},v=/^[a-z][a-z0-9+\-.]*:/,h=function(){var p=(0,y.Z)(function*(l,d,k,D){if(null!=l&&"#"!==l[0]&&!v.test(l)){const P=document.querySelector("ion-router");if(P)return d?.preventDefault(),P.push(l,k,D)}return!1});return function(d,k,D,P){return p.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/6120.c0664ee3e4ddce1c.js b/6120.c0664ee3e4ddce1c.js deleted file mode 100644 index ee0db501..00000000 --- a/6120.c0664ee3e4ddce1c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6120],{6120:(E,v,d)=>{d.r(v),d.d(v,{ion_toast:()=>C});var g=d(5861),r=d(1071),w=d(1180),m=d(2674),_=d(3357),l=d(1701),f=d(2997),s=d(7263),i=d(2438);d(7693);const y=(t,e)=>{const o=(0,i.c)(),n=(0,i.c)(),c=(0,m.g)(t).querySelector(".toast-wrapper");switch(n.addElement(c),e){case"top":n.fromTo("transform","translateY(-100%)","translateY(calc(10px + var(--ion-safe-area-top, 0px)))");break;case"middle":const x=Math.floor(t.clientHeight/2-c.clientHeight/2);c.style.top=`${x}px`,n.fromTo("opacity",.01,1);break;default:n.fromTo("transform","translateY(100%)","translateY(calc(-10px - var(--ion-safe-area-bottom, 0px)))")}return o.easing("cubic-bezier(.155,1.105,.295,1.12)").duration(400).addAnimation(n)},k=(t,e)=>{const o=(0,i.c)(),n=(0,i.c)(),c=(0,m.g)(t).querySelector(".toast-wrapper");switch(n.addElement(c),e){case"top":n.fromTo("transform","translateY(calc(10px + var(--ion-safe-area-top, 0px)))","translateY(-100%)");break;case"middle":n.fromTo("opacity",.99,0);break;default:n.fromTo("transform","translateY(calc(-10px - var(--ion-safe-area-bottom, 0px)))","translateY(100%)")}return o.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(n)},b=(t,e)=>{const o=(0,i.c)(),n=(0,i.c)(),c=(0,m.g)(t).querySelector(".toast-wrapper");switch(n.addElement(c),e){case"top":c.style.top="calc(8px + var(--ion-safe-area-top, 0px))",n.fromTo("opacity",.01,1);break;case"middle":const x=Math.floor(t.clientHeight/2-c.clientHeight/2);c.style.top=`${x}px`,n.fromTo("opacity",.01,1);break;default:c.style.bottom="calc(8px + var(--ion-safe-area-bottom, 0px))",n.fromTo("opacity",.01,1)}return o.easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation(n)},D=t=>{const e=(0,i.c)(),o=(0,i.c)(),a=(0,m.g)(t).querySelector(".toast-wrapper");return o.addElement(a).fromTo("opacity",.99,0),e.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(o)},C=class{constructor(t){(0,r.r)(this,t),this.didPresent=(0,r.d)(this,"ionToastDidPresent",7),this.willPresent=(0,r.d)(this,"ionToastWillPresent",7),this.willDismiss=(0,r.d)(this,"ionToastWillDismiss",7),this.didDismiss=(0,r.d)(this,"ionToastDidDismiss",7),this.didPresentShorthand=(0,r.d)(this,"didPresent",7),this.willPresentShorthand=(0,r.d)(this,"willPresent",7),this.willDismissShorthand=(0,r.d)(this,"willDismiss",7),this.didDismissShorthand=(0,r.d)(this,"didDismiss",7),this.delegateController=(0,l.d)(this),this.triggerController=(0,l.e)(),this.customHTMLEnabled=s.c.get("innerHTMLTemplatesEnabled",w.E),this.presented=!1,this.dispatchCancelHandler=e=>{if((0,l.i)(e.detail.role)){const n=this.getButtons().find(a=>"cancel"===a.role);this.callButtonHandler(n)}},this.revealContentToScreenReader=!1,this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.color=void 0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.cssClass=void 0,this.duration=s.c.getNumber("toastDuration",0),this.header=void 0,this.layout="baseline",this.message=void 0,this.keyboardClose=!1,this.position="bottom",this.buttons=void 0,this.translucent=!1,this.animated=!0,this.icon=void 0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}triggerChanged(){const{trigger:t,el:e,triggerController:o}=this;t&&o.addClickListener(e,t)}connectedCallback(){(0,l.j)(this.el),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){(0,l.k)(this.el)}componentDidLoad(){!0===this.isOpen&&(0,m.r)(()=>this.present())}present(){var t=this;return(0,g.Z)(function*(){void 0!==t.currentTransition&&(yield t.currentTransition),yield t.delegateController.attachViewToDom(),t.currentTransition=(0,l.f)(t,"toastEnter",y,b,t.position),yield t.currentTransition,t.revealContentToScreenReader=!0,t.currentTransition=void 0,t.duration>0&&(t.durationTimeout=setTimeout(()=>t.dismiss(void 0,"timeout"),t.duration))})()}dismiss(t,e){var o=this;return(0,g.Z)(function*(){o.durationTimeout&&clearTimeout(o.durationTimeout),o.currentTransition=(0,l.g)(o,t,e,"toastLeave",k,D,o.position);const n=yield o.currentTransition;return n&&(o.delegateController.removeViewFromDom(),o.revealContentToScreenReader=!1),n})()}onDidDismiss(){return(0,l.h)(this.el,"ionToastDidDismiss")}onWillDismiss(){return(0,l.h)(this.el,"ionToastWillDismiss")}getButtons(){return this.buttons?this.buttons.map(e=>"string"==typeof e?{text:e}:e):[]}buttonClick(t){var e=this;return(0,g.Z)(function*(){const o=t.role;return(0,l.i)(o)||(yield e.callButtonHandler(t))?e.dismiss(void 0,o):Promise.resolve()})()}callButtonHandler(t){return(0,g.Z)(function*(){if(t?.handler)try{if(!1===(yield(0,l.s)(t.handler)))return!1}catch(e){console.error(e)}return!0})()}renderButtons(t,e){if(0===t.length)return;const o=(0,s.b)(this);return(0,r.h)("div",{class:{"toast-button-group":!0,[`toast-button-group-${e}`]:!0}},t.map(a=>(0,r.h)("button",Object.assign({},a.htmlAttributes,{type:"button",class:P(a),tabIndex:0,onClick:()=>this.buttonClick(a),part:O(a)}),(0,r.h)("div",{class:"toast-button-inner"},a.icon&&(0,r.h)("ion-icon",{"aria-hidden":"true",icon:a.icon,slot:void 0===a.text?"icon-only":void 0,class:"toast-button-icon"}),a.text),"md"===o&&(0,r.h)("ion-ripple-effect",{type:void 0!==a.icon&&void 0===a.text?"unbounded":"bounded"}))))}renderToastMessage(t,e=null){const{customHTMLEnabled:o,message:n}=this;return o?(0,r.h)("div",{key:t,"aria-hidden":e,class:"toast-message",part:"message",innerHTML:(0,w.a)(n)}):(0,r.h)("div",{key:t,"aria-hidden":e,class:"toast-message",part:"message"},n)}renderHeader(t,e=null){return(0,r.h)("div",{key:t,class:"toast-header","aria-hidden":e,part:"header"},this.header)}render(){const{layout:t,el:e,revealContentToScreenReader:o,header:n,message:a}=this,c=this.getButtons(),h=c.filter(T=>"start"===T.side),u=c.filter(T=>"start"!==T.side),x=(0,s.b)(this),L={"toast-wrapper":!0,[`toast-${this.position}`]:!0,[`toast-layout-${t}`]:!0};return"stacked"===t&&h.length>0&&u.length>0&&(0,_.p)("This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.",e),(0,r.h)(r.H,Object.assign({tabindex:"-1"},this.htmlAttributes,{style:{zIndex:`${6e4+this.overlayIndex}`},class:(0,f.c)(this.color,Object.assign(Object.assign({[x]:!0},(0,f.g)(this.cssClass)),{"overlay-hidden":!0,"toast-translucent":this.translucent})),onIonToastWillDismiss:this.dispatchCancelHandler}),(0,r.h)("div",{class:L},(0,r.h)("div",{class:"toast-container",part:"container"},this.renderButtons(h,"start"),void 0!==this.icon&&(0,r.h)("ion-icon",{class:"toast-icon",part:"icon",icon:this.icon,lazy:!1,"aria-hidden":"true"}),(0,r.h)("div",{class:"toast-content",role:"status","aria-atomic":"true","aria-live":"polite"},!o&&void 0!==n&&this.renderHeader("oldHeader","true"),!o&&void 0!==a&&this.renderToastMessage("oldMessage","true"),o&&void 0!==n&&this.renderHeader("header"),o&&void 0!==a&&this.renderToastMessage("header")),this.renderButtons(u,"end"))))}get el(){return(0,r.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},P=t=>Object.assign({"toast-button":!0,"toast-button-icon-only":void 0!==t.icon&&void 0===t.text,[`toast-button-${t.role}`]:void 0!==t.role,"ion-focusable":!0,"ion-activatable":!0},(0,f.g)(t.cssClass)),O=t=>(0,l.i)(t.role)?"button cancel":"button";C.style={ios:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}@supports (inset-inline-start: 0){:host{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host{left:0}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host:dir(rtl){left:unset;right:unset;right:0}}}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}@supports (inset-inline-start: 0){.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}}@supports not (inset-inline-start: 0){.toast-wrapper{left:var(--start);right:var(--end)}:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}[dir=rtl] .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}@supports selector(:dir(rtl)){.toast-wrapper:dir(rtl){left:unset;right:unset;left:var(--end);right:var(--start)}}}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-50, #f2f2f2);--border-radius:14px;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-850, #262626);--max-width:700px;--start:10px;--end:10px;font-size:14px}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;z-index:10}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.toast-translucent) .toast-wrapper{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}:host(.ion-color.toast-translucent) .toast-wrapper{background:rgba(var(--ion-color-base-rgb), 0.8)}}.toast-wrapper.toast-top{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-middle{opacity:0.01}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);bottom:0}.toast-content{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:15px;padding-bottom:15px}.toast-header{margin-bottom:2px;font-weight:500}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;height:44px;-webkit-transition:background-color, opacity 100ms linear;transition:background-color, opacity 100ms linear;border:0;background-color:transparent;font-family:var(--ion-font-family);font-size:17px;font-weight:500;overflow:hidden}.toast-button.ion-activated{opacity:0.4}@media (any-hover: hover){.toast-button:hover{opacity:0.6}}",md:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}@supports (inset-inline-start: 0){:host{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host{left:0}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host:dir(rtl){left:unset;right:unset;right:0}}}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}@supports (inset-inline-start: 0){.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}}@supports not (inset-inline-start: 0){.toast-wrapper{left:var(--start);right:var(--end)}:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}[dir=rtl] .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}@supports selector(:dir(rtl)){.toast-wrapper:dir(rtl){left:unset;right:unset;left:var(--end);right:var(--start)}}}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-800, #333333);--border-radius:4px;--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-50, #f2f2f2);--max-width:700px;--start:8px;--end:8px;font-size:14px}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;opacity:0.01;z-index:10}.toast-content{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:14px;padding-bottom:14px}.toast-header{margin-bottom:2px;font-weight:500;line-height:20px}.toast-message{line-height:20px}.toast-layout-baseline .toast-button-group-start{-webkit-margin-start:8px;margin-inline-start:8px}.toast-layout-stacked .toast-button-group-start{-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px}.toast-layout-baseline .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px}.toast-layout-stacked .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px;margin-bottom:8px}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;font-family:var(--ion-font-family);font-size:14px;font-weight:500;letter-spacing:0.84px;text-transform:uppercase;overflow:hidden}.toast-button-cancel{color:var(--ion-color-step-100, #e6e6e6)}.toast-button-icon-only{border-radius:50%;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:9px;padding-bottom:9px;width:36px;height:36px}@media (any-hover: hover){.toast-button:hover{background-color:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.08)}.toast-button-cancel:hover{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.08)}}"}},2997:(E,v,d)=>{d.d(v,{c:()=>w,g:()=>_,h:()=>r,o:()=>f});var g=d(5861);const r=(s,i)=>null!==i.closest(s),w=(s,i)=>"string"==typeof s&&s.length>0?Object.assign({"ion-color":!0,[`ion-color-${s}`]:!0},i):i,_=s=>{const i={};return(s=>void 0!==s?(Array.isArray(s)?s:s.split(" ")).filter(p=>null!=p).map(p=>p.trim()).filter(p=>""!==p):[])(s).forEach(p=>i[p]=!0),i},l=/^[a-z][a-z0-9+\-.]*:/,f=function(){var s=(0,g.Z)(function*(i,p,y,k){if(null!=i&&"#"!==i[0]&&!l.test(i)){const b=document.querySelector("ion-router");if(b)return p?.preventDefault(),b.push(i,y,k)}return!1});return function(p,y,k,b){return s.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/6560.be038436088d1d1b.js b/6560.be038436088d1d1b.js deleted file mode 100644 index 9508f97c..00000000 --- a/6560.be038436088d1d1b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6560],{6560:(k,h,n)=>{n.r(h),n.d(h,{ion_textarea:()=>c});var b=n(5861),a=n(1071),u=n(479),f=n(1389),d=n(2674),v=n(3357),p=n(5849),r=n(2997),o=n(7263);n(7693);const c=class{constructor(t){(0,a.r)(this,t),this.ionChange=(0,a.d)(this,"ionChange",7),this.ionInput=(0,a.d)(this,"ionInput",7),this.ionStyle=(0,a.d)(this,"ionStyle",7),this.ionBlur=(0,a.d)(this,"ionBlur",7),this.ionFocus=(0,a.d)(this,"ionFocus",7),this.inputId="ion-textarea-"+_++,this.didTextareaClearOnEdit=!1,this.inheritedAttributes={},this.hasLoggedDeprecationWarning=!1,this.onInput=e=>{const i=e.target;i&&(this.value=i.value||""),this.emitInputChange(e)},this.onChange=e=>{this.emitValueChange(e)},this.onFocus=e=>{this.hasFocus=!0,this.focusedValue=this.value,this.focusChange(),this.ionFocus.emit(e)},this.onBlur=e=>{this.hasFocus=!1,this.focusChange(),this.focusedValue!==this.value&&this.emitValueChange(e),this.didTextareaClearOnEdit=!1,this.ionBlur.emit(e)},this.onKeyDown=e=>{this.checkClearOnEdit(e)},this.hasFocus=!1,this.color=void 0,this.autocapitalize="none",this.autofocus=!1,this.clearOnEdit=!1,this.debounce=void 0,this.disabled=!1,this.fill=void 0,this.inputmode=void 0,this.enterkeyhint=void 0,this.maxlength=void 0,this.minlength=void 0,this.name=this.inputId,this.placeholder=void 0,this.readonly=!1,this.required=!1,this.spellcheck=!1,this.cols=void 0,this.rows=void 0,this.wrap=void 0,this.autoGrow=!1,this.value="",this.counter=!1,this.counterFormatter=void 0,this.errorText=void 0,this.helperText=void 0,this.label=void 0,this.labelPlacement="start",this.legacy=void 0,this.shape=void 0}debounceChanged(){const{ionInput:t,debounce:e,originalIonInput:i}=this;this.ionInput=void 0===e?i??t:(0,d.j)(t,e)}disabledChanged(){this.emitStyle()}valueChanged(){const t=this.nativeInput,e=this.getValue();t&&t.value!==e&&(t.value=e),this.runAutoGrow(),this.emitStyle()}connectedCallback(){const{el:t}=this;this.legacyFormController=(0,u.c)(t),this.slotMutationController=(0,p.c)(t,"label",()=>(0,a.i)(this)),this.notchController=(0,f.c)(t,()=>this.notchSpacerEl,()=>this.labelSlot),this.emitStyle(),this.debounceChanged(),document.dispatchEvent(new CustomEvent("ionInputDidLoad",{detail:t}))}disconnectedCallback(){document.dispatchEvent(new CustomEvent("ionInputDidUnload",{detail:this.el})),this.slotMutationController&&(this.slotMutationController.destroy(),this.slotMutationController=void 0),this.notchController&&(this.notchController.destroy(),this.notchController=void 0)}componentWillLoad(){this.inheritedAttributes=Object.assign(Object.assign({},(0,d.i)(this.el)),(0,d.k)(this.el,["data-form-type","title","tabindex"]))}componentDidLoad(){this.originalIonInput=this.ionInput,this.runAutoGrow()}componentDidRender(){var t;null===(t=this.notchController)||void 0===t||t.calculateNotchWidth()}setFocus(){var t=this;return(0,b.Z)(function*(){t.nativeInput&&t.nativeInput.focus()})()}getInputElement(){return Promise.resolve(this.nativeInput)}emitStyle(){this.legacyFormController.hasLegacyControl()&&this.ionStyle.emit({interactive:!0,textarea:!0,input:!0,"interactive-disabled":this.disabled,"has-placeholder":void 0!==this.placeholder,"has-value":this.hasValue(),"has-focus":this.hasFocus})}emitValueChange(t){const{value:e}=this,i=null==e?e:e.toString();this.focusedValue=i,this.ionChange.emit({value:i,event:t})}emitInputChange(t){const{value:e}=this;this.ionInput.emit({value:e,event:t})}runAutoGrow(){this.nativeInput&&this.autoGrow&&(0,a.w)(()=>{var t;this.textareaWrapper&&(this.textareaWrapper.dataset.replicatedValue=null!==(t=this.value)&&void 0!==t?t:"")})}checkClearOnEdit(t){this.clearOnEdit&&(!this.didTextareaClearOnEdit&&this.hasValue()&&"Tab"!==t.key&&(this.value="",this.emitInputChange(t)),this.didTextareaClearOnEdit=!0)}focusChange(){this.emitStyle()}hasValue(){return""!==this.getValue()}getValue(){return this.value||""}renderLegacyTextarea(){this.hasLoggedDeprecationWarning||((0,v.p)('ion-textarea now requires providing a label with either the "label" property or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the "label" property or the "aria-label" attribute.\n\nExample: \nExample with aria-label: \n\nFor textareas that do not render the label immediately next to the input, developers may continue to use "ion-label" but must manually associate the label with the textarea by using "aria-labelledby".\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.hasLoggedDeprecationWarning=!0);const t=(0,o.b)(this),e=this.getValue(),i=this.inputId+"-lbl",s=(0,d.h)(this.el);return s&&(s.id=i),(0,a.h)(a.H,{"aria-disabled":this.disabled?"true":null,class:(0,r.c)(this.color,{[t]:!0,"legacy-textarea":!0})},(0,a.h)("div",{class:"textarea-legacy-wrapper",ref:x=>this.textareaWrapper=x},(0,a.h)("textarea",Object.assign({class:"native-textarea","aria-labelledby":s?s.id:null,ref:x=>this.nativeInput=x,autoCapitalize:this.autocapitalize,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,disabled:this.disabled,maxLength:this.maxlength,minLength:this.minlength,name:this.name,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,cols:this.cols,rows:this.rows,wrap:this.wrap,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeyDown},this.inheritedAttributes),e)))}renderLabel(){const{label:t}=this;return(0,a.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel}},void 0===t?(0,a.h)("slot",{name:"label"}):(0,a.h)("div",{class:"label-text"},t))}get labelSlot(){return this.el.querySelector('[slot="label"]')}get hasLabel(){return void 0!==this.label||null!==this.labelSlot}renderLabelContainer(){return"md"===(0,o.b)(this)&&"outline"===this.fill?[(0,a.h)("div",{class:"textarea-outline-container"},(0,a.h)("div",{class:"textarea-outline-start"}),(0,a.h)("div",{class:{"textarea-outline-notch":!0,"textarea-outline-notch-hidden":!this.hasLabel}},(0,a.h)("div",{class:"notch-spacer","aria-hidden":"true",ref:i=>this.notchSpacerEl=i},this.label)),(0,a.h)("div",{class:"textarea-outline-end"})),this.renderLabel()]:this.renderLabel()}renderHintText(){const{helperText:t,errorText:e}=this;return[(0,a.h)("div",{class:"helper-text"},t),(0,a.h)("div",{class:"error-text"},e)]}renderCounter(){const{counter:t,maxlength:e,counterFormatter:i,value:s}=this;if(!0===t&&void 0!==e)return(0,a.h)("div",{class:"counter"},(0,p.g)(s,e,i))}renderBottomContent(){const{counter:t,helperText:e,errorText:i,maxlength:s}=this;if(e||i||!0===t&&void 0!==s)return(0,a.h)("div",{class:"textarea-bottom"},this.renderHintText(),this.renderCounter())}renderTextarea(){const{inputId:t,disabled:e,fill:i,shape:s,labelPlacement:x}=this,w=(0,o.b)(this),C=this.getValue(),z=(0,r.h)("ion-item",this.el),E="md"===w&&"outline"!==i&&!z;return(0,a.h)(a.H,{class:(0,r.c)(this.color,{[w]:!0,"has-value":this.hasValue(),"has-focus":this.hasFocus,[`textarea-fill-${i}`]:void 0!==i,[`textarea-shape-${s}`]:void 0!==s,[`textarea-label-placement-${x}`]:!0,"textarea-disabled":e})},(0,a.h)("label",{class:"textarea-wrapper"},this.renderLabelContainer(),(0,a.h)("div",{class:"native-wrapper",ref:y=>this.textareaWrapper=y},(0,a.h)("textarea",Object.assign({class:"native-textarea",ref:y=>this.nativeInput=y,id:t,disabled:e,autoCapitalize:this.autocapitalize,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,minLength:this.minlength,maxLength:this.maxlength,name:this.name,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,cols:this.cols,rows:this.rows,wrap:this.wrap,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeyDown},this.inheritedAttributes),C)),E&&(0,a.h)("div",{class:"textarea-highlight"})),this.renderBottomContent())}render(){const{legacyFormController:t}=this;return t.hasLegacyControl()?this.renderLegacyTextarea():this.renderTextarea()}get el(){return(0,a.f)(this)}static get watchers(){return{debounce:["debounceChanged"],disabled:["disabledChanged"],value:["valueChanged"]}}};let _=0;c.style={ios:'.sc-ion-textarea-ios-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--border-radius:0;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.legacy-textarea.sc-ion-textarea-ios-h{-ms-flex:1;flex:1;background:var(--background);white-space:pre-wrap}.legacy-textarea.ion-color.sc-ion-textarea-ios-h{color:var(--ion-color-base)}.sc-ion-textarea-ios-h:not(.legacy-textarea){--padding-bottom:8px}.ion-color.sc-ion-textarea-ios-h{--highlight-color-focused:var(--ion-color-base);background:initial}ion-item.sc-ion-textarea-ios-h,ion-item .sc-ion-textarea-ios-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item.sc-ion-textarea-ios-h:not(.item-label),ion-item:not(.item-label) .sc-ion-textarea-ios-h{--padding-start:0}ion-item[slot=start].sc-ion-textarea-ios-h,ion-item [slot=start].sc-ion-textarea-ios-h,ion-item[slot=end].sc-ion-textarea-ios-h,ion-item [slot=end].sc-ion-textarea-ios-h{width:auto}.native-textarea.sc-ion-textarea-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;white-space:pre-wrap;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.native-textarea.sc-ion-textarea-ios::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.legacy-textarea.sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios{white-space:inherit}.legacy-textarea.sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios,.legacy-textarea.sc-ion-textarea-ios-h .textarea-legacy-wrapper.sc-ion-textarea-ios::after{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius)}.native-textarea.sc-ion-textarea-ios{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.legacy-textarea.sc-ion-textarea-ios-h .textarea-legacy-wrapper.sc-ion-textarea-ios::after{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;grid-area:1/1/2/2;word-break:break-word}.cloned-input.sc-ion-textarea-ios{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-textarea-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-textarea-ios{left:0}[dir=rtl].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-textarea-ios .cloned-input.sc-ion-textarea-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-textarea-ios:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-textarea-ios:disabled{opacity:1}.legacy-textarea[auto-grow].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}[auto-grow].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{height:100%}[auto-grow].sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios{overflow:hidden}.item-label-floating.item-has-placeholder.sc-ion-textarea-ios-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-textarea-ios-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-textarea-ios-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-textarea-ios-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.textarea-wrapper.sc-ion-textarea-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:0px;padding-bottom:0px;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:start;align-items:flex-start;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-textarea-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;width:100%;height:100%}.has-focus.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{caret-color:var(--highlight-color)}.native-wrapper.sc-ion-textarea-ios textarea.sc-ion-textarea-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom)}.native-wrapper.sc-ion-textarea-ios,.textarea-legacy-wrapper.sc-ion-textarea-ios{display:grid;min-width:inherit;max-width:inherit;min-height:inherit;max-height:inherit;grid-auto-rows:100%}.native-wrapper.sc-ion-textarea-ios::after,.textarea-legacy-wrapper.sc-ion-textarea-ios::after{white-space:pre-wrap;content:attr(data-replicated-value) " ";visibility:hidden}.native-wrapper.sc-ion-textarea-ios::after{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.ion-touched.ion-invalid.sc-ion-textarea-ios-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-textarea-ios-h{--highlight-color:var(--highlight-color-valid)}.textarea-bottom.sc-ion-textarea-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:12px}.has-focus.ion-valid.sc-ion-textarea-ios-h,.ion-touched.ion-invalid.sc-ion-textarea-ios-h{--border-color:var(--highlight-color)}.textarea-bottom.sc-ion-textarea-ios .error-text.sc-ion-textarea-ios{display:none;color:var(--highlight-color-invalid)}.textarea-bottom.sc-ion-textarea-ios .helper-text.sc-ion-textarea-ios{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-textarea-ios-h .textarea-bottom.sc-ion-textarea-ios .error-text.sc-ion-textarea-ios{display:block}.ion-touched.ion-invalid.sc-ion-textarea-ios-h .textarea-bottom.sc-ion-textarea-ios .helper-text.sc-ion-textarea-ios{display:none}.textarea-bottom.sc-ion-textarea-ios .counter.sc-ion-textarea-ios{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.label-text-wrapper.sc-ion-textarea-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-textarea-ios,.sc-ion-textarea-ios-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-textarea-ios,.textarea-outline-notch-hidden.sc-ion-textarea-ios{display:none}.textarea-wrapper.sc-ion-textarea-ios textarea.sc-ion-textarea-ios{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.textarea-label-placement-start.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:row;flex-direction:row}.textarea-label-placement-start.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-end.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.textarea-label-placement-end.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-ios-h .label-text.sc-ion-textarea-ios{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.textarea-label-placement-stacked.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:left top;transform-origin:left top;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;max-width:100%;z-index:2}[dir=rtl].sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios:dir(rtl),.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.textarea-label-placement-stacked.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-ios-h .native-wrapper.sc-ion-textarea-ios::after,.textarea-label-placement-floating[auto-grow].sc-ion-textarea-ios-h .native-wrapper.sc-ion-textarea-ios::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:8px;margin-bottom:0px}.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{opacity:0}.has-focus.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.has-value.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{opacity:1}.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,.has-focus.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,.has-value.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.sc-ion-textarea-ios-h{--border-width:0.55px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--padding-top:10px;--padding-end:0px;--padding-bottom:8px;--padding-start:0px;font-size:inherit}.legacy-textarea.sc-ion-textarea-ios-h{--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:0}.item-label-stacked.sc-ion-textarea-ios-h,.item-label-stacked .sc-ion-textarea-ios-h,.item-label-floating.sc-ion-textarea-ios-h,.item-label-floating .sc-ion-textarea-ios-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0px}.legacy-textarea.sc-ion-textarea-ios-h .native-textarea[disabled].sc-ion-textarea-ios,.textarea-disabled.sc-ion-textarea-ios-h{opacity:0.3}.sc-ion-textarea-ios-h:not(.legacy-textarea){min-height:44px}.textarea-label-placement-floating.sc-ion-textarea-ios-h,.textarea-label-placement-stacked.sc-ion-textarea-ios-h{--padding-top:0px;min-height:56px}',md:'.sc-ion-textarea-md-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--border-radius:0;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.legacy-textarea.sc-ion-textarea-md-h{-ms-flex:1;flex:1;background:var(--background);white-space:pre-wrap}.legacy-textarea.ion-color.sc-ion-textarea-md-h{color:var(--ion-color-base)}.sc-ion-textarea-md-h:not(.legacy-textarea){--padding-bottom:8px}.ion-color.sc-ion-textarea-md-h{--highlight-color-focused:var(--ion-color-base);background:initial}ion-item.sc-ion-textarea-md-h,ion-item .sc-ion-textarea-md-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item.sc-ion-textarea-md-h:not(.item-label),ion-item:not(.item-label) .sc-ion-textarea-md-h{--padding-start:0}ion-item[slot=start].sc-ion-textarea-md-h,ion-item [slot=start].sc-ion-textarea-md-h,ion-item[slot=end].sc-ion-textarea-md-h,ion-item [slot=end].sc-ion-textarea-md-h{width:auto}.native-textarea.sc-ion-textarea-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;white-space:pre-wrap;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.native-textarea.sc-ion-textarea-md::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.legacy-textarea.sc-ion-textarea-md-h .native-textarea.sc-ion-textarea-md{white-space:inherit}.legacy-textarea.sc-ion-textarea-md-h .native-textarea.sc-ion-textarea-md,.legacy-textarea.sc-ion-textarea-md-h .textarea-legacy-wrapper.sc-ion-textarea-md::after{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius)}.native-textarea.sc-ion-textarea-md{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.legacy-textarea.sc-ion-textarea-md-h .textarea-legacy-wrapper.sc-ion-textarea-md::after{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;grid-area:1/1/2/2;word-break:break-word}.cloned-input.sc-ion-textarea-md{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-textarea-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-textarea-md{left:0}[dir=rtl].sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-textarea-md .cloned-input.sc-ion-textarea-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-textarea-md:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-textarea-md:disabled{opacity:1}.legacy-textarea[auto-grow].sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}[auto-grow].sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md{height:100%}[auto-grow].sc-ion-textarea-md-h .native-textarea.sc-ion-textarea-md{overflow:hidden}.item-label-floating.item-has-placeholder.sc-ion-textarea-md-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-textarea-md-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-textarea-md-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-textarea-md-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.textarea-wrapper.sc-ion-textarea-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:0px;padding-bottom:0px;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:start;align-items:flex-start;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-textarea-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;width:100%;height:100%}.has-focus.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{caret-color:var(--highlight-color)}.native-wrapper.sc-ion-textarea-md textarea.sc-ion-textarea-md{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom)}.native-wrapper.sc-ion-textarea-md,.textarea-legacy-wrapper.sc-ion-textarea-md{display:grid;min-width:inherit;max-width:inherit;min-height:inherit;max-height:inherit;grid-auto-rows:100%}.native-wrapper.sc-ion-textarea-md::after,.textarea-legacy-wrapper.sc-ion-textarea-md::after{white-space:pre-wrap;content:attr(data-replicated-value) " ";visibility:hidden}.native-wrapper.sc-ion-textarea-md::after{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.ion-touched.ion-invalid.sc-ion-textarea-md-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-textarea-md-h{--highlight-color:var(--highlight-color-valid)}.textarea-bottom.sc-ion-textarea-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:12px}.has-focus.ion-valid.sc-ion-textarea-md-h,.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}.textarea-bottom.sc-ion-textarea-md .error-text.sc-ion-textarea-md{display:none;color:var(--highlight-color-invalid)}.textarea-bottom.sc-ion-textarea-md .helper-text.sc-ion-textarea-md{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md .error-text.sc-ion-textarea-md{display:block}.ion-touched.ion-invalid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md .helper-text.sc-ion-textarea-md{display:none}.textarea-bottom.sc-ion-textarea-md .counter.sc-ion-textarea-md{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.label-text-wrapper.sc-ion-textarea-md{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-textarea-md,.sc-ion-textarea-md-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-textarea-md,.textarea-outline-notch-hidden.sc-ion-textarea-md{display:none}.textarea-wrapper.sc-ion-textarea-md textarea.sc-ion-textarea-md{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.textarea-label-placement-start.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:row;flex-direction:row}.textarea-label-placement-start.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-end.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.textarea-label-placement-end.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-md-h .label-text.sc-ion-textarea-md{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.textarea-label-placement-stacked.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:left top;transform-origin:left top;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;max-width:100%;z-index:2}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md:dir(rtl),.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.textarea-label-placement-stacked.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after,.textarea-label-placement-floating[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:8px;margin-bottom:0px}.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{opacity:0}.has-focus.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.has-value.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{opacity:1}.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.has-focus.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.has-value.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.textarea-fill-solid.sc-ion-textarea-md-h{--background:var(--ion-color-step-50, #f2f2f2);--border-color:var(--ion-color-step-500, gray);--border-radius:4px;--padding-start:16px;--padding-end:16px}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-bottom:var(--border-width) var(--border-style) var(--border-color)}.has-focus.textarea-fill-solid.ion-valid.sc-ion-textarea-md-h,.textarea-fill-solid.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md{border-top:none}@media (any-hover: hover){.textarea-fill-solid.sc-ion-textarea-md-h:hover{--background:var(--ion-color-step-100, #e6e6e6);--border-color:var(--ion-color-step-750, #404040)}}.textarea-fill-solid.has-focus.sc-ion-textarea-md-h{--background:var(--ion-color-step-150, #d9d9d9);--border-color:var(--ion-color-step-750, #404040)}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md:dir(rtl){border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}}.textarea-fill-solid.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.has-focus.textarea-fill-solid.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.has-value.textarea-fill-solid.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{max-width:calc(100% / 0.75)}.textarea-fill-outline.sc-ion-textarea-md-h{--border-color:var(--ion-color-step-300, #b3b3b3);--border-radius:4px;--padding-start:16px;--padding-end:16px}.textarea-fill-outline.textarea-shape-round.sc-ion-textarea-md-h{--border-radius:28px;--padding-start:32px;--padding-end:32px}.has-focus.textarea-fill-outline.ion-valid.sc-ion-textarea-md-h,.textarea-fill-outline.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}@media (any-hover: hover){.textarea-fill-outline.sc-ion-textarea-md-h:hover{--border-color:var(--ion-color-step-750, #404040)}}.textarea-fill-outline.has-focus.sc-ion-textarea-md-h{--border-width:2px;--border-color:var(--highlight-color)}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md{border-top:none}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-bottom:none}.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:left top;transform-origin:left top;position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md:dir(rtl),.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.textarea-fill-outline.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{position:relative}.has-focus.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.has-value.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc(\n (100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75\n )}.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after,.textarea-fill-outline.textarea-label-placement-floating[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:12px;margin-bottom:0px}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-container.sc-ion-textarea-md{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{pointer-events:none}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color)}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md{max-width:calc(100% - var(--padding-start) - var(--padding-end))}.textarea-fill-outline.sc-ion-textarea-md-h .notch-spacer.sc-ion-textarea-md{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none;-webkit-box-sizing:content-box;box-sizing:content-box}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius);-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color);width:calc(var(--padding-start) - 4px)}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md{border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md:dir(rtl){border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color);border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px;-ms-flex-positive:1;flex-grow:1}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}@supports selector(:dir(rtl)){.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md:dir(rtl){border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}}.has-focus.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md,.has-value.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md{border-top:none}.sc-ion-textarea-md-h{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--padding-top:18px;--padding-end:0px;--padding-bottom:8px;--padding-start:0px;font-size:inherit}.legacy-textarea.sc-ion-textarea-md-h{--padding-top:10px;--padding-end:0;--padding-bottom:11px;--padding-start:8px;margin-left:0;margin-right:0;margin-top:8px;margin-bottom:0}.item-label-stacked.sc-ion-textarea-md-h,.item-label-stacked .sc-ion-textarea-md-h,.item-label-floating.sc-ion-textarea-md-h,.item-label-floating .sc-ion-textarea-md-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0}.textarea-bottom.sc-ion-textarea-md .counter.sc-ion-textarea-md{letter-spacing:0.0333333333em}.sc-ion-textarea-md-h:not(.legacy-textarea){min-height:56px}.textarea-label-placement-floating.sc-ion-textarea-md-h,.textarea-label-placement-stacked.sc-ion-textarea-md-h{--padding-top:0px}.textarea-label-placement-floating.has-focus.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-stacked.has-focus.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{color:var(--highlight-color)}.has-focus.textarea-label-placement-floating.ion-valid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.ion-touched.ion-invalid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.has-focus.textarea-label-placement-stacked.ion-valid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-stacked.ion-touched.ion-invalid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{color:var(--highlight-color)}.legacy-textarea.sc-ion-textarea-md-h .native-textarea[disabled].sc-ion-textarea-md,.textarea-disabled.sc-ion-textarea-md-h{opacity:0.38}.textarea-highlight.sc-ion-textarea-md{bottom:-1px;position:absolute;width:100%;height:2px;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}@supports (inset-inline-start: 0){.textarea-highlight.sc-ion-textarea-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.textarea-highlight.sc-ion-textarea-md{left:0}[dir=rtl].sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-textarea-md .textarea-highlight.sc-ion-textarea-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.textarea-highlight.sc-ion-textarea-md:dir(rtl){left:unset;right:unset;right:0}}}.has-focus.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{-webkit-transform:scale(1);transform:scale(1)}.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{bottom:0}@supports (inset-inline-start: 0){.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{left:0}[dir=rtl].sc-ion-textarea-md-h -no-combinator.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl].in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl] .in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md:dir(rtl){left:unset;right:unset;right:0}}}.textarea-shape-round.sc-ion-textarea-md-h{--border-radius:16px}'}},2997:(k,h,n)=>{n.d(h,{c:()=>u,g:()=>d,h:()=>a,o:()=>p});var b=n(5861);const a=(r,o)=>null!==o.closest(r),u=(r,o)=>"string"==typeof r&&r.length>0?Object.assign({"ion-color":!0,[`ion-color-${r}`]:!0},o):o,d=r=>{const o={};return(r=>void 0!==r?(Array.isArray(r)?r:r.split(" ")).filter(l=>null!=l).map(l=>l.trim()).filter(l=>""!==l):[])(r).forEach(l=>o[l]=!0),o},v=/^[a-z][a-z0-9+\-.]*:/,p=function(){var r=(0,b.Z)(function*(o,l,m,g){if(null!=o&&"#"!==o[0]&&!v.test(o)){const c=document.querySelector("ion-router");if(c)return l?.preventDefault(),c.push(o,m,g)}return!1});return function(l,m,g,c){return r.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/6560.cac1b316c57a649a.js b/6560.cac1b316c57a649a.js new file mode 100644 index 00000000..9571b140 --- /dev/null +++ b/6560.cac1b316c57a649a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6560],{6560:(z,p,n)=>{n.r(p),n.d(p,{ion_textarea:()=>x});var h=n(5861),a=n(408),u=n(8134),f=n(2448),c=n(2961),v=n(8909),m=n(4063),r=n(3814),o=n(4649);n(2972);const x=class{constructor(t){(0,a.r)(this,t),this.ionChange=(0,a.d)(this,"ionChange",7),this.ionInput=(0,a.d)(this,"ionInput",7),this.ionStyle=(0,a.d)(this,"ionStyle",7),this.ionBlur=(0,a.d)(this,"ionBlur",7),this.ionFocus=(0,a.d)(this,"ionFocus",7),this.inputId="ion-textarea-"+E++,this.didTextareaClearOnEdit=!1,this.inheritedAttributes={},this.hasLoggedDeprecationWarning=!1,this.onInput=e=>{const i=e.target;i&&(this.value=i.value||""),this.emitInputChange(e)},this.onChange=e=>{this.emitValueChange(e)},this.onFocus=e=>{this.hasFocus=!0,this.focusedValue=this.value,this.focusChange(),this.ionFocus.emit(e)},this.onBlur=e=>{this.hasFocus=!1,this.focusChange(),this.focusedValue!==this.value&&this.emitValueChange(e),this.didTextareaClearOnEdit=!1,this.ionBlur.emit(e)},this.onKeyDown=e=>{this.checkClearOnEdit(e)},this.hasFocus=!1,this.color=void 0,this.autocapitalize="none",this.autofocus=!1,this.clearOnEdit=!1,this.debounce=void 0,this.disabled=!1,this.fill=void 0,this.inputmode=void 0,this.enterkeyhint=void 0,this.maxlength=void 0,this.minlength=void 0,this.name=this.inputId,this.placeholder=void 0,this.readonly=!1,this.required=!1,this.spellcheck=!1,this.cols=void 0,this.rows=void 0,this.wrap=void 0,this.autoGrow=!1,this.value="",this.counter=!1,this.counterFormatter=void 0,this.errorText=void 0,this.helperText=void 0,this.label=void 0,this.labelPlacement="start",this.legacy=void 0,this.shape=void 0}debounceChanged(){const{ionInput:t,debounce:e,originalIonInput:i}=this;this.ionInput=void 0===e?i??t:(0,c.j)(t,e)}disabledChanged(){this.emitStyle()}valueChanged(){const t=this.nativeInput,e=this.getValue();t&&t.value!==e&&(t.value=e),this.runAutoGrow(),this.emitStyle()}connectedCallback(){const{el:t}=this;this.legacyFormController=(0,u.c)(t),this.slotMutationController=(0,m.c)(t,["label","start","end"],()=>(0,a.i)(this)),this.notchController=(0,f.c)(t,()=>this.notchSpacerEl,()=>this.labelSlot),this.emitStyle(),this.debounceChanged(),document.dispatchEvent(new CustomEvent("ionInputDidLoad",{detail:t}))}disconnectedCallback(){document.dispatchEvent(new CustomEvent("ionInputDidUnload",{detail:this.el})),this.slotMutationController&&(this.slotMutationController.destroy(),this.slotMutationController=void 0),this.notchController&&(this.notchController.destroy(),this.notchController=void 0)}componentWillLoad(){this.inheritedAttributes=Object.assign(Object.assign({},(0,c.i)(this.el)),(0,c.k)(this.el,["data-form-type","title","tabindex"]))}componentDidLoad(){this.originalIonInput=this.ionInput,this.runAutoGrow()}componentDidRender(){var t;null===(t=this.notchController)||void 0===t||t.calculateNotchWidth()}setFocus(){var t=this;return(0,h.Z)(function*(){t.nativeInput&&t.nativeInput.focus()})()}getInputElement(){var t=this;return(0,h.Z)(function*(){return t.nativeInput||(yield new Promise(e=>(0,c.c)(t.el,e))),Promise.resolve(t.nativeInput)})()}emitStyle(){this.legacyFormController.hasLegacyControl()&&this.ionStyle.emit({interactive:!0,textarea:!0,input:!0,"interactive-disabled":this.disabled,"has-placeholder":void 0!==this.placeholder,"has-value":this.hasValue(),"has-focus":this.hasFocus,legacy:!!this.legacy})}emitValueChange(t){const{value:e}=this,i=null==e?e:e.toString();this.focusedValue=i,this.ionChange.emit({value:i,event:t})}emitInputChange(t){const{value:e}=this;this.ionInput.emit({value:e,event:t})}runAutoGrow(){this.nativeInput&&this.autoGrow&&(0,a.w)(()=>{var t;this.textareaWrapper&&(this.textareaWrapper.dataset.replicatedValue=null!==(t=this.value)&&void 0!==t?t:"")})}checkClearOnEdit(t){if(!this.clearOnEdit)return;const i=["Tab","Shift","Meta","Alt","Control"].includes(t.key);!this.didTextareaClearOnEdit&&this.hasValue()&&!i&&(this.value="",this.emitInputChange(t)),i||(this.didTextareaClearOnEdit=!0)}focusChange(){this.emitStyle()}hasValue(){return""!==this.getValue()}getValue(){return this.value||""}renderLegacyTextarea(){this.hasLoggedDeprecationWarning||((0,v.p)('ion-textarea now requires providing a label with either the "label" property or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the "label" property or the "aria-label" attribute.\n\nExample: \nExample with aria-label: \n\nFor textareas that do not render the label immediately next to the input, developers may continue to use "ion-label" but must manually associate the label with the textarea by using "aria-labelledby".\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.hasLoggedDeprecationWarning=!0);const t=(0,o.b)(this),e=this.getValue(),i=this.inputId+"-lbl",s=(0,c.h)(this.el);return s&&(s.id=i),(0,a.h)(a.H,{"aria-disabled":this.disabled?"true":null,class:(0,r.c)(this.color,{[t]:!0,"legacy-textarea":!0})},(0,a.h)("div",{class:"textarea-legacy-wrapper",ref:d=>this.textareaWrapper=d},(0,a.h)("textarea",Object.assign({class:"native-textarea","aria-labelledby":s?s.id:null,ref:d=>this.nativeInput=d,autoCapitalize:this.autocapitalize,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,disabled:this.disabled,maxLength:this.maxlength,minLength:this.minlength,name:this.name,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,cols:this.cols,rows:this.rows,wrap:this.wrap,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeyDown},this.inheritedAttributes),e)))}renderLabel(){const{label:t}=this;return(0,a.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel}},void 0===t?(0,a.h)("slot",{name:"label"}):(0,a.h)("div",{class:"label-text"},t))}get labelSlot(){return this.el.querySelector('[slot="label"]')}get hasLabel(){return void 0!==this.label||null!==this.labelSlot}renderLabelContainer(){return"md"===(0,o.b)(this)&&"outline"===this.fill?[(0,a.h)("div",{class:"textarea-outline-container"},(0,a.h)("div",{class:"textarea-outline-start"}),(0,a.h)("div",{class:{"textarea-outline-notch":!0,"textarea-outline-notch-hidden":!this.hasLabel}},(0,a.h)("div",{class:"notch-spacer","aria-hidden":"true",ref:i=>this.notchSpacerEl=i},this.label)),(0,a.h)("div",{class:"textarea-outline-end"})),this.renderLabel()]:this.renderLabel()}renderHintText(){const{helperText:t,errorText:e}=this;return[(0,a.h)("div",{class:"helper-text"},t),(0,a.h)("div",{class:"error-text"},e)]}renderCounter(){const{counter:t,maxlength:e,counterFormatter:i,value:s}=this;if(!0===t&&void 0!==e)return(0,a.h)("div",{class:"counter"},(0,m.g)(s,e,i))}renderBottomContent(){const{counter:t,helperText:e,errorText:i,maxlength:s}=this;if(e||i||!0===t&&void 0!==s)return(0,a.h)("div",{class:"textarea-bottom"},this.renderHintText(),this.renderCounter())}renderTextarea(){const{inputId:t,disabled:e,fill:i,shape:s,labelPlacement:d,el:y,hasFocus:k}=this,_=(0,o.b)(this),I=this.getValue(),O=(0,r.h)("ion-item",this.el),D="md"===_&&"outline"!==i&&!O,C=this.hasValue(),L=null!==y.querySelector('[slot="start"], [slot="end"]');return(0,a.h)(a.H,{class:(0,r.c)(this.color,{[_]:!0,"has-value":C,"has-focus":k,"label-floating":"stacked"===d||"floating"===d&&(C||k||L),[`textarea-fill-${i}`]:void 0!==i,[`textarea-shape-${s}`]:void 0!==s,[`textarea-label-placement-${d}`]:!0,"textarea-disabled":e})},(0,a.h)("label",{class:"textarea-wrapper",htmlFor:t},this.renderLabelContainer(),(0,a.h)("div",{class:"textarea-wrapper-inner"},(0,a.h)("div",{class:"start-slot-wrapper"},(0,a.h)("slot",{name:"start"})),(0,a.h)("div",{class:"native-wrapper",ref:w=>this.textareaWrapper=w},(0,a.h)("textarea",Object.assign({class:"native-textarea",ref:w=>this.nativeInput=w,id:t,disabled:e,autoCapitalize:this.autocapitalize,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,minLength:this.minlength,maxLength:this.maxlength,name:this.name,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,cols:this.cols,rows:this.rows,wrap:this.wrap,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeyDown},this.inheritedAttributes),I)),(0,a.h)("div",{class:"end-slot-wrapper"},(0,a.h)("slot",{name:"end"}))),D&&(0,a.h)("div",{class:"textarea-highlight"})),this.renderBottomContent())}render(){const{legacyFormController:t}=this;return t.hasLegacyControl()?this.renderLegacyTextarea():this.renderTextarea()}get el(){return(0,a.f)(this)}static get watchers(){return{debounce:["debounceChanged"],disabled:["disabledChanged"],value:["valueChanged"]}}};let E=0;x.style={ios:'.sc-ion-textarea-ios-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--border-radius:0;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.sc-ion-textarea-ios-h:not(.legacy-textarea){min-height:44px}.textarea-label-placement-floating.sc-ion-textarea-ios-h,.textarea-label-placement-stacked.sc-ion-textarea-ios-h{--padding-top:0px;min-height:56px}[cols].sc-ion-textarea-ios-h:not([auto-grow]){width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.legacy-textarea.sc-ion-textarea-ios-h{-ms-flex:1;flex:1;background:var(--background);white-space:pre-wrap}.legacy-textarea.ion-color.sc-ion-textarea-ios-h{color:var(--ion-color-base)}.sc-ion-textarea-ios-h:not(.legacy-textarea){--padding-bottom:8px}.ion-color.sc-ion-textarea-ios-h{--highlight-color-focused:var(--ion-color-base);background:initial}ion-item.sc-ion-textarea-ios-h,ion-item .sc-ion-textarea-ios-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item.sc-ion-textarea-ios-h:not(.item-label),ion-item:not(.item-label) .sc-ion-textarea-ios-h{--padding-start:0}ion-item[slot=start].sc-ion-textarea-ios-h,ion-item [slot=start].sc-ion-textarea-ios-h,ion-item[slot=end].sc-ion-textarea-ios-h,ion-item [slot=end].sc-ion-textarea-ios-h{width:auto}.native-textarea.sc-ion-textarea-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;white-space:pre-wrap;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.native-textarea.sc-ion-textarea-ios::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.legacy-textarea.sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios{white-space:inherit}.legacy-textarea.sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios,.legacy-textarea.sc-ion-textarea-ios-h .textarea-legacy-wrapper.sc-ion-textarea-ios::after{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius)}.native-textarea.sc-ion-textarea-ios{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.legacy-textarea.sc-ion-textarea-ios-h .textarea-legacy-wrapper.sc-ion-textarea-ios::after{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;grid-area:1/1/2/2;word-break:break-word}.cloned-input.sc-ion-textarea-ios{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-textarea-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-textarea-ios{left:0}[dir=rtl].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-textarea-ios .cloned-input.sc-ion-textarea-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-textarea-ios:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-textarea-ios:disabled{opacity:1}.legacy-textarea[auto-grow].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}[auto-grow].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{height:100%}[auto-grow].sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios{overflow:hidden}.item-label-floating.item-has-placeholder.sc-ion-textarea-ios-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-textarea-ios-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-textarea-ios-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-textarea-ios-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.textarea-wrapper.sc-ion-textarea-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:0px;padding-bottom:0px;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:start;align-items:flex-start;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-textarea-ios{position:relative;width:100%;height:100%}.has-focus.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{caret-color:var(--highlight-color)}.native-wrapper.sc-ion-textarea-ios textarea.sc-ion-textarea-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom)}.native-wrapper.sc-ion-textarea-ios,.textarea-legacy-wrapper.sc-ion-textarea-ios{display:grid;min-width:inherit;max-width:inherit;min-height:inherit;max-height:inherit;grid-auto-rows:100%}.native-wrapper.sc-ion-textarea-ios::after,.textarea-legacy-wrapper.sc-ion-textarea-ios::after{white-space:pre-wrap;content:attr(data-replicated-value) " ";visibility:hidden}.native-wrapper.sc-ion-textarea-ios::after{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.textarea-wrapper-inner.sc-ion-textarea-ios{display:-ms-flexbox;display:flex;width:100%;min-height:inherit}.ion-touched.ion-invalid.sc-ion-textarea-ios-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-textarea-ios-h{--highlight-color:var(--highlight-color-valid)}.textarea-bottom.sc-ion-textarea-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem}.has-focus.ion-valid.sc-ion-textarea-ios-h,.ion-touched.ion-invalid.sc-ion-textarea-ios-h{--border-color:var(--highlight-color)}.textarea-bottom.sc-ion-textarea-ios .error-text.sc-ion-textarea-ios{display:none;color:var(--highlight-color-invalid)}.textarea-bottom.sc-ion-textarea-ios .helper-text.sc-ion-textarea-ios{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-textarea-ios-h .textarea-bottom.sc-ion-textarea-ios .error-text.sc-ion-textarea-ios{display:block}.ion-touched.ion-invalid.sc-ion-textarea-ios-h .textarea-bottom.sc-ion-textarea-ios .helper-text.sc-ion-textarea-ios{display:none}.textarea-bottom.sc-ion-textarea-ios .counter.sc-ion-textarea-ios{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.label-text-wrapper.sc-ion-textarea-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-textarea-ios,.sc-ion-textarea-ios-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-textarea-ios,.textarea-outline-notch-hidden.sc-ion-textarea-ios{display:none}.textarea-wrapper.sc-ion-textarea-ios textarea.sc-ion-textarea-ios{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.textarea-label-placement-start.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:row;flex-direction:row}.textarea-label-placement-start.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-end.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.textarea-label-placement-end.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-ios-h .label-text.sc-ion-textarea-ios{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.textarea-label-placement-stacked.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:left top;transform-origin:left top;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;max-width:100%;z-index:2}[dir=rtl].sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-label-placement-stacked.sc-ion-textarea-ios-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:right top;transform-origin:right top}}.textarea-label-placement-stacked.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-ios-h .native-wrapper.sc-ion-textarea-ios::after,.textarea-label-placement-floating[auto-grow].sc-ion-textarea-ios-h .native-wrapper.sc-ion-textarea-ios::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:8px;margin-bottom:0px}.sc-ion-textarea-ios-h.textarea-label-placement-stacked.sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-stacked .sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-stacked.sc-ion-textarea-ios-s>[slot=end],.sc-ion-textarea-ios-h.textarea-label-placement-stacked .sc-ion-textarea-ios-s>[slot=end],.sc-ion-textarea-ios-h.textarea-label-placement-floating.sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-floating .sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-floating.sc-ion-textarea-ios-s>[slot=end],.sc-ion-textarea-ios-h.textarea-label-placement-floating .sc-ion-textarea-ios-s>[slot=end]{margin-top:8px}.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{opacity:0}.has-focus.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.has-value.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{opacity:1}.label-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.start-slot-wrapper.sc-ion-textarea-ios,.end-slot-wrapper.sc-ion-textarea-ios{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:start}.sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-s>[slot=end]{margin-top:0}.sc-ion-textarea-ios-s>[slot=start]{-webkit-margin-end:16px;margin-inline-end:16px}.sc-ion-textarea-ios-s>[slot=end]{-webkit-margin-start:16px;margin-inline-start:16px}.sc-ion-textarea-ios-h{--border-width:0.55px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--padding-top:10px;--padding-end:0px;--padding-bottom:8px;--padding-start:0px;font-size:inherit}.legacy-textarea.sc-ion-textarea-ios-h{--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:0}.item-label-stacked.sc-ion-textarea-ios-h,.item-label-stacked .sc-ion-textarea-ios-h,.item-label-floating.sc-ion-textarea-ios-h,.item-label-floating .sc-ion-textarea-ios-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0px}.legacy-textarea.sc-ion-textarea-ios-h .native-textarea[disabled].sc-ion-textarea-ios,.textarea-disabled.sc-ion-textarea-ios-h{opacity:0.3}',md:'.sc-ion-textarea-md-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--border-radius:0;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.sc-ion-textarea-md-h:not(.legacy-textarea){min-height:44px}.textarea-label-placement-floating.sc-ion-textarea-md-h,.textarea-label-placement-stacked.sc-ion-textarea-md-h{--padding-top:0px;min-height:56px}[cols].sc-ion-textarea-md-h:not([auto-grow]){width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.legacy-textarea.sc-ion-textarea-md-h{-ms-flex:1;flex:1;background:var(--background);white-space:pre-wrap}.legacy-textarea.ion-color.sc-ion-textarea-md-h{color:var(--ion-color-base)}.sc-ion-textarea-md-h:not(.legacy-textarea){--padding-bottom:8px}.ion-color.sc-ion-textarea-md-h{--highlight-color-focused:var(--ion-color-base);background:initial}ion-item.sc-ion-textarea-md-h,ion-item .sc-ion-textarea-md-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item.sc-ion-textarea-md-h:not(.item-label),ion-item:not(.item-label) .sc-ion-textarea-md-h{--padding-start:0}ion-item[slot=start].sc-ion-textarea-md-h,ion-item [slot=start].sc-ion-textarea-md-h,ion-item[slot=end].sc-ion-textarea-md-h,ion-item [slot=end].sc-ion-textarea-md-h{width:auto}.native-textarea.sc-ion-textarea-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;white-space:pre-wrap;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.native-textarea.sc-ion-textarea-md::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.legacy-textarea.sc-ion-textarea-md-h .native-textarea.sc-ion-textarea-md{white-space:inherit}.legacy-textarea.sc-ion-textarea-md-h .native-textarea.sc-ion-textarea-md,.legacy-textarea.sc-ion-textarea-md-h .textarea-legacy-wrapper.sc-ion-textarea-md::after{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius)}.native-textarea.sc-ion-textarea-md{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.legacy-textarea.sc-ion-textarea-md-h .textarea-legacy-wrapper.sc-ion-textarea-md::after{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;grid-area:1/1/2/2;word-break:break-word}.cloned-input.sc-ion-textarea-md{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-textarea-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-textarea-md{left:0}[dir=rtl].sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-textarea-md .cloned-input.sc-ion-textarea-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-textarea-md:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-textarea-md:disabled{opacity:1}.legacy-textarea[auto-grow].sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}[auto-grow].sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md{height:100%}[auto-grow].sc-ion-textarea-md-h .native-textarea.sc-ion-textarea-md{overflow:hidden}.item-label-floating.item-has-placeholder.sc-ion-textarea-md-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-textarea-md-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-textarea-md-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-textarea-md-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.textarea-wrapper.sc-ion-textarea-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:0px;padding-bottom:0px;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:start;align-items:flex-start;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-textarea-md{position:relative;width:100%;height:100%}.has-focus.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{caret-color:var(--highlight-color)}.native-wrapper.sc-ion-textarea-md textarea.sc-ion-textarea-md{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom)}.native-wrapper.sc-ion-textarea-md,.textarea-legacy-wrapper.sc-ion-textarea-md{display:grid;min-width:inherit;max-width:inherit;min-height:inherit;max-height:inherit;grid-auto-rows:100%}.native-wrapper.sc-ion-textarea-md::after,.textarea-legacy-wrapper.sc-ion-textarea-md::after{white-space:pre-wrap;content:attr(data-replicated-value) " ";visibility:hidden}.native-wrapper.sc-ion-textarea-md::after{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.textarea-wrapper-inner.sc-ion-textarea-md{display:-ms-flexbox;display:flex;width:100%;min-height:inherit}.ion-touched.ion-invalid.sc-ion-textarea-md-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-textarea-md-h{--highlight-color:var(--highlight-color-valid)}.textarea-bottom.sc-ion-textarea-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem}.has-focus.ion-valid.sc-ion-textarea-md-h,.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}.textarea-bottom.sc-ion-textarea-md .error-text.sc-ion-textarea-md{display:none;color:var(--highlight-color-invalid)}.textarea-bottom.sc-ion-textarea-md .helper-text.sc-ion-textarea-md{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md .error-text.sc-ion-textarea-md{display:block}.ion-touched.ion-invalid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md .helper-text.sc-ion-textarea-md{display:none}.textarea-bottom.sc-ion-textarea-md .counter.sc-ion-textarea-md{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.label-text-wrapper.sc-ion-textarea-md{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-textarea-md,.sc-ion-textarea-md-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-textarea-md,.textarea-outline-notch-hidden.sc-ion-textarea-md{display:none}.textarea-wrapper.sc-ion-textarea-md textarea.sc-ion-textarea-md{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.textarea-label-placement-start.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:row;flex-direction:row}.textarea-label-placement-start.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-end.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.textarea-label-placement-end.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-md-h .label-text.sc-ion-textarea-md{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.textarea-label-placement-stacked.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:left top;transform-origin:left top;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;max-width:100%;z-index:2}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-label-placement-stacked.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}}.textarea-label-placement-stacked.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after,.textarea-label-placement-floating[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:8px;margin-bottom:0px}.sc-ion-textarea-md-h.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=end]{margin-top:8px}.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{opacity:0}.has-focus.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.has-value.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{opacity:1}.label-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.start-slot-wrapper.sc-ion-textarea-md,.end-slot-wrapper.sc-ion-textarea-md{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:start}.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-s>[slot=end]{margin-top:0}.sc-ion-textarea-md-s>[slot=start]{-webkit-margin-end:16px;margin-inline-end:16px}.sc-ion-textarea-md-s>[slot=end]{-webkit-margin-start:16px;margin-inline-start:16px}.textarea-fill-solid.sc-ion-textarea-md-h{--background:var(--ion-color-step-50, #f2f2f2);--border-color:var(--ion-color-step-500, gray);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-bottom:var(--border-width) var(--border-style) var(--border-color)}.has-focus.textarea-fill-solid.ion-valid.sc-ion-textarea-md-h,.textarea-fill-solid.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md{border-top:none}@media (any-hover: hover){.textarea-fill-solid.sc-ion-textarea-md-h:hover{--background:var(--ion-color-step-100, #e6e6e6);--border-color:var(--ion-color-step-750, #404040)}}.textarea-fill-solid.has-focus.sc-ion-textarea-md-h{--background:var(--ion-color-step-150, #d9d9d9);--border-color:var(--ion-color-step-750, #404040)}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.textarea-fill-solid.sc-ion-textarea-md-h:dir(rtl) .textarea-wrapper.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}}.label-floating.textarea-fill-solid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{max-width:calc(100% / 0.75)}.textarea-fill-outline.sc-ion-textarea-md-h{--border-color:var(--ion-color-step-300, #b3b3b3);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.textarea-fill-outline.textarea-shape-round.sc-ion-textarea-md-h{--border-radius:28px;--padding-start:32px;--padding-end:32px}.has-focus.textarea-fill-outline.ion-valid.sc-ion-textarea-md-h,.textarea-fill-outline.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}@media (any-hover: hover){.textarea-fill-outline.sc-ion-textarea-md-h:hover{--border-color:var(--ion-color-step-750, #404040)}}.textarea-fill-outline.has-focus.sc-ion-textarea-md-h{--border-width:2px;--border-color:var(--highlight-color)}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md{border-top:none}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-bottom:none}.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:left top;transform-origin:left top;position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}}.textarea-fill-outline.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{position:relative}.label-floating.textarea-fill-outline.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc(\n (100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75\n )}.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after,.textarea-fill-outline.textarea-label-placement-floating[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:12px;margin-bottom:0px}.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=end]{margin-top:12px}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-container.sc-ion-textarea-md{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{pointer-events:none}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color)}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md{max-width:calc(100% - var(--padding-start) - var(--padding-end))}.textarea-fill-outline.sc-ion-textarea-md-h .notch-spacer.sc-ion-textarea-md{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none;-webkit-box-sizing:content-box;box-sizing:content-box}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius);-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color);width:calc(var(--padding-start) - 4px)}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md{border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.textarea-fill-outline.sc-ion-textarea-md-h:dir(rtl) .textarea-outline-start.sc-ion-textarea-md{border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color);border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px;-ms-flex-positive:1;flex-grow:1}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}@supports selector(:dir(rtl)){.textarea-fill-outline.sc-ion-textarea-md-h:dir(rtl) .textarea-outline-end.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}}.label-floating.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md{border-top:none}.sc-ion-textarea-md-h{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--padding-top:18px;--padding-end:0px;--padding-bottom:8px;--padding-start:0px;font-size:inherit}.legacy-textarea.sc-ion-textarea-md-h{--padding-top:10px;--padding-end:0;--padding-bottom:11px;--padding-start:8px;margin-left:0;margin-right:0;margin-top:8px;margin-bottom:0}.item-label-stacked.sc-ion-textarea-md-h,.item-label-stacked .sc-ion-textarea-md-h,.item-label-floating.sc-ion-textarea-md-h,.item-label-floating .sc-ion-textarea-md-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0}.textarea-bottom.sc-ion-textarea-md .counter.sc-ion-textarea-md{letter-spacing:0.0333333333em}.textarea-label-placement-floating.has-focus.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-stacked.has-focus.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{color:var(--highlight-color)}.has-focus.textarea-label-placement-floating.ion-valid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.ion-touched.ion-invalid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.has-focus.textarea-label-placement-stacked.ion-valid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-stacked.ion-touched.ion-invalid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{color:var(--highlight-color)}.legacy-textarea.sc-ion-textarea-md-h .native-textarea[disabled].sc-ion-textarea-md,.textarea-disabled.sc-ion-textarea-md-h{opacity:0.38}.textarea-highlight.sc-ion-textarea-md{bottom:-1px;position:absolute;width:100%;height:2px;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}@supports (inset-inline-start: 0){.textarea-highlight.sc-ion-textarea-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.textarea-highlight.sc-ion-textarea-md{left:0}[dir=rtl].sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-textarea-md .textarea-highlight.sc-ion-textarea-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.textarea-highlight.sc-ion-textarea-md:dir(rtl){left:unset;right:unset;right:0}}}.has-focus.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{-webkit-transform:scale(1);transform:scale(1)}.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{bottom:0}@supports (inset-inline-start: 0){.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{left:0}[dir=rtl].sc-ion-textarea-md-h -no-combinator.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl].in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl] .in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.in-item.sc-ion-textarea-md-h:dir(rtl) .textarea-highlight.sc-ion-textarea-md{left:unset;right:unset;right:0}}}.textarea-shape-round.sc-ion-textarea-md-h{--border-radius:16px}'}},3814:(z,p,n)=>{n.d(p,{c:()=>u,g:()=>c,h:()=>a,o:()=>m});var h=n(5861);const a=(r,o)=>null!==o.closest(r),u=(r,o)=>"string"==typeof r&&r.length>0?Object.assign({"ion-color":!0,[`ion-color-${r}`]:!0},o):o,c=r=>{const o={};return(r=>void 0!==r?(Array.isArray(r)?r:r.split(" ")).filter(l=>null!=l).map(l=>l.trim()).filter(l=>""!==l):[])(r).forEach(l=>o[l]=!0),o},v=/^[a-z][a-z0-9+\-.]*:/,m=function(){var r=(0,h.Z)(function*(o,l,g,b){if(null!=o&&"#"!==o[0]&&!v.test(o)){const x=document.querySelector("ion-router");if(x)return l?.preventDefault(),x.push(o,g,b)}return!1});return function(l,g,b,x){return r.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/657.76bcccce37c1b7a0.js b/657.76bcccce37c1b7a0.js deleted file mode 100644 index 019e652c..00000000 --- a/657.76bcccce37c1b7a0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[657],{657:(h,a,r)=>{r.r(a),r.d(a,{ion_chip:()=>l});var i=r(1071),s=r(2997),c=r(7263);const l=class{constructor(e){(0,i.r)(this,e),this.color=void 0,this.outline=!1,this.disabled=!1}render(){const e=(0,c.b)(this);return(0,i.h)(i.H,{"aria-disabled":this.disabled?"true":null,class:(0,s.c)(this.color,{[e]:!0,"chip-outline":this.outline,"chip-disabled":this.disabled,"ion-activatable":!0})},(0,i.h)("slot",null),"md"===e&&(0,i.h)("ion-ripple-effect",null))}};l.style=":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:7px;padding-bottom:7px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:14px;cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:20px}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){width:24px;height:24px}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}"},2997:(h,a,r)=>{r.d(a,{c:()=>c,g:()=>l,h:()=>s,o:()=>u});var i=r(5861);const s=(o,n)=>null!==n.closest(o),c=(o,n)=>"string"==typeof o&&o.length>0?Object.assign({"ion-color":!0,[`ion-color-${o}`]:!0},n):n,l=o=>{const n={};return(o=>void 0!==o?(Array.isArray(o)?o:o.split(" ")).filter(t=>null!=t).map(t=>t.trim()).filter(t=>""!==t):[])(o).forEach(t=>n[t]=!0),n},e=/^[a-z][a-z0-9+\-.]*:/,u=function(){var o=(0,i.Z)(function*(n,t,b,p){if(null!=n&&"#"!==n[0]&&!e.test(n)){const g=document.querySelector("ion-router");if(g)return t?.preventDefault(),g.push(n,b,p)}return!1});return function(t,b,p,g){return o.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/657.89c927526a3df35d.js b/657.89c927526a3df35d.js new file mode 100644 index 00000000..2003cf98 --- /dev/null +++ b/657.89c927526a3df35d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[657],{657:(h,e,i)=>{i.r(e),i.d(e,{ion_chip:()=>l});var t=i(408),s=i(3814),g=i(4649);const l=class{constructor(a){(0,t.r)(this,a),this.color=void 0,this.outline=!1,this.disabled=!1}render(){const a=(0,g.b)(this);return(0,t.h)(t.H,{"aria-disabled":this.disabled?"true":null,class:(0,s.c)(this.color,{[a]:!0,"chip-outline":this.outline,"chip-disabled":this.disabled,"ion-activatable":!0})},(0,t.h)("slot",null),"md"===a&&(0,t.h)("ion-ripple-effect",null))}};l.style={ios:":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;min-height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:1.4285714286em}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){-ms-flex-negative:0;flex-shrink:0;width:1.7142857143em;height:1.7142857143em}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}:host{font-size:clamp(13px, 0.875rem, 22px)}",md:":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;min-height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:1.4285714286em}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){-ms-flex-negative:0;flex-shrink:0;width:1.7142857143em;height:1.7142857143em}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}:host{font-size:0.875rem}"}},3814:(h,e,i)=>{i.d(e,{c:()=>g,g:()=>d,h:()=>s,o:()=>a});var t=i(5861);const s=(o,n)=>null!==n.closest(o),g=(o,n)=>"string"==typeof o&&o.length>0?Object.assign({"ion-color":!0,[`ion-color-${o}`]:!0},n):n,d=o=>{const n={};return(o=>void 0!==o?(Array.isArray(o)?o:o.split(" ")).filter(r=>null!=r).map(r=>r.trim()).filter(r=>""!==r):[])(o).forEach(r=>n[r]=!0),n},l=/^[a-z][a-z0-9+\-.]*:/,a=function(){var o=(0,t.Z)(function*(n,r,p,x){if(null!=n&&"#"!==n[0]&&!l.test(n)){const b=document.querySelector("ion-router");if(b)return r?.preventDefault(),b.push(n,p,x)}return!1});return function(r,p,x,b){return o.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/6821.a638185a1ea8f011.js b/6821.a638185a1ea8f011.js new file mode 100644 index 00000000..442d5342 --- /dev/null +++ b/6821.a638185a1ea8f011.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6821],{6821:(O,s,o)=>{o.r(s),o.d(s,{mdTransitionAnimation:()=>T});var t=o(7700),c=o(3435);const T=(P,e)=>{var a,l,r;const d="40px",u="back"===e.direction,E=e.leavingEl,g=(0,c.g)(e.enteringEl),f=g.querySelector("ion-toolbar"),n=(0,t.c)();if(n.addElement(g).fill("both").beforeRemoveClass("ion-page-invisible"),u?n.duration((null!==(a=e.duration)&&void 0!==a?a:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):n.duration((null!==(l=e.duration)&&void 0!==l?l:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${d})`,"translateY(0px)").fromTo("opacity",.01,1),f){const i=(0,t.c)();i.addElement(f),n.addAnimation(i)}if(E&&u){n.duration((null!==(r=e.duration)&&void 0!==r?r:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const i=(0,t.c)();i.addElement((0,c.g)(E)).onFinish(v=>{1===v&&i.elements.length>0&&i.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${d})`).fromTo("opacity",1,0),n.addAnimation(i)}return n}}}]); \ No newline at end of file diff --git a/7544.15866dc11215f7b3.js b/7544.15866dc11215f7b3.js new file mode 100644 index 00000000..e075a8a1 --- /dev/null +++ b/7544.15866dc11215f7b3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[7544],{7544:(E,m,d)=>{d.r(m),d.d(m,{ion_breadcrumb:()=>e,ion_breadcrumbs:()=>h});var o=d(408),x=d(2961),b=d(3814),u=d(5723),f=d(4649);const e=class{constructor(l){(0,o.r)(this,l),this.ionFocus=(0,o.d)(this,"ionFocus",7),this.ionBlur=(0,o.d)(this,"ionBlur",7),this.collapsedClick=(0,o.d)(this,"collapsedClick",7),this.inheritedAttributes={},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.collapsedIndicatorClick=()=>{this.collapsedClick.emit({ionShadowTarget:this.collapsedRef})},this.collapsed=!1,this.last=void 0,this.showCollapsedIndicator=void 0,this.color=void 0,this.active=!1,this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.separator=void 0,this.target=void 0,this.routerDirection="forward",this.routerAnimation=void 0}componentWillLoad(){this.inheritedAttributes=(0,x.i)(this.el)}isClickable(){return void 0!==this.href}render(){const{color:l,active:a,collapsed:i,disabled:n,download:c,el:g,inheritedAttributes:r,last:p,routerAnimation:k,routerDirection:z,separator:M,showCollapsedIndicator:y,target:O}=this,_=this.isClickable(),B=void 0===this.href?"span":"a",I=n?void 0:this.href,A=(0,f.b)(this),D="span"===B?{}:{download:c,href:I,target:O},j=!p&&(i?!(!y||p):M);return(0,o.h)(o.H,{onClick:w=>(0,b.o)(I,w,z,k),"aria-disabled":n?"true":null,class:(0,b.c)(l,{[A]:!0,"breadcrumb-active":a,"breadcrumb-collapsed":i,"breadcrumb-disabled":n,"in-breadcrumbs-color":(0,b.h)("ion-breadcrumbs[color]",g),"in-toolbar":(0,b.h)("ion-toolbar",this.el),"in-toolbar-color":(0,b.h)("ion-toolbar[color]",this.el),"ion-activatable":_,"ion-focusable":_})},(0,o.h)(B,Object.assign({},D,{class:"breadcrumb-native",part:"native",disabled:n,onFocus:this.onFocus,onBlur:this.onBlur},r),(0,o.h)("slot",{name:"start"}),(0,o.h)("slot",null),(0,o.h)("slot",{name:"end"})),y&&(0,o.h)("button",{part:"collapsed-indicator","aria-label":"Show more breadcrumbs",onClick:()=>this.collapsedIndicatorClick(),ref:w=>this.collapsedRef=w,class:{"breadcrumbs-collapsed-indicator":!0}},(0,o.h)("ion-icon",{"aria-hidden":"true",icon:u.n,lazy:!1})),j&&(0,o.h)("span",{class:"breadcrumb-separator",part:"separator","aria-hidden":"true"},(0,o.h)("slot",{name:"separator"},"ios"===A?(0,o.h)("ion-icon",{icon:u.m,lazy:!1,"flip-rtl":!0}):(0,o.h)("span",null,"/"))))}get el(){return(0,o.f)(this)}};e.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-850, #2d4665);--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--color-active);--background-focused:var(--ion-color-step-50, rgba(233, 237, 243, 0.7));font-size:clamp(16px, 1rem, 22px)}:host(.breadcrumb-active){font-weight:600}.breadcrumb-native{border-radius:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:5px;padding-bottom:5px;border:1px solid transparent}:host(.ion-focused) .breadcrumb-native{border-radius:8px}:host(.in-breadcrumbs-color.ion-focused) .breadcrumb-native,:host(.ion-color.ion-focused) .breadcrumb-native{background:rgba(var(--ion-color-base-rgb), 0.1);color:var(--ion-color-base)}:host(.ion-focused) ::slotted(ion-icon),:host(.in-breadcrumbs-color.ion-focused) ::slotted(ion-icon),:host(.ion-color.ion-focused) ::slotted(ion-icon){color:var(--ion-color-step-750, #445b78)}.breadcrumb-separator{color:var(--ion-color-step-550, #73849a)}::slotted(ion-icon){color:var(--ion-color-step-400, #92a0b3);font-size:min(1.125rem, 21.6px)}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, #242d39)}.breadcrumbs-collapsed-indicator{border-radius:4px;background:var(--ion-color-step-100, #e9edf3);color:var(--ion-color-step-550, #73849a)}.breadcrumbs-collapsed-indicator:hover{opacity:0.45}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, #d9e0ea)}.breadcrumbs-collapsed-indicator ion-icon{font-size:min(1.375rem, 22px)}",md:":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-600, #677483);--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--ion-color-step-800, #35404e);--background-focused:var(--ion-color-step-50, #fff)}:host(.breadcrumb-active){font-weight:500}.breadcrumb-native{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px}.breadcrumb-separator{-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:-1px}:host(.ion-focused) .breadcrumb-native{border-radius:4px;-webkit-box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12);box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12)}.breadcrumb-separator{color:var(--ion-color-step-550, #73849a)}::slotted(ion-icon){color:var(--ion-color-step-550, #7d8894);font-size:1.125rem}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, #222d3a)}.breadcrumbs-collapsed-indicator{border-radius:2px;background:var(--ion-color-step-100, #eef1f3);color:var(--ion-color-step-550, #73849a)}.breadcrumbs-collapsed-indicator:hover{opacity:0.7}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, #dfe5e8)}"};const h=class{constructor(l){(0,o.r)(this,l),this.ionCollapsedClick=(0,o.d)(this,"ionCollapsedClick",7),this.breadcrumbsInit=()=>{this.setBreadcrumbSeparator(),this.setMaxItems()},this.resetActiveBreadcrumb=()=>{const i=this.getBreadcrumbs().find(n=>n.active);i&&this.activeChanged&&(i.active=!1)},this.setMaxItems=()=>{const{itemsAfterCollapse:a,itemsBeforeCollapse:i,maxItems:n}=this,c=this.getBreadcrumbs();for(const r of c)r.showCollapsedIndicator=!1,r.collapsed=!1;void 0!==n&&c.length>n&&i+a<=n&&c.forEach((r,p)=>{p===i&&(r.showCollapsedIndicator=!0),p>=i&&p{const{itemsAfterCollapse:a,itemsBeforeCollapse:i,maxItems:n}=this,c=this.getBreadcrumbs(),g=c.find(r=>r.active);for(const r of c){const p=void 0!==n&&0===a?r===c[i]:r===c[c.length-1];r.last=p,r.separator=void 0!==r.separator?r.separator:!p||void 0,!g&&p&&(r.active=!0,this.activeChanged=!0)}},this.getBreadcrumbs=()=>Array.from(this.el.querySelectorAll("ion-breadcrumb")),this.slotChanged=()=>{this.resetActiveBreadcrumb(),this.breadcrumbsInit()},this.collapsed=void 0,this.activeChanged=void 0,this.color=void 0,this.maxItems=void 0,this.itemsBeforeCollapse=1,this.itemsAfterCollapse=1}onCollapsedClick(l){const i=this.getBreadcrumbs().filter(n=>n.collapsed);this.ionCollapsedClick.emit(Object.assign(Object.assign({},l.detail),{collapsedBreadcrumbs:i}))}maxItemsChanged(){this.resetActiveBreadcrumb(),this.breadcrumbsInit()}componentWillLoad(){this.breadcrumbsInit()}render(){const{color:l,collapsed:a}=this,i=(0,f.b)(this);return(0,o.h)(o.H,{class:(0,b.c)(l,{[i]:!0,"in-toolbar":(0,b.h)("ion-toolbar",this.el),"in-toolbar-color":(0,b.h)("ion-toolbar[color]",this.el),"breadcrumbs-collapsed":a})},(0,o.h)("slot",{onSlotchange:this.slotChanged}))}get el(){return(0,o.f)(this)}static get watchers(){return{maxItems:["maxItemsChanged"],itemsBeforeCollapse:["maxItemsChanged"],itemsAfterCollapse:["maxItemsChanged"]}}};h.style={ios:":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:0;padding-bottom:0;-ms-flex-pack:center;justify-content:center}",md:":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}"}},3814:(E,m,d)=>{d.d(m,{c:()=>b,g:()=>f,h:()=>x,o:()=>C});var o=d(5861);const x=(e,t)=>null!==t.closest(e),b=(e,t)=>"string"==typeof e&&e.length>0?Object.assign({"ion-color":!0,[`ion-color-${e}`]:!0},t):t,f=e=>{const t={};return(e=>void 0!==e?(Array.isArray(e)?e:e.split(" ")).filter(s=>null!=s).map(s=>s.trim()).filter(s=>""!==s):[])(e).forEach(s=>t[s]=!0),t},v=/^[a-z][a-z0-9+\-.]*:/,C=function(){var e=(0,o.Z)(function*(t,s,h,l){if(null!=t&&"#"!==t[0]&&!v.test(t)){const a=document.querySelector("ion-router");if(a)return s?.preventDefault(),a.push(t,h,l)}return!1});return function(s,h,l,a){return e.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/7544.41de329eea7a7890.js b/7544.41de329eea7a7890.js deleted file mode 100644 index 0eedec5f..00000000 --- a/7544.41de329eea7a7890.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[7544],{7544:(E,u,d)=>{d.r(u),d.d(u,{ion_breadcrumb:()=>e,ion_breadcrumbs:()=>h});var o=d(1071),x=d(2674),b=d(2997),m=d(6026),f=d(7263);const e=class{constructor(l){(0,o.r)(this,l),this.ionFocus=(0,o.d)(this,"ionFocus",7),this.ionBlur=(0,o.d)(this,"ionBlur",7),this.collapsedClick=(0,o.d)(this,"collapsedClick",7),this.inheritedAttributes={},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.collapsedIndicatorClick=()=>{this.collapsedClick.emit({ionShadowTarget:this.collapsedRef})},this.collapsed=!1,this.last=void 0,this.showCollapsedIndicator=void 0,this.color=void 0,this.active=!1,this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.separator=void 0,this.target=void 0,this.routerDirection="forward",this.routerAnimation=void 0}componentWillLoad(){this.inheritedAttributes=(0,x.i)(this.el)}isClickable(){return void 0!==this.href}render(){const{color:l,active:a,collapsed:i,disabled:n,download:c,el:g,inheritedAttributes:r,last:p,routerAnimation:k,routerDirection:M,separator:z,showCollapsedIndicator:y,target:O}=this,_=this.isClickable(),B=void 0===this.href?"span":"a",I=n?void 0:this.href,A=(0,f.b)(this),D="span"===B?{}:{download:c,href:I,target:O},j=!p&&(i?!(!y||p):z);return(0,o.h)(o.H,{onClick:w=>(0,b.o)(I,w,M,k),"aria-disabled":n?"true":null,class:(0,b.c)(l,{[A]:!0,"breadcrumb-active":a,"breadcrumb-collapsed":i,"breadcrumb-disabled":n,"in-breadcrumbs-color":(0,b.h)("ion-breadcrumbs[color]",g),"in-toolbar":(0,b.h)("ion-toolbar",this.el),"in-toolbar-color":(0,b.h)("ion-toolbar[color]",this.el),"ion-activatable":_,"ion-focusable":_})},(0,o.h)(B,Object.assign({},D,{class:"breadcrumb-native",part:"native",disabled:n,onFocus:this.onFocus,onBlur:this.onBlur},r),(0,o.h)("slot",{name:"start"}),(0,o.h)("slot",null),(0,o.h)("slot",{name:"end"})),y&&(0,o.h)("button",{part:"collapsed-indicator","aria-label":"Show more breadcrumbs",onClick:()=>this.collapsedIndicatorClick(),ref:w=>this.collapsedRef=w,class:{"breadcrumbs-collapsed-indicator":!0}},(0,o.h)("ion-icon",{"aria-hidden":"true",icon:m.n,lazy:!1})),j&&(0,o.h)("span",{class:"breadcrumb-separator",part:"separator","aria-hidden":"true"},(0,o.h)("slot",{name:"separator"},"ios"===A?(0,o.h)("ion-icon",{icon:m.m,lazy:!1,"flip-rtl":!0}):(0,o.h)("span",null,"/"))))}get el(){return(0,o.f)(this)}};e.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:16px;font-weight:400;line-height:1.5}.breadcrumb-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:22px}:host{--color:var(--ion-color-step-850, #2d4665);--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--color-active);--background-focused:var(--ion-color-step-50, rgba(233, 237, 243, 0.7))}:host(.breadcrumb-active){font-weight:600}.breadcrumb-native{border-radius:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:5px;padding-bottom:5px;border:1px solid transparent}:host(.ion-focused) .breadcrumb-native{border-radius:8px}:host(.in-breadcrumbs-color.ion-focused) .breadcrumb-native,:host(.ion-color.ion-focused) .breadcrumb-native{background:rgba(var(--ion-color-base-rgb), 0.1);color:var(--ion-color-base)}:host(.ion-focused) ::slotted(ion-icon),:host(.in-breadcrumbs-color.ion-focused) ::slotted(ion-icon),:host(.ion-color.ion-focused) ::slotted(ion-icon){color:var(--ion-color-step-750, #445b78)}.breadcrumb-separator{color:var(--ion-color-step-550, #73849a)}::slotted(ion-icon){color:var(--ion-color-step-400, #92a0b3);font-size:18px}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, #242d39)}.breadcrumbs-collapsed-indicator{border-radius:4px;background:var(--ion-color-step-100, #e9edf3);color:var(--ion-color-step-550, #73849a)}.breadcrumbs-collapsed-indicator:hover{opacity:0.45}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, #d9e0ea)}",md:":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:16px;font-weight:400;line-height:1.5}.breadcrumb-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:22px}:host{--color:var(--ion-color-step-600, #677483);--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--ion-color-step-800, #35404e);--background-focused:var(--ion-color-step-50, #fff)}:host(.breadcrumb-active){font-weight:500}.breadcrumb-native{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px}.breadcrumb-separator{-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:-1px}:host(.ion-focused) .breadcrumb-native{border-radius:4px;-webkit-box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12);box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12)}.breadcrumb-separator{color:var(--ion-color-step-550, #73849a)}::slotted(ion-icon){color:var(--ion-color-step-550, #7d8894);font-size:18px}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, #222d3a)}.breadcrumbs-collapsed-indicator{border-radius:2px;background:var(--ion-color-step-100, #eef1f3);color:var(--ion-color-step-550, #73849a)}.breadcrumbs-collapsed-indicator:hover{opacity:0.7}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, #dfe5e8)}"};const h=class{constructor(l){(0,o.r)(this,l),this.ionCollapsedClick=(0,o.d)(this,"ionCollapsedClick",7),this.breadcrumbsInit=()=>{this.setBreadcrumbSeparator(),this.setMaxItems()},this.resetActiveBreadcrumb=()=>{const i=this.getBreadcrumbs().find(n=>n.active);i&&this.activeChanged&&(i.active=!1)},this.setMaxItems=()=>{const{itemsAfterCollapse:a,itemsBeforeCollapse:i,maxItems:n}=this,c=this.getBreadcrumbs();for(const r of c)r.showCollapsedIndicator=!1,r.collapsed=!1;void 0!==n&&c.length>n&&i+a<=n&&c.forEach((r,p)=>{p===i&&(r.showCollapsedIndicator=!0),p>=i&&p{const{itemsAfterCollapse:a,itemsBeforeCollapse:i,maxItems:n}=this,c=this.getBreadcrumbs(),g=c.find(r=>r.active);for(const r of c){const p=void 0!==n&&0===a?r===c[i]:r===c[c.length-1];r.last=p,r.separator=void 0!==r.separator?r.separator:!p||void 0,!g&&p&&(r.active=!0,this.activeChanged=!0)}},this.getBreadcrumbs=()=>Array.from(this.el.querySelectorAll("ion-breadcrumb")),this.slotChanged=()=>{this.resetActiveBreadcrumb(),this.breadcrumbsInit()},this.collapsed=void 0,this.activeChanged=void 0,this.color=void 0,this.maxItems=void 0,this.itemsBeforeCollapse=1,this.itemsAfterCollapse=1}onCollapsedClick(l){const i=this.getBreadcrumbs().filter(n=>n.collapsed);this.ionCollapsedClick.emit(Object.assign(Object.assign({},l.detail),{collapsedBreadcrumbs:i}))}maxItemsChanged(){this.resetActiveBreadcrumb(),this.breadcrumbsInit()}componentWillLoad(){this.breadcrumbsInit()}render(){const{color:l,collapsed:a}=this,i=(0,f.b)(this);return(0,o.h)(o.H,{class:(0,b.c)(l,{[i]:!0,"in-toolbar":(0,b.h)("ion-toolbar",this.el),"in-toolbar-color":(0,b.h)("ion-toolbar[color]",this.el),"breadcrumbs-collapsed":a})},(0,o.h)("slot",{onSlotchange:this.slotChanged}))}get el(){return(0,o.f)(this)}static get watchers(){return{maxItems:["maxItemsChanged"],itemsBeforeCollapse:["maxItemsChanged"],itemsAfterCollapse:["maxItemsChanged"]}}};h.style={ios:":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:0;padding-bottom:0;-ms-flex-pack:center;justify-content:center}",md:":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}"}},2997:(E,u,d)=>{d.d(u,{c:()=>b,g:()=>f,h:()=>x,o:()=>C});var o=d(5861);const x=(e,t)=>null!==t.closest(e),b=(e,t)=>"string"==typeof e&&e.length>0?Object.assign({"ion-color":!0,[`ion-color-${e}`]:!0},t):t,f=e=>{const t={};return(e=>void 0!==e?(Array.isArray(e)?e:e.split(" ")).filter(s=>null!=s).map(s=>s.trim()).filter(s=>""!==s):[])(e).forEach(s=>t[s]=!0),t},v=/^[a-z][a-z0-9+\-.]*:/,C=function(){var e=(0,o.Z)(function*(t,s,h,l){if(null!=t&&"#"!==t[0]&&!v.test(t)){const a=document.querySelector("ion-router");if(a)return s?.preventDefault(),a.push(t,h,l)}return!1});return function(s,h,l,a){return e.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/7602.6bacc62fa08eaefd.js b/7602.6bacc62fa08eaefd.js new file mode 100644 index 00000000..dec3ffdb --- /dev/null +++ b/7602.6bacc62fa08eaefd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[7602],{7602:(w,b,c)=>{c.r(b),c.d(b,{ion_picker_column_internal:()=>g});var _=c(5861),l=c(408),u=c(2961),v=c(1765),k=c(4649),I=c(3814);c(6319),c(2972);const g=class{constructor(n){(0,l.r)(this,n),this.ionChange=(0,l.d)(this,"ionChange",7),this.isScrolling=!1,this.isColumnVisible=!1,this.canExitInputMode=!0,this.centerPickerItemInView=(e,t=!0,s=!0)=>{const{el:i,isColumnVisible:h}=this;if(h){const a=e.offsetTop-3*e.clientHeight+e.clientHeight/2;i.scrollTop!==a&&(this.canExitInputMode=s,i.scroll({top:a,left:0,behavior:t?"smooth":void 0}))}},this.setPickerItemActiveState=(e,t)=>{t?(e.classList.add(m),e.part.add(y)):(e.classList.remove(m),e.part.remove(y))},this.inputModeChange=e=>{if(!this.numericInput)return;const{useInputMode:t,inputModeColumn:s}=e.detail;this.setInputModeActive(!(!t||void 0!==s&&s!==this.el))},this.setInputModeActive=e=>{this.isScrolling?this.scrollEndCallback=()=>{this.isActive=e}:this.isActive=e},this.initializeScrollListener=()=>{const e=(0,k.a)("ios"),{el:t}=this;let s,i=this.activeItem;const h=()=>{(0,u.r)(()=>{s&&(clearTimeout(s),s=void 0),this.isScrolling||(e&&(0,v.a)(),this.isScrolling=!0);const a=t.getBoundingClientRect(),p=t.shadowRoot.elementFromPoint(a.x+a.width/2,a.y+a.height/2);null!==i&&this.setPickerItemActiveState(i,!1),null!==p&&!p.disabled&&(p!==i&&(e&&(0,v.b)(),this.canExitInputMode&&this.exitInputMode()),i=p,this.setPickerItemActiveState(p,!0),s=setTimeout(()=>{this.isScrolling=!1,e&&(0,v.h)();const{scrollEndCallback:A}=this;A&&(A(),this.scrollEndCallback=void 0),this.canExitInputMode=!0;const M=p.getAttribute("data-index");if(null===M)return;const L=parseInt(M,10),P=this.items[L];P.value!==this.value&&this.setValue(P.value)},250))})};(0,u.r)(()=>{t.addEventListener("scroll",h),this.destroyScrollListener=()=>{t.removeEventListener("scroll",h)}})},this.exitInputMode=()=>{const{parentEl:e}=this;null!=e&&(e.exitInputMode(),this.el.classList.remove("picker-column-active"))},this.isActive=!1,this.disabled=!1,this.items=[],this.value=void 0,this.color="primary",this.numericInput=!1}valueChange(){this.isColumnVisible&&this.scrollActiveItemIntoView()}componentWillLoad(){new IntersectionObserver(t=>{if(t[0].isIntersecting){const{activeItem:i,el:h}=this;this.isColumnVisible=!0;const a=(0,u.g)(h).querySelector(`.${m}`);a&&this.setPickerItemActiveState(a,!1),this.scrollActiveItemIntoView(),i&&this.setPickerItemActiveState(i,!0),this.initializeScrollListener()}else this.isColumnVisible=!1,this.destroyScrollListener&&(this.destroyScrollListener(),this.destroyScrollListener=void 0)},{threshold:.001}).observe(this.el);const e=this.parentEl=this.el.closest("ion-picker-internal");null!==e&&e.addEventListener("ionInputModeChange",t=>this.inputModeChange(t))}componentDidRender(){var n;const{activeItem:e,items:t,isColumnVisible:s,value:i}=this;s&&(e?this.scrollActiveItemIntoView():(null===(n=t[0])||void 0===n?void 0:n.value)!==i&&this.setValue(t[0].value))}scrollActiveItemIntoView(){var n=this;return(0,_.Z)(function*(){const e=n.activeItem;e&&n.centerPickerItemInView(e,!1,!1)})()}setValue(n){var e=this;return(0,_.Z)(function*(){const{items:t}=e;e.value=n;const s=t.find(i=>i.value===n&&!0!==i.disabled);s&&e.ionChange.emit(s)})()}get activeItem(){const n=`.picker-item[data-value="${this.value}"]${this.disabled?"":":not([disabled])"}`;return(0,u.g)(this.el).querySelector(n)}render(){const{items:n,color:e,disabled:t,isActive:s,numericInput:i}=this,h=(0,k.b)(this);return(0,l.h)(l.H,{exportparts:`${f}, ${y}`,disabled:t,tabindex:t?null:0,class:(0,I.c)(e,{[h]:!0,"picker-column-active":s,"picker-column-numeric-input":i})},(0,l.h)("div",{class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),(0,l.h)("div",{class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),(0,l.h)("div",{class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),n.map((a,E)=>(0,l.h)("button",{tabindex:"-1",class:{"picker-item":!0},"data-value":a.value,"data-index":E,onClick:p=>{this.centerPickerItemInView(p.target,!0)},disabled:t||a.disabled||!1,part:f},a.text)),(0,l.h)("div",{class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),(0,l.h)("div",{class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),(0,l.h)("div",{class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"))}get el(){return(0,l.f)(this)}static get watchers(){return{value:["valueChange"]}}},m="picker-item-active",f="wheel-item",y="active";g.style={ios:":host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}:host::-webkit-scrollbar{display:none}:host .picker-item{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden;scroll-snap-align:center}:host .picker-item-empty,:host .picker-item[disabled]{cursor:default}:host .picker-item-empty,:host(:not([disabled])) .picker-item[disabled]{scroll-snap-align:none}:host([disabled]){overflow-y:hidden}:host .picker-item[disabled]{opacity:0.4}:host(.picker-column-active) .picker-item.picker-item-active{color:var(--ion-color-base)}@media (any-hover: hover){:host(:focus){outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}",md:":host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}:host::-webkit-scrollbar{display:none}:host .picker-item{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden;scroll-snap-align:center}:host .picker-item-empty,:host .picker-item[disabled]{cursor:default}:host .picker-item-empty,:host(:not([disabled])) .picker-item[disabled]{scroll-snap-align:none}:host([disabled]){overflow-y:hidden}:host .picker-item[disabled]{opacity:0.4}:host(.picker-column-active) .picker-item.picker-item-active{color:var(--ion-color-base)}@media (any-hover: hover){:host(:focus){outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}:host .picker-item-active{color:var(--ion-color-base)}"}},3814:(w,b,c)=>{c.d(b,{c:()=>u,g:()=>k,h:()=>l,o:()=>C});var _=c(5861);const l=(r,o)=>null!==o.closest(r),u=(r,o)=>"string"==typeof r&&r.length>0?Object.assign({"ion-color":!0,[`ion-color-${r}`]:!0},o):o,k=r=>{const o={};return(r=>void 0!==r?(Array.isArray(r)?r:r.split(" ")).filter(d=>null!=d).map(d=>d.trim()).filter(d=>""!==d):[])(r).forEach(d=>o[d]=!0),o},I=/^[a-z][a-z0-9+\-.]*:/,C=function(){var r=(0,_.Z)(function*(o,d,g,m){if(null!=o&&"#"!==o[0]&&!I.test(o)){const f=document.querySelector("ion-router");if(f)return d?.preventDefault(),f.push(o,g,m)}return!1});return function(d,g,m,f){return r.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/7602.bf00fda931b6b3f9.js b/7602.bf00fda931b6b3f9.js deleted file mode 100644 index 81d5bc11..00000000 --- a/7602.bf00fda931b6b3f9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[7602],{7602:(P,_,a)=>{a.r(_),a.d(_,{ion_picker_column_internal:()=>g});var b=a(5861),l=a(1071),h=a(2674),v=a(2669),k=a(7263),I=a(2997);a(6447),a(7693);const g=class{constructor(o){(0,l.r)(this,o),this.ionChange=(0,l.d)(this,"ionChange",7),this.isScrolling=!1,this.isColumnVisible=!1,this.canExitInputMode=!0,this.centerPickerItemInView=(e,t=!0,n=!0)=>{const{el:i,isColumnVisible:p}=this;if(p){const d=e.offsetTop-3*e.clientHeight+e.clientHeight/2;i.scrollTop!==d&&(this.canExitInputMode=n,i.scroll({top:d,left:0,behavior:t?"smooth":void 0}))}},this.setPickerItemActiveState=(e,t)=>{t?(e.classList.add(u),e.part.add(y)):(e.classList.remove(u),e.part.remove(y))},this.inputModeChange=e=>{if(!this.numericInput)return;const{useInputMode:t,inputModeColumn:n}=e.detail;this.setInputModeActive(!(!t||void 0!==n&&n!==this.el))},this.setInputModeActive=e=>{this.isScrolling?this.scrollEndCallback=()=>{this.isActive=e}:this.isActive=e},this.initializeScrollListener=()=>{const e=(0,k.a)("ios"),{el:t}=this;let n,i=this.activeItem;const p=()=>{(0,h.r)(()=>{n&&(clearTimeout(n),n=void 0),this.isScrolling||(e&&(0,v.a)(),this.isScrolling=!0);const d=t.getBoundingClientRect(),f=t.shadowRoot.elementFromPoint(d.x+d.width/2,d.y+d.height/2);null!==i&&this.setPickerItemActiveState(i,!1),null!==f&&!f.disabled&&(f!==i&&(e&&(0,v.b)(),this.canExitInputMode&&this.exitInputMode()),i=f,this.setPickerItemActiveState(f,!0),n=setTimeout(()=>{this.isScrolling=!1,e&&(0,v.h)();const{scrollEndCallback:C}=this;C&&(C(),this.scrollEndCallback=void 0),this.canExitInputMode=!0;const A=f.getAttribute("data-index");if(null===A)return;const L=parseInt(A,10),M=this.items[L];M.value!==this.value&&this.setValue(M.value)},250))})};(0,h.r)(()=>{t.addEventListener("scroll",p),this.destroyScrollListener=()=>{t.removeEventListener("scroll",p)}})},this.exitInputMode=()=>{const{parentEl:e}=this;null!=e&&(e.exitInputMode(),this.el.classList.remove("picker-column-active"))},this.isActive=!1,this.items=[],this.value=void 0,this.color="primary",this.numericInput=!1}valueChange(){this.isColumnVisible&&this.scrollActiveItemIntoView()}componentWillLoad(){new IntersectionObserver(t=>{if(t[0].isIntersecting){const{activeItem:i,el:p}=this;this.isColumnVisible=!0;const d=(0,h.g)(p).querySelector(`.${u}`);d&&this.setPickerItemActiveState(d,!1),this.scrollActiveItemIntoView(),i&&this.setPickerItemActiveState(i,!0),this.initializeScrollListener()}else this.isColumnVisible=!1,this.destroyScrollListener&&(this.destroyScrollListener(),this.destroyScrollListener=void 0)},{threshold:.001}).observe(this.el);const e=this.parentEl=this.el.closest("ion-picker-internal");null!==e&&e.addEventListener("ionInputModeChange",t=>this.inputModeChange(t))}componentDidRender(){var o;const{activeItem:e,items:t,isColumnVisible:n,value:i}=this;n&&(e?this.scrollActiveItemIntoView():(null===(o=t[0])||void 0===o?void 0:o.value)!==i&&this.setValue(t[0].value))}scrollActiveItemIntoView(){var o=this;return(0,b.Z)(function*(){const e=o.activeItem;e&&o.centerPickerItemInView(e,!1,!1)})()}setValue(o){var e=this;return(0,b.Z)(function*(){const{items:t}=e;e.value=o;const n=t.find(i=>i.value===o&&!0!==i.disabled);n&&e.ionChange.emit(n)})()}get activeItem(){return(0,h.g)(this.el).querySelector(`.picker-item[data-value="${this.value}"]:not([disabled])`)}render(){const{items:o,color:e,isActive:t,numericInput:n}=this,i=(0,k.b)(this);return(0,l.h)(l.H,{exportparts:`${m}, ${y}`,tabindex:0,class:(0,I.c)(e,{[i]:!0,"picker-column-active":t,"picker-column-numeric-input":n})},(0,l.h)("div",{class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),(0,l.h)("div",{class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),(0,l.h)("div",{class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),o.map((p,d)=>(0,l.h)("button",{tabindex:"-1",class:{"picker-item":!0,"picker-item-disabled":p.disabled||!1},"data-value":p.value,"data-index":d,onClick:E=>{this.centerPickerItemInView(E.target,!0)},disabled:p.disabled,part:m},p.text)),(0,l.h)("div",{class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),(0,l.h)("div",{class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),(0,l.h)("div",{class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"))}get el(){return(0,l.f)(this)}static get watchers(){return{value:["valueChange"]}}},u="picker-item-active",m="wheel-item",y="active";g.style={ios:":host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}:host::-webkit-scrollbar{display:none}:host .picker-item{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden;scroll-snap-align:center}:host .picker-item-empty,:host .picker-item.picker-item-disabled{scroll-snap-align:none;cursor:default}:host .picker-item.picker-item-disabled{opacity:0.4}:host(.picker-column-active) .picker-item.picker-item-active{color:var(--ion-color-base)}@media (any-hover: hover){:host(:focus){outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}",md:":host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}:host::-webkit-scrollbar{display:none}:host .picker-item{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden;scroll-snap-align:center}:host .picker-item-empty,:host .picker-item.picker-item-disabled{scroll-snap-align:none;cursor:default}:host .picker-item.picker-item-disabled{opacity:0.4}:host(.picker-column-active) .picker-item.picker-item-active{color:var(--ion-color-base)}@media (any-hover: hover){:host(:focus){outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}:host .picker-item-active{color:var(--ion-color-base)}"}},2997:(P,_,a)=>{a.d(_,{c:()=>h,g:()=>k,h:()=>l,o:()=>x});var b=a(5861);const l=(r,s)=>null!==s.closest(r),h=(r,s)=>"string"==typeof r&&r.length>0?Object.assign({"ion-color":!0,[`ion-color-${r}`]:!0},s):s,k=r=>{const s={};return(r=>void 0!==r?(Array.isArray(r)?r:r.split(" ")).filter(c=>null!=c).map(c=>c.trim()).filter(c=>""!==c):[])(r).forEach(c=>s[c]=!0),s},I=/^[a-z][a-z0-9+\-.]*:/,x=function(){var r=(0,b.Z)(function*(s,c,g,u){if(null!=s&&"#"!==s[0]&&!I.test(s)){const m=document.querySelector("ion-router");if(m)return c?.preventDefault(),m.push(s,g,u)}return!1});return function(c,g,u,m){return r.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/7700.b428b0a4661941aa.js b/7700.b428b0a4661941aa.js new file mode 100644 index 00000000..dad7d47f --- /dev/null +++ b/7700.b428b0a4661941aa.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[7700],{7700:(kt,kn,fn)=>{fn.d(kn,{c:()=>Wn});const cn=typeof window<"u"?window:void 0;typeof document<"u"&&document;var F=fn(9804);let q;const Tn=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),J=i=>(void 0===q&&(q=void 0===i.style.animationName&&void 0!==i.style.webkitAnimationName?"-webkit-":""),q),f=(i,o,s)=>{const u=o.startsWith("animation")?J(i):"";i.style.setProperty(u+o,s)},E=(i,o)=>{const s=o.startsWith("animation")?J(i):"";i.style.removeProperty(s+o)},un=[],V=(i=[],o)=>{if(void 0!==o){const s=Array.isArray(o)?o:[o];return[...i,...s]}return i},Wn=i=>{let o,s,u,l,A,v,m,G,T,W,_,O,r,c=[],Q=[],X=[],$=!1,Y={},nn=[],tn=[],en={},P=0,j=!1,B=!1,x=!0,L=!1,I=!0,H=!1;const ln=i,on=[],N=[],Z=[],h=[],p=[],rn=[],dn=[],mn=[],hn=[],pn=[],S=[],Ln="function"==typeof AnimationEffect||void 0!==cn&&"function"==typeof cn.AnimationEffect,C="function"==typeof Element&&"function"==typeof Element.prototype.animate&&Ln,yn=()=>S,gn=(n,t)=>{const e=t.findIndex(a=>a.c===n);e>-1&&t.splice(e,1)},sn=(n,t)=>((t?.oneTimeCallback?N:on).push({c:n,o:t}),r),En=()=>{if(C)S.forEach(n=>{n.cancel()}),S.length=0;else{const n=h.slice();(0,F.r)(()=>{n.forEach(t=>{E(t,"animation-name"),E(t,"animation-duration"),E(t,"animation-timing-function"),E(t,"animation-iteration-count"),E(t,"animation-delay"),E(t,"animation-play-state"),E(t,"animation-fill-mode"),E(t,"animation-direction")})})}},An=()=>{rn.forEach(n=>{n?.parentNode&&n.parentNode.removeChild(n)}),rn.length=0},z=()=>void 0!==A?A:m?m.getFill():"both",D=()=>void 0!==T?T:void 0!==v?v:m?m.getDirection():"normal",M=()=>j?"linear":void 0!==u?u:m?m.getEasing():"linear",b=()=>B?0:void 0!==W?W:void 0!==s?s:m?m.getDuration():0,w=()=>void 0!==l?l:m?m.getIterations():1,K=()=>void 0!==_?_:void 0!==o?o:m?m.getDelay():0,R=()=>{0!==P&&(P--,0===P&&((()=>{an(),hn.forEach(d=>d()),pn.forEach(d=>d());const n=x?1:0,t=nn,e=tn,a=en;h.forEach(d=>{const g=d.classList;t.forEach(k=>g.add(k)),e.forEach(k=>g.remove(k));for(const k in a)a.hasOwnProperty(k)&&f(d,k,a[k])}),W=void 0,T=void 0,_=void 0,on.forEach(d=>d.c(n,r)),N.forEach(d=>d.c(n,r)),N.length=0,I=!0,x&&(L=!0),x=!0})(),m&&m.animationFinish()))},Cn=(n=!0)=>{An();const t=(i=>(i.forEach(o=>{for(const s in o)if(o.hasOwnProperty(s)){const u=o[s];if("easing"===s)o["animation-timing-function"]=u,delete o[s];else{const l=Tn(s);l!==s&&(o[l]=u,delete o[s])}}}),i))(c);h.forEach(e=>{if(t.length>0){const a=((i=[])=>i.map(o=>{const s=o.offset,u=[];for(const l in o)o.hasOwnProperty(l)&&"offset"!==l&&u.push(`${l}: ${o[l]};`);return`${100*s}% { ${u.join(" ")} }`}).join(" "))(t);O=void 0!==i?i:(i=>{let o=un.indexOf(i);return o<0&&(o=un.push(i)-1),`ion-animation-${o}`})(a);const d=((i,o,s)=>{var u;const l=(i=>{const o=void 0!==i.getRootNode?i.getRootNode():i;return o.head||o})(s),A=J(s),v=l.querySelector("#"+i);if(v)return v;const c=(null!==(u=s.ownerDocument)&&void 0!==u?u:document).createElement("style");return c.id=i,c.textContent=`@${A}keyframes ${i} { ${o} } @${A}keyframes ${i}-alt { ${o} }`,l.appendChild(c),c})(O,a,e);rn.push(d),f(e,"animation-duration",`${b()}ms`),f(e,"animation-timing-function",M()),f(e,"animation-delay",`${K()}ms`),f(e,"animation-fill-mode",z()),f(e,"animation-direction",D());const g=w()===1/0?"infinite":w().toString();f(e,"animation-iteration-count",g),f(e,"animation-play-state","paused"),n&&f(e,"animation-name",`${d.id}-alt`),(0,F.r)(()=>{f(e,"animation-name",d.id||null)})}})},bn=(n=!0)=>{(()=>{dn.forEach(a=>a()),mn.forEach(a=>a());const n=Q,t=X,e=Y;h.forEach(a=>{const d=a.classList;n.forEach(g=>d.add(g)),t.forEach(g=>d.remove(g));for(const g in e)e.hasOwnProperty(g)&&f(a,g,e[g])})})(),c.length>0&&(C?(h.forEach(n=>{const t=n.animate(c,{id:ln,delay:K(),duration:b(),easing:M(),iterations:w(),fill:z(),direction:D()});t.pause(),S.push(t)}),S.length>0&&(S[0].onfinish=()=>{R()})):Cn(n)),$=!0},U=n=>{if(n=Math.min(Math.max(n,0),.9999),C)S.forEach(t=>{t.currentTime=t.effect.getComputedTiming().delay+b()*n,t.pause()});else{const t=`-${b()*n}ms`;h.forEach(e=>{c.length>0&&(f(e,"animation-delay",t),f(e,"animation-play-state","paused"))})}},Sn=n=>{S.forEach(t=>{t.effect.updateTiming({delay:K(),duration:b(),easing:M(),iterations:w(),fill:z(),direction:D()})}),void 0!==n&&U(n)},vn=(n=!0,t)=>{(0,F.r)(()=>{h.forEach(e=>{f(e,"animation-name",O||null),f(e,"animation-duration",`${b()}ms`),f(e,"animation-timing-function",M()),f(e,"animation-delay",void 0!==t?`-${t*b()}ms`:`${K()}ms`),f(e,"animation-fill-mode",z()||null),f(e,"animation-direction",D()||null);const a=w()===1/0?"infinite":w().toString();f(e,"animation-iteration-count",a),n&&f(e,"animation-name",`${O}-alt`),(0,F.r)(()=>{f(e,"animation-name",O||null)})})})},y=(n=!1,t=!0,e)=>(n&&p.forEach(a=>{a.update(n,t,e)}),C?Sn(e):vn(t,e),r),wn=()=>{$&&(C?S.forEach(n=>{n.pause()}):h.forEach(n=>{f(n,"animation-play-state","paused")}),H=!0)},bt=()=>{G=void 0,R()},an=()=>{G&&clearTimeout(G)},Fn=n=>new Promise(t=>{n?.sync&&(B=!0,sn(()=>B=!1,{oneTimeCallback:!0})),$||bn(),L&&(C?(U(0),Sn()):vn(),L=!1),I&&(P=p.length+1,I=!1);const e=()=>{gn(a,N),t()},a=()=>{gn(e,Z),t()};sn(a,{oneTimeCallback:!0}),((n,t)=>{Z.push({c:n,o:{oneTimeCallback:!0}})})(e),p.forEach(d=>{d.play()}),C?(S.forEach(n=>{n.play()}),(0===c.length||0===h.length)&&R()):(()=>{if(an(),(0,F.r)(()=>{h.forEach(n=>{c.length>0&&f(n,"animation-play-state","running")})}),0===c.length||0===h.length)R();else{const n=K()||0,t=b()||0,e=w()||1;isFinite(e)&&(G=setTimeout(bt,n+t*e+100)),((i,o)=>{let s;const u={passive:!0},A=v=>{i===v.target&&(s&&s(),an(),(0,F.r)(()=>{h.forEach(n=>{E(n,"animation-duration"),E(n,"animation-delay"),E(n,"animation-play-state")}),(0,F.r)(R)}))};i&&(i.addEventListener("webkitAnimationEnd",A,u),i.addEventListener("animationend",A,u),s=()=>{i.removeEventListener("webkitAnimationEnd",A,u),i.removeEventListener("animationend",A,u)})})(h[0])}})(),H=!1}),$n=(n,t)=>{const e=c[0];return void 0===e||void 0!==e.offset&&0!==e.offset?c=[{offset:0,[n]:t},...c]:e[n]=t,r};return r={parentAnimation:m,elements:h,childAnimations:p,id:ln,animationFinish:R,from:$n,to:(n,t)=>{const e=c[c.length-1];return void 0===e||void 0!==e.offset&&1!==e.offset?c=[...c,{offset:1,[n]:t}]:e[n]=t,r},fromTo:(n,t,e)=>$n(n,t).to(n,e),parent:n=>(m=n,r),play:Fn,pause:()=>(p.forEach(n=>{n.pause()}),wn(),r),stop:()=>{p.forEach(n=>{n.stop()}),$&&(En(),$=!1),j=!1,B=!1,I=!0,T=void 0,W=void 0,_=void 0,P=0,L=!1,x=!0,H=!1,Z.forEach(n=>n.c(0,r)),Z.length=0},destroy:n=>(p.forEach(t=>{t.destroy(n)}),(n=>{En(),n&&An()})(n),h.length=0,p.length=0,c.length=0,on.length=0,N.length=0,$=!1,I=!0,r),keyframes:n=>{const t=c!==n;return c=n,t&&(n=>{C?yn().forEach(t=>{const e=t.effect;if(e.setKeyframes)e.setKeyframes(n);else{const a=new KeyframeEffect(e.target,n,e.getTiming());t.effect=a}}):Cn()})(c),r},addAnimation:n=>{if(null!=n)if(Array.isArray(n))for(const t of n)t.parent(r),p.push(t);else n.parent(r),p.push(n);return r},addElement:n=>{if(null!=n)if(1===n.nodeType)h.push(n);else if(n.length>=0)for(let t=0;t(A=n,y(!0),r),direction:n=>(v=n,y(!0),r),iterations:n=>(l=n,y(!0),r),duration:n=>(!C&&0===n&&(n=1),s=n,y(!0),r),easing:n=>(u=n,y(!0),r),delay:n=>(o=n,y(!0),r),getWebAnimations:yn,getKeyframes:()=>c,getFill:z,getDirection:D,getDelay:K,getIterations:w,getEasing:M,getDuration:b,afterAddRead:n=>(hn.push(n),r),afterAddWrite:n=>(pn.push(n),r),afterClearStyles:(n=[])=>{for(const t of n)en[t]="";return r},afterStyles:(n={})=>(en=n,r),afterRemoveClass:n=>(tn=V(tn,n),r),afterAddClass:n=>(nn=V(nn,n),r),beforeAddRead:n=>(dn.push(n),r),beforeAddWrite:n=>(mn.push(n),r),beforeClearStyles:(n=[])=>{for(const t of n)Y[t]="";return r},beforeStyles:(n={})=>(Y=n,r),beforeRemoveClass:n=>(X=V(X,n),r),beforeAddClass:n=>(Q=V(Q,n),r),onFinish:sn,isRunning:()=>0!==P&&!H,progressStart:(n=!1,t)=>(p.forEach(e=>{e.progressStart(n,t)}),wn(),j=n,$||bn(),y(!1,!0,t),r),progressStep:n=>(p.forEach(t=>{t.progressStep(n)}),U(n),r),progressEnd:(n,t,e)=>(j=!1,p.forEach(a=>{a.progressEnd(n,t,e)}),void 0!==e&&(W=e),L=!1,x=!0,0===n?(T="reverse"===D()?"normal":"reverse","reverse"===T&&(x=!1),C?(y(),U(1-t)):(_=(1-t)*b()*-1,y(!1,!1))):1===n&&(C?(y(),U(t)):(_=t*b()*-1,y(!1,!1))),void 0!==n&&!m&&Fn(),r)}}}}]); \ No newline at end of file diff --git a/8034.1073c5fcaf3ff878.js b/8034.1073c5fcaf3ff878.js new file mode 100644 index 00000000..e52e5e4f --- /dev/null +++ b/8034.1073c5fcaf3ff878.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8034],{8034:(E,a,t)=>{t.r(a),t.d(a,{ion_infinite_scroll:()=>f,ion_infinite_scroll_content:()=>g});var d=t(5861),e=t(408),o=t(4253),s=t(4649),h=t(7036);const f=class{constructor(i){(0,e.r)(this,i),this.ionInfinite=(0,e.d)(this,"ionInfinite",7),this.thrPx=0,this.thrPc=0,this.didFire=!1,this.isBusy=!1,this.onScroll=()=>{const n=this.scrollEl;if(!n||!this.canStart())return 1;const l=this.el.offsetHeight;if(0===l)return 2;const r=n.scrollTop,p=n.offsetHeight,m=0!==this.thrPc?p*this.thrPc:this.thrPx;return("bottom"===this.position?n.scrollHeight-l-r-m-p:r-l-m)<0&&!this.didFire?(this.isLoading=!0,this.didFire=!0,this.ionInfinite.emit(),3):4},this.isLoading=!1,this.threshold="15%",this.disabled=!1,this.position="bottom"}thresholdChanged(){const i=this.threshold;i.lastIndexOf("%")>-1?(this.thrPx=0,this.thrPc=parseFloat(i)/100):(this.thrPx=parseFloat(i),this.thrPc=0)}disabledChanged(){const i=this.disabled;i&&(this.isLoading=!1,this.isBusy=!1),this.enableScrollEvents(!i)}connectedCallback(){var i=this;return(0,d.Z)(function*(){const n=(0,o.f)(i.el);n?(i.scrollEl=yield(0,o.g)(n),i.thresholdChanged(),i.disabledChanged(),"top"===i.position&&(0,e.w)(()=>{i.scrollEl&&(i.scrollEl.scrollTop=i.scrollEl.scrollHeight-i.scrollEl.clientHeight)})):(0,o.p)(i.el)})()}disconnectedCallback(){this.enableScrollEvents(!1),this.scrollEl=void 0}complete(){var i=this;return(0,d.Z)(function*(){const n=i.scrollEl;if(i.isLoading&&n)if(i.isLoading=!1,"top"===i.position){i.isBusy=!0;const l=n.scrollHeight-n.scrollTop;requestAnimationFrame(()=>{(0,e.e)(()=>{const c=n.scrollHeight-l;requestAnimationFrame(()=>{(0,e.w)(()=>{n.scrollTop=c,i.isBusy=!1,i.didFire=!1})})})})}else i.didFire=!1})()}canStart(){return!(this.disabled||this.isBusy||!this.scrollEl||this.isLoading)}enableScrollEvents(i){this.scrollEl&&(i?this.scrollEl.addEventListener("scroll",this.onScroll):this.scrollEl.removeEventListener("scroll",this.onScroll))}render(){const i=(0,s.b)(this);return(0,e.h)(e.H,{class:{[i]:!0,"infinite-scroll-loading":this.isLoading,"infinite-scroll-enabled":!this.disabled}})}get el(){return(0,e.f)(this)}static get watchers(){return{threshold:["thresholdChanged"],disabled:["disabledChanged"]}}};f.style="ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}";const g=class{constructor(i){(0,e.r)(this,i),this.customHTMLEnabled=s.c.get("innerHTMLTemplatesEnabled",h.E),this.loadingSpinner=void 0,this.loadingText=void 0}componentDidLoad(){if(void 0===this.loadingSpinner){const i=(0,s.b)(this);this.loadingSpinner=s.c.get("infiniteLoadingSpinner",s.c.get("spinner","ios"===i?"lines":"crescent"))}}renderLoadingText(){const{customHTMLEnabled:i,loadingText:n}=this;return i?(0,e.h)("div",{class:"infinite-loading-text",innerHTML:(0,h.a)(n)}):(0,e.h)("div",{class:"infinite-loading-text"},this.loadingText)}render(){const i=(0,s.b)(this);return(0,e.h)(e.H,{class:{[i]:!0,[`infinite-scroll-content-${i}`]:!0}},(0,e.h)("div",{class:"infinite-loading"},this.loadingSpinner&&(0,e.h)("div",{class:"infinite-loading-spinner"},(0,e.h)("ion-spinner",{name:this.loadingSpinner})),void 0!==this.loadingText&&this.renderLoadingText()))}};g.style={ios:"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:4px;margin-bottom:0}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-ios .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-small-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}",md:"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:4px;margin-bottom:0}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-md .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-small-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}"}}}]); \ No newline at end of file diff --git a/8034.88439e820e3f4f83.js b/8034.88439e820e3f4f83.js deleted file mode 100644 index 1ce76f4a..00000000 --- a/8034.88439e820e3f4f83.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8034],{8034:(E,a,t)=>{t.r(a),t.d(a,{ion_infinite_scroll:()=>f,ion_infinite_scroll_content:()=>g});var d=t(5861),e=t(1071),o=t(6038),s=t(7263),h=t(1180);const f=class{constructor(i){(0,e.r)(this,i),this.ionInfinite=(0,e.d)(this,"ionInfinite",7),this.thrPx=0,this.thrPc=0,this.didFire=!1,this.isBusy=!1,this.onScroll=()=>{const n=this.scrollEl;if(!n||!this.canStart())return 1;const l=this.el.offsetHeight;if(0===l)return 2;const r=n.scrollTop,p=n.offsetHeight,m=0!==this.thrPc?p*this.thrPc:this.thrPx;if(("bottom"===this.position?n.scrollHeight-l-r-m-p:r-l-m)<0){if(!this.didFire)return this.isLoading=!0,this.didFire=!0,this.ionInfinite.emit(),3}else this.didFire=!1;return 4},this.isLoading=!1,this.threshold="15%",this.disabled=!1,this.position="bottom"}thresholdChanged(){const i=this.threshold;i.lastIndexOf("%")>-1?(this.thrPx=0,this.thrPc=parseFloat(i)/100):(this.thrPx=parseFloat(i),this.thrPc=0)}disabledChanged(){const i=this.disabled;i&&(this.isLoading=!1,this.isBusy=!1),this.enableScrollEvents(!i)}connectedCallback(){var i=this;return(0,d.Z)(function*(){const n=(0,o.f)(i.el);n?(i.scrollEl=yield(0,o.g)(n),i.thresholdChanged(),i.disabledChanged(),"top"===i.position&&(0,e.w)(()=>{i.scrollEl&&(i.scrollEl.scrollTop=i.scrollEl.scrollHeight-i.scrollEl.clientHeight)})):(0,o.p)(i.el)})()}disconnectedCallback(){this.enableScrollEvents(!1),this.scrollEl=void 0}complete(){var i=this;return(0,d.Z)(function*(){const n=i.scrollEl;if(i.isLoading&&n&&(i.isLoading=!1,"top"===i.position)){i.isBusy=!0;const l=n.scrollHeight-n.scrollTop;requestAnimationFrame(()=>{(0,e.e)(()=>{const c=n.scrollHeight-l;requestAnimationFrame(()=>{(0,e.w)(()=>{n.scrollTop=c,i.isBusy=!1})})})})}})()}canStart(){return!(this.disabled||this.isBusy||!this.scrollEl||this.isLoading)}enableScrollEvents(i){this.scrollEl&&(i?this.scrollEl.addEventListener("scroll",this.onScroll):this.scrollEl.removeEventListener("scroll",this.onScroll))}render(){const i=(0,s.b)(this);return(0,e.h)(e.H,{class:{[i]:!0,"infinite-scroll-loading":this.isLoading,"infinite-scroll-enabled":!this.disabled}})}get el(){return(0,e.f)(this)}static get watchers(){return{threshold:["thresholdChanged"],disabled:["disabledChanged"]}}};f.style="ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}";const g=class{constructor(i){(0,e.r)(this,i),this.customHTMLEnabled=s.c.get("innerHTMLTemplatesEnabled",h.E),this.loadingSpinner=void 0,this.loadingText=void 0}componentDidLoad(){if(void 0===this.loadingSpinner){const i=(0,s.b)(this);this.loadingSpinner=s.c.get("infiniteLoadingSpinner",s.c.get("spinner","ios"===i?"lines":"crescent"))}}renderLoadingText(){const{customHTMLEnabled:i,loadingText:n}=this;return i?(0,e.h)("div",{class:"infinite-loading-text",innerHTML:(0,h.a)(n)}):(0,e.h)("div",{class:"infinite-loading-text"},this.loadingText)}render(){const i=(0,s.b)(this);return(0,e.h)(e.H,{class:{[i]:!0,[`infinite-scroll-content-${i}`]:!0}},(0,e.h)("div",{class:"infinite-loading"},this.loadingSpinner&&(0,e.h)("div",{class:"infinite-loading-spinner"},(0,e.h)("ion-spinner",{name:this.loadingSpinner})),void 0!==this.loadingText&&this.renderLoadingText()))}};g.style={ios:"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:4px;margin-bottom:0}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-ios .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-small-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}",md:"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:4px;margin-bottom:0}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-md .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-small-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}"}}}]); \ No newline at end of file diff --git a/8136.0c8a7abe968b27bb.js b/8136.0c8a7abe968b27bb.js deleted file mode 100644 index 26016c32..00000000 --- a/8136.0c8a7abe968b27bb.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8136],{8136:(T,y,s)=>{s.r(y),s.d(y,{ion_menu:()=>O,ion_menu_button:()=>L,ion_menu_toggle:()=>z});var u=s(5861),i=s(1071),_=s(6591),g=s(7693),w=s(6412),d=s(2674),c=s(6604),r=s(1701),o=s(7263),a=s(2997),b=s(6026);s(2438);const C='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])',O=class{constructor(t){(0,i.r)(this,t),this.ionWillOpen=(0,i.d)(this,"ionWillOpen",7),this.ionWillClose=(0,i.d)(this,"ionWillClose",7),this.ionDidOpen=(0,i.d)(this,"ionDidOpen",7),this.ionDidClose=(0,i.d)(this,"ionDidClose",7),this.ionMenuChange=(0,i.d)(this,"ionMenuChange",7),this.lastOnEnd=0,this.blocker=w.G.createBlocker({disableScroll:!0}),this.isAnimating=!1,this._isOpen=!1,this.inheritedAttributes={},this.handleFocus=e=>{const n=(0,r.q)(document);n&&!n.contains(this.el)||this.trapKeyboardFocus(e,document)},this.isPaneVisible=!1,this.isEndSide=!1,this.contentId=void 0,this.menuId=void 0,this.type=void 0,this.disabled=!1,this.side="start",this.swipeGesture=!0,this.maxEdgeStart=50}typeChanged(t,e){const n=this.contentEl;n&&(void 0!==e&&n.classList.remove(`menu-content-${e}`),n.classList.add(`menu-content-${t}`),n.removeAttribute("style")),this.menuInnerEl&&this.menuInnerEl.removeAttribute("style"),this.animation=void 0}disabledChanged(){this.updateState(),this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})}sideChanged(){this.isEndSide=(0,d.p)(this.side),this.animation=void 0}swipeGestureChanged(){this.updateState()}connectedCallback(){var t=this;return(0,u.Z)(function*(){typeof customElements<"u"&&null!=customElements&&(yield customElements.whenDefined("ion-menu")),void 0===t.type&&(t.type=o.c.get("menuType","overlay"));const e=void 0!==t.contentId?document.getElementById(t.contentId):null;null!==e?(t.el.contains(e)&&console.error('Menu: "contentId" should refer to the main view\'s ion-content, not the ion-content inside of the ion-menu.'),t.contentEl=e,e.classList.add("menu-content"),t.typeChanged(t.type,void 0),t.sideChanged(),c.m._register(t),t.gesture=(yield Promise.resolve().then(s.bind(s,9531))).createGesture({el:document,gestureName:"menu-swipe",gesturePriority:30,threshold:10,blurOnStart:!0,canStart:n=>t.canStart(n),onWillStart:()=>t.onWillStart(),onStart:()=>t.onStart(),onMove:n=>t.onMove(n),onEnd:n=>t.onEnd(n)}),t.updateState()):console.error('Menu: must have a "content" element to listen for drag events on.')})()}componentWillLoad(){this.inheritedAttributes=(0,d.i)(this.el)}componentDidLoad(){var t=this;return(0,u.Z)(function*(){t.ionMenuChange.emit({disabled:t.disabled,open:t._isOpen}),t.updateState()})()}disconnectedCallback(){var t=this;return(0,u.Z)(function*(){yield t.close(!1),t.blocker.destroy(),c.m._unregister(t),t.animation&&t.animation.destroy(),t.gesture&&(t.gesture.destroy(),t.gesture=void 0),t.animation=void 0,t.contentEl=void 0})()}onSplitPaneChanged(t){this.isPaneVisible=t.detail.isPane(this.el),this.updateState()}onBackdropClick(t){this._isOpen&&this.lastOnEnd0?e[e.length-1]:null;n?n.focus():t.focus()}trapKeyboardFocus(t,e){const n=t.target;n&&(this.el.contains(n)?this.lastFocus=n:(this.focusFirstDescendant(),this.lastFocus===e.activeElement&&this.focusLastDescendant()))}_setOpen(t,e=!0){var n=this;return(0,u.Z)(function*(){return!(!n._isActive()||n.isAnimating||t===n._isOpen||(n.beforeAnimation(t),yield n.loadAnimation(),yield n.startAnimation(t,e),n.afterAnimation(t),0))})()}loadAnimation(){var t=this;return(0,u.Z)(function*(){const e=t.menuInnerEl.offsetWidth,n=(0,d.p)(t.side);e===t.width&&void 0!==t.animation&&n===t.isEndSide||(t.width=e,t.isEndSide=n,t.animation&&(t.animation.destroy(),t.animation=void 0),t.animation=yield c.m._createAnimation(t.type,t),o.c.getBoolean("animated",!0)||t.animation.duration(0),t.animation.fill("both"))})()}startAnimation(t,e){var n=this;return(0,u.Z)(function*(){const l=!t,m=(0,o.b)(n),p="ios"===m?"cubic-bezier(0.32,0.72,0,1)":"cubic-bezier(0.0,0.0,0.2,1)",h="ios"===m?"cubic-bezier(1, 0, 0.68, 0.28)":"cubic-bezier(0.4, 0, 0.6, 1)",f=n.animation.direction(l?"reverse":"normal").easing(l?h:p).onFinish(()=>{"reverse"===f.getDirection()&&f.direction("normal")});e?yield f.play():f.play({sync:!0})})()}_isActive(){return!this.disabled&&!this.isPaneVisible}canSwipe(){return this.swipeGesture&&!this.isAnimating&&this._isActive()}canStart(t){return!(document.querySelector("ion-modal.show-modal")||!this.canSwipe())&&(!!this._isOpen||!c.m._getOpenSync()&&Z(window,t.currentX,this.isEndSide,this.maxEdgeStart))}onWillStart(){return this.beforeAnimation(!this._isOpen),this.loadAnimation()}onStart(){this.isAnimating&&this.animation?this.animation.progressStart(!0,this._isOpen?1:0):(0,d.o)(!1,"isAnimating has to be true")}onMove(t){if(!this.isAnimating||!this.animation)return void(0,d.o)(!1,"isAnimating has to be true");const n=A(t.deltaX,this._isOpen,this.isEndSide)/this.width;this.animation.progressStep(this._isOpen?1-n:n)}onEnd(t){if(!this.isAnimating||!this.animation)return void(0,d.o)(!1,"isAnimating has to be true");const e=this._isOpen,n=this.isEndSide,l=A(t.deltaX,e,n),m=this.width,p=l/m,h=t.velocityX,f=m/2,I=h>=0&&(h>.2||t.deltaX>f),W=h<=0&&(h<-.2||t.deltaX<-f),x=e?n?I:W:n?W:I;let j=!e&&x;e&&!x&&(j=!0),this.lastOnEnd=t.currentTime;let E=x?.001:-.001;E+=(0,_.g)([0,0],[.4,0],[.6,1],[1,1],(0,d.l)(0,p<0?.01:p,.9999))[0]||0;const N=this._isOpen?!x:x;this.animation.easing("cubic-bezier(0.4, 0.0, 0.6, 1)").onFinish(()=>this.afterAnimation(j),{oneTimeCallback:!0}).progressEnd(N?1:0,this._isOpen?1-E:E,300)}beforeAnimation(t){(0,d.o)(!this.isAnimating,"_before() should not be called while animating"),this.el.classList.add(M),this.el.setAttribute("tabindex","0"),this.backdropEl&&this.backdropEl.classList.add(S),this.contentEl&&(this.contentEl.classList.add(D),this.contentEl.setAttribute("aria-hidden","true")),this.blocker.block(),this.isAnimating=!0,t?this.ionWillOpen.emit():this.ionWillClose.emit()}afterAnimation(t){var e;(0,d.o)(this.isAnimating,"_before() should be called while animating"),this._isOpen=t,this.isAnimating=!1,this._isOpen||this.blocker.unblock(),t?(this.ionDidOpen.emit(),(null===(e=document.activeElement)||void 0===e?void 0:e.closest("ion-menu"))!==this.el&&this.el.focus(),document.addEventListener("focus",this.handleFocus,!0)):(this.el.classList.remove(M),this.el.removeAttribute("tabindex"),this.contentEl&&(this.contentEl.classList.remove(D),this.contentEl.removeAttribute("aria-hidden")),this.backdropEl&&this.backdropEl.classList.remove(S),this.animation&&this.animation.stop(),this.ionDidClose.emit(),document.removeEventListener("focus",this.handleFocus,!0))}updateState(){const t=this._isActive();this.gesture&&this.gesture.enable(t&&this.swipeGesture),!t&&this._isOpen&&this.forceClosing(),!(null==g.d)&&g.d.contains(this.el)&&(this.disabled||c.m._setActiveMenu(this)),(0,d.o)(!this.isAnimating,"can not be animating")}forceClosing(){(0,d.o)(this._isOpen,"menu cannot be closed"),this.isAnimating=!0,this.animation.direction("reverse").play({sync:!0}),this.afterAnimation(!1)}render(){const{type:t,disabled:e,isPaneVisible:n,inheritedAttributes:l,side:m}=this,p=(0,o.b)(this);return(0,i.h)(i.H,{role:"navigation","aria-label":l["aria-label"]||"menu",class:{[p]:!0,[`menu-type-${t}`]:!0,"menu-enabled":!e,[`menu-side-${m}`]:!0,"menu-pane-visible":n}},(0,i.h)("div",{class:"menu-inner",part:"container",ref:h=>this.menuInnerEl=h},(0,i.h)("slot",null)),(0,i.h)("ion-backdrop",{ref:h=>this.backdropEl=h,class:"menu-backdrop",tappable:!1,stopPropagation:!1,part:"backdrop"}))}get el(){return(0,i.f)(this)}static get watchers(){return{type:["typeChanged"],disabled:["disabledChanged"],side:["sideChanged"],swipeGesture:["swipeGestureChanged"]}}},A=(t,e,n)=>Math.max(0,e!==n?-t:t),Z=(t,e,n,l)=>n?e>=t.innerWidth-l:e<=l,M="show-menu",S="show-backdrop",D="menu-content-open";O.style={ios:":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start) .menu-inner:dir(rtl){left:unset;right:unset;left:auto;right:0}}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end) .menu-inner:dir(rtl){left:unset;right:unset;left:0;right:auto}}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none !important;transform:none !important;-webkit-box-shadow:none !important;box-shadow:none !important}:host(.menu-pane-visible) ion-backdrop{display:hidden !important;}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}",md:":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start) .menu-inner:dir(rtl){left:unset;right:unset;left:auto;right:0}}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end) .menu-inner:dir(rtl){left:unset;right:unset;left:0;right:auto}}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none !important;transform:none !important;-webkit-box-shadow:none !important;box-shadow:none !important}:host(.menu-pane-visible) ion-backdrop{display:hidden !important;}:host(.menu-type-overlay) .menu-inner{-webkit-box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18);box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}"};const P=function(){var t=(0,u.Z)(function*(e){const n=yield c.m.get(e);return!(!n||!(yield n.isActive()))});return function(n){return t.apply(this,arguments)}}(),L=class{constructor(t){var e=this;(0,i.r)(this,t),this.inheritedAttributes={},this.onClick=(0,u.Z)(function*(){return c.m.toggle(e.menu)}),this.visible=!1,this.color=void 0,this.disabled=!1,this.menu=void 0,this.autoHide=!0,this.type="button"}componentWillLoad(){this.inheritedAttributes=(0,d.i)(this.el)}componentDidLoad(){this.visibilityChanged()}visibilityChanged(){var t=this;return(0,u.Z)(function*(){t.visible=yield P(t.menu)})()}render(){const{color:t,disabled:e,inheritedAttributes:n}=this,l=(0,o.b)(this),m=o.c.get("menuIcon","ios"===l?b.u:b.v),p=this.autoHide&&!this.visible,h={type:this.type},f=n["aria-label"]||"menu";return(0,i.h)(i.H,{onClick:this.onClick,"aria-disabled":e?"true":null,"aria-hidden":p?"true":null,class:(0,a.c)(t,{[l]:!0,button:!0,"menu-button-hidden":p,"menu-button-disabled":e,"in-toolbar":(0,a.h)("ion-toolbar",this.el),"in-toolbar-color":(0,a.h)("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0})},(0,i.h)("button",Object.assign({},h,{disabled:e,class:"button-native",part:"native","aria-label":f}),(0,i.h)("span",{class:"button-inner"},(0,i.h)("slot",null,(0,i.h)("ion-icon",{part:"icon",icon:m,mode:l,lazy:!1,"aria-hidden":"true"}))),"md"===l&&(0,i.h)("ion-ripple-effect",{type:"unbounded"})))}get el(){return(0,i.f)(this)}};L.style={ios:':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--padding-start:5px;--padding-end:5px;height:32px;font-size:31px}:host(.ion-activated){opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}',md:':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:.04;--border-radius:50%;--color:initial;--padding-start:8px;--padding-end:8px;width:48px;height:48px;font-size:24px}:host(.ion-color.ion-focused)::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}'};const z=class{constructor(t){(0,i.r)(this,t),this.onClick=()=>c.m.toggle(this.menu),this.visible=!1,this.menu=void 0,this.autoHide=!0}connectedCallback(){this.visibilityChanged()}visibilityChanged(){var t=this;return(0,u.Z)(function*(){t.visible=yield P(t.menu)})()}render(){const t=(0,o.b)(this),e=this.autoHide&&!this.visible;return(0,i.h)(i.H,{onClick:this.onClick,"aria-hidden":e?"true":null,class:{[t]:!0,"menu-toggle-hidden":e}},(0,i.h)("slot",null))}};z.style=":host(.menu-toggle-hidden){display:none}"},2997:(T,y,s)=>{s.d(y,{c:()=>_,g:()=>w,h:()=>i,o:()=>c});var u=s(5861);const i=(r,o)=>null!==o.closest(r),_=(r,o)=>"string"==typeof r&&r.length>0?Object.assign({"ion-color":!0,[`ion-color-${r}`]:!0},o):o,w=r=>{const o={};return(r=>void 0!==r?(Array.isArray(r)?r:r.split(" ")).filter(a=>null!=a).map(a=>a.trim()).filter(a=>""!==a):[])(r).forEach(a=>o[a]=!0),o},d=/^[a-z][a-z0-9+\-.]*:/,c=function(){var r=(0,u.Z)(function*(o,a,b,k){if(null!=o&&"#"!==o[0]&&!d.test(o)){const v=document.querySelector("ion-router");if(v)return a?.preventDefault(),v.push(o,b,k)}return!1});return function(a,b,k,v){return r.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/8136.76273775606ffebb.js b/8136.76273775606ffebb.js new file mode 100644 index 00000000..76fd3ed1 --- /dev/null +++ b/8136.76273775606ffebb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8136],{8136:(T,v,s)=>{s.r(v),s.d(v,{ion_menu:()=>O,ion_menu_button:()=>L,ion_menu_toggle:()=>z});var l=s(5861),i=s(408),x=s(5069),y=s(2889),h=s(2961),c=s(8931),_=s(8042),o=s(4649),r=s(3814),d=s(5723);s(2972),s(2876);const C='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])',O=class{constructor(t){(0,i.r)(this,t),this.ionWillOpen=(0,i.d)(this,"ionWillOpen",7),this.ionWillClose=(0,i.d)(this,"ionWillClose",7),this.ionDidOpen=(0,i.d)(this,"ionDidOpen",7),this.ionDidClose=(0,i.d)(this,"ionDidClose",7),this.ionMenuChange=(0,i.d)(this,"ionMenuChange",7),this.lastOnEnd=0,this.blocker=y.G.createBlocker({disableScroll:!0}),this.didLoad=!1,this.operationCancelled=!1,this.isAnimating=!1,this._isOpen=!1,this.inheritedAttributes={},this.handleFocus=e=>{const n=(0,_.q)(document);n&&!n.contains(this.el)||this.trapKeyboardFocus(e,document)},this.isPaneVisible=!1,this.isEndSide=!1,this.contentId=void 0,this.menuId=void 0,this.type=void 0,this.disabled=!1,this.side="start",this.swipeGesture=!0,this.maxEdgeStart=50}typeChanged(t,e){const n=this.contentEl;n&&(void 0!==e&&n.classList.remove(`menu-content-${e}`),n.classList.add(`menu-content-${t}`),n.removeAttribute("style")),this.menuInnerEl&&this.menuInnerEl.removeAttribute("style"),this.animation=void 0}disabledChanged(){this.updateState(),this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})}sideChanged(){this.isEndSide=(0,h.p)(this.side),this.animation=void 0}swipeGestureChanged(){this.updateState()}connectedCallback(){var t=this;return(0,l.Z)(function*(){typeof customElements<"u"&&null!=customElements&&(yield customElements.whenDefined("ion-menu")),void 0===t.type&&(t.type=o.c.get("menuType","overlay"));const e=void 0!==t.contentId?document.getElementById(t.contentId):null;null!==e?(t.el.contains(e)&&console.error('Menu: "contentId" should refer to the main view\'s ion-content, not the ion-content inside of the ion-menu.'),t.contentEl=e,e.classList.add("menu-content"),t.typeChanged(t.type,void 0),t.sideChanged(),c.m._register(t),t.menuChanged(),t.gesture=(yield Promise.resolve().then(s.bind(s,5067))).createGesture({el:document,gestureName:"menu-swipe",gesturePriority:30,threshold:10,blurOnStart:!0,canStart:n=>t.canStart(n),onWillStart:()=>t.onWillStart(),onStart:()=>t.onStart(),onMove:n=>t.onMove(n),onEnd:n=>t.onEnd(n)}),t.updateState()):console.error('Menu: must have a "content" element to listen for drag events on.')})()}componentWillLoad(){this.inheritedAttributes=(0,h.i)(this.el)}componentDidLoad(){var t=this;return(0,l.Z)(function*(){t.didLoad=!0,t.menuChanged(),t.updateState()})()}menuChanged(){this.didLoad&&this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})}disconnectedCallback(){var t=this;return(0,l.Z)(function*(){yield t.close(!1),t.blocker.destroy(),c.m._unregister(t),t.animation&&t.animation.destroy(),t.gesture&&(t.gesture.destroy(),t.gesture=void 0),t.animation=void 0,t.contentEl=void 0})()}onSplitPaneChanged(t){const{target:e}=t;e===this.el.closest("ion-split-pane")&&(this.isPaneVisible=t.detail.isPane(this.el),this.updateState())}onBackdropClick(t){this._isOpen&&this.lastOnEnd0?e[e.length-1]:null;n?n.focus():t.focus()}trapKeyboardFocus(t,e){const n=t.target;n&&(this.el.contains(n)?this.lastFocus=n:(this.focusFirstDescendant(),this.lastFocus===e.activeElement&&this.focusLastDescendant()))}_setOpen(t,e=!0){var n=this;return(0,l.Z)(function*(){return!(!n._isActive()||n.isAnimating||t===n._isOpen||(n.beforeAnimation(t),yield n.loadAnimation(),yield n.startAnimation(t,e),n.operationCancelled?(n.operationCancelled=!1,1):(n.afterAnimation(t),0)))})()}loadAnimation(){var t=this;return(0,l.Z)(function*(){const e=t.menuInnerEl.offsetWidth,n=(0,h.p)(t.side);if(e===t.width&&void 0!==t.animation&&n===t.isEndSide)return;t.width=e,t.isEndSide=n,t.animation&&(t.animation.destroy(),t.animation=void 0);const a=t.animation=yield c.m._createAnimation(t.type,t);o.c.getBoolean("animated",!0)||a.duration(0),a.fill("both")})()}startAnimation(t,e){var n=this;return(0,l.Z)(function*(){const a=!t,m=(0,o.b)(n),p="ios"===m?"cubic-bezier(0.32,0.72,0,1)":"cubic-bezier(0.0,0.0,0.2,1)",u="ios"===m?"cubic-bezier(1, 0, 0.68, 0.28)":"cubic-bezier(0.4, 0, 0.6, 1)",f=n.animation.direction(a?"reverse":"normal").easing(a?u:p);e?yield f.play():f.play({sync:!0}),"reverse"===f.getDirection()&&f.direction("normal")})()}_isActive(){return!this.disabled&&!this.isPaneVisible}canSwipe(){return this.swipeGesture&&!this.isAnimating&&this._isActive()}canStart(t){return!(document.querySelector("ion-modal.show-modal")||!this.canSwipe())&&(!!this._isOpen||!c.m._getOpenSync()&&F(window,t.currentX,this.isEndSide,this.maxEdgeStart))}onWillStart(){return this.beforeAnimation(!this._isOpen),this.loadAnimation()}onStart(){this.isAnimating&&this.animation?this.animation.progressStart(!0,this._isOpen?1:0):(0,h.o)(!1,"isAnimating has to be true")}onMove(t){if(!this.isAnimating||!this.animation)return void(0,h.o)(!1,"isAnimating has to be true");const n=A(t.deltaX,this._isOpen,this.isEndSide)/this.width;this.animation.progressStep(this._isOpen?1-n:n)}onEnd(t){if(!this.isAnimating||!this.animation)return void(0,h.o)(!1,"isAnimating has to be true");const e=this._isOpen,n=this.isEndSide,a=A(t.deltaX,e,n),m=this.width,p=a/m,u=t.velocityX,f=m/2,I=u>=0&&(u>.2||t.deltaX>f),W=u<=0&&(u<-.2||t.deltaX<-f),b=e?n?I:W:n?W:I;let j=!e&&b;e&&!b&&(j=!0),this.lastOnEnd=t.currentTime;let E=b?.001:-.001;E+=(0,x.g)([0,0],[.4,0],[.6,1],[1,1],(0,h.l)(0,p<0?.01:p,.9999))[0]||0;const N=this._isOpen?!b:b;this.animation.easing("cubic-bezier(0.4, 0.0, 0.6, 1)").onFinish(()=>this.afterAnimation(j),{oneTimeCallback:!0}).progressEnd(N?1:0,this._isOpen?1-E:E,300)}beforeAnimation(t){(0,h.o)(!this.isAnimating,"_before() should not be called while animating"),this.el.classList.add(M),this.el.setAttribute("tabindex","0"),this.backdropEl&&this.backdropEl.classList.add(S),this.contentEl&&(this.contentEl.classList.add(P),this.contentEl.setAttribute("aria-hidden","true")),this.blocker.block(),this.isAnimating=!0,t?this.ionWillOpen.emit():this.ionWillClose.emit()}afterAnimation(t){var e;this._isOpen=t,this.isAnimating=!1,this._isOpen||this.blocker.unblock(),t?(this.ionDidOpen.emit(),(null===(e=document.activeElement)||void 0===e?void 0:e.closest("ion-menu"))!==this.el&&this.el.focus(),document.addEventListener("focus",this.handleFocus,!0)):(this.el.classList.remove(M),this.el.removeAttribute("tabindex"),this.contentEl&&(this.contentEl.classList.remove(P),this.contentEl.removeAttribute("aria-hidden")),this.backdropEl&&this.backdropEl.classList.remove(S),this.animation&&this.animation.stop(),this.ionDidClose.emit(),document.removeEventListener("focus",this.handleFocus,!0))}updateState(){const t=this._isActive();this.gesture&&this.gesture.enable(t&&this.swipeGesture),t||(this.isAnimating&&(this.operationCancelled=!0),this.afterAnimation(!1))}render(){const{type:t,disabled:e,isPaneVisible:n,inheritedAttributes:a,side:m}=this,p=(0,o.b)(this);return(0,i.h)(i.H,{role:"navigation","aria-label":a["aria-label"]||"menu",class:{[p]:!0,[`menu-type-${t}`]:!0,"menu-enabled":!e,[`menu-side-${m}`]:!0,"menu-pane-visible":n}},(0,i.h)("div",{class:"menu-inner",part:"container",ref:u=>this.menuInnerEl=u},(0,i.h)("slot",null)),(0,i.h)("ion-backdrop",{ref:u=>this.backdropEl=u,class:"menu-backdrop",tappable:!1,stopPropagation:!1,part:"backdrop"}))}get el(){return(0,i.f)(this)}static get watchers(){return{type:["typeChanged"],disabled:["disabledChanged"],side:["sideChanged"],swipeGesture:["swipeGestureChanged"]}}},A=(t,e,n)=>Math.max(0,e!==n?-t:t),F=(t,e,n,a)=>n?e>=t.innerWidth-a:e<=a,M="show-menu",S="show-backdrop",P="menu-content-open";O.style={ios:":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{left:unset;right:unset;left:auto;right:0}}}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{left:unset;right:unset;left:0;right:auto}}}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}",md:":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{left:unset;right:unset;left:auto;right:0}}}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{left:unset;right:unset;left:0;right:auto}}}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-type-overlay) .menu-inner{-webkit-box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18);box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}"};const D=function(){var t=(0,l.Z)(function*(e){const n=yield c.m.get(e);return!(!n||!(yield n.isActive()))});return function(n){return t.apply(this,arguments)}}(),L=class{constructor(t){var e=this;(0,i.r)(this,t),this.inheritedAttributes={},this.onClick=(0,l.Z)(function*(){return c.m.toggle(e.menu)}),this.visible=!1,this.color=void 0,this.disabled=!1,this.menu=void 0,this.autoHide=!0,this.type="button"}componentWillLoad(){this.inheritedAttributes=(0,h.i)(this.el)}componentDidLoad(){this.visibilityChanged()}visibilityChanged(){var t=this;return(0,l.Z)(function*(){t.visible=yield D(t.menu)})()}render(){const{color:t,disabled:e,inheritedAttributes:n}=this,a=(0,o.b)(this),m=o.c.get("menuIcon","ios"===a?d.u:d.v),p=this.autoHide&&!this.visible,u={type:this.type},f=n["aria-label"]||"menu";return(0,i.h)(i.H,{onClick:this.onClick,"aria-disabled":e?"true":null,"aria-hidden":p?"true":null,class:(0,r.c)(t,{[a]:!0,button:!0,"menu-button-hidden":p,"menu-button-disabled":e,"in-toolbar":(0,r.h)("ion-toolbar",this.el),"in-toolbar-color":(0,r.h)("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0})},(0,i.h)("button",Object.assign({},u,{disabled:e,class:"button-native",part:"native","aria-label":f}),(0,i.h)("span",{class:"button-inner"},(0,i.h)("slot",null,(0,i.h)("ion-icon",{part:"icon",icon:m,mode:a,lazy:!1,"aria-hidden":"true"}))),"md"===a&&(0,i.h)("ion-ripple-effect",{type:"unbounded"})))}get el(){return(0,i.f)(this)}};L.style={ios:':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--padding-start:5px;--padding-end:5px;min-height:32px;font-size:clamp(31px, 1.9375rem, 38.13px)}:host(.ion-activated){opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}',md:':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:.04;--border-radius:50%;--color:initial;--padding-start:8px;--padding-end:8px;width:3rem;height:3rem;font-size:1.5rem}:host(.ion-color.ion-focused)::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}'};const z=class{constructor(t){(0,i.r)(this,t),this.onClick=()=>c.m.toggle(this.menu),this.visible=!1,this.menu=void 0,this.autoHide=!0}connectedCallback(){this.visibilityChanged()}visibilityChanged(){var t=this;return(0,l.Z)(function*(){t.visible=yield D(t.menu)})()}render(){const t=(0,o.b)(this),e=this.autoHide&&!this.visible;return(0,i.h)(i.H,{onClick:this.onClick,"aria-hidden":e?"true":null,class:{[t]:!0,"menu-toggle-hidden":e}},(0,i.h)("slot",null))}};z.style=":host(.menu-toggle-hidden){display:none}"},3814:(T,v,s)=>{s.d(v,{c:()=>x,g:()=>h,h:()=>i,o:()=>_});var l=s(5861);const i=(o,r)=>null!==r.closest(o),x=(o,r)=>"string"==typeof o&&o.length>0?Object.assign({"ion-color":!0,[`ion-color-${o}`]:!0},r):r,h=o=>{const r={};return(o=>void 0!==o?(Array.isArray(o)?o:o.split(" ")).filter(d=>null!=d).map(d=>d.trim()).filter(d=>""!==d):[])(o).forEach(d=>r[d]=!0),r},c=/^[a-z][a-z0-9+\-.]*:/,_=function(){var o=(0,l.Z)(function*(r,d,w,k){if(null!=r&&"#"!==r[0]&&!c.test(r)){const g=document.querySelector("ion-router");if(g)return d?.preventDefault(),g.push(r,w,k)}return!1});return function(d,w,k,g){return o.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/8142.4d6c898246b152e0.js b/8142.4d6c898246b152e0.js deleted file mode 100644 index 94dac2f7..00000000 --- a/8142.4d6c898246b152e0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8142],{8142:(P,s,t)=>{t.r(s),t.d(s,{startStatusTap:()=>l});var d=t(5861),o=t(1071),_=t(6038),r=t(2674);const l=()=>{const n=window;n.addEventListener("statusTap",()=>{(0,o.e)(()=>{const a=document.elementFromPoint(n.innerWidth/2,n.innerHeight/2);if(!a)return;const e=(0,_.f)(a);e&&new Promise(h=>(0,r.c)(e,h)).then(()=>{(0,o.w)((0,d.Z)(function*(){e.style.setProperty("--overflow","hidden"),yield(0,_.s)(e,300),e.style.removeProperty("--overflow")}))})})})}}}]); \ No newline at end of file diff --git a/8628.241f15391712f5a1.js b/8628.241f15391712f5a1.js deleted file mode 100644 index 7b1484d2..00000000 --- a/8628.241f15391712f5a1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8628],{8628:(w,m,h)=>{h.r(m),h.d(m,{ion_searchbar:()=>s});var u=h(5861),t=h(1071),g=h(2674),x=h(5215),y=h(2997),b=h(6026),d=h(7263);const s=class{constructor(r){var a=this;(0,t.r)(this,r),this.ionInput=(0,t.d)(this,"ionInput",7),this.ionChange=(0,t.d)(this,"ionChange",7),this.ionCancel=(0,t.d)(this,"ionCancel",7),this.ionClear=(0,t.d)(this,"ionClear",7),this.ionBlur=(0,t.d)(this,"ionBlur",7),this.ionFocus=(0,t.d)(this,"ionFocus",7),this.ionStyle=(0,t.d)(this,"ionStyle",7),this.isCancelVisible=!1,this.shouldAlignLeft=!0,this.inputId="ion-searchbar-"+v++,this.onClearInput=function(){var e=(0,u.Z)(function*(o){return a.ionClear.emit(),new Promise(c=>{setTimeout(()=>{const l=a.getValue();""!==l&&(a.value="",a.emitInputChange(),o&&!a.focused&&(a.setFocus(),a.focusedValue=l)),c()},64)})});return function(o){return e.apply(this,arguments)}}(),this.onCancelSearchbar=function(){var e=(0,u.Z)(function*(o){o&&(o.preventDefault(),o.stopPropagation()),a.ionCancel.emit();const c=a.getValue(),l=a.focused;yield a.onClearInput(),c&&!l&&a.emitValueChange(o),a.nativeInput&&a.nativeInput.blur()});return function(o){return e.apply(this,arguments)}}(),this.onInput=e=>{const o=e.target;o&&(this.value=o.value),this.emitInputChange(e)},this.onChange=e=>{this.emitValueChange(e)},this.onBlur=e=>{this.focused=!1,this.ionBlur.emit(),this.positionElements(),this.focusedValue!==this.value&&this.emitValueChange(e),this.focusedValue=void 0},this.onFocus=()=>{this.focused=!0,this.focusedValue=this.value,this.ionFocus.emit(),this.positionElements()},this.focused=!1,this.noAnimate=!0,this.color=void 0,this.animated=!1,this.autocomplete="off",this.autocorrect="off",this.cancelButtonIcon=d.c.get("backButtonIcon",b.a),this.cancelButtonText="Cancel",this.clearIcon=void 0,this.debounce=void 0,this.disabled=!1,this.inputmode=void 0,this.enterkeyhint=void 0,this.name=this.inputId,this.placeholder="Search",this.searchIcon=void 0,this.showCancelButton="never",this.showClearButton="always",this.spellcheck=!1,this.type="search",this.value=""}debounceChanged(){const{ionInput:r,debounce:a,originalIonInput:e}=this;this.ionInput=void 0===a?e??r:(0,g.j)(r,a)}valueChanged(){const r=this.nativeInput,a=this.getValue();r&&r.value!==a&&(r.value=a)}showCancelButtonChanged(){requestAnimationFrame(()=>{this.positionElements(),(0,t.i)(this)})}connectedCallback(){this.emitStyle()}componentDidLoad(){this.originalIonInput=this.ionInput,this.positionElements(),this.debounceChanged(),setTimeout(()=>{this.noAnimate=!1},300)}emitStyle(){this.ionStyle.emit({searchbar:!0})}setFocus(){var r=this;return(0,u.Z)(function*(){r.nativeInput&&r.nativeInput.focus()})()}getInputElement(){return Promise.resolve(this.nativeInput)}emitValueChange(r){const{value:a}=this,e=null==a?a:a.toString();this.focusedValue=e,this.ionChange.emit({value:e,event:r})}emitInputChange(r){const{value:a}=this;this.ionInput.emit({value:a,event:r})}positionElements(){const r=this.getValue(),a=this.shouldAlignLeft,e=(0,d.b)(this),o=!this.animated||""!==r.trim()||!!this.focused;this.shouldAlignLeft=o,"ios"===e&&(a!==o&&this.positionPlaceholder(),this.animated&&this.positionCancelButton())}positionPlaceholder(){const r=this.nativeInput;if(!r)return;const a=(0,x.i)(this.el),e=(this.el.shadowRoot||this.el).querySelector(".searchbar-search-icon");if(this.shouldAlignLeft)r.removeAttribute("style"),e.removeAttribute("style");else{const o=document,c=o.createElement("span");c.innerText=this.placeholder||"",o.body.appendChild(c),(0,g.r)(()=>{const l=c.offsetWidth;c.remove();const f="calc(50% - "+l/2+"px)",p="calc(50% - "+(l/2+30)+"px)";a?(r.style.paddingRight=f,e.style.marginRight=p):(r.style.paddingLeft=f,e.style.marginLeft=p)})}}positionCancelButton(){const r=(0,x.i)(this.el),a=(this.el.shadowRoot||this.el).querySelector(".searchbar-cancel-button"),e=this.shouldShowCancelButton();if(null!==a&&e!==this.isCancelVisible){const o=a.style;if(this.isCancelVisible=e,e)r?o.marginLeft="0":o.marginRight="0";else{const c=a.offsetWidth;c>0&&(r?o.marginLeft=-c+"px":o.marginRight=-c+"px")}}}getValue(){return this.value||""}hasValue(){return""!==this.getValue()}shouldShowCancelButton(){return!("never"===this.showCancelButton||"focus"===this.showCancelButton&&!this.focused)}shouldShowClearButton(){return!("never"===this.showClearButton||"focus"===this.showClearButton&&!this.focused)}render(){const{cancelButtonText:r}=this,a=this.animated&&d.c.getBoolean("animated",!0),e=(0,d.b)(this),o=this.clearIcon||("ios"===e?b.b:b.d),c=this.searchIcon||("ios"===e?b.s:b.e),l=this.shouldShowCancelButton(),f="never"!==this.showCancelButton&&(0,t.h)("button",{"aria-label":r,"aria-hidden":l?void 0:"true",type:"button",tabIndex:"ios"!==e||l?void 0:-1,onMouseDown:this.onCancelSearchbar,onTouchStart:this.onCancelSearchbar,class:"searchbar-cancel-button"},(0,t.h)("div",{"aria-hidden":"true"},"md"===e?(0,t.h)("ion-icon",{"aria-hidden":"true",mode:e,icon:this.cancelButtonIcon,lazy:!1}):r));return(0,t.h)(t.H,{role:"search","aria-disabled":this.disabled?"true":null,class:(0,y.c)(this.color,{[e]:!0,"searchbar-animated":a,"searchbar-disabled":this.disabled,"searchbar-no-animate":a&&this.noAnimate,"searchbar-has-value":this.hasValue(),"searchbar-left-aligned":this.shouldAlignLeft,"searchbar-has-focus":this.focused,"searchbar-should-show-clear":this.shouldShowClearButton(),"searchbar-should-show-cancel":this.shouldShowCancelButton()})},(0,t.h)("div",{class:"searchbar-input-container"},(0,t.h)("input",{"aria-label":"search text",disabled:this.disabled,ref:p=>this.nativeInput=p,class:"searchbar-input",inputMode:this.inputmode,enterKeyHint:this.enterkeyhint,name:this.name,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,placeholder:this.placeholder,type:this.type,value:this.getValue(),autoComplete:this.autocomplete,autoCorrect:this.autocorrect,spellcheck:this.spellcheck}),"md"===e&&f,(0,t.h)("ion-icon",{"aria-hidden":"true",mode:e,icon:c,lazy:!1,class:"searchbar-search-icon"}),(0,t.h)("button",{"aria-label":"reset",type:"button","no-blur":!0,class:"searchbar-clear-button",onPointerDown:p=>{p.preventDefault()},onClick:()=>this.onClearInput(!0)},(0,t.h)("ion-icon",{"aria-hidden":"true",mode:e,icon:o,lazy:!1,class:"searchbar-clear-icon"}))),"ios"===e&&f)}get el(){return(0,t.f)(this)}static get watchers(){return{debounce:["debounceChanged"],value:["valueChanged"],showCancelButton:["showCancelButtonChanged"]}}};let v=0;s.style={ios:".sc-ion-searchbar-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-ios-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:inherit}.searchbar-search-icon.sc-ion-searchbar-ios{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ios{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ios{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ios::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ios>div.sc-ion-searchbar-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-ios:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{display:block}.searchbar-disabled.sc-ion-searchbar-ios-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-ios-h{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.07);--border-radius:10px;--box-shadow:none;--cancel-button-color:var(--ion-color-primary, #3880ff);--clear-button-color:var(--ion-color-step-600, #666666);--color:var(--ion-text-color, #000);--icon-color:var(--ion-color-step-600, #666666);-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;height:60px;contain:strict}.searchbar-input-container.sc-ion-searchbar-ios{height:36px}.searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:calc(50% - 60px);margin-inline-start:calc(50% - 60px);top:0;position:absolute;width:22px;height:100%;contain:strict}@supports (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-ios{inset-inline-start:5px}}@supports not (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-ios{left:5px}[dir=rtl].sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{left:unset;right:unset;right:5px}[dir=rtl].sc-ion-searchbar-ios .searchbar-search-icon.sc-ion-searchbar-ios{left:unset;right:unset;right:5px}@supports selector(:dir(rtl)){.searchbar-search-icon.sc-ion-searchbar-ios:dir(rtl){left:unset;right:unset;right:5px}}}.searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:28px;padding-inline-start:28px;-webkit-padding-end:28px;padding-inline-end:28px;padding-top:0;padding-bottom:0;height:100%;font-size:17px;font-weight:400;contain:strict}.searchbar-clear-button.sc-ion-searchbar-ios{top:0;background-position:center;position:absolute;width:30px;height:100%;border:0;background-color:transparent}@supports (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-ios{inset-inline-end:0}}@supports not (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-ios{right:0}[dir=rtl].sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{left:unset;right:unset;left:0}[dir=rtl].sc-ion-searchbar-ios .searchbar-clear-button.sc-ion-searchbar-ios{left:unset;right:unset;left:0}@supports selector(:dir(rtl)){.searchbar-clear-button.sc-ion-searchbar-ios:dir(rtl){left:unset;right:unset;left:0}}}.searchbar-clear-icon.sc-ion-searchbar-ios{width:18px;height:100%}.searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0;background-color:transparent;font-size:16px}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:0;margin-inline-start:0}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:30px;padding-inline-start:30px}.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{display:block}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-transition:all 300ms ease;transition:all 300ms ease}.searchbar-animated.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{opacity:1;pointer-events:auto}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-margin-end:-100%;margin-inline-end:-100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:all 300ms ease;transition:all 300ms ease;opacity:0;pointer-events:none}.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-transition-duration:0ms;transition-duration:0ms}.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{color:var(--ion-color-base)}@media (any-hover: hover){.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios:hover{color:var(--ion-color-tint)}}ion-toolbar.sc-ion-searchbar-ios-h,ion-toolbar .sc-ion-searchbar-ios-h{padding-top:1px;padding-bottom:15px;height:52px}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color),ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color){color:inherit}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios{color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios{background:rgba(var(--ion-color-contrast-rgb), 0.07);color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}",md:".sc-ion-searchbar-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-md-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{color:inherit}.searchbar-search-icon.sc-ion-searchbar-md{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-md{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-md{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-md::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-md>div.sc-ion-searchbar-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-md:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{display:block}.searchbar-disabled.sc-ion-searchbar-md-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-md-h{--background:var(--ion-background-color, #fff);--border-radius:2px;--box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--cancel-button-color:var(--ion-color-step-900, #1a1a1a);--clear-button-color:initial;--color:var(--ion-color-step-850, #262626);--icon-color:var(--ion-color-step-600, #666666);-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;background:inherit}.searchbar-search-icon.sc-ion-searchbar-md{top:11px;width:21px;height:21px}@supports (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-md{inset-inline-start:16px}}@supports not (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-md{left:16px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{left:unset;right:unset;right:16px}[dir=rtl].sc-ion-searchbar-md .searchbar-search-icon.sc-ion-searchbar-md{left:unset;right:unset;right:16px}@supports selector(:dir(rtl)){.searchbar-search-icon.sc-ion-searchbar-md:dir(rtl){left:unset;right:unset;right:16px}}}.searchbar-cancel-button.sc-ion-searchbar-md{top:0;background-color:transparent;font-size:1.6em}@supports (inset-inline-start: 0){.searchbar-cancel-button.sc-ion-searchbar-md{inset-inline-start:5px}}@supports not (inset-inline-start: 0){.searchbar-cancel-button.sc-ion-searchbar-md{left:5px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{left:unset;right:unset;right:5px}[dir=rtl].sc-ion-searchbar-md .searchbar-cancel-button.sc-ion-searchbar-md{left:unset;right:unset;right:5px}@supports selector(:dir(rtl)){.searchbar-cancel-button.sc-ion-searchbar-md:dir(rtl){left:unset;right:unset;right:5px}}}.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-cancel-button.sc-ion-searchbar-md{position:absolute}.searchbar-search-icon.ion-activated.sc-ion-searchbar-md,.searchbar-cancel-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-input.sc-ion-searchbar-md{-webkit-padding-start:55px;padding-inline-start:55px;-webkit-padding-end:55px;padding-inline-end:55px;padding-top:6px;padding-bottom:6px;background-position:left 8px center;height:auto;font-size:16px;font-weight:400;line-height:30px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background-position:right 8px center}[dir=rtl].sc-ion-searchbar-md .searchbar-input.sc-ion-searchbar-md{background-position:right 8px center}@supports selector(:dir(rtl)){.searchbar-input.sc-ion-searchbar-md:dir(rtl){background-position:right 8px center}}.searchbar-clear-button.sc-ion-searchbar-md{top:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;position:absolute;height:100%;border:0;background-color:transparent}@supports (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-md{inset-inline-end:13px}}@supports not (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-md{right:13px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{left:unset;right:unset;left:13px}[dir=rtl].sc-ion-searchbar-md .searchbar-clear-button.sc-ion-searchbar-md{left:unset;right:unset;left:13px}@supports selector(:dir(rtl)){.searchbar-clear-button.sc-ion-searchbar-md:dir(rtl){left:unset;right:unset;left:13px}}}.searchbar-clear-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-clear-icon.sc-ion-searchbar-md{width:22px;height:100%}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md{display:none}ion-toolbar.sc-ion-searchbar-md-h,ion-toolbar .sc-ion-searchbar-md-h{-webkit-padding-start:7px;padding-inline-start:7px;-webkit-padding-end:7px;padding-inline-end:7px;padding-top:3px;padding-bottom:3px}"}},2997:(w,m,h)=>{h.d(m,{c:()=>g,g:()=>y,h:()=>t,o:()=>d});var u=h(5861);const t=(n,i)=>null!==i.closest(n),g=(n,i)=>"string"==typeof n&&n.length>0?Object.assign({"ion-color":!0,[`ion-color-${n}`]:!0},i):i,y=n=>{const i={};return(n=>void 0!==n?(Array.isArray(n)?n:n.split(" ")).filter(s=>null!=s).map(s=>s.trim()).filter(s=>""!==s):[])(n).forEach(s=>i[s]=!0),i},b=/^[a-z][a-z0-9+\-.]*:/,d=function(){var n=(0,u.Z)(function*(i,s,v,r){if(null!=i&&"#"!==i[0]&&!b.test(i)){const a=document.querySelector("ion-router");if(a)return s?.preventDefault(),a.push(i,v,r)}return!1});return function(s,v,r,a){return n.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/8628.3844be50d3776c8c.js b/8628.3844be50d3776c8c.js new file mode 100644 index 00000000..d6cae118 --- /dev/null +++ b/8628.3844be50d3776c8c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8628],{8628:(w,g,h)=>{h.r(g),h.d(g,{ion_searchbar:()=>s});var d=h(5861),n=h(408),m=h(2961),v=h(6879),y=h(3814),b=h(5723),p=h(4649);const s=class{constructor(r){var e=this;(0,n.r)(this,r),this.ionInput=(0,n.d)(this,"ionInput",7),this.ionChange=(0,n.d)(this,"ionChange",7),this.ionCancel=(0,n.d)(this,"ionCancel",7),this.ionClear=(0,n.d)(this,"ionClear",7),this.ionBlur=(0,n.d)(this,"ionBlur",7),this.ionFocus=(0,n.d)(this,"ionFocus",7),this.ionStyle=(0,n.d)(this,"ionStyle",7),this.isCancelVisible=!1,this.shouldAlignLeft=!0,this.inputId="ion-searchbar-"+x++,this.onClearInput=function(){var a=(0,d.Z)(function*(o){return e.ionClear.emit(),new Promise(c=>{setTimeout(()=>{const l=e.getValue();""!==l&&(e.value="",e.emitInputChange(),o&&!e.focused&&(e.setFocus(),e.focusedValue=l)),c()},64)})});return function(o){return a.apply(this,arguments)}}(),this.onCancelSearchbar=function(){var a=(0,d.Z)(function*(o){o&&(o.preventDefault(),o.stopPropagation()),e.ionCancel.emit();const c=e.getValue(),l=e.focused;yield e.onClearInput(),c&&!l&&e.emitValueChange(o),e.nativeInput&&e.nativeInput.blur()});return function(o){return a.apply(this,arguments)}}(),this.onInput=a=>{const o=a.target;o&&(this.value=o.value),this.emitInputChange(a)},this.onChange=a=>{this.emitValueChange(a)},this.onBlur=a=>{this.focused=!1,this.ionBlur.emit(),this.positionElements(),this.focusedValue!==this.value&&this.emitValueChange(a),this.focusedValue=void 0},this.onFocus=()=>{this.focused=!0,this.focusedValue=this.value,this.ionFocus.emit(),this.positionElements()},this.focused=!1,this.noAnimate=!0,this.color=void 0,this.animated=!1,this.autocomplete="off",this.autocorrect="off",this.cancelButtonIcon=p.c.get("backButtonIcon",b.a),this.cancelButtonText="Cancel",this.clearIcon=void 0,this.debounce=void 0,this.disabled=!1,this.inputmode=void 0,this.enterkeyhint=void 0,this.name=this.inputId,this.placeholder="Search",this.searchIcon=void 0,this.showCancelButton="never",this.showClearButton="always",this.spellcheck=!1,this.type="search",this.value=""}debounceChanged(){const{ionInput:r,debounce:e,originalIonInput:a}=this;this.ionInput=void 0===e?a??r:(0,m.j)(r,e)}valueChanged(){const r=this.nativeInput,e=this.getValue();r&&r.value!==e&&(r.value=e)}showCancelButtonChanged(){requestAnimationFrame(()=>{this.positionElements(),(0,n.i)(this)})}connectedCallback(){this.emitStyle()}componentDidLoad(){this.originalIonInput=this.ionInput,this.positionElements(),this.debounceChanged(),setTimeout(()=>{this.noAnimate=!1},300)}emitStyle(){this.ionStyle.emit({searchbar:!0})}setFocus(){var r=this;return(0,d.Z)(function*(){r.nativeInput&&r.nativeInput.focus()})()}getInputElement(){var r=this;return(0,d.Z)(function*(){return r.nativeInput||(yield new Promise(e=>(0,m.c)(r.el,e))),Promise.resolve(r.nativeInput)})()}emitValueChange(r){const{value:e}=this,a=null==e?e:e.toString();this.focusedValue=a,this.ionChange.emit({value:a,event:r})}emitInputChange(r){const{value:e}=this;this.ionInput.emit({value:e,event:r})}positionElements(){const r=this.getValue(),e=this.shouldAlignLeft,a=(0,p.b)(this),o=!this.animated||""!==r.trim()||!!this.focused;this.shouldAlignLeft=o,"ios"===a&&(e!==o&&this.positionPlaceholder(),this.animated&&this.positionCancelButton())}positionPlaceholder(){const r=this.nativeInput;if(!r)return;const e=(0,v.i)(this.el),a=(this.el.shadowRoot||this.el).querySelector(".searchbar-search-icon");if(this.shouldAlignLeft)r.removeAttribute("style"),a.removeAttribute("style");else{const o=document,c=o.createElement("span");c.innerText=this.placeholder||"",o.body.appendChild(c),(0,m.r)(()=>{const l=c.offsetWidth;c.remove();const f="calc(50% - "+l/2+"px)",u="calc(50% - "+(l/2+a.clientWidth+8)+"px)";e?(r.style.paddingRight=f,a.style.marginRight=u):(r.style.paddingLeft=f,a.style.marginLeft=u)})}}positionCancelButton(){const r=(0,v.i)(this.el),e=(this.el.shadowRoot||this.el).querySelector(".searchbar-cancel-button"),a=this.shouldShowCancelButton();if(null!==e&&a!==this.isCancelVisible){const o=e.style;if(this.isCancelVisible=a,a)r?o.marginLeft="0":o.marginRight="0";else{const c=e.offsetWidth;c>0&&(r?o.marginLeft=-c+"px":o.marginRight=-c+"px")}}}getValue(){return this.value||""}hasValue(){return""!==this.getValue()}shouldShowCancelButton(){return!("never"===this.showCancelButton||"focus"===this.showCancelButton&&!this.focused)}shouldShowClearButton(){return!("never"===this.showClearButton||"focus"===this.showClearButton&&!this.focused)}render(){const{cancelButtonText:r}=this,e=this.animated&&p.c.getBoolean("animated",!0),a=(0,p.b)(this),o=this.clearIcon||("ios"===a?b.b:b.d),c=this.searchIcon||("ios"===a?b.s:b.e),l=this.shouldShowCancelButton(),f="never"!==this.showCancelButton&&(0,n.h)("button",{"aria-label":r,"aria-hidden":l?void 0:"true",type:"button",tabIndex:"ios"!==a||l?void 0:-1,onMouseDown:this.onCancelSearchbar,onTouchStart:this.onCancelSearchbar,class:"searchbar-cancel-button"},(0,n.h)("div",{"aria-hidden":"true"},"md"===a?(0,n.h)("ion-icon",{"aria-hidden":"true",mode:a,icon:this.cancelButtonIcon,lazy:!1}):r));return(0,n.h)(n.H,{role:"search","aria-disabled":this.disabled?"true":null,class:(0,y.c)(this.color,{[a]:!0,"searchbar-animated":e,"searchbar-disabled":this.disabled,"searchbar-no-animate":e&&this.noAnimate,"searchbar-has-value":this.hasValue(),"searchbar-left-aligned":this.shouldAlignLeft,"searchbar-has-focus":this.focused,"searchbar-should-show-clear":this.shouldShowClearButton(),"searchbar-should-show-cancel":this.shouldShowCancelButton()})},(0,n.h)("div",{class:"searchbar-input-container"},(0,n.h)("input",{"aria-label":"search text",disabled:this.disabled,ref:u=>this.nativeInput=u,class:"searchbar-input",inputMode:this.inputmode,enterKeyHint:this.enterkeyhint,name:this.name,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,placeholder:this.placeholder,type:this.type,value:this.getValue(),autoComplete:this.autocomplete,autoCorrect:this.autocorrect,spellcheck:this.spellcheck}),"md"===a&&f,(0,n.h)("ion-icon",{"aria-hidden":"true",mode:a,icon:c,lazy:!1,class:"searchbar-search-icon"}),(0,n.h)("button",{"aria-label":"reset",type:"button","no-blur":!0,class:"searchbar-clear-button",onPointerDown:u=>{u.preventDefault()},onClick:()=>this.onClearInput(!0)},(0,n.h)("ion-icon",{"aria-hidden":"true",mode:a,icon:o,lazy:!1,class:"searchbar-clear-icon"}))),"ios"===a&&f)}get el(){return(0,n.f)(this)}static get watchers(){return{debounce:["debounceChanged"],value:["valueChanged"],showCancelButton:["showCancelButtonChanged"]}}};let x=0;s.style={ios:".sc-ion-searchbar-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-ios-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:inherit}.searchbar-search-icon.sc-ion-searchbar-ios{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ios{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ios{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;min-height:inherit;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ios::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ios>div.sc-ion-searchbar-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-ios:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{display:block}.searchbar-disabled.sc-ion-searchbar-ios-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-ios-h{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.07);--border-radius:10px;--box-shadow:none;--cancel-button-color:var(--ion-color-primary, #3880ff);--clear-button-color:var(--ion-color-step-600, #666666);--color:var(--ion-text-color, #000);--icon-color:var(--ion-color-step-600, #666666);-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;min-height:60px;contain:content}.searchbar-input-container.sc-ion-searchbar-ios{min-height:36px}.searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:calc(50% - 60px);margin-inline-start:calc(50% - 60px);top:0;position:absolute;width:1.375rem;height:100%;contain:strict}@supports (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-ios{inset-inline-start:5px}}@supports not (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-ios{left:5px}[dir=rtl].sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{left:unset;right:unset;right:5px}[dir=rtl].sc-ion-searchbar-ios .searchbar-search-icon.sc-ion-searchbar-ios{left:unset;right:unset;right:5px}@supports selector(:dir(rtl)){.searchbar-search-icon.sc-ion-searchbar-ios:dir(rtl){left:unset;right:unset;right:5px}}}.searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:6px;padding-bottom:6px;height:100%;font-size:1.0625rem;font-weight:400;contain:strict}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.75rem;padding-inline-start:1.75rem;-webkit-padding-end:1.75rem;padding-inline-end:1.75rem}.searchbar-clear-button.sc-ion-searchbar-ios{top:0;background-position:center;position:absolute;width:1.875rem;height:100%;border:0;background-color:transparent}@supports (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-ios{inset-inline-end:0}}@supports not (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-ios{right:0}[dir=rtl].sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{left:unset;right:unset;left:0}[dir=rtl].sc-ion-searchbar-ios .searchbar-clear-button.sc-ion-searchbar-ios{left:unset;right:unset;left:0}@supports selector(:dir(rtl)){.searchbar-clear-button.sc-ion-searchbar-ios:dir(rtl){left:unset;right:unset;left:0}}}.searchbar-clear-icon.sc-ion-searchbar-ios{width:1.125rem;height:100%}.searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0;background-color:transparent;font-size:16px}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:0;margin-inline-start:0}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.875rem;padding-inline-start:1.875rem}.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{display:block}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-transition:all 300ms ease;transition:all 300ms ease}.searchbar-animated.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{opacity:1;pointer-events:auto}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-margin-end:-100%;margin-inline-end:-100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:all 300ms ease;transition:all 300ms ease;opacity:0;pointer-events:none}.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-transition-duration:0ms;transition-duration:0ms}.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{color:var(--ion-color-base)}@media (any-hover: hover){.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios:hover{color:var(--ion-color-tint)}}ion-toolbar.sc-ion-searchbar-ios-h,ion-toolbar .sc-ion-searchbar-ios-h{padding-top:1px;padding-bottom:15px;min-height:52px}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color),ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color){color:inherit}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios{color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios{background:rgba(var(--ion-color-contrast-rgb), 0.07);color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}",md:".sc-ion-searchbar-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-md-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{color:inherit}.searchbar-search-icon.sc-ion-searchbar-md{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-md{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-md{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;min-height:inherit;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-md::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-md>div.sc-ion-searchbar-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-md:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{display:block}.searchbar-disabled.sc-ion-searchbar-md-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-md-h{--background:var(--ion-background-color, #fff);--border-radius:2px;--box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--cancel-button-color:var(--ion-color-step-900, #1a1a1a);--clear-button-color:initial;--color:var(--ion-color-step-850, #262626);--icon-color:var(--ion-color-step-600, #666666);-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;background:inherit}.searchbar-search-icon.sc-ion-searchbar-md{top:11px;width:1.3125rem;height:1.3125rem}@supports (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-md{inset-inline-start:16px}}@supports not (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-md{left:16px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{left:unset;right:unset;right:16px}[dir=rtl].sc-ion-searchbar-md .searchbar-search-icon.sc-ion-searchbar-md{left:unset;right:unset;right:16px}@supports selector(:dir(rtl)){.searchbar-search-icon.sc-ion-searchbar-md:dir(rtl){left:unset;right:unset;right:16px}}}.searchbar-cancel-button.sc-ion-searchbar-md{top:0;background-color:transparent;font-size:1.5em}@supports (inset-inline-start: 0){.searchbar-cancel-button.sc-ion-searchbar-md{inset-inline-start:9px}}@supports not (inset-inline-start: 0){.searchbar-cancel-button.sc-ion-searchbar-md{left:9px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{left:unset;right:unset;right:9px}[dir=rtl].sc-ion-searchbar-md .searchbar-cancel-button.sc-ion-searchbar-md{left:unset;right:unset;right:9px}@supports selector(:dir(rtl)){.searchbar-cancel-button.sc-ion-searchbar-md:dir(rtl){left:unset;right:unset;right:9px}}}.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-cancel-button.sc-ion-searchbar-md{position:absolute}.searchbar-search-icon.ion-activated.sc-ion-searchbar-md,.searchbar-cancel-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-input.sc-ion-searchbar-md{-webkit-padding-start:3.4375rem;padding-inline-start:3.4375rem;-webkit-padding-end:3.4375rem;padding-inline-end:3.4375rem;padding-top:0.375rem;padding-bottom:0.375rem;background-position:left 8px center;height:auto;font-size:1rem;font-weight:400;line-height:30px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background-position:right 8px center}[dir=rtl].sc-ion-searchbar-md .searchbar-input.sc-ion-searchbar-md{background-position:right 8px center}@supports selector(:dir(rtl)){.searchbar-input.sc-ion-searchbar-md:dir(rtl){background-position:right 8px center}}.searchbar-clear-button.sc-ion-searchbar-md{top:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;position:absolute;height:100%;border:0;background-color:transparent}@supports (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-md{inset-inline-end:13px}}@supports not (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-md{right:13px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{left:unset;right:unset;left:13px}[dir=rtl].sc-ion-searchbar-md .searchbar-clear-button.sc-ion-searchbar-md{left:unset;right:unset;left:13px}@supports selector(:dir(rtl)){.searchbar-clear-button.sc-ion-searchbar-md:dir(rtl){left:unset;right:unset;left:13px}}}.searchbar-clear-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-clear-icon.sc-ion-searchbar-md{width:1.375rem;height:100%}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md{display:none}ion-toolbar.sc-ion-searchbar-md-h,ion-toolbar .sc-ion-searchbar-md-h{-webkit-padding-start:7px;padding-inline-start:7px;-webkit-padding-end:7px;padding-inline-end:7px;padding-top:3px;padding-bottom:3px}"}},3814:(w,g,h)=>{h.d(g,{c:()=>m,g:()=>y,h:()=>n,o:()=>p});var d=h(5861);const n=(t,i)=>null!==i.closest(t),m=(t,i)=>"string"==typeof t&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},i):i,y=t=>{const i={};return(t=>void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter(s=>null!=s).map(s=>s.trim()).filter(s=>""!==s):[])(t).forEach(s=>i[s]=!0),i},b=/^[a-z][a-z0-9+\-.]*:/,p=function(){var t=(0,d.Z)(function*(i,s,x,r){if(null!=i&&"#"!==i[0]&&!b.test(i)){const e=document.querySelector("ion-router");if(e)return s?.preventDefault(),e.push(i,x,r)}return!1});return function(s,x,r,e){return t.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/8939.4343205f201b35cd.js b/8939.4343205f201b35cd.js deleted file mode 100644 index 42b6cb0e..00000000 --- a/8939.4343205f201b35cd.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8939],{8939:(p,s,t)=>{t.r(s),t.d(s,{ion_backdrop:()=>r});var a=t(1071),n=t(6412),i=t(7263);const r=class{constructor(o){(0,a.r)(this,o),this.ionBackdropTap=(0,a.d)(this,"ionBackdropTap",7),this.blocker=n.G.createBlocker({disableScroll:!0}),this.visible=!0,this.tappable=!0,this.stopPropagation=!0}connectedCallback(){this.stopPropagation&&this.blocker.block()}disconnectedCallback(){this.blocker.unblock()}onMouseDown(o){this.emitTap(o)}emitTap(o){this.stopPropagation&&(o.preventDefault(),o.stopPropagation()),this.tappable&&this.ionBackdropTap.emit()}render(){const o=(0,i.b)(this);return(0,a.h)(a.H,{tabindex:"-1","aria-hidden":"true",class:{[o]:!0,"backdrop-hide":!this.visible,"backdrop-no-tappable":!this.tappable}})}};r.style={ios:":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}",md:":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}"}}}]); \ No newline at end of file diff --git a/8939.558926b9ee471663.js b/8939.558926b9ee471663.js new file mode 100644 index 00000000..cbe6202c --- /dev/null +++ b/8939.558926b9ee471663.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8939],{8939:(p,s,t)=>{t.r(s),t.d(s,{ion_backdrop:()=>r});var a=t(408),n=t(2889),i=t(4649);const r=class{constructor(o){(0,a.r)(this,o),this.ionBackdropTap=(0,a.d)(this,"ionBackdropTap",7),this.blocker=n.G.createBlocker({disableScroll:!0}),this.visible=!0,this.tappable=!0,this.stopPropagation=!0}connectedCallback(){this.stopPropagation&&this.blocker.block()}disconnectedCallback(){this.blocker.unblock()}onMouseDown(o){this.emitTap(o)}emitTap(o){this.stopPropagation&&(o.preventDefault(),o.stopPropagation()),this.tappable&&this.ionBackdropTap.emit()}render(){const o=(0,i.b)(this);return(0,a.h)(a.H,{tabindex:"-1","aria-hidden":"true",class:{[o]:!0,"backdrop-hide":!this.visible,"backdrop-no-tappable":!this.tappable}})}};r.style={ios:":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}",md:":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}"}}}]); \ No newline at end of file diff --git a/9016.552c6f6c1bc7491a.js b/9016.552c6f6c1bc7491a.js deleted file mode 100644 index ada2851f..00000000 --- a/9016.552c6f6c1bc7491a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9016],{9016:(x,d,u)=>{u.r(d),u.d(d,{ion_picker_internal:()=>b});var f=u(5861),a=u(1071),p=u(2674);const b=class{constructor(i){(0,a.r)(this,i),this.ionInputModeChange=(0,a.d)(this,"ionInputModeChange",7),this.useInputMode=!1,this.isInHighlightBounds=t=>{const{highlightEl:e}=this;if(!e)return!1;const r=e.getBoundingClientRect();return!(t.clientXr.right||t.clientYr.bottom)},this.onFocusOut=t=>{const{relatedTarget:e}=t;(!e||"ION-PICKER-COLUMN-INTERNAL"!==e.tagName&&e!==this.inputEl)&&this.exitInputMode()},this.onFocusIn=t=>{const{target:e}=t;"ION-PICKER-COLUMN-INTERNAL"!==e.tagName||this.actionOnClick||(e.numericInput?this.enterInputMode(e,!1):this.exitInputMode())},this.onClick=()=>{const{actionOnClick:t}=this;t&&(t(),this.actionOnClick=void 0)},this.onPointerDown=t=>{const{useInputMode:e,inputModeColumn:r,el:o}=this;if(this.isInHighlightBounds(t))if(e)this.actionOnClick="ION-PICKER-COLUMN-INTERNAL"===t.target.tagName?r&&r===t.target?()=>{this.enterInputMode()}:()=>{this.enterInputMode(t.target)}:()=>{this.exitInputMode()};else{const n=1===o.querySelectorAll("ion-picker-column-internal.picker-column-numeric-input").length?t.target:void 0;this.actionOnClick=()=>{this.enterInputMode(n)}}else this.actionOnClick=()=>{this.exitInputMode()}},this.enterInputMode=(t,e=!0)=>{const{inputEl:r,el:o}=this;!r||!o.querySelector("ion-picker-column-internal.picker-column-numeric-input")||(this.useInputMode=!0,this.inputModeColumn=t,e?(this.destroyKeypressListener&&(this.destroyKeypressListener(),this.destroyKeypressListener=void 0),r.focus()):(o.addEventListener("keypress",this.onKeyPress),this.destroyKeypressListener=()=>{o.removeEventListener("keypress",this.onKeyPress)}),this.emitInputModeChange())},this.onKeyPress=t=>{const{inputEl:e}=this;if(!e)return;const r=parseInt(t.key,10);Number.isNaN(r)||(e.value+=t.key,this.onInputChange())},this.selectSingleColumn=()=>{const{inputEl:t,inputModeColumn:e,singleColumnSearchTimeout:r}=this;if(!t||!e)return;const o=e.items.filter(n=>!0!==n.disabled);if(r&&clearTimeout(r),this.singleColumnSearchTimeout=setTimeout(()=>{t.value="",this.singleColumnSearchTimeout=void 0},1e3),t.value.length>=3){const l=t.value.substring(t.value.length-2);return t.value=l,void this.selectSingleColumn()}const s=o.find(({text:n})=>n.replace(/^0+(?=[1-9])|0+(?=0$)/,"")===t.value);if(s)e.setValue(s.value);else if(2===t.value.length){const n=t.value.substring(t.value.length-1);t.value=n,this.selectSingleColumn()}},this.searchColumn=(t,e,r="start")=>{const o="start"===r?/^0+/:/0$/,s=t.items.find(({text:n,disabled:l})=>!0!==l&&n.replace(o,"")===e);s&&t.setValue(s.value)},this.selectMultiColumn=()=>{const{inputEl:t,el:e}=this;if(!t)return;const r=Array.from(e.querySelectorAll("ion-picker-column-internal")).filter(c=>c.numericInput),o=r[0],s=r[1];let l,n=t.value;switch(n.length){case 1:this.searchColumn(o,n);break;case 2:const c=t.value.substring(0,1);n="0"===c||"1"===c?t.value:c,this.searchColumn(o,n),1===n.length&&(l=t.value.substring(t.value.length-1),this.searchColumn(s,l,"end"));break;case 3:const h=t.value.substring(0,1);n="0"===h||"1"===h?t.value.substring(0,2):h,this.searchColumn(o,n),l=t.value.substring(1===n.length?1:2),this.searchColumn(s,l,"end");break;case 4:const g=t.value.substring(0,1);n="0"===g||"1"===g?t.value.substring(0,2):g,this.searchColumn(o,n);const v=t.value.substring(1===n.length?1:2,t.value.length);this.searchColumn(s,v,"end");break;default:const I=t.value.substring(t.value.length-4);t.value=I,this.selectMultiColumn()}},this.onInputChange=()=>{const{useInputMode:t,inputEl:e,inputModeColumn:r}=this;!t||!e||(r?this.selectSingleColumn():this.selectMultiColumn())},this.emitInputModeChange=()=>{const{useInputMode:t,inputModeColumn:e}=this;this.ionInputModeChange.emit({useInputMode:t,inputModeColumn:e})}}preventTouchStartPropagation(i){i.stopPropagation()}componentWillLoad(){(0,p.g)(this.el).addEventListener("focusin",this.onFocusIn),(0,p.g)(this.el).addEventListener("focusout",this.onFocusOut)}exitInputMode(){var i=this;return(0,f.Z)(function*(){const{inputEl:t,useInputMode:e}=i;!e||!t||(i.useInputMode=!1,i.inputModeColumn=void 0,t.blur(),t.value="",i.destroyKeypressListener&&(i.destroyKeypressListener(),i.destroyKeypressListener=void 0),i.emitInputModeChange())})()}render(){return(0,a.h)(a.H,{onPointerDown:i=>this.onPointerDown(i),onClick:()=>this.onClick()},(0,a.h)("input",{"aria-hidden":"true",tabindex:-1,inputmode:"numeric",type:"number",ref:i=>this.inputEl=i,onInput:()=>this.onInputChange(),onBlur:()=>this.exitInputMode()}),(0,a.h)("div",{class:"picker-before"}),(0,a.h)("div",{class:"picker-after"}),(0,a.h)("div",{class:"picker-highlight",ref:i=>this.highlightEl=i}),(0,a.h)("slot",null))}get el(){return(0,a.f)(this)}};b.style={ios:":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{top:0;height:83px}@supports (inset-inline-start: 0){:host .picker-before{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-before{left:0}:host-context([dir=rtl]) .picker-before{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host .picker-before:dir(rtl){left:unset;right:unset;right:0}}}:host .picker-after{top:116px;height:84px}@supports (inset-inline-start: 0){:host .picker-after{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-after{left:0}:host-context([dir=rtl]) .picker-after{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host .picker-after:dir(rtl){left:unset;right:unset;right:0}}}:host .picker-highlight{border-radius:8px;left:0;right:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--wheel-highlight-background);z-index:-1}:host input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column-internal:first-of-type){text-align:start}:host ::slotted(ion-picker-column-internal:last-of-type){text-align:end}:host ::slotted(ion-picker-column-internal:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to bottom, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}:host .picker-after{background:-webkit-gradient(linear, left bottom, left top, color-stop(20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to top, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}:host .picker-highlight{background:var(--wheel-highlight-background, var(--ion-color-step-150, #eeeeef))}",md:":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{top:0;height:83px}@supports (inset-inline-start: 0){:host .picker-before{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-before{left:0}:host-context([dir=rtl]) .picker-before{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host .picker-before:dir(rtl){left:unset;right:unset;right:0}}}:host .picker-after{top:116px;height:84px}@supports (inset-inline-start: 0){:host .picker-after{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-after{left:0}:host-context([dir=rtl]) .picker-after{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host .picker-after:dir(rtl){left:unset;right:unset;right:0}}}:host .picker-highlight{border-radius:8px;left:0;right:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--wheel-highlight-background);z-index:-1}:host input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column-internal:first-of-type){text-align:start}:host ::slotted(ion-picker-column-internal:last-of-type){text-align:end}:host ::slotted(ion-picker-column-internal:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to bottom, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}:host .picker-after{background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to top, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 30%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}"}}}]); \ No newline at end of file diff --git a/9016.7f8c630e86be8e52.js b/9016.7f8c630e86be8e52.js new file mode 100644 index 00000000..acec92eb --- /dev/null +++ b/9016.7f8c630e86be8e52.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9016],{9016:(x,d,u)=>{u.r(d),u.d(d,{ion_picker_internal:()=>b});var f=u(5861),a=u(408),p=u(2961);const b=class{constructor(i){(0,a.r)(this,i),this.ionInputModeChange=(0,a.d)(this,"ionInputModeChange",7),this.useInputMode=!1,this.isInHighlightBounds=t=>{const{highlightEl:e}=this;if(!e)return!1;const r=e.getBoundingClientRect();return!(t.clientXr.right||t.clientYr.bottom)},this.onFocusOut=t=>{const{relatedTarget:e}=t;(!e||"ION-PICKER-COLUMN-INTERNAL"!==e.tagName&&e!==this.inputEl)&&this.exitInputMode()},this.onFocusIn=t=>{const{target:e}=t;"ION-PICKER-COLUMN-INTERNAL"!==e.tagName||this.actionOnClick||(e.numericInput?this.enterInputMode(e,!1):this.exitInputMode())},this.onClick=()=>{const{actionOnClick:t}=this;t&&(t(),this.actionOnClick=void 0)},this.onPointerDown=t=>{const{useInputMode:e,inputModeColumn:r,el:o}=this;if(this.isInHighlightBounds(t))if(e)this.actionOnClick="ION-PICKER-COLUMN-INTERNAL"===t.target.tagName?r&&r===t.target?()=>{this.enterInputMode()}:()=>{this.enterInputMode(t.target)}:()=>{this.exitInputMode()};else{const n=1===o.querySelectorAll("ion-picker-column-internal.picker-column-numeric-input").length?t.target:void 0;this.actionOnClick=()=>{this.enterInputMode(n)}}else this.actionOnClick=()=>{this.exitInputMode()}},this.enterInputMode=(t,e=!0)=>{const{inputEl:r,el:o}=this;!r||!o.querySelector("ion-picker-column-internal.picker-column-numeric-input")||(this.useInputMode=!0,this.inputModeColumn=t,e?(this.destroyKeypressListener&&(this.destroyKeypressListener(),this.destroyKeypressListener=void 0),r.focus()):(o.addEventListener("keypress",this.onKeyPress),this.destroyKeypressListener=()=>{o.removeEventListener("keypress",this.onKeyPress)}),this.emitInputModeChange())},this.onKeyPress=t=>{const{inputEl:e}=this;if(!e)return;const r=parseInt(t.key,10);Number.isNaN(r)||(e.value+=t.key,this.onInputChange())},this.selectSingleColumn=()=>{const{inputEl:t,inputModeColumn:e,singleColumnSearchTimeout:r}=this;if(!t||!e)return;const o=e.items.filter(n=>!0!==n.disabled);if(r&&clearTimeout(r),this.singleColumnSearchTimeout=setTimeout(()=>{t.value="",this.singleColumnSearchTimeout=void 0},1e3),t.value.length>=3){const l=t.value.substring(t.value.length-2);return t.value=l,void this.selectSingleColumn()}const s=o.find(({text:n})=>n.replace(/^0+(?=[1-9])|0+(?=0$)/,"")===t.value);if(s)e.setValue(s.value);else if(2===t.value.length){const n=t.value.substring(t.value.length-1);t.value=n,this.selectSingleColumn()}},this.searchColumn=(t,e,r="start")=>{const o="start"===r?/^0+/:/0$/,s=t.items.find(({text:n,disabled:l})=>!0!==l&&n.replace(o,"")===e);s&&t.setValue(s.value)},this.selectMultiColumn=()=>{const{inputEl:t,el:e}=this;if(!t)return;const r=Array.from(e.querySelectorAll("ion-picker-column-internal")).filter(c=>c.numericInput),o=r[0],s=r[1];let l,n=t.value;switch(n.length){case 1:this.searchColumn(o,n);break;case 2:const c=t.value.substring(0,1);n="0"===c||"1"===c?t.value:c,this.searchColumn(o,n),1===n.length&&(l=t.value.substring(t.value.length-1),this.searchColumn(s,l,"end"));break;case 3:const h=t.value.substring(0,1);n="0"===h||"1"===h?t.value.substring(0,2):h,this.searchColumn(o,n),l=t.value.substring(1===n.length?1:2),this.searchColumn(s,l,"end");break;case 4:const g=t.value.substring(0,1);n="0"===g||"1"===g?t.value.substring(0,2):g,this.searchColumn(o,n);const v=t.value.substring(1===n.length?1:2,t.value.length);this.searchColumn(s,v,"end");break;default:const I=t.value.substring(t.value.length-4);t.value=I,this.selectMultiColumn()}},this.onInputChange=()=>{const{useInputMode:t,inputEl:e,inputModeColumn:r}=this;!t||!e||(r?this.selectSingleColumn():this.selectMultiColumn())},this.emitInputModeChange=()=>{const{useInputMode:t,inputModeColumn:e}=this;this.ionInputModeChange.emit({useInputMode:t,inputModeColumn:e})}}preventTouchStartPropagation(i){i.stopPropagation()}componentWillLoad(){(0,p.g)(this.el).addEventListener("focusin",this.onFocusIn),(0,p.g)(this.el).addEventListener("focusout",this.onFocusOut)}exitInputMode(){var i=this;return(0,f.Z)(function*(){const{inputEl:t,useInputMode:e}=i;!e||!t||(i.useInputMode=!1,i.inputModeColumn=void 0,t.blur(),t.value="",i.destroyKeypressListener&&(i.destroyKeypressListener(),i.destroyKeypressListener=void 0),i.emitInputModeChange())})()}render(){return(0,a.h)(a.H,{onPointerDown:i=>this.onPointerDown(i),onClick:()=>this.onClick()},(0,a.h)("input",{"aria-hidden":"true",tabindex:-1,inputmode:"numeric",type:"number",ref:i=>this.inputEl=i,onInput:()=>this.onInputChange(),onBlur:()=>this.exitInputMode()}),(0,a.h)("div",{class:"picker-before"}),(0,a.h)("div",{class:"picker-after"}),(0,a.h)("div",{class:"picker-highlight",ref:i=>this.highlightEl=i}),(0,a.h)("slot",null))}get el(){return(0,a.f)(this)}};b.style={ios:":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{top:0;height:83px}@supports (inset-inline-start: 0){:host .picker-before{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-before{left:0}:host-context([dir=rtl]) .picker-before{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)) .picker-before{left:unset;right:unset;right:0}}}:host .picker-after{top:116px;height:84px}@supports (inset-inline-start: 0){:host .picker-after{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-after{left:0}:host-context([dir=rtl]) .picker-after{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)) .picker-after{left:unset;right:unset;right:0}}}:host .picker-highlight{border-radius:8px;left:0;right:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--wheel-highlight-background);z-index:-1}:host input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column-internal:first-of-type){text-align:start}:host ::slotted(ion-picker-column-internal:last-of-type){text-align:end}:host ::slotted(ion-picker-column-internal:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to bottom, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}:host .picker-after{background:-webkit-gradient(linear, left bottom, left top, color-stop(20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to top, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}:host .picker-highlight{background:var(--wheel-highlight-background, var(--ion-color-step-150, #eeeeef))}",md:":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{top:0;height:83px}@supports (inset-inline-start: 0){:host .picker-before{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-before{left:0}:host-context([dir=rtl]) .picker-before{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)) .picker-before{left:unset;right:unset;right:0}}}:host .picker-after{top:116px;height:84px}@supports (inset-inline-start: 0){:host .picker-after{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-after{left:0}:host-context([dir=rtl]) .picker-after{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)) .picker-after{left:unset;right:unset;right:0}}}:host .picker-highlight{border-radius:8px;left:0;right:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--wheel-highlight-background);z-index:-1}:host input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column-internal:first-of-type){text-align:start}:host ::slotted(ion-picker-column-internal:last-of-type){text-align:end}:host ::slotted(ion-picker-column-internal:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to bottom, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}:host .picker-after{background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to top, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 30%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}"}}}]); \ No newline at end of file diff --git a/9230.201c45970184b129.js b/9230.201c45970184b129.js new file mode 100644 index 00000000..5fe7d8f9 --- /dev/null +++ b/9230.201c45970184b129.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9230],{9230:(B,b,l)=>{l.r(b),l.d(b,{ion_datetime_button:()=>x});var h=l(5861),r=l(408),f=l(2961),u=l(8909),D=l(3814),k=l(4649),d=l(402);const x=class{constructor(s){var o=this;(0,r.r)(this,s),this.datetimeEl=null,this.overlayEl=null,this.getParsedDateValues=e=>null==e?[]:Array.isArray(e)?e:[e],this.setDateTimeText=()=>{const{datetimeEl:e,datetimePresentation:i}=this;if(!e)return;const{value:n,locale:t,hourCycle:a,preferWheel:c,multiple:w,titleSelectedDatesFormatter:g}=e,p=this.getParsedDateValues(n),_=(0,d.q)(p.length>0?p:[(0,d.t)()]);if(!_)return;const m=_[0],v=(0,d.J)(t,a);switch(this.dateText=this.timeText=void 0,i){case"date-time":case"time-date":const T=(0,d.T)(t,m),E=(0,d.K)(t,m,v);c?this.dateText=`${T} ${E}`:(this.dateText=T,this.timeText=E);break;case"date":if(w&&1!==p.length){let y=`${p.length} days`;if(void 0!==g)try{y=g(p)}catch(O){(0,u.a)("Exception in provided `titleSelectedDatesFormatter`: ",O)}this.dateText=y}else this.dateText=(0,d.T)(t,m);break;case"time":this.timeText=(0,d.K)(t,m,v);break;case"month-year":this.dateText=(0,d.G)(t,m);break;case"month":this.dateText=(0,d.S)(t,m,{month:"long"});break;case"year":this.dateText=(0,d.S)(t,m,{year:"numeric"})}},this.waitForDatetimeChanges=(0,h.Z)(function*(){const{datetimeEl:e}=o;return e?new Promise(i=>{(0,f.a)(e,"ionRender",i,{once:!0})}):Promise.resolve()}),this.handleDateClick=function(){var e=(0,h.Z)(function*(i){const{datetimeEl:n,datetimePresentation:t}=o;if(!n)return;let a=!1;switch(t){case"date-time":case"time-date":!n.preferWheel&&"date"!==n.presentation&&(n.presentation="date",a=!0)}o.selectedButton="date",o.presentOverlay(i,a,o.dateTargetEl)});return function(i){return e.apply(this,arguments)}}(),this.handleTimeClick=e=>{const{datetimeEl:i,datetimePresentation:n}=this;if(!i)return;let t=!1;switch(n){case"date-time":case"time-date":"time"!==i.presentation&&(i.presentation="time",t=!0)}this.selectedButton="time",this.presentOverlay(e,t,this.timeTargetEl)},this.presentOverlay=function(){var e=(0,h.Z)(function*(i,n,t){const{overlayEl:a}=o;a&&("ION-POPOVER"===a.tagName?(n&&(yield o.waitForDatetimeChanges()),a.present(Object.assign(Object.assign({},i),{detail:{ionShadowTarget:t}}))):a.present())});return function(i,n,t){return e.apply(this,arguments)}}(),this.datetimePresentation="date-time",this.dateText=void 0,this.timeText=void 0,this.datetimeActive=!1,this.selectedButton=void 0,this.color="primary",this.disabled=!1,this.datetime=void 0}componentWillLoad(){var s=this;return(0,h.Z)(function*(){const{datetime:o}=s;if(!o)return void(0,u.a)("An ID associated with an ion-datetime instance is required for ion-datetime-button to function properly.",s.el);const e=s.datetimeEl=document.getElementById(o);if(!e)return void(0,u.a)(`No ion-datetime instance found for ID '${o}'.`,s.el);if("ION-DATETIME"!==e.tagName)return void(0,u.a)(`Expected an ion-datetime instance for ID '${o}' but received '${e.tagName.toLowerCase()}' instead.`,e);new IntersectionObserver(t=>{s.datetimeActive=t[0].isIntersecting},{threshold:.01}).observe(e);const n=s.overlayEl=e.closest("ion-modal, ion-popover");n&&n.classList.add("ion-datetime-button-overlay"),(0,f.c)(e,()=>{const t=s.datetimePresentation=e.presentation||"date-time";switch(s.setDateTimeText(),(0,f.a)(e,"ionValueChange",s.setDateTimeText),t){case"date-time":case"date":case"month-year":case"month":case"year":s.selectedButton="date";break;case"time-date":case"time":s.selectedButton="time"}})})()}render(){const{color:s,dateText:o,timeText:e,selectedButton:i,datetimeActive:n,disabled:t}=this,a=(0,k.b)(this);return(0,r.h)(r.H,{class:(0,D.c)(s,{[a]:!0,[`${i}-active`]:n,"datetime-button-disabled":t})},o&&(0,r.h)("button",{class:"ion-activatable",id:"date-button","aria-expanded":n?"true":"false",onClick:this.handleDateClick,disabled:t,part:"native",ref:c=>this.dateTargetEl=c},(0,r.h)("slot",{name:"date-target"},o),"md"===a&&(0,r.h)("ion-ripple-effect",null)),e&&(0,r.h)("button",{class:"ion-activatable",id:"time-button","aria-expanded":n?"true":"false",onClick:this.handleTimeClick,disabled:t,part:"native",ref:c=>this.timeTargetEl=c},(0,r.h)("slot",{name:"time-target"},e),"md"===a&&(0,r.h)("ion-ripple-effect",null)))}get el(){return(0,r.f)(this)}};x.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:1rem;cursor:pointer;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}",md:":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:1rem;cursor:pointer;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}"}}}]); \ No newline at end of file diff --git a/9230.2670017cfc043ee5.js b/9230.2670017cfc043ee5.js deleted file mode 100644 index 896bd5b3..00000000 --- a/9230.2670017cfc043ee5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9230],{9230:(w,b,l)=>{l.r(b),l.d(b,{ion_datetime_button:()=>x});var p=l(5861),r=l(1071),f=l(2674),u=l(3357),y=l(2997),D=l(7263),d=l(3131);const x=class{constructor(s){var o=this;(0,r.r)(this,s),this.datetimeEl=null,this.overlayEl=null,this.getParsedDateValues=e=>null==e?[]:Array.isArray(e)?e:[e],this.setDateTimeText=()=>{const{datetimeEl:e,datetimePresentation:n}=this;if(!e)return;const{value:i,locale:t,hourCycle:a,preferWheel:c,multiple:C,titleSelectedDatesFormatter:g}=e,h=this.getParsedDateValues(i),m=(0,d.q)(h.length>0?h:[(0,d.t)()])[0],_=(0,d.J)(t,a);switch(this.dateText=this.timeText=void 0,n){case"date-time":case"time-date":const v=(0,d.T)(t,m),T=(0,d.K)(t,m,_);c?this.dateText=`${v} ${T}`:(this.dateText=v,this.timeText=T);break;case"date":if(C&&1!==h.length){let E=`${h.length} days`;if(void 0!==g)try{E=g(h)}catch(O){(0,u.a)("Exception in provided `titleSelectedDatesFormatter`: ",O)}this.dateText=E}else this.dateText=(0,d.T)(t,m);break;case"time":this.timeText=(0,d.K)(t,m,_);break;case"month-year":this.dateText=(0,d.G)(t,m);break;case"month":this.dateText=(0,d.S)(t,m,{month:"long"});break;case"year":this.dateText=(0,d.S)(t,m,{year:"numeric"})}},this.waitForDatetimeChanges=(0,p.Z)(function*(){const{datetimeEl:e}=o;return e?new Promise(n=>{(0,f.a)(e,"ionRender",n,{once:!0})}):Promise.resolve()}),this.handleDateClick=function(){var e=(0,p.Z)(function*(n){const{datetimeEl:i,datetimePresentation:t}=o;if(!i)return;let a=!1;switch(t){case"date-time":case"time-date":!i.preferWheel&&"date"!==i.presentation&&(i.presentation="date",a=!0)}o.selectedButton="date",o.presentOverlay(n,a,o.dateTargetEl)});return function(n){return e.apply(this,arguments)}}(),this.handleTimeClick=e=>{const{datetimeEl:n,datetimePresentation:i}=this;if(!n)return;let t=!1;switch(i){case"date-time":case"time-date":"time"!==n.presentation&&(n.presentation="time",t=!0)}this.selectedButton="time",this.presentOverlay(e,t,this.timeTargetEl)},this.presentOverlay=function(){var e=(0,p.Z)(function*(n,i,t){const{overlayEl:a}=o;a&&("ION-POPOVER"===a.tagName?(i&&(yield o.waitForDatetimeChanges()),a.present(Object.assign(Object.assign({},n),{detail:{ionShadowTarget:t}}))):a.present())});return function(n,i,t){return e.apply(this,arguments)}}(),this.datetimePresentation="date-time",this.dateText=void 0,this.timeText=void 0,this.datetimeActive=!1,this.selectedButton=void 0,this.color="primary",this.disabled=!1,this.datetime=void 0}componentWillLoad(){var s=this;return(0,p.Z)(function*(){const{datetime:o}=s;if(!o)return void(0,u.a)("An ID associated with an ion-datetime instance is required for ion-datetime-button to function properly.",s.el);const e=s.datetimeEl=document.getElementById(o);if(!e)return void(0,u.a)(`No ion-datetime instance found for ID '${o}'.`,s.el);if("ION-DATETIME"!==e.tagName)return void(0,u.a)(`Expected an ion-datetime instance for ID '${o}' but received '${e.tagName.toLowerCase()}' instead.`,e);new IntersectionObserver(t=>{s.datetimeActive=t[0].isIntersecting},{threshold:.01}).observe(e);const i=s.overlayEl=e.closest("ion-modal, ion-popover");i&&i.classList.add("ion-datetime-button-overlay"),(0,f.c)(e,()=>{const t=s.datetimePresentation=e.presentation||"date-time";switch(s.setDateTimeText(),(0,f.a)(e,"ionValueChange",s.setDateTimeText),t){case"date-time":case"date":case"month-year":case"month":case"year":s.selectedButton="date";break;case"time-date":case"time":s.selectedButton="time"}})})()}render(){const{color:s,dateText:o,timeText:e,selectedButton:n,datetimeActive:i,disabled:t}=this,a=(0,D.b)(this);return(0,r.h)(r.H,{class:(0,y.c)(s,{[a]:!0,[`${n}-active`]:i,"datetime-button-disabled":t})},o&&(0,r.h)("button",{class:"ion-activatable",id:"date-button","aria-expanded":i?"true":"false",onClick:this.handleDateClick,disabled:t,part:"native",ref:c=>this.dateTargetEl=c},(0,r.h)("slot",{name:"date-target"},o),"md"===a&&(0,r.h)("ion-ripple-effect",null)),e&&(0,r.h)("button",{class:"ion-activatable",id:"time-button","aria-expanded":i?"true":"false",onClick:this.handleTimeClick,disabled:t,part:"native",ref:c=>this.timeTargetEl=c},(0,r.h)("slot",{name:"time-target"},e),"md"===a&&(0,r.h)("ion-ripple-effect",null)))}get el(){return(0,r.f)(this)}};x.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}",md:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}"}}}]); \ No newline at end of file diff --git a/9325.709c21fe10c98cc3.js b/9325.709c21fe10c98cc3.js new file mode 100644 index 00000000..2cb69dad --- /dev/null +++ b/9325.709c21fe10c98cc3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9325],{9325:(z,k,d)=>{d.r(k),d.d(k,{ion_segment:()=>s,ion_segment_button:()=>p});var w=d(5861),r=d(408),b=d(2961),y=d(6879),m=d(3814),C=d(4649);const s=class{constructor(t){(0,r.r)(this,t),this.ionChange=(0,r.d)(this,"ionChange",7),this.ionSelect=(0,r.d)(this,"ionSelect",7),this.ionStyle=(0,r.d)(this,"ionStyle",7),this.onClick=e=>{const n=e.target,o=this.checked;"ION-SEGMENT"!==n.tagName&&(this.value=n.value,n!==o&&this.emitValueChange(),(this.scrollable||!this.swipeGesture)&&(o?this.checkButton(o,n):this.setCheckedClasses()))},this.getSegmentButton=e=>{var n,o;const i=this.getButtons().filter(a=>!a.disabled),l=i.findIndex(a=>a===document.activeElement);switch(e){case"first":return i[0];case"last":return i[i.length-1];case"next":return null!==(n=i[l+1])&&void 0!==n?n:i[0];case"previous":return null!==(o=i[l-1])&&void 0!==o?o:i[i.length-1];default:return null}},this.activated=!1,this.color=void 0,this.disabled=!1,this.scrollable=!1,this.swipeGesture=!0,this.value=void 0,this.selectOnFocus=!1}colorChanged(t,e){(void 0===e&&void 0!==t||void 0!==e&&void 0===t)&&this.emitStyle()}swipeGestureChanged(){this.gestureChanged()}valueChanged(t){this.ionSelect.emit({value:t}),this.scrollActiveButtonIntoView()}disabledChanged(){this.gestureChanged();const t=this.getButtons();for(const e of t)e.disabled=this.disabled}gestureChanged(){this.gesture&&this.gesture.enable(!this.scrollable&&!this.disabled&&this.swipeGesture)}connectedCallback(){this.emitStyle()}componentWillLoad(){this.emitStyle()}componentDidLoad(){var t=this;return(0,w.Z)(function*(){t.setCheckedClasses(),(0,b.r)(()=>{t.scrollActiveButtonIntoView(!1)}),t.gesture=(yield Promise.resolve().then(d.bind(d,5067))).createGesture({el:t.el,gestureName:"segment",gesturePriority:100,threshold:0,passive:!1,onStart:e=>t.onStart(e),onMove:e=>t.onMove(e),onEnd:e=>t.onEnd(e)}),t.gestureChanged(),t.disabled&&t.disabledChanged()})()}onStart(t){this.valueBeforeGesture=this.value,this.activate(t)}onMove(t){this.setNextIndex(t)}onEnd(t){this.setActivated(!1),this.setNextIndex(t,!0),t.event.stopImmediatePropagation();const e=this.value;void 0!==e&&this.valueBeforeGesture!==e&&this.emitValueChange(),this.valueBeforeGesture=void 0}emitValueChange(){const{value:t}=this;this.ionChange.emit({value:t})}getButtons(){return Array.from(this.el.querySelectorAll("ion-segment-button"))}get checked(){return this.getButtons().find(t=>t.value===this.value)}setActivated(t){this.getButtons().forEach(n=>{t?n.classList.add("segment-button-activated"):n.classList.remove("segment-button-activated")}),this.activated=t}activate(t){const e=t.event.target,o=this.getButtons().find(i=>i.value===this.value);"ION-SEGMENT-BUTTON"===e.tagName&&(o||(this.value=e.value,this.setCheckedClasses()),this.value===e.value&&this.setActivated(!0))}getIndicator(t){return(t.shadowRoot||t).querySelector(".segment-button-indicator")}checkButton(t,e){const n=this.getIndicator(t),o=this.getIndicator(e);if(null===n||null===o)return;const i=n.getBoundingClientRect(),l=o.getBoundingClientRect(),g=`translate3d(${i.left-l.left}px, 0, 0) scaleX(${i.width/l.width})`;(0,r.w)(()=>{o.classList.remove("segment-button-indicator-animated"),o.style.setProperty("transform",g),o.getBoundingClientRect(),o.classList.add("segment-button-indicator-animated"),o.style.setProperty("transform","")}),this.value=e.value,this.setCheckedClasses()}setCheckedClasses(){const t=this.getButtons(),n=t.findIndex(o=>o.value===this.value)+1;for(const o of t)o.classList.remove("segment-button-after-checked");na.value===n);if(void 0!==l){const a=o.getBoundingClientRect(),h=l.getBoundingClientRect();o.scrollBy({top:0,left:h.x-a.x-a.width/2+h.width/2,behavior:t?"smooth":"instant"})}}}setNextIndex(t,e=!1){const n=(0,y.i)(this.el),o=this.activated,i=this.getButtons(),l=i.findIndex(f=>f.value===this.value),a=i[l];let h,g;if(-1===l)return;const v=a.getBoundingClientRect(),E=v.left,I=v.width,x=t.currentX,D=v.top+v.height/2,L=this.el.getRootNode().elementFromPoint(x,D);if(o&&!e){if(n?x>E+I:x=0&&(g=f)}else if((n?xE+I)&&o&&!e){const f=l+1;f{(0,r.i)(this)},this.updateState=()=>{const{segmentEl:e}=this;e&&(this.checked=e.value===this.value,e.disabled&&(this.disabled=!0))},this.checked=!1,this.disabled=!1,this.layout="icon-top",this.type="button",this.value="ion-sb-"+B++}valueChanged(){this.updateState()}connectedCallback(){const t=this.segmentEl=this.el.closest("ion-segment");t&&(this.updateState(),(0,b.a)(t,"ionSelect",this.updateState),(0,b.a)(t,"ionStyle",this.updateStyle))}disconnectedCallback(){const t=this.segmentEl;t&&((0,b.b)(t,"ionSelect",this.updateState),(0,b.b)(t,"ionStyle",this.updateStyle),this.segmentEl=null)}componentWillLoad(){this.inheritedAttributes=Object.assign({},(0,b.k)(this.el,["aria-label"]))}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}setFocus(){var t=this;return(0,w.Z)(function*(){const{nativeEl:e}=t;void 0!==e&&e.focus()})()}render(){const{checked:t,type:e,disabled:n,hasIcon:o,hasLabel:i,layout:l,segmentEl:a}=this,h=(0,C.b)(this);return(0,r.h)(r.H,{class:{[h]:!0,"in-toolbar":(0,m.h)("ion-toolbar",this.el),"in-toolbar-color":(0,m.h)("ion-toolbar[color]",this.el),"in-segment":(0,m.h)("ion-segment",this.el),"in-segment-color":void 0!==a?.color,"segment-button-has-label":i,"segment-button-has-icon":o,"segment-button-has-label-only":i&&!o,"segment-button-has-icon-only":o&&!i,"segment-button-disabled":n,"segment-button-checked":t,[`segment-button-layout-${l}`]:!0,"ion-activatable":!0,"ion-activatable-instant":!0,"ion-focusable":!0}},(0,r.h)("button",Object.assign({"aria-selected":t?"true":"false",role:"tab",ref:v=>this.nativeEl=v,type:e,class:"button-native",part:"native",disabled:n},this.inheritedAttributes),(0,r.h)("span",{class:"button-inner"},(0,r.h)("slot",null)),"md"===h&&(0,r.h)("ion-ripple-effect",null)),(0,r.h)("div",{part:"indicator",class:{"segment-button-indicator":!0,"segment-button-indicator-animated":!0}},(0,r.h)("div",{part:"indicator-background",class:"segment-button-indicator-background"})))}get el(){return(0,r.f)(this)}static get watchers(){return{value:["valueChanged"]}}};p.style={ios:':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:none;--background-hover-opacity:0;--background-focused:none;--background-focused-opacity:0;--border-radius:7px;--border-width:1px;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--border-style:solid;--indicator-box-shadow:0 0 5px rgba(0, 0, 0, 0.16);--indicator-color:var(--ion-color-step-350, var(--ion-background-color, #fff));--indicator-height:100%;--indicator-transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--transition:100ms all linear;--padding-top:0;--padding-end:13px;--padding-bottom:0;--padding-start:13px;margin-top:2px;margin-bottom:2px;position:relative;-ms-flex-direction:row;flex-direction:row;min-width:70px;min-height:28px;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);font-size:13px;font-weight:450;line-height:37px}:host::before{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;-webkit-transition:160ms opacity ease-in-out;transition:160ms opacity ease-in-out;-webkit-transition-delay:100ms;transition-delay:100ms;border-left:var(--border-width) var(--border-style) var(--border-color);content:"";opacity:1;will-change:opacity}:host(:first-of-type)::before{border-left-color:transparent}:host(.segment-button-disabled){opacity:0.3}::slotted(ion-icon){font-size:24px}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:2px;margin-inline-end:2px}.segment-button-indicator{-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;left:0;right:0;top:0;bottom:0}.segment-button-indicator-background{border-radius:var(--border-radius);background:var(--indicator-color)}.segment-button-indicator-background{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked)::before,:host(.segment-button-after-checked)::before{opacity:0}:host(.segment-button-checked){z-index:-1}:host(.segment-button-activated){--indicator-transform:scale(0.95)}:host(.ion-focused) .button-native{opacity:0.7}@media (any-hover: hover){:host(:hover) .button-native{opacity:0.5}:host(.segment-button-checked:hover) .button-native{opacity:1}}:host(.in-segment-color){background:none;color:var(--ion-text-color, #000)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-step-350, var(--ion-background-color, #fff))}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native,:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-text-color, #000)}}:host(.in-toolbar:not(.in-segment-color)){--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, var(--ion-toolbar-color), initial);--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-toolbar-color), initial);--indicator-color:var(--ion-toolbar-segment-indicator-color, var(--ion-color-step-350, var(--ion-background-color, #fff)))}:host(.in-toolbar-color) .segment-button-indicator-background{background:var(--ion-color-contrast)}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color):hover) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color):hover) .button-native{color:var(--ion-color-base)}}',md:':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:var(--color-checked);--background-focused:var(--color-checked);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #3880ff);--indicator-box-shadow:none;--indicator-color:var(--color-checked);--indicator-height:2px;--indicator-transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--padding-top:0;--padding-end:16px;--padding-bottom:0;--padding-start:16px;--transition:color 0.15s linear 0s, opacity 0.15s linear 0s;min-width:90px;min-height:48px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);font-size:14px;font-weight:500;letter-spacing:0.06em;line-height:40px;text-transform:uppercase}:host(.segment-button-disabled){opacity:0.3}:host(.in-segment-color){background:none;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color) ion-ripple-effect{color:var(--ion-color-base)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked) .button-native{color:var(--ion-color-base)}:host(.in-segment-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color:hover) .button-native::after{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-segment-color)){--background:var(--ion-toolbar-segment-background, none);--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6));--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-color-primary, #3880ff));--indicator-color:var(--ion-toolbar-segment-color-checked, var(--color-checked))}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:rgba(var(--ion-color-contrast-rgb), 0.6)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color)) .button-native::after{background:var(--ion-color-contrast)}}::slotted(ion-icon){margin-top:12px;margin-bottom:12px;font-size:24px}::slotted(ion-label){margin-top:12px;margin-bottom:12px}:host(.segment-button-layout-icon-top) ::slotted(ion-label),:host(.segment-button-layout-icon-bottom) ::slotted(ion-icon){margin-top:0}:host(.segment-button-layout-icon-top) ::slotted(ion-icon),:host(.segment-button-layout-icon-bottom) ::slotted(ion-label){margin-bottom:0}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}:host(.segment-button-has-icon-only) ::slotted(ion-icon){margin-top:12px;margin-bottom:12px}:host(.segment-button-has-label-only) ::slotted(ion-label){margin-top:12px;margin-bottom:12px}.segment-button-indicator{left:0;right:0;bottom:0}.segment-button-indicator-background{background:var(--indicator-color)}:host(.in-toolbar:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-toolbar-segment-indicator-color, var(--indicator-color))}:host(.in-toolbar-color:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-color-contrast)}'}},3814:(z,k,d)=>{d.d(k,{c:()=>b,g:()=>m,h:()=>r,o:()=>S});var w=d(5861);const r=(c,s)=>null!==s.closest(c),b=(c,s)=>"string"==typeof c&&c.length>0?Object.assign({"ion-color":!0,[`ion-color-${c}`]:!0},s):s,m=c=>{const s={};return(c=>void 0!==c?(Array.isArray(c)?c:c.split(" ")).filter(u=>null!=u).map(u=>u.trim()).filter(u=>""!==u):[])(c).forEach(u=>s[u]=!0),s},C=/^[a-z][a-z0-9+\-.]*:/,S=function(){var c=(0,w.Z)(function*(s,u,_,B){if(null!=s&&"#"!==s[0]&&!C.test(s)){const p=document.querySelector("ion-router");if(p)return u?.preventDefault(),p.push(s,_,B)}return!1});return function(u,_,B,p){return c.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/9325.71e977d70555fb6b.js b/9325.71e977d70555fb6b.js deleted file mode 100644 index b445766f..00000000 --- a/9325.71e977d70555fb6b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9325],{9325:(z,k,c)=>{c.r(k),c.d(k,{ion_segment:()=>a,ion_segment_button:()=>f});var y=c(5861),r=c(1071),w=c(5215),b=c(2997),C=c(7263),m=c(2674);const a=class{constructor(t){(0,r.r)(this,t),this.ionChange=(0,r.d)(this,"ionChange",7),this.ionSelect=(0,r.d)(this,"ionSelect",7),this.ionStyle=(0,r.d)(this,"ionStyle",7),this.onClick=e=>{const n=e.target,o=this.checked;"ION-SEGMENT"!==n.tagName&&(this.value=n.value,n!==o&&this.emitValueChange(),(this.scrollable||!this.swipeGesture)&&(o?this.checkButton(o,n):this.setCheckedClasses()))},this.getSegmentButton=e=>{var n,o;const i=this.getButtons().filter(d=>!d.disabled),h=i.findIndex(d=>d===document.activeElement);switch(e){case"first":return i[0];case"last":return i[i.length-1];case"next":return null!==(n=i[h+1])&&void 0!==n?n:i[0];case"previous":return null!==(o=i[h-1])&&void 0!==o?o:i[i.length-1];default:return null}},this.activated=!1,this.color=void 0,this.disabled=!1,this.scrollable=!1,this.swipeGesture=!0,this.value=void 0,this.selectOnFocus=!1}colorChanged(t,e){(void 0===e&&void 0!==t||void 0!==e&&void 0===t)&&this.emitStyle()}swipeGestureChanged(){this.gestureChanged()}valueChanged(t){if(this.ionSelect.emit({value:t}),this.scrollable){const n=this.getButtons().find(o=>o.value===t);void 0!==n&&n.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})}}disabledChanged(){this.gestureChanged();const t=this.getButtons();for(const e of t)e.disabled=this.disabled}gestureChanged(){this.gesture&&this.gesture.enable(!this.scrollable&&!this.disabled&&this.swipeGesture)}connectedCallback(){this.emitStyle()}componentWillLoad(){this.emitStyle()}componentDidLoad(){var t=this;return(0,y.Z)(function*(){t.setCheckedClasses(),t.gesture=(yield Promise.resolve().then(c.bind(c,9531))).createGesture({el:t.el,gestureName:"segment",gesturePriority:100,threshold:0,passive:!1,onStart:e=>t.onStart(e),onMove:e=>t.onMove(e),onEnd:e=>t.onEnd(e)}),t.gestureChanged(),t.disabled&&t.disabledChanged()})()}onStart(t){this.valueBeforeGesture=this.value,this.activate(t)}onMove(t){this.setNextIndex(t)}onEnd(t){this.setActivated(!1),this.setNextIndex(t,!0),t.event.stopImmediatePropagation();const e=this.value;void 0!==e&&this.valueBeforeGesture!==e&&this.emitValueChange(),this.valueBeforeGesture=void 0}emitValueChange(){const{value:t}=this;this.ionChange.emit({value:t})}getButtons(){return Array.from(this.el.querySelectorAll("ion-segment-button"))}get checked(){return this.getButtons().find(t=>t.value===this.value)}setActivated(t){this.getButtons().forEach(n=>{t?n.classList.add("segment-button-activated"):n.classList.remove("segment-button-activated")}),this.activated=t}activate(t){const e=t.event.target,o=this.getButtons().find(i=>i.value===this.value);"ION-SEGMENT-BUTTON"===e.tagName&&(o||(this.value=e.value,this.setCheckedClasses()),this.value===e.value&&this.setActivated(!0))}getIndicator(t){return(t.shadowRoot||t).querySelector(".segment-button-indicator")}checkButton(t,e){const n=this.getIndicator(t),o=this.getIndicator(e);if(null===n||null===o)return;const i=n.getBoundingClientRect(),h=o.getBoundingClientRect(),g=`translate3d(${i.left-h.left}px, 0, 0) scaleX(${i.width/h.width})`;(0,r.w)(()=>{o.classList.remove("segment-button-indicator-animated"),o.style.setProperty("transform",g),o.getBoundingClientRect(),o.classList.add("segment-button-indicator-animated"),o.style.setProperty("transform","")}),this.value=e.value,this.setCheckedClasses()}setCheckedClasses(){const t=this.getButtons(),n=t.findIndex(o=>o.value===this.value)+1;for(const o of t)o.classList.remove("segment-button-after-checked");nv.value===this.value),d=i[h];let u,g;if(-1===h)return;const p=d.getBoundingClientRect(),S=p.left,I=p.width,x=t.currentX,D=p.top+p.height/2,M=this.el.getRootNode().elementFromPoint(x,D);if(o&&!e){if(n?x>S+I:x=0&&(g=v)}else if((n?xS+I)&&o&&!e){const v=h+1;v{(0,r.i)(this)},this.updateState=()=>{const{segmentEl:e}=this;e&&(this.checked=e.value===this.value,e.disabled&&(this.disabled=!0))},this.checked=!1,this.disabled=!1,this.layout="icon-top",this.type="button",this.value="ion-sb-"+E++}valueChanged(){this.updateState()}connectedCallback(){const t=this.segmentEl=this.el.closest("ion-segment");t&&(this.updateState(),(0,m.a)(t,"ionSelect",this.updateState),(0,m.a)(t,"ionStyle",this.updateStyle))}disconnectedCallback(){const t=this.segmentEl;t&&((0,m.b)(t,"ionSelect",this.updateState),(0,m.b)(t,"ionStyle",this.updateStyle),this.segmentEl=null)}componentWillLoad(){this.inheritedAttributes=Object.assign({},(0,m.k)(this.el,["aria-label"]))}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}setFocus(){var t=this;return(0,y.Z)(function*(){const{nativeEl:e}=t;void 0!==e&&e.focus()})()}render(){const{checked:t,type:e,disabled:n,hasIcon:o,hasLabel:i,layout:h,segmentEl:d}=this,u=(0,C.b)(this);return(0,r.h)(r.H,{class:{[u]:!0,"in-toolbar":(0,b.h)("ion-toolbar",this.el),"in-toolbar-color":(0,b.h)("ion-toolbar[color]",this.el),"in-segment":(0,b.h)("ion-segment",this.el),"in-segment-color":void 0!==d?.color,"segment-button-has-label":i,"segment-button-has-icon":o,"segment-button-has-label-only":i&&!o,"segment-button-has-icon-only":o&&!i,"segment-button-disabled":n,"segment-button-checked":t,[`segment-button-layout-${h}`]:!0,"ion-activatable":!0,"ion-activatable-instant":!0,"ion-focusable":!0}},(0,r.h)("button",Object.assign({"aria-selected":t?"true":"false",role:"tab",ref:p=>this.nativeEl=p,type:e,class:"button-native",part:"native",disabled:n},this.inheritedAttributes),(0,r.h)("span",{class:"button-inner"},(0,r.h)("slot",null)),"md"===u&&(0,r.h)("ion-ripple-effect",null)),(0,r.h)("div",{part:"indicator",class:{"segment-button-indicator":!0,"segment-button-indicator-animated":!0}},(0,r.h)("div",{part:"indicator-background",class:"segment-button-indicator-background"})))}get el(){return(0,r.f)(this)}static get watchers(){return{value:["valueChanged"]}}};f.style={ios:':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:none;--background-hover-opacity:0;--background-focused:none;--background-focused-opacity:0;--border-radius:7px;--border-width:1px;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--border-style:solid;--indicator-box-shadow:0 0 5px rgba(0, 0, 0, 0.16);--indicator-color:var(--ion-color-step-350, var(--ion-background-color, #fff));--indicator-height:100%;--indicator-transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--transition:100ms all linear;--padding-top:0;--padding-end:13px;--padding-bottom:0;--padding-start:13px;margin-top:2px;margin-bottom:2px;position:relative;-ms-flex-direction:row;flex-direction:row;min-width:70px;min-height:28px;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);font-size:13px;font-weight:450;line-height:37px}:host::before{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;-webkit-transition:160ms opacity ease-in-out;transition:160ms opacity ease-in-out;-webkit-transition-delay:100ms;transition-delay:100ms;border-left:var(--border-width) var(--border-style) var(--border-color);content:"";opacity:1;will-change:opacity}:host(:first-of-type)::before{border-left-color:transparent}:host(.segment-button-disabled){opacity:0.3}::slotted(ion-icon){font-size:24px}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:2px;margin-inline-end:2px}.segment-button-indicator{-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;left:0;right:0;top:0;bottom:0}.segment-button-indicator-background{border-radius:var(--border-radius);background:var(--indicator-color)}.segment-button-indicator-background{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked)::before,:host(.segment-button-after-checked)::before{opacity:0}:host(.segment-button-checked){z-index:-1}:host(.segment-button-activated){--indicator-transform:scale(0.95)}:host(.ion-focused) .button-native{opacity:0.7}@media (any-hover: hover){:host(:hover) .button-native{opacity:0.5}:host(.segment-button-checked:hover) .button-native{opacity:1}}:host(.in-segment-color){background:none;color:var(--ion-text-color, #000)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-step-350, var(--ion-background-color, #fff))}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native,:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-text-color, #000)}}:host(.in-toolbar:not(.in-segment-color)){--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, var(--ion-toolbar-color), initial);--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-toolbar-color), initial);--indicator-color:var(--ion-toolbar-segment-indicator-color, var(--ion-color-step-350, var(--ion-background-color, #fff)))}:host(.in-toolbar-color) .segment-button-indicator-background{background:var(--ion-color-contrast)}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color):hover) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color):hover) .button-native{color:var(--ion-color-base)}}',md:':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:var(--color-checked);--background-focused:var(--color-checked);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #3880ff);--indicator-box-shadow:none;--indicator-color:var(--color-checked);--indicator-height:2px;--indicator-transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--padding-top:0;--padding-end:16px;--padding-bottom:0;--padding-start:16px;--transition:color 0.15s linear 0s, opacity 0.15s linear 0s;min-width:90px;min-height:48px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);font-size:14px;font-weight:500;letter-spacing:0.06em;line-height:40px;text-transform:uppercase}:host(.segment-button-disabled){opacity:0.3}:host(.in-segment-color){background:none;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color) ion-ripple-effect{color:var(--ion-color-base)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked) .button-native{color:var(--ion-color-base)}:host(.in-segment-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color:hover) .button-native::after{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-segment-color)){--background:var(--ion-toolbar-segment-background, none);--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6));--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-color-primary, #3880ff));--indicator-color:var(--ion-toolbar-segment-color-checked, var(--color-checked))}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:rgba(var(--ion-color-contrast-rgb), 0.6)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color)) .button-native::after{background:var(--ion-color-contrast)}}::slotted(ion-icon){margin-top:12px;margin-bottom:12px;font-size:24px}::slotted(ion-label){margin-top:12px;margin-bottom:12px}:host(.segment-button-layout-icon-top) ::slotted(ion-label),:host(.segment-button-layout-icon-bottom) ::slotted(ion-icon){margin-top:0}:host(.segment-button-layout-icon-top) ::slotted(ion-icon),:host(.segment-button-layout-icon-bottom) ::slotted(ion-label){margin-bottom:0}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}:host(.segment-button-has-icon-only) ::slotted(ion-icon){margin-top:12px;margin-bottom:12px}:host(.segment-button-has-label-only) ::slotted(ion-label){margin-top:12px;margin-bottom:12px}.segment-button-indicator{left:0;right:0;bottom:0}.segment-button-indicator-background{background:var(--indicator-color)}:host(.in-toolbar:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-toolbar-segment-indicator-color, var(--indicator-color))}:host(.in-toolbar-color:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-color-contrast)}'}},2997:(z,k,c)=>{c.d(k,{c:()=>w,g:()=>C,h:()=>r,o:()=>B});var y=c(5861);const r=(s,a)=>null!==a.closest(s),w=(s,a)=>"string"==typeof s&&s.length>0?Object.assign({"ion-color":!0,[`ion-color-${s}`]:!0},a):a,C=s=>{const a={};return(s=>void 0!==s?(Array.isArray(s)?s:s.split(" ")).filter(l=>null!=l).map(l=>l.trim()).filter(l=>""!==l):[])(s).forEach(l=>a[l]=!0),a},m=/^[a-z][a-z0-9+\-.]*:/,B=function(){var s=(0,y.Z)(function*(a,l,_,E){if(null!=a&&"#"!==a[0]&&!m.test(a)){const f=document.querySelector("ion-router");if(f)return l?.preventDefault(),f.push(a,_,E)}return!1});return function(l,_,E,f){return s.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/9434.02540948d5eb0abe.js b/9434.02540948d5eb0abe.js deleted file mode 100644 index 2bca15ab..00000000 --- a/9434.02540948d5eb0abe.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9434],{9434:(v,p,r)=>{r.r(p),r.d(p,{ion_loading:()=>x});var m=r(5861),t=r(1071),g=r(1180),y=r(2674),l=r(1701),b=r(2997),c=r(7263),n=r(2438);r(7693);const d=i=>{const o=(0,n.c)(),e=(0,n.c)(),a=(0,n.c)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),a.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),o.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,a])},u=i=>{const o=(0,n.c)(),e=(0,n.c)(),a=(0,n.c)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),a.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),o.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,a])},f=i=>{const o=(0,n.c)(),e=(0,n.c)(),a=(0,n.c)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),a.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),o.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,a])},h=i=>{const o=(0,n.c)(),e=(0,n.c)(),a=(0,n.c)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),a.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),o.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,a])},x=class{constructor(i){(0,t.r)(this,i),this.didPresent=(0,t.d)(this,"ionLoadingDidPresent",7),this.willPresent=(0,t.d)(this,"ionLoadingWillPresent",7),this.willDismiss=(0,t.d)(this,"ionLoadingWillDismiss",7),this.didDismiss=(0,t.d)(this,"ionLoadingDidDismiss",7),this.didPresentShorthand=(0,t.d)(this,"didPresent",7),this.willPresentShorthand=(0,t.d)(this,"willPresent",7),this.willDismissShorthand=(0,t.d)(this,"willDismiss",7),this.didDismissShorthand=(0,t.d)(this,"didDismiss",7),this.delegateController=(0,l.d)(this),this.triggerController=(0,l.e)(),this.customHTMLEnabled=c.c.get("innerHTMLTemplatesEnabled",g.E),this.presented=!1,this.onBackdropTap=()=>{this.dismiss(void 0,l.B)},this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.message=void 0,this.cssClass=void 0,this.duration=0,this.backdropDismiss=!1,this.showBackdrop=!0,this.spinner=void 0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(i,o){!0===i&&!1===o?this.present():!1===i&&!0===o&&this.dismiss()}triggerChanged(){const{trigger:i,el:o,triggerController:e}=this;i&&e.addClickListener(o,i)}connectedCallback(){(0,l.j)(this.el),this.triggerChanged()}componentWillLoad(){if(void 0===this.spinner){const i=(0,c.b)(this);this.spinner=c.c.get("loadingSpinner",c.c.get("spinner","ios"===i?"lines":"crescent"))}(0,l.k)(this.el)}componentDidLoad(){!0===this.isOpen&&(0,y.r)(()=>this.present())}disconnectedCallback(){this.triggerController.removeClickListener()}present(){var i=this;return(0,m.Z)(function*(){void 0!==i.currentTransition&&(yield i.currentTransition),yield i.delegateController.attachViewToDom(),i.currentTransition=(0,l.f)(i,"loadingEnter",d,f),yield i.currentTransition,i.duration>0&&(i.durationTimeout=setTimeout(()=>i.dismiss(),i.duration+10)),i.currentTransition=void 0})()}dismiss(i,o){var e=this;return(0,m.Z)(function*(){e.durationTimeout&&clearTimeout(e.durationTimeout),e.currentTransition=(0,l.g)(e,i,o,"loadingLeave",u,h);const a=yield e.currentTransition;return a&&e.delegateController.removeViewFromDom(),a})()}onDidDismiss(){return(0,l.h)(this.el,"ionLoadingDidDismiss")}onWillDismiss(){return(0,l.h)(this.el,"ionLoadingWillDismiss")}renderLoadingMessage(i){const{customHTMLEnabled:o,message:e}=this;return o?(0,t.h)("div",{class:"loading-content",id:i,innerHTML:(0,g.a)(e)}):(0,t.h)("div",{class:"loading-content",id:i},e)}render(){const{message:i,spinner:o,htmlAttributes:e,overlayIndex:a}=this,E=(0,c.b)(this),_=`loading-${a}-msg`;return(0,t.h)(t.H,Object.assign({role:"dialog","aria-modal":"true","aria-labelledby":void 0!==i?_:null,tabindex:"-1"},e,{style:{zIndex:`${4e4+this.overlayIndex}`},onIonBackdropTap:this.onBackdropTap,class:Object.assign(Object.assign({},(0,b.g)(this.cssClass)),{[E]:!0,"overlay-hidden":!0,"loading-translucent":this.translucent})}),(0,t.h)("ion-backdrop",{visible:this.showBackdrop,tappable:this.backdropDismiss}),(0,t.h)("div",{tabindex:"0"}),(0,t.h)("div",{class:"loading-wrapper ion-overlay-wrapper"},o&&(0,t.h)("div",{class:"loading-spinner"},(0,t.h)("ion-spinner",{name:o,"aria-hidden":"true"})),void 0!==i&&this.renderLoadingMessage(_)),(0,t.h)("div",{tabindex:"0"}))}get el(){return(0,t.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}};x.style={ios:".sc-ion-loading-ios-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-ios-h{display:none}.loading-wrapper.sc-ion-loading-ios{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}ion-spinner.sc-ion-loading-ios{color:var(--spinner-color)}.sc-ion-loading-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:270px;--max-height:90%;--spinner-color:var(--ion-color-step-600, #666666);--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);color:var(--ion-text-color, #000);font-size:14px}.loading-wrapper.sc-ion-loading-ios{border-radius:8px;-webkit-padding-start:34px;padding-inline-start:34px;-webkit-padding-end:34px;padding-inline-end:34px;padding-top:24px;padding-bottom:24px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.loading-translucent.sc-ion-loading-ios-h .loading-wrapper.sc-ion-loading-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.loading-content.sc-ion-loading-ios{font-weight:bold}.loading-spinner.sc-ion-loading-ios+.loading-content.sc-ion-loading-ios{-webkit-margin-start:16px;margin-inline-start:16px}",md:".sc-ion-loading-md-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-md-h{display:none}.loading-wrapper.sc-ion-loading-md{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}ion-spinner.sc-ion-loading-md{color:var(--spinner-color)}.sc-ion-loading-md-h{--background:var(--ion-color-step-50, #f2f2f2);--max-width:280px;--max-height:90%;--spinner-color:var(--ion-color-primary, #3880ff);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);color:var(--ion-color-step-850, #262626);font-size:14px}.loading-wrapper.sc-ion-loading-md{border-radius:2px;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px;padding-top:24px;padding-bottom:24px;-webkit-box-shadow:0 16px 20px rgba(0, 0, 0, 0.4);box-shadow:0 16px 20px rgba(0, 0, 0, 0.4)}.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{-webkit-margin-start:16px;margin-inline-start:16px}"}},2997:(v,p,r)=>{r.d(p,{c:()=>g,g:()=>l,h:()=>t,o:()=>c});var m=r(5861);const t=(n,s)=>null!==s.closest(n),g=(n,s)=>"string"==typeof n&&n.length>0?Object.assign({"ion-color":!0,[`ion-color-${n}`]:!0},s):s,l=n=>{const s={};return(n=>void 0!==n?(Array.isArray(n)?n:n.split(" ")).filter(d=>null!=d).map(d=>d.trim()).filter(d=>""!==d):[])(n).forEach(d=>s[d]=!0),s},b=/^[a-z][a-z0-9+\-.]*:/,c=function(){var n=(0,m.Z)(function*(s,d,u,f){if(null!=s&&"#"!==s[0]&&!b.test(s)){const h=document.querySelector("ion-router");if(h)return d?.preventDefault(),h.push(s,u,f)}return!1});return function(d,u,f,h){return n.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/9434.e1d49653b4037a7c.js b/9434.e1d49653b4037a7c.js new file mode 100644 index 00000000..c2019516 --- /dev/null +++ b/9434.e1d49653b4037a7c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9434],{9434:(k,h,a)=>{a.r(h),a.d(h,{ion_loading:()=>_});var p=a(5861),t=a(408),m=a(7036),b=a(2961),y=a(7389),l=a(8042),x=a(3814),s=a(4649),n=a(2876);a(2972);const g=i=>{const o=(0,n.c)(),e=(0,n.c)(),r=(0,n.c)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),r.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),o.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,r])},u=i=>{const o=(0,n.c)(),e=(0,n.c)(),r=(0,n.c)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),r.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),o.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,r])},c=i=>{const o=(0,n.c)(),e=(0,n.c)(),r=(0,n.c)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),r.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),o.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,r])},w=i=>{const o=(0,n.c)(),e=(0,n.c)(),r=(0,n.c)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),r.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),o.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,r])},_=class{constructor(i){(0,t.r)(this,i),this.didPresent=(0,t.d)(this,"ionLoadingDidPresent",7),this.willPresent=(0,t.d)(this,"ionLoadingWillPresent",7),this.willDismiss=(0,t.d)(this,"ionLoadingWillDismiss",7),this.didDismiss=(0,t.d)(this,"ionLoadingDidDismiss",7),this.didPresentShorthand=(0,t.d)(this,"didPresent",7),this.willPresentShorthand=(0,t.d)(this,"willPresent",7),this.willDismissShorthand=(0,t.d)(this,"willDismiss",7),this.didDismissShorthand=(0,t.d)(this,"didDismiss",7),this.delegateController=(0,l.d)(this),this.lockController=(0,y.c)(),this.triggerController=(0,l.e)(),this.customHTMLEnabled=s.c.get("innerHTMLTemplatesEnabled",m.E),this.presented=!1,this.onBackdropTap=()=>{this.dismiss(void 0,l.B)},this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.message=void 0,this.cssClass=void 0,this.duration=0,this.backdropDismiss=!1,this.showBackdrop=!0,this.spinner=void 0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(i,o){!0===i&&!1===o?this.present():!1===i&&!0===o&&this.dismiss()}triggerChanged(){const{trigger:i,el:o,triggerController:e}=this;i&&e.addClickListener(o,i)}connectedCallback(){(0,l.j)(this.el),this.triggerChanged()}componentWillLoad(){if(void 0===this.spinner){const i=(0,s.b)(this);this.spinner=s.c.get("loadingSpinner",s.c.get("spinner","ios"===i?"lines":"crescent"))}(0,l.k)(this.el)}componentDidLoad(){!0===this.isOpen&&(0,b.r)(()=>this.present()),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}present(){var i=this;return(0,p.Z)(function*(){const o=yield i.lockController.lock();yield i.delegateController.attachViewToDom(),yield(0,l.f)(i,"loadingEnter",g,c),i.duration>0&&(i.durationTimeout=setTimeout(()=>i.dismiss(),i.duration+10)),o()})()}dismiss(i,o){var e=this;return(0,p.Z)(function*(){const r=yield e.lockController.lock();e.durationTimeout&&clearTimeout(e.durationTimeout);const f=yield(0,l.g)(e,i,o,"loadingLeave",u,w);return f&&e.delegateController.removeViewFromDom(),r(),f})()}onDidDismiss(){return(0,l.h)(this.el,"ionLoadingDidDismiss")}onWillDismiss(){return(0,l.h)(this.el,"ionLoadingWillDismiss")}renderLoadingMessage(i){const{customHTMLEnabled:o,message:e}=this;return o?(0,t.h)("div",{class:"loading-content",id:i,innerHTML:(0,m.a)(e)}):(0,t.h)("div",{class:"loading-content",id:i},e)}render(){const{message:i,spinner:o,htmlAttributes:e,overlayIndex:r}=this,f=(0,s.b)(this),v=`loading-${r}-msg`;return(0,t.h)(t.H,Object.assign({role:"dialog","aria-modal":"true","aria-labelledby":void 0!==i?v:null,tabindex:"-1"},e,{style:{zIndex:`${4e4+this.overlayIndex}`},onIonBackdropTap:this.onBackdropTap,class:Object.assign(Object.assign({},(0,x.g)(this.cssClass)),{[f]:!0,"overlay-hidden":!0,"loading-translucent":this.translucent})}),(0,t.h)("ion-backdrop",{visible:this.showBackdrop,tappable:this.backdropDismiss}),(0,t.h)("div",{tabindex:"0"}),(0,t.h)("div",{class:"loading-wrapper ion-overlay-wrapper"},o&&(0,t.h)("div",{class:"loading-spinner"},(0,t.h)("ion-spinner",{name:o,"aria-hidden":"true"})),void 0!==i&&this.renderLoadingMessage(v)),(0,t.h)("div",{tabindex:"0"}))}get el(){return(0,t.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}};_.style={ios:".sc-ion-loading-ios-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-ios-h{display:none}.loading-wrapper.sc-ion-loading-ios{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}ion-spinner.sc-ion-loading-ios{color:var(--spinner-color)}.sc-ion-loading-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:270px;--max-height:90%;--spinner-color:var(--ion-color-step-600, #666666);--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);color:var(--ion-text-color, #000);font-size:0.875rem}.loading-wrapper.sc-ion-loading-ios{border-radius:8px;-webkit-padding-start:34px;padding-inline-start:34px;-webkit-padding-end:34px;padding-inline-end:34px;padding-top:24px;padding-bottom:24px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.loading-translucent.sc-ion-loading-ios-h .loading-wrapper.sc-ion-loading-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.loading-content.sc-ion-loading-ios{font-weight:bold}.loading-spinner.sc-ion-loading-ios+.loading-content.sc-ion-loading-ios{-webkit-margin-start:16px;margin-inline-start:16px}",md:".sc-ion-loading-md-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-md-h{display:none}.loading-wrapper.sc-ion-loading-md{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}ion-spinner.sc-ion-loading-md{color:var(--spinner-color)}.sc-ion-loading-md-h{--background:var(--ion-color-step-50, #f2f2f2);--max-width:280px;--max-height:90%;--spinner-color:var(--ion-color-primary, #3880ff);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);color:var(--ion-color-step-850, #262626);font-size:0.875rem}.loading-wrapper.sc-ion-loading-md{border-radius:2px;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px;padding-top:24px;padding-bottom:24px;-webkit-box-shadow:0 16px 20px rgba(0, 0, 0, 0.4);box-shadow:0 16px 20px rgba(0, 0, 0, 0.4)}.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{-webkit-margin-start:16px;margin-inline-start:16px}"}},3814:(k,h,a)=>{a.d(h,{c:()=>m,g:()=>y,h:()=>t,o:()=>x});var p=a(5861);const t=(s,n)=>null!==n.closest(s),m=(s,n)=>"string"==typeof s&&s.length>0?Object.assign({"ion-color":!0,[`ion-color-${s}`]:!0},n):n,y=s=>{const n={};return(s=>void 0!==s?(Array.isArray(s)?s:s.split(" ")).filter(d=>null!=d).map(d=>d.trim()).filter(d=>""!==d):[])(s).forEach(d=>n[d]=!0),n},l=/^[a-z][a-z0-9+\-.]*:/,x=function(){var s=(0,p.Z)(function*(n,d,g,u){if(null!=n&&"#"!==n[0]&&!l.test(n)){const c=document.querySelector("ion-router");if(c)return d?.preventDefault(),c.push(n,g,u)}return!1});return function(d,g,u,c){return s.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/9536.2eed6356567e4809.js b/9536.2eed6356567e4809.js new file mode 100644 index 00000000..d83e58be --- /dev/null +++ b/9536.2eed6356567e4809.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9536],{9536:(u,a,d)=>{d.r(a),d.d(a,{ion_split_pane:()=>h});var c=d(5861),o=d(408),v=d(4649);const r="split-pane-main",l="split-pane-side",p={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",never:""},h=class{constructor(e){(0,o.r)(this,e),this.ionSplitPaneVisible=(0,o.d)(this,"ionSplitPaneVisible",7),this.visible=!1,this.contentId=void 0,this.disabled=!1,this.when=p.lg}visibleChanged(e){const t={visible:e,isPane:this.isPane.bind(this)};this.ionSplitPaneVisible.emit(t)}connectedCallback(){var e=this;return(0,c.Z)(function*(){typeof customElements<"u"&&null!=customElements&&(yield customElements.whenDefined("ion-split-pane")),e.styleChildren(),e.updateState()})()}disconnectedCallback(){this.rmL&&(this.rmL(),this.rmL=void 0)}updateState(){if(this.rmL&&(this.rmL(),this.rmL=void 0),this.disabled)return void(this.visible=!1);const e=this.when;if("boolean"==typeof e)return void(this.visible=e);const t=p[e]||e;if(0!==t.length){if(window.matchMedia){const s=n=>{this.visible=n.matches},i=window.matchMedia(t);i.addListener(s),this.rmL=()=>i.removeListener(s),this.visible=i.matches}}else this.visible=!1}isPane(e){return!!this.visible&&e.parentElement===this.el&&e.classList.contains(l)}styleChildren(){const e=this.contentId,t=this.el.children,s=this.el.childElementCount;let i=!1;for(let n=0;n{let s,i;t?(s=r,i=l):(s=l,i=r);const n=e.classList;n.add(s),n.remove(i)};h.style={ios:":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){-ms-flex:1;flex:1}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){-ms-flex-order:-1;order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host{--border:0.55px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}",md:":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){-ms-flex:1;flex:1}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){-ms-flex-order:-1;order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host{--border:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}"}}}]); \ No newline at end of file diff --git a/9536.6114f173ce574494.js b/9536.6114f173ce574494.js deleted file mode 100644 index b1fe03ed..00000000 --- a/9536.6114f173ce574494.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9536],{9536:(u,a,d)=>{d.r(a),d.d(a,{ion_split_pane:()=>h});var c=d(5861),o=d(1071),v=d(7263);const r="split-pane-main",l="split-pane-side",p={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",never:""},h=class{constructor(e){(0,o.r)(this,e),this.ionSplitPaneVisible=(0,o.d)(this,"ionSplitPaneVisible",7),this.visible=!1,this.contentId=void 0,this.disabled=!1,this.when=p.lg}visibleChanged(e){const t={visible:e,isPane:this.isPane.bind(this)};this.ionSplitPaneVisible.emit(t)}connectedCallback(){var e=this;return(0,c.Z)(function*(){typeof customElements<"u"&&null!=customElements&&(yield customElements.whenDefined("ion-split-pane")),e.styleChildren(),e.updateState()})()}disconnectedCallback(){this.rmL&&(this.rmL(),this.rmL=void 0)}updateState(){if(this.rmL&&(this.rmL(),this.rmL=void 0),this.disabled)return void(this.visible=!1);const e=this.when;if("boolean"==typeof e)return void(this.visible=e);const t=p[e]||e;if(0!==t.length){if(window.matchMedia){const s=n=>{this.visible=n.matches},i=window.matchMedia(t);i.addListener(s),this.rmL=()=>i.removeListener(s),this.visible=i.matches}}else this.visible=!1}isPane(e){return!!this.visible&&e.parentElement===this.el&&e.classList.contains(l)}styleChildren(){const e=this.contentId,t=this.el.children,s=this.el.childElementCount;let i=!1;for(let n=0;n{let s,i;t?(s=r,i=l):(s=l,i=r);const n=e.classList;n.add(s),n.remove(i)};h.style={ios:":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none !important;box-shadow:none !important;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){-ms-flex:1;flex:1}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){-ms-flex-order:-1;order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host{--border:0.55px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}",md:":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none !important;box-shadow:none !important;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){-ms-flex:1;flex:1}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){-ms-flex-order:-1;order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host{--border:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}"}}}]); \ No newline at end of file diff --git a/9654.ac5d4ec9a60bad1f.js b/9654.ac5d4ec9a60bad1f.js new file mode 100644 index 00000000..0be5f7f2 --- /dev/null +++ b/9654.ac5d4ec9a60bad1f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9654],{9654:(w,x,u)=>{u.r(x),u.d(x,{ion_accordion:()=>m,ion_accordion_group:()=>b});var l=u(5861),a=u(408),h=u(2961),v=u(5723),f=u(4649),y=u(8909);const m=class{constructor(e){var o=this;(0,a.r)(this,e),this.updateListener=()=>this.updateState(!1),this.setItemDefaults=()=>{const t=this.getSlottedHeaderIonItem();t&&(t.button=!0,t.detail=!1,void 0===t.lines&&(t.lines="full"))},this.getSlottedHeaderIonItem=()=>{const{headerEl:t}=this;if(!t)return;const n=t.querySelector("slot");return n&&void 0!==n.assignedElements?n.assignedElements().find(i=>"ION-ITEM"===i.tagName):void 0},this.setAria=(t=!1)=>{const n=this.getSlottedHeaderIonItem();if(!n)return;const s=(0,h.g)(n).querySelector("button");s&&s.setAttribute("aria-expanded",`${t}`)},this.slotToggleIcon=()=>{const t=this.getSlottedHeaderIonItem();if(!t)return;const{toggleIconSlot:n,toggleIcon:i}=this;if(t.querySelector(".ion-accordion-toggle-icon"))return;const r=document.createElement("ion-icon");r.slot=n,r.lazy=!1,r.classList.add("ion-accordion-toggle-icon"),r.icon=i,r.setAttribute("aria-hidden","true"),t.appendChild(r)},this.expandAccordion=(t=!1)=>{const{contentEl:n,contentElWrapper:i}=this;t||void 0===n||void 0===i?this.state=4:4!==this.state&&(void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.shouldAnimate()?(0,h.r)(()=>{this.state=8,this.currentRaf=(0,h.r)((0,l.Z)(function*(){const s=i.offsetHeight,r=(0,h.t)(n,2e3);n.style.setProperty("max-height",`${s}px`),yield r,o.state=4,n.style.removeProperty("max-height")}))}):this.state=4)},this.collapseAccordion=(t=!1)=>{const{contentEl:n}=this;t||void 0===n?this.state=1:1!==this.state&&(void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.shouldAnimate()?this.currentRaf=(0,h.r)((0,l.Z)(function*(){n.style.setProperty("max-height",`${n.offsetHeight}px`),(0,h.r)((0,l.Z)(function*(){const s=(0,h.t)(n,2e3);o.state=2,yield s,o.state=1,n.style.removeProperty("max-height")}))})):this.state=1)},this.shouldAnimate=()=>!(typeof window>"u"||matchMedia("(prefers-reduced-motion: reduce)").matches||!f.c.get("animated",!0)||this.accordionGroupEl&&!this.accordionGroupEl.animated),this.updateState=(0,l.Z)(function*(t=!1){const n=o.accordionGroupEl,i=o.value;if(!n)return;const s=n.value;if(Array.isArray(s)?s.includes(i):s===i)o.expandAccordion(t),o.isNext=o.isPrevious=!1;else{o.collapseAccordion(t);const d=o.getNextSibling()?.value;void 0!==d&&(o.isPrevious=Array.isArray(s)?s.includes(d):s===d);const g=o.getPreviousSibling()?.value;void 0!==g&&(o.isNext=Array.isArray(s)?s.includes(g):s===g)}}),this.getNextSibling=()=>{if(!this.el)return;const t=this.el.nextElementSibling;return"ION-ACCORDION"===t?.tagName?t:void 0},this.getPreviousSibling=()=>{if(!this.el)return;const t=this.el.previousElementSibling;return"ION-ACCORDION"===t?.tagName?t:void 0},this.state=1,this.isNext=!1,this.isPrevious=!1,this.value="ion-accordion-"+_++,this.disabled=!1,this.readonly=!1,this.toggleIcon=v.l,this.toggleIconSlot="end"}valueChanged(){this.updateState()}connectedCallback(){var e;const o=this.accordionGroupEl=null===(e=this.el)||void 0===e?void 0:e.closest("ion-accordion-group");o&&(this.updateState(!0),(0,h.a)(o,"ionValueChange",this.updateListener))}disconnectedCallback(){const e=this.accordionGroupEl;e&&(0,h.b)(e,"ionValueChange",this.updateListener)}componentDidLoad(){this.setItemDefaults(),this.slotToggleIcon(),(0,h.r)(()=>{this.setAria(4===this.state||8===this.state)})}toggleExpanded(){const{accordionGroupEl:e,value:o,state:t}=this;e&&e.requestAccordionToggle(o,1===t||2===t)}render(){const{disabled:e,readonly:o}=this,t=(0,f.b)(this),n=4===this.state||8===this.state,i=n?"header expanded":"header",s=n?"content expanded":"content";return this.setAria(n),(0,a.h)(a.H,{class:{[t]:!0,"accordion-expanding":8===this.state,"accordion-expanded":4===this.state,"accordion-collapsing":2===this.state,"accordion-collapsed":1===this.state,"accordion-next":this.isNext,"accordion-previous":this.isPrevious,"accordion-disabled":e,"accordion-readonly":o,"accordion-animated":this.shouldAnimate()}},(0,a.h)("div",{onClick:()=>this.toggleExpanded(),id:"header",part:i,"aria-controls":"content",ref:r=>this.headerEl=r},(0,a.h)("slot",{name:"header"})),(0,a.h)("div",{id:"content",part:s,role:"region","aria-labelledby":"header",ref:r=>this.contentEl=r},(0,a.h)("div",{id:"content-wrapper",ref:r=>this.contentElWrapper=r},(0,a.h)("slot",{name:"content"}))))}static get delegatesFocus(){return!0}get el(){return(0,a.f)(this)}static get watchers(){return{value:["valueChanged"]}}};let _=0;m.style={ios:":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}",md:":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}"};const b=class{constructor(e){(0,a.r)(this,e),this.ionChange=(0,a.d)(this,"ionChange",7),this.ionValueChange=(0,a.d)(this,"ionValueChange",7),this.animated=!0,this.multiple=void 0,this.value=void 0,this.disabled=!1,this.readonly=!1,this.expand="compact"}valueChanged(){const{value:e,multiple:o}=this;!o&&Array.isArray(e)&&(0,y.p)(`ion-accordion-group was passed an array of values, but multiple="false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".\n\n Value Passed: [${e.map(t=>`'${t}'`).join(", ")}]\n`,this.el),this.ionValueChange.emit({value:this.value})}disabledChanged(){var e=this;return(0,l.Z)(function*(){const{disabled:o}=e,t=yield e.getAccordions();for(const n of t)n.disabled=o})()}readonlyChanged(){var e=this;return(0,l.Z)(function*(){const{readonly:o}=e,t=yield e.getAccordions();for(const n of t)n.readonly=o})()}onKeydown(e){var o=this;return(0,l.Z)(function*(){const t=document.activeElement;if(!t||!t.closest('ion-accordion [slot="header"]'))return;const i="ION-ACCORDION"===t.tagName?t:t.closest("ion-accordion");if(!i||i.closest("ion-accordion-group")!==o.el)return;const r=yield o.getAccordions(),c=r.findIndex(p=>p===i);if(-1===c)return;let d;"ArrowDown"===e.key?d=o.findNextAccordion(r,c):"ArrowUp"===e.key?d=o.findPreviousAccordion(r,c):"Home"===e.key?d=r[0]:"End"===e.key&&(d=r[r.length-1]),void 0!==d&&d!==t&&d.focus()})()}componentDidLoad(){var e=this;return(0,l.Z)(function*(){e.disabled&&e.disabledChanged(),e.readonly&&e.readonlyChanged(),e.valueChanged()})()}setValue(e){const o=this.value=e;this.ionChange.emit({value:o})}requestAccordionToggle(e,o){var t=this;return(0,l.Z)(function*(){const{multiple:n,value:i,readonly:s,disabled:r}=t;if(!s&&!r)if(o)if(n){const c=i??[],d=Array.isArray(c)?c:[c];void 0===d.find(g=>g===e)&&void 0!==e&&t.setValue([...d,e])}else t.setValue(e);else if(n){const c=i??[],d=Array.isArray(c)?c:[c];t.setValue(d.filter(p=>p!==e))}else t.setValue(void 0)})()}findNextAccordion(e,o){const t=e[o+1];return void 0===t?e[0]:t}findPreviousAccordion(e,o){const t=e[o-1];return void 0===t?e[e.length-1]:t}getAccordions(){var e=this;return(0,l.Z)(function*(){return Array.from(e.el.querySelectorAll(":scope > ion-accordion"))})()}render(){const{disabled:e,readonly:o,expand:t}=this,n=(0,f.b)(this);return(0,a.h)(a.H,{class:{[n]:!0,"accordion-group-disabled":e,"accordion-group-readonly":o,[`accordion-group-expand-${t}`]:!0},role:"presentation"},(0,a.h)("slot",null))}get el(){return(0,a.f)(this)}static get watchers(){return{value:["valueChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"]}}};b.style={ios:":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}",md:":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion){-webkit-box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;border-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset:dir(rtl)) ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset:dir(rtl)) ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion):first-of-type{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"}}}]); \ No newline at end of file diff --git a/9654.d87a095b5a73992f.js b/9654.d87a095b5a73992f.js deleted file mode 100644 index 2404ef37..00000000 --- a/9654.d87a095b5a73992f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9654],{9654:(w,x,u)=>{u.r(x),u.d(x,{ion_accordion:()=>m,ion_accordion_group:()=>b});var l=u(5861),a=u(1071),h=u(2674),v=u(6026),f=u(7263),y=u(3357);const m=class{constructor(e){var o=this;(0,a.r)(this,e),this.updateListener=()=>this.updateState(!1),this.setItemDefaults=()=>{const t=this.getSlottedHeaderIonItem();t&&(t.button=!0,t.detail=!1,void 0===t.lines&&(t.lines="full"))},this.getSlottedHeaderIonItem=()=>{const{headerEl:t}=this;if(!t)return;const n=t.querySelector("slot");return n&&void 0!==n.assignedElements?n.assignedElements().find(i=>"ION-ITEM"===i.tagName):void 0},this.setAria=(t=!1)=>{const n=this.getSlottedHeaderIonItem();if(!n)return;const s=(0,h.g)(n).querySelector("button");s&&s.setAttribute("aria-expanded",`${t}`)},this.slotToggleIcon=()=>{const t=this.getSlottedHeaderIonItem();if(!t)return;const{toggleIconSlot:n,toggleIcon:i}=this;if(t.querySelector(".ion-accordion-toggle-icon"))return;const r=document.createElement("ion-icon");r.slot=n,r.lazy=!1,r.classList.add("ion-accordion-toggle-icon"),r.icon=i,r.setAttribute("aria-hidden","true"),t.appendChild(r)},this.expandAccordion=(t=!1)=>{const{contentEl:n,contentElWrapper:i}=this;t||void 0===n||void 0===i?this.state=4:4!==this.state&&(void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.shouldAnimate()?(0,h.r)(()=>{this.state=8,this.currentRaf=(0,h.r)((0,l.Z)(function*(){const s=i.offsetHeight,r=(0,h.t)(n,2e3);n.style.setProperty("max-height",`${s}px`),yield r,o.state=4,n.style.removeProperty("max-height")}))}):this.state=4)},this.collapseAccordion=(t=!1)=>{const{contentEl:n}=this;t||void 0===n?this.state=1:1!==this.state&&(void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.shouldAnimate()?this.currentRaf=(0,h.r)((0,l.Z)(function*(){n.style.setProperty("max-height",`${n.offsetHeight}px`),(0,h.r)((0,l.Z)(function*(){const s=(0,h.t)(n,2e3);o.state=2,yield s,o.state=1,n.style.removeProperty("max-height")}))})):this.state=1)},this.shouldAnimate=()=>!(typeof window>"u"||matchMedia("(prefers-reduced-motion: reduce)").matches||!f.c.get("animated",!0)||this.accordionGroupEl&&!this.accordionGroupEl.animated),this.updateState=(0,l.Z)(function*(t=!1){const n=o.accordionGroupEl,i=o.value;if(!n)return;const s=n.value;if(Array.isArray(s)?s.includes(i):s===i)o.expandAccordion(t),o.isNext=o.isPrevious=!1;else{o.collapseAccordion(t);const d=o.getNextSibling()?.value;void 0!==d&&(o.isPrevious=Array.isArray(s)?s.includes(d):s===d);const g=o.getPreviousSibling()?.value;void 0!==g&&(o.isNext=Array.isArray(s)?s.includes(g):s===g)}}),this.getNextSibling=()=>{if(!this.el)return;const t=this.el.nextElementSibling;return"ION-ACCORDION"===t?.tagName?t:void 0},this.getPreviousSibling=()=>{if(!this.el)return;const t=this.el.previousElementSibling;return"ION-ACCORDION"===t?.tagName?t:void 0},this.state=1,this.isNext=!1,this.isPrevious=!1,this.value="ion-accordion-"+_++,this.disabled=!1,this.readonly=!1,this.toggleIcon=v.l,this.toggleIconSlot="end"}valueChanged(){this.updateState()}connectedCallback(){var e;const o=this.accordionGroupEl=null===(e=this.el)||void 0===e?void 0:e.closest("ion-accordion-group");o&&(this.updateState(!0),(0,h.a)(o,"ionValueChange",this.updateListener))}disconnectedCallback(){const e=this.accordionGroupEl;e&&(0,h.b)(e,"ionValueChange",this.updateListener)}componentDidLoad(){this.setItemDefaults(),this.slotToggleIcon(),(0,h.r)(()=>{this.setAria(4===this.state||8===this.state)})}toggleExpanded(){const{accordionGroupEl:e,value:o,state:t}=this;e&&e.requestAccordionToggle(o,1===t||2===t)}render(){const{disabled:e,readonly:o}=this,t=(0,f.b)(this),n=4===this.state||8===this.state,i=n?"header expanded":"header",s=n?"content expanded":"content";return this.setAria(n),(0,a.h)(a.H,{class:{[t]:!0,"accordion-expanding":8===this.state,"accordion-expanded":4===this.state,"accordion-collapsing":2===this.state,"accordion-collapsed":1===this.state,"accordion-next":this.isNext,"accordion-previous":this.isPrevious,"accordion-disabled":e,"accordion-readonly":o,"accordion-animated":this.shouldAnimate()}},(0,a.h)("div",{onClick:()=>this.toggleExpanded(),id:"header",part:i,"aria-controls":"content",ref:r=>this.headerEl=r},(0,a.h)("slot",{name:"header"})),(0,a.h)("div",{id:"content",part:s,role:"region","aria-labelledby":"header",ref:r=>this.contentEl=r},(0,a.h)("div",{id:"content-wrapper",ref:r=>this.contentElWrapper=r},(0,a.h)("slot",{name:"content"}))))}static get delegatesFocus(){return!0}get el(){return(0,a.f)(this)}static get watchers(){return{value:["valueChanged"]}}};let _=0;m.style={ios:":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}",md:":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}"};const b=class{constructor(e){(0,a.r)(this,e),this.ionChange=(0,a.d)(this,"ionChange",7),this.ionValueChange=(0,a.d)(this,"ionValueChange",7),this.animated=!0,this.multiple=void 0,this.value=void 0,this.disabled=!1,this.readonly=!1,this.expand="compact"}valueChanged(){const{value:e,multiple:o}=this;!o&&Array.isArray(e)&&(0,y.p)(`ion-accordion-group was passed an array of values, but multiple="false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".\n\n Value Passed: [${e.map(t=>`'${t}'`).join(", ")}]\n`,this.el),this.ionValueChange.emit({value:this.value})}disabledChanged(){var e=this;return(0,l.Z)(function*(){const{disabled:o}=e,t=yield e.getAccordions();for(const n of t)n.disabled=o})()}readonlyChanged(){var e=this;return(0,l.Z)(function*(){const{readonly:o}=e,t=yield e.getAccordions();for(const n of t)n.readonly=o})()}onKeydown(e){var o=this;return(0,l.Z)(function*(){const t=document.activeElement;if(!t||!t.closest('ion-accordion [slot="header"]'))return;const i="ION-ACCORDION"===t.tagName?t:t.closest("ion-accordion");if(!i||i.closest("ion-accordion-group")!==o.el)return;const r=yield o.getAccordions(),c=r.findIndex(p=>p===i);if(-1===c)return;let d;"ArrowDown"===e.key?d=o.findNextAccordion(r,c):"ArrowUp"===e.key?d=o.findPreviousAccordion(r,c):"Home"===e.key?d=r[0]:"End"===e.key&&(d=r[r.length-1]),void 0!==d&&d!==t&&d.focus()})()}componentDidLoad(){var e=this;return(0,l.Z)(function*(){e.disabled&&e.disabledChanged(),e.readonly&&e.readonlyChanged()})()}setValue(e){const o=this.value=e;this.ionChange.emit({value:o})}requestAccordionToggle(e,o){var t=this;return(0,l.Z)(function*(){const{multiple:n,value:i,readonly:s,disabled:r}=t;if(!s&&!r)if(o)if(n){const c=i??[],d=Array.isArray(c)?c:[c];void 0===d.find(g=>g===e)&&void 0!==e&&t.setValue([...d,e])}else t.setValue(e);else if(n){const c=i??[],d=Array.isArray(c)?c:[c];t.setValue(d.filter(p=>p!==e))}else t.setValue(void 0)})()}findNextAccordion(e,o){const t=e[o+1];return void 0===t?e[0]:t}findPreviousAccordion(e,o){const t=e[o-1];return void 0===t?e[e.length-1]:t}getAccordions(){var e=this;return(0,l.Z)(function*(){return Array.from(e.el.querySelectorAll(":scope > ion-accordion"))})()}render(){const{disabled:e,readonly:o,expand:t}=this,n=(0,f.b)(this);return(0,a.h)(a.H,{class:{[n]:!0,"accordion-group-disabled":e,"accordion-group-readonly":o,[`accordion-group-expand-${t}`]:!0},role:"presentation"},(0,a.h)("slot",null))}get el(){return(0,a.f)(this)}static get watchers(){return{value:["valueChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"]}}};b.style={ios:":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}",md:":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion){-webkit-box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;border-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous):dir(rtl){border-bottom-right-radius:6px;border-bottom-left-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next):dir(rtl){border-top-left-radius:6px;border-top-right-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion):first-of-type{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"}}}]); \ No newline at end of file diff --git a/9824.b00cf3dd4ae46cf8.js b/9824.b00cf3dd4ae46cf8.js deleted file mode 100644 index 29c93388..00000000 --- a/9824.b00cf3dd4ae46cf8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9824],{9824:(b,p,r)=>{r.r(p),r.d(p,{ion_col:()=>s,ion_grid:()=>l,ion_row:()=>m});var d=r(1071),o=r(7263);const c={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)"},x=i=>void 0===i||""===i||!!window.matchMedia&&window.matchMedia(c[i]).matches,g=typeof window<"u"?window:void 0,e=g&&!!(g.CSS&&g.CSS.supports&&g.CSS.supports("--a: 0")),h=["","xs","sm","md","lg","xl"],s=class{constructor(i){(0,d.r)(this,i),this.offset=void 0,this.offsetXs=void 0,this.offsetSm=void 0,this.offsetMd=void 0,this.offsetLg=void 0,this.offsetXl=void 0,this.pull=void 0,this.pullXs=void 0,this.pullSm=void 0,this.pullMd=void 0,this.pullLg=void 0,this.pullXl=void 0,this.push=void 0,this.pushXs=void 0,this.pushSm=void 0,this.pushMd=void 0,this.pushLg=void 0,this.pushXl=void 0,this.size=void 0,this.sizeXs=void 0,this.sizeSm=void 0,this.sizeMd=void 0,this.sizeLg=void 0,this.sizeXl=void 0}onResize(){(0,d.i)(this)}getColumns(i){let n;for(const a of h){const t=x(a),u=this[i+a.charAt(0).toUpperCase()+a.slice(1)];t&&void 0!==u&&(n=u)}return n}calculateSize(){const i=this.getColumns("size");if(!i||""===i)return;const n="auto"===i?"auto":e?`calc(calc(${i} / var(--ion-grid-columns, 12)) * 100%)`:i/12*100+"%";return{flex:`0 0 ${n}`,width:`${n}`,"max-width":`${n}`}}calculatePosition(i,n){const a=this.getColumns(i);if(a)return{[n]:e?`calc(calc(${a} / var(--ion-grid-columns, 12)) * 100%)`:a>0&&a<12?a/12*100+"%":"auto"}}calculateOffset(i){return this.calculatePosition("offset",i?"margin-right":"margin-left")}calculatePull(i){return this.calculatePosition("pull",i?"left":"right")}calculatePush(i){return this.calculatePosition("push",i?"right":"left")}render(){const i="rtl"===document.dir,n=(0,o.b)(this);return(0,d.h)(d.H,{class:{[n]:!0},style:Object.assign(Object.assign(Object.assign(Object.assign({},this.calculateOffset(i)),this.calculatePull(i)),this.calculatePush(i)),this.calculateSize())},(0,d.h)("slot",null))}};s.style=":host{-webkit-padding-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;width:100%;max-width:100%;min-height:1px}@media (min-width: 576px){:host{-webkit-padding-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px))}}@media (min-width: 768px){:host{-webkit-padding-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px))}}@media (min-width: 992px){:host{-webkit-padding-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px))}}@media (min-width: 1200px){:host{-webkit-padding-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px))}}";const l=class{constructor(i){(0,d.r)(this,i),this.fixed=!1}render(){const i=(0,o.b)(this);return(0,d.h)(d.H,{class:{[i]:!0,"grid-fixed":this.fixed}},(0,d.h)("slot",null))}};l.style=":host{-webkit-padding-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;display:block;-ms-flex:1;flex:1}@media (min-width: 576px){:host{-webkit-padding-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px))}}@media (min-width: 768px){:host{-webkit-padding-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px))}}@media (min-width: 992px){:host{-webkit-padding-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px))}}@media (min-width: 1200px){:host{-webkit-padding-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px))}}:host(.grid-fixed){width:var(--ion-grid-width-xs, var(--ion-grid-width, 100%));max-width:100%}@media (min-width: 576px){:host(.grid-fixed){width:var(--ion-grid-width-sm, var(--ion-grid-width, 540px))}}@media (min-width: 768px){:host(.grid-fixed){width:var(--ion-grid-width-md, var(--ion-grid-width, 720px))}}@media (min-width: 992px){:host(.grid-fixed){width:var(--ion-grid-width-lg, var(--ion-grid-width, 960px))}}@media (min-width: 1200px){:host(.grid-fixed){width:var(--ion-grid-width-xl, var(--ion-grid-width, 1140px))}}:host(.ion-no-padding){--ion-grid-column-padding:0;--ion-grid-column-padding-xs:0;--ion-grid-column-padding-sm:0;--ion-grid-column-padding-md:0;--ion-grid-column-padding-lg:0;--ion-grid-column-padding-xl:0}";const m=class{constructor(i){(0,d.r)(this,i)}render(){return(0,d.h)(d.H,{class:(0,o.b)(this)},(0,d.h)("slot",null))}};m.style=":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}"}}]); \ No newline at end of file diff --git a/9824.e86b8d95f89b034c.js b/9824.e86b8d95f89b034c.js new file mode 100644 index 00000000..79699069 --- /dev/null +++ b/9824.e86b8d95f89b034c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9824],{9824:(b,p,r)=>{r.r(p),r.d(p,{ion_col:()=>s,ion_grid:()=>l,ion_row:()=>m});var d=r(408),o=r(4649);const c={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)"},x=i=>void 0===i||""===i||!!window.matchMedia&&window.matchMedia(c[i]).matches,g=typeof window<"u"?window:void 0,e=g&&!!(g.CSS&&g.CSS.supports&&g.CSS.supports("--a: 0")),h=["","xs","sm","md","lg","xl"],s=class{constructor(i){(0,d.r)(this,i),this.offset=void 0,this.offsetXs=void 0,this.offsetSm=void 0,this.offsetMd=void 0,this.offsetLg=void 0,this.offsetXl=void 0,this.pull=void 0,this.pullXs=void 0,this.pullSm=void 0,this.pullMd=void 0,this.pullLg=void 0,this.pullXl=void 0,this.push=void 0,this.pushXs=void 0,this.pushSm=void 0,this.pushMd=void 0,this.pushLg=void 0,this.pushXl=void 0,this.size=void 0,this.sizeXs=void 0,this.sizeSm=void 0,this.sizeMd=void 0,this.sizeLg=void 0,this.sizeXl=void 0}onResize(){(0,d.i)(this)}getColumns(i){let n;for(const a of h){const t=x(a),u=this[i+a.charAt(0).toUpperCase()+a.slice(1)];t&&void 0!==u&&(n=u)}return n}calculateSize(){const i=this.getColumns("size");if(!i||""===i)return;const n="auto"===i?"auto":e?`calc(calc(${i} / var(--ion-grid-columns, 12)) * 100%)`:i/12*100+"%";return{flex:`0 0 ${n}`,width:`${n}`,"max-width":`${n}`}}calculatePosition(i,n){const a=this.getColumns(i);if(a)return{[n]:e?`calc(calc(${a} / var(--ion-grid-columns, 12)) * 100%)`:a>0&&a<12?a/12*100+"%":"auto"}}calculateOffset(i){return this.calculatePosition("offset",i?"margin-right":"margin-left")}calculatePull(i){return this.calculatePosition("pull",i?"left":"right")}calculatePush(i){return this.calculatePosition("push",i?"right":"left")}render(){const i="rtl"===document.dir,n=(0,o.b)(this);return(0,d.h)(d.H,{class:{[n]:!0},style:Object.assign(Object.assign(Object.assign(Object.assign({},this.calculateOffset(i)),this.calculatePull(i)),this.calculatePush(i)),this.calculateSize())},(0,d.h)("slot",null))}};s.style=":host{-webkit-padding-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;width:100%;max-width:100%;min-height:1px}@media (min-width: 576px){:host{-webkit-padding-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px))}}@media (min-width: 768px){:host{-webkit-padding-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px))}}@media (min-width: 992px){:host{-webkit-padding-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px))}}@media (min-width: 1200px){:host{-webkit-padding-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px))}}";const l=class{constructor(i){(0,d.r)(this,i),this.fixed=!1}render(){const i=(0,o.b)(this);return(0,d.h)(d.H,{class:{[i]:!0,"grid-fixed":this.fixed}},(0,d.h)("slot",null))}};l.style=":host{-webkit-padding-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;display:block;-ms-flex:1;flex:1}@media (min-width: 576px){:host{-webkit-padding-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px))}}@media (min-width: 768px){:host{-webkit-padding-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px))}}@media (min-width: 992px){:host{-webkit-padding-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px))}}@media (min-width: 1200px){:host{-webkit-padding-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px))}}:host(.grid-fixed){width:var(--ion-grid-width-xs, var(--ion-grid-width, 100%));max-width:100%}@media (min-width: 576px){:host(.grid-fixed){width:var(--ion-grid-width-sm, var(--ion-grid-width, 540px))}}@media (min-width: 768px){:host(.grid-fixed){width:var(--ion-grid-width-md, var(--ion-grid-width, 720px))}}@media (min-width: 992px){:host(.grid-fixed){width:var(--ion-grid-width-lg, var(--ion-grid-width, 960px))}}@media (min-width: 1200px){:host(.grid-fixed){width:var(--ion-grid-width-xl, var(--ion-grid-width, 1140px))}}:host(.ion-no-padding){--ion-grid-column-padding:0;--ion-grid-column-padding-xs:0;--ion-grid-column-padding-sm:0;--ion-grid-column-padding-md:0;--ion-grid-column-padding-lg:0;--ion-grid-column-padding-xl:0}";const m=class{constructor(i){(0,d.r)(this,i)}render(){return(0,d.h)(d.H,{class:(0,o.b)(this)},(0,d.h)("slot",null))}};m.style=":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}"}}]); \ No newline at end of file diff --git a/9922.25d919d8f544452e.js b/9922.25d919d8f544452e.js new file mode 100644 index 00000000..6b649dc4 --- /dev/null +++ b/9922.25d919d8f544452e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9922],{9922:(z,d,n)=>{n.r(d),n.d(d,{ion_checkbox:()=>o});var e=n(408),f=n(8134),s=n(2961),x=n(8909),h=n(3814),k=n(4649);const o=class{constructor(c){(0,e.r)(this,c),this.ionChange=(0,e.d)(this,"ionChange",7),this.ionFocus=(0,e.d)(this,"ionFocus",7),this.ionBlur=(0,e.d)(this,"ionBlur",7),this.ionStyle=(0,e.d)(this,"ionStyle",7),this.inputId="ion-cb-"+a++,this.inheritedAttributes={},this.hasLoggedDeprecationWarning=!1,this.setChecked=t=>{const r=this.checked=t;this.ionChange.emit({checked:r,value:this.value})},this.toggleChecked=t=>{t.preventDefault(),this.setFocus(),this.setChecked(!this.checked),this.indeterminate=!1},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.onClick=t=>{this.disabled||this.toggleChecked(t)},this.color=void 0,this.name=this.inputId,this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.value="on",this.labelPlacement="start",this.justify="space-between",this.alignment="center",this.legacy=void 0}connectedCallback(){this.legacyFormController=(0,f.c)(this.el)}componentWillLoad(){this.emitStyle(),this.legacyFormController.hasLegacyControl()||(this.inheritedAttributes=Object.assign({},(0,s.i)(this.el)))}styleChanged(){this.emitStyle()}emitStyle(){const c={"interactive-disabled":this.disabled,legacy:!!this.legacy};this.legacyFormController.hasLegacyControl()&&(c["checkbox-checked"]=this.checked),this.ionStyle.emit(c)}setFocus(){this.focusEl&&this.focusEl.focus()}render(){const{legacyFormController:c}=this;return c.hasLegacyControl()?this.renderLegacyCheckbox():this.renderCheckbox()}renderCheckbox(){const{color:c,checked:t,disabled:r,el:l,getSVGPath:w,indeterminate:b,inheritedAttributes:p,inputId:y,justify:v,labelPlacement:m,name:C,value:_,alignment:E}=this,g=(0,k.b)(this),j=w(g,b);return(0,s.d)(!0,l,C,t?_:"",r),(0,e.h)(e.H,{class:(0,h.c)(c,{[g]:!0,"in-item":(0,h.h)("ion-item",l),"checkbox-checked":t,"checkbox-disabled":r,"checkbox-indeterminate":b,interactive:!0,[`checkbox-justify-${v}`]:!0,[`checkbox-alignment-${E}`]:!0,[`checkbox-label-placement-${m}`]:!0}),onClick:this.onClick},(0,e.h)("label",{class:"checkbox-wrapper"},(0,e.h)("input",Object.assign({type:"checkbox",checked:!!t||void 0,disabled:r,id:y,onChange:this.toggleChecked,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:L=>this.focusEl=L},p)),(0,e.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":""===l.textContent},part:"label"},(0,e.h)("slot",null)),(0,e.h)("div",{class:"native-wrapper"},(0,e.h)("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},j))))}renderLegacyCheckbox(){this.hasLoggedDeprecationWarning||((0,x.p)('ion-checkbox now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: Label\nExample with aria-label: \n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,x.p)('ion-checkbox is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new checkbox syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{color:c,checked:t,disabled:r,el:l,getSVGPath:w,indeterminate:b,inputId:p,name:y,value:v}=this,m=(0,k.b)(this),{label:C,labelId:_,labelText:E}=(0,s.e)(l,p),g=w(m,b);return(0,s.d)(!0,l,y,t?v:"",r),(0,e.h)(e.H,{"aria-labelledby":C?_:null,"aria-checked":`${t}`,"aria-hidden":r?"true":null,role:"checkbox",class:(0,h.c)(c,{[m]:!0,"in-item":(0,h.h)("ion-item",l),"checkbox-checked":t,"checkbox-disabled":r,"checkbox-indeterminate":b,"legacy-checkbox":!0,interactive:!0}),onClick:this.onClick},(0,e.h)("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},g),(0,e.h)("label",{htmlFor:p},E),(0,e.h)("input",{type:"checkbox","aria-checked":`${t}`,disabled:r,id:p,onChange:this.toggleChecked,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:j=>this.focusEl=j}))}getSVGPath(c,t){let r=(0,e.h)("path",t?{d:"M6 12L18 12",part:"mark"}:{d:"M5.9,12.5l3.8,3.8l8.8-8.8",part:"mark"});return"md"===c&&(r=(0,e.h)("path",t?{d:"M2 12H22",part:"mark"}:{d:"M1.73,12.91 8.1,19.28 22.79,4.59",part:"mark"})),r}get el(){return(0,e.f)(this)}static get watchers(){return{checked:["styleChanged"],disabled:["styleChanged"]}}};let a=0;o.style={ios:":host{--checkbox-background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){width:100%;height:100%}:host([slot=start]:not(.legacy-checkbox)),:host([slot=end]:not(.legacy-checkbox)){width:auto}:host(.legacy-checkbox){width:var(--size);height:var(--size)}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.legacy-checkbox) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-checkbox) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-checkbox) label{left:0}:host-context([dir=rtl]):host(.legacy-checkbox) label,:host-context([dir=rtl]).legacy-checkbox label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-checkbox:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-checkbox) label::-moz-focus-inner{border:0}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-checkbox)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-checkbox) .checkbox-icon{display:block;width:100%;height:100%}:host(:not(.legacy-checkbox)) .checkbox-icon{width:var(--size);height:var(--size)}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:0.0625rem;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:min(1.625rem, 65.988px)}:host(.checkbox-disabled){opacity:0.3}:host(.in-item.legacy-checkbox){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:9px;display:block;position:static}:host(.in-item.legacy-checkbox[slot=start]){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:8px;margin-bottom:8px}",md:":host{--checkbox-background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){width:100%;height:100%}:host([slot=start]:not(.legacy-checkbox)),:host([slot=end]:not(.legacy-checkbox)){width:auto}:host(.legacy-checkbox){width:var(--size);height:var(--size)}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.legacy-checkbox) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-checkbox) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-checkbox) label{left:0}:host-context([dir=rtl]):host(.legacy-checkbox) label,:host-context([dir=rtl]).legacy-checkbox label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-checkbox:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-checkbox) label::-moz-focus-inner{border:0}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-checkbox)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-checkbox) .checkbox-icon{display:block;width:100%;height:100%}:host(:not(.legacy-checkbox)) .checkbox-icon{width:var(--size);height:var(--size)}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * .125);--border-width:2px;--border-style:solid;--border-color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--checkmark-width:3;--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.legacy-checkbox.checkbox-disabled),:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}:host(.in-item.legacy-checkbox){margin-left:0;margin-right:0;margin-top:18px;margin-bottom:18px;display:block;position:static}:host(.in-item.legacy-checkbox[slot=start]){-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px;margin-top:18px;margin-bottom:18px}"}},3814:(z,d,n)=>{n.d(d,{c:()=>s,g:()=>h,h:()=>f,o:()=>u});var e=n(5861);const f=(i,o)=>null!==o.closest(i),s=(i,o)=>"string"==typeof i&&i.length>0?Object.assign({"ion-color":!0,[`ion-color-${i}`]:!0},o):o,h=i=>{const o={};return(i=>void 0!==i?(Array.isArray(i)?i:i.split(" ")).filter(a=>null!=a).map(a=>a.trim()).filter(a=>""!==a):[])(i).forEach(a=>o[a]=!0),o},k=/^[a-z][a-z0-9+\-.]*:/,u=function(){var i=(0,e.Z)(function*(o,a,c,t){if(null!=o&&"#"!==o[0]&&!k.test(o)){const r=document.querySelector("ion-router");if(r)return a?.preventDefault(),r.push(o,c,t)}return!1});return function(a,c,t,r){return i.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/9922.9985bb0d1d423843.js b/9922.9985bb0d1d423843.js deleted file mode 100644 index 8e7c843d..00000000 --- a/9922.9985bb0d1d423843.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9922],{9922:(z,p,a)=>{a.r(p),a.d(p,{ion_checkbox:()=>o});var e=a(1071),u=a(479),l=a(2674),x=a(3357),h=a(2997),k=a(7263);const o=class{constructor(n){(0,e.r)(this,n),this.ionChange=(0,e.d)(this,"ionChange",7),this.ionFocus=(0,e.d)(this,"ionFocus",7),this.ionBlur=(0,e.d)(this,"ionBlur",7),this.ionStyle=(0,e.d)(this,"ionStyle",7),this.inputId="ion-cb-"+c++,this.inheritedAttributes={},this.hasLoggedDeprecationWarning=!1,this.setChecked=t=>{const r=this.checked=t;this.ionChange.emit({checked:r,value:this.value})},this.toggleChecked=t=>{t.preventDefault(),this.setFocus(),this.setChecked(!this.checked),this.indeterminate=!1},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.color=void 0,this.name=this.inputId,this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.value="on",this.labelPlacement="start",this.justify="space-between",this.legacy=void 0}connectedCallback(){this.legacyFormController=(0,u.c)(this.el)}componentWillLoad(){this.emitStyle(),this.legacyFormController.hasLegacyControl()||(this.inheritedAttributes=Object.assign({},(0,l.i)(this.el)))}styleChanged(){this.emitStyle()}emitStyle(){const n={"interactive-disabled":this.disabled};this.legacyFormController.hasLegacyControl()&&(n["checkbox-checked"]=this.checked),this.ionStyle.emit(n)}setFocus(){this.focusEl&&this.focusEl.focus()}render(){const{legacyFormController:n}=this;return n.hasLegacyControl()?this.renderLegacyCheckbox():this.renderCheckbox()}renderCheckbox(){const{color:n,checked:t,disabled:r,el:s,getSVGPath:y,indeterminate:b,inheritedAttributes:d,inputId:w,justify:v,labelPlacement:m,name:_,value:C}=this,g=(0,k.b)(this),E=y(g,b);return(0,l.d)(!0,s,_,t?C:"",r),(0,e.h)(e.H,{class:(0,h.c)(n,{[g]:!0,"in-item":(0,h.h)("ion-item",s),"checkbox-checked":t,"checkbox-disabled":r,"checkbox-indeterminate":b,interactive:!0,[`checkbox-justify-${v}`]:!0,[`checkbox-label-placement-${m}`]:!0})},(0,e.h)("label",{class:"checkbox-wrapper"},(0,e.h)("input",Object.assign({type:"checkbox",checked:!!t||void 0,disabled:r,id:w,onChange:this.toggleChecked,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:j=>this.focusEl=j},d)),(0,e.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":""===s.textContent}},(0,e.h)("slot",null)),(0,e.h)("div",{class:"native-wrapper"},(0,e.h)("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},E))))}renderLegacyCheckbox(){this.hasLoggedDeprecationWarning||((0,x.p)('ion-checkbox now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: Label\nExample with aria-label: \n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,x.p)('ion-checkbox is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new checkbox syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{color:n,checked:t,disabled:r,el:s,getSVGPath:y,indeterminate:b,inputId:d,name:w,value:v}=this,m=(0,k.b)(this),{label:_,labelId:C,labelText:g}=(0,l.e)(s,d),E=y(m,b);return(0,l.d)(!0,s,w,t?v:"",r),(0,e.h)(e.H,{"aria-labelledby":_?C:null,"aria-checked":`${t}`,"aria-hidden":r?"true":null,role:"checkbox",class:(0,h.c)(n,{[m]:!0,"in-item":(0,h.h)("ion-item",s),"checkbox-checked":t,"checkbox-disabled":r,"checkbox-indeterminate":b,"legacy-checkbox":!0,interactive:!0})},(0,e.h)("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},E),(0,e.h)("label",{htmlFor:d},g),(0,e.h)("input",{type:"checkbox","aria-checked":`${t}`,disabled:r,id:d,onChange:this.toggleChecked,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:j=>this.focusEl=j}))}getSVGPath(n,t){let r=(0,e.h)("path",t?{d:"M6 12L18 12",part:"mark"}:{d:"M5.9,12.5l3.8,3.8l8.8-8.8",part:"mark"});return"md"===n&&(r=(0,e.h)("path",t?{d:"M2 12H22",part:"mark"}:{d:"M1.73,12.91 8.1,19.28 22.79,4.59",part:"mark"})),r}get el(){return(0,e.f)(this)}static get watchers(){return{checked:["styleChanged"],disabled:["styleChanged"]}}};let c=0;o.style={ios:":host{--checkbox-background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){width:100%;height:100%}:host([slot=start]:not(.legacy-checkbox)),:host([slot=end]:not(.legacy-checkbox)){width:auto}:host(.legacy-checkbox){width:var(--size);height:var(--size)}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.legacy-checkbox) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-checkbox) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-checkbox) label{left:0}:host-context([dir=rtl]):host(.legacy-checkbox) label,:host-context([dir=rtl]).legacy-checkbox label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-checkbox) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-checkbox) label::-moz-focus-inner{border:0}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-checkbox)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-checkbox) .checkbox-icon{display:block;width:100%;height:100%}:host(:not(.legacy-checkbox)) .checkbox-icon{width:var(--size);height:var(--size)}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:1px;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:26px}:host(.checkbox-disabled){opacity:0.3}:host(.in-item.legacy-checkbox){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:9px;display:block;position:static}:host(.in-item.legacy-checkbox[slot=start]){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:8px;margin-bottom:8px}",md:":host{--checkbox-background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){width:100%;height:100%}:host([slot=start]:not(.legacy-checkbox)),:host([slot=end]:not(.legacy-checkbox)){width:auto}:host(.legacy-checkbox){width:var(--size);height:var(--size)}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.legacy-checkbox) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-checkbox) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-checkbox) label{left:0}:host-context([dir=rtl]):host(.legacy-checkbox) label,:host-context([dir=rtl]).legacy-checkbox label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-checkbox) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-checkbox) label::-moz-focus-inner{border:0}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-checkbox)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-checkbox) .checkbox-icon{display:block;width:100%;height:100%}:host(:not(.legacy-checkbox)) .checkbox-icon{width:var(--size);height:var(--size)}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * .125);--border-width:2px;--border-style:solid;--border-color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--checkmark-width:3;--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.legacy-checkbox.checkbox-disabled),:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}:host(.in-item.legacy-checkbox){margin-left:0;margin-right:0;margin-top:18px;margin-bottom:18px;display:block;position:static}:host(.in-item.legacy-checkbox[slot=start]){-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px;margin-top:18px;margin-bottom:18px}"}},2997:(z,p,a)=>{a.d(p,{c:()=>l,g:()=>h,h:()=>u,o:()=>f});var e=a(5861);const u=(i,o)=>null!==o.closest(i),l=(i,o)=>"string"==typeof i&&i.length>0?Object.assign({"ion-color":!0,[`ion-color-${i}`]:!0},o):o,h=i=>{const o={};return(i=>void 0!==i?(Array.isArray(i)?i:i.split(" ")).filter(c=>null!=c).map(c=>c.trim()).filter(c=>""!==c):[])(i).forEach(c=>o[c]=!0),o},k=/^[a-z][a-z0-9+\-.]*:/,f=function(){var i=(0,e.Z)(function*(o,c,n,t){if(null!=o&&"#"!==o[0]&&!k.test(o)){const r=document.querySelector("ion-router");if(r)return c?.preventDefault(),r.push(o,n,t)}return!1});return function(c,n,t,r){return i.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/9958.2c32b3a3b169ae15.js b/9958.2c32b3a3b169ae15.js new file mode 100644 index 00000000..1a7a96b2 --- /dev/null +++ b/9958.2c32b3a3b169ae15.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9958],{9958:(D,d,i)=>{i.r(d),i.d(d,{ion_ripple_effect:()=>u});var b=i(5861),n=i(408),h=i(4649);const u=class{constructor(t){(0,n.r)(this,t),this.type="bounded"}addRipple(t,_){var a=this;return(0,b.Z)(function*(){return new Promise(g=>{(0,n.e)(()=>{const r=a.el.getBoundingClientRect(),o=r.width,s=r.height,A=Math.sqrt(o*o+s*s),p=Math.max(s,o),E=a.unbounded?p:A+k,c=Math.floor(p*v),I=E/c;let m=t-r.left,f=_-r.top;a.unbounded&&(m=.5*o,f=.5*s);const O=m-.5*c,C=f-.5*c,P=.5*o-m,R=.5*s-f;(0,n.w)(()=>{const l=document.createElement("div");l.classList.add("ripple-effect");const e=l.style;e.top=C+"px",e.left=O+"px",e.width=e.height=c+"px",e.setProperty("--final-scale",`${I}`),e.setProperty("--translate-end",`${P}px, ${R}px`),(a.el.shadowRoot||a.el).appendChild(l),setTimeout(()=>{g(()=>{w(l)})},325)})})})})()}get unbounded(){return"unbounded"===this.type}render(){const t=(0,h.b)(this);return(0,n.h)(n.H,{role:"presentation",class:{[t]:!0,unbounded:this.unbounded}})}get el(){return(0,n.f)(this)}},w=t=>{t.classList.add("fade-out"),setTimeout(()=>{t.remove()},200)},k=10,v=.5;u.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}"}}]); \ No newline at end of file diff --git a/9958.dc5b75dbd3f668f1.js b/9958.dc5b75dbd3f668f1.js deleted file mode 100644 index 49849356..00000000 --- a/9958.dc5b75dbd3f668f1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9958],{9958:(D,d,i)=>{i.r(d),i.d(d,{ion_ripple_effect:()=>u});var b=i(5861),n=i(1071),h=i(7263);const u=class{constructor(t){(0,n.r)(this,t),this.type="bounded"}addRipple(t,_){var a=this;return(0,b.Z)(function*(){return new Promise(g=>{(0,n.e)(()=>{const r=a.el.getBoundingClientRect(),o=r.width,s=r.height,A=Math.sqrt(o*o+s*s),p=Math.max(s,o),E=a.unbounded?p:A+k,c=Math.floor(p*v),I=E/c;let m=t-r.left,f=_-r.top;a.unbounded&&(m=.5*o,f=.5*s);const O=m-.5*c,C=f-.5*c,P=.5*o-m,R=.5*s-f;(0,n.w)(()=>{const l=document.createElement("div");l.classList.add("ripple-effect");const e=l.style;e.top=C+"px",e.left=O+"px",e.width=e.height=c+"px",e.setProperty("--final-scale",`${I}`),e.setProperty("--translate-end",`${P}px, ${R}px`),(a.el.shadowRoot||a.el).appendChild(l),setTimeout(()=>{g(()=>{w(l)})},325)})})})})()}get unbounded(){return"unbounded"===this.type}render(){const t=(0,h.b)(this);return(0,n.h)(n.H,{role:"presentation",class:{[t]:!0,unbounded:this.unbounded}})}get el(){return(0,n.f)(this)}},w=t=>{t.classList.add("fade-out"),setTimeout(()=>{t.remove()},200)},k=10,v=.5;u.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}"}}]); \ No newline at end of file diff --git a/assets/i18n/de.json b/assets/i18n/de.json index 7709e1ff..713adb9d 100644 --- a/assets/i18n/de.json +++ b/assets/i18n/de.json @@ -87,6 +87,7 @@ "Share": "Teilen", "Speed": "Tempo", "Start": "Start", + "Stop cars when finished": "Autos halten am Ende an", "Stop time when paused": "Zeit bei Unterbrechung stoppen", "Time": "Zeit", "Timeout": "Zeit ist um", diff --git a/assets/i18n/en.json b/assets/i18n/en.json index 0c6dd9e8..5b84e03c 100644 --- a/assets/i18n/en.json +++ b/assets/i18n/en.json @@ -87,6 +87,7 @@ "Share": "Share", "Speed": "Speed", "Start": "Start", + "Stop cars when finished": "Stop cars when finished", "Stop time when paused": "Stop time when paused", "Time": "Time", "Timeout": "Time's up", diff --git a/assets/i18n/es.json b/assets/i18n/es.json index 71e82b6e..1c0e6f29 100644 --- a/assets/i18n/es.json +++ b/assets/i18n/es.json @@ -87,6 +87,7 @@ "Share": "Compartir", "Speed": "Velocidad", "Start": "Comenzar", + "Stop cars when finished": "Detener los autos cuando haya terminado", "Stop time when paused": "Cronómetro detenido", "Time": "Tiempo", "Timeout": "Se acabó el tiempo", diff --git a/assets/i18n/fr.json b/assets/i18n/fr.json index d53d7731..8b0810c1 100644 --- a/assets/i18n/fr.json +++ b/assets/i18n/fr.json @@ -87,6 +87,7 @@ "Share": "Partager", "Speed": "Vitesse", "Start": "Départ", + "Stop cars when finished": "Arrêter les voitures une fois terminé", "Stop time when paused": "Stopper le chrono sous pause", "Time": "Temps", "Timeout": "Le temps est écoulé", diff --git a/assets/i18n/it.json b/assets/i18n/it.json index ebb2c5ae..36dfe9ff 100644 --- a/assets/i18n/it.json +++ b/assets/i18n/it.json @@ -87,6 +87,7 @@ "Share": "Condividi", "Speed": "Velocità", "Start": "Partenza", + "Stop cars when finished": "Fermare le auto una volta finito", "Stop time when paused": "Cronometro fermo in pausa", "Time": "Durata", "Timeout": "Tempo scaduto", diff --git a/assets/i18n/nl.json b/assets/i18n/nl.json deleted file mode 100644 index 0facc9fa..00000000 --- a/assets/i18n/nl.json +++ /dev/null @@ -1,113 +0,0 @@ -{ - "Welcome to Open Lap!": - "Welkom bij Open Lap!", - "Please select a Control Unit device from the menu.": - "Gelieve een Carrera® Control Unit uit het menu te selecteren.", - "If no devices are listed, please make sure that Bluetooth and Location (for scanning Bluetooth devices) are enabled or you are using a suitable serial to USB OTG converter cable.": - "Indien er geen apparaten zijn weergegeven; controleer dan of Bluetooth aan staat of dat er een compatibel USB OTG kabel wordt gebruikt.", - "If no devices are listed, please make sure that Bluetooth is enabled.": - "Indien er geen apparaten zijn weergegeven; controleer dan of Bluetooth aan staat.", - "Reset all user settings to default values?": - "Alle Instellingen naar de standaardwaarde terugzetten?", - - "About": "Over", - "About Open Lap": "Over Open Lap", - "Apply all": "Alles toepassen", - "Automatic": "Automatisch", - "Autonomous Car": "Autonomous Car", - "Brake": "Rem", - "Cancel race?": "Race afbreken?", - "Cancel qualifying?": "Qualifying afbreken?", - "Cancel": "Afbreken", - "Car enters pit": "Auto in pit", - "Car leaves pit": "Auto verlaat pit", - "Clear": "Leeg maken", - "Colors": "Kleuren", - "Connected to {{device}}": "Verbonden met {{device}}", - "Connecting to {{device}}": "Verbinden met {{device}}", - "Connection": "Verbinding", - "Connection timeout": "Verbinding time-out", - "Control Unit mode": "Control Unit modus", - "Debug messages": "Foutmeldingen", - "Default": "Standard", - "Demo Control Unit": "Demo Control Unit", - "Disconnected from {{device}}": "Verbinding verbroken met {{device}}", - "Done": "Klaar", - "Driver {{number}}": "Rijder {{number}}", - "Drivers": "Rijders", - "Event log": "Logboek", - "Exit Open Lap?": "Open Lap beeindigen?", - "Exit": "Beeindigen", - "False start": "Valse start", - "Fastest lap": "Snelste Ronde", - "Fastest sector 1": "Snelste Sector 1", - "Fastest sector 2": "Snelste Sector 2", - "Fastest sector 3": "Snelste Sector 3", - "Final lap": "Laatste Ronde", - "Finish all laps": "Alle Ronden afmaken", - "Firmware version": "Firmware-versie", - "Free Practice": "Vrije Training", - "Fuel < 10%": "Tank < 10%", - "Fuel < 20%": "Tank < 20%", - "Fuel": "Tank", - "General": "Algemeen", - "Language": "Taal", - "Lap {{count}}": "Ronde {{count}}", - "Lap {{count}}/{{total}}": "Ronde {{count}}/{{total}}", - "License": "Licensie", - "Location Services are disabled": "Locatie is uitgeschakeld", - "New race leader": "Nieuwe raceleider", - "No connection": "No connection", - "No fuel": "Tank leeg", - "None": "Geen", - "Notifications": "Notificaties", - "Number of drivers": "Aantal rijders", - "Number of laps": "Aantal ronden", - "OK": "OK", - "Open source licenses": "Open source licensies", - "Order by number": "Sorteren op nummer", - "Pace Car": "Pace Car", - "Privacy policy": "Privacybeleid", - "Qualifying": "Qualifying", - "Qualifying completed": "Qualifying voltooid", - "Race finished": "Race afgelopen", - "Race": "Race", - "Reconnect": "Opnieuw verbinden", - "Reconnect delay": "Vertraging voor opnieuw verbinden", - "Request timeout": "Verzoek time-out", - "Reset settings": "Instellingen herstellen", - "Restart race?": "Herstart?", - "Restart qualifying?": "Herstart?", - "Restart": "Herstart", - "Sector times": "Sector tijden", - "Settings": "Instellingen", - "Share": "Delen", - "Speed": "Snelheid", - "Start": "Start", - "Stop time when paused": "Tijd bij onderbreking stoppen", - "Time": "Tijd", - "Track clear": "Circuit vrijgegeven", - "Translations": "Vertaling", - "Tuning": "Tuning", - "Yellow flag": "Gele vlag", - - "notifications": { - "locale": "nl-NL", - "bestlap": "Snelste Ronde!", - "bests1": "Snelste Sector 1!", - "bests2": "Snelste Sector 2!", - "bests3": "Snelste Sector 3!", - "endsession": "Qualifying voltooid!", - "falsestart": "Valse start!", - "finallap": "Laatste Ronde!", - "finished": "Race afgelopen!", - "fuel0": "Tank leeg! Ga tanken!", - "fuel1": "Tijd om te tanken!", - "fuel2": "Bereid je voor om te tanken", - "newleader": "In de hoofdrol!", - "pitenter": "In pit!", - "pitexit": "Verlaat pit!", - "yellowflag": "Aandacht: Gele vlag!", - "greenflag": "Circuit vrijgegeven!" - } -} diff --git a/common.6c47bd3b3dc01a8f.js b/common.6c47bd3b3dc01a8f.js deleted file mode 100644 index aa7fee32..00000000 --- a/common.6c47bd3b3dc01a8f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8592],{8623:(C,m,a)=>{a.d(m,{c:()=>r});var g=a(1071),c=a(2669),f=a(9531);const r=(o,s)=>{let t,e;const d=(i,w,p)=>{if(typeof document>"u")return;const E=document.elementFromPoint(i,w);E&&s(E)?E!==t&&(n(),l(E,p)):n()},l=(i,w)=>{t=i,e||(e=t);const p=t;(0,g.w)(()=>p.classList.add("ion-activated")),w()},n=(i=!1)=>{if(!t)return;const w=t;(0,g.w)(()=>w.classList.remove("ion-activated")),i&&e!==t&&t.click(),t=void 0};return(0,f.createGesture)({el:o,gestureName:"buttonActiveDrag",threshold:0,onStart:i=>d(i.currentX,i.currentY,c.a),onMove:i=>d(i.currentX,i.currentY,c.b),onEnd:()=>{n(!0),(0,c.h)(),e=void 0}})}},6447:(C,m,a)=>{a.d(m,{g:()=>c});var g=a(7693);const c=()=>{if(void 0!==g.w)return g.w.Capacitor}},6591:(C,m,a)=>{a.d(m,{g:()=>g});const g=(s,t,e,d,l)=>f(s[1],t[1],e[1],d[1],l).map(n=>c(s[0],t[0],e[0],d[0],n)),c=(s,t,e,d,l)=>l*(3*t*Math.pow(l-1,2)+l*(-3*e*l+3*e+d*l))-s*Math.pow(l-1,3),f=(s,t,e,d,l)=>o((d-=l)-3*(e-=l)+3*(t-=l)-(s-=l),3*e-6*t+3*s,3*t-3*s,s).filter(i=>i>=0&&i<=1),o=(s,t,e,d)=>{if(0===s)return((s,t,e)=>{const d=t*t-4*s*e;return d<0?[]:[(-t+Math.sqrt(d))/(2*s),(-t-Math.sqrt(d))/(2*s)]})(t,e,d);const l=(3*(e/=s)-(t/=s)*t)/3,n=(2*t*t*t-9*t*e+27*(d/=s))/27;if(0===l)return[Math.pow(-n,1/3)];if(0===n)return[Math.sqrt(-l),-Math.sqrt(-l)];const i=Math.pow(n/2,2)+Math.pow(l/3,3);if(0===i)return[Math.pow(n/2,.5)-t/3];if(i>0)return[Math.pow(-n/2+Math.sqrt(i),1/3)-Math.pow(n/2+Math.sqrt(i),1/3)-t/3];const w=Math.sqrt(Math.pow(-l/3,3)),p=Math.acos(-n/(2*Math.sqrt(Math.pow(-l/3,3)))),E=2*Math.pow(w,1/3);return[E*Math.cos(p/3)-t/3,E*Math.cos((p+2*Math.PI)/3)-t/3,E*Math.cos((p+4*Math.PI)/3)-t/3]}},5215:(C,m,a)=>{a.d(m,{i:()=>g});const g=c=>c&&""!==c.dir?"rtl"===c.dir.toLowerCase():"rtl"===document?.dir.toLowerCase()},5837:(C,m,a)=>{a.r(m),a.d(m,{startFocusVisible:()=>r});const g="ion-focused",f=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"],r=o=>{let s=[],t=!0;const e=o?o.shadowRoot:document,d=o||document.body,l=y=>{s.forEach(h=>h.classList.remove(g)),y.forEach(h=>h.classList.add(g)),s=y},n=()=>{t=!1,l([])},i=y=>{t=f.includes(y.key),t||l([])},w=y=>{if(t&&void 0!==y.composedPath){const h=y.composedPath().filter(_=>!!_.classList&&_.classList.contains("ion-focusable"));l(h)}},p=()=>{e.activeElement===d&&l([])};return e.addEventListener("keydown",i),e.addEventListener("focusin",w),e.addEventListener("focusout",p),e.addEventListener("touchstart",n,{passive:!0}),e.addEventListener("mousedown",n),{destroy:()=>{e.removeEventListener("keydown",i),e.removeEventListener("focusin",w),e.removeEventListener("focusout",p),e.removeEventListener("touchstart",n),e.removeEventListener("mousedown",n)},setFocus:l}}},479:(C,m,a)=>{a.d(m,{c:()=>c});var g=a(2674);const c=s=>{const t=s;let e;return{hasLegacyControl:()=>{if(void 0===e){const l=void 0!==t.label||f(t),n=t.hasAttribute("aria-label")||t.hasAttribute("aria-labelledby")&&null===t.shadowRoot,i=(0,g.h)(t);e=!0===t.legacy||!l&&!n&&null!==i}return e}}},f=s=>null!==s.shadowRoot&&!!(r.includes(s.tagName)&&null!==s.querySelector('[slot="label"]')||o.includes(s.tagName)&&""!==s.textContent),r=["ION-RANGE"],o=["ION-TOGGLE","ION-CHECKBOX","ION-RADIO"]},2669:(C,m,a)=>{a.d(m,{I:()=>c,a:()=>t,b:()=>e,c:()=>s,d:()=>l,h:()=>d});var g=a(6447),c=(()=>{return(n=c||(c={})).Heavy="HEAVY",n.Medium="MEDIUM",n.Light="LIGHT",c;var n})();const r={getEngine(){const n=window.TapticEngine;if(n)return n;const i=(0,g.g)();return i?.isPluginAvailable("Haptics")?i.Plugins.Haptics:void 0},available(){return!!this.getEngine()&&("web"!==(0,g.g)()?.getPlatform()||typeof navigator<"u"&&void 0!==navigator.vibrate)},isCordova:()=>void 0!==window.TapticEngine,isCapacitor:()=>void 0!==(0,g.g)(),impact(n){const i=this.getEngine();if(!i)return;const w=this.isCapacitor()?n.style:n.style.toLowerCase();i.impact({style:w})},notification(n){const i=this.getEngine();if(!i)return;const w=this.isCapacitor()?n.type:n.type.toLowerCase();i.notification({type:w})},selection(){const n=this.isCapacitor()?c.Light:"light";this.impact({style:n})},selectionStart(){const n=this.getEngine();n&&(this.isCapacitor()?n.selectionStart():n.gestureSelectionStart())},selectionChanged(){const n=this.getEngine();n&&(this.isCapacitor()?n.selectionChanged():n.gestureSelectionChanged())},selectionEnd(){const n=this.getEngine();n&&(this.isCapacitor()?n.selectionEnd():n.gestureSelectionEnd())}},o=()=>r.available(),s=()=>{o()&&r.selection()},t=()=>{o()&&r.selectionStart()},e=()=>{o()&&r.selectionChanged()},d=()=>{o()&&r.selectionEnd()},l=n=>{o()&&r.impact(n)}},6038:(C,m,a)=>{a.d(m,{I:()=>s,a:()=>l,b:()=>o,c:()=>w,d:()=>E,f:()=>n,g:()=>d,i:()=>e,p:()=>p,r:()=>y,s:()=>i});var g=a(5861),c=a(2674),f=a(3357);const o="ion-content",s=".ion-content-scroll-host",t=`${o}, ${s}`,e=h=>"ION-CONTENT"===h.tagName,d=function(){var h=(0,g.Z)(function*(_){return e(_)?(yield new Promise(v=>(0,c.c)(_,v)),_.getScrollElement()):_});return function(v){return h.apply(this,arguments)}}(),l=h=>h.querySelector(s)||h.querySelector(t),n=h=>h.closest(t),i=(h,_)=>e(h)?h.scrollToTop(_):Promise.resolve(h.scrollTo({top:0,left:0,behavior:_>0?"smooth":"auto"})),w=(h,_,v,M)=>e(h)?h.scrollByPoint(_,v,M):Promise.resolve(h.scrollBy({top:v,left:_,behavior:M>0?"smooth":"auto"})),p=h=>(0,f.b)(h,o),E=h=>{if(e(h)){const v=h.scrollY;return h.scrollY=!1,v}return h.style.setProperty("overflow","hidden"),!0},y=(h,_)=>{e(h)?h.scrollY=_:h.style.removeProperty("overflow")}},6026:(C,m,a)=>{a.d(m,{a:()=>g,b:()=>w,c:()=>t,d:()=>p,e:()=>L,f:()=>s,g:()=>E,h:()=>f,i:()=>c,j:()=>M,k:()=>O,l:()=>e,m:()=>n,n:()=>y,o:()=>l,p:()=>o,q:()=>r,r:()=>v,s:()=>u,t:()=>i,u:()=>h,v:()=>_,w:()=>d});const g="data:image/svg+xml;utf8,",c="data:image/svg+xml;utf8,",f="data:image/svg+xml;utf8,",r="data:image/svg+xml;utf8,",o="data:image/svg+xml;utf8,",s="data:image/svg+xml;utf8,",t="data:image/svg+xml;utf8,",e="data:image/svg+xml;utf8,",d="data:image/svg+xml;utf8,",l="data:image/svg+xml;utf8,",n="data:image/svg+xml;utf8,",i="data:image/svg+xml;utf8,",w="data:image/svg+xml;utf8,",p="data:image/svg+xml;utf8,",E="data:image/svg+xml;utf8,",y="data:image/svg+xml;utf8,",h="data:image/svg+xml;utf8,",_="data:image/svg+xml;utf8,",v="data:image/svg+xml;utf8,",M="data:image/svg+xml;utf8,",O="data:image/svg+xml;utf8,",u="data:image/svg+xml;utf8,",L="data:image/svg+xml;utf8,"},5849:(C,m,a)=>{a.d(m,{c:()=>r,g:()=>o});var g=a(7693),c=a(2674),f=a(3357);const r=(t,e,d)=>{let l,n;void 0!==g.w&&"MutationObserver"in g.w&&(l=new MutationObserver(E=>{for(const y of E)for(const h of y.addedNodes)if(h.nodeType===Node.ELEMENT_NODE&&h.slot===e)return d(),void(0,c.r)(()=>i(h))}),l.observe(t,{childList:!0}));const i=E=>{var y;n&&(n.disconnect(),n=void 0),n=new MutationObserver(h=>{d();for(const _ of h)for(const v of _.removedNodes)v.nodeType===Node.ELEMENT_NODE&&v.slot===e&&p()}),n.observe(null!==(y=E.parentElement)&&void 0!==y?y:E,{subtree:!0,childList:!0})},p=()=>{n&&(n.disconnect(),n=void 0)};return{destroy:()=>{l&&(l.disconnect(),l=void 0),p()}}},o=(t,e,d)=>{const l=null==t?0:t.toString().length,n=s(l,e);if(void 0===d)return n;try{return d(l,e)}catch(i){return(0,f.a)("Exception in provided `counterFormatter`.",i),n}},s=(t,e)=>`${t} / ${e}`},2433:(C,m,a)=>{a.d(m,{K:()=>r,a:()=>f});var g=a(6447),c=(()=>{return(o=c||(c={})).Unimplemented="UNIMPLEMENTED",o.Unavailable="UNAVAILABLE",c;var o})(),f=(()=>{return(o=f||(f={})).Body="body",o.Ionic="ionic",o.Native="native",o.None="none",f;var o})();const r={getEngine(){const o=(0,g.g)();if(o?.isPluginAvailable("Keyboard"))return o.Plugins.Keyboard},getResizeMode(){const o=this.getEngine();return o?.getResizeMode?o.getResizeMode().catch(s=>{if(s.code!==c.Unimplemented)throw s}):Promise.resolve(void 0)}}},9868:(C,m,a)=>{a.r(m),a.d(m,{KEYBOARD_DID_CLOSE:()=>o,KEYBOARD_DID_OPEN:()=>r,copyVisualViewport:()=>O,keyboardDidClose:()=>h,keyboardDidOpen:()=>E,keyboardDidResize:()=>y,resetKeyboardAssist:()=>l,setKeyboardClose:()=>p,setKeyboardOpen:()=>w,startKeyboardAssist:()=>n,trackViewportChanges:()=>M});var g=a(2433);a(6447),a(7693);const r="ionKeyboardDidShow",o="ionKeyboardDidHide";let t={},e={},d=!1;const l=()=>{t={},e={},d=!1},n=u=>{if(g.K.getEngine())i(u);else{if(!u.visualViewport)return;e=O(u.visualViewport),u.visualViewport.onresize=()=>{M(u),E()||y(u)?w(u):h(u)&&p(u)}}},i=u=>{u.addEventListener("keyboardDidShow",L=>w(u,L)),u.addEventListener("keyboardDidHide",()=>p(u))},w=(u,L)=>{_(u,L),d=!0},p=u=>{v(u),d=!1},E=()=>!d&&t.width===e.width&&(t.height-e.height)*e.scale>150,y=u=>d&&!h(u),h=u=>d&&e.height===u.innerHeight,_=(u,L)=>{const D=new CustomEvent(r,{detail:{keyboardHeight:L?L.keyboardHeight:u.innerHeight-e.height}});u.dispatchEvent(D)},v=u=>{const L=new CustomEvent(o);u.dispatchEvent(L)},M=u=>{t=Object.assign({},e),e=O(u.visualViewport)},O=u=>({width:Math.round(u.width),height:Math.round(u.height),offsetTop:u.offsetTop,offsetLeft:u.offsetLeft,pageTop:u.pageTop,pageLeft:u.pageLeft,scale:u.scale})},323:(C,m,a)=>{a.d(m,{c:()=>s});var g=a(5861),c=a(7693),f=a(2433);const r=t=>void 0===c.d||t===f.a.None||void 0===t?null:c.d.querySelector("ion-app")??c.d.body,o=t=>{const e=r(t);return null===e?0:e.clientHeight},s=function(){var t=(0,g.Z)(function*(e){let d,l,n,i;const w=function(){var _=(0,g.Z)(function*(){const v=yield f.K.getResizeMode(),M=void 0===v?void 0:v.mode;d=()=>{void 0===i&&(i=o(M)),n=!0,p(n,M)},l=()=>{n=!1,p(n,M)},null==c.w||c.w.addEventListener("keyboardWillShow",d),null==c.w||c.w.addEventListener("keyboardWillHide",l)});return function(){return _.apply(this,arguments)}}(),p=(_,v)=>{e&&e(_,E(v))},E=_=>{if(0===i||i===o(_))return;const v=r(_);return null!==v?new Promise(M=>{const u=new ResizeObserver(()=>{v.clientHeight===i&&(u.disconnect(),M())});u.observe(v)}):void 0};return yield w(),{init:w,destroy:()=>{null==c.w||c.w.removeEventListener("keyboardWillShow",d),null==c.w||c.w.removeEventListener("keyboardWillHide",l),d=l=void 0},isKeyboardVisible:()=>n}});return function(d){return t.apply(this,arguments)}}()},1389:(C,m,a)=>{a.d(m,{c:()=>f});var g=a(7693),c=a(2674);const f=(r,o,s)=>{let t;const e=()=>!(void 0===o()||void 0!==r.label||null===s()),l=()=>{const i=o();if(void 0===i)return;if(!e())return void i.style.removeProperty("width");const w=s().scrollWidth;if(0===w&&null===i.offsetParent&&void 0!==g.w&&"IntersectionObserver"in g.w){if(void 0!==t)return;const p=t=new IntersectionObserver(E=>{1===E[0].intersectionRatio&&(l(),p.disconnect(),t=void 0)},{threshold:.01,root:r});p.observe(i)}else i.style.setProperty("width",.75*w+"px")};return{calculateNotchWidth:()=>{e()&&(0,c.r)(()=>{l()})},destroy:()=>{t&&(t.disconnect(),t=void 0)}}}},7418:(C,m,a)=>{a.d(m,{S:()=>c});const c={bubbles:{dur:1e3,circles:9,fn:(f,r,o)=>{const s=f*r/o-f+"ms",t=2*Math.PI*r/o;return{r:5,style:{top:32*Math.sin(t)+"%",left:32*Math.cos(t)+"%","animation-delay":s}}}},circles:{dur:1e3,circles:8,fn:(f,r,o)=>{const s=r/o,t=f*s-f+"ms",e=2*Math.PI*s;return{r:5,style:{top:32*Math.sin(e)+"%",left:32*Math.cos(e)+"%","animation-delay":t}}}},circular:{dur:1400,elmDuration:!0,circles:1,fn:()=>({r:20,cx:48,cy:48,fill:"none",viewBox:"24 24 48 48",transform:"translate(0,0)",style:{}})},crescent:{dur:750,circles:1,fn:()=>({r:26,style:{}})},dots:{dur:750,circles:3,fn:(f,r)=>({r:6,style:{left:32-32*r+"%","animation-delay":-110*r+"ms"}})},lines:{dur:1e3,lines:8,fn:(f,r,o)=>({y1:14,y2:26,style:{transform:`rotate(${360/o*r+(r({y1:12,y2:20,style:{transform:`rotate(${360/o*r+(r({y1:17,y2:29,style:{transform:`rotate(${30*r+(r<6?180:-180)}deg)`,"animation-delay":f*r/o-f+"ms"}})},"lines-sharp-small":{dur:1e3,lines:12,fn:(f,r,o)=>({y1:12,y2:20,style:{transform:`rotate(${30*r+(r<6?180:-180)}deg)`,"animation-delay":f*r/o-f+"ms"}})}}},1242:(C,m,a)=>{a.r(m),a.d(m,{createSwipeBackGesture:()=>o});var g=a(2674),c=a(5215),f=a(9531);a(6412);const o=(s,t,e,d,l)=>{const n=s.ownerDocument.defaultView;let i=(0,c.i)(s);const p=v=>i?-v.deltaX:v.deltaX;return(0,f.createGesture)({el:s,gestureName:"goback-swipe",gesturePriority:40,threshold:10,canStart:v=>(i=(0,c.i)(s),(v=>{const{startX:O}=v;return i?O>=n.innerWidth-50:O<=50})(v)&&t()),onStart:e,onMove:v=>{const O=p(v)/n.innerWidth;d(O)},onEnd:v=>{const M=p(v),O=n.innerWidth,u=M/O,L=(v=>i?-v.velocityX:v.velocityX)(v),D=L>=0&&(L>.2||M>O/2),T=(D?1-u:u)*O;let P=0;if(T>5){const x=T/Math.abs(L);P=Math.min(x,540)}l(D,u<=0?.01:(0,g.l)(0,u,.9999),P)}})}},101:(C,m,a)=>{a.d(m,{w:()=>g});const g=(r,o,s)=>{if(typeof MutationObserver>"u")return;const t=new MutationObserver(e=>{s(c(e,o))});return t.observe(r,{childList:!0,subtree:!0}),t},c=(r,o)=>{let s;return r.forEach(t=>{for(let e=0;e1!==r.nodeType?void 0:(r.tagName===o.toUpperCase()?[r]:Array.from(r.querySelectorAll(o))).find(t=>t.value===r.value)}}]); \ No newline at end of file diff --git a/common.fdaf37eaa7cd5cdc.js b/common.fdaf37eaa7cd5cdc.js new file mode 100644 index 00000000..eb4498f2 --- /dev/null +++ b/common.fdaf37eaa7cd5cdc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8592],{8431:(M,_,a)=>{a.d(_,{c:()=>i});var h=a(408),c=a(1765),l=a(5067);const i=(n,o)=>{let e,t;const u=(r,w,p)=>{if(typeof document>"u")return;const E=document.elementFromPoint(r,w);E&&o(E)?E!==e&&(s(),d(E,p)):s()},d=(r,w)=>{e=r,t||(t=e);const p=e;(0,h.w)(()=>p.classList.add("ion-activated")),w()},s=(r=!1)=>{if(!e)return;const w=e;(0,h.w)(()=>w.classList.remove("ion-activated")),r&&t!==e&&e.click(),e=void 0};return(0,l.createGesture)({el:n,gestureName:"buttonActiveDrag",threshold:0,onStart:r=>u(r.currentX,r.currentY,c.a),onMove:r=>u(r.currentX,r.currentY,c.b),onEnd:()=>{s(!0),(0,c.h)(),t=void 0}})}},6319:(M,_,a)=>{a.d(_,{g:()=>c});var h=a(2972);const c=()=>{if(void 0!==h.w)return h.w.Capacitor}},2890:(M,_,a)=>{a.d(_,{c:()=>h,i:()=>c});const h=(l,i,n)=>"function"==typeof n?n(l,i):"string"==typeof n?l[n]===i[n]:Array.isArray(i)?i.includes(l):l===i,c=(l,i,n)=>void 0!==l&&(Array.isArray(l)?l.some(o=>h(o,i,n)):h(l,i,n))},5069:(M,_,a)=>{a.d(_,{g:()=>h});const h=(o,e,t,u,d)=>l(o[1],e[1],t[1],u[1],d).map(s=>c(o[0],e[0],t[0],u[0],s)),c=(o,e,t,u,d)=>d*(3*e*Math.pow(d-1,2)+d*(-3*t*d+3*t+u*d))-o*Math.pow(d-1,3),l=(o,e,t,u,d)=>n((u-=d)-3*(t-=d)+3*(e-=d)-(o-=d),3*t-6*e+3*o,3*e-3*o,o).filter(r=>r>=0&&r<=1),n=(o,e,t,u)=>{if(0===o)return((o,e,t)=>{const u=e*e-4*o*t;return u<0?[]:[(-e+Math.sqrt(u))/(2*o),(-e-Math.sqrt(u))/(2*o)]})(e,t,u);const d=(3*(t/=o)-(e/=o)*e)/3,s=(2*e*e*e-9*e*t+27*(u/=o))/27;if(0===d)return[Math.pow(-s,1/3)];if(0===s)return[Math.sqrt(-d),-Math.sqrt(-d)];const r=Math.pow(s/2,2)+Math.pow(d/3,3);if(0===r)return[Math.pow(s/2,.5)-e/3];if(r>0)return[Math.pow(-s/2+Math.sqrt(r),1/3)-Math.pow(s/2+Math.sqrt(r),1/3)-e/3];const w=Math.sqrt(Math.pow(-d/3,3)),p=Math.acos(-s/(2*Math.sqrt(Math.pow(-d/3,3)))),E=2*Math.pow(w,1/3);return[E*Math.cos(p/3)-e/3,E*Math.cos((p+2*Math.PI)/3)-e/3,E*Math.cos((p+4*Math.PI)/3)-e/3]}},6879:(M,_,a)=>{a.d(_,{i:()=>h});const h=c=>c&&""!==c.dir?"rtl"===c.dir.toLowerCase():"rtl"===document?.dir.toLowerCase()},6390:(M,_,a)=>{a.r(_),a.d(_,{startFocusVisible:()=>i});const h="ion-focused",l=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"],i=n=>{let o=[],e=!0;const t=n?n.shadowRoot:document,u=n||document.body,d=y=>{o.forEach(g=>g.classList.remove(h)),y.forEach(g=>g.classList.add(h)),o=y},s=()=>{e=!1,d([])},r=y=>{e=l.includes(y.key),e||d([])},w=y=>{if(e&&void 0!==y.composedPath){const g=y.composedPath().filter(v=>!!v.classList&&v.classList.contains("ion-focusable"));d(g)}},p=()=>{t.activeElement===u&&d([])};return t.addEventListener("keydown",r),t.addEventListener("focusin",w),t.addEventListener("focusout",p),t.addEventListener("touchstart",s,{passive:!0}),t.addEventListener("mousedown",s),{destroy:()=>{t.removeEventListener("keydown",r),t.removeEventListener("focusin",w),t.removeEventListener("focusout",p),t.removeEventListener("touchstart",s),t.removeEventListener("mousedown",s)},setFocus:d}}},8134:(M,_,a)=>{a.d(_,{c:()=>c});var h=a(2961);const c=o=>{const e=o;let t;return{hasLegacyControl:()=>{if(void 0===t){const d=void 0!==e.label||l(e),s=e.hasAttribute("aria-label")||e.hasAttribute("aria-labelledby")&&null===e.shadowRoot,r=(0,h.h)(e);t=!0===e.legacy||!d&&!s&&null!==r}return t}}},l=o=>!!(i.includes(o.tagName)&&null!==o.querySelector('[slot="label"]')||n.includes(o.tagName)&&""!==o.textContent),i=["ION-INPUT","ION-TEXTAREA","ION-SELECT","ION-RANGE"],n=["ION-TOGGLE","ION-CHECKBOX","ION-RADIO"]},1765:(M,_,a)=>{a.d(_,{I:()=>c,a:()=>e,b:()=>t,c:()=>o,d:()=>d,h:()=>u});var h=a(6319),c=(()=>{return(s=c||(c={})).Heavy="HEAVY",s.Medium="MEDIUM",s.Light="LIGHT",c;var s})();const i={getEngine(){const s=window.TapticEngine;if(s)return s;const r=(0,h.g)();return r?.isPluginAvailable("Haptics")?r.Plugins.Haptics:void 0},available(){return!!this.getEngine()&&("web"!==(0,h.g)()?.getPlatform()||typeof navigator<"u"&&void 0!==navigator.vibrate)},isCordova:()=>void 0!==window.TapticEngine,isCapacitor:()=>void 0!==(0,h.g)(),impact(s){const r=this.getEngine();if(!r)return;const w=this.isCapacitor()?s.style:s.style.toLowerCase();r.impact({style:w})},notification(s){const r=this.getEngine();if(!r)return;const w=this.isCapacitor()?s.type:s.type.toLowerCase();r.notification({type:w})},selection(){const s=this.isCapacitor()?c.Light:"light";this.impact({style:s})},selectionStart(){const s=this.getEngine();s&&(this.isCapacitor()?s.selectionStart():s.gestureSelectionStart())},selectionChanged(){const s=this.getEngine();s&&(this.isCapacitor()?s.selectionChanged():s.gestureSelectionChanged())},selectionEnd(){const s=this.getEngine();s&&(this.isCapacitor()?s.selectionEnd():s.gestureSelectionEnd())}},n=()=>i.available(),o=()=>{n()&&i.selection()},e=()=>{n()&&i.selectionStart()},t=()=>{n()&&i.selectionChanged()},u=()=>{n()&&i.selectionEnd()},d=s=>{n()&&i.impact(s)}},4253:(M,_,a)=>{a.d(_,{I:()=>o,a:()=>d,b:()=>n,c:()=>w,d:()=>E,f:()=>s,g:()=>u,i:()=>t,p:()=>p,r:()=>y,s:()=>r});var h=a(5861),c=a(2961),l=a(8909);const n="ion-content",o=".ion-content-scroll-host",e=`${n}, ${o}`,t=g=>"ION-CONTENT"===g.tagName,u=function(){var g=(0,h.Z)(function*(v){return t(v)?(yield new Promise(m=>(0,c.c)(v,m)),v.getScrollElement()):v});return function(m){return g.apply(this,arguments)}}(),d=g=>g.querySelector(o)||g.querySelector(e),s=g=>g.closest(e),r=(g,v)=>t(g)?g.scrollToTop(v):Promise.resolve(g.scrollTo({top:0,left:0,behavior:v>0?"smooth":"auto"})),w=(g,v,m,O)=>t(g)?g.scrollByPoint(v,m,O):Promise.resolve(g.scrollBy({top:m,left:v,behavior:O>0?"smooth":"auto"})),p=g=>(0,l.b)(g,n),E=g=>{if(t(g)){const m=g.scrollY;return g.scrollY=!1,m}return g.style.setProperty("overflow","hidden"),!0},y=(g,v)=>{t(g)?g.scrollY=v:g.style.removeProperty("overflow")}},5723:(M,_,a)=>{a.d(_,{a:()=>h,b:()=>w,c:()=>e,d:()=>p,e:()=>L,f:()=>o,g:()=>E,h:()=>l,i:()=>c,j:()=>O,k:()=>C,l:()=>t,m:()=>s,n:()=>y,o:()=>d,p:()=>n,q:()=>i,r:()=>m,s:()=>f,t:()=>r,u:()=>g,v:()=>v,w:()=>u});const h="data:image/svg+xml;utf8,",c="data:image/svg+xml;utf8,",l="data:image/svg+xml;utf8,",i="data:image/svg+xml;utf8,",n="data:image/svg+xml;utf8,",o="data:image/svg+xml;utf8,",e="data:image/svg+xml;utf8,",t="data:image/svg+xml;utf8,",u="data:image/svg+xml;utf8,",d="data:image/svg+xml;utf8,",s="data:image/svg+xml;utf8,",r="data:image/svg+xml;utf8,",w="data:image/svg+xml;utf8,",p="data:image/svg+xml;utf8,",E="data:image/svg+xml;utf8,",y="data:image/svg+xml;utf8,",g="data:image/svg+xml;utf8,",v="data:image/svg+xml;utf8,",m="data:image/svg+xml;utf8,",O="data:image/svg+xml;utf8,",C="data:image/svg+xml;utf8,",f="data:image/svg+xml;utf8,",L="data:image/svg+xml;utf8,"},4063:(M,_,a)=>{a.d(_,{c:()=>i,g:()=>n});var h=a(2972),c=a(2961),l=a(8909);const i=(e,t,u)=>{let d,s;if(void 0!==h.w&&"MutationObserver"in h.w){const E=Array.isArray(t)?t:[t];d=new MutationObserver(y=>{for(const g of y)for(const v of g.addedNodes)if(v.nodeType===Node.ELEMENT_NODE&&E.includes(v.slot))return u(),void(0,c.r)(()=>r(v))}),d.observe(e,{childList:!0})}const r=E=>{var y;s&&(s.disconnect(),s=void 0),s=new MutationObserver(g=>{u();for(const v of g)for(const m of v.removedNodes)m.nodeType===Node.ELEMENT_NODE&&m.slot===t&&p()}),s.observe(null!==(y=E.parentElement)&&void 0!==y?y:E,{subtree:!0,childList:!0})},p=()=>{s&&(s.disconnect(),s=void 0)};return{destroy:()=>{d&&(d.disconnect(),d=void 0),p()}}},n=(e,t,u)=>{const d=null==e?0:e.toString().length,s=o(d,t);if(void 0===u)return s;try{return u(d,t)}catch(r){return(0,l.a)("Exception in provided `counterFormatter`.",r),s}},o=(e,t)=>`${e} / ${t}`},922:(M,_,a)=>{a.r(_),a.d(_,{KEYBOARD_DID_CLOSE:()=>n,KEYBOARD_DID_OPEN:()=>i,copyVisualViewport:()=>C,keyboardDidClose:()=>g,keyboardDidOpen:()=>E,keyboardDidResize:()=>y,resetKeyboardAssist:()=>d,setKeyboardClose:()=>p,setKeyboardOpen:()=>w,startKeyboardAssist:()=>s,trackViewportChanges:()=>O});var h=a(3037);a(6319),a(2972);const i="ionKeyboardDidShow",n="ionKeyboardDidHide";let e={},t={},u=!1;const d=()=>{e={},t={},u=!1},s=f=>{if(h.K.getEngine())r(f);else{if(!f.visualViewport)return;t=C(f.visualViewport),f.visualViewport.onresize=()=>{O(f),E()||y(f)?w(f):g(f)&&p(f)}}},r=f=>{f.addEventListener("keyboardDidShow",L=>w(f,L)),f.addEventListener("keyboardDidHide",()=>p(f))},w=(f,L)=>{v(f,L),u=!0},p=f=>{m(f),u=!1},E=()=>!u&&e.width===t.width&&(e.height-t.height)*t.scale>150,y=f=>u&&!g(f),g=f=>u&&t.height===f.innerHeight,v=(f,L)=>{const D=new CustomEvent(i,{detail:{keyboardHeight:L?L.keyboardHeight:f.innerHeight-t.height}});f.dispatchEvent(D)},m=f=>{const L=new CustomEvent(n);f.dispatchEvent(L)},O=f=>{e=Object.assign({},t),t=C(f.visualViewport)},C=f=>({width:Math.round(f.width),height:Math.round(f.height),offsetTop:f.offsetTop,offsetLeft:f.offsetLeft,pageTop:f.pageTop,pageLeft:f.pageLeft,scale:f.scale})},3037:(M,_,a)=>{a.d(_,{K:()=>i,a:()=>l});var h=a(6319),c=(()=>{return(n=c||(c={})).Unimplemented="UNIMPLEMENTED",n.Unavailable="UNAVAILABLE",c;var n})(),l=(()=>{return(n=l||(l={})).Body="body",n.Ionic="ionic",n.Native="native",n.None="none",l;var n})();const i={getEngine(){const n=(0,h.g)();if(n?.isPluginAvailable("Keyboard"))return n.Plugins.Keyboard},getResizeMode(){const n=this.getEngine();return n?.getResizeMode?n.getResizeMode().catch(o=>{if(o.code!==c.Unimplemented)throw o}):Promise.resolve(void 0)}}},2930:(M,_,a)=>{a.d(_,{c:()=>o});var h=a(5861),c=a(2972),l=a(3037);const i=e=>void 0===c.d||e===l.a.None||void 0===e?null:c.d.querySelector("ion-app")??c.d.body,n=e=>{const t=i(e);return null===t?0:t.clientHeight},o=function(){var e=(0,h.Z)(function*(t){let u,d,s,r;const w=function(){var v=(0,h.Z)(function*(){const m=yield l.K.getResizeMode(),O=void 0===m?void 0:m.mode;u=()=>{void 0===r&&(r=n(O)),s=!0,p(s,O)},d=()=>{s=!1,p(s,O)},null==c.w||c.w.addEventListener("keyboardWillShow",u),null==c.w||c.w.addEventListener("keyboardWillHide",d)});return function(){return v.apply(this,arguments)}}(),p=(v,m)=>{t&&t(v,E(m))},E=v=>{if(0===r||r===n(v))return;const m=i(v);return null!==m?new Promise(O=>{const f=new ResizeObserver(()=>{m.clientHeight===r&&(f.disconnect(),O())});f.observe(m)}):void 0};return yield w(),{init:w,destroy:()=>{null==c.w||c.w.removeEventListener("keyboardWillShow",u),null==c.w||c.w.removeEventListener("keyboardWillHide",d),u=d=void 0},isKeyboardVisible:()=>s}});return function(u){return e.apply(this,arguments)}}()},7389:(M,_,a)=>{a.d(_,{c:()=>c});var h=a(5861);const c=()=>{let l;return{lock:function(){var n=(0,h.Z)(function*(){const o=l;let e;return l=new Promise(t=>e=t),void 0!==o&&(yield o),e});return function(){return n.apply(this,arguments)}}()}}},2448:(M,_,a)=>{a.d(_,{c:()=>l});var h=a(2972),c=a(2961);const l=(i,n,o)=>{let e;const t=()=>!(void 0===n()||void 0!==i.label||null===o()),d=()=>{const r=n();if(void 0===r)return;if(!t())return void r.style.removeProperty("width");const w=o().scrollWidth;if(0===w&&null===r.offsetParent&&void 0!==h.w&&"IntersectionObserver"in h.w){if(void 0!==e)return;const p=e=new IntersectionObserver(E=>{1===E[0].intersectionRatio&&(d(),p.disconnect(),e=void 0)},{threshold:.01,root:i});p.observe(r)}else r.style.setProperty("width",.75*w+"px")};return{calculateNotchWidth:()=>{t()&&(0,c.r)(()=>{d()})},destroy:()=>{e&&(e.disconnect(),e=void 0)}}}},2677:(M,_,a)=>{a.d(_,{S:()=>c});const c={bubbles:{dur:1e3,circles:9,fn:(l,i,n)=>{const o=l*i/n-l+"ms",e=2*Math.PI*i/n;return{r:5,style:{top:32*Math.sin(e)+"%",left:32*Math.cos(e)+"%","animation-delay":o}}}},circles:{dur:1e3,circles:8,fn:(l,i,n)=>{const o=i/n,e=l*o-l+"ms",t=2*Math.PI*o;return{r:5,style:{top:32*Math.sin(t)+"%",left:32*Math.cos(t)+"%","animation-delay":e}}}},circular:{dur:1400,elmDuration:!0,circles:1,fn:()=>({r:20,cx:48,cy:48,fill:"none",viewBox:"24 24 48 48",transform:"translate(0,0)",style:{}})},crescent:{dur:750,circles:1,fn:()=>({r:26,style:{}})},dots:{dur:750,circles:3,fn:(l,i)=>({r:6,style:{left:32-32*i+"%","animation-delay":-110*i+"ms"}})},lines:{dur:1e3,lines:8,fn:(l,i,n)=>({y1:14,y2:26,style:{transform:`rotate(${360/n*i+(i({y1:12,y2:20,style:{transform:`rotate(${360/n*i+(i({y1:17,y2:29,style:{transform:`rotate(${30*i+(i<6?180:-180)}deg)`,"animation-delay":l*i/n-l+"ms"}})},"lines-sharp-small":{dur:1e3,lines:12,fn:(l,i,n)=>({y1:12,y2:20,style:{transform:`rotate(${30*i+(i<6?180:-180)}deg)`,"animation-delay":l*i/n-l+"ms"}})}}},2784:(M,_,a)=>{a.r(_),a.d(_,{createSwipeBackGesture:()=>n});var h=a(2961),c=a(6879),l=a(5067);a(2889);const n=(o,e,t,u,d)=>{const s=o.ownerDocument.defaultView;let r=(0,c.i)(o);const p=m=>r?-m.deltaX:m.deltaX;return(0,l.createGesture)({el:o,gestureName:"goback-swipe",gesturePriority:101,threshold:10,canStart:m=>(r=(0,c.i)(o),(m=>{const{startX:C}=m;return r?C>=s.innerWidth-50:C<=50})(m)&&e()),onStart:t,onMove:m=>{const C=p(m)/s.innerWidth;u(C)},onEnd:m=>{const O=p(m),C=s.innerWidth,f=O/C,L=(m=>r?-m.velocityX:m.velocityX)(m),D=L>=0&&(L>.2||O>C/2),T=(D?1-f:f)*C;let P=0;if(T>5){const A=T/Math.abs(L);P=Math.min(A,540)}d(D,f<=0?.01:(0,h.l)(0,f,.9999),P)}})}},2754:(M,_,a)=>{a.d(_,{w:()=>h});const h=(i,n,o)=>{if(typeof MutationObserver>"u")return;const e=new MutationObserver(t=>{o(c(t,n))});return e.observe(i,{childList:!0,subtree:!0}),e},c=(i,n)=>{let o;return i.forEach(e=>{for(let t=0;t{if(1!==i.nodeType)return;const o=i;return(o.tagName===n.toUpperCase()?[o]:Array.from(o.querySelectorAll(n))).find(t=>t.value===o.value)}}}]); \ No newline at end of file diff --git a/index.html b/index.html index ad19144a..f5688e81 100644 --- a/index.html +++ b/index.html @@ -25,11 +25,11 @@ - + - + \ No newline at end of file diff --git a/main.bbd5f5aa0707904a.js b/main.bbd5f5aa0707904a.js new file mode 100644 index 00000000..e6b0692f --- /dev/null +++ b/main.bbd5f5aa0707904a.js @@ -0,0 +1 @@ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[179],{694:(pt,Re,g)=>{"use strict";g.d(Re,{E:()=>V});var o=g(7582),r=g(7598),B=g(4650),V=function(te){function P(){return null!==te&&te.apply(this,arguments)||this}return(0,o.ZT)(P,te),P.prototype.speak=function(R){return(0,r.DM)(this,"speak",{otherPromise:!0},arguments)},P.prototype.stop=function(){return(0,r.DM)(this,"stop",{otherPromise:!0},arguments)},P.prototype.getVoices=function(){return(0,r.DM)(this,"getVoices",{otherPromise:!0},arguments)},P.\u0275fac=function(){let R;return function(ne){return(R||(R=B.n5z(P)))(ne||P)}}(),P.\u0275prov=B.Yz7({token:P,factory:P.\u0275fac}),P.pluginName="Text To Speech Advanced",P.plugin="cordova-plugin-tts-advanced",P.pluginRef="TTS",P.repo="https://github.com/spasma/cordova-plugin-tts-advanced",P.platforms=["Android","iOS"],P=(0,o.gn)([],P)}(r.On)},3771:(pt,Re,g)=>{"use strict";g.d(Re,{B:()=>te});var o=g(7582),r=g(7598),B=g(4650),te=function(P){function R(){return null!==P&&P.apply(this,arguments)||this}return(0,o.ZT)(R,P),R.prototype.isSupported=function(){return(0,r.DM)(this,"isSupported",{},arguments)},R.prototype.isImmersiveModeSupported=function(){return(0,r.DM)(this,"isImmersiveModeSupported",{},arguments)},R.prototype.immersiveWidth=function(){return(0,r.DM)(this,"immersiveWidth",{},arguments)},R.prototype.immersiveHeight=function(){return(0,r.DM)(this,"immersiveHeight",{},arguments)},R.prototype.leanMode=function(){return(0,r.DM)(this,"leanMode",{},arguments)},R.prototype.showSystemUI=function(){return(0,r.DM)(this,"showSystemUI",{},arguments)},R.prototype.showUnderStatusBar=function(){return(0,r.DM)(this,"showUnderStatusBar",{},arguments)},R.prototype.showUnderSystemUI=function(){return(0,r.DM)(this,"showUnderSystemUI",{},arguments)},R.prototype.immersiveMode=function(){return(0,r.DM)(this,"immersiveMode",{},arguments)},R.prototype.setSystemUiVisibility=function(Y){return(0,r.DM)(this,"setSystemUiVisibility",{},arguments)},R.\u0275fac=function(){let Y;return function(he){return(Y||(Y=B.n5z(R)))(he||R)}}(),R.\u0275prov=B.Yz7({token:R,factory:R.\u0275fac}),R.pluginName="AndroidFullScreen",R.plugin="cordova-plugin-fullscreen",R.pluginRef="AndroidFullScreen",R.repo="https://github.com/mesmotronic/cordova-plugin-fullscreen",R.platforms=["Android"],R=(0,o.gn)([],R)}(r.On)},9509:(pt,Re,g)=>{"use strict";g.d(Re,{b:()=>V});var o=g(7582),r=g(7598),B=g(4650),V=function(te){function P(){return null!==te&&te.apply(this,arguments)||this}return(0,o.ZT)(P,te),P.prototype.getAppName=function(){return(0,r.DM)(this,"getAppName",{},arguments)},P.prototype.getPackageName=function(){return(0,r.DM)(this,"getPackageName",{},arguments)},P.prototype.getVersionCode=function(){return(0,r.DM)(this,"getVersionCode",{},arguments)},P.prototype.getVersionNumber=function(){return(0,r.DM)(this,"getVersionNumber",{},arguments)},P.\u0275fac=function(){let R;return function(ne){return(R||(R=B.n5z(P)))(ne||P)}}(),P.\u0275prov=B.Yz7({token:P,factory:P.\u0275fac}),P.pluginName="AppVersion",P.plugin="cordova-plugin-app-version",P.pluginRef="cordova.getAppVersion",P.repo="https://github.com/whiteoctober/cordova-plugin-app-version",P.platforms=["Android","iOS","Windows"],P=(0,o.gn)([],P)}(r.On)},7598:(pt,Re,g)=>{"use strict";g.d(Re,{On:()=>we,DM:()=>j,J2:()=>Te,Iq:()=>Be});var r=g(9751),B=g(4968),V={error:"cordova_not_available"},te={error:"plugin_not_installed"};function P(ie){if(typeof window<"u"&&window.angular){var We=window.document,st=window.angular.element(We.querySelector("[ng-app]")||We.body).injector();if(st)return st.get("$q")(function(z,C){ie(z,C)});console.warn("Angular 1 was detected but $q couldn't be retrieved. This is usually when the app is not bootstrapped on the html or body tag. Falling back to native promises which won't trigger an automatic digest when promises resolve.")}return function(){if(Promise)return new Promise(function(z,C){ie(z,C)});console.error("No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular or on a recent browser.")}()}function Z(ie,ke,We){var st,ve;"string"==typeof ie?st=ie:(st=ie.constructor.getPluginRef(),We=ie.constructor.getPluginName(),ve=ie.constructor.getPluginInstallName());var z=ce(st);return!(!z||ke&&typeof z[ke]>"u")||(typeof window>"u"||!window.cordova?(function be(ie,ke){typeof process>"u"&&console.warn(ke?"Native: tried calling "+ie+"."+ke+", but Cordova is not available. Make sure to include cordova.js or run in a device/simulator":"Native: tried accessing the "+ie+" plugin but Cordova is not available. Make sure to include cordova.js or run in a device/simulator")}(We,ke),V):(function pe(ie,ke,We){console.warn(We?"Native: tried calling "+ie+"."+We+", but the "+ie+" plugin is not installed.":"Native: tried accessing the "+ie+" plugin but it's not installed."),ke&&console.warn("Install the "+ie+" plugin: 'ionic cordova plugin add "+ke+"'")}(We,ve,ke),te))}function de(ie,ke,We,st,ve,z){void 0===st&&(st={}),We=function ye(ie,ke,We,st){if(void 0===ke&&(ke={}),ke.sync)return ie;if("reverse"===ke.callbackOrder)ie.unshift(st),ie.unshift(We);else if("node"===ke.callbackStyle)ie.push(function(N,k){N?st(N):We(k)});else if("object"===ke.callbackStyle&&ke.successName&&ke.errorName){var ve={};ve[ke.successName]=We,ve[ke.errorName]=st,ie.push(ve)}else if(typeof ke.successIndex<"u"||typeof ke.errorIndex<"u"){var z=function(){ke.successIndex>ie.length?ie[ke.successIndex]=We:ie.splice(ke.successIndex,0,We)},C=function(){ke.errorIndex>ie.length?ie[ke.errorIndex]=st:ie.splice(ke.errorIndex,0,st)};ke.successIndex>ke.errorIndex?(C(),z()):(z(),C())}else ie.push(We),ie.push(st);return ie}(We,st,ve,z);var C=Z(ie,ke);if(!0===C){var N=ce(ie.constructor.getPluginRef());return N[ke].apply(N,We)}return C}function ce(ie){return typeof window<"u"?W(window,ie):null}function W(ie,ke){for(var We=ke.split("."),st=ie,ve=0;ve"u"){var ie=typeof window<"u"?window:{},We=Date.now(),st=!1;ie.document.addEventListener("deviceready",function(){console.log("Ionic Native: deviceready event fired after "+(Date.now()-We)+" ms"),st=!0}),setTimeout(function(){!st&&ie.cordova&&console.warn("Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.")},5e3)}}()},4598:(pt,Re,g)=>{"use strict";g.d(Re,{A:()=>V});var o=g(7582),r=g(7598),B=g(4650),V=function(te){function P(){return null!==te&&te.apply(this,arguments)||this}return(0,o.ZT)(P,te),Object.defineProperty(P.prototype,"cordova",{get:function(){return(0,r.J2)(this,"cordova")},set:function(R){(0,r.Iq)(this,"cordova",R)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"model",{get:function(){return(0,r.J2)(this,"model")},set:function(R){(0,r.Iq)(this,"model",R)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"platform",{get:function(){return(0,r.J2)(this,"platform")},set:function(R){(0,r.Iq)(this,"platform",R)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"uuid",{get:function(){return(0,r.J2)(this,"uuid")},set:function(R){(0,r.Iq)(this,"uuid",R)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"version",{get:function(){return(0,r.J2)(this,"version")},set:function(R){(0,r.Iq)(this,"version",R)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"manufacturer",{get:function(){return(0,r.J2)(this,"manufacturer")},set:function(R){(0,r.Iq)(this,"manufacturer",R)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"isVirtual",{get:function(){return(0,r.J2)(this,"isVirtual")},set:function(R){(0,r.Iq)(this,"isVirtual",R)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"serial",{get:function(){return(0,r.J2)(this,"serial")},set:function(R){(0,r.Iq)(this,"serial",R)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"sdkVersion",{get:function(){return(0,r.J2)(this,"sdkVersion")},set:function(R){(0,r.Iq)(this,"sdkVersion",R)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"isiOSAppOnMac",{get:function(){return(0,r.J2)(this,"isiOSAppOnMac")},set:function(R){(0,r.Iq)(this,"isiOSAppOnMac",R)},enumerable:!1,configurable:!0}),P.\u0275fac=function(){let R;return function(ne){return(R||(R=B.n5z(P)))(ne||P)}}(),P.\u0275prov=B.Yz7({token:P,factory:P.\u0275fac}),P.pluginName="Device",P.plugin="cordova-plugin-device",P.pluginRef="device",P.repo="https://github.com/apache/cordova-plugin-device",P.platforms=["Android","Browser","iOS","macOS","Windows"],P=(0,o.gn)([],P)}(r.On)},9986:(pt,Re,g)=>{"use strict";g.d(Re,{s:()=>V});var o=g(7582),r=g(7598),B=g(4650),V=function(te){function P(){return null!==te&&te.apply(this,arguments)||this}return(0,o.ZT)(P,te),P.prototype.keepAwake=function(){return(0,r.DM)(this,"keepAwake",{},arguments)},P.prototype.allowSleepAgain=function(){return(0,r.DM)(this,"allowSleepAgain",{},arguments)},P.\u0275fac=function(){let R;return function(ne){return(R||(R=B.n5z(P)))(ne||P)}}(),P.\u0275prov=B.Yz7({token:P,factory:P.\u0275fac}),P.pluginName="Insomnia",P.plugin="cordova-plugin-insomnia",P.pluginRef="plugins.insomnia",P.repo="https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin",P.platforms=["Android","Browser","Firefox OS","iOS","Windows","Windows Phone 8"],P=(0,o.gn)([],P)}(r.On)},9102:(pt,Re,g)=>{"use strict";g.d(Re,{e:()=>V});var o=g(7582),r=g(7598),B=g(4650),V=function(te){function P(){return null!==te&&te.apply(this,arguments)||this}return(0,o.ZT)(P,te),P.prototype.share=function(R,Y,ne,he){return(0,r.DM)(this,"share",{successIndex:4,errorIndex:5},arguments)},P.prototype.shareWithOptions=function(R){return(0,r.DM)(this,"shareWithOptions",{platforms:["iOS","Android"]},arguments)},P.prototype.canShareVia=function(R,Y,ne,he,Z){return(0,r.DM)(this,"canShareVia",{successIndex:5,errorIndex:6,platforms:["iOS","Android"]},arguments)},P.prototype.shareViaTwitter=function(R,Y,ne){return(0,r.DM)(this,"shareViaTwitter",{successIndex:3,errorIndex:4,platforms:["iOS","Android"]},arguments)},P.prototype.shareViaFacebook=function(R,Y,ne){return(0,r.DM)(this,"shareViaFacebook",{successIndex:3,errorIndex:4,platforms:["iOS","Android"]},arguments)},P.prototype.shareViaFacebookWithPasteMessageHint=function(R,Y,ne,he){return(0,r.DM)(this,"shareViaFacebookWithPasteMessageHint",{successIndex:4,errorIndex:5,platforms:["iOS","Android"]},arguments)},P.prototype.shareViaInstagram=function(R,Y){return(0,r.DM)(this,"shareViaInstagram",{platforms:["iOS","Android"]},arguments)},P.prototype.shareViaWhatsApp=function(R,Y,ne){return(0,r.DM)(this,"shareViaWhatsApp",{successIndex:3,errorIndex:4,platforms:["iOS","Android"]},arguments)},P.prototype.shareViaWhatsAppToReceiver=function(R,Y,ne,he){return(0,r.DM)(this,"shareViaWhatsAppToReceiver",{successIndex:4,errorIndex:5,platforms:["iOS","Android"]},arguments)},P.prototype.shareViaSMS=function(R,Y){return(0,r.DM)(this,"shareViaSMS",{platforms:["iOS","Android"]},arguments)},P.prototype.canShareViaEmail=function(){return(0,r.DM)(this,"canShareViaEmail",{platforms:["iOS","Android"]},arguments)},P.prototype.shareViaEmail=function(R,Y,ne,he,Z,oe){return(0,r.DM)(this,"shareViaEmail",{platforms:["iOS","Android"],successIndex:6,errorIndex:7},arguments)},P.prototype.shareVia=function(R,Y,ne,he,Z){return(0,r.DM)(this,"shareVia",{successIndex:5,errorIndex:6,platforms:["iOS","Android"]},arguments)},P.prototype.setIPadPopupCoordinates=function(R){return(0,r.DM)(this,"setIPadPopupCoordinates",{sync:!0,platforms:["iOS"]},arguments)},P.prototype.saveToPhotoAlbum=function(R){return(0,r.DM)(this,"saveToPhotoAlbum",{platforms:["iOS"]},arguments)},P.prototype.shareViaWhatsAppToPhone=function(R,Y,ne,he){return(0,r.DM)(this,"shareViaWhatsAppToPhone",{successIndex:5,errorIndex:6,platforms:["iOS","Android"]},arguments)},P.\u0275fac=function(){let R;return function(ne){return(R||(R=B.n5z(P)))(ne||P)}}(),P.\u0275prov=B.Yz7({token:P,factory:P.\u0275fac}),P.pluginName="SocialSharing",P.plugin="cordova-plugin-x-socialsharing",P.pluginRef="plugins.socialsharing",P.repo="https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin",P.platforms=["Android","Browser","iOS","Windows","Windows Phone"],P=(0,o.gn)([],P)}(r.On)},5082:(pt,Re,g)=>{"use strict";g.d(Re,{c:()=>V});var o=g(7582),r=g(7598),B=g(4650),V=function(te){function P(){return null!==te&&te.apply(this,arguments)||this}return(0,o.ZT)(P,te),P.prototype.show=function(){return(0,r.DM)(this,"show",{sync:!0},arguments)},P.prototype.hide=function(){return(0,r.DM)(this,"hide",{sync:!0},arguments)},P.\u0275fac=function(){let R;return function(ne){return(R||(R=B.n5z(P)))(ne||P)}}(),P.\u0275prov=B.Yz7({token:P,factory:P.\u0275fac}),P.pluginName="SplashScreen",P.plugin="cordova-plugin-splashscreen",P.pluginRef="navigator.splashscreen",P.repo="https://github.com/apache/cordova-plugin-splashscreen",P.platforms=["Amazon Fire OS","Android","iOS","Windows"],P=(0,o.gn)([],P)}(r.On)},9062:(pt,Re,g)=>{"use strict";g.d(Re,{A:()=>V});var o=g(7582),r=g(7598),B=g(4650),V=function(te){function P(){return null!==te&&te.apply(this,arguments)||this}return(0,o.ZT)(P,te),P.prototype.overlaysWebView=function(R){return(0,r.DM)(this,"overlaysWebView",{sync:!0},arguments)},P.prototype.styleDefault=function(){return(0,r.DM)(this,"styleDefault",{sync:!0},arguments)},P.prototype.styleLightContent=function(){return(0,r.DM)(this,"styleLightContent",{sync:!0},arguments)},P.prototype.styleBlackTranslucent=function(){return(0,r.DM)(this,"styleBlackTranslucent",{sync:!0},arguments)},P.prototype.styleBlackOpaque=function(){return(0,r.DM)(this,"styleBlackOpaque",{sync:!0},arguments)},P.prototype.backgroundColorByName=function(R){return(0,r.DM)(this,"backgroundColorByName",{sync:!0},arguments)},P.prototype.backgroundColorByHexString=function(R){return(0,r.DM)(this,"backgroundColorByHexString",{sync:!0},arguments)},P.prototype.hide=function(){return(0,r.DM)(this,"hide",{sync:!0},arguments)},P.prototype.show=function(){return(0,r.DM)(this,"show",{sync:!0},arguments)},Object.defineProperty(P.prototype,"isVisible",{get:function(){return(0,r.J2)(this,"isVisible")},set:function(R){(0,r.Iq)(this,"isVisible",R)},enumerable:!1,configurable:!0}),P.\u0275fac=function(){let R;return function(ne){return(R||(R=B.n5z(P)))(ne||P)}}(),P.\u0275prov=B.Yz7({token:P,factory:P.\u0275fac}),P.pluginName="StatusBar",P.plugin="cordova-plugin-statusbar",P.pluginRef="StatusBar",P.repo="https://github.com/apache/cordova-plugin-statusbar",P.platforms=["Android","iOS","Windows"],P=(0,o.gn)([],P)}(r.On)},4879:(pt,Re,g)=>{"use strict";g.d(Re,{F:()=>V});var o=g(7582),r=g(7598),B=g(4650),V=function(te){function P(){return null!==te&&te.apply(this,arguments)||this}return(0,o.ZT)(P,te),P.prototype.show=function(R,Y,ne){return(0,r.DM)(this,"show",{observable:!0,clearFunction:"hide"},arguments)},P.prototype.hide=function(){return(0,r.DM)(this,"hide",{},arguments)},P.prototype.showWithOptions=function(R){return(0,r.DM)(this,"showWithOptions",{observable:!0,clearFunction:"hide"},arguments)},P.prototype.showShortTop=function(R){return(0,r.DM)(this,"showShortTop",{observable:!0,clearFunction:"hide"},arguments)},P.prototype.showShortCenter=function(R){return(0,r.DM)(this,"showShortCenter",{observable:!0,clearFunction:"hide"},arguments)},P.prototype.showShortBottom=function(R){return(0,r.DM)(this,"showShortBottom",{observable:!0,clearFunction:"hide"},arguments)},P.prototype.showLongTop=function(R){return(0,r.DM)(this,"showLongTop",{observable:!0,clearFunction:"hide"},arguments)},P.prototype.showLongCenter=function(R){return(0,r.DM)(this,"showLongCenter",{observable:!0,clearFunction:"hide"},arguments)},P.prototype.showLongBottom=function(R){return(0,r.DM)(this,"showLongBottom",{observable:!0,clearFunction:"hide"},arguments)},P.\u0275fac=function(){let R;return function(ne){return(R||(R=B.n5z(P)))(ne||P)}}(),P.\u0275prov=B.Yz7({token:P,factory:P.\u0275fac}),P.pluginName="Toast",P.plugin="cordova-plugin-x-toast",P.pluginRef="plugins.toast",P.repo="https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin",P.platforms=["Android","BlackBerry 10","iOS","Windows","Windows Phone 8"],P=(0,o.gn)([],P)}(r.On)},9804:(pt,Re,g)=>{"use strict";g.d(Re,{c:()=>B,r:()=>Z});const B=(j,X)=>{j.componentOnReady?j.componentOnReady().then(Ce=>X(Ce)):Z(()=>X(j))},Z=j=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(j):"function"==typeof requestAnimationFrame?requestAnimationFrame(j):setTimeout(j)},3435:(pt,Re,g)=>{"use strict";g.d(Re,{L:()=>o,a:()=>r,b:()=>B,c:()=>V,d:()=>te,g:()=>j});const o="ionViewWillEnter",r="ionViewDidEnter",B="ionViewWillLeave",V="ionViewDidLeave",te="ionViewWillUnload",j=X=>X.classList.contains("ion-page")?X:X.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||X},2876:(pt,Re,g)=>{"use strict";g.d(Re,{c:()=>ce});var o=g(2972),r=g(2961);let B;const te=W=>W.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),P=W=>(void 0===B&&(B=void 0===W.style.animationName&&void 0!==W.style.webkitAnimationName?"-webkit-":""),B),R=(W,pe,be)=>{const Ve=pe.startsWith("animation")?P(W):"";W.style.setProperty(Ve+pe,be)},Y=(W,pe)=>{const be=pe.startsWith("animation")?P(W):"";W.style.removeProperty(be+pe)},Z=[],re=(W=[],pe)=>{if(void 0!==pe){const be=Array.isArray(pe)?pe:[pe];return[...W,...be]}return W},ce=W=>{let pe,be,Ve,Me,Le,Pe,_e,z,C,N,k,qe,gt,we=[],j=[],X=[],Ce=!1,Te={},Be=[],ie=[],ke={},We=0,st=!1,ve=!1,se=!0,ae=!1,Ye=!0,dt=!1;const At=W,Wt=[],at=[],Je=[],Xe=[],ut=[],Lt=[],Yt=[],Zt=[],Ct=[],en=[],Xt=[],Mn="function"==typeof AnimationEffect||void 0!==o.w&&"function"==typeof o.w.AnimationEffect,On="function"==typeof Element&&"function"==typeof Element.prototype.animate&&Mn,_n=()=>Xt,ln=(S,$)=>{const fe=$.findIndex(Ae=>Ae.c===S);fe>-1&&$.splice(fe,1)},Xn=(S,$)=>(($?.oneTimeCallback?at:Wt).push({c:S,o:$}),gt),ar=()=>{if(On)Xt.forEach(S=>{S.cancel()}),Xt.length=0;else{const S=Xe.slice();(0,r.r)(()=>{S.forEach($=>{Y($,"animation-name"),Y($,"animation-duration"),Y($,"animation-timing-function"),Y($,"animation-iteration-count"),Y($,"animation-delay"),Y($,"animation-play-state"),Y($,"animation-fill-mode"),Y($,"animation-direction")})})}},dn=()=>{Lt.forEach(S=>{S?.parentNode&&S.parentNode.removeChild(S)}),Lt.length=0},Fn=()=>void 0!==Le?Le:_e?_e.getFill():"both",gn=()=>void 0!==C?C:void 0!==Pe?Pe:_e?_e.getDirection():"normal",Cn=()=>st?"linear":void 0!==Ve?Ve:_e?_e.getEasing():"linear",mn=()=>ve?0:void 0!==N?N:void 0!==be?be:_e?_e.getDuration():0,tn=()=>void 0!==Me?Me:_e?_e.getIterations():1,Ze=()=>void 0!==k?k:void 0!==pe?pe:_e?_e.getDelay():0,Ln=()=>{0!==We&&(We--,0===We&&((()=>{w(),Ct.forEach(ze=>ze()),en.forEach(ze=>ze());const S=se?1:0,$=Be,fe=ie,Ae=ke;Xe.forEach(ze=>{const Fe=ze.classList;$.forEach(Oe=>Fe.add(Oe)),fe.forEach(Oe=>Fe.remove(Oe));for(const Oe in Ae)Ae.hasOwnProperty(Oe)&&R(ze,Oe,Ae[Oe])}),N=void 0,C=void 0,k=void 0,Wt.forEach(ze=>ze.c(S,gt)),at.forEach(ze=>ze.c(S,gt)),at.length=0,Ye=!0,se&&(ae=!0),se=!0})(),_e&&_e.animationFinish()))},rn=(S=!0)=>{dn();const $=(W=>(W.forEach(pe=>{for(const be in pe)if(pe.hasOwnProperty(be)){const Ve=pe[be];if("easing"===be)pe["animation-timing-function"]=Ve,delete pe[be];else{const Me=te(be);Me!==be&&(pe[Me]=Ve,delete pe[be])}}}),W))(we);Xe.forEach(fe=>{if($.length>0){const Ae=((W=[])=>W.map(pe=>{const be=pe.offset,Ve=[];for(const Me in pe)pe.hasOwnProperty(Me)&&"offset"!==Me&&Ve.push(`${Me}: ${pe[Me]};`);return`${100*be}% { ${Ve.join(" ")} }`}).join(" "))($);qe=void 0!==W?W:(W=>{let pe=Z.indexOf(W);return pe<0&&(pe=Z.push(W)-1),`ion-animation-${pe}`})(Ae);const ze=((W,pe,be)=>{var Ve;const Me=(W=>{const pe=void 0!==W.getRootNode?W.getRootNode():W;return pe.head||pe})(be),Le=P(be),Pe=Me.querySelector("#"+W);if(Pe)return Pe;const we=(null!==(Ve=be.ownerDocument)&&void 0!==Ve?Ve:document).createElement("style");return we.id=W,we.textContent=`@${Le}keyframes ${W} { ${pe} } @${Le}keyframes ${W}-alt { ${pe} }`,Me.appendChild(we),we})(qe,Ae,fe);Lt.push(ze),R(fe,"animation-duration",`${mn()}ms`),R(fe,"animation-timing-function",Cn()),R(fe,"animation-delay",`${Ze()}ms`),R(fe,"animation-fill-mode",Fn()),R(fe,"animation-direction",gn());const Fe=tn()===1/0?"infinite":tn().toString();R(fe,"animation-iteration-count",Fe),R(fe,"animation-play-state","paused"),S&&R(fe,"animation-name",`${ze.id}-alt`),(0,r.r)(()=>{R(fe,"animation-name",ze.id||null)})}})},Nn=(S=!0)=>{(()=>{Yt.forEach(Ae=>Ae()),Zt.forEach(Ae=>Ae());const S=j,$=X,fe=Te;Xe.forEach(Ae=>{const ze=Ae.classList;S.forEach(Fe=>ze.add(Fe)),$.forEach(Fe=>ze.remove(Fe));for(const Fe in fe)fe.hasOwnProperty(Fe)&&R(Ae,Fe,fe[Fe])})})(),we.length>0&&(On?(Xe.forEach(S=>{const $=S.animate(we,{id:At,delay:Ze(),duration:mn(),easing:Cn(),iterations:tn(),fill:Fn(),direction:gn()});$.pause(),Xt.push($)}),Xt.length>0&&(Xt[0].onfinish=()=>{Ln()})):rn(S)),Ce=!0},En=S=>{if(S=Math.min(Math.max(S,0),.9999),On)Xt.forEach($=>{$.currentTime=$.effect.getComputedTiming().delay+mn()*S,$.pause()});else{const $=`-${mn()*S}ms`;Xe.forEach(fe=>{we.length>0&&(R(fe,"animation-delay",$),R(fe,"animation-play-state","paused"))})}},Bn=S=>{Xt.forEach($=>{$.effect.updateTiming({delay:Ze(),duration:mn(),easing:Cn(),iterations:tn(),fill:Fn(),direction:gn()})}),void 0!==S&&En(S)},gr=(S=!0,$)=>{(0,r.r)(()=>{Xe.forEach(fe=>{R(fe,"animation-name",qe||null),R(fe,"animation-duration",`${mn()}ms`),R(fe,"animation-timing-function",Cn()),R(fe,"animation-delay",void 0!==$?`-${$*mn()}ms`:`${Ze()}ms`),R(fe,"animation-fill-mode",Fn()||null),R(fe,"animation-direction",gn()||null);const Ae=tn()===1/0?"infinite":tn().toString();R(fe,"animation-iteration-count",Ae),S&&R(fe,"animation-name",`${qe}-alt`),(0,r.r)(()=>{R(fe,"animation-name",qe||null)})})})},vn=(S=!1,$=!0,fe)=>(S&&ut.forEach(Ae=>{Ae.update(S,$,fe)}),On?Bn(fe):gr($,fe),gt),Mt=()=>{Ce&&(On?Xt.forEach(S=>{S.pause()}):Xe.forEach(S=>{R(S,"animation-play-state","paused")}),dt=!0)},ge=()=>{z=void 0,Ln()},w=()=>{z&&clearTimeout(z)},Ie=S=>new Promise($=>{S?.sync&&(ve=!0,Xn(()=>ve=!1,{oneTimeCallback:!0})),Ce||Nn(),ae&&(On?(En(0),Bn()):gr(),ae=!1),Ye&&(We=ut.length+1,Ye=!1);const fe=()=>{ln(Ae,at),$()},Ae=()=>{ln(fe,Je),$()};Xn(Ae,{oneTimeCallback:!0}),((S,$)=>{Je.push({c:S,o:{oneTimeCallback:!0}})})(fe),ut.forEach(ze=>{ze.play()}),On?(Xt.forEach(S=>{S.play()}),(0===we.length||0===Xe.length)&&Ln()):(()=>{if(w(),(0,r.r)(()=>{Xe.forEach(S=>{we.length>0&&R(S,"animation-play-state","running")})}),0===we.length||0===Xe.length)Ln();else{const S=Ze()||0,$=mn()||0,fe=tn()||1;isFinite(fe)&&(z=setTimeout(ge,S+$*fe+100)),((W,pe)=>{let be;const Ve={passive:!0},Le=Pe=>{W===Pe.target&&(be&&be(),w(),(0,r.r)(()=>{Xe.forEach(S=>{Y(S,"animation-duration"),Y(S,"animation-delay"),Y(S,"animation-play-state")}),(0,r.r)(Ln)}))};W&&(W.addEventListener("webkitAnimationEnd",Le,Ve),W.addEventListener("animationend",Le,Ve),be=()=>{W.removeEventListener("webkitAnimationEnd",Le,Ve),W.removeEventListener("animationend",Le,Ve)})})(Xe[0])}})(),dt=!1}),tt=(S,$)=>{const fe=we[0];return void 0===fe||void 0!==fe.offset&&0!==fe.offset?we=[{offset:0,[S]:$},...we]:fe[S]=$,gt};return gt={parentAnimation:_e,elements:Xe,childAnimations:ut,id:At,animationFinish:Ln,from:tt,to:(S,$)=>{const fe=we[we.length-1];return void 0===fe||void 0!==fe.offset&&1!==fe.offset?we=[...we,{offset:1,[S]:$}]:fe[S]=$,gt},fromTo:(S,$,fe)=>tt(S,$).to(S,fe),parent:S=>(_e=S,gt),play:Ie,pause:()=>(ut.forEach(S=>{S.pause()}),Mt(),gt),stop:()=>{ut.forEach(S=>{S.stop()}),Ce&&(ar(),Ce=!1),st=!1,ve=!1,Ye=!0,C=void 0,N=void 0,k=void 0,We=0,ae=!1,se=!0,dt=!1,Je.forEach(S=>S.c(0,gt)),Je.length=0},destroy:S=>(ut.forEach($=>{$.destroy(S)}),(S=>{ar(),S&&dn()})(S),Xe.length=0,ut.length=0,we.length=0,Wt.length=0,at.length=0,Ce=!1,Ye=!0,gt),keyframes:S=>{const $=we!==S;return we=S,$&&(S=>{On?_n().forEach($=>{const fe=$.effect;if(fe.setKeyframes)fe.setKeyframes(S);else{const Ae=new KeyframeEffect(fe.target,S,fe.getTiming());$.effect=Ae}}):rn()})(we),gt},addAnimation:S=>{if(null!=S)if(Array.isArray(S))for(const $ of S)$.parent(gt),ut.push($);else S.parent(gt),ut.push(S);return gt},addElement:S=>{if(null!=S)if(1===S.nodeType)Xe.push(S);else if(S.length>=0)for(let $=0;$(Le=S,vn(!0),gt),direction:S=>(Pe=S,vn(!0),gt),iterations:S=>(Me=S,vn(!0),gt),duration:S=>(!On&&0===S&&(S=1),be=S,vn(!0),gt),easing:S=>(Ve=S,vn(!0),gt),delay:S=>(pe=S,vn(!0),gt),getWebAnimations:_n,getKeyframes:()=>we,getFill:Fn,getDirection:gn,getDelay:Ze,getIterations:tn,getEasing:Cn,getDuration:mn,afterAddRead:S=>(Ct.push(S),gt),afterAddWrite:S=>(en.push(S),gt),afterClearStyles:(S=[])=>{for(const $ of S)ke[$]="";return gt},afterStyles:(S={})=>(ke=S,gt),afterRemoveClass:S=>(ie=re(ie,S),gt),afterAddClass:S=>(Be=re(Be,S),gt),beforeAddRead:S=>(Yt.push(S),gt),beforeAddWrite:S=>(Zt.push(S),gt),beforeClearStyles:(S=[])=>{for(const $ of S)Te[$]="";return gt},beforeStyles:(S={})=>(Te=S,gt),beforeRemoveClass:S=>(X=re(X,S),gt),beforeAddClass:S=>(j=re(j,S),gt),onFinish:Xn,isRunning:()=>0!==We&&!dt,progressStart:(S=!1,$)=>(ut.forEach(fe=>{fe.progressStart(S,$)}),Mt(),st=S,Ce||Nn(),vn(!1,!0,$),gt),progressStep:S=>(ut.forEach($=>{$.progressStep(S)}),En(S),gt),progressEnd:(S,$,fe)=>(st=!1,ut.forEach(Ae=>{Ae.progressEnd(S,$,fe)}),void 0!==fe&&(N=fe),ae=!1,se=!0,0===S?(C="reverse"===gn()?"normal":"reverse","reverse"===C&&(se=!1),On?(vn(),En(1-$)):(k=(1-$)*mn()*-1,vn(!1,!1))):1===S&&(On?(vn(),En($)):(k=$*mn()*-1,vn(!1,!1))),void 0!==S&&!_e&&Ie(),gt)}}},7036:(pt,Re,g)=>{"use strict";g.d(Re,{E:()=>he,a:()=>o,s:()=>Y});const o=Z=>{try{if(Z instanceof R)return Z.value;if(!V()||"string"!=typeof Z||""===Z)return Z;if(Z.includes("onload="))return"";const oe=document.createDocumentFragment(),ye=document.createElement("div");oe.appendChild(ye),ye.innerHTML=Z,P.forEach(W=>{const pe=oe.querySelectorAll(W);for(let be=pe.length-1;be>=0;be--){const Ve=pe[be];Ve.parentNode?Ve.parentNode.removeChild(Ve):oe.removeChild(Ve);const Me=B(Ve);for(let Le=0;Le{if(Z.nodeType&&1!==Z.nodeType)return;if(typeof NamedNodeMap<"u"&&!(Z.attributes instanceof NamedNodeMap))return void Z.remove();for(let ye=Z.attributes.length-1;ye>=0;ye--){const de=Z.attributes.item(ye),re=de.name;if(!te.includes(re.toLowerCase())){Z.removeAttribute(re);continue}const ce=de.value,W=Z[re];(null!=ce&&ce.toLowerCase().includes("javascript:")||null!=W&&W.toLowerCase().includes("javascript:"))&&Z.removeAttribute(re)}const oe=B(Z);for(let ye=0;yenull!=Z.children?Z.children:Z.childNodes,V=()=>{var Z;const ye=null===(Z=window?.Ionic)||void 0===Z?void 0:Z.config;return!ye||(ye.get?ye.get("sanitizerEnabled",!0):!0===ye.sanitizerEnabled||void 0===ye.sanitizerEnabled)},te=["class","id","href","src","name","slot"],P=["script","style","iframe","meta","link","object","embed"];class R{constructor(oe){this.value=oe}}const Y=Z=>{const oe=window,ye=oe.Ionic;if(!ye||!ye.config||"Object"===ye.config.constructor.name)return oe.Ionic=oe.Ionic||{},oe.Ionic.config=Object.assign(Object.assign({},oe.Ionic.config),Z),oe.Ionic.config},he=!1},7869:(pt,Re,g)=>{"use strict";g.d(Re,{C:()=>te,a:()=>B,d:()=>V});var o=g(5861),r=g(2961);const B=function(){var P=(0,o.Z)(function*(R,Y,ne,he,Z,oe){var ye;if(R)return R.attachViewToDom(Y,ne,Z,he);if(!(oe||"string"==typeof ne||ne instanceof HTMLElement))throw new Error("framework delegate is missing");const de="string"==typeof ne?null===(ye=Y.ownerDocument)||void 0===ye?void 0:ye.createElement(ne):ne;return he&&he.forEach(re=>de.classList.add(re)),Z&&Object.assign(de,Z),Y.appendChild(de),yield new Promise(re=>(0,r.c)(de,re)),de});return function(Y,ne,he,Z,oe,ye){return P.apply(this,arguments)}}(),V=(P,R)=>{if(R){if(P)return P.removeViewFromDom(R.parentElement,R);R.remove()}return Promise.resolve()},te=()=>{let P,R;return{attachViewToDom:function(){var he=(0,o.Z)(function*(Z,oe,ye={},de=[]){var re,ce;let W;if(P=Z,oe){const be="string"==typeof oe?null===(re=P.ownerDocument)||void 0===re?void 0:re.createElement(oe):oe;de.forEach(Ve=>be.classList.add(Ve)),Object.assign(be,ye),P.appendChild(be),W=be,yield new Promise(Ve=>(0,r.c)(be,Ve))}else if(P.children.length>0&&("ION-MODAL"===P.tagName||"ION-POPOVER"===P.tagName)&&!(W=P.children[0]).classList.contains("ion-delegate-host")){const Ve=null===(ce=P.ownerDocument)||void 0===ce?void 0:ce.createElement("div");Ve.classList.add("ion-delegate-host"),de.forEach(Me=>Ve.classList.add(Me)),Ve.append(...P.children),P.appendChild(Ve),W=Ve}const pe=document.querySelector("ion-app")||document.body;return R=document.createComment("ionic teleport"),P.parentNode.insertBefore(R,P),pe.appendChild(P),W??P});return function(oe,ye){return he.apply(this,arguments)}}(),removeViewFromDom:()=>(P&&R&&(R.parentNode.insertBefore(P,R),R.remove()),Promise.resolve())}}},2889:(pt,Re,g)=>{"use strict";g.d(Re,{G:()=>te});class r{constructor(R,Y,ne,he,Z){this.id=Y,this.name=ne,this.disableScroll=Z,this.priority=1e6*he+Y,this.ctrl=R}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const R=this.ctrl.capture(this.name,this.id,this.priority);return R&&this.disableScroll&&this.ctrl.disableScroll(this.id),R}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class B{constructor(R,Y,ne,he){this.id=Y,this.disable=ne,this.disableScroll=he,this.ctrl=R}block(){if(this.ctrl){if(this.disable)for(const R of this.disable)this.ctrl.disableGesture(R,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const R of this.disable)this.ctrl.enableGesture(R,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const V="backdrop-no-scroll",te=new class o{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(R){var Y;return new r(this,this.newID(),R.name,null!==(Y=R.priority)&&void 0!==Y?Y:0,!!R.disableScroll)}createBlocker(R={}){return new B(this,this.newID(),R.disable,!!R.disableScroll)}start(R,Y,ne){return this.canStart(R)?(this.requestedStart.set(Y,ne),!0):(this.requestedStart.delete(Y),!1)}capture(R,Y,ne){if(!this.start(R,Y,ne))return!1;const he=this.requestedStart;let Z=-1e4;if(he.forEach(oe=>{Z=Math.max(Z,oe)}),Z===ne){this.capturedId=Y,he.clear();const oe=new CustomEvent("ionGestureCaptured",{detail:{gestureName:R}});return document.dispatchEvent(oe),!0}return he.delete(Y),!1}release(R){this.requestedStart.delete(R),this.capturedId===R&&(this.capturedId=void 0)}disableGesture(R,Y){let ne=this.disabledGestures.get(R);void 0===ne&&(ne=new Set,this.disabledGestures.set(R,ne)),ne.add(Y)}enableGesture(R,Y){const ne=this.disabledGestures.get(R);void 0!==ne&&ne.delete(Y)}disableScroll(R){this.disabledScroll.add(R),1===this.disabledScroll.size&&document.body.classList.add(V)}enableScroll(R){this.disabledScroll.delete(R),0===this.disabledScroll.size&&document.body.classList.remove(V)}canStart(R){return!(void 0!==this.capturedId||this.isDisabled(R))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(R){const Y=this.disabledGestures.get(R);return!!(Y&&Y.size>0)}newID(){return this.gestureId++,this.gestureId}}},8261:(pt,Re,g)=>{"use strict";g.r(Re),g.d(Re,{MENU_BACK_BUTTON_PRIORITY:()=>te,OVERLAY_BACK_BUTTON_PRIORITY:()=>V,blockHardwareBackButton:()=>r,startHardwareBackButton:()=>B});var o=g(5861);const r=()=>{document.addEventListener("backbutton",()=>{})},B=()=>{const P=document;let R=!1;P.addEventListener("backbutton",()=>{if(R)return;let Y=0,ne=[];const he=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(ye,de){ne.push({priority:ye,handler:de,id:Y++})}}});P.dispatchEvent(he);const Z=function(){var ye=(0,o.Z)(function*(de){try{if(de?.handler){const re=de.handler(oe);null!=re&&(yield re)}}catch(re){console.error(re)}});return function(re){return ye.apply(this,arguments)}}(),oe=()=>{if(ne.length>0){let ye={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};ne.forEach(de=>{de.priority>=ye.priority&&(ye=de)}),R=!0,ne=ne.filter(de=>de.id!==ye.id),Z(ye).then(()=>R=!1)}};oe()})},V=100,te=99},2961:(pt,Re,g)=>{"use strict";g.d(Re,{a:()=>Y,b:()=>ne,c:()=>B,d:()=>ce,e:()=>re,f:()=>de,g:()=>he,h:()=>ye,i:()=>R,j:()=>Le,k:()=>te,l:()=>W,m:()=>V,n:()=>oe,o:()=>pe,p:()=>Me,q:()=>Pe,r:()=>Z,s:()=>we,t:()=>o,u:()=>be,v:()=>Ve});const o=(j,X=0)=>new Promise(Ce=>{r(j,X,Ce)}),r=(j,X=0,Ce)=>{let _e,Te;const Be={passive:!0},ke=()=>{_e&&_e()},We=st=>{(void 0===st||j===st.target)&&(ke(),Ce(st))};return j&&(j.addEventListener("webkitTransitionEnd",We,Be),j.addEventListener("transitionend",We,Be),Te=setTimeout(We,X+500),_e=()=>{Te&&(clearTimeout(Te),Te=void 0),j.removeEventListener("webkitTransitionEnd",We,Be),j.removeEventListener("transitionend",We,Be)}),ke},B=(j,X)=>{j.componentOnReady?j.componentOnReady().then(Ce=>X(Ce)):Z(()=>X(j))},V=j=>void 0!==j.componentOnReady,te=(j,X=[])=>{const Ce={};return X.forEach(_e=>{j.hasAttribute(_e)&&(null!==j.getAttribute(_e)&&(Ce[_e]=j.getAttribute(_e)),j.removeAttribute(_e))}),Ce},P=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],R=(j,X)=>{let Ce=P;return X&&X.length>0&&(Ce=Ce.filter(_e=>!X.includes(_e))),te(j,Ce)},Y=(j,X,Ce,_e)=>{var Te;if(typeof window<"u"){const ie=null===(Te=window?.Ionic)||void 0===Te?void 0:Te.config;if(ie){const ke=ie.get("_ael");if(ke)return ke(j,X,Ce,_e);if(ie._ael)return ie._ael(j,X,Ce,_e)}}return j.addEventListener(X,Ce,_e)},ne=(j,X,Ce,_e)=>{var Te;if(typeof window<"u"){const ie=null===(Te=window?.Ionic)||void 0===Te?void 0:Te.config;if(ie){const ke=ie.get("_rel");if(ke)return ke(j,X,Ce,_e);if(ie._rel)return ie._rel(j,X,Ce,_e)}}return j.removeEventListener(X,Ce,_e)},he=(j,X=j)=>j.shadowRoot||X,Z=j=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(j):"function"==typeof requestAnimationFrame?requestAnimationFrame(j):setTimeout(j),oe=j=>!!j.shadowRoot&&!!j.attachShadow,ye=j=>{const X=j.closest("ion-item");return X?X.querySelector("ion-label"):null},de=j=>{if(j.focus(),j.classList.contains("ion-focusable")){const X=j.closest("ion-app");X&&X.setFocus([j])}},re=(j,X)=>{let Ce;const _e=j.getAttribute("aria-labelledby"),Te=j.id;let Be=null!==_e&&""!==_e.trim()?_e:X+"-lbl",ie=null!==_e&&""!==_e.trim()?document.getElementById(_e):ye(j);return ie?(null===_e&&(ie.id=Be),Ce=ie.textContent,ie.setAttribute("aria-hidden","true")):""!==Te.trim()&&(ie=document.querySelector(`label[for="${Te}"]`),ie&&(""!==ie.id?Be=ie.id:ie.id=Be=`${Te}-lbl`,Ce=ie.textContent)),{label:ie,labelId:Be,labelText:Ce}},ce=(j,X,Ce,_e,Te)=>{if(j||oe(X)){let Be=X.querySelector("input.aux-input");Be||(Be=X.ownerDocument.createElement("input"),Be.type="hidden",Be.classList.add("aux-input"),X.appendChild(Be)),Be.disabled=Te,Be.name=Ce,Be.value=_e||""}},W=(j,X,Ce)=>Math.max(j,Math.min(X,Ce)),pe=(j,X)=>{if(!j){const Ce="ASSERT: "+X;throw console.error(Ce),new Error(Ce)}},be=j=>j.timeStamp||Date.now(),Ve=j=>{if(j){const X=j.changedTouches;if(X&&X.length>0){const Ce=X[0];return{x:Ce.clientX,y:Ce.clientY}}if(void 0!==j.pageX)return{x:j.pageX,y:j.pageY}}return{x:0,y:0}},Me=j=>{const X="rtl"===document.dir;switch(j){case"start":return X;case"end":return!X;default:throw new Error(`"${j}" is not a valid value for [side]. Use "start" or "end" instead.`)}},Le=(j,X)=>{const Ce=j._original||j;return{_original:j,emit:Pe(Ce.emit.bind(Ce),X)}},Pe=(j,X=0)=>{let Ce;return(..._e)=>{clearTimeout(Ce),Ce=setTimeout(j,X,..._e)}},we=(j,X)=>{if(j??(j={}),X??(X={}),j===X)return!0;const Ce=Object.keys(j);if(Ce.length!==Object.keys(X).length)return!1;for(const _e of Ce)if(!(_e in X)||j[_e]!==X[_e])return!1;return!0}},8931:(pt,Re,g)=>{"use strict";g.d(Re,{m:()=>ye});var o=g(5861),r=g(2972),B=g(8261),V=g(8909),te=g(2961),P=g(4649),R=g(2876);const Y=de=>(0,R.c)().duration(de?400:300),ne=de=>{let re,ce;const W=de.width+8,pe=(0,R.c)(),be=(0,R.c)();de.isEndSide?(re=W+"px",ce="0px"):(re=-W+"px",ce="0px"),pe.addElement(de.menuInnerEl).fromTo("transform",`translateX(${re})`,`translateX(${ce})`);const Me="ios"===(0,P.b)(de),Le=Me?.2:.25;return be.addElement(de.backdropEl).fromTo("opacity",.01,Le),Y(Me).addAnimation([pe,be])},he=de=>{let re,ce;const W=(0,P.b)(de),pe=de.width;de.isEndSide?(re=-pe+"px",ce=pe+"px"):(re=pe+"px",ce=-pe+"px");const be=(0,R.c)().addElement(de.menuInnerEl).fromTo("transform",`translateX(${ce})`,"translateX(0px)"),Ve=(0,R.c)().addElement(de.contentEl).fromTo("transform","translateX(0px)",`translateX(${re})`),Me=(0,R.c)().addElement(de.backdropEl).fromTo("opacity",.01,.32);return Y("ios"===W).addAnimation([be,Ve,Me])},Z=de=>{const re=(0,P.b)(de),ce=de.width*(de.isEndSide?-1:1)+"px",W=(0,R.c)().addElement(de.contentEl).fromTo("transform","translateX(0px)",`translateX(${ce})`);return Y("ios"===re).addAnimation(W)},ye=(()=>{const de=new Map,re=[],ce=function(){var C=(0,o.Z)(function*(N){const k=yield Pe(N,!0);return!!k&&k.open()});return function(k){return C.apply(this,arguments)}}(),W=function(){var C=(0,o.Z)(function*(N){const k=yield void 0!==N?Pe(N,!0):we();return void 0!==k&&k.close()});return function(k){return C.apply(this,arguments)}}(),pe=function(){var C=(0,o.Z)(function*(N){const k=yield Pe(N,!0);return!!k&&k.toggle()});return function(k){return C.apply(this,arguments)}}(),be=function(){var C=(0,o.Z)(function*(N,k){const se=yield Pe(k);return se&&(se.disabled=!N),se});return function(k,se){return C.apply(this,arguments)}}(),Ve=function(){var C=(0,o.Z)(function*(N,k){const se=yield Pe(k);return se&&(se.swipeGesture=N),se});return function(k,se){return C.apply(this,arguments)}}(),Me=function(){var C=(0,o.Z)(function*(N){if(null!=N){const k=yield Pe(N);return void 0!==k&&k.isOpen()}return void 0!==(yield we())});return function(k){return C.apply(this,arguments)}}(),Le=function(){var C=(0,o.Z)(function*(N){const k=yield Pe(N);return!!k&&!k.disabled});return function(k){return C.apply(this,arguments)}}(),Pe=function(){var C=(0,o.Z)(function*(N,k=!1){if(yield z(),"start"===N||"end"===N){const ae=re.filter(qe=>qe.side===N&&!qe.disabled);if(ae.length>=1)return ae.length>1&&k&&(0,V.p)(`menuController queried for a menu on the "${N}" side, but ${ae.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,ae.map(qe=>qe.el)),ae[0].el;const Ye=re.filter(qe=>qe.side===N);if(Ye.length>=1)return Ye.length>1&&k&&(0,V.p)(`menuController queried for a menu on the "${N}" side, but ${Ye.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,Ye.map(qe=>qe.el)),Ye[0].el}else if(null!=N)return ve(ae=>ae.menuId===N);return ve(ae=>!ae.disabled)||(re.length>0?re[0].el:void 0)});return function(k){return C.apply(this,arguments)}}(),we=function(){var C=(0,o.Z)(function*(){return yield z(),ke()});return function(){return C.apply(this,arguments)}}(),j=function(){var C=(0,o.Z)(function*(){return yield z(),We()});return function(){return C.apply(this,arguments)}}(),X=function(){var C=(0,o.Z)(function*(){return yield z(),st()});return function(){return C.apply(this,arguments)}}(),Ce=(C,N)=>{de.set(C,N)},Be=function(){var C=(0,o.Z)(function*(N,k,se){if(st())return!1;if(k){const ae=yield we();ae&&N.el!==ae&&(yield ae.setOpen(!1,!1))}return N._setOpen(k,se)});return function(k,se,ae){return C.apply(this,arguments)}}(),ke=()=>ve(C=>C._isOpen),We=()=>re.map(C=>C.el),st=()=>re.some(C=>C.isAnimating),ve=C=>{const N=re.find(C);if(void 0!==N)return N.el},z=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(C=>new Promise(N=>(0,te.c)(C,N))));return Ce("reveal",Z),Ce("push",he),Ce("overlay",ne),null==r.d||r.d.addEventListener("ionBackButton",C=>{const N=ke();N&&C.detail.register(B.MENU_BACK_BUTTON_PRIORITY,()=>N.close())}),{registerAnimation:Ce,get:Pe,getMenus:j,getOpen:we,isEnabled:Le,swipeGesture:Ve,isAnimating:X,isOpen:Me,enable:be,toggle:pe,close:W,open:ce,_getOpenSync:ke,_createAnimation:(C,N)=>{const k=de.get(C);if(!k)throw new Error("animation not registered");return k(N)},_register:C=>{re.indexOf(C)<0&&re.push(C)},_unregister:C=>{const N=re.indexOf(C);N>-1&&re.splice(N,1)},_setOpen:Be}})()},5067:(pt,Re,g)=>{"use strict";g.r(Re),g.d(Re,{GESTURE_CONTROLLER:()=>o.G,createGesture:()=>ne});var o=g(2889);const r=(ye,de,re,ce)=>{const W=B(ye)?{capture:!!ce.capture,passive:!!ce.passive}:!!ce.capture;let pe,be;return ye.__zone_symbol__addEventListener?(pe="__zone_symbol__addEventListener",be="__zone_symbol__removeEventListener"):(pe="addEventListener",be="removeEventListener"),ye[pe](de,re,W),()=>{ye[be](de,re,W)}},B=ye=>{if(void 0===V)try{const de=Object.defineProperty({},"passive",{get:()=>{V=!0}});ye.addEventListener("optsTest",()=>{},de)}catch{V=!1}return!!V};let V;const R=ye=>ye instanceof Document?ye:ye.ownerDocument,ne=ye=>{let de=!1,re=!1,ce=!0,W=!1;const pe=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},ye),be=pe.canStart,Ve=pe.onWillStart,Me=pe.onStart,Le=pe.onEnd,Pe=pe.notCaptured,we=pe.onMove,j=pe.threshold,X=pe.passive,Ce=pe.blurOnStart,_e={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},Te=((ye,de,re)=>{const ce=re*(Math.PI/180),W="x"===ye,pe=Math.cos(ce),be=de*de;let Ve=0,Me=0,Le=!1,Pe=0;return{start(we,j){Ve=we,Me=j,Pe=0,Le=!0},detect(we,j){if(!Le)return!1;const X=we-Ve,Ce=j-Me,_e=X*X+Ce*Ce;if(_epe?1:Be<-pe?-1:0,Le=!1,!0},isGesture:()=>0!==Pe,getDirection:()=>Pe}})(pe.direction,pe.threshold,pe.maxAngle),Be=o.G.createGesture({name:ye.gestureName,priority:ye.gesturePriority,disableScroll:ye.disableScroll}),We=()=>{de&&(W=!1,we&&we(_e))},st=()=>!!Be.capture()&&(de=!0,ce=!1,_e.startX=_e.currentX,_e.startY=_e.currentY,_e.startTime=_e.currentTime,Ve?Ve(_e).then(z):z(),!0),z=()=>{Ce&&(()=>{if(typeof document<"u"){const ae=document.activeElement;ae?.blur&&ae.blur()}})(),Me&&Me(_e),ce=!0},C=()=>{de=!1,re=!1,W=!1,ce=!0,Be.release()},N=ae=>{const Ye=de,qe=ce;if(C(),qe){if(he(_e,ae),Ye)return void(Le&&Le(_e));Pe&&Pe(_e)}},k=((ye,de,re,ce,W)=>{let pe,be,Ve,Me,Le,Pe,we,j=0;const X=ve=>{j=Date.now()+2e3,de(ve)&&(!be&&re&&(be=r(ye,"touchmove",re,W)),Ve||(Ve=r(ve.target,"touchend",_e,W)),Me||(Me=r(ve.target,"touchcancel",_e,W)))},Ce=ve=>{j>Date.now()||de(ve)&&(!Pe&&re&&(Pe=r(R(ye),"mousemove",re,W)),we||(we=r(R(ye),"mouseup",Te,W)))},_e=ve=>{Be(),ce&&ce(ve)},Te=ve=>{ie(),ce&&ce(ve)},Be=()=>{be&&be(),Ve&&Ve(),Me&&Me(),be=Ve=Me=void 0},ie=()=>{Pe&&Pe(),we&&we(),Pe=we=void 0},ke=()=>{Be(),ie()},We=(ve=!0)=>{ve?(pe||(pe=r(ye,"touchstart",X,W)),Le||(Le=r(ye,"mousedown",Ce,W))):(pe&&pe(),Le&&Le(),pe=Le=void 0,ke())};return{enable:We,stop:ke,destroy:()=>{We(!1),ce=re=de=void 0}}})(pe.el,ae=>{const Ye=oe(ae);return!(re||!ce||(Z(ae,_e),_e.startX=_e.currentX,_e.startY=_e.currentY,_e.startTime=_e.currentTime=Ye,_e.velocityX=_e.velocityY=_e.deltaX=_e.deltaY=0,_e.event=ae,be&&!1===be(_e))||(Be.release(),!Be.start()))&&(re=!0,0===j?st():(Te.start(_e.startX,_e.startY),!0))},ae=>{de?!W&&ce&&(W=!0,he(_e,ae),requestAnimationFrame(We)):(he(_e,ae),Te.detect(_e.currentX,_e.currentY)&&(!Te.isGesture()||!st())&&se())},N,{capture:!1,passive:X}),se=()=>{C(),k.stop(),Pe&&Pe(_e)};return{enable(ae=!0){ae||(de&&N(void 0),C()),k.enable(ae)},destroy(){Be.destroy(),k.destroy()}}},he=(ye,de)=>{if(!de)return;const re=ye.currentX,ce=ye.currentY,W=ye.currentTime;Z(de,ye);const pe=ye.currentX,be=ye.currentY,Me=(ye.currentTime=oe(de))-W;if(Me>0&&Me<100){const Pe=(be-ce)/Me;ye.velocityX=(pe-re)/Me*.7+.3*ye.velocityX,ye.velocityY=.7*Pe+.3*ye.velocityY}ye.deltaX=pe-ye.startX,ye.deltaY=be-ye.startY,ye.event=de},Z=(ye,de)=>{let re=0,ce=0;if(ye){const W=ye.changedTouches;if(W&&W.length>0){const pe=W[0];re=pe.clientX,ce=pe.clientY}else void 0!==ye.pageX&&(re=ye.pageX,ce=ye.pageY)}de.currentX=re,de.currentY=ce},oe=ye=>ye.timeStamp||Date.now()},9528:(pt,Re,g)=>{"use strict";g.d(Re,{b:()=>P,c:()=>R,d:()=>Y,e:()=>j,g:()=>_e,l:()=>Pe,s:()=>X,t:()=>Z,w:()=>we});var o=g(5861),r=g(408),B=g(2961);const P="ionViewWillLeave",R="ionViewDidLeave",Y="ionViewWillUnload",Z=Te=>new Promise((Be,ie)=>{(0,r.w)(()=>{oe(Te),ye(Te).then(ke=>{ke.animation&&ke.animation.destroy(),de(Te),Be(ke)},ke=>{de(Te),ie(ke)})})}),oe=Te=>{const Be=Te.enteringEl,ie=Te.leavingEl;Ce(Be,ie,Te.direction),Te.showGoBack?Be.classList.add("can-go-back"):Be.classList.remove("can-go-back"),X(Be,!1),Be.style.setProperty("pointer-events","none"),ie&&(X(ie,!1),ie.style.setProperty("pointer-events","none"))},ye=function(){var Te=(0,o.Z)(function*(Be){const ie=yield re(Be);return ie&&r.B.isBrowser?ce(ie,Be):W(Be)});return function(ie){return Te.apply(this,arguments)}}(),de=Te=>{const Be=Te.enteringEl,ie=Te.leavingEl;Be.classList.remove("ion-page-invisible"),Be.style.removeProperty("pointer-events"),void 0!==ie&&(ie.classList.remove("ion-page-invisible"),ie.style.removeProperty("pointer-events"))},re=function(){var Te=(0,o.Z)(function*(Be){return Be.leavingEl&&Be.animated&&0!==Be.duration?Be.animationBuilder?Be.animationBuilder:"ios"===Be.mode?(yield Promise.resolve().then(g.bind(g,1838))).iosTransitionAnimation:(yield Promise.resolve().then(g.bind(g,6705))).mdTransitionAnimation:void 0});return function(ie){return Te.apply(this,arguments)}}(),ce=function(){var Te=(0,o.Z)(function*(Be,ie){yield pe(ie,!0);const ke=Be(ie.baseEl,ie);Me(ie.enteringEl,ie.leavingEl);const We=yield Ve(ke,ie);return ie.progressCallback&&ie.progressCallback(void 0),We&&Le(ie.enteringEl,ie.leavingEl),{hasCompleted:We,animation:ke}});return function(ie,ke){return Te.apply(this,arguments)}}(),W=function(){var Te=(0,o.Z)(function*(Be){const ie=Be.enteringEl,ke=Be.leavingEl;return yield pe(Be,!1),Me(ie,ke),Le(ie,ke),{hasCompleted:!0}});return function(ie){return Te.apply(this,arguments)}}(),pe=function(){var Te=(0,o.Z)(function*(Be,ie){(void 0!==Be.deepWait?Be.deepWait:ie)&&(yield Promise.all([j(Be.enteringEl),j(Be.leavingEl)])),yield be(Be.viewIsReady,Be.enteringEl)});return function(ie,ke){return Te.apply(this,arguments)}}(),be=function(){var Te=(0,o.Z)(function*(Be,ie){Be&&(yield Be(ie))});return function(ie,ke){return Te.apply(this,arguments)}}(),Ve=(Te,Be)=>{const ie=Be.progressCallback,ke=new Promise(We=>{Te.onFinish(st=>We(1===st))});return ie?(Te.progressStart(!0),ie(Te)):Te.play(),ke},Me=(Te,Be)=>{Pe(Be,P),Pe(Te,"ionViewWillEnter")},Le=(Te,Be)=>{Pe(Te,"ionViewDidEnter"),Pe(Be,R)},Pe=(Te,Be)=>{if(Te){const ie=new CustomEvent(Be,{bubbles:!1,cancelable:!1});Te.dispatchEvent(ie)}},we=()=>new Promise(Te=>(0,B.r)(()=>(0,B.r)(()=>Te()))),j=function(){var Te=(0,o.Z)(function*(Be){const ie=Be;if(ie){if(null!=ie.componentOnReady){if(null!=(yield ie.componentOnReady()))return}else if(null!=ie.__registerHost)return void(yield new Promise(We=>(0,B.r)(We)));yield Promise.all(Array.from(ie.children).map(j))}});return function(ie){return Te.apply(this,arguments)}}(),X=(Te,Be)=>{Be?(Te.setAttribute("aria-hidden","true"),Te.classList.add("ion-page-hidden")):(Te.hidden=!1,Te.removeAttribute("aria-hidden"),Te.classList.remove("ion-page-hidden"))},Ce=(Te,Be,ie)=>{void 0!==Te&&(Te.style.zIndex="back"===ie?"99":"101"),void 0!==Be&&(Be.style.zIndex="100")},_e=Te=>Te.classList.contains("ion-page")?Te:Te.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||Te},8909:(pt,Re,g)=>{"use strict";g.d(Re,{a:()=>r,b:()=>B,p:()=>o});const o=(V,...te)=>console.warn(`[Ionic Warning]: ${V}`,...te),r=(V,...te)=>console.error(`[Ionic Error]: ${V}`,...te),B=(V,...te)=>console.error(`<${V.tagName.toLowerCase()}> must be used inside ${te.join(" or ")}.`)},2972:(pt,Re,g)=>{"use strict";g.d(Re,{d:()=>r,w:()=>o});const o=typeof window<"u"?window:void 0,r=typeof document<"u"?document:void 0},408:(pt,Re,g)=>{"use strict";g.d(Re,{B:()=>oe,H:()=>st,a:()=>xn,b:()=>Pn,c:()=>qe,d:()=>Wt,e:()=>lt,f:()=>At,g:()=>gt,h:()=>ke,i:()=>Fn,j:()=>ye,r:()=>rn,w:()=>bt});var o=g(5861);let V,te,P,R=!1,Y=!1,ne=!1,he=!1,Z=!1;const oe={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},ye=S=>{const $=new URL(S,Mt.$resourcesUrl$);return $.origin!==kn.location.origin?$.href:$.pathname},Ve="s-id",Me="sty-id",we="slot-fb{display:contents}slot-fb[hidden]{display:none}",j="http://www.w3.org/1999/xlink",X={},Be=S=>"object"==(S=typeof S)||"function"===S;function ie(S){var $,fe,Ae;return null!==(Ae=null===(fe=null===($=S.head)||void 0===$?void 0:$.querySelector('meta[name="csp-nonce"]'))||void 0===fe?void 0:fe.getAttribute("content"))&&void 0!==Ae?Ae:void 0}const ke=(S,$,...fe)=>{let Ae=null,ze=null,Fe=null,Oe=!1,et=!1;const vt=[],ft=Rt=>{for(let Ft=0;FtRt[Ft]).join(" "))}}if("function"==typeof S)return S(null===$?{}:$,vt,z);const mt=We(S,null);return mt.$attrs$=$,vt.length>0&&(mt.$children$=vt),mt.$key$=ze,mt.$name$=Fe,mt},We=(S,$)=>({$flags$:0,$tag$:S,$text$:$,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),st={},z={forEach:(S,$)=>S.map(C).forEach($),map:(S,$)=>S.map(C).map($).map(N)},C=S=>({vattrs:S.$attrs$,vchildren:S.$children$,vkey:S.$key$,vname:S.$name$,vtag:S.$tag$,vtext:S.$text$}),N=S=>{if("function"==typeof S.vtag){const fe=Object.assign({},S.vattrs);return S.vkey&&(fe.key=S.vkey),S.vname&&(fe.name=S.vname),ke(S.vtag,fe,...S.vchildren||[])}const $=We(S.vtag,S.vtext);return $.$attrs$=S.vattrs,$.$children$=S.vchildren,$.$key$=S.vkey,$.$name$=S.vname,$},se=(S,$,fe,Ae,ze,Fe,Oe)=>{let et,vt,ft,mt;if(1===Fe.nodeType){for(et=Fe.getAttribute("c-id"),et&&(vt=et.split("."),(vt[0]===Oe||"0"===vt[0])&&(ft={$flags$:0,$hostId$:vt[0],$nodeId$:vt[1],$depth$:vt[2],$index$:vt[3],$tag$:Fe.tagName.toLowerCase(),$elm$:Fe,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},$.push(ft),Fe.removeAttribute("c-id"),S.$children$||(S.$children$=[]),S.$children$[ft.$index$]=ft,S=ft,Ae&&"0"===ft.$depth$&&(Ae[ft.$index$]=ft.$elm$))),mt=Fe.childNodes.length-1;mt>=0;mt--)se(S,$,fe,Ae,ze,Fe.childNodes[mt],Oe);if(Fe.shadowRoot)for(mt=Fe.shadowRoot.childNodes.length-1;mt>=0;mt--)se(S,$,fe,Ae,ze,Fe.shadowRoot.childNodes[mt],Oe)}else if(8===Fe.nodeType)vt=Fe.nodeValue.split("."),(vt[1]===Oe||"0"===vt[1])&&(et=vt[0],ft={$flags$:0,$hostId$:vt[1],$nodeId$:vt[2],$depth$:vt[3],$index$:vt[4],$elm$:Fe,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===et?(ft.$elm$=Fe.nextSibling,ft.$elm$&&3===ft.$elm$.nodeType&&(ft.$text$=ft.$elm$.textContent,$.push(ft),Fe.remove(),S.$children$||(S.$children$=[]),S.$children$[ft.$index$]=ft,Ae&&"0"===ft.$depth$&&(Ae[ft.$index$]=ft.$elm$))):ft.$hostId$===Oe&&("s"===et?(ft.$tag$="slot",Fe["s-sn"]=vt[5]?ft.$name$=vt[5]:"",Fe["s-sr"]=!0,Ae&&(ft.$elm$=Et.createElement(ft.$tag$),ft.$name$&&ft.$elm$.setAttribute("name",ft.$name$),Fe.parentNode.insertBefore(ft.$elm$,Fe),Fe.remove(),"0"===ft.$depth$&&(Ae[ft.$index$]=ft.$elm$)),fe.push(ft),S.$children$||(S.$children$=[]),S.$children$[ft.$index$]=ft):"r"===et&&(Ae?Fe.remove():(ze["s-cr"]=Fe,Fe["s-cn"]=!0))));else if(S&&"style"===S.$tag$){const Rt=We(null,Fe.textContent);Rt.$elm$=Fe,Rt.$index$="0",S.$children$=[Rt]}},ae=(S,$)=>{if(1===S.nodeType){let fe=0;for(;feUn.push(S),gt=S=>Ln(S).$modeName$,At=S=>Ln(S).$hostElement$,Wt=(S,$,fe)=>{const Ae=At(S);return{emit:ze=>at(Ae,$,{bubbles:!!(4&fe),composed:!!(2&fe),cancelable:!!(1&fe),detail:ze})}},at=(S,$,fe)=>{const Ae=Mt.ce($,fe);return S.dispatchEvent(Ae),Ae},Je=new WeakMap,Xe=(S,$,fe)=>{let Ae=vn.get(S);I&&fe?(Ae=Ae||new CSSStyleSheet,"string"==typeof Ae?Ae=$:Ae.replaceSync($)):Ae=$,vn.set(S,Ae)},ut=(S,$,fe)=>{var Ae;const ze=Yt($,fe),Fe=vn.get(ze);if(S=11===S.nodeType?S:Et,Fe)if("string"==typeof Fe){let et,Oe=Je.get(S=S.head||S);if(Oe||Je.set(S,Oe=new Set),!Oe.has(ze)){if(S.host&&(et=S.querySelector(`[${Me}="${ze}"]`)))et.innerHTML=Fe;else{et=Et.createElement("style"),et.innerHTML=Fe;const vt=null!==(Ae=Mt.$nonce$)&&void 0!==Ae?Ae:ie(Et);null!=vt&&et.setAttribute("nonce",vt),S.insertBefore(et,S.querySelector("link"))}4&$.$flags$&&(et.innerHTML+=we),Oe&&Oe.add(ze)}}else S.adoptedStyleSheets.includes(Fe)||(S.adoptedStyleSheets=[...S.adoptedStyleSheets,Fe]);return ze},Yt=(S,$)=>"sc-"+($&&32&S.$flags$?S.$tagName$+"-"+$:S.$tagName$),Zt=S=>S.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Ct=(S,$,fe,Ae,ze,Fe)=>{if(fe!==Ae){let Oe=Nn(S,$),et=$.toLowerCase();if("class"===$){const vt=S.classList,ft=Xt(fe),mt=Xt(Ae);vt.remove(...ft.filter(Rt=>Rt&&!mt.includes(Rt))),vt.add(...mt.filter(Rt=>Rt&&!ft.includes(Rt)))}else if("style"===$){for(const vt in fe)(!Ae||null==Ae[vt])&&(vt.includes("-")?S.style.removeProperty(vt):S.style[vt]="");for(const vt in Ae)(!fe||Ae[vt]!==fe[vt])&&(vt.includes("-")?S.style.setProperty(vt,Ae[vt]):S.style[vt]=Ae[vt])}else if("key"!==$)if("ref"===$)Ae&&Ae(S);else if(Oe||"o"!==$[0]||"n"!==$[1]){const vt=Be(Ae);if((Oe||vt&&null!==Ae)&&!ze)try{if(S.tagName.includes("-"))S[$]=Ae;else{const mt=Ae??"";"list"===$?Oe=!1:(null==fe||S[$]!=mt)&&(S[$]=mt)}}catch{}let ft=!1;et!==(et=et.replace(/^xlink\:?/,""))&&($=et,ft=!0),null==Ae||!1===Ae?(!1!==Ae||""===S.getAttribute($))&&(ft?S.removeAttributeNS(j,$):S.removeAttribute($)):(!Oe||4&Fe||ze)&&!vt&&(Ae=!0===Ae?"":Ae,ft?S.setAttributeNS(j,$,Ae):S.setAttribute($,Ae))}else if($="-"===$[2]?$.slice(3):Nn(kn,et)?et.slice(2):et[2]+$.slice(3),fe||Ae){const vt=$.endsWith(Mn);$=$.replace(On,""),fe&&Mt.rel(S,$,fe,vt),Ae&&Mt.ael(S,$,Ae,vt)}}},en=/\s/,Xt=S=>S?S.split(en):[],Mn="Capture",On=new RegExp(Mn+"$"),sr=(S,$,fe,Ae)=>{const ze=11===$.$elm$.nodeType&&$.$elm$.host?$.$elm$.host:$.$elm$,Fe=S&&S.$attrs$||X,Oe=$.$attrs$||X;for(Ae in Fe)Ae in Oe||Ct(ze,Ae,Fe[Ae],void 0,fe,$.$flags$);for(Ae in Oe)Ct(ze,Ae,Fe[Ae],Oe[Ae],fe,$.$flags$)},_n=(S,$,fe,Ae)=>{var ze;const Fe=$.$children$[fe];let et,vt,ft,Oe=0;if(R||(ne=!0,"slot"===Fe.$tag$&&(V&&Ae.classList.add(V+"-s"),Fe.$flags$|=Fe.$children$?2:1)),null!==Fe.$text$)et=Fe.$elm$=Et.createTextNode(Fe.$text$);else if(1&Fe.$flags$)et=Fe.$elm$=Et.createTextNode("");else{if(he||(he="svg"===Fe.$tag$),et=Fe.$elm$=Et.createElementNS(he?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&Fe.$flags$?"slot-fb":Fe.$tag$),he&&"foreignObject"===Fe.$tag$&&(he=!1),sr(null,Fe,he),(S=>null!=S)(V)&&et["s-si"]!==V&&et.classList.add(et["s-si"]=V),Fe.$children$)for(Oe=0;Oe{var fe;Mt.$flags$|=1;const Ae=S.childNodes;for(let ze=Ae.length-1;ze>=0;ze--){const Fe=Ae[ze];Fe["s-hn"]!==P&&Fe["s-ol"]&&(Xn(Fe).insertBefore(Fe,pn(Fe)),Fe["s-ol"].remove(),Fe["s-ol"]=void 0,Fe["s-sh"]=void 0,1===Fe.nodeType&&Fe.setAttribute("slot",null!==(fe=Fe["s-sn"])&&void 0!==fe?fe:""),ne=!0),$&&bn(Fe,$)}Mt.$flags$&=-2},Nt=(S,$,fe,Ae,ze,Fe)=>{let et,Oe=S["s-cr"]&&S["s-cr"].parentNode||S;for(Oe.shadowRoot&&Oe.tagName===P&&(Oe=Oe.shadowRoot);ze<=Fe;++ze)Ae[ze]&&(et=_n(null,fe,ze,S),et&&(Ae[ze].$elm$=et,Oe.insertBefore(et,pn($))))},Dt=(S,$,fe)=>{for(let Ae=$;Ae<=fe;++Ae){const ze=S[Ae];if(ze){const Fe=ze.$elm$;dr(ze),Fe&&(Y=!0,Fe["s-ol"]?Fe["s-ol"].remove():bn(Fe,!0),Fe.remove())}}},ln=(S,$)=>S.$tag$===$.$tag$&&("slot"===S.$tag$?S.$name$===$.$name$:S.$key$===$.$key$),pn=S=>S&&S["s-ol"]||S,Xn=S=>(S["s-ol"]?S["s-ol"]:S).parentNode,An=(S,$)=>{const fe=$.$elm$=S.$elm$,Ae=S.$children$,ze=$.$children$,Fe=$.$tag$,Oe=$.$text$;let et;null===Oe?(he="svg"===Fe||"foreignObject"!==Fe&&he,"slot"===Fe||sr(S,$,he),null!==Ae&&null!==ze?((S,$,fe,Ae)=>{let hn,h,ze=0,Fe=0,Oe=0,et=0,vt=$.length-1,ft=$[0],mt=$[vt],Rt=Ae.length-1,Ft=Ae[0],on=Ae[Rt];for(;ze<=vt&&Fe<=Rt;)if(null==ft)ft=$[++ze];else if(null==mt)mt=$[--vt];else if(null==Ft)Ft=Ae[++Fe];else if(null==on)on=Ae[--Rt];else if(ln(ft,Ft))An(ft,Ft),ft=$[++ze],Ft=Ae[++Fe];else if(ln(mt,on))An(mt,on),mt=$[--vt],on=Ae[--Rt];else if(ln(ft,on))("slot"===ft.$tag$||"slot"===on.$tag$)&&bn(ft.$elm$.parentNode,!1),An(ft,on),S.insertBefore(ft.$elm$,mt.$elm$.nextSibling),ft=$[++ze],on=Ae[--Rt];else if(ln(mt,Ft))("slot"===ft.$tag$||"slot"===on.$tag$)&&bn(mt.$elm$.parentNode,!1),An(mt,Ft),S.insertBefore(mt.$elm$,ft.$elm$),mt=$[--vt],Ft=Ae[++Fe];else{for(Oe=-1,et=ze;et<=vt;++et)if($[et]&&null!==$[et].$key$&&$[et].$key$===Ft.$key$){Oe=et;break}Oe>=0?(h=$[Oe],h.$tag$!==Ft.$tag$?hn=_n($&&$[Fe],fe,Oe,S):(An(h,Ft),$[Oe]=void 0,hn=h.$elm$),Ft=Ae[++Fe]):(hn=_n($&&$[Fe],fe,Fe,S),Ft=Ae[++Fe]),hn&&Xn(ft.$elm$).insertBefore(hn,pn(ft.$elm$))}ze>vt?Nt(S,null==Ae[Rt+1]?null:Ae[Rt+1].$elm$,fe,Ae,Fe,Rt):Fe>Rt&&Dt($,ze,vt)})(fe,Ae,$,ze):null!==ze?(null!==S.$text$&&(fe.textContent=""),Nt(fe,null,$,ze,0,ze.length-1)):null!==Ae&&Dt(Ae,0,Ae.length-1),he&&"svg"===Fe&&(he=!1)):(et=fe["s-cr"])?et.parentNode.textContent=Oe:S.$text$!==Oe&&(fe.data=Oe)},ar=S=>{const $=S.childNodes;for(const fe of $)if(1===fe.nodeType){if(fe["s-sr"]){const Ae=fe["s-sn"];fe.hidden=!1;for(const ze of $)if(ze!==fe)if(ze["s-hn"]!==fe["s-hn"]||""!==Ae){if(1===ze.nodeType&&(Ae===ze.getAttribute("slot")||Ae===ze["s-sn"])){fe.hidden=!0;break}}else if(1===ze.nodeType||3===ze.nodeType&&""!==ze.textContent.trim()){fe.hidden=!0;break}}ar(fe)}},dn=[],lr=S=>{let $,fe,Ae;for(const ze of S.childNodes){if(ze["s-sr"]&&($=ze["s-cr"])&&$.parentNode){fe=$.parentNode.childNodes;const Fe=ze["s-sn"];for(Ae=fe.length-1;Ae>=0;Ae--)if($=fe[Ae],!$["s-cn"]&&!$["s-nr"]&&$["s-hn"]!==ze["s-hn"])if(Qt($,Fe)){let Oe=dn.find(et=>et.$nodeToRelocate$===$);Y=!0,$["s-sn"]=$["s-sn"]||Fe,Oe?(Oe.$nodeToRelocate$["s-sh"]=ze["s-hn"],Oe.$slotRefNode$=ze):($["s-sh"]=ze["s-hn"],dn.push({$slotRefNode$:ze,$nodeToRelocate$:$})),$["s-sr"]&&dn.map(et=>{Qt(et.$nodeToRelocate$,$["s-sn"])&&(Oe=dn.find(vt=>vt.$nodeToRelocate$===$),Oe&&!et.$slotRefNode$&&(et.$slotRefNode$=Oe.$slotRefNode$))})}else dn.some(Oe=>Oe.$nodeToRelocate$===$)||dn.push({$nodeToRelocate$:$})}1===ze.nodeType&&lr(ze)}},Qt=(S,$)=>1===S.nodeType?null===S.getAttribute("slot")&&""===$||S.getAttribute("slot")===$:S["s-sn"]===$||""===$,dr=S=>{S.$attrs$&&S.$attrs$.ref&&S.$attrs$.ref(null),S.$children$&&S.$children$.map(dr)},Hn=(S,$)=>{$&&!S.$onRenderResolve$&&$["s-p"]&&$["s-p"].push(new Promise(fe=>S.$onRenderResolve$=fe))},Kn=(S,$)=>{if(S.$flags$|=16,!(4&S.$flags$))return Hn(S,S.$ancestorComponent$),bt(()=>cr(S,$));S.$flags$|=512},cr=(S,$)=>{const Ae=S.$lazyInstance$;let ze;return $&&(S.$flags$|=256,S.$queuedListeners$&&(S.$queuedListeners$.map(([Fe,Oe])=>Cn(Ae,Fe,Oe)),S.$queuedListeners$=void 0),ze=Cn(Ae,"componentWillLoad")),ze=vr(ze,()=>Cn(Ae,"componentWillRender")),vr(ze,()=>yr(S,Ae,$))},vr=(S,$)=>jn(S)?S.then($):$(),jn=S=>S instanceof Promise||S&&S.then&&"function"==typeof S.then,yr=function(){var S=(0,o.Z)(function*($,fe,Ae){var ze;const Fe=$.$hostElement$,et=Fe["s-rc"];Ae&&(S=>{const $=S.$cmpMeta$,fe=S.$hostElement$,Ae=$.$flags$,Fe=ut(fe.shadowRoot?fe.shadowRoot:fe.getRootNode(),$,S.$modeName$);10&Ae&&(fe["s-sc"]=Fe,fe.classList.add(Fe+"-h"),2&Ae&&fe.classList.add(Fe+"-s"))})($);fr($,fe,Fe,Ae),et&&(et.map(ft=>ft()),Fe["s-rc"]=void 0);{const ft=null!==(ze=Fe["s-p"])&&void 0!==ze?ze:[],mt=()=>Pr($);0===ft.length?mt():(Promise.all(ft).then(mt),$.$flags$|=4,ft.length=0)}});return function(fe,Ae,ze){return S.apply(this,arguments)}}(),fr=(S,$,fe,Ae)=>{try{$=$.render&&$.render(),S.$flags$&=-17,S.$flags$|=2,((S,$,fe=!1)=>{var Ae,ze,Fe,Oe;const et=S.$hostElement$,vt=S.$cmpMeta$,ft=S.$vnode$||We(null,null),mt=(S=>S&&S.$tag$===st)($)?$:ke(null,null,$);if(P=et.tagName,vt.$attrsToReflect$&&(mt.$attrs$=mt.$attrs$||{},vt.$attrsToReflect$.map(([Rt,Ft])=>mt.$attrs$[Ft]=et[Rt])),fe&&mt.$attrs$)for(const Rt of Object.keys(mt.$attrs$))et.hasAttribute(Rt)&&!["key","ref","style","class"].includes(Rt)&&(mt.$attrs$[Rt]=et[Rt]);if(mt.$tag$=null,mt.$flags$|=4,S.$vnode$=mt,mt.$elm$=ft.$elm$=et.shadowRoot||et,V=et["s-sc"],te=et["s-cr"],R=0!=(1&vt.$flags$),Y=!1,An(ft,mt),Mt.$flags$|=1,ne){lr(mt.$elm$);for(const Rt of dn){const Ft=Rt.$nodeToRelocate$;if(!Ft["s-ol"]){const on=Et.createTextNode("");on["s-nr"]=Ft,Ft.parentNode.insertBefore(Ft["s-ol"]=on,Ft)}}for(const Rt of dn){const Ft=Rt.$nodeToRelocate$,on=Rt.$slotRefNode$;if(on){const hn=on.parentNode;let h=on.nextSibling;{let K=null===(Ae=Ft["s-ol"])||void 0===Ae?void 0:Ae.previousSibling;for(;K;){let D=null!==(ze=K["s-nr"])&&void 0!==ze?ze:null;if(D&&D["s-sn"]===Ft["s-sn"]&&hn===D.parentNode&&(D=D.nextSibling,!D||!D["s-nr"])){h=D;break}K=K.previousSibling}}(!h&&hn!==Ft.parentNode||Ft.nextSibling!==h)&&Ft!==h&&(!Ft["s-hn"]&&Ft["s-ol"]&&(Ft["s-hn"]=Ft["s-ol"].parentNode.nodeName),hn.insertBefore(Ft,h),1===Ft.nodeType&&(Ft.hidden=null!==(Fe=Ft["s-ih"])&&void 0!==Fe&&Fe))}else 1===Ft.nodeType&&(fe&&(Ft["s-ih"]=null!==(Oe=Ft.hidden)&&void 0!==Oe&&Oe),Ft.hidden=!0)}}Y&&ar(mt.$elm$),Mt.$flags$&=-2,dn.length=0})(S,$,Ae)}catch(ze){En(ze,S.$hostElement$)}return null},Pr=S=>{const fe=S.$hostElement$,ze=S.$lazyInstance$,Fe=S.$ancestorComponent$;Cn(ze,"componentDidRender"),64&S.$flags$?Cn(ze,"componentDidUpdate"):(S.$flags$|=64,mn(fe),Cn(ze,"componentDidLoad"),S.$onReadyResolve$(fe),Fe||gn()),S.$onInstanceResolve$(fe),S.$onRenderResolve$&&(S.$onRenderResolve$(),S.$onRenderResolve$=void 0),512&S.$flags$&&tt(()=>Kn(S,!1)),S.$flags$&=-517},Fn=S=>{{const $=Ln(S),fe=$.$hostElement$.isConnected;return fe&&2==(18&$.$flags$)&&Kn($,!1),fe}},gn=S=>{mn(Et.documentElement),tt(()=>at(kn,"appload",{detail:{namespace:"ionic"}}))},Cn=(S,$,fe)=>{if(S&&S[$])try{return S[$](fe)}catch(Ae){En(Ae)}},mn=S=>S.classList.add("hydrated"),$e=(S,$,fe)=>{var Ae;const ze=S.prototype;if($.$members$){S.watchers&&($.$watchers$=S.watchers);const Fe=Object.entries($.$members$);if(Fe.map(([Oe,[et]])=>{31&et||2&fe&&32&et?Object.defineProperty(ze,Oe,{get(){return((S,$)=>Ln(this).$instanceValues$.get($))(0,Oe)},set(vt){((S,$,fe,Ae)=>{const ze=Ln(S),Fe=ze.$hostElement$,Oe=ze.$instanceValues$.get($),et=ze.$flags$,vt=ze.$lazyInstance$;fe=((S,$)=>null==S||Be(S)?S:4&$?"false"!==S&&(""===S||!!S):2&$?parseFloat(S):1&$?String(S):S)(fe,Ae.$members$[$][0]);const ft=Number.isNaN(Oe)&&Number.isNaN(fe);if((!(8&et)||void 0===Oe)&&fe!==Oe&&!ft&&(ze.$instanceValues$.set($,fe),vt)){if(Ae.$watchers$&&128&et){const Rt=Ae.$watchers$[$];Rt&&Rt.map(Ft=>{try{vt[Ft](fe,Oe,$)}catch(on){En(on,Fe)}})}2==(18&et)&&Kn(ze,!1)}})(this,Oe,vt,$)},configurable:!0,enumerable:!0}):1&fe&&64&et&&Object.defineProperty(ze,Oe,{value(...vt){var ft;const mt=Ln(this);return null===(ft=mt?.$onInstancePromise$)||void 0===ft?void 0:ft.then(()=>{var Rt;return null===(Rt=mt.$lazyInstance$)||void 0===Rt?void 0:Rt[Oe](...vt)})}})}),1&fe){const Oe=new Map;ze.attributeChangedCallback=function(et,vt,ft){Mt.jmp(()=>{var mt;const Rt=Oe.get(et);if(this.hasOwnProperty(Rt))ft=this[Rt],delete this[Rt];else{if(ze.hasOwnProperty(Rt)&&"number"==typeof this[Rt]&&this[Rt]==ft)return;if(null==Rt){const Ft=Ln(this),on=Ft?.$flags$;if(on&&!(8&on)&&128&on&&ft!==vt){const hn=Ft.$lazyInstance$;(null===(mt=$.$watchers$)||void 0===mt?void 0:mt[et])?.forEach(K=>{null!=hn[K]&&hn[K].call(hn,ft,vt,et)})}return}}this[Rt]=(null!==ft||"boolean"!=typeof this[Rt])&&ft})},S.observedAttributes=Array.from(new Set([...Object.keys(null!==(Ae=$.$watchers$)&&void 0!==Ae?Ae:{}),...Fe.filter(([et,vt])=>15&vt[0]).map(([et,vt])=>{var ft;const mt=vt[1]||et;return Oe.set(mt,et),512&vt[0]&&(null===(ft=$.$attrsToReflect$)||void 0===ft||ft.push([et,mt])),mt})]))}}return S},Ee=function(){var S=(0,o.Z)(function*($,fe,Ae,ze){let Fe;if(!(32&fe.$flags$)){fe.$flags$|=32;{if(Fe=gr(Ae),Fe.then){const ft=()=>{};Fe=yield Fe,ft()}Fe.isProxied||(Ae.$watchers$=Fe.watchers,$e(Fe,Ae,2),Fe.isProxied=!0);const vt=()=>{};fe.$flags$|=8;try{new Fe(fe)}catch(ft){En(ft)}fe.$flags$&=-9,fe.$flags$|=128,vt(),Ke(fe.$lazyInstance$)}if(Fe.style){let vt=Fe.style;"string"!=typeof vt&&(vt=vt[fe.$modeName$=(S=>Un.map($=>$(S)).find($=>!!$))($)]);const ft=Yt(Ae,fe.$modeName$);if(!vn.has(ft)){const mt=()=>{};Xe(ft,vt,!!(1&Ae.$flags$)),mt()}}}const Oe=fe.$ancestorComponent$,et=()=>Kn(fe,!0);Oe&&Oe["s-rc"]?Oe["s-rc"].push(et):et()});return function(fe,Ae,ze,Fe){return S.apply(this,arguments)}}(),Ke=S=>{Cn(S,"connectedCallback")},wt=S=>{const $=S["s-cr"]=Et.createComment("");$["s-cn"]=!0,S.insertBefore($,S.firstChild)},Jt=S=>{Cn(S,"disconnectedCallback")},Dn=function(){var S=(0,o.Z)(function*($){if(!(1&Mt.$flags$)){const fe=Ln($);fe.$rmListeners$&&(fe.$rmListeners$.map(Ae=>Ae()),fe.$rmListeners$=void 0),fe?.$lazyInstance$?Jt(fe.$lazyInstance$):fe?.$onReadyPromise$&&fe.$onReadyPromise$.then(()=>Jt(fe.$lazyInstance$))}});return function(fe){return S.apply(this,arguments)}}(),Pn=(S,$={})=>{var fe;const ze=[],Fe=$.exclude||[],Oe=kn.customElements,et=Et.head,vt=et.querySelector("meta[charset]"),ft=Et.createElement("style"),mt=[],Rt=Et.querySelectorAll(`[${Me}]`);let Ft,on=!0,hn=0;for(Object.assign(Mt,$),Mt.$resourcesUrl$=new URL($.resourcesUrl||"./",Et.baseURI).href,Mt.$flags$|=2;hn{K[1].map(D=>{var ue;const Ue={$flags$:D[0],$tagName$:D[1],$members$:D[2],$listeners$:D[3]};4&Ue.$flags$&&(h=!0),Ue.$members$=D[2],Ue.$listeners$=D[3],Ue.$attrsToReflect$=[],Ue.$watchers$=null!==(ue=D[4])&&void 0!==ue?ue:{};const nn=Ue.$tagName$,qt=class extends HTMLElement{constructor(br){super(br),Gn(br=this,Ue),1&Ue.$flags$&&br.attachShadow({mode:"open",delegatesFocus:!!(16&Ue.$flags$)})}connectedCallback(){Ft&&(clearTimeout(Ft),Ft=null),on?mt.push(this):Mt.jmp(()=>(S=>{if(!(1&Mt.$flags$)){const $=Ln(S),fe=$.$cmpMeta$,Ae=()=>{};if(1&$.$flags$)hr(S,$,fe.$listeners$),$?.$lazyInstance$?Ke($.$lazyInstance$):$?.$onReadyPromise$&&$.$onReadyPromise$.then(()=>Ke($.$lazyInstance$));else{let ze;if($.$flags$|=1,ze=S.getAttribute(Ve),ze){if(1&fe.$flags$){const Fe=ut(S.shadowRoot,fe,S.getAttribute("s-mode"));S.classList.remove(Fe+"-h",Fe+"-s")}((S,$,fe,Ae)=>{const Fe=S.shadowRoot,Oe=[],vt=Fe?[]:null,ft=Ae.$vnode$=We($,null);Mt.$orgLocNodes$||ae(Et.body,Mt.$orgLocNodes$=new Map),S[Ve]=fe,S.removeAttribute(Ve),se(ft,Oe,[],vt,S,S,fe),Oe.map(mt=>{const Rt=mt.$hostId$+"."+mt.$nodeId$,Ft=Mt.$orgLocNodes$.get(Rt),on=mt.$elm$;Ft&&ge&&""===Ft["s-en"]&&Ft.parentNode.insertBefore(on,Ft.nextSibling),Fe||(on["s-hn"]=$,Ft&&(on["s-ol"]=Ft,on["s-ol"]["s-nr"]=on)),Mt.$orgLocNodes$.delete(Rt)}),Fe&&vt.map(mt=>{mt&&Fe.appendChild(mt)})})(S,fe.$tagName$,ze,$)}ze||12&fe.$flags$&&wt(S);{let Fe=S;for(;Fe=Fe.parentNode||Fe.host;)if(1===Fe.nodeType&&Fe.hasAttribute("s-id")&&Fe["s-p"]||Fe["s-p"]){Hn($,$.$ancestorComponent$=Fe);break}}fe.$members$&&Object.entries(fe.$members$).map(([Fe,[Oe]])=>{if(31&Oe&&S.hasOwnProperty(Fe)){const et=S[Fe];delete S[Fe],S[Fe]=et}}),Ee(S,$,fe)}Ae()}})(this))}disconnectedCallback(){Mt.jmp(()=>Dn(this))}componentOnReady(){return Ln(this).$onReadyPromise$}};Ue.$lazyBundleId$=K[0],!Fe.includes(nn)&&!Oe.get(nn)&&(ze.push(nn),Oe.define(nn,$e(qt,Ue,1)))})}),h&&(ft.innerHTML+=we),ft.innerHTML+=ze+"{visibility:hidden}.hydrated{visibility:inherit}",ft.innerHTML.length){ft.setAttribute("data-styles","");const K=null!==(fe=Mt.$nonce$)&&void 0!==fe?fe:ie(Et);null!=K&&ft.setAttribute("nonce",K),et.insertBefore(ft,vt?vt.nextSibling:et.firstChild)}on=!1,mt.length?mt.map(K=>K.connectedCallback()):Mt.jmp(()=>Ft=setTimeout(gn,30))},hr=(S,$,fe,Ae)=>{fe&&fe.map(([ze,Fe,Oe])=>{const et=Sn(S,ze),vt=qn($,Oe),ft=zn(ze);Mt.ael(et,Fe,vt,ft),($.$rmListeners$=$.$rmListeners$||[]).push(()=>Mt.rel(et,Fe,vt,ft))})},qn=(S,$)=>fe=>{try{256&S.$flags$?S.$lazyInstance$[$](fe):(S.$queuedListeners$=S.$queuedListeners$||[]).push([$,fe])}catch(Ae){En(Ae)}},Sn=(S,$)=>4&$?Et:8&$?kn:16&$?Et.body:S,zn=S=>0!=(2&S),pr=new WeakMap,Ln=S=>pr.get(S),rn=(S,$)=>pr.set($.$lazyInstance$=S,$),Gn=(S,$)=>{const fe={$flags$:0,$hostElement$:S,$cmpMeta$:$,$instanceValues$:new Map};return fe.$onInstancePromise$=new Promise(Ae=>fe.$onInstanceResolve$=Ae),fe.$onReadyPromise$=new Promise(Ae=>fe.$onReadyResolve$=Ae),S["s-p"]=[],S["s-rc"]=[],hr(S,fe,$.$listeners$),pr.set(S,fe)},Nn=(S,$)=>$ in S,En=(S,$)=>(0,console.error)(S,$),Bn=new Map,gr=(S,$,fe)=>{const Ae=S.$tagName$.replace(/-/g,"_"),ze=S.$lazyBundleId$,Fe=Bn.get(ze);return Fe?Fe[Ae]:g(863)(`./${ze}.entry.js`).then(Oe=>(Bn.set(ze,Oe),Oe[Ae]),En)},vn=new Map,Un=[],kn=typeof window<"u"?window:{},Et=kn.document||{head:{}},Mt={$flags$:0,$resourcesUrl$:"",jmp:S=>S(),raf:S=>requestAnimationFrame(S),ael:(S,$,fe,Ae)=>S.addEventListener($,fe,Ae),rel:(S,$,fe,Ae)=>S.removeEventListener($,fe,Ae),ce:(S,$)=>new CustomEvent(S,$)},xn=S=>{Object.assign(Mt,S)},ge=!0,I=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),A=[],G=[],me=(S,$)=>fe=>{S.push(fe),Z||(Z=!0,$&&4&Mt.$flags$?tt(Ne):Mt.raf(Ne))},Ie=S=>{for(let $=0;${Ie(A),Ie(G),(Z=A.length>0)&&Mt.raf(Ne)},tt=S=>Promise.resolve(void 0).then(S),lt=me(A,!1),bt=me(G,!0)},4649:(pt,Re,g)=>{"use strict";g.d(Re,{a:()=>Z,b:()=>We,c:()=>B,i:()=>st});var o=g(408);class r{constructor(){this.m=new Map}reset(z){this.m=new Map(Object.entries(z))}get(z,C){const N=this.m.get(z);return void 0!==N?N:C}getBoolean(z,C=!1){const N=this.m.get(z);return void 0===N?C:"string"==typeof N?"true"===N:!!N}getNumber(z,C){const N=parseFloat(this.m.get(z));return isNaN(N)?void 0!==C?C:NaN:N}set(z,C){this.m.set(z,C)}}const B=new r,Y="ionic:",ne="ionic-persist-config",Z=(ve,z)=>("string"==typeof ve&&(z=ve,ve=void 0),(ve=>oe(ve))(ve).includes(z)),oe=(ve=window)=>{if(typeof ve>"u")return[];ve.Ionic=ve.Ionic||{};let z=ve.Ionic.platforms;return null==z&&(z=ve.Ionic.platforms=ye(ve),z.forEach(C=>ve.document.documentElement.classList.add(`plt-${C}`))),z},ye=ve=>{const z=B.get("platform");return Object.keys(ie).filter(C=>{const N=z?.[C];return"function"==typeof N?N(ve):ie[C](ve)})},re=ve=>!!(Te(ve,/iPad/i)||Te(ve,/Macintosh/i)&&Le(ve)),pe=ve=>Te(ve,/android|sink/i),Le=ve=>Be(ve,"(any-pointer:coarse)"),we=ve=>j(ve)||X(ve),j=ve=>!!(ve.cordova||ve.phonegap||ve.PhoneGap),X=ve=>!!ve.Capacitor?.isNative,Te=(ve,z)=>z.test(ve.navigator.userAgent),Be=(ve,z)=>{var C;return null===(C=ve.matchMedia)||void 0===C?void 0:C.call(ve,z).matches},ie={ipad:re,iphone:ve=>Te(ve,/iPhone/i),ios:ve=>Te(ve,/iPhone|iPod/i)||re(ve),android:pe,phablet:ve=>{const z=ve.innerWidth,C=ve.innerHeight,N=Math.min(z,C),k=Math.max(z,C);return N>390&&N<520&&k>620&&k<800},tablet:ve=>{const z=ve.innerWidth,C=ve.innerHeight,N=Math.min(z,C),k=Math.max(z,C);return re(ve)||(ve=>pe(ve)&&!Te(ve,/mobile/i))(ve)||N>460&&N<820&&k>780&&k<1400},cordova:j,capacitor:X,electron:ve=>Te(ve,/electron/i),pwa:ve=>{var z;return!!(null!==(z=ve.matchMedia)&&void 0!==z&&z.call(ve,"(display-mode: standalone)").matches||ve.navigator.standalone)},mobile:Le,mobileweb:ve=>Le(ve)&&!we(ve),desktop:ve=>!Le(ve),hybrid:we};let ke;const We=ve=>ve&&(0,o.g)(ve)||ke,st=(ve={})=>{if(typeof window>"u")return;const z=window.document,C=window,N=C.Ionic=C.Ionic||{},k={};ve._ael&&(k.ael=ve._ael),ve._rel&&(k.rel=ve._rel),ve._ce&&(k.ce=ve._ce),(0,o.a)(k);const se=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(ve=>{try{const z=ve.sessionStorage.getItem(ne);return null!==z?JSON.parse(z):{}}catch{return{}}})(C)),{persistConfig:!1}),N.config),(ve=>{const z={};return ve.location.search.slice(1).split("&").map(C=>C.split("=")).map(([C,N])=>[decodeURIComponent(C),decodeURIComponent(N)]).filter(([C])=>((ve,z)=>ve.substr(0,z.length)===z)(C,Y)).map(([C,N])=>[C.slice(Y.length),N]).forEach(([C,N])=>{z[C]=N}),z})(C)),ve);B.reset(se),B.getBoolean("persistConfig")&&((ve,z)=>{try{ve.sessionStorage.setItem(ne,JSON.stringify(z))}catch{return}})(C,se),oe(C),N.config=B,N.mode=ke=B.get("mode",z.documentElement.getAttribute("mode")||(Z(C,"ios")?"ios":"md")),B.set("mode",ke),z.documentElement.setAttribute("mode",ke),z.documentElement.classList.add(ke),B.getBoolean("_testing")&&B.set("animated",!1);const ae=qe=>{var gt;return null===(gt=qe.tagName)||void 0===gt?void 0:gt.startsWith("ION-")},Ye=qe=>["ios","md"].includes(qe);(0,o.c)(qe=>{for(;qe;){const gt=qe.mode||qe.getAttribute("mode");if(gt){if(Ye(gt))return gt;ae(qe)&&console.warn('Invalid ionic mode: "'+gt+'", expected: "ios" or "md"')}qe=qe.parentElement}return ke})}},1838:(pt,Re,g)=>{"use strict";g.r(Re),g.d(Re,{iosTransitionAnimation:()=>ye,shadow:()=>R});var o=g(2876),r=g(9528);g(2972),g(408);const P=re=>document.querySelector(`${re}.ion-cloned-element`),R=re=>re.shadowRoot||re,Y=re=>{const ce="ION-TABS"===re.tagName?re:re.querySelector("ion-tabs"),W="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=ce){const pe=ce.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=pe?pe.querySelector(W):null}return re.querySelector(W)},ne=(re,ce)=>{const W="ION-TABS"===re.tagName?re:re.querySelector("ion-tabs");let pe=[];if(null!=W){const be=W.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=be&&(pe=be.querySelectorAll("ion-buttons"))}else pe=re.querySelectorAll("ion-buttons");for(const be of pe){const Ve=be.closest("ion-header"),Me=Ve&&!Ve.classList.contains("header-collapse-condense-inactive"),Le=be.querySelector("ion-back-button"),Pe=be.classList.contains("buttons-collapse");if(null!==Le&&("start"===be.slot||""===be.slot)&&(Pe&&Me&&ce||!Pe))return Le}return null},Z=(re,ce,W,pe,be,Ve,Me,Le,Pe)=>{var we,j;const X=ce?`calc(100% - ${be.right+4}px)`:be.left-4+"px",Ce=ce?"right":"left",_e=ce?"left":"right",Te=ce?"right":"left",Be=(null===(we=Ve.textContent)||void 0===we?void 0:we.trim())===(null===(j=Le.textContent)||void 0===j?void 0:j.trim()),ke=(Pe.height-de)/Me.height,We=Be?`scale(${Pe.width/Me.width}, ${ke})`:`scale(${ke})`,st="scale(1)",z=R(pe).querySelector("ion-icon").getBoundingClientRect(),C=ce?z.width/2-(z.right-be.right)+"px":be.left-z.width/2+"px",N=ce?`-${window.innerWidth-be.right}px`:`${be.left}px`,k=`${Pe.top}px`,se=`${be.top}px`,qe=W?[{offset:0,transform:`translate3d(${N}, ${se}, 0)`},{offset:1,transform:`translate3d(${C}, ${k}, 0)`}]:[{offset:0,transform:`translate3d(${C}, ${k}, 0)`},{offset:1,transform:`translate3d(${N}, ${se}, 0)`}],At=W?[{offset:0,opacity:1,transform:st},{offset:1,opacity:0,transform:We}]:[{offset:0,opacity:0,transform:We},{offset:1,opacity:1,transform:st}],Je=W?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],Xe=(0,o.c)(),ut=(0,o.c)(),Lt=(0,o.c)(),Yt=P("ion-back-button"),Zt=R(Yt).querySelector(".button-text"),Ct=R(Yt).querySelector("ion-icon");Yt.text=pe.text,Yt.mode=pe.mode,Yt.icon=pe.icon,Yt.color=pe.color,Yt.disabled=pe.disabled,Yt.style.setProperty("display","block"),Yt.style.setProperty("position","fixed"),ut.addElement(Ct),Xe.addElement(Zt),Lt.addElement(Yt),Lt.beforeStyles({position:"absolute",top:"0px",[Te]:"0px"}).keyframes(qe),Xe.beforeStyles({"transform-origin":`${Ce} top`}).beforeAddWrite(()=>{pe.style.setProperty("display","none"),Yt.style.setProperty(Ce,X)}).afterAddWrite(()=>{pe.style.setProperty("display",""),Yt.style.setProperty("display","none"),Yt.style.removeProperty(Ce)}).keyframes(At),ut.beforeStyles({"transform-origin":`${_e} center`}).keyframes(Je),re.addAnimation([Xe,ut,Lt])},oe=(re,ce,W,pe,be,Ve,Me,Le)=>{var Pe,we;const j=ce?"right":"left",X=ce?`calc(100% - ${be.right}px)`:`${be.left}px`,_e=`${be.top}px`,Be=ce?`-${window.innerWidth-Le.right-8}px`:Le.x-8+"px",ke=Le.y-2+"px",We=(null===(Pe=Me.textContent)||void 0===Pe?void 0:Pe.trim())===(null===(we=pe.textContent)||void 0===we?void 0:we.trim()),ve=Le.height/(Ve.height-de),z="scale(1)",C=We?`scale(${Le.width/Ve.width}, ${ve})`:`scale(${ve})`,se=W?[{offset:0,opacity:0,transform:`translate3d(${Be}, ${ke}, 0) ${C}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${_e}, 0) ${z}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${_e}, 0) ${z}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${Be}, ${ke}, 0) ${C}`}],ae=P("ion-title"),Ye=(0,o.c)();ae.innerText=pe.innerText,ae.size=pe.size,ae.color=pe.color,Ye.addElement(ae),Ye.beforeStyles({"transform-origin":`${j} top`,height:`${be.height}px`,display:"",position:"relative",[j]:X}).beforeAddWrite(()=>{pe.style.setProperty("opacity","0")}).afterAddWrite(()=>{pe.style.setProperty("opacity",""),ae.style.setProperty("display","none")}).keyframes(se),re.addAnimation(Ye)},ye=(re,ce)=>{var W;try{const pe="cubic-bezier(0.32,0.72,0,1)",be="opacity",Ve="transform",Me="0%",Pe="rtl"===re.ownerDocument.dir,we=Pe?"-99.5%":"99.5%",j=Pe?"33%":"-33%",X=ce.enteringEl,Ce=ce.leavingEl,_e="back"===ce.direction,Te=X.querySelector(":scope > ion-content"),Be=X.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),ie=X.querySelectorAll(":scope > ion-header > ion-toolbar"),ke=(0,o.c)(),We=(0,o.c)();if(ke.addElement(X).duration((null!==(W=ce.duration)&&void 0!==W?W:0)||540).easing(ce.easing||pe).fill("both").beforeRemoveClass("ion-page-invisible"),Ce&&null!=re){const C=(0,o.c)();C.addElement(re),ke.addAnimation(C)}if(Te||0!==ie.length||0!==Be.length?(We.addElement(Te),We.addElement(Be)):We.addElement(X.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),ke.addAnimation(We),_e?We.beforeClearStyles([be]).fromTo("transform",`translateX(${j})`,`translateX(${Me})`).fromTo(be,.8,1):We.beforeClearStyles([be]).fromTo("transform",`translateX(${we})`,`translateX(${Me})`),Te){const C=R(Te).querySelector(".transition-effect");if(C){const N=C.querySelector(".transition-cover"),k=C.querySelector(".transition-shadow"),se=(0,o.c)(),ae=(0,o.c)(),Ye=(0,o.c)();se.addElement(C).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),ae.addElement(N).beforeClearStyles([be]).fromTo(be,0,.1),Ye.addElement(k).beforeClearStyles([be]).fromTo(be,.03,.7),se.addAnimation([ae,Ye]),We.addAnimation([se])}}const st=X.querySelector("ion-header.header-collapse-condense"),{forward:ve,backward:z}=((re,ce,W,pe,be)=>{const Ve=ne(pe,W),Me=Y(be),Le=Y(pe),Pe=ne(be,W),we=null!==Ve&&null!==Me&&!W,j=null!==Le&&null!==Pe&&W;if(we){const X=Me.getBoundingClientRect(),Ce=Ve.getBoundingClientRect(),_e=R(Ve).querySelector(".button-text"),Te=_e.getBoundingClientRect(),ie=R(Me).querySelector(".toolbar-title").getBoundingClientRect();oe(re,ce,W,Me,X,ie,_e,Te),Z(re,ce,W,Ve,Ce,_e,Te,Me,ie)}else if(j){const X=Le.getBoundingClientRect(),Ce=Pe.getBoundingClientRect(),_e=R(Pe).querySelector(".button-text"),Te=_e.getBoundingClientRect(),ie=R(Le).querySelector(".toolbar-title").getBoundingClientRect();oe(re,ce,W,Le,X,ie,_e,Te),Z(re,ce,W,Pe,Ce,_e,Te,Le,ie)}return{forward:we,backward:j}})(ke,Pe,_e,X,Ce);if(ie.forEach(C=>{const N=(0,o.c)();N.addElement(C),ke.addAnimation(N);const k=(0,o.c)();k.addElement(C.querySelector("ion-title"));const se=(0,o.c)(),ae=Array.from(C.querySelectorAll("ion-buttons,[menuToggle]")),Ye=C.closest("ion-header"),qe=Ye?.classList.contains("header-collapse-condense-inactive");let gt;gt=ae.filter(_e?Je=>{const Xe=Je.classList.contains("buttons-collapse");return Xe&&!qe||!Xe}:Je=>!Je.classList.contains("buttons-collapse")),se.addElement(gt);const dt=(0,o.c)();dt.addElement(C.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const At=(0,o.c)();At.addElement(R(C).querySelector(".toolbar-background"));const Wt=(0,o.c)(),at=C.querySelector("ion-back-button");if(at&&Wt.addElement(at),N.addAnimation([k,se,dt,At,Wt]),se.fromTo(be,.01,1),dt.fromTo(be,.01,1),_e)qe||k.fromTo("transform",`translateX(${j})`,`translateX(${Me})`).fromTo(be,.01,1),dt.fromTo("transform",`translateX(${j})`,`translateX(${Me})`),Wt.fromTo(be,.01,1);else if(st||k.fromTo("transform",`translateX(${we})`,`translateX(${Me})`).fromTo(be,.01,1),dt.fromTo("transform",`translateX(${we})`,`translateX(${Me})`),At.beforeClearStyles([be,"transform"]),Ye?.translucent?At.fromTo("transform",Pe?"translateX(-100%)":"translateX(100%)","translateX(0px)"):At.fromTo(be,.01,"var(--opacity)"),ve||Wt.fromTo(be,.01,1),at&&!ve){const Xe=(0,o.c)();Xe.addElement(R(at).querySelector(".button-text")).fromTo("transform",Pe?"translateX(-100px)":"translateX(100px)","translateX(0px)"),N.addAnimation(Xe)}}),Ce){const C=(0,o.c)(),N=Ce.querySelector(":scope > ion-content"),k=Ce.querySelectorAll(":scope > ion-header > ion-toolbar"),se=Ce.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(N||0!==k.length||0!==se.length?(C.addElement(N),C.addElement(se)):C.addElement(Ce.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),ke.addAnimation(C),_e){C.beforeClearStyles([be]).fromTo("transform",`translateX(${Me})`,Pe?"translateX(-100%)":"translateX(100%)");const ae=(0,r.g)(Ce);ke.afterAddWrite(()=>{"normal"===ke.getDirection()&&ae.style.setProperty("display","none")})}else C.fromTo("transform",`translateX(${Me})`,`translateX(${j})`).fromTo(be,1,.8);if(N){const ae=R(N).querySelector(".transition-effect");if(ae){const Ye=ae.querySelector(".transition-cover"),qe=ae.querySelector(".transition-shadow"),gt=(0,o.c)(),dt=(0,o.c)(),At=(0,o.c)();gt.addElement(ae).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),dt.addElement(Ye).beforeClearStyles([be]).fromTo(be,.1,0),At.addElement(qe).beforeClearStyles([be]).fromTo(be,.7,.03),gt.addAnimation([dt,At]),C.addAnimation([gt])}}k.forEach(ae=>{const Ye=(0,o.c)();Ye.addElement(ae);const qe=(0,o.c)();qe.addElement(ae.querySelector("ion-title"));const gt=(0,o.c)(),dt=ae.querySelectorAll("ion-buttons,[menuToggle]"),At=ae.closest("ion-header"),Wt=At?.classList.contains("header-collapse-condense-inactive"),at=Array.from(dt).filter(Zt=>{const Ct=Zt.classList.contains("buttons-collapse");return Ct&&!Wt||!Ct});gt.addElement(at);const Je=(0,o.c)(),Xe=ae.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");Xe.length>0&&Je.addElement(Xe);const ut=(0,o.c)();ut.addElement(R(ae).querySelector(".toolbar-background"));const Lt=(0,o.c)(),Yt=ae.querySelector("ion-back-button");if(Yt&&Lt.addElement(Yt),Ye.addAnimation([qe,gt,Je,Lt,ut]),ke.addAnimation(Ye),Lt.fromTo(be,.99,0),gt.fromTo(be,.99,0),Je.fromTo(be,.99,0),_e){if(Wt||qe.fromTo("transform",`translateX(${Me})`,Pe?"translateX(-100%)":"translateX(100%)").fromTo(be,.99,0),Je.fromTo("transform",`translateX(${Me})`,Pe?"translateX(-100%)":"translateX(100%)"),ut.beforeClearStyles([be,"transform"]),At?.translucent?ut.fromTo("transform","translateX(0px)",Pe?"translateX(-100%)":"translateX(100%)"):ut.fromTo(be,"var(--opacity)",0),Yt&&!z){const Ct=(0,o.c)();Ct.addElement(R(Yt).querySelector(".button-text")).fromTo("transform",`translateX(${Me})`,`translateX(${(Pe?-124:124)+"px"})`),Ye.addAnimation(Ct)}}else Wt||qe.fromTo("transform",`translateX(${Me})`,`translateX(${j})`).fromTo(be,.99,0).afterClearStyles([Ve,be]),Je.fromTo("transform",`translateX(${Me})`,`translateX(${j})`).afterClearStyles([Ve,be]),Lt.afterClearStyles([be]),qe.afterClearStyles([be]),gt.afterClearStyles([be])})}return ke}catch(pe){throw pe}},de=10},6705:(pt,Re,g)=>{"use strict";g.r(Re),g.d(Re,{mdTransitionAnimation:()=>te});var o=g(2876),r=g(9528);g(2972),g(408);const te=(P,R)=>{var Y,ne,he;const Z="40px",ye="back"===R.direction,re=R.leavingEl,ce=(0,r.g)(R.enteringEl),W=ce.querySelector("ion-toolbar"),pe=(0,o.c)();if(pe.addElement(ce).fill("both").beforeRemoveClass("ion-page-invisible"),ye?pe.duration((null!==(Y=R.duration)&&void 0!==Y?Y:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):pe.duration((null!==(ne=R.duration)&&void 0!==ne?ne:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${Z})`,"translateY(0px)").fromTo("opacity",.01,1),W){const be=(0,o.c)();be.addElement(W),pe.addAnimation(be)}if(re&&ye){pe.duration((null!==(he=R.duration)&&void 0!==he?he:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const be=(0,o.c)();be.addElement((0,r.g)(re)).onFinish(Ve=>{1===Ve&&be.elements.length>0&&be.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${Z})`).fromTo("opacity",1,0),pe.addAnimation(be)}return pe}},8042:(pt,Re,g)=>{"use strict";g.d(Re,{B:()=>qe,G:()=>gt,O:()=>dt,a:()=>oe,b:()=>ye,c:()=>W,d:()=>At,e:()=>Wt,f:()=>We,g:()=>ve,h:()=>N,i:()=>se,j:()=>be,k:()=>Ve,m:()=>re,n:()=>he,o:()=>Pe,q:()=>ie,s:()=>Ye,t:()=>pe});var o=g(5861),r=g(2972),B=g(4649),V=g(7869),te=g(8261),P=g(2961),R=g(8909);let Y=0,ne=0;const he=new WeakMap,Z=at=>({create:Je=>Me(at,Je),dismiss:(Je,Xe,ut)=>_e(document,Je,Xe,at,ut),getTop:()=>(0,o.Z)(function*(){return ie(document,at)})()}),oe=Z("ion-alert"),ye=Z("ion-action-sheet"),re=Z("ion-modal"),W=Z("ion-popover"),pe=Z("ion-toast"),be=at=>{typeof document<"u"&&Ce(document);const Je=Y++;at.overlayIndex=Je},Ve=at=>(at.hasAttribute("id")||(at.id="ion-overlay-"+ ++ne),at.id),Me=(at,Je)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(at).then(()=>{const Xe=document.createElement(at);return Xe.classList.add("overlay-hidden"),Object.assign(Xe,Object.assign(Object.assign({},Je),{hasController:!0})),z(document).appendChild(Xe),new Promise(ut=>(0,P.c)(Xe,ut))}):Promise.resolve(),Le='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',Pe=(at,Je)=>{let Xe=at.querySelector(Le);const ut=Xe?.shadowRoot;ut&&(Xe=ut.querySelector(Le)||Xe),Xe?(0,P.f)(Xe):Je.focus()},j=(at,Je)=>{const Xe=Array.from(at.querySelectorAll(Le));let ut=Xe.length>0?Xe[Xe.length-1]:null;const Lt=ut?.shadowRoot;Lt&&(ut=Lt.querySelector(Le)||ut),ut?ut.focus():Je.focus()},Ce=at=>{0===Y&&(Y=1,at.addEventListener("focus",Je=>{((at,Je)=>{const Xe=ie(Je,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),ut=at.target;Xe&&ut&&!Xe.classList.contains("ion-disable-focus-trap")&&(Xe.shadowRoot?(()=>{if(Xe.contains(ut))Xe.lastFocus=ut;else{const Zt=Xe.lastFocus;Pe(Xe,Xe),Zt===Je.activeElement&&j(Xe,Xe),Xe.lastFocus=Je.activeElement}})():(()=>{if(Xe===ut)Xe.lastFocus=void 0;else{const Zt=(0,P.g)(Xe);if(!Zt.contains(ut))return;const Ct=Zt.querySelector(".ion-overlay-wrapper");if(!Ct)return;if(Ct.contains(ut)||ut===Zt.querySelector("ion-backdrop"))Xe.lastFocus=ut;else{const en=Xe.lastFocus;Pe(Ct,Xe),en===Je.activeElement&&j(Ct,Xe),Xe.lastFocus=Je.activeElement}}})())})(Je,at)},!0),at.addEventListener("ionBackButton",Je=>{const Xe=ie(at);Xe?.backdropDismiss&&Je.detail.register(te.OVERLAY_BACK_BUTTON_PRIORITY,()=>Xe.dismiss(void 0,qe))}),at.addEventListener("keydown",Je=>{if("Escape"===Je.key){const Xe=ie(at);Xe?.backdropDismiss&&Xe.dismiss(void 0,qe)}}))},_e=(at,Je,Xe,ut,Lt)=>{const Yt=ie(at,ut,Lt);return Yt?Yt.dismiss(Je,Xe):Promise.reject("overlay does not exist")},Be=(at,Je)=>((at,Je)=>(void 0===Je&&(Je="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(at.querySelectorAll(Je)).filter(Xe=>Xe.overlayIndex>0)))(at,Je).filter(Xe=>!(at=>at.classList.contains("overlay-hidden"))(Xe)),ie=(at,Je,Xe)=>{const ut=Be(at,Je);return void 0===Xe?ut[ut.length-1]:ut.find(Lt=>Lt.id===Xe)},ke=(at=!1)=>{const Xe=z(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");Xe&&(at?Xe.setAttribute("aria-hidden","true"):Xe.removeAttribute("aria-hidden"))},We=function(){var at=(0,o.Z)(function*(Je,Xe,ut,Lt,Yt){var Zt,Ct;if(Je.presented)return;ke(!0),Je.presented=!0,Je.willPresent.emit(),null===(Zt=Je.willPresentShorthand)||void 0===Zt||Zt.emit();const en=(0,B.b)(Je),Xt=Je.enterAnimation?Je.enterAnimation:B.c.get(Xe,"ios"===en?ut:Lt);(yield C(Je,Xt,Je.el,Yt))&&(Je.didPresent.emit(),null===(Ct=Je.didPresentShorthand)||void 0===Ct||Ct.emit()),"ION-TOAST"!==Je.el.tagName&&st(Je.el),Je.keyboardClose&&(null===document.activeElement||!Je.el.contains(document.activeElement))&&Je.el.focus()});return function(Xe,ut,Lt,Yt,Zt){return at.apply(this,arguments)}}(),st=function(){var at=(0,o.Z)(function*(Je){let Xe=document.activeElement;if(!Xe)return;const ut=Xe?.shadowRoot;ut&&(Xe=ut.querySelector(Le)||Xe),yield Je.onDidDismiss(),Xe.focus()});return function(Xe){return at.apply(this,arguments)}}(),ve=function(){var at=(0,o.Z)(function*(Je,Xe,ut,Lt,Yt,Zt,Ct){var en,Xt;if(!Je.presented)return!1;void 0!==r.d&&1===Be(r.d).length&&ke(!1),Je.presented=!1;try{Je.el.style.setProperty("pointer-events","none"),Je.willDismiss.emit({data:Xe,role:ut}),null===(en=Je.willDismissShorthand)||void 0===en||en.emit({data:Xe,role:ut});const Mn=(0,B.b)(Je),On=Je.leaveAnimation?Je.leaveAnimation:B.c.get(Lt,"ios"===Mn?Yt:Zt);ut!==gt&&(yield C(Je,On,Je.el,Ct)),Je.didDismiss.emit({data:Xe,role:ut}),null===(Xt=Je.didDismissShorthand)||void 0===Xt||Xt.emit({data:Xe,role:ut}),he.delete(Je),Je.el.classList.add("overlay-hidden"),Je.el.style.removeProperty("pointer-events"),void 0!==Je.el.lastFocus&&(Je.el.lastFocus=void 0)}catch(Mn){console.error(Mn)}return Je.el.remove(),!0});return function(Xe,ut,Lt,Yt,Zt,Ct,en){return at.apply(this,arguments)}}(),z=at=>at.querySelector("ion-app")||at.body,C=function(){var at=(0,o.Z)(function*(Je,Xe,ut,Lt){ut.classList.remove("overlay-hidden");const Zt=Xe(Je.el,Lt);(!Je.animated||!B.c.getBoolean("animated",!0))&&Zt.duration(0),Je.keyboardClose&&Zt.beforeAddWrite(()=>{const en=ut.ownerDocument.activeElement;en?.matches("input,ion-input, ion-textarea")&&en.blur()});const Ct=he.get(Je)||[];return he.set(Je,[...Ct,Zt]),yield Zt.play(),!0});return function(Xe,ut,Lt,Yt){return at.apply(this,arguments)}}(),N=(at,Je)=>{let Xe;const ut=new Promise(Lt=>Xe=Lt);return k(at,Je,Lt=>{Xe(Lt.detail)}),ut},k=(at,Je,Xe)=>{const ut=Lt=>{(0,P.b)(at,Je,ut),Xe(Lt)};(0,P.a)(at,Je,ut)},se=at=>"cancel"===at||at===qe,ae=at=>at(),Ye=(at,Je)=>{if("function"==typeof at)return B.c.get("_zoneGate",ae)(()=>{try{return at(Je)}catch(ut){throw ut}})},qe="backdrop",gt="gesture",dt=39,At=at=>{let Xe,Je=!1;const ut=(0,V.C)(),Lt=(Ct=!1)=>{if(Xe&&!Ct)return{delegate:Xe,inline:Je};const{el:en,hasController:Xt,delegate:Mn}=at;return Je=null!==en.parentNode&&!Xt,Xe=Je?Mn||ut:Mn,{inline:Je,delegate:Xe}};return{attachViewToDom:function(){var Ct=(0,o.Z)(function*(en){const{delegate:Xt}=Lt(!0);if(Xt)return yield Xt.attachViewToDom(at.el,en);const{hasController:Mn}=at;if(Mn&&void 0!==en)throw new Error("framework delegate is missing");return null});return function(Xt){return Ct.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:Ct}=Lt();Ct&&void 0!==at.el&&Ct.removeViewFromDom(at.el.parentElement,at.el)}}},Wt=()=>{let at;const Je=()=>{at&&(at(),at=void 0)};return{addClickListener:(ut,Lt)=>{Je();const Yt=void 0!==Lt?document.getElementById(Lt):null;Yt?at=((Ct,en)=>{const Xt=()=>{en.present()};return Ct.addEventListener("click",Xt),()=>{Ct.removeEventListener("click",Xt)}})(Yt,ut):(0,R.p)(`A trigger element with the ID "${Lt}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,ut)},removeClickListener:Je}}},4158:(pt,Re,g)=>{"use strict";function P(z,C){return function(N,k){C(N,k,z)}}g.d(Re,{Fw:()=>ve,Ke:()=>Te});var j=g(4650),X=g(6895),Ce=g(4424),_e=g(5021);let Te=(()=>{let z=class{constructor(N,k){this.platformId=k,this._driver=null,this._dbPromise=new Promise((se,ae)=>{if((0,X.PM)(this.platformId)){const dt=function We(){const z=()=>{};return{getItem:z,setItem:z,removeItem:z,clear:z,length:()=>0,keys:()=>[],iterate:z}}();return void se(dt)}let Ye;const gt=Object.assign({name:"_ionicstorage",storeName:"_ionickv",dbKey:"_ionickey",driverOrder:["sqlite","indexeddb","websql","localstorage"]},N||{});(0,Ce.defineDriver)(_e).then(()=>{Ye=(0,Ce.createInstance)(gt)}).then(()=>Ye.setDriver(this._getDriverOrder(gt.driverOrder))).then(()=>{this._driver=Ye.driver(),se(Ye)}).catch(dt=>ae(dt))})}get driver(){return this._driver}ready(){return this._dbPromise}_getDriverOrder(N){return N.map(k=>{switch(k){case"sqlite":return _e._driver;case"indexeddb":return Ce.INDEXEDDB;case"websql":return Ce.WEBSQL;case"localstorage":return Ce.LOCALSTORAGE}})}get(N){return this._dbPromise.then(k=>k.getItem(N))}set(N,k){return this._dbPromise.then(se=>se.setItem(N,k))}remove(N){return this._dbPromise.then(k=>k.removeItem(N))}clear(){return this._dbPromise.then(N=>N.clear())}length(){return this._dbPromise.then(N=>N.length())}keys(){return this._dbPromise.then(N=>N.keys())}forEach(N){return this._dbPromise.then(k=>k.iterate(N))}};return z=function te(z,C,N,k){var Ye,se=arguments.length,ae=se<3?C:null===k?k=Object.getOwnPropertyDescriptor(C,N):k;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ae=Reflect.decorate(z,C,N,k);else for(var qe=z.length-1;qe>=0;qe--)(Ye=z[qe])&&(ae=(se<3?Ye(ae):se>3?Ye(C,N,ae):Ye(C,N))||ae);return se>3&&ae&&Object.defineProperty(C,N,ae),ae}([P(1,(0,j.tBr)(j.Lbi))],z),z})();const ie=new j.OlP("STORAGE_CONFIG_TOKEN");function ke(z,C){return new Te(z||{name:"_ionicstorage",storeName:"_ionickv",dbKey:"_ionickey",driverOrder:["sqlite","indexeddb","websql","localstorage"]},C)}var st;let ve=st=class{static forRoot(C=null){return{ngModule:st,providers:[{provide:ie,useValue:C},{provide:Te,useFactory:ke,deps:[ie,j.Lbi]}]}}};ve.\u0275fac=function(C){return new(C||ve)},ve.\u0275mod=j.oAB({type:ve}),ve.\u0275inj=j.cJS({})},227:(pt,Re,g)=>{"use strict";g.d(Re,{de:()=>oe,ew:()=>ne,Ei:()=>he,VL:()=>Z});var o=g(4650),r=g(4004),B=g(5861),V=g(4707),te=g(4158);let P=(()=>{class ye{constructor(re){this.storage=re,this.subjects=new Map}clear(){var re=this;return(0,B.Z)(function*(){yield re.storage.ready(),yield re.storage.clear(),re.subjects.forEach(ce=>ce.next(void 0))})()}get(re){var ce=this;return(0,B.Z)(function*(){return yield ce.storage.ready(),yield ce.storage.get(re)})()}observe(re){let ce=this.subjects.get(re);return ce||(ce=new V.t(1),this.subjects.set(re,ce),this.storage.ready().then(()=>{this.storage.get(re).then(W=>{ce.next(W)}).catch(W=>{ce.error(W)})})),ce}remove(re){var ce=this;return(0,B.Z)(function*(){yield ce.storage.ready(),yield ce.storage.remove(re);const W=ce.subjects.get(re);W&&W.next(void 0)})()}set(re,ce){var W=this;return(0,B.Z)(function*(){yield W.storage.ready(),yield W.storage.set(re,ce);const pe=W.subjects.get(re);pe&&pe.next(ce)})()}static#e=this.\u0275fac=function(ce){return new(ce||ye)(o.LFG(te.Ke))};static#t=this.\u0275prov=o.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();const R=(0,o.X6Q)()?[{name:"Max",code:"MAX",color:"#3670c6"},{name:"Fernando",code:"FER",color:"#358c75"},{name:"Lewis",code:"LEW",color:"#6cd3bf"},{name:"Charles",code:"CHA",color:"#f91537"},{name:"Lando",code:"LAN",color:"#f58020"},{name:"Nico",code:"NIC",color:"#b6babd"},{name:"Ghost",code:"GHO",color:"#606060"},{name:"Pace Car",code:"PAC",color:"#d4af37"}]:[{color:"#ff0000"},{color:"#00ff00"},{color:"#0000ff"},{color:"#ffff00"},{color:"#ff00ff"},{color:"#00ffff"},{color:"#ffffff"},{color:"#cccccc"}],Y={bestlap:!0,bests1:!1,bests2:!1,bests3:!1,falsestart:!0,finallap:!0,finished:!0,finished1st:!0,finished2nd:!0,finished3rd:!0,fivelaps:!0,fuel0:!0,fuel1:!0,fuel2:!0,greenflag:!0,newleader:!0,oneminute:!0,pitenter:!1,pitexit:!1,timeout:!0,yellowflag:!0};class ne{constructor(){this.connectionTimeout=3e3,this.requestTimeout=2e3,this.minReconnectDelay=3e3,this.maxReconnectDelay=8e3,this.demoControlUnit=(0,o.X6Q)()}}class he{constructor(){this.cumode=!0,this.debug=(0,o.X6Q)(),this.fixedorder=!1,this.language="",this.speech=!0,this.sectors=!1}}class Z{constructor(de){switch(this.mode=de,this.pause=!1,this.slotmode=!1,this.stopfin=!1,this.auto=!1,this.pace=!1,this.minLapTime=500,de){case"practice":this.laps=0,this.time=0,this.auto=!0,this.pace=!0;break;case"qualifying":this.laps=0,this.time=18e4;break;case"race":this.laps=30,this.time=0}}}let oe=(()=>{class ye{constructor(re){this.settings=re}clear(){return this.settings.clear()}getConnection(){return this.settings.observe("connection").pipe((0,r.U)(re=>Object.assign(new ne,re)))}setConnection(re){return this.settings.set("connection",re)}getDrivers(){return this.settings.observe("drivers").pipe((0,r.U)(re=>{const ce=new Array(8);for(let W=0;W!=ce.length;++W)ce[W]=Object.assign(R[W],re?re[W]:null);return ce}))}setDrivers(re){return this.settings.set("drivers",re)}getNotifications(){return this.settings.observe("notifications").pipe((0,r.U)(re=>{const ce={};for(let W of Object.keys(Y))ce[W]=Object.assign({enabled:Y[W]},re?re[W]:null);return ce}))}setNotifications(re){return this.settings.set("notifications",re)}getOptions(){return this.settings.observe("options").pipe((0,r.U)(re=>Object.assign(new he,re)))}setOptions(re){return this.settings.set("options",re)}getQualifyingSettings(){return this.settings.observe("qualifying").pipe((0,r.U)(re=>Object.assign(new Z("qualifying"),re)))}setQualifyingSettings(re){return this.settings.set("qualifying",re)}getRaceSettings(){return this.settings.observe("race").pipe((0,r.U)(re=>Object.assign(new Z("race"),re)))}setRaceSettings(re){return this.settings.set("race",re)}static#e=this.\u0275fac=function(ce){return new(ce||ye)(o.LFG(P))};static#t=this.\u0275prov=o.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})()},6475:(pt,Re,g)=>{"use strict";g.d(Re,{z:()=>re});var o=g(5861),r=g(3771),B=g(9509),V=g(4598),te=g(9986),P=g(9102),R=g(8675),Y=g(4004),ne=g(1884),he=g(4650),Z=g(958),oe=g(5082),ye=g(9062),de=(()=>{return(ce=de||(de={})).Portrait="portrait",ce.Landscape="landscape",de;var ce})();class re{constructor(W,pe,be,Ve,Me,Le,Pe,we){this.platform=W,this.app=pe,this.device=be,this.fullscreen=Ve,this.insomnia=Me,this.sharing=Le,this.splash=Pe,this.exit=void 0,this.share=void 0,this.backButton=W.backButton,W.ready().then(j=>{"cordova"===j&&we.styleDefault()}),this.isCordova()&&this.isAndroid()&&(this.exit=()=>this.doExit()),this.isCordova()&&P.e&&(this.share=(j,X)=>this.doShare(j,X)),this.orientation=W.resize.pipe((0,R.O)(void 0),(0,Y.U)(()=>W.isPortrait()?de.Portrait:de.Landscape),(0,ne.x)())}static#e=this.PORTRAIT=de.Portrait;static#t=this.LANDSCAPE=de.Landscape;getName(){var W=this;return(0,o.Z)(function*(){return W.isCordova()&&B.b?(yield W.platform.ready(),W.app.getAppName()):"App"})()}getVersion(){var W=this;return(0,o.Z)(function*(){return W.isCordova()&&B.b?(yield W.platform.ready(),W.app.getVersionNumber()):"Web"})()}getVersionCode(){var W=this;return(0,o.Z)(function*(){if(W.isCordova()&&B.b)return yield W.platform.ready(),(yield W.app.getVersionCode()).toString()})()}getDeviceInfo(){var W=this;return(0,o.Z)(function*(){return W.isCordova()&&V.A?(yield W.platform.ready(),{isVirtual:W.device.isVirtual,manufacturer:W.device.manufacturer,model:W.device.model,platform:W.device.platform,version:W.device.version}):{isVirtual:!1,manufacturer:"",model:"",platform:"browser",version:""}})()}enableFullScreen(W){var pe=this;return(0,o.Z)(function*(){pe.isCordova()&&pe.isAndroid()&&r.B&&(yield pe.platform.ready(),W?pe.fullscreen.immersiveMode():pe.fullscreen.showSystemUI())})()}hideSplashScreen(){var W=this;return(0,o.Z)(function*(){W.isCordova()&&W.splash&&(yield W.platform.ready(),W.splash.hide())})()}keepAwake(W){var pe=this;return(0,o.Z)(function*(){pe.isCordova()&&te.s&&(yield pe.platform.ready(),W?pe.insomnia.keepAwake():pe.insomnia.allowSleepAgain())})()}isAndroid(){return this.platform.is("android")}isCordova(){return this.platform.is("cordova")}doShare(W,pe){var be=this;return(0,o.Z)(function*(){if(yield be.platform.ready(),P.e)return be.sharing.shareWithOptions({message:pe,subject:W})})()}doExit(){var W=this;return(0,o.Z)(function*(){yield W.platform.ready(),navigator.app&&navigator.app.exitApp&&navigator.app.exitApp()})()}static#n=this.\u0275fac=function(pe){return new(pe||re)(he.LFG(Z.t4),he.LFG(B.b),he.LFG(V.A),he.LFG(r.B),he.LFG(te.s),he.LFG(P.e),he.LFG(oe.c),he.LFG(ye.A))};static#r=this.\u0275prov=he.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"})}},6698:(pt,Re,g)=>{"use strict";g.d(Re,{zi:()=>o.z,V1:()=>R,Pn:()=>Z,tQ:()=>pe,ed:()=>P,vA:()=>Le});var o=g(6475),r=g(1135),B=g(4650),V=(()=>{return(Pe=V||(V={}))[Pe.DEBUG=0]="DEBUG",Pe[Pe.INFO=1]="INFO",Pe[Pe.WARNING=2]="WARNING",Pe[Pe.ERROR=3]="ERROR",V;var Pe})();let P=(()=>{class Pe{constructor(){this.level=V.INFO,this.limit=50,this.records=new Array}isDebugEnabled(){return this.level===V.DEBUG}setDebugEnabled(j){this.level=j?V.DEBUG:V.INFO}debug(...j){this.log(V.DEBUG,j)}info(...j){this.log(V.INFO,j)}warn(...j){this.log(V.WARNING,j)}error(...j){this.log(V.ERROR,j)}clear(){this.records.length=0}log(j,X){if(j>=this.level){for(console.log.apply(console,X);this.records.length>=this.limit;)this.records.shift();this.records.push({level:j,time:Date.now(),args:X})}}static#e=this.\u0275fac=function(X){return new(X||Pe)};static#t=this.\u0275prov=B.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})(),R=(()=>{class Pe extends r.X{constructor(j){super(null),this.logger=j}next(j){this.value?this.value.disconnect().catch(X=>{this.logger.error("Error disconnecting from",this.value,X)}).then(()=>{super.next(j)}):super.next(j)}static#e=this.\u0275fac=function(X){return new(X||Pe)(B.LFG(P))};static#t=this.\u0275prov=B.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})();var Y=g(5861),ne=g(9149),he=g(6188);let Z=(()=>{class Pe{constructor(j,X){this.alert=j,this.translate=X}show(j){var X=this;return(0,Y.Z)(function*(){return j&&(j=yield X.translateAlertOptions(j)),yield(yield X.alert.create(j)).present()})()}translateAlertOptions(j){var X=this;return(0,Y.Z)(function*(){const[Ce,_e,Te,Be]=yield Promise.all([X.translateString(j.header),X.translateString(j.subHeader),X.translateString(j.message),Promise.all((j.buttons||[]).map(ie=>"string"==typeof ie?X.translateString(ie):X.translateString(ie.text).then(ke=>Object.assign({},ie,{text:ke}))))]);return Object.assign({},j,{header:Ce,subHeader:_e,message:Te,buttons:Be})})()}translateString(j){return j?this.translate.get(j).toPromise():Promise.resolve(j)}static#e=this.\u0275fac=function(X){return new(X||Pe)(B.LFG(ne.Br),B.LFG(he.sK))};static#t=this.\u0275prov=B.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})();var oe=g(958),ye=g(4879);class de{constructor(we,j){this.platform=we,this.toast=j}show(we,j,X){var Ce=this;return(0,Y.Z)(function*(){return yield Ce.platform.ready(),yield Ce.toast.hide(),Ce.toast.show(we,j.toString(),X).toPromise()})()}}class re{constructor(we){this.controller=we}show(we,j,X){var Ce=this;return(0,Y.Z)(function*(){return(yield Ce.controller.create({message:we,duration:j,position:"center"===X?"middle":X})).present()})()}}const W=4e3;let pe=(()=>{class Pe{constructor(j,X,Ce,_e){this.translate=_e,this.toast=j.is("cordova")?new de(j,X):new re(Ce)}showShortTop(j,X){return this.show("top",2e3,j,X)}showShortCenter(j,X){return this.show("center",2e3,j,X)}showShortBottom(j,X){return this.show("bottom",2e3,j,X)}showLongTop(j,X){return this.show("top",W,j,X)}showLongCenter(j,X){return this.show("center",W,j,X)}showLongBottom(j,X){return this.show("bottom",W,j,X)}show(j,X,Ce,_e){var Te=this;return(0,Y.Z)(function*(){const Be=yield Te.translate.get(Ce,_e).toPromise();return Te.toast.show(Be,X,j)})()}static#e=this.\u0275fac=function(X){return new(X||Pe)(B.LFG(oe.t4),B.LFG(ye.F),B.LFG(ne.yF),B.LFG(he.sK))};static#t=this.\u0275prov=B.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})();var be=g(694);class Ve{constructor(we,j){this.speech=we,j.debug("Using Web Speech API")}speak(we){return new Promise((j,X)=>{const Ce=this.__utterance__=new SpeechSynthesisUtterance;"string"==typeof we?Ce.text=we:(Ce.text=we.text,Ce.lang=we.locale,Ce.rate=we.rate),Ce.onend=()=>{j()},Ce.onerror=_e=>{X(_e)};try{this.speech.speak(Ce)}catch(_e){X(_e)}})}stop(){return new Promise((we,j)=>{try{this.speech.cancel(),we()}catch(X){j(X)}})}getVoices(){return Promise.resolve([])}}class Me{constructor(we){we.info("Speech not supported on this platform")}speak(we){return Promise.resolve()}stop(){return Promise.resolve()}getVoices(){return Promise.resolve([])}}let Le=(()=>{class Pe{constructor(j,X,Ce){this.logger=j,this.tts=X,this.locale="en-US",this.promise=Promise.resolve(),this.pending=0,this.rate=1,Ce.is("cordova")?this.rate=Ce.is("ios")?1.5:1:this.tts=window.speechSynthesis?new Ve(window.speechSynthesis,j):new Me(j)}setLocale(j){this.locale=j}setRate(j){this.rate=j}speak(j){j!=this.lastMessage?(this.lastMessage=j,this.pending++,this.promise=this.promise.then(()=>0==--this.pending?this.tts.speak({text:j,locale:this.locale||"en-us",rate:this.rate,identifier:null}).then(()=>{0===this.pending&&(this.lastMessage=null)}).catch(X=>{this.logger.error("Speech error:",X),0===this.pending&&(this.lastMessage=null)}):(this.logger.warn("Speech cancelled: "+j),Promise.resolve())).catch(X=>{this.logger.error("Speech error:",X)})):this.logger.info("Speech duplicate dismissed: "+j)}static#e=this.\u0275fac=function(X){return new(X||Pe)(B.LFG(P),B.LFG(be.E),B.LFG(oe.t4))};static#t=this.\u0275prov=B.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})()},6557:(pt,Re,g)=>{"use strict";g.d(Re,{t:()=>R});var o=g(4650),r=g(6475),B=g(9149);let V=(()=>{class Y{onClick(){return window.open(this.href,this.target),!1}static#e=this.\u0275fac=function(Z){return new(Z||Y)};static#t=this.\u0275dir=o.lG2({type:Y,selectors:[["a","target",""]],hostBindings:function(Z,oe){1&Z&&o.NdJ("click",function(){return oe.onClick()})},inputs:{target:"target",href:"href"}})}return Y})();var te=g(6188),P=g(6895);let R=(()=>{class Y{constructor(he){this.app=he,this.version=he.getVersion()}static#e=this.\u0275fac=function(Z){return new(Z||Y)(o.Y36(r.z))};static#t=this.\u0275cmp=o.Xpm({type:Y,selectors:[["ng-component"]],decls:33,vars:3,consts:[["slot","start"],["defaultHref","/"],["translate",""],["src","assets/icons/icon-128x128.png"],["href","https://github.com/tkem/openlap/","target","_system"],[1,"ion-text-wrap"]],template:function(Z,oe){1&Z&&(o.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),o._UZ(3,"ion-back-button",1),o.qZA(),o.TgZ(4,"ion-title")(5,"span",2),o._uU(6,"About Open Lap"),o.qZA()()()(),o.TgZ(7,"ion-content")(8,"ion-item")(9,"ion-thumbnail",0),o._UZ(10,"img",3),o.qZA(),o.TgZ(11,"ion-label")(12,"h1"),o._uU(13),o.ALo(14,"async"),o.qZA(),o.TgZ(15,"a",4),o._uU(16," https://github.com/tkem/openlap/ "),o.qZA()()(),o.TgZ(17,"ion-item")(18,"ion-label",5),o._uU(19," Copyright \xa9 2016-2023 Thomas Kemmer. "),o.qZA()(),o.TgZ(20,"ion-item")(21,"ion-label",5),o._uU(22," Licensed under the Apache License, Version 2.0. "),o.qZA()(),o.TgZ(23,"ion-item")(24,"ion-label",5)(25,"span",2),o._uU(26,"Translations"),o.qZA(),o._uU(27,": Haarman (Nederlands), SdiF (Italiano), Maikeru (Espa\xf1ol), nico12 (Fran\xe7ais). "),o.qZA()(),o.TgZ(28,"ion-item")(29,"ion-label",5)(30,"span",2),o._uU(31,"iOS support"),o.qZA(),o._uU(32,": softyde, elliot2extreme. "),o.qZA()()()),2&Z&&(o.xp6(13),o.hij("Open Lap ",o.lcZ(14,1,oe.version),""))},dependencies:[B.Sm,B.W2,B.Gu,B.Ie,B.Q$,B.Bs,B.wd,B.sr,B.oU,V,te.Pi,P.Ov],encapsulation:2})}return Y})()},6291:(pt,Re,g)=>{"use strict";g.d(Re,{X:()=>ne});var o=g(5698),r=g(227),B=g(4650),V=g(6698),te=g(4006),P=g(9149),R=g(6188);let ne=(()=>{class he{constructor(oe,ye){this.logger=oe,this.settings=ye,this.connection=new r.ew,this.ranges={connection:5e3,request:1e3,reconnect:{lower:2e3,upper:1e4}},this.demo=!1}ngOnInit(){this.settings.getConnection().pipe((0,o.q)(1)).toPromise().then(oe=>{this.connection=oe,this.ranges={connection:oe.connectionTimeout,request:oe.requestTimeout,reconnect:{lower:oe.minReconnectDelay,upper:oe.maxReconnectDelay}},this.demo=oe.demoControlUnit}).catch(oe=>{this.logger.error("Error getting connection parameters",oe)})}ngOnDestroy(){const oe={connectionTimeout:this.ranges.connection,requestTimeout:this.ranges.request,minReconnectDelay:this.ranges.reconnect.lower,maxReconnectDelay:this.ranges.reconnect.upper,demoControlUnit:this.demo};(function Y(he,Z){for(let oe in he)if(he[oe]!==Z[oe])return!1;return!0})(oe,this.connection)||this.settings.setConnection(Object.assign({},this.connection,oe)).catch(ye=>{this.logger.error("Error setting connection parameters",ye)})}static#e=this.\u0275fac=function(ye){return new(ye||he)(B.Y36(V.ed),B.Y36(r.de))};static#t=this.\u0275cmp=B.Xpm({type:he,selectors:[["ng-component"]],decls:36,vars:4,consts:[["slot","start"],["defaultHref","/"],["translate",""],["translate","",1,"ion-text-wrap"],["legacy","true","slot","end","min","1000","max","5000","step","500","snaps","true",3,"ngModel","ngModelChange"],["slot","end"],["legacy","true","slot","end","dualKnobs","true","min","2000","max","10000","step","1000","snaps","true",3,"ngModel","ngModelChange"],["translate","",3,"ngModel","ngModelChange"]],template:function(ye,de){1&ye&&(B.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),B._UZ(3,"ion-back-button",1),B.qZA(),B.TgZ(4,"ion-title")(5,"span",2),B._uU(6,"Connection"),B.qZA()()()(),B.TgZ(7,"ion-content")(8,"ion-list")(9,"ion-item")(10,"ion-label",3),B._uU(11," Connection timeout "),B.qZA(),B.TgZ(12,"ion-range",4),B.NdJ("ngModelChange",function(ce){return de.ranges.connection=ce}),B.TgZ(13,"ion-label",0),B._uU(14,"1 s"),B.qZA(),B.TgZ(15,"ion-label",5),B._uU(16,"5 s"),B.qZA()()(),B.TgZ(17,"ion-item")(18,"ion-label",3),B._uU(19," Request timeout "),B.qZA(),B.TgZ(20,"ion-range",4),B.NdJ("ngModelChange",function(ce){return de.ranges.request=ce}),B.TgZ(21,"ion-label",0),B._uU(22,"1 s"),B.qZA(),B.TgZ(23,"ion-label",5),B._uU(24,"5 s"),B.qZA()()(),B.TgZ(25,"ion-item")(26,"ion-label",3),B._uU(27," Reconnect delay "),B.qZA(),B.TgZ(28,"ion-range",6),B.NdJ("ngModelChange",function(ce){return de.ranges.reconnect=ce}),B.TgZ(29,"ion-label",0),B._uU(30,"2 s"),B.qZA(),B.TgZ(31,"ion-label",5),B._uU(32,"10 s"),B.qZA()()(),B.TgZ(33,"ion-item")(34,"ion-toggle",7),B.NdJ("ngModelChange",function(ce){return de.demo=ce}),B._uU(35,"Demo Control Unit"),B.qZA()()()()),2&ye&&(B.xp6(12),B.Q6J("ngModel",de.ranges.connection),B.xp6(8),B.Q6J("ngModel",de.ranges.request),B.xp6(8),B.Q6J("ngModel",de.ranges.reconnect),B.xp6(6),B.Q6J("ngModel",de.demo))},dependencies:[te.JJ,te.On,P.Sm,P.W2,P.Gu,P.Ie,P.Q$,P.q_,P.I_,P.wd,P.ho,P.sr,P.w,P.j9,P.oU,R.Pi],encapsulation:2})}return he})()},3256:(pt,Re,g)=>{"use strict";g.d(Re,{p:()=>P});var o=g(4650),r=g(6895),B=g(9149),V=g(6188);function te(R,Y){if(1&R&&(o.TgZ(0,"ion-item",4)(1,"ion-label")(2,"h1"),o._uU(3),o.qZA(),o.TgZ(4,"h2"),o._uU(5),o.qZA(),o.TgZ(6,"p")(7,"span",2),o._uU(8,"License"),o.qZA(),o._uU(9),o.qZA()()()),2&R){const ne=Y.$implicit;o.Q6J("href",ne.homepage),o.xp6(3),o.Oqu(ne.name),o.xp6(2),o.Oqu(ne.copyright||ne.author),o.xp6(4),o.hij(": ",ne.license,"")}}let P=(()=>{class R{constructor(){this.items=[{name:"Angular",copyright:"Super-powered by Google \xa92010-2023",license:"MIT",homepage:"https://angular.io/"},{name:"Apache Cordova",copyright:"Copyright \xa9 2023 The Apache Software Foundation",license:"Apache-2.0",homepage:"https://cordova.apache.org/"},{name:"Awesome Cordova Plugins",copyright:"Copyright (c) 2015-present Drifty Co.",license:"MIT",homepage:"https://github.com/danielsogl/awesome-cordova-plugins"},{name:"Ionic",copyright:"Copyright (c) 2015-present Drifty Co.",license:"MIT",homepage:"https://github.com/driftyco/ionic#readme"},{name:"RxJS",copyright:"Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors",license:"Apache-2.0",homepage:"https://github.com/ReactiveX/RxJS#readme"},{name:"cordova-plugin-app-version",copyright:"Copyright (c) 2013 White October",license:"MIT",homepage:"https://github.com/whiteoctober/cordova-plugin-app-version#readme"},{name:"cordova-plugin-ble-central",copyright:"Copyright 2014-2020 Don Coleman",license:"Apache-2.0",homepage:"https://github.com/don/cordova-plugin-ble-central#readme"},{name:"cordova-plugin-device",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-device#readme"},{name:"cordova-plugin-fullscreen",copyright:"Copyright (c) 2014, Mesmotronic Limited",license:"BSD",homepage:"https://github.com/mesmotronic/cordova-fullscreen-plugin#readme"},{name:"cordova-plugin-inappbrowser",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-inappbrowser#readme"},{name:"cordova-plugin-insomnia",author:"Eddy Verbruggen",license:"MIT",homepage:"https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin#readme"},{name:"cordova-plugin-screen-orientation",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-screen-orientation#readme"},{name:"cordova-plugin-splashscreen",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-splashscreen#readme"},{name:"cordova-plugin-statusbar",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-statusbar#readme"},{name:"cordova-plugin-tts-advanced",author:"Sebastiaan Pasma and VILIC VANE",license:"MIT",homepage:"https://github.com/spasma/cordova-plugin-tts-advanced#readme"},{name:"cordova-plugin-whitelist",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-whitelist#readme"},{name:"cordova-plugin-x-socialsharing",author:"Eddy Verbruggen",license:"MIT",homepage:"https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin#readme"},{name:"cordova-plugin-x-toast",author:"Eddy Verbruggen",license:"MIT",homepage:"https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin#readme"},{name:"cordova-sqlite-storage",author:"various",license:"MIT",homepage:"https://github.com/litehelpers/Cordova-sqlite-storage"},{name:"cordovarduino",copyright:"Copyright (c) 2015 Xavier Seignard",license:"MIT",homepage:"https://github.com/xseignard/cordovarduino#readme"},{name:"ngx-translate",author:"Olivier Combe",license:"MIT",homepage:"https://github.com/ngx-translate/core#readme"}]}static#e=this.\u0275fac=function(he){return new(he||R)};static#t=this.\u0275cmp=o.Xpm({type:R,selectors:[["ng-component"]],decls:10,vars:1,consts:[["slot","start"],["defaultHref","/"],["translate",""],["target","_system",3,"href",4,"ngFor","ngForOf"],["target","_system",3,"href"]],template:function(he,Z){1&he&&(o.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),o._UZ(3,"ion-back-button",1),o.qZA(),o.TgZ(4,"ion-title")(5,"span",2),o._uU(6,"Open source licenses"),o.qZA()()()(),o.TgZ(7,"ion-content")(8,"ion-list"),o.YNc(9,te,10,4,"ion-item",3),o.qZA()()),2&he&&(o.xp6(9),o.Q6J("ngForOf",Z.items))},dependencies:[r.sg,B.Sm,B.W2,B.Gu,B.Ie,B.Q$,B.q_,B.wd,B.sr,B.oU,V.Pi],encapsulation:2})}return R})()},6928:(pt,Re,g)=>{"use strict";g.d(Re,{B:()=>ye});var o=g(227),r=g(4650),B=g(6698),V=g(9149),te=g(6895),P=g(4006),R=g(6188);function Y(de,re){if(1&de){const ce=r.EpF();r.TgZ(0,"ion-item",2),r.NdJ("click",function(){r.CHM(ce);const pe=r.oxw();return r.KtG(pe.share())}),r.TgZ(1,"ion-label")(2,"span",3),r._uU(3,"Share"),r.qZA(),r._uU(4,"\u2026"),r.qZA()()}}function ne(de){try{return JSON.stringify(de)}catch{return""+de}}let he=(()=>{class de{constructor(ce,W,pe,be){this.app=ce,this.logger=W,this.settings=pe,this.controller=be,this.options=new o.Ei,this.share=void 0,ce.share&&(this.share=()=>this.doShare())}get debugEnabled(){return this.options.debug}set debugEnabled(ce){this.options.debug=ce,this.settings.setOptions(this.options),this.dismiss()}ngOnInit(){this.subscription=this.settings.getOptions().subscribe({next:ce=>{this.options=ce},error:ce=>{this.logger.error("Logging settings: ",ce)},complete:()=>{this.logger.debug("Logging settings complete")}})}ngOnDestroy(){this.subscription.unsubscribe()}clear(){this.logger.clear(),this.dismiss()}dismiss(){return this.controller.dismiss()}doShare(){Promise.all([this.app.getName(),this.app.getVersion(),this.app.getDeviceInfo()]).then(([ce,W,pe])=>{const be=this.logger.records.map(Me=>[Me.level,Me.time,Me.args.map(ne).join(" ")].join("\t")).join("\n"),Ve=ce+" "+W+" ("+[pe.model,pe.platform,pe.version].join(" ")+")";return this.app.share(Ve,be)}).catch(ce=>{this.logger.error("Error sharing log:",ce)}).then(()=>{this.dismiss()})}static#e=this.\u0275fac=function(W){return new(W||de)(r.Y36(B.zi),r.Y36(B.ed),r.Y36(o.de),r.Y36(V.Dh))};static#t=this.\u0275cmp=r.Xpm({type:de,selectors:[["ng-component"]],decls:9,vars:2,consts:[["translate","",3,"ngModel","ngModelChange"],["button","",3,"click",4,"ngIf"],["button","",3,"click"],["translate",""]],template:function(W,pe){1&W&&(r.TgZ(0,"ion-item-group")(1,"ion-item")(2,"ion-checkbox",0),r.NdJ("ngModelChange",function(Ve){return pe.debugEnabled=Ve}),r._uU(3,"Debug messages"),r.qZA()(),r.YNc(4,Y,5,0,"ion-item",1),r.TgZ(5,"ion-item",2),r.NdJ("click",function(){return pe.clear()}),r.TgZ(6,"ion-label")(7,"span",3),r._uU(8,"Clear"),r.qZA()()()()),2&W&&(r.xp6(2),r.Q6J("ngModel",pe.debugEnabled),r.xp6(2),r.Q6J("ngIf",pe.share))},dependencies:[te.O5,P.JJ,P.On,V.nz,V.Ie,V.Ub,V.Q$,V.w,R.Pi],encapsulation:2})}return de})();function Z(de,re){if(1&de&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&de){const ce=re.$implicit,W=r.oxw(2);r.xp6(1),r.hij(" ",W.stringify(ce),"")}}function oe(de,re){if(1&de&&(r.TgZ(0,"ion-item"),r._UZ(1,"ion-icon",7),r.TgZ(2,"ion-label",8)(3,"span",0),r._uU(4),r.ALo(5,"date"),r.ALo(6,"number"),r.qZA(),r.YNc(7,Z,2,1,"span",6),r.qZA()()),2&de){const ce=re.$implicit,W=r.oxw();r.xp6(1),r.Q6J("name",null==W.icons[ce.level]?null:W.icons[ce.level].name)("ngStyle",null==W.icons[ce.level]?null:W.icons[ce.level].style),r.xp6(3),r.AsE("",r.xi3(5,5,ce.time,"HH:mm:ss"),".",r.xi3(6,8,ce.time%1e3,"3.0-0"),":"),r.xp6(3),r.Q6J("ngForOf",ce.args)}}let ye=(()=>{class de{constructor(ce,W){this.logger=ce,this.popover=W,this.icons=[{name:"bug-sharp",style:{color:"green"}},{name:"information-circle-sharp",style:{color:"blue"}},{name:"warning-sharp",style:{color:"yellow"}},{name:"alert-circle-sharp",style:{color:"red"}}]}showMenu(ce){return this.popover.create({component:he,event:ce}).then(W=>{W.present()})}stringify(ce){if("object"!=typeof ce||ce instanceof Error)return ce;try{return JSON.stringify(ce,null," ")}catch{return""+ce}}static#e=this.\u0275fac=function(W){return new(W||de)(r.Y36(B.ed),r.Y36(V.Dh))};static#t=this.\u0275cmp=r.Xpm({type:de,selectors:[["ng-component"]],decls:13,vars:1,consts:[["slot","start"],["defaultHref","/"],["translate",""],["slot","primary"],[3,"click"],["slot","icon-only","name","ellipsis-vertical-sharp"],[4,"ngFor","ngForOf"],["slot","start",3,"name","ngStyle"],[1,"ion-text-wrap"]],template:function(W,pe){1&W&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),r._UZ(3,"ion-back-button",1),r.qZA(),r.TgZ(4,"ion-title")(5,"span",2),r._uU(6,"Event log"),r.qZA()(),r.TgZ(7,"ion-buttons",3)(8,"ion-button",4),r.NdJ("click",function(Ve){return pe.showMenu(Ve)}),r._UZ(9,"ion-icon",5),r.qZA()()()(),r.TgZ(10,"ion-content")(11,"ion-list"),r.YNc(12,oe,8,11,"ion-item",6),r.qZA()()),2&W&&(r.xp6(12),r.Q6J("ngForOf",pe.logger.records))},dependencies:[te.sg,te.PC,V.YG,V.Sm,V.W2,V.Gu,V.gu,V.Ie,V.Q$,V.q_,V.wd,V.sr,V.oU,R.Pi,te.JJ,te.uU],encapsulation:2})}return de})()},6659:(pt,Re,g)=>{"use strict";g.d(Re,{d:()=>he});var o=g(5698),r=g(4650),B=g(6698),V=g(227),te=g(6188),P=g(6895),R=g(4006),Y=g(9149);function ne(Z,oe){if(1&Z){const ye=r.EpF();r.TgZ(0,"ion-item")(1,"ion-input",4),r.NdJ("ngModelChange",function(re){const W=r.CHM(ye).$implicit,pe=r.oxw();return r.KtG(pe.notifications[W.id].message=re)}),r.ALo(2,"translate"),r.ALo(3,"translate"),r.qZA(),r.TgZ(4,"ion-buttons",5)(5,"ion-button",6),r.NdJ("click",function(){const ce=r.CHM(ye).$implicit,W=r.oxw();return r.KtG(W.speak(ce.id))}),r._UZ(6,"ion-icon",7),r.qZA(),r.TgZ(7,"ion-toggle",8),r.NdJ("ngModelChange",function(re){const W=r.CHM(ye).$implicit,pe=r.oxw();return r.KtG(pe.notifications[W.id].enabled=re)}),r.qZA()()()}if(2&Z){const ye=oe.$implicit,de=r.oxw();r.xp6(1),r.s9C("label",r.lcZ(2,4,ye.label)),r.Q6J("ngModel",de.notifications[ye.id].message)("placeholder",r.lcZ(3,6,"notifications."+ye.id)),r.xp6(6),r.Q6J("ngModel",de.notifications[ye.id].enabled)}}let he=(()=>{class Z{constructor(ye,de,re,ce){this.logger=ye,this.settings=de,this.speech=re,this.translate=ce,this.items=[{id:"finished",label:"Race finished"},{id:"finished1st",label:"Finished first"},{id:"finished2nd",label:"Finished second"},{id:"finished3rd",label:"Finished third"},{id:"timeout",label:"Timeout"},{id:"oneminute",label:"One minute to go"},{id:"fivelaps",label:"Five laps to go"},{id:"finallap",label:"Final lap"},{id:"yellowflag",label:"Yellow flag"},{id:"greenflag",label:"Track clear"},{id:"falsestart",label:"False start"},{id:"newleader",label:"New race leader"},{id:"bestlap",label:"Fastest lap"},{id:"bests1",label:"Fastest sector 1"},{id:"bests2",label:"Fastest sector 2"},{id:"bests3",label:"Fastest sector 3"},{id:"fuel2",label:"Fuel < 20%"},{id:"fuel1",label:"Fuel < 10%"},{id:"fuel0",label:"No fuel"},{id:"pitenter",label:"Car enters pit"},{id:"pitexit",label:"Car leaves pit"}],this.notifications={};for(let W of this.items)this.notifications[W.id]={enabled:!1,message:void 0}}ngOnInit(){this.settings.getNotifications().pipe((0,o.q)(1)).toPromise().then(ye=>{this.notifications=ye}).catch(ye=>{this.logger.error("Error getting notifications",ye)})}ngOnDestroy(){this.settings.setNotifications(this.notifications).catch(ye=>{this.logger.error("Error setting notifications",ye)})}speak(ye){this.getMessage(ye).then(de=>{this.speech.speak(de)})}getMessage(ye){return this.notifications[ye]&&this.notifications[ye].message?Promise.resolve(this.notifications[ye].message):this.translate.get("notifications."+ye).toPromise()}static#e=this.\u0275fac=function(de){return new(de||Z)(r.Y36(B.ed),r.Y36(V.de),r.Y36(B.vA),r.Y36(te.sK))};static#t=this.\u0275cmp=r.Xpm({type:Z,selectors:[["ng-component"]],decls:10,vars:1,consts:[["slot","start"],["defaultHref","/"],["translate",""],[4,"ngFor","ngForOf"],["clearInput","","labelPlacement","stacked",3,"label","ngModel","placeholder","ngModelChange"],["slot","end"],["fill","clear",3,"click"],["name","volume-high-sharp"],["aria-label","",3,"ngModel","ngModelChange"]],template:function(de,re){1&de&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),r._UZ(3,"ion-back-button",1),r.qZA(),r.TgZ(4,"ion-title")(5,"span",2),r._uU(6,"Notifications"),r.qZA()()()(),r.TgZ(7,"ion-content")(8,"ion-list"),r.YNc(9,ne,8,8,"ion-item",3),r.qZA()()),2&de&&(r.xp6(9),r.Q6J("ngForOf",re.items))},dependencies:[P.sg,R.JJ,R.On,Y.YG,Y.Sm,Y.W2,Y.Gu,Y.gu,Y.pK,Y.Ie,Y.q_,Y.wd,Y.ho,Y.sr,Y.w,Y.j9,Y.oU,te.Pi,te.X$],encapsulation:2})}return Z})()},7075:(pt,Re,g)=>{"use strict";g.r(Re),g.d(Re,{SettingsModule:()=>de});var o=g(6895),r=g(4006),B=g(6159),V=g(9149),te=g(4466),P=g(6557),R=g(6291),Y=g(3256),ne=g(6928),he=g(6659),Z=g(7162),oe=g(4650);const ye=[{path:"",component:Z.N},{path:"about",component:P.t},{path:"logging",component:ne.B},{path:"licenses",component:Y.p},{path:"connection",component:R.X},{path:"notifications",component:he.d}];let de=(()=>{class re{static#e=this.\u0275fac=function(pe){return new(pe||re)};static#t=this.\u0275mod=oe.oAB({type:re});static#n=this.\u0275inj=oe.cJS({imports:[o.ez,r.u5,V.Pc,B.Bz.forChild(ye),te.m,B.Bz]})}return re})()},7162:(pt,Re,g)=>{"use strict";g.d(Re,{N:()=>ye});var o=g(6557),r=g(6291),B=g(3256),V=g(6928),te=g(6659),P=g(227),R=g(4650),Y=g(6698),ne=g(4006),he=g(9149),Z=g(6159),oe=g(6188);let ye=(()=>{class de{constructor(ce,W){this.alert=ce,this.settings=W,this.aboutPage=o.t,this.connectionPage=r.X,this.licensesPage=B.p,this.loggingPage=V.B,this.notificationsPage=te.d,this.options=new P.Ei}ngOnInit(){this.subscription=this.settings.getOptions().subscribe(ce=>{this.options=ce})}ngOnDestroy(){this.subscription.unsubscribe()}reset(){this.alert.show({message:"Reset all user settings to default values?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>{this.settings.clear()}}]})}update(){this.settings.setOptions(this.options)}static#e=this.\u0275fac=function(W){return new(W||de)(R.Y36(Y.Pn),R.Y36(P.de))};static#t=this.\u0275cmp=R.Xpm({type:de,selectors:[["ng-component"]],decls:50,vars:10,consts:[["slot","start"],["defaultHref","/"],["translate",""],["lines","full"],[3,"label","ngModel","cancelText","okText","ngModelChange","ionChange"],["translate","","value",""],["value","de"],["value","en"],["value","es"],["value","fr"],["value","it"],["routerLink","/settings/connection"],["routerLink","/settings/notifications"],["button","",3,"click"],["routerLink","/settings/about"],["href","https://github.com/tkem/openlap/blob/master/PRIVACY.md","target","_system"],["routerLink","/settings/licenses"],["routerLink","/settings/logging"]],template:function(W,pe){1&W&&(R.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),R._UZ(3,"ion-back-button",1),R.qZA(),R.TgZ(4,"ion-title")(5,"span",2),R._uU(6,"Settings"),R.qZA()()()(),R.TgZ(7,"ion-content")(8,"ion-list",3)(9,"ion-item")(10,"ion-select",4),R.NdJ("ngModelChange",function(Ve){return pe.options.language=Ve})("ionChange",function(){return pe.update()}),R.ALo(11,"translate"),R.ALo(12,"translate"),R.ALo(13,"translate"),R.TgZ(14,"ion-select-option",5),R._uU(15,"Default"),R.qZA(),R.TgZ(16,"ion-select-option",6),R._uU(17,"Deutsch"),R.qZA(),R.TgZ(18,"ion-select-option",7),R._uU(19,"English"),R.qZA(),R.TgZ(20,"ion-select-option",8),R._uU(21,"Espa\xf1ol"),R.qZA(),R.TgZ(22,"ion-select-option",9),R._uU(23,"Fran\xe7ais"),R.qZA(),R.TgZ(24,"ion-select-option",10),R._uU(25,"Italiano"),R.qZA()()(),R.TgZ(26,"ion-item",11)(27,"ion-label",2),R._uU(28,"Connection"),R.qZA()(),R.TgZ(29,"ion-item",12)(30,"ion-label",2),R._uU(31,"Notifications"),R.qZA()(),R.TgZ(32,"ion-item",13),R.NdJ("click",function(){return pe.reset()}),R.TgZ(33,"ion-label",2),R._uU(34,"Reset settings"),R.qZA()(),R.TgZ(35,"ion-list-header")(36,"ion-label",2),R._uU(37,"About"),R.qZA()(),R.TgZ(38,"ion-item",14)(39,"ion-label",2),R._uU(40,"About Open Lap"),R.qZA()(),R.TgZ(41,"ion-item",15)(42,"ion-label",2),R._uU(43,"Privacy policy"),R.qZA()(),R.TgZ(44,"ion-item",16)(45,"ion-label",2),R._uU(46,"Open source licenses"),R.qZA()(),R.TgZ(47,"ion-item",17)(48,"ion-label",2),R._uU(49,"Event log"),R.qZA()()()()),2&W&&(R.xp6(10),R.s9C("label",R.lcZ(11,4,"Language")),R.s9C("cancelText",R.lcZ(12,6,"Cancel")),R.s9C("okText",R.lcZ(13,8,"OK")),R.Q6J("ngModel",pe.options.language))},dependencies:[ne.JJ,ne.On,he.Sm,he.W2,he.Gu,he.Ie,he.Q$,he.q_,he.yh,he.t9,he.n0,he.wd,he.sr,he.QI,he.oU,he.YI,Z.rH,oe.Pi,oe.X$],encapsulation:2})}return de})()},4466:(pt,Re,g)=>{"use strict";g.d(Re,{m:()=>V});var o=g(6895),r=g(6188),B=g(4650);let V=(()=>{class te{static#e=this.\u0275fac=function(Y){return new(Y||te)};static#t=this.\u0275mod=B.oAB({type:te});static#n=this.\u0275inj=B.cJS({imports:[o.ez,r.aw,r.aw]})}return te})()},2587:(pt,Re,g)=>{"use strict";var o=g(1481),r=g(4650),V=(g(89),g(6895)),te=g(9646),P=g(9751),R=g(4351),Y=g(9300),ne=g(4004);class he{}class Z{}class oe{constructor(p){this.normalizedNames=new Map,this.lazyUpdate=null,p?this.lazyInit="string"==typeof p?()=>{this.headers=new Map,p.split("\n").forEach(l=>{const y=l.indexOf(":");if(y>0){const x=l.slice(0,y),De=x.toLowerCase(),He=l.slice(y+1).trim();this.maybeSetNormalizedName(x,De),this.headers.has(De)?this.headers.get(De).push(He):this.headers.set(De,[He])}})}:()=>{this.headers=new Map,Object.entries(p).forEach(([l,y])=>{let x;if(x="string"==typeof y?[y]:"number"==typeof y?[y.toString()]:y.map(De=>De.toString()),x.length>0){const De=l.toLowerCase();this.headers.set(De,x),this.maybeSetNormalizedName(l,De)}})}:this.headers=new Map}has(p){return this.init(),this.headers.has(p.toLowerCase())}get(p){this.init();const l=this.headers.get(p.toLowerCase());return l&&l.length>0?l[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(p){return this.init(),this.headers.get(p.toLowerCase())||null}append(p,l){return this.clone({name:p,value:l,op:"a"})}set(p,l){return this.clone({name:p,value:l,op:"s"})}delete(p,l){return this.clone({name:p,value:l,op:"d"})}maybeSetNormalizedName(p,l){this.normalizedNames.has(l)||this.normalizedNames.set(l,p)}init(){this.lazyInit&&(this.lazyInit instanceof oe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(p=>this.applyUpdate(p)),this.lazyUpdate=null))}copyFrom(p){p.init(),Array.from(p.headers.keys()).forEach(l=>{this.headers.set(l,p.headers.get(l)),this.normalizedNames.set(l,p.normalizedNames.get(l))})}clone(p){const l=new oe;return l.lazyInit=this.lazyInit&&this.lazyInit instanceof oe?this.lazyInit:this,l.lazyUpdate=(this.lazyUpdate||[]).concat([p]),l}applyUpdate(p){const l=p.name.toLowerCase();switch(p.op){case"a":case"s":let y=p.value;if("string"==typeof y&&(y=[y]),0===y.length)return;this.maybeSetNormalizedName(p.name,l);const x=("a"===p.op?this.headers.get(l):void 0)||[];x.push(...y),this.headers.set(l,x);break;case"d":const De=p.value;if(De){let He=this.headers.get(l);if(!He)return;He=He.filter(Pt=>-1===De.indexOf(Pt)),0===He.length?(this.headers.delete(l),this.normalizedNames.delete(l)):this.headers.set(l,He)}else this.headers.delete(l),this.normalizedNames.delete(l)}}forEach(p){this.init(),Array.from(this.normalizedNames.keys()).forEach(l=>p(this.normalizedNames.get(l),this.headers.get(l)))}}class de{encodeKey(p){return pe(p)}encodeValue(p){return pe(p)}decodeKey(p){return decodeURIComponent(p)}decodeValue(p){return decodeURIComponent(p)}}const ce=/%(\d[a-f0-9])/gi,W={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function pe(d){return encodeURIComponent(d).replace(ce,(p,l)=>W[l]??p)}function be(d){return`${d}`}class Ve{constructor(p={}){if(this.updates=null,this.cloneFrom=null,this.encoder=p.encoder||new de,p.fromString){if(p.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function re(d,p){const l=new Map;return d.length>0&&d.replace(/^\?/,"").split("&").forEach(x=>{const De=x.indexOf("="),[He,Pt]=-1==De?[p.decodeKey(x),""]:[p.decodeKey(x.slice(0,De)),p.decodeValue(x.slice(De+1))],nt=l.get(He)||[];nt.push(Pt),l.set(He,nt)}),l}(p.fromString,this.encoder)}else p.fromObject?(this.map=new Map,Object.keys(p.fromObject).forEach(l=>{const y=p.fromObject[l],x=Array.isArray(y)?y.map(be):[be(y)];this.map.set(l,x)})):this.map=null}has(p){return this.init(),this.map.has(p)}get(p){this.init();const l=this.map.get(p);return l?l[0]:null}getAll(p){return this.init(),this.map.get(p)||null}keys(){return this.init(),Array.from(this.map.keys())}append(p,l){return this.clone({param:p,value:l,op:"a"})}appendAll(p){const l=[];return Object.keys(p).forEach(y=>{const x=p[y];Array.isArray(x)?x.forEach(De=>{l.push({param:y,value:De,op:"a"})}):l.push({param:y,value:x,op:"a"})}),this.clone(l)}set(p,l){return this.clone({param:p,value:l,op:"s"})}delete(p,l){return this.clone({param:p,value:l,op:"d"})}toString(){return this.init(),this.keys().map(p=>{const l=this.encoder.encodeKey(p);return this.map.get(p).map(y=>l+"="+this.encoder.encodeValue(y)).join("&")}).filter(p=>""!==p).join("&")}clone(p){const l=new Ve({encoder:this.encoder});return l.cloneFrom=this.cloneFrom||this,l.updates=(this.updates||[]).concat(p),l}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(p=>this.map.set(p,this.cloneFrom.map.get(p))),this.updates.forEach(p=>{switch(p.op){case"a":case"s":const l=("a"===p.op?this.map.get(p.param):void 0)||[];l.push(be(p.value)),this.map.set(p.param,l);break;case"d":if(void 0===p.value){this.map.delete(p.param);break}{let y=this.map.get(p.param)||[];const x=y.indexOf(be(p.value));-1!==x&&y.splice(x,1),y.length>0?this.map.set(p.param,y):this.map.delete(p.param)}}}),this.cloneFrom=this.updates=null)}}class Le{constructor(){this.map=new Map}set(p,l){return this.map.set(p,l),this}get(p){return this.map.has(p)||this.map.set(p,p.defaultValue()),this.map.get(p)}delete(p){return this.map.delete(p),this}has(p){return this.map.has(p)}keys(){return this.map.keys()}}function we(d){return typeof ArrayBuffer<"u"&&d instanceof ArrayBuffer}function j(d){return typeof Blob<"u"&&d instanceof Blob}function X(d){return typeof FormData<"u"&&d instanceof FormData}class _e{constructor(p,l,y,x){let De;if(this.url=l,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=p.toUpperCase(),function Pe(d){switch(d){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||x?(this.body=void 0!==y?y:null,De=x):De=y,De&&(this.reportProgress=!!De.reportProgress,this.withCredentials=!!De.withCredentials,De.responseType&&(this.responseType=De.responseType),De.headers&&(this.headers=De.headers),De.context&&(this.context=De.context),De.params&&(this.params=De.params)),this.headers||(this.headers=new oe),this.context||(this.context=new Le),this.params){const He=this.params.toString();if(0===He.length)this.urlWithParams=l;else{const Pt=l.indexOf("?");this.urlWithParams=l+(-1===Pt?"?":PtSt.set(Tt,p.setHeaders[Tt]),nt)),p.setParams&&(Ot=Object.keys(p.setParams).reduce((St,Tt)=>St.set(Tt,p.setParams[Tt]),Ot)),new _e(l,y,De,{params:Ot,headers:nt,context:jt,reportProgress:Pt,responseType:x,withCredentials:He})}}var Te=(()=>((Te=Te||{})[Te.Sent=0]="Sent",Te[Te.UploadProgress=1]="UploadProgress",Te[Te.ResponseHeader=2]="ResponseHeader",Te[Te.DownloadProgress=3]="DownloadProgress",Te[Te.Response=4]="Response",Te[Te.User=5]="User",Te))();class Be{constructor(p,l=200,y="OK"){this.headers=p.headers||new oe,this.status=void 0!==p.status?p.status:l,this.statusText=p.statusText||y,this.url=p.url||null,this.ok=this.status>=200&&this.status<300}}class ie extends Be{constructor(p={}){super(p),this.type=Te.ResponseHeader}clone(p={}){return new ie({headers:p.headers||this.headers,status:void 0!==p.status?p.status:this.status,statusText:p.statusText||this.statusText,url:p.url||this.url||void 0})}}class ke extends Be{constructor(p={}){super(p),this.type=Te.Response,this.body=void 0!==p.body?p.body:null}clone(p={}){return new ke({body:void 0!==p.body?p.body:this.body,headers:p.headers||this.headers,status:void 0!==p.status?p.status:this.status,statusText:p.statusText||this.statusText,url:p.url||this.url||void 0})}}class We extends Be{constructor(p){super(p,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${p.url||"(unknown url)"}`:`Http failure response for ${p.url||"(unknown url)"}: ${p.status} ${p.statusText}`,this.error=p.error||null}}function st(d,p){return{body:p,headers:d.headers,context:d.context,observe:d.observe,params:d.params,reportProgress:d.reportProgress,responseType:d.responseType,withCredentials:d.withCredentials}}let ve=(()=>{class d{constructor(l){this.handler=l}request(l,y,x={}){let De;if(l instanceof _e)De=l;else{let nt,Ot;nt=x.headers instanceof oe?x.headers:new oe(x.headers),x.params&&(Ot=x.params instanceof Ve?x.params:new Ve({fromObject:x.params})),De=new _e(l,y,void 0!==x.body?x.body:null,{headers:nt,context:x.context,params:Ot,reportProgress:x.reportProgress,responseType:x.responseType||"json",withCredentials:x.withCredentials})}const He=(0,te.of)(De).pipe((0,R.b)(nt=>this.handler.handle(nt)));if(l instanceof _e||"events"===x.observe)return He;const Pt=He.pipe((0,Y.h)(nt=>nt instanceof ke));switch(x.observe||"body"){case"body":switch(De.responseType){case"arraybuffer":return Pt.pipe((0,ne.U)(nt=>{if(null!==nt.body&&!(nt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return nt.body}));case"blob":return Pt.pipe((0,ne.U)(nt=>{if(null!==nt.body&&!(nt.body instanceof Blob))throw new Error("Response is not a Blob.");return nt.body}));case"text":return Pt.pipe((0,ne.U)(nt=>{if(null!==nt.body&&"string"!=typeof nt.body)throw new Error("Response is not a string.");return nt.body}));default:return Pt.pipe((0,ne.U)(nt=>nt.body))}case"response":return Pt;default:throw new Error(`Unreachable: unhandled observe type ${x.observe}}`)}}delete(l,y={}){return this.request("DELETE",l,y)}get(l,y={}){return this.request("GET",l,y)}head(l,y={}){return this.request("HEAD",l,y)}jsonp(l,y){return this.request("JSONP",l,{params:(new Ve).append(y,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(l,y={}){return this.request("OPTIONS",l,y)}patch(l,y,x={}){return this.request("PATCH",l,st(x,y))}post(l,y,x={}){return this.request("POST",l,st(x,y))}put(l,y,x={}){return this.request("PUT",l,st(x,y))}}return d.\u0275fac=function(l){return new(l||d)(r.LFG(he))},d.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac}),d})();function z(d,p){return p(d)}function C(d,p){return(l,y)=>p.intercept(l,{handle:x=>d(x,y)})}const k=new r.OlP("HTTP_INTERCEPTORS"),se=new r.OlP("HTTP_INTERCEPTOR_FNS");function ae(){let d=null;return(p,l)=>(null===d&&(d=((0,r.f3M)(k,{optional:!0})??[]).reduceRight(C,z)),d(p,l))}let Ye=(()=>{class d extends he{constructor(l,y){super(),this.backend=l,this.injector=y,this.chain=null}handle(l){if(null===this.chain){const y=Array.from(new Set(this.injector.get(se)));this.chain=y.reduceRight((x,De)=>function N(d,p,l){return(y,x)=>l.runInContext(()=>p(y,De=>d(De,x)))}(x,De,this.injector),z)}return this.chain(l,y=>this.backend.handle(y))}}return d.\u0275fac=function(l){return new(l||d)(r.LFG(Z),r.LFG(r.lqb))},d.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac}),d})();const Zt=/^\)\]\}',?\n/;let en=(()=>{class d{constructor(l){this.xhrFactory=l}handle(l){if("JSONP"===l.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new P.y(y=>{const x=this.xhrFactory.build();if(x.open(l.method,l.urlWithParams),l.withCredentials&&(x.withCredentials=!0),l.headers.forEach((Ht,zt)=>x.setRequestHeader(Ht,zt.join(","))),l.headers.has("Accept")||x.setRequestHeader("Accept","application/json, text/plain, */*"),!l.headers.has("Content-Type")){const Ht=l.detectContentTypeHeader();null!==Ht&&x.setRequestHeader("Content-Type",Ht)}if(l.responseType){const Ht=l.responseType.toLowerCase();x.responseType="json"!==Ht?Ht:"text"}const De=l.serializeBody();let He=null;const Pt=()=>{if(null!==He)return He;const Ht=x.statusText||"OK",zt=new oe(x.getAllResponseHeaders()),Gt=function Ct(d){return"responseURL"in d&&d.responseURL?d.responseURL:/^X-Request-URL:/m.test(d.getAllResponseHeaders())?d.getResponseHeader("X-Request-URL"):null}(x)||l.url;return He=new ie({headers:zt,status:x.status,statusText:Ht,url:Gt}),He},nt=()=>{let{headers:Ht,status:zt,statusText:Gt,url:Jn}=Pt(),Or=null;204!==zt&&(Or=typeof x.response>"u"?x.responseText:x.response),0===zt&&(zt=Or?200:0);let wo=zt>=200&&zt<300;if("json"===l.responseType&&"string"==typeof Or){const Pc=Or;Or=Or.replace(Zt,"");try{Or=""!==Or?JSON.parse(Or):null}catch(Rc){Or=Pc,wo&&(wo=!1,Or={error:Rc,text:Or})}}wo?(y.next(new ke({body:Or,headers:Ht,status:zt,statusText:Gt,url:Jn||void 0})),y.complete()):y.error(new We({error:Or,headers:Ht,status:zt,statusText:Gt,url:Jn||void 0}))},Ot=Ht=>{const{url:zt}=Pt(),Gt=new We({error:Ht,status:x.status||0,statusText:x.statusText||"Unknown Error",url:zt||void 0});y.error(Gt)};let jt=!1;const St=Ht=>{jt||(y.next(Pt()),jt=!0);let zt={type:Te.DownloadProgress,loaded:Ht.loaded};Ht.lengthComputable&&(zt.total=Ht.total),"text"===l.responseType&&x.responseText&&(zt.partialText=x.responseText),y.next(zt)},Tt=Ht=>{let zt={type:Te.UploadProgress,loaded:Ht.loaded};Ht.lengthComputable&&(zt.total=Ht.total),y.next(zt)};return x.addEventListener("load",nt),x.addEventListener("error",Ot),x.addEventListener("timeout",Ot),x.addEventListener("abort",Ot),l.reportProgress&&(x.addEventListener("progress",St),null!==De&&x.upload&&x.upload.addEventListener("progress",Tt)),x.send(De),y.next({type:Te.Sent}),()=>{x.removeEventListener("error",Ot),x.removeEventListener("abort",Ot),x.removeEventListener("load",nt),x.removeEventListener("timeout",Ot),l.reportProgress&&(x.removeEventListener("progress",St),null!==De&&x.upload&&x.upload.removeEventListener("progress",Tt)),x.readyState!==x.DONE&&x.abort()}})}}return d.\u0275fac=function(l){return new(l||d)(r.LFG(V.JF))},d.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac}),d})();const Xt=new r.OlP("XSRF_ENABLED"),On=new r.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),_n=new r.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class bn{}let Nt=(()=>{class d{constructor(l,y,x){this.doc=l,this.platform=y,this.cookieName=x,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const l=this.doc.cookie||"";return l!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,V.Mx)(l,this.cookieName),this.lastCookieString=l),this.lastToken}}return d.\u0275fac=function(l){return new(l||d)(r.LFG(V.K0),r.LFG(r.Lbi),r.LFG(On))},d.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac}),d})();function Dt(d,p){const l=d.url.toLowerCase();if(!(0,r.f3M)(Xt)||"GET"===d.method||"HEAD"===d.method||l.startsWith("http://")||l.startsWith("https://"))return p(d);const y=(0,r.f3M)(bn).getToken(),x=(0,r.f3M)(_n);return null!=y&&!d.headers.has(x)&&(d=d.clone({headers:d.headers.set(x,y)})),p(d)}var ln=(()=>((ln=ln||{})[ln.Interceptors=0]="Interceptors",ln[ln.LegacyInterceptors=1]="LegacyInterceptors",ln[ln.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ln[ln.NoXsrfProtection=3]="NoXsrfProtection",ln[ln.JsonpSupport=4]="JsonpSupport",ln[ln.RequestsMadeViaParent=5]="RequestsMadeViaParent",ln))();function pn(d,p){return{\u0275kind:d,\u0275providers:p}}function Xn(...d){const p=[ve,en,Ye,{provide:he,useExisting:Ye},{provide:Z,useExisting:en},{provide:se,useValue:Dt,multi:!0},{provide:Xt,useValue:!0},{provide:bn,useClass:Nt}];for(const l of d)p.push(...l.\u0275providers);return(0,r.MR2)(p)}const ar=new r.OlP("LEGACY_INTERCEPTOR_FN");let Kn=(()=>{class d{}return d.\u0275fac=function(l){return new(l||d)},d.\u0275mod=r.oAB({type:d}),d.\u0275inj=r.cJS({providers:[Xn(pn(ln.LegacyInterceptors,[{provide:ar,useFactory:ae},{provide:se,useExisting:ar,multi:!0}]))]}),d})();var jn=g(6159),yr=g(9770),fr=g(2843),Pr=g(4968),Fn=g(7272),gn=g(7579),Cn=g(5032);const mn=new P.y(Cn.Z);var Ze=g(6451),$e=g(3900),Ee=g(4033),Ke=g(576),ot=g(8421),wt=g(4482);const Dn={connector:()=>new gn.x};function Pn(d,p=Dn){const{connector:l}=p;return(0,wt.e)((y,x)=>{const De=l();(0,ot.Xf)(d(function Jt(d){return new P.y(p=>d.subscribe(p))}(De))).subscribe(x),x.add(y.subscribe(De))})}function hr(d,p){const l=(0,Ke.m)(d)?d:()=>d;return(0,Ke.m)(p)?Pn(p,{connector:l}):y=>new Ee.c(y,l)}function qn(d){return d?p=>Pn(d)(p):p=>hr(new gn.x)(p)}var Sn=g(5698),zn=g(8505),_r=g(727);class pr extends _r.w0{constructor(p,l){super()}schedule(p,l=0){return this}}const Ln={setInterval(d,p,...l){const{delegate:y}=Ln;return y?.setInterval?y.setInterval(d,p,...l):setInterval(d,p,...l)},clearInterval(d){const{delegate:p}=Ln;return(p?.clearInterval||clearInterval)(d)},delegate:void 0};var rn=g(8737),Nn=g(6063);class En{constructor(p,l=En.now){this.schedulerActionCtor=p,this.now=l}schedule(p,l=0,y){return new this.schedulerActionCtor(this,p).schedule(y,l)}}En.now=Nn.l.now;const gr=new class Bn extends En{constructor(p,l=En.now){super(p,l),this.actions=[],this._active=!1}flush(p){const{actions:l}=this;if(this._active)return void l.push(p);let y;this._active=!0;do{if(y=p.execute(p.state,p.delay))break}while(p=l.shift());if(this._active=!1,y){for(;p=l.shift();)p.unsubscribe();throw y}}}(class Gn extends pr{constructor(p,l){super(p,l),this.scheduler=p,this.work=l,this.pending=!1}schedule(p,l=0){var y;if(this.closed)return this;this.state=p;const x=this.id,De=this.scheduler;return null!=x&&(this.id=this.recycleAsyncId(De,x,l)),this.pending=!0,this.delay=l,this.id=null!==(y=this.id)&&void 0!==y?y:this.requestAsyncId(De,this.id,l),this}requestAsyncId(p,l,y=0){return Ln.setInterval(p.flush.bind(p,this),y)}recycleAsyncId(p,l,y=0){if(null!=y&&this.delay===y&&!1===this.pending)return l;null!=l&&Ln.clearInterval(l)}execute(p,l){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const y=this._execute(p,l);if(y)return y;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(p,l){let x,y=!1;try{this.work(p)}catch(De){y=!0,x=De||new Error("Scheduled action threw falsy error")}if(y)return this.unsubscribe(),x}unsubscribe(){if(!this.closed){const{id:p,scheduler:l}=this,{actions:y}=l;this.work=this.state=this.scheduler=null,this.pending=!1,(0,rn.P)(y,this),null!=p&&(this.id=this.recycleAsyncId(l,p,null)),this.delay=null,super.unsubscribe()}}}),vn=gr;var Un=g(5403),Et=g(9718),Mt=g(5577);function xn(d,p){return p?l=>(0,Fn.z)(p.pipe((0,Sn.q)(1),function kn(){return(0,wt.e)((d,p)=>{d.subscribe((0,Un.x)(p,Cn.Z))})}()),l.pipe(xn(d))):(0,Mt.z)((l,y)=>(0,ot.Xf)(d(l,y)).pipe((0,Sn.q)(1),(0,Et.h)(l)))}var ge=g(3532);function w(d){return d instanceof Date&&!isNaN(d)}function I(d=0,p,l=vn){let y=-1;return null!=p&&((0,ge.K)(p)?l=p:y=p),new P.y(x=>{let De=w(d)?+d-l.now():d;De<0&&(De=0);let He=0;return l.schedule(function(){x.closed||(x.next(He++),0<=y?this.schedule(void 0,y):x.complete())},De)})}const G="Service workers are disabled or not supported by this browser";class Ie{constructor(p){if(this.serviceWorker=p,p){const y=(0,Pr.R)(p,"controllerchange").pipe((0,ne.U)(()=>p.controller)),x=(0,yr.P)(()=>(0,te.of)(p.controller)),De=(0,Fn.z)(x,y);this.worker=De.pipe((0,Y.h)(jt=>!!jt)),this.registration=this.worker.pipe((0,$e.w)(()=>p.getRegistration()));const Ot=(0,Pr.R)(p,"message").pipe((0,ne.U)(jt=>jt.data)).pipe((0,Y.h)(jt=>jt&&jt.type)).pipe(qn());Ot.connect(),this.events=Ot}else this.worker=this.events=this.registration=function me(d){return(0,yr.P)(()=>(0,fr._)(new Error(d)))}(G)}postMessage(p,l){return this.worker.pipe((0,Sn.q)(1),(0,zn.b)(y=>{y.postMessage({action:p,...l})})).toPromise().then(()=>{})}postMessageWithOperation(p,l,y){const x=this.waitForOperationCompleted(y),De=this.postMessage(p,l);return Promise.all([De,x]).then(([,He])=>He)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(p){let l;return l="string"==typeof p?y=>y.type===p:y=>p.includes(y.type),this.events.pipe((0,Y.h)(l))}nextEventOfType(p){return this.eventsOfType(p).pipe((0,Sn.q)(1))}waitForOperationCompleted(p){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,Y.h)(l=>l.nonce===p),(0,Sn.q)(1),(0,ne.U)(l=>{if(void 0!==l.result)return l.result;throw new Error(l.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let Ne=(()=>{class d{get isEnabled(){return this.sw.isEnabled}constructor(l){if(this.sw=l,this.pushManager=null,this.subscriptionChanges=new gn.x,!l.isEnabled)return this.messages=mn,this.notificationClicks=mn,void(this.subscription=mn);this.messages=this.sw.eventsOfType("PUSH").pipe((0,ne.U)(x=>x.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,ne.U)(x=>x.data)),this.pushManager=this.sw.registration.pipe((0,ne.U)(x=>x.pushManager));const y=this.pushManager.pipe((0,$e.w)(x=>x.getSubscription()));this.subscription=(0,Ze.T)(y,this.subscriptionChanges)}requestSubscription(l){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(G));const y={userVisibleOnly:!0};let x=this.decodeBase64(l.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),De=new Uint8Array(new ArrayBuffer(x.length));for(let He=0;HeHe.subscribe(y)),(0,Sn.q)(1)).toPromise().then(He=>(this.subscriptionChanges.next(He),He))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,Sn.q)(1),(0,$e.w)(y=>{if(null===y)throw new Error("Not subscribed to push notifications.");return y.unsubscribe().then(x=>{if(!x)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(G))}decodeBase64(l){return atob(l)}}return d.\u0275fac=function(l){return new(l||d)(r.LFG(Ie))},d.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac}),d})(),tt=(()=>{class d{get isEnabled(){return this.sw.isEnabled}constructor(l){if(this.sw=l,!l.isEnabled)return this.versionUpdates=mn,this.available=mn,this.activated=mn,void(this.unrecoverable=mn);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe((0,Y.h)(y=>"VERSION_READY"===y.type),(0,ne.U)(y=>({type:"UPDATE_AVAILABLE",current:y.currentVersion,available:y.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(G));const l=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:l},l)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(G));const l=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:l},l)}}return d.\u0275fac=function(l){return new(l||d)(r.LFG(Ie))},d.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac}),d})();class lt{}const bt=new r.OlP("NGSW_REGISTER_SCRIPT");function S(d,p,l,y){return()=>{if(!(0,V.NF)(y)||!("serviceWorker"in navigator)||!1===l.enabled)return;let x;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof l.registrationStrategy)x=l.registrationStrategy();else{const[He,...Pt]=(l.registrationStrategy||"registerWhenStable:30000").split(":");switch(He){case"registerImmediately":x=(0,te.of)(null);break;case"registerWithDelay":x=$(+Pt[0]||0);break;case"registerWhenStable":x=Pt[0]?(0,Ze.T)(fe(d),$(+Pt[0])):fe(d);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${l.registrationStrategy}`)}}d.get(r.R0b).runOutsideAngular(()=>x.pipe((0,Sn.q)(1)).subscribe(()=>navigator.serviceWorker.register(p,{scope:l.scope}).catch(He=>console.error("Service worker registration failed with:",He))))}}function $(d){return(0,te.of)(null).pipe(function A(d,p=gr){const l=I(d,p);return xn(()=>l)}(d))}function fe(d){return d.get(r.z2F).isStable.pipe((0,Y.h)(l=>l))}function Ae(d,p){return new Ie((0,V.NF)(p)&&!1!==d.enabled?navigator.serviceWorker:void 0)}let ze=(()=>{class d{static register(l,y={}){return{ngModule:d,providers:[{provide:bt,useValue:l},{provide:lt,useValue:y},{provide:Ie,useFactory:Ae,deps:[lt,r.Lbi]},{provide:r.ip1,useFactory:S,deps:[r.zs3,bt,lt,r.Lbi],multi:!0}]}}}return d.\u0275fac=function(l){return new(l||d)},d.\u0275mod=r.oAB({type:d}),d.\u0275inj=r.cJS({providers:[Ne,tt]}),d})();var Fe=g(958),Oe=g(9149),et=g(3771),vt=g(9509),ft=g(7582),mt=g(7598),Rt=function(d){function p(){return null!==d&&d.apply(this,arguments)||this}return(0,ft.ZT)(p,d),p.prototype.scan=function(l,y){return(0,mt.DM)(this,"scan",{observable:!0},arguments)},p.prototype.startScan=function(l){return(0,mt.DM)(this,"startScan",{observable:!0,clearFunction:"stopScan",clearWithArgs:!1},arguments)},p.prototype.startScanWithOptions=function(l,y){return(0,mt.DM)(this,"startScanWithOptions",{observable:!0,clearFunction:"stopScan",clearWithArgs:!1},arguments)},p.prototype.stopScan=function(){return(0,mt.DM)(this,"stopScan",{},arguments)},p.prototype.setPin=function(l){return(0,mt.DM)(this,"setPin",{observable:!0},arguments)},p.prototype.connect=function(l){return(0,mt.DM)(this,"connect",{observable:!0,clearFunction:"disconnect",clearWithArgs:!0},arguments)},p.prototype.autoConnect=function(l,y,x){return(0,mt.DM)(this,"autoConnect",{sync:!0},arguments)},p.prototype.requestMtu=function(l,y){return(0,mt.DM)(this,"requestMtu",{},arguments)},p.prototype.refreshDeviceCache=function(l,y){return(0,mt.DM)(this,"refreshDeviceCache",{},arguments)},p.prototype.disconnect=function(l){return(0,mt.DM)(this,"disconnect",{},arguments)},p.prototype.read=function(l,y,x){return(0,mt.DM)(this,"read",{},arguments)},p.prototype.write=function(l,y,x,De){return(0,mt.DM)(this,"write",{},arguments)},p.prototype.writeWithoutResponse=function(l,y,x,De){return(0,mt.DM)(this,"writeWithoutResponse",{},arguments)},p.prototype.startNotification=function(l,y,x){return(0,mt.DM)(this,"startNotification",{observable:!0,destruct:!0,clearFunction:"stopNotification",clearWithArgs:!0},arguments)},p.prototype.stopNotification=function(l,y,x){return(0,mt.DM)(this,"stopNotification",{},arguments)},p.prototype.isConnected=function(l){return(0,mt.DM)(this,"isConnected",{},arguments)},p.prototype.isEnabled=function(){return(0,mt.DM)(this,"isEnabled",{},arguments)},p.prototype.startStateNotifications=function(){return(0,mt.DM)(this,"startStateNotifications",{observable:!0,clearFunction:"stopStateNotifications",clearWithArgs:!1},arguments)},p.prototype.stopStateNotifications=function(){return(0,mt.DM)(this,"stopStateNotifications",{},arguments)},p.prototype.startLocationStateNotifications=function(){return(0,mt.DM)(this,"startLocationStateNotifications",{observable:!0,clearFunction:"stopLocationStateNotifications",clearWithArgs:!1},arguments)},p.prototype.stopLocationStateNotifications=function(){return(0,mt.DM)(this,"stopLocationStateNotifications",{},arguments)},p.prototype.showBluetoothSettings=function(){return(0,mt.DM)(this,"showBluetoothSettings",{},arguments)},p.prototype.enable=function(){return(0,mt.DM)(this,"enable",{},arguments)},p.prototype.readRSSI=function(l){return(0,mt.DM)(this,"readRSSI",{},arguments)},p.prototype.connectedPeripheralsWithServices=function(l){return(0,mt.DM)(this,"connectedPeripheralsWithServices",{},arguments)},p.prototype.peripheralsWithIdentifiers=function(l){return(0,mt.DM)(this,"peripheralsWithIdentifiers",{},arguments)},p.prototype.bondedDevices=function(){return(0,mt.DM)(this,"bondedDevices",{},arguments)},p.prototype.isLocationEnabled=function(){return(0,mt.DM)(this,"isLocationEnabled",{},arguments)},p.\u0275fac=function(){let l;return function(x){return(l||(l=r.n5z(p)))(x||p)}}(),p.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac}),p.pluginName="BLE",p.plugin="cordova-plugin-ble-central",p.pluginRef="ble",p.repo="https://github.com/don/cordova-plugin-ble-central",p.platforms=["Android","iOS"],p=(0,ft.gn)([],p)}(mt.On),Ft=g(4598),on=g(9986),hn=g(9102),h=g(5082),K=g(9062),D=g(694),ue=g(4879),Ue=function(d){function p(){return null!==d&&d.apply(this,arguments)||this}return(0,ft.ZT)(p,d),p.prototype.requestPermission=function(l){return(0,mt.DM)(this,"requestPermission",{successIndex:1,errorIndex:2},arguments)},p.prototype.open=function(l){return(0,mt.DM)(this,"open",{},arguments)},p.prototype.write=function(l){return(0,mt.DM)(this,"write",{},arguments)},p.prototype.writeHex=function(l){return(0,mt.DM)(this,"writeHex",{},arguments)},p.prototype.read=function(){return(0,mt.DM)(this,"read",{},arguments)},p.prototype.registerReadCallback=function(){return(0,mt.DM)(this,"registerReadCallback",{observable:!0},arguments)},p.prototype.close=function(){return(0,mt.DM)(this,"close",{},arguments)},p.\u0275fac=function(){let l;return function(x){return(l||(l=r.n5z(p)))(x||p)}}(),p.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac}),p.pluginName="Serial",p.plugin="cordovarduino",p.pluginRef="serial",p.repo="https://github.com/xseignard/cordovarduino",p.platforms=["Android"],p=(0,ft.gn)([],p)}(mt.On),nn=g(4158),qt=g(6188);class br{constructor(p,l="/assets/i18n/",y=".json"){this.http=p,this.prefix=l,this.suffix=y}getTranslation(p){return this.http.get(`${this.prefix}${p}${this.suffix}`)}}class Cr{}var Er=g(2076);function Io(d=0,p=gr){return d<0&&(d=0),I(d,d,p)}var Xr=g(515),Kr=g(8675),Dr=g(1884),zo=g(8746),uo=g(1135),Lo=g(3888),ai=g(9672);const Ai=(0,Lo.d)(d=>function(l=null){d(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=l});function li(d,p){const{first:l,each:y,with:x=xi,scheduler:De=p??gr,meta:He=null}=w(d)?{first:d}:"number"==typeof d?{each:d}:d;if(null==l&&null==y)throw new TypeError("No timeout provided.");return(0,wt.e)((Pt,nt)=>{let Ot,jt,St=null,Tt=0;const Ht=zt=>{jt=(0,ai.f)(nt,De,()=>{try{Ot.unsubscribe(),(0,ot.Xf)(x({meta:He,lastValue:St,seen:Tt})).subscribe(nt)}catch(Gt){nt.error(Gt)}},zt)};Ot=Pt.subscribe((0,Un.x)(nt,zt=>{jt?.unsubscribe(),Tt++,nt.next(St=zt),y>0&&Ht(y)},void 0,void 0,()=>{jt?.closed||jt?.unsubscribe(),St=null})),!Tt&&Ht(null!=l?"number"==typeof l?l:+l-De.now():y)})}function xi(d){throw new Ai(d)}var Mo=g(4707);function fo(d,p,l,y){l&&!(0,Ke.m)(l)&&(y=l);const x=(0,Ke.m)(l)?l:void 0;return De=>hr(new Mo.t(d,p,y),x)(De)}var Yr=g(8343),No=g(4782),Rr=g(5026);class ur{constructor(p,l,y){this.array=void 0!==y?new Uint8Array(p,l,y):l?new Uint8Array(p,l):new Uint8Array(p)}get buffer(){return this.array.buffer}get byteLength(){return this.array.byteLength}get byteOffset(){return this.array.byteOffset}getUint4(p){return 15&this.array[p]}getUint8(p){return 15&this.array[p]|(15&this.array[p+1])<<4}getUint32(p){let l=0;return l|=(15&this.array[p+0])<<24,l|=(15&this.array[p+1])<<28,l|=(15&this.array[p+2])<<16,l|=(15&this.array[p+3])<<20,l|=(15&this.array[p+4])<<8,l|=(15&this.array[p+5])<<12,l|=(15&this.array[p+6])<<0,l|=(15&this.array[p+7])<<4,l}getUint8Array(p,l){let y=new Uint8Array(l);for(let x=0;x!=l;++x)y[x]=15&this.array[p+x];return y}setUint4(p,l){this.array[p]=48|l}setUint8(p,l){this.array[p]=15&l|48,this.array[p+1]=l>>4|48}toString(p,l){return String.fromCharCode.apply(null,[...this.subarray(p,l)])}static from(p,...l){let y=new Uint8Array(l.length+2),x=y[0]=p.charCodeAt(0);for(let De=0;De!=l.length;++De){const He=l[De];y[De+1]=48|He,x+=He}return y[y.length-1]=48|15&x,new ur(y.buffer)}static fromString(p){const l=new Uint8Array(p.split("").map(y=>y.charCodeAt(0)));return new ur(l.buffer)}subarray(p,l){return void 0!==l?this.array.subarray(p,p+l):p?this.array.subarray(p):this.array}}const ui=ur.fromString("?"),Yo=ur.fromString("=10"),Pi=ur.fromString("0");var Qr=(()=>{return(d=Qr||(Qr={}))[d.ESC=1]="ESC",d[d.PACE_CAR=1]="PACE_CAR",d[d.ENTER=2]="ENTER",d[d.START=2]="START",d[d.SPEED=5]="SPEED",d[d.BRAKE=6]="BRAKE",d[d.FUEL=7]="FUEL",d[d.CODE=8]="CODE",Qr;var d})();class Go{constructor(p,l){this.peripheral=p,this.settings=l,this.requests=new Array,this.state=new uo.X("disconnected"),this.version=null,this.connection=this.peripheral.connect({next:()=>this.connection.next(ui.buffer)});const y=this.connection.pipe(li({first:l.connectionTimeout,each:l.requestTimeout}),(0,ne.U)((x,De)=>(0==De&&this.state.next("connected"),x)));this.data=y.pipe(function Oi(d){return(0,wt.e)((p,l)=>{let y,De,x=!1;const He=()=>{y=p.subscribe((0,Un.x)(l,void 0,void 0,Pt=>{De||(De=new gn.x,(0,ot.Xf)(d(De)).subscribe((0,Un.x)(l,()=>y?He():x=!0))),De&&De.next(Pt)})),x&&(y.unsubscribe(),y=null,x=!1,He())};He()})}(x=>this.doReconnect(x)),(0,zn.b)(()=>{this.poll()}),(0,ne.U)(x=>new ur(x)),qn()),this.status=this.data.pipe((0,Y.h)(x=>x.byteLength>=16&&"?:"===x.toString(0,2)),fo(1),(0,Yr.x)())}connect(){return this.state.next("connecting"),this.subscription=this.data.connect(),Promise.resolve()}disconnect(){return this.subscription&&this.subscription.unsubscribe(),Promise.resolve()}reconnect(){return new Promise(p=>{this.disconnect(),setTimeout(()=>{this.connect(),p()},this.settings.minReconnectDelay)})}getState(){return this.state.asObservable().pipe((0,Dr.x)(),(0,No.d)())}getFuel(){return this.status.pipe((0,ne.U)(p=>p.getUint8Array(2,8)))}getStart(){return this.status.pipe((0,ne.U)(p=>p.getUint4(10)))}getMode(){return this.status.pipe((0,ne.U)(p=>p.getUint4(11)))}getPit(){return this.status.pipe((0,ne.U)(p=>p.getUint8(12)))}getTimer(){return this.data.pipe((0,Y.h)(p=>p.byteLength>=12&&"?"===p.toString(0,1)&&":"!==p.toString(1,1)),(0,Y.h)(p=>{const l=p.toString(1,1);return l>="1"&&l<="8"}),(0,ne.U)(p=>[p.getUint4(1)-1,p.getUint32(2),p.getUint4(10)]),(0,Dr.x)((p,l)=>p[0]===l[0]&&p[1]===l[1]))}getVersion(){return this.version||(this.version=this.data.pipe((0,Y.h)(p=>6==p.byteLength&&"0"==p.toString(0,1)),(0,ne.U)(p=>p.toString(1,4)),(0,Sn.q)(1)).toPromise(),this.requests.push(Pi)),this.version}reset(){this.requests.push(Yo)}setLap(p){this.setLapHi(p>>4),this.setLapLo(15&p)}setLapHi(p){this.set(17,7,p)}setLapLo(p){this.set(18,7,p)}setPosition(p,l){this.set(6,p,l)}clearPosition(){this.set(6,0,9)}setMask(p){this.requests.push(ur.from(":",15&p,p>>4))}setSpeed(p,l){this.set(0,p,l,2)}setBrake(p,l){this.set(1,p,l,2)}setFuel(p,l){this.set(2,p,l,2)}setFinished(p){this.set(7,p,1)}toggleStart(){this.trigger(Qr.START)}trigger(p){this.requests.push(ur.fromString("T"+String.fromCharCode(48|p)))}set(p,l,y,x=1){this.requests.push(ur.from("J",15&p,p>>4|l<<1,y,x))}poll(){const p=this.requests.shift()||ui;this.connection.next(p.buffer)}doReconnect(p){const l=this.state;return p.pipe((0,Rr.R)((y,x)=>"connected"===l.value?0:y+1,0),(0,zn.b)(()=>l.next("disconnected")),(0,R.b)(y=>{const x=this.settings.minReconnectDelay*Math.pow(1.5,y);return I(Math.min(x,this.settings.maxReconnectDelay))}),(0,zn.b)(()=>l.next("connecting")))}}var yn=g(6698);const To="39df7777-b1b4-b90b-57f1-7144ae4e4a6a",qr="$".charCodeAt(0);function Bo(d){return new ur(d).toString()}class Mr{constructor(p,l,y){this.ble=l,this.logger=y,this.type="ble",this.name=p.name,this.address=p.id}connect(p,l){const y=this.createObservable(p,l),x=this.createObserver(l);return gn.x.create(x,y)}equals(p){return p&&p.type===this.type&&p.address===this.address}createObservable(p,l){return new P.y(y=>{this.logger.info("Connecting to BLE device "+this.address);let x=!1,De=null;return this.lastWritten=null,this.ble.connect(this.address).subscribe({next:He=>{this.logger.info("Connected to BLE device",He),x=!0,this.ble.startNotification(this.address,To,"39df9999-b1b4-b90b-57f1-7144ae4e4a6a").subscribe({next:([Pt,nt])=>{if(this.logger.isDebugEnabled()){const Ot=Bo(Pt);Ot!==De&&(this.logger.debug("BLE received "+Ot),De=Ot)}this.onNotify(Pt,y)},error:Pt=>this.onError(Pt,y)}),p&&this.ble.isConnected(this.address).then(()=>{this.logger.info("BLE device ready"),x&&p.next(void 0)}).catch(Pt=>{this.logger.error("BLE device not connected",Pt)})},error:He=>{He instanceof Error?(this.logger.error("BLE connection error",He),y.error(He)):x?(this.logger.info("BLE device disconnected",He),y.complete()):(this.logger.error("BLE connection error",He),y.error(new Error("Connection error"))),x=!1},complete:()=>{this.logger.info("BLE connection closed"),y.complete(),x=!1}}),()=>{this.disconnect(l)}})}createObserver(p){return{next:l=>{if(this.logger.isDebugEnabled()){const y=Bo(l);y!==this.lastWritten&&(this.logger.debug("BLE write "+y),this.lastWritten=y)}this.write(l)},error:l=>this.logger.error("BLE user error",l),complete:()=>this.disconnect(p)}}write(p){this.ble.writeWithoutResponse(this.address,To,"39df8888-b1b4-b90b-57f1-7144ae4e4a6a",p).catch(l=>{this.logger.error("BLE write error",l)})}disconnect(p){this.logger.debug("Closing BLE connection to "+this.address),this.ble.disconnect(this.address).then(()=>{this.logger.info("BLE disconnected from "+this.address)}).catch(l=>{this.logger.error("BLE disconnect error",l)}).then(()=>{p&&p.next(void 0)})}onNotify(p,l){const y=new Uint8Array(p);y[y.length-1]==qr&&(y.copyWithin(1,0),y[0]=6==y.length?48:63),l.next(y.buffer)}onError(p,l){l.error(p)}}let Ri=(()=>{class d extends Cr{constructor(l,y,x){super(),this.ble=l,this.logger=y,this.platform=x,this.devices=new Map,this.scanner=(0,Er.D)(this.platform.ready()).pipe((0,$e.w)(De=>"cordova"==De?Io(1e3).pipe((0,Kr.O)(null),(0,$e.w)(()=>(0,Er.D)(this.ble.isEnabled().then(()=>!0,()=>!1)))):(0,te.of)(!1)),(0,Dr.x)(),(0,$e.w)(De=>De?(this.logger.info("Start scanning for BLE devices"),this.ble.startScanWithOptions([],{reportDuplicates:!0,scanMode:"lowLatency"}).pipe((0,zo.x)(()=>this.logger.info("Stop scanning for BLE devices")))):(this.logger.info("Not scanning for BLE devices"),(0,Xr.c)())))}scan(){return this.scanner.pipe((0,Kr.O)(...this.devices.values()),function Ti(d,p){return(0,wt.e)((l,y)=>{const x=new Set;l.subscribe((0,Un.x)(y,De=>{const He=d?d(De):De;x.has(He)||(x.add(He),y.next(De))})),p&&(0,ot.Xf)(p).subscribe((0,Un.x)(y,()=>x.clear(),Cn.Z))})}(l=>l.id),(0,zn.b)(l=>this.logger.debug("Discovered BLE device:",l)),(0,Y.h)(l=>/Control.Unit/i.test(l.name||"")),(0,zn.b)(l=>this.logger.info("Discovered Control Unit device:",l)),(0,zn.b)(l=>this.devices.set(l.id,l)),(0,zn.b)(l=>this.logger.debug("Cached devices:",Array.from(this.devices.values()))),(0,ne.U)(l=>new Mr(l,this.ble,this.logger)))}static#e=this.\u0275fac=function(y){return new(y||d)(r.LFG(Rt),r.LFG(yn.ed),r.LFG(Fe.t4))};static#t=this.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac})}return d})();function Gr(d,p){return d+Math.random()*(p-d)}function kr(d){let p=new Uint8Array(d);return String.fromCharCode.apply(null,[...p])}class eo{constructor(p){this.sector=0,this.pit=!1,this.events=new r.vpe,this.id=p,this.fuel="7"==this.id||"8"==this.id?0:255}start(p,l,y=1,x=0){this.maxSectorTime=l,this.minSectorTime="8"==this.id?p+.8*(l-p):"7"==this.id?p+.5*(l-p):p,this.timeout=setTimeout(()=>this.onNext(),x),this.sectors=y}stop(){clearTimeout(this.timeout)}onRefuel(){this.fuel+=16,this.timeout=this.fuel>=Gr(192,240)?setTimeout(()=>this.onNext(),this.fuelTime()):setTimeout(()=>this.onRefuel(),500)}onNext(){++this.sector>this.sectors&&(this.sector=1),"7"==this.id||"8"==this.id?(this.events.emit(this),this.timeout=setTimeout(()=>this.onNext(),Gr(this.minSectorTime,this.maxSectorTime))):((this.fuel>=16||1!==this.sector)&&this.events.emit(this),this.fuelthis.onRefuel(),1500)):this.timeout=setTimeout(()=>this.onFuel(),this.fuelTime()))}onFuel(){this.pit=!1,this.fuel=Math.max(0,this.fuel-Gr(4,16)),this.timeout=setTimeout(()=>this.onNext(),this.fuelTime())}fuelTime(){return Gr(this.minSectorTime,this.maxSectorTime)/2}}class go{constructor(p,l,y){this.name=p,this.mode=l,this.logger=y,this.start=Date.now(),this.startSequence=0,this.cars=[new eo("1"),new eo("2"),new eo("3"),new eo("4"),new eo("5"),new eo("6"),new eo("7"),new eo("8")],this.laps=[],this.config={numCars:8,numSectors:3,maxStartTime:1500,minSectorTime:3e3,maxSectorTime:4e3},this.type="demo",this.version=ur.from("0",..."5336".split("").map(x=>x.charCodeAt(0))).buffer;for(let x=0;x!=this.config.numCars;++x)this.cars[x].events.subscribe(De=>this.laps.push(this.createLap(De.id,De.sector)));this.startAll()}connect(p,l){return gn.x.create(this.createObserver(),this.createObservable(p,l))}equals(p){return p&&p.type===this.type&&p.name==this.name}createObservable(p,l){return new P.y(y=>(this.logger.info("Creating Demo observable with mode="+this.mode),this.subscriber=y,setTimeout(()=>{p&&p.next(void 0)},100),()=>{this.logger.info("Destroying Demo observable"),l&&l.next(void 0),delete this.subscriber}))}createObserver(){return{next:p=>{Math.random()<1e-4?this.subscriber&&(console.log("Random Demo error"),this.subscriber.error(new Error("Demo Error"))):("?"!=kr(p)&&console.log("Demo CU received "+kr(p)),"T1"==kr(p)&&this.onESC(),"T2"==kr(p)&&this.onStart(),Math.random()<1e-4?console.log("Random Demo timeout"):setTimeout(()=>{this.subscriber&&("0"==kr(p)?this.subscriber.next(this.version):this.subscriber.next(this.laps.length?this.laps.shift():this.createStatus()))},100))},error:p=>{console.log("Demo connection error:",p)},complete:()=>{console.log("Demo connection complete"),this.subscriber.complete()}}}createLap(p,l=1){const y=Date.now()-this.start;return ur.from("?",parseInt(p),y>>24&15,y>>28&15,y>>16&15,y>>20&15,y>>8&15,y>>12&15,y>>0&15,y>>4&15,l).buffer}createStatus(){return ur.from("?",10,this.cars[0].fuel>>4&15,this.cars[1].fuel>>4&15,this.cars[2].fuel>>4&15,this.cars[3].fuel>>4&15,this.cars[4].fuel>>4&15,this.cars[5].fuel>>4&15,this.cars[6].fuel>>4&15,this.cars[7].fuel>>4&15,this.startSequence,this.mode,this.getPitMask(0,4),this.getPitMask(4,8),8).buffer}getPitMask(p,l){let y=0;for(let x=p;x!=l;++x)y>>=1,y|=this.cars[x].pit?8:0;return y}onStart(){0==this.startSequence?(this.stopAll(),this.startSequence=1):7==this.startSequence?(this.startAll(),this.startSequence=0):(this.startSequence++,setTimeout(()=>this.onStart(),1e3))}onESC(){1==this.startSequence&&(this.startAll(),this.startSequence=0)}startAll(){for(let p=0;p!=this.config.numCars;++p)this.cars[p].start(this.config.minSectorTime,this.config.maxSectorTime,this.config.numSectors,Gr(0,this.config.maxStartTime))}stopAll(){for(let p=0;p!=this.config.numCars;++p)this.cars[p].stop()}}let Ao=(()=>{class d extends Cr{constructor(l){super(),this.logger=l}scan(){return(0,te.of)(new go("Demo Control Unit",6,this.logger))}static#e=this.\u0275fac=function(y){return new(y||d)(r.LFG(yn.ed))};static#t=this.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac})}return d})();var to=g(3099);const fi="$".charCodeAt(0);class O{constructor(p,l){this.serial=p,this.logger=l,this.type="serial",this.name="Serial USB OTG",this.connected=!1}connect(p,l){const y=this.createObservable(p,l),x=this.createObserver(l);return gn.x.create(x,y)}equals(p){return p&&p.type===this.type}createObservable(p,l){return new P.y(y=>(this.logger.info("Connecting to serial port"),this.open({baudRate:19200,sleepOnPause:!1}).then(()=>{this.connected=!0,this.logger.info("Connected to serial port");let x=new Uint8Array(0);this.serial.registerReadCallback().subscribe({next:De=>{x=function F(d,p){if(0==d.length)return p;if(0==p.length)return d;{let l=new Uint8Array(d.length+p.length);return l.set(d,0),l.set(p,d.byteLength),l}}(x,new Uint8Array(De));let He=-1;for(;-1!=(He=x.indexOf(fi));){let Pt=new Uint8Array(x.subarray(0,He));if(x=x.subarray(He+1),this.logger.isDebugEnabled()){const nt=String.fromCharCode.apply(null,[...Pt]);nt!==this.lastReceived&&(this.logger.debug("Serial received "+nt),this.lastReceived=nt)}y.next(Pt.buffer)}},error:De=>{this.logger.error("Error reading from serial port",De),y.error(De)}}),p&&p.next(void 0)}).catch(x=>{this.logger.error("Error connecting to serial port",x),y.error(x)}),()=>{this.close(l)}))}createObserver(p){return{next:l=>this.write(l),error:l=>this.logger.error("Serial user error",l),complete:()=>this.close(p)}}open(p){return this.serial.open(p)}write(p){const l=String.fromCharCode.apply(null,[...new Uint8Array(p)]);this.logger.isDebugEnabled()&&l!==this.lastWritten&&(this.logger.debug("Serial write "+l),this.lastWritten=l),this.serial.write('"'+l+"$").catch(y=>{this.logger.error("Serial write error",y)})}close(p){this.connected&&(this.logger.info("Closing serial port"),this.serial.close().then(()=>{this.logger.info("Serial port closed")}).catch(l=>{this.logger.error("Error closing serial port",l)}).then(()=>{p&&p.next(void 0)}),this.connected=!1)}}let M=(()=>{class d extends Cr{constructor(l,y,x){super(),this.serial=y,this.logger=x,this.scanner=(0,Er.D)(l.getDeviceInfo()).pipe((0,$e.w)(De=>l.isAndroid()&&l.isCordova()&&!De.isVirtual&&parseInt(De.version)<12?(0,Er.D)(this.serial.requestPermission().then(()=>!0,()=>!1)):(0,te.of)(!1)),(0,zn.b)(De=>this.logger.info("Serial device "+(De?"":"not")+" enabled")),(0,to.B)())}scan(){return this.scanner.pipe((0,$e.w)(l=>l?(0,te.of)(new O(this.serial,this.logger)):(0,Xr.c)()))}static#e=this.\u0275fac=function(y){return new(y||d)(r.LFG(yn.zi),r.LFG(Ue),r.LFG(yn.ed))};static#t=this.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac})}return d})();var ee=g(262);const rt="39df7777-b1b4-b90b-57f1-7144ae4e4a6a",ct="$".charCodeAt(0);function un(d){return new ur(d).toString()}class Wo{constructor(p,l){this.device=p,this.logger=l,this.type="web-bluetooth",this.name=p.name}connect(p,l){const y=this.createObservable(p,l),x=this.createObserver(l);return gn.x.create(x,y)}equals(p){return p&&p.type===this.type}createObservable(p,l){return new P.y(y=>{this.logger.info("Connecting to Web Bluetooth device "+this.device.id);const x=this.device.gatt.connect().then(nt=>nt.getPrimaryService(rt)),De=x.then(nt=>nt.getCharacteristic("39df9999-b1b4-b90b-57f1-7144ae4e4a6a")),He=nt=>{const Ot=nt.target.value.buffer;if(this.logger.isDebugEnabled()){const jt=un(Ot);jt!==Pt&&(this.logger.debug("Web Bluetooth received "+jt),Pt=jt)}this.onNotify(Ot,y)};let Pt=null;return this.lastWritten=null,this.output=x.then(nt=>nt.getCharacteristic("39df8888-b1b4-b90b-57f1-7144ae4e4a6a")),De.then(nt=>nt.startNotifications().then(Ot=>nt)).then(nt=>{nt.addEventListener("characteristicvaluechanged",He),this.logger.info("Web Bluetooth device ready"),p&&p.next(void 0)}).catch(nt=>{this.onError(nt,y)}),()=>{De.then(nt=>nt.stopNotifications().then(Ot=>nt)).then(nt=>{nt.removeEventListener("characteristicvaluechanged",He)}).catch(nt=>{this.logger.error("Error stopping Web Bluetooth notifications",nt)}).then(nt=>{this.disconnect(l)})}})}createObserver(p){return{next:l=>{if(this.device.gatt.connected&&this.output){if(this.logger.isDebugEnabled()){const y=un(l);y!==this.lastWritten&&(this.logger.debug("Web Bluetooth write "+y),this.lastWritten=y)}this.output.then(y=>y.writeValue(l)).catch(y=>{this.logger.error("Web Bluetooth write error",y)})}else this.logger.error("Web Bluetooth write while device disconnected")},error:l=>this.logger.error("Web Bluetooth user error",l),complete:()=>this.disconnect(p)}}disconnect(p){if(this.device.gatt.connected){this.logger.debug("Closing Web Bluetooth connection to "+this.device.id);try{this.device.gatt.disconnect()}catch(l){this.logger.debug("Error closing Web Bluetooth connection",l)}this.output=null,p&&p.next(void 0)}}onNotify(p,l){const y=new Uint8Array(p);y[y.length-1]==ct&&(y.copyWithin(1,0),y[0]=6==y.length?48:63),l.next(y.buffer)}onError(p,l){l.error(p)}}let is=(()=>{class d extends Cr{constructor(l,y){super(),this.logger=l,this.platform=y,this.navigator=window.navigator}scan(){return(0,Er.D)(this.platform.ready()).pipe((0,$e.w)(l=>"cordova"!=l&&this.navigator.bluetooth?(0,Er.D)(this.requestDevice()).pipe((0,ee.K)(y=>(this.logger.error("Error requesting Web Bluetooth device:",y),(0,Xr.c)()))):(0,Xr.c)()))}requestDevice(){return this.device?this.device:this.navigator.bluetooth.requestDevice({filters:[{name:"Control_Unit"}],optionalServices:[rt]}).then(l=>{const y=new Wo(l,this.logger);return this.device=Promise.resolve(y),y})}static#e=this.\u0275fac=function(y){return new(y||d)(r.LFG(yn.ed),r.LFG(Fe.t4))};static#t=this.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac})}return d})(),Fr=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275mod=r.oAB({type:d});static#n=this.\u0275inj=r.cJS({providers:[{provide:Cr,useClass:Ri,multi:!0},{provide:Cr,useClass:Ao,multi:!0},{provide:Cr,useClass:M,multi:!0},{provide:Cr,useClass:is,multi:!0}]})}return d})();var $n=g(4006),io=g(4466);let no=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275mod=r.oAB({type:d});static#n=this.\u0275inj=r.cJS({imports:[V.ez,$n.u5,Oe.Pc,io.m]})}return d})();const ji=["*"];let $o=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["outline"]],inputs:{color:"color"},ngContentSelectors:ji,decls:2,vars:2,consts:[[1,"outline"]],template:function(y,x){1&y&&(r.F$t(),r.TgZ(0,"div",0),r.Hsn(1),r.qZA()),2&y&&r.Udp("background-color",x.color)},styles:["[_nghost-%COMP%]{white-space:nowrap;padding:0!important}[slot=start][_nghost-%COMP%]{white-space:nowrap;margin-inline-end:.5em;padding:0!important}div.outline[_ngcontent-%COMP%]{display:inline-flex;justify-content:center;align-items:center;color:var(--ion-background-color);border-bottom-right-radius:.4em;width:1.65em!important;min-height:1.65em;padding:0!important;height:100%}"]})}return d})();function ks(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-col")(1,"ion-button",7),r.NdJ("click",function(){const De=r.CHM(l).$implicit,He=r.oxw(2);return r.KtG(He.setColor(De))}),r.qZA()()}if(2&d){const l=p.$implicit;r.xp6(1),r.Udp("--background",l)}}function zi(d,p){if(1&d&&(r.TgZ(0,"ion-row"),r.YNc(1,ks,2,2,"ion-col",5),r.qZA()),2&d){const l=p.$implicit;r.xp6(1),r.Q6J("ngForOf",l)}}const Yi=function(d){return{number:d}};let Sr=(()=>{class d{constructor(l,y){this.mc=y,this.placeholder="Driver {{number}}",this.colors=[["#ff0000","#00ff00","#0000ff","#ffff00","#ff00ff","#00ffff","#c0c0c0","#ffffff"],["#c02040","#408080","#4080c0","#ff8020","#ff8080","#20ffc0","#404040","#000000"]],this.driver=l.get("driver"),this.id=l.get("id"),this.color=this.driver.color}update(l,y){console.log("update",l,y);const x=("0"+y.detail.value.toString(16)).slice(-2);switch(l){case"r":this.color=this.color.substring(0,1)+x+this.color.substring(3);break;case"g":this.color=this.color.substring(0,3)+x+this.color.substring(5);break;case"b":this.color=this.color.substring(0,5)+x+this.color.substring(7)}console.log(this.color)}setColor(l){this.color=l}get r(){return this.color?Number.parseInt(this.color.substring(1,3),16):0}get g(){return this.color?Number.parseInt(this.color.substring(3,5),16):0}get b(){return this.color?Number.parseInt(this.color.substring(5,7),16):0}onSubmit(l){this.mc.dismiss(l)}onCancel(){this.mc.dismiss()}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(Fe.X1),r.Y36(Oe.IN))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["ng-component"]],decls:36,vars:15,consts:[["mode","md"],[3,"color"],["min","0","max","255",3,"value","ionChange"],["slot","label"],["slot","end"],[4,"ngFor","ngForOf"],["translate","",3,"click"],["expand","block",3,"click"]],template:function(y,x){1&y&&(r.TgZ(0,"ion-header")(1,"ion-toolbar",0)(2,"ion-title")(3,"outline",1),r._uU(4),r.qZA(),r._uU(5),r.ALo(6,"translate"),r.qZA()()(),r.TgZ(7,"ion-content")(8,"ion-item")(9,"ion-range",2),r.NdJ("ionChange",function(He){return x.update("r",He)}),r.TgZ(10,"ion-label",3),r._uU(11,"R"),r.qZA(),r.TgZ(12,"ion-badge",4),r._uU(13),r.qZA()()(),r.TgZ(14,"ion-item")(15,"ion-range",2),r.NdJ("ionChange",function(He){return x.update("g",He)}),r.TgZ(16,"ion-label",3),r._uU(17,"G"),r.qZA(),r.TgZ(18,"ion-badge",4),r._uU(19),r.qZA()()(),r.TgZ(20,"ion-item")(21,"ion-range",2),r.NdJ("ionChange",function(He){return x.update("b",He)}),r.TgZ(22,"ion-label",3),r._uU(23,"B"),r.qZA(),r.TgZ(24,"ion-badge",4),r._uU(25),r.qZA()()(),r.TgZ(26,"ion-item")(27,"ion-grid"),r.YNc(28,zi,2,1,"ion-row",5),r.qZA()()(),r.TgZ(29,"ion-footer")(30,"ion-toolbar")(31,"ion-buttons",4)(32,"ion-button",6),r.NdJ("click",function(){return x.onCancel()}),r._uU(33," Cancel "),r.qZA(),r.TgZ(34,"ion-button",6),r.NdJ("click",function(){return x.onSubmit(x.color)}),r._uU(35," OK "),r.qZA()()()()),2&y&&(r.xp6(3),r.Q6J("color",x.color),r.xp6(1),r.hij(" ",x.id+1," "),r.xp6(1),r.hij(" ",x.driver.name||r.xi3(6,10,x.placeholder,r.VKq(13,Yi,x.id+1))," "),r.xp6(4),r.Q6J("value",x.r),r.xp6(4),r.Oqu(x.r),r.xp6(2),r.Q6J("value",x.g),r.xp6(4),r.Oqu(x.g),r.xp6(2),r.Q6J("value",x.b),r.xp6(4),r.Oqu(x.b),r.xp6(3),r.Q6J("ngForOf",x.colors))},dependencies:[V.sg,Oe.yp,Oe.YG,Oe.Sm,Oe.wI,Oe.W2,Oe.fr,Oe.jY,Oe.Gu,Oe.Ie,Oe.Q$,Oe.I_,Oe.Nd,Oe.wd,Oe.sr,Oe.j9,$o,qt.Pi,qt.X$],encapsulation:2})}return d})();var tr=g(227);function mo(d,p){if(1&d&&(r.TgZ(0,"ion-note"),r._uU(1),r.qZA()),2&d){const l=r.oxw(),y=l.$implicit,x=l.index;r.xp6(1),r.Oqu(y.code||"#"+(x+1))}}function vo(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-button",12),r.NdJ("click",function(){r.CHM(l);const x=r.oxw().index,De=r.oxw();return r.KtG(De.speak(x))}),r._UZ(1,"ion-icon",13),r.qZA()}}const yo=function(d){return{number:d}};function Gi(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-item",5)(1,"ion-button",6),r.NdJ("click",function(){const De=r.CHM(l).index,He=r.oxw();return r.KtG(He.chooseColor(De))}),r.TgZ(2,"outline",7),r._uU(3),r.qZA()(),r.TgZ(4,"ion-input",8),r.NdJ("ngModelChange",function(x){const De=r.CHM(l),He=De.$implicit,Pt=De.index,nt=r.oxw();return r.KtG(He.code=nt.getCode(He.name=x,Pt))})("ionChange",function(x){r.CHM(l);const De=r.oxw();return r.KtG(De.onChangeName(x))}),r.ALo(5,"translate"),r.qZA(),r.TgZ(6,"ion-buttons",9),r.YNc(7,mo,2,1,"ion-note",10),r.ALo(8,"async"),r.YNc(9,vo,2,0,"ion-button",11),r.ALo(10,"async"),r._UZ(11,"ion-reorder",9),r.qZA()()}if(2&d){const l=p.$implicit,y=p.index,x=r.oxw();r.xp6(2),r.Q6J("color",l.color),r.xp6(1),r.hij(" ",y+1," "),r.xp6(1),r.Q6J("ngModel",l.name)("placeholder",r.xi3(5,6,x.placeholder,r.VKq(13,yo,y+1))),r.xp6(3),r.Q6J("ngIf","landscape"==r.lcZ(8,9,x.orientation)),r.xp6(2),r.Q6J("ngIf","landscape"==r.lcZ(10,11,x.orientation))}}let hi=(()=>{class d{constructor(l,y,x,De,He,Pt){this.app=l,this.logger=y,this.settings=x,this.mc=De,this.speech=He,this.translate=Pt,this.placeholder="Driver {{number}}",this.orientation=l.orientation}ngOnInit(){this.settings.getDrivers().pipe((0,Sn.q)(1)).toPromise().then(l=>{this.drivers=l}).catch(l=>{this.logger.error("Error getting drivers",l)})}ngOnDestroy(){this.settings.setDrivers(this.drivers).catch(l=>{this.logger.error("Error setting drivers",l)})}getCode(l,y){let x=l.replace(/\W/g,"").toUpperCase(),De=this.drivers.filter((He,Pt)=>Pt!==y).map(He=>He.code);for(let He=2;He{y.onDidDismiss().then(x=>{x.data&&(this.drivers[l].color=x.data)}),y.present()})}speak(l){this.getDriverName(l).then(y=>{this.speech.speak(y)})}onChangeName(l){l?.target?.getInputElement().then(y=>y.blur())}getDriverName(l){return this.drivers[l]&&this.drivers[l].name?Promise.resolve(this.drivers[l].name):this.translate.get(this.placeholder,{number:l+1}).toPromise()}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(yn.zi),r.Y36(yn.ed),r.Y36(tr.de),r.Y36(Oe.IN),r.Y36(yn.vA),r.Y36(qt.sK))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["ng-component"]],decls:10,vars:1,consts:[["slot","start"],["defaultHref","/"],["translate",""],["disabled","false",3,"ionItemReorder"],["class","driver",4,"ngFor","ngForOf"],[1,"driver"],["slot","start","size","large","fill","clear",1,"ion-no-padding",3,"click"],[3,"color"],["clearInput","","enterkeyhint","done",3,"ngModel","placeholder","ngModelChange","ionChange"],["slot","end"],[4,"ngIf"],["fill","clear",3,"click",4,"ngIf"],["fill","clear",3,"click"],["name","volume-high-sharp"]],template:function(y,x){1&y&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),r._UZ(3,"ion-back-button",1),r.qZA(),r.TgZ(4,"ion-title")(5,"span",2),r._uU(6,"Drivers"),r.qZA()()()(),r.TgZ(7,"ion-content")(8,"ion-reorder-group",3),r.NdJ("ionItemReorder",function(He){return x.reorderItems(He)}),r.YNc(9,Gi,12,15,"ion-item",4),r.qZA()()),2&y&&(r.xp6(9),r.Q6J("ngForOf",x.drivers))},dependencies:[V.sg,V.O5,$n.JJ,$n.On,Oe.YG,Oe.Sm,Oe.W2,Oe.Gu,Oe.gu,Oe.pK,Oe.Ie,Oe.uN,Oe.Nh,Oe.oz,Oe.wd,Oe.sr,Oe.j9,Oe.oU,$o,qt.Pi,V.Ov,qt.X$],encapsulation:2})}return d})();var pi=g(9841);function xo(){return(0,wt.e)((d,p)=>{let l,y=!1;d.subscribe((0,Un.x)(p,x=>{const De=l;l=x,y&&p.next([De,x]),y=!0}))})}var Zo=g(4671),Ko=g(3269);function _o(...d){const p=(0,Ko.jO)(d);return(0,wt.e)((l,y)=>{const x=d.length,De=new Array(x);let He=d.map(()=>!1),Pt=!1;for(let nt=0;nt{De[nt]=Ot,!Pt&&!He[nt]&&(He[nt]=!0,(Pt=He.every(Zo.y))&&(He=null))},Cn.Z));l.subscribe((0,Un.x)(y,nt=>{if(Pt){const Ot=[nt,...De];y.next(p?p(...Ot):Ot)}}))})}function ss(d,p){1&d&&(r.TgZ(0,"span"),r._uU(1,"\u2026"),r.qZA())}let qo=(()=>{class d{constructor(l,y,x,De){this.alert=l,this.settings=y,this.controller=x,this.options=new tr.Ei,this.params=De.data}get sectors(){return this.options.sectors}set sectors(l){this.options.sectors=l,this.settings.setOptions(this.options),this.dismiss()}get fixedOrder(){return this.options.fixedorder}set fixedOrder(l){this.options.fixedorder=l,this.settings.setOptions(this.options),this.dismiss()}get speech(){return this.options.speech}set speech(l){this.options.speech=l,this.settings.setOptions(this.options),this.dismiss()}ngOnInit(){this.subscription=this.settings.getOptions().subscribe(l=>{this.options=l})}ngOnDestroy(){this.subscription.unsubscribe()}onRestart(){this.dismiss().then(()=>{this.params.active?this.alert.show({message:"Restart "+this.params.mode+"?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>this.params.restart()}]}):this.params.restart()})}onCancel(){this.dismiss().then(()=>{this.params.active?this.alert.show({message:"Cancel "+this.params.mode+"?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>this.params.cancel()}]}):this.params.cancel()})}dismiss(){return this.controller.dismiss({})}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(yn.Pn),r.Y36(tr.de),r.Y36(Oe.Dh),r.Y36(Fe.X1))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["ng-component"]],decls:20,vars:5,consts:[["translate","",3,"ngModel","ngModelChange"],["button","",3,"disabled","click"],["translate",""],["button","",3,"click"],[4,"ngIf"]],template:function(y,x){1&y&&(r.TgZ(0,"ion-item-group")(1,"ion-item")(2,"ion-checkbox",0),r.NdJ("ngModelChange",function(He){return x.fixedOrder=He}),r._uU(3,"Order by number"),r.qZA()(),r.TgZ(4,"ion-item")(5,"ion-checkbox",0),r.NdJ("ngModelChange",function(He){return x.sectors=He}),r._uU(6,"Sector times"),r.qZA()(),r.TgZ(7,"ion-item")(8,"ion-checkbox",0),r.NdJ("ngModelChange",function(He){return x.speech=He}),r._uU(9,"Notifications"),r.qZA()(),r.TgZ(10,"ion-item",1),r.NdJ("click",function(){return x.onCancel()}),r.TgZ(11,"ion-label")(12,"span",2),r._uU(13,"Cancel"),r.qZA(),r._uU(14,"\u2026"),r.qZA()(),r.TgZ(15,"ion-item",3),r.NdJ("click",function(){return x.onRestart()}),r.TgZ(16,"ion-label")(17,"span",2),r._uU(18,"Restart"),r.qZA(),r.YNc(19,ss,2,0,"span",4),r.qZA()()()),2&y&&(r.xp6(2),r.Q6J("ngModel",x.fixedOrder),r.xp6(3),r.Q6J("ngModel",x.sectors),r.xp6(3),r.Q6J("ngModel",x.speech),r.xp6(2),r.Q6J("disabled",!x.params.active),r.xp6(9),r.Q6J("ngIf",x.params.active))},dependencies:[V.O5,$n.JJ,$n.On,Oe.nz,Oe.Ie,Oe.Ub,Oe.Q$,Oe.w,qt.Pi],encapsulation:2})}return d})();const{isArray:Fi}=Array;function as(d){return 1===d.length&&Fi(d[0])?d[0]:d}var ls=g(3268),cs=g(9635);function Wi(...d){const p=(0,Ko.jO)(d);return p?(0,cs.z)(Wi(...d),(0,ls.Z)(p)):(0,wt.e)((l,y)=>{(0,pi.l)([l,...as(d)])(y)})}function mi(...d){return Wi(...d)}function nr(d,p){return(d.best[0]||1/0)-(p.best[0]||1/0)}const Bs={practice:nr,qualifying:nr,race:function ds(d,p){return p.laps-d.laps||function Oo(d,p){const l=d-p;return isNaN(l)?isNaN(d)?isNaN(p)?0:1:-1:l}(d.time,p.time)||d.id-p.id}};class fs{constructor(p,l){this.cu=p,this.options=l,this.finished=new uo.X(!1),this.yellowFlag=new uo.X(!1),this.started=!1,this.stopped=!1,this.active=0,this.realMask=null;const y=Bs[l.mode],x=(0,Ze.T)(p.getStart().pipe((0,Dr.x)(),(0,Y.h)(nt=>0!=nt)),p.getState().pipe((0,Y.h)(nt=>"connected"==nt))).pipe((0,ne.U)(nt=>{p.setMask(this.mask)})),De=p.getTimer().pipe((0,Y.h)(([nt])=>!(this.mask&1<{const Gt=Date.now();return Htnt)),He=p.getFuel(),Pt=p.getPit();this.mask=(l.auto?0:64)|(l.pace?0:128),l.drivers?(this.mask|=function Br(d,p){let l=0;for(;d!==p;)l|=1<Ot),(0,Mt.z)(nt=>nt),(0,Rr.R)((nt,Ot)=>{const jt=[...nt];return jt[Ot.id]=Ot,jt},[]),(0,ne.U)(nt=>{const Ot=nt.filter(jt=>!!jt);return Ot.sort(y),Ot})),this.currentLap=this.grid.pipe((0,Mt.z)(nt=>nt),(0,Rr.R)((nt,Ot)=>nt>Ot.laps?nt:this.finished.value||isNaN(Ot.time)?Ot.laps:Ot.laps+1,0),(0,Kr.O)(0),fo(1),(0,Yr.x)(),(0,Dr.x)()),this.allFinished=this.ranking.pipe(mi(this.finished),(0,ne.U)(([nt,Ot])=>Ot&&nt.every(jt=>jt.finished)),(0,Kr.O)(!1),fo(1),(0,Yr.x)(),(0,Dr.x)()),this.timer=l.time?Io(500).pipe(_o(p.getStart(),p.getState()),(0,Y.h)(([nt,Ot,jt])=>this.started&&(!this.options.pause||0==Ot&&"connected"==jt)),(0,Rr.R)((nt,Ot)=>Math.max(0,nt-500),l.time),(0,zn.b)(nt=>{0==nt&&(this.stopped=!0,this.finish())}),(0,to.B)(),(0,Kr.O)(l.time)):Xr.E,this.cu.setMask(this.mask),this.cu.clearPosition(),this.cu.reset()}start(){this.started=!0}stop(){this.stopped=!0,this.finish()}toggleYellowFlag(){const p=this.yellowFlag.value;this.yellowFlag.value?(this.mask=this.realMask,this.realMask=null):(this.realMask=this.mask,this.mask=255),this.cu.setMask(this.mask),this.yellowFlag.next(!p)}createGrid(p,l,y,x=0){const De=new Array;for(let He=0;x;++He)1&x&&De.push([He,NaN,0]),x>>>=1;return p.pipe((0,Kr.O)(...De),function Zi(d,p,l,y){return(0,wt.e)((x,De)=>{let He;p&&"function"!=typeof p?({duration:l,element:He,connector:y}=p):He=p;const Pt=new Map,nt=zt=>{Pt.forEach(zt),zt(De)},Ot=zt=>nt(Gt=>Gt.error(zt));let jt=0,St=!1;const Tt=new Un.Q(De,zt=>{try{const Gt=d(zt);let Jn=Pt.get(Gt);if(!Jn){Pt.set(Gt,Jn=y?y():new gn.x);const Or=function Ht(zt,Gt){const Jn=new P.y(Or=>{jt++;const wo=Gt.subscribe(Or);return()=>{wo.unsubscribe(),0==--jt&&St&&Tt.unsubscribe()}});return Jn.key=zt,Jn}(Gt,Jn);if(De.next(Or),l){const wo=(0,Un.x)(Jn,()=>{Jn.complete(),wo?.unsubscribe()},void 0,void 0,()=>Pt.delete(Gt));Tt.add((0,ot.Xf)(l(Or)).subscribe(wo))}}Jn.next(He?He(zt):zt)}catch(Gt){Ot(Gt)}},()=>nt(zt=>zt.complete()),Ot,()=>Pt.clear(),()=>(St=!0,0===jt));x.subscribe(Tt)})}(([He])=>He),(0,ne.U)(He=>(this.active|=1<{const Gt=nt[nt.length-1]||[];if(zt&&Ht>(Gt.length>=zt?Gt[zt-1]:-1/0)+this.options.minLapTime)if(1===zt)nt.push([Ht]),Ot[0]=Ht-Gt[0],jt[0]=Math.min(Ot[0],jt[0]||1/0),Gt.length>1&&(Ot[Gt.length]=Ht-Gt[Gt.length-1],jt[Gt.length]=Math.min(Ot[Gt.length],jt[Gt.length]||1/0)),!St&&this.isFinished(nt.length-1)&&(this.finish(Tt),St=!0);else{const Jn=zt-1;Gt[Jn]=Ht,Ot[Jn]=Ht-Gt[Jn-1],jt[Jn]=Math.min(Ot[Jn],jt[Jn]||1/0)}return[nt,Ot,jt,St]},[[],[],[],!1])).pipe(mi(y.pipe((0,ne.U)(nt=>0!=(nt&~this.mask&1<[Ot?nt+1:nt,Ot],[0,!1])),l.pipe((0,ne.U)(nt=>nt[He.key]),(0,Dr.x)())),(0,ne.U)(([[nt,Ot,jt,St],[Tt,Ht],zt])=>{const Jn=nt[nt.length-1]||[];return{id:He.key,time:Jn[0],laps:nt.length?nt.length-1:0,last:Ot,best:jt,times:nt,fuel:zt,pit:Ht,pits:Tt,sector:Jn.length-1||(nt[nt.length-2]||[]).length,finished:St}}),fo(1),(0,Yr.x)()))),fo(),(0,Yr.x)())}finish(p){const l=this.mask;this.mask|=255&~this.active,void 0!==p&&(this.mask|=1<=this.options.laps)||!(this.options.slotmode||!this.finished.value)}}function hs(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"leaderboard-item",3),r.NdJ("click",function(){const De=r.CHM(l).$implicit,He=r.oxw();return r.KtG(He.showDetails(De))}),r.qZA()}if(2&d){const l=p.$implicit,y=p.odd,x=r.oxw();r.Q6J("ngClass",y?"odd":"even")("fields",x.fields)("item",l)("ranked",x.ranked)("best",x.best)}}function $s(d,p){if(1&d&&r._UZ(0,"leaderboard-lap",11),2&d){const l=p.$implicit,y=p.odd,x=p.index,De=p.count,He=r.oxw(2);r.Q6J("ngClass",y?"odd":"even")("lap",De-x)("item",He.detail)("times",l)("best",He.best)("intlap",He.intlaps[null==He.detail?null:He.detail.id])("fields",He.detailFields)}}const ps=function(d){return{number:d}};function vi(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-header")(1,"ion-toolbar",4)(2,"ion-title")(3,"outline",5),r._uU(4),r.qZA(),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.TgZ(7,"ion-buttons",6)(8,"ion-button",7),r.NdJ("click",function(){r.CHM(l);const x=r.oxw();return r.KtG(x.modal.dismiss())}),r._UZ(9,"ion-icon",8),r.qZA()()()(),r.TgZ(10,"ion-content",9),r._UZ(11,"leaderboard-head",0),r.YNc(12,$s,1,7,"leaderboard-lap",10),r.qZA()}if(2&d){const l=r.oxw();r.xp6(3),r.Q6J("color",null==l.detail||null==l.detail.driver?null:l.detail.driver.color),r.xp6(1),r.hij(" ",(null==l.detail?null:l.detail.position)+1," "),r.xp6(1),r.hij(" ",(null==l.detail||null==l.detail.driver?null:l.detail.driver.name)||r.xi3(6,5,l.placeholder,r.VKq(8,ps,(null==l.detail?null:l.detail.id)+1))," "),r.xp6(6),r.Q6J("fields",l.detailFields),r.xp6(1),r.Q6J("ngForOf",null==l.detail?null:l.detail.laptimes)}}const Ki=[{practice:["bestlap gap int lastlap laps status","bestlap sector1 sector2 sector3 lastlap status"],qualifying:["bestlap gap int lastlap laps status","bestlap sector1 sector2 sector3 lastlap status"],race:["time bestlap lastlap laps status","time sector1 sector2 sector3 lastlap status"]},{practice:["bestlap gap int lastlap laps fuel status","bestlap sector1 sector2 sector3 lastlap fuel status"],qualifying:["bestlap gap int lastlap laps fuel status","bestlap sector1 sector2 sector3 lastlap fuel status"],race:["time bestlap lastlap laps pits fuel status","time sector1 sector2 sector3 lastlap fuel status"]}],yi=["lap laptime gap int","lap laptime sector1 sector2 sector3"];let T=(()=>{class d{constructor(l,y){this.platform=y,this.placeholder="Driver {{number}}",this.detail=null,this.subscription=y.resize.subscribe(()=>l.markForCheck())}set items(l){if(this._items=l,l?(this.ranked=[...l],this.ranked.sort((y,x)=>y.position-x.position),this.best=l.map(y=>y.best).reduce((y,x)=>(x.forEach((De,He)=>{De<(y[He]||1/0)&&(y[He]=De)}),y),[])):(this.ranked=l,this.best=[]),this.detail){for(let y of l)if(y.id==this.detail.id){this.detail=Object.assign({},y,{laptimes:this.getLapTimes(y)});break}this.intlaps=this.getIntLaps(l)}}get items(){return this._items}get fields(){const l=Ki[this.pitlane?1:0][this.mode][this.sectors?1:0];return((this.platform.isPortrait()?"code":"number name")+" "+l).split(/\s+/)}get detailFields(){return yi[this.sectors?1:0].split(/\s+/)}getLapTimes(l){let y=[];for(let x=l.times.length-2;x>=0;--x){const De=[l.times[x+1]?.[0]].concat(l.times[x]);y.push(De)}return y}getIntLaps(l){let y={};const x=l.map(De=>[De.id,De.best[0]]).sort((De,He)=>De[1]-He[1]);return x.map(([De,He],Pt)=>[De,Pt?x[Pt-1][1]:He]).forEach(([De,He])=>{y[De]=He}),y}showDetails(l){this.detail=Object.assign({},l,{laptimes:this.getLapTimes(l)}),this.intlaps=this.getIntLaps(this._items)}onWillDismissDetails(l){this.detail=null}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(r.sBO),r.Y36(Fe.t4))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["leaderboard"]],viewQuery:function(y,x){if(1&y&&r.Gf(Oe.ki,5),2&y){let De;r.iGM(De=r.CRH())&&(x.modal=De.first)}},inputs:{mode:"mode",sectors:"sectors",pitlane:"pitlane",items:"items"},decls:4,vars:3,consts:[[1,"row",3,"fields"],["class","row",3,"ngClass","fields","item","ranked","best","click",4,"ngFor","ngForOf"],[3,"isOpen","willDismiss"],[1,"row",3,"ngClass","fields","item","ranked","best","click"],["mode","md"],[3,"color"],["slot","end"],[3,"click"],["name","close-sharp"],[1,"ion-padding"],["class","row",3,"ngClass","lap","item","times","best","intlap","fields",4,"ngFor","ngForOf"],[1,"row",3,"ngClass","lap","item","times","best","intlap","fields"]],template:function(y,x){1&y&&(r._UZ(0,"leaderboard-head",0),r.YNc(1,hs,1,5,"leaderboard-item",1),r.TgZ(2,"ion-modal",2),r.NdJ("willDismiss",function(He){return x.onWillDismissDetails(He)}),r.YNc(3,vi,13,10,"ng-template"),r.qZA()),2&y&&(r.Q6J("fields",x.fields),r.xp6(1),r.Q6J("ngForOf",x.items),r.xp6(1),r.Q6J("isOpen",null!=x.detail))},styles:['@charset "UTF-8";@media (orientation: portrait){[_nghost-%COMP%]{font-size:3vw}}@media (orientation: landscape){[_nghost-%COMP%]{font-size:2.5vw}ion-modal [_nghost-%COMP%]{font-size:1.5em!important}}[_nghost-%COMP%]{display:block;width:100%}leaderboard-head[_ngcontent-%COMP%]{margin:0 2px}leaderboard-item[_ngcontent-%COMP%]{margin:0 2px 4px}leaderboard-lap[_ngcontent-%COMP%]{margin:0 2px 4px}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.row.odd[_ngcontent-%COMP%]{background-color:var(--ion-color-step-100)}.row.even[_ngcontent-%COMP%]{background-color:var(--ion-color-step-200)}.cell[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;padding:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.position[_ngcontent-%COMP%]{text-align:left;width:1.9em;padding-left:0!important;padding-right:0!important}.number[_ngcontent-%COMP%]{text-align:left;width:1.65em}.lap[_ngcontent-%COMP%]{text-align:left;width:2.5em}.name[_ngcontent-%COMP%]{flex-basis:4em;flex-grow:1;text-align:left}.code[_ngcontent-%COMP%]{flex-basis:3em;flex-grow:1;text-align:left}.time[_ngcontent-%COMP%]{text-align:right;width:6em}.bestlap[_ngcontent-%COMP%], .lastlap[_ngcontent-%COMP%], .laptime[_ngcontent-%COMP%]{text-align:right;width:5em}.sector1[_ngcontent-%COMP%], .sector2[_ngcontent-%COMP%], .sector3[_ngcontent-%COMP%]{text-align:right;width:4.5em}.gap[_ngcontent-%COMP%], .int[_ngcontent-%COMP%]{text-align:right;width:5em}.laps[_ngcontent-%COMP%], .pits[_ngcontent-%COMP%]{text-align:right;width:3em}.fuel[_ngcontent-%COMP%]{text-align:left;width:4.5em}.status[_ngcontent-%COMP%]{padding-right:0!important;text-align:left;width:2em}.status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:75%}.status[_ngcontent-%COMP%] span.inpit[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pitenter[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]{color:#0f0}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]:before{content:"\\25b2";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]:before{content:"\\25bc";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]:before{content:"\\25b2";transform:rotate(-90deg);display:inline-block;width:1em}span.title[_ngcontent-%COMP%]{font-size:75%}span.best[_ngcontent-%COMP%]{color:#0f0}span.best.allbest[_ngcontent-%COMP%]{color:#f0f}span.best.notime[_ngcontent-%COMP%], span.best.allbest.notime[_ngcontent-%COMP%]{color:inherit}span.sector[_ngcontent-%COMP%]{color:#ff0!important}gauge[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen)}'],changeDetection:0})}return d})();const J=function(d,p){return{active:d,blink:p}};let xe=(()=>{class d{constructor(){this.blink=!1}static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["startlight"]],inputs:{active:"active",blink:"blink"},decls:1,vars:4,consts:[[3,"ngClass"]],template:function(y,x){1&y&&r._UZ(0,"div",0),2&y&&r.Q6J("ngClass",r.WLB(1,J,x.active,x.blink))},dependencies:[V.mk],styles:["@keyframes _ngcontent-%COMP%_startlight-blink{0%{background:radial-gradient(circle at 60% 60%,gray 0%,black 95%,gray 100%)}to{background:radial-gradient(circle at 60% 60%,red 0%,#330000 95%,red 100%)}}div[_ngcontent-%COMP%]{display:inline-block;width:1em;height:1em;margin-left:.1em;margin-right:.1em;border-radius:50%;background:radial-gradient(circle at 60% 60%,gray 0%,black 95%,gray 100%)}div.active[_ngcontent-%COMP%]{background:radial-gradient(circle at 60% 60%,red 0%,#330000 95%,red 100%)}div.blink[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_startlight-blink;animation-duration:.5s;animation-iteration-count:infinite;animation-timing-function:linear}"],changeDetection:0})}return d})();function it(d,p){if(1&d&&(r.O4$(),r._UZ(0,"circle")),2&d){const l=p.$implicit,y=r.oxw().$implicit,x=r.oxw();r.uIk("cx",y)("cy",l)("r",x.radius)}}function yt(d,p){if(1&d&&(r.O4$(),r.TgZ(0,"g"),r.YNc(1,it,1,3,"circle",1),r.qZA()),2&d){const l=r.oxw();r.xp6(1),r.Q6J("ngForOf",l.yoffsets)}}const Vt=function(d){return{blink:d}};let Wn=(()=>{class d{constructor(){this.radius=.4}ngOnChanges(l){this.xoffsets=[],this.yoffsets=[];for(let y=0;y{class d{constructor(){this.onYellowFlag=new r.vpe}set cu(l){if(l){const y=l.getStart().pipe((0,Dr.x)()),x=l.getState();this.lights=y.pipe((0,ne.U)(De=>1==De?5:De>1&&De<7?De-1:0)),this.blink=(0,pi.a)(y,x).pipe((0,ne.U)(([De,He])=>De>=8||"connected"!==He)),this.keys=l.getVersion().then(De=>De>="5331")}else this.lights=(0,te.of)(0),this.blink=(0,te.of)(!1),this.keys=Promise.resolve(!1);this.controlUnit=l}get cu(){return this.controlUnit}togglePaceCar(){this.cu&&this.cu.trigger(Qr.PACE_CAR)}toggleStart(){this.cu&&this.cu.trigger(Qr.START)}static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["race-control"]],inputs:{cu:"cu",yellowFlag:"yellowFlag"},outputs:{onYellowFlag:"onYellowFlag"},decls:30,vars:40,consts:[["slot","start"],[3,"disabled","click"],["viewBox","0 0 9 5"],["text-anchor","middle","x","50%","y","2","dy","0.3","font-size","2","textLength","8","lengthAdjust","spacingAndGlyphs"],["text-anchor","middle","x","50%","y","4","dy","0.3","font-size","2","textLength","8","lengthAdjust","spacingAndGlyphs"],["expand","full","fill","clear",1,"icon-only",3,"disabled","click"],[3,"active","blink"],["slot","end"],[3,"blink","cols","rows"]],template:function(y,x){1&y&&(r.TgZ(0,"ion-toolbar")(1,"ion-buttons",0)(2,"ion-button",1),r.NdJ("click",function(){return x.togglePaceCar()}),r.ALo(3,"async"),r.TgZ(4,"div"),r.O4$(),r.TgZ(5,"svg",2)(6,"text",3),r._uU(7,"PACE CAR"),r.qZA(),r.TgZ(8,"text",4),r._uU(9,"ESC"),r.qZA()()()()(),r.kcU(),r.TgZ(10,"ion-button",5),r.NdJ("click",function(){return x.toggleStart()}),r.ALo(11,"async"),r._UZ(12,"startlight",6),r.ALo(13,"async"),r.ALo(14,"async"),r._UZ(15,"startlight",6),r.ALo(16,"async"),r.ALo(17,"async"),r._UZ(18,"startlight",6),r.ALo(19,"async"),r.ALo(20,"async"),r._UZ(21,"startlight",6),r.ALo(22,"async"),r.ALo(23,"async"),r._UZ(24,"startlight",6),r.ALo(25,"async"),r.ALo(26,"async"),r.qZA(),r.TgZ(27,"ion-buttons",7)(28,"ion-button",1),r.NdJ("click",function(He){return x.onYellowFlag.emit(He)}),r._UZ(29,"yellow-flag",8),r.qZA()()()),2&y&&(r.xp6(2),r.Q6J("disabled",!r.lcZ(3,16,x.keys)),r.xp6(8),r.Q6J("disabled",!r.lcZ(11,18,x.keys)),r.xp6(2),r.Q6J("active",r.lcZ(13,20,x.lights)>=1)("blink",r.lcZ(14,22,x.blink)),r.xp6(3),r.Q6J("active",r.lcZ(16,24,x.lights)>=2)("blink",r.lcZ(17,26,x.blink)),r.xp6(3),r.Q6J("active",r.lcZ(19,28,x.lights)>=3)("blink",r.lcZ(20,30,x.blink)),r.xp6(3),r.Q6J("active",r.lcZ(22,32,x.lights)>=4)("blink",r.lcZ(23,34,x.blink)),r.xp6(3),r.Q6J("active",r.lcZ(25,36,x.lights)>=5)("blink",r.lcZ(26,38,x.blink)),r.xp6(4),r.Q6J("disabled",!x.cu),r.xp6(1),r.Q6J("blink",x.yellowFlag)("cols",9)("rows",5))},dependencies:[Oe.YG,Oe.Sm,Oe.sr,xe,Wn,V.Ov],styles:["@media (orientation: portrait){ion-toolbar[_ngcontent-%COMP%]{font-size:9vw}}@media (orientation: landscape){ion-toolbar[_ngcontent-%COMP%]{font-size:6vw}}ion-button[_ngcontent-%COMP%]{font-size:inherit;height:100%;text-align:center;white-space:nowrap}ion-button[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:currentColor;height:1em;font-weight:700;letter-spacing:normal;padding:6px;border-radius:8px;box-shadow:0 0 2px #444,inset 0 0 2px #666}"],changeDetection:0})}return d})(),wn=(()=>{class d{ngOnChanges(l){this.path=function Rn(d,p){const l=[];for(let y=0;yrr(d),"m:ss":d=>Vn(d),s:d=>Math.floor(d/1e3).toString(),"h:mm:ss.sss":d=>rr(d,!0),"m:ss.sss":d=>Vn(d,!0),"s.sss":d=>(d/1e3).toFixed(3),"+h:mm:ss":d=>"+"+rr(d),"+m:ss":d=>"+"+Vn(d),"+s":d=>"+"+Math.floor(d/1e3).toString(),"+h:mm:ss.sss":d=>"+"+rr(d,!0),"+m:ss.sss":d=>"+"+Vn(d,!0),"+s.sss":d=>"+"+(d/1e3).toFixed(3)};let Ur=(()=>{class d{transform(l,y="h:mm:ss"){return null==l||Number.isNaN(l)?null:y in or?or[y](l>=0?l:0):y}static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275pipe=r.Yjl({name:"time",type:d,pure:!0});static#n=this.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac})}return d})();function Vr(d,p){1&d&&r._UZ(0,"checkerboard",4),2&d&&r.Q6J("cols",9)("rows",5)}function bo(d,p){1&d&&(r.ynx(0),r.TgZ(1,"span",5),r._uU(2,"Free Practice"),r.qZA(),r.BQk())}function Wr(d,p){1&d&&(r.ynx(0),r.TgZ(1,"span",5),r._uU(2,"Qualifying"),r.qZA(),r.BQk())}function Jr(d,p){1&d&&r._UZ(0,"span")}function Po(d,p){if(1&d&&(r._uU(0),r.ALo(1,"translate")),2&d){const l=r.oxw(4);r.hij(" ",r.xi3(1,1,"Lap {{count}}/{{total}}",l.laps)," ")}}function so(d,p){if(1&d&&(r._uU(0),r.ALo(1,"translate")),2&d){const l=r.oxw(4);r.hij(" ",r.xi3(1,1,"Lap {{count}}",l.laps)," ")}}function gs(d,p){if(1&d&&(r.TgZ(0,"span"),r.YNc(1,Jr,1,0,"span",9),r.YNc(2,Po,2,4,"ng-template",null,10,r.W1O),r.YNc(4,so,2,4,"ng-template",null,11,r.W1O),r.qZA()),2&d){const l=r.MAs(3),y=r.MAs(5),x=r.oxw(3);r.xp6(1),r.Q6J("ngIf",x.laps.total)("ngIfThen",l)("ngIfElse",y)}}function Jo(d,p){if(1&d&&(r.TgZ(0,"span"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&d){const l=r.oxw(4);r.xp6(1),r.hij(" ",r.xi3(2,1,"{{total}} Laps",l.laps)," ")}}function el(d,p){if(1&d&&r.YNc(0,Jo,3,4,"span",6),2&d){r.oxw(2);const l=r.MAs(3),y=r.oxw();r.Q6J("ngIf",y.laps.total)("ngIfElse",l)}}function Us(d,p){if(1&d&&(r.TgZ(0,"span"),r.YNc(1,gs,6,3,"span",6),r.YNc(2,el,1,2,"ng-template",null,8,r.W1O),r.qZA()),2&d){const l=r.MAs(3),y=r.oxw(2);r.xp6(1),r.Q6J("ngIf",y.laps.count)("ngIfElse",l)}}function qi(d,p){1&d&&(r.TgZ(0,"span",5),r._uU(1,"Race"),r.qZA())}function va(d,p){if(1&d&&(r.ynx(0),r.YNc(1,Us,4,2,"span",6),r.YNc(2,qi,2,0,"ng-template",null,7,r.W1O),r.BQk()),2&d){const l=r.MAs(3),y=r.oxw();r.xp6(1),r.Q6J("ngIf",y.laps)("ngIfElse",l)}}function Co(d,p){1&d&&r._UZ(0,"checkerboard",4),2&d&&r.Q6J("cols",9)("rows",5)}function ya(d,p){if(1&d&&(r.TgZ(0,"span",12),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw();r.xp6(1),r.hij(" ",r.xi3(2,1,l.time,"h:mm:ss")," ")}}let Ji=(()=>{class d{constructor(){}static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["race-title"]],inputs:{mode:"mode",laps:"laps",time:"time",finished:"finished"},decls:8,vars:7,consts:[[3,"cols","rows",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],["style","float: right",4,"ngIf"],[3,"cols","rows"],["translate",""],[4,"ngIf","ngIfElse"],["race",""],["race0",""],[4,"ngIf","ngIfThen","ngIfElse"],["race1",""],["race2",""],[2,"float","right"]],template:function(y,x){1&y&&(r.TgZ(0,"ion-title"),r.YNc(1,Vr,1,2,"checkerboard",0),r.TgZ(2,"span",1),r.YNc(3,bo,3,0,"ng-container",2),r.YNc(4,Wr,3,0,"ng-container",2),r.YNc(5,va,4,2,"ng-container",2),r.qZA(),r.YNc(6,Co,1,2,"checkerboard",0),r.YNc(7,ya,3,4,"span",3),r.qZA()),2&y&&(r.xp6(1),r.Q6J("ngIf",x.finished),r.xp6(1),r.Q6J("ngSwitch",x.mode),r.xp6(1),r.Q6J("ngSwitchCase","practice"),r.xp6(1),r.Q6J("ngSwitchCase","qualifying"),r.xp6(1),r.Q6J("ngSwitchCase","race"),r.xp6(1),r.Q6J("ngIf",x.finished),r.xp6(1),r.Q6J("ngIf",x.time&&!x.finished))},dependencies:[V.O5,V.RF,V.n9,Oe.wd,wn,qt.Pi,Ur,qt.X$],encapsulation:2,changeDetection:0})}return d})();function Hr(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-button",4),r.NdJ("click",function(){r.CHM(l);const x=r.oxw();return r.KtG(x.toggleSpeech())}),r._UZ(1,"ion-icon",9),r.qZA()}if(2&d){const l=r.oxw();r.xp6(1),r.Q6J("name",null!=l.options&&l.options.speech?"volume-high-sharp":"volume-mute-sharp")}}function Vs(d,p){if(1&d&&(r.TgZ(0,"div"),r._UZ(1,"leaderboard",10),r.ALo(2,"async"),r.ALo(3,"async"),r.ALo(4,"async"),r.qZA()),2&d){const l=r.oxw();r.xp6(1),r.Q6J("mode",l.mode)("items",r.lcZ(2,4,l.items))("pitlane",r.lcZ(3,6,l.pitlane))("sectors",r.lcZ(4,8,l.sectors))}}function _i(d,p){1&d&&(r.TgZ(0,"div",11)(1,"h1",12),r._uU(2,"Welcome to Open Lap!"),r.qZA(),r.TgZ(3,"p",12),r._uU(4," Please select a Control Unit device from the menu. "),r.qZA(),r.TgZ(5,"p",12),r._uU(6," If no devices are listed, please make sure that Bluetooth is enabled. "),r.qZA()())}const ms={position:(d,p)=>d.position-p.position,number:(d,p)=>d.id-p.id};let Hs=(()=>{class d{constructor(l,y,x,De,He,Pt,nt,Ot){this.cu=l,this.app=y,this.logger=x,this.settings=De,this.speech=He,this.popover=Pt,this.translate=nt,this.subscription=new _r.w0;const jt=Ot.snapshot.paramMap.get("mode");switch(jt){case"practice":case"qualifying":case"race":this.mode=jt;break;default:this.mode="practice"}const St=l.pipe((0,Y.h)(Tt=>!!Tt),(0,Mt.z)(Tt=>Tt.getMode()),(0,Kr.O)(0),(0,Dr.x)());this.pitlane=St.pipe((0,ne.U)(Tt=>0!=(3&Tt))),this.sectors=De.getOptions().pipe((0,ne.U)(Tt=>Tt.sectors)),this.start=l.pipe((0,Y.h)(Tt=>!!Tt),(0,Mt.z)(Tt=>Tt.getStart()),(0,Dr.x)()),this.orientation=y.orientation,this.legacyAndroid=y.isAndroid()&&y.isCordova()?y.getDeviceInfo().then(Tt=>Tt.version<"12"):Promise.resolve(!1)}ngOnInit(){this.subscription.add((0,pi.a)([this.cu,this.getRaceOptions(this.mode)]).subscribe(([l,y])=>{this.session=l&&y?this.startSession(l,y):null})),this.subscription.add(this.settings.getOptions().subscribe(l=>{this.options=l}))}startSession(l,y){const x=new fs(l,y);this.lapcount=x.currentLap.pipe((0,ne.U)(St=>({count:St,total:y.laps})),(0,Kr.O)({count:0,total:y.laps}));const De=this.settings.getDrivers().pipe((0,$e.w)(St=>{const Tt=St.map((Ht,zt)=>{const Gt=Ht.code||"#"+(zt+1);return Ht.name?(0,te.of)({name:Ht.name,code:Gt,color:Ht.color}):this.getTranslations("Driver {{number}}",{number:zt+1}).pipe((0,ne.U)(Jn=>({name:Jn,code:Gt,color:Ht.color})))});return(0,pi.a)(Tt)})),He=[1/0,1/0,1/0,1/0],Pt=(0,Ze.T)(x.grid.pipe((0,ne.U)(St=>St.pipe(xo())),(0,Mt.z)(St=>St),(0,Mt.z)(([St,Tt])=>{const Ht=[];return Tt.best.forEach((zt,Gt)=>{(zt||1/0)=3&&Ht.push([Gt?"bests"+Gt:"bestlap",Tt.id]))}),!Tt.finished&&Tt.time&&(Tt.fuelSt.length>0&&"race"==y.mode),(0,ne.U)(St=>St.map(Tt=>({id:Tt.id,finished:Tt.finished}))),xo(),(0,Y.h)(([St,Tt])=>Tt[0].finished),(0,Mt.z)(([St,Tt])=>{const Ht=[];return!St[0].finished&&Tt[0].finished&&Ht.push(Tt.length>1?["finished1st",Tt[0].id]:["finished",null]),Tt.length>=2&&!St[1]?.finished&&Tt[1].finished&&Ht.push(["finished2nd",Tt[1].id]),Tt.length>=3&&!St[2]?.finished&&Tt[2].finished&&Ht.push(["finished3rd",Tt[2].id]),(0,Er.D)(Ht)})),x.ranking.pipe((0,Y.h)(St=>0!=St.length&&"race"==y.mode),(0,ne.U)(St=>St[0]),xo(),(0,Y.h)(([St,Tt])=>St.id!=Tt.id),(0,ne.U)(([St,Tt])=>["newleader",Tt.id])),x.timer.pipe((0,Y.h)(St=>y.time>=12e4&&St<=6e4&&!x.finished.value),(0,Sn.q)(1),(0,ne.U)(()=>["oneminute",null])),x.timer.pipe((0,ne.U)(St=>[St,x.finished.value]),xo(),(0,ne.U)(([St,Tt])=>[Tt[0],St[1]]),(0,Y.h)(([St,Tt])=>0==St&&!Tt),(0,Sn.q)(1),(0,ne.U)(()=>["timeout",null])),x.yellowFlag.pipe((0,Dr.x)(),function gi(d){return(0,wt.e)((p,l)=>{let y=!1,x=0;p.subscribe((0,Un.x)(l,De=>(y||(y=!d(De,x++)))&&l.next(De)))})}(St=>!St),(0,ne.U)(St=>[St?"yellowflag":"greenflag",null])),x.allFinished.pipe((0,Y.h)(St=>St),(0,Sn.q)(1),(0,ne.U)(()=>["alldone",null])),this.lapcount.pipe((0,Y.h)(St=>y.laps>=10&&St.count===y.laps-4&&!x.finished.value),(0,Sn.q)(1),(0,ne.U)(()=>["fivelaps",null])),this.lapcount.pipe((0,Y.h)(St=>y.laps&&St.count===y.laps&&!x.finished.value),(0,Sn.q)(1),(0,ne.U)(()=>["finallap",null])),this.start.pipe((0,Dr.x)(),(0,Y.h)(St=>9===St),(0,ne.U)(()=>["falsestart",null]))).pipe(_o(De),(0,ne.U)(([[St,Tt],Ht])=>[St,null!==Tt?Ht[Tt]:null])),nt=this.settings.getOptions().pipe((0,ne.U)(St=>St.fixedorder?"number":"position")),Ot=[],jt=[];return this.items=(0,pi.a)([x.ranking,De,nt]).pipe((0,ne.U)(([St,Tt,Ht])=>{const zt=St.map((Gt,Jn)=>("race"==y.mode&&void 0===Ot[Gt.id]&&void 0!==Gt.time&&(Ot[Gt.id]=Jn),(!Gt.pit||Gt.fueljt[Gt.id]})));return zt.sort(ms[Ht||"position"]),zt}),(0,to.B)()),this.subscriptions&&this.subscriptions.unsubscribe(),this.subscriptions=Pt.pipe(_o(this.settings.getOptions(),this.settings.getNotifications(),this.getTranslations("notifications"))).subscribe(([[St,Tt],Ht,zt,Gt])=>{if(this.logger.debug("Race event: "+St,Tt),Ht.speech&&zt[St]&&zt[St].enabled){let Jn=zt[St].message||Gt[St];this.speech.speak(Tt&&Tt.name?Tt.name+": "+Jn:Jn)}}),this.subscriptions.add(this.lapcount.subscribe(St=>{l.setLap(St.count)},St=>{this.logger.error("Lap counter error:",St)},()=>{this.logger.info("Lap counter finished")})),this.subscriptions.add(Pt.pipe((0,Y.h)(([St])=>"alldone"==St),_o(this.getRaceOptions(y.mode))).subscribe(([[St],Tt])=>{Tt.stopfin&&l.toggleStart()})),"practice"!=y.mode&&l.getStart().pipe((0,Sn.q)(1)).toPromise().then(Tt=>{0===Tt&&l.toggleStart(),l.getStart().pipe(xo(),(0,Y.h)(([Ht,zt])=>0!=Ht&&0==zt),(0,Sn.q)(1)).toPromise().then(()=>{this.logger.info("Start "+y.mode+" mode"),x.start()})}),x}ngOnDestroy(){this.subscription.unsubscribe(),this.subscriptions&&this.subscriptions.unsubscribe(),this.dataSubscription&&this.dataSubscription.unsubscribe()}ionViewDidEnter(){this.backButtonSubscription=this.app.backButton.subscribe(()=>{this.cu.value?this.cu.value.disconnect().catch(l=>{this.logger.error("Error disconnecting from CU:",l)}).then(()=>{this.app.exit()}):this.app.exit()})}ionViewWillLeave(){this.backButtonSubscription.unsubscribe()}restartSession(){this.session&&(this.session=this.startSession(this.session.cu,this.session.options))}cancelSession(){this.session&&this.session.stop()}getRaceOptions(l){switch(l){case"race":return this.settings.getRaceSettings();case"qualifying":return this.settings.getQualifyingSettings();default:return(0,te.of)(new tr.VL("practice"))}}toggleSpeech(){this.options&&this.settings.setOptions(Object.assign({},this.options,{speech:!this.options.speech}))}toggleYellowFlag(){this.session&&this.session.toggleYellowFlag()}showMenu(l){return this.popover.create({component:qo,componentProps:{mode:this.mode,active:this.session&&!this.session.finished.value&&"practice"!=this.mode,restart:()=>this.restartSession(),cancel:()=>this.cancelSession()},event:l}).then(y=>{y.present()})}getTranslations(l,y){return this.translate.stream(l,y)}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(yn.V1),r.Y36(yn.zi),r.Y36(yn.ed),r.Y36(tr.de),r.Y36(yn.vA),r.Y36(Oe.Dh),r.Y36(qt.sK),r.Y36(jn.gz))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["ng-component"]],decls:22,vars:23,consts:[["slot","start"],[3,"mode","laps","time","finished"],["slot","end"],[3,"click",4,"ngIf"],[3,"click"],["slot","icon-only","name","ellipsis-vertical-sharp"],[4,"ngIf","ngIfElse"],["nocu",""],[3,"cu","yellowFlag","onYellowFlag"],["slot","icon-only",3,"name"],[3,"mode","items","pitlane","sectors"],[1,"ion-padding"],["translate",""]],template:function(y,x){if(1&y&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),r._UZ(3,"ion-menu-button"),r.qZA(),r._UZ(4,"race-title",1),r.ALo(5,"async"),r.ALo(6,"async"),r.ALo(7,"async"),r.TgZ(8,"ion-buttons",2),r.YNc(9,Hr,2,1,"ion-button",3),r.ALo(10,"async"),r.TgZ(11,"ion-button",4),r.NdJ("click",function(He){return x.showMenu(He)}),r._UZ(12,"ion-icon",5),r.qZA()()()(),r.TgZ(13,"ion-content"),r.YNc(14,Vs,5,10,"div",6),r.ALo(15,"async"),r.YNc(16,_i,7,0,"ng-template",null,7,r.W1O),r.qZA(),r.TgZ(18,"ion-footer")(19,"race-control",8),r.NdJ("onYellowFlag",function(){return x.toggleYellowFlag()}),r.ALo(20,"async"),r.ALo(21,"async"),r.qZA()()),2&y){const De=r.MAs(17);r.xp6(4),r.Q6J("mode",x.mode)("laps",r.lcZ(5,9,x.lapcount))("time",r.lcZ(6,11,null==x.session?null:x.session.timer))("finished",r.lcZ(7,13,null==x.session?null:x.session.finished)),r.xp6(5),r.Q6J("ngIf","landscape"==r.lcZ(10,15,x.orientation)),r.xp6(5),r.Q6J("ngIf",r.lcZ(15,17,x.cu))("ngIfElse",De),r.xp6(5),r.Q6J("cu",r.lcZ(20,19,x.cu))("yellowFlag",r.lcZ(21,21,null==x.session?null:x.session.yellowFlag))}},dependencies:[V.O5,Oe.YG,Oe.Sm,Oe.W2,Oe.fr,Oe.Gu,Oe.gu,Oe.fG,Oe.sr,T,Zn,qt.Pi,Ji,V.Ov],encapsulation:2})}return d})();const vs=["time"],js=["laps"],_a=["pause"],zs=["slotmode"];function ys(d,p){1&d&&(r.TgZ(0,"span",21),r._uU(1,"Free Practice"),r.qZA())}function Li(d,p){1&d&&(r.TgZ(0,"span",21),r._uU(1,"Qualifying"),r.qZA())}function Tr(d,p){1&d&&(r.TgZ(0,"span",21),r._uU(1,"Race"),r.qZA())}function ba(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-item")(1,"ion-input",22,23),r.NdJ("ionInput",function(x){r.CHM(l);const De=r.oxw();return r.KtG(De.onLapsInput(x))})("ionChange",function(x){r.CHM(l);const De=r.oxw();return r.KtG(De.onChangeLaps(x))}),r.ALo(3,"translate"),r.qZA()()}2&d&&(r.xp6(1),r.s9C("label",r.lcZ(3,3,"Number of laps")),r.Q6J("clearInput",!0)("maxlength",5))}function Xo(d,p){if(1&d&&(r.TgZ(0,"ion-select-option",24),r._uU(1),r.qZA()),2&d){const l=p.$implicit;r.Q6J("value",l),r.xp6(1),r.Oqu(l)}}function Ca(d,p){1&d&&(r.TgZ(0,"ion-item")(1,"ion-toggle",25,26),r._uU(3,"Finish all laps"),r.qZA()())}const Qo=function(){return[1,2,3,4,5,6]};function Do(d){const p=Math.floor(d/36e5),l=Math.floor(d/6e4%60);return(""+p).padStart(1,"0")+":"+(""+l).padStart(2,"0")}function bi(d){const[p,l]=d.split(":");return 1e3*(3600*parseInt(p)+60*parseInt(l))}function Xi(d){return d.value&&bi(d.value)?null:{required:!0}}function tl(d){const p=parseInt(d.get("laps").value);return p&&p>0||!Xi(d.get("time"))?null:{required:!0}}let Uo=(()=>{class d{constructor(l,y,x){this.mod=x,this.mode=y.get("mode"),this.form="race"==this.mode?function Qi(d,p){return d.group({laps:new $n.NI(p.get("laps")||"0"),time:new $n.NI(Do(p.get("time")||0)),pause:new $n.NI({value:!!p.get("pause"),disabled:!p.get("time")}),slotmode:new $n.NI({value:!!p.get("slotmode"),disabled:!p.get("laps")}),stopfin:new $n.NI(p.get("stopfin")||!1),drivers:new $n.NI(p.get("drivers")||""),auto:new $n.NI(p.get("auto")||!1),pace:new $n.NI(p.get("pace")||!1)},{validator:tl})}(l,y):function Da(d,p){return d.group({time:new $n.NI(Do(p.get("time")||3e5),Xi),pause:new $n.NI({value:p.get("pause")||!1,disabled:!p.get("time")}),stopfin:new $n.NI(p.get("stopfin")||!1),drivers:new $n.NI(p.get("drivers")||""),auto:new $n.NI(p.get("auto")||!1),pace:new $n.NI(p.get("pace")||!1)})}(l,y)}ngAfterViewInit(){this.pauseToggle&&(this.pauseToggle.disabled=this.form.get("pause").disabled),this.slotmodeToggle&&(this.slotmodeToggle.disabled=this.form.get("slotmode").disabled)}onTimeInput(l){const x=l.target.value.replace(/[^0-9]+/g,"").replace(/^0+/,""),De=x.substring(x.length-2).padStart(2,"0"),Pt=x.substring(0,x.length-2).padStart(1,"0")+":"+De;this.timeInput.value=Pt,this.form.get("time").setValue(Pt)}onChangeTime(l){const y=bi(l.detail.value);this.timeInput.value=Do(y),0!=y?this.form.get("pause").enable():this.form.get("pause").disable(),this.pauseToggle&&(this.pauseToggle.disabled=this.form.get("pause").disabled),this.timeInput.getInputElement().then(x=>x.blur())}onLapsInput(l){const x=l.target.value.replace(/[^0-9]+/g,"").replace(/^0+/,"")||"0";this.lapsInput.value=x,this.form.get("laps").setValue(x)}onChangeLaps(l){parseInt(l.detail.value||"0")>0?this.form.get("slotmode").enable():this.form.get("slotmode").disable(),this.slotmodeToggle&&(this.slotmodeToggle.disabled=this.form.get("slotmode").disabled),this.lapsInput.getInputElement().then(y=>y.blur())}onSubmit(l){this.mod.dismiss(Object.assign(new tr.VL(this.mode),{laps:parseInt(l.laps||"0"),time:bi(l.time||"0:00"),pause:l.pause,drivers:l.drivers?parseInt(l.drivers):void 0,auto:l.auto,pace:l.pace,slotmode:l.slotmode,stopfin:l.stopfin}))}onCancel(){this.mod.dismiss()}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36($n.qu),r.Y36(Fe.X1),r.Y36(Oe.IN))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["ng-component"]],viewQuery:function(y,x){if(1&y&&(r.Gf(vs,5),r.Gf(js,5),r.Gf(_a,7),r.Gf(zs,5)),2&y){let De;r.iGM(De=r.CRH())&&(x.timeInput=De.first),r.iGM(De=r.CRH())&&(x.lapsInput=De.first),r.iGM(De=r.CRH())&&(x.pauseToggle=De.first),r.iGM(De=r.CRH())&&(x.slotmodeToggle=De.first)}},decls:43,vars:23,consts:[["translate","",3,"ngSwitch"],["translate","",4,"ngSwitchCase"],["translate","",4,"ngSwitchDefault"],["slot","start"],[3,"click"],["name","close-sharp"],["slot","end"],["translate","","type","submit",3,"disabled","click"],[3,"formGroup"],["formControlName","time","placeholder","0:00","inputmode","decimal","enterkeyhint","done",1,"right-align",3,"label","clearInput","maxlength","ionInput","ionChange"],["time",""],[4,"ngIf"],["formControlName","drivers",3,"label","cancelText","okText"],["translate","","value",""],[3,"value",4,"ngFor","ngForOf"],["formControlName","auto","translate",""],["formControlName","pace","translate",""],["formControlName","pause","translate",""],["pause",""],["formControlName","stopfin","translate",""],["stopfin",""],["translate",""],["formControlName","laps","placeholder","0","inputmode","decimal","enterkeyhint","done",1,"right-align",3,"label","clearInput","maxlength","ionInput","ionChange"],["laps",""],[3,"value"],["formControlName","slotmode","translate",""],["slotmode",""]],template:function(y,x){1&y&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-title",0),r.YNc(3,ys,2,0,"span",1),r.YNc(4,Li,2,0,"span",1),r.YNc(5,Tr,2,0,"span",2),r.qZA(),r.TgZ(6,"ion-buttons",3)(7,"ion-button",4),r.NdJ("click",function(){return x.onCancel()}),r._UZ(8,"ion-icon",5),r.qZA()(),r.TgZ(9,"ion-buttons",6)(10,"ion-button",7),r.NdJ("click",function(){return x.onSubmit(x.form.value)}),r._uU(11," Start "),r.qZA()()()(),r.TgZ(12,"ion-content")(13,"form",8)(14,"ion-list")(15,"ion-item")(16,"ion-input",9,10),r.NdJ("ionInput",function(He){return x.onTimeInput(He)})("ionChange",function(He){return x.onChangeTime(He)}),r.ALo(18,"translate"),r.qZA()(),r.YNc(19,ba,4,5,"ion-item",11),r.TgZ(20,"ion-item")(21,"ion-select",12),r.ALo(22,"translate"),r.ALo(23,"translate"),r.ALo(24,"translate"),r.TgZ(25,"ion-select-option",13),r._uU(26,"Automatic"),r.qZA(),r.YNc(27,Xo,2,2,"ion-select-option",14),r.qZA()(),r.TgZ(28,"ion-item")(29,"ion-toggle",15),r._uU(30,"Autonomous Car"),r.qZA()(),r.TgZ(31,"ion-item")(32,"ion-toggle",16),r._uU(33,"Pace Car"),r.qZA()(),r.TgZ(34,"ion-item")(35,"ion-toggle",17,18),r._uU(37,"Stop time when paused"),r.qZA()(),r.YNc(38,Ca,4,0,"ion-item",11),r.TgZ(39,"ion-item")(40,"ion-toggle",19,20),r._uU(42,"Stop cars when finished"),r.qZA()()()()()),2&y&&(r.xp6(2),r.Q6J("ngSwitch",x.mode),r.xp6(1),r.Q6J("ngSwitchCase","practice"),r.xp6(1),r.Q6J("ngSwitchCase","qualifying"),r.xp6(6),r.Q6J("disabled",!x.form.valid),r.xp6(3),r.Q6J("formGroup",x.form),r.xp6(3),r.s9C("label",r.lcZ(18,14,"Time")),r.Q6J("clearInput",!0)("maxlength",5),r.xp6(3),r.Q6J("ngIf","race"==x.mode),r.xp6(2),r.s9C("label",r.lcZ(22,16,"Number of drivers")),r.s9C("cancelText",r.lcZ(23,18,"Cancel")),r.s9C("okText",r.lcZ(24,20,"OK")),r.xp6(6),r.Q6J("ngForOf",r.DdM(22,Qo)),r.xp6(11),r.Q6J("ngIf","race"==x.mode))},dependencies:[V.sg,V.O5,V.RF,V.n9,V.ED,$n._Y,$n.JJ,$n.JL,$n.nD,$n.sg,$n.u,Oe.YG,Oe.Sm,Oe.W2,Oe.Gu,Oe.gu,Oe.pK,Oe.Ie,Oe.q_,Oe.t9,Oe.n0,Oe.wd,Oe.ho,Oe.sr,Oe.w,Oe.QI,Oe.j9,qt.Pi,qt.X$],encapsulation:2})}return d})();function Vo(d,p){1&d&&(r.TgZ(0,"div",2)(1,"span",3),r._uU(2,"POS"),r.qZA()())}function Ci(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"NO"),r.qZA())}function Ys(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"NAME"),r.qZA())}function _s(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"NAME"),r.qZA())}function ei(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"TIME"),r.qZA())}function nl(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"LAST LAP"),r.qZA())}function rl(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"BEST LAP"),r.qZA())}function ir(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"S1"),r.qZA())}function uc(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"S2"),r.qZA())}function es(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"S3"),r.qZA())}function dc(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"GAP"),r.qZA())}function Ea(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"INT"),r.qZA())}function ol(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"LAPS"),r.qZA())}function il(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"PITS"),r.qZA())}function sl(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"FUEL"),r.qZA())}function Ni(d,p){1&d&&r._UZ(0,"span",3)}function al(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"LAP"),r.qZA())}function ll(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"TIME"),r.qZA())}const Ar=function(d){return[d,"cell"]};function bs(d,p){if(1&d&&(r.TgZ(0,"div",4),r.YNc(1,Ci,2,0,"span",5),r.YNc(2,Ys,2,0,"span",5),r.YNc(3,_s,2,0,"span",5),r.YNc(4,ei,2,0,"span",5),r.YNc(5,nl,2,0,"span",5),r.YNc(6,rl,2,0,"span",5),r.YNc(7,ir,2,0,"span",5),r.YNc(8,uc,2,0,"span",5),r.YNc(9,es,2,0,"span",5),r.YNc(10,dc,2,0,"span",5),r.YNc(11,Ea,2,0,"span",5),r.YNc(12,ol,2,0,"span",5),r.YNc(13,il,2,0,"span",5),r.YNc(14,sl,2,0,"span",5),r.YNc(15,Ni,1,0,"span",5),r.YNc(16,al,2,0,"span",5),r.YNc(17,ll,2,0,"span",5),r.qZA()),2&d){const l=p.$implicit;r.Q6J("ngSwitch",l)("ngClass",r.VKq(19,Ar,l)),r.xp6(1),r.Q6J("ngSwitchCase","number"),r.xp6(1),r.Q6J("ngSwitchCase","name"),r.xp6(1),r.Q6J("ngSwitchCase","code"),r.xp6(1),r.Q6J("ngSwitchCase","time"),r.xp6(1),r.Q6J("ngSwitchCase","lastlap"),r.xp6(1),r.Q6J("ngSwitchCase","bestlap"),r.xp6(1),r.Q6J("ngSwitchCase","sector1"),r.xp6(1),r.Q6J("ngSwitchCase","sector2"),r.xp6(1),r.Q6J("ngSwitchCase","sector3"),r.xp6(1),r.Q6J("ngSwitchCase","gap"),r.xp6(1),r.Q6J("ngSwitchCase","int"),r.xp6(1),r.Q6J("ngSwitchCase","laps"),r.xp6(1),r.Q6J("ngSwitchCase","pits"),r.xp6(1),r.Q6J("ngSwitchCase","fuel"),r.xp6(1),r.Q6J("ngSwitchCase","status"),r.xp6(1),r.Q6J("ngSwitchCase","lap"),r.xp6(1),r.Q6J("ngSwitchCase","laptime")}}let Di=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["leaderboard-head"]],inputs:{fields:"fields"},decls:2,vars:2,consts:[["class","position cell",4,"ngIf"],[3,"ngSwitch","ngClass",4,"ngFor","ngForOf"],[1,"position","cell"],[1,"title"],[3,"ngSwitch","ngClass"],["class","title",4,"ngSwitchCase"]],template:function(y,x){1&y&&(r.YNc(0,Vo,3,0,"div",0),r.YNc(1,bs,18,21,"div",1)),2&y&&(r.Q6J("ngIf",x.fields.length>5),r.xp6(1),r.Q6J("ngForOf",x.fields))},dependencies:[V.mk,V.sg,V.O5,V.RF,V.n9],styles:['@charset "UTF-8";@media (orientation: portrait){[_nghost-%COMP%]{font-size:3vw}}@media (orientation: landscape){[_nghost-%COMP%]{font-size:2.5vw}ion-modal [_nghost-%COMP%]{font-size:1.5em!important}}[_nghost-%COMP%]{display:block;width:100%}leaderboard-head[_ngcontent-%COMP%]{margin:0 2px}leaderboard-item[_ngcontent-%COMP%]{margin:0 2px 4px}leaderboard-lap[_ngcontent-%COMP%]{margin:0 2px 4px}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.row.odd[_ngcontent-%COMP%]{background-color:var(--ion-color-step-100)}.row.even[_ngcontent-%COMP%]{background-color:var(--ion-color-step-200)}.cell[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;padding:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.position[_ngcontent-%COMP%]{text-align:left;width:1.9em;padding-left:0!important;padding-right:0!important}.number[_ngcontent-%COMP%]{text-align:left;width:1.65em}.lap[_ngcontent-%COMP%]{text-align:left;width:2.5em}.name[_ngcontent-%COMP%]{flex-basis:4em;flex-grow:1;text-align:left}.code[_ngcontent-%COMP%]{flex-basis:3em;flex-grow:1;text-align:left}.time[_ngcontent-%COMP%]{text-align:right;width:6em}.bestlap[_ngcontent-%COMP%], .lastlap[_ngcontent-%COMP%], .laptime[_ngcontent-%COMP%]{text-align:right;width:5em}.sector1[_ngcontent-%COMP%], .sector2[_ngcontent-%COMP%], .sector3[_ngcontent-%COMP%]{text-align:right;width:4.5em}.gap[_ngcontent-%COMP%], .int[_ngcontent-%COMP%]{text-align:right;width:5em}.laps[_ngcontent-%COMP%], .pits[_ngcontent-%COMP%]{text-align:right;width:3em}.fuel[_ngcontent-%COMP%]{text-align:left;width:4.5em}.status[_ngcontent-%COMP%]{padding-right:0!important;text-align:left;width:2em}.status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:75%}.status[_ngcontent-%COMP%] span.inpit[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pitenter[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]{color:#0f0}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]:before{content:"\\25b2";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]:before{content:"\\25bc";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]:before{content:"\\25b2";transform:rotate(-90deg);display:inline-block;width:1em}span.title[_ngcontent-%COMP%]{font-size:75%}span.best[_ngcontent-%COMP%]{color:#0f0}span.best.allbest[_ngcontent-%COMP%]{color:#f0f}span.best.notime[_ngcontent-%COMP%], span.best.allbest.notime[_ngcontent-%COMP%]{color:inherit}span.sector[_ngcontent-%COMP%]{color:#ff0!important}gauge[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen)}'],changeDetection:0})}return d})(),wa=(()=>{class d{constructor(){this.min=0,this.max=1}static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["gauge"]],inputs:{min:"min",max:"max",value:"value"},decls:1,vars:2,template:function(y,x){1&y&&r._UZ(0,"span"),2&y&&r.Udp("padding-right",100*(x.max-x.value)/(x.max-x.min)+"%")},styles:["span[_ngcontent-%COMP%]{display:inline-block;background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen);background-clip:content-box;min-height:.8em;width:100%}"],changeDetection:0})}return d})();function ao(d,p){if(1&d&&r._uU(0),2&d){const l=r.oxw(2);r.hij(" ",l.item.id+1," ")}}function f(d,p){if(1&d&&r._uU(0),2&d){const l=r.oxw(2);r.hij(" ",null==l.item.driver?null:l.item.driver.name," ")}}function m(d,p){if(1&d&&r._uU(0),2&d){const l=r.oxw(2);r.hij(" ",null==l.item.driver?null:l.item.driver.code," ")}}function c(d,p){if(1&d&&(r._uU(0),r.ALo(1,"time")),2&d){const l=r.oxw(3);r.hij(" ",r.xi3(1,1,l.item.time,"m:ss.sss")," ")}}function b(d,p){if(1&d&&(r._uU(0),r.ALo(1,"time")),2&d){const l=r.oxw(3);r.hij(" ",r.xi3(1,1,l.item.time-l.ranked[0].time,"+s.sss")," ")}}function L(d,p){1&d&&r._uU(0," +1 Lap ")}function q(d,p){if(1&d&&r._uU(0),2&d){const l=r.oxw(3);r.hij(" +",l.ranked[0].laps-l.item.laps," Laps ")}}function le(d,p){if(1&d&&(r.TgZ(0,"span",18),r.YNc(1,c,2,4,"ng-template",19),r.YNc(2,b,2,4,"ng-template",20),r.YNc(3,L,1,0,"ng-template",21),r.YNc(4,q,1,1,"ng-template",22),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngSwitch",0==l.item.position?"":(l.ranked[0].laps-l.item.laps).toString())}}const Ge=function(d){return{notime:d}};function ht(d,p){if(1&d&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngClass",r.VKq(5,Ge,!l.item.best[0])),r.xp6(1),r.hij(" ",r.xi3(2,2,l.item.best[0],"s.sss")||"NO\u2009TIME"," ")}}function kt(d,p){if(1&d&&(r._uU(0),r.ALo(1,"time")),2&d){const l=r.oxw(2);r.hij(" ",r.xi3(1,1,l.item.position&&l.item.best[0]?l.item.best[0]-l.ranked[0].best[0]:null,"+s.sss")," ")}}function Bt(d,p){if(1&d&&(r._uU(0),r.ALo(1,"time")),2&d){const l=r.oxw(2);r.hij(" ",r.xi3(1,1,l.item.position&&l.item.best[0]?l.item.best[0]-l.ranked[l.item.position-1].best[0]:null,"+s.sss")," ")}}const Yn=function(d,p,l){return{best:d,allbest:p,notime:l}};function xr(d,p){if(1&d&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngClass",r.kEZ(5,Yn,l.item.last[0]==l.item.best[0],l.item.last[0]==l.best[0],!l.item.last[0])),r.xp6(1),r.hij(" ",r.xi3(2,2,l.item.last[0],"s.sss")||"NO\u2009TIME"," ")}}const Eo=function(d,p,l){return{sector:d,best:p,allbest:l}};function Ro(d,p){if(1&d&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngClass",r.kEZ(5,Eo,1==l.item.sector,l.item.last[1]==l.item.best[1],l.item.last[1]==l.best[1])),r.xp6(1),r.hij(" ",r.xi3(2,2,l.item.last[1],"s.sss")," ")}}function ti(d,p){if(1&d&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngClass",r.kEZ(5,Eo,2==l.item.sector,l.item.last[2]==l.item.best[2],l.item.last[2]==l.best[2])),r.xp6(1),r.hij(" ",r.xi3(2,2,l.item.last[2],"s.sss")," ")}}function lo(d,p){if(1&d&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngClass",r.kEZ(5,Eo,3==l.item.sector,l.item.last[3]==l.item.best[3],l.item.last[3]==l.best[3])),r.xp6(1),r.hij(" ",r.xi3(2,2,l.item.last[3],"s.sss")," ")}}function cl(d,p){if(1&d&&r._uU(0),2&d){const l=r.oxw(2);r.hij(" ",l.item.laps," ")}}function Cs(d,p){if(1&d&&r._uU(0),2&d){const l=r.oxw(2);r.hij(" ",l.item.pits," ")}}function Ds(d,p){if(1&d&&(r.TgZ(0,"gauge",24),r._uU(1,"\xa0"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("max",15)("value",l.item.fuel)}}function Gs(d,p){1&d&&r._UZ(0,"checkerboard",27),2&d&&r.Q6J("cols",7)("rows",5)}function Ws(d,p){if(1&d&&(r.TgZ(0,"span",23),r._uU(1,"PIT"),r.qZA()),2&d){const l=r.oxw(3);r.Q6J("ngClass",l.item.refuel?"inpit":"pitenter")}}function Es(d,p){if(1&d&&(r.TgZ(0,"span",23),r._uU(1),r.qZA()),2&d){const l=r.oxw(3);r.Q6J("ngClass",l.item.gridpos>l.item.position?"pos-up":l.item.gridpos2)}}const ws=function(d){return[d,"cell"]};function fc(d,p){if(1&d&&(r.TgZ(0,"div",2),r.YNc(1,ao,1,1,"ng-template",3),r.YNc(2,f,1,1,"ng-template",4),r.YNc(3,m,1,1,"ng-template",5),r.YNc(4,le,5,1,"ng-template",6),r.YNc(5,ht,3,7,"ng-template",7),r.YNc(6,kt,2,4,"ng-template",8),r.YNc(7,Bt,2,4,"ng-template",9),r.YNc(8,xr,3,9,"ng-template",10),r.YNc(9,Ro,3,9,"ng-template",11),r.YNc(10,ti,3,9,"ng-template",12),r.YNc(11,lo,3,9,"ng-template",13),r.YNc(12,cl,1,1,"ng-template",14),r.YNc(13,Cs,1,1,"ng-template",15),r.YNc(14,Ds,2,2,"ng-template",16),r.YNc(15,ul,3,3,"ng-template",17),r.qZA()),2&d){const l=p.$implicit;r.Q6J("ngSwitch",l)("ngClass",r.VKq(2,ws,l))}}let dl=(()=>{class d{abs(l){return l<0?-l:l}static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["leaderboard-item"]],inputs:{fields:"fields",item:"item",ranked:"ranked",best:"best"},decls:3,vars:3,consts:[[1,"position","cell",3,"color"],[3,"ngSwitch","ngClass",4,"ngFor","ngForOf"],[3,"ngSwitch","ngClass"],["ngSwitchCase","number"],["ngSwitchCase","name"],["ngSwitchCase","code"],["ngSwitchCase","time"],["ngSwitchCase","bestlap"],["ngSwitchCase","gap"],["ngSwitchCase","int"],["ngSwitchCase","lastlap"],["ngSwitchCase","sector1"],["ngSwitchCase","sector2"],["ngSwitchCase","sector3"],["ngSwitchCase","laps"],["ngSwitchCase","pits"],["ngSwitchCase","fuel"],["ngSwitchCase","status"],[3,"ngSwitch"],["ngSwitchCase",""],["ngSwitchCase","0"],["ngSwitchCase","1"],["ngSwitchDefault",""],[3,"ngClass"],[3,"max","value"],[3,"cols","rows",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"cols","rows"]],template:function(y,x){1&y&&(r.TgZ(0,"outline",0),r._uU(1),r.qZA(),r.YNc(2,fc,16,4,"div",1)),2&y&&(r.Q6J("color",null==x.item.driver?null:x.item.driver.color),r.xp6(1),r.hij(" ",x.item.position+1,"\n"),r.xp6(1),r.Q6J("ngForOf",x.fields))},dependencies:[V.mk,V.sg,V.O5,V.RF,V.n9,V.ED,wn,wa,$o,Ur],styles:['@charset "UTF-8";@media (orientation: portrait){[_nghost-%COMP%]{font-size:3vw}}@media (orientation: landscape){[_nghost-%COMP%]{font-size:2.5vw}ion-modal [_nghost-%COMP%]{font-size:1.5em!important}}[_nghost-%COMP%]{display:block;width:100%}leaderboard-head[_ngcontent-%COMP%]{margin:0 2px}leaderboard-item[_ngcontent-%COMP%]{margin:0 2px 4px}leaderboard-lap[_ngcontent-%COMP%]{margin:0 2px 4px}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.row.odd[_ngcontent-%COMP%]{background-color:var(--ion-color-step-100)}.row.even[_ngcontent-%COMP%]{background-color:var(--ion-color-step-200)}.cell[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;padding:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.position[_ngcontent-%COMP%]{text-align:left;width:1.9em;padding-left:0!important;padding-right:0!important}.number[_ngcontent-%COMP%]{text-align:left;width:1.65em}.lap[_ngcontent-%COMP%]{text-align:left;width:2.5em}.name[_ngcontent-%COMP%]{flex-basis:4em;flex-grow:1;text-align:left}.code[_ngcontent-%COMP%]{flex-basis:3em;flex-grow:1;text-align:left}.time[_ngcontent-%COMP%]{text-align:right;width:6em}.bestlap[_ngcontent-%COMP%], .lastlap[_ngcontent-%COMP%], .laptime[_ngcontent-%COMP%]{text-align:right;width:5em}.sector1[_ngcontent-%COMP%], .sector2[_ngcontent-%COMP%], .sector3[_ngcontent-%COMP%]{text-align:right;width:4.5em}.gap[_ngcontent-%COMP%], .int[_ngcontent-%COMP%]{text-align:right;width:5em}.laps[_ngcontent-%COMP%], .pits[_ngcontent-%COMP%]{text-align:right;width:3em}.fuel[_ngcontent-%COMP%]{text-align:left;width:4.5em}.status[_ngcontent-%COMP%]{padding-right:0!important;text-align:left;width:2em}.status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:75%}.status[_ngcontent-%COMP%] span.inpit[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pitenter[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]{color:#0f0}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]:before{content:"\\25b2";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]:before{content:"\\25bc";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]:before{content:"\\25b2";transform:rotate(-90deg);display:inline-block;width:1em}span.title[_ngcontent-%COMP%]{font-size:75%}span.best[_ngcontent-%COMP%]{color:#0f0}span.best.allbest[_ngcontent-%COMP%]{color:#f0f}span.best.notime[_ngcontent-%COMP%], span.best.allbest.notime[_ngcontent-%COMP%]{color:inherit}span.sector[_ngcontent-%COMP%]{color:#ff0!important}gauge[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen)}'],changeDetection:0})}return d})();function Is(d,p){if(1&d&&r._uU(0),2&d){const l=r.oxw(2);r.hij(" ",l.lap," ")}}const ki=function(d,p){return{best:d,allbest:p}};function fl(d,p){if(1&d&&(r.TgZ(0,"span",9),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngClass",r.WLB(5,ki,l.times[0]-l.times[1]==l.item.best[0],l.times[0]-l.times[1]==l.best[0])),r.xp6(1),r.hij(" ",r.xi3(2,2,l.times[0]-l.times[1],"s.sss")," ")}}function hc(d,p){if(1&d&&(r._uU(0),r.ALo(1,"time")),2&d){const l=r.oxw(2);r.hij(" ",r.xi3(1,1,l.times[0]-l.times[1]-l.best[0]||null,"+s.sss")," ")}}function pc(d,p){if(1&d&&(r._uU(0),r.ALo(1,"time")),2&d){const l=r.oxw(2);r.hij(" ",r.xi3(1,1,l.times[0]-l.times[1]-l.intlap||null,"+s.sss")," ")}}function ts(d,p){if(1&d&&(r.TgZ(0,"span",9),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngClass",r.WLB(5,ki,l.times[2]-l.times[1]==l.item.best[1],l.times[2]-l.times[1]==l.best[1])),r.xp6(1),r.hij(" ",r.xi3(2,2,l.times[2]-l.times[1],"s.sss")," ")}}function Ms(d,p){if(1&d&&(r.TgZ(0,"span",9),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngClass",r.WLB(5,ki,l.times[3]-l.times[2]==l.item.best[2],l.times[3]-l.times[2]==l.best[2])),r.xp6(1),r.hij(" ",r.xi3(2,2,l.times[3]-l.times[2],"s.sss")," ")}}function gc(d,p){if(1&d&&(r.TgZ(0,"span",9),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngClass",r.WLB(5,ki,l.times[0]-l.times[3]==l.item.best[3],l.times[0]-l.times[3]==l.best[3])),r.xp6(1),r.hij(" ",r.xi3(2,2,l.times[0]-l.times[3],"s.sss")," ")}}const Ed=function(d){return[d,"cell"]};function hl(d,p){if(1&d&&(r.TgZ(0,"div",1),r.YNc(1,Is,1,1,"ng-template",2),r.YNc(2,fl,3,8,"ng-template",3),r.YNc(3,hc,2,4,"ng-template",4),r.YNc(4,pc,2,4,"ng-template",5),r.YNc(5,ts,3,8,"ng-template",6),r.YNc(6,Ms,3,8,"ng-template",7),r.YNc(7,gc,3,8,"ng-template",8),r.qZA()),2&d){const l=p.$implicit;r.Q6J("ngSwitch",l)("ngClass",r.VKq(2,Ed,l))}}let mc=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["leaderboard-lap"]],inputs:{lap:"lap",item:"item",times:"times",best:"best",intlap:"intlap",fields:"fields"},decls:1,vars:1,consts:[[3,"ngSwitch","ngClass",4,"ngFor","ngForOf"],[3,"ngSwitch","ngClass"],["ngSwitchCase","lap"],["ngSwitchCase","laptime"],["ngSwitchCase","gap"],["ngSwitchCase","int"],["ngSwitchCase","sector1"],["ngSwitchCase","sector2"],["ngSwitchCase","sector3"],[3,"ngClass"]],template:function(y,x){1&y&&r.YNc(0,hl,8,4,"div",0),2&y&&r.Q6J("ngForOf",x.fields)},dependencies:[V.mk,V.sg,V.RF,V.n9,Ur],styles:['@charset "UTF-8";@media (orientation: portrait){[_nghost-%COMP%]{font-size:3vw}}@media (orientation: landscape){[_nghost-%COMP%]{font-size:2.5vw}ion-modal [_nghost-%COMP%]{font-size:1.5em!important}}[_nghost-%COMP%]{display:block;width:100%}leaderboard-head[_ngcontent-%COMP%]{margin:0 2px}leaderboard-item[_ngcontent-%COMP%]{margin:0 2px 4px}leaderboard-lap[_ngcontent-%COMP%]{margin:0 2px 4px}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.row.odd[_ngcontent-%COMP%]{background-color:var(--ion-color-step-100)}.row.even[_ngcontent-%COMP%]{background-color:var(--ion-color-step-200)}.cell[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;padding:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.position[_ngcontent-%COMP%]{text-align:left;width:1.9em;padding-left:0!important;padding-right:0!important}.number[_ngcontent-%COMP%]{text-align:left;width:1.65em}.lap[_ngcontent-%COMP%]{text-align:left;width:2.5em}.name[_ngcontent-%COMP%]{flex-basis:4em;flex-grow:1;text-align:left}.code[_ngcontent-%COMP%]{flex-basis:3em;flex-grow:1;text-align:left}.time[_ngcontent-%COMP%]{text-align:right;width:6em}.bestlap[_ngcontent-%COMP%], .lastlap[_ngcontent-%COMP%], .laptime[_ngcontent-%COMP%]{text-align:right;width:5em}.sector1[_ngcontent-%COMP%], .sector2[_ngcontent-%COMP%], .sector3[_ngcontent-%COMP%]{text-align:right;width:4.5em}.gap[_ngcontent-%COMP%], .int[_ngcontent-%COMP%]{text-align:right;width:5em}.laps[_ngcontent-%COMP%], .pits[_ngcontent-%COMP%]{text-align:right;width:3em}.fuel[_ngcontent-%COMP%]{text-align:left;width:4.5em}.status[_ngcontent-%COMP%]{padding-right:0!important;text-align:left;width:2em}.status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:75%}.status[_ngcontent-%COMP%] span.inpit[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pitenter[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]{color:#0f0}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]:before{content:"\\25b2";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]:before{content:"\\25bc";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]:before{content:"\\25b2";transform:rotate(-90deg);display:inline-block;width:1em}span.title[_ngcontent-%COMP%]{font-size:75%}span.best[_ngcontent-%COMP%]{color:#0f0}span.best.allbest[_ngcontent-%COMP%]{color:#f0f}span.best.notime[_ngcontent-%COMP%], span.best.allbest.notime[_ngcontent-%COMP%]{color:inherit}span.sector[_ngcontent-%COMP%]{color:#ff0!important}gauge[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen)}'],changeDetection:0})}return d})(),wd=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275mod=r.oAB({type:d});static#n=this.\u0275inj=r.cJS({imports:[V.ez,Oe.Pc,io.m]})}return d})();r.B6R(T,[V.mk,V.sg,Oe.YG,Oe.Sm,Oe.W2,Oe.Gu,Oe.gu,Oe.wd,Oe.sr,Oe.ki,$o,Di,dl,mc],[qt.X$]);let vc=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275mod=r.oAB({type:d});static#n=this.\u0275inj=r.cJS({imports:[V.ez,Oe.Pc]})}return d})(),yc=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275mod=r.oAB({type:d});static#n=this.\u0275inj=r.cJS({imports:[V.ez,$n.u5,$n.UX,Oe.Pc,wd,vc,io.m]})}return d})(),Zs=(()=>{class d{constructor(l,y,x,De){this.logger=l,this.settings=y,this.controller=x,this.options=new tr.Ei,this.params=De.data}get mode(){return this.options.cumode}set mode(l){this.options.cumode=l,this.settings.setOptions(this.options),this.dismiss()}ngOnInit(){this.subscription=this.settings.getOptions().subscribe({next:l=>{this.options=l},error:l=>{this.logger.error("Tuning settings: ",l)},complete:()=>{this.logger.debug("Tuning settings complete")}})}ngOnDestroy(){this.subscription.unsubscribe()}applyAll(){this.params.apply(),this.dismiss()}dismiss(){return this.controller.dismiss()}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(yn.ed),r.Y36(tr.de),r.Y36(Oe.Dh),r.Y36(Fe.X1))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["ng-component"]],decls:7,vars:1,consts:[["translate","",3,"ngModel","ngModelChange"],["button","",3,"click"],["translate",""]],template:function(y,x){1&y&&(r.TgZ(0,"ion-item-group")(1,"ion-item")(2,"ion-checkbox",0),r.NdJ("ngModelChange",function(He){return x.mode=He}),r._uU(3,"Control Unit mode"),r.qZA()(),r.TgZ(4,"ion-item",1),r.NdJ("click",function(){return x.applyAll()}),r.TgZ(5,"ion-label",2),r._uU(6,"Apply all"),r.qZA()()()),2&y&&(r.xp6(2),r.Q6J("ngModel",x.mode))},dependencies:[$n.JJ,$n.On,Oe.nz,Oe.Ie,Oe.Ub,Oe.Q$,Oe.w,qt.Pi],encapsulation:2})}return d})();const pl=function(d){return{number:d}};function bc(d,p){if(1&d&&(r.TgZ(0,"ion-label"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&d){const l=r.oxw().$implicit,y=r.oxw().ngIf,x=r.oxw();r.xp6(1),r.hij(" ",(null==y[l.id]?null:y[l.id].name)||r.xi3(2,1,x.placeholder,r.VKq(4,pl,l.id+1))," ")}}function gl(d,p){if(1&d&&(r.TgZ(0,"ion-label"),r._uU(1),r.qZA()),2&d){const l=r.oxw().$implicit,y=r.oxw().ngIf;r.xp6(1),r.hij(" ",(null==y[l.id]?null:y[l.id].code)||"#"+(l.id+1)," ")}}const Ss=function(d){return{pristine:d}};function ml(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-range",17),r.NdJ("ionChange",function(x){r.CHM(l);const De=r.oxw(2).$implicit,He=r.oxw(2);return r.KtG(He.update("speed",x,He.locked?void 0:De.id))}),r.ALo(1,"async"),r.TgZ(2,"ion-badge",18),r._uU(3),r.qZA()()}if(2&d){const l=r.oxw(2).$implicit,y=r.oxw(2);r.Q6J("disabled",!r.lcZ(1,5,y.connected))("ngClass",r.VKq(7,Ss,null==l.speed))("value",l.speed),r.xp6(2),r.Q6J("color",null==l.speed?"medium":"primary"),r.xp6(1),r.hij(" ",null==l.speed?"?":l.speed," ")}}function Id(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-range",17),r.NdJ("ionChange",function(x){r.CHM(l);const De=r.oxw(2).$implicit,He=r.oxw(2);return r.KtG(He.update("brake",x,He.locked?void 0:De.id))}),r.ALo(1,"async"),r.TgZ(2,"ion-badge",18),r._uU(3),r.qZA()()}if(2&d){const l=r.oxw(2).$implicit,y=r.oxw(2);r.Q6J("disabled",!r.lcZ(1,5,y.connected))("ngClass",r.VKq(7,Ss,null==l.brake))("value",l.brake),r.xp6(2),r.Q6J("color",null==l.brake?"medium":"primary"),r.xp6(1),r.hij(" ",null==l.brake?"?":l.brake," ")}}function Cc(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-range",17),r.NdJ("ionChange",function(x){r.CHM(l);const De=r.oxw(2).$implicit,He=r.oxw(2);return r.KtG(He.update("fuel",x,He.locked?void 0:De.id))}),r.ALo(1,"async"),r.TgZ(2,"ion-badge",18),r._uU(3),r.qZA()()}if(2&d){const l=r.oxw(2).$implicit,y=r.oxw(2);r.Q6J("disabled",!r.lcZ(1,5,y.connected))("ngClass",r.VKq(7,Ss,null==l.fuel))("value",l.fuel),r.xp6(2),r.Q6J("color",null==l.fuel?"medium":"primary"),r.xp6(1),r.hij(" ",null==l.fuel?"?":l.fuel," ")}}function Dc(d,p){if(1&d&&(r.ynx(0)(1,14),r.YNc(2,ml,4,9,"ion-range",16),r.YNc(3,Id,4,9,"ion-range",16),r.YNc(4,Cc,4,9,"ion-range",16),r.BQk()()),2&d){const l=r.oxw(3);r.xp6(1),r.Q6J("ngSwitch",l.type),r.xp6(1),r.Q6J("ngSwitchCase","speed"),r.xp6(1),r.Q6J("ngSwitchCase","brake"),r.xp6(1),r.Q6J("ngSwitchCase","fuel")}}function Ia(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-range",20),r.NdJ("ionChange",function(x){r.CHM(l);const De=r.oxw(2).$implicit,He=r.oxw(2);return r.KtG(He.updateCU("speed",x,He.locked?void 0:De.id))}),r.ALo(1,"async"),r.TgZ(2,"ion-badge",18),r._uU(3),r.qZA()()}if(2&d){const l=r.oxw(2).$implicit,y=r.oxw(2);r.Q6J("disabled",!r.lcZ(1,5,y.connected))("ngClass",r.VKq(7,Ss,null==l.speed))("value",y.toCU.speed[l.speed]),r.xp6(2),r.Q6J("color",null==l.speed?"medium":"primary"),r.xp6(1),r.hij(" ",null==l.speed?"?":y.toCU.speed[l.speed]," ")}}function Md(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-range",20),r.NdJ("ionChange",function(x){r.CHM(l);const De=r.oxw(2).$implicit,He=r.oxw(2);return r.KtG(He.updateCU("brake",x,He.locked?void 0:De.id))}),r.ALo(1,"async"),r.TgZ(2,"ion-badge",18),r._uU(3),r.qZA()()}if(2&d){const l=r.oxw(2).$implicit,y=r.oxw(2);r.Q6J("disabled",!r.lcZ(1,5,y.connected))("ngClass",r.VKq(7,Ss,null==l.brake))("value",y.toCU.brake[l.brake]),r.xp6(2),r.Q6J("color",null==l.brake?"medium":"primary"),r.xp6(1),r.hij(" ",null==l.brake?"?":y.toCU.brake[l.brake]," ")}}function Sd(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-range",20),r.NdJ("ionChange",function(x){r.CHM(l);const De=r.oxw(2).$implicit,He=r.oxw(2);return r.KtG(He.updateCU("fuel",x,He.locked?void 0:De.id))}),r.ALo(1,"async"),r.TgZ(2,"ion-badge",18),r._uU(3),r.qZA()()}if(2&d){const l=r.oxw(2).$implicit,y=r.oxw(2);r.Q6J("disabled",!r.lcZ(1,5,y.connected))("ngClass",r.VKq(7,Ss,null==l.fuel))("value",y.toCU.fuel[l.fuel]),r.xp6(2),r.Q6J("color",null==l.fuel?"medium":"primary"),r.xp6(1),r.hij(" ",null==l.fuel?"?":y.toCU.fuel[l.fuel]," ")}}function Ma(d,p){if(1&d&&(r.ynx(0)(1,14),r.YNc(2,Ia,4,9,"ion-range",19),r.YNc(3,Md,4,9,"ion-range",19),r.YNc(4,Sd,4,9,"ion-range",19),r.BQk()()),2&d){const l=r.oxw(3);r.xp6(1),r.Q6J("ngSwitch",l.type),r.xp6(1),r.Q6J("ngSwitchCase","speed"),r.xp6(1),r.Q6J("ngSwitchCase","brake"),r.xp6(1),r.Q6J("ngSwitchCase","fuel")}}function Td(d,p){if(1&d&&(r.TgZ(0,"ion-item")(1,"outline",13),r._uU(2),r.qZA(),r.ynx(3,14),r.ALo(4,"async"),r.YNc(5,bc,3,6,"ion-label",15),r.YNc(6,gl,2,1,"ion-label",15),r.BQk(),r.ynx(7,14),r.ALo(8,"async"),r.YNc(9,Dc,5,4,"ng-container",15),r.YNc(10,Ma,5,4,"ng-container",15),r.BQk(),r.qZA()),2&d){const l=p.$implicit,y=r.oxw().ngIf,x=r.oxw();let De;r.xp6(1),r.Q6J("color",null==y[l.id]?null:y[l.id].color),r.xp6(1),r.hij(" ",l.id+1," "),r.xp6(1),r.Q6J("ngSwitch",r.lcZ(4,8,x.orientation)),r.xp6(2),r.Q6J("ngSwitchCase","landscape"),r.xp6(1),r.Q6J("ngSwitchCase","portrait"),r.xp6(1),r.Q6J("ngSwitch",null==(De=r.lcZ(8,10,x.options))?null:De.cumode),r.xp6(2),r.Q6J("ngSwitchCase",!1),r.xp6(1),r.Q6J("ngSwitchCase",!0)}}function Ad(d,p){if(1&d&&(r.ynx(0),r.YNc(1,Td,11,12,"ion-item",12),r.BQk()),2&d){const l=r.oxw();r.xp6(1),r.Q6J("ngForOf",l.models)}}const xd=[0,1,2,3,4,5].map(d=>({id:d,speed:null,brake:null,fuel:null}));let Ec=(()=>{class d{constructor(l,y,x,De,He,Pt){this.logger=l,this.cu=y,this.popover=x,this.ref=De,this.models=xd,this.locked=!1,this.type="speed",this.placeholder="Driver {{number}}",this.fromCU={speed:[0,1,2,3,5,6,7,9,11,13,15],brake:[0,6,7,8,9,10,11,12,13,14,15],fuel:[0,3,4,5,6,7,8,9,10,11,12]},this.toCU={speed:[1,1,2,3,3,4,5,6,6,7,7,8,8,9,9,10],brake:[1,1,1,1,1,1,1,2,3,4,5,6,7,8,9,10],fuel:[1,1,1,1,2,3,4,5,6,7,8,9,10,10,10,10]},this.subject=new gn.x,this.connected=y.pipe((0,Y.h)(nt=>!!nt),(0,$e.w)(nt=>nt.getState()),(0,ne.U)(nt=>"connected"==nt)),this.drivers=Pt.getDrivers(),this.options=Pt.getOptions(),this.orientation=He.orientation}ngOnInit(){this.subject.pipe(function _c(d,p=gr){return(0,wt.e)((l,y)=>{let x=null,De=null,He=null;const Pt=()=>{if(x){x.unsubscribe(),x=null;const Ot=De;De=null,y.next(Ot)}};function nt(){const Ot=He+d,jt=p.now();if(jt{De=Ot,He=p.now(),x||(x=p.schedule(nt,d),y.add(x))},()=>{Pt(),y.complete()},void 0,()=>{De=x=null}))})}(400)).subscribe(l=>{for(let y of void 0!==l.id?[this.models[l.id]]:this.models)switch(l.type){case"speed":this.cu.value.setSpeed(y.id,y.speed);break;case"brake":this.cu.value.setBrake(y.id,y.brake);break;case"fuel":this.cu.value.setFuel(y.id,y.fuel)}})}ngOnDestroy(){this.subject.complete()}applyAll(){for(let l of this.models)null!==l.speed&&this.cu.value.setSpeed(l.id,l.speed),null!==l.brake&&this.cu.value.setBrake(l.id,l.brake),null!==l.fuel&&this.cu.value.setFuel(l.id,l.fuel)}showMenu(l){return this.popover.create({component:Zs,componentProps:{apply:()=>this.applyAll()},event:l}).then(y=>{y.present()})}update(l,y,x){const De=y.detail.value;this.logger.debug("Set",l,"to",De,"for",x);for(let He of void 0!==x?[this.models[x]]:this.models)He[l]=De;this.subject.next({id:x,type:l}),this.ref.detectChanges()}updateCU(l,y,x){let De=y.detail.value;switch(l){case"speed":De=this.fromCU.speed[y.detail.value];break;case"brake":De=this.fromCU.brake[y.detail.value];break;case"fuel":De=this.fromCU.fuel[y.detail.value]}this.logger.debug("Set",l,"to",De,"for",x);for(let He of void 0!==x?[this.models[x]]:this.models)He[l]=De;this.subject.next({id:x,type:l}),this.ref.detectChanges()}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(yn.ed),r.Y36(yn.V1),r.Y36(Oe.Dh),r.Y36(r.sBO),r.Y36(yn.zi),r.Y36(tr.de))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["ng-component"]],decls:25,vars:5,consts:[["slot","start"],["defaultHref","/"],["translate",""],["slot","end"],[3,"click"],["slot","icon-only",3,"name"],["slot","icon-only","name","ellipsis-vertical-sharp"],[3,"ngModel","ngModelChange"],["value","speed"],["value","brake"],["value","fuel"],[4,"ngIf"],[4,"ngFor","ngForOf"],["slot","start",3,"color"],[3,"ngSwitch"],[4,"ngSwitchCase"],["min","0","max","15","snaps","true","aria-label","",3,"disabled","ngClass","value","ionChange",4,"ngSwitchCase"],["min","0","max","15","snaps","true","aria-label","",3,"disabled","ngClass","value","ionChange"],["slot","end",1,"tuning",3,"color"],["min","1","max","10","snaps","true","aria-label","",3,"disabled","ngClass","value","ionChange",4,"ngSwitchCase"],["min","1","max","10","snaps","true","aria-label","",3,"disabled","ngClass","value","ionChange"]],template:function(y,x){1&y&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),r._UZ(3,"ion-back-button",1),r.qZA(),r.TgZ(4,"ion-title")(5,"span",2),r._uU(6,"Tuning"),r.qZA()(),r.TgZ(7,"ion-buttons",3)(8,"ion-button",4),r.NdJ("click",function(){return x.locked=!x.locked}),r._UZ(9,"ion-icon",5),r.qZA(),r.TgZ(10,"ion-button",4),r.NdJ("click",function(He){return x.showMenu(He)}),r._UZ(11,"ion-icon",6),r.qZA()()()(),r.TgZ(12,"ion-content")(13,"ion-segment",7),r.NdJ("ngModelChange",function(He){return x.type=He}),r.TgZ(14,"ion-segment-button",8)(15,"ion-label",2),r._uU(16,"Speed"),r.qZA()(),r.TgZ(17,"ion-segment-button",9)(18,"ion-label",2),r._uU(19,"Brake"),r.qZA()(),r.TgZ(20,"ion-segment-button",10)(21,"ion-label",2),r._uU(22,"Fuel"),r.qZA()()(),r.YNc(23,Ad,2,1,"ng-container",11),r.ALo(24,"async"),r.qZA()),2&y&&(r.xp6(9),r.Q6J("name",x.locked?"link-sharp":"unlink-sharp"),r.xp6(4),r.Q6J("ngModel",x.type),r.xp6(10),r.Q6J("ngIf",r.lcZ(24,3,x.drivers)))},dependencies:[V.mk,V.sg,V.O5,V.RF,V.n9,$n.JJ,$n.On,Oe.yp,Oe.YG,Oe.Sm,Oe.W2,Oe.Gu,Oe.gu,Oe.Ie,Oe.Q$,Oe.I_,Oe.cJ,Oe.GO,Oe.wd,Oe.sr,Oe.QI,Oe.j9,Oe.oU,$o,qt.Pi,V.Ov,qt.X$],encapsulation:2})}return d})(),Od=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275mod=r.oAB({type:d});static#n=this.\u0275inj=r.cJS({imports:[V.ez,$n.u5,Oe.Pc,io.m]})}return d})();const wc=[{path:"",redirectTo:"rms/practice",pathMatch:"full"},{path:"rms/:mode",component:Hs},{path:"drivers",component:hi},{path:"tuning",component:Ec},{path:"settings",loadChildren:()=>Promise.resolve().then(g.bind(g,7075)).then(d=>d.SettingsModule)},{path:"**",component:Hs}];let Sa=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275mod=r.oAB({type:d});static#n=this.\u0275inj=r.cJS({imports:[jn.Bz.forRoot(wc,{preloadingStrategy:jn.wm,useHash:!0}),jn.Bz]})}return d})(),Ta=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275mod=r.oAB({type:d});static#n=this.\u0275inj=r.cJS({imports:[V.ez,io.m,Oe.Pc,Sa]})}return d})();var vl=g(590),yl=(g(7075),g(7162));function _l(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-item",2),r.NdJ("click",function(){r.CHM(l);const x=r.oxw().$implicit,De=r.oxw();return r.KtG(De.onSelect(x))}),r.TgZ(1,"ion-label")(2,"h2"),r._uU(3),r.qZA(),r.TgZ(4,"h4"),r._uU(5),r.qZA()()()}if(2&d){const l=r.oxw().$implicit;r.xp6(3),r.Oqu(l.name),r.xp6(2),r.Oqu(l.address)}}function Aa(d,p){if(1&d&&r.YNc(0,_l,6,2,"ion-item",1),2&d){const l=p.$implicit,y=r.oxw();r.Q6J("ngIf",!l.equals(y.selected))}}g(6557),g(6928),g(6291),g(6659);let bl=(()=>{class d{constructor(l,y,x,De,He){this.backends=l,this.logger=y,this.platform=x,this.settings=De,this.toast=He,this.subscription=new _r.w0}ngOnInit(){this.platform.ready().then(()=>{const l=this.backends.map(y=>y.scan().pipe((0,ee.K)(x=>(this.logger.error("Scan error:",x),this.toast.showLongCenter(x.toString()),(0,Xr.c)()))));this.peripherals=(0,Er.D)(l).pipe((0,Mt.z)(y=>y),(0,Y.h)(y=>"demo"!=y.type||this.demoControlUnit),(0,zn.b)(y=>{!this.selected&&"web-bluetooth"==y.type&&this.onSelect(y)}),(0,Rr.R)((y,x)=>y.concat(x),[]))}),this.subscription.add(this.settings.getConnection().subscribe(l=>{this.demoControlUnit=l.demoControlUnit}))}ngOnDestroy(){this.subscription.unsubscribe()}onSelect(l){this.settings.getConnection().pipe((0,Sn.q)(1)).subscribe(y=>{this.settings.setConnection(Object.assign({},y,{type:l.type,name:l.name,address:l.address}))})}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(Cr),r.Y36(yn.ed),r.Y36(Fe.t4),r.Y36(tr.de),r.Y36(yn.tQ))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["connections"]],inputs:{selected:"selected"},decls:2,vars:3,consts:[["ngFor","",3,"ngForOf"],["button","","menuClose","",3,"click",4,"ngIf"],["button","","menuClose","",3,"click"]],template:function(y,x){1&y&&(r.YNc(0,Aa,1,1,"ng-template",0),r.ALo(1,"async")),2&y&&r.Q6J("ngForOf",r.lcZ(1,1,x.peripherals))},dependencies:[V.sg,V.O5,Oe.Ie,Oe.Q$,V.Ov],encapsulation:2})}return d})(),Mc=(()=>{class d{transform(l){return l?l.replace(/^5(\d)(\d+)$/,"$1.$2"):"..."}static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275pipe=r.Yjl({name:"cuversion",type:d,pure:!0});static#n=this.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac})}return d})();function Sc(d,p){if(1&d&&(r.TgZ(0,"h3")(1,"span",5),r._uU(2,"Firmware version"),r.qZA(),r._uU(3),r.ALo(4,"cuversion"),r.ALo(5,"async"),r.qZA()),2&d){const l=r.oxw();r.xp6(3),r.hij(" ",r.lcZ(4,1,r.lcZ(5,3,l.version))," ")}}function Cl(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-item",18),r.NdJ("click",function(){r.CHM(l);const x=r.oxw(2);return r.KtG(x.exitApp())}),r._UZ(1,"ion-icon",19),r.TgZ(2,"ion-label",5),r._uU(3,"Exit"),r.qZA()()}}function Tc(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"div")(1,"ion-item-group")(2,"ion-menu-toggle",6)(3,"ion-item",7),r.NdJ("click",function(){r.CHM(l);const x=r.oxw();return r.KtG(x.startPractice())}),r._UZ(4,"ion-icon",8),r.TgZ(5,"ion-label",5),r._uU(6,"Free Practice"),r.qZA()(),r.TgZ(7,"ion-item",7),r.NdJ("click",function(){r.CHM(l);const x=r.oxw();return r.KtG(x.startQualifying())}),r._UZ(8,"ion-icon",9),r.TgZ(9,"ion-label",5),r._uU(10,"Qualifying"),r.qZA()(),r.TgZ(11,"ion-item",7),r.NdJ("click",function(){r.CHM(l);const x=r.oxw();return r.KtG(x.startRace())}),r._UZ(12,"ion-icon",10),r.TgZ(13,"ion-label",5),r._uU(14,"Race"),r.qZA()()()(),r.TgZ(15,"ion-item-group")(16,"ion-menu-toggle",6)(17,"ion-item",11),r._UZ(18,"ion-icon",12),r.TgZ(19,"ion-label",5),r._uU(20,"Drivers"),r.qZA()(),r.TgZ(21,"ion-item",13),r._UZ(22,"ion-icon",14),r.TgZ(23,"ion-label",5),r._uU(24,"Tuning"),r.qZA()()()(),r.TgZ(25,"ion-item-group")(26,"ion-menu-toggle",6)(27,"ion-item",15),r._UZ(28,"ion-icon",16),r.TgZ(29,"ion-label",5),r._uU(30,"Settings"),r.qZA()(),r.YNc(31,Cl,4,0,"ion-item",17),r.qZA()()()}if(2&d){const l=r.oxw();r.xp6(3),r.Q6J("disabled",!l.cu),r.xp6(4),r.Q6J("disabled",!l.cu),r.xp6(4),r.Q6J("disabled",!l.cu),r.xp6(10),r.Q6J("disabled",!l.cu),r.xp6(10),r.Q6J("ngIf",l.exitApp)}}function Ac(d,p){if(1&d&&(r.TgZ(0,"ion-item-group"),r._UZ(1,"connections",20),r.qZA()),2&d){const l=r.oxw(2);r.xp6(1),r.Q6J("selected",null==l.cu?null:l.cu.peripheral)}}function ro(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-item-group")(1,"ion-item",18),r.NdJ("click",function(){r.CHM(l);const x=r.oxw(2);return r.KtG(x.reconnect())}),r._UZ(2,"ion-icon",21),r.TgZ(3,"ion-label",5),r._uU(4,"Reconnect"),r.qZA()()()}}function xa(d,p){if(1&d&&(r.TgZ(0,"div"),r.YNc(1,Ac,2,1,"ion-item-group",3),r.YNc(2,ro,5,0,"ion-item-group",3),r.qZA()),2&d){const l=r.oxw();r.xp6(1),r.Q6J("ngIf",l.open),r.xp6(1),r.Q6J("ngIf",l.cu)}}let Dl=(()=>{class d{constructor(l,y,x,De,He,Pt){this.app=l,this.logger=y,this.settings=x,this.alert=De,this.mod=He,this.nav=Pt,this.exitApp=null,this.driversPage=hi,this.tuningPage=Ec,this.settingsPage=yl.N,this.initialized=!1,l.exit&&(this.exitApp=()=>this.onExitApp())}ngOnChanges(l){"cu"in l&&(this.mode=!!this.cu,this.version=this.cu?this.cu.getVersion():Promise.resolve(void 0))}onMenuOpen(){!this.initialized&&this.connections&&(navigator.bluetooth&&this.connections.ngOnInit(),this.initialized=!0),this.open=!0}onMenuClose(){this.mode=!!this.cu,this.open=!1}onMenuToggle(){this.mode=!this.mode}reconnect(){this.cu&&(this.logger.info("Reconnecting to",this.cu.peripheral),this.cu.reconnect().then(()=>{this.version=this.cu.getVersion()}))}startPractice(){return this.nav.navigateRoot("rms/practice")}startQualifying(){this.settings.getQualifyingSettings().pipe((0,Sn.q)(1)).subscribe(l=>this.mod.create({component:Uo,componentProps:l}).then(y=>{y.onDidDismiss().then(x=>{x.data&&this.settings.setQualifyingSettings(x.data).then(()=>{this.nav.navigateRoot("rms/qualifying")})}),y.present()}))}startRace(){this.settings.getRaceSettings().pipe((0,Sn.q)(1)).subscribe(l=>this.mod.create({component:Uo,componentProps:l}).then(y=>{y.onDidDismiss().then(x=>{x.data&&this.settings.setRaceSettings(x.data).then(()=>{this.nav.navigateRoot("rms/race")})}),y.present()}))}onExitApp(){this.alert.show({message:"Exit Open Lap?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>this.exit()}]})}exit(){this.logger.info("Exiting application"),this.cu?this.cu.disconnect().catch(l=>{this.logger.error("Error disconnecting from CU:",l)}).then(()=>{this.app.exit()}):this.app.exit(),this.logger.info("Exited application")}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(yn.zi),r.Y36(yn.ed),r.Y36(tr.de),r.Y36(yn.Pn),r.Y36(Oe.IN),r.Y36(Fe.SH))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["menu"]],viewQuery:function(y,x){if(1&y&&r.Gf(bl,5),2&y){let De;r.iGM(De=r.CRH())&&(x.connections=De.first)}},inputs:{cu:"cu"},features:[r.TTD],decls:14,vars:9,consts:[["contentId","menu-content",3,"ionDidClose","ionDidOpen"],["lines","none"],[3,"color","click"],[4,"ngIf"],["slot","end",3,"name"],["translate",""],["auto-hide","false"],["button","",3,"disabled","click"],["name","speedometer-sharp","slot","start"],["name","stopwatch-sharp","slot","start"],["name","trophy-sharp","slot","start"],["button","","routerLink","/drivers"],["name","people-sharp","slot","start"],["button","","routerLink","/tuning",3,"disabled"],["name","build-sharp","slot","start"],["button","","routerLink","/settings"],["menuClose","","name","settings-sharp","slot","start"],["button","",3,"click",4,"ngIf"],["button","",3,"click"],["name","exit-sharp","slot","start"],[3,"selected"],["name","refresh-sharp","slot","start"]],template:function(y,x){1&y&&(r.TgZ(0,"ion-menu",0),r.NdJ("ionDidClose",function(){return x.onMenuClose()})("ionDidOpen",function(){return x.onMenuOpen()}),r.TgZ(1,"ion-content")(2,"ion-list",1)(3,"ion-item",2),r.NdJ("click",function(){return x.onMenuToggle()}),r.TgZ(4,"ion-label")(5,"h1"),r._uU(6),r.ALo(7,"translate"),r.qZA(),r.TgZ(8,"h2"),r._uU(9),r.qZA(),r.YNc(10,Sc,6,5,"h3",3),r.qZA(),r._UZ(11,"ion-icon",4),r.qZA(),r.YNc(12,Tc,32,5,"div",3),r.YNc(13,xa,3,2,"div",3),r.qZA()()()),2&y&&(r.xp6(3),r.Q6J("color",x.cu?"primary":"danger"),r.xp6(3),r.Oqu(x.cu?x.cu.peripheral.name:r.lcZ(7,7,"No connection")),r.xp6(3),r.Oqu(null==x.cu?null:x.cu.peripheral.address),r.xp6(1),r.Q6J("ngIf",x.cu),r.xp6(1),r.Q6J("name",x.mode?"caret-down-sharp":"caret-up-sharp"),r.xp6(1),r.Q6J("ngIf",x.mode),r.xp6(1),r.Q6J("ngIf",!x.mode))},dependencies:[V.O5,qt.Pi,Oe.W2,Oe.gu,Oe.Ie,Oe.Ub,Oe.Q$,Oe.q_,Oe.z0,Oe.zc,Oe.YI,jn.rH,bl,V.Ov,qt.X$,Mc],encapsulation:2})}return d})();const Zr={connected:"Connected to {{device}}",connecting:"Connecting to {{device}}",disconnected:"Disconnected from {{device}}"};let Ts=(()=>{class d{constructor(l,y,x,De,He,Pt,nt,Ot,jt,St){this.app=l,this.cu=y,this.backends=x,this.alert=De,this.logger=He,this.settings=Pt,this.speech=nt,this.toast=Ot,this.translate=jt,this.updates=St,this.stateSubscription=new _r.w0,window.addEventListener("orientationchange",()=>{l.enableFullScreen(window.screen.orientation.type.startsWith("landscape"))}),window.screen.orientation&&window.screen.orientation.type&&l.enableFullScreen(window.screen.orientation.type.startsWith("landscape")),l.keepAwake(!0),jt.setDefaultLang("en")}ngOnInit(){this.app.getVersion().then(l=>{this.app.getVersionCode().then(y=>{y&&(l+=" ("+y+")"),this.logger.info("Open Lap",l,(0,r.X6Q)()?"[dev]":"[prod]","on",window?.navigator?.userAgent)})}),this.settings.getOptions().subscribe(l=>{this.logger.setDebugEnabled(l.debug),this.setLanguage(l.language)})}ngOnDestroy(){this.cu.next(null)}ngAfterViewInit(){this.updates.isEnabled?(this.logger.info("Service worker enabled"),this.updates.available.subscribe(()=>{this.logger.info("Update available"),this.update()})):this.logger.debug("Service worker not enabled"),new Promise(l=>setTimeout(l,100)).then(()=>{this.connect()})}update(){this.alert.show({message:"A new version of Open Lap is available. Do you want to update now?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>document.location.reload()}]})}setLanguage(l){this.translate.use(l||this.translate.getBrowserLang()||"en").toPromise().then(y=>{this.translate.get("notifications.locale").toPromise().then(x=>{this.speech.setLocale(x)})})}showConnectionToast(l,y){this.toast.showShortCenter(Zr[l]||"Connecting to {{device}}",{device:y}).catch(De=>{this.logger.error("Error showing toast",De)})}connect(){this.settings.getConnection().subscribe(l=>{this.stateSubscription.unsubscribe(),l&&l.name?(this.logger.info("Connecting to "+l.name),(0,Er.D)(this.backends.map(y=>y.scan())).pipe((0,Mt.z)(y=>y),(0,vl.P)(y=>y.equals(l)),li(3e3)).toPromise().then(y=>{const x=new Go(y,l);this.stateSubscription=x.getState().subscribe(De=>this.showConnectionToast(De,x.peripheral.name)),this.cu.next(x),x.connect()}).catch(y=>{this.logger.error("Error connecting to "+l.name+":",y)}).then(()=>{this.app.hideSplashScreen()})):(this.app.hideSplashScreen(),this.cu.next(null))})}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(yn.zi),r.Y36(yn.V1),r.Y36(Cr),r.Y36(yn.Pn),r.Y36(yn.ed),r.Y36(tr.de),r.Y36(yn.vA),r.Y36(yn.tQ),r.Y36(qt.sK),r.Y36(tt))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["app-root"]],decls:4,vars:3,consts:[[3,"cu"],["main","","id","menu-content"]],template:function(y,x){1&y&&(r.TgZ(0,"ion-app"),r._UZ(1,"menu",0),r.ALo(2,"async"),r._UZ(3,"ion-router-outlet",1),r.qZA()),2&y&&(r.xp6(1),r.Q6J("cu",r.lcZ(2,1,x.cu)))},dependencies:[Oe.dr,Oe.jP,Dl,V.Ov],encapsulation:2})}return d})();const Pa={production:!0};let El=(()=>{class d{constructor(l){this.logger=l}handleError(l){this.logger.error("Error:",l)}static#e=this.\u0275fac=function(y){return new(y||d)(r.LFG(yn.ed))};static#t=this.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac})}return d})();function xc(d){return new br(d,"./assets/i18n/",".json")}function wl(d){return{enabled:!d.is("cordova")&&Pa.production,registrationStrategy:"registerImmediately"}}let Oc=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275mod=r.oAB({type:d,bootstrap:[Ts]});static#n=this.\u0275inj=r.cJS({providers:[et.B,vt.b,Rt,Ft.A,on.s,Ue,hn.e,h.c,K.A,D.E,ue.F,{provide:jn.wN,useClass:Fe.r4},{provide:r.qLn,useClass:El},{provide:lt,useFactory:wl,deps:[Fe.t4]}],imports:[o.b2,Kn,Oe.Pc.forRoot(),nn.Fw.forRoot(),qt.aw.forRoot({loader:{provide:qt.Zw,useFactory:xc,deps:[ve]}}),Fr,no,Ta,yc,io.m,Od,Sa,ze.register("ngsw-worker.js")]})}return d})();Pa.production&&(0,r.G48)(),o.q6().bootstrapModule(Oc).catch(d=>console.log(d))},5021:function(pt){pt.exports=function(){"use strict";function Re(Y){return Re.result?Re.result:Y&&"function"==typeof Y.getSerializer?Re.result=Y.getSerializer():Promise.reject(new Error("localforage.getSerializer() was not available! localforage v1.4+ is required!"))}function g(Y,ne){return(g.result=g.result||{})[ne]?g.result[ne]:Y&&"function"==typeof Y.getDriver?g.result[ne]=Y.getDriver(ne):Promise.reject(new Error("localforage.getDriver() was not available! localforage v1.4+ is required!"))}function o(Y){return g(Y,Y.WEBSQL)}var B=new Promise(function(Y,ne){typeof sqlitePlugin<"u"?Y():typeof cordova>"u"?ne(new Error("cordova is not defined.")):document.addEventListener("deviceready",function(){return Y()},!1)}).catch(function(){return Promise.resolve()});function V(){return B.then(function(){if(typeof sqlitePlugin<"u"&&"function"==typeof sqlitePlugin.openDatabase)return sqlitePlugin.openDatabase;throw new Error("SQLite plugin is not present.")})}var P={_driver:"cordovaSQLiteDriver",_initStorage:function te(Y){var ne=this,he={db:null};if(Y)for(var Z in Y)he[Z]="string"!=typeof Y[Z]?Y[Z].toString():Y[Z];var oe=V().then(function(re){return new Promise(function(ce,W){try{he.location=he.location||"default",he.db=re({name:he.name,version:String(he.version),description:he.description,size:he.size,key:he.dbKey,location:he.location})}catch(pe){W(pe)}he.db.transaction(function(pe){pe.executeSql("CREATE TABLE IF NOT EXISTS "+he.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],function(){ne._dbInfo=he,ce()},function(be,Ve){W(Ve)})})})}),ye=Re(ne),de=o(ne);return Promise.all([ye,de,oe]).then(function(re){return he.serializer=re[0],oe})},_support:function(){return V().then(function(ne){return!!ne}).catch(function(){return!1})}};return function R(Y){var ne=["clear","getItem","iterate","key","keys","length","removeItem","setItem"];function he(ye,de){ye[de]=function(){var re=this,ce=arguments;return o(re).then(function(W){return W[de].apply(re,ce)})}}for(var Z=0,oe=ne.length;Z{pt.exports=function r(B,V,te){function P(ne,he){if(!V[ne]){if(!B[ne]){if(R)return R(ne,!0);var oe=new Error("Cannot find module '"+ne+"'");throw oe.code="MODULE_NOT_FOUND",oe}var ye=V[ne]={exports:{}};B[ne][0].call(ye.exports,function(de){return P(B[ne][1][de]||de)},ye,ye.exports,r,B,V,te)}return V[ne].exports}for(var R=void 0,Y=0;Y"u"&&r(3);var Z=Promise;function oe(w,I){I&&w.then(function(A){I(null,A)},function(A){I(A)})}function ye(w,I,A){"function"==typeof I&&w.then(I),"function"==typeof A&&w.catch(A)}function de(w){return"string"!=typeof w&&(console.warn(w+" used as a key, but it is not a string."),w=String(w)),w}function re(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var ce="local-forage-detect-blob-support",W=void 0,pe={},be=Object.prototype.toString,Ve="readonly",Me="readwrite";function Le(w){for(var I=w.length,A=new ArrayBuffer(I),G=new Uint8Array(A),me=0;me=43)}}).catch(function(){return!1})}(w).then(function(I){return W=I})}function j(w){var I=pe[w.name],A={};A.promise=new Z(function(G,me){A.resolve=G,A.reject=me}),I.deferredOperations.push(A),I.dbReady=I.dbReady?I.dbReady.then(function(){return A.promise}):A.promise}function X(w){var A=pe[w.name].deferredOperations.pop();if(A)return A.resolve(),A.promise}function Ce(w,I){var G=pe[w.name].deferredOperations.pop();if(G)return G.reject(I),G.promise}function _e(w,I){return new Z(function(A,G){if(pe[w.name]=pe[w.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},w.db){if(!I)return A(w.db);j(w),w.db.close()}var me=[w.name];I&&me.push(w.version);var Ie=Y.open.apply(Y,me);I&&(Ie.onupgradeneeded=function(Ne){var tt=Ie.result;try{tt.createObjectStore(w.storeName),Ne.oldVersion<=1&&tt.createObjectStore(ce)}catch(lt){if("ConstraintError"!==lt.name)throw lt;console.warn('The database "'+w.name+'" has been upgraded from version '+Ne.oldVersion+" to version "+Ne.newVersion+', but the storage "'+w.storeName+'" already exists.')}}),Ie.onerror=function(Ne){Ne.preventDefault(),G(Ie.error)},Ie.onsuccess=function(){A(Ie.result),X(w)}})}function Te(w){return _e(w,!1)}function Be(w){return _e(w,!0)}function ie(w,I){if(!w.db)return!0;var A=!w.db.objectStoreNames.contains(w.storeName),me=w.version>w.db.version;if(w.versionw.version&&(w.version=Ie)}return!0}return!1}function We(w){return he([Le(atob(w.data))],{type:w.type})}function st(w){return w&&w.__local_forage_encoded_blob}function ve(w){var I=this,A=I._initReady().then(function(){var G=pe[I._dbInfo.name];if(G&&G.dbReady)return G.dbReady});return ye(A,w,w),A}function C(w,I,A,G){void 0===G&&(G=1);try{var me=w.db.transaction(w.storeName,I);A(null,me)}catch(Ie){if(G>0&&(!w.db||"InvalidStateError"===Ie.name||"NotFoundError"===Ie.name))return Z.resolve().then(function(){if(!w.db||"NotFoundError"===Ie.name&&!w.db.objectStoreNames.contains(w.storeName)&&w.version<=w.db.version)return w.db&&(w.version=w.db.version+1),Be(w)}).then(function(){return function z(w){j(w);for(var I=pe[w.name],A=I.forages,G=0;G>4,S[me++]=(15&Ne)<<4|tt>>2,S[me++]=(3&tt)<<6|63<return bt}function ar(w){var G,I=new Uint8Array(w),A="";for(G=0;G>2],A+=ut[(3&I[G])<<4|I[G+1]>>4],A+=ut[(15&I[G+1])<<2|I[G+2]>>6],A+=ut[63&I[G+2]];return I.length%3==2?A=A.substring(0,A.length-1)+"=":I.length%3==1&&(A=A.substring(0,A.length-2)+"=="),A}var Qt={serialize:function dn(w,I){var A="";if(w&&(A=Xn.call(w)),w&&("[object ArrayBuffer]"===A||w.buffer&&"[object ArrayBuffer]"===Xn.call(w.buffer))){var G,me=Zt;w instanceof ArrayBuffer?(G=w,me+=en):(G=w.buffer,"[object Int8Array]"===A?me+=Mn:"[object Uint8Array]"===A?me+=On:"[object Uint8ClampedArray]"===A?me+=sr:"[object Int16Array]"===A?me+=_n:"[object Uint16Array]"===A?me+=Nt:"[object Int32Array]"===A?me+=bn:"[object Uint32Array]"===A?me+=Dt:"[object Float32Array]"===A?me+=Qn:"[object Float64Array]"===A?me+=ln:I(new Error("Failed to get type for BinaryArray"))),I(me+ar(G))}else if("[object Blob]"===A){var Ie=new FileReader;Ie.onload=function(){var Ne=Lt+w.type+"~"+ar(this.result);I(Zt+Xt+Ne)},Ie.readAsArrayBuffer(w)}else try{I(JSON.stringify(w))}catch(Ne){console.error("Couldn't convert value into a JSON string: ",w),I(null,Ne)}},deserialize:function lr(w){if(w.substring(0,Ct)!==Zt)return JSON.parse(w);var G,I=w.substring(pn),A=w.substring(Ct,pn);if(A===Xt&&Yt.test(I)){var me=I.match(Yt);G=me[1],I=I.substring(me[0].length)}var Ie=An(I);switch(A){case en:return Ie;case Xt:return he([Ie],{type:G});case Mn:return new Int8Array(Ie);case On:return new Uint8Array(Ie);case sr:return new Uint8ClampedArray(Ie);case _n:return new Int16Array(Ie);case Nt:return new Uint16Array(Ie);case bn:return new Int32Array(Ie);case Dt:return new Uint32Array(Ie);case Qn:return new Float32Array(Ie);case ln:return new Float64Array(Ie);default:throw new Error("Unkown type: "+A)}},stringToBuffer:An,bufferToString:ar};function dr(w,I,A,G){w.executeSql("CREATE TABLE IF NOT EXISTS "+I.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],A,G)}function Hn(w,I,A,G,me,Ie){w.executeSql(A,G,me,function(Ne,tt){tt.code===tt.SYNTAX_ERR?Ne.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[name],function(lt,bt){bt.rows.length?Ie(lt,tt):dr(lt,I,function(){lt.executeSql(A,G,me,Ie)},Ie)},Ie):Ie(Ne,tt)},Ie)}function vr(w,I,A,G){var me=this;w=de(w);var Ie=new Z(function(Ne,tt){me.ready().then(function(){void 0===I&&(I=null);var lt=I,bt=me._dbInfo;bt.serializer.serialize(I,function(S,$){$?tt($):bt.db.transaction(function(fe){Hn(fe,bt,"INSERT OR REPLACE INTO "+bt.storeName+" (key, value) VALUES (?, ?)",[w,S],function(){Ne(lt)},function(Ae,ze){tt(ze)})},function(fe){if(fe.code===fe.QUOTA_ERR){if(G>0)return void Ne(vr.apply(me,[w,lt,A,G-1]));tt(fe)}})})}).catch(tt)});return oe(Ie,A),Ie}var tn={_driver:"webSQLStorage",_initStorage:function fn(w){var I=this,A={db:null};if(w)for(var G in w)A[G]="string"!=typeof w[G]?w[G].toString():w[G];var me=new Z(function(Ie,Ne){try{A.db=openDatabase(A.name,String(A.version),A.description,A.size)}catch(tt){return Ne(tt)}A.db.transaction(function(tt){dr(tt,A,function(){I._dbInfo=A,Ie()},function(lt,bt){Ne(bt)})},Ne)});return A.serializer=Qt,me},_support:function Xe(){return"function"==typeof openDatabase}(),iterate:function cr(w,I){var A=this,G=new Z(function(me,Ie){A.ready().then(function(){var Ne=A._dbInfo;Ne.db.transaction(function(tt){Hn(tt,Ne,"SELECT * FROM "+Ne.storeName,[],function(lt,bt){for(var S=bt.rows,$=S.length,fe=0;fe<$;fe++){var Ae=S.item(fe),ze=Ae.value;if(ze&&(ze=Ne.serializer.deserialize(ze)),void 0!==(ze=w(ze,Ae.key,fe+1)))return void me(ze)}me()},function(lt,bt){Ie(bt)})})}).catch(Ie)});return oe(G,I),G},getItem:function Kn(w,I){var A=this;w=de(w);var G=new Z(function(me,Ie){A.ready().then(function(){var Ne=A._dbInfo;Ne.db.transaction(function(tt){Hn(tt,Ne,"SELECT * FROM "+Ne.storeName+" WHERE key = ? LIMIT 1",[w],function(lt,bt){var S=bt.rows.length?bt.rows.item(0).value:null;S&&(S=Ne.serializer.deserialize(S)),me(S)},function(lt,bt){Ie(bt)})})}).catch(Ie)});return oe(G,I),G},setItem:function jn(w,I,A){return vr.apply(this,[w,I,A,1])},removeItem:function yr(w,I){var A=this;w=de(w);var G=new Z(function(me,Ie){A.ready().then(function(){var Ne=A._dbInfo;Ne.db.transaction(function(tt){Hn(tt,Ne,"DELETE FROM "+Ne.storeName+" WHERE key = ?",[w],function(){me()},function(lt,bt){Ie(bt)})})}).catch(Ie)});return oe(G,I),G},clear:function fr(w){var I=this,A=new Z(function(G,me){I.ready().then(function(){var Ie=I._dbInfo;Ie.db.transaction(function(Ne){Hn(Ne,Ie,"DELETE FROM "+Ie.storeName,[],function(){G()},function(tt,lt){me(lt)})})}).catch(me)});return oe(A,w),A},length:function Pr(w){var I=this,A=new Z(function(G,me){I.ready().then(function(){var Ie=I._dbInfo;Ie.db.transaction(function(Ne){Hn(Ne,Ie,"SELECT COUNT(key) as c FROM "+Ie.storeName,[],function(tt,lt){var bt=lt.rows.item(0).c;G(bt)},function(tt,lt){me(lt)})})}).catch(me)});return oe(A,w),A},key:function Fn(w,I){var A=this,G=new Z(function(me,Ie){A.ready().then(function(){var Ne=A._dbInfo;Ne.db.transaction(function(tt){Hn(tt,Ne,"SELECT key FROM "+Ne.storeName+" WHERE id = ? LIMIT 1",[w+1],function(lt,bt){var S=bt.rows.length?bt.rows.item(0).key:null;me(S)},function(lt,bt){Ie(bt)})})}).catch(Ie)});return oe(G,I),G},keys:function gn(w){var I=this,A=new Z(function(G,me){I.ready().then(function(){var Ie=I._dbInfo;Ie.db.transaction(function(Ne){Hn(Ne,Ie,"SELECT key FROM "+Ie.storeName,[],function(tt,lt){for(var bt=[],S=0;S '__WebKitDatabaseInfoTable__'",[],function(me,Ie){for(var Ne=[],tt=0;tt0}var pr={_driver:"localStorageWrapper",_initStorage:function ot(w){var A={};if(w)for(var G in w)A[G]=w[G];return A.keyPrefix=$e(w,this._defaultConfig),Ke()?(this._dbInfo=A,A.serializer=Qt,Z.resolve()):Z.reject()},_support:function Ze(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}(),iterate:function Dn(w,I){var A=this,G=A.ready().then(function(){for(var me=A._dbInfo,Ie=me.keyPrefix,Ne=Ie.length,tt=localStorage.length,lt=1,bt=0;bt=0;me--){var Ie=localStorage.key(me);0===Ie.indexOf(G)&&localStorage.removeItem(Ie)}});return oe(A,w),A},length:function qn(w){var A=this.keys().then(function(G){return G.length});return oe(A,w),A},key:function Pn(w,I){var A=this,G=A.ready().then(function(){var Ie,me=A._dbInfo;try{Ie=localStorage.key(w)}catch{Ie=null}return Ie&&(Ie=Ie.substring(me.keyPrefix.length)),Ie});return oe(G,I),G},keys:function hr(w){var I=this,A=I.ready().then(function(){for(var G=I._dbInfo,me=localStorage.length,Ie=[],Ne=0;Ne=0;Ne--){var tt=localStorage.key(Ne);0===tt.indexOf(Ie)&&localStorage.removeItem(tt)}}):Z.reject("Invalid arguments"),I),me}},Ln=function(I,A){return I===A||"number"==typeof I&&"number"==typeof A&&isNaN(I)&&isNaN(A)},rn=function(I,A){for(var G=I.length,me=0;me"u"?"undefined":te(A))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var G in A){if("storeName"===G&&(A[G]=A[G].replace(/\W/g,"_")),"version"===G&&"number"!=typeof A[G])return new Error("Database version must be a number.");this._config[G]=A[G]}return!("driver"in A)||!A.driver||this.setDriver(this._config.driver)}return"string"==typeof A?this._config[A]:this._config},w.prototype.defineDriver=function(A,G,me){var Ie=new Z(function(Ne,tt){try{var lt=A._driver,bt=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!A._driver)return void tt(bt);for(var S=Un.concat("_initStorage"),$=0,fe=S.length;${"use strict";g.d(Re,{X:()=>r});var o=g(7579);class r extends o.x{constructor(V){super(),this._value=V}get value(){return this.getValue()}_subscribe(V){const te=super._subscribe(V);return!te.closed&&V.next(this._value),te}getValue(){const{hasError:V,thrownError:te,_value:P}=this;if(V)throw te;return this._throwIfClosed(),P}next(V){super.next(this._value=V)}}},9751:(pt,Re,g)=>{"use strict";g.d(Re,{y:()=>Y});var o=g(930),r=g(727),B=g(8822),V=g(9635),te=g(2416),P=g(576),R=g(2806);let Y=(()=>{class oe{constructor(de){de&&(this._subscribe=de)}lift(de){const re=new oe;return re.source=this,re.operator=de,re}subscribe(de,re,ce){const W=function Z(oe){return oe&&oe instanceof o.Lv||function he(oe){return oe&&(0,P.m)(oe.next)&&(0,P.m)(oe.error)&&(0,P.m)(oe.complete)}(oe)&&(0,r.Nn)(oe)}(de)?de:new o.Hp(de,re,ce);return(0,R.x)(()=>{const{operator:pe,source:be}=this;W.add(pe?pe.call(W,be):be?this._subscribe(W):this._trySubscribe(W))}),W}_trySubscribe(de){try{return this._subscribe(de)}catch(re){de.error(re)}}forEach(de,re){return new(re=ne(re))((ce,W)=>{const pe=new o.Hp({next:be=>{try{de(be)}catch(Ve){W(Ve),pe.unsubscribe()}},error:W,complete:ce});this.subscribe(pe)})}_subscribe(de){var re;return null===(re=this.source)||void 0===re?void 0:re.subscribe(de)}[B.L](){return this}pipe(...de){return(0,V.U)(de)(this)}toPromise(de){return new(de=ne(de))((re,ce)=>{let W;this.subscribe(pe=>W=pe,pe=>ce(pe),()=>re(W))})}}return oe.create=ye=>new oe(ye),oe})();function ne(oe){var ye;return null!==(ye=oe??te.v.Promise)&&void 0!==ye?ye:Promise}},4707:(pt,Re,g)=>{"use strict";g.d(Re,{t:()=>B});var o=g(7579),r=g(6063);class B extends o.x{constructor(te=1/0,P=1/0,R=r.l){super(),this._bufferSize=te,this._windowTime=P,this._timestampProvider=R,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=P===1/0,this._bufferSize=Math.max(1,te),this._windowTime=Math.max(1,P)}next(te){const{isStopped:P,_buffer:R,_infiniteTimeWindow:Y,_timestampProvider:ne,_windowTime:he}=this;P||(R.push(te),!Y&&R.push(ne.now()+he)),this._trimBuffer(),super.next(te)}_subscribe(te){this._throwIfClosed(),this._trimBuffer();const P=this._innerSubscribe(te),{_infiniteTimeWindow:R,_buffer:Y}=this,ne=Y.slice();for(let he=0;he{"use strict";g.d(Re,{x:()=>R});var o=g(9751),r=g(727);const V=(0,g(3888).d)(ne=>function(){ne(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var te=g(8737),P=g(2806);let R=(()=>{class ne extends o.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Z){const oe=new Y(this,this);return oe.operator=Z,oe}_throwIfClosed(){if(this.closed)throw new V}next(Z){(0,P.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const oe of this.currentObservers)oe.next(Z)}})}error(Z){(0,P.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Z;const{observers:oe}=this;for(;oe.length;)oe.shift().error(Z)}})}complete(){(0,P.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Z}=this;for(;Z.length;)Z.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Z;return(null===(Z=this.observers)||void 0===Z?void 0:Z.length)>0}_trySubscribe(Z){return this._throwIfClosed(),super._trySubscribe(Z)}_subscribe(Z){return this._throwIfClosed(),this._checkFinalizedStatuses(Z),this._innerSubscribe(Z)}_innerSubscribe(Z){const{hasError:oe,isStopped:ye,observers:de}=this;return oe||ye?r.Lc:(this.currentObservers=null,de.push(Z),new r.w0(()=>{this.currentObservers=null,(0,te.P)(de,Z)}))}_checkFinalizedStatuses(Z){const{hasError:oe,thrownError:ye,isStopped:de}=this;oe?Z.error(ye):de&&Z.complete()}asObservable(){const Z=new o.y;return Z.source=this,Z}}return ne.create=(he,Z)=>new Y(he,Z),ne})();class Y extends R{constructor(he,Z){super(),this.destination=he,this.source=Z}next(he){var Z,oe;null===(oe=null===(Z=this.destination)||void 0===Z?void 0:Z.next)||void 0===oe||oe.call(Z,he)}error(he){var Z,oe;null===(oe=null===(Z=this.destination)||void 0===Z?void 0:Z.error)||void 0===oe||oe.call(Z,he)}complete(){var he,Z;null===(Z=null===(he=this.destination)||void 0===he?void 0:he.complete)||void 0===Z||Z.call(he)}_subscribe(he){var Z,oe;return null!==(oe=null===(Z=this.source)||void 0===Z?void 0:Z.subscribe(he))&&void 0!==oe?oe:r.Lc}}},930:(pt,Re,g)=>{"use strict";g.d(Re,{Hp:()=>ce,Lv:()=>oe});var o=g(576),r=g(727),B=g(2416),V=g(7849),te=g(5032);const P=ne("C",void 0,void 0);function ne(Me,Le,Pe){return{kind:Me,value:Le,error:Pe}}var he=g(3410),Z=g(2806);class oe extends r.w0{constructor(Le){super(),this.isStopped=!1,Le?(this.destination=Le,(0,r.Nn)(Le)&&Le.add(this)):this.destination=Ve}static create(Le,Pe,we){return new ce(Le,Pe,we)}next(Le){this.isStopped?be(function Y(Me){return ne("N",Me,void 0)}(Le),this):this._next(Le)}error(Le){this.isStopped?be(function R(Me){return ne("E",void 0,Me)}(Le),this):(this.isStopped=!0,this._error(Le))}complete(){this.isStopped?be(P,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Le){this.destination.next(Le)}_error(Le){try{this.destination.error(Le)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ye=Function.prototype.bind;function de(Me,Le){return ye.call(Me,Le)}class re{constructor(Le){this.partialObserver=Le}next(Le){const{partialObserver:Pe}=this;if(Pe.next)try{Pe.next(Le)}catch(we){W(we)}}error(Le){const{partialObserver:Pe}=this;if(Pe.error)try{Pe.error(Le)}catch(we){W(we)}else W(Le)}complete(){const{partialObserver:Le}=this;if(Le.complete)try{Le.complete()}catch(Pe){W(Pe)}}}class ce extends oe{constructor(Le,Pe,we){let j;if(super(),(0,o.m)(Le)||!Le)j={next:Le??void 0,error:Pe??void 0,complete:we??void 0};else{let X;this&&B.v.useDeprecatedNextContext?(X=Object.create(Le),X.unsubscribe=()=>this.unsubscribe(),j={next:Le.next&&de(Le.next,X),error:Le.error&&de(Le.error,X),complete:Le.complete&&de(Le.complete,X)}):j=Le}this.destination=new re(j)}}function W(Me){B.v.useDeprecatedSynchronousErrorHandling?(0,Z.O)(Me):(0,V.h)(Me)}function be(Me,Le){const{onStoppedNotification:Pe}=B.v;Pe&&he.z.setTimeout(()=>Pe(Me,Le))}const Ve={closed:!0,next:te.Z,error:function pe(Me){throw Me},complete:te.Z}},727:(pt,Re,g)=>{"use strict";g.d(Re,{Lc:()=>P,w0:()=>te,Nn:()=>R});var o=g(576);const B=(0,g(3888).d)(ne=>function(Z){ne(this),this.message=Z?`${Z.length} errors occurred during unsubscription:\n${Z.map((oe,ye)=>`${ye+1}) ${oe.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Z});var V=g(8737);class te{constructor(he){this.initialTeardown=he,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let he;if(!this.closed){this.closed=!0;const{_parentage:Z}=this;if(Z)if(this._parentage=null,Array.isArray(Z))for(const de of Z)de.remove(this);else Z.remove(this);const{initialTeardown:oe}=this;if((0,o.m)(oe))try{oe()}catch(de){he=de instanceof B?de.errors:[de]}const{_finalizers:ye}=this;if(ye){this._finalizers=null;for(const de of ye)try{Y(de)}catch(re){he=he??[],re instanceof B?he=[...he,...re.errors]:he.push(re)}}if(he)throw new B(he)}}add(he){var Z;if(he&&he!==this)if(this.closed)Y(he);else{if(he instanceof te){if(he.closed||he._hasParent(this))return;he._addParent(this)}(this._finalizers=null!==(Z=this._finalizers)&&void 0!==Z?Z:[]).push(he)}}_hasParent(he){const{_parentage:Z}=this;return Z===he||Array.isArray(Z)&&Z.includes(he)}_addParent(he){const{_parentage:Z}=this;this._parentage=Array.isArray(Z)?(Z.push(he),Z):Z?[Z,he]:he}_removeParent(he){const{_parentage:Z}=this;Z===he?this._parentage=null:Array.isArray(Z)&&(0,V.P)(Z,he)}remove(he){const{_finalizers:Z}=this;Z&&(0,V.P)(Z,he),he instanceof te&&he._removeParent(this)}}te.EMPTY=(()=>{const ne=new te;return ne.closed=!0,ne})();const P=te.EMPTY;function R(ne){return ne instanceof te||ne&&"closed"in ne&&(0,o.m)(ne.remove)&&(0,o.m)(ne.add)&&(0,o.m)(ne.unsubscribe)}function Y(ne){(0,o.m)(ne)?ne():ne.unsubscribe()}},2416:(pt,Re,g)=>{"use strict";g.d(Re,{v:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(pt,Re,g)=>{"use strict";g.d(Re,{c:()=>P});var o=g(9751),r=g(727),B=g(8343),V=g(5403),te=g(4482);class P extends o.y{constructor(Y,ne){super(),this.source=Y,this.subjectFactory=ne,this._subject=null,this._refCount=0,this._connection=null,(0,te.A)(Y)&&(this.lift=Y.lift)}_subscribe(Y){return this.getSubject().subscribe(Y)}getSubject(){const Y=this._subject;return(!Y||Y.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:Y}=this;this._subject=this._connection=null,Y?.unsubscribe()}connect(){let Y=this._connection;if(!Y){Y=this._connection=new r.w0;const ne=this.getSubject();Y.add(this.source.subscribe((0,V.x)(ne,void 0,()=>{this._teardown(),ne.complete()},he=>{this._teardown(),ne.error(he)},()=>this._teardown()))),Y.closed&&(this._connection=null,Y=r.w0.EMPTY)}return Y}refCount(){return(0,B.x)()(this)}}},9841:(pt,Re,g)=>{"use strict";g.d(Re,{a:()=>he,l:()=>Z});var o=g(9751),r=g(4742),B=g(2076),V=g(4671),te=g(3268),P=g(3269),R=g(1810),Y=g(5403),ne=g(9672);function he(...ye){const de=(0,P.yG)(ye),re=(0,P.jO)(ye),{args:ce,keys:W}=(0,r.D)(ye);if(0===ce.length)return(0,B.D)([],de);const pe=new o.y(Z(ce,de,W?be=>(0,R.n)(W,be):V.y));return re?pe.pipe((0,te.Z)(re)):pe}function Z(ye,de,re=V.y){return ce=>{oe(de,()=>{const{length:W}=ye,pe=new Array(W);let be=W,Ve=W;for(let Me=0;Me{const Le=(0,B.D)(ye[Me],de);let Pe=!1;Le.subscribe((0,Y.x)(ce,we=>{pe[Me]=we,Pe||(Pe=!0,Ve--),Ve||ce.next(re(pe.slice()))},()=>{--be||ce.complete()}))},ce)},ce)}}function oe(ye,de,re){ye?(0,ne.f)(re,ye,de):de()}},7272:(pt,Re,g)=>{"use strict";g.d(Re,{z:()=>te});var o=g(8189),B=g(3269),V=g(2076);function te(...P){return function r(){return(0,o.J)(1)}()((0,V.D)(P,(0,B.yG)(P)))}},9770:(pt,Re,g)=>{"use strict";g.d(Re,{P:()=>B});var o=g(9751),r=g(8421);function B(V){return new o.y(te=>{(0,r.Xf)(V()).subscribe(te)})}},515:(pt,Re,g)=>{"use strict";g.d(Re,{E:()=>r,c:()=>B});var o=g(9751);const r=new o.y(te=>te.complete());function B(te){return te?function V(te){return new o.y(P=>te.schedule(()=>P.complete()))}(te):r}},4128:(pt,Re,g)=>{"use strict";g.d(Re,{D:()=>Y});var o=g(9751),r=g(4742),B=g(8421),V=g(3269),te=g(5403),P=g(3268),R=g(1810);function Y(...ne){const he=(0,V.jO)(ne),{args:Z,keys:oe}=(0,r.D)(ne),ye=new o.y(de=>{const{length:re}=Z;if(!re)return void de.complete();const ce=new Array(re);let W=re,pe=re;for(let be=0;be{Ve||(Ve=!0,pe--),ce[be]=Me},()=>W--,void 0,()=>{(!W||!Ve)&&(pe||de.next(oe?(0,R.n)(oe,ce):ce),de.complete())}))}});return he?ye.pipe((0,P.Z)(he)):ye}},2076:(pt,Re,g)=>{"use strict";g.d(Re,{D:()=>we});var o=g(8421),r=g(9672),B=g(4482),V=g(5403);function te(j,X=0){return(0,B.e)((Ce,_e)=>{Ce.subscribe((0,V.x)(_e,Te=>(0,r.f)(_e,j,()=>_e.next(Te),X),()=>(0,r.f)(_e,j,()=>_e.complete(),X),Te=>(0,r.f)(_e,j,()=>_e.error(Te),X)))})}function P(j,X=0){return(0,B.e)((Ce,_e)=>{_e.add(j.schedule(()=>Ce.subscribe(_e),X))})}var ne=g(9751),Z=g(2202),oe=g(576);function de(j,X){if(!j)throw new Error("Iterable cannot be null");return new ne.y(Ce=>{(0,r.f)(Ce,X,()=>{const _e=j[Symbol.asyncIterator]();(0,r.f)(Ce,X,()=>{_e.next().then(Te=>{Te.done?Ce.complete():Ce.next(Te.value)})},0,!0)})})}var re=g(3670),ce=g(8239),W=g(1144),pe=g(6495),be=g(2206),Ve=g(4532),Me=g(3260);function we(j,X){return X?function Pe(j,X){if(null!=j){if((0,re.c)(j))return function R(j,X){return(0,o.Xf)(j).pipe(P(X),te(X))}(j,X);if((0,W.z)(j))return function he(j,X){return new ne.y(Ce=>{let _e=0;return X.schedule(function(){_e===j.length?Ce.complete():(Ce.next(j[_e++]),Ce.closed||this.schedule())})})}(j,X);if((0,ce.t)(j))return function Y(j,X){return(0,o.Xf)(j).pipe(P(X),te(X))}(j,X);if((0,be.D)(j))return de(j,X);if((0,pe.T)(j))return function ye(j,X){return new ne.y(Ce=>{let _e;return(0,r.f)(Ce,X,()=>{_e=j[Z.h](),(0,r.f)(Ce,X,()=>{let Te,Be;try{({value:Te,done:Be}=_e.next())}catch(ie){return void Ce.error(ie)}Be?Ce.complete():Ce.next(Te)},0,!0)}),()=>(0,oe.m)(_e?.return)&&_e.return()})}(j,X);if((0,Me.L)(j))return function Le(j,X){return de((0,Me.Q)(j),X)}(j,X)}throw(0,Ve.z)(j)}(j,X):(0,o.Xf)(j)}},4968:(pt,Re,g)=>{"use strict";g.d(Re,{R:()=>he});var o=g(8421),r=g(9751),B=g(5577),V=g(1144),te=g(576),P=g(3268);const R=["addListener","removeListener"],Y=["addEventListener","removeEventListener"],ne=["on","off"];function he(re,ce,W,pe){if((0,te.m)(W)&&(pe=W,W=void 0),pe)return he(re,ce,W).pipe((0,P.Z)(pe));const[be,Ve]=function de(re){return(0,te.m)(re.addEventListener)&&(0,te.m)(re.removeEventListener)}(re)?Y.map(Me=>Le=>re[Me](ce,Le,W)):function oe(re){return(0,te.m)(re.addListener)&&(0,te.m)(re.removeListener)}(re)?R.map(Z(re,ce)):function ye(re){return(0,te.m)(re.on)&&(0,te.m)(re.off)}(re)?ne.map(Z(re,ce)):[];if(!be&&(0,V.z)(re))return(0,B.z)(Me=>he(Me,ce,W))((0,o.Xf)(re));if(!be)throw new TypeError("Invalid event target");return new r.y(Me=>{const Le=(...Pe)=>Me.next(1Ve(Le)})}function Z(re,ce){return W=>pe=>re[W](ce,pe)}},8421:(pt,Re,g)=>{"use strict";g.d(Re,{Xf:()=>ye});var o=g(7582),r=g(1144),B=g(8239),V=g(9751),te=g(3670),P=g(2206),R=g(4532),Y=g(6495),ne=g(3260),he=g(576),Z=g(7849),oe=g(8822);function ye(Me){if(Me instanceof V.y)return Me;if(null!=Me){if((0,te.c)(Me))return function de(Me){return new V.y(Le=>{const Pe=Me[oe.L]();if((0,he.m)(Pe.subscribe))return Pe.subscribe(Le);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Me);if((0,r.z)(Me))return function re(Me){return new V.y(Le=>{for(let Pe=0;Pe{Me.then(Pe=>{Le.closed||(Le.next(Pe),Le.complete())},Pe=>Le.error(Pe)).then(null,Z.h)})}(Me);if((0,P.D)(Me))return pe(Me);if((0,Y.T)(Me))return function W(Me){return new V.y(Le=>{for(const Pe of Me)if(Le.next(Pe),Le.closed)return;Le.complete()})}(Me);if((0,ne.L)(Me))return function be(Me){return pe((0,ne.Q)(Me))}(Me)}throw(0,R.z)(Me)}function pe(Me){return new V.y(Le=>{(function Ve(Me,Le){var Pe,we,j,X;return(0,o.mG)(this,void 0,void 0,function*(){try{for(Pe=(0,o.KL)(Me);!(we=yield Pe.next()).done;)if(Le.next(we.value),Le.closed)return}catch(Ce){j={error:Ce}}finally{try{we&&!we.done&&(X=Pe.return)&&(yield X.call(Pe))}finally{if(j)throw j.error}}Le.complete()})})(Me,Le).catch(Pe=>Le.error(Pe))})}},6451:(pt,Re,g)=>{"use strict";g.d(Re,{T:()=>P});var o=g(8189),r=g(8421),B=g(515),V=g(3269),te=g(2076);function P(...R){const Y=(0,V.yG)(R),ne=(0,V._6)(R,1/0),he=R;return he.length?1===he.length?(0,r.Xf)(he[0]):(0,o.J)(ne)((0,te.D)(he,Y)):B.E}},9646:(pt,Re,g)=>{"use strict";g.d(Re,{of:()=>B});var o=g(3269),r=g(2076);function B(...V){const te=(0,o.yG)(V);return(0,r.D)(V,te)}},2843:(pt,Re,g)=>{"use strict";g.d(Re,{_:()=>B});var o=g(9751),r=g(576);function B(V,te){const P=(0,r.m)(V)?V:()=>V,R=Y=>Y.error(P());return new o.y(te?Y=>te.schedule(R,0,Y):R)}},5403:(pt,Re,g)=>{"use strict";g.d(Re,{Q:()=>B,x:()=>r});var o=g(930);function r(V,te,P,R,Y){return new B(V,te,P,R,Y)}class B extends o.Lv{constructor(te,P,R,Y,ne,he){super(te),this.onFinalize=ne,this.shouldUnsubscribe=he,this._next=P?function(Z){try{P(Z)}catch(oe){te.error(oe)}}:super._next,this._error=Y?function(Z){try{Y(Z)}catch(oe){te.error(oe)}finally{this.unsubscribe()}}:super._error,this._complete=R?function(){try{R()}catch(Z){te.error(Z)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var te;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:P}=this;super.unsubscribe(),!P&&(null===(te=this.onFinalize)||void 0===te||te.call(this))}}}},262:(pt,Re,g)=>{"use strict";g.d(Re,{K:()=>V});var o=g(8421),r=g(5403),B=g(4482);function V(te){return(0,B.e)((P,R)=>{let he,Y=null,ne=!1;Y=P.subscribe((0,r.x)(R,void 0,void 0,Z=>{he=(0,o.Xf)(te(Z,V(te)(P))),Y?(Y.unsubscribe(),Y=null,he.subscribe(R)):ne=!0})),ne&&(Y.unsubscribe(),Y=null,he.subscribe(R))})}},4351:(pt,Re,g)=>{"use strict";g.d(Re,{b:()=>B});var o=g(5577),r=g(576);function B(V,te){return(0,r.m)(te)?(0,o.z)(V,te,1):(0,o.z)(V,1)}},6590:(pt,Re,g)=>{"use strict";g.d(Re,{d:()=>B});var o=g(4482),r=g(5403);function B(V){return(0,o.e)((te,P)=>{let R=!1;te.subscribe((0,r.x)(P,Y=>{R=!0,P.next(Y)},()=>{R||P.next(V),P.complete()}))})}},1884:(pt,Re,g)=>{"use strict";g.d(Re,{x:()=>V});var o=g(4671),r=g(4482),B=g(5403);function V(P,R=o.y){return P=P??te,(0,r.e)((Y,ne)=>{let he,Z=!0;Y.subscribe((0,B.x)(ne,oe=>{const ye=R(oe);(Z||!P(he,ye))&&(Z=!1,he=ye,ne.next(oe))}))})}function te(P,R){return P===R}},9300:(pt,Re,g)=>{"use strict";g.d(Re,{h:()=>B});var o=g(4482),r=g(5403);function B(V,te){return(0,o.e)((P,R)=>{let Y=0;P.subscribe((0,r.x)(R,ne=>V.call(te,ne,Y++)&&R.next(ne)))})}},8746:(pt,Re,g)=>{"use strict";g.d(Re,{x:()=>r});var o=g(4482);function r(B){return(0,o.e)((V,te)=>{try{V.subscribe(te)}finally{te.add(B)}})}},590:(pt,Re,g)=>{"use strict";g.d(Re,{P:()=>R});var o=g(6805),r=g(9300),B=g(5698),V=g(6590),te=g(8068),P=g(4671);function R(Y,ne){const he=arguments.length>=2;return Z=>Z.pipe(Y?(0,r.h)((oe,ye)=>Y(oe,ye,Z)):P.y,(0,B.q)(1),he?(0,V.d)(ne):(0,te.T)(()=>new o.K))}},4004:(pt,Re,g)=>{"use strict";g.d(Re,{U:()=>B});var o=g(4482),r=g(5403);function B(V,te){return(0,o.e)((P,R)=>{let Y=0;P.subscribe((0,r.x)(R,ne=>{R.next(V.call(te,ne,Y++))}))})}},9718:(pt,Re,g)=>{"use strict";g.d(Re,{h:()=>r});var o=g(4004);function r(B){return(0,o.U)(()=>B)}},8189:(pt,Re,g)=>{"use strict";g.d(Re,{J:()=>B});var o=g(5577),r=g(4671);function B(V=1/0){return(0,o.z)(r.y,V)}},5577:(pt,Re,g)=>{"use strict";g.d(Re,{z:()=>Y});var o=g(4004),r=g(8421),B=g(4482),V=g(9672),te=g(5403),R=g(576);function Y(ne,he,Z=1/0){return(0,R.m)(he)?Y((oe,ye)=>(0,o.U)((de,re)=>he(oe,de,ye,re))((0,r.Xf)(ne(oe,ye))),Z):("number"==typeof he&&(Z=he),(0,B.e)((oe,ye)=>function P(ne,he,Z,oe,ye,de,re,ce){const W=[];let pe=0,be=0,Ve=!1;const Me=()=>{Ve&&!W.length&&!pe&&he.complete()},Le=we=>pe{de&&he.next(we),pe++;let j=!1;(0,r.Xf)(Z(we,be++)).subscribe((0,te.x)(he,X=>{ye?.(X),de?Le(X):he.next(X)},()=>{j=!0},void 0,()=>{if(j)try{for(pe--;W.length&&pePe(X)):Pe(X)}Me()}catch(X){he.error(X)}}))};return ne.subscribe((0,te.x)(he,Le,()=>{Ve=!0,Me()})),()=>{ce?.()}}(oe,ye,ne,Z)))}},8343:(pt,Re,g)=>{"use strict";g.d(Re,{x:()=>B});var o=g(4482),r=g(5403);function B(){return(0,o.e)((V,te)=>{let P=null;V._refCount++;const R=(0,r.x)(te,void 0,void 0,void 0,()=>{if(!V||V._refCount<=0||0<--V._refCount)return void(P=null);const Y=V._connection,ne=P;P=null,Y&&(!ne||Y===ne)&&Y.unsubscribe(),te.unsubscribe()});V.subscribe(R),R.closed||(P=V.connect())})}},5026:(pt,Re,g)=>{"use strict";g.d(Re,{R:()=>V});var o=g(4482),r=g(5403);function V(te,P){return(0,o.e)(function B(te,P,R,Y,ne){return(he,Z)=>{let oe=R,ye=P,de=0;he.subscribe((0,r.x)(Z,re=>{const ce=de++;ye=oe?te(ye,re,ce):(oe=!0,re),Y&&Z.next(ye)},ne&&(()=>{oe&&Z.next(ye),Z.complete()})))}}(te,P,arguments.length>=2,!0))}},3099:(pt,Re,g)=>{"use strict";g.d(Re,{B:()=>te});var o=g(8421),r=g(7579),B=g(930),V=g(4482);function te(R={}){const{connector:Y=(()=>new r.x),resetOnError:ne=!0,resetOnComplete:he=!0,resetOnRefCountZero:Z=!0}=R;return oe=>{let ye,de,re,ce=0,W=!1,pe=!1;const be=()=>{de?.unsubscribe(),de=void 0},Ve=()=>{be(),ye=re=void 0,W=pe=!1},Me=()=>{const Le=ye;Ve(),Le?.unsubscribe()};return(0,V.e)((Le,Pe)=>{ce++,!pe&&!W&&be();const we=re=re??Y();Pe.add(()=>{ce--,0===ce&&!pe&&!W&&(de=P(Me,Z))}),we.subscribe(Pe),!ye&&ce>0&&(ye=new B.Hp({next:j=>we.next(j),error:j=>{pe=!0,be(),de=P(Ve,ne,j),we.error(j)},complete:()=>{W=!0,be(),de=P(Ve,he),we.complete()}}),(0,o.Xf)(Le).subscribe(ye))})(oe)}}function P(R,Y,...ne){if(!0===Y)return void R();if(!1===Y)return;const he=new B.Hp({next:()=>{he.unsubscribe(),R()}});return(0,o.Xf)(Y(...ne)).subscribe(he)}},4782:(pt,Re,g)=>{"use strict";g.d(Re,{d:()=>B});var o=g(4707),r=g(3099);function B(V,te,P){let R,Y=!1;return V&&"object"==typeof V?({bufferSize:R=1/0,windowTime:te=1/0,refCount:Y=!1,scheduler:P}=V):R=V??1/0,(0,r.B)({connector:()=>new o.t(R,te,P),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Y})}},8675:(pt,Re,g)=>{"use strict";g.d(Re,{O:()=>V});var o=g(7272),r=g(3269),B=g(4482);function V(...te){const P=(0,r.yG)(te);return(0,B.e)((R,Y)=>{(P?(0,o.z)(te,R,P):(0,o.z)(te,R)).subscribe(Y)})}},3900:(pt,Re,g)=>{"use strict";g.d(Re,{w:()=>V});var o=g(8421),r=g(4482),B=g(5403);function V(te,P){return(0,r.e)((R,Y)=>{let ne=null,he=0,Z=!1;const oe=()=>Z&&!ne&&Y.complete();R.subscribe((0,B.x)(Y,ye=>{ne?.unsubscribe();let de=0;const re=he++;(0,o.Xf)(te(ye,re)).subscribe(ne=(0,B.x)(Y,ce=>Y.next(P?P(ye,ce,re,de++):ce),()=>{ne=null,oe()}))},()=>{Z=!0,oe()}))})}},5698:(pt,Re,g)=>{"use strict";g.d(Re,{q:()=>V});var o=g(515),r=g(4482),B=g(5403);function V(te){return te<=0?()=>o.E:(0,r.e)((P,R)=>{let Y=0;P.subscribe((0,B.x)(R,ne=>{++Y<=te&&(R.next(ne),te<=Y&&R.complete())}))})}},8505:(pt,Re,g)=>{"use strict";g.d(Re,{b:()=>te});var o=g(576),r=g(4482),B=g(5403),V=g(4671);function te(P,R,Y){const ne=(0,o.m)(P)||R||Y?{next:P,error:R,complete:Y}:P;return ne?(0,r.e)((he,Z)=>{var oe;null===(oe=ne.subscribe)||void 0===oe||oe.call(ne);let ye=!0;he.subscribe((0,B.x)(Z,de=>{var re;null===(re=ne.next)||void 0===re||re.call(ne,de),Z.next(de)},()=>{var de;ye=!1,null===(de=ne.complete)||void 0===de||de.call(ne),Z.complete()},de=>{var re;ye=!1,null===(re=ne.error)||void 0===re||re.call(ne,de),Z.error(de)},()=>{var de,re;ye&&(null===(de=ne.unsubscribe)||void 0===de||de.call(ne)),null===(re=ne.finalize)||void 0===re||re.call(ne)}))}):V.y}},8068:(pt,Re,g)=>{"use strict";g.d(Re,{T:()=>V});var o=g(6805),r=g(4482),B=g(5403);function V(P=te){return(0,r.e)((R,Y)=>{let ne=!1;R.subscribe((0,B.x)(Y,he=>{ne=!0,Y.next(he)},()=>ne?Y.complete():Y.error(P())))})}function te(){return new o.K}},6063:(pt,Re,g)=>{"use strict";g.d(Re,{l:()=>o});const o={now:()=>(o.delegate||Date).now(),delegate:void 0}},3410:(pt,Re,g)=>{"use strict";g.d(Re,{z:()=>o});const o={setTimeout(r,B,...V){const{delegate:te}=o;return te?.setTimeout?te.setTimeout(r,B,...V):setTimeout(r,B,...V)},clearTimeout(r){const{delegate:B}=o;return(B?.clearTimeout||clearTimeout)(r)},delegate:void 0}},2202:(pt,Re,g)=>{"use strict";g.d(Re,{h:()=>r});const r=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(pt,Re,g)=>{"use strict";g.d(Re,{L:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(pt,Re,g)=>{"use strict";g.d(Re,{K:()=>r});const r=(0,g(3888).d)(B=>function(){B(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(pt,Re,g)=>{"use strict";g.d(Re,{_6:()=>P,jO:()=>V,yG:()=>te});var o=g(576),r=g(3532);function B(R){return R[R.length-1]}function V(R){return(0,o.m)(B(R))?R.pop():void 0}function te(R){return(0,r.K)(B(R))?R.pop():void 0}function P(R,Y){return"number"==typeof B(R)?R.pop():Y}},4742:(pt,Re,g)=>{"use strict";g.d(Re,{D:()=>te});const{isArray:o}=Array,{getPrototypeOf:r,prototype:B,keys:V}=Object;function te(R){if(1===R.length){const Y=R[0];if(o(Y))return{args:Y,keys:null};if(function P(R){return R&&"object"==typeof R&&r(R)===B}(Y)){const ne=V(Y);return{args:ne.map(he=>Y[he]),keys:ne}}}return{args:R,keys:null}}},8737:(pt,Re,g)=>{"use strict";function o(r,B){if(r){const V=r.indexOf(B);0<=V&&r.splice(V,1)}}g.d(Re,{P:()=>o})},3888:(pt,Re,g)=>{"use strict";function o(r){const V=r(te=>{Error.call(te),te.stack=(new Error).stack});return V.prototype=Object.create(Error.prototype),V.prototype.constructor=V,V}g.d(Re,{d:()=>o})},1810:(pt,Re,g)=>{"use strict";function o(r,B){return r.reduce((V,te,P)=>(V[te]=B[P],V),{})}g.d(Re,{n:()=>o})},2806:(pt,Re,g)=>{"use strict";g.d(Re,{O:()=>V,x:()=>B});var o=g(2416);let r=null;function B(te){if(o.v.useDeprecatedSynchronousErrorHandling){const P=!r;if(P&&(r={errorThrown:!1,error:null}),te(),P){const{errorThrown:R,error:Y}=r;if(r=null,R)throw Y}}else te()}function V(te){o.v.useDeprecatedSynchronousErrorHandling&&r&&(r.errorThrown=!0,r.error=te)}},9672:(pt,Re,g)=>{"use strict";function o(r,B,V,te=0,P=!1){const R=B.schedule(function(){V(),P?r.add(this.schedule(null,te)):this.unsubscribe()},te);if(r.add(R),!P)return R}g.d(Re,{f:()=>o})},4671:(pt,Re,g)=>{"use strict";function o(r){return r}g.d(Re,{y:()=>o})},1144:(pt,Re,g)=>{"use strict";g.d(Re,{z:()=>o});const o=r=>r&&"number"==typeof r.length&&"function"!=typeof r},2206:(pt,Re,g)=>{"use strict";g.d(Re,{D:()=>r});var o=g(576);function r(B){return Symbol.asyncIterator&&(0,o.m)(B?.[Symbol.asyncIterator])}},576:(pt,Re,g)=>{"use strict";function o(r){return"function"==typeof r}g.d(Re,{m:()=>o})},3670:(pt,Re,g)=>{"use strict";g.d(Re,{c:()=>B});var o=g(8822),r=g(576);function B(V){return(0,r.m)(V[o.L])}},6495:(pt,Re,g)=>{"use strict";g.d(Re,{T:()=>B});var o=g(2202),r=g(576);function B(V){return(0,r.m)(V?.[o.h])}},8239:(pt,Re,g)=>{"use strict";g.d(Re,{t:()=>r});var o=g(576);function r(B){return(0,o.m)(B?.then)}},3260:(pt,Re,g)=>{"use strict";g.d(Re,{L:()=>V,Q:()=>B});var o=g(7582),r=g(576);function B(te){return(0,o.FC)(this,arguments,function*(){const R=te.getReader();try{for(;;){const{value:Y,done:ne}=yield(0,o.qq)(R.read());if(ne)return yield(0,o.qq)(void 0);yield yield(0,o.qq)(Y)}}finally{R.releaseLock()}})}function V(te){return(0,r.m)(te?.getReader)}},3532:(pt,Re,g)=>{"use strict";g.d(Re,{K:()=>r});var o=g(576);function r(B){return B&&(0,o.m)(B.schedule)}},4482:(pt,Re,g)=>{"use strict";g.d(Re,{A:()=>r,e:()=>B});var o=g(576);function r(V){return(0,o.m)(V?.lift)}function B(V){return te=>{if(r(te))return te.lift(function(P){try{return V(P,this)}catch(R){this.error(R)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(pt,Re,g)=>{"use strict";g.d(Re,{Z:()=>V});var o=g(4004);const{isArray:r}=Array;function V(te){return(0,o.U)(P=>function B(te,P){return r(P)?te(...P):te(P)}(te,P))}},5032:(pt,Re,g)=>{"use strict";function o(){}g.d(Re,{Z:()=>o})},9635:(pt,Re,g)=>{"use strict";g.d(Re,{U:()=>B,z:()=>r});var o=g(4671);function r(...V){return B(V)}function B(V){return 0===V.length?o.y:1===V.length?V[0]:function(P){return V.reduce((R,Y)=>Y(R),P)}}},7849:(pt,Re,g)=>{"use strict";g.d(Re,{h:()=>B});var o=g(2416),r=g(3410);function B(V){r.z.setTimeout(()=>{const{onUnhandledError:te}=o.v;if(!te)throw V;te(V)})}},4532:(pt,Re,g)=>{"use strict";function o(r){return new TypeError(`You provided ${null!==r&&"object"==typeof r?"an invalid object":`'${r}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}g.d(Re,{z:()=>o})},89:(pt,Re,g)=>{"use strict";var o,r;void 0!==(r="function"==typeof(o=function(){Zone.__load_patch("cordova",function(B,V,te){if(B.cordova)var Y="function",ne=te.patchMethod(B.cordova,"exec",function(){return function(he,Z){return Z.length>0&&typeof Z[0]===Y&&(Z[0]=V.current.wrap(Z[0],"cordova.exec.success")),Z.length>1&&typeof Z[1]===Y&&(Z[1]=V.current.wrap(Z[1],"cordova.exec.error")),ne.apply(he,Z)}})}),Zone.__load_patch("cordova.FileReader",function(B,V){B.cordova&&typeof B.FileReader<"u"&&document.addEventListener("deviceReady",function(){var te=B.FileReader;["abort","error","load","loadstart","loadend","progress"].forEach(function(P){var R=V.__symbol__("ON_PROPERTY"+P);Object.defineProperty(te.prototype,R,{configurable:!0,get:function(){return this._realReader&&this._realReader[R]}})})})})})?o.call(Re,g,Re,pt):o)&&(pt.exports=r)},863:(pt,Re,g)=>{var o={"./ion-accordion_2.entry.js":[9654,8592,9654],"./ion-action-sheet.entry.js":[3648,8592,3648],"./ion-alert.entry.js":[1118,8592,1118],"./ion-app_8.entry.js":[53,8592,53],"./ion-avatar_3.entry.js":[4753,4753],"./ion-back-button.entry.js":[2073,8592,2073],"./ion-backdrop.entry.js":[8939,8939],"./ion-breadcrumb_2.entry.js":[7544,8592,7544],"./ion-button_2.entry.js":[5652,5652],"./ion-card_5.entry.js":[388,388],"./ion-checkbox.entry.js":[9922,8592,9922],"./ion-chip.entry.js":[657,657],"./ion-col_3.entry.js":[9824,9824],"./ion-datetime-button.entry.js":[9230,2143,9230],"./ion-datetime_3.entry.js":[4959,2143,8592,4959],"./ion-fab_3.entry.js":[5836,8592,5836],"./ion-img.entry.js":[1033,1033],"./ion-infinite-scroll_2.entry.js":[8034,8592,8034],"./ion-input.entry.js":[1217,8592,1217],"./ion-item-option_3.entry.js":[2933,8592,2933],"./ion-item_8.entry.js":[4711,8592,4711],"./ion-loading.entry.js":[9434,8592,9434],"./ion-menu_3.entry.js":[8136,8592,8136],"./ion-modal.entry.js":[2349,8592,2349],"./ion-nav_2.entry.js":[5349,8592,5349],"./ion-picker-column-internal.entry.js":[7602,8592,7602],"./ion-picker-internal.entry.js":[9016,9016],"./ion-popover.entry.js":[3804,8592,3804],"./ion-progress-bar.entry.js":[4174,4174],"./ion-radio_2.entry.js":[4432,8592,4432],"./ion-range.entry.js":[1709,8592,1709],"./ion-refresher_2.entry.js":[3326,8592,3326],"./ion-reorder_2.entry.js":[3583,8592,3583],"./ion-ripple-effect.entry.js":[9958,9958],"./ion-route_4.entry.js":[4330,4330],"./ion-searchbar.entry.js":[8628,8592,8628],"./ion-segment_2.entry.js":[9325,8592,9325],"./ion-select_3.entry.js":[2773,8592,2773],"./ion-spinner.entry.js":[4908,8592,4908],"./ion-split-pane.entry.js":[9536,9536],"./ion-tab-bar_2.entry.js":[438,8592,438],"./ion-tab_2.entry.js":[1536,1536],"./ion-text.entry.js":[4376,4376],"./ion-textarea.entry.js":[6560,8592,6560],"./ion-toast.entry.js":[6120,8592,6120],"./ion-toggle.entry.js":[5168,8592,5168]};function r(B){if(!g.o(o,B))return Promise.resolve().then(()=>{var P=new Error("Cannot find module '"+B+"'");throw P.code="MODULE_NOT_FOUND",P});var V=o[B],te=V[0];return Promise.all(V.slice(1).map(g.e)).then(()=>g(te))}r.keys=()=>Object.keys(o),r.id=863,pt.exports=r},6895:(pt,Re,g)=>{"use strict";g.d(Re,{Do:()=>be,ED:()=>$,EM:()=>So,HT:()=>V,JF:()=>Qr,JJ:()=>zo,K0:()=>P,Mx:()=>Un,NF:()=>No,O5:()=>Ie,Ov:()=>on,PC:()=>Fe,PM:()=>Rr,RF:()=>bt,S$:()=>ce,V_:()=>ne,Ye:()=>Ve,b0:()=>pe,bD:()=>Oi,ez:()=>xi,mk:()=>Mt,n9:()=>S,q:()=>B,sg:()=>A,tP:()=>Oe,uU:()=>qt,w_:()=>te});var o=g(4650);let r=null;function B(){return r}function V(_){r||(r=_)}class te{}const P=new o.OlP("DocumentToken");let R=(()=>{class _{historyGo(T){throw new Error("Not implemented")}}return _.\u0275fac=function(T){return new(T||_)},_.\u0275prov=o.Yz7({token:_,factory:function(){return function Y(){return(0,o.LFG)(he)}()},providedIn:"platform"}),_})();const ne=new o.OlP("Location Initialized");let he=(()=>{class _ extends R{constructor(T){super(),this._doc=T,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return B().getBaseHref(this._doc)}onPopState(T){const J=B().getGlobalEventTarget(this._doc,"window");return J.addEventListener("popstate",T,!1),()=>J.removeEventListener("popstate",T)}onHashChange(T){const J=B().getGlobalEventTarget(this._doc,"window");return J.addEventListener("hashchange",T,!1),()=>J.removeEventListener("hashchange",T)}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(T){this._location.pathname=T}pushState(T,J,xe){Z()?this._history.pushState(T,J,xe):this._location.hash=xe}replaceState(T,J,xe){Z()?this._history.replaceState(T,J,xe):this._location.hash=xe}forward(){this._history.forward()}back(){this._history.back()}historyGo(T=0){this._history.go(T)}getState(){return this._history.state}}return _.\u0275fac=function(T){return new(T||_)(o.LFG(P))},_.\u0275prov=o.Yz7({token:_,factory:function(){return function oe(){return new he((0,o.LFG)(P))}()},providedIn:"platform"}),_})();function Z(){return!!window.history.pushState}function ye(_,H){if(0==_.length)return H;if(0==H.length)return _;let T=0;return _.endsWith("/")&&T++,H.startsWith("/")&&T++,2==T?_+H.substring(1):1==T?_+H:_+"/"+H}function de(_){const H=_.match(/#|\?|$/),T=H&&H.index||_.length;return _.slice(0,T-("/"===_[T-1]?1:0))+_.slice(T)}function re(_){return _&&"?"!==_[0]?"?"+_:_}let ce=(()=>{class _{historyGo(T){throw new Error("Not implemented")}}return _.\u0275fac=function(T){return new(T||_)},_.\u0275prov=o.Yz7({token:_,factory:function(){return(0,o.f3M)(pe)},providedIn:"root"}),_})();const W=new o.OlP("appBaseHref");let pe=(()=>{class _ extends ce{constructor(T,J){super(),this._platformLocation=T,this._removeListenerFns=[],this._baseHref=J??this._platformLocation.getBaseHrefFromDOM()??(0,o.f3M)(P).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(T){this._removeListenerFns.push(this._platformLocation.onPopState(T),this._platformLocation.onHashChange(T))}getBaseHref(){return this._baseHref}prepareExternalUrl(T){return ye(this._baseHref,T)}path(T=!1){const J=this._platformLocation.pathname+re(this._platformLocation.search),xe=this._platformLocation.hash;return xe&&T?`${J}${xe}`:J}pushState(T,J,xe,it){const yt=this.prepareExternalUrl(xe+re(it));this._platformLocation.pushState(T,J,yt)}replaceState(T,J,xe,it){const yt=this.prepareExternalUrl(xe+re(it));this._platformLocation.replaceState(T,J,yt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(T=0){this._platformLocation.historyGo?.(T)}}return _.\u0275fac=function(T){return new(T||_)(o.LFG(R),o.LFG(W,8))},_.\u0275prov=o.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),_})(),be=(()=>{class _ extends ce{constructor(T,J){super(),this._platformLocation=T,this._baseHref="",this._removeListenerFns=[],null!=J&&(this._baseHref=J)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(T){this._removeListenerFns.push(this._platformLocation.onPopState(T),this._platformLocation.onHashChange(T))}getBaseHref(){return this._baseHref}path(T=!1){let J=this._platformLocation.hash;return null==J&&(J="#"),J.length>0?J.substring(1):J}prepareExternalUrl(T){const J=ye(this._baseHref,T);return J.length>0?"#"+J:J}pushState(T,J,xe,it){let yt=this.prepareExternalUrl(xe+re(it));0==yt.length&&(yt=this._platformLocation.pathname),this._platformLocation.pushState(T,J,yt)}replaceState(T,J,xe,it){let yt=this.prepareExternalUrl(xe+re(it));0==yt.length&&(yt=this._platformLocation.pathname),this._platformLocation.replaceState(T,J,yt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(T=0){this._platformLocation.historyGo?.(T)}}return _.\u0275fac=function(T){return new(T||_)(o.LFG(R),o.LFG(W,8))},_.\u0275prov=o.Yz7({token:_,factory:_.\u0275fac}),_})(),Ve=(()=>{class _{constructor(T){this._subject=new o.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=T;const J=this._locationStrategy.getBaseHref();this._basePath=function we(_){if(new RegExp("^(https?:)?//").test(_)){const[,T]=_.split(/\/\/[^\/]+/);return T}return _}(de(Pe(J))),this._locationStrategy.onPopState(xe=>{this._subject.emit({url:this.path(!0),pop:!0,state:xe.state,type:xe.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(T=!1){return this.normalize(this._locationStrategy.path(T))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(T,J=""){return this.path()==this.normalize(T+re(J))}normalize(T){return _.stripTrailingSlash(function Le(_,H){if(!_||!H.startsWith(_))return H;const T=H.substring(_.length);return""===T||["/",";","?","#"].includes(T[0])?T:H}(this._basePath,Pe(T)))}prepareExternalUrl(T){return T&&"/"!==T[0]&&(T="/"+T),this._locationStrategy.prepareExternalUrl(T)}go(T,J="",xe=null){this._locationStrategy.pushState(xe,"",T,J),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+re(J)),xe)}replaceState(T,J="",xe=null){this._locationStrategy.replaceState(xe,"",T,J),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+re(J)),xe)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(T=0){this._locationStrategy.historyGo?.(T)}onUrlChange(T){return this._urlChangeListeners.push(T),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(J=>{this._notifyUrlChangeListeners(J.url,J.state)})),()=>{const J=this._urlChangeListeners.indexOf(T);this._urlChangeListeners.splice(J,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(T="",J){this._urlChangeListeners.forEach(xe=>xe(T,J))}subscribe(T,J,xe){return this._subject.subscribe({next:T,error:J,complete:xe})}}return _.normalizeQueryParams=re,_.joinWithSlash=ye,_.stripTrailingSlash=de,_.\u0275fac=function(T){return new(T||_)(o.LFG(ce))},_.\u0275prov=o.Yz7({token:_,factory:function(){return function Me(){return new Ve((0,o.LFG)(ce))}()},providedIn:"root"}),_})();function Pe(_){return _.replace(/\/index.html$/,"")}var X=(()=>((X=X||{})[X.Decimal=0]="Decimal",X[X.Percent=1]="Percent",X[X.Currency=2]="Currency",X[X.Scientific=3]="Scientific",X))(),_e=(()=>((_e=_e||{})[_e.Format=0]="Format",_e[_e.Standalone=1]="Standalone",_e))(),Te=(()=>((Te=Te||{})[Te.Narrow=0]="Narrow",Te[Te.Abbreviated=1]="Abbreviated",Te[Te.Wide=2]="Wide",Te[Te.Short=3]="Short",Te))(),Be=(()=>((Be=Be||{})[Be.Short=0]="Short",Be[Be.Medium=1]="Medium",Be[Be.Long=2]="Long",Be[Be.Full=3]="Full",Be))(),ie=(()=>((ie=ie||{})[ie.Decimal=0]="Decimal",ie[ie.Group=1]="Group",ie[ie.List=2]="List",ie[ie.PercentSign=3]="PercentSign",ie[ie.PlusSign=4]="PlusSign",ie[ie.MinusSign=5]="MinusSign",ie[ie.Exponential=6]="Exponential",ie[ie.SuperscriptingExponent=7]="SuperscriptingExponent",ie[ie.PerMille=8]="PerMille",ie[ie.Infinity=9]="Infinity",ie[ie.NaN=10]="NaN",ie[ie.TimeSeparator=11]="TimeSeparator",ie[ie.CurrencyDecimal=12]="CurrencyDecimal",ie[ie.CurrencyGroup=13]="CurrencyGroup",ie))();function se(_,H){return Zt((0,o.cg1)(_)[o.wAp.DateFormat],H)}function ae(_,H){return Zt((0,o.cg1)(_)[o.wAp.TimeFormat],H)}function Ye(_,H){return Zt((0,o.cg1)(_)[o.wAp.DateTimeFormat],H)}function qe(_,H){const T=(0,o.cg1)(_),J=T[o.wAp.NumberSymbols][H];if(typeof J>"u"){if(H===ie.CurrencyDecimal)return T[o.wAp.NumberSymbols][ie.Decimal];if(H===ie.CurrencyGroup)return T[o.wAp.NumberSymbols][ie.Group]}return J}function Xe(_){if(!_[o.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${_[o.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Zt(_,H){for(let T=H;T>-1;T--)if(typeof _[T]<"u")return _[T];throw new Error("Locale data API: locale data undefined")}function Ct(_){const[H,T]=_.split(":");return{hours:+H,minutes:+T}}const On=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,sr={},_n=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var bn=(()=>((bn=bn||{})[bn.Short=0]="Short",bn[bn.ShortGMT=1]="ShortGMT",bn[bn.Long=2]="Long",bn[bn.Extended=3]="Extended",bn))(),Nt=(()=>((Nt=Nt||{})[Nt.FullYear=0]="FullYear",Nt[Nt.Month=1]="Month",Nt[Nt.Date=2]="Date",Nt[Nt.Hours=3]="Hours",Nt[Nt.Minutes=4]="Minutes",Nt[Nt.Seconds=5]="Seconds",Nt[Nt.FractionalSeconds=6]="FractionalSeconds",Nt[Nt.Day=7]="Day",Nt))(),Dt=(()=>((Dt=Dt||{})[Dt.DayPeriods=0]="DayPeriods",Dt[Dt.Days=1]="Days",Dt[Dt.Months=2]="Months",Dt[Dt.Eras=3]="Eras",Dt))();function Qn(_,H,T,J){let xe=function mn(_){if(Ze(_))return _;if("number"==typeof _&&!isNaN(_))return new Date(_);if("string"==typeof _){if(_=_.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(_)){const[xe,it=1,yt=1]=_.split("-").map(Vt=>+Vt);return ln(xe,it-1,yt)}const T=parseFloat(_);if(!isNaN(_-T))return new Date(T);let J;if(J=_.match(On))return function tn(_){const H=new Date(0);let T=0,J=0;const xe=_[8]?H.setUTCFullYear:H.setFullYear,it=_[8]?H.setUTCHours:H.setHours;_[9]&&(T=Number(_[9]+_[10]),J=Number(_[9]+_[11])),xe.call(H,Number(_[1]),Number(_[2])-1,Number(_[3]));const yt=Number(_[4]||0)-T,Vt=Number(_[5]||0)-J,Wn=Number(_[6]||0),Zn=Math.floor(1e3*parseFloat("0."+(_[7]||0)));return it.call(H,yt,Vt,Wn,Zn),H}(J)}const H=new Date(_);if(!Ze(H))throw new Error(`Unable to convert "${_}" into a date`);return H}(_);H=pn(T,H)||H;let Vt,yt=[];for(;H;){if(Vt=_n.exec(H),!Vt){yt.push(H);break}{yt=yt.concat(Vt.slice(1));const Rn=yt.pop();if(!Rn)break;H=Rn}}let Wn=xe.getTimezoneOffset();J&&(Wn=Fn(J,Wn),xe=function Cn(_,H,T){const J=T?-1:1,xe=_.getTimezoneOffset();return function gn(_,H){return(_=new Date(_.getTime())).setMinutes(_.getMinutes()+H),_}(_,J*(Fn(H,xe)-xe))}(xe,J,!0));let Zn="";return yt.forEach(Rn=>{const wn=function Pr(_){if(fr[_])return fr[_];let H;switch(_){case"G":case"GG":case"GGG":H=Qt(Dt.Eras,Te.Abbreviated);break;case"GGGG":H=Qt(Dt.Eras,Te.Wide);break;case"GGGGG":H=Qt(Dt.Eras,Te.Narrow);break;case"y":H=dn(Nt.FullYear,1,0,!1,!0);break;case"yy":H=dn(Nt.FullYear,2,0,!0,!0);break;case"yyy":H=dn(Nt.FullYear,3,0,!1,!0);break;case"yyyy":H=dn(Nt.FullYear,4,0,!1,!0);break;case"Y":H=yr(1);break;case"YY":H=yr(2,!0);break;case"YYY":H=yr(3);break;case"YYYY":H=yr(4);break;case"M":case"L":H=dn(Nt.Month,1,1);break;case"MM":case"LL":H=dn(Nt.Month,2,1);break;case"MMM":H=Qt(Dt.Months,Te.Abbreviated);break;case"MMMM":H=Qt(Dt.Months,Te.Wide);break;case"MMMMM":H=Qt(Dt.Months,Te.Narrow);break;case"LLL":H=Qt(Dt.Months,Te.Abbreviated,_e.Standalone);break;case"LLLL":H=Qt(Dt.Months,Te.Wide,_e.Standalone);break;case"LLLLL":H=Qt(Dt.Months,Te.Narrow,_e.Standalone);break;case"w":H=jn(1);break;case"ww":H=jn(2);break;case"W":H=jn(1,!0);break;case"d":H=dn(Nt.Date,1);break;case"dd":H=dn(Nt.Date,2);break;case"c":case"cc":H=dn(Nt.Day,1);break;case"ccc":H=Qt(Dt.Days,Te.Abbreviated,_e.Standalone);break;case"cccc":H=Qt(Dt.Days,Te.Wide,_e.Standalone);break;case"ccccc":H=Qt(Dt.Days,Te.Narrow,_e.Standalone);break;case"cccccc":H=Qt(Dt.Days,Te.Short,_e.Standalone);break;case"E":case"EE":case"EEE":H=Qt(Dt.Days,Te.Abbreviated);break;case"EEEE":H=Qt(Dt.Days,Te.Wide);break;case"EEEEE":H=Qt(Dt.Days,Te.Narrow);break;case"EEEEEE":H=Qt(Dt.Days,Te.Short);break;case"a":case"aa":case"aaa":H=Qt(Dt.DayPeriods,Te.Abbreviated);break;case"aaaa":H=Qt(Dt.DayPeriods,Te.Wide);break;case"aaaaa":H=Qt(Dt.DayPeriods,Te.Narrow);break;case"b":case"bb":case"bbb":H=Qt(Dt.DayPeriods,Te.Abbreviated,_e.Standalone,!0);break;case"bbbb":H=Qt(Dt.DayPeriods,Te.Wide,_e.Standalone,!0);break;case"bbbbb":H=Qt(Dt.DayPeriods,Te.Narrow,_e.Standalone,!0);break;case"B":case"BB":case"BBB":H=Qt(Dt.DayPeriods,Te.Abbreviated,_e.Format,!0);break;case"BBBB":H=Qt(Dt.DayPeriods,Te.Wide,_e.Format,!0);break;case"BBBBB":H=Qt(Dt.DayPeriods,Te.Narrow,_e.Format,!0);break;case"h":H=dn(Nt.Hours,1,-12);break;case"hh":H=dn(Nt.Hours,2,-12);break;case"H":H=dn(Nt.Hours,1);break;case"HH":H=dn(Nt.Hours,2);break;case"m":H=dn(Nt.Minutes,1);break;case"mm":H=dn(Nt.Minutes,2);break;case"s":H=dn(Nt.Seconds,1);break;case"ss":H=dn(Nt.Seconds,2);break;case"S":H=dn(Nt.FractionalSeconds,1);break;case"SS":H=dn(Nt.FractionalSeconds,2);break;case"SSS":H=dn(Nt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":H=fn(bn.Short);break;case"ZZZZZ":H=fn(bn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":H=fn(bn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":H=fn(bn.Long);break;default:return null}return fr[_]=H,H}(Rn);Zn+=wn?wn(xe,T,Wn):"''"===Rn?"'":Rn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Zn}function ln(_,H,T){const J=new Date(0);return J.setFullYear(_,H,T),J.setHours(0,0,0),J}function pn(_,H){const T=function We(_){return(0,o.cg1)(_)[o.wAp.LocaleId]}(_);if(sr[T]=sr[T]||{},sr[T][H])return sr[T][H];let J="";switch(H){case"shortDate":J=se(_,Be.Short);break;case"mediumDate":J=se(_,Be.Medium);break;case"longDate":J=se(_,Be.Long);break;case"fullDate":J=se(_,Be.Full);break;case"shortTime":J=ae(_,Be.Short);break;case"mediumTime":J=ae(_,Be.Medium);break;case"longTime":J=ae(_,Be.Long);break;case"fullTime":J=ae(_,Be.Full);break;case"short":const xe=pn(_,"shortTime"),it=pn(_,"shortDate");J=Xn(Ye(_,Be.Short),[xe,it]);break;case"medium":const yt=pn(_,"mediumTime"),Vt=pn(_,"mediumDate");J=Xn(Ye(_,Be.Medium),[yt,Vt]);break;case"long":const Wn=pn(_,"longTime"),Zn=pn(_,"longDate");J=Xn(Ye(_,Be.Long),[Wn,Zn]);break;case"full":const Rn=pn(_,"fullTime"),wn=pn(_,"fullDate");J=Xn(Ye(_,Be.Full),[Rn,wn])}return J&&(sr[T][H]=J),J}function Xn(_,H){return H&&(_=_.replace(/\{([^}]+)}/g,function(T,J){return null!=H&&J in H?H[J]:T})),_}function An(_,H,T="-",J,xe){let it="";(_<0||xe&&_<=0)&&(xe?_=1-_:(_=-_,it=T));let yt=String(_);for(;yt.length0||Vt>-T)&&(Vt+=T),_===Nt.Hours)0===Vt&&-12===T&&(Vt=12);else if(_===Nt.FractionalSeconds)return function ar(_,H){return An(_,3).substring(0,H)}(Vt,H);const Wn=qe(yt,ie.MinusSign);return An(Vt,H,Wn,J,xe)}}function Qt(_,H,T=_e.Format,J=!1){return function(xe,it){return function dr(_,H,T,J,xe,it){switch(T){case Dt.Months:return function z(_,H,T){const J=(0,o.cg1)(_),it=Zt([J[o.wAp.MonthsFormat],J[o.wAp.MonthsStandalone]],H);return Zt(it,T)}(H,xe,J)[_.getMonth()];case Dt.Days:return function ve(_,H,T){const J=(0,o.cg1)(_),it=Zt([J[o.wAp.DaysFormat],J[o.wAp.DaysStandalone]],H);return Zt(it,T)}(H,xe,J)[_.getDay()];case Dt.DayPeriods:const yt=_.getHours(),Vt=_.getMinutes();if(it){const Zn=function ut(_){const H=(0,o.cg1)(_);return Xe(H),(H[o.wAp.ExtraData][2]||[]).map(J=>"string"==typeof J?Ct(J):[Ct(J[0]),Ct(J[1])])}(H),Rn=function Lt(_,H,T){const J=(0,o.cg1)(_);Xe(J);const it=Zt([J[o.wAp.ExtraData][0],J[o.wAp.ExtraData][1]],H)||[];return Zt(it,T)||[]}(H,xe,J),wn=Zn.findIndex(rr=>{if(Array.isArray(rr)){const[Vn,or]=rr,Ur=yt>=Vn.hours&&Vt>=Vn.minutes,Vr=yt0?Math.floor(xe/60):Math.ceil(xe/60);switch(_){case bn.Short:return(xe>=0?"+":"")+An(yt,2,it)+An(Math.abs(xe%60),2,it);case bn.ShortGMT:return"GMT"+(xe>=0?"+":"")+An(yt,1,it);case bn.Long:return"GMT"+(xe>=0?"+":"")+An(yt,2,it)+":"+An(Math.abs(xe%60),2,it);case bn.Extended:return 0===J?"Z":(xe>=0?"+":"")+An(yt,2,it)+":"+An(Math.abs(xe%60),2,it);default:throw new Error(`Unknown zone width "${_}"`)}}}const Hn=0,Kn=4;function vr(_){return ln(_.getFullYear(),_.getMonth(),_.getDate()+(Kn-_.getDay()))}function jn(_,H=!1){return function(T,J){let xe;if(H){const it=new Date(T.getFullYear(),T.getMonth(),1).getDay()-1,yt=T.getDate();xe=1+Math.floor((yt+it)/7)}else{const it=vr(T),yt=function cr(_){const H=ln(_,Hn,1).getDay();return ln(_,0,1+(H<=Kn?Kn:Kn+7)-H)}(it.getFullYear()),Vt=it.getTime()-yt.getTime();xe=1+Math.round(Vt/6048e5)}return An(xe,_,qe(J,ie.MinusSign))}}function yr(_,H=!1){return function(T,J){return An(vr(T).getFullYear(),_,qe(J,ie.MinusSign),H)}}const fr={};function Fn(_,H){_=_.replace(/:/g,"");const T=Date.parse("Jan 01, 1970 00:00:00 "+_)/6e4;return isNaN(T)?H:T}function Ze(_){return _ instanceof Date&&!isNaN(_.valueOf())}const $e=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Ee=22,Ke=".",ot="0",wt=";",Jt=",",Dn="#";function Nn(_){const H=parseInt(_);if(isNaN(H))throw new Error("Invalid integer literal when parsing "+_);return H}function Un(_,H){H=encodeURIComponent(H);for(const T of _.split(";")){const J=T.indexOf("="),[xe,it]=-1==J?[T,""]:[T.slice(0,J),T.slice(J+1)];if(xe.trim()===H)return decodeURIComponent(it)}return null}const kn=/\s+/,Et=[];let Mt=(()=>{class _{constructor(T,J,xe,it){this._iterableDiffers=T,this._keyValueDiffers=J,this._ngEl=xe,this._renderer=it,this.initialClasses=Et,this.stateMap=new Map}set klass(T){this.initialClasses=null!=T?T.trim().split(kn):Et}set ngClass(T){this.rawClass="string"==typeof T?T.trim().split(kn):T}ngDoCheck(){for(const J of this.initialClasses)this._updateState(J,!0);const T=this.rawClass;if(Array.isArray(T)||T instanceof Set)for(const J of T)this._updateState(J,!0);else if(null!=T)for(const J of Object.keys(T))this._updateState(J,Boolean(T[J]));this._applyStateDiff()}_updateState(T,J){const xe=this.stateMap.get(T);void 0!==xe?(xe.enabled!==J&&(xe.changed=!0,xe.enabled=J),xe.touched=!0):this.stateMap.set(T,{enabled:J,changed:!0,touched:!0})}_applyStateDiff(){for(const T of this.stateMap){const J=T[0],xe=T[1];xe.changed?(this._toggleClass(J,xe.enabled),xe.changed=!1):xe.touched||(xe.enabled&&this._toggleClass(J,!1),this.stateMap.delete(J)),xe.touched=!1}}_toggleClass(T,J){(T=T.trim()).length>0&&T.split(kn).forEach(xe=>{J?this._renderer.addClass(this._ngEl.nativeElement,xe):this._renderer.removeClass(this._ngEl.nativeElement,xe)})}}return _.\u0275fac=function(T){return new(T||_)(o.Y36(o.ZZ4),o.Y36(o.aQg),o.Y36(o.SBq),o.Y36(o.Qsj))},_.\u0275dir=o.lG2({type:_,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),_})();class I{constructor(H,T,J,xe){this.$implicit=H,this.ngForOf=T,this.index=J,this.count=xe}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let A=(()=>{class _{set ngForOf(T){this._ngForOf=T,this._ngForOfDirty=!0}set ngForTrackBy(T){this._trackByFn=T}get ngForTrackBy(){return this._trackByFn}constructor(T,J,xe){this._viewContainer=T,this._template=J,this._differs=xe,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(T){T&&(this._template=T)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const T=this._ngForOf;!this._differ&&T&&(this._differ=this._differs.find(T).create(this.ngForTrackBy))}if(this._differ){const T=this._differ.diff(this._ngForOf);T&&this._applyChanges(T)}}_applyChanges(T){const J=this._viewContainer;T.forEachOperation((xe,it,yt)=>{if(null==xe.previousIndex)J.createEmbeddedView(this._template,new I(xe.item,this._ngForOf,-1,-1),null===yt?void 0:yt);else if(null==yt)J.remove(null===it?void 0:it);else if(null!==it){const Vt=J.get(it);J.move(Vt,yt),G(Vt,xe)}});for(let xe=0,it=J.length;xe{G(J.get(xe.currentIndex),xe)})}static ngTemplateContextGuard(T,J){return!0}}return _.\u0275fac=function(T){return new(T||_)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(o.ZZ4))},_.\u0275dir=o.lG2({type:_,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),_})();function G(_,H){_.context.$implicit=H.item}let Ie=(()=>{class _{constructor(T,J){this._viewContainer=T,this._context=new Ne,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=J}set ngIf(T){this._context.$implicit=this._context.ngIf=T,this._updateView()}set ngIfThen(T){tt("ngIfThen",T),this._thenTemplateRef=T,this._thenViewRef=null,this._updateView()}set ngIfElse(T){tt("ngIfElse",T),this._elseTemplateRef=T,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(T,J){return!0}}return _.\u0275fac=function(T){return new(T||_)(o.Y36(o.s_b),o.Y36(o.Rgc))},_.\u0275dir=o.lG2({type:_,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),_})();class Ne{constructor(){this.$implicit=null,this.ngIf=null}}function tt(_,H){if(H&&!H.createEmbeddedView)throw new Error(`${_} must be a TemplateRef, but received '${(0,o.AaK)(H)}'.`)}class lt{constructor(H,T){this._viewContainerRef=H,this._templateRef=T,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(H){H&&!this._created?this.create():!H&&this._created&&this.destroy()}}let bt=(()=>{class _{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(T){this._ngSwitch=T,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(T){this._defaultViews.push(T)}_matchCase(T){const J=T==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||J,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),J}_updateDefaultCases(T){if(this._defaultViews.length>0&&T!==this._defaultUsed){this._defaultUsed=T;for(const J of this._defaultViews)J.enforceState(T)}}}return _.\u0275fac=function(T){return new(T||_)},_.\u0275dir=o.lG2({type:_,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),_})(),S=(()=>{class _{constructor(T,J,xe){this.ngSwitch=xe,xe._addCase(),this._view=new lt(T,J)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return _.\u0275fac=function(T){return new(T||_)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(bt,9))},_.\u0275dir=o.lG2({type:_,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),_})(),$=(()=>{class _{constructor(T,J,xe){xe._addDefault(new lt(T,J))}}return _.\u0275fac=function(T){return new(T||_)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(bt,9))},_.\u0275dir=o.lG2({type:_,selectors:[["","ngSwitchDefault",""]],standalone:!0}),_})(),Fe=(()=>{class _{constructor(T,J,xe){this._ngEl=T,this._differs=J,this._renderer=xe,this._ngStyle=null,this._differ=null}set ngStyle(T){this._ngStyle=T,!this._differ&&T&&(this._differ=this._differs.find(T).create())}ngDoCheck(){if(this._differ){const T=this._differ.diff(this._ngStyle);T&&this._applyChanges(T)}}_setStyle(T,J){const[xe,it]=T.split("."),yt=-1===xe.indexOf("-")?void 0:o.JOm.DashCase;null!=J?this._renderer.setStyle(this._ngEl.nativeElement,xe,it?`${J}${it}`:J,yt):this._renderer.removeStyle(this._ngEl.nativeElement,xe,yt)}_applyChanges(T){T.forEachRemovedItem(J=>this._setStyle(J.key,null)),T.forEachAddedItem(J=>this._setStyle(J.key,J.currentValue)),T.forEachChangedItem(J=>this._setStyle(J.key,J.currentValue))}}return _.\u0275fac=function(T){return new(T||_)(o.Y36(o.SBq),o.Y36(o.aQg),o.Y36(o.Qsj))},_.\u0275dir=o.lG2({type:_,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),_})(),Oe=(()=>{class _{constructor(T){this._viewContainerRef=T,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(T){if(T.ngTemplateOutlet||T.ngTemplateOutletInjector){const J=this._viewContainerRef;if(this._viewRef&&J.remove(J.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:xe,ngTemplateOutletContext:it,ngTemplateOutletInjector:yt}=this;this._viewRef=J.createEmbeddedView(xe,it,yt?{injector:yt}:void 0)}else this._viewRef=null}else this._viewRef&&T.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return _.\u0275fac=function(T){return new(T||_)(o.Y36(o.s_b))},_.\u0275dir=o.lG2({type:_,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.TTD]}),_})();function vt(_,H){return new o.vHH(2100,!1)}class ft{createSubscription(H,T){return H.subscribe({next:T,error:J=>{throw J}})}dispose(H){H.unsubscribe()}}class mt{createSubscription(H,T){return H.then(T,J=>{throw J})}dispose(H){}}const Rt=new mt,Ft=new ft;let on=(()=>{class _{constructor(T){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=T}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(T){return this._obj?T!==this._obj?(this._dispose(),this.transform(T)):this._latestValue:(T&&this._subscribe(T),this._latestValue)}_subscribe(T){this._obj=T,this._strategy=this._selectStrategy(T),this._subscription=this._strategy.createSubscription(T,J=>this._updateLatestValue(T,J))}_selectStrategy(T){if((0,o.QGY)(T))return Rt;if((0,o.F4k)(T))return Ft;throw vt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(T,J){T===this._obj&&(this._latestValue=J,this._ref.markForCheck())}}return _.\u0275fac=function(T){return new(T||_)(o.Y36(o.sBO,16))},_.\u0275pipe=o.Yjl({name:"async",type:_,pure:!1,standalone:!0}),_})();const Ue=new o.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),nn=new o.OlP("DATE_PIPE_DEFAULT_OPTIONS");let qt=(()=>{class _{constructor(T,J,xe){this.locale=T,this.defaultTimezone=J,this.defaultOptions=xe}transform(T,J,xe,it){if(null==T||""===T||T!=T)return null;try{return Qn(T,J??this.defaultOptions?.dateFormat??"mediumDate",it||this.locale,xe??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(yt){throw vt()}}}return _.\u0275fac=function(T){return new(T||_)(o.Y36(o.soG,16),o.Y36(Ue,24),o.Y36(nn,24))},_.\u0275pipe=o.Yjl({name:"date",type:_,pure:!0,standalone:!0}),_})(),zo=(()=>{class _{constructor(T){this._locale=T}transform(T,J,xe){if(!function Lo(_){return!(null==_||""===_||_!=_)}(T))return null;xe=xe||this._locale;try{return function _r(_,H,T){return function qn(_,H,T,J,xe,it,yt=!1){let Vt="",Wn=!1;if(isFinite(_)){let Zn=function rn(_){let J,xe,it,yt,Vt,H=Math.abs(_)+"",T=0;for((xe=H.indexOf(Ke))>-1&&(H=H.replace(Ke,"")),(it=H.search(/e/i))>0?(xe<0&&(xe=it),xe+=+H.slice(it+1),H=H.substring(0,it)):xe<0&&(xe=H.length),it=0;H.charAt(it)===ot;it++);if(it===(Vt=H.length))J=[0],xe=1;else{for(Vt--;H.charAt(Vt)===ot;)Vt--;for(xe-=it,J=[],yt=0;it<=Vt;it++,yt++)J[yt]=Number(H.charAt(it))}return xe>Ee&&(J=J.splice(0,Ee-1),T=xe-1,xe=1),{digits:J,exponent:T,integerLen:xe}}(_);yt&&(Zn=function Ln(_){if(0===_.digits[0])return _;const H=_.digits.length-_.integerLen;return _.exponent?_.exponent+=2:(0===H?_.digits.push(0,0):1===H&&_.digits.push(0),_.integerLen+=2),_}(Zn));let Rn=H.minInt,wn=H.minFrac,rr=H.maxFrac;if(it){const Wr=it.match($e);if(null===Wr)throw new Error(`${it} is not a valid digit info`);const Jr=Wr[1],Po=Wr[3],so=Wr[5];null!=Jr&&(Rn=Nn(Jr)),null!=Po&&(wn=Nn(Po)),null!=so?rr=Nn(so):null!=Po&&wn>rr&&(rr=wn)}!function Gn(_,H,T){if(H>T)throw new Error(`The minimum number of digits after fraction (${H}) is higher than the maximum (${T}).`);let J=_.digits,xe=J.length-_.integerLen;const it=Math.min(Math.max(H,xe),T);let yt=it+_.integerLen,Vt=J[yt];if(yt>0){J.splice(Math.max(_.integerLen,yt));for(let wn=yt;wn=5)if(yt-1<0){for(let wn=0;wn>yt;wn--)J.unshift(0),_.integerLen++;J.unshift(1),_.integerLen++}else J[yt-1]++;for(;xe=Zn?or.pop():Wn=!1),rr>=10?1:0},0);Rn&&(J.unshift(Rn),_.integerLen++)}(Zn,wn,rr);let Vn=Zn.digits,or=Zn.integerLen;const Ur=Zn.exponent;let Vr=[];for(Wn=Vn.every(Wr=>!Wr);or0?Vr=Vn.splice(or,Vn.length):(Vr=Vn,Vn=[0]);const bo=[];for(Vn.length>=H.lgSize&&bo.unshift(Vn.splice(-H.lgSize,Vn.length).join(""));Vn.length>H.gSize;)bo.unshift(Vn.splice(-H.gSize,Vn.length).join(""));Vn.length&&bo.unshift(Vn.join("")),Vt=bo.join(qe(T,J)),Vr.length&&(Vt+=qe(T,xe)+Vr.join("")),Ur&&(Vt+=qe(T,ie.Exponential)+"+"+Ur)}else Vt=qe(T,ie.Infinity);return Vt=_<0&&!Wn?H.negPre+Vt+H.negSuf:H.posPre+Vt+H.posSuf,Vt}(_,function pr(_,H="-"){const T={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},J=_.split(wt),xe=J[0],it=J[1],yt=-1!==xe.indexOf(Ke)?xe.split(Ke):[xe.substring(0,xe.lastIndexOf(ot)+1),xe.substring(xe.lastIndexOf(ot)+1)],Vt=yt[0],Wn=yt[1]||"";T.posPre=Vt.substring(0,Vt.indexOf(Dn));for(let Rn=0;Rn{class _{}return _.\u0275fac=function(T){return new(T||_)},_.\u0275mod=o.oAB({type:_}),_.\u0275inj=o.cJS({}),_})();const Oi="browser",Mo="server";function No(_){return _===Oi}function Rr(_){return _===Mo}let So=(()=>{class _{}return _.\u0275prov=(0,o.Yz7)({token:_,providedIn:"root",factory:()=>new Hi((0,o.LFG)(P),window)}),_})();class Hi{constructor(H,T){this.document=H,this.window=T,this.offset=()=>[0,0]}setOffset(H){this.offset=Array.isArray(H)?()=>H:H}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(H){this.supportsScrolling()&&this.window.scrollTo(H[0],H[1])}scrollToAnchor(H){if(!this.supportsScrolling())return;const T=function Yo(_,H){const T=_.getElementById(H)||_.getElementsByName(H)[0];if(T)return T;if("function"==typeof _.createTreeWalker&&_.body&&(_.body.createShadowRoot||_.body.attachShadow)){const J=_.createTreeWalker(_.body,NodeFilter.SHOW_ELEMENT);let xe=J.currentNode;for(;xe;){const it=xe.shadowRoot;if(it){const yt=it.getElementById(H)||it.querySelector(`[name="${H}"]`);if(yt)return yt}xe=J.nextNode()}}return null}(this.document,H);T&&(this.scrollToElement(T),T.focus())}setHistoryScrollRestoration(H){if(this.supportScrollRestoration()){const T=this.window.history;T&&T.scrollRestoration&&(T.scrollRestoration=H)}}scrollToElement(H){const T=H.getBoundingClientRect(),J=T.left+this.window.pageXOffset,xe=T.top+this.window.pageYOffset,it=this.offset();this.window.scrollTo(J-it[0],xe-it[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const H=ui(this.window.history)||ui(Object.getPrototypeOf(this.window.history));return!(!H||!H.writable&&!H.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function ui(_){return Object.getOwnPropertyDescriptor(_,"scrollRestoration")}class Qr{}},4650:(pt,Re,g)=>{"use strict";g.d(Re,{$8M:()=>Qi,$WT:()=>En,$Z:()=>jf,AFp:()=>Hg,ALo:()=>lg,AaK:()=>Y,AsE:()=>Uu,B6R:()=>Pn,BQk:()=>Gl,CHM:()=>Wo,CRH:()=>_g,CZH:()=>oc,CqO:()=>Ch,D6c:()=>kC,DdM:()=>Qp,EJc:()=>Xb,EpF:()=>_h,F$t:()=>Sh,F4k:()=>bh,FYo:()=>Df,FiY:()=>Es,G48:()=>_C,Gf:()=>vg,GfV:()=>Ef,GkF:()=>Tu,Gpc:()=>Z,Hsn:()=>Th,JOm:()=>ni,KtG:()=>is,LFG:()=>fn,LMc:()=>$C,Lbi:()=>Kb,Lck:()=>q0,MAs:()=>yh,MMx:()=>Ku,MR2:()=>nv,NdJ:()=>xu,O4$:()=>ds,OlP:()=>ir,Oqu:()=>$u,P3R:()=>uf,PXZ:()=>hC,Q6J:()=>Iu,QGY:()=>Au,Qsj:()=>vv,R0b:()=>jo,RDi:()=>Rm,Rgc:()=>Xa,SBq:()=>Ba,Sil:()=>eC,Suo:()=>yg,TTD:()=>ko,TgZ:()=>jl,Udp:()=>Nu,VKq:()=>eg,W1O:()=>Eg,WLB:()=>tg,X6Q:()=>yC,XFs:()=>Ct,Xpm:()=>Dn,Xts:()=>Wc,Y36:()=>ea,YKP:()=>zp,YNc:()=>vh,Yjl:()=>Ln,Yz7:()=>qe,Z0I:()=>Wt,ZZ4:()=>Cd,_Bn:()=>jp,_UZ:()=>Su,_Vd:()=>ka,_c5:()=>LC,_uU:()=>qh,aQg:()=>Dd,c2e:()=>qb,cJS:()=>dt,cg1:()=>Vu,dDg:()=>cC,dqk:()=>_n,eFA:()=>tm,eJc:()=>id,ekj:()=>ku,eoX:()=>Jg,f3M:()=>Kn,g9A:()=>zg,h0i:()=>pa,hGG:()=>NC,hij:()=>Kl,iGM:()=>mg,ifc:()=>Cn,ip1:()=>Vg,jDz:()=>Gp,kEZ:()=>ng,kL8:()=>gp,kcU:()=>fs,lG2:()=>pr,lcZ:()=>cg,lqb:()=>Os,lri:()=>Kg,n5z:()=>bi,oAB:()=>Sn,oxw:()=>Mh,qFp:()=>UC,qLn:()=>$a,qOj:()=>bu,qZA:()=>zl,rWj:()=>qg,s9C:()=>Ou,sBO:()=>bC,s_b:()=>tc,soG:()=>ic,tBr:()=>Ws,tb:()=>Qg,tp0:()=>ws,uIk:()=>Eu,vHH:()=>W,vpe:()=>Si,wAp:()=>an,xi3:()=>ug,xp6:()=>xf,ynx:()=>Yl,z2F:()=>sc,zSh:()=>Jc,zWS:()=>wu,zs3:()=>Ps});var o=g(7579),r=g(727),B=g(9751),V=g(6451),te=g(3099);function P(e){for(let t in e)if(e[t]===P)return t;throw Error("Could not find renamed property on target object.")}function R(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Y(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Y).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ne(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const he=P({__forward_ref__:P});function Z(e){return e.__forward_ref__=Z,e.toString=function(){return Y(this())},e}function oe(e){return ye(e)?e():e}function ye(e){return"function"==typeof e&&e.hasOwnProperty(he)&&e.__forward_ref__===Z}function de(e){return e&&!!e.\u0275providers}const ce="https://g.co/ng/security#xss";class W extends Error{constructor(t,n){super(pe(t,n)),this.code=t}}function pe(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}function be(e){return"string"==typeof e?e:null==e?"":String(e)}function we(e,t){throw new W(-201,!1)}function N(e,t){null==e&&function k(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function qe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function dt(e){return{providers:e.providers||[],imports:e.imports||[]}}function At(e){return at(e,ut)||at(e,Yt)}function Wt(e){return null!==At(e)}function at(e,t){return e.hasOwnProperty(t)?e[t]:null}function Xe(e){return e&&(e.hasOwnProperty(Lt)||e.hasOwnProperty(Zt))?e[Lt]:null}const ut=P({\u0275prov:P}),Lt=P({\u0275inj:P}),Yt=P({ngInjectableDef:P}),Zt=P({ngInjectorDef:P});var Ct=(()=>((Ct=Ct||{})[Ct.Default=0]="Default",Ct[Ct.Host=1]="Host",Ct[Ct.Self=2]="Self",Ct[Ct.SkipSelf=4]="SkipSelf",Ct[Ct.Optional=8]="Optional",Ct))();let en;function Mn(e){const t=en;return en=e,t}function On(e,t,n){const i=At(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Ct.Optional?null:void 0!==t?t:void we(Y(e))}const _n=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Qn={},ln="__NG_DI_FLAG__",pn="ngTempTokenPath",Xn="ngTokenPath",An=/\n/gm,ar="\u0275",dn="__source";let lr;function Qt(e){const t=lr;return lr=e,t}function dr(e,t=Ct.Default){if(void 0===lr)throw new W(-203,!1);return null===lr?On(e,void 0,t):lr.get(e,t&Ct.Optional?null:void 0,t)}function fn(e,t=Ct.Default){return(function Xt(){return en}()||dr)(oe(e),t)}function Kn(e,t=Ct.Default){return fn(e,cr(t))}function cr(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function vr(e){const t=[];for(let n=0;n((gn=gn||{})[gn.OnPush=0]="OnPush",gn[gn.Default=1]="Default",gn))(),Cn=(()=>{return(e=Cn||(Cn={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Cn;var e})();const mn={},tn=[],Ze=P({\u0275cmp:P}),$e=P({\u0275dir:P}),Ee=P({\u0275pipe:P}),Ke=P({\u0275mod:P}),ot=P({\u0275fac:P}),wt=P({__NG_ELEMENT_ID__:P});let Jt=0;function Dn(e){return Fn(()=>{const t=gr(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===gn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||Cn.Emulated,id:"c"+Jt++,styles:e.styles||tn,_:null,schemas:e.schemas||null,tView:null};vn(n);const i=e.dependencies;return n.directiveDefs=Un(i,!1),n.pipeDefs=Un(i,!0),n})}function Pn(e,t,n){const i=e.\u0275cmp;i.directiveDefs=Un(t,!1),i.pipeDefs=Un(n,!0)}function hr(e){return rn(e)||Gn(e)}function qn(e){return null!==e}function Sn(e){return Fn(()=>({type:e.type,bootstrap:e.bootstrap||tn,declarations:e.declarations||tn,imports:e.imports||tn,exports:e.exports||tn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function _r(e,t){if(null==e)return mn;const n={};for(const i in e)if(e.hasOwnProperty(i)){let s=e[i],a=s;Array.isArray(s)&&(a=s[1],s=s[0]),n[s]=i,t&&(t[s]=a)}return n}function pr(e){return Fn(()=>{const t=gr(e);return vn(t),t})}function Ln(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function rn(e){return e[Ze]||null}function Gn(e){return e[$e]||null}function Nn(e){return e[Ee]||null}function En(e){const t=rn(e)||Gn(e)||Nn(e);return null!==t&&t.standalone}function Bn(e,t){const n=e[Ke]||null;if(!n&&!0===t)throw new Error(`Type ${Y(e)} does not have '\u0275mod' property.`);return n}function gr(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,exportAs:e.exportAs||null,standalone:!0===e.standalone,selectors:e.selectors||tn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:_r(e.inputs,t),outputs:_r(e.outputs)}}function vn(e){e.features?.forEach(t=>t(e))}function Un(e,t){if(!e)return null;const n=t?Nn:hr;return()=>("function"==typeof e?e():e).map(i=>n(i)).filter(qn)}const kn=0,Et=1,Mt=2,xn=3,ge=4,w=5,I=6,A=7,G=8,me=9,Ie=10,Ne=11,tt=12,lt=13,bt=14,S=15,$=16,fe=17,Ae=18,ze=19,Fe=20,Oe=21,et=22,ft=1,mt=2,Rt=7,Ft=8,on=9,hn=10;function K(e){return Array.isArray(e)&&"object"==typeof e[ft]}function D(e){return Array.isArray(e)&&!0===e[ft]}function ue(e){return 0!=(4&e.flags)}function Ue(e){return e.componentOffset>-1}function nn(e){return 1==(1&e.flags)}function qt(e){return!!e.template}function br(e){return 0!=(256&e[Mt])}function ur(e,t){return e.hasOwnProperty(ot)?e[ot]:null}class ci{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function ko(){return So}function So(e){return e.type.prototype.ngOnChanges&&(e.setInput=ui),Hi}function Hi(){const e=Pi(this),t=e?.current;if(t){const n=e.previous;if(n===mn)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function ui(e,t,n,i){const s=this.declaredInputs[n],a=Pi(e)||function Qr(e,t){return e[Yo]=t}(e,{previous:mn,current:null}),u=a.current||(a.current={}),v=a.previous,E=v[s];u[s]=new ci(E&&E.currentValue,t,v===mn),e[i]=t}ko.ngInherit=!0;const Yo="__ngSimpleChanges__";function Pi(e){return e[Yo]||null}const yn=function(e,t,n){},To="svg";function mr(e){for(;Array.isArray(e);)e=e[kn];return e}function Bo(e,t){return mr(t[e])}function Mr(e,t){return mr(t[e.index])}function ho(e,t){return e.data[t]}function po(e,t){return e[t]}function Nr(e,t){const n=t[e];return K(n)?n:n[kn]}function kr(e){return 64==(64&e[Mt])}function go(e,t){return null==t?null:e[t]}function Ao(e){e[Ae]=0}function to(e,t){e[w]+=t;let n=e,i=e[xn];for(;null!==i&&(1===t&&1===n[w]||-1===t&&0===n[w]);)i[w]+=t,n=i,i=i[xn]}const sn={lFrame:ls(null),bindingsEnabled:!0};function rt(){return sn.bindingsEnabled}function ct(){return sn.lFrame.lView}function un(){return sn.lFrame.tView}function Wo(e){return sn.lFrame.contextLView=e,e[G]}function is(e){return sn.lFrame.contextLView=null,e}function Fr(){let e=$n();for(;null!==e&&64===e.type;)e=e.parent;return e}function $n(){return sn.lFrame.currentTNode}function no(e,t){const n=sn.lFrame;n.currentTNode=e,n.isParent=t}function ji(){return sn.lFrame.isParent}function $o(){sn.lFrame.isParent=!1}function Sr(){const e=sn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function vo(){return sn.lFrame.bindingIndex++}function yo(e){const t=sn.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function pi(e,t){const n=sn.lFrame;n.bindingIndex=n.bindingRootIndex=e,gi(t)}function gi(e){sn.lFrame.currentDirectiveIndex=e}function Ko(){return sn.lFrame.currentQueryIndex}function _o(e){sn.lFrame.currentQueryIndex=e}function ss(e){const t=e[Et];return 2===t.type?t.declTNode:1===t.type?e[I]:null}function qo(e,t,n){if(n&Ct.SkipSelf){let s=t,a=e;for(;!(s=s.parent,null!==s||n&Ct.Host||(s=ss(a),null===s||(a=a[S],10&s.type))););if(null===s)return!1;t=s,e=a}const i=sn.lFrame=as();return i.currentTNode=t,i.lView=e,!0}function Fi(e){const t=as(),n=e[Et];sn.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function as(){const e=sn.lFrame,t=null===e?null:e.child;return null===t?ls(e):t}function ls(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function cs(){const e=sn.lFrame;return sn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Wi=cs;function mi(){const e=cs();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Br(){return sn.lFrame.selectedIndex}function Oo(e){sn.lFrame.selectedIndex=e}function nr(){const e=sn.lFrame;return ho(e.tView,e.selectedIndex)}function ds(){sn.lFrame.currentNamespace=To}function fs(){!function hs(){sn.lFrame.currentNamespace=null}()}function vi(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[E]<0&&(e[Ae]+=65536),(v>11>16&&(3&e[Mt])===t){e[Mt]+=2048,yn(4,v,a);try{a.call(v)}finally{yn(5,v,a)}}}else{yn(4,v,a);try{a.call(v)}finally{yn(5,v,a)}}}const J=-1;class xe{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Vn(e,t,n){let i=0;for(;it){u=a-1;break}}}for(;a>16}(e),i=t;for(;n>0;)i=i[S],n--;return i}let gs=!0;function Jo(e){const t=gs;return gs=e,t}const Us=255,qi=5;let va=0;const Co={};function Ji(e,t){const n=Vs(e,t);if(-1!==n)return n;const i=t[Et];i.firstCreatePass&&(e.injectorIndex=t.length,Hr(i.data,e),Hr(t,null),Hr(i.blueprint,null));const s=_i(e,t),a=e.injectorIndex;if(Wr(s)){const u=Jr(s),v=so(s,t),E=v[Et].data;for(let U=0;U<8;U++)t[a+U]=v[u+U]|E[u+U]}return t[a+8]=s,a}function Hr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Vs(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function _i(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,s=t;for(;null!==s;){if(i=Da(s),null===i)return J;if(n++,s=s[S],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return J}function ms(e,t,n){!function ya(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(wt)&&(i=n[wt]),null==i&&(i=n[wt]=va++);const s=i&Us;t.data[e+(s>>qi)]|=1<=0?t&Us:Do:t}(n);if("function"==typeof a){if(!qo(t,e,i))return i&Ct.Host?vs(s,0,i):js(t,n,i,s);try{const u=a(i);if(null!=u||i&Ct.Optional)return u;we()}finally{Wi()}}else if("number"==typeof a){let u=null,v=Vs(e,t),E=J,U=i&Ct.Host?t[$][I]:null;for((-1===v||i&Ct.SkipSelf)&&(E=-1===v?_i(e,t):t[v+8],E!==J&&Ca(i,!1)?(u=t[Et],v=Jr(E),t=so(E,t)):v=-1);-1!==v;){const Q=t[Et];if(Xo(a,v,Q.data)){const Se=ys(v,t,n,u,i,U);if(Se!==Co)return Se}E=t[v+8],E!==J&&Ca(i,t[Et].data[v+8]===U)&&Xo(a,v,t)?(u=Q,v=Jr(E),t=so(E,t)):v=-1}}return s}function ys(e,t,n,i,s,a){const u=t[Et],v=u.data[e+8],Q=Li(v,u,n,null==i?Ue(v)&&gs:i!=u&&0!=(3&v.type),s&Ct.Host&&a===v);return null!==Q?Tr(t,u,Q,v):Co}function Li(e,t,n,i,s){const a=e.providerIndexes,u=t.data,v=1048575&a,E=e.directiveStart,Q=a>>20,je=s?v+Q:e.directiveEnd;for(let Qe=i?v:v+Q;Qe=E&&_t.type===n)return Qe}if(s){const Qe=u[E];if(Qe&&qt(Qe)&&Qe.type===n)return E}return null}function Tr(e,t,n,i){let s=e[n];const a=t.data;if(function it(e){return e instanceof xe}(s)){const u=s;u.resolving&&function Me(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new W(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Ve(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():be(e)}(a[n]));const v=Jo(u.canSeeViewProviders);u.resolving=!0;const E=u.injectImpl?Mn(u.injectImpl):null;qo(e,i,Ct.Default);try{s=e[n]=u.factory(void 0,a,e,i),t.firstCreatePass&&n>=i.directiveStart&&function ps(e,t,n){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:a}=t.type.prototype;if(i){const u=So(t);(n.preOrderHooks??(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,u)}s&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-e,s),a&&((n.preOrderHooks??(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{null!==E&&Mn(E),Jo(v),u.resolving=!1,Wi()}}return s}function Xo(e,t,n){return!!(n[t+(e>>qi)]&1<{const t=e.prototype.constructor,n=t[ot]||Xi(t),i=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==i;){const a=s[ot]||Xi(s);if(a&&a!==n)return a;s=Object.getPrototypeOf(s)}return a=>new a})}function Xi(e){return ye(e)?()=>{const t=Xi(oe(e));return t&&t()}:ur(e)}function Da(e){const t=e[Et],n=t.type;return 2===n?t.declTNode:1===n?e[I]:null}function Qi(e){return function Hs(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let s=0;for(;s{const i=function _s(e){return function(...n){if(e){const i=e(...n);for(const s in i)this[s]=i[s]}}}(t);function s(...a){if(this instanceof s)return i.apply(this,a),this;const u=new s(...a);return v.annotation=u,v;function v(E,U,Q){const Se=E.hasOwnProperty(Vo)?E[Vo]:Object.defineProperty(E,Vo,{value:[]})[Vo];for(;Se.length<=Q;)Se.push(null);return(Se[Q]=Se[Q]||[]).push(u),E}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}class ir{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=qe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function f(e,t){e.forEach(n=>Array.isArray(n)?f(n,t):t(n))}function m(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function c(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function b(e,t){const n=[];for(let i=0;i=0?e[1|i]=n:(i=~i,function le(e,t,n,i){let s=e.length;if(s==t)e.push(n,i);else if(1===s)e.push(i,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function kt(e,t){const n=Bt(e,t);if(n>=0)return e[1|n]}function Bt(e,t){return function xr(e,t,n){let i=0,s=e.length>>n;for(;s!==i;){const a=i+(s-i>>1),u=e[a<t?s=a:i=a+1}return~(s<({token:e})),-1),Es=jn(ei("Optional"),8),ws=jn(ei("SkipSelf"),4);var ni=(()=>((ni=ni||{})[ni.Important=1]="Important",ni[ni.DashCase=2]="DashCase",ni))();const Aa=new Map;let bl=0;const Oa="__ngContext__";function Zr(e,t){K(t)?(e[Oa]=t[Fe],function Sc(e){Aa.set(e[Fe],e)}(t)):e[Oa]=t}let De;function He(e,t){return De(e,t)}function nt(e){const t=e[xn];return D(t)?t[xn]:t}function St(e){return Ht(e[lt])}function Tt(e){return Ht(e[ge])}function Ht(e){for(;null!==e&&!D(e);)e=e[ge];return e}function zt(e,t,n,i,s){if(null!=i){let a,u=!1;D(i)?a=i:K(i)&&(u=!0,i=i[kn]);const v=mr(i);0===e&&null!==n?null==s?$d(t,n,v):As(t,n,v,s||null,!0):1===e&&null!==n?As(t,n,v,s||null,!0):2===e?function Bc(e,t,n){const i=Il(e,t);i&&function wm(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,v,u):3===e&&t.destroyNode(v),null!=a&&function Sm(e,t,n,i,s){const a=n[Rt];a!==mr(n)&&zt(t,e,i,a,s);for(let v=hn;v0&&(e[n-1][ge]=i[ge]);const a=c(e,hn+t);!function Pc(e,t){Ra(e,t,t[Ne],2,null,null),t[kn]=null,t[I]=null}(i[Et],i);const u=a[ze];null!==u&&u.detachView(a[Et]),i[xn]=null,i[ge]=null,i[Mt]&=-65}return i}function Nd(e,t){if(!(128&t[Mt])){const n=t[Ne];n.destroyNode&&Ra(e,t,n,3,null,null),function _m(e){let t=e[lt];if(!t)return Lc(e[Et],e);for(;t;){let n=null;if(K(t))n=t[lt];else{const i=t[hn];i&&(n=i)}if(!n){for(;t&&!t[ge]&&t!==e;)K(t)&&Lc(t[Et],t),t=t[xn];null===t&&(t=e),K(t)&&Lc(t[Et],t),n=t&&t[ge]}t=n}}(t)}}function Lc(e,t){if(!(128&t[Mt])){t[Mt]&=-65,t[Mt]|=128,function Em(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i=0?i[s=u]():i[s=-u].unsubscribe(),a+=2}else{const u=i[s=n[a+1]];n[a].call(u)}if(null!==i){for(let a=s+1;a-1){const{encapsulation:a}=e.data[i.directiveStart+s];if(a===Cn.None||a===Cn.Emulated)return null}return Mr(i,n)}}(e,t.parent,n)}function As(e,t,n,i,s){e.insertBefore(t,n,i,s)}function $d(e,t,n){e.appendChild(t,n)}function Ud(e,t,n,i,s){null!==i?As(e,t,n,i,s):$d(e,t,n)}function Il(e,t){return e.parentNode(t)}function Vd(e,t,n){return jd(e,t,n)}let Nc,Vc,Al,jd=function Hd(e,t,n){return 40&e.type?Mr(e,n):null};function Ml(e,t,n,i){const s=kd(e,i,t),a=t[Ne],v=Vd(i.parent||t[I],i,t);if(null!=s)if(Array.isArray(n))for(let E=0;Ee,createScript:e=>e,createScriptURL:e=>e})}catch{}return Al}()?.createScriptURL(e)||e}class Qd{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ce})`}}function ns(e){return e instanceof Qd?e.changingThisBreaksApplicationSecurity:e}function Fa(e,t){const n=function $m(e){return e instanceof Qd&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ce})`)}return n===t}const jm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var jr=(()=>((jr=jr||{})[jr.NONE=0]="NONE",jr[jr.HTML=1]="HTML",jr[jr.STYLE=2]="STYLE",jr[jr.SCRIPT=3]="SCRIPT",jr[jr.URL=4]="URL",jr[jr.RESOURCE_URL=5]="RESOURCE_URL",jr))();function lf(e){const t=Na();return t?t.sanitize(jr.URL,e)||"":Fa(e,"URL")?ns(e):function jc(e){return(e=String(e)).match(jm)?e:"unsafe:"+e}(be(e))}function cf(e){const t=Na();if(t)return Xd(t.sanitize(jr.RESOURCE_URL,e)||"");if(Fa(e,"ResourceURL"))return Xd(ns(e));throw new W(904,!1)}function uf(e,t,n){return function tv(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?cf:lf}(t,n)(e)}function Na(){const e=ct();return e&&e[tt]}const Wc=new ir("ENVIRONMENT_INITIALIZER"),df=new ir("INJECTOR",-1),ff=new ir("INJECTOR_DEF_TYPES");class hf{get(t,n=Qn){if(n===Qn){const i=new Error(`NullInjectorError: No provider for ${Y(t)}!`);throw i.name="NullInjectorError",i}return n}}function nv(e){return{\u0275providers:e}}function rv(...e){return{\u0275providers:pf(0,e),\u0275fromNgModule:!0}}function pf(e,...t){const n=[],i=new Set;let s;return f(t,a=>{const u=a;Zc(u,n,[],i)&&(s||(s=[]),s.push(u))}),void 0!==s&&gf(s,n),n}function gf(e,t){for(let n=0;n{t.push(a)})}}function Zc(e,t,n,i){if(!(e=oe(e)))return!1;let s=null,a=Xe(e);const u=!a&&rn(e);if(a||u){if(u&&!u.standalone)return!1;s=e}else{const E=e.ngModule;if(a=Xe(E),!a)return!1;s=E}const v=i.has(s);if(u){if(v)return!1;if(i.add(s),u.dependencies){const E="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const U of E)Zc(U,t,n,i)}}else{if(!a)return!1;{if(null!=a.imports&&!v){let U;i.add(s);try{f(a.imports,Q=>{Zc(Q,t,n,i)&&(U||(U=[]),U.push(Q))})}finally{}void 0!==U&&gf(U,t)}if(!v){const U=ur(s)||(()=>new s);t.push({provide:s,useFactory:U,deps:tn},{provide:ff,useValue:s,multi:!0},{provide:Wc,useValue:()=>fn(s),multi:!0})}const E=a.providers;null==E||v||Kc(E,Q=>{t.push(Q)})}}return s!==e&&void 0!==e.providers}function Kc(e,t){for(let n of e)de(n)&&(n=n.\u0275providers),Array.isArray(n)?Kc(n,t):t(n)}const ov=P({provide:String,useValue:P});function qc(e){return null!==e&&"object"==typeof e&&ov in e}function xs(e){return"function"==typeof e}const Jc=new ir("Set Injector scope."),Ol={},sv={};let Xc;function Pl(){return void 0===Xc&&(Xc=new hf),Xc}class Os{}class yf extends Os{get destroyed(){return this._destroyed}constructor(t,n,i,s){super(),this.parent=n,this.source=i,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,eu(t,u=>this.processProvider(u)),this.records.set(df,qs(void 0,this)),s.has("environment")&&this.records.set(Os,qs(void 0,this));const a=this.records.get(Jc);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(ff.multi,tn,Ct.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Qt(this),i=Mn(void 0);try{return t()}finally{Qt(n),Mn(i)}}get(t,n=Qn,i=Ct.Default){this.assertNotDestroyed(),i=cr(i);const s=Qt(this),a=Mn(void 0);try{if(!(i&Ct.SkipSelf)){let v=this.records.get(t);if(void 0===v){const E=function dv(e){return"function"==typeof e||"object"==typeof e&&e instanceof ir}(t)&&At(t);v=E&&this.injectableDefInScope(E)?qs(Qc(t),Ol):null,this.records.set(t,v)}if(null!=v)return this.hydrate(t,v)}return(i&Ct.Self?Pl():this.parent).get(t,n=i&Ct.Optional&&n===Qn?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[pn]=u[pn]||[]).unshift(Y(t)),s)throw u;return function fr(e,t,n,i){const s=e[pn];throw t[dn]&&s.unshift(t[dn]),e.message=function Pr(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==ar?e.slice(2):e;let s=Y(t);if(Array.isArray(t))s=t.map(Y).join(" -> ");else if("object"==typeof t){let a=[];for(let u in t)if(t.hasOwnProperty(u)){let v=t[u];a.push(u+":"+("string"==typeof v?JSON.stringify(v):Y(v)))}s=`{${a.join(", ")}}`}return`${n}${i?"("+i+")":""}[${s}]: ${e.replace(An,"\n ")}`}("\n"+e.message,s,n,i),e[Xn]=s,e[pn]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{Mn(a),Qt(s)}}resolveInjectorInitializers(){const t=Qt(this),n=Mn(void 0);try{const i=this.get(Wc.multi,tn,Ct.Self);for(const s of i)s()}finally{Qt(t),Mn(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(Y(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new W(205,!1)}processProvider(t){let n=xs(t=oe(t))?t:oe(t&&t.provide);const i=function lv(e){return qc(e)?qs(void 0,e.useValue):qs(_f(e),Ol)}(t);if(xs(t)||!0!==t.multi)this.records.get(n);else{let s=this.records.get(n);s||(s=qs(void 0,Ol,!0),s.factory=()=>vr(s.multi),this.records.set(n,s)),n=t,s.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===Ol&&(n.value=sv,n.value=n.factory()),"object"==typeof n.value&&n.value&&function uv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=oe(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Qc(e){const t=At(e),n=null!==t?t.factory:ur(e);if(null!==n)return n;if(e instanceof ir)throw new W(204,!1);if(e instanceof Function)return function av(e){const t=e.length;if(t>0)throw b(t,"?"),new W(204,!1);const n=function Je(e){return e&&(e[ut]||e[Yt])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new W(204,!1)}function _f(e,t,n){let i;if(xs(e)){const s=oe(e);return ur(s)||Qc(s)}if(qc(e))i=()=>oe(e.useValue);else if(function vf(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...vr(e.deps||[]));else if(function mf(e){return!(!e||!e.useExisting)}(e))i=()=>fn(oe(e.useExisting));else{const s=oe(e&&(e.useClass||e.provide));if(!function cv(e){return!!e.deps}(e))return ur(s)||Qc(s);i=()=>new s(...vr(e.deps))}return i}function qs(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function eu(e,t){for(const n of e)Array.isArray(n)?eu(n,t):n&&de(n)?eu(n.\u0275providers,t):t(n)}class fv{}class bf{}class pv{resolveComponentFactory(t){throw function hv(e){const t=Error(`No component factory found for ${Y(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ka=(()=>{class e{}return e.NULL=new pv,e})();function gv(){return Js(Fr(),ct())}function Js(e,t){return new Ba(Mr(e,t))}let Ba=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=gv,e})();function mv(e){return e instanceof Ba?e.nativeElement:e}class Df{}let vv=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function yv(){const e=ct(),n=Nr(Fr().index,e);return(K(n)?n:e)[Ne]}(),e})(),_v=(()=>{class e{}return e.\u0275prov=qe({token:e,providedIn:"root",factory:()=>null}),e})();class Ef{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const bv=new Ef("15.2.10"),tu={},nu="ngOriginalError";function ru(e){return e[nu]}class $a{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&ru(t);for(;n&&ru(n);)n=ru(n);return n||null}}function $i(e){return e instanceof Function?e():e}function If(e,t,n){let i=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const a=t.length;if(s+a===i||e.charCodeAt(s+a)<=32)return s}n=s+1}}const Mf="ng-template";function Ov(e,t,n){let i=0,s=!0;for(;ia?"":s[Se+1].toLowerCase();const Qe=8&i?je:null;if(Qe&&-1!==If(Qe,U,0)||2&i&&U!==je){if(ri(i))return!1;u=!0}}}}else{if(!u&&!ri(i)&&!ri(E))return!1;if(u&&ri(E))continue;u=!1,i=E|1&i}}return ri(i)||u}function ri(e){return 0==(1&e)}function Fv(e,t,n,i){if(null===t)return-1;let s=0;if(i||!n){let a=!1;for(;s-1)for(n++;n0?'="'+v+'"':"")+"]"}else 8&i?s+="."+u:4&i&&(s+=" "+u);else""!==s&&!ri(u)&&(t+=Af(a,s),s=""),i=u,a=a||!ri(i);n++}return""!==s&&(t+=Af(a,s)),t}const Tn={};function xf(e){Of(un(),ct(),Br()+e,!1)}function Of(e,t,n,i){if(!i)if(3==(3&t[Mt])){const a=e.preOrderCheckHooks;null!==a&&Ki(t,a,n)}else{const a=e.preOrderHooks;null!==a&&yi(t,a,0,n)}Oo(n)}function Lf(e,t=null,n=null,i){const s=Nf(e,t,n,i);return s.resolveInjectorInitializers(),s}function Nf(e,t=null,n=null,i,s=new Set){const a=[n||tn,rv(e)];return i=i||("object"==typeof e?void 0:Y(e)),new yf(a,t||Pl(),i||null,s)}let Ps=(()=>{class e{static create(n,i){if(Array.isArray(n))return Lf({name:""},i,n,"");{const s=n.name??"";return Lf({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=Qn,e.NULL=new hf,e.\u0275prov=qe({token:e,providedIn:"any",factory:()=>fn(df)}),e.__NG_ELEMENT_ID__=-1,e})();function ea(e,t=Ct.Default){const n=ct();return null===n?fn(e,t):_a(Fr(),n,oe(e),t)}function jf(){throw new Error("invalid")}function zf(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;iet&&Of(e,t,et,!1),yn(u?2:0,s),n(i,s)}finally{Oo(a),yn(u?3:1,s)}}function uu(e,t,n){if(ue(t)){const s=t.directiveEnd;for(let a=t.directiveStart;a0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(u)!=v&&u.push(v),u.push(n,i,a)}}(e,t,i,Ua(e,n,s.hostVars,Tn),s)}function Ei(e,t,n,i,s,a){const u=Mr(e,t);!function mu(e,t,n,i,s,a,u){if(null==a)e.removeAttribute(t,s,n);else{const v=null==u?be(a):u(a,i||"",s);e.setAttribute(t,s,v,n)}}(t[Ne],u,a,e.value,n,i,s)}function My(e,t,n,i,s,a){const u=a[t];if(null!==u){const v=i.setInput;for(let E=0;E0&&vu(n)}}function vu(e){for(let i=St(e);null!==i;i=Tt(i))for(let s=hn;s0&&vu(a)}const n=e[Et].components;if(null!==n)for(let i=0;i0&&vu(s)}}function Oy(e,t){const n=Nr(t,e),i=n[Et];(function Py(e,t){for(let n=t.length;n-1&&(Fc(t,i),c(n,i))}this._attachedToViewContainer=!1}Nd(this._lView[Et],this._lView)}onDestroy(t){Wf(this._lView[Et],this._lView,null,t)}markForCheck(){kl(this._cdRefInjectingView||this._lView)}detach(){this._lView[Mt]&=-65}reattach(){this._lView[Mt]|=64}detectChanges(){Bl(this._lView[Et],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new W(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ym(e,t){Ra(e,t,t[Ne],2,null,null)}(this._lView[Et],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new W(902,!1);this._appRef=t}}class Ry extends Va{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Bl(t[Et],t,t[G],!1)}checkNoChanges(){}get context(){return null}}class rh extends ka{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=rn(t);return new Ha(n,this.ngModule)}}function oh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Ly{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=cr(i);const s=this.injector.get(t,tu,i);return s!==tu||n===tu?s:this.parentInjector.get(t,n,i)}}class Ha extends bf{get inputs(){return oh(this.componentDef.inputs)}get outputs(){return oh(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Uv(e){return e.map($v).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,s){let a=(s=s||this.ngModule)instanceof Os?s:s?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const u=a?new Ly(t,a):t,v=u.get(Df,null);if(null===v)throw new W(407,!1);const E=u.get(_v,null),U=v.createRenderer(null,this.componentDef),Q=this.componentDef.selectors[0][0]||"div",Se=i?function uy(e,t,n){return e.selectRootElement(t,n===Cn.ShadowDom)}(U,i,this.componentDef.encapsulation):wo(U,Q,function Fy(e){const t=e.toLowerCase();return"svg"===t?To:"math"===t?"math":null}(Q)),je=this.componentDef.onPush?288:272,Qe=hu(0,null,null,1,0,null,null,null,null,null),_t=Fl(null,Qe,null,je,null,null,v,U,E,u,null);let xt,$t;Fi(_t);try{const Kt=this.componentDef;let cn,It=null;Kt.findHostDirectiveDefs?(cn=[],It=new Map,Kt.findHostDirectiveDefs(Kt,cn,It),cn.push(Kt)):cn=[Kt];const In=function ky(e,t){const n=e[Et],i=et;return e[i]=t,ta(n,i,2,"#host",null)}(_t,Se),wr=function By(e,t,n,i,s,a,u,v){const E=s[Et];!function $y(e,t,n,i){for(const s of e)t.mergedAttrs=Vr(t.mergedAttrs,s.hostAttrs);null!==t.mergedAttrs&&($l(t,t.mergedAttrs,!0),null!==n&&Zd(i,n,t))}(i,e,t,u);const U=a.createRenderer(t,n),Q=Fl(s,Gf(n),null,n.onPush?32:16,s[e.index],e,a,U,v||null,null,null);return E.firstCreatePass&&gu(E,e,i.length-1),Nl(s,Q),s[e.index]=Q}(In,Se,Kt,cn,_t,v,U);$t=ho(Qe,et),Se&&function Vy(e,t,n,i){if(i)Vn(e,n,["ng-version",bv.full]);else{const{attrs:s,classes:a}=function Vv(e){const t=[],n=[];let i=1,s=2;for(;i0&&Wd(e,n,a.join(" "))}}(U,Kt,Se,i),void 0!==n&&function Hy(e,t,n){const i=e.projection=[];for(let s=0;s=0;i--){const s=e[i];s.hostVars=t+=s.hostVars,s.hostAttrs=Vr(s.hostAttrs,n=Vr(n,s.hostAttrs))}}(i)}function Cu(e){return e===mn?{}:e===tn?[]:e}function Yy(e,t){const n=e.viewQuery;e.viewQuery=n?(i,s)=>{t(i,s),n(i,s)}:t}function Gy(e,t){const n=e.contentQueries;e.contentQueries=n?(i,s,a)=>{t(i,s,a),n(i,s,a)}:t}function Wy(e,t){const n=e.hostBindings;e.hostBindings=n?(i,s)=>{t(i,s),n(i,s)}:t}function Vl(e){return!!Du(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Du(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function wi(e,t,n){return e[t]=n}function oo(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Rs(e,t,n,i){const s=oo(e,t,n);return oo(e,t+1,i)||s}function Eu(e,t,n,i){const s=ct();return oo(s,vo(),t)&&(un(),Ei(nr(),s,e,t,n,i)),Eu}function ra(e,t,n,i){return oo(e,vo(),n)?t+be(n)+i:Tn}function oa(e,t,n,i,s,a){const v=Rs(e,function tr(){return sn.lFrame.bindingIndex}(),n,s);return yo(2),v?t+be(n)+i+be(s)+a:Tn}function wu(e,t,n,i,s,a,u,v){const E=ct(),U=oa(E,t,n,i,s,a);return U!==Tn&&Ei(nr(),E,e,U,u,v),wu}function vh(e,t,n,i,s,a,u,v){const E=ct(),U=un(),Q=e+et,Se=U.firstCreatePass?function r_(e,t,n,i,s,a,u,v,E){const U=t.consts,Q=ta(t,e,4,u||null,go(U,v));pu(t,n,Q,go(U,E)),vi(t,Q);const Se=Q.tView=hu(2,Q,i,s,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,U);return null!==t.queries&&(t.queries.template(t,Q),Se.queries=t.queries.embeddedTView(Q)),Q}(Q,U,E,t,n,i,s,a,u):U.data[Q];no(Se,!1);const je=E[Ne].createComment("");Ml(U,E,je,Se),Zr(je,E),Nl(E,E[Q]=Xf(je,E,je,Se)),nn(Se)&&du(U,E,Se),null!=u&&fu(E,Se,v)}function yh(e){return po(function ks(){return sn.lFrame.contextLView}(),et+e)}function Iu(e,t,n){const i=ct();return oo(i,vo(),t)&&Fo(un(),nr(),i,e,t,i[Ne],n,!1),Iu}function Mu(e,t,n,i,s){const u=s?"class":"style";_u(e,n,t.inputs[u],u,i)}function jl(e,t,n,i){const s=ct(),a=un(),u=et+e,v=s[Ne],E=a.firstCreatePass?function i_(e,t,n,i,s,a){const u=t.consts,E=ta(t,e,2,i,go(u,s));return pu(t,n,E,go(u,a)),null!==E.attrs&&$l(E,E.attrs,!1),null!==E.mergedAttrs&&$l(E,E.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,E),E}(u,a,s,t,n,i):a.data[u],U=s[u]=wo(v,t,function $s(){return sn.lFrame.currentNamespace}()),Q=nn(E);return no(E,!0),Zd(v,U,E),32!=(32&E.flags)&&Ml(a,s,U,E),0===function O(){return sn.lFrame.elementDepthCount}()&&Zr(U,s),function M(){sn.lFrame.elementDepthCount++}(),Q&&(du(a,s,E),uu(a,E,s)),null!==i&&fu(s,E),jl}function zl(){let e=Fr();ji()?$o():(e=e.parent,no(e,!1));const t=e;!function ee(){sn.lFrame.elementDepthCount--}();const n=un();return n.firstCreatePass&&(vi(n,e),ue(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Zn(e){return 0!=(8&e.flags)}(t)&&Mu(n,t,ct(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Rn(e){return 0!=(16&e.flags)}(t)&&Mu(n,t,ct(),t.stylesWithoutHost,!1),zl}function Su(e,t,n,i){return jl(e,t,n,i),zl(),Su}function Yl(e,t,n){const i=ct(),s=un(),a=e+et,u=s.firstCreatePass?function s_(e,t,n,i,s){const a=t.consts,u=go(a,i),v=ta(t,e,8,"ng-container",u);return null!==u&&$l(v,u,!0),pu(t,n,v,go(a,s)),null!==t.queries&&t.queries.elementStart(t,v),v}(a,s,i,t,n):s.data[a];no(u,!0);const v=i[a]=i[Ne].createComment("");return Ml(s,i,v,u),Zr(v,i),nn(u)&&(du(s,i,u),uu(s,u,i)),null!=n&&fu(i,u),Yl}function Gl(){let e=Fr();const t=un();return ji()?$o():(e=e.parent,no(e,!1)),t.firstCreatePass&&(vi(t,e),ue(e)&&t.queries.elementEnd(e)),Gl}function Tu(e,t,n){return Yl(e,t,n),Gl(),Tu}function _h(){return ct()}function Au(e){return!!e&&"function"==typeof e.then}function bh(e){return!!e&&"function"==typeof e.subscribe}const Ch=bh;function xu(e,t,n,i){const s=ct(),a=un(),u=Fr();return function Eh(e,t,n,i,s,a,u){const v=nn(i),U=e.firstCreatePass&&eh(e),Q=t[G],Se=Qf(t);let je=!0;if(3&i.type||u){const xt=Mr(i,t),$t=u?u(xt):xt,Kt=Se.length,cn=u?In=>u(mr(In[i.index])):i.index;let It=null;if(!u&&v&&(It=function a_(e,t,n,i){const s=e.cleanup;if(null!=s)for(let a=0;aE?v[E]:null}"string"==typeof u&&(a+=2)}return null}(e,t,s,i.index)),null!==It)(It.__ngLastListenerFn__||It).__ngNextListenerFn__=a,It.__ngLastListenerFn__=a,je=!1;else{a=Ih(i,t,Q,a,!1);const In=n.listen($t,s,a);Se.push(a,In),U&&U.push(s,cn,Kt,Kt+1)}}else a=Ih(i,t,Q,a,!1);const Qe=i.outputs;let _t;if(je&&null!==Qe&&(_t=Qe[s])){const xt=_t.length;if(xt)for(let $t=0;$t-1?Nr(e.index,t):t);let E=wh(t,n,i,u),U=a.__ngNextListenerFn__;for(;U;)E=wh(t,n,U,u)&&E,U=U.__ngNextListenerFn__;return s&&!1===E&&(u.preventDefault(),u.returnValue=!1),E}}function Mh(e=1){return function Zi(e){return(sn.lFrame.contextLView=function us(e,t){for(;e>0;)t=t[S],e--;return t}(e,sn.lFrame.contextLView))[G]}(e)}function l_(e,t){let n=null;const i=function Lv(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let s=0;s>17&32767}function Ru(e){return 2|e}function Fs(e){return(131068&e)>>2}function Fu(e,t){return-131069&e|t<<2}function Lu(e){return 1|e}function kh(e,t,n,i,s){const a=e[n+1],u=null===t;let v=i?rs(a):Fs(a),E=!1;for(;0!==v&&(!1===E||u);){const Q=e[v+1];p_(e[v],t)&&(E=!0,e[v+1]=i?Lu(Q):Ru(Q)),v=i?rs(Q):Fs(Q)}E&&(e[n+1]=i?Ru(a):Lu(a))}function p_(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Bt(e,t)>=0}function Nu(e,t,n){return oi(e,t,n,!1),Nu}function ku(e,t){return oi(e,t,null,!0),ku}function oi(e,t,n,i){const s=ct(),a=un(),u=yo(2);a.firstUpdatePass&&function Yh(e,t,n,i){const s=e.data;if(null===s[n+1]){const a=s[Br()],u=function zh(e,t){return t>=e.expandoStartIndex}(e,n);(function Kh(e,t){return 0!=(e.flags&(t?8:16))})(a,i)&&null===t&&!u&&(t=!1),t=function E_(e,t,n,i){const s=function Zo(e){const t=sn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=i?t.residualClasses:t.residualStyles;if(null===s)0===(i?t.classBindings:t.styleBindings)&&(n=za(n=Bu(null,e,t,n,i),t.attrs,i),a=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==s)if(n=Bu(s,e,t,n,i),null===a){let E=function w_(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Fs(i))return e[rs(i)]}(e,t,i);void 0!==E&&Array.isArray(E)&&(E=Bu(null,e,t,E[1],i),E=za(E,t.attrs,i),function I_(e,t,n,i){e[rs(n?t.classBindings:t.styleBindings)]=i}(e,t,i,E))}else a=function M_(e,t,n){let i;const s=t.directiveEnd;for(let a=1+t.directiveStylingLast;a0)&&(U=!0)):Q=n,s)if(0!==E){const je=rs(e[v+1]);e[i+1]=Wl(je,v),0!==je&&(e[je+1]=Fu(e[je+1],i)),e[v+1]=function u_(e,t){return 131071&e|t<<17}(e[v+1],i)}else e[i+1]=Wl(v,0),0!==v&&(e[v+1]=Fu(e[v+1],i)),v=i;else e[i+1]=Wl(E,0),0===v?v=i:e[E+1]=Fu(e[E+1],i),E=i;U&&(e[i+1]=Ru(e[i+1])),kh(e,Q,i,!0),kh(e,Q,i,!1),function h_(e,t,n,i,s){const a=s?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&Bt(a,t)>=0&&(n[i+1]=Lu(n[i+1]))}(t,Q,e,i,a),u=Wl(v,E),a?t.classBindings=u:t.styleBindings=u}(s,a,t,n,u,i)}}(a,e,u,i),t!==Tn&&oo(s,u,t)&&function Wh(e,t,n,i,s,a,u,v){if(!(3&t.type))return;const E=e.data,U=E[v+1],Q=function d_(e){return 1==(1&e)}(U)?Zh(E,t,n,s,Fs(U),u):void 0;Zl(Q)||(Zl(a)||function c_(e){return 2==(2&e)}(U)&&(a=Zh(E,null,n,s,v,u)),function Tm(e,t,n,i,s){if(t)s?e.addClass(n,i):e.removeClass(n,i);else{let a=-1===i.indexOf("-")?void 0:ni.DashCase;null==s?e.removeStyle(n,i,a):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),a|=ni.Important),e.setStyle(n,i,s,a))}}(i,u,Bo(Br(),n),s,a))}(a,a.data[Br()],s,s[Ne],e,s[u+1]=function x_(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Y(ns(e)))),e}(t,n),i,u)}function Bu(e,t,n,i,s){let a=null;const u=n.directiveEnd;let v=n.directiveStylingLast;for(-1===v?v=n.directiveStart:v++;v0;){const E=e[s],U=Array.isArray(E),Q=U?E[1]:E,Se=null===Q;let je=n[s+1];je===Tn&&(je=Se?tn:void 0);let Qe=Se?kt(je,i):Q===i?je:void 0;if(U&&!Zl(Qe)&&(Qe=kt(E,i)),Zl(Qe)&&(v=Qe,u))return v;const _t=e[s+1];s=u?rs(_t):Fs(_t)}if(null!==t){let E=a?t.residualClasses:t.residualStyles;null!=E&&(v=kt(E,i))}return v}function Zl(e){return void 0!==e}function qh(e,t=""){const n=ct(),i=un(),s=e+et,a=i.firstCreatePass?ta(i,s,1,t,null):i.data[s],u=n[s]=function Gt(e,t){return e.createText(t)}(n[Ne],t);Ml(i,n,u,a),no(a,!1)}function $u(e){return Kl("",e,""),$u}function Kl(e,t,n){const i=ct(),s=ra(i,e,t,n);return s!==Tn&&Ui(i,Br(),s),Kl}function Uu(e,t,n,i,s){const a=ct(),u=oa(a,e,t,n,i,s);return u!==Tn&&Ui(a,Br(),u),Uu}const Ls=void 0;var q_=["en",[["a","p"],["AM","PM"],Ls],[["AM","PM"],Ls,Ls],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ls,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ls,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ls,"{1} 'at' {0}",Ls],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function K_(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let fa={};function Vu(e){const t=function J_(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=mp(t);if(n)return n;const i=t.split("-")[0];if(n=mp(i),n)return n;if("en"===i)return q_;throw new W(701,!1)}function gp(e){return Vu(e)[an.PluralCase]}function mp(e){return e in fa||(fa[e]=_n.ng&&_n.ng.common&&_n.ng.common.locales&&_n.ng.common.locales[e]),fa[e]}var an=(()=>((an=an||{})[an.LocaleId=0]="LocaleId",an[an.DayPeriodsFormat=1]="DayPeriodsFormat",an[an.DayPeriodsStandalone=2]="DayPeriodsStandalone",an[an.DaysFormat=3]="DaysFormat",an[an.DaysStandalone=4]="DaysStandalone",an[an.MonthsFormat=5]="MonthsFormat",an[an.MonthsStandalone=6]="MonthsStandalone",an[an.Eras=7]="Eras",an[an.FirstDayOfWeek=8]="FirstDayOfWeek",an[an.WeekendRange=9]="WeekendRange",an[an.DateFormat=10]="DateFormat",an[an.TimeFormat=11]="TimeFormat",an[an.DateTimeFormat=12]="DateTimeFormat",an[an.NumberSymbols=13]="NumberSymbols",an[an.NumberFormats=14]="NumberFormats",an[an.CurrencyCode=15]="CurrencyCode",an[an.CurrencySymbol=16]="CurrencySymbol",an[an.CurrencyName=17]="CurrencyName",an[an.Currencies=18]="Currencies",an[an.Directionality=19]="Directionality",an[an.PluralCase=20]="PluralCase",an[an.ExtraData=21]="ExtraData",an))();const ha="en-US";let vp=ha;function zu(e,t,n,i,s){if(e=oe(e),Array.isArray(e))for(let a=0;a>20;if(xs(e)||!e.multi){const Qe=new xe(E,s,ea),_t=Gu(v,t,s?Q:Q+je,Se);-1===_t?(ms(Ji(U,u),a,v),Yu(a,e,t.length),t.push(v),U.directiveStart++,U.directiveEnd++,s&&(U.providerIndexes+=1048576),n.push(Qe),u.push(Qe)):(n[_t]=Qe,u[_t]=Qe)}else{const Qe=Gu(v,t,Q+je,Se),_t=Gu(v,t,Q,Q+je),$t=_t>=0&&n[_t];if(s&&!$t||!s&&!(Qe>=0&&n[Qe])){ms(Ji(U,u),a,v);const Kt=function K0(e,t,n,i,s){const a=new xe(e,n,ea);return a.multi=[],a.index=t,a.componentProviders=0,Hp(a,s,i&&!n),a}(s?Z0:W0,n.length,s,i,E);!s&&$t&&(n[_t].providerFactory=Kt),Yu(a,e,t.length,0),t.push(v),U.directiveStart++,U.directiveEnd++,s&&(U.providerIndexes+=1048576),n.push(Kt),u.push(Kt)}else Yu(a,e,Qe>-1?Qe:_t,Hp(n[s?_t:Qe],E,!s&&i));!s&&i&&$t&&n[_t].componentProviders++}}}function Yu(e,t,n,i){const s=xs(t),a=function iv(e){return!!e.useClass}(t);if(s||a){const E=(a?oe(t.useClass):t).prototype.ngOnDestroy;if(E){const U=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const Q=U.indexOf(n);-1===Q?U.push(n,[i,E]):U[Q+1].push(i,E)}else U.push(n,E)}}}function Hp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Gu(e,t,n,i){for(let s=n;s{n.providersResolver=(i,s)=>function G0(e,t,n){const i=un();if(i.firstCreatePass){const s=qt(e);zu(n,i.data,i.blueprint,s,!0),zu(t,i.data,i.blueprint,s,!1)}}(i,s?s(e):e,t)}}class pa{}class zp{}function q0(e,t){return new Yp(e,t??null)}class Yp extends pa{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new rh(this);const i=Bn(t);this._bootstrapComponents=$i(i.bootstrap),this._r3Injector=Nf(t,n,[{provide:pa,useValue:this},{provide:ka,useValue:this.componentFactoryResolver}],Y(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Zu extends zp{constructor(t){super(),this.moduleType=t}create(t){return new Yp(this.moduleType,t)}}class J0 extends pa{constructor(t,n,i){super(),this.componentFactoryResolver=new rh(this),this.instance=null;const s=new yf([...t,{provide:pa,useValue:this},{provide:ka,useValue:this.componentFactoryResolver}],n||Pl(),i,new Set(["environment"]));this.injector=s,s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Ku(e,t,n=null){return new J0(e,t,n).injector}let X0=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const i=pf(0,n.type),s=i.length>0?Ku([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,s)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=qe({token:e,providedIn:"environment",factory:()=>new e(fn(Os))}),e})();function Gp(e){e.getStandaloneInjector=t=>t.get(X0).getOrCreateStandaloneInjector(e)}function Qp(e,t,n){const i=Sr()+e,s=ct();return s[i]===Tn?wi(s,i,n?t.call(n):t()):function ja(e,t){return e[t]}(s,i)}function eg(e,t,n,i){return rg(ct(),Sr(),e,t,n,i)}function tg(e,t,n,i,s){return og(ct(),Sr(),e,t,n,i,s)}function ng(e,t,n,i,s,a){return function ig(e,t,n,i,s,a,u,v){const E=t+n;return function Hl(e,t,n,i,s){const a=Rs(e,t,n,i);return oo(e,t+2,s)||a}(e,E,s,a,u)?wi(e,E+3,v?i.call(v,s,a,u):i(s,a,u)):qa(e,E+3)}(ct(),Sr(),e,t,n,i,s,a)}function qa(e,t){const n=e[t];return n===Tn?void 0:n}function rg(e,t,n,i,s,a){const u=t+n;return oo(e,u,s)?wi(e,u+1,a?i.call(a,s):i(s)):qa(e,u+1)}function og(e,t,n,i,s,a,u){const v=t+n;return Rs(e,v,s,a)?wi(e,v+2,u?i.call(u,s,a):i(s,a)):qa(e,v+2)}function lg(e,t){const n=un();let i;const s=e+et;n.firstCreatePass?(i=function hb(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[s]=i,i.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(s,i.onDestroy)):i=n.data[s];const a=i.factory||(i.factory=ur(i.type)),u=Mn(ea);try{const v=Jo(!1),E=a();return Jo(v),function o_(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,ct(),s,E),E}finally{Mn(u)}}function cg(e,t,n){const i=e+et,s=ct(),a=po(s,i);return Ja(s,i)?rg(s,Sr(),t,a.transform,n,a):a.transform(n)}function ug(e,t,n,i){const s=e+et,a=ct(),u=po(a,s);return Ja(a,s)?og(a,Sr(),t,u.transform,n,i,u):u.transform(n,i)}function Ja(e,t){return e[Et].data[t].pure}function Ju(e){return t=>{setTimeout(e,void 0,t)}}const Si=class vb extends o.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let s=t,a=n||(()=>null),u=i;if(t&&"object"==typeof t){const E=t;s=E.next?.bind(E),a=E.error?.bind(E),u=E.complete?.bind(E)}this.__isAsync&&(a=Ju(a),s&&(s=Ju(s)),u&&(u=Ju(u)));const v=super.subscribe({next:s,error:a,complete:u});return t instanceof r.w0&&t.add(v),v}};function yb(){return this._results[Symbol.iterator]()}class Xu{get changes(){return this._changes||(this._changes=new Si)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Xu.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=yb)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const i=this;i.dirty=!1;const s=function ao(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function wa(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i{class e{}return e.__NG_ELEMENT_ID__=Cb,e})();const _b=Xa,bb=class extends _b{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t,n){const i=this._declarationTContainer.tView,s=Fl(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,n||null);s[fe]=this._declarationLView[this._declarationTContainer.index];const u=this._declarationLView[ze];return null!==u&&(s[ze]=u.createEmbeddedView(i)),cu(i,s,t),new Va(s)}};function Cb(){return ec(Fr(),ct())}function ec(e,t){return 4&e.type?new bb(t,e,Js(e,t)):null}let tc=(()=>{class e{}return e.__NG_ELEMENT_ID__=Db,e})();function Db(){return hg(Fr(),ct())}const Eb=tc,dg=class extends Eb{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return Js(this._hostTNode,this._hostLView)}get injector(){return new Qo(this._hostTNode,this._hostLView)}get parentInjector(){const t=_i(this._hostTNode,this._hostLView);if(Wr(t)){const n=so(t,this._hostLView),i=Jr(t);return new Qo(n[Et].data[i+8],n)}return new Qo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=fg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-hn}createEmbeddedView(t,n,i){let s,a;"number"==typeof i?s=i:null!=i&&(s=i.index,a=i.injector);const u=t.createEmbeddedView(n||{},a);return this.insert(u,s),u}createComponent(t,n,i,s,a){const u=t&&!function Di(e){return"function"==typeof e}(t);let v;if(u)v=n;else{const Se=n||{};v=Se.index,i=Se.injector,s=Se.projectableNodes,a=Se.environmentInjector||Se.ngModuleRef}const E=u?t:new Ha(rn(t)),U=i||this.parentInjector;if(!a&&null==E.ngModule){const je=(u?U:this.parentInjector).get(Os,null);je&&(a=je)}const Q=E.create(U,s,void 0,a);return this.insert(Q.hostView,v),Q}insert(t,n){const i=t._lView,s=i[Et];if(function eo(e){return D(e[xn])}(i)){const Q=this.indexOf(t);if(-1!==Q)this.detach(Q);else{const Se=i[xn],je=new dg(Se,Se[I],Se[xn]);je.detach(je.indexOf(t))}}const a=this._adjustIndex(n),u=this._lContainer;!function bm(e,t,n,i){const s=hn+i,a=n.length;i>0&&(n[s-1][ge]=t),i0)i.push(u[v/2]);else{const U=a[v+1],Q=t[-E];for(let Se=hn;Se{class e{constructor(n){this.appInits=n,this.resolve=rc,this.reject=rc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,s)=>{this.resolve=i,this.reject=s})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s{a.subscribe({complete:v,error:E})});n.push(u)}}Promise.all(n).then(()=>{i()}).catch(s=>{this.reject(s)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(fn(Vg,8))},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Hg=new ir("AppId",{providedIn:"root",factory:function jg(){return`${ud()}${ud()}${ud()}`}});function ud(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const zg=new ir("Platform Initializer"),Kb=new ir("Platform ID",{providedIn:"platform",factory:()=>"unknown"});let qb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const ic=new ir("LocaleId",{providedIn:"root",factory:()=>Kn(ic,Ct.Optional|Ct.SkipSelf)||function Jb(){return typeof $localize<"u"&&$localize.locale||ha}()}),Xb=new ir("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Qb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let eC=(()=>{class e{compileModuleSync(n){return new Zu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),a=$i(Bn(n).declarations).reduce((u,v)=>{const E=rn(v);return E&&u.push(new Ha(E)),u},[]);return new Qb(i,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const rC=(()=>Promise.resolve(0))();function dd(e){typeof Zone>"u"?rC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class jo{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Si(!1),this.onMicrotaskEmpty=new Si(!1),this.onStable=new Si(!1),this.onError=new Si(!1),typeof Zone>"u")throw new W(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&n,s.shouldCoalesceRunChangeDetection=i,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function oC(){let e=_n.requestAnimationFrame,t=_n.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function aC(e){const t=()=>{!function sC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(_n,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,hd(e),e.isCheckStableRunning=!0,fd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),hd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,s,a,u,v)=>{try{return Wg(e),n.invokeTask(s,a,u,v)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),Zg(e)}},onInvoke:(n,i,s,a,u,v,E)=>{try{return Wg(e),n.invoke(s,a,u,v,E)}finally{e.shouldCoalesceRunChangeDetection&&t(),Zg(e)}},onHasTask:(n,i,s,a)=>{n.hasTask(s,a),i===s&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,hd(e),fd(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,i,s,a)=>(n.handleError(s,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!jo.isInAngularZone())throw new W(909,!1)}static assertNotInAngularZone(){if(jo.isInAngularZone())throw new W(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,s){const a=this._inner,u=a.scheduleEventTask("NgZoneEvent: "+s,t,iC,rc,rc);try{return a.runTask(u,n,i)}finally{a.cancelTask(u)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const iC={};function fd(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function hd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Wg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Zg(e){e._nesting--,fd(e)}class lC{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Si,this.onMicrotaskEmpty=new Si,this.onStable=new Si,this.onError=new Si}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,s){return t.apply(n,i)}}const Kg=new ir(""),qg=new ir("");let pd,cC=(()=>{class e{constructor(n,i,s){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,pd||(function uC(e){pd=e}(s),s.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{jo.assertNotInAngularZone(),dd(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())dd(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,s){let a=-1;i&&i>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==a),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:s})}whenStable(n,i,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,s){return[]}}return e.\u0275fac=function(n){return new(n||e)(fn(jo),fn(Jg),fn(qg))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e})(),Jg=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return pd?.findTestabilityInTree(this,n,i)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Vi=!1;let os=null;const Xg=new ir("AllowMultipleToken"),gd=new ir("PlatformDestroyListeners"),Qg=new ir("appBootstrapListener");class hC{constructor(t,n){this.name=t,this.token=n}}function tm(e,t,n=[]){const i=`Platform: ${t}`,s=new ir(i);return(a=[])=>{let u=md();if(!u||u.injector.get(Xg,!1)){const v=[...n,...a,{provide:s,useValue:!0}];e?e(v):function pC(e){if(os&&!os.get(Xg,!1))throw new W(400,!1);os=e;const t=e.get(rm);(function em(e){const t=e.get(zg,null);t&&t.forEach(n=>n())})(e)}(function nm(e=[],t){return Ps.create({name:t,providers:[{provide:Jc,useValue:"platform"},{provide:gd,useValue:new Set([()=>os=null])},...e]})}(v,i))}return function mC(e){const t=md();if(!t)throw new W(401,!1);return t}()}}function md(){return os?.get(rm)??null}let rm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const s=function im(e,t){let n;return n="noop"===e?new lC:("zone.js"===e?void 0:e)||new jo(t),n}(i?.ngZone,function om(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),a=[{provide:jo,useValue:s}];return s.run(()=>{const u=Ps.create({providers:a,parent:this.injector,name:n.moduleType.name}),v=n.create(u),E=v.injector.get($a,null);if(!E)throw new W(402,!1);return s.runOutsideAngular(()=>{const U=s.onError.subscribe({next:Q=>{E.handleError(Q)}});v.onDestroy(()=>{ac(this._modules,v),U.unsubscribe()})}),function sm(e,t,n){try{const i=n();return Au(i)?i.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(E,s,()=>{const U=v.injector.get(oc);return U.runInitializers(),U.donePromise.then(()=>(function yp(e){N(e,"Expected localeId to be defined"),"string"==typeof e&&(vp=e.toLowerCase().replace(/_/g,"-"))}(v.injector.get(ic,ha)||ha),this._moduleDoBootstrap(v),v))})})}bootstrapModule(n,i=[]){const s=am({},i);return function dC(e,t,n){const i=new Zu(n);return Promise.resolve(i)}(0,0,n).then(a=>this.bootstrapModuleFactory(a,s))}_moduleDoBootstrap(n){const i=n.injector.get(sc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>i.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new W(-403,!1);n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new W(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(gd,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(fn(Ps))},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function am(e,t){return Array.isArray(t)?t.reduce(am,e):{...e,...t}}let sc=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,i,s){this._zone=n,this._injector=i,this._exceptionHandler=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new B.y(v=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{v.next(this._stable),v.complete()})}),u=new B.y(v=>{let E;this._zone.runOutsideAngular(()=>{E=this._zone.onStable.subscribe(()=>{jo.assertNotInAngularZone(),dd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,v.next(!0))})})});const U=this._zone.onUnstable.subscribe(()=>{jo.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{v.next(!1)}))});return()=>{E.unsubscribe(),U.unsubscribe()}});this.isStable=(0,V.T)(a,u.pipe((0,te.B)()))}bootstrap(n,i){const s=n instanceof bf;if(!this._injector.get(oc).done){!s&&En(n);throw new W(405,Vi)}let u;u=s?n:this._injector.get(ka).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const v=function fC(e){return e.isBoundToModule}(u)?void 0:this._injector.get(pa),U=u.create(Ps.NULL,[],i||u.selector,v),Q=U.location.nativeElement,Se=U.injector.get(Kg,null);return Se?.registerApplication(Q),U.onDestroy(()=>{this.detachView(U.hostView),ac(this.components,U),Se?.unregisterApplication(Q)}),this._loadComponent(U),U}tick(){if(this._runningTick)throw new W(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;ac(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(Qg,[]);i.push(...this._bootstrapListeners),i.forEach(s=>s(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ac(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new W(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(fn(jo),fn(Os),fn($a))},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ac(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function yC(){return!1}function _C(){}let bC=(()=>{class e{}return e.__NG_ELEMENT_ID__=CC,e})();function CC(e){return function DC(e,t,n){if(Ue(e)&&!n){const i=Nr(e.index,t);return new Va(i,i)}return 47&e.type?new Va(t[$],t):null}(Fr(),ct(),16==(16&e))}class fm{constructor(){}supports(t){return Vl(t)}create(t){return new TC(t)}}const SC=(e,t)=>t;class TC{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||SC}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,s=0,a=null;for(;n||i;){const u=!i||n&&n.currentIndex{u=this._trackByFn(s,v),null!==n&&Object.is(n.trackById,u)?(i&&(n=this._verifyReinsertion(n,v,u,s)),Object.is(n.item,v)||this._addIdentityChange(n,v)):(n=this._mismatch(n,v,u,s),i=!0),n=n._next,s++}),this.length=s;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,s){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,s)):t=this._addAfter(new AC(n,i),a,s),t}_verifyReinsertion(t,n,i,s){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==a?t=this._reinsertAfter(a,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,a=t._nextRemoved;return null===s?this._removalsHead=a:s._nextRemoved=a,null===a?this._removalsTail=s:a._prevRemoved=s,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new hm),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new hm),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class AC{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class xC{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class hm{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new xC,this.map.set(n,i)),i.add(t)}get(t,n){const s=this.map.get(t);return s?s.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function pm(e,t,n){const i=e.previousIndex;if(null===i)return i;let s=0;return n&&i{if(n&&n.key===s)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(s,i);n=this._insertBeforeOrAppend(n,a)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;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(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const s=this._records.get(t);this._maybeAddToChanges(s,n);const a=s._prev,u=s._next;return a&&(a._next=u),u&&(u._prev=a),s._next=null,s._prev=null,s}const i=new PC(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}}class PC{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function mm(){return new Cd([new fm])}let Cd=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const s=i.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||mm()),deps:[[e,new ws,new Es]]}}find(n){const i=this.factories.find(s=>s.supports(n));if(null!=i)return i;throw new W(901,!1)}}return e.\u0275prov=qe({token:e,providedIn:"root",factory:mm}),e})();function vm(){return new Dd([new gm])}let Dd=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const s=i.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||vm()),deps:[[e,new ws,new Es]]}}find(n){const i=this.factories.find(s=>s.supports(n));if(i)return i;throw new W(901,!1)}}return e.\u0275prov=qe({token:e,providedIn:"root",factory:vm}),e})();const LC=tm(null,"core",[]);let NC=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(fn(sc))},e.\u0275mod=Sn({type:e}),e.\u0275inj=dt({}),e})();function kC(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function $C(e,t){const n=rn(e),i=t.elementInjector||Pl();return new Ha(n).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}function UC(e){const t=rn(e);if(!t)return null;const n=new Ha(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone}}}},4006:(pt,Re,g)=>{"use strict";g.d(Re,{Cf:()=>pe,Fd:()=>ci,JJ:()=>Zt,JL:()=>Ct,JU:()=>Y,NI:()=>me,On:()=>Oe,UX:()=>fi,_Y:()=>et,a5:()=>Xe,nD:()=>Ir,qQ:()=>So,qu:()=>eo,sg:()=>qt,u:()=>Dr,u5:()=>sn});var o=g(4650),r=g(6895),B=g(2076),V=g(4128),te=g(4004);let P=(()=>{class F{constructor(M,ee){this._renderer=M,this._elementRef=ee,this.onChange=rt=>{},this.onTouched=()=>{}}setProperty(M,ee){this._renderer.setProperty(this._elementRef.nativeElement,M,ee)}registerOnTouched(M){this.onTouched=M}registerOnChange(M){this.onChange=M}setDisabledState(M){this.setProperty("disabled",M)}}return F.\u0275fac=function(M){return new(M||F)(o.Y36(o.Qsj),o.Y36(o.SBq))},F.\u0275dir=o.lG2({type:F}),F})(),R=(()=>{class F extends P{}return F.\u0275fac=function(){let O;return function(ee){return(O||(O=o.n5z(F)))(ee||F)}}(),F.\u0275dir=o.lG2({type:F,features:[o.qOj]}),F})();const Y=new o.OlP("NgValueAccessor"),Z={provide:Y,useExisting:(0,o.Gpc)(()=>de),multi:!0},ye=new o.OlP("CompositionEventMode");let de=(()=>{class F extends P{constructor(M,ee,rt){super(M,ee),this._compositionMode=rt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function oe(){const F=(0,r.q)()?(0,r.q)().getUserAgent():"";return/android (\d+)/.test(F.toLowerCase())}())}writeValue(M){this.setProperty("value",M??"")}_handleInput(M){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(M)}_compositionStart(){this._composing=!0}_compositionEnd(M){this._composing=!1,this._compositionMode&&this.onChange(M)}}return F.\u0275fac=function(M){return new(M||F)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(ye,8))},F.\u0275dir=o.lG2({type:F,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(M,ee){1&M&&o.NdJ("input",function(Ut){return ee._handleInput(Ut.target.value)})("blur",function(){return ee.onTouched()})("compositionstart",function(){return ee._compositionStart()})("compositionend",function(Ut){return ee._compositionEnd(Ut.target.value)})},features:[o._Bn([Z]),o.qOj]}),F})();const re=!1;function ce(F){return null==F||("string"==typeof F||Array.isArray(F))&&0===F.length}const pe=new o.OlP("NgValidators"),be=new o.OlP("NgAsyncValidators");function Be(F){return null}function ie(F){return null!=F}function ke(F){const O=(0,o.QGY)(F)?(0,B.D)(F):F;if(re&&!(0,o.CqO)(O)){let M="Expected async validator to return Promise or Observable.";throw"object"==typeof F&&(M+=" Are you using a synchronous validator where an async validator is expected?"),new o.vHH(-1101,M)}return O}function We(F){let O={};return F.forEach(M=>{O=null!=M?{...O,...M}:O}),0===Object.keys(O).length?null:O}function st(F,O){return O.map(M=>M(F))}function z(F){return F.map(O=>function ve(F){return!F.validate}(O)?O:M=>O.validate(M))}function N(F){return null!=F?function C(F){if(!F)return null;const O=F.filter(ie);return 0==O.length?null:function(M){return We(st(M,O))}}(z(F)):null}function se(F){return null!=F?function k(F){if(!F)return null;const O=F.filter(ie);return 0==O.length?null:function(M){const ee=st(M,O).map(ke);return(0,V.D)(ee).pipe((0,te.U)(We))}}(z(F)):null}function ae(F,O){return null===F?[O]:Array.isArray(F)?[...F,O]:[F,O]}function Ye(F){return F._rawValidators}function qe(F){return F._rawAsyncValidators}function gt(F){return F?Array.isArray(F)?F:[F]:[]}function dt(F,O){return Array.isArray(F)?F.includes(O):F===O}function At(F,O){const M=gt(O);return gt(F).forEach(rt=>{dt(M,rt)||M.push(rt)}),M}function Wt(F,O){return gt(O).filter(M=>!dt(F,M))}class at{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(O){this._rawValidators=O||[],this._composedValidatorFn=N(this._rawValidators)}_setAsyncValidators(O){this._rawAsyncValidators=O||[],this._composedAsyncValidatorFn=se(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(O){this._onDestroyCallbacks.push(O)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(O=>O()),this._onDestroyCallbacks=[]}reset(O){this.control&&this.control.reset(O)}hasError(O,M){return!!this.control&&this.control.hasError(O,M)}getError(O,M){return this.control?this.control.getError(O,M):null}}class Je extends at{get formDirective(){return null}get path(){return null}}class Xe extends at{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ut{constructor(O){this._cd=O}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Zt=(()=>{class F extends ut{constructor(M){super(M)}}return F.\u0275fac=function(M){return new(M||F)(o.Y36(Xe,2))},F.\u0275dir=o.lG2({type:F,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(M,ee){2&M&&o.ekj("ng-untouched",ee.isUntouched)("ng-touched",ee.isTouched)("ng-pristine",ee.isPristine)("ng-dirty",ee.isDirty)("ng-valid",ee.isValid)("ng-invalid",ee.isInvalid)("ng-pending",ee.isPending)},features:[o.qOj]}),F})(),Ct=(()=>{class F extends ut{constructor(M){super(M)}}return F.\u0275fac=function(M){return new(M||F)(o.Y36(Je,10))},F.\u0275dir=o.lG2({type:F,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(M,ee){2&M&&o.ekj("ng-untouched",ee.isUntouched)("ng-touched",ee.isTouched)("ng-pristine",ee.isPristine)("ng-dirty",ee.isDirty)("ng-valid",ee.isValid)("ng-invalid",ee.isInvalid)("ng-pending",ee.isPending)("ng-submitted",ee.isSubmitted)},features:[o.qOj]}),F})();function An(F,O){return F?`with name: '${O}'`:`at index: ${O}`}const Qt=!1,dr="VALID",fn="INVALID",Hn="PENDING",Kn="DISABLED";function cr(F){return(fr(F)?F.validators:F)||null}function jn(F,O){return(fr(O)?O.asyncValidators:F)||null}function fr(F){return null!=F&&!Array.isArray(F)&&"object"==typeof F}function Pr(F,O,M){const ee=F.controls;if(!(O?Object.keys(ee):ee).length)throw new o.vHH(1e3,Qt?function ar(F){return`\n There are no form controls registered with this ${F?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(O):"");if(!ee[M])throw new o.vHH(1001,Qt?function dn(F,O){return`Cannot find form control ${An(F,O)}`}(O,M):"")}function Fn(F,O,M){F._forEachChild((ee,rt)=>{if(void 0===M[rt])throw new o.vHH(1002,Qt?function lr(F,O){return`Must supply a value for form control ${An(F,O)}`}(O,rt):"")})}class gn{constructor(O,M){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(O),this._assignAsyncValidators(M)}get validator(){return this._composedValidatorFn}set validator(O){this._rawValidators=this._composedValidatorFn=O}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(O){this._rawAsyncValidators=this._composedAsyncValidatorFn=O}get parent(){return this._parent}get valid(){return this.status===dr}get invalid(){return this.status===fn}get pending(){return this.status==Hn}get disabled(){return this.status===Kn}get enabled(){return this.status!==Kn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(O){this._assignValidators(O)}setAsyncValidators(O){this._assignAsyncValidators(O)}addValidators(O){this.setValidators(At(O,this._rawValidators))}addAsyncValidators(O){this.setAsyncValidators(At(O,this._rawAsyncValidators))}removeValidators(O){this.setValidators(Wt(O,this._rawValidators))}removeAsyncValidators(O){this.setAsyncValidators(Wt(O,this._rawAsyncValidators))}hasValidator(O){return dt(this._rawValidators,O)}hasAsyncValidator(O){return dt(this._rawAsyncValidators,O)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(O={}){this.touched=!0,this._parent&&!O.onlySelf&&this._parent.markAsTouched(O)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(O=>O.markAllAsTouched())}markAsUntouched(O={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(M=>{M.markAsUntouched({onlySelf:!0})}),this._parent&&!O.onlySelf&&this._parent._updateTouched(O)}markAsDirty(O={}){this.pristine=!1,this._parent&&!O.onlySelf&&this._parent.markAsDirty(O)}markAsPristine(O={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(M=>{M.markAsPristine({onlySelf:!0})}),this._parent&&!O.onlySelf&&this._parent._updatePristine(O)}markAsPending(O={}){this.status=Hn,!1!==O.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!O.onlySelf&&this._parent.markAsPending(O)}disable(O={}){const M=this._parentMarkedDirty(O.onlySelf);this.status=Kn,this.errors=null,this._forEachChild(ee=>{ee.disable({...O,onlySelf:!0})}),this._updateValue(),!1!==O.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...O,skipPristineCheck:M}),this._onDisabledChange.forEach(ee=>ee(!0))}enable(O={}){const M=this._parentMarkedDirty(O.onlySelf);this.status=dr,this._forEachChild(ee=>{ee.enable({...O,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:O.emitEvent}),this._updateAncestors({...O,skipPristineCheck:M}),this._onDisabledChange.forEach(ee=>ee(!1))}_updateAncestors(O){this._parent&&!O.onlySelf&&(this._parent.updateValueAndValidity(O),O.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(O){this._parent=O}getRawValue(){return this.value}updateValueAndValidity(O={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===dr||this.status===Hn)&&this._runAsyncValidator(O.emitEvent)),!1!==O.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!O.onlySelf&&this._parent.updateValueAndValidity(O)}_updateTreeValidity(O={emitEvent:!0}){this._forEachChild(M=>M._updateTreeValidity(O)),this.updateValueAndValidity({onlySelf:!0,emitEvent:O.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Kn:dr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(O){if(this.asyncValidator){this.status=Hn,this._hasOwnPendingAsyncValidator=!0;const M=ke(this.asyncValidator(this));this._asyncValidationSubscription=M.subscribe(ee=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ee,{emitEvent:O})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(O,M={}){this.errors=O,this._updateControlsErrors(!1!==M.emitEvent)}get(O){let M=O;return null==M||(Array.isArray(M)||(M=M.split(".")),0===M.length)?null:M.reduce((ee,rt)=>ee&&ee._find(rt),this)}getError(O,M){const ee=M?this.get(M):this;return ee&&ee.errors?ee.errors[O]:null}hasError(O,M){return!!this.getError(O,M)}get root(){let O=this;for(;O._parent;)O=O._parent;return O}_updateControlsErrors(O){this.status=this._calculateStatus(),O&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(O)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?Kn:this.errors?fn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Hn)?Hn:this._anyControlsHaveStatus(fn)?fn:dr}_anyControlsHaveStatus(O){return this._anyControls(M=>M.status===O)}_anyControlsDirty(){return this._anyControls(O=>O.dirty)}_anyControlsTouched(){return this._anyControls(O=>O.touched)}_updatePristine(O={}){this.pristine=!this._anyControlsDirty(),this._parent&&!O.onlySelf&&this._parent._updatePristine(O)}_updateTouched(O={}){this.touched=this._anyControlsTouched(),this._parent&&!O.onlySelf&&this._parent._updateTouched(O)}_registerOnCollectionChange(O){this._onCollectionChange=O}_setUpdateStrategy(O){fr(O)&&null!=O.updateOn&&(this._updateOn=O.updateOn)}_parentMarkedDirty(O){return!O&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(O){return null}_assignValidators(O){this._rawValidators=Array.isArray(O)?O.slice():O,this._composedValidatorFn=function vr(F){return Array.isArray(F)?N(F):F||null}(this._rawValidators)}_assignAsyncValidators(O){this._rawAsyncValidators=Array.isArray(O)?O.slice():O,this._composedAsyncValidatorFn=function yr(F){return Array.isArray(F)?se(F):F||null}(this._rawAsyncValidators)}}class Cn extends gn{constructor(O,M,ee){super(cr(M),jn(ee,M)),this.controls=O,this._initObservables(),this._setUpdateStrategy(M),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(O,M){return this.controls[O]?this.controls[O]:(this.controls[O]=M,M.setParent(this),M._registerOnCollectionChange(this._onCollectionChange),M)}addControl(O,M,ee={}){this.registerControl(O,M),this.updateValueAndValidity({emitEvent:ee.emitEvent}),this._onCollectionChange()}removeControl(O,M={}){this.controls[O]&&this.controls[O]._registerOnCollectionChange(()=>{}),delete this.controls[O],this.updateValueAndValidity({emitEvent:M.emitEvent}),this._onCollectionChange()}setControl(O,M,ee={}){this.controls[O]&&this.controls[O]._registerOnCollectionChange(()=>{}),delete this.controls[O],M&&this.registerControl(O,M),this.updateValueAndValidity({emitEvent:ee.emitEvent}),this._onCollectionChange()}contains(O){return this.controls.hasOwnProperty(O)&&this.controls[O].enabled}setValue(O,M={}){Fn(this,!0,O),Object.keys(O).forEach(ee=>{Pr(this,!0,ee),this.controls[ee].setValue(O[ee],{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M)}patchValue(O,M={}){null!=O&&(Object.keys(O).forEach(ee=>{const rt=this.controls[ee];rt&&rt.patchValue(O[ee],{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M))}reset(O={},M={}){this._forEachChild((ee,rt)=>{ee.reset(O[rt],{onlySelf:!0,emitEvent:M.emitEvent})}),this._updatePristine(M),this._updateTouched(M),this.updateValueAndValidity(M)}getRawValue(){return this._reduceChildren({},(O,M,ee)=>(O[ee]=M.getRawValue(),O))}_syncPendingControls(){let O=this._reduceChildren(!1,(M,ee)=>!!ee._syncPendingControls()||M);return O&&this.updateValueAndValidity({onlySelf:!0}),O}_forEachChild(O){Object.keys(this.controls).forEach(M=>{const ee=this.controls[M];ee&&O(ee,M)})}_setUpControls(){this._forEachChild(O=>{O.setParent(this),O._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(O){for(const[M,ee]of Object.entries(this.controls))if(this.contains(M)&&O(ee))return!0;return!1}_reduceValue(){return this._reduceChildren({},(M,ee,rt)=>((ee.enabled||this.disabled)&&(M[rt]=ee.value),M))}_reduceChildren(O,M){let ee=O;return this._forEachChild((rt,Ut)=>{ee=M(ee,rt,Ut)}),ee}_allControlsDisabled(){for(const O of Object.keys(this.controls))if(this.controls[O].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(O){return this.controls.hasOwnProperty(O)?this.controls[O]:null}}class Ze extends Cn{}const Ee=new o.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Ke}),Ke="always";function ot(F,O){return[...O.path,F]}function wt(F,O,M=Ke){hr(F,O),O.valueAccessor.writeValue(F.value),(F.disabled||"always"===M)&&O.valueAccessor.setDisabledState?.(F.disabled),function Sn(F,O){O.valueAccessor.registerOnChange(M=>{F._pendingValue=M,F._pendingChange=!0,F._pendingDirty=!0,"change"===F.updateOn&&_r(F,O)})}(F,O),function pr(F,O){const M=(ee,rt)=>{O.valueAccessor.writeValue(ee),rt&&O.viewToModelUpdate(ee)};F.registerOnChange(M),O._registerOnDestroy(()=>{F._unregisterOnChange(M)})}(F,O),function zn(F,O){O.valueAccessor.registerOnTouched(()=>{F._pendingTouched=!0,"blur"===F.updateOn&&F._pendingChange&&_r(F,O),"submit"!==F.updateOn&&F.markAsTouched()})}(F,O),function Pn(F,O){if(O.valueAccessor.setDisabledState){const M=ee=>{O.valueAccessor.setDisabledState(ee)};F.registerOnDisabledChange(M),O._registerOnDestroy(()=>{F._unregisterOnDisabledChange(M)})}}(F,O)}function Jt(F,O,M=!0){const ee=()=>{};O.valueAccessor&&(O.valueAccessor.registerOnChange(ee),O.valueAccessor.registerOnTouched(ee)),qn(F,O),F&&(O._invokeOnDestroyCallbacks(),F._registerOnCollectionChange(()=>{}))}function Dn(F,O){F.forEach(M=>{M.registerOnValidatorChange&&M.registerOnValidatorChange(O)})}function hr(F,O){const M=Ye(F);null!==O.validator?F.setValidators(ae(M,O.validator)):"function"==typeof M&&F.setValidators([M]);const ee=qe(F);null!==O.asyncValidator?F.setAsyncValidators(ae(ee,O.asyncValidator)):"function"==typeof ee&&F.setAsyncValidators([ee]);const rt=()=>F.updateValueAndValidity();Dn(O._rawValidators,rt),Dn(O._rawAsyncValidators,rt)}function qn(F,O){let M=!1;if(null!==F){if(null!==O.validator){const rt=Ye(F);if(Array.isArray(rt)&&rt.length>0){const Ut=rt.filter(er=>er!==O.validator);Ut.length!==rt.length&&(M=!0,F.setValidators(Ut))}}if(null!==O.asyncValidator){const rt=qe(F);if(Array.isArray(rt)&&rt.length>0){const Ut=rt.filter(er=>er!==O.asyncValidator);Ut.length!==rt.length&&(M=!0,F.setAsyncValidators(Ut))}}}const ee=()=>{};return Dn(O._rawValidators,ee),Dn(O._rawAsyncValidators,ee),M}function _r(F,O){F._pendingDirty&&F.markAsDirty(),F.setValue(F._pendingValue,{emitModelToViewChange:!1}),O.viewToModelUpdate(F._pendingValue),F._pendingChange=!1}function vn(F,O){if(!F.hasOwnProperty("model"))return!1;const M=F.model;return!!M.isFirstChange()||!Object.is(O,M.currentValue)}function Et(F,O){if(!O)return null;let M,ee,rt;return Array.isArray(O),O.forEach(Ut=>{Ut.constructor===de?M=Ut:function Un(F){return Object.getPrototypeOf(F.constructor)===R}(Ut)?ee=Ut:rt=Ut}),rt||ee||M||null}function A(F,O){const M=F.indexOf(O);M>-1&&F.splice(M,1)}function G(F){return"object"==typeof F&&null!==F&&2===Object.keys(F).length&&"value"in F&&"disabled"in F}const me=class extends gn{constructor(O=null,M,ee){super(cr(M),jn(ee,M)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(O),this._setUpdateStrategy(M),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),fr(M)&&(M.nonNullable||M.initialValueIsDefault)&&(this.defaultValue=G(O)?O.value:O)}setValue(O,M={}){this.value=this._pendingValue=O,this._onChange.length&&!1!==M.emitModelToViewChange&&this._onChange.forEach(ee=>ee(this.value,!1!==M.emitViewToModelChange)),this.updateValueAndValidity(M)}patchValue(O,M={}){this.setValue(O,M)}reset(O=this.defaultValue,M={}){this._applyFormState(O),this.markAsPristine(M),this.markAsUntouched(M),this.setValue(this.value,M),this._pendingChange=!1}_updateValue(){}_anyControls(O){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(O){this._onChange.push(O)}_unregisterOnChange(O){A(this._onChange,O)}registerOnDisabledChange(O){this._onDisabledChange.push(O)}_unregisterOnDisabledChange(O){A(this._onDisabledChange,O)}_forEachChild(O){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(O){G(O)?(this.value=this._pendingValue=O.value,O.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=O}},ze={provide:Xe,useExisting:(0,o.Gpc)(()=>Oe)},Fe=(()=>Promise.resolve())();let Oe=(()=>{class F extends Xe{constructor(M,ee,rt,Ut,er,ct){super(),this._changeDetectorRef=er,this.callSetDisabledState=ct,this.control=new me,this._registered=!1,this.update=new o.vpe,this._parent=M,this._setValidators(ee),this._setAsyncValidators(rt),this.valueAccessor=Et(0,Ut)}ngOnChanges(M){if(this._checkForErrors(),!this._registered||"name"in M){if(this._registered&&(this._checkName(),this.formDirective)){const ee=M.name.previousValue;this.formDirective.removeControl({name:ee,path:this._getPath(ee)})}this._setUpControl()}"isDisabled"in M&&this._updateDisabled(M),vn(M,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(M){this.viewModel=M,this.update.emit(M)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){wt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(M){Fe.then(()=>{this.control.setValue(M,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(M){const ee=M.isDisabled.currentValue,rt=0!==ee&&(0,o.D6c)(ee);Fe.then(()=>{rt&&!this.control.disabled?this.control.disable():!rt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(M){return this._parent?ot(M,this._parent):[M]}}return F.\u0275fac=function(M){return new(M||F)(o.Y36(Je,9),o.Y36(pe,10),o.Y36(be,10),o.Y36(Y,10),o.Y36(o.sBO,8),o.Y36(Ee,8))},F.\u0275dir=o.lG2({type:F,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o._Bn([ze]),o.qOj,o.TTD]}),F})(),et=(()=>{class F{}return F.\u0275fac=function(M){return new(M||F)},F.\u0275dir=o.lG2({type:F,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),F})(),Ft=(()=>{class F{}return F.\u0275fac=function(M){return new(M||F)},F.\u0275mod=o.oAB({type:F}),F.\u0275inj=o.cJS({}),F})();const D=new o.OlP("NgModelWithFormControlWarning"),nn={provide:Je,useExisting:(0,o.Gpc)(()=>qt)};let qt=(()=>{class F extends Je{constructor(M,ee,rt){super(),this.callSetDisabledState=rt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.vpe,this._setValidators(M),this._setAsyncValidators(ee)}ngOnChanges(M){this._checkFormPresent(),M.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(qn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(M){const ee=this.form.get(M.path);return wt(ee,M,this.callSetDisabledState),ee.updateValueAndValidity({emitEvent:!1}),this.directives.push(M),ee}getControl(M){return this.form.get(M.path)}removeControl(M){Jt(M.control||null,M,!1),function Mt(F,O){const M=F.indexOf(O);M>-1&&F.splice(M,1)}(this.directives,M)}addFormGroup(M){this._setUpFormContainer(M)}removeFormGroup(M){this._cleanUpFormContainer(M)}getFormGroup(M){return this.form.get(M.path)}addFormArray(M){this._setUpFormContainer(M)}removeFormArray(M){this._cleanUpFormContainer(M)}getFormArray(M){return this.form.get(M.path)}updateModel(M,ee){this.form.get(M.path).setValue(ee)}onSubmit(M){return this.submitted=!0,function kn(F,O){F._syncPendingControls(),O.forEach(M=>{const ee=M.control;"submit"===ee.updateOn&&ee._pendingChange&&(M.viewToModelUpdate(ee._pendingValue),ee._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(M),"dialog"===M?.target?.method}onReset(){this.resetForm()}resetForm(M){this.form.reset(M),this.submitted=!1}_updateDomValue(){this.directives.forEach(M=>{const ee=M.control,rt=this.form.get(M.path);ee!==rt&&(Jt(ee||null,M),(F=>F instanceof me)(rt)&&(wt(rt,M,this.callSetDisabledState),M.control=rt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(M){const ee=this.form.get(M.path);(function Ln(F,O){hr(F,O)})(ee,M),ee.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(M){if(this.form){const ee=this.form.get(M.path);ee&&function rn(F,O){return qn(F,O)}(ee,M)&&ee.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){hr(this.form,this),this._oldForm&&qn(this._oldForm,this)}_checkFormPresent(){}}return F.\u0275fac=function(M){return new(M||F)(o.Y36(pe,10),o.Y36(be,10),o.Y36(Ee,8))},F.\u0275dir=o.lG2({type:F,selectors:[["","formGroup",""]],hostBindings:function(M,ee){1&M&&o.NdJ("submit",function(Ut){return ee.onSubmit(Ut)})("reset",function(){return ee.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([nn]),o.qOj,o.TTD]}),F})();const Kr={provide:Xe,useExisting:(0,o.Gpc)(()=>Dr)};let Dr=(()=>{class F extends Xe{set isDisabled(M){}constructor(M,ee,rt,Ut,er){super(),this._ngModelWarningConfig=er,this._added=!1,this.update=new o.vpe,this._ngModelWarningSent=!1,this._parent=M,this._setValidators(ee),this._setAsyncValidators(rt),this.valueAccessor=Et(0,Ut)}ngOnChanges(M){this._added||this._setUpControl(),vn(M,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(M){this.viewModel=M,this.update.emit(M)}get path(){return ot(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return F._ngModelWarningSentOnce=!1,F.\u0275fac=function(M){return new(M||F)(o.Y36(Je,13),o.Y36(pe,10),o.Y36(be,10),o.Y36(Y,10),o.Y36(D,8))},F.\u0275dir=o.lG2({type:F,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[o._Bn([Kr]),o.qOj,o.TTD]}),F})();function No(F){return"number"==typeof F?F:parseFloat(F)}let Rr=(()=>{class F{constructor(){this._validator=Be}ngOnChanges(M){if(this.inputName in M){const ee=this.normalizeInput(M[this.inputName].currentValue);this._enabled=this.enabled(ee),this._validator=this._enabled?this.createValidator(ee):Be,this._onChange&&this._onChange()}}validate(M){return this._validator(M)}registerOnValidatorChange(M){this._onChange=M}enabled(M){return null!=M}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275dir=o.lG2({type:F,features:[o.TTD]}),F})();const ur={provide:pe,useExisting:(0,o.Gpc)(()=>ci),multi:!0};let ci=(()=>{class F extends Rr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=M=>No(M),this.createValidator=M=>function Pe(F){return O=>{if(ce(O.value)||ce(F))return null;const M=parseFloat(O.value);return!isNaN(M)&&M>F?{max:{max:F,actual:O.value}}:null}}(M)}}return F.\u0275fac=function(){let O;return function(ee){return(O||(O=o.n5z(F)))(ee||F)}}(),F.\u0275dir=o.lG2({type:F,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(M,ee){2&M&&o.uIk("max",ee._enabled?ee.max:null)},inputs:{max:"max"},features:[o._Bn([ur]),o.qOj]}),F})();const ko={provide:pe,useExisting:(0,o.Gpc)(()=>So),multi:!0};let So=(()=>{class F extends Rr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=M=>No(M),this.createValidator=M=>function Le(F){return O=>{if(ce(O.value)||ce(F))return null;const M=parseFloat(O.value);return!isNaN(M)&&MIr),multi:!0};let Ir=(()=>{class F extends Rr{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=M=>function Yr(F){return"number"==typeof F?F:parseInt(F,10)}(M),this.createValidator=M=>function _e(F){return O=>function W(F){return null!=F&&"number"==typeof F.length}(O.value)&&O.value.length>F?{maxlength:{requiredLength:F,actualLength:O.value.length}}:null}(M)}}return F.\u0275fac=function(){let O;return function(ee){return(O||(O=o.n5z(F)))(ee||F)}}(),F.\u0275dir=o.lG2({type:F,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(M,ee){2&M&&o.uIk("maxlength",ee._enabled?ee.maxlength:null)},inputs:{maxlength:"maxlength"},features:[o._Bn([To]),o.qOj]}),F})(),ho=(()=>{class F{}return F.\u0275fac=function(M){return new(M||F)},F.\u0275mod=o.oAB({type:F}),F.\u0275inj=o.cJS({imports:[Ft]}),F})();class po extends gn{constructor(O,M,ee){super(cr(M),jn(ee,M)),this.controls=O,this._initObservables(),this._setUpdateStrategy(M),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(O){return this.controls[this._adjustIndex(O)]}push(O,M={}){this.controls.push(O),this._registerControl(O),this.updateValueAndValidity({emitEvent:M.emitEvent}),this._onCollectionChange()}insert(O,M,ee={}){this.controls.splice(O,0,M),this._registerControl(M),this.updateValueAndValidity({emitEvent:ee.emitEvent})}removeAt(O,M={}){let ee=this._adjustIndex(O);ee<0&&(ee=0),this.controls[ee]&&this.controls[ee]._registerOnCollectionChange(()=>{}),this.controls.splice(ee,1),this.updateValueAndValidity({emitEvent:M.emitEvent})}setControl(O,M,ee={}){let rt=this._adjustIndex(O);rt<0&&(rt=0),this.controls[rt]&&this.controls[rt]._registerOnCollectionChange(()=>{}),this.controls.splice(rt,1),M&&(this.controls.splice(rt,0,M),this._registerControl(M)),this.updateValueAndValidity({emitEvent:ee.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(O,M={}){Fn(this,!1,O),O.forEach((ee,rt)=>{Pr(this,!1,rt),this.at(rt).setValue(ee,{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M)}patchValue(O,M={}){null!=O&&(O.forEach((ee,rt)=>{this.at(rt)&&this.at(rt).patchValue(ee,{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M))}reset(O=[],M={}){this._forEachChild((ee,rt)=>{ee.reset(O[rt],{onlySelf:!0,emitEvent:M.emitEvent})}),this._updatePristine(M),this._updateTouched(M),this.updateValueAndValidity(M)}getRawValue(){return this.controls.map(O=>O.getRawValue())}clear(O={}){this.controls.length<1||(this._forEachChild(M=>M._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:O.emitEvent}))}_adjustIndex(O){return O<0?O+this.length:O}_syncPendingControls(){let O=this.controls.reduce((M,ee)=>!!ee._syncPendingControls()||M,!1);return O&&this.updateValueAndValidity({onlySelf:!0}),O}_forEachChild(O){this.controls.forEach((M,ee)=>{O(M,ee)})}_updateValue(){this.value=this.controls.filter(O=>O.enabled||this.disabled).map(O=>O.value)}_anyControls(O){return this.controls.some(M=>M.enabled&&O(M))}_setUpControls(){this._forEachChild(O=>this._registerControl(O))}_allControlsDisabled(){for(const O of this.controls)if(O.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(O){O.setParent(this),O._registerOnCollectionChange(this._onCollectionChange)}_find(O){return this.at(O)??null}}function kr(F){return!!F&&(void 0!==F.asyncValidators||void 0!==F.validators||void 0!==F.updateOn)}let eo=(()=>{class F{constructor(){this.useNonNullable=!1}get nonNullable(){const M=new F;return M.useNonNullable=!0,M}group(M,ee=null){const rt=this._reduceControls(M);let Ut={};return kr(ee)?Ut=ee:null!==ee&&(Ut.validators=ee.validator,Ut.asyncValidators=ee.asyncValidator),new Cn(rt,Ut)}record(M,ee=null){const rt=this._reduceControls(M);return new Ze(rt,ee)}control(M,ee,rt){let Ut={};return this.useNonNullable?(kr(ee)?Ut=ee:(Ut.validators=ee,Ut.asyncValidators=rt),new me(M,{...Ut,nonNullable:!0})):new me(M,ee,rt)}array(M,ee,rt){const Ut=M.map(er=>this._createControl(er));return new po(Ut,ee,rt)}_reduceControls(M){const ee={};return Object.keys(M).forEach(rt=>{ee[rt]=this._createControl(M[rt])}),ee}_createControl(M){return M instanceof me||M instanceof gn?M:Array.isArray(M)?this.control(M[0],M.length>1?M[1]:null,M.length>2?M[2]:null):this.control(M)}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275prov=o.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),sn=(()=>{class F{static withConfig(M){return{ngModule:F,providers:[{provide:Ee,useValue:M.callSetDisabledState??Ke}]}}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275mod=o.oAB({type:F}),F.\u0275inj=o.cJS({imports:[ho]}),F})(),fi=(()=>{class F{static withConfig(M){return{ngModule:F,providers:[{provide:D,useValue:M.warnOnNgModelWithFormControl??"always"},{provide:Ee,useValue:M.callSetDisabledState??Ke}]}}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275mod=o.oAB({type:F}),F.\u0275inj=o.cJS({imports:[ho]}),F})()},1481:(pt,Re,g)=>{"use strict";g.d(Re,{Dx:()=>bn,b2:()=>Xt,q6:()=>Yt});var o=g(6895),r=g(4650);class B extends o.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class V extends B{static makeCurrent(){(0,o.HT)(new V)}onAndCancel($e,Ee,Ke){return $e.addEventListener(Ee,Ke,!1),()=>{$e.removeEventListener(Ee,Ke,!1)}}dispatchEvent($e,Ee){$e.dispatchEvent(Ee)}remove($e){$e.parentNode&&$e.parentNode.removeChild($e)}createElement($e,Ee){return(Ee=Ee||this.getDefaultDocument()).createElement($e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode($e){return $e.nodeType===Node.ELEMENT_NODE}isShadowRoot($e){return $e instanceof DocumentFragment}getGlobalEventTarget($e,Ee){return"window"===Ee?window:"document"===Ee?$e:"body"===Ee?$e.body:null}getBaseHref($e){const Ee=function P(){return te=te||document.querySelector("base"),te?te.getAttribute("href"):null}();return null==Ee?null:function Y(Ze){R=R||document.createElement("a"),R.setAttribute("href",Ze);const $e=R.pathname;return"/"===$e.charAt(0)?$e:`/${$e}`}(Ee)}resetBaseElement(){te=null}getUserAgent(){return window.navigator.userAgent}getCookie($e){return(0,o.Mx)(document.cookie,$e)}}let R,te=null;const ne=new r.OlP("TRANSITION_ID"),Z=[{provide:r.ip1,useFactory:function he(Ze,$e,Ee){return()=>{Ee.get(r.CZH).donePromise.then(()=>{const Ke=(0,o.q)(),ot=$e.querySelectorAll(`style[ng-transition="${Ze}"]`);for(let wt=0;wt{class Ze{build(){return new XMLHttpRequest}}return Ze.\u0275fac=function(Ee){return new(Ee||Ze)},Ze.\u0275prov=r.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const de=new r.OlP("EventManagerPlugins");let re=(()=>{class Ze{constructor(Ee,Ke){this._zone=Ke,this._eventNameToPlugin=new Map,Ee.forEach(ot=>{ot.manager=this}),this._plugins=Ee.slice().reverse()}addEventListener(Ee,Ke,ot){return this._findPluginFor(Ke).addEventListener(Ee,Ke,ot)}addGlobalEventListener(Ee,Ke,ot){return this._findPluginFor(Ke).addGlobalEventListener(Ee,Ke,ot)}getZone(){return this._zone}_findPluginFor(Ee){const Ke=this._eventNameToPlugin.get(Ee);if(Ke)return Ke;const ot=this._plugins;for(let wt=0;wt{class Ze{constructor(){this.usageCount=new Map}addStyles(Ee){for(const Ke of Ee)1===this.changeUsageCount(Ke,1)&&this.onStyleAdded(Ke)}removeStyles(Ee){for(const Ke of Ee)0===this.changeUsageCount(Ke,-1)&&this.onStyleRemoved(Ke)}onStyleRemoved(Ee){}onStyleAdded(Ee){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(Ee,Ke){const ot=this.usageCount;let wt=ot.get(Ee)??0;return wt+=Ke,wt>0?ot.set(Ee,wt):ot.delete(Ee),wt}ngOnDestroy(){for(const Ee of this.getAllStyles())this.onStyleRemoved(Ee);this.usageCount.clear()}}return Ze.\u0275fac=function(Ee){return new(Ee||Ze)},Ze.\u0275prov=r.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})(),pe=(()=>{class Ze extends W{constructor(Ee){super(),this.doc=Ee,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(Ee){for(const Ke of this.hostNodes)this.addStyleToHost(Ke,Ee)}onStyleRemoved(Ee){const Ke=this.styleRef;Ke.get(Ee)?.forEach(wt=>wt.remove()),Ke.delete(Ee)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(Ee){this.hostNodes.add(Ee);for(const Ke of this.getAllStyles())this.addStyleToHost(Ee,Ke)}removeHost(Ee){this.hostNodes.delete(Ee)}addStyleToHost(Ee,Ke){const ot=this.doc.createElement("style");ot.textContent=Ke,Ee.appendChild(ot);const wt=this.styleRef.get(Ke);wt?wt.push(ot):this.styleRef.set(Ke,[ot])}resetHostNodes(){const Ee=this.hostNodes;Ee.clear(),Ee.add(this.doc.head)}}return Ze.\u0275fac=function(Ee){return new(Ee||Ze)(r.LFG(o.K0))},Ze.\u0275prov=r.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const be={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/MathML/"},Ve=/%COMP%/g,X=new r.OlP("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function Te(Ze,$e){return $e.flat(100).map(Ee=>Ee.replace(Ve,Ze))}function Be(Ze){return $e=>{if("__ngUnwrap__"===$e)return Ze;!1===Ze($e)&&($e.preventDefault(),$e.returnValue=!1)}}let ie=(()=>{class Ze{constructor(Ee,Ke,ot,wt){this.eventManager=Ee,this.sharedStylesHost=Ke,this.appId=ot,this.removeStylesOnCompDestory=wt,this.rendererByCompId=new Map,this.defaultRenderer=new ke(Ee)}createRenderer(Ee,Ke){if(!Ee||!Ke)return this.defaultRenderer;const ot=this.getOrCreateRenderer(Ee,Ke);return ot instanceof N?ot.applyToHost(Ee):ot instanceof C&&ot.applyStyles(),ot}getOrCreateRenderer(Ee,Ke){const ot=this.rendererByCompId;let wt=ot.get(Ke.id);if(!wt){const Jt=this.eventManager,Dn=this.sharedStylesHost,Pn=this.removeStylesOnCompDestory;switch(Ke.encapsulation){case r.ifc.Emulated:wt=new N(Jt,Dn,Ke,this.appId,Pn);break;case r.ifc.ShadowDom:return new z(Jt,Dn,Ee,Ke);default:wt=new C(Jt,Dn,Ke,Pn)}wt.onDestroy=()=>ot.delete(Ke.id),ot.set(Ke.id,wt)}return wt}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return Ze.\u0275fac=function(Ee){return new(Ee||Ze)(r.LFG(re),r.LFG(pe),r.LFG(r.AFp),r.LFG(X))},Ze.\u0275prov=r.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();class ke{constructor($e){this.eventManager=$e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement($e,Ee){return Ee?document.createElementNS(be[Ee]||Ee,$e):document.createElement($e)}createComment($e){return document.createComment($e)}createText($e){return document.createTextNode($e)}appendChild($e,Ee){(ve($e)?$e.content:$e).appendChild(Ee)}insertBefore($e,Ee,Ke){$e&&(ve($e)?$e.content:$e).insertBefore(Ee,Ke)}removeChild($e,Ee){$e&&$e.removeChild(Ee)}selectRootElement($e,Ee){let Ke="string"==typeof $e?document.querySelector($e):$e;if(!Ke)throw new Error(`The selector "${$e}" did not match any elements`);return Ee||(Ke.textContent=""),Ke}parentNode($e){return $e.parentNode}nextSibling($e){return $e.nextSibling}setAttribute($e,Ee,Ke,ot){if(ot){Ee=ot+":"+Ee;const wt=be[ot];wt?$e.setAttributeNS(wt,Ee,Ke):$e.setAttribute(Ee,Ke)}else $e.setAttribute(Ee,Ke)}removeAttribute($e,Ee,Ke){if(Ke){const ot=be[Ke];ot?$e.removeAttributeNS(ot,Ee):$e.removeAttribute(`${Ke}:${Ee}`)}else $e.removeAttribute(Ee)}addClass($e,Ee){$e.classList.add(Ee)}removeClass($e,Ee){$e.classList.remove(Ee)}setStyle($e,Ee,Ke,ot){ot&(r.JOm.DashCase|r.JOm.Important)?$e.style.setProperty(Ee,Ke,ot&r.JOm.Important?"important":""):$e.style[Ee]=Ke}removeStyle($e,Ee,Ke){Ke&r.JOm.DashCase?$e.style.removeProperty(Ee):$e.style[Ee]=""}setProperty($e,Ee,Ke){$e[Ee]=Ke}setValue($e,Ee){$e.nodeValue=Ee}listen($e,Ee,Ke){return"string"==typeof $e?this.eventManager.addGlobalEventListener($e,Ee,Be(Ke)):this.eventManager.addEventListener($e,Ee,Be(Ke))}}function ve(Ze){return"TEMPLATE"===Ze.tagName&&void 0!==Ze.content}class z extends ke{constructor($e,Ee,Ke,ot){super($e),this.sharedStylesHost=Ee,this.hostEl=Ke,this.shadowRoot=Ke.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const wt=Te(ot.id,ot.styles);for(const Jt of wt){const Dn=document.createElement("style");Dn.textContent=Jt,this.shadowRoot.appendChild(Dn)}}nodeOrShadowRoot($e){return $e===this.hostEl?this.shadowRoot:$e}appendChild($e,Ee){return super.appendChild(this.nodeOrShadowRoot($e),Ee)}insertBefore($e,Ee,Ke){return super.insertBefore(this.nodeOrShadowRoot($e),Ee,Ke)}removeChild($e,Ee){return super.removeChild(this.nodeOrShadowRoot($e),Ee)}parentNode($e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot($e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class C extends ke{constructor($e,Ee,Ke,ot,wt=Ke.id){super($e),this.sharedStylesHost=Ee,this.removeStylesOnCompDestory=ot,this.rendererUsageCount=0,this.styles=Te(wt,Ke.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class N extends C{constructor($e,Ee,Ke,ot,wt){const Jt=ot+"-"+Ke.id;super($e,Ee,Ke,wt,Jt),this.contentAttr=function Ce(Ze){return"_ngcontent-%COMP%".replace(Ve,Ze)}(Jt),this.hostAttr=function _e(Ze){return"_nghost-%COMP%".replace(Ve,Ze)}(Jt)}applyToHost($e){this.applyStyles(),this.setAttribute($e,this.hostAttr,"")}createElement($e,Ee){const Ke=super.createElement($e,Ee);return super.setAttribute(Ke,this.contentAttr,""),Ke}}let k=(()=>{class Ze extends ce{constructor(Ee){super(Ee)}supports(Ee){return!0}addEventListener(Ee,Ke,ot){return Ee.addEventListener(Ke,ot,!1),()=>this.removeEventListener(Ee,Ke,ot)}removeEventListener(Ee,Ke,ot){return Ee.removeEventListener(Ke,ot)}}return Ze.\u0275fac=function(Ee){return new(Ee||Ze)(r.LFG(o.K0))},Ze.\u0275prov=r.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const se=["alt","control","meta","shift"],ae={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ye={alt:Ze=>Ze.altKey,control:Ze=>Ze.ctrlKey,meta:Ze=>Ze.metaKey,shift:Ze=>Ze.shiftKey};let qe=(()=>{class Ze extends ce{constructor(Ee){super(Ee)}supports(Ee){return null!=Ze.parseEventName(Ee)}addEventListener(Ee,Ke,ot){const wt=Ze.parseEventName(Ke),Jt=Ze.eventCallback(wt.fullKey,ot,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.q)().onAndCancel(Ee,wt.domEventName,Jt))}static parseEventName(Ee){const Ke=Ee.toLowerCase().split("."),ot=Ke.shift();if(0===Ke.length||"keydown"!==ot&&"keyup"!==ot)return null;const wt=Ze._normalizeKey(Ke.pop());let Jt="",Dn=Ke.indexOf("code");if(Dn>-1&&(Ke.splice(Dn,1),Jt="code."),se.forEach(hr=>{const qn=Ke.indexOf(hr);qn>-1&&(Ke.splice(qn,1),Jt+=hr+".")}),Jt+=wt,0!=Ke.length||0===wt.length)return null;const Pn={};return Pn.domEventName=ot,Pn.fullKey=Jt,Pn}static matchEventFullKeyCode(Ee,Ke){let ot=ae[Ee.key]||Ee.key,wt="";return Ke.indexOf("code.")>-1&&(ot=Ee.code,wt="code."),!(null==ot||!ot)&&(ot=ot.toLowerCase()," "===ot?ot="space":"."===ot&&(ot="dot"),se.forEach(Jt=>{Jt!==ot&&(0,Ye[Jt])(Ee)&&(wt+=Jt+".")}),wt+=ot,wt===Ke)}static eventCallback(Ee,Ke,ot){return wt=>{Ze.matchEventFullKeyCode(wt,Ee)&&ot.runGuarded(()=>Ke(wt))}}static _normalizeKey(Ee){return"esc"===Ee?"escape":Ee}}return Ze.\u0275fac=function(Ee){return new(Ee||Ze)(r.LFG(o.K0))},Ze.\u0275prov=r.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const Yt=(0,r.eFA)(r._c5,"browser",[{provide:r.Lbi,useValue:o.bD},{provide:r.g9A,useValue:function Je(){V.makeCurrent()},multi:!0},{provide:o.K0,useFactory:function ut(){return(0,r.RDi)(document),document},deps:[]}]),Zt=new r.OlP(""),Ct=[{provide:r.rWj,useClass:class oe{addToWindow($e){r.dqk.getAngularTestability=(Ke,ot=!0)=>{const wt=$e.findTestabilityInTree(Ke,ot);if(null==wt)throw new Error("Could not find testability for element.");return wt},r.dqk.getAllAngularTestabilities=()=>$e.getAllTestabilities(),r.dqk.getAllAngularRootElements=()=>$e.getAllRootElements(),r.dqk.frameworkStabilizers||(r.dqk.frameworkStabilizers=[]),r.dqk.frameworkStabilizers.push(Ke=>{const ot=r.dqk.getAllAngularTestabilities();let wt=ot.length,Jt=!1;const Dn=function(Pn){Jt=Jt||Pn,wt--,0==wt&&Ke(Jt)};ot.forEach(function(Pn){Pn.whenStable(Dn)})})}findTestabilityInTree($e,Ee,Ke){return null==Ee?null:$e.getTestability(Ee)??(Ke?(0,o.q)().isShadowRoot(Ee)?this.findTestabilityInTree($e,Ee.host,!0):this.findTestabilityInTree($e,Ee.parentElement,!0):null)}},deps:[]},{provide:r.lri,useClass:r.dDg,deps:[r.R0b,r.eoX,r.rWj]},{provide:r.dDg,useClass:r.dDg,deps:[r.R0b,r.eoX,r.rWj]}],en=[{provide:r.zSh,useValue:"root"},{provide:r.qLn,useFactory:function Xe(){return new r.qLn},deps:[]},{provide:de,useClass:k,multi:!0,deps:[o.K0,r.R0b,r.Lbi]},{provide:de,useClass:qe,multi:!0,deps:[o.K0]},{provide:ie,useClass:ie,deps:[re,pe,r.AFp,X]},{provide:r.FYo,useExisting:ie},{provide:W,useExisting:pe},{provide:pe,useClass:pe,deps:[o.K0]},{provide:re,useClass:re,deps:[de,r.R0b]},{provide:o.JF,useClass:ye,deps:[]},[]];let Xt=(()=>{class Ze{constructor(Ee){}static withServerTransition(Ee){return{ngModule:Ze,providers:[{provide:r.AFp,useValue:Ee.appId},{provide:ne,useExisting:r.AFp},Z]}}}return Ze.\u0275fac=function(Ee){return new(Ee||Ze)(r.LFG(Zt,12))},Ze.\u0275mod=r.oAB({type:Ze}),Ze.\u0275inj=r.cJS({providers:[...en,...Ct],imports:[o.ez,r.hGG]}),Ze})(),bn=(()=>{class Ze{constructor(Ee){this._doc=Ee}getTitle(){return this._doc.title}setTitle(Ee){this._doc.title=Ee||""}}return Ze.\u0275fac=function(Ee){return new(Ee||Ze)(r.LFG(o.K0))},Ze.\u0275prov=r.Yz7({token:Ze,factory:function(Ee){let Ke=null;return Ke=Ee?new Ee:function _n(){return new bn((0,r.LFG)(o.K0))}(),Ke},providedIn:"root"}),Ze})();typeof window<"u"&&window},6159:(pt,Re,g)=>{"use strict";g.d(Re,{gz:()=>qt,y6:()=>Yr,OD:()=>I,eC:()=>se,wm:()=>js,wN:()=>Jr,F0:()=>Hr,rH:()=>_i,Bz:()=>sl,Hx:()=>An});var o=g(4650),r=g(2076),B=g(9646),V=g(1135),te=g(6805),P=g(9841),R=g(7272),Y=g(9770),ne=g(9635),he=g(2843),Z=g(9751),oe=g(515),ye=g(4033),de=g(7579),re=g(6895),ce=g(4004),W=g(3900),pe=g(5698),be=g(8675),Ve=g(9300),Me=g(5577),Le=g(590),Pe=g(4351),we=g(8505),j=g(262),X=g(5026),Ce=g(4482),_e=g(5403);function Te(f){return f<=0?()=>oe.E:(0,Ce.e)((m,c)=>{let b=[];m.subscribe((0,_e.x)(c,L=>{b.push(L),f{for(const L of b)c.next(L);c.complete()},void 0,()=>{b=null}))})}var Be=g(8068),ie=g(6590),ke=g(4671);function We(f,m){const c=arguments.length>=2;return b=>b.pipe(f?(0,Ve.h)((L,q)=>f(L,q,b)):ke.y,Te(1),c?(0,ie.d)(m):(0,Be.T)(()=>new te.K))}var ve=g(9718),z=g(8746),C=g(8343),N=g(8189),k=g(1481);const se="primary",ae=Symbol("RouteTitle");class Ye{constructor(m){this.params=m||{}}has(m){return Object.prototype.hasOwnProperty.call(this.params,m)}get(m){if(this.has(m)){const c=this.params[m];return Array.isArray(c)?c[0]:c}return null}getAll(m){if(this.has(m)){const c=this.params[m];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function qe(f){return new Ye(f)}function gt(f,m,c){const b=c.path.split("/");if(b.length>f.length||"full"===c.pathMatch&&(m.hasChildren()||b.lengthb[q]===L)}return f===m}function at(f){return Array.prototype.concat.apply([],f)}function Je(f){return f.length>0?f[f.length-1]:null}function ut(f,m){for(const c in f)f.hasOwnProperty(c)&&m(f[c],c)}function Lt(f){return(0,o.CqO)(f)?f:(0,o.QGY)(f)?(0,r.D)(Promise.resolve(f)):(0,B.of)(f)}const Yt=!1,Zt={exact:function Mn(f,m,c){if(!pn(f.segments,m.segments)||!bn(f.segments,m.segments,c)||f.numberOfChildren!==m.numberOfChildren)return!1;for(const b in m.children)if(!f.children[b]||!Mn(f.children[b],m.children[b],c))return!1;return!0},subset:sr},Ct={exact:function Xt(f,m){return At(f,m)},subset:function On(f,m){return Object.keys(m).length<=Object.keys(f).length&&Object.keys(m).every(c=>Wt(f[c],m[c]))},ignored:()=>!0};function en(f,m,c){return Zt[c.paths](f.root,m.root,c.matrixParams)&&Ct[c.queryParams](f.queryParams,m.queryParams)&&!("exact"===c.fragment&&f.fragment!==m.fragment)}function sr(f,m,c){return _n(f,m,m.segments,c)}function _n(f,m,c,b){if(f.segments.length>c.length){const L=f.segments.slice(0,c.length);return!(!pn(L,c)||m.hasChildren()||!bn(L,c,b))}if(f.segments.length===c.length){if(!pn(f.segments,c)||!bn(f.segments,c,b))return!1;for(const L in m.children)if(!f.children[L]||!sr(f.children[L],m.children[L],b))return!1;return!0}{const L=c.slice(0,f.segments.length),q=c.slice(f.segments.length);return!!(pn(f.segments,L)&&bn(f.segments,L,b)&&f.children[se])&&_n(f.children[se],m,q,b)}}function bn(f,m,c){return m.every((b,L)=>Ct[c](f[L].parameters,b.parameters))}class Nt{constructor(m=new Dt([],{}),c={},b=null){this.root=m,this.queryParams=c,this.fragment=b}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=qe(this.queryParams)),this._queryParamMap}toString(){return dn.serialize(this)}}class Dt{constructor(m,c){this.segments=m,this.children=c,this.parent=null,ut(c,(b,L)=>b.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return lr(this)}}class Qn{constructor(m,c){this.path=m,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=qe(this.parameters)),this._parameterMap}toString(){return jn(this)}}function pn(f,m){return f.length===m.length&&f.every((c,b)=>c.path===m[b].path)}let An=(()=>{class f{}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=o.Yz7({token:f,factory:function(){return new ar},providedIn:"root"}),f})();class ar{parse(m){const c=new Ze(m);return new Nt(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(m){const c=`/${Qt(m.root,!0)}`,b=function fr(f){const m=Object.keys(f).map(c=>{const b=f[c];return Array.isArray(b)?b.map(L=>`${fn(c)}=${fn(L)}`).join("&"):`${fn(c)}=${fn(b)}`}).filter(c=>!!c);return m.length?`?${m.join("&")}`:""}(m.queryParams);return`${c}${b}${"string"==typeof m.fragment?`#${function Hn(f){return encodeURI(f)}(m.fragment)}`:""}`}}const dn=new ar;function lr(f){return f.segments.map(m=>jn(m)).join("/")}function Qt(f,m){if(!f.hasChildren())return lr(f);if(m){const c=f.children[se]?Qt(f.children[se],!1):"",b=[];return ut(f.children,(L,q)=>{q!==se&&b.push(`${q}:${Qt(L,!1)}`)}),b.length>0?`${c}(${b.join("//")})`:c}{const c=function Xn(f,m){let c=[];return ut(f.children,(b,L)=>{L===se&&(c=c.concat(m(b,L)))}),ut(f.children,(b,L)=>{L!==se&&(c=c.concat(m(b,L)))}),c}(f,(b,L)=>L===se?[Qt(f.children[se],!1)]:[`${L}:${Qt(b,!1)}`]);return 1===Object.keys(f.children).length&&null!=f.children[se]?`${lr(f)}/${c[0]}`:`${lr(f)}/(${c.join("//")})`}}function dr(f){return encodeURIComponent(f).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function fn(f){return dr(f).replace(/%3B/gi,";")}function Kn(f){return dr(f).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function cr(f){return decodeURIComponent(f)}function vr(f){return cr(f.replace(/\+/g,"%20"))}function jn(f){return`${Kn(f.path)}${function yr(f){return Object.keys(f).map(m=>`;${Kn(m)}=${Kn(f[m])}`).join("")}(f.parameters)}`}const Pr=/^[^\/()?;=#]+/;function Fn(f){const m=f.match(Pr);return m?m[0]:""}const gn=/^[^=?&#]+/,mn=/^[^&#]+/;class Ze{constructor(m){this.url=m,this.remaining=m}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Dt([],{}):new Dt([],this.parseChildren())}parseQueryParams(){const m={};if(this.consumeOptional("?"))do{this.parseQueryParam(m)}while(this.consumeOptional("&"));return m}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const m=[];for(this.peekStartsWith("(")||m.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),m.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let b={};return this.peekStartsWith("(")&&(b=this.parseParens(!1)),(m.length>0||Object.keys(c).length>0)&&(b[se]=new Dt(m,c)),b}parseSegment(){const m=Fn(this.remaining);if(""===m&&this.peekStartsWith(";"))throw new o.vHH(4009,Yt);return this.capture(m),new Qn(cr(m),this.parseMatrixParams())}parseMatrixParams(){const m={};for(;this.consumeOptional(";");)this.parseParam(m);return m}parseParam(m){const c=Fn(this.remaining);if(!c)return;this.capture(c);let b="";if(this.consumeOptional("=")){const L=Fn(this.remaining);L&&(b=L,this.capture(b))}m[cr(c)]=cr(b)}parseQueryParam(m){const c=function Cn(f){const m=f.match(gn);return m?m[0]:""}(this.remaining);if(!c)return;this.capture(c);let b="";if(this.consumeOptional("=")){const le=function tn(f){const m=f.match(mn);return m?m[0]:""}(this.remaining);le&&(b=le,this.capture(b))}const L=vr(c),q=vr(b);if(m.hasOwnProperty(L)){let le=m[L];Array.isArray(le)||(le=[le],m[L]=le),le.push(q)}else m[L]=q}parseParens(m){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const b=Fn(this.remaining),L=this.remaining[b.length];if("/"!==L&&")"!==L&&";"!==L)throw new o.vHH(4010,Yt);let q;b.indexOf(":")>-1?(q=b.slice(0,b.indexOf(":")),this.capture(q),this.capture(":")):m&&(q=se);const le=this.parseChildren();c[q]=1===Object.keys(le).length?le[se]:new Dt([],le),this.consumeOptional("//")}return c}peekStartsWith(m){return this.remaining.startsWith(m)}consumeOptional(m){return!!this.peekStartsWith(m)&&(this.remaining=this.remaining.substring(m.length),!0)}capture(m){if(!this.consumeOptional(m))throw new o.vHH(4011,Yt)}}function $e(f){return f.segments.length>0?new Dt([],{[se]:f}):f}function Ee(f){const m={};for(const b of Object.keys(f.children)){const q=Ee(f.children[b]);(q.segments.length>0||q.hasChildren())&&(m[b]=q)}return function Ke(f){if(1===f.numberOfChildren&&f.children[se]){const m=f.children[se];return new Dt(f.segments.concat(m.segments),m.children)}return f}(new Dt(f.segments,m))}function ot(f){return f instanceof Nt}const wt=!1;function hr(f,m,c,b,L){if(0===c.length)return zn(m.root,m.root,m.root,b,L);const q=function Ln(f){if("string"==typeof f[0]&&1===f.length&&"/"===f[0])return new pr(!0,0,f);let m=0,c=!1;const b=f.reduce((L,q,le)=>{if("object"==typeof q&&null!=q){if(q.outlets){const Ge={};return ut(q.outlets,(ht,kt)=>{Ge[kt]="string"==typeof ht?ht.split("/"):ht}),[...L,{outlets:Ge}]}if(q.segmentPath)return[...L,q.segmentPath]}return"string"!=typeof q?[...L,q]:0===le?(q.split("/").forEach((Ge,ht)=>{0==ht&&"."===Ge||(0==ht&&""===Ge?c=!0:".."===Ge?m++:""!=Ge&&L.push(Ge))}),L):[...L,q]},[]);return new pr(c,m,b)}(c);return q.toRoot()?zn(m.root,m.root,new Dt([],{}),b,L):function le(ht){const kt=function Nn(f,m,c,b){if(f.isAbsolute)return new rn(m.root,!0,0);if(-1===b)return new rn(c,c===m.root,0);return function En(f,m,c){let b=f,L=m,q=c;for(;q>L;){if(q-=L,b=b.parent,!b)throw new o.vHH(4005,wt&&"Invalid number of '../'");L=b.segments.length}return new rn(b,!1,L-q)}(c,b+(qn(f.commands[0])?0:1),f.numberOfDoubleDots)}(q,m,f.snapshot?._urlSegment,ht),Bt=kt.processChildren?vn(kt.segmentGroup,kt.index,q.commands):gr(kt.segmentGroup,kt.index,q.commands);return zn(m.root,kt.segmentGroup,Bt,b,L)}(f.snapshot?._lastPathIndex)}function qn(f){return"object"==typeof f&&null!=f&&!f.outlets&&!f.segmentPath}function Sn(f){return"object"==typeof f&&null!=f&&f.outlets}function zn(f,m,c,b,L){let le,q={};b&&ut(b,(ht,kt)=>{q[kt]=Array.isArray(ht)?ht.map(Bt=>`${Bt}`):`${ht}`}),le=f===m?c:_r(f,m,c);const Ge=$e(Ee(le));return new Nt(Ge,q,L)}function _r(f,m,c){const b={};return ut(f.children,(L,q)=>{b[q]=L===m?c:_r(L,m,c)}),new Dt(f.segments,b)}class pr{constructor(m,c,b){if(this.isAbsolute=m,this.numberOfDoubleDots=c,this.commands=b,m&&b.length>0&&qn(b[0]))throw new o.vHH(4003,wt&&"Root segment cannot have matrix parameters");const L=b.find(Sn);if(L&&L!==Je(b))throw new o.vHH(4004,wt&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class rn{constructor(m,c,b){this.segmentGroup=m,this.processChildren=c,this.index=b}}function gr(f,m,c){if(f||(f=new Dt([],{})),0===f.segments.length&&f.hasChildren())return vn(f,m,c);const b=function Un(f,m,c){let b=0,L=m;const q={match:!1,pathIndex:0,commandIndex:0};for(;L=c.length)return q;const le=f.segments[L],Ge=c[b];if(Sn(Ge))break;const ht=`${Ge}`,kt=b0&&void 0===ht)break;if(ht&&kt&&"object"==typeof kt&&void 0===kt.outlets){if(!xn(ht,kt,le))return q;b+=2}else{if(!xn(ht,{},le))return q;b++}L++}return{match:!0,pathIndex:L,commandIndex:b}}(f,m,c),L=c.slice(b.commandIndex);if(b.match&&b.pathIndex{"string"==typeof q&&(q=[q]),null!==q&&(L[le]=gr(f.children[le],m,q))}),ut(f.children,(q,le)=>{void 0===b[le]&&(L[le]=q)}),new Dt(f.segments,L)}}function kn(f,m,c){const b=f.segments.slice(0,m);let L=0;for(;L{"string"==typeof c&&(c=[c]),null!==c&&(m[b]=kn(new Dt([],{}),0,c))}),m}function Mt(f){const m={};return ut(f,(c,b)=>m[b]=`${c}`),m}function xn(f,m,c){return f==c.path&&At(m,c.parameters)}const ge="imperative";class w{constructor(m,c){this.id=m,this.url=c}}class I extends w{constructor(m,c,b="imperative",L=null){super(m,c),this.type=0,this.navigationTrigger=b,this.restoredState=L}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class A extends w{constructor(m,c,b){super(m,c),this.urlAfterRedirects=b,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class G extends w{constructor(m,c,b,L){super(m,c),this.reason=b,this.code=L,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class me extends w{constructor(m,c,b,L){super(m,c),this.reason=b,this.code=L,this.type=16}}class Ie extends w{constructor(m,c,b,L){super(m,c),this.error=b,this.target=L,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ne extends w{constructor(m,c,b,L){super(m,c),this.urlAfterRedirects=b,this.state=L,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tt extends w{constructor(m,c,b,L){super(m,c),this.urlAfterRedirects=b,this.state=L,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lt extends w{constructor(m,c,b,L,q){super(m,c),this.urlAfterRedirects=b,this.state=L,this.shouldActivate=q,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class bt extends w{constructor(m,c,b,L){super(m,c),this.urlAfterRedirects=b,this.state=L,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class S extends w{constructor(m,c,b,L){super(m,c),this.urlAfterRedirects=b,this.state=L,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ${constructor(m){this.route=m,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class fe{constructor(m){this.route=m,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ae{constructor(m){this.snapshot=m,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ze{constructor(m){this.snapshot=m,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Fe{constructor(m){this.snapshot=m,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Oe{constructor(m){this.snapshot=m,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class et{constructor(m,c,b){this.routerEvent=m,this.position=c,this.anchor=b,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let mt=(()=>{class f{createUrlTree(c,b,L,q,le,Ge){return hr(c||b.root,L,q,le,Ge)}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac}),f})(),Ft=(()=>{class f{}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=o.Yz7({token:f,factory:function(m){return mt.\u0275fac(m)},providedIn:"root"}),f})();class on{constructor(m){this._root=m}get root(){return this._root.value}parent(m){const c=this.pathFromRoot(m);return c.length>1?c[c.length-2]:null}children(m){const c=hn(m,this._root);return c?c.children.map(b=>b.value):[]}firstChild(m){const c=hn(m,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(m){const c=h(m,this._root);return c.length<2?[]:c[c.length-2].children.map(L=>L.value).filter(L=>L!==m)}pathFromRoot(m){return h(m,this._root).map(c=>c.value)}}function hn(f,m){if(f===m.value)return m;for(const c of m.children){const b=hn(f,c);if(b)return b}return null}function h(f,m){if(f===m.value)return[m];for(const c of m.children){const b=h(f,c);if(b.length)return b.unshift(m),b}return[]}class K{constructor(m,c){this.value=m,this.children=c}toString(){return`TreeNode(${this.value})`}}function D(f){const m={};return f&&f.children.forEach(c=>m[c.value.outlet]=c),m}class ue extends on{constructor(m,c){super(m),this.snapshot=c,Xr(this,m)}toString(){return this.snapshot.toString()}}function Ue(f,m){const c=function nn(f,m){const le=new Er([],{},{},"",{},se,m,null,f.root,-1,{});return new Io("",new K(le,[]))}(f,m),b=new V.X([new Qn("",{})]),L=new V.X({}),q=new V.X({}),le=new V.X({}),Ge=new V.X(""),ht=new qt(b,L,le,Ge,q,se,m,c.root);return ht.snapshot=c.root,new ue(new K(ht,[]),c)}class qt{constructor(m,c,b,L,q,le,Ge,ht){this.url=m,this.params=c,this.queryParams=b,this.fragment=L,this.data=q,this.outlet=le,this.component=Ge,this.title=this.data?.pipe((0,ce.U)(kt=>kt[ae]))??(0,B.of)(void 0),this._futureSnapshot=ht}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,ce.U)(m=>qe(m)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ce.U)(m=>qe(m)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function br(f,m="emptyOnly"){const c=f.pathFromRoot;let b=0;if("always"!==m)for(b=c.length-1;b>=1;){const L=c[b],q=c[b-1];if(L.routeConfig&&""===L.routeConfig.path)b--;else{if(q.component)break;b--}}return function Cr(f){return f.reduce((m,c)=>({params:{...m.params,...c.params},data:{...m.data,...c.data},resolve:{...c.data,...m.resolve,...c.routeConfig?.data,...c._resolvedData}}),{params:{},data:{},resolve:{}})}(c.slice(b))}class Er{get title(){return this.data?.[ae]}constructor(m,c,b,L,q,le,Ge,ht,kt,Bt,Yn){this.url=m,this.params=c,this.queryParams=b,this.fragment=L,this.data=q,this.outlet=le,this.component=Ge,this.routeConfig=ht,this._urlSegment=kt,this._lastPathIndex=Bt,this._resolve=Yn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=qe(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=qe(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(b=>b.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Io extends on{constructor(m,c){super(c),this.url=m,Xr(this,c)}toString(){return Kr(this._root)}}function Xr(f,m){m.value._routerState=f,m.children.forEach(c=>Xr(f,c))}function Kr(f){const m=f.children.length>0?` { ${f.children.map(Kr).join(", ")} } `:"";return`${f.value}${m}`}function Dr(f){if(f.snapshot){const m=f.snapshot,c=f._futureSnapshot;f.snapshot=c,At(m.queryParams,c.queryParams)||f.queryParams.next(c.queryParams),m.fragment!==c.fragment&&f.fragment.next(c.fragment),At(m.params,c.params)||f.params.next(c.params),function dt(f,m){if(f.length!==m.length)return!1;for(let c=0;cAt(c.parameters,m[b].parameters))}(f.url,m.url);return c&&!(!f.parent!=!m.parent)&&(!f.parent||zo(f.parent,m.parent))}function uo(f,m,c){if(c&&f.shouldReuseRoute(m.value,c.value.snapshot)){const b=c.value;b._futureSnapshot=m.value;const L=function Lo(f,m,c){return m.children.map(b=>{for(const L of c.children)if(f.shouldReuseRoute(b.value,L.value.snapshot))return uo(f,b,L);return uo(f,b)})}(f,m,c);return new K(b,L)}{if(f.shouldAttach(m.value)){const q=f.retrieve(m.value);if(null!==q){const le=q.route;return le.value._futureSnapshot=m.value,le.children=m.children.map(Ge=>uo(f,Ge)),le}}const b=function ai(f){return new qt(new V.X(f.url),new V.X(f.params),new V.X(f.queryParams),new V.X(f.fragment),new V.X(f.data),f.outlet,f.component,f)}(m.value),L=m.children.map(q=>uo(f,q));return new K(b,L)}}const Ai="ngNavigationCancelingError";function li(f,m){const{redirectTo:c,navigationBehaviorOptions:b}=ot(m)?{redirectTo:m,navigationBehaviorOptions:void 0}:m,L=xi(!1,0,m);return L.url=c,L.navigationBehaviorOptions=b,L}function xi(f,m,c){const b=new Error("NavigationCancelingError: "+(f||""));return b[Ai]=!0,b.cancellationCode=m,c&&(b.url=c),b}function Oi(f){return Mo(f)&&ot(f.url)}function Mo(f){return f&&f[Ai]}class fo{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Yr,this.attachRef=null}}let Yr=(()=>{class f{constructor(){this.contexts=new Map}onChildOutletCreated(c,b){const L=this.getOrCreateContext(c);L.outlet=b,this.contexts.set(c,L)}onChildOutletDestroyed(c){const b=this.getContext(c);b&&(b.outlet=null,b.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let b=this.getContext(c);return b||(b=new fo,this.contexts.set(c,b)),b}getContext(c){return this.contexts.get(c)||null}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();const No=!1;let Rr=(()=>{class f{constructor(){this.activated=null,this._activatedRoute=null,this.name=se,this.activateEvents=new o.vpe,this.deactivateEvents=new o.vpe,this.attachEvents=new o.vpe,this.detachEvents=new o.vpe,this.parentContexts=(0,o.f3M)(Yr),this.location=(0,o.f3M)(o.s_b),this.changeDetector=(0,o.f3M)(o.sBO),this.environmentInjector=(0,o.f3M)(o.lqb)}ngOnChanges(c){if(c.name){const{firstChange:b,previousValue:L}=c.name;if(b)return;this.isTrackedInParentContexts(L)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(L)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(c){return this.parentContexts.getContext(c)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const c=this.parentContexts.getContext(this.name);c?.route&&(c.attachRef?this.attach(c.attachRef,c.route):this.activateWith(c.route,c.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.vHH(4012,No);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.vHH(4012,No);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.vHH(4012,No);this.location.detach();const c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,b){this.activated=c,this._activatedRoute=b,this.location.insert(c.hostView),this.attachEvents.emit(c.instance)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(c,b){if(this.isActivated)throw new o.vHH(4013,No);this._activatedRoute=c;const L=this.location,le=c.snapshot.component,Ge=this.parentContexts.getOrCreateContext(this.name).children,ht=new ur(c,Ge,L.injector);if(b&&function ci(f){return!!f.resolveComponentFactory}(b)){const kt=b.resolveComponentFactory(le);this.activated=L.createComponent(kt,L.length,ht)}else this.activated=L.createComponent(le,{index:L.length,injector:ht,environmentInjector:b??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275dir=o.lG2({type:f,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[o.TTD]}),f})();class ur{constructor(m,c,b){this.route=m,this.childContexts=c,this.parent=b}get(m,c){return m===qt?this.route:m===Yr?this.childContexts:this.parent.get(m,c)}}let ko=(()=>{class f{}return f.\u0275fac=function(c){return new(c||f)},f.\u0275cmp=o.Xpm({type:f,selectors:[["ng-component"]],standalone:!0,features:[o.jDz],decls:1,vars:0,template:function(c,b){1&c&&o._UZ(0,"router-outlet")},dependencies:[Rr],encapsulation:2}),f})();function So(f,m){return f.providers&&!f._injector&&(f._injector=(0,o.MMx)(f.providers,m,`Route: ${f.path}`)),f._injector??m}function To(f){const m=f.children&&f.children.map(To),c=m?{...f,children:m}:{...f};return!c.component&&!c.loadComponent&&(m||c.loadChildren)&&c.outlet&&c.outlet!==se&&(c.component=ko),c}function Ir(f){return f.outlet||se}function mr(f,m){const c=f.filter(b=>Ir(b)===m);return c.push(...f.filter(b=>Ir(b)!==m)),c}function qr(f){if(!f)return null;if(f.routeConfig?._injector)return f.routeConfig._injector;for(let m=f.parent;m;m=m.parent){const c=m.routeConfig;if(c?._loadedInjector)return c._loadedInjector;if(c?._injector)return c._injector}return null}class Mr{constructor(m,c,b,L){this.routeReuseStrategy=m,this.futureState=c,this.currState=b,this.forwardEvent=L}activate(m){const c=this.futureState._root,b=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,b,m),Dr(this.futureState.root),this.activateChildRoutes(c,b,m)}deactivateChildRoutes(m,c,b){const L=D(c);m.children.forEach(q=>{const le=q.value.outlet;this.deactivateRoutes(q,L[le],b),delete L[le]}),ut(L,(q,le)=>{this.deactivateRouteAndItsChildren(q,b)})}deactivateRoutes(m,c,b){const L=m.value,q=c?c.value:null;if(L===q)if(L.component){const le=b.getContext(L.outlet);le&&this.deactivateChildRoutes(m,c,le.children)}else this.deactivateChildRoutes(m,c,b);else q&&this.deactivateRouteAndItsChildren(c,b)}deactivateRouteAndItsChildren(m,c){m.value.component&&this.routeReuseStrategy.shouldDetach(m.value.snapshot)?this.detachAndStoreRouteSubtree(m,c):this.deactivateRouteAndOutlet(m,c)}detachAndStoreRouteSubtree(m,c){const b=c.getContext(m.value.outlet),L=b&&m.value.component?b.children:c,q=D(m);for(const le of Object.keys(q))this.deactivateRouteAndItsChildren(q[le],L);if(b&&b.outlet){const le=b.outlet.detach(),Ge=b.children.onOutletDeactivated();this.routeReuseStrategy.store(m.value.snapshot,{componentRef:le,route:m,contexts:Ge})}}deactivateRouteAndOutlet(m,c){const b=c.getContext(m.value.outlet),L=b&&m.value.component?b.children:c,q=D(m);for(const le of Object.keys(q))this.deactivateRouteAndItsChildren(q[le],L);b&&(b.outlet&&(b.outlet.deactivate(),b.children.onOutletDeactivated()),b.attachRef=null,b.resolver=null,b.route=null)}activateChildRoutes(m,c,b){const L=D(c);m.children.forEach(q=>{this.activateRoutes(q,L[q.value.outlet],b),this.forwardEvent(new Oe(q.value.snapshot))}),m.children.length&&this.forwardEvent(new ze(m.value.snapshot))}activateRoutes(m,c,b){const L=m.value,q=c?c.value:null;if(Dr(L),L===q)if(L.component){const le=b.getOrCreateContext(L.outlet);this.activateChildRoutes(m,c,le.children)}else this.activateChildRoutes(m,c,b);else if(L.component){const le=b.getOrCreateContext(L.outlet);if(this.routeReuseStrategy.shouldAttach(L.snapshot)){const Ge=this.routeReuseStrategy.retrieve(L.snapshot);this.routeReuseStrategy.store(L.snapshot,null),le.children.onOutletReAttached(Ge.contexts),le.attachRef=Ge.componentRef,le.route=Ge.route.value,le.outlet&&le.outlet.attach(Ge.componentRef,Ge.route.value),Dr(Ge.route.value),this.activateChildRoutes(m,null,le.children)}else{const Ge=qr(L.snapshot),ht=Ge?.get(o._Vd)??null;le.attachRef=null,le.route=L,le.resolver=ht,le.injector=Ge,le.outlet&&le.outlet.activateWith(L,le.injector),this.activateChildRoutes(m,null,le.children)}}else this.activateChildRoutes(m,null,b)}}class Ri{constructor(m){this.path=m,this.route=this.path[this.path.length-1]}}class ho{constructor(m,c){this.component=m,this.route=c}}function po(f,m,c){const b=f._root;return kr(b,m?m._root:null,c,[b.value])}function Gr(f,m){const c=Symbol(),b=m.get(f,c);return b===c?"function"!=typeof f||(0,o.Z0I)(f)?m.get(f):f:b}function kr(f,m,c,b,L={canDeactivateChecks:[],canActivateChecks:[]}){const q=D(m);return f.children.forEach(le=>{(function eo(f,m,c,b,L={canDeactivateChecks:[],canActivateChecks:[]}){const q=f.value,le=m?m.value:null,Ge=c?c.getContext(f.value.outlet):null;if(le&&q.routeConfig===le.routeConfig){const ht=function go(f,m,c){if("function"==typeof c)return c(f,m);switch(c){case"pathParamsChange":return!pn(f.url,m.url);case"pathParamsOrQueryParamsChange":return!pn(f.url,m.url)||!At(f.queryParams,m.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!zo(f,m)||!At(f.queryParams,m.queryParams);default:return!zo(f,m)}}(le,q,q.routeConfig.runGuardsAndResolvers);ht?L.canActivateChecks.push(new Ri(b)):(q.data=le.data,q._resolvedData=le._resolvedData),kr(f,m,q.component?Ge?Ge.children:null:c,b,L),ht&&Ge&&Ge.outlet&&Ge.outlet.isActivated&&L.canDeactivateChecks.push(new ho(Ge.outlet.component,le))}else le&&Ao(m,Ge,L),L.canActivateChecks.push(new Ri(b)),kr(f,null,q.component?Ge?Ge.children:null:c,b,L)})(le,q[le.value.outlet],c,b.concat([le.value]),L),delete q[le.value.outlet]}),ut(q,(le,Ge)=>Ao(le,c.getContext(Ge),L)),L}function Ao(f,m,c){const b=D(f),L=f.value;ut(b,(q,le)=>{Ao(q,L.component?m?m.children.getContext(le):null:m,c)}),c.canDeactivateChecks.push(new ho(L.component&&m&&m.outlet&&m.outlet.isActivated?m.outlet.component:null,L))}function to(f){return"function"==typeof f}function er(f){return f instanceof te.K||"EmptyError"===f?.name}const ct=Symbol("INITIAL_VALUE");function un(){return(0,W.w)(f=>(0,P.a)(f.map(m=>m.pipe((0,pe.q)(1),(0,be.O)(ct)))).pipe((0,ce.U)(m=>{for(const c of m)if(!0!==c){if(c===ct)return ct;if(!1===c||c instanceof Nt)return c}return!0}),(0,Ve.h)(m=>m!==ct),(0,pe.q)(1)))}function zi(f){return(0,ne.z)((0,we.b)(m=>{if(ot(m))throw li(0,m)}),(0,ce.U)(m=>!0===m))}const Sr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function tr(f,m,c,b,L){const q=mo(f,m,c);return q.matched?function Yi(f,m,c,b){const L=m.canMatch;if(!L||0===L.length)return(0,B.of)(!0);const q=L.map(le=>{const Ge=Gr(le,f);return Lt(function ee(f){return f&&to(f.canMatch)}(Ge)?Ge.canMatch(m,c):f.runInContext(()=>Ge(m,c)))});return(0,B.of)(q).pipe(un(),zi())}(b=So(m,b),m,c).pipe((0,ce.U)(le=>!0===le?q:{...Sr})):(0,B.of)(q)}function mo(f,m,c){if(""===m.path)return"full"===m.pathMatch&&(f.hasChildren()||c.length>0)?{...Sr}:{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};const L=(m.matcher||gt)(c,f,m);if(!L)return{...Sr};const q={};ut(L.posParams,(Ge,ht)=>{q[ht]=Ge.path});const le=L.consumed.length>0?{...q,...L.consumed[L.consumed.length-1].parameters}:q;return{matched:!0,consumedSegments:L.consumed,remainingSegments:c.slice(L.consumed.length),parameters:le,positionalParamSegments:L.posParams??{}}}function vo(f,m,c,b){if(c.length>0&&function hi(f,m,c){return c.some(b=>xo(f,m,b)&&Ir(b)!==se)}(f,c,b)){const q=new Dt(m,function Gi(f,m,c,b){const L={};L[se]=b,b._sourceSegment=f,b._segmentIndexShift=m.length;for(const q of c)if(""===q.path&&Ir(q)!==se){const le=new Dt([],{});le._sourceSegment=f,le._segmentIndexShift=m.length,L[Ir(q)]=le}return L}(f,m,b,new Dt(c,f.children)));return q._sourceSegment=f,q._segmentIndexShift=m.length,{segmentGroup:q,slicedSegments:[]}}if(0===c.length&&function pi(f,m,c){return c.some(b=>xo(f,m,b))}(f,c,b)){const q=new Dt(f.segments,function yo(f,m,c,b,L){const q={};for(const le of b)if(xo(f,c,le)&&!L[Ir(le)]){const Ge=new Dt([],{});Ge._sourceSegment=f,Ge._segmentIndexShift=m.length,q[Ir(le)]=Ge}return{...L,...q}}(f,m,c,b,f.children));return q._sourceSegment=f,q._segmentIndexShift=m.length,{segmentGroup:q,slicedSegments:c}}const L=new Dt(f.segments,f.children);return L._sourceSegment=f,L._segmentIndexShift=m.length,{segmentGroup:L,slicedSegments:c}}function xo(f,m,c){return(!(f.hasChildren()||m.length>0)||"full"!==c.pathMatch)&&""===c.path}function gi(f,m,c,b){return!!(Ir(f)===b||b!==se&&xo(m,c,f))&&("**"===f.path||mo(m,f,c).matched)}function Zo(f,m,c){return 0===m.length&&!f.children[c]}const Ko=!1;class _o{constructor(m){this.segmentGroup=m||null}}class ss{constructor(m){this.urlTree=m}}function qo(f){return(0,he._)(new _o(f))}function Fi(f){return(0,he._)(new ss(f))}class Wi{constructor(m,c,b,L,q){this.injector=m,this.configLoader=c,this.urlSerializer=b,this.urlTree=L,this.config=q,this.allowRedirects=!0}apply(){const m=vo(this.urlTree.root,[],[],this.config).segmentGroup,c=new Dt(m.segments,m.children);return this.expandSegmentGroup(this.injector,this.config,c,se).pipe((0,ce.U)(q=>this.createUrlTree(Ee(q),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,j.K)(q=>{if(q instanceof ss)return this.allowRedirects=!1,this.match(q.urlTree);throw q instanceof _o?this.noMatchError(q):q}))}match(m){return this.expandSegmentGroup(this.injector,this.config,m.root,se).pipe((0,ce.U)(L=>this.createUrlTree(Ee(L),m.queryParams,m.fragment))).pipe((0,j.K)(L=>{throw L instanceof _o?this.noMatchError(L):L}))}noMatchError(m){return new o.vHH(4002,Ko)}createUrlTree(m,c,b){const L=$e(m);return new Nt(L,c,b)}expandSegmentGroup(m,c,b,L){return 0===b.segments.length&&b.hasChildren()?this.expandChildren(m,c,b).pipe((0,ce.U)(q=>new Dt([],q))):this.expandSegment(m,b,c,b.segments,L,!0)}expandChildren(m,c,b){const L=[];for(const q of Object.keys(b.children))"primary"===q?L.unshift(q):L.push(q);return(0,r.D)(L).pipe((0,Pe.b)(q=>{const le=b.children[q],Ge=mr(c,q);return this.expandSegmentGroup(m,Ge,le,q).pipe((0,ce.U)(ht=>({segment:ht,outlet:q})))}),(0,X.R)((q,le)=>(q[le.outlet]=le.segment,q),{}),We())}expandSegment(m,c,b,L,q,le){return(0,r.D)(b).pipe((0,Pe.b)(Ge=>this.expandSegmentAgainstRoute(m,c,b,Ge,L,q,le).pipe((0,j.K)(kt=>{if(kt instanceof _o)return(0,B.of)(null);throw kt}))),(0,Le.P)(Ge=>!!Ge),(0,j.K)((Ge,ht)=>{if(er(Ge))return Zo(c,L,q)?(0,B.of)(new Dt([],{})):qo(c);throw Ge}))}expandSegmentAgainstRoute(m,c,b,L,q,le,Ge){return gi(L,c,q,le)?void 0===L.redirectTo?this.matchSegmentAgainstRoute(m,c,L,q,le):Ge&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(m,c,b,L,q,le):qo(c):qo(c)}expandSegmentAgainstRouteUsingRedirect(m,c,b,L,q,le){return"**"===L.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(m,b,L,le):this.expandRegularSegmentAgainstRouteUsingRedirect(m,c,b,L,q,le)}expandWildCardWithParamsAgainstRouteUsingRedirect(m,c,b,L){const q=this.applyRedirectCommands([],b.redirectTo,{});return b.redirectTo.startsWith("/")?Fi(q):this.lineralizeSegments(b,q).pipe((0,Me.z)(le=>{const Ge=new Dt(le,{});return this.expandSegment(m,Ge,c,le,L,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(m,c,b,L,q,le){const{matched:Ge,consumedSegments:ht,remainingSegments:kt,positionalParamSegments:Bt}=mo(c,L,q);if(!Ge)return qo(c);const Yn=this.applyRedirectCommands(ht,L.redirectTo,Bt);return L.redirectTo.startsWith("/")?Fi(Yn):this.lineralizeSegments(L,Yn).pipe((0,Me.z)(xr=>this.expandSegment(m,c,b,xr.concat(kt),le,!1)))}matchSegmentAgainstRoute(m,c,b,L,q){return"**"===b.path?(m=So(b,m),b.loadChildren?(b._loadedRoutes?(0,B.of)({routes:b._loadedRoutes,injector:b._loadedInjector}):this.configLoader.loadChildren(m,b)).pipe((0,ce.U)(Ge=>(b._loadedRoutes=Ge.routes,b._loadedInjector=Ge.injector,new Dt(L,{})))):(0,B.of)(new Dt(L,{}))):tr(c,b,L,m).pipe((0,W.w)(({matched:le,consumedSegments:Ge,remainingSegments:ht})=>le?this.getChildConfig(m=b._injector??m,b,L).pipe((0,Me.z)(Bt=>{const Yn=Bt.injector??m,xr=Bt.routes,{segmentGroup:Eo,slicedSegments:Ro}=vo(c,Ge,ht,xr),ti=new Dt(Eo.segments,Eo.children);if(0===Ro.length&&ti.hasChildren())return this.expandChildren(Yn,xr,ti).pipe((0,ce.U)(Ds=>new Dt(Ge,Ds)));if(0===xr.length&&0===Ro.length)return(0,B.of)(new Dt(Ge,{}));const lo=Ir(b)===q;return this.expandSegment(Yn,ti,xr,Ro,lo?se:q,!0).pipe((0,ce.U)(Cs=>new Dt(Ge.concat(Cs.segments),Cs.children)))})):qo(c)))}getChildConfig(m,c,b){return c.children?(0,B.of)({routes:c.children,injector:m}):c.loadChildren?void 0!==c._loadedRoutes?(0,B.of)({routes:c._loadedRoutes,injector:c._loadedInjector}):function ks(f,m,c,b){const L=m.canLoad;if(void 0===L||0===L.length)return(0,B.of)(!0);const q=L.map(le=>{const Ge=Gr(le,f);return Lt(function fi(f){return f&&to(f.canLoad)}(Ge)?Ge.canLoad(m,c):f.runInContext(()=>Ge(m,c)))});return(0,B.of)(q).pipe(un(),zi())}(m,c,b).pipe((0,Me.z)(L=>L?this.configLoader.loadChildren(m,c).pipe((0,we.b)(q=>{c._loadedRoutes=q.routes,c._loadedInjector=q.injector})):function ls(f){return(0,he._)(xi(Ko,3))}())):(0,B.of)({routes:[],injector:m})}lineralizeSegments(m,c){let b=[],L=c.root;for(;;){if(b=b.concat(L.segments),0===L.numberOfChildren)return(0,B.of)(b);if(L.numberOfChildren>1||!L.children[se])return m.redirectTo,(0,he._)(new o.vHH(4e3,Ko));L=L.children[se]}}applyRedirectCommands(m,c,b){return this.applyRedirectCreateUrlTree(c,this.urlSerializer.parse(c),m,b)}applyRedirectCreateUrlTree(m,c,b,L){const q=this.createSegmentGroup(m,c.root,b,L);return new Nt(q,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(m,c){const b={};return ut(m,(L,q)=>{if("string"==typeof L&&L.startsWith(":")){const Ge=L.substring(1);b[q]=c[Ge]}else b[q]=L}),b}createSegmentGroup(m,c,b,L){const q=this.createSegments(m,c.segments,b,L);let le={};return ut(c.children,(Ge,ht)=>{le[ht]=this.createSegmentGroup(m,Ge,b,L)}),new Dt(q,le)}createSegments(m,c,b,L){return c.map(q=>q.path.startsWith(":")?this.findPosParam(m,q,L):this.findOrReturn(q,b))}findPosParam(m,c,b){const L=b[c.path.substring(1)];if(!L)throw new o.vHH(4001,Ko);return L}findOrReturn(m,c){let b=0;for(const L of c){if(L.path===m.path)return c.splice(b),L;b++}return m}}class us{}class nr{constructor(m,c,b,L,q,le,Ge){this.injector=m,this.rootComponentType=c,this.config=b,this.urlTree=L,this.url=q,this.paramsInheritanceStrategy=le,this.urlSerializer=Ge}recognize(){const m=vo(this.urlTree.root,[],[],this.config.filter(c=>void 0===c.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,m,se).pipe((0,ce.U)(c=>{if(null===c)return null;const b=new Er([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},se,this.rootComponentType,null,this.urlTree.root,-1,{}),L=new K(b,c),q=new Io(this.url,L);return this.inheritParamsAndData(q._root),q}))}inheritParamsAndData(m){const c=m.value,b=br(c,this.paramsInheritanceStrategy);c.params=Object.freeze(b.params),c.data=Object.freeze(b.data),m.children.forEach(L=>this.inheritParamsAndData(L))}processSegmentGroup(m,c,b,L){return 0===b.segments.length&&b.hasChildren()?this.processChildren(m,c,b):this.processSegment(m,c,b,b.segments,L)}processChildren(m,c,b){return(0,r.D)(Object.keys(b.children)).pipe((0,Pe.b)(L=>{const q=b.children[L],le=mr(c,L);return this.processSegmentGroup(m,le,q,L)}),(0,X.R)((L,q)=>L&&q?(L.push(...q),L):null),function st(f,m=!1){return(0,Ce.e)((c,b)=>{let L=0;c.subscribe((0,_e.x)(b,q=>{const le=f(q,L++);(le||m)&&b.next(q),!le&&b.complete()}))})}(L=>null!==L),(0,ie.d)(null),We(),(0,ce.U)(L=>{if(null===L)return null;const q=hs(L);return function ds(f){f.sort((m,c)=>m.value.outlet===se?-1:c.value.outlet===se?1:m.value.outlet.localeCompare(c.value.outlet))}(q),q}))}processSegment(m,c,b,L,q){return(0,r.D)(c).pipe((0,Pe.b)(le=>this.processSegmentAgainstRoute(le._injector??m,le,b,L,q)),(0,Le.P)(le=>!!le),(0,j.K)(le=>{if(er(le))return Zo(b,L,q)?(0,B.of)([]):(0,B.of)(null);throw le}))}processSegmentAgainstRoute(m,c,b,L,q){if(c.redirectTo||!gi(c,b,L,q))return(0,B.of)(null);let le;if("**"===c.path){const Ge=L.length>0?Je(L).parameters:{},ht=vi(b)+L.length,kt=new Er(L,Ge,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,yi(c),Ir(c),c.component??c._loadedComponent??null,c,ps(b),ht,_(c));le=(0,B.of)({snapshot:kt,consumedSegments:[],remainingSegments:[]})}else le=tr(b,c,L,m).pipe((0,ce.U)(({matched:Ge,consumedSegments:ht,remainingSegments:kt,parameters:Bt})=>{if(!Ge)return null;const Yn=vi(b)+ht.length;return{snapshot:new Er(ht,Bt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,yi(c),Ir(c),c.component??c._loadedComponent??null,c,ps(b),Yn,_(c)),consumedSegments:ht,remainingSegments:kt}}));return le.pipe((0,W.w)(Ge=>{if(null===Ge)return(0,B.of)(null);const{snapshot:ht,consumedSegments:kt,remainingSegments:Bt}=Ge;m=c._injector??m;const Yn=c._loadedInjector??m,xr=function Bs(f){return f.children?f.children:f.loadChildren?f._loadedRoutes:[]}(c),{segmentGroup:Eo,slicedSegments:Ro}=vo(b,kt,Bt,xr.filter(lo=>void 0===lo.redirectTo));if(0===Ro.length&&Eo.hasChildren())return this.processChildren(Yn,xr,Eo).pipe((0,ce.U)(lo=>null===lo?null:[new K(ht,lo)]));if(0===xr.length&&0===Ro.length)return(0,B.of)([new K(ht,[])]);const ti=Ir(c)===q;return this.processSegment(Yn,xr,Eo,Ro,ti?se:q).pipe((0,ce.U)(lo=>null===lo?null:[new K(ht,lo)]))}))}}function fs(f){const m=f.value.routeConfig;return m&&""===m.path&&void 0===m.redirectTo}function hs(f){const m=[],c=new Set;for(const b of f){if(!fs(b)){m.push(b);continue}const L=m.find(q=>b.value.routeConfig===q.value.routeConfig);void 0!==L?(L.children.push(...b.children),c.add(L)):m.push(b)}for(const b of c){const L=hs(b.children);m.push(new K(b.value,L))}return m.filter(b=>!c.has(b))}function ps(f){let m=f;for(;m._sourceSegment;)m=m._sourceSegment;return m}function vi(f){let m=f,c=m._segmentIndexShift??0;for(;m._sourceSegment;)m=m._sourceSegment,c+=m._segmentIndexShift??0;return c-1}function yi(f){return f.data||{}}function _(f){return f.resolve||{}}function Vt(f){return"string"==typeof f.title||null===f.title}function Wn(f){return(0,W.w)(m=>{const c=f(m);return c?(0,r.D)(c).pipe((0,ce.U)(()=>m)):(0,B.of)(m)})}const Rn=new o.OlP("ROUTES");let wn=(()=>{class f{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,o.f3M)(o.Sil)}loadComponent(c){if(this.componentLoaders.get(c))return this.componentLoaders.get(c);if(c._loadedComponent)return(0,B.of)(c._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(c);const b=Lt(c.loadComponent()).pipe((0,ce.U)(Vn),(0,we.b)(q=>{this.onLoadEndListener&&this.onLoadEndListener(c),c._loadedComponent=q}),(0,z.x)(()=>{this.componentLoaders.delete(c)})),L=new ye.c(b,()=>new de.x).pipe((0,C.x)());return this.componentLoaders.set(c,L),L}loadChildren(c,b){if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,B.of)({routes:b._loadedRoutes,injector:b._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(b);const q=this.loadModuleFactoryOrRoutes(b.loadChildren).pipe((0,ce.U)(Ge=>{this.onLoadEndListener&&this.onLoadEndListener(b);let ht,kt,Bt=!1;Array.isArray(Ge)?kt=Ge:(ht=Ge.create(c).injector,kt=at(ht.get(Rn,[],o.XFs.Self|o.XFs.Optional)));return{routes:kt.map(To),injector:ht}}),(0,z.x)(()=>{this.childrenLoaders.delete(b)})),le=new ye.c(q,()=>new de.x).pipe((0,C.x)());return this.childrenLoaders.set(b,le),le}loadModuleFactoryOrRoutes(c){return Lt(c()).pipe((0,ce.U)(Vn),(0,Me.z)(b=>b instanceof o.YKP||Array.isArray(b)?(0,B.of)(b):(0,r.D)(this.compiler.compileModuleAsync(b))))}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();function Vn(f){return function rr(f){return f&&"object"==typeof f&&"default"in f}(f)?f.default:f}let Ur=(()=>{class f{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new de.x,this.configLoader=(0,o.f3M)(wn),this.environmentInjector=(0,o.f3M)(o.lqb),this.urlSerializer=(0,o.f3M)(An),this.rootContexts=(0,o.f3M)(Yr),this.navigationId=0,this.afterPreactivation=()=>(0,B.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=L=>this.events.next(new fe(L)),this.configLoader.onLoadStartListener=L=>this.events.next(new $(L))}complete(){this.transitions?.complete()}handleNavigationRequest(c){const b=++this.navigationId;this.transitions?.next({...this.transitions.value,...c,id:b})}setupNavigations(c){return this.transitions=new V.X({id:0,targetPageId:0,currentUrlTree:c.currentUrlTree,currentRawUrl:c.currentUrlTree,extractedUrl:c.urlHandlingStrategy.extract(c.currentUrlTree),urlAfterRedirects:c.urlHandlingStrategy.extract(c.currentUrlTree),rawUrl:c.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ge,restoredState:null,currentSnapshot:c.routerState.snapshot,targetSnapshot:null,currentRouterState:c.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ve.h)(b=>0!==b.id),(0,ce.U)(b=>({...b,extractedUrl:c.urlHandlingStrategy.extract(b.rawUrl)})),(0,W.w)(b=>{let L=!1,q=!1;return(0,B.of)(b).pipe((0,we.b)(le=>{this.currentNavigation={id:le.id,initialUrl:le.rawUrl,extractedUrl:le.extractedUrl,trigger:le.source,extras:le.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,W.w)(le=>{const Ge=c.browserUrlTree.toString(),ht=!c.navigated||le.extractedUrl.toString()!==Ge||Ge!==c.currentUrlTree.toString();if(!ht&&"reload"!==(le.extras.onSameUrlNavigation??c.onSameUrlNavigation)){const Bt="";return this.events.next(new me(le.id,c.serializeUrl(b.rawUrl),Bt,0)),c.rawUrlTree=le.rawUrl,le.resolve(null),oe.E}if(c.urlHandlingStrategy.shouldProcessUrl(le.rawUrl))return Vr(le.source)&&(c.browserUrlTree=le.extractedUrl),(0,B.of)(le).pipe((0,W.w)(Bt=>{const Yn=this.transitions?.getValue();return this.events.next(new I(Bt.id,this.urlSerializer.serialize(Bt.extractedUrl),Bt.source,Bt.restoredState)),Yn!==this.transitions?.getValue()?oe.E:Promise.resolve(Bt)}),function mi(f,m,c,b){return(0,W.w)(L=>function cs(f,m,c,b,L){return new Wi(f,m,c,b,L).apply()}(f,m,c,L.extractedUrl,b).pipe((0,ce.U)(q=>({...L,urlAfterRedirects:q}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,c.config),(0,we.b)(Bt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Bt.urlAfterRedirects},b.urlAfterRedirects=Bt.urlAfterRedirects}),function H(f,m,c,b,L){return(0,Me.z)(q=>function Oo(f,m,c,b,L,q,le="emptyOnly"){return new nr(f,m,c,b,L,le,q).recognize().pipe((0,W.w)(Ge=>null===Ge?function Br(f){return new Z.y(m=>m.error(f))}(new us):(0,B.of)(Ge)))}(f,m,c,q.urlAfterRedirects,b.serialize(q.urlAfterRedirects),b,L).pipe((0,ce.U)(le=>({...q,targetSnapshot:le}))))}(this.environmentInjector,this.rootComponentType,c.config,this.urlSerializer,c.paramsInheritanceStrategy),(0,we.b)(Bt=>{if(b.targetSnapshot=Bt.targetSnapshot,"eager"===c.urlUpdateStrategy){if(!Bt.extras.skipLocationChange){const xr=c.urlHandlingStrategy.merge(Bt.urlAfterRedirects,Bt.rawUrl);c.setBrowserUrl(xr,Bt)}c.browserUrlTree=Bt.urlAfterRedirects}const Yn=new Ne(Bt.id,this.urlSerializer.serialize(Bt.extractedUrl),this.urlSerializer.serialize(Bt.urlAfterRedirects),Bt.targetSnapshot);this.events.next(Yn)}));if(ht&&c.urlHandlingStrategy.shouldProcessUrl(c.rawUrlTree)){const{id:Bt,extractedUrl:Yn,source:xr,restoredState:Eo,extras:Ro}=le,ti=new I(Bt,this.urlSerializer.serialize(Yn),xr,Eo);this.events.next(ti);const lo=Ue(Yn,this.rootComponentType).snapshot;return b={...le,targetSnapshot:lo,urlAfterRedirects:Yn,extras:{...Ro,skipLocationChange:!1,replaceUrl:!1}},(0,B.of)(b)}{const Bt="";return this.events.next(new me(le.id,c.serializeUrl(b.extractedUrl),Bt,1)),c.rawUrlTree=le.rawUrl,le.resolve(null),oe.E}}),(0,we.b)(le=>{const Ge=new tt(le.id,this.urlSerializer.serialize(le.extractedUrl),this.urlSerializer.serialize(le.urlAfterRedirects),le.targetSnapshot);this.events.next(Ge)}),(0,ce.U)(le=>b={...le,guards:po(le.targetSnapshot,le.currentSnapshot,this.rootContexts)}),function Wo(f,m){return(0,Me.z)(c=>{const{targetSnapshot:b,currentSnapshot:L,guards:{canActivateChecks:q,canDeactivateChecks:le}}=c;return 0===le.length&&0===q.length?(0,B.of)({...c,guardsResult:!0}):function is(f,m,c,b){return(0,r.D)(f).pipe((0,Me.z)(L=>function $o(f,m,c,b,L){const q=m&&m.routeConfig?m.routeConfig.canDeactivate:null;if(!q||0===q.length)return(0,B.of)(!0);const le=q.map(Ge=>{const ht=qr(m)??L,kt=Gr(Ge,ht);return Lt(function M(f){return f&&to(f.canDeactivate)}(kt)?kt.canDeactivate(f,m,c,b):ht.runInContext(()=>kt(f,m,c,b))).pipe((0,Le.P)())});return(0,B.of)(le).pipe(un())}(L.component,L.route,c,m,b)),(0,Le.P)(L=>!0!==L,!0))}(le,b,L,f).pipe((0,Me.z)(Ge=>Ge&&function sn(f){return"boolean"==typeof f}(Ge)?function Fr(f,m,c,b){return(0,r.D)(m).pipe((0,Pe.b)(L=>(0,R.z)(function io(f,m){return null!==f&&m&&m(new Ae(f)),(0,B.of)(!0)}(L.route.parent,b),function $n(f,m){return null!==f&&m&&m(new Fe(f)),(0,B.of)(!0)}(L.route,b),function ji(f,m,c){const b=m[m.length-1],q=m.slice(0,m.length-1).reverse().map(le=>function Nr(f){const m=f.routeConfig?f.routeConfig.canActivateChild:null;return m&&0!==m.length?{node:f,guards:m}:null}(le)).filter(le=>null!==le).map(le=>(0,Y.P)(()=>{const Ge=le.guards.map(ht=>{const kt=qr(le.node)??c,Bt=Gr(ht,kt);return Lt(function O(f){return f&&to(f.canActivateChild)}(Bt)?Bt.canActivateChild(b,f):kt.runInContext(()=>Bt(b,f))).pipe((0,Le.P)())});return(0,B.of)(Ge).pipe(un())}));return(0,B.of)(q).pipe(un())}(f,L.path,c),function no(f,m,c){const b=m.routeConfig?m.routeConfig.canActivate:null;if(!b||0===b.length)return(0,B.of)(!0);const L=b.map(q=>(0,Y.P)(()=>{const le=qr(m)??c,Ge=Gr(q,le);return Lt(function F(f){return f&&to(f.canActivate)}(Ge)?Ge.canActivate(m,f):le.runInContext(()=>Ge(m,f))).pipe((0,Le.P)())}));return(0,B.of)(L).pipe(un())}(f,L.route,c))),(0,Le.P)(L=>!0!==L,!0))}(b,q,f,m):(0,B.of)(Ge)),(0,ce.U)(Ge=>({...c,guardsResult:Ge})))})}(this.environmentInjector,le=>this.events.next(le)),(0,we.b)(le=>{if(b.guardsResult=le.guardsResult,ot(le.guardsResult))throw li(0,le.guardsResult);const Ge=new lt(le.id,this.urlSerializer.serialize(le.extractedUrl),this.urlSerializer.serialize(le.urlAfterRedirects),le.targetSnapshot,!!le.guardsResult);this.events.next(Ge)}),(0,Ve.h)(le=>!!le.guardsResult||(c.restoreHistory(le),this.cancelNavigationTransition(le,"",3),!1)),Wn(le=>{if(le.guards.canActivateChecks.length)return(0,B.of)(le).pipe((0,we.b)(Ge=>{const ht=new bt(Ge.id,this.urlSerializer.serialize(Ge.extractedUrl),this.urlSerializer.serialize(Ge.urlAfterRedirects),Ge.targetSnapshot);this.events.next(ht)}),(0,W.w)(Ge=>{let ht=!1;return(0,B.of)(Ge).pipe(function T(f,m){return(0,Me.z)(c=>{const{targetSnapshot:b,guards:{canActivateChecks:L}}=c;if(!L.length)return(0,B.of)(c);let q=0;return(0,r.D)(L).pipe((0,Pe.b)(le=>function J(f,m,c,b){const L=f.routeConfig,q=f._resolve;return void 0!==L?.title&&!Vt(L)&&(q[ae]=L.title),function xe(f,m,c,b){const L=function it(f){return[...Object.keys(f),...Object.getOwnPropertySymbols(f)]}(f);if(0===L.length)return(0,B.of)({});const q={};return(0,r.D)(L).pipe((0,Me.z)(le=>function yt(f,m,c,b){const L=qr(m)??b,q=Gr(f,L);return Lt(q.resolve?q.resolve(m,c):L.runInContext(()=>q(m,c)))}(f[le],m,c,b).pipe((0,Le.P)(),(0,we.b)(Ge=>{q[le]=Ge}))),Te(1),(0,ve.h)(q),(0,j.K)(le=>er(le)?oe.E:(0,he._)(le)))}(q,f,m,b).pipe((0,ce.U)(le=>(f._resolvedData=le,f.data=br(f,c).resolve,L&&Vt(L)&&(f.data[ae]=L.title),null)))}(le.route,b,f,m)),(0,we.b)(()=>q++),Te(1),(0,Me.z)(le=>q===L.length?(0,B.of)(c):oe.E))})}(c.paramsInheritanceStrategy,this.environmentInjector),(0,we.b)({next:()=>ht=!0,complete:()=>{ht||(c.restoreHistory(Ge),this.cancelNavigationTransition(Ge,"",2))}}))}),(0,we.b)(Ge=>{const ht=new S(Ge.id,this.urlSerializer.serialize(Ge.extractedUrl),this.urlSerializer.serialize(Ge.urlAfterRedirects),Ge.targetSnapshot);this.events.next(ht)}))}),Wn(le=>{const Ge=ht=>{const kt=[];ht.routeConfig?.loadComponent&&!ht.routeConfig._loadedComponent&&kt.push(this.configLoader.loadComponent(ht.routeConfig).pipe((0,we.b)(Bt=>{ht.component=Bt}),(0,ce.U)(()=>{})));for(const Bt of ht.children)kt.push(...Ge(Bt));return kt};return(0,P.a)(Ge(le.targetSnapshot.root)).pipe((0,ie.d)(),(0,pe.q)(1))}),Wn(()=>this.afterPreactivation()),(0,ce.U)(le=>{const Ge=function Ti(f,m,c){const b=uo(f,m._root,c?c._root:void 0);return new ue(b,m)}(c.routeReuseStrategy,le.targetSnapshot,le.currentRouterState);return b={...le,targetRouterState:Ge}}),(0,we.b)(le=>{c.currentUrlTree=le.urlAfterRedirects,c.rawUrlTree=c.urlHandlingStrategy.merge(le.urlAfterRedirects,le.rawUrl),c.routerState=le.targetRouterState,"deferred"===c.urlUpdateStrategy&&(le.extras.skipLocationChange||c.setBrowserUrl(c.rawUrlTree,le),c.browserUrlTree=le.urlAfterRedirects)}),((f,m,c)=>(0,ce.U)(b=>(new Mr(m,b.targetRouterState,b.currentRouterState,c).activate(f),b)))(this.rootContexts,c.routeReuseStrategy,le=>this.events.next(le)),(0,pe.q)(1),(0,we.b)({next:le=>{L=!0,this.lastSuccessfulNavigation=this.currentNavigation,c.navigated=!0,this.events.next(new A(le.id,this.urlSerializer.serialize(le.extractedUrl),this.urlSerializer.serialize(c.currentUrlTree))),c.titleStrategy?.updateTitle(le.targetRouterState.snapshot),le.resolve(!0)},complete:()=>{L=!0}}),(0,z.x)(()=>{L||q||this.cancelNavigationTransition(b,"",1),this.currentNavigation?.id===b.id&&(this.currentNavigation=null)}),(0,j.K)(le=>{if(q=!0,Mo(le)){Oi(le)||(c.navigated=!0,c.restoreHistory(b,!0));const Ge=new G(b.id,this.urlSerializer.serialize(b.extractedUrl),le.message,le.cancellationCode);if(this.events.next(Ge),Oi(le)){const ht=c.urlHandlingStrategy.merge(le.url,c.rawUrlTree),kt={skipLocationChange:b.extras.skipLocationChange,replaceUrl:"eager"===c.urlUpdateStrategy||Vr(b.source)};c.scheduleNavigation(ht,ge,null,kt,{resolve:b.resolve,reject:b.reject,promise:b.promise})}else b.resolve(!1)}else{c.restoreHistory(b,!0);const Ge=new Ie(b.id,this.urlSerializer.serialize(b.extractedUrl),le,b.targetSnapshot??void 0);this.events.next(Ge);try{b.resolve(c.errorHandler(le))}catch(ht){b.reject(ht)}}return oe.E}))}))}cancelNavigationTransition(c,b,L){const q=new G(c.id,this.urlSerializer.serialize(c.extractedUrl),b,L);this.events.next(q),c.resolve(!1)}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();function Vr(f){return f!==ge}let bo=(()=>{class f{buildTitle(c){let b,L=c.root;for(;void 0!==L;)b=this.getResolvedTitleForRoute(L)??b,L=L.children.find(q=>q.outlet===se);return b}getResolvedTitleForRoute(c){return c.data[ae]}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=o.Yz7({token:f,factory:function(){return(0,o.f3M)(Wr)},providedIn:"root"}),f})(),Wr=(()=>{class f extends bo{constructor(c){super(),this.title=c}updateTitle(c){const b=this.buildTitle(c);void 0!==b&&this.title.setTitle(b)}}return f.\u0275fac=function(c){return new(c||f)(o.LFG(k.Dx))},f.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),Jr=(()=>{class f{}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=o.Yz7({token:f,factory:function(){return(0,o.f3M)(so)},providedIn:"root"}),f})();class Po{shouldDetach(m){return!1}store(m,c){}shouldAttach(m){return!1}retrieve(m){return null}shouldReuseRoute(m,c){return m.routeConfig===c.routeConfig}}let so=(()=>{class f extends Po{}return f.\u0275fac=function(){let m;return function(b){return(m||(m=o.n5z(f)))(b||f)}}(),f.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();const Jo=new o.OlP("",{providedIn:"root",factory:()=>({})});let el=(()=>{class f{}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=o.Yz7({token:f,factory:function(){return(0,o.f3M)(Us)},providedIn:"root"}),f})(),Us=(()=>{class f{shouldProcessUrl(c){return!0}extract(c){return c}merge(c,b){return c}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();function va(f){throw f}function Co(f,m,c){return m.parse("/")}const ya={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ji={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Hr=(()=>{class f{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,o.f3M)(o.c2e),this.isNgZoneEnabled=!1,this.options=(0,o.f3M)(Jo,{optional:!0})||{},this.errorHandler=this.options.errorHandler||va,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Co,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,o.f3M)(el),this.routeReuseStrategy=(0,o.f3M)(Jr),this.urlCreationStrategy=(0,o.f3M)(Ft),this.titleStrategy=(0,o.f3M)(bo),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=at((0,o.f3M)(Rn,{optional:!0})??[]),this.navigationTransitions=(0,o.f3M)(Ur),this.urlSerializer=(0,o.f3M)(An),this.location=(0,o.f3M)(re.Ye),this.isNgZoneEnabled=(0,o.f3M)(o.R0b)instanceof o.R0b&&o.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Nt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Ue(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(c=>{this.lastSuccessfulId=c.id,this.currentPageId=this.browserPageId??0},c=>{this.console.warn(`Unhandled Navigation Error: ${c}`)})}resetRootComponentType(c){this.routerState.root.component=c,this.navigationTransitions.rootComponentType=c}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const c=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),ge,c)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(c=>{const b="popstate"===c.type?"popstate":"hashchange";"popstate"===b&&setTimeout(()=>{this.navigateToSyncWithBrowser(c.url,b,c.state)},0)}))}navigateToSyncWithBrowser(c,b,L){const q={replaceUrl:!0},le=L?.navigationId?L:null;if(L){const ht={...L};delete ht.navigationId,delete ht.\u0275routerPageId,0!==Object.keys(ht).length&&(q.state=ht)}const Ge=this.parseUrl(c);this.scheduleNavigation(Ge,b,le,q)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(c){this.config=c.map(To),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(c,b={}){const{relativeTo:L,queryParams:q,fragment:le,queryParamsHandling:Ge,preserveFragment:ht}=b,kt=ht?this.currentUrlTree.fragment:le;let Bt=null;switch(Ge){case"merge":Bt={...this.currentUrlTree.queryParams,...q};break;case"preserve":Bt=this.currentUrlTree.queryParams;break;default:Bt=q||null}return null!==Bt&&(Bt=this.removeEmptyProps(Bt)),this.urlCreationStrategy.createUrlTree(L,this.routerState,this.currentUrlTree,c,Bt,kt??null)}navigateByUrl(c,b={skipLocationChange:!1}){const L=ot(c)?c:this.parseUrl(c),q=this.urlHandlingStrategy.merge(L,this.rawUrlTree);return this.scheduleNavigation(q,ge,null,b)}navigate(c,b={skipLocationChange:!1}){return function Vs(f){for(let m=0;m{const q=c[L];return null!=q&&(b[L]=q),b},{})}scheduleNavigation(c,b,L,q,le){if(this.disposed)return Promise.resolve(!1);let Ge,ht,kt,Bt;return le?(Ge=le.resolve,ht=le.reject,kt=le.promise):kt=new Promise((Yn,xr)=>{Ge=Yn,ht=xr}),Bt="computed"===this.canceledNavigationResolution?L&&L.\u0275routerPageId?L.\u0275routerPageId:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:Bt,source:b,restoredState:L,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:c,extras:q,resolve:Ge,reject:ht,promise:kt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),kt.catch(Yn=>Promise.reject(Yn))}setBrowserUrl(c,b){const L=this.urlSerializer.serialize(c);if(this.location.isCurrentPathEqualTo(L)||b.extras.replaceUrl){const le={...b.extras.state,...this.generateNgRouterState(b.id,this.browserPageId)};this.location.replaceState(L,"",le)}else{const q={...b.extras.state,...this.generateNgRouterState(b.id,b.targetPageId)};this.location.go(L,"",q)}}restoreHistory(c,b=!1){if("computed"===this.canceledNavigationResolution){const q=this.currentPageId-(this.browserPageId??this.currentPageId);0!==q?this.location.historyGo(q):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===q&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(b&&this.resetState(c),this.resetUrlToCurrentUrlTree())}resetState(c){this.routerState=c.currentRouterState,this.currentUrlTree=c.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,c.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(c,b){return"computed"===this.canceledNavigationResolution?{navigationId:c,\u0275routerPageId:b}:{navigationId:c}}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),_i=(()=>{class f{constructor(c,b,L,q,le,Ge){this.router=c,this.route=b,this.tabIndexAttribute=L,this.renderer=q,this.el=le,this.locationStrategy=Ge,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new de.x;const ht=le.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===ht||"area"===ht,this.isAnchorElement?this.subscription=c.events.subscribe(kt=>{kt instanceof A&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(c){this._preserveFragment=(0,o.D6c)(c)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(c){this._skipLocationChange=(0,o.D6c)(c)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(c){this._replaceUrl=(0,o.D6c)(c)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(c){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",c)}ngOnChanges(c){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(c){null!=c?(this.commands=Array.isArray(c)?c:[c],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(c,b,L,q,le){return!!(null===this.urlTree||this.isAnchorElement&&(0!==c||b||L||q||le||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const c=null===this.href?null:(0,o.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",c)}applyAttributeValue(c,b){const L=this.renderer,q=this.el.nativeElement;null!==b?L.setAttribute(q,c,b):L.removeAttribute(q,c)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return f.\u0275fac=function(c){return new(c||f)(o.Y36(Hr),o.Y36(qt),o.$8M("tabindex"),o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(re.S$))},f.\u0275dir=o.lG2({type:f,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(c,b){1&c&&o.NdJ("click",function(q){return b.onClick(q.button,q.ctrlKey,q.shiftKey,q.altKey,q.metaKey)}),2&c&&o.uIk("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[o.TTD]}),f})();class vs{}let js=(()=>{class f{preload(c,b){return b().pipe((0,j.K)(()=>(0,B.of)(null)))}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),zs=(()=>{class f{constructor(c,b,L,q,le){this.router=c,this.injector=L,this.preloadingStrategy=q,this.loader=le}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ve.h)(c=>c instanceof A),(0,Pe.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,b){const L=[];for(const q of b){q.providers&&!q._injector&&(q._injector=(0,o.MMx)(q.providers,c,`Route: ${q.path}`));const le=q._injector??c,Ge=q._loadedInjector??le;(q.loadChildren&&!q._loadedRoutes&&void 0===q.canLoad||q.loadComponent&&!q._loadedComponent)&&L.push(this.preloadConfig(le,q)),(q.children||q._loadedRoutes)&&L.push(this.processRoutes(Ge,q.children??q._loadedRoutes))}return(0,r.D)(L).pipe((0,N.J)())}preloadConfig(c,b){return this.preloadingStrategy.preload(b,()=>{let L;L=b.loadChildren&&void 0===b.canLoad?this.loader.loadChildren(c,b):(0,B.of)(null);const q=L.pipe((0,Me.z)(le=>null===le?(0,B.of)(void 0):(b._loadedRoutes=le.routes,b._loadedInjector=le.injector,this.processRoutes(le.injector??c,le.routes))));if(b.loadComponent&&!b._loadedComponent){const le=this.loader.loadComponent(b);return(0,r.D)([q,le]).pipe((0,N.J)())}return q})}}return f.\u0275fac=function(c){return new(c||f)(o.LFG(Hr),o.LFG(o.Sil),o.LFG(o.lqb),o.LFG(vs),o.LFG(wn))},f.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();const ys=new o.OlP("");let Li=(()=>{class f{constructor(c,b,L,q,le={}){this.urlSerializer=c,this.transitions=b,this.viewportScroller=L,this.zone=q,this.options=le,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},le.scrollPositionRestoration=le.scrollPositionRestoration||"disabled",le.anchorScrolling=le.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(c=>{c instanceof I?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof A&&(this.lastId=c.id,this.scheduleScrollEvent(c,this.urlSerializer.parse(c.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(c=>{c instanceof et&&(c.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(c.position):c.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(c.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(c,b){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new et(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,b))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return f.\u0275fac=function(c){o.$Z()},f.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac}),f})();var Tr=(()=>((Tr=Tr||{})[Tr.COMPLETE=0]="COMPLETE",Tr[Tr.FAILED=1]="FAILED",Tr[Tr.REDIRECTING=2]="REDIRECTING",Tr))();const Xo=!1;function Do(f,m){return{\u0275kind:f,\u0275providers:m}}const bi=new o.OlP("",{providedIn:"root",factory:()=>!1});function Qi(){const f=(0,o.f3M)(o.zs3);return m=>{const c=f.get(o.z2F);if(m!==c.components[0])return;const b=f.get(Hr),L=f.get(Uo);1===f.get(Vo)&&b.initialNavigation(),f.get(ei,null,o.XFs.Optional)?.setUpPreloading(),f.get(ys,null,o.XFs.Optional)?.init(),b.resetRootComponentType(c.componentTypes[0]),L.closed||(L.next(),L.complete(),L.unsubscribe())}}const Uo=new o.OlP(Xo?"bootstrap done indicator":"",{factory:()=>new de.x}),Vo=new o.OlP(Xo?"initial navigation":"",{providedIn:"root",factory:()=>1});function _s(){let f=[];return f=Xo?[{provide:o.Xts,multi:!0,useFactory:()=>{const m=(0,o.f3M)(Hr);return()=>m.events.subscribe(c=>{console.group?.(`Router Event: ${c.constructor.name}`),console.log(function vt(f){if(!("type"in f))return`Unknown Router Event: ${f.constructor.name}`;switch(f.type){case 14:return`ActivationEnd(path: '${f.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${f.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${f.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${f.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${f.id}, url: '${f.url}', urlAfterRedirects: '${f.urlAfterRedirects}', state: ${f.state}, shouldActivate: ${f.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${f.id}, url: '${f.url}', urlAfterRedirects: '${f.urlAfterRedirects}', state: ${f.state})`;case 2:return`NavigationCancel(id: ${f.id}, url: '${f.url}')`;case 16:return`NavigationSkipped(id: ${f.id}, url: '${f.url}')`;case 1:return`NavigationEnd(id: ${f.id}, url: '${f.url}', urlAfterRedirects: '${f.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${f.id}, url: '${f.url}', error: ${f.error})`;case 0:return`NavigationStart(id: ${f.id}, url: '${f.url}')`;case 6:return`ResolveEnd(id: ${f.id}, url: '${f.url}', urlAfterRedirects: '${f.urlAfterRedirects}', state: ${f.state})`;case 5:return`ResolveStart(id: ${f.id}, url: '${f.url}', urlAfterRedirects: '${f.urlAfterRedirects}', state: ${f.state})`;case 10:return`RouteConfigLoadEnd(path: ${f.route.path})`;case 9:return`RouteConfigLoadStart(path: ${f.route.path})`;case 4:return`RoutesRecognized(id: ${f.id}, url: '${f.url}', urlAfterRedirects: '${f.urlAfterRedirects}', state: ${f.state})`;case 15:return`Scroll(anchor: '${f.anchor}', position: '${f.position?`${f.position[0]}, ${f.position[1]}`:null}')`}}(c)),console.log(c),console.groupEnd?.()})}}]:[],Do(1,f)}const ei=new o.OlP(Xo?"router preloader":"");function nl(f){return Do(0,[{provide:ei,useExisting:zs},{provide:vs,useExisting:f}])}const es=!1,Ea=new o.OlP(es?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),ol=[re.Ye,{provide:An,useClass:ar},Hr,Yr,{provide:qt,useFactory:function Qo(f){return f.routerState.root},deps:[Hr]},wn,es?{provide:bi,useValue:!0}:[]];function il(){return new o.PXZ("Router",Hr)}let sl=(()=>{class f{constructor(c){}static forRoot(c,b){return{ngModule:f,providers:[ol,es&&b?.enableTracing?_s().\u0275providers:[],{provide:Rn,multi:!0,useValue:c},{provide:Ea,useFactory:Ar,deps:[[Hr,new o.FiY,new o.tp0]]},{provide:Jo,useValue:b||{}},b?.useHash?{provide:re.S$,useClass:re.Do}:{provide:re.S$,useClass:re.b0},{provide:ys,useFactory:()=>{const f=(0,o.f3M)(re.EM),m=(0,o.f3M)(o.R0b),c=(0,o.f3M)(Jo),b=(0,o.f3M)(Ur),L=(0,o.f3M)(An);return c.scrollOffset&&f.setOffset(c.scrollOffset),new Li(L,b,f,m,c)}},b?.preloadingStrategy?nl(b.preloadingStrategy).\u0275providers:[],{provide:o.PXZ,multi:!0,useFactory:il},b?.initialNavigation?bs(b):[],[{provide:Di,useFactory:Qi},{provide:o.tb,multi:!0,useExisting:Di}]]}}static forChild(c){return{ngModule:f,providers:[{provide:Rn,multi:!0,useValue:c}]}}}return f.\u0275fac=function(c){return new(c||f)(o.LFG(Ea,8))},f.\u0275mod=o.oAB({type:f}),f.\u0275inj=o.cJS({imports:[ko]}),f})();function Ar(f){if(es&&f)throw new o.vHH(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function bs(f){return["disabled"===f.initialNavigation?Do(3,[{provide:o.ip1,multi:!0,useFactory:()=>{const m=(0,o.f3M)(Hr);return()=>{m.setUpLocationChangeListener()}}},{provide:Vo,useValue:2}]).\u0275providers:[],"enabledBlocking"===f.initialNavigation?Do(2,[{provide:Vo,useValue:0},{provide:o.ip1,multi:!0,deps:[o.zs3],useFactory:m=>{const c=m.get(re.V_,Promise.resolve());return()=>c.then(()=>new Promise(b=>{const L=m.get(Hr),q=m.get(Uo);(function ba(f,m){f.events.pipe((0,Ve.h)(c=>c instanceof A||c instanceof G||c instanceof Ie||c instanceof me),(0,ce.U)(c=>c instanceof A||c instanceof me?Tr.COMPLETE:c instanceof G&&(0===c.code||1===c.code)?Tr.REDIRECTING:Tr.FAILED),(0,Ve.h)(c=>c!==Tr.REDIRECTING),(0,pe.q)(1)).subscribe(()=>{m()})})(L,()=>{b(!0)}),m.get(Ur).afterPreactivation=()=>(b(!0),q.closed?(0,B.of)(void 0):q),L.initialNavigation()}))}}]).\u0275providers:[]]}const Di=new o.OlP(es?"Router Initializer":"")},958:(pt,Re,g)=>{"use strict";g.d(Re,{y4:()=>Qn,De:()=>_n,dy:()=>bn,oU:()=>_r,ki:()=>fr,O1:()=>Nn,d8:()=>vr,jP:()=>Jt,UN:()=>En,r4:()=>Mt,SH:()=>Xt,X1:()=>Dt,xs:()=>xn,t4:()=>Zt,j:()=>pr,H:()=>Ln,bk:()=>gr,DN:()=>qn,Wn:()=>Bn,vk:()=>vn});var o=g(5861),r=g(4650),B=g(6159),V=g(6895);class te{constructor(){this.m=new Map}reset(w){this.m=new Map(Object.entries(w))}get(w,I){const A=this.m.get(w);return void 0!==A?A:I}getBoolean(w,I=!1){const A=this.m.get(w);return void 0===A?I:"string"==typeof A?"true"===A:!!A}getNumber(w,I){const A=parseFloat(this.m.get(w));return isNaN(A)?void 0!==I?I:NaN:A}set(w,I){this.m.set(w,I)}}const P=new te,ye=ge=>re(ge),re=(ge=window)=>{if(typeof ge>"u")return[];ge.Ionic=ge.Ionic||{};let w=ge.Ionic.platforms;return null==w&&(w=ge.Ionic.platforms=ce(ge),w.forEach(I=>ge.document.documentElement.classList.add(`plt-${I}`))),w},ce=ge=>{const w=P.get("platform");return Object.keys(st).filter(I=>{const A=w?.[I];return"function"==typeof A?A(ge):st[I](ge)})},pe=ge=>!!(ke(ge,/iPad/i)||ke(ge,/Macintosh/i)&&j(ge)),Me=ge=>ke(ge,/android|sink/i),j=ge=>We(ge,"(any-pointer:coarse)"),Ce=ge=>_e(ge)||Te(ge),_e=ge=>!!(ge.cordova||ge.phonegap||ge.PhoneGap),Te=ge=>!!ge.Capacitor?.isNative,ke=(ge,w)=>w.test(ge.navigator.userAgent),We=(ge,w)=>{var I;return null===(I=ge.matchMedia)||void 0===I?void 0:I.call(ge,w).matches},st={ipad:pe,iphone:ge=>ke(ge,/iPhone/i),ios:ge=>ke(ge,/iPhone|iPod/i)||pe(ge),android:Me,phablet:ge=>{const w=ge.innerWidth,I=ge.innerHeight,A=Math.min(w,I),G=Math.max(w,I);return A>390&&A<520&&G>620&&G<800},tablet:ge=>{const w=ge.innerWidth,I=ge.innerHeight,A=Math.min(w,I),G=Math.max(w,I);return pe(ge)||(ge=>Me(ge)&&!ke(ge,/mobile/i))(ge)||A>460&&A<820&&G>780&&G<1400},cordova:_e,capacitor:Te,electron:ge=>ke(ge,/electron/i),pwa:ge=>{var w;return!!(null!==(w=ge.matchMedia)&&void 0!==w&&w.call(ge,"(display-mode: standalone)").matches||ge.navigator.standalone)},mobile:j,mobileweb:ge=>j(ge)&&!Ce(ge),desktop:ge=>!j(ge),hybrid:Ce};var N=g(3435),k=g(9804),se=g(7579),ae=g(4968),Ye=g(1135),qe=g(9841),gt=g(9646),dt=g(7582),At=g(9300),Wt=g(3900),at=g(1884),Je=g(4006);const Xe=["tabsInner"];let Zt=(()=>{class ge{constructor(I,A){this.doc=I,this.backButton=new se.x,this.keyboardDidShow=new se.x,this.keyboardDidHide=new se.x,this.pause=new se.x,this.resume=new se.x,this.resize=new se.x,A.run(()=>{let G;this.win=I.defaultView,this.backButton.subscribeWithPriority=function(me,Ie){return this.subscribe(Ne=>Ne.register(me,tt=>A.run(()=>Ie(tt))))},en(this.pause,I,"pause",A),en(this.resume,I,"resume",A),en(this.backButton,I,"ionBackButton",A),en(this.resize,this.win,"resize",A),en(this.keyboardDidShow,this.win,"ionKeyboardDidShow",A),en(this.keyboardDidHide,this.win,"ionKeyboardDidHide",A),this._readyPromise=new Promise(me=>{G=me}),this.win?.cordova?I.addEventListener("deviceready",()=>{G("cordova")},{once:!0}):G("dom")})}is(I){return((ge,w)=>("string"==typeof ge&&(w=ge,ge=void 0),ye(ge).includes(w)))(this.win,I)}platforms(){return ye(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(I){return Ct(this.win.location.href,I)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia?.("(orientation: portrait)").matches}testUserAgent(I){const A=this.win.navigator;return!!(A?.userAgent&&A.userAgent.indexOf(I)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return ge.\u0275fac=function(I){return new(I||ge)(r.LFG(V.K0),r.LFG(r.R0b))},ge.\u0275prov=r.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})();const Ct=(ge,w)=>{w=w.replace(/[[\]\\]/g,"\\$&");const A=new RegExp("[\\?&]"+w+"=([^&#]*)").exec(ge);return A?decodeURIComponent(A[1].replace(/\+/g," ")):null},en=(ge,w,I,A)=>{w&&w.addEventListener(I,G=>{A.run(()=>{const me=G?.detail;ge.next(me)})})};let Xt=(()=>{class ge{constructor(I,A,G,me){this.location=A,this.serializer=G,this.router=me,this.direction=On,this.animated=sr,this.guessDirection="forward",this.lastNavId=-1,me&&me.events.subscribe(Ie=>{if(Ie instanceof B.OD){const Ne=Ie.restoredState?Ie.restoredState.navigationId:Ie.id;this.guessDirection=Ne{this.pop(),Ie()})}navigateForward(I,A={}){return this.setDirection("forward",A.animated,A.animationDirection,A.animation),this.navigate(I,A)}navigateBack(I,A={}){return this.setDirection("back",A.animated,A.animationDirection,A.animation),this.navigate(I,A)}navigateRoot(I,A={}){return this.setDirection("root",A.animated,A.animationDirection,A.animation),this.navigate(I,A)}back(I={animated:!0,animationDirection:"back"}){return this.setDirection("back",I.animated,I.animationDirection,I.animation),this.location.back()}pop(){var I=this;return(0,o.Z)(function*(){let A=I.topOutlet;for(;A;){if(yield A.pop())return!0;A=A.parentOutlet}return!1})()}setDirection(I,A,G,me){this.direction=I,this.animated=Mn(I,A,G),this.animationBuilder=me}setTopOutlet(I){this.topOutlet=I}consumeTransition(){let A,I="root";const G=this.animationBuilder;return"auto"===this.direction?(I=this.guessDirection,A=this.guessAnimation):(A=this.animated,I=this.direction),this.direction=On,this.animated=sr,this.animationBuilder=void 0,{direction:I,animation:A,animationBuilder:G}}navigate(I,A){if(Array.isArray(I))return this.router.navigate(I,A);{const G=this.serializer.parse(I.toString());return void 0!==A.queryParams&&(G.queryParams={...A.queryParams}),void 0!==A.fragment&&(G.fragment=A.fragment),this.router.navigateByUrl(G,A)}}}return ge.\u0275fac=function(I){return new(I||ge)(r.LFG(Zt),r.LFG(V.Ye),r.LFG(B.Hx),r.LFG(B.F0,8))},ge.\u0275prov=r.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})();const Mn=(ge,w,I)=>{if(!1!==w){if(void 0!==I)return I;if("forward"===ge||"back"===ge)return ge;if("root"===ge&&!0===w)return"forward"}},On="auto",sr=void 0;let _n=(()=>{class ge{get(I,A){const G=Nt();return G?G.get(I,A):null}getBoolean(I,A){const G=Nt();return!!G&&G.getBoolean(I,A)}getNumber(I,A){const G=Nt();return G?G.getNumber(I,A):0}}return ge.\u0275fac=function(I){return new(I||ge)},ge.\u0275prov=r.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})();const bn=new r.OlP("USERCONFIG"),Nt=()=>{if(typeof window<"u"){const ge=window.Ionic;if(ge?.config)return ge.config}return null};class Dt{constructor(w={}){this.data=w}get(w){return this.data[w]}}let Qn=(()=>{class ge{constructor(){this.zone=(0,r.f3M)(r.R0b),this.applicationRef=(0,r.f3M)(r.z2F)}create(I,A,G){return new ln(I,A,this.applicationRef,this.zone,G)}}return ge.\u0275fac=function(I){return new(I||ge)},ge.\u0275prov=r.Yz7({token:ge,factory:ge.\u0275fac}),ge})();class ln{constructor(w,I,A,G,me){this.environmentInjector=w,this.injector=I,this.applicationRef=A,this.zone=G,this.elementReferenceKey=me,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(w,I,A,G){return this.zone.run(()=>new Promise(me=>{const Ie={...A};void 0!==this.elementReferenceKey&&(Ie[this.elementReferenceKey]=w),me(pn(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,w,I,Ie,G,this.elementReferenceKey))}))}removeViewFromDom(w,I){return this.zone.run(()=>new Promise(A=>{const G=this.elRefMap.get(I);if(G){G.destroy(),this.elRefMap.delete(I);const me=this.elEventsMap.get(I);me&&(me(),this.elEventsMap.delete(I))}A()}))}}const pn=(ge,w,I,A,G,me,Ie,Ne,tt,lt,bt)=>{const S=r.zs3.create({providers:dn(tt),parent:I}),$=(0,r.LMc)(Ne,{environmentInjector:w,elementInjector:S}),fe=$.instance,Ae=$.location.nativeElement;if(tt&&(bt&&void 0!==fe[bt]&&console.error(`[Ionic Error]: ${bt} is a reserved property when using ${Ie.tagName.toLowerCase()}. Rename or remove the "${bt}" property from ${Ne.name}.`),Object.assign(fe,tt)),lt)for(const Fe of lt)Ae.classList.add(Fe);const ze=An(ge,fe,Ae);return Ie.appendChild(Ae),A.attachView($.hostView),G.set(Ae,$),me.set(Ae,ze),Ae},Xn=[N.L,N.a,N.b,N.c,N.d],An=(ge,w,I)=>ge.run(()=>{const A=Xn.filter(G=>"function"==typeof w[G]).map(G=>{const me=Ie=>w[G](Ie.detail);return I.addEventListener(G,me),()=>I.removeEventListener(G,me)});return()=>A.forEach(G=>G())}),ar=new r.OlP("NavParamsToken"),dn=ge=>[{provide:ar,useValue:ge},{provide:Dt,useFactory:lr,deps:[ar]}],lr=ge=>new Dt(ge),Qt=(ge,w)=>{const I=ge.prototype;w.forEach(A=>{Object.defineProperty(I,A,{get(){return this.el[A]},set(G){this.z.runOutsideAngular(()=>this.el[A]=G)}})})},dr=(ge,w)=>{const I=ge.prototype;w.forEach(A=>{I[A]=function(){const G=arguments;return this.z.runOutsideAngular(()=>this.el[A].apply(this.el,G))}})},fn=(ge,w,I)=>{I.forEach(A=>ge[A]=(0,ae.R)(w,A))};function Hn(ge){return function(I){const{defineCustomElementFn:A,inputs:G,methods:me}=ge;return void 0!==A&&A(),G&&Qt(I,G),me&&dr(I,me),I}}const Kn=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],cr=["present","dismiss","onDidDismiss","onWillDismiss"];let vr=(()=>{let ge=class{constructor(I,A,G){this.z=G,this.isCmpOpen=!1,this.el=A.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,I.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,I.detectChanges()}),fn(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return ge.\u0275fac=function(I){return new(I||ge)(r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(r.R0b))},ge.\u0275dir=r.lG2({type:ge,selectors:[["ion-popover"]],contentQueries:function(I,A,G){if(1&I&&r.Suo(G,r.Rgc,5),2&I){let me;r.iGM(me=r.CRH())&&(A.template=me.first)}},inputs:{alignment:"alignment",animated:"animated",arrow:"arrow",keepContentsMounted:"keepContentsMounted",backdropDismiss:"backdropDismiss",cssClass:"cssClass",dismissOnSelect:"dismissOnSelect",enterAnimation:"enterAnimation",event:"event",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger",triggerAction:"triggerAction",reference:"reference",size:"size",side:"side"}}),ge=(0,dt.gn)([Hn({inputs:Kn,methods:cr})],ge),ge})();const jn=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],yr=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"];let fr=(()=>{let ge=class{constructor(I,A,G){this.z=G,this.isCmpOpen=!1,this.el=A.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,I.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,I.detectChanges()}),fn(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return ge.\u0275fac=function(I){return new(I||ge)(r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(r.R0b))},ge.\u0275dir=r.lG2({type:ge,selectors:[["ion-modal"]],contentQueries:function(I,A,G){if(1&I&&r.Suo(G,r.Rgc,5),2&I){let me;r.iGM(me=r.CRH())&&(A.template=me.first)}},inputs:{animated:"animated",keepContentsMounted:"keepContentsMounted",backdropBreakpoint:"backdropBreakpoint",backdropDismiss:"backdropDismiss",breakpoints:"breakpoints",canDismiss:"canDismiss",cssClass:"cssClass",enterAnimation:"enterAnimation",event:"event",handle:"handle",handleBehavior:"handleBehavior",initialBreakpoint:"initialBreakpoint",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",presentingElement:"presentingElement",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger"}}),ge=(0,dt.gn)([Hn({inputs:jn,methods:yr})],ge),ge})();const Fn=(ge,w)=>((ge=ge.filter(I=>I.stackId!==w.stackId)).push(w),ge),mn=(ge,w)=>{const I=ge.createUrlTree(["."],{relativeTo:w});return ge.serializeUrl(I)},tn=(ge,w)=>!w||ge.stackId!==w.stackId,Ze=(ge,w)=>{if(!ge)return;const I=$e(w);for(let A=0;A=ge.length)return I[A];if(I[A]!==ge[A])return}},$e=ge=>ge.split("/").map(w=>w.trim()).filter(w=>""!==w),Ee=ge=>{ge&&(ge.ref.destroy(),ge.unlistenEvents())};class Ke{constructor(w,I,A,G,me,Ie){this.containerEl=I,this.router=A,this.navCtrl=G,this.zone=me,this.location=Ie,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==w?$e(w):void 0}createView(w,I){const A=mn(this.router,I),G=w?.location?.nativeElement,me=An(this.zone,w.instance,G);return{id:this.nextId++,stackId:Ze(this.tabsPrefix,A),unlistenEvents:me,element:G,ref:w,url:A}}getExistingView(w){const I=mn(this.router,w),A=this.views.find(G=>G.url===I);return A&&A.ref.changeDetectorRef.reattach(),A}setActive(w){const I=this.navCtrl.consumeTransition();let{direction:A,animation:G,animationBuilder:me}=I;const Ie=this.activeView,Ne=tn(w,Ie);Ne&&(A="back",G=void 0);const tt=this.views.slice();let lt;const bt=this.router;bt.getCurrentNavigation?lt=bt.getCurrentNavigation():bt.navigations?.value&&(lt=bt.navigations.value),lt?.extras?.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const S=this.views.includes(w),$=this.insertView(w,A);S||w.ref.changeDetectorRef.detectChanges();const fe=w.animationBuilder;return void 0===me&&"back"===A&&!Ne&&void 0!==fe&&(me=fe),Ie&&(Ie.animationBuilder=me),this.zone.runOutsideAngular(()=>this.wait(()=>(Ie&&Ie.ref.changeDetectorRef.detach(),w.ref.changeDetectorRef.reattach(),this.transition(w,Ie,G,this.canGoBack(1),!1,me).then(()=>ot(w,$,tt,this.location,this.zone)).then(()=>({enteringView:w,direction:A,animation:G,tabSwitch:Ne})))))}canGoBack(w,I=this.getActiveStackId()){return this.getStack(I).length>w}pop(w,I=this.getActiveStackId()){return this.zone.run(()=>{const A=this.getStack(I);if(A.length<=w)return Promise.resolve(!1);const G=A[A.length-w-1];let me=G.url;const Ie=G.savedData;if(Ie){const tt=Ie.get("primary");tt?.route?._routerState?.snapshot.url&&(me=tt.route._routerState.snapshot.url)}const{animationBuilder:Ne}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(me,{...G.savedExtras,animation:Ne}).then(()=>!0)})}startBackTransition(){const w=this.activeView;if(w){const I=this.getStack(w.stackId),A=I[I.length-2],G=A.animationBuilder;return this.wait(()=>this.transition(A,w,"back",this.canGoBack(2),!0,G))}return Promise.resolve()}endBackTransition(w){w?(this.skipTransition=!0,this.pop(1)):this.activeView&&wt(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(w){const I=this.getStack(w);return I.length>0?I[I.length-1]:void 0}getRootUrl(w){const I=this.getStack(w);return I.length>0?I[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}getActiveView(){return this.activeView}hasRunningTask(){return void 0!==this.runningTask}destroy(){this.containerEl=void 0,this.views.forEach(Ee),this.activeView=void 0,this.views=[]}getStack(w){return this.views.filter(I=>I.stackId===w)}insertView(w,I){return this.activeView=w,this.views=((ge,w,I)=>"root"===I?Fn(ge,w):"forward"===I?((ge,w)=>(ge.indexOf(w)>=0?ge=ge.filter(A=>A.stackId!==w.stackId||A.id<=w.id):ge.push(w),ge))(ge,w):((ge,w)=>ge.indexOf(w)>=0?ge.filter(A=>A.stackId!==w.stackId||A.id<=w.id):Fn(ge,w))(ge,w))(this.views,w,I),this.views.slice()}transition(w,I,A,G,me,Ie){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(I===w)return Promise.resolve(!1);const Ne=w?w.element:void 0,tt=I?I.element:void 0,lt=this.containerEl;return Ne&&Ne!==tt&&(Ne.classList.add("ion-page"),Ne.classList.add("ion-page-invisible"),Ne.parentElement!==lt&<.appendChild(Ne),lt.commit)?lt.commit(Ne,tt,{duration:void 0===A?0:void 0,direction:A,showGoBack:G,progressAnimation:me,animationBuilder:Ie}):Promise.resolve(!1)}wait(w){var I=this;return(0,o.Z)(function*(){void 0!==I.runningTask&&(yield I.runningTask,I.runningTask=void 0);const A=I.runningTask=w();return A.finally(()=>I.runningTask=void 0),A})()}}const ot=(ge,w,I,A,G)=>"function"==typeof requestAnimationFrame?new Promise(me=>{requestAnimationFrame(()=>{wt(ge,w,I,A,G),me()})}):Promise.resolve(),wt=(ge,w,I,A,G)=>{G.run(()=>I.filter(me=>!w.includes(me)).forEach(Ee)),w.forEach(me=>{const Ne=A.path().split("?")[0].split("#")[0];if(me!==ge&&me.url!==Ne){const tt=me.element;tt.setAttribute("aria-hidden","true"),tt.classList.add("ion-page-hidden"),me.ref.changeDetectorRef.detach()}})};let Jt=(()=>{class ge{constructor(I,A,G,me,Ie,Ne,tt,lt){this.parentOutlet=lt,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new Ye.X(null),this.activated=null,this._activatedRoute=null,this.name=B.eC,this.stackWillChange=new r.vpe,this.stackDidChange=new r.vpe,this.activateEvents=new r.vpe,this.deactivateEvents=new r.vpe,this.parentContexts=(0,r.f3M)(B.y6),this.location=(0,r.f3M)(r.s_b),this.environmentInjector=(0,r.f3M)(r.lqb),this.inputBinder=(0,r.f3M)(Pn,{optional:!0}),this.supportsBindingToComponentInputs=!0,this.config=(0,r.f3M)(_n),this.navCtrl=(0,r.f3M)(Xt),this.nativeEl=me.nativeElement,this.name=I||B.eC,this.tabsPrefix="true"===A?mn(Ie,tt):void 0,this.stackCtrl=new Ke(this.tabsPrefix,this.nativeEl,Ie,this.navCtrl,Ne,G),this.parentContexts.onChildOutletCreated(this.name,this)}get activatedComponentRef(){return this.activated}set animation(I){this.nativeEl.animation=I}set animated(I){this.nativeEl.animated=I}set swipeGesture(I){this._swipeGesture=I,this.nativeEl.swipeHandler=I?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:A=>this.stackCtrl.endBackTransition(A)}:void 0}ngOnDestroy(){this.stackCtrl.destroy(),this.inputBinder?.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const I=this.getContext();I?.route&&this.activateWith(I.route,I.injector)}new Promise(I=>(0,k.c)(this.nativeEl,I)).then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(I,A){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const A=this.getContext();this.activatedView.savedData=new Map(A.children.contexts);const G=this.activatedView.savedData.get("primary");if(G&&A.route&&(G.route={...A.route}),this.activatedView.savedExtras={},A.route){const me=A.route.snapshot;this.activatedView.savedExtras.queryParams=me.queryParams,this.activatedView.savedExtras.fragment=me.fragment}}const I=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(I)}}activateWith(I,A){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=I;let G,me=this.stackCtrl.getExistingView(I);if(me){G=this.activated=me.ref;const Ne=me.savedData;Ne&&(this.getContext().children.contexts=Ne),this.updateActivatedRouteProxy(G.instance,I)}else{const Ne=I._futureSnapshot,tt=this.parentContexts.getOrCreateContext(this.name).children,lt=new Ye.X(null),bt=this.createActivatedRouteProxy(lt,I),S=new Dn(bt,tt,this.location.injector);G=this.activated=this.location.createComponent(Ne.routeConfig.component??Ne.component,{index:this.location.length,injector:S,environmentInjector:A??this.environmentInjector}),lt.next(G.instance),me=this.stackCtrl.createView(this.activated,I),this.proxyMap.set(G.instance,bt),this.currentActivatedRoute$.next({component:G.instance,activatedRoute:I})}this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activatedView=me,this.navCtrl.setTopOutlet(this);const Ie=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:me,tabSwitch:tn(me,Ie)}),this.stackCtrl.setActive(me).then(Ne=>{this.activateEvents.emit(G.instance),this.stackDidChange.emit(Ne)})}canGoBack(I=1,A){return this.stackCtrl.canGoBack(I,A)}pop(I=1,A){return this.stackCtrl.pop(I,A)}getLastUrl(I){const A=this.stackCtrl.getLastUrl(I);return A?A.url:void 0}getLastRouteView(I){return this.stackCtrl.getLastUrl(I)}getRootView(I){return this.stackCtrl.getRootUrl(I)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(I,A){const G=new B.gz;return G._futureSnapshot=A._futureSnapshot,G._routerState=A._routerState,G.snapshot=A.snapshot,G.outlet=A.outlet,G.component=A.component,G._paramMap=this.proxyObservable(I,"paramMap"),G._queryParamMap=this.proxyObservable(I,"queryParamMap"),G.url=this.proxyObservable(I,"url"),G.params=this.proxyObservable(I,"params"),G.queryParams=this.proxyObservable(I,"queryParams"),G.fragment=this.proxyObservable(I,"fragment"),G.data=this.proxyObservable(I,"data"),G}proxyObservable(I,A){return I.pipe((0,At.h)(G=>!!G),(0,Wt.w)(G=>this.currentActivatedRoute$.pipe((0,At.h)(me=>null!==me&&me.component===G),(0,Wt.w)(me=>me&&me.activatedRoute[A]),(0,at.x)())))}updateActivatedRouteProxy(I,A){const G=this.proxyMap.get(I);if(!G)throw new Error("Could not find activated route proxy for view");G._futureSnapshot=A._futureSnapshot,G._routerState=A._routerState,G.snapshot=A.snapshot,G.outlet=A.outlet,G.component=A.component,this.currentActivatedRoute$.next({component:I,activatedRoute:A})}}return ge.\u0275fac=function(I){return new(I||ge)(r.$8M("name"),r.$8M("tabs"),r.Y36(V.Ye),r.Y36(r.SBq),r.Y36(B.F0),r.Y36(r.R0b),r.Y36(B.gz),r.Y36(ge,12))},ge.\u0275dir=r.lG2({type:ge,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",mode:"mode",swipeGesture:"swipeGesture",name:"name"},outputs:{stackWillChange:"stackWillChange",stackDidChange:"stackDidChange",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),ge})();class Dn{constructor(w,I,A){this.route=w,this.childContexts=I,this.parent=A}get(w,I){return w===B.gz?this.route:w===B.y6?this.childContexts:this.parent.get(w,I)}}const Pn=new r.OlP("");let hr=(()=>{class ge{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(I){this.unsubscribeFromRouteData(I),this.subscribeToRouteData(I)}unsubscribeFromRouteData(I){this.outletDataSubscriptions.get(I)?.unsubscribe(),this.outletDataSubscriptions.delete(I)}subscribeToRouteData(I){const{activatedRoute:A}=I,G=(0,qe.a)([A.queryParams,A.params,A.data]).pipe((0,Wt.w)(([me,Ie,Ne],tt)=>(Ne={...me,...Ie,...Ne},0===tt?(0,gt.of)(Ne):Promise.resolve(Ne)))).subscribe(me=>{if(!I.isActivated||!I.activatedComponentRef||I.activatedRoute!==A||null===A.component)return void this.unsubscribeFromRouteData(I);const Ie=(0,r.qFp)(A.component);if(Ie)for(const{templateName:Ne}of Ie.inputs)I.activatedComponentRef.setInput(Ne,me[Ne]);else this.unsubscribeFromRouteData(I)});this.outletDataSubscriptions.set(I,G)}}return ge.\u0275fac=function(I){return new(I||ge)},ge.\u0275prov=r.Yz7({token:ge,factory:ge.\u0275fac}),ge})();const qn=()=>({provide:Pn,useFactory:Sn,deps:[B.F0]});function Sn(ge){return ge?.componentInputBindingEnabled?new hr:null}const zn=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let _r=(()=>{let ge=class{constructor(I,A,G,me,Ie,Ne){this.routerOutlet=I,this.navCtrl=A,this.config=G,this.r=me,this.z=Ie,Ne.detach(),this.el=this.r.nativeElement}onClick(I){const A=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet?.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),I.preventDefault()):null!=A&&(this.navCtrl.navigateBack(A,{animation:this.routerAnimation}),I.preventDefault())}};return ge.\u0275fac=function(I){return new(I||ge)(r.Y36(Jt,8),r.Y36(Xt),r.Y36(_n),r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(r.sBO))},ge.\u0275dir=r.lG2({type:ge,hostBindings:function(I,A){1&I&&r.NdJ("click",function(me){return A.onClick(me)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),ge=(0,dt.gn)([Hn({inputs:zn})],ge),ge})(),pr=(()=>{class ge{constructor(I,A,G,me,Ie){this.locationStrategy=I,this.navCtrl=A,this.elementRef=G,this.router=me,this.routerLink=Ie,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const I=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=I}}onClick(I){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),I.preventDefault()}}return ge.\u0275fac=function(I){return new(I||ge)(r.Y36(V.S$),r.Y36(Xt),r.Y36(r.SBq),r.Y36(B.F0),r.Y36(B.rH,8))},ge.\u0275dir=r.lG2({type:ge,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(I,A){1&I&&r.NdJ("click",function(me){return A.onClick(me)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[r.TTD]}),ge})(),Ln=(()=>{class ge{constructor(I,A,G,me,Ie){this.locationStrategy=I,this.navCtrl=A,this.elementRef=G,this.router=me,this.routerLink=Ie,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const I=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=I}}onClick(){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation)}}return ge.\u0275fac=function(I){return new(I||ge)(r.Y36(V.S$),r.Y36(Xt),r.Y36(r.SBq),r.Y36(B.F0),r.Y36(B.rH,8))},ge.\u0275dir=r.lG2({type:ge,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(I,A){1&I&&r.NdJ("click",function(){return A.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[r.TTD]}),ge})();const rn=["animated","animation","root","rootParams","swipeGesture"],Gn=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let Nn=(()=>{let ge=class{constructor(I,A,G,me,Ie,Ne){this.z=Ie,Ne.detach(),this.el=I.nativeElement,I.nativeElement.delegate=me.create(A,G),fn(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return ge.\u0275fac=function(I){return new(I||ge)(r.Y36(r.SBq),r.Y36(r.lqb),r.Y36(r.zs3),r.Y36(Qn),r.Y36(r.R0b),r.Y36(r.sBO))},ge.\u0275dir=r.lG2({type:ge,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),ge=(0,dt.gn)([Hn({inputs:rn,methods:Gn})],ge),ge})(),En=(()=>{class ge{constructor(I){this.navCtrl=I,this.ionTabsWillChange=new r.vpe,this.ionTabsDidChange=new r.vpe,this.tabBarSlot="bottom"}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:I,tabSwitch:A}){const G=I.stackId;A&&void 0!==G&&this.ionTabsWillChange.emit({tab:G})}onStackDidChange({enteringView:I,tabSwitch:A}){const G=I.stackId;A&&void 0!==G&&(this.tabBar&&(this.tabBar.selectedTab=G),this.ionTabsDidChange.emit({tab:G}))}select(I){const A="string"==typeof I,G=A?I:I.detail.tab,me=this.outlet.getActiveStackId()===G,Ie=`${this.outlet.tabsPrefix}/${G}`;if(A||I.stopPropagation(),me){const Ne=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(Ne)?.url===Ie)return;const lt=this.outlet.getRootView(G);return this.navCtrl.navigateRoot(Ie,{...lt&&Ie===lt.url&<.savedExtras,animated:!0,animationDirection:"back"})}{const Ne=this.outlet.getLastRouteView(G),lt=Ne?.savedExtras;return this.navCtrl.navigateRoot(Ne?.url||Ie,{...lt,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(I=>{const A=I.el.getAttribute("slot");A!==this.tabBarSlot&&(this.tabBarSlot=A,this.relocateTabBar())})}relocateTabBar(){const I=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(I):this.tabsInner.nativeElement.after(I)}}return ge.\u0275fac=function(I){return new(I||ge)(r.Y36(Xt))},ge.\u0275dir=r.lG2({type:ge,selectors:[["ion-tabs"]],viewQuery:function(I,A){if(1&I&&r.Gf(Xe,7,r.SBq),2&I){let G;r.iGM(G=r.CRH())&&(A.tabsInner=G.first)}},hostBindings:function(I,A){1&I&&r.NdJ("ionTabButtonClick",function(me){return A.select(me)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),ge})();const Bn=ge=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(ge):"function"==typeof requestAnimationFrame?requestAnimationFrame(ge):setTimeout(ge);let gr=(()=>{class ge{constructor(I,A){this.injector=I,this.elementRef=A,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(I){this.elementRef.nativeElement.value=this.lastValue=I,vn(this.elementRef)}handleValueChange(I,A){I===this.elementRef.nativeElement&&(A!==this.lastValue&&(this.lastValue=A,this.onChange(A)),vn(this.elementRef))}_handleBlurEvent(I){I===this.elementRef.nativeElement&&(this.onTouched(),vn(this.elementRef))}registerOnChange(I){this.onChange=I}registerOnTouched(I){this.onTouched=I}setDisabledState(I){this.elementRef.nativeElement.disabled=I}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let I;try{I=this.injector.get(Je.a5)}catch{}if(!I)return;I.statusChanges&&(this.statusChanges=I.statusChanges.subscribe(()=>vn(this.elementRef)));const A=I.control;A&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(me=>{if(typeof A[me]<"u"){const Ie=A[me].bind(A);A[me]=(...Ne)=>{Ie(...Ne),vn(this.elementRef)}}})}}return ge.\u0275fac=function(I){return new(I||ge)(r.Y36(r.zs3),r.Y36(r.SBq))},ge.\u0275dir=r.lG2({type:ge,hostBindings:function(I,A){1&I&&r.NdJ("ionBlur",function(me){return A._handleBlurEvent(me.target)})}}),ge})();const vn=ge=>{Bn(()=>{const w=ge.nativeElement,I=null!=w.value&&w.value.toString().length>0,A=Un(w);kn(w,A);const G=w.closest("ion-item");G&&kn(G,I?[...A,"item-has-value"]:A)})},Un=ge=>{const w=ge.classList,I=[];for(let A=0;A{const I=ge.classList;I.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),I.add(...w)},Et=(ge,w)=>ge.substring(0,w.length)===w;class Mt{shouldDetach(w){return!1}shouldAttach(w){return!1}store(w,I){}retrieve(w){return null}shouldReuseRoute(w,I){if(w.routeConfig!==I.routeConfig)return!1;const A=w.params,G=I.params,me=Object.keys(A),Ie=Object.keys(G);if(me.length!==Ie.length)return!1;for(const Ne of me)if(G[Ne]!==A[Ne])return!1;return!0}}class xn{constructor(w){this.ctrl=w}create(w){return this.ctrl.create(w||{})}dismiss(w,I,A){return this.ctrl.dismiss(w,I,A)}getTop(){return this.ctrl.getTop()}}},9149:(pt,Re,g)=>{"use strict";g.d(Re,{Br:()=>$,w:()=>Be,dr:()=>gt,oU:()=>I,yp:()=>Wt,YG:()=>Xe,Sm:()=>ut,nz:()=>Xt,wI:()=>On,W2:()=>sr,fr:()=>ln,jY:()=>pn,Gu:()=>Xn,gu:()=>An,pK:()=>Qt,Ie:()=>dr,Ub:()=>Hn,Q$:()=>jn,q_:()=>yr,yh:()=>fr,z0:()=>Fn,fG:()=>gn,zc:()=>Cn,ki:()=>Ie,uN:()=>tn,I_:()=>ot,Nh:()=>Dn,oz:()=>Pn,jP:()=>ge,Nd:()=>qn,cJ:()=>zn,GO:()=>_r,t9:()=>pr,n0:()=>Ln,Bs:()=>Un,wd:()=>kn,ho:()=>Mt,sr:()=>xn,Pc:()=>hn,IN:()=>et,Dh:()=>ft,YI:()=>G,QI:()=>We,j9:()=>st,yF:()=>mt});var o=g(4650),r=g(4006),B=g(958),V=g(7582),te=g(4968),P=g(6895),R=g(6159),ye=(g(2876),g(9528),g(1838),g(6705),g(5067),g(4649)),de=g(7036),ce=(g(8931),g(8042)),pe=(g(2972),g(408));g(2889);const Le=ye.i,we=["*"];function _e(h,K){if(1&h&&(o.TgZ(0,"div",1),o.GkF(1,2),o.qZA()),2&h){const D=o.oxw();o.xp6(1),o.Q6J("ngTemplateOutlet",D.template)}}let Be=(()=>{class h extends B.bk{constructor(D,ue){super(D,ue)}writeValue(D){this.elementRef.nativeElement.checked=this.lastValue=D,(0,B.vk)(this.elementRef)}_handleIonChange(D){this.handleValueChange(D,D.checked)}}return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.zs3),o.Y36(o.SBq))},h.\u0275dir=o.lG2({type:h,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(D,ue){1&D&&o.NdJ("ionChange",function(nn){return ue._handleIonChange(nn.target)})},features:[o._Bn([{provide:r.JU,useExisting:h,multi:!0}]),o.qOj]}),h})(),We=(()=>{class h extends B.bk{constructor(D,ue){super(D,ue)}_handleChangeEvent(D){this.handleValueChange(D,D.value)}}return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.zs3),o.Y36(o.SBq))},h.\u0275dir=o.lG2({type:h,selectors:[["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(D,ue){1&D&&o.NdJ("ionChange",function(nn){return ue._handleChangeEvent(nn.target)})},features:[o._Bn([{provide:r.JU,useExisting:h,multi:!0}]),o.qOj]}),h})(),st=(()=>{class h extends B.bk{constructor(D,ue){super(D,ue)}_handleInputEvent(D){this.handleValueChange(D,D.value)}}return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.zs3),o.Y36(o.SBq))},h.\u0275dir=o.lG2({type:h,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"],["ion-range"]],hostBindings:function(D,ue){1&D&&o.NdJ("ionInput",function(nn){return ue._handleInputEvent(nn.target)})},features:[o._Bn([{provide:r.JU,useExisting:h,multi:!0}]),o.qOj]}),h})();const ve=(h,K)=>{const D=h.prototype;K.forEach(ue=>{Object.defineProperty(D,ue,{get(){return this.el[ue]},set(Ue){this.z.runOutsideAngular(()=>this.el[ue]=Ue)},configurable:!0})})},z=(h,K)=>{const D=h.prototype;K.forEach(ue=>{D[ue]=function(){const Ue=arguments;return this.z.runOutsideAngular(()=>this.el[ue].apply(this.el,Ue))}})},C=(h,K,D)=>{D.forEach(ue=>h[ue]=(0,te.R)(K,ue))};function k(h){return function(D){const{defineCustomElementFn:ue,inputs:Ue,methods:nn}=h;return void 0!==ue&&ue(),Ue&&ve(D,Ue),nn&&z(D,nn),D}}let gt=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-app"]],ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({})],h),h})(),Wt=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["color","mode"]})],h),h})(),Xe=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement,C(this,this.el,["ionFocus","ionBlur"])}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",form:"form",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],h),h})(),ut=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["collapse"]})],h),h})(),Xt=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement,C(this,this.el,["ionChange","ionFocus","ionBlur"])}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-checkbox"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","legacy","mode","name","value"]})],h),h})(),On=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],h),h})(),sr=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement,C(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],h),h})(),ln=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["collapse","mode","translucent"]})],h),h})(),pn=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["fixed"]})],h),h})(),Xn=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["collapse","mode","translucent"]})],h),h})(),An=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],h),h})(),Qt=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement,C(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","shape","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],h),h})(),dr=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-item"]],inputs:{button:"button",color:"color",counter:"counter",counterFormatter:"counterFormatter",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",fill:"fill",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",target:"target",type:"type"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],h),h})(),Hn=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-item-group"]],ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({})],h),h})(),jn=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["color","mode","position"]})],h),h})(),yr=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],h),h})(),fr=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["color","lines","mode"]})],h),h})(),Fn=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement,C(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],h),h})(),gn=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["autoHide","color","disabled","menu","mode","type"]})],h),h})(),Cn=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["autoHide","menu"]})],h),h})(),tn=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["color","mode"]})],h),h})(),ot=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement,C(this,this.el,["ionChange","ionInput","ionFocus","ionBlur","ionKnobMoveStart","ionKnobMoveEnd"])}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-range"]],inputs:{activeBarStart:"activeBarStart",color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",pinFormatter:"pinFormatter",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["activeBarStart","color","debounce","disabled","dualKnobs","label","labelPlacement","legacy","max","min","mode","name","pin","pinFormatter","snaps","step","ticks","value"]})],h),h})(),Dn=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-reorder"]],ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({})],h),h})(),Pn=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement,C(this,this.el,["ionItemReorder"])}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["disabled"],methods:["complete"]})],h),h})(),qn=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-row"]],ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({})],h),h})(),zn=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement,C(this,this.el,["ionChange"])}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"]})],h),h})(),_r=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["disabled","layout","mode","type","value"]})],h),h})(),pr=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement,C(this,this.el,["ionChange","ionCancel","ionDismiss","ionFocus","ionBlur"])}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",color:"color",compareWith:"compareWith",disabled:"disabled",expandedIcon:"expandedIcon",fill:"fill",interface:"interface",interfaceOptions:"interfaceOptions",justify:"justify",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",shape:"shape",toggleIcon:"toggleIcon",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["cancelText","color","compareWith","disabled","expandedIcon","fill","interface","interfaceOptions","justify","label","labelPlacement","legacy","mode","multiple","name","okText","placeholder","selectedText","shape","toggleIcon","value"],methods:["open"]})],h),h})(),Ln=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["disabled","value"]})],h),h})(),Un=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-thumbnail"]],ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({})],h),h})(),kn=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["color","size"]})],h),h})(),Mt=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement,C(this,this.el,["ionChange","ionFocus","ionBlur"])}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-toggle"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",enableOnOffLabels:"enableOnOffLabels",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["alignment","checked","color","disabled","enableOnOffLabels","justify","labelPlacement","legacy","mode","name","value"]})],h),h})(),xn=(()=>{let h=class{constructor(D,ue,Ue){this.z=Ue,D.detach(),this.el=ue.nativeElement}};return h.\u0275fac=function(D){return new(D||h)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["color","mode"]})],h),h})(),ge=(()=>{class h extends B.jP{constructor(D,ue,Ue,nn,qt,br,Cr,Er){super(D,ue,Ue,nn,qt,br,Cr,Er),this.parentOutlet=Er}}return h.\u0275fac=function(D){return new(D||h)(o.$8M("name"),o.$8M("tabs"),o.Y36(P.Ye),o.Y36(o.SBq),o.Y36(R.F0),o.Y36(o.R0b),o.Y36(R.gz),o.Y36(h,12))},h.\u0275dir=o.lG2({type:h,selectors:[["ion-router-outlet"]],features:[o.qOj]}),h})(),I=(()=>{class h extends B.oU{constructor(D,ue,Ue,nn,qt,br){super(D,ue,Ue,nn,qt,br)}}return h.\u0275fac=function(D){return new(D||h)(o.Y36(ge,8),o.Y36(B.SH),o.Y36(B.De),o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(o.sBO))},h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-back-button"]],features:[o.qOj],ngContentSelectors:we,decls:1,vars:0,template:function(D,ue){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h})(),G=(()=>{class h extends B.j{}return h.\u0275fac=function(){let K;return function(ue){return(K||(K=o.n5z(h)))(ue||h)}}(),h.\u0275dir=o.lG2({type:h,selectors:[["","routerLink","",5,"a",5,"area"]],features:[o.qOj]}),h})(),Ie=(()=>{class h extends B.ki{}return h.\u0275fac=function(){let K;return function(ue){return(K||(K=o.n5z(h)))(ue||h)}}(),h.\u0275cmp=o.Xpm({type:h,selectors:[["ion-modal"]],features:[o.qOj],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(D,ue){1&D&&o.YNc(0,_e,2,1,"div",0),2&D&&o.Q6J("ngIf",ue.isCmpOpen||ue.keepContentsMounted)},dependencies:[P.O5,P.tP],encapsulation:2,changeDetection:0}),h})();const tt={provide:r.Cf,useExisting:(0,o.Gpc)(()=>lt),multi:!0};let lt=(()=>{class h extends r.Fd{}return h.\u0275fac=function(){let K;return function(ue){return(K||(K=o.n5z(h)))(ue||h)}}(),h.\u0275dir=o.lG2({type:h,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(D,ue){2&D&&o.uIk("max",ue._enabled?ue.max:null)},features:[o._Bn([tt]),o.qOj]}),h})();const bt={provide:r.Cf,useExisting:(0,o.Gpc)(()=>S),multi:!0};let S=(()=>{class h extends r.qQ{}return h.\u0275fac=function(){let K;return function(ue){return(K||(K=o.n5z(h)))(ue||h)}}(),h.\u0275dir=o.lG2({type:h,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(D,ue){2&D&&o.uIk("min",ue._enabled?ue.min:null)},features:[o._Bn([bt]),o.qOj]}),h})(),$=(()=>{class h extends B.xs{constructor(){super(ce.a)}}return h.\u0275fac=function(D){return new(D||h)},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),et=(()=>{class h extends B.xs{constructor(){super(ce.m),this.angularDelegate=(0,o.f3M)(B.y4),this.injector=(0,o.f3M)(o.zs3),this.environmentInjector=(0,o.f3M)(o.lqb)}create(D){return super.create({...D,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")})}}return h.\u0275fac=function(D){return new(D||h)},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac}),h})();class ft extends B.xs{constructor(){super(ce.c),this.angularDelegate=(0,o.f3M)(B.y4),this.injector=(0,o.f3M)(o.zs3),this.environmentInjector=(0,o.f3M)(o.lqb)}create(K){return super.create({...K,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}let mt=(()=>{class h extends B.xs{constructor(){super(ce.t)}}return h.\u0275fac=function(D){return new(D||h)},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const Rt=(h,K,D)=>()=>{if(K.defaultView&&typeof window<"u"){(0,de.s)({...h,_zoneGate:nn=>D.run(nn)});const Ue="__zone_symbol__addEventListener"in K.body?"__zone_symbol__addEventListener":"addEventListener";return function Me(){var h=[];if(typeof window<"u"){var K=window;(!K.customElements||K.Element&&(!K.Element.prototype.closest||!K.Element.prototype.matches||!K.Element.prototype.remove||!K.Element.prototype.getRootNode))&&h.push(g.e(6748).then(g.t.bind(g,723,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||K.NodeList&&!K.NodeList.prototype.forEach||!K.fetch||!function(){try{var ue=new URL("b","http://a");return ue.pathname="c%20d","http://a/c%20d"===ue.href&&ue.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&h.push(g.e(2214).then(g.t.bind(g,4144,23)))}return Promise.all(h)}().then(()=>((h,K)=>{if(!(typeof window>"u"))return Le(),(0,pe.b)(JSON.parse('[["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"],[0,"keydown","onKeydown"]],{"type":["typeChanged"],"disabled":["disabledChanged"],"side":["sideChanged"],"swipeGesture":["swipeGestureChanged"]}],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64],"toggle":[64]},null,{"activated":["activatedChanged"]}],[1,"ion-fab-list",{"activated":[4],"side":[1]},null,{"activated":["activatedChanged"]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"layout":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"positionAnchor":[1,"position-anchor"],"buttons":[16],"translucent":[4],"animated":[4],"icon":[1],"htmlAttributes":[16],"swipeGesture":[1,"swipe-gesture"],"isOpen":[4,"is-open"],"trigger":[1],"revealContentToScreenReader":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"swipeGesture":["swipeGestureChanged"],"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-accordion_2",[[49,"ion-accordion",{"value":[1],"disabled":[4],"readonly":[4],"toggleIcon":[1,"toggle-icon"],"toggleIconSlot":[1,"toggle-icon-slot"],"state":[32],"isNext":[32],"isPrevious":[32]},null,{"value":["valueChanged"]}],[33,"ion-accordion-group",{"animated":[4],"multiple":[4],"value":[1025],"disabled":[4],"readonly":[4],"expand":[1],"requestAccordionToggle":[64],"getAccordions":[64]},[[0,"keydown","onKeydown"]],{"value":["valueChanged"],"disabled":["disabledChanged"],"readonly":["readonlyChanged"]}]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]},null,{"threshold":["thresholdChanged"],"disabled":["disabledChanged"]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[1028],"layout":[1],"type":[1],"value":[8],"checked":[32],"setFocus":[64]},null,{"value":["valueChanged"]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1032],"selectOnFocus":[4,"select-on-focus"],"activated":[32]},[[0,"keydown","onKeyDown"]],{"color":["colorChanged"],"swipeGesture":["swipeGestureChanged"],"value":["valueChanged"],"disabled":["disabledChanged"]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},null,{"selectedTab":["selectedTabChanged"]}]]],["ion-chip",[[33,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-datetime-button",[[33,"ion-datetime-button",{"color":[513],"disabled":[516],"datetime":[1],"datetimePresentation":[32],"dateText":[32],"timeText":[32],"datetimeActive":[32],"selectedButton":[32]}]]],["ion-input",[[38,"ion-input",{"color":[513],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"counter":[4],"counterFormatter":[16],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"fill":[1],"inputmode":[1],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"shape":[1],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"placeholder":["placeholderChanged"],"value":["valueChanged"]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"name":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"value":["valueChanged"],"showCancelButton":["showCancelButtonChanged"]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"enableOnOffLabels":[4,"enable-on-off-labels"],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"activated":[32]},null,{"disabled":["disabledChanged"]}]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]},null,{"swipeGesture":["swipeGestureChanged"],"root":["rootChanged"]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-textarea",[[38,"ion-textarea",{"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"fill":[1],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[514],"rows":[2],"wrap":[1],"autoGrow":[516,"auto-grow"],"value":[1025],"counter":[4],"counterFormatter":[16],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"shape":[1],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-breadcrumb_2",[[33,"ion-breadcrumb",{"collapsed":[4],"last":[4],"showCollapsedIndicator":[4,"show-collapsed-indicator"],"color":[1],"active":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"separator":[4],"target":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}],[33,"ion-breadcrumbs",{"color":[513],"maxItems":[2,"max-items"],"itemsBeforeCollapse":[2,"items-before-collapse"],"itemsAfterCollapse":[2,"items-after-collapse"],"collapsed":[32],"activeChanged":[32]},[[0,"collapsedClick","onCollapsedClick"]],{"maxItems":["maxItemsChanged"],"itemsBeforeCollapse":["maxItemsChanged"],"itemsAfterCollapse":["maxItemsChanged"]}]]],["ion-modal",[[33,"ion-modal",{"hasController":[4,"has-controller"],"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"breakpoints":[16],"initialBreakpoint":[2,"initial-breakpoint"],"backdropBreakpoint":[2,"backdrop-breakpoint"],"handle":[4],"handleBehavior":[1,"handle-behavior"],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"presentingElement":[16],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"keepContentsMounted":[4,"keep-contents-mounted"],"canDismiss":[4,"can-dismiss"],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"setCurrentBreakpoint":[64],"getCurrentBreakpoint":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]},null,{"url":["onUpdate"],"component":["onUpdate"],"componentProps":["onComponentProps"]}],[0,"ion-route-redirect",{"from":[1],"to":[1]},null,{"from":["propDidChange"],"to":["propDidChange"]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]},null,{"active":["changeActive"]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]},null,{"src":["srcChanged"]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"label":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"pinFormatter":[16],"snaps":[4],"step":[2],"ticks":[4],"activeBarStart":[1026,"active-bar-start"],"disabled":[4],"value":[1026],"labelPlacement":[1,"label-placement"],"legacy":[4],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]},null,{"debounce":["debounceChanged"],"min":["minChanged"],"max":["maxChanged"],"activeBarStart":["activeBarStartChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]},null,{"visible":["visibleChanged"],"disabled":["updateState"],"when":["updateState"]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[1,"ion-skeleton-text",{"animated":[4]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"fill":[1],"shape":[1],"href":[1],"rel":[1],"lines":[1],"counter":[4],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"counterFormatter":[16],"multipleInputs":[32],"focusable":[32],"counterString":[32]},[[0,"ionInput","handleIonInput"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]],{"counterFormatter":["counterFormatterChanged"]}],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]},null,{"color":["colorChanged"],"position":["positionChanged"]}],[33,"ion-note",{"color":[513]}]]],["ion-select_3",[[33,"ion-select",{"cancelText":[1,"cancel-text"],"color":[513],"compareWith":[1,"compare-with"],"disabled":[4],"fill":[1],"interface":[1],"interfaceOptions":[8,"interface-options"],"justify":[1],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"multiple":[4],"name":[1],"okText":[1,"ok-text"],"placeholder":[1],"selectedText":[1,"selected-text"],"toggleIcon":[1,"toggle-icon"],"expandedIcon":[1,"expanded-icon"],"shape":[1],"value":[1032],"isExpanded":[32],"open":[64]},null,{"disabled":["styleChanged"],"isExpanded":["styleChanged"],"placeholder":["styleChanged"],"value":["styleChanged"]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}],[34,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"multiple":[4],"options":[16]}]]],["ion-picker-internal",[[33,"ion-picker-internal",{"exitInputMode":[64]},[[1,"touchstart","preventTouchStartPropagation"]]]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"readonly":[4],"isDateEnabled":[16],"min":[1025],"max":[1025],"presentation":[1],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"clearText":[1,"clear-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"titleSelectedDatesFormatter":[16],"multiple":[4],"highlightedDates":[16],"value":[1025],"showDefaultTitle":[4,"show-default-title"],"showDefaultButtons":[4,"show-default-buttons"],"showClearButton":[4,"show-clear-button"],"showDefaultTimeLabel":[4,"show-default-time-label"],"hourCycle":[1,"hour-cycle"],"size":[1],"preferWheel":[4,"prefer-wheel"],"showMonthAndYear":[32],"activeParts":[32],"workingParts":[32],"isTimePopoverOpen":[32],"forceRenderDate":[32],"confirm":[64],"reset":[64],"cancel":[64]},null,{"disabled":["disabledChanged"],"min":["minChanged"],"max":["maxChanged"],"yearValues":["yearValuesChanged"],"monthValues":["monthValuesChanged"],"dayValues":["dayValuesChanged"],"hourValues":["hourValuesChanged"],"minuteValues":["minuteValuesChanged"],"value":["valueChanged"]}],[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}],[32,"ion-picker-column",{"col":[16]},null,{"col":["colChanged"]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]},null,{"value":["valueChanged"],"checked":["styleChanged"],"color":["styleChanged"],"disabled":["styleChanged"]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"compareWith":[1,"compare-with"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]],{"value":["valueChanged"]}]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1],"form":[1]},null,{"disabled":["disabledChanged"]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]},null,{"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"],"ios":["loadIcon"],"md":["loadIcon"]}]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]],{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"],"buttons":["buttonsChanged"],"inputs":["inputsChanged"]}]]],["ion-app_8",[[0,"ion-app",{"setFocus":[64]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"getBackgroundElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[9,"resize","onResize"]]],[36,"ion-footer",{"collapse":[1],"translucent":[4],"keyboardVisible":[32]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]},null,{"swipeHandler":["swipeHandlerChanged"]}],[33,"ion-title",{"color":[513],"size":[1]},null,{"size":["sizeChanged"]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]],[34,"ion-buttons",{"collapse":[4]}]]],["ion-picker-column-internal",[[33,"ion-picker-column-internal",{"disabled":[4],"items":[16],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64]},null,{"value":["valueChange"]}]]],["ion-popover",[[33,"ion-popover",{"hasController":[4,"has-controller"],"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"triggerAction":[1,"trigger-action"],"trigger":[1],"size":[1],"dismissOnSelect":[4,"dismiss-on-select"],"reference":[1],"side":[1],"alignment":[1025],"arrow":[4],"isOpen":[4,"is-open"],"keyboardEvents":[4,"keyboard-events"],"keepContentsMounted":[4,"keep-contents-mounted"],"presented":[32],"presentFromTrigger":[64],"present":[64],"dismiss":[64],"getParentPopover":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"isOpen":["onIsOpenChange"]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"justify":[1],"alignment":[1],"legacy":[4]},null,{"checked":["styleChanged"],"disabled":["styleChanged"]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]]]'),K)})(0,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:B.Wn,jmp:nn=>D.runOutsideAngular(nn),ael(nn,qt,br,Cr){nn[Ue](qt,br,Cr)},rel(nn,qt,br,Cr){nn.removeEventListener(qt,br,Cr)}}))}};let hn=(()=>{class h{static forRoot(D){return{ngModule:h,providers:[{provide:B.dy,useValue:D},{provide:o.ip1,useFactory:Rt,multi:!0,deps:[B.dy,P.K0,o.R0b]},(0,B.DN)()]}}}return h.\u0275fac=function(D){return new(D||h)},h.\u0275mod=o.oAB({type:h}),h.\u0275inj=o.cJS({providers:[B.y4,et,ft],imports:[P.ez]}),h})()},6188:(pt,Re,g)=>{"use strict";g.d(Re,{Pi:()=>ke,Zw:()=>de,aw:()=>st,X$:()=>We,sK:()=>ie});var o=g(4650),r=g(9646),B=g(9751),V=g(576);function te(ve){return!!ve&&(ve instanceof B.y||(0,V.m)(ve.lift)&&(0,V.m)(ve.subscribe))}var P=g(4128),R=g(7272),Y=g(9770),ne=g(5698),he=g(4782),Z=g(4004),oe=g(4351),ye=g(3900);class de{}let re=(()=>{class ve extends de{getTranslation(C){return(0,r.of)({})}}return ve.\u0275fac=function(){let z;return function(N){return(z||(z=o.n5z(ve)))(N||ve)}}(),ve.\u0275prov=o.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class ce{}let W=(()=>{class ve{handle(C){return C.key}}return ve.\u0275fac=function(C){return new(C||ve)},ve.\u0275prov=o.Yz7({token:ve,factory:ve.\u0275fac}),ve})();function pe(ve,z){if(ve===z)return!0;if(null===ve||null===z)return!1;if(ve!=ve&&z!=z)return!0;let k,se,ae,C=typeof ve;if(C==typeof z&&"object"==C){if(!Array.isArray(ve)){if(Array.isArray(z))return!1;for(se in ae=Object.create(null),ve){if(!pe(ve[se],z[se]))return!1;ae[se]=!0}for(se in z)if(!(se in ae)&&typeof z[se]<"u")return!1;return!0}if(!Array.isArray(z))return!1;if((k=ve.length)==z.length){for(se=0;se{Ve(z[N])?N in ve?C[N]=Me(ve[N],z[N]):Object.assign(C,{[N]:z[N]}):Object.assign(C,{[N]:z[N]})}),C}class Le{}let Pe=(()=>{class ve extends Le{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(C,N){let k;return k="string"==typeof C?this.interpolateString(C,N):"function"==typeof C?this.interpolateFunction(C,N):C,k}getValue(C,N){let k="string"==typeof N?N.split("."):[N];N="";do{N+=k.shift(),!be(C)||!be(C[N])||"object"!=typeof C[N]&&k.length?k.length?N+=".":C=void 0:(C=C[N],N="")}while(k.length);return C}interpolateFunction(C,N){return C(N)}interpolateString(C,N){return N?C.replace(this.templateMatcher,(k,se)=>{let ae=this.getValue(N,se);return be(ae)?ae:k}):C}}return ve.\u0275fac=function(){let z;return function(N){return(z||(z=o.n5z(ve)))(N||ve)}}(),ve.\u0275prov=o.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class we{}let j=(()=>{class ve extends we{compile(C,N){return C}compileTranslations(C,N){return C}}return ve.\u0275fac=function(){let z;return function(N){return(z||(z=o.n5z(ve)))(N||ve)}}(),ve.\u0275prov=o.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class X{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new o.vpe,this.onLangChange=new o.vpe,this.onDefaultLangChange=new o.vpe}}const Ce=new o.OlP("USE_STORE"),_e=new o.OlP("USE_DEFAULT_LANG"),Te=new o.OlP("DEFAULT_LANGUAGE"),Be=new o.OlP("USE_EXTEND");let ie=(()=>{class ve{constructor(C,N,k,se,ae,Ye=!0,qe=!1,gt=!1,dt){this.store=C,this.currentLoader=N,this.compiler=k,this.parser=se,this.missingTranslationHandler=ae,this.useDefaultLang=Ye,this.isolate=qe,this.extend=gt,this.pending=!1,this._onTranslationChange=new o.vpe,this._onLangChange=new o.vpe,this._onDefaultLangChange=new o.vpe,this._langs=[],this._translations={},this._translationRequests={},dt&&this.setDefaultLang(dt)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(C){this.isolate?this._defaultLang=C:this.store.defaultLang=C}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(C){this.isolate?this._currentLang=C:this.store.currentLang=C}get langs(){return this.isolate?this._langs:this.store.langs}set langs(C){this.isolate?this._langs=C:this.store.langs=C}get translations(){return this.isolate?this._translations:this.store.translations}set translations(C){this.isolate?this._translations=C:this.store.translations=C}setDefaultLang(C){if(C===this.defaultLang)return;let N=this.retrieveTranslations(C);typeof N<"u"?(null==this.defaultLang&&(this.defaultLang=C),N.pipe((0,ne.q)(1)).subscribe(k=>{this.changeDefaultLang(C)})):this.changeDefaultLang(C)}getDefaultLang(){return this.defaultLang}use(C){if(C===this.currentLang)return(0,r.of)(this.translations[C]);let N=this.retrieveTranslations(C);return typeof N<"u"?(this.currentLang||(this.currentLang=C),N.pipe((0,ne.q)(1)).subscribe(k=>{this.changeLang(C)}),N):(this.changeLang(C),(0,r.of)(this.translations[C]))}retrieveTranslations(C){let N;return(typeof this.translations[C]>"u"||this.extend)&&(this._translationRequests[C]=this._translationRequests[C]||this.getTranslation(C),N=this._translationRequests[C]),N}getTranslation(C){this.pending=!0;const N=this.currentLoader.getTranslation(C).pipe((0,he.d)(1),(0,ne.q)(1));return this.loadingTranslations=N.pipe((0,Z.U)(k=>this.compiler.compileTranslations(k,C)),(0,he.d)(1),(0,ne.q)(1)),this.loadingTranslations.subscribe({next:k=>{this.translations[C]=this.extend&&this.translations[C]?{...k,...this.translations[C]}:k,this.updateLangs(),this.pending=!1},error:k=>{this.pending=!1}}),N}setTranslation(C,N,k=!1){N=this.compiler.compileTranslations(N,C),this.translations[C]=(k||this.extend)&&this.translations[C]?Me(this.translations[C],N):N,this.updateLangs(),this.onTranslationChange.emit({lang:C,translations:this.translations[C]})}getLangs(){return this.langs}addLangs(C){C.forEach(N=>{-1===this.langs.indexOf(N)&&this.langs.push(N)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(C,N,k){let se;if(N instanceof Array){let ae={},Ye=!1;for(let qe of N)ae[qe]=this.getParsedResult(C,qe,k),te(ae[qe])&&(Ye=!0);if(Ye){const qe=N.map(gt=>te(ae[gt])?ae[gt]:(0,r.of)(ae[gt]));return(0,P.D)(qe).pipe((0,Z.U)(gt=>{let dt={};return gt.forEach((At,Wt)=>{dt[N[Wt]]=At}),dt}))}return ae}if(C&&(se=this.parser.interpolate(this.parser.getValue(C,N),k)),typeof se>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(se=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],N),k)),typeof se>"u"){let ae={key:N,translateService:this};typeof k<"u"&&(ae.interpolateParams=k),se=this.missingTranslationHandler.handle(ae)}return typeof se<"u"?se:N}get(C,N){if(!be(C)||!C.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,oe.b)(k=>te(k=this.getParsedResult(k,C,N))?k:(0,r.of)(k)));{let k=this.getParsedResult(this.translations[this.currentLang],C,N);return te(k)?k:(0,r.of)(k)}}getStreamOnTranslationChange(C,N){if(!be(C)||!C.length)throw new Error('Parameter "key" required');return(0,R.z)((0,Y.P)(()=>this.get(C,N)),this.onTranslationChange.pipe((0,ye.w)(k=>{const se=this.getParsedResult(k.translations,C,N);return"function"==typeof se.subscribe?se:(0,r.of)(se)})))}stream(C,N){if(!be(C)||!C.length)throw new Error('Parameter "key" required');return(0,R.z)((0,Y.P)(()=>this.get(C,N)),this.onLangChange.pipe((0,ye.w)(k=>{const se=this.getParsedResult(k.translations,C,N);return te(se)?se:(0,r.of)(se)})))}instant(C,N){if(!be(C)||!C.length)throw new Error('Parameter "key" required');let k=this.getParsedResult(this.translations[this.currentLang],C,N);if(te(k)){if(C instanceof Array){let se={};return C.forEach((ae,Ye)=>{se[C[Ye]]=C[Ye]}),se}return C}return k}set(C,N,k=this.currentLang){this.translations[k][C]=this.compiler.compile(N,k),this.updateLangs(),this.onTranslationChange.emit({lang:k,translations:this.translations[k]})}changeLang(C){this.currentLang=C,this.onLangChange.emit({lang:C,translations:this.translations[C]}),null==this.defaultLang&&this.changeDefaultLang(C)}changeDefaultLang(C){this.defaultLang=C,this.onDefaultLangChange.emit({lang:C,translations:this.translations[C]})}reloadLang(C){return this.resetLang(C),this.getTranslation(C)}resetLang(C){this._translationRequests[C]=void 0,this.translations[C]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let C=window.navigator.languages?window.navigator.languages[0]:null;return C=C||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof C>"u"?void 0:(-1!==C.indexOf("-")&&(C=C.split("-")[0]),-1!==C.indexOf("_")&&(C=C.split("_")[0]),C)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let C=window.navigator.languages?window.navigator.languages[0]:null;return C=C||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,C}}return ve.\u0275fac=function(C){return new(C||ve)(o.LFG(X),o.LFG(de),o.LFG(we),o.LFG(Le),o.LFG(ce),o.LFG(_e),o.LFG(Ce),o.LFG(Be),o.LFG(Te))},ve.\u0275prov=o.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),ke=(()=>{class ve{constructor(C,N,k){this.translateService=C,this.element=N,this._ref=k,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(se=>{se.lang===this.translateService.currentLang&&this.checkNodes(!0,se.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(se=>{this.checkNodes(!0,se.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(se=>{this.checkNodes(!0)}))}set translate(C){C&&(this.key=C,this.checkNodes())}set translateParams(C){pe(this.currentParams,C)||(this.currentParams=C,this.checkNodes(!0))}ngAfterViewChecked(){this.checkNodes()}checkNodes(C=!1,N){let k=this.element.nativeElement.childNodes;k.length||(this.setContent(this.element.nativeElement,this.key),k=this.element.nativeElement.childNodes);for(let se=0;se{ae!==C&&(N.lastKey=C),N.originalContent||(N.originalContent=this.getContent(N)),N.currentValue=be(ae)?ae:N.originalContent||C,this.setContent(N,this.key?N.currentValue:N.originalContent.replace(C,N.currentValue)),this._ref.markForCheck()};if(be(k)){let ae=this.translateService.getParsedResult(k,C,this.currentParams);te(ae)?ae.subscribe({next:se}):se(ae)}else this.translateService.get(C,this.currentParams).subscribe(se)}}getContent(C){return be(C.textContent)?C.textContent:C.data}setContent(C,N){be(C.textContent)?C.textContent=N:C.data=N}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}return ve.\u0275fac=function(C){return new(C||ve)(o.Y36(ie),o.Y36(o.SBq),o.Y36(o.sBO))},ve.\u0275dir=o.lG2({type:ve,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}}),ve})(),We=(()=>{class ve{constructor(C,N){this.translate=C,this._ref=N,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(C,N,k){let se=ae=>{this.value=void 0!==ae?ae:C,this.lastKey=C,this._ref.markForCheck()};if(k){let ae=this.translate.getParsedResult(k,C,N);te(ae.subscribe)?ae.subscribe(se):se(ae)}this.translate.get(C,N).subscribe(se)}transform(C,...N){if(!C||!C.length)return C;if(pe(C,this.lastKey)&&pe(N,this.lastParams))return this.value;let k;if(be(N[0])&&N.length)if("string"==typeof N[0]&&N[0].length){let se=N[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{k=JSON.parse(se)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${N[0]}`)}}else"object"==typeof N[0]&&!Array.isArray(N[0])&&(k=N[0]);return this.lastKey=C,this.lastParams=N,this.updateValue(C,k),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(se=>{this.lastKey&&se.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(C,k,se.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(se=>{this.lastKey&&(this.lastKey=null,this.updateValue(C,k,se.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(C,k))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return ve.\u0275fac=function(C){return new(C||ve)(o.Y36(ie,16),o.Y36(o.sBO,16))},ve.\u0275pipe=o.Yjl({name:"translate",type:ve,pure:!1}),ve.\u0275prov=o.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),st=(()=>{class ve{static forRoot(C={}){return{ngModule:ve,providers:[C.loader||{provide:de,useClass:re},C.compiler||{provide:we,useClass:j},C.parser||{provide:Le,useClass:Pe},C.missingTranslationHandler||{provide:ce,useClass:W},X,{provide:Ce,useValue:C.isolate},{provide:_e,useValue:C.useDefaultLang},{provide:Be,useValue:C.extend},{provide:Te,useValue:C.defaultLanguage},ie]}}static forChild(C={}){return{ngModule:ve,providers:[C.loader||{provide:de,useClass:re},C.compiler||{provide:we,useClass:j},C.parser||{provide:Le,useClass:Pe},C.missingTranslationHandler||{provide:ce,useClass:W},{provide:Ce,useValue:C.isolate},{provide:_e,useValue:C.useDefaultLang},{provide:Be,useValue:C.extend},{provide:Te,useValue:C.defaultLanguage},ie]}}}return ve.\u0275fac=function(C){return new(C||ve)},ve.\u0275mod=o.oAB({type:ve}),ve.\u0275inj=o.cJS({}),ve})()},5861:(pt,Re,g)=>{"use strict";function o(B,V,te,P,R,Y,ne){try{var he=B[Y](ne),Z=he.value}catch(oe){return void te(oe)}he.done?V(Z):Promise.resolve(Z).then(P,R)}function r(B){return function(){var V=this,te=arguments;return new Promise(function(P,R){var Y=B.apply(V,te);function ne(Z){o(Y,P,R,ne,he,"next",Z)}function he(Z){o(Y,P,R,ne,he,"throw",Z)}ne(void 0)})}}g.d(Re,{Z:()=>r})},7582:(pt,Re,g)=>{"use strict";g.d(Re,{FC:()=>Le,KL:()=>we,ZT:()=>r,gn:()=>te,mG:()=>oe,qq:()=>Me});var o=function(z,C){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(N,k){N.__proto__=k}||function(N,k){for(var se in k)Object.prototype.hasOwnProperty.call(k,se)&&(N[se]=k[se])})(z,C)};function r(z,C){if("function"!=typeof C&&null!==C)throw new TypeError("Class extends value "+String(C)+" is not a constructor or null");function N(){this.constructor=z}o(z,C),z.prototype=null===C?Object.create(C):(N.prototype=C.prototype,new N)}function te(z,C,N,k){var Ye,se=arguments.length,ae=se<3?C:null===k?k=Object.getOwnPropertyDescriptor(C,N):k;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ae=Reflect.decorate(z,C,N,k);else for(var qe=z.length-1;qe>=0;qe--)(Ye=z[qe])&&(ae=(se<3?Ye(ae):se>3?Ye(C,N,ae):Ye(C,N))||ae);return se>3&&ae&&Object.defineProperty(C,N,ae),ae}function oe(z,C,N,k){return new(N||(N=Promise))(function(ae,Ye){function qe(At){try{dt(k.next(At))}catch(Wt){Ye(Wt)}}function gt(At){try{dt(k.throw(At))}catch(Wt){Ye(Wt)}}function dt(At){At.done?ae(At.value):function se(ae){return ae instanceof N?ae:new N(function(Ye){Ye(ae)})}(At.value).then(qe,gt)}dt((k=k.apply(z,C||[])).next())})}function Me(z){return this instanceof Me?(this.v=z,this):new Me(z)}function Le(z,C,N){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var se,k=N.apply(z,C||[]),ae=[];return se={},Ye("next"),Ye("throw"),Ye("return"),se[Symbol.asyncIterator]=function(){return this},se;function Ye(at){k[at]&&(se[at]=function(Je){return new Promise(function(Xe,ut){ae.push([at,Je,Xe,ut])>1||qe(at,Je)})})}function qe(at,Je){try{!function gt(at){at.value instanceof Me?Promise.resolve(at.value.v).then(dt,At):Wt(ae[0][2],at)}(k[at](Je))}catch(Xe){Wt(ae[0][3],Xe)}}function dt(at){qe("next",at)}function At(at){qe("throw",at)}function Wt(at,Je){at(Je),ae.shift(),ae.length&&qe(ae[0][0],ae[0][1])}}function we(z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var N,C=z[Symbol.asyncIterator];return C?C.call(z):(z=function ce(z){var C="function"==typeof Symbol&&Symbol.iterator,N=C&&z[C],k=0;if(N)return N.call(z);if(z&&"number"==typeof z.length)return{next:function(){return z&&k>=z.length&&(z=void 0),{value:z&&z[k++],done:!z}}};throw new TypeError(C?"Object is not iterable.":"Symbol.iterator is not defined.")}(z),N={},k("next"),k("throw"),k("return"),N[Symbol.asyncIterator]=function(){return this},N);function k(ae){N[ae]=z[ae]&&function(Ye){return new Promise(function(qe,gt){!function se(ae,Ye,qe,gt){Promise.resolve(gt).then(function(dt){ae({value:dt,done:qe})},Ye)}(qe,gt,(Ye=z[ae](Ye)).done,Ye.value)})}}}"function"==typeof SuppressedError&&SuppressedError}},pt=>{pt(pt.s=2587)}]); \ No newline at end of file diff --git a/main.ca90b959be021bc0.js b/main.ca90b959be021bc0.js deleted file mode 100644 index 6e7884ca..00000000 --- a/main.ca90b959be021bc0.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkapp=self.webpackChunkapp||[]).push([[179],{694:(ct,Ie,b)=>{"use strict";b.d(Ie,{E:()=>$});var c=b(7582),n=b(7598),U=b(4650),$=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}return(0,c.ZT)(O,J),O.prototype.speak=function(x){return(0,n.DM)(this,"speak",{otherPromise:!0},arguments)},O.prototype.stop=function(){return(0,n.DM)(this,"stop",{otherPromise:!0},arguments)},O.prototype.getVoices=function(){return(0,n.DM)(this,"getVoices",{otherPromise:!0},arguments)},O.\u0275fac=function(){let x;return function(Z){return(x||(x=U.n5z(O)))(Z||O)}}(),O.\u0275prov=U.Yz7({token:O,factory:O.\u0275fac}),O.pluginName="Text To Speech Advanced",O.plugin="cordova-plugin-tts-advanced",O.pluginRef="TTS",O.repo="https://github.com/spasma/cordova-plugin-tts-advanced",O.platforms=["Android","iOS"],O=(0,c.gn)([],O)}(n.On)},3771:(ct,Ie,b)=>{"use strict";b.d(Ie,{B:()=>J});var c=b(7582),n=b(7598),U=b(4650),J=function(O){function x(){return null!==O&&O.apply(this,arguments)||this}return(0,c.ZT)(x,O),x.prototype.isSupported=function(){return(0,n.DM)(this,"isSupported",{},arguments)},x.prototype.isImmersiveModeSupported=function(){return(0,n.DM)(this,"isImmersiveModeSupported",{},arguments)},x.prototype.immersiveWidth=function(){return(0,n.DM)(this,"immersiveWidth",{},arguments)},x.prototype.immersiveHeight=function(){return(0,n.DM)(this,"immersiveHeight",{},arguments)},x.prototype.leanMode=function(){return(0,n.DM)(this,"leanMode",{},arguments)},x.prototype.showSystemUI=function(){return(0,n.DM)(this,"showSystemUI",{},arguments)},x.prototype.showUnderStatusBar=function(){return(0,n.DM)(this,"showUnderStatusBar",{},arguments)},x.prototype.showUnderSystemUI=function(){return(0,n.DM)(this,"showUnderSystemUI",{},arguments)},x.prototype.immersiveMode=function(){return(0,n.DM)(this,"immersiveMode",{},arguments)},x.prototype.setSystemUiVisibility=function(V){return(0,n.DM)(this,"setSystemUiVisibility",{},arguments)},x.\u0275fac=function(){let V;return function(se){return(V||(V=U.n5z(x)))(se||x)}}(),x.\u0275prov=U.Yz7({token:x,factory:x.\u0275fac}),x.pluginName="AndroidFullScreen",x.plugin="cordova-plugin-fullscreen",x.pluginRef="AndroidFullScreen",x.repo="https://github.com/mesmotronic/cordova-plugin-fullscreen",x.platforms=["Android"],x=(0,c.gn)([],x)}(n.On)},9509:(ct,Ie,b)=>{"use strict";b.d(Ie,{b:()=>$});var c=b(7582),n=b(7598),U=b(4650),$=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}return(0,c.ZT)(O,J),O.prototype.getAppName=function(){return(0,n.DM)(this,"getAppName",{},arguments)},O.prototype.getPackageName=function(){return(0,n.DM)(this,"getPackageName",{},arguments)},O.prototype.getVersionCode=function(){return(0,n.DM)(this,"getVersionCode",{},arguments)},O.prototype.getVersionNumber=function(){return(0,n.DM)(this,"getVersionNumber",{},arguments)},O.\u0275fac=function(){let x;return function(Z){return(x||(x=U.n5z(O)))(Z||O)}}(),O.\u0275prov=U.Yz7({token:O,factory:O.\u0275fac}),O.pluginName="AppVersion",O.plugin="cordova-plugin-app-version",O.pluginRef="cordova.getAppVersion",O.repo="https://github.com/whiteoctober/cordova-plugin-app-version",O.platforms=["Android","iOS","Windows"],O=(0,c.gn)([],O)}(n.On)},7598:(ct,Ie,b)=>{"use strict";b.d(Ie,{On:()=>$e,DM:()=>ne,J2:()=>Ae,Iq:()=>He});var n=b(9751),U=b(4968),$={error:"cordova_not_available"},J={error:"plugin_not_installed"};function O(ae){if(typeof window<"u"&&window.angular){var Xe=window.document,tt=window.angular.element(Xe.querySelector("[ng-app]")||Xe.body).injector();if(tt)return tt.get("$q")(function(N,I){ae(N,I)});console.warn("Angular 1 was detected but $q couldn't be retrieved. This is usually when the app is not bootstrapped on the html or body tag. Falling back to native promises which won't trigger an automatic digest when promises resolve.")}return function(){if(Promise)return new Promise(function(N,I){ae(N,I)});console.error("No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular or on a recent browser.")}()}function G(ae,me,Xe){var tt,he;"string"==typeof ae?tt=ae:(tt=ae.constructor.getPluginRef(),Xe=ae.constructor.getPluginName(),he=ae.constructor.getPluginInstallName());var N=ie(tt);return!(!N||me&&typeof N[me]>"u")||(typeof window>"u"||!window.cordova?(function _e(ae,me){typeof process>"u"&&console.warn(me?"Native: tried calling "+ae+"."+me+", but Cordova is not available. Make sure to include cordova.js or run in a device/simulator":"Native: tried accessing the "+ae+" plugin but Cordova is not available. Make sure to include cordova.js or run in a device/simulator")}(Xe,me),$):(function z(ae,me,Xe){console.warn(Xe?"Native: tried calling "+ae+"."+Xe+", but the "+ae+" plugin is not installed.":"Native: tried accessing the "+ae+" plugin but it's not installed."),me&&console.warn("Install the "+ae+" plugin: 'ionic cordova plugin add "+me+"'")}(Xe,he,me),J))}function X(ae,me,Xe,tt,he,N){void 0===tt&&(tt={}),Xe=function ce(ae,me,Xe,tt){if(void 0===me&&(me={}),me.sync)return ae;if("reverse"===me.callbackOrder)ae.unshift(tt),ae.unshift(Xe);else if("node"===me.callbackStyle)ae.push(function(L,j){L?tt(L):Xe(j)});else if("object"===me.callbackStyle&&me.successName&&me.errorName){var he={};he[me.successName]=Xe,he[me.errorName]=tt,ae.push(he)}else if(typeof me.successIndex<"u"||typeof me.errorIndex<"u"){var N=function(){me.successIndex>ae.length?ae[me.successIndex]=Xe:ae.splice(me.successIndex,0,Xe)},I=function(){me.errorIndex>ae.length?ae[me.errorIndex]=tt:ae.splice(me.errorIndex,0,tt)};me.successIndex>me.errorIndex?(I(),N()):(N(),I())}else ae.push(Xe),ae.push(tt);return ae}(Xe,tt,he,N);var I=G(ae,me);if(!0===I){var L=ie(ae.constructor.getPluginRef());return L[me].apply(L,Xe)}return I}function ie(ae){return typeof window<"u"?K(window,ae):null}function K(ae,me){for(var Xe=me.split("."),tt=ae,he=0;he"u"){var ae=typeof window<"u"?window:{},Xe=Date.now(),tt=!1;ae.document.addEventListener("deviceready",function(){console.log("Ionic Native: deviceready event fired after "+(Date.now()-Xe)+" ms"),tt=!0}),setTimeout(function(){!tt&&ae.cordova&&console.warn("Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.")},5e3)}}()},4598:(ct,Ie,b)=>{"use strict";b.d(Ie,{A:()=>$});var c=b(7582),n=b(7598),U=b(4650),$=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}return(0,c.ZT)(O,J),Object.defineProperty(O.prototype,"cordova",{get:function(){return(0,n.J2)(this,"cordova")},set:function(x){(0,n.Iq)(this,"cordova",x)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"model",{get:function(){return(0,n.J2)(this,"model")},set:function(x){(0,n.Iq)(this,"model",x)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"platform",{get:function(){return(0,n.J2)(this,"platform")},set:function(x){(0,n.Iq)(this,"platform",x)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"uuid",{get:function(){return(0,n.J2)(this,"uuid")},set:function(x){(0,n.Iq)(this,"uuid",x)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"version",{get:function(){return(0,n.J2)(this,"version")},set:function(x){(0,n.Iq)(this,"version",x)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"manufacturer",{get:function(){return(0,n.J2)(this,"manufacturer")},set:function(x){(0,n.Iq)(this,"manufacturer",x)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"isVirtual",{get:function(){return(0,n.J2)(this,"isVirtual")},set:function(x){(0,n.Iq)(this,"isVirtual",x)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"serial",{get:function(){return(0,n.J2)(this,"serial")},set:function(x){(0,n.Iq)(this,"serial",x)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"sdkVersion",{get:function(){return(0,n.J2)(this,"sdkVersion")},set:function(x){(0,n.Iq)(this,"sdkVersion",x)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"isiOSAppOnMac",{get:function(){return(0,n.J2)(this,"isiOSAppOnMac")},set:function(x){(0,n.Iq)(this,"isiOSAppOnMac",x)},enumerable:!1,configurable:!0}),O.\u0275fac=function(){let x;return function(Z){return(x||(x=U.n5z(O)))(Z||O)}}(),O.\u0275prov=U.Yz7({token:O,factory:O.\u0275fac}),O.pluginName="Device",O.plugin="cordova-plugin-device",O.pluginRef="device",O.repo="https://github.com/apache/cordova-plugin-device",O.platforms=["Android","Browser","iOS","macOS","Windows"],O=(0,c.gn)([],O)}(n.On)},9986:(ct,Ie,b)=>{"use strict";b.d(Ie,{s:()=>$});var c=b(7582),n=b(7598),U=b(4650),$=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}return(0,c.ZT)(O,J),O.prototype.keepAwake=function(){return(0,n.DM)(this,"keepAwake",{},arguments)},O.prototype.allowSleepAgain=function(){return(0,n.DM)(this,"allowSleepAgain",{},arguments)},O.\u0275fac=function(){let x;return function(Z){return(x||(x=U.n5z(O)))(Z||O)}}(),O.\u0275prov=U.Yz7({token:O,factory:O.\u0275fac}),O.pluginName="Insomnia",O.plugin="cordova-plugin-insomnia",O.pluginRef="plugins.insomnia",O.repo="https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin",O.platforms=["Android","Browser","Firefox OS","iOS","Windows","Windows Phone 8"],O=(0,c.gn)([],O)}(n.On)},9102:(ct,Ie,b)=>{"use strict";b.d(Ie,{e:()=>$});var c=b(7582),n=b(7598),U=b(4650),$=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}return(0,c.ZT)(O,J),O.prototype.share=function(x,V,Z,se){return(0,n.DM)(this,"share",{successIndex:4,errorIndex:5},arguments)},O.prototype.shareWithOptions=function(x){return(0,n.DM)(this,"shareWithOptions",{platforms:["iOS","Android"]},arguments)},O.prototype.canShareVia=function(x,V,Z,se,G){return(0,n.DM)(this,"canShareVia",{successIndex:5,errorIndex:6,platforms:["iOS","Android"]},arguments)},O.prototype.shareViaTwitter=function(x,V,Z){return(0,n.DM)(this,"shareViaTwitter",{successIndex:3,errorIndex:4,platforms:["iOS","Android"]},arguments)},O.prototype.shareViaFacebook=function(x,V,Z){return(0,n.DM)(this,"shareViaFacebook",{successIndex:3,errorIndex:4,platforms:["iOS","Android"]},arguments)},O.prototype.shareViaFacebookWithPasteMessageHint=function(x,V,Z,se){return(0,n.DM)(this,"shareViaFacebookWithPasteMessageHint",{successIndex:4,errorIndex:5,platforms:["iOS","Android"]},arguments)},O.prototype.shareViaInstagram=function(x,V){return(0,n.DM)(this,"shareViaInstagram",{platforms:["iOS","Android"]},arguments)},O.prototype.shareViaWhatsApp=function(x,V,Z){return(0,n.DM)(this,"shareViaWhatsApp",{successIndex:3,errorIndex:4,platforms:["iOS","Android"]},arguments)},O.prototype.shareViaWhatsAppToReceiver=function(x,V,Z,se){return(0,n.DM)(this,"shareViaWhatsAppToReceiver",{successIndex:4,errorIndex:5,platforms:["iOS","Android"]},arguments)},O.prototype.shareViaSMS=function(x,V){return(0,n.DM)(this,"shareViaSMS",{platforms:["iOS","Android"]},arguments)},O.prototype.canShareViaEmail=function(){return(0,n.DM)(this,"canShareViaEmail",{platforms:["iOS","Android"]},arguments)},O.prototype.shareViaEmail=function(x,V,Z,se,G,ee){return(0,n.DM)(this,"shareViaEmail",{platforms:["iOS","Android"],successIndex:6,errorIndex:7},arguments)},O.prototype.shareVia=function(x,V,Z,se,G){return(0,n.DM)(this,"shareVia",{successIndex:5,errorIndex:6,platforms:["iOS","Android"]},arguments)},O.prototype.setIPadPopupCoordinates=function(x){return(0,n.DM)(this,"setIPadPopupCoordinates",{sync:!0,platforms:["iOS"]},arguments)},O.prototype.saveToPhotoAlbum=function(x){return(0,n.DM)(this,"saveToPhotoAlbum",{platforms:["iOS"]},arguments)},O.prototype.shareViaWhatsAppToPhone=function(x,V,Z,se){return(0,n.DM)(this,"shareViaWhatsAppToPhone",{successIndex:5,errorIndex:6,platforms:["iOS","Android"]},arguments)},O.\u0275fac=function(){let x;return function(Z){return(x||(x=U.n5z(O)))(Z||O)}}(),O.\u0275prov=U.Yz7({token:O,factory:O.\u0275fac}),O.pluginName="SocialSharing",O.plugin="cordova-plugin-x-socialsharing",O.pluginRef="plugins.socialsharing",O.repo="https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin",O.platforms=["Android","Browser","iOS","Windows","Windows Phone"],O=(0,c.gn)([],O)}(n.On)},5082:(ct,Ie,b)=>{"use strict";b.d(Ie,{c:()=>$});var c=b(7582),n=b(7598),U=b(4650),$=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}return(0,c.ZT)(O,J),O.prototype.show=function(){return(0,n.DM)(this,"show",{sync:!0},arguments)},O.prototype.hide=function(){return(0,n.DM)(this,"hide",{sync:!0},arguments)},O.\u0275fac=function(){let x;return function(Z){return(x||(x=U.n5z(O)))(Z||O)}}(),O.\u0275prov=U.Yz7({token:O,factory:O.\u0275fac}),O.pluginName="SplashScreen",O.plugin="cordova-plugin-splashscreen",O.pluginRef="navigator.splashscreen",O.repo="https://github.com/apache/cordova-plugin-splashscreen",O.platforms=["Amazon Fire OS","Android","iOS","Windows"],O=(0,c.gn)([],O)}(n.On)},9062:(ct,Ie,b)=>{"use strict";b.d(Ie,{A:()=>$});var c=b(7582),n=b(7598),U=b(4650),$=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}return(0,c.ZT)(O,J),O.prototype.overlaysWebView=function(x){return(0,n.DM)(this,"overlaysWebView",{sync:!0},arguments)},O.prototype.styleDefault=function(){return(0,n.DM)(this,"styleDefault",{sync:!0},arguments)},O.prototype.styleLightContent=function(){return(0,n.DM)(this,"styleLightContent",{sync:!0},arguments)},O.prototype.styleBlackTranslucent=function(){return(0,n.DM)(this,"styleBlackTranslucent",{sync:!0},arguments)},O.prototype.styleBlackOpaque=function(){return(0,n.DM)(this,"styleBlackOpaque",{sync:!0},arguments)},O.prototype.backgroundColorByName=function(x){return(0,n.DM)(this,"backgroundColorByName",{sync:!0},arguments)},O.prototype.backgroundColorByHexString=function(x){return(0,n.DM)(this,"backgroundColorByHexString",{sync:!0},arguments)},O.prototype.hide=function(){return(0,n.DM)(this,"hide",{sync:!0},arguments)},O.prototype.show=function(){return(0,n.DM)(this,"show",{sync:!0},arguments)},Object.defineProperty(O.prototype,"isVisible",{get:function(){return(0,n.J2)(this,"isVisible")},set:function(x){(0,n.Iq)(this,"isVisible",x)},enumerable:!1,configurable:!0}),O.\u0275fac=function(){let x;return function(Z){return(x||(x=U.n5z(O)))(Z||O)}}(),O.\u0275prov=U.Yz7({token:O,factory:O.\u0275fac}),O.pluginName="StatusBar",O.plugin="cordova-plugin-statusbar",O.pluginRef="StatusBar",O.repo="https://github.com/apache/cordova-plugin-statusbar",O.platforms=["Android","iOS","Windows"],O=(0,c.gn)([],O)}(n.On)},4879:(ct,Ie,b)=>{"use strict";b.d(Ie,{F:()=>$});var c=b(7582),n=b(7598),U=b(4650),$=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}return(0,c.ZT)(O,J),O.prototype.show=function(x,V,Z){return(0,n.DM)(this,"show",{observable:!0,clearFunction:"hide"},arguments)},O.prototype.hide=function(){return(0,n.DM)(this,"hide",{},arguments)},O.prototype.showWithOptions=function(x){return(0,n.DM)(this,"showWithOptions",{observable:!0,clearFunction:"hide"},arguments)},O.prototype.showShortTop=function(x){return(0,n.DM)(this,"showShortTop",{observable:!0,clearFunction:"hide"},arguments)},O.prototype.showShortCenter=function(x){return(0,n.DM)(this,"showShortCenter",{observable:!0,clearFunction:"hide"},arguments)},O.prototype.showShortBottom=function(x){return(0,n.DM)(this,"showShortBottom",{observable:!0,clearFunction:"hide"},arguments)},O.prototype.showLongTop=function(x){return(0,n.DM)(this,"showLongTop",{observable:!0,clearFunction:"hide"},arguments)},O.prototype.showLongCenter=function(x){return(0,n.DM)(this,"showLongCenter",{observable:!0,clearFunction:"hide"},arguments)},O.prototype.showLongBottom=function(x){return(0,n.DM)(this,"showLongBottom",{observable:!0,clearFunction:"hide"},arguments)},O.\u0275fac=function(){let x;return function(Z){return(x||(x=U.n5z(O)))(Z||O)}}(),O.\u0275prov=U.Yz7({token:O,factory:O.\u0275fac}),O.pluginName="Toast",O.plugin="cordova-plugin-x-toast",O.pluginRef="plugins.toast",O.repo="https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin",O.platforms=["Android","BlackBerry 10","iOS","Windows","Windows Phone 8"],O=(0,c.gn)([],O)}(n.On)},2438:(ct,Ie,b)=>{"use strict";b.d(Ie,{c:()=>ie});var c=b(7693),n=b(2674);let U;const J=K=>K.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),O=K=>(void 0===U&&(U=void 0===K.style.animationName&&void 0!==K.style.webkitAnimationName?"-webkit-":""),U),x=(K,z,_e)=>{const Le=z.startsWith("animation")?O(K):"";K.style.setProperty(Le+z,_e)},V=(K,z)=>{const _e=z.startsWith("animation")?O(K):"";K.style.removeProperty(_e+z)},G=[],de=(K=[],z)=>{if(void 0!==z){const _e=Array.isArray(z)?z:[z];return[...K,..._e]}return K},ie=K=>{let z,_e,Le,De,ge,xe,Fe,N,I,L,j,Je,ft,$e=[],ne=[],be=[],je=!1,Ae={},He=[],ae=[],me={},Xe=0,tt=!1,he=!1,oe=!0,ue=!1,ze=!0,Ne=!1;const Ye=K,rt=[],at=[],ht=[],Ot=[],It=[],bt=[],Kt=[],it=[],Tt=[],gn=[],Xn="function"==typeof AnimationEffect||void 0!==c.w&&"function"==typeof c.w.AnimationEffect,sn="function"==typeof Element&&"function"==typeof Element.prototype.animate&&Xn,gr=()=>gn,Ln=(T,H)=>((H?.oneTimeCallback?at:rt).push({c:T,o:H}),ft),Zt=()=>{if(sn)gn.forEach(T=>{T.cancel()}),gn.length=0;else{const T=ht.slice();(0,n.r)(()=>{T.forEach(H=>{V(H,"animation-name"),V(H,"animation-duration"),V(H,"animation-timing-function"),V(H,"animation-iteration-count"),V(H,"animation-delay"),V(H,"animation-play-state"),V(H,"animation-fill-mode"),V(H,"animation-direction")})})}},lr=()=>{It.forEach(T=>{T?.parentNode&&T.parentNode.removeChild(T)}),It.length=0},or=()=>void 0!==ge?ge:Fe?Fe.getFill():"both",Tn=()=>void 0!==I?I:void 0!==xe?xe:Fe?Fe.getDirection():"normal",dr=()=>tt?"linear":void 0!==Le?Le:Fe?Fe.getEasing():"linear",fn=()=>he?0:void 0!==L?L:void 0!==_e?_e:Fe?Fe.getDuration():0,nn=()=>void 0!==De?De:Fe?Fe.getIterations():1,_n=()=>void 0!==j?j:void 0!==z?z:Fe?Fe.getDelay():0,Mn=()=>{0!==Xe&&(Xe--,0===Xe&&((()=>{Nt(),it.forEach(Ce=>Ce()),Tt.forEach(Ce=>Ce());const T=oe?1:0,H=He,te=ae,we=me;ht.forEach(Ce=>{const Ue=Ce.classList;H.forEach(Qe=>Ue.add(Qe)),te.forEach(Qe=>Ue.remove(Qe));for(const Qe in we)we.hasOwnProperty(Qe)&&x(Ce,Qe,we[Qe])}),rt.forEach(Ce=>Ce.c(T,ft)),at.forEach(Ce=>Ce.c(T,ft)),at.length=0,ze=!0,oe&&(ue=!0),oe=!0})(),Fe&&Fe.animationFinish()))},mr=(T=!0)=>{lr();const H=(K=>(K.forEach(z=>{for(const _e in z)if(z.hasOwnProperty(_e)){const Le=z[_e];if("easing"===_e)z["animation-timing-function"]=Le,delete z[_e];else{const De=J(_e);De!==_e&&(z[De]=Le,delete z[_e])}}}),K))($e);ht.forEach(te=>{if(H.length>0){const we=((K=[])=>K.map(z=>{const _e=z.offset,Le=[];for(const De in z)z.hasOwnProperty(De)&&"offset"!==De&&Le.push(`${De}: ${z[De]};`);return`${100*_e}% { ${Le.join(" ")} }`}).join(" "))(H);Je=void 0!==K?K:(K=>{let z=G.indexOf(K);return z<0&&(z=G.push(K)-1),`ion-animation-${z}`})(we);const Ce=((K,z,_e)=>{var Le;const De=(K=>{const z=void 0!==K.getRootNode?K.getRootNode():K;return z.head||z})(_e),ge=O(_e),xe=De.querySelector("#"+K);if(xe)return xe;const $e=(null!==(Le=_e.ownerDocument)&&void 0!==Le?Le:document).createElement("style");return $e.id=K,$e.textContent=`@${ge}keyframes ${K} { ${z} } @${ge}keyframes ${K}-alt { ${z} }`,De.appendChild($e),$e})(Je,we,te);It.push(Ce),x(te,"animation-duration",`${fn()}ms`),x(te,"animation-timing-function",dr()),x(te,"animation-delay",`${_n()}ms`),x(te,"animation-fill-mode",or()),x(te,"animation-direction",Tn());const Ue=nn()===1/0?"infinite":nn().toString();x(te,"animation-iteration-count",Ue),x(te,"animation-play-state","paused"),T&&x(te,"animation-name",`${Ce.id}-alt`),(0,n.r)(()=>{x(te,"animation-name",Ce.id||null)})}})},Jn=(T=!0)=>{(()=>{bt.forEach(we=>we()),Kt.forEach(we=>we());const T=ne,H=be,te=Ae;ht.forEach(we=>{const Ce=we.classList;T.forEach(Ue=>Ce.add(Ue)),H.forEach(Ue=>Ce.remove(Ue));for(const Ue in te)te.hasOwnProperty(Ue)&&x(we,Ue,te[Ue])})})(),$e.length>0&&(sn?(ht.forEach(T=>{const H=T.animate($e,{id:Ye,delay:_n(),duration:fn(),easing:dr(),iterations:nn(),fill:or(),direction:Tn()});H.pause(),gn.push(H)}),gn.length>0&&(gn[0].onfinish=()=>{Mn()})):mr(T)),je=!0},Yt=T=>{if(T=Math.min(Math.max(T,0),.9999),sn)gn.forEach(H=>{H.currentTime=H.effect.getComputedTiming().delay+fn()*T,H.pause()});else{const H=`-${fn()*T}ms`;ht.forEach(te=>{$e.length>0&&(x(te,"animation-delay",H),x(te,"animation-play-state","paused"))})}},Un=T=>{gn.forEach(H=>{H.effect.updateTiming({delay:_n(),duration:fn(),easing:dr(),iterations:nn(),fill:or(),direction:Tn()})}),void 0!==T&&Yt(T)},yn=(T=!0,H)=>{(0,n.r)(()=>{ht.forEach(te=>{x(te,"animation-name",Je||null),x(te,"animation-duration",`${fn()}ms`),x(te,"animation-timing-function",dr()),x(te,"animation-delay",void 0!==H?`-${H*fn()}ms`:`${_n()}ms`),x(te,"animation-fill-mode",or()||null),x(te,"animation-direction",Tn()||null);const we=nn()===1/0?"infinite":nn().toString();x(te,"animation-iteration-count",we),T&&x(te,"animation-name",`${Je}-alt`),(0,n.r)(()=>{x(te,"animation-name",Je||null)})})})},un=(T=!1,H=!0,te)=>(T&&Ot.forEach(we=>{we.update(T,H,te)}),sn?Un(te):yn(H,te),ft),On=()=>{je&&(sn?gn.forEach(T=>{T.pause()}):ht.forEach(T=>{x(T,"animation-play-state","paused")}),Ne=!0)},Mt=()=>{N=void 0,Mn()},Nt=()=>{N&&clearTimeout(N)},fe=T=>new Promise(H=>{T?.sync&&(he=!0,Ln(()=>he=!1,{oneTimeCallback:!0})),je||Jn(),ue&&(sn?(Yt(0),Un()):yn(),ue=!1),ze&&(Xe=Ot.length+1,ze=!1),Ln(()=>H(),{oneTimeCallback:!0}),Ot.forEach(te=>{te.play()}),sn?(gn.forEach(T=>{T.play()}),(0===$e.length||0===ht.length)&&Mn()):(()=>{if(Nt(),(0,n.r)(()=>{ht.forEach(T=>{$e.length>0&&x(T,"animation-play-state","running")})}),0===$e.length||0===ht.length)Mn();else{const T=_n()||0,H=fn()||0,te=nn()||1;isFinite(te)&&(N=setTimeout(Mt,T+H*te+100)),((K,z)=>{let _e;const Le={passive:!0},ge=xe=>{K===xe.target&&(_e&&_e(),Nt(),(0,n.r)(()=>{ht.forEach(T=>{V(T,"animation-duration"),V(T,"animation-delay"),V(T,"animation-play-state")}),(0,n.r)(Mn)}))};K&&(K.addEventListener("webkitAnimationEnd",ge,Le),K.addEventListener("animationend",ge,Le),_e=()=>{K.removeEventListener("webkitAnimationEnd",ge,Le),K.removeEventListener("animationend",ge,Le)})})(ht[0])}})(),Ne=!1}),Be=(T,H)=>{const te=$e[0];return void 0===te||void 0!==te.offset&&0!==te.offset?$e=[{offset:0,[T]:H},...$e]:te[T]=H,ft};return ft={parentAnimation:Fe,elements:ht,childAnimations:Ot,id:Ye,animationFinish:Mn,from:Be,to:(T,H)=>{const te=$e[$e.length-1];return void 0===te||void 0!==te.offset&&1!==te.offset?$e=[...$e,{offset:1,[T]:H}]:te[T]=H,ft},fromTo:(T,H,te)=>Be(T,H).to(T,te),parent:T=>(Fe=T,ft),play:fe,pause:()=>(Ot.forEach(T=>{T.pause()}),On(),ft),stop:()=>{Ot.forEach(T=>{T.stop()}),je&&(Zt(),je=!1),tt=!1,he=!1,ze=!0,I=void 0,L=void 0,j=void 0,Xe=0,ue=!1,oe=!0,Ne=!1},destroy:T=>(Ot.forEach(H=>{H.destroy(T)}),(T=>{Zt(),T&&lr()})(T),ht.length=0,Ot.length=0,$e.length=0,rt.length=0,at.length=0,je=!1,ze=!0,ft),keyframes:T=>{const H=$e!==T;return $e=T,H&&(T=>{sn?gr().forEach(H=>{if(H.effect.setKeyframes)H.effect.setKeyframes(T);else{const te=new KeyframeEffect(H.effect.target,T,H.effect.getTiming());H.effect=te}}):mr()})($e),ft},addAnimation:T=>{if(null!=T)if(Array.isArray(T))for(const H of T)H.parent(ft),Ot.push(H);else T.parent(ft),Ot.push(T);return ft},addElement:T=>{if(null!=T)if(1===T.nodeType)ht.push(T);else if(T.length>=0)for(let H=0;H(ge=T,un(!0),ft),direction:T=>(xe=T,un(!0),ft),iterations:T=>(De=T,un(!0),ft),duration:T=>(!sn&&0===T&&(T=1),_e=T,un(!0),ft),easing:T=>(Le=T,un(!0),ft),delay:T=>(z=T,un(!0),ft),getWebAnimations:gr,getKeyframes:()=>$e,getFill:or,getDirection:Tn,getDelay:_n,getIterations:nn,getEasing:dr,getDuration:fn,afterAddRead:T=>(it.push(T),ft),afterAddWrite:T=>(Tt.push(T),ft),afterClearStyles:(T=[])=>{for(const H of T)me[H]="";return ft},afterStyles:(T={})=>(me=T,ft),afterRemoveClass:T=>(ae=de(ae,T),ft),afterAddClass:T=>(He=de(He,T),ft),beforeAddRead:T=>(bt.push(T),ft),beforeAddWrite:T=>(Kt.push(T),ft),beforeClearStyles:(T=[])=>{for(const H of T)Ae[H]="";return ft},beforeStyles:(T={})=>(Ae=T,ft),beforeRemoveClass:T=>(be=de(be,T),ft),beforeAddClass:T=>(ne=de(ne,T),ft),onFinish:Ln,isRunning:()=>0!==Xe&&!Ne,progressStart:(T=!1,H)=>(Ot.forEach(te=>{te.progressStart(T,H)}),On(),tt=T,je||Jn(),un(!1,!0,H),ft),progressStep:T=>(Ot.forEach(H=>{H.progressStep(T)}),Yt(T),ft),progressEnd:(T,H,te)=>(tt=!1,Ot.forEach(we=>{we.progressEnd(T,H,te)}),void 0!==te&&(L=te),ue=!1,oe=!0,0===T?(I="reverse"===Tn()?"normal":"reverse","reverse"===I&&(oe=!1),sn?(un(),Yt(1-H)):(j=(1-H)*fn()*-1,un(!1,!1))):1===T&&(sn?(un(),Yt(H)):(j=H*fn()*-1,un(!1,!1))),void 0!==T&&(Ln(()=>{L=void 0,I=void 0,j=void 0},{oneTimeCallback:!0}),Fe||fe()),ft)}}},1180:(ct,Ie,b)=>{"use strict";b.d(Ie,{E:()=>se,a:()=>c,s:()=>V});const c=G=>{try{if(G instanceof x)return G.value;if(!$()||"string"!=typeof G||""===G)return G;if(G.includes("onload="))return"";const ee=document.createDocumentFragment(),ce=document.createElement("div");ee.appendChild(ce),ce.innerHTML=G,O.forEach(K=>{const z=ee.querySelectorAll(K);for(let _e=z.length-1;_e>=0;_e--){const Le=z[_e];Le.parentNode?Le.parentNode.removeChild(Le):ee.removeChild(Le);const De=U(Le);for(let ge=0;ge{if(G.nodeType&&1!==G.nodeType)return;if(typeof NamedNodeMap<"u"&&!(G.attributes instanceof NamedNodeMap))return void G.remove();for(let ce=G.attributes.length-1;ce>=0;ce--){const X=G.attributes.item(ce),de=X.name;if(!J.includes(de.toLowerCase())){G.removeAttribute(de);continue}const ie=X.value,K=G[de];(null!=ie&&ie.toLowerCase().includes("javascript:")||null!=K&&K.toLowerCase().includes("javascript:"))&&G.removeAttribute(de)}const ee=U(G);for(let ce=0;cenull!=G.children?G.children:G.childNodes,$=()=>{var G;const ce=null===(G=window?.Ionic)||void 0===G?void 0:G.config;return!ce||(ce.get?ce.get("sanitizerEnabled",!0):!0===ce.sanitizerEnabled||void 0===ce.sanitizerEnabled)},J=["class","id","href","src","name","slot"],O=["script","style","iframe","meta","link","object","embed"];class x{constructor(ee){this.value=ee}}const V=G=>{const ee=window,ce=ee.Ionic;if(!ce||!ce.config||"Object"===ce.config.constructor.name)return ee.Ionic=ee.Ionic||{},ee.Ionic.config=Object.assign(Object.assign({},ee.Ionic.config),G),ee.Ionic.config},se=!1},4519:(ct,Ie,b)=>{"use strict";b.d(Ie,{C:()=>J,a:()=>U,d:()=>$});var c=b(5861),n=b(2674);const U=function(){var O=(0,c.Z)(function*(x,V,Z,se,G,ee){var ce;if(x)return x.attachViewToDom(V,Z,G,se);if(!(ee||"string"==typeof Z||Z instanceof HTMLElement))throw new Error("framework delegate is missing");const X="string"==typeof Z?null===(ce=V.ownerDocument)||void 0===ce?void 0:ce.createElement(Z):Z;return se&&se.forEach(de=>X.classList.add(de)),G&&Object.assign(X,G),V.appendChild(X),yield new Promise(de=>(0,n.c)(X,de)),X});return function(V,Z,se,G,ee,ce){return O.apply(this,arguments)}}(),$=(O,x)=>{if(x){if(O)return O.removeViewFromDom(x.parentElement,x);x.remove()}return Promise.resolve()},J=()=>{let O,x;return{attachViewToDom:function(){var se=(0,c.Z)(function*(G,ee,ce={},X=[]){var de,ie;if(O=G,ee){const z="string"==typeof ee?null===(de=O.ownerDocument)||void 0===de?void 0:de.createElement(ee):ee;X.forEach(_e=>z.classList.add(_e)),Object.assign(z,ce),O.appendChild(z),yield new Promise(_e=>(0,n.c)(z,_e))}else if(O.children.length>0&&("ION-MODAL"===O.tagName||"ION-POPOVER"===O.tagName)&&!O.children[0].classList.contains("ion-delegate-host")){const _e=null===(ie=O.ownerDocument)||void 0===ie?void 0:ie.createElement("div");_e.classList.add("ion-delegate-host"),X.forEach(Le=>_e.classList.add(Le)),_e.append(...O.children),O.appendChild(_e)}const K=document.querySelector("ion-app")||document.body;return x=document.createComment("ionic teleport"),O.parentNode.insertBefore(x,O),K.appendChild(O),O});return function(ee,ce){return se.apply(this,arguments)}}(),removeViewFromDom:()=>(O&&x&&(x.parentNode.insertBefore(O,x),x.remove()),Promise.resolve())}}},6412:(ct,Ie,b)=>{"use strict";b.d(Ie,{G:()=>J});class n{constructor(x,V,Z,se,G){this.id=V,this.name=Z,this.disableScroll=G,this.priority=1e6*se+V,this.ctrl=x}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const x=this.ctrl.capture(this.name,this.id,this.priority);return x&&this.disableScroll&&this.ctrl.disableScroll(this.id),x}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class U{constructor(x,V,Z,se){this.id=V,this.disable=Z,this.disableScroll=se,this.ctrl=x}block(){if(this.ctrl){if(this.disable)for(const x of this.disable)this.ctrl.disableGesture(x,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const x of this.disable)this.ctrl.enableGesture(x,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const $="backdrop-no-scroll",J=new class c{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(x){var V;return new n(this,this.newID(),x.name,null!==(V=x.priority)&&void 0!==V?V:0,!!x.disableScroll)}createBlocker(x={}){return new U(this,this.newID(),x.disable,!!x.disableScroll)}start(x,V,Z){return this.canStart(x)?(this.requestedStart.set(V,Z),!0):(this.requestedStart.delete(V),!1)}capture(x,V,Z){if(!this.start(x,V,Z))return!1;const se=this.requestedStart;let G=-1e4;if(se.forEach(ee=>{G=Math.max(G,ee)}),G===Z){this.capturedId=V,se.clear();const ee=new CustomEvent("ionGestureCaptured",{detail:{gestureName:x}});return document.dispatchEvent(ee),!0}return se.delete(V),!1}release(x){this.requestedStart.delete(x),this.capturedId===x&&(this.capturedId=void 0)}disableGesture(x,V){let Z=this.disabledGestures.get(x);void 0===Z&&(Z=new Set,this.disabledGestures.set(x,Z)),Z.add(V)}enableGesture(x,V){const Z=this.disabledGestures.get(x);void 0!==Z&&Z.delete(V)}disableScroll(x){this.disabledScroll.add(x),1===this.disabledScroll.size&&document.body.classList.add($)}enableScroll(x){this.disabledScroll.delete(x),0===this.disabledScroll.size&&document.body.classList.remove($)}canStart(x){return!(void 0!==this.capturedId||this.isDisabled(x))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(x){const V=this.disabledGestures.get(x);return!!(V&&V.size>0)}newID(){return this.gestureId++,this.gestureId}}},245:(ct,Ie,b)=>{"use strict";b.r(Ie),b.d(Ie,{MENU_BACK_BUTTON_PRIORITY:()=>J,OVERLAY_BACK_BUTTON_PRIORITY:()=>$,blockHardwareBackButton:()=>n,startHardwareBackButton:()=>U});var c=b(5861);const n=()=>{document.addEventListener("backbutton",()=>{})},U=()=>{const O=document;let x=!1;O.addEventListener("backbutton",()=>{if(x)return;let V=0,Z=[];const se=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(ce,X){Z.push({priority:ce,handler:X,id:V++})}}});O.dispatchEvent(se);const G=function(){var ce=(0,c.Z)(function*(X){try{if(X?.handler){const de=X.handler(ee);null!=de&&(yield de)}}catch(de){console.error(de)}});return function(de){return ce.apply(this,arguments)}}(),ee=()=>{if(Z.length>0){let ce={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};Z.forEach(X=>{X.priority>=ce.priority&&(ce=X)}),x=!0,Z=Z.filter(X=>X.id!==ce.id),G(ce).then(()=>x=!1)}};ee()})},$=100,J=99},2674:(ct,Ie,b)=>{"use strict";b.d(Ie,{a:()=>V,b:()=>Z,c:()=>U,d:()=>ie,e:()=>de,f:()=>X,g:()=>se,h:()=>ce,i:()=>x,j:()=>ge,k:()=>J,l:()=>K,m:()=>$,n:()=>ee,o:()=>z,p:()=>De,q:()=>xe,r:()=>G,s:()=>$e,t:()=>c,u:()=>_e,v:()=>Le});const c=(ne,be=0)=>new Promise(je=>{n(ne,be,je)}),n=(ne,be=0,je)=>{let Fe,Ae;const He={passive:!0},me=()=>{Fe&&Fe()},Xe=tt=>{(void 0===tt||ne===tt.target)&&(me(),je(tt))};return ne&&(ne.addEventListener("webkitTransitionEnd",Xe,He),ne.addEventListener("transitionend",Xe,He),Ae=setTimeout(Xe,be+500),Fe=()=>{Ae&&(clearTimeout(Ae),Ae=void 0),ne.removeEventListener("webkitTransitionEnd",Xe,He),ne.removeEventListener("transitionend",Xe,He)}),me},U=(ne,be)=>{ne.componentOnReady?ne.componentOnReady().then(je=>be(je)):G(()=>be(ne))},$=ne=>void 0!==ne.componentOnReady,J=(ne,be=[])=>{const je={};return be.forEach(Fe=>{ne.hasAttribute(Fe)&&(null!==ne.getAttribute(Fe)&&(je[Fe]=ne.getAttribute(Fe)),ne.removeAttribute(Fe))}),je},O=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],x=(ne,be)=>{let je=O;return be&&be.length>0&&(je=je.filter(Fe=>!be.includes(Fe))),J(ne,je)},V=(ne,be,je,Fe)=>{var Ae;if(typeof window<"u"){const ae=null===(Ae=window?.Ionic)||void 0===Ae?void 0:Ae.config;if(ae){const me=ae.get("_ael");if(me)return me(ne,be,je,Fe);if(ae._ael)return ae._ael(ne,be,je,Fe)}}return ne.addEventListener(be,je,Fe)},Z=(ne,be,je,Fe)=>{var Ae;if(typeof window<"u"){const ae=null===(Ae=window?.Ionic)||void 0===Ae?void 0:Ae.config;if(ae){const me=ae.get("_rel");if(me)return me(ne,be,je,Fe);if(ae._rel)return ae._rel(ne,be,je,Fe)}}return ne.removeEventListener(be,je,Fe)},se=(ne,be=ne)=>ne.shadowRoot||be,G=ne=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(ne):"function"==typeof requestAnimationFrame?requestAnimationFrame(ne):setTimeout(ne),ee=ne=>!!ne.shadowRoot&&!!ne.attachShadow,ce=ne=>{const be=ne.closest("ion-item");return be?be.querySelector("ion-label"):null},X=ne=>{if(ne.focus(),ne.classList.contains("ion-focusable")){const be=ne.closest("ion-app");be&&be.setFocus([ne])}},de=(ne,be)=>{let je;const Fe=ne.getAttribute("aria-labelledby"),Ae=ne.id;let He=null!==Fe&&""!==Fe.trim()?Fe:be+"-lbl",ae=null!==Fe&&""!==Fe.trim()?document.getElementById(Fe):ce(ne);return ae?(null===Fe&&(ae.id=He),je=ae.textContent,ae.setAttribute("aria-hidden","true")):""!==Ae.trim()&&(ae=document.querySelector(`label[for="${Ae}"]`),ae&&(""!==ae.id?He=ae.id:ae.id=He=`${Ae}-lbl`,je=ae.textContent)),{label:ae,labelId:He,labelText:je}},ie=(ne,be,je,Fe,Ae)=>{if(ne||ee(be)){let He=be.querySelector("input.aux-input");He||(He=be.ownerDocument.createElement("input"),He.type="hidden",He.classList.add("aux-input"),be.appendChild(He)),He.disabled=Ae,He.name=je,He.value=Fe||""}},K=(ne,be,je)=>Math.max(ne,Math.min(be,je)),z=(ne,be)=>{if(!ne){const je="ASSERT: "+be;throw console.error(je),new Error(je)}},_e=ne=>ne.timeStamp||Date.now(),Le=ne=>{if(ne){const be=ne.changedTouches;if(be&&be.length>0){const je=be[0];return{x:je.clientX,y:je.clientY}}if(void 0!==ne.pageX)return{x:ne.pageX,y:ne.pageY}}return{x:0,y:0}},De=ne=>{const be="rtl"===document.dir;switch(ne){case"start":return be;case"end":return!be;default:throw new Error(`"${ne}" is not a valid value for [side]. Use "start" or "end" instead.`)}},ge=(ne,be)=>{const je=ne._original||ne;return{_original:ne,emit:xe(je.emit.bind(je),be)}},xe=(ne,be=0)=>{let je;return(...Fe)=>{clearTimeout(je),je=setTimeout(ne,be,...Fe)}},$e=(ne,be)=>{if(ne??(ne={}),be??(be={}),ne===be)return!0;const je=Object.keys(ne);if(je.length!==Object.keys(be).length)return!1;for(const Fe of je)if(!(Fe in be)||ne[Fe]!==be[Fe])return!1;return!0}},3357:(ct,Ie,b)=>{"use strict";b.d(Ie,{a:()=>n,b:()=>U,p:()=>c});const c=($,...J)=>console.warn(`[Ionic Warning]: ${$}`,...J),n=($,...J)=>console.error(`[Ionic Error]: ${$}`,...J),U=($,...J)=>console.error(`<${$.tagName.toLowerCase()}> must be used inside ${J.join(" or ")}.`)},4309:(ct,Ie,b)=>{"use strict";b.d(Ie,{L:()=>$,a:()=>J,b:()=>O,c:()=>x,d:()=>V,e:()=>ne,g:()=>Fe,l:()=>xe,s:()=>be,t:()=>G,w:()=>$e});var c=b(5861),n=b(1071),U=b(2674);const $="ionViewWillEnter",J="ionViewDidEnter",O="ionViewWillLeave",x="ionViewDidLeave",V="ionViewWillUnload",G=Ae=>new Promise((He,ae)=>{(0,n.w)(()=>{ee(Ae),ce(Ae).then(me=>{me.animation&&me.animation.destroy(),X(Ae),He(me)},me=>{X(Ae),ae(me)})})}),ee=Ae=>{const He=Ae.enteringEl,ae=Ae.leavingEl;je(He,ae,Ae.direction),Ae.showGoBack?He.classList.add("can-go-back"):He.classList.remove("can-go-back"),be(He,!1),He.style.setProperty("pointer-events","none"),ae&&(be(ae,!1),ae.style.setProperty("pointer-events","none"))},ce=function(){var Ae=(0,c.Z)(function*(He){const ae=yield de(He);return ae&&n.B.isBrowser?ie(ae,He):K(He)});return function(ae){return Ae.apply(this,arguments)}}(),X=Ae=>{const He=Ae.enteringEl,ae=Ae.leavingEl;He.classList.remove("ion-page-invisible"),He.style.removeProperty("pointer-events"),void 0!==ae&&(ae.classList.remove("ion-page-invisible"),ae.style.removeProperty("pointer-events"))},de=function(){var Ae=(0,c.Z)(function*(He){return He.leavingEl&&He.animated&&0!==He.duration?He.animationBuilder?He.animationBuilder:"ios"===He.mode?(yield Promise.resolve().then(b.bind(b,8962))).iosTransitionAnimation:(yield Promise.resolve().then(b.bind(b,7486))).mdTransitionAnimation:void 0});return function(ae){return Ae.apply(this,arguments)}}(),ie=function(){var Ae=(0,c.Z)(function*(He,ae){yield z(ae,!0);const me=He(ae.baseEl,ae);De(ae.enteringEl,ae.leavingEl);const Xe=yield Le(me,ae);return ae.progressCallback&&ae.progressCallback(void 0),Xe&&ge(ae.enteringEl,ae.leavingEl),{hasCompleted:Xe,animation:me}});return function(ae,me){return Ae.apply(this,arguments)}}(),K=function(){var Ae=(0,c.Z)(function*(He){const ae=He.enteringEl,me=He.leavingEl;return yield z(He,!1),De(ae,me),ge(ae,me),{hasCompleted:!0}});return function(ae){return Ae.apply(this,arguments)}}(),z=function(){var Ae=(0,c.Z)(function*(He,ae){(void 0!==He.deepWait?He.deepWait:ae)&&(yield Promise.all([ne(He.enteringEl),ne(He.leavingEl)])),yield _e(He.viewIsReady,He.enteringEl)});return function(ae,me){return Ae.apply(this,arguments)}}(),_e=function(){var Ae=(0,c.Z)(function*(He,ae){He&&(yield He(ae))});return function(ae,me){return Ae.apply(this,arguments)}}(),Le=(Ae,He)=>{const ae=He.progressCallback,me=new Promise(Xe=>{Ae.onFinish(tt=>Xe(1===tt))});return ae?(Ae.progressStart(!0),ae(Ae)):Ae.play(),me},De=(Ae,He)=>{xe(He,O),xe(Ae,$)},ge=(Ae,He)=>{xe(Ae,J),xe(He,x)},xe=(Ae,He)=>{if(Ae){const ae=new CustomEvent(He,{bubbles:!1,cancelable:!1});Ae.dispatchEvent(ae)}},$e=()=>new Promise(Ae=>(0,U.r)(()=>(0,U.r)(()=>Ae()))),ne=function(){var Ae=(0,c.Z)(function*(He){const ae=He;if(ae){if(null!=ae.componentOnReady){if(null!=(yield ae.componentOnReady()))return}else if(null!=ae.__registerHost)return void(yield new Promise(Xe=>(0,U.r)(Xe)));yield Promise.all(Array.from(ae.children).map(ne))}});return function(ae){return Ae.apply(this,arguments)}}(),be=(Ae,He)=>{He?(Ae.setAttribute("aria-hidden","true"),Ae.classList.add("ion-page-hidden")):(Ae.hidden=!1,Ae.removeAttribute("aria-hidden"),Ae.classList.remove("ion-page-hidden"))},je=(Ae,He,ae)=>{void 0!==Ae&&(Ae.style.zIndex="back"===ae?"99":"101"),void 0!==He&&(He.style.zIndex="100")},Fe=Ae=>Ae.classList.contains("ion-page")?Ae:Ae.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||Ae},7693:(ct,Ie,b)=>{"use strict";b.d(Ie,{d:()=>n,w:()=>c});const c=typeof window<"u"?window:void 0,n=typeof document<"u"?document:void 0},1071:(ct,Ie,b)=>{"use strict";b.d(Ie,{B:()=>G,H:()=>me,a:()=>On,b:()=>ot,c:()=>ue,d:()=>Ne,e:()=>Be,f:()=>ft,g:()=>ze,h:()=>He,i:()=>Hn,j:()=>ee,r:()=>Mn,w:()=>Pe});var c=b(5861);let U,$,J,O=!1,x=!1,V=!1,Z=!1,se=!1;const G={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},ee=A=>{const T=new URL(A,Gt.$resourcesUrl$);return T.origin!==bn.location.origin?T.href:T.pathname},_e="s-id",Le="sty-id",xe="http://www.w3.org/1999/xlink",$e={},Fe=A=>"object"==(A=typeof A)||"function"===A;function Ae(A){var T,H,te;return null!==(te=null===(H=null===(T=A.head)||void 0===T?void 0:T.querySelector('meta[name="csp-nonce"]'))||void 0===H?void 0:H.getAttribute("content"))&&void 0!==te?te:void 0}const He=(A,T,...H)=>{let te=null,we=null,Ce=null,Ue=!1,Qe=!1;const Ke=[],ye=_t=>{for(let Ft=0;Ft<_t.length;Ft++)te=_t[Ft],Array.isArray(te)?ye(te):null!=te&&"boolean"!=typeof te&&((Ue="function"!=typeof A&&!Fe(te))&&(te=String(te)),Ue&&Qe?Ke[Ke.length-1].$text$+=te:Ke.push(Ue?ae(null,te):te),Qe=Ue)};if(ye(H),T){T.key&&(we=T.key),T.name&&(Ce=T.name);{const _t=T.className||T.class;_t&&(T.class="object"!=typeof _t?_t:Object.keys(_t).filter(Ft=>_t[Ft]).join(" "))}}if("function"==typeof A)return A(null===T?{}:T,Ke,tt);const yt=ae(A,null);return yt.$attrs$=T,Ke.length>0&&(yt.$children$=Ke),yt.$key$=we,yt.$name$=Ce,yt},ae=(A,T)=>({$flags$:0,$tag$:A,$text$:T,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),me={},tt={forEach:(A,T)=>A.map(he).forEach(T),map:(A,T)=>A.map(he).map(T).map(N)},he=A=>({vattrs:A.$attrs$,vchildren:A.$children$,vkey:A.$key$,vname:A.$name$,vtag:A.$tag$,vtext:A.$text$}),N=A=>{if("function"==typeof A.vtag){const H=Object.assign({},A.vattrs);return A.vkey&&(H.key=A.vkey),A.vname&&(H.name=A.vname),He(A.vtag,H,...A.vchildren||[])}const T=ae(A.vtag,A.vtext);return T.$attrs$=A.vattrs,T.$children$=A.vchildren,T.$key$=A.vkey,T.$name$=A.vname,T},L=(A,T,H,te,we,Ce,Ue)=>{let Qe,Ke,ye,yt;if(1===Ce.nodeType){for(Qe=Ce.getAttribute("c-id"),Qe&&(Ke=Qe.split("."),(Ke[0]===Ue||"0"===Ke[0])&&(ye={$flags$:0,$hostId$:Ke[0],$nodeId$:Ke[1],$depth$:Ke[2],$index$:Ke[3],$tag$:Ce.tagName.toLowerCase(),$elm$:Ce,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},T.push(ye),Ce.removeAttribute("c-id"),A.$children$||(A.$children$=[]),A.$children$[ye.$index$]=ye,A=ye,te&&"0"===ye.$depth$&&(te[ye.$index$]=ye.$elm$))),yt=Ce.childNodes.length-1;yt>=0;yt--)L(A,T,H,te,we,Ce.childNodes[yt],Ue);if(Ce.shadowRoot)for(yt=Ce.shadowRoot.childNodes.length-1;yt>=0;yt--)L(A,T,H,te,we,Ce.shadowRoot.childNodes[yt],Ue)}else if(8===Ce.nodeType)Ke=Ce.nodeValue.split("."),(Ke[1]===Ue||"0"===Ke[1])&&(Qe=Ke[0],ye={$flags$:0,$hostId$:Ke[1],$nodeId$:Ke[2],$depth$:Ke[3],$index$:Ke[4],$elm$:Ce,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===Qe?(ye.$elm$=Ce.nextSibling,ye.$elm$&&3===ye.$elm$.nodeType&&(ye.$text$=ye.$elm$.textContent,T.push(ye),Ce.remove(),A.$children$||(A.$children$=[]),A.$children$[ye.$index$]=ye,te&&"0"===ye.$depth$&&(te[ye.$index$]=ye.$elm$))):ye.$hostId$===Ue&&("s"===Qe?(ye.$tag$="slot",Ce["s-sn"]=Ke[5]?ye.$name$=Ke[5]:"",Ce["s-sr"]=!0,te&&(ye.$elm$=mn.createElement(ye.$tag$),ye.$name$&&ye.$elm$.setAttribute("name",ye.$name$),Ce.parentNode.insertBefore(ye.$elm$,Ce),Ce.remove(),"0"===ye.$depth$&&(te[ye.$index$]=ye.$elm$)),H.push(ye),A.$children$||(A.$children$=[]),A.$children$[ye.$index$]=ye):"r"===Qe&&(te?Ce.remove():(we["s-cr"]=Ce,Ce["s-cn"]=!0))));else if(A&&"style"===A.$tag$){const _t=ae(null,Ce.textContent);_t.$elm$=Ce,_t.$index$="0",A.$children$=[_t]}},j=(A,T)=>{if(1===A.nodeType){let H=0;for(;Hun.push(A),ze=A=>Qt(A).$modeName$,ft=A=>Qt(A).$hostElement$,Ne=(A,T,H)=>{const te=ft(A);return{emit:we=>Ye(te,T,{bubbles:!!(4&H),composed:!!(2&H),cancelable:!!(1&H),detail:we})}},Ye=(A,T,H)=>{const te=Gt.ce(T,H);return A.dispatchEvent(te),te},rt=new WeakMap,at=(A,T,H)=>{let te=yn.get(A);Nt&&H?(te=te||new CSSStyleSheet,"string"==typeof te?te=T:te.replaceSync(T)):te=T,yn.set(A,te)},ht=(A,T,H)=>{var te;const we=It(T,H),Ce=yn.get(we);if(A=11===A.nodeType?A:mn,Ce)if("string"==typeof Ce){let Qe,Ue=rt.get(A=A.head||A);if(Ue||rt.set(A,Ue=new Set),!Ue.has(we)){if(A.host&&(Qe=A.querySelector(`[${Le}="${we}"]`)))Qe.innerHTML=Ce;else{Qe=mn.createElement("style"),Qe.innerHTML=Ce;const Ke=null!==(te=Gt.$nonce$)&&void 0!==te?te:Ae(mn);null!=Ke&&Qe.setAttribute("nonce",Ke),A.insertBefore(Qe,A.querySelector("link"))}Ue&&Ue.add(we)}}else A.adoptedStyleSheets.includes(Ce)||(A.adoptedStyleSheets=[...A.adoptedStyleSheets,Ce]);return we},It=(A,T)=>"sc-"+(T&&32&A.$flags$?A.$tagName$+"-"+T:A.$tagName$),bt=A=>A.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Kt=(A,T,H,te,we,Ce)=>{if(H!==te){let Ue=Tr(A,T),Qe=T.toLowerCase();if("class"===T){const Ke=A.classList,ye=Tt(H),yt=Tt(te);Ke.remove(...ye.filter(_t=>_t&&!yt.includes(_t))),Ke.add(...yt.filter(_t=>_t&&!ye.includes(_t)))}else if("style"===T){for(const Ke in H)(!te||null==te[Ke])&&(Ke.includes("-")?A.style.removeProperty(Ke):A.style[Ke]="");for(const Ke in te)(!H||te[Ke]!==H[Ke])&&(Ke.includes("-")?A.style.setProperty(Ke,te[Ke]):A.style[Ke]=te[Ke])}else if("key"!==T)if("ref"===T)te&&te(A);else if(Ue||"o"!==T[0]||"n"!==T[1]){const Ke=Fe(te);if((Ue||Ke&&null!==te)&&!we)try{if(A.tagName.includes("-"))A[T]=te;else{const yt=te??"";"list"===T?Ue=!1:(null==H||A[T]!=yt)&&(A[T]=yt)}}catch{}let ye=!1;Qe!==(Qe=Qe.replace(/^xlink\:?/,""))&&(T=Qe,ye=!0),null==te||!1===te?(!1!==te||""===A.getAttribute(T))&&(ye?A.removeAttributeNS(xe,T):A.removeAttribute(T)):(!Ue||4&Ce||we)&&!Ke&&(te=!0===te?"":te,ye?A.setAttributeNS(xe,T,te):A.setAttribute(T,te))}else T="-"===T[2]?T.slice(3):Tr(bn,Qe)?Qe.slice(2):Qe[2]+T.slice(3),H&&Gt.rel(A,T,H,!1),te&&Gt.ael(A,T,te,!1)}},it=/\s/,Tt=A=>A?A.split(it):[],gn=(A,T,H,te)=>{const we=11===T.$elm$.nodeType&&T.$elm$.host?T.$elm$.host:T.$elm$,Ce=A&&A.$attrs$||$e,Ue=T.$attrs$||$e;for(te in Ce)te in Ue||Kt(we,te,Ce[te],void 0,H,T.$flags$);for(te in Ue)Kt(we,te,Ce[te],Ue[te],H,T.$flags$)},Xn=(A,T,H,te)=>{const we=T.$children$[H];let Ue,Qe,Ke,Ce=0;if(O||(V=!0,"slot"===we.$tag$&&(U&&te.classList.add(U+"-s"),we.$flags$|=we.$children$?2:1)),null!==we.$text$)Ue=we.$elm$=mn.createTextNode(we.$text$);else if(1&we.$flags$)Ue=we.$elm$=mn.createTextNode("");else{if(Z||(Z="svg"===we.$tag$),Ue=we.$elm$=mn.createElementNS(Z?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&we.$flags$?"slot-fb":we.$tag$),Z&&"foreignObject"===we.$tag$&&(Z=!1),gn(null,we,Z),(A=>null!=A)(U)&&Ue["s-si"]!==U&&Ue.classList.add(Ue["s-si"]=U),we.$children$)for(Ce=0;Ce{Gt.$flags$|=1;const H=A.childNodes;for(let te=H.length-1;te>=0;te--){const we=H[te];we["s-hn"]!==J&&we["s-ol"]&&(gt(we).insertBefore(we,Pt(we)),we["s-ol"].remove(),we["s-ol"]=void 0,V=!0),T&&sn(we,T)}Gt.$flags$&=-2},ar=(A,T,H,te,we,Ce)=>{let Qe,Ue=A["s-cr"]&&A["s-cr"].parentNode||A;for(Ue.shadowRoot&&Ue.tagName===J&&(Ue=Ue.shadowRoot);we<=Ce;++we)te[we]&&(Qe=Xn(null,H,we,A),Qe&&(te[we].$elm$=Qe,Ue.insertBefore(Qe,Pt(T))))},gr=(A,T,H)=>{for(let te=T;te<=H;++te){const we=A[te];if(we){const Ce=we.$elm$;yr(we),Ce&&(x=!0,Ce["s-ol"]?Ce["s-ol"].remove():sn(Ce,!0),Ce.remove())}}},ln=(A,T)=>A.$tag$===T.$tag$&&("slot"===A.$tag$?A.$name$===T.$name$:A.$key$===T.$key$),Pt=A=>A&&A["s-ol"]||A,gt=A=>(A["s-ol"]?A["s-ol"]:A).parentNode,Ln=(A,T)=>{const H=T.$elm$=A.$elm$,te=A.$children$,we=T.$children$,Ce=T.$tag$,Ue=T.$text$;let Qe;null===Ue?(Z="svg"===Ce||"foreignObject"!==Ce&&Z,"slot"===Ce||gn(A,T,Z),null!==te&&null!==we?((A,T,H,te)=>{let fr,Pn,we=0,Ce=0,Ue=0,Qe=0,Ke=T.length-1,ye=T[0],yt=T[Ke],_t=te.length-1,Ft=te[0],St=te[_t];for(;we<=Ke&&Ce<=_t;)if(null==ye)ye=T[++we];else if(null==yt)yt=T[--Ke];else if(null==Ft)Ft=te[++Ce];else if(null==St)St=te[--_t];else if(ln(ye,Ft))Ln(ye,Ft),ye=T[++we],Ft=te[++Ce];else if(ln(yt,St))Ln(yt,St),yt=T[--Ke],St=te[--_t];else if(ln(ye,St))("slot"===ye.$tag$||"slot"===St.$tag$)&&sn(ye.$elm$.parentNode,!1),Ln(ye,St),A.insertBefore(ye.$elm$,yt.$elm$.nextSibling),ye=T[++we],St=te[--_t];else if(ln(yt,Ft))("slot"===ye.$tag$||"slot"===St.$tag$)&&sn(yt.$elm$.parentNode,!1),Ln(yt,Ft),A.insertBefore(yt.$elm$,ye.$elm$),yt=T[--Ke],Ft=te[++Ce];else{for(Ue=-1,Qe=we;Qe<=Ke;++Qe)if(T[Qe]&&null!==T[Qe].$key$&&T[Qe].$key$===Ft.$key$){Ue=Qe;break}Ue>=0?(Pn=T[Ue],Pn.$tag$!==Ft.$tag$?fr=Xn(T&&T[Ce],H,Ue,A):(Ln(Pn,Ft),T[Ue]=void 0,fr=Pn.$elm$),Ft=te[++Ce]):(fr=Xn(T&&T[Ce],H,Ce,A),Ft=te[++Ce]),fr&>(ye.$elm$).insertBefore(fr,Pt(ye.$elm$))}we>Ke?ar(A,null==te[_t+1]?null:te[_t+1].$elm$,H,te,Ce,_t):Ce>_t&&gr(T,we,Ke)})(H,te,T,we):null!==we?(null!==A.$text$&&(H.textContent=""),ar(H,null,T,we,0,we.length-1)):null!==te&&gr(te,0,te.length-1),Z&&"svg"===Ce&&(Z=!1)):(Qe=H["s-cr"])?Qe.parentNode.textContent=Ue:A.$text$!==Ue&&(H.data=Ue)},on=A=>{const T=A.childNodes;let H,te,we,Ce,Ue,Qe;for(te=0,we=T.length;te{let T,H,te,we,Ce,Ue,Qe=0;const Ke=A.childNodes,ye=Ke.length;for(;Qe=0;Ue--)H=te[Ue],!H["s-cn"]&&!H["s-nr"]&&H["s-hn"]!==T["s-hn"]&&(xn(H,we)?(Ce=Zt.find(yt=>yt.$nodeToRelocate$===H),x=!0,H["s-sn"]=H["s-sn"]||we,Ce?Ce.$slotRefNode$=T:Zt.push({$slotRefNode$:T,$nodeToRelocate$:H}),H["s-sr"]&&Zt.map(yt=>{xn(yt.$nodeToRelocate$,H["s-sn"])&&(Ce=Zt.find(_t=>_t.$nodeToRelocate$===H),Ce&&!yt.$slotRefNode$&&(yt.$slotRefNode$=Ce.$slotRefNode$))})):Zt.some(yt=>yt.$nodeToRelocate$===H)||Zt.push({$nodeToRelocate$:H}));1===T.nodeType&&lr(T)}},xn=(A,T)=>1===A.nodeType?null===A.getAttribute("slot")&&""===T||A.getAttribute("slot")===T:A["s-sn"]===T||""===T,yr=A=>{A.$attrs$&&A.$attrs$.ref&&A.$attrs$.ref(null),A.$children$&&A.$children$.map(yr)},cr=(A,T)=>{T&&!A.$onRenderResolve$&&T["s-p"]&&T["s-p"].push(new Promise(H=>A.$onRenderResolve$=H))},Ht=(A,T)=>{if(A.$flags$|=16,!(4&A.$flags$))return cr(A,A.$ancestorComponent$),Pe(()=>Cr(A,T));A.$flags$|=512},Cr=(A,T)=>{const te=A.$lazyInstance$;let we;return T&&(A.$flags$|=256,A.$queuedListeners$&&(A.$queuedListeners$.map(([Ce,Ue])=>Tn(te,Ce,Ue)),A.$queuedListeners$=void 0),we=Tn(te,"componentWillLoad")),we=tn(we,()=>Tn(te,"componentWillRender")),tn(we,()=>er(A,te,T))},tn=(A,T)=>Wn(A)?A.then(T):T(),Wn=A=>A instanceof Promise||A&&A.then&&"function"==typeof A.then,er=function(){var A=(0,c.Z)(function*(T,H,te){var we;const Ce=T.$hostElement$,Qe=Ce["s-rc"];te&&(A=>{const T=A.$cmpMeta$,H=A.$hostElement$,te=T.$flags$,Ce=ht(H.shadowRoot?H.shadowRoot:H.getRootNode(),T,A.$modeName$);10&te&&(H["s-sc"]=Ce,H.classList.add(Ce+"-h"),2&te&&H.classList.add(Ce+"-s"))})(T);ur(T,H,Ce,te),Qe&&(Qe.map(ye=>ye()),Ce["s-rc"]=void 0);{const ye=null!==(we=Ce["s-p"])&&void 0!==we?we:[],yt=()=>Sr(T);0===ye.length?yt():(Promise.all(ye).then(yt),T.$flags$|=4,ye.length=0)}});return function(H,te,we){return A.apply(this,arguments)}}(),ur=(A,T,H,te)=>{try{T=T.render&&T.render(),A.$flags$&=-17,A.$flags$|=2,((A,T,H=!1)=>{const te=A.$hostElement$,we=A.$cmpMeta$,Ce=A.$vnode$||ae(null,null),Ue=(A=>A&&A.$tag$===me)(T)?T:He(null,null,T);if(J=te.tagName,we.$attrsToReflect$&&(Ue.$attrs$=Ue.$attrs$||{},we.$attrsToReflect$.map(([Qe,Ke])=>Ue.$attrs$[Ke]=te[Qe])),H&&Ue.$attrs$)for(const Qe of Object.keys(Ue.$attrs$))te.hasAttribute(Qe)&&!["key","ref","style","class"].includes(Qe)&&(Ue.$attrs$[Qe]=te[Qe]);if(Ue.$tag$=null,Ue.$flags$|=4,A.$vnode$=Ue,Ue.$elm$=Ce.$elm$=te.shadowRoot||te,U=te["s-sc"],$=te["s-cr"],O=0!=(1&we.$flags$),x=!1,Ln(Ce,Ue),Gt.$flags$|=1,V){lr(Ue.$elm$);let Qe,Ke,ye,yt,_t,Ft,St=0;for(;St{const H=A.$hostElement$,we=A.$lazyInstance$,Ce=A.$ancestorComponent$;Tn(we,"componentDidRender"),64&A.$flags$?Tn(we,"componentDidUpdate"):(A.$flags$|=64,dr(H),Tn(we,"componentDidLoad"),A.$onReadyResolve$(H),Ce||or()),A.$onInstanceResolve$(H),A.$onRenderResolve$&&(A.$onRenderResolve$(),A.$onRenderResolve$=void 0),512&A.$flags$&&Te(()=>Ht(A,!1)),A.$flags$&=-517},Hn=A=>{{const T=Qt(A),H=T.$hostElement$.isConnected;return H&&2==(18&T.$flags$)&&Ht(T,!1),H}},or=A=>{dr(mn.documentElement),Te(()=>Ye(bn,"appload",{detail:{namespace:"ionic"}}))},Tn=(A,T,H)=>{if(A&&A[T])try{return A[T](H)}catch(te){Jn(te)}},dr=A=>A.classList.add("hydrated"),_n=(A,T,H)=>{if(T.$members$){A.watchers&&(T.$watchers$=A.watchers);const te=Object.entries(T.$members$),we=A.prototype;if(te.map(([Ce,[Ue]])=>{31&Ue||2&H&&32&Ue?Object.defineProperty(we,Ce,{get(){return((A,T)=>Qt(this).$instanceValues$.get(T))(0,Ce)},set(Qe){((A,T,H,te)=>{const we=Qt(A),Ce=we.$hostElement$,Ue=we.$instanceValues$.get(T),Qe=we.$flags$,Ke=we.$lazyInstance$;H=((A,T)=>null==A||Fe(A)?A:4&T?"false"!==A&&(""===A||!!A):2&T?parseFloat(A):1&T?String(A):A)(H,te.$members$[T][0]);const ye=Number.isNaN(Ue)&&Number.isNaN(H);if((!(8&Qe)||void 0===Ue)&&H!==Ue&&!ye&&(we.$instanceValues$.set(T,H),Ke)){if(te.$watchers$&&128&Qe){const _t=te.$watchers$[T];_t&&_t.map(Ft=>{try{Ke[Ft](H,Ue,T)}catch(St){Jn(St,Ce)}})}2==(18&Qe)&&Ht(we,!1)}})(this,Ce,Qe,T)},configurable:!0,enumerable:!0}):1&H&&64&Ue&&Object.defineProperty(we,Ce,{value(...Qe){const Ke=Qt(this);return Ke.$onInstancePromise$.then(()=>Ke.$lazyInstance$[Ce](...Qe))}})}),1&H){const Ce=new Map;we.attributeChangedCallback=function(Ue,Qe,Ke){Gt.jmp(()=>{const ye=Ce.get(Ue);if(this.hasOwnProperty(ye))Ke=this[ye],delete this[ye];else if(we.hasOwnProperty(ye)&&"number"==typeof this[ye]&&this[ye]==Ke)return;this[ye]=(null!==Ke||"boolean"!=typeof this[ye])&&Ke})},A.observedAttributes=te.filter(([Ue,Qe])=>15&Qe[0]).map(([Ue,Qe])=>{const Ke=Qe[1]||Ue;return Ce.set(Ke,Ue),512&Qe[0]&&T.$attrsToReflect$.push([Ue,Ke]),Ke})}}return A},$n=function(){var A=(0,c.Z)(function*(T,H,te,we,Ce){if(!(32&H.$flags$)){H.$flags$|=32;{if((Ce=Un(te)).then){const ye=()=>{};Ce=yield Ce,ye()}Ce.isProxied||(te.$watchers$=Ce.watchers,_n(Ce,te,2),Ce.isProxied=!0);const Ke=()=>{};H.$flags$|=8;try{new Ce(H)}catch(ye){Jn(ye)}H.$flags$&=-9,H.$flags$|=128,Ke(),en(H.$lazyInstance$)}if(Ce.style){let Ke=Ce.style;"string"!=typeof Ke&&(Ke=Ke[H.$modeName$=(A=>un.map(T=>T(A)).find(T=>!!T))(T)]);const ye=It(te,H.$modeName$);if(!yn.has(ye)){const yt=()=>{};at(ye,Ke,!!(1&te.$flags$)),yt()}}}const Ue=H.$ancestorComponent$,Qe=()=>Ht(H,!0);Ue&&Ue["s-rc"]?Ue["s-rc"].push(Qe):Qe()});return function(H,te,we,Ce,Ue){return A.apply(this,arguments)}}(),en=A=>{Tn(A,"connectedCallback")},Oe=A=>{const T=A["s-cr"]=mn.createComment("");T["s-cn"]=!0,A.insertBefore(T,A.firstChild)},pe=A=>{Tn(A,"disconnectedCallback")},Ge=function(){var A=(0,c.Z)(function*(T){if(!(1&Gt.$flags$)){const H=Qt(T);H.$rmListeners$&&(H.$rmListeners$.map(te=>te()),H.$rmListeners$=void 0),H?.$lazyInstance$?pe(H.$lazyInstance$):H?.$onReadyPromise$&&H.$onReadyPromise$.then(()=>pe(H.$lazyInstance$))}});return function(H){return A.apply(this,arguments)}}(),ot=(A,T={})=>{var H;const we=[],Ce=T.exclude||[],Ue=bn.customElements,Qe=mn.head,Ke=Qe.querySelector("meta[charset]"),ye=mn.createElement("style"),yt=[],_t=mn.querySelectorAll(`[${Le}]`);let Ft,St=!0,fr=0;for(Object.assign(Gt,T),Gt.$resourcesUrl$=new URL(T.resourcesUrl||"./",mn.baseURI).href,Gt.$flags$|=2;fr<_t.length;fr++)at(_t[fr].getAttribute(Le),bt(_t[fr].innerHTML),!0);A.map(Pn=>{Pn[1].map(tr=>{const Kn={$flags$:tr[0],$tagName$:tr[1],$members$:tr[2],$listeners$:tr[3]};Kn.$members$=tr[2],Kn.$listeners$=tr[3],Kn.$attrsToReflect$=[],Kn.$watchers$={};const An=Kn.$tagName$,Yr=class extends HTMLElement{constructor(Cn){super(Cn),mr(Cn=this,Kn),1&Kn.$flags$&&Cn.attachShadow({mode:"open",delegatesFocus:!!(16&Kn.$flags$)})}connectedCallback(){Ft&&(clearTimeout(Ft),Ft=null),St?yt.push(this):Gt.jmp(()=>(A=>{if(!(1&Gt.$flags$)){const T=Qt(A),H=T.$cmpMeta$,te=()=>{};if(1&T.$flags$)vt(A,T,H.$listeners$),T?.$lazyInstance$?en(T.$lazyInstance$):T?.$onReadyPromise$&&T.$onReadyPromise$.then(()=>en(T.$lazyInstance$));else{let we;if(T.$flags$|=1,we=A.getAttribute(_e),we){if(1&H.$flags$){const Ce=ht(A.shadowRoot,H,A.getAttribute("s-mode"));A.classList.remove(Ce+"-h",Ce+"-s")}((A,T,H,te)=>{const Ce=A.shadowRoot,Ue=[],Ke=Ce?[]:null,ye=te.$vnode$=ae(T,null);Gt.$orgLocNodes$||j(mn.body,Gt.$orgLocNodes$=new Map),A[_e]=H,A.removeAttribute(_e),L(ye,Ue,[],Ke,A,A,H),Ue.map(yt=>{const _t=yt.$hostId$+"."+yt.$nodeId$,Ft=Gt.$orgLocNodes$.get(_t),St=yt.$elm$;Ft&&Zn&&""===Ft["s-en"]&&Ft.parentNode.insertBefore(St,Ft.nextSibling),Ce||(St["s-hn"]=T,Ft&&(St["s-ol"]=Ft,St["s-ol"]["s-nr"]=St)),Gt.$orgLocNodes$.delete(_t)}),Ce&&Ke.map(yt=>{yt&&Ce.appendChild(yt)})})(A,H.$tagName$,we,T)}we||12&H.$flags$&&Oe(A);{let Ce=A;for(;Ce=Ce.parentNode||Ce.host;)if(1===Ce.nodeType&&Ce.hasAttribute("s-id")&&Ce["s-p"]||Ce["s-p"]){cr(T,T.$ancestorComponent$=Ce);break}}H.$members$&&Object.entries(H.$members$).map(([Ce,[Ue]])=>{if(31&Ue&&A.hasOwnProperty(Ce)){const Qe=A[Ce];delete A[Ce],A[Ce]=Qe}}),$n(A,T,H)}te()}})(this))}disconnectedCallback(){Gt.jmp(()=>Ge(this))}componentOnReady(){return Qt(this).$onReadyPromise$}};Kn.$lazyBundleId$=Pn[0],!Ce.includes(An)&&!Ue.get(An)&&(we.push(An),Ue.define(An,_n(Yr,Kn,1)))})});{ye.innerHTML=we+"{visibility:hidden}.hydrated{visibility:inherit}",ye.setAttribute("data-styles","");const Pn=null!==(H=Gt.$nonce$)&&void 0!==H?H:Ae(mn);null!=Pn&&ye.setAttribute("nonce",Pn),Qe.insertBefore(ye,Ke?Ke.nextSibling:Qe.firstChild)}St=!1,yt.length?yt.map(Pn=>Pn.connectedCallback()):Gt.jmp(()=>Ft=setTimeout(or,30))},vt=(A,T,H,te)=>{H&&H.map(([we,Ce,Ue])=>{const Qe=cn(A,we),Ke=zt(T,Ue),ye=wn(we);Gt.ael(Qe,Ce,Ke,ye),(T.$rmListeners$=T.$rmListeners$||[]).push(()=>Gt.rel(Qe,Ce,Ke,ye))})},zt=(A,T)=>H=>{try{256&A.$flags$?A.$lazyInstance$[T](H):(A.$queuedListeners$=A.$queuedListeners$||[]).push([T,H])}catch(te){Jn(te)}},cn=(A,T)=>4&T?mn:8&T?bn:16&T?mn.body:A,wn=A=>0!=(2&A),jn=new WeakMap,Qt=A=>jn.get(A),Mn=(A,T)=>jn.set(T.$lazyInstance$=A,T),mr=(A,T)=>{const H={$flags$:0,$hostElement$:A,$cmpMeta$:T,$instanceValues$:new Map};return H.$onInstancePromise$=new Promise(te=>H.$onInstanceResolve$=te),H.$onReadyPromise$=new Promise(te=>H.$onReadyResolve$=te),A["s-p"]=[],A["s-rc"]=[],vt(A,H,T.$listeners$),jn.set(A,H)},Tr=(A,T)=>T in A,Jn=(A,T)=>(0,console.error)(A,T),Yt=new Map,Un=(A,T,H)=>{const te=A.$tagName$.replace(/-/g,"_"),we=A.$lazyBundleId$,Ce=Yt.get(we);return Ce?Ce[te]:b(863)(`./${we}.entry.js`).then(Ue=>(Yt.set(we,Ue),Ue[te]),Jn)},yn=new Map,un=[],bn=typeof window<"u"?window:{},mn=bn.document||{head:{}},Gt={$flags$:0,$resourcesUrl$:"",jmp:A=>A(),raf:A=>requestAnimationFrame(A),ael:(A,T,H,te)=>A.addEventListener(T,H,te),rel:(A,T,H,te)=>A.removeEventListener(T,H,te),ce:(A,T)=>new CustomEvent(A,T)},On=A=>{Object.assign(Gt,A)},Zn=!0,Nt=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),hn=[],Vn=[],Q=(A,T)=>H=>{A.push(H),se||(se=!0,T&&4&Gt.$flags$?Te(fe):Gt.raf(fe))},Me=A=>{for(let T=0;T{Me(hn),Me(Vn),(se=hn.length>0)&&Gt.raf(fe)},Te=A=>Promise.resolve(void 0).then(A),Be=Q(hn,!1),Pe=Q(Vn,!0)},6604:(ct,Ie,b)=>{"use strict";b.d(Ie,{m:()=>G});var c=b(5861),n=b(245),U=b(2674),$=b(7263),J=b(2438);const O=ee=>(0,J.c)().duration(ee?400:300),x=ee=>{let ce,X;const de=ee.width+8,ie=(0,J.c)(),K=(0,J.c)();ee.isEndSide?(ce=de+"px",X="0px"):(ce=-de+"px",X="0px"),ie.addElement(ee.menuInnerEl).fromTo("transform",`translateX(${ce})`,`translateX(${X})`);const _e="ios"===(0,$.b)(ee),Le=_e?.2:.25;return K.addElement(ee.backdropEl).fromTo("opacity",.01,Le),O(_e).addAnimation([ie,K])},V=ee=>{let ce,X;const de=(0,$.b)(ee),ie=ee.width;ee.isEndSide?(ce=-ie+"px",X=ie+"px"):(ce=ie+"px",X=-ie+"px");const K=(0,J.c)().addElement(ee.menuInnerEl).fromTo("transform",`translateX(${X})`,"translateX(0px)"),z=(0,J.c)().addElement(ee.contentEl).fromTo("transform","translateX(0px)",`translateX(${ce})`),_e=(0,J.c)().addElement(ee.backdropEl).fromTo("opacity",.01,.32);return O("ios"===de).addAnimation([K,z,_e])},Z=ee=>{const ce=(0,$.b)(ee),X=ee.width*(ee.isEndSide?-1:1)+"px",de=(0,J.c)().addElement(ee.contentEl).fromTo("transform","translateX(0px)",`translateX(${X})`);return O("ios"===ce).addAnimation(de)},G=(()=>{const ee=new Map,ce=[],X=function(){var N=(0,c.Z)(function*(I){const L=yield De(I);return!!L&&L.open()});return function(L){return N.apply(this,arguments)}}(),de=function(){var N=(0,c.Z)(function*(I){const L=yield void 0!==I?De(I):ge();return void 0!==L&&L.close()});return function(L){return N.apply(this,arguments)}}(),ie=function(){var N=(0,c.Z)(function*(I){const L=yield De(I);return!!L&&L.toggle()});return function(L){return N.apply(this,arguments)}}(),K=function(){var N=(0,c.Z)(function*(I,L){const j=yield De(L);return j&&(j.disabled=!I),j});return function(L,j){return N.apply(this,arguments)}}(),z=function(){var N=(0,c.Z)(function*(I,L){const j=yield De(L);return j&&(j.swipeGesture=I),j});return function(L,j){return N.apply(this,arguments)}}(),_e=function(){var N=(0,c.Z)(function*(I){if(null!=I){const L=yield De(I);return void 0!==L&&L.isOpen()}return void 0!==(yield ge())});return function(L){return N.apply(this,arguments)}}(),Le=function(){var N=(0,c.Z)(function*(I){const L=yield De(I);return!!L&&!L.disabled});return function(L){return N.apply(this,arguments)}}(),De=function(){var N=(0,c.Z)(function*(I){return yield he(),"start"===I||"end"===I?tt(oe=>oe.side===I&&!oe.disabled)||tt(oe=>oe.side===I):null!=I?tt(j=>j.menuId===I):tt(j=>!j.disabled)||(ce.length>0?ce[0].el:void 0)});return function(L){return N.apply(this,arguments)}}(),ge=function(){var N=(0,c.Z)(function*(){return yield he(),ae()});return function(){return N.apply(this,arguments)}}(),xe=function(){var N=(0,c.Z)(function*(){return yield he(),me()});return function(){return N.apply(this,arguments)}}(),$e=function(){var N=(0,c.Z)(function*(){return yield he(),Xe()});return function(){return N.apply(this,arguments)}}(),ne=(N,I)=>{ee.set(N,I)},Fe=N=>{const I=N.side;ce.filter(L=>L.side===I&&L!==N).forEach(L=>L.disabled=!0)},Ae=function(){var N=(0,c.Z)(function*(I,L,j){if(Xe())return!1;if(L){const oe=yield ge();oe&&I.el!==oe&&(yield oe.setOpen(!1,!1))}return I._setOpen(L,j)});return function(L,j,oe){return N.apply(this,arguments)}}(),ae=()=>tt(N=>N._isOpen),me=()=>ce.map(N=>N.el),Xe=()=>ce.some(N=>N.isAnimating),tt=N=>{const I=ce.find(N);if(void 0!==I)return I.el},he=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(N=>new Promise(I=>(0,U.c)(N,I))));return ne("reveal",Z),ne("push",V),ne("overlay",x),typeof document<"u"&&document.addEventListener("ionBackButton",N=>{const I=ae();I&&N.detail.register(n.MENU_BACK_BUTTON_PRIORITY,()=>I.close())}),{registerAnimation:ne,get:De,getMenus:xe,getOpen:ge,isEnabled:Le,swipeGesture:z,isAnimating:$e,isOpen:_e,enable:K,toggle:ie,close:de,open:X,_getOpenSync:ae,_createAnimation:(N,I)=>{const L=ee.get(N);if(!L)throw new Error("animation not registered");return L(I)},_register:N=>{ce.indexOf(N)<0&&(N.disabled||Fe(N),ce.push(N))},_unregister:N=>{const I=ce.indexOf(N);I>-1&&ce.splice(I,1)},_setOpen:Ae,_setActiveMenu:Fe}})()},9531:(ct,Ie,b)=>{"use strict";b.r(Ie),b.d(Ie,{GESTURE_CONTROLLER:()=>c.G,createGesture:()=>Z});var c=b(6412);const n=(ce,X,de,ie)=>{const K=U(ce)?{capture:!!ie.capture,passive:!!ie.passive}:!!ie.capture;let z,_e;return ce.__zone_symbol__addEventListener?(z="__zone_symbol__addEventListener",_e="__zone_symbol__removeEventListener"):(z="addEventListener",_e="removeEventListener"),ce[z](X,de,K),()=>{ce[_e](X,de,K)}},U=ce=>{if(void 0===$)try{const X=Object.defineProperty({},"passive",{get:()=>{$=!0}});ce.addEventListener("optsTest",()=>{},X)}catch{$=!1}return!!$};let $;const x=ce=>ce instanceof Document?ce:ce.ownerDocument,Z=ce=>{let X=!1,de=!1,ie=!0,K=!1;const z=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},ce),_e=z.canStart,Le=z.onWillStart,De=z.onStart,ge=z.onEnd,xe=z.notCaptured,$e=z.onMove,ne=z.threshold,be=z.passive,je=z.blurOnStart,Fe={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},Ae=((ce,X,de)=>{const ie=de*(Math.PI/180),K="x"===ce,z=Math.cos(ie),_e=X*X;let Le=0,De=0,ge=!1,xe=0;return{start($e,ne){Le=$e,De=ne,xe=0,ge=!0},detect($e,ne){if(!ge)return!1;const be=$e-Le,je=ne-De,Fe=be*be+je*je;if(Fe<_e)return!1;const Ae=Math.sqrt(Fe),He=(K?be:je)/Ae;return xe=He>z?1:He<-z?-1:0,ge=!1,!0},isGesture:()=>0!==xe,getDirection:()=>xe}})(z.direction,z.threshold,z.maxAngle),He=c.G.createGesture({name:ce.gestureName,priority:ce.gesturePriority,disableScroll:ce.disableScroll}),Xe=()=>{X&&(K=!1,$e&&$e(Fe))},tt=()=>!!He.capture()&&(X=!0,ie=!1,Fe.startX=Fe.currentX,Fe.startY=Fe.currentY,Fe.startTime=Fe.currentTime,Le?Le(Fe).then(N):N(),!0),N=()=>{je&&(()=>{if(typeof document<"u"){const ue=document.activeElement;ue?.blur&&ue.blur()}})(),De&&De(Fe),ie=!0},I=()=>{X=!1,de=!1,K=!1,ie=!0,He.release()},L=ue=>{const ze=X,Je=ie;if(I(),Je){if(se(Fe,ue),ze)return void(ge&&ge(Fe));xe&&xe(Fe)}},j=((ce,X,de,ie,K)=>{let z,_e,Le,De,ge,xe,$e,ne=0;const be=he=>{ne=Date.now()+2e3,X(he)&&(!_e&&de&&(_e=n(ce,"touchmove",de,K)),Le||(Le=n(he.target,"touchend",Fe,K)),De||(De=n(he.target,"touchcancel",Fe,K)))},je=he=>{ne>Date.now()||X(he)&&(!xe&&de&&(xe=n(x(ce),"mousemove",de,K)),$e||($e=n(x(ce),"mouseup",Ae,K)))},Fe=he=>{He(),ie&&ie(he)},Ae=he=>{ae(),ie&&ie(he)},He=()=>{_e&&_e(),Le&&Le(),De&&De(),_e=Le=De=void 0},ae=()=>{xe&&xe(),$e&&$e(),xe=$e=void 0},me=()=>{He(),ae()},Xe=(he=!0)=>{he?(z||(z=n(ce,"touchstart",be,K)),ge||(ge=n(ce,"mousedown",je,K))):(z&&z(),ge&&ge(),z=ge=void 0,me())};return{enable:Xe,stop:me,destroy:()=>{Xe(!1),ie=de=X=void 0}}})(z.el,ue=>{const ze=ee(ue);return!(de||!ie||(G(ue,Fe),Fe.startX=Fe.currentX,Fe.startY=Fe.currentY,Fe.startTime=Fe.currentTime=ze,Fe.velocityX=Fe.velocityY=Fe.deltaX=Fe.deltaY=0,Fe.event=ue,_e&&!1===_e(Fe))||(He.release(),!He.start()))&&(de=!0,0===ne?tt():(Ae.start(Fe.startX,Fe.startY),!0))},ue=>{X?!K&&ie&&(K=!0,se(Fe,ue),requestAnimationFrame(Xe)):(se(Fe,ue),Ae.detect(Fe.currentX,Fe.currentY)&&(!Ae.isGesture()||!tt())&&oe())},L,{capture:!1,passive:be}),oe=()=>{I(),j.stop(),xe&&xe(Fe)};return{enable(ue=!0){ue||(X&&L(void 0),I()),j.enable(ue)},destroy(){He.destroy(),j.destroy()}}},se=(ce,X)=>{if(!X)return;const de=ce.currentX,ie=ce.currentY,K=ce.currentTime;G(X,ce);const z=ce.currentX,_e=ce.currentY,De=(ce.currentTime=ee(X))-K;if(De>0&&De<100){const xe=(_e-ie)/De;ce.velocityX=(z-de)/De*.7+.3*ce.velocityX,ce.velocityY=.7*xe+.3*ce.velocityY}ce.deltaX=z-ce.startX,ce.deltaY=_e-ce.startY,ce.event=X},G=(ce,X)=>{let de=0,ie=0;if(ce){const K=ce.changedTouches;if(K&&K.length>0){const z=K[0];de=z.clientX,ie=z.clientY}else void 0!==ce.pageX&&(de=ce.pageX,ie=ce.pageY)}X.currentX=de,X.currentY=ie},ee=ce=>ce.timeStamp||Date.now()},7263:(ct,Ie,b)=>{"use strict";b.d(Ie,{a:()=>G,b:()=>Xe,c:()=>U,g:()=>se,i:()=>tt});var c=b(1071);class n{constructor(){this.m=new Map}reset(N){this.m=new Map(Object.entries(N))}get(N,I){const L=this.m.get(N);return void 0!==L?L:I}getBoolean(N,I=!1){const L=this.m.get(N);return void 0===L?I:"string"==typeof L?"true"===L:!!L}getNumber(N,I){const L=parseFloat(this.m.get(N));return isNaN(L)?void 0!==I?I:NaN:L}set(N,I){this.m.set(N,I)}}const U=new n,V="ionic:",Z="ionic-persist-config",se=he=>ee(he),G=(he,N)=>("string"==typeof he&&(N=he,he=void 0),se(he).includes(N)),ee=(he=window)=>{if(typeof he>"u")return[];he.Ionic=he.Ionic||{};let N=he.Ionic.platforms;return null==N&&(N=he.Ionic.platforms=ce(he),N.forEach(I=>he.document.documentElement.classList.add(`plt-${I}`))),N},ce=he=>{const N=U.get("platform");return Object.keys(ae).filter(I=>{const L=N?.[I];return"function"==typeof L?L(he):ae[I](he)})},de=he=>!!(Ae(he,/iPad/i)||Ae(he,/Macintosh/i)&&ge(he)),z=he=>Ae(he,/android|sink/i),ge=he=>He(he,"(any-pointer:coarse)"),$e=he=>ne(he)||be(he),ne=he=>!!(he.cordova||he.phonegap||he.PhoneGap),be=he=>!!he.Capacitor?.isNative,Ae=(he,N)=>N.test(he.navigator.userAgent),He=(he,N)=>{var I;return null===(I=he.matchMedia)||void 0===I?void 0:I.call(he,N).matches},ae={ipad:de,iphone:he=>Ae(he,/iPhone/i),ios:he=>Ae(he,/iPhone|iPod/i)||de(he),android:z,phablet:he=>{const N=he.innerWidth,I=he.innerHeight,L=Math.min(N,I),j=Math.max(N,I);return L>390&&L<520&&j>620&&j<800},tablet:he=>{const N=he.innerWidth,I=he.innerHeight,L=Math.min(N,I),j=Math.max(N,I);return de(he)||(he=>z(he)&&!Ae(he,/mobile/i))(he)||L>460&&L<820&&j>780&&j<1400},cordova:ne,capacitor:be,electron:he=>Ae(he,/electron/i),pwa:he=>{var N;return!!(null!==(N=he.matchMedia)&&void 0!==N&&N.call(he,"(display-mode: standalone)").matches||he.navigator.standalone)},mobile:ge,mobileweb:he=>ge(he)&&!$e(he),desktop:he=>!ge(he),hybrid:$e};let me;const Xe=he=>he&&(0,c.g)(he)||me,tt=(he={})=>{if(typeof window>"u")return;const N=window.document,I=window,L=I.Ionic=I.Ionic||{},j={};he._ael&&(j.ael=he._ael),he._rel&&(j.rel=he._rel),he._ce&&(j.ce=he._ce),(0,c.a)(j);const oe=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(he=>{try{const N=he.sessionStorage.getItem(Z);return null!==N?JSON.parse(N):{}}catch{return{}}})(I)),{persistConfig:!1}),L.config),(he=>{const N={};return he.location.search.slice(1).split("&").map(I=>I.split("=")).map(([I,L])=>[decodeURIComponent(I),decodeURIComponent(L)]).filter(([I])=>((he,N)=>he.substr(0,N.length)===N)(I,V)).map(([I,L])=>[I.slice(V.length),L]).forEach(([I,L])=>{N[I]=L}),N})(I)),he);U.reset(oe),U.getBoolean("persistConfig")&&((he,N)=>{try{he.sessionStorage.setItem(Z,JSON.stringify(N))}catch{return}})(I,oe),ee(I),L.config=U,L.mode=me=U.get("mode",N.documentElement.getAttribute("mode")||(G(I,"ios")?"ios":"md")),U.set("mode",me),N.documentElement.setAttribute("mode",me),N.documentElement.classList.add(me),U.getBoolean("_testing")&&U.set("animated",!1);const ue=Je=>{var ft;return null===(ft=Je.tagName)||void 0===ft?void 0:ft.startsWith("ION-")},ze=Je=>["ios","md"].includes(Je);(0,c.c)(Je=>{for(;Je;){const ft=Je.mode||Je.getAttribute("mode");if(ft){if(ze(ft))return ft;ue(Je)&&console.warn('Invalid ionic mode: "'+ft+'", expected: "ios" or "md"')}Je=Je.parentElement}return me})}},8962:(ct,Ie,b)=>{"use strict";b.r(Ie),b.d(Ie,{iosTransitionAnimation:()=>ce,shadow:()=>x});var c=b(2438),n=b(4309);b(7693),b(1071);const O=X=>document.querySelector(`${X}.ion-cloned-element`),x=X=>X.shadowRoot||X,V=X=>{const de="ION-TABS"===X.tagName?X:X.querySelector("ion-tabs"),ie="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=de){const K=de.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=K?K.querySelector(ie):null}return X.querySelector(ie)},Z=(X,de)=>{const ie="ION-TABS"===X.tagName?X:X.querySelector("ion-tabs");let K=[];if(null!=ie){const z=ie.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=z&&(K=z.querySelectorAll("ion-buttons"))}else K=X.querySelectorAll("ion-buttons");for(const z of K){const _e=z.closest("ion-header"),Le=_e&&!_e.classList.contains("header-collapse-condense-inactive"),De=z.querySelector("ion-back-button"),ge=z.classList.contains("buttons-collapse");if(null!==De&&("start"===z.slot||""===z.slot)&&(ge&&Le&&de||!ge))return De}return null},G=(X,de,ie,K,z,_e)=>{const Le=de?`calc(100% - ${_e.right+4}px)`:_e.left-4+"px",De=de?"7px":"-7px",ge=de?"-4px":"4px",xe=de?"-4px":"4px",$e=de?"right":"left",ne=de?"left":"right",Fe=ie?[{offset:0,opacity:1,transform:`translate3d(${ge}, ${_e.top-46}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${De}, ${z.top-40}px, 0) scale(2.1)`}]:[{offset:0,opacity:0,transform:`translate3d(${De}, ${z.top-40}px, 0) scale(2.1)`},{offset:1,opacity:1,transform:`translate3d(${ge}, ${_e.top-46}px, 0) scale(1)`}],ae=ie?[{offset:0,opacity:1,transform:`translate3d(${xe}, ${_e.top-46}px, 0) scale(1)`},{offset:.2,opacity:0,transform:`translate3d(${xe}, ${_e.top-41}px, 0) scale(0.6)`},{offset:1,opacity:0,transform:`translate3d(${xe}, ${_e.top-41}px, 0) scale(0.6)`}]:[{offset:0,opacity:0,transform:`translate3d(${xe}, ${_e.top-41}px, 0) scale(0.6)`},{offset:1,opacity:1,transform:`translate3d(${xe}, ${_e.top-46}px, 0) scale(1)`}],me=(0,c.c)(),Xe=(0,c.c)(),tt=O("ion-back-button"),he=x(tt).querySelector(".button-text"),N=x(tt).querySelector("ion-icon");tt.text=K.text,tt.mode=K.mode,tt.icon=K.icon,tt.color=K.color,tt.disabled=K.disabled,tt.style.setProperty("display","block"),tt.style.setProperty("position","fixed"),Xe.addElement(N),me.addElement(he),me.beforeStyles({"transform-origin":`${$e} center`}).beforeAddWrite(()=>{K.style.setProperty("display","none"),tt.style.setProperty($e,Le)}).afterAddWrite(()=>{K.style.setProperty("display",""),tt.style.setProperty("display","none"),tt.style.removeProperty($e)}).keyframes(Fe),Xe.beforeStyles({"transform-origin":`${ne} center`}).keyframes(ae),X.addAnimation([me,Xe])},ee=(X,de,ie,K,z,_e)=>{const Le=de?`calc(100% - ${z.right}px)`:`${z.left}px`,De=de?"-18px":"18px",ge=de?"right":"left",ne=ie?[{offset:0,opacity:0,transform:`translate3d(${De}, ${_e.top-4}px, 0) scale(0.49)`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0, ${z.top-2}px, 0) scale(1)`}]:[{offset:0,opacity:.99,transform:`translate3d(0, ${z.top-2}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${De}, ${_e.top-4}px, 0) scale(0.5)`}],be=O("ion-title"),je=(0,c.c)();be.innerText=K.innerText,be.size=K.size,be.color=K.color,je.addElement(be),je.beforeStyles({"transform-origin":`${ge} center`,height:"46px",display:"",position:"relative",[ge]:Le}).beforeAddWrite(()=>{K.style.setProperty("display","none")}).afterAddWrite(()=>{K.style.setProperty("display",""),be.style.setProperty("display","none")}).keyframes(ne),X.addAnimation(je)},ce=(X,de)=>{var ie;try{const K="cubic-bezier(0.32,0.72,0,1)",z="opacity",_e="transform",Le="0%",ge="rtl"===X.ownerDocument.dir,xe=ge?"-99.5%":"99.5%",$e=ge?"33%":"-33%",ne=de.enteringEl,be=de.leavingEl,je="back"===de.direction,Fe=ne.querySelector(":scope > ion-content"),Ae=ne.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),He=ne.querySelectorAll(":scope > ion-header > ion-toolbar"),ae=(0,c.c)(),me=(0,c.c)();if(ae.addElement(ne).duration((null!==(ie=de.duration)&&void 0!==ie?ie:0)||540).easing(de.easing||K).fill("both").beforeRemoveClass("ion-page-invisible"),be&&null!=X){const N=(0,c.c)();N.addElement(X),ae.addAnimation(N)}if(Fe||0!==He.length||0!==Ae.length?(me.addElement(Fe),me.addElement(Ae)):me.addElement(ne.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),ae.addAnimation(me),je?me.beforeClearStyles([z]).fromTo("transform",`translateX(${$e})`,`translateX(${Le})`).fromTo(z,.8,1):me.beforeClearStyles([z]).fromTo("transform",`translateX(${xe})`,`translateX(${Le})`),Fe){const N=x(Fe).querySelector(".transition-effect");if(N){const I=N.querySelector(".transition-cover"),L=N.querySelector(".transition-shadow"),j=(0,c.c)(),oe=(0,c.c)(),ue=(0,c.c)();j.addElement(N).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),oe.addElement(I).beforeClearStyles([z]).fromTo(z,0,.1),ue.addElement(L).beforeClearStyles([z]).fromTo(z,.03,.7),j.addAnimation([oe,ue]),me.addAnimation([j])}}const Xe=ne.querySelector("ion-header.header-collapse-condense"),{forward:tt,backward:he}=((X,de,ie,K,z)=>{const _e=Z(K,ie),Le=V(z),De=V(K),ge=Z(z,ie),xe=null!==_e&&null!==Le&&!ie,$e=null!==De&&null!==ge&&ie;if(xe){const ne=Le.getBoundingClientRect(),be=_e.getBoundingClientRect();ee(X,de,ie,Le,ne,be),G(X,de,ie,_e,ne,be)}else if($e){const ne=De.getBoundingClientRect(),be=ge.getBoundingClientRect();ee(X,de,ie,De,ne,be),G(X,de,ie,ge,ne,be)}return{forward:xe,backward:$e}})(ae,ge,je,ne,be);if(He.forEach(N=>{const I=(0,c.c)();I.addElement(N),ae.addAnimation(I);const L=(0,c.c)();L.addElement(N.querySelector("ion-title"));const j=(0,c.c)(),oe=Array.from(N.querySelectorAll("ion-buttons,[menuToggle]")),ue=N.closest("ion-header"),ze=ue?.classList.contains("header-collapse-condense-inactive");let Je;Je=oe.filter(je?at=>{const ht=at.classList.contains("buttons-collapse");return ht&&!ze||!ht}:at=>!at.classList.contains("buttons-collapse")),j.addElement(Je);const ft=(0,c.c)();ft.addElement(N.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const Ne=(0,c.c)();Ne.addElement(x(N).querySelector(".toolbar-background"));const Ye=(0,c.c)(),rt=N.querySelector("ion-back-button");if(rt&&Ye.addElement(rt),I.addAnimation([L,j,ft,Ne,Ye]),j.fromTo(z,.01,1),ft.fromTo(z,.01,1),je)ze||L.fromTo("transform",`translateX(${$e})`,`translateX(${Le})`).fromTo(z,.01,1),ft.fromTo("transform",`translateX(${$e})`,`translateX(${Le})`),Ye.fromTo(z,.01,1);else if(Xe||L.fromTo("transform",`translateX(${xe})`,`translateX(${Le})`).fromTo(z,.01,1),ft.fromTo("transform",`translateX(${xe})`,`translateX(${Le})`),Ne.beforeClearStyles([z,"transform"]),ue?.translucent?Ne.fromTo("transform",ge?"translateX(-100%)":"translateX(100%)","translateX(0px)"):Ne.fromTo(z,.01,"var(--opacity)"),tt||Ye.fromTo(z,.01,1),rt&&!tt){const ht=(0,c.c)();ht.addElement(x(rt).querySelector(".button-text")).fromTo("transform",ge?"translateX(-100px)":"translateX(100px)","translateX(0px)"),I.addAnimation(ht)}}),be){const N=(0,c.c)(),I=be.querySelector(":scope > ion-content"),L=be.querySelectorAll(":scope > ion-header > ion-toolbar"),j=be.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(I||0!==L.length||0!==j.length?(N.addElement(I),N.addElement(j)):N.addElement(be.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),ae.addAnimation(N),je){N.beforeClearStyles([z]).fromTo("transform",`translateX(${Le})`,ge?"translateX(-100%)":"translateX(100%)");const oe=(0,n.g)(be);ae.afterAddWrite(()=>{"normal"===ae.getDirection()&&oe.style.setProperty("display","none")})}else N.fromTo("transform",`translateX(${Le})`,`translateX(${$e})`).fromTo(z,1,.8);if(I){const oe=x(I).querySelector(".transition-effect");if(oe){const ue=oe.querySelector(".transition-cover"),ze=oe.querySelector(".transition-shadow"),Je=(0,c.c)(),ft=(0,c.c)(),Ne=(0,c.c)();Je.addElement(oe).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),ft.addElement(ue).beforeClearStyles([z]).fromTo(z,.1,0),Ne.addElement(ze).beforeClearStyles([z]).fromTo(z,.7,.03),Je.addAnimation([ft,Ne]),N.addAnimation([Je])}}L.forEach(oe=>{const ue=(0,c.c)();ue.addElement(oe);const ze=(0,c.c)();ze.addElement(oe.querySelector("ion-title"));const Je=(0,c.c)(),ft=oe.querySelectorAll("ion-buttons,[menuToggle]"),Ne=oe.closest("ion-header"),Ye=Ne?.classList.contains("header-collapse-condense-inactive"),rt=Array.from(ft).filter(Kt=>{const it=Kt.classList.contains("buttons-collapse");return it&&!Ye||!it});Je.addElement(rt);const at=(0,c.c)(),ht=oe.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");ht.length>0&&at.addElement(ht);const Ot=(0,c.c)();Ot.addElement(x(oe).querySelector(".toolbar-background"));const It=(0,c.c)(),bt=oe.querySelector("ion-back-button");if(bt&&It.addElement(bt),ue.addAnimation([ze,Je,at,It,Ot]),ae.addAnimation(ue),It.fromTo(z,.99,0),Je.fromTo(z,.99,0),at.fromTo(z,.99,0),je){if(Ye||ze.fromTo("transform",`translateX(${Le})`,ge?"translateX(-100%)":"translateX(100%)").fromTo(z,.99,0),at.fromTo("transform",`translateX(${Le})`,ge?"translateX(-100%)":"translateX(100%)"),Ot.beforeClearStyles([z,"transform"]),Ne?.translucent?Ot.fromTo("transform","translateX(0px)",ge?"translateX(-100%)":"translateX(100%)"):Ot.fromTo(z,"var(--opacity)",0),bt&&!he){const it=(0,c.c)();it.addElement(x(bt).querySelector(".button-text")).fromTo("transform",`translateX(${Le})`,`translateX(${(ge?-124:124)+"px"})`),ue.addAnimation(it)}}else Ye||ze.fromTo("transform",`translateX(${Le})`,`translateX(${$e})`).fromTo(z,.99,0).afterClearStyles([_e,z]),at.fromTo("transform",`translateX(${Le})`,`translateX(${$e})`).afterClearStyles([_e,z]),It.afterClearStyles([z]),ze.afterClearStyles([z]),Je.afterClearStyles([z])})}return ae}catch(K){throw K}}},7486:(ct,Ie,b)=>{"use strict";b.r(Ie),b.d(Ie,{mdTransitionAnimation:()=>J});var c=b(2438),n=b(4309);b(7693),b(1071);const J=(O,x)=>{var V,Z,se;const G="40px",ce="back"===x.direction,de=x.leavingEl,ie=(0,n.g)(x.enteringEl),K=ie.querySelector("ion-toolbar"),z=(0,c.c)();if(z.addElement(ie).fill("both").beforeRemoveClass("ion-page-invisible"),ce?z.duration((null!==(V=x.duration)&&void 0!==V?V:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):z.duration((null!==(Z=x.duration)&&void 0!==Z?Z:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${G})`,"translateY(0px)").fromTo("opacity",.01,1),K){const _e=(0,c.c)();_e.addElement(K),z.addAnimation(_e)}if(de&&ce){z.duration((null!==(se=x.duration)&&void 0!==se?se:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const _e=(0,c.c)();_e.addElement((0,n.g)(de)).onFinish(Le=>{1===Le&&_e.elements.length>0&&_e.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${G})`).fromTo("opacity",1,0),z.addAnimation(_e)}return z}},1701:(ct,Ie,b)=>{"use strict";b.d(Ie,{B:()=>ue,G:()=>ze,a:()=>G,b:()=>ee,c:()=>ie,d:()=>Je,e:()=>ft,f:()=>ae,g:()=>Xe,h:()=>N,i:()=>L,j:()=>z,k:()=>_e,m:()=>X,n:()=>Z,o:()=>ge,q:()=>Ae,s:()=>oe,t:()=>K});var c=b(5861),n=b(7263),U=b(4519),$=b(245),J=b(2674),O=b(3357);let x=0,V=0;const Z=new WeakMap,se=Ne=>({create:Ye=>Le(Ne,Ye),dismiss:(Ye,rt,at)=>je(document,Ye,rt,Ne,at),getTop:()=>(0,c.Z)(function*(){return Ae(document,Ne)})()}),G=se("ion-alert"),ee=se("ion-action-sheet"),X=se("ion-modal"),ie=se("ion-popover"),K=se("ion-toast"),z=Ne=>{typeof document<"u"&&be(document);const Ye=x++;Ne.overlayIndex=Ye},_e=Ne=>(Ne.hasAttribute("id")||(Ne.id="ion-overlay-"+ ++V),Ne.id),Le=(Ne,Ye)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(Ne).then(()=>{const rt=document.createElement(Ne);return rt.classList.add("overlay-hidden"),Object.assign(rt,Object.assign(Object.assign({},Ye),{hasController:!0})),tt(document).appendChild(rt),new Promise(at=>(0,J.c)(rt,at))}):Promise.resolve(),De='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',ge=(Ne,Ye)=>{let rt=Ne.querySelector(De);const at=rt?.shadowRoot;at&&(rt=at.querySelector(De)||rt),rt?(0,J.f)(rt):Ye.focus()},$e=(Ne,Ye)=>{const rt=Array.from(Ne.querySelectorAll(De));let at=rt.length>0?rt[rt.length-1]:null;const ht=at?.shadowRoot;ht&&(at=ht.querySelector(De)||at),at?at.focus():Ye.focus()},be=Ne=>{0===x&&(x=1,Ne.addEventListener("focus",Ye=>{((Ne,Ye)=>{const rt=Ae(Ye,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),at=Ne.target;rt&&at&&!rt.classList.contains("ion-disable-focus-trap")&&(rt.shadowRoot?(()=>{if(rt.contains(at))rt.lastFocus=at;else{const It=rt.lastFocus;ge(rt,rt),It===Ye.activeElement&&$e(rt,rt),rt.lastFocus=Ye.activeElement}})():(()=>{if(rt===at)rt.lastFocus=void 0;else{const It=(0,J.g)(rt);if(!It.contains(at))return;const bt=It.querySelector(".ion-overlay-wrapper");if(!bt)return;if(bt.contains(at)||at===It.querySelector("ion-backdrop"))rt.lastFocus=at;else{const Kt=rt.lastFocus;ge(bt,rt),Kt===Ye.activeElement&&$e(bt,rt),rt.lastFocus=Ye.activeElement}}})())})(Ye,Ne)},!0),Ne.addEventListener("ionBackButton",Ye=>{const rt=Ae(Ne);rt?.backdropDismiss&&Ye.detail.register($.OVERLAY_BACK_BUTTON_PRIORITY,()=>rt.dismiss(void 0,ue))}),Ne.addEventListener("keydown",Ye=>{if("Escape"===Ye.key){const rt=Ae(Ne);rt?.backdropDismiss&&rt.dismiss(void 0,ue)}}))},je=(Ne,Ye,rt,at,ht)=>{const Ot=Ae(Ne,at,ht);return Ot?Ot.dismiss(Ye,rt):Promise.reject("overlay does not exist")},Ae=(Ne,Ye,rt)=>{const at=((Ne,Ye)=>(void 0===Ye&&(Ye="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(Ne.querySelectorAll(Ye)).filter(rt=>rt.overlayIndex>0)))(Ne,Ye).filter(ht=>!(Ne=>Ne.classList.contains("overlay-hidden"))(ht));return void 0===rt?at[at.length-1]:at.find(ht=>ht.id===rt)},He=(Ne=!1)=>{const rt=tt(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");rt&&(Ne?rt.setAttribute("aria-hidden","true"):rt.removeAttribute("aria-hidden"))},ae=function(){var Ne=(0,c.Z)(function*(Ye,rt,at,ht,Ot){var It,bt;if(Ye.presented)return;He(!0),Ye.presented=!0,Ye.willPresent.emit(),null===(It=Ye.willPresentShorthand)||void 0===It||It.emit();const Kt=(0,n.b)(Ye),it=Ye.enterAnimation?Ye.enterAnimation:n.c.get(rt,"ios"===Kt?at:ht);(yield he(Ye,it,Ye.el,Ot))&&(Ye.didPresent.emit(),null===(bt=Ye.didPresentShorthand)||void 0===bt||bt.emit()),"ION-TOAST"!==Ye.el.tagName&&me(Ye.el),Ye.keyboardClose&&(null===document.activeElement||!Ye.el.contains(document.activeElement))&&Ye.el.focus()});return function(rt,at,ht,Ot,It){return Ne.apply(this,arguments)}}(),me=function(){var Ne=(0,c.Z)(function*(Ye){let rt=document.activeElement;if(!rt)return;const at=rt?.shadowRoot;at&&(rt=at.querySelector(De)||rt),yield Ye.onDidDismiss(),rt.focus()});return function(rt){return Ne.apply(this,arguments)}}(),Xe=function(){var Ne=(0,c.Z)(function*(Ye,rt,at,ht,Ot,It,bt){var Kt,it;if(!Ye.presented)return!1;He(!1),Ye.presented=!1;try{Ye.el.style.setProperty("pointer-events","none"),Ye.willDismiss.emit({data:rt,role:at}),null===(Kt=Ye.willDismissShorthand)||void 0===Kt||Kt.emit({data:rt,role:at});const Tt=(0,n.b)(Ye),gn=Ye.leaveAnimation?Ye.leaveAnimation:n.c.get(ht,"ios"===Tt?Ot:It);at!==ze&&(yield he(Ye,gn,Ye.el,bt)),Ye.didDismiss.emit({data:rt,role:at}),null===(it=Ye.didDismissShorthand)||void 0===it||it.emit({data:rt,role:at}),Z.delete(Ye),Ye.el.classList.add("overlay-hidden"),Ye.el.style.removeProperty("pointer-events"),void 0!==Ye.el.lastFocus&&(Ye.el.lastFocus=void 0)}catch(Tt){console.error(Tt)}return Ye.el.remove(),!0});return function(rt,at,ht,Ot,It,bt,Kt){return Ne.apply(this,arguments)}}(),tt=Ne=>Ne.querySelector("ion-app")||Ne.body,he=function(){var Ne=(0,c.Z)(function*(Ye,rt,at,ht){at.classList.remove("overlay-hidden");const It=rt(Ye.el,ht);(!Ye.animated||!n.c.getBoolean("animated",!0))&&It.duration(0),Ye.keyboardClose&&It.beforeAddWrite(()=>{const Kt=at.ownerDocument.activeElement;Kt?.matches("input,ion-input, ion-textarea")&&Kt.blur()});const bt=Z.get(Ye)||[];return Z.set(Ye,[...bt,It]),yield It.play(),!0});return function(rt,at,ht,Ot){return Ne.apply(this,arguments)}}(),N=(Ne,Ye)=>{let rt;const at=new Promise(ht=>rt=ht);return I(Ne,Ye,ht=>{rt(ht.detail)}),at},I=(Ne,Ye,rt)=>{const at=ht=>{(0,J.b)(Ne,Ye,at),rt(ht)};(0,J.a)(Ne,Ye,at)},L=Ne=>"cancel"===Ne||Ne===ue,j=Ne=>Ne(),oe=(Ne,Ye)=>{if("function"==typeof Ne)return n.c.get("_zoneGate",j)(()=>{try{return Ne(Ye)}catch(at){throw at}})},ue="backdrop",ze="gesture",Je=Ne=>{let rt,Ye=!1;const at=(0,U.C)(),ht=(bt=!1)=>{if(rt&&!bt)return{delegate:rt,inline:Ye};const{el:Kt,hasController:it,delegate:Tt}=Ne;return Ye=null!==Kt.parentNode&&!it,rt=Ye?Tt||at:Tt,{inline:Ye,delegate:rt}};return{attachViewToDom:function(){var bt=(0,c.Z)(function*(Kt){const{delegate:it}=ht(!0);if(it)return yield it.attachViewToDom(Ne.el,Kt);const{hasController:Tt}=Ne;if(Tt&&void 0!==Kt)throw new Error("framework delegate is missing");return null});return function(it){return bt.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:bt}=ht();bt&&void 0!==Ne.el&&bt.removeViewFromDom(Ne.el.parentElement,Ne.el)}}},ft=()=>{let Ne;const Ye=()=>{Ne&&(Ne(),Ne=void 0)};return{addClickListener:(at,ht)=>{Ye();const Ot=void 0!==ht?document.getElementById(ht):null;Ot?Ne=((bt,Kt)=>{const it=()=>{Kt.present()};return bt.addEventListener("click",it),()=>{bt.removeEventListener("click",it)}})(Ot,at):(0,O.p)(`A trigger element with the ID "${ht}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,at)},removeClickListener:Ye}}},4158:(ct,Ie,b)=>{"use strict";function O(N,I){return function(L,j){I(L,j,N)}}b.d(Ie,{Fw:()=>he,Ke:()=>Ae});var ne=b(4650),be=b(6895),je=b(4424),Fe=b(5021);let Ae=(()=>{let N=class{constructor(L,j){this.platformId=j,this._driver=null,this._dbPromise=new Promise((oe,ue)=>{if((0,be.PM)(this.platformId)){const Ne=function Xe(){const N=()=>{};return{getItem:N,setItem:N,removeItem:N,clear:N,length:()=>0,keys:()=>[],iterate:N}}();return void oe(Ne)}let ze;const ft=Object.assign({name:"_ionicstorage",storeName:"_ionickv",dbKey:"_ionickey",driverOrder:["sqlite","indexeddb","websql","localstorage"]},L||{});(0,je.defineDriver)(Fe).then(()=>{ze=(0,je.createInstance)(ft)}).then(()=>ze.setDriver(this._getDriverOrder(ft.driverOrder))).then(()=>{this._driver=ze.driver(),oe(ze)}).catch(Ne=>ue(Ne))})}get driver(){return this._driver}ready(){return this._dbPromise}_getDriverOrder(L){return L.map(j=>{switch(j){case"sqlite":return Fe._driver;case"indexeddb":return je.INDEXEDDB;case"websql":return je.WEBSQL;case"localstorage":return je.LOCALSTORAGE}})}get(L){return this._dbPromise.then(j=>j.getItem(L))}set(L,j){return this._dbPromise.then(oe=>oe.setItem(L,j))}remove(L){return this._dbPromise.then(j=>j.removeItem(L))}clear(){return this._dbPromise.then(L=>L.clear())}length(){return this._dbPromise.then(L=>L.length())}keys(){return this._dbPromise.then(L=>L.keys())}forEach(L){return this._dbPromise.then(j=>j.iterate(L))}};return N=function J(N,I,L,j){var ze,oe=arguments.length,ue=oe<3?I:null===j?j=Object.getOwnPropertyDescriptor(I,L):j;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(N,I,L,j);else for(var Je=N.length-1;Je>=0;Je--)(ze=N[Je])&&(ue=(oe<3?ze(ue):oe>3?ze(I,L,ue):ze(I,L))||ue);return oe>3&&ue&&Object.defineProperty(I,L,ue),ue}([O(1,(0,ne.tBr)(ne.Lbi))],N),N})();const ae=new ne.OlP("STORAGE_CONFIG_TOKEN");function me(N,I){return new Ae(N||{name:"_ionicstorage",storeName:"_ionickv",dbKey:"_ionickey",driverOrder:["sqlite","indexeddb","websql","localstorage"]},I)}var tt;let he=tt=class{static forRoot(I=null){return{ngModule:tt,providers:[{provide:ae,useValue:I},{provide:Ae,useFactory:me,deps:[ae,ne.Lbi]}]}}};he.\u0275fac=function(I){return new(I||he)},he.\u0275mod=ne.oAB({type:he}),he.\u0275inj=ne.cJS({})},227:(ct,Ie,b)=>{"use strict";b.d(Ie,{de:()=>ee,ew:()=>Z,Ei:()=>se,VL:()=>G});var c=b(4650),n=b(4004),U=b(5861),$=b(4707),J=b(4158);let O=(()=>{var ce;class X{constructor(ie){this.storage=ie,this.subjects=new Map}clear(){var ie=this;return(0,U.Z)(function*(){yield ie.storage.ready(),yield ie.storage.clear(),ie.subjects.forEach(K=>K.next(void 0))})()}get(ie){var K=this;return(0,U.Z)(function*(){return yield K.storage.ready(),yield K.storage.get(ie)})()}observe(ie){let K=this.subjects.get(ie);return K||(K=new $.t(1),this.subjects.set(ie,K),this.storage.ready().then(()=>{this.storage.get(ie).then(z=>{K.next(z)}).catch(z=>{K.error(z)})})),K}remove(ie){var K=this;return(0,U.Z)(function*(){yield K.storage.ready(),yield K.storage.remove(ie);const z=K.subjects.get(ie);z&&z.next(void 0)})()}set(ie,K){var z=this;return(0,U.Z)(function*(){yield z.storage.ready(),yield z.storage.set(ie,K);const _e=z.subjects.get(ie);_e&&_e.next(K)})()}}return(ce=X).\u0275fac=function(ie){return new(ie||ce)(c.LFG(J.Ke))},ce.\u0275prov=c.Yz7({token:ce,factory:ce.\u0275fac,providedIn:"root"}),X})();const x=(0,c.X6Q)()?[{name:"Max",code:"MAX",color:"#3670c6"},{name:"Fernando",code:"FER",color:"#358c75"},{name:"Lewis",code:"LEW",color:"#6cd3bf"},{name:"Charles",code:"CHA",color:"#f91537"},{name:"Lando",code:"LAN",color:"#f58020"},{name:"Nico",code:"NIC",color:"#b6babd"},{name:"Ghost",code:"GHO",color:"#606060"},{name:"Pace Car",code:"PAC",color:"#d4af37"}]:[{color:"#ff0000"},{color:"#00ff00"},{color:"#0000ff"},{color:"#ffff00"},{color:"#ff00ff"},{color:"#00ffff"},{color:"#ffffff"},{color:"#cccccc"}],V={bestlap:!0,bests1:!1,bests2:!1,bests3:!1,falsestart:!0,finallap:!0,finished:!0,finished1st:!0,finished2nd:!0,finished3rd:!0,fivelaps:!0,fuel0:!0,fuel1:!0,fuel2:!0,greenflag:!0,newleader:!0,oneminute:!0,pitenter:!1,pitexit:!1,timeout:!0,yellowflag:!0};class Z{constructor(){this.connectionTimeout=3e3,this.requestTimeout=2e3,this.minReconnectDelay=3e3,this.maxReconnectDelay=8e3,this.demoControlUnit=(0,c.X6Q)()}}class se{constructor(){this.cumode=!0,this.debug=(0,c.X6Q)(),this.fixedorder=!1,this.language="",this.speech=!0,this.sectors=!1}}class G{constructor(X){switch(this.mode=X,this.pause=!1,this.slotmode=!1,this.auto=!1,this.pace=!1,this.minLapTime=500,X){case"practice":this.laps=0,this.time=0,this.auto=!0,this.pace=!0;break;case"qualifying":this.laps=0,this.time=18e4;break;case"race":this.laps=30,this.time=0}}}let ee=(()=>{var ce;class X{constructor(ie){this.settings=ie}clear(){return this.settings.clear()}getConnection(){return this.settings.observe("connection").pipe((0,n.U)(ie=>Object.assign(new Z,ie)))}setConnection(ie){return this.settings.set("connection",ie)}getDrivers(){return this.settings.observe("drivers").pipe((0,n.U)(ie=>{const K=new Array(8);for(let z=0;z!=K.length;++z)K[z]=Object.assign(x[z],ie?ie[z]:null);return K}))}setDrivers(ie){return this.settings.set("drivers",ie)}getNotifications(){return this.settings.observe("notifications").pipe((0,n.U)(ie=>{const K={};for(let z of Object.keys(V))K[z]=Object.assign({enabled:V[z]},ie?ie[z]:null);return K}))}setNotifications(ie){return this.settings.set("notifications",ie)}getOptions(){return this.settings.observe("options").pipe((0,n.U)(ie=>Object.assign(new se,ie)))}setOptions(ie){return this.settings.set("options",ie)}getQualifyingSettings(){return this.settings.observe("qualifying").pipe((0,n.U)(ie=>Object.assign(new G("qualifying"),ie)))}setQualifyingSettings(ie){return this.settings.set("qualifying",ie)}getRaceSettings(){return this.settings.observe("race").pipe((0,n.U)(ie=>Object.assign(new G("race"),ie)))}setRaceSettings(ie){return this.settings.set("race",ie)}}return(ce=X).\u0275fac=function(ie){return new(ie||ce)(c.LFG(O))},ce.\u0275prov=c.Yz7({token:ce,factory:ce.\u0275fac,providedIn:"root"}),X})()},6475:(ct,Ie,b)=>{"use strict";b.d(Ie,{z:()=>ie});var X,c=b(5861),n=b(3771),U=b(9509),$=b(4598),J=b(9986),O=b(9102),x=b(8675),V=b(4004),Z=b(1884),se=b(4650),G=b(9767),ee=b(5082),ce=b(9062),de=(()=>{return(K=de||(de={})).Portrait="portrait",K.Landscape="landscape",de;var K})();class ie{constructor(z,_e,Le,De,ge,xe,$e,ne){this.platform=z,this.app=_e,this.device=Le,this.fullscreen=De,this.insomnia=ge,this.sharing=xe,this.splash=$e,this.exit=void 0,this.share=void 0,this.backButton=z.backButton,z.ready().then(be=>{"cordova"===be&&ne.styleDefault()}),this.isCordova()&&this.isAndroid()&&(this.exit=()=>this.doExit()),this.isCordova()&&O.e&&(this.share=(be,je)=>this.doShare(be,je)),this.orientation=z.resize.pipe((0,x.O)(void 0),(0,V.U)(()=>z.isPortrait()?de.Portrait:de.Landscape),(0,Z.x)())}getName(){var z=this;return(0,c.Z)(function*(){return z.isCordova()&&U.b?(yield z.platform.ready(),z.app.getAppName()):"App"})()}getVersion(){var z=this;return(0,c.Z)(function*(){return z.isCordova()&&U.b?(yield z.platform.ready(),z.app.getVersionNumber()):"Web"})()}getVersionCode(){var z=this;return(0,c.Z)(function*(){if(z.isCordova()&&U.b)return yield z.platform.ready(),(yield z.app.getVersionCode()).toString()})()}getDeviceInfo(){var z=this;return(0,c.Z)(function*(){return z.isCordova()&&$.A?(yield z.platform.ready(),{isVirtual:z.device.isVirtual,manufacturer:z.device.manufacturer,model:z.device.model,platform:z.device.platform,version:z.device.version}):{isVirtual:!1,manufacturer:"",model:"",platform:"browser",version:""}})()}enableFullScreen(z){var _e=this;return(0,c.Z)(function*(){_e.isCordova()&&_e.isAndroid()&&n.B&&(yield _e.platform.ready(),z?_e.fullscreen.immersiveMode():_e.fullscreen.showSystemUI())})()}hideSplashScreen(){var z=this;return(0,c.Z)(function*(){z.isCordova()&&z.splash&&(yield z.platform.ready(),z.splash.hide())})()}keepAwake(z){var _e=this;return(0,c.Z)(function*(){_e.isCordova()&&J.s&&(yield _e.platform.ready(),z?_e.insomnia.keepAwake():_e.insomnia.allowSleepAgain())})()}isAndroid(){return this.platform.is("android")}isCordova(){return this.platform.is("cordova")}doShare(z,_e){var Le=this;return(0,c.Z)(function*(){if(yield Le.platform.ready(),O.e)return Le.sharing.shareWithOptions({message:_e,subject:z})})()}doExit(){var z=this;return(0,c.Z)(function*(){yield z.platform.ready(),navigator.app&&navigator.app.exitApp&&navigator.app.exitApp()})()}}(X=ie).PORTRAIT=de.Portrait,X.LANDSCAPE=de.Landscape,X.\u0275fac=function(z){return new(z||X)(se.LFG(G.t4),se.LFG(U.b),se.LFG($.A),se.LFG(n.B),se.LFG(J.s),se.LFG(O.e),se.LFG(ee.c),se.LFG(ce.A))},X.\u0275prov=se.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"})},6698:(ct,Ie,b)=>{"use strict";b.d(Ie,{zi:()=>c.z,V1:()=>x,Pn:()=>G,tQ:()=>K,ed:()=>O,vA:()=>De});var c=b(6475),n=b(1135),U=b(4650),$=(()=>{return(ge=$||($={}))[ge.DEBUG=0]="DEBUG",ge[ge.INFO=1]="INFO",ge[ge.WARNING=2]="WARNING",ge[ge.ERROR=3]="ERROR",$;var ge})();let O=(()=>{var ge;class xe{constructor(){this.level=$.INFO,this.limit=50,this.records=new Array}isDebugEnabled(){return this.level===$.DEBUG}setDebugEnabled(ne){this.level=ne?$.DEBUG:$.INFO}debug(...ne){this.log($.DEBUG,ne)}info(...ne){this.log($.INFO,ne)}warn(...ne){this.log($.WARNING,ne)}error(...ne){this.log($.ERROR,ne)}clear(){this.records.length=0}log(ne,be){if(ne>=this.level){for(console.log.apply(console,be);this.records.length>=this.limit;)this.records.shift();this.records.push({level:ne,time:Date.now(),args:be})}}}return(ge=xe).\u0275fac=function(ne){return new(ne||ge)},ge.\u0275prov=U.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),xe})(),x=(()=>{var ge;class xe extends n.X{constructor(ne){super(null),this.logger=ne}next(ne){this.value?this.value.disconnect().catch(be=>{this.logger.error("Error disconnecting from",this.value,be)}).then(()=>{super.next(ne)}):super.next(ne)}}return(ge=xe).\u0275fac=function(ne){return new(ne||ge)(U.LFG(O))},ge.\u0275prov=U.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),xe})();var V=b(5861),Z=b(9767),se=b(6188);let G=(()=>{var ge;class xe{constructor(ne,be){this.alert=ne,this.translate=be}show(ne){var be=this;return(0,V.Z)(function*(){return ne&&(ne=yield be.translateAlertOptions(ne)),yield(yield be.alert.create(ne)).present()})()}translateAlertOptions(ne){var be=this;return(0,V.Z)(function*(){const[je,Fe,Ae,He]=yield Promise.all([be.translateString(ne.header),be.translateString(ne.subHeader),be.translateString(ne.message),Promise.all((ne.buttons||[]).map(ae=>"string"==typeof ae?be.translateString(ae):be.translateString(ae.text).then(me=>Object.assign({},ae,{text:me}))))]);return Object.assign({},ne,{header:je,subHeader:Fe,message:Ae,buttons:He})})()}translateString(ne){return ne?this.translate.get(ne).toPromise():Promise.resolve(ne)}}return(ge=xe).\u0275fac=function(ne){return new(ne||ge)(U.LFG(Z.Br),U.LFG(se.sK))},ge.\u0275prov=U.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),xe})();var ee=b(4879);class ce{constructor(xe,$e){this.platform=xe,this.toast=$e}show(xe,$e,ne){var be=this;return(0,V.Z)(function*(){return yield be.platform.ready(),yield be.toast.hide(),be.toast.show(xe,$e.toString(),ne).toPromise()})()}}class X{constructor(xe){this.controller=xe}show(xe,$e,ne){var be=this;return(0,V.Z)(function*(){return(yield be.controller.create({message:xe,duration:$e,position:"center"===ne?"middle":ne})).present()})()}}let K=(()=>{var ge;class xe{constructor(ne,be,je,Fe){this.translate=Fe,this.toast=ne.is("cordova")?new ce(ne,be):new X(je)}showShortTop(ne,be){return this.show("top",2e3,ne,be)}showShortCenter(ne,be){return this.show("center",2e3,ne,be)}showShortBottom(ne,be){return this.show("bottom",2e3,ne,be)}showLongTop(ne,be){return this.show("top",4e3,ne,be)}showLongCenter(ne,be){return this.show("center",4e3,ne,be)}showLongBottom(ne,be){return this.show("bottom",4e3,ne,be)}show(ne,be,je,Fe){var Ae=this;return(0,V.Z)(function*(){const He=yield Ae.translate.get(je,Fe).toPromise();return Ae.toast.show(He,be,ne)})()}}return(ge=xe).\u0275fac=function(ne){return new(ne||ge)(U.LFG(Z.t4),U.LFG(ee.F),U.LFG(Z.yF),U.LFG(se.sK))},ge.\u0275prov=U.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),xe})();var z=b(694);class _e{constructor(xe,$e){this.speech=xe,$e.debug("Using Web Speech API")}speak(xe){return new Promise(($e,ne)=>{const be=this.__utterance__=new SpeechSynthesisUtterance;"string"==typeof xe?be.text=xe:(be.text=xe.text,be.lang=xe.locale,be.rate=xe.rate),be.onend=()=>{$e()},be.onerror=je=>{ne(je)};try{this.speech.speak(be)}catch(je){ne(je)}})}stop(){return new Promise((xe,$e)=>{try{this.speech.cancel(),xe()}catch(ne){$e(ne)}})}getVoices(){return Promise.resolve([])}}class Le{constructor(xe){xe.info("Speech not supported on this platform")}speak(xe){return Promise.resolve()}stop(){return Promise.resolve()}getVoices(){return Promise.resolve([])}}let De=(()=>{var ge;class xe{constructor(ne,be,je){this.logger=ne,this.tts=be,this.locale="en-US",this.promise=Promise.resolve(),this.pending=0,this.rate=1,je.is("cordova")?this.rate=je.is("ios")?1.5:1:this.tts=window.speechSynthesis?new _e(window.speechSynthesis,ne):new Le(ne)}setLocale(ne){this.locale=ne}setRate(ne){this.rate=ne}speak(ne){ne!=this.lastMessage?(this.lastMessage=ne,this.pending++,this.promise=this.promise.then(()=>0==--this.pending?this.tts.speak({text:ne,locale:this.locale||"en-us",rate:this.rate,identifier:null}).then(()=>{0===this.pending&&(this.lastMessage=null)}).catch(be=>{this.logger.error("Speech error:",be),0===this.pending&&(this.lastMessage=null)}):(this.logger.warn("Speech cancelled: "+ne),Promise.resolve())).catch(be=>{this.logger.error("Speech error:",be)})):this.logger.info("Speech duplicate dismissed: "+ne)}}return(ge=xe).\u0275fac=function(ne){return new(ne||ge)(U.LFG(O),U.LFG(z.E),U.LFG(Z.t4))},ge.\u0275prov=U.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),xe})()},6557:(ct,Ie,b)=>{"use strict";b.d(Ie,{t:()=>x});var c=b(4650),n=b(6475),U=b(9767);let $=(()=>{var V;class Z{onClick(){return window.open(this.href,this.target),!1}}return(V=Z).\u0275fac=function(G){return new(G||V)},V.\u0275dir=c.lG2({type:V,selectors:[["a","target",""]],hostBindings:function(G,ee){1&G&&c.NdJ("click",function(){return ee.onClick()})},inputs:{target:"target",href:"href"}}),Z})();var J=b(6188),O=b(6895);let x=(()=>{var V;class Z{constructor(G){this.app=G,this.version=G.getVersion()}}return(V=Z).\u0275fac=function(G){return new(G||V)(c.Y36(n.z))},V.\u0275cmp=c.Xpm({type:V,selectors:[["ng-component"]],decls:33,vars:3,consts:[["slot","start"],["defaultHref","/"],["translate",""],["src","assets/icons/icon-128x128.png"],["href","https://github.com/tkem/openlap/","target","_system"],[1,"ion-text-wrap"]],template:function(G,ee){1&G&&(c.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),c._UZ(3,"ion-back-button",1),c.qZA(),c.TgZ(4,"ion-title")(5,"span",2),c._uU(6,"About Open Lap"),c.qZA()()()(),c.TgZ(7,"ion-content")(8,"ion-item")(9,"ion-thumbnail",0),c._UZ(10,"img",3),c.qZA(),c.TgZ(11,"ion-label")(12,"h1"),c._uU(13),c.ALo(14,"async"),c.qZA(),c.TgZ(15,"a",4),c._uU(16," https://github.com/tkem/openlap/ "),c.qZA()()(),c.TgZ(17,"ion-item")(18,"ion-label",5),c._uU(19," Copyright \xa9 2016-2023 Thomas Kemmer. "),c.qZA()(),c.TgZ(20,"ion-item")(21,"ion-label",5),c._uU(22," Licensed under the Apache License, Version 2.0. "),c.qZA()(),c.TgZ(23,"ion-item")(24,"ion-label",5)(25,"span",2),c._uU(26,"Translations"),c.qZA(),c._uU(27,": Haarman (Nederlands), SdiF (Italiano), Maikeru (Espa\xf1ol), nico12 (Fran\xe7ais). "),c.qZA()(),c.TgZ(28,"ion-item")(29,"ion-label",5)(30,"span",2),c._uU(31,"iOS support"),c.qZA(),c._uU(32,": softyde, elliot2extreme. "),c.qZA()()()),2&G&&(c.xp6(13),c.hij("Open Lap ",c.lcZ(14,1,ee.version),""))},dependencies:[U.oU,U.Sm,U.W2,U.Gu,U.Ie,U.Q$,U.Bs,U.wd,U.sr,U.cs,$,J.Pi,O.Ov],encapsulation:2}),Z})()},6291:(ct,Ie,b)=>{"use strict";b.d(Ie,{X:()=>Z});var c=b(5698),n=b(227),U=b(4650),$=b(6698),J=b(4006),O=b(9767),x=b(6188);let Z=(()=>{var se;class G{constructor(ce,X){this.logger=ce,this.settings=X,this.connection=new n.ew,this.ranges={connection:5e3,request:1e3,reconnect:{lower:2e3,upper:1e4}},this.demo=!1}ngOnInit(){this.settings.getConnection().pipe((0,c.q)(1)).toPromise().then(ce=>{this.connection=ce,this.ranges={connection:ce.connectionTimeout,request:ce.requestTimeout,reconnect:{lower:ce.minReconnectDelay,upper:ce.maxReconnectDelay}},this.demo=ce.demoControlUnit}).catch(ce=>{this.logger.error("Error getting connection parameters",ce)})}ngOnDestroy(){const ce={connectionTimeout:this.ranges.connection,requestTimeout:this.ranges.request,minReconnectDelay:this.ranges.reconnect.lower,maxReconnectDelay:this.ranges.reconnect.upper,demoControlUnit:this.demo};(function V(se,G){for(let ee in se)if(se[ee]!==G[ee])return!1;return!0})(ce,this.connection)||this.settings.setConnection(Object.assign({},this.connection,ce)).catch(X=>{this.logger.error("Error setting connection parameters",X)})}}return(se=G).\u0275fac=function(ce){return new(ce||se)(U.Y36($.ed),U.Y36(n.de))},se.\u0275cmp=U.Xpm({type:se,selectors:[["ng-component"]],decls:36,vars:4,consts:[["slot","start"],["defaultHref","/"],["translate",""],["translate","",1,"ion-text-wrap"],["legacy","true","slot","end","min","1000","max","5000","step","500","snaps","true",3,"ngModel","ngModelChange"],["slot","end"],["legacy","true","slot","end","dualKnobs","true","min","2000","max","10000","step","1000","snaps","true",3,"ngModel","ngModelChange"],["translate","",3,"ngModel","ngModelChange"]],template:function(ce,X){1&ce&&(U.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),U._UZ(3,"ion-back-button",1),U.qZA(),U.TgZ(4,"ion-title")(5,"span",2),U._uU(6,"Connection"),U.qZA()()()(),U.TgZ(7,"ion-content")(8,"ion-list")(9,"ion-item")(10,"ion-label",3),U._uU(11," Connection timeout "),U.qZA(),U.TgZ(12,"ion-range",4),U.NdJ("ngModelChange",function(ie){return X.ranges.connection=ie}),U.TgZ(13,"ion-label",0),U._uU(14,"1 s"),U.qZA(),U.TgZ(15,"ion-label",5),U._uU(16,"5 s"),U.qZA()()(),U.TgZ(17,"ion-item")(18,"ion-label",3),U._uU(19," Request timeout "),U.qZA(),U.TgZ(20,"ion-range",4),U.NdJ("ngModelChange",function(ie){return X.ranges.request=ie}),U.TgZ(21,"ion-label",0),U._uU(22,"1 s"),U.qZA(),U.TgZ(23,"ion-label",5),U._uU(24,"5 s"),U.qZA()()(),U.TgZ(25,"ion-item")(26,"ion-label",3),U._uU(27," Reconnect delay "),U.qZA(),U.TgZ(28,"ion-range",6),U.NdJ("ngModelChange",function(ie){return X.ranges.reconnect=ie}),U.TgZ(29,"ion-label",0),U._uU(30,"2 s"),U.qZA(),U.TgZ(31,"ion-label",5),U._uU(32,"10 s"),U.qZA()()(),U.TgZ(33,"ion-item")(34,"ion-toggle",7),U.NdJ("ngModelChange",function(ie){return X.demo=ie}),U._uU(35,"Demo Control Unit"),U.qZA()()()()),2&ce&&(U.xp6(12),U.Q6J("ngModel",X.ranges.connection),U.xp6(8),U.Q6J("ngModel",X.ranges.request),U.xp6(8),U.Q6J("ngModel",X.ranges.reconnect),U.xp6(6),U.Q6J("ngModel",X.demo))},dependencies:[J.JJ,J.On,O.oU,O.Sm,O.W2,O.Gu,O.Ie,O.Q$,O.q_,O.I_,O.wd,O.ho,O.sr,O.w,O.QI,O.cs,x.Pi],encapsulation:2}),G})()},3256:(ct,Ie,b)=>{"use strict";b.d(Ie,{p:()=>O});var c=b(4650),n=b(6895),U=b(9767),$=b(6188);function J(x,V){if(1&x&&(c.TgZ(0,"ion-item",4)(1,"ion-label")(2,"h1"),c._uU(3),c.qZA(),c.TgZ(4,"h2"),c._uU(5),c.qZA(),c.TgZ(6,"p")(7,"span",2),c._uU(8,"License"),c.qZA(),c._uU(9),c.qZA()()()),2&x){const Z=V.$implicit;c.Q6J("href",Z.homepage),c.xp6(3),c.Oqu(Z.name),c.xp6(2),c.Oqu(Z.copyright||Z.author),c.xp6(4),c.hij(": ",Z.license,"")}}let O=(()=>{var x;class V{constructor(){this.items=[{name:"Angular",copyright:"Super-powered by Google \xa92010-2023",license:"MIT",homepage:"https://angular.io/"},{name:"Apache Cordova",copyright:"Copyright \xa9 2023 The Apache Software Foundation",license:"Apache-2.0",homepage:"https://cordova.apache.org/"},{name:"Awesome Cordova Plugins",copyright:"Copyright (c) 2015-present Drifty Co.",license:"MIT",homepage:"https://github.com/danielsogl/awesome-cordova-plugins"},{name:"Ionic",copyright:"Copyright (c) 2015-present Drifty Co.",license:"MIT",homepage:"https://github.com/driftyco/ionic#readme"},{name:"RxJS",copyright:"Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors",license:"Apache-2.0",homepage:"https://github.com/ReactiveX/RxJS#readme"},{name:"cordova-plugin-app-version",copyright:"Copyright (c) 2013 White October",license:"MIT",homepage:"https://github.com/whiteoctober/cordova-plugin-app-version#readme"},{name:"cordova-plugin-ble-central",copyright:"Copyright 2014-2020 Don Coleman",license:"Apache-2.0",homepage:"https://github.com/don/cordova-plugin-ble-central#readme"},{name:"cordova-plugin-device",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-device#readme"},{name:"cordova-plugin-fullscreen",copyright:"Copyright (c) 2014, Mesmotronic Limited",license:"BSD",homepage:"https://github.com/mesmotronic/cordova-fullscreen-plugin#readme"},{name:"cordova-plugin-inappbrowser",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-inappbrowser#readme"},{name:"cordova-plugin-insomnia",author:"Eddy Verbruggen",license:"MIT",homepage:"https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin#readme"},{name:"cordova-plugin-screen-orientation",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-screen-orientation#readme"},{name:"cordova-plugin-splashscreen",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-splashscreen#readme"},{name:"cordova-plugin-statusbar",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-statusbar#readme"},{name:"cordova-plugin-tts-advanced",author:"Sebastiaan Pasma and VILIC VANE",license:"MIT",homepage:"https://github.com/spasma/cordova-plugin-tts-advanced#readme"},{name:"cordova-plugin-whitelist",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-whitelist#readme"},{name:"cordova-plugin-x-socialsharing",author:"Eddy Verbruggen",license:"MIT",homepage:"https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin#readme"},{name:"cordova-plugin-x-toast",author:"Eddy Verbruggen",license:"MIT",homepage:"https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin#readme"},{name:"cordova-sqlite-storage",author:"various",license:"MIT",homepage:"https://github.com/litehelpers/Cordova-sqlite-storage"},{name:"cordovarduino",copyright:"Copyright (c) 2015 Xavier Seignard",license:"MIT",homepage:"https://github.com/xseignard/cordovarduino#readme"},{name:"ngx-translate",author:"Olivier Combe",license:"MIT",homepage:"https://github.com/ngx-translate/core#readme"}]}}return(x=V).\u0275fac=function(se){return new(se||x)},x.\u0275cmp=c.Xpm({type:x,selectors:[["ng-component"]],decls:10,vars:1,consts:[["slot","start"],["defaultHref","/"],["translate",""],["target","_system",3,"href",4,"ngFor","ngForOf"],["target","_system",3,"href"]],template:function(se,G){1&se&&(c.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),c._UZ(3,"ion-back-button",1),c.qZA(),c.TgZ(4,"ion-title")(5,"span",2),c._uU(6,"Open source licenses"),c.qZA()()()(),c.TgZ(7,"ion-content")(8,"ion-list"),c.YNc(9,J,10,4,"ion-item",3),c.qZA()()),2&se&&(c.xp6(9),c.Q6J("ngForOf",G.items))},dependencies:[n.sg,U.oU,U.Sm,U.W2,U.Gu,U.Ie,U.Q$,U.q_,U.wd,U.sr,U.cs,$.Pi],encapsulation:2}),V})()},6928:(ct,Ie,b)=>{"use strict";b.d(Ie,{B:()=>ce});var c=b(227),n=b(4650),U=b(6698),$=b(9767),J=b(6895),O=b(4006),x=b(6188);function V(X,de){if(1&X){const ie=n.EpF();n.TgZ(0,"ion-item",2),n.NdJ("click",function(){n.CHM(ie);const z=n.oxw();return n.KtG(z.share())}),n.TgZ(1,"ion-label")(2,"span",3),n._uU(3,"Share"),n.qZA(),n._uU(4,"\u2026"),n.qZA()()}}function Z(X){try{return JSON.stringify(X)}catch{return""+X}}let se=(()=>{var X;class de{constructor(K,z,_e,Le){this.app=K,this.logger=z,this.settings=_e,this.controller=Le,this.options=new c.Ei,this.share=void 0,K.share&&(this.share=()=>this.doShare())}get debugEnabled(){return this.options.debug}set debugEnabled(K){this.options.debug=K,this.settings.setOptions(this.options),this.dismiss()}ngOnInit(){this.subscription=this.settings.getOptions().subscribe({next:K=>{this.options=K},error:K=>{this.logger.error("Logging settings: ",K)},complete:()=>{this.logger.debug("Logging settings complete")}})}ngOnDestroy(){this.subscription.unsubscribe()}clear(){this.logger.clear(),this.dismiss()}dismiss(){return this.controller.dismiss()}doShare(){Promise.all([this.app.getName(),this.app.getVersion(),this.app.getDeviceInfo()]).then(([K,z,_e])=>{const Le=this.logger.records.map(ge=>[ge.level,ge.time,ge.args.map(Z).join(" ")].join("\t")).join("\n"),De=K+" "+z+" ("+[_e.model,_e.platform,_e.version].join(" ")+")";return this.app.share(De,Le)}).catch(K=>{this.logger.error("Error sharing log:",K)}).then(()=>{this.dismiss()})}}return(X=de).\u0275fac=function(K){return new(K||X)(n.Y36(U.zi),n.Y36(U.ed),n.Y36(c.de),n.Y36($.Dh))},X.\u0275cmp=n.Xpm({type:X,selectors:[["ng-component"]],decls:9,vars:2,consts:[["translate","",3,"ngModel","ngModelChange"],["button","",3,"click",4,"ngIf"],["button","",3,"click"],["translate",""]],template:function(K,z){1&K&&(n.TgZ(0,"ion-item-group")(1,"ion-item")(2,"ion-checkbox",0),n.NdJ("ngModelChange",function(Le){return z.debugEnabled=Le}),n._uU(3,"Debug messages"),n.qZA()(),n.YNc(4,V,5,0,"ion-item",1),n.TgZ(5,"ion-item",2),n.NdJ("click",function(){return z.clear()}),n.TgZ(6,"ion-label")(7,"span",3),n._uU(8,"Clear"),n.qZA()()()()),2&K&&(n.xp6(2),n.Q6J("ngModel",z.debugEnabled),n.xp6(2),n.Q6J("ngIf",z.share))},dependencies:[J.O5,O.JJ,O.On,$.nz,$.Ie,$.Ub,$.Q$,$.w,x.Pi],encapsulation:2}),de})();function G(X,de){if(1&X&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&X){const ie=de.$implicit,K=n.oxw(2);n.xp6(1),n.hij(" ",K.stringify(ie),"")}}function ee(X,de){if(1&X&&(n.TgZ(0,"ion-item"),n._UZ(1,"ion-icon",7),n.TgZ(2,"ion-label",8)(3,"span",0),n._uU(4),n.ALo(5,"date"),n.ALo(6,"number"),n.qZA(),n.YNc(7,G,2,1,"span",6),n.qZA()()),2&X){const ie=de.$implicit,K=n.oxw();n.xp6(1),n.Q6J("name",null==K.icons[ie.level]?null:K.icons[ie.level].name)("ngStyle",null==K.icons[ie.level]?null:K.icons[ie.level].style),n.xp6(3),n.AsE("",n.xi3(5,5,ie.time,"HH:mm:ss"),".",n.xi3(6,8,ie.time%1e3,"3.0-0"),":"),n.xp6(3),n.Q6J("ngForOf",ie.args)}}let ce=(()=>{var X;class de{constructor(K,z){this.logger=K,this.popover=z,this.icons=[{name:"bug-sharp",style:{color:"green"}},{name:"information-circle-sharp",style:{color:"blue"}},{name:"warning-sharp",style:{color:"yellow"}},{name:"alert-circle-sharp",style:{color:"red"}}]}showMenu(K){return this.popover.create({component:se,event:K}).then(z=>{z.present()})}stringify(K){if("object"!=typeof K||K instanceof Error)return K;try{return JSON.stringify(K,null," ")}catch{return""+K}}}return(X=de).\u0275fac=function(K){return new(K||X)(n.Y36(U.ed),n.Y36($.Dh))},X.\u0275cmp=n.Xpm({type:X,selectors:[["ng-component"]],decls:13,vars:1,consts:[["slot","start"],["defaultHref","/"],["translate",""],["slot","primary"],[3,"click"],["slot","icon-only","name","ellipsis-vertical-sharp"],[4,"ngFor","ngForOf"],["slot","start",3,"name","ngStyle"],[1,"ion-text-wrap"]],template:function(K,z){1&K&&(n.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),n._UZ(3,"ion-back-button",1),n.qZA(),n.TgZ(4,"ion-title")(5,"span",2),n._uU(6,"Event log"),n.qZA()(),n.TgZ(7,"ion-buttons",3)(8,"ion-button",4),n.NdJ("click",function(Le){return z.showMenu(Le)}),n._UZ(9,"ion-icon",5),n.qZA()()()(),n.TgZ(10,"ion-content")(11,"ion-list"),n.YNc(12,ee,8,11,"ion-item",6),n.qZA()()),2&K&&(n.xp6(12),n.Q6J("ngForOf",z.logger.records))},dependencies:[J.sg,J.PC,$.oU,$.YG,$.Sm,$.W2,$.Gu,$.gu,$.Ie,$.Q$,$.q_,$.wd,$.sr,$.cs,x.Pi,J.JJ,J.uU],encapsulation:2}),de})()},6659:(ct,Ie,b)=>{"use strict";b.d(Ie,{d:()=>se});var c=b(5698),n=b(4650),U=b(6698),$=b(227),J=b(6188),O=b(6895),x=b(4006),V=b(9767);function Z(G,ee){if(1&G){const ce=n.EpF();n.TgZ(0,"ion-item")(1,"ion-input",4),n.NdJ("ngModelChange",function(de){const K=n.CHM(ce).$implicit,z=n.oxw();return n.KtG(z.notifications[K.id].message=de)}),n.ALo(2,"translate"),n.ALo(3,"translate"),n.qZA(),n.TgZ(4,"ion-buttons",5)(5,"ion-button",6),n.NdJ("click",function(){const ie=n.CHM(ce).$implicit,K=n.oxw();return n.KtG(K.speak(ie.id))}),n._UZ(6,"ion-icon",7),n.qZA(),n.TgZ(7,"ion-toggle",8),n.NdJ("ngModelChange",function(de){const K=n.CHM(ce).$implicit,z=n.oxw();return n.KtG(z.notifications[K.id].enabled=de)}),n.qZA()()()}if(2&G){const ce=ee.$implicit,X=n.oxw();n.xp6(1),n.s9C("label",n.lcZ(2,4,ce.label)),n.Q6J("ngModel",X.notifications[ce.id].message)("placeholder",n.lcZ(3,6,"notifications."+ce.id)),n.xp6(6),n.Q6J("ngModel",X.notifications[ce.id].enabled)}}let se=(()=>{var G;class ee{constructor(X,de,ie,K){this.logger=X,this.settings=de,this.speech=ie,this.translate=K,this.items=[{id:"finished",label:"Race finished"},{id:"finished1st",label:"Finished first"},{id:"finished2nd",label:"Finished second"},{id:"finished3rd",label:"Finished third"},{id:"timeout",label:"Timeout"},{id:"oneminute",label:"One minute to go"},{id:"fivelaps",label:"Five laps to go"},{id:"finallap",label:"Final lap"},{id:"yellowflag",label:"Yellow flag"},{id:"greenflag",label:"Track clear"},{id:"falsestart",label:"False start"},{id:"newleader",label:"New race leader"},{id:"bestlap",label:"Fastest lap"},{id:"bests1",label:"Fastest sector 1"},{id:"bests2",label:"Fastest sector 2"},{id:"bests3",label:"Fastest sector 3"},{id:"fuel2",label:"Fuel < 20%"},{id:"fuel1",label:"Fuel < 10%"},{id:"fuel0",label:"No fuel"},{id:"pitenter",label:"Car enters pit"},{id:"pitexit",label:"Car leaves pit"}],this.notifications={};for(let z of this.items)this.notifications[z.id]={enabled:!1,message:void 0}}ngOnInit(){this.settings.getNotifications().pipe((0,c.q)(1)).toPromise().then(X=>{this.notifications=X}).catch(X=>{this.logger.error("Error getting notifications",X)})}ngOnDestroy(){this.settings.setNotifications(this.notifications).catch(X=>{this.logger.error("Error setting notifications",X)})}speak(X){this.getMessage(X).then(de=>{this.speech.speak(de)})}getMessage(X){return this.notifications[X]&&this.notifications[X].message?Promise.resolve(this.notifications[X].message):this.translate.get("notifications."+X).toPromise()}}return(G=ee).\u0275fac=function(X){return new(X||G)(n.Y36(U.ed),n.Y36($.de),n.Y36(U.vA),n.Y36(J.sK))},G.\u0275cmp=n.Xpm({type:G,selectors:[["ng-component"]],decls:10,vars:1,consts:[["slot","start"],["defaultHref","/"],["translate",""],[4,"ngFor","ngForOf"],["clearInput","","labelPlacement","stacked",3,"label","ngModel","placeholder","ngModelChange"],["slot","end"],["fill","clear",3,"click"],["name","volume-high-sharp"],["aria-label","",3,"ngModel","ngModelChange"]],template:function(X,de){1&X&&(n.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),n._UZ(3,"ion-back-button",1),n.qZA(),n.TgZ(4,"ion-title")(5,"span",2),n._uU(6,"Notifications"),n.qZA()()()(),n.TgZ(7,"ion-content")(8,"ion-list"),n.YNc(9,Z,8,8,"ion-item",3),n.qZA()()),2&X&&(n.xp6(9),n.Q6J("ngForOf",de.items))},dependencies:[O.sg,x.JJ,x.On,V.oU,V.YG,V.Sm,V.W2,V.Gu,V.gu,V.pK,V.Ie,V.q_,V.wd,V.ho,V.sr,V.w,V.j9,V.cs,J.Pi,J.X$],encapsulation:2}),ee})()},7075:(ct,Ie,b)=>{"use strict";b.r(Ie),b.d(Ie,{SettingsModule:()=>X});var c=b(6895),n=b(4006),U=b(6159),$=b(9767),J=b(4466),O=b(6557),x=b(6291),V=b(3256),Z=b(6928),se=b(6659),G=b(7162),ee=b(4650);const ce=[{path:"",component:G.N},{path:"about",component:O.t},{path:"logging",component:Z.B},{path:"licenses",component:V.p},{path:"connection",component:x.X},{path:"notifications",component:se.d}];let X=(()=>{var de;class ie{}return(de=ie).\u0275fac=function(z){return new(z||de)},de.\u0275mod=ee.oAB({type:de}),de.\u0275inj=ee.cJS({imports:[c.ez,n.u5,$.Pc,U.Bz.forChild(ce),J.m,U.Bz]}),ie})()},7162:(ct,Ie,b)=>{"use strict";b.d(Ie,{N:()=>ce});var c=b(6557),n=b(6291),U=b(3256),$=b(6928),J=b(6659),O=b(227),x=b(4650),V=b(6698),Z=b(4006),se=b(9767),G=b(6159),ee=b(6188);let ce=(()=>{var X;class de{constructor(K,z){this.alert=K,this.settings=z,this.aboutPage=c.t,this.connectionPage=n.X,this.licensesPage=U.p,this.loggingPage=$.B,this.notificationsPage=J.d,this.options=new O.Ei}ngOnInit(){this.subscription=this.settings.getOptions().subscribe(K=>{this.options=K})}ngOnDestroy(){this.subscription.unsubscribe()}reset(){this.alert.show({message:"Reset all user settings to default values?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>{this.settings.clear()}}]})}update(){this.settings.setOptions(this.options)}}return(X=de).\u0275fac=function(K){return new(K||X)(x.Y36(V.Pn),x.Y36(O.de))},X.\u0275cmp=x.Xpm({type:X,selectors:[["ng-component"]],decls:50,vars:10,consts:[["slot","start"],["defaultHref","/"],["translate",""],["lines","full"],[3,"label","ngModel","cancelText","okText","ngModelChange","ionChange"],["translate","","value",""],["value","de"],["value","en"],["value","es"],["value","fr"],["value","it"],["routerLink","/settings/connection"],["routerLink","/settings/notifications"],["button","",3,"click"],["routerLink","/settings/about"],["href","https://github.com/tkem/openlap/blob/master/PRIVACY.md","target","_system"],["routerLink","/settings/licenses"],["routerLink","/settings/logging"]],template:function(K,z){1&K&&(x.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),x._UZ(3,"ion-back-button",1),x.qZA(),x.TgZ(4,"ion-title")(5,"span",2),x._uU(6,"Settings"),x.qZA()()()(),x.TgZ(7,"ion-content")(8,"ion-list",3)(9,"ion-item")(10,"ion-select",4),x.NdJ("ngModelChange",function(Le){return z.options.language=Le})("ionChange",function(){return z.update()}),x.ALo(11,"translate"),x.ALo(12,"translate"),x.ALo(13,"translate"),x.TgZ(14,"ion-select-option",5),x._uU(15,"Default"),x.qZA(),x.TgZ(16,"ion-select-option",6),x._uU(17,"Deutsch"),x.qZA(),x.TgZ(18,"ion-select-option",7),x._uU(19,"English"),x.qZA(),x.TgZ(20,"ion-select-option",8),x._uU(21,"Espa\xf1ol"),x.qZA(),x.TgZ(22,"ion-select-option",9),x._uU(23,"Fran\xe7ais"),x.qZA(),x.TgZ(24,"ion-select-option",10),x._uU(25,"Italiano"),x.qZA()()(),x.TgZ(26,"ion-item",11)(27,"ion-label",2),x._uU(28,"Connection"),x.qZA()(),x.TgZ(29,"ion-item",12)(30,"ion-label",2),x._uU(31,"Notifications"),x.qZA()(),x.TgZ(32,"ion-item",13),x.NdJ("click",function(){return z.reset()}),x.TgZ(33,"ion-label",2),x._uU(34,"Reset settings"),x.qZA()(),x.TgZ(35,"ion-list-header")(36,"ion-label",2),x._uU(37,"About"),x.qZA()(),x.TgZ(38,"ion-item",14)(39,"ion-label",2),x._uU(40,"About Open Lap"),x.qZA()(),x.TgZ(41,"ion-item",15)(42,"ion-label",2),x._uU(43,"Privacy policy"),x.qZA()(),x.TgZ(44,"ion-item",16)(45,"ion-label",2),x._uU(46,"Open source licenses"),x.qZA()(),x.TgZ(47,"ion-item",17)(48,"ion-label",2),x._uU(49,"Event log"),x.qZA()()()()),2&K&&(x.xp6(10),x.s9C("label",x.lcZ(11,4,"Language")),x.s9C("cancelText",x.lcZ(12,6,"Cancel")),x.s9C("okText",x.lcZ(13,8,"OK")),x.Q6J("ngModel",z.options.language))},dependencies:[Z.JJ,Z.On,se.oU,se.Sm,se.W2,se.Gu,se.Ie,se.Q$,se.q_,se.yh,se.t9,se.n0,se.wd,se.sr,se.QI,se.cs,se.YI,G.rH,ee.Pi,ee.X$],encapsulation:2}),de})()},4466:(ct,Ie,b)=>{"use strict";b.d(Ie,{m:()=>$});var c=b(6895),n=b(6188),U=b(4650);let $=(()=>{var J;class O{}return(J=O).\u0275fac=function(V){return new(V||J)},J.\u0275mod=U.oAB({type:J}),J.\u0275inj=U.cJS({imports:[c.ez,n.aw,n.aw]}),O})()},1955:(ct,Ie,b)=>{"use strict";var c=b(1481),n=b(4650),$=(b(89),b(6895)),J=b(9646),O=b(9751),x=b(4351),V=b(9300),Z=b(4004);class se{}class G{}class ee{constructor(g){this.normalizedNames=new Map,this.lazyUpdate=null,g?this.lazyInit="string"==typeof g?()=>{this.headers=new Map,g.split("\n").forEach(h=>{const y=h.indexOf(":");if(y>0){const M=h.slice(0,y),le=M.toLowerCase(),Se=h.slice(y+1).trim();this.maybeSetNormalizedName(M,le),this.headers.has(le)?this.headers.get(le).push(Se):this.headers.set(le,[Se])}})}:()=>{this.headers=new Map,Object.entries(g).forEach(([h,y])=>{let M;if(M="string"==typeof y?[y]:"number"==typeof y?[y.toString()]:y.map(le=>le.toString()),M.length>0){const le=h.toLowerCase();this.headers.set(le,M),this.maybeSetNormalizedName(h,le)}})}:this.headers=new Map}has(g){return this.init(),this.headers.has(g.toLowerCase())}get(g){this.init();const h=this.headers.get(g.toLowerCase());return h&&h.length>0?h[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(g){return this.init(),this.headers.get(g.toLowerCase())||null}append(g,h){return this.clone({name:g,value:h,op:"a"})}set(g,h){return this.clone({name:g,value:h,op:"s"})}delete(g,h){return this.clone({name:g,value:h,op:"d"})}maybeSetNormalizedName(g,h){this.normalizedNames.has(h)||this.normalizedNames.set(h,g)}init(){this.lazyInit&&(this.lazyInit instanceof ee?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(g=>this.applyUpdate(g)),this.lazyUpdate=null))}copyFrom(g){g.init(),Array.from(g.headers.keys()).forEach(h=>{this.headers.set(h,g.headers.get(h)),this.normalizedNames.set(h,g.normalizedNames.get(h))})}clone(g){const h=new ee;return h.lazyInit=this.lazyInit&&this.lazyInit instanceof ee?this.lazyInit:this,h.lazyUpdate=(this.lazyUpdate||[]).concat([g]),h}applyUpdate(g){const h=g.name.toLowerCase();switch(g.op){case"a":case"s":let y=g.value;if("string"==typeof y&&(y=[y]),0===y.length)return;this.maybeSetNormalizedName(g.name,h);const M=("a"===g.op?this.headers.get(h):void 0)||[];M.push(...y),this.headers.set(h,M);break;case"d":const le=g.value;if(le){let Se=this.headers.get(h);if(!Se)return;Se=Se.filter(Ct=>-1===le.indexOf(Ct)),0===Se.length?(this.headers.delete(h),this.normalizedNames.delete(h)):this.headers.set(h,Se)}else this.headers.delete(h),this.normalizedNames.delete(h)}}forEach(g){this.init(),Array.from(this.normalizedNames.keys()).forEach(h=>g(this.normalizedNames.get(h),this.headers.get(h)))}}class X{encodeKey(g){return z(g)}encodeValue(g){return z(g)}decodeKey(g){return decodeURIComponent(g)}decodeValue(g){return decodeURIComponent(g)}}const ie=/%(\d[a-f0-9])/gi,K={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function z(m){return encodeURIComponent(m).replace(ie,(g,h)=>K[h]??g)}function _e(m){return`${m}`}class Le{constructor(g={}){if(this.updates=null,this.cloneFrom=null,this.encoder=g.encoder||new X,g.fromString){if(g.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function de(m,g){const h=new Map;return m.length>0&&m.replace(/^\?/,"").split("&").forEach(M=>{const le=M.indexOf("="),[Se,Ct]=-1==le?[g.decodeKey(M),""]:[g.decodeKey(M.slice(0,le)),g.decodeValue(M.slice(le+1))],et=h.get(Se)||[];et.push(Ct),h.set(Se,et)}),h}(g.fromString,this.encoder)}else g.fromObject?(this.map=new Map,Object.keys(g.fromObject).forEach(h=>{const y=g.fromObject[h],M=Array.isArray(y)?y.map(_e):[_e(y)];this.map.set(h,M)})):this.map=null}has(g){return this.init(),this.map.has(g)}get(g){this.init();const h=this.map.get(g);return h?h[0]:null}getAll(g){return this.init(),this.map.get(g)||null}keys(){return this.init(),Array.from(this.map.keys())}append(g,h){return this.clone({param:g,value:h,op:"a"})}appendAll(g){const h=[];return Object.keys(g).forEach(y=>{const M=g[y];Array.isArray(M)?M.forEach(le=>{h.push({param:y,value:le,op:"a"})}):h.push({param:y,value:M,op:"a"})}),this.clone(h)}set(g,h){return this.clone({param:g,value:h,op:"s"})}delete(g,h){return this.clone({param:g,value:h,op:"d"})}toString(){return this.init(),this.keys().map(g=>{const h=this.encoder.encodeKey(g);return this.map.get(g).map(y=>h+"="+this.encoder.encodeValue(y)).join("&")}).filter(g=>""!==g).join("&")}clone(g){const h=new Le({encoder:this.encoder});return h.cloneFrom=this.cloneFrom||this,h.updates=(this.updates||[]).concat(g),h}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(g=>this.map.set(g,this.cloneFrom.map.get(g))),this.updates.forEach(g=>{switch(g.op){case"a":case"s":const h=("a"===g.op?this.map.get(g.param):void 0)||[];h.push(_e(g.value)),this.map.set(g.param,h);break;case"d":if(void 0===g.value){this.map.delete(g.param);break}{let y=this.map.get(g.param)||[];const M=y.indexOf(_e(g.value));-1!==M&&y.splice(M,1),y.length>0?this.map.set(g.param,y):this.map.delete(g.param)}}}),this.cloneFrom=this.updates=null)}}class ge{constructor(){this.map=new Map}set(g,h){return this.map.set(g,h),this}get(g){return this.map.has(g)||this.map.set(g,g.defaultValue()),this.map.get(g)}delete(g){return this.map.delete(g),this}has(g){return this.map.has(g)}keys(){return this.map.keys()}}function $e(m){return typeof ArrayBuffer<"u"&&m instanceof ArrayBuffer}function ne(m){return typeof Blob<"u"&&m instanceof Blob}function be(m){return typeof FormData<"u"&&m instanceof FormData}class Fe{constructor(g,h,y,M){let le;if(this.url=h,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=g.toUpperCase(),function xe(m){switch(m){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||M?(this.body=void 0!==y?y:null,le=M):le=y,le&&(this.reportProgress=!!le.reportProgress,this.withCredentials=!!le.withCredentials,le.responseType&&(this.responseType=le.responseType),le.headers&&(this.headers=le.headers),le.context&&(this.context=le.context),le.params&&(this.params=le.params)),this.headers||(this.headers=new ee),this.context||(this.context=new ge),this.params){const Se=this.params.toString();if(0===Se.length)this.urlWithParams=h;else{const Ct=h.indexOf("?");this.urlWithParams=h+(-1===Ct?"?":CtBn.set(Dt,g.setHeaders[Dt]),et)),g.setParams&&(Et=Object.keys(g.setParams).reduce((Bn,Dt)=>Bn.set(Dt,g.setParams[Dt]),Et)),new Fe(h,y,le,{params:Et,headers:et,context:Bt,reportProgress:Ct,responseType:M,withCredentials:Se})}}var Ae=(()=>((Ae=Ae||{})[Ae.Sent=0]="Sent",Ae[Ae.UploadProgress=1]="UploadProgress",Ae[Ae.ResponseHeader=2]="ResponseHeader",Ae[Ae.DownloadProgress=3]="DownloadProgress",Ae[Ae.Response=4]="Response",Ae[Ae.User=5]="User",Ae))();class He{constructor(g,h=200,y="OK"){this.headers=g.headers||new ee,this.status=void 0!==g.status?g.status:h,this.statusText=g.statusText||y,this.url=g.url||null,this.ok=this.status>=200&&this.status<300}}class ae extends He{constructor(g={}){super(g),this.type=Ae.ResponseHeader}clone(g={}){return new ae({headers:g.headers||this.headers,status:void 0!==g.status?g.status:this.status,statusText:g.statusText||this.statusText,url:g.url||this.url||void 0})}}class me extends He{constructor(g={}){super(g),this.type=Ae.Response,this.body=void 0!==g.body?g.body:null}clone(g={}){return new me({body:void 0!==g.body?g.body:this.body,headers:g.headers||this.headers,status:void 0!==g.status?g.status:this.status,statusText:g.statusText||this.statusText,url:g.url||this.url||void 0})}}class Xe extends He{constructor(g){super(g,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${g.url||"(unknown url)"}`:`Http failure response for ${g.url||"(unknown url)"}: ${g.status} ${g.statusText}`,this.error=g.error||null}}function tt(m,g){return{body:g,headers:m.headers,context:m.context,observe:m.observe,params:m.params,reportProgress:m.reportProgress,responseType:m.responseType,withCredentials:m.withCredentials}}let he=(()=>{class m{constructor(h){this.handler=h}request(h,y,M={}){let le;if(h instanceof Fe)le=h;else{let et,Et;et=M.headers instanceof ee?M.headers:new ee(M.headers),M.params&&(Et=M.params instanceof Le?M.params:new Le({fromObject:M.params})),le=new Fe(h,y,void 0!==M.body?M.body:null,{headers:et,context:M.context,params:Et,reportProgress:M.reportProgress,responseType:M.responseType||"json",withCredentials:M.withCredentials})}const Se=(0,J.of)(le).pipe((0,x.b)(et=>this.handler.handle(et)));if(h instanceof Fe||"events"===M.observe)return Se;const Ct=Se.pipe((0,V.h)(et=>et instanceof me));switch(M.observe||"body"){case"body":switch(le.responseType){case"arraybuffer":return Ct.pipe((0,Z.U)(et=>{if(null!==et.body&&!(et.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return et.body}));case"blob":return Ct.pipe((0,Z.U)(et=>{if(null!==et.body&&!(et.body instanceof Blob))throw new Error("Response is not a Blob.");return et.body}));case"text":return Ct.pipe((0,Z.U)(et=>{if(null!==et.body&&"string"!=typeof et.body)throw new Error("Response is not a string.");return et.body}));default:return Ct.pipe((0,Z.U)(et=>et.body))}case"response":return Ct;default:throw new Error(`Unreachable: unhandled observe type ${M.observe}}`)}}delete(h,y={}){return this.request("DELETE",h,y)}get(h,y={}){return this.request("GET",h,y)}head(h,y={}){return this.request("HEAD",h,y)}jsonp(h,y){return this.request("JSONP",h,{params:(new Le).append(y,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(h,y={}){return this.request("OPTIONS",h,y)}patch(h,y,M={}){return this.request("PATCH",h,tt(M,y))}post(h,y,M={}){return this.request("POST",h,tt(M,y))}put(h,y,M={}){return this.request("PUT",h,tt(M,y))}}return m.\u0275fac=function(h){return new(h||m)(n.LFG(se))},m.\u0275prov=n.Yz7({token:m,factory:m.\u0275fac}),m})();function N(m,g){return g(m)}function I(m,g){return(h,y)=>g.intercept(h,{handle:M=>m(M,y)})}const j=new n.OlP("HTTP_INTERCEPTORS"),oe=new n.OlP("HTTP_INTERCEPTOR_FNS");function ue(){let m=null;return(g,h)=>(null===m&&(m=((0,n.f3M)(j,{optional:!0})??[]).reduceRight(I,N)),m(g,h))}let ze=(()=>{class m extends se{constructor(h,y){super(),this.backend=h,this.injector=y,this.chain=null}handle(h){if(null===this.chain){const y=Array.from(new Set(this.injector.get(oe)));this.chain=y.reduceRight((M,le)=>function L(m,g,h){return(y,M)=>h.runInContext(()=>g(y,le=>m(le,M)))}(M,le,this.injector),N)}return this.chain(h,y=>this.backend.handle(y))}}return m.\u0275fac=function(h){return new(h||m)(n.LFG(G),n.LFG(n.lqb))},m.\u0275prov=n.Yz7({token:m,factory:m.\u0275fac}),m})();const it=/^\)\]\}',?\n/;let gn=(()=>{class m{constructor(h){this.xhrFactory=h}handle(h){if("JSONP"===h.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new O.y(y=>{const M=this.xhrFactory.build();if(M.open(h.method,h.urlWithParams),h.withCredentials&&(M.withCredentials=!0),h.headers.forEach((pt,Lt)=>M.setRequestHeader(pt,Lt.join(","))),h.headers.has("Accept")||M.setRequestHeader("Accept","application/json, text/plain, */*"),!h.headers.has("Content-Type")){const pt=h.detectContentTypeHeader();null!==pt&&M.setRequestHeader("Content-Type",pt)}if(h.responseType){const pt=h.responseType.toLowerCase();M.responseType="json"!==pt?pt:"text"}const le=h.serializeBody();let Se=null;const Ct=()=>{if(null!==Se)return Se;const pt=M.statusText||"OK",Lt=new ee(M.getAllResponseHeaders()),Wt=function Tt(m){return"responseURL"in m&&m.responseURL?m.responseURL:/^X-Request-URL:/m.test(m.getAllResponseHeaders())?m.getResponseHeader("X-Request-URL"):null}(M)||h.url;return Se=new ae({headers:Lt,status:M.status,statusText:pt,url:Wt}),Se},et=()=>{let{headers:pt,status:Lt,statusText:Wt,url:Jt}=Ct(),Gn=null;204!==Lt&&(Gn=typeof M.response>"u"?M.responseText:M.response),0===Lt&&(Lt=Gn?200:0);let ro=Lt>=200&&Lt<300;if("json"===h.responseType&&"string"==typeof Gn){const xa=Gn;Gn=Gn.replace(it,"");try{Gn=""!==Gn?JSON.parse(Gn):null}catch(Cl){Gn=xa,ro&&(ro=!1,Gn={error:Cl,text:Gn})}}ro?(y.next(new me({body:Gn,headers:pt,status:Lt,statusText:Wt,url:Jt||void 0})),y.complete()):y.error(new Xe({error:Gn,headers:pt,status:Lt,statusText:Wt,url:Jt||void 0}))},Et=pt=>{const{url:Lt}=Ct(),Wt=new Xe({error:pt,status:M.status||0,statusText:M.statusText||"Unknown Error",url:Lt||void 0});y.error(Wt)};let Bt=!1;const Bn=pt=>{Bt||(y.next(Ct()),Bt=!0);let Lt={type:Ae.DownloadProgress,loaded:pt.loaded};pt.lengthComputable&&(Lt.total=pt.total),"text"===h.responseType&&M.responseText&&(Lt.partialText=M.responseText),y.next(Lt)},Dt=pt=>{let Lt={type:Ae.UploadProgress,loaded:pt.loaded};pt.lengthComputable&&(Lt.total=pt.total),y.next(Lt)};return M.addEventListener("load",et),M.addEventListener("error",Et),M.addEventListener("timeout",Et),M.addEventListener("abort",Et),h.reportProgress&&(M.addEventListener("progress",Bn),null!==le&&M.upload&&M.upload.addEventListener("progress",Dt)),M.send(le),y.next({type:Ae.Sent}),()=>{M.removeEventListener("error",Et),M.removeEventListener("abort",Et),M.removeEventListener("load",et),M.removeEventListener("timeout",Et),h.reportProgress&&(M.removeEventListener("progress",Bn),null!==le&&M.upload&&M.upload.removeEventListener("progress",Dt)),M.readyState!==M.DONE&&M.abort()}})}}return m.\u0275fac=function(h){return new(h||m)(n.LFG($.JF))},m.\u0275prov=n.Yz7({token:m,factory:m.\u0275fac}),m})();const Xn=new n.OlP("XSRF_ENABLED"),ar=new n.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),vn=new n.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class ln{}let Pt=(()=>{class m{constructor(h,y,M){this.doc=h,this.platform=y,this.cookieName=M,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const h=this.doc.cookie||"";return h!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,$.Mx)(h,this.cookieName),this.lastCookieString=h),this.lastToken}}return m.\u0275fac=function(h){return new(h||m)(n.LFG($.K0),n.LFG(n.Lbi),n.LFG(ar))},m.\u0275prov=n.Yz7({token:m,factory:m.\u0275fac}),m})();function gt(m,g){const h=m.url.toLowerCase();if(!(0,n.f3M)(Xn)||"GET"===m.method||"HEAD"===m.method||h.startsWith("http://")||h.startsWith("https://"))return g(m);const y=(0,n.f3M)(ln).getToken(),M=(0,n.f3M)(vn);return null!=y&&!m.headers.has(M)&&(m=m.clone({headers:m.headers.set(M,y)})),g(m)}var on=(()=>((on=on||{})[on.Interceptors=0]="Interceptors",on[on.LegacyInterceptors=1]="LegacyInterceptors",on[on.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",on[on.NoXsrfProtection=3]="NoXsrfProtection",on[on.JsonpSupport=4]="JsonpSupport",on[on.RequestsMadeViaParent=5]="RequestsMadeViaParent",on))();function Zt(m,g){return{\u0275kind:m,\u0275providers:g}}function lr(...m){const g=[he,gn,ze,{provide:se,useExisting:ze},{provide:G,useExisting:gn},{provide:oe,useValue:gt,multi:!0},{provide:Xn,useValue:!0},{provide:ln,useClass:Pt}];for(const h of m)g.push(...h.\u0275providers);return(0,n.MR2)(g)}const yr=new n.OlP("LEGACY_INTERCEPTOR_FN");let er=(()=>{class m{}return m.\u0275fac=function(h){return new(h||m)},m.\u0275mod=n.oAB({type:m}),m.\u0275inj=n.cJS({providers:[lr(Zt(on.LegacyInterceptors,[{provide:yr,useFactory:ue},{provide:oe,useExisting:yr,multi:!0}]))]}),m})();var Hn=b(6159),or=b(9770),Tn=b(2843),dr=b(4968),fn=b(7272),nn=b(7579),_n=b(5032);const $n=new O.y(_n.Z);var We=b(6451),Oe=b(3900),pe=b(4033),Ge=b(576),ot=b(8421),vt=b(4482);const cn={connector:()=>new nn.x};function wn(m,g=cn){const{connector:h}=g;return(0,vt.e)((y,M)=>{const le=h();(0,ot.Xf)(m(function zt(m){return new O.y(g=>m.subscribe(g))}(le))).subscribe(M),M.add(y.subscribe(le))})}function Dr(m,g){const h=(0,Ge.m)(m)?m:()=>m;return(0,Ge.m)(g)?wn(g,{connector:h}):y=>new pe.c(y,h)}function jn(m){return m?g=>wn(m)(g):g=>Dr(new nn.x)(g)}var Qt=b(5698),Mn=b(8505),mr=b(727);class Tr extends mr.w0{constructor(g,h){super()}schedule(g,h=0){return this}}const Jn={setInterval(m,g,...h){const{delegate:y}=Jn;return y?.setInterval?y.setInterval(m,g,...h):setInterval(m,g,...h)},clearInterval(m){const{delegate:g}=Jn;return(g?.clearInterval||clearInterval)(m)},delegate:void 0};var Yt=b(8737),yn=b(6063);class un{constructor(g,h=un.now){this.schedulerActionCtor=g,this.now=h}schedule(g,h=0,y){return new this.schedulerActionCtor(this,g).schedule(y,h)}}un.now=yn.l.now;const mn=new class bn extends un{constructor(g,h=un.now){super(g,h),this.actions=[],this._active=!1}flush(g){const{actions:h}=this;if(this._active)return void h.push(g);let y;this._active=!0;do{if(y=g.execute(g.state,g.delay))break}while(g=h.shift());if(this._active=!1,y){for(;g=h.shift();)g.unsubscribe();throw y}}}(class Un extends Tr{constructor(g,h){super(g,h),this.scheduler=g,this.work=h,this.pending=!1}schedule(g,h=0){var y;if(this.closed)return this;this.state=g;const M=this.id,le=this.scheduler;return null!=M&&(this.id=this.recycleAsyncId(le,M,h)),this.pending=!0,this.delay=h,this.id=null!==(y=this.id)&&void 0!==y?y:this.requestAsyncId(le,this.id,h),this}requestAsyncId(g,h,y=0){return Jn.setInterval(g.flush.bind(g,this),y)}recycleAsyncId(g,h,y=0){if(null!=y&&this.delay===y&&!1===this.pending)return h;null!=h&&Jn.clearInterval(h)}execute(g,h){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const y=this._execute(g,h);if(y)return y;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(g,h){let M,y=!1;try{this.work(g)}catch(le){y=!0,M=le||new Error("Scheduled action threw falsy error")}if(y)return this.unsubscribe(),M}unsubscribe(){if(!this.closed){const{id:g,scheduler:h}=this,{actions:y}=h;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Yt.P)(y,this),null!=g&&(this.id=this.recycleAsyncId(h,g,null)),this.delay=null,super.unsubscribe()}}}),Gt=mn;var On=b(5403),Mt=b(9718),Nt=b(5577);function hn(m,g){return g?h=>(0,fn.z)(g.pipe((0,Qt.q)(1),function Zn(){return(0,vt.e)((m,g)=>{m.subscribe((0,On.x)(g,_n.Z))})}()),h.pipe(hn(m))):(0,Nt.z)((h,y)=>(0,ot.Xf)(m(h,y)).pipe((0,Qt.q)(1),(0,Mt.h)(h)))}var Vn=b(3532);function Q(m){return m instanceof Date&&!isNaN(m)}function Me(m=0,g,h=Gt){let y=-1;return null!=g&&((0,Vn.K)(g)?h=g:y=g),new O.y(M=>{let le=Q(m)?+m-h.now():m;le<0&&(le=0);let Se=0;return h.schedule(function(){M.closed||(M.next(Se++),0<=y?this.schedule(void 0,y):M.complete())},le)})}const Te="Service workers are disabled or not supported by this browser";class Pe{constructor(g){if(this.serviceWorker=g,g){const y=(0,dr.R)(g,"controllerchange").pipe((0,Z.U)(()=>g.controller)),M=(0,or.P)(()=>(0,J.of)(g.controller)),le=(0,fn.z)(M,y);this.worker=le.pipe((0,V.h)(Bt=>!!Bt)),this.registration=this.worker.pipe((0,Oe.w)(()=>g.getRegistration()));const Et=(0,dr.R)(g,"message").pipe((0,Z.U)(Bt=>Bt.data)).pipe((0,V.h)(Bt=>Bt&&Bt.type)).pipe(jn());Et.connect(),this.events=Et}else this.worker=this.events=this.registration=function Be(m){return(0,or.P)(()=>(0,Tn._)(new Error(m)))}(Te)}postMessage(g,h){return this.worker.pipe((0,Qt.q)(1),(0,Mn.b)(y=>{y.postMessage({action:g,...h})})).toPromise().then(()=>{})}postMessageWithOperation(g,h,y){const M=this.waitForOperationCompleted(y),le=this.postMessage(g,h);return Promise.all([le,M]).then(([,Se])=>Se)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(g){let h;return h="string"==typeof g?y=>y.type===g:y=>g.includes(y.type),this.events.pipe((0,V.h)(h))}nextEventOfType(g){return this.eventsOfType(g).pipe((0,Qt.q)(1))}waitForOperationCompleted(g){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,V.h)(h=>h.nonce===g),(0,Qt.q)(1),(0,Z.U)(h=>{if(void 0!==h.result)return h.result;throw new Error(h.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let A=(()=>{class m{get isEnabled(){return this.sw.isEnabled}constructor(h){if(this.sw=h,this.pushManager=null,this.subscriptionChanges=new nn.x,!h.isEnabled)return this.messages=$n,this.notificationClicks=$n,void(this.subscription=$n);this.messages=this.sw.eventsOfType("PUSH").pipe((0,Z.U)(M=>M.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,Z.U)(M=>M.data)),this.pushManager=this.sw.registration.pipe((0,Z.U)(M=>M.pushManager));const y=this.pushManager.pipe((0,Oe.w)(M=>M.getSubscription()));this.subscription=(0,We.T)(y,this.subscriptionChanges)}requestSubscription(h){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(Te));const y={userVisibleOnly:!0};let M=this.decodeBase64(h.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),le=new Uint8Array(new ArrayBuffer(M.length));for(let Se=0;SeSe.subscribe(y)),(0,Qt.q)(1)).toPromise().then(Se=>(this.subscriptionChanges.next(Se),Se))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,Qt.q)(1),(0,Oe.w)(y=>{if(null===y)throw new Error("Not subscribed to push notifications.");return y.unsubscribe().then(M=>{if(!M)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Te))}decodeBase64(h){return atob(h)}}return m.\u0275fac=function(h){return new(h||m)(n.LFG(Pe))},m.\u0275prov=n.Yz7({token:m,factory:m.\u0275fac}),m})(),T=(()=>{class m{get isEnabled(){return this.sw.isEnabled}constructor(h){if(this.sw=h,!h.isEnabled)return this.versionUpdates=$n,this.available=$n,this.activated=$n,void(this.unrecoverable=$n);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe((0,V.h)(y=>"VERSION_READY"===y.type),(0,Z.U)(y=>({type:"UPDATE_AVAILABLE",current:y.currentVersion,available:y.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Te));const h=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:h},h)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Te));const h=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:h},h)}}return m.\u0275fac=function(h){return new(h||m)(n.LFG(Pe))},m.\u0275prov=n.Yz7({token:m,factory:m.\u0275fac}),m})();class H{}const te=new n.OlP("NGSW_REGISTER_SCRIPT");function we(m,g,h,y){return()=>{if(!(0,$.NF)(y)||!("serviceWorker"in navigator)||!1===h.enabled)return;let M;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof h.registrationStrategy)M=h.registrationStrategy();else{const[Se,...Ct]=(h.registrationStrategy||"registerWhenStable:30000").split(":");switch(Se){case"registerImmediately":M=(0,J.of)(null);break;case"registerWithDelay":M=Ce(+Ct[0]||0);break;case"registerWhenStable":M=Ct[0]?(0,We.T)(Ue(m),Ce(+Ct[0])):Ue(m);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${h.registrationStrategy}`)}}m.get(n.R0b).runOutsideAngular(()=>M.pipe((0,Qt.q)(1)).subscribe(()=>navigator.serviceWorker.register(g,{scope:h.scope}).catch(Se=>console.error("Service worker registration failed with:",Se))))}}function Ce(m){return(0,J.of)(null).pipe(function fe(m,g=mn){const h=Me(m,g);return hn(()=>h)}(m))}function Ue(m){return m.get(n.z2F).isStable.pipe((0,V.h)(h=>h))}function Qe(m,g){return new Pe((0,$.NF)(g)&&!1!==m.enabled?navigator.serviceWorker:void 0)}let Ke=(()=>{class m{static register(h,y={}){return{ngModule:m,providers:[{provide:te,useValue:h},{provide:H,useValue:y},{provide:Pe,useFactory:Qe,deps:[H,n.Lbi]},{provide:n.ip1,useFactory:we,deps:[n.zs3,te,H,n.Lbi],multi:!0}]}}}return m.\u0275fac=function(h){return new(h||m)},m.\u0275mod=n.oAB({type:m}),m.\u0275inj=n.cJS({providers:[A,T]}),m})();var ye=b(9767),yt=b(3771),_t=b(9509),Ft=b(7582),St=b(7598),fr=function(m){function g(){return null!==m&&m.apply(this,arguments)||this}return(0,Ft.ZT)(g,m),g.prototype.scan=function(h,y){return(0,St.DM)(this,"scan",{observable:!0},arguments)},g.prototype.startScan=function(h){return(0,St.DM)(this,"startScan",{observable:!0,clearFunction:"stopScan",clearWithArgs:!1},arguments)},g.prototype.startScanWithOptions=function(h,y){return(0,St.DM)(this,"startScanWithOptions",{observable:!0,clearFunction:"stopScan",clearWithArgs:!1},arguments)},g.prototype.stopScan=function(){return(0,St.DM)(this,"stopScan",{},arguments)},g.prototype.setPin=function(h){return(0,St.DM)(this,"setPin",{observable:!0},arguments)},g.prototype.connect=function(h){return(0,St.DM)(this,"connect",{observable:!0,clearFunction:"disconnect",clearWithArgs:!0},arguments)},g.prototype.autoConnect=function(h,y,M){return(0,St.DM)(this,"autoConnect",{sync:!0},arguments)},g.prototype.requestMtu=function(h,y){return(0,St.DM)(this,"requestMtu",{},arguments)},g.prototype.refreshDeviceCache=function(h,y){return(0,St.DM)(this,"refreshDeviceCache",{},arguments)},g.prototype.disconnect=function(h){return(0,St.DM)(this,"disconnect",{},arguments)},g.prototype.read=function(h,y,M){return(0,St.DM)(this,"read",{},arguments)},g.prototype.write=function(h,y,M,le){return(0,St.DM)(this,"write",{},arguments)},g.prototype.writeWithoutResponse=function(h,y,M,le){return(0,St.DM)(this,"writeWithoutResponse",{},arguments)},g.prototype.startNotification=function(h,y,M){return(0,St.DM)(this,"startNotification",{observable:!0,destruct:!0,clearFunction:"stopNotification",clearWithArgs:!0},arguments)},g.prototype.stopNotification=function(h,y,M){return(0,St.DM)(this,"stopNotification",{},arguments)},g.prototype.isConnected=function(h){return(0,St.DM)(this,"isConnected",{},arguments)},g.prototype.isEnabled=function(){return(0,St.DM)(this,"isEnabled",{},arguments)},g.prototype.startStateNotifications=function(){return(0,St.DM)(this,"startStateNotifications",{observable:!0,clearFunction:"stopStateNotifications",clearWithArgs:!1},arguments)},g.prototype.stopStateNotifications=function(){return(0,St.DM)(this,"stopStateNotifications",{},arguments)},g.prototype.startLocationStateNotifications=function(){return(0,St.DM)(this,"startLocationStateNotifications",{observable:!0,clearFunction:"stopLocationStateNotifications",clearWithArgs:!1},arguments)},g.prototype.stopLocationStateNotifications=function(){return(0,St.DM)(this,"stopLocationStateNotifications",{},arguments)},g.prototype.showBluetoothSettings=function(){return(0,St.DM)(this,"showBluetoothSettings",{},arguments)},g.prototype.enable=function(){return(0,St.DM)(this,"enable",{},arguments)},g.prototype.readRSSI=function(h){return(0,St.DM)(this,"readRSSI",{},arguments)},g.prototype.connectedPeripheralsWithServices=function(h){return(0,St.DM)(this,"connectedPeripheralsWithServices",{},arguments)},g.prototype.peripheralsWithIdentifiers=function(h){return(0,St.DM)(this,"peripheralsWithIdentifiers",{},arguments)},g.prototype.bondedDevices=function(){return(0,St.DM)(this,"bondedDevices",{},arguments)},g.prototype.isLocationEnabled=function(){return(0,St.DM)(this,"isLocationEnabled",{},arguments)},g.\u0275fac=function(){let h;return function(M){return(h||(h=n.n5z(g)))(M||g)}}(),g.\u0275prov=n.Yz7({token:g,factory:g.\u0275fac}),g.pluginName="BLE",g.plugin="cordova-plugin-ble-central",g.pluginRef="ble",g.repo="https://github.com/don/cordova-plugin-ble-central",g.platforms=["Android","iOS"],g=(0,Ft.gn)([],g)}(St.On),Pn=b(4598),tr=b(9986),Kn=b(9102),An=b(5082),Yr=b(9062),Cn=b(694),qn=b(4879),go=function(m){function g(){return null!==m&&m.apply(this,arguments)||this}return(0,Ft.ZT)(g,m),g.prototype.requestPermission=function(h){return(0,St.DM)(this,"requestPermission",{successIndex:1,errorIndex:2},arguments)},g.prototype.open=function(h){return(0,St.DM)(this,"open",{},arguments)},g.prototype.write=function(h){return(0,St.DM)(this,"write",{},arguments)},g.prototype.writeHex=function(h){return(0,St.DM)(this,"writeHex",{},arguments)},g.prototype.read=function(){return(0,St.DM)(this,"read",{},arguments)},g.prototype.registerReadCallback=function(){return(0,St.DM)(this,"registerReadCallback",{observable:!0},arguments)},g.prototype.close=function(){return(0,St.DM)(this,"close",{},arguments)},g.\u0275fac=function(){let h;return function(M){return(h||(h=n.n5z(g)))(M||g)}}(),g.\u0275prov=n.Yz7({token:g,factory:g.\u0275fac}),g.pluginName="Serial",g.plugin="cordovarduino",g.pluginRef="serial",g.repo="https://github.com/xseignard/cordovarduino",g.platforms=["Android"],g=(0,Ft.gn)([],g)}(St.On),Qr=b(4158),Nn=b(6188);class zn{constructor(g,h="/assets/i18n/",y=".json"){this.http=g,this.prefix=h,this.suffix=y}getTranslation(g){return this.http.get(`${this.prefix}${g}${this.suffix}`)}}class Ar{}var Pr=b(2076);function mo(m=0,g=mn){return m<0&&(m=0),Me(m,m,g)}var Vr=b(515),Rr=b(8675),xr=b(1884),vo=b(8746),Ao=b(1135),xo=b(3888),_o=b(9672);const ko=(0,xo.d)(m=>function(h=null){m(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=h});function Go(m,g){const{first:h,each:y,with:M=oi,scheduler:le=g??mn,meta:Se=null}=Q(m)?{first:m}:"number"==typeof m?{each:m}:m;if(null==h&&null==y)throw new TypeError("No timeout provided.");return(0,vt.e)((Ct,et)=>{let Et,Bt,Bn=null,Dt=0;const pt=Lt=>{Bt=(0,_o.f)(et,le,()=>{try{Et.unsubscribe(),(0,ot.Xf)(M({meta:Se,lastValue:Bn,seen:Dt})).subscribe(et)}catch(Wt){et.error(Wt)}},Lt)};Et=Ct.subscribe((0,On.x)(et,Lt=>{Bt?.unsubscribe(),Dt++,et.next(Bn=Lt),y>0&&pt(y)},void 0,void 0,()=>{Bt?.closed||Bt?.unsubscribe(),Bn=null})),!Dt&&pt(null!=h?"number"==typeof h?h:+h-le.now():y)})}function oi(m){throw new ko(m)}var bo=b(4707);function Gr(m,g,h,y){h&&!(0,Ge.m)(h)&&(y=h);const M=(0,Ge.m)(h)?h:void 0;return le=>Dr(new bo.t(m,g,y),M)(le)}var oo=b(8343),io=b(4782),Fr=b(5026);class Yn{constructor(g,h,y){this.array=void 0!==y?new Uint8Array(g,h,y):h?new Uint8Array(g,h):new Uint8Array(g)}get buffer(){return this.array.buffer}get byteLength(){return this.array.byteLength}get byteOffset(){return this.array.byteOffset}getUint4(g){return 15&this.array[g]}getUint8(g){return 15&this.array[g]|(15&this.array[g+1])<<4}getUint32(g){let h=0;return h|=(15&this.array[g+0])<<24,h|=(15&this.array[g+1])<<28,h|=(15&this.array[g+2])<<16,h|=(15&this.array[g+3])<<20,h|=(15&this.array[g+4])<<8,h|=(15&this.array[g+5])<<12,h|=(15&this.array[g+6])<<0,h|=(15&this.array[g+7])<<4,h}getUint8Array(g,h){let y=new Uint8Array(h);for(let M=0;M!=h;++M)y[M]=15&this.array[g+M];return y}setUint4(g,h){this.array[g]=48|h}setUint8(g,h){this.array[g]=15&h|48,this.array[g+1]=h>>4|48}toString(g,h){return String.fromCharCode.apply(null,[...this.subarray(g,h)])}static from(g,...h){let y=new Uint8Array(h.length+2),M=y[0]=g.charCodeAt(0);for(let le=0;le!=h.length;++le){const Se=h[le];y[le+1]=48|Se,M+=Se}return y[y.length-1]=48|15&M,new Yn(y.buffer)}static fromString(g){const h=new Uint8Array(g.split("").map(y=>y.charCodeAt(0)));return new Yn(h.buffer)}subarray(g,h){return void 0!==h?this.array.subarray(g,g+h):g?this.array.subarray(g):this.array}}const ii=Yn.fromString("?"),si=Yn.fromString("=10"),Po=Yn.fromString("0");var lo=(()=>{return(m=lo||(lo={}))[m.ESC=1]="ESC",m[m.PACE_CAR=1]="PACE_CAR",m[m.ENTER=2]="ENTER",m[m.START=2]="START",m[m.SPEED=5]="SPEED",m[m.BRAKE=6]="BRAKE",m[m.FUEL=7]="FUEL",m[m.CODE=8]="CODE",lo;var m})();class co{constructor(g,h){this.peripheral=g,this.settings=h,this.requests=new Array,this.state=new Ao.X("disconnected"),this.version=null,this.connection=this.peripheral.connect({next:()=>this.connection.next(ii.buffer)});const y=this.connection.pipe(Go({first:h.connectionTimeout,each:h.requestTimeout}),(0,Z.U)((M,le)=>(0==le&&this.state.next("connected"),M)));this.data=y.pipe(function Wo(m){return(0,vt.e)((g,h)=>{let y,le,M=!1;const Se=()=>{y=g.subscribe((0,On.x)(h,void 0,void 0,Ct=>{le||(le=new nn.x,(0,ot.Xf)(m(le)).subscribe((0,On.x)(h,()=>y?Se():M=!0))),le&&le.next(Ct)})),M&&(y.unsubscribe(),y=null,M=!1,Se())};Se()})}(M=>this.doReconnect(M)),(0,Mn.b)(()=>{this.poll()}),(0,Z.U)(M=>new Yn(M)),jn()),this.status=this.data.pipe((0,V.h)(M=>M.byteLength>=16&&"?:"===M.toString(0,2)),Gr(1),(0,oo.x)())}connect(){return this.state.next("connecting"),this.subscription=this.data.connect(),Promise.resolve()}disconnect(){return this.subscription&&this.subscription.unsubscribe(),Promise.resolve()}reconnect(){return new Promise(g=>{this.disconnect(),setTimeout(()=>{this.connect(),g()},this.settings.minReconnectDelay)})}getState(){return this.state.asObservable().pipe((0,xr.x)(),(0,io.d)())}getFuel(){return this.status.pipe((0,Z.U)(g=>g.getUint8Array(2,8)))}getStart(){return this.status.pipe((0,Z.U)(g=>g.getUint4(10)))}getMode(){return this.status.pipe((0,Z.U)(g=>g.getUint4(11)))}getPit(){return this.status.pipe((0,Z.U)(g=>g.getUint8(12)))}getTimer(){return this.data.pipe((0,V.h)(g=>g.byteLength>=12&&"?"===g.toString(0,1)&&":"!==g.toString(1,1)),(0,V.h)(g=>{const h=g.toString(1,1);return h>="1"&&h<="8"}),(0,Z.U)(g=>[g.getUint4(1)-1,g.getUint32(2),g.getUint4(10)]),(0,xr.x)((g,h)=>g[0]===h[0]&&g[1]===h[1]))}getVersion(){return this.version||(this.version=this.data.pipe((0,V.h)(g=>6==g.byteLength&&"0"==g.toString(0,1)),(0,Z.U)(g=>g.toString(1,4)),(0,Qt.q)(1)).toPromise(),this.requests.push(Po)),this.version}reset(){this.requests.push(si)}setLap(g){this.setLapHi(g>>4),this.setLapLo(15&g)}setLapHi(g){this.set(17,7,g)}setLapLo(g){this.set(18,7,g)}setPosition(g,h){this.set(6,g,h)}clearPosition(){this.set(6,0,9)}setMask(g){this.requests.push(Yn.from(":",15&g,g>>4))}setSpeed(g,h){this.set(0,g,h,2)}setBrake(g,h){this.set(1,g,h,2)}setFuel(g,h){this.set(2,g,h,2)}setFinished(g){this.set(7,g,1)}toggleStart(){this.trigger(lo.START)}trigger(g){this.requests.push(Yn.fromString("T"+String.fromCharCode(48|g)))}set(g,h,y,M=1){this.requests.push(Yn.from("J",15&g,g>>4|h<<1,y,M))}poll(){const g=this.requests.shift()||ii;this.connection.next(g.buffer)}doReconnect(g){const h=this.state;return g.pipe((0,Fr.R)((y,M)=>"connected"===h.value?0:y+1,0),(0,Mn.b)(()=>h.next("disconnected")),(0,x.b)(y=>{const M=this.settings.minReconnectDelay*Math.pow(1.5,y);return Me(Math.min(M,this.settings.maxReconnectDelay))}),(0,Mn.b)(()=>h.next("connecting")))}}var Dn=b(6698);const Er="39df7777-b1b4-b90b-57f1-7144ae4e4a6a",ir="$".charCodeAt(0);function Lr(m){return new Yn(m).toString()}class Ro{constructor(g,h,y){this.ble=h,this.logger=y,this.type="ble",this.name=g.name,this.address=g.id}connect(g,h){const y=this.createObservable(g,h),M=this.createObserver(h);return nn.x.create(M,y)}equals(g){return g&&g.type===this.type&&g.address===this.address}createObservable(g,h){return new O.y(y=>{this.logger.info("Connecting to BLE device "+this.address);let M=!1,le=null;return this.lastWritten=null,this.ble.connect(this.address).subscribe({next:Se=>{this.logger.info("Connected to BLE device",Se),M=!0,this.ble.startNotification(this.address,Er,"39df9999-b1b4-b90b-57f1-7144ae4e4a6a").subscribe({next:([Ct,et])=>{if(this.logger.isDebugEnabled()){const Et=Lr(Ct);Et!==le&&(this.logger.debug("BLE received "+Et),le=Et)}this.onNotify(Ct,y)},error:Ct=>this.onError(Ct,y)}),g&&this.ble.isConnected(this.address).then(()=>{this.logger.info("BLE device ready"),M&&g.next(void 0)}).catch(Ct=>{this.logger.error("BLE device not connected",Ct)})},error:Se=>{Se instanceof Error?(this.logger.error("BLE connection error",Se),y.error(Se)):M?(this.logger.info("BLE device disconnected",Se),y.complete()):(this.logger.error("BLE connection error",Se),y.error(new Error("Connection error"))),M=!1},complete:()=>{this.logger.info("BLE connection closed"),y.complete(),M=!1}}),()=>{this.disconnect(h)}})}createObserver(g){return{next:h=>{if(this.logger.isDebugEnabled()){const y=Lr(h);y!==this.lastWritten&&(this.logger.debug("BLE write "+y),this.lastWritten=y)}this.write(h)},error:h=>this.logger.error("BLE user error",h),complete:()=>this.disconnect(g)}}write(g){this.ble.writeWithoutResponse(this.address,Er,"39df8888-b1b4-b90b-57f1-7144ae4e4a6a",g).catch(h=>{this.logger.error("BLE write error",h)})}disconnect(g){this.logger.debug("Closing BLE connection to "+this.address),this.ble.disconnect(this.address).then(()=>{this.logger.info("BLE disconnected from "+this.address)}).catch(h=>{this.logger.error("BLE disconnect error",h)}).then(()=>{g&&g.next(void 0)})}onNotify(g,h){const y=new Uint8Array(g);y[y.length-1]==ir&&(y.copyWithin(1,0),y[0]=6==y.length?48:63),h.next(y.buffer)}onError(g,h){h.error(g)}}let vr=(()=>{var m;class g extends Ar{constructor(y,M,le){super(),this.ble=y,this.logger=M,this.platform=le,this.devices=new Map,this.scanner=(0,Pr.D)(this.platform.ready()).pipe((0,Oe.w)(Se=>"cordova"==Se?mo(1e3).pipe((0,Rr.O)(null),(0,Oe.w)(()=>(0,Pr.D)(this.ble.isEnabled().then(()=>!0,()=>!1)))):(0,J.of)(!1)),(0,xr.x)(),(0,Oe.w)(Se=>Se?(this.logger.info("Start scanning for BLE devices"),this.ble.startScanWithOptions([],{reportDuplicates:!0,scanMode:"lowLatency"}).pipe((0,vo.x)(()=>this.logger.info("Stop scanning for BLE devices")))):(this.logger.info("Not scanning for BLE devices"),(0,Vr.c)())))}scan(){return this.scanner.pipe((0,Rr.O)(...this.devices.values()),function yo(m,g){return(0,vt.e)((h,y)=>{const M=new Set;h.subscribe((0,On.x)(y,le=>{const Se=m?m(le):le;M.has(Se)||(M.add(Se),y.next(le))})),g&&(0,ot.Xf)(g).subscribe((0,On.x)(y,()=>M.clear(),_n.Z))})}(y=>y.id),(0,Mn.b)(y=>this.logger.debug("Discovered BLE device:",y)),(0,V.h)(y=>/Control.Unit/i.test(y.name||"")),(0,Mn.b)(y=>this.logger.info("Discovered Control Unit device:",y)),(0,Mn.b)(y=>this.devices.set(y.id,y)),(0,Mn.b)(y=>this.logger.debug("Cached devices:",Array.from(this.devices.values()))),(0,Z.U)(y=>new Ro(y,this.ble,this.logger)))}}return(m=g).\u0275fac=function(y){return new(y||m)(n.LFG(fr),n.LFG(Dn.ed),n.LFG(ye.t4))},m.\u0275prov=n.Yz7({token:m,factory:m.\u0275fac}),g})();function sr(m,g){return m+Math.random()*(g-m)}function Hr(m){let g=new Uint8Array(m);return String.fromCharCode.apply(null,[...g])}class hr{constructor(g){this.sector=0,this.pit=!1,this.events=new n.vpe,this.id=g,this.fuel="7"==this.id||"8"==this.id?0:255}start(g,h,y=1,M=0){this.maxSectorTime=h,this.minSectorTime="8"==this.id?g+.8*(h-g):"7"==this.id?g+.5*(h-g):g,this.timeout=setTimeout(()=>this.onNext(),M),this.sectors=y}stop(){clearTimeout(this.timeout)}onRefuel(){this.fuel+=16,this.timeout=this.fuel>=sr(192,240)?setTimeout(()=>this.onNext(),this.fuelTime()):setTimeout(()=>this.onRefuel(),500)}onNext(){++this.sector>this.sectors&&(this.sector=1),"7"==this.id||"8"==this.id?(this.events.emit(this),this.timeout=setTimeout(()=>this.onNext(),sr(this.minSectorTime,this.maxSectorTime))):((this.fuel>=16||1!==this.sector)&&this.events.emit(this),this.fuelthis.onRefuel(),1500)):this.timeout=setTimeout(()=>this.onFuel(),this.fuelTime()))}onFuel(){this.pit=!1,this.fuel=Math.max(0,this.fuel-sr(4,16)),this.timeout=setTimeout(()=>this.onNext(),this.fuelTime())}fuelTime(){return sr(this.minSectorTime,this.maxSectorTime)/2}}class Ci{constructor(g,h,y){this.name=g,this.mode=h,this.logger=y,this.start=Date.now(),this.startSequence=0,this.cars=[new hr("1"),new hr("2"),new hr("3"),new hr("4"),new hr("5"),new hr("6"),new hr("7"),new hr("8")],this.laps=[],this.config={numCars:8,numSectors:3,maxStartTime:1500,minSectorTime:3e3,maxSectorTime:4e3},this.type="demo",this.version=Yn.from("0",..."5336".split("").map(M=>M.charCodeAt(0))).buffer;for(let M=0;M!=this.config.numCars;++M)this.cars[M].events.subscribe(le=>this.laps.push(this.createLap(le.id,le.sector)));this.startAll()}connect(g,h){return nn.x.create(this.createObserver(),this.createObservable(g,h))}equals(g){return g&&g.type===this.type&&g.name==this.name}createObservable(g,h){return new O.y(y=>(this.logger.info("Creating Demo observable with mode="+this.mode),this.subscriber=y,setTimeout(()=>{g&&g.next(void 0)},100),()=>{this.logger.info("Destroying Demo observable"),h&&h.next(void 0),delete this.subscriber}))}createObserver(){return{next:g=>{Math.random()<1e-4?this.subscriber&&(console.log("Random Demo error"),this.subscriber.error(new Error("Demo Error"))):("?"!=Hr(g)&&console.log("Demo CU received "+Hr(g)),"T1"==Hr(g)&&this.onESC(),"T2"==Hr(g)&&this.onStart(),Math.random()<1e-4?console.log("Random Demo timeout"):setTimeout(()=>{this.subscriber&&("0"==Hr(g)?this.subscriber.next(this.version):this.subscriber.next(this.laps.length?this.laps.shift():this.createStatus()))},100))},error:g=>{console.log("Demo connection error:",g)},complete:()=>{console.log("Demo connection complete"),this.subscriber.complete()}}}createLap(g,h=1){const y=Date.now()-this.start;return Yn.from("?",parseInt(g),y>>24&15,y>>28&15,y>>16&15,y>>20&15,y>>8&15,y>>12&15,y>>0&15,y>>4&15,h).buffer}createStatus(){return Yn.from("?",10,this.cars[0].fuel>>4&15,this.cars[1].fuel>>4&15,this.cars[2].fuel>>4&15,this.cars[3].fuel>>4&15,this.cars[4].fuel>>4&15,this.cars[5].fuel>>4&15,this.cars[6].fuel>>4&15,this.cars[7].fuel>>4&15,this.startSequence,this.mode,this.getPitMask(0,4),this.getPitMask(4,8),8).buffer}getPitMask(g,h){let y=0;for(let M=g;M!=h;++M)y>>=1,y|=this.cars[M].pit?8:0;return y}onStart(){0==this.startSequence?(this.stopAll(),this.startSequence=1):7==this.startSequence?(this.startAll(),this.startSequence=0):(this.startSequence++,setTimeout(()=>this.onStart(),1e3))}onESC(){1==this.startSequence&&(this.startAll(),this.startSequence=0)}startAll(){for(let g=0;g!=this.config.numCars;++g)this.cars[g].start(this.config.minSectorTime,this.config.maxSectorTime,this.config.numSectors,sr(0,this.config.maxStartTime))}stopAll(){for(let g=0;g!=this.config.numCars;++g)this.cars[g].stop()}}let Eo=(()=>{var m;class g extends Ar{constructor(y){super(),this.logger=y}scan(){return(0,J.of)(new Ci("Demo Control Unit",6,this.logger))}}return(m=g).\u0275fac=function(y){return new(y||m)(n.LFG(Dn.ed))},m.\u0275prov=n.Yz7({token:m,factory:m.\u0275fac}),g})();var eo=b(3099);const u="$".charCodeAt(0);class s{constructor(g,h){this.serial=g,this.logger=h,this.type="serial",this.name="Serial USB OTG",this.connected=!1}connect(g,h){const y=this.createObservable(g,h),M=this.createObserver(h);return nn.x.create(M,y)}equals(g){return g&&g.type===this.type}createObservable(g,h){return new O.y(y=>(this.logger.info("Connecting to serial port"),this.open({baudRate:19200,sleepOnPause:!1}).then(()=>{this.connected=!0,this.logger.info("Connected to serial port");let M=new Uint8Array(0);this.serial.registerReadCallback().subscribe({next:le=>{M=function R(m,g){if(0==m.length)return g;if(0==g.length)return m;{let h=new Uint8Array(m.length+g.length);return h.set(m,0),h.set(g,m.byteLength),h}}(M,new Uint8Array(le));let Se=-1;for(;-1!=(Se=M.indexOf(u));){let Ct=new Uint8Array(M.subarray(0,Se));if(M=M.subarray(Se+1),this.logger.isDebugEnabled()){const et=String.fromCharCode.apply(null,[...Ct]);et!==this.lastReceived&&(this.logger.debug("Serial received "+et),this.lastReceived=et)}y.next(Ct.buffer)}},error:le=>{this.logger.error("Error reading from serial port",le),y.error(le)}}),g&&g.next(void 0)}).catch(M=>{this.logger.error("Error connecting to serial port",M),y.error(M)}),()=>{this.close(h)}))}createObserver(g){return{next:h=>this.write(h),error:h=>this.logger.error("Serial user error",h),complete:()=>this.close(g)}}open(g){return this.serial.open(g)}write(g){const h=String.fromCharCode.apply(null,[...new Uint8Array(g)]);this.logger.isDebugEnabled()&&h!==this.lastWritten&&(this.logger.debug("Serial write "+h),this.lastWritten=h),this.serial.write('"'+h+"$").catch(y=>{this.logger.error("Serial write error",y)})}close(g){this.connected&&(this.logger.info("Closing serial port"),this.serial.close().then(()=>{this.logger.info("Serial port closed")}).catch(h=>{this.logger.error("Error closing serial port",h)}).then(()=>{g&&g.next(void 0)}),this.connected=!1)}}let l=(()=>{var m;class g extends Ar{constructor(y,M,le){super(),this.serial=M,this.logger=le,this.scanner=(0,Pr.D)(y.getDeviceInfo()).pipe((0,Oe.w)(Se=>y.isAndroid()&&y.isCordova()&&!Se.isVirtual&&parseInt(Se.version)<12?(0,Pr.D)(this.serial.requestPermission().then(()=>!0,()=>!1)):(0,J.of)(!1)),(0,Mn.b)(Se=>this.logger.info("Serial device "+(Se?"":"not")+" enabled")),(0,eo.B)())}scan(){return this.scanner.pipe((0,Oe.w)(y=>y?(0,J.of)(new s(this.serial,this.logger)):(0,Vr.c)()))}}return(m=g).\u0275fac=function(y){return new(y||m)(n.LFG(Dn.zi),n.LFG(go),n.LFG(Dn.ed))},m.\u0275prov=n.Yz7({token:m,factory:m.\u0275fac}),g})();var d=b(262);const F="39df7777-b1b4-b90b-57f1-7144ae4e4a6a",Vt="$".charCodeAt(0);function Ze(m){return new Yn(m).toString()}class Ut{constructor(g,h){this.device=g,this.logger=h,this.type="web-bluetooth",this.name=g.name}connect(g,h){const y=this.createObservable(g,h),M=this.createObserver(h);return nn.x.create(M,y)}equals(g){return g&&g.type===this.type}createObservable(g,h){return new O.y(y=>{this.logger.info("Connecting to Web Bluetooth device "+this.device.id);const M=this.device.gatt.connect().then(et=>et.getPrimaryService(F)),le=M.then(et=>et.getCharacteristic("39df9999-b1b4-b90b-57f1-7144ae4e4a6a")),Se=et=>{const Et=et.target.value.buffer;if(this.logger.isDebugEnabled()){const Bt=Ze(Et);Bt!==Ct&&(this.logger.debug("Web Bluetooth received "+Bt),Ct=Bt)}this.onNotify(Et,y)};let Ct=null;return this.lastWritten=null,this.output=M.then(et=>et.getCharacteristic("39df8888-b1b4-b90b-57f1-7144ae4e4a6a")),le.then(et=>et.startNotifications().then(Et=>et)).then(et=>{et.addEventListener("characteristicvaluechanged",Se),this.logger.info("Web Bluetooth device ready"),g&&g.next(void 0)}).catch(et=>{this.onError(et,y)}),()=>{le.then(et=>et.stopNotifications().then(Et=>et)).then(et=>{et.removeEventListener("characteristicvaluechanged",Se)}).catch(et=>{this.logger.error("Error stopping Web Bluetooth notifications",et)}).then(et=>{this.disconnect(h)})}})}createObserver(g){return{next:h=>{if(this.device.gatt.connected&&this.output){if(this.logger.isDebugEnabled()){const y=Ze(h);y!==this.lastWritten&&(this.logger.debug("Web Bluetooth write "+y),this.lastWritten=y)}this.output.then(y=>y.writeValue(h)).catch(y=>{this.logger.error("Web Bluetooth write error",y)})}else this.logger.error("Web Bluetooth write while device disconnected")},error:h=>this.logger.error("Web Bluetooth user error",h),complete:()=>this.disconnect(g)}}disconnect(g){if(this.device.gatt.connected){this.logger.debug("Closing Web Bluetooth connection to "+this.device.id);try{this.device.gatt.disconnect()}catch(h){this.logger.debug("Error closing Web Bluetooth connection",h)}this.output=null,g&&g.next(void 0)}}onNotify(g,h){const y=new Uint8Array(g);y[y.length-1]==Vt&&(y.copyWithin(1,0),y[0]=6==y.length?48:63),h.next(y.buffer)}onError(g,h){h.error(g)}}let to=(()=>{var m;class g extends Ar{constructor(y,M){super(),this.logger=y,this.platform=M,this.navigator=window.navigator}scan(){return(0,Pr.D)(this.platform.ready()).pipe((0,Oe.w)(y=>"cordova"!=y&&this.navigator.bluetooth?(0,Pr.D)(this.requestDevice()).pipe((0,d.K)(M=>(this.logger.error("Error requesting Web Bluetooth device:",M),(0,Vr.c)()))):(0,Vr.c)()))}requestDevice(){return this.device?this.device:this.navigator.bluetooth.requestDevice({filters:[{name:"Control_Unit"}],optionalServices:[F]}).then(y=>{const M=new Ut(y,this.logger);return this.device=Promise.resolve(M),M})}}return(m=g).\u0275fac=function(y){return new(y||m)(n.LFG(Dn.ed),n.LFG(ye.t4))},m.\u0275prov=n.Yz7({token:m,factory:m.\u0275fac}),g})(),fo=(()=>{var m;class g{}return(m=g).\u0275fac=function(y){return new(y||m)},m.\u0275mod=n.oAB({type:m}),m.\u0275inj=n.cJS({providers:[{provide:Ar,useClass:vr,multi:!0},{provide:Ar,useClass:Eo,multi:!0},{provide:Ar,useClass:l,multi:!0},{provide:Ar,useClass:to,multi:!0}]}),g})();var jt=b(4006),jr=b(4466);let Zo=(()=>{var m;class g{}return(m=g).\u0275fac=function(y){return new(y||m)},m.\u0275mod=n.oAB({type:m}),m.\u0275inj=n.cJS({imports:[$.ez,jt.u5,ye.Pc,jr.m]}),g})();const Wr=["*"];let Ko=(()=>{var m;class g{}return(m=g).\u0275fac=function(y){return new(y||m)},m.\u0275cmp=n.Xpm({type:m,selectors:[["outline"]],inputs:{color:"color"},ngContentSelectors:Wr,decls:2,vars:2,consts:[[1,"outline"]],template:function(y,M){1&y&&(n.F$t(),n.TgZ(0,"div",0),n.Hsn(1),n.qZA()),2&y&&n.Udp("background-color",M.color)},styles:["[_nghost-%COMP%]{white-space:nowrap;padding:0!important}[slot=start][_nghost-%COMP%]{white-space:nowrap;margin-inline-end:.5em;padding:0!important}div.outline[_ngcontent-%COMP%]{display:inline-flex;justify-content:center;align-items:center;color:var(--ion-background-color);border-bottom-right-radius:.4em;width:1.65em!important;min-height:1.65em;padding:0!important;height:100%}"]}),g})();function Gi(m,g){if(1&m){const h=n.EpF();n.TgZ(0,"ion-col")(1,"ion-button",7),n.NdJ("click",function(){const le=n.CHM(h).$implicit,Se=n.oxw(2);return n.KtG(Se.setColor(le))}),n.qZA()()}if(2&m){const h=g.$implicit;n.xp6(1),n.Udp("--background",h)}}function Fs(m,g){if(1&m&&(n.TgZ(0,"ion-row"),n.YNc(1,Gi,2,2,"ion-col",5),n.qZA()),2&m){const h=g.$implicit;n.xp6(1),n.Q6J("ngForOf",h)}}const Wi=function(m){return{number:m}};let Zi=(()=>{var m;class g{constructor(y,M){this.mc=M,this.placeholder="Driver {{number}}",this.colors=[["#ff0000","#00ff00","#0000ff","#ffff00","#ff00ff","#00ffff","#c0c0c0","#ffffff"],["#c02040","#408080","#4080c0","#ff8020","#ff8080","#20ffc0","#404040","#000000"]],this.driver=y.get("driver"),this.id=y.get("id"),this.color=this.driver.color}update(y,M){console.log("update",y,M);const le=("0"+M.detail.value.toString(16)).slice(-2);switch(y){case"r":this.color=this.color.substring(0,1)+le+this.color.substring(3);break;case"g":this.color=this.color.substring(0,3)+le+this.color.substring(5);break;case"b":this.color=this.color.substring(0,5)+le+this.color.substring(7)}console.log(this.color)}setColor(y){this.color=y}get r(){return this.color?Number.parseInt(this.color.substring(1,3),16):0}get g(){return this.color?Number.parseInt(this.color.substring(3,5),16):0}get b(){return this.color?Number.parseInt(this.color.substring(5,7),16):0}onSubmit(y){this.mc.dismiss(y)}onCancel(){this.mc.dismiss()}}return(m=g).\u0275fac=function(y){return new(y||m)(n.Y36(ye.X1),n.Y36(ye.IN))},m.\u0275cmp=n.Xpm({type:m,selectors:[["ng-component"]],decls:36,vars:15,consts:[["mode","md"],[3,"color"],["min","0","max","255",3,"value","ionChange"],["slot","label"],["slot","end"],[4,"ngFor","ngForOf"],["translate","",3,"click"],["expand","block",3,"click"]],template:function(y,M){1&y&&(n.TgZ(0,"ion-header")(1,"ion-toolbar",0)(2,"ion-title")(3,"outline",1),n._uU(4),n.qZA(),n._uU(5),n.ALo(6,"translate"),n.qZA()()(),n.TgZ(7,"ion-content")(8,"ion-item")(9,"ion-range",2),n.NdJ("ionChange",function(Se){return M.update("r",Se)}),n.TgZ(10,"ion-label",3),n._uU(11,"R"),n.qZA(),n.TgZ(12,"ion-badge",4),n._uU(13),n.qZA()()(),n.TgZ(14,"ion-item")(15,"ion-range",2),n.NdJ("ionChange",function(Se){return M.update("g",Se)}),n.TgZ(16,"ion-label",3),n._uU(17,"G"),n.qZA(),n.TgZ(18,"ion-badge",4),n._uU(19),n.qZA()()(),n.TgZ(20,"ion-item")(21,"ion-range",2),n.NdJ("ionChange",function(Se){return M.update("b",Se)}),n.TgZ(22,"ion-label",3),n._uU(23,"B"),n.qZA(),n.TgZ(24,"ion-badge",4),n._uU(25),n.qZA()()(),n.TgZ(26,"ion-item")(27,"ion-grid"),n.YNc(28,Fs,2,1,"ion-row",5),n.qZA()()(),n.TgZ(29,"ion-footer")(30,"ion-toolbar")(31,"ion-buttons",4)(32,"ion-button",6),n.NdJ("click",function(){return M.onCancel()}),n._uU(33," Cancel "),n.qZA(),n.TgZ(34,"ion-button",6),n.NdJ("click",function(){return M.onSubmit(M.color)}),n._uU(35," OK "),n.qZA()()()()),2&y&&(n.xp6(3),n.Q6J("color",M.color),n.xp6(1),n.hij(" ",M.id+1," "),n.xp6(1),n.hij(" ",M.driver.name||n.xi3(6,10,M.placeholder,n.VKq(13,Wi,M.id+1))," "),n.xp6(4),n.Q6J("value",M.r),n.xp6(4),n.Oqu(M.r),n.xp6(2),n.Q6J("value",M.g),n.xp6(4),n.Oqu(M.g),n.xp6(2),n.Q6J("value",M.b),n.xp6(4),n.Oqu(M.b),n.xp6(3),n.Q6J("ngForOf",M.colors))},dependencies:[$.sg,ye.yp,ye.YG,ye.Sm,ye.wI,ye.W2,ye.fr,ye.jY,ye.Gu,ye.Ie,ye.Q$,ye.I_,ye.Nd,ye.wd,ye.sr,ye.QI,Ko,Nn.Pi,Nn.X$],encapsulation:2}),g})();var kn=b(227);const Zr=function(m){return{number:m}};function Fo(m,g){if(1&m){const h=n.EpF();n.TgZ(0,"ion-item")(1,"ion-button",5),n.NdJ("click",function(){const le=n.CHM(h).index,Se=n.oxw();return n.KtG(Se.chooseColor(le))}),n.TgZ(2,"outline",6),n._uU(3),n.qZA()(),n.TgZ(4,"ion-input",7),n.NdJ("ngModelChange",function(M){const le=n.CHM(h),Se=le.$implicit,Ct=le.index,et=n.oxw();return n.KtG(Se.code=et.getCode(Se.name=M,Ct))})("ionChange",function(M){n.CHM(h);const le=n.oxw();return n.KtG(le.onChangeName(M))}),n.ALo(5,"translate"),n.qZA(),n.TgZ(6,"ion-buttons",8)(7,"ion-note"),n._uU(8),n.qZA(),n.TgZ(9,"ion-button",9),n.NdJ("click",function(){const le=n.CHM(h).index,Se=n.oxw();return n.KtG(Se.speak(le))}),n._UZ(10,"ion-icon",10),n.qZA(),n._UZ(11,"ion-reorder",8),n.qZA()()}if(2&m){const h=g.$implicit,y=g.index,M=n.oxw();n.xp6(2),n.Q6J("color",h.color),n.xp6(1),n.hij(" ",y+1," "),n.xp6(1),n.Q6J("ngModel",h.name)("placeholder",n.xi3(5,5,M.placeholder,n.VKq(8,Zr,y+1))),n.xp6(4),n.Oqu(h.code||"#"+(y+1))}}let wo=(()=>{var m;class g{constructor(y,M,le,Se,Ct){this.logger=y,this.settings=M,this.mc=le,this.speech=Se,this.translate=Ct,this.placeholder="Driver {{number}}"}ngOnInit(){this.settings.getDrivers().pipe((0,Qt.q)(1)).toPromise().then(y=>{this.drivers=y}).catch(y=>{this.logger.error("Error getting drivers",y)})}ngOnDestroy(){this.settings.setDrivers(this.drivers).catch(y=>{this.logger.error("Error setting drivers",y)})}getCode(y,M){let le=y.replace(/\W/g,"").toUpperCase(),Se=this.drivers.filter((Ct,et)=>et!==M).map(Ct=>Ct.code);for(let Ct=2;Ct{M.onDidDismiss().then(le=>{le.data&&(this.drivers[y].color=le.data)}),M.present()})}speak(y){this.getDriverName(y).then(M=>{this.speech.speak(M)})}onChangeName(y){y?.target?.getInputElement().then(M=>M.blur())}getDriverName(y){return this.drivers[y]&&this.drivers[y].name?Promise.resolve(this.drivers[y].name):this.translate.get(this.placeholder,{number:y+1}).toPromise()}}return(m=g).\u0275fac=function(y){return new(y||m)(n.Y36(Dn.ed),n.Y36(kn.de),n.Y36(ye.IN),n.Y36(Dn.vA),n.Y36(Nn.sK))},m.\u0275cmp=n.Xpm({type:m,selectors:[["ng-component"]],decls:10,vars:1,consts:[["slot","start"],["defaultHref","/"],["translate",""],["disabled","false",3,"ionItemReorder"],[4,"ngFor","ngForOf"],["slot","start","size","large","fill","clear",1,"ion-no-padding",3,"click"],[3,"color"],["clearInput","","enterkeyhint","done",3,"ngModel","placeholder","ngModelChange","ionChange"],["slot","end"],["fill","clear",3,"click"],["name","volume-high-sharp"]],template:function(y,M){1&y&&(n.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),n._UZ(3,"ion-back-button",1),n.qZA(),n.TgZ(4,"ion-title")(5,"span",2),n._uU(6,"Drivers"),n.qZA()()()(),n.TgZ(7,"ion-content")(8,"ion-reorder-group",3),n.NdJ("ionItemReorder",function(Se){return M.reorderItems(Se)}),n.YNc(9,Fo,12,10,"ion-item",4),n.qZA()()),2&y&&(n.xp6(9),n.Q6J("ngForOf",M.drivers))},dependencies:[$.sg,jt.JJ,jt.On,ye.oU,ye.YG,ye.Sm,ye.W2,ye.Gu,ye.gu,ye.pK,ye.Ie,ye.uN,ye.Nh,ye.oz,ye.wd,ye.sr,ye.j9,ye.cs,Ko,Nn.Pi,Nn.X$],encapsulation:2}),g})();var Kr=b(9841);function qo(){return(0,vt.e)((m,g)=>{let h,y=!1;m.subscribe((0,On.x)(g,M=>{const le=h;h=M,y&&g.next([le,M]),y=!0}))})}var Ls=b(4671),Di=b(3269);function Jo(...m){const g=(0,Di.jO)(m);return(0,vt.e)((h,y)=>{const M=m.length,le=new Array(M);let Se=m.map(()=>!1),Ct=!1;for(let et=0;et{le[et]=Et,!Ct&&!Se[et]&&(Se[et]=!0,(Ct=Se.every(Ls.y))&&(Se=null))},_n.Z));h.subscribe((0,On.x)(y,et=>{if(Ct){const Et=[et,...le];y.next(g?g(...Et):Et)}}))})}function ai(m,g){1&m&&(n.TgZ(0,"span"),n._uU(1,"\u2026"),n.qZA())}let Ei=(()=>{var m;class g{constructor(y,M,le,Se){this.alert=y,this.settings=M,this.controller=le,this.options=new kn.Ei,this.params=Se.data}get sectors(){return this.options.sectors}set sectors(y){this.options.sectors=y,this.settings.setOptions(this.options),this.dismiss()}get fixedOrder(){return this.options.fixedorder}set fixedOrder(y){this.options.fixedorder=y,this.settings.setOptions(this.options),this.dismiss()}get speech(){return this.options.speech}set speech(y){this.options.speech=y,this.settings.setOptions(this.options),this.dismiss()}ngOnInit(){this.subscription=this.settings.getOptions().subscribe(y=>{this.options=y})}ngOnDestroy(){this.subscription.unsubscribe()}onRestart(){this.dismiss().then(()=>{this.params.active?this.alert.show({message:"Restart "+this.params.mode+"?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>this.params.restart()}]}):this.params.restart()})}onCancel(){this.dismiss().then(()=>{this.params.active?this.alert.show({message:"Cancel "+this.params.mode+"?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>this.params.cancel()}]}):this.params.cancel()})}dismiss(){return this.controller.dismiss({})}}return(m=g).\u0275fac=function(y){return new(y||m)(n.Y36(Dn.Pn),n.Y36(kn.de),n.Y36(ye.Dh),n.Y36(ye.X1))},m.\u0275cmp=n.Xpm({type:m,selectors:[["ng-component"]],decls:20,vars:5,consts:[["translate","",3,"ngModel","ngModelChange"],["button","",3,"disabled","click"],["translate",""],["button","",3,"click"],[4,"ngIf"]],template:function(y,M){1&y&&(n.TgZ(0,"ion-item-group")(1,"ion-item")(2,"ion-checkbox",0),n.NdJ("ngModelChange",function(Se){return M.fixedOrder=Se}),n._uU(3,"Order by number"),n.qZA()(),n.TgZ(4,"ion-item")(5,"ion-checkbox",0),n.NdJ("ngModelChange",function(Se){return M.sectors=Se}),n._uU(6,"Sector times"),n.qZA()(),n.TgZ(7,"ion-item")(8,"ion-checkbox",0),n.NdJ("ngModelChange",function(Se){return M.speech=Se}),n._uU(9,"Notifications"),n.qZA()(),n.TgZ(10,"ion-item",1),n.NdJ("click",function(){return M.onCancel()}),n.TgZ(11,"ion-label")(12,"span",2),n._uU(13,"Cancel"),n.qZA(),n._uU(14,"\u2026"),n.qZA()(),n.TgZ(15,"ion-item",3),n.NdJ("click",function(){return M.onRestart()}),n.TgZ(16,"ion-label")(17,"span",2),n._uU(18,"Restart"),n.qZA(),n.YNc(19,ai,2,0,"span",4),n.qZA()()()),2&y&&(n.xp6(2),n.Q6J("ngModel",M.fixedOrder),n.xp6(3),n.Q6J("ngModel",M.sectors),n.xp6(3),n.Q6J("ngModel",M.speech),n.xp6(2),n.Q6J("disabled",!M.params.active),n.xp6(9),n.Q6J("ngIf",M.params.active))},dependencies:[$.O5,jt.JJ,jt.On,ye.nz,ye.Ie,ye.Ub,ye.Q$,ye.w,Nn.Pi],encapsulation:2}),g})();const{isArray:li}=Array;function as(m){return 1===m.length&&li(m[0])?m[0]:m}var ci=b(3268),Li=b(9635);function Ni(...m){const g=(0,Di.jO)(m);return g?(0,Li.z)(Ni(...m),(0,ci.Z)(g)):(0,vt.e)((h,y)=>{(0,Kr.l)([h,...as(m)])(y)})}function ki(m,g){return(m.best[0]||1/0)-(g.best[0]||1/0)}const Nr={practice:ki,qualifying:ki,race:function Ns(m,g){return g.laps-m.laps||function qi(m,g){const h=m-g;return isNaN(h)?isNaN(m)?isNaN(g)?0:1:-1:h}(m.time,g.time)||m.id-g.id}};class Vo{constructor(g,h){this.cu=g,this.options=h,this.finished=new Ao.X(!1),this.yellowFlag=new Ao.X(!1),this.started=!1,this.stopped=!1,this.active=0,this.realMask=null;const y=Nr[h.mode],M=(0,We.T)(g.getStart().pipe((0,xr.x)(),(0,V.h)(et=>0!=et)),g.getState().pipe((0,V.h)(et=>"connected"==et))).pipe((0,Z.U)(et=>{g.setMask(this.mask)})),le=g.getTimer().pipe((0,V.h)(([et])=>!(this.mask&1<{const Wt=Date.now();return ptet)),Se=g.getFuel(),Ct=g.getPit();this.mask=(h.auto?0:64)|(h.pace?0:128),h.drivers?(this.mask|=function cs(m,g){let h=0;for(;m!==g;)h|=1<Et),(0,Nt.z)(et=>et),(0,Fr.R)((et,Et)=>{const Bt=[...et];return Bt[Et.id]=Et,Bt},[]),(0,Z.U)(et=>{const Et=et.filter(Bt=>!!Bt);return Et.sort(y),Et})),this.currentLap=this.grid.pipe((0,Nt.z)(et=>et),(0,Fr.R)((et,Et)=>et>Et.laps?et:this.finished.value||isNaN(Et.time)?Et.laps:Et.laps+1,0),(0,Rr.O)(0),Gr(1),(0,oo.x)(),(0,xr.x)()),this.timer=h.time?mo(500).pipe(Jo(g.getStart(),g.getState()),(0,V.h)(([et,Et,Bt])=>this.started&&(!this.options.pause||0==Et&&"connected"==Bt)),(0,Fr.R)((et,Et)=>Math.max(0,et-500),h.time),(0,Mn.b)(et=>{0==et&&(this.stopped=!0,this.finish())}),(0,eo.B)(),(0,Rr.O)(h.time)):Vr.E,this.cu.setMask(this.mask),this.cu.clearPosition(),this.cu.reset()}start(){this.started=!0}stop(){this.stopped=!0,this.finish()}toggleYellowFlag(){const g=this.yellowFlag.value;this.yellowFlag.value?(this.mask=this.realMask,this.realMask=null):(this.realMask=this.mask,this.mask=255),this.cu.setMask(this.mask),this.yellowFlag.next(!g)}createGrid(g,h,y,M=0){const le=new Array;for(let Se=0;M;++Se)1&M&&le.push([Se,NaN,0]),M>>>=1;return g.pipe((0,Rr.O)(...le),function ls(m,g,h,y){return(0,vt.e)((M,le)=>{let Se;g&&"function"!=typeof g?({duration:h,element:Se,connector:y}=g):Se=g;const Ct=new Map,et=Lt=>{Ct.forEach(Lt),Lt(le)},Et=Lt=>et(Wt=>Wt.error(Lt));let Bt=0,Bn=!1;const Dt=new On.Q(le,Lt=>{try{const Wt=m(Lt);let Jt=Ct.get(Wt);if(!Jt){Ct.set(Wt,Jt=y?y():new nn.x);const Gn=function pt(Lt,Wt){const Jt=new O.y(Gn=>{Bt++;const ro=Wt.subscribe(Gn);return()=>{ro.unsubscribe(),0==--Bt&&Bn&&Dt.unsubscribe()}});return Jt.key=Lt,Jt}(Wt,Jt);if(le.next(Gn),h){const ro=(0,On.x)(Jt,()=>{Jt.complete(),ro?.unsubscribe()},void 0,void 0,()=>Ct.delete(Wt));Dt.add((0,ot.Xf)(h(Gn)).subscribe(ro))}}Jt.next(Se?Se(Lt):Lt)}catch(Wt){Et(Wt)}},()=>et(Lt=>Lt.complete()),Et,()=>Ct.clear(),()=>(Bn=!0,0===Bt));M.subscribe(Dt)})}(([Se])=>Se),(0,Z.U)(Se=>(this.active|=1<{const Wt=et[et.length-1]||[];if(Lt&&pt>(Wt.length>=Lt?Wt[Lt-1]:-1/0)+this.options.minLapTime)if(1===Lt)et.push([pt]),Et[0]=pt-Wt[0],Bt[0]=Math.min(Et[0],Bt[0]||1/0),Wt.length>1&&(Et[Wt.length]=pt-Wt[Wt.length-1],Bt[Wt.length]=Math.min(Et[Wt.length],Bt[Wt.length]||1/0)),!Bn&&this.isFinished(et.length-1)&&(this.finish(Dt),Bn=!0);else{const Jt=Lt-1;Wt[Jt]=pt,Et[Jt]=pt-Wt[Jt-1],Bt[Jt]=Math.min(Et[Jt],Bt[Jt]||1/0)}return[et,Et,Bt,Bn]},[[],[],[],!1])).pipe(Ni(y.pipe((0,Z.U)(et=>0!=(et&~this.mask&1<[Et?et+1:et,Et],[0,!1])),h.pipe((0,Z.U)(et=>et[Se.key]),(0,xr.x)())),(0,Z.U)(([[et,Et,Bt,Bn],[Dt,pt],Lt])=>{const Jt=et[et.length-1]||[];return{id:Se.key,time:Jt[0],laps:et.length?et.length-1:0,last:Et,best:Bt,times:et,fuel:Lt,pit:pt,pits:Dt,sector:Jt.length-1||(et[et.length-2]||[]).length,finished:Bn}}),Gr(1),(0,oo.x)()))),Gr(),(0,oo.x)())}finish(g){const h=this.mask;this.mask|=255&~this.active,void 0!==g&&(this.mask|=1<=this.options.laps)||!(this.options.slotmode||!this.finished.value)}}function nr(m,g){if(1&m){const h=n.EpF();n.TgZ(0,"leaderboard-item",3),n.NdJ("click",function(){const le=n.CHM(h).$implicit,Se=n.oxw();return n.KtG(Se.showDetails(le))}),n.qZA()}if(2&m){const h=g.$implicit,y=g.odd,M=n.oxw();n.Q6J("ngClass",y?"odd":"even")("fields",M.fields)("item",h)("ranked",M.ranked)("best",M.best)}}function us(m,g){if(1&m&&n._UZ(0,"leaderboard-lap",11),2&m){const h=g.$implicit,y=g.odd,M=g.index,le=g.count,Se=n.oxw(2);n.Q6J("ngClass",y?"odd":"even")("lap",le-M)("item",Se.detail)("times",h)("best",Se.best)("intlap",Se.intlaps[null==Se.detail?null:Se.detail.id])("fields",Se.detailFields)}}const ks=function(m){return{number:m}};function ds(m,g){if(1&m){const h=n.EpF();n.TgZ(0,"ion-header")(1,"ion-toolbar",4)(2,"ion-title")(3,"outline",5),n._uU(4),n.qZA(),n._uU(5),n.ALo(6,"translate"),n.qZA(),n.TgZ(7,"ion-buttons",6)(8,"ion-button",7),n.NdJ("click",function(){n.CHM(h);const M=n.oxw();return n.KtG(M.modal.dismiss())}),n._UZ(9,"ion-icon",8),n.qZA()()()(),n.TgZ(10,"ion-content",9),n._UZ(11,"leaderboard-head",0),n.YNc(12,us,1,7,"leaderboard-lap",10),n.qZA()}if(2&m){const h=n.oxw();n.xp6(3),n.Q6J("color",null==h.detail||null==h.detail.driver?null:h.detail.driver.color),n.xp6(1),n.hij(" ",(null==h.detail?null:h.detail.position)+1," "),n.xp6(1),n.hij(" ",(null==h.detail||null==h.detail.driver?null:h.detail.driver.name)||n.xi3(6,5,h.placeholder,n.VKq(8,ks,(null==h.detail?null:h.detail.id)+1))," "),n.xp6(6),n.Q6J("fields",h.detailFields),n.xp6(1),n.Q6J("ngForOf",null==h.detail?null:h.detail.laptimes)}}const fs=[{practice:["bestlap gap int lastlap laps status","bestlap sector1 sector2 sector3 lastlap status"],qualifying:["bestlap gap int lastlap laps status","bestlap sector1 sector2 sector3 lastlap status"],race:["time bestlap lastlap laps status","time sector1 sector2 sector3 lastlap status"]},{practice:["bestlap gap int lastlap laps fuel status","bestlap sector1 sector2 sector3 lastlap fuel status"],qualifying:["bestlap gap int lastlap laps fuel status","bestlap sector1 sector2 sector3 lastlap fuel status"],race:["time bestlap lastlap laps pits fuel status","time sector1 sector2 sector3 lastlap fuel status"]}],Bs=["lap laptime gap int","lap laptime sector1 sector2 sector3"];let $i=(()=>{var m;class g{constructor(y,M){this.platform=M,this.placeholder="Driver {{number}}",this.detail=null,this.subscription=M.resize.subscribe(()=>y.markForCheck())}set items(y){if(this._items=y,y?(this.ranked=[...y],this.ranked.sort((M,le)=>M.position-le.position),this.best=y.map(M=>M.best).reduce((M,le)=>(le.forEach((Se,Ct)=>{Se<(M[Ct]||1/0)&&(M[Ct]=Se)}),M),[])):(this.ranked=y,this.best=[]),this.detail){for(let M of y)if(M.id==this.detail.id){this.detail=Object.assign({},M,{laptimes:this.getLapTimes(M)});break}this.intlaps=this.getIntLaps(y)}}get items(){return this._items}get fields(){const y=fs[this.pitlane?1:0][this.mode][this.sectors?1:0];return((this.platform.isPortrait()?"code":"number name")+" "+y).split(/\s+/)}get detailFields(){return Bs[this.sectors?1:0].split(/\s+/)}getLapTimes(y){let M=[];for(let le=y.times.length-2;le>=0;--le){const Se=[y.times[le+1]?.[0]].concat(y.times[le]);M.push(Se)}return M}getIntLaps(y){let M={};const le=y.map(Se=>[Se.id,Se.best[0]]).sort((Se,Ct)=>Se[1]-Ct[1]);return le.map(([Se,Ct],et)=>[Se,et?le[et-1][1]:Ct]).forEach(([Se,Ct])=>{M[Se]=Ct}),M}showDetails(y){this.detail=Object.assign({},y,{laptimes:this.getLapTimes(y)}),this.intlaps=this.getIntLaps(this._items)}onWillDismissDetails(y){this.detail=null}ngOnDestroy(){this.subscription.unsubscribe()}}return(m=g).\u0275fac=function(y){return new(y||m)(n.Y36(n.sBO),n.Y36(ye.t4))},m.\u0275cmp=n.Xpm({type:m,selectors:[["leaderboard"]],viewQuery:function(y,M){if(1&y&&n.Gf(ye.ki,5),2&y){let le;n.iGM(le=n.CRH())&&(M.modal=le.first)}},inputs:{mode:"mode",sectors:"sectors",pitlane:"pitlane",items:"items"},decls:4,vars:3,consts:[[1,"row",3,"fields"],["class","row",3,"ngClass","fields","item","ranked","best","click",4,"ngFor","ngForOf"],[3,"isOpen","willDismiss"],[1,"row",3,"ngClass","fields","item","ranked","best","click"],["mode","md"],[3,"color"],["slot","end"],[3,"click"],["name","close-sharp"],[1,"ion-padding"],["class","row",3,"ngClass","lap","item","times","best","intlap","fields",4,"ngFor","ngForOf"],[1,"row",3,"ngClass","lap","item","times","best","intlap","fields"]],template:function(y,M){1&y&&(n._UZ(0,"leaderboard-head",0),n.YNc(1,nr,1,5,"leaderboard-item",1),n.TgZ(2,"ion-modal",2),n.NdJ("willDismiss",function(Se){return M.onWillDismissDetails(Se)}),n.YNc(3,ds,13,10,"ng-template"),n.qZA()),2&y&&(n.Q6J("fields",M.fields),n.xp6(1),n.Q6J("ngForOf",M.items),n.xp6(1),n.Q6J("isOpen",null!=M.detail))},styles:['@charset "UTF-8";@media (orientation: portrait){[_nghost-%COMP%]{font-size:3vw}}@media (orientation: landscape){[_nghost-%COMP%]{font-size:2.5vw}ion-modal [_nghost-%COMP%]{font-size:1.5em!important}}[_nghost-%COMP%]{display:block;width:100%}leaderboard-head[_ngcontent-%COMP%]{margin:0 2px}leaderboard-item[_ngcontent-%COMP%]{margin:0 2px 4px}leaderboard-lap[_ngcontent-%COMP%]{margin:0 2px 4px}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.row.odd[_ngcontent-%COMP%]{background-color:var(--ion-color-step-100)}.row.even[_ngcontent-%COMP%]{background-color:var(--ion-color-step-200)}.cell[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;padding:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.position[_ngcontent-%COMP%]{text-align:left;width:1.9em;padding-left:0!important;padding-right:0!important}.number[_ngcontent-%COMP%]{text-align:left;width:1.65em}.lap[_ngcontent-%COMP%]{text-align:left;width:2.5em}.name[_ngcontent-%COMP%]{flex-basis:4em;flex-grow:1;text-align:left}.code[_ngcontent-%COMP%]{flex-basis:3em;flex-grow:1;text-align:left}.time[_ngcontent-%COMP%]{text-align:right;width:6em}.bestlap[_ngcontent-%COMP%], .lastlap[_ngcontent-%COMP%], .laptime[_ngcontent-%COMP%]{text-align:right;width:5em}.sector1[_ngcontent-%COMP%], .sector2[_ngcontent-%COMP%], .sector3[_ngcontent-%COMP%]{text-align:right;width:4.5em}.gap[_ngcontent-%COMP%], .int[_ngcontent-%COMP%]{text-align:right;width:5em}.laps[_ngcontent-%COMP%], .pits[_ngcontent-%COMP%]{text-align:right;width:3em}.fuel[_ngcontent-%COMP%]{text-align:left;width:4.5em}.status[_ngcontent-%COMP%]{padding-right:0!important;text-align:left;width:2em}.status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:75%}.status[_ngcontent-%COMP%] span.inpit[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pitenter[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]{color:#0f0}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]:before{content:"\\25b2";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]:before{content:"\\25bc";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]:before{content:"\\25b2";transform:rotate(-90deg);display:inline-block;width:1em}span.title[_ngcontent-%COMP%]{font-size:75%}span.best[_ngcontent-%COMP%]{color:#0f0}span.best.allbest[_ngcontent-%COMP%]{color:#f0f}span.best.notime[_ngcontent-%COMP%], span.best.allbest.notime[_ngcontent-%COMP%]{color:inherit}span.sector[_ngcontent-%COMP%]{color:#ff0!important}gauge[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen)}'],changeDetection:0}),g})();const wi=function(m,g){return{active:m,blink:g}};let D=(()=>{var m;class g{constructor(){this.blink=!1}}return(m=g).\u0275fac=function(y){return new(y||m)},m.\u0275cmp=n.Xpm({type:m,selectors:[["startlight"]],inputs:{active:"active",blink:"blink"},decls:1,vars:4,consts:[[3,"ngClass"]],template:function(y,M){1&y&&n._UZ(0,"div",0),2&y&&n.Q6J("ngClass",n.WLB(1,wi,M.active,M.blink))},dependencies:[$.mk],styles:["@keyframes _ngcontent-%COMP%_startlight-blink{0%{background:radial-gradient(circle at 60% 60%,gray 0%,black 95%,gray 100%)}to{background:radial-gradient(circle at 60% 60%,red 0%,#330000 95%,red 100%)}}div[_ngcontent-%COMP%]{display:inline-block;width:1em;height:1em;margin-left:.1em;margin-right:.1em;border-radius:50%;background:radial-gradient(circle at 60% 60%,gray 0%,black 95%,gray 100%)}div.active[_ngcontent-%COMP%]{background:radial-gradient(circle at 60% 60%,red 0%,#330000 95%,red 100%)}div.blink[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_startlight-blink;animation-duration:.5s;animation-iteration-count:infinite;animation-timing-function:linear}"],changeDetection:0}),g})();function B(m,g){if(1&m&&(n.O4$(),n._UZ(0,"circle")),2&m){const h=g.$implicit,y=n.oxw().$implicit,M=n.oxw();n.uIk("cx",y)("cy",h)("r",M.radius)}}function S(m,g){if(1&m&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,B,1,3,"circle",1),n.qZA()),2&m){const h=n.oxw();n.xp6(1),n.Q6J("ngForOf",h.yoffsets)}}const W=function(m){return{blink:m}};let Ee=(()=>{var m;class g{constructor(){this.radius=.4}ngOnChanges(y){this.xoffsets=[],this.yoffsets=[];for(let M=0;M{var m;class g{constructor(){this.onYellowFlag=new n.vpe}set cu(y){if(y){const M=y.getStart().pipe((0,xr.x)()),le=y.getState();this.lights=M.pipe((0,Z.U)(Se=>1==Se?5:Se>1&&Se<7?Se-1:0)),this.blink=(0,Kr.a)(M,le).pipe((0,Z.U)(([Se,Ct])=>Se>=8||"connected"!==Ct)),this.keys=y.getVersion().then(Se=>Se>="5331")}else this.lights=(0,J.of)(0),this.blink=(0,J.of)(!1),this.keys=Promise.resolve(!1);this.controlUnit=y}get cu(){return this.controlUnit}togglePaceCar(){this.cu&&this.cu.trigger(lo.PACE_CAR)}toggleStart(){this.cu&&this.cu.trigger(lo.START)}}return(m=g).\u0275fac=function(y){return new(y||m)},m.\u0275cmp=n.Xpm({type:m,selectors:[["race-control"]],inputs:{cu:"cu",yellowFlag:"yellowFlag"},outputs:{onYellowFlag:"onYellowFlag"},decls:30,vars:40,consts:[["slot","start"],[3,"disabled","click"],["viewBox","0 0 9 5"],["text-anchor","middle","x","50%","y","2","dy","0.3","font-size","2","textLength","8","lengthAdjust","spacingAndGlyphs"],["text-anchor","middle","x","50%","y","4","dy","0.3","font-size","2","textLength","8","lengthAdjust","spacingAndGlyphs"],["expand","full","fill","clear",1,"icon-only",3,"disabled","click"],[3,"active","blink"],["slot","end"],[3,"blink","cols","rows"]],template:function(y,M){1&y&&(n.TgZ(0,"ion-toolbar")(1,"ion-buttons",0)(2,"ion-button",1),n.NdJ("click",function(){return M.togglePaceCar()}),n.ALo(3,"async"),n.TgZ(4,"div"),n.O4$(),n.TgZ(5,"svg",2)(6,"text",3),n._uU(7,"PACE CAR"),n.qZA(),n.TgZ(8,"text",4),n._uU(9,"ESC"),n.qZA()()()()(),n.kcU(),n.TgZ(10,"ion-button",5),n.NdJ("click",function(){return M.toggleStart()}),n.ALo(11,"async"),n._UZ(12,"startlight",6),n.ALo(13,"async"),n.ALo(14,"async"),n._UZ(15,"startlight",6),n.ALo(16,"async"),n.ALo(17,"async"),n._UZ(18,"startlight",6),n.ALo(19,"async"),n.ALo(20,"async"),n._UZ(21,"startlight",6),n.ALo(22,"async"),n.ALo(23,"async"),n._UZ(24,"startlight",6),n.ALo(25,"async"),n.ALo(26,"async"),n.qZA(),n.TgZ(27,"ion-buttons",7)(28,"ion-button",1),n.NdJ("click",function(Se){return M.onYellowFlag.emit(Se)}),n._UZ(29,"yellow-flag",8),n.qZA()()()),2&y&&(n.xp6(2),n.Q6J("disabled",!n.lcZ(3,16,M.keys)),n.xp6(8),n.Q6J("disabled",!n.lcZ(11,18,M.keys)),n.xp6(2),n.Q6J("active",n.lcZ(13,20,M.lights)>=1)("blink",n.lcZ(14,22,M.blink)),n.xp6(3),n.Q6J("active",n.lcZ(16,24,M.lights)>=2)("blink",n.lcZ(17,26,M.blink)),n.xp6(3),n.Q6J("active",n.lcZ(19,28,M.lights)>=3)("blink",n.lcZ(20,30,M.blink)),n.xp6(3),n.Q6J("active",n.lcZ(22,32,M.lights)>=4)("blink",n.lcZ(23,34,M.blink)),n.xp6(3),n.Q6J("active",n.lcZ(25,36,M.lights)>=5)("blink",n.lcZ(26,38,M.blink)),n.xp6(4),n.Q6J("disabled",!M.cu),n.xp6(1),n.Q6J("blink",M.yellowFlag)("cols",9)("rows",5))},dependencies:[ye.YG,ye.Sm,ye.sr,D,Ee,$.Ov],styles:["@media (orientation: portrait){ion-toolbar[_ngcontent-%COMP%]{font-size:9vw}}@media (orientation: landscape){ion-toolbar[_ngcontent-%COMP%]{font-size:6vw}}ion-button[_ngcontent-%COMP%]{font-size:inherit;height:100%;text-align:center;white-space:nowrap}ion-button[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:currentColor;height:1em;font-weight:700;letter-spacing:normal;padding:6px;border-radius:8px;box-shadow:0 0 2px #444,inset 0 0 2px #666}"],changeDetection:0}),g})(),kt=(()=>{var m;class g{ngOnChanges(y){this.path=function ut(m,g){const h=[];for(let y=0;yIn(m),"m:ss":m=>Sn(m),s:m=>Math.floor(m/1e3).toString(),"h:mm:ss.sss":m=>In(m,!0),"m:ss.sss":m=>Sn(m,!0),"s.sss":m=>(m/1e3).toFixed(3),"+h:mm:ss":m=>"+"+In(m),"+m:ss":m=>"+"+Sn(m),"+s":m=>"+"+Math.floor(m/1e3).toString(),"+h:mm:ss.sss":m=>"+"+In(m,!0),"+m:ss.sss":m=>"+"+Sn(m,!0),"+s.sss":m=>"+"+(m/1e3).toFixed(3)};let rn=(()=>{var m;class g{transform(y,M="h:mm:ss"){return null==y||Number.isNaN(y)?null:M in pn?pn[M](y>=0?y:0):M}}return(m=g).\u0275fac=function(y){return new(y||m)},m.\u0275pipe=n.Yjl({name:"time",type:m,pure:!0}),m.\u0275prov=n.Yz7({token:m,factory:m.\u0275fac}),g})();function pr(m,g){1&m&&n._UZ(0,"checkerboard",4),2&m&&n.Q6J("cols",9)("rows",5)}function Rn(m,g){1&m&&(n.ynx(0),n.TgZ(1,"span",5),n._uU(2,"Free Practice"),n.qZA(),n.BQk())}function rr(m,g){1&m&&(n.ynx(0),n.TgZ(1,"span",5),n._uU(2,"Qualifying"),n.qZA(),n.BQk())}function qr(m,g){1&m&&n._UZ(0,"span")}function $r(m,g){if(1&m&&(n._uU(0),n.ALo(1,"translate")),2&m){const h=n.oxw(4);n.hij(" ",n.xi3(1,1,"Lap {{count}}/{{total}}",h.laps)," ")}}function Lo(m,g){if(1&m&&(n._uU(0),n.ALo(1,"translate")),2&m){const h=n.oxw(4);n.hij(" ",n.xi3(1,1,"Lap {{count}}",h.laps)," ")}}function Jr(m,g){if(1&m&&(n.TgZ(0,"span"),n.YNc(1,qr,1,0,"span",9),n.YNc(2,$r,2,4,"ng-template",null,10,n.W1O),n.YNc(4,Lo,2,4,"ng-template",null,11,n.W1O),n.qZA()),2&m){const h=n.MAs(3),y=n.MAs(5),M=n.oxw(3);n.xp6(1),n.Q6J("ngIf",M.laps.total)("ngIfThen",h)("ngIfElse",y)}}function no(m,g){if(1&m&&(n.TgZ(0,"span"),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&m){const h=n.oxw(4);n.xp6(1),n.hij(" ",n.xi3(2,1,"{{total}} Laps",h.laps)," ")}}function Ho(m,g){if(1&m&&n.YNc(0,no,3,4,"span",6),2&m){n.oxw(2);const h=n.MAs(3),y=n.oxw();n.Q6J("ngIf",y.laps.total)("ngIfElse",h)}}function Mo(m,g){if(1&m&&(n.TgZ(0,"span"),n.YNc(1,Jr,6,3,"span",6),n.YNc(2,Ho,1,2,"ng-template",null,8,n.W1O),n.qZA()),2&m){const h=n.MAs(3),y=n.oxw(2);n.xp6(1),n.Q6J("ngIf",y.laps.count)("ngIfElse",h)}}function hs(m,g){1&m&&(n.TgZ(0,"span",5),n._uU(1,"Race"),n.qZA())}function ui(m,g){if(1&m&&(n.ynx(0),n.YNc(1,Mo,4,2,"span",6),n.YNc(2,hs,2,0,"ng-template",null,7,n.W1O),n.BQk()),2&m){const h=n.MAs(3),y=n.oxw();n.xp6(1),n.Q6J("ngIf",y.laps)("ngIfElse",h)}}function Xa(m,g){1&m&&n._UZ(0,"checkerboard",4),2&m&&n.Q6J("cols",9)("rows",5)}function Us(m,g){if(1&m&&(n.TgZ(0,"span",12),n._uU(1),n.ALo(2,"time"),n.qZA()),2&m){const h=n.oxw();n.xp6(1),n.hij(" ",n.xi3(2,1,h.time,"h:mm:ss")," ")}}let Ji=(()=>{var m;class g{constructor(){}}return(m=g).\u0275fac=function(y){return new(y||m)},m.\u0275cmp=n.Xpm({type:m,selectors:[["race-title"]],inputs:{mode:"mode",laps:"laps",time:"time",finished:"finished"},decls:8,vars:7,consts:[[3,"cols","rows",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],["style","float: right",4,"ngIf"],[3,"cols","rows"],["translate",""],[4,"ngIf","ngIfElse"],["race",""],["race0",""],[4,"ngIf","ngIfThen","ngIfElse"],["race1",""],["race2",""],[2,"float","right"]],template:function(y,M){1&y&&(n.TgZ(0,"ion-title"),n.YNc(1,pr,1,2,"checkerboard",0),n.TgZ(2,"span",1),n.YNc(3,Rn,3,0,"ng-container",2),n.YNc(4,rr,3,0,"ng-container",2),n.YNc(5,ui,4,2,"ng-container",2),n.qZA(),n.YNc(6,Xa,1,2,"checkerboard",0),n.YNc(7,Us,3,4,"span",3),n.qZA()),2&y&&(n.xp6(1),n.Q6J("ngIf",M.finished),n.xp6(1),n.Q6J("ngSwitch",M.mode),n.xp6(1),n.Q6J("ngSwitchCase","practice"),n.xp6(1),n.Q6J("ngSwitchCase","qualifying"),n.xp6(1),n.Q6J("ngSwitchCase","race"),n.xp6(1),n.Q6J("ngIf",M.finished),n.xp6(1),n.Q6J("ngIf",M.time&&!M.finished))},dependencies:[$.O5,$.RF,$.n9,ye.wd,kt,Nn.Pi,rn,Nn.X$],encapsulation:2,changeDetection:0}),g})();function ya(m,g){if(1&m){const h=n.EpF();n.TgZ(0,"ion-button",4),n.NdJ("click",function(){n.CHM(h);const M=n.oxw();return n.KtG(M.toggleSpeech())}),n._UZ(1,"ion-icon",9),n.qZA()}if(2&m){const h=n.oxw();n.xp6(1),n.Q6J("name",null!=h.options&&h.options.speech?"volume-high-sharp":"volume-mute-sharp")}}function No(m,g){if(1&m&&(n.TgZ(0,"div"),n._UZ(1,"leaderboard",10),n.ALo(2,"async"),n.ALo(3,"async"),n.ALo(4,"async"),n.qZA()),2&m){const h=n.oxw();n.xp6(1),n.Q6J("mode",h.mode)("items",n.lcZ(2,4,h.items))("pitlane",n.lcZ(3,6,h.pitlane))("sectors",n.lcZ(4,8,h.sectors))}}function _a(m,g){1&m&&(n.TgZ(0,"div",11)(1,"h1",12),n._uU(2,"Welcome to Open Lap!"),n.qZA(),n.TgZ(3,"p",12),n._uU(4," Please select a Control Unit device from the menu. "),n.qZA(),n.TgZ(5,"p",12),n._uU(6," If no devices are listed, please make sure that Bluetooth is enabled. "),n.qZA()())}const Xi={position:(m,g)=>m.position-g.position,number:(m,g)=>m.id-g.id};let kr=(()=>{var m;class g{constructor(y,M,le,Se,Ct,et,Et,Bt){this.cu=y,this.app=M,this.logger=le,this.settings=Se,this.speech=Ct,this.popover=et,this.translate=Et,this.subscription=new mr.w0;const Bn=Bt.snapshot.paramMap.get("mode");switch(Bn){case"practice":case"qualifying":case"race":this.mode=Bn;break;default:this.mode="practice"}const Dt=y.pipe((0,V.h)(pt=>!!pt),(0,Nt.z)(pt=>pt.getMode()),(0,Rr.O)(0),(0,xr.x)());this.pitlane=Dt.pipe((0,Z.U)(pt=>0!=(3&pt))),this.sectors=Se.getOptions().pipe((0,Z.U)(pt=>pt.sectors)),this.start=y.pipe((0,V.h)(pt=>!!pt),(0,Nt.z)(pt=>pt.getStart()),(0,xr.x)()),this.orientation=M.orientation,this.legacyAndroid=M.isAndroid()&&M.isCordova()?M.getDeviceInfo().then(pt=>pt.version<"12"):Promise.resolve(!1)}ngOnInit(){this.subscription.add((0,Kr.a)([this.cu,this.getRaceOptions(this.mode)]).subscribe(([y,M])=>{this.session=y&&M?this.startSession(y,M):null})),this.subscription.add(this.settings.getOptions().subscribe(y=>{this.options=y}))}startSession(y,M){const le=new Vo(y,M);this.lapcount=le.currentLap.pipe((0,Z.U)(Dt=>({count:Dt,total:M.laps})),(0,Rr.O)({count:0,total:M.laps}));const Se=this.settings.getDrivers().pipe((0,Oe.w)(Dt=>{const pt=Dt.map((Lt,Wt)=>{const Jt=Lt.code||"#"+(Wt+1);return Lt.name?(0,J.of)({name:Lt.name,code:Jt,color:Lt.color}):this.getTranslations("Driver {{number}}",{number:Wt+1}).pipe((0,Z.U)(Gn=>({name:Gn,code:Jt,color:Lt.color})))});return(0,Kr.a)(pt)})),Ct=[1/0,1/0,1/0,1/0],et=(0,We.T)(le.grid.pipe((0,Z.U)(Dt=>Dt.pipe(qo())),(0,Nt.z)(Dt=>Dt),(0,Nt.z)(([Dt,pt])=>{const Lt=[];return pt.best.forEach((Wt,Jt)=>{(Wt||1/0)=3&&Lt.push([Jt?"bests"+Jt:"bestlap",pt.id]))}),!pt.finished&&pt.time&&(pt.fuelDt.length>0&&"race"==M.mode),(0,Z.U)(Dt=>Dt.map(pt=>({id:pt.id,finished:pt.finished}))),qo(),(0,V.h)(([Dt,pt])=>pt[0].finished),(0,Nt.z)(([Dt,pt])=>{const Lt=[];return!Dt[0].finished&&pt[0].finished&&Lt.push(pt.length>1?["finished1st",pt[0].id]:["finished",null]),pt.length>=2&&!Dt[1]?.finished&&pt[1].finished&&Lt.push(["finished2nd",pt[1].id]),pt.length>=3&&!Dt[2]?.finished&&pt[2].finished&&Lt.push(["finished3rd",pt[2].id]),(0,Pr.D)(Lt)})),le.ranking.pipe((0,V.h)(Dt=>0!=Dt.length&&"race"==M.mode),(0,Z.U)(Dt=>Dt[0]),qo(),(0,V.h)(([Dt,pt])=>Dt.id!=pt.id),(0,Z.U)(([Dt,pt])=>["newleader",pt.id])),le.timer.pipe((0,V.h)(Dt=>M.time>=12e4&&Dt<=6e4&&!le.finished.value),(0,Qt.q)(1),(0,Z.U)(()=>["oneminute",null])),le.timer.pipe((0,Z.U)(Dt=>[Dt,le.finished.value]),qo(),(0,Z.U)(([Dt,pt])=>[pt[0],Dt[1]]),(0,V.h)(([Dt,pt])=>0==Dt&&!pt),(0,Qt.q)(1),(0,Z.U)(()=>["timeout",null])),le.yellowFlag.pipe((0,xr.x)(),function Fi(m){return(0,vt.e)((g,h)=>{let y=!1,M=0;g.subscribe((0,On.x)(h,le=>(y||(y=!m(le,M++)))&&h.next(le)))})}(Dt=>!Dt),(0,Z.U)(Dt=>[Dt?"yellowflag":"greenflag",null])),this.lapcount.pipe((0,V.h)(Dt=>M.laps>=10&&Dt.count===M.laps-4&&!le.finished.value),(0,Qt.q)(1),(0,Z.U)(()=>["fivelaps",null])),this.lapcount.pipe((0,V.h)(Dt=>M.laps&&Dt.count===M.laps&&!le.finished.value),(0,Qt.q)(1),(0,Z.U)(()=>["finallap",null])),this.start.pipe((0,xr.x)(),(0,V.h)(Dt=>9===Dt),(0,Z.U)(()=>["falsestart",null]))).pipe(Jo(Se),(0,Z.U)(([[Dt,pt],Lt])=>[Dt,null!==pt?Lt[pt]:null])),Et=this.settings.getOptions().pipe((0,Z.U)(Dt=>Dt.fixedorder?"number":"position")),Bt=[],Bn=[];return this.items=(0,Kr.a)([le.ranking,Se,Et]).pipe((0,Z.U)(([Dt,pt,Lt])=>{const Wt=Dt.map((Jt,Gn)=>("race"==M.mode&&void 0===Bt[Jt.id]&&void 0!==Jt.time&&(Bt[Jt.id]=Gn),(!Jt.pit||Jt.fuelBn[Jt.id]})));return Wt.sort(Xi[Lt||"position"]),Wt}),(0,eo.B)()),this.subscriptions&&this.subscriptions.unsubscribe(),this.subscriptions=et.pipe(Jo(this.settings.getOptions(),this.settings.getNotifications(),this.getTranslations("notifications"))).subscribe(([[Dt,pt],Lt,Wt,Jt])=>{if(this.logger.debug("Race event: "+Dt,pt),Lt.speech&&Wt[Dt]&&Wt[Dt].enabled){let Gn=Wt[Dt].message||Jt[Dt];this.speech.speak(pt&&pt.name?pt.name+": "+Gn:Gn)}}),this.subscriptions.add(this.lapcount.subscribe(Dt=>{y.setLap(Dt.count)},Dt=>{this.logger.error("Lap counter error:",Dt)},()=>{this.logger.info("Lap counter finished")})),"practice"!=M.mode&&y.getStart().pipe((0,Qt.q)(1)).toPromise().then(pt=>{0===pt&&y.toggleStart(),y.getStart().pipe(qo(),(0,V.h)(([Lt,Wt])=>0!=Lt&&0==Wt),(0,Qt.q)(1)).toPromise().then(()=>{this.logger.info("Start "+M.mode+" mode"),le.start()})}),le}ngOnDestroy(){this.subscription.unsubscribe(),this.subscriptions&&this.subscriptions.unsubscribe(),this.dataSubscription&&this.dataSubscription.unsubscribe()}ionViewDidEnter(){this.backButtonSubscription=this.app.backButton.subscribe(()=>{this.cu.value?this.cu.value.disconnect().catch(y=>{this.logger.error("Error disconnecting from CU:",y)}).then(()=>{this.app.exit()}):this.app.exit()})}ionViewWillLeave(){this.backButtonSubscription.unsubscribe()}restartSession(){this.session&&(this.session=this.startSession(this.session.cu,this.session.options))}cancelSession(){this.session&&this.session.stop()}getRaceOptions(y){switch(y){case"race":return this.settings.getRaceSettings();case"qualifying":return this.settings.getQualifyingSettings();default:return(0,J.of)(new kn.VL("practice"))}}toggleSpeech(){this.options&&this.settings.setOptions(Object.assign({},this.options,{speech:!this.options.speech}))}toggleYellowFlag(){this.session&&this.session.toggleYellowFlag()}showMenu(y){return this.popover.create({component:Ei,componentProps:{mode:this.mode,active:this.session&&!this.session.finished.value&&"practice"!=this.mode,restart:()=>this.restartSession(),cancel:()=>this.cancelSession()},event:y}).then(M=>{M.present()})}getTranslations(y,M){return this.translate.stream(y,M)}}return(m=g).\u0275fac=function(y){return new(y||m)(n.Y36(Dn.V1),n.Y36(Dn.zi),n.Y36(Dn.ed),n.Y36(kn.de),n.Y36(Dn.vA),n.Y36(ye.Dh),n.Y36(Nn.sK),n.Y36(Hn.gz))},m.\u0275cmp=n.Xpm({type:m,selectors:[["ng-component"]],decls:22,vars:23,consts:[["slot","start"],[3,"mode","laps","time","finished"],["slot","end"],[3,"click",4,"ngIf"],[3,"click"],["slot","icon-only","name","ellipsis-vertical-sharp"],[4,"ngIf","ngIfElse"],["nocu",""],[3,"cu","yellowFlag","onYellowFlag"],["slot","icon-only",3,"name"],[3,"mode","items","pitlane","sectors"],[1,"ion-padding"],["translate",""]],template:function(y,M){if(1&y&&(n.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),n._UZ(3,"ion-menu-button"),n.qZA(),n._UZ(4,"race-title",1),n.ALo(5,"async"),n.ALo(6,"async"),n.ALo(7,"async"),n.TgZ(8,"ion-buttons",2),n.YNc(9,ya,2,1,"ion-button",3),n.ALo(10,"async"),n.TgZ(11,"ion-button",4),n.NdJ("click",function(Se){return M.showMenu(Se)}),n._UZ(12,"ion-icon",5),n.qZA()()()(),n.TgZ(13,"ion-content"),n.YNc(14,No,5,10,"div",6),n.ALo(15,"async"),n.YNc(16,_a,7,0,"ng-template",null,7,n.W1O),n.qZA(),n.TgZ(18,"ion-footer")(19,"race-control",8),n.NdJ("onYellowFlag",function(){return M.toggleYellowFlag()}),n.ALo(20,"async"),n.ALo(21,"async"),n.qZA()()),2&y){const le=n.MAs(17);n.xp6(4),n.Q6J("mode",M.mode)("laps",n.lcZ(5,9,M.lapcount))("time",n.lcZ(6,11,null==M.session?null:M.session.timer))("finished",n.lcZ(7,13,null==M.session?null:M.session.finished)),n.xp6(5),n.Q6J("ngIf","landscape"==n.lcZ(10,15,M.orientation)),n.xp6(5),n.Q6J("ngIf",n.lcZ(15,17,M.cu))("ngIfElse",le),n.xp6(5),n.Q6J("cu",n.lcZ(20,19,M.cu))("yellowFlag",n.lcZ(21,21,null==M.session?null:M.session.yellowFlag))}},dependencies:[$.O5,ye.YG,ye.Sm,ye.W2,ye.fr,ye.Gu,ye.gu,ye.fG,ye.sr,$i,nt,Nn.Pi,Ji,$.Ov],encapsulation:2}),g})();const Vs=["time"],Mi=["laps"],ps=["pause"],ba=["slotmode"];function gs(m,g){1&m&&(n.TgZ(0,"span",19),n._uU(1,"Free Practice"),n.qZA())}function Hs(m,g){1&m&&(n.TgZ(0,"span",19),n._uU(1,"Qualifying"),n.qZA())}function Ca(m,g){1&m&&(n.TgZ(0,"span",19),n._uU(1,"Race"),n.qZA())}function js(m,g){if(1&m){const h=n.EpF();n.TgZ(0,"ion-item")(1,"ion-input",20,21),n.NdJ("ionInput",function(M){n.CHM(h);const le=n.oxw();return n.KtG(le.onLapsInput(M))})("ionChange",function(M){n.CHM(h);const le=n.oxw();return n.KtG(le.onChangeLaps(M))}),n.ALo(3,"translate"),n.qZA()()}2&m&&(n.xp6(1),n.s9C("label",n.lcZ(3,3,"Number of laps")),n.Q6J("clearInput",!0)("maxlength",5))}function ms(m,g){if(1&m&&(n.TgZ(0,"ion-select-option",22),n._uU(1),n.qZA()),2&m){const h=g.$implicit;n.Q6J("value",h),n.xp6(1),n.Oqu(h)}}function Ui(m,g){1&m&&(n.TgZ(0,"ion-item")(1,"ion-toggle",23,24),n._uU(3,"Finish all laps"),n.qZA()())}const wr=function(){return[1,2,3,4,5,6]};function vs(m){const g=Math.floor(m/36e5),h=Math.floor(m/6e4%60);return(""+g).padStart(1,"0")+":"+(""+h).padStart(2,"0")}function jo(m){const[g,h]=m.split(":");return 1e3*(3600*parseInt(g)+60*parseInt(h))}function zs(m){return m.value&&jo(m.value)?null:{required:!0}}function di(m){const g=parseInt(m.get("laps").value);return g&&g>0||!zs(m.get("time"))?null:{required:!0}}let es=(()=>{var m;class g{constructor(y,M,le){this.mod=le,this.mode=M.get("mode"),this.form="race"==this.mode?function Qi(m,g){return m.group({laps:new jt.NI(g.get("laps")||"0"),time:new jt.NI(vs(g.get("time")||0)),pause:new jt.NI({value:!!g.get("pause"),disabled:!g.get("time")}),slotmode:new jt.NI({value:!!g.get("slotmode"),disabled:!g.get("laps")}),drivers:new jt.NI(g.get("drivers")||""),auto:new jt.NI(g.get("auto")||!1),pace:new jt.NI(g.get("pace")||!1)},{validator:di})}(y,M):function Xo(m,g){return m.group({time:new jt.NI(vs(g.get("time")||3e5),zs),pause:new jt.NI({value:g.get("pause")||!1,disabled:!g.get("time")}),drivers:new jt.NI(g.get("drivers")||""),auto:new jt.NI(g.get("auto")||!1),pace:new jt.NI(g.get("pace")||!1)})}(y,M)}ngAfterViewInit(){this.pauseToggle&&(this.pauseToggle.disabled=this.form.get("pause").disabled),this.slotmodeToggle&&(this.slotmodeToggle.disabled=this.form.get("slotmode").disabled)}onTimeInput(y){const le=y.target.value.replace(/[^0-9]+/g,"").replace(/^0+/,""),Se=le.substring(le.length-2).padStart(2,"0"),et=le.substring(0,le.length-2).padStart(1,"0")+":"+Se;this.timeInput.value=et,this.form.get("time").setValue(et)}onChangeTime(y){const M=jo(y.detail.value);this.timeInput.value=vs(M),0!=M?this.form.get("pause").enable():this.form.get("pause").disable(),this.pauseToggle&&(this.pauseToggle.disabled=this.form.get("pause").disabled),this.timeInput.getInputElement().then(le=>le.blur())}onLapsInput(y){const le=y.target.value.replace(/[^0-9]+/g,"").replace(/^0+/,"")||"0";this.lapsInput.value=le,this.form.get("laps").setValue(le)}onChangeLaps(y){parseInt(y.detail.value||"0")>0?this.form.get("slotmode").enable():this.form.get("slotmode").disable(),this.slotmodeToggle&&(this.slotmodeToggle.disabled=this.form.get("slotmode").disabled),this.lapsInput.getInputElement().then(M=>M.blur())}onSubmit(y){this.mod.dismiss(Object.assign(new kn.VL(this.mode),{laps:parseInt(y.laps||"0"),time:jo(y.time||"0:00"),pause:y.pause,drivers:y.drivers?parseInt(y.drivers):void 0,auto:y.auto,pace:y.pace,slotmode:y.slotmode}))}onCancel(){this.mod.dismiss()}}return(m=g).\u0275fac=function(y){return new(y||m)(n.Y36(jt.qu),n.Y36(ye.X1),n.Y36(ye.IN))},m.\u0275cmp=n.Xpm({type:m,selectors:[["ng-component"]],viewQuery:function(y,M){if(1&y&&(n.Gf(Vs,5),n.Gf(Mi,5),n.Gf(ps,7),n.Gf(ba,5)),2&y){let le;n.iGM(le=n.CRH())&&(M.timeInput=le.first),n.iGM(le=n.CRH())&&(M.lapsInput=le.first),n.iGM(le=n.CRH())&&(M.pauseToggle=le.first),n.iGM(le=n.CRH())&&(M.slotmodeToggle=le.first)}},decls:39,vars:23,consts:[["translate","",3,"ngSwitch"],["translate","",4,"ngSwitchCase"],["translate","",4,"ngSwitchDefault"],["slot","start"],[3,"click"],["name","close-sharp"],["slot","end"],["translate","","type","submit",3,"disabled","click"],[3,"formGroup"],["formControlName","time","placeholder","0:00","inputmode","decimal","enterkeyhint","done",1,"right-align",3,"label","clearInput","maxlength","ionInput","ionChange"],["time",""],[4,"ngIf"],["formControlName","drivers",3,"label","cancelText","okText"],["translate","","value",""],[3,"value",4,"ngFor","ngForOf"],["formControlName","auto","translate",""],["formControlName","pace","translate",""],["formControlName","pause","translate",""],["pause",""],["translate",""],["formControlName","laps","placeholder","0","inputmode","decimal","enterkeyhint","done",1,"right-align",3,"label","clearInput","maxlength","ionInput","ionChange"],["laps",""],[3,"value"],["formControlName","slotmode","translate",""],["slotmode",""]],template:function(y,M){1&y&&(n.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-title",0),n.YNc(3,gs,2,0,"span",1),n.YNc(4,Hs,2,0,"span",1),n.YNc(5,Ca,2,0,"span",2),n.qZA(),n.TgZ(6,"ion-buttons",3)(7,"ion-button",4),n.NdJ("click",function(){return M.onCancel()}),n._UZ(8,"ion-icon",5),n.qZA()(),n.TgZ(9,"ion-buttons",6)(10,"ion-button",7),n.NdJ("click",function(){return M.onSubmit(M.form.value)}),n._uU(11," Start "),n.qZA()()()(),n.TgZ(12,"ion-content")(13,"form",8)(14,"ion-list")(15,"ion-item")(16,"ion-input",9,10),n.NdJ("ionInput",function(Se){return M.onTimeInput(Se)})("ionChange",function(Se){return M.onChangeTime(Se)}),n.ALo(18,"translate"),n.qZA()(),n.YNc(19,js,4,5,"ion-item",11),n.TgZ(20,"ion-item")(21,"ion-select",12),n.ALo(22,"translate"),n.ALo(23,"translate"),n.ALo(24,"translate"),n.TgZ(25,"ion-select-option",13),n._uU(26,"Automatic"),n.qZA(),n.YNc(27,ms,2,2,"ion-select-option",14),n.qZA()(),n.TgZ(28,"ion-item")(29,"ion-toggle",15),n._uU(30,"Autonomous Car"),n.qZA()(),n.TgZ(31,"ion-item")(32,"ion-toggle",16),n._uU(33,"Pace Car"),n.qZA()(),n.TgZ(34,"ion-item")(35,"ion-toggle",17,18),n._uU(37,"Stop time when paused"),n.qZA()(),n.YNc(38,Ui,4,0,"ion-item",11),n.qZA()()()),2&y&&(n.xp6(2),n.Q6J("ngSwitch",M.mode),n.xp6(1),n.Q6J("ngSwitchCase","practice"),n.xp6(1),n.Q6J("ngSwitchCase","qualifying"),n.xp6(6),n.Q6J("disabled",!M.form.valid),n.xp6(3),n.Q6J("formGroup",M.form),n.xp6(3),n.s9C("label",n.lcZ(18,14,"Time")),n.Q6J("clearInput",!0)("maxlength",5),n.xp6(3),n.Q6J("ngIf","race"==M.mode),n.xp6(2),n.s9C("label",n.lcZ(22,16,"Number of drivers")),n.s9C("cancelText",n.lcZ(23,18,"Cancel")),n.s9C("okText",n.lcZ(24,20,"OK")),n.xp6(6),n.Q6J("ngForOf",n.DdM(22,wr)),n.xp6(11),n.Q6J("ngIf","race"==M.mode))},dependencies:[$.sg,$.O5,$.RF,$.n9,$.ED,jt._Y,jt.JJ,jt.JL,jt.nD,jt.sg,jt.u,ye.YG,ye.Sm,ye.W2,ye.Gu,ye.gu,ye.pK,ye.Ie,ye.q_,ye.t9,ye.n0,ye.wd,ye.ho,ye.sr,ye.w,ye.QI,ye.j9,Nn.Pi,Nn.X$],encapsulation:2}),g})();function Qa(m,g){1&m&&(n.TgZ(0,"div",2)(1,"span",3),n._uU(2,"POS"),n.qZA()())}function Da(m,g){1&m&&(n.TgZ(0,"span",3),n._uU(1,"NO"),n.qZA())}function ts(m,g){1&m&&(n.TgZ(0,"span",3),n._uU(1,"NAME"),n.qZA())}function fi(m,g){1&m&&(n.TgZ(0,"span",3),n._uU(1,"NAME"),n.qZA())}function Qo(m,g){1&m&&(n.TgZ(0,"span",3),n._uU(1,"TIME"),n.qZA())}function Ii(m,g){1&m&&(n.TgZ(0,"span",3),n._uU(1,"LAST LAP"),n.qZA())}function Ys(m,g){1&m&&(n.TgZ(0,"span",3),n._uU(1,"BEST LAP"),n.qZA())}function ys(m,g){1&m&&(n.TgZ(0,"span",3),n._uU(1,"S1"),n.qZA())}function hi(m,g){1&m&&(n.TgZ(0,"span",3),n._uU(1,"S2"),n.qZA())}function el(m,g){1&m&&(n.TgZ(0,"span",3),n._uU(1,"S3"),n.qZA())}function tl(m,g){1&m&&(n.TgZ(0,"span",3),n._uU(1,"GAP"),n.qZA())}function Qn(m,g){1&m&&(n.TgZ(0,"span",3),n._uU(1,"INT"),n.qZA())}function ac(m,g){1&m&&(n.TgZ(0,"span",3),n._uU(1,"LAPS"),n.qZA())}function ns(m,g){1&m&&(n.TgZ(0,"span",3),n._uU(1,"PITS"),n.qZA())}function lc(m,g){1&m&&(n.TgZ(0,"span",3),n._uU(1,"FUEL"),n.qZA())}function Ea(m,g){1&m&&n._UZ(0,"span",3)}function nl(m,g){1&m&&(n.TgZ(0,"span",3),n._uU(1,"LAP"),n.qZA())}function rl(m,g){1&m&&(n.TgZ(0,"span",3),n._uU(1,"TIME"),n.qZA())}const ol=function(m){return[m,"cell"]};function Vi(m,g){if(1&m&&(n.TgZ(0,"div",4),n.YNc(1,Da,2,0,"span",5),n.YNc(2,ts,2,0,"span",5),n.YNc(3,fi,2,0,"span",5),n.YNc(4,Qo,2,0,"span",5),n.YNc(5,Ii,2,0,"span",5),n.YNc(6,Ys,2,0,"span",5),n.YNc(7,ys,2,0,"span",5),n.YNc(8,hi,2,0,"span",5),n.YNc(9,el,2,0,"span",5),n.YNc(10,tl,2,0,"span",5),n.YNc(11,Qn,2,0,"span",5),n.YNc(12,ac,2,0,"span",5),n.YNc(13,ns,2,0,"span",5),n.YNc(14,lc,2,0,"span",5),n.YNc(15,Ea,1,0,"span",5),n.YNc(16,nl,2,0,"span",5),n.YNc(17,rl,2,0,"span",5),n.qZA()),2&m){const h=g.$implicit;n.Q6J("ngSwitch",h)("ngClass",n.VKq(19,ol,h)),n.xp6(1),n.Q6J("ngSwitchCase","number"),n.xp6(1),n.Q6J("ngSwitchCase","name"),n.xp6(1),n.Q6J("ngSwitchCase","code"),n.xp6(1),n.Q6J("ngSwitchCase","time"),n.xp6(1),n.Q6J("ngSwitchCase","lastlap"),n.xp6(1),n.Q6J("ngSwitchCase","bestlap"),n.xp6(1),n.Q6J("ngSwitchCase","sector1"),n.xp6(1),n.Q6J("ngSwitchCase","sector2"),n.xp6(1),n.Q6J("ngSwitchCase","sector3"),n.xp6(1),n.Q6J("ngSwitchCase","gap"),n.xp6(1),n.Q6J("ngSwitchCase","int"),n.xp6(1),n.Q6J("ngSwitchCase","laps"),n.xp6(1),n.Q6J("ngSwitchCase","pits"),n.xp6(1),n.Q6J("ngSwitchCase","fuel"),n.xp6(1),n.Q6J("ngSwitchCase","status"),n.xp6(1),n.Q6J("ngSwitchCase","lap"),n.xp6(1),n.Q6J("ngSwitchCase","laptime")}}let il=(()=>{var m;class g{}return(m=g).\u0275fac=function(y){return new(y||m)},m.\u0275cmp=n.Xpm({type:m,selectors:[["leaderboard-head"]],inputs:{fields:"fields"},decls:2,vars:2,consts:[["class","position cell",4,"ngIf"],[3,"ngSwitch","ngClass",4,"ngFor","ngForOf"],[1,"position","cell"],[1,"title"],[3,"ngSwitch","ngClass"],["class","title",4,"ngSwitchCase"]],template:function(y,M){1&y&&(n.YNc(0,Qa,3,0,"div",0),n.YNc(1,Vi,18,21,"div",1)),2&y&&(n.Q6J("ngIf",M.fields.length>5),n.xp6(1),n.Q6J("ngForOf",M.fields))},dependencies:[$.mk,$.sg,$.O5,$.RF,$.n9],styles:['@charset "UTF-8";@media (orientation: portrait){[_nghost-%COMP%]{font-size:3vw}}@media (orientation: landscape){[_nghost-%COMP%]{font-size:2.5vw}ion-modal [_nghost-%COMP%]{font-size:1.5em!important}}[_nghost-%COMP%]{display:block;width:100%}leaderboard-head[_ngcontent-%COMP%]{margin:0 2px}leaderboard-item[_ngcontent-%COMP%]{margin:0 2px 4px}leaderboard-lap[_ngcontent-%COMP%]{margin:0 2px 4px}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.row.odd[_ngcontent-%COMP%]{background-color:var(--ion-color-step-100)}.row.even[_ngcontent-%COMP%]{background-color:var(--ion-color-step-200)}.cell[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;padding:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.position[_ngcontent-%COMP%]{text-align:left;width:1.9em;padding-left:0!important;padding-right:0!important}.number[_ngcontent-%COMP%]{text-align:left;width:1.65em}.lap[_ngcontent-%COMP%]{text-align:left;width:2.5em}.name[_ngcontent-%COMP%]{flex-basis:4em;flex-grow:1;text-align:left}.code[_ngcontent-%COMP%]{flex-basis:3em;flex-grow:1;text-align:left}.time[_ngcontent-%COMP%]{text-align:right;width:6em}.bestlap[_ngcontent-%COMP%], .lastlap[_ngcontent-%COMP%], .laptime[_ngcontent-%COMP%]{text-align:right;width:5em}.sector1[_ngcontent-%COMP%], .sector2[_ngcontent-%COMP%], .sector3[_ngcontent-%COMP%]{text-align:right;width:4.5em}.gap[_ngcontent-%COMP%], .int[_ngcontent-%COMP%]{text-align:right;width:5em}.laps[_ngcontent-%COMP%], .pits[_ngcontent-%COMP%]{text-align:right;width:3em}.fuel[_ngcontent-%COMP%]{text-align:left;width:4.5em}.status[_ngcontent-%COMP%]{padding-right:0!important;text-align:left;width:2em}.status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:75%}.status[_ngcontent-%COMP%] span.inpit[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pitenter[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]{color:#0f0}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]:before{content:"\\25b2";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]:before{content:"\\25bc";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]:before{content:"\\25b2";transform:rotate(-90deg);display:inline-block;width:1em}span.title[_ngcontent-%COMP%]{font-size:75%}span.best[_ngcontent-%COMP%]{color:#0f0}span.best.allbest[_ngcontent-%COMP%]{color:#f0f}span.best.notime[_ngcontent-%COMP%], span.best.allbest.notime[_ngcontent-%COMP%]{color:inherit}span.sector[_ngcontent-%COMP%]{color:#ff0!important}gauge[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen)}'],changeDetection:0}),g})(),sl=(()=>{var m;class g{constructor(){this.min=0,this.max=1}}return(m=g).\u0275fac=function(y){return new(y||m)},m.\u0275cmp=n.Xpm({type:m,selectors:[["gauge"]],inputs:{min:"min",max:"max",value:"value"},decls:1,vars:2,template:function(y,M){1&y&&n._UZ(0,"span"),2&y&&n.Udp("padding-right",100*(M.max-M.value)/(M.max-M.min)+"%")},styles:["span[_ngcontent-%COMP%]{display:inline-block;background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen);background-clip:content-box;min-height:.8em;width:100%}"],changeDetection:0}),g})();function Mr(m,g){if(1&m&&n._uU(0),2&m){const h=n.oxw(2);n.hij(" ",h.item.id+1," ")}}function _s(m,g){if(1&m&&n._uU(0),2&m){const h=n.oxw(2);n.hij(" ",null==h.item.driver?null:h.item.driver.name," ")}}function Si(m,g){if(1&m&&n._uU(0),2&m){const h=n.oxw(2);n.hij(" ",null==h.item.driver?null:h.item.driver.code," ")}}function wa(m,g){if(1&m&&(n._uU(0),n.ALo(1,"time")),2&m){const h=n.oxw(3);n.hij(" ",n.xi3(1,1,h.item.time,"m:ss.sss")," ")}}function Io(m,g){if(1&m&&(n._uU(0),n.ALo(1,"time")),2&m){const h=n.oxw(3);n.hij(" ",n.xi3(1,1,h.item.time-h.ranked[0].time,"+s.sss")," ")}}function v(m,g){1&m&&n._uU(0," +1 Lap ")}function _(m,g){if(1&m&&n._uU(0),2&m){const h=n.oxw(3);n.hij(" +",h.ranked[0].laps-h.item.laps," Laps ")}}function f(m,g){if(1&m&&(n.TgZ(0,"span",18),n.YNc(1,wa,2,4,"ng-template",19),n.YNc(2,Io,2,4,"ng-template",20),n.YNc(3,v,1,0,"ng-template",21),n.YNc(4,_,1,1,"ng-template",22),n.qZA()),2&m){const h=n.oxw(2);n.Q6J("ngSwitch",0==h.item.position?"":(h.ranked[0].laps-h.item.laps).toString())}}const E=function(m){return{notime:m}};function P(m,g){if(1&m&&(n.TgZ(0,"span",23),n._uU(1),n.ALo(2,"time"),n.qZA()),2&m){const h=n.oxw(2);n.Q6J("ngClass",n.VKq(5,E,!h.item.best[0])),n.xp6(1),n.hij(" ",n.xi3(2,2,h.item.best[0],"s.sss")||"NO\u2009TIME"," ")}}function Y(m,g){if(1&m&&(n._uU(0),n.ALo(1,"time")),2&m){const h=n.oxw(2);n.hij(" ",n.xi3(1,1,h.item.position&&h.item.best[0]?h.item.best[0]-h.ranked[0].best[0]:null,"+s.sss")," ")}}function re(m,g){if(1&m&&(n._uU(0),n.ALo(1,"time")),2&m){const h=n.oxw(2);n.hij(" ",n.xi3(1,1,h.item.position&&h.item.best[0]?h.item.best[0]-h.ranked[h.item.position-1].best[0]:null,"+s.sss")," ")}}const Ve=function(m,g,h){return{best:m,allbest:g,notime:h}};function st(m,g){if(1&m&&(n.TgZ(0,"span",23),n._uU(1),n.ALo(2,"time"),n.qZA()),2&m){const h=n.oxw(2);n.Q6J("ngClass",n.kEZ(5,Ve,h.item.last[0]==h.item.best[0],h.item.last[0]==h.best[0],!h.item.last[0])),n.xp6(1),n.hij(" ",n.xi3(2,2,h.item.last[0],"s.sss")||"NO\u2009TIME"," ")}}const At=function(m,g,h){return{sector:m,best:g,allbest:h}};function xt(m,g){if(1&m&&(n.TgZ(0,"span",23),n._uU(1),n.ALo(2,"time"),n.qZA()),2&m){const h=n.oxw(2);n.Q6J("ngClass",n.kEZ(5,At,1==h.item.sector,h.item.last[1]==h.item.best[1],h.item.last[1]==h.best[1])),n.xp6(1),n.hij(" ",n.xi3(2,2,h.item.last[1],"s.sss")," ")}}function Fn(m,g){if(1&m&&(n.TgZ(0,"span",23),n._uU(1),n.ALo(2,"time"),n.qZA()),2&m){const h=n.oxw(2);n.Q6J("ngClass",n.kEZ(5,At,2==h.item.sector,h.item.last[2]==h.item.best[2],h.item.last[2]==h.best[2])),n.xp6(1),n.hij(" ",n.xi3(2,2,h.item.last[2],"s.sss")," ")}}function Ir(m,g){if(1&m&&(n.TgZ(0,"span",23),n._uU(1),n.ALo(2,"time"),n.qZA()),2&m){const h=n.oxw(2);n.Q6J("ngClass",n.kEZ(5,At,3==h.item.sector,h.item.last[3]==h.item.best[3],h.item.last[3]==h.best[3])),n.xp6(1),n.hij(" ",n.xi3(2,2,h.item.last[3],"s.sss")," ")}}function ei(m,g){if(1&m&&n._uU(0),2&m){const h=n.oxw(2);n.hij(" ",h.item.laps," ")}}function zo(m,g){if(1&m&&n._uU(0),2&m){const h=n.oxw(2);n.hij(" ",h.item.pits," ")}}function pi(m,g){if(1&m&&(n.TgZ(0,"gauge",24),n._uU(1,"\xa0"),n.qZA()),2&m){const h=n.oxw(2);n.Q6J("max",15)("value",h.item.fuel)}}function So(m,g){1&m&&n._UZ(0,"checkerboard",27),2&m&&n.Q6J("cols",7)("rows",5)}function al(m,g){if(1&m&&(n.TgZ(0,"span",23),n._uU(1,"PIT"),n.qZA()),2&m){const h=n.oxw(3);n.Q6J("ngClass",h.item.refuel?"inpit":"pitenter")}}function bs(m,g){if(1&m&&(n.TgZ(0,"span",23),n._uU(1),n.qZA()),2&m){const h=n.oxw(3);n.Q6J("ngClass",h.item.gridpos>h.item.position?"pos-up":h.item.gridpos2)}}const Gs=function(m){return[m,"cell"]};function Ws(m,g){if(1&m&&(n.TgZ(0,"div",2),n.YNc(1,Mr,1,1,"ng-template",3),n.YNc(2,_s,1,1,"ng-template",4),n.YNc(3,Si,1,1,"ng-template",5),n.YNc(4,f,5,1,"ng-template",6),n.YNc(5,P,3,7,"ng-template",7),n.YNc(6,Y,2,4,"ng-template",8),n.YNc(7,re,2,4,"ng-template",9),n.YNc(8,st,3,9,"ng-template",10),n.YNc(9,xt,3,9,"ng-template",11),n.YNc(10,Fn,3,9,"ng-template",12),n.YNc(11,Ir,3,9,"ng-template",13),n.YNc(12,ei,1,1,"ng-template",14),n.YNc(13,zo,1,1,"ng-template",15),n.YNc(14,pi,2,2,"ng-template",16),n.YNc(15,Cs,3,3,"ng-template",17),n.qZA()),2&m){const h=g.$implicit;n.Q6J("ngSwitch",h)("ngClass",n.VKq(2,Gs,h))}}let Ds=(()=>{var m;class g{abs(y){return y<0?-y:y}}return(m=g).\u0275fac=function(y){return new(y||m)},m.\u0275cmp=n.Xpm({type:m,selectors:[["leaderboard-item"]],inputs:{fields:"fields",item:"item",ranked:"ranked",best:"best"},decls:3,vars:3,consts:[[1,"position","cell",3,"color"],[3,"ngSwitch","ngClass",4,"ngFor","ngForOf"],[3,"ngSwitch","ngClass"],["ngSwitchCase","number"],["ngSwitchCase","name"],["ngSwitchCase","code"],["ngSwitchCase","time"],["ngSwitchCase","bestlap"],["ngSwitchCase","gap"],["ngSwitchCase","int"],["ngSwitchCase","lastlap"],["ngSwitchCase","sector1"],["ngSwitchCase","sector2"],["ngSwitchCase","sector3"],["ngSwitchCase","laps"],["ngSwitchCase","pits"],["ngSwitchCase","fuel"],["ngSwitchCase","status"],[3,"ngSwitch"],["ngSwitchCase",""],["ngSwitchCase","0"],["ngSwitchCase","1"],["ngSwitchDefault",""],[3,"ngClass"],[3,"max","value"],[3,"cols","rows",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"cols","rows"]],template:function(y,M){1&y&&(n.TgZ(0,"outline",0),n._uU(1),n.qZA(),n.YNc(2,Ws,16,4,"div",1)),2&y&&(n.Q6J("color",null==M.item.driver?null:M.item.driver.color),n.xp6(1),n.hij(" ",M.item.position+1,"\n"),n.xp6(1),n.Q6J("ngForOf",M.fields))},dependencies:[$.mk,$.sg,$.O5,$.RF,$.n9,$.ED,kt,sl,Ko,rn],styles:['@charset "UTF-8";@media (orientation: portrait){[_nghost-%COMP%]{font-size:3vw}}@media (orientation: landscape){[_nghost-%COMP%]{font-size:2.5vw}ion-modal [_nghost-%COMP%]{font-size:1.5em!important}}[_nghost-%COMP%]{display:block;width:100%}leaderboard-head[_ngcontent-%COMP%]{margin:0 2px}leaderboard-item[_ngcontent-%COMP%]{margin:0 2px 4px}leaderboard-lap[_ngcontent-%COMP%]{margin:0 2px 4px}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.row.odd[_ngcontent-%COMP%]{background-color:var(--ion-color-step-100)}.row.even[_ngcontent-%COMP%]{background-color:var(--ion-color-step-200)}.cell[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;padding:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.position[_ngcontent-%COMP%]{text-align:left;width:1.9em;padding-left:0!important;padding-right:0!important}.number[_ngcontent-%COMP%]{text-align:left;width:1.65em}.lap[_ngcontent-%COMP%]{text-align:left;width:2.5em}.name[_ngcontent-%COMP%]{flex-basis:4em;flex-grow:1;text-align:left}.code[_ngcontent-%COMP%]{flex-basis:3em;flex-grow:1;text-align:left}.time[_ngcontent-%COMP%]{text-align:right;width:6em}.bestlap[_ngcontent-%COMP%], .lastlap[_ngcontent-%COMP%], .laptime[_ngcontent-%COMP%]{text-align:right;width:5em}.sector1[_ngcontent-%COMP%], .sector2[_ngcontent-%COMP%], .sector3[_ngcontent-%COMP%]{text-align:right;width:4.5em}.gap[_ngcontent-%COMP%], .int[_ngcontent-%COMP%]{text-align:right;width:5em}.laps[_ngcontent-%COMP%], .pits[_ngcontent-%COMP%]{text-align:right;width:3em}.fuel[_ngcontent-%COMP%]{text-align:left;width:4.5em}.status[_ngcontent-%COMP%]{padding-right:0!important;text-align:left;width:2em}.status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:75%}.status[_ngcontent-%COMP%] span.inpit[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pitenter[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]{color:#0f0}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]:before{content:"\\25b2";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]:before{content:"\\25bc";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]:before{content:"\\25b2";transform:rotate(-90deg);display:inline-block;width:1em}span.title[_ngcontent-%COMP%]{font-size:75%}span.best[_ngcontent-%COMP%]{color:#0f0}span.best.allbest[_ngcontent-%COMP%]{color:#f0f}span.best.notime[_ngcontent-%COMP%], span.best.allbest.notime[_ngcontent-%COMP%]{color:inherit}span.sector[_ngcontent-%COMP%]{color:#ff0!important}gauge[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen)}'],changeDetection:0}),g})();function ll(m,g){if(1&m&&n._uU(0),2&m){const h=n.oxw(2);n.hij(" ",h.lap," ")}}const Ti=function(m,g){return{best:m,allbest:g}};function cc(m,g){if(1&m&&(n.TgZ(0,"span",9),n._uU(1),n.ALo(2,"time"),n.qZA()),2&m){const h=n.oxw(2);n.Q6J("ngClass",n.WLB(5,Ti,h.times[0]-h.times[1]==h.item.best[0],h.times[0]-h.times[1]==h.best[0])),n.xp6(1),n.hij(" ",n.xi3(2,2,h.times[0]-h.times[1],"s.sss")," ")}}function cl(m,g){if(1&m&&(n._uU(0),n.ALo(1,"time")),2&m){const h=n.oxw(2);n.hij(" ",n.xi3(1,1,h.times[0]-h.times[1]-h.best[0]||null,"+s.sss")," ")}}function Es(m,g){if(1&m&&(n._uU(0),n.ALo(1,"time")),2&m){const h=n.oxw(2);n.hij(" ",n.xi3(1,1,h.times[0]-h.times[1]-h.intlap||null,"+s.sss")," ")}}function Zs(m,g){if(1&m&&(n.TgZ(0,"span",9),n._uU(1),n.ALo(2,"time"),n.qZA()),2&m){const h=n.oxw(2);n.Q6J("ngClass",n.WLB(5,Ti,h.times[2]-h.times[1]==h.item.best[1],h.times[2]-h.times[1]==h.best[1])),n.xp6(1),n.hij(" ",n.xi3(2,2,h.times[2]-h.times[1],"s.sss")," ")}}function ul(m,g){if(1&m&&(n.TgZ(0,"span",9),n._uU(1),n.ALo(2,"time"),n.qZA()),2&m){const h=n.oxw(2);n.Q6J("ngClass",n.WLB(5,Ti,h.times[3]-h.times[2]==h.item.best[2],h.times[3]-h.times[2]==h.best[2])),n.xp6(1),n.hij(" ",n.xi3(2,2,h.times[3]-h.times[2],"s.sss")," ")}}function uc(m,g){if(1&m&&(n.TgZ(0,"span",9),n._uU(1),n.ALo(2,"time"),n.qZA()),2&m){const h=n.oxw(2);n.Q6J("ngClass",n.WLB(5,Ti,h.times[0]-h.times[3]==h.item.best[3],h.times[0]-h.times[3]==h.best[3])),n.xp6(1),n.hij(" ",n.xi3(2,2,h.times[0]-h.times[3],"s.sss")," ")}}const dc=function(m){return[m,"cell"]};function rs(m,g){if(1&m&&(n.TgZ(0,"div",1),n.YNc(1,ll,1,1,"ng-template",2),n.YNc(2,cc,3,8,"ng-template",3),n.YNc(3,cl,2,4,"ng-template",4),n.YNc(4,Es,2,4,"ng-template",5),n.YNc(5,Zs,3,8,"ng-template",6),n.YNc(6,ul,3,8,"ng-template",7),n.YNc(7,uc,3,8,"ng-template",8),n.qZA()),2&m){const h=g.$implicit;n.Q6J("ngSwitch",h)("ngClass",n.VKq(2,dc,h))}}let ws=(()=>{var m;class g{}return(m=g).\u0275fac=function(y){return new(y||m)},m.\u0275cmp=n.Xpm({type:m,selectors:[["leaderboard-lap"]],inputs:{lap:"lap",item:"item",times:"times",best:"best",intlap:"intlap",fields:"fields"},decls:1,vars:1,consts:[[3,"ngSwitch","ngClass",4,"ngFor","ngForOf"],[3,"ngSwitch","ngClass"],["ngSwitchCase","lap"],["ngSwitchCase","laptime"],["ngSwitchCase","gap"],["ngSwitchCase","int"],["ngSwitchCase","sector1"],["ngSwitchCase","sector2"],["ngSwitchCase","sector3"],[3,"ngClass"]],template:function(y,M){1&y&&n.YNc(0,rs,8,4,"div",0),2&y&&n.Q6J("ngForOf",M.fields)},dependencies:[$.mk,$.sg,$.RF,$.n9,rn],styles:['@charset "UTF-8";@media (orientation: portrait){[_nghost-%COMP%]{font-size:3vw}}@media (orientation: landscape){[_nghost-%COMP%]{font-size:2.5vw}ion-modal [_nghost-%COMP%]{font-size:1.5em!important}}[_nghost-%COMP%]{display:block;width:100%}leaderboard-head[_ngcontent-%COMP%]{margin:0 2px}leaderboard-item[_ngcontent-%COMP%]{margin:0 2px 4px}leaderboard-lap[_ngcontent-%COMP%]{margin:0 2px 4px}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.row.odd[_ngcontent-%COMP%]{background-color:var(--ion-color-step-100)}.row.even[_ngcontent-%COMP%]{background-color:var(--ion-color-step-200)}.cell[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;padding:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.position[_ngcontent-%COMP%]{text-align:left;width:1.9em;padding-left:0!important;padding-right:0!important}.number[_ngcontent-%COMP%]{text-align:left;width:1.65em}.lap[_ngcontent-%COMP%]{text-align:left;width:2.5em}.name[_ngcontent-%COMP%]{flex-basis:4em;flex-grow:1;text-align:left}.code[_ngcontent-%COMP%]{flex-basis:3em;flex-grow:1;text-align:left}.time[_ngcontent-%COMP%]{text-align:right;width:6em}.bestlap[_ngcontent-%COMP%], .lastlap[_ngcontent-%COMP%], .laptime[_ngcontent-%COMP%]{text-align:right;width:5em}.sector1[_ngcontent-%COMP%], .sector2[_ngcontent-%COMP%], .sector3[_ngcontent-%COMP%]{text-align:right;width:4.5em}.gap[_ngcontent-%COMP%], .int[_ngcontent-%COMP%]{text-align:right;width:5em}.laps[_ngcontent-%COMP%], .pits[_ngcontent-%COMP%]{text-align:right;width:3em}.fuel[_ngcontent-%COMP%]{text-align:left;width:4.5em}.status[_ngcontent-%COMP%]{padding-right:0!important;text-align:left;width:2em}.status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:75%}.status[_ngcontent-%COMP%] span.inpit[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pitenter[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]{color:#0f0}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]:before{content:"\\25b2";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]:before{content:"\\25bc";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]:before{content:"\\25b2";transform:rotate(-90deg);display:inline-block;width:1em}span.title[_ngcontent-%COMP%]{font-size:75%}span.best[_ngcontent-%COMP%]{color:#0f0}span.best.allbest[_ngcontent-%COMP%]{color:#f0f}span.best.notime[_ngcontent-%COMP%], span.best.allbest.notime[_ngcontent-%COMP%]{color:inherit}span.sector[_ngcontent-%COMP%]{color:#ff0!important}gauge[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen)}'],changeDetection:0}),g})(),fc=(()=>{var m;class g{}return(m=g).\u0275fac=function(y){return new(y||m)},m.\u0275mod=n.oAB({type:m}),m.\u0275inj=n.cJS({imports:[$.ez,ye.Pc,jr.m]}),g})();n.B6R($i,[$.mk,$.sg,ye.YG,ye.Sm,ye.W2,ye.Gu,ye.gu,ye.wd,ye.sr,ye.ki,Ko,il,Ds,ws],[Nn.X$]);let Cd=(()=>{var m;class g{}return(m=g).\u0275fac=function(y){return new(y||m)},m.\u0275mod=n.oAB({type:m}),m.\u0275inj=n.cJS({imports:[$.ez,ye.Pc]}),g})(),dl=(()=>{var m;class g{}return(m=g).\u0275fac=function(y){return new(y||m)},m.\u0275mod=n.oAB({type:m}),m.\u0275inj=n.cJS({imports:[$.ez,jt.u5,jt.UX,ye.Pc,fc,Cd,jr.m]}),g})(),Dd=(()=>{var m;class g{constructor(y,M,le,Se){this.logger=y,this.settings=M,this.controller=le,this.options=new kn.Ei,this.params=Se.data}get mode(){return this.options.cumode}set mode(y){this.options.cumode=y,this.settings.setOptions(this.options),this.dismiss()}ngOnInit(){this.subscription=this.settings.getOptions().subscribe({next:y=>{this.options=y},error:y=>{this.logger.error("Tuning settings: ",y)},complete:()=>{this.logger.debug("Tuning settings complete")}})}ngOnDestroy(){this.subscription.unsubscribe()}applyAll(){this.params.apply(),this.dismiss()}dismiss(){return this.controller.dismiss()}}return(m=g).\u0275fac=function(y){return new(y||m)(n.Y36(Dn.ed),n.Y36(kn.de),n.Y36(ye.Dh),n.Y36(ye.X1))},m.\u0275cmp=n.Xpm({type:m,selectors:[["ng-component"]],decls:7,vars:1,consts:[["translate","",3,"ngModel","ngModelChange"],["button","",3,"click"],["translate",""]],template:function(y,M){1&y&&(n.TgZ(0,"ion-item-group")(1,"ion-item")(2,"ion-checkbox",0),n.NdJ("ngModelChange",function(Se){return M.mode=Se}),n._uU(3,"Control Unit mode"),n.qZA()(),n.TgZ(4,"ion-item",1),n.NdJ("click",function(){return M.applyAll()}),n.TgZ(5,"ion-label",2),n._uU(6,"Apply all"),n.qZA()()()),2&y&&(n.xp6(2),n.Q6J("ngModel",M.mode))},dependencies:[jt.JJ,jt.On,ye.nz,ye.Ie,ye.Ub,ye.Q$,ye.w,Nn.Pi],encapsulation:2}),g})();const pc=function(m){return{number:m}};function gc(m,g){if(1&m&&(n.TgZ(0,"ion-label"),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&m){const h=n.oxw().$implicit,y=n.oxw().ngIf,M=n.oxw();n.xp6(1),n.hij(" ",(null==y[h.id]?null:y[h.id].name)||n.xi3(2,1,M.placeholder,n.VKq(4,pc,h.id+1))," ")}}function mc(m,g){if(1&m&&(n.TgZ(0,"ion-label"),n._uU(1),n.qZA()),2&m){const h=n.oxw().$implicit,y=n.oxw().ngIf;n.xp6(1),n.hij(" ",(null==y[h.id]?null:y[h.id].code)||"#"+(h.id+1)," ")}}const gi=function(m){return{pristine:m}};function fl(m,g){if(1&m){const h=n.EpF();n.TgZ(0,"ion-range",17),n.NdJ("ionChange",function(M){n.CHM(h);const le=n.oxw(2).$implicit,Se=n.oxw(2);return n.KtG(Se.update("speed",M,Se.locked?void 0:le.id))}),n.ALo(1,"async"),n.TgZ(2,"ion-badge",18),n._uU(3),n.qZA()()}if(2&m){const h=n.oxw(2).$implicit,y=n.oxw(2);n.Q6J("disabled",!n.lcZ(1,5,y.connected))("ngClass",n.VKq(7,gi,null==h.speed))("value",h.speed),n.xp6(2),n.Q6J("color",null==h.speed?"medium":"primary"),n.xp6(1),n.hij(" ",null==h.speed?"?":h.speed," ")}}function vc(m,g){if(1&m){const h=n.EpF();n.TgZ(0,"ion-range",17),n.NdJ("ionChange",function(M){n.CHM(h);const le=n.oxw(2).$implicit,Se=n.oxw(2);return n.KtG(Se.update("brake",M,Se.locked?void 0:le.id))}),n.ALo(1,"async"),n.TgZ(2,"ion-badge",18),n._uU(3),n.qZA()()}if(2&m){const h=n.oxw(2).$implicit,y=n.oxw(2);n.Q6J("disabled",!n.lcZ(1,5,y.connected))("ngClass",n.VKq(7,gi,null==h.brake))("value",h.brake),n.xp6(2),n.Q6J("color",null==h.brake?"medium":"primary"),n.xp6(1),n.hij(" ",null==h.brake?"?":h.brake," ")}}function hl(m,g){if(1&m){const h=n.EpF();n.TgZ(0,"ion-range",17),n.NdJ("ionChange",function(M){n.CHM(h);const le=n.oxw(2).$implicit,Se=n.oxw(2);return n.KtG(Se.update("fuel",M,Se.locked?void 0:le.id))}),n.ALo(1,"async"),n.TgZ(2,"ion-badge",18),n._uU(3),n.qZA()()}if(2&m){const h=n.oxw(2).$implicit,y=n.oxw(2);n.Q6J("disabled",!n.lcZ(1,5,y.connected))("ngClass",n.VKq(7,gi,null==h.fuel))("value",h.fuel),n.xp6(2),n.Q6J("color",null==h.fuel?"medium":"primary"),n.xp6(1),n.hij(" ",null==h.fuel?"?":h.fuel," ")}}function Ed(m,g){if(1&m&&(n.ynx(0)(1,14),n.YNc(2,fl,4,9,"ion-range",16),n.YNc(3,vc,4,9,"ion-range",16),n.YNc(4,hl,4,9,"ion-range",16),n.BQk()()),2&m){const h=n.oxw(3);n.xp6(1),n.Q6J("ngSwitch",h.type),n.xp6(1),n.Q6J("ngSwitchCase","speed"),n.xp6(1),n.Q6J("ngSwitchCase","brake"),n.xp6(1),n.Q6J("ngSwitchCase","fuel")}}function pl(m,g){if(1&m){const h=n.EpF();n.TgZ(0,"ion-range",20),n.NdJ("ionChange",function(M){n.CHM(h);const le=n.oxw(2).$implicit,Se=n.oxw(2);return n.KtG(Se.updateCU("speed",M,Se.locked?void 0:le.id))}),n.ALo(1,"async"),n.TgZ(2,"ion-badge",18),n._uU(3),n.qZA()()}if(2&m){const h=n.oxw(2).$implicit,y=n.oxw(2);n.Q6J("disabled",!n.lcZ(1,5,y.connected))("ngClass",n.VKq(7,gi,null==h.speed))("value",y.toCU.speed[h.speed]),n.xp6(2),n.Q6J("color",null==h.speed?"medium":"primary"),n.xp6(1),n.hij(" ",null==h.speed?"?":y.toCU.speed[h.speed]," ")}}function wd(m,g){if(1&m){const h=n.EpF();n.TgZ(0,"ion-range",20),n.NdJ("ionChange",function(M){n.CHM(h);const le=n.oxw(2).$implicit,Se=n.oxw(2);return n.KtG(Se.updateCU("brake",M,Se.locked?void 0:le.id))}),n.ALo(1,"async"),n.TgZ(2,"ion-badge",18),n._uU(3),n.qZA()()}if(2&m){const h=n.oxw(2).$implicit,y=n.oxw(2);n.Q6J("disabled",!n.lcZ(1,5,y.connected))("ngClass",n.VKq(7,gi,null==h.brake))("value",y.toCU.brake[h.brake]),n.xp6(2),n.Q6J("color",null==h.brake?"medium":"primary"),n.xp6(1),n.hij(" ",null==h.brake?"?":y.toCU.brake[h.brake]," ")}}function yc(m,g){if(1&m){const h=n.EpF();n.TgZ(0,"ion-range",20),n.NdJ("ionChange",function(M){n.CHM(h);const le=n.oxw(2).$implicit,Se=n.oxw(2);return n.KtG(Se.updateCU("fuel",M,Se.locked?void 0:le.id))}),n.ALo(1,"async"),n.TgZ(2,"ion-badge",18),n._uU(3),n.qZA()()}if(2&m){const h=n.oxw(2).$implicit,y=n.oxw(2);n.Q6J("disabled",!n.lcZ(1,5,y.connected))("ngClass",n.VKq(7,gi,null==h.fuel))("value",y.toCU.fuel[h.fuel]),n.xp6(2),n.Q6J("color",null==h.fuel?"medium":"primary"),n.xp6(1),n.hij(" ",null==h.fuel?"?":y.toCU.fuel[h.fuel]," ")}}function _c(m,g){if(1&m&&(n.ynx(0)(1,14),n.YNc(2,pl,4,9,"ion-range",19),n.YNc(3,wd,4,9,"ion-range",19),n.YNc(4,yc,4,9,"ion-range",19),n.BQk()()),2&m){const h=n.oxw(3);n.xp6(1),n.Q6J("ngSwitch",h.type),n.xp6(1),n.Q6J("ngSwitchCase","speed"),n.xp6(1),n.Q6J("ngSwitchCase","brake"),n.xp6(1),n.Q6J("ngSwitchCase","fuel")}}function Ma(m,g){if(1&m&&(n.TgZ(0,"ion-item")(1,"outline",13),n._uU(2),n.qZA(),n.ynx(3,14),n.ALo(4,"async"),n.YNc(5,gc,3,6,"ion-label",15),n.YNc(6,mc,2,1,"ion-label",15),n.BQk(),n.ynx(7,14),n.ALo(8,"async"),n.YNc(9,Ed,5,4,"ng-container",15),n.YNc(10,_c,5,4,"ng-container",15),n.BQk(),n.qZA()),2&m){const h=g.$implicit,y=n.oxw().ngIf,M=n.oxw();let le;n.xp6(1),n.Q6J("color",null==y[h.id]?null:y[h.id].color),n.xp6(1),n.hij(" ",h.id+1," "),n.xp6(1),n.Q6J("ngSwitch",n.lcZ(4,8,M.orientation)),n.xp6(2),n.Q6J("ngSwitchCase","landscape"),n.xp6(1),n.Q6J("ngSwitchCase","portrait"),n.xp6(1),n.Q6J("ngSwitch",null==(le=n.lcZ(8,10,M.options))?null:le.cumode),n.xp6(2),n.Q6J("ngSwitchCase",!1),n.xp6(1),n.Q6J("ngSwitchCase",!0)}}function Md(m,g){if(1&m&&(n.ynx(0),n.YNc(1,Ma,11,12,"ion-item",12),n.BQk()),2&m){const h=n.oxw();n.xp6(1),n.Q6J("ngForOf",h.models)}}const Id=[0,1,2,3,4,5].map(m=>({id:m,speed:null,brake:null,fuel:null}));let Ks=(()=>{var m;class g{constructor(y,M,le,Se,Ct,et){this.logger=y,this.cu=M,this.popover=le,this.ref=Se,this.models=Id,this.locked=!1,this.type="speed",this.placeholder="Driver {{number}}",this.fromCU={speed:[0,1,2,3,5,6,7,9,11,13,15],brake:[0,6,7,8,9,10,11,12,13,14,15],fuel:[0,3,4,5,6,7,8,9,10,11,12]},this.toCU={speed:[1,1,2,3,3,4,5,6,6,7,7,8,8,9,9,10],brake:[1,1,1,1,1,1,1,2,3,4,5,6,7,8,9,10],fuel:[1,1,1,1,2,3,4,5,6,7,8,9,10,10,10,10]},this.subject=new nn.x,this.connected=M.pipe((0,V.h)(Et=>!!Et),(0,Oe.w)(Et=>Et.getState()),(0,Z.U)(Et=>"connected"==Et)),this.drivers=et.getDrivers(),this.options=et.getOptions(),this.orientation=Ct.orientation}ngOnInit(){this.subject.pipe(function hc(m,g=mn){return(0,vt.e)((h,y)=>{let M=null,le=null,Se=null;const Ct=()=>{if(M){M.unsubscribe(),M=null;const Et=le;le=null,y.next(Et)}};function et(){const Et=Se+m,Bt=g.now();if(Bt{le=Et,Se=g.now(),M||(M=g.schedule(et,m),y.add(M))},()=>{Ct(),y.complete()},void 0,()=>{le=M=null}))})}(400)).subscribe(y=>{for(let M of void 0!==y.id?[this.models[y.id]]:this.models)switch(y.type){case"speed":this.cu.value.setSpeed(M.id,M.speed);break;case"brake":this.cu.value.setBrake(M.id,M.brake);break;case"fuel":this.cu.value.setFuel(M.id,M.fuel)}})}ngOnDestroy(){this.subject.complete()}applyAll(){for(let y of this.models)null!==y.speed&&this.cu.value.setSpeed(y.id,y.speed),null!==y.brake&&this.cu.value.setBrake(y.id,y.brake),null!==y.fuel&&this.cu.value.setFuel(y.id,y.fuel)}showMenu(y){return this.popover.create({component:Dd,componentProps:{apply:()=>this.applyAll()},event:y}).then(M=>{M.present()})}update(y,M,le){const Se=M.detail.value;this.logger.debug("Set",y,"to",Se,"for",le);for(let Ct of void 0!==le?[this.models[le]]:this.models)Ct[y]=Se;this.subject.next({id:le,type:y}),this.ref.detectChanges()}updateCU(y,M,le){let Se=M.detail.value;switch(y){case"speed":Se=this.fromCU.speed[M.detail.value];break;case"brake":Se=this.fromCU.brake[M.detail.value];break;case"fuel":Se=this.fromCU.fuel[M.detail.value]}this.logger.debug("Set",y,"to",Se,"for",le);for(let Ct of void 0!==le?[this.models[le]]:this.models)Ct[y]=Se;this.subject.next({id:le,type:y}),this.ref.detectChanges()}}return(m=g).\u0275fac=function(y){return new(y||m)(n.Y36(Dn.ed),n.Y36(Dn.V1),n.Y36(ye.Dh),n.Y36(n.sBO),n.Y36(Dn.zi),n.Y36(kn.de))},m.\u0275cmp=n.Xpm({type:m,selectors:[["ng-component"]],decls:25,vars:5,consts:[["slot","start"],["defaultHref","/"],["translate",""],["slot","end"],[3,"click"],["slot","icon-only",3,"name"],["slot","icon-only","name","ellipsis-vertical-sharp"],[3,"ngModel","ngModelChange"],["value","speed"],["value","brake"],["value","fuel"],[4,"ngIf"],[4,"ngFor","ngForOf"],["slot","start",3,"color"],[3,"ngSwitch"],[4,"ngSwitchCase"],["min","0","max","15","snaps","true","aria-label","",3,"disabled","ngClass","value","ionChange",4,"ngSwitchCase"],["min","0","max","15","snaps","true","aria-label","",3,"disabled","ngClass","value","ionChange"],["slot","end",1,"tuning",3,"color"],["min","1","max","10","snaps","true","aria-label","",3,"disabled","ngClass","value","ionChange",4,"ngSwitchCase"],["min","1","max","10","snaps","true","aria-label","",3,"disabled","ngClass","value","ionChange"]],template:function(y,M){1&y&&(n.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),n._UZ(3,"ion-back-button",1),n.qZA(),n.TgZ(4,"ion-title")(5,"span",2),n._uU(6,"Tuning"),n.qZA()(),n.TgZ(7,"ion-buttons",3)(8,"ion-button",4),n.NdJ("click",function(){return M.locked=!M.locked}),n._UZ(9,"ion-icon",5),n.qZA(),n.TgZ(10,"ion-button",4),n.NdJ("click",function(Se){return M.showMenu(Se)}),n._UZ(11,"ion-icon",6),n.qZA()()()(),n.TgZ(12,"ion-content")(13,"ion-segment",7),n.NdJ("ngModelChange",function(Se){return M.type=Se}),n.TgZ(14,"ion-segment-button",8)(15,"ion-label",2),n._uU(16,"Speed"),n.qZA()(),n.TgZ(17,"ion-segment-button",9)(18,"ion-label",2),n._uU(19,"Brake"),n.qZA()(),n.TgZ(20,"ion-segment-button",10)(21,"ion-label",2),n._uU(22,"Fuel"),n.qZA()()(),n.YNc(23,Md,2,1,"ng-container",11),n.ALo(24,"async"),n.qZA()),2&y&&(n.xp6(9),n.Q6J("name",M.locked?"link-sharp":"unlink-sharp"),n.xp6(4),n.Q6J("ngModel",M.type),n.xp6(10),n.Q6J("ngIf",n.lcZ(24,3,M.drivers)))},dependencies:[$.mk,$.sg,$.O5,$.RF,$.n9,jt.JJ,jt.On,ye.oU,ye.yp,ye.YG,ye.Sm,ye.W2,ye.Gu,ye.gu,ye.Ie,ye.Q$,ye.I_,ye.cJ,ye.GO,ye.wd,ye.sr,ye.QI,ye.cs,Ko,Nn.Pi,$.Ov,Nn.X$],encapsulation:2}),g})(),Sd=(()=>{var m;class g{}return(m=g).\u0275fac=function(y){return new(y||m)},m.\u0275mod=n.oAB({type:m}),m.\u0275inj=n.cJS({imports:[$.ez,jt.u5,ye.Pc,jr.m]}),g})();const Td=[{path:"",redirectTo:"rms/practice",pathMatch:"full"},{path:"rms/:mode",component:kr},{path:"drivers",component:wo},{path:"tuning",component:Ks},{path:"settings",loadChildren:()=>Promise.resolve().then(b.bind(b,7075)).then(m=>m.SettingsModule)},{path:"**",component:kr}];let bc=(()=>{var m;class g{}return(m=g).\u0275fac=function(y){return new(y||m)},m.\u0275mod=n.oAB({type:m}),m.\u0275inj=n.cJS({imports:[Hn.Bz.forRoot(Td,{preloadingStrategy:Hn.wm,useHash:!0}),Hn.Bz]}),g})(),Ad=(()=>{var m;class g{}return(m=g).\u0275fac=function(y){return new(y||m)},m.\u0275mod=n.oAB({type:m}),m.\u0275inj=n.cJS({imports:[$.ez,jr.m,ye.Pc,bc]}),g})();var xd=b(590),gl=(b(7075),b(7162));function ti(m,g){if(1&m){const h=n.EpF();n.TgZ(0,"ion-item",2),n.NdJ("click",function(){n.CHM(h);const M=n.oxw().$implicit,le=n.oxw();return n.KtG(le.onSelect(M))}),n.TgZ(1,"ion-label")(2,"h2"),n._uU(3),n.qZA(),n.TgZ(4,"h4"),n._uU(5),n.qZA()()()}if(2&m){const h=n.oxw().$implicit;n.xp6(3),n.Oqu(h.name),n.xp6(2),n.Oqu(h.address)}}function wc(m,g){if(1&m&&n.YNc(0,ti,6,2,"ion-item",1),2&m){const h=g.$implicit,y=n.oxw();n.Q6J("ngIf",!h.equals(y.selected))}}b(6557),b(6928),b(6291),b(6659);let vl=(()=>{var m;class g{constructor(y,M,le,Se,Ct){this.backends=y,this.logger=M,this.platform=le,this.settings=Se,this.toast=Ct,this.subscription=new mr.w0}ngOnInit(){this.platform.ready().then(()=>{const y=this.backends.map(M=>M.scan().pipe((0,d.K)(le=>(this.logger.error("Scan error:",le),this.toast.showLongCenter(le.toString()),(0,Vr.c)()))));this.peripherals=(0,Pr.D)(y).pipe((0,Nt.z)(M=>M),(0,V.h)(M=>"demo"!=M.type||this.demoControlUnit),(0,Mn.b)(M=>{!this.selected&&"web-bluetooth"==M.type&&this.onSelect(M)}),(0,Fr.R)((M,le)=>M.concat(le),[]))}),this.subscription.add(this.settings.getConnection().subscribe(y=>{this.demoControlUnit=y.demoControlUnit}))}ngOnDestroy(){this.subscription.unsubscribe()}onSelect(y){this.settings.getConnection().pipe((0,Qt.q)(1)).subscribe(M=>{this.settings.setConnection(Object.assign({},M,{type:y.type,name:y.name,address:y.address}))})}}return(m=g).\u0275fac=function(y){return new(y||m)(n.Y36(Ar),n.Y36(Dn.ed),n.Y36(ye.t4),n.Y36(kn.de),n.Y36(Dn.tQ))},m.\u0275cmp=n.Xpm({type:m,selectors:[["connections"]],inputs:{selected:"selected"},decls:2,vars:3,consts:[["ngFor","",3,"ngForOf"],["button","","menuClose","",3,"click",4,"ngIf"],["button","","menuClose","",3,"click"]],template:function(y,M){1&y&&(n.YNc(0,wc,1,1,"ng-template",0),n.ALo(1,"async")),2&y&&n.Q6J("ngForOf",n.lcZ(1,1,M.peripherals))},dependencies:[$.sg,$.O5,ye.Ie,ye.Q$,$.Ov],encapsulation:2}),g})(),Mc=(()=>{var m;class g{transform(y){return y?y.replace(/^5(\d)(\d+)$/,"$1.$2"):"..."}}return(m=g).\u0275fac=function(y){return new(y||m)},m.\u0275pipe=n.Yjl({name:"cuversion",type:m,pure:!0}),m.\u0275prov=n.Yz7({token:m,factory:m.\u0275fac}),g})();function yl(m,g){if(1&m&&(n.TgZ(0,"h3")(1,"span",5),n._uU(2,"Firmware version"),n.qZA(),n._uU(3),n.ALo(4,"cuversion"),n.ALo(5,"async"),n.qZA()),2&m){const h=n.oxw();n.xp6(3),n.hij(" ",n.lcZ(4,1,n.lcZ(5,3,h.version))," ")}}function Ia(m,g){if(1&m){const h=n.EpF();n.TgZ(0,"ion-item",18),n.NdJ("click",function(){n.CHM(h);const M=n.oxw(2);return n.KtG(M.exitApp())}),n._UZ(1,"ion-icon",19),n.TgZ(2,"ion-label",5),n._uU(3,"Exit"),n.qZA()()}}function Ic(m,g){if(1&m){const h=n.EpF();n.TgZ(0,"div")(1,"ion-item-group")(2,"ion-menu-toggle",6)(3,"ion-item",7),n.NdJ("click",function(){n.CHM(h);const M=n.oxw();return n.KtG(M.startPractice())}),n._UZ(4,"ion-icon",8),n.TgZ(5,"ion-label",5),n._uU(6,"Free Practice"),n.qZA()(),n.TgZ(7,"ion-item",7),n.NdJ("click",function(){n.CHM(h);const M=n.oxw();return n.KtG(M.startQualifying())}),n._UZ(8,"ion-icon",9),n.TgZ(9,"ion-label",5),n._uU(10,"Qualifying"),n.qZA()(),n.TgZ(11,"ion-item",7),n.NdJ("click",function(){n.CHM(h);const M=n.oxw();return n.KtG(M.startRace())}),n._UZ(12,"ion-icon",10),n.TgZ(13,"ion-label",5),n._uU(14,"Race"),n.qZA()()()(),n.TgZ(15,"ion-item-group")(16,"ion-menu-toggle",6)(17,"ion-item",11),n._UZ(18,"ion-icon",12),n.TgZ(19,"ion-label",5),n._uU(20,"Drivers"),n.qZA()(),n.TgZ(21,"ion-item",13),n._UZ(22,"ion-icon",14),n.TgZ(23,"ion-label",5),n._uU(24,"Tuning"),n.qZA()()()(),n.TgZ(25,"ion-item-group")(26,"ion-menu-toggle",6)(27,"ion-item",15),n._UZ(28,"ion-icon",16),n.TgZ(29,"ion-label",5),n._uU(30,"Settings"),n.qZA()(),n.YNc(31,Ia,4,0,"ion-item",17),n.qZA()()()}if(2&m){const h=n.oxw();n.xp6(3),n.Q6J("disabled",!h.cu),n.xp6(4),n.Q6J("disabled",!h.cu),n.xp6(4),n.Q6J("disabled",!h.cu),n.xp6(10),n.Q6J("disabled",!h.cu),n.xp6(10),n.Q6J("ngIf",h.exitApp)}}function Sc(m,g){if(1&m&&(n.TgZ(0,"ion-item-group"),n._UZ(1,"connections",20),n.qZA()),2&m){const h=n.oxw(2);n.xp6(1),n.Q6J("selected",null==h.cu?null:h.cu.peripheral)}}function Tc(m,g){if(1&m){const h=n.EpF();n.TgZ(0,"ion-item-group")(1,"ion-item",18),n.NdJ("click",function(){n.CHM(h);const M=n.oxw(2);return n.KtG(M.reconnect())}),n._UZ(2,"ion-icon",21),n.TgZ(3,"ion-label",5),n._uU(4,"Reconnect"),n.qZA()()()}}function _l(m,g){if(1&m&&(n.TgZ(0,"div"),n.YNc(1,Sc,2,1,"ion-item-group",3),n.YNc(2,Tc,5,0,"ion-item-group",3),n.qZA()),2&m){const h=n.oxw();n.xp6(1),n.Q6J("ngIf",h.open),n.xp6(1),n.Q6J("ngIf",h.cu)}}let Ac=(()=>{var m;class g{constructor(y,M,le,Se,Ct,et){this.app=y,this.logger=M,this.settings=le,this.alert=Se,this.mod=Ct,this.nav=et,this.exitApp=null,this.driversPage=wo,this.tuningPage=Ks,this.settingsPage=gl.N,this.initialized=!1,y.exit&&(this.exitApp=()=>this.onExitApp())}ngOnChanges(y){"cu"in y&&(this.mode=!!this.cu,this.version=this.cu?this.cu.getVersion():Promise.resolve(void 0))}onMenuOpen(){!this.initialized&&this.connections&&(navigator.bluetooth&&this.connections.ngOnInit(),this.initialized=!0),this.open=!0}onMenuClose(){this.mode=!!this.cu,this.open=!1}onMenuToggle(){this.mode=!this.mode}reconnect(){this.cu&&(this.logger.info("Reconnecting to",this.cu.peripheral),this.cu.reconnect().then(()=>{this.version=this.cu.getVersion()}))}startPractice(){return this.nav.navigateRoot("rms/practice")}startQualifying(){this.settings.getQualifyingSettings().pipe((0,Qt.q)(1)).subscribe(y=>this.mod.create({component:es,componentProps:y}).then(M=>{M.onDidDismiss().then(le=>{le.data&&this.settings.setQualifyingSettings(le.data).then(()=>{this.nav.navigateRoot("rms/qualifying")})}),M.present()}))}startRace(){this.settings.getRaceSettings().pipe((0,Qt.q)(1)).subscribe(y=>this.mod.create({component:es,componentProps:y}).then(M=>{M.onDidDismiss().then(le=>{le.data&&this.settings.setRaceSettings(le.data).then(()=>{this.nav.navigateRoot("rms/race")})}),M.present()}))}onExitApp(){this.alert.show({message:"Exit Open Lap?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>this.exit()}]})}exit(){this.logger.info("Exiting application"),this.cu?this.cu.disconnect().catch(y=>{this.logger.error("Error disconnecting from CU:",y)}).then(()=>{this.app.exit()}):this.app.exit(),this.logger.info("Exited application")}}return(m=g).\u0275fac=function(y){return new(y||m)(n.Y36(Dn.zi),n.Y36(Dn.ed),n.Y36(kn.de),n.Y36(Dn.Pn),n.Y36(ye.IN),n.Y36(ye.SH))},m.\u0275cmp=n.Xpm({type:m,selectors:[["menu"]],viewQuery:function(y,M){if(1&y&&n.Gf(vl,5),2&y){let le;n.iGM(le=n.CRH())&&(M.connections=le.first)}},inputs:{cu:"cu"},features:[n.TTD],decls:14,vars:9,consts:[["contentId","menu-content",3,"ionDidClose","ionDidOpen"],["lines","none"],[3,"color","click"],[4,"ngIf"],["slot","end",3,"name"],["translate",""],["auto-hide","false"],["button","",3,"disabled","click"],["name","speedometer-sharp","slot","start"],["name","stopwatch-sharp","slot","start"],["name","trophy-sharp","slot","start"],["button","","routerLink","/drivers"],["name","people-sharp","slot","start"],["button","","routerLink","/tuning",3,"disabled"],["name","build-sharp","slot","start"],["button","","routerLink","/settings"],["menuClose","","name","settings-sharp","slot","start"],["button","",3,"click",4,"ngIf"],["button","",3,"click"],["name","exit-sharp","slot","start"],[3,"selected"],["name","refresh-sharp","slot","start"]],template:function(y,M){1&y&&(n.TgZ(0,"ion-menu",0),n.NdJ("ionDidClose",function(){return M.onMenuClose()})("ionDidOpen",function(){return M.onMenuOpen()}),n.TgZ(1,"ion-content")(2,"ion-list",1)(3,"ion-item",2),n.NdJ("click",function(){return M.onMenuToggle()}),n.TgZ(4,"ion-label")(5,"h1"),n._uU(6),n.ALo(7,"translate"),n.qZA(),n.TgZ(8,"h2"),n._uU(9),n.qZA(),n.YNc(10,yl,6,5,"h3",3),n.qZA(),n._UZ(11,"ion-icon",4),n.qZA(),n.YNc(12,Ic,32,5,"div",3),n.YNc(13,_l,3,2,"div",3),n.qZA()()()),2&y&&(n.xp6(3),n.Q6J("color",M.cu?"primary":"danger"),n.xp6(3),n.Oqu(M.cu?M.cu.peripheral.name:n.lcZ(7,7,"No connection")),n.xp6(3),n.Oqu(null==M.cu?null:M.cu.peripheral.address),n.xp6(1),n.Q6J("ngIf",M.cu),n.xp6(1),n.Q6J("name",M.mode?"caret-down-sharp":"caret-up-sharp"),n.xp6(1),n.Q6J("ngIf",M.mode),n.xp6(1),n.Q6J("ngIf",!M.mode))},dependencies:[$.O5,Nn.Pi,ye.W2,ye.gu,ye.Ie,ye.Ub,ye.Q$,ye.q_,ye.z0,ye.zc,ye.YI,Hn.rH,vl,$.Ov,Nn.X$,Mc],encapsulation:2}),g})();const ho={connected:"Connected to {{device}}",connecting:"Connecting to {{device}}",disconnected:"Disconnected from {{device}}"};let Sa=(()=>{var m;class g{constructor(y,M,le,Se,Ct,et,Et,Bt,Bn,Dt){this.app=y,this.cu=M,this.backends=le,this.alert=Se,this.logger=Ct,this.settings=et,this.speech=Et,this.toast=Bt,this.translate=Bn,this.updates=Dt,this.stateSubscription=new mr.w0,window.addEventListener("orientationchange",()=>{y.enableFullScreen(window.screen.orientation.type.startsWith("landscape"))}),window.screen.orientation&&window.screen.orientation.type&&y.enableFullScreen(window.screen.orientation.type.startsWith("landscape")),y.keepAwake(!0),Bn.setDefaultLang("en")}ngOnInit(){this.app.getVersion().then(y=>{this.app.getVersionCode().then(M=>{M&&(y+=" ("+M+")"),this.logger.info("Open Lap",y,"running on",window?.navigator?.userAgent)})}),this.settings.getOptions().subscribe(y=>{this.logger.setDebugEnabled(y.debug),this.setLanguage(y.language)})}ngOnDestroy(){this.cu.next(null)}ngAfterViewInit(){this.updates.isEnabled?(this.logger.info("Service worker enabled"),this.updates.available.subscribe(()=>{this.logger.info("Update available"),this.update()})):this.logger.debug("Service worker not enabled"),new Promise(y=>setTimeout(y,100)).then(()=>{this.connect()})}update(){this.alert.show({message:"A new version of Open Lap is available. Do you want to update now?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>document.location.reload()}]})}setLanguage(y){this.translate.use(y||this.translate.getBrowserLang()||"en").toPromise().then(M=>{this.translate.get("notifications.locale").toPromise().then(le=>{this.speech.setLocale(le)})})}showConnectionToast(y,M){this.toast.showShortCenter(ho[y]||"Connecting to {{device}}",{device:M}).catch(Se=>{this.logger.error("Error showing toast",Se)})}connect(){this.settings.getConnection().subscribe(y=>{this.stateSubscription.unsubscribe(),y&&y.name?(this.logger.info("Connecting to "+y.name),(0,Pr.D)(this.backends.map(M=>M.scan())).pipe((0,Nt.z)(M=>M),(0,xd.P)(M=>M.equals(y)),Go(3e3)).toPromise().then(M=>{const le=new co(M,y);this.stateSubscription=le.getState().subscribe(Se=>this.showConnectionToast(Se,le.peripheral.name)),this.cu.next(le),le.connect()}).catch(M=>{this.logger.error("Error connecting to "+y.name+":",M)}).then(()=>{this.app.hideSplashScreen()})):(this.app.hideSplashScreen(),this.cu.next(null))})}}return(m=g).\u0275fac=function(y){return new(y||m)(n.Y36(Dn.zi),n.Y36(Dn.V1),n.Y36(Ar),n.Y36(Dn.Pn),n.Y36(Dn.ed),n.Y36(kn.de),n.Y36(Dn.vA),n.Y36(Dn.tQ),n.Y36(Nn.sK),n.Y36(T))},m.\u0275cmp=n.Xpm({type:m,selectors:[["app-root"]],decls:4,vars:3,consts:[[3,"cu"],["main","","id","menu-content"]],template:function(y,M){1&y&&(n.TgZ(0,"ion-app"),n._UZ(1,"menu",0),n.ALo(2,"async"),n._UZ(3,"ion-router-outlet",1),n.qZA()),2&y&&(n.xp6(1),n.Q6J("cu",n.lcZ(2,1,M.cu)))},dependencies:[ye.dr,ye.jP,Ac,$.Ov],encapsulation:2}),g})();const Ta={production:!0};let Aa=(()=>{var m;class g{constructor(y){this.logger=y}handleError(y){this.logger.error("Error:",y)}}return(m=g).\u0275fac=function(y){return new(y||m)(n.LFG(Dn.ed))},m.\u0275prov=n.Yz7({token:m,factory:m.\u0275fac}),g})();function Xr(m){return new zn(m,"./assets/i18n/",".json")}function Ms(m){return{enabled:!m.is("cordova")&&Ta.production,registrationStrategy:"registerImmediately"}}let bl=(()=>{var m;class g{}return(m=g).\u0275fac=function(y){return new(y||m)},m.\u0275mod=n.oAB({type:m,bootstrap:[Sa]}),m.\u0275inj=n.cJS({providers:[yt.B,_t.b,fr,Pn.A,tr.s,go,Kn.e,An.c,Yr.A,Cn.E,qn.F,{provide:Hn.wN,useClass:ye.r4},{provide:n.qLn,useClass:Aa},{provide:H,useFactory:Ms,deps:[ye.t4]}],imports:[c.b2,er,ye.Pc.forRoot(),Qr.Fw.forRoot(),Nn.aw.forRoot({loader:{provide:Nn.Zw,useFactory:Xr,deps:[he]}}),fo,Zo,Ad,dl,jr.m,Sd,bc,Ke.register("ngsw-worker.js")]}),g})();Ta.production&&(0,n.G48)(),c.q6().bootstrapModule(bl).catch(m=>console.log(m))},5021:function(ct){ct.exports=function(){"use strict";function Ie(V){return Ie.result?Ie.result:V&&"function"==typeof V.getSerializer?Ie.result=V.getSerializer():Promise.reject(new Error("localforage.getSerializer() was not available! localforage v1.4+ is required!"))}function b(V,Z){return(b.result=b.result||{})[Z]?b.result[Z]:V&&"function"==typeof V.getDriver?b.result[Z]=V.getDriver(Z):Promise.reject(new Error("localforage.getDriver() was not available! localforage v1.4+ is required!"))}function c(V){return b(V,V.WEBSQL)}var U=new Promise(function(V,Z){typeof sqlitePlugin<"u"?V():typeof cordova>"u"?Z(new Error("cordova is not defined.")):document.addEventListener("deviceready",function(){return V()},!1)}).catch(function(){return Promise.resolve()});function $(){return U.then(function(){if(typeof sqlitePlugin<"u"&&"function"==typeof sqlitePlugin.openDatabase)return sqlitePlugin.openDatabase;throw new Error("SQLite plugin is not present.")})}var O={_driver:"cordovaSQLiteDriver",_initStorage:function J(V){var Z=this,se={db:null};if(V)for(var G in V)se[G]="string"!=typeof V[G]?V[G].toString():V[G];var ee=$().then(function(de){return new Promise(function(ie,K){try{se.location=se.location||"default",se.db=de({name:se.name,version:String(se.version),description:se.description,size:se.size,key:se.dbKey,location:se.location})}catch(z){K(z)}se.db.transaction(function(z){z.executeSql("CREATE TABLE IF NOT EXISTS "+se.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],function(){Z._dbInfo=se,ie()},function(_e,Le){K(Le)})})})}),ce=Ie(Z),X=c(Z);return Promise.all([ce,X,ee]).then(function(de){return se.serializer=de[0],ee})},_support:function(){return $().then(function(Z){return!!Z}).catch(function(){return!1})}};return function x(V){var Z=["clear","getItem","iterate","key","keys","length","removeItem","setItem"];function se(ce,X){ce[X]=function(){var de=this,ie=arguments;return c(de).then(function(K){return K[X].apply(de,ie)})}}for(var G=0,ee=Z.length;G{ct.exports=function n(U,$,J){function O(Z,se){if(!$[Z]){if(!U[Z]){if(x)return x(Z,!0);var ee=new Error("Cannot find module '"+Z+"'");throw ee.code="MODULE_NOT_FOUND",ee}var ce=$[Z]={exports:{}};U[Z][0].call(ce.exports,function(X){return O(U[Z][1][X]||X)},ce,ce.exports,n,U,$,J)}return $[Z].exports}for(var x=void 0,V=0;V"u"&&n(3);var G=Promise;function ee(Q,Me){Me&&Q.then(function(fe){Me(null,fe)},function(fe){Me(fe)})}function ce(Q,Me,fe){"function"==typeof Me&&Q.then(Me),"function"==typeof fe&&Q.catch(fe)}function X(Q){return"string"!=typeof Q&&(console.warn(Q+" used as a key, but it is not a string."),Q=String(Q)),Q}function de(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var ie="local-forage-detect-blob-support",K=void 0,z={},_e=Object.prototype.toString,Le="readonly",De="readwrite";function ge(Q){for(var Me=Q.length,fe=new ArrayBuffer(Me),Te=new Uint8Array(fe),Be=0;Be=43)}}).catch(function(){return!1})}(Q).then(function(Me){return K=Me})}function ne(Q){var Me=z[Q.name],fe={};fe.promise=new G(function(Te,Be){fe.resolve=Te,fe.reject=Be}),Me.deferredOperations.push(fe),Me.dbReady=Me.dbReady?Me.dbReady.then(function(){return fe.promise}):fe.promise}function be(Q){var fe=z[Q.name].deferredOperations.pop();if(fe)return fe.resolve(),fe.promise}function je(Q,Me){var Te=z[Q.name].deferredOperations.pop();if(Te)return Te.reject(Me),Te.promise}function Fe(Q,Me){return new G(function(fe,Te){if(z[Q.name]=z[Q.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},Q.db){if(!Me)return fe(Q.db);ne(Q),Q.db.close()}var Be=[Q.name];Me&&Be.push(Q.version);var Pe=V.open.apply(V,Be);Me&&(Pe.onupgradeneeded=function(A){var T=Pe.result;try{T.createObjectStore(Q.storeName),A.oldVersion<=1&&T.createObjectStore(ie)}catch(H){if("ConstraintError"!==H.name)throw H;console.warn('The database "'+Q.name+'" has been upgraded from version '+A.oldVersion+" to version "+A.newVersion+', but the storage "'+Q.storeName+'" already exists.')}}),Pe.onerror=function(A){A.preventDefault(),Te(Pe.error)},Pe.onsuccess=function(){fe(Pe.result),be(Q)}})}function Ae(Q){return Fe(Q,!1)}function He(Q){return Fe(Q,!0)}function ae(Q,Me){if(!Q.db)return!0;var fe=!Q.db.objectStoreNames.contains(Q.storeName),Be=Q.version>Q.db.version;if(Q.versionQ.version&&(Q.version=Pe)}return!0}return!1}function Xe(Q){return se([ge(atob(Q.data))],{type:Q.type})}function tt(Q){return Q&&Q.__local_forage_encoded_blob}function he(Q){var Me=this,fe=Me._initReady().then(function(){var Te=z[Me._dbInfo.name];if(Te&&Te.dbReady)return Te.dbReady});return ce(fe,Q,Q),fe}function I(Q,Me,fe,Te){void 0===Te&&(Te=1);try{var Be=Q.db.transaction(Q.storeName,Me);fe(null,Be)}catch(Pe){if(Te>0&&(!Q.db||"InvalidStateError"===Pe.name||"NotFoundError"===Pe.name))return G.resolve().then(function(){if(!Q.db||"NotFoundError"===Pe.name&&!Q.db.objectStoreNames.contains(Q.storeName)&&Q.version<=Q.db.version)return Q.db&&(Q.version=Q.db.version+1),He(Q)}).then(function(){return function N(Q){ne(Q);for(var Me=z[Q.name],fe=Me.forages,Te=0;Te>4,we[Be++]=(15&A)<<4|T>>2,we[Be++]=(3&T)<<6|63&H;return te}function yr(Q){var Te,Me=new Uint8Array(Q),fe="";for(Te=0;Te>2],fe+=It[(3&Me[Te])<<4|Me[Te+1]>>4],fe+=It[(15&Me[Te+1])<<2|Me[Te+2]>>6],fe+=It[63&Me[Te+2]];return Me.length%3==2?fe=fe.substring(0,fe.length-1)+"=":Me.length%3==1&&(fe=fe.substring(0,fe.length-2)+"=="),fe}var Ht={serialize:function En(Q,Me){var fe="";if(Q&&(fe=lr.call(Q)),Q&&("[object ArrayBuffer]"===fe||Q.buffer&&"[object ArrayBuffer]"===lr.call(Q.buffer))){var Te,Be=it;Q instanceof ArrayBuffer?(Te=Q,Be+=gn):(Te=Q.buffer,"[object Int8Array]"===fe?Be+=sn:"[object Uint8Array]"===fe?Be+=ar:"[object Uint8ClampedArray]"===fe?Be+=gr:"[object Int16Array]"===fe?Be+=vn:"[object Uint16Array]"===fe?Be+=Pt:"[object Int32Array]"===fe?Be+=ln:"[object Uint32Array]"===fe?Be+=gt:"[object Float32Array]"===fe?Be+=Ln:"[object Float64Array]"===fe?Be+=on:Me(new Error("Failed to get type for BinaryArray"))),Me(Be+yr(Te))}else if("[object Blob]"===fe){var Pe=new FileReader;Pe.onload=function(){var A=bt+Q.type+"~"+yr(this.result);Me(it+Xn+A)},Pe.readAsArrayBuffer(Q)}else try{Me(JSON.stringify(Q))}catch(A){console.error("Couldn't convert value into a JSON string: ",Q),Me(null,A)}},deserialize:function cr(Q){if(Q.substring(0,Tt)!==it)return JSON.parse(Q);var Te,Me=Q.substring(Zt),fe=Q.substring(Tt,Zt);if(fe===Xn&&Kt.test(Me)){var Be=Me.match(Kt);Te=Be[1],Me=Me.substring(Be[0].length)}var Pe=xn(Me);switch(fe){case gn:return Pe;case Xn:return se([Pe],{type:Te});case sn:return new Int8Array(Pe);case ar:return new Uint8Array(Pe);case gr:return new Uint8ClampedArray(Pe);case vn:return new Int16Array(Pe);case Pt:return new Uint16Array(Pe);case ln:return new Int32Array(Pe);case gt:return new Uint32Array(Pe);case Ln:return new Float32Array(Pe);case on:return new Float64Array(Pe);default:throw new Error("Unkown type: "+fe)}},stringToBuffer:xn,bufferToString:yr};function Cr(Q,Me,fe,Te){Q.executeSql("CREATE TABLE IF NOT EXISTS "+Me.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],fe,Te)}function Wn(Q,Me,fe,Te,Be,Pe){Q.executeSql(fe,Te,Be,function(A,T){T.code===T.SYNTAX_ERR?A.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[name],function(H,te){te.rows.length?Pe(H,T):Cr(H,Me,function(){H.executeSql(fe,Te,Be,Pe)},Pe)},Pe):Pe(A,T)},Pe)}function Sr(Q,Me,fe,Te){var Be=this;Q=X(Q);var Pe=new G(function(A,T){Be.ready().then(function(){void 0===Me&&(Me=null);var H=Me,te=Be._dbInfo;te.serializer.serialize(Me,function(we,Ce){Ce?T(Ce):te.db.transaction(function(Ue){Wn(Ue,te,"INSERT OR REPLACE INTO "+te.storeName+" (key, value) VALUES (?, ?)",[Q,we],function(){A(H)},function(Qe,Ke){T(Ke)})},function(Ue){if(Ue.code===Ue.QUOTA_ERR){if(Te>0)return void A(Sr.apply(Be,[Q,H,fe,Te-1]));T(Ue)}})})}).catch(T)});return ee(Pe,fe),Pe}var en={_driver:"webSQLStorage",_initStorage:function tn(Q){var Me=this,fe={db:null};if(Q)for(var Te in Q)fe[Te]="string"!=typeof Q[Te]?Q[Te].toString():Q[Te];var Be=new G(function(Pe,A){try{fe.db=openDatabase(fe.name,String(fe.version),fe.description,fe.size)}catch(T){return A(T)}fe.db.transaction(function(T){Cr(T,fe,function(){Me._dbInfo=fe,Pe()},function(H,te){A(te)})},A)});return fe.serializer=Ht,Be},_support:function Ot(){return"function"==typeof openDatabase}(),iterate:function ur(Q,Me){var fe=this,Te=new G(function(Be,Pe){fe.ready().then(function(){var A=fe._dbInfo;A.db.transaction(function(T){Wn(T,A,"SELECT * FROM "+A.storeName,[],function(H,te){for(var we=te.rows,Ce=we.length,Ue=0;Ue '__WebKitDatabaseInfoTable__'",[],function(Be,Pe){for(var A=[],T=0;T0}var Tr={_driver:"localStorageWrapper",_initStorage:function ot(Q){var fe={};if(Q)for(var Te in Q)fe[Te]=Q[Te];return fe.keyPrefix=Oe(Q,this._defaultConfig),Ge()?(this._dbInfo=fe,fe.serializer=Ht,G.resolve()):G.reject()},_support:function We(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}(),iterate:function cn(Q,Me){var fe=this,Te=fe.ready().then(function(){for(var Be=fe._dbInfo,Pe=Be.keyPrefix,A=Pe.length,T=localStorage.length,H=1,te=0;te=0;Be--){var Pe=localStorage.key(Be);0===Pe.indexOf(Te)&&localStorage.removeItem(Pe)}});return ee(fe,Q),fe},length:function jn(Q){var fe=this.keys().then(function(Te){return Te.length});return ee(fe,Q),fe},key:function wn(Q,Me){var fe=this,Te=fe.ready().then(function(){var Pe,Be=fe._dbInfo;try{Pe=localStorage.key(Q)}catch{Pe=null}return Pe&&(Pe=Pe.substring(Be.keyPrefix.length)),Pe});return ee(Te,Me),Te},keys:function Dr(Q){var Me=this,fe=Me.ready().then(function(){for(var Te=Me._dbInfo,Be=localStorage.length,Pe=[],A=0;A=0;A--){var T=localStorage.key(A);0===T.indexOf(Pe)&&localStorage.removeItem(T)}}):G.reject("Invalid arguments"),Me),Be}},Jn=function(Me,fe){return Me===fe||"number"==typeof Me&&"number"==typeof fe&&isNaN(Me)&&isNaN(fe)},Yt=function(Me,fe){for(var Te=Me.length,Be=0;Be"u"?"undefined":J(fe))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var Te in fe){if("storeName"===Te&&(fe[Te]=fe[Te].replace(/\W/g,"_")),"version"===Te&&"number"!=typeof fe[Te])return new Error("Database version must be a number.");this._config[Te]=fe[Te]}return!("driver"in fe)||!fe.driver||this.setDriver(this._config.driver)}return"string"==typeof fe?this._config[fe]:this._config},Q.prototype.defineDriver=function(fe,Te,Be){var Pe=new G(function(A,T){try{var H=fe._driver,te=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!fe._driver)return void T(te);for(var we=On.concat("_initStorage"),Ce=0,Ue=we.length;Ce{"use strict";b.d(Ie,{X:()=>n});var c=b(7579);class n extends c.x{constructor($){super(),this._value=$}get value(){return this.getValue()}_subscribe($){const J=super._subscribe($);return!J.closed&&$.next(this._value),J}getValue(){const{hasError:$,thrownError:J,_value:O}=this;if($)throw J;return this._throwIfClosed(),O}next($){super.next(this._value=$)}}},9751:(ct,Ie,b)=>{"use strict";b.d(Ie,{y:()=>V});var c=b(930),n=b(727),U=b(8822),$=b(9635),J=b(2416),O=b(576),x=b(2806);let V=(()=>{class ee{constructor(X){X&&(this._subscribe=X)}lift(X){const de=new ee;return de.source=this,de.operator=X,de}subscribe(X,de,ie){const K=function G(ee){return ee&&ee instanceof c.Lv||function se(ee){return ee&&(0,O.m)(ee.next)&&(0,O.m)(ee.error)&&(0,O.m)(ee.complete)}(ee)&&(0,n.Nn)(ee)}(X)?X:new c.Hp(X,de,ie);return(0,x.x)(()=>{const{operator:z,source:_e}=this;K.add(z?z.call(K,_e):_e?this._subscribe(K):this._trySubscribe(K))}),K}_trySubscribe(X){try{return this._subscribe(X)}catch(de){X.error(de)}}forEach(X,de){return new(de=Z(de))((ie,K)=>{const z=new c.Hp({next:_e=>{try{X(_e)}catch(Le){K(Le),z.unsubscribe()}},error:K,complete:ie});this.subscribe(z)})}_subscribe(X){var de;return null===(de=this.source)||void 0===de?void 0:de.subscribe(X)}[U.L](){return this}pipe(...X){return(0,$.U)(X)(this)}toPromise(X){return new(X=Z(X))((de,ie)=>{let K;this.subscribe(z=>K=z,z=>ie(z),()=>de(K))})}}return ee.create=ce=>new ee(ce),ee})();function Z(ee){var ce;return null!==(ce=ee??J.v.Promise)&&void 0!==ce?ce:Promise}},4707:(ct,Ie,b)=>{"use strict";b.d(Ie,{t:()=>U});var c=b(7579),n=b(6063);class U extends c.x{constructor(J=1/0,O=1/0,x=n.l){super(),this._bufferSize=J,this._windowTime=O,this._timestampProvider=x,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=O===1/0,this._bufferSize=Math.max(1,J),this._windowTime=Math.max(1,O)}next(J){const{isStopped:O,_buffer:x,_infiniteTimeWindow:V,_timestampProvider:Z,_windowTime:se}=this;O||(x.push(J),!V&&x.push(Z.now()+se)),this._trimBuffer(),super.next(J)}_subscribe(J){this._throwIfClosed(),this._trimBuffer();const O=this._innerSubscribe(J),{_infiniteTimeWindow:x,_buffer:V}=this,Z=V.slice();for(let se=0;se{"use strict";b.d(Ie,{x:()=>x});var c=b(9751),n=b(727);const $=(0,b(3888).d)(Z=>function(){Z(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var J=b(8737),O=b(2806);let x=(()=>{class Z extends c.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(G){const ee=new V(this,this);return ee.operator=G,ee}_throwIfClosed(){if(this.closed)throw new $}next(G){(0,O.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ee of this.currentObservers)ee.next(G)}})}error(G){(0,O.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=G;const{observers:ee}=this;for(;ee.length;)ee.shift().error(G)}})}complete(){(0,O.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:G}=this;for(;G.length;)G.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var G;return(null===(G=this.observers)||void 0===G?void 0:G.length)>0}_trySubscribe(G){return this._throwIfClosed(),super._trySubscribe(G)}_subscribe(G){return this._throwIfClosed(),this._checkFinalizedStatuses(G),this._innerSubscribe(G)}_innerSubscribe(G){const{hasError:ee,isStopped:ce,observers:X}=this;return ee||ce?n.Lc:(this.currentObservers=null,X.push(G),new n.w0(()=>{this.currentObservers=null,(0,J.P)(X,G)}))}_checkFinalizedStatuses(G){const{hasError:ee,thrownError:ce,isStopped:X}=this;ee?G.error(ce):X&&G.complete()}asObservable(){const G=new c.y;return G.source=this,G}}return Z.create=(se,G)=>new V(se,G),Z})();class V extends x{constructor(se,G){super(),this.destination=se,this.source=G}next(se){var G,ee;null===(ee=null===(G=this.destination)||void 0===G?void 0:G.next)||void 0===ee||ee.call(G,se)}error(se){var G,ee;null===(ee=null===(G=this.destination)||void 0===G?void 0:G.error)||void 0===ee||ee.call(G,se)}complete(){var se,G;null===(G=null===(se=this.destination)||void 0===se?void 0:se.complete)||void 0===G||G.call(se)}_subscribe(se){var G,ee;return null!==(ee=null===(G=this.source)||void 0===G?void 0:G.subscribe(se))&&void 0!==ee?ee:n.Lc}}},930:(ct,Ie,b)=>{"use strict";b.d(Ie,{Hp:()=>ie,Lv:()=>ee});var c=b(576),n=b(727),U=b(2416),$=b(7849),J=b(5032);const O=Z("C",void 0,void 0);function Z(De,ge,xe){return{kind:De,value:ge,error:xe}}var se=b(3410),G=b(2806);class ee extends n.w0{constructor(ge){super(),this.isStopped=!1,ge?(this.destination=ge,(0,n.Nn)(ge)&&ge.add(this)):this.destination=Le}static create(ge,xe,$e){return new ie(ge,xe,$e)}next(ge){this.isStopped?_e(function V(De){return Z("N",De,void 0)}(ge),this):this._next(ge)}error(ge){this.isStopped?_e(function x(De){return Z("E",void 0,De)}(ge),this):(this.isStopped=!0,this._error(ge))}complete(){this.isStopped?_e(O,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ge){this.destination.next(ge)}_error(ge){try{this.destination.error(ge)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ce=Function.prototype.bind;function X(De,ge){return ce.call(De,ge)}class de{constructor(ge){this.partialObserver=ge}next(ge){const{partialObserver:xe}=this;if(xe.next)try{xe.next(ge)}catch($e){K($e)}}error(ge){const{partialObserver:xe}=this;if(xe.error)try{xe.error(ge)}catch($e){K($e)}else K(ge)}complete(){const{partialObserver:ge}=this;if(ge.complete)try{ge.complete()}catch(xe){K(xe)}}}class ie extends ee{constructor(ge,xe,$e){let ne;if(super(),(0,c.m)(ge)||!ge)ne={next:ge??void 0,error:xe??void 0,complete:$e??void 0};else{let be;this&&U.v.useDeprecatedNextContext?(be=Object.create(ge),be.unsubscribe=()=>this.unsubscribe(),ne={next:ge.next&&X(ge.next,be),error:ge.error&&X(ge.error,be),complete:ge.complete&&X(ge.complete,be)}):ne=ge}this.destination=new de(ne)}}function K(De){U.v.useDeprecatedSynchronousErrorHandling?(0,G.O)(De):(0,$.h)(De)}function _e(De,ge){const{onStoppedNotification:xe}=U.v;xe&&se.z.setTimeout(()=>xe(De,ge))}const Le={closed:!0,next:J.Z,error:function z(De){throw De},complete:J.Z}},727:(ct,Ie,b)=>{"use strict";b.d(Ie,{Lc:()=>O,w0:()=>J,Nn:()=>x});var c=b(576);const U=(0,b(3888).d)(Z=>function(G){Z(this),this.message=G?`${G.length} errors occurred during unsubscription:\n${G.map((ee,ce)=>`${ce+1}) ${ee.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=G});var $=b(8737);class J{constructor(se){this.initialTeardown=se,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let se;if(!this.closed){this.closed=!0;const{_parentage:G}=this;if(G)if(this._parentage=null,Array.isArray(G))for(const X of G)X.remove(this);else G.remove(this);const{initialTeardown:ee}=this;if((0,c.m)(ee))try{ee()}catch(X){se=X instanceof U?X.errors:[X]}const{_finalizers:ce}=this;if(ce){this._finalizers=null;for(const X of ce)try{V(X)}catch(de){se=se??[],de instanceof U?se=[...se,...de.errors]:se.push(de)}}if(se)throw new U(se)}}add(se){var G;if(se&&se!==this)if(this.closed)V(se);else{if(se instanceof J){if(se.closed||se._hasParent(this))return;se._addParent(this)}(this._finalizers=null!==(G=this._finalizers)&&void 0!==G?G:[]).push(se)}}_hasParent(se){const{_parentage:G}=this;return G===se||Array.isArray(G)&&G.includes(se)}_addParent(se){const{_parentage:G}=this;this._parentage=Array.isArray(G)?(G.push(se),G):G?[G,se]:se}_removeParent(se){const{_parentage:G}=this;G===se?this._parentage=null:Array.isArray(G)&&(0,$.P)(G,se)}remove(se){const{_finalizers:G}=this;G&&(0,$.P)(G,se),se instanceof J&&se._removeParent(this)}}J.EMPTY=(()=>{const Z=new J;return Z.closed=!0,Z})();const O=J.EMPTY;function x(Z){return Z instanceof J||Z&&"closed"in Z&&(0,c.m)(Z.remove)&&(0,c.m)(Z.add)&&(0,c.m)(Z.unsubscribe)}function V(Z){(0,c.m)(Z)?Z():Z.unsubscribe()}},2416:(ct,Ie,b)=>{"use strict";b.d(Ie,{v:()=>c});const c={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(ct,Ie,b)=>{"use strict";b.d(Ie,{c:()=>O});var c=b(9751),n=b(727),U=b(8343),$=b(5403),J=b(4482);class O extends c.y{constructor(V,Z){super(),this.source=V,this.subjectFactory=Z,this._subject=null,this._refCount=0,this._connection=null,(0,J.A)(V)&&(this.lift=V.lift)}_subscribe(V){return this.getSubject().subscribe(V)}getSubject(){const V=this._subject;return(!V||V.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:V}=this;this._subject=this._connection=null,V?.unsubscribe()}connect(){let V=this._connection;if(!V){V=this._connection=new n.w0;const Z=this.getSubject();V.add(this.source.subscribe((0,$.x)(Z,void 0,()=>{this._teardown(),Z.complete()},se=>{this._teardown(),Z.error(se)},()=>this._teardown()))),V.closed&&(this._connection=null,V=n.w0.EMPTY)}return V}refCount(){return(0,U.x)()(this)}}},9841:(ct,Ie,b)=>{"use strict";b.d(Ie,{a:()=>se,l:()=>G});var c=b(9751),n=b(4742),U=b(2076),$=b(4671),J=b(3268),O=b(3269),x=b(1810),V=b(5403),Z=b(9672);function se(...ce){const X=(0,O.yG)(ce),de=(0,O.jO)(ce),{args:ie,keys:K}=(0,n.D)(ce);if(0===ie.length)return(0,U.D)([],X);const z=new c.y(G(ie,X,K?_e=>(0,x.n)(K,_e):$.y));return de?z.pipe((0,J.Z)(de)):z}function G(ce,X,de=$.y){return ie=>{ee(X,()=>{const{length:K}=ce,z=new Array(K);let _e=K,Le=K;for(let De=0;De{const ge=(0,U.D)(ce[De],X);let xe=!1;ge.subscribe((0,V.x)(ie,$e=>{z[De]=$e,xe||(xe=!0,Le--),Le||ie.next(de(z.slice()))},()=>{--_e||ie.complete()}))},ie)},ie)}}function ee(ce,X,de){ce?(0,Z.f)(de,ce,X):X()}},7272:(ct,Ie,b)=>{"use strict";b.d(Ie,{z:()=>J});var c=b(8189),U=b(3269),$=b(2076);function J(...O){return function n(){return(0,c.J)(1)}()((0,$.D)(O,(0,U.yG)(O)))}},9770:(ct,Ie,b)=>{"use strict";b.d(Ie,{P:()=>U});var c=b(9751),n=b(8421);function U($){return new c.y(J=>{(0,n.Xf)($()).subscribe(J)})}},515:(ct,Ie,b)=>{"use strict";b.d(Ie,{E:()=>n,c:()=>U});var c=b(9751);const n=new c.y(J=>J.complete());function U(J){return J?function $(J){return new c.y(O=>J.schedule(()=>O.complete()))}(J):n}},4128:(ct,Ie,b)=>{"use strict";b.d(Ie,{D:()=>V});var c=b(9751),n=b(4742),U=b(8421),$=b(3269),J=b(5403),O=b(3268),x=b(1810);function V(...Z){const se=(0,$.jO)(Z),{args:G,keys:ee}=(0,n.D)(Z),ce=new c.y(X=>{const{length:de}=G;if(!de)return void X.complete();const ie=new Array(de);let K=de,z=de;for(let _e=0;_e{Le||(Le=!0,z--),ie[_e]=De},()=>K--,void 0,()=>{(!K||!Le)&&(z||X.next(ee?(0,x.n)(ee,ie):ie),X.complete())}))}});return se?ce.pipe((0,O.Z)(se)):ce}},2076:(ct,Ie,b)=>{"use strict";b.d(Ie,{D:()=>$e});var c=b(8421),n=b(9672),U=b(4482),$=b(5403);function J(ne,be=0){return(0,U.e)((je,Fe)=>{je.subscribe((0,$.x)(Fe,Ae=>(0,n.f)(Fe,ne,()=>Fe.next(Ae),be),()=>(0,n.f)(Fe,ne,()=>Fe.complete(),be),Ae=>(0,n.f)(Fe,ne,()=>Fe.error(Ae),be)))})}function O(ne,be=0){return(0,U.e)((je,Fe)=>{Fe.add(ne.schedule(()=>je.subscribe(Fe),be))})}var Z=b(9751),G=b(2202),ee=b(576);function X(ne,be){if(!ne)throw new Error("Iterable cannot be null");return new Z.y(je=>{(0,n.f)(je,be,()=>{const Fe=ne[Symbol.asyncIterator]();(0,n.f)(je,be,()=>{Fe.next().then(Ae=>{Ae.done?je.complete():je.next(Ae.value)})},0,!0)})})}var de=b(3670),ie=b(8239),K=b(1144),z=b(6495),_e=b(2206),Le=b(4532),De=b(3260);function $e(ne,be){return be?function xe(ne,be){if(null!=ne){if((0,de.c)(ne))return function x(ne,be){return(0,c.Xf)(ne).pipe(O(be),J(be))}(ne,be);if((0,K.z)(ne))return function se(ne,be){return new Z.y(je=>{let Fe=0;return be.schedule(function(){Fe===ne.length?je.complete():(je.next(ne[Fe++]),je.closed||this.schedule())})})}(ne,be);if((0,ie.t)(ne))return function V(ne,be){return(0,c.Xf)(ne).pipe(O(be),J(be))}(ne,be);if((0,_e.D)(ne))return X(ne,be);if((0,z.T)(ne))return function ce(ne,be){return new Z.y(je=>{let Fe;return(0,n.f)(je,be,()=>{Fe=ne[G.h](),(0,n.f)(je,be,()=>{let Ae,He;try{({value:Ae,done:He}=Fe.next())}catch(ae){return void je.error(ae)}He?je.complete():je.next(Ae)},0,!0)}),()=>(0,ee.m)(Fe?.return)&&Fe.return()})}(ne,be);if((0,De.L)(ne))return function ge(ne,be){return X((0,De.Q)(ne),be)}(ne,be)}throw(0,Le.z)(ne)}(ne,be):(0,c.Xf)(ne)}},4968:(ct,Ie,b)=>{"use strict";b.d(Ie,{R:()=>se});var c=b(8421),n=b(9751),U=b(5577),$=b(1144),J=b(576),O=b(3268);const x=["addListener","removeListener"],V=["addEventListener","removeEventListener"],Z=["on","off"];function se(de,ie,K,z){if((0,J.m)(K)&&(z=K,K=void 0),z)return se(de,ie,K).pipe((0,O.Z)(z));const[_e,Le]=function X(de){return(0,J.m)(de.addEventListener)&&(0,J.m)(de.removeEventListener)}(de)?V.map(De=>ge=>de[De](ie,ge,K)):function ee(de){return(0,J.m)(de.addListener)&&(0,J.m)(de.removeListener)}(de)?x.map(G(de,ie)):function ce(de){return(0,J.m)(de.on)&&(0,J.m)(de.off)}(de)?Z.map(G(de,ie)):[];if(!_e&&(0,$.z)(de))return(0,U.z)(De=>se(De,ie,K))((0,c.Xf)(de));if(!_e)throw new TypeError("Invalid event target");return new n.y(De=>{const ge=(...xe)=>De.next(1Le(ge)})}function G(de,ie){return K=>z=>de[K](ie,z)}},8421:(ct,Ie,b)=>{"use strict";b.d(Ie,{Xf:()=>ce});var c=b(7582),n=b(1144),U=b(8239),$=b(9751),J=b(3670),O=b(2206),x=b(4532),V=b(6495),Z=b(3260),se=b(576),G=b(7849),ee=b(8822);function ce(De){if(De instanceof $.y)return De;if(null!=De){if((0,J.c)(De))return function X(De){return new $.y(ge=>{const xe=De[ee.L]();if((0,se.m)(xe.subscribe))return xe.subscribe(ge);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(De);if((0,n.z)(De))return function de(De){return new $.y(ge=>{for(let xe=0;xe{De.then(xe=>{ge.closed||(ge.next(xe),ge.complete())},xe=>ge.error(xe)).then(null,G.h)})}(De);if((0,O.D)(De))return z(De);if((0,V.T)(De))return function K(De){return new $.y(ge=>{for(const xe of De)if(ge.next(xe),ge.closed)return;ge.complete()})}(De);if((0,Z.L)(De))return function _e(De){return z((0,Z.Q)(De))}(De)}throw(0,x.z)(De)}function z(De){return new $.y(ge=>{(function Le(De,ge){var xe,$e,ne,be;return(0,c.mG)(this,void 0,void 0,function*(){try{for(xe=(0,c.KL)(De);!($e=yield xe.next()).done;)if(ge.next($e.value),ge.closed)return}catch(je){ne={error:je}}finally{try{$e&&!$e.done&&(be=xe.return)&&(yield be.call(xe))}finally{if(ne)throw ne.error}}ge.complete()})})(De,ge).catch(xe=>ge.error(xe))})}},6451:(ct,Ie,b)=>{"use strict";b.d(Ie,{T:()=>O});var c=b(8189),n=b(8421),U=b(515),$=b(3269),J=b(2076);function O(...x){const V=(0,$.yG)(x),Z=(0,$._6)(x,1/0),se=x;return se.length?1===se.length?(0,n.Xf)(se[0]):(0,c.J)(Z)((0,J.D)(se,V)):U.E}},9646:(ct,Ie,b)=>{"use strict";b.d(Ie,{of:()=>U});var c=b(3269),n=b(2076);function U(...$){const J=(0,c.yG)($);return(0,n.D)($,J)}},2843:(ct,Ie,b)=>{"use strict";b.d(Ie,{_:()=>U});var c=b(9751),n=b(576);function U($,J){const O=(0,n.m)($)?$:()=>$,x=V=>V.error(O());return new c.y(J?V=>J.schedule(x,0,V):x)}},5403:(ct,Ie,b)=>{"use strict";b.d(Ie,{Q:()=>U,x:()=>n});var c=b(930);function n($,J,O,x,V){return new U($,J,O,x,V)}class U extends c.Lv{constructor(J,O,x,V,Z,se){super(J),this.onFinalize=Z,this.shouldUnsubscribe=se,this._next=O?function(G){try{O(G)}catch(ee){J.error(ee)}}:super._next,this._error=V?function(G){try{V(G)}catch(ee){J.error(ee)}finally{this.unsubscribe()}}:super._error,this._complete=x?function(){try{x()}catch(G){J.error(G)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var J;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:O}=this;super.unsubscribe(),!O&&(null===(J=this.onFinalize)||void 0===J||J.call(this))}}}},262:(ct,Ie,b)=>{"use strict";b.d(Ie,{K:()=>$});var c=b(8421),n=b(5403),U=b(4482);function $(J){return(0,U.e)((O,x)=>{let se,V=null,Z=!1;V=O.subscribe((0,n.x)(x,void 0,void 0,G=>{se=(0,c.Xf)(J(G,$(J)(O))),V?(V.unsubscribe(),V=null,se.subscribe(x)):Z=!0})),Z&&(V.unsubscribe(),V=null,se.subscribe(x))})}},4351:(ct,Ie,b)=>{"use strict";b.d(Ie,{b:()=>U});var c=b(5577),n=b(576);function U($,J){return(0,n.m)(J)?(0,c.z)($,J,1):(0,c.z)($,1)}},6590:(ct,Ie,b)=>{"use strict";b.d(Ie,{d:()=>U});var c=b(4482),n=b(5403);function U($){return(0,c.e)((J,O)=>{let x=!1;J.subscribe((0,n.x)(O,V=>{x=!0,O.next(V)},()=>{x||O.next($),O.complete()}))})}},1884:(ct,Ie,b)=>{"use strict";b.d(Ie,{x:()=>$});var c=b(4671),n=b(4482),U=b(5403);function $(O,x=c.y){return O=O??J,(0,n.e)((V,Z)=>{let se,G=!0;V.subscribe((0,U.x)(Z,ee=>{const ce=x(ee);(G||!O(se,ce))&&(G=!1,se=ce,Z.next(ee))}))})}function J(O,x){return O===x}},9300:(ct,Ie,b)=>{"use strict";b.d(Ie,{h:()=>U});var c=b(4482),n=b(5403);function U($,J){return(0,c.e)((O,x)=>{let V=0;O.subscribe((0,n.x)(x,Z=>$.call(J,Z,V++)&&x.next(Z)))})}},8746:(ct,Ie,b)=>{"use strict";b.d(Ie,{x:()=>n});var c=b(4482);function n(U){return(0,c.e)(($,J)=>{try{$.subscribe(J)}finally{J.add(U)}})}},590:(ct,Ie,b)=>{"use strict";b.d(Ie,{P:()=>x});var c=b(6805),n=b(9300),U=b(5698),$=b(6590),J=b(8068),O=b(4671);function x(V,Z){const se=arguments.length>=2;return G=>G.pipe(V?(0,n.h)((ee,ce)=>V(ee,ce,G)):O.y,(0,U.q)(1),se?(0,$.d)(Z):(0,J.T)(()=>new c.K))}},4004:(ct,Ie,b)=>{"use strict";b.d(Ie,{U:()=>U});var c=b(4482),n=b(5403);function U($,J){return(0,c.e)((O,x)=>{let V=0;O.subscribe((0,n.x)(x,Z=>{x.next($.call(J,Z,V++))}))})}},9718:(ct,Ie,b)=>{"use strict";b.d(Ie,{h:()=>n});var c=b(4004);function n(U){return(0,c.U)(()=>U)}},8189:(ct,Ie,b)=>{"use strict";b.d(Ie,{J:()=>U});var c=b(5577),n=b(4671);function U($=1/0){return(0,c.z)(n.y,$)}},5577:(ct,Ie,b)=>{"use strict";b.d(Ie,{z:()=>V});var c=b(4004),n=b(8421),U=b(4482),$=b(9672),J=b(5403),x=b(576);function V(Z,se,G=1/0){return(0,x.m)(se)?V((ee,ce)=>(0,c.U)((X,de)=>se(ee,X,ce,de))((0,n.Xf)(Z(ee,ce))),G):("number"==typeof se&&(G=se),(0,U.e)((ee,ce)=>function O(Z,se,G,ee,ce,X,de,ie){const K=[];let z=0,_e=0,Le=!1;const De=()=>{Le&&!K.length&&!z&&se.complete()},ge=$e=>z{X&&se.next($e),z++;let ne=!1;(0,n.Xf)(G($e,_e++)).subscribe((0,J.x)(se,be=>{ce?.(be),X?ge(be):se.next(be)},()=>{ne=!0},void 0,()=>{if(ne)try{for(z--;K.length&&zxe(be)):xe(be)}De()}catch(be){se.error(be)}}))};return Z.subscribe((0,J.x)(se,ge,()=>{Le=!0,De()})),()=>{ie?.()}}(ee,ce,Z,G)))}},8343:(ct,Ie,b)=>{"use strict";b.d(Ie,{x:()=>U});var c=b(4482),n=b(5403);function U(){return(0,c.e)(($,J)=>{let O=null;$._refCount++;const x=(0,n.x)(J,void 0,void 0,void 0,()=>{if(!$||$._refCount<=0||0<--$._refCount)return void(O=null);const V=$._connection,Z=O;O=null,V&&(!Z||V===Z)&&V.unsubscribe(),J.unsubscribe()});$.subscribe(x),x.closed||(O=$.connect())})}},5026:(ct,Ie,b)=>{"use strict";b.d(Ie,{R:()=>$});var c=b(4482),n=b(5403);function $(J,O){return(0,c.e)(function U(J,O,x,V,Z){return(se,G)=>{let ee=x,ce=O,X=0;se.subscribe((0,n.x)(G,de=>{const ie=X++;ce=ee?J(ce,de,ie):(ee=!0,de),V&&G.next(ce)},Z&&(()=>{ee&&G.next(ce),G.complete()})))}}(J,O,arguments.length>=2,!0))}},3099:(ct,Ie,b)=>{"use strict";b.d(Ie,{B:()=>J});var c=b(8421),n=b(7579),U=b(930),$=b(4482);function J(x={}){const{connector:V=(()=>new n.x),resetOnError:Z=!0,resetOnComplete:se=!0,resetOnRefCountZero:G=!0}=x;return ee=>{let ce,X,de,ie=0,K=!1,z=!1;const _e=()=>{X?.unsubscribe(),X=void 0},Le=()=>{_e(),ce=de=void 0,K=z=!1},De=()=>{const ge=ce;Le(),ge?.unsubscribe()};return(0,$.e)((ge,xe)=>{ie++,!z&&!K&&_e();const $e=de=de??V();xe.add(()=>{ie--,0===ie&&!z&&!K&&(X=O(De,G))}),$e.subscribe(xe),!ce&&ie>0&&(ce=new U.Hp({next:ne=>$e.next(ne),error:ne=>{z=!0,_e(),X=O(Le,Z,ne),$e.error(ne)},complete:()=>{K=!0,_e(),X=O(Le,se),$e.complete()}}),(0,c.Xf)(ge).subscribe(ce))})(ee)}}function O(x,V,...Z){if(!0===V)return void x();if(!1===V)return;const se=new U.Hp({next:()=>{se.unsubscribe(),x()}});return(0,c.Xf)(V(...Z)).subscribe(se)}},4782:(ct,Ie,b)=>{"use strict";b.d(Ie,{d:()=>U});var c=b(4707),n=b(3099);function U($,J,O){let x,V=!1;return $&&"object"==typeof $?({bufferSize:x=1/0,windowTime:J=1/0,refCount:V=!1,scheduler:O}=$):x=$??1/0,(0,n.B)({connector:()=>new c.t(x,J,O),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:V})}},8675:(ct,Ie,b)=>{"use strict";b.d(Ie,{O:()=>$});var c=b(7272),n=b(3269),U=b(4482);function $(...J){const O=(0,n.yG)(J);return(0,U.e)((x,V)=>{(O?(0,c.z)(J,x,O):(0,c.z)(J,x)).subscribe(V)})}},3900:(ct,Ie,b)=>{"use strict";b.d(Ie,{w:()=>$});var c=b(8421),n=b(4482),U=b(5403);function $(J,O){return(0,n.e)((x,V)=>{let Z=null,se=0,G=!1;const ee=()=>G&&!Z&&V.complete();x.subscribe((0,U.x)(V,ce=>{Z?.unsubscribe();let X=0;const de=se++;(0,c.Xf)(J(ce,de)).subscribe(Z=(0,U.x)(V,ie=>V.next(O?O(ce,ie,de,X++):ie),()=>{Z=null,ee()}))},()=>{G=!0,ee()}))})}},5698:(ct,Ie,b)=>{"use strict";b.d(Ie,{q:()=>$});var c=b(515),n=b(4482),U=b(5403);function $(J){return J<=0?()=>c.E:(0,n.e)((O,x)=>{let V=0;O.subscribe((0,U.x)(x,Z=>{++V<=J&&(x.next(Z),J<=V&&x.complete())}))})}},8505:(ct,Ie,b)=>{"use strict";b.d(Ie,{b:()=>J});var c=b(576),n=b(4482),U=b(5403),$=b(4671);function J(O,x,V){const Z=(0,c.m)(O)||x||V?{next:O,error:x,complete:V}:O;return Z?(0,n.e)((se,G)=>{var ee;null===(ee=Z.subscribe)||void 0===ee||ee.call(Z);let ce=!0;se.subscribe((0,U.x)(G,X=>{var de;null===(de=Z.next)||void 0===de||de.call(Z,X),G.next(X)},()=>{var X;ce=!1,null===(X=Z.complete)||void 0===X||X.call(Z),G.complete()},X=>{var de;ce=!1,null===(de=Z.error)||void 0===de||de.call(Z,X),G.error(X)},()=>{var X,de;ce&&(null===(X=Z.unsubscribe)||void 0===X||X.call(Z)),null===(de=Z.finalize)||void 0===de||de.call(Z)}))}):$.y}},8068:(ct,Ie,b)=>{"use strict";b.d(Ie,{T:()=>$});var c=b(6805),n=b(4482),U=b(5403);function $(O=J){return(0,n.e)((x,V)=>{let Z=!1;x.subscribe((0,U.x)(V,se=>{Z=!0,V.next(se)},()=>Z?V.complete():V.error(O())))})}function J(){return new c.K}},6063:(ct,Ie,b)=>{"use strict";b.d(Ie,{l:()=>c});const c={now:()=>(c.delegate||Date).now(),delegate:void 0}},3410:(ct,Ie,b)=>{"use strict";b.d(Ie,{z:()=>c});const c={setTimeout(n,U,...$){const{delegate:J}=c;return J?.setTimeout?J.setTimeout(n,U,...$):setTimeout(n,U,...$)},clearTimeout(n){const{delegate:U}=c;return(U?.clearTimeout||clearTimeout)(n)},delegate:void 0}},2202:(ct,Ie,b)=>{"use strict";b.d(Ie,{h:()=>n});const n=function c(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(ct,Ie,b)=>{"use strict";b.d(Ie,{L:()=>c});const c="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(ct,Ie,b)=>{"use strict";b.d(Ie,{K:()=>n});const n=(0,b(3888).d)(U=>function(){U(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(ct,Ie,b)=>{"use strict";b.d(Ie,{_6:()=>O,jO:()=>$,yG:()=>J});var c=b(576),n=b(3532);function U(x){return x[x.length-1]}function $(x){return(0,c.m)(U(x))?x.pop():void 0}function J(x){return(0,n.K)(U(x))?x.pop():void 0}function O(x,V){return"number"==typeof U(x)?x.pop():V}},4742:(ct,Ie,b)=>{"use strict";b.d(Ie,{D:()=>J});const{isArray:c}=Array,{getPrototypeOf:n,prototype:U,keys:$}=Object;function J(x){if(1===x.length){const V=x[0];if(c(V))return{args:V,keys:null};if(function O(x){return x&&"object"==typeof x&&n(x)===U}(V)){const Z=$(V);return{args:Z.map(se=>V[se]),keys:Z}}}return{args:x,keys:null}}},8737:(ct,Ie,b)=>{"use strict";function c(n,U){if(n){const $=n.indexOf(U);0<=$&&n.splice($,1)}}b.d(Ie,{P:()=>c})},3888:(ct,Ie,b)=>{"use strict";function c(n){const $=n(J=>{Error.call(J),J.stack=(new Error).stack});return $.prototype=Object.create(Error.prototype),$.prototype.constructor=$,$}b.d(Ie,{d:()=>c})},1810:(ct,Ie,b)=>{"use strict";function c(n,U){return n.reduce(($,J,O)=>($[J]=U[O],$),{})}b.d(Ie,{n:()=>c})},2806:(ct,Ie,b)=>{"use strict";b.d(Ie,{O:()=>$,x:()=>U});var c=b(2416);let n=null;function U(J){if(c.v.useDeprecatedSynchronousErrorHandling){const O=!n;if(O&&(n={errorThrown:!1,error:null}),J(),O){const{errorThrown:x,error:V}=n;if(n=null,x)throw V}}else J()}function $(J){c.v.useDeprecatedSynchronousErrorHandling&&n&&(n.errorThrown=!0,n.error=J)}},9672:(ct,Ie,b)=>{"use strict";function c(n,U,$,J=0,O=!1){const x=U.schedule(function(){$(),O?n.add(this.schedule(null,J)):this.unsubscribe()},J);if(n.add(x),!O)return x}b.d(Ie,{f:()=>c})},4671:(ct,Ie,b)=>{"use strict";function c(n){return n}b.d(Ie,{y:()=>c})},1144:(ct,Ie,b)=>{"use strict";b.d(Ie,{z:()=>c});const c=n=>n&&"number"==typeof n.length&&"function"!=typeof n},2206:(ct,Ie,b)=>{"use strict";b.d(Ie,{D:()=>n});var c=b(576);function n(U){return Symbol.asyncIterator&&(0,c.m)(U?.[Symbol.asyncIterator])}},576:(ct,Ie,b)=>{"use strict";function c(n){return"function"==typeof n}b.d(Ie,{m:()=>c})},3670:(ct,Ie,b)=>{"use strict";b.d(Ie,{c:()=>U});var c=b(8822),n=b(576);function U($){return(0,n.m)($[c.L])}},6495:(ct,Ie,b)=>{"use strict";b.d(Ie,{T:()=>U});var c=b(2202),n=b(576);function U($){return(0,n.m)($?.[c.h])}},8239:(ct,Ie,b)=>{"use strict";b.d(Ie,{t:()=>n});var c=b(576);function n(U){return(0,c.m)(U?.then)}},3260:(ct,Ie,b)=>{"use strict";b.d(Ie,{L:()=>$,Q:()=>U});var c=b(7582),n=b(576);function U(J){return(0,c.FC)(this,arguments,function*(){const x=J.getReader();try{for(;;){const{value:V,done:Z}=yield(0,c.qq)(x.read());if(Z)return yield(0,c.qq)(void 0);yield yield(0,c.qq)(V)}}finally{x.releaseLock()}})}function $(J){return(0,n.m)(J?.getReader)}},3532:(ct,Ie,b)=>{"use strict";b.d(Ie,{K:()=>n});var c=b(576);function n(U){return U&&(0,c.m)(U.schedule)}},4482:(ct,Ie,b)=>{"use strict";b.d(Ie,{A:()=>n,e:()=>U});var c=b(576);function n($){return(0,c.m)($?.lift)}function U($){return J=>{if(n(J))return J.lift(function(O){try{return $(O,this)}catch(x){this.error(x)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(ct,Ie,b)=>{"use strict";b.d(Ie,{Z:()=>$});var c=b(4004);const{isArray:n}=Array;function $(J){return(0,c.U)(O=>function U(J,O){return n(O)?J(...O):J(O)}(J,O))}},5032:(ct,Ie,b)=>{"use strict";function c(){}b.d(Ie,{Z:()=>c})},9635:(ct,Ie,b)=>{"use strict";b.d(Ie,{U:()=>U,z:()=>n});var c=b(4671);function n(...$){return U($)}function U($){return 0===$.length?c.y:1===$.length?$[0]:function(O){return $.reduce((x,V)=>V(x),O)}}},7849:(ct,Ie,b)=>{"use strict";b.d(Ie,{h:()=>U});var c=b(2416),n=b(3410);function U($){n.z.setTimeout(()=>{const{onUnhandledError:J}=c.v;if(!J)throw $;J($)})}},4532:(ct,Ie,b)=>{"use strict";function c(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}b.d(Ie,{z:()=>c})},89:(ct,Ie,b)=>{"use strict";var c,n;void 0!==(n="function"==typeof(c=function(){Zone.__load_patch("cordova",function(U,$,J){if(U.cordova)var V="function",Z=J.patchMethod(U.cordova,"exec",function(){return function(se,G){return G.length>0&&typeof G[0]===V&&(G[0]=$.current.wrap(G[0],"cordova.exec.success")),G.length>1&&typeof G[1]===V&&(G[1]=$.current.wrap(G[1],"cordova.exec.error")),Z.apply(se,G)}})}),Zone.__load_patch("cordova.FileReader",function(U,$){U.cordova&&typeof U.FileReader<"u"&&document.addEventListener("deviceReady",function(){var J=U.FileReader;["abort","error","load","loadstart","loadend","progress"].forEach(function(O){var x=$.__symbol__("ON_PROPERTY"+O);Object.defineProperty(J.prototype,x,{configurable:!0,get:function(){return this._realReader&&this._realReader[x]}})})})})})?c.call(Ie,b,Ie,ct):c)&&(ct.exports=n)},863:(ct,Ie,b)=>{var c={"./ion-accordion_2.entry.js":[9654,8592,9654],"./ion-action-sheet.entry.js":[3648,8592,3648],"./ion-alert.entry.js":[1118,8592,1118],"./ion-app_8.entry.js":[53,8592,53],"./ion-avatar_3.entry.js":[4753,4753],"./ion-back-button.entry.js":[2073,8592,2073],"./ion-backdrop.entry.js":[8939,8939],"./ion-breadcrumb_2.entry.js":[7544,8592,7544],"./ion-button_2.entry.js":[5652,5652],"./ion-card_5.entry.js":[388,388],"./ion-checkbox.entry.js":[9922,8592,9922],"./ion-chip.entry.js":[657,657],"./ion-col_3.entry.js":[9824,9824],"./ion-datetime-button.entry.js":[9230,5172,9230],"./ion-datetime_3.entry.js":[4959,5172,8592,4959],"./ion-fab_3.entry.js":[5836,8592,5836],"./ion-img.entry.js":[1033,1033],"./ion-infinite-scroll_2.entry.js":[8034,8592,8034],"./ion-input.entry.js":[1217,8592,1217],"./ion-item-option_3.entry.js":[2933,8592,2933],"./ion-item_8.entry.js":[4711,8592,4711],"./ion-loading.entry.js":[9434,9434],"./ion-menu_3.entry.js":[8136,8592,8136],"./ion-modal.entry.js":[2349,8592,2349],"./ion-nav_2.entry.js":[5349,8592,5349],"./ion-picker-column-internal.entry.js":[7602,8592,7602],"./ion-picker-internal.entry.js":[9016,9016],"./ion-popover.entry.js":[3804,3804],"./ion-progress-bar.entry.js":[4174,4174],"./ion-radio_2.entry.js":[4432,8592,4432],"./ion-range.entry.js":[1709,8592,1709],"./ion-refresher_2.entry.js":[3326,8592,3326],"./ion-reorder_2.entry.js":[3583,8592,3583],"./ion-ripple-effect.entry.js":[9958,9958],"./ion-route_4.entry.js":[4330,4330],"./ion-searchbar.entry.js":[8628,8592,8628],"./ion-segment_2.entry.js":[9325,8592,9325],"./ion-select_3.entry.js":[2773,8592,2773],"./ion-spinner.entry.js":[4908,8592,4908],"./ion-split-pane.entry.js":[9536,9536],"./ion-tab-bar_2.entry.js":[438,8592,438],"./ion-tab_2.entry.js":[1536,1536],"./ion-text.entry.js":[4376,4376],"./ion-textarea.entry.js":[6560,8592,6560],"./ion-toast.entry.js":[6120,6120],"./ion-toggle.entry.js":[5168,8592,5168]};function n(U){if(!b.o(c,U))return Promise.resolve().then(()=>{var O=new Error("Cannot find module '"+U+"'");throw O.code="MODULE_NOT_FOUND",O});var $=c[U],J=$[0];return Promise.all($.slice(1).map(b.e)).then(()=>b(J))}n.keys=()=>Object.keys(c),n.id=863,ct.exports=n},6895:(ct,Ie,b)=>{"use strict";b.d(Ie,{Do:()=>_e,ED:()=>Ce,EM:()=>ao,HT:()=>$,JF:()=>$o,JJ:()=>yo,K0:()=>O,Mx:()=>On,NF:()=>Fr,O5:()=>Pe,Ov:()=>Kn,PC:()=>ye,PM:()=>Yn,RF:()=>te,S$:()=>ie,V_:()=>Z,Ye:()=>Le,b0:()=>z,bD:()=>bo,ez:()=>Wo,mk:()=>Nt,n9:()=>we,q:()=>U,sg:()=>fe,tP:()=>yt,uU:()=>zn,w_:()=>J});var c=b(4650);let n=null;function U(){return n}function $(D){n||(n=D)}class J{}const O=new c.OlP("DocumentToken");let x=(()=>{class D{historyGo(S){throw new Error("Not implemented")}}return D.\u0275fac=function(S){return new(S||D)},D.\u0275prov=c.Yz7({token:D,factory:function(){return function V(){return(0,c.LFG)(se)}()},providedIn:"platform"}),D})();const Z=new c.OlP("Location Initialized");let se=(()=>{class D extends x{constructor(S){super(),this._doc=S,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return U().getBaseHref(this._doc)}onPopState(S){const W=U().getGlobalEventTarget(this._doc,"window");return W.addEventListener("popstate",S,!1),()=>W.removeEventListener("popstate",S)}onHashChange(S){const W=U().getGlobalEventTarget(this._doc,"window");return W.addEventListener("hashchange",S,!1),()=>W.removeEventListener("hashchange",S)}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(S){this._location.pathname=S}pushState(S,W,Ee){G()?this._history.pushState(S,W,Ee):this._location.hash=Ee}replaceState(S,W,Ee){G()?this._history.replaceState(S,W,Ee):this._location.hash=Ee}forward(){this._history.forward()}back(){this._history.back()}historyGo(S=0){this._history.go(S)}getState(){return this._history.state}}return D.\u0275fac=function(S){return new(S||D)(c.LFG(O))},D.\u0275prov=c.Yz7({token:D,factory:function(){return function ee(){return new se((0,c.LFG)(O))}()},providedIn:"platform"}),D})();function G(){return!!window.history.pushState}function ce(D,B){if(0==D.length)return B;if(0==B.length)return D;let S=0;return D.endsWith("/")&&S++,B.startsWith("/")&&S++,2==S?D+B.substring(1):1==S?D+B:D+"/"+B}function X(D){const B=D.match(/#|\?|$/),S=B&&B.index||D.length;return D.slice(0,S-("/"===D[S-1]?1:0))+D.slice(S)}function de(D){return D&&"?"!==D[0]?"?"+D:D}let ie=(()=>{class D{historyGo(S){throw new Error("Not implemented")}}return D.\u0275fac=function(S){return new(S||D)},D.\u0275prov=c.Yz7({token:D,factory:function(){return(0,c.f3M)(z)},providedIn:"root"}),D})();const K=new c.OlP("appBaseHref");let z=(()=>{class D extends ie{constructor(S,W){super(),this._platformLocation=S,this._removeListenerFns=[],this._baseHref=W??this._platformLocation.getBaseHrefFromDOM()??(0,c.f3M)(O).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(S){this._removeListenerFns.push(this._platformLocation.onPopState(S),this._platformLocation.onHashChange(S))}getBaseHref(){return this._baseHref}prepareExternalUrl(S){return ce(this._baseHref,S)}path(S=!1){const W=this._platformLocation.pathname+de(this._platformLocation.search),Ee=this._platformLocation.hash;return Ee&&S?`${W}${Ee}`:W}pushState(S,W,Ee,nt){const ut=this.prepareExternalUrl(Ee+de(nt));this._platformLocation.pushState(S,W,ut)}replaceState(S,W,Ee,nt){const ut=this.prepareExternalUrl(Ee+de(nt));this._platformLocation.replaceState(S,W,ut)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(S=0){this._platformLocation.historyGo?.(S)}}return D.\u0275fac=function(S){return new(S||D)(c.LFG(x),c.LFG(K,8))},D.\u0275prov=c.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),_e=(()=>{class D extends ie{constructor(S,W){super(),this._platformLocation=S,this._baseHref="",this._removeListenerFns=[],null!=W&&(this._baseHref=W)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(S){this._removeListenerFns.push(this._platformLocation.onPopState(S),this._platformLocation.onHashChange(S))}getBaseHref(){return this._baseHref}path(S=!1){let W=this._platformLocation.hash;return null==W&&(W="#"),W.length>0?W.substring(1):W}prepareExternalUrl(S){const W=ce(this._baseHref,S);return W.length>0?"#"+W:W}pushState(S,W,Ee,nt){let ut=this.prepareExternalUrl(Ee+de(nt));0==ut.length&&(ut=this._platformLocation.pathname),this._platformLocation.pushState(S,W,ut)}replaceState(S,W,Ee,nt){let ut=this.prepareExternalUrl(Ee+de(nt));0==ut.length&&(ut=this._platformLocation.pathname),this._platformLocation.replaceState(S,W,ut)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(S=0){this._platformLocation.historyGo?.(S)}}return D.\u0275fac=function(S){return new(S||D)(c.LFG(x),c.LFG(K,8))},D.\u0275prov=c.Yz7({token:D,factory:D.\u0275fac}),D})(),Le=(()=>{class D{constructor(S){this._subject=new c.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=S;const W=this._locationStrategy.getBaseHref();this._basePath=function $e(D){if(new RegExp("^(https?:)?//").test(D)){const[,S]=D.split(/\/\/[^\/]+/);return S}return D}(X(xe(W))),this._locationStrategy.onPopState(Ee=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ee.state,type:Ee.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(S=!1){return this.normalize(this._locationStrategy.path(S))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(S,W=""){return this.path()==this.normalize(S+de(W))}normalize(S){return D.stripTrailingSlash(function ge(D,B){if(!D||!B.startsWith(D))return B;const S=B.substring(D.length);return""===S||["/",";","?","#"].includes(S[0])?S:B}(this._basePath,xe(S)))}prepareExternalUrl(S){return S&&"/"!==S[0]&&(S="/"+S),this._locationStrategy.prepareExternalUrl(S)}go(S,W="",Ee=null){this._locationStrategy.pushState(Ee,"",S,W),this._notifyUrlChangeListeners(this.prepareExternalUrl(S+de(W)),Ee)}replaceState(S,W="",Ee=null){this._locationStrategy.replaceState(Ee,"",S,W),this._notifyUrlChangeListeners(this.prepareExternalUrl(S+de(W)),Ee)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(S=0){this._locationStrategy.historyGo?.(S)}onUrlChange(S){return this._urlChangeListeners.push(S),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(W=>{this._notifyUrlChangeListeners(W.url,W.state)})),()=>{const W=this._urlChangeListeners.indexOf(S);this._urlChangeListeners.splice(W,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(S="",W){this._urlChangeListeners.forEach(Ee=>Ee(S,W))}subscribe(S,W,Ee){return this._subject.subscribe({next:S,error:W,complete:Ee})}}return D.normalizeQueryParams=de,D.joinWithSlash=ce,D.stripTrailingSlash=X,D.\u0275fac=function(S){return new(S||D)(c.LFG(ie))},D.\u0275prov=c.Yz7({token:D,factory:function(){return function De(){return new Le((0,c.LFG)(ie))}()},providedIn:"root"}),D})();function xe(D){return D.replace(/\/index.html$/,"")}var be=(()=>((be=be||{})[be.Decimal=0]="Decimal",be[be.Percent=1]="Percent",be[be.Currency=2]="Currency",be[be.Scientific=3]="Scientific",be))(),Fe=(()=>((Fe=Fe||{})[Fe.Format=0]="Format",Fe[Fe.Standalone=1]="Standalone",Fe))(),Ae=(()=>((Ae=Ae||{})[Ae.Narrow=0]="Narrow",Ae[Ae.Abbreviated=1]="Abbreviated",Ae[Ae.Wide=2]="Wide",Ae[Ae.Short=3]="Short",Ae))(),He=(()=>((He=He||{})[He.Short=0]="Short",He[He.Medium=1]="Medium",He[He.Long=2]="Long",He[He.Full=3]="Full",He))(),ae=(()=>((ae=ae||{})[ae.Decimal=0]="Decimal",ae[ae.Group=1]="Group",ae[ae.List=2]="List",ae[ae.PercentSign=3]="PercentSign",ae[ae.PlusSign=4]="PlusSign",ae[ae.MinusSign=5]="MinusSign",ae[ae.Exponential=6]="Exponential",ae[ae.SuperscriptingExponent=7]="SuperscriptingExponent",ae[ae.PerMille=8]="PerMille",ae[ae.Infinity=9]="Infinity",ae[ae.NaN=10]="NaN",ae[ae.TimeSeparator=11]="TimeSeparator",ae[ae.CurrencyDecimal=12]="CurrencyDecimal",ae[ae.CurrencyGroup=13]="CurrencyGroup",ae))();function oe(D,B){return it((0,c.cg1)(D)[c.wAp.DateFormat],B)}function ue(D,B){return it((0,c.cg1)(D)[c.wAp.TimeFormat],B)}function ze(D,B){return it((0,c.cg1)(D)[c.wAp.DateTimeFormat],B)}function Je(D,B){const S=(0,c.cg1)(D),W=S[c.wAp.NumberSymbols][B];if(typeof W>"u"){if(B===ae.CurrencyDecimal)return S[c.wAp.NumberSymbols][ae.Decimal];if(B===ae.CurrencyGroup)return S[c.wAp.NumberSymbols][ae.Group]}return W}function Ot(D){if(!D[c.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${D[c.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function it(D,B){for(let S=B;S>-1;S--)if(typeof D[S]<"u")return D[S];throw new Error("Locale data API: locale data undefined")}function Tt(D){const[B,S]=D.split(":");return{hours:+B,minutes:+S}}const ar=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,gr={},vn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var ln=(()=>((ln=ln||{})[ln.Short=0]="Short",ln[ln.ShortGMT=1]="ShortGMT",ln[ln.Long=2]="Long",ln[ln.Extended=3]="Extended",ln))(),Pt=(()=>((Pt=Pt||{})[Pt.FullYear=0]="FullYear",Pt[Pt.Month=1]="Month",Pt[Pt.Date=2]="Date",Pt[Pt.Hours=3]="Hours",Pt[Pt.Minutes=4]="Minutes",Pt[Pt.Seconds=5]="Seconds",Pt[Pt.FractionalSeconds=6]="FractionalSeconds",Pt[Pt.Day=7]="Day",Pt))(),gt=(()=>((gt=gt||{})[gt.DayPeriods=0]="DayPeriods",gt[gt.Days=1]="Days",gt[gt.Months=2]="Months",gt[gt.Eras=3]="Eras",gt))();function Ln(D,B,S,W){let Ee=function $n(D){if(We(D))return D;if("number"==typeof D&&!isNaN(D))return new Date(D);if("string"==typeof D){if(D=D.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(D)){const[Ee,nt=1,ut=1]=D.split("-").map(kt=>+kt);return on(Ee,nt-1,ut)}const S=parseFloat(D);if(!isNaN(D-S))return new Date(S);let W;if(W=D.match(ar))return function en(D){const B=new Date(0);let S=0,W=0;const Ee=D[8]?B.setUTCFullYear:B.setFullYear,nt=D[8]?B.setUTCHours:B.setHours;D[9]&&(S=Number(D[9]+D[10]),W=Number(D[9]+D[11])),Ee.call(B,Number(D[1]),Number(D[2])-1,Number(D[3]));const ut=Number(D[4]||0)-S,kt=Number(D[5]||0)-W,In=Number(D[6]||0),Sn=Math.floor(1e3*parseFloat("0."+(D[7]||0)));return nt.call(B,ut,kt,In,Sn),B}(W)}const B=new Date(D);if(!We(B))throw new Error(`Unable to convert "${D}" into a date`);return B}(D);B=Zt(S,B)||B;let kt,ut=[];for(;B;){if(kt=vn.exec(B),!kt){ut.push(B);break}{ut=ut.concat(kt.slice(1));const pn=ut.pop();if(!pn)break;B=pn}}let In=Ee.getTimezoneOffset();W&&(In=fn(W,In),Ee=function _n(D,B,S){const W=S?-1:1,Ee=D.getTimezoneOffset();return function nn(D,B){return(D=new Date(D.getTime())).setMinutes(D.getMinutes()+B),D}(D,W*(fn(B,Ee)-Ee))}(Ee,W,!0));let Sn="";return ut.forEach(pn=>{const rn=function dr(D){if(Tn[D])return Tn[D];let B;switch(D){case"G":case"GG":case"GGG":B=Ht(gt.Eras,Ae.Abbreviated);break;case"GGGG":B=Ht(gt.Eras,Ae.Wide);break;case"GGGGG":B=Ht(gt.Eras,Ae.Narrow);break;case"y":B=En(Pt.FullYear,1,0,!1,!0);break;case"yy":B=En(Pt.FullYear,2,0,!0,!0);break;case"yyy":B=En(Pt.FullYear,3,0,!1,!0);break;case"yyyy":B=En(Pt.FullYear,4,0,!1,!0);break;case"Y":B=or(1);break;case"YY":B=or(2,!0);break;case"YYY":B=or(3);break;case"YYYY":B=or(4);break;case"M":case"L":B=En(Pt.Month,1,1);break;case"MM":case"LL":B=En(Pt.Month,2,1);break;case"MMM":B=Ht(gt.Months,Ae.Abbreviated);break;case"MMMM":B=Ht(gt.Months,Ae.Wide);break;case"MMMMM":B=Ht(gt.Months,Ae.Narrow);break;case"LLL":B=Ht(gt.Months,Ae.Abbreviated,Fe.Standalone);break;case"LLLL":B=Ht(gt.Months,Ae.Wide,Fe.Standalone);break;case"LLLLL":B=Ht(gt.Months,Ae.Narrow,Fe.Standalone);break;case"w":B=Hn(1);break;case"ww":B=Hn(2);break;case"W":B=Hn(1,!0);break;case"d":B=En(Pt.Date,1);break;case"dd":B=En(Pt.Date,2);break;case"c":case"cc":B=En(Pt.Day,1);break;case"ccc":B=Ht(gt.Days,Ae.Abbreviated,Fe.Standalone);break;case"cccc":B=Ht(gt.Days,Ae.Wide,Fe.Standalone);break;case"ccccc":B=Ht(gt.Days,Ae.Narrow,Fe.Standalone);break;case"cccccc":B=Ht(gt.Days,Ae.Short,Fe.Standalone);break;case"E":case"EE":case"EEE":B=Ht(gt.Days,Ae.Abbreviated);break;case"EEEE":B=Ht(gt.Days,Ae.Wide);break;case"EEEEE":B=Ht(gt.Days,Ae.Narrow);break;case"EEEEEE":B=Ht(gt.Days,Ae.Short);break;case"a":case"aa":case"aaa":B=Ht(gt.DayPeriods,Ae.Abbreviated);break;case"aaaa":B=Ht(gt.DayPeriods,Ae.Wide);break;case"aaaaa":B=Ht(gt.DayPeriods,Ae.Narrow);break;case"b":case"bb":case"bbb":B=Ht(gt.DayPeriods,Ae.Abbreviated,Fe.Standalone,!0);break;case"bbbb":B=Ht(gt.DayPeriods,Ae.Wide,Fe.Standalone,!0);break;case"bbbbb":B=Ht(gt.DayPeriods,Ae.Narrow,Fe.Standalone,!0);break;case"B":case"BB":case"BBB":B=Ht(gt.DayPeriods,Ae.Abbreviated,Fe.Format,!0);break;case"BBBB":B=Ht(gt.DayPeriods,Ae.Wide,Fe.Format,!0);break;case"BBBBB":B=Ht(gt.DayPeriods,Ae.Narrow,Fe.Format,!0);break;case"h":B=En(Pt.Hours,1,-12);break;case"hh":B=En(Pt.Hours,2,-12);break;case"H":B=En(Pt.Hours,1);break;case"HH":B=En(Pt.Hours,2);break;case"m":B=En(Pt.Minutes,1);break;case"mm":B=En(Pt.Minutes,2);break;case"s":B=En(Pt.Seconds,1);break;case"ss":B=En(Pt.Seconds,2);break;case"S":B=En(Pt.FractionalSeconds,1);break;case"SS":B=En(Pt.FractionalSeconds,2);break;case"SSS":B=En(Pt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":B=tn(ln.Short);break;case"ZZZZZ":B=tn(ln.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":B=tn(ln.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":B=tn(ln.Long);break;default:return null}return Tn[D]=B,B}(pn);Sn+=rn?rn(Ee,S,In):"''"===pn?"'":pn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Sn}function on(D,B,S){const W=new Date(0);return W.setFullYear(D,B,S),W.setHours(0,0,0),W}function Zt(D,B){const S=function Xe(D){return(0,c.cg1)(D)[c.wAp.LocaleId]}(D);if(gr[S]=gr[S]||{},gr[S][B])return gr[S][B];let W="";switch(B){case"shortDate":W=oe(D,He.Short);break;case"mediumDate":W=oe(D,He.Medium);break;case"longDate":W=oe(D,He.Long);break;case"fullDate":W=oe(D,He.Full);break;case"shortTime":W=ue(D,He.Short);break;case"mediumTime":W=ue(D,He.Medium);break;case"longTime":W=ue(D,He.Long);break;case"fullTime":W=ue(D,He.Full);break;case"short":const Ee=Zt(D,"shortTime"),nt=Zt(D,"shortDate");W=lr(ze(D,He.Short),[Ee,nt]);break;case"medium":const ut=Zt(D,"mediumTime"),kt=Zt(D,"mediumDate");W=lr(ze(D,He.Medium),[ut,kt]);break;case"long":const In=Zt(D,"longTime"),Sn=Zt(D,"longDate");W=lr(ze(D,He.Long),[In,Sn]);break;case"full":const pn=Zt(D,"fullTime"),rn=Zt(D,"fullDate");W=lr(ze(D,He.Full),[pn,rn])}return W&&(gr[S][B]=W),W}function lr(D,B){return B&&(D=D.replace(/\{([^}]+)}/g,function(S,W){return null!=B&&W in B?B[W]:S})),D}function xn(D,B,S="-",W,Ee){let nt="";(D<0||Ee&&D<=0)&&(Ee?D=1-D:(D=-D,nt=S));let ut=String(D);for(;ut.length0||kt>-S)&&(kt+=S),D===Pt.Hours)0===kt&&-12===S&&(kt=12);else if(D===Pt.FractionalSeconds)return function yr(D,B){return xn(D,3).substring(0,B)}(kt,B);const In=Je(ut,ae.MinusSign);return xn(kt,B,In,W,Ee)}}function Ht(D,B,S=Fe.Format,W=!1){return function(Ee,nt){return function Cr(D,B,S,W,Ee,nt){switch(S){case gt.Months:return function N(D,B,S){const W=(0,c.cg1)(D),nt=it([W[c.wAp.MonthsFormat],W[c.wAp.MonthsStandalone]],B);return it(nt,S)}(B,Ee,W)[D.getMonth()];case gt.Days:return function he(D,B,S){const W=(0,c.cg1)(D),nt=it([W[c.wAp.DaysFormat],W[c.wAp.DaysStandalone]],B);return it(nt,S)}(B,Ee,W)[D.getDay()];case gt.DayPeriods:const ut=D.getHours(),kt=D.getMinutes();if(nt){const Sn=function It(D){const B=(0,c.cg1)(D);return Ot(B),(B[c.wAp.ExtraData][2]||[]).map(W=>"string"==typeof W?Tt(W):[Tt(W[0]),Tt(W[1])])}(B),pn=function bt(D,B,S){const W=(0,c.cg1)(D);Ot(W);const nt=it([W[c.wAp.ExtraData][0],W[c.wAp.ExtraData][1]],B)||[];return it(nt,S)||[]}(B,Ee,W),rn=Sn.findIndex(pr=>{if(Array.isArray(pr)){const[Rn,rr]=pr,qr=ut>=Rn.hours&&kt>=Rn.minutes,$r=ut0?Math.floor(Ee/60):Math.ceil(Ee/60);switch(D){case ln.Short:return(Ee>=0?"+":"")+xn(ut,2,nt)+xn(Math.abs(Ee%60),2,nt);case ln.ShortGMT:return"GMT"+(Ee>=0?"+":"")+xn(ut,1,nt);case ln.Long:return"GMT"+(Ee>=0?"+":"")+xn(ut,2,nt)+":"+xn(Math.abs(Ee%60),2,nt);case ln.Extended:return 0===W?"Z":(Ee>=0?"+":"")+xn(ut,2,nt)+":"+xn(Math.abs(Ee%60),2,nt);default:throw new Error(`Unknown zone width "${D}"`)}}}const Wn=0,er=4;function Sr(D){return on(D.getFullYear(),D.getMonth(),D.getDate()+(er-D.getDay()))}function Hn(D,B=!1){return function(S,W){let Ee;if(B){const nt=new Date(S.getFullYear(),S.getMonth(),1).getDay()-1,ut=S.getDate();Ee=1+Math.floor((ut+nt)/7)}else{const nt=Sr(S),ut=function ur(D){const B=on(D,Wn,1).getDay();return on(D,0,1+(B<=er?er:er+7)-B)}(nt.getFullYear()),kt=nt.getTime()-ut.getTime();Ee=1+Math.round(kt/6048e5)}return xn(Ee,D,Je(W,ae.MinusSign))}}function or(D,B=!1){return function(S,W){return xn(Sr(S).getFullYear(),D,Je(W,ae.MinusSign),B)}}const Tn={};function fn(D,B){D=D.replace(/:/g,"");const S=Date.parse("Jan 01, 1970 00:00:00 "+D)/6e4;return isNaN(S)?B:S}function We(D){return D instanceof Date&&!isNaN(D.valueOf())}const Oe=/^(\d+)?\.((\d+)(-(\d+))?)?$/,pe=22,Ge=".",ot="0",vt=";",zt=",",cn="#";function yn(D){const B=parseInt(D);if(isNaN(B))throw new Error("Invalid integer literal when parsing "+D);return B}function On(D,B){B=encodeURIComponent(B);for(const S of D.split(";")){const W=S.indexOf("="),[Ee,nt]=-1==W?[S,""]:[S.slice(0,W),S.slice(W+1)];if(Ee.trim()===B)return decodeURIComponent(nt)}return null}const Zn=/\s+/,Mt=[];let Nt=(()=>{class D{constructor(S,W,Ee,nt){this._iterableDiffers=S,this._keyValueDiffers=W,this._ngEl=Ee,this._renderer=nt,this.initialClasses=Mt,this.stateMap=new Map}set klass(S){this.initialClasses=null!=S?S.trim().split(Zn):Mt}set ngClass(S){this.rawClass="string"==typeof S?S.trim().split(Zn):S}ngDoCheck(){for(const W of this.initialClasses)this._updateState(W,!0);const S=this.rawClass;if(Array.isArray(S)||S instanceof Set)for(const W of S)this._updateState(W,!0);else if(null!=S)for(const W of Object.keys(S))this._updateState(W,Boolean(S[W]));this._applyStateDiff()}_updateState(S,W){const Ee=this.stateMap.get(S);void 0!==Ee?(Ee.enabled!==W&&(Ee.changed=!0,Ee.enabled=W),Ee.touched=!0):this.stateMap.set(S,{enabled:W,changed:!0,touched:!0})}_applyStateDiff(){for(const S of this.stateMap){const W=S[0],Ee=S[1];Ee.changed?(this._toggleClass(W,Ee.enabled),Ee.changed=!1):Ee.touched||(Ee.enabled&&this._toggleClass(W,!1),this.stateMap.delete(W)),Ee.touched=!1}}_toggleClass(S,W){(S=S.trim()).length>0&&S.split(Zn).forEach(Ee=>{W?this._renderer.addClass(this._ngEl.nativeElement,Ee):this._renderer.removeClass(this._ngEl.nativeElement,Ee)})}}return D.\u0275fac=function(S){return new(S||D)(c.Y36(c.ZZ4),c.Y36(c.aQg),c.Y36(c.SBq),c.Y36(c.Qsj))},D.\u0275dir=c.lG2({type:D,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),D})();class Me{constructor(B,S,W,Ee){this.$implicit=B,this.ngForOf=S,this.index=W,this.count=Ee}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let fe=(()=>{class D{set ngForOf(S){this._ngForOf=S,this._ngForOfDirty=!0}set ngForTrackBy(S){this._trackByFn=S}get ngForTrackBy(){return this._trackByFn}constructor(S,W,Ee){this._viewContainer=S,this._template=W,this._differs=Ee,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(S){S&&(this._template=S)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const S=this._ngForOf;!this._differ&&S&&(this._differ=this._differs.find(S).create(this.ngForTrackBy))}if(this._differ){const S=this._differ.diff(this._ngForOf);S&&this._applyChanges(S)}}_applyChanges(S){const W=this._viewContainer;S.forEachOperation((Ee,nt,ut)=>{if(null==Ee.previousIndex)W.createEmbeddedView(this._template,new Me(Ee.item,this._ngForOf,-1,-1),null===ut?void 0:ut);else if(null==ut)W.remove(null===nt?void 0:nt);else if(null!==nt){const kt=W.get(nt);W.move(kt,ut),Te(kt,Ee)}});for(let Ee=0,nt=W.length;Ee{Te(W.get(Ee.currentIndex),Ee)})}static ngTemplateContextGuard(S,W){return!0}}return D.\u0275fac=function(S){return new(S||D)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(c.ZZ4))},D.\u0275dir=c.lG2({type:D,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),D})();function Te(D,B){D.context.$implicit=B.item}let Pe=(()=>{class D{constructor(S,W){this._viewContainer=S,this._context=new A,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=W}set ngIf(S){this._context.$implicit=this._context.ngIf=S,this._updateView()}set ngIfThen(S){T("ngIfThen",S),this._thenTemplateRef=S,this._thenViewRef=null,this._updateView()}set ngIfElse(S){T("ngIfElse",S),this._elseTemplateRef=S,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(S,W){return!0}}return D.\u0275fac=function(S){return new(S||D)(c.Y36(c.s_b),c.Y36(c.Rgc))},D.\u0275dir=c.lG2({type:D,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),D})();class A{constructor(){this.$implicit=null,this.ngIf=null}}function T(D,B){if(B&&!B.createEmbeddedView)throw new Error(`${D} must be a TemplateRef, but received '${(0,c.AaK)(B)}'.`)}class H{constructor(B,S){this._viewContainerRef=B,this._templateRef=S,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(B){B&&!this._created?this.create():!B&&this._created&&this.destroy()}}let te=(()=>{class D{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(S){this._ngSwitch=S,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(S){this._defaultViews.push(S)}_matchCase(S){const W=S==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||W,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),W}_updateDefaultCases(S){if(this._defaultViews.length>0&&S!==this._defaultUsed){this._defaultUsed=S;for(const W of this._defaultViews)W.enforceState(S)}}}return D.\u0275fac=function(S){return new(S||D)},D.\u0275dir=c.lG2({type:D,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),D})(),we=(()=>{class D{constructor(S,W,Ee){this.ngSwitch=Ee,Ee._addCase(),this._view=new H(S,W)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return D.\u0275fac=function(S){return new(S||D)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(te,9))},D.\u0275dir=c.lG2({type:D,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),D})(),Ce=(()=>{class D{constructor(S,W,Ee){Ee._addDefault(new H(S,W))}}return D.\u0275fac=function(S){return new(S||D)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(te,9))},D.\u0275dir=c.lG2({type:D,selectors:[["","ngSwitchDefault",""]],standalone:!0}),D})(),ye=(()=>{class D{constructor(S,W,Ee){this._ngEl=S,this._differs=W,this._renderer=Ee,this._ngStyle=null,this._differ=null}set ngStyle(S){this._ngStyle=S,!this._differ&&S&&(this._differ=this._differs.find(S).create())}ngDoCheck(){if(this._differ){const S=this._differ.diff(this._ngStyle);S&&this._applyChanges(S)}}_setStyle(S,W){const[Ee,nt]=S.split("."),ut=-1===Ee.indexOf("-")?void 0:c.JOm.DashCase;null!=W?this._renderer.setStyle(this._ngEl.nativeElement,Ee,nt?`${W}${nt}`:W,ut):this._renderer.removeStyle(this._ngEl.nativeElement,Ee,ut)}_applyChanges(S){S.forEachRemovedItem(W=>this._setStyle(W.key,null)),S.forEachAddedItem(W=>this._setStyle(W.key,W.currentValue)),S.forEachChangedItem(W=>this._setStyle(W.key,W.currentValue))}}return D.\u0275fac=function(S){return new(S||D)(c.Y36(c.SBq),c.Y36(c.aQg),c.Y36(c.Qsj))},D.\u0275dir=c.lG2({type:D,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),D})(),yt=(()=>{class D{constructor(S){this._viewContainerRef=S,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(S){if(S.ngTemplateOutlet||S.ngTemplateOutletInjector){const W=this._viewContainerRef;if(this._viewRef&&W.remove(W.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Ee,ngTemplateOutletContext:nt,ngTemplateOutletInjector:ut}=this;this._viewRef=W.createEmbeddedView(Ee,nt,ut?{injector:ut}:void 0)}else this._viewRef=null}else this._viewRef&&S.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return D.\u0275fac=function(S){return new(S||D)(c.Y36(c.s_b))},D.\u0275dir=c.lG2({type:D,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[c.TTD]}),D})();function Ft(D,B){return new c.vHH(2100,!1)}class St{createSubscription(B,S){return B.subscribe({next:S,error:W=>{throw W}})}dispose(B){B.unsubscribe()}}class fr{createSubscription(B,S){return B.then(S,W=>{throw W})}dispose(B){}}const Pn=new fr,tr=new St;let Kn=(()=>{class D{constructor(S){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=S}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(S){return this._obj?S!==this._obj?(this._dispose(),this.transform(S)):this._latestValue:(S&&this._subscribe(S),this._latestValue)}_subscribe(S){this._obj=S,this._strategy=this._selectStrategy(S),this._subscription=this._strategy.createSubscription(S,W=>this._updateLatestValue(S,W))}_selectStrategy(S){if((0,c.QGY)(S))return Pn;if((0,c.F4k)(S))return tr;throw Ft()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(S,W){S===this._obj&&(this._latestValue=W,this._ref.markForCheck())}}return D.\u0275fac=function(S){return new(S||D)(c.Y36(c.sBO,16))},D.\u0275pipe=c.Yjl({name:"async",type:D,pure:!1,standalone:!0}),D})();const Qr=new c.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),Nn=new c.OlP("DATE_PIPE_DEFAULT_OPTIONS");let zn=(()=>{class D{constructor(S,W,Ee){this.locale=S,this.defaultTimezone=W,this.defaultOptions=Ee}transform(S,W,Ee,nt){if(null==S||""===S||S!=S)return null;try{return Ln(S,W??this.defaultOptions?.dateFormat??"mediumDate",nt||this.locale,Ee??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ut){throw Ft()}}}return D.\u0275fac=function(S){return new(S||D)(c.Y36(c.soG,16),c.Y36(Qr,24),c.Y36(Nn,24))},D.\u0275pipe=c.Yjl({name:"date",type:D,pure:!0,standalone:!0}),D})(),yo=(()=>{class D{constructor(S){this._locale=S}transform(S,W,Ee){if(!function _o(D){return!(null==D||""===D||D!=D)}(S))return null;Ee=Ee||this._locale;try{return function mr(D,B,S){return function jn(D,B,S,W,Ee,nt,ut=!1){let kt="",In=!1;if(isFinite(D)){let Sn=function Yt(D){let W,Ee,nt,ut,kt,B=Math.abs(D)+"",S=0;for((Ee=B.indexOf(Ge))>-1&&(B=B.replace(Ge,"")),(nt=B.search(/e/i))>0?(Ee<0&&(Ee=nt),Ee+=+B.slice(nt+1),B=B.substring(0,nt)):Ee<0&&(Ee=B.length),nt=0;B.charAt(nt)===ot;nt++);if(nt===(kt=B.length))W=[0],Ee=1;else{for(kt--;B.charAt(kt)===ot;)kt--;for(Ee-=nt,W=[],ut=0;nt<=kt;nt++,ut++)W[ut]=Number(B.charAt(nt))}return Ee>pe&&(W=W.splice(0,pe-1),S=Ee-1,Ee=1),{digits:W,exponent:S,integerLen:Ee}}(D);ut&&(Sn=function Jn(D){if(0===D.digits[0])return D;const B=D.digits.length-D.integerLen;return D.exponent?D.exponent+=2:(0===B?D.digits.push(0,0):1===B&&D.digits.push(0),D.integerLen+=2),D}(Sn));let pn=B.minInt,rn=B.minFrac,pr=B.maxFrac;if(nt){const Jr=nt.match(Oe);if(null===Jr)throw new Error(`${nt} is not a valid digit info`);const no=Jr[1],Ho=Jr[3],Mo=Jr[5];null!=no&&(pn=yn(no)),null!=Ho&&(rn=yn(Ho)),null!=Mo?pr=yn(Mo):null!=Ho&&rn>pr&&(pr=rn)}!function Un(D,B,S){if(B>S)throw new Error(`The minimum number of digits after fraction (${B}) is higher than the maximum (${S}).`);let W=D.digits,Ee=W.length-D.integerLen;const nt=Math.min(Math.max(B,Ee),S);let ut=nt+D.integerLen,kt=W[ut];if(ut>0){W.splice(Math.max(D.integerLen,ut));for(let rn=ut;rn=5)if(ut-1<0){for(let rn=0;rn>ut;rn--)W.unshift(0),D.integerLen++;W.unshift(1),D.integerLen++}else W[ut-1]++;for(;Ee=Sn?rr.pop():In=!1),pr>=10?1:0},0);pn&&(W.unshift(pn),D.integerLen++)}(Sn,rn,pr);let Rn=Sn.digits,rr=Sn.integerLen;const qr=Sn.exponent;let $r=[];for(In=Rn.every(Jr=>!Jr);rr0?$r=Rn.splice(rr,Rn.length):($r=Rn,Rn=[0]);const Lo=[];for(Rn.length>=B.lgSize&&Lo.unshift(Rn.splice(-B.lgSize,Rn.length).join(""));Rn.length>B.gSize;)Lo.unshift(Rn.splice(-B.gSize,Rn.length).join(""));Rn.length&&Lo.unshift(Rn.join("")),kt=Lo.join(Je(S,W)),$r.length&&(kt+=Je(S,Ee)+$r.join("")),qr&&(kt+=Je(S,ae.Exponential)+"+"+qr)}else kt=Je(S,ae.Infinity);return kt=D<0&&!In?B.negPre+kt+B.negSuf:B.posPre+kt+B.posSuf,kt}(D,function Tr(D,B="-"){const S={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},W=D.split(vt),Ee=W[0],nt=W[1],ut=-1!==Ee.indexOf(Ge)?Ee.split(Ge):[Ee.substring(0,Ee.lastIndexOf(ot)+1),Ee.substring(Ee.lastIndexOf(ot)+1)],kt=ut[0],In=ut[1]||"";S.posPre=kt.substring(0,kt.indexOf(cn));for(let pn=0;pn{class D{}return D.\u0275fac=function(S){return new(S||D)},D.\u0275mod=c.oAB({type:D}),D.\u0275inj=c.cJS({}),D})();const bo="browser",Gr="server";function Fr(D){return D===bo}function Yn(D){return D===Gr}let ao=(()=>{class D{}return D.\u0275prov=(0,c.Yz7)({token:D,providedIn:"root",factory:()=>new ii((0,c.LFG)(O),window)}),D})();class ii{constructor(B,S){this.document=B,this.window=S,this.offset=()=>[0,0]}setOffset(B){this.offset=Array.isArray(B)?()=>B:B}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(B){this.supportsScrolling()&&this.window.scrollTo(B[0],B[1])}scrollToAnchor(B){if(!this.supportsScrolling())return;const S=function Po(D,B){const S=D.getElementById(B)||D.getElementsByName(B)[0];if(S)return S;if("function"==typeof D.createTreeWalker&&D.body&&(D.body.createShadowRoot||D.body.attachShadow)){const W=D.createTreeWalker(D.body,NodeFilter.SHOW_ELEMENT);let Ee=W.currentNode;for(;Ee;){const nt=Ee.shadowRoot;if(nt){const ut=nt.getElementById(B)||nt.querySelector(`[name="${B}"]`);if(ut)return ut}Ee=W.nextNode()}}return null}(this.document,B);S&&(this.scrollToElement(S),S.focus())}setHistoryScrollRestoration(B){if(this.supportScrollRestoration()){const S=this.window.history;S&&S.scrollRestoration&&(S.scrollRestoration=B)}}scrollToElement(B){const S=B.getBoundingClientRect(),W=S.left+this.window.pageXOffset,Ee=S.top+this.window.pageYOffset,nt=this.offset();this.window.scrollTo(W-nt[0],Ee-nt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const B=si(this.window.history)||si(Object.getPrototypeOf(this.window.history));return!(!B||!B.writable&&!B.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function si(D){return Object.getOwnPropertyDescriptor(D,"scrollRestoration")}class $o{}},4650:(ct,Ie,b)=>{"use strict";b.d(Ie,{$8M:()=>ts,$WT:()=>un,$Z:()=>Uf,AFp:()=>$g,ALo:()=>ig,AaK:()=>V,AsE:()=>Bu,B6R:()=>wn,BQk:()=>jl,CHM:()=>to,CRH:()=>mg,CZH:()=>tc,CqO:()=>yh,D6c:()=>kC,DdM:()=>qp,EJc:()=>Xb,EpF:()=>mh,F$t:()=>wh,F4k:()=>vh,FYo:()=>_f,FiY:()=>Ds,G48:()=>_C,Gf:()=>pg,GfV:()=>bf,GkF:()=>Iu,Gpc:()=>G,Hsn:()=>Mh,JOm:()=>ti,KtG:()=>fo,LFG:()=>tn,LMc:()=>$C,Lbi:()=>Kb,Lck:()=>q0,MAs:()=>gh,MMx:()=>Wu,MR2:()=>nv,NdJ:()=>Tu,O4$:()=>us,OlP:()=>Qn,Oqu:()=>ku,P3R:()=>af,PXZ:()=>hC,Q6J:()=>Eu,QGY:()=>Su,Qsj:()=>vv,R0b:()=>ri,RDi:()=>Rm,Rgc:()=>qa,SBq:()=>Na,Sil:()=>eC,Suo:()=>gg,TTD:()=>Oo,TgZ:()=>Ul,Udp:()=>Fu,VKq:()=>Jp,W1O:()=>bg,WLB:()=>Xp,X6Q:()=>yC,XFs:()=>Tt,Xpm:()=>cn,Xts:()=>Yc,Y36:()=>ta,YKP:()=>Vp,YNc:()=>ph,Yjl:()=>Jn,Yz7:()=>Je,Z0I:()=>rt,ZZ4:()=>_d,_Bn:()=>Up,_UZ:()=>Mu,_Vd:()=>La,_c5:()=>LC,_uU:()=>Wh,aQg:()=>bd,c2e:()=>qb,cJS:()=>Ne,cg1:()=>$u,dDg:()=>cC,dqk:()=>vn,eFA:()=>Xg,eJc:()=>rd,ekj:()=>Lu,eoX:()=>Zg,f3M:()=>er,g9A:()=>Vg,h0i:()=>ga,hGG:()=>NC,hij:()=>Gl,iGM:()=>hg,ifc:()=>_n,ip1:()=>Bg,jDz:()=>jp,kEZ:()=>Qp,kL8:()=>fp,kcU:()=>ds,lG2:()=>Tr,lcZ:()=>sg,lqb:()=>Ts,lri:()=>Gg,n5z:()=>Qi,oAB:()=>Qt,oxw:()=>Eh,qFp:()=>UC,qLn:()=>ka,qOj:()=>yu,qZA:()=>Vl,rWj:()=>Wg,s9C:()=>Au,sBO:()=>bC,s_b:()=>Xl,soG:()=>nc,tBr:()=>Ws,tb:()=>qg,tp0:()=>Ti,uIk:()=>Cu,vHH:()=>K,vpe:()=>Ri,wAp:()=>qt,xi3:()=>ag,xp6:()=>Sf,ynx:()=>Hl,z2F:()=>rc,zSh:()=>Kc,zWS:()=>Du,zs3:()=>As});var c=b(7579),n=b(727),U=b(9751),$=b(6451),J=b(3099);function O(e){for(let t in e)if(e[t]===O)return t;throw Error("Could not find renamed property on target object.")}function x(e,t){for(const r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}function V(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(V).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function Z(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const se=O({__forward_ref__:O});function G(e){return e.__forward_ref__=G,e.toString=function(){return V(this())},e}function ee(e){return ce(e)?e():e}function ce(e){return"function"==typeof e&&e.hasOwnProperty(se)&&e.__forward_ref__===G}function X(e){return e&&!!e.\u0275providers}const ie="https://g.co/ng/security#xss";class K extends Error{constructor(t,r){super(z(t,r)),this.code=t}}function z(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}function _e(e){return"string"==typeof e?e:null==e?"":String(e)}function $e(e,t){throw new K(-201,!1)}function L(e,t){null==e&&function j(e,t,r,o){throw new Error(`ASSERTION ERROR: ${e}`+(null==o?"":` [Expected=> ${r} ${o} ${t} <=Actual]`))}(t,e,null,"!=")}function Je(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ne(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ye(e){return at(e,It)||at(e,Kt)}function rt(e){return null!==Ye(e)}function at(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ot(e){return e&&(e.hasOwnProperty(bt)||e.hasOwnProperty(it))?e[bt]:null}const It=O({\u0275prov:O}),bt=O({\u0275inj:O}),Kt=O({ngInjectableDef:O}),it=O({ngInjectorDef:O});var Tt=(()=>((Tt=Tt||{})[Tt.Default=0]="Default",Tt[Tt.Host=1]="Host",Tt[Tt.Self=2]="Self",Tt[Tt.SkipSelf=4]="SkipSelf",Tt[Tt.Optional=8]="Optional",Tt))();let gn;function sn(e){const t=gn;return gn=e,t}function ar(e,t,r){const o=Ye(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:r&Tt.Optional?null:void 0!==t?t:void $e(V(e))}const vn=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Ln={},on="__NG_DI_FLAG__",Zt="ngTempTokenPath",lr="ngTokenPath",xn=/\n/gm,yr="\u0275",En="__source";let cr;function Ht(e){const t=cr;return cr=e,t}function Cr(e,t=Tt.Default){if(void 0===cr)throw new K(-203,!1);return null===cr?ar(e,void 0,t):cr.get(e,t&Tt.Optional?null:void 0,t)}function tn(e,t=Tt.Default){return(function Xn(){return gn}()||Cr)(ee(e),t)}function er(e,t=Tt.Default){return tn(e,ur(t))}function ur(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Sr(e){const t=[];for(let r=0;r((nn=nn||{})[nn.OnPush=0]="OnPush",nn[nn.Default=1]="Default",nn))(),_n=(()=>{return(e=_n||(_n={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",_n;var e})();const $n={},en=[],We=O({\u0275cmp:O}),Oe=O({\u0275dir:O}),pe=O({\u0275pipe:O}),Ge=O({\u0275mod:O}),ot=O({\u0275fac:O}),vt=O({__NG_ELEMENT_ID__:O});let zt=0;function cn(e){return fn(()=>{const t=mn(e),r={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===nn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||_n.Emulated,id:"c"+zt++,styles:e.styles||en,_:null,schemas:e.schemas||null,tView:null};Gt(r);const o=e.dependencies;return r.directiveDefs=On(o,!1),r.pipeDefs=On(o,!0),r})}function wn(e,t,r){const o=e.\u0275cmp;o.directiveDefs=On(t,!1),o.pipeDefs=On(r,!0)}function Dr(e){return Yt(e)||Un(e)}function jn(e){return null!==e}function Qt(e){return fn(()=>({type:e.type,bootstrap:e.bootstrap||en,declarations:e.declarations||en,imports:e.imports||en,exports:e.exports||en,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function mr(e,t){if(null==e)return $n;const r={};for(const o in e)if(e.hasOwnProperty(o)){let i=e[o],a=i;Array.isArray(i)&&(a=i[1],i=i[0]),r[i]=o,t&&(t[i]=a)}return r}function Tr(e){return fn(()=>{const t=mn(e);return Gt(t),t})}function Jn(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Yt(e){return e[We]||null}function Un(e){return e[Oe]||null}function yn(e){return e[pe]||null}function un(e){const t=Yt(e)||Un(e)||yn(e);return null!==t&&t.standalone}function bn(e,t){const r=e[Ge]||null;if(!r&&!0===t)throw new Error(`Type ${V(e)} does not have '\u0275mod' property.`);return r}function mn(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,exportAs:e.exportAs||null,standalone:!0===e.standalone,selectors:e.selectors||en,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:mr(e.inputs,t),outputs:mr(e.outputs)}}function Gt(e){e.features?.forEach(t=>t(e))}function On(e,t){if(!e)return null;const r=t?yn:Dr;return()=>("function"==typeof e?e():e).map(o=>r(o)).filter(jn)}const Zn=0,Mt=1,Nt=2,hn=3,Vn=4,Q=5,Me=6,fe=7,Te=8,Be=9,Pe=10,A=11,T=12,H=13,te=14,we=15,Ce=16,Ue=17,Qe=18,Ke=19,ye=20,yt=21,_t=22,St=1,fr=2,Pn=7,tr=8,Kn=9,An=10;function Cn(e){return Array.isArray(e)&&"object"==typeof e[St]}function qn(e){return Array.isArray(e)&&!0===e[St]}function go(e){return 0!=(4&e.flags)}function Qr(e){return e.componentOffset>-1}function Nn(e){return 1==(1&e.flags)}function zn(e){return!!e.template}function Ar(e){return 0!=(256&e[Nt])}function so(e,t){return e.hasOwnProperty(ot)?e[ot]:null}class Bo{constructor(t,r,o){this.previousValue=t,this.currentValue=r,this.firstChange=o}isFirstChange(){return this.firstChange}}function Oo(){return ao}function ao(e){return e.type.prototype.ngOnChanges&&(e.setInput=si),ii}function ii(){const e=lo(this),t=e?.current;if(t){const r=e.previous;if(r===$n)e.previous=t;else for(let o in t)r[o]=t[o];e.current=null,this.ngOnChanges(t)}}function si(e,t,r,o){const i=this.declaredInputs[r],a=lo(e)||function $o(e,t){return e[Po]=t}(e,{previous:$n,current:null}),p=a.current||(a.current={}),C=a.previous,w=C[i];p[i]=new Bo(w&&w.currentValue,t,C===$n),e[o]=t}Oo.ngInherit=!0;const Po="__ngSimpleChanges__";function lo(e){return e[Po]||null}const Er=function(e,t,r){},Uo="svg";function ir(e){for(;Array.isArray(e);)e=e[Zn];return e}function Ro(e,t){return ir(t[e])}function vr(e,t){return ir(t[e.index])}function Co(e,t){return e.data[t]}function Do(e,t){return e[t]}function sr(e,t){const r=t[e];return Cn(r)?r:r[Zn]}function hr(e){return 64==(64&e[Nt])}function Eo(e,t){return null==t?null:e[t]}function eo(e){e[Qe]=0}function uo(e,t){e[Q]+=t;let r=e,o=e[hn];for(;null!==o&&(1===t&&1===r[Q]||-1===t&&0===r[Q]);)o[Q]+=t,r=o,o=o[hn]}const u={lFrame:ls(null),bindingsEnabled:!0};function Re(){return u.bindingsEnabled}function Ze(){return u.lFrame.lView}function Ut(){return u.lFrame.tView}function to(e){return u.lFrame.contextLView=e,e[Te]}function fo(e){return u.lFrame.contextLView=null,e}function jt(){let e=jr();for(;null!==e&&64===e.type;)e=e.parent;return e}function jr(){return u.lFrame.currentTNode}function Wr(e,t){const r=u.lFrame;r.currentTNode=e,r.isParent=t}function Ko(){return u.lFrame.isParent}function Gi(){u.lFrame.isParent=!1}function kn(){const e=u.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function wo(){return u.lFrame.bindingIndex++}function Kr(e){const t=u.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function Ls(e,t){const r=u.lFrame;r.bindingIndex=r.bindingRootIndex=e,Jo(t)}function Jo(e){u.lFrame.currentDirectiveIndex=e}function Ei(){return u.lFrame.currentQueryIndex}function li(e){u.lFrame.currentQueryIndex=e}function as(e){const t=e[Mt];return 2===t.type?t.declTNode:1===t.type?e[Me]:null}function ci(e,t,r){if(r&Tt.SkipSelf){let i=t,a=e;for(;!(i=i.parent,null!==i||r&Tt.Host||(i=as(a),null===i||(a=a[we],10&i.type))););if(null===i)return!1;t=i,e=a}const o=u.lFrame=Ni();return o.currentTNode=t,o.lView=e,!0}function Li(e){const t=Ni(),r=e[Mt];u.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function Ni(){const e=u.lFrame,t=null===e?null:e.child;return null===t?ls(e):t}function ls(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Ki(){const e=u.lFrame;return u.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const cs=Ki;function qi(){const e=Ki();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Nr(){return u.lFrame.selectedIndex}function Vo(e){u.lFrame.selectedIndex=e}function nr(){const e=u.lFrame;return Co(e.tView,e.selectedIndex)}function us(){u.lFrame.currentNamespace=Uo}function ds(){!function fs(){u.lFrame.currentNamespace=null}()}function Bi(e,t){for(let r=t.directiveStart,o=t.directiveEnd;r=o)break}else t[w]<0&&(e[Qe]+=65536),(C>11>16&&(3&e[Nt])===t){e[Nt]+=2048,Er(4,C,a);try{a.call(C)}finally{Er(5,C,a)}}}else{Er(4,C,a);try{a.call(C)}finally{Er(5,C,a)}}}const W=-1;class Ee{constructor(t,r,o){this.factory=t,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=o}}function Rn(e,t,r){let o=0;for(;ot){p=a-1;break}}}for(;a>16}(e),o=t;for(;r>0;)o=o[we],r--;return o}let hs=!0;function ui(e){const t=hs;return hs=e,t}const Us=255,Ji=5;let ya=0;const No={};function Xi(e,t){const r=Vs(e,t);if(-1!==r)return r;const o=t[Mt];o.firstCreatePass&&(e.injectorIndex=t.length,kr(o.data,e),kr(t,null),kr(o.blueprint,null));const i=Mi(e,t),a=e.injectorIndex;if(Jr(i)){const p=no(i),C=Mo(i,t),w=C[Mt].data;for(let k=0;k<8;k++)t[a+k]=C[p+k]|w[p+k]}return t[a+8]=i,a}function kr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Vs(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Mi(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let r=0,o=null,i=t;for(;null!==i;){if(o=Da(i),null===o)return W;if(r++,i=i[we],-1!==o.injectorIndex)return o.injectorIndex|r<<16}return W}function ps(e,t,r){!function _a(e,t,r){let o;"string"==typeof r?o=r.charCodeAt(0)||0:r.hasOwnProperty(vt)&&(o=r[vt]),null==o&&(o=r[vt]=ya++);const i=o&Us;t.data[e+(i>>Ji)]|=1<=0?t&Us:Xo:t}(r);if("function"==typeof a){if(!ci(t,e,o))return o&Tt.Host?gs(i,0,o):Hs(t,r,o,i);try{const p=a(o);if(null!=p||o&Tt.Optional)return p;$e()}finally{cs()}}else if("number"==typeof a){let p=null,C=Vs(e,t),w=W,k=o&Tt.Host?t[Ce][Me]:null;for((-1===C||o&Tt.SkipSelf)&&(w=-1===C?Mi(e,t):t[C+8],w!==W&&zs(o,!1)?(p=t[Mt],C=no(w),t=Mo(w,t)):C=-1);-1!==C;){const q=t[Mt];if(jo(a,C,q.data)){const ve=ms(C,t,r,p,o,k);if(ve!==No)return ve}w=t[C+8],w!==W&&zs(o,t[Mt].data[C+8]===k)&&jo(a,C,t)?(p=q,C=no(w),t=Mo(w,t)):C=-1}}return i}function ms(e,t,r,o,i,a){const p=t[Mt],C=p.data[e+8],q=Ui(C,p,r,null==o?Qr(C)&&hs:o!=p&&0!=(3&C.type),i&Tt.Host&&a===C);return null!==q?wr(t,p,q,C):No}function Ui(e,t,r,o,i){const a=e.providerIndexes,p=t.data,C=1048575&a,w=e.directiveStart,q=a>>20,ke=i?C+q:e.directiveEnd;for(let qe=o?C:C+q;qe=w&&dt.type===r)return qe}if(i){const qe=p[w];if(qe&&zn(qe)&&qe.type===r)return w}return null}function wr(e,t,r,o){let i=e[r];const a=t.data;if(function nt(e){return e instanceof Ee}(i)){const p=i;p.resolving&&function De(e,t){const r=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new K(-200,`Circular dependency in DI detected for ${e}${r}`)}(function Le(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():_e(e)}(a[r]));const C=ui(p.canSeeViewProviders);p.resolving=!0;const w=p.injectImpl?sn(p.injectImpl):null;ci(e,o,Tt.Default);try{i=e[r]=p.factory(void 0,a,e,o),t.firstCreatePass&&r>=o.directiveStart&&function $s(e,t,r){const{ngOnChanges:o,ngOnInit:i,ngDoCheck:a}=t.type.prototype;if(o){const p=ao(t);(r.preOrderHooks??(r.preOrderHooks=[])).push(e,p),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,p)}i&&(r.preOrderHooks??(r.preOrderHooks=[])).push(0-e,i),a&&((r.preOrderHooks??(r.preOrderHooks=[])).push(e,a),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,a))}(r,a[r],t)}finally{null!==w&&sn(w),ui(C),p.resolving=!1,cs()}}return i}function jo(e,t,r){return!!(r[t+(e>>Ji)]&1<{const t=e.prototype.constructor,r=t[ot]||es(t),o=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==o;){const a=i[ot]||es(i);if(a&&a!==r)return a;i=Object.getPrototypeOf(i)}return a=>new a})}function es(e){return ce(e)?()=>{const t=es(ee(e));return t&&t()}:so(e)}function Da(e){const t=e[Mt],r=t.type;return 2===r?t.declTNode:1===r?e[Me]:null}function ts(e){return function ba(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const r=e.attrs;if(r){const o=r.length;let i=0;for(;i{const o=function ys(e){return function(...r){if(e){const o=e(...r);for(const i in o)this[i]=o[i]}}}(t);function i(...a){if(this instanceof i)return o.apply(this,a),this;const p=new i(...a);return C.annotation=p,C;function C(w,k,q){const ve=w.hasOwnProperty(Qo)?w[Qo]:Object.defineProperty(w,Qo,{value:[]})[Qo];for(;ve.length<=q;)ve.push(null);return(ve[q]=ve[q]||[]).push(p),w}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class Qn{constructor(t,r){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof r?this.__NG_ELEMENT_ID__=r:void 0!==r&&(this.\u0275prov=Je({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function v(e,t){e.forEach(r=>Array.isArray(r)?v(r,t):t(r))}function _(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function f(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function E(e,t){const r=[];for(let o=0;o=0?e[1|o]=r:(o=~o,function re(e,t,r,o){let i=e.length;if(i==t)e.push(r,o);else if(1===i)e.push(o,e[0]),e[0]=r;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=r,e[t+1]=o}}(e,o,t,r)),o}function At(e,t){const r=xt(e,t);if(r>=0)return e[1|r]}function xt(e,t){return function Ir(e,t,r){let o=0,i=e.length>>r;for(;i!==o;){const a=o+(i-o>>1),p=e[a<t?i=a:o=a+1}return~(i<({token:e})),-1),Ds=Hn(hi("Optional"),8),Ti=Hn(hi("SkipSelf"),4);var ti=(()=>((ti=ti||{})[ti.Important=1]="Important",ti[ti.DashCase=2]="DashCase",ti))();const Ia=new Map;let Ic=0;const Aa="__ngContext__";function Xr(e,t){Cn(t)?(e[Aa]=t[ye],function Tc(e){Ia.set(e[ye],e)}(t)):e[Aa]=t}let Et;function Bt(e,t){return Et(e,t)}function Dt(e){const t=e[hn];return qn(t)?t[hn]:t}function Wt(e){return Gn(e[H])}function Jt(e){return Gn(e[Vn])}function Gn(e){for(;null!==e&&!qn(e);)e=e[Vn];return e}function ro(e,t,r,o,i){if(null!=o){let a,p=!1;qn(o)?a=o:Cn(o)&&(p=!0,o=o[Zn]);const C=ir(o);0===e&&null!==r?null==i?Nd(t,r,C):Is(t,r,C,i||null,!0):1===e&&null!==r?Is(t,r,C,i||null,!0):2===e?function Nc(e,t,r){const o=Dl(e,t);o&&function wm(e,t,r,o){e.removeChild(t,r,o)}(e,o,t,r)}(t,C,p):3===e&&t.destroyNode(C),null!=a&&function Sm(e,t,r,o,i){const a=r[Pn];a!==ir(r)&&ro(t,e,o,a,i);for(let C=An;C0&&(e[r-1][Vn]=o[Vn]);const a=f(e,An+t);!function mm(e,t){Oa(e,t,t[A],2,null,null),t[Zn]=null,t[Me]=null}(o[Mt],o);const p=a[Ke];null!==p&&p.detachView(a[Mt]),o[hn]=null,o[Vn]=null,o[Nt]&=-65}return o}function Rd(e,t){if(!(128&t[Nt])){const r=t[A];r.destroyNode&&Oa(e,t,r,3,null,null),function _m(e){let t=e[H];if(!t)return Rc(e[Mt],e);for(;t;){let r=null;if(Cn(t))r=t[H];else{const o=t[An];o&&(r=o)}if(!r){for(;t&&!t[Vn]&&t!==e;)Cn(t)&&Rc(t[Mt],t),t=t[hn];null===t&&(t=e),Cn(t)&&Rc(t[Mt],t),r=t&&t[Vn]}t=r}}(t)}}function Rc(e,t){if(!(128&t[Nt])){t[Nt]&=-65,t[Nt]|=128,function Em(e,t){let r;if(null!=e&&null!=(r=e.destroyHooks))for(let o=0;o=0?o[i=p]():o[i=-p].unsubscribe(),a+=2}else{const p=o[i=r[a+1]];r[a].call(p)}if(null!==o){for(let a=i+1;a-1){const{encapsulation:a}=e.data[o.directiveStart+i];if(a===_n.None||a===_n.Emulated)return null}return vr(o,r)}}(e,t.parent,r)}function Is(e,t,r,o,i){e.insertBefore(t,r,o,i)}function Nd(e,t,r){e.appendChild(t,r)}function kd(e,t,r,o,i){null!==o?Is(e,t,r,o,i):Nd(e,t,r)}function Dl(e,t){return e.parentNode(t)}function Bd(e,t,r){return Ud(e,t,r)}let Fc,$c,Il,Ud=function $d(e,t,r){return 40&e.type?vr(e,r):null};function El(e,t,r,o){const i=Fd(e,o,t),a=t[A],C=Bd(o.parent||t[Me],o,t);if(null!=i)if(Array.isArray(r))for(let w=0;we,createScript:e=>e,createScriptURL:e=>e})}catch{}return Il}()?.createScriptURL(e)||e}class qd{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ie})`}}function os(e){return e instanceof qd?e.changingThisBreaksApplicationSecurity:e}function Pa(e,t){const r=function $m(e){return e instanceof qd&&e.getTypeName()||null}(e);if(null!=r&&r!==t){if("ResourceURL"===r&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${ie})`)}return r===t}const jm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Ur=(()=>((Ur=Ur||{})[Ur.NONE=0]="NONE",Ur[Ur.HTML=1]="HTML",Ur[Ur.STYLE=2]="STYLE",Ur[Ur.SCRIPT=3]="SCRIPT",Ur[Ur.URL=4]="URL",Ur[Ur.RESOURCE_URL=5]="RESOURCE_URL",Ur))();function rf(e){const t=Fa();return t?t.sanitize(Ur.URL,e)||"":Pa(e,"URL")?os(e):function Vc(e){return(e=String(e)).match(jm)?e:"unsafe:"+e}(_e(e))}function sf(e){const t=Fa();if(t)return Kd(t.sanitize(Ur.RESOURCE_URL,e)||"");if(Pa(e,"ResourceURL"))return Kd(os(e));throw new K(904,!1)}function af(e,t,r){return function tv(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?sf:rf}(t,r)(e)}function Fa(){const e=Ze();return e&&e[T]}const Yc=new Qn("ENVIRONMENT_INITIALIZER"),lf=new Qn("INJECTOR",-1),cf=new Qn("INJECTOR_DEF_TYPES");class uf{get(t,r=Ln){if(r===Ln){const o=new Error(`NullInjectorError: No provider for ${V(t)}!`);throw o.name="NullInjectorError",o}return r}}function nv(e){return{\u0275providers:e}}function rv(...e){return{\u0275providers:df(0,e),\u0275fromNgModule:!0}}function df(e,...t){const r=[],o=new Set;let i;return v(t,a=>{const p=a;Gc(p,r,[],o)&&(i||(i=[]),i.push(p))}),void 0!==i&&ff(i,r),r}function ff(e,t){for(let r=0;r{t.push(a)})}}function Gc(e,t,r,o){if(!(e=ee(e)))return!1;let i=null,a=Ot(e);const p=!a&&Yt(e);if(a||p){if(p&&!p.standalone)return!1;i=e}else{const w=e.ngModule;if(a=Ot(w),!a)return!1;i=w}const C=o.has(i);if(p){if(C)return!1;if(o.add(i),p.dependencies){const w="function"==typeof p.dependencies?p.dependencies():p.dependencies;for(const k of w)Gc(k,t,r,o)}}else{if(!a)return!1;{if(null!=a.imports&&!C){let k;o.add(i);try{v(a.imports,q=>{Gc(q,t,r,o)&&(k||(k=[]),k.push(q))})}finally{}void 0!==k&&ff(k,t)}if(!C){const k=so(i)||(()=>new i);t.push({provide:i,useFactory:k,deps:en},{provide:cf,useValue:i,multi:!0},{provide:Yc,useValue:()=>tn(i),multi:!0})}const w=a.providers;null==w||C||Wc(w,q=>{t.push(q)})}}return i!==e&&void 0!==e.providers}function Wc(e,t){for(let r of e)X(r)&&(r=r.\u0275providers),Array.isArray(r)?Wc(r,t):t(r)}const ov=O({provide:String,useValue:O});function Zc(e){return null!==e&&"object"==typeof e&&ov in e}function Ss(e){return"function"==typeof e}const Kc=new Qn("Set Injector scope."),Tl={},sv={};let qc;function Al(){return void 0===qc&&(qc=new uf),qc}class Ts{}class gf extends Ts{get destroyed(){return this._destroyed}constructor(t,r,o,i){super(),this.parent=r,this.source=o,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Xc(t,p=>this.processProvider(p)),this.records.set(lf,Js(void 0,this)),i.has("environment")&&this.records.set(Ts,Js(void 0,this));const a=this.records.get(Kc);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(cf.multi,en,Tt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const r=Ht(this),o=sn(void 0);try{return t()}finally{Ht(r),sn(o)}}get(t,r=Ln,o=Tt.Default){this.assertNotDestroyed(),o=ur(o);const i=Ht(this),a=sn(void 0);try{if(!(o&Tt.SkipSelf)){let C=this.records.get(t);if(void 0===C){const w=function dv(e){return"function"==typeof e||"object"==typeof e&&e instanceof Qn}(t)&&Ye(t);C=w&&this.injectableDefInScope(w)?Js(Jc(t),Tl):null,this.records.set(t,C)}if(null!=C)return this.hydrate(t,C)}return(o&Tt.Self?Al():this.parent).get(t,r=o&Tt.Optional&&r===Ln?null:r)}catch(p){if("NullInjectorError"===p.name){if((p[Zt]=p[Zt]||[]).unshift(V(t)),i)throw p;return function Tn(e,t,r,o){const i=e[Zt];throw t[En]&&i.unshift(t[En]),e.message=function dr(e,t,r,o=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==yr?e.slice(2):e;let i=V(t);if(Array.isArray(t))i=t.map(V).join(" -> ");else if("object"==typeof t){let a=[];for(let p in t)if(t.hasOwnProperty(p)){let C=t[p];a.push(p+":"+("string"==typeof C?JSON.stringify(C):V(C)))}i=`{${a.join(", ")}}`}return`${r}${o?"("+o+")":""}[${i}]: ${e.replace(xn,"\n ")}`}("\n"+e.message,i,r,o),e[lr]=i,e[Zt]=null,e}(p,t,"R3InjectorError",this.source)}throw p}finally{sn(a),Ht(i)}}resolveInjectorInitializers(){const t=Ht(this),r=sn(void 0);try{const o=this.get(Yc.multi,en,Tt.Self);for(const i of o)i()}finally{Ht(t),sn(r)}}toString(){const t=[],r=this.records;for(const o of r.keys())t.push(V(o));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new K(205,!1)}processProvider(t){let r=Ss(t=ee(t))?t:ee(t&&t.provide);const o=function lv(e){return Zc(e)?Js(void 0,e.useValue):Js(mf(e),Tl)}(t);if(Ss(t)||!0!==t.multi)this.records.get(r);else{let i=this.records.get(r);i||(i=Js(void 0,Tl,!0),i.factory=()=>Sr(i.multi),this.records.set(r,i)),r=t,i.multi.push(t)}this.records.set(r,o)}hydrate(t,r){return r.value===Tl&&(r.value=sv,r.value=r.factory()),"object"==typeof r.value&&r.value&&function uv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(t){if(!t.providedIn)return!1;const r=ee(t.providedIn);return"string"==typeof r?"any"===r||this.scopes.has(r):this.injectorDefTypes.has(r)}}function Jc(e){const t=Ye(e),r=null!==t?t.factory:so(e);if(null!==r)return r;if(e instanceof Qn)throw new K(204,!1);if(e instanceof Function)return function av(e){const t=e.length;if(t>0)throw E(t,"?"),new K(204,!1);const r=function ht(e){return e&&(e[It]||e[Kt])||null}(e);return null!==r?()=>r.factory(e):()=>new e}(e);throw new K(204,!1)}function mf(e,t,r){let o;if(Ss(e)){const i=ee(e);return so(i)||Jc(i)}if(Zc(e))o=()=>ee(e.useValue);else if(function pf(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...Sr(e.deps||[]));else if(function hf(e){return!(!e||!e.useExisting)}(e))o=()=>tn(ee(e.useExisting));else{const i=ee(e&&(e.useClass||e.provide));if(!function cv(e){return!!e.deps}(e))return so(i)||Jc(i);o=()=>new i(...Sr(e.deps))}return o}function Js(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function Xc(e,t){for(const r of e)Array.isArray(r)?Xc(r,t):r&&X(r)?Xc(r.\u0275providers,t):t(r)}class fv{}class vf{}class pv{resolveComponentFactory(t){throw function hv(e){const t=Error(`No component factory found for ${V(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let La=(()=>{class e{}return e.NULL=new pv,e})();function gv(){return Xs(jt(),Ze())}function Xs(e,t){return new Na(vr(e,t))}let Na=(()=>{class e{constructor(r){this.nativeElement=r}}return e.__NG_ELEMENT_ID__=gv,e})();function mv(e){return e instanceof Na?e.nativeElement:e}class _f{}let vv=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function yv(){const e=Ze(),r=sr(jt().index,e);return(Cn(r)?r:e)[A]}(),e})(),_v=(()=>{class e{}return e.\u0275prov=Je({token:e,providedIn:"root",factory:()=>null}),e})();class bf{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const bv=new bf("15.2.9"),Qc={},eu="ngOriginalError";function tu(e){return e[eu]}class ka{constructor(){this._console=console}handleError(t){const r=this._findOriginalError(t);this._console.error("ERROR",t),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(t){let r=t&&tu(t);for(;r&&tu(r);)r=tu(r);return r||null}}function ji(e){return e instanceof Function?e():e}function Df(e,t,r){let o=e.length;for(;;){const i=e.indexOf(t,r);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const a=t.length;if(i+a===o||e.charCodeAt(i+a)<=32)return i}r=i+1}}const Ef="ng-template";function Ov(e,t,r){let o=0,i=!0;for(;oa?"":i[ve+1].toLowerCase();const qe=8&o?ke:null;if(qe&&-1!==Df(qe,k,0)||2&o&&k!==ke){if(mi(o))return!1;p=!0}}}}else{if(!p&&!mi(o)&&!mi(w))return!1;if(p&&mi(w))continue;p=!1,o=w|1&o}}return mi(o)||p}function mi(e){return 0==(1&e)}function Fv(e,t,r,o){if(null===t)return-1;let i=0;if(o||!r){let a=!1;for(;i-1)for(r++;r0?'="'+C+'"':"")+"]"}else 8&o?i+="."+p:4&o&&(i+=" "+p);else""!==i&&!mi(p)&&(t+=If(a,i),i=""),o=p,a=a||!mi(o);r++}return""!==i&&(t+=If(a,i)),t}const dn={};function Sf(e){Tf(Ut(),Ze(),Nr()+e,!1)}function Tf(e,t,r,o){if(!o)if(3==(3&t[Nt])){const a=e.preOrderCheckHooks;null!==a&&$i(t,a,r)}else{const a=e.preOrderHooks;null!==a&&wi(t,a,0,r)}Vo(r)}function Pf(e,t=null,r=null,o){const i=Rf(e,t,r,o);return i.resolveInjectorInitializers(),i}function Rf(e,t=null,r=null,o,i=new Set){const a=[r||en,rv(e)];return o=o||("object"==typeof e?void 0:V(e)),new gf(a,t||Al(),o||null,i)}let As=(()=>{class e{static create(r,o){if(Array.isArray(r))return Pf({name:""},o,r,"");{const i=r.name??"";return Pf({name:i},r.parent,r.providers,i)}}}return e.THROW_IF_NOT_FOUND=Ln,e.NULL=new uf,e.\u0275prov=Je({token:e,providedIn:"any",factory:()=>tn(lf)}),e.__NG_ELEMENT_ID__=-1,e})();function ta(e,t=Tt.Default){const r=Ze();return null===r?tn(e,t):Ca(jt(),r,ee(e),t)}function Uf(){throw new Error("invalid")}function Vf(e,t){const r=e.contentQueries;if(null!==r)for(let o=0;o_t&&Tf(e,t,_t,!1),Er(p?2:0,i),r(o,i)}finally{Vo(a),Er(p?3:1,i)}}function lu(e,t,r){if(go(t)){const i=t.directiveEnd;for(let a=t.directiveStart;a0;){const r=e[--t];if("number"==typeof r&&r<0)return r}return 0})(p)!=C&&p.push(C),p.push(r,o,a)}}(e,t,o,Ba(e,r,i.hostVars,dn),i)}function Ai(e,t,r,o,i,a){const p=vr(e,t);!function pu(e,t,r,o,i,a,p){if(null==a)e.removeAttribute(t,i,r);else{const C=null==p?_e(a):p(a,o||"",i);e.setAttribute(t,i,C,r)}}(t[A],p,a,e.value,r,o,i)}function Iy(e,t,r,o,i,a){const p=a[t];if(null!==p){const C=o.setInput;for(let w=0;w0&&gu(r)}}function gu(e){for(let o=Wt(e);null!==o;o=Jt(o))for(let i=An;i0&&gu(a)}const r=e[Mt].components;if(null!==r)for(let o=0;o0&&gu(i)}}function Oy(e,t){const r=sr(t,e),o=r[Mt];(function Py(e,t){for(let r=t.length;r-1&&(Pc(t,o),f(r,o))}this._attachedToViewContainer=!1}Rd(this._lView[Mt],this._lView)}onDestroy(t){zf(this._lView[Mt],this._lView,null,t)}markForCheck(){Fl(this._cdRefInjectingView||this._lView)}detach(){this._lView[Nt]&=-65}reattach(){this._lView[Nt]|=64}detectChanges(){Ll(this._lView[Mt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new K(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ym(e,t){Oa(e,t,t[A],2,null,null)}(this._lView[Mt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new K(902,!1);this._appRef=t}}class Ry extends $a{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ll(t[Mt],t,t[Te],!1)}checkNoChanges(){}get context(){return null}}class eh extends La{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const r=Yt(t);return new Ua(r,this.ngModule)}}function th(e){const t=[];for(let r in e)e.hasOwnProperty(r)&&t.push({propName:e[r],templateName:r});return t}class Ly{constructor(t,r){this.injector=t,this.parentInjector=r}get(t,r,o){o=ur(o);const i=this.injector.get(t,Qc,o);return i!==Qc||r===Qc?i:this.parentInjector.get(t,r,o)}}class Ua extends vf{get inputs(){return th(this.componentDef.inputs)}get outputs(){return th(this.componentDef.outputs)}constructor(t,r){super(),this.componentDef=t,this.ngModule=r,this.componentType=t.type,this.selector=function Uv(e){return e.map($v).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!r}create(t,r,o,i){let a=(i=i||this.ngModule)instanceof Ts?i:i?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const p=a?new Ly(t,a):t,C=p.get(_f,null);if(null===C)throw new K(407,!1);const w=p.get(_v,null),k=C.createRenderer(null,this.componentDef),q=this.componentDef.selectors[0][0]||"div",ve=o?function uy(e,t,r){return e.selectRootElement(t,r===_n.ShadowDom)}(k,o,this.componentDef.encapsulation):Oc(k,q,function Fy(e){const t=e.toLowerCase();return"svg"===t?Uo:"math"===t?"math":null}(q)),ke=this.componentDef.onPush?288:272,qe=du(0,null,null,1,0,null,null,null,null,null),dt=Ol(null,qe,null,ke,null,null,C,k,w,p,null);let wt,Rt;Li(dt);try{const $t=this.componentDef;let Xt,mt=null;$t.findHostDirectiveDefs?(Xt=[],mt=new Map,$t.findHostDirectiveDefs($t,Xt,mt),Xt.push($t)):Xt=[$t];const an=function ky(e,t){const r=e[Mt],o=_t;return e[o]=t,na(r,o,2,"#host",null)}(dt,ve),br=function By(e,t,r,o,i,a,p,C){const w=i[Mt];!function $y(e,t,r,o){for(const i of e)t.mergedAttrs=$r(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(Nl(t,t.mergedAttrs,!0),null!==r&&Yd(o,r,t))}(o,e,t,p);const k=a.createRenderer(t,r),q=Ol(i,jf(r),null,r.onPush?32:16,i[e.index],e,a,k,C||null,null,null);return w.firstCreatePass&&hu(w,e,o.length-1),Rl(i,q),i[e.index]=q}(an,ve,$t,Xt,dt,C,k);Rt=Co(qe,_t),ve&&function Vy(e,t,r,o){if(o)Rn(e,r,["ng-version",bv.full]);else{const{attrs:i,classes:a}=function Vv(e){const t=[],r=[];let o=1,i=2;for(;o0&&zd(e,r,a.join(" "))}}(k,$t,ve,o),void 0!==r&&function Hy(e,t,r){const o=e.projection=[];for(let i=0;i=0;o--){const i=e[o];i.hostVars=t+=i.hostVars,i.hostAttrs=$r(i.hostAttrs,r=$r(r,i.hostAttrs))}}(o)}function _u(e){return e===$n?{}:e===en?[]:e}function Yy(e,t){const r=e.viewQuery;e.viewQuery=r?(o,i)=>{t(o,i),r(o,i)}:t}function Gy(e,t){const r=e.contentQueries;e.contentQueries=r?(o,i,a)=>{t(o,i,a),r(o,i,a)}:t}function Wy(e,t){const r=e.hostBindings;e.hostBindings=r?(o,i)=>{t(o,i),r(o,i)}:t}function Bl(e){return!!bu(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function bu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function xi(e,t,r){return e[t]=r}function po(e,t,r){return!Object.is(e[t],r)&&(e[t]=r,!0)}function xs(e,t,r,o){const i=po(e,t,r);return po(e,t+1,o)||i}function Cu(e,t,r,o){const i=Ze();return po(i,wo(),t)&&(Ut(),Ai(nr(),i,e,t,r,o)),Cu}function oa(e,t,r,o){return po(e,wo(),r)?t+_e(r)+o:dn}function ia(e,t,r,o,i,a){const C=xs(e,function Zr(){return u.lFrame.bindingIndex}(),r,i);return Kr(2),C?t+_e(r)+o+_e(i)+a:dn}function Du(e,t,r,o,i,a,p,C){const w=Ze(),k=ia(w,t,r,o,i,a);return k!==dn&&Ai(nr(),w,e,k,p,C),Du}function ph(e,t,r,o,i,a,p,C){const w=Ze(),k=Ut(),q=e+_t,ve=k.firstCreatePass?function r_(e,t,r,o,i,a,p,C,w){const k=t.consts,q=na(t,e,4,p||null,Eo(k,C));fu(t,r,q,Eo(k,w)),Bi(t,q);const ve=q.tView=du(2,q,o,i,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,k);return null!==t.queries&&(t.queries.template(t,q),ve.queries=t.queries.embeddedTView(q)),q}(q,k,w,t,r,o,i,a,p):k.data[q];Wr(ve,!1);const ke=w[A].createComment("");El(k,w,ke,ve),Xr(ke,w),Rl(w,w[q]=Kf(ke,w,ke,ve)),Nn(ve)&&cu(k,w,ve),null!=p&&uu(w,ve,C)}function gh(e){return Do(function Fs(){return u.lFrame.contextLView}(),_t+e)}function Eu(e,t,r){const o=Ze();return po(o,wo(),t)&&Yo(Ut(),nr(),o,e,t,o[A],r,!1),Eu}function wu(e,t,r,o,i){const p=i?"class":"style";vu(e,r,t.inputs[p],p,o)}function Ul(e,t,r,o){const i=Ze(),a=Ut(),p=_t+e,C=i[A],w=a.firstCreatePass?function i_(e,t,r,o,i,a){const p=t.consts,w=na(t,e,2,o,Eo(p,i));return fu(t,r,w,Eo(p,a)),null!==w.attrs&&Nl(w,w.attrs,!1),null!==w.mergedAttrs&&Nl(w,w.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,w),w}(p,a,i,t,r,o):a.data[p],k=i[p]=Oc(C,t,function Bs(){return u.lFrame.currentNamespace}()),q=Nn(w);return Wr(w,!0),Yd(C,k,w),32!=(32&w.flags)&&El(a,i,k,w),0===function l(){return u.lFrame.elementDepthCount}()&&Xr(k,i),function d(){u.lFrame.elementDepthCount++}(),q&&(cu(a,i,w),lu(a,w,i)),null!==o&&uu(i,w),Ul}function Vl(){let e=jt();Ko()?Gi():(e=e.parent,Wr(e,!1));const t=e;!function F(){u.lFrame.elementDepthCount--}();const r=Ut();return r.firstCreatePass&&(Bi(r,e),go(e)&&r.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Sn(e){return 0!=(8&e.flags)}(t)&&wu(r,t,Ze(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function pn(e){return 0!=(16&e.flags)}(t)&&wu(r,t,Ze(),t.stylesWithoutHost,!1),Vl}function Mu(e,t,r,o){return Ul(e,t,r,o),Vl(),Mu}function Hl(e,t,r){const o=Ze(),i=Ut(),a=e+_t,p=i.firstCreatePass?function s_(e,t,r,o,i){const a=t.consts,p=Eo(a,o),C=na(t,e,8,"ng-container",p);return null!==p&&Nl(C,p,!0),fu(t,r,C,Eo(a,i)),null!==t.queries&&t.queries.elementStart(t,C),C}(a,i,o,t,r):i.data[a];Wr(p,!0);const C=o[a]=o[A].createComment("");return El(i,o,C,p),Xr(C,o),Nn(p)&&(cu(i,o,p),lu(i,p,o)),null!=r&&uu(o,p),Hl}function jl(){let e=jt();const t=Ut();return Ko()?Gi():(e=e.parent,Wr(e,!1)),t.firstCreatePass&&(Bi(t,e),go(e)&&t.queries.elementEnd(e)),jl}function Iu(e,t,r){return Hl(e,t,r),jl(),Iu}function mh(){return Ze()}function Su(e){return!!e&&"function"==typeof e.then}function vh(e){return!!e&&"function"==typeof e.subscribe}const yh=vh;function Tu(e,t,r,o){const i=Ze(),a=Ut(),p=jt();return function bh(e,t,r,o,i,a,p){const C=Nn(o),k=e.firstCreatePass&&Jf(e),q=t[Te],ve=qf(t);let ke=!0;if(3&o.type||p){const wt=vr(o,t),Rt=p?p(wt):wt,$t=ve.length,Xt=p?an=>p(ir(an[o.index])):o.index;let mt=null;if(!p&&C&&(mt=function a_(e,t,r,o){const i=e.cleanup;if(null!=i)for(let a=0;aw?C[w]:null}"string"==typeof p&&(a+=2)}return null}(e,t,i,o.index)),null!==mt)(mt.__ngLastListenerFn__||mt).__ngNextListenerFn__=a,mt.__ngLastListenerFn__=a,ke=!1;else{a=Dh(o,t,q,a,!1);const an=r.listen(Rt,i,a);ve.push(a,an),k&&k.push(i,Xt,$t,$t+1)}}else a=Dh(o,t,q,a,!1);const qe=o.outputs;let dt;if(ke&&null!==qe&&(dt=qe[i])){const wt=dt.length;if(wt)for(let Rt=0;Rt-1?sr(e.index,t):t);let w=Ch(t,r,o,p),k=a.__ngNextListenerFn__;for(;k;)w=Ch(t,r,k,p)&&w,k=k.__ngNextListenerFn__;return i&&!1===w&&(p.preventDefault(),p.returnValue=!1),w}}function Eh(e=1){return function ki(e){return(u.lFrame.contextLView=function Ns(e,t){for(;e>0;)t=t[we],e--;return t}(e,u.lFrame.contextLView))[Te]}(e)}function l_(e,t){let r=null;const o=function Lv(e){const t=e.attrs;if(null!=t){const r=t.indexOf(5);if(!(1&r))return t[r+1]}return null}(e);for(let i=0;i>17&32767}function Ou(e){return 2|e}function Os(e){return(131068&e)>>2}function Pu(e,t){return-131069&e|t<<2}function Ru(e){return 1|e}function Fh(e,t,r,o,i){const a=e[r+1],p=null===t;let C=o?is(a):Os(a),w=!1;for(;0!==C&&(!1===w||p);){const q=e[C+1];p_(e[C],t)&&(w=!0,e[C+1]=o?Ru(q):Ou(q)),C=o?is(q):Os(q)}w&&(e[r+1]=o?Ou(a):Ru(a))}function p_(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&xt(e,t)>=0}function Fu(e,t,r){return vi(e,t,r,!1),Fu}function Lu(e,t){return vi(e,t,null,!0),Lu}function vi(e,t,r,o){const i=Ze(),a=Ut(),p=Kr(2);a.firstUpdatePass&&function Hh(e,t,r,o){const i=e.data;if(null===i[r+1]){const a=i[Nr()],p=function Vh(e,t){return t>=e.expandoStartIndex}(e,r);(function Gh(e,t){return 0!=(e.flags&(t?8:16))})(a,o)&&null===t&&!p&&(t=!1),t=function E_(e,t,r,o){const i=function ai(e){const t=u.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=o?t.residualClasses:t.residualStyles;if(null===i)0===(o?t.classBindings:t.styleBindings)&&(r=Ha(r=Nu(null,e,t,r,o),t.attrs,o),a=null);else{const p=t.directiveStylingLast;if(-1===p||e[p]!==i)if(r=Nu(i,e,t,r,o),null===a){let w=function w_(e,t,r){const o=r?t.classBindings:t.styleBindings;if(0!==Os(o))return e[is(o)]}(e,t,o);void 0!==w&&Array.isArray(w)&&(w=Nu(null,e,t,w[1],o),w=Ha(w,t.attrs,o),function M_(e,t,r,o){e[is(r?t.classBindings:t.styleBindings)]=o}(e,t,o,w))}else a=function I_(e,t,r){let o;const i=t.directiveEnd;for(let a=1+t.directiveStylingLast;a0)&&(k=!0)):q=r,i)if(0!==w){const ke=is(e[C+1]);e[o+1]=zl(ke,C),0!==ke&&(e[ke+1]=Pu(e[ke+1],o)),e[C+1]=function u_(e,t){return 131071&e|t<<17}(e[C+1],o)}else e[o+1]=zl(C,0),0!==C&&(e[C+1]=Pu(e[C+1],o)),C=o;else e[o+1]=zl(w,0),0===C?C=o:e[w+1]=Pu(e[w+1],o),w=o;k&&(e[o+1]=Ou(e[o+1])),Fh(e,q,o,!0),Fh(e,q,o,!1),function h_(e,t,r,o,i){const a=i?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&xt(a,t)>=0&&(r[o+1]=Ru(r[o+1]))}(t,q,e,o,a),p=zl(C,w),a?t.classBindings=p:t.styleBindings=p}(i,a,t,r,p,o)}}(a,e,p,o),t!==dn&&po(i,p,t)&&function zh(e,t,r,o,i,a,p,C){if(!(3&t.type))return;const w=e.data,k=w[C+1],q=function d_(e){return 1==(1&e)}(k)?Yh(w,t,r,i,Os(k),p):void 0;Yl(q)||(Yl(a)||function c_(e){return 2==(2&e)}(k)&&(a=Yh(w,null,r,i,C,p)),function Tm(e,t,r,o,i){if(t)i?e.addClass(r,o):e.removeClass(r,o);else{let a=-1===o.indexOf("-")?void 0:ti.DashCase;null==i?e.removeStyle(r,o,a):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),a|=ti.Important),e.setStyle(r,o,i,a))}}(o,p,Ro(Nr(),r),i,a))}(a,a.data[Nr()],i,i[A],e,i[p+1]=function x_(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=V(os(e)))),e}(t,r),o,p)}function Nu(e,t,r,o,i){let a=null;const p=r.directiveEnd;let C=r.directiveStylingLast;for(-1===C?C=r.directiveStart:C++;C0;){const w=e[i],k=Array.isArray(w),q=k?w[1]:w,ve=null===q;let ke=r[i+1];ke===dn&&(ke=ve?en:void 0);let qe=ve?At(ke,o):q===o?ke:void 0;if(k&&!Yl(qe)&&(qe=At(w,o)),Yl(qe)&&(C=qe,p))return C;const dt=e[i+1];i=p?is(dt):Os(dt)}if(null!==t){let w=a?t.residualClasses:t.residualStyles;null!=w&&(C=At(w,o))}return C}function Yl(e){return void 0!==e}function Wh(e,t=""){const r=Ze(),o=Ut(),i=e+_t,a=o.firstCreatePass?na(o,i,1,t,null):o.data[i],p=r[i]=function xa(e,t){return e.createText(t)}(r[A],t);El(o,r,p,a),Wr(a,!1)}function ku(e){return Gl("",e,""),ku}function Gl(e,t,r){const o=Ze(),i=oa(o,e,t,r);return i!==dn&&zi(o,Nr(),i),Gl}function Bu(e,t,r,o,i){const a=Ze(),p=ia(a,e,t,r,o,i);return p!==dn&&zi(a,Nr(),p),Bu}const Ps=void 0;var q_=["en",[["a","p"],["AM","PM"],Ps],[["AM","PM"],Ps,Ps],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ps,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ps,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ps,"{1} 'at' {0}",Ps],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function K_(e){const r=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===r&&0===o?1:5}];let ha={};function $u(e){const t=function J_(e){return e.toLowerCase().replace(/_/g,"-")}(e);let r=hp(t);if(r)return r;const o=t.split("-")[0];if(r=hp(o),r)return r;if("en"===o)return q_;throw new K(701,!1)}function fp(e){return $u(e)[qt.PluralCase]}function hp(e){return e in ha||(ha[e]=vn.ng&&vn.ng.common&&vn.ng.common.locales&&vn.ng.common.locales[e]),ha[e]}var qt=(()=>((qt=qt||{})[qt.LocaleId=0]="LocaleId",qt[qt.DayPeriodsFormat=1]="DayPeriodsFormat",qt[qt.DayPeriodsStandalone=2]="DayPeriodsStandalone",qt[qt.DaysFormat=3]="DaysFormat",qt[qt.DaysStandalone=4]="DaysStandalone",qt[qt.MonthsFormat=5]="MonthsFormat",qt[qt.MonthsStandalone=6]="MonthsStandalone",qt[qt.Eras=7]="Eras",qt[qt.FirstDayOfWeek=8]="FirstDayOfWeek",qt[qt.WeekendRange=9]="WeekendRange",qt[qt.DateFormat=10]="DateFormat",qt[qt.TimeFormat=11]="TimeFormat",qt[qt.DateTimeFormat=12]="DateTimeFormat",qt[qt.NumberSymbols=13]="NumberSymbols",qt[qt.NumberFormats=14]="NumberFormats",qt[qt.CurrencyCode=15]="CurrencyCode",qt[qt.CurrencySymbol=16]="CurrencySymbol",qt[qt.CurrencyName=17]="CurrencyName",qt[qt.Currencies=18]="Currencies",qt[qt.Directionality=19]="Directionality",qt[qt.PluralCase=20]="PluralCase",qt[qt.ExtraData=21]="ExtraData",qt))();const pa="en-US";let pp=pa;function Hu(e,t,r,o,i){if(e=ee(e),Array.isArray(e))for(let a=0;a>20;if(Ss(e)||!e.multi){const qe=new Ee(w,i,ta),dt=zu(C,t,i?q:q+ke,ve);-1===dt?(ps(Xi(k,p),a,C),ju(a,e,t.length),t.push(C),k.directiveStart++,k.directiveEnd++,i&&(k.providerIndexes+=1048576),r.push(qe),p.push(qe)):(r[dt]=qe,p[dt]=qe)}else{const qe=zu(C,t,q+ke,ve),dt=zu(C,t,q,q+ke),Rt=dt>=0&&r[dt];if(i&&!Rt||!i&&!(qe>=0&&r[qe])){ps(Xi(k,p),a,C);const $t=function K0(e,t,r,o,i){const a=new Ee(e,r,ta);return a.multi=[],a.index=t,a.componentProviders=0,$p(a,i,o&&!r),a}(i?Z0:W0,r.length,i,o,w);!i&&Rt&&(r[dt].providerFactory=$t),ju(a,e,t.length,0),t.push(C),k.directiveStart++,k.directiveEnd++,i&&(k.providerIndexes+=1048576),r.push($t),p.push($t)}else ju(a,e,qe>-1?qe:dt,$p(r[i?dt:qe],w,!i&&o));!i&&o&&Rt&&r[dt].componentProviders++}}}function ju(e,t,r,o){const i=Ss(t),a=function iv(e){return!!e.useClass}(t);if(i||a){const w=(a?ee(t.useClass):t).prototype.ngOnDestroy;if(w){const k=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const q=k.indexOf(r);-1===q?k.push(r,[o,w]):k[q+1].push(o,w)}else k.push(r,w)}}}function $p(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function zu(e,t,r,o){for(let i=r;i{r.providersResolver=(o,i)=>function G0(e,t,r){const o=Ut();if(o.firstCreatePass){const i=zn(e);Hu(r,o.data,o.blueprint,i,!0),Hu(t,o.data,o.blueprint,i,!1)}}(o,i?i(e):e,t)}}class ga{}class Vp{}function q0(e,t){return new Hp(e,t??null)}class Hp extends ga{constructor(t,r){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new eh(this);const o=bn(t);this._bootstrapComponents=ji(o.bootstrap),this._r3Injector=Rf(t,r,[{provide:ga,useValue:this},{provide:La,useValue:this.componentFactoryResolver}],V(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Gu extends Vp{constructor(t){super(),this.moduleType=t}create(t){return new Hp(this.moduleType,t)}}class J0 extends ga{constructor(t,r,o){super(),this.componentFactoryResolver=new eh(this),this.instance=null;const i=new gf([...t,{provide:ga,useValue:this},{provide:La,useValue:this.componentFactoryResolver}],r||Al(),o,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Wu(e,t,r=null){return new J0(e,t,r).injector}let X0=(()=>{class e{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r.id)){const o=df(0,r.type),i=o.length>0?Wu([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r.id,i)}return this.cachedInjectors.get(r.id)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=Je({token:e,providedIn:"environment",factory:()=>new e(tn(Ts))}),e})();function jp(e){e.getStandaloneInjector=t=>t.get(X0).getOrCreateStandaloneInjector(e)}function qp(e,t,r){const o=kn()+e,i=Ze();return i[o]===dn?xi(i,o,r?t.call(r):t()):function Va(e,t){return e[t]}(i,o)}function Jp(e,t,r,o){return eg(Ze(),kn(),e,t,r,o)}function Xp(e,t,r,o,i){return tg(Ze(),kn(),e,t,r,o,i)}function Qp(e,t,r,o,i,a){return function ng(e,t,r,o,i,a,p,C){const w=t+r;return function $l(e,t,r,o,i){const a=xs(e,t,r,o);return po(e,t+2,i)||a}(e,w,i,a,p)?xi(e,w+3,C?o.call(C,i,a,p):o(i,a,p)):Za(e,w+3)}(Ze(),kn(),e,t,r,o,i,a)}function Za(e,t){const r=e[t];return r===dn?void 0:r}function eg(e,t,r,o,i,a){const p=t+r;return po(e,p,i)?xi(e,p+1,a?o.call(a,i):o(i)):Za(e,p+1)}function tg(e,t,r,o,i,a,p){const C=t+r;return xs(e,C,i,a)?xi(e,C+2,p?o.call(p,i,a):o(i,a)):Za(e,C+2)}function ig(e,t){const r=Ut();let o;const i=e+_t;r.firstCreatePass?(o=function hb(e,t){if(t)for(let r=t.length-1;r>=0;r--){const o=t[r];if(e===o.name)return o}}(t,r.pipeRegistry),r.data[i]=o,o.onDestroy&&(r.destroyHooks??(r.destroyHooks=[])).push(i,o.onDestroy)):o=r.data[i];const a=o.factory||(o.factory=so(o.type)),p=sn(ta);try{const C=ui(!1),w=a();return ui(C),function o_(e,t,r,o){r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=o}(r,Ze(),i,w),w}finally{sn(p)}}function sg(e,t,r){const o=e+_t,i=Ze(),a=Do(i,o);return Ka(i,o)?eg(i,kn(),t,a.transform,r,a):a.transform(r)}function ag(e,t,r,o){const i=e+_t,a=Ze(),p=Do(a,i);return Ka(a,i)?tg(a,kn(),t,p.transform,r,o,p):p.transform(r,o)}function Ka(e,t){return e[Mt].data[t].pure}function Ku(e){return t=>{setTimeout(e,void 0,t)}}const Ri=class vb extends c.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,r,o){let i=t,a=r||(()=>null),p=o;if(t&&"object"==typeof t){const w=t;i=w.next?.bind(w),a=w.error?.bind(w),p=w.complete?.bind(w)}this.__isAsync&&(a=Ku(a),i&&(i=Ku(i)),p&&(p=Ku(p)));const C=super.subscribe({next:i,error:a,complete:p});return t instanceof n.w0&&t.add(C),C}};function yb(){return this._results[Symbol.iterator]()}class qu{get changes(){return this._changes||(this._changes=new Ri)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const r=qu.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=yb)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,r){return this._results.reduce(t,r)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,r){const o=this;o.dirty=!1;const i=function Io(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function wa(e,t,r){if(e.length!==t.length)return!1;for(let o=0;o{class e{}return e.__NG_ELEMENT_ID__=Cb,e})();const _b=qa,bb=class extends _b{constructor(t,r,o){super(),this._declarationLView=t,this._declarationTContainer=r,this.elementRef=o}createEmbeddedView(t,r){const o=this._declarationTContainer.tView,i=Ol(this._declarationLView,o,t,16,null,o.declTNode,null,null,null,null,r||null);i[Ue]=this._declarationLView[this._declarationTContainer.index];const p=this._declarationLView[Ke];return null!==p&&(i[Ke]=p.createEmbeddedView(o)),au(o,i,t),new $a(i)}};function Cb(){return Jl(jt(),Ze())}function Jl(e,t){return 4&e.type?new bb(t,e,Xs(e,t)):null}let Xl=(()=>{class e{}return e.__NG_ELEMENT_ID__=Db,e})();function Db(){return ug(jt(),Ze())}const Eb=Xl,lg=class extends Eb{constructor(t,r,o){super(),this._lContainer=t,this._hostTNode=r,this._hostLView=o}get element(){return Xs(this._hostTNode,this._hostLView)}get injector(){return new di(this._hostTNode,this._hostLView)}get parentInjector(){const t=Mi(this._hostTNode,this._hostLView);if(Jr(t)){const r=Mo(t,this._hostLView),o=no(t);return new di(r[Mt].data[o+8],r)}return new di(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const r=cg(this._lContainer);return null!==r&&r[t]||null}get length(){return this._lContainer.length-An}createEmbeddedView(t,r,o){let i,a;"number"==typeof o?i=o:null!=o&&(i=o.index,a=o.injector);const p=t.createEmbeddedView(r||{},a);return this.insert(p,i),p}createComponent(t,r,o,i,a){const p=t&&!function Si(e){return"function"==typeof e}(t);let C;if(p)C=r;else{const ve=r||{};C=ve.index,o=ve.injector,i=ve.projectableNodes,a=ve.environmentInjector||ve.ngModuleRef}const w=p?t:new Ua(Yt(t)),k=o||this.parentInjector;if(!a&&null==w.ngModule){const ke=(p?k:this.parentInjector).get(Ts,null);ke&&(a=ke)}const q=w.create(k,i,void 0,a);return this.insert(q.hostView,C),q}insert(t,r){const o=t._lView,i=o[Mt];if(function Ci(e){return qn(e[hn])}(o)){const q=this.indexOf(t);if(-1!==q)this.detach(q);else{const ve=o[hn],ke=new lg(ve,ve[Me],ve[hn]);ke.detach(ke.indexOf(t))}}const a=this._adjustIndex(r),p=this._lContainer;!function bm(e,t,r,o){const i=An+o,a=r.length;o>0&&(r[i-1][Vn]=t),o0)o.push(p[C/2]);else{const k=a[C+1],q=t[-w];for(let ve=An;ve{class e{constructor(r){this.appInits=r,this.resolve=ec,this.reject=ec,this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,i)=>{this.resolve=o,this.reject=i})}runInitializers(){if(this.initialized)return;const r=[],o=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i{a.subscribe({complete:C,error:w})});r.push(p)}}Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),0===r.length&&o(),this.initialized=!0}}return e.\u0275fac=function(r){return new(r||e)(tn(Bg,8))},e.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const $g=new Qn("AppId",{providedIn:"root",factory:function Ug(){return`${ld()}${ld()}${ld()}`}});function ld(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Vg=new Qn("Platform Initializer"),Kb=new Qn("Platform ID",{providedIn:"platform",factory:()=>"unknown"});let qb=(()=>{class e{log(r){console.log(r)}warn(r){console.warn(r)}}return e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const nc=new Qn("LocaleId",{providedIn:"root",factory:()=>er(nc,Tt.Optional|Tt.SkipSelf)||function Jb(){return typeof $localize<"u"&&$localize.locale||pa}()}),Xb=new Qn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Qb{constructor(t,r){this.ngModuleFactory=t,this.componentFactories=r}}let eC=(()=>{class e{compileModuleSync(r){return new Gu(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const o=this.compileModuleSync(r),a=ji(bn(r).declarations).reduce((p,C)=>{const w=Yt(C);return w&&p.push(new Ua(w)),p},[]);return new Qb(o,a)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}}return e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const rC=(()=>Promise.resolve(0))();function cd(e){typeof Zone>"u"?rC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ri{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ri(!1),this.onMicrotaskEmpty=new Ri(!1),this.onStable=new Ri(!1),this.onError=new Ri(!1),typeof Zone>"u")throw new K(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!o&&r,i.shouldCoalesceRunChangeDetection=o,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function oC(){let e=vn.requestAnimationFrame,t=vn.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r);const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function aC(e){const t=()=>{!function sC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(vn,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,dd(e),e.isCheckStableRunning=!0,ud(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),dd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,o,i,a,p,C)=>{try{return zg(e),r.invokeTask(i,a,p,C)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),Yg(e)}},onInvoke:(r,o,i,a,p,C,w)=>{try{return zg(e),r.invoke(i,a,p,C,w)}finally{e.shouldCoalesceRunChangeDetection&&t(),Yg(e)}},onHasTask:(r,o,i,a)=>{r.hasTask(i,a),o===i&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,dd(e),ud(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(r,o,i,a)=>(r.handleError(i,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ri.isInAngularZone())throw new K(909,!1)}static assertNotInAngularZone(){if(ri.isInAngularZone())throw new K(909,!1)}run(t,r,o){return this._inner.run(t,r,o)}runTask(t,r,o,i){const a=this._inner,p=a.scheduleEventTask("NgZoneEvent: "+i,t,iC,ec,ec);try{return a.runTask(p,r,o)}finally{a.cancelTask(p)}}runGuarded(t,r,o){return this._inner.runGuarded(t,r,o)}runOutsideAngular(t){return this._outer.run(t)}}const iC={};function ud(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function dd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function zg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Yg(e){e._nesting--,ud(e)}class lC{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ri,this.onMicrotaskEmpty=new Ri,this.onStable=new Ri,this.onError=new Ri}run(t,r,o){return t.apply(r,o)}runGuarded(t,r,o){return t.apply(r,o)}runOutsideAngular(t){return t()}runTask(t,r,o,i){return t.apply(r,o)}}const Gg=new Qn(""),Wg=new Qn("");let fd,cC=(()=>{class e{constructor(r,o,i){this._ngZone=r,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,fd||(function uC(e){fd=e}(i),i.addToWindow(o)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ri.assertNotInAngularZone(),cd(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())cd(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(r)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,o,i){let a=-1;o&&o>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(p=>p.timeoutId!==a),r(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:r,timeoutId:a,updateCb:i})}whenStable(r,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,i){return[]}}return e.\u0275fac=function(r){return new(r||e)(tn(ri),tn(Zg),tn(Wg))},e.\u0275prov=Je({token:e,factory:e.\u0275fac}),e})(),Zg=(()=>{class e{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,o=!0){return fd?.findTestabilityInTree(this,r,o)??null}}return e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Yi=!1;let ss=null;const Kg=new Qn("AllowMultipleToken"),hd=new Qn("PlatformDestroyListeners"),qg=new Qn("appBootstrapListener");class hC{constructor(t,r){this.name=t,this.token=r}}function Xg(e,t,r=[]){const o=`Platform: ${t}`,i=new Qn(o);return(a=[])=>{let p=pd();if(!p||p.injector.get(Kg,!1)){const C=[...r,...a,{provide:i,useValue:!0}];e?e(C):function pC(e){if(ss&&!ss.get(Kg,!1))throw new K(400,!1);ss=e;const t=e.get(em);(function Jg(e){const t=e.get(Vg,null);t&&t.forEach(r=>r())})(e)}(function Qg(e=[],t){return As.create({name:t,providers:[{provide:Kc,useValue:"platform"},{provide:hd,useValue:new Set([()=>ss=null])},...e]})}(C,o))}return function mC(e){const t=pd();if(!t)throw new K(401,!1);return t}()}}function pd(){return ss?.get(em)??null}let em=(()=>{class e{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,o){const i=function nm(e,t){let r;return r="noop"===e?new lC:("zone.js"===e?void 0:e)||new ri(t),r}(o?.ngZone,function tm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(o)),a=[{provide:ri,useValue:i}];return i.run(()=>{const p=As.create({providers:a,parent:this.injector,name:r.moduleType.name}),C=r.create(p),w=C.injector.get(ka,null);if(!w)throw new K(402,!1);return i.runOutsideAngular(()=>{const k=i.onError.subscribe({next:q=>{w.handleError(q)}});C.onDestroy(()=>{oc(this._modules,C),k.unsubscribe()})}),function rm(e,t,r){try{const o=r();return Su(o)?o.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):o}catch(o){throw t.runOutsideAngular(()=>e.handleError(o)),o}}(w,i,()=>{const k=C.injector.get(tc);return k.runInitializers(),k.donePromise.then(()=>(function gp(e){L(e,"Expected localeId to be defined"),"string"==typeof e&&(pp=e.toLowerCase().replace(/_/g,"-"))}(C.injector.get(nc,pa)||pa),this._moduleDoBootstrap(C),C))})})}bootstrapModule(r,o=[]){const i=om({},o);return function dC(e,t,r){const o=new Gu(r);return Promise.resolve(o)}(0,0,r).then(a=>this.bootstrapModuleFactory(a,i))}_moduleDoBootstrap(r){const o=r.injector.get(rc);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(i=>o.bootstrap(i));else{if(!r.instance.ngDoBootstrap)throw new K(-403,!1);r.instance.ngDoBootstrap(o)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new K(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const r=this._injector.get(hd,null);r&&(r.forEach(o=>o()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(r){return new(r||e)(tn(As))},e.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function om(e,t){return Array.isArray(t)?t.reduce(om,e):{...e,...t}}let rc=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(r,o,i){this._zone=r,this._injector=o,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new U.y(C=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{C.next(this._stable),C.complete()})}),p=new U.y(C=>{let w;this._zone.runOutsideAngular(()=>{w=this._zone.onStable.subscribe(()=>{ri.assertNotInAngularZone(),cd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,C.next(!0))})})});const k=this._zone.onUnstable.subscribe(()=>{ri.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{C.next(!1)}))});return()=>{w.unsubscribe(),k.unsubscribe()}});this.isStable=(0,$.T)(a,p.pipe((0,J.B)()))}bootstrap(r,o){const i=r instanceof vf;if(!this._injector.get(tc).done){!i&&un(r);throw new K(405,Yi)}let p;p=i?r:this._injector.get(La).resolveComponentFactory(r),this.componentTypes.push(p.componentType);const C=function fC(e){return e.isBoundToModule}(p)?void 0:this._injector.get(ga),k=p.create(As.NULL,[],o||p.selector,C),q=k.location.nativeElement,ve=k.injector.get(Gg,null);return ve?.registerApplication(q),k.onDestroy(()=>{this.detachView(k.hostView),oc(this.components,k),ve?.unregisterApplication(q)}),this._loadComponent(k),k}tick(){if(this._runningTick)throw new K(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(r))}finally{this._runningTick=!1}}attachView(r){const o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){const o=r;oc(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const o=this._injector.get(qg,[]);o.push(...this._bootstrapListeners),o.forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>oc(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new K(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(r){return new(r||e)(tn(ri),tn(Ts),tn(ka))},e.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function oc(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}function yC(){return!1}function _C(){}let bC=(()=>{class e{}return e.__NG_ELEMENT_ID__=CC,e})();function CC(e){return function DC(e,t,r){if(Qr(e)&&!r){const o=sr(e.index,t);return new $a(o,o)}return 47&e.type?new $a(t[Ce],t):null}(jt(),Ze(),16==(16&e))}class cm{constructor(){}supports(t){return Bl(t)}create(t){return new TC(t)}}const SC=(e,t)=>t;class TC{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||SC}forEachItem(t){let r;for(r=this._itHead;null!==r;r=r._next)t(r)}forEachOperation(t){let r=this._itHead,o=this._removalsHead,i=0,a=null;for(;r||o;){const p=!o||r&&r.currentIndex{p=this._trackByFn(i,C),null!==r&&Object.is(r.trackById,p)?(o&&(r=this._verifyReinsertion(r,C,p,i)),Object.is(r.item,C)||this._addIdentityChange(r,C)):(r=this._mismatch(r,C,p,i),o=!0),r=r._next,i++}),this.length=i;return this._truncate(r),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,r,o,i){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._reinsertAfter(t,a,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(o,i))?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._moveAfter(t,a,i)):t=this._addAfter(new AC(r,o),a,i),t}_verifyReinsertion(t,r,o,i){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==a?t=this._reinsertAfter(a,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const r=t._next;this._addToRemovals(this._unlink(t)),t=r}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,r,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,a=t._nextRemoved;return null===i?this._removalsHead=a:i._nextRemoved=a,null===a?this._removalsTail=i:a._prevRemoved=i,this._insertAfter(t,r,o),this._addToMoves(t,o),t}_moveAfter(t,r,o){return this._unlink(t),this._insertAfter(t,r,o),this._addToMoves(t,o),t}_addAfter(t,r,o){return this._insertAfter(t,r,o),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,r,o){const i=null===r?this._itHead:r._next;return t._next=i,t._prev=r,null===i?this._itTail=t:i._prev=t,null===r?this._itHead=t:r._next=t,null===this._linkedRecords&&(this._linkedRecords=new um),this._linkedRecords.put(t),t.currentIndex=o,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const r=t._prev,o=t._next;return null===r?this._itHead=o:r._next=o,null===o?this._itTail=r:o._prev=r,t}_addToMoves(t,r){return t.previousIndex===r||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new um),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,r){return t.item=r,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class AC{constructor(t,r){this.item=t,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class xC{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,r){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===r||r<=o.currentIndex)&&Object.is(o.trackById,t))return o;return null}remove(t){const r=t._prevDup,o=t._nextDup;return null===r?this._head=o:r._nextDup=o,null===o?this._tail=r:o._prevDup=r,null===this._head}}class um{constructor(){this.map=new Map}put(t){const r=t.trackById;let o=this.map.get(r);o||(o=new xC,this.map.set(r,o)),o.add(t)}get(t,r){const i=this.map.get(t);return i?i.get(t,r):null}remove(t){const r=t.trackById;return this.map.get(r).remove(t)&&this.map.delete(r),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function dm(e,t,r){const o=e.previousIndex;if(null===o)return o;let i=0;return r&&o{if(r&&r.key===i)this._maybeAddToChanges(r,o),this._appendAfter=r,r=r._next;else{const a=this._getOrCreateRecordForKey(i,o);r=this._insertBeforeOrAppend(r,a)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let o=r;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,r){if(t){const o=t._prev;return r._next=t,r._prev=o,t._prev=r,o&&(o._next=r),t===this._mapHead&&(this._mapHead=r),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(t,r){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,r);const a=i._prev,p=i._next;return a&&(a._next=p),p&&(p._prev=a),i._next=null,i._prev=null,i}const o=new PC(t);return this._records.set(t,o),o.currentValue=r,this._addToAdditions(o),o}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,r){Object.is(r,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=r,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,r){t instanceof Map?t.forEach(r):Object.keys(t).forEach(o=>r(t[o],o))}}class PC{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function hm(){return new _d([new cm])}let _d=(()=>{class e{constructor(r){this.factories=r}static create(r,o){if(null!=o){const i=o.factories.slice();r=r.concat(i)}return new e(r)}static extend(r){return{provide:e,useFactory:o=>e.create(r,o||hm()),deps:[[e,new Ti,new Ds]]}}find(r){const o=this.factories.find(i=>i.supports(r));if(null!=o)return o;throw new K(901,!1)}}return e.\u0275prov=Je({token:e,providedIn:"root",factory:hm}),e})();function pm(){return new bd([new fm])}let bd=(()=>{class e{constructor(r){this.factories=r}static create(r,o){if(o){const i=o.factories.slice();r=r.concat(i)}return new e(r)}static extend(r){return{provide:e,useFactory:o=>e.create(r,o||pm()),deps:[[e,new Ti,new Ds]]}}find(r){const o=this.factories.find(i=>i.supports(r));if(o)return o;throw new K(901,!1)}}return e.\u0275prov=Je({token:e,providedIn:"root",factory:pm}),e})();const LC=Xg(null,"core",[]);let NC=(()=>{class e{constructor(r){}}return e.\u0275fac=function(r){return new(r||e)(tn(rc))},e.\u0275mod=Qt({type:e}),e.\u0275inj=Ne({}),e})();function kC(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function $C(e,t){const r=Yt(e),o=t.elementInjector||Al();return new Ua(r).create(o,t.projectableNodes,t.hostElement,t.environmentInjector)}function UC(e){const t=Yt(e);if(!t)return null;const r=new Ua(t);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return t.standalone}}}},4006:(ct,Ie,b)=>{"use strict";b.d(Ie,{Cf:()=>z,Fd:()=>Bo,JJ:()=>it,JL:()=>Tt,JU:()=>V,NI:()=>Be,On:()=>yt,UX:()=>R,_Y:()=>_t,a5:()=>Ot,nD:()=>_r,qQ:()=>ao,qu:()=>Ci,sg:()=>zn,u:()=>vo,u5:()=>u});var c=b(4650),n=b(6895),U=b(2076),$=b(4128),J=b(4004);let O=(()=>{class s{constructor(d,F){this._renderer=d,this._elementRef=F,this.onChange=Re=>{},this.onTouched=()=>{}}setProperty(d,F){this._renderer.setProperty(this._elementRef.nativeElement,d,F)}registerOnTouched(d){this.onTouched=d}registerOnChange(d){this.onChange=d}setDisabledState(d){this.setProperty("disabled",d)}}return s.\u0275fac=function(d){return new(d||s)(c.Y36(c.Qsj),c.Y36(c.SBq))},s.\u0275dir=c.lG2({type:s}),s})(),x=(()=>{class s extends O{}return s.\u0275fac=function(){let l;return function(F){return(l||(l=c.n5z(s)))(F||s)}}(),s.\u0275dir=c.lG2({type:s,features:[c.qOj]}),s})();const V=new c.OlP("NgValueAccessor"),G={provide:V,useExisting:(0,c.Gpc)(()=>X),multi:!0},ce=new c.OlP("CompositionEventMode");let X=(()=>{class s extends O{constructor(d,F,Re){super(d,F),this._compositionMode=Re,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ee(){const s=(0,n.q)()?(0,n.q)().getUserAgent():"";return/android (\d+)/.test(s.toLowerCase())}())}writeValue(d){this.setProperty("value",d??"")}_handleInput(d){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(d)}_compositionStart(){this._composing=!0}_compositionEnd(d){this._composing=!1,this._compositionMode&&this.onChange(d)}}return s.\u0275fac=function(d){return new(d||s)(c.Y36(c.Qsj),c.Y36(c.SBq),c.Y36(ce,8))},s.\u0275dir=c.lG2({type:s,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(d,F){1&d&&c.NdJ("input",function(lt){return F._handleInput(lt.target.value)})("blur",function(){return F.onTouched()})("compositionstart",function(){return F._compositionStart()})("compositionend",function(lt){return F._compositionEnd(lt.target.value)})},features:[c._Bn([G]),c.qOj]}),s})();const de=!1;function ie(s){return null==s||("string"==typeof s||Array.isArray(s))&&0===s.length}const z=new c.OlP("NgValidators"),_e=new c.OlP("NgAsyncValidators");function He(s){return null}function ae(s){return null!=s}function me(s){const l=(0,c.QGY)(s)?(0,U.D)(s):s;if(de&&!(0,c.CqO)(l)){let d="Expected async validator to return Promise or Observable.";throw"object"==typeof s&&(d+=" Are you using a synchronous validator where an async validator is expected?"),new c.vHH(-1101,d)}return l}function Xe(s){let l={};return s.forEach(d=>{l=null!=d?{...l,...d}:l}),0===Object.keys(l).length?null:l}function tt(s,l){return l.map(d=>d(s))}function N(s){return s.map(l=>function he(s){return!s.validate}(l)?l:d=>l.validate(d))}function L(s){return null!=s?function I(s){if(!s)return null;const l=s.filter(ae);return 0==l.length?null:function(d){return Xe(tt(d,l))}}(N(s)):null}function oe(s){return null!=s?function j(s){if(!s)return null;const l=s.filter(ae);return 0==l.length?null:function(d){const F=tt(d,l).map(me);return(0,$.D)(F).pipe((0,J.U)(Xe))}}(N(s)):null}function ue(s,l){return null===s?[l]:Array.isArray(s)?[...s,l]:[s,l]}function ze(s){return s._rawValidators}function Je(s){return s._rawAsyncValidators}function ft(s){return s?Array.isArray(s)?s:[s]:[]}function Ne(s,l){return Array.isArray(s)?s.includes(l):s===l}function Ye(s,l){const d=ft(l);return ft(s).forEach(Re=>{Ne(d,Re)||d.push(Re)}),d}function rt(s,l){return ft(l).filter(d=>!Ne(s,d))}class at{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(l){this._rawValidators=l||[],this._composedValidatorFn=L(this._rawValidators)}_setAsyncValidators(l){this._rawAsyncValidators=l||[],this._composedAsyncValidatorFn=oe(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(l){this._onDestroyCallbacks.push(l)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(l=>l()),this._onDestroyCallbacks=[]}reset(l){this.control&&this.control.reset(l)}hasError(l,d){return!!this.control&&this.control.hasError(l,d)}getError(l,d){return this.control?this.control.getError(l,d):null}}class ht extends at{get formDirective(){return null}get path(){return null}}class Ot extends at{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class It{constructor(l){this._cd=l}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let it=(()=>{class s extends It{constructor(d){super(d)}}return s.\u0275fac=function(d){return new(d||s)(c.Y36(Ot,2))},s.\u0275dir=c.lG2({type:s,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(d,F){2&d&&c.ekj("ng-untouched",F.isUntouched)("ng-touched",F.isTouched)("ng-pristine",F.isPristine)("ng-dirty",F.isDirty)("ng-valid",F.isValid)("ng-invalid",F.isInvalid)("ng-pending",F.isPending)},features:[c.qOj]}),s})(),Tt=(()=>{class s extends It{constructor(d){super(d)}}return s.\u0275fac=function(d){return new(d||s)(c.Y36(ht,10))},s.\u0275dir=c.lG2({type:s,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(d,F){2&d&&c.ekj("ng-untouched",F.isUntouched)("ng-touched",F.isTouched)("ng-pristine",F.isPristine)("ng-dirty",F.isDirty)("ng-valid",F.isValid)("ng-invalid",F.isInvalid)("ng-pending",F.isPending)("ng-submitted",F.isSubmitted)},features:[c.qOj]}),s})();function xn(s,l){return s?`with name: '${l}'`:`at index: ${l}`}const Ht=!1,Cr="VALID",tn="INVALID",Wn="PENDING",er="DISABLED";function ur(s){return(Tn(s)?s.validators:s)||null}function Hn(s,l){return(Tn(l)?l.asyncValidators:s)||null}function Tn(s){return null!=s&&!Array.isArray(s)&&"object"==typeof s}function dr(s,l,d){const F=s.controls;if(!(l?Object.keys(F):F).length)throw new c.vHH(1e3,Ht?function yr(s){return`\n There are no form controls registered with this ${s?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(l):"");if(!F[d])throw new c.vHH(1001,Ht?function En(s,l){return`Cannot find form control ${xn(s,l)}`}(l,d):"")}function fn(s,l,d){s._forEachChild((F,Re)=>{if(void 0===d[Re])throw new c.vHH(1002,Ht?function cr(s,l){return`Must supply a value for form control ${xn(s,l)}`}(l,Re):"")})}class nn{constructor(l,d){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(l),this._assignAsyncValidators(d)}get validator(){return this._composedValidatorFn}set validator(l){this._rawValidators=this._composedValidatorFn=l}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(l){this._rawAsyncValidators=this._composedAsyncValidatorFn=l}get parent(){return this._parent}get valid(){return this.status===Cr}get invalid(){return this.status===tn}get pending(){return this.status==Wn}get disabled(){return this.status===er}get enabled(){return this.status!==er}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(l){this._assignValidators(l)}setAsyncValidators(l){this._assignAsyncValidators(l)}addValidators(l){this.setValidators(Ye(l,this._rawValidators))}addAsyncValidators(l){this.setAsyncValidators(Ye(l,this._rawAsyncValidators))}removeValidators(l){this.setValidators(rt(l,this._rawValidators))}removeAsyncValidators(l){this.setAsyncValidators(rt(l,this._rawAsyncValidators))}hasValidator(l){return Ne(this._rawValidators,l)}hasAsyncValidator(l){return Ne(this._rawAsyncValidators,l)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(l={}){this.touched=!0,this._parent&&!l.onlySelf&&this._parent.markAsTouched(l)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(l=>l.markAllAsTouched())}markAsUntouched(l={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(d=>{d.markAsUntouched({onlySelf:!0})}),this._parent&&!l.onlySelf&&this._parent._updateTouched(l)}markAsDirty(l={}){this.pristine=!1,this._parent&&!l.onlySelf&&this._parent.markAsDirty(l)}markAsPristine(l={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(d=>{d.markAsPristine({onlySelf:!0})}),this._parent&&!l.onlySelf&&this._parent._updatePristine(l)}markAsPending(l={}){this.status=Wn,!1!==l.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!l.onlySelf&&this._parent.markAsPending(l)}disable(l={}){const d=this._parentMarkedDirty(l.onlySelf);this.status=er,this.errors=null,this._forEachChild(F=>{F.disable({...l,onlySelf:!0})}),this._updateValue(),!1!==l.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...l,skipPristineCheck:d}),this._onDisabledChange.forEach(F=>F(!0))}enable(l={}){const d=this._parentMarkedDirty(l.onlySelf);this.status=Cr,this._forEachChild(F=>{F.enable({...l,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:l.emitEvent}),this._updateAncestors({...l,skipPristineCheck:d}),this._onDisabledChange.forEach(F=>F(!1))}_updateAncestors(l){this._parent&&!l.onlySelf&&(this._parent.updateValueAndValidity(l),l.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(l){this._parent=l}getRawValue(){return this.value}updateValueAndValidity(l={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Cr||this.status===Wn)&&this._runAsyncValidator(l.emitEvent)),!1!==l.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!l.onlySelf&&this._parent.updateValueAndValidity(l)}_updateTreeValidity(l={emitEvent:!0}){this._forEachChild(d=>d._updateTreeValidity(l)),this.updateValueAndValidity({onlySelf:!0,emitEvent:l.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?er:Cr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(l){if(this.asyncValidator){this.status=Wn,this._hasOwnPendingAsyncValidator=!0;const d=me(this.asyncValidator(this));this._asyncValidationSubscription=d.subscribe(F=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(F,{emitEvent:l})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(l,d={}){this.errors=l,this._updateControlsErrors(!1!==d.emitEvent)}get(l){let d=l;return null==d||(Array.isArray(d)||(d=d.split(".")),0===d.length)?null:d.reduce((F,Re)=>F&&F._find(Re),this)}getError(l,d){const F=d?this.get(d):this;return F&&F.errors?F.errors[l]:null}hasError(l,d){return!!this.getError(l,d)}get root(){let l=this;for(;l._parent;)l=l._parent;return l}_updateControlsErrors(l){this.status=this._calculateStatus(),l&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(l)}_initObservables(){this.valueChanges=new c.vpe,this.statusChanges=new c.vpe}_calculateStatus(){return this._allControlsDisabled()?er:this.errors?tn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Wn)?Wn:this._anyControlsHaveStatus(tn)?tn:Cr}_anyControlsHaveStatus(l){return this._anyControls(d=>d.status===l)}_anyControlsDirty(){return this._anyControls(l=>l.dirty)}_anyControlsTouched(){return this._anyControls(l=>l.touched)}_updatePristine(l={}){this.pristine=!this._anyControlsDirty(),this._parent&&!l.onlySelf&&this._parent._updatePristine(l)}_updateTouched(l={}){this.touched=this._anyControlsTouched(),this._parent&&!l.onlySelf&&this._parent._updateTouched(l)}_registerOnCollectionChange(l){this._onCollectionChange=l}_setUpdateStrategy(l){Tn(l)&&null!=l.updateOn&&(this._updateOn=l.updateOn)}_parentMarkedDirty(l){return!l&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(l){return null}_assignValidators(l){this._rawValidators=Array.isArray(l)?l.slice():l,this._composedValidatorFn=function Sr(s){return Array.isArray(s)?L(s):s||null}(this._rawValidators)}_assignAsyncValidators(l){this._rawAsyncValidators=Array.isArray(l)?l.slice():l,this._composedAsyncValidatorFn=function or(s){return Array.isArray(s)?oe(s):s||null}(this._rawAsyncValidators)}}class _n extends nn{constructor(l,d,F){super(ur(d),Hn(F,d)),this.controls=l,this._initObservables(),this._setUpdateStrategy(d),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(l,d){return this.controls[l]?this.controls[l]:(this.controls[l]=d,d.setParent(this),d._registerOnCollectionChange(this._onCollectionChange),d)}addControl(l,d,F={}){this.registerControl(l,d),this.updateValueAndValidity({emitEvent:F.emitEvent}),this._onCollectionChange()}removeControl(l,d={}){this.controls[l]&&this.controls[l]._registerOnCollectionChange(()=>{}),delete this.controls[l],this.updateValueAndValidity({emitEvent:d.emitEvent}),this._onCollectionChange()}setControl(l,d,F={}){this.controls[l]&&this.controls[l]._registerOnCollectionChange(()=>{}),delete this.controls[l],d&&this.registerControl(l,d),this.updateValueAndValidity({emitEvent:F.emitEvent}),this._onCollectionChange()}contains(l){return this.controls.hasOwnProperty(l)&&this.controls[l].enabled}setValue(l,d={}){fn(this,!0,l),Object.keys(l).forEach(F=>{dr(this,!0,F),this.controls[F].setValue(l[F],{onlySelf:!0,emitEvent:d.emitEvent})}),this.updateValueAndValidity(d)}patchValue(l,d={}){null!=l&&(Object.keys(l).forEach(F=>{const Re=this.controls[F];Re&&Re.patchValue(l[F],{onlySelf:!0,emitEvent:d.emitEvent})}),this.updateValueAndValidity(d))}reset(l={},d={}){this._forEachChild((F,Re)=>{F.reset(l[Re],{onlySelf:!0,emitEvent:d.emitEvent})}),this._updatePristine(d),this._updateTouched(d),this.updateValueAndValidity(d)}getRawValue(){return this._reduceChildren({},(l,d,F)=>(l[F]=d.getRawValue(),l))}_syncPendingControls(){let l=this._reduceChildren(!1,(d,F)=>!!F._syncPendingControls()||d);return l&&this.updateValueAndValidity({onlySelf:!0}),l}_forEachChild(l){Object.keys(this.controls).forEach(d=>{const F=this.controls[d];F&&l(F,d)})}_setUpControls(){this._forEachChild(l=>{l.setParent(this),l._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(l){for(const[d,F]of Object.entries(this.controls))if(this.contains(d)&&l(F))return!0;return!1}_reduceValue(){return this._reduceChildren({},(d,F,Re)=>((F.enabled||this.disabled)&&(d[Re]=F.value),d))}_reduceChildren(l,d){let F=l;return this._forEachChild((Re,lt)=>{F=d(F,Re,lt)}),F}_allControlsDisabled(){for(const l of Object.keys(this.controls))if(this.controls[l].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(l){return this.controls.hasOwnProperty(l)?this.controls[l]:null}}class We extends _n{}const pe=new c.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Ge}),Ge="always";function ot(s,l){return[...l.path,s]}function vt(s,l,d=Ge){Dr(s,l),l.valueAccessor.writeValue(s.value),(s.disabled||"always"===d)&&l.valueAccessor.setDisabledState?.(s.disabled),function Qt(s,l){l.valueAccessor.registerOnChange(d=>{s._pendingValue=d,s._pendingChange=!0,s._pendingDirty=!0,"change"===s.updateOn&&mr(s,l)})}(s,l),function Tr(s,l){const d=(F,Re)=>{l.valueAccessor.writeValue(F),Re&&l.viewToModelUpdate(F)};s.registerOnChange(d),l._registerOnDestroy(()=>{s._unregisterOnChange(d)})}(s,l),function Mn(s,l){l.valueAccessor.registerOnTouched(()=>{s._pendingTouched=!0,"blur"===s.updateOn&&s._pendingChange&&mr(s,l),"submit"!==s.updateOn&&s.markAsTouched()})}(s,l),function wn(s,l){if(l.valueAccessor.setDisabledState){const d=F=>{l.valueAccessor.setDisabledState(F)};s.registerOnDisabledChange(d),l._registerOnDestroy(()=>{s._unregisterOnDisabledChange(d)})}}(s,l)}function zt(s,l,d=!0){const F=()=>{};l.valueAccessor&&(l.valueAccessor.registerOnChange(F),l.valueAccessor.registerOnTouched(F)),jn(s,l),s&&(l._invokeOnDestroyCallbacks(),s._registerOnCollectionChange(()=>{}))}function cn(s,l){s.forEach(d=>{d.registerOnValidatorChange&&d.registerOnValidatorChange(l)})}function Dr(s,l){const d=ze(s);null!==l.validator?s.setValidators(ue(d,l.validator)):"function"==typeof d&&s.setValidators([d]);const F=Je(s);null!==l.asyncValidator?s.setAsyncValidators(ue(F,l.asyncValidator)):"function"==typeof F&&s.setAsyncValidators([F]);const Re=()=>s.updateValueAndValidity();cn(l._rawValidators,Re),cn(l._rawAsyncValidators,Re)}function jn(s,l){let d=!1;if(null!==s){if(null!==l.validator){const Re=ze(s);if(Array.isArray(Re)&&Re.length>0){const lt=Re.filter(Vt=>Vt!==l.validator);lt.length!==Re.length&&(d=!0,s.setValidators(lt))}}if(null!==l.asyncValidator){const Re=Je(s);if(Array.isArray(Re)&&Re.length>0){const lt=Re.filter(Vt=>Vt!==l.asyncValidator);lt.length!==Re.length&&(d=!0,s.setAsyncValidators(lt))}}}const F=()=>{};return cn(l._rawValidators,F),cn(l._rawAsyncValidators,F),d}function mr(s,l){s._pendingDirty&&s.markAsDirty(),s.setValue(s._pendingValue,{emitModelToViewChange:!1}),l.viewToModelUpdate(s._pendingValue),s._pendingChange=!1}function Gt(s,l){if(!s.hasOwnProperty("model"))return!1;const d=s.model;return!!d.isFirstChange()||!Object.is(l,d.currentValue)}function Mt(s,l){if(!l)return null;let d,F,Re;return Array.isArray(l),l.forEach(lt=>{lt.constructor===X?d=lt:function On(s){return Object.getPrototypeOf(s.constructor)===x}(lt)?F=lt:Re=lt}),Re||F||d||null}function fe(s,l){const d=s.indexOf(l);d>-1&&s.splice(d,1)}function Te(s){return"object"==typeof s&&null!==s&&2===Object.keys(s).length&&"value"in s&&"disabled"in s}const Be=class extends nn{constructor(l=null,d,F){super(ur(d),Hn(F,d)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(l),this._setUpdateStrategy(d),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Tn(d)&&(d.nonNullable||d.initialValueIsDefault)&&(this.defaultValue=Te(l)?l.value:l)}setValue(l,d={}){this.value=this._pendingValue=l,this._onChange.length&&!1!==d.emitModelToViewChange&&this._onChange.forEach(F=>F(this.value,!1!==d.emitViewToModelChange)),this.updateValueAndValidity(d)}patchValue(l,d={}){this.setValue(l,d)}reset(l=this.defaultValue,d={}){this._applyFormState(l),this.markAsPristine(d),this.markAsUntouched(d),this.setValue(this.value,d),this._pendingChange=!1}_updateValue(){}_anyControls(l){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(l){this._onChange.push(l)}_unregisterOnChange(l){fe(this._onChange,l)}registerOnDisabledChange(l){this._onDisabledChange.push(l)}_unregisterOnDisabledChange(l){fe(this._onDisabledChange,l)}_forEachChild(l){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(l){Te(l)?(this.value=this._pendingValue=l.value,l.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=l}},Ke={provide:Ot,useExisting:(0,c.Gpc)(()=>yt)},ye=(()=>Promise.resolve())();let yt=(()=>{class s extends Ot{constructor(d,F,Re,lt,Vt,Ze){super(),this._changeDetectorRef=Vt,this.callSetDisabledState=Ze,this.control=new Be,this._registered=!1,this.update=new c.vpe,this._parent=d,this._setValidators(F),this._setAsyncValidators(Re),this.valueAccessor=Mt(0,lt)}ngOnChanges(d){if(this._checkForErrors(),!this._registered||"name"in d){if(this._registered&&(this._checkName(),this.formDirective)){const F=d.name.previousValue;this.formDirective.removeControl({name:F,path:this._getPath(F)})}this._setUpControl()}"isDisabled"in d&&this._updateDisabled(d),Gt(d,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(d){this.viewModel=d,this.update.emit(d)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){vt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(d){ye.then(()=>{this.control.setValue(d,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(d){const F=d.isDisabled.currentValue,Re=0!==F&&(0,c.D6c)(F);ye.then(()=>{Re&&!this.control.disabled?this.control.disable():!Re&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(d){return this._parent?ot(d,this._parent):[d]}}return s.\u0275fac=function(d){return new(d||s)(c.Y36(ht,9),c.Y36(z,10),c.Y36(_e,10),c.Y36(V,10),c.Y36(c.sBO,8),c.Y36(pe,8))},s.\u0275dir=c.lG2({type:s,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[c._Bn([Ke]),c.qOj,c.TTD]}),s})(),_t=(()=>{class s{}return s.\u0275fac=function(d){return new(d||s)},s.\u0275dir=c.lG2({type:s,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),s})(),tr=(()=>{class s{}return s.\u0275fac=function(d){return new(d||s)},s.\u0275mod=c.oAB({type:s}),s.\u0275inj=c.cJS({}),s})();const qn=new c.OlP("NgModelWithFormControlWarning"),Nn={provide:ht,useExisting:(0,c.Gpc)(()=>zn)};let zn=(()=>{class s extends ht{constructor(d,F,Re){super(),this.callSetDisabledState=Re,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new c.vpe,this._setValidators(d),this._setAsyncValidators(F)}ngOnChanges(d){this._checkFormPresent(),d.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(jn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(d){const F=this.form.get(d.path);return vt(F,d,this.callSetDisabledState),F.updateValueAndValidity({emitEvent:!1}),this.directives.push(d),F}getControl(d){return this.form.get(d.path)}removeControl(d){zt(d.control||null,d,!1),function Nt(s,l){const d=s.indexOf(l);d>-1&&s.splice(d,1)}(this.directives,d)}addFormGroup(d){this._setUpFormContainer(d)}removeFormGroup(d){this._cleanUpFormContainer(d)}getFormGroup(d){return this.form.get(d.path)}addFormArray(d){this._setUpFormContainer(d)}removeFormArray(d){this._cleanUpFormContainer(d)}getFormArray(d){return this.form.get(d.path)}updateModel(d,F){this.form.get(d.path).setValue(F)}onSubmit(d){return this.submitted=!0,function Zn(s,l){s._syncPendingControls(),l.forEach(d=>{const F=d.control;"submit"===F.updateOn&&F._pendingChange&&(d.viewToModelUpdate(F._pendingValue),F._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(d),"dialog"===d?.target?.method}onReset(){this.resetForm()}resetForm(d){this.form.reset(d),this.submitted=!1}_updateDomValue(){this.directives.forEach(d=>{const F=d.control,Re=this.form.get(d.path);F!==Re&&(zt(F||null,d),(s=>s instanceof Be)(Re)&&(vt(Re,d,this.callSetDisabledState),d.control=Re))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(d){const F=this.form.get(d.path);(function Jn(s,l){Dr(s,l)})(F,d),F.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(d){if(this.form){const F=this.form.get(d.path);F&&function Yt(s,l){return jn(s,l)}(F,d)&&F.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Dr(this.form,this),this._oldForm&&jn(this._oldForm,this)}_checkFormPresent(){}}return s.\u0275fac=function(d){return new(d||s)(c.Y36(z,10),c.Y36(_e,10),c.Y36(pe,8))},s.\u0275dir=c.lG2({type:s,selectors:[["","formGroup",""]],hostBindings:function(d,F){1&d&&c.NdJ("submit",function(lt){return F.onSubmit(lt)})("reset",function(){return F.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c._Bn([Nn]),c.qOj,c.TTD]}),s})();const xr={provide:Ot,useExisting:(0,c.Gpc)(()=>vo)};let vo=(()=>{class s extends Ot{set isDisabled(d){}constructor(d,F,Re,lt,Vt){super(),this._ngModelWarningConfig=Vt,this._added=!1,this.update=new c.vpe,this._ngModelWarningSent=!1,this._parent=d,this._setValidators(F),this._setAsyncValidators(Re),this.valueAccessor=Mt(0,lt)}ngOnChanges(d){this._added||this._setUpControl(),Gt(d,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(d){this.viewModel=d,this.update.emit(d)}get path(){return ot(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return s._ngModelWarningSentOnce=!1,s.\u0275fac=function(d){return new(d||s)(c.Y36(ht,13),c.Y36(z,10),c.Y36(_e,10),c.Y36(V,10),c.Y36(qn,8))},s.\u0275dir=c.lG2({type:s,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[c._Bn([xr]),c.qOj,c.TTD]}),s})();function Fr(s){return"number"==typeof s?s:parseFloat(s)}let Yn=(()=>{class s{constructor(){this._validator=He}ngOnChanges(d){if(this.inputName in d){const F=this.normalizeInput(d[this.inputName].currentValue);this._enabled=this.enabled(F),this._validator=this._enabled?this.createValidator(F):He,this._onChange&&this._onChange()}}validate(d){return this._validator(d)}registerOnValidatorChange(d){this._onChange=d}enabled(d){return null!=d}}return s.\u0275fac=function(d){return new(d||s)},s.\u0275dir=c.lG2({type:s,features:[c.TTD]}),s})();const so={provide:z,useExisting:(0,c.Gpc)(()=>Bo),multi:!0};let Bo=(()=>{class s extends Yn{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=d=>Fr(d),this.createValidator=d=>function xe(s){return l=>{if(ie(l.value)||ie(s))return null;const d=parseFloat(l.value);return!isNaN(d)&&d>s?{max:{max:s,actual:l.value}}:null}}(d)}}return s.\u0275fac=function(){let l;return function(F){return(l||(l=c.n5z(s)))(F||s)}}(),s.\u0275dir=c.lG2({type:s,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(d,F){2&d&&c.uIk("max",F._enabled?F.max:null)},inputs:{max:"max"},features:[c._Bn([so]),c.qOj]}),s})();const Oo={provide:z,useExisting:(0,c.Gpc)(()=>ao),multi:!0};let ao=(()=>{class s extends Yn{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=d=>Fr(d),this.createValidator=d=>function ge(s){return l=>{if(ie(l.value)||ie(s))return null;const d=parseFloat(l.value);return!isNaN(d)&&d_r),multi:!0};let _r=(()=>{class s extends Yn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=d=>function io(s){return"number"==typeof s?s:parseInt(s,10)}(d),this.createValidator=d=>function Fe(s){return l=>function K(s){return null!=s&&"number"==typeof s.length}(l.value)&&l.value.length>s?{maxlength:{requiredLength:s,actualLength:l.value.length}}:null}(d)}}return s.\u0275fac=function(){let l;return function(F){return(l||(l=c.n5z(s)))(F||s)}}(),s.\u0275dir=c.lG2({type:s,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(d,F){2&d&&c.uIk("maxlength",F._enabled?F.maxlength:null)},inputs:{maxlength:"maxlength"},features:[c._Bn([Uo]),c.qOj]}),s})(),Co=(()=>{class s{}return s.\u0275fac=function(d){return new(d||s)},s.\u0275mod=c.oAB({type:s}),s.\u0275inj=c.cJS({imports:[tr]}),s})();class Do extends nn{constructor(l,d,F){super(ur(d),Hn(F,d)),this.controls=l,this._initObservables(),this._setUpdateStrategy(d),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(l){return this.controls[this._adjustIndex(l)]}push(l,d={}){this.controls.push(l),this._registerControl(l),this.updateValueAndValidity({emitEvent:d.emitEvent}),this._onCollectionChange()}insert(l,d,F={}){this.controls.splice(l,0,d),this._registerControl(d),this.updateValueAndValidity({emitEvent:F.emitEvent})}removeAt(l,d={}){let F=this._adjustIndex(l);F<0&&(F=0),this.controls[F]&&this.controls[F]._registerOnCollectionChange(()=>{}),this.controls.splice(F,1),this.updateValueAndValidity({emitEvent:d.emitEvent})}setControl(l,d,F={}){let Re=this._adjustIndex(l);Re<0&&(Re=0),this.controls[Re]&&this.controls[Re]._registerOnCollectionChange(()=>{}),this.controls.splice(Re,1),d&&(this.controls.splice(Re,0,d),this._registerControl(d)),this.updateValueAndValidity({emitEvent:F.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(l,d={}){fn(this,!1,l),l.forEach((F,Re)=>{dr(this,!1,Re),this.at(Re).setValue(F,{onlySelf:!0,emitEvent:d.emitEvent})}),this.updateValueAndValidity(d)}patchValue(l,d={}){null!=l&&(l.forEach((F,Re)=>{this.at(Re)&&this.at(Re).patchValue(F,{onlySelf:!0,emitEvent:d.emitEvent})}),this.updateValueAndValidity(d))}reset(l=[],d={}){this._forEachChild((F,Re)=>{F.reset(l[Re],{onlySelf:!0,emitEvent:d.emitEvent})}),this._updatePristine(d),this._updateTouched(d),this.updateValueAndValidity(d)}getRawValue(){return this.controls.map(l=>l.getRawValue())}clear(l={}){this.controls.length<1||(this._forEachChild(d=>d._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:l.emitEvent}))}_adjustIndex(l){return l<0?l+this.length:l}_syncPendingControls(){let l=this.controls.reduce((d,F)=>!!F._syncPendingControls()||d,!1);return l&&this.updateValueAndValidity({onlySelf:!0}),l}_forEachChild(l){this.controls.forEach((d,F)=>{l(d,F)})}_updateValue(){this.value=this.controls.filter(l=>l.enabled||this.disabled).map(l=>l.value)}_anyControls(l){return this.controls.some(d=>d.enabled&&l(d))}_setUpControls(){this._forEachChild(l=>this._registerControl(l))}_allControlsDisabled(){for(const l of this.controls)if(l.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(l){l.setParent(this),l._registerOnCollectionChange(this._onCollectionChange)}_find(l){return this.at(l)??null}}function hr(s){return!!s&&(void 0!==s.asyncValidators||void 0!==s.validators||void 0!==s.updateOn)}let Ci=(()=>{class s{constructor(){this.useNonNullable=!1}get nonNullable(){const d=new s;return d.useNonNullable=!0,d}group(d,F=null){const Re=this._reduceControls(d);let lt={};return hr(F)?lt=F:null!==F&&(lt.validators=F.validator,lt.asyncValidators=F.asyncValidator),new _n(Re,lt)}record(d,F=null){const Re=this._reduceControls(d);return new We(Re,F)}control(d,F,Re){let lt={};return this.useNonNullable?(hr(F)?lt=F:(lt.validators=F,lt.asyncValidators=Re),new Be(d,{...lt,nonNullable:!0})):new Be(d,F,Re)}array(d,F,Re){const lt=d.map(Vt=>this._createControl(Vt));return new Do(lt,F,Re)}_reduceControls(d){const F={};return Object.keys(d).forEach(Re=>{F[Re]=this._createControl(d[Re])}),F}_createControl(d){return d instanceof Be||d instanceof nn?d:Array.isArray(d)?this.control(d[0],d.length>1?d[1]:null,d.length>2?d[2]:null):this.control(d)}}return s.\u0275fac=function(d){return new(d||s)},s.\u0275prov=c.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),u=(()=>{class s{static withConfig(d){return{ngModule:s,providers:[{provide:pe,useValue:d.callSetDisabledState??Ge}]}}}return s.\u0275fac=function(d){return new(d||s)},s.\u0275mod=c.oAB({type:s}),s.\u0275inj=c.cJS({imports:[Co]}),s})(),R=(()=>{class s{static withConfig(d){return{ngModule:s,providers:[{provide:qn,useValue:d.warnOnNgModelWithFormControl??"always"},{provide:pe,useValue:d.callSetDisabledState??Ge}]}}}return s.\u0275fac=function(d){return new(d||s)},s.\u0275mod=c.oAB({type:s}),s.\u0275inj=c.cJS({imports:[Co]}),s})()},1481:(ct,Ie,b)=>{"use strict";b.d(Ie,{Dx:()=>ln,b2:()=>Xn,q6:()=>Kt});var c=b(6895),n=b(4650);class U extends c.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class $ extends U{static makeCurrent(){(0,c.HT)(new $)}onAndCancel(Oe,pe,Ge){return Oe.addEventListener(pe,Ge,!1),()=>{Oe.removeEventListener(pe,Ge,!1)}}dispatchEvent(Oe,pe){Oe.dispatchEvent(pe)}remove(Oe){Oe.parentNode&&Oe.parentNode.removeChild(Oe)}createElement(Oe,pe){return(pe=pe||this.getDefaultDocument()).createElement(Oe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Oe){return Oe.nodeType===Node.ELEMENT_NODE}isShadowRoot(Oe){return Oe instanceof DocumentFragment}getGlobalEventTarget(Oe,pe){return"window"===pe?window:"document"===pe?Oe:"body"===pe?Oe.body:null}getBaseHref(Oe){const pe=function O(){return J=J||document.querySelector("base"),J?J.getAttribute("href"):null}();return null==pe?null:function V(We){x=x||document.createElement("a"),x.setAttribute("href",We);const Oe=x.pathname;return"/"===Oe.charAt(0)?Oe:`/${Oe}`}(pe)}resetBaseElement(){J=null}getUserAgent(){return window.navigator.userAgent}getCookie(Oe){return(0,c.Mx)(document.cookie,Oe)}}let x,J=null;const Z=new n.OlP("TRANSITION_ID"),G=[{provide:n.ip1,useFactory:function se(We,Oe,pe){return()=>{pe.get(n.CZH).donePromise.then(()=>{const Ge=(0,c.q)(),ot=Oe.querySelectorAll(`style[ng-transition="${We}"]`);for(let vt=0;vt{class We{build(){return new XMLHttpRequest}}return We.\u0275fac=function(pe){return new(pe||We)},We.\u0275prov=n.Yz7({token:We,factory:We.\u0275fac}),We})();const X=new n.OlP("EventManagerPlugins");let de=(()=>{class We{constructor(pe,Ge){this._zone=Ge,this._eventNameToPlugin=new Map,pe.forEach(ot=>{ot.manager=this}),this._plugins=pe.slice().reverse()}addEventListener(pe,Ge,ot){return this._findPluginFor(Ge).addEventListener(pe,Ge,ot)}addGlobalEventListener(pe,Ge,ot){return this._findPluginFor(Ge).addGlobalEventListener(pe,Ge,ot)}getZone(){return this._zone}_findPluginFor(pe){const Ge=this._eventNameToPlugin.get(pe);if(Ge)return Ge;const ot=this._plugins;for(let vt=0;vt{class We{constructor(){this.usageCount=new Map}addStyles(pe){for(const Ge of pe)1===this.changeUsageCount(Ge,1)&&this.onStyleAdded(Ge)}removeStyles(pe){for(const Ge of pe)0===this.changeUsageCount(Ge,-1)&&this.onStyleRemoved(Ge)}onStyleRemoved(pe){}onStyleAdded(pe){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(pe,Ge){const ot=this.usageCount;let vt=ot.get(pe)??0;return vt+=Ge,vt>0?ot.set(pe,vt):ot.delete(pe),vt}ngOnDestroy(){for(const pe of this.getAllStyles())this.onStyleRemoved(pe);this.usageCount.clear()}}return We.\u0275fac=function(pe){return new(pe||We)},We.\u0275prov=n.Yz7({token:We,factory:We.\u0275fac}),We})(),z=(()=>{class We extends K{constructor(pe){super(),this.doc=pe,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(pe){for(const Ge of this.hostNodes)this.addStyleToHost(Ge,pe)}onStyleRemoved(pe){const Ge=this.styleRef;Ge.get(pe)?.forEach(vt=>vt.remove()),Ge.delete(pe)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(pe){this.hostNodes.add(pe);for(const Ge of this.getAllStyles())this.addStyleToHost(pe,Ge)}removeHost(pe){this.hostNodes.delete(pe)}addStyleToHost(pe,Ge){const ot=this.doc.createElement("style");ot.textContent=Ge,pe.appendChild(ot);const vt=this.styleRef.get(Ge);vt?vt.push(ot):this.styleRef.set(Ge,[ot])}resetHostNodes(){const pe=this.hostNodes;pe.clear(),pe.add(this.doc.head)}}return We.\u0275fac=function(pe){return new(pe||We)(n.LFG(c.K0))},We.\u0275prov=n.Yz7({token:We,factory:We.\u0275fac}),We})();const _e={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/MathML/"},Le=/%COMP%/g,be=new n.OlP("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function Ae(We,Oe){return Oe.flat(100).map(pe=>pe.replace(Le,We))}function He(We){return Oe=>{if("__ngUnwrap__"===Oe)return We;!1===We(Oe)&&(Oe.preventDefault(),Oe.returnValue=!1)}}let ae=(()=>{class We{constructor(pe,Ge,ot,vt){this.eventManager=pe,this.sharedStylesHost=Ge,this.appId=ot,this.removeStylesOnCompDestory=vt,this.rendererByCompId=new Map,this.defaultRenderer=new me(pe)}createRenderer(pe,Ge){if(!pe||!Ge)return this.defaultRenderer;const ot=this.getOrCreateRenderer(pe,Ge);return ot instanceof L?ot.applyToHost(pe):ot instanceof I&&ot.applyStyles(),ot}getOrCreateRenderer(pe,Ge){const ot=this.rendererByCompId;let vt=ot.get(Ge.id);if(!vt){const zt=this.eventManager,cn=this.sharedStylesHost,wn=this.removeStylesOnCompDestory;switch(Ge.encapsulation){case n.ifc.Emulated:vt=new L(zt,cn,Ge,this.appId,wn);break;case n.ifc.ShadowDom:return new N(zt,cn,pe,Ge);default:vt=new I(zt,cn,Ge,wn)}vt.onDestroy=()=>ot.delete(Ge.id),ot.set(Ge.id,vt)}return vt}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return We.\u0275fac=function(pe){return new(pe||We)(n.LFG(de),n.LFG(z),n.LFG(n.AFp),n.LFG(be))},We.\u0275prov=n.Yz7({token:We,factory:We.\u0275fac}),We})();class me{constructor(Oe){this.eventManager=Oe,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Oe,pe){return pe?document.createElementNS(_e[pe]||pe,Oe):document.createElement(Oe)}createComment(Oe){return document.createComment(Oe)}createText(Oe){return document.createTextNode(Oe)}appendChild(Oe,pe){(he(Oe)?Oe.content:Oe).appendChild(pe)}insertBefore(Oe,pe,Ge){Oe&&(he(Oe)?Oe.content:Oe).insertBefore(pe,Ge)}removeChild(Oe,pe){Oe&&Oe.removeChild(pe)}selectRootElement(Oe,pe){let Ge="string"==typeof Oe?document.querySelector(Oe):Oe;if(!Ge)throw new Error(`The selector "${Oe}" did not match any elements`);return pe||(Ge.textContent=""),Ge}parentNode(Oe){return Oe.parentNode}nextSibling(Oe){return Oe.nextSibling}setAttribute(Oe,pe,Ge,ot){if(ot){pe=ot+":"+pe;const vt=_e[ot];vt?Oe.setAttributeNS(vt,pe,Ge):Oe.setAttribute(pe,Ge)}else Oe.setAttribute(pe,Ge)}removeAttribute(Oe,pe,Ge){if(Ge){const ot=_e[Ge];ot?Oe.removeAttributeNS(ot,pe):Oe.removeAttribute(`${Ge}:${pe}`)}else Oe.removeAttribute(pe)}addClass(Oe,pe){Oe.classList.add(pe)}removeClass(Oe,pe){Oe.classList.remove(pe)}setStyle(Oe,pe,Ge,ot){ot&(n.JOm.DashCase|n.JOm.Important)?Oe.style.setProperty(pe,Ge,ot&n.JOm.Important?"important":""):Oe.style[pe]=Ge}removeStyle(Oe,pe,Ge){Ge&n.JOm.DashCase?Oe.style.removeProperty(pe):Oe.style[pe]=""}setProperty(Oe,pe,Ge){Oe[pe]=Ge}setValue(Oe,pe){Oe.nodeValue=pe}listen(Oe,pe,Ge){return"string"==typeof Oe?this.eventManager.addGlobalEventListener(Oe,pe,He(Ge)):this.eventManager.addEventListener(Oe,pe,He(Ge))}}function he(We){return"TEMPLATE"===We.tagName&&void 0!==We.content}class N extends me{constructor(Oe,pe,Ge,ot){super(Oe),this.sharedStylesHost=pe,this.hostEl=Ge,this.shadowRoot=Ge.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const vt=Ae(ot.id,ot.styles);for(const zt of vt){const cn=document.createElement("style");cn.textContent=zt,this.shadowRoot.appendChild(cn)}}nodeOrShadowRoot(Oe){return Oe===this.hostEl?this.shadowRoot:Oe}appendChild(Oe,pe){return super.appendChild(this.nodeOrShadowRoot(Oe),pe)}insertBefore(Oe,pe,Ge){return super.insertBefore(this.nodeOrShadowRoot(Oe),pe,Ge)}removeChild(Oe,pe){return super.removeChild(this.nodeOrShadowRoot(Oe),pe)}parentNode(Oe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Oe)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class I extends me{constructor(Oe,pe,Ge,ot,vt=Ge.id){super(Oe),this.sharedStylesHost=pe,this.removeStylesOnCompDestory=ot,this.rendererUsageCount=0,this.styles=Ae(vt,Ge.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class L extends I{constructor(Oe,pe,Ge,ot,vt){const zt=ot+"-"+Ge.id;super(Oe,pe,Ge,vt,zt),this.contentAttr=function je(We){return"_ngcontent-%COMP%".replace(Le,We)}(zt),this.hostAttr=function Fe(We){return"_nghost-%COMP%".replace(Le,We)}(zt)}applyToHost(Oe){this.applyStyles(),this.setAttribute(Oe,this.hostAttr,"")}createElement(Oe,pe){const Ge=super.createElement(Oe,pe);return super.setAttribute(Ge,this.contentAttr,""),Ge}}let j=(()=>{class We extends ie{constructor(pe){super(pe)}supports(pe){return!0}addEventListener(pe,Ge,ot){return pe.addEventListener(Ge,ot,!1),()=>this.removeEventListener(pe,Ge,ot)}removeEventListener(pe,Ge,ot){return pe.removeEventListener(Ge,ot)}}return We.\u0275fac=function(pe){return new(pe||We)(n.LFG(c.K0))},We.\u0275prov=n.Yz7({token:We,factory:We.\u0275fac}),We})();const oe=["alt","control","meta","shift"],ue={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ze={alt:We=>We.altKey,control:We=>We.ctrlKey,meta:We=>We.metaKey,shift:We=>We.shiftKey};let Je=(()=>{class We extends ie{constructor(pe){super(pe)}supports(pe){return null!=We.parseEventName(pe)}addEventListener(pe,Ge,ot){const vt=We.parseEventName(Ge),zt=We.eventCallback(vt.fullKey,ot,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.q)().onAndCancel(pe,vt.domEventName,zt))}static parseEventName(pe){const Ge=pe.toLowerCase().split("."),ot=Ge.shift();if(0===Ge.length||"keydown"!==ot&&"keyup"!==ot)return null;const vt=We._normalizeKey(Ge.pop());let zt="",cn=Ge.indexOf("code");if(cn>-1&&(Ge.splice(cn,1),zt="code."),oe.forEach(Dr=>{const jn=Ge.indexOf(Dr);jn>-1&&(Ge.splice(jn,1),zt+=Dr+".")}),zt+=vt,0!=Ge.length||0===vt.length)return null;const wn={};return wn.domEventName=ot,wn.fullKey=zt,wn}static matchEventFullKeyCode(pe,Ge){let ot=ue[pe.key]||pe.key,vt="";return Ge.indexOf("code.")>-1&&(ot=pe.code,vt="code."),!(null==ot||!ot)&&(ot=ot.toLowerCase()," "===ot?ot="space":"."===ot&&(ot="dot"),oe.forEach(zt=>{zt!==ot&&(0,ze[zt])(pe)&&(vt+=zt+".")}),vt+=ot,vt===Ge)}static eventCallback(pe,Ge,ot){return vt=>{We.matchEventFullKeyCode(vt,pe)&&ot.runGuarded(()=>Ge(vt))}}static _normalizeKey(pe){return"esc"===pe?"escape":pe}}return We.\u0275fac=function(pe){return new(pe||We)(n.LFG(c.K0))},We.\u0275prov=n.Yz7({token:We,factory:We.\u0275fac}),We})();const Kt=(0,n.eFA)(n._c5,"browser",[{provide:n.Lbi,useValue:c.bD},{provide:n.g9A,useValue:function ht(){$.makeCurrent()},multi:!0},{provide:c.K0,useFactory:function It(){return(0,n.RDi)(document),document},deps:[]}]),it=new n.OlP(""),Tt=[{provide:n.rWj,useClass:class ee{addToWindow(Oe){n.dqk.getAngularTestability=(Ge,ot=!0)=>{const vt=Oe.findTestabilityInTree(Ge,ot);if(null==vt)throw new Error("Could not find testability for element.");return vt},n.dqk.getAllAngularTestabilities=()=>Oe.getAllTestabilities(),n.dqk.getAllAngularRootElements=()=>Oe.getAllRootElements(),n.dqk.frameworkStabilizers||(n.dqk.frameworkStabilizers=[]),n.dqk.frameworkStabilizers.push(Ge=>{const ot=n.dqk.getAllAngularTestabilities();let vt=ot.length,zt=!1;const cn=function(wn){zt=zt||wn,vt--,0==vt&&Ge(zt)};ot.forEach(function(wn){wn.whenStable(cn)})})}findTestabilityInTree(Oe,pe,Ge){return null==pe?null:Oe.getTestability(pe)??(Ge?(0,c.q)().isShadowRoot(pe)?this.findTestabilityInTree(Oe,pe.host,!0):this.findTestabilityInTree(Oe,pe.parentElement,!0):null)}},deps:[]},{provide:n.lri,useClass:n.dDg,deps:[n.R0b,n.eoX,n.rWj]},{provide:n.dDg,useClass:n.dDg,deps:[n.R0b,n.eoX,n.rWj]}],gn=[{provide:n.zSh,useValue:"root"},{provide:n.qLn,useFactory:function Ot(){return new n.qLn},deps:[]},{provide:X,useClass:j,multi:!0,deps:[c.K0,n.R0b,n.Lbi]},{provide:X,useClass:Je,multi:!0,deps:[c.K0]},{provide:ae,useClass:ae,deps:[de,z,n.AFp,be]},{provide:n.FYo,useExisting:ae},{provide:K,useExisting:z},{provide:z,useClass:z,deps:[c.K0]},{provide:de,useClass:de,deps:[X,n.R0b]},{provide:c.JF,useClass:ce,deps:[]},[]];let Xn=(()=>{class We{constructor(pe){}static withServerTransition(pe){return{ngModule:We,providers:[{provide:n.AFp,useValue:pe.appId},{provide:Z,useExisting:n.AFp},G]}}}return We.\u0275fac=function(pe){return new(pe||We)(n.LFG(it,12))},We.\u0275mod=n.oAB({type:We}),We.\u0275inj=n.cJS({providers:[...gn,...Tt],imports:[c.ez,n.hGG]}),We})(),ln=(()=>{class We{constructor(pe){this._doc=pe}getTitle(){return this._doc.title}setTitle(pe){this._doc.title=pe||""}}return We.\u0275fac=function(pe){return new(pe||We)(n.LFG(c.K0))},We.\u0275prov=n.Yz7({token:We,factory:function(pe){let Ge=null;return Ge=pe?new pe:function vn(){return new ln((0,n.LFG)(c.K0))}(),Ge},providedIn:"root"}),We})();typeof window<"u"&&window},6159:(ct,Ie,b)=>{"use strict";b.d(Ie,{gz:()=>zn,y6:()=>io,OD:()=>Me,eC:()=>oe,wm:()=>Hs,wN:()=>no,F0:()=>kr,rH:()=>Mi,Bz:()=>ol,Hx:()=>xn});var c=b(4650),n=b(2076),U=b(9646),$=b(1135),J=b(6805),O=b(9841),x=b(7272),V=b(9770),Z=b(9635),se=b(2843),G=b(9751),ee=b(515),ce=b(4033),X=b(7579),de=b(6895),ie=b(4004),K=b(3900),z=b(5698),_e=b(8675),Le=b(9300),De=b(5577),ge=b(590),xe=b(4351),$e=b(8505),ne=b(262),be=b(5026),je=b(4482),Fe=b(5403);function Ae(v){return v<=0?()=>ee.E:(0,je.e)((_,f)=>{let E=[];_.subscribe((0,Fe.x)(f,P=>{E.push(P),v{for(const P of E)f.next(P);f.complete()},void 0,()=>{E=null}))})}var He=b(8068),ae=b(6590),me=b(4671);function Xe(v,_){const f=arguments.length>=2;return E=>E.pipe(v?(0,Le.h)((P,Y)=>v(P,Y,E)):me.y,Ae(1),f?(0,ae.d)(_):(0,He.T)(()=>new J.K))}var he=b(9718),N=b(8746),I=b(8343),L=b(8189),j=b(1481);const oe="primary",ue=Symbol("RouteTitle");class ze{constructor(_){this.params=_||{}}has(_){return Object.prototype.hasOwnProperty.call(this.params,_)}get(_){if(this.has(_)){const f=this.params[_];return Array.isArray(f)?f[0]:f}return null}getAll(_){if(this.has(_)){const f=this.params[_];return Array.isArray(f)?f:[f]}return[]}get keys(){return Object.keys(this.params)}}function Je(v){return new ze(v)}function ft(v,_,f){const E=f.path.split("/");if(E.length>v.length||"full"===f.pathMatch&&(_.hasChildren()||E.lengthE[Y]===P)}return v===_}function at(v){return Array.prototype.concat.apply([],v)}function ht(v){return v.length>0?v[v.length-1]:null}function It(v,_){for(const f in v)v.hasOwnProperty(f)&&_(v[f],f)}function bt(v){return(0,c.CqO)(v)?v:(0,c.QGY)(v)?(0,n.D)(Promise.resolve(v)):(0,U.of)(v)}const Kt=!1,it={exact:function sn(v,_,f){if(!Zt(v.segments,_.segments)||!ln(v.segments,_.segments,f)||v.numberOfChildren!==_.numberOfChildren)return!1;for(const E in _.children)if(!v.children[E]||!sn(v.children[E],_.children[E],f))return!1;return!0},subset:gr},Tt={exact:function Xn(v,_){return Ye(v,_)},subset:function ar(v,_){return Object.keys(_).length<=Object.keys(v).length&&Object.keys(_).every(f=>rt(v[f],_[f]))},ignored:()=>!0};function gn(v,_,f){return it[f.paths](v.root,_.root,f.matrixParams)&&Tt[f.queryParams](v.queryParams,_.queryParams)&&!("exact"===f.fragment&&v.fragment!==_.fragment)}function gr(v,_,f){return vn(v,_,_.segments,f)}function vn(v,_,f,E){if(v.segments.length>f.length){const P=v.segments.slice(0,f.length);return!(!Zt(P,f)||_.hasChildren()||!ln(P,f,E))}if(v.segments.length===f.length){if(!Zt(v.segments,f)||!ln(v.segments,f,E))return!1;for(const P in _.children)if(!v.children[P]||!gr(v.children[P],_.children[P],E))return!1;return!0}{const P=f.slice(0,v.segments.length),Y=f.slice(v.segments.length);return!!(Zt(v.segments,P)&&ln(v.segments,P,E)&&v.children[oe])&&vn(v.children[oe],_,Y,E)}}function ln(v,_,f){return _.every((E,P)=>Tt[f](v[P].parameters,E.parameters))}class Pt{constructor(_=new gt([],{}),f={},E=null){this.root=_,this.queryParams=f,this.fragment=E}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Je(this.queryParams)),this._queryParamMap}toString(){return En.serialize(this)}}class gt{constructor(_,f){this.segments=_,this.children=f,this.parent=null,It(f,(E,P)=>E.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return cr(this)}}class Ln{constructor(_,f){this.path=_,this.parameters=f}get parameterMap(){return this._parameterMap||(this._parameterMap=Je(this.parameters)),this._parameterMap}toString(){return Hn(this)}}function Zt(v,_){return v.length===_.length&&v.every((f,E)=>f.path===_[E].path)}let xn=(()=>{class v{}return v.\u0275fac=function(f){return new(f||v)},v.\u0275prov=c.Yz7({token:v,factory:function(){return new yr},providedIn:"root"}),v})();class yr{parse(_){const f=new We(_);return new Pt(f.parseRootSegment(),f.parseQueryParams(),f.parseFragment())}serialize(_){const f=`/${Ht(_.root,!0)}`,E=function Tn(v){const _=Object.keys(v).map(f=>{const E=v[f];return Array.isArray(E)?E.map(P=>`${tn(f)}=${tn(P)}`).join("&"):`${tn(f)}=${tn(E)}`}).filter(f=>!!f);return _.length?`?${_.join("&")}`:""}(_.queryParams);return`${f}${E}${"string"==typeof _.fragment?`#${function Wn(v){return encodeURI(v)}(_.fragment)}`:""}`}}const En=new yr;function cr(v){return v.segments.map(_=>Hn(_)).join("/")}function Ht(v,_){if(!v.hasChildren())return cr(v);if(_){const f=v.children[oe]?Ht(v.children[oe],!1):"",E=[];return It(v.children,(P,Y)=>{Y!==oe&&E.push(`${Y}:${Ht(P,!1)}`)}),E.length>0?`${f}(${E.join("//")})`:f}{const f=function lr(v,_){let f=[];return It(v.children,(E,P)=>{P===oe&&(f=f.concat(_(E,P)))}),It(v.children,(E,P)=>{P!==oe&&(f=f.concat(_(E,P)))}),f}(v,(E,P)=>P===oe?[Ht(v.children[oe],!1)]:[`${P}:${Ht(E,!1)}`]);return 1===Object.keys(v.children).length&&null!=v.children[oe]?`${cr(v)}/${f[0]}`:`${cr(v)}/(${f.join("//")})`}}function Cr(v){return encodeURIComponent(v).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function tn(v){return Cr(v).replace(/%3B/gi,";")}function er(v){return Cr(v).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ur(v){return decodeURIComponent(v)}function Sr(v){return ur(v.replace(/\+/g,"%20"))}function Hn(v){return`${er(v.path)}${function or(v){return Object.keys(v).map(_=>`;${er(_)}=${er(v[_])}`).join("")}(v.parameters)}`}const dr=/^[^\/()?;=#]+/;function fn(v){const _=v.match(dr);return _?_[0]:""}const nn=/^[^=?&#]+/,$n=/^[^&#]+/;class We{constructor(_){this.url=_,this.remaining=_}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new gt([],{}):new gt([],this.parseChildren())}parseQueryParams(){const _={};if(this.consumeOptional("?"))do{this.parseQueryParam(_)}while(this.consumeOptional("&"));return _}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const _=[];for(this.peekStartsWith("(")||_.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),_.push(this.parseSegment());let f={};this.peekStartsWith("/(")&&(this.capture("/"),f=this.parseParens(!0));let E={};return this.peekStartsWith("(")&&(E=this.parseParens(!1)),(_.length>0||Object.keys(f).length>0)&&(E[oe]=new gt(_,f)),E}parseSegment(){const _=fn(this.remaining);if(""===_&&this.peekStartsWith(";"))throw new c.vHH(4009,Kt);return this.capture(_),new Ln(ur(_),this.parseMatrixParams())}parseMatrixParams(){const _={};for(;this.consumeOptional(";");)this.parseParam(_);return _}parseParam(_){const f=fn(this.remaining);if(!f)return;this.capture(f);let E="";if(this.consumeOptional("=")){const P=fn(this.remaining);P&&(E=P,this.capture(E))}_[ur(f)]=ur(E)}parseQueryParam(_){const f=function _n(v){const _=v.match(nn);return _?_[0]:""}(this.remaining);if(!f)return;this.capture(f);let E="";if(this.consumeOptional("=")){const re=function en(v){const _=v.match($n);return _?_[0]:""}(this.remaining);re&&(E=re,this.capture(E))}const P=Sr(f),Y=Sr(E);if(_.hasOwnProperty(P)){let re=_[P];Array.isArray(re)||(re=[re],_[P]=re),re.push(Y)}else _[P]=Y}parseParens(_){const f={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const E=fn(this.remaining),P=this.remaining[E.length];if("/"!==P&&")"!==P&&";"!==P)throw new c.vHH(4010,Kt);let Y;E.indexOf(":")>-1?(Y=E.slice(0,E.indexOf(":")),this.capture(Y),this.capture(":")):_&&(Y=oe);const re=this.parseChildren();f[Y]=1===Object.keys(re).length?re[oe]:new gt([],re),this.consumeOptional("//")}return f}peekStartsWith(_){return this.remaining.startsWith(_)}consumeOptional(_){return!!this.peekStartsWith(_)&&(this.remaining=this.remaining.substring(_.length),!0)}capture(_){if(!this.consumeOptional(_))throw new c.vHH(4011,Kt)}}function Oe(v){return v.segments.length>0?new gt([],{[oe]:v}):v}function pe(v){const _={};for(const E of Object.keys(v.children)){const Y=pe(v.children[E]);(Y.segments.length>0||Y.hasChildren())&&(_[E]=Y)}return function Ge(v){if(1===v.numberOfChildren&&v.children[oe]){const _=v.children[oe];return new gt(v.segments.concat(_.segments),_.children)}return v}(new gt(v.segments,_))}function ot(v){return v instanceof Pt}const vt=!1;function Dr(v,_,f,E,P){if(0===f.length)return Mn(_.root,_.root,_.root,E,P);const Y=function Jn(v){if("string"==typeof v[0]&&1===v.length&&"/"===v[0])return new Tr(!0,0,v);let _=0,f=!1;const E=v.reduce((P,Y,re)=>{if("object"==typeof Y&&null!=Y){if(Y.outlets){const Ve={};return It(Y.outlets,(st,At)=>{Ve[At]="string"==typeof st?st.split("/"):st}),[...P,{outlets:Ve}]}if(Y.segmentPath)return[...P,Y.segmentPath]}return"string"!=typeof Y?[...P,Y]:0===re?(Y.split("/").forEach((Ve,st)=>{0==st&&"."===Ve||(0==st&&""===Ve?f=!0:".."===Ve?_++:""!=Ve&&P.push(Ve))}),P):[...P,Y]},[]);return new Tr(f,_,E)}(f);return Y.toRoot()?Mn(_.root,_.root,new gt([],{}),E,P):function re(st){const At=function yn(v,_,f,E){if(v.isAbsolute)return new Yt(_.root,!0,0);if(-1===E)return new Yt(f,f===_.root,0);return function un(v,_,f){let E=v,P=_,Y=f;for(;Y>P;){if(Y-=P,E=E.parent,!E)throw new c.vHH(4005,vt&&"Invalid number of '../'");P=E.segments.length}return new Yt(E,!1,P-Y)}(f,E+(jn(v.commands[0])?0:1),v.numberOfDoubleDots)}(Y,_,v.snapshot?._urlSegment,st),xt=At.processChildren?Gt(At.segmentGroup,At.index,Y.commands):mn(At.segmentGroup,At.index,Y.commands);return Mn(_.root,At.segmentGroup,xt,E,P)}(v.snapshot?._lastPathIndex)}function jn(v){return"object"==typeof v&&null!=v&&!v.outlets&&!v.segmentPath}function Qt(v){return"object"==typeof v&&null!=v&&v.outlets}function Mn(v,_,f,E,P){let re,Y={};E&&It(E,(st,At)=>{Y[At]=Array.isArray(st)?st.map(xt=>`${xt}`):`${st}`}),re=v===_?f:mr(v,_,f);const Ve=Oe(pe(re));return new Pt(Ve,Y,P)}function mr(v,_,f){const E={};return It(v.children,(P,Y)=>{E[Y]=P===_?f:mr(P,_,f)}),new gt(v.segments,E)}class Tr{constructor(_,f,E){if(this.isAbsolute=_,this.numberOfDoubleDots=f,this.commands=E,_&&E.length>0&&jn(E[0]))throw new c.vHH(4003,vt&&"Root segment cannot have matrix parameters");const P=E.find(Qt);if(P&&P!==ht(E))throw new c.vHH(4004,vt&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Yt{constructor(_,f,E){this.segmentGroup=_,this.processChildren=f,this.index=E}}function mn(v,_,f){if(v||(v=new gt([],{})),0===v.segments.length&&v.hasChildren())return Gt(v,_,f);const E=function On(v,_,f){let E=0,P=_;const Y={match:!1,pathIndex:0,commandIndex:0};for(;P=f.length)return Y;const re=v.segments[P],Ve=f[E];if(Qt(Ve))break;const st=`${Ve}`,At=E0&&void 0===st)break;if(st&&At&&"object"==typeof At&&void 0===At.outlets){if(!hn(st,At,re))return Y;E+=2}else{if(!hn(st,{},re))return Y;E++}P++}return{match:!0,pathIndex:P,commandIndex:E}}(v,_,f),P=f.slice(E.commandIndex);if(E.match&&E.pathIndex{"string"==typeof Y&&(Y=[Y]),null!==Y&&(P[re]=mn(v.children[re],_,Y))}),It(v.children,(Y,re)=>{void 0===E[re]&&(P[re]=Y)}),new gt(v.segments,P)}}function Zn(v,_,f){const E=v.segments.slice(0,_);let P=0;for(;P{"string"==typeof f&&(f=[f]),null!==f&&(_[E]=Zn(new gt([],{}),0,f))}),_}function Nt(v){const _={};return It(v,(f,E)=>_[E]=`${f}`),_}function hn(v,_,f){return v==f.path&&Ye(_,f.parameters)}const Vn="imperative";class Q{constructor(_,f){this.id=_,this.url=f}}class Me extends Q{constructor(_,f,E="imperative",P=null){super(_,f),this.type=0,this.navigationTrigger=E,this.restoredState=P}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class fe extends Q{constructor(_,f,E){super(_,f),this.urlAfterRedirects=E,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Te extends Q{constructor(_,f,E,P){super(_,f),this.reason=E,this.code=P,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Be extends Q{constructor(_,f,E,P){super(_,f),this.reason=E,this.code=P,this.type=16}}class Pe extends Q{constructor(_,f,E,P){super(_,f),this.error=E,this.target=P,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class A extends Q{constructor(_,f,E,P){super(_,f),this.urlAfterRedirects=E,this.state=P,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class T extends Q{constructor(_,f,E,P){super(_,f),this.urlAfterRedirects=E,this.state=P,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class H extends Q{constructor(_,f,E,P,Y){super(_,f),this.urlAfterRedirects=E,this.state=P,this.shouldActivate=Y,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class te extends Q{constructor(_,f,E,P){super(_,f),this.urlAfterRedirects=E,this.state=P,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class we extends Q{constructor(_,f,E,P){super(_,f),this.urlAfterRedirects=E,this.state=P,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ce{constructor(_){this.route=_,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ue{constructor(_){this.route=_,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Qe{constructor(_){this.snapshot=_,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ke{constructor(_){this.snapshot=_,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ye{constructor(_){this.snapshot=_,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yt{constructor(_){this.snapshot=_,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _t{constructor(_,f,E){this.routerEvent=_,this.position=f,this.anchor=E,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let fr=(()=>{class v{createUrlTree(f,E,P,Y,re,Ve){return Dr(f||E.root,P,Y,re,Ve)}}return v.\u0275fac=function(f){return new(f||v)},v.\u0275prov=c.Yz7({token:v,factory:v.\u0275fac}),v})(),tr=(()=>{class v{}return v.\u0275fac=function(f){return new(f||v)},v.\u0275prov=c.Yz7({token:v,factory:function(_){return fr.\u0275fac(_)},providedIn:"root"}),v})();class Kn{constructor(_){this._root=_}get root(){return this._root.value}parent(_){const f=this.pathFromRoot(_);return f.length>1?f[f.length-2]:null}children(_){const f=An(_,this._root);return f?f.children.map(E=>E.value):[]}firstChild(_){const f=An(_,this._root);return f&&f.children.length>0?f.children[0].value:null}siblings(_){const f=Yr(_,this._root);return f.length<2?[]:f[f.length-2].children.map(P=>P.value).filter(P=>P!==_)}pathFromRoot(_){return Yr(_,this._root).map(f=>f.value)}}function An(v,_){if(v===_.value)return _;for(const f of _.children){const E=An(v,f);if(E)return E}return null}function Yr(v,_){if(v===_.value)return[_];for(const f of _.children){const E=Yr(v,f);if(E.length)return E.unshift(_),E}return[]}class Cn{constructor(_,f){this.value=_,this.children=f}toString(){return`TreeNode(${this.value})`}}function qn(v){const _={};return v&&v.children.forEach(f=>_[f.value.outlet]=f),_}class go extends Kn{constructor(_,f){super(_),this.snapshot=f,Rr(this,_)}toString(){return this.snapshot.toString()}}function Qr(v,_){const f=function Nn(v,_){const re=new mo([],{},{},"",{},oe,_,null,v.root,-1,{});return new Vr("",new Cn(re,[]))}(v,_),E=new $.X([new Ln("",{})]),P=new $.X({}),Y=new $.X({}),re=new $.X({}),Ve=new $.X(""),st=new zn(E,P,re,Ve,Y,oe,_,f.root);return st.snapshot=f.root,new go(new Cn(st,[]),f)}class zn{constructor(_,f,E,P,Y,re,Ve,st){this.url=_,this.params=f,this.queryParams=E,this.fragment=P,this.data=Y,this.outlet=re,this.component=Ve,this.title=this.data?.pipe((0,ie.U)(At=>At[ue]))??(0,U.of)(void 0),this._futureSnapshot=st}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,ie.U)(_=>Je(_)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ie.U)(_=>Je(_)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ar(v,_="emptyOnly"){const f=v.pathFromRoot;let E=0;if("always"!==_)for(E=f.length-1;E>=1;){const P=f[E],Y=f[E-1];if(P.routeConfig&&""===P.routeConfig.path)E--;else{if(Y.component)break;E--}}return function Pr(v){return v.reduce((_,f)=>({params:{..._.params,...f.params},data:{..._.data,...f.data},resolve:{...f.data,..._.resolve,...f.routeConfig?.data,...f._resolvedData}}),{params:{},data:{},resolve:{}})}(f.slice(E))}class mo{get title(){return this.data?.[ue]}constructor(_,f,E,P,Y,re,Ve,st,At,xt,Fn){this.url=_,this.params=f,this.queryParams=E,this.fragment=P,this.data=Y,this.outlet=re,this.component=Ve,this.routeConfig=st,this._urlSegment=At,this._lastPathIndex=xt,this._resolve=Fn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Je(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Je(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(E=>E.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Vr extends Kn{constructor(_,f){super(f),this.url=_,Rr(this,f)}toString(){return xr(this._root)}}function Rr(v,_){_.value._routerState=v,_.children.forEach(f=>Rr(v,f))}function xr(v){const _=v.children.length>0?` { ${v.children.map(xr).join(", ")} } `:"";return`${v.value}${_}`}function vo(v){if(v.snapshot){const _=v.snapshot,f=v._futureSnapshot;v.snapshot=f,Ye(_.queryParams,f.queryParams)||v.queryParams.next(f.queryParams),_.fragment!==f.fragment&&v.fragment.next(f.fragment),Ye(_.params,f.params)||v.params.next(f.params),function Ne(v,_){if(v.length!==_.length)return!1;for(let f=0;fYe(f.parameters,_[E].parameters))}(v.url,_.url);return f&&!(!v.parent!=!_.parent)&&(!v.parent||yo(v.parent,_.parent))}function xo(v,_,f){if(f&&v.shouldReuseRoute(_.value,f.value.snapshot)){const E=f.value;E._futureSnapshot=_.value;const P=function _o(v,_,f){return _.children.map(E=>{for(const P of f.children)if(v.shouldReuseRoute(E.value,P.value.snapshot))return xo(v,E,P);return xo(v,E)})}(v,_,f);return new Cn(E,P)}{if(v.shouldAttach(_.value)){const Y=v.retrieve(_.value);if(null!==Y){const re=Y.route;return re.value._futureSnapshot=_.value,re.children=_.children.map(Ve=>xo(v,Ve)),re}}const E=function ko(v){return new zn(new $.X(v.url),new $.X(v.params),new $.X(v.queryParams),new $.X(v.fragment),new $.X(v.data),v.outlet,v.component,v)}(_.value),P=_.children.map(Y=>xo(v,Y));return new Cn(E,P)}}const Go="ngNavigationCancelingError";function oi(v,_){const{redirectTo:f,navigationBehaviorOptions:E}=ot(_)?{redirectTo:_,navigationBehaviorOptions:void 0}:_,P=Wo(!1,0,_);return P.url=f,P.navigationBehaviorOptions=E,P}function Wo(v,_,f){const E=new Error("NavigationCancelingError: "+(v||""));return E[Go]=!0,E.cancellationCode=_,f&&(E.url=f),E}function bo(v){return Gr(v)&&ot(v.url)}function Gr(v){return v&&v[Go]}class oo{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new io,this.attachRef=null}}let io=(()=>{class v{constructor(){this.contexts=new Map}onChildOutletCreated(f,E){const P=this.getOrCreateContext(f);P.outlet=E,this.contexts.set(f,P)}onChildOutletDestroyed(f){const E=this.getContext(f);E&&(E.outlet=null,E.attachRef=null)}onOutletDeactivated(){const f=this.contexts;return this.contexts=new Map,f}onOutletReAttached(f){this.contexts=f}getOrCreateContext(f){let E=this.getContext(f);return E||(E=new oo,this.contexts.set(f,E)),E}getContext(f){return this.contexts.get(f)||null}}return v.\u0275fac=function(f){return new(f||v)},v.\u0275prov=c.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})();const Fr=!1;let Yn=(()=>{class v{constructor(){this.activated=null,this._activatedRoute=null,this.name=oe,this.activateEvents=new c.vpe,this.deactivateEvents=new c.vpe,this.attachEvents=new c.vpe,this.detachEvents=new c.vpe,this.parentContexts=(0,c.f3M)(io),this.location=(0,c.f3M)(c.s_b),this.changeDetector=(0,c.f3M)(c.sBO),this.environmentInjector=(0,c.f3M)(c.lqb)}ngOnChanges(f){if(f.name){const{firstChange:E,previousValue:P}=f.name;if(E)return;this.isTrackedInParentContexts(P)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(P)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(f){return this.parentContexts.getContext(f)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const f=this.parentContexts.getContext(this.name);f?.route&&(f.attachRef?this.attach(f.attachRef,f.route):this.activateWith(f.route,f.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new c.vHH(4012,Fr);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new c.vHH(4012,Fr);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new c.vHH(4012,Fr);this.location.detach();const f=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(f.instance),f}attach(f,E){this.activated=f,this._activatedRoute=E,this.location.insert(f.hostView),this.attachEvents.emit(f.instance)}deactivate(){if(this.activated){const f=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(f)}}activateWith(f,E){if(this.isActivated)throw new c.vHH(4013,Fr);this._activatedRoute=f;const P=this.location,re=f.snapshot.component,Ve=this.parentContexts.getOrCreateContext(this.name).children,st=new so(f,Ve,P.injector);if(E&&function Bo(v){return!!v.resolveComponentFactory}(E)){const At=E.resolveComponentFactory(re);this.activated=P.createComponent(At,P.length,st)}else this.activated=P.createComponent(re,{index:P.length,injector:st,environmentInjector:E??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return v.\u0275fac=function(f){return new(f||v)},v.\u0275dir=c.lG2({type:v,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[c.TTD]}),v})();class so{constructor(_,f,E){this.route=_,this.childContexts=f,this.parent=E}get(_,f){return _===zn?this.route:_===io?this.childContexts:this.parent.get(_,f)}}let Oo=(()=>{class v{}return v.\u0275fac=function(f){return new(f||v)},v.\u0275cmp=c.Xpm({type:v,selectors:[["ng-component"]],standalone:!0,features:[c.jDz],decls:1,vars:0,template:function(f,E){1&f&&c._UZ(0,"router-outlet")},dependencies:[Yn],encapsulation:2}),v})();function ao(v,_){return v.providers&&!v._injector&&(v._injector=(0,c.MMx)(v.providers,_,`Route: ${v.path}`)),v._injector??_}function Uo(v){const _=v.children&&v.children.map(Uo),f=_?{...v,children:_}:{...v};return!f.component&&!f.loadComponent&&(_||f.loadChildren)&&f.outlet&&f.outlet!==oe&&(f.component=Oo),f}function _r(v){return v.outlet||oe}function ir(v,_){const f=v.filter(E=>_r(E)===_);return f.push(...v.filter(E=>_r(E)!==_)),f}function Lr(v){if(!v)return null;if(v.routeConfig?._injector)return v.routeConfig._injector;for(let _=v.parent;_;_=_.parent){const f=_.routeConfig;if(f?._loadedInjector)return f._loadedInjector;if(f?._injector)return f._injector}return null}class vr{constructor(_,f,E,P){this.routeReuseStrategy=_,this.futureState=f,this.currState=E,this.forwardEvent=P}activate(_){const f=this.futureState._root,E=this.currState?this.currState._root:null;this.deactivateChildRoutes(f,E,_),vo(this.futureState.root),this.activateChildRoutes(f,E,_)}deactivateChildRoutes(_,f,E){const P=qn(f);_.children.forEach(Y=>{const re=Y.value.outlet;this.deactivateRoutes(Y,P[re],E),delete P[re]}),It(P,(Y,re)=>{this.deactivateRouteAndItsChildren(Y,E)})}deactivateRoutes(_,f,E){const P=_.value,Y=f?f.value:null;if(P===Y)if(P.component){const re=E.getContext(P.outlet);re&&this.deactivateChildRoutes(_,f,re.children)}else this.deactivateChildRoutes(_,f,E);else Y&&this.deactivateRouteAndItsChildren(f,E)}deactivateRouteAndItsChildren(_,f){_.value.component&&this.routeReuseStrategy.shouldDetach(_.value.snapshot)?this.detachAndStoreRouteSubtree(_,f):this.deactivateRouteAndOutlet(_,f)}detachAndStoreRouteSubtree(_,f){const E=f.getContext(_.value.outlet),P=E&&_.value.component?E.children:f,Y=qn(_);for(const re of Object.keys(Y))this.deactivateRouteAndItsChildren(Y[re],P);if(E&&E.outlet){const re=E.outlet.detach(),Ve=E.children.onOutletDeactivated();this.routeReuseStrategy.store(_.value.snapshot,{componentRef:re,route:_,contexts:Ve})}}deactivateRouteAndOutlet(_,f){const E=f.getContext(_.value.outlet),P=E&&_.value.component?E.children:f,Y=qn(_);for(const re of Object.keys(Y))this.deactivateRouteAndItsChildren(Y[re],P);E&&(E.outlet&&(E.outlet.deactivate(),E.children.onOutletDeactivated()),E.attachRef=null,E.resolver=null,E.route=null)}activateChildRoutes(_,f,E){const P=qn(f);_.children.forEach(Y=>{this.activateRoutes(Y,P[Y.value.outlet],E),this.forwardEvent(new yt(Y.value.snapshot))}),_.children.length&&this.forwardEvent(new Ke(_.value.snapshot))}activateRoutes(_,f,E){const P=_.value,Y=f?f.value:null;if(vo(P),P===Y)if(P.component){const re=E.getOrCreateContext(P.outlet);this.activateChildRoutes(_,f,re.children)}else this.activateChildRoutes(_,f,E);else if(P.component){const re=E.getOrCreateContext(P.outlet);if(this.routeReuseStrategy.shouldAttach(P.snapshot)){const Ve=this.routeReuseStrategy.retrieve(P.snapshot);this.routeReuseStrategy.store(P.snapshot,null),re.children.onOutletReAttached(Ve.contexts),re.attachRef=Ve.componentRef,re.route=Ve.route.value,re.outlet&&re.outlet.attach(Ve.componentRef,Ve.route.value),vo(Ve.route.value),this.activateChildRoutes(_,null,re.children)}else{const Ve=Lr(P.snapshot),st=Ve?.get(c._Vd)??null;re.attachRef=null,re.route=P,re.resolver=st,re.injector=Ve,re.outlet&&re.outlet.activateWith(P,re.injector),this.activateChildRoutes(_,null,re.children)}}else this.activateChildRoutes(_,null,E)}}class bi{constructor(_){this.path=_,this.route=this.path[this.path.length-1]}}class Co{constructor(_,f){this.component=_,this.route=f}}function Do(v,_,f){const E=v._root;return hr(E,_?_._root:null,f,[E.value])}function Hr(v,_){const f=Symbol(),E=_.get(v,f);return E===f?"function"!=typeof v||(0,c.Z0I)(v)?_.get(v):v:E}function hr(v,_,f,E,P={canDeactivateChecks:[],canActivateChecks:[]}){const Y=qn(_);return v.children.forEach(re=>{(function Ci(v,_,f,E,P={canDeactivateChecks:[],canActivateChecks:[]}){const Y=v.value,re=_?_.value:null,Ve=f?f.getContext(v.value.outlet):null;if(re&&Y.routeConfig===re.routeConfig){const st=function Eo(v,_,f){if("function"==typeof f)return f(v,_);switch(f){case"pathParamsChange":return!Zt(v.url,_.url);case"pathParamsOrQueryParamsChange":return!Zt(v.url,_.url)||!Ye(v.queryParams,_.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!yo(v,_)||!Ye(v.queryParams,_.queryParams);default:return!yo(v,_)}}(re,Y,Y.routeConfig.runGuardsAndResolvers);st?P.canActivateChecks.push(new bi(E)):(Y.data=re.data,Y._resolvedData=re._resolvedData),hr(v,_,Y.component?Ve?Ve.children:null:f,E,P),st&&Ve&&Ve.outlet&&Ve.outlet.isActivated&&P.canDeactivateChecks.push(new Co(Ve.outlet.component,re))}else re&&eo(_,Ve,P),P.canActivateChecks.push(new bi(E)),hr(v,null,Y.component?Ve?Ve.children:null:f,E,P)})(re,Y[re.value.outlet],f,E.concat([re.value]),P),delete Y[re.value.outlet]}),It(Y,(re,Ve)=>eo(re,f.getContext(Ve),P)),P}function eo(v,_,f){const E=qn(v),P=v.value;It(E,(Y,re)=>{eo(Y,P.component?_?_.children.getContext(re):null:_,f)}),f.canDeactivateChecks.push(new Co(P.component&&_&&_.outlet&&_.outlet.isActivated?_.outlet.component:null,P))}function uo(v){return"function"==typeof v}function Vt(v){return v instanceof J.K||"EmptyError"===v?.name}const Ze=Symbol("INITIAL_VALUE");function Ut(){return(0,K.w)(v=>(0,O.a)(v.map(_=>_.pipe((0,z.q)(1),(0,_e.O)(Ze)))).pipe((0,ie.U)(_=>{for(const f of _)if(!0!==f){if(f===Ze)return Ze;if(!1===f||f instanceof Pt)return f}return!0}),(0,Le.h)(_=>_!==Ze),(0,z.q)(1)))}function Wi(v){return(0,Z.z)((0,$e.b)(_=>{if(ot(_))throw oi(0,_)}),(0,ie.U)(_=>!0===_))}const kn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Zr(v,_,f,E,P){const Y=Fo(v,_,f);return Y.matched?function Zi(v,_,f,E){const P=_.canMatch;if(!P||0===P.length)return(0,U.of)(!0);const Y=P.map(re=>{const Ve=Hr(re,v);return bt(function F(v){return v&&uo(v.canMatch)}(Ve)?Ve.canMatch(_,f):v.runInContext(()=>Ve(_,f)))});return(0,U.of)(Y).pipe(Ut(),Wi())}(E=ao(_,E),_,f).pipe((0,ie.U)(re=>!0===re?Y:{...kn})):(0,U.of)(Y)}function Fo(v,_,f){if(""===_.path)return"full"===_.pathMatch&&(v.hasChildren()||f.length>0)?{...kn}:{matched:!0,consumedSegments:[],remainingSegments:f,parameters:{},positionalParamSegments:{}};const P=(_.matcher||ft)(f,v,_);if(!P)return{...kn};const Y={};It(P.posParams,(Ve,st)=>{Y[st]=Ve.path});const re=P.consumed.length>0?{...Y,...P.consumed[P.consumed.length-1].parameters}:Y;return{matched:!0,consumedSegments:P.consumed,remainingSegments:f.slice(P.consumed.length),parameters:re,positionalParamSegments:P.posParams??{}}}function wo(v,_,f,E){if(f.length>0&&function Fi(v,_,f){return f.some(E=>Di(v,_,E)&&_r(E)!==oe)}(v,f,E)){const Y=new gt(_,function qo(v,_,f,E){const P={};P[oe]=E,E._sourceSegment=v,E._segmentIndexShift=_.length;for(const Y of f)if(""===Y.path&&_r(Y)!==oe){const re=new gt([],{});re._sourceSegment=v,re._segmentIndexShift=_.length,P[_r(Y)]=re}return P}(v,_,E,new gt(f,v.children)));return Y._sourceSegment=v,Y._segmentIndexShift=_.length,{segmentGroup:Y,slicedSegments:[]}}if(0===f.length&&function Ls(v,_,f){return f.some(E=>Di(v,_,E))}(v,f,E)){const Y=new gt(v.segments,function Kr(v,_,f,E,P){const Y={};for(const re of E)if(Di(v,f,re)&&!P[_r(re)]){const Ve=new gt([],{});Ve._sourceSegment=v,Ve._segmentIndexShift=_.length,Y[_r(re)]=Ve}return{...P,...Y}}(v,_,f,E,v.children));return Y._sourceSegment=v,Y._segmentIndexShift=_.length,{segmentGroup:Y,slicedSegments:f}}const P=new gt(v.segments,v.children);return P._sourceSegment=v,P._segmentIndexShift=_.length,{segmentGroup:P,slicedSegments:f}}function Di(v,_,f){return(!(v.hasChildren()||_.length>0)||"full"!==f.pathMatch)&&""===f.path}function Jo(v,_,f,E){return!!(_r(v)===E||E!==oe&&Di(_,f,v))&&("**"===v.path||Fo(_,v,f).matched)}function ai(v,_,f){return 0===_.length&&!v.children[f]}const Ei=!1;class li{constructor(_){this.segmentGroup=_||null}}class as{constructor(_){this.urlTree=_}}function ci(v){return(0,se._)(new li(v))}function Li(v){return(0,se._)(new as(v))}class cs{constructor(_,f,E,P,Y){this.injector=_,this.configLoader=f,this.urlSerializer=E,this.urlTree=P,this.config=Y,this.allowRedirects=!0}apply(){const _=wo(this.urlTree.root,[],[],this.config).segmentGroup,f=new gt(_.segments,_.children);return this.expandSegmentGroup(this.injector,this.config,f,oe).pipe((0,ie.U)(Y=>this.createUrlTree(pe(Y),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,ne.K)(Y=>{if(Y instanceof as)return this.allowRedirects=!1,this.match(Y.urlTree);throw Y instanceof li?this.noMatchError(Y):Y}))}match(_){return this.expandSegmentGroup(this.injector,this.config,_.root,oe).pipe((0,ie.U)(P=>this.createUrlTree(pe(P),_.queryParams,_.fragment))).pipe((0,ne.K)(P=>{throw P instanceof li?this.noMatchError(P):P}))}noMatchError(_){return new c.vHH(4002,Ei)}createUrlTree(_,f,E){const P=Oe(_);return new Pt(P,f,E)}expandSegmentGroup(_,f,E,P){return 0===E.segments.length&&E.hasChildren()?this.expandChildren(_,f,E).pipe((0,ie.U)(Y=>new gt([],Y))):this.expandSegment(_,E,f,E.segments,P,!0)}expandChildren(_,f,E){const P=[];for(const Y of Object.keys(E.children))"primary"===Y?P.unshift(Y):P.push(Y);return(0,n.D)(P).pipe((0,xe.b)(Y=>{const re=E.children[Y],Ve=ir(f,Y);return this.expandSegmentGroup(_,Ve,re,Y).pipe((0,ie.U)(st=>({segment:st,outlet:Y})))}),(0,be.R)((Y,re)=>(Y[re.outlet]=re.segment,Y),{}),Xe())}expandSegment(_,f,E,P,Y,re){return(0,n.D)(E).pipe((0,xe.b)(Ve=>this.expandSegmentAgainstRoute(_,f,E,Ve,P,Y,re).pipe((0,ne.K)(At=>{if(At instanceof li)return(0,U.of)(null);throw At}))),(0,ge.P)(Ve=>!!Ve),(0,ne.K)((Ve,st)=>{if(Vt(Ve))return ai(f,P,Y)?(0,U.of)(new gt([],{})):ci(f);throw Ve}))}expandSegmentAgainstRoute(_,f,E,P,Y,re,Ve){return Jo(P,f,Y,re)?void 0===P.redirectTo?this.matchSegmentAgainstRoute(_,f,P,Y,re):Ve&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(_,f,E,P,Y,re):ci(f):ci(f)}expandSegmentAgainstRouteUsingRedirect(_,f,E,P,Y,re){return"**"===P.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(_,E,P,re):this.expandRegularSegmentAgainstRouteUsingRedirect(_,f,E,P,Y,re)}expandWildCardWithParamsAgainstRouteUsingRedirect(_,f,E,P){const Y=this.applyRedirectCommands([],E.redirectTo,{});return E.redirectTo.startsWith("/")?Li(Y):this.lineralizeSegments(E,Y).pipe((0,De.z)(re=>{const Ve=new gt(re,{});return this.expandSegment(_,Ve,f,re,P,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(_,f,E,P,Y,re){const{matched:Ve,consumedSegments:st,remainingSegments:At,positionalParamSegments:xt}=Fo(f,P,Y);if(!Ve)return ci(f);const Fn=this.applyRedirectCommands(st,P.redirectTo,xt);return P.redirectTo.startsWith("/")?Li(Fn):this.lineralizeSegments(P,Fn).pipe((0,De.z)(Ir=>this.expandSegment(_,f,E,Ir.concat(At),re,!1)))}matchSegmentAgainstRoute(_,f,E,P,Y){return"**"===E.path?(_=ao(E,_),E.loadChildren?(E._loadedRoutes?(0,U.of)({routes:E._loadedRoutes,injector:E._loadedInjector}):this.configLoader.loadChildren(_,E)).pipe((0,ie.U)(Ve=>(E._loadedRoutes=Ve.routes,E._loadedInjector=Ve.injector,new gt(P,{})))):(0,U.of)(new gt(P,{}))):Zr(f,E,P,_).pipe((0,K.w)(({matched:re,consumedSegments:Ve,remainingSegments:st})=>re?this.getChildConfig(_=E._injector??_,E,P).pipe((0,De.z)(xt=>{const Fn=xt.injector??_,Ir=xt.routes,{segmentGroup:ei,slicedSegments:zo}=wo(f,Ve,st,Ir),pi=new gt(ei.segments,ei.children);if(0===zo.length&&pi.hasChildren())return this.expandChildren(Fn,Ir,pi).pipe((0,ie.U)(Cs=>new gt(Ve,Cs)));if(0===Ir.length&&0===zo.length)return(0,U.of)(new gt(Ve,{}));const So=_r(E)===Y;return this.expandSegment(Fn,pi,Ir,zo,So?oe:Y,!0).pipe((0,ie.U)(bs=>new gt(Ve.concat(bs.segments),bs.children)))})):ci(f)))}getChildConfig(_,f,E){return f.children?(0,U.of)({routes:f.children,injector:_}):f.loadChildren?void 0!==f._loadedRoutes?(0,U.of)({routes:f._loadedRoutes,injector:f._loadedInjector}):function Fs(v,_,f,E){const P=_.canLoad;if(void 0===P||0===P.length)return(0,U.of)(!0);const Y=P.map(re=>{const Ve=Hr(re,v);return bt(function R(v){return v&&uo(v.canLoad)}(Ve)?Ve.canLoad(_,f):v.runInContext(()=>Ve(_,f)))});return(0,U.of)(Y).pipe(Ut(),Wi())}(_,f,E).pipe((0,De.z)(P=>P?this.configLoader.loadChildren(_,f).pipe((0,$e.b)(Y=>{f._loadedRoutes=Y.routes,f._loadedInjector=Y.injector})):function ls(v){return(0,se._)(Wo(Ei,3))}())):(0,U.of)({routes:[],injector:_})}lineralizeSegments(_,f){let E=[],P=f.root;for(;;){if(E=E.concat(P.segments),0===P.numberOfChildren)return(0,U.of)(E);if(P.numberOfChildren>1||!P.children[oe])return _.redirectTo,(0,se._)(new c.vHH(4e3,Ei));P=P.children[oe]}}applyRedirectCommands(_,f,E){return this.applyRedirectCreateUrlTree(f,this.urlSerializer.parse(f),_,E)}applyRedirectCreateUrlTree(_,f,E,P){const Y=this.createSegmentGroup(_,f.root,E,P);return new Pt(Y,this.createQueryParams(f.queryParams,this.urlTree.queryParams),f.fragment)}createQueryParams(_,f){const E={};return It(_,(P,Y)=>{if("string"==typeof P&&P.startsWith(":")){const Ve=P.substring(1);E[Y]=f[Ve]}else E[Y]=P}),E}createSegmentGroup(_,f,E,P){const Y=this.createSegments(_,f.segments,E,P);let re={};return It(f.children,(Ve,st)=>{re[st]=this.createSegmentGroup(_,Ve,E,P)}),new gt(Y,re)}createSegments(_,f,E,P){return f.map(Y=>Y.path.startsWith(":")?this.findPosParam(_,Y,P):this.findOrReturn(Y,E))}findPosParam(_,f,E){const P=E[f.path.substring(1)];if(!P)throw new c.vHH(4001,Ei);return P}findOrReturn(_,f){let E=0;for(const P of f){if(P.path===_.path)return f.splice(E),P;E++}return _}}class Ns{}class nr{constructor(_,f,E,P,Y,re,Ve){this.injector=_,this.rootComponentType=f,this.config=E,this.urlTree=P,this.url=Y,this.paramsInheritanceStrategy=re,this.urlSerializer=Ve}recognize(){const _=wo(this.urlTree.root,[],[],this.config.filter(f=>void 0===f.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,_,oe).pipe((0,ie.U)(f=>{if(null===f)return null;const E=new mo([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},oe,this.rootComponentType,null,this.urlTree.root,-1,{}),P=new Cn(E,f),Y=new Vr(this.url,P);return this.inheritParamsAndData(Y._root),Y}))}inheritParamsAndData(_){const f=_.value,E=Ar(f,this.paramsInheritanceStrategy);f.params=Object.freeze(E.params),f.data=Object.freeze(E.data),_.children.forEach(P=>this.inheritParamsAndData(P))}processSegmentGroup(_,f,E,P){return 0===E.segments.length&&E.hasChildren()?this.processChildren(_,f,E):this.processSegment(_,f,E,E.segments,P)}processChildren(_,f,E){return(0,n.D)(Object.keys(E.children)).pipe((0,xe.b)(P=>{const Y=E.children[P],re=ir(f,P);return this.processSegmentGroup(_,re,Y,P)}),(0,be.R)((P,Y)=>P&&Y?(P.push(...Y),P):null),function tt(v,_=!1){return(0,je.e)((f,E)=>{let P=0;f.subscribe((0,Fe.x)(E,Y=>{const re=v(Y,P++);(re||_)&&E.next(Y),!re&&E.complete()}))})}(P=>null!==P),(0,ae.d)(null),Xe(),(0,ie.U)(P=>{if(null===P)return null;const Y=fs(P);return function us(v){v.sort((_,f)=>_.value.outlet===oe?-1:f.value.outlet===oe?1:_.value.outlet.localeCompare(f.value.outlet))}(Y),Y}))}processSegment(_,f,E,P,Y){return(0,n.D)(f).pipe((0,xe.b)(re=>this.processSegmentAgainstRoute(re._injector??_,re,E,P,Y)),(0,ge.P)(re=>!!re),(0,ne.K)(re=>{if(Vt(re))return ai(E,P,Y)?(0,U.of)([]):(0,U.of)(null);throw re}))}processSegmentAgainstRoute(_,f,E,P,Y){if(f.redirectTo||!Jo(f,E,P,Y))return(0,U.of)(null);let re;if("**"===f.path){const Ve=P.length>0?ht(P).parameters:{},st=Bi(E)+P.length,At=new mo(P,Ve,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,wi(f),_r(f),f.component??f._loadedComponent??null,f,$s(E),st,D(f));re=(0,U.of)({snapshot:At,consumedSegments:[],remainingSegments:[]})}else re=Zr(E,f,P,_).pipe((0,ie.U)(({matched:Ve,consumedSegments:st,remainingSegments:At,parameters:xt})=>{if(!Ve)return null;const Fn=Bi(E)+st.length;return{snapshot:new mo(st,xt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,wi(f),_r(f),f.component??f._loadedComponent??null,f,$s(E),Fn,D(f)),consumedSegments:st,remainingSegments:At}}));return re.pipe((0,K.w)(Ve=>{if(null===Ve)return(0,U.of)(null);const{snapshot:st,consumedSegments:At,remainingSegments:xt}=Ve;_=f._injector??_;const Fn=f._loadedInjector??_,Ir=function ks(v){return v.children?v.children:v.loadChildren?v._loadedRoutes:[]}(f),{segmentGroup:ei,slicedSegments:zo}=wo(E,At,xt,Ir.filter(So=>void 0===So.redirectTo));if(0===zo.length&&ei.hasChildren())return this.processChildren(Fn,Ir,ei).pipe((0,ie.U)(So=>null===So?null:[new Cn(st,So)]));if(0===Ir.length&&0===zo.length)return(0,U.of)([new Cn(st,[])]);const pi=_r(f)===Y;return this.processSegment(Fn,Ir,ei,zo,pi?oe:Y).pipe((0,ie.U)(So=>null===So?null:[new Cn(st,So)]))}))}}function ds(v){const _=v.value.routeConfig;return _&&""===_.path&&void 0===_.redirectTo}function fs(v){const _=[],f=new Set;for(const E of v){if(!ds(E)){_.push(E);continue}const P=_.find(Y=>E.value.routeConfig===Y.value.routeConfig);void 0!==P?(P.children.push(...E.children),f.add(P)):_.push(E)}for(const E of f){const P=fs(E.children);_.push(new Cn(E.value,P))}return _.filter(E=>!f.has(E))}function $s(v){let _=v;for(;_._sourceSegment;)_=_._sourceSegment;return _}function Bi(v){let _=v,f=_._segmentIndexShift??0;for(;_._sourceSegment;)_=_._sourceSegment,f+=_._segmentIndexShift??0;return f-1}function wi(v){return v.data||{}}function D(v){return v.resolve||{}}function kt(v){return"string"==typeof v.title||null===v.title}function In(v){return(0,K.w)(_=>{const f=v(_);return f?(0,n.D)(f).pipe((0,ie.U)(()=>_)):(0,U.of)(_)})}const pn=new c.OlP("ROUTES");let rn=(()=>{class v{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,c.f3M)(c.Sil)}loadComponent(f){if(this.componentLoaders.get(f))return this.componentLoaders.get(f);if(f._loadedComponent)return(0,U.of)(f._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(f);const E=bt(f.loadComponent()).pipe((0,ie.U)(Rn),(0,$e.b)(Y=>{this.onLoadEndListener&&this.onLoadEndListener(f),f._loadedComponent=Y}),(0,N.x)(()=>{this.componentLoaders.delete(f)})),P=new ce.c(E,()=>new X.x).pipe((0,I.x)());return this.componentLoaders.set(f,P),P}loadChildren(f,E){if(this.childrenLoaders.get(E))return this.childrenLoaders.get(E);if(E._loadedRoutes)return(0,U.of)({routes:E._loadedRoutes,injector:E._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(E);const Y=this.loadModuleFactoryOrRoutes(E.loadChildren).pipe((0,ie.U)(Ve=>{this.onLoadEndListener&&this.onLoadEndListener(E);let st,At,xt=!1;Array.isArray(Ve)?At=Ve:(st=Ve.create(f).injector,At=at(st.get(pn,[],c.XFs.Self|c.XFs.Optional)));return{routes:At.map(Uo),injector:st}}),(0,N.x)(()=>{this.childrenLoaders.delete(E)})),re=new ce.c(Y,()=>new X.x).pipe((0,I.x)());return this.childrenLoaders.set(E,re),re}loadModuleFactoryOrRoutes(f){return bt(f()).pipe((0,ie.U)(Rn),(0,De.z)(E=>E instanceof c.YKP||Array.isArray(E)?(0,U.of)(E):(0,n.D)(this.compiler.compileModuleAsync(E))))}}return v.\u0275fac=function(f){return new(f||v)},v.\u0275prov=c.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})();function Rn(v){return function pr(v){return v&&"object"==typeof v&&"default"in v}(v)?v.default:v}let qr=(()=>{class v{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new X.x,this.configLoader=(0,c.f3M)(rn),this.environmentInjector=(0,c.f3M)(c.lqb),this.urlSerializer=(0,c.f3M)(xn),this.rootContexts=(0,c.f3M)(io),this.navigationId=0,this.afterPreactivation=()=>(0,U.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=P=>this.events.next(new Ue(P)),this.configLoader.onLoadStartListener=P=>this.events.next(new Ce(P))}complete(){this.transitions?.complete()}handleNavigationRequest(f){const E=++this.navigationId;this.transitions?.next({...this.transitions.value,...f,id:E})}setupNavigations(f){return this.transitions=new $.X({id:0,targetPageId:0,currentUrlTree:f.currentUrlTree,currentRawUrl:f.currentUrlTree,extractedUrl:f.urlHandlingStrategy.extract(f.currentUrlTree),urlAfterRedirects:f.urlHandlingStrategy.extract(f.currentUrlTree),rawUrl:f.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Vn,restoredState:null,currentSnapshot:f.routerState.snapshot,targetSnapshot:null,currentRouterState:f.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Le.h)(E=>0!==E.id),(0,ie.U)(E=>({...E,extractedUrl:f.urlHandlingStrategy.extract(E.rawUrl)})),(0,K.w)(E=>{let P=!1,Y=!1;return(0,U.of)(E).pipe((0,$e.b)(re=>{this.currentNavigation={id:re.id,initialUrl:re.rawUrl,extractedUrl:re.extractedUrl,trigger:re.source,extras:re.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,K.w)(re=>{const Ve=f.browserUrlTree.toString(),st=!f.navigated||re.extractedUrl.toString()!==Ve||Ve!==f.currentUrlTree.toString();if(!st&&"reload"!==(re.extras.onSameUrlNavigation??f.onSameUrlNavigation)){const xt="";return this.events.next(new Be(re.id,f.serializeUrl(E.rawUrl),xt,0)),f.rawUrlTree=re.rawUrl,re.resolve(null),ee.E}if(f.urlHandlingStrategy.shouldProcessUrl(re.rawUrl))return $r(re.source)&&(f.browserUrlTree=re.extractedUrl),(0,U.of)(re).pipe((0,K.w)(xt=>{const Fn=this.transitions?.getValue();return this.events.next(new Me(xt.id,this.urlSerializer.serialize(xt.extractedUrl),xt.source,xt.restoredState)),Fn!==this.transitions?.getValue()?ee.E:Promise.resolve(xt)}),function qi(v,_,f,E){return(0,K.w)(P=>function Ki(v,_,f,E,P){return new cs(v,_,f,E,P).apply()}(v,_,f,P.extractedUrl,E).pipe((0,ie.U)(Y=>({...P,urlAfterRedirects:Y}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,f.config),(0,$e.b)(xt=>{this.currentNavigation={...this.currentNavigation,finalUrl:xt.urlAfterRedirects},E.urlAfterRedirects=xt.urlAfterRedirects}),function B(v,_,f,E,P){return(0,De.z)(Y=>function Vo(v,_,f,E,P,Y,re="emptyOnly"){return new nr(v,_,f,E,P,re,Y).recognize().pipe((0,K.w)(Ve=>null===Ve?function Nr(v){return new G.y(_=>_.error(v))}(new Ns):(0,U.of)(Ve)))}(v,_,f,Y.urlAfterRedirects,E.serialize(Y.urlAfterRedirects),E,P).pipe((0,ie.U)(re=>({...Y,targetSnapshot:re}))))}(this.environmentInjector,this.rootComponentType,f.config,this.urlSerializer,f.paramsInheritanceStrategy),(0,$e.b)(xt=>{if(E.targetSnapshot=xt.targetSnapshot,"eager"===f.urlUpdateStrategy){if(!xt.extras.skipLocationChange){const Ir=f.urlHandlingStrategy.merge(xt.urlAfterRedirects,xt.rawUrl);f.setBrowserUrl(Ir,xt)}f.browserUrlTree=xt.urlAfterRedirects}const Fn=new A(xt.id,this.urlSerializer.serialize(xt.extractedUrl),this.urlSerializer.serialize(xt.urlAfterRedirects),xt.targetSnapshot);this.events.next(Fn)}));if(st&&f.urlHandlingStrategy.shouldProcessUrl(f.rawUrlTree)){const{id:xt,extractedUrl:Fn,source:Ir,restoredState:ei,extras:zo}=re,pi=new Me(xt,this.urlSerializer.serialize(Fn),Ir,ei);this.events.next(pi);const So=Qr(Fn,this.rootComponentType).snapshot;return E={...re,targetSnapshot:So,urlAfterRedirects:Fn,extras:{...zo,skipLocationChange:!1,replaceUrl:!1}},(0,U.of)(E)}{const xt="";return this.events.next(new Be(re.id,f.serializeUrl(E.extractedUrl),xt,1)),f.rawUrlTree=re.rawUrl,re.resolve(null),ee.E}}),(0,$e.b)(re=>{const Ve=new T(re.id,this.urlSerializer.serialize(re.extractedUrl),this.urlSerializer.serialize(re.urlAfterRedirects),re.targetSnapshot);this.events.next(Ve)}),(0,ie.U)(re=>E={...re,guards:Do(re.targetSnapshot,re.currentSnapshot,this.rootContexts)}),function to(v,_){return(0,De.z)(f=>{const{targetSnapshot:E,currentSnapshot:P,guards:{canActivateChecks:Y,canDeactivateChecks:re}}=f;return 0===re.length&&0===Y.length?(0,U.of)({...f,guardsResult:!0}):function fo(v,_,f,E){return(0,n.D)(v).pipe((0,De.z)(P=>function Gi(v,_,f,E,P){const Y=_&&_.routeConfig?_.routeConfig.canDeactivate:null;if(!Y||0===Y.length)return(0,U.of)(!0);const re=Y.map(Ve=>{const st=Lr(_)??P,At=Hr(Ve,st);return bt(function d(v){return v&&uo(v.canDeactivate)}(At)?At.canDeactivate(v,_,f,E):st.runInContext(()=>At(v,_,f,E))).pipe((0,ge.P)())});return(0,U.of)(re).pipe(Ut())}(P.component,P.route,f,_,E)),(0,ge.P)(P=>!0!==P,!0))}(re,E,P,v).pipe((0,De.z)(Ve=>Ve&&function u(v){return"boolean"==typeof v}(Ve)?function jt(v,_,f,E){return(0,n.D)(_).pipe((0,xe.b)(P=>(0,x.z)(function Zo(v,_){return null!==v&&_&&_(new Qe(v)),(0,U.of)(!0)}(P.route.parent,E),function jr(v,_){return null!==v&&_&&_(new ye(v)),(0,U.of)(!0)}(P.route,E),function Ko(v,_,f){const E=_[_.length-1],Y=_.slice(0,_.length-1).reverse().map(re=>function sr(v){const _=v.routeConfig?v.routeConfig.canActivateChild:null;return _&&0!==_.length?{node:v,guards:_}:null}(re)).filter(re=>null!==re).map(re=>(0,V.P)(()=>{const Ve=re.guards.map(st=>{const At=Lr(re.node)??f,xt=Hr(st,At);return bt(function l(v){return v&&uo(v.canActivateChild)}(xt)?xt.canActivateChild(E,v):At.runInContext(()=>xt(E,v))).pipe((0,ge.P)())});return(0,U.of)(Ve).pipe(Ut())}));return(0,U.of)(Y).pipe(Ut())}(v,P.path,f),function Wr(v,_,f){const E=_.routeConfig?_.routeConfig.canActivate:null;if(!E||0===E.length)return(0,U.of)(!0);const P=E.map(Y=>(0,V.P)(()=>{const re=Lr(_)??f,Ve=Hr(Y,re);return bt(function s(v){return v&&uo(v.canActivate)}(Ve)?Ve.canActivate(_,v):re.runInContext(()=>Ve(_,v))).pipe((0,ge.P)())}));return(0,U.of)(P).pipe(Ut())}(v,P.route,f))),(0,ge.P)(P=>!0!==P,!0))}(E,Y,v,_):(0,U.of)(Ve)),(0,ie.U)(Ve=>({...f,guardsResult:Ve})))})}(this.environmentInjector,re=>this.events.next(re)),(0,$e.b)(re=>{if(E.guardsResult=re.guardsResult,ot(re.guardsResult))throw oi(0,re.guardsResult);const Ve=new H(re.id,this.urlSerializer.serialize(re.extractedUrl),this.urlSerializer.serialize(re.urlAfterRedirects),re.targetSnapshot,!!re.guardsResult);this.events.next(Ve)}),(0,Le.h)(re=>!!re.guardsResult||(f.restoreHistory(re),this.cancelNavigationTransition(re,"",3),!1)),In(re=>{if(re.guards.canActivateChecks.length)return(0,U.of)(re).pipe((0,$e.b)(Ve=>{const st=new te(Ve.id,this.urlSerializer.serialize(Ve.extractedUrl),this.urlSerializer.serialize(Ve.urlAfterRedirects),Ve.targetSnapshot);this.events.next(st)}),(0,K.w)(Ve=>{let st=!1;return(0,U.of)(Ve).pipe(function S(v,_){return(0,De.z)(f=>{const{targetSnapshot:E,guards:{canActivateChecks:P}}=f;if(!P.length)return(0,U.of)(f);let Y=0;return(0,n.D)(P).pipe((0,xe.b)(re=>function W(v,_,f,E){const P=v.routeConfig,Y=v._resolve;return void 0!==P?.title&&!kt(P)&&(Y[ue]=P.title),function Ee(v,_,f,E){const P=function nt(v){return[...Object.keys(v),...Object.getOwnPropertySymbols(v)]}(v);if(0===P.length)return(0,U.of)({});const Y={};return(0,n.D)(P).pipe((0,De.z)(re=>function ut(v,_,f,E){const P=Lr(_)??E,Y=Hr(v,P);return bt(Y.resolve?Y.resolve(_,f):P.runInContext(()=>Y(_,f)))}(v[re],_,f,E).pipe((0,ge.P)(),(0,$e.b)(Ve=>{Y[re]=Ve}))),Ae(1),(0,he.h)(Y),(0,ne.K)(re=>Vt(re)?ee.E:(0,se._)(re)))}(Y,v,_,E).pipe((0,ie.U)(re=>(v._resolvedData=re,v.data=Ar(v,f).resolve,P&&kt(P)&&(v.data[ue]=P.title),null)))}(re.route,E,v,_)),(0,$e.b)(()=>Y++),Ae(1),(0,De.z)(re=>Y===P.length?(0,U.of)(f):ee.E))})}(f.paramsInheritanceStrategy,this.environmentInjector),(0,$e.b)({next:()=>st=!0,complete:()=>{st||(f.restoreHistory(Ve),this.cancelNavigationTransition(Ve,"",2))}}))}),(0,$e.b)(Ve=>{const st=new we(Ve.id,this.urlSerializer.serialize(Ve.extractedUrl),this.urlSerializer.serialize(Ve.urlAfterRedirects),Ve.targetSnapshot);this.events.next(st)}))}),In(re=>{const Ve=st=>{const At=[];st.routeConfig?.loadComponent&&!st.routeConfig._loadedComponent&&At.push(this.configLoader.loadComponent(st.routeConfig).pipe((0,$e.b)(xt=>{st.component=xt}),(0,ie.U)(()=>{})));for(const xt of st.children)At.push(...Ve(xt));return At};return(0,O.a)(Ve(re.targetSnapshot.root)).pipe((0,ae.d)(),(0,z.q)(1))}),In(()=>this.afterPreactivation()),(0,ie.U)(re=>{const Ve=function Ao(v,_,f){const E=xo(v,_._root,f?f._root:void 0);return new go(E,_)}(f.routeReuseStrategy,re.targetSnapshot,re.currentRouterState);return E={...re,targetRouterState:Ve}}),(0,$e.b)(re=>{f.currentUrlTree=re.urlAfterRedirects,f.rawUrlTree=f.urlHandlingStrategy.merge(re.urlAfterRedirects,re.rawUrl),f.routerState=re.targetRouterState,"deferred"===f.urlUpdateStrategy&&(re.extras.skipLocationChange||f.setBrowserUrl(f.rawUrlTree,re),f.browserUrlTree=re.urlAfterRedirects)}),((v,_,f)=>(0,ie.U)(E=>(new vr(_,E.targetRouterState,E.currentRouterState,f).activate(v),E)))(this.rootContexts,f.routeReuseStrategy,re=>this.events.next(re)),(0,z.q)(1),(0,$e.b)({next:re=>{P=!0,this.lastSuccessfulNavigation=this.currentNavigation,f.navigated=!0,this.events.next(new fe(re.id,this.urlSerializer.serialize(re.extractedUrl),this.urlSerializer.serialize(f.currentUrlTree))),f.titleStrategy?.updateTitle(re.targetRouterState.snapshot),re.resolve(!0)},complete:()=>{P=!0}}),(0,N.x)(()=>{P||Y||this.cancelNavigationTransition(E,"",1),this.currentNavigation?.id===E.id&&(this.currentNavigation=null)}),(0,ne.K)(re=>{if(Y=!0,Gr(re)){bo(re)||(f.navigated=!0,f.restoreHistory(E,!0));const Ve=new Te(E.id,this.urlSerializer.serialize(E.extractedUrl),re.message,re.cancellationCode);if(this.events.next(Ve),bo(re)){const st=f.urlHandlingStrategy.merge(re.url,f.rawUrlTree),At={skipLocationChange:E.extras.skipLocationChange,replaceUrl:"eager"===f.urlUpdateStrategy||$r(E.source)};f.scheduleNavigation(st,Vn,null,At,{resolve:E.resolve,reject:E.reject,promise:E.promise})}else E.resolve(!1)}else{f.restoreHistory(E,!0);const Ve=new Pe(E.id,this.urlSerializer.serialize(E.extractedUrl),re,E.targetSnapshot??void 0);this.events.next(Ve);try{E.resolve(f.errorHandler(re))}catch(st){E.reject(st)}}return ee.E}))}))}cancelNavigationTransition(f,E,P){const Y=new Te(f.id,this.urlSerializer.serialize(f.extractedUrl),E,P);this.events.next(Y),f.resolve(!1)}}return v.\u0275fac=function(f){return new(f||v)},v.\u0275prov=c.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})();function $r(v){return v!==Vn}let Lo=(()=>{class v{buildTitle(f){let E,P=f.root;for(;void 0!==P;)E=this.getResolvedTitleForRoute(P)??E,P=P.children.find(Y=>Y.outlet===oe);return E}getResolvedTitleForRoute(f){return f.data[ue]}}return v.\u0275fac=function(f){return new(f||v)},v.\u0275prov=c.Yz7({token:v,factory:function(){return(0,c.f3M)(Jr)},providedIn:"root"}),v})(),Jr=(()=>{class v extends Lo{constructor(f){super(),this.title=f}updateTitle(f){const E=this.buildTitle(f);void 0!==E&&this.title.setTitle(E)}}return v.\u0275fac=function(f){return new(f||v)(c.LFG(j.Dx))},v.\u0275prov=c.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})(),no=(()=>{class v{}return v.\u0275fac=function(f){return new(f||v)},v.\u0275prov=c.Yz7({token:v,factory:function(){return(0,c.f3M)(Mo)},providedIn:"root"}),v})();class Ho{shouldDetach(_){return!1}store(_,f){}shouldAttach(_){return!1}retrieve(_){return null}shouldReuseRoute(_,f){return _.routeConfig===f.routeConfig}}let Mo=(()=>{class v extends Ho{}return v.\u0275fac=function(){let _;return function(E){return(_||(_=c.n5z(v)))(E||v)}}(),v.\u0275prov=c.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})();const ui=new c.OlP("",{providedIn:"root",factory:()=>({})});let Xa=(()=>{class v{}return v.\u0275fac=function(f){return new(f||v)},v.\u0275prov=c.Yz7({token:v,factory:function(){return(0,c.f3M)(Us)},providedIn:"root"}),v})(),Us=(()=>{class v{shouldProcessUrl(f){return!0}extract(f){return f}merge(f,E){return f}}return v.\u0275fac=function(f){return new(f||v)},v.\u0275prov=c.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})();function ya(v){throw v}function No(v,_,f){return _.parse("/")}const _a={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Xi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let kr=(()=>{class v{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,c.f3M)(c.c2e),this.isNgZoneEnabled=!1,this.options=(0,c.f3M)(ui,{optional:!0})||{},this.errorHandler=this.options.errorHandler||ya,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||No,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,c.f3M)(Xa),this.routeReuseStrategy=(0,c.f3M)(no),this.urlCreationStrategy=(0,c.f3M)(tr),this.titleStrategy=(0,c.f3M)(Lo),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=at((0,c.f3M)(pn,{optional:!0})??[]),this.navigationTransitions=(0,c.f3M)(qr),this.urlSerializer=(0,c.f3M)(xn),this.location=(0,c.f3M)(de.Ye),this.isNgZoneEnabled=(0,c.f3M)(c.R0b)instanceof c.R0b&&c.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Pt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Qr(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(f=>{this.lastSuccessfulId=f.id,this.currentPageId=this.browserPageId??0},f=>{this.console.warn(`Unhandled Navigation Error: ${f}`)})}resetRootComponentType(f){this.routerState.root.component=f,this.navigationTransitions.rootComponentType=f}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const f=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Vn,f)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(f=>{const E="popstate"===f.type?"popstate":"hashchange";"popstate"===E&&setTimeout(()=>{this.navigateToSyncWithBrowser(f.url,E,f.state)},0)}))}navigateToSyncWithBrowser(f,E,P){const Y={replaceUrl:!0},re=P?.navigationId?P:null;if(P){const st={...P};delete st.navigationId,delete st.\u0275routerPageId,0!==Object.keys(st).length&&(Y.state=st)}const Ve=this.parseUrl(f);this.scheduleNavigation(Ve,E,re,Y)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(f){this.config=f.map(Uo),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(f,E={}){const{relativeTo:P,queryParams:Y,fragment:re,queryParamsHandling:Ve,preserveFragment:st}=E,At=st?this.currentUrlTree.fragment:re;let xt=null;switch(Ve){case"merge":xt={...this.currentUrlTree.queryParams,...Y};break;case"preserve":xt=this.currentUrlTree.queryParams;break;default:xt=Y||null}return null!==xt&&(xt=this.removeEmptyProps(xt)),this.urlCreationStrategy.createUrlTree(P,this.routerState,this.currentUrlTree,f,xt,At??null)}navigateByUrl(f,E={skipLocationChange:!1}){const P=ot(f)?f:this.parseUrl(f),Y=this.urlHandlingStrategy.merge(P,this.rawUrlTree);return this.scheduleNavigation(Y,Vn,null,E)}navigate(f,E={skipLocationChange:!1}){return function Vs(v){for(let _=0;_{const Y=f[P];return null!=Y&&(E[P]=Y),E},{})}scheduleNavigation(f,E,P,Y,re){if(this.disposed)return Promise.resolve(!1);let Ve,st,At,xt;return re?(Ve=re.resolve,st=re.reject,At=re.promise):At=new Promise((Fn,Ir)=>{Ve=Fn,st=Ir}),xt="computed"===this.canceledNavigationResolution?P&&P.\u0275routerPageId?P.\u0275routerPageId:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:xt,source:E,restoredState:P,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:f,extras:Y,resolve:Ve,reject:st,promise:At,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),At.catch(Fn=>Promise.reject(Fn))}setBrowserUrl(f,E){const P=this.urlSerializer.serialize(f);if(this.location.isCurrentPathEqualTo(P)||E.extras.replaceUrl){const re={...E.extras.state,...this.generateNgRouterState(E.id,this.browserPageId)};this.location.replaceState(P,"",re)}else{const Y={...E.extras.state,...this.generateNgRouterState(E.id,E.targetPageId)};this.location.go(P,"",Y)}}restoreHistory(f,E=!1){if("computed"===this.canceledNavigationResolution){const Y=this.currentPageId-(this.browserPageId??this.currentPageId);0!==Y?this.location.historyGo(Y):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===Y&&(this.resetState(f),this.browserUrlTree=f.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(E&&this.resetState(f),this.resetUrlToCurrentUrlTree())}resetState(f){this.routerState=f.currentRouterState,this.currentUrlTree=f.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,f.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(f,E){return"computed"===this.canceledNavigationResolution?{navigationId:f,\u0275routerPageId:E}:{navigationId:f}}}return v.\u0275fac=function(f){return new(f||v)},v.\u0275prov=c.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})(),Mi=(()=>{class v{constructor(f,E,P,Y,re,Ve){this.router=f,this.route=E,this.tabIndexAttribute=P,this.renderer=Y,this.el=re,this.locationStrategy=Ve,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new X.x;const st=re.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===st||"area"===st,this.isAnchorElement?this.subscription=f.events.subscribe(At=>{At instanceof fe&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(f){this._preserveFragment=(0,c.D6c)(f)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(f){this._skipLocationChange=(0,c.D6c)(f)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(f){this._replaceUrl=(0,c.D6c)(f)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(f){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",f)}ngOnChanges(f){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(f){null!=f?(this.commands=Array.isArray(f)?f:[f],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(f,E,P,Y,re){return!!(null===this.urlTree||this.isAnchorElement&&(0!==f||E||P||Y||re||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const f=null===this.href?null:(0,c.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",f)}applyAttributeValue(f,E){const P=this.renderer,Y=this.el.nativeElement;null!==E?P.setAttribute(Y,f,E):P.removeAttribute(Y,f)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return v.\u0275fac=function(f){return new(f||v)(c.Y36(kr),c.Y36(zn),c.$8M("tabindex"),c.Y36(c.Qsj),c.Y36(c.SBq),c.Y36(de.S$))},v.\u0275dir=c.lG2({type:v,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(f,E){1&f&&c.NdJ("click",function(Y){return E.onClick(Y.button,Y.ctrlKey,Y.shiftKey,Y.altKey,Y.metaKey)}),2&f&&c.uIk("target",E.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[c.TTD]}),v})();class gs{}let Hs=(()=>{class v{preload(f,E){return E().pipe((0,ne.K)(()=>(0,U.of)(null)))}}return v.\u0275fac=function(f){return new(f||v)},v.\u0275prov=c.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})(),js=(()=>{class v{constructor(f,E,P,Y,re){this.router=f,this.injector=P,this.preloadingStrategy=Y,this.loader=re}setUpPreloading(){this.subscription=this.router.events.pipe((0,Le.h)(f=>f instanceof fe),(0,xe.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(f,E){const P=[];for(const Y of E){Y.providers&&!Y._injector&&(Y._injector=(0,c.MMx)(Y.providers,f,`Route: ${Y.path}`));const re=Y._injector??f,Ve=Y._loadedInjector??re;(Y.loadChildren&&!Y._loadedRoutes&&void 0===Y.canLoad||Y.loadComponent&&!Y._loadedComponent)&&P.push(this.preloadConfig(re,Y)),(Y.children||Y._loadedRoutes)&&P.push(this.processRoutes(Ve,Y.children??Y._loadedRoutes))}return(0,n.D)(P).pipe((0,L.J)())}preloadConfig(f,E){return this.preloadingStrategy.preload(E,()=>{let P;P=E.loadChildren&&void 0===E.canLoad?this.loader.loadChildren(f,E):(0,U.of)(null);const Y=P.pipe((0,De.z)(re=>null===re?(0,U.of)(void 0):(E._loadedRoutes=re.routes,E._loadedInjector=re.injector,this.processRoutes(re.injector??f,re.routes))));if(E.loadComponent&&!E._loadedComponent){const re=this.loader.loadComponent(E);return(0,n.D)([Y,re]).pipe((0,L.J)())}return Y})}}return v.\u0275fac=function(f){return new(f||v)(c.LFG(kr),c.LFG(c.Sil),c.LFG(c.lqb),c.LFG(gs),c.LFG(rn))},v.\u0275prov=c.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})();const ms=new c.OlP("");let Ui=(()=>{class v{constructor(f,E,P,Y,re={}){this.urlSerializer=f,this.transitions=E,this.viewportScroller=P,this.zone=Y,this.options=re,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},re.scrollPositionRestoration=re.scrollPositionRestoration||"disabled",re.anchorScrolling=re.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(f=>{f instanceof Me?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=f.navigationTrigger,this.restoredId=f.restoredState?f.restoredState.navigationId:0):f instanceof fe&&(this.lastId=f.id,this.scheduleScrollEvent(f,this.urlSerializer.parse(f.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(f=>{f instanceof _t&&(f.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(f.position):f.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(f.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(f,E){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new _t(f,"popstate"===this.lastSource?this.store[this.restoredId]:null,E))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return v.\u0275fac=function(f){c.$Z()},v.\u0275prov=c.Yz7({token:v,factory:v.\u0275fac}),v})();var wr=(()=>((wr=wr||{})[wr.COMPLETE=0]="COMPLETE",wr[wr.FAILED=1]="FAILED",wr[wr.REDIRECTING=2]="REDIRECTING",wr))();const jo=!1;function Xo(v,_){return{\u0275kind:v,\u0275providers:_}}const Qi=new c.OlP("",{providedIn:"root",factory:()=>!1});function ts(){const v=(0,c.f3M)(c.zs3);return _=>{const f=v.get(c.z2F);if(_!==f.components[0])return;const E=v.get(kr),P=v.get(fi);1===v.get(Qo)&&E.initialNavigation(),v.get(hi,null,c.XFs.Optional)?.setUpPreloading(),v.get(ms,null,c.XFs.Optional)?.init(),E.resetRootComponentType(f.componentTypes[0]),P.closed||(P.next(),P.complete(),P.unsubscribe())}}const fi=new c.OlP(jo?"bootstrap done indicator":"",{factory:()=>new X.x}),Qo=new c.OlP(jo?"initial navigation":"",{providedIn:"root",factory:()=>1});function ys(){let v=[];return v=jo?[{provide:c.Xts,multi:!0,useFactory:()=>{const _=(0,c.f3M)(kr);return()=>_.events.subscribe(f=>{console.group?.(`Router Event: ${f.constructor.name}`),console.log(function Ft(v){if(!("type"in v))return`Unknown Router Event: ${v.constructor.name}`;switch(v.type){case 14:return`ActivationEnd(path: '${v.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${v.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${v.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${v.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${v.id}, url: '${v.url}', urlAfterRedirects: '${v.urlAfterRedirects}', state: ${v.state}, shouldActivate: ${v.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${v.id}, url: '${v.url}', urlAfterRedirects: '${v.urlAfterRedirects}', state: ${v.state})`;case 2:return`NavigationCancel(id: ${v.id}, url: '${v.url}')`;case 16:return`NavigationSkipped(id: ${v.id}, url: '${v.url}')`;case 1:return`NavigationEnd(id: ${v.id}, url: '${v.url}', urlAfterRedirects: '${v.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${v.id}, url: '${v.url}', error: ${v.error})`;case 0:return`NavigationStart(id: ${v.id}, url: '${v.url}')`;case 6:return`ResolveEnd(id: ${v.id}, url: '${v.url}', urlAfterRedirects: '${v.urlAfterRedirects}', state: ${v.state})`;case 5:return`ResolveStart(id: ${v.id}, url: '${v.url}', urlAfterRedirects: '${v.urlAfterRedirects}', state: ${v.state})`;case 10:return`RouteConfigLoadEnd(path: ${v.route.path})`;case 9:return`RouteConfigLoadStart(path: ${v.route.path})`;case 4:return`RoutesRecognized(id: ${v.id}, url: '${v.url}', urlAfterRedirects: '${v.urlAfterRedirects}', state: ${v.state})`;case 15:return`Scroll(anchor: '${v.anchor}', position: '${v.position?`${v.position[0]}, ${v.position[1]}`:null}')`}}(f)),console.log(f),console.groupEnd?.()})}}]:[],Xo(1,v)}const hi=new c.OlP(jo?"router preloader":"");function el(v){return Xo(0,[{provide:hi,useExisting:js},{provide:gs,useExisting:v}])}const ns=!1,Ea=new c.OlP(ns?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),nl=[de.Ye,{provide:xn,useClass:yr},kr,io,{provide:zn,useFactory:function di(v){return v.routerState.root},deps:[kr]},rn,ns?{provide:Qi,useValue:!0}:[]];function rl(){return new c.PXZ("Router",kr)}let ol=(()=>{class v{constructor(f){}static forRoot(f,E){return{ngModule:v,providers:[nl,ns&&E?.enableTracing?ys().\u0275providers:[],{provide:pn,multi:!0,useValue:f},{provide:Ea,useFactory:Mr,deps:[[kr,new c.FiY,new c.tp0]]},{provide:ui,useValue:E||{}},E?.useHash?{provide:de.S$,useClass:de.Do}:{provide:de.S$,useClass:de.b0},{provide:ms,useFactory:()=>{const v=(0,c.f3M)(de.EM),_=(0,c.f3M)(c.R0b),f=(0,c.f3M)(ui),E=(0,c.f3M)(qr),P=(0,c.f3M)(xn);return f.scrollOffset&&v.setOffset(f.scrollOffset),new Ui(P,E,v,_,f)}},E?.preloadingStrategy?el(E.preloadingStrategy).\u0275providers:[],{provide:c.PXZ,multi:!0,useFactory:rl},E?.initialNavigation?_s(E):[],[{provide:Si,useFactory:ts},{provide:c.tb,multi:!0,useExisting:Si}]]}}static forChild(f){return{ngModule:v,providers:[{provide:pn,multi:!0,useValue:f}]}}}return v.\u0275fac=function(f){return new(f||v)(c.LFG(Ea,8))},v.\u0275mod=c.oAB({type:v}),v.\u0275inj=c.cJS({imports:[Oo]}),v})();function Mr(v){if(ns&&v)throw new c.vHH(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function _s(v){return["disabled"===v.initialNavigation?Xo(3,[{provide:c.ip1,multi:!0,useFactory:()=>{const _=(0,c.f3M)(kr);return()=>{_.setUpLocationChangeListener()}}},{provide:Qo,useValue:2}]).\u0275providers:[],"enabledBlocking"===v.initialNavigation?Xo(2,[{provide:Qo,useValue:0},{provide:c.ip1,multi:!0,deps:[c.zs3],useFactory:_=>{const f=_.get(de.V_,Promise.resolve());return()=>f.then(()=>new Promise(E=>{const P=_.get(kr),Y=_.get(fi);(function vs(v,_){v.events.pipe((0,Le.h)(f=>f instanceof fe||f instanceof Te||f instanceof Pe||f instanceof Be),(0,ie.U)(f=>f instanceof fe||f instanceof Be?wr.COMPLETE:f instanceof Te&&(0===f.code||1===f.code)?wr.REDIRECTING:wr.FAILED),(0,Le.h)(f=>f!==wr.REDIRECTING),(0,z.q)(1)).subscribe(()=>{_()})})(P,()=>{E(!0)}),_.get(qr).afterPreactivation=()=>(E(!0),Y.closed?(0,U.of)(void 0):Y),P.initialNavigation()}))}}]).\u0275providers:[]]}const Si=new c.OlP(ns?"Router Initializer":"")},9767:(ct,Ie,b)=>{"use strict";b.d(Ie,{Br:()=>Er,w:()=>Ne,dr:()=>ar,oU:()=>vn,cs:()=>Yn,yp:()=>Pt,YG:()=>on,Sm:()=>Zt,nz:()=>Ht,wI:()=>tn,W2:()=>Wn,fr:()=>Tn,jY:()=>dr,Gu:()=>fn,gu:()=>nn,pK:()=>We,Ie:()=>Oe,Ub:()=>Ge,Q$:()=>cn,q_:()=>wn,yh:()=>Dr,z0:()=>Qt,fG:()=>Mn,zc:()=>mr,ki:()=>ao,uN:()=>Yt,I_:()=>mn,Nh:()=>Zn,oz:()=>Mt,jP:()=>bo,Nd:()=>hn,cJ:()=>Q,GO:()=>Me,t9:()=>fe,n0:()=>Te,Bs:()=>Ce,wd:()=>Ue,ho:()=>Ke,sr:()=>ye,Pc:()=>eo,r4:()=>Hr,IN:()=>Lr,SH:()=>tr,X1:()=>Cn,t4:()=>St,Dh:()=>Ro,YI:()=>Bo,QI:()=>at,j9:()=>ht,yF:()=>vr});var c=b(5861),n=b(4650),U=b(4006),$=b(7582),J=b(4968),O=b(7579),x=b(1135),V=b(9841),Z=b(9646),se=b(6159),de=(b(2438),b(8962),b(7486),b(9531),b(7263)),ie=b(2674),K=b(1180),z=b(4309),Le=(b(6604),b(1701)),xe=(b(7693),b(6412),b(1071)),ne=b(9300),be=b(3900),je=b(1884),Fe=b(6895);const He=de.i,me=["*"];function I(u,R){if(1&u&&(n.TgZ(0,"div",1),n.GkF(1,2),n.qZA()),2&u){const s=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",s.template)}}const j=u=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(u):"function"==typeof requestAnimationFrame?requestAnimationFrame(u):setTimeout(u);let oe=(()=>{class u{constructor(s,l){this.injector=s,this.el=l,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(s){this.el.nativeElement.value=this.lastValue=s,ue(this.el)}handleValueChange(s,l){s===this.el.nativeElement&&(l!==this.lastValue&&(this.lastValue=l,this.onChange(l)),ue(this.el))}_handleBlurEvent(s){s===this.el.nativeElement&&(this.onTouched(),ue(this.el))}registerOnChange(s){this.onChange=s}registerOnTouched(s){this.onTouched=s}setDisabledState(s){this.el.nativeElement.disabled=s}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let s;try{s=this.injector.get(U.a5)}catch{}if(!s)return;s.statusChanges&&(this.statusChanges=s.statusChanges.subscribe(()=>ue(this.el)));const l=s.control;l&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(F=>{if(typeof l[F]<"u"){const Re=l[F].bind(l);l[F]=(...lt)=>{Re(...lt),ue(this.el)}}})}}return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.zs3),n.Y36(n.SBq))},u.\u0275dir=n.lG2({type:u,hostBindings:function(s,l){1&s&&n.NdJ("ionBlur",function(F){return l._handleBlurEvent(F.target)})}}),u})();const ue=u=>{j(()=>{const R=u.nativeElement,s=null!=R.value&&R.value.toString().length>0,l=ze(R);Je(R,l);const d=R.closest("ion-item");d&&Je(d,s?[...l,"item-has-value"]:l)})},ze=u=>{const R=u.classList,s=[];for(let l=0;l{const s=u.classList;s.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),s.add(...R)},ft=(u,R)=>u.substring(0,R.length)===R;let Ne=(()=>{class u extends oe{constructor(s,l){super(s,l)}writeValue(s){this.el.nativeElement.checked=this.lastValue=s,ue(this.el)}_handleIonChange(s){this.handleValueChange(s,s.checked)}}return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.zs3),n.Y36(n.SBq))},u.\u0275dir=n.lG2({type:u,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(s,l){1&s&&n.NdJ("ionChange",function(F){return l._handleIonChange(F.target)})},features:[n._Bn([{provide:U.JU,useExisting:u,multi:!0}]),n.qOj]}),u})(),at=(()=>{class u extends oe{constructor(s,l){super(s,l)}_handleChangeEvent(s){this.handleValueChange(s,s.value)}}return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.zs3),n.Y36(n.SBq))},u.\u0275dir=n.lG2({type:u,selectors:[["ion-range"],["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(s,l){1&s&&n.NdJ("ionChange",function(F){return l._handleChangeEvent(F.target)})},features:[n._Bn([{provide:U.JU,useExisting:u,multi:!0}]),n.qOj]}),u})(),ht=(()=>{class u extends oe{constructor(s,l){super(s,l)}_handleInputEvent(s){this.handleValueChange(s,s.value)}}return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.zs3),n.Y36(n.SBq))},u.\u0275dir=n.lG2({type:u,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"]],hostBindings:function(s,l){1&s&&n.NdJ("ionInput",function(F){return l._handleInputEvent(F.target)})},features:[n._Bn([{provide:U.JU,useExisting:u,multi:!0}]),n.qOj]}),u})();const Ot=(u,R)=>{const s=u.prototype;R.forEach(l=>{Object.defineProperty(s,l,{get(){return this.el[l]},set(d){this.z.runOutsideAngular(()=>this.el[l]=d)}})})},It=(u,R)=>{const s=u.prototype;R.forEach(l=>{s[l]=function(){const d=arguments;return this.z.runOutsideAngular(()=>this.el[l].apply(this.el,d))}})},bt=(u,R,s)=>{s.forEach(l=>u[l]=(0,J.R)(R,l))};function it(u){return function(s){const{defineCustomElementFn:l,inputs:d,methods:F}=u;return void 0!==l&&l(),d&&Ot(s,d),F&&It(s,F),s}}let ar=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-app"]],ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({})],u),u})(),vn=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-back-button"]],inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"]})],u),u})(),Pt=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["color","mode"]})],u),u})(),on=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement,bt(this,this.el,["ionFocus","ionBlur"])}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",form:"form",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],u),u})(),Zt=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["collapse"]})],u),u})(),Ht=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement,bt(this,this.el,["ionChange","ionFocus","ionBlur"])}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-checkbox"]],inputs:{checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["checked","color","disabled","indeterminate","justify","labelPlacement","legacy","mode","name","value"]})],u),u})(),tn=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],u),u})(),Wn=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement,bt(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],u),u})(),Tn=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["collapse","mode","translucent"]})],u),u})(),dr=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["fixed"]})],u),u})(),fn=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["collapse","mode","translucent"]})],u),u})(),nn=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],u),u})(),We=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement,bt(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","shape","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],u),u})(),Oe=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-item"]],inputs:{button:"button",color:"color",counter:"counter",counterFormatter:"counterFormatter",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",fill:"fill",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",target:"target",type:"type"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],u),u})(),Ge=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-item-group"]],ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({})],u),u})(),cn=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["color","mode","position"]})],u),u})(),wn=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],u),u})(),Dr=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["color","lines","mode"]})],u),u})(),Qt=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement,bt(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],u),u})(),Mn=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["autoHide","color","disabled","menu","mode","type"]})],u),u})(),mr=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["autoHide","menu"]})],u),u})(),Yt=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["color","mode"]})],u),u})(),mn=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement,bt(this,this.el,["ionChange","ionInput","ionFocus","ionBlur","ionKnobMoveStart","ionKnobMoveEnd"])}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-range"]],inputs:{activeBarStart:"activeBarStart",color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",pinFormatter:"pinFormatter",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["activeBarStart","color","debounce","disabled","dualKnobs","label","labelPlacement","legacy","max","min","mode","name","pin","pinFormatter","snaps","step","ticks","value"]})],u),u})(),Zn=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-reorder"]],ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({})],u),u})(),Mt=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement,bt(this,this.el,["ionItemReorder"])}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["disabled"],methods:["complete"]})],u),u})(),hn=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-row"]],ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({})],u),u})(),Q=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement,bt(this,this.el,["ionChange"])}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"]})],u),u})(),Me=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["disabled","layout","mode","type","value"]})],u),u})(),fe=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement,bt(this,this.el,["ionChange","ionCancel","ionDismiss","ionFocus","ionBlur"])}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",color:"color",compareWith:"compareWith",disabled:"disabled",expandedIcon:"expandedIcon",fill:"fill",interface:"interface",interfaceOptions:"interfaceOptions",justify:"justify",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",shape:"shape",toggleIcon:"toggleIcon",value:"value"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["cancelText","color","compareWith","disabled","expandedIcon","fill","interface","interfaceOptions","justify","label","labelPlacement","legacy","mode","multiple","name","okText","placeholder","selectedText","shape","toggleIcon","value"],methods:["open"]})],u),u})(),Te=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["disabled","value"]})],u),u})(),Ce=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-thumbnail"]],ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({})],u),u})(),Ue=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["color","size"]})],u),u})(),Ke=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement,bt(this,this.el,["ionChange","ionFocus","ionBlur"])}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-toggle"]],inputs:{checked:"checked",color:"color",disabled:"disabled",enableOnOffLabels:"enableOnOffLabels",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["checked","color","disabled","enableOnOffLabels","justify","labelPlacement","legacy","mode","name","value"]})],u),u})(),ye=(()=>{let u=class{constructor(s,l,d){this.z=d,s.detach(),this.el=l.nativeElement}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:me,decls:1,vars:0,template:function(s,l){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["color","mode"]})],u),u})(),yt=(()=>{class u{get(s,l){const d=Ft();return d?d.get(s,l):null}getBoolean(s,l){const d=Ft();return!!d&&d.getBoolean(s,l)}getNumber(s,l){const d=Ft();return d?d.getNumber(s,l):0}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=n.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const _t=new n.OlP("USERCONFIG"),Ft=()=>{if(typeof window<"u"){const u=window.Ionic;if(u?.config)return u.config}return null};let St=(()=>{class u{constructor(s,l){this.doc=s,this.backButton=new O.x,this.keyboardDidShow=new O.x,this.keyboardDidHide=new O.x,this.pause=new O.x,this.resume=new O.x,this.resize=new O.x,l.run(()=>{let d;this.win=s.defaultView,this.backButton.subscribeWithPriority=function(F,Re){return this.subscribe(lt=>lt.register(F,Vt=>l.run(()=>Re(Vt))))},Pn(this.pause,s,"pause"),Pn(this.resume,s,"resume"),Pn(this.backButton,s,"ionBackButton"),Pn(this.resize,this.win,"resize"),Pn(this.keyboardDidShow,this.win,"ionKeyboardDidShow"),Pn(this.keyboardDidHide,this.win,"ionKeyboardDidHide"),this._readyPromise=new Promise(F=>{d=F}),this.win?.cordova?s.addEventListener("deviceready",()=>{d("cordova")},{once:!0}):d("dom")})}is(s){return(0,de.a)(this.win,s)}platforms(){return(0,de.g)(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(s){return fr(this.win.location.href,s)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia?.("(orientation: portrait)").matches}testUserAgent(s){const l=this.win.navigator;return!!(l?.userAgent&&l.userAgent.indexOf(s)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return u.\u0275fac=function(s){return new(s||u)(n.LFG(Fe.K0),n.LFG(n.R0b))},u.\u0275prov=n.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const fr=(u,R)=>{R=R.replace(/[[\]\\]/g,"\\$&");const l=new RegExp("[\\?&]"+R+"=([^&#]*)").exec(u);return l?decodeURIComponent(l[1].replace(/\+/g," ")):null},Pn=(u,R,s)=>{R&&R.addEventListener(s,l=>{const d=l?.detail;u.next(d)})};let tr=(()=>{class u{constructor(s,l,d,F){this.location=l,this.serializer=d,this.router=F,this.direction=An,this.animated=Yr,this.guessDirection="forward",this.lastNavId=-1,F&&F.events.subscribe(Re=>{if(Re instanceof se.OD){const lt=Re.restoredState?Re.restoredState.navigationId:Re.id;this.guessDirection=lt{this.pop(),Re()})}navigateForward(s,l={}){return this.setDirection("forward",l.animated,l.animationDirection,l.animation),this.navigate(s,l)}navigateBack(s,l={}){return this.setDirection("back",l.animated,l.animationDirection,l.animation),this.navigate(s,l)}navigateRoot(s,l={}){return this.setDirection("root",l.animated,l.animationDirection,l.animation),this.navigate(s,l)}back(s={animated:!0,animationDirection:"back"}){return this.setDirection("back",s.animated,s.animationDirection,s.animation),this.location.back()}pop(){var s=this;return(0,c.Z)(function*(){let l=s.topOutlet;for(;l;){if(yield l.pop())return!0;l=l.parentOutlet}return!1})()}setDirection(s,l,d,F){this.direction=s,this.animated=Kn(s,l,d),this.animationBuilder=F}setTopOutlet(s){this.topOutlet=s}consumeTransition(){let l,s="root";const d=this.animationBuilder;return"auto"===this.direction?(s=this.guessDirection,l=this.guessAnimation):(l=this.animated,s=this.direction),this.direction=An,this.animated=Yr,this.animationBuilder=void 0,{direction:s,animation:l,animationBuilder:d}}navigate(s,l){if(Array.isArray(s))return this.router.navigate(s,l);{const d=this.serializer.parse(s.toString());return void 0!==l.queryParams&&(d.queryParams={...l.queryParams}),void 0!==l.fragment&&(d.fragment=l.fragment),this.router.navigateByUrl(d,l)}}}return u.\u0275fac=function(s){return new(s||u)(n.LFG(St),n.LFG(Fe.Ye),n.LFG(se.Hx),n.LFG(se.F0,8))},u.\u0275prov=n.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const Kn=(u,R,s)=>{if(!1!==R){if(void 0!==s)return s;if("forward"===u||"back"===u)return u;if("root"===u&&!0===R)return"forward"}},An="auto",Yr=void 0;class Cn{constructor(R={}){this.data=R}get(R){return this.data[R]}}let qn=(()=>{class u{constructor(){this.zone=(0,n.f3M)(n.R0b),this.applicationRef=(0,n.f3M)(n.z2F)}create(s,l,d){return new go(s,l,this.applicationRef,this.zone,d)}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=n.Yz7({token:u,factory:u.\u0275fac}),u})();class go{constructor(R,s,l,d,F){this.environmentInjector=R,this.injector=s,this.applicationRef=l,this.zone=d,this.elementReferenceKey=F,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(R,s,l,d){return this.zone.run(()=>new Promise(F=>{const Re={...l};void 0!==this.elementReferenceKey&&(Re[this.elementReferenceKey]=R),F(Qr(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,R,s,Re,d,this.elementReferenceKey))}))}removeViewFromDom(R,s){return this.zone.run(()=>new Promise(l=>{const d=this.elRefMap.get(s);if(d){d.destroy(),this.elRefMap.delete(s);const F=this.elEventsMap.get(s);F&&(F(),this.elEventsMap.delete(s))}l()}))}}const Qr=(u,R,s,l,d,F,Re,lt,Vt,Ze,Ut)=>{const to=n.zs3.create({providers:Pr(Vt),parent:s}),fo=(0,n.LMc)(lt,{environmentInjector:R,elementInjector:to}),jt=fo.instance,jr=fo.location.nativeElement;if(Vt&&(Ut&&void 0!==jt[Ut]&&console.error(`[Ionic Error]: ${Ut} is a reserved property when using ${Re.tagName.toLowerCase()}. Rename or remove the "${Ut}" property from ${lt.name}.`),Object.assign(jt,Vt)),Ze)for(const Wr of Ze)jr.classList.add(Wr);const Zo=zn(u,jt,jr);return Re.appendChild(jr),l.attachView(fo.hostView),d.set(jr,fo),F.set(jr,Zo),jr},Nn=[z.L,z.a,z.b,z.c,z.d],zn=(u,R,s)=>u.run(()=>{const l=Nn.filter(d=>"function"==typeof R[d]).map(d=>{const F=Re=>R[d](Re.detail);return s.addEventListener(d,F),()=>s.removeEventListener(d,F)});return()=>l.forEach(d=>d())}),Ar=new n.OlP("NavParamsToken"),Pr=u=>[{provide:Ar,useValue:u},{provide:Cn,useFactory:mo,deps:[Ar]}],mo=u=>new Cn(u),Rr=(u,R)=>((u=u.filter(s=>s.stackId!==R.stackId)).push(R),u),yo=(u,R)=>{const s=u.createUrlTree(["."],{relativeTo:R});return u.serializeUrl(s)},Ao=(u,R)=>!R||u.stackId!==R.stackId,xo=(u,R)=>{if(!u)return;const s=_o(R);for(let l=0;l=u.length)return s[l];if(s[l]!==u[l])return}},_o=u=>u.split("/").map(R=>R.trim()).filter(R=>""!==R),ko=u=>{u&&(u.ref.destroy(),u.unlistenEvents())};class Go{constructor(R,s,l,d,F,Re){this.containerEl=s,this.router=l,this.navCtrl=d,this.zone=F,this.location=Re,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==R?_o(R):void 0}createView(R,s){const l=yo(this.router,s),d=R?.location?.nativeElement,F=zn(this.zone,R.instance,d);return{id:this.nextId++,stackId:xo(this.tabsPrefix,l),unlistenEvents:F,element:d,ref:R,url:l}}getExistingView(R){const s=yo(this.router,R),l=this.views.find(d=>d.url===s);return l&&l.ref.changeDetectorRef.reattach(),l}setActive(R){const s=this.navCtrl.consumeTransition();let{direction:l,animation:d,animationBuilder:F}=s;const Re=this.activeView,lt=Ao(R,Re);lt&&(l="back",d=void 0);const Vt=this.views.slice();let Ze;const Ut=this.router;Ut.getCurrentNavigation?Ze=Ut.getCurrentNavigation():Ut.navigations?.value&&(Ze=Ut.navigations.value),Ze?.extras?.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const to=this.views.includes(R),fo=this.insertView(R,l);to||R.ref.changeDetectorRef.detectChanges();const jt=R.animationBuilder;return void 0===F&&"back"===l&&!lt&&void 0!==jt&&(F=jt),Re&&(Re.animationBuilder=F),this.zone.runOutsideAngular(()=>this.wait(()=>(Re&&Re.ref.changeDetectorRef.detach(),R.ref.changeDetectorRef.reattach(),this.transition(R,Re,d,this.canGoBack(1),!1,F).then(()=>oi(R,fo,Vt,this.location,this.zone)).then(()=>({enteringView:R,direction:l,animation:d,tabSwitch:lt})))))}canGoBack(R,s=this.getActiveStackId()){return this.getStack(s).length>R}pop(R,s=this.getActiveStackId()){return this.zone.run(()=>{const l=this.getStack(s);if(l.length<=R)return Promise.resolve(!1);const d=l[l.length-R-1];let F=d.url;const Re=d.savedData;if(Re){const Vt=Re.get("primary");Vt?.route?._routerState?.snapshot.url&&(F=Vt.route._routerState.snapshot.url)}const{animationBuilder:lt}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(F,{...d.savedExtras,animation:lt}).then(()=>!0)})}startBackTransition(){const R=this.activeView;if(R){const s=this.getStack(R.stackId),l=s[s.length-2],d=l.animationBuilder;return this.wait(()=>this.transition(l,R,"back",this.canGoBack(2),!0,d))}return Promise.resolve()}endBackTransition(R){R?(this.skipTransition=!0,this.pop(1)):this.activeView&&Wo(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(R){const s=this.getStack(R);return s.length>0?s[s.length-1]:void 0}getRootUrl(R){const s=this.getStack(R);return s.length>0?s[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}getActiveView(){return this.activeView}hasRunningTask(){return void 0!==this.runningTask}destroy(){this.containerEl=void 0,this.views.forEach(ko),this.activeView=void 0,this.views=[]}getStack(R){return this.views.filter(s=>s.stackId===R)}insertView(R,s){return this.activeView=R,this.views=((u,R,s)=>"root"===s?Rr(u,R):"forward"===s?((u,R)=>(u.indexOf(R)>=0?u=u.filter(l=>l.stackId!==R.stackId||l.id<=R.id):u.push(R),u))(u,R):((u,R)=>u.indexOf(R)>=0?u.filter(l=>l.stackId!==R.stackId||l.id<=R.id):Rr(u,R))(u,R))(this.views,R,s),this.views.slice()}transition(R,s,l,d,F,Re){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(s===R)return Promise.resolve(!1);const lt=R?R.element:void 0,Vt=s?s.element:void 0,Ze=this.containerEl;return lt&<!==Vt&&(lt.classList.add("ion-page"),lt.classList.add("ion-page-invisible"),lt.parentElement!==Ze&&Ze.appendChild(lt),Ze.commit)?Ze.commit(lt,Vt,{duration:void 0===l?0:void 0,direction:l,showGoBack:d,progressAnimation:F,animationBuilder:Re}):Promise.resolve(!1)}wait(R){var s=this;return(0,c.Z)(function*(){void 0!==s.runningTask&&(yield s.runningTask,s.runningTask=void 0);const l=s.runningTask=R();return l.finally(()=>s.runningTask=void 0),l})()}}const oi=(u,R,s,l,d)=>"function"==typeof requestAnimationFrame?new Promise(F=>{requestAnimationFrame(()=>{Wo(u,R,s,l,d),F()})}):Promise.resolve(),Wo=(u,R,s,l,d)=>{d.run(()=>s.filter(F=>!R.includes(F)).forEach(ko)),R.forEach(F=>{const lt=l.path().split("?")[0].split("#")[0];if(F!==u&&F.url!==lt){const Vt=F.element;Vt.setAttribute("aria-hidden","true"),Vt.classList.add("ion-page-hidden"),F.ref.changeDetectorRef.detach()}})};let bo=(()=>{class u{constructor(s,l,d,F,Re,lt,Vt,Ze){this.parentOutlet=Ze,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new x.X(null),this.activated=null,this._activatedRoute=null,this.name=se.eC,this.stackWillChange=new n.vpe,this.stackDidChange=new n.vpe,this.activateEvents=new n.vpe,this.deactivateEvents=new n.vpe,this.parentContexts=(0,n.f3M)(se.y6),this.location=(0,n.f3M)(n.s_b),this.environmentInjector=(0,n.f3M)(n.lqb),this.inputBinder=(0,n.f3M)(oo,{optional:!0}),this.supportsBindingToComponentInputs=!0,this.config=(0,n.f3M)(yt),this.navCtrl=(0,n.f3M)(tr),this.nativeEl=F.nativeElement,this.name=s||se.eC,this.tabsPrefix="true"===l?yo(Re,Vt):void 0,this.stackCtrl=new Go(this.tabsPrefix,this.nativeEl,Re,this.navCtrl,lt,d),this.parentContexts.onChildOutletCreated(this.name,this)}get activatedComponentRef(){return this.activated}set animation(s){this.nativeEl.animation=s}set animated(s){this.nativeEl.animated=s}set swipeGesture(s){this._swipeGesture=s,this.nativeEl.swipeHandler=s?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:l=>this.stackCtrl.endBackTransition(l)}:void 0}ngOnDestroy(){this.stackCtrl.destroy(),this.inputBinder?.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const s=this.getContext();s?.route&&this.activateWith(s.route,s.injector)}new Promise(s=>(0,ie.c)(this.nativeEl,s)).then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(s,l){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const l=this.getContext();this.activatedView.savedData=new Map(l.children.contexts);const d=this.activatedView.savedData.get("primary");if(d&&l.route&&(d.route={...l.route}),this.activatedView.savedExtras={},l.route){const F=l.route.snapshot;this.activatedView.savedExtras.queryParams=F.queryParams,this.activatedView.savedExtras.fragment=F.fragment}}const s=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(s)}}activateWith(s,l){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=s;let d,F=this.stackCtrl.getExistingView(s);if(F){d=this.activated=F.ref;const lt=F.savedData;lt&&(this.getContext().children.contexts=lt),this.updateActivatedRouteProxy(d.instance,s)}else{const lt=s._futureSnapshot,Vt=this.parentContexts.getOrCreateContext(this.name).children,Ze=new x.X(null),Ut=this.createActivatedRouteProxy(Ze,s),to=new Gr(Ut,Vt,this.location.injector);d=this.activated=this.location.createComponent(lt.routeConfig.component??lt.component,{index:this.location.length,injector:to,environmentInjector:l??this.environmentInjector}),Ze.next(d.instance),F=this.stackCtrl.createView(this.activated,s),this.proxyMap.set(d.instance,Ut),this.currentActivatedRoute$.next({component:d.instance,activatedRoute:s})}this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activatedView=F,this.navCtrl.setTopOutlet(this);const Re=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:F,tabSwitch:Ao(F,Re)}),this.stackCtrl.setActive(F).then(lt=>{this.activateEvents.emit(d.instance),this.stackDidChange.emit(lt)})}canGoBack(s=1,l){return this.stackCtrl.canGoBack(s,l)}pop(s=1,l){return this.stackCtrl.pop(s,l)}getLastUrl(s){const l=this.stackCtrl.getLastUrl(s);return l?l.url:void 0}getLastRouteView(s){return this.stackCtrl.getLastUrl(s)}getRootView(s){return this.stackCtrl.getRootUrl(s)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(s,l){const d=new se.gz;return d._futureSnapshot=l._futureSnapshot,d._routerState=l._routerState,d.snapshot=l.snapshot,d.outlet=l.outlet,d.component=l.component,d._paramMap=this.proxyObservable(s,"paramMap"),d._queryParamMap=this.proxyObservable(s,"queryParamMap"),d.url=this.proxyObservable(s,"url"),d.params=this.proxyObservable(s,"params"),d.queryParams=this.proxyObservable(s,"queryParams"),d.fragment=this.proxyObservable(s,"fragment"),d.data=this.proxyObservable(s,"data"),d}proxyObservable(s,l){return s.pipe((0,ne.h)(d=>!!d),(0,be.w)(d=>this.currentActivatedRoute$.pipe((0,ne.h)(F=>null!==F&&F.component===d),(0,be.w)(F=>F&&F.activatedRoute[l]),(0,je.x)())))}updateActivatedRouteProxy(s,l){const d=this.proxyMap.get(s);if(!d)throw new Error("Could not find activated route proxy for view");d._futureSnapshot=l._futureSnapshot,d._routerState=l._routerState,d.snapshot=l.snapshot,d.outlet=l.outlet,d.component=l.component,this.currentActivatedRoute$.next({component:s,activatedRoute:l})}}return u.\u0275fac=function(s){return new(s||u)(n.$8M("name"),n.$8M("tabs"),n.Y36(Fe.Ye),n.Y36(n.SBq),n.Y36(se.F0),n.Y36(n.R0b),n.Y36(se.gz),n.Y36(u,12))},u.\u0275dir=n.lG2({type:u,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",mode:"mode",swipeGesture:"swipeGesture",name:"name"},outputs:{stackWillChange:"stackWillChange",stackDidChange:"stackDidChange",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),u})();class Gr{constructor(R,s,l){this.route=R,this.childContexts=s,this.parent=l}get(R,s){return R===se.gz?this.route:R===se.y6?this.childContexts:this.parent.get(R,s)}}const oo=new n.OlP("");let io=(()=>{class u{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(s){this.unsubscribeFromRouteData(s),this.subscribeToRouteData(s)}unsubscribeFromRouteData(s){this.outletDataSubscriptions.get(s)?.unsubscribe(),this.outletDataSubscriptions.delete(s)}subscribeToRouteData(s){const{activatedRoute:l}=s,d=(0,V.a)([l.queryParams,l.params,l.data]).pipe((0,be.w)(([F,Re,lt],Vt)=>(lt={...F,...Re,...lt},0===Vt?(0,Z.of)(lt):Promise.resolve(lt)))).subscribe(F=>{if(!s.isActivated||!s.activatedComponentRef||s.activatedRoute!==l||null===l.component)return void this.unsubscribeFromRouteData(s);const Re=(0,n.qFp)(l.component);if(Re)for(const{templateName:lt}of Re.inputs)s.activatedComponentRef.setInput(lt,F[lt]);else this.unsubscribeFromRouteData(s)});this.outletDataSubscriptions.set(s,d)}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=n.Yz7({token:u,factory:u.\u0275fac}),u})(),Yn=(()=>{class u{constructor(s,l,d){this.routerOutlet=s,this.navCtrl=l,this.config=d}onClick(s){const l=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet?.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),s.preventDefault()):null!=l&&(this.navCtrl.navigateBack(l,{animation:this.routerAnimation}),s.preventDefault())}}return u.\u0275fac=function(s){return new(s||u)(n.Y36(bo,8),n.Y36(tr),n.Y36(yt))},u.\u0275dir=n.lG2({type:u,selectors:[["ion-back-button"]],hostBindings:function(s,l){1&s&&n.NdJ("click",function(F){return l.onClick(F)})},inputs:{defaultHref:"defaultHref",routerAnimation:"routerAnimation"}}),u})(),Bo=(()=>{class u{constructor(s,l,d,F,Re){this.locationStrategy=s,this.navCtrl=l,this.elementRef=d,this.router=F,this.routerLink=Re,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const s=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=s}}onClick(s){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),s.preventDefault()}}return u.\u0275fac=function(s){return new(s||u)(n.Y36(Fe.S$),n.Y36(tr),n.Y36(n.SBq),n.Y36(se.F0),n.Y36(se.rH,8))},u.\u0275dir=n.lG2({type:u,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(s,l){1&s&&n.NdJ("click",function(F){return l.onClick(F)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[n.TTD]}),u})(),ao=(()=>{let u=class{constructor(s,l,d){this.z=d,this.isCmpOpen=!1,this.el=l.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,s.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,s.detectChanges()}),bt(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return u.\u0275fac=function(s){return new(s||u)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b))},u.\u0275cmp=n.Xpm({type:u,selectors:[["ion-modal"]],contentQueries:function(s,l,d){if(1&s&&n.Suo(d,n.Rgc,5),2&s){let F;n.iGM(F=n.CRH())&&(l.template=F.first)}},inputs:{animated:"animated",keepContentsMounted:"keepContentsMounted",backdropBreakpoint:"backdropBreakpoint",backdropDismiss:"backdropDismiss",breakpoints:"breakpoints",canDismiss:"canDismiss",cssClass:"cssClass",enterAnimation:"enterAnimation",event:"event",handle:"handle",handleBehavior:"handleBehavior",initialBreakpoint:"initialBreakpoint",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",presentingElement:"presentingElement",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger"},decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(s,l){1&s&&n.YNc(0,I,2,1,"div",0),2&s&&n.Q6J("ngIf",l.isCmpOpen||l.keepContentsMounted)},dependencies:[Fe.O5,Fe.tP],encapsulation:2,changeDetection:0}),u=(0,$.gn)([it({inputs:["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"]})],u),u})();const si={provide:U.Cf,useExisting:(0,n.Gpc)(()=>Po),multi:!0};let Po=(()=>{class u extends U.Fd{}return u.\u0275fac=function(){let R;return function(l){return(R||(R=n.n5z(u)))(l||u)}}(),u.\u0275dir=n.lG2({type:u,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(s,l){2&s&&n.uIk("max",l._enabled?l.max:null)},features:[n._Bn([si]),n.qOj]}),u})();const lo={provide:U.Cf,useExisting:(0,n.Gpc)(()=>$o),multi:!0};let $o=(()=>{class u extends U.qQ{}return u.\u0275fac=function(){let R;return function(l){return(R||(R=n.n5z(u)))(l||u)}}(),u.\u0275dir=n.lG2({type:u,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(s,l){2&s&&n.uIk("min",l._enabled?l.min:null)},features:[n._Bn([lo]),n.qOj]}),u})();class co{constructor(R){this.ctrl=R}create(R){return this.ctrl.create(R||{})}dismiss(R,s,l){return this.ctrl.dismiss(R,s,l)}getTop(){return this.ctrl.getTop()}}let Er=(()=>{class u extends co{constructor(){super(Le.a)}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=n.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),Lr=(()=>{class u extends co{constructor(){super(Le.m),this.angularDelegate=(0,n.f3M)(qn),this.injector=(0,n.f3M)(n.zs3),this.environmentInjector=(0,n.f3M)(n.lqb)}create(s){return super.create({...s,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")})}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=n.Yz7({token:u,factory:u.\u0275fac}),u})(),Ro=(()=>{class u extends co{constructor(){super(Le.c),this.angularDelegate=(0,n.f3M)(qn),this.injector=(0,n.f3M)(n.zs3),this.environmentInjector=(0,n.f3M)(n.lqb)}create(s){return super.create({...s,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=n.Yz7({token:u,factory:u.\u0275fac}),u})(),vr=(()=>{class u extends co{constructor(){super(Le.t)}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=n.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();class Hr{shouldDetach(R){return!1}shouldAttach(R){return!1}store(R,s){}retrieve(R){return null}shouldReuseRoute(R,s){if(R.routeConfig!==s.routeConfig)return!1;const l=R.params,d=s.params,F=Object.keys(l),Re=Object.keys(d);if(F.length!==Re.length)return!1;for(const lt of F)if(d[lt]!==l[lt])return!1;return!0}}const hr=(u,R,s)=>()=>{if(R.defaultView&&typeof window<"u"){(0,K.s)({...u,_zoneGate:F=>s.run(F)});const d="__zone_symbol__addEventListener"in R.body?"__zone_symbol__addEventListener":"addEventListener";return function Ae(){var u=[];if(typeof window<"u"){var R=window;(!R.customElements||R.Element&&(!R.Element.prototype.closest||!R.Element.prototype.matches||!R.Element.prototype.remove||!R.Element.prototype.getRootNode))&&u.push(b.e(6748).then(b.t.bind(b,723,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||R.NodeList&&!R.NodeList.prototype.forEach||!R.fetch||!function(){try{var l=new URL("b","http://a");return l.pathname="c%20d","http://a/c%20d"===l.href&&l.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&u.push(b.e(2214).then(b.t.bind(b,4144,23)))}return Promise.all(u)}().then(()=>((u,R)=>{if(!(typeof window>"u"))return He(),(0,xe.b)(JSON.parse('[["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"],[0,"keydown","onKeydown"]]],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64],"toggle":[64]}],[1,"ion-fab-list",{"activated":[4],"side":[1]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]}]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"layout":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"buttons":[16],"translucent":[4],"animated":[4],"icon":[1],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"revealContentToScreenReader":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]}]]],["ion-accordion_2",[[49,"ion-accordion",{"value":[1],"disabled":[4],"readonly":[4],"toggleIcon":[1,"toggle-icon"],"toggleIconSlot":[1,"toggle-icon-slot"],"state":[32],"isNext":[32],"isPrevious":[32]}],[33,"ion-accordion-group",{"animated":[4],"multiple":[4],"value":[1025],"disabled":[4],"readonly":[4],"expand":[1],"requestAccordionToggle":[64],"getAccordions":[64]},[[0,"keydown","onKeydown"]]]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[1028],"layout":[1],"type":[1],"value":[8],"checked":[32],"setFocus":[64]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1032],"selectOnFocus":[4,"select-on-focus"],"activated":[32]},[[0,"keydown","onKeyDown"]]]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]}]]],["ion-chip",[[1,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-datetime-button",[[33,"ion-datetime-button",{"color":[513],"disabled":[516],"datetime":[1],"datetimePresentation":[32],"dateText":[32],"timeText":[32],"datetimeActive":[32],"selectedButton":[32]}]]],["ion-input",[[38,"ion-input",{"color":[513],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"counter":[4],"counterFormatter":[16],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"fill":[1],"inputmode":[1],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"shape":[1],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"name":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"enableOnOffLabels":[4,"enable-on-off-labels"],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"activated":[32]}]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-textarea",[[38,"ion-textarea",{"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"fill":[1],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"autoGrow":[516,"auto-grow"],"value":[1025],"counter":[4],"counterFormatter":[16],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"shape":[1],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-breadcrumb_2",[[33,"ion-breadcrumb",{"collapsed":[4],"last":[4],"showCollapsedIndicator":[4,"show-collapsed-indicator"],"color":[1],"active":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"separator":[4],"target":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}],[33,"ion-breadcrumbs",{"color":[513],"maxItems":[2,"max-items"],"itemsBeforeCollapse":[2,"items-before-collapse"],"itemsAfterCollapse":[2,"items-after-collapse"],"collapsed":[32],"activeChanged":[32]},[[0,"collapsedClick","onCollapsedClick"]]]]],["ion-modal",[[33,"ion-modal",{"hasController":[4,"has-controller"],"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"breakpoints":[16],"initialBreakpoint":[2,"initial-breakpoint"],"backdropBreakpoint":[2,"backdrop-breakpoint"],"handle":[4],"handleBehavior":[1,"handle-behavior"],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"presentingElement":[16],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"keepContentsMounted":[4,"keep-contents-mounted"],"canDismiss":[4,"can-dismiss"],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"setCurrentBreakpoint":[64],"getCurrentBreakpoint":[64]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]}],[0,"ion-route-redirect",{"from":[1],"to":[1]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"label":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"pinFormatter":[16],"snaps":[4],"step":[2],"ticks":[4],"activeBarStart":[1026,"active-bar-start"],"disabled":[4],"value":[1026],"labelPlacement":[1,"label-placement"],"legacy":[4],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[1,"ion-skeleton-text",{"animated":[4]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"fill":[1],"shape":[1],"href":[1],"rel":[1],"lines":[1],"counter":[4],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"counterFormatter":[16],"multipleInputs":[32],"focusable":[32],"counterString":[32]},[[0,"ionInput","handleIonInput"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]]],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]}],[33,"ion-note",{"color":[513]}]]],["ion-select_3",[[33,"ion-select",{"cancelText":[1,"cancel-text"],"color":[513],"compareWith":[1,"compare-with"],"disabled":[4],"fill":[1],"interface":[1],"interfaceOptions":[8,"interface-options"],"justify":[1],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"multiple":[4],"name":[1],"okText":[1,"ok-text"],"placeholder":[1],"selectedText":[1,"selected-text"],"toggleIcon":[1,"toggle-icon"],"expandedIcon":[1,"expanded-icon"],"shape":[1],"value":[1032],"isExpanded":[32],"open":[64]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}],[34,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"multiple":[4],"options":[16]}]]],["ion-picker-internal",[[33,"ion-picker-internal",{"exitInputMode":[64]},[[1,"touchstart","preventTouchStartPropagation"]]]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"readonly":[4],"isDateEnabled":[16],"min":[1025],"max":[1025],"presentation":[1],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"clearText":[1,"clear-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"titleSelectedDatesFormatter":[16],"multiple":[4],"highlightedDates":[16],"value":[1025],"showDefaultTitle":[4,"show-default-title"],"showDefaultButtons":[4,"show-default-buttons"],"showClearButton":[4,"show-clear-button"],"showDefaultTimeLabel":[4,"show-default-time-label"],"hourCycle":[1,"hour-cycle"],"size":[1],"preferWheel":[4,"prefer-wheel"],"showMonthAndYear":[32],"activeParts":[32],"workingParts":[32],"isTimePopoverOpen":[32],"confirm":[64],"reset":[64],"cancel":[64]}],[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]}],[32,"ion-picker-column",{"col":[16]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]]]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1],"form":[1]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]}]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]]]]],["ion-app_8",[[0,"ion-app",{"setFocus":[64]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"getBackgroundElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[8,"appload","onAppLoad"],[9,"resize","onResize"]]],[36,"ion-footer",{"collapse":[1],"translucent":[4],"keyboardVisible":[32]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]}],[33,"ion-title",{"color":[513],"size":[1]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]],[34,"ion-buttons",{"collapse":[4]}]]],["ion-picker-column-internal",[[33,"ion-picker-column-internal",{"items":[16],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64]}]]],["ion-popover",[[33,"ion-popover",{"hasController":[4,"has-controller"],"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"triggerAction":[1,"trigger-action"],"trigger":[1],"size":[1],"dismissOnSelect":[4,"dismiss-on-select"],"reference":[1],"side":[1],"alignment":[1025],"arrow":[4],"isOpen":[4,"is-open"],"keyboardEvents":[4,"keyboard-events"],"keepContentsMounted":[4,"keep-contents-mounted"],"presented":[32],"presentFromTrigger":[64],"present":[64],"dismiss":[64],"getParentPopover":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"justify":[1],"legacy":[4]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]]]'),R)})(0,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:j,jmp:F=>s.runOutsideAngular(F),ael(F,Re,lt,Vt){F[d](Re,lt,Vt)},rel(F,Re,lt,Vt){F.removeEventListener(Re,lt,Vt)}}))}};let eo=(()=>{class u{static forRoot(s){return{ngModule:u,providers:[{provide:_t,useValue:s},{provide:n.ip1,useFactory:hr,multi:!0,deps:[_t,Fe.K0,n.R0b]},{provide:oo,useFactory:uo,deps:[se.F0]}]}}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=n.oAB({type:u}),u.\u0275inj=n.cJS({providers:[qn,Lr,Ro],imports:[Fe.ez]}),u})();function uo(u){return u?.componentInputBindingEnabled?new io:null}},6188:(ct,Ie,b)=>{"use strict";b.d(Ie,{Pi:()=>me,Zw:()=>X,aw:()=>tt,X$:()=>Xe,sK:()=>ae});var c=b(4650),n=b(9646),U=b(9751),$=b(576);function J(he){return!!he&&(he instanceof U.y||(0,$.m)(he.lift)&&(0,$.m)(he.subscribe))}var O=b(4128),x=b(7272),V=b(9770),Z=b(5698),se=b(4782),G=b(4004),ee=b(4351),ce=b(3900);class X{}let de=(()=>{class he extends X{getTranslation(I){return(0,n.of)({})}}return he.\u0275fac=function(){let N;return function(L){return(N||(N=c.n5z(he)))(L||he)}}(),he.\u0275prov=c.Yz7({token:he,factory:he.\u0275fac}),he})();class ie{}let K=(()=>{class he{handle(I){return I.key}}return he.\u0275fac=function(I){return new(I||he)},he.\u0275prov=c.Yz7({token:he,factory:he.\u0275fac}),he})();function z(he,N){if(he===N)return!0;if(null===he||null===N)return!1;if(he!=he&&N!=N)return!0;let j,oe,ue,I=typeof he;if(I==typeof N&&"object"==I){if(!Array.isArray(he)){if(Array.isArray(N))return!1;for(oe in ue=Object.create(null),he){if(!z(he[oe],N[oe]))return!1;ue[oe]=!0}for(oe in N)if(!(oe in ue)&&typeof N[oe]<"u")return!1;return!0}if(!Array.isArray(N))return!1;if((j=he.length)==N.length){for(oe=0;oe{Le(N[L])?L in he?I[L]=De(he[L],N[L]):Object.assign(I,{[L]:N[L]}):Object.assign(I,{[L]:N[L]})}),I}class ge{}let xe=(()=>{class he extends ge{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(I,L){let j;return j="string"==typeof I?this.interpolateString(I,L):"function"==typeof I?this.interpolateFunction(I,L):I,j}getValue(I,L){let j="string"==typeof L?L.split("."):[L];L="";do{L+=j.shift(),!_e(I)||!_e(I[L])||"object"!=typeof I[L]&&j.length?j.length?L+=".":I=void 0:(I=I[L],L="")}while(j.length);return I}interpolateFunction(I,L){return I(L)}interpolateString(I,L){return L?I.replace(this.templateMatcher,(j,oe)=>{let ue=this.getValue(L,oe);return _e(ue)?ue:j}):I}}return he.\u0275fac=function(){let N;return function(L){return(N||(N=c.n5z(he)))(L||he)}}(),he.\u0275prov=c.Yz7({token:he,factory:he.\u0275fac}),he})();class $e{}let ne=(()=>{class he extends $e{compile(I,L){return I}compileTranslations(I,L){return I}}return he.\u0275fac=function(){let N;return function(L){return(N||(N=c.n5z(he)))(L||he)}}(),he.\u0275prov=c.Yz7({token:he,factory:he.\u0275fac}),he})();class be{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new c.vpe,this.onLangChange=new c.vpe,this.onDefaultLangChange=new c.vpe}}const je=new c.OlP("USE_STORE"),Fe=new c.OlP("USE_DEFAULT_LANG"),Ae=new c.OlP("DEFAULT_LANGUAGE"),He=new c.OlP("USE_EXTEND");let ae=(()=>{class he{constructor(I,L,j,oe,ue,ze=!0,Je=!1,ft=!1,Ne){this.store=I,this.currentLoader=L,this.compiler=j,this.parser=oe,this.missingTranslationHandler=ue,this.useDefaultLang=ze,this.isolate=Je,this.extend=ft,this.pending=!1,this._onTranslationChange=new c.vpe,this._onLangChange=new c.vpe,this._onDefaultLangChange=new c.vpe,this._langs=[],this._translations={},this._translationRequests={},Ne&&this.setDefaultLang(Ne)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(I){this.isolate?this._defaultLang=I:this.store.defaultLang=I}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(I){this.isolate?this._currentLang=I:this.store.currentLang=I}get langs(){return this.isolate?this._langs:this.store.langs}set langs(I){this.isolate?this._langs=I:this.store.langs=I}get translations(){return this.isolate?this._translations:this.store.translations}set translations(I){this.isolate?this._translations=I:this.store.translations=I}setDefaultLang(I){if(I===this.defaultLang)return;let L=this.retrieveTranslations(I);typeof L<"u"?(null==this.defaultLang&&(this.defaultLang=I),L.pipe((0,Z.q)(1)).subscribe(j=>{this.changeDefaultLang(I)})):this.changeDefaultLang(I)}getDefaultLang(){return this.defaultLang}use(I){if(I===this.currentLang)return(0,n.of)(this.translations[I]);let L=this.retrieveTranslations(I);return typeof L<"u"?(this.currentLang||(this.currentLang=I),L.pipe((0,Z.q)(1)).subscribe(j=>{this.changeLang(I)}),L):(this.changeLang(I),(0,n.of)(this.translations[I]))}retrieveTranslations(I){let L;return(typeof this.translations[I]>"u"||this.extend)&&(this._translationRequests[I]=this._translationRequests[I]||this.getTranslation(I),L=this._translationRequests[I]),L}getTranslation(I){this.pending=!0;const L=this.currentLoader.getTranslation(I).pipe((0,se.d)(1),(0,Z.q)(1));return this.loadingTranslations=L.pipe((0,G.U)(j=>this.compiler.compileTranslations(j,I)),(0,se.d)(1),(0,Z.q)(1)),this.loadingTranslations.subscribe({next:j=>{this.translations[I]=this.extend&&this.translations[I]?{...j,...this.translations[I]}:j,this.updateLangs(),this.pending=!1},error:j=>{this.pending=!1}}),L}setTranslation(I,L,j=!1){L=this.compiler.compileTranslations(L,I),this.translations[I]=(j||this.extend)&&this.translations[I]?De(this.translations[I],L):L,this.updateLangs(),this.onTranslationChange.emit({lang:I,translations:this.translations[I]})}getLangs(){return this.langs}addLangs(I){I.forEach(L=>{-1===this.langs.indexOf(L)&&this.langs.push(L)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(I,L,j){let oe;if(L instanceof Array){let ue={},ze=!1;for(let Je of L)ue[Je]=this.getParsedResult(I,Je,j),J(ue[Je])&&(ze=!0);if(ze){const Je=L.map(ft=>J(ue[ft])?ue[ft]:(0,n.of)(ue[ft]));return(0,O.D)(Je).pipe((0,G.U)(ft=>{let Ne={};return ft.forEach((Ye,rt)=>{Ne[L[rt]]=Ye}),Ne}))}return ue}if(I&&(oe=this.parser.interpolate(this.parser.getValue(I,L),j)),typeof oe>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(oe=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],L),j)),typeof oe>"u"){let ue={key:L,translateService:this};typeof j<"u"&&(ue.interpolateParams=j),oe=this.missingTranslationHandler.handle(ue)}return typeof oe<"u"?oe:L}get(I,L){if(!_e(I)||!I.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,ee.b)(j=>J(j=this.getParsedResult(j,I,L))?j:(0,n.of)(j)));{let j=this.getParsedResult(this.translations[this.currentLang],I,L);return J(j)?j:(0,n.of)(j)}}getStreamOnTranslationChange(I,L){if(!_e(I)||!I.length)throw new Error('Parameter "key" required');return(0,x.z)((0,V.P)(()=>this.get(I,L)),this.onTranslationChange.pipe((0,ce.w)(j=>{const oe=this.getParsedResult(j.translations,I,L);return"function"==typeof oe.subscribe?oe:(0,n.of)(oe)})))}stream(I,L){if(!_e(I)||!I.length)throw new Error('Parameter "key" required');return(0,x.z)((0,V.P)(()=>this.get(I,L)),this.onLangChange.pipe((0,ce.w)(j=>{const oe=this.getParsedResult(j.translations,I,L);return J(oe)?oe:(0,n.of)(oe)})))}instant(I,L){if(!_e(I)||!I.length)throw new Error('Parameter "key" required');let j=this.getParsedResult(this.translations[this.currentLang],I,L);if(J(j)){if(I instanceof Array){let oe={};return I.forEach((ue,ze)=>{oe[I[ze]]=I[ze]}),oe}return I}return j}set(I,L,j=this.currentLang){this.translations[j][I]=this.compiler.compile(L,j),this.updateLangs(),this.onTranslationChange.emit({lang:j,translations:this.translations[j]})}changeLang(I){this.currentLang=I,this.onLangChange.emit({lang:I,translations:this.translations[I]}),null==this.defaultLang&&this.changeDefaultLang(I)}changeDefaultLang(I){this.defaultLang=I,this.onDefaultLangChange.emit({lang:I,translations:this.translations[I]})}reloadLang(I){return this.resetLang(I),this.getTranslation(I)}resetLang(I){this._translationRequests[I]=void 0,this.translations[I]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let I=window.navigator.languages?window.navigator.languages[0]:null;return I=I||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof I>"u"?void 0:(-1!==I.indexOf("-")&&(I=I.split("-")[0]),-1!==I.indexOf("_")&&(I=I.split("_")[0]),I)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let I=window.navigator.languages?window.navigator.languages[0]:null;return I=I||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,I}}return he.\u0275fac=function(I){return new(I||he)(c.LFG(be),c.LFG(X),c.LFG($e),c.LFG(ge),c.LFG(ie),c.LFG(Fe),c.LFG(je),c.LFG(He),c.LFG(Ae))},he.\u0275prov=c.Yz7({token:he,factory:he.\u0275fac}),he})(),me=(()=>{class he{constructor(I,L,j){this.translateService=I,this.element=L,this._ref=j,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(oe=>{oe.lang===this.translateService.currentLang&&this.checkNodes(!0,oe.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(oe=>{this.checkNodes(!0,oe.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(oe=>{this.checkNodes(!0)}))}set translate(I){I&&(this.key=I,this.checkNodes())}set translateParams(I){z(this.currentParams,I)||(this.currentParams=I,this.checkNodes(!0))}ngAfterViewChecked(){this.checkNodes()}checkNodes(I=!1,L){let j=this.element.nativeElement.childNodes;j.length||(this.setContent(this.element.nativeElement,this.key),j=this.element.nativeElement.childNodes);for(let oe=0;oe{ue!==I&&(L.lastKey=I),L.originalContent||(L.originalContent=this.getContent(L)),L.currentValue=_e(ue)?ue:L.originalContent||I,this.setContent(L,this.key?L.currentValue:L.originalContent.replace(I,L.currentValue)),this._ref.markForCheck()};if(_e(j)){let ue=this.translateService.getParsedResult(j,I,this.currentParams);J(ue)?ue.subscribe({next:oe}):oe(ue)}else this.translateService.get(I,this.currentParams).subscribe(oe)}}getContent(I){return _e(I.textContent)?I.textContent:I.data}setContent(I,L){_e(I.textContent)?I.textContent=L:I.data=L}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}return he.\u0275fac=function(I){return new(I||he)(c.Y36(ae),c.Y36(c.SBq),c.Y36(c.sBO))},he.\u0275dir=c.lG2({type:he,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}}),he})(),Xe=(()=>{class he{constructor(I,L){this.translate=I,this._ref=L,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(I,L,j){let oe=ue=>{this.value=void 0!==ue?ue:I,this.lastKey=I,this._ref.markForCheck()};if(j){let ue=this.translate.getParsedResult(j,I,L);J(ue.subscribe)?ue.subscribe(oe):oe(ue)}this.translate.get(I,L).subscribe(oe)}transform(I,...L){if(!I||!I.length)return I;if(z(I,this.lastKey)&&z(L,this.lastParams))return this.value;let j;if(_e(L[0])&&L.length)if("string"==typeof L[0]&&L[0].length){let oe=L[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{j=JSON.parse(oe)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${L[0]}`)}}else"object"==typeof L[0]&&!Array.isArray(L[0])&&(j=L[0]);return this.lastKey=I,this.lastParams=L,this.updateValue(I,j),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(oe=>{this.lastKey&&oe.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(I,j,oe.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(oe=>{this.lastKey&&(this.lastKey=null,this.updateValue(I,j,oe.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(I,j))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return he.\u0275fac=function(I){return new(I||he)(c.Y36(ae,16),c.Y36(c.sBO,16))},he.\u0275pipe=c.Yjl({name:"translate",type:he,pure:!1}),he.\u0275prov=c.Yz7({token:he,factory:he.\u0275fac}),he})(),tt=(()=>{class he{static forRoot(I={}){return{ngModule:he,providers:[I.loader||{provide:X,useClass:de},I.compiler||{provide:$e,useClass:ne},I.parser||{provide:ge,useClass:xe},I.missingTranslationHandler||{provide:ie,useClass:K},be,{provide:je,useValue:I.isolate},{provide:Fe,useValue:I.useDefaultLang},{provide:He,useValue:I.extend},{provide:Ae,useValue:I.defaultLanguage},ae]}}static forChild(I={}){return{ngModule:he,providers:[I.loader||{provide:X,useClass:de},I.compiler||{provide:$e,useClass:ne},I.parser||{provide:ge,useClass:xe},I.missingTranslationHandler||{provide:ie,useClass:K},{provide:je,useValue:I.isolate},{provide:Fe,useValue:I.useDefaultLang},{provide:He,useValue:I.extend},{provide:Ae,useValue:I.defaultLanguage},ae]}}}return he.\u0275fac=function(I){return new(I||he)},he.\u0275mod=c.oAB({type:he}),he.\u0275inj=c.cJS({}),he})()},5861:(ct,Ie,b)=>{"use strict";function c(U,$,J,O,x,V,Z){try{var se=U[V](Z),G=se.value}catch(ee){return void J(ee)}se.done?$(G):Promise.resolve(G).then(O,x)}function n(U){return function(){var $=this,J=arguments;return new Promise(function(O,x){var V=U.apply($,J);function Z(G){c(V,O,x,Z,se,"next",G)}function se(G){c(V,O,x,Z,se,"throw",G)}Z(void 0)})}}b.d(Ie,{Z:()=>n})},7582:(ct,Ie,b)=>{"use strict";b.d(Ie,{FC:()=>ge,KL:()=>$e,ZT:()=>n,gn:()=>J,mG:()=>ee,qq:()=>De});var c=function(N,I){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,j){L.__proto__=j}||function(L,j){for(var oe in j)Object.prototype.hasOwnProperty.call(j,oe)&&(L[oe]=j[oe])})(N,I)};function n(N,I){if("function"!=typeof I&&null!==I)throw new TypeError("Class extends value "+String(I)+" is not a constructor or null");function L(){this.constructor=N}c(N,I),N.prototype=null===I?Object.create(I):(L.prototype=I.prototype,new L)}function J(N,I,L,j){var ze,oe=arguments.length,ue=oe<3?I:null===j?j=Object.getOwnPropertyDescriptor(I,L):j;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(N,I,L,j);else for(var Je=N.length-1;Je>=0;Je--)(ze=N[Je])&&(ue=(oe<3?ze(ue):oe>3?ze(I,L,ue):ze(I,L))||ue);return oe>3&&ue&&Object.defineProperty(I,L,ue),ue}function ee(N,I,L,j){return new(L||(L=Promise))(function(ue,ze){function Je(Ye){try{Ne(j.next(Ye))}catch(rt){ze(rt)}}function ft(Ye){try{Ne(j.throw(Ye))}catch(rt){ze(rt)}}function Ne(Ye){Ye.done?ue(Ye.value):function oe(ue){return ue instanceof L?ue:new L(function(ze){ze(ue)})}(Ye.value).then(Je,ft)}Ne((j=j.apply(N,I||[])).next())})}function De(N){return this instanceof De?(this.v=N,this):new De(N)}function ge(N,I,L){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var oe,j=L.apply(N,I||[]),ue=[];return oe={},ze("next"),ze("throw"),ze("return"),oe[Symbol.asyncIterator]=function(){return this},oe;function ze(at){j[at]&&(oe[at]=function(ht){return new Promise(function(Ot,It){ue.push([at,ht,Ot,It])>1||Je(at,ht)})})}function Je(at,ht){try{!function ft(at){at.value instanceof De?Promise.resolve(at.value.v).then(Ne,Ye):rt(ue[0][2],at)}(j[at](ht))}catch(Ot){rt(ue[0][3],Ot)}}function Ne(at){Je("next",at)}function Ye(at){Je("throw",at)}function rt(at,ht){at(ht),ue.shift(),ue.length&&Je(ue[0][0],ue[0][1])}}function $e(N){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,I=N[Symbol.asyncIterator];return I?I.call(N):(N=function ie(N){var I="function"==typeof Symbol&&Symbol.iterator,L=I&&N[I],j=0;if(L)return L.call(N);if(N&&"number"==typeof N.length)return{next:function(){return N&&j>=N.length&&(N=void 0),{value:N&&N[j++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")}(N),L={},j("next"),j("throw"),j("return"),L[Symbol.asyncIterator]=function(){return this},L);function j(ue){L[ue]=N[ue]&&function(ze){return new Promise(function(Je,ft){!function oe(ue,ze,Je,ft){Promise.resolve(ft).then(function(Ne){ue({value:Ne,done:Je})},ze)}(Je,ft,(ze=N[ue](ze)).done,ze.value)})}}}"function"==typeof SuppressedError&&SuppressedError}},ct=>{ct(ct.s=1955)}]); \ No newline at end of file diff --git a/ngsw-worker.js b/ngsw-worker.js index 5596de1d..4a9dd2df 100755 --- a/ngsw-worker.js +++ b/ngsw-worker.js @@ -341,7 +341,12 @@ ${error.stack}`; const url = this.adapter.normalizeUrl(req.url); if (this.urls.indexOf(url) !== -1 || this.patterns.some((pattern) => pattern.test(url))) { const cache = await this.cache; - const cachedResponse = await cache.match(req, this.config.cacheQueryOptions); + let cachedResponse; + try { + cachedResponse = await cache.match(req, this.config.cacheQueryOptions); + } catch (error) { + throw new SwCriticalError(`Cache is throwing while looking for a match: ${error}`); + } if (cachedResponse !== void 0) { if (this.hashes.has(url)) { return cachedResponse; @@ -518,7 +523,12 @@ ${error.stack}`; await this.urls.reduce(async (previous, url) => { await previous; const req = this.adapter.newRequest(url); - const alreadyCached = await cache.match(req, this.config.cacheQueryOptions) !== void 0; + let alreadyCached = false; + try { + alreadyCached = await cache.match(req, this.config.cacheQueryOptions) !== void 0; + } catch (error) { + throw new SwCriticalError(`Cache is throwing while looking for a match in a PrefetchAssetGroup: ${error}`); + } if (alreadyCached) { return; } @@ -555,7 +565,12 @@ ${error.stack}`; await this.urls.reduce(async (previous, url) => { await previous; const req = this.adapter.newRequest(url); - const alreadyCached = await cache.match(req, this.config.cacheQueryOptions) !== void 0; + let alreadyCached = false; + try { + alreadyCached = await cache.match(req, this.config.cacheQueryOptions) !== void 0; + } catch (error) { + throw new SwCriticalError(`Cache is throwing while looking for a match in a LazyAssetGroup: ${error}`); + } if (alreadyCached) { return; } @@ -1017,7 +1032,7 @@ ${error.stack}`; }; // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/debug.mjs - var SW_VERSION = "15.2.9"; + var SW_VERSION = "15.2.10"; var DEBUG_LOG_BUFFER_SIZE = 100; var DebugHandler = class { constructor(driver, adapter2) { diff --git a/ngsw.json b/ngsw.json index 73909fb2..a3021745 100644 --- a/ngsw.json +++ b/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1693167471749, + "timestamp": 1702930658973, "index": "/openlap/index.html", "assetGroups": [ { @@ -11,65 +11,68 @@ "ignoreVary": true }, "urls": [ - "/openlap/1033.f29117b131013734.js", - "/openlap/1118.92981d3d50309caf.js", - "/openlap/1217.199198d0894251dd.js", - "/openlap/1536.0ee81c542e124c87.js", - "/openlap/1709.421e16bf55ae69c6.js", - "/openlap/2073.a218cc2f0db2199a.js", - "/openlap/2349.0ae700863e216598.js", - "/openlap/2773.60e7ef87f77616ca.js", - "/openlap/2933.3d6e59675363dada.js", - "/openlap/3326.f7588bf21dffe3d4.js", - "/openlap/3583.ea1394f840e5669d.js", - "/openlap/3648.975c5dd9b2e65bfe.js", - "/openlap/3804.eee14ff278acc9d0.js", - "/openlap/388.7fec46bdd0547c99.js", - "/openlap/3991.2c23fb1dac82cfbc.js", - "/openlap/4174.27a612d8168a2d73.js", - "/openlap/4330.3f5a64c4de32ec18.js", - "/openlap/4376.d898196a6f88beaf.js", - "/openlap/438.5354f696b7473f9c.js", - "/openlap/4432.6917b3d253d37db8.js", - "/openlap/4711.2e668d2632d52a0a.js", - "/openlap/4753.f794e0dd1aa18f26.js", - "/openlap/4908.cf6c42f9a1e0a710.js", - "/openlap/4959.b6cbe58aea1d4512.js", - "/openlap/5168.385955871cf905dc.js", - "/openlap/5172.a8ac11c7f919b75c.js", - "/openlap/5283.f27861d77c80f8c8.js", - "/openlap/53.ef8f5ad0aeca47f5.js", - "/openlap/5349.41b7e432d9a5e692.js", - "/openlap/5652.480f5f34460408fd.js", - "/openlap/5836.1318caac2e1617ec.js", - "/openlap/6120.c0664ee3e4ddce1c.js", - "/openlap/6560.be038436088d1d1b.js", - "/openlap/657.76bcccce37c1b7a0.js", - "/openlap/7544.41de329eea7a7890.js", - "/openlap/7602.bf00fda931b6b3f9.js", - "/openlap/8034.88439e820e3f4f83.js", - "/openlap/8136.0c8a7abe968b27bb.js", - "/openlap/8142.4d6c898246b152e0.js", - "/openlap/8628.241f15391712f5a1.js", - "/openlap/8939.4343205f201b35cd.js", - "/openlap/9016.552c6f6c1bc7491a.js", - "/openlap/9230.2670017cfc043ee5.js", - "/openlap/9325.71e977d70555fb6b.js", - "/openlap/9434.02540948d5eb0abe.js", - "/openlap/9536.6114f173ce574494.js", - "/openlap/9654.d87a095b5a73992f.js", - "/openlap/9824.b00cf3dd4ae46cf8.js", - "/openlap/9922.9985bb0d1d423843.js", - "/openlap/9958.dc5b75dbd3f668f1.js", - "/openlap/common.6c47bd3b3dc01a8f.js", + "/openlap/1033.76b969d7ff43a96e.js", + "/openlap/1118.f511ce13434f134e.js", + "/openlap/1166.59a52bf2636acbce.js", + "/openlap/1217.026a47d221a63f13.js", + "/openlap/1536.db6833c0107d7f9c.js", + "/openlap/1709.6b94ec3dfc7bea57.js", + "/openlap/2073.ef6300b544b1f1bc.js", + "/openlap/2143.f5118fb91dcc061e.js", + "/openlap/2349.dfc969b06a20fbdf.js", + "/openlap/2658.144c039844d38716.js", + "/openlap/2773.5088b7f21e9a830d.js", + "/openlap/2933.e77e6983a545dc71.js", + "/openlap/3326.b11d47bf55b51e6e.js", + "/openlap/3441.1bcc200b6b80cb64.js", + "/openlap/3583.5dcac82542630379.js", + "/openlap/3648.2cbd7d421c8d3d29.js", + "/openlap/3804.15685acfda1c97ef.js", + "/openlap/388.8644c4006552b4c9.js", + "/openlap/4174.49ead29b290f3dbf.js", + "/openlap/4330.8e0ae99b0e8fc0a1.js", + "/openlap/4376.1d32d77a106d0412.js", + "/openlap/438.5ddc36fefb3df952.js", + "/openlap/4432.85d212c11d878f8e.js", + "/openlap/4711.b0c0d9db064ca725.js", + "/openlap/4753.87b2f095222628fd.js", + "/openlap/4908.cd8df99afba225dc.js", + "/openlap/4959.63cd7a01d2904fb3.js", + "/openlap/5168.e3b2608116b99ac8.js", + "/openlap/53.0492f13601b2ba05.js", + "/openlap/5349.891be86c5e7b7c06.js", + "/openlap/5652.4ed914f43a5f3ad2.js", + "/openlap/57.a7fa8be9891b8de6.js", + "/openlap/5836.667ba2b51121273b.js", + "/openlap/6120.178f45f836dee1d7.js", + "/openlap/6560.cac1b316c57a649a.js", + "/openlap/657.89c927526a3df35d.js", + "/openlap/6821.a638185a1ea8f011.js", + "/openlap/7544.15866dc11215f7b3.js", + "/openlap/7602.6bacc62fa08eaefd.js", + "/openlap/7700.b428b0a4661941aa.js", + "/openlap/8034.1073c5fcaf3ff878.js", + "/openlap/8136.76273775606ffebb.js", + "/openlap/8628.3844be50d3776c8c.js", + "/openlap/8939.558926b9ee471663.js", + "/openlap/9016.7f8c630e86be8e52.js", + "/openlap/9230.201c45970184b129.js", + "/openlap/9325.709c21fe10c98cc3.js", + "/openlap/9434.e1d49653b4037a7c.js", + "/openlap/9536.2eed6356567e4809.js", + "/openlap/9654.ac5d4ec9a60bad1f.js", + "/openlap/9824.e86b8d95f89b034c.js", + "/openlap/9922.25d919d8f544452e.js", + "/openlap/9958.2c32b3a3b169ae15.js", + "/openlap/common.fdaf37eaa7cd5cdc.js", "/openlap/index.html", - "/openlap/main.ca90b959be021bc0.js", + "/openlap/main.bbd5f5aa0707904a.js", "/openlap/manifest.webmanifest", "/openlap/polyfills-core-js.e5d40a25add030b2.js", "/openlap/polyfills-dom.5c5f23fb57b03028.js", "/openlap/polyfills.d4788768f8be496e.js", - "/openlap/runtime.edf2c7a1218db27f.js", - "/openlap/styles.d1d43a9fe1154a40.css" + "/openlap/runtime.0a1730bb469911ee.js", + "/openlap/styles.515a5d20e591987e.css" ], "patterns": [] }, @@ -101,62 +104,65 @@ ], "dataGroups": [], "hashTable": { - "/openlap/1033.f29117b131013734.js": "e60319c79e25e7f5f9228d3d9fddaffe0a6eef39", - "/openlap/1118.92981d3d50309caf.js": "9d492ed5c57aa46f2bcb6ddca60380ca7ca4e543", - "/openlap/1217.199198d0894251dd.js": "4f91cb174f87438ef94d045ac46ccaea880d68a0", - "/openlap/1536.0ee81c542e124c87.js": "f169dcdd2b8243969bf74c12235768bd87567219", - "/openlap/1709.421e16bf55ae69c6.js": "a0f5c931a78cdade27509fc8032e40567eadc018", - "/openlap/2073.a218cc2f0db2199a.js": "d5aaee27e0a63407b2d8075d12a02f7072b5f312", - "/openlap/2349.0ae700863e216598.js": "439ccb2a5b771242014d1dcb6e165d9e7d964607", - "/openlap/2773.60e7ef87f77616ca.js": "d86bac7db9de4ef6491341f59cc47696d58584d0", - "/openlap/2933.3d6e59675363dada.js": "7727f4c5506d5d30a746575b082f31f66e0a6956", - "/openlap/3326.f7588bf21dffe3d4.js": "7760cdfb2f32a28a1b90e4a98a35847ebcec530f", - "/openlap/3583.ea1394f840e5669d.js": "609a532eca7847c9522bcb5594490455b596d956", - "/openlap/3648.975c5dd9b2e65bfe.js": "8f84e032fe6ef20ece53594a4bd432e46be29001", - "/openlap/3804.eee14ff278acc9d0.js": "bd7dfebd87418b5dae52cec4e90085ce8a2329fb", - "/openlap/388.7fec46bdd0547c99.js": "db3d8046a8c66b74aea08bdbec4624eab8c623ea", - "/openlap/3991.2c23fb1dac82cfbc.js": "a00549b7df45afe823ea63db1a4f423887e257a6", - "/openlap/4174.27a612d8168a2d73.js": "1fea3a68d91acebeb86ed2b66a35be8d2e6b41c9", - "/openlap/4330.3f5a64c4de32ec18.js": "94aa066abe8b94a33ba0f3646fa604d46ffe8f48", - "/openlap/4376.d898196a6f88beaf.js": "7025b02406cd72785dc69e157fc53009846c2258", - "/openlap/438.5354f696b7473f9c.js": "e85f1293073e1c03ad34e72c6169d439c3300eb9", - "/openlap/4432.6917b3d253d37db8.js": "082707d8e8072d754d433a95462e854bcd858b60", - "/openlap/4711.2e668d2632d52a0a.js": "0582570a2d32fb29a5d7a374771168b235691541", - "/openlap/4753.f794e0dd1aa18f26.js": "7f7fc488464a50da4ca8ab1d31b05347875b83ad", - "/openlap/4908.cf6c42f9a1e0a710.js": "0b88dc3a0d66ada1ebb3036183bfbe0b47cccf1c", - "/openlap/4959.b6cbe58aea1d4512.js": "a4b13910d5fde235f8420e334c9dc32fba508beb", - "/openlap/5168.385955871cf905dc.js": "d9456fdcea4de67aa189bb7fe9a1e1c595e29c73", - "/openlap/5172.a8ac11c7f919b75c.js": "c7f862e26e46a207992327548c7321e7ef59118e", - "/openlap/5283.f27861d77c80f8c8.js": "c7d19f595ec6edd29709106bb74627cf6c8cde6e", - "/openlap/53.ef8f5ad0aeca47f5.js": "1940cb40a71feb62b1133236bd5108b885c8c35d", - "/openlap/5349.41b7e432d9a5e692.js": "3d3733267643802da054a97b48f5af6b37fd6023", - "/openlap/5652.480f5f34460408fd.js": "ffd0728ee6d224225ae98dfde76c35e4cf00d629", - "/openlap/5836.1318caac2e1617ec.js": "0b4e684c164c6980f2d67ab381a6fed92816b254", - "/openlap/6120.c0664ee3e4ddce1c.js": "ad3bacafc88cd42123da9dca8590a0b4f4d5a6f2", - "/openlap/6560.be038436088d1d1b.js": "bd66f6295bcc5ac94d31618a75f1934f4a4c4101", - "/openlap/657.76bcccce37c1b7a0.js": "b09d81d11c1be3616b63732bf2ea2394327b5ed7", - "/openlap/7544.41de329eea7a7890.js": "5a42ae3621ff69b5e64948965823fa606da6fe3b", - "/openlap/7602.bf00fda931b6b3f9.js": "a16390f93dd91a8b1893c5540d7431f5a694bd8c", - "/openlap/8034.88439e820e3f4f83.js": "a17cb5338e9f1c2cb76cb345dbc00282d0e9b480", - "/openlap/8136.0c8a7abe968b27bb.js": "1dc467302e59db7b5683bd2880dbd683b2968ba4", - "/openlap/8142.4d6c898246b152e0.js": "7a0211e660ac30c35b0f94d7ecb58c291bb75331", - "/openlap/8628.241f15391712f5a1.js": "ae4288891a05f252e7e97f382dab19f691293560", - "/openlap/8939.4343205f201b35cd.js": "56359a5bffa035c3be748086c3e8dd2e6ed715a5", - "/openlap/9016.552c6f6c1bc7491a.js": "2e290fb9db6251ac3f1712126650cd18dca7ea92", - "/openlap/9230.2670017cfc043ee5.js": "6c26487bc1138fb34657cf9aab984975797e233d", - "/openlap/9325.71e977d70555fb6b.js": "c0a2c1dcecedeb39a1f58703bef0c00e67259a79", - "/openlap/9434.02540948d5eb0abe.js": "a4f8c15cf6186635c9b7e96b3ab1cd0cce43e8bf", - "/openlap/9536.6114f173ce574494.js": "7884dc73d81982709723b8c5ad915d088443d0bc", - "/openlap/9654.d87a095b5a73992f.js": "69cd83ea4a45e7edf24d7c623505fae1ae2a5c4a", - "/openlap/9824.b00cf3dd4ae46cf8.js": "8749755f8d40af9ab6b525bc3a259335aff6bd47", - "/openlap/9922.9985bb0d1d423843.js": "2c85863b3742a6a9e726c14c978025c1219736b0", - "/openlap/9958.dc5b75dbd3f668f1.js": "ab815fb6795302ad33880b429131f6c516615178", + "/openlap/1033.76b969d7ff43a96e.js": "4afa0a78c0a91829e40d45393f2da449ce039fdc", + "/openlap/1118.f511ce13434f134e.js": "94712f87a989605713ed9bd7e1e77c6e2c7e96b7", + "/openlap/1166.59a52bf2636acbce.js": "b57be31de7dadfdbd2d0e58e87bfa24b04a3c049", + "/openlap/1217.026a47d221a63f13.js": "066de3083dee09d375cd34955bc222d7589f07c8", + "/openlap/1536.db6833c0107d7f9c.js": "fb2ce532aa638d705abf67af89da11589356b481", + "/openlap/1709.6b94ec3dfc7bea57.js": "ceb07740070d0c26b101d91a0a2a1a020c78dc0e", + "/openlap/2073.ef6300b544b1f1bc.js": "6ceff75252dab04f073846edd8ffd4324c13c00f", + "/openlap/2143.f5118fb91dcc061e.js": "752cecf4c1d4af7d2e3c202e49c14bd68a7e4e74", + "/openlap/2349.dfc969b06a20fbdf.js": "d77af8683d777993f9631e99ff07e06dfb9b1b48", + "/openlap/2658.144c039844d38716.js": "45dd6ffde4ac4b70c6982adcce435a8d3f456c6b", + "/openlap/2773.5088b7f21e9a830d.js": "e673d176e5029961c204155eaef206e2cf8242bb", + "/openlap/2933.e77e6983a545dc71.js": "8bee784597f9d2177d2c6f921185dcc667b4d445", + "/openlap/3326.b11d47bf55b51e6e.js": "508100c3e2e06039d976d53b203ab0f0663445a7", + "/openlap/3441.1bcc200b6b80cb64.js": "5ff35ab1c054260cbeee537c4020093974aac395", + "/openlap/3583.5dcac82542630379.js": "96af3c25e2bdb79c936f1721513322a96608c4a3", + "/openlap/3648.2cbd7d421c8d3d29.js": "becaac39c1db9a9a5ac551be91c85496077841a7", + "/openlap/3804.15685acfda1c97ef.js": "18c5b8c5ffe95eeae6b50ffa33d3bf1f6c51ed52", + "/openlap/388.8644c4006552b4c9.js": "1ee0e73d126cdac65dbd29f75184998fc0a45d37", + "/openlap/4174.49ead29b290f3dbf.js": "a0c06d0ca81a041aab8f34570dcb5572e096e5f9", + "/openlap/4330.8e0ae99b0e8fc0a1.js": "798dd63486164d622b62c103ceb5e73ebfc00666", + "/openlap/4376.1d32d77a106d0412.js": "2f69129d1a237b1236488eeb8bbdcc4d2240d404", + "/openlap/438.5ddc36fefb3df952.js": "2caa115f0126abcfe120869ba15ca7bbd2a84294", + "/openlap/4432.85d212c11d878f8e.js": "769f05b70a8f59fb0b14a84bd76a4228cc361bb3", + "/openlap/4711.b0c0d9db064ca725.js": "9576c0cb85548e46e1b4523ea6c9aa54eaa35736", + "/openlap/4753.87b2f095222628fd.js": "eed600de8bd8b06256a98a60bfc33494ca310c62", + "/openlap/4908.cd8df99afba225dc.js": "9758197e3debf36bcf1c512f6ef2f4b32d8bbe34", + "/openlap/4959.63cd7a01d2904fb3.js": "9301561ecf28e3e16df8ba135df34496260b8a5f", + "/openlap/5168.e3b2608116b99ac8.js": "6f247051bd988cdba3386538f3fb7affd315d5ed", + "/openlap/53.0492f13601b2ba05.js": "bb7a378564b8fa1b761e7e9aa0036712834749b9", + "/openlap/5349.891be86c5e7b7c06.js": "7a5c00ef7cee87ff9adcbbbdadc11b7a12ec31e3", + "/openlap/5652.4ed914f43a5f3ad2.js": "928f48875e359a7e46c811e0ef64c009f1d2a0f3", + "/openlap/57.a7fa8be9891b8de6.js": "dd46f426f124d4e9180e37e44e807e010fe58e58", + "/openlap/5836.667ba2b51121273b.js": "187358cd749ee0533099b7d08aa57cfcc4790eb7", + "/openlap/6120.178f45f836dee1d7.js": "d627d130151eeb12f66efc3f232b6acd043e9eda", + "/openlap/6560.cac1b316c57a649a.js": "21dc3d638625a51077fb5e89d485dfc3c3d27cbb", + "/openlap/657.89c927526a3df35d.js": "3c5e6cdf77b56925bc98c134ce6e30afe11c8cef", + "/openlap/6821.a638185a1ea8f011.js": "3c724d0188ed67f0aff449b9170fdb05de0974a8", + "/openlap/7544.15866dc11215f7b3.js": "b793c33dfff7fc50619e6b7d9381211522790975", + "/openlap/7602.6bacc62fa08eaefd.js": "b03e2c989c3784f24c126b799ee73e6c50018410", + "/openlap/7700.b428b0a4661941aa.js": "08028a2e24fd229319afe8a4d90ec7c04d2735c9", + "/openlap/8034.1073c5fcaf3ff878.js": "18ec0629cad0e13546c5e9d701b317fc438566b9", + "/openlap/8136.76273775606ffebb.js": "85c7d112df73bc2e90f136883c0dd9b77275b3aa", + "/openlap/8628.3844be50d3776c8c.js": "dd3be79afbef30a2504c5ad9d7bbefe5d67c686f", + "/openlap/8939.558926b9ee471663.js": "49eb4ed94f80bcde1adc8398ab06b85632009c0d", + "/openlap/9016.7f8c630e86be8e52.js": "53f282868e5393f99a3f2a8b823d0e76ff0d6e7f", + "/openlap/9230.201c45970184b129.js": "5542bc976c876aa64e7d662dfa2f0162665084d8", + "/openlap/9325.709c21fe10c98cc3.js": "aee1f3d4f7b1283da6ac5c77571f0ee8a6ea8a6d", + "/openlap/9434.e1d49653b4037a7c.js": "23426c5667c810037e51a00ae0161197632c29e2", + "/openlap/9536.2eed6356567e4809.js": "535cec6506c62360b1863b6891b8f106c162e3ba", + "/openlap/9654.ac5d4ec9a60bad1f.js": "fd80ecbd85d0efb427862da3051a091eb779b8e2", + "/openlap/9824.e86b8d95f89b034c.js": "b7f951c80c218c2ab73104f3714d6c309fae2f77", + "/openlap/9922.25d919d8f544452e.js": "dc36b26f33d1408f4fdaec45ff5dddda26a5c3c7", + "/openlap/9958.2c32b3a3b169ae15.js": "5f70dea23757e13ee5f4c134bdc58f9d94c16f0f", "/openlap/assets/favicon.ico": "eaac94c0af3e74f589945296e6aea7c2e87d5a72", - "/openlap/assets/i18n/de.json": "398e61da612b06798afb3495de491df7ef6ffec9", - "/openlap/assets/i18n/en.json": "9dc5122ff2db03cd413031992e6c91f7d1d17e42", - "/openlap/assets/i18n/es.json": "9bbd5bf4384b80e28efcd6ee32b4324d64bf5c9f", - "/openlap/assets/i18n/fr.json": "0ca287686d88de14ad311c28c79af0d981287dbe", - "/openlap/assets/i18n/it.json": "24b75860a30eb70dde1afa19a4e053109172b318", + "/openlap/assets/i18n/de.json": "41a3e23b5f02ef0ec2ea68f2da1e9c5a1b29f787", + "/openlap/assets/i18n/en.json": "c49ba68bc095e1a45c5a99f029275848f52010b0", + "/openlap/assets/i18n/es.json": "d4a526cf4b5fa30dc707cc6244292fb6e9f090a0", + "/openlap/assets/i18n/fr.json": "f36692d91d97099b35ad687fd991443fc1865443", + "/openlap/assets/i18n/it.json": "0af1fc326cb6669ec9fadd7d25029b6edb127c04", "/openlap/assets/icons/icon-128x128.png": "f40f15a391b35c399d8194f64bb70e62cf81f060", "/openlap/assets/icons/icon-144x144.png": "e7f5b797ecf854ecb39989bdb276b7216e9c4208", "/openlap/assets/icons/icon-152x152.png": "ac71f1b4b506082c554fb69d20c6314a9cf568a8", @@ -165,15 +171,15 @@ "/openlap/assets/icons/icon-512x512.png": "0f85b72ed5c17f8a71cc3d7337dab94dca8fa821", "/openlap/assets/icons/icon-72x72.png": "eda460f85a2aad3c217a429a7a2171f120878c59", "/openlap/assets/icons/icon-96x96.png": "71f89f3b9f1dac01437f2b91d631f72c54673dc1", - "/openlap/common.6c47bd3b3dc01a8f.js": "f6dfa1fac83a7e6a51d7549836ff67c41315df8e", - "/openlap/index.html": "3cc8efe482019ee0767858d8a521b150c9ff20ee", - "/openlap/main.ca90b959be021bc0.js": "881c741288f0991bd372154c97b58c4d66a6d751", + "/openlap/common.fdaf37eaa7cd5cdc.js": "961d49041940c77246d55e171f057ba0ad62910f", + "/openlap/index.html": "499f67375cac2dd0bf93b76bb0e0bf93569995e2", + "/openlap/main.bbd5f5aa0707904a.js": "bedd611157e5555c00620e927bab5e524683b13f", "/openlap/manifest.webmanifest": "cb0305d657912e2d792330661d18a691e9dcfe15", "/openlap/polyfills-core-js.e5d40a25add030b2.js": "a10a72fc2c6e6ae4f9e144777c453d4ca706853f", "/openlap/polyfills-dom.5c5f23fb57b03028.js": "06f5dc30f55bf9a3d9c6f9bca07c0041a6bbdaa0", "/openlap/polyfills.d4788768f8be496e.js": "3cda53753ebe9ab6bb6fe6beb032e1a967ca5567", - "/openlap/runtime.edf2c7a1218db27f.js": "f25a0c9b1b2610a22bfb5aa28dea6d151c4d5bdc", - "/openlap/styles.d1d43a9fe1154a40.css": "9ff0041e65d1dc9af7367c065dda92a8961b69c2" + "/openlap/runtime.0a1730bb469911ee.js": "a1f541e171bf6adfa1083bb1669a387d68dbf5a7", + "/openlap/styles.515a5d20e591987e.css": "12ceaa8fdf3c1b282a3dada5bd276c66864834f9" }, "navigationUrls": [ { diff --git a/runtime.0a1730bb469911ee.js b/runtime.0a1730bb469911ee.js new file mode 100644 index 00000000..8281f0f0 --- /dev/null +++ b/runtime.0a1730bb469911ee.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,v={},g={};function t(e){var r=g[e];if(void 0!==r)return r.exports;var a=g[e]={exports:{}};return v[e].call(a.exports,a,a.exports,t),a.exports}t.m=v,e=[],t.O=(r,a,d,n)=>{if(!a){var f=1/0;for(c=0;c=n)&&Object.keys(t.O).every(p=>t.O[p](a[o]))?a.splice(o--,1):(l=!1,n0&&e[c-1][2]>n;c--)e[c]=e[c-1];e[c]=[a,d,n]},t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},(()=>{var r,e=Object.getPrototypeOf?a=>Object.getPrototypeOf(a):a=>a.__proto__;t.t=function(a,d){if(1&d&&(a=this(a)),8&d||"object"==typeof a&&a&&(4&d&&a.__esModule||16&d&&"function"==typeof a.then))return a;var n=Object.create(null);t.r(n);var c={};r=r||[null,e({}),e([]),e(e)];for(var f=2&d&&a;"object"==typeof f&&!~r.indexOf(f);f=e(f))Object.getOwnPropertyNames(f).forEach(l=>c[l]=()=>a[l]);return c.default=()=>a,t.d(n,c),n}})(),t.d=(e,r)=>{for(var a in r)t.o(r,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:r[a]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,a)=>(t.f[a](e,r),r),[])),t.u=e=>(({2214:"polyfills-core-js",6748:"polyfills-dom",8592:"common"}[e]||e)+"."+{53:"0492f13601b2ba05",57:"a7fa8be9891b8de6",388:"8644c4006552b4c9",438:"5ddc36fefb3df952",657:"89c927526a3df35d",1033:"76b969d7ff43a96e",1118:"f511ce13434f134e",1166:"59a52bf2636acbce",1217:"026a47d221a63f13",1536:"db6833c0107d7f9c",1709:"6b94ec3dfc7bea57",2073:"ef6300b544b1f1bc",2143:"f5118fb91dcc061e",2214:"e5d40a25add030b2",2349:"dfc969b06a20fbdf",2658:"144c039844d38716",2773:"5088b7f21e9a830d",2933:"e77e6983a545dc71",3326:"b11d47bf55b51e6e",3441:"1bcc200b6b80cb64",3583:"5dcac82542630379",3648:"2cbd7d421c8d3d29",3804:"15685acfda1c97ef",4174:"49ead29b290f3dbf",4330:"8e0ae99b0e8fc0a1",4376:"1d32d77a106d0412",4432:"85d212c11d878f8e",4711:"b0c0d9db064ca725",4753:"87b2f095222628fd",4908:"cd8df99afba225dc",4959:"63cd7a01d2904fb3",5168:"e3b2608116b99ac8",5349:"891be86c5e7b7c06",5652:"4ed914f43a5f3ad2",5836:"667ba2b51121273b",6120:"178f45f836dee1d7",6560:"cac1b316c57a649a",6748:"5c5f23fb57b03028",6821:"a638185a1ea8f011",7544:"15866dc11215f7b3",7602:"6bacc62fa08eaefd",7700:"b428b0a4661941aa",8034:"1073c5fcaf3ff878",8136:"76273775606ffebb",8592:"fdaf37eaa7cd5cdc",8628:"3844be50d3776c8c",8939:"558926b9ee471663",9016:"7f8c630e86be8e52",9230:"201c45970184b129",9325:"709c21fe10c98cc3",9434:"e1d49653b4037a7c",9536:"2eed6356567e4809",9654:"ac5d4ec9a60bad1f",9824:"e86b8d95f89b034c",9922:"25d919d8f544452e",9958:"2c32b3a3b169ae15"}[e]+".js"),t.miniCssF=e=>{},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e={},r="app:";t.l=(a,d,n,c)=>{if(e[a])e[a].push(d);else{var f,l;if(void 0!==n)for(var o=document.getElementsByTagName("script"),i=0;i{f.onerror=f.onload=null,clearTimeout(u);var y=e[a];if(delete e[a],f.parentNode&&f.parentNode.removeChild(f),y&&y.forEach(_=>_(p)),m)return m(p)},u=setTimeout(s.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=s.bind(null,f.onerror),f.onload=s.bind(null,f.onload),l&&document.head.appendChild(f)}}})(),t.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;t.tt=()=>(void 0===e&&(e={createScriptURL:r=>r},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),t.tu=e=>t.tt().createScriptURL(e),t.p="",(()=>{var e={3666:0};t.f.j=(d,n)=>{var c=t.o(e,d)?e[d]:void 0;if(0!==c)if(c)n.push(c[2]);else if(3666!=d){var f=new Promise((b,s)=>c=e[d]=[b,s]);n.push(c[2]=f);var l=t.p+t.u(d),o=new Error;t.l(l,b=>{if(t.o(e,d)&&(0!==(c=e[d])&&(e[d]=void 0),c)){var s=b&&("load"===b.type?"missing":b.type),u=b&&b.target&&b.target.src;o.message="Loading chunk "+d+" failed.\n("+s+": "+u+")",o.name="ChunkLoadError",o.type=s,o.request=u,c[1](o)}},"chunk-"+d,d)}else e[d]=0},t.O.j=d=>0===e[d];var r=(d,n)=>{var o,i,[c,f,l]=n,b=0;if(c.some(u=>0!==e[u])){for(o in f)t.o(f,o)&&(t.m[o]=f[o]);if(l)var s=l(t)}for(d&&d(n);b{"use strict";var e,v={},g={};function t(e){var f=g[e];if(void 0!==f)return f.exports;var a=g[e]={exports:{}};return v[e].call(a.exports,a,a.exports,t),a.exports}t.m=v,e=[],t.O=(f,a,c,b)=>{if(!a){var r=1/0;for(d=0;d=b)&&Object.keys(t.O).every(p=>t.O[p](a[n]))?a.splice(n--,1):(l=!1,b0&&e[d-1][2]>b;d--)e[d]=e[d-1];e[d]=[a,c,b]},t.n=e=>{var f=e&&e.__esModule?()=>e.default:()=>e;return t.d(f,{a:f}),f},(()=>{var f,e=Object.getPrototypeOf?a=>Object.getPrototypeOf(a):a=>a.__proto__;t.t=function(a,c){if(1&c&&(a=this(a)),8&c||"object"==typeof a&&a&&(4&c&&a.__esModule||16&c&&"function"==typeof a.then))return a;var b=Object.create(null);t.r(b);var d={};f=f||[null,e({}),e([]),e(e)];for(var r=2&c&&a;"object"==typeof r&&!~f.indexOf(r);r=e(r))Object.getOwnPropertyNames(r).forEach(l=>d[l]=()=>a[l]);return d.default=()=>a,t.d(b,d),b}})(),t.d=(e,f)=>{for(var a in f)t.o(f,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:f[a]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((f,a)=>(t.f[a](e,f),f),[])),t.u=e=>(({2214:"polyfills-core-js",6748:"polyfills-dom",8592:"common"}[e]||e)+"."+{53:"ef8f5ad0aeca47f5",388:"7fec46bdd0547c99",438:"5354f696b7473f9c",657:"76bcccce37c1b7a0",1033:"f29117b131013734",1118:"92981d3d50309caf",1217:"199198d0894251dd",1536:"0ee81c542e124c87",1709:"421e16bf55ae69c6",2073:"a218cc2f0db2199a",2214:"e5d40a25add030b2",2349:"0ae700863e216598",2773:"60e7ef87f77616ca",2933:"3d6e59675363dada",3326:"f7588bf21dffe3d4",3583:"ea1394f840e5669d",3648:"975c5dd9b2e65bfe",3804:"eee14ff278acc9d0",3991:"2c23fb1dac82cfbc",4174:"27a612d8168a2d73",4330:"3f5a64c4de32ec18",4376:"d898196a6f88beaf",4432:"6917b3d253d37db8",4711:"2e668d2632d52a0a",4753:"f794e0dd1aa18f26",4908:"cf6c42f9a1e0a710",4959:"b6cbe58aea1d4512",5168:"385955871cf905dc",5172:"a8ac11c7f919b75c",5283:"f27861d77c80f8c8",5349:"41b7e432d9a5e692",5652:"480f5f34460408fd",5836:"1318caac2e1617ec",6120:"c0664ee3e4ddce1c",6560:"be038436088d1d1b",6748:"5c5f23fb57b03028",7544:"41de329eea7a7890",7602:"bf00fda931b6b3f9",8034:"88439e820e3f4f83",8136:"0c8a7abe968b27bb",8142:"4d6c898246b152e0",8592:"6c47bd3b3dc01a8f",8628:"241f15391712f5a1",8939:"4343205f201b35cd",9016:"552c6f6c1bc7491a",9230:"2670017cfc043ee5",9325:"71e977d70555fb6b",9434:"02540948d5eb0abe",9536:"6114f173ce574494",9654:"d87a095b5a73992f",9824:"b00cf3dd4ae46cf8",9922:"9985bb0d1d423843",9958:"dc5b75dbd3f668f1"}[e]+".js"),t.miniCssF=e=>{},t.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={},f="app:";t.l=(a,c,b,d)=>{if(e[a])e[a].push(c);else{var r,l;if(void 0!==b)for(var n=document.getElementsByTagName("script"),i=0;i{r.onerror=r.onload=null,clearTimeout(u);var y=e[a];if(delete e[a],r.parentNode&&r.parentNode.removeChild(r),y&&y.forEach(_=>_(p)),m)return m(p)},u=setTimeout(s.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=s.bind(null,r.onerror),r.onload=s.bind(null,r.onload),l&&document.head.appendChild(r)}}})(),t.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;t.tt=()=>(void 0===e&&(e={createScriptURL:f=>f},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),t.tu=e=>t.tt().createScriptURL(e),t.p="",(()=>{var e={3666:0};t.f.j=(c,b)=>{var d=t.o(e,c)?e[c]:void 0;if(0!==d)if(d)b.push(d[2]);else if(3666!=c){var r=new Promise((o,s)=>d=e[c]=[o,s]);b.push(d[2]=r);var l=t.p+t.u(c),n=new Error;t.l(l,o=>{if(t.o(e,c)&&(0!==(d=e[c])&&(e[c]=void 0),d)){var s=o&&("load"===o.type?"missing":o.type),u=o&&o.target&&o.target.src;n.message="Loading chunk "+c+" failed.\n("+s+": "+u+")",n.name="ChunkLoadError",n.type=s,n.request=u,d[1](n)}},"chunk-"+c,c)}else e[c]=0},t.O.j=c=>0===e[c];var f=(c,b)=>{var n,i,[d,r,l]=b,o=0;if(d.some(u=>0!==e[u])){for(n in r)t.o(r,n)&&(t.m[n]=r[n]);if(l)var s=l(t)}for(c&&c(b);o.ion-page{position:relative;contain:layout style;height:100%}.split-pane-visible>.ion-page.split-pane-main{position:relative}ion-route,ion-route-redirect,ion-router,ion-select-option,ion-nav-controller,ion-menu-controller,ion-action-sheet-controller,ion-alert-controller,ion-loading-controller,ion-modal-controller,ion-picker-controller,ion-popover-controller,ion-toast-controller,.ion-page-hidden{display:none!important}.ion-page-invisible{opacity:0}.can-go-back>ion-header ion-back-button{display:block}html.plt-ios.plt-hybrid,html.plt-ios.plt-pwa{--ion-statusbar-padding: 20px}@supports (padding-top: 20px){html{--ion-safe-area-top: var(--ion-statusbar-padding)}}@supports (padding-top: env(safe-area-inset-top)){html{--ion-safe-area-top: env(safe-area-inset-top);--ion-safe-area-bottom: env(safe-area-inset-bottom);--ion-safe-area-left: env(safe-area-inset-left);--ion-safe-area-right: env(safe-area-inset-right)}}ion-card.ion-color .ion-inherit-color,ion-card-header.ion-color .ion-inherit-color{color:inherit}.menu-content{transform:translateZ(0)}.menu-content-open{cursor:pointer;touch-action:manipulation;pointer-events:none}.ios .menu-content-reveal{box-shadow:-8px 0 42px #00000014}[dir=rtl].ios .menu-content-reveal{box-shadow:8px 0 42px #00000014}.md .menu-content-reveal,.md .menu-content-push{box-shadow:4px 0 16px #0000002e}ion-accordion-group.accordion-group-expand-inset>ion-accordion:first-of-type{border-top-left-radius:8px;border-top-right-radius:8px}ion-accordion-group.accordion-group-expand-inset>ion-accordion:last-of-type{border-bottom-left-radius:8px;border-bottom-right-radius:8px}ion-accordion-group>ion-accordion:last-of-type ion-item[slot=header]{--border-width: 0px}ion-accordion.accordion-animated>[slot=header] .ion-accordion-toggle-icon{transition:.3s transform cubic-bezier(.25,.8,.5,1)}@media (prefers-reduced-motion: reduce){ion-accordion .ion-accordion-toggle-icon{transition:none!important}}ion-accordion.accordion-expanding>[slot=header] .ion-accordion-toggle-icon,ion-accordion.accordion-expanded>[slot=header] .ion-accordion-toggle-icon{transform:rotate(180deg)}ion-accordion-group.accordion-group-expand-inset.md>ion-accordion.accordion-previous ion-item[slot=header]{--border-width: 0px;--inner-border-width: 0px}ion-accordion-group.accordion-group-expand-inset.md>ion-accordion.accordion-expanding:first-of-type,ion-accordion-group.accordion-group-expand-inset.md>ion-accordion.accordion-expanded:first-of-type{margin-top:0}ion-input input::-webkit-date-and-time-value{text-align:start}.ion-datetime-button-overlay{--width: fit-content;--height: fit-content}.ion-datetime-button-overlay ion-datetime.datetime-grid{width:320px;min-height:320px}audio,canvas,progress,video{vertical-align:baseline}audio:not([controls]){display:none;height:0}b,strong{font-weight:700}img{max-width:100%}hr{height:1px;border-width:0;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}label,input,select,textarea{font-family:inherit;line-height:normal}textarea{overflow:auto;height:auto;font:inherit;color:inherit}textarea::placeholder{padding-left:2px}form,input,optgroup,select{margin:0;font:inherit;color:inherit}html input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}a,a div,a span,a ion-icon,a ion-label,button,button div,button span,button ion-icon,button ion-label,.ion-tappable,[tappable],[tappable] div,[tappable] span,[tappable] ion-icon,[tappable] ion-label,input,textarea{touch-action:manipulation}a ion-label,button ion-label{pointer-events:none}button{padding:0;border:0;border-radius:0;font-family:inherit;font-style:inherit;font-variant:inherit;line-height:1;text-transform:none;cursor:pointer;-webkit-appearance:button}[tappable]{cursor:pointer}a[disabled],button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}html{width:100%;height:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}html:not(.hydrated) body{display:none}html.ion-ce body{display:block}html.plt-pwa{height:100vh}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin:0;padding:0;position:fixed;width:100%;max-width:100%;height:100%;max-height:100%;transform:translateZ(0);text-rendering:optimizeLegibility;overflow:hidden;touch-action:manipulation;-webkit-user-drag:none;-ms-content-zooming:none;word-wrap:break-word;overscroll-behavior-y:none;-webkit-text-size-adjust:none;text-size-adjust:none}html{font-family:var(--ion-font-family)}@supports (-webkit-touch-callout: none){html{font:var(--ion-dynamic-font, 16px var(--ion-font-family))}}a{background-color:transparent;color:var(--ion-color-primary, #3880ff)}h1,h2,h3,h4,h5,h6{margin-top:16px;margin-bottom:10px;font-weight:500;line-height:1.2}h1{margin-top:20px;font-size:1.625rem}h2{margin-top:18px;font-size:1.5rem}h3{font-size:1.375rem}h4{font-size:1.25rem}h5{font-size:1.125rem}h6{font-size:1rem}small{font-size:75%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}.ion-hide,.ion-hide-up,.ion-hide-down{display:none!important}@media (min-width: 576px){.ion-hide-sm-up{display:none!important}}@media (max-width: 575.98px){.ion-hide-sm-down{display:none!important}}@media (min-width: 768px){.ion-hide-md-up{display:none!important}}@media (max-width: 767.98px){.ion-hide-md-down{display:none!important}}@media (min-width: 992px){.ion-hide-lg-up{display:none!important}}@media (max-width: 991.98px){.ion-hide-lg-down{display:none!important}}@media (min-width: 1200px){.ion-hide-xl-up{display:none!important}}@media (max-width: 1199.98px){.ion-hide-xl-down{display:none!important}}.ion-no-padding{--padding-start: 0;--padding-end: 0;--padding-top: 0;--padding-bottom: 0;padding:0}.ion-padding{--padding-start: var(--ion-padding, 16px);--padding-end: var(--ion-padding, 16px);--padding-top: var(--ion-padding, 16px);--padding-bottom: var(--ion-padding, 16px);padding-inline-start:var(--ion-padding, 16px);padding-inline-end:var(--ion-padding, 16px);padding-top:var(--ion-padding, 16px);padding-bottom:var(--ion-padding, 16px)}.ion-padding-top{--padding-top: var(--ion-padding, 16px);padding-top:var(--ion-padding, 16px)}.ion-padding-start{--padding-start: var(--ion-padding, 16px);padding-inline-start:var(--ion-padding, 16px)}.ion-padding-end{--padding-end: var(--ion-padding, 16px);padding-inline-end:var(--ion-padding, 16px)}.ion-padding-bottom{--padding-bottom: var(--ion-padding, 16px);padding-bottom:var(--ion-padding, 16px)}.ion-padding-vertical{--padding-top: var(--ion-padding, 16px);--padding-bottom: var(--ion-padding, 16px);padding-top:var(--ion-padding, 16px);padding-bottom:var(--ion-padding, 16px)}.ion-padding-horizontal{--padding-start: var(--ion-padding, 16px);--padding-end: var(--ion-padding, 16px);padding-inline-start:var(--ion-padding, 16px);padding-inline-end:var(--ion-padding, 16px)}.ion-no-margin{--margin-start: 0;--margin-end: 0;--margin-top: 0;--margin-bottom: 0;margin:0}.ion-margin{--margin-start: var(--ion-margin, 16px);--margin-end: var(--ion-margin, 16px);--margin-top: var(--ion-margin, 16px);--margin-bottom: var(--ion-margin, 16px);margin-inline-start:var(--ion-margin, 16px);margin-inline-end:var(--ion-margin, 16px);margin-top:var(--ion-margin, 16px);margin-bottom:var(--ion-margin, 16px)}.ion-margin-top{--margin-top: var(--ion-margin, 16px);margin-top:var(--ion-margin, 16px)}.ion-margin-start{--margin-start: var(--ion-margin, 16px);margin-inline-start:var(--ion-margin, 16px)}.ion-margin-end{--margin-end: var(--ion-margin, 16px);margin-inline-end:var(--ion-margin, 16px)}.ion-margin-bottom{--margin-bottom: var(--ion-margin, 16px);margin-bottom:var(--ion-margin, 16px)}.ion-margin-vertical{--margin-top: var(--ion-margin, 16px);--margin-bottom: var(--ion-margin, 16px);margin-top:var(--ion-margin, 16px);margin-bottom:var(--ion-margin, 16px)}.ion-margin-horizontal{--margin-start: var(--ion-margin, 16px);--margin-end: var(--ion-margin, 16px);margin-inline-start:var(--ion-margin, 16px);margin-inline-end:var(--ion-margin, 16px)}.ion-float-left{float:left!important}.ion-float-right{float:right!important}.ion-float-start{float:left!important}:host-context([dir=rtl]) .ion-float-start{float:right!important}[dir=rtl] .ion-float-start{float:right!important}@supports selector(:dir(rtl)){.ion-float-start:dir(rtl){float:right!important}}.ion-float-end{float:right!important}:host-context([dir=rtl]) .ion-float-end{float:left!important}[dir=rtl] .ion-float-end{float:left!important}@supports selector(:dir(rtl)){.ion-float-end:dir(rtl){float:left!important}}@media (min-width: 576px){.ion-float-sm-left{float:left!important}.ion-float-sm-right{float:right!important}.ion-float-sm-start{float:left!important}:host-context([dir=rtl]) .ion-float-sm-start{float:right!important}[dir=rtl] .ion-float-sm-start{float:right!important}@supports selector(:dir(rtl)){.ion-float-sm-start:dir(rtl){float:right!important}}.ion-float-sm-end{float:right!important}:host-context([dir=rtl]) .ion-float-sm-end{float:left!important}[dir=rtl] .ion-float-sm-end{float:left!important}@supports selector(:dir(rtl)){.ion-float-sm-end:dir(rtl){float:left!important}}}@media (min-width: 768px){.ion-float-md-left{float:left!important}.ion-float-md-right{float:right!important}.ion-float-md-start{float:left!important}:host-context([dir=rtl]) .ion-float-md-start{float:right!important}[dir=rtl] .ion-float-md-start{float:right!important}@supports selector(:dir(rtl)){.ion-float-md-start:dir(rtl){float:right!important}}.ion-float-md-end{float:right!important}:host-context([dir=rtl]) .ion-float-md-end{float:left!important}[dir=rtl] .ion-float-md-end{float:left!important}@supports selector(:dir(rtl)){.ion-float-md-end:dir(rtl){float:left!important}}}@media (min-width: 992px){.ion-float-lg-left{float:left!important}.ion-float-lg-right{float:right!important}.ion-float-lg-start{float:left!important}:host-context([dir=rtl]) .ion-float-lg-start{float:right!important}[dir=rtl] .ion-float-lg-start{float:right!important}@supports selector(:dir(rtl)){.ion-float-lg-start:dir(rtl){float:right!important}}.ion-float-lg-end{float:right!important}:host-context([dir=rtl]) .ion-float-lg-end{float:left!important}[dir=rtl] .ion-float-lg-end{float:left!important}@supports selector(:dir(rtl)){.ion-float-lg-end:dir(rtl){float:left!important}}}@media (min-width: 1200px){.ion-float-xl-left{float:left!important}.ion-float-xl-right{float:right!important}.ion-float-xl-start{float:left!important}:host-context([dir=rtl]) .ion-float-xl-start{float:right!important}[dir=rtl] .ion-float-xl-start{float:right!important}@supports selector(:dir(rtl)){.ion-float-xl-start:dir(rtl){float:right!important}}.ion-float-xl-end{float:right!important}:host-context([dir=rtl]) .ion-float-xl-end{float:left!important}[dir=rtl] .ion-float-xl-end{float:left!important}@supports selector(:dir(rtl)){.ion-float-xl-end:dir(rtl){float:left!important}}}.ion-text-center{text-align:center!important}.ion-text-justify{text-align:justify!important}.ion-text-start{text-align:start!important}.ion-text-end{text-align:end!important}.ion-text-left{text-align:left!important}.ion-text-right{text-align:right!important}.ion-text-nowrap{white-space:nowrap!important}.ion-text-wrap{white-space:normal!important}@media (min-width: 576px){.ion-text-sm-center{text-align:center!important}.ion-text-sm-justify{text-align:justify!important}.ion-text-sm-start{text-align:start!important}.ion-text-sm-end{text-align:end!important}.ion-text-sm-left{text-align:left!important}.ion-text-sm-right{text-align:right!important}.ion-text-sm-nowrap{white-space:nowrap!important}.ion-text-sm-wrap{white-space:normal!important}}@media (min-width: 768px){.ion-text-md-center{text-align:center!important}.ion-text-md-justify{text-align:justify!important}.ion-text-md-start{text-align:start!important}.ion-text-md-end{text-align:end!important}.ion-text-md-left{text-align:left!important}.ion-text-md-right{text-align:right!important}.ion-text-md-nowrap{white-space:nowrap!important}.ion-text-md-wrap{white-space:normal!important}}@media (min-width: 992px){.ion-text-lg-center{text-align:center!important}.ion-text-lg-justify{text-align:justify!important}.ion-text-lg-start{text-align:start!important}.ion-text-lg-end{text-align:end!important}.ion-text-lg-left{text-align:left!important}.ion-text-lg-right{text-align:right!important}.ion-text-lg-nowrap{white-space:nowrap!important}.ion-text-lg-wrap{white-space:normal!important}}@media (min-width: 1200px){.ion-text-xl-center{text-align:center!important}.ion-text-xl-justify{text-align:justify!important}.ion-text-xl-start{text-align:start!important}.ion-text-xl-end{text-align:end!important}.ion-text-xl-left{text-align:left!important}.ion-text-xl-right{text-align:right!important}.ion-text-xl-nowrap{white-space:nowrap!important}.ion-text-xl-wrap{white-space:normal!important}}.ion-text-uppercase{text-transform:uppercase!important}.ion-text-lowercase{text-transform:lowercase!important}.ion-text-capitalize{text-transform:capitalize!important}@media (min-width: 576px){.ion-text-sm-uppercase{text-transform:uppercase!important}.ion-text-sm-lowercase{text-transform:lowercase!important}.ion-text-sm-capitalize{text-transform:capitalize!important}}@media (min-width: 768px){.ion-text-md-uppercase{text-transform:uppercase!important}.ion-text-md-lowercase{text-transform:lowercase!important}.ion-text-md-capitalize{text-transform:capitalize!important}}@media (min-width: 992px){.ion-text-lg-uppercase{text-transform:uppercase!important}.ion-text-lg-lowercase{text-transform:lowercase!important}.ion-text-lg-capitalize{text-transform:capitalize!important}}@media (min-width: 1200px){.ion-text-xl-uppercase{text-transform:uppercase!important}.ion-text-xl-lowercase{text-transform:lowercase!important}.ion-text-xl-capitalize{text-transform:capitalize!important}}.ion-align-self-start{align-self:flex-start!important}.ion-align-self-end{align-self:flex-end!important}.ion-align-self-center{align-self:center!important}.ion-align-self-stretch{align-self:stretch!important}.ion-align-self-baseline{align-self:baseline!important}.ion-align-self-auto{align-self:auto!important}.ion-wrap{flex-wrap:wrap!important}.ion-nowrap{flex-wrap:nowrap!important}.ion-wrap-reverse{flex-wrap:wrap-reverse!important}.ion-justify-content-start{justify-content:flex-start!important}.ion-justify-content-center{justify-content:center!important}.ion-justify-content-end{justify-content:flex-end!important}.ion-justify-content-around{justify-content:space-around!important}.ion-justify-content-between{justify-content:space-between!important}.ion-justify-content-evenly{justify-content:space-evenly!important}.ion-align-items-start{align-items:flex-start!important}.ion-align-items-center{align-items:center!important}.ion-align-items-end{align-items:flex-end!important}.ion-align-items-stretch{align-items:stretch!important}.ion-align-items-baseline{align-items:baseline!important}a{color:var(--ion-text-color)}ion-badge.tuning{width:2em!important}ion-item{--highlight-color-focused: var(--ion-text-color);--highlight-color-valid: var(--ion-text-color)}ion-list-header{--color: var(--ion-color-primary)}ion-menu ion-item-group+ion-item-group{border-top:1px solid}ion-range.pristine{--knob-size: 0}ion-input.right-align :not(.has-focus){text-align:right}ion-item.driver ion-button{margin-inline-end:8px}ion-item.driver ion-buttons{margin-left:0}ion-item.driver ion-buttons ion-note{width:3em}@keyframes blink-checkered-flag{0%{opacity:0}20%{opacity:1}40%{opacity:0}60%{opacity:1}80%{opacity:0}to{opacity:1}}ion-title checkerboard{animation-name:blink-checkered-flag;animation-duration:3s;vertical-align:-.2em;margin-left:4px;margin-right:4px}ion-button.icon-only{--ripple-color: var(--ion-color-medium)}ion-button{--background-hover:transparent !important}@media only screen and (min-width: 768px) and (max-height: 600px){ion-modal{--width: 600px;--ion-safe-area-right: 0px;--ion-safe-area-left: 0px;--border-radius: 2px;--box-shadow: 0 28px 48px rgba(0, 0, 0, .4)}} diff --git a/styles.d1d43a9fe1154a40.css b/styles.d1d43a9fe1154a40.css deleted file mode 100644 index e3a78070..00000000 --- a/styles.d1d43a9fe1154a40.css +++ /dev/null @@ -1 +0,0 @@ -:root{--ion-color-primary: #3880ff;--ion-color-primary-rgb: 56, 128, 255;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #3171e0;--ion-color-primary-tint: #4c8dff;--ion-color-secondary: #0cd1e8;--ion-color-secondary-rgb: 12, 209, 232;--ion-color-secondary-contrast: #ffffff;--ion-color-secondary-contrast-rgb: 255, 255, 255;--ion-color-secondary-shade: #0bb8cc;--ion-color-secondary-tint: #24d6ea;--ion-color-tertiary: #7044ff;--ion-color-tertiary-rgb: 112, 68, 255;--ion-color-tertiary-contrast: #ffffff;--ion-color-tertiary-contrast-rgb: 255, 255, 255;--ion-color-tertiary-shade: #633ce0;--ion-color-tertiary-tint: #7e57ff;--ion-color-success: #10dc60;--ion-color-success-rgb: 16, 220, 96;--ion-color-success-contrast: #ffffff;--ion-color-success-contrast-rgb: 255, 255, 255;--ion-color-success-shade: #0ec254;--ion-color-success-tint: #28e070;--ion-color-warning: #ffce00;--ion-color-warning-rgb: 255, 206, 0;--ion-color-warning-contrast: #ffffff;--ion-color-warning-contrast-rgb: 255, 255, 255;--ion-color-warning-shade: #e0b500;--ion-color-warning-tint: #ffd31a;--ion-color-danger: #f04141;--ion-color-danger-rgb: 245, 61, 61;--ion-color-danger-contrast: #ffffff;--ion-color-danger-contrast-rgb: 255, 255, 255;--ion-color-danger-shade: #d33939;--ion-color-danger-tint: #f25454;--ion-color-dark: #222428;--ion-color-dark-rgb: 34, 34, 34;--ion-color-dark-contrast: #ffffff;--ion-color-dark-contrast-rgb: 255, 255, 255;--ion-color-dark-shade: #1e2023;--ion-color-dark-tint: #383a3e;--ion-color-medium: #989aa2;--ion-color-medium-rgb: 152, 154, 162;--ion-color-medium-contrast: #ffffff;--ion-color-medium-contrast-rgb: 255, 255, 255;--ion-color-medium-shade: #86888f;--ion-color-medium-tint: #a2a4ab;--ion-color-light: #f4f5f8;--ion-color-light-rgb: 244, 244, 244;--ion-color-light-contrast: #000000;--ion-color-light-contrast-rgb: 0, 0, 0;--ion-color-light-shade: #d7d8da;--ion-color-light-tint: #f5f6f9;--ion-border-color: var(--ion-color-dark-shade);--ion-background-color: var(--ion-color-dark);--ion-background-color-rgb: var(--ion-color-dark-rgb);--ion-text-color: var(--ion-color-light);--ion-text-color-rgb: var(--ion-color-light-rgb);--ion-color-step-50: #232323;--ion-color-step-100: #2e2e2e;--ion-color-step-150: #3a3a3a;--ion-color-step-200: #454545;--ion-color-step-250: #515151;--ion-color-step-300: #5d5d5d;--ion-color-step-350: #8b8b8b;--ion-color-step-400: #747474;--ion-color-step-450: #7f7f7f;--ion-color-step-500: #8b8b8b;--ion-color-step-550: #979797;--ion-color-step-600: #a2a2a2;--ion-color-step-650: #aeaeae;--ion-color-step-700: #b9b9b9;--ion-color-step-750: #c5c5c5;--ion-color-step-800: #d1d1d1;--ion-color-step-850: #dcdcdc;--ion-color-step-900: #e8e8e8;--ion-color-step-950: #f3f3f3}html.ios{--ion-default-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Roboto", sans-serif}html.md{--ion-default-font: "Roboto", "Helvetica Neue", sans-serif}html{--ion-font-family: var(--ion-default-font)}body{background:var(--ion-background-color)}body.backdrop-no-scroll{overflow:hidden}html.ios ion-modal.modal-card ion-header ion-toolbar:first-of-type,html.ios ion-modal.modal-sheet ion-header ion-toolbar:first-of-type,html.ios ion-modal ion-footer ion-toolbar:first-of-type{padding-top:6px}html.ios ion-modal.modal-card ion-header ion-toolbar:last-of-type,html.ios ion-modal.modal-sheet ion-header ion-toolbar:last-of-type{padding-bottom:6px}html.ios ion-modal ion-toolbar{padding-right:calc(var(--ion-safe-area-right) + 8px);padding-left:calc(var(--ion-safe-area-left) + 8px)}@media screen and (min-width: 768px){html.ios ion-modal.modal-card:first-of-type{--backdrop-opacity: .18}}ion-modal.modal-default.show-modal~ion-modal.modal-default{--backdrop-opacity: 0;--box-shadow: none}html.ios ion-modal.modal-card .ion-page{border-top-left-radius:var(--border-radius)}.ion-color-primary{--ion-color-base: var(--ion-color-primary, #3880ff) !important;--ion-color-base-rgb: var(--ion-color-primary-rgb, 56, 128, 255) !important;--ion-color-contrast: var(--ion-color-primary-contrast, #fff) !important;--ion-color-contrast-rgb: var(--ion-color-primary-contrast-rgb, 255, 255, 255) !important;--ion-color-shade: var(--ion-color-primary-shade, #3171e0) !important;--ion-color-tint: var(--ion-color-primary-tint, #4c8dff) !important}.ion-color-secondary{--ion-color-base: var(--ion-color-secondary, #3dc2ff) !important;--ion-color-base-rgb: var(--ion-color-secondary-rgb, 61, 194, 255) !important;--ion-color-contrast: var(--ion-color-secondary-contrast, #fff) !important;--ion-color-contrast-rgb: var(--ion-color-secondary-contrast-rgb, 255, 255, 255) !important;--ion-color-shade: var(--ion-color-secondary-shade, #36abe0) !important;--ion-color-tint: var(--ion-color-secondary-tint, #50c8ff) !important}.ion-color-tertiary{--ion-color-base: var(--ion-color-tertiary, #5260ff) !important;--ion-color-base-rgb: var(--ion-color-tertiary-rgb, 82, 96, 255) !important;--ion-color-contrast: var(--ion-color-tertiary-contrast, #fff) !important;--ion-color-contrast-rgb: var(--ion-color-tertiary-contrast-rgb, 255, 255, 255) !important;--ion-color-shade: var(--ion-color-tertiary-shade, #4854e0) !important;--ion-color-tint: var(--ion-color-tertiary-tint, #6370ff) !important}.ion-color-success{--ion-color-base: var(--ion-color-success, #2dd36f) !important;--ion-color-base-rgb: var(--ion-color-success-rgb, 45, 211, 111) !important;--ion-color-contrast: var(--ion-color-success-contrast, #fff) !important;--ion-color-contrast-rgb: var(--ion-color-success-contrast-rgb, 255, 255, 255) !important;--ion-color-shade: var(--ion-color-success-shade, #28ba62) !important;--ion-color-tint: var(--ion-color-success-tint, #42d77d) !important}.ion-color-warning{--ion-color-base: var(--ion-color-warning, #ffc409) !important;--ion-color-base-rgb: var(--ion-color-warning-rgb, 255, 196, 9) !important;--ion-color-contrast: var(--ion-color-warning-contrast, #000) !important;--ion-color-contrast-rgb: var(--ion-color-warning-contrast-rgb, 0, 0, 0) !important;--ion-color-shade: var(--ion-color-warning-shade, #e0ac08) !important;--ion-color-tint: var(--ion-color-warning-tint, #ffca22) !important}.ion-color-danger{--ion-color-base: var(--ion-color-danger, #eb445a) !important;--ion-color-base-rgb: var(--ion-color-danger-rgb, 235, 68, 90) !important;--ion-color-contrast: var(--ion-color-danger-contrast, #fff) !important;--ion-color-contrast-rgb: var(--ion-color-danger-contrast-rgb, 255, 255, 255) !important;--ion-color-shade: var(--ion-color-danger-shade, #cf3c4f) !important;--ion-color-tint: var(--ion-color-danger-tint, #ed576b) !important}.ion-color-light{--ion-color-base: var(--ion-color-light, #f4f5f8) !important;--ion-color-base-rgb: var(--ion-color-light-rgb, 244, 245, 248) !important;--ion-color-contrast: var(--ion-color-light-contrast, #000) !important;--ion-color-contrast-rgb: var(--ion-color-light-contrast-rgb, 0, 0, 0) !important;--ion-color-shade: var(--ion-color-light-shade, #d7d8da) !important;--ion-color-tint: var(--ion-color-light-tint, #f5f6f9) !important}.ion-color-medium{--ion-color-base: var(--ion-color-medium, #92949c) !important;--ion-color-base-rgb: var(--ion-color-medium-rgb, 146, 148, 156) !important;--ion-color-contrast: var(--ion-color-medium-contrast, #fff) !important;--ion-color-contrast-rgb: var(--ion-color-medium-contrast-rgb, 255, 255, 255) !important;--ion-color-shade: var(--ion-color-medium-shade, #808289) !important;--ion-color-tint: var(--ion-color-medium-tint, #9d9fa6) !important}.ion-color-dark{--ion-color-base: var(--ion-color-dark, #222428) !important;--ion-color-base-rgb: var(--ion-color-dark-rgb, 34, 36, 40) !important;--ion-color-contrast: var(--ion-color-dark-contrast, #fff) !important;--ion-color-contrast-rgb: var(--ion-color-dark-contrast-rgb, 255, 255, 255) !important;--ion-color-shade: var(--ion-color-dark-shade, #1e2023) !important;--ion-color-tint: var(--ion-color-dark-tint, #383a3e) !important}.ion-page{inset:0;display:flex;position:absolute;flex-direction:column;justify-content:space-between;contain:layout size style;overflow:hidden;z-index:0}ion-modal>.ion-page{position:relative;contain:layout style;height:100%}.split-pane-visible>.ion-page.split-pane-main{position:relative}ion-route,ion-route-redirect,ion-router,ion-select-option,ion-nav-controller,ion-menu-controller,ion-action-sheet-controller,ion-alert-controller,ion-loading-controller,ion-modal-controller,ion-picker-controller,ion-popover-controller,ion-toast-controller,.ion-page-hidden{display:none!important}.ion-page-invisible{opacity:0}.can-go-back>ion-header ion-back-button{display:block}html.plt-ios.plt-hybrid,html.plt-ios.plt-pwa{--ion-statusbar-padding: 20px}@supports (padding-top: 20px){html{--ion-safe-area-top: var(--ion-statusbar-padding)}}@supports (padding-top: constant(safe-area-inset-top)){html{--ion-safe-area-top: constant(safe-area-inset-top);--ion-safe-area-bottom: constant(safe-area-inset-bottom);--ion-safe-area-left: constant(safe-area-inset-left);--ion-safe-area-right: constant(safe-area-inset-right)}}@supports (padding-top: env(safe-area-inset-top)){html{--ion-safe-area-top: env(safe-area-inset-top);--ion-safe-area-bottom: env(safe-area-inset-bottom);--ion-safe-area-left: env(safe-area-inset-left);--ion-safe-area-right: env(safe-area-inset-right)}}ion-card.ion-color .ion-inherit-color,ion-card-header.ion-color .ion-inherit-color{color:inherit}.menu-content{transform:translateZ(0)}.menu-content-open{cursor:pointer;touch-action:manipulation;pointer-events:none}.ios .menu-content-reveal{box-shadow:-8px 0 42px #00000014}[dir=rtl].ios .menu-content-reveal{box-shadow:8px 0 42px #00000014}.md .menu-content-reveal,.md .menu-content-push{box-shadow:4px 0 16px #0000002e}ion-accordion-group.accordion-group-expand-inset>ion-accordion:first-of-type{border-top-left-radius:8px;border-top-right-radius:8px}ion-accordion-group.accordion-group-expand-inset>ion-accordion:last-of-type{border-bottom-left-radius:8px;border-bottom-right-radius:8px}ion-accordion-group>ion-accordion:last-of-type ion-item[slot=header]{--border-width: 0px}ion-accordion.accordion-animated>[slot=header] .ion-accordion-toggle-icon{transition:.3s transform cubic-bezier(.25,.8,.5,1)}@media (prefers-reduced-motion: reduce){ion-accordion .ion-accordion-toggle-icon{transition:none!important}}ion-accordion.accordion-expanding>[slot=header] .ion-accordion-toggle-icon,ion-accordion.accordion-expanded>[slot=header] .ion-accordion-toggle-icon{transform:rotate(180deg)}ion-accordion-group.accordion-group-expand-inset.md>ion-accordion.accordion-previous ion-item[slot=header]{--border-width: 0px;--inner-border-width: 0px}ion-accordion-group.accordion-group-expand-inset.md>ion-accordion.accordion-expanding:first-of-type,ion-accordion-group.accordion-group-expand-inset.md>ion-accordion.accordion-expanded:first-of-type{margin-top:0}ion-input input::-webkit-date-and-time-value{text-align:start}.ion-datetime-button-overlay{--width: fit-content;--height: fit-content}.ion-datetime-button-overlay ion-datetime.datetime-grid{width:320px;min-height:320px}audio,canvas,progress,video{vertical-align:baseline}audio:not([controls]){display:none;height:0}b,strong{font-weight:700}img{max-width:100%}hr{height:1px;border-width:0;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}label,input,select,textarea{font-family:inherit;line-height:normal}textarea{overflow:auto;height:auto;font:inherit;color:inherit}textarea::placeholder{padding-left:2px}form,input,optgroup,select{margin:0;font:inherit;color:inherit}html input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}a,a div,a span,a ion-icon,a ion-label,button,button div,button span,button ion-icon,button ion-label,.ion-tappable,[tappable],[tappable] div,[tappable] span,[tappable] ion-icon,[tappable] ion-label,input,textarea{touch-action:manipulation}a ion-label,button ion-label{pointer-events:none}button{padding:0;border:0;border-radius:0;font-family:inherit;font-style:inherit;font-variant:inherit;line-height:1;text-transform:none;cursor:pointer;-webkit-appearance:button}[tappable]{cursor:pointer}a[disabled],button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}html{width:100%;height:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}html:not(.hydrated) body{display:none}html.ion-ce body{display:block}html.plt-pwa{height:100vh}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin:0;padding:0;position:fixed;width:100%;max-width:100%;height:100%;max-height:100%;transform:translateZ(0);text-rendering:optimizeLegibility;overflow:hidden;touch-action:manipulation;-webkit-user-drag:none;-ms-content-zooming:none;word-wrap:break-word;overscroll-behavior-y:none;-webkit-text-size-adjust:none;text-size-adjust:none}html{font-family:var(--ion-font-family)}a{background-color:transparent;color:var(--ion-color-primary, #3880ff)}h1,h2,h3,h4,h5,h6{margin-top:16px;margin-bottom:10px;font-weight:500;line-height:1.2}h1{margin-top:20px;font-size:26px}h2{margin-top:18px;font-size:24px}h3{font-size:22px}h4{font-size:20px}h5{font-size:18px}h6{font-size:16px}small{font-size:75%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}.ion-hide,.ion-hide-up,.ion-hide-down{display:none!important}@media (min-width: 576px){.ion-hide-sm-up{display:none!important}}@media (max-width: 575.98px){.ion-hide-sm-down{display:none!important}}@media (min-width: 768px){.ion-hide-md-up{display:none!important}}@media (max-width: 767.98px){.ion-hide-md-down{display:none!important}}@media (min-width: 992px){.ion-hide-lg-up{display:none!important}}@media (max-width: 991.98px){.ion-hide-lg-down{display:none!important}}@media (min-width: 1200px){.ion-hide-xl-up{display:none!important}}@media (max-width: 1199.98px){.ion-hide-xl-down{display:none!important}}.ion-no-padding{--padding-start: 0;--padding-end: 0;--padding-top: 0;--padding-bottom: 0;padding:0}.ion-padding{--padding-start: var(--ion-padding, 16px);--padding-end: var(--ion-padding, 16px);--padding-top: var(--ion-padding, 16px);--padding-bottom: var(--ion-padding, 16px);padding-inline-start:var(--ion-padding, 16px);padding-inline-end:var(--ion-padding, 16px);padding-top:var(--ion-padding, 16px);padding-bottom:var(--ion-padding, 16px)}.ion-padding-top{--padding-top: var(--ion-padding, 16px);padding-top:var(--ion-padding, 16px)}.ion-padding-start{--padding-start: var(--ion-padding, 16px);padding-inline-start:var(--ion-padding, 16px)}.ion-padding-end{--padding-end: var(--ion-padding, 16px);padding-inline-end:var(--ion-padding, 16px)}.ion-padding-bottom{--padding-bottom: var(--ion-padding, 16px);padding-bottom:var(--ion-padding, 16px)}.ion-padding-vertical{--padding-top: var(--ion-padding, 16px);--padding-bottom: var(--ion-padding, 16px);padding-top:var(--ion-padding, 16px);padding-bottom:var(--ion-padding, 16px)}.ion-padding-horizontal{--padding-start: var(--ion-padding, 16px);--padding-end: var(--ion-padding, 16px);padding-inline-start:var(--ion-padding, 16px);padding-inline-end:var(--ion-padding, 16px)}.ion-no-margin{--margin-start: 0;--margin-end: 0;--margin-top: 0;--margin-bottom: 0;margin:0}.ion-margin{--margin-start: var(--ion-margin, 16px);--margin-end: var(--ion-margin, 16px);--margin-top: var(--ion-margin, 16px);--margin-bottom: var(--ion-margin, 16px);margin-inline-start:var(--ion-margin, 16px);margin-inline-end:var(--ion-margin, 16px);margin-top:var(--ion-margin, 16px);margin-bottom:var(--ion-margin, 16px)}.ion-margin-top{--margin-top: var(--ion-margin, 16px);margin-top:var(--ion-margin, 16px)}.ion-margin-start{--margin-start: var(--ion-margin, 16px);margin-inline-start:var(--ion-margin, 16px)}.ion-margin-end{--margin-end: var(--ion-margin, 16px);margin-inline-end:var(--ion-margin, 16px)}.ion-margin-bottom{--margin-bottom: var(--ion-margin, 16px);margin-bottom:var(--ion-margin, 16px)}.ion-margin-vertical{--margin-top: var(--ion-margin, 16px);--margin-bottom: var(--ion-margin, 16px);margin-top:var(--ion-margin, 16px);margin-bottom:var(--ion-margin, 16px)}.ion-margin-horizontal{--margin-start: var(--ion-margin, 16px);--margin-end: var(--ion-margin, 16px);margin-inline-start:var(--ion-margin, 16px);margin-inline-end:var(--ion-margin, 16px)}.ion-float-left{float:left!important}.ion-float-right{float:right!important}.ion-float-start{float:left!important}:host-context([dir=rtl]) .ion-float-start{float:right!important}[dir=rtl] .ion-float-start{float:right!important}@supports selector(:dir(rtl)){.ion-float-start:dir(rtl){float:right!important}}.ion-float-end{float:right!important}:host-context([dir=rtl]) .ion-float-end{float:left!important}[dir=rtl] .ion-float-end{float:left!important}@supports selector(:dir(rtl)){.ion-float-end:dir(rtl){float:left!important}}@media (min-width: 576px){.ion-float-sm-left{float:left!important}.ion-float-sm-right{float:right!important}.ion-float-sm-start{float:left!important}:host-context([dir=rtl]) .ion-float-sm-start{float:right!important}[dir=rtl] .ion-float-sm-start{float:right!important}@supports selector(:dir(rtl)){.ion-float-sm-start:dir(rtl){float:right!important}}.ion-float-sm-end{float:right!important}:host-context([dir=rtl]) .ion-float-sm-end{float:left!important}[dir=rtl] .ion-float-sm-end{float:left!important}@supports selector(:dir(rtl)){.ion-float-sm-end:dir(rtl){float:left!important}}}@media (min-width: 768px){.ion-float-md-left{float:left!important}.ion-float-md-right{float:right!important}.ion-float-md-start{float:left!important}:host-context([dir=rtl]) .ion-float-md-start{float:right!important}[dir=rtl] .ion-float-md-start{float:right!important}@supports selector(:dir(rtl)){.ion-float-md-start:dir(rtl){float:right!important}}.ion-float-md-end{float:right!important}:host-context([dir=rtl]) .ion-float-md-end{float:left!important}[dir=rtl] .ion-float-md-end{float:left!important}@supports selector(:dir(rtl)){.ion-float-md-end:dir(rtl){float:left!important}}}@media (min-width: 992px){.ion-float-lg-left{float:left!important}.ion-float-lg-right{float:right!important}.ion-float-lg-start{float:left!important}:host-context([dir=rtl]) .ion-float-lg-start{float:right!important}[dir=rtl] .ion-float-lg-start{float:right!important}@supports selector(:dir(rtl)){.ion-float-lg-start:dir(rtl){float:right!important}}.ion-float-lg-end{float:right!important}:host-context([dir=rtl]) .ion-float-lg-end{float:left!important}[dir=rtl] .ion-float-lg-end{float:left!important}@supports selector(:dir(rtl)){.ion-float-lg-end:dir(rtl){float:left!important}}}@media (min-width: 1200px){.ion-float-xl-left{float:left!important}.ion-float-xl-right{float:right!important}.ion-float-xl-start{float:left!important}:host-context([dir=rtl]) .ion-float-xl-start{float:right!important}[dir=rtl] .ion-float-xl-start{float:right!important}@supports selector(:dir(rtl)){.ion-float-xl-start:dir(rtl){float:right!important}}.ion-float-xl-end{float:right!important}:host-context([dir=rtl]) .ion-float-xl-end{float:left!important}[dir=rtl] .ion-float-xl-end{float:left!important}@supports selector(:dir(rtl)){.ion-float-xl-end:dir(rtl){float:left!important}}}.ion-text-center{text-align:center!important}.ion-text-justify{text-align:justify!important}.ion-text-start{text-align:start!important}.ion-text-end{text-align:end!important}.ion-text-left{text-align:left!important}.ion-text-right{text-align:right!important}.ion-text-nowrap{white-space:nowrap!important}.ion-text-wrap{white-space:normal!important}@media (min-width: 576px){.ion-text-sm-center{text-align:center!important}.ion-text-sm-justify{text-align:justify!important}.ion-text-sm-start{text-align:start!important}.ion-text-sm-end{text-align:end!important}.ion-text-sm-left{text-align:left!important}.ion-text-sm-right{text-align:right!important}.ion-text-sm-nowrap{white-space:nowrap!important}.ion-text-sm-wrap{white-space:normal!important}}@media (min-width: 768px){.ion-text-md-center{text-align:center!important}.ion-text-md-justify{text-align:justify!important}.ion-text-md-start{text-align:start!important}.ion-text-md-end{text-align:end!important}.ion-text-md-left{text-align:left!important}.ion-text-md-right{text-align:right!important}.ion-text-md-nowrap{white-space:nowrap!important}.ion-text-md-wrap{white-space:normal!important}}@media (min-width: 992px){.ion-text-lg-center{text-align:center!important}.ion-text-lg-justify{text-align:justify!important}.ion-text-lg-start{text-align:start!important}.ion-text-lg-end{text-align:end!important}.ion-text-lg-left{text-align:left!important}.ion-text-lg-right{text-align:right!important}.ion-text-lg-nowrap{white-space:nowrap!important}.ion-text-lg-wrap{white-space:normal!important}}@media (min-width: 1200px){.ion-text-xl-center{text-align:center!important}.ion-text-xl-justify{text-align:justify!important}.ion-text-xl-start{text-align:start!important}.ion-text-xl-end{text-align:end!important}.ion-text-xl-left{text-align:left!important}.ion-text-xl-right{text-align:right!important}.ion-text-xl-nowrap{white-space:nowrap!important}.ion-text-xl-wrap{white-space:normal!important}}.ion-text-uppercase{text-transform:uppercase!important}.ion-text-lowercase{text-transform:lowercase!important}.ion-text-capitalize{text-transform:capitalize!important}@media (min-width: 576px){.ion-text-sm-uppercase{text-transform:uppercase!important}.ion-text-sm-lowercase{text-transform:lowercase!important}.ion-text-sm-capitalize{text-transform:capitalize!important}}@media (min-width: 768px){.ion-text-md-uppercase{text-transform:uppercase!important}.ion-text-md-lowercase{text-transform:lowercase!important}.ion-text-md-capitalize{text-transform:capitalize!important}}@media (min-width: 992px){.ion-text-lg-uppercase{text-transform:uppercase!important}.ion-text-lg-lowercase{text-transform:lowercase!important}.ion-text-lg-capitalize{text-transform:capitalize!important}}@media (min-width: 1200px){.ion-text-xl-uppercase{text-transform:uppercase!important}.ion-text-xl-lowercase{text-transform:lowercase!important}.ion-text-xl-capitalize{text-transform:capitalize!important}}.ion-align-self-start{align-self:flex-start!important}.ion-align-self-end{align-self:flex-end!important}.ion-align-self-center{align-self:center!important}.ion-align-self-stretch{align-self:stretch!important}.ion-align-self-baseline{align-self:baseline!important}.ion-align-self-auto{align-self:auto!important}.ion-wrap{flex-wrap:wrap!important}.ion-nowrap{flex-wrap:nowrap!important}.ion-wrap-reverse{flex-wrap:wrap-reverse!important}.ion-justify-content-start{justify-content:flex-start!important}.ion-justify-content-center{justify-content:center!important}.ion-justify-content-end{justify-content:flex-end!important}.ion-justify-content-around{justify-content:space-around!important}.ion-justify-content-between{justify-content:space-between!important}.ion-justify-content-evenly{justify-content:space-evenly!important}.ion-align-items-start{align-items:flex-start!important}.ion-align-items-center{align-items:center!important}.ion-align-items-end{align-items:flex-end!important}.ion-align-items-stretch{align-items:stretch!important}.ion-align-items-baseline{align-items:baseline!important}a{color:var(--ion-text-color)}ion-badge.tuning{width:2em!important}ion-item{--highlight-color-focused: var(--ion-text-color);--highlight-color-valid: var(--ion-text-color)}ion-list-header{--color: var(--ion-color-primary)}ion-menu ion-item-group+ion-item-group{border-top:1px solid}ion-range.pristine{--knob-size: 0}ion-input.right-align :not(.has-focus){text-align:right}@keyframes blink-checkered-flag{0%{opacity:0}20%{opacity:1}40%{opacity:0}60%{opacity:1}80%{opacity:0}to{opacity:1}}ion-title checkerboard{animation-name:blink-checkered-flag;animation-duration:3s;vertical-align:-.2em;margin-left:4px;margin-right:4px}ion-button.icon-only{--ripple-color: var(--ion-color-medium)}ion-button{--background-hover:transparent !important}@media only screen and (min-width: 768px) and (max-height: 600px){ion-modal{--width: 600px;--ion-safe-area-right: 0px;--ion-safe-area-left: 0px;--border-radius: 2px;--box-shadow: 0 28px 48px rgba(0, 0, 0, .4)}}