1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[441],{40441:(e,t,o)=>{o.r(t),o.d(t,{ion_modal:()=>O});var r=o(10467),i=o(33304),a=o(17694),n=o(61438),s=o(19358),d=o(87930),l=o(16780),c=o(78596),p=o(94576),h=o(75355),m=o(32678),f=o(13224),u=o(83790),b=o(39166),g=o(66011),y=o(99596),v=(o(46569),o(58607),o(19043),function(e){return e.Dark="DARK",e.Light="LIGHT",e.Default="DEFAULT",e}(v||{}));const k={getEngine(){const e=(0,l.g)();if(e?.isPluginAvailable("StatusBar"))return e.Plugins.StatusBar},setStyle(e){const t=this.getEngine();t&&t.setStyle(e)},getStyle:(R=(0,r.A)(function*(){const e=this.getEngine();if(!e)return v.Default;const{style:t}=yield e.getInfo();return t}),function(){return R.apply(this,arguments)})},w=(e,t)=>{if(1===t)return 0;const o=1/(1-t);return e*o+-t*o},x=()=>{!y.w||y.w.innerWidth>=768||k.setStyle({style:v.Dark})},A=(e=v.Default)=>{!y.w||y.w.innerWidth>=768||k.setStyle({style:e})},S=function(){var e=(0,r.A)(function*(e,t){"function"!=typeof e.canDismiss||!(yield e.canDismiss(void 0,c.G))||(t.isRunning()?t.onFinish(()=>{e.dismiss(void 0,"handler")},{oneTimeCallback:!0}):e.dismiss(void 0,"handler"))});return function(t,o){return e.apply(this,arguments)}}(),E=e=>.00255275*2.71828**(-14.9619*e)-1.00255*2.71828**(-.0380968*e)+1,T=e=>{const{currentBreakpoint:t,backdropBreakpoint:o,expandToScroll:r}=e,i=void 0===o||o<t,a=i?`calc(var(--backdrop-opacity) * ${t})`:"0",n=(0,u.c)("backdropAnimation").fromTo("opacity",0,a);return i&&n.beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),{wrapperAnimation:(0,u.c)("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:"translateY(100%)"},{offset:1,opacity:1,transform:`translateY(${100-100*t}%)`}]),backdropAnimation:n,contentAnimation:r?void 0:(0,u.c)("contentAnimation").keyframes([{offset:0,opacity:1,maxHeight:100*(1-t)+"%"},{offset:1,opacity:1,maxHeight:100*t+"%"}])}},D=e=>{const{currentBreakpoint:t,backdropBreakpoint:o}=e,r=`calc(var(--backdrop-opacity) * ${w(t,o)})`,i=[{offset:0,opacity:r},{offset:1,opacity:0}],a=[{offset:0,opacity:r},{offset:o,opacity:0},{offset:1,opacity:0}],n=(0,u.c)("backdropAnimation").keyframes(0!==o?a:i);return{wrapperAnimation:(0,u.c)("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:`translateY(${100-100*t}%)`},{offset:1,opacity:1,transform:"translateY(100%)"}]),backdropAnimation:n}},C=(e,t)=>{const{presentingEl:o,currentBreakpoint:r,expandToScroll:i}=t,a=(0,s.g)(e),{wrapperAnimation:n,backdropAnimation:d,contentAnimation:l}=void 0!==r?T(t):{backdropAnimation:(0,u.c)().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:(0,u.c)().fromTo("transform","translateY(100vh)","translateY(0vh)"),contentAnimation:void 0};d.addElement(a.querySelector("ion-backdrop")),n.addElement(a.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1}),!i&&l?.addElement(e.querySelector(".ion-page"));const c=(0,u.c)("entering-base").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation([n]);if(l&&c.addAnimation(l),o){const e=window.innerWidth<768,t="ION-MODAL"===o.tagName&&void 0!==o.presentingElement,r=(0,s.g)(o),i=(0,u.c)().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),a=document.body;if(e){const e=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",r=`translateY(${t?"-10px":e}) scale(0.915)`;i.afterStyles({transform:r}).beforeAddWrite(()=>a.style.setProperty("background-color","black")).addElement(o).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:r,borderRadius:"10px 10px 0 0"}]),c.addAnimation(i)}else if(c.addAnimation(d),t){const e=`translateY(-10px) scale(${t?.915:1})`;i.afterStyles({transform:e}).addElement(r.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:e}]);const o=(0,u.c)().afterStyles({transform:e}).addElement(r.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:e}]);
1c.addAnimation([i,o])}else n.fromTo("opacity","0","1")}else c.addAnimation(d);return c},P=(e,t,o=500)=>{const{presentingEl:r,currentBreakpoint:i}=t,a=(0,s.g)(e),{wrapperAnimation:n,backdropAnimation:d}=void 0!==i?D(t):{backdropAnimation:(0,u.c)().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:(0,u.c)().fromTo("transform","translateY(0vh)","translateY(100vh)")};d.addElement(a.querySelector("ion-backdrop")),n.addElement(a.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const l=(0,u.c)("leaving-base").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(o).addAnimation(n);if(r){const e=window.innerWidth<768,t="ION-MODAL"===r.tagName&&void 0!==r.presentingElement,o=(0,s.g)(r),i=(0,u.c)().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish(e=>{1===e&&(r.style.setProperty("overflow",""),Array.from(a.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter(e=>void 0!==e.presentingElement).length<=1&&a.style.setProperty("background-color",""))}),a=document.body;if(e){const e=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",o=`translateY(${t?"-10px":e}) scale(0.915)`;i.addElement(r).keyframes([{offset:0,filter:"contrast(0.85)",transform:o,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),l.addAnimation(i)}else if(l.addAnimation(d),t){const e=`translateY(-10px) scale(${t?.915:1})`;i.addElement(o.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:e},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);const r=(0,u.c)().addElement(o.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:e},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);l.addAnimation([i,r])}else n.fromTo("opacity","1","0")}else l.addAnimation(d);return l},B=(e,t)=>{const{currentBreakpoint:o,expandToScroll:r}=t,i=(0,s.g)(e),{wrapperAnimation:a,backdropAnimation:n,contentAnimation:d}=void 0!==o?T(t):{backdropAnimation:(0,u.c)().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:(0,u.c)().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}]),contentAnimation:void 0};n.addElement(i.querySelector("ion-backdrop")),a.addElement(i.querySelector(".modal-wrapper")),!r&&d?.addElement(e.querySelector(".ion-page"));const l=(0,u.c)().addElement(e).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([n,a]);return d&&l.addAnimation(d),l},Y=(e,t)=>{const{currentBreakpoint:o}=t,r=(0,s.g)(e),{wrapperAnimation:i,backdropAnimation:a}=void 0!==o?D(t):{backdropAnimation:(0,u.c)().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:(0,u.c)().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}])};return a.addElement(r.querySelector("ion-backdrop")),i.addElement(r.querySelector(".modal-wrapper")),(0,u.c)().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([a,i])},O=class{constructor(e){(0,i.r)(this,e),this.didPresent=(0,i.c)(this,"ionModalDidPresent",7),this.willPresent=(0,i.c)(this,"ionModalWillPresent",7),this.willDismiss=(0,i.c)(this,"ionModalWillDismiss",7),this.didDismiss=(0,i.c)(this,"ionModalDidDismiss",7),this.ionBreakpointDidChange=(0,i.c)(this,"ionBreakpointDidChange",7),this.didPresentShorthand=(0,i.c)(this,"didPresent",7),this.willPresentShorthand=(0,i.c)(this,"willPresent",7),this.willDismissShorthand=(0,i.c)(this,"willDismiss",7),this.didDismissShorthand=(0,i.c)(this,"didDismiss",7),this.ionMount=(0,i.c)(this,"ionMount",7),this.lockController=(0,d.c)(),this.triggerController=(0,c.e)(),this.coreDelegate=(0,n.C)(),this.isSheetModal=!1,this.inheritedAttributes={},this.inline=!1,this.gestureAnimationDismissing=!1,this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.expandToScroll=!0,this.backdropBreakpoint=0,this.handleBehavior="none",this.backdropDismiss=!0,this.showBackdrop=!0,this.animated=!0,this.isOpen=!1,this.keepContentsMounted=!1,this.focusTrap=!0,this.canDismiss=!0,this.onHandleClick=()=>{const{sheetTransition:e,handleBehavior:t}=this;"cycle"!==t||void 0!==e||this.moveToNextBreakpoint()},this.onBackdropTap=()=>{const{sheetTransition:e}=this;void 0===e&&this.dismiss(void 0,c.B)},this.onLifecycle=e=>{const t=this.usersElement,o=M[e.type];if(t&&o){const r=new CustomEvent(o,{bubbles:!1,cancelable:!1,detail:e.detail});t.dispatchEvent(r)}},this.onModalFocus=e=>{const{dragHandleEl:t,el:o}=this;
1e.target===o&&t&&-1!==t.tabIndex&&t.focus()},this.onSlotChange=({target:e})=>{e.assignedElements().forEach(e=>{e.querySelectorAll("ion-modal").forEach(e=>{null===e.getAttribute("data-parent-ion-modal")&&e.setAttribute("data-parent-ion-modal",this.el.id)})})}}onIsOpenChange(e,t){!0===e&&!1===t?this.present():!1===e&&!0===t&&this.dismiss()}triggerChanged(){const{trigger:e,el:t,triggerController:o}=this;e&&o.addClickListener(t,e)}onWindowResize(){"ios"!==(0,m.b)(this)||!this.presentingElement||this.enterAnimation||this.leaveAnimation||(clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{this.handleViewTransition()},50))}breakpointsChanged(e){void 0!==e&&(this.sortedBreakpoints=e.sort((e,t)=>e-t))}connectedCallback(){const{el:e}=this;(0,c.j)(e),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener(),this.cleanupViewTransitionListener(),this.cleanupParentRemovalObserver()}componentWillLoad(){var e;const{breakpoints:t,initialBreakpoint:o,el:r,htmlAttributes:a}=this,n=this.isSheetModal=void 0!==t&&void 0!==o,d=["aria-label","role"];this.inheritedAttributes=(0,s.b)(r,d),r.parentNode&&(this.cachedOriginalParent=r.parentNode),void 0!==a&&d.forEach(e=>{a[e]&&(this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[e]:a[e]}),delete a[e])}),n&&(this.currentBreakpoint=this.initialBreakpoint),void 0!==t&&void 0!==o&&!t.includes(o)&&(0,i.f)("[ion-modal] - Your breakpoints array must include the initialBreakpoint value."),null!==(e=this.htmlAttributes)&&void 0!==e&&e.id||(0,c.k)(this.el)}componentDidLoad(){!0===this.isOpen&&(0,s.r)(()=>this.present()),this.breakpointsChanged(this.breakpoints),this.triggerChanged()}getDelegate(e=!1){if(this.workingDelegate&&!e)return{delegate:this.workingDelegate,inline:this.inline};const t=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:t,delegate:this.workingDelegate=t?this.delegate||this.coreDelegate:this.delegate}}checkCanDismiss(e,t){var o=this;return(0,r.A)(function*(){const{canDismiss:r}=o;return"function"==typeof r?r(e,t):r})()}present(){var e=this;return(0,r.A)(function*(){const t=yield e.lockController.lock();if(e.presented)return void t();const{presentingElement:o,el:r}=e;e.currentBreakpoint=e.initialBreakpoint;const{inline:a,delegate:d}=e.getDelegate(!0);e.ionMount.emit(),e.usersElement=yield(0,n.a)(d,r,e.component,["ion-page"],e.componentProps,a),(0,s.h)(r)?yield(0,h.e)(e.usersElement):e.keepContentsMounted||(yield(0,h.w)()),(0,i.w)(()=>e.el.classList.add("show-modal"));const l=void 0!==o;l&&"ios"===(0,m.b)(e)&&(e.statusBarStyle=yield k.getStyle(),x()),yield(0,c.f)(e,"modalEnter",C,B,{presentingEl:o,currentBreakpoint:e.initialBreakpoint,backdropBreakpoint:e.backdropBreakpoint,expandToScroll:e.expandToScroll}),typeof window<"u"&&(e.keyboardOpenCallback=()=>{e.gesture&&(e.gesture.enable(!1),(0,s.r)(()=>{e.gesture&&e.gesture.enable(!0)}))},window.addEventListener(f.KEYBOARD_DID_OPEN,e.keyboardOpenCallback)),e.isSheetModal?e.initSheetGesture():l&&e.initSwipeToClose(),e.initViewTransitionListener(),e.initParentRemovalObserver(),t()})()}initSwipeToClose(){var e,t=this;if("ios"!==(0,m.b)(this))return;const{el:o}=this,n=this.leaveAnimation||i.e.get("modalLeave",P),d=this.animation=n(o,{presentingEl:this.presentingElement,expandToScroll:this.expandToScroll});if(!(0,a.a)(o))return void(0,a.p)(o);const l=null!==(e=this.statusBarStyle)&&void 0!==e?e:v.Default;this.gesture=((e,t,o,r)=>{const i=e.offsetHeight;let n=!1,d=!1,l=null,p=null,h=!0,m=0;const f=(0,g.createGesture)({el:e,gestureName:"modalSwipeToClose",gesturePriority:c.O,direction:"y",threshold:10,canStart:e=>{const t=e.event.target;return null===t||!t.closest||(l=(0,a.f)(t),l?(p=(0,a.i)(l)?(0,s.g)(l).querySelector(".inner-scroll"):l,!l.querySelector("ion-refresher")&&0===p.scrollTop):null===t.closest("ion-footer"))},onStart:o=>{const{deltaY:r}=o;h=!l||!(0,a.i)(l)||l.scrollY,d=void 0!==e.canDismiss&&!0!==e.canDismiss,r>0&&l&&(0,a.d)(l),t.progressStart(!0,n?1:0)},onMove:e=>{const{deltaY:r}=e;r>0&&l&&(0,a.d)(l);const n=e.deltaY/i,c=n>=0&&d,p=c?.2:.9999,h=c?E(n/p):n,f=(0,s.e)(1e-4,h,p);t.progressStep(f),f>=.5&&m<.5?A(o):f<.5&&m>=.5&&x(),m=f},onEnd:o=>{const c=o.velocityY,p=o.deltaY/i,m=p>=0&&d,u=m?.2:.9999,g=m?E(p/u):p,y=(0,s.e)(1e-4,g,u),v=!m&&(o.deltaY+1e3*c)/i>=.5;let k=v?-.001:.001;v?(t.easing("cubic-bezier(0.32, 0.72, 0, 1)"),k+=(0,b.g)([0,0],[.32,.72],[0,1],[1,1],y)[0]):(t.easing("cubic-bezier(1, 0, 0.68, 0.28)"),k+=(0,b.g)([0,0],[1,0],[.68,.28],[1,1],y)[0]);const w=((e,t)=>(0,s.e)(400,e/Math.abs(1.1*t),500))(v?p*i:(1-y)*i,c);n=v,f.enable(!1),l&&(0,a.r)(l,h),t.onFinish(()=>{v||f.enable(!0)}).progressEnd(v?1:0,k,w),m&&y>u/4?S(e,t):v&&r()}});return f})(o,d,l,()=>{this.gestureAnimationDismissing=!0,A(this.statusBarStyle),this.animation.onFinish((0,r.A)(function*(){yield t.dismiss(void 0,c.G),t.gestureAnimationDismissing=!1}))}),this.gesture.enable(!0)}
1initSheetGesture(){const{wrapperEl:e,initialBreakpoint:t,backdropBreakpoint:o}=this;if(!e||void 0===t)return;const r=this.enterAnimation||i.e.get("modalEnter",C),n=this.animation=r(this.el,{presentingEl:this.presentingElement,currentBreakpoint:t,backdropBreakpoint:o,expandToScroll:this.expandToScroll});n.progressStart(!0,1);const{gesture:d,moveSheetToBreakpoint:l}=((e,t,o,r,i,n,d=[],l,p,h,m)=>{const f={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}],CONTENT_KEYFRAMES:[{offset:0,maxHeight:"100%"},{offset:1,maxHeight:"0%"}]},u=e.querySelector("ion-content"),b=o.clientHeight;let y=r,v=0,k=!1,x=null,A=null,T=null,D=null;const C=d[d.length-1],P=d[0],B=n.childAnimations.find(e=>"wrapperAnimation"===e.id),Y=n.childAnimations.find(e=>"backdropAnimation"===e.id),O=n.childAnimations.find(e=>"contentAnimation"===e.id),M=()=>{e.style.setProperty("pointer-events","auto"),t.style.setProperty("pointer-events","auto"),e.classList.remove(c.F)},R=()=>{e.style.setProperty("pointer-events","none"),t.style.setProperty("pointer-events","none"),e.classList.add(c.F)},L=t=>{if(!A&&(A=Array.from(e.querySelectorAll("ion-footer")),!A.length))return;const o=e.querySelector(".ion-page");if(D=t,"stationary"===t)A.forEach(e=>{e.classList.remove("modal-footer-moving"),e.style.removeProperty("position"),e.style.removeProperty("width"),e.style.removeProperty("height"),e.style.removeProperty("top"),e.style.removeProperty("left"),o?.style.removeProperty("padding-bottom"),o?.appendChild(e)});else{let t=0;A.forEach((o,r)=>{const i=o.getBoundingClientRect(),a=document.body.getBoundingClientRect();t+=o.clientHeight;const n=i.top-a.top,s=i.left-a.left;if(o.style.setProperty("--pinned-width",`${o.clientWidth}px`),o.style.setProperty("--pinned-height",`${o.clientHeight}px`),o.style.setProperty("--pinned-top",`${n}px`),o.style.setProperty("--pinned-left",`${s}px`),0===r){T=n;const t=e.querySelector("ion-header");t&&(T-=t.clientHeight)}}),A.forEach(e=>{o?.style.setProperty("padding-bottom",`${t}px`),e.classList.add("modal-footer-moving"),e.style.setProperty("position","absolute"),e.style.setProperty("width","var(--pinned-width)"),e.style.setProperty("height","var(--pinned-height)"),e.style.setProperty("top","var(--pinned-top)"),e.style.setProperty("left","var(--pinned-left)"),document.body.appendChild(e)})}};B&&Y&&(B.keyframes([...f.WRAPPER_KEYFRAMES]),Y.keyframes([...f.BACKDROP_KEYFRAMES]),O?.keyframes([...f.CONTENT_KEYFRAMES]),n.progressStart(!0,1-y),y>i?M():R()),u&&y!==C&&l&&(u.scrollY=!1);const N=t=>{const{breakpoint:o,canDismiss:r,breakpointOffset:a,animated:c}=t,p=r&&0===o,b=p?y:o,g=0!==b;return y=0,B&&Y&&(B.keyframes([{offset:0,transform:`translateY(${100*a}%)`},{offset:1,transform:`translateY(${100*(1-b)}%)`}]),Y.keyframes([{offset:0,opacity:`calc(var(--backdrop-opacity) * ${w(1-a,i)})`},{offset:1,opacity:`calc(var(--backdrop-opacity) * ${w(b,i)})`}]),O&&O.keyframes([{offset:0,maxHeight:100*(1-a)+"%"},{offset:1,maxHeight:100*b+"%"}]),n.progressStep(0)),q.enable(!1),p?S(e,n):g||h(),u&&(b===d[d.length-1]||!l)&&(u.scrollY=!0),!l&&0===b&&L("stationary"),new Promise(e=>{n.onFinish(()=>{g?(l||L("stationary"),B&&Y?(0,s.r)(()=>{B.keyframes([...f.WRAPPER_KEYFRAMES]),Y.keyframes([...f.BACKDROP_KEYFRAMES]),O?.keyframes([...f.CONTENT_KEYFRAMES]),n.progressStart(!0,1-b),y=b,m(y),y>i?M():R(),q.enable(!0),e()}):(q.enable(!0),e())):e()},{oneTimeCallback:!0}).progressEnd(1,0,c?500:0)})},q=(0,g.createGesture)({el:o,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:e=>{const t=(0,a.f)(e.event.target);if(y=p(),!l&&t)return 0===((0,a.i)(t)?(0,s.g)(t).querySelector(".inner-scroll"):t).scrollTop;if(1===y&&t){const e=(0,a.i)(t)?(0,s.g)(t).querySelector(".inner-scroll"):t;return!t.querySelector("ion-refresher")&&0===e.scrollTop}return!0},onStart:t=>{if(k=void 0!==e.canDismiss&&!0!==e.canDismiss&&0===P,!l){const e=(0,a.f)(t.event.target);x=e&&(0,a.i)(e)?(0,s.g)(e).querySelector(".inner-scroll"):e}l||L("moving"),t.deltaY>0&&u&&(u.scrollY=!1),(0,s.r)(()=>{e.focus()}),n.progressStart(!0,1-y)},onMove:e=>{if(!l&&null!==T&&null!==D&&(e.currentY>=T&&"moving"===D?L("stationary"):e.currentY<T&&"stationary"===D&&L("moving")),!l&&e.deltaY<=0&&x)return;e.deltaY>0&&u&&(u.scrollY=!1);const t=d.length>1?1-d[1]:void 0,o=1-y+e.deltaY/b,r=void 0!==t&&o>=t&&k,i=r?.95:.9999,a=r&&void 0!==t?t+E((o-t)/(i-t)):o;v=(0,s.e)(1e-4,a,i),n.progressStep(v)},onEnd:e=>{if(!l&&e.deltaY<=0&&x&&x.scrollTop>0)return void L("stationary");const t=y-(e.deltaY+350*e.velocityY)/b,o=d.reduce((e,o)=>Math.abs(o-t)<Math.abs(e-t)?o:e);N({breakpoint:o,breakpointOffset:v,canDismiss:k,animated:!0})}});return{gesture:q,moveSheetToBreakpoint:N}})(this.el,this.backdropEl,e,t,o,n,this.sortedBreakpoints,this.expandToScroll,()=>{var e;return null!==(e=this.currentBreakpoint)&&void 0!==e?e:0},()=>this.sheetOnDismiss(),e=>{this.currentBreakpoint!==e&&(this.currentBreakpoint=e,this.ionBreakpointDidChange.emit({breakpoint:e}))});this.gesture=d,this.moveSheetToBreakpoint=l,this.gesture.enable(!0)}sheetOnDismiss(){var e=this;this.gestureAnimationDismissing=!0,this.animation.onFinish((0,r.A)(function*(){e.currentBreakpoint=0,e.ionBreakpointDidChange.emit({breakpoint:e.currentBreakpoint}),yield e.dismiss(void 0,c.G),e.gestureAnimationDismissing=!1}))}dismiss(e,t){var o=this;return(0,r.A)(function*(){var r;if(o.gestureAnimationDismissing&&t!==c.G)return!1;const a=yield o.lockController.lock();if(yield o.dismissNestedModals(),"handler"!==t&&!(yield o.checkCanDismiss(e,t)))return a(),!1;const{presentingElement:s}=o;void 0!==s&&"ios"===(0,m.b)(o)&&A(o.statusBarStyle),typeof window<"u"&&o.keyboardOpenCallback&&(window.removeEventListener(f.KEYBOARD_DID_OPEN,o.keyboardOpenCallback),o.keyboardOpenCallback=void 0);const d=yield(0,c.g)(o,e,t,"modalLeave",P,Y,{presentingEl:s,currentBreakpoint:null!==(r=o.currentBreakpoint)&&void 0!==r?r:o.initialBreakp
1oint,backdropBreakpoint:o.backdropBreakpoint,expandToScroll:o.expandToScroll});if(d){const{delegate:e}=o.getDelegate();yield(0,n.d)(e,o.usersElement),(0,i.w)(()=>o.el.classList.remove("show-modal")),o.animation&&o.animation.destroy(),o.gesture&&o.gesture.destroy(),o.cleanupViewTransitionListener(),o.cleanupParentRemovalObserver()}return o.currentBreakpoint=void 0,o.animation=void 0,a(),d})()}onDidDismiss(){return(0,c.h)(this.el,"ionModalDidDismiss")}onWillDismiss(){return(0,c.h)(this.el,"ionModalWillDismiss")}setCurrentBreakpoint(e){var t=this;return(0,r.A)(function*(){if(!t.isSheetModal)return void(0,i.f)("[ion-modal] - setCurrentBreakpoint is only supported on sheet modals.");if(!t.breakpoints.includes(e))return void(0,i.f)(`[ion-modal] - Attempted to set invalid breakpoint value ${e}. Please double check that the breakpoint value is part of your defined breakpoints.`);const{currentBreakpoint:o,moveSheetToBreakpoint:r,canDismiss:a,breakpoints:n,animated:s}=t;o!==e&&r&&(t.sheetTransition=r({breakpoint:e,breakpointOffset:1-o,canDismiss:void 0!==a&&!0!==a&&0===n[0],animated:s}),yield t.sheetTransition,t.sheetTransition=void 0)})()}getCurrentBreakpoint(){var e=this;return(0,r.A)(function*(){return e.currentBreakpoint})()}moveToNextBreakpoint(){var e=this;return(0,r.A)(function*(){const{breakpoints:t,currentBreakpoint:o}=e;if(!t||null==o)return!1;const r=t.filter(e=>0!==e),i=(r.indexOf(o)+1)%r.length,a=r[i];return yield e.setCurrentBreakpoint(a),!0})()}initViewTransitionListener(){"ios"!==(0,m.b)(this)||!this.presentingElement||this.enterAnimation||this.leaveAnimation||(this.currentViewIsPortrait=window.innerWidth<768)}handleViewTransition(){const e=window.innerWidth<768;if(this.currentViewIsPortrait===e)return;this.viewTransitionAnimation&&(this.viewTransitionAnimation.destroy(),this.viewTransitionAnimation=void 0);const{presentingElement:t}=this;if(!t)return;let o;o=this.currentViewIsPortrait&&!e?((e,t,o=300)=>{const{presentingEl:r}=t;if(!r)return(0,u.c)("portrait-to-landscape-transition");const i="ION-MODAL"===r.tagName&&void 0!==r.presentingElement,a=(0,s.g)(r),n=document.body,d=(0,u.c)("portrait-to-landscape-transition").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(o),l=(0,u.c)().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"});if(i){const e="translateY(-10px) scale(0.915)",t="translateY(0px) scale(1)";l.addElement(r).afterStyles({transform:t}).fromTo("transform",e,t).fromTo("filter","contrast(0.85)","contrast(1)");const o=(0,u.c)().addElement(a.querySelector(".modal-shadow")).afterStyles({transform:t,opacity:"0"}).fromTo("transform",e,t);d.addAnimation([l,o])}else{const t=(0,s.g)(e),o=(0,u.c)().addElement(t.querySelectorAll(".modal-wrapper, .modal-shadow")).fromTo("opacity","1","1"),i=(0,u.c)().addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)","var(--backdrop-opacity)"),a=`translateY(${CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px"}) scale(0.915)`;l.addElement(r).afterStyles({transform:"translateY(0px) scale(1)","border-radius":"0px"}).beforeAddWrite(()=>n.style.setProperty("background-color","")).fromTo("transform",a,"translateY(0px) scale(1)").fromTo("filter","contrast(0.85)","contrast(1)").fromTo("border-radius","10px 10px 0 0","0px"),d.addAnimation([l,o,i])}return d})(this.el,{presentingEl:t}):((e,t,o=300)=>{const{presentingEl:r}=t;if(!r)return(0,u.c)("landscape-to-portrait-transition");const i="ION-MODAL"===r.tagName&&void 0!==r.presentingElement,a=(0,s.g)(r),n=document.body,d=(0,u.c)("landscape-to-portrait-transition").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(o),l=(0,u.c)().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"});if(i){const e="translateY(-10px) scale(0.915)",t="translateY(0) scale(1)";l.addElement(r).afterStyles({transform:t}).fromTo("transform",e,t);const o=(0,u.c)().addElement(a.querySelector(".modal-shadow")).afterStyles({transform:t,opacity:"0"}).fromTo("transform",e,t);d.addAnimation([l,o])}else{const t=(0,s.g)(e),o=(0,u.c)().addElement(t.querySelectorAll(".modal-wrapper, .modal-shadow")).fromTo("opacity","1","1"),i=(0,u.c)().addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)","var(--backdrop-opacity)"),a=`translateY(${CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px"}) scale(0.915)`;l.addElement(r).afterStyles({transform:a}).beforeAddWrite(()=>n.style.setProperty("background-color","black")).keyframes([{offset:0,transform:"translateY(0px) scale(1)",filter:"contrast(1)",borderRadius:"0px"},{offset:.2,transform:"translateY(0px) scale(1)",filter:"contrast(1)",borderRadius:"10px 10px 0 0"},{offset:1,transform:a,filter:"contrast(0.85)",borderRadius:"10px 10px 0 0"}]),d.addAnimation([l,o,i])}return d})(this.el,{presentingEl:t}),this.currentViewIsPortrait=e,this.viewTransitionAnimation=o,o.play().then(()=>{this.viewTransitionAnimation=void 0,this.reinitSwipeToClose()})}cleanupViewTransitionListener(){this.resizeTimeout&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=void 0),this.viewTransitionAnimation&&(this.viewTransitionAnimation.destroy(),this.viewTransitionAnimation=void 0)}reinitSwipeToClose(){"ios"!==(0,m.b)(this)||!this.presentingElement||(this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.animation&&(this.animation.progressEnd(0,0,0),this.animation.destroy(),this.animation=void 0),(0,s.r)(()=>{this.ensureCorrectModalPosition(),this.initSwipeToClose()}))}ensureCorrectModalPosition(){const{el:e,presentingElement:t}=this,o=(0,s.g)(e).querySelector(".modal-wrapper");if(o&&(o.style.transform="translateY(0vh)",o.style.opacity="1"),"ION-MODAL"===t?.tagName)if(window.innerWidth<768){const e=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px";t.style.transform=`translateY(${e}) scale(0.915)`}else t.style.transform="translateY(0px) scale(1)"}dismissNestedModals(){var e=this;return(0,r.A)(function*(){const t=document.querySelectorAll(`ion-modal[data-
1parent-ion-modal="${e.el.id}"]`);var o;t?.forEach((o=(0,r.A)(function*(e){yield e.dismiss(void 0,"parent-dismissed")}),function(e){return o.apply(this,arguments)}))})()}initParentRemovalObserver(){typeof MutationObserver>"u"||typeof window>"u"||!this.cachedOriginalParent||this.cachedOriginalParent.nodeType===Node.DOCUMENT_NODE||this.cachedOriginalParent.nodeType===Node.DOCUMENT_FRAGMENT_NODE||(this.parentRemovalObserver=new MutationObserver(e=>{e.forEach(e=>{"childList"===e.type&&e.removedNodes.length>0&&(Array.from(e.removedNodes).some(e=>{var t,o;const r=e===this.cachedOriginalParent,i=!!this.cachedOriginalParent&&(null===(o=(t=e).contains)||void 0===o?void 0:o.call(t,this.cachedOriginalParent));return r||i})||this.cachedOriginalParent&&!this.cachedOriginalParent.isConnected)&&(this.dismiss(void 0,"parent-removed"),this.cachedOriginalParent=void 0)})}),this.parentRemovalObserver.observe(document.body,{childList:!0,subtree:!0}))}cleanupParentRemovalObserver(){var e;null===(e=this.parentRemovalObserver)||void 0===e||e.disconnect(),this.parentRemovalObserver=void 0}render(){const{handle:e,isSheetModal:t,presentingElement:o,htmlAttributes:r,handleBehavior:a,inheritedAttributes:n,focusTrap:s,expandToScroll:d}=this,l=!1!==e&&t,h=(0,m.b)(this),f=void 0!==o&&"ios"===h,u="cycle"===a;return(0,i.h)(i.d,Object.assign({key:"9e9a7bd591eb17a225a00b4fa2e379e94601d17f","no-router":!0,tabIndex:u&&t&&l?0:-1},r,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[h]:!0,"modal-default":!f&&!t,"modal-card":f,"modal-sheet":t,"modal-no-expand-scroll":t&&!d,"overlay-hidden":!0,[c.F]:!1===s},(0,p.g)(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle,onFocus:this.onModalFocus}),(0,i.h)("ion-backdrop",{key:"e5eae2c14f830f75e308fcd7f4c10c86fac5b962",ref:e=>this.backdropEl=e,visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),"ios"===h&&(0,i.h)("div",{key:"e268f9cd310c3cf4e051b5b92524ce4fb70d005e",class:"modal-shadow"}),(0,i.h)("div",Object.assign({key:"9c380f36c18144c153077b15744d1c3346bce63e",role:"dialog"},n,{"aria-modal":"true",class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:e=>this.wrapperEl=e}),l&&(0,i.h)("button",{key:"2d5ee6d5959d97309c306e8ce72eb0f2c19be144",class:"modal-handle",tabIndex:u?0:-1,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:u?this.onHandleClick:void 0,part:"handle",ref:e=>this.dragHandleEl=e}),(0,i.h)("slot",{key:"5590434c35ea04c42fc006498bc189038e15a298",onSlotchange:this.onSlotChange}
1)))}get el(){return(0,i.g)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},M={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};var R;O.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);
1-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, var(--ion-background-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(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}: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-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-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-sha
1dow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-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);
1-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, var(--ion-background-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(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}: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}'}},94576:(e,t,o)=>{o.d(t,{c:()=>a,g:()=>n,h:()=>i,o:()=>d});var r=o(10467);const i=(e,t)=>null!==t.closest(e),a=(e,t)=>"string"==typeof e&&e.length>0?Object.assign({"ion-color":!0,[`ion-color-${e}`]:!0},t):t,n=e=>{const t={};return(e=>void 0!==e?(Array.isArray(e)?e:e.split(" ")).filter(e=>null!=e).map(e=>e.trim()).filter(e=>""!==e):[])(e).forEach(e=>t[e]=!0),t},s=/^[a-z][a-z0-9+\-.]*:/,d=(l=(0,r.A)(function*(e,t,o,r){if(null!=e&&"#"!==e[0]&&!s.test(e)){const i=document.querySelector("ion-router");if(i)return t?.preventDefault(),i.push(e,o,r)}return!1}),function(e,t,o,r){return l.apply(this,arguments)});var l}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.