diff --git a/1033.76b969d7ff43a96e.js b/1033.76b969d7ff43a96e.js deleted file mode 100644 index c5ba72e..0000000 --- a/1033.76b969d7ff43a96e.js +++ /dev/null @@ -1 +0,0 @@ -"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.9d6114cfef0d3e1b.js b/1033.9d6114cfef0d3e1b.js new file mode 100644 index 0000000..b17a8c3 --- /dev/null +++ b/1033.9d6114cfef0d3e1b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1033],{1033:(u,s,e)=>{e.r(s),e.d(s,{ion_img:()=>o});var i=e(7239),n=e(2961),r=e(5521);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.65b48ce7b379fe45.js b/1118.65b48ce7b379fe45.js new file mode 100644 index 0000000..b47b3b9 --- /dev/null +++ b/1118.65b48ce7b379fe45.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(7239),g=d(7036),f=d(6401),k=d(2961),v=d(7389),h=d(7511),l=d(3814),c=d(5521),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/1118.f511ce13434f134e.js b/1118.f511ce13434f134e.js deleted file mode 100644 index 1db291c..0000000 --- a/1118.f511ce13434f134e.js +++ /dev/null @@ -1 +0,0 @@ -"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/1217.026a47d221a63f13.js b/1217.026a47d221a63f13.js deleted file mode 100644 index 39c7ad7..0000000 --- a/1217.026a47d221a63f13.js +++ /dev/null @@ -1 +0,0 @@ -"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.8b30a678b4b4ce52.js b/1217.8b30a678b4b4ce52.js new file mode 100644 index 0000000..aa70c3b --- /dev/null +++ b/1217.8b30a678b4b4ce52.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(7239),v=a(8134),x=a(2448),p=a(2961),m=a(8909),b=a(4063),o=a(3814),r=a(4896),l=a(5521);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.legacy-input.sc-ion-input-ios-h{pointer-events:none}.has-focus.legacy-input.sc-ion-input-ios-h input.sc-ion-input-ios,.has-focus.legacy-input.sc-ion-input-ios-h a.sc-ion-input-ios,.has-focus.legacy-input.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;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-input-ios-s>[slot=end]{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.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}.sc-ion-input-ios-s>ion-button[slot=start].button-has-icon-only,.sc-ion-input-ios-s>ion-button[slot=end].button-has-icon-only{--border-radius:50%;--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;aspect-ratio:1}",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.legacy-input.sc-ion-input-md-h{pointer-events:none}.has-focus.legacy-input.sc-ion-input-md-h input.sc-ion-input-md,.has-focus.legacy-input.sc-ion-input-md-h a.sc-ion-input-md,.has-focus.legacy-input.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;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-input-md-s>[slot=end]{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.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}.sc-ion-input-md-s>ion-button[slot=start].button-has-icon-only,.sc-ion-input-md-s>ion-button[slot=end].button-has-icon-only{--border-radius:50%;--padding-start:8px;--padding-end:8px;--padding-top:8px;--padding-bottom:8px;aspect-ratio:1;min-height:40px}"}},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/1536.554cf2dff633c066.js b/1536.554cf2dff633c066.js new file mode 100644 index 0000000..521df26 --- /dev/null +++ b/1536.554cf2dff633c066.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(7239),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/1536.db6833c0107d7f9c.js b/1536.db6833c0107d7f9c.js deleted file mode 100644 index 6fb04c6..0000000 --- a/1536.db6833c0107d7f9c.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(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.6b94ec3dfc7bea57.js b/1709.6b94ec3dfc7bea57.js deleted file mode 100644 index bc50dfe..0000000 --- a/1709.6b94ec3dfc7bea57.js +++ /dev/null @@ -1 +0,0 @@ -"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/1709.dde7ef0780a4184d.js b/1709.dde7ef0780a4184d.js new file mode 100644 index 0000000..1db25c9 --- /dev/null +++ b/1709.dde7ef0780a4184d.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(7239),C=d(4253),P=d(8134),h=d(2961),y=d(8909),S=d(6879),s=d(3814),l=d(5521);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.0c6b308351ece004.js b/2073.0c6b308351ece004.js new file mode 100644 index 0000000..db55daf --- /dev/null +++ b/2073.0c6b308351ece004.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(7239),h=i(2961),c=i(3814),u=i(4896),r=i(5521);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/2073.ef6300b544b1f1bc.js b/2073.ef6300b544b1f1bc.js deleted file mode 100644 index 0f598ac..0000000 --- a/2073.ef6300b544b1f1bc.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(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/2349.457449db35e5129c.js b/2349.457449db35e5129c.js new file mode 100644 index 0000000..096de01 --- /dev/null +++ b/2349.457449db35e5129c.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(7239),M=p(4253),$=p(7869),m=p(2961),ne=p(7389),z=p(8909),g=p(6319),l=p(7511),E=p(3814),F=p(6717),L=p(5521),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/2349.dfc969b06a20fbdf.js b/2349.dfc969b06a20fbdf.js deleted file mode 100644 index 2889f11..0000000 --- a/2349.dfc969b06a20fbdf.js +++ /dev/null @@ -1 +0,0 @@ -"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/2773.5088b7f21e9a830d.js b/2773.5088b7f21e9a830d.js deleted file mode 100644 index 448ea9b..0000000 --- a/2773.5088b7f21e9a830d.js +++ /dev/null @@ -1 +0,0 @@ -"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.ee33391b4d60d0c2.js b/2773.ee33391b4d60d0c2.js new file mode 100644 index 0000000..f1efc7f --- /dev/null +++ b/2773.ee33391b4d60d0c2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2773],{2773:(B,_,r)=>{r.r(_),r.d(_,{ion_select:()=>z,ion_select_option:()=>D,ion_select_popover:()=>A});var x=r(5861),s=r(7239),L=r(8134),j=r(2448),w=r(2890),f=r(2961),O=r(8909),a=r(7511),p=r(6879),c=r(3814),C=r(2754),y=r(4896),g=r(5521);r(2972);const z=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-"+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,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){const i=t.childOpts.map(o=>o.value).indexOf(t.value);if(i>-1){const o=l.querySelector(`.select-interface-option:nth-child(${i+1})`);if(o){(0,f.f)(o);const n=o.querySelector("ion-radio, ion-checkbox");n&&n.focus()}}else{const o=l.querySelector("ion-radio:not(.radio-disabled), ion-checkbox:not(.checkbox-disabled)");o&&((0,f.f)(o.closest("ion-item")),o.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),n=Array.from(i.classList).filter(d=>"hydrated"!==d).join(" "),h=`${P} ${n}`;return{role:(0,w.i)(t,o,this.compareWith)?"selected":"",text:i.textContent,cssClass:h,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 n=E(o),h=Array.from(o.classList).filter(u=>"hydrated"!==u).join(" ");return{type:t,cssClass:`${P} ${h}`,label:o.textContent||"",value:n,checked:(0,w.i)(l,n,this.compareWith),disabled:o.disabled}})}createPopoverOptions(e,t){return e.map(i=>{const o=E(i),n=Array.from(i.classList).filter(d=>"hydrated"!==d).join(" ");return{text:i.textContent||"",cssClass:`${P} ${n}`,value:o,checked:(0,w.i)(t,o,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,o=t.interfaceOptions,n=(0,g.b)(t),h="md"!==n,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"===n&&void 0!==l?v="cover":b=Object.assign(Object.assign({},e),{detail:{ionShadowTarget:t.nativeWrapperEl}});const k=Object.assign(Object.assign({mode:n,event:b,alignment:"center",size:v,showBackdrop:h},o),{component:"ion-select-popover",cssClass:["select-popover",o.cssClass],componentProps:{header:o.header,subHeader:o.subHeader,message:o.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,o=e.multiple?"checkbox":"radio",n=(0,g.b)(e),h=Object.assign(Object.assign({mode:n},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: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,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:n,placeholder:h,fill:d,shape:u,name:b,value:v}=this,k=(0,g.b)(this),m="floating"===o||"stacked"===o,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"===o||"floating"===o&&(F||l||N);return(0,s.h)(s.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-${n}`]:S,[`select-shape-${u}`]:void 0!==u,[`select-label-placement-${o}`]:!0})},(0,s.h)("label",{class:"select-wrapper",id:"select-label"},this.renderLabelContainer(),(0,s.h)("div",{class:"select-wrapper-inner"},(0,s.h)("slot",{name:"start"}),(0,s.h)("div",{class:"native-wrapper",ref:Q=>this.nativeWrapperEl=Q,part:"container"},this.renderSelectText(),this.renderListbox()),(0,s.h)("slot",{name:"end"}),!m&&this.renderSelectIcon()),m&&this.renderSelectIcon(),G&&(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:n,placeholder:h,value:d}=this,u=(0,g.b)(this),{labelText:b,labelId:v}=(0,f.e)(t,l);(0,f.d)(!0,t,n,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,s.h)(s.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!==o,"legacy-select":!0}},this.renderSelectText(),this.renderSelectIcon(),(0,s.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,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:n}=this,h=this.getText(),{labelText:d}=(0,f.e)(i,o),u=null!==(t=null!==(e=this.labelText)&&void 0!==e?e:n["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,s.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,s.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(o=>(0,w.c)(t,E(o),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;-webkit-margin-start:0;margin-inline-start:0}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}: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}::slotted(ion-button[slot=start].button-has-icon-only),::slotted(ion-button[slot=end].button-has-icon-only){--border-radius:50%;--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;aspect-ratio:1}",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;-webkit-margin-start:0;margin-inline-start:0}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}: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}::slotted(ion-button[slot=start].button-has-icon-only),::slotted(ion-button[slot=end].button-has-icon-only){--border-radius:50%;--padding-start:8px;--padding-end:8px;--padding-top:8px;--padding-bottom:8px;aspect-ratio:1;min-height:40px}"};const D=class{constructor(e){(0,s.r)(this,e),this.inputId="ion-selopt-"+V++,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 V=0;D.style=":host{display:none}";const A=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,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(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,c.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,c.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)}};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,_,r)=>{r.d(_,{c:()=>L,g:()=>w,h:()=>s,o:()=>O});var x=r(5861);const s=(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/2933.a226903104d3c3f0.js b/2933.a226903104d3c3f0.js new file mode 100644 index 0000000..49a9377 --- /dev/null +++ b/2933.a226903104d3c3f0.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(7239),w=a(3814),f=a(5521),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/2933.e77e6983a545dc71.js b/2933.e77e6983a545dc71.js deleted file mode 100644 index 1908c91..0000000 --- a/2933.e77e6983a545dc71.js +++ /dev/null @@ -1 +0,0 @@ -"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.50596839e5682fd5.js b/3326.50596839e5682fd5.js new file mode 100644 index 0000000..f1e3c6e --- /dev/null +++ b/3326.50596839e5682fd5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3326],{3326:(j,w,l)=>{l.r(w),l.d(w,{ion_refresher:()=>T,ion_refresher_content:()=>U});var d=l(5861),n=l(7239),_=l(5069),y=l(4253),h=l(2961),E=l(1765),c=l(5521),m=l(2876),x=l(7036),k=l(4896),C=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,h.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=()=>navigator.maxTouchPoints>0&&CSS.supports("background: -webkit-named-image(apple-pay-logo-black)"),P=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,h.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&&R()||"md"===r)});return function(r,s){return e.apply(this,arguments)}}(),T=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 P(e.el,(0,c.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,c.b)(r)?yield b(e,void 0,300):yield(0,h.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,h.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,h.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,h.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,h.g)(t).querySelector("circle"),f=s.el.querySelector("ion-refresher-content .refresher-pulling-icon"),o=(0,h.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,h.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(W=>W.destroy()),s.animations=[],s.gesture.enable(!0),s.state=1});const v=(0,_.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,c.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,h.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 P(e.el,(0,c.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,h.r)(()=>(0,h.r)(()=>e.resetNativeRefresher(e.elementToTransform,32)))):e.close(32,"120ms")})()}cancel(){var e=this;return(0,d.Z)(function*(){e.nativeRefresher?e.pointerDown||(0,h.r)(()=>(0,h.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,c.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"]}}};T.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=c.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=R(),t=(0,c.b)(this);this.pullingIcon=c.c.get("refreshingIcon","ios"===t&&e?c.c.get("spinner",e?"lines":k.i):"circular")}if(void 0===this.refreshingSpinner){const e=(0,c.b)(this);this.refreshingSpinner=c.c.get("refreshingSpinner",c.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!==C.S[e],r=(0,c.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.b11d47bf55b51e6e.js b/3326.b11d47bf55b51e6e.js deleted file mode 100644 index 0fb34b8..0000000 --- a/3326.b11d47bf55b51e6e.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(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/3441.1bcc200b6b80cb64.js b/3441.1bcc200b6b80cb64.js deleted file mode 100644 index 9c88507..0000000 --- a/3441.1bcc200b6b80cb64.js +++ /dev/null @@ -1 +0,0 @@ -"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.176ae94990b9dded.js b/3583.176ae94990b9dded.js new file mode 100644 index 0000000..45bdc7c --- /dev/null +++ b/3583.176ae94990b9dded.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(7239),u=i(4896),E=i(5521),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.5dcac82542630379.js b/3583.5dcac82542630379.js deleted file mode 100644 index fd1dfcf..0000000 --- a/3583.5dcac82542630379.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(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/3648.2cbd7d421c8d3d29.js b/3648.2cbd7d421c8d3d29.js deleted file mode 100644 index 1b5d813..0000000 --- a/3648.2cbd7d421c8d3d29.js +++ /dev/null @@ -1 +0,0 @@ -"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.fa967076a2fb3320.js b/3648.fa967076a2fb3320.js new file mode 100644 index 0000000..928903a --- /dev/null +++ b/3648.fa967076a2fb3320.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(7239),f=r(6401),v=r(2961),k=r(7389),d=r(7511),g=r(3814),s=r(5521),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/3804.15685acfda1c97ef.js b/3804.15685acfda1c97ef.js deleted file mode 100644 index 55b70c0..0000000 --- a/3804.15685acfda1c97ef.js +++ /dev/null @@ -1 +0,0 @@ -"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.f436e78e9b2e3aa0.js b/3804.f436e78e9b2e3aa0.js new file mode 100644 index 0000000..05f0a9f --- /dev/null +++ b/3804.f436e78e9b2e3aa0.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(7239),$=u(7869),P=u(2961),V=u(7389),F=u(8909),I=u(7511),f=u(5521),g=u(3814),w=u(6717),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/388.1e09b9b3f5937b21.js b/388.1e09b9b3f5937b21.js new file mode 100644 index 0000000..2e76325 --- /dev/null +++ b/388.1e09b9b3f5937b21.js @@ -0,0 +1 @@ +"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(7239),g=e(2961),a=e(3814),s=e(5521);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: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,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 deleted file mode 100644 index 59bccf1..0000000 --- a/388.8644c4006552b4c9.js +++ /dev/null @@ -1 +0,0 @@ -"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/4174.49ead29b290f3dbf.js b/4174.49ead29b290f3dbf.js deleted file mode 100644 index 282b6a1..0000000 --- a/4174.49ead29b290f3dbf.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(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/4174.6d0ee6dea02cd24d.js b/4174.6d0ee6dea02cd24d.js new file mode 100644 index 0000000..f7633e6 --- /dev/null +++ b/4174.6d0ee6dea02cd24d.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(7239),m=a(2961),l=a(3814),b=a(5521);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.8e0ae99b0e8fc0a1.js b/4330.8e0ae99b0e8fc0a1.js deleted file mode 100644 index e69304e..0000000 --- a/4330.8e0ae99b0e8fc0a1.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(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/4330.f4ed6888e9a440da.js b/4330.f4ed6888e9a440da.js new file mode 100644 index 0000000..402ed91 --- /dev/null +++ b/4330.f4ed6888e9a440da.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(7239),R=p(2961),C=p(3814),P=p(5521);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 deleted file mode 100644 index 4fe8944..0000000 --- a/4376.1d32d77a106d0412.js +++ /dev/null @@ -1 +0,0 @@ -"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.ad57a987923d0112.js b/4376.ad57a987923d0112.js new file mode 100644 index 0000000..a4b87c3 --- /dev/null +++ b/4376.ad57a987923d0112.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4376],{4376:(d,u,o)=>{o.r(u),o.d(u,{ion_text:()=>l});var r=o(7239),_=o(3814),c=o(5521);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,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.5ddc36fefb3df952.js b/438.5ddc36fefb3df952.js deleted file mode 100644 index 0e00a43..0000000 --- a/438.5ddc36fefb3df952.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 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/438.98155884a74e3ef4.js b/438.98155884a74e3ef4.js new file mode 100644 index 0000000..f9acd61 --- /dev/null +++ b/438.98155884a74e3ef4.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(7239),f=a(2930),x=a(3814),d=a(5521),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.85d212c11d878f8e.js b/4432.85d212c11d878f8e.js deleted file mode 100644 index 0f41c53..0000000 --- a/4432.85d212c11d878f8e.js +++ /dev/null @@ -1 +0,0 @@ -"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/4432.eb4211bd8b639049.js b/4432.eb4211bd8b639049.js new file mode 100644 index 0000000..929dc78 --- /dev/null +++ b/4432.eb4211bd8b639049.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(7239),v=c(8134),h=c(2961),_=c(2890),y=c(8909),m=c(3814),o=c(5521);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&&!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.603aaa68dca08112.js b/4711.603aaa68dca08112.js new file mode 100644 index 0000000..3ba624e --- /dev/null +++ b/4711.603aaa68dca08112.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(7239),v=s(2961),c=s(8909),a=s(3814),w=s(4896),d=s(5521);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;max-width:100%}: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;max-width:100%}: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/4711.b0c0d9db064ca725.js b/4711.b0c0d9db064ca725.js deleted file mode 100644 index 5b8c932..0000000 --- a/4711.b0c0d9db064ca725.js +++ /dev/null @@ -1 +0,0 @@ -"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.1f189a2c5c8221b7.js b/4753.1f189a2c5c8221b7.js new file mode 100644 index 0000000..d12ccca --- /dev/null +++ b/4753.1f189a2c5c8221b7.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(7239),d=a(5521),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.87b2f095222628fd.js b/4753.87b2f095222628fd.js deleted file mode 100644 index 780fac0..0000000 --- a/4753.87b2f095222628fd.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(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/4908.cd8df99afba225dc.js b/4908.cd8df99afba225dc.js deleted file mode 100644 index dd3585b..0000000 --- a/4908.cd8df99afba225dc.js +++ /dev/null @@ -1 +0,0 @@ -"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.cdfe796cde0d63e5.js b/4908.cdfe796cde0d63e5.js new file mode 100644 index 0000000..b2e6a27 --- /dev/null +++ b/4908.cdfe796cde0d63e5.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(7239),u=s(3814),c=s(5521),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/4959.0b48c9461e221ac5.js b/4959.0b48c9461e221ac5.js new file mode 100644 index 0000000..755871e --- /dev/null +++ b/4959.0b48c9461e221ac5.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(7239),J=y(6390),O=y(2961),D=y(8909),W=y(6879),S=y(3814),_=y(4896),E=y(5521),r=y(402),Q=y(7389),w=y(7511),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{background:var(--ion-color-base);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.63cd7a01d2904fb3.js b/4959.63cd7a01d2904fb3.js deleted file mode 100644 index c08a2b2..0000000 --- a/4959.63cd7a01d2904fb3.js +++ /dev/null @@ -1 +0,0 @@ -"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/5168.936dac2957732d61.js b/5168.936dac2957732d61.js new file mode 100644 index 0000000..95739d0 --- /dev/null +++ b/5168.936dac2957732d61.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(7239),u=r(8134),c=r(2961),f=r(8909),x=r(1765),d=r(6879),i=r(3814),l=r(4896),s=r(5521);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/5168.e3b2608116b99ac8.js b/5168.e3b2608116b99ac8.js deleted file mode 100644 index c5bdca1..0000000 --- a/5168.e3b2608116b99ac8.js +++ /dev/null @@ -1 +0,0 @@ -"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/53.0492f13601b2ba05.js b/53.0492f13601b2ba05.js deleted file mode 100644 index 003d561..0000000 --- a/53.0492f13601b2ba05.js +++ /dev/null @@ -1 +0,0 @@ -"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.04b041861826a7c4.js b/53.04b041861826a7c4.js new file mode 100644 index 0000000..725eacf --- /dev/null +++ b/53.04b041861826a7c4.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(7239),c=a(5521),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(6717);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(7252).then(a.bind(a,7252)).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/5349.107a37d966268317.js b/5349.107a37d966268317.js new file mode 100644 index 0000000..b2666f8 --- /dev/null +++ b/5349.107a37d966268317.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(7239),E=f(5069),d=f(2961),v=f(6717),b=f(5521),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/5349.891be86c5e7b7c06.js b/5349.891be86c5e7b7c06.js deleted file mode 100644 index dabb1c4..0000000 --- a/5349.891be86c5e7b7c06.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(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.4ed914f43a5f3ad2.js b/5652.4ed914f43a5f3ad2.js deleted file mode 100644 index dfcdc2d..0000000 --- a/5652.4ed914f43a5f3ad2.js +++ /dev/null @@ -1 +0,0 @@ -"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/5652.7a19190a41867132.js b/5652.7a19190a41867132.js new file mode 100644 index 0000000..4390bbe --- /dev/null +++ b/5652.7a19190a41867132.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 e=d(7239),k=d(2961),f=d(8909),u=d(3814),w=d(5521);let p;const l=(o,t,n,i,r)=>(n="ios"===(n&&y(n))?"ios":"md",i&&"ios"===n?o=y(i):r&&"md"===n?o=y(r):(!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,e.r)(this,o),this.ionFocus=(0,e.d)(this,"ionFocus",7),this.ionBlur=(0,e.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:r,target:x,size:m,href:O,color:G,expand:A,hasIconOnly:N,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:r,target:x};let _=this.fill;return null==_&&(_=this.inToolbar||this.inListHeader?"clear":"solid"),"button"!==n&&this.renderHiddenButton(),(0,e.h)(e.H,{onClick:this.handleClick,"aria-disabled":i?"true":null,class:(0,u.c)(G,{[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":N,"button-disabled":i,"ion-activatable":!0,"ion-focusable":!0})},(0,e.h)(D,Object.assign({},Q,{class:"button-native",part:"native",disabled:i,onFocus:this.onFocus,onBlur:this.onBlur},J),(0,e.h)("span",{class:"button-inner"},(0,e.h)("slot",{name:"icon-only"}),(0,e.h)("slot",{name:"start"}),(0,e.h)("slot",null),(0,e.h)("slot",{name:"end"})),"md"===o&&(0,e.h)("ion-ripple-effect",{type:this.rippleType})))}get el(){return(0,e.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(r=>{r[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,t)=>{const n=(()=>{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);if(n)return n;try{return(0,e.j)(`svg/${o}.svg`)}catch{console.warn(`[Ionicons Warning]: Could not load icon with name "${o}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`,t)}})(t,o):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 r=z.parseFromString(o,"text/html").querySelector("svg");return r&&b.set(o,r.outerHTML),Promise.resolve()}n=fetch(o).then(i=>{if(i.ok)return i.text().then(r=>{r&&!1!==t&&(r=(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""})(r)),b.set(o,r||"")});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,r=this.mode||"md",x=!!t&&(t.includes("arrow")||t.includes("chevron"))&&!1!==o,m=o||x;return(0,e.h)(e.H,Object.assign({role:"img",class:Object.assign(Object.assign({[r]:!0},K(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":m,"icon-rtl":m&&P(i)})},n),(0,e.h)("div",this.svgContent?{class:"icon-inner",innerHTML:this.svgContent}:{class:"icon-inner"}))}static get assetsDirs(){return["svg"]}get el(){return(0,e.f)(this)}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}}},X=()=>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 e=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,e.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/5836.667ba2b51121273b.js b/5836.667ba2b51121273b.js deleted file mode 100644 index 4f23737..0000000 --- a/5836.667ba2b51121273b.js +++ /dev/null @@ -1 +0,0 @@ -"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/5836.8f31480b7e816267.js b/5836.8f31480b7e816267.js new file mode 100644 index 0000000..5065cc5 --- /dev/null +++ b/5836.8f31480b7e816267.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(7239),d=e(5521),g=e(2961),b=e(3814),v=e(4896);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 deleted file mode 100644 index 9b94681..0000000 --- a/6120.178f45f836dee1d7.js +++ /dev/null @@ -1 +0,0 @@ -"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.e0031104a05186c1.js b/6120.e0031104a05186c1.js new file mode 100644 index 0000000..af4b764 --- /dev/null +++ b/6120.e0031104a05186c1.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(7239),T=c(7036),b=c(2961),M=c(7389),v=c(8909),h=c(7511),p=c(3814),l=c(5521),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/6560.b4af615b9b303001.js b/6560.b4af615b9b303001.js new file mode 100644 index 0000000..eeab2e4 --- /dev/null +++ b/6560.b4af615b9b303001.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(7239),u=n(8134),f=n(2448),c=n(2961),w=n(8909),m=n(4063),r=n(3814),o=n(5521);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,w.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:v=>this.textareaWrapper=v},(0,a.h)("textarea",Object.assign({class:"native-textarea",ref:v=>this.nativeInput=v,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;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-textarea-ios-s>[slot=end]{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.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-s>ion-button[slot=start].button-has-icon-only,.sc-ion-textarea-ios-s>ion-button[slot=end].button-has-icon-only{--border-radius:50%;--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;aspect-ratio:1}',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;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-textarea-md-s>[slot=end]{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.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}.sc-ion-textarea-md-s>ion-button[slot=start].button-has-icon-only,.sc-ion-textarea-md-s>ion-button[slot=end].button-has-icon-only{--border-radius:50%;--padding-start:8px;--padding-end:8px;--padding-top:8px;--padding-bottom:8px;aspect-ratio:1;min-height:40px}'}},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},w=/^[a-z][a-z0-9+\-.]*:/,m=function(){var r=(0,h.Z)(function*(o,l,g,b){if(null!=o&&"#"!==o[0]&&!w.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/6560.cac1b316c57a649a.js b/6560.cac1b316c57a649a.js deleted file mode 100644 index 9571b14..0000000 --- a/6560.cac1b316c57a649a.js +++ /dev/null @@ -1 +0,0 @@ -"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.4fdcf79804785f36.js b/657.4fdcf79804785f36.js new file mode 100644 index 0000000..1298004 --- /dev/null +++ b/657.4fdcf79804785f36.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(7239),s=i(3814),g=i(5521);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/657.89c927526a3df35d.js b/657.89c927526a3df35d.js deleted file mode 100644 index 2003cf9..0000000 --- a/657.89c927526a3df35d.js +++ /dev/null @@ -1 +0,0 @@ -"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/7252.81d4ac8d56f7f49a.js b/7252.81d4ac8d56f7f49a.js new file mode 100644 index 0000000..a32fb20 --- /dev/null +++ b/7252.81d4ac8d56f7f49a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[7252],{7252:(P,s,e)=>{e.r(s),e.d(s,{startStatusTap:()=>l});var d=e(5861),o=e(7239),_=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/7544.15866dc11215f7b3.js b/7544.15866dc11215f7b3.js deleted file mode 100644 index e075a8a..0000000 --- a/7544.15866dc11215f7b3.js +++ /dev/null @@ -1 +0,0 @@ -"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.588ebb4f5c6098f9.js b/7544.588ebb4f5c6098f9.js new file mode 100644 index 0000000..494ef27 --- /dev/null +++ b/7544.588ebb4f5c6098f9.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(7239),x=d(2961),b=d(3814),u=d(4896),f=d(5521);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/7602.6bacc62fa08eaefd.js b/7602.6bacc62fa08eaefd.js deleted file mode 100644 index dec3ffd..0000000 --- a/7602.6bacc62fa08eaefd.js +++ /dev/null @@ -1 +0,0 @@ -"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.849fc4afc7d05058.js b/7602.849fc4afc7d05058.js new file mode 100644 index 0000000..e411a37 --- /dev/null +++ b/7602.849fc4afc7d05058.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(7239),u=c(2961),v=c(1765),k=c(5521),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/8034.1073c5fcaf3ff878.js b/8034.1073c5fcaf3ff878.js deleted file mode 100644 index e52e5e4..0000000 --- a/8034.1073c5fcaf3ff878.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(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.bd00beef94cc6d53.js b/8034.bd00beef94cc6d53.js new file mode 100644 index 0000000..ee00aeb --- /dev/null +++ b/8034.bd00beef94cc6d53.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(7239),o=t(4253),s=t(5521),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/8136.1a7eafadb0ee7b90.js b/8136.1a7eafadb0ee7b90.js new file mode 100644 index 0000000..62d848d --- /dev/null +++ b/8136.1a7eafadb0ee7b90.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(7239),x=s(5069),y=s(2889),h=s(2961),c=s(5058),_=s(7511),o=s(5521),r=s(3814),d=s(4896);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/8136.76273775606ffebb.js b/8136.76273775606ffebb.js deleted file mode 100644 index 76fd3ed..0000000 --- a/8136.76273775606ffebb.js +++ /dev/null @@ -1 +0,0 @@ -"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/8628.3844be50d3776c8c.js b/8628.3844be50d3776c8c.js deleted file mode 100644 index d6cae11..0000000 --- a/8628.3844be50d3776c8c.js +++ /dev/null @@ -1 +0,0 @@ -"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/8628.b4601d310dccdada.js b/8628.b4601d310dccdada.js new file mode 100644 index 0000000..a0fbe23 --- /dev/null +++ b/8628.b4601d310dccdada.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(7239),m=h(2961),v=h(6879),y=h(3814),b=h(4896),p=h(5521);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.558926b9ee471663.js b/8939.558926b9ee471663.js deleted file mode 100644 index cbe6202..0000000 --- a/8939.558926b9ee471663.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(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/8939.92df38d37728bb3e.js b/8939.92df38d37728bb3e.js new file mode 100644 index 0000000..db06ab1 --- /dev/null +++ b/8939.92df38d37728bb3e.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(7239),n=t(2889),i=t(5521);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.406bb4ef0878f518.js b/9016.406bb4ef0878f518.js new file mode 100644 index 0000000..6e529e0 --- /dev/null +++ b/9016.406bb4ef0878f518.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(7239),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/9016.7f8c630e86be8e52.js b/9016.7f8c630e86be8e52.js deleted file mode 100644 index acec92e..0000000 --- a/9016.7f8c630e86be8e52.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(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 deleted file mode 100644 index 5fe7d8f..0000000 --- a/9230.201c45970184b129.js +++ /dev/null @@ -1 +0,0 @@ -"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.8f8a8aae132acc63.js b/9230.8f8a8aae132acc63.js new file mode 100644 index 0000000..0d6ea71 --- /dev/null +++ b/9230.8f8a8aae132acc63.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(7239),f=l(2961),u=l(8909),D=l(3814),k=l(5521),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/9325.61ee49312646d0a5.js b/9325.61ee49312646d0a5.js new file mode 100644 index 0000000..1c8e483 --- /dev/null +++ b/9325.61ee49312646d0a5.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(7239),b=d(2961),y=d(6879),m=d(3814),C=d(5521);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.709c21fe10c98cc3.js b/9325.709c21fe10c98cc3.js deleted file mode 100644 index 2cb69da..0000000 --- a/9325.709c21fe10c98cc3.js +++ /dev/null @@ -1 +0,0 @@ -"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/9434.2664f995a15a5b88.js b/9434.2664f995a15a5b88.js new file mode 100644 index 0000000..e0295c0 --- /dev/null +++ b/9434.2664f995a15a5b88.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(7239),m=a(7036),y=a(2961),b=a(7389),l=a(7511),x=a(3814),s=a(5521),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,b.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,y.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:()=>b,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,b=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/9434.e1d49653b4037a7c.js b/9434.e1d49653b4037a7c.js deleted file mode 100644 index c201951..0000000 --- a/9434.e1d49653b4037a7c.js +++ /dev/null @@ -1 +0,0 @@ -"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 deleted file mode 100644 index d83e58b..0000000 --- a/9536.2eed6356567e4809.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(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.ad52bffbd9522a02.js b/9536.ad52bffbd9522a02.js new file mode 100644 index 0000000..43b63fa --- /dev/null +++ b/9536.ad52bffbd9522a02.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(7239),v=d(5521);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;overflow:hidden}: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;overflow:hidden}: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.49f45f87c139aa75.js b/9654.49f45f87c139aa75.js new file mode 100644 index 0000000..aafa545 --- /dev/null +++ b/9654.49f45f87c139aa75.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(7239),h=u(2961),v=u(4896),f=u(5521),y=u(8909);const m=class{constructor(t){var o=this;(0,a.r)(this,t),this.updateListener=()=>this.updateState(!1),this.setItemDefaults=()=>{const e=this.getSlottedHeaderIonItem();e&&(e.button=!0,e.detail=!1,void 0===e.lines&&(e.lines="full"))},this.getSlottedHeaderIonItem=()=>{const{headerEl:e}=this;if(!e)return;const n=e.querySelector("slot");return n&&void 0!==n.assignedElements?n.assignedElements().find(i=>"ION-ITEM"===i.tagName):void 0},this.setAria=(e=!1)=>{const n=this.getSlottedHeaderIonItem();if(!n)return;const s=(0,h.g)(n).querySelector("button");s&&s.setAttribute("aria-expanded",`${e}`)},this.slotToggleIcon=()=>{const e=this.getSlottedHeaderIonItem();if(!e)return;const{toggleIconSlot:n,toggleIcon:i}=this;if(e.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"),e.appendChild(r)},this.expandAccordion=(e=!1)=>{const{contentEl:n,contentElWrapper:i}=this;e||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=(e=!1)=>{const{contentEl:n}=this;e||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*(e=!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(e),o.isNext=o.isPrevious=!1;else{o.collapseAccordion(e);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 e=this.el.nextElementSibling;return"ION-ACCORDION"===e?.tagName?e:void 0},this.getPreviousSibling=()=>{if(!this.el)return;const e=this.el.previousElementSibling;return"ION-ACCORDION"===e?.tagName?e: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 t;const o=this.accordionGroupEl=null===(t=this.el)||void 0===t?void 0:t.closest("ion-accordion-group");o&&(this.updateState(!0),(0,h.a)(o,"ionValueChange",this.updateListener))}disconnectedCallback(){const t=this.accordionGroupEl;t&&(0,h.b)(t,"ionValueChange",this.updateListener)}componentDidLoad(){this.setItemDefaults(),this.slotToggleIcon(),(0,h.r)(()=>{this.setAria(4===this.state||8===this.state)})}toggleExpanded(){const{accordionGroupEl:t,value:o,state:e}=this;t&&t.requestAccordionToggle(o,1===e||2===e)}render(){const{disabled:t,readonly:o}=this,e=(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:{[e]:!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":t,"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(t){(0,a.r)(this,t),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:t,multiple:o}=this;!o&&Array.isArray(t)&&(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: [${t.map(e=>`'${e}'`).join(", ")}]\n`,this.el),this.ionValueChange.emit({value:this.value})}disabledChanged(){var t=this;return(0,l.Z)(function*(){const{disabled:o}=t,e=yield t.getAccordions();for(const n of e)n.disabled=o})()}readonlyChanged(){var t=this;return(0,l.Z)(function*(){const{readonly:o}=t,e=yield t.getAccordions();for(const n of e)n.readonly=o})()}onKeydown(t){var o=this;return(0,l.Z)(function*(){const e=document.activeElement;if(!e||!e.closest('ion-accordion [slot="header"]'))return;const i="ION-ACCORDION"===e.tagName?e:e.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"===t.key?d=o.findNextAccordion(r,c):"ArrowUp"===t.key?d=o.findPreviousAccordion(r,c):"Home"===t.key?d=r[0]:"End"===t.key&&(d=r[r.length-1]),void 0!==d&&d!==e&&d.focus()})()}componentDidLoad(){var t=this;return(0,l.Z)(function*(){t.disabled&&t.disabledChanged(),t.readonly&&t.readonlyChanged(),t.valueChanged()})()}setValue(t){const o=this.value=t;this.ionChange.emit({value:o})}requestAccordionToggle(t,o){var e=this;return(0,l.Z)(function*(){const{multiple:n,value:i,readonly:s,disabled:r}=e;if(!s&&!r)if(o)if(n){const c=i??[],d=Array.isArray(c)?c:[c];void 0===d.find(g=>g===t)&&void 0!==t&&e.setValue([...d,t])}else e.setValue(t);else if(n){const c=i??[],d=Array.isArray(c)?c:[c];e.setValue(d.filter(p=>p!==t))}else e.setValue(void 0)})()}findNextAccordion(t,o){const e=t[o+1];return void 0===e?t[0]:e}findPreviousAccordion(t,o){const e=t[o-1];return void 0===e?t[t.length-1]:e}getAccordions(){var t=this;return(0,l.Z)(function*(){return Array.from(t.el.querySelectorAll(":scope > ion-accordion"))})()}render(){const{disabled:t,readonly:o,expand:e}=this,n=(0,f.b)(this);return(0,a.h)(a.H,{class:{[n]:!0,"accordion-group-disabled":t,"accordion-group-readonly":o,[`accordion-group-expand-${e}`]:!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.ac5d4ec9a60bad1f.js b/9654.ac5d4ec9a60bad1f.js deleted file mode 100644 index 0be5f7f..0000000 --- a/9654.ac5d4ec9a60bad1f.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(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/9824.26b0a2f6c2fc8e08.js b/9824.26b0a2f6c2fc8e08.js new file mode 100644 index 0000000..6e9b6a0 --- /dev/null +++ b/9824.26b0a2f6c2fc8e08.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(7239),o=r(5521);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 deleted file mode 100644 index 7969906..0000000 --- a/9824.e86b8d95f89b034c.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(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 deleted file mode 100644 index 6b649dc..0000000 --- a/9922.25d919d8f544452e.js +++ /dev/null @@ -1 +0,0 @@ -"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.a2dad2b84777160a.js b/9922.a2dad2b84777160a.js new file mode 100644 index 0000000..b33ac7e --- /dev/null +++ b/9922.a2dad2b84777160a.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(7239),f=n(8134),s=n(2961),x=n(8909),h=n(3814),k=n(5521);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/9958.2c32b3a3b169ae15.js b/9958.2c32b3a3b169ae15.js deleted file mode 100644 index 1a7a96b..0000000 --- a/9958.2c32b3a3b169ae15.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(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.d9ddc7fdfdecc5ba.js b/9958.d9ddc7fdfdecc5ba.js new file mode 100644 index 0000000..51cc147 --- /dev/null +++ b/9958.d9ddc7fdfdecc5ba.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(7239),h=i(5521);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 713adb9..d86d1ee 100644 --- a/assets/i18n/de.json +++ b/assets/i18n/de.json @@ -94,10 +94,12 @@ "Track clear": "Strecke freigegeben", "Translations": "Übersetzungen", "Tuning": "Tuning", + "Voice": "Stimme", "Yellow flag": "Gelbe Flagge", "notifications": { "locale": "de-DE", + "greeting": "Hallo!", "bestlap": "Schnellste Runde!", "bests1": "Schnellster Sektor 1!", "bests2": "Schnellster Sektor 2!", diff --git a/assets/i18n/en.json b/assets/i18n/en.json index 5b84e03..2865e50 100644 --- a/assets/i18n/en.json +++ b/assets/i18n/en.json @@ -94,10 +94,12 @@ "Track clear": "Track clear", "Translations": "Translations", "Tuning": "Tuning", + "Voice": "Voice", "Yellow flag": "Yellow flag", "notifications": { "locale": "en-US", + "greeting": "Hello!", "bestlap": "Fastest lap!", "bests1": "Fastest sector 1!", "bests2": "Fastest sector 2!", diff --git a/assets/i18n/es.json b/assets/i18n/es.json index 1c0e6f2..cee6291 100644 --- a/assets/i18n/es.json +++ b/assets/i18n/es.json @@ -94,10 +94,12 @@ "Track clear": "Bandera verde", "Translations": "Traduciones", "Tuning": "Tuning", + "Voice": "Voz", "Yellow flag": "Bandera amarilla", "notifications": { "locale": "es-ES", + "greeting": "¡Hola!", "bestlap": "¡Vuelta rápida!", "bests1": "¡Mejor sector 1!", "bests2": "¡Mejor sector 2!", diff --git a/assets/i18n/fr.json b/assets/i18n/fr.json index 8b0810c..18a5717 100644 --- a/assets/i18n/fr.json +++ b/assets/i18n/fr.json @@ -94,10 +94,12 @@ "Track clear": "Circuit dégagé", "Translations": "Traductions", "Tuning": "Paramétrages", + "Voice": "Voix", "Yellow flag": "Drapeau jaune", "notifications": { "locale": "fr-FR", + "greeting": "Bonjour!", "bestlap": "Meilleur tour!", "bests1": "Meilleur intermédiaire 1!", "bests2": "Meilleur intermédiaire 2!", @@ -113,7 +115,7 @@ "fuel1": "Rentrez aux stands!", "fuel2": "Préparez-vous à rentrer aux stands!", "greenflag": "Piste dégagée!", - "newleader": "En tête!", + "newleader": "En tête!", "oneminute": "Une minute pour aller!", "pitenter": "Entrée aux stands!", "pitexit": "Sortie des stands!", diff --git a/assets/i18n/it.json b/assets/i18n/it.json index 36dfe9f..4039fdb 100644 --- a/assets/i18n/it.json +++ b/assets/i18n/it.json @@ -94,10 +94,12 @@ "Track clear": "Pista libera", "Translations": "Traduzioni", "Tuning": "Tuning", + "Voice": "Voce", "Yellow flag": "Bandiera gialla", "notifications": { "locale": "it-IT", + "greeting": "Ciao!", "bestlap": "Giro più veloce!", "bests1": "Miglior settore 1!", "bests2": "Miglior settore 2!", diff --git a/assets/i18n/sk.json b/assets/i18n/sk.json new file mode 100644 index 0000000..a2e426a --- /dev/null +++ b/assets/i18n/sk.json @@ -0,0 +1,125 @@ +{ + "Welcome to Open Lap!": + "Vitajte v Open Lap!", + "Please select a Control Unit device from the menu.": + "Prosím vyberte zariadenie Carrera® Control Unit zo zoznamu.", + "If no devices are listed, please make sure that Bluetooth is enabled.": + "Ak nie sú k dispozícii žiadne zariadenia, uistite sa že je zapnuté Bluetooth.", + "Reset all user settings to default values?": + "Resetovať všetky nastavenia na pôvodne hodnoty?", + + "About": "Informácie", + "About Open Lap": "O aplikácii Open Lap", + "Apply all": "Aplikovať všetko", + "Automatic": "Automaticky", + "Autonomous Car": "Autonómne auto", + "Brake": "Brzdy", + "Cancel race?": "Zrušiť preteky?", + "Cancel qualifying?": "Zrušiť kvalifikáciu?", + "Cancel": "Zrušiť", + "Car enters pit": "Auto vošlo do boxov", + "Car leaves pit": "Auto opustilo boxy", + "Clear": "Vymazať", + "Colors": "Farby", + "Connected to {{device}}": "Pripojené k zariadeniu {{device}}", + "Connecting to {{device}}": "Pripájanie k zariadeniu {{device}}", + "Connection": "Pripojenie", + "Connection timeout": "Ćas na pripojenie", + "Control Unit mode": "Mód Control Unit", + "Debug messages": "Diagnostické udalosti", + "Default": "Prednastavené", + "Demo Control Unit": "Demo Control Unit", + "Disconnected from {{device}}": "Odpojené od {{device}}", + "Done": "OK", + "Driver {{number}}": "Vodič {{number}}", + "Drivers": "Vodiči", + "Event log": "Denník udalostí", + "Exit Open Lap?": "Ukončiť Open Lap?", + "Exit": "Ukončiť", + "False start": "Chybný štart", + "Fastest lap": "Najrýchlejšie kolo", + "Fastest sector 1": "Najrýchlejší sektor 1", + "Fastest sector 2": "Najrýchlejší sektor 2", + "Fastest sector 3": "Najrýchlejší sektor 3", + "Final lap": "Posledné kolo", + "Finish all laps": "Dokončiť všetky kolá", + "Finished first": "Prvé miesto", + "Finished second": "Druhé miesto", + "Finished third": "Tretie miesto", + "Firmware version": "Verzia firmware", + "Five laps to go": "Zostáva päť kôl", + "Free Practice": "Voľný tréning", + "Fuel < 10%": "Palivo < 10%", + "Fuel < 20%": "Palivo < 20%", + "Fuel": "Palivo", + "General": "Všeobecné", + "Language": "Jazyk", + "Lap {{count}}": "Kolo {{count}}", + "Lap {{count}}/{{total}}": "Kolo {{count}}/{{total}}", + "{{total}} Laps": "{{total}} kôl", + "License": "Licencia", + "Location Services are disabled": "Poloha je vypnutá", + "New race leader": "Nový líder pretekov", + "No connection": "Žiadne pripojenie", + "No fuel": "Žiadne palivo", + "None": "Žiadne", + "Notifications": "Notifikácie", + "Number of drivers": "Počet vodičov", + "Number of laps": "Počet kôl", + "OK": "OK", + "One minute to go": "Ostáva jedna minúta", + "Open source licenses": "Licencie otvoreného zdrojového kódu", + "Order by number": "Zoradiť podľa čísla", + "Pace Car": "Pace Car", + "Privacy policy": "Ochrana súkromia", + "Qualifying": "Kvalifikácia", + "Race finished": "Preteky ukončené", + "Race": "Preteky", + "Reconnect": "Opätovne pripojiť", + "Reconnect delay": "Oneskorenie pri opätovnom pripojení", + "Request timeout": "Vypršanie časového limitu požiadavky", + "Reset settings": "Resetovať nastavenia", + "Restart race?": "Reštartovať preteky?", + "Restart qualifying?": "Reštartovať kvalifikáciu?", + "Restart": "Reštart", + "Sector times": "Časy v sektoroch", + "Settings": "Nastavenia", + "Share": "Zdielať", + "Speed": "Rýchlosť", + "Start": "Štart", + "Stop cars when finished": "Zastaviť autá pri finiši", + "Stop time when paused": "Zastaviť čas pri pauze", + "Time": "Čas", + "Timeout": "Čas vypršal", + "Track clear": "Trať čistá", + "Translations": "Preklady", + "Tuning": "Tuning", + "Voice": "Hlas", + "Yellow flag": "Žltá vlajka", + + "notifications": { + "locale": "sk-SK", + "greeting": "Ahoj!", + "bestlap": "Najrýchlejšie kolo!", + "bests1": "Najrýchlejší sektor 1!", + "bests2": "Najrýchlejší sektor 2!", + "bests3": "Najrýchlejší sektor 3!", + "falsestart": "Chybný štart!", + "finallap": "Posledné kolo!", + "finished": "Preteky skončili!", + "finished1st": "Prvé miesto!", + "finished2nd": "Druhé miesto!", + "finished3rd": "Tretie miesto!", + "fivelaps": "Päť kôl do konca!", + "fuel0": "Boxy toto kolo!", + "fuel1": "Prosím do boxov!", + "fuel2": "Pripraviť na boxy!", + "greenflag": "Trať čisťá!", + "newleader": "Vo vedení!", + "oneminute": "Jedna minúta do konca!", + "pitenter": "V boxoch!", + "pitexit": "Naspäť na trati!", + "timeout": "Čas vypršal!", + "yellowflag": "Pozor: Žltá vlajka!" + } +} diff --git a/common.187cf80787529774.js b/common.187cf80787529774.js new file mode 100644 index 0000000..02f6c08 --- /dev/null +++ b/common.187cf80787529774.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8592],{6401:(M,_,a)=>{a.d(_,{c:()=>i});var h=a(7239),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")}},4896:(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/common.fdaf37eaa7cd5cdc.js b/common.fdaf37eaa7cd5cdc.js deleted file mode 100644 index eb4498f..0000000 --- a/common.fdaf37eaa7cd5cdc.js +++ /dev/null @@ -1 +0,0 @@ -"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 f5688e8..8d04b8c 100644 --- a/index.html +++ b/index.html @@ -29,7 +29,7 @@ - + \ No newline at end of file diff --git a/main.0ab1f703556e2937.js b/main.0ab1f703556e2937.js new file mode 100644 index 0000000..ce42cb6 --- /dev/null +++ b/main.0ab1f703556e2937.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(H){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 H;return function(re){return(H||(H=B.n5z(P)))(re||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 H(){return null!==P&&P.apply(this,arguments)||this}return(0,o.ZT)(H,P),H.prototype.isSupported=function(){return(0,r.DM)(this,"isSupported",{},arguments)},H.prototype.isImmersiveModeSupported=function(){return(0,r.DM)(this,"isImmersiveModeSupported",{},arguments)},H.prototype.immersiveWidth=function(){return(0,r.DM)(this,"immersiveWidth",{},arguments)},H.prototype.immersiveHeight=function(){return(0,r.DM)(this,"immersiveHeight",{},arguments)},H.prototype.leanMode=function(){return(0,r.DM)(this,"leanMode",{},arguments)},H.prototype.showSystemUI=function(){return(0,r.DM)(this,"showSystemUI",{},arguments)},H.prototype.showUnderStatusBar=function(){return(0,r.DM)(this,"showUnderStatusBar",{},arguments)},H.prototype.showUnderSystemUI=function(){return(0,r.DM)(this,"showUnderSystemUI",{},arguments)},H.prototype.immersiveMode=function(){return(0,r.DM)(this,"immersiveMode",{},arguments)},H.prototype.setSystemUiVisibility=function(N){return(0,r.DM)(this,"setSystemUiVisibility",{},arguments)},H.\u0275fac=function(){let N;return function(ve){return(N||(N=B.n5z(H)))(ve||H)}}(),H.\u0275prov=B.Yz7({token:H,factory:H.\u0275fac}),H.pluginName="AndroidFullScreen",H.plugin="cordova-plugin-fullscreen",H.pluginRef="AndroidFullScreen",H.repo="https://github.com/mesmotronic/cordova-plugin-fullscreen",H.platforms=["Android"],H=(0,o.gn)([],H)}(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 H;return function(re){return(H||(H=B.n5z(P)))(re||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:()=>Ee,DM:()=>z,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(Y,C){ie(Y,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(Y,C){ie(Y,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 K(ie,ke,We){var st,_e;"string"==typeof ie?st=ie:(st=ie.constructor.getPluginRef(),We=ie.constructor.getPluginName(),_e=ie.constructor.getPluginInstallName());var Y=de(st);return!(!Y||ke&&typeof Y[ke]>"u")||(typeof window>"u"||!window.cordova?(function me(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 ge(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,_e,ke),te))}function ue(ie,ke,We,st,_e,Y){void 0===st&&(st={}),We=function pe(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(L,k){L?st(L):We(k)});else if("object"===ke.callbackStyle&&ke.successName&&ke.errorName){var _e={};_e[ke.successName]=We,_e[ke.errorName]=st,ie.push(_e)}else if(typeof ke.successIndex<"u"||typeof ke.errorIndex<"u"){var Y=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(),Y()):(Y(),C())}else ie.push(We),ie.push(st);return ie}(We,st,_e,Y);var C=K(ie,ke);if(!0===C){var L=de(ie.constructor.getPluginRef());return L[ke].apply(L,We)}return C}function de(ie){return typeof window<"u"?W(window,ie):null}function W(ie,ke){for(var We=ke.split("."),st=ie,_e=0;_e"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(H){(0,r.Iq)(this,"cordova",H)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"model",{get:function(){return(0,r.J2)(this,"model")},set:function(H){(0,r.Iq)(this,"model",H)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"platform",{get:function(){return(0,r.J2)(this,"platform")},set:function(H){(0,r.Iq)(this,"platform",H)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"uuid",{get:function(){return(0,r.J2)(this,"uuid")},set:function(H){(0,r.Iq)(this,"uuid",H)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"version",{get:function(){return(0,r.J2)(this,"version")},set:function(H){(0,r.Iq)(this,"version",H)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"manufacturer",{get:function(){return(0,r.J2)(this,"manufacturer")},set:function(H){(0,r.Iq)(this,"manufacturer",H)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"isVirtual",{get:function(){return(0,r.J2)(this,"isVirtual")},set:function(H){(0,r.Iq)(this,"isVirtual",H)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"serial",{get:function(){return(0,r.J2)(this,"serial")},set:function(H){(0,r.Iq)(this,"serial",H)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"sdkVersion",{get:function(){return(0,r.J2)(this,"sdkVersion")},set:function(H){(0,r.Iq)(this,"sdkVersion",H)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"isiOSAppOnMac",{get:function(){return(0,r.J2)(this,"isiOSAppOnMac")},set:function(H){(0,r.Iq)(this,"isiOSAppOnMac",H)},enumerable:!1,configurable:!0}),P.\u0275fac=function(){let H;return function(re){return(H||(H=B.n5z(P)))(re||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 H;return function(re){return(H||(H=B.n5z(P)))(re||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(H,N,re,ve){return(0,r.DM)(this,"share",{successIndex:4,errorIndex:5},arguments)},P.prototype.shareWithOptions=function(H){return(0,r.DM)(this,"shareWithOptions",{platforms:["iOS","Android"]},arguments)},P.prototype.canShareVia=function(H,N,re,ve,K){return(0,r.DM)(this,"canShareVia",{successIndex:5,errorIndex:6,platforms:["iOS","Android"]},arguments)},P.prototype.shareViaTwitter=function(H,N,re){return(0,r.DM)(this,"shareViaTwitter",{successIndex:3,errorIndex:4,platforms:["iOS","Android"]},arguments)},P.prototype.shareViaFacebook=function(H,N,re){return(0,r.DM)(this,"shareViaFacebook",{successIndex:3,errorIndex:4,platforms:["iOS","Android"]},arguments)},P.prototype.shareViaFacebookWithPasteMessageHint=function(H,N,re,ve){return(0,r.DM)(this,"shareViaFacebookWithPasteMessageHint",{successIndex:4,errorIndex:5,platforms:["iOS","Android"]},arguments)},P.prototype.shareViaInstagram=function(H,N){return(0,r.DM)(this,"shareViaInstagram",{platforms:["iOS","Android"]},arguments)},P.prototype.shareViaWhatsApp=function(H,N,re){return(0,r.DM)(this,"shareViaWhatsApp",{successIndex:3,errorIndex:4,platforms:["iOS","Android"]},arguments)},P.prototype.shareViaWhatsAppToReceiver=function(H,N,re,ve){return(0,r.DM)(this,"shareViaWhatsAppToReceiver",{successIndex:4,errorIndex:5,platforms:["iOS","Android"]},arguments)},P.prototype.shareViaSMS=function(H,N){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(H,N,re,ve,K,oe){return(0,r.DM)(this,"shareViaEmail",{platforms:["iOS","Android"],successIndex:6,errorIndex:7},arguments)},P.prototype.shareVia=function(H,N,re,ve,K){return(0,r.DM)(this,"shareVia",{successIndex:5,errorIndex:6,platforms:["iOS","Android"]},arguments)},P.prototype.setIPadPopupCoordinates=function(H){return(0,r.DM)(this,"setIPadPopupCoordinates",{sync:!0,platforms:["iOS"]},arguments)},P.prototype.saveToPhotoAlbum=function(H){return(0,r.DM)(this,"saveToPhotoAlbum",{platforms:["iOS"]},arguments)},P.prototype.shareViaWhatsAppToPhone=function(H,N,re,ve){return(0,r.DM)(this,"shareViaWhatsAppToPhone",{successIndex:5,errorIndex:6,platforms:["iOS","Android"]},arguments)},P.\u0275fac=function(){let H;return function(re){return(H||(H=B.n5z(P)))(re||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 H;return function(re){return(H||(H=B.n5z(P)))(re||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(H){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(H){return(0,r.DM)(this,"backgroundColorByName",{sync:!0},arguments)},P.prototype.backgroundColorByHexString=function(H){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(H){(0,r.Iq)(this,"isVisible",H)},enumerable:!1,configurable:!0}),P.\u0275fac=function(){let H;return function(re){return(H||(H=B.n5z(P)))(re||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(H,N,re){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(H){return(0,r.DM)(this,"showWithOptions",{observable:!0,clearFunction:"hide"},arguments)},P.prototype.showShortTop=function(H){return(0,r.DM)(this,"showShortTop",{observable:!0,clearFunction:"hide"},arguments)},P.prototype.showShortCenter=function(H){return(0,r.DM)(this,"showShortCenter",{observable:!0,clearFunction:"hide"},arguments)},P.prototype.showShortBottom=function(H){return(0,r.DM)(this,"showShortBottom",{observable:!0,clearFunction:"hide"},arguments)},P.prototype.showLongTop=function(H){return(0,r.DM)(this,"showLongTop",{observable:!0,clearFunction:"hide"},arguments)},P.prototype.showLongCenter=function(H){return(0,r.DM)(this,"showLongCenter",{observable:!0,clearFunction:"hide"},arguments)},P.prototype.showLongBottom=function(H){return(0,r.DM)(this,"showLongBottom",{observable:!0,clearFunction:"hide"},arguments)},P.\u0275fac=function(){let H;return function(re){return(H||(H=B.n5z(P)))(re||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:()=>K});const B=(z,J)=>{z.componentOnReady?z.componentOnReady().then(be=>J(be)):K(()=>J(z))},K=z=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(z):"function"==typeof requestAnimationFrame?requestAnimationFrame(z):setTimeout(z)},3435:(pt,Re,g)=>{"use strict";g.d(Re,{L:()=>o,a:()=>r,b:()=>B,c:()=>V,d:()=>te,g:()=>z});const o="ionViewWillEnter",r="ionViewDidEnter",B="ionViewWillLeave",V="ionViewDidLeave",te="ionViewWillUnload",z=J=>J.classList.contains("ion-page")?J:J.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||J},2876:(pt,Re,g)=>{"use strict";g.d(Re,{c:()=>de});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),H=(W,ge,me)=>{const Ue=ge.startsWith("animation")?P(W):"";W.style.setProperty(Ue+ge,me)},N=(W,ge)=>{const me=ge.startsWith("animation")?P(W):"";W.style.removeProperty(me+ge)},K=[],ne=(W=[],ge)=>{if(void 0!==ge){const me=Array.isArray(ge)?ge:[ge];return[...W,...me]}return W},de=W=>{let ge,me,Ue,Ce,Fe,Oe,De,Y,C,L,k,qe,gt,Ee=[],z=[],J=[],be=!1,Te={},Be=[],ie=[],ke={},We=0,st=!1,_e=!1,se=!0,ae=!1,Ye=!0,dt=!1;const At=W,Wt=[],at=[],Je=[],Xe=[],ut=[],Ft=[],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,cn=(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($=>{N($,"animation-name"),N($,"animation-duration"),N($,"animation-timing-function"),N($,"animation-iteration-count"),N($,"animation-delay"),N($,"animation-play-state"),N($,"animation-fill-mode"),N($,"animation-direction")})})}},fn=()=>{Ft.forEach(S=>{S?.parentNode&&S.parentNode.removeChild(S)}),Ft.length=0},Fn=()=>void 0!==Fe?Fe:De?De.getFill():"both",gn=()=>void 0!==C?C:void 0!==Oe?Oe:De?De.getDirection():"normal",Cn=()=>st?"linear":void 0!==Ue?Ue:De?De.getEasing():"linear",mn=()=>_e?0:void 0!==L?L:void 0!==me?me:De?De.getDuration():0,tn=()=>void 0!==Ce?Ce:De?De.getIterations():1,Ze=()=>void 0!==k?k:void 0!==ge?ge:De?De.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 Ne=ze.classList;$.forEach(xe=>Ne.add(xe)),fe.forEach(xe=>Ne.remove(xe));for(const xe in Ae)Ae.hasOwnProperty(xe)&&H(ze,xe,Ae[xe])}),L=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})(),De&&De.animationFinish()))},on=(S=!0)=>{fn();const $=(W=>(W.forEach(ge=>{for(const me in ge)if(ge.hasOwnProperty(me)){const Ue=ge[me];if("easing"===me)ge["animation-timing-function"]=Ue,delete ge[me];else{const Ce=te(me);Ce!==me&&(ge[Ce]=Ue,delete ge[me])}}}),W))(Ee);Xe.forEach(fe=>{if($.length>0){const Ae=((W=[])=>W.map(ge=>{const me=ge.offset,Ue=[];for(const Ce in ge)ge.hasOwnProperty(Ce)&&"offset"!==Ce&&Ue.push(`${Ce}: ${ge[Ce]};`);return`${100*me}% { ${Ue.join(" ")} }`}).join(" "))($);qe=void 0!==W?W:(W=>{let ge=K.indexOf(W);return ge<0&&(ge=K.push(W)-1),`ion-animation-${ge}`})(Ae);const ze=((W,ge,me)=>{var Ue;const Ce=(W=>{const ge=void 0!==W.getRootNode?W.getRootNode():W;return ge.head||ge})(me),Fe=P(me),Oe=Ce.querySelector("#"+W);if(Oe)return Oe;const Ee=(null!==(Ue=me.ownerDocument)&&void 0!==Ue?Ue:document).createElement("style");return Ee.id=W,Ee.textContent=`@${Fe}keyframes ${W} { ${ge} } @${Fe}keyframes ${W}-alt { ${ge} }`,Ce.appendChild(Ee),Ee})(qe,Ae,fe);Ft.push(ze),H(fe,"animation-duration",`${mn()}ms`),H(fe,"animation-timing-function",Cn()),H(fe,"animation-delay",`${Ze()}ms`),H(fe,"animation-fill-mode",Fn()),H(fe,"animation-direction",gn());const Ne=tn()===1/0?"infinite":tn().toString();H(fe,"animation-iteration-count",Ne),H(fe,"animation-play-state","paused"),S&&H(fe,"animation-name",`${ze.id}-alt`),(0,r.r)(()=>{H(fe,"animation-name",ze.id||null)})}})},Nn=(S=!0)=>{(()=>{Yt.forEach(Ae=>Ae()),Zt.forEach(Ae=>Ae());const S=z,$=J,fe=Te;Xe.forEach(Ae=>{const ze=Ae.classList;S.forEach(Ne=>ze.add(Ne)),$.forEach(Ne=>ze.remove(Ne));for(const Ne in fe)fe.hasOwnProperty(Ne)&&H(Ae,Ne,fe[Ne])})})(),Ee.length>0&&(On?(Xe.forEach(S=>{const $=S.animate(Ee,{id:At,delay:Ze(),duration:mn(),easing:Cn(),iterations:tn(),fill:Fn(),direction:gn()});$.pause(),Xt.push($)}),Xt.length>0&&(Xt[0].onfinish=()=>{Ln()})):on(S)),be=!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=>{Ee.length>0&&(H(fe,"animation-delay",$),H(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=>{H(fe,"animation-name",qe||null),H(fe,"animation-duration",`${mn()}ms`),H(fe,"animation-timing-function",Cn()),H(fe,"animation-delay",void 0!==$?`-${$*mn()}ms`:`${Ze()}ms`),H(fe,"animation-fill-mode",Fn()||null),H(fe,"animation-direction",gn()||null);const Ae=tn()===1/0?"infinite":tn().toString();H(fe,"animation-iteration-count",Ae),S&&H(fe,"animation-name",`${qe}-alt`),(0,r.r)(()=>{H(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=()=>{be&&(On?Xt.forEach(S=>{S.pause()}):Xe.forEach(S=>{H(S,"animation-play-state","paused")}),dt=!0)},he=()=>{Y=void 0,Ln()},w=()=>{Y&&clearTimeout(Y)},Me=S=>new Promise($=>{S?.sync&&(_e=!0,Xn(()=>_e=!1,{oneTimeCallback:!0})),be||Nn(),ae&&(On?(En(0),Bn()):gr(),ae=!1),Ye&&(We=ut.length+1,Ye=!1);const fe=()=>{cn(Ae,at),$()},Ae=()=>{cn(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===Ee.length||0===Xe.length)&&Ln()):(()=>{if(w(),(0,r.r)(()=>{Xe.forEach(S=>{Ee.length>0&&H(S,"animation-play-state","running")})}),0===Ee.length||0===Xe.length)Ln();else{const S=Ze()||0,$=mn()||0,fe=tn()||1;isFinite(fe)&&(Y=setTimeout(he,S+$*fe+100)),((W,ge)=>{let me;const Ue={passive:!0},Fe=Oe=>{W===Oe.target&&(me&&me(),w(),(0,r.r)(()=>{Xe.forEach(S=>{N(S,"animation-duration"),N(S,"animation-delay"),N(S,"animation-play-state")}),(0,r.r)(Ln)}))};W&&(W.addEventListener("webkitAnimationEnd",Fe,Ue),W.addEventListener("animationend",Fe,Ue),me=()=>{W.removeEventListener("webkitAnimationEnd",Fe,Ue),W.removeEventListener("animationend",Fe,Ue)})})(Xe[0])}})(),dt=!1}),tt=(S,$)=>{const fe=Ee[0];return void 0===fe||void 0!==fe.offset&&0!==fe.offset?Ee=[{offset:0,[S]:$},...Ee]:fe[S]=$,gt};return gt={parentAnimation:De,elements:Xe,childAnimations:ut,id:At,animationFinish:Ln,from:tt,to:(S,$)=>{const fe=Ee[Ee.length-1];return void 0===fe||void 0!==fe.offset&&1!==fe.offset?Ee=[...Ee,{offset:1,[S]:$}]:fe[S]=$,gt},fromTo:(S,$,fe)=>tt(S,$).to(S,fe),parent:S=>(De=S,gt),play:Me,pause:()=>(ut.forEach(S=>{S.pause()}),Mt(),gt),stop:()=>{ut.forEach(S=>{S.stop()}),be&&(ar(),be=!1),st=!1,_e=!1,Ye=!0,C=void 0,L=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&&fn()})(S),Xe.length=0,ut.length=0,Ee.length=0,Wt.length=0,at.length=0,be=!1,Ye=!0,gt),keyframes:S=>{const $=Ee!==S;return Ee=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}}):on()})(Ee),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;$(Fe=S,vn(!0),gt),direction:S=>(Oe=S,vn(!0),gt),iterations:S=>(Ce=S,vn(!0),gt),duration:S=>(!On&&0===S&&(S=1),me=S,vn(!0),gt),easing:S=>(Ue=S,vn(!0),gt),delay:S=>(ge=S,vn(!0),gt),getWebAnimations:_n,getKeyframes:()=>Ee,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=ne(ie,S),gt),afterAddClass:S=>(Be=ne(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=>(J=ne(J,S),gt),beforeAddClass:S=>(z=ne(z,S),gt),onFinish:Xn,isRunning:()=>0!==We&&!dt,progressStart:(S=!1,$)=>(ut.forEach(fe=>{fe.progressStart(S,$)}),Mt(),st=S,be||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&&(L=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&&!De&&Me(),gt)}}},7036:(pt,Re,g)=>{"use strict";g.d(Re,{E:()=>ve,a:()=>o,s:()=>N});const o=K=>{try{if(K instanceof H)return K.value;if(!V()||"string"!=typeof K||""===K)return K;if(K.includes("onload="))return"";const oe=document.createDocumentFragment(),pe=document.createElement("div");oe.appendChild(pe),pe.innerHTML=K,P.forEach(W=>{const ge=oe.querySelectorAll(W);for(let me=ge.length-1;me>=0;me--){const Ue=ge[me];Ue.parentNode?Ue.parentNode.removeChild(Ue):oe.removeChild(Ue);const Ce=B(Ue);for(let Fe=0;Fe{if(K.nodeType&&1!==K.nodeType)return;if(typeof NamedNodeMap<"u"&&!(K.attributes instanceof NamedNodeMap))return void K.remove();for(let pe=K.attributes.length-1;pe>=0;pe--){const ue=K.attributes.item(pe),ne=ue.name;if(!te.includes(ne.toLowerCase())){K.removeAttribute(ne);continue}const de=ue.value,W=K[ne];(null!=de&&de.toLowerCase().includes("javascript:")||null!=W&&W.toLowerCase().includes("javascript:"))&&K.removeAttribute(ne)}const oe=B(K);for(let pe=0;penull!=K.children?K.children:K.childNodes,V=()=>{var K;const pe=null===(K=window?.Ionic)||void 0===K?void 0:K.config;return!pe||(pe.get?pe.get("sanitizerEnabled",!0):!0===pe.sanitizerEnabled||void 0===pe.sanitizerEnabled)},te=["class","id","href","src","name","slot"],P=["script","style","iframe","meta","link","object","embed"];class H{constructor(oe){this.value=oe}}const N=K=>{const oe=window,pe=oe.Ionic;if(!pe||!pe.config||"Object"===pe.config.constructor.name)return oe.Ionic=oe.Ionic||{},oe.Ionic.config=Object.assign(Object.assign({},oe.Ionic.config),K),oe.Ionic.config},ve=!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*(H,N,re,ve,K,oe){var pe;if(H)return H.attachViewToDom(N,re,K,ve);if(!(oe||"string"==typeof re||re instanceof HTMLElement))throw new Error("framework delegate is missing");const ue="string"==typeof re?null===(pe=N.ownerDocument)||void 0===pe?void 0:pe.createElement(re):re;return ve&&ve.forEach(ne=>ue.classList.add(ne)),K&&Object.assign(ue,K),N.appendChild(ue),yield new Promise(ne=>(0,r.c)(ue,ne)),ue});return function(N,re,ve,K,oe,pe){return P.apply(this,arguments)}}(),V=(P,H)=>{if(H){if(P)return P.removeViewFromDom(H.parentElement,H);H.remove()}return Promise.resolve()},te=()=>{let P,H;return{attachViewToDom:function(){var ve=(0,o.Z)(function*(K,oe,pe={},ue=[]){var ne,de;let W;if(P=K,oe){const me="string"==typeof oe?null===(ne=P.ownerDocument)||void 0===ne?void 0:ne.createElement(oe):oe;ue.forEach(Ue=>me.classList.add(Ue)),Object.assign(me,pe),P.appendChild(me),W=me,yield new Promise(Ue=>(0,r.c)(me,Ue))}else if(P.children.length>0&&("ION-MODAL"===P.tagName||"ION-POPOVER"===P.tagName)&&!(W=P.children[0]).classList.contains("ion-delegate-host")){const Ue=null===(de=P.ownerDocument)||void 0===de?void 0:de.createElement("div");Ue.classList.add("ion-delegate-host"),ue.forEach(Ce=>Ue.classList.add(Ce)),Ue.append(...P.children),P.appendChild(Ue),W=Ue}const ge=document.querySelector("ion-app")||document.body;return H=document.createComment("ionic teleport"),P.parentNode.insertBefore(H,P),ge.appendChild(P),W??P});return function(oe,pe){return ve.apply(this,arguments)}}(),removeViewFromDom:()=>(P&&H&&(H.parentNode.insertBefore(P,H),H.remove()),Promise.resolve())}}},2889:(pt,Re,g)=>{"use strict";g.d(Re,{G:()=>te});class r{constructor(H,N,re,ve,K){this.id=N,this.name=re,this.disableScroll=K,this.priority=1e6*ve+N,this.ctrl=H}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 H=this.ctrl.capture(this.name,this.id,this.priority);return H&&this.disableScroll&&this.ctrl.disableScroll(this.id),H}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(H,N,re,ve){this.id=N,this.disable=re,this.disableScroll=ve,this.ctrl=H}block(){if(this.ctrl){if(this.disable)for(const H of this.disable)this.ctrl.disableGesture(H,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const H of this.disable)this.ctrl.enableGesture(H,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(H){var N;return new r(this,this.newID(),H.name,null!==(N=H.priority)&&void 0!==N?N:0,!!H.disableScroll)}createBlocker(H={}){return new B(this,this.newID(),H.disable,!!H.disableScroll)}start(H,N,re){return this.canStart(H)?(this.requestedStart.set(N,re),!0):(this.requestedStart.delete(N),!1)}capture(H,N,re){if(!this.start(H,N,re))return!1;const ve=this.requestedStart;let K=-1e4;if(ve.forEach(oe=>{K=Math.max(K,oe)}),K===re){this.capturedId=N,ve.clear();const oe=new CustomEvent("ionGestureCaptured",{detail:{gestureName:H}});return document.dispatchEvent(oe),!0}return ve.delete(N),!1}release(H){this.requestedStart.delete(H),this.capturedId===H&&(this.capturedId=void 0)}disableGesture(H,N){let re=this.disabledGestures.get(H);void 0===re&&(re=new Set,this.disabledGestures.set(H,re)),re.add(N)}enableGesture(H,N){const re=this.disabledGestures.get(H);void 0!==re&&re.delete(N)}disableScroll(H){this.disabledScroll.add(H),1===this.disabledScroll.size&&document.body.classList.add(V)}enableScroll(H){this.disabledScroll.delete(H),0===this.disabledScroll.size&&document.body.classList.remove(V)}canStart(H){return!(void 0!==this.capturedId||this.isDisabled(H))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(H){const N=this.disabledGestures.get(H);return!!(N&&N.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 H=!1;P.addEventListener("backbutton",()=>{if(H)return;let N=0,re=[];const ve=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(pe,ue){re.push({priority:pe,handler:ue,id:N++})}}});P.dispatchEvent(ve);const K=function(){var pe=(0,o.Z)(function*(ue){try{if(ue?.handler){const ne=ue.handler(oe);null!=ne&&(yield ne)}}catch(ne){console.error(ne)}});return function(ne){return pe.apply(this,arguments)}}(),oe=()=>{if(re.length>0){let pe={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};re.forEach(ue=>{ue.priority>=pe.priority&&(pe=ue)}),H=!0,re=re.filter(ue=>ue.id!==pe.id),K(pe).then(()=>H=!1)}};oe()})},V=100,te=99},2961:(pt,Re,g)=>{"use strict";g.d(Re,{a:()=>N,b:()=>re,c:()=>B,d:()=>de,e:()=>ne,f:()=>ue,g:()=>ve,h:()=>pe,i:()=>H,j:()=>Fe,k:()=>te,l:()=>W,m:()=>V,n:()=>oe,o:()=>ge,p:()=>Ce,q:()=>Oe,r:()=>K,s:()=>Ee,t:()=>o,u:()=>me,v:()=>Ue});const o=(z,J=0)=>new Promise(be=>{r(z,J,be)}),r=(z,J=0,be)=>{let De,Te;const Be={passive:!0},ke=()=>{De&&De()},We=st=>{(void 0===st||z===st.target)&&(ke(),be(st))};return z&&(z.addEventListener("webkitTransitionEnd",We,Be),z.addEventListener("transitionend",We,Be),Te=setTimeout(We,J+500),De=()=>{Te&&(clearTimeout(Te),Te=void 0),z.removeEventListener("webkitTransitionEnd",We,Be),z.removeEventListener("transitionend",We,Be)}),ke},B=(z,J)=>{z.componentOnReady?z.componentOnReady().then(be=>J(be)):K(()=>J(z))},V=z=>void 0!==z.componentOnReady,te=(z,J=[])=>{const be={};return J.forEach(De=>{z.hasAttribute(De)&&(null!==z.getAttribute(De)&&(be[De]=z.getAttribute(De)),z.removeAttribute(De))}),be},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"],H=(z,J)=>{let be=P;return J&&J.length>0&&(be=be.filter(De=>!J.includes(De))),te(z,be)},N=(z,J,be,De)=>{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(z,J,be,De);if(ie._ael)return ie._ael(z,J,be,De)}}return z.addEventListener(J,be,De)},re=(z,J,be,De)=>{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(z,J,be,De);if(ie._rel)return ie._rel(z,J,be,De)}}return z.removeEventListener(J,be,De)},ve=(z,J=z)=>z.shadowRoot||J,K=z=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(z):"function"==typeof requestAnimationFrame?requestAnimationFrame(z):setTimeout(z),oe=z=>!!z.shadowRoot&&!!z.attachShadow,pe=z=>{const J=z.closest("ion-item");return J?J.querySelector("ion-label"):null},ue=z=>{if(z.focus(),z.classList.contains("ion-focusable")){const J=z.closest("ion-app");J&&J.setFocus([z])}},ne=(z,J)=>{let be;const De=z.getAttribute("aria-labelledby"),Te=z.id;let Be=null!==De&&""!==De.trim()?De:J+"-lbl",ie=null!==De&&""!==De.trim()?document.getElementById(De):pe(z);return ie?(null===De&&(ie.id=Be),be=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`,be=ie.textContent)),{label:ie,labelId:Be,labelText:be}},de=(z,J,be,De,Te)=>{if(z||oe(J)){let Be=J.querySelector("input.aux-input");Be||(Be=J.ownerDocument.createElement("input"),Be.type="hidden",Be.classList.add("aux-input"),J.appendChild(Be)),Be.disabled=Te,Be.name=be,Be.value=De||""}},W=(z,J,be)=>Math.max(z,Math.min(J,be)),ge=(z,J)=>{if(!z){const be="ASSERT: "+J;throw console.error(be),new Error(be)}},me=z=>z.timeStamp||Date.now(),Ue=z=>{if(z){const J=z.changedTouches;if(J&&J.length>0){const be=J[0];return{x:be.clientX,y:be.clientY}}if(void 0!==z.pageX)return{x:z.pageX,y:z.pageY}}return{x:0,y:0}},Ce=z=>{const J="rtl"===document.dir;switch(z){case"start":return J;case"end":return!J;default:throw new Error(`"${z}" is not a valid value for [side]. Use "start" or "end" instead.`)}},Fe=(z,J)=>{const be=z._original||z;return{_original:z,emit:Oe(be.emit.bind(be),J)}},Oe=(z,J=0)=>{let be;return(...De)=>{clearTimeout(be),be=setTimeout(z,J,...De)}},Ee=(z,J)=>{if(z??(z={}),J??(J={}),z===J)return!0;const be=Object.keys(z);if(be.length!==Object.keys(J).length)return!1;for(const De of be)if(!(De in J)||z[De]!==J[De])return!1;return!0}},5067:(pt,Re,g)=>{"use strict";g.r(Re),g.d(Re,{GESTURE_CONTROLLER:()=>o.G,createGesture:()=>re});var o=g(2889);const r=(pe,ue,ne,de)=>{const W=B(pe)?{capture:!!de.capture,passive:!!de.passive}:!!de.capture;let ge,me;return pe.__zone_symbol__addEventListener?(ge="__zone_symbol__addEventListener",me="__zone_symbol__removeEventListener"):(ge="addEventListener",me="removeEventListener"),pe[ge](ue,ne,W),()=>{pe[me](ue,ne,W)}},B=pe=>{if(void 0===V)try{const ue=Object.defineProperty({},"passive",{get:()=>{V=!0}});pe.addEventListener("optsTest",()=>{},ue)}catch{V=!1}return!!V};let V;const H=pe=>pe instanceof Document?pe:pe.ownerDocument,re=pe=>{let ue=!1,ne=!1,de=!0,W=!1;const ge=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},pe),me=ge.canStart,Ue=ge.onWillStart,Ce=ge.onStart,Fe=ge.onEnd,Oe=ge.notCaptured,Ee=ge.onMove,z=ge.threshold,J=ge.passive,be=ge.blurOnStart,De={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=((pe,ue,ne)=>{const de=ne*(Math.PI/180),W="x"===pe,ge=Math.cos(de),me=ue*ue;let Ue=0,Ce=0,Fe=!1,Oe=0;return{start(Ee,z){Ue=Ee,Ce=z,Oe=0,Fe=!0},detect(Ee,z){if(!Fe)return!1;const J=Ee-Ue,be=z-Ce,De=J*J+be*be;if(Dege?1:Be<-ge?-1:0,Fe=!1,!0},isGesture:()=>0!==Oe,getDirection:()=>Oe}})(ge.direction,ge.threshold,ge.maxAngle),Be=o.G.createGesture({name:pe.gestureName,priority:pe.gesturePriority,disableScroll:pe.disableScroll}),We=()=>{ue&&(W=!1,Ee&&Ee(De))},st=()=>!!Be.capture()&&(ue=!0,de=!1,De.startX=De.currentX,De.startY=De.currentY,De.startTime=De.currentTime,Ue?Ue(De).then(Y):Y(),!0),Y=()=>{be&&(()=>{if(typeof document<"u"){const ae=document.activeElement;ae?.blur&&ae.blur()}})(),Ce&&Ce(De),de=!0},C=()=>{ue=!1,ne=!1,W=!1,de=!0,Be.release()},L=ae=>{const Ye=ue,qe=de;if(C(),qe){if(ve(De,ae),Ye)return void(Fe&&Fe(De));Oe&&Oe(De)}},k=((pe,ue,ne,de,W)=>{let ge,me,Ue,Ce,Fe,Oe,Ee,z=0;const J=_e=>{z=Date.now()+2e3,ue(_e)&&(!me&&ne&&(me=r(pe,"touchmove",ne,W)),Ue||(Ue=r(_e.target,"touchend",De,W)),Ce||(Ce=r(_e.target,"touchcancel",De,W)))},be=_e=>{z>Date.now()||ue(_e)&&(!Oe&&ne&&(Oe=r(H(pe),"mousemove",ne,W)),Ee||(Ee=r(H(pe),"mouseup",Te,W)))},De=_e=>{Be(),de&&de(_e)},Te=_e=>{ie(),de&&de(_e)},Be=()=>{me&&me(),Ue&&Ue(),Ce&&Ce(),me=Ue=Ce=void 0},ie=()=>{Oe&&Oe(),Ee&&Ee(),Oe=Ee=void 0},ke=()=>{Be(),ie()},We=(_e=!0)=>{_e?(ge||(ge=r(pe,"touchstart",J,W)),Fe||(Fe=r(pe,"mousedown",be,W))):(ge&&ge(),Fe&&Fe(),ge=Fe=void 0,ke())};return{enable:We,stop:ke,destroy:()=>{We(!1),de=ne=ue=void 0}}})(ge.el,ae=>{const Ye=oe(ae);return!(ne||!de||(K(ae,De),De.startX=De.currentX,De.startY=De.currentY,De.startTime=De.currentTime=Ye,De.velocityX=De.velocityY=De.deltaX=De.deltaY=0,De.event=ae,me&&!1===me(De))||(Be.release(),!Be.start()))&&(ne=!0,0===z?st():(Te.start(De.startX,De.startY),!0))},ae=>{ue?!W&&de&&(W=!0,ve(De,ae),requestAnimationFrame(We)):(ve(De,ae),Te.detect(De.currentX,De.currentY)&&(!Te.isGesture()||!st())&&se())},L,{capture:!1,passive:J}),se=()=>{C(),k.stop(),Oe&&Oe(De)};return{enable(ae=!0){ae||(ue&&L(void 0),C()),k.enable(ae)},destroy(){Be.destroy(),k.destroy()}}},ve=(pe,ue)=>{if(!ue)return;const ne=pe.currentX,de=pe.currentY,W=pe.currentTime;K(ue,pe);const ge=pe.currentX,me=pe.currentY,Ce=(pe.currentTime=oe(ue))-W;if(Ce>0&&Ce<100){const Oe=(me-de)/Ce;pe.velocityX=(ge-ne)/Ce*.7+.3*pe.velocityX,pe.velocityY=.7*Oe+.3*pe.velocityY}pe.deltaX=ge-pe.startX,pe.deltaY=me-pe.startY,pe.event=ue},K=(pe,ue)=>{let ne=0,de=0;if(pe){const W=pe.changedTouches;if(W&&W.length>0){const ge=W[0];ne=ge.clientX,de=ge.clientY}else void 0!==pe.pageX&&(ne=pe.pageX,de=pe.pageY)}ue.currentX=ne,ue.currentY=de},oe=pe=>pe.timeStamp||Date.now()},5058:(pt,Re,g)=>{"use strict";g.d(Re,{m:()=>pe});var o=g(5861),r=g(2972),B=g(8261),V=g(8909),te=g(2961),P=g(5521),H=g(2876);const N=ue=>(0,H.c)().duration(ue?400:300),re=ue=>{let ne,de;const W=ue.width+8,ge=(0,H.c)(),me=(0,H.c)();ue.isEndSide?(ne=W+"px",de="0px"):(ne=-W+"px",de="0px"),ge.addElement(ue.menuInnerEl).fromTo("transform",`translateX(${ne})`,`translateX(${de})`);const Ce="ios"===(0,P.b)(ue),Fe=Ce?.2:.25;return me.addElement(ue.backdropEl).fromTo("opacity",.01,Fe),N(Ce).addAnimation([ge,me])},ve=ue=>{let ne,de;const W=(0,P.b)(ue),ge=ue.width;ue.isEndSide?(ne=-ge+"px",de=ge+"px"):(ne=ge+"px",de=-ge+"px");const me=(0,H.c)().addElement(ue.menuInnerEl).fromTo("transform",`translateX(${de})`,"translateX(0px)"),Ue=(0,H.c)().addElement(ue.contentEl).fromTo("transform","translateX(0px)",`translateX(${ne})`),Ce=(0,H.c)().addElement(ue.backdropEl).fromTo("opacity",.01,.32);return N("ios"===W).addAnimation([me,Ue,Ce])},K=ue=>{const ne=(0,P.b)(ue),de=ue.width*(ue.isEndSide?-1:1)+"px",W=(0,H.c)().addElement(ue.contentEl).fromTo("transform","translateX(0px)",`translateX(${de})`);return N("ios"===ne).addAnimation(W)},pe=(()=>{const ue=new Map,ne=[],de=function(){var C=(0,o.Z)(function*(L){const k=yield Oe(L,!0);return!!k&&k.open()});return function(k){return C.apply(this,arguments)}}(),W=function(){var C=(0,o.Z)(function*(L){const k=yield void 0!==L?Oe(L,!0):Ee();return void 0!==k&&k.close()});return function(k){return C.apply(this,arguments)}}(),ge=function(){var C=(0,o.Z)(function*(L){const k=yield Oe(L,!0);return!!k&&k.toggle()});return function(k){return C.apply(this,arguments)}}(),me=function(){var C=(0,o.Z)(function*(L,k){const se=yield Oe(k);return se&&(se.disabled=!L),se});return function(k,se){return C.apply(this,arguments)}}(),Ue=function(){var C=(0,o.Z)(function*(L,k){const se=yield Oe(k);return se&&(se.swipeGesture=L),se});return function(k,se){return C.apply(this,arguments)}}(),Ce=function(){var C=(0,o.Z)(function*(L){if(null!=L){const k=yield Oe(L);return void 0!==k&&k.isOpen()}return void 0!==(yield Ee())});return function(k){return C.apply(this,arguments)}}(),Fe=function(){var C=(0,o.Z)(function*(L){const k=yield Oe(L);return!!k&&!k.disabled});return function(k){return C.apply(this,arguments)}}(),Oe=function(){var C=(0,o.Z)(function*(L,k=!1){if(yield Y(),"start"===L||"end"===L){const ae=ne.filter(qe=>qe.side===L&&!qe.disabled);if(ae.length>=1)return ae.length>1&&k&&(0,V.p)(`menuController queried for a menu on the "${L}" 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=ne.filter(qe=>qe.side===L);if(Ye.length>=1)return Ye.length>1&&k&&(0,V.p)(`menuController queried for a menu on the "${L}" 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!=L)return _e(ae=>ae.menuId===L);return _e(ae=>!ae.disabled)||(ne.length>0?ne[0].el:void 0)});return function(k){return C.apply(this,arguments)}}(),Ee=function(){var C=(0,o.Z)(function*(){return yield Y(),ke()});return function(){return C.apply(this,arguments)}}(),z=function(){var C=(0,o.Z)(function*(){return yield Y(),We()});return function(){return C.apply(this,arguments)}}(),J=function(){var C=(0,o.Z)(function*(){return yield Y(),st()});return function(){return C.apply(this,arguments)}}(),be=(C,L)=>{ue.set(C,L)},Be=function(){var C=(0,o.Z)(function*(L,k,se){if(st())return!1;if(k){const ae=yield Ee();ae&&L.el!==ae&&(yield ae.setOpen(!1,!1))}return L._setOpen(k,se)});return function(k,se,ae){return C.apply(this,arguments)}}(),ke=()=>_e(C=>C._isOpen),We=()=>ne.map(C=>C.el),st=()=>ne.some(C=>C.isAnimating),_e=C=>{const L=ne.find(C);if(void 0!==L)return L.el},Y=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(C=>new Promise(L=>(0,te.c)(C,L))));return be("reveal",K),be("push",ve),be("overlay",re),null==r.d||r.d.addEventListener("ionBackButton",C=>{const L=ke();L&&C.detail.register(B.MENU_BACK_BUTTON_PRIORITY,()=>L.close())}),{registerAnimation:be,get:Oe,getMenus:z,getOpen:Ee,isEnabled:Fe,swipeGesture:Ue,isAnimating:J,isOpen:Ce,enable:me,toggle:ge,close:W,open:de,_getOpenSync:ke,_createAnimation:(C,L)=>{const k=ue.get(C);if(!k)throw new Error("animation not registered");return k(L)},_register:C=>{ne.indexOf(C)<0&&ne.push(C)},_unregister:C=>{const L=ne.indexOf(C);L>-1&&ne.splice(L,1)},_setOpen:Be}})()},6717:(pt,Re,g)=>{"use strict";g.d(Re,{b:()=>P,c:()=>H,d:()=>N,e:()=>z,g:()=>De,l:()=>Oe,s:()=>J,t:()=>K,w:()=>Ee});var o=g(5861),r=g(7239),B=g(2961);const P="ionViewWillLeave",H="ionViewDidLeave",N="ionViewWillUnload",K=Te=>new Promise((Be,ie)=>{(0,r.w)(()=>{oe(Te),pe(Te).then(ke=>{ke.animation&&ke.animation.destroy(),ue(Te),Be(ke)},ke=>{ue(Te),ie(ke)})})}),oe=Te=>{const Be=Te.enteringEl,ie=Te.leavingEl;be(Be,ie,Te.direction),Te.showGoBack?Be.classList.add("can-go-back"):Be.classList.remove("can-go-back"),J(Be,!1),Be.style.setProperty("pointer-events","none"),ie&&(J(ie,!1),ie.style.setProperty("pointer-events","none"))},pe=function(){var Te=(0,o.Z)(function*(Be){const ie=yield ne(Be);return ie&&r.B.isBrowser?de(ie,Be):W(Be)});return function(ie){return Te.apply(this,arguments)}}(),ue=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"))},ne=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,209))).iosTransitionAnimation:(yield Promise.resolve().then(g.bind(g,3e3))).mdTransitionAnimation:void 0});return function(ie){return Te.apply(this,arguments)}}(),de=function(){var Te=(0,o.Z)(function*(Be,ie){yield ge(ie,!0);const ke=Be(ie.baseEl,ie);Ce(ie.enteringEl,ie.leavingEl);const We=yield Ue(ke,ie);return ie.progressCallback&&ie.progressCallback(void 0),We&&Fe(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 ge(Be,!1),Ce(ie,ke),Fe(ie,ke),{hasCompleted:!0}});return function(ie){return Te.apply(this,arguments)}}(),ge=function(){var Te=(0,o.Z)(function*(Be,ie){(void 0!==Be.deepWait?Be.deepWait:ie)&&(yield Promise.all([z(Be.enteringEl),z(Be.leavingEl)])),yield me(Be.viewIsReady,Be.enteringEl)});return function(ie,ke){return Te.apply(this,arguments)}}(),me=function(){var Te=(0,o.Z)(function*(Be,ie){Be&&(yield Be(ie))});return function(ie,ke){return Te.apply(this,arguments)}}(),Ue=(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},Ce=(Te,Be)=>{Oe(Be,P),Oe(Te,"ionViewWillEnter")},Fe=(Te,Be)=>{Oe(Te,"ionViewDidEnter"),Oe(Be,H)},Oe=(Te,Be)=>{if(Te){const ie=new CustomEvent(Be,{bubbles:!1,cancelable:!1});Te.dispatchEvent(ie)}},Ee=()=>new Promise(Te=>(0,B.r)(()=>(0,B.r)(()=>Te()))),z=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(z))}});return function(ie){return Te.apply(this,arguments)}}(),J=(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"))},be=(Te,Be,ie)=>{void 0!==Te&&(Te.style.zIndex="back"===ie?"99":"101"),void 0!==Be&&(Be.style.zIndex="100")},De=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},7239:(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:()=>pe,r:()=>on,w:()=>bt});var o=g(5861);let V,te,P,H=!1,N=!1,re=!1,ve=!1,K=!1;const oe={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},pe=S=>{const $=new URL(S,Mt.$resourcesUrl$);return $.origin!==kn.location.origin?$.href:$.pathname},Ue="s-id",Ce="sty-id",Ee="slot-fb{display:contents}slot-fb[hidden]{display:none}",z="http://www.w3.org/1999/xlink",J={},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,Ne=null,xe=!1,et=!1;const mt=[],vt=Rt=>{for(let $t=0;$tRt[$t]).join(" "))}}if("function"==typeof S)return S(null===$?{}:$,mt,Y);const ft=We(S,null);return ft.$attrs$=$,mt.length>0&&(ft.$children$=mt),ft.$key$=ze,ft.$name$=Ne,ft},We=(S,$)=>({$flags$:0,$tag$:S,$text$:$,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),st={},Y={forEach:(S,$)=>S.map(C).forEach($),map:(S,$)=>S.map(C).map($).map(L)},C=S=>({vattrs:S.$attrs$,vchildren:S.$children$,vkey:S.$key$,vname:S.$name$,vtag:S.$tag$,vtext:S.$text$}),L=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,Ne,xe)=>{let et,mt,vt,ft;if(1===Ne.nodeType){for(et=Ne.getAttribute("c-id"),et&&(mt=et.split("."),(mt[0]===xe||"0"===mt[0])&&(vt={$flags$:0,$hostId$:mt[0],$nodeId$:mt[1],$depth$:mt[2],$index$:mt[3],$tag$:Ne.tagName.toLowerCase(),$elm$:Ne,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},$.push(vt),Ne.removeAttribute("c-id"),S.$children$||(S.$children$=[]),S.$children$[vt.$index$]=vt,S=vt,Ae&&"0"===vt.$depth$&&(Ae[vt.$index$]=vt.$elm$))),ft=Ne.childNodes.length-1;ft>=0;ft--)se(S,$,fe,Ae,ze,Ne.childNodes[ft],xe);if(Ne.shadowRoot)for(ft=Ne.shadowRoot.childNodes.length-1;ft>=0;ft--)se(S,$,fe,Ae,ze,Ne.shadowRoot.childNodes[ft],xe)}else if(8===Ne.nodeType)mt=Ne.nodeValue.split("."),(mt[1]===xe||"0"===mt[1])&&(et=mt[0],vt={$flags$:0,$hostId$:mt[1],$nodeId$:mt[2],$depth$:mt[3],$index$:mt[4],$elm$:Ne,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===et?(vt.$elm$=Ne.nextSibling,vt.$elm$&&3===vt.$elm$.nodeType&&(vt.$text$=vt.$elm$.textContent,$.push(vt),Ne.remove(),S.$children$||(S.$children$=[]),S.$children$[vt.$index$]=vt,Ae&&"0"===vt.$depth$&&(Ae[vt.$index$]=vt.$elm$))):vt.$hostId$===xe&&("s"===et?(vt.$tag$="slot",Ne["s-sn"]=mt[5]?vt.$name$=mt[5]:"",Ne["s-sr"]=!0,Ae&&(vt.$elm$=Et.createElement(vt.$tag$),vt.$name$&&vt.$elm$.setAttribute("name",vt.$name$),Ne.parentNode.insertBefore(vt.$elm$,Ne),Ne.remove(),"0"===vt.$depth$&&(Ae[vt.$index$]=vt.$elm$)),fe.push(vt),S.$children$||(S.$children$=[]),S.$children$[vt.$index$]=vt):"r"===et&&(Ae?Ne.remove():(ze["s-cr"]=Ne,Ne["s-cn"]=!0))));else if(S&&"style"===S.$tag$){const Rt=We(null,Ne.textContent);Rt.$elm$=Ne,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),Ne=vn.get(ze);if(S=11===S.nodeType?S:Et,Ne)if("string"==typeof Ne){let et,xe=Je.get(S=S.head||S);if(xe||Je.set(S,xe=new Set),!xe.has(ze)){if(S.host&&(et=S.querySelector(`[${Ce}="${ze}"]`)))et.innerHTML=Ne;else{et=Et.createElement("style"),et.innerHTML=Ne;const mt=null!==(Ae=Mt.$nonce$)&&void 0!==Ae?Ae:ie(Et);null!=mt&&et.setAttribute("nonce",mt),S.insertBefore(et,S.querySelector("link"))}4&$.$flags$&&(et.innerHTML+=Ee),xe&&xe.add(ze)}}else S.adoptedStyleSheets.includes(Ne)||(S.adoptedStyleSheets=[...S.adoptedStyleSheets,Ne]);return ze},Yt=(S,$)=>"sc-"+($&&32&S.$flags$?S.$tagName$+"-"+$:S.$tagName$),Zt=S=>S.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Ct=(S,$,fe,Ae,ze,Ne)=>{if(fe!==Ae){let xe=Nn(S,$),et=$.toLowerCase();if("class"===$){const mt=S.classList,vt=Xt(fe),ft=Xt(Ae);mt.remove(...vt.filter(Rt=>Rt&&!ft.includes(Rt))),mt.add(...ft.filter(Rt=>Rt&&!vt.includes(Rt)))}else if("style"===$){for(const mt in fe)(!Ae||null==Ae[mt])&&(mt.includes("-")?S.style.removeProperty(mt):S.style[mt]="");for(const mt in Ae)(!fe||Ae[mt]!==fe[mt])&&(mt.includes("-")?S.style.setProperty(mt,Ae[mt]):S.style[mt]=Ae[mt])}else if("key"!==$)if("ref"===$)Ae&&Ae(S);else if(xe||"o"!==$[0]||"n"!==$[1]){const mt=Be(Ae);if((xe||mt&&null!==Ae)&&!ze)try{if(S.tagName.includes("-"))S[$]=Ae;else{const ft=Ae??"";"list"===$?xe=!1:(null==fe||S[$]!=ft)&&(S[$]=ft)}}catch{}let vt=!1;et!==(et=et.replace(/^xlink\:?/,""))&&($=et,vt=!0),null==Ae||!1===Ae?(!1!==Ae||""===S.getAttribute($))&&(vt?S.removeAttributeNS(z,$):S.removeAttribute($)):(!xe||4&Ne||ze)&&!mt&&(Ae=!0===Ae?"":Ae,vt?S.setAttributeNS(z,$,Ae):S.setAttribute($,Ae))}else if($="-"===$[2]?$.slice(3):Nn(kn,et)?et.slice(2):et[2]+$.slice(3),fe||Ae){const mt=$.endsWith(Mn);$=$.replace(On,""),fe&&Mt.rel(S,$,fe,mt),Ae&&Mt.ael(S,$,Ae,mt)}}},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$,Ne=S&&S.$attrs$||J,xe=$.$attrs$||J;for(Ae in Ne)Ae in xe||Ct(ze,Ae,Ne[Ae],void 0,fe,$.$flags$);for(Ae in xe)Ct(ze,Ae,Ne[Ae],xe[Ae],fe,$.$flags$)},_n=(S,$,fe,Ae)=>{var ze;const Ne=$.$children$[fe];let et,mt,vt,xe=0;if(H||(re=!0,"slot"===Ne.$tag$&&(V&&Ae.classList.add(V+"-s"),Ne.$flags$|=Ne.$children$?2:1)),null!==Ne.$text$)et=Ne.$elm$=Et.createTextNode(Ne.$text$);else if(1&Ne.$flags$)et=Ne.$elm$=Et.createTextNode("");else{if(ve||(ve="svg"===Ne.$tag$),et=Ne.$elm$=Et.createElementNS(ve?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&Ne.$flags$?"slot-fb":Ne.$tag$),ve&&"foreignObject"===Ne.$tag$&&(ve=!1),sr(null,Ne,ve),(S=>null!=S)(V)&&et["s-si"]!==V&&et.classList.add(et["s-si"]=V),Ne.$children$)for(xe=0;xe{var fe;Mt.$flags$|=1;const Ae=S.childNodes;for(let ze=Ae.length-1;ze>=0;ze--){const Ne=Ae[ze];Ne["s-hn"]!==P&&Ne["s-ol"]&&(Xn(Ne).insertBefore(Ne,pn(Ne)),Ne["s-ol"].remove(),Ne["s-ol"]=void 0,Ne["s-sh"]=void 0,1===Ne.nodeType&&Ne.setAttribute("slot",null!==(fe=Ne["s-sn"])&&void 0!==fe?fe:""),re=!0),$&&bn(Ne,$)}Mt.$flags$&=-2},Lt=(S,$,fe,Ae,ze,Ne)=>{let et,xe=S["s-cr"]&&S["s-cr"].parentNode||S;for(xe.shadowRoot&&xe.tagName===P&&(xe=xe.shadowRoot);ze<=Ne;++ze)Ae[ze]&&(et=_n(null,fe,ze,S),et&&(Ae[ze].$elm$=et,xe.insertBefore(et,pn($))))},Dt=(S,$,fe)=>{for(let Ae=$;Ae<=fe;++Ae){const ze=S[Ae];if(ze){const Ne=ze.$elm$;dr(ze),Ne&&(N=!0,Ne["s-ol"]?Ne["s-ol"].remove():bn(Ne,!0),Ne.remove())}}},cn=(S,$,fe=!1)=>S.$tag$===$.$tag$&&("slot"===S.$tag$?S.$name$===$.$name$:!!fe||S.$key$===$.$key$),pn=S=>S&&S["s-ol"]||S,Xn=S=>(S["s-ol"]?S["s-ol"]:S).parentNode,An=(S,$,fe=!1)=>{const Ae=$.$elm$=S.$elm$,ze=S.$children$,Ne=$.$children$,xe=$.$tag$,et=$.$text$;let mt;null===et?(ve="svg"===xe||"foreignObject"!==xe&&ve,"slot"===xe||sr(S,$,ve),null!==ze&&null!==Ne?((S,$,fe,Ae,ze=!1)=>{let h,Z,Ne=0,xe=0,et=0,mt=0,vt=$.length-1,ft=$[0],Rt=$[vt],$t=Ae.length-1,nn=Ae[0],sn=Ae[$t];for(;Ne<=vt&&xe<=$t;)if(null==ft)ft=$[++Ne];else if(null==Rt)Rt=$[--vt];else if(null==nn)nn=Ae[++xe];else if(null==sn)sn=Ae[--$t];else if(cn(ft,nn,ze))An(ft,nn,ze),ft=$[++Ne],nn=Ae[++xe];else if(cn(Rt,sn,ze))An(Rt,sn,ze),Rt=$[--vt],sn=Ae[--$t];else if(cn(ft,sn,ze))("slot"===ft.$tag$||"slot"===sn.$tag$)&&bn(ft.$elm$.parentNode,!1),An(ft,sn,ze),S.insertBefore(ft.$elm$,Rt.$elm$.nextSibling),ft=$[++Ne],sn=Ae[--$t];else if(cn(Rt,nn,ze))("slot"===ft.$tag$||"slot"===sn.$tag$)&&bn(Rt.$elm$.parentNode,!1),An(Rt,nn,ze),S.insertBefore(Rt.$elm$,ft.$elm$),Rt=$[--vt],nn=Ae[++xe];else{for(et=-1,mt=Ne;mt<=vt;++mt)if($[mt]&&null!==$[mt].$key$&&$[mt].$key$===nn.$key$){et=mt;break}et>=0?(Z=$[et],Z.$tag$!==nn.$tag$?h=_n($&&$[xe],fe,et,S):(An(Z,nn,ze),$[et]=void 0,h=Z.$elm$),nn=Ae[++xe]):(h=_n($&&$[xe],fe,xe,S),nn=Ae[++xe]),h&&Xn(ft.$elm$).insertBefore(h,pn(ft.$elm$))}Ne>vt?Lt(S,null==Ae[$t+1]?null:Ae[$t+1].$elm$,fe,Ae,xe,$t):xe>$t&&Dt($,Ne,vt)})(Ae,ze,$,Ne,fe):null!==Ne?(null!==S.$text$&&(Ae.textContent=""),Lt(Ae,null,$,Ne,0,Ne.length-1)):null!==ze&&Dt(ze,0,ze.length-1),ve&&"svg"===xe&&(ve=!1)):(mt=Ae["s-cr"])?mt.parentNode.textContent=et:S.$text$!==et&&(Ae.data=et)},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)}},fn=[],lr=S=>{let $,fe,Ae;for(const ze of S.childNodes){if(ze["s-sr"]&&($=ze["s-cr"])&&$.parentNode){fe=$.parentNode.childNodes;const Ne=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($,Ne)){let xe=fn.find(et=>et.$nodeToRelocate$===$);N=!0,$["s-sn"]=$["s-sn"]||Ne,xe?(xe.$nodeToRelocate$["s-sh"]=ze["s-hn"],xe.$slotRefNode$=ze):($["s-sh"]=ze["s-hn"],fn.push({$slotRefNode$:ze,$nodeToRelocate$:$})),$["s-sr"]&&fn.map(et=>{Qt(et.$nodeToRelocate$,$["s-sn"])&&(xe=fn.find(mt=>mt.$nodeToRelocate$===$),xe&&!et.$slotRefNode$&&(et.$slotRefNode$=xe.$slotRefNode$))})}else fn.some(xe=>xe.$nodeToRelocate$===$)||fn.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(([Ne,xe])=>Cn(Ae,Ne,xe)),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 Ne=$.$hostElement$,et=Ne["s-rc"];Ae&&(S=>{const $=S.$cmpMeta$,fe=S.$hostElement$,Ae=$.$flags$,Ne=ut(fe.shadowRoot?fe.shadowRoot:fe.getRootNode(),$,S.$modeName$);10&Ae&&(fe["s-sc"]=Ne,fe.classList.add(Ne+"-h"),2&Ae&&fe.classList.add(Ne+"-s"))})($);fr($,fe,Ne,Ae),et&&(et.map(vt=>vt()),Ne["s-rc"]=void 0);{const vt=null!==(ze=Ne["s-p"])&&void 0!==ze?ze:[],ft=()=>Pr($);0===vt.length?ft():(Promise.all(vt).then(ft),$.$flags$|=4,vt.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,Ne,xe;const et=S.$hostElement$,mt=S.$cmpMeta$,vt=S.$vnode$||We(null,null),ft=(S=>S&&S.$tag$===st)($)?$:ke(null,null,$);if(P=et.tagName,mt.$attrsToReflect$&&(ft.$attrs$=ft.$attrs$||{},mt.$attrsToReflect$.map(([Rt,$t])=>ft.$attrs$[$t]=et[Rt])),fe&&ft.$attrs$)for(const Rt of Object.keys(ft.$attrs$))et.hasAttribute(Rt)&&!["key","ref","style","class"].includes(Rt)&&(ft.$attrs$[Rt]=et[Rt]);if(ft.$tag$=null,ft.$flags$|=4,S.$vnode$=ft,ft.$elm$=vt.$elm$=et.shadowRoot||et,V=et["s-sc"],te=et["s-cr"],H=0!=(1&mt.$flags$),N=!1,An(vt,ft,fe),Mt.$flags$|=1,re){lr(ft.$elm$);for(const Rt of fn){const $t=Rt.$nodeToRelocate$;if(!$t["s-ol"]){const nn=Et.createTextNode("");nn["s-nr"]=$t,$t.parentNode.insertBefore($t["s-ol"]=nn,$t)}}for(const Rt of fn){const $t=Rt.$nodeToRelocate$,nn=Rt.$slotRefNode$;if(nn){const sn=nn.parentNode;let h=nn.nextSibling;{let Z=null===(Ae=$t["s-ol"])||void 0===Ae?void 0:Ae.previousSibling;for(;Z;){let D=null!==(ze=Z["s-nr"])&&void 0!==ze?ze:null;if(D&&D["s-sn"]===$t["s-sn"]&&sn===D.parentNode&&(D=D.nextSibling,!D||!D["s-nr"])){h=D;break}Z=Z.previousSibling}}(!h&&sn!==$t.parentNode||$t.nextSibling!==h)&&$t!==h&&(!$t["s-hn"]&&$t["s-ol"]&&($t["s-hn"]=$t["s-ol"].parentNode.nodeName),sn.insertBefore($t,h),1===$t.nodeType&&($t.hidden=null!==(Ne=$t["s-ih"])&&void 0!==Ne&&Ne))}else 1===$t.nodeType&&(fe&&($t["s-ih"]=null!==(xe=$t.hidden)&&void 0!==xe&&xe),$t.hidden=!0)}}N&&ar(ft.$elm$),Mt.$flags$&=-2,fn.length=0})(S,$,Ae)}catch(ze){En(ze,S.$hostElement$)}return null},Pr=S=>{const fe=S.$hostElement$,ze=S.$lazyInstance$,Ne=S.$ancestorComponent$;Cn(ze,"componentDidRender"),64&S.$flags$?Cn(ze,"componentDidUpdate"):(S.$flags$|=64,mn(fe),Cn(ze,"componentDidLoad"),S.$onReadyResolve$(fe),Ne||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 Ne=Object.entries($.$members$);if(Ne.map(([xe,[et]])=>{31&et||2&fe&&32&et?Object.defineProperty(ze,xe,{get(){return((S,$)=>Ln(this).$instanceValues$.get($))(0,xe)},set(mt){((S,$,fe,Ae)=>{const ze=Ln(S),Ne=ze.$hostElement$,xe=ze.$instanceValues$.get($),et=ze.$flags$,mt=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 vt=Number.isNaN(xe)&&Number.isNaN(fe);if((!(8&et)||void 0===xe)&&fe!==xe&&!vt&&(ze.$instanceValues$.set($,fe),mt)){if(Ae.$watchers$&&128&et){const Rt=Ae.$watchers$[$];Rt&&Rt.map($t=>{try{mt[$t](fe,xe,$)}catch(nn){En(nn,Ne)}})}2==(18&et)&&Kn(ze,!1)}})(this,xe,mt,$)},configurable:!0,enumerable:!0}):1&fe&&64&et&&Object.defineProperty(ze,xe,{value(...mt){var vt;const ft=Ln(this);return null===(vt=ft?.$onInstancePromise$)||void 0===vt?void 0:vt.then(()=>{var Rt;return null===(Rt=ft.$lazyInstance$)||void 0===Rt?void 0:Rt[xe](...mt)})}})}),1&fe){const xe=new Map;ze.attributeChangedCallback=function(et,mt,vt){Mt.jmp(()=>{var ft;const Rt=xe.get(et);if(this.hasOwnProperty(Rt))vt=this[Rt],delete this[Rt];else{if(ze.hasOwnProperty(Rt)&&"number"==typeof this[Rt]&&this[Rt]==vt)return;if(null==Rt){const $t=Ln(this),nn=$t?.$flags$;if(nn&&!(8&nn)&&128&nn&&vt!==mt){const sn=$t.$lazyInstance$;(null===(ft=$.$watchers$)||void 0===ft?void 0:ft[et])?.forEach(Z=>{null!=sn[Z]&&sn[Z].call(sn,vt,mt,et)})}return}}this[Rt]=(null!==vt||"boolean"!=typeof this[Rt])&&vt})},S.observedAttributes=Array.from(new Set([...Object.keys(null!==(Ae=$.$watchers$)&&void 0!==Ae?Ae:{}),...Ne.filter(([et,mt])=>15&mt[0]).map(([et,mt])=>{var vt;const ft=mt[1]||et;return xe.set(ft,et),512&mt[0]&&(null===(vt=$.$attrsToReflect$)||void 0===vt||vt.push([et,ft])),ft})]))}}return S},Ie=function(){var S=(0,o.Z)(function*($,fe,Ae,ze){let Ne;if(!(32&fe.$flags$)){fe.$flags$|=32;{if(Ne=gr(Ae),Ne.then){const vt=()=>{};Ne=yield Ne,vt()}Ne.isProxied||(Ae.$watchers$=Ne.watchers,$e(Ne,Ae,2),Ne.isProxied=!0);const mt=()=>{};fe.$flags$|=8;try{new Ne(fe)}catch(vt){En(vt)}fe.$flags$&=-9,fe.$flags$|=128,mt(),Ke(fe.$lazyInstance$)}if(Ne.style){let mt=Ne.style;"string"!=typeof mt&&(mt=mt[fe.$modeName$=(S=>Un.map($=>$(S)).find($=>!!$))($)]);const vt=Yt(Ae,fe.$modeName$);if(!vn.has(vt)){const ft=()=>{};Xe(vt,mt,!!(1&Ae.$flags$)),ft()}}}const xe=fe.$ancestorComponent$,et=()=>Kn(fe,!0);xe&&xe["s-rc"]?xe["s-rc"].push(et):et()});return function(fe,Ae,ze,Ne){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=[],Ne=$.exclude||[],xe=kn.customElements,et=Et.head,mt=et.querySelector("meta[charset]"),vt=Et.createElement("style"),ft=[],Rt=Et.querySelectorAll(`[${Ce}]`);let $t,nn=!0,sn=0;for(Object.assign(Mt,$),Mt.$resourcesUrl$=new URL($.resourcesUrl||"./",Et.baseURI).href,Mt.$flags$|=2;sn{Z[1].map(D=>{var ce;const Ve={$flags$:D[0],$tagName$:D[1],$members$:D[2],$listeners$:D[3]};4&Ve.$flags$&&(h=!0),Ve.$members$=D[2],Ve.$listeners$=D[3],Ve.$attrsToReflect$=[],Ve.$watchers$=null!==(ce=D[4])&&void 0!==ce?ce:{};const rn=Ve.$tagName$,qt=class extends HTMLElement{constructor(br){super(br),Gn(br=this,Ve),1&Ve.$flags$&&br.attachShadow({mode:"open",delegatesFocus:!!(16&Ve.$flags$)})}connectedCallback(){$t&&(clearTimeout($t),$t=null),nn?ft.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(Ue),ze){if(1&fe.$flags$){const Ne=ut(S.shadowRoot,fe,S.getAttribute("s-mode"));S.classList.remove(Ne+"-h",Ne+"-s")}((S,$,fe,Ae)=>{const Ne=S.shadowRoot,xe=[],mt=Ne?[]:null,vt=Ae.$vnode$=We($,null);Mt.$orgLocNodes$||ae(Et.body,Mt.$orgLocNodes$=new Map),S[Ue]=fe,S.removeAttribute(Ue),se(vt,xe,[],mt,S,S,fe),xe.map(ft=>{const Rt=ft.$hostId$+"."+ft.$nodeId$,$t=Mt.$orgLocNodes$.get(Rt),nn=ft.$elm$;$t&&he&&""===$t["s-en"]&&$t.parentNode.insertBefore(nn,$t.nextSibling),Ne||(nn["s-hn"]=$,$t&&(nn["s-ol"]=$t,nn["s-ol"]["s-nr"]=nn)),Mt.$orgLocNodes$.delete(Rt)}),Ne&&mt.map(ft=>{ft&&Ne.appendChild(ft)})})(S,fe.$tagName$,ze,$)}ze||12&fe.$flags$&&wt(S);{let Ne=S;for(;Ne=Ne.parentNode||Ne.host;)if(1===Ne.nodeType&&Ne.hasAttribute("s-id")&&Ne["s-p"]||Ne["s-p"]){Hn($,$.$ancestorComponent$=Ne);break}}fe.$members$&&Object.entries(fe.$members$).map(([Ne,[xe]])=>{if(31&xe&&S.hasOwnProperty(Ne)){const et=S[Ne];delete S[Ne],S[Ne]=et}}),Ie(S,$,fe)}Ae()}})(this))}disconnectedCallback(){Mt.jmp(()=>Dn(this))}componentOnReady(){return Ln(this).$onReadyPromise$}};Ve.$lazyBundleId$=Z[0],!Ne.includes(rn)&&!xe.get(rn)&&(ze.push(rn),xe.define(rn,$e(qt,Ve,1)))})}),h&&(vt.innerHTML+=Ee),vt.innerHTML+=ze+"{visibility:hidden}.hydrated{visibility:inherit}",vt.innerHTML.length){vt.setAttribute("data-styles","");const Z=null!==(fe=Mt.$nonce$)&&void 0!==fe?fe:ie(Et);null!=Z&&vt.setAttribute("nonce",Z),et.insertBefore(vt,mt?mt.nextSibling:et.firstChild)}nn=!1,ft.length?ft.map(Z=>Z.connectedCallback()):Mt.jmp(()=>$t=setTimeout(gn,30))},hr=(S,$,fe,Ae)=>{fe&&fe.map(([ze,Ne,xe])=>{const et=Sn(S,ze),mt=qn($,xe),vt=zn(ze);Mt.ael(et,Ne,mt,vt),($.$rmListeners$=$.$rmListeners$||[]).push(()=>Mt.rel(et,Ne,mt,vt))})},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),on=(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$,Ne=Bn.get(ze);return Ne?Ne[Ae]:g(863)(`./${ze}.entry.js`).then(xe=>(Bn.set(ze,xe),xe[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)},he=!0,I=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),A=[],G=[],ye=(S,$)=>fe=>{S.push(fe),K||(K=!0,$&&4&Mt.$flags$?tt(Le):Mt.raf(Le))},Me=S=>{for(let $=0;${Me(A),Me(G),(K=A.length>0)&&Mt.raf(Le)},tt=S=>Promise.resolve(void 0).then(S),lt=ye(A,!1),bt=ye(G,!0)},5521:(pt,Re,g)=>{"use strict";g.d(Re,{a:()=>K,b:()=>We,c:()=>B,i:()=>st});var o=g(7239);class r{constructor(){this.m=new Map}reset(Y){this.m=new Map(Object.entries(Y))}get(Y,C){const L=this.m.get(Y);return void 0!==L?L:C}getBoolean(Y,C=!1){const L=this.m.get(Y);return void 0===L?C:"string"==typeof L?"true"===L:!!L}getNumber(Y,C){const L=parseFloat(this.m.get(Y));return isNaN(L)?void 0!==C?C:NaN:L}set(Y,C){this.m.set(Y,C)}}const B=new r,N="ionic:",re="ionic-persist-config",K=(_e,Y)=>("string"==typeof _e&&(Y=_e,_e=void 0),(_e=>oe(_e))(_e).includes(Y)),oe=(_e=window)=>{if(typeof _e>"u")return[];_e.Ionic=_e.Ionic||{};let Y=_e.Ionic.platforms;return null==Y&&(Y=_e.Ionic.platforms=pe(_e),Y.forEach(C=>_e.document.documentElement.classList.add(`plt-${C}`))),Y},pe=_e=>{const Y=B.get("platform");return Object.keys(ie).filter(C=>{const L=Y?.[C];return"function"==typeof L?L(_e):ie[C](_e)})},ne=_e=>!!(Te(_e,/iPad/i)||Te(_e,/Macintosh/i)&&Fe(_e)),ge=_e=>Te(_e,/android|sink/i),Fe=_e=>Be(_e,"(any-pointer:coarse)"),Ee=_e=>z(_e)||J(_e),z=_e=>!!(_e.cordova||_e.phonegap||_e.PhoneGap),J=_e=>!!_e.Capacitor?.isNative,Te=(_e,Y)=>Y.test(_e.navigator.userAgent),Be=(_e,Y)=>{var C;return null===(C=_e.matchMedia)||void 0===C?void 0:C.call(_e,Y).matches},ie={ipad:ne,iphone:_e=>Te(_e,/iPhone/i),ios:_e=>Te(_e,/iPhone|iPod/i)||ne(_e),android:ge,phablet:_e=>{const Y=_e.innerWidth,C=_e.innerHeight,L=Math.min(Y,C),k=Math.max(Y,C);return L>390&&L<520&&k>620&&k<800},tablet:_e=>{const Y=_e.innerWidth,C=_e.innerHeight,L=Math.min(Y,C),k=Math.max(Y,C);return ne(_e)||(_e=>ge(_e)&&!Te(_e,/mobile/i))(_e)||L>460&&L<820&&k>780&&k<1400},cordova:z,capacitor:J,electron:_e=>Te(_e,/electron/i),pwa:_e=>{var Y;return!!(null!==(Y=_e.matchMedia)&&void 0!==Y&&Y.call(_e,"(display-mode: standalone)").matches||_e.navigator.standalone)},mobile:Fe,mobileweb:_e=>Fe(_e)&&!Ee(_e),desktop:_e=>!Fe(_e),hybrid:Ee};let ke;const We=_e=>_e&&(0,o.g)(_e)||ke,st=(_e={})=>{if(typeof window>"u")return;const Y=window.document,C=window,L=C.Ionic=C.Ionic||{},k={};_e._ael&&(k.ael=_e._ael),_e._rel&&(k.rel=_e._rel),_e._ce&&(k.ce=_e._ce),(0,o.a)(k);const se=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(_e=>{try{const Y=_e.sessionStorage.getItem(re);return null!==Y?JSON.parse(Y):{}}catch{return{}}})(C)),{persistConfig:!1}),L.config),(_e=>{const Y={};return _e.location.search.slice(1).split("&").map(C=>C.split("=")).map(([C,L])=>[decodeURIComponent(C),decodeURIComponent(L)]).filter(([C])=>((_e,Y)=>_e.substr(0,Y.length)===Y)(C,N)).map(([C,L])=>[C.slice(N.length),L]).forEach(([C,L])=>{Y[C]=L}),Y})(C)),_e);B.reset(se),B.getBoolean("persistConfig")&&((_e,Y)=>{try{_e.sessionStorage.setItem(re,JSON.stringify(Y))}catch{return}})(C,se),oe(C),L.config=B,L.mode=ke=B.get("mode",Y.documentElement.getAttribute("mode")||(K(C,"ios")?"ios":"md")),B.set("mode",ke),Y.documentElement.setAttribute("mode",ke),Y.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})}},209:(pt,Re,g)=>{"use strict";g.r(Re),g.d(Re,{iosTransitionAnimation:()=>pe,shadow:()=>H});var o=g(2876),r=g(6717);g(2972),g(7239);const P=ne=>document.querySelector(`${ne}.ion-cloned-element`),H=ne=>ne.shadowRoot||ne,N=ne=>{const de="ION-TABS"===ne.tagName?ne:ne.querySelector("ion-tabs"),W="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=de){const ge=de.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=ge?ge.querySelector(W):null}return ne.querySelector(W)},re=(ne,de)=>{const W="ION-TABS"===ne.tagName?ne:ne.querySelector("ion-tabs");let ge=[];if(null!=W){const me=W.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=me&&(ge=me.querySelectorAll("ion-buttons"))}else ge=ne.querySelectorAll("ion-buttons");for(const me of ge){const Ue=me.closest("ion-header"),Ce=Ue&&!Ue.classList.contains("header-collapse-condense-inactive"),Fe=me.querySelector("ion-back-button"),Oe=me.classList.contains("buttons-collapse");if(null!==Fe&&("start"===me.slot||""===me.slot)&&(Oe&&Ce&&de||!Oe))return Fe}return null},K=(ne,de,W,ge,me,Ue,Ce,Fe,Oe)=>{var Ee,z;const J=de?`calc(100% - ${me.right+4}px)`:me.left-4+"px",be=de?"right":"left",De=de?"left":"right",Te=de?"right":"left",Be=(null===(Ee=Ue.textContent)||void 0===Ee?void 0:Ee.trim())===(null===(z=Fe.textContent)||void 0===z?void 0:z.trim()),ke=(Oe.height-ue)/Ce.height,We=Be?`scale(${Oe.width/Ce.width}, ${ke})`:`scale(${ke})`,st="scale(1)",Y=H(ge).querySelector("ion-icon").getBoundingClientRect(),C=de?Y.width/2-(Y.right-me.right)+"px":me.left-Y.width/2+"px",L=de?`-${window.innerWidth-me.right}px`:`${me.left}px`,k=`${Oe.top}px`,se=`${me.top}px`,qe=W?[{offset:0,transform:`translate3d(${L}, ${se}, 0)`},{offset:1,transform:`translate3d(${C}, ${k}, 0)`}]:[{offset:0,transform:`translate3d(${C}, ${k}, 0)`},{offset:1,transform:`translate3d(${L}, ${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)(),Ft=(0,o.c)(),Yt=P("ion-back-button"),Zt=H(Yt).querySelector(".button-text"),Ct=H(Yt).querySelector("ion-icon");Yt.text=ge.text,Yt.mode=ge.mode,Yt.icon=ge.icon,Yt.color=ge.color,Yt.disabled=ge.disabled,Yt.style.setProperty("display","block"),Yt.style.setProperty("position","fixed"),ut.addElement(Ct),Xe.addElement(Zt),Ft.addElement(Yt),Ft.beforeStyles({position:"absolute",top:"0px",[Te]:"0px"}).keyframes(qe),Xe.beforeStyles({"transform-origin":`${be} top`}).beforeAddWrite(()=>{ge.style.setProperty("display","none"),Yt.style.setProperty(be,J)}).afterAddWrite(()=>{ge.style.setProperty("display",""),Yt.style.setProperty("display","none"),Yt.style.removeProperty(be)}).keyframes(At),ut.beforeStyles({"transform-origin":`${De} center`}).keyframes(Je),ne.addAnimation([Xe,ut,Ft])},oe=(ne,de,W,ge,me,Ue,Ce,Fe)=>{var Oe,Ee;const z=de?"right":"left",J=de?`calc(100% - ${me.right}px)`:`${me.left}px`,De=`${me.top}px`,Be=de?`-${window.innerWidth-Fe.right-8}px`:Fe.x-8+"px",ke=Fe.y-2+"px",We=(null===(Oe=Ce.textContent)||void 0===Oe?void 0:Oe.trim())===(null===(Ee=ge.textContent)||void 0===Ee?void 0:Ee.trim()),_e=Fe.height/(Ue.height-ue),Y="scale(1)",C=We?`scale(${Fe.width/Ue.width}, ${_e})`:`scale(${_e})`,se=W?[{offset:0,opacity:0,transform:`translate3d(${Be}, ${ke}, 0) ${C}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${De}, 0) ${Y}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${De}, 0) ${Y}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${Be}, ${ke}, 0) ${C}`}],ae=P("ion-title"),Ye=(0,o.c)();ae.innerText=ge.innerText,ae.size=ge.size,ae.color=ge.color,Ye.addElement(ae),Ye.beforeStyles({"transform-origin":`${z} top`,height:`${me.height}px`,display:"",position:"relative",[z]:J}).beforeAddWrite(()=>{ge.style.setProperty("opacity","0")}).afterAddWrite(()=>{ge.style.setProperty("opacity",""),ae.style.setProperty("display","none")}).keyframes(se),ne.addAnimation(Ye)},pe=(ne,de)=>{var W;try{const ge="cubic-bezier(0.32,0.72,0,1)",me="opacity",Ue="transform",Ce="0%",Oe="rtl"===ne.ownerDocument.dir,Ee=Oe?"-99.5%":"99.5%",z=Oe?"33%":"-33%",J=de.enteringEl,be=de.leavingEl,De="back"===de.direction,Te=J.querySelector(":scope > ion-content"),Be=J.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),ie=J.querySelectorAll(":scope > ion-header > ion-toolbar"),ke=(0,o.c)(),We=(0,o.c)();if(ke.addElement(J).duration((null!==(W=de.duration)&&void 0!==W?W:0)||540).easing(de.easing||ge).fill("both").beforeRemoveClass("ion-page-invisible"),be&&null!=ne){const C=(0,o.c)();C.addElement(ne),ke.addAnimation(C)}if(Te||0!==ie.length||0!==Be.length?(We.addElement(Te),We.addElement(Be)):We.addElement(J.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),ke.addAnimation(We),De?We.beforeClearStyles([me]).fromTo("transform",`translateX(${z})`,`translateX(${Ce})`).fromTo(me,.8,1):We.beforeClearStyles([me]).fromTo("transform",`translateX(${Ee})`,`translateX(${Ce})`),Te){const C=H(Te).querySelector(".transition-effect");if(C){const L=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(L).beforeClearStyles([me]).fromTo(me,0,.1),Ye.addElement(k).beforeClearStyles([me]).fromTo(me,.03,.7),se.addAnimation([ae,Ye]),We.addAnimation([se])}}const st=J.querySelector("ion-header.header-collapse-condense"),{forward:_e,backward:Y}=((ne,de,W,ge,me)=>{const Ue=re(ge,W),Ce=N(me),Fe=N(ge),Oe=re(me,W),Ee=null!==Ue&&null!==Ce&&!W,z=null!==Fe&&null!==Oe&&W;if(Ee){const J=Ce.getBoundingClientRect(),be=Ue.getBoundingClientRect(),De=H(Ue).querySelector(".button-text"),Te=De.getBoundingClientRect(),ie=H(Ce).querySelector(".toolbar-title").getBoundingClientRect();oe(ne,de,W,Ce,J,ie,De,Te),K(ne,de,W,Ue,be,De,Te,Ce,ie)}else if(z){const J=Fe.getBoundingClientRect(),be=Oe.getBoundingClientRect(),De=H(Oe).querySelector(".button-text"),Te=De.getBoundingClientRect(),ie=H(Fe).querySelector(".toolbar-title").getBoundingClientRect();oe(ne,de,W,Fe,J,ie,De,Te),K(ne,de,W,Oe,be,De,Te,Fe,ie)}return{forward:Ee,backward:z}})(ke,Oe,De,J,be);if(ie.forEach(C=>{const L=(0,o.c)();L.addElement(C),ke.addAnimation(L);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(De?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(H(C).querySelector(".toolbar-background"));const Wt=(0,o.c)(),at=C.querySelector("ion-back-button");if(at&&Wt.addElement(at),L.addAnimation([k,se,dt,At,Wt]),se.fromTo(me,.01,1),dt.fromTo(me,.01,1),De)qe||k.fromTo("transform",`translateX(${z})`,`translateX(${Ce})`).fromTo(me,.01,1),dt.fromTo("transform",`translateX(${z})`,`translateX(${Ce})`),Wt.fromTo(me,.01,1);else if(st||k.fromTo("transform",`translateX(${Ee})`,`translateX(${Ce})`).fromTo(me,.01,1),dt.fromTo("transform",`translateX(${Ee})`,`translateX(${Ce})`),At.beforeClearStyles([me,"transform"]),Ye?.translucent?At.fromTo("transform",Oe?"translateX(-100%)":"translateX(100%)","translateX(0px)"):At.fromTo(me,.01,"var(--opacity)"),_e||Wt.fromTo(me,.01,1),at&&!_e){const Xe=(0,o.c)();Xe.addElement(H(at).querySelector(".button-text")).fromTo("transform",Oe?"translateX(-100px)":"translateX(100px)","translateX(0px)"),L.addAnimation(Xe)}}),be){const C=(0,o.c)(),L=be.querySelector(":scope > ion-content"),k=be.querySelectorAll(":scope > ion-header > ion-toolbar"),se=be.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(L||0!==k.length||0!==se.length?(C.addElement(L),C.addElement(se)):C.addElement(be.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),ke.addAnimation(C),De){C.beforeClearStyles([me]).fromTo("transform",`translateX(${Ce})`,Oe?"translateX(-100%)":"translateX(100%)");const ae=(0,r.g)(be);ke.afterAddWrite(()=>{"normal"===ke.getDirection()&&ae.style.setProperty("display","none")})}else C.fromTo("transform",`translateX(${Ce})`,`translateX(${z})`).fromTo(me,1,.8);if(L){const ae=H(L).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([me]).fromTo(me,.1,0),At.addElement(qe).beforeClearStyles([me]).fromTo(me,.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(H(ae).querySelector(".toolbar-background"));const Ft=(0,o.c)(),Yt=ae.querySelector("ion-back-button");if(Yt&&Ft.addElement(Yt),Ye.addAnimation([qe,gt,Je,Ft,ut]),ke.addAnimation(Ye),Ft.fromTo(me,.99,0),gt.fromTo(me,.99,0),Je.fromTo(me,.99,0),De){if(Wt||qe.fromTo("transform",`translateX(${Ce})`,Oe?"translateX(-100%)":"translateX(100%)").fromTo(me,.99,0),Je.fromTo("transform",`translateX(${Ce})`,Oe?"translateX(-100%)":"translateX(100%)"),ut.beforeClearStyles([me,"transform"]),At?.translucent?ut.fromTo("transform","translateX(0px)",Oe?"translateX(-100%)":"translateX(100%)"):ut.fromTo(me,"var(--opacity)",0),Yt&&!Y){const Ct=(0,o.c)();Ct.addElement(H(Yt).querySelector(".button-text")).fromTo("transform",`translateX(${Ce})`,`translateX(${(Oe?-124:124)+"px"})`),Ye.addAnimation(Ct)}}else Wt||qe.fromTo("transform",`translateX(${Ce})`,`translateX(${z})`).fromTo(me,.99,0).afterClearStyles([Ue,me]),Je.fromTo("transform",`translateX(${Ce})`,`translateX(${z})`).afterClearStyles([Ue,me]),Ft.afterClearStyles([me]),qe.afterClearStyles([me]),gt.afterClearStyles([me])})}return ke}catch(ge){throw ge}},ue=10},3e3:(pt,Re,g)=>{"use strict";g.r(Re),g.d(Re,{mdTransitionAnimation:()=>te});var o=g(2876),r=g(6717);g(2972),g(7239);const te=(P,H)=>{var N,re,ve;const K="40px",pe="back"===H.direction,ne=H.leavingEl,de=(0,r.g)(H.enteringEl),W=de.querySelector("ion-toolbar"),ge=(0,o.c)();if(ge.addElement(de).fill("both").beforeRemoveClass("ion-page-invisible"),pe?ge.duration((null!==(N=H.duration)&&void 0!==N?N:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):ge.duration((null!==(re=H.duration)&&void 0!==re?re:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${K})`,"translateY(0px)").fromTo("opacity",.01,1),W){const me=(0,o.c)();me.addElement(W),ge.addAnimation(me)}if(ne&&pe){ge.duration((null!==(ve=H.duration)&&void 0!==ve?ve:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const me=(0,o.c)();me.addElement((0,r.g)(ne)).onFinish(Ue=>{1===Ue&&me.elements.length>0&&me.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${K})`).fromTo("opacity",1,0),ge.addAnimation(me)}return ge}},7511:(pt,Re,g)=>{"use strict";g.d(Re,{B:()=>qe,G:()=>gt,O:()=>dt,a:()=>oe,b:()=>pe,c:()=>W,d:()=>At,e:()=>Wt,f:()=>We,g:()=>_e,h:()=>L,i:()=>se,j:()=>me,k:()=>Ue,m:()=>ne,n:()=>ve,o:()=>Oe,q:()=>ie,s:()=>Ye,t:()=>ge});var o=g(5861),r=g(2972),B=g(5521),V=g(7869),te=g(8261),P=g(2961),H=g(8909);let N=0,re=0;const ve=new WeakMap,K=at=>({create:Je=>Ce(at,Je),dismiss:(Je,Xe,ut)=>De(document,Je,Xe,at,ut),getTop:()=>(0,o.Z)(function*(){return ie(document,at)})()}),oe=K("ion-alert"),pe=K("ion-action-sheet"),ne=K("ion-modal"),W=K("ion-popover"),ge=K("ion-toast"),me=at=>{typeof document<"u"&&be(document);const Je=N++;at.overlayIndex=Je},Ue=at=>(at.hasAttribute("id")||(at.id="ion-overlay-"+ ++re),at.id),Ce=(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})),Y(document).appendChild(Xe),new Promise(ut=>(0,P.c)(Xe,ut))}):Promise.resolve(),Fe='[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])',Oe=(at,Je)=>{let Xe=at.querySelector(Fe);const ut=Xe?.shadowRoot;ut&&(Xe=ut.querySelector(Fe)||Xe),Xe?(0,P.f)(Xe):Je.focus()},z=(at,Je)=>{const Xe=Array.from(at.querySelectorAll(Fe));let ut=Xe.length>0?Xe[Xe.length-1]:null;const Ft=ut?.shadowRoot;Ft&&(ut=Ft.querySelector(Fe)||ut),ut?ut.focus():Je.focus()},be=at=>{0===N&&(N=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;Oe(Xe,Xe),Zt===Je.activeElement&&z(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;Oe(Ct,Xe),en===Je.activeElement&&z(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)}}))},De=(at,Je,Xe,ut,Ft)=>{const Yt=ie(at,ut,Ft);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(Ft=>Ft.id===Xe)},ke=(at=!1)=>{const Xe=Y(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,Ft,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:Ft);(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,Ft,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(Fe)||Xe),yield Je.onDidDismiss(),Xe.focus()});return function(Xe){return at.apply(this,arguments)}}(),_e=function(){var at=(0,o.Z)(function*(Je,Xe,ut,Ft,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(Ft,"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}),ve.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,Ft,Yt,Zt,Ct,en){return at.apply(this,arguments)}}(),Y=at=>at.querySelector("ion-app")||at.body,C=function(){var at=(0,o.Z)(function*(Je,Xe,ut,Ft){ut.classList.remove("overlay-hidden");const Zt=Xe(Je.el,Ft);(!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=ve.get(Je)||[];return ve.set(Je,[...Ct,Zt]),yield Zt.play(),!0});return function(Xe,ut,Ft,Yt){return at.apply(this,arguments)}}(),L=(at,Je)=>{let Xe;const ut=new Promise(Ft=>Xe=Ft);return k(at,Je,Ft=>{Xe(Ft.detail)}),ut},k=(at,Je,Xe)=>{const ut=Ft=>{(0,P.b)(at,Je,ut),Xe(Ft)};(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)(),Ft=(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}=Ft(!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}=Ft();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,Ft)=>{Je();const Yt=void 0!==Ft?document.getElementById(Ft):null;Yt?at=((Ct,en)=>{const Xt=()=>{en.present()};return Ct.addEventListener("click",Xt),()=>{Ct.removeEventListener("click",Xt)}})(Yt,ut):(0,H.p)(`A trigger element with the ID "${Ft}" 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(Y,C){return function(L,k){C(L,k,Y)}}g.d(Re,{Fw:()=>_e,Ke:()=>Te});var z=g(4650),J=g(6895),be=g(4424),De=g(5021);let Te=(()=>{let Y=class{constructor(L,k){this.platformId=k,this._driver=null,this._dbPromise=new Promise((se,ae)=>{if((0,J.PM)(this.platformId)){const dt=function We(){const Y=()=>{};return{getItem:Y,setItem:Y,removeItem:Y,clear:Y,length:()=>0,keys:()=>[],iterate:Y}}();return void se(dt)}let Ye;const gt=Object.assign({name:"_ionicstorage",storeName:"_ionickv",dbKey:"_ionickey",driverOrder:["sqlite","indexeddb","websql","localstorage"]},L||{});(0,be.defineDriver)(De).then(()=>{Ye=(0,be.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(L){return L.map(k=>{switch(k){case"sqlite":return De._driver;case"indexeddb":return be.INDEXEDDB;case"websql":return be.WEBSQL;case"localstorage":return be.LOCALSTORAGE}})}get(L){return this._dbPromise.then(k=>k.getItem(L))}set(L,k){return this._dbPromise.then(se=>se.setItem(L,k))}remove(L){return this._dbPromise.then(k=>k.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(k=>k.iterate(L))}};return Y=function te(Y,C,L,k){var Ye,se=arguments.length,ae=se<3?C:null===k?k=Object.getOwnPropertyDescriptor(C,L):k;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ae=Reflect.decorate(Y,C,L,k);else for(var qe=Y.length-1;qe>=0;qe--)(Ye=Y[qe])&&(ae=(se<3?Ye(ae):se>3?Ye(C,L,ae):Ye(C,L))||ae);return se>3&&ae&&Object.defineProperty(C,L,ae),ae}([P(1,(0,z.tBr)(z.Lbi))],Y),Y})();const ie=new z.OlP("STORAGE_CONFIG_TOKEN");function ke(Y,C){return new Te(Y||{name:"_ionicstorage",storeName:"_ionickv",dbKey:"_ionickey",driverOrder:["sqlite","indexeddb","websql","localstorage"]},C)}var st;let _e=st=class{static forRoot(C=null){return{ngModule:st,providers:[{provide:ie,useValue:C},{provide:Te,useFactory:ke,deps:[ie,z.Lbi]}]}}};_e.\u0275fac=function(C){return new(C||_e)},_e.\u0275mod=z.oAB({type:_e}),_e.\u0275inj=z.cJS({})},227:(pt,Re,g)=>{"use strict";g.d(Re,{de:()=>oe,ew:()=>re,Ei:()=>ve,VL:()=>K});var o=g(4650),r=g(4004),B=g(5861),V=g(4707),te=g(4158);let P=(()=>{class pe{constructor(ne){this.storage=ne,this.subjects=new Map}clear(){var ne=this;return(0,B.Z)(function*(){yield ne.storage.ready(),yield ne.storage.clear(),ne.subjects.forEach(de=>de.next(void 0))})()}get(ne){var de=this;return(0,B.Z)(function*(){return yield de.storage.ready(),yield de.storage.get(ne)})()}observe(ne){let de=this.subjects.get(ne);return de||(de=new V.t(1),this.subjects.set(ne,de),this.storage.ready().then(()=>{this.storage.get(ne).then(W=>{de.next(W)}).catch(W=>{de.error(W)})})),de}remove(ne){var de=this;return(0,B.Z)(function*(){yield de.storage.ready(),yield de.storage.remove(ne);const W=de.subjects.get(ne);W&&W.next(void 0)})()}set(ne,de){var W=this;return(0,B.Z)(function*(){yield W.storage.ready(),yield W.storage.set(ne,de);const ge=W.subjects.get(ne);ge&&ge.next(de)})()}static#e=this.\u0275fac=function(de){return new(de||pe)(o.LFG(te.Ke))};static#t=this.\u0275prov=o.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})();const H=(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"}],N={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 re{constructor(){this.connectionTimeout=3e3,this.requestTimeout=2e3,this.minReconnectDelay=3e3,this.maxReconnectDelay=8e3,this.demoControlUnit=(0,o.X6Q)()}}class ve{constructor(){this.cumode=!0,this.debug=(0,o.X6Q)(),this.fixedorder=!1,this.language="",this.speech=!0,this.sectors=!1,this.voice=""}}class K{constructor(ue){switch(this.mode=ue,this.pause=!1,this.slotmode=!1,this.stopfin=!1,this.auto=!1,this.pace=!1,this.minLapTime=500,ue){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 pe{constructor(ne){this.settings=ne}clear(){return this.settings.clear()}getConnection(){return this.settings.observe("connection").pipe((0,r.U)(ne=>Object.assign(new re,ne)))}setConnection(ne){return this.settings.set("connection",ne)}getDrivers(){return this.settings.observe("drivers").pipe((0,r.U)(ne=>{const de=new Array(8);for(let W=0;W!=de.length;++W)de[W]=Object.assign(H[W],ne?ne[W]:null);return de}))}setDrivers(ne){return this.settings.set("drivers",ne)}getNotifications(){return this.settings.observe("notifications").pipe((0,r.U)(ne=>{const de={};for(let W of Object.keys(N))de[W]=Object.assign({enabled:N[W]},ne?ne[W]:null);return de}))}setNotifications(ne){return this.settings.set("notifications",ne)}getOptions(){return this.settings.observe("options").pipe((0,r.U)(ne=>Object.assign(new ve,ne)))}setOptions(ne){return this.settings.set("options",ne)}getQualifyingSettings(){return this.settings.observe("qualifying").pipe((0,r.U)(ne=>Object.assign(new K("qualifying"),ne)))}setQualifyingSettings(ne){return this.settings.set("qualifying",ne)}getRaceSettings(){return this.settings.observe("race").pipe((0,r.U)(ne=>Object.assign(new K("race"),ne)))}setRaceSettings(ne){return this.settings.set("race",ne)}static#e=this.\u0275fac=function(de){return new(de||pe)(o.LFG(P))};static#t=this.\u0275prov=o.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})()},6475:(pt,Re,g)=>{"use strict";g.d(Re,{z:()=>ne});var o=g(5861),r=g(3771),B=g(9509),V=g(4598),te=g(9986),P=g(9102),H=g(8675),N=g(4004),re=g(1884),ve=g(4650),K=g(958),oe=g(5082),pe=g(9062),ue=(()=>{return(de=ue||(ue={})).Portrait="portrait",de.Landscape="landscape",ue;var de})();class ne{constructor(W,ge,me,Ue,Ce,Fe,Oe,Ee){this.platform=W,this.app=ge,this.device=me,this.fullscreen=Ue,this.insomnia=Ce,this.sharing=Fe,this.splash=Oe,this.exit=void 0,this.share=void 0,this.backButton=W.backButton,W.ready().then(z=>{"cordova"===z&&Ee.styleDefault()}),this.isCordova()&&this.isAndroid()&&(this.exit=()=>this.doExit()),this.isCordova()&&P.e&&(this.share=(z,J)=>this.doShare(z,J)),this.orientation=W.resize.pipe((0,H.O)(void 0),(0,N.U)(()=>W.isPortrait()?ue.Portrait:ue.Landscape),(0,re.x)())}static#e=this.PORTRAIT=ue.Portrait;static#t=this.LANDSCAPE=ue.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 ge=this;return(0,o.Z)(function*(){ge.isCordova()&&ge.isAndroid()&&r.B&&(yield ge.platform.ready(),W?ge.fullscreen.immersiveMode():ge.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 ge=this;return(0,o.Z)(function*(){ge.isCordova()&&te.s&&(yield ge.platform.ready(),W?ge.insomnia.keepAwake():ge.insomnia.allowSleepAgain())})()}isAndroid(){return this.platform.is("android")}isCordova(){return this.platform.is("cordova")}doShare(W,ge){var me=this;return(0,o.Z)(function*(){if(yield me.platform.ready(),P.e)return me.sharing.shareWithOptions({message:ge,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(ge){return new(ge||ne)(ve.LFG(K.t4),ve.LFG(B.b),ve.LFG(V.A),ve.LFG(r.B),ve.LFG(te.s),ve.LFG(P.e),ve.LFG(oe.c),ve.LFG(pe.A))};static#r=this.\u0275prov=ve.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"})}},6698:(pt,Re,g)=>{"use strict";g.d(Re,{zi:()=>o.z,V1:()=>H,Pn:()=>K,tQ:()=>ge,ed:()=>P,vA:()=>Fe});var o=g(6475),r=g(1135),B=g(4650),V=(()=>{return(Oe=V||(V={}))[Oe.DEBUG=0]="DEBUG",Oe[Oe.INFO=1]="INFO",Oe[Oe.WARNING=2]="WARNING",Oe[Oe.ERROR=3]="ERROR",V;var Oe})();let P=(()=>{class Oe{constructor(){this.level=V.INFO,this.limit=50,this.records=new Array}isDebugEnabled(){return this.level===V.DEBUG}setDebugEnabled(z){this.level=z?V.DEBUG:V.INFO}debug(...z){this.log(V.DEBUG,z)}info(...z){this.log(V.INFO,z)}warn(...z){this.log(V.WARNING,z)}error(...z){this.log(V.ERROR,z)}clear(){this.records.length=0}log(z,J){if(z>=this.level){for(console.log.apply(console,J);this.records.length>=this.limit;)this.records.shift();this.records.push({level:z,time:Date.now(),args:J})}}static#e=this.\u0275fac=function(J){return new(J||Oe)};static#t=this.\u0275prov=B.Yz7({token:Oe,factory:Oe.\u0275fac,providedIn:"root"})}return Oe})(),H=(()=>{class Oe extends r.X{constructor(z){super(null),this.logger=z}next(z){this.value?this.value.disconnect().catch(J=>{this.logger.error("Error disconnecting from",this.value,J)}).then(()=>{super.next(z)}):super.next(z)}static#e=this.\u0275fac=function(J){return new(J||Oe)(B.LFG(P))};static#t=this.\u0275prov=B.Yz7({token:Oe,factory:Oe.\u0275fac,providedIn:"root"})}return Oe})();var N=g(5861),re=g(1947),ve=g(6188);let K=(()=>{class Oe{constructor(z,J){this.alert=z,this.translate=J}show(z){var J=this;return(0,N.Z)(function*(){return z&&(z=yield J.translateAlertOptions(z)),yield(yield J.alert.create(z)).present()})()}translateAlertOptions(z){var J=this;return(0,N.Z)(function*(){const[be,De,Te,Be]=yield Promise.all([J.translateString(z.header),J.translateString(z.subHeader),J.translateString(z.message),Promise.all((z.buttons||[]).map(ie=>"string"==typeof ie?J.translateString(ie):J.translateString(ie.text).then(ke=>Object.assign({},ie,{text:ke}))))]);return Object.assign({},z,{header:be,subHeader:De,message:Te,buttons:Be})})()}translateString(z){return z?this.translate.get(z).toPromise():Promise.resolve(z)}static#e=this.\u0275fac=function(J){return new(J||Oe)(B.LFG(re.Br),B.LFG(ve.sK))};static#t=this.\u0275prov=B.Yz7({token:Oe,factory:Oe.\u0275fac,providedIn:"root"})}return Oe})();var oe=g(958),pe=g(4879);class ue{constructor(Ee,z){this.platform=Ee,this.toast=z}show(Ee,z,J){var be=this;return(0,N.Z)(function*(){return yield be.platform.ready(),yield be.toast.hide(),be.toast.show(Ee,z.toString(),J).toPromise()})()}}class ne{constructor(Ee){this.controller=Ee}show(Ee,z,J){var be=this;return(0,N.Z)(function*(){return(yield be.controller.create({message:Ee,duration:z,position:"center"===J?"middle":J})).present()})()}}const W=4e3;let ge=(()=>{class Oe{constructor(z,J,be,De){this.translate=De,this.toast=z.is("cordova")?new ue(z,J):new ne(be)}showShortTop(z,J){return this.show("top",2e3,z,J)}showShortCenter(z,J){return this.show("center",2e3,z,J)}showShortBottom(z,J){return this.show("bottom",2e3,z,J)}showLongTop(z,J){return this.show("top",W,z,J)}showLongCenter(z,J){return this.show("center",W,z,J)}showLongBottom(z,J){return this.show("bottom",W,z,J)}show(z,J,be,De){var Te=this;return(0,N.Z)(function*(){const Be=yield Te.translate.get(be,De).toPromise();return Te.toast.show(Be,J,z)})()}static#e=this.\u0275fac=function(J){return new(J||Oe)(B.LFG(oe.t4),B.LFG(pe.F),B.LFG(re.yF),B.LFG(ve.sK))};static#t=this.\u0275prov=B.Yz7({token:Oe,factory:Oe.\u0275fac,providedIn:"root"})}return Oe})();var me=g(694);class Ue{constructor(Ee,z){this.speech=Ee,this.voices=new Map,z.info("Using Web Speech API")}getVoiceMap(){return this.voices.size||this.speech.getVoices().forEach(Ee=>{this.voices.set(Ee.voiceURI,Ee)}),this.voices}speak(Ee){return new Promise((z,J)=>{const be=this.__utterance__=new SpeechSynthesisUtterance;"string"==typeof Ee?be.text=Ee:(be.text=Ee.text,be.lang=Ee.locale,be.rate=Ee.rate,be.voice=this.getVoiceMap().get(Ee.identifier)),be.onend=()=>{z()},be.onerror=De=>{J(De)};try{this.speech.speak(be)}catch(De){J(De)}})}stop(){return new Promise((Ee,z)=>{try{this.speech.cancel(),Ee()}catch(J){z(J)}})}getVoices(){return Promise.resolve(Array.from(this.getVoiceMap(),([Ee,z])=>z).map(Ee=>({name:Ee.name,language:Ee.lang,identifier:Ee.voiceURI})))}}class Ce{constructor(Ee){Ee.info("Speech not supported on this platform")}speak(Ee){return Promise.resolve()}stop(){return Promise.resolve()}getVoices(){return Promise.resolve([])}}let Fe=(()=>{class Oe{constructor(z,J,be){this.logger=z,this.tts=J,this.locale="en-US",this.promise=Promise.resolve(),this.pending=0,this.rate=1,be.is("cordova")?this.rate=be.is("ios")?1.5:1:this.tts=window.speechSynthesis?new Ue(window.speechSynthesis,z):new Ce(z)}setLocale(z){this.locale=z}setRate(z){this.rate=z}setVoice(z){this.voice=z}speak(z){z!=this.lastMessage?(this.lastMessage=z,this.pending++,this.promise=this.promise.then(()=>0==--this.pending?this.tts.speak({text:z,locale:this.locale||"en-us",rate:this.rate,identifier:this.voice||null}).then(()=>{0===this.pending&&(this.lastMessage=null)}).catch(J=>{this.logger.error("Speech error:",J),0===this.pending&&(this.lastMessage=null)}):(this.logger.warn("Speech cancelled: "+z),Promise.resolve())).catch(J=>{this.logger.error("Speech error:",J)})):this.logger.info("Speech duplicate dismissed: "+z)}getVoices(z){return this.tts.getVoices().then(J=>(J=(J=J.filter(be=>be.language.startsWith(z))).filter(be=>!be.name.endsWith("-network"))).sort((be,De)=>be.name.localeCompare(De.name)))}static#e=this.\u0275fac=function(J){return new(J||Oe)(B.LFG(P),B.LFG(me.E),B.LFG(oe.t4))};static#t=this.\u0275prov=B.Yz7({token:Oe,factory:Oe.\u0275fac,providedIn:"root"})}return Oe})()},6557:(pt,Re,g)=>{"use strict";g.d(Re,{t:()=>H});var o=g(4650),r=g(6475),B=g(1947);let V=(()=>{class N{onClick(){return window.open(this.href,this.target),!1}static#e=this.\u0275fac=function(K){return new(K||N)};static#t=this.\u0275dir=o.lG2({type:N,selectors:[["a","target",""]],hostBindings:function(K,oe){1&K&&o.NdJ("click",function(){return oe.onClick()})},inputs:{target:"target",href:"href"}})}return N})();var te=g(6188),P=g(6895);let H=(()=>{class N{constructor(ve){this.app=ve,this.version=ve.getVersion()}static#e=this.\u0275fac=function(K){return new(K||N)(o.Y36(r.z))};static#t=this.\u0275cmp=o.Xpm({type:N,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(K,oe){1&K&&(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-2024 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), Ludevik (Slovak). "),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&K&&(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 N})()},6291:(pt,Re,g)=>{"use strict";g.d(Re,{X:()=>re});var o=g(5698),r=g(227),B=g(4650),V=g(6698),te=g(4006),P=g(1947),H=g(6188);let re=(()=>{class ve{constructor(oe,pe){this.logger=oe,this.settings=pe,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 N(ve,K){for(let oe in ve)if(ve[oe]!==K[oe])return!1;return!0})(oe,this.connection)||this.settings.setConnection(Object.assign({},this.connection,oe)).catch(pe=>{this.logger.error("Error setting connection parameters",pe)})}static#e=this.\u0275fac=function(pe){return new(pe||ve)(B.Y36(V.ed),B.Y36(r.de))};static#t=this.\u0275cmp=B.Xpm({type:ve,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(pe,ue){1&pe&&(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(de){return ue.ranges.connection=de}),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(de){return ue.ranges.request=de}),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(de){return ue.ranges.reconnect=de}),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(de){return ue.demo=de}),B._uU(35,"Demo Control Unit"),B.qZA()()()()),2&pe&&(B.xp6(12),B.Q6J("ngModel",ue.ranges.connection),B.xp6(8),B.Q6J("ngModel",ue.ranges.request),B.xp6(8),B.Q6J("ngModel",ue.ranges.reconnect),B.xp6(6),B.Q6J("ngModel",ue.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,H.Pi],encapsulation:2})}return ve})()},3256:(pt,Re,g)=>{"use strict";g.d(Re,{p:()=>P});var o=g(4650),r=g(6895),B=g(1947),V=g(6188);function te(H,N){if(1&H&&(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&H){const re=N.$implicit;o.Q6J("href",re.homepage),o.xp6(3),o.Oqu(re.name),o.xp6(2),o.Oqu(re.copyright||re.author),o.xp6(4),o.hij(": ",re.license,"")}}let P=(()=>{class H{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(ve){return new(ve||H)};static#t=this.\u0275cmp=o.Xpm({type:H,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(ve,K){1&ve&&(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&ve&&(o.xp6(9),o.Q6J("ngForOf",K.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 H})()},6928:(pt,Re,g)=>{"use strict";g.d(Re,{B:()=>pe});var o=g(227),r=g(4650),B=g(6698),V=g(1947),te=g(6895),P=g(4006),H=g(6188);function N(ue,ne){if(1&ue){const de=r.EpF();r.TgZ(0,"ion-item",2),r.NdJ("click",function(){r.CHM(de);const ge=r.oxw();return r.KtG(ge.share())}),r.TgZ(1,"ion-label")(2,"span",3),r._uU(3,"Share"),r.qZA(),r._uU(4,"\u2026"),r.qZA()()}}function re(ue){try{return JSON.stringify(ue)}catch{return""+ue}}let ve=(()=>{class ue{constructor(de,W,ge,me){this.app=de,this.logger=W,this.settings=ge,this.controller=me,this.options=new o.Ei,this.share=void 0,de.share&&(this.share=()=>this.doShare())}get debugEnabled(){return this.options.debug}set debugEnabled(de){this.options.debug=de,this.settings.setOptions(this.options),this.dismiss()}ngOnInit(){this.subscription=this.settings.getOptions().subscribe({next:de=>{this.options=de},error:de=>{this.logger.error("Logging settings: ",de)},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(([de,W,ge])=>{const me=this.logger.records.map(Ce=>[Ce.level,Ce.time,Ce.args.map(re).join(" ")].join("\t")).join("\n"),Ue=de+" "+W+" ("+[ge.model,ge.platform,ge.version].join(" ")+")";return this.app.share(Ue,me)}).catch(de=>{this.logger.error("Error sharing log:",de)}).then(()=>{this.dismiss()})}static#e=this.\u0275fac=function(W){return new(W||ue)(r.Y36(B.zi),r.Y36(B.ed),r.Y36(o.de),r.Y36(V.Dh))};static#t=this.\u0275cmp=r.Xpm({type:ue,selectors:[["ng-component"]],decls:9,vars:2,consts:[["translate","",3,"ngModel","ngModelChange"],["button","",3,"click",4,"ngIf"],["button","",3,"click"],["translate",""]],template:function(W,ge){1&W&&(r.TgZ(0,"ion-item-group")(1,"ion-item")(2,"ion-checkbox",0),r.NdJ("ngModelChange",function(Ue){return ge.debugEnabled=Ue}),r._uU(3,"Debug messages"),r.qZA()(),r.YNc(4,N,5,0,"ion-item",1),r.TgZ(5,"ion-item",2),r.NdJ("click",function(){return ge.clear()}),r.TgZ(6,"ion-label")(7,"span",3),r._uU(8,"Clear"),r.qZA()()()()),2&W&&(r.xp6(2),r.Q6J("ngModel",ge.debugEnabled),r.xp6(2),r.Q6J("ngIf",ge.share))},dependencies:[te.O5,P.JJ,P.On,V.nz,V.Ie,V.Ub,V.Q$,V.w,H.Pi],encapsulation:2})}return ue})();function K(ue,ne){if(1&ue&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&ue){const de=ne.$implicit,W=r.oxw(2);r.xp6(1),r.hij(" ",W.stringify(de),"")}}function oe(ue,ne){if(1&ue&&(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,K,2,1,"span",6),r.qZA()()),2&ue){const de=ne.$implicit,W=r.oxw();r.xp6(1),r.Q6J("name",null==W.icons[de.level]?null:W.icons[de.level].name)("ngStyle",null==W.icons[de.level]?null:W.icons[de.level].style),r.xp6(3),r.AsE("",r.xi3(5,5,de.time,"HH:mm:ss"),".",r.xi3(6,8,de.time%1e3,"3.0-0"),":"),r.xp6(3),r.Q6J("ngForOf",de.args)}}let pe=(()=>{class ue{constructor(de,W){this.logger=de,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(de){return this.popover.create({component:ve,event:de}).then(W=>{W.present()})}stringify(de){if("object"!=typeof de||de instanceof Error)return de;try{return JSON.stringify(de,null," ")}catch{return""+de}}static#e=this.\u0275fac=function(W){return new(W||ue)(r.Y36(B.ed),r.Y36(V.Dh))};static#t=this.\u0275cmp=r.Xpm({type:ue,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,ge){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(Ue){return ge.showMenu(Ue)}),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",ge.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,H.Pi,te.JJ,te.uU],encapsulation:2})}return ue})()},6659:(pt,Re,g)=>{"use strict";g.d(Re,{d:()=>ve});var o=g(5698),r=g(4650),B=g(6698),V=g(227),te=g(6188),P=g(6895),H=g(4006),N=g(1947);function re(K,oe){if(1&K){const pe=r.EpF();r.TgZ(0,"ion-item")(1,"ion-input",4),r.NdJ("ngModelChange",function(ne){const W=r.CHM(pe).$implicit,ge=r.oxw();return r.KtG(ge.notifications[W.id].message=ne)}),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 de=r.CHM(pe).$implicit,W=r.oxw();return r.KtG(W.speak(de.id))}),r._UZ(6,"ion-icon",7),r.qZA(),r.TgZ(7,"ion-toggle",8),r.NdJ("ngModelChange",function(ne){const W=r.CHM(pe).$implicit,ge=r.oxw();return r.KtG(ge.notifications[W.id].enabled=ne)}),r.qZA()()()}if(2&K){const pe=oe.$implicit,ue=r.oxw();r.xp6(1),r.s9C("label",r.lcZ(2,4,pe.label)),r.Q6J("ngModel",ue.notifications[pe.id].message)("placeholder",r.lcZ(3,6,"notifications."+pe.id)),r.xp6(6),r.Q6J("ngModel",ue.notifications[pe.id].enabled)}}let ve=(()=>{class K{constructor(pe,ue,ne,de){this.logger=pe,this.settings=ue,this.speech=ne,this.translate=de,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(pe=>{this.notifications=pe}).catch(pe=>{this.logger.error("Error getting notifications",pe)})}ngOnDestroy(){this.settings.setNotifications(this.notifications).catch(pe=>{this.logger.error("Error setting notifications",pe)})}speak(pe){this.getMessage(pe).then(ue=>{this.speech.speak(ue)})}getMessage(pe){return this.notifications[pe]&&this.notifications[pe].message?Promise.resolve(this.notifications[pe].message):this.translate.get("notifications."+pe).toPromise()}static#e=this.\u0275fac=function(ue){return new(ue||K)(r.Y36(B.ed),r.Y36(V.de),r.Y36(B.vA),r.Y36(te.sK))};static#t=this.\u0275cmp=r.Xpm({type:K,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(ue,ne){1&ue&&(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,re,8,8,"ion-item",3),r.qZA()()),2&ue&&(r.xp6(9),r.Q6J("ngForOf",ne.items))},dependencies:[P.sg,H.JJ,H.On,N.YG,N.Sm,N.W2,N.Gu,N.gu,N.pK,N.Ie,N.q_,N.wd,N.ho,N.sr,N.w,N.j9,N.oU,te.Pi,te.X$],encapsulation:2})}return K})()},7075:(pt,Re,g)=>{"use strict";g.r(Re),g.d(Re,{SettingsModule:()=>ue});var o=g(6895),r=g(4006),B=g(6159),V=g(1947),te=g(4466),P=g(6557),H=g(6291),N=g(3256),re=g(6928),ve=g(6659),K=g(7162),oe=g(4650);const pe=[{path:"",component:K.N},{path:"about",component:P.t},{path:"logging",component:re.B},{path:"licenses",component:N.p},{path:"connection",component:H.X},{path:"notifications",component:ve.d}];let ue=(()=>{class ne{static#e=this.\u0275fac=function(ge){return new(ge||ne)};static#t=this.\u0275mod=oe.oAB({type:ne});static#n=this.\u0275inj=oe.cJS({imports:[o.ez,r.u5,V.Pc,B.Bz.forChild(pe),te.m,B.Bz]})}return ne})()},7162:(pt,Re,g)=>{"use strict";g.d(Re,{N:()=>de});var o=g(5861),r=g(6557),B=g(6291),V=g(3256),te=g(6928),P=g(6659),H=g(227),N=g(4650),re=g(6698),ve=g(6188),K=g(6895),oe=g(4006),pe=g(1947),ue=g(6159);function ne(W,ge){if(1&W&&(N.TgZ(0,"ion-select-option",21),N._uU(1),N.qZA()),2&W){const me=ge.$implicit;N.s9C("value",me.identifier),N.xp6(1),N.Oqu(me.name)}}let de=(()=>{class W{constructor(me,Ue,Ce,Fe){this.alert=me,this.settings=Ue,this.speech=Ce,this.translate=Fe,this.aboutPage=r.t,this.connectionPage=B.X,this.licensesPage=V.p,this.loggingPage=te.B,this.notificationsPage=P.d,this.options=new H.Ei,this.voices=[]}ngOnInit(){this.subscription=this.settings.getOptions().subscribe(me=>{this.options=me,this.updateVoices()})}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(){var me=this;return(0,o.Z)(function*(){return yield me.updateVoices(),me.settings.setOptions(me.options)})()}updateVoices(){var me=this;return(0,o.Z)(function*(){me.options.language?(me.voices=yield me.speech.getVoices(me.options.language),me.voices.find(Ue=>Ue.identifier==me.options.voice)||(me.options.voice="")):(me.voices=[],me.options.voice="")})()}updateAndGreet(){var me=this;return(0,o.Z)(function*(){yield me.update();const Ue=me.translate.instant("notifications.greeting");me.speech.speak(Ue)})()}static#e=this.\u0275fac=function(Ue){return new(Ue||W)(N.Y36(re.Pn),N.Y36(H.de),N.Y36(re.vA),N.Y36(ve.sK))};static#t=this.\u0275cmp=N.Xpm({type:W,selectors:[["ng-component"]],decls:60,vars:22,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"],["value","sk"],[3,"label","disabled","ngModel","cancelText","okText","ngModelChange","ionChange"],[3,"value",4,"ngFor","ngForOf"],["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"],[3,"value"]],template:function(Ue,Ce){1&Ue&&(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,"Settings"),N.qZA()()()(),N.TgZ(7,"ion-content")(8,"ion-list",3)(9,"ion-item")(10,"ion-select",4),N.NdJ("ngModelChange",function(Oe){return Ce.options.language=Oe})("ionChange",function(){return Ce.update()}),N.ALo(11,"translate"),N.ALo(12,"translate"),N.ALo(13,"translate"),N.TgZ(14,"ion-select-option",5),N._uU(15,"Default"),N.qZA(),N.TgZ(16,"ion-select-option",6),N._uU(17,"Deutsch"),N.qZA(),N.TgZ(18,"ion-select-option",7),N._uU(19,"English"),N.qZA(),N.TgZ(20,"ion-select-option",8),N._uU(21,"Espa\xf1ol"),N.qZA(),N.TgZ(22,"ion-select-option",9),N._uU(23,"Fran\xe7ais"),N.qZA(),N.TgZ(24,"ion-select-option",10),N._uU(25,"Italiano"),N.qZA(),N.TgZ(26,"ion-select-option",11),N._uU(27,"Slovak"),N.qZA()()(),N.TgZ(28,"ion-item")(29,"ion-select",12),N.NdJ("ngModelChange",function(Oe){return Ce.options.voice=Oe})("ionChange",function(){return Ce.updateAndGreet()}),N.ALo(30,"translate"),N.ALo(31,"translate"),N.ALo(32,"translate"),N.TgZ(33,"ion-select-option",5),N._uU(34,"Default"),N.qZA(),N.YNc(35,ne,2,2,"ion-select-option",13),N.qZA()(),N.TgZ(36,"ion-item",14)(37,"ion-label",2),N._uU(38,"Connection"),N.qZA()(),N.TgZ(39,"ion-item",15)(40,"ion-label",2),N._uU(41,"Notifications"),N.qZA()(),N.TgZ(42,"ion-item",16),N.NdJ("click",function(){return Ce.reset()}),N.TgZ(43,"ion-label",2),N._uU(44,"Reset settings"),N.qZA()(),N.TgZ(45,"ion-list-header")(46,"ion-label",2),N._uU(47,"About"),N.qZA()(),N.TgZ(48,"ion-item",17)(49,"ion-label",2),N._uU(50,"About Open Lap"),N.qZA()(),N.TgZ(51,"ion-item",18)(52,"ion-label",2),N._uU(53,"Privacy policy"),N.qZA()(),N.TgZ(54,"ion-item",19)(55,"ion-label",2),N._uU(56,"Open source licenses"),N.qZA()(),N.TgZ(57,"ion-item",20)(58,"ion-label",2),N._uU(59,"Event log"),N.qZA()()()()),2&Ue&&(N.xp6(10),N.s9C("label",N.lcZ(11,10,"Language")),N.s9C("cancelText",N.lcZ(12,12,"Cancel")),N.s9C("okText",N.lcZ(13,14,"OK")),N.Q6J("ngModel",Ce.options.language),N.xp6(19),N.s9C("label",N.lcZ(30,16,"Voice")),N.s9C("cancelText",N.lcZ(31,18,"Cancel")),N.s9C("okText",N.lcZ(32,20,"OK")),N.Q6J("disabled",!Ce.options.language||Ce.voices.length<2)("ngModel",Ce.options.voice),N.xp6(6),N.Q6J("ngForOf",Ce.voices))},dependencies:[K.sg,oe.JJ,oe.On,pe.Sm,pe.W2,pe.Gu,pe.Ie,pe.Q$,pe.q_,pe.yh,pe.t9,pe.n0,pe.wd,pe.sr,pe.QI,pe.oU,pe.YI,ue.rH,ve.Pi,ve.X$],encapsulation:2})}return W})()},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(N){return new(N||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),H=g(4351),N=g(9300),re=g(4004);class ve{}class K{}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),we=x.toLowerCase(),He=l.slice(y+1).trim();this.maybeSetNormalizedName(x,we),this.headers.has(we)?this.headers.get(we).push(He):this.headers.set(we,[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(we=>we.toString()),x.length>0){const we=l.toLowerCase();this.headers.set(we,x),this.maybeSetNormalizedName(l,we)}})}: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 we=p.value;if(we){let He=this.headers.get(l);if(!He)return;He=He.filter(Pt=>-1===we.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 ue{encodeKey(p){return ge(p)}encodeValue(p){return ge(p)}decodeKey(p){return decodeURIComponent(p)}decodeValue(p){return decodeURIComponent(p)}}const de=/%(\d[a-f0-9])/gi,W={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ge(d){return encodeURIComponent(d).replace(de,(p,l)=>W[l]??p)}function me(d){return`${d}`}class Ue{constructor(p={}){if(this.updates=null,this.cloneFrom=null,this.encoder=p.encoder||new ue,p.fromString){if(p.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ne(d,p){const l=new Map;return d.length>0&&d.replace(/^\?/,"").split("&").forEach(x=>{const we=x.indexOf("="),[He,Pt]=-1==we?[p.decodeKey(x),""]:[p.decodeKey(x.slice(0,we)),p.decodeValue(x.slice(we+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(me):[me(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(we=>{l.push({param:y,value:we,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 Ue({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(me(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(me(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 Fe{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 Ee(d){return typeof ArrayBuffer<"u"&&d instanceof ArrayBuffer}function z(d){return typeof Blob<"u"&&d instanceof Blob}function J(d){return typeof FormData<"u"&&d instanceof FormData}class De{constructor(p,l,y,x){let we;if(this.url=l,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=p.toUpperCase(),function Oe(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,we=x):we=y,we&&(this.reportProgress=!!we.reportProgress,this.withCredentials=!!we.withCredentials,we.responseType&&(this.responseType=we.responseType),we.headers&&(this.headers=we.headers),we.context&&(this.context=we.context),we.params&&(this.params=we.params)),this.headers||(this.headers=new oe),this.context||(this.context=new Fe),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 De(l,y,we,{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 _e=(()=>{class d{constructor(l){this.handler=l}request(l,y,x={}){let we;if(l instanceof De)we=l;else{let nt,Ot;nt=x.headers instanceof oe?x.headers:new oe(x.headers),x.params&&(Ot=x.params instanceof Ue?x.params:new Ue({fromObject:x.params})),we=new De(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)(we).pipe((0,H.b)(nt=>this.handler.handle(nt)));if(l instanceof De||"events"===x.observe)return He;const Pt=He.pipe((0,N.h)(nt=>nt instanceof ke));switch(x.observe||"body"){case"body":switch(we.responseType){case"arraybuffer":return Pt.pipe((0,re.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,re.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,re.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,re.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 Ue).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(ve))},d.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac}),d})();function Y(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,Y)),d(p,l))}let Ye=(()=>{class d extends ve{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,we)=>function L(d,p,l){return(y,x)=>l.runInContext(()=>p(y,we=>d(we,x)))}(x,we,this.injector),Y)}return this.chain(l,y=>this.backend.handle(y))}}return d.\u0275fac=function(l){return new(l||d)(r.LFG(K),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 we=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!==we&&x.upload&&x.upload.addEventListener("progress",Tt)),x.send(we),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!==we&&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 Lt=(()=>{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 cn=(()=>((cn=cn||{})[cn.Interceptors=0]="Interceptors",cn[cn.LegacyInterceptors=1]="LegacyInterceptors",cn[cn.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",cn[cn.NoXsrfProtection=3]="NoXsrfProtection",cn[cn.JsonpSupport=4]="JsonpSupport",cn[cn.RequestsMadeViaParent=5]="RequestsMadeViaParent",cn))();function pn(d,p){return{\u0275kind:d,\u0275providers:p}}function Xn(...d){const p=[_e,en,Ye,{provide:ve,useExisting:Ye},{provide:K,useExisting:en},{provide:se,useValue:Dt,multi:!0},{provide:Xt,useValue:!0},{provide:bn,useClass:Lt}];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(cn.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),Ie=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 we=l();(0,ot.Xf)(d(function Jt(d){return new P.y(p=>d.subscribe(p))}(we))).subscribe(x),x.add(y.subscribe(we))})}function hr(d,p){const l=(0,Ke.m)(d)?d:()=>d;return(0,Ke.m)(p)?Pn(p,{connector:l}):y=>new Ie.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 on=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,we=this.scheduler;return null!=x&&(this.id=this.recycleAsyncId(we,x,l)),this.pending=!0,this.delay=l,this.id=null!==(y=this.id)&&void 0!==y?y:this.requestAsyncId(we,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(we){y=!0,x=we||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,on.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 he=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,he.K)(p)?l=p:y=p),new P.y(x=>{let we=w(d)?+d-l.now():d;we<0&&(we=0);let He=0;return l.schedule(function(){x.closed||(x.next(He++),0<=y?this.schedule(void 0,y):x.complete())},we)})}const G="Service workers are disabled or not supported by this browser";class Me{constructor(p){if(this.serviceWorker=p,p){const y=(0,Pr.R)(p,"controllerchange").pipe((0,re.U)(()=>p.controller)),x=(0,yr.P)(()=>(0,te.of)(p.controller)),we=(0,Fn.z)(x,y);this.worker=we.pipe((0,N.h)(jt=>!!jt)),this.registration=this.worker.pipe((0,$e.w)(()=>p.getRegistration()));const Ot=(0,Pr.R)(p,"message").pipe((0,re.U)(jt=>jt.data)).pipe((0,N.h)(jt=>jt&&jt.type)).pipe(qn());Ot.connect(),this.events=Ot}else this.worker=this.events=this.registration=function ye(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),we=this.postMessage(p,l);return Promise.all([we,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,N.h)(l))}nextEventOfType(p){return this.eventsOfType(p).pipe((0,Sn.q)(1))}waitForOperationCompleted(p){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,N.h)(l=>l.nonce===p),(0,Sn.q)(1),(0,re.U)(l=>{if(void 0!==l.result)return l.result;throw new Error(l.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let Le=(()=>{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,re.U)(x=>x.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,re.U)(x=>x.data)),this.pushManager=this.sw.registration.pipe((0,re.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,"+")),we=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(Me))},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,N.h)(y=>"VERSION_READY"===y.type),(0,re.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(Me))},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,N.h)(l=>l))}function Ae(d,p){return new Me((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:Me,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:[Le,tt]}),d})();var Ne=g(958),xe=g(1947),et=g(3771),mt=g(9509),vt=g(7582),ft=g(7598),Rt=function(d){function p(){return null!==d&&d.apply(this,arguments)||this}return(0,vt.ZT)(p,d),p.prototype.scan=function(l,y){return(0,ft.DM)(this,"scan",{observable:!0},arguments)},p.prototype.startScan=function(l){return(0,ft.DM)(this,"startScan",{observable:!0,clearFunction:"stopScan",clearWithArgs:!1},arguments)},p.prototype.startScanWithOptions=function(l,y){return(0,ft.DM)(this,"startScanWithOptions",{observable:!0,clearFunction:"stopScan",clearWithArgs:!1},arguments)},p.prototype.stopScan=function(){return(0,ft.DM)(this,"stopScan",{},arguments)},p.prototype.setPin=function(l){return(0,ft.DM)(this,"setPin",{observable:!0},arguments)},p.prototype.connect=function(l){return(0,ft.DM)(this,"connect",{observable:!0,clearFunction:"disconnect",clearWithArgs:!0},arguments)},p.prototype.autoConnect=function(l,y,x){return(0,ft.DM)(this,"autoConnect",{sync:!0},arguments)},p.prototype.requestMtu=function(l,y){return(0,ft.DM)(this,"requestMtu",{},arguments)},p.prototype.refreshDeviceCache=function(l,y){return(0,ft.DM)(this,"refreshDeviceCache",{},arguments)},p.prototype.disconnect=function(l){return(0,ft.DM)(this,"disconnect",{},arguments)},p.prototype.read=function(l,y,x){return(0,ft.DM)(this,"read",{},arguments)},p.prototype.write=function(l,y,x,we){return(0,ft.DM)(this,"write",{},arguments)},p.prototype.writeWithoutResponse=function(l,y,x,we){return(0,ft.DM)(this,"writeWithoutResponse",{},arguments)},p.prototype.startNotification=function(l,y,x){return(0,ft.DM)(this,"startNotification",{observable:!0,destruct:!0,clearFunction:"stopNotification",clearWithArgs:!0},arguments)},p.prototype.stopNotification=function(l,y,x){return(0,ft.DM)(this,"stopNotification",{},arguments)},p.prototype.isConnected=function(l){return(0,ft.DM)(this,"isConnected",{},arguments)},p.prototype.isEnabled=function(){return(0,ft.DM)(this,"isEnabled",{},arguments)},p.prototype.startStateNotifications=function(){return(0,ft.DM)(this,"startStateNotifications",{observable:!0,clearFunction:"stopStateNotifications",clearWithArgs:!1},arguments)},p.prototype.stopStateNotifications=function(){return(0,ft.DM)(this,"stopStateNotifications",{},arguments)},p.prototype.startLocationStateNotifications=function(){return(0,ft.DM)(this,"startLocationStateNotifications",{observable:!0,clearFunction:"stopLocationStateNotifications",clearWithArgs:!1},arguments)},p.prototype.stopLocationStateNotifications=function(){return(0,ft.DM)(this,"stopLocationStateNotifications",{},arguments)},p.prototype.showBluetoothSettings=function(){return(0,ft.DM)(this,"showBluetoothSettings",{},arguments)},p.prototype.enable=function(){return(0,ft.DM)(this,"enable",{},arguments)},p.prototype.readRSSI=function(l){return(0,ft.DM)(this,"readRSSI",{},arguments)},p.prototype.connectedPeripheralsWithServices=function(l){return(0,ft.DM)(this,"connectedPeripheralsWithServices",{},arguments)},p.prototype.peripheralsWithIdentifiers=function(l){return(0,ft.DM)(this,"peripheralsWithIdentifiers",{},arguments)},p.prototype.bondedDevices=function(){return(0,ft.DM)(this,"bondedDevices",{},arguments)},p.prototype.isLocationEnabled=function(){return(0,ft.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,vt.gn)([],p)}(ft.On),$t=g(4598),nn=g(9986),sn=g(9102),h=g(5082),Z=g(9062),D=g(694),ce=g(4879),Ve=function(d){function p(){return null!==d&&d.apply(this,arguments)||this}return(0,vt.ZT)(p,d),p.prototype.requestPermission=function(l){return(0,ft.DM)(this,"requestPermission",{successIndex:1,errorIndex:2},arguments)},p.prototype.open=function(l){return(0,ft.DM)(this,"open",{},arguments)},p.prototype.write=function(l){return(0,ft.DM)(this,"write",{},arguments)},p.prototype.writeHex=function(l){return(0,ft.DM)(this,"writeHex",{},arguments)},p.prototype.read=function(){return(0,ft.DM)(this,"read",{},arguments)},p.prototype.registerReadCallback=function(){return(0,ft.DM)(this,"registerReadCallback",{observable:!0},arguments)},p.prototype.close=function(){return(0,ft.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,vt.gn)([],p)}(ft.On),rn=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:we=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,we,()=>{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-we.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 we=>hr(new Mo.t(d,p,y),x)(we)}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 we=0;we!=l.length;++we){const He=l[we];y[we+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,re.U)((x,we)=>(0==we&&this.state.next("connected"),x)));this.data=y.pipe(function Oi(d){return(0,wt.e)((p,l)=>{let y,we,x=!1;const He=()=>{y=p.subscribe((0,Un.x)(l,void 0,void 0,Pt=>{we||(we=new gn.x,(0,ot.Xf)(d(we)).subscribe((0,Un.x)(l,()=>y?He():x=!0))),we&&we.next(Pt)})),x&&(y.unsubscribe(),y=null,x=!1,He())};He()})}(x=>this.doReconnect(x)),(0,zn.b)(()=>{this.poll()}),(0,re.U)(x=>new ur(x)),qn()),this.status=this.data.pipe((0,N.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,re.U)(p=>p.getUint8Array(2,8)))}getStart(){return this.status.pipe((0,re.U)(p=>p.getUint4(10)))}getMode(){return this.status.pipe((0,re.U)(p=>p.getUint4(11)))}getPit(){return this.status.pipe((0,re.U)(p=>p.getUint8(12)))}getTimer(){return this.data.pipe((0,N.h)(p=>p.byteLength>=12&&"?"===p.toString(0,1)&&":"!==p.toString(1,1)),(0,N.h)(p=>{const l=p.toString(1,1);return l>="1"&&l<="8"}),(0,re.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,N.h)(p=>6==p.byteLength&&"0"==p.toString(0,1)),(0,re.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,H.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,we=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!==we&&(this.logger.debug("BLE received "+Ot),we=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)(we=>"cordova"==we?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)(we=>we?(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,we=>{const He=d?d(we):we;x.has(He)||(x.add(He),y.next(we))})),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,N.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,re.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(Ne.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(we=>this.laps.push(this.createLap(we.id,we.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:we=>{x=function R(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(we));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:we=>{this.logger.error("Error reading from serial port",we),y.error(we)}}),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)(we=>l.isAndroid()&&l.isCordova()&&!we.isVirtual&&parseInt(we.version)<12?(0,Er.D)(this.serial.requestPermission().then(()=>!0,()=>!1)):(0,te.of)(!1)),(0,zn.b)(we=>this.logger.info("Serial device "+(we?"":"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(Ve),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 dn(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)),we=x.then(nt=>nt.getCharacteristic("39df9999-b1b4-b90b-57f1-7144ae4e4a6a")),He=nt=>{const Ot=nt.target.value.buffer;if(this.logger.isDebugEnabled()){const jt=dn(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")),we.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)}),()=>{we.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=dn(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(Ne.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,xe.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 we=r.CHM(l).$implicit,He=r.oxw(2);return r.KtG(He.setColor(we))}),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(Ne.X1),r.Y36(xe.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,xe.yp,xe.YG,xe.Sm,xe.wI,xe.W2,xe.fr,xe.jY,xe.Gu,xe.Ie,xe.Q$,xe.I_,xe.Nd,xe.wd,xe.sr,xe.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,we=r.oxw();return r.KtG(we.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 we=r.CHM(l).index,He=r.oxw();return r.KtG(He.chooseColor(we))}),r.TgZ(2,"outline",7),r._uU(3),r.qZA()(),r.TgZ(4,"ion-input",8),r.NdJ("ngModelChange",function(x){const we=r.CHM(l),He=we.$implicit,Pt=we.index,nt=r.oxw();return r.KtG(He.code=nt.getCode(He.name=x,Pt))})("ionChange",function(x){r.CHM(l);const we=r.oxw();return r.KtG(we.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,we,He,Pt){this.app=l,this.logger=y,this.settings=x,this.mc=we,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(),we=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(xe.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,xe.YG,xe.Sm,xe.W2,xe.Gu,xe.gu,xe.pK,xe.Ie,xe.uN,xe.Nh,xe.oz,xe.wd,xe.sr,xe.j9,xe.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 we=l;l=x,y&&p.next([we,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,we=new Array(x);let He=d.map(()=>!1),Pt=!1;for(let nt=0;nt{we[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,...we];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,we){this.alert=l,this.settings=y,this.controller=x,this.options=new tr.Ei,this.params=we.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(xe.Dh),r.Y36(Ne.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,xe.nz,xe.Ie,xe.Ub,xe.Q$,xe.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,N.h)(nt=>0!=nt)),p.getState().pipe((0,N.h)(nt=>"connected"==nt))).pipe((0,re.U)(nt=>{p.setMask(this.mask)})),we=p.getTimer().pipe((0,N.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,re.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,re.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,N.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 we=new Array;for(let He=0;x;++He)1&x&&we.push([He,NaN,0]),x>>>=1;return p.pipe((0,Kr.O)(...we),function Zi(d,p,l,y){return(0,wt.e)((x,we)=>{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(we)},Ot=zt=>nt(Gt=>Gt.error(zt));let jt=0,St=!1;const Tt=new Un.Q(we,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(we.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,re.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,re.U)(nt=>0!=(nt&~this.mask&1<[Ot?nt+1:nt,Ot],[0,!1])),l.pipe((0,re.U)(nt=>nt[He.key]),(0,Dr.x)())),(0,re.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 we=r.CHM(l).$implicit,He=r.oxw();return r.KtG(He.showDetails(we))}),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,we=p.count,He=r.oxw(2);r.Q6J("ngClass",y?"odd":"even")("lap",we-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((we,He)=>{we<(y[He]||1/0)&&(y[He]=we)}),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 we=[l.times[x+1]?.[0]].concat(l.times[x]);y.push(we)}return y}getIntLaps(l){let y={};const x=l.map(we=>[we.id,we.best[0]]).sort((we,He)=>we[1]-He[1]);return x.map(([we,He],Pt)=>[we,Pt?x[Pt-1][1]:He]).forEach(([we,He])=>{y[we]=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(Ne.t4))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["leaderboard"]],viewQuery:function(y,x){if(1&y&&r.Gf(xe.ki,5),2&y){let we;r.iGM(we=r.CRH())&&(x.modal=we.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 X=function(d,p){return{active:d,blink:p}};let Pe=(()=>{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,X,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,re.U)(we=>1==we?5:we>1&&we<7?we-1:0)),this.blink=(0,pi.a)(y,x).pipe((0,re.U)(([we,He])=>we>=8||"connected"!==He)),this.keys=l.getVersion().then(we=>we>="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:[xe.YG,xe.Sm,xe.sr,Pe,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,xe.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,we,He,Pt,nt,Ot){this.cu=l,this.app=y,this.logger=x,this.settings=we,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,N.h)(Tt=>!!Tt),(0,Mt.z)(Tt=>Tt.getMode()),(0,Kr.O)(0),(0,Dr.x)());this.pitlane=St.pipe((0,re.U)(Tt=>0!=(3&Tt))),this.sectors=we.getOptions().pipe((0,re.U)(Tt=>Tt.sectors)),this.start=l.pipe((0,N.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,re.U)(St=>({count:St,total:y.laps})),(0,Kr.O)({count:0,total:y.laps}));const we=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,re.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,re.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,re.U)(St=>St.map(Tt=>({id:Tt.id,finished:Tt.finished}))),xo(),(0,N.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,N.h)(St=>0!=St.length&&"race"==y.mode),(0,re.U)(St=>St[0]),xo(),(0,N.h)(([St,Tt])=>St.id!=Tt.id),(0,re.U)(([St,Tt])=>["newleader",Tt.id])),x.timer.pipe((0,N.h)(St=>y.time>=12e4&&St<=6e4&&!x.finished.value),(0,Sn.q)(1),(0,re.U)(()=>["oneminute",null])),x.timer.pipe((0,re.U)(St=>[St,x.finished.value]),xo(),(0,re.U)(([St,Tt])=>[Tt[0],St[1]]),(0,N.h)(([St,Tt])=>0==St&&!Tt),(0,Sn.q)(1),(0,re.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,we=>(y||(y=!d(we,x++)))&&l.next(we)))})}(St=>!St),(0,re.U)(St=>[St?"yellowflag":"greenflag",null])),x.allFinished.pipe((0,N.h)(St=>St),(0,Sn.q)(1),(0,re.U)(()=>["alldone",null])),this.lapcount.pipe((0,N.h)(St=>y.laps>=10&&St.count===y.laps-4&&!x.finished.value),(0,Sn.q)(1),(0,re.U)(()=>["fivelaps",null])),this.lapcount.pipe((0,N.h)(St=>y.laps&&St.count===y.laps&&!x.finished.value),(0,Sn.q)(1),(0,re.U)(()=>["finallap",null])),this.start.pipe((0,Dr.x)(),(0,N.h)(St=>9===St),(0,re.U)(()=>["falsestart",null]))).pipe(_o(we),(0,re.U)(([[St,Tt],Ht])=>[St,null!==Tt?Ht[Tt]:null])),nt=this.settings.getOptions().pipe((0,re.U)(St=>St.fixedorder?"number":"position")),Ot=[],jt=[];return this.items=(0,pi.a)([x.ranking,we,nt]).pipe((0,re.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,N.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,N.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(xe.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 we=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",we),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,xe.YG,xe.Sm,xe.W2,xe.fr,xe.Gu,xe.gu,xe.fG,xe.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 we=r.oxw();return r.KtG(we.onLapsInput(x))})("ionChange",function(x){r.CHM(l);const we=r.oxw();return r.KtG(we.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+/,""),we=x.substring(x.length-2).padStart(2,"0"),Pt=x.substring(0,x.length-2).padStart(1,"0")+":"+we;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(Ne.X1),r.Y36(xe.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 we;r.iGM(we=r.CRH())&&(x.timeInput=we.first),r.iGM(we=r.CRH())&&(x.lapsInput=we.first),r.iGM(we=r.CRH())&&(x.pauseToggle=we.first),r.iGM(we=r.CRH())&&(x.slotmodeToggle=we.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,xe.YG,xe.Sm,xe.W2,xe.Gu,xe.gu,xe.pK,xe.Ie,xe.q_,xe.t9,xe.n0,xe.wd,xe.ho,xe.sr,xe.w,xe.QI,xe.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 F(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,F,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 Nt(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 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[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,Nt,2,4,"ng-template",8),r.YNc(7,kt,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,xe.Pc,io.m]})}return d})();r.B6R(T,[V.mk,V.sg,xe.YG,xe.Sm,xe.W2,xe.Gu,xe.gu,xe.wd,xe.sr,xe.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,xe.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,xe.Pc,wd,vc,io.m]})}return d})(),Zs=(()=>{class d{constructor(l,y,x,we){this.logger=l,this.settings=y,this.controller=x,this.options=new tr.Ei,this.params=we.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(xe.Dh),r.Y36(Ne.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,xe.nz,xe.Ie,xe.Ub,xe.Q$,xe.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 we=r.oxw(2).$implicit,He=r.oxw(2);return r.KtG(He.update("speed",x,He.locked?void 0:we.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 we=r.oxw(2).$implicit,He=r.oxw(2);return r.KtG(He.update("brake",x,He.locked?void 0:we.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 we=r.oxw(2).$implicit,He=r.oxw(2);return r.KtG(He.update("fuel",x,He.locked?void 0:we.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 we=r.oxw(2).$implicit,He=r.oxw(2);return r.KtG(He.updateCU("speed",x,He.locked?void 0:we.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 we=r.oxw(2).$implicit,He=r.oxw(2);return r.KtG(He.updateCU("brake",x,He.locked?void 0:we.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 we=r.oxw(2).$implicit,He=r.oxw(2);return r.KtG(He.updateCU("fuel",x,He.locked?void 0:we.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 we;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==(we=r.lcZ(8,10,x.options))?null:we.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,we,He,Pt){this.logger=l,this.cu=y,this.popover=x,this.ref=we,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,N.h)(nt=>!!nt),(0,$e.w)(nt=>nt.getState()),(0,re.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,we=null,He=null;const Pt=()=>{if(x){x.unsubscribe(),x=null;const Ot=we;we=null,y.next(Ot)}};function nt(){const Ot=He+d,jt=p.now();if(jt{we=Ot,He=p.now(),x||(x=p.schedule(nt,d),y.add(x))},()=>{Pt(),y.complete()},void 0,()=>{we=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 we=y.detail.value;this.logger.debug("Set",l,"to",we,"for",x);for(let He of void 0!==x?[this.models[x]]:this.models)He[l]=we;this.subject.next({id:x,type:l}),this.ref.detectChanges()}updateCU(l,y,x){let we=y.detail.value;switch(l){case"speed":we=this.fromCU.speed[y.detail.value];break;case"brake":we=this.fromCU.brake[y.detail.value];break;case"fuel":we=this.fromCU.fuel[y.detail.value]}this.logger.debug("Set",l,"to",we,"for",x);for(let He of void 0!==x?[this.models[x]]:this.models)He[l]=we;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(xe.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,xe.yp,xe.YG,xe.Sm,xe.W2,xe.Gu,xe.gu,xe.Ie,xe.Q$,xe.I_,xe.cJ,xe.GO,xe.wd,xe.sr,xe.QI,xe.j9,xe.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,xe.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,xe.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,we=r.oxw();return r.KtG(we.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,we,He){this.backends=l,this.logger=y,this.platform=x,this.settings=we,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,N.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(Ne.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,xe.Ie,xe.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,we,He,Pt){this.app=l,this.logger=y,this.settings=x,this.alert=we,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(xe.IN),r.Y36(Ne.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 we;r.iGM(we=r.CRH())&&(x.connections=we.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,xe.W2,xe.gu,xe.Ie,xe.Ub,xe.Q$,xe.q_,xe.z0,xe.zc,xe.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,we,He,Pt,nt,Ot,jt,St){this.app=l,this.cu=y,this.backends=x,this.alert=we,this.logger=He,this.settings=Pt,this.speech=nt,this.toast=Ot,this.translate=jt,this.updates=St,this.stateSubscription=new _r.w0,window.screen&&(window.screen.orientation.addEventListener("change",()=>{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),this.speech.setVoice(l.voice)})}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(we=>{this.logger.error("Error showing toast",we)})}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(we=>this.showConnectionToast(we,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:[xe.dr,xe.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,mt.b,Rt,$t.A,nn.s,Ve,sn.e,h.c,Z.A,D.E,ce.F,{provide:jn.wN,useClass:Ne.r4},{provide:r.qLn,useClass:El},{provide:lt,useFactory:wl,deps:[Ne.t4]}],imports:[o.b2,Kn,xe.Pc.forRoot(),rn.Fw.forRoot(),qt.aw.forRoot({loader:{provide:qt.Zw,useFactory:xc,deps:[_e]}}),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(N){return Re.result?Re.result:N&&"function"==typeof N.getSerializer?Re.result=N.getSerializer():Promise.reject(new Error("localforage.getSerializer() was not available! localforage v1.4+ is required!"))}function g(N,re){return(g.result=g.result||{})[re]?g.result[re]:N&&"function"==typeof N.getDriver?g.result[re]=N.getDriver(re):Promise.reject(new Error("localforage.getDriver() was not available! localforage v1.4+ is required!"))}function o(N){return g(N,N.WEBSQL)}var B=new Promise(function(N,re){typeof sqlitePlugin<"u"?N():typeof cordova>"u"?re(new Error("cordova is not defined.")):document.addEventListener("deviceready",function(){return N()},!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(N){var re=this,ve={db:null};if(N)for(var K in N)ve[K]="string"!=typeof N[K]?N[K].toString():N[K];var oe=V().then(function(ne){return new Promise(function(de,W){try{ve.location=ve.location||"default",ve.db=ne({name:ve.name,version:String(ve.version),description:ve.description,size:ve.size,key:ve.dbKey,location:ve.location})}catch(ge){W(ge)}ve.db.transaction(function(ge){ge.executeSql("CREATE TABLE IF NOT EXISTS "+ve.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],function(){re._dbInfo=ve,de()},function(me,Ue){W(Ue)})})})}),pe=Re(re),ue=o(re);return Promise.all([pe,ue,oe]).then(function(ne){return ve.serializer=ne[0],oe})},_support:function(){return V().then(function(re){return!!re}).catch(function(){return!1})}};return function H(N){var re=["clear","getItem","iterate","key","keys","length","removeItem","setItem"];function ve(pe,ue){pe[ue]=function(){var ne=this,de=arguments;return o(ne).then(function(W){return W[ue].apply(ne,de)})}}for(var K=0,oe=re.length;K{pt.exports=function r(B,V,te){function P(re,ve){if(!V[re]){if(!B[re]){if(H)return H(re,!0);var oe=new Error("Cannot find module '"+re+"'");throw oe.code="MODULE_NOT_FOUND",oe}var pe=V[re]={exports:{}};B[re][0].call(pe.exports,function(ue){return P(B[re][1][ue]||ue)},pe,pe.exports,r,B,V,te)}return V[re].exports}for(var H=void 0,N=0;N"u"&&r(3);var K=Promise;function oe(w,I){I&&w.then(function(A){I(null,A)},function(A){I(A)})}function pe(w,I,A){"function"==typeof I&&w.then(I),"function"==typeof A&&w.catch(A)}function ue(w){return"string"!=typeof w&&(console.warn(w+" used as a key, but it is not a string."),w=String(w)),w}function ne(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var de="local-forage-detect-blob-support",W=void 0,ge={},me=Object.prototype.toString,Ue="readonly",Ce="readwrite";function Fe(w){for(var I=w.length,A=new ArrayBuffer(I),G=new Uint8Array(A),ye=0;ye=43)}}).catch(function(){return!1})}(w).then(function(I){return W=I})}function z(w){var I=ge[w.name],A={};A.promise=new K(function(G,ye){A.resolve=G,A.reject=ye}),I.deferredOperations.push(A),I.dbReady=I.dbReady?I.dbReady.then(function(){return A.promise}):A.promise}function J(w){var A=ge[w.name].deferredOperations.pop();if(A)return A.resolve(),A.promise}function be(w,I){var G=ge[w.name].deferredOperations.pop();if(G)return G.reject(I),G.promise}function De(w,I){return new K(function(A,G){if(ge[w.name]=ge[w.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},w.db){if(!I)return A(w.db);z(w),w.db.close()}var ye=[w.name];I&&ye.push(w.version);var Me=N.open.apply(N,ye);I&&(Me.onupgradeneeded=function(Le){var tt=Me.result;try{tt.createObjectStore(w.storeName),Le.oldVersion<=1&&tt.createObjectStore(de)}catch(lt){if("ConstraintError"!==lt.name)throw lt;console.warn('The database "'+w.name+'" has been upgraded from version '+Le.oldVersion+" to version "+Le.newVersion+', but the storage "'+w.storeName+'" already exists.')}}),Me.onerror=function(Le){Le.preventDefault(),G(Me.error)},Me.onsuccess=function(){A(Me.result),J(w)}})}function Te(w){return De(w,!1)}function Be(w){return De(w,!0)}function ie(w,I){if(!w.db)return!0;var A=!w.db.objectStoreNames.contains(w.storeName),ye=w.version>w.db.version;if(w.versionw.version&&(w.version=Me)}return!0}return!1}function We(w){return ve([Fe(atob(w.data))],{type:w.type})}function st(w){return w&&w.__local_forage_encoded_blob}function _e(w){var I=this,A=I._initReady().then(function(){var G=ge[I._dbInfo.name];if(G&&G.dbReady)return G.dbReady});return pe(A,w,w),A}function C(w,I,A,G){void 0===G&&(G=1);try{var ye=w.db.transaction(w.storeName,I);A(null,ye)}catch(Me){if(G>0&&(!w.db||"InvalidStateError"===Me.name||"NotFoundError"===Me.name))return K.resolve().then(function(){if(!w.db||"NotFoundError"===Me.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 Y(w){z(w);for(var I=ge[w.name],A=I.forages,G=0;G>4,S[ye++]=(15&Le)<<4|tt>>2,S[ye++]=(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 fn(w,I){var A="";if(w&&(A=Xn.call(w)),w&&("[object ArrayBuffer]"===A||w.buffer&&"[object ArrayBuffer]"===Xn.call(w.buffer))){var G,ye=Zt;w instanceof ArrayBuffer?(G=w,ye+=en):(G=w.buffer,"[object Int8Array]"===A?ye+=Mn:"[object Uint8Array]"===A?ye+=On:"[object Uint8ClampedArray]"===A?ye+=sr:"[object Int16Array]"===A?ye+=_n:"[object Uint16Array]"===A?ye+=Lt:"[object Int32Array]"===A?ye+=bn:"[object Uint32Array]"===A?ye+=Dt:"[object Float32Array]"===A?ye+=Qn:"[object Float64Array]"===A?ye+=cn:I(new Error("Failed to get type for BinaryArray"))),I(ye+ar(G))}else if("[object Blob]"===A){var Me=new FileReader;Me.onload=function(){var Le=Ft+w.type+"~"+ar(this.result);I(Zt+Xt+Le)},Me.readAsArrayBuffer(w)}else try{I(JSON.stringify(w))}catch(Le){console.error("Couldn't convert value into a JSON string: ",w),I(null,Le)}},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 ye=I.match(Yt);G=ye[1],I=I.substring(ye[0].length)}var Me=An(I);switch(A){case en:return Me;case Xt:return ve([Me],{type:G});case Mn:return new Int8Array(Me);case On:return new Uint8Array(Me);case sr:return new Uint8ClampedArray(Me);case _n:return new Int16Array(Me);case Lt:return new Uint16Array(Me);case bn:return new Int32Array(Me);case Dt:return new Uint32Array(Me);case Qn:return new Float32Array(Me);case cn:return new Float64Array(Me);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,ye,Me){w.executeSql(A,G,ye,function(Le,tt){tt.code===tt.SYNTAX_ERR?Le.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[name],function(lt,bt){bt.rows.length?Me(lt,tt):dr(lt,I,function(){lt.executeSql(A,G,ye,Me)},Me)},Me):Me(Le,tt)},Me)}function vr(w,I,A,G){var ye=this;w=ue(w);var Me=new K(function(Le,tt){ye.ready().then(function(){void 0===I&&(I=null);var lt=I,bt=ye._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(){Le(lt)},function(Ae,ze){tt(ze)})},function(fe){if(fe.code===fe.QUOTA_ERR){if(G>0)return void Le(vr.apply(ye,[w,lt,A,G-1]));tt(fe)}})})}).catch(tt)});return oe(Me,A),Me}var tn={_driver:"webSQLStorage",_initStorage:function hn(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 ye=new K(function(Me,Le){try{A.db=openDatabase(A.name,String(A.version),A.description,A.size)}catch(tt){return Le(tt)}A.db.transaction(function(tt){dr(tt,A,function(){I._dbInfo=A,Me()},function(lt,bt){Le(bt)})},Le)});return A.serializer=Qt,ye},_support:function Xe(){return"function"==typeof openDatabase}(),iterate:function cr(w,I){var A=this,G=new K(function(ye,Me){A.ready().then(function(){var Le=A._dbInfo;Le.db.transaction(function(tt){Hn(tt,Le,"SELECT * FROM "+Le.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=Le.serializer.deserialize(ze)),void 0!==(ze=w(ze,Ae.key,fe+1)))return void ye(ze)}ye()},function(lt,bt){Me(bt)})})}).catch(Me)});return oe(G,I),G},getItem:function Kn(w,I){var A=this;w=ue(w);var G=new K(function(ye,Me){A.ready().then(function(){var Le=A._dbInfo;Le.db.transaction(function(tt){Hn(tt,Le,"SELECT * FROM "+Le.storeName+" WHERE key = ? LIMIT 1",[w],function(lt,bt){var S=bt.rows.length?bt.rows.item(0).value:null;S&&(S=Le.serializer.deserialize(S)),ye(S)},function(lt,bt){Me(bt)})})}).catch(Me)});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=ue(w);var G=new K(function(ye,Me){A.ready().then(function(){var Le=A._dbInfo;Le.db.transaction(function(tt){Hn(tt,Le,"DELETE FROM "+Le.storeName+" WHERE key = ?",[w],function(){ye()},function(lt,bt){Me(bt)})})}).catch(Me)});return oe(G,I),G},clear:function fr(w){var I=this,A=new K(function(G,ye){I.ready().then(function(){var Me=I._dbInfo;Me.db.transaction(function(Le){Hn(Le,Me,"DELETE FROM "+Me.storeName,[],function(){G()},function(tt,lt){ye(lt)})})}).catch(ye)});return oe(A,w),A},length:function Pr(w){var I=this,A=new K(function(G,ye){I.ready().then(function(){var Me=I._dbInfo;Me.db.transaction(function(Le){Hn(Le,Me,"SELECT COUNT(key) as c FROM "+Me.storeName,[],function(tt,lt){var bt=lt.rows.item(0).c;G(bt)},function(tt,lt){ye(lt)})})}).catch(ye)});return oe(A,w),A},key:function Fn(w,I){var A=this,G=new K(function(ye,Me){A.ready().then(function(){var Le=A._dbInfo;Le.db.transaction(function(tt){Hn(tt,Le,"SELECT key FROM "+Le.storeName+" WHERE id = ? LIMIT 1",[w+1],function(lt,bt){var S=bt.rows.length?bt.rows.item(0).key:null;ye(S)},function(lt,bt){Me(bt)})})}).catch(Me)});return oe(G,I),G},keys:function gn(w){var I=this,A=new K(function(G,ye){I.ready().then(function(){var Me=I._dbInfo;Me.db.transaction(function(Le){Hn(Le,Me,"SELECT key FROM "+Me.storeName,[],function(tt,lt){for(var bt=[],S=0;S '__WebKitDatabaseInfoTable__'",[],function(ye,Me){for(var Le=[],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,K.resolve()):K.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 ye=A._dbInfo,Me=ye.keyPrefix,Le=Me.length,tt=localStorage.length,lt=1,bt=0;bt=0;ye--){var Me=localStorage.key(ye);0===Me.indexOf(G)&&localStorage.removeItem(Me)}});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 Me,ye=A._dbInfo;try{Me=localStorage.key(w)}catch{Me=null}return Me&&(Me=Me.substring(ye.keyPrefix.length)),Me});return oe(G,I),G},keys:function hr(w){var I=this,A=I.ready().then(function(){for(var G=I._dbInfo,ye=localStorage.length,Me=[],Le=0;Le=0;Le--){var tt=localStorage.key(Le);0===tt.indexOf(Me)&&localStorage.removeItem(tt)}}):K.reject("Invalid arguments"),I),ye}},Ln=function(I,A){return I===A||"number"==typeof I&&"number"==typeof A&&isNaN(I)&&isNaN(A)},on=function(I,A){for(var G=I.length,ye=0;ye"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,ye){var Me=new K(function(Le,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:()=>N});var o=g(930),r=g(727),B=g(8822),V=g(9635),te=g(2416),P=g(576),H=g(2806);let N=(()=>{class oe{constructor(ue){ue&&(this._subscribe=ue)}lift(ue){const ne=new oe;return ne.source=this,ne.operator=ue,ne}subscribe(ue,ne,de){const W=function K(oe){return oe&&oe instanceof o.Lv||function ve(oe){return oe&&(0,P.m)(oe.next)&&(0,P.m)(oe.error)&&(0,P.m)(oe.complete)}(oe)&&(0,r.Nn)(oe)}(ue)?ue:new o.Hp(ue,ne,de);return(0,H.x)(()=>{const{operator:ge,source:me}=this;W.add(ge?ge.call(W,me):me?this._subscribe(W):this._trySubscribe(W))}),W}_trySubscribe(ue){try{return this._subscribe(ue)}catch(ne){ue.error(ne)}}forEach(ue,ne){return new(ne=re(ne))((de,W)=>{const ge=new o.Hp({next:me=>{try{ue(me)}catch(Ue){W(Ue),ge.unsubscribe()}},error:W,complete:de});this.subscribe(ge)})}_subscribe(ue){var ne;return null===(ne=this.source)||void 0===ne?void 0:ne.subscribe(ue)}[B.L](){return this}pipe(...ue){return(0,V.U)(ue)(this)}toPromise(ue){return new(ue=re(ue))((ne,de)=>{let W;this.subscribe(ge=>W=ge,ge=>de(ge),()=>ne(W))})}}return oe.create=pe=>new oe(pe),oe})();function re(oe){var pe;return null!==(pe=oe??te.v.Promise)&&void 0!==pe?pe: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,H=r.l){super(),this._bufferSize=te,this._windowTime=P,this._timestampProvider=H,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:H,_infiniteTimeWindow:N,_timestampProvider:re,_windowTime:ve}=this;P||(H.push(te),!N&&H.push(re.now()+ve)),this._trimBuffer(),super.next(te)}_subscribe(te){this._throwIfClosed(),this._trimBuffer();const P=this._innerSubscribe(te),{_infiniteTimeWindow:H,_buffer:N}=this,re=N.slice();for(let ve=0;ve{"use strict";g.d(Re,{x:()=>H});var o=g(9751),r=g(727);const V=(0,g(3888).d)(re=>function(){re(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var te=g(8737),P=g(2806);let H=(()=>{class re extends o.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(K){const oe=new N(this,this);return oe.operator=K,oe}_throwIfClosed(){if(this.closed)throw new V}next(K){(0,P.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const oe of this.currentObservers)oe.next(K)}})}error(K){(0,P.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=K;const{observers:oe}=this;for(;oe.length;)oe.shift().error(K)}})}complete(){(0,P.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:K}=this;for(;K.length;)K.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var K;return(null===(K=this.observers)||void 0===K?void 0:K.length)>0}_trySubscribe(K){return this._throwIfClosed(),super._trySubscribe(K)}_subscribe(K){return this._throwIfClosed(),this._checkFinalizedStatuses(K),this._innerSubscribe(K)}_innerSubscribe(K){const{hasError:oe,isStopped:pe,observers:ue}=this;return oe||pe?r.Lc:(this.currentObservers=null,ue.push(K),new r.w0(()=>{this.currentObservers=null,(0,te.P)(ue,K)}))}_checkFinalizedStatuses(K){const{hasError:oe,thrownError:pe,isStopped:ue}=this;oe?K.error(pe):ue&&K.complete()}asObservable(){const K=new o.y;return K.source=this,K}}return re.create=(ve,K)=>new N(ve,K),re})();class N extends H{constructor(ve,K){super(),this.destination=ve,this.source=K}next(ve){var K,oe;null===(oe=null===(K=this.destination)||void 0===K?void 0:K.next)||void 0===oe||oe.call(K,ve)}error(ve){var K,oe;null===(oe=null===(K=this.destination)||void 0===K?void 0:K.error)||void 0===oe||oe.call(K,ve)}complete(){var ve,K;null===(K=null===(ve=this.destination)||void 0===ve?void 0:ve.complete)||void 0===K||K.call(ve)}_subscribe(ve){var K,oe;return null!==(oe=null===(K=this.source)||void 0===K?void 0:K.subscribe(ve))&&void 0!==oe?oe:r.Lc}}},930:(pt,Re,g)=>{"use strict";g.d(Re,{Hp:()=>de,Lv:()=>oe});var o=g(576),r=g(727),B=g(2416),V=g(7849),te=g(5032);const P=re("C",void 0,void 0);function re(Ce,Fe,Oe){return{kind:Ce,value:Fe,error:Oe}}var ve=g(3410),K=g(2806);class oe extends r.w0{constructor(Fe){super(),this.isStopped=!1,Fe?(this.destination=Fe,(0,r.Nn)(Fe)&&Fe.add(this)):this.destination=Ue}static create(Fe,Oe,Ee){return new de(Fe,Oe,Ee)}next(Fe){this.isStopped?me(function N(Ce){return re("N",Ce,void 0)}(Fe),this):this._next(Fe)}error(Fe){this.isStopped?me(function H(Ce){return re("E",void 0,Ce)}(Fe),this):(this.isStopped=!0,this._error(Fe))}complete(){this.isStopped?me(P,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Fe){this.destination.next(Fe)}_error(Fe){try{this.destination.error(Fe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const pe=Function.prototype.bind;function ue(Ce,Fe){return pe.call(Ce,Fe)}class ne{constructor(Fe){this.partialObserver=Fe}next(Fe){const{partialObserver:Oe}=this;if(Oe.next)try{Oe.next(Fe)}catch(Ee){W(Ee)}}error(Fe){const{partialObserver:Oe}=this;if(Oe.error)try{Oe.error(Fe)}catch(Ee){W(Ee)}else W(Fe)}complete(){const{partialObserver:Fe}=this;if(Fe.complete)try{Fe.complete()}catch(Oe){W(Oe)}}}class de extends oe{constructor(Fe,Oe,Ee){let z;if(super(),(0,o.m)(Fe)||!Fe)z={next:Fe??void 0,error:Oe??void 0,complete:Ee??void 0};else{let J;this&&B.v.useDeprecatedNextContext?(J=Object.create(Fe),J.unsubscribe=()=>this.unsubscribe(),z={next:Fe.next&&ue(Fe.next,J),error:Fe.error&&ue(Fe.error,J),complete:Fe.complete&&ue(Fe.complete,J)}):z=Fe}this.destination=new ne(z)}}function W(Ce){B.v.useDeprecatedSynchronousErrorHandling?(0,K.O)(Ce):(0,V.h)(Ce)}function me(Ce,Fe){const{onStoppedNotification:Oe}=B.v;Oe&&ve.z.setTimeout(()=>Oe(Ce,Fe))}const Ue={closed:!0,next:te.Z,error:function ge(Ce){throw Ce},complete:te.Z}},727:(pt,Re,g)=>{"use strict";g.d(Re,{Lc:()=>P,w0:()=>te,Nn:()=>H});var o=g(576);const B=(0,g(3888).d)(re=>function(K){re(this),this.message=K?`${K.length} errors occurred during unsubscription:\n${K.map((oe,pe)=>`${pe+1}) ${oe.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=K});var V=g(8737);class te{constructor(ve){this.initialTeardown=ve,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ve;if(!this.closed){this.closed=!0;const{_parentage:K}=this;if(K)if(this._parentage=null,Array.isArray(K))for(const ue of K)ue.remove(this);else K.remove(this);const{initialTeardown:oe}=this;if((0,o.m)(oe))try{oe()}catch(ue){ve=ue instanceof B?ue.errors:[ue]}const{_finalizers:pe}=this;if(pe){this._finalizers=null;for(const ue of pe)try{N(ue)}catch(ne){ve=ve??[],ne instanceof B?ve=[...ve,...ne.errors]:ve.push(ne)}}if(ve)throw new B(ve)}}add(ve){var K;if(ve&&ve!==this)if(this.closed)N(ve);else{if(ve instanceof te){if(ve.closed||ve._hasParent(this))return;ve._addParent(this)}(this._finalizers=null!==(K=this._finalizers)&&void 0!==K?K:[]).push(ve)}}_hasParent(ve){const{_parentage:K}=this;return K===ve||Array.isArray(K)&&K.includes(ve)}_addParent(ve){const{_parentage:K}=this;this._parentage=Array.isArray(K)?(K.push(ve),K):K?[K,ve]:ve}_removeParent(ve){const{_parentage:K}=this;K===ve?this._parentage=null:Array.isArray(K)&&(0,V.P)(K,ve)}remove(ve){const{_finalizers:K}=this;K&&(0,V.P)(K,ve),ve instanceof te&&ve._removeParent(this)}}te.EMPTY=(()=>{const re=new te;return re.closed=!0,re})();const P=te.EMPTY;function H(re){return re instanceof te||re&&"closed"in re&&(0,o.m)(re.remove)&&(0,o.m)(re.add)&&(0,o.m)(re.unsubscribe)}function N(re){(0,o.m)(re)?re():re.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(N,re){super(),this.source=N,this.subjectFactory=re,this._subject=null,this._refCount=0,this._connection=null,(0,te.A)(N)&&(this.lift=N.lift)}_subscribe(N){return this.getSubject().subscribe(N)}getSubject(){const N=this._subject;return(!N||N.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:N}=this;this._subject=this._connection=null,N?.unsubscribe()}connect(){let N=this._connection;if(!N){N=this._connection=new r.w0;const re=this.getSubject();N.add(this.source.subscribe((0,V.x)(re,void 0,()=>{this._teardown(),re.complete()},ve=>{this._teardown(),re.error(ve)},()=>this._teardown()))),N.closed&&(this._connection=null,N=r.w0.EMPTY)}return N}refCount(){return(0,B.x)()(this)}}},9841:(pt,Re,g)=>{"use strict";g.d(Re,{a:()=>ve,l:()=>K});var o=g(9751),r=g(4742),B=g(2076),V=g(4671),te=g(3268),P=g(3269),H=g(1810),N=g(5403),re=g(9672);function ve(...pe){const ue=(0,P.yG)(pe),ne=(0,P.jO)(pe),{args:de,keys:W}=(0,r.D)(pe);if(0===de.length)return(0,B.D)([],ue);const ge=new o.y(K(de,ue,W?me=>(0,H.n)(W,me):V.y));return ne?ge.pipe((0,te.Z)(ne)):ge}function K(pe,ue,ne=V.y){return de=>{oe(ue,()=>{const{length:W}=pe,ge=new Array(W);let me=W,Ue=W;for(let Ce=0;Ce{const Fe=(0,B.D)(pe[Ce],ue);let Oe=!1;Fe.subscribe((0,N.x)(de,Ee=>{ge[Ce]=Ee,Oe||(Oe=!0,Ue--),Ue||de.next(ne(ge.slice()))},()=>{--me||de.complete()}))},de)},de)}}function oe(pe,ue,ne){pe?(0,re.f)(ne,pe,ue):ue()}},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:()=>N});var o=g(9751),r=g(4742),B=g(8421),V=g(3269),te=g(5403),P=g(3268),H=g(1810);function N(...re){const ve=(0,V.jO)(re),{args:K,keys:oe}=(0,r.D)(re),pe=new o.y(ue=>{const{length:ne}=K;if(!ne)return void ue.complete();const de=new Array(ne);let W=ne,ge=ne;for(let me=0;me{Ue||(Ue=!0,ge--),de[me]=Ce},()=>W--,void 0,()=>{(!W||!Ue)&&(ge||ue.next(oe?(0,H.n)(oe,de):de),ue.complete())}))}});return ve?pe.pipe((0,P.Z)(ve)):pe}},2076:(pt,Re,g)=>{"use strict";g.d(Re,{D:()=>Ee});var o=g(8421),r=g(9672),B=g(4482),V=g(5403);function te(z,J=0){return(0,B.e)((be,De)=>{be.subscribe((0,V.x)(De,Te=>(0,r.f)(De,z,()=>De.next(Te),J),()=>(0,r.f)(De,z,()=>De.complete(),J),Te=>(0,r.f)(De,z,()=>De.error(Te),J)))})}function P(z,J=0){return(0,B.e)((be,De)=>{De.add(z.schedule(()=>be.subscribe(De),J))})}var re=g(9751),K=g(2202),oe=g(576);function ue(z,J){if(!z)throw new Error("Iterable cannot be null");return new re.y(be=>{(0,r.f)(be,J,()=>{const De=z[Symbol.asyncIterator]();(0,r.f)(be,J,()=>{De.next().then(Te=>{Te.done?be.complete():be.next(Te.value)})},0,!0)})})}var ne=g(3670),de=g(8239),W=g(1144),ge=g(6495),me=g(2206),Ue=g(4532),Ce=g(3260);function Ee(z,J){return J?function Oe(z,J){if(null!=z){if((0,ne.c)(z))return function H(z,J){return(0,o.Xf)(z).pipe(P(J),te(J))}(z,J);if((0,W.z)(z))return function ve(z,J){return new re.y(be=>{let De=0;return J.schedule(function(){De===z.length?be.complete():(be.next(z[De++]),be.closed||this.schedule())})})}(z,J);if((0,de.t)(z))return function N(z,J){return(0,o.Xf)(z).pipe(P(J),te(J))}(z,J);if((0,me.D)(z))return ue(z,J);if((0,ge.T)(z))return function pe(z,J){return new re.y(be=>{let De;return(0,r.f)(be,J,()=>{De=z[K.h](),(0,r.f)(be,J,()=>{let Te,Be;try{({value:Te,done:Be}=De.next())}catch(ie){return void be.error(ie)}Be?be.complete():be.next(Te)},0,!0)}),()=>(0,oe.m)(De?.return)&&De.return()})}(z,J);if((0,Ce.L)(z))return function Fe(z,J){return ue((0,Ce.Q)(z),J)}(z,J)}throw(0,Ue.z)(z)}(z,J):(0,o.Xf)(z)}},4968:(pt,Re,g)=>{"use strict";g.d(Re,{R:()=>ve});var o=g(8421),r=g(9751),B=g(5577),V=g(1144),te=g(576),P=g(3268);const H=["addListener","removeListener"],N=["addEventListener","removeEventListener"],re=["on","off"];function ve(ne,de,W,ge){if((0,te.m)(W)&&(ge=W,W=void 0),ge)return ve(ne,de,W).pipe((0,P.Z)(ge));const[me,Ue]=function ue(ne){return(0,te.m)(ne.addEventListener)&&(0,te.m)(ne.removeEventListener)}(ne)?N.map(Ce=>Fe=>ne[Ce](de,Fe,W)):function oe(ne){return(0,te.m)(ne.addListener)&&(0,te.m)(ne.removeListener)}(ne)?H.map(K(ne,de)):function pe(ne){return(0,te.m)(ne.on)&&(0,te.m)(ne.off)}(ne)?re.map(K(ne,de)):[];if(!me&&(0,V.z)(ne))return(0,B.z)(Ce=>ve(Ce,de,W))((0,o.Xf)(ne));if(!me)throw new TypeError("Invalid event target");return new r.y(Ce=>{const Fe=(...Oe)=>Ce.next(1Ue(Fe)})}function K(ne,de){return W=>ge=>ne[W](de,ge)}},8421:(pt,Re,g)=>{"use strict";g.d(Re,{Xf:()=>pe});var o=g(7582),r=g(1144),B=g(8239),V=g(9751),te=g(3670),P=g(2206),H=g(4532),N=g(6495),re=g(3260),ve=g(576),K=g(7849),oe=g(8822);function pe(Ce){if(Ce instanceof V.y)return Ce;if(null!=Ce){if((0,te.c)(Ce))return function ue(Ce){return new V.y(Fe=>{const Oe=Ce[oe.L]();if((0,ve.m)(Oe.subscribe))return Oe.subscribe(Fe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ce);if((0,r.z)(Ce))return function ne(Ce){return new V.y(Fe=>{for(let Oe=0;Oe{Ce.then(Oe=>{Fe.closed||(Fe.next(Oe),Fe.complete())},Oe=>Fe.error(Oe)).then(null,K.h)})}(Ce);if((0,P.D)(Ce))return ge(Ce);if((0,N.T)(Ce))return function W(Ce){return new V.y(Fe=>{for(const Oe of Ce)if(Fe.next(Oe),Fe.closed)return;Fe.complete()})}(Ce);if((0,re.L)(Ce))return function me(Ce){return ge((0,re.Q)(Ce))}(Ce)}throw(0,H.z)(Ce)}function ge(Ce){return new V.y(Fe=>{(function Ue(Ce,Fe){var Oe,Ee,z,J;return(0,o.mG)(this,void 0,void 0,function*(){try{for(Oe=(0,o.KL)(Ce);!(Ee=yield Oe.next()).done;)if(Fe.next(Ee.value),Fe.closed)return}catch(be){z={error:be}}finally{try{Ee&&!Ee.done&&(J=Oe.return)&&(yield J.call(Oe))}finally{if(z)throw z.error}}Fe.complete()})})(Ce,Fe).catch(Oe=>Fe.error(Oe))})}},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(...H){const N=(0,V.yG)(H),re=(0,V._6)(H,1/0),ve=H;return ve.length?1===ve.length?(0,r.Xf)(ve[0]):(0,o.J)(re)((0,te.D)(ve,N)):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,H=N=>N.error(P());return new o.y(te?N=>te.schedule(H,0,N):H)}},5403:(pt,Re,g)=>{"use strict";g.d(Re,{Q:()=>B,x:()=>r});var o=g(930);function r(V,te,P,H,N){return new B(V,te,P,H,N)}class B extends o.Lv{constructor(te,P,H,N,re,ve){super(te),this.onFinalize=re,this.shouldUnsubscribe=ve,this._next=P?function(K){try{P(K)}catch(oe){te.error(oe)}}:super._next,this._error=N?function(K){try{N(K)}catch(oe){te.error(oe)}finally{this.unsubscribe()}}:super._error,this._complete=H?function(){try{H()}catch(K){te.error(K)}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,H)=>{let ve,N=null,re=!1;N=P.subscribe((0,r.x)(H,void 0,void 0,K=>{ve=(0,o.Xf)(te(K,V(te)(P))),N?(N.unsubscribe(),N=null,ve.subscribe(H)):re=!0})),re&&(N.unsubscribe(),N=null,ve.subscribe(H))})}},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 H=!1;te.subscribe((0,r.x)(P,N=>{H=!0,P.next(N)},()=>{H||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,H=o.y){return P=P??te,(0,r.e)((N,re)=>{let ve,K=!0;N.subscribe((0,B.x)(re,oe=>{const pe=H(oe);(K||!P(ve,pe))&&(K=!1,ve=pe,re.next(oe))}))})}function te(P,H){return P===H}},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,H)=>{let N=0;P.subscribe((0,r.x)(H,re=>V.call(te,re,N++)&&H.next(re)))})}},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:()=>H});var o=g(6805),r=g(9300),B=g(5698),V=g(6590),te=g(8068),P=g(4671);function H(N,re){const ve=arguments.length>=2;return K=>K.pipe(N?(0,r.h)((oe,pe)=>N(oe,pe,K)):P.y,(0,B.q)(1),ve?(0,V.d)(re):(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,H)=>{let N=0;P.subscribe((0,r.x)(H,re=>{H.next(V.call(te,re,N++))}))})}},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:()=>N});var o=g(4004),r=g(8421),B=g(4482),V=g(9672),te=g(5403),H=g(576);function N(re,ve,K=1/0){return(0,H.m)(ve)?N((oe,pe)=>(0,o.U)((ue,ne)=>ve(oe,ue,pe,ne))((0,r.Xf)(re(oe,pe))),K):("number"==typeof ve&&(K=ve),(0,B.e)((oe,pe)=>function P(re,ve,K,oe,pe,ue,ne,de){const W=[];let ge=0,me=0,Ue=!1;const Ce=()=>{Ue&&!W.length&&!ge&&ve.complete()},Fe=Ee=>ge{ue&&ve.next(Ee),ge++;let z=!1;(0,r.Xf)(K(Ee,me++)).subscribe((0,te.x)(ve,J=>{pe?.(J),ue?Fe(J):ve.next(J)},()=>{z=!0},void 0,()=>{if(z)try{for(ge--;W.length&&geOe(J)):Oe(J)}Ce()}catch(J){ve.error(J)}}))};return re.subscribe((0,te.x)(ve,Fe,()=>{Ue=!0,Ce()})),()=>{de?.()}}(oe,pe,re,K)))}},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 H=(0,r.x)(te,void 0,void 0,void 0,()=>{if(!V||V._refCount<=0||0<--V._refCount)return void(P=null);const N=V._connection,re=P;P=null,N&&(!re||N===re)&&N.unsubscribe(),te.unsubscribe()});V.subscribe(H),H.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,H,N,re){return(ve,K)=>{let oe=H,pe=P,ue=0;ve.subscribe((0,r.x)(K,ne=>{const de=ue++;pe=oe?te(pe,ne,de):(oe=!0,ne),N&&K.next(pe)},re&&(()=>{oe&&K.next(pe),K.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(H={}){const{connector:N=(()=>new r.x),resetOnError:re=!0,resetOnComplete:ve=!0,resetOnRefCountZero:K=!0}=H;return oe=>{let pe,ue,ne,de=0,W=!1,ge=!1;const me=()=>{ue?.unsubscribe(),ue=void 0},Ue=()=>{me(),pe=ne=void 0,W=ge=!1},Ce=()=>{const Fe=pe;Ue(),Fe?.unsubscribe()};return(0,V.e)((Fe,Oe)=>{de++,!ge&&!W&&me();const Ee=ne=ne??N();Oe.add(()=>{de--,0===de&&!ge&&!W&&(ue=P(Ce,K))}),Ee.subscribe(Oe),!pe&&de>0&&(pe=new B.Hp({next:z=>Ee.next(z),error:z=>{ge=!0,me(),ue=P(Ue,re,z),Ee.error(z)},complete:()=>{W=!0,me(),ue=P(Ue,ve),Ee.complete()}}),(0,o.Xf)(Fe).subscribe(pe))})(oe)}}function P(H,N,...re){if(!0===N)return void H();if(!1===N)return;const ve=new B.Hp({next:()=>{ve.unsubscribe(),H()}});return(0,o.Xf)(N(...re)).subscribe(ve)}},4782:(pt,Re,g)=>{"use strict";g.d(Re,{d:()=>B});var o=g(4707),r=g(3099);function B(V,te,P){let H,N=!1;return V&&"object"==typeof V?({bufferSize:H=1/0,windowTime:te=1/0,refCount:N=!1,scheduler:P}=V):H=V??1/0,(0,r.B)({connector:()=>new o.t(H,te,P),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:N})}},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)((H,N)=>{(P?(0,o.z)(te,H,P):(0,o.z)(te,H)).subscribe(N)})}},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)((H,N)=>{let re=null,ve=0,K=!1;const oe=()=>K&&!re&&N.complete();H.subscribe((0,B.x)(N,pe=>{re?.unsubscribe();let ue=0;const ne=ve++;(0,o.Xf)(te(pe,ne)).subscribe(re=(0,B.x)(N,de=>N.next(P?P(pe,de,ne,ue++):de),()=>{re=null,oe()}))},()=>{K=!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,H)=>{let N=0;P.subscribe((0,B.x)(H,re=>{++N<=te&&(H.next(re),te<=N&&H.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,H,N){const re=(0,o.m)(P)||H||N?{next:P,error:H,complete:N}:P;return re?(0,r.e)((ve,K)=>{var oe;null===(oe=re.subscribe)||void 0===oe||oe.call(re);let pe=!0;ve.subscribe((0,B.x)(K,ue=>{var ne;null===(ne=re.next)||void 0===ne||ne.call(re,ue),K.next(ue)},()=>{var ue;pe=!1,null===(ue=re.complete)||void 0===ue||ue.call(re),K.complete()},ue=>{var ne;pe=!1,null===(ne=re.error)||void 0===ne||ne.call(re,ue),K.error(ue)},()=>{var ue,ne;pe&&(null===(ue=re.unsubscribe)||void 0===ue||ue.call(re)),null===(ne=re.finalize)||void 0===ne||ne.call(re)}))}):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)((H,N)=>{let re=!1;H.subscribe((0,B.x)(N,ve=>{re=!0,N.next(ve)},()=>re?N.complete():N.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(H){return H[H.length-1]}function V(H){return(0,o.m)(B(H))?H.pop():void 0}function te(H){return(0,r.K)(B(H))?H.pop():void 0}function P(H,N){return"number"==typeof B(H)?H.pop():N}},4742:(pt,Re,g)=>{"use strict";g.d(Re,{D:()=>te});const{isArray:o}=Array,{getPrototypeOf:r,prototype:B,keys:V}=Object;function te(H){if(1===H.length){const N=H[0];if(o(N))return{args:N,keys:null};if(function P(H){return H&&"object"==typeof H&&r(H)===B}(N)){const re=V(N);return{args:re.map(ve=>N[ve]),keys:re}}}return{args:H,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:H,error:N}=r;if(r=null,H)throw N}}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 H=B.schedule(function(){V(),P?r.add(this.schedule(null,te)):this.unsubscribe()},te);if(r.add(H),!P)return H}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 H=te.getReader();try{for(;;){const{value:N,done:re}=yield(0,o.qq)(H.read());if(re)return yield(0,o.qq)(void 0);yield yield(0,o.qq)(N)}}finally{H.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(H){this.error(H)}});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((H,N)=>N(H),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 N="function",re=te.patchMethod(B.cordova,"exec",function(){return function(ve,K){return K.length>0&&typeof K[0]===N&&(K[0]=V.current.wrap(K[0],"cordova.exec.success")),K.length>1&&typeof K[1]===N&&(K[1]=V.current.wrap(K[1],"cordova.exec.error")),re.apply(ve,K)}})}),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 H=V.__symbol__("ON_PROPERTY"+P);Object.defineProperty(te.prototype,H,{configurable:!0,get:function(){return this._realReader&&this._realReader[H]}})})})})})?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:()=>me,ED:()=>$,EM:()=>So,HT:()=>V,JF:()=>Qr,JJ:()=>zo,K0:()=>P,Mx:()=>Un,NF:()=>No,O5:()=>Me,Ov:()=>nn,PC:()=>Ne,PM:()=>Rr,RF:()=>bt,S$:()=>de,V_:()=>re,Ye:()=>Ue,b0:()=>ge,bD:()=>Oi,ez:()=>xi,mk:()=>Mt,n9:()=>S,q:()=>B,sg:()=>A,tP:()=>xe,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 H=(()=>{class _{historyGo(T){throw new Error("Not implemented")}}return _.\u0275fac=function(T){return new(T||_)},_.\u0275prov=o.Yz7({token:_,factory:function(){return function N(){return(0,o.LFG)(ve)}()},providedIn:"platform"}),_})();const re=new o.OlP("Location Initialized");let ve=(()=>{class _ extends H{constructor(T){super(),this._doc=T,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return B().getBaseHref(this._doc)}onPopState(T){const X=B().getGlobalEventTarget(this._doc,"window");return X.addEventListener("popstate",T,!1),()=>X.removeEventListener("popstate",T)}onHashChange(T){const X=B().getGlobalEventTarget(this._doc,"window");return X.addEventListener("hashchange",T,!1),()=>X.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,X,Pe){K()?this._history.pushState(T,X,Pe):this._location.hash=Pe}replaceState(T,X,Pe){K()?this._history.replaceState(T,X,Pe):this._location.hash=Pe}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 ve((0,o.LFG)(P))}()},providedIn:"platform"}),_})();function K(){return!!window.history.pushState}function pe(_,j){if(0==_.length)return j;if(0==j.length)return _;let T=0;return _.endsWith("/")&&T++,j.startsWith("/")&&T++,2==T?_+j.substring(1):1==T?_+j:_+"/"+j}function ue(_){const j=_.match(/#|\?|$/),T=j&&j.index||_.length;return _.slice(0,T-("/"===_[T-1]?1:0))+_.slice(T)}function ne(_){return _&&"?"!==_[0]?"?"+_:_}let de=(()=>{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)(ge)},providedIn:"root"}),_})();const W=new o.OlP("appBaseHref");let ge=(()=>{class _ extends de{constructor(T,X){super(),this._platformLocation=T,this._removeListenerFns=[],this._baseHref=X??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 pe(this._baseHref,T)}path(T=!1){const X=this._platformLocation.pathname+ne(this._platformLocation.search),Pe=this._platformLocation.hash;return Pe&&T?`${X}${Pe}`:X}pushState(T,X,Pe,it){const yt=this.prepareExternalUrl(Pe+ne(it));this._platformLocation.pushState(T,X,yt)}replaceState(T,X,Pe,it){const yt=this.prepareExternalUrl(Pe+ne(it));this._platformLocation.replaceState(T,X,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(H),o.LFG(W,8))},_.\u0275prov=o.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),_})(),me=(()=>{class _ extends de{constructor(T,X){super(),this._platformLocation=T,this._baseHref="",this._removeListenerFns=[],null!=X&&(this._baseHref=X)}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 X=this._platformLocation.hash;return null==X&&(X="#"),X.length>0?X.substring(1):X}prepareExternalUrl(T){const X=pe(this._baseHref,T);return X.length>0?"#"+X:X}pushState(T,X,Pe,it){let yt=this.prepareExternalUrl(Pe+ne(it));0==yt.length&&(yt=this._platformLocation.pathname),this._platformLocation.pushState(T,X,yt)}replaceState(T,X,Pe,it){let yt=this.prepareExternalUrl(Pe+ne(it));0==yt.length&&(yt=this._platformLocation.pathname),this._platformLocation.replaceState(T,X,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(H),o.LFG(W,8))},_.\u0275prov=o.Yz7({token:_,factory:_.\u0275fac}),_})(),Ue=(()=>{class _{constructor(T){this._subject=new o.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=T;const X=this._locationStrategy.getBaseHref();this._basePath=function Ee(_){if(new RegExp("^(https?:)?//").test(_)){const[,T]=_.split(/\/\/[^\/]+/);return T}return _}(ue(Oe(X))),this._locationStrategy.onPopState(Pe=>{this._subject.emit({url:this.path(!0),pop:!0,state:Pe.state,type:Pe.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(T=!1){return this.normalize(this._locationStrategy.path(T))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(T,X=""){return this.path()==this.normalize(T+ne(X))}normalize(T){return _.stripTrailingSlash(function Fe(_,j){if(!_||!j.startsWith(_))return j;const T=j.substring(_.length);return""===T||["/",";","?","#"].includes(T[0])?T:j}(this._basePath,Oe(T)))}prepareExternalUrl(T){return T&&"/"!==T[0]&&(T="/"+T),this._locationStrategy.prepareExternalUrl(T)}go(T,X="",Pe=null){this._locationStrategy.pushState(Pe,"",T,X),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+ne(X)),Pe)}replaceState(T,X="",Pe=null){this._locationStrategy.replaceState(Pe,"",T,X),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+ne(X)),Pe)}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(X=>{this._notifyUrlChangeListeners(X.url,X.state)})),()=>{const X=this._urlChangeListeners.indexOf(T);this._urlChangeListeners.splice(X,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(T="",X){this._urlChangeListeners.forEach(Pe=>Pe(T,X))}subscribe(T,X,Pe){return this._subject.subscribe({next:T,error:X,complete:Pe})}}return _.normalizeQueryParams=ne,_.joinWithSlash=pe,_.stripTrailingSlash=ue,_.\u0275fac=function(T){return new(T||_)(o.LFG(de))},_.\u0275prov=o.Yz7({token:_,factory:function(){return function Ce(){return new Ue((0,o.LFG)(de))}()},providedIn:"root"}),_})();function Oe(_){return _.replace(/\/index.html$/,"")}var J=(()=>((J=J||{})[J.Decimal=0]="Decimal",J[J.Percent=1]="Percent",J[J.Currency=2]="Currency",J[J.Scientific=3]="Scientific",J))(),De=(()=>((De=De||{})[De.Format=0]="Format",De[De.Standalone=1]="Standalone",De))(),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(_,j){return Zt((0,o.cg1)(_)[o.wAp.DateFormat],j)}function ae(_,j){return Zt((0,o.cg1)(_)[o.wAp.TimeFormat],j)}function Ye(_,j){return Zt((0,o.cg1)(_)[o.wAp.DateTimeFormat],j)}function qe(_,j){const T=(0,o.cg1)(_),X=T[o.wAp.NumberSymbols][j];if(typeof X>"u"){if(j===ie.CurrencyDecimal)return T[o.wAp.NumberSymbols][ie.Decimal];if(j===ie.CurrencyGroup)return T[o.wAp.NumberSymbols][ie.Group]}return X}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(_,j){for(let T=j;T>-1;T--)if(typeof _[T]<"u")return _[T];throw new Error("Locale data API: locale data undefined")}function Ct(_){const[j,T]=_.split(":");return{hours:+j,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))(),Lt=(()=>((Lt=Lt||{})[Lt.FullYear=0]="FullYear",Lt[Lt.Month=1]="Month",Lt[Lt.Date=2]="Date",Lt[Lt.Hours=3]="Hours",Lt[Lt.Minutes=4]="Minutes",Lt[Lt.Seconds=5]="Seconds",Lt[Lt.FractionalSeconds=6]="FractionalSeconds",Lt[Lt.Day=7]="Day",Lt))(),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(_,j,T,X){let Pe=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[Pe,it=1,yt=1]=_.split("-").map(Vt=>+Vt);return cn(Pe,it-1,yt)}const T=parseFloat(_);if(!isNaN(_-T))return new Date(T);let X;if(X=_.match(On))return function tn(_){const j=new Date(0);let T=0,X=0;const Pe=_[8]?j.setUTCFullYear:j.setFullYear,it=_[8]?j.setUTCHours:j.setHours;_[9]&&(T=Number(_[9]+_[10]),X=Number(_[9]+_[11])),Pe.call(j,Number(_[1]),Number(_[2])-1,Number(_[3]));const yt=Number(_[4]||0)-T,Vt=Number(_[5]||0)-X,Wn=Number(_[6]||0),Zn=Math.floor(1e3*parseFloat("0."+(_[7]||0)));return it.call(j,yt,Vt,Wn,Zn),j}(X)}const j=new Date(_);if(!Ze(j))throw new Error(`Unable to convert "${_}" into a date`);return j}(_);j=pn(T,j)||j;let Vt,yt=[];for(;j;){if(Vt=_n.exec(j),!Vt){yt.push(j);break}{yt=yt.concat(Vt.slice(1));const Rn=yt.pop();if(!Rn)break;j=Rn}}let Wn=Pe.getTimezoneOffset();X&&(Wn=Fn(X,Wn),Pe=function Cn(_,j,T){const X=T?-1:1,Pe=_.getTimezoneOffset();return function gn(_,j){return(_=new Date(_.getTime())).setMinutes(_.getMinutes()+j),_}(_,X*(Fn(j,Pe)-Pe))}(Pe,X,!0));let Zn="";return yt.forEach(Rn=>{const wn=function Pr(_){if(fr[_])return fr[_];let j;switch(_){case"G":case"GG":case"GGG":j=Qt(Dt.Eras,Te.Abbreviated);break;case"GGGG":j=Qt(Dt.Eras,Te.Wide);break;case"GGGGG":j=Qt(Dt.Eras,Te.Narrow);break;case"y":j=fn(Lt.FullYear,1,0,!1,!0);break;case"yy":j=fn(Lt.FullYear,2,0,!0,!0);break;case"yyy":j=fn(Lt.FullYear,3,0,!1,!0);break;case"yyyy":j=fn(Lt.FullYear,4,0,!1,!0);break;case"Y":j=yr(1);break;case"YY":j=yr(2,!0);break;case"YYY":j=yr(3);break;case"YYYY":j=yr(4);break;case"M":case"L":j=fn(Lt.Month,1,1);break;case"MM":case"LL":j=fn(Lt.Month,2,1);break;case"MMM":j=Qt(Dt.Months,Te.Abbreviated);break;case"MMMM":j=Qt(Dt.Months,Te.Wide);break;case"MMMMM":j=Qt(Dt.Months,Te.Narrow);break;case"LLL":j=Qt(Dt.Months,Te.Abbreviated,De.Standalone);break;case"LLLL":j=Qt(Dt.Months,Te.Wide,De.Standalone);break;case"LLLLL":j=Qt(Dt.Months,Te.Narrow,De.Standalone);break;case"w":j=jn(1);break;case"ww":j=jn(2);break;case"W":j=jn(1,!0);break;case"d":j=fn(Lt.Date,1);break;case"dd":j=fn(Lt.Date,2);break;case"c":case"cc":j=fn(Lt.Day,1);break;case"ccc":j=Qt(Dt.Days,Te.Abbreviated,De.Standalone);break;case"cccc":j=Qt(Dt.Days,Te.Wide,De.Standalone);break;case"ccccc":j=Qt(Dt.Days,Te.Narrow,De.Standalone);break;case"cccccc":j=Qt(Dt.Days,Te.Short,De.Standalone);break;case"E":case"EE":case"EEE":j=Qt(Dt.Days,Te.Abbreviated);break;case"EEEE":j=Qt(Dt.Days,Te.Wide);break;case"EEEEE":j=Qt(Dt.Days,Te.Narrow);break;case"EEEEEE":j=Qt(Dt.Days,Te.Short);break;case"a":case"aa":case"aaa":j=Qt(Dt.DayPeriods,Te.Abbreviated);break;case"aaaa":j=Qt(Dt.DayPeriods,Te.Wide);break;case"aaaaa":j=Qt(Dt.DayPeriods,Te.Narrow);break;case"b":case"bb":case"bbb":j=Qt(Dt.DayPeriods,Te.Abbreviated,De.Standalone,!0);break;case"bbbb":j=Qt(Dt.DayPeriods,Te.Wide,De.Standalone,!0);break;case"bbbbb":j=Qt(Dt.DayPeriods,Te.Narrow,De.Standalone,!0);break;case"B":case"BB":case"BBB":j=Qt(Dt.DayPeriods,Te.Abbreviated,De.Format,!0);break;case"BBBB":j=Qt(Dt.DayPeriods,Te.Wide,De.Format,!0);break;case"BBBBB":j=Qt(Dt.DayPeriods,Te.Narrow,De.Format,!0);break;case"h":j=fn(Lt.Hours,1,-12);break;case"hh":j=fn(Lt.Hours,2,-12);break;case"H":j=fn(Lt.Hours,1);break;case"HH":j=fn(Lt.Hours,2);break;case"m":j=fn(Lt.Minutes,1);break;case"mm":j=fn(Lt.Minutes,2);break;case"s":j=fn(Lt.Seconds,1);break;case"ss":j=fn(Lt.Seconds,2);break;case"S":j=fn(Lt.FractionalSeconds,1);break;case"SS":j=fn(Lt.FractionalSeconds,2);break;case"SSS":j=fn(Lt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":j=hn(bn.Short);break;case"ZZZZZ":j=hn(bn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":j=hn(bn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":j=hn(bn.Long);break;default:return null}return fr[_]=j,j}(Rn);Zn+=wn?wn(Pe,T,Wn):"''"===Rn?"'":Rn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Zn}function cn(_,j,T){const X=new Date(0);return X.setFullYear(_,j,T),X.setHours(0,0,0),X}function pn(_,j){const T=function We(_){return(0,o.cg1)(_)[o.wAp.LocaleId]}(_);if(sr[T]=sr[T]||{},sr[T][j])return sr[T][j];let X="";switch(j){case"shortDate":X=se(_,Be.Short);break;case"mediumDate":X=se(_,Be.Medium);break;case"longDate":X=se(_,Be.Long);break;case"fullDate":X=se(_,Be.Full);break;case"shortTime":X=ae(_,Be.Short);break;case"mediumTime":X=ae(_,Be.Medium);break;case"longTime":X=ae(_,Be.Long);break;case"fullTime":X=ae(_,Be.Full);break;case"short":const Pe=pn(_,"shortTime"),it=pn(_,"shortDate");X=Xn(Ye(_,Be.Short),[Pe,it]);break;case"medium":const yt=pn(_,"mediumTime"),Vt=pn(_,"mediumDate");X=Xn(Ye(_,Be.Medium),[yt,Vt]);break;case"long":const Wn=pn(_,"longTime"),Zn=pn(_,"longDate");X=Xn(Ye(_,Be.Long),[Wn,Zn]);break;case"full":const Rn=pn(_,"fullTime"),wn=pn(_,"fullDate");X=Xn(Ye(_,Be.Full),[Rn,wn])}return X&&(sr[T][j]=X),X}function Xn(_,j){return j&&(_=_.replace(/\{([^}]+)}/g,function(T,X){return null!=j&&X in j?j[X]:T})),_}function An(_,j,T="-",X,Pe){let it="";(_<0||Pe&&_<=0)&&(Pe?_=1-_:(_=-_,it=T));let yt=String(_);for(;yt.length0||Vt>-T)&&(Vt+=T),_===Lt.Hours)0===Vt&&-12===T&&(Vt=12);else if(_===Lt.FractionalSeconds)return function ar(_,j){return An(_,3).substring(0,j)}(Vt,j);const Wn=qe(yt,ie.MinusSign);return An(Vt,j,Wn,X,Pe)}}function Qt(_,j,T=De.Format,X=!1){return function(Pe,it){return function dr(_,j,T,X,Pe,it){switch(T){case Dt.Months:return function Y(_,j,T){const X=(0,o.cg1)(_),it=Zt([X[o.wAp.MonthsFormat],X[o.wAp.MonthsStandalone]],j);return Zt(it,T)}(j,Pe,X)[_.getMonth()];case Dt.Days:return function _e(_,j,T){const X=(0,o.cg1)(_),it=Zt([X[o.wAp.DaysFormat],X[o.wAp.DaysStandalone]],j);return Zt(it,T)}(j,Pe,X)[_.getDay()];case Dt.DayPeriods:const yt=_.getHours(),Vt=_.getMinutes();if(it){const Zn=function ut(_){const j=(0,o.cg1)(_);return Xe(j),(j[o.wAp.ExtraData][2]||[]).map(X=>"string"==typeof X?Ct(X):[Ct(X[0]),Ct(X[1])])}(j),Rn=function Ft(_,j,T){const X=(0,o.cg1)(_);Xe(X);const it=Zt([X[o.wAp.ExtraData][0],X[o.wAp.ExtraData][1]],j)||[];return Zt(it,T)||[]}(j,Pe,X),wn=Zn.findIndex(rr=>{if(Array.isArray(rr)){const[Vn,or]=rr,Ur=yt>=Vn.hours&&Vt>=Vn.minutes,Vr=yt0?Math.floor(Pe/60):Math.ceil(Pe/60);switch(_){case bn.Short:return(Pe>=0?"+":"")+An(yt,2,it)+An(Math.abs(Pe%60),2,it);case bn.ShortGMT:return"GMT"+(Pe>=0?"+":"")+An(yt,1,it);case bn.Long:return"GMT"+(Pe>=0?"+":"")+An(yt,2,it)+":"+An(Math.abs(Pe%60),2,it);case bn.Extended:return 0===X?"Z":(Pe>=0?"+":"")+An(yt,2,it)+":"+An(Math.abs(Pe%60),2,it);default:throw new Error(`Unknown zone width "${_}"`)}}}const Hn=0,Kn=4;function vr(_){return cn(_.getFullYear(),_.getMonth(),_.getDate()+(Kn-_.getDay()))}function jn(_,j=!1){return function(T,X){let Pe;if(j){const it=new Date(T.getFullYear(),T.getMonth(),1).getDay()-1,yt=T.getDate();Pe=1+Math.floor((yt+it)/7)}else{const it=vr(T),yt=function cr(_){const j=cn(_,Hn,1).getDay();return cn(_,0,1+(j<=Kn?Kn:Kn+7)-j)}(it.getFullYear()),Vt=it.getTime()-yt.getTime();Pe=1+Math.round(Vt/6048e5)}return An(Pe,_,qe(X,ie.MinusSign))}}function yr(_,j=!1){return function(T,X){return An(vr(T).getFullYear(),_,qe(X,ie.MinusSign),j)}}const fr={};function Fn(_,j){_=_.replace(/:/g,"");const T=Date.parse("Jan 01, 1970 00:00:00 "+_)/6e4;return isNaN(T)?j:T}function Ze(_){return _ instanceof Date&&!isNaN(_.valueOf())}const $e=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Ie=22,Ke=".",ot="0",wt=";",Jt=",",Dn="#";function Nn(_){const j=parseInt(_);if(isNaN(j))throw new Error("Invalid integer literal when parsing "+_);return j}function Un(_,j){j=encodeURIComponent(j);for(const T of _.split(";")){const X=T.indexOf("="),[Pe,it]=-1==X?[T,""]:[T.slice(0,X),T.slice(X+1)];if(Pe.trim()===j)return decodeURIComponent(it)}return null}const kn=/\s+/,Et=[];let Mt=(()=>{class _{constructor(T,X,Pe,it){this._iterableDiffers=T,this._keyValueDiffers=X,this._ngEl=Pe,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 X of this.initialClasses)this._updateState(X,!0);const T=this.rawClass;if(Array.isArray(T)||T instanceof Set)for(const X of T)this._updateState(X,!0);else if(null!=T)for(const X of Object.keys(T))this._updateState(X,Boolean(T[X]));this._applyStateDiff()}_updateState(T,X){const Pe=this.stateMap.get(T);void 0!==Pe?(Pe.enabled!==X&&(Pe.changed=!0,Pe.enabled=X),Pe.touched=!0):this.stateMap.set(T,{enabled:X,changed:!0,touched:!0})}_applyStateDiff(){for(const T of this.stateMap){const X=T[0],Pe=T[1];Pe.changed?(this._toggleClass(X,Pe.enabled),Pe.changed=!1):Pe.touched||(Pe.enabled&&this._toggleClass(X,!1),this.stateMap.delete(X)),Pe.touched=!1}}_toggleClass(T,X){(T=T.trim()).length>0&&T.split(kn).forEach(Pe=>{X?this._renderer.addClass(this._ngEl.nativeElement,Pe):this._renderer.removeClass(this._ngEl.nativeElement,Pe)})}}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(j,T,X,Pe){this.$implicit=j,this.ngForOf=T,this.index=X,this.count=Pe}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,X,Pe){this._viewContainer=T,this._template=X,this._differs=Pe,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 X=this._viewContainer;T.forEachOperation((Pe,it,yt)=>{if(null==Pe.previousIndex)X.createEmbeddedView(this._template,new I(Pe.item,this._ngForOf,-1,-1),null===yt?void 0:yt);else if(null==yt)X.remove(null===it?void 0:it);else if(null!==it){const Vt=X.get(it);X.move(Vt,yt),G(Vt,Pe)}});for(let Pe=0,it=X.length;Pe{G(X.get(Pe.currentIndex),Pe)})}static ngTemplateContextGuard(T,X){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(_,j){_.context.$implicit=j.item}let Me=(()=>{class _{constructor(T,X){this._viewContainer=T,this._context=new Le,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=X}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,X){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 Le{constructor(){this.$implicit=null,this.ngIf=null}}function tt(_,j){if(j&&!j.createEmbeddedView)throw new Error(`${_} must be a TemplateRef, but received '${(0,o.AaK)(j)}'.`)}class lt{constructor(j,T){this._viewContainerRef=j,this._templateRef=T,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(j){j&&!this._created?this.create():!j&&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 X=T==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||X,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),X}_updateDefaultCases(T){if(this._defaultViews.length>0&&T!==this._defaultUsed){this._defaultUsed=T;for(const X of this._defaultViews)X.enforceState(T)}}}return _.\u0275fac=function(T){return new(T||_)},_.\u0275dir=o.lG2({type:_,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),_})(),S=(()=>{class _{constructor(T,X,Pe){this.ngSwitch=Pe,Pe._addCase(),this._view=new lt(T,X)}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,X,Pe){Pe._addDefault(new lt(T,X))}}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}),_})(),Ne=(()=>{class _{constructor(T,X,Pe){this._ngEl=T,this._differs=X,this._renderer=Pe,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,X){const[Pe,it]=T.split("."),yt=-1===Pe.indexOf("-")?void 0:o.JOm.DashCase;null!=X?this._renderer.setStyle(this._ngEl.nativeElement,Pe,it?`${X}${it}`:X,yt):this._renderer.removeStyle(this._ngEl.nativeElement,Pe,yt)}_applyChanges(T){T.forEachRemovedItem(X=>this._setStyle(X.key,null)),T.forEachAddedItem(X=>this._setStyle(X.key,X.currentValue)),T.forEachChangedItem(X=>this._setStyle(X.key,X.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}),_})(),xe=(()=>{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 X=this._viewContainerRef;if(this._viewRef&&X.remove(X.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Pe,ngTemplateOutletContext:it,ngTemplateOutletInjector:yt}=this;this._viewRef=X.createEmbeddedView(Pe,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 mt(_,j){return new o.vHH(2100,!1)}class vt{createSubscription(j,T){return j.subscribe({next:T,error:X=>{throw X}})}dispose(j){j.unsubscribe()}}class ft{createSubscription(j,T){return j.then(T,X=>{throw X})}dispose(j){}}const Rt=new ft,$t=new vt;let nn=(()=>{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,X=>this._updateLatestValue(T,X))}_selectStrategy(T){if((0,o.QGY)(T))return Rt;if((0,o.F4k)(T))return $t;throw mt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(T,X){T===this._obj&&(this._latestValue=X,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 Ve=new o.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),rn=new o.OlP("DATE_PIPE_DEFAULT_OPTIONS");let qt=(()=>{class _{constructor(T,X,Pe){this.locale=T,this.defaultTimezone=X,this.defaultOptions=Pe}transform(T,X,Pe,it){if(null==T||""===T||T!=T)return null;try{return Qn(T,X??this.defaultOptions?.dateFormat??"mediumDate",it||this.locale,Pe??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(yt){throw mt()}}}return _.\u0275fac=function(T){return new(T||_)(o.Y36(o.soG,16),o.Y36(Ve,24),o.Y36(rn,24))},_.\u0275pipe=o.Yjl({name:"date",type:_,pure:!0,standalone:!0}),_})(),zo=(()=>{class _{constructor(T){this._locale=T}transform(T,X,Pe){if(!function Lo(_){return!(null==_||""===_||_!=_)}(T))return null;Pe=Pe||this._locale;try{return function _r(_,j,T){return function qn(_,j,T,X,Pe,it,yt=!1){let Vt="",Wn=!1;if(isFinite(_)){let Zn=function on(_){let X,Pe,it,yt,Vt,j=Math.abs(_)+"",T=0;for((Pe=j.indexOf(Ke))>-1&&(j=j.replace(Ke,"")),(it=j.search(/e/i))>0?(Pe<0&&(Pe=it),Pe+=+j.slice(it+1),j=j.substring(0,it)):Pe<0&&(Pe=j.length),it=0;j.charAt(it)===ot;it++);if(it===(Vt=j.length))X=[0],Pe=1;else{for(Vt--;j.charAt(Vt)===ot;)Vt--;for(Pe-=it,X=[],yt=0;it<=Vt;it++,yt++)X[yt]=Number(j.charAt(it))}return Pe>Ie&&(X=X.splice(0,Ie-1),T=Pe-1,Pe=1),{digits:X,exponent:T,integerLen:Pe}}(_);yt&&(Zn=function Ln(_){if(0===_.digits[0])return _;const j=_.digits.length-_.integerLen;return _.exponent?_.exponent+=2:(0===j?_.digits.push(0,0):1===j&&_.digits.push(0),_.integerLen+=2),_}(Zn));let Rn=j.minInt,wn=j.minFrac,rr=j.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(_,j,T){if(j>T)throw new Error(`The minimum number of digits after fraction (${j}) is higher than the maximum (${T}).`);let X=_.digits,Pe=X.length-_.integerLen;const it=Math.min(Math.max(j,Pe),T);let yt=it+_.integerLen,Vt=X[yt];if(yt>0){X.splice(Math.max(_.integerLen,yt));for(let wn=yt;wn=5)if(yt-1<0){for(let wn=0;wn>yt;wn--)X.unshift(0),_.integerLen++;X.unshift(1),_.integerLen++}else X[yt-1]++;for(;Pe=Zn?or.pop():Wn=!1),rr>=10?1:0},0);Rn&&(X.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>=j.lgSize&&bo.unshift(Vn.splice(-j.lgSize,Vn.length).join(""));Vn.length>j.gSize;)bo.unshift(Vn.splice(-j.gSize,Vn.length).join(""));Vn.length&&bo.unshift(Vn.join("")),Vt=bo.join(qe(T,X)),Vr.length&&(Vt+=qe(T,Pe)+Vr.join("")),Ur&&(Vt+=qe(T,ie.Exponential)+"+"+Ur)}else Vt=qe(T,ie.Infinity);return Vt=_<0&&!Wn?j.negPre+Vt+j.negSuf:j.posPre+Vt+j.posSuf,Vt}(_,function pr(_,j="-"){const T={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},X=_.split(wt),Pe=X[0],it=X[1],yt=-1!==Pe.indexOf(Ke)?Pe.split(Ke):[Pe.substring(0,Pe.lastIndexOf(ot)+1),Pe.substring(Pe.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(j,T){this.document=j,this.window=T,this.offset=()=>[0,0]}setOffset(j){this.offset=Array.isArray(j)?()=>j:j}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(j){this.supportsScrolling()&&this.window.scrollTo(j[0],j[1])}scrollToAnchor(j){if(!this.supportsScrolling())return;const T=function Yo(_,j){const T=_.getElementById(j)||_.getElementsByName(j)[0];if(T)return T;if("function"==typeof _.createTreeWalker&&_.body&&(_.body.createShadowRoot||_.body.attachShadow)){const X=_.createTreeWalker(_.body,NodeFilter.SHOW_ELEMENT);let Pe=X.currentNode;for(;Pe;){const it=Pe.shadowRoot;if(it){const yt=it.getElementById(j)||it.querySelector(`[name="${j}"]`);if(yt)return yt}Pe=X.nextNode()}}return null}(this.document,j);T&&(this.scrollToElement(T),T.focus())}setHistoryScrollRestoration(j){if(this.supportScrollRestoration()){const T=this.window.history;T&&T.scrollRestoration&&(T.scrollRestoration=j)}}scrollToElement(j){const T=j.getBoundingClientRect(),X=T.left+this.window.pageXOffset,Pe=T.top+this.window.pageYOffset,it=this.offset();this.window.scrollTo(X-it[0],Pe-it[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const j=ui(this.window.history)||ui(Object.getPrototypeOf(this.window.history));return!(!j||!j.writable&&!j.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:()=>N,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:()=>K,Hsn:()=>Th,JOm:()=>ni,KtG:()=>is,LFG:()=>hn,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:()=>ln,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 H(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function N(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(N).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 re(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ve=P({__forward_ref__:P});function K(e){return e.__forward_ref__=K,e.toString=function(){return N(this())},e}function oe(e){return pe(e)?e():e}function pe(e){return"function"==typeof e&&e.hasOwnProperty(ve)&&e.__forward_ref__===K}function ue(e){return e&&!!e.\u0275providers}const de="https://g.co/ng/security#xss";class W extends Error{constructor(t,n){super(ge(t,n)),this.code=t}}function ge(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}function me(e){return"string"==typeof e?e:null==e?"":String(e)}function Ee(e,t){throw new W(-201,!1)}function L(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(Ft)||e.hasOwnProperty(Zt))?e[Ft]:null}const ut=P({\u0275prov:P}),Ft=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 Ee(N(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={},cn="__NG_DI_FLAG__",pn="ngTempTokenPath",Xn="ngTokenPath",An=/\n/gm,ar="\u0275",fn="__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 hn(e,t=Ct.Default){return(function Xt(){return en}()||dr)(oe(e),t)}function Kn(e,t=Ct.Default){return hn(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}),Ie=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 on(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 on(e){return e[Ze]||null}function Gn(e){return e[$e]||null}function Nn(e){return e[Ie]||null}function En(e){const t=on(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 ${N(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,he=4,w=5,I=6,A=7,G=8,ye=9,Me=10,Le=11,tt=12,lt=13,bt=14,S=15,$=16,fe=17,Ae=18,ze=19,Ne=20,xe=21,et=22,vt=1,ft=2,Rt=7,$t=8,nn=9,sn=10;function Z(e){return Array.isArray(e)&&"object"==typeof e[vt]}function D(e){return Array.isArray(e)&&!0===e[vt]}function ce(e){return 0!=(4&e.flags)}function Ve(e){return e.componentOffset>-1}function rn(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 Z(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 an={lFrame:ls(null),bindingsEnabled:!0};function rt(){return an.bindingsEnabled}function ct(){return an.lFrame.lView}function dn(){return an.lFrame.tView}function Wo(e){return an.lFrame.contextLView=e,e[G]}function is(e){return an.lFrame.contextLView=null,e}function Fr(){let e=$n();for(;null!==e&&64===e.type;)e=e.parent;return e}function $n(){return an.lFrame.currentTNode}function no(e,t){const n=an.lFrame;n.currentTNode=e,n.isParent=t}function ji(){return an.lFrame.isParent}function $o(){an.lFrame.isParent=!1}function Sr(){const e=an.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function vo(){return an.lFrame.bindingIndex++}function yo(e){const t=an.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function pi(e,t){const n=an.lFrame;n.bindingIndex=n.bindingRootIndex=e,gi(t)}function gi(e){an.lFrame.currentDirectiveIndex=e}function Ko(){return an.lFrame.currentQueryIndex}function _o(e){an.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=an.lFrame=as();return i.currentTNode=t,i.lView=e,!0}function Fi(e){const t=as(),n=e[Et];an.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=an.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=an.lFrame;return an.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 an.lFrame.selectedIndex}function Oo(e){an.lFrame.selectedIndex=e}function nr(){const e=an.lFrame;return ho(e.tView,e.selectedIndex)}function ds(){an.lFrame.currentNamespace=To}function fs(){!function hs(){an.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 X=-1;class Pe{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 X;if(n++,s=s[S],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return X}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;Ee()}finally{Wi()}}else if("number"==typeof a){let u=null,v=Vs(e,t),E=X,U=i&Ct.Host?t[$][I]:null;for((-1===v||i&Ct.SkipSelf)&&(E=-1===v?_i(e,t):t[v+8],E!==X&&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!==X&&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?Ve(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 Pe}(s)){const u=s;u.resolving&&function Ce(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new W(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Ue(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():me(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 pe(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 Nt(e,t){const n=kt(e,t);if(n>=0)return e[1|n]}function kt(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){Z(t)?(e[Oa]=t[Ne],function Sc(e){Aa.set(e[Ne],e)}(t)):e[Oa]=t}let we;function He(e,t){return we(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[he])}function Ht(e){for(;null!==e&&!D(e);)e=e[he];return e}function zt(e,t,n,i,s){if(null!=i){let a,u=!1;D(i)?a=i:Z(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=sn;v0&&(e[n-1][he]=i[he]);const a=c(e,sn+t);!function Pc(e,t){Ra(e,t,t[Le],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[he]=null,i[Mt]&=-65}return i}function Nd(e,t){if(!(128&t[Mt])){const n=t[Le];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(Z(t))n=t[lt];else{const i=t[sn];i&&(n=i)}if(!n){for(;t&&!t[he]&&t!==e;)Z(t)&&Lc(t[Et],t),t=t[xn];null===t&&(t=e),Z(t)&&Lc(t[Et],t),n=t&&t[he]}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[Le],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 ${de})`}}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 ${de})`)}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}(me(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 ${N(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&&on(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:()=>hn(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)ue(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(N(t)),s)throw u;return function fr(e,t,n,i){const s=e[pn];throw t[fn]&&s.unshift(t[fn]),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=N(t);if(Array.isArray(t))s=t.map(N).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):N(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(N(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=()=>hn(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&&ue(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 ${N(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(Z(n)?n:e)[Le]}(),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(dn(),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:N(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:()=>hn(df)}),e.__NG_ELEMENT_ID__=-1,e})();function ea(e,t=Ct.Default){const n=ct();return null===n?hn(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(ce(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?me(a):u(a,i||"",s);e.setAttribute(t,s,v,n)}}(t[Le],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=sn;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[Le],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=on(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,Bt;Fi(_t);try{const Kt=this.componentDef;let un,It=null;Kt.findHostDirectiveDefs?(un=[],It=new Map,Kt.findHostDirectiveDefs(Kt,un,It),un.push(Kt)):un=[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,un,_t,v,U);Bt=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)&&(dn(),Ei(nr(),s,e,t,n,i)),Eu}function ra(e,t,n,i){return oo(e,vo(),n)?t+me(n)+i:Tn}function oa(e,t,n,i,s,a){const v=Rs(e,function tr(){return an.lFrame.bindingIndex}(),n,s);return yo(2),v?t+me(n)+i+me(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=dn(),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[Le].createComment("");Ml(U,E,je,Se),Zr(je,E),Nl(E,E[Q]=Xf(je,E,je,Se)),rn(Se)&&du(U,E,Se),null!=u&&fu(E,Se,v)}function yh(e){return po(function ks(){return an.lFrame.contextLView}(),et+e)}function Iu(e,t,n){const i=ct();return oo(i,vo(),t)&&Fo(dn(),nr(),i,e,t,i[Le],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=dn(),u=et+e,v=s[Le],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 an.lFrame.currentNamespace}()),Q=rn(E);return no(E,!0),Zd(v,U,E),32!=(32&E.flags)&&Ml(a,s,U,E),0===function O(){return an.lFrame.elementDepthCount}()&&Zr(U,s),function M(){an.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(){an.lFrame.elementDepthCount--}();const n=dn();return n.firstCreatePass&&(vi(n,e),ce(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=dn(),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[Le].createComment("");return Ml(s,i,v,u),Zr(v,i),rn(u)&&(du(s,i,u),uu(s,u,i)),null!=n&&fu(i,u),Yl}function Gl(){let e=Fr();const t=dn();return ji()?$o():(e=e.parent,no(e,!1)),t.firstCreatePass&&(vi(t,e),ce(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=dn(),u=Fr();return function Eh(e,t,n,i,s,a,u){const v=rn(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),Bt=u?u(xt):xt,Kt=Se.length,un=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(Bt,s,a);Se.push(a,In),U&&U.push(s,un,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 Bt=0;Bt-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(an.lFrame.contextLView=function us(e,t){for(;e>0;)t=t[S],e--;return t}(e,an.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)&&kt(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=dn(),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=an.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&&kt(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[Le],e,s[u+1]=function x_(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=N(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?Nt(je,i):Q===i?je:void 0;if(U&&!Zl(Qe)&&(Qe=Nt(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=Nt(E,i))}return v}function Zl(e){return void 0!==e}function qh(e,t=""){const n=ct(),i=dn(),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[Le],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)[ln.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 ln=(()=>((ln=ln||{})[ln.LocaleId=0]="LocaleId",ln[ln.DayPeriodsFormat=1]="DayPeriodsFormat",ln[ln.DayPeriodsStandalone=2]="DayPeriodsStandalone",ln[ln.DaysFormat=3]="DaysFormat",ln[ln.DaysStandalone=4]="DaysStandalone",ln[ln.MonthsFormat=5]="MonthsFormat",ln[ln.MonthsStandalone=6]="MonthsStandalone",ln[ln.Eras=7]="Eras",ln[ln.FirstDayOfWeek=8]="FirstDayOfWeek",ln[ln.WeekendRange=9]="WeekendRange",ln[ln.DateFormat=10]="DateFormat",ln[ln.TimeFormat=11]="TimeFormat",ln[ln.DateTimeFormat=12]="DateTimeFormat",ln[ln.NumberSymbols=13]="NumberSymbols",ln[ln.NumberFormats=14]="NumberFormats",ln[ln.CurrencyCode=15]="CurrencyCode",ln[ln.CurrencySymbol=16]="CurrencySymbol",ln[ln.CurrencyName=17]="CurrencyName",ln[ln.Currencies=18]="Currencies",ln[ln.Directionality=19]="Directionality",ln[ln.PluralCase=20]="PluralCase",ln[ln.ExtraData=21]="ExtraData",ln))();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 Pe(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),Bt=_t>=0&&n[_t];if(s&&!Bt||!s&&!(Qe>=0&&n[Qe])){ms(Ji(U,u),a,v);const Kt=function K0(e,t,n,i,s){const a=new Pe(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&&Bt&&(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&&Bt&&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=dn();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}],N(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(hn(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=dn();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-sn}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(on(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=sn+i,a=n.length;i>0&&(n[s-1][he]=t),i0)i.push(u[v/2]);else{const U=a[v+1],Q=t[-E];for(let Se=sn;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)(hn(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=on(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)(hn(jo),hn(Jg),hn(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){L(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)(hn(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)(hn(jo),hn(Os),hn($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(Ve(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)(hn(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=on(e),i=t.elementInjector||Pl();return new Ha(n).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}function UC(e){const t=on(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:()=>ge,Fd:()=>ci,JJ:()=>Zt,JL:()=>Ct,JU:()=>N,NI:()=>ye,On:()=>xe,UX:()=>fi,_Y:()=>et,a5:()=>Xe,nD:()=>Ir,qQ:()=>So,qu:()=>eo,sg:()=>qt,u:()=>Dr,u5:()=>an});var o=g(4650),r=g(6895),B=g(2076),V=g(4128),te=g(4004);let P=(()=>{class R{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 R.\u0275fac=function(M){return new(M||R)(o.Y36(o.Qsj),o.Y36(o.SBq))},R.\u0275dir=o.lG2({type:R}),R})(),H=(()=>{class R extends P{}return R.\u0275fac=function(){let O;return function(ee){return(O||(O=o.n5z(R)))(ee||R)}}(),R.\u0275dir=o.lG2({type:R,features:[o.qOj]}),R})();const N=new o.OlP("NgValueAccessor"),K={provide:N,useExisting:(0,o.Gpc)(()=>ue),multi:!0},pe=new o.OlP("CompositionEventMode");let ue=(()=>{class R extends P{constructor(M,ee,rt){super(M,ee),this._compositionMode=rt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function oe(){const R=(0,r.q)()?(0,r.q)().getUserAgent():"";return/android (\d+)/.test(R.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 R.\u0275fac=function(M){return new(M||R)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(pe,8))},R.\u0275dir=o.lG2({type:R,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([K]),o.qOj]}),R})();const ne=!1;function de(R){return null==R||("string"==typeof R||Array.isArray(R))&&0===R.length}const ge=new o.OlP("NgValidators"),me=new o.OlP("NgAsyncValidators");function Be(R){return null}function ie(R){return null!=R}function ke(R){const O=(0,o.QGY)(R)?(0,B.D)(R):R;if(ne&&!(0,o.CqO)(O)){let M="Expected async validator to return Promise or Observable.";throw"object"==typeof R&&(M+=" Are you using a synchronous validator where an async validator is expected?"),new o.vHH(-1101,M)}return O}function We(R){let O={};return R.forEach(M=>{O=null!=M?{...O,...M}:O}),0===Object.keys(O).length?null:O}function st(R,O){return O.map(M=>M(R))}function Y(R){return R.map(O=>function _e(R){return!R.validate}(O)?O:M=>O.validate(M))}function L(R){return null!=R?function C(R){if(!R)return null;const O=R.filter(ie);return 0==O.length?null:function(M){return We(st(M,O))}}(Y(R)):null}function se(R){return null!=R?function k(R){if(!R)return null;const O=R.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))}}(Y(R)):null}function ae(R,O){return null===R?[O]:Array.isArray(R)?[...R,O]:[R,O]}function Ye(R){return R._rawValidators}function qe(R){return R._rawAsyncValidators}function gt(R){return R?Array.isArray(R)?R:[R]:[]}function dt(R,O){return Array.isArray(R)?R.includes(O):R===O}function At(R,O){const M=gt(O);return gt(R).forEach(rt=>{dt(M,rt)||M.push(rt)}),M}function Wt(R,O){return gt(O).filter(M=>!dt(R,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=L(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 R extends ut{constructor(M){super(M)}}return R.\u0275fac=function(M){return new(M||R)(o.Y36(Xe,2))},R.\u0275dir=o.lG2({type:R,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]}),R})(),Ct=(()=>{class R extends ut{constructor(M){super(M)}}return R.\u0275fac=function(M){return new(M||R)(o.Y36(Je,10))},R.\u0275dir=o.lG2({type:R,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]}),R})();function An(R,O){return R?`with name: '${O}'`:`at index: ${O}`}const Qt=!1,dr="VALID",hn="INVALID",Hn="PENDING",Kn="DISABLED";function cr(R){return(fr(R)?R.validators:R)||null}function jn(R,O){return(fr(O)?O.asyncValidators:R)||null}function fr(R){return null!=R&&!Array.isArray(R)&&"object"==typeof R}function Pr(R,O,M){const ee=R.controls;if(!(O?Object.keys(ee):ee).length)throw new o.vHH(1e3,Qt?function ar(R){return`\n There are no form controls registered with this ${R?"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 fn(R,O){return`Cannot find form control ${An(R,O)}`}(O,M):"")}function Fn(R,O,M){R._forEachChild((ee,rt)=>{if(void 0===M[rt])throw new o.vHH(1002,Qt?function lr(R,O){return`Must supply a value for form control ${An(R,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===hn}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?hn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Hn)?Hn:this._anyControlsHaveStatus(hn)?hn: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(R){return Array.isArray(R)?L(R):R||null}(this._rawValidators)}_assignAsyncValidators(O){this._rawAsyncValidators=Array.isArray(O)?O.slice():O,this._composedAsyncValidatorFn=function yr(R){return Array.isArray(R)?se(R):R||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 Ie=new o.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Ke}),Ke="always";function ot(R,O){return[...O.path,R]}function wt(R,O,M=Ke){hr(R,O),O.valueAccessor.writeValue(R.value),(R.disabled||"always"===M)&&O.valueAccessor.setDisabledState?.(R.disabled),function Sn(R,O){O.valueAccessor.registerOnChange(M=>{R._pendingValue=M,R._pendingChange=!0,R._pendingDirty=!0,"change"===R.updateOn&&_r(R,O)})}(R,O),function pr(R,O){const M=(ee,rt)=>{O.valueAccessor.writeValue(ee),rt&&O.viewToModelUpdate(ee)};R.registerOnChange(M),O._registerOnDestroy(()=>{R._unregisterOnChange(M)})}(R,O),function zn(R,O){O.valueAccessor.registerOnTouched(()=>{R._pendingTouched=!0,"blur"===R.updateOn&&R._pendingChange&&_r(R,O),"submit"!==R.updateOn&&R.markAsTouched()})}(R,O),function Pn(R,O){if(O.valueAccessor.setDisabledState){const M=ee=>{O.valueAccessor.setDisabledState(ee)};R.registerOnDisabledChange(M),O._registerOnDestroy(()=>{R._unregisterOnDisabledChange(M)})}}(R,O)}function Jt(R,O,M=!0){const ee=()=>{};O.valueAccessor&&(O.valueAccessor.registerOnChange(ee),O.valueAccessor.registerOnTouched(ee)),qn(R,O),R&&(O._invokeOnDestroyCallbacks(),R._registerOnCollectionChange(()=>{}))}function Dn(R,O){R.forEach(M=>{M.registerOnValidatorChange&&M.registerOnValidatorChange(O)})}function hr(R,O){const M=Ye(R);null!==O.validator?R.setValidators(ae(M,O.validator)):"function"==typeof M&&R.setValidators([M]);const ee=qe(R);null!==O.asyncValidator?R.setAsyncValidators(ae(ee,O.asyncValidator)):"function"==typeof ee&&R.setAsyncValidators([ee]);const rt=()=>R.updateValueAndValidity();Dn(O._rawValidators,rt),Dn(O._rawAsyncValidators,rt)}function qn(R,O){let M=!1;if(null!==R){if(null!==O.validator){const rt=Ye(R);if(Array.isArray(rt)&&rt.length>0){const Ut=rt.filter(er=>er!==O.validator);Ut.length!==rt.length&&(M=!0,R.setValidators(Ut))}}if(null!==O.asyncValidator){const rt=qe(R);if(Array.isArray(rt)&&rt.length>0){const Ut=rt.filter(er=>er!==O.asyncValidator);Ut.length!==rt.length&&(M=!0,R.setAsyncValidators(Ut))}}}const ee=()=>{};return Dn(O._rawValidators,ee),Dn(O._rawAsyncValidators,ee),M}function _r(R,O){R._pendingDirty&&R.markAsDirty(),R.setValue(R._pendingValue,{emitModelToViewChange:!1}),O.viewToModelUpdate(R._pendingValue),R._pendingChange=!1}function vn(R,O){if(!R.hasOwnProperty("model"))return!1;const M=R.model;return!!M.isFirstChange()||!Object.is(O,M.currentValue)}function Et(R,O){if(!O)return null;let M,ee,rt;return Array.isArray(O),O.forEach(Ut=>{Ut.constructor===ue?M=Ut:function Un(R){return Object.getPrototypeOf(R.constructor)===H}(Ut)?ee=Ut:rt=Ut}),rt||ee||M||null}function A(R,O){const M=R.indexOf(O);M>-1&&R.splice(M,1)}function G(R){return"object"==typeof R&&null!==R&&2===Object.keys(R).length&&"value"in R&&"disabled"in R}const ye=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)(()=>xe)},Ne=(()=>Promise.resolve())();let xe=(()=>{class R extends Xe{constructor(M,ee,rt,Ut,er,ct){super(),this._changeDetectorRef=er,this.callSetDisabledState=ct,this.control=new ye,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){Ne.then(()=>{this.control.setValue(M,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(M){const ee=M.isDisabled.currentValue,rt=0!==ee&&(0,o.D6c)(ee);Ne.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 R.\u0275fac=function(M){return new(M||R)(o.Y36(Je,9),o.Y36(ge,10),o.Y36(me,10),o.Y36(N,10),o.Y36(o.sBO,8),o.Y36(Ie,8))},R.\u0275dir=o.lG2({type:R,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]}),R})(),et=(()=>{class R{}return R.\u0275fac=function(M){return new(M||R)},R.\u0275dir=o.lG2({type:R,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),R})(),$t=(()=>{class R{}return R.\u0275fac=function(M){return new(M||R)},R.\u0275mod=o.oAB({type:R}),R.\u0275inj=o.cJS({}),R})();const D=new o.OlP("NgModelWithFormControlWarning"),rn={provide:Je,useExisting:(0,o.Gpc)(()=>qt)};let qt=(()=>{class R 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(R,O){const M=R.indexOf(O);M>-1&&R.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(R,O){R._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),(R=>R instanceof ye)(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(R,O){hr(R,O)})(ee,M),ee.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(M){if(this.form){const ee=this.form.get(M.path);ee&&function on(R,O){return qn(R,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 R.\u0275fac=function(M){return new(M||R)(o.Y36(ge,10),o.Y36(me,10),o.Y36(Ie,8))},R.\u0275dir=o.lG2({type:R,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([rn]),o.qOj,o.TTD]}),R})();const Kr={provide:Xe,useExisting:(0,o.Gpc)(()=>Dr)};let Dr=(()=>{class R 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 R._ngModelWarningSentOnce=!1,R.\u0275fac=function(M){return new(M||R)(o.Y36(Je,13),o.Y36(ge,10),o.Y36(me,10),o.Y36(N,10),o.Y36(D,8))},R.\u0275dir=o.lG2({type:R,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[o._Bn([Kr]),o.qOj,o.TTD]}),R})();function No(R){return"number"==typeof R?R:parseFloat(R)}let Rr=(()=>{class R{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 R.\u0275fac=function(M){return new(M||R)},R.\u0275dir=o.lG2({type:R,features:[o.TTD]}),R})();const ur={provide:ge,useExisting:(0,o.Gpc)(()=>ci),multi:!0};let ci=(()=>{class R extends Rr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=M=>No(M),this.createValidator=M=>function Oe(R){return O=>{if(de(O.value)||de(R))return null;const M=parseFloat(O.value);return!isNaN(M)&&M>R?{max:{max:R,actual:O.value}}:null}}(M)}}return R.\u0275fac=function(){let O;return function(ee){return(O||(O=o.n5z(R)))(ee||R)}}(),R.\u0275dir=o.lG2({type:R,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]}),R})();const ko={provide:ge,useExisting:(0,o.Gpc)(()=>So),multi:!0};let So=(()=>{class R extends Rr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=M=>No(M),this.createValidator=M=>function Fe(R){return O=>{if(de(O.value)||de(R))return null;const M=parseFloat(O.value);return!isNaN(M)&&MIr),multi:!0};let Ir=(()=>{class R extends Rr{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=M=>function Yr(R){return"number"==typeof R?R:parseInt(R,10)}(M),this.createValidator=M=>function De(R){return O=>function W(R){return null!=R&&"number"==typeof R.length}(O.value)&&O.value.length>R?{maxlength:{requiredLength:R,actualLength:O.value.length}}:null}(M)}}return R.\u0275fac=function(){let O;return function(ee){return(O||(O=o.n5z(R)))(ee||R)}}(),R.\u0275dir=o.lG2({type:R,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]}),R})(),ho=(()=>{class R{}return R.\u0275fac=function(M){return new(M||R)},R.\u0275mod=o.oAB({type:R}),R.\u0275inj=o.cJS({imports:[$t]}),R})();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(R){return!!R&&(void 0!==R.asyncValidators||void 0!==R.validators||void 0!==R.updateOn)}let eo=(()=>{class R{constructor(){this.useNonNullable=!1}get nonNullable(){const M=new R;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 ye(M,{...Ut,nonNullable:!0})):new ye(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 ye||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 R.\u0275fac=function(M){return new(M||R)},R.\u0275prov=o.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),an=(()=>{class R{static withConfig(M){return{ngModule:R,providers:[{provide:Ie,useValue:M.callSetDisabledState??Ke}]}}}return R.\u0275fac=function(M){return new(M||R)},R.\u0275mod=o.oAB({type:R}),R.\u0275inj=o.cJS({imports:[ho]}),R})(),fi=(()=>{class R{static withConfig(M){return{ngModule:R,providers:[{provide:D,useValue:M.warnOnNgModelWithFormControl??"always"},{provide:Ie,useValue:M.callSetDisabledState??Ke}]}}}return R.\u0275fac=function(M){return new(M||R)},R.\u0275mod=o.oAB({type:R}),R.\u0275inj=o.cJS({imports:[ho]}),R})()},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,Ie,Ke){return $e.addEventListener(Ie,Ke,!1),()=>{$e.removeEventListener(Ie,Ke,!1)}}dispatchEvent($e,Ie){$e.dispatchEvent(Ie)}remove($e){$e.parentNode&&$e.parentNode.removeChild($e)}createElement($e,Ie){return(Ie=Ie||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,Ie){return"window"===Ie?window:"document"===Ie?$e:"body"===Ie?$e.body:null}getBaseHref($e){const Ie=function P(){return te=te||document.querySelector("base"),te?te.getAttribute("href"):null}();return null==Ie?null:function N(Ze){H=H||document.createElement("a"),H.setAttribute("href",Ze);const $e=H.pathname;return"/"===$e.charAt(0)?$e:`/${$e}`}(Ie)}resetBaseElement(){te=null}getUserAgent(){return window.navigator.userAgent}getCookie($e){return(0,o.Mx)(document.cookie,$e)}}let H,te=null;const re=new r.OlP("TRANSITION_ID"),K=[{provide:r.ip1,useFactory:function ve(Ze,$e,Ie){return()=>{Ie.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(Ie){return new(Ie||Ze)},Ze.\u0275prov=r.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const ue=new r.OlP("EventManagerPlugins");let ne=(()=>{class Ze{constructor(Ie,Ke){this._zone=Ke,this._eventNameToPlugin=new Map,Ie.forEach(ot=>{ot.manager=this}),this._plugins=Ie.slice().reverse()}addEventListener(Ie,Ke,ot){return this._findPluginFor(Ke).addEventListener(Ie,Ke,ot)}addGlobalEventListener(Ie,Ke,ot){return this._findPluginFor(Ke).addGlobalEventListener(Ie,Ke,ot)}getZone(){return this._zone}_findPluginFor(Ie){const Ke=this._eventNameToPlugin.get(Ie);if(Ke)return Ke;const ot=this._plugins;for(let wt=0;wt{class Ze{constructor(){this.usageCount=new Map}addStyles(Ie){for(const Ke of Ie)1===this.changeUsageCount(Ke,1)&&this.onStyleAdded(Ke)}removeStyles(Ie){for(const Ke of Ie)0===this.changeUsageCount(Ke,-1)&&this.onStyleRemoved(Ke)}onStyleRemoved(Ie){}onStyleAdded(Ie){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(Ie,Ke){const ot=this.usageCount;let wt=ot.get(Ie)??0;return wt+=Ke,wt>0?ot.set(Ie,wt):ot.delete(Ie),wt}ngOnDestroy(){for(const Ie of this.getAllStyles())this.onStyleRemoved(Ie);this.usageCount.clear()}}return Ze.\u0275fac=function(Ie){return new(Ie||Ze)},Ze.\u0275prov=r.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})(),ge=(()=>{class Ze extends W{constructor(Ie){super(),this.doc=Ie,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(Ie){for(const Ke of this.hostNodes)this.addStyleToHost(Ke,Ie)}onStyleRemoved(Ie){const Ke=this.styleRef;Ke.get(Ie)?.forEach(wt=>wt.remove()),Ke.delete(Ie)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(Ie){this.hostNodes.add(Ie);for(const Ke of this.getAllStyles())this.addStyleToHost(Ie,Ke)}removeHost(Ie){this.hostNodes.delete(Ie)}addStyleToHost(Ie,Ke){const ot=this.doc.createElement("style");ot.textContent=Ke,Ie.appendChild(ot);const wt=this.styleRef.get(Ke);wt?wt.push(ot):this.styleRef.set(Ke,[ot])}resetHostNodes(){const Ie=this.hostNodes;Ie.clear(),Ie.add(this.doc.head)}}return Ze.\u0275fac=function(Ie){return new(Ie||Ze)(r.LFG(o.K0))},Ze.\u0275prov=r.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const me={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/"},Ue=/%COMP%/g,J=new r.OlP("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function Te(Ze,$e){return $e.flat(100).map(Ie=>Ie.replace(Ue,Ze))}function Be(Ze){return $e=>{if("__ngUnwrap__"===$e)return Ze;!1===Ze($e)&&($e.preventDefault(),$e.returnValue=!1)}}let ie=(()=>{class Ze{constructor(Ie,Ke,ot,wt){this.eventManager=Ie,this.sharedStylesHost=Ke,this.appId=ot,this.removeStylesOnCompDestory=wt,this.rendererByCompId=new Map,this.defaultRenderer=new ke(Ie)}createRenderer(Ie,Ke){if(!Ie||!Ke)return this.defaultRenderer;const ot=this.getOrCreateRenderer(Ie,Ke);return ot instanceof L?ot.applyToHost(Ie):ot instanceof C&&ot.applyStyles(),ot}getOrCreateRenderer(Ie,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 L(Jt,Dn,Ke,this.appId,Pn);break;case r.ifc.ShadowDom:return new Y(Jt,Dn,Ie,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(Ie){return new(Ie||Ze)(r.LFG(ne),r.LFG(ge),r.LFG(r.AFp),r.LFG(J))},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,Ie){return Ie?document.createElementNS(me[Ie]||Ie,$e):document.createElement($e)}createComment($e){return document.createComment($e)}createText($e){return document.createTextNode($e)}appendChild($e,Ie){(_e($e)?$e.content:$e).appendChild(Ie)}insertBefore($e,Ie,Ke){$e&&(_e($e)?$e.content:$e).insertBefore(Ie,Ke)}removeChild($e,Ie){$e&&$e.removeChild(Ie)}selectRootElement($e,Ie){let Ke="string"==typeof $e?document.querySelector($e):$e;if(!Ke)throw new Error(`The selector "${$e}" did not match any elements`);return Ie||(Ke.textContent=""),Ke}parentNode($e){return $e.parentNode}nextSibling($e){return $e.nextSibling}setAttribute($e,Ie,Ke,ot){if(ot){Ie=ot+":"+Ie;const wt=me[ot];wt?$e.setAttributeNS(wt,Ie,Ke):$e.setAttribute(Ie,Ke)}else $e.setAttribute(Ie,Ke)}removeAttribute($e,Ie,Ke){if(Ke){const ot=me[Ke];ot?$e.removeAttributeNS(ot,Ie):$e.removeAttribute(`${Ke}:${Ie}`)}else $e.removeAttribute(Ie)}addClass($e,Ie){$e.classList.add(Ie)}removeClass($e,Ie){$e.classList.remove(Ie)}setStyle($e,Ie,Ke,ot){ot&(r.JOm.DashCase|r.JOm.Important)?$e.style.setProperty(Ie,Ke,ot&r.JOm.Important?"important":""):$e.style[Ie]=Ke}removeStyle($e,Ie,Ke){Ke&r.JOm.DashCase?$e.style.removeProperty(Ie):$e.style[Ie]=""}setProperty($e,Ie,Ke){$e[Ie]=Ke}setValue($e,Ie){$e.nodeValue=Ie}listen($e,Ie,Ke){return"string"==typeof $e?this.eventManager.addGlobalEventListener($e,Ie,Be(Ke)):this.eventManager.addEventListener($e,Ie,Be(Ke))}}function _e(Ze){return"TEMPLATE"===Ze.tagName&&void 0!==Ze.content}class Y extends ke{constructor($e,Ie,Ke,ot){super($e),this.sharedStylesHost=Ie,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,Ie){return super.appendChild(this.nodeOrShadowRoot($e),Ie)}insertBefore($e,Ie,Ke){return super.insertBefore(this.nodeOrShadowRoot($e),Ie,Ke)}removeChild($e,Ie){return super.removeChild(this.nodeOrShadowRoot($e),Ie)}parentNode($e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot($e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class C extends ke{constructor($e,Ie,Ke,ot,wt=Ke.id){super($e),this.sharedStylesHost=Ie,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 L extends C{constructor($e,Ie,Ke,ot,wt){const Jt=ot+"-"+Ke.id;super($e,Ie,Ke,wt,Jt),this.contentAttr=function be(Ze){return"_ngcontent-%COMP%".replace(Ue,Ze)}(Jt),this.hostAttr=function De(Ze){return"_nghost-%COMP%".replace(Ue,Ze)}(Jt)}applyToHost($e){this.applyStyles(),this.setAttribute($e,this.hostAttr,"")}createElement($e,Ie){const Ke=super.createElement($e,Ie);return super.setAttribute(Ke,this.contentAttr,""),Ke}}let k=(()=>{class Ze extends de{constructor(Ie){super(Ie)}supports(Ie){return!0}addEventListener(Ie,Ke,ot){return Ie.addEventListener(Ke,ot,!1),()=>this.removeEventListener(Ie,Ke,ot)}removeEventListener(Ie,Ke,ot){return Ie.removeEventListener(Ke,ot)}}return Ze.\u0275fac=function(Ie){return new(Ie||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 de{constructor(Ie){super(Ie)}supports(Ie){return null!=Ze.parseEventName(Ie)}addEventListener(Ie,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(Ie,wt.domEventName,Jt))}static parseEventName(Ie){const Ke=Ie.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(Ie,Ke){let ot=ae[Ie.key]||Ie.key,wt="";return Ke.indexOf("code.")>-1&&(ot=Ie.code,wt="code."),!(null==ot||!ot)&&(ot=ot.toLowerCase()," "===ot?ot="space":"."===ot&&(ot="dot"),se.forEach(Jt=>{Jt!==ot&&(0,Ye[Jt])(Ie)&&(wt+=Jt+".")}),wt+=ot,wt===Ke)}static eventCallback(Ie,Ke,ot){return wt=>{Ze.matchEventFullKeyCode(wt,Ie)&&ot.runGuarded(()=>Ke(wt))}}static _normalizeKey(Ie){return"esc"===Ie?"escape":Ie}}return Ze.\u0275fac=function(Ie){return new(Ie||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,Ie,Ke){return null==Ie?null:$e.getTestability(Ie)??(Ke?(0,o.q)().isShadowRoot(Ie)?this.findTestabilityInTree($e,Ie.host,!0):this.findTestabilityInTree($e,Ie.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:ue,useClass:k,multi:!0,deps:[o.K0,r.R0b,r.Lbi]},{provide:ue,useClass:qe,multi:!0,deps:[o.K0]},{provide:ie,useClass:ie,deps:[ne,ge,r.AFp,J]},{provide:r.FYo,useExisting:ie},{provide:W,useExisting:ge},{provide:ge,useClass:ge,deps:[o.K0]},{provide:ne,useClass:ne,deps:[ue,r.R0b]},{provide:o.JF,useClass:pe,deps:[]},[]];let Xt=(()=>{class Ze{constructor(Ie){}static withServerTransition(Ie){return{ngModule:Ze,providers:[{provide:r.AFp,useValue:Ie.appId},{provide:re,useExisting:r.AFp},K]}}}return Ze.\u0275fac=function(Ie){return new(Ie||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(Ie){this._doc=Ie}getTitle(){return this._doc.title}setTitle(Ie){this._doc.title=Ie||""}}return Ze.\u0275fac=function(Ie){return new(Ie||Ze)(r.LFG(o.K0))},Ze.\u0275prov=r.Yz7({token:Ze,factory:function(Ie){let Ke=null;return Ke=Ie?new Ie: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),H=g(7272),N=g(9770),re=g(9635),ve=g(2843),K=g(9751),oe=g(515),pe=g(4033),ue=g(7579),ne=g(6895),de=g(4004),W=g(3900),ge=g(5698),me=g(8675),Ue=g(9300),Ce=g(5577),Fe=g(590),Oe=g(4351),Ee=g(8505),z=g(262),J=g(5026),be=g(4482),De=g(5403);function Te(f){return f<=0?()=>oe.E:(0,be.e)((m,c)=>{let b=[];m.subscribe((0,De.x)(c,F=>{b.push(F),f{for(const F of b)c.next(F);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,Ue.h)((F,q)=>f(F,q,b)):ke.y,Te(1),c?(0,ie.d)(m):(0,Be.T)(()=>new te.K))}var _e=g(9718),Y=g(8746),C=g(8343),L=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]===F)}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 Ft(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 F=f.segments.slice(0,c.length);return!(!pn(F,c)||m.hasChildren()||!bn(F,c,b))}if(f.segments.length===c.length){if(!pn(f.segments,c)||!bn(f.segments,c,b))return!1;for(const F in m.children)if(!f.children[F]||!sr(f.children[F],m.children[F],b))return!1;return!0}{const F=c.slice(0,f.segments.length),q=c.slice(f.segments.length);return!!(pn(f.segments,F)&&bn(f.segments,F,b)&&f.children[se])&&_n(f.children[se],m,q,b)}}function bn(f,m,c){return m.every((b,F)=>Ct[c](f[F].parameters,b.parameters))}class Lt{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 fn.serialize(this)}}class Dt{constructor(m,c){this.segments=m,this.children=c,this.parent=null,ut(c,(b,F)=>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 Lt(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(F=>`${hn(c)}=${hn(F)}`).join("&"):`${hn(c)}=${hn(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 fn=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,(F,q)=>{q!==se&&b.push(`${q}:${Qt(F,!1)}`)}),b.length>0?`${c}(${b.join("//")})`:c}{const c=function Xn(f,m){let c=[];return ut(f.children,(b,F)=>{F===se&&(c=c.concat(m(b,F)))}),ut(f.children,(b,F)=>{F!==se&&(c=c.concat(m(b,F)))}),c}(f,(b,F)=>F===se?[Qt(f.children[se],!1)]:[`${F}:${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 hn(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 F=Fn(this.remaining);F&&(b=F,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 F=vr(c),q=vr(b);if(m.hasOwnProperty(F)){let le=m[F];Array.isArray(le)||(le=[le],m[F]=le),le.push(q)}else m[F]=q}parseParens(m){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const b=Fn(this.remaining),F=this.remaining[b.length];if("/"!==F&&")"!==F&&";"!==F)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 Ie(f){const m={};for(const b of Object.keys(f.children)){const q=Ie(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 Lt}const wt=!1;function hr(f,m,c,b,F){if(0===c.length)return zn(m.root,m.root,m.root,b,F);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((F,q,le)=>{if("object"==typeof q&&null!=q){if(q.outlets){const Ge={};return ut(q.outlets,(ht,Nt)=>{Ge[Nt]="string"==typeof ht?ht.split("/"):ht}),[...F,{outlets:Ge}]}if(q.segmentPath)return[...F,q.segmentPath]}return"string"!=typeof q?[...F,q]:0===le?(q.split("/").forEach((Ge,ht)=>{0==ht&&"."===Ge||(0==ht&&""===Ge?c=!0:".."===Ge?m++:""!=Ge&&F.push(Ge))}),F):[...F,q]},[]);return new pr(c,m,b)}(c);return q.toRoot()?zn(m.root,m.root,new Dt([],{}),b,F):function le(ht){const Nt=function Nn(f,m,c,b){if(f.isAbsolute)return new on(m.root,!0,0);if(-1===b)return new on(c,c===m.root,0);return function En(f,m,c){let b=f,F=m,q=c;for(;q>F;){if(q-=F,b=b.parent,!b)throw new o.vHH(4005,wt&&"Invalid number of '../'");F=b.segments.length}return new on(b,!1,F-q)}(c,b+(qn(f.commands[0])?0:1),f.numberOfDoubleDots)}(q,m,f.snapshot?._urlSegment,ht),kt=Nt.processChildren?vn(Nt.segmentGroup,Nt.index,q.commands):gr(Nt.segmentGroup,Nt.index,q.commands);return zn(m.root,Nt.segmentGroup,kt,b,F)}(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,F){let le,q={};b&&ut(b,(ht,Nt)=>{q[Nt]=Array.isArray(ht)?ht.map(kt=>`${kt}`):`${ht}`}),le=f===m?c:_r(f,m,c);const Ge=$e(Ie(le));return new Lt(Ge,q,F)}function _r(f,m,c){const b={};return ut(f.children,(F,q)=>{b[q]=F===m?c:_r(F,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 F=b.find(Sn);if(F&&F!==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 on{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,F=m;const q={match:!1,pathIndex:0,commandIndex:0};for(;F=c.length)return q;const le=f.segments[F],Ge=c[b];if(Sn(Ge))break;const ht=`${Ge}`,Nt=b0&&void 0===ht)break;if(ht&&Nt&&"object"==typeof Nt&&void 0===Nt.outlets){if(!xn(ht,Nt,le))return q;b+=2}else{if(!xn(ht,{},le))return q;b++}F++}return{match:!0,pathIndex:F,commandIndex:b}}(f,m,c),F=c.slice(b.commandIndex);if(b.match&&b.pathIndex{"string"==typeof q&&(q=[q]),null!==q&&(F[le]=gr(f.children[le],m,q))}),ut(f.children,(q,le)=>{void 0===b[le]&&(F[le]=q)}),new Dt(f.segments,F)}}function kn(f,m,c){const b=f.segments.slice(0,m);let F=0;for(;F{"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 he="imperative";class w{constructor(m,c){this.id=m,this.url=c}}class I extends w{constructor(m,c,b="imperative",F=null){super(m,c),this.type=0,this.navigationTrigger=b,this.restoredState=F}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,F){super(m,c),this.reason=b,this.code=F,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ye extends w{constructor(m,c,b,F){super(m,c),this.reason=b,this.code=F,this.type=16}}class Me extends w{constructor(m,c,b,F){super(m,c),this.error=b,this.target=F,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Le extends w{constructor(m,c,b,F){super(m,c),this.urlAfterRedirects=b,this.state=F,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,F){super(m,c),this.urlAfterRedirects=b,this.state=F,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,F,q){super(m,c),this.urlAfterRedirects=b,this.state=F,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,F){super(m,c),this.urlAfterRedirects=b,this.state=F,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,F){super(m,c),this.urlAfterRedirects=b,this.state=F,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 Ne{constructor(m){this.snapshot=m,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xe{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 ft=(()=>{class f{createUrlTree(c,b,F,q,le,Ge){return hr(c||b.root,F,q,le,Ge)}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac}),f})(),$t=(()=>{class f{}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=o.Yz7({token:f,factory:function(m){return ft.\u0275fac(m)},providedIn:"root"}),f})();class nn{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=sn(m,this._root);return c?c.children.map(b=>b.value):[]}firstChild(m){const c=sn(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(F=>F.value).filter(F=>F!==m)}pathFromRoot(m){return h(m,this._root).map(c=>c.value)}}function sn(f,m){if(f===m.value)return m;for(const c of m.children){const b=sn(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 Z{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 ce extends nn{constructor(m,c){super(m),this.snapshot=c,Xr(this,m)}toString(){return this.snapshot.toString()}}function Ve(f,m){const c=function rn(f,m){const le=new Er([],{},{},"",{},se,m,null,f.root,-1,{});return new Io("",new Z(le,[]))}(f,m),b=new V.X([new Qn("",{})]),F=new V.X({}),q=new V.X({}),le=new V.X({}),Ge=new V.X(""),ht=new qt(b,F,le,Ge,q,se,m,c.root);return ht.snapshot=c.root,new ce(new Z(ht,[]),c)}class qt{constructor(m,c,b,F,q,le,Ge,ht){this.url=m,this.params=c,this.queryParams=b,this.fragment=F,this.data=q,this.outlet=le,this.component=Ge,this.title=this.data?.pipe((0,de.U)(Nt=>Nt[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,de.U)(m=>qe(m)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,de.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 F=c[b],q=c[b-1];if(F.routeConfig&&""===F.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,F,q,le,Ge,ht,Nt,kt,Yn){this.url=m,this.params=c,this.queryParams=b,this.fragment=F,this.data=q,this.outlet=le,this.component=Ge,this.routeConfig=ht,this._urlSegment=Nt,this._lastPathIndex=kt,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 nn{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 F=function Lo(f,m,c){return m.children.map(b=>{for(const F of c.children)if(f.shouldReuseRoute(b.value,F.value.snapshot))return uo(f,b,F);return uo(f,b)})}(f,m,c);return new Z(b,F)}{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),F=m.children.map(q=>uo(f,q));return new Z(b,F)}}const Ai="ngNavigationCancelingError";function li(f,m){const{redirectTo:c,navigationBehaviorOptions:b}=ot(m)?{redirectTo:m,navigationBehaviorOptions:void 0}:m,F=xi(!1,0,m);return F.url=c,F.navigationBehaviorOptions=b,F}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 F=this.getOrCreateContext(c);F.outlet=b,this.contexts.set(c,F)}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:F}=c.name;if(b)return;this.isTrackedInParentContexts(F)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(F)),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 F=this.location,le=c.snapshot.component,Ge=this.parentContexts.getOrCreateContext(this.name).children,ht=new ur(c,Ge,F.injector);if(b&&function ci(f){return!!f.resolveComponentFactory}(b)){const Nt=b.resolveComponentFactory(le);this.activated=F.createComponent(Nt,F.length,ht)}else this.activated=F.createComponent(le,{index:F.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,F){this.routeReuseStrategy=m,this.futureState=c,this.currState=b,this.forwardEvent=F}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 F=D(c);m.children.forEach(q=>{const le=q.value.outlet;this.deactivateRoutes(q,F[le],b),delete F[le]}),ut(F,(q,le)=>{this.deactivateRouteAndItsChildren(q,b)})}deactivateRoutes(m,c,b){const F=m.value,q=c?c.value:null;if(F===q)if(F.component){const le=b.getContext(F.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),F=b&&m.value.component?b.children:c,q=D(m);for(const le of Object.keys(q))this.deactivateRouteAndItsChildren(q[le],F);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),F=b&&m.value.component?b.children:c,q=D(m);for(const le of Object.keys(q))this.deactivateRouteAndItsChildren(q[le],F);b&&(b.outlet&&(b.outlet.deactivate(),b.children.onOutletDeactivated()),b.attachRef=null,b.resolver=null,b.route=null)}activateChildRoutes(m,c,b){const F=D(c);m.children.forEach(q=>{this.activateRoutes(q,F[q.value.outlet],b),this.forwardEvent(new xe(q.value.snapshot))}),m.children.length&&this.forwardEvent(new ze(m.value.snapshot))}activateRoutes(m,c,b){const F=m.value,q=c?c.value:null;if(Dr(F),F===q)if(F.component){const le=b.getOrCreateContext(F.outlet);this.activateChildRoutes(m,c,le.children)}else this.activateChildRoutes(m,c,b);else if(F.component){const le=b.getOrCreateContext(F.outlet);if(this.routeReuseStrategy.shouldAttach(F.snapshot)){const Ge=this.routeReuseStrategy.retrieve(F.snapshot);this.routeReuseStrategy.store(F.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(F.snapshot),ht=Ge?.get(o._Vd)??null;le.attachRef=null,le.route=F,le.resolver=ht,le.injector=Ge,le.outlet&&le.outlet.activateWith(F,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,F={canDeactivateChecks:[],canActivateChecks:[]}){const q=D(m);return f.children.forEach(le=>{(function eo(f,m,c,b,F={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?F.canActivateChecks.push(new Ri(b)):(q.data=le.data,q._resolvedData=le._resolvedData),kr(f,m,q.component?Ge?Ge.children:null:c,b,F),ht&&Ge&&Ge.outlet&&Ge.outlet.isActivated&&F.canDeactivateChecks.push(new ho(Ge.outlet.component,le))}else le&&Ao(m,Ge,F),F.canActivateChecks.push(new Ri(b)),kr(f,null,q.component?Ge?Ge.children:null:c,b,F)})(le,q[le.value.outlet],c,b.concat([le.value]),F),delete q[le.value.outlet]}),ut(q,(le,Ge)=>Ao(le,c.getContext(Ge),F)),F}function Ao(f,m,c){const b=D(f),F=f.value;ut(b,(q,le)=>{Ao(q,F.component?m?m.children.getContext(le):null:m,c)}),c.canDeactivateChecks.push(new ho(F.component&&m&&m.outlet&&m.outlet.isActivated?m.outlet.component:null,F))}function to(f){return"function"==typeof f}function er(f){return f instanceof te.K||"EmptyError"===f?.name}const ct=Symbol("INITIAL_VALUE");function dn(){return(0,W.w)(f=>(0,P.a)(f.map(m=>m.pipe((0,ge.q)(1),(0,me.O)(ct)))).pipe((0,de.U)(m=>{for(const c of m)if(!0!==c){if(c===ct)return ct;if(!1===c||c instanceof Lt)return c}return!0}),(0,Ue.h)(m=>m!==ct),(0,ge.q)(1)))}function zi(f){return(0,re.z)((0,Ee.b)(m=>{if(ot(m))throw li(0,m)}),(0,de.U)(m=>!0===m))}const Sr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function tr(f,m,c,b,F){const q=mo(f,m,c);return q.matched?function Yi(f,m,c,b){const F=m.canMatch;if(!F||0===F.length)return(0,B.of)(!0);const q=F.map(le=>{const Ge=Gr(le,f);return Ft(function ee(f){return f&&to(f.canMatch)}(Ge)?Ge.canMatch(m,c):f.runInContext(()=>Ge(m,c)))});return(0,B.of)(q).pipe(dn(),zi())}(b=So(m,b),m,c).pipe((0,de.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 F=(m.matcher||gt)(c,f,m);if(!F)return{...Sr};const q={};ut(F.posParams,(Ge,ht)=>{q[ht]=Ge.path});const le=F.consumed.length>0?{...q,...F.consumed[F.consumed.length-1].parameters}:q;return{matched:!0,consumedSegments:F.consumed,remainingSegments:c.slice(F.consumed.length),parameters:le,positionalParamSegments:F.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 F={};F[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,F[Ir(q)]=le}return F}(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,F){const q={};for(const le of b)if(xo(f,c,le)&&!F[Ir(le)]){const Ge=new Dt([],{});Ge._sourceSegment=f,Ge._segmentIndexShift=m.length,q[Ir(le)]=Ge}return{...F,...q}}(f,m,c,b,f.children));return q._sourceSegment=f,q._segmentIndexShift=m.length,{segmentGroup:q,slicedSegments:c}}const F=new Dt(f.segments,f.children);return F._sourceSegment=f,F._segmentIndexShift=m.length,{segmentGroup:F,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,ve._)(new _o(f))}function Fi(f){return(0,ve._)(new ss(f))}class Wi{constructor(m,c,b,F,q){this.injector=m,this.configLoader=c,this.urlSerializer=b,this.urlTree=F,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,de.U)(q=>this.createUrlTree(Ie(q),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,z.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,de.U)(F=>this.createUrlTree(Ie(F),m.queryParams,m.fragment))).pipe((0,z.K)(F=>{throw F instanceof _o?this.noMatchError(F):F}))}noMatchError(m){return new o.vHH(4002,Ko)}createUrlTree(m,c,b){const F=$e(m);return new Lt(F,c,b)}expandSegmentGroup(m,c,b,F){return 0===b.segments.length&&b.hasChildren()?this.expandChildren(m,c,b).pipe((0,de.U)(q=>new Dt([],q))):this.expandSegment(m,b,c,b.segments,F,!0)}expandChildren(m,c,b){const F=[];for(const q of Object.keys(b.children))"primary"===q?F.unshift(q):F.push(q);return(0,r.D)(F).pipe((0,Oe.b)(q=>{const le=b.children[q],Ge=mr(c,q);return this.expandSegmentGroup(m,Ge,le,q).pipe((0,de.U)(ht=>({segment:ht,outlet:q})))}),(0,J.R)((q,le)=>(q[le.outlet]=le.segment,q),{}),We())}expandSegment(m,c,b,F,q,le){return(0,r.D)(b).pipe((0,Oe.b)(Ge=>this.expandSegmentAgainstRoute(m,c,b,Ge,F,q,le).pipe((0,z.K)(Nt=>{if(Nt instanceof _o)return(0,B.of)(null);throw Nt}))),(0,Fe.P)(Ge=>!!Ge),(0,z.K)((Ge,ht)=>{if(er(Ge))return Zo(c,F,q)?(0,B.of)(new Dt([],{})):qo(c);throw Ge}))}expandSegmentAgainstRoute(m,c,b,F,q,le,Ge){return gi(F,c,q,le)?void 0===F.redirectTo?this.matchSegmentAgainstRoute(m,c,F,q,le):Ge&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(m,c,b,F,q,le):qo(c):qo(c)}expandSegmentAgainstRouteUsingRedirect(m,c,b,F,q,le){return"**"===F.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(m,b,F,le):this.expandRegularSegmentAgainstRouteUsingRedirect(m,c,b,F,q,le)}expandWildCardWithParamsAgainstRouteUsingRedirect(m,c,b,F){const q=this.applyRedirectCommands([],b.redirectTo,{});return b.redirectTo.startsWith("/")?Fi(q):this.lineralizeSegments(b,q).pipe((0,Ce.z)(le=>{const Ge=new Dt(le,{});return this.expandSegment(m,Ge,c,le,F,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(m,c,b,F,q,le){const{matched:Ge,consumedSegments:ht,remainingSegments:Nt,positionalParamSegments:kt}=mo(c,F,q);if(!Ge)return qo(c);const Yn=this.applyRedirectCommands(ht,F.redirectTo,kt);return F.redirectTo.startsWith("/")?Fi(Yn):this.lineralizeSegments(F,Yn).pipe((0,Ce.z)(xr=>this.expandSegment(m,c,b,xr.concat(Nt),le,!1)))}matchSegmentAgainstRoute(m,c,b,F,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,de.U)(Ge=>(b._loadedRoutes=Ge.routes,b._loadedInjector=Ge.injector,new Dt(F,{})))):(0,B.of)(new Dt(F,{}))):tr(c,b,F,m).pipe((0,W.w)(({matched:le,consumedSegments:Ge,remainingSegments:ht})=>le?this.getChildConfig(m=b._injector??m,b,F).pipe((0,Ce.z)(kt=>{const Yn=kt.injector??m,xr=kt.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,de.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,de.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 F=m.canLoad;if(void 0===F||0===F.length)return(0,B.of)(!0);const q=F.map(le=>{const Ge=Gr(le,f);return Ft(function fi(f){return f&&to(f.canLoad)}(Ge)?Ge.canLoad(m,c):f.runInContext(()=>Ge(m,c)))});return(0,B.of)(q).pipe(dn(),zi())}(m,c,b).pipe((0,Ce.z)(F=>F?this.configLoader.loadChildren(m,c).pipe((0,Ee.b)(q=>{c._loadedRoutes=q.routes,c._loadedInjector=q.injector})):function ls(f){return(0,ve._)(xi(Ko,3))}())):(0,B.of)({routes:[],injector:m})}lineralizeSegments(m,c){let b=[],F=c.root;for(;;){if(b=b.concat(F.segments),0===F.numberOfChildren)return(0,B.of)(b);if(F.numberOfChildren>1||!F.children[se])return m.redirectTo,(0,ve._)(new o.vHH(4e3,Ko));F=F.children[se]}}applyRedirectCommands(m,c,b){return this.applyRedirectCreateUrlTree(c,this.urlSerializer.parse(c),m,b)}applyRedirectCreateUrlTree(m,c,b,F){const q=this.createSegmentGroup(m,c.root,b,F);return new Lt(q,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(m,c){const b={};return ut(m,(F,q)=>{if("string"==typeof F&&F.startsWith(":")){const Ge=F.substring(1);b[q]=c[Ge]}else b[q]=F}),b}createSegmentGroup(m,c,b,F){const q=this.createSegments(m,c.segments,b,F);let le={};return ut(c.children,(Ge,ht)=>{le[ht]=this.createSegmentGroup(m,Ge,b,F)}),new Dt(q,le)}createSegments(m,c,b,F){return c.map(q=>q.path.startsWith(":")?this.findPosParam(m,q,F):this.findOrReturn(q,b))}findPosParam(m,c,b){const F=b[c.path.substring(1)];if(!F)throw new o.vHH(4001,Ko);return F}findOrReturn(m,c){let b=0;for(const F of c){if(F.path===m.path)return c.splice(b),F;b++}return m}}class us{}class nr{constructor(m,c,b,F,q,le,Ge){this.injector=m,this.rootComponentType=c,this.config=b,this.urlTree=F,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,de.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,{}),F=new Z(b,c),q=new Io(this.url,F);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(F=>this.inheritParamsAndData(F))}processSegmentGroup(m,c,b,F){return 0===b.segments.length&&b.hasChildren()?this.processChildren(m,c,b):this.processSegment(m,c,b,b.segments,F)}processChildren(m,c,b){return(0,r.D)(Object.keys(b.children)).pipe((0,Oe.b)(F=>{const q=b.children[F],le=mr(c,F);return this.processSegmentGroup(m,le,q,F)}),(0,J.R)((F,q)=>F&&q?(F.push(...q),F):null),function st(f,m=!1){return(0,be.e)((c,b)=>{let F=0;c.subscribe((0,De.x)(b,q=>{const le=f(q,F++);(le||m)&&b.next(q),!le&&b.complete()}))})}(F=>null!==F),(0,ie.d)(null),We(),(0,de.U)(F=>{if(null===F)return null;const q=hs(F);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,F,q){return(0,r.D)(c).pipe((0,Oe.b)(le=>this.processSegmentAgainstRoute(le._injector??m,le,b,F,q)),(0,Fe.P)(le=>!!le),(0,z.K)(le=>{if(er(le))return Zo(b,F,q)?(0,B.of)([]):(0,B.of)(null);throw le}))}processSegmentAgainstRoute(m,c,b,F,q){if(c.redirectTo||!gi(c,b,F,q))return(0,B.of)(null);let le;if("**"===c.path){const Ge=F.length>0?Je(F).parameters:{},ht=vi(b)+F.length,Nt=new Er(F,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:Nt,consumedSegments:[],remainingSegments:[]})}else le=tr(b,c,F,m).pipe((0,de.U)(({matched:Ge,consumedSegments:ht,remainingSegments:Nt,parameters:kt})=>{if(!Ge)return null;const Yn=vi(b)+ht.length;return{snapshot:new Er(ht,kt,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:Nt}}));return le.pipe((0,W.w)(Ge=>{if(null===Ge)return(0,B.of)(null);const{snapshot:ht,consumedSegments:Nt,remainingSegments:kt}=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,Nt,kt,xr.filter(lo=>void 0===lo.redirectTo));if(0===Ro.length&&Eo.hasChildren())return this.processChildren(Yn,xr,Eo).pipe((0,de.U)(lo=>null===lo?null:[new Z(ht,lo)]));if(0===xr.length&&0===Ro.length)return(0,B.of)([new Z(ht,[])]);const ti=Ir(c)===q;return this.processSegment(Yn,xr,Eo,Ro,ti?se:q).pipe((0,de.U)(lo=>null===lo?null:[new Z(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 F=m.find(q=>b.value.routeConfig===q.value.routeConfig);void 0!==F?(F.children.push(...b.children),c.add(F)):m.push(b)}for(const b of c){const F=hs(b.children);m.push(new Z(b.value,F))}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,de.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=Ft(c.loadComponent()).pipe((0,de.U)(Vn),(0,Ee.b)(q=>{this.onLoadEndListener&&this.onLoadEndListener(c),c._loadedComponent=q}),(0,Y.x)(()=>{this.componentLoaders.delete(c)})),F=new pe.c(b,()=>new ue.x).pipe((0,C.x)());return this.componentLoaders.set(c,F),F}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,de.U)(Ge=>{this.onLoadEndListener&&this.onLoadEndListener(b);let ht,Nt,kt=!1;Array.isArray(Ge)?Nt=Ge:(ht=Ge.create(c).injector,Nt=at(ht.get(Rn,[],o.XFs.Self|o.XFs.Optional)));return{routes:Nt.map(To),injector:ht}}),(0,Y.x)(()=>{this.childrenLoaders.delete(b)})),le=new pe.c(q,()=>new ue.x).pipe((0,C.x)());return this.childrenLoaders.set(b,le),le}loadModuleFactoryOrRoutes(c){return Ft(c()).pipe((0,de.U)(Vn),(0,Ce.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 ue.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=F=>this.events.next(new fe(F)),this.configLoader.onLoadStartListener=F=>this.events.next(new $(F))}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:he,restoredState:null,currentSnapshot:c.routerState.snapshot,targetSnapshot:null,currentRouterState:c.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ue.h)(b=>0!==b.id),(0,de.U)(b=>({...b,extractedUrl:c.urlHandlingStrategy.extract(b.rawUrl)})),(0,W.w)(b=>{let F=!1,q=!1;return(0,B.of)(b).pipe((0,Ee.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 kt="";return this.events.next(new ye(le.id,c.serializeUrl(b.rawUrl),kt,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)(kt=>{const Yn=this.transitions?.getValue();return this.events.next(new I(kt.id,this.urlSerializer.serialize(kt.extractedUrl),kt.source,kt.restoredState)),Yn!==this.transitions?.getValue()?oe.E:Promise.resolve(kt)}),function mi(f,m,c,b){return(0,W.w)(F=>function cs(f,m,c,b,F){return new Wi(f,m,c,b,F).apply()}(f,m,c,F.extractedUrl,b).pipe((0,de.U)(q=>({...F,urlAfterRedirects:q}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,c.config),(0,Ee.b)(kt=>{this.currentNavigation={...this.currentNavigation,finalUrl:kt.urlAfterRedirects},b.urlAfterRedirects=kt.urlAfterRedirects}),function j(f,m,c,b,F){return(0,Ce.z)(q=>function Oo(f,m,c,b,F,q,le="emptyOnly"){return new nr(f,m,c,b,F,le,q).recognize().pipe((0,W.w)(Ge=>null===Ge?function Br(f){return new K.y(m=>m.error(f))}(new us):(0,B.of)(Ge)))}(f,m,c,q.urlAfterRedirects,b.serialize(q.urlAfterRedirects),b,F).pipe((0,de.U)(le=>({...q,targetSnapshot:le}))))}(this.environmentInjector,this.rootComponentType,c.config,this.urlSerializer,c.paramsInheritanceStrategy),(0,Ee.b)(kt=>{if(b.targetSnapshot=kt.targetSnapshot,"eager"===c.urlUpdateStrategy){if(!kt.extras.skipLocationChange){const xr=c.urlHandlingStrategy.merge(kt.urlAfterRedirects,kt.rawUrl);c.setBrowserUrl(xr,kt)}c.browserUrlTree=kt.urlAfterRedirects}const Yn=new Le(kt.id,this.urlSerializer.serialize(kt.extractedUrl),this.urlSerializer.serialize(kt.urlAfterRedirects),kt.targetSnapshot);this.events.next(Yn)}));if(ht&&c.urlHandlingStrategy.shouldProcessUrl(c.rawUrlTree)){const{id:kt,extractedUrl:Yn,source:xr,restoredState:Eo,extras:Ro}=le,ti=new I(kt,this.urlSerializer.serialize(Yn),xr,Eo);this.events.next(ti);const lo=Ve(Yn,this.rootComponentType).snapshot;return b={...le,targetSnapshot:lo,urlAfterRedirects:Yn,extras:{...Ro,skipLocationChange:!1,replaceUrl:!1}},(0,B.of)(b)}{const kt="";return this.events.next(new ye(le.id,c.serializeUrl(b.extractedUrl),kt,1)),c.rawUrlTree=le.rawUrl,le.resolve(null),oe.E}}),(0,Ee.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,de.U)(le=>b={...le,guards:po(le.targetSnapshot,le.currentSnapshot,this.rootContexts)}),function Wo(f,m){return(0,Ce.z)(c=>{const{targetSnapshot:b,currentSnapshot:F,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,Ce.z)(F=>function $o(f,m,c,b,F){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)??F,Nt=Gr(Ge,ht);return Ft(function M(f){return f&&to(f.canDeactivate)}(Nt)?Nt.canDeactivate(f,m,c,b):ht.runInContext(()=>Nt(f,m,c,b))).pipe((0,Fe.P)())});return(0,B.of)(le).pipe(dn())}(F.component,F.route,c,m,b)),(0,Fe.P)(F=>!0!==F,!0))}(le,b,F,f).pipe((0,Ce.z)(Ge=>Ge&&function an(f){return"boolean"==typeof f}(Ge)?function Fr(f,m,c,b){return(0,r.D)(m).pipe((0,Oe.b)(F=>(0,H.z)(function io(f,m){return null!==f&&m&&m(new Ae(f)),(0,B.of)(!0)}(F.route.parent,b),function $n(f,m){return null!==f&&m&&m(new Ne(f)),(0,B.of)(!0)}(F.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,N.P)(()=>{const Ge=le.guards.map(ht=>{const Nt=qr(le.node)??c,kt=Gr(ht,Nt);return Ft(function O(f){return f&&to(f.canActivateChild)}(kt)?kt.canActivateChild(b,f):Nt.runInContext(()=>kt(b,f))).pipe((0,Fe.P)())});return(0,B.of)(Ge).pipe(dn())}));return(0,B.of)(q).pipe(dn())}(f,F.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 F=b.map(q=>(0,N.P)(()=>{const le=qr(m)??c,Ge=Gr(q,le);return Ft(function R(f){return f&&to(f.canActivate)}(Ge)?Ge.canActivate(m,f):le.runInContext(()=>Ge(m,f))).pipe((0,Fe.P)())}));return(0,B.of)(F).pipe(dn())}(f,F.route,c))),(0,Fe.P)(F=>!0!==F,!0))}(b,q,f,m):(0,B.of)(Ge)),(0,de.U)(Ge=>({...c,guardsResult:Ge})))})}(this.environmentInjector,le=>this.events.next(le)),(0,Ee.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,Ue.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,Ee.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,Ce.z)(c=>{const{targetSnapshot:b,guards:{canActivateChecks:F}}=c;if(!F.length)return(0,B.of)(c);let q=0;return(0,r.D)(F).pipe((0,Oe.b)(le=>function X(f,m,c,b){const F=f.routeConfig,q=f._resolve;return void 0!==F?.title&&!Vt(F)&&(q[ae]=F.title),function Pe(f,m,c,b){const F=function it(f){return[...Object.keys(f),...Object.getOwnPropertySymbols(f)]}(f);if(0===F.length)return(0,B.of)({});const q={};return(0,r.D)(F).pipe((0,Ce.z)(le=>function yt(f,m,c,b){const F=qr(m)??b,q=Gr(f,F);return Ft(q.resolve?q.resolve(m,c):F.runInContext(()=>q(m,c)))}(f[le],m,c,b).pipe((0,Fe.P)(),(0,Ee.b)(Ge=>{q[le]=Ge}))),Te(1),(0,_e.h)(q),(0,z.K)(le=>er(le)?oe.E:(0,ve._)(le)))}(q,f,m,b).pipe((0,de.U)(le=>(f._resolvedData=le,f.data=br(f,c).resolve,F&&Vt(F)&&(f.data[ae]=F.title),null)))}(le.route,b,f,m)),(0,Ee.b)(()=>q++),Te(1),(0,Ce.z)(le=>q===F.length?(0,B.of)(c):oe.E))})}(c.paramsInheritanceStrategy,this.environmentInjector),(0,Ee.b)({next:()=>ht=!0,complete:()=>{ht||(c.restoreHistory(Ge),this.cancelNavigationTransition(Ge,"",2))}}))}),(0,Ee.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 Nt=[];ht.routeConfig?.loadComponent&&!ht.routeConfig._loadedComponent&&Nt.push(this.configLoader.loadComponent(ht.routeConfig).pipe((0,Ee.b)(kt=>{ht.component=kt}),(0,de.U)(()=>{})));for(const kt of ht.children)Nt.push(...Ge(kt));return Nt};return(0,P.a)(Ge(le.targetSnapshot.root)).pipe((0,ie.d)(),(0,ge.q)(1))}),Wn(()=>this.afterPreactivation()),(0,de.U)(le=>{const Ge=function Ti(f,m,c){const b=uo(f,m._root,c?c._root:void 0);return new ce(b,m)}(c.routeReuseStrategy,le.targetSnapshot,le.currentRouterState);return b={...le,targetRouterState:Ge}}),(0,Ee.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,de.U)(b=>(new Mr(m,b.targetRouterState,b.currentRouterState,c).activate(f),b)))(this.rootContexts,c.routeReuseStrategy,le=>this.events.next(le)),(0,ge.q)(1),(0,Ee.b)({next:le=>{F=!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:()=>{F=!0}}),(0,Y.x)(()=>{F||q||this.cancelNavigationTransition(b,"",1),this.currentNavigation?.id===b.id&&(this.currentNavigation=null)}),(0,z.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),Nt={skipLocationChange:b.extras.skipLocationChange,replaceUrl:"eager"===c.urlUpdateStrategy||Vr(b.source)};c.scheduleNavigation(ht,he,null,Nt,{resolve:b.resolve,reject:b.reject,promise:b.promise})}else b.resolve(!1)}else{c.restoreHistory(b,!0);const Ge=new Me(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,F){const q=new G(c.id,this.urlSerializer.serialize(c.extractedUrl),b,F);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!==he}let bo=(()=>{class f{buildTitle(c){let b,F=c.root;for(;void 0!==F;)b=this.getResolvedTitleForRoute(F)??b,F=F.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)($t),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)(ne.Ye),this.isNgZoneEnabled=(0,o.f3M)(o.R0b)instanceof o.R0b&&o.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Lt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Ve(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),he,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,F){const q={replaceUrl:!0},le=F?.navigationId?F:null;if(F){const ht={...F};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:F,queryParams:q,fragment:le,queryParamsHandling:Ge,preserveFragment:ht}=b,Nt=ht?this.currentUrlTree.fragment:le;let kt=null;switch(Ge){case"merge":kt={...this.currentUrlTree.queryParams,...q};break;case"preserve":kt=this.currentUrlTree.queryParams;break;default:kt=q||null}return null!==kt&&(kt=this.removeEmptyProps(kt)),this.urlCreationStrategy.createUrlTree(F,this.routerState,this.currentUrlTree,c,kt,Nt??null)}navigateByUrl(c,b={skipLocationChange:!1}){const F=ot(c)?c:this.parseUrl(c),q=this.urlHandlingStrategy.merge(F,this.rawUrlTree);return this.scheduleNavigation(q,he,null,b)}navigate(c,b={skipLocationChange:!1}){return function Vs(f){for(let m=0;m{const q=c[F];return null!=q&&(b[F]=q),b},{})}scheduleNavigation(c,b,F,q,le){if(this.disposed)return Promise.resolve(!1);let Ge,ht,Nt,kt;return le?(Ge=le.resolve,ht=le.reject,Nt=le.promise):Nt=new Promise((Yn,xr)=>{Ge=Yn,ht=xr}),kt="computed"===this.canceledNavigationResolution?F&&F.\u0275routerPageId?F.\u0275routerPageId:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:kt,source:b,restoredState:F,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:c,extras:q,resolve:Ge,reject:ht,promise:Nt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Nt.catch(Yn=>Promise.reject(Yn))}setBrowserUrl(c,b){const F=this.urlSerializer.serialize(c);if(this.location.isCurrentPathEqualTo(F)||b.extras.replaceUrl){const le={...b.extras.state,...this.generateNgRouterState(b.id,this.browserPageId)};this.location.replaceState(F,"",le)}else{const q={...b.extras.state,...this.generateNgRouterState(b.id,b.targetPageId)};this.location.go(F,"",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,F,q,le,Ge){this.router=c,this.route=b,this.tabIndexAttribute=F,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 ue.x;const ht=le.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===ht||"area"===ht,this.isAnchorElement?this.subscription=c.events.subscribe(Nt=>{Nt 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,F,q,le){return!!(null===this.urlTree||this.isAnchorElement&&(0!==c||b||F||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 F=this.renderer,q=this.el.nativeElement;null!==b?F.setAttribute(q,c,b):F.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(ne.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,z.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,F,q,le){this.router=c,this.injector=F,this.preloadingStrategy=q,this.loader=le}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ue.h)(c=>c instanceof A),(0,Oe.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,b){const F=[];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)&&F.push(this.preloadConfig(le,q)),(q.children||q._loadedRoutes)&&F.push(this.processRoutes(Ge,q.children??q._loadedRoutes))}return(0,r.D)(F).pipe((0,L.J)())}preloadConfig(c,b){return this.preloadingStrategy.preload(b,()=>{let F;F=b.loadChildren&&void 0===b.canLoad?this.loader.loadChildren(c,b):(0,B.of)(null);const q=F.pipe((0,Ce.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,L.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,F,q,le={}){this.urlSerializer=c,this.transitions=b,this.viewportScroller=F,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),F=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]),F.closed||(F.next(),F.complete(),F.unsubscribe())}}const Uo=new o.OlP(Xo?"bootstrap done indicator":"",{factory:()=>new ue.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 mt(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=[ne.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:ne.S$,useClass:ne.Do}:{provide:ne.S$,useClass:ne.b0},{provide:ys,useFactory:()=>{const f=(0,o.f3M)(ne.EM),m=(0,o.f3M)(o.R0b),c=(0,o.f3M)(Jo),b=(0,o.f3M)(Ur),F=(0,o.f3M)(An);return c.scrollOffset&&f.setOffset(c.scrollOffset),new Li(F,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(ne.V_,Promise.resolve());return()=>c.then(()=>new Promise(b=>{const F=m.get(Hr),q=m.get(Uo);(function ba(f,m){f.events.pipe((0,Ue.h)(c=>c instanceof A||c instanceof G||c instanceof Me||c instanceof ye),(0,de.U)(c=>c instanceof A||c instanceof ye?Tr.COMPLETE:c instanceof G&&(0===c.code||1===c.code)?Tr.REDIRECTING:Tr.FAILED),(0,Ue.h)(c=>c!==Tr.REDIRECTING),(0,ge.q)(1)).subscribe(()=>{m()})})(F,()=>{b(!0)}),m.get(Ur).afterPreactivation=()=>(b(!0),q.closed?(0,B.of)(void 0):q),F.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,pe=he=>ne(he),ne=(he=window)=>{if(typeof he>"u")return[];he.Ionic=he.Ionic||{};let w=he.Ionic.platforms;return null==w&&(w=he.Ionic.platforms=de(he),w.forEach(I=>he.document.documentElement.classList.add(`plt-${I}`))),w},de=he=>{const w=P.get("platform");return Object.keys(st).filter(I=>{const A=w?.[I];return"function"==typeof A?A(he):st[I](he)})},ge=he=>!!(ke(he,/iPad/i)||ke(he,/Macintosh/i)&&z(he)),Ce=he=>ke(he,/android|sink/i),z=he=>We(he,"(any-pointer:coarse)"),be=he=>De(he)||Te(he),De=he=>!!(he.cordova||he.phonegap||he.PhoneGap),Te=he=>!!he.Capacitor?.isNative,ke=(he,w)=>w.test(he.navigator.userAgent),We=(he,w)=>{var I;return null===(I=he.matchMedia)||void 0===I?void 0:I.call(he,w).matches},st={ipad:ge,iphone:he=>ke(he,/iPhone/i),ios:he=>ke(he,/iPhone|iPod/i)||ge(he),android:Ce,phablet:he=>{const w=he.innerWidth,I=he.innerHeight,A=Math.min(w,I),G=Math.max(w,I);return A>390&&A<520&&G>620&&G<800},tablet:he=>{const w=he.innerWidth,I=he.innerHeight,A=Math.min(w,I),G=Math.max(w,I);return ge(he)||(he=>Ce(he)&&!ke(he,/mobile/i))(he)||A>460&&A<820&&G>780&&G<1400},cordova:De,capacitor:Te,electron:he=>ke(he,/electron/i),pwa:he=>{var w;return!!(null!==(w=he.matchMedia)&&void 0!==w&&w.call(he,"(display-mode: standalone)").matches||he.navigator.standalone)},mobile:z,mobileweb:he=>z(he)&&!be(he),desktop:he=>!z(he),hybrid:be};var L=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 he{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(ye,Me){return this.subscribe(Le=>Le.register(ye,tt=>A.run(()=>Me(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(ye=>{G=ye}),this.win?.cordova?I.addEventListener("deviceready",()=>{G("cordova")},{once:!0}):G("dom")})}is(I){return((he,w)=>("string"==typeof he&&(w=he,he=void 0),pe(he).includes(w)))(this.win,I)}platforms(){return pe(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 he.\u0275fac=function(I){return new(I||he)(r.LFG(V.K0),r.LFG(r.R0b))},he.\u0275prov=r.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),he})();const Ct=(he,w)=>{w=w.replace(/[[\]\\]/g,"\\$&");const A=new RegExp("[\\?&]"+w+"=([^&#]*)").exec(he);return A?decodeURIComponent(A[1].replace(/\+/g," ")):null},en=(he,w,I,A)=>{w&&w.addEventListener(I,G=>{A.run(()=>{const ye=G?.detail;he.next(ye)})})};let Xt=(()=>{class he{constructor(I,A,G,ye){this.location=A,this.serializer=G,this.router=ye,this.direction=On,this.animated=sr,this.guessDirection="forward",this.lastNavId=-1,ye&&ye.events.subscribe(Me=>{if(Me instanceof B.OD){const Le=Me.restoredState?Me.restoredState.navigationId:Me.id;this.guessDirection=Le{this.pop(),Me()})}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,ye){this.direction=I,this.animated=Mn(I,A,G),this.animationBuilder=ye}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 he.\u0275fac=function(I){return new(I||he)(r.LFG(Zt),r.LFG(V.Ye),r.LFG(B.Hx),r.LFG(B.F0,8))},he.\u0275prov=r.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),he})();const Mn=(he,w,I)=>{if(!1!==w){if(void 0!==I)return I;if("forward"===he||"back"===he)return he;if("root"===he&&!0===w)return"forward"}},On="auto",sr=void 0;let _n=(()=>{class he{get(I,A){const G=Lt();return G?G.get(I,A):null}getBoolean(I,A){const G=Lt();return!!G&&G.getBoolean(I,A)}getNumber(I,A){const G=Lt();return G?G.getNumber(I,A):0}}return he.\u0275fac=function(I){return new(I||he)},he.\u0275prov=r.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),he})();const bn=new r.OlP("USERCONFIG"),Lt=()=>{if(typeof window<"u"){const he=window.Ionic;if(he?.config)return he.config}return null};class Dt{constructor(w={}){this.data=w}get(w){return this.data[w]}}let Qn=(()=>{class he{constructor(){this.zone=(0,r.f3M)(r.R0b),this.applicationRef=(0,r.f3M)(r.z2F)}create(I,A,G){return new cn(I,A,this.applicationRef,this.zone,G)}}return he.\u0275fac=function(I){return new(I||he)},he.\u0275prov=r.Yz7({token:he,factory:he.\u0275fac}),he})();class cn{constructor(w,I,A,G,ye){this.environmentInjector=w,this.injector=I,this.applicationRef=A,this.zone=G,this.elementReferenceKey=ye,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(w,I,A,G){return this.zone.run(()=>new Promise(ye=>{const Me={...A};void 0!==this.elementReferenceKey&&(Me[this.elementReferenceKey]=w),ye(pn(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,w,I,Me,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 ye=this.elEventsMap.get(I);ye&&(ye(),this.elEventsMap.delete(I))}A()}))}}const pn=(he,w,I,A,G,ye,Me,Le,tt,lt,bt)=>{const S=r.zs3.create({providers:fn(tt),parent:I}),$=(0,r.LMc)(Le,{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 ${Me.tagName.toLowerCase()}. Rename or remove the "${bt}" property from ${Le.name}.`),Object.assign(fe,tt)),lt)for(const Ne of lt)Ae.classList.add(Ne);const ze=An(he,fe,Ae);return Me.appendChild(Ae),A.attachView($.hostView),G.set(Ae,$),ye.set(Ae,ze),Ae},Xn=[L.L,L.a,L.b,L.c,L.d],An=(he,w,I)=>he.run(()=>{const A=Xn.filter(G=>"function"==typeof w[G]).map(G=>{const ye=Me=>w[G](Me.detail);return I.addEventListener(G,ye),()=>I.removeEventListener(G,ye)});return()=>A.forEach(G=>G())}),ar=new r.OlP("NavParamsToken"),fn=he=>[{provide:ar,useValue:he},{provide:Dt,useFactory:lr,deps:[ar]}],lr=he=>new Dt(he),Qt=(he,w)=>{const I=he.prototype;w.forEach(A=>{Object.defineProperty(I,A,{get(){return this.el[A]},set(G){this.z.runOutsideAngular(()=>this.el[A]=G)}})})},dr=(he,w)=>{const I=he.prototype;w.forEach(A=>{I[A]=function(){const G=arguments;return this.z.runOutsideAngular(()=>this.el[A].apply(this.el,G))}})},hn=(he,w,I)=>{I.forEach(A=>he[A]=(0,ae.R)(w,A))};function Hn(he){return function(I){const{defineCustomElementFn:A,inputs:G,methods:ye}=he;return void 0!==A&&A(),G&&Qt(I,G),ye&&dr(I,ye),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 he=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()}),hn(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return he.\u0275fac=function(I){return new(I||he)(r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(r.R0b))},he.\u0275dir=r.lG2({type:he,selectors:[["ion-popover"]],contentQueries:function(I,A,G){if(1&I&&r.Suo(G,r.Rgc,5),2&I){let ye;r.iGM(ye=r.CRH())&&(A.template=ye.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"}}),he=(0,dt.gn)([Hn({inputs:Kn,methods:cr})],he),he})();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 he=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()}),hn(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return he.\u0275fac=function(I){return new(I||he)(r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(r.R0b))},he.\u0275dir=r.lG2({type:he,selectors:[["ion-modal"]],contentQueries:function(I,A,G){if(1&I&&r.Suo(G,r.Rgc,5),2&I){let ye;r.iGM(ye=r.CRH())&&(A.template=ye.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"}}),he=(0,dt.gn)([Hn({inputs:jn,methods:yr})],he),he})();const Fn=(he,w)=>((he=he.filter(I=>I.stackId!==w.stackId)).push(w),he),mn=(he,w)=>{const I=he.createUrlTree(["."],{relativeTo:w});return he.serializeUrl(I)},tn=(he,w)=>!w||he.stackId!==w.stackId,Ze=(he,w)=>{if(!he)return;const I=$e(w);for(let A=0;A=he.length)return I[A];if(I[A]!==he[A])return}},$e=he=>he.split("/").map(w=>w.trim()).filter(w=>""!==w),Ie=he=>{he&&(he.ref.destroy(),he.unlistenEvents())};class Ke{constructor(w,I,A,G,ye,Me){this.containerEl=I,this.router=A,this.navCtrl=G,this.zone=ye,this.location=Me,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,ye=An(this.zone,w.instance,G);return{id:this.nextId++,stackId:Ze(this.tabsPrefix,A),unlistenEvents:ye,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:ye}=I;const Me=this.activeView,Le=tn(w,Me);Le&&(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===ye&&"back"===A&&!Le&&void 0!==fe&&(ye=fe),Me&&(Me.animationBuilder=ye),this.zone.runOutsideAngular(()=>this.wait(()=>(Me&&Me.ref.changeDetectorRef.detach(),w.ref.changeDetectorRef.reattach(),this.transition(w,Me,G,this.canGoBack(1),!1,ye).then(()=>ot(w,$,tt,this.location,this.zone)).then(()=>({enteringView:w,direction:A,animation:G,tabSwitch:Le})))))}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 ye=G.url;const Me=G.savedData;if(Me){const tt=Me.get("primary");tt?.route?._routerState?.snapshot.url&&(ye=tt.route._routerState.snapshot.url)}const{animationBuilder:Le}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(ye,{...G.savedExtras,animation:Le}).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(Ie),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=((he,w,I)=>"root"===I?Fn(he,w):"forward"===I?((he,w)=>(he.indexOf(w)>=0?he=he.filter(A=>A.stackId!==w.stackId||A.id<=w.id):he.push(w),he))(he,w):((he,w)=>he.indexOf(w)>=0?he.filter(A=>A.stackId!==w.stackId||A.id<=w.id):Fn(he,w))(he,w))(this.views,w,I),this.views.slice()}transition(w,I,A,G,ye,Me){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(I===w)return Promise.resolve(!1);const Le=w?w.element:void 0,tt=I?I.element:void 0,lt=this.containerEl;return Le&&Le!==tt&&(Le.classList.add("ion-page"),Le.classList.add("ion-page-invisible"),Le.parentElement!==lt&<.appendChild(Le),lt.commit)?lt.commit(Le,tt,{duration:void 0===A?0:void 0,direction:A,showGoBack:G,progressAnimation:ye,animationBuilder:Me}):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=(he,w,I,A,G)=>"function"==typeof requestAnimationFrame?new Promise(ye=>{requestAnimationFrame(()=>{wt(he,w,I,A,G),ye()})}):Promise.resolve(),wt=(he,w,I,A,G)=>{G.run(()=>I.filter(ye=>!w.includes(ye)).forEach(Ie)),w.forEach(ye=>{const Le=A.path().split("?")[0].split("#")[0];if(ye!==he&&ye.url!==Le){const tt=ye.element;tt.setAttribute("aria-hidden","true"),tt.classList.add("ion-page-hidden"),ye.ref.changeDetectorRef.detach()}})};let Jt=(()=>{class he{constructor(I,A,G,ye,Me,Le,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=ye.nativeElement,this.name=I||B.eC,this.tabsPrefix="true"===A?mn(Me,tt):void 0,this.stackCtrl=new Ke(this.tabsPrefix,this.nativeEl,Me,this.navCtrl,Le,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 ye=A.route.snapshot;this.activatedView.savedExtras.queryParams=ye.queryParams,this.activatedView.savedExtras.fragment=ye.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,ye=this.stackCtrl.getExistingView(I);if(ye){G=this.activated=ye.ref;const Le=ye.savedData;Le&&(this.getContext().children.contexts=Le),this.updateActivatedRouteProxy(G.instance,I)}else{const Le=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(Le.routeConfig.component??Le.component,{index:this.location.length,injector:S,environmentInjector:A??this.environmentInjector}),lt.next(G.instance),ye=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=ye,this.navCtrl.setTopOutlet(this);const Me=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:ye,tabSwitch:tn(ye,Me)}),this.stackCtrl.setActive(ye).then(Le=>{this.activateEvents.emit(G.instance),this.stackDidChange.emit(Le)})}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)(ye=>null!==ye&&ye.component===G),(0,Wt.w)(ye=>ye&&ye.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 he.\u0275fac=function(I){return new(I||he)(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(he,12))},he.\u0275dir=r.lG2({type:he,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"]}),he})();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 he{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)(([ye,Me,Le],tt)=>(Le={...ye,...Me,...Le},0===tt?(0,gt.of)(Le):Promise.resolve(Le)))).subscribe(ye=>{if(!I.isActivated||!I.activatedComponentRef||I.activatedRoute!==A||null===A.component)return void this.unsubscribeFromRouteData(I);const Me=(0,r.qFp)(A.component);if(Me)for(const{templateName:Le}of Me.inputs)I.activatedComponentRef.setInput(Le,ye[Le]);else this.unsubscribeFromRouteData(I)});this.outletDataSubscriptions.set(I,G)}}return he.\u0275fac=function(I){return new(I||he)},he.\u0275prov=r.Yz7({token:he,factory:he.\u0275fac}),he})();const qn=()=>({provide:Pn,useFactory:Sn,deps:[B.F0]});function Sn(he){return he?.componentInputBindingEnabled?new hr:null}const zn=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let _r=(()=>{let he=class{constructor(I,A,G,ye,Me,Le){this.routerOutlet=I,this.navCtrl=A,this.config=G,this.r=ye,this.z=Me,Le.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 he.\u0275fac=function(I){return new(I||he)(r.Y36(Jt,8),r.Y36(Xt),r.Y36(_n),r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(r.sBO))},he.\u0275dir=r.lG2({type:he,hostBindings:function(I,A){1&I&&r.NdJ("click",function(ye){return A.onClick(ye)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),he=(0,dt.gn)([Hn({inputs:zn})],he),he})(),pr=(()=>{class he{constructor(I,A,G,ye,Me){this.locationStrategy=I,this.navCtrl=A,this.elementRef=G,this.router=ye,this.routerLink=Me,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 he.\u0275fac=function(I){return new(I||he)(r.Y36(V.S$),r.Y36(Xt),r.Y36(r.SBq),r.Y36(B.F0),r.Y36(B.rH,8))},he.\u0275dir=r.lG2({type:he,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(I,A){1&I&&r.NdJ("click",function(ye){return A.onClick(ye)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[r.TTD]}),he})(),Ln=(()=>{class he{constructor(I,A,G,ye,Me){this.locationStrategy=I,this.navCtrl=A,this.elementRef=G,this.router=ye,this.routerLink=Me,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 he.\u0275fac=function(I){return new(I||he)(r.Y36(V.S$),r.Y36(Xt),r.Y36(r.SBq),r.Y36(B.F0),r.Y36(B.rH,8))},he.\u0275dir=r.lG2({type:he,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]}),he})();const on=["animated","animation","root","rootParams","swipeGesture"],Gn=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let Nn=(()=>{let he=class{constructor(I,A,G,ye,Me,Le){this.z=Me,Le.detach(),this.el=I.nativeElement,I.nativeElement.delegate=ye.create(A,G),hn(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return he.\u0275fac=function(I){return new(I||he)(r.Y36(r.SBq),r.Y36(r.lqb),r.Y36(r.zs3),r.Y36(Qn),r.Y36(r.R0b),r.Y36(r.sBO))},he.\u0275dir=r.lG2({type:he,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),he=(0,dt.gn)([Hn({inputs:on,methods:Gn})],he),he})(),En=(()=>{class he{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,ye=this.outlet.getActiveStackId()===G,Me=`${this.outlet.tabsPrefix}/${G}`;if(A||I.stopPropagation(),ye){const Le=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(Le)?.url===Me)return;const lt=this.outlet.getRootView(G);return this.navCtrl.navigateRoot(Me,{...lt&&Me===lt.url&<.savedExtras,animated:!0,animationDirection:"back"})}{const Le=this.outlet.getLastRouteView(G),lt=Le?.savedExtras;return this.navCtrl.navigateRoot(Le?.url||Me,{...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 he.\u0275fac=function(I){return new(I||he)(r.Y36(Xt))},he.\u0275dir=r.lG2({type:he,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(ye){return A.select(ye)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),he})();const Bn=he=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(he):"function"==typeof requestAnimationFrame?requestAnimationFrame(he):setTimeout(he);let gr=(()=>{class he{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(ye=>{if(typeof A[ye]<"u"){const Me=A[ye].bind(A);A[ye]=(...Le)=>{Me(...Le),vn(this.elementRef)}}})}}return he.\u0275fac=function(I){return new(I||he)(r.Y36(r.zs3),r.Y36(r.SBq))},he.\u0275dir=r.lG2({type:he,hostBindings:function(I,A){1&I&&r.NdJ("ionBlur",function(ye){return A._handleBlurEvent(ye.target)})}}),he})();const vn=he=>{Bn(()=>{const w=he.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=he=>{const w=he.classList,I=[];for(let A=0;A{const I=he.classList;I.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),I.add(...w)},Et=(he,w)=>he.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,ye=Object.keys(A),Me=Object.keys(G);if(ye.length!==Me.length)return!1;for(const Le of ye)if(G[Le]!==A[Le])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()}}},1947:(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:()=>cn,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:()=>Me,uN:()=>tn,I_:()=>ot,Nh:()=>Dn,oz:()=>Pn,jP:()=>he,Nd:()=>qn,cJ:()=>zn,GO:()=>_r,t9:()=>pr,n0:()=>Ln,Bs:()=>Un,wd:()=>kn,ho:()=>Mt,sr:()=>xn,Pc:()=>sn,IN:()=>et,Dh:()=>vt,YI:()=>G,QI:()=>We,j9:()=>st,yF:()=>ft});var o=g(4650),r=g(4006),B=g(958),V=g(7582),te=g(4968),P=g(6895),H=g(6159),pe=(g(2876),g(6717),g(209),g(3e3),g(5067),g(5521)),ue=g(7036),de=(g(5058),g(7511)),ge=(g(2972),g(7239));g(2889);const Fe=pe.i,Ee=["*"];function De(h,Z){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,ce){super(D,ce)}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,ce){1&D&&o.NdJ("ionChange",function(rn){return ce._handleIonChange(rn.target)})},features:[o._Bn([{provide:r.JU,useExisting:h,multi:!0}]),o.qOj]}),h})(),We=(()=>{class h extends B.bk{constructor(D,ce){super(D,ce)}_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,ce){1&D&&o.NdJ("ionChange",function(rn){return ce._handleChangeEvent(rn.target)})},features:[o._Bn([{provide:r.JU,useExisting:h,multi:!0}]),o.qOj]}),h})(),st=(()=>{class h extends B.bk{constructor(D,ce){super(D,ce)}_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,ce){1&D&&o.NdJ("ionInput",function(rn){return ce._handleInputEvent(rn.target)})},features:[o._Bn([{provide:r.JU,useExisting:h,multi:!0}]),o.qOj]}),h})();const _e=(h,Z)=>{const D=h.prototype;Z.forEach(ce=>{Object.defineProperty(D,ce,{get(){return this.el[ce]},set(Ve){this.z.runOutsideAngular(()=>this.el[ce]=Ve)},configurable:!0})})},Y=(h,Z)=>{const D=h.prototype;Z.forEach(ce=>{D[ce]=function(){const Ve=arguments;return this.z.runOutsideAngular(()=>this.el[ce].apply(this.el,Ve))}})},C=(h,Z,D)=>{D.forEach(ce=>h[ce]=(0,te.R)(Z,ce))};function k(h){return function(D){const{defineCustomElementFn:ce,inputs:Ve,methods:rn}=h;return void 0!==ce&&ce(),Ve&&_e(D,Ve),rn&&Y(D,rn),D}}let gt=(()=>{let h=class{constructor(D,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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})(),cn=(()=>{let h=class{constructor(D,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){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,ce,Ve){this.z=Ve,D.detach(),this.el=ce.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:Ee,decls:1,vars:0,template:function(D,ce){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,V.gn)([k({inputs:["color","mode"]})],h),h})(),he=(()=>{class h extends B.jP{constructor(D,ce,Ve,rn,qt,br,Cr,Er){super(D,ce,Ve,rn,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(H.F0),o.Y36(o.R0b),o.Y36(H.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,ce,Ve,rn,qt,br){super(D,ce,Ve,rn,qt,br)}}return h.\u0275fac=function(D){return new(D||h)(o.Y36(he,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:Ee,decls:1,vars:0,template:function(D,ce){1&D&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),h})(),G=(()=>{class h extends B.j{}return h.\u0275fac=function(){let Z;return function(ce){return(Z||(Z=o.n5z(h)))(ce||h)}}(),h.\u0275dir=o.lG2({type:h,selectors:[["","routerLink","",5,"a",5,"area"]],features:[o.qOj]}),h})(),Me=(()=>{class h extends B.ki{}return h.\u0275fac=function(){let Z;return function(ce){return(Z||(Z=o.n5z(h)))(ce||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,ce){1&D&&o.YNc(0,De,2,1,"div",0),2&D&&o.Q6J("ngIf",ce.isCmpOpen||ce.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 Z;return function(ce){return(Z||(Z=o.n5z(h)))(ce||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,ce){2&D&&o.uIk("max",ce._enabled?ce.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 Z;return function(ce){return(Z||(Z=o.n5z(h)))(ce||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,ce){2&D&&o.uIk("min",ce._enabled?ce.min:null)},features:[o._Bn([bt]),o.qOj]}),h})(),$=(()=>{class h extends B.xs{constructor(){super(de.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(de.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 vt extends B.xs{constructor(){super(de.c),this.angularDelegate=(0,o.f3M)(B.y4),this.injector=(0,o.f3M)(o.zs3),this.environmentInjector=(0,o.f3M)(o.lqb)}create(Z){return super.create({...Z,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}let ft=(()=>{class h extends B.xs{constructor(){super(de.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,Z,D)=>()=>{if(Z.defaultView&&typeof window<"u"){(0,ue.s)({...h,_zoneGate:rn=>D.run(rn)});const Ve="__zone_symbol__addEventListener"in Z.body?"__zone_symbol__addEventListener":"addEventListener";return function Ce(){var h=[];if(typeof window<"u"){var Z=window;(!Z.customElements||Z.Element&&(!Z.Element.prototype.closest||!Z.Element.prototype.matches||!Z.Element.prototype.remove||!Z.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||Z.NodeList&&!Z.NodeList.prototype.forEach||!Z.fetch||!function(){try{var ce=new URL("b","http://a");return ce.pathname="c%20d","http://a/c%20d"===ce.href&&ce.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,Z)=>{if(!(typeof window>"u"))return Fe(),(0,ge.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]}]]]]'),Z)})(0,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:B.Wn,jmp:rn=>D.runOutsideAngular(rn),ael(rn,qt,br,Cr){rn[Ve](qt,br,Cr)},rel(rn,qt,br,Cr){rn.removeEventListener(qt,br,Cr)}}))}};let sn=(()=>{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,vt],imports:[P.ez]}),h})()},6188:(pt,Re,g)=>{"use strict";g.d(Re,{Pi:()=>ke,Zw:()=>ue,aw:()=>st,X$:()=>We,sK:()=>ie});var o=g(4650),r=g(9646),B=g(9751),V=g(576);function te(_e){return!!_e&&(_e instanceof B.y||(0,V.m)(_e.lift)&&(0,V.m)(_e.subscribe))}var P=g(4128),H=g(7272),N=g(9770),re=g(5698),ve=g(4782),K=g(4004),oe=g(4351),pe=g(3900);class ue{}let ne=(()=>{class _e extends ue{getTranslation(C){return(0,r.of)({})}}return _e.\u0275fac=function(){let Y;return function(L){return(Y||(Y=o.n5z(_e)))(L||_e)}}(),_e.\u0275prov=o.Yz7({token:_e,factory:_e.\u0275fac}),_e})();class de{}let W=(()=>{class _e{handle(C){return C.key}}return _e.\u0275fac=function(C){return new(C||_e)},_e.\u0275prov=o.Yz7({token:_e,factory:_e.\u0275fac}),_e})();function ge(_e,Y){if(_e===Y)return!0;if(null===_e||null===Y)return!1;if(_e!=_e&&Y!=Y)return!0;let k,se,ae,C=typeof _e;if(C==typeof Y&&"object"==C){if(!Array.isArray(_e)){if(Array.isArray(Y))return!1;for(se in ae=Object.create(null),_e){if(!ge(_e[se],Y[se]))return!1;ae[se]=!0}for(se in Y)if(!(se in ae)&&typeof Y[se]<"u")return!1;return!0}if(!Array.isArray(Y))return!1;if((k=_e.length)==Y.length){for(se=0;se{Ue(Y[L])?L in _e?C[L]=Ce(_e[L],Y[L]):Object.assign(C,{[L]:Y[L]}):Object.assign(C,{[L]:Y[L]})}),C}class Fe{}let Oe=(()=>{class _e extends Fe{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(C,L){let k;return k="string"==typeof C?this.interpolateString(C,L):"function"==typeof C?this.interpolateFunction(C,L):C,k}getValue(C,L){let k="string"==typeof L?L.split("."):[L];L="";do{L+=k.shift(),!me(C)||!me(C[L])||"object"!=typeof C[L]&&k.length?k.length?L+=".":C=void 0:(C=C[L],L="")}while(k.length);return C}interpolateFunction(C,L){return C(L)}interpolateString(C,L){return L?C.replace(this.templateMatcher,(k,se)=>{let ae=this.getValue(L,se);return me(ae)?ae:k}):C}}return _e.\u0275fac=function(){let Y;return function(L){return(Y||(Y=o.n5z(_e)))(L||_e)}}(),_e.\u0275prov=o.Yz7({token:_e,factory:_e.\u0275fac}),_e})();class Ee{}let z=(()=>{class _e extends Ee{compile(C,L){return C}compileTranslations(C,L){return C}}return _e.\u0275fac=function(){let Y;return function(L){return(Y||(Y=o.n5z(_e)))(L||_e)}}(),_e.\u0275prov=o.Yz7({token:_e,factory:_e.\u0275fac}),_e})();class J{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 be=new o.OlP("USE_STORE"),De=new o.OlP("USE_DEFAULT_LANG"),Te=new o.OlP("DEFAULT_LANGUAGE"),Be=new o.OlP("USE_EXTEND");let ie=(()=>{class _e{constructor(C,L,k,se,ae,Ye=!0,qe=!1,gt=!1,dt){this.store=C,this.currentLoader=L,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 L=this.retrieveTranslations(C);typeof L<"u"?(null==this.defaultLang&&(this.defaultLang=C),L.pipe((0,re.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 L=this.retrieveTranslations(C);return typeof L<"u"?(this.currentLang||(this.currentLang=C),L.pipe((0,re.q)(1)).subscribe(k=>{this.changeLang(C)}),L):(this.changeLang(C),(0,r.of)(this.translations[C]))}retrieveTranslations(C){let L;return(typeof this.translations[C]>"u"||this.extend)&&(this._translationRequests[C]=this._translationRequests[C]||this.getTranslation(C),L=this._translationRequests[C]),L}getTranslation(C){this.pending=!0;const L=this.currentLoader.getTranslation(C).pipe((0,ve.d)(1),(0,re.q)(1));return this.loadingTranslations=L.pipe((0,K.U)(k=>this.compiler.compileTranslations(k,C)),(0,ve.d)(1),(0,re.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}}),L}setTranslation(C,L,k=!1){L=this.compiler.compileTranslations(L,C),this.translations[C]=(k||this.extend)&&this.translations[C]?Ce(this.translations[C],L):L,this.updateLangs(),this.onTranslationChange.emit({lang:C,translations:this.translations[C]})}getLangs(){return this.langs}addLangs(C){C.forEach(L=>{-1===this.langs.indexOf(L)&&this.langs.push(L)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(C,L,k){let se;if(L instanceof Array){let ae={},Ye=!1;for(let qe of L)ae[qe]=this.getParsedResult(C,qe,k),te(ae[qe])&&(Ye=!0);if(Ye){const qe=L.map(gt=>te(ae[gt])?ae[gt]:(0,r.of)(ae[gt]));return(0,P.D)(qe).pipe((0,K.U)(gt=>{let dt={};return gt.forEach((At,Wt)=>{dt[L[Wt]]=At}),dt}))}return ae}if(C&&(se=this.parser.interpolate(this.parser.getValue(C,L),k)),typeof se>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(se=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],L),k)),typeof se>"u"){let ae={key:L,translateService:this};typeof k<"u"&&(ae.interpolateParams=k),se=this.missingTranslationHandler.handle(ae)}return typeof se<"u"?se:L}get(C,L){if(!me(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,L))?k:(0,r.of)(k)));{let k=this.getParsedResult(this.translations[this.currentLang],C,L);return te(k)?k:(0,r.of)(k)}}getStreamOnTranslationChange(C,L){if(!me(C)||!C.length)throw new Error('Parameter "key" required');return(0,H.z)((0,N.P)(()=>this.get(C,L)),this.onTranslationChange.pipe((0,pe.w)(k=>{const se=this.getParsedResult(k.translations,C,L);return"function"==typeof se.subscribe?se:(0,r.of)(se)})))}stream(C,L){if(!me(C)||!C.length)throw new Error('Parameter "key" required');return(0,H.z)((0,N.P)(()=>this.get(C,L)),this.onLangChange.pipe((0,pe.w)(k=>{const se=this.getParsedResult(k.translations,C,L);return te(se)?se:(0,r.of)(se)})))}instant(C,L){if(!me(C)||!C.length)throw new Error('Parameter "key" required');let k=this.getParsedResult(this.translations[this.currentLang],C,L);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,L,k=this.currentLang){this.translations[k][C]=this.compiler.compile(L,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 _e.\u0275fac=function(C){return new(C||_e)(o.LFG(J),o.LFG(ue),o.LFG(Ee),o.LFG(Fe),o.LFG(de),o.LFG(De),o.LFG(be),o.LFG(Be),o.LFG(Te))},_e.\u0275prov=o.Yz7({token:_e,factory:_e.\u0275fac}),_e})(),ke=(()=>{class _e{constructor(C,L,k){this.translateService=C,this.element=L,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){ge(this.currentParams,C)||(this.currentParams=C,this.checkNodes(!0))}ngAfterViewChecked(){this.checkNodes()}checkNodes(C=!1,L){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&&(L.lastKey=C),L.originalContent||(L.originalContent=this.getContent(L)),L.currentValue=me(ae)?ae:L.originalContent||C,this.setContent(L,this.key?L.currentValue:L.originalContent.replace(C,L.currentValue)),this._ref.markForCheck()};if(me(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 me(C.textContent)?C.textContent:C.data}setContent(C,L){me(C.textContent)?C.textContent=L:C.data=L}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}return _e.\u0275fac=function(C){return new(C||_e)(o.Y36(ie),o.Y36(o.SBq),o.Y36(o.sBO))},_e.\u0275dir=o.lG2({type:_e,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}}),_e})(),We=(()=>{class _e{constructor(C,L){this.translate=C,this._ref=L,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(C,L,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,L);te(ae.subscribe)?ae.subscribe(se):se(ae)}this.translate.get(C,L).subscribe(se)}transform(C,...L){if(!C||!C.length)return C;if(ge(C,this.lastKey)&&ge(L,this.lastParams))return this.value;let k;if(me(L[0])&&L.length)if("string"==typeof L[0]&&L[0].length){let se=L[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: ${L[0]}`)}}else"object"==typeof L[0]&&!Array.isArray(L[0])&&(k=L[0]);return this.lastKey=C,this.lastParams=L,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 _e.\u0275fac=function(C){return new(C||_e)(o.Y36(ie,16),o.Y36(o.sBO,16))},_e.\u0275pipe=o.Yjl({name:"translate",type:_e,pure:!1}),_e.\u0275prov=o.Yz7({token:_e,factory:_e.\u0275fac}),_e})(),st=(()=>{class _e{static forRoot(C={}){return{ngModule:_e,providers:[C.loader||{provide:ue,useClass:ne},C.compiler||{provide:Ee,useClass:z},C.parser||{provide:Fe,useClass:Oe},C.missingTranslationHandler||{provide:de,useClass:W},J,{provide:be,useValue:C.isolate},{provide:De,useValue:C.useDefaultLang},{provide:Be,useValue:C.extend},{provide:Te,useValue:C.defaultLanguage},ie]}}static forChild(C={}){return{ngModule:_e,providers:[C.loader||{provide:ue,useClass:ne},C.compiler||{provide:Ee,useClass:z},C.parser||{provide:Fe,useClass:Oe},C.missingTranslationHandler||{provide:de,useClass:W},{provide:be,useValue:C.isolate},{provide:De,useValue:C.useDefaultLang},{provide:Be,useValue:C.extend},{provide:Te,useValue:C.defaultLanguage},ie]}}}return _e.\u0275fac=function(C){return new(C||_e)},_e.\u0275mod=o.oAB({type:_e}),_e.\u0275inj=o.cJS({}),_e})()},5861:(pt,Re,g)=>{"use strict";function o(B,V,te,P,H,N,re){try{var ve=B[N](re),K=ve.value}catch(oe){return void te(oe)}ve.done?V(K):Promise.resolve(K).then(P,H)}function r(B){return function(){var V=this,te=arguments;return new Promise(function(P,H){var N=B.apply(V,te);function re(K){o(N,P,H,re,ve,"next",K)}function ve(K){o(N,P,H,re,ve,"throw",K)}re(void 0)})}}g.d(Re,{Z:()=>r})},7582:(pt,Re,g)=>{"use strict";g.d(Re,{FC:()=>Fe,KL:()=>Ee,ZT:()=>r,gn:()=>te,mG:()=>oe,qq:()=>Ce});var o=function(Y,C){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,k){L.__proto__=k}||function(L,k){for(var se in k)Object.prototype.hasOwnProperty.call(k,se)&&(L[se]=k[se])})(Y,C)};function r(Y,C){if("function"!=typeof C&&null!==C)throw new TypeError("Class extends value "+String(C)+" is not a constructor or null");function L(){this.constructor=Y}o(Y,C),Y.prototype=null===C?Object.create(C):(L.prototype=C.prototype,new L)}function te(Y,C,L,k){var Ye,se=arguments.length,ae=se<3?C:null===k?k=Object.getOwnPropertyDescriptor(C,L):k;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ae=Reflect.decorate(Y,C,L,k);else for(var qe=Y.length-1;qe>=0;qe--)(Ye=Y[qe])&&(ae=(se<3?Ye(ae):se>3?Ye(C,L,ae):Ye(C,L))||ae);return se>3&&ae&&Object.defineProperty(C,L,ae),ae}function oe(Y,C,L,k){return new(L||(L=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 L?ae:new L(function(Ye){Ye(ae)})}(At.value).then(qe,gt)}dt((k=k.apply(Y,C||[])).next())})}function Ce(Y){return this instanceof Ce?(this.v=Y,this):new Ce(Y)}function Fe(Y,C,L){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var se,k=L.apply(Y,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 Ce?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 Ee(Y){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,C=Y[Symbol.asyncIterator];return C?C.call(Y):(Y=function de(Y){var C="function"==typeof Symbol&&Symbol.iterator,L=C&&Y[C],k=0;if(L)return L.call(Y);if(Y&&"number"==typeof Y.length)return{next:function(){return Y&&k>=Y.length&&(Y=void 0),{value:Y&&Y[k++],done:!Y}}};throw new TypeError(C?"Object is not iterable.":"Symbol.iterator is not defined.")}(Y),L={},k("next"),k("throw"),k("return"),L[Symbol.asyncIterator]=function(){return this},L);function k(ae){L[ae]=Y[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=Y[ae](Ye)).done,Ye.value)})}}}"function"==typeof SuppressedError&&SuppressedError}},pt=>{pt(pt.s=2587)}]); \ No newline at end of file diff --git a/main.bbd5f5aa0707904a.js b/main.bbd5f5aa0707904a.js deleted file mode 100644 index e6b0692..0000000 --- a/main.bbd5f5aa0707904a.js +++ /dev/null @@ -1 +0,0 @@ -(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/ngsw.json b/ngsw.json index a302174..a92afff 100644 --- a/ngsw.json +++ b/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1702930658973, + "timestamp": 1705261067666, "index": "/openlap/index.html", "assetGroups": [ { @@ -11,67 +11,67 @@ "ignoreVary": true }, "urls": [ - "/openlap/1033.76b969d7ff43a96e.js", - "/openlap/1118.f511ce13434f134e.js", + "/openlap/1033.9d6114cfef0d3e1b.js", + "/openlap/1118.65b48ce7b379fe45.js", "/openlap/1166.59a52bf2636acbce.js", - "/openlap/1217.026a47d221a63f13.js", - "/openlap/1536.db6833c0107d7f9c.js", - "/openlap/1709.6b94ec3dfc7bea57.js", - "/openlap/2073.ef6300b544b1f1bc.js", + "/openlap/1217.8b30a678b4b4ce52.js", + "/openlap/1536.554cf2dff633c066.js", + "/openlap/1709.dde7ef0780a4184d.js", + "/openlap/2073.0c6b308351ece004.js", "/openlap/2143.f5118fb91dcc061e.js", - "/openlap/2349.dfc969b06a20fbdf.js", + "/openlap/2349.457449db35e5129c.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/2773.ee33391b4d60d0c2.js", + "/openlap/2933.a226903104d3c3f0.js", + "/openlap/3326.50596839e5682fd5.js", + "/openlap/3583.176ae94990b9dded.js", + "/openlap/3648.fa967076a2fb3320.js", + "/openlap/3804.f436e78e9b2e3aa0.js", + "/openlap/388.1e09b9b3f5937b21.js", + "/openlap/4174.6d0ee6dea02cd24d.js", + "/openlap/4330.f4ed6888e9a440da.js", + "/openlap/4376.ad57a987923d0112.js", + "/openlap/438.98155884a74e3ef4.js", + "/openlap/4432.eb4211bd8b639049.js", + "/openlap/4711.603aaa68dca08112.js", + "/openlap/4753.1f189a2c5c8221b7.js", + "/openlap/4908.cdfe796cde0d63e5.js", + "/openlap/4959.0b48c9461e221ac5.js", + "/openlap/5168.936dac2957732d61.js", + "/openlap/53.04b041861826a7c4.js", + "/openlap/5349.107a37d966268317.js", + "/openlap/5652.7a19190a41867132.js", "/openlap/57.a7fa8be9891b8de6.js", - "/openlap/5836.667ba2b51121273b.js", - "/openlap/6120.178f45f836dee1d7.js", - "/openlap/6560.cac1b316c57a649a.js", - "/openlap/657.89c927526a3df35d.js", + "/openlap/5836.8f31480b7e816267.js", + "/openlap/6120.e0031104a05186c1.js", + "/openlap/6560.b4af615b9b303001.js", + "/openlap/657.4fdcf79804785f36.js", "/openlap/6821.a638185a1ea8f011.js", - "/openlap/7544.15866dc11215f7b3.js", - "/openlap/7602.6bacc62fa08eaefd.js", + "/openlap/7252.81d4ac8d56f7f49a.js", + "/openlap/7544.588ebb4f5c6098f9.js", + "/openlap/7602.849fc4afc7d05058.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/8034.bd00beef94cc6d53.js", + "/openlap/8136.1a7eafadb0ee7b90.js", + "/openlap/8628.b4601d310dccdada.js", + "/openlap/8939.92df38d37728bb3e.js", + "/openlap/9016.406bb4ef0878f518.js", + "/openlap/9230.8f8a8aae132acc63.js", + "/openlap/9325.61ee49312646d0a5.js", + "/openlap/9434.2664f995a15a5b88.js", + "/openlap/9536.ad52bffbd9522a02.js", + "/openlap/9654.49f45f87c139aa75.js", + "/openlap/9824.26b0a2f6c2fc8e08.js", + "/openlap/9922.a2dad2b84777160a.js", + "/openlap/9958.d9ddc7fdfdecc5ba.js", + "/openlap/common.187cf80787529774.js", "/openlap/index.html", - "/openlap/main.bbd5f5aa0707904a.js", + "/openlap/main.0ab1f703556e2937.js", "/openlap/manifest.webmanifest", "/openlap/polyfills-core-js.e5d40a25add030b2.js", "/openlap/polyfills-dom.5c5f23fb57b03028.js", "/openlap/polyfills.d4788768f8be496e.js", - "/openlap/runtime.0a1730bb469911ee.js", + "/openlap/runtime.ffd1af383164261a.js", "/openlap/styles.515a5d20e591987e.css" ], "patterns": [] @@ -90,6 +90,7 @@ "/openlap/assets/i18n/es.json", "/openlap/assets/i18n/fr.json", "/openlap/assets/i18n/it.json", + "/openlap/assets/i18n/sk.json", "/openlap/assets/icons/icon-128x128.png", "/openlap/assets/icons/icon-144x144.png", "/openlap/assets/icons/icon-152x152.png", @@ -104,65 +105,66 @@ ], "dataGroups": [], "hashTable": { - "/openlap/1033.76b969d7ff43a96e.js": "4afa0a78c0a91829e40d45393f2da449ce039fdc", - "/openlap/1118.f511ce13434f134e.js": "94712f87a989605713ed9bd7e1e77c6e2c7e96b7", + "/openlap/1033.9d6114cfef0d3e1b.js": "caab08022caf67c2a13de05dc20a153f1a9519ac", + "/openlap/1118.65b48ce7b379fe45.js": "cfb4eab356a2a7350f1f7a96e526cc5edcb424b0", "/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/1217.8b30a678b4b4ce52.js": "9a0bf907449dc16d5c27212ad61c3aefca97e341", + "/openlap/1536.554cf2dff633c066.js": "bff799e277dd436bda6bca7d1c8c12d6d0e05e58", + "/openlap/1709.dde7ef0780a4184d.js": "45560c3010392015e4850a05651ca79561893a7f", + "/openlap/2073.0c6b308351ece004.js": "93a3b138231a038d373a6607fcec3e265a8661dd", "/openlap/2143.f5118fb91dcc061e.js": "752cecf4c1d4af7d2e3c202e49c14bd68a7e4e74", - "/openlap/2349.dfc969b06a20fbdf.js": "d77af8683d777993f9631e99ff07e06dfb9b1b48", + "/openlap/2349.457449db35e5129c.js": "57e875e18a0b355f5618651cdacb99fd0a4777c2", "/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/2773.ee33391b4d60d0c2.js": "65c7050b69fc39ef2617c0d375731bd4ee13f9f8", + "/openlap/2933.a226903104d3c3f0.js": "f3e4583cd61892a100c236acd80ca28dfa8f2213", + "/openlap/3326.50596839e5682fd5.js": "1d9e94779c85b575c5fcdfb9e058bdba96b7f7c0", + "/openlap/3583.176ae94990b9dded.js": "b922aae6d5a0afb90efb83a6a07a6486299846df", + "/openlap/3648.fa967076a2fb3320.js": "6b3202746083d66cdd7b3d2ce219f277ad53bbbe", + "/openlap/3804.f436e78e9b2e3aa0.js": "31e78a62c0bb1740e576dacb58bbac1da7436349", + "/openlap/388.1e09b9b3f5937b21.js": "60c1c8941e376b4b1ce7daed2db530315417b8c1", + "/openlap/4174.6d0ee6dea02cd24d.js": "396933e23821e7ee8f33c3a36193a8eaf39be8d8", + "/openlap/4330.f4ed6888e9a440da.js": "2004d778cf607326ea88c7bb14b3e1880d2592f7", + "/openlap/4376.ad57a987923d0112.js": "2a670fe0e5adc2af9ede22a138a326287c922f4a", + "/openlap/438.98155884a74e3ef4.js": "f97969aa2e4fd8772476aa3424571a868e9123f8", + "/openlap/4432.eb4211bd8b639049.js": "a7df0fe47d243b259e6d589835a815ee1d2c58f9", + "/openlap/4711.603aaa68dca08112.js": "7a32f77f58ebee958755bafeb1de4dbf127b6679", + "/openlap/4753.1f189a2c5c8221b7.js": "189a12c4656503676b17e45c877baa7670728a37", + "/openlap/4908.cdfe796cde0d63e5.js": "65c3ce05fc4009cede0c6be2bf6da6da24afa219", + "/openlap/4959.0b48c9461e221ac5.js": "975c78d508c4a1df24dc81fc262460c108ea2318", + "/openlap/5168.936dac2957732d61.js": "f881ad0cb9ebbad86e08f4cd57b4a0cec49560b3", + "/openlap/53.04b041861826a7c4.js": "7d8d8fbb9caecc5a7a363b9407de2b64d363d99d", + "/openlap/5349.107a37d966268317.js": "af89da8ca0352922c9ca5eaa5f147e8f16a755d8", + "/openlap/5652.7a19190a41867132.js": "c0fc01833931b13bc9345c012f80acb95868cbdb", "/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/5836.8f31480b7e816267.js": "a15426eff9ad92ad5186464ecc2b6bcd18717ff2", + "/openlap/6120.e0031104a05186c1.js": "6bca137ef7a96c8a71a1b20294b6e543a399ca88", + "/openlap/6560.b4af615b9b303001.js": "119ef2603aaa118b4fefc801dfaf1fbd7a93b1b1", + "/openlap/657.4fdcf79804785f36.js": "fad949af9342abc3a515b7f614b6188f2f223eb2", "/openlap/6821.a638185a1ea8f011.js": "3c724d0188ed67f0aff449b9170fdb05de0974a8", - "/openlap/7544.15866dc11215f7b3.js": "b793c33dfff7fc50619e6b7d9381211522790975", - "/openlap/7602.6bacc62fa08eaefd.js": "b03e2c989c3784f24c126b799ee73e6c50018410", + "/openlap/7252.81d4ac8d56f7f49a.js": "014d5e4e0a7058e6bbdca352ecffb62ff6524453", + "/openlap/7544.588ebb4f5c6098f9.js": "d88da1d70f941f74f680b9c279896c4497cae6b7", + "/openlap/7602.849fc4afc7d05058.js": "9169673312f479f57201c477cbddccddbdc01276", "/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/8034.bd00beef94cc6d53.js": "7943f74a685c57febbc5dd6f7d59e4d016b5d6df", + "/openlap/8136.1a7eafadb0ee7b90.js": "f09051a846c586942e1bc87803ceb77ae582fc5b", + "/openlap/8628.b4601d310dccdada.js": "07f1b7604e6e9143206b10facaa87ffa9276bdbd", + "/openlap/8939.92df38d37728bb3e.js": "385496c85b1dcf0e5c804bec95774b3338eefc89", + "/openlap/9016.406bb4ef0878f518.js": "a4b15f37af58c9441049bd6a4574ab7f81a4360a", + "/openlap/9230.8f8a8aae132acc63.js": "e2f234b2f536187054e703691172281f92a4120c", + "/openlap/9325.61ee49312646d0a5.js": "e817f1d261b99c871531b4288f6a4b17f19941e2", + "/openlap/9434.2664f995a15a5b88.js": "8ecd0c513f0ff2470f94e28359004040a342ccd2", + "/openlap/9536.ad52bffbd9522a02.js": "f50e335999aa63f3ac9e973afea114163c1f19a1", + "/openlap/9654.49f45f87c139aa75.js": "2947e67c30b36ece608092f446e8b76ba07cbe76", + "/openlap/9824.26b0a2f6c2fc8e08.js": "0fdf517d15dc2ea5026d0ca38422e24f802632e2", + "/openlap/9922.a2dad2b84777160a.js": "c05bdfac40a372df9f823cf4434265f127fb0a6e", + "/openlap/9958.d9ddc7fdfdecc5ba.js": "b2f63721b1cc454feb1398c127a5ec6b5edf5a6a", "/openlap/assets/favicon.ico": "eaac94c0af3e74f589945296e6aea7c2e87d5a72", - "/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/i18n/de.json": "c42b133e2394a020fdc78cb2fdf394f47898ab62", + "/openlap/assets/i18n/en.json": "00b8a9800b7c5a4f48c9e1289f78d2c7676d74f9", + "/openlap/assets/i18n/es.json": "d74f0c5876c0006ffe1d6fd68d56f1a55e57f67c", + "/openlap/assets/i18n/fr.json": "452166137027dfa32951f00cace7eedb77c8eb4f", + "/openlap/assets/i18n/it.json": "114519207661b6fa47b63907972cc4758a43af7a", + "/openlap/assets/i18n/sk.json": "c417d19433a8f1c2ba677a2ddf63afbe7160f859", "/openlap/assets/icons/icon-128x128.png": "f40f15a391b35c399d8194f64bb70e62cf81f060", "/openlap/assets/icons/icon-144x144.png": "e7f5b797ecf854ecb39989bdb276b7216e9c4208", "/openlap/assets/icons/icon-152x152.png": "ac71f1b4b506082c554fb69d20c6314a9cf568a8", @@ -171,14 +173,14 @@ "/openlap/assets/icons/icon-512x512.png": "0f85b72ed5c17f8a71cc3d7337dab94dca8fa821", "/openlap/assets/icons/icon-72x72.png": "eda460f85a2aad3c217a429a7a2171f120878c59", "/openlap/assets/icons/icon-96x96.png": "71f89f3b9f1dac01437f2b91d631f72c54673dc1", - "/openlap/common.fdaf37eaa7cd5cdc.js": "961d49041940c77246d55e171f057ba0ad62910f", - "/openlap/index.html": "499f67375cac2dd0bf93b76bb0e0bf93569995e2", - "/openlap/main.bbd5f5aa0707904a.js": "bedd611157e5555c00620e927bab5e524683b13f", + "/openlap/common.187cf80787529774.js": "34b19ea5d5a2593dfe41c2ae8a8681e79cdf7cf7", + "/openlap/index.html": "625691dc7c5981a7a39a6b088f5f2ae8649c597f", + "/openlap/main.0ab1f703556e2937.js": "2583f2c49e6e2f9ed5396c0978809397c6c75a44", "/openlap/manifest.webmanifest": "cb0305d657912e2d792330661d18a691e9dcfe15", "/openlap/polyfills-core-js.e5d40a25add030b2.js": "a10a72fc2c6e6ae4f9e144777c453d4ca706853f", "/openlap/polyfills-dom.5c5f23fb57b03028.js": "06f5dc30f55bf9a3d9c6f9bca07c0041a6bbdaa0", "/openlap/polyfills.d4788768f8be496e.js": "3cda53753ebe9ab6bb6fe6beb032e1a967ca5567", - "/openlap/runtime.0a1730bb469911ee.js": "a1f541e171bf6adfa1083bb1669a387d68dbf5a7", + "/openlap/runtime.ffd1af383164261a.js": "42c9208dfe861103f813ec6e62fe55c3e3b578bd", "/openlap/styles.515a5d20e591987e.css": "12ceaa8fdf3c1b282a3dada5bd276c66864834f9" }, "navigationUrls": [ diff --git a/runtime.0a1730bb469911ee.js b/runtime.0a1730bb469911ee.js deleted file mode 100644 index 8281f0f..0000000 --- a/runtime.0a1730bb469911ee.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"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,d,c)=>{if(!a){var r=1/0;for(b=0;b=c)&&Object.keys(t.O).every(p=>t.O[p](a[n]))?a.splice(n--,1):(l=!1,c0&&e[b-1][2]>c;b--)e[b]=e[b-1];e[b]=[a,d,c]},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,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 c=Object.create(null);t.r(c);var b={};f=f||[null,e({}),e([]),e(e)];for(var r=2&d&&a;"object"==typeof r&&!~f.indexOf(r);r=e(r))Object.getOwnPropertyNames(r).forEach(l=>b[l]=()=>a[l]);return b.default=()=>a,t.d(c,b),c}})(),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:"04b041861826a7c4",57:"a7fa8be9891b8de6",388:"1e09b9b3f5937b21",438:"98155884a74e3ef4",657:"4fdcf79804785f36",1033:"9d6114cfef0d3e1b",1118:"65b48ce7b379fe45",1166:"59a52bf2636acbce",1217:"8b30a678b4b4ce52",1536:"554cf2dff633c066",1709:"dde7ef0780a4184d",2073:"0c6b308351ece004",2143:"f5118fb91dcc061e",2214:"e5d40a25add030b2",2349:"457449db35e5129c",2658:"144c039844d38716",2773:"ee33391b4d60d0c2",2933:"a226903104d3c3f0",3326:"50596839e5682fd5",3583:"176ae94990b9dded",3648:"fa967076a2fb3320",3804:"f436e78e9b2e3aa0",4174:"6d0ee6dea02cd24d",4330:"f4ed6888e9a440da",4376:"ad57a987923d0112",4432:"eb4211bd8b639049",4711:"603aaa68dca08112",4753:"1f189a2c5c8221b7",4908:"cdfe796cde0d63e5",4959:"0b48c9461e221ac5",5168:"936dac2957732d61",5349:"107a37d966268317",5652:"7a19190a41867132",5836:"8f31480b7e816267",6120:"e0031104a05186c1",6560:"b4af615b9b303001",6748:"5c5f23fb57b03028",6821:"a638185a1ea8f011",7252:"81d4ac8d56f7f49a",7544:"588ebb4f5c6098f9",7602:"849fc4afc7d05058",7700:"b428b0a4661941aa",8034:"bd00beef94cc6d53",8136:"1a7eafadb0ee7b90",8592:"187cf80787529774",8628:"b4601d310dccdada",8939:"92df38d37728bb3e",9016:"406bb4ef0878f518",9230:"8f8a8aae132acc63",9325:"61ee49312646d0a5",9434:"2664f995a15a5b88",9536:"ad52bffbd9522a02",9654:"49f45f87c139aa75",9824:"26b0a2f6c2fc8e08",9922:"a2dad2b84777160a",9958:"d9ddc7fdfdecc5ba"}[e]+".js"),t.miniCssF=e=>{},t.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={},f="app:";t.l=(a,d,c,b)=>{if(e[a])e[a].push(d);else{var r,l;if(void 0!==c)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=(d,c)=>{var b=t.o(e,d)?e[d]:void 0;if(0!==b)if(b)c.push(b[2]);else if(3666!=d){var r=new Promise((o,s)=>b=e[d]=[o,s]);c.push(b[2]=r);var l=t.p+t.u(d),n=new Error;t.l(l,o=>{if(t.o(e,d)&&(0!==(b=e[d])&&(e[d]=void 0),b)){var s=o&&("load"===o.type?"missing":o.type),u=o&&o.target&&o.target.src;n.message="Loading chunk "+d+" failed.\n("+s+": "+u+")",n.name="ChunkLoadError",n.type=s,n.request=u,b[1](n)}},"chunk-"+d,d)}else e[d]=0},t.O.j=d=>0===e[d];var f=(d,c)=>{var n,i,[b,r,l]=c,o=0;if(b.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(d&&d(c);o